Home | History | Annotate | Line # | Download | only in ld
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for ld 2.45.
      4 #
      5 #
      6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      7 #
      8 #
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## -------------------- ##
     12 ## M4sh Initialization. ##
     13 ## -------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in #(
     26   *posix*) :
     27     set -o posix ;; #(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41 # Prefer a ksh shell builtin over an external printf program on Solaris,
     42 # but without wasting forks for bash or zsh.
     43 if test -z "$BASH_VERSION$ZSH_VERSION" \
     44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45   as_echo='print -r --'
     46   as_echo_n='print -rn --'
     47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in #(
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 
     82 # IFS
     83 # We need space, tab and new line, in precisely that order.  Quoting is
     84 # there to prevent editors from complaining about space-tab.
     85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     86 # splitting by setting IFS to empty value.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 as_myself=
     91 case $0 in #((
     92   *[\\/]* ) as_myself=$0 ;;
     93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     94 for as_dir in $PATH
     95 do
     96   IFS=$as_save_IFS
     97   test -z "$as_dir" && as_dir=.
     98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99   done
    100 IFS=$as_save_IFS
    101 
    102      ;;
    103 esac
    104 # We did not find ourselves, most probably we were run as `sh COMMAND'
    105 # in which case we are not to be found in the path.
    106 if test "x$as_myself" = x; then
    107   as_myself=$0
    108 fi
    109 if test ! -f "$as_myself"; then
    110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    111   exit 1
    112 fi
    113 
    114 # Unset variables that we do not need and which cause bugs (e.g. in
    115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    116 # suppresses any "Segmentation fault" message there.  '((' could
    117 # trigger a bug in pdksh 5.2.14.
    118 for as_var in BASH_ENV ENV MAIL MAILPATH
    119 do eval test x\${$as_var+set} = xset \
    120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    121 done
    122 PS1='$ '
    123 PS2='> '
    124 PS4='+ '
    125 
    126 # NLS nuisances.
    127 LC_ALL=C
    128 export LC_ALL
    129 LANGUAGE=C
    130 export LANGUAGE
    131 
    132 # CDPATH.
    133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    134 
    135 # Use a proper internal environment variable to ensure we don't fall
    136   # into an infinite loop, continuously re-executing ourselves.
    137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    138     _as_can_reexec=no; export _as_can_reexec;
    139     # We cannot yet assume a decent shell, so we have to provide a
    140 # neutralization value for shells without unset; and this also
    141 # works around shells that cannot unset nonexistent variables.
    142 # Preserve -v and -x to the replacement shell.
    143 BASH_ENV=/dev/null
    144 ENV=/dev/null
    145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    146 case $- in # ((((
    147   *v*x* | *x*v* ) as_opts=-vx ;;
    148   *v* ) as_opts=-v ;;
    149   *x* ) as_opts=-x ;;
    150   * ) as_opts= ;;
    151 esac
    152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    153 # Admittedly, this is quite paranoid, since all the known shells bail
    154 # out after a failed `exec'.
    155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    156 as_fn_exit 255
    157   fi
    158   # We don't want this to propagate to other subprocesses.
    159           { _as_can_reexec=; unset _as_can_reexec;}
    160 if test "x$CONFIG_SHELL" = x; then
    161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    162   emulate sh
    163   NULLCMD=:
    164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    165   # is contrary to our usage.  Disable this feature.
    166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    167   setopt NO_GLOB_SUBST
    168 else
    169   case \`(set -o) 2>/dev/null\` in #(
    170   *posix*) :
    171     set -o posix ;; #(
    172   *) :
    173      ;;
    174 esac
    175 fi
    176 "
    177   as_required="as_fn_return () { (exit \$1); }
    178 as_fn_success () { as_fn_return 0; }
    179 as_fn_failure () { as_fn_return 1; }
    180 as_fn_ret_success () { return 0; }
    181 as_fn_ret_failure () { return 1; }
    182 
    183 exitcode=0
    184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    189 
    190 else
    191   exitcode=1; echo positional parameters were not saved.
    192 fi
    193 test x\$exitcode = x0 || exit 1
    194 test -x / || exit 1"
    195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    199 test \$(( 1 + 1 )) = 2 || exit 1
    200 
    201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     PATH=/empty FPATH=/empty; export PATH FPATH
    206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    208   if (eval "$as_required") 2>/dev/null; then :
    209   as_have_required=yes
    210 else
    211   as_have_required=no
    212 fi
    213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    214 
    215 else
    216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    217 as_found=false
    218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    219 do
    220   IFS=$as_save_IFS
    221   test -z "$as_dir" && as_dir=.
    222   as_found=:
    223   case $as_dir in #(
    224 	 /*)
    225 	   for as_base in sh bash ksh sh5; do
    226 	     # Try only shells that exist, to save several forks.
    227 	     as_shell=$as_dir/$as_base
    228 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    229 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    230   CONFIG_SHELL=$as_shell as_have_required=yes
    231 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    241   CONFIG_SHELL=$SHELL as_have_required=yes
    242 fi; }
    243 IFS=$as_save_IFS
    244 
    245 
    246       if test "x$CONFIG_SHELL" != x; then :
    247   export CONFIG_SHELL
    248              # We cannot yet assume a decent shell, so we have to provide a
    249 # neutralization value for shells without unset; and this also
    250 # works around shells that cannot unset nonexistent variables.
    251 # Preserve -v and -x to the replacement shell.
    252 BASH_ENV=/dev/null
    253 ENV=/dev/null
    254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    255 case $- in # ((((
    256   *v*x* | *x*v* ) as_opts=-vx ;;
    257   *v* ) as_opts=-v ;;
    258   *x* ) as_opts=-x ;;
    259   * ) as_opts= ;;
    260 esac
    261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    262 # Admittedly, this is quite paranoid, since all the known shells bail
    263 # out after a failed `exec'.
    264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    265 exit 255
    266 fi
    267 
    268     if test x$as_have_required = xno; then :
    269   $as_echo "$0: This script requires a shell more modern than all"
    270   $as_echo "$0: the shells that I found on your system."
    271   if test x${ZSH_VERSION+set} = xset ; then
    272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    274   else
    275     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    276 $0: including any error possibly output before this
    277 $0: message. Then install a modern shell, or manually run
    278 $0: the script under such a shell if you do have one."
    279   fi
    280   exit 1
    281 fi
    282 fi
    283 fi
    284 SHELL=${CONFIG_SHELL-/bin/sh}
    285 export SHELL
    286 # Unset more variables known to interfere with behavior of common tools.
    287 CLICOLOR_FORCE= GREP_OPTIONS=
    288 unset CLICOLOR_FORCE GREP_OPTIONS
    289 
    290 ## --------------------- ##
    291 ## M4sh Shell Functions. ##
    292 ## --------------------- ##
    293 # as_fn_unset VAR
    294 # ---------------
    295 # Portably unset VAR.
    296 as_fn_unset ()
    297 {
    298   { eval $1=; unset $1;}
    299 }
    300 as_unset=as_fn_unset
    301 
    302 # as_fn_set_status STATUS
    303 # -----------------------
    304 # Set $? to STATUS, without forking.
    305 as_fn_set_status ()
    306 {
    307   return $1
    308 } # as_fn_set_status
    309 
    310 # as_fn_exit STATUS
    311 # -----------------
    312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    313 as_fn_exit ()
    314 {
    315   set +e
    316   as_fn_set_status $1
    317   exit $1
    318 } # as_fn_exit
    319 
    320 # as_fn_mkdir_p
    321 # -------------
    322 # Create "$as_dir" as a directory, including parents if necessary.
    323 as_fn_mkdir_p ()
    324 {
    325 
    326   case $as_dir in #(
    327   -*) as_dir=./$as_dir;;
    328   esac
    329   test -d "$as_dir" || eval $as_mkdir_p || {
    330     as_dirs=
    331     while :; do
    332       case $as_dir in #(
    333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    334       *) as_qdir=$as_dir;;
    335       esac
    336       as_dirs="'$as_qdir' $as_dirs"
    337       as_dir=`$as_dirname -- "$as_dir" ||
    338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    339 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    340 	 X"$as_dir" : 'X\(//\)$' \| \
    341 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    342 $as_echo X"$as_dir" |
    343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)[^/].*/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)$/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\).*/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  s/.*/./; q'`
    360       test -d "$as_dir" && break
    361     done
    362     test -z "$as_dirs" || eval "mkdir $as_dirs"
    363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    364 
    365 
    366 } # as_fn_mkdir_p
    367 
    368 # as_fn_executable_p FILE
    369 # -----------------------
    370 # Test if FILE is an executable regular file.
    371 as_fn_executable_p ()
    372 {
    373   test -f "$1" && test -x "$1"
    374 } # as_fn_executable_p
    375 # as_fn_append VAR VALUE
    376 # ----------------------
    377 # Append the text in VALUE to the end of the definition contained in VAR. Take
    378 # advantage of any shell optimizations that allow amortized linear growth over
    379 # repeated appends, instead of the typical quadratic growth present in naive
    380 # implementations.
    381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    382   eval 'as_fn_append ()
    383   {
    384     eval $1+=\$2
    385   }'
    386 else
    387   as_fn_append ()
    388   {
    389     eval $1=\$$1\$2
    390   }
    391 fi # as_fn_append
    392 
    393 # as_fn_arith ARG...
    394 # ------------------
    395 # Perform arithmetic evaluation on the ARGs, and store the result in the
    396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    397 # must be portable across $(()) and expr.
    398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    399   eval 'as_fn_arith ()
    400   {
    401     as_val=$(( $* ))
    402   }'
    403 else
    404   as_fn_arith ()
    405   {
    406     as_val=`expr "$@" || test $? -eq 1`
    407   }
    408 fi # as_fn_arith
    409 
    410 
    411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    412 # ----------------------------------------
    413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    415 # script with STATUS, using 1 if that was 0.
    416 as_fn_error ()
    417 {
    418   as_status=$1; test $as_status -eq 0 && as_status=1
    419   if test "$4"; then
    420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    422   fi
    423   $as_echo "$as_me: error: $2" >&2
    424   as_fn_exit $as_status
    425 } # as_fn_error
    426 
    427 if expr a : '\(a\)' >/dev/null 2>&1 &&
    428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    429   as_expr=expr
    430 else
    431   as_expr=false
    432 fi
    433 
    434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    435   as_basename=basename
    436 else
    437   as_basename=false
    438 fi
    439 
    440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    441   as_dirname=dirname
    442 else
    443   as_dirname=false
    444 fi
    445 
    446 as_me=`$as_basename -- "$0" ||
    447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    448 	 X"$0" : 'X\(//\)$' \| \
    449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    450 $as_echo X/"$0" |
    451     sed '/^.*\/\([^/][^/]*\)\/*$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\/\)$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\).*/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  s/.*/./; q'`
    464 
    465 # Avoid depending upon Character Ranges.
    466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    469 as_cr_digits='0123456789'
    470 as_cr_alnum=$as_cr_Letters$as_cr_digits
    471 
    472 
    473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    478   sed -n '
    479     p
    480     /[$]LINENO/=
    481   ' <$as_myself |
    482     sed '
    483       s/[$]LINENO.*/&-/
    484       t lineno
    485       b
    486       :lineno
    487       N
    488       :loop
    489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    490       t loop
    491       s/-\n.*//
    492     ' >$as_me.lineno &&
    493   chmod +x "$as_me.lineno" ||
    494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    495 
    496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    497   # already done that, so ensure we don't try to do so again and fall
    498   # in an infinite loop.  This has already happened in practice.
    499   _as_can_reexec=no; export _as_can_reexec
    500   # Don't try to exec as it changes $[0], causing all sort of problems
    501   # (the dirname of $[0] is not the place where we might find the
    502   # original and so on.  Autoconf is especially sensitive to this).
    503   . "./$as_me.lineno"
    504   # Exit status is that of the last command.
    505   exit
    506 }
    507 
    508 ECHO_C= ECHO_N= ECHO_T=
    509 case `echo -n x` in #(((((
    510 -n*)
    511   case `echo 'xy\c'` in
    512   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    513   xy)  ECHO_C='\c';;
    514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    515        ECHO_T='	';;
    516   esac;;
    517 *)
    518   ECHO_N='-n';;
    519 esac
    520 
    521 rm -f conf$$ conf$$.exe conf$$.file
    522 if test -d conf$$.dir; then
    523   rm -f conf$$.dir/conf$$.file
    524 else
    525   rm -f conf$$.dir
    526   mkdir conf$$.dir 2>/dev/null
    527 fi
    528 if (echo >conf$$.file) 2>/dev/null; then
    529   if ln -s conf$$.file conf$$ 2>/dev/null; then
    530     as_ln_s='ln -s'
    531     # ... but there are two gotchas:
    532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    534     # In both cases, we have to default to `cp -pR'.
    535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    536       as_ln_s='cp -pR'
    537   elif ln conf$$.file conf$$ 2>/dev/null; then
    538     as_ln_s=ln
    539   else
    540     as_ln_s='cp -pR'
    541   fi
    542 else
    543   as_ln_s='cp -pR'
    544 fi
    545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    546 rmdir conf$$.dir 2>/dev/null
    547 
    548 if mkdir -p . 2>/dev/null; then
    549   as_mkdir_p='mkdir -p "$as_dir"'
    550 else
    551   test -d ./-p && rmdir ./-p
    552   as_mkdir_p=false
    553 fi
    554 
    555 as_test_x='test -x'
    556 as_executable_p=as_fn_executable_p
    557 
    558 # Sed expression to map a string onto a valid CPP name.
    559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    560 
    561 # Sed expression to map a string onto a valid variable name.
    562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 SHELL=${CONFIG_SHELL-/bin/sh}
    565 
    566 
    567 test -n "$DJDIR" || exec 7<&0 </dev/null
    568 exec 6>&1
    569 
    570 # Name of the host.
    571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    572 # so uname gets run too.
    573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    574 
    575 #
    576 # Initializations.
    577 #
    578 ac_default_prefix=/usr/local
    579 ac_clean_files=
    580 ac_config_libobj_dir=.
    581 LIBOBJS=
    582 cross_compiling=no
    583 subdirs=
    584 MFLAGS=
    585 MAKEFLAGS=
    586 
    587 # Identity of this package.
    588 PACKAGE_NAME='ld'
    589 PACKAGE_TARNAME='ld'
    590 PACKAGE_VERSION='2.45'
    591 PACKAGE_STRING='ld 2.45'
    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 gt_needs=
    633 ac_header_list=
    634 ac_subst_vars='am__EXEEXT_FALSE
    635 am__EXEEXT_TRUE
    636 LTLIBOBJS
    637 LIBOBJS
    638 TESTSFRAMELIB
    639 TESTCTFLIB
    640 TESTBFDLIB
    641 EMULATION_LIBPATH
    642 LIB_PATH
    643 EMUL_EXTRA_OFILES
    644 EMULATION_OFILES
    645 TDIRS
    646 EMUL
    647 elf_plt_unwind_list_options
    648 elf_shlib_list_options
    649 elf_list_options
    650 ZSTD_LIBS
    651 ZSTD_CFLAGS
    652 zlibinc
    653 zlibdir
    654 NATIVE_LIB_DIRS
    655 HDEFINES
    656 do_compare
    657 GENINSRC_NEVER_FALSE
    658 GENINSRC_NEVER_TRUE
    659 LEXLIB
    660 LEX_OUTPUT_ROOT
    661 LEX
    662 YFLAGS
    663 YACC
    664 CATOBJEXT
    665 GENCAT
    666 INSTOBJEXT
    667 DATADIRNAME
    668 CATALOGS
    669 INCINTL
    670 LIBINTL_DEP
    671 POSUB
    672 LTLIBINTL
    673 LIBINTL
    674 INTLLIBS
    675 LTLIBICONV
    676 LIBICONV
    677 INTL_MACOSX_LIBS
    678 MSGMERGE
    679 XGETTEXT
    680 GMSGFMT
    681 MSGFMT
    682 USE_NLS
    683 MKINSTALLDIRS
    684 WARN_WRITE_STRINGS
    685 NO_WERROR
    686 WARN_CFLAGS_FOR_BUILD
    687 WARN_CFLAGS
    688 JANSSON_LIBS
    689 JANSSON_CFLAGS
    690 enable_libctf
    691 ENABLE_LIBCTF_FALSE
    692 ENABLE_LIBCTF_TRUE
    693 enable_initfini_array
    694 installed_linker
    695 install_as_default
    696 TARGET_SYSTEM_ROOT_DEFINE
    697 TARGET_SYSTEM_ROOT
    698 use_sysroot
    699 LARGEFILE_CPPFLAGS
    700 CXXCPP
    701 OTOOL64
    702 OTOOL
    703 LIPO
    704 NMEDIT
    705 DSYMUTIL
    706 RANLIB
    707 AR
    708 OBJDUMP
    709 LN_S
    710 NM
    711 ac_ct_DUMPBIN
    712 DUMPBIN
    713 LD
    714 FGREP
    715 SED
    716 LIBTOOL
    717 PKG_CONFIG_LIBDIR
    718 PKG_CONFIG_PATH
    719 PKG_CONFIG
    720 EGREP
    721 CPP
    722 GREP
    723 am__fastdepCXX_FALSE
    724 am__fastdepCXX_TRUE
    725 CXXDEPMODE
    726 ac_ct_CXX
    727 CXXFLAGS
    728 CXX
    729 am__fastdepCC_FALSE
    730 am__fastdepCC_TRUE
    731 CCDEPMODE
    732 am__nodep
    733 AMDEPBACKSLASH
    734 AMDEP_FALSE
    735 AMDEP_TRUE
    736 am__quote
    737 am__include
    738 DEPDIR
    739 OBJEXT
    740 EXEEXT
    741 ac_ct_CC
    742 CPPFLAGS
    743 LDFLAGS
    744 CFLAGS
    745 CC
    746 MAINT
    747 MAINTAINER_MODE_FALSE
    748 MAINTAINER_MODE_TRUE
    749 AM_BACKSLASH
    750 AM_DEFAULT_VERBOSITY
    751 AM_DEFAULT_V
    752 AM_V
    753 am__untar
    754 am__tar
    755 AMTAR
    756 am__leading_dot
    757 SET_MAKE
    758 AWK
    759 mkdir_p
    760 MKDIR_P
    761 INSTALL_STRIP_PROGRAM
    762 STRIP
    763 install_sh
    764 MAKEINFO
    765 AUTOHEADER
    766 AUTOMAKE
    767 AUTOCONF
    768 ACLOCAL
    769 VERSION
    770 PACKAGE
    771 CYGPATH_W
    772 am__isrc
    773 INSTALL_DATA
    774 INSTALL_SCRIPT
    775 INSTALL_PROGRAM
    776 target_os
    777 target_vendor
    778 target_cpu
    779 target
    780 host_os
    781 host_vendor
    782 host_cpu
    783 host
    784 build_os
    785 build_vendor
    786 build_cpu
    787 build
    788 target_alias
    789 host_alias
    790 build_alias
    791 LIBS
    792 ECHO_T
    793 ECHO_N
    794 ECHO_C
    795 DEFS
    796 mandir
    797 localedir
    798 libdir
    799 psdir
    800 pdfdir
    801 dvidir
    802 htmldir
    803 infodir
    804 docdir
    805 oldincludedir
    806 includedir
    807 localstatedir
    808 sharedstatedir
    809 sysconfdir
    810 datadir
    811 datarootdir
    812 libexecdir
    813 sbindir
    814 bindir
    815 program_transform_name
    816 prefix
    817 exec_prefix
    818 PACKAGE_URL
    819 PACKAGE_BUGREPORT
    820 PACKAGE_STRING
    821 PACKAGE_VERSION
    822 PACKAGE_TARNAME
    823 PACKAGE_NAME
    824 PATH_SEPARATOR
    825 SHELL'
    826 ac_subst_files=''
    827 ac_user_opts='
    828 enable_option_checking
    829 enable_silent_rules
    830 enable_maintainer_mode
    831 enable_dependency_tracking
    832 enable_shared
    833 enable_static
    834 with_pic
    835 enable_fast_install
    836 with_gnu_ld
    837 enable_libtool_lock
    838 enable_plugins
    839 enable_largefile
    840 enable_checking
    841 with_lib_path
    842 enable_targets
    843 with_sysroot
    844 enable_gold
    845 enable_got
    846 enable_compressed_debug_sections
    847 enable_default_compressed_debug_sections_algorithm
    848 enable_new_dtags
    849 enable_relro
    850 enable_textrel_check
    851 enable_separate_code
    852 enable_rosegment
    853 enable_mark_plt
    854 enable_memory_seal
    855 enable_warn_execstack
    856 enable_error_execstack
    857 enable_warn_rwx_segments
    858 enable_error_rwx_segments
    859 enable_default_execstack
    860 enable_error_handling_script
    861 enable_default_hash_style
    862 enable_initfini_array
    863 enable_libctf
    864 enable_jansson
    865 enable_werror
    866 enable_build_warnings
    867 enable_nls
    868 enable_rpath
    869 with_libiconv_prefix
    870 with_libiconv_type
    871 with_libintl_prefix
    872 with_libintl_type
    873 with_xxhash
    874 with_system_zlib
    875 with_zstd
    876 '
    877       ac_precious_vars='build_alias
    878 host_alias
    879 target_alias
    880 CC
    881 CFLAGS
    882 LDFLAGS
    883 LIBS
    884 CPPFLAGS
    885 CXX
    886 CXXFLAGS
    887 CCC
    888 CPP
    889 PKG_CONFIG
    890 PKG_CONFIG_PATH
    891 PKG_CONFIG_LIBDIR
    892 CXXCPP
    893 JANSSON_CFLAGS
    894 JANSSON_LIBS
    895 YACC
    896 YFLAGS
    897 ZSTD_CFLAGS
    898 ZSTD_LIBS'
    899 
    900 
    901 # Initialize some variables set by options.
    902 ac_init_help=
    903 ac_init_version=false
    904 ac_unrecognized_opts=
    905 ac_unrecognized_sep=
    906 # The variables have the same names as the options, with
    907 # dashes changed to underlines.
    908 cache_file=/dev/null
    909 exec_prefix=NONE
    910 no_create=
    911 no_recursion=
    912 prefix=NONE
    913 program_prefix=NONE
    914 program_suffix=NONE
    915 program_transform_name=s,x,x,
    916 silent=
    917 site=
    918 srcdir=
    919 verbose=
    920 x_includes=NONE
    921 x_libraries=NONE
    922 
    923 # Installation directory options.
    924 # These are left unexpanded so users can "make install exec_prefix=/foo"
    925 # and all the variables that are supposed to be based on exec_prefix
    926 # by default will actually change.
    927 # Use braces instead of parens because sh, perl, etc. also accept them.
    928 # (The list follows the same order as the GNU Coding Standards.)
    929 bindir='${exec_prefix}/bin'
    930 sbindir='${exec_prefix}/sbin'
    931 libexecdir='${exec_prefix}/libexec'
    932 datarootdir='${prefix}/share'
    933 datadir='${datarootdir}'
    934 sysconfdir='${prefix}/etc'
    935 sharedstatedir='${prefix}/com'
    936 localstatedir='${prefix}/var'
    937 includedir='${prefix}/include'
    938 oldincludedir='/usr/include'
    939 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    940 infodir='${datarootdir}/info'
    941 htmldir='${docdir}'
    942 dvidir='${docdir}'
    943 pdfdir='${docdir}'
    944 psdir='${docdir}'
    945 libdir='${exec_prefix}/lib'
    946 localedir='${datarootdir}/locale'
    947 mandir='${datarootdir}/man'
    948 
    949 ac_prev=
    950 ac_dashdash=
    951 for ac_option
    952 do
    953   # If the previous option needs an argument, assign it.
    954   if test -n "$ac_prev"; then
    955     eval $ac_prev=\$ac_option
    956     ac_prev=
    957     continue
    958   fi
    959 
    960   case $ac_option in
    961   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    962   *=)   ac_optarg= ;;
    963   *)    ac_optarg=yes ;;
    964   esac
    965 
    966   # Accept the important Cygnus configure options, so we can diagnose typos.
    967 
    968   case $ac_dashdash$ac_option in
    969   --)
    970     ac_dashdash=yes ;;
    971 
    972   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    973     ac_prev=bindir ;;
    974   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    975     bindir=$ac_optarg ;;
    976 
    977   -build | --build | --buil | --bui | --bu)
    978     ac_prev=build_alias ;;
    979   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    980     build_alias=$ac_optarg ;;
    981 
    982   -cache-file | --cache-file | --cache-fil | --cache-fi \
    983   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    984     ac_prev=cache_file ;;
    985   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    986   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    987     cache_file=$ac_optarg ;;
    988 
    989   --config-cache | -C)
    990     cache_file=config.cache ;;
    991 
    992   -datadir | --datadir | --datadi | --datad)
    993     ac_prev=datadir ;;
    994   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    995     datadir=$ac_optarg ;;
    996 
    997   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    998   | --dataroo | --dataro | --datar)
    999     ac_prev=datarootdir ;;
   1000   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1001   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1002     datarootdir=$ac_optarg ;;
   1003 
   1004   -disable-* | --disable-*)
   1005     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1006     # Reject names that are not valid shell variable names.
   1007     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1008       as_fn_error $? "invalid feature name: $ac_useropt"
   1009     ac_useropt_orig=$ac_useropt
   1010     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1011     case $ac_user_opts in
   1012       *"
   1013 "enable_$ac_useropt"
   1014 "*) ;;
   1015       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1016 	 ac_unrecognized_sep=', ';;
   1017     esac
   1018     eval enable_$ac_useropt=no ;;
   1019 
   1020   -docdir | --docdir | --docdi | --doc | --do)
   1021     ac_prev=docdir ;;
   1022   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1023     docdir=$ac_optarg ;;
   1024 
   1025   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1026     ac_prev=dvidir ;;
   1027   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1028     dvidir=$ac_optarg ;;
   1029 
   1030   -enable-* | --enable-*)
   1031     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1032     # Reject names that are not valid shell variable names.
   1033     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1034       as_fn_error $? "invalid feature name: $ac_useropt"
   1035     ac_useropt_orig=$ac_useropt
   1036     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1037     case $ac_user_opts in
   1038       *"
   1039 "enable_$ac_useropt"
   1040 "*) ;;
   1041       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1042 	 ac_unrecognized_sep=', ';;
   1043     esac
   1044     eval enable_$ac_useropt=\$ac_optarg ;;
   1045 
   1046   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1047   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1048   | --exec | --exe | --ex)
   1049     ac_prev=exec_prefix ;;
   1050   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1051   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1052   | --exec=* | --exe=* | --ex=*)
   1053     exec_prefix=$ac_optarg ;;
   1054 
   1055   -gas | --gas | --ga | --g)
   1056     # Obsolete; use --with-gas.
   1057     with_gas=yes ;;
   1058 
   1059   -help | --help | --hel | --he | -h)
   1060     ac_init_help=long ;;
   1061   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1062     ac_init_help=recursive ;;
   1063   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1064     ac_init_help=short ;;
   1065 
   1066   -host | --host | --hos | --ho)
   1067     ac_prev=host_alias ;;
   1068   -host=* | --host=* | --hos=* | --ho=*)
   1069     host_alias=$ac_optarg ;;
   1070 
   1071   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1072     ac_prev=htmldir ;;
   1073   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1074   | --ht=*)
   1075     htmldir=$ac_optarg ;;
   1076 
   1077   -includedir | --includedir | --includedi | --included | --include \
   1078   | --includ | --inclu | --incl | --inc)
   1079     ac_prev=includedir ;;
   1080   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1081   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1082     includedir=$ac_optarg ;;
   1083 
   1084   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1085     ac_prev=infodir ;;
   1086   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1087     infodir=$ac_optarg ;;
   1088 
   1089   -libdir | --libdir | --libdi | --libd)
   1090     ac_prev=libdir ;;
   1091   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1092     libdir=$ac_optarg ;;
   1093 
   1094   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1095   | --libexe | --libex | --libe)
   1096     ac_prev=libexecdir ;;
   1097   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1098   | --libexe=* | --libex=* | --libe=*)
   1099     libexecdir=$ac_optarg ;;
   1100 
   1101   -localedir | --localedir | --localedi | --localed | --locale)
   1102     ac_prev=localedir ;;
   1103   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1104     localedir=$ac_optarg ;;
   1105 
   1106   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1107   | --localstate | --localstat | --localsta | --localst | --locals)
   1108     ac_prev=localstatedir ;;
   1109   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1110   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1111     localstatedir=$ac_optarg ;;
   1112 
   1113   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1114     ac_prev=mandir ;;
   1115   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1116     mandir=$ac_optarg ;;
   1117 
   1118   -nfp | --nfp | --nf)
   1119     # Obsolete; use --without-fp.
   1120     with_fp=no ;;
   1121 
   1122   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1123   | --no-cr | --no-c | -n)
   1124     no_create=yes ;;
   1125 
   1126   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1127   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1128     no_recursion=yes ;;
   1129 
   1130   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1131   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1132   | --oldin | --oldi | --old | --ol | --o)
   1133     ac_prev=oldincludedir ;;
   1134   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1135   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1136   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1137     oldincludedir=$ac_optarg ;;
   1138 
   1139   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1140     ac_prev=prefix ;;
   1141   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1142     prefix=$ac_optarg ;;
   1143 
   1144   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1145   | --program-pre | --program-pr | --program-p)
   1146     ac_prev=program_prefix ;;
   1147   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1148   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1149     program_prefix=$ac_optarg ;;
   1150 
   1151   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1152   | --program-suf | --program-su | --program-s)
   1153     ac_prev=program_suffix ;;
   1154   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1155   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1156     program_suffix=$ac_optarg ;;
   1157 
   1158   -program-transform-name | --program-transform-name \
   1159   | --program-transform-nam | --program-transform-na \
   1160   | --program-transform-n | --program-transform- \
   1161   | --program-transform | --program-transfor \
   1162   | --program-transfo | --program-transf \
   1163   | --program-trans | --program-tran \
   1164   | --progr-tra | --program-tr | --program-t)
   1165     ac_prev=program_transform_name ;;
   1166   -program-transform-name=* | --program-transform-name=* \
   1167   | --program-transform-nam=* | --program-transform-na=* \
   1168   | --program-transform-n=* | --program-transform-=* \
   1169   | --program-transform=* | --program-transfor=* \
   1170   | --program-transfo=* | --program-transf=* \
   1171   | --program-trans=* | --program-tran=* \
   1172   | --progr-tra=* | --program-tr=* | --program-t=*)
   1173     program_transform_name=$ac_optarg ;;
   1174 
   1175   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1176     ac_prev=pdfdir ;;
   1177   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1178     pdfdir=$ac_optarg ;;
   1179 
   1180   -psdir | --psdir | --psdi | --psd | --ps)
   1181     ac_prev=psdir ;;
   1182   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1183     psdir=$ac_optarg ;;
   1184 
   1185   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1186   | -silent | --silent | --silen | --sile | --sil)
   1187     silent=yes ;;
   1188 
   1189   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1190     ac_prev=sbindir ;;
   1191   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1192   | --sbi=* | --sb=*)
   1193     sbindir=$ac_optarg ;;
   1194 
   1195   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1196   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1197   | --sharedst | --shareds | --shared | --share | --shar \
   1198   | --sha | --sh)
   1199     ac_prev=sharedstatedir ;;
   1200   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1201   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1202   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1203   | --sha=* | --sh=*)
   1204     sharedstatedir=$ac_optarg ;;
   1205 
   1206   -site | --site | --sit)
   1207     ac_prev=site ;;
   1208   -site=* | --site=* | --sit=*)
   1209     site=$ac_optarg ;;
   1210 
   1211   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1212     ac_prev=srcdir ;;
   1213   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1214     srcdir=$ac_optarg ;;
   1215 
   1216   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1217   | --syscon | --sysco | --sysc | --sys | --sy)
   1218     ac_prev=sysconfdir ;;
   1219   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1220   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1221     sysconfdir=$ac_optarg ;;
   1222 
   1223   -target | --target | --targe | --targ | --tar | --ta | --t)
   1224     ac_prev=target_alias ;;
   1225   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1226     target_alias=$ac_optarg ;;
   1227 
   1228   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1229     verbose=yes ;;
   1230 
   1231   -version | --version | --versio | --versi | --vers | -V)
   1232     ac_init_version=: ;;
   1233 
   1234   -with-* | --with-*)
   1235     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1236     # Reject names that are not valid shell variable names.
   1237     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1238       as_fn_error $? "invalid package name: $ac_useropt"
   1239     ac_useropt_orig=$ac_useropt
   1240     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1241     case $ac_user_opts in
   1242       *"
   1243 "with_$ac_useropt"
   1244 "*) ;;
   1245       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1246 	 ac_unrecognized_sep=', ';;
   1247     esac
   1248     eval with_$ac_useropt=\$ac_optarg ;;
   1249 
   1250   -without-* | --without-*)
   1251     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1252     # Reject names that are not valid shell variable names.
   1253     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1254       as_fn_error $? "invalid package name: $ac_useropt"
   1255     ac_useropt_orig=$ac_useropt
   1256     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1257     case $ac_user_opts in
   1258       *"
   1259 "with_$ac_useropt"
   1260 "*) ;;
   1261       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1262 	 ac_unrecognized_sep=', ';;
   1263     esac
   1264     eval with_$ac_useropt=no ;;
   1265 
   1266   --x)
   1267     # Obsolete; use --with-x.
   1268     with_x=yes ;;
   1269 
   1270   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1271   | --x-incl | --x-inc | --x-in | --x-i)
   1272     ac_prev=x_includes ;;
   1273   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1274   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1275     x_includes=$ac_optarg ;;
   1276 
   1277   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1278   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1279     ac_prev=x_libraries ;;
   1280   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1281   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1282     x_libraries=$ac_optarg ;;
   1283 
   1284   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1285 Try \`$0 --help' for more information"
   1286     ;;
   1287 
   1288   *=*)
   1289     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1290     # Reject names that are not valid shell variable names.
   1291     case $ac_envvar in #(
   1292       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1293       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1294     esac
   1295     eval $ac_envvar=\$ac_optarg
   1296     export $ac_envvar ;;
   1297 
   1298   *)
   1299     # FIXME: should be removed in autoconf 3.0.
   1300     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1301     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1302       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1303     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1304     ;;
   1305 
   1306   esac
   1307 done
   1308 
   1309 if test -n "$ac_prev"; then
   1310   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1311   as_fn_error $? "missing argument to $ac_option"
   1312 fi
   1313 
   1314 if test -n "$ac_unrecognized_opts"; then
   1315   case $enable_option_checking in
   1316     no) ;;
   1317     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1318     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1319   esac
   1320 fi
   1321 
   1322 # Check all directory arguments for consistency.
   1323 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1324 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1325 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1326 		libdir localedir mandir
   1327 do
   1328   eval ac_val=\$$ac_var
   1329   # Remove trailing slashes.
   1330   case $ac_val in
   1331     */ )
   1332       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1333       eval $ac_var=\$ac_val;;
   1334   esac
   1335   # Be sure to have absolute directory names.
   1336   case $ac_val in
   1337     [\\/$]* | ?:[\\/]* )  continue;;
   1338     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1339   esac
   1340   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1341 done
   1342 
   1343 # There might be people who depend on the old broken behavior: `$host'
   1344 # used to hold the argument of --host etc.
   1345 # FIXME: To remove some day.
   1346 build=$build_alias
   1347 host=$host_alias
   1348 target=$target_alias
   1349 
   1350 # FIXME: To remove some day.
   1351 if test "x$host_alias" != x; then
   1352   if test "x$build_alias" = x; then
   1353     cross_compiling=maybe
   1354   elif test "x$build_alias" != "x$host_alias"; then
   1355     cross_compiling=yes
   1356   fi
   1357 fi
   1358 
   1359 ac_tool_prefix=
   1360 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1361 
   1362 test "$silent" = yes && exec 6>/dev/null
   1363 
   1364 
   1365 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1366 ac_ls_di=`ls -di .` &&
   1367 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1368   as_fn_error $? "working directory cannot be determined"
   1369 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1370   as_fn_error $? "pwd does not report name of working directory"
   1371 
   1372 
   1373 # Find the source files, if location was not specified.
   1374 if test -z "$srcdir"; then
   1375   ac_srcdir_defaulted=yes
   1376   # Try the directory containing this script, then the parent directory.
   1377   ac_confdir=`$as_dirname -- "$as_myself" ||
   1378 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1379 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1380 	 X"$as_myself" : 'X\(//\)$' \| \
   1381 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1382 $as_echo X"$as_myself" |
   1383     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1384 	    s//\1/
   1385 	    q
   1386 	  }
   1387 	  /^X\(\/\/\)[^/].*/{
   1388 	    s//\1/
   1389 	    q
   1390 	  }
   1391 	  /^X\(\/\/\)$/{
   1392 	    s//\1/
   1393 	    q
   1394 	  }
   1395 	  /^X\(\/\).*/{
   1396 	    s//\1/
   1397 	    q
   1398 	  }
   1399 	  s/.*/./; q'`
   1400   srcdir=$ac_confdir
   1401   if test ! -r "$srcdir/$ac_unique_file"; then
   1402     srcdir=..
   1403   fi
   1404 else
   1405   ac_srcdir_defaulted=no
   1406 fi
   1407 if test ! -r "$srcdir/$ac_unique_file"; then
   1408   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1409   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1410 fi
   1411 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1412 ac_abs_confdir=`(
   1413 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1414 	pwd)`
   1415 # When building in place, set srcdir=.
   1416 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1417   srcdir=.
   1418 fi
   1419 # Remove unnecessary trailing slashes from srcdir.
   1420 # Double slashes in file names in object file debugging info
   1421 # mess up M-x gdb in Emacs.
   1422 case $srcdir in
   1423 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1424 esac
   1425 for ac_var in $ac_precious_vars; do
   1426   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1427   eval ac_env_${ac_var}_value=\$${ac_var}
   1428   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1429   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1430 done
   1431 
   1432 #
   1433 # Report the --help message.
   1434 #
   1435 if test "$ac_init_help" = "long"; then
   1436   # Omit some internal or obsolete options to make the list less imposing.
   1437   # This message is too long to be a string in the A/UX 3.1 sh.
   1438   cat <<_ACEOF
   1439 \`configure' configures ld 2.45 to adapt to many kinds of systems.
   1440 
   1441 Usage: $0 [OPTION]... [VAR=VALUE]...
   1442 
   1443 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1444 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1445 
   1446 Defaults for the options are specified in brackets.
   1447 
   1448 Configuration:
   1449   -h, --help              display this help and exit
   1450       --help=short        display options specific to this package
   1451       --help=recursive    display the short help of all the included packages
   1452   -V, --version           display version information and exit
   1453   -q, --quiet, --silent   do not print \`checking ...' messages
   1454       --cache-file=FILE   cache test results in FILE [disabled]
   1455   -C, --config-cache      alias for \`--cache-file=config.cache'
   1456   -n, --no-create         do not create output files
   1457       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1458 
   1459 Installation directories:
   1460   --prefix=PREFIX         install architecture-independent files in PREFIX
   1461                           [$ac_default_prefix]
   1462   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1463                           [PREFIX]
   1464 
   1465 By default, \`make install' will install all the files in
   1466 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1467 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1468 for instance \`--prefix=\$HOME'.
   1469 
   1470 For better control, use the options below.
   1471 
   1472 Fine tuning of the installation directories:
   1473   --bindir=DIR            user executables [EPREFIX/bin]
   1474   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1475   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1476   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1477   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1478   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1479   --libdir=DIR            object code libraries [EPREFIX/lib]
   1480   --includedir=DIR        C header files [PREFIX/include]
   1481   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1482   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1483   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1484   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1485   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1486   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1487   --docdir=DIR            documentation root [DATAROOTDIR/doc/ld]
   1488   --htmldir=DIR           html documentation [DOCDIR]
   1489   --dvidir=DIR            dvi documentation [DOCDIR]
   1490   --pdfdir=DIR            pdf documentation [DOCDIR]
   1491   --psdir=DIR             ps documentation [DOCDIR]
   1492 _ACEOF
   1493 
   1494   cat <<\_ACEOF
   1495 
   1496 Program names:
   1497   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1498   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1499   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1500 
   1501 System types:
   1502   --build=BUILD     configure for building on BUILD [guessed]
   1503   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1504   --target=TARGET   configure for building compilers for TARGET [HOST]
   1505 _ACEOF
   1506 fi
   1507 
   1508 if test -n "$ac_init_help"; then
   1509   case $ac_init_help in
   1510      short | recursive ) echo "Configuration of ld 2.45:";;
   1511    esac
   1512   cat <<\_ACEOF
   1513 
   1514 Optional Features:
   1515   --disable-option-checking  ignore unrecognized --enable/--with options
   1516   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1517   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1518   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1519   --disable-silent-rules  verbose build output (undo: "make V=0")
   1520   --enable-maintainer-mode
   1521                           enable make rules and dependencies not useful (and
   1522                           sometimes confusing) to the casual installer
   1523   --enable-dependency-tracking
   1524                           do not reject slow dependency extractors
   1525   --disable-dependency-tracking
   1526                           speeds up one-time build
   1527   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1528   --enable-static[=PKGS]  build static libraries [default=yes]
   1529   --enable-fast-install[=PKGS]
   1530                           optimize for fast installation [default=yes]
   1531   --disable-libtool-lock  avoid locking (might break parallel builds)
   1532   --enable-plugins        Enable support for plugins
   1533   --disable-largefile     omit support for large files
   1534   --enable-checking       enable run-time checks
   1535   --enable-targets        alternative target configurations
   1536   --enable-gold[=ARG]     build gold [ARG={default,yes,no}]
   1537   --enable-got=<type>     GOT handling scheme (target, single, negative,
   1538                           multigot)
   1539   --enable-compressed-debug-sections={all,ld,none}
   1540                           compress debug sections by default]
   1541   --enable-default-compressed-debug-sections-algorithm={zlib,zstd}
   1542                           Default compression algorithm for
   1543                           --enable-compressed-debug-sections.
   1544   --enable-new-dtags      set DT_RUNPATH instead of DT_RPATH by default]
   1545   --enable-relro          enable -z relro in ELF linker by default
   1546   --enable-textrel-check=[yes|no|warning|error]
   1547                           enable DT_TEXTREL check in ELF linker
   1548   --enable-separate-code  enable -z separate-code in ELF linker by default
   1549   --enable-rosegment      enable --rosegment in the ELF linker by default
   1550   --enable-mark-plt       enable -z mark-plt in ELF x86-64 linker by default
   1551   --enable-memory-seal    enable -z memory-seal in ELF linker by default
   1552   --enable-warn-execstack enable warnings when creating an executable stack
   1553   --enable-error-execstack
   1554                           turn executable stack warnings into errors
   1555   --enable-warn-rwx-segments
   1556                           enable warnings when creating segments with RWX
   1557                           permissions
   1558   --enable-error-rwx-segments
   1559                           turn executable segment warnings into errors
   1560   --enable-default-execstack
   1561                           create an executable stack if an input file is
   1562                           missing a .note.GNU-stack section
   1563   --enable-error-handling-script
   1564                           enable/disable support for the
   1565                           --error-handling-script option
   1566   --enable-default-hash-style={sysv,gnu,both}
   1567                           use this default hash style
   1568   --disable-initfini-array do not use .init_array/.fini_array sections
   1569   --enable-libctf         Handle .ctf type-info sections [default=yes]
   1570   --enable-jansson        enable jansson [default=no]
   1571   --enable-werror         treat compile warnings as errors
   1572   --enable-build-warnings enable build-time compiler warnings
   1573   --disable-nls           do not use Native Language Support
   1574   --disable-rpath         do not hardcode runtime library paths
   1575 
   1576 Optional Packages:
   1577   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1578   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1579   --with-pic              try to use only PIC/non-PIC objects [default=use
   1580                           both]
   1581   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1582   --with-lib-path=dir1:dir2...  set default LIB_PATH
   1583   --with-sysroot=DIR Search for usr/lib et al within DIR.
   1584   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1585   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1586   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1587   --with-libiconv-type=TYPE     type of library to search for (auto/static/shared)
   1588   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1589   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1590   --with-libintl-type=TYPE     type of library to search for (auto/static/shared)
   1591   --with-xxhash           use inlined libxxhash for hashing (faster)
   1592                           (auto/yes/no)
   1593   --with-system-zlib      use installed libz
   1594   --with-zstd             support zstd compressed debug sections
   1595                           (default=auto)
   1596 
   1597 Some influential environment variables:
   1598   CC          C compiler command
   1599   CFLAGS      C compiler flags
   1600   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1601               nonstandard directory <lib dir>
   1602   LIBS        libraries to pass to the linker, e.g. -l<library>
   1603   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1604               you have headers in a nonstandard directory <include dir>
   1605   CXX         C++ compiler command
   1606   CXXFLAGS    C++ compiler flags
   1607   CPP         C preprocessor
   1608   PKG_CONFIG  path to pkg-config utility
   1609   PKG_CONFIG_PATH
   1610               directories to add to pkg-config's search path
   1611   PKG_CONFIG_LIBDIR
   1612               path overriding pkg-config's built-in search path
   1613   CXXCPP      C++ preprocessor
   1614   JANSSON_CFLAGS
   1615               C compiler flags for JANSSON, overriding pkg-config
   1616   JANSSON_LIBS
   1617               linker flags for JANSSON, overriding pkg-config
   1618   YACC        The `Yet Another Compiler Compiler' implementation to use.
   1619               Defaults to the first program found out of: `bison -y', `byacc',
   1620               `yacc'.
   1621   YFLAGS      The list of arguments that will be passed by default to $YACC.
   1622               This script will default YFLAGS to the empty string to avoid a
   1623               default value of `-d' given by some make applications.
   1624   ZSTD_CFLAGS C compiler flags for ZSTD, overriding pkg-config
   1625   ZSTD_LIBS   linker flags for ZSTD, overriding pkg-config
   1626 
   1627 Use these variables to override the choices made by `configure' or to help
   1628 it to find libraries and programs with nonstandard names/locations.
   1629 
   1630 Report bugs to the package provider.
   1631 _ACEOF
   1632 ac_status=$?
   1633 fi
   1634 
   1635 if test "$ac_init_help" = "recursive"; then
   1636   # If there are subdirs, report their specific --help.
   1637   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1638     test -d "$ac_dir" ||
   1639       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1640       continue
   1641     ac_builddir=.
   1642 
   1643 case "$ac_dir" in
   1644 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1645 *)
   1646   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1647   # A ".." for each directory in $ac_dir_suffix.
   1648   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1649   case $ac_top_builddir_sub in
   1650   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1651   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1652   esac ;;
   1653 esac
   1654 ac_abs_top_builddir=$ac_pwd
   1655 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1656 # for backward compatibility:
   1657 ac_top_builddir=$ac_top_build_prefix
   1658 
   1659 case $srcdir in
   1660   .)  # We are building in place.
   1661     ac_srcdir=.
   1662     ac_top_srcdir=$ac_top_builddir_sub
   1663     ac_abs_top_srcdir=$ac_pwd ;;
   1664   [\\/]* | ?:[\\/]* )  # Absolute name.
   1665     ac_srcdir=$srcdir$ac_dir_suffix;
   1666     ac_top_srcdir=$srcdir
   1667     ac_abs_top_srcdir=$srcdir ;;
   1668   *) # Relative name.
   1669     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1670     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1671     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1672 esac
   1673 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1674 
   1675     cd "$ac_dir" || { ac_status=$?; continue; }
   1676     # Check for guested configure.
   1677     if test -f "$ac_srcdir/configure.gnu"; then
   1678       echo &&
   1679       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1680     elif test -f "$ac_srcdir/configure"; then
   1681       echo &&
   1682       $SHELL "$ac_srcdir/configure" --help=recursive
   1683     else
   1684       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1685     fi || ac_status=$?
   1686     cd "$ac_pwd" || { ac_status=$?; break; }
   1687   done
   1688 fi
   1689 
   1690 test -n "$ac_init_help" && exit $ac_status
   1691 if $ac_init_version; then
   1692   cat <<\_ACEOF
   1693 ld configure 2.45
   1694 generated by GNU Autoconf 2.69
   1695 
   1696 Copyright (C) 2012 Free Software Foundation, Inc.
   1697 This configure script is free software; the Free Software Foundation
   1698 gives unlimited permission to copy, distribute and modify it.
   1699 _ACEOF
   1700   exit
   1701 fi
   1702 
   1703 ## ------------------------ ##
   1704 ## Autoconf initialization. ##
   1705 ## ------------------------ ##
   1706 
   1707 # ac_fn_c_try_compile LINENO
   1708 # --------------------------
   1709 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1710 ac_fn_c_try_compile ()
   1711 {
   1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1713   rm -f conftest.$ac_objext
   1714   if { { ac_try="$ac_compile"
   1715 case "(($ac_try" in
   1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1717   *) ac_try_echo=$ac_try;;
   1718 esac
   1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1720 $as_echo "$ac_try_echo"; } >&5
   1721   (eval "$ac_compile") 2>conftest.err
   1722   ac_status=$?
   1723   if test -s conftest.err; then
   1724     grep -v '^ *+' conftest.err >conftest.er1
   1725     cat conftest.er1 >&5
   1726     mv -f conftest.er1 conftest.err
   1727   fi
   1728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1729   test $ac_status = 0; } && {
   1730 	 test -z "$ac_c_werror_flag" ||
   1731 	 test ! -s conftest.err
   1732        } && test -s conftest.$ac_objext; then :
   1733   ac_retval=0
   1734 else
   1735   $as_echo "$as_me: failed program was:" >&5
   1736 sed 's/^/| /' conftest.$ac_ext >&5
   1737 
   1738 	ac_retval=1
   1739 fi
   1740   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1741   as_fn_set_status $ac_retval
   1742 
   1743 } # ac_fn_c_try_compile
   1744 
   1745 # ac_fn_cxx_try_compile LINENO
   1746 # ----------------------------
   1747 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1748 ac_fn_cxx_try_compile ()
   1749 {
   1750   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1751   rm -f conftest.$ac_objext
   1752   if { { ac_try="$ac_compile"
   1753 case "(($ac_try" in
   1754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1755   *) ac_try_echo=$ac_try;;
   1756 esac
   1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1758 $as_echo "$ac_try_echo"; } >&5
   1759   (eval "$ac_compile") 2>conftest.err
   1760   ac_status=$?
   1761   if test -s conftest.err; then
   1762     grep -v '^ *+' conftest.err >conftest.er1
   1763     cat conftest.er1 >&5
   1764     mv -f conftest.er1 conftest.err
   1765   fi
   1766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1767   test $ac_status = 0; } && {
   1768 	 test -z "$ac_cxx_werror_flag" ||
   1769 	 test ! -s conftest.err
   1770        } && test -s conftest.$ac_objext; then :
   1771   ac_retval=0
   1772 else
   1773   $as_echo "$as_me: failed program was:" >&5
   1774 sed 's/^/| /' conftest.$ac_ext >&5
   1775 
   1776 	ac_retval=1
   1777 fi
   1778   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1779   as_fn_set_status $ac_retval
   1780 
   1781 } # ac_fn_cxx_try_compile
   1782 
   1783 # ac_fn_c_try_cpp LINENO
   1784 # ----------------------
   1785 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1786 ac_fn_c_try_cpp ()
   1787 {
   1788   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1789   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1790 case "(($ac_try" in
   1791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1792   *) ac_try_echo=$ac_try;;
   1793 esac
   1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1795 $as_echo "$ac_try_echo"; } >&5
   1796   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1797   ac_status=$?
   1798   if test -s conftest.err; then
   1799     grep -v '^ *+' conftest.err >conftest.er1
   1800     cat conftest.er1 >&5
   1801     mv -f conftest.er1 conftest.err
   1802   fi
   1803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1804   test $ac_status = 0; } > conftest.i && {
   1805 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1806 	 test ! -s conftest.err
   1807        }; then :
   1808   ac_retval=0
   1809 else
   1810   $as_echo "$as_me: failed program was:" >&5
   1811 sed 's/^/| /' conftest.$ac_ext >&5
   1812 
   1813     ac_retval=1
   1814 fi
   1815   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1816   as_fn_set_status $ac_retval
   1817 
   1818 } # ac_fn_c_try_cpp
   1819 
   1820 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1821 # -------------------------------------------------------
   1822 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1823 # the include files in INCLUDES and setting the cache variable VAR
   1824 # accordingly.
   1825 ac_fn_c_check_header_mongrel ()
   1826 {
   1827   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1828   if eval \${$3+:} false; then :
   1829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1830 $as_echo_n "checking for $2... " >&6; }
   1831 if eval \${$3+:} false; then :
   1832   $as_echo_n "(cached) " >&6
   1833 fi
   1834 eval ac_res=\$$3
   1835 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1836 $as_echo "$ac_res" >&6; }
   1837 else
   1838   # Is the header compilable?
   1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1840 $as_echo_n "checking $2 usability... " >&6; }
   1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1842 /* end confdefs.h.  */
   1843 $4
   1844 #include <$2>
   1845 _ACEOF
   1846 if ac_fn_c_try_compile "$LINENO"; then :
   1847   ac_header_compiler=yes
   1848 else
   1849   ac_header_compiler=no
   1850 fi
   1851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1853 $as_echo "$ac_header_compiler" >&6; }
   1854 
   1855 # Is the header present?
   1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1857 $as_echo_n "checking $2 presence... " >&6; }
   1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1859 /* end confdefs.h.  */
   1860 #include <$2>
   1861 _ACEOF
   1862 if ac_fn_c_try_cpp "$LINENO"; then :
   1863   ac_header_preproc=yes
   1864 else
   1865   ac_header_preproc=no
   1866 fi
   1867 rm -f conftest.err conftest.i conftest.$ac_ext
   1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1869 $as_echo "$ac_header_preproc" >&6; }
   1870 
   1871 # So?  What about this header?
   1872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1873   yes:no: )
   1874     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1875 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1876     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1877 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1878     ;;
   1879   no:yes:* )
   1880     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1881 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1882     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1883 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1884     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1885 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1886     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1887 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1888     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1889 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1890     ;;
   1891 esac
   1892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1893 $as_echo_n "checking for $2... " >&6; }
   1894 if eval \${$3+:} false; then :
   1895   $as_echo_n "(cached) " >&6
   1896 else
   1897   eval "$3=\$ac_header_compiler"
   1898 fi
   1899 eval ac_res=\$$3
   1900 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1901 $as_echo "$ac_res" >&6; }
   1902 fi
   1903   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1904 
   1905 } # ac_fn_c_check_header_mongrel
   1906 
   1907 # ac_fn_c_try_run LINENO
   1908 # ----------------------
   1909 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1910 # that executables *can* be run.
   1911 ac_fn_c_try_run ()
   1912 {
   1913   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1914   if { { ac_try="$ac_link"
   1915 case "(($ac_try" in
   1916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1917   *) ac_try_echo=$ac_try;;
   1918 esac
   1919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1920 $as_echo "$ac_try_echo"; } >&5
   1921   (eval "$ac_link") 2>&5
   1922   ac_status=$?
   1923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1924   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1925   { { case "(($ac_try" in
   1926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1927   *) ac_try_echo=$ac_try;;
   1928 esac
   1929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1930 $as_echo "$ac_try_echo"; } >&5
   1931   (eval "$ac_try") 2>&5
   1932   ac_status=$?
   1933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1934   test $ac_status = 0; }; }; then :
   1935   ac_retval=0
   1936 else
   1937   $as_echo "$as_me: program exited with status $ac_status" >&5
   1938        $as_echo "$as_me: failed program was:" >&5
   1939 sed 's/^/| /' conftest.$ac_ext >&5
   1940 
   1941        ac_retval=$ac_status
   1942 fi
   1943   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1944   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1945   as_fn_set_status $ac_retval
   1946 
   1947 } # ac_fn_c_try_run
   1948 
   1949 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1950 # -------------------------------------------------------
   1951 # Tests whether HEADER exists and can be compiled using the include files in
   1952 # INCLUDES, setting the cache variable VAR accordingly.
   1953 ac_fn_c_check_header_compile ()
   1954 {
   1955   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1957 $as_echo_n "checking for $2... " >&6; }
   1958 if eval \${$3+:} false; then :
   1959   $as_echo_n "(cached) " >&6
   1960 else
   1961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1962 /* end confdefs.h.  */
   1963 $4
   1964 #include <$2>
   1965 _ACEOF
   1966 if ac_fn_c_try_compile "$LINENO"; then :
   1967   eval "$3=yes"
   1968 else
   1969   eval "$3=no"
   1970 fi
   1971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1972 fi
   1973 eval ac_res=\$$3
   1974 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1975 $as_echo "$ac_res" >&6; }
   1976   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1977 
   1978 } # ac_fn_c_check_header_compile
   1979 
   1980 # ac_fn_c_try_link LINENO
   1981 # -----------------------
   1982 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1983 ac_fn_c_try_link ()
   1984 {
   1985   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1986   rm -f conftest.$ac_objext conftest$ac_exeext
   1987   if { { ac_try="$ac_link"
   1988 case "(($ac_try" in
   1989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1990   *) ac_try_echo=$ac_try;;
   1991 esac
   1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1993 $as_echo "$ac_try_echo"; } >&5
   1994   (eval "$ac_link") 2>conftest.err
   1995   ac_status=$?
   1996   if test -s conftest.err; then
   1997     grep -v '^ *+' conftest.err >conftest.er1
   1998     cat conftest.er1 >&5
   1999     mv -f conftest.er1 conftest.err
   2000   fi
   2001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2002   test $ac_status = 0; } && {
   2003 	 test -z "$ac_c_werror_flag" ||
   2004 	 test ! -s conftest.err
   2005        } && test -s conftest$ac_exeext && {
   2006 	 test "$cross_compiling" = yes ||
   2007 	 test -x conftest$ac_exeext
   2008        }; then :
   2009   ac_retval=0
   2010 else
   2011   $as_echo "$as_me: failed program was:" >&5
   2012 sed 's/^/| /' conftest.$ac_ext >&5
   2013 
   2014 	ac_retval=1
   2015 fi
   2016   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2017   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2018   # interfere with the next link command; also delete a directory that is
   2019   # left behind by Apple's compiler.  We do this before executing the actions.
   2020   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2021   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2022   as_fn_set_status $ac_retval
   2023 
   2024 } # ac_fn_c_try_link
   2025 
   2026 # ac_fn_c_check_func LINENO FUNC VAR
   2027 # ----------------------------------
   2028 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2029 ac_fn_c_check_func ()
   2030 {
   2031   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2033 $as_echo_n "checking for $2... " >&6; }
   2034 if eval \${$3+:} false; then :
   2035   $as_echo_n "(cached) " >&6
   2036 else
   2037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2038 /* end confdefs.h.  */
   2039 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2040    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2041 #define $2 innocuous_$2
   2042 
   2043 /* System header to define __stub macros and hopefully few prototypes,
   2044     which can conflict with char $2 (); below.
   2045     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2046     <limits.h> exists even on freestanding compilers.  */
   2047 
   2048 #ifdef __STDC__
   2049 # include <limits.h>
   2050 #else
   2051 # include <assert.h>
   2052 #endif
   2053 
   2054 #undef $2
   2055 
   2056 /* Override any GCC internal prototype to avoid an error.
   2057    Use char because int might match the return type of a GCC
   2058    builtin and then its argument prototype would still apply.  */
   2059 #ifdef __cplusplus
   2060 extern "C"
   2061 #endif
   2062 char $2 ();
   2063 /* The GNU C library defines this for functions which it implements
   2064     to always fail with ENOSYS.  Some functions are actually named
   2065     something starting with __ and the normal name is an alias.  */
   2066 #if defined __stub_$2 || defined __stub___$2
   2067 choke me
   2068 #endif
   2069 
   2070 int
   2071 main ()
   2072 {
   2073 return $2 ();
   2074   ;
   2075   return 0;
   2076 }
   2077 _ACEOF
   2078 if ac_fn_c_try_link "$LINENO"; then :
   2079   eval "$3=yes"
   2080 else
   2081   eval "$3=no"
   2082 fi
   2083 rm -f core conftest.err conftest.$ac_objext \
   2084     conftest$ac_exeext conftest.$ac_ext
   2085 fi
   2086 eval ac_res=\$$3
   2087 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2088 $as_echo "$ac_res" >&6; }
   2089   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2090 
   2091 } # ac_fn_c_check_func
   2092 
   2093 # ac_fn_cxx_try_cpp LINENO
   2094 # ------------------------
   2095 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2096 ac_fn_cxx_try_cpp ()
   2097 {
   2098   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2099   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2100 case "(($ac_try" in
   2101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2102   *) ac_try_echo=$ac_try;;
   2103 esac
   2104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2105 $as_echo "$ac_try_echo"; } >&5
   2106   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2107   ac_status=$?
   2108   if test -s conftest.err; then
   2109     grep -v '^ *+' conftest.err >conftest.er1
   2110     cat conftest.er1 >&5
   2111     mv -f conftest.er1 conftest.err
   2112   fi
   2113   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2114   test $ac_status = 0; } > conftest.i && {
   2115 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   2116 	 test ! -s conftest.err
   2117        }; then :
   2118   ac_retval=0
   2119 else
   2120   $as_echo "$as_me: failed program was:" >&5
   2121 sed 's/^/| /' conftest.$ac_ext >&5
   2122 
   2123     ac_retval=1
   2124 fi
   2125   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2126   as_fn_set_status $ac_retval
   2127 
   2128 } # ac_fn_cxx_try_cpp
   2129 
   2130 # ac_fn_cxx_try_link LINENO
   2131 # -------------------------
   2132 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2133 ac_fn_cxx_try_link ()
   2134 {
   2135   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2136   rm -f conftest.$ac_objext conftest$ac_exeext
   2137   if { { ac_try="$ac_link"
   2138 case "(($ac_try" in
   2139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2140   *) ac_try_echo=$ac_try;;
   2141 esac
   2142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2143 $as_echo "$ac_try_echo"; } >&5
   2144   (eval "$ac_link") 2>conftest.err
   2145   ac_status=$?
   2146   if test -s conftest.err; then
   2147     grep -v '^ *+' conftest.err >conftest.er1
   2148     cat conftest.er1 >&5
   2149     mv -f conftest.er1 conftest.err
   2150   fi
   2151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2152   test $ac_status = 0; } && {
   2153 	 test -z "$ac_cxx_werror_flag" ||
   2154 	 test ! -s conftest.err
   2155        } && test -s conftest$ac_exeext && {
   2156 	 test "$cross_compiling" = yes ||
   2157 	 test -x conftest$ac_exeext
   2158        }; then :
   2159   ac_retval=0
   2160 else
   2161   $as_echo "$as_me: failed program was:" >&5
   2162 sed 's/^/| /' conftest.$ac_ext >&5
   2163 
   2164 	ac_retval=1
   2165 fi
   2166   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2167   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2168   # interfere with the next link command; also delete a directory that is
   2169   # left behind by Apple's compiler.  We do this before executing the actions.
   2170   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2171   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2172   as_fn_set_status $ac_retval
   2173 
   2174 } # ac_fn_cxx_try_link
   2175 
   2176 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2177 # ---------------------------------------------
   2178 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2179 # accordingly.
   2180 ac_fn_c_check_decl ()
   2181 {
   2182   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2183   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2184   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2186 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2187 if eval \${$3+:} false; then :
   2188   $as_echo_n "(cached) " >&6
   2189 else
   2190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2191 /* end confdefs.h.  */
   2192 $4
   2193 int
   2194 main ()
   2195 {
   2196 #ifndef $as_decl_name
   2197 #ifdef __cplusplus
   2198   (void) $as_decl_use;
   2199 #else
   2200   (void) $as_decl_name;
   2201 #endif
   2202 #endif
   2203 
   2204   ;
   2205   return 0;
   2206 }
   2207 _ACEOF
   2208 if ac_fn_c_try_compile "$LINENO"; then :
   2209   eval "$3=yes"
   2210 else
   2211   eval "$3=no"
   2212 fi
   2213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2214 fi
   2215 eval ac_res=\$$3
   2216 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2217 $as_echo "$ac_res" >&6; }
   2218   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2219 
   2220 } # ac_fn_c_check_decl
   2221 cat >config.log <<_ACEOF
   2222 This file contains any messages produced by compilers while
   2223 running configure, to aid debugging if configure makes a mistake.
   2224 
   2225 It was created by ld $as_me 2.45, which was
   2226 generated by GNU Autoconf 2.69.  Invocation command line was
   2227 
   2228   $ $0 $@
   2229 
   2230 _ACEOF
   2231 exec 5>>config.log
   2232 {
   2233 cat <<_ASUNAME
   2234 ## --------- ##
   2235 ## Platform. ##
   2236 ## --------- ##
   2237 
   2238 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2239 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2240 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2241 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2242 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2243 
   2244 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2245 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2246 
   2247 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2248 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2249 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2250 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2251 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2252 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2253 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2254 
   2255 _ASUNAME
   2256 
   2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2258 for as_dir in $PATH
   2259 do
   2260   IFS=$as_save_IFS
   2261   test -z "$as_dir" && as_dir=.
   2262     $as_echo "PATH: $as_dir"
   2263   done
   2264 IFS=$as_save_IFS
   2265 
   2266 } >&5
   2267 
   2268 cat >&5 <<_ACEOF
   2269 
   2270 
   2271 ## ----------- ##
   2272 ## Core tests. ##
   2273 ## ----------- ##
   2274 
   2275 _ACEOF
   2276 
   2277 
   2278 # Keep a trace of the command line.
   2279 # Strip out --no-create and --no-recursion so they do not pile up.
   2280 # Strip out --silent because we don't want to record it for future runs.
   2281 # Also quote any args containing shell meta-characters.
   2282 # Make two passes to allow for proper duplicate-argument suppression.
   2283 ac_configure_args=
   2284 ac_configure_args0=
   2285 ac_configure_args1=
   2286 ac_must_keep_next=false
   2287 for ac_pass in 1 2
   2288 do
   2289   for ac_arg
   2290   do
   2291     case $ac_arg in
   2292     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2293     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2294     | -silent | --silent | --silen | --sile | --sil)
   2295       continue ;;
   2296     *\'*)
   2297       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2298     esac
   2299     case $ac_pass in
   2300     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2301     2)
   2302       as_fn_append ac_configure_args1 " '$ac_arg'"
   2303       if test $ac_must_keep_next = true; then
   2304 	ac_must_keep_next=false # Got value, back to normal.
   2305       else
   2306 	case $ac_arg in
   2307 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2308 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2309 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2310 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2311 	    case "$ac_configure_args0 " in
   2312 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2313 	    esac
   2314 	    ;;
   2315 	  -* ) ac_must_keep_next=true ;;
   2316 	esac
   2317       fi
   2318       as_fn_append ac_configure_args " '$ac_arg'"
   2319       ;;
   2320     esac
   2321   done
   2322 done
   2323 { ac_configure_args0=; unset ac_configure_args0;}
   2324 { ac_configure_args1=; unset ac_configure_args1;}
   2325 
   2326 # When interrupted or exit'd, cleanup temporary files, and complete
   2327 # config.log.  We remove comments because anyway the quotes in there
   2328 # would cause problems or look ugly.
   2329 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2330 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2331 trap 'exit_status=$?
   2332   # Save into config.log some information that might help in debugging.
   2333   {
   2334     echo
   2335 
   2336     $as_echo "## ---------------- ##
   2337 ## Cache variables. ##
   2338 ## ---------------- ##"
   2339     echo
   2340     # The following way of writing the cache mishandles newlines in values,
   2341 (
   2342   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2343     eval ac_val=\$$ac_var
   2344     case $ac_val in #(
   2345     *${as_nl}*)
   2346       case $ac_var in #(
   2347       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2348 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2349       esac
   2350       case $ac_var in #(
   2351       _ | IFS | as_nl) ;; #(
   2352       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2353       *) { eval $ac_var=; unset $ac_var;} ;;
   2354       esac ;;
   2355     esac
   2356   done
   2357   (set) 2>&1 |
   2358     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2359     *${as_nl}ac_space=\ *)
   2360       sed -n \
   2361 	"s/'\''/'\''\\\\'\'''\''/g;
   2362 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2363       ;; #(
   2364     *)
   2365       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2366       ;;
   2367     esac |
   2368     sort
   2369 )
   2370     echo
   2371 
   2372     $as_echo "## ----------------- ##
   2373 ## Output variables. ##
   2374 ## ----------------- ##"
   2375     echo
   2376     for ac_var in $ac_subst_vars
   2377     do
   2378       eval ac_val=\$$ac_var
   2379       case $ac_val in
   2380       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2381       esac
   2382       $as_echo "$ac_var='\''$ac_val'\''"
   2383     done | sort
   2384     echo
   2385 
   2386     if test -n "$ac_subst_files"; then
   2387       $as_echo "## ------------------- ##
   2388 ## File substitutions. ##
   2389 ## ------------------- ##"
   2390       echo
   2391       for ac_var in $ac_subst_files
   2392       do
   2393 	eval ac_val=\$$ac_var
   2394 	case $ac_val in
   2395 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2396 	esac
   2397 	$as_echo "$ac_var='\''$ac_val'\''"
   2398       done | sort
   2399       echo
   2400     fi
   2401 
   2402     if test -s confdefs.h; then
   2403       $as_echo "## ----------- ##
   2404 ## confdefs.h. ##
   2405 ## ----------- ##"
   2406       echo
   2407       cat confdefs.h
   2408       echo
   2409     fi
   2410     test "$ac_signal" != 0 &&
   2411       $as_echo "$as_me: caught signal $ac_signal"
   2412     $as_echo "$as_me: exit $exit_status"
   2413   } >&5
   2414   rm -f core *.core core.conftest.* &&
   2415     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2416     exit $exit_status
   2417 ' 0
   2418 for ac_signal in 1 2 13 15; do
   2419   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2420 done
   2421 ac_signal=0
   2422 
   2423 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2424 rm -f -r conftest* confdefs.h
   2425 
   2426 $as_echo "/* confdefs.h */" > confdefs.h
   2427 
   2428 # Predefined preprocessor variables.
   2429 
   2430 cat >>confdefs.h <<_ACEOF
   2431 #define PACKAGE_NAME "$PACKAGE_NAME"
   2432 _ACEOF
   2433 
   2434 cat >>confdefs.h <<_ACEOF
   2435 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2436 _ACEOF
   2437 
   2438 cat >>confdefs.h <<_ACEOF
   2439 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2440 _ACEOF
   2441 
   2442 cat >>confdefs.h <<_ACEOF
   2443 #define PACKAGE_STRING "$PACKAGE_STRING"
   2444 _ACEOF
   2445 
   2446 cat >>confdefs.h <<_ACEOF
   2447 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2448 _ACEOF
   2449 
   2450 cat >>confdefs.h <<_ACEOF
   2451 #define PACKAGE_URL "$PACKAGE_URL"
   2452 _ACEOF
   2453 
   2454 
   2455 # Let the site file select an alternate cache file if it wants to.
   2456 # Prefer an explicitly selected file to automatically selected ones.
   2457 ac_site_file1=NONE
   2458 ac_site_file2=NONE
   2459 if test -n "$CONFIG_SITE"; then
   2460   # We do not want a PATH search for config.site.
   2461   case $CONFIG_SITE in #((
   2462     -*)  ac_site_file1=./$CONFIG_SITE;;
   2463     */*) ac_site_file1=$CONFIG_SITE;;
   2464     *)   ac_site_file1=./$CONFIG_SITE;;
   2465   esac
   2466 elif test "x$prefix" != xNONE; then
   2467   ac_site_file1=$prefix/share/config.site
   2468   ac_site_file2=$prefix/etc/config.site
   2469 else
   2470   ac_site_file1=$ac_default_prefix/share/config.site
   2471   ac_site_file2=$ac_default_prefix/etc/config.site
   2472 fi
   2473 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2474 do
   2475   test "x$ac_site_file" = xNONE && continue
   2476   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2477     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2478 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2479     sed 's/^/| /' "$ac_site_file" >&5
   2480     . "$ac_site_file" \
   2481       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2483 as_fn_error $? "failed to load site script $ac_site_file
   2484 See \`config.log' for more details" "$LINENO" 5; }
   2485   fi
   2486 done
   2487 
   2488 if test -r "$cache_file"; then
   2489   # Some versions of bash will fail to source /dev/null (special files
   2490   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2491   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2492     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2493 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2494     case $cache_file in
   2495       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2496       *)                      . "./$cache_file";;
   2497     esac
   2498   fi
   2499 else
   2500   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2501 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2502   >$cache_file
   2503 fi
   2504 
   2505 gt_needs="$gt_needs "
   2506 as_fn_append ac_header_list " stdlib.h"
   2507 as_fn_append ac_header_list " unistd.h"
   2508 as_fn_append ac_header_list " sys/param.h"
   2509 # Check that the precious variables saved in the cache have kept the same
   2510 # value.
   2511 ac_cache_corrupted=false
   2512 for ac_var in $ac_precious_vars; do
   2513   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2514   eval ac_new_set=\$ac_env_${ac_var}_set
   2515   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2516   eval ac_new_val=\$ac_env_${ac_var}_value
   2517   case $ac_old_set,$ac_new_set in
   2518     set,)
   2519       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2520 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2521       ac_cache_corrupted=: ;;
   2522     ,set)
   2523       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2524 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2525       ac_cache_corrupted=: ;;
   2526     ,);;
   2527     *)
   2528       if test "x$ac_old_val" != "x$ac_new_val"; then
   2529 	# differences in whitespace do not lead to failure.
   2530 	ac_old_val_w=`echo x $ac_old_val`
   2531 	ac_new_val_w=`echo x $ac_new_val`
   2532 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2533 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2534 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2535 	  ac_cache_corrupted=:
   2536 	else
   2537 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2538 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2539 	  eval $ac_var=\$ac_old_val
   2540 	fi
   2541 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2542 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2543 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2544 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2545       fi;;
   2546   esac
   2547   # Pass precious variables to config.status.
   2548   if test "$ac_new_set" = set; then
   2549     case $ac_new_val in
   2550     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2551     *) ac_arg=$ac_var=$ac_new_val ;;
   2552     esac
   2553     case " $ac_configure_args " in
   2554       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2555       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2556     esac
   2557   fi
   2558 done
   2559 if $ac_cache_corrupted; then
   2560   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2562   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2563 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2564   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2565 fi
   2566 ## -------------------- ##
   2567 ## Main body of script. ##
   2568 ## -------------------- ##
   2569 
   2570 ac_ext=c
   2571 ac_cpp='$CPP $CPPFLAGS'
   2572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2575 
   2576 
   2577 
   2578 
   2579 
   2580 
   2581 
   2582 ac_aux_dir=
   2583 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2584   if test -f "$ac_dir/install-sh"; then
   2585     ac_aux_dir=$ac_dir
   2586     ac_install_sh="$ac_aux_dir/install-sh -c"
   2587     break
   2588   elif test -f "$ac_dir/install.sh"; then
   2589     ac_aux_dir=$ac_dir
   2590     ac_install_sh="$ac_aux_dir/install.sh -c"
   2591     break
   2592   elif test -f "$ac_dir/shtool"; then
   2593     ac_aux_dir=$ac_dir
   2594     ac_install_sh="$ac_aux_dir/shtool install -c"
   2595     break
   2596   fi
   2597 done
   2598 if test -z "$ac_aux_dir"; then
   2599   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2600 fi
   2601 
   2602 # These three variables are undocumented and unsupported,
   2603 # and are intended to be withdrawn in a future Autoconf release.
   2604 # They can cause serious problems if a builder's source tree is in a directory
   2605 # whose full name contains unusual characters.
   2606 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2607 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2608 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2609 
   2610 
   2611 # Make sure we can run config.sub.
   2612 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2613   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2614 
   2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2616 $as_echo_n "checking build system type... " >&6; }
   2617 if ${ac_cv_build+:} false; then :
   2618   $as_echo_n "(cached) " >&6
   2619 else
   2620   ac_build_alias=$build_alias
   2621 test "x$ac_build_alias" = x &&
   2622   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2623 test "x$ac_build_alias" = x &&
   2624   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2625 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2626   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2627 
   2628 fi
   2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2630 $as_echo "$ac_cv_build" >&6; }
   2631 case $ac_cv_build in
   2632 *-*-*) ;;
   2633 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2634 esac
   2635 build=$ac_cv_build
   2636 ac_save_IFS=$IFS; IFS='-'
   2637 set x $ac_cv_build
   2638 shift
   2639 build_cpu=$1
   2640 build_vendor=$2
   2641 shift; shift
   2642 # Remember, the first character of IFS is used to create $*,
   2643 # except with old shells:
   2644 build_os=$*
   2645 IFS=$ac_save_IFS
   2646 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2647 
   2648 
   2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2650 $as_echo_n "checking host system type... " >&6; }
   2651 if ${ac_cv_host+:} false; then :
   2652   $as_echo_n "(cached) " >&6
   2653 else
   2654   if test "x$host_alias" = x; then
   2655   ac_cv_host=$ac_cv_build
   2656 else
   2657   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2658     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2659 fi
   2660 
   2661 fi
   2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2663 $as_echo "$ac_cv_host" >&6; }
   2664 case $ac_cv_host in
   2665 *-*-*) ;;
   2666 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2667 esac
   2668 host=$ac_cv_host
   2669 ac_save_IFS=$IFS; IFS='-'
   2670 set x $ac_cv_host
   2671 shift
   2672 host_cpu=$1
   2673 host_vendor=$2
   2674 shift; shift
   2675 # Remember, the first character of IFS is used to create $*,
   2676 # except with old shells:
   2677 host_os=$*
   2678 IFS=$ac_save_IFS
   2679 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2680 
   2681 
   2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2683 $as_echo_n "checking target system type... " >&6; }
   2684 if ${ac_cv_target+:} false; then :
   2685   $as_echo_n "(cached) " >&6
   2686 else
   2687   if test "x$target_alias" = x; then
   2688   ac_cv_target=$ac_cv_host
   2689 else
   2690   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2691     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2692 fi
   2693 
   2694 fi
   2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2696 $as_echo "$ac_cv_target" >&6; }
   2697 case $ac_cv_target in
   2698 *-*-*) ;;
   2699 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2700 esac
   2701 target=$ac_cv_target
   2702 ac_save_IFS=$IFS; IFS='-'
   2703 set x $ac_cv_target
   2704 shift
   2705 target_cpu=$1
   2706 target_vendor=$2
   2707 shift; shift
   2708 # Remember, the first character of IFS is used to create $*,
   2709 # except with old shells:
   2710 target_os=$*
   2711 IFS=$ac_save_IFS
   2712 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2713 
   2714 
   2715 # The aliases save the names the user supplied, while $host etc.
   2716 # will get canonicalized.
   2717 test -n "$target_alias" &&
   2718   test "$program_prefix$program_suffix$program_transform_name" = \
   2719     NONENONEs,x,x, &&
   2720   program_prefix=${target_alias}-
   2721 
   2722 
   2723 am__api_version='1.15'
   2724 
   2725 # Find a good install program.  We prefer a C program (faster),
   2726 # so one script is as good as another.  But avoid the broken or
   2727 # incompatible versions:
   2728 # SysV /etc/install, /usr/sbin/install
   2729 # SunOS /usr/etc/install
   2730 # IRIX /sbin/install
   2731 # AIX /bin/install
   2732 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2733 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2734 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2735 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2736 # OS/2's system install, which has a completely different semantic
   2737 # ./install, which can be erroneously created by make from ./install.sh.
   2738 # Reject install programs that cannot install multiple files.
   2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2740 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2741 if test -z "$INSTALL"; then
   2742 if ${ac_cv_path_install+:} false; then :
   2743   $as_echo_n "(cached) " >&6
   2744 else
   2745   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2746 for as_dir in $PATH
   2747 do
   2748   IFS=$as_save_IFS
   2749   test -z "$as_dir" && as_dir=.
   2750     # Account for people who put trailing slashes in PATH elements.
   2751 case $as_dir/ in #((
   2752   ./ | .// | /[cC]/* | \
   2753   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2754   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2755   /usr/ucb/* ) ;;
   2756   *)
   2757     # OSF1 and SCO ODT 3.0 have their own names for install.
   2758     # Don't use installbsd from OSF since it installs stuff as root
   2759     # by default.
   2760     for ac_prog in ginstall scoinst install; do
   2761       for ac_exec_ext in '' $ac_executable_extensions; do
   2762 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2763 	  if test $ac_prog = install &&
   2764 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2765 	    # AIX install.  It has an incompatible calling convention.
   2766 	    :
   2767 	  elif test $ac_prog = install &&
   2768 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2769 	    # program-specific install script used by HP pwplus--don't use.
   2770 	    :
   2771 	  else
   2772 	    rm -rf conftest.one conftest.two conftest.dir
   2773 	    echo one > conftest.one
   2774 	    echo two > conftest.two
   2775 	    mkdir conftest.dir
   2776 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2777 	      test -s conftest.one && test -s conftest.two &&
   2778 	      test -s conftest.dir/conftest.one &&
   2779 	      test -s conftest.dir/conftest.two
   2780 	    then
   2781 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2782 	      break 3
   2783 	    fi
   2784 	  fi
   2785 	fi
   2786       done
   2787     done
   2788     ;;
   2789 esac
   2790 
   2791   done
   2792 IFS=$as_save_IFS
   2793 
   2794 rm -rf conftest.one conftest.two conftest.dir
   2795 
   2796 fi
   2797   if test "${ac_cv_path_install+set}" = set; then
   2798     INSTALL=$ac_cv_path_install
   2799   else
   2800     # As a last resort, use the slow shell script.  Don't cache a
   2801     # value for INSTALL within a source directory, because that will
   2802     # break other packages using the cache if that directory is
   2803     # removed, or if the value is a relative name.
   2804     INSTALL=$ac_install_sh
   2805   fi
   2806 fi
   2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2808 $as_echo "$INSTALL" >&6; }
   2809 
   2810 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2811 # It thinks the first close brace ends the variable substitution.
   2812 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2813 
   2814 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2815 
   2816 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2817 
   2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2819 $as_echo_n "checking whether build environment is sane... " >&6; }
   2820 # Reject unsafe characters in $srcdir or the absolute working directory
   2821 # name.  Accept space and tab only in the latter.
   2822 am_lf='
   2823 '
   2824 case `pwd` in
   2825   *[\\\"\#\$\&\'\`$am_lf]*)
   2826     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2827 esac
   2828 case $srcdir in
   2829   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2830     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2831 esac
   2832 
   2833 # Do 'set' in a subshell so we don't clobber the current shell's
   2834 # arguments.  Must try -L first in case configure is actually a
   2835 # symlink; some systems play weird games with the mod time of symlinks
   2836 # (eg FreeBSD returns the mod time of the symlink's containing
   2837 # directory).
   2838 if (
   2839    am_has_slept=no
   2840    for am_try in 1 2; do
   2841      echo "timestamp, slept: $am_has_slept" > conftest.file
   2842      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2843      if test "$*" = "X"; then
   2844 	# -L didn't work.
   2845 	set X `ls -t "$srcdir/configure" conftest.file`
   2846      fi
   2847      if test "$*" != "X $srcdir/configure conftest.file" \
   2848 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2849 
   2850 	# If neither matched, then we have a broken ls.  This can happen
   2851 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2852 	# broken ls alias from the environment.  This has actually
   2853 	# happened.  Such a system could not be considered "sane".
   2854 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2855   alias in your environment" "$LINENO" 5
   2856      fi
   2857      if test "$2" = conftest.file || test $am_try -eq 2; then
   2858        break
   2859      fi
   2860      # Just in case.
   2861      sleep 1
   2862      am_has_slept=yes
   2863    done
   2864    test "$2" = conftest.file
   2865    )
   2866 then
   2867    # Ok.
   2868    :
   2869 else
   2870    as_fn_error $? "newly created file is older than distributed files!
   2871 Check your system clock" "$LINENO" 5
   2872 fi
   2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2874 $as_echo "yes" >&6; }
   2875 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2876 # generated files are strictly newer.
   2877 am_sleep_pid=
   2878 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2879   ( sleep 1 ) &
   2880   am_sleep_pid=$!
   2881 fi
   2882 
   2883 rm -f conftest.file
   2884 
   2885 test "$program_prefix" != NONE &&
   2886   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2887 # Use a double $ so make ignores it.
   2888 test "$program_suffix" != NONE &&
   2889   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2890 # Double any \ or $.
   2891 # By default was `s,x,x', remove it if useless.
   2892 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2893 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2894 
   2895 # Expand $ac_aux_dir to an absolute path.
   2896 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2897 
   2898 if test x"${MISSING+set}" != xset; then
   2899   case $am_aux_dir in
   2900   *\ * | *\	*)
   2901     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2902   *)
   2903     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2904   esac
   2905 fi
   2906 # Use eval to expand $SHELL
   2907 if eval "$MISSING --is-lightweight"; then
   2908   am_missing_run="$MISSING "
   2909 else
   2910   am_missing_run=
   2911   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2912 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2913 fi
   2914 
   2915 if test x"${install_sh+set}" != xset; then
   2916   case $am_aux_dir in
   2917   *\ * | *\	*)
   2918     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2919   *)
   2920     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2921   esac
   2922 fi
   2923 
   2924 # Installed binaries are usually stripped using 'strip' when the user
   2925 # run "make install-strip".  However 'strip' might not be the right
   2926 # tool to use in cross-compilation environments, therefore Automake
   2927 # will honor the 'STRIP' environment variable to overrule this program.
   2928 if test "$cross_compiling" != no; then
   2929   if test -n "$ac_tool_prefix"; then
   2930   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2931 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2933 $as_echo_n "checking for $ac_word... " >&6; }
   2934 if ${ac_cv_prog_STRIP+:} false; then :
   2935   $as_echo_n "(cached) " >&6
   2936 else
   2937   if test -n "$STRIP"; then
   2938   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2939 else
   2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2941 for as_dir in $PATH
   2942 do
   2943   IFS=$as_save_IFS
   2944   test -z "$as_dir" && as_dir=.
   2945     for ac_exec_ext in '' $ac_executable_extensions; do
   2946   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2947     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2949     break 2
   2950   fi
   2951 done
   2952   done
   2953 IFS=$as_save_IFS
   2954 
   2955 fi
   2956 fi
   2957 STRIP=$ac_cv_prog_STRIP
   2958 if test -n "$STRIP"; then
   2959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2960 $as_echo "$STRIP" >&6; }
   2961 else
   2962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2963 $as_echo "no" >&6; }
   2964 fi
   2965 
   2966 
   2967 fi
   2968 if test -z "$ac_cv_prog_STRIP"; then
   2969   ac_ct_STRIP=$STRIP
   2970   # Extract the first word of "strip", so it can be a program name with args.
   2971 set dummy strip; ac_word=$2
   2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2973 $as_echo_n "checking for $ac_word... " >&6; }
   2974 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2975   $as_echo_n "(cached) " >&6
   2976 else
   2977   if test -n "$ac_ct_STRIP"; then
   2978   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2979 else
   2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2981 for as_dir in $PATH
   2982 do
   2983   IFS=$as_save_IFS
   2984   test -z "$as_dir" && as_dir=.
   2985     for ac_exec_ext in '' $ac_executable_extensions; do
   2986   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2987     ac_cv_prog_ac_ct_STRIP="strip"
   2988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2989     break 2
   2990   fi
   2991 done
   2992   done
   2993 IFS=$as_save_IFS
   2994 
   2995 fi
   2996 fi
   2997 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2998 if test -n "$ac_ct_STRIP"; then
   2999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3000 $as_echo "$ac_ct_STRIP" >&6; }
   3001 else
   3002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3003 $as_echo "no" >&6; }
   3004 fi
   3005 
   3006   if test "x$ac_ct_STRIP" = x; then
   3007     STRIP=":"
   3008   else
   3009     case $cross_compiling:$ac_tool_warned in
   3010 yes:)
   3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3013 ac_tool_warned=yes ;;
   3014 esac
   3015     STRIP=$ac_ct_STRIP
   3016   fi
   3017 else
   3018   STRIP="$ac_cv_prog_STRIP"
   3019 fi
   3020 
   3021 fi
   3022 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3023 
   3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3025 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3026 if test -z "$MKDIR_P"; then
   3027   if ${ac_cv_path_mkdir+:} false; then :
   3028   $as_echo_n "(cached) " >&6
   3029 else
   3030   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3031 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3032 do
   3033   IFS=$as_save_IFS
   3034   test -z "$as_dir" && as_dir=.
   3035     for ac_prog in mkdir gmkdir; do
   3036 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3037 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3038 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3039 	     'mkdir (GNU coreutils) '* | \
   3040 	     'mkdir (coreutils) '* | \
   3041 	     'mkdir (fileutils) '4.1*)
   3042 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3043 	       break 3;;
   3044 	   esac
   3045 	 done
   3046        done
   3047   done
   3048 IFS=$as_save_IFS
   3049 
   3050 fi
   3051 
   3052   test -d ./--version && rmdir ./--version
   3053   if test "${ac_cv_path_mkdir+set}" = set; then
   3054     MKDIR_P="$ac_cv_path_mkdir -p"
   3055   else
   3056     # As a last resort, use the slow shell script.  Don't cache a
   3057     # value for MKDIR_P within a source directory, because that will
   3058     # break other packages using the cache if that directory is
   3059     # removed, or if the value is a relative name.
   3060     MKDIR_P="$ac_install_sh -d"
   3061   fi
   3062 fi
   3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3064 $as_echo "$MKDIR_P" >&6; }
   3065 
   3066 for ac_prog in gawk mawk nawk awk
   3067 do
   3068   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3069 set dummy $ac_prog; ac_word=$2
   3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3071 $as_echo_n "checking for $ac_word... " >&6; }
   3072 if ${ac_cv_prog_AWK+:} false; then :
   3073   $as_echo_n "(cached) " >&6
   3074 else
   3075   if test -n "$AWK"; then
   3076   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3077 else
   3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3079 for as_dir in $PATH
   3080 do
   3081   IFS=$as_save_IFS
   3082   test -z "$as_dir" && as_dir=.
   3083     for ac_exec_ext in '' $ac_executable_extensions; do
   3084   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3085     ac_cv_prog_AWK="$ac_prog"
   3086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3087     break 2
   3088   fi
   3089 done
   3090   done
   3091 IFS=$as_save_IFS
   3092 
   3093 fi
   3094 fi
   3095 AWK=$ac_cv_prog_AWK
   3096 if test -n "$AWK"; then
   3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3098 $as_echo "$AWK" >&6; }
   3099 else
   3100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3101 $as_echo "no" >&6; }
   3102 fi
   3103 
   3104 
   3105   test -n "$AWK" && break
   3106 done
   3107 
   3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3109 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3110 set x ${MAKE-make}
   3111 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3112 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3113   $as_echo_n "(cached) " >&6
   3114 else
   3115   cat >conftest.make <<\_ACEOF
   3116 SHELL = /bin/sh
   3117 all:
   3118 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3119 _ACEOF
   3120 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3121 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3122   *@@@%%%=?*=@@@%%%*)
   3123     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3124   *)
   3125     eval ac_cv_prog_make_${ac_make}_set=no;;
   3126 esac
   3127 rm -f conftest.make
   3128 fi
   3129 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3131 $as_echo "yes" >&6; }
   3132   SET_MAKE=
   3133 else
   3134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3135 $as_echo "no" >&6; }
   3136   SET_MAKE="MAKE=${MAKE-make}"
   3137 fi
   3138 
   3139 rm -rf .tst 2>/dev/null
   3140 mkdir .tst 2>/dev/null
   3141 if test -d .tst; then
   3142   am__leading_dot=.
   3143 else
   3144   am__leading_dot=_
   3145 fi
   3146 rmdir .tst 2>/dev/null
   3147 
   3148 # Check whether --enable-silent-rules was given.
   3149 if test "${enable_silent_rules+set}" = set; then :
   3150   enableval=$enable_silent_rules;
   3151 fi
   3152 
   3153 case $enable_silent_rules in # (((
   3154   yes) AM_DEFAULT_VERBOSITY=0;;
   3155    no) AM_DEFAULT_VERBOSITY=1;;
   3156     *) AM_DEFAULT_VERBOSITY=1;;
   3157 esac
   3158 am_make=${MAKE-make}
   3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3160 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3161 if ${am_cv_make_support_nested_variables+:} false; then :
   3162   $as_echo_n "(cached) " >&6
   3163 else
   3164   if $as_echo 'TRUE=$(BAR$(V))
   3165 BAR0=false
   3166 BAR1=true
   3167 V=1
   3168 am__doit:
   3169 	@$(TRUE)
   3170 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3171   am_cv_make_support_nested_variables=yes
   3172 else
   3173   am_cv_make_support_nested_variables=no
   3174 fi
   3175 fi
   3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3177 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3178 if test $am_cv_make_support_nested_variables = yes; then
   3179     AM_V='$(V)'
   3180   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3181 else
   3182   AM_V=$AM_DEFAULT_VERBOSITY
   3183   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3184 fi
   3185 AM_BACKSLASH='\'
   3186 
   3187 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3188   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3189   # is not polluted with repeated "-I."
   3190   am__isrc=' -I$(srcdir)'
   3191   # test to see if srcdir already configured
   3192   if test -f $srcdir/config.status; then
   3193     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3194   fi
   3195 fi
   3196 
   3197 # test whether we have cygpath
   3198 if test -z "$CYGPATH_W"; then
   3199   if (cygpath --version) >/dev/null 2>/dev/null; then
   3200     CYGPATH_W='cygpath -w'
   3201   else
   3202     CYGPATH_W=echo
   3203   fi
   3204 fi
   3205 
   3206 
   3207 # Define the identity of the package.
   3208  PACKAGE='ld'
   3209  VERSION='2.45'
   3210 
   3211 
   3212 cat >>confdefs.h <<_ACEOF
   3213 #define PACKAGE "$PACKAGE"
   3214 _ACEOF
   3215 
   3216 
   3217 cat >>confdefs.h <<_ACEOF
   3218 #define VERSION "$VERSION"
   3219 _ACEOF
   3220 
   3221 # Some tools Automake needs.
   3222 
   3223 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3224 
   3225 
   3226 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3227 
   3228 
   3229 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3230 
   3231 
   3232 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3233 
   3234 
   3235 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3236 
   3237 # For better backward compatibility.  To be removed once Automake 1.9.x
   3238 # dies out for good.  For more background, see:
   3239 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3240 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3241 mkdir_p='$(MKDIR_P)'
   3242 
   3243 # We need awk for the "check" target (and possibly the TAP driver).  The
   3244 # system "awk" is bad on some platforms.
   3245 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3246 # in the wild :-(  We should find a proper way to deprecate it ...
   3247 AMTAR='$${TAR-tar}'
   3248 
   3249 
   3250 # We'll loop over all known methods to create a tar archive until one works.
   3251 _am_tools='gnutar  pax cpio none'
   3252 
   3253 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3254 
   3255 
   3256 
   3257 
   3258 
   3259 
   3260 # POSIX will say in a future version that running "rm -f" with no argument
   3261 # is OK; and we want to be able to make that assumption in our Makefile
   3262 # recipes.  So use an aggressive probe to check that the usage we want is
   3263 # actually supported "in the wild" to an acceptable degree.
   3264 # See automake bug#10828.
   3265 # To make any issue more visible, cause the running configure to be aborted
   3266 # by default if the 'rm' program in use doesn't match our expectations; the
   3267 # user can still override this though.
   3268 if rm -f && rm -fr && rm -rf; then : OK; else
   3269   cat >&2 <<'END'
   3270 Oops!
   3271 
   3272 Your 'rm' program seems unable to run without file operands specified
   3273 on the command line, even when the '-f' option is present.  This is contrary
   3274 to the behaviour of most rm programs out there, and not conforming with
   3275 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3276 
   3277 Please tell bug-automake@gnu.org about your system, including the value
   3278 of your $PATH and any error possibly output before this message.  This
   3279 can help us improve future automake versions.
   3280 
   3281 END
   3282   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3283     echo 'Configuration will proceed anyway, since you have set the' >&2
   3284     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3285     echo >&2
   3286   else
   3287     cat >&2 <<'END'
   3288 Aborting the configuration process, to ensure you take notice of the issue.
   3289 
   3290 You can download and install GNU coreutils to get an 'rm' implementation
   3291 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3292 
   3293 If you want to complete the configuration process using your problematic
   3294 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3295 to "yes", and re-run configure.
   3296 
   3297 END
   3298     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3299   fi
   3300 fi
   3301 
   3302 # Check whether --enable-silent-rules was given.
   3303 if test "${enable_silent_rules+set}" = set; then :
   3304   enableval=$enable_silent_rules;
   3305 fi
   3306 
   3307 case $enable_silent_rules in # (((
   3308   yes) AM_DEFAULT_VERBOSITY=0;;
   3309    no) AM_DEFAULT_VERBOSITY=1;;
   3310     *) AM_DEFAULT_VERBOSITY=0;;
   3311 esac
   3312 am_make=${MAKE-make}
   3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3314 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3315 if ${am_cv_make_support_nested_variables+:} false; then :
   3316   $as_echo_n "(cached) " >&6
   3317 else
   3318   if $as_echo 'TRUE=$(BAR$(V))
   3319 BAR0=false
   3320 BAR1=true
   3321 V=1
   3322 am__doit:
   3323 	@$(TRUE)
   3324 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3325   am_cv_make_support_nested_variables=yes
   3326 else
   3327   am_cv_make_support_nested_variables=no
   3328 fi
   3329 fi
   3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3331 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3332 if test $am_cv_make_support_nested_variables = yes; then
   3333     AM_V='$(V)'
   3334   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3335 else
   3336   AM_V=$AM_DEFAULT_VERBOSITY
   3337   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3338 fi
   3339 AM_BACKSLASH='\'
   3340 
   3341 
   3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3343 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3344     # Check whether --enable-maintainer-mode was given.
   3345 if test "${enable_maintainer_mode+set}" = set; then :
   3346   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3347 else
   3348   USE_MAINTAINER_MODE=no
   3349 fi
   3350 
   3351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3352 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   3353    if test $USE_MAINTAINER_MODE = yes; then
   3354   MAINTAINER_MODE_TRUE=
   3355   MAINTAINER_MODE_FALSE='#'
   3356 else
   3357   MAINTAINER_MODE_TRUE='#'
   3358   MAINTAINER_MODE_FALSE=
   3359 fi
   3360 
   3361   MAINT=$MAINTAINER_MODE_TRUE
   3362 
   3363 
   3364 
   3365 case $target in
   3366   *-*-solaris2*)
   3367     case "$SHELL" in
   3368       *bash*)
   3369         ;;
   3370       *)
   3371         # PR 32580: Force use of bash to avoid corrupt linker scripts.
   3372         SHELL=/bin/bash
   3373         ;;
   3374     esac
   3375     ;;
   3376 esac
   3377 
   3378 ac_ext=c
   3379 ac_cpp='$CPP $CPPFLAGS'
   3380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3383 if test -n "$ac_tool_prefix"; then
   3384   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3385 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3387 $as_echo_n "checking for $ac_word... " >&6; }
   3388 if ${ac_cv_prog_CC+:} false; then :
   3389   $as_echo_n "(cached) " >&6
   3390 else
   3391   if test -n "$CC"; then
   3392   ac_cv_prog_CC="$CC" # Let the user override the test.
   3393 else
   3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3395 for as_dir in $PATH
   3396 do
   3397   IFS=$as_save_IFS
   3398   test -z "$as_dir" && as_dir=.
   3399     for ac_exec_ext in '' $ac_executable_extensions; do
   3400   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3401     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3403     break 2
   3404   fi
   3405 done
   3406   done
   3407 IFS=$as_save_IFS
   3408 
   3409 fi
   3410 fi
   3411 CC=$ac_cv_prog_CC
   3412 if test -n "$CC"; then
   3413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3414 $as_echo "$CC" >&6; }
   3415 else
   3416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3417 $as_echo "no" >&6; }
   3418 fi
   3419 
   3420 
   3421 fi
   3422 if test -z "$ac_cv_prog_CC"; then
   3423   ac_ct_CC=$CC
   3424   # Extract the first word of "gcc", so it can be a program name with args.
   3425 set dummy gcc; ac_word=$2
   3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3427 $as_echo_n "checking for $ac_word... " >&6; }
   3428 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3429   $as_echo_n "(cached) " >&6
   3430 else
   3431   if test -n "$ac_ct_CC"; then
   3432   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3433 else
   3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3435 for as_dir in $PATH
   3436 do
   3437   IFS=$as_save_IFS
   3438   test -z "$as_dir" && as_dir=.
   3439     for ac_exec_ext in '' $ac_executable_extensions; do
   3440   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3441     ac_cv_prog_ac_ct_CC="gcc"
   3442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3443     break 2
   3444   fi
   3445 done
   3446   done
   3447 IFS=$as_save_IFS
   3448 
   3449 fi
   3450 fi
   3451 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3452 if test -n "$ac_ct_CC"; then
   3453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3454 $as_echo "$ac_ct_CC" >&6; }
   3455 else
   3456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3457 $as_echo "no" >&6; }
   3458 fi
   3459 
   3460   if test "x$ac_ct_CC" = x; then
   3461     CC=""
   3462   else
   3463     case $cross_compiling:$ac_tool_warned in
   3464 yes:)
   3465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3467 ac_tool_warned=yes ;;
   3468 esac
   3469     CC=$ac_ct_CC
   3470   fi
   3471 else
   3472   CC="$ac_cv_prog_CC"
   3473 fi
   3474 
   3475 if test -z "$CC"; then
   3476           if test -n "$ac_tool_prefix"; then
   3477     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3478 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3480 $as_echo_n "checking for $ac_word... " >&6; }
   3481 if ${ac_cv_prog_CC+:} false; then :
   3482   $as_echo_n "(cached) " >&6
   3483 else
   3484   if test -n "$CC"; then
   3485   ac_cv_prog_CC="$CC" # Let the user override the test.
   3486 else
   3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3488 for as_dir in $PATH
   3489 do
   3490   IFS=$as_save_IFS
   3491   test -z "$as_dir" && as_dir=.
   3492     for ac_exec_ext in '' $ac_executable_extensions; do
   3493   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3494     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3496     break 2
   3497   fi
   3498 done
   3499   done
   3500 IFS=$as_save_IFS
   3501 
   3502 fi
   3503 fi
   3504 CC=$ac_cv_prog_CC
   3505 if test -n "$CC"; then
   3506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3507 $as_echo "$CC" >&6; }
   3508 else
   3509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3510 $as_echo "no" >&6; }
   3511 fi
   3512 
   3513 
   3514   fi
   3515 fi
   3516 if test -z "$CC"; then
   3517   # Extract the first word of "cc", so it can be a program name with args.
   3518 set dummy cc; ac_word=$2
   3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3520 $as_echo_n "checking for $ac_word... " >&6; }
   3521 if ${ac_cv_prog_CC+:} false; then :
   3522   $as_echo_n "(cached) " >&6
   3523 else
   3524   if test -n "$CC"; then
   3525   ac_cv_prog_CC="$CC" # Let the user override the test.
   3526 else
   3527   ac_prog_rejected=no
   3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3529 for as_dir in $PATH
   3530 do
   3531   IFS=$as_save_IFS
   3532   test -z "$as_dir" && as_dir=.
   3533     for ac_exec_ext in '' $ac_executable_extensions; do
   3534   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3535     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3536        ac_prog_rejected=yes
   3537        continue
   3538      fi
   3539     ac_cv_prog_CC="cc"
   3540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3541     break 2
   3542   fi
   3543 done
   3544   done
   3545 IFS=$as_save_IFS
   3546 
   3547 if test $ac_prog_rejected = yes; then
   3548   # We found a bogon in the path, so make sure we never use it.
   3549   set dummy $ac_cv_prog_CC
   3550   shift
   3551   if test $# != 0; then
   3552     # We chose a different compiler from the bogus one.
   3553     # However, it has the same basename, so the bogon will be chosen
   3554     # first if we set CC to just the basename; use the full file name.
   3555     shift
   3556     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3557   fi
   3558 fi
   3559 fi
   3560 fi
   3561 CC=$ac_cv_prog_CC
   3562 if test -n "$CC"; then
   3563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3564 $as_echo "$CC" >&6; }
   3565 else
   3566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3567 $as_echo "no" >&6; }
   3568 fi
   3569 
   3570 
   3571 fi
   3572 if test -z "$CC"; then
   3573   if test -n "$ac_tool_prefix"; then
   3574   for ac_prog in cl.exe
   3575   do
   3576     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3579 $as_echo_n "checking for $ac_word... " >&6; }
   3580 if ${ac_cv_prog_CC+:} false; then :
   3581   $as_echo_n "(cached) " >&6
   3582 else
   3583   if test -n "$CC"; then
   3584   ac_cv_prog_CC="$CC" # Let the user override the test.
   3585 else
   3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3587 for as_dir in $PATH
   3588 do
   3589   IFS=$as_save_IFS
   3590   test -z "$as_dir" && as_dir=.
   3591     for ac_exec_ext in '' $ac_executable_extensions; do
   3592   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3593     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3595     break 2
   3596   fi
   3597 done
   3598   done
   3599 IFS=$as_save_IFS
   3600 
   3601 fi
   3602 fi
   3603 CC=$ac_cv_prog_CC
   3604 if test -n "$CC"; then
   3605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3606 $as_echo "$CC" >&6; }
   3607 else
   3608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3609 $as_echo "no" >&6; }
   3610 fi
   3611 
   3612 
   3613     test -n "$CC" && break
   3614   done
   3615 fi
   3616 if test -z "$CC"; then
   3617   ac_ct_CC=$CC
   3618   for ac_prog in cl.exe
   3619 do
   3620   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3621 set dummy $ac_prog; ac_word=$2
   3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3623 $as_echo_n "checking for $ac_word... " >&6; }
   3624 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3625   $as_echo_n "(cached) " >&6
   3626 else
   3627   if test -n "$ac_ct_CC"; then
   3628   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3629 else
   3630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3631 for as_dir in $PATH
   3632 do
   3633   IFS=$as_save_IFS
   3634   test -z "$as_dir" && as_dir=.
   3635     for ac_exec_ext in '' $ac_executable_extensions; do
   3636   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3637     ac_cv_prog_ac_ct_CC="$ac_prog"
   3638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3639     break 2
   3640   fi
   3641 done
   3642   done
   3643 IFS=$as_save_IFS
   3644 
   3645 fi
   3646 fi
   3647 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3648 if test -n "$ac_ct_CC"; then
   3649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3650 $as_echo "$ac_ct_CC" >&6; }
   3651 else
   3652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3653 $as_echo "no" >&6; }
   3654 fi
   3655 
   3656 
   3657   test -n "$ac_ct_CC" && break
   3658 done
   3659 
   3660   if test "x$ac_ct_CC" = x; then
   3661     CC=""
   3662   else
   3663     case $cross_compiling:$ac_tool_warned in
   3664 yes:)
   3665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3667 ac_tool_warned=yes ;;
   3668 esac
   3669     CC=$ac_ct_CC
   3670   fi
   3671 fi
   3672 
   3673 fi
   3674 
   3675 
   3676 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3678 as_fn_error $? "no acceptable C compiler found in \$PATH
   3679 See \`config.log' for more details" "$LINENO" 5; }
   3680 
   3681 # Provide some information about the compiler.
   3682 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3683 set X $ac_compile
   3684 ac_compiler=$2
   3685 for ac_option in --version -v -V -qversion; do
   3686   { { ac_try="$ac_compiler $ac_option >&5"
   3687 case "(($ac_try" in
   3688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3689   *) ac_try_echo=$ac_try;;
   3690 esac
   3691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3692 $as_echo "$ac_try_echo"; } >&5
   3693   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3694   ac_status=$?
   3695   if test -s conftest.err; then
   3696     sed '10a\
   3697 ... rest of stderr output deleted ...
   3698          10q' conftest.err >conftest.er1
   3699     cat conftest.er1 >&5
   3700   fi
   3701   rm -f conftest.er1 conftest.err
   3702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3703   test $ac_status = 0; }
   3704 done
   3705 
   3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3707 /* end confdefs.h.  */
   3708 
   3709 int
   3710 main ()
   3711 {
   3712 
   3713   ;
   3714   return 0;
   3715 }
   3716 _ACEOF
   3717 ac_clean_files_save=$ac_clean_files
   3718 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3719 # Try to create an executable without -o first, disregard a.out.
   3720 # It will help us diagnose broken compilers, and finding out an intuition
   3721 # of exeext.
   3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3723 $as_echo_n "checking whether the C compiler works... " >&6; }
   3724 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3725 
   3726 # The possible output files:
   3727 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3728 
   3729 ac_rmfiles=
   3730 for ac_file in $ac_files
   3731 do
   3732   case $ac_file in
   3733     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3734     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3735   esac
   3736 done
   3737 rm -f $ac_rmfiles
   3738 
   3739 if { { ac_try="$ac_link_default"
   3740 case "(($ac_try" in
   3741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3742   *) ac_try_echo=$ac_try;;
   3743 esac
   3744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3745 $as_echo "$ac_try_echo"; } >&5
   3746   (eval "$ac_link_default") 2>&5
   3747   ac_status=$?
   3748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3749   test $ac_status = 0; }; then :
   3750   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3751 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3752 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3753 # so that the user can short-circuit this test for compilers unknown to
   3754 # Autoconf.
   3755 for ac_file in $ac_files ''
   3756 do
   3757   test -f "$ac_file" || continue
   3758   case $ac_file in
   3759     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3760 	;;
   3761     [ab].out )
   3762 	# We found the default executable, but exeext='' is most
   3763 	# certainly right.
   3764 	break;;
   3765     *.* )
   3766 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3767 	then :; else
   3768 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3769 	fi
   3770 	# We set ac_cv_exeext here because the later test for it is not
   3771 	# safe: cross compilers may not add the suffix if given an `-o'
   3772 	# argument, so we may need to know it at that point already.
   3773 	# Even if this section looks crufty: it has the advantage of
   3774 	# actually working.
   3775 	break;;
   3776     * )
   3777 	break;;
   3778   esac
   3779 done
   3780 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3781 
   3782 else
   3783   ac_file=''
   3784 fi
   3785 if test -z "$ac_file"; then :
   3786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3787 $as_echo "no" >&6; }
   3788 $as_echo "$as_me: failed program was:" >&5
   3789 sed 's/^/| /' conftest.$ac_ext >&5
   3790 
   3791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3793 as_fn_error 77 "C compiler cannot create executables
   3794 See \`config.log' for more details" "$LINENO" 5; }
   3795 else
   3796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3797 $as_echo "yes" >&6; }
   3798 fi
   3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3800 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3802 $as_echo "$ac_file" >&6; }
   3803 ac_exeext=$ac_cv_exeext
   3804 
   3805 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3806 ac_clean_files=$ac_clean_files_save
   3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3808 $as_echo_n "checking for suffix of executables... " >&6; }
   3809 if { { ac_try="$ac_link"
   3810 case "(($ac_try" in
   3811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3812   *) ac_try_echo=$ac_try;;
   3813 esac
   3814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3815 $as_echo "$ac_try_echo"; } >&5
   3816   (eval "$ac_link") 2>&5
   3817   ac_status=$?
   3818   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3819   test $ac_status = 0; }; then :
   3820   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3821 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3822 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3823 # `rm'.
   3824 for ac_file in conftest.exe conftest conftest.*; do
   3825   test -f "$ac_file" || continue
   3826   case $ac_file in
   3827     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3828     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3829 	  break;;
   3830     * ) break;;
   3831   esac
   3832 done
   3833 else
   3834   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3836 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3837 See \`config.log' for more details" "$LINENO" 5; }
   3838 fi
   3839 rm -f conftest conftest$ac_cv_exeext
   3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3841 $as_echo "$ac_cv_exeext" >&6; }
   3842 
   3843 rm -f conftest.$ac_ext
   3844 EXEEXT=$ac_cv_exeext
   3845 ac_exeext=$EXEEXT
   3846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3847 /* end confdefs.h.  */
   3848 #include <stdio.h>
   3849 int
   3850 main ()
   3851 {
   3852 FILE *f = fopen ("conftest.out", "w");
   3853  return ferror (f) || fclose (f) != 0;
   3854 
   3855   ;
   3856   return 0;
   3857 }
   3858 _ACEOF
   3859 ac_clean_files="$ac_clean_files conftest.out"
   3860 # Check that the compiler produces executables we can run.  If not, either
   3861 # the compiler is broken, or we cross compile.
   3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3863 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3864 if test "$cross_compiling" != yes; then
   3865   { { ac_try="$ac_link"
   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") 2>&5
   3873   ac_status=$?
   3874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3875   test $ac_status = 0; }
   3876   if { ac_try='./conftest$ac_cv_exeext'
   3877   { { case "(($ac_try" in
   3878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3879   *) ac_try_echo=$ac_try;;
   3880 esac
   3881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3882 $as_echo "$ac_try_echo"; } >&5
   3883   (eval "$ac_try") 2>&5
   3884   ac_status=$?
   3885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3886   test $ac_status = 0; }; }; then
   3887     cross_compiling=no
   3888   else
   3889     if test "$cross_compiling" = maybe; then
   3890 	cross_compiling=yes
   3891     else
   3892 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3894 as_fn_error $? "cannot run C compiled programs.
   3895 If you meant to cross compile, use \`--host'.
   3896 See \`config.log' for more details" "$LINENO" 5; }
   3897     fi
   3898   fi
   3899 fi
   3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3901 $as_echo "$cross_compiling" >&6; }
   3902 
   3903 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3904 ac_clean_files=$ac_clean_files_save
   3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3906 $as_echo_n "checking for suffix of object files... " >&6; }
   3907 if ${ac_cv_objext+:} false; then :
   3908   $as_echo_n "(cached) " >&6
   3909 else
   3910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3911 /* end confdefs.h.  */
   3912 
   3913 int
   3914 main ()
   3915 {
   3916 
   3917   ;
   3918   return 0;
   3919 }
   3920 _ACEOF
   3921 rm -f conftest.o conftest.obj
   3922 if { { ac_try="$ac_compile"
   3923 case "(($ac_try" in
   3924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3925   *) ac_try_echo=$ac_try;;
   3926 esac
   3927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3928 $as_echo "$ac_try_echo"; } >&5
   3929   (eval "$ac_compile") 2>&5
   3930   ac_status=$?
   3931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3932   test $ac_status = 0; }; then :
   3933   for ac_file in conftest.o conftest.obj conftest.*; do
   3934   test -f "$ac_file" || continue;
   3935   case $ac_file in
   3936     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3937     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3938        break;;
   3939   esac
   3940 done
   3941 else
   3942   $as_echo "$as_me: failed program was:" >&5
   3943 sed 's/^/| /' conftest.$ac_ext >&5
   3944 
   3945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3947 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3948 See \`config.log' for more details" "$LINENO" 5; }
   3949 fi
   3950 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3951 fi
   3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3953 $as_echo "$ac_cv_objext" >&6; }
   3954 OBJEXT=$ac_cv_objext
   3955 ac_objext=$OBJEXT
   3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3957 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3958 if ${ac_cv_c_compiler_gnu+:} false; then :
   3959   $as_echo_n "(cached) " >&6
   3960 else
   3961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3962 /* end confdefs.h.  */
   3963 
   3964 int
   3965 main ()
   3966 {
   3967 #ifndef __GNUC__
   3968        choke me
   3969 #endif
   3970 
   3971   ;
   3972   return 0;
   3973 }
   3974 _ACEOF
   3975 if ac_fn_c_try_compile "$LINENO"; then :
   3976   ac_compiler_gnu=yes
   3977 else
   3978   ac_compiler_gnu=no
   3979 fi
   3980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3981 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3982 
   3983 fi
   3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3985 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3986 if test $ac_compiler_gnu = yes; then
   3987   GCC=yes
   3988 else
   3989   GCC=
   3990 fi
   3991 ac_test_CFLAGS=${CFLAGS+set}
   3992 ac_save_CFLAGS=$CFLAGS
   3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3994 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3995 if ${ac_cv_prog_cc_g+:} false; then :
   3996   $as_echo_n "(cached) " >&6
   3997 else
   3998   ac_save_c_werror_flag=$ac_c_werror_flag
   3999    ac_c_werror_flag=yes
   4000    ac_cv_prog_cc_g=no
   4001    CFLAGS="-g"
   4002    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4003 /* end confdefs.h.  */
   4004 
   4005 int
   4006 main ()
   4007 {
   4008 
   4009   ;
   4010   return 0;
   4011 }
   4012 _ACEOF
   4013 if ac_fn_c_try_compile "$LINENO"; then :
   4014   ac_cv_prog_cc_g=yes
   4015 else
   4016   CFLAGS=""
   4017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4018 /* end confdefs.h.  */
   4019 
   4020 int
   4021 main ()
   4022 {
   4023 
   4024   ;
   4025   return 0;
   4026 }
   4027 _ACEOF
   4028 if ac_fn_c_try_compile "$LINENO"; then :
   4029 
   4030 else
   4031   ac_c_werror_flag=$ac_save_c_werror_flag
   4032 	 CFLAGS="-g"
   4033 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4034 /* end confdefs.h.  */
   4035 
   4036 int
   4037 main ()
   4038 {
   4039 
   4040   ;
   4041   return 0;
   4042 }
   4043 _ACEOF
   4044 if ac_fn_c_try_compile "$LINENO"; then :
   4045   ac_cv_prog_cc_g=yes
   4046 fi
   4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4048 fi
   4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4050 fi
   4051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4052    ac_c_werror_flag=$ac_save_c_werror_flag
   4053 fi
   4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4055 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4056 if test "$ac_test_CFLAGS" = set; then
   4057   CFLAGS=$ac_save_CFLAGS
   4058 elif test $ac_cv_prog_cc_g = yes; then
   4059   if test "$GCC" = yes; then
   4060     CFLAGS="-g -O2"
   4061   else
   4062     CFLAGS="-g"
   4063   fi
   4064 else
   4065   if test "$GCC" = yes; then
   4066     CFLAGS="-O2"
   4067   else
   4068     CFLAGS=
   4069   fi
   4070 fi
   4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4072 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4073 if ${ac_cv_prog_cc_c89+:} false; then :
   4074   $as_echo_n "(cached) " >&6
   4075 else
   4076   ac_cv_prog_cc_c89=no
   4077 ac_save_CC=$CC
   4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4079 /* end confdefs.h.  */
   4080 #include <stdarg.h>
   4081 #include <stdio.h>
   4082 struct stat;
   4083 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4084 struct buf { int x; };
   4085 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4086 static char *e (p, i)
   4087      char **p;
   4088      int i;
   4089 {
   4090   return p[i];
   4091 }
   4092 static char *f (char * (*g) (char **, int), char **p, ...)
   4093 {
   4094   char *s;
   4095   va_list v;
   4096   va_start (v,p);
   4097   s = g (p, va_arg (v,int));
   4098   va_end (v);
   4099   return s;
   4100 }
   4101 
   4102 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4103    function prototypes and stuff, but not '\xHH' hex character constants.
   4104    These don't provoke an error unfortunately, instead are silently treated
   4105    as 'x'.  The following induces an error, until -std is added to get
   4106    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4107    array size at least.  It's necessary to write '\x00'==0 to get something
   4108    that's true only with -std.  */
   4109 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4110 
   4111 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4112    inside strings and character constants.  */
   4113 #define FOO(x) 'x'
   4114 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4115 
   4116 int test (int i, double x);
   4117 struct s1 {int (*f) (int a);};
   4118 struct s2 {int (*f) (double a);};
   4119 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4120 int argc;
   4121 char **argv;
   4122 int
   4123 main ()
   4124 {
   4125 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4126   ;
   4127   return 0;
   4128 }
   4129 _ACEOF
   4130 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4131 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4132 do
   4133   CC="$ac_save_CC $ac_arg"
   4134   if ac_fn_c_try_compile "$LINENO"; then :
   4135   ac_cv_prog_cc_c89=$ac_arg
   4136 fi
   4137 rm -f core conftest.err conftest.$ac_objext
   4138   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4139 done
   4140 rm -f conftest.$ac_ext
   4141 CC=$ac_save_CC
   4142 
   4143 fi
   4144 # AC_CACHE_VAL
   4145 case "x$ac_cv_prog_cc_c89" in
   4146   x)
   4147     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4148 $as_echo "none needed" >&6; } ;;
   4149   xno)
   4150     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4151 $as_echo "unsupported" >&6; } ;;
   4152   *)
   4153     CC="$CC $ac_cv_prog_cc_c89"
   4154     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4155 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4156 esac
   4157 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4158 
   4159 fi
   4160 
   4161 ac_ext=c
   4162 ac_cpp='$CPP $CPPFLAGS'
   4163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4166 
   4167 ac_ext=c
   4168 ac_cpp='$CPP $CPPFLAGS'
   4169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4173 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4174 if ${am_cv_prog_cc_c_o+:} false; then :
   4175   $as_echo_n "(cached) " >&6
   4176 else
   4177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4178 /* end confdefs.h.  */
   4179 
   4180 int
   4181 main ()
   4182 {
   4183 
   4184   ;
   4185   return 0;
   4186 }
   4187 _ACEOF
   4188   # Make sure it works both with $CC and with simple cc.
   4189   # Following AC_PROG_CC_C_O, we do the test twice because some
   4190   # compilers refuse to overwrite an existing .o file with -o,
   4191   # though they will create one.
   4192   am_cv_prog_cc_c_o=yes
   4193   for am_i in 1 2; do
   4194     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4195    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4196    ac_status=$?
   4197    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4198    (exit $ac_status); } \
   4199          && test -f conftest2.$ac_objext; then
   4200       : OK
   4201     else
   4202       am_cv_prog_cc_c_o=no
   4203       break
   4204     fi
   4205   done
   4206   rm -f core conftest*
   4207   unset am_i
   4208 fi
   4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4210 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4211 if test "$am_cv_prog_cc_c_o" != yes; then
   4212    # Losing compiler, so override with the script.
   4213    # FIXME: It is wrong to rewrite CC.
   4214    # But if we don't then we get into trouble of one sort or another.
   4215    # A longer-term fix would be to have automake use am__CC in this case,
   4216    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4217    CC="$am_aux_dir/compile $CC"
   4218 fi
   4219 ac_ext=c
   4220 ac_cpp='$CPP $CPPFLAGS'
   4221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4224 
   4225 DEPDIR="${am__leading_dot}deps"
   4226 
   4227 ac_config_commands="$ac_config_commands depfiles"
   4228 
   4229 
   4230 am_make=${MAKE-make}
   4231 cat > confinc << 'END'
   4232 am__doit:
   4233 	@echo this is the am__doit target
   4234 .PHONY: am__doit
   4235 END
   4236 # If we don't find an include directive, just comment out the code.
   4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4238 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4239 am__include="#"
   4240 am__quote=
   4241 _am_result=none
   4242 # First try GNU make style include.
   4243 echo "include confinc" > confmf
   4244 # Ignore all kinds of additional output from 'make'.
   4245 case `$am_make -s -f confmf 2> /dev/null` in #(
   4246 *the\ am__doit\ target*)
   4247   am__include=include
   4248   am__quote=
   4249   _am_result=GNU
   4250   ;;
   4251 esac
   4252 # Now try BSD make style include.
   4253 if test "$am__include" = "#"; then
   4254    echo '.include "confinc"' > confmf
   4255    case `$am_make -s -f confmf 2> /dev/null` in #(
   4256    *the\ am__doit\ target*)
   4257      am__include=.include
   4258      am__quote="\""
   4259      _am_result=BSD
   4260      ;;
   4261    esac
   4262 fi
   4263 
   4264 
   4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4266 $as_echo "$_am_result" >&6; }
   4267 rm -f confinc confmf
   4268 
   4269 # Check whether --enable-dependency-tracking was given.
   4270 if test "${enable_dependency_tracking+set}" = set; then :
   4271   enableval=$enable_dependency_tracking;
   4272 fi
   4273 
   4274 if test "x$enable_dependency_tracking" != xno; then
   4275   am_depcomp="$ac_aux_dir/depcomp"
   4276   AMDEPBACKSLASH='\'
   4277   am__nodep='_no'
   4278 fi
   4279  if test "x$enable_dependency_tracking" != xno; then
   4280   AMDEP_TRUE=
   4281   AMDEP_FALSE='#'
   4282 else
   4283   AMDEP_TRUE='#'
   4284   AMDEP_FALSE=
   4285 fi
   4286 
   4287 
   4288 
   4289 depcc="$CC"   am_compiler_list=
   4290 
   4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4292 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4293 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4294   $as_echo_n "(cached) " >&6
   4295 else
   4296   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4297   # We make a subdir and do the tests there.  Otherwise we can end up
   4298   # making bogus files that we don't know about and never remove.  For
   4299   # instance it was reported that on HP-UX the gcc test will end up
   4300   # making a dummy file named 'D' -- because '-MD' means "put the output
   4301   # in D".
   4302   rm -rf conftest.dir
   4303   mkdir conftest.dir
   4304   # Copy depcomp to subdir because otherwise we won't find it if we're
   4305   # using a relative directory.
   4306   cp "$am_depcomp" conftest.dir
   4307   cd conftest.dir
   4308   # We will build objects and dependencies in a subdirectory because
   4309   # it helps to detect inapplicable dependency modes.  For instance
   4310   # both Tru64's cc and ICC support -MD to output dependencies as a
   4311   # side effect of compilation, but ICC will put the dependencies in
   4312   # the current directory while Tru64 will put them in the object
   4313   # directory.
   4314   mkdir sub
   4315 
   4316   am_cv_CC_dependencies_compiler_type=none
   4317   if test "$am_compiler_list" = ""; then
   4318      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4319   fi
   4320   am__universal=false
   4321   case " $depcc " in #(
   4322      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4323      esac
   4324 
   4325   for depmode in $am_compiler_list; do
   4326     # Setup a source with many dependencies, because some compilers
   4327     # like to wrap large dependency lists on column 80 (with \), and
   4328     # we should not choose a depcomp mode which is confused by this.
   4329     #
   4330     # We need to recreate these files for each test, as the compiler may
   4331     # overwrite some of them when testing with obscure command lines.
   4332     # This happens at least with the AIX C compiler.
   4333     : > sub/conftest.c
   4334     for i in 1 2 3 4 5 6; do
   4335       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4336       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4337       # Solaris 10 /bin/sh.
   4338       echo '/* dummy */' > sub/conftst$i.h
   4339     done
   4340     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4341 
   4342     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4343     # mode.  It turns out that the SunPro C++ compiler does not properly
   4344     # handle '-M -o', and we need to detect this.  Also, some Intel
   4345     # versions had trouble with output in subdirs.
   4346     am__obj=sub/conftest.${OBJEXT-o}
   4347     am__minus_obj="-o $am__obj"
   4348     case $depmode in
   4349     gcc)
   4350       # This depmode causes a compiler race in universal mode.
   4351       test "$am__universal" = false || continue
   4352       ;;
   4353     nosideeffect)
   4354       # After this tag, mechanisms are not by side-effect, so they'll
   4355       # only be used when explicitly requested.
   4356       if test "x$enable_dependency_tracking" = xyes; then
   4357 	continue
   4358       else
   4359 	break
   4360       fi
   4361       ;;
   4362     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4363       # This compiler won't grok '-c -o', but also, the minuso test has
   4364       # not run yet.  These depmodes are late enough in the game, and
   4365       # so weak that their functioning should not be impacted.
   4366       am__obj=conftest.${OBJEXT-o}
   4367       am__minus_obj=
   4368       ;;
   4369     none) break ;;
   4370     esac
   4371     if depmode=$depmode \
   4372        source=sub/conftest.c object=$am__obj \
   4373        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4374        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4375          >/dev/null 2>conftest.err &&
   4376        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4377        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4378        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4379        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4380       # icc doesn't choke on unknown options, it will just issue warnings
   4381       # or remarks (even with -Werror).  So we grep stderr for any message
   4382       # that says an option was ignored or not supported.
   4383       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4384       #   icc: Command line warning: ignoring option '-M'; no argument required
   4385       # The diagnosis changed in icc 8.0:
   4386       #   icc: Command line remark: option '-MP' not supported
   4387       if (grep 'ignoring option' conftest.err ||
   4388           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4389         am_cv_CC_dependencies_compiler_type=$depmode
   4390         break
   4391       fi
   4392     fi
   4393   done
   4394 
   4395   cd ..
   4396   rm -rf conftest.dir
   4397 else
   4398   am_cv_CC_dependencies_compiler_type=none
   4399 fi
   4400 
   4401 fi
   4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4403 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4404 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4405 
   4406  if
   4407   test "x$enable_dependency_tracking" != xno \
   4408   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4409   am__fastdepCC_TRUE=
   4410   am__fastdepCC_FALSE='#'
   4411 else
   4412   am__fastdepCC_TRUE='#'
   4413   am__fastdepCC_FALSE=
   4414 fi
   4415 
   4416 
   4417 ac_ext=cpp
   4418 ac_cpp='$CXXCPP $CPPFLAGS'
   4419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4422 if test -z "$CXX"; then
   4423   if test -n "$CCC"; then
   4424     CXX=$CCC
   4425   else
   4426     if test -n "$ac_tool_prefix"; then
   4427   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   4428   do
   4429     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4430 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4432 $as_echo_n "checking for $ac_word... " >&6; }
   4433 if ${ac_cv_prog_CXX+:} false; then :
   4434   $as_echo_n "(cached) " >&6
   4435 else
   4436   if test -n "$CXX"; then
   4437   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   4438 else
   4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4440 for as_dir in $PATH
   4441 do
   4442   IFS=$as_save_IFS
   4443   test -z "$as_dir" && as_dir=.
   4444     for ac_exec_ext in '' $ac_executable_extensions; do
   4445   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4446     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   4447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4448     break 2
   4449   fi
   4450 done
   4451   done
   4452 IFS=$as_save_IFS
   4453 
   4454 fi
   4455 fi
   4456 CXX=$ac_cv_prog_CXX
   4457 if test -n "$CXX"; then
   4458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   4459 $as_echo "$CXX" >&6; }
   4460 else
   4461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4462 $as_echo "no" >&6; }
   4463 fi
   4464 
   4465 
   4466     test -n "$CXX" && break
   4467   done
   4468 fi
   4469 if test -z "$CXX"; then
   4470   ac_ct_CXX=$CXX
   4471   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   4472 do
   4473   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4474 set dummy $ac_prog; ac_word=$2
   4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4476 $as_echo_n "checking for $ac_word... " >&6; }
   4477 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   4478   $as_echo_n "(cached) " >&6
   4479 else
   4480   if test -n "$ac_ct_CXX"; then
   4481   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   4482 else
   4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4484 for as_dir in $PATH
   4485 do
   4486   IFS=$as_save_IFS
   4487   test -z "$as_dir" && as_dir=.
   4488     for ac_exec_ext in '' $ac_executable_extensions; do
   4489   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4490     ac_cv_prog_ac_ct_CXX="$ac_prog"
   4491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4492     break 2
   4493   fi
   4494 done
   4495   done
   4496 IFS=$as_save_IFS
   4497 
   4498 fi
   4499 fi
   4500 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   4501 if test -n "$ac_ct_CXX"; then
   4502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   4503 $as_echo "$ac_ct_CXX" >&6; }
   4504 else
   4505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4506 $as_echo "no" >&6; }
   4507 fi
   4508 
   4509 
   4510   test -n "$ac_ct_CXX" && break
   4511 done
   4512 
   4513   if test "x$ac_ct_CXX" = x; then
   4514     CXX="g++"
   4515   else
   4516     case $cross_compiling:$ac_tool_warned in
   4517 yes:)
   4518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4520 ac_tool_warned=yes ;;
   4521 esac
   4522     CXX=$ac_ct_CXX
   4523   fi
   4524 fi
   4525 
   4526   fi
   4527 fi
   4528 # Provide some information about the compiler.
   4529 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   4530 set X $ac_compile
   4531 ac_compiler=$2
   4532 for ac_option in --version -v -V -qversion; do
   4533   { { ac_try="$ac_compiler $ac_option >&5"
   4534 case "(($ac_try" in
   4535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4536   *) ac_try_echo=$ac_try;;
   4537 esac
   4538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4539 $as_echo "$ac_try_echo"; } >&5
   4540   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4541   ac_status=$?
   4542   if test -s conftest.err; then
   4543     sed '10a\
   4544 ... rest of stderr output deleted ...
   4545          10q' conftest.err >conftest.er1
   4546     cat conftest.er1 >&5
   4547   fi
   4548   rm -f conftest.er1 conftest.err
   4549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4550   test $ac_status = 0; }
   4551 done
   4552 
   4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   4554 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   4555 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   4556   $as_echo_n "(cached) " >&6
   4557 else
   4558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4559 /* end confdefs.h.  */
   4560 
   4561 int
   4562 main ()
   4563 {
   4564 #ifndef __GNUC__
   4565        choke me
   4566 #endif
   4567 
   4568   ;
   4569   return 0;
   4570 }
   4571 _ACEOF
   4572 if ac_fn_cxx_try_compile "$LINENO"; then :
   4573   ac_compiler_gnu=yes
   4574 else
   4575   ac_compiler_gnu=no
   4576 fi
   4577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4578 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   4579 
   4580 fi
   4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   4582 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   4583 if test $ac_compiler_gnu = yes; then
   4584   GXX=yes
   4585 else
   4586   GXX=
   4587 fi
   4588 ac_test_CXXFLAGS=${CXXFLAGS+set}
   4589 ac_save_CXXFLAGS=$CXXFLAGS
   4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   4591 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   4592 if ${ac_cv_prog_cxx_g+:} false; then :
   4593   $as_echo_n "(cached) " >&6
   4594 else
   4595   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   4596    ac_cxx_werror_flag=yes
   4597    ac_cv_prog_cxx_g=no
   4598    CXXFLAGS="-g"
   4599    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4600 /* end confdefs.h.  */
   4601 
   4602 int
   4603 main ()
   4604 {
   4605 
   4606   ;
   4607   return 0;
   4608 }
   4609 _ACEOF
   4610 if ac_fn_cxx_try_compile "$LINENO"; then :
   4611   ac_cv_prog_cxx_g=yes
   4612 else
   4613   CXXFLAGS=""
   4614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4615 /* end confdefs.h.  */
   4616 
   4617 int
   4618 main ()
   4619 {
   4620 
   4621   ;
   4622   return 0;
   4623 }
   4624 _ACEOF
   4625 if ac_fn_cxx_try_compile "$LINENO"; then :
   4626 
   4627 else
   4628   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   4629 	 CXXFLAGS="-g"
   4630 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4631 /* end confdefs.h.  */
   4632 
   4633 int
   4634 main ()
   4635 {
   4636 
   4637   ;
   4638   return 0;
   4639 }
   4640 _ACEOF
   4641 if ac_fn_cxx_try_compile "$LINENO"; then :
   4642   ac_cv_prog_cxx_g=yes
   4643 fi
   4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4645 fi
   4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4647 fi
   4648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4649    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   4650 fi
   4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   4652 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   4653 if test "$ac_test_CXXFLAGS" = set; then
   4654   CXXFLAGS=$ac_save_CXXFLAGS
   4655 elif test $ac_cv_prog_cxx_g = yes; then
   4656   if test "$GXX" = yes; then
   4657     CXXFLAGS="-g -O2"
   4658   else
   4659     CXXFLAGS="-g"
   4660   fi
   4661 else
   4662   if test "$GXX" = yes; then
   4663     CXXFLAGS="-O2"
   4664   else
   4665     CXXFLAGS=
   4666   fi
   4667 fi
   4668 ac_ext=c
   4669 ac_cpp='$CPP $CPPFLAGS'
   4670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4673 
   4674 depcc="$CXX"  am_compiler_list=
   4675 
   4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4677 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4678 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   4679   $as_echo_n "(cached) " >&6
   4680 else
   4681   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4682   # We make a subdir and do the tests there.  Otherwise we can end up
   4683   # making bogus files that we don't know about and never remove.  For
   4684   # instance it was reported that on HP-UX the gcc test will end up
   4685   # making a dummy file named 'D' -- because '-MD' means "put the output
   4686   # in D".
   4687   rm -rf conftest.dir
   4688   mkdir conftest.dir
   4689   # Copy depcomp to subdir because otherwise we won't find it if we're
   4690   # using a relative directory.
   4691   cp "$am_depcomp" conftest.dir
   4692   cd conftest.dir
   4693   # We will build objects and dependencies in a subdirectory because
   4694   # it helps to detect inapplicable dependency modes.  For instance
   4695   # both Tru64's cc and ICC support -MD to output dependencies as a
   4696   # side effect of compilation, but ICC will put the dependencies in
   4697   # the current directory while Tru64 will put them in the object
   4698   # directory.
   4699   mkdir sub
   4700 
   4701   am_cv_CXX_dependencies_compiler_type=none
   4702   if test "$am_compiler_list" = ""; then
   4703      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4704   fi
   4705   am__universal=false
   4706   case " $depcc " in #(
   4707      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4708      esac
   4709 
   4710   for depmode in $am_compiler_list; do
   4711     # Setup a source with many dependencies, because some compilers
   4712     # like to wrap large dependency lists on column 80 (with \), and
   4713     # we should not choose a depcomp mode which is confused by this.
   4714     #
   4715     # We need to recreate these files for each test, as the compiler may
   4716     # overwrite some of them when testing with obscure command lines.
   4717     # This happens at least with the AIX C compiler.
   4718     : > sub/conftest.c
   4719     for i in 1 2 3 4 5 6; do
   4720       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4721       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4722       # Solaris 10 /bin/sh.
   4723       echo '/* dummy */' > sub/conftst$i.h
   4724     done
   4725     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4726 
   4727     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4728     # mode.  It turns out that the SunPro C++ compiler does not properly
   4729     # handle '-M -o', and we need to detect this.  Also, some Intel
   4730     # versions had trouble with output in subdirs.
   4731     am__obj=sub/conftest.${OBJEXT-o}
   4732     am__minus_obj="-o $am__obj"
   4733     case $depmode in
   4734     gcc)
   4735       # This depmode causes a compiler race in universal mode.
   4736       test "$am__universal" = false || continue
   4737       ;;
   4738     nosideeffect)
   4739       # After this tag, mechanisms are not by side-effect, so they'll
   4740       # only be used when explicitly requested.
   4741       if test "x$enable_dependency_tracking" = xyes; then
   4742 	continue
   4743       else
   4744 	break
   4745       fi
   4746       ;;
   4747     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4748       # This compiler won't grok '-c -o', but also, the minuso test has
   4749       # not run yet.  These depmodes are late enough in the game, and
   4750       # so weak that their functioning should not be impacted.
   4751       am__obj=conftest.${OBJEXT-o}
   4752       am__minus_obj=
   4753       ;;
   4754     none) break ;;
   4755     esac
   4756     if depmode=$depmode \
   4757        source=sub/conftest.c object=$am__obj \
   4758        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4759        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4760          >/dev/null 2>conftest.err &&
   4761        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4762        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4763        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4764        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4765       # icc doesn't choke on unknown options, it will just issue warnings
   4766       # or remarks (even with -Werror).  So we grep stderr for any message
   4767       # that says an option was ignored or not supported.
   4768       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4769       #   icc: Command line warning: ignoring option '-M'; no argument required
   4770       # The diagnosis changed in icc 8.0:
   4771       #   icc: Command line remark: option '-MP' not supported
   4772       if (grep 'ignoring option' conftest.err ||
   4773           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4774         am_cv_CXX_dependencies_compiler_type=$depmode
   4775         break
   4776       fi
   4777     fi
   4778   done
   4779 
   4780   cd ..
   4781   rm -rf conftest.dir
   4782 else
   4783   am_cv_CXX_dependencies_compiler_type=none
   4784 fi
   4785 
   4786 fi
   4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   4788 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   4789 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   4790 
   4791  if
   4792   test "x$enable_dependency_tracking" != xno \
   4793   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   4794   am__fastdepCXX_TRUE=
   4795   am__fastdepCXX_FALSE='#'
   4796 else
   4797   am__fastdepCXX_TRUE='#'
   4798   am__fastdepCXX_FALSE=
   4799 fi
   4800 
   4801 
   4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4803 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4804 if ${ac_cv_path_GREP+:} false; then :
   4805   $as_echo_n "(cached) " >&6
   4806 else
   4807   if test -z "$GREP"; then
   4808   ac_path_GREP_found=false
   4809   # Loop through the user's path and test for each of PROGNAME-LIST
   4810   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4811 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4812 do
   4813   IFS=$as_save_IFS
   4814   test -z "$as_dir" && as_dir=.
   4815     for ac_prog in grep ggrep; do
   4816     for ac_exec_ext in '' $ac_executable_extensions; do
   4817       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4818       as_fn_executable_p "$ac_path_GREP" || continue
   4819 # Check for GNU ac_path_GREP and select it if it is found.
   4820   # Check for GNU $ac_path_GREP
   4821 case `"$ac_path_GREP" --version 2>&1` in
   4822 *GNU*)
   4823   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4824 *)
   4825   ac_count=0
   4826   $as_echo_n 0123456789 >"conftest.in"
   4827   while :
   4828   do
   4829     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4830     mv "conftest.tmp" "conftest.in"
   4831     cp "conftest.in" "conftest.nl"
   4832     $as_echo 'GREP' >> "conftest.nl"
   4833     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4834     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4835     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4836     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4837       # Best one so far, save it but keep looking for a better one
   4838       ac_cv_path_GREP="$ac_path_GREP"
   4839       ac_path_GREP_max=$ac_count
   4840     fi
   4841     # 10*(2^10) chars as input seems more than enough
   4842     test $ac_count -gt 10 && break
   4843   done
   4844   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4845 esac
   4846 
   4847       $ac_path_GREP_found && break 3
   4848     done
   4849   done
   4850   done
   4851 IFS=$as_save_IFS
   4852   if test -z "$ac_cv_path_GREP"; then
   4853     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4854   fi
   4855 else
   4856   ac_cv_path_GREP=$GREP
   4857 fi
   4858 
   4859 fi
   4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4861 $as_echo "$ac_cv_path_GREP" >&6; }
   4862  GREP="$ac_cv_path_GREP"
   4863 
   4864 
   4865 
   4866 ac_ext=c
   4867 ac_cpp='$CPP $CPPFLAGS'
   4868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4872 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4873 # On Suns, sometimes $CPP names a directory.
   4874 if test -n "$CPP" && test -d "$CPP"; then
   4875   CPP=
   4876 fi
   4877 if test -z "$CPP"; then
   4878   if ${ac_cv_prog_CPP+:} false; then :
   4879   $as_echo_n "(cached) " >&6
   4880 else
   4881       # Double quotes because CPP needs to be expanded
   4882     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4883     do
   4884       ac_preproc_ok=false
   4885 for ac_c_preproc_warn_flag in '' yes
   4886 do
   4887   # Use a header file that comes with gcc, so configuring glibc
   4888   # with a fresh cross-compiler works.
   4889   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4890   # <limits.h> exists even on freestanding compilers.
   4891   # On the NeXT, cc -E runs the code through the compiler's parser,
   4892   # not just through cpp. "Syntax error" is here to catch this case.
   4893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4894 /* end confdefs.h.  */
   4895 #ifdef __STDC__
   4896 # include <limits.h>
   4897 #else
   4898 # include <assert.h>
   4899 #endif
   4900 		     Syntax error
   4901 _ACEOF
   4902 if ac_fn_c_try_cpp "$LINENO"; then :
   4903 
   4904 else
   4905   # Broken: fails on valid input.
   4906 continue
   4907 fi
   4908 rm -f conftest.err conftest.i conftest.$ac_ext
   4909 
   4910   # OK, works on sane cases.  Now check whether nonexistent headers
   4911   # can be detected and how.
   4912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4913 /* end confdefs.h.  */
   4914 #include <ac_nonexistent.h>
   4915 _ACEOF
   4916 if ac_fn_c_try_cpp "$LINENO"; then :
   4917   # Broken: success on invalid input.
   4918 continue
   4919 else
   4920   # Passes both tests.
   4921 ac_preproc_ok=:
   4922 break
   4923 fi
   4924 rm -f conftest.err conftest.i conftest.$ac_ext
   4925 
   4926 done
   4927 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4928 rm -f conftest.i conftest.err conftest.$ac_ext
   4929 if $ac_preproc_ok; then :
   4930   break
   4931 fi
   4932 
   4933     done
   4934     ac_cv_prog_CPP=$CPP
   4935 
   4936 fi
   4937   CPP=$ac_cv_prog_CPP
   4938 else
   4939   ac_cv_prog_CPP=$CPP
   4940 fi
   4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4942 $as_echo "$CPP" >&6; }
   4943 ac_preproc_ok=false
   4944 for ac_c_preproc_warn_flag in '' yes
   4945 do
   4946   # Use a header file that comes with gcc, so configuring glibc
   4947   # with a fresh cross-compiler works.
   4948   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4949   # <limits.h> exists even on freestanding compilers.
   4950   # On the NeXT, cc -E runs the code through the compiler's parser,
   4951   # not just through cpp. "Syntax error" is here to catch this case.
   4952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4953 /* end confdefs.h.  */
   4954 #ifdef __STDC__
   4955 # include <limits.h>
   4956 #else
   4957 # include <assert.h>
   4958 #endif
   4959 		     Syntax error
   4960 _ACEOF
   4961 if ac_fn_c_try_cpp "$LINENO"; then :
   4962 
   4963 else
   4964   # Broken: fails on valid input.
   4965 continue
   4966 fi
   4967 rm -f conftest.err conftest.i conftest.$ac_ext
   4968 
   4969   # OK, works on sane cases.  Now check whether nonexistent headers
   4970   # can be detected and how.
   4971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4972 /* end confdefs.h.  */
   4973 #include <ac_nonexistent.h>
   4974 _ACEOF
   4975 if ac_fn_c_try_cpp "$LINENO"; then :
   4976   # Broken: success on invalid input.
   4977 continue
   4978 else
   4979   # Passes both tests.
   4980 ac_preproc_ok=:
   4981 break
   4982 fi
   4983 rm -f conftest.err conftest.i conftest.$ac_ext
   4984 
   4985 done
   4986 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4987 rm -f conftest.i conftest.err conftest.$ac_ext
   4988 if $ac_preproc_ok; then :
   4989 
   4990 else
   4991   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4993 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4994 See \`config.log' for more details" "$LINENO" 5; }
   4995 fi
   4996 
   4997 ac_ext=c
   4998 ac_cpp='$CPP $CPPFLAGS'
   4999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5002 
   5003 
   5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5005 $as_echo_n "checking for egrep... " >&6; }
   5006 if ${ac_cv_path_EGREP+:} false; then :
   5007   $as_echo_n "(cached) " >&6
   5008 else
   5009   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5010    then ac_cv_path_EGREP="$GREP -E"
   5011    else
   5012      if test -z "$EGREP"; then
   5013   ac_path_EGREP_found=false
   5014   # Loop through the user's path and test for each of PROGNAME-LIST
   5015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5016 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5017 do
   5018   IFS=$as_save_IFS
   5019   test -z "$as_dir" && as_dir=.
   5020     for ac_prog in egrep; do
   5021     for ac_exec_ext in '' $ac_executable_extensions; do
   5022       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   5023       as_fn_executable_p "$ac_path_EGREP" || continue
   5024 # Check for GNU ac_path_EGREP and select it if it is found.
   5025   # Check for GNU $ac_path_EGREP
   5026 case `"$ac_path_EGREP" --version 2>&1` in
   5027 *GNU*)
   5028   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5029 *)
   5030   ac_count=0
   5031   $as_echo_n 0123456789 >"conftest.in"
   5032   while :
   5033   do
   5034     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5035     mv "conftest.tmp" "conftest.in"
   5036     cp "conftest.in" "conftest.nl"
   5037     $as_echo 'EGREP' >> "conftest.nl"
   5038     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5039     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5040     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5041     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5042       # Best one so far, save it but keep looking for a better one
   5043       ac_cv_path_EGREP="$ac_path_EGREP"
   5044       ac_path_EGREP_max=$ac_count
   5045     fi
   5046     # 10*(2^10) chars as input seems more than enough
   5047     test $ac_count -gt 10 && break
   5048   done
   5049   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5050 esac
   5051 
   5052       $ac_path_EGREP_found && break 3
   5053     done
   5054   done
   5055   done
   5056 IFS=$as_save_IFS
   5057   if test -z "$ac_cv_path_EGREP"; then
   5058     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5059   fi
   5060 else
   5061   ac_cv_path_EGREP=$EGREP
   5062 fi
   5063 
   5064    fi
   5065 fi
   5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5067 $as_echo "$ac_cv_path_EGREP" >&6; }
   5068  EGREP="$ac_cv_path_EGREP"
   5069 
   5070 
   5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   5072 $as_echo_n "checking for ANSI C header files... " >&6; }
   5073 if ${ac_cv_header_stdc+:} false; then :
   5074   $as_echo_n "(cached) " >&6
   5075 else
   5076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5077 /* end confdefs.h.  */
   5078 #include <stdlib.h>
   5079 #include <stdarg.h>
   5080 #include <string.h>
   5081 #include <float.h>
   5082 
   5083 int
   5084 main ()
   5085 {
   5086 
   5087   ;
   5088   return 0;
   5089 }
   5090 _ACEOF
   5091 if ac_fn_c_try_compile "$LINENO"; then :
   5092   ac_cv_header_stdc=yes
   5093 else
   5094   ac_cv_header_stdc=no
   5095 fi
   5096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5097 
   5098 if test $ac_cv_header_stdc = yes; then
   5099   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5101 /* end confdefs.h.  */
   5102 #include <string.h>
   5103 
   5104 _ACEOF
   5105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5106   $EGREP "memchr" >/dev/null 2>&1; then :
   5107 
   5108 else
   5109   ac_cv_header_stdc=no
   5110 fi
   5111 rm -f conftest*
   5112 
   5113 fi
   5114 
   5115 if test $ac_cv_header_stdc = yes; then
   5116   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5118 /* end confdefs.h.  */
   5119 #include <stdlib.h>
   5120 
   5121 _ACEOF
   5122 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5123   $EGREP "free" >/dev/null 2>&1; then :
   5124 
   5125 else
   5126   ac_cv_header_stdc=no
   5127 fi
   5128 rm -f conftest*
   5129 
   5130 fi
   5131 
   5132 if test $ac_cv_header_stdc = yes; then
   5133   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5134   if test "$cross_compiling" = yes; then :
   5135   :
   5136 else
   5137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5138 /* end confdefs.h.  */
   5139 #include <ctype.h>
   5140 #include <stdlib.h>
   5141 #if ((' ' & 0x0FF) == 0x020)
   5142 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5143 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5144 #else
   5145 # define ISLOWER(c) \
   5146 		   (('a' <= (c) && (c) <= 'i') \
   5147 		     || ('j' <= (c) && (c) <= 'r') \
   5148 		     || ('s' <= (c) && (c) <= 'z'))
   5149 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5150 #endif
   5151 
   5152 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5153 int
   5154 main ()
   5155 {
   5156   int i;
   5157   for (i = 0; i < 256; i++)
   5158     if (XOR (islower (i), ISLOWER (i))
   5159 	|| toupper (i) != TOUPPER (i))
   5160       return 2;
   5161   return 0;
   5162 }
   5163 _ACEOF
   5164 if ac_fn_c_try_run "$LINENO"; then :
   5165 
   5166 else
   5167   ac_cv_header_stdc=no
   5168 fi
   5169 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5170   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5171 fi
   5172 
   5173 fi
   5174 fi
   5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   5176 $as_echo "$ac_cv_header_stdc" >&6; }
   5177 if test $ac_cv_header_stdc = yes; then
   5178 
   5179 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   5180 
   5181 fi
   5182 
   5183 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5184 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5185 		  inttypes.h stdint.h unistd.h
   5186 do :
   5187   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5188 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   5189 "
   5190 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5191   cat >>confdefs.h <<_ACEOF
   5192 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5193 _ACEOF
   5194 
   5195 fi
   5196 
   5197 done
   5198 
   5199 
   5200 
   5201   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   5202 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   5203   MINIX=yes
   5204 else
   5205   MINIX=
   5206 fi
   5207 
   5208 
   5209   if test "$MINIX" = yes; then
   5210 
   5211 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   5212 
   5213 
   5214 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5215 
   5216 
   5217 $as_echo "#define _MINIX 1" >>confdefs.h
   5218 
   5219   fi
   5220 
   5221 
   5222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5223 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5224 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   5225   $as_echo_n "(cached) " >&6
   5226 else
   5227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5228 /* end confdefs.h.  */
   5229 
   5230 #         define __EXTENSIONS__ 1
   5231           $ac_includes_default
   5232 int
   5233 main ()
   5234 {
   5235 
   5236   ;
   5237   return 0;
   5238 }
   5239 _ACEOF
   5240 if ac_fn_c_try_compile "$LINENO"; then :
   5241   ac_cv_safe_to_define___extensions__=yes
   5242 else
   5243   ac_cv_safe_to_define___extensions__=no
   5244 fi
   5245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5246 fi
   5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5248 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   5249   test $ac_cv_safe_to_define___extensions__ = yes &&
   5250     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   5251 
   5252   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   5253 
   5254   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   5255 
   5256   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5257 
   5258   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5270 	if test -n "$ac_tool_prefix"; then
   5271   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5272 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5274 $as_echo_n "checking for $ac_word... " >&6; }
   5275 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   5276   $as_echo_n "(cached) " >&6
   5277 else
   5278   case $PKG_CONFIG in
   5279   [\\/]* | ?:[\\/]*)
   5280   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5281   ;;
   5282   *)
   5283   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5284 for as_dir in $PATH
   5285 do
   5286   IFS=$as_save_IFS
   5287   test -z "$as_dir" && as_dir=.
   5288     for ac_exec_ext in '' $ac_executable_extensions; do
   5289   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5290     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5292     break 2
   5293   fi
   5294 done
   5295   done
   5296 IFS=$as_save_IFS
   5297 
   5298   ;;
   5299 esac
   5300 fi
   5301 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5302 if test -n "$PKG_CONFIG"; then
   5303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5304 $as_echo "$PKG_CONFIG" >&6; }
   5305 else
   5306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5307 $as_echo "no" >&6; }
   5308 fi
   5309 
   5310 
   5311 fi
   5312 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5313   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5314   # Extract the first word of "pkg-config", so it can be a program name with args.
   5315 set dummy pkg-config; ac_word=$2
   5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5317 $as_echo_n "checking for $ac_word... " >&6; }
   5318 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   5319   $as_echo_n "(cached) " >&6
   5320 else
   5321   case $ac_pt_PKG_CONFIG in
   5322   [\\/]* | ?:[\\/]*)
   5323   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5324   ;;
   5325   *)
   5326   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5327 for as_dir in $PATH
   5328 do
   5329   IFS=$as_save_IFS
   5330   test -z "$as_dir" && as_dir=.
   5331     for ac_exec_ext in '' $ac_executable_extensions; do
   5332   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5333     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5335     break 2
   5336   fi
   5337 done
   5338   done
   5339 IFS=$as_save_IFS
   5340 
   5341   ;;
   5342 esac
   5343 fi
   5344 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5345 if test -n "$ac_pt_PKG_CONFIG"; then
   5346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5347 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   5348 else
   5349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5350 $as_echo "no" >&6; }
   5351 fi
   5352 
   5353   if test "x$ac_pt_PKG_CONFIG" = x; then
   5354     PKG_CONFIG=""
   5355   else
   5356     case $cross_compiling:$ac_tool_warned in
   5357 yes:)
   5358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5360 ac_tool_warned=yes ;;
   5361 esac
   5362     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5363   fi
   5364 else
   5365   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5366 fi
   5367 
   5368 fi
   5369 if test -n "$PKG_CONFIG"; then
   5370 	_pkg_min_version=0.9.0
   5371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5372 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5373 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5375 $as_echo "yes" >&6; }
   5376 	else
   5377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5378 $as_echo "no" >&6; }
   5379 		PKG_CONFIG=""
   5380 	fi
   5381 fi
   5382 
   5383 case `pwd` in
   5384   *\ * | *\	*)
   5385     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5386 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5387 esac
   5388 
   5389 
   5390 
   5391 macro_version='2.2.7a'
   5392 macro_revision='1.3134'
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 ltmain="$ac_aux_dir/ltmain.sh"
   5407 
   5408 # Backslashify metacharacters that are still active within
   5409 # double-quoted strings.
   5410 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5411 
   5412 # Same as above, but do not quote variable references.
   5413 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5414 
   5415 # Sed substitution to delay expansion of an escaped shell variable in a
   5416 # double_quote_subst'ed string.
   5417 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5418 
   5419 # Sed substitution to delay expansion of an escaped single quote.
   5420 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5421 
   5422 # Sed substitution to avoid accidental globbing in evaled expressions
   5423 no_glob_subst='s/\*/\\\*/g'
   5424 
   5425 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5426 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5427 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5428 
   5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5430 $as_echo_n "checking how to print strings... " >&6; }
   5431 # Test print first, because it will be a builtin if present.
   5432 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5433    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5434   ECHO='print -r --'
   5435 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5436   ECHO='printf %s\n'
   5437 else
   5438   # Use this function as a fallback that always works.
   5439   func_fallback_echo ()
   5440   {
   5441     eval 'cat <<_LTECHO_EOF
   5442 $1
   5443 _LTECHO_EOF'
   5444   }
   5445   ECHO='func_fallback_echo'
   5446 fi
   5447 
   5448 # func_echo_all arg...
   5449 # Invoke $ECHO with all args, space-separated.
   5450 func_echo_all ()
   5451 {
   5452     $ECHO ""
   5453 }
   5454 
   5455 case "$ECHO" in
   5456   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5457 $as_echo "printf" >&6; } ;;
   5458   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5459 $as_echo "print -r" >&6; } ;;
   5460   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5461 $as_echo "cat" >&6; } ;;
   5462 esac
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5478 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5479 if ${ac_cv_path_SED+:} false; then :
   5480   $as_echo_n "(cached) " >&6
   5481 else
   5482             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5483      for ac_i in 1 2 3 4 5 6 7; do
   5484        ac_script="$ac_script$as_nl$ac_script"
   5485      done
   5486      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5487      { ac_script=; unset ac_script;}
   5488      if test -z "$SED"; then
   5489   ac_path_SED_found=false
   5490   # Loop through the user's path and test for each of PROGNAME-LIST
   5491   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5492 for as_dir in $PATH
   5493 do
   5494   IFS=$as_save_IFS
   5495   test -z "$as_dir" && as_dir=.
   5496     for ac_prog in sed gsed; do
   5497     for ac_exec_ext in '' $ac_executable_extensions; do
   5498       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5499       as_fn_executable_p "$ac_path_SED" || continue
   5500 # Check for GNU ac_path_SED and select it if it is found.
   5501   # Check for GNU $ac_path_SED
   5502 case `"$ac_path_SED" --version 2>&1` in
   5503 *GNU*)
   5504   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5505 *)
   5506   ac_count=0
   5507   $as_echo_n 0123456789 >"conftest.in"
   5508   while :
   5509   do
   5510     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5511     mv "conftest.tmp" "conftest.in"
   5512     cp "conftest.in" "conftest.nl"
   5513     $as_echo '' >> "conftest.nl"
   5514     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5515     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5516     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5517     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5518       # Best one so far, save it but keep looking for a better one
   5519       ac_cv_path_SED="$ac_path_SED"
   5520       ac_path_SED_max=$ac_count
   5521     fi
   5522     # 10*(2^10) chars as input seems more than enough
   5523     test $ac_count -gt 10 && break
   5524   done
   5525   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5526 esac
   5527 
   5528       $ac_path_SED_found && break 3
   5529     done
   5530   done
   5531   done
   5532 IFS=$as_save_IFS
   5533   if test -z "$ac_cv_path_SED"; then
   5534     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5535   fi
   5536 else
   5537   ac_cv_path_SED=$SED
   5538 fi
   5539 
   5540 fi
   5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5542 $as_echo "$ac_cv_path_SED" >&6; }
   5543  SED="$ac_cv_path_SED"
   5544   rm -f conftest.sed
   5545 
   5546 test -z "$SED" && SED=sed
   5547 Xsed="$SED -e 1s/^X//"
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5560 $as_echo_n "checking for fgrep... " >&6; }
   5561 if ${ac_cv_path_FGREP+:} false; then :
   5562   $as_echo_n "(cached) " >&6
   5563 else
   5564   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5565    then ac_cv_path_FGREP="$GREP -F"
   5566    else
   5567      if test -z "$FGREP"; then
   5568   ac_path_FGREP_found=false
   5569   # Loop through the user's path and test for each of PROGNAME-LIST
   5570   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5571 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5572 do
   5573   IFS=$as_save_IFS
   5574   test -z "$as_dir" && as_dir=.
   5575     for ac_prog in fgrep; do
   5576     for ac_exec_ext in '' $ac_executable_extensions; do
   5577       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5578       as_fn_executable_p "$ac_path_FGREP" || continue
   5579 # Check for GNU ac_path_FGREP and select it if it is found.
   5580   # Check for GNU $ac_path_FGREP
   5581 case `"$ac_path_FGREP" --version 2>&1` in
   5582 *GNU*)
   5583   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5584 *)
   5585   ac_count=0
   5586   $as_echo_n 0123456789 >"conftest.in"
   5587   while :
   5588   do
   5589     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5590     mv "conftest.tmp" "conftest.in"
   5591     cp "conftest.in" "conftest.nl"
   5592     $as_echo 'FGREP' >> "conftest.nl"
   5593     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5594     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5595     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5596     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5597       # Best one so far, save it but keep looking for a better one
   5598       ac_cv_path_FGREP="$ac_path_FGREP"
   5599       ac_path_FGREP_max=$ac_count
   5600     fi
   5601     # 10*(2^10) chars as input seems more than enough
   5602     test $ac_count -gt 10 && break
   5603   done
   5604   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5605 esac
   5606 
   5607       $ac_path_FGREP_found && break 3
   5608     done
   5609   done
   5610   done
   5611 IFS=$as_save_IFS
   5612   if test -z "$ac_cv_path_FGREP"; then
   5613     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5614   fi
   5615 else
   5616   ac_cv_path_FGREP=$FGREP
   5617 fi
   5618 
   5619    fi
   5620 fi
   5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5622 $as_echo "$ac_cv_path_FGREP" >&6; }
   5623  FGREP="$ac_cv_path_FGREP"
   5624 
   5625 
   5626 test -z "$GREP" && GREP=grep
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 # Check whether --with-gnu-ld was given.
   5647 if test "${with_gnu_ld+set}" = set; then :
   5648   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5649 else
   5650   with_gnu_ld=no
   5651 fi
   5652 
   5653 ac_prog=ld
   5654 if test "$GCC" = yes; then
   5655   # Check if gcc -print-prog-name=ld gives a path.
   5656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5657 $as_echo_n "checking for ld used by $CC... " >&6; }
   5658   case $host in
   5659   *-*-mingw*)
   5660     # gcc leaves a trailing carriage return which upsets mingw
   5661     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5662   *)
   5663     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5664   esac
   5665   case $ac_prog in
   5666     # Accept absolute paths.
   5667     [\\/]* | ?:[\\/]*)
   5668       re_direlt='/[^/][^/]*/\.\./'
   5669       # Canonicalize the pathname of ld
   5670       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5671       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5672 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5673       done
   5674       test -z "$LD" && LD="$ac_prog"
   5675       ;;
   5676   "")
   5677     # If it fails, then pretend we aren't using GCC.
   5678     ac_prog=ld
   5679     ;;
   5680   *)
   5681     # If it is relative, then search for the first ld in PATH.
   5682     with_gnu_ld=unknown
   5683     ;;
   5684   esac
   5685 elif test "$with_gnu_ld" = yes; then
   5686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5687 $as_echo_n "checking for GNU ld... " >&6; }
   5688 else
   5689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5690 $as_echo_n "checking for non-GNU ld... " >&6; }
   5691 fi
   5692 if ${lt_cv_path_LD+:} false; then :
   5693   $as_echo_n "(cached) " >&6
   5694 else
   5695   if test -z "$LD"; then
   5696   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5697   for ac_dir in $PATH; do
   5698     IFS="$lt_save_ifs"
   5699     test -z "$ac_dir" && ac_dir=.
   5700     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5701       lt_cv_path_LD="$ac_dir/$ac_prog"
   5702       # Check to see if the program is GNU ld.  I'd rather use --version,
   5703       # but apparently some variants of GNU ld only accept -v.
   5704       # Break only if it was the GNU/non-GNU ld that we prefer.
   5705       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5706       *GNU* | *'with BFD'*)
   5707 	test "$with_gnu_ld" != no && break
   5708 	;;
   5709       *)
   5710 	test "$with_gnu_ld" != yes && break
   5711 	;;
   5712       esac
   5713     fi
   5714   done
   5715   IFS="$lt_save_ifs"
   5716 else
   5717   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5718 fi
   5719 fi
   5720 
   5721 LD="$lt_cv_path_LD"
   5722 if test -n "$LD"; then
   5723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5724 $as_echo "$LD" >&6; }
   5725 else
   5726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5727 $as_echo "no" >&6; }
   5728 fi
   5729 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5731 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5732 if ${lt_cv_prog_gnu_ld+:} false; then :
   5733   $as_echo_n "(cached) " >&6
   5734 else
   5735   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5736 case `$LD -v 2>&1 </dev/null` in
   5737 *GNU* | *'with BFD'*)
   5738   lt_cv_prog_gnu_ld=yes
   5739   ;;
   5740 *)
   5741   lt_cv_prog_gnu_ld=no
   5742   ;;
   5743 esac
   5744 fi
   5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5746 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5747 with_gnu_ld=$lt_cv_prog_gnu_ld
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5758 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5759 if ${lt_cv_path_NM+:} false; then :
   5760   $as_echo_n "(cached) " >&6
   5761 else
   5762   if test -n "$NM"; then
   5763    # Let the user override the nm to test.
   5764    lt_nm_to_check="$NM"
   5765  else
   5766    lt_nm_to_check="${ac_tool_prefix}nm"
   5767    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5768      lt_nm_to_check="$lt_nm_to_check nm"
   5769    fi
   5770  fi
   5771  for lt_tmp_nm in "$lt_nm_to_check"; do
   5772    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5773    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5774      IFS="$lt_save_ifs"
   5775      test -z "$ac_dir" && ac_dir=.
   5776      # Strip out any user-provided options from the nm to test twice,
   5777      # the first time to test to see if nm (rather than its options) has
   5778      # an explicit path, the second time to yield a file which can be
   5779      # nm'ed itself.
   5780      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   5781      case "$tmp_nm_path" in
   5782      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   5783      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   5784      esac
   5785      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   5786      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   5787        # Check to see if the nm accepts a BSD-compat flag.
   5788        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5789        #   nm: unknown option "B" ignored
   5790        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5791        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   5792 	 break
   5793 	 ;;
   5794        *)
   5795 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5796 	 *$tmp_nm*)
   5797 	   lt_cv_path_NM="$tmp_nm -p"
   5798 	   break
   5799 	   ;;
   5800 	 *)
   5801 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5802 	   continue # so that we can try to find one that supports BSD flags
   5803 	   ;;
   5804 	 esac
   5805 	 ;;
   5806        esac
   5807      fi
   5808    done
   5809    IFS="$lt_save_ifs"
   5810  done
   5811  : ${lt_cv_path_NM=no}
   5812 fi
   5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5814 $as_echo "$lt_cv_path_NM" >&6; }
   5815 if test "$lt_cv_path_NM" != "no"; then
   5816   NM="$lt_cv_path_NM"
   5817 else
   5818   # Didn't find any BSD compatible name lister, look for dumpbin.
   5819   if test -n "$DUMPBIN"; then :
   5820     # Let the user override the test.
   5821   else
   5822     if test -n "$ac_tool_prefix"; then
   5823   for ac_prog in dumpbin "link -dump"
   5824   do
   5825     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5828 $as_echo_n "checking for $ac_word... " >&6; }
   5829 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5830   $as_echo_n "(cached) " >&6
   5831 else
   5832   if test -n "$DUMPBIN"; then
   5833   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5834 else
   5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5836 for as_dir in $PATH
   5837 do
   5838   IFS=$as_save_IFS
   5839   test -z "$as_dir" && as_dir=.
   5840     for ac_exec_ext in '' $ac_executable_extensions; do
   5841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5842     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5844     break 2
   5845   fi
   5846 done
   5847   done
   5848 IFS=$as_save_IFS
   5849 
   5850 fi
   5851 fi
   5852 DUMPBIN=$ac_cv_prog_DUMPBIN
   5853 if test -n "$DUMPBIN"; then
   5854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5855 $as_echo "$DUMPBIN" >&6; }
   5856 else
   5857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5858 $as_echo "no" >&6; }
   5859 fi
   5860 
   5861 
   5862     test -n "$DUMPBIN" && break
   5863   done
   5864 fi
   5865 if test -z "$DUMPBIN"; then
   5866   ac_ct_DUMPBIN=$DUMPBIN
   5867   for ac_prog in dumpbin "link -dump"
   5868 do
   5869   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5870 set dummy $ac_prog; ac_word=$2
   5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5872 $as_echo_n "checking for $ac_word... " >&6; }
   5873 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5874   $as_echo_n "(cached) " >&6
   5875 else
   5876   if test -n "$ac_ct_DUMPBIN"; then
   5877   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5878 else
   5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5880 for as_dir in $PATH
   5881 do
   5882   IFS=$as_save_IFS
   5883   test -z "$as_dir" && as_dir=.
   5884     for ac_exec_ext in '' $ac_executable_extensions; do
   5885   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5886     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5888     break 2
   5889   fi
   5890 done
   5891   done
   5892 IFS=$as_save_IFS
   5893 
   5894 fi
   5895 fi
   5896 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5897 if test -n "$ac_ct_DUMPBIN"; then
   5898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5899 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5900 else
   5901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5902 $as_echo "no" >&6; }
   5903 fi
   5904 
   5905 
   5906   test -n "$ac_ct_DUMPBIN" && break
   5907 done
   5908 
   5909   if test "x$ac_ct_DUMPBIN" = x; then
   5910     DUMPBIN=":"
   5911   else
   5912     case $cross_compiling:$ac_tool_warned in
   5913 yes:)
   5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5916 ac_tool_warned=yes ;;
   5917 esac
   5918     DUMPBIN=$ac_ct_DUMPBIN
   5919   fi
   5920 fi
   5921 
   5922     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5923     *COFF*)
   5924       DUMPBIN="$DUMPBIN -symbols"
   5925       ;;
   5926     *)
   5927       DUMPBIN=:
   5928       ;;
   5929     esac
   5930   fi
   5931 
   5932   if test "$DUMPBIN" != ":"; then
   5933     NM="$DUMPBIN"
   5934   fi
   5935 fi
   5936 test -z "$NM" && NM=nm
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5944 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5945 if ${lt_cv_nm_interface+:} false; then :
   5946   $as_echo_n "(cached) " >&6
   5947 else
   5948   lt_cv_nm_interface="BSD nm"
   5949   echo "int some_variable = 0;" > conftest.$ac_ext
   5950   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5951   (eval "$ac_compile" 2>conftest.err)
   5952   cat conftest.err >&5
   5953   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5954   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5955   cat conftest.err >&5
   5956   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5957   cat conftest.out >&5
   5958   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5959     lt_cv_nm_interface="MS dumpbin"
   5960   fi
   5961   rm -f conftest*
   5962 fi
   5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5964 $as_echo "$lt_cv_nm_interface" >&6; }
   5965 
   5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5967 $as_echo_n "checking whether ln -s works... " >&6; }
   5968 LN_S=$as_ln_s
   5969 if test "$LN_S" = "ln -s"; then
   5970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5971 $as_echo "yes" >&6; }
   5972 else
   5973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5974 $as_echo "no, using $LN_S" >&6; }
   5975 fi
   5976 
   5977 # find the maximum length of command line arguments
   5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5979 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5980 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5981   $as_echo_n "(cached) " >&6
   5982 else
   5983     i=0
   5984   teststring="ABCD"
   5985 
   5986   case $build_os in
   5987   msdosdjgpp*)
   5988     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5989     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5990     # during glob expansion).  Even if it were fixed, the result of this
   5991     # check would be larger than it should be.
   5992     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5993     ;;
   5994 
   5995   gnu*)
   5996     # Under GNU Hurd, this test is not required because there is
   5997     # no limit to the length of command line arguments.
   5998     # Libtool will interpret -1 as no limit whatsoever
   5999     lt_cv_sys_max_cmd_len=-1;
   6000     ;;
   6001 
   6002   cygwin* | mingw* | cegcc*)
   6003     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6004     # about 5 minutes as the teststring grows exponentially.
   6005     # Worse, since 9x/ME are not pre-emptively multitasking,
   6006     # you end up with a "frozen" computer, even though with patience
   6007     # the test eventually succeeds (with a max line length of 256k).
   6008     # Instead, let's just punt: use the minimum linelength reported by
   6009     # all of the supported platforms: 8192 (on NT/2K/XP).
   6010     lt_cv_sys_max_cmd_len=8192;
   6011     ;;
   6012 
   6013   mint*)
   6014     # On MiNT this can take a long time and run out of memory.
   6015     lt_cv_sys_max_cmd_len=8192;
   6016     ;;
   6017 
   6018   amigaos*)
   6019     # On AmigaOS with pdksh, this test takes hours, literally.
   6020     # So we just punt and use a minimum line length of 8192.
   6021     lt_cv_sys_max_cmd_len=8192;
   6022     ;;
   6023 
   6024   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6025     # This has been around since 386BSD, at least.  Likely further.
   6026     if test -x /sbin/sysctl; then
   6027       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6028     elif test -x /usr/sbin/sysctl; then
   6029       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6030     else
   6031       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6032     fi
   6033     # And add a safety zone
   6034     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6035     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6036     ;;
   6037 
   6038   interix*)
   6039     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6040     lt_cv_sys_max_cmd_len=196608
   6041     ;;
   6042 
   6043   osf*)
   6044     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6045     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6046     # nice to cause kernel panics so lets avoid the loop below.
   6047     # First set a reasonable default.
   6048     lt_cv_sys_max_cmd_len=16384
   6049     #
   6050     if test -x /sbin/sysconfig; then
   6051       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6052         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6053       esac
   6054     fi
   6055     ;;
   6056   sco3.2v5*)
   6057     lt_cv_sys_max_cmd_len=102400
   6058     ;;
   6059   sysv5* | sco5v6* | sysv4.2uw2*)
   6060     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6061     if test -n "$kargmax"; then
   6062       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6063     else
   6064       lt_cv_sys_max_cmd_len=32768
   6065     fi
   6066     ;;
   6067   *)
   6068     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6069     if test -n "$lt_cv_sys_max_cmd_len"; then
   6070       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6071       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6072     else
   6073       # Make teststring a little bigger before we do anything with it.
   6074       # a 1K string should be a reasonable start.
   6075       for i in 1 2 3 4 5 6 7 8 ; do
   6076         teststring=$teststring$teststring
   6077       done
   6078       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6079       # If test is not a shell built-in, we'll probably end up computing a
   6080       # maximum length that is only half of the actual maximum length, but
   6081       # we can't tell.
   6082       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   6083 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6084 	      test $i != 17 # 1/2 MB should be enough
   6085       do
   6086         i=`expr $i + 1`
   6087         teststring=$teststring$teststring
   6088       done
   6089       # Only check the string length outside the loop.
   6090       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6091       teststring=
   6092       # Add a significant safety factor because C++ compilers can tack on
   6093       # massive amounts of additional arguments before passing them to the
   6094       # linker.  It appears as though 1/2 is a usable value.
   6095       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6096     fi
   6097     ;;
   6098   esac
   6099 
   6100 fi
   6101 
   6102 if test -n $lt_cv_sys_max_cmd_len ; then
   6103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6104 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6105 else
   6106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6107 $as_echo "none" >&6; }
   6108 fi
   6109 max_cmd_len=$lt_cv_sys_max_cmd_len
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 : ${CP="cp -f"}
   6117 : ${MV="mv -f"}
   6118 : ${RM="rm -f"}
   6119 
   6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6121 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6122 # Try some XSI features
   6123 xsi_shell=no
   6124 ( _lt_dummy="a/b/c"
   6125   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6126       = c,a/b,, \
   6127     && eval 'test $(( 1 + 1 )) -eq 2 \
   6128     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6129   && xsi_shell=yes
   6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6131 $as_echo "$xsi_shell" >&6; }
   6132 
   6133 
   6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6135 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6136 lt_shell_append=no
   6137 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6138     >/dev/null 2>&1 \
   6139   && lt_shell_append=yes
   6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6141 $as_echo "$lt_shell_append" >&6; }
   6142 
   6143 
   6144 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6145   lt_unset=unset
   6146 else
   6147   lt_unset=false
   6148 fi
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 # test EBCDIC or ASCII
   6155 case `echo X|tr X '\101'` in
   6156  A) # ASCII based system
   6157     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6158   lt_SP2NL='tr \040 \012'
   6159   lt_NL2SP='tr \015\012 \040\040'
   6160   ;;
   6161  *) # EBCDIC based system
   6162   lt_SP2NL='tr \100 \n'
   6163   lt_NL2SP='tr \r\n \100\100'
   6164   ;;
   6165 esac
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6176 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6177 if ${lt_cv_ld_reload_flag+:} false; then :
   6178   $as_echo_n "(cached) " >&6
   6179 else
   6180   lt_cv_ld_reload_flag='-r'
   6181 fi
   6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6183 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6184 reload_flag=$lt_cv_ld_reload_flag
   6185 case $reload_flag in
   6186 "" | " "*) ;;
   6187 *) reload_flag=" $reload_flag" ;;
   6188 esac
   6189 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6190 case $host_os in
   6191   darwin*)
   6192     if test "$GCC" = yes; then
   6193       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6194     else
   6195       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6196     fi
   6197     ;;
   6198 esac
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 if test -n "$ac_tool_prefix"; then
   6209   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6210 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6212 $as_echo_n "checking for $ac_word... " >&6; }
   6213 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6214   $as_echo_n "(cached) " >&6
   6215 else
   6216   if test -n "$OBJDUMP"; then
   6217   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6218 else
   6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6220 for as_dir in $PATH
   6221 do
   6222   IFS=$as_save_IFS
   6223   test -z "$as_dir" && as_dir=.
   6224     for ac_exec_ext in '' $ac_executable_extensions; do
   6225   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6226     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6228     break 2
   6229   fi
   6230 done
   6231   done
   6232 IFS=$as_save_IFS
   6233 
   6234 fi
   6235 fi
   6236 OBJDUMP=$ac_cv_prog_OBJDUMP
   6237 if test -n "$OBJDUMP"; then
   6238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6239 $as_echo "$OBJDUMP" >&6; }
   6240 else
   6241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6242 $as_echo "no" >&6; }
   6243 fi
   6244 
   6245 
   6246 fi
   6247 if test -z "$ac_cv_prog_OBJDUMP"; then
   6248   ac_ct_OBJDUMP=$OBJDUMP
   6249   # Extract the first word of "objdump", so it can be a program name with args.
   6250 set dummy objdump; ac_word=$2
   6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6252 $as_echo_n "checking for $ac_word... " >&6; }
   6253 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6254   $as_echo_n "(cached) " >&6
   6255 else
   6256   if test -n "$ac_ct_OBJDUMP"; then
   6257   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6258 else
   6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6260 for as_dir in $PATH
   6261 do
   6262   IFS=$as_save_IFS
   6263   test -z "$as_dir" && as_dir=.
   6264     for ac_exec_ext in '' $ac_executable_extensions; do
   6265   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6266     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6268     break 2
   6269   fi
   6270 done
   6271   done
   6272 IFS=$as_save_IFS
   6273 
   6274 fi
   6275 fi
   6276 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6277 if test -n "$ac_ct_OBJDUMP"; then
   6278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6279 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6280 else
   6281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6282 $as_echo "no" >&6; }
   6283 fi
   6284 
   6285   if test "x$ac_ct_OBJDUMP" = x; then
   6286     OBJDUMP="false"
   6287   else
   6288     case $cross_compiling:$ac_tool_warned in
   6289 yes:)
   6290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6292 ac_tool_warned=yes ;;
   6293 esac
   6294     OBJDUMP=$ac_ct_OBJDUMP
   6295   fi
   6296 else
   6297   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6298 fi
   6299 
   6300 test -z "$OBJDUMP" && OBJDUMP=objdump
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6311 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6312 if ${lt_cv_deplibs_check_method+:} false; then :
   6313   $as_echo_n "(cached) " >&6
   6314 else
   6315   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6316 lt_cv_file_magic_test_file=
   6317 lt_cv_deplibs_check_method='unknown'
   6318 # Need to set the preceding variable on all platforms that support
   6319 # interlibrary dependencies.
   6320 # 'none' -- dependencies not supported.
   6321 # `unknown' -- same as none, but documents that we really don't know.
   6322 # 'pass_all' -- all dependencies passed with no checks.
   6323 # 'test_compile' -- check by making test program.
   6324 # 'file_magic [[regex]]' -- check by looking for files in library path
   6325 # which responds to the $file_magic_cmd with a given extended regex.
   6326 # If you have `file' or equivalent on your system and you're not sure
   6327 # whether `pass_all' will *always* work, you probably want this one.
   6328 
   6329 case $host_os in
   6330 aix[4-9]*)
   6331   lt_cv_deplibs_check_method=pass_all
   6332   ;;
   6333 
   6334 beos*)
   6335   lt_cv_deplibs_check_method=pass_all
   6336   ;;
   6337 
   6338 bsdi[45]*)
   6339   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6340   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6341   lt_cv_file_magic_test_file=/shlib/libc.so
   6342   ;;
   6343 
   6344 cygwin*)
   6345   # func_win32_libid is a shell function defined in ltmain.sh
   6346   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6347   lt_cv_file_magic_cmd='func_win32_libid'
   6348   ;;
   6349 
   6350 mingw* | pw32*)
   6351   # Base MSYS/MinGW do not provide the 'file' command needed by
   6352   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6353   # unless we find 'file', for example because we are cross-compiling.
   6354   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6355   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6356     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6357     lt_cv_file_magic_cmd='func_win32_libid'
   6358   else
   6359     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6360     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6361   fi
   6362   ;;
   6363 
   6364 cegcc*)
   6365   # use the weaker test based on 'objdump'. See mingw*.
   6366   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6367   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6368   ;;
   6369 
   6370 darwin* | rhapsody*)
   6371   lt_cv_deplibs_check_method=pass_all
   6372   ;;
   6373 
   6374 freebsd* | dragonfly*)
   6375   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6376     case $host_cpu in
   6377     i*86 )
   6378       # Not sure whether the presence of OpenBSD here was a mistake.
   6379       # Let's accept both of them until this is cleared up.
   6380       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6381       lt_cv_file_magic_cmd=/usr/bin/file
   6382       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6383       ;;
   6384     esac
   6385   else
   6386     lt_cv_deplibs_check_method=pass_all
   6387   fi
   6388   ;;
   6389 
   6390 gnu*)
   6391   lt_cv_deplibs_check_method=pass_all
   6392   ;;
   6393 
   6394 haiku*)
   6395   lt_cv_deplibs_check_method=pass_all
   6396   ;;
   6397 
   6398 hpux10.20* | hpux11*)
   6399   lt_cv_file_magic_cmd=/usr/bin/file
   6400   case $host_cpu in
   6401   ia64*)
   6402     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6403     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6404     ;;
   6405   hppa*64*)
   6406     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]'
   6407     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6408     ;;
   6409   *)
   6410     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6411     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6412     ;;
   6413   esac
   6414   ;;
   6415 
   6416 interix[3-9]*)
   6417   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6418   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6419   ;;
   6420 
   6421 irix5* | irix6* | nonstopux*)
   6422   case $LD in
   6423   *-32|*"-32 ") libmagic=32-bit;;
   6424   *-n32|*"-n32 ") libmagic=N32;;
   6425   *-64|*"-64 ") libmagic=64-bit;;
   6426   *) libmagic=never-match;;
   6427   esac
   6428   lt_cv_deplibs_check_method=pass_all
   6429   ;;
   6430 
   6431 # This must be Linux ELF.
   6432 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   6433   lt_cv_deplibs_check_method=pass_all
   6434   ;;
   6435 
   6436 netbsd*)
   6437   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6438     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6439   else
   6440     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6441   fi
   6442   ;;
   6443 
   6444 newos6*)
   6445   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6446   lt_cv_file_magic_cmd=/usr/bin/file
   6447   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6448   ;;
   6449 
   6450 *nto* | *qnx*)
   6451   lt_cv_deplibs_check_method=pass_all
   6452   ;;
   6453 
   6454 openbsd*)
   6455   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6456     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6457   else
   6458     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6459   fi
   6460   ;;
   6461 
   6462 osf3* | osf4* | osf5*)
   6463   lt_cv_deplibs_check_method=pass_all
   6464   ;;
   6465 
   6466 rdos*)
   6467   lt_cv_deplibs_check_method=pass_all
   6468   ;;
   6469 
   6470 solaris*)
   6471   lt_cv_deplibs_check_method=pass_all
   6472   ;;
   6473 
   6474 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6475   lt_cv_deplibs_check_method=pass_all
   6476   ;;
   6477 
   6478 sysv4 | sysv4.3*)
   6479   case $host_vendor in
   6480   motorola)
   6481     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]'
   6482     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6483     ;;
   6484   ncr)
   6485     lt_cv_deplibs_check_method=pass_all
   6486     ;;
   6487   sequent)
   6488     lt_cv_file_magic_cmd='/bin/file'
   6489     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6490     ;;
   6491   sni)
   6492     lt_cv_file_magic_cmd='/bin/file'
   6493     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6494     lt_cv_file_magic_test_file=/lib/libc.so
   6495     ;;
   6496   siemens)
   6497     lt_cv_deplibs_check_method=pass_all
   6498     ;;
   6499   pc)
   6500     lt_cv_deplibs_check_method=pass_all
   6501     ;;
   6502   esac
   6503   ;;
   6504 
   6505 tpf*)
   6506   lt_cv_deplibs_check_method=pass_all
   6507   ;;
   6508 vxworks*)
   6509   # Assume VxWorks cross toolchains are built on Linux, possibly
   6510   # as canadian for Windows hosts.
   6511   lt_cv_deplibs_check_method=pass_all
   6512   ;;
   6513 esac
   6514 
   6515 fi
   6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6517 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6518 file_magic_cmd=$lt_cv_file_magic_cmd
   6519 deplibs_check_method=$lt_cv_deplibs_check_method
   6520 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 plugin_option=
   6534 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   6535 for plugin in $plugin_names; do
   6536   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   6537   if test x$plugin_so = x$plugin; then
   6538     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   6539   fi
   6540   if test x$plugin_so != x$plugin; then
   6541     plugin_option="--plugin $plugin_so"
   6542     break
   6543   fi
   6544 done
   6545 
   6546 if test -n "$ac_tool_prefix"; then
   6547   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6548 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6550 $as_echo_n "checking for $ac_word... " >&6; }
   6551 if ${ac_cv_prog_AR+:} false; then :
   6552   $as_echo_n "(cached) " >&6
   6553 else
   6554   if test -n "$AR"; then
   6555   ac_cv_prog_AR="$AR" # Let the user override the test.
   6556 else
   6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6558 for as_dir in $PATH
   6559 do
   6560   IFS=$as_save_IFS
   6561   test -z "$as_dir" && as_dir=.
   6562     for ac_exec_ext in '' $ac_executable_extensions; do
   6563   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6564     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6566     break 2
   6567   fi
   6568 done
   6569   done
   6570 IFS=$as_save_IFS
   6571 
   6572 fi
   6573 fi
   6574 AR=$ac_cv_prog_AR
   6575 if test -n "$AR"; then
   6576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6577 $as_echo "$AR" >&6; }
   6578 else
   6579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6580 $as_echo "no" >&6; }
   6581 fi
   6582 
   6583 
   6584 fi
   6585 if test -z "$ac_cv_prog_AR"; then
   6586   ac_ct_AR=$AR
   6587   # Extract the first word of "ar", so it can be a program name with args.
   6588 set dummy ar; ac_word=$2
   6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6590 $as_echo_n "checking for $ac_word... " >&6; }
   6591 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6592   $as_echo_n "(cached) " >&6
   6593 else
   6594   if test -n "$ac_ct_AR"; then
   6595   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6596 else
   6597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6598 for as_dir in $PATH
   6599 do
   6600   IFS=$as_save_IFS
   6601   test -z "$as_dir" && as_dir=.
   6602     for ac_exec_ext in '' $ac_executable_extensions; do
   6603   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6604     ac_cv_prog_ac_ct_AR="ar"
   6605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6606     break 2
   6607   fi
   6608 done
   6609   done
   6610 IFS=$as_save_IFS
   6611 
   6612 fi
   6613 fi
   6614 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6615 if test -n "$ac_ct_AR"; then
   6616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6617 $as_echo "$ac_ct_AR" >&6; }
   6618 else
   6619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6620 $as_echo "no" >&6; }
   6621 fi
   6622 
   6623   if test "x$ac_ct_AR" = x; then
   6624     AR="false"
   6625   else
   6626     case $cross_compiling:$ac_tool_warned in
   6627 yes:)
   6628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6630 ac_tool_warned=yes ;;
   6631 esac
   6632     AR=$ac_ct_AR
   6633   fi
   6634 else
   6635   AR="$ac_cv_prog_AR"
   6636 fi
   6637 
   6638 test -z "$AR" && AR=ar
   6639 if test -n "$plugin_option"; then
   6640   if $AR --help 2>&1 | grep -q "\--plugin"; then
   6641     touch conftest.c
   6642     $AR $plugin_option rc conftest.a conftest.c
   6643     if test "$?" != 0; then
   6644       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   6645 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   6646     else
   6647       AR="$AR $plugin_option"
   6648     fi
   6649     rm -f conftest.*
   6650   fi
   6651 fi
   6652 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 if test -n "$ac_tool_prefix"; then
   6665   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6666 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6668 $as_echo_n "checking for $ac_word... " >&6; }
   6669 if ${ac_cv_prog_STRIP+:} false; then :
   6670   $as_echo_n "(cached) " >&6
   6671 else
   6672   if test -n "$STRIP"; then
   6673   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6674 else
   6675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6676 for as_dir in $PATH
   6677 do
   6678   IFS=$as_save_IFS
   6679   test -z "$as_dir" && as_dir=.
   6680     for ac_exec_ext in '' $ac_executable_extensions; do
   6681   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6682     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6684     break 2
   6685   fi
   6686 done
   6687   done
   6688 IFS=$as_save_IFS
   6689 
   6690 fi
   6691 fi
   6692 STRIP=$ac_cv_prog_STRIP
   6693 if test -n "$STRIP"; then
   6694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6695 $as_echo "$STRIP" >&6; }
   6696 else
   6697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6698 $as_echo "no" >&6; }
   6699 fi
   6700 
   6701 
   6702 fi
   6703 if test -z "$ac_cv_prog_STRIP"; then
   6704   ac_ct_STRIP=$STRIP
   6705   # Extract the first word of "strip", so it can be a program name with args.
   6706 set dummy strip; ac_word=$2
   6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6708 $as_echo_n "checking for $ac_word... " >&6; }
   6709 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6710   $as_echo_n "(cached) " >&6
   6711 else
   6712   if test -n "$ac_ct_STRIP"; then
   6713   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6714 else
   6715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6716 for as_dir in $PATH
   6717 do
   6718   IFS=$as_save_IFS
   6719   test -z "$as_dir" && as_dir=.
   6720     for ac_exec_ext in '' $ac_executable_extensions; do
   6721   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6722     ac_cv_prog_ac_ct_STRIP="strip"
   6723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6724     break 2
   6725   fi
   6726 done
   6727   done
   6728 IFS=$as_save_IFS
   6729 
   6730 fi
   6731 fi
   6732 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6733 if test -n "$ac_ct_STRIP"; then
   6734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6735 $as_echo "$ac_ct_STRIP" >&6; }
   6736 else
   6737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6738 $as_echo "no" >&6; }
   6739 fi
   6740 
   6741   if test "x$ac_ct_STRIP" = x; then
   6742     STRIP=":"
   6743   else
   6744     case $cross_compiling:$ac_tool_warned in
   6745 yes:)
   6746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6748 ac_tool_warned=yes ;;
   6749 esac
   6750     STRIP=$ac_ct_STRIP
   6751   fi
   6752 else
   6753   STRIP="$ac_cv_prog_STRIP"
   6754 fi
   6755 
   6756 test -z "$STRIP" && STRIP=:
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 if test -n "$ac_tool_prefix"; then
   6764   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6765 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6767 $as_echo_n "checking for $ac_word... " >&6; }
   6768 if ${ac_cv_prog_RANLIB+:} false; then :
   6769   $as_echo_n "(cached) " >&6
   6770 else
   6771   if test -n "$RANLIB"; then
   6772   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6773 else
   6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6775 for as_dir in $PATH
   6776 do
   6777   IFS=$as_save_IFS
   6778   test -z "$as_dir" && as_dir=.
   6779     for ac_exec_ext in '' $ac_executable_extensions; do
   6780   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6781     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6783     break 2
   6784   fi
   6785 done
   6786   done
   6787 IFS=$as_save_IFS
   6788 
   6789 fi
   6790 fi
   6791 RANLIB=$ac_cv_prog_RANLIB
   6792 if test -n "$RANLIB"; then
   6793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6794 $as_echo "$RANLIB" >&6; }
   6795 else
   6796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6797 $as_echo "no" >&6; }
   6798 fi
   6799 
   6800 
   6801 fi
   6802 if test -z "$ac_cv_prog_RANLIB"; then
   6803   ac_ct_RANLIB=$RANLIB
   6804   # Extract the first word of "ranlib", so it can be a program name with args.
   6805 set dummy ranlib; ac_word=$2
   6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6807 $as_echo_n "checking for $ac_word... " >&6; }
   6808 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6809   $as_echo_n "(cached) " >&6
   6810 else
   6811   if test -n "$ac_ct_RANLIB"; then
   6812   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6813 else
   6814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6815 for as_dir in $PATH
   6816 do
   6817   IFS=$as_save_IFS
   6818   test -z "$as_dir" && as_dir=.
   6819     for ac_exec_ext in '' $ac_executable_extensions; do
   6820   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6821     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6823     break 2
   6824   fi
   6825 done
   6826   done
   6827 IFS=$as_save_IFS
   6828 
   6829 fi
   6830 fi
   6831 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6832 if test -n "$ac_ct_RANLIB"; then
   6833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6834 $as_echo "$ac_ct_RANLIB" >&6; }
   6835 else
   6836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6837 $as_echo "no" >&6; }
   6838 fi
   6839 
   6840   if test "x$ac_ct_RANLIB" = x; then
   6841     RANLIB=":"
   6842   else
   6843     case $cross_compiling:$ac_tool_warned in
   6844 yes:)
   6845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6847 ac_tool_warned=yes ;;
   6848 esac
   6849     RANLIB=$ac_ct_RANLIB
   6850   fi
   6851 else
   6852   RANLIB="$ac_cv_prog_RANLIB"
   6853 fi
   6854 
   6855 test -z "$RANLIB" && RANLIB=:
   6856 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   6857   if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   6858     RANLIB="$RANLIB $plugin_option"
   6859   fi
   6860 fi
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 # Determine commands to create old-style static archives.
   6868 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6869 old_postinstall_cmds='chmod 644 $oldlib'
   6870 old_postuninstall_cmds=
   6871 
   6872 if test -n "$RANLIB"; then
   6873   case $host_os in
   6874   openbsd*)
   6875     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6876     ;;
   6877   *)
   6878     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6879     ;;
   6880   esac
   6881   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6882 fi
   6883 
   6884 case $host_os in
   6885   darwin*)
   6886     lock_old_archive_extraction=yes ;;
   6887   *)
   6888     lock_old_archive_extraction=no ;;
   6889 esac
   6890 
   6891 
   6892 
   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 # If no C compiler was specified, use CC.
   6930 LTCC=${LTCC-"$CC"}
   6931 
   6932 # If no C compiler flags were specified, use CFLAGS.
   6933 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6934 
   6935 # Allow CC to be a program name with arguments.
   6936 compiler=$CC
   6937 
   6938 
   6939 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6941 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6942 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6943   $as_echo_n "(cached) " >&6
   6944 else
   6945 
   6946 # These are sane defaults that work on at least a few old systems.
   6947 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6948 
   6949 # Character class describing NM global symbol codes.
   6950 symcode='[BCDEGRST]'
   6951 
   6952 # Regexp to match symbols that can be accessed directly from C.
   6953 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6954 
   6955 # Define system-specific variables.
   6956 case $host_os in
   6957 aix*)
   6958   symcode='[BCDT]'
   6959   ;;
   6960 cygwin* | mingw* | pw32* | cegcc*)
   6961   symcode='[ABCDGISTW]'
   6962   ;;
   6963 hpux*)
   6964   if test "$host_cpu" = ia64; then
   6965     symcode='[ABCDEGRST]'
   6966   fi
   6967   ;;
   6968 irix* | nonstopux*)
   6969   symcode='[BCDEGRST]'
   6970   ;;
   6971 osf*)
   6972   symcode='[BCDEGQRST]'
   6973   ;;
   6974 solaris*)
   6975   symcode='[BCDRT]'
   6976   ;;
   6977 sco3.2v5*)
   6978   symcode='[DT]'
   6979   ;;
   6980 sysv4.2uw2*)
   6981   symcode='[DT]'
   6982   ;;
   6983 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6984   symcode='[ABDT]'
   6985   ;;
   6986 sysv4)
   6987   symcode='[DFNSTU]'
   6988   ;;
   6989 esac
   6990 
   6991 # If we're using GNU nm, then use its standard symbol codes.
   6992 case `$NM -V 2>&1` in
   6993 *GNU* | *'with BFD'*)
   6994   symcode='[ABCDGIRSTW]' ;;
   6995 esac
   6996 
   6997 # Transform an extracted symbol line into a proper C declaration.
   6998 # Some systems (esp. on ia64) link data and code symbols differently,
   6999 # so use this general approach.
   7000 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7001 
   7002 # Transform an extracted symbol line into symbol name and symbol address
   7003 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7004 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'"
   7005 
   7006 # Handle CRLF in mingw tool chain
   7007 opt_cr=
   7008 case $build_os in
   7009 mingw*)
   7010   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7011   ;;
   7012 esac
   7013 
   7014 # Try without a prefix underscore, then with it.
   7015 for ac_symprfx in "" "_"; do
   7016 
   7017   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7018   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7019 
   7020   # Write the raw and C identifiers.
   7021   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7022     # Fake it for dumpbin and say T for any non-static function
   7023     # and D for any global variable.
   7024     # Also find C++ and __fastcall symbols from MSVC++,
   7025     # which start with @ or ?.
   7026     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7027 "     {last_section=section; section=\$ 3};"\
   7028 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7029 "     \$ 0!~/External *\|/{next};"\
   7030 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7031 "     {if(hide[section]) next};"\
   7032 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7033 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7034 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7035 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7036 "     ' prfx=^$ac_symprfx"
   7037   else
   7038     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7039   fi
   7040 
   7041   # Check to see that the pipe works correctly.
   7042   pipe_works=no
   7043 
   7044   rm -f conftest*
   7045   cat > conftest.$ac_ext <<_LT_EOF
   7046 #ifdef __cplusplus
   7047 extern "C" {
   7048 #endif
   7049 char nm_test_var;
   7050 void nm_test_func(void);
   7051 void nm_test_func(void){}
   7052 #ifdef __cplusplus
   7053 }
   7054 #endif
   7055 int main(){nm_test_var='a';nm_test_func();return(0);}
   7056 _LT_EOF
   7057 
   7058   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7059   (eval $ac_compile) 2>&5
   7060   ac_status=$?
   7061   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7062   test $ac_status = 0; }; then
   7063     # Now try to grab the symbols.
   7064     nlist=conftest.nm
   7065     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7066   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7067   ac_status=$?
   7068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7069   test $ac_status = 0; } && test -s "$nlist"; then
   7070       # Try sorting and uniquifying the output.
   7071       if sort "$nlist" | uniq > "$nlist"T; then
   7072 	mv -f "$nlist"T "$nlist"
   7073       else
   7074 	rm -f "$nlist"T
   7075       fi
   7076 
   7077       # Make sure that we snagged all the symbols we need.
   7078       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7079 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7080 	  cat <<_LT_EOF > conftest.$ac_ext
   7081 #ifdef __cplusplus
   7082 extern "C" {
   7083 #endif
   7084 
   7085 _LT_EOF
   7086 	  # Now generate the symbol file.
   7087 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7088 
   7089 	  cat <<_LT_EOF >> conftest.$ac_ext
   7090 
   7091 /* The mapping between symbol names and symbols.  */
   7092 const struct {
   7093   const char *name;
   7094   void       *address;
   7095 }
   7096 lt__PROGRAM__LTX_preloaded_symbols[] =
   7097 {
   7098   { "@PROGRAM@", (void *) 0 },
   7099 _LT_EOF
   7100 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7101 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7102   {0, (void *) 0}
   7103 };
   7104 
   7105 /* This works around a problem in FreeBSD linker */
   7106 #ifdef FREEBSD_WORKAROUND
   7107 static const void *lt_preloaded_setup() {
   7108   return lt__PROGRAM__LTX_preloaded_symbols;
   7109 }
   7110 #endif
   7111 
   7112 #ifdef __cplusplus
   7113 }
   7114 #endif
   7115 _LT_EOF
   7116 	  # Now try linking the two files.
   7117 	  mv conftest.$ac_objext conftstm.$ac_objext
   7118 	  lt_save_LIBS="$LIBS"
   7119 	  lt_save_CFLAGS="$CFLAGS"
   7120 	  LIBS="conftstm.$ac_objext"
   7121 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7122 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7123   (eval $ac_link) 2>&5
   7124   ac_status=$?
   7125   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7126   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7127 	    pipe_works=yes
   7128 	  fi
   7129 	  LIBS="$lt_save_LIBS"
   7130 	  CFLAGS="$lt_save_CFLAGS"
   7131 	else
   7132 	  echo "cannot find nm_test_func in $nlist" >&5
   7133 	fi
   7134       else
   7135 	echo "cannot find nm_test_var in $nlist" >&5
   7136       fi
   7137     else
   7138       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7139     fi
   7140   else
   7141     echo "$progname: failed program was:" >&5
   7142     cat conftest.$ac_ext >&5
   7143   fi
   7144   rm -rf conftest* conftst*
   7145 
   7146   # Do not use the global_symbol_pipe unless it works.
   7147   if test "$pipe_works" = yes; then
   7148     break
   7149   else
   7150     lt_cv_sys_global_symbol_pipe=
   7151   fi
   7152 done
   7153 
   7154 fi
   7155 
   7156 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7157   lt_cv_sys_global_symbol_to_cdecl=
   7158 fi
   7159 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7161 $as_echo "failed" >&6; }
   7162 else
   7163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7164 $as_echo "ok" >&6; }
   7165 fi
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 # Check whether --enable-libtool-lock was given.
   7189 if test "${enable_libtool_lock+set}" = set; then :
   7190   enableval=$enable_libtool_lock;
   7191 fi
   7192 
   7193 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7194 
   7195 # Some flags need to be propagated to the compiler or linker for good
   7196 # libtool support.
   7197 case $host in
   7198 ia64-*-hpux*)
   7199   # Find out which ABI we are using.
   7200   echo 'int i;' > conftest.$ac_ext
   7201   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7202   (eval $ac_compile) 2>&5
   7203   ac_status=$?
   7204   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7205   test $ac_status = 0; }; then
   7206     case `/usr/bin/file conftest.$ac_objext` in
   7207       *ELF-32*)
   7208 	HPUX_IA64_MODE="32"
   7209 	;;
   7210       *ELF-64*)
   7211 	HPUX_IA64_MODE="64"
   7212 	;;
   7213     esac
   7214   fi
   7215   rm -rf conftest*
   7216   ;;
   7217 *-*-irix6*)
   7218   # Find out which ABI we are using.
   7219   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7220   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7221   (eval $ac_compile) 2>&5
   7222   ac_status=$?
   7223   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7224   test $ac_status = 0; }; then
   7225     if test "$lt_cv_prog_gnu_ld" = yes; then
   7226       case `/usr/bin/file conftest.$ac_objext` in
   7227 	*32-bit*)
   7228 	  LD="${LD-ld} -melf32bsmip"
   7229 	  ;;
   7230 	*N32*)
   7231 	  LD="${LD-ld} -melf32bmipn32"
   7232 	  ;;
   7233 	*64-bit*)
   7234 	  LD="${LD-ld} -melf64bmip"
   7235 	;;
   7236       esac
   7237     else
   7238       case `/usr/bin/file conftest.$ac_objext` in
   7239 	*32-bit*)
   7240 	  LD="${LD-ld} -32"
   7241 	  ;;
   7242 	*N32*)
   7243 	  LD="${LD-ld} -n32"
   7244 	  ;;
   7245 	*64-bit*)
   7246 	  LD="${LD-ld} -64"
   7247 	  ;;
   7248       esac
   7249     fi
   7250   fi
   7251   rm -rf conftest*
   7252   ;;
   7253 
   7254 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7255 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7256   # Find out which ABI we are using.
   7257   echo 'int i;' > conftest.$ac_ext
   7258   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7259   (eval $ac_compile) 2>&5
   7260   ac_status=$?
   7261   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7262   test $ac_status = 0; }; then
   7263     case `/usr/bin/file conftest.o` in
   7264       *32-bit*)
   7265 	case $host in
   7266 	  x86_64-*kfreebsd*-gnu)
   7267 	    LD="${LD-ld} -m elf_i386_fbsd"
   7268 	    ;;
   7269 	  x86_64-*linux*)
   7270 	    case `/usr/bin/file conftest.o` in
   7271 	      *x86-64*)
   7272 		LD="${LD-ld} -m elf32_x86_64"
   7273 		;;
   7274 	      *)
   7275 		LD="${LD-ld} -m elf_i386"
   7276 		;;
   7277 	    esac
   7278 	    ;;
   7279 	  powerpc64le-*linux*)
   7280 	    LD="${LD-ld} -m elf32lppclinux"
   7281 	    ;;
   7282 	  powerpc64-*linux*)
   7283 	    LD="${LD-ld} -m elf32ppclinux"
   7284 	    ;;
   7285 	  s390x-*linux*)
   7286 	    LD="${LD-ld} -m elf_s390"
   7287 	    ;;
   7288 	  sparc64-*linux*)
   7289 	    LD="${LD-ld} -m elf32_sparc"
   7290 	    ;;
   7291 	esac
   7292 	;;
   7293       *64-bit*)
   7294 	case $host in
   7295 	  x86_64-*kfreebsd*-gnu)
   7296 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7297 	    ;;
   7298 	  x86_64-*linux*)
   7299 	    LD="${LD-ld} -m elf_x86_64"
   7300 	    ;;
   7301 	  powerpcle-*linux*)
   7302 	    LD="${LD-ld} -m elf64lppc"
   7303 	    ;;
   7304 	  powerpc-*linux*)
   7305 	    LD="${LD-ld} -m elf64ppc"
   7306 	    ;;
   7307 	  s390*-*linux*|s390*-*tpf*)
   7308 	    LD="${LD-ld} -m elf64_s390"
   7309 	    ;;
   7310 	  sparc*-*linux*)
   7311 	    LD="${LD-ld} -m elf64_sparc"
   7312 	    ;;
   7313 	esac
   7314 	;;
   7315     esac
   7316   fi
   7317   rm -rf conftest*
   7318   ;;
   7319 
   7320 *-*-sco3.2v5*)
   7321   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7322   SAVE_CFLAGS="$CFLAGS"
   7323   CFLAGS="$CFLAGS -belf"
   7324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7325 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7326 if ${lt_cv_cc_needs_belf+:} false; then :
   7327   $as_echo_n "(cached) " >&6
   7328 else
   7329   ac_ext=c
   7330 ac_cpp='$CPP $CPPFLAGS'
   7331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7334 
   7335      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7336 /* end confdefs.h.  */
   7337 
   7338 int
   7339 main ()
   7340 {
   7341 
   7342   ;
   7343   return 0;
   7344 }
   7345 _ACEOF
   7346 if ac_fn_c_try_link "$LINENO"; then :
   7347   lt_cv_cc_needs_belf=yes
   7348 else
   7349   lt_cv_cc_needs_belf=no
   7350 fi
   7351 rm -f core conftest.err conftest.$ac_objext \
   7352     conftest$ac_exeext conftest.$ac_ext
   7353      ac_ext=c
   7354 ac_cpp='$CPP $CPPFLAGS'
   7355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7358 
   7359 fi
   7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7361 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7362   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7363     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7364     CFLAGS="$SAVE_CFLAGS"
   7365   fi
   7366   ;;
   7367 sparc*-*solaris*)
   7368   # Find out which ABI we are using.
   7369   echo 'int i;' > conftest.$ac_ext
   7370   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7371   (eval $ac_compile) 2>&5
   7372   ac_status=$?
   7373   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7374   test $ac_status = 0; }; then
   7375     case `/usr/bin/file conftest.o` in
   7376     *64-bit*)
   7377       case $lt_cv_prog_gnu_ld in
   7378       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7379       *)
   7380 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7381 	  LD="${LD-ld} -64"
   7382 	fi
   7383 	;;
   7384       esac
   7385       ;;
   7386     esac
   7387   fi
   7388   rm -rf conftest*
   7389   ;;
   7390 esac
   7391 
   7392 need_locks="$enable_libtool_lock"
   7393 
   7394 
   7395   case $host_os in
   7396     rhapsody* | darwin*)
   7397     if test -n "$ac_tool_prefix"; then
   7398   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7399 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7401 $as_echo_n "checking for $ac_word... " >&6; }
   7402 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7403   $as_echo_n "(cached) " >&6
   7404 else
   7405   if test -n "$DSYMUTIL"; then
   7406   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7407 else
   7408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7409 for as_dir in $PATH
   7410 do
   7411   IFS=$as_save_IFS
   7412   test -z "$as_dir" && as_dir=.
   7413     for ac_exec_ext in '' $ac_executable_extensions; do
   7414   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7415     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7417     break 2
   7418   fi
   7419 done
   7420   done
   7421 IFS=$as_save_IFS
   7422 
   7423 fi
   7424 fi
   7425 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7426 if test -n "$DSYMUTIL"; then
   7427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7428 $as_echo "$DSYMUTIL" >&6; }
   7429 else
   7430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7431 $as_echo "no" >&6; }
   7432 fi
   7433 
   7434 
   7435 fi
   7436 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7437   ac_ct_DSYMUTIL=$DSYMUTIL
   7438   # Extract the first word of "dsymutil", so it can be a program name with args.
   7439 set dummy dsymutil; ac_word=$2
   7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7441 $as_echo_n "checking for $ac_word... " >&6; }
   7442 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7443   $as_echo_n "(cached) " >&6
   7444 else
   7445   if test -n "$ac_ct_DSYMUTIL"; then
   7446   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7447 else
   7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7449 for as_dir in $PATH
   7450 do
   7451   IFS=$as_save_IFS
   7452   test -z "$as_dir" && as_dir=.
   7453     for ac_exec_ext in '' $ac_executable_extensions; do
   7454   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7455     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7457     break 2
   7458   fi
   7459 done
   7460   done
   7461 IFS=$as_save_IFS
   7462 
   7463 fi
   7464 fi
   7465 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7466 if test -n "$ac_ct_DSYMUTIL"; then
   7467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7468 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7469 else
   7470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7471 $as_echo "no" >&6; }
   7472 fi
   7473 
   7474   if test "x$ac_ct_DSYMUTIL" = x; then
   7475     DSYMUTIL=":"
   7476   else
   7477     case $cross_compiling:$ac_tool_warned in
   7478 yes:)
   7479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7481 ac_tool_warned=yes ;;
   7482 esac
   7483     DSYMUTIL=$ac_ct_DSYMUTIL
   7484   fi
   7485 else
   7486   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7487 fi
   7488 
   7489     if test -n "$ac_tool_prefix"; then
   7490   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7491 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7493 $as_echo_n "checking for $ac_word... " >&6; }
   7494 if ${ac_cv_prog_NMEDIT+:} false; then :
   7495   $as_echo_n "(cached) " >&6
   7496 else
   7497   if test -n "$NMEDIT"; then
   7498   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7499 else
   7500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7501 for as_dir in $PATH
   7502 do
   7503   IFS=$as_save_IFS
   7504   test -z "$as_dir" && as_dir=.
   7505     for ac_exec_ext in '' $ac_executable_extensions; do
   7506   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7507     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7509     break 2
   7510   fi
   7511 done
   7512   done
   7513 IFS=$as_save_IFS
   7514 
   7515 fi
   7516 fi
   7517 NMEDIT=$ac_cv_prog_NMEDIT
   7518 if test -n "$NMEDIT"; then
   7519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7520 $as_echo "$NMEDIT" >&6; }
   7521 else
   7522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7523 $as_echo "no" >&6; }
   7524 fi
   7525 
   7526 
   7527 fi
   7528 if test -z "$ac_cv_prog_NMEDIT"; then
   7529   ac_ct_NMEDIT=$NMEDIT
   7530   # Extract the first word of "nmedit", so it can be a program name with args.
   7531 set dummy nmedit; ac_word=$2
   7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7533 $as_echo_n "checking for $ac_word... " >&6; }
   7534 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7535   $as_echo_n "(cached) " >&6
   7536 else
   7537   if test -n "$ac_ct_NMEDIT"; then
   7538   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7539 else
   7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7541 for as_dir in $PATH
   7542 do
   7543   IFS=$as_save_IFS
   7544   test -z "$as_dir" && as_dir=.
   7545     for ac_exec_ext in '' $ac_executable_extensions; do
   7546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7547     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7549     break 2
   7550   fi
   7551 done
   7552   done
   7553 IFS=$as_save_IFS
   7554 
   7555 fi
   7556 fi
   7557 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7558 if test -n "$ac_ct_NMEDIT"; then
   7559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7560 $as_echo "$ac_ct_NMEDIT" >&6; }
   7561 else
   7562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7563 $as_echo "no" >&6; }
   7564 fi
   7565 
   7566   if test "x$ac_ct_NMEDIT" = x; then
   7567     NMEDIT=":"
   7568   else
   7569     case $cross_compiling:$ac_tool_warned in
   7570 yes:)
   7571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7573 ac_tool_warned=yes ;;
   7574 esac
   7575     NMEDIT=$ac_ct_NMEDIT
   7576   fi
   7577 else
   7578   NMEDIT="$ac_cv_prog_NMEDIT"
   7579 fi
   7580 
   7581     if test -n "$ac_tool_prefix"; then
   7582   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7583 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7585 $as_echo_n "checking for $ac_word... " >&6; }
   7586 if ${ac_cv_prog_LIPO+:} false; then :
   7587   $as_echo_n "(cached) " >&6
   7588 else
   7589   if test -n "$LIPO"; then
   7590   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7591 else
   7592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7593 for as_dir in $PATH
   7594 do
   7595   IFS=$as_save_IFS
   7596   test -z "$as_dir" && as_dir=.
   7597     for ac_exec_ext in '' $ac_executable_extensions; do
   7598   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7599     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7601     break 2
   7602   fi
   7603 done
   7604   done
   7605 IFS=$as_save_IFS
   7606 
   7607 fi
   7608 fi
   7609 LIPO=$ac_cv_prog_LIPO
   7610 if test -n "$LIPO"; then
   7611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7612 $as_echo "$LIPO" >&6; }
   7613 else
   7614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7615 $as_echo "no" >&6; }
   7616 fi
   7617 
   7618 
   7619 fi
   7620 if test -z "$ac_cv_prog_LIPO"; then
   7621   ac_ct_LIPO=$LIPO
   7622   # Extract the first word of "lipo", so it can be a program name with args.
   7623 set dummy lipo; ac_word=$2
   7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7625 $as_echo_n "checking for $ac_word... " >&6; }
   7626 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7627   $as_echo_n "(cached) " >&6
   7628 else
   7629   if test -n "$ac_ct_LIPO"; then
   7630   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7631 else
   7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7633 for as_dir in $PATH
   7634 do
   7635   IFS=$as_save_IFS
   7636   test -z "$as_dir" && as_dir=.
   7637     for ac_exec_ext in '' $ac_executable_extensions; do
   7638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7639     ac_cv_prog_ac_ct_LIPO="lipo"
   7640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7641     break 2
   7642   fi
   7643 done
   7644   done
   7645 IFS=$as_save_IFS
   7646 
   7647 fi
   7648 fi
   7649 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7650 if test -n "$ac_ct_LIPO"; then
   7651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7652 $as_echo "$ac_ct_LIPO" >&6; }
   7653 else
   7654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7655 $as_echo "no" >&6; }
   7656 fi
   7657 
   7658   if test "x$ac_ct_LIPO" = x; then
   7659     LIPO=":"
   7660   else
   7661     case $cross_compiling:$ac_tool_warned in
   7662 yes:)
   7663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7665 ac_tool_warned=yes ;;
   7666 esac
   7667     LIPO=$ac_ct_LIPO
   7668   fi
   7669 else
   7670   LIPO="$ac_cv_prog_LIPO"
   7671 fi
   7672 
   7673     if test -n "$ac_tool_prefix"; then
   7674   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7675 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7677 $as_echo_n "checking for $ac_word... " >&6; }
   7678 if ${ac_cv_prog_OTOOL+:} false; then :
   7679   $as_echo_n "(cached) " >&6
   7680 else
   7681   if test -n "$OTOOL"; then
   7682   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7683 else
   7684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7685 for as_dir in $PATH
   7686 do
   7687   IFS=$as_save_IFS
   7688   test -z "$as_dir" && as_dir=.
   7689     for ac_exec_ext in '' $ac_executable_extensions; do
   7690   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7691     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7693     break 2
   7694   fi
   7695 done
   7696   done
   7697 IFS=$as_save_IFS
   7698 
   7699 fi
   7700 fi
   7701 OTOOL=$ac_cv_prog_OTOOL
   7702 if test -n "$OTOOL"; then
   7703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7704 $as_echo "$OTOOL" >&6; }
   7705 else
   7706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7707 $as_echo "no" >&6; }
   7708 fi
   7709 
   7710 
   7711 fi
   7712 if test -z "$ac_cv_prog_OTOOL"; then
   7713   ac_ct_OTOOL=$OTOOL
   7714   # Extract the first word of "otool", so it can be a program name with args.
   7715 set dummy otool; ac_word=$2
   7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7717 $as_echo_n "checking for $ac_word... " >&6; }
   7718 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7719   $as_echo_n "(cached) " >&6
   7720 else
   7721   if test -n "$ac_ct_OTOOL"; then
   7722   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7723 else
   7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7725 for as_dir in $PATH
   7726 do
   7727   IFS=$as_save_IFS
   7728   test -z "$as_dir" && as_dir=.
   7729     for ac_exec_ext in '' $ac_executable_extensions; do
   7730   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7731     ac_cv_prog_ac_ct_OTOOL="otool"
   7732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7733     break 2
   7734   fi
   7735 done
   7736   done
   7737 IFS=$as_save_IFS
   7738 
   7739 fi
   7740 fi
   7741 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7742 if test -n "$ac_ct_OTOOL"; then
   7743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7744 $as_echo "$ac_ct_OTOOL" >&6; }
   7745 else
   7746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7747 $as_echo "no" >&6; }
   7748 fi
   7749 
   7750   if test "x$ac_ct_OTOOL" = x; then
   7751     OTOOL=":"
   7752   else
   7753     case $cross_compiling:$ac_tool_warned in
   7754 yes:)
   7755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7757 ac_tool_warned=yes ;;
   7758 esac
   7759     OTOOL=$ac_ct_OTOOL
   7760   fi
   7761 else
   7762   OTOOL="$ac_cv_prog_OTOOL"
   7763 fi
   7764 
   7765     if test -n "$ac_tool_prefix"; then
   7766   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7767 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7769 $as_echo_n "checking for $ac_word... " >&6; }
   7770 if ${ac_cv_prog_OTOOL64+:} false; then :
   7771   $as_echo_n "(cached) " >&6
   7772 else
   7773   if test -n "$OTOOL64"; then
   7774   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7775 else
   7776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7777 for as_dir in $PATH
   7778 do
   7779   IFS=$as_save_IFS
   7780   test -z "$as_dir" && as_dir=.
   7781     for ac_exec_ext in '' $ac_executable_extensions; do
   7782   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7783     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7785     break 2
   7786   fi
   7787 done
   7788   done
   7789 IFS=$as_save_IFS
   7790 
   7791 fi
   7792 fi
   7793 OTOOL64=$ac_cv_prog_OTOOL64
   7794 if test -n "$OTOOL64"; then
   7795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7796 $as_echo "$OTOOL64" >&6; }
   7797 else
   7798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7799 $as_echo "no" >&6; }
   7800 fi
   7801 
   7802 
   7803 fi
   7804 if test -z "$ac_cv_prog_OTOOL64"; then
   7805   ac_ct_OTOOL64=$OTOOL64
   7806   # Extract the first word of "otool64", so it can be a program name with args.
   7807 set dummy otool64; ac_word=$2
   7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7809 $as_echo_n "checking for $ac_word... " >&6; }
   7810 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7811   $as_echo_n "(cached) " >&6
   7812 else
   7813   if test -n "$ac_ct_OTOOL64"; then
   7814   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7815 else
   7816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7817 for as_dir in $PATH
   7818 do
   7819   IFS=$as_save_IFS
   7820   test -z "$as_dir" && as_dir=.
   7821     for ac_exec_ext in '' $ac_executable_extensions; do
   7822   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7823     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7825     break 2
   7826   fi
   7827 done
   7828   done
   7829 IFS=$as_save_IFS
   7830 
   7831 fi
   7832 fi
   7833 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7834 if test -n "$ac_ct_OTOOL64"; then
   7835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7836 $as_echo "$ac_ct_OTOOL64" >&6; }
   7837 else
   7838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7839 $as_echo "no" >&6; }
   7840 fi
   7841 
   7842   if test "x$ac_ct_OTOOL64" = x; then
   7843     OTOOL64=":"
   7844   else
   7845     case $cross_compiling:$ac_tool_warned in
   7846 yes:)
   7847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7849 ac_tool_warned=yes ;;
   7850 esac
   7851     OTOOL64=$ac_ct_OTOOL64
   7852   fi
   7853 else
   7854   OTOOL64="$ac_cv_prog_OTOOL64"
   7855 fi
   7856 
   7857 
   7858 
   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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7884 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7885 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7886   $as_echo_n "(cached) " >&6
   7887 else
   7888   lt_cv_apple_cc_single_mod=no
   7889       if test -z "${LT_MULTI_MODULE}"; then
   7890 	# By default we will add the -single_module flag. You can override
   7891 	# by either setting the environment variable LT_MULTI_MODULE
   7892 	# non-empty at configure time, or by adding -multi_module to the
   7893 	# link flags.
   7894 	rm -rf libconftest.dylib*
   7895 	echo "int foo(void){return 1;}" > conftest.c
   7896 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7897 -dynamiclib -Wl,-single_module conftest.c" >&5
   7898 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7899 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7900         _lt_result=$?
   7901 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7902 	  lt_cv_apple_cc_single_mod=yes
   7903 	else
   7904 	  cat conftest.err >&5
   7905 	fi
   7906 	rm -rf libconftest.dylib*
   7907 	rm -f conftest.*
   7908       fi
   7909 fi
   7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7911 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7912     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7913 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7914 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7915   $as_echo_n "(cached) " >&6
   7916 else
   7917   lt_cv_ld_exported_symbols_list=no
   7918       save_LDFLAGS=$LDFLAGS
   7919       echo "_main" > conftest.sym
   7920       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7922 /* end confdefs.h.  */
   7923 
   7924 int
   7925 main ()
   7926 {
   7927 
   7928   ;
   7929   return 0;
   7930 }
   7931 _ACEOF
   7932 if ac_fn_c_try_link "$LINENO"; then :
   7933   lt_cv_ld_exported_symbols_list=yes
   7934 else
   7935   lt_cv_ld_exported_symbols_list=no
   7936 fi
   7937 rm -f core conftest.err conftest.$ac_objext \
   7938     conftest$ac_exeext conftest.$ac_ext
   7939 	LDFLAGS="$save_LDFLAGS"
   7940 
   7941 fi
   7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7943 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7944     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7945 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7946 if ${lt_cv_ld_force_load+:} false; then :
   7947   $as_echo_n "(cached) " >&6
   7948 else
   7949   lt_cv_ld_force_load=no
   7950       cat > conftest.c << _LT_EOF
   7951 int forced_loaded() { return 2;}
   7952 _LT_EOF
   7953       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7954       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7955       echo "$AR cru libconftest.a conftest.o" >&5
   7956       $AR cru libconftest.a conftest.o 2>&5
   7957       cat > conftest.c << _LT_EOF
   7958 int main() { return 0;}
   7959 _LT_EOF
   7960       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7961       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7962       _lt_result=$?
   7963       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7964 	lt_cv_ld_force_load=yes
   7965       else
   7966 	cat conftest.err >&5
   7967       fi
   7968         rm -f conftest.err libconftest.a conftest conftest.c
   7969         rm -rf conftest.dSYM
   7970 
   7971 fi
   7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7973 $as_echo "$lt_cv_ld_force_load" >&6; }
   7974     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   7975     # build without first building modern cctools / linker.
   7976     case $host_cpu-$host_os in
   7977     *-rhapsody* | *-darwin1.[012])
   7978       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7979     *-darwin1.*)
   7980       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7981     *-darwin*)
   7982       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   7983       # deployment target is forced to an earlier version.
   7984       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   7985 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   7986 	  ;;
   7987 	10.[012][,.]*)
   7988 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   7989 	  ;;
   7990 	*)
   7991 	  ;;
   7992      esac
   7993     ;;
   7994   esac
   7995     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7996       _lt_dar_single_mod='$single_module'
   7997     fi
   7998     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7999       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8000     else
   8001       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8002     fi
   8003     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8004       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8005     else
   8006       _lt_dsymutil=
   8007     fi
   8008     ;;
   8009   esac
   8010 
   8011 for ac_header in dlfcn.h
   8012 do :
   8013   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8014 "
   8015 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8016   cat >>confdefs.h <<_ACEOF
   8017 #define HAVE_DLFCN_H 1
   8018 _ACEOF
   8019 
   8020 fi
   8021 
   8022 done
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 # Set options
   8030 
   8031 
   8032 
   8033         enable_dlopen=no
   8034 
   8035 
   8036   enable_win32_dll=no
   8037 
   8038 
   8039             # Check whether --enable-shared was given.
   8040 if test "${enable_shared+set}" = set; then :
   8041   enableval=$enable_shared; p=${PACKAGE-default}
   8042     case $enableval in
   8043     yes) enable_shared=yes ;;
   8044     no) enable_shared=no ;;
   8045     *)
   8046       enable_shared=no
   8047       # Look at the argument we got.  We use all the common list separators.
   8048       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8049       for pkg in $enableval; do
   8050 	IFS="$lt_save_ifs"
   8051 	if test "X$pkg" = "X$p"; then
   8052 	  enable_shared=yes
   8053 	fi
   8054       done
   8055       IFS="$lt_save_ifs"
   8056       ;;
   8057     esac
   8058 else
   8059   enable_shared=yes
   8060 fi
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070   # Check whether --enable-static was given.
   8071 if test "${enable_static+set}" = set; then :
   8072   enableval=$enable_static; p=${PACKAGE-default}
   8073     case $enableval in
   8074     yes) enable_static=yes ;;
   8075     no) enable_static=no ;;
   8076     *)
   8077      enable_static=no
   8078       # Look at the argument we got.  We use all the common list separators.
   8079       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8080       for pkg in $enableval; do
   8081 	IFS="$lt_save_ifs"
   8082 	if test "X$pkg" = "X$p"; then
   8083 	  enable_static=yes
   8084 	fi
   8085       done
   8086       IFS="$lt_save_ifs"
   8087       ;;
   8088     esac
   8089 else
   8090   enable_static=yes
   8091 fi
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 # Check whether --with-pic was given.
   8103 if test "${with_pic+set}" = set; then :
   8104   withval=$with_pic; pic_mode="$withval"
   8105 else
   8106   pic_mode=default
   8107 fi
   8108 
   8109 
   8110 test -z "$pic_mode" && pic_mode=default
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118   # Check whether --enable-fast-install was given.
   8119 if test "${enable_fast_install+set}" = set; then :
   8120   enableval=$enable_fast_install; p=${PACKAGE-default}
   8121     case $enableval in
   8122     yes) enable_fast_install=yes ;;
   8123     no) enable_fast_install=no ;;
   8124     *)
   8125       enable_fast_install=no
   8126       # Look at the argument we got.  We use all the common list separators.
   8127       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8128       for pkg in $enableval; do
   8129 	IFS="$lt_save_ifs"
   8130 	if test "X$pkg" = "X$p"; then
   8131 	  enable_fast_install=yes
   8132 	fi
   8133       done
   8134       IFS="$lt_save_ifs"
   8135       ;;
   8136     esac
   8137 else
   8138   enable_fast_install=yes
   8139 fi
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 # This can be used to rebuild libtool when needed
   8152 LIBTOOL_DEPS="$ltmain"
   8153 
   8154 # Always use our own libtool.
   8155 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8156 
   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 test -z "$LN_S" && LN_S="ln -s"
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 if test -n "${ZSH_VERSION+set}" ; then
   8198    setopt NO_GLOB_SUBST
   8199 fi
   8200 
   8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8202 $as_echo_n "checking for objdir... " >&6; }
   8203 if ${lt_cv_objdir+:} false; then :
   8204   $as_echo_n "(cached) " >&6
   8205 else
   8206   rm -f .libs 2>/dev/null
   8207 mkdir .libs 2>/dev/null
   8208 if test -d .libs; then
   8209   lt_cv_objdir=.libs
   8210 else
   8211   # MS-DOS does not allow filenames that begin with a dot.
   8212   lt_cv_objdir=_libs
   8213 fi
   8214 rmdir .libs 2>/dev/null
   8215 fi
   8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8217 $as_echo "$lt_cv_objdir" >&6; }
   8218 objdir=$lt_cv_objdir
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 cat >>confdefs.h <<_ACEOF
   8225 #define LT_OBJDIR "$lt_cv_objdir/"
   8226 _ACEOF
   8227 
   8228 
   8229 
   8230 
   8231 case $host_os in
   8232 aix3*)
   8233   # AIX sometimes has problems with the GCC collect2 program.  For some
   8234   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8235   # vanish in a puff of smoke.
   8236   if test "X${COLLECT_NAMES+set}" != Xset; then
   8237     COLLECT_NAMES=
   8238     export COLLECT_NAMES
   8239   fi
   8240   ;;
   8241 esac
   8242 
   8243 # Global variables:
   8244 ofile=libtool
   8245 can_build_shared=yes
   8246 
   8247 # All known linkers require a `.a' archive for static linking (except MSVC,
   8248 # which needs '.lib').
   8249 libext=a
   8250 
   8251 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8252 
   8253 old_CC="$CC"
   8254 old_CFLAGS="$CFLAGS"
   8255 
   8256 # Set sane defaults for various variables
   8257 test -z "$CC" && CC=cc
   8258 test -z "$LTCC" && LTCC=$CC
   8259 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8260 test -z "$LD" && LD=ld
   8261 test -z "$ac_objext" && ac_objext=o
   8262 
   8263 for cc_temp in $compiler""; do
   8264   case $cc_temp in
   8265     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8266     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8267     \-*) ;;
   8268     *) break;;
   8269   esac
   8270 done
   8271 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8272 
   8273 
   8274 # Only perform the check for file, if the check method requires it
   8275 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8276 case $deplibs_check_method in
   8277 file_magic*)
   8278   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8279     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8280 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8281 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8282   $as_echo_n "(cached) " >&6
   8283 else
   8284   case $MAGIC_CMD in
   8285 [\\/*] |  ?:[\\/]*)
   8286   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8287   ;;
   8288 *)
   8289   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8290   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8291   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8292   for ac_dir in $ac_dummy; do
   8293     IFS="$lt_save_ifs"
   8294     test -z "$ac_dir" && ac_dir=.
   8295     if test -f $ac_dir/${ac_tool_prefix}file; then
   8296       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8297       if test -n "$file_magic_test_file"; then
   8298 	case $deplibs_check_method in
   8299 	"file_magic "*)
   8300 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8301 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8302 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8303 	    $EGREP "$file_magic_regex" > /dev/null; then
   8304 	    :
   8305 	  else
   8306 	    cat <<_LT_EOF 1>&2
   8307 
   8308 *** Warning: the command libtool uses to detect shared libraries,
   8309 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8310 *** The result is that libtool may fail to recognize shared libraries
   8311 *** as such.  This will affect the creation of libtool libraries that
   8312 *** depend on shared libraries, but programs linked with such libtool
   8313 *** libraries will work regardless of this problem.  Nevertheless, you
   8314 *** may want to report the problem to your system manager and/or to
   8315 *** bug-libtool@gnu.org
   8316 
   8317 _LT_EOF
   8318 	  fi ;;
   8319 	esac
   8320       fi
   8321       break
   8322     fi
   8323   done
   8324   IFS="$lt_save_ifs"
   8325   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8326   ;;
   8327 esac
   8328 fi
   8329 
   8330 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8331 if test -n "$MAGIC_CMD"; then
   8332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8333 $as_echo "$MAGIC_CMD" >&6; }
   8334 else
   8335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8336 $as_echo "no" >&6; }
   8337 fi
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8344   if test -n "$ac_tool_prefix"; then
   8345     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8346 $as_echo_n "checking for file... " >&6; }
   8347 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8348   $as_echo_n "(cached) " >&6
   8349 else
   8350   case $MAGIC_CMD in
   8351 [\\/*] |  ?:[\\/]*)
   8352   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8353   ;;
   8354 *)
   8355   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8356   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8357   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8358   for ac_dir in $ac_dummy; do
   8359     IFS="$lt_save_ifs"
   8360     test -z "$ac_dir" && ac_dir=.
   8361     if test -f $ac_dir/file; then
   8362       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8363       if test -n "$file_magic_test_file"; then
   8364 	case $deplibs_check_method in
   8365 	"file_magic "*)
   8366 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8367 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8368 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8369 	    $EGREP "$file_magic_regex" > /dev/null; then
   8370 	    :
   8371 	  else
   8372 	    cat <<_LT_EOF 1>&2
   8373 
   8374 *** Warning: the command libtool uses to detect shared libraries,
   8375 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8376 *** The result is that libtool may fail to recognize shared libraries
   8377 *** as such.  This will affect the creation of libtool libraries that
   8378 *** depend on shared libraries, but programs linked with such libtool
   8379 *** libraries will work regardless of this problem.  Nevertheless, you
   8380 *** may want to report the problem to your system manager and/or to
   8381 *** bug-libtool@gnu.org
   8382 
   8383 _LT_EOF
   8384 	  fi ;;
   8385 	esac
   8386       fi
   8387       break
   8388     fi
   8389   done
   8390   IFS="$lt_save_ifs"
   8391   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8392   ;;
   8393 esac
   8394 fi
   8395 
   8396 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8397 if test -n "$MAGIC_CMD"; then
   8398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8399 $as_echo "$MAGIC_CMD" >&6; }
   8400 else
   8401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8402 $as_echo "no" >&6; }
   8403 fi
   8404 
   8405 
   8406   else
   8407     MAGIC_CMD=:
   8408   fi
   8409 fi
   8410 
   8411   fi
   8412   ;;
   8413 esac
   8414 
   8415 # Use C for the default configuration in the libtool script
   8416 
   8417 lt_save_CC="$CC"
   8418 ac_ext=c
   8419 ac_cpp='$CPP $CPPFLAGS'
   8420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8423 
   8424 
   8425 # Source file extension for C test sources.
   8426 ac_ext=c
   8427 
   8428 # Object file extension for compiled C test sources.
   8429 objext=o
   8430 objext=$objext
   8431 
   8432 # Code to be used in simple compile tests
   8433 lt_simple_compile_test_code="int some_variable = 0;"
   8434 
   8435 # Code to be used in simple link tests
   8436 lt_simple_link_test_code='int main(){return(0);}'
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 # If no C compiler was specified, use CC.
   8445 LTCC=${LTCC-"$CC"}
   8446 
   8447 # If no C compiler flags were specified, use CFLAGS.
   8448 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8449 
   8450 # Allow CC to be a program name with arguments.
   8451 compiler=$CC
   8452 
   8453 # Save the default compiler, since it gets overwritten when the other
   8454 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8455 compiler_DEFAULT=$CC
   8456 
   8457 # save warnings/boilerplate of simple test code
   8458 ac_outfile=conftest.$ac_objext
   8459 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8460 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8461 _lt_compiler_boilerplate=`cat conftest.err`
   8462 $RM conftest*
   8463 
   8464 ac_outfile=conftest.$ac_objext
   8465 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8466 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8467 _lt_linker_boilerplate=`cat conftest.err`
   8468 $RM -r conftest*
   8469 
   8470 
   8471 ## CAVEAT EMPTOR:
   8472 ## There is no encapsulation within the following macros, do not change
   8473 ## the running order or otherwise move them around unless you know exactly
   8474 ## what you are doing...
   8475 if test -n "$compiler"; then
   8476 
   8477 lt_prog_compiler_no_builtin_flag=
   8478 
   8479 if test "$GCC" = yes; then
   8480   case $cc_basename in
   8481   nvcc*)
   8482     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8483   *)
   8484     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8485   esac
   8486 
   8487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8488 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8489 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8490   $as_echo_n "(cached) " >&6
   8491 else
   8492   lt_cv_prog_compiler_rtti_exceptions=no
   8493    ac_outfile=conftest.$ac_objext
   8494    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8495    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8496    # Insert the option either (1) after the last *FLAGS variable, or
   8497    # (2) before a word containing "conftest.", or (3) at the end.
   8498    # Note that $ac_compile itself does not contain backslashes and begins
   8499    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8500    # The option is referenced via a variable to avoid confusing sed.
   8501    lt_compile=`echo "$ac_compile" | $SED \
   8502    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8503    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8504    -e 's:$: $lt_compiler_flag:'`
   8505    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8506    (eval "$lt_compile" 2>conftest.err)
   8507    ac_status=$?
   8508    cat conftest.err >&5
   8509    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8510    if (exit $ac_status) && test -s "$ac_outfile"; then
   8511      # The compiler can only warn and ignore the option if not recognized
   8512      # So say no if there are warnings other than the usual output.
   8513      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8514      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8515      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8516        lt_cv_prog_compiler_rtti_exceptions=yes
   8517      fi
   8518    fi
   8519    $RM conftest*
   8520 
   8521 fi
   8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8523 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8524 
   8525 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8526     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8527 else
   8528     :
   8529 fi
   8530 
   8531 fi
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538   lt_prog_compiler_wl=
   8539 lt_prog_compiler_pic=
   8540 lt_prog_compiler_static=
   8541 
   8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8543 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8544 
   8545   if test "$GCC" = yes; then
   8546     lt_prog_compiler_wl='-Wl,'
   8547     lt_prog_compiler_static='-static'
   8548 
   8549     case $host_os in
   8550       aix*)
   8551       # All AIX code is PIC.
   8552       if test "$host_cpu" = ia64; then
   8553 	# AIX 5 now supports IA64 processor
   8554 	lt_prog_compiler_static='-Bstatic'
   8555       fi
   8556       lt_prog_compiler_pic='-fPIC'
   8557       ;;
   8558 
   8559     amigaos*)
   8560       case $host_cpu in
   8561       powerpc)
   8562             # see comment about AmigaOS4 .so support
   8563             lt_prog_compiler_pic='-fPIC'
   8564         ;;
   8565       m68k)
   8566             # FIXME: we need at least 68020 code to build shared libraries, but
   8567             # adding the `-m68020' flag to GCC prevents building anything better,
   8568             # like `-m68040'.
   8569             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8570         ;;
   8571       esac
   8572       ;;
   8573 
   8574     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8575       # PIC is the default for these OSes.
   8576       ;;
   8577 
   8578     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8579       # This hack is so that the source file can tell whether it is being
   8580       # built for inclusion in a dll (and should export symbols for example).
   8581       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8582       # (--disable-auto-import) libraries
   8583       lt_prog_compiler_pic='-DDLL_EXPORT'
   8584       ;;
   8585 
   8586     darwin* | rhapsody*)
   8587       # PIC is the default on this platform
   8588       # Common symbols not allowed in MH_DYLIB files
   8589       lt_prog_compiler_pic='-fno-common'
   8590       ;;
   8591 
   8592     haiku*)
   8593       # PIC is the default for Haiku.
   8594       # The "-static" flag exists, but is broken.
   8595       lt_prog_compiler_static=
   8596       ;;
   8597 
   8598     hpux*)
   8599       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8600       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8601       # sets the default TLS model and affects inlining.
   8602       case $host_cpu in
   8603       hppa*64*)
   8604 	# +Z the default
   8605 	;;
   8606       *)
   8607 	lt_prog_compiler_pic='-fPIC'
   8608 	;;
   8609       esac
   8610       ;;
   8611 
   8612     interix[3-9]*)
   8613       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8614       # Instead, we relocate shared libraries at runtime.
   8615       ;;
   8616 
   8617     msdosdjgpp*)
   8618       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8619       # on systems that don't support them.
   8620       lt_prog_compiler_can_build_shared=no
   8621       enable_shared=no
   8622       ;;
   8623 
   8624     *nto* | *qnx*)
   8625       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8626       # it will coredump.
   8627       lt_prog_compiler_pic='-fPIC -shared'
   8628       ;;
   8629 
   8630     sysv4*MP*)
   8631       if test -d /usr/nec; then
   8632 	lt_prog_compiler_pic=-Kconform_pic
   8633       fi
   8634       ;;
   8635 
   8636     *)
   8637       lt_prog_compiler_pic='-fPIC'
   8638       ;;
   8639     esac
   8640 
   8641     case $cc_basename in
   8642     nvcc*) # Cuda Compiler Driver 2.2
   8643       lt_prog_compiler_wl='-Xlinker '
   8644       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8645       ;;
   8646     esac
   8647   else
   8648     # PORTME Check for flag to pass linker flags through the system compiler.
   8649     case $host_os in
   8650     aix*)
   8651       lt_prog_compiler_wl='-Wl,'
   8652       if test "$host_cpu" = ia64; then
   8653 	# AIX 5 now supports IA64 processor
   8654 	lt_prog_compiler_static='-Bstatic'
   8655       else
   8656 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8657       fi
   8658       ;;
   8659 
   8660     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8661       # This hack is so that the source file can tell whether it is being
   8662       # built for inclusion in a dll (and should export symbols for example).
   8663       lt_prog_compiler_pic='-DDLL_EXPORT'
   8664       ;;
   8665 
   8666     hpux9* | hpux10* | hpux11*)
   8667       lt_prog_compiler_wl='-Wl,'
   8668       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8669       # not for PA HP-UX.
   8670       case $host_cpu in
   8671       hppa*64*|ia64*)
   8672 	# +Z the default
   8673 	;;
   8674       *)
   8675 	lt_prog_compiler_pic='+Z'
   8676 	;;
   8677       esac
   8678       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8679       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8680       ;;
   8681 
   8682     irix5* | irix6* | nonstopux*)
   8683       lt_prog_compiler_wl='-Wl,'
   8684       # PIC (with -KPIC) is the default.
   8685       lt_prog_compiler_static='-non_shared'
   8686       ;;
   8687 
   8688     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8689       case $cc_basename in
   8690       # old Intel for x86_64 which still supported -KPIC.
   8691       ecc*)
   8692 	lt_prog_compiler_wl='-Wl,'
   8693 	lt_prog_compiler_pic='-KPIC'
   8694 	lt_prog_compiler_static='-static'
   8695         ;;
   8696       # icc used to be incompatible with GCC.
   8697       # ICC 10 doesn't accept -KPIC any more.
   8698       icc* | ifort*)
   8699 	lt_prog_compiler_wl='-Wl,'
   8700 	lt_prog_compiler_pic='-fPIC'
   8701 	lt_prog_compiler_static='-static'
   8702         ;;
   8703       # Lahey Fortran 8.1.
   8704       lf95*)
   8705 	lt_prog_compiler_wl='-Wl,'
   8706 	lt_prog_compiler_pic='--shared'
   8707 	lt_prog_compiler_static='--static'
   8708 	;;
   8709       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8710         # Portland Group compilers (*not* the Pentium gcc compiler,
   8711 	# which looks to be a dead project)
   8712 	lt_prog_compiler_wl='-Wl,'
   8713 	lt_prog_compiler_pic='-fpic'
   8714 	lt_prog_compiler_static='-Bstatic'
   8715         ;;
   8716       ccc*)
   8717         lt_prog_compiler_wl='-Wl,'
   8718         # All Alpha code is PIC.
   8719         lt_prog_compiler_static='-non_shared'
   8720         ;;
   8721       xl* | bgxl* | bgf* | mpixl*)
   8722 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8723 	lt_prog_compiler_wl='-Wl,'
   8724 	lt_prog_compiler_pic='-qpic'
   8725 	lt_prog_compiler_static='-qstaticlink'
   8726 	;;
   8727       *)
   8728 	case `$CC -V 2>&1 | sed 5q` in
   8729 	*Sun\ F* | *Sun*Fortran*)
   8730 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8731 	  lt_prog_compiler_pic='-KPIC'
   8732 	  lt_prog_compiler_static='-Bstatic'
   8733 	  lt_prog_compiler_wl=''
   8734 	  ;;
   8735 	*Sun\ C*)
   8736 	  # Sun C 5.9
   8737 	  lt_prog_compiler_pic='-KPIC'
   8738 	  lt_prog_compiler_static='-Bstatic'
   8739 	  lt_prog_compiler_wl='-Wl,'
   8740 	  ;;
   8741 	esac
   8742 	;;
   8743       esac
   8744       ;;
   8745 
   8746     newsos6)
   8747       lt_prog_compiler_pic='-KPIC'
   8748       lt_prog_compiler_static='-Bstatic'
   8749       ;;
   8750 
   8751     *nto* | *qnx*)
   8752       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8753       # it will coredump.
   8754       lt_prog_compiler_pic='-fPIC -shared'
   8755       ;;
   8756 
   8757     osf3* | osf4* | osf5*)
   8758       lt_prog_compiler_wl='-Wl,'
   8759       # All OSF/1 code is PIC.
   8760       lt_prog_compiler_static='-non_shared'
   8761       ;;
   8762 
   8763     rdos*)
   8764       lt_prog_compiler_static='-non_shared'
   8765       ;;
   8766 
   8767     solaris*)
   8768       lt_prog_compiler_pic='-KPIC'
   8769       lt_prog_compiler_static='-Bstatic'
   8770       case $cc_basename in
   8771       f77* | f90* | f95*)
   8772 	lt_prog_compiler_wl='-Qoption ld ';;
   8773       *)
   8774 	lt_prog_compiler_wl='-Wl,';;
   8775       esac
   8776       ;;
   8777 
   8778     sunos4*)
   8779       lt_prog_compiler_wl='-Qoption ld '
   8780       lt_prog_compiler_pic='-PIC'
   8781       lt_prog_compiler_static='-Bstatic'
   8782       ;;
   8783 
   8784     sysv4 | sysv4.2uw2* | sysv4.3*)
   8785       lt_prog_compiler_wl='-Wl,'
   8786       lt_prog_compiler_pic='-KPIC'
   8787       lt_prog_compiler_static='-Bstatic'
   8788       ;;
   8789 
   8790     sysv4*MP*)
   8791       if test -d /usr/nec ;then
   8792 	lt_prog_compiler_pic='-Kconform_pic'
   8793 	lt_prog_compiler_static='-Bstatic'
   8794       fi
   8795       ;;
   8796 
   8797     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8798       lt_prog_compiler_wl='-Wl,'
   8799       lt_prog_compiler_pic='-KPIC'
   8800       lt_prog_compiler_static='-Bstatic'
   8801       ;;
   8802 
   8803     unicos*)
   8804       lt_prog_compiler_wl='-Wl,'
   8805       lt_prog_compiler_can_build_shared=no
   8806       ;;
   8807 
   8808     uts4*)
   8809       lt_prog_compiler_pic='-pic'
   8810       lt_prog_compiler_static='-Bstatic'
   8811       ;;
   8812 
   8813     *)
   8814       lt_prog_compiler_can_build_shared=no
   8815       ;;
   8816     esac
   8817   fi
   8818 
   8819 case $host_os in
   8820   # For platforms which do not support PIC, -DPIC is meaningless:
   8821   *djgpp*)
   8822     lt_prog_compiler_pic=
   8823     ;;
   8824   *)
   8825     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8826     ;;
   8827 esac
   8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8829 $as_echo "$lt_prog_compiler_pic" >&6; }
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 #
   8837 # Check to make sure the PIC flag actually works.
   8838 #
   8839 if test -n "$lt_prog_compiler_pic"; then
   8840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8841 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8842 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8843   $as_echo_n "(cached) " >&6
   8844 else
   8845   lt_cv_prog_compiler_pic_works=no
   8846    ac_outfile=conftest.$ac_objext
   8847    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8848    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8849    # Insert the option either (1) after the last *FLAGS variable, or
   8850    # (2) before a word containing "conftest.", or (3) at the end.
   8851    # Note that $ac_compile itself does not contain backslashes and begins
   8852    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8853    # The option is referenced via a variable to avoid confusing sed.
   8854    lt_compile=`echo "$ac_compile" | $SED \
   8855    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8856    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8857    -e 's:$: $lt_compiler_flag:'`
   8858    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8859    (eval "$lt_compile" 2>conftest.err)
   8860    ac_status=$?
   8861    cat conftest.err >&5
   8862    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8863    if (exit $ac_status) && test -s "$ac_outfile"; then
   8864      # The compiler can only warn and ignore the option if not recognized
   8865      # So say no if there are warnings other than the usual output.
   8866      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8867      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8868      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8869        lt_cv_prog_compiler_pic_works=yes
   8870      fi
   8871    fi
   8872    $RM conftest*
   8873 
   8874 fi
   8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8876 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8877 
   8878 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8879     case $lt_prog_compiler_pic in
   8880      "" | " "*) ;;
   8881      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8882      esac
   8883 else
   8884     lt_prog_compiler_pic=
   8885      lt_prog_compiler_can_build_shared=no
   8886 fi
   8887 
   8888 fi
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 #
   8896 # Check to make sure the static flag actually works.
   8897 #
   8898 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8900 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8901 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8902   $as_echo_n "(cached) " >&6
   8903 else
   8904   lt_cv_prog_compiler_static_works=no
   8905    save_LDFLAGS="$LDFLAGS"
   8906    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8907    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8908    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8909      # The linker can only warn and ignore the option if not recognized
   8910      # So say no if there are warnings
   8911      if test -s conftest.err; then
   8912        # Append any errors to the config.log.
   8913        cat conftest.err 1>&5
   8914        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8915        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8916        if diff conftest.exp conftest.er2 >/dev/null; then
   8917          lt_cv_prog_compiler_static_works=yes
   8918        fi
   8919      else
   8920        lt_cv_prog_compiler_static_works=yes
   8921      fi
   8922    fi
   8923    $RM -r conftest*
   8924    LDFLAGS="$save_LDFLAGS"
   8925 
   8926 fi
   8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8928 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8929 
   8930 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8931     :
   8932 else
   8933     lt_prog_compiler_static=
   8934 fi
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8943 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8944 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8945   $as_echo_n "(cached) " >&6
   8946 else
   8947   lt_cv_prog_compiler_c_o=no
   8948    $RM -r conftest 2>/dev/null
   8949    mkdir conftest
   8950    cd conftest
   8951    mkdir out
   8952    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8953 
   8954    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8955    # Insert the option either (1) after the last *FLAGS variable, or
   8956    # (2) before a word containing "conftest.", or (3) at the end.
   8957    # Note that $ac_compile itself does not contain backslashes and begins
   8958    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8959    lt_compile=`echo "$ac_compile" | $SED \
   8960    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8961    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8962    -e 's:$: $lt_compiler_flag:'`
   8963    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8964    (eval "$lt_compile" 2>out/conftest.err)
   8965    ac_status=$?
   8966    cat out/conftest.err >&5
   8967    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8968    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8969    then
   8970      # The compiler can only warn and ignore the option if not recognized
   8971      # So say no if there are warnings
   8972      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8973      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8974      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8975        lt_cv_prog_compiler_c_o=yes
   8976      fi
   8977    fi
   8978    chmod u+w . 2>&5
   8979    $RM conftest*
   8980    # SGI C++ compiler will create directory out/ii_files/ for
   8981    # template instantiation
   8982    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8983    $RM out/* && rmdir out
   8984    cd ..
   8985    $RM -r conftest
   8986    $RM conftest*
   8987 
   8988 fi
   8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8990 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8998 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8999 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9000   $as_echo_n "(cached) " >&6
   9001 else
   9002   lt_cv_prog_compiler_c_o=no
   9003    $RM -r conftest 2>/dev/null
   9004    mkdir conftest
   9005    cd conftest
   9006    mkdir out
   9007    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9008 
   9009    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9010    # Insert the option either (1) after the last *FLAGS variable, or
   9011    # (2) before a word containing "conftest.", or (3) at the end.
   9012    # Note that $ac_compile itself does not contain backslashes and begins
   9013    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9014    lt_compile=`echo "$ac_compile" | $SED \
   9015    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9016    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9017    -e 's:$: $lt_compiler_flag:'`
   9018    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9019    (eval "$lt_compile" 2>out/conftest.err)
   9020    ac_status=$?
   9021    cat out/conftest.err >&5
   9022    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9023    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9024    then
   9025      # The compiler can only warn and ignore the option if not recognized
   9026      # So say no if there are warnings
   9027      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9028      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9029      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9030        lt_cv_prog_compiler_c_o=yes
   9031      fi
   9032    fi
   9033    chmod u+w . 2>&5
   9034    $RM conftest*
   9035    # SGI C++ compiler will create directory out/ii_files/ for
   9036    # template instantiation
   9037    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9038    $RM out/* && rmdir out
   9039    cd ..
   9040    $RM -r conftest
   9041    $RM conftest*
   9042 
   9043 fi
   9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9045 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9046 
   9047 
   9048 
   9049 
   9050 hard_links="nottested"
   9051 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9052   # do not overwrite the value of need_locks provided by the user
   9053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9054 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9055   hard_links=yes
   9056   $RM conftest*
   9057   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9058   touch conftest.a
   9059   ln conftest.a conftest.b 2>&5 || hard_links=no
   9060   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9062 $as_echo "$hard_links" >&6; }
   9063   if test "$hard_links" = no; then
   9064     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9065 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9066     need_locks=warn
   9067   fi
   9068 else
   9069   need_locks=no
   9070 fi
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9078 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9079 
   9080   runpath_var=
   9081   allow_undefined_flag=
   9082   always_export_symbols=no
   9083   archive_cmds=
   9084   archive_expsym_cmds=
   9085   compiler_needs_object=no
   9086   enable_shared_with_static_runtimes=no
   9087   export_dynamic_flag_spec=
   9088   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9089   hardcode_automatic=no
   9090   hardcode_direct=no
   9091   hardcode_direct_absolute=no
   9092   hardcode_libdir_flag_spec=
   9093   hardcode_libdir_flag_spec_ld=
   9094   hardcode_libdir_separator=
   9095   hardcode_minus_L=no
   9096   hardcode_shlibpath_var=unsupported
   9097   inherit_rpath=no
   9098   link_all_deplibs=unknown
   9099   module_cmds=
   9100   module_expsym_cmds=
   9101   old_archive_from_new_cmds=
   9102   old_archive_from_expsyms_cmds=
   9103   thread_safe_flag_spec=
   9104   whole_archive_flag_spec=
   9105   # include_expsyms should be a list of space-separated symbols to be *always*
   9106   # included in the symbol list
   9107   include_expsyms=
   9108   # exclude_expsyms can be an extended regexp of symbols to exclude
   9109   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9110   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9111   # as well as any symbol that contains `d'.
   9112   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9113   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9114   # platforms (ab)use it in PIC code, but their linkers get confused if
   9115   # the symbol is explicitly referenced.  Since portable code cannot
   9116   # rely on this symbol name, it's probably fine to never include it in
   9117   # preloaded symbol tables.
   9118   # Exclude shared library initialization/finalization symbols.
   9119   extract_expsyms_cmds=
   9120 
   9121   case $host_os in
   9122   cygwin* | mingw* | pw32* | cegcc*)
   9123     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9124     # When not using gcc, we currently assume that we are using
   9125     # Microsoft Visual C++.
   9126     if test "$GCC" != yes; then
   9127       with_gnu_ld=no
   9128     fi
   9129     ;;
   9130   interix*)
   9131     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9132     with_gnu_ld=yes
   9133     ;;
   9134   openbsd*)
   9135     with_gnu_ld=no
   9136     ;;
   9137   esac
   9138 
   9139   ld_shlibs=yes
   9140 
   9141   # On some targets, GNU ld is compatible enough with the native linker
   9142   # that we're better off using the native interface for both.
   9143   lt_use_gnu_ld_interface=no
   9144   if test "$with_gnu_ld" = yes; then
   9145     case $host_os in
   9146       aix*)
   9147 	# The AIX port of GNU ld has always aspired to compatibility
   9148 	# with the native linker.  However, as the warning in the GNU ld
   9149 	# block says, versions before 2.19.5* couldn't really create working
   9150 	# shared libraries, regardless of the interface used.
   9151 	case `$LD -v 2>&1` in
   9152 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9153 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9154 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9155 	  *)
   9156 	    lt_use_gnu_ld_interface=yes
   9157 	    ;;
   9158 	esac
   9159 	;;
   9160       *)
   9161 	lt_use_gnu_ld_interface=yes
   9162 	;;
   9163     esac
   9164   fi
   9165 
   9166   if test "$lt_use_gnu_ld_interface" = yes; then
   9167     # If archive_cmds runs LD, not CC, wlarc should be empty
   9168     wlarc='${wl}'
   9169 
   9170     # Set some defaults for GNU ld with shared library support. These
   9171     # are reset later if shared libraries are not supported. Putting them
   9172     # here allows them to be overridden if necessary.
   9173     runpath_var=LD_RUN_PATH
   9174     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9175     export_dynamic_flag_spec='${wl}--export-dynamic'
   9176     # ancient GNU ld didn't support --whole-archive et. al.
   9177     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9178       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9179     else
   9180       whole_archive_flag_spec=
   9181     fi
   9182     supports_anon_versioning=no
   9183     case `$LD -v 2>&1` in
   9184       *GNU\ gold*) supports_anon_versioning=yes ;;
   9185       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9186       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9187       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9188       *\ 2.11.*) ;; # other 2.11 versions
   9189       *) supports_anon_versioning=yes ;;
   9190     esac
   9191 
   9192     # See if GNU ld supports shared libraries.
   9193     case $host_os in
   9194     aix[3-9]*)
   9195       # On AIX/PPC, the GNU linker is very broken
   9196       if test "$host_cpu" != ia64; then
   9197 	ld_shlibs=no
   9198 	cat <<_LT_EOF 1>&2
   9199 
   9200 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9201 *** to be unable to reliably create shared libraries on AIX.
   9202 *** Therefore, libtool is disabling shared libraries support.  If you
   9203 *** really care for shared libraries, you may want to install binutils
   9204 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9205 *** You will then need to restart the configuration process.
   9206 
   9207 _LT_EOF
   9208       fi
   9209       ;;
   9210 
   9211     amigaos*)
   9212       case $host_cpu in
   9213       powerpc)
   9214             # see comment about AmigaOS4 .so support
   9215             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9216             archive_expsym_cmds=''
   9217         ;;
   9218       m68k)
   9219             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)'
   9220             hardcode_libdir_flag_spec='-L$libdir'
   9221             hardcode_minus_L=yes
   9222         ;;
   9223       esac
   9224       ;;
   9225 
   9226     beos*)
   9227       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9228 	allow_undefined_flag=unsupported
   9229 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9230 	# support --undefined.  This deserves some investigation.  FIXME
   9231 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9232       else
   9233 	ld_shlibs=no
   9234       fi
   9235       ;;
   9236 
   9237     cygwin* | mingw* | pw32* | cegcc*)
   9238       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9239       # as there is no search path for DLLs.
   9240       hardcode_libdir_flag_spec='-L$libdir'
   9241       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9242       allow_undefined_flag=unsupported
   9243       always_export_symbols=no
   9244       enable_shared_with_static_runtimes=yes
   9245       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9246 
   9247       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9248         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9249 	# If the export-symbols file already is a .def file (1st line
   9250 	# is EXPORTS), use it as is; otherwise, prepend...
   9251 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9252 	  cp $export_symbols $output_objdir/$soname.def;
   9253 	else
   9254 	  echo EXPORTS > $output_objdir/$soname.def;
   9255 	  cat $export_symbols >> $output_objdir/$soname.def;
   9256 	fi~
   9257 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9258       else
   9259 	ld_shlibs=no
   9260       fi
   9261       ;;
   9262 
   9263     haiku*)
   9264       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9265       link_all_deplibs=yes
   9266       ;;
   9267 
   9268     interix[3-9]*)
   9269       hardcode_direct=no
   9270       hardcode_shlibpath_var=no
   9271       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9272       export_dynamic_flag_spec='${wl}-E'
   9273       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9274       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9275       # default) and relocated if they conflict, which is a slow very memory
   9276       # consuming and fragmenting process.  To avoid this, we pick a random,
   9277       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9278       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9279       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9280       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'
   9281       ;;
   9282 
   9283     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   9284       tmp_diet=no
   9285       if test "$host_os" = linux-dietlibc; then
   9286 	case $cc_basename in
   9287 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9288 	esac
   9289       fi
   9290       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9291 	 && test "$tmp_diet" = no
   9292       then
   9293 	tmp_addflag=' $pic_flag'
   9294 	tmp_sharedflag='-shared'
   9295 	case $cc_basename,$host_cpu in
   9296         pgcc*)				# Portland Group C compiler
   9297 	  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'
   9298 	  tmp_addflag=' $pic_flag'
   9299 	  ;;
   9300 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9301 					# Portland Group f77 and f90 compilers
   9302 	  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'
   9303 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9304 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9305 	  tmp_addflag=' -i_dynamic' ;;
   9306 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9307 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9308 	ifc* | ifort*)			# Intel Fortran compiler
   9309 	  tmp_addflag=' -nofor_main' ;;
   9310 	lf95*)				# Lahey Fortran 8.1
   9311 	  whole_archive_flag_spec=
   9312 	  tmp_sharedflag='--shared' ;;
   9313 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9314 	  tmp_sharedflag='-qmkshrobj'
   9315 	  tmp_addflag= ;;
   9316 	nvcc*)	# Cuda Compiler Driver 2.2
   9317 	  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'
   9318 	  compiler_needs_object=yes
   9319 	  ;;
   9320 	esac
   9321 	case `$CC -V 2>&1 | sed 5q` in
   9322 	*Sun\ C*)			# Sun C 5.9
   9323 	  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'
   9324 	  compiler_needs_object=yes
   9325 	  tmp_sharedflag='-G' ;;
   9326 	*Sun\ F*)			# Sun Fortran 8.3
   9327 	  tmp_sharedflag='-G' ;;
   9328 	esac
   9329 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9330 
   9331         if test "x$supports_anon_versioning" = xyes; then
   9332           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9333 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9334 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9335 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9336         fi
   9337 
   9338 	case $cc_basename in
   9339 	xlf* | bgf* | bgxlf* | mpixlf*)
   9340 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9341 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9342 	  hardcode_libdir_flag_spec=
   9343 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9344 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9345 	  if test "x$supports_anon_versioning" = xyes; then
   9346 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9347 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9348 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9349 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9350 	  fi
   9351 	  ;;
   9352 	esac
   9353       else
   9354         ld_shlibs=no
   9355       fi
   9356       ;;
   9357 
   9358     netbsd*)
   9359       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9360 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9361 	wlarc=
   9362       else
   9363 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9364 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9365       fi
   9366       ;;
   9367 
   9368     solaris*)
   9369       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9370 	ld_shlibs=no
   9371 	cat <<_LT_EOF 1>&2
   9372 
   9373 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9374 *** create shared libraries on Solaris systems.  Therefore, libtool
   9375 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9376 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9377 *** your PATH or compiler configuration so that the native linker is
   9378 *** used, and then restart.
   9379 
   9380 _LT_EOF
   9381       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9382 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9383 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9384       else
   9385 	ld_shlibs=no
   9386       fi
   9387       ;;
   9388 
   9389     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9390       case `$LD -v 2>&1` in
   9391         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9392 	ld_shlibs=no
   9393 	cat <<_LT_EOF 1>&2
   9394 
   9395 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9396 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9397 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9398 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9399 *** your PATH or compiler configuration so that the native linker is
   9400 *** used, and then restart.
   9401 
   9402 _LT_EOF
   9403 	;;
   9404 	*)
   9405 	  # For security reasons, it is highly recommended that you always
   9406 	  # use absolute paths for naming shared libraries, and exclude the
   9407 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9408 	  # requires that you compile everything twice, which is a pain.
   9409 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9410 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9411 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9412 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9413 	  else
   9414 	    ld_shlibs=no
   9415 	  fi
   9416 	;;
   9417       esac
   9418       ;;
   9419 
   9420     sunos4*)
   9421       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9422       wlarc=
   9423       hardcode_direct=yes
   9424       hardcode_shlibpath_var=no
   9425       ;;
   9426 
   9427     *)
   9428       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9429 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9430 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9431       else
   9432 	ld_shlibs=no
   9433       fi
   9434       ;;
   9435     esac
   9436 
   9437     if test "$ld_shlibs" = no; then
   9438       runpath_var=
   9439       hardcode_libdir_flag_spec=
   9440       export_dynamic_flag_spec=
   9441       whole_archive_flag_spec=
   9442     fi
   9443   else
   9444     # PORTME fill in a description of your system's linker (not GNU ld)
   9445     case $host_os in
   9446     aix3*)
   9447       allow_undefined_flag=unsupported
   9448       always_export_symbols=yes
   9449       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'
   9450       # Note: this linker hardcodes the directories in LIBPATH if there
   9451       # are no directories specified by -L.
   9452       hardcode_minus_L=yes
   9453       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9454 	# Neither direct hardcoding nor static linking is supported with a
   9455 	# broken collect2.
   9456 	hardcode_direct=unsupported
   9457       fi
   9458       ;;
   9459 
   9460     aix[4-9]*)
   9461       if test "$host_cpu" = ia64; then
   9462 	# On IA64, the linker does run time linking by default, so we don't
   9463 	# have to do anything special.
   9464 	aix_use_runtimelinking=no
   9465 	exp_sym_flag='-Bexport'
   9466 	no_entry_flag=""
   9467       else
   9468 	# If we're using GNU nm, then we don't want the "-C" option.
   9469 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9470 	# Also, AIX nm treats weak defined symbols like other global
   9471 	# defined symbols, whereas GNU nm marks them as "W".
   9472 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9473 	  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'
   9474 	else
   9475 	  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'
   9476 	fi
   9477 	aix_use_runtimelinking=no
   9478 
   9479 	# Test if we are trying to use run time linking or normal
   9480 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9481 	# need to do runtime linking.
   9482 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9483 	  for ld_flag in $LDFLAGS; do
   9484 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9485 	    aix_use_runtimelinking=yes
   9486 	    break
   9487 	  fi
   9488 	  done
   9489 	  ;;
   9490 	esac
   9491 
   9492 	exp_sym_flag='-bexport'
   9493 	no_entry_flag='-bnoentry'
   9494       fi
   9495 
   9496       # When large executables or shared objects are built, AIX ld can
   9497       # have problems creating the table of contents.  If linking a library
   9498       # or program results in "error TOC overflow" add -mminimal-toc to
   9499       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9500       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9501 
   9502       archive_cmds=''
   9503       hardcode_direct=yes
   9504       hardcode_direct_absolute=yes
   9505       hardcode_libdir_separator=':'
   9506       link_all_deplibs=yes
   9507       file_list_spec='${wl}-f,'
   9508 
   9509       if test "$GCC" = yes; then
   9510 	case $host_os in aix4.[012]|aix4.[012].*)
   9511 	# We only want to do this on AIX 4.2 and lower, the check
   9512 	# below for broken collect2 doesn't work under 4.3+
   9513 	  collect2name=`${CC} -print-prog-name=collect2`
   9514 	  if test -f "$collect2name" &&
   9515 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9516 	  then
   9517 	  # We have reworked collect2
   9518 	  :
   9519 	  else
   9520 	  # We have old collect2
   9521 	  hardcode_direct=unsupported
   9522 	  # It fails to find uninstalled libraries when the uninstalled
   9523 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9524 	  # to unsupported forces relinking
   9525 	  hardcode_minus_L=yes
   9526 	  hardcode_libdir_flag_spec='-L$libdir'
   9527 	  hardcode_libdir_separator=
   9528 	  fi
   9529 	  ;;
   9530 	esac
   9531 	shared_flag='-shared'
   9532 	if test "$aix_use_runtimelinking" = yes; then
   9533 	  shared_flag="$shared_flag "'${wl}-G'
   9534 	fi
   9535       else
   9536 	# not using gcc
   9537 	if test "$host_cpu" = ia64; then
   9538 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9539 	# chokes on -Wl,-G. The following line is correct:
   9540 	  shared_flag='-G'
   9541 	else
   9542 	  if test "$aix_use_runtimelinking" = yes; then
   9543 	    shared_flag='${wl}-G'
   9544 	  else
   9545 	    shared_flag='${wl}-bM:SRE'
   9546 	  fi
   9547 	fi
   9548       fi
   9549 
   9550       export_dynamic_flag_spec='${wl}-bexpall'
   9551       # It seems that -bexpall does not export symbols beginning with
   9552       # underscore (_), so it is better to generate a list of symbols to export.
   9553       always_export_symbols=yes
   9554       if test "$aix_use_runtimelinking" = yes; then
   9555 	# Warning - without using the other runtime loading flags (-brtl),
   9556 	# -berok will link without error, but may produce a broken library.
   9557 	allow_undefined_flag='-berok'
   9558         # Determine the default libpath from the value encoded in an
   9559         # empty executable.
   9560         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9561 /* end confdefs.h.  */
   9562 
   9563 int
   9564 main ()
   9565 {
   9566 
   9567   ;
   9568   return 0;
   9569 }
   9570 _ACEOF
   9571 if ac_fn_c_try_link "$LINENO"; then :
   9572 
   9573 lt_aix_libpath_sed='
   9574     /Import File Strings/,/^$/ {
   9575 	/^0/ {
   9576 	    s/^0  *\(.*\)$/\1/
   9577 	    p
   9578 	}
   9579     }'
   9580 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9581 # Check for a 64-bit object if we didn't find anything.
   9582 if test -z "$aix_libpath"; then
   9583   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9584 fi
   9585 fi
   9586 rm -f core conftest.err conftest.$ac_objext \
   9587     conftest$ac_exeext conftest.$ac_ext
   9588 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9589 
   9590         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9591         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"
   9592       else
   9593 	if test "$host_cpu" = ia64; then
   9594 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9595 	  allow_undefined_flag="-z nodefs"
   9596 	  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"
   9597 	else
   9598 	 # Determine the default libpath from the value encoded in an
   9599 	 # empty executable.
   9600 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9601 /* end confdefs.h.  */
   9602 
   9603 int
   9604 main ()
   9605 {
   9606 
   9607   ;
   9608   return 0;
   9609 }
   9610 _ACEOF
   9611 if ac_fn_c_try_link "$LINENO"; then :
   9612 
   9613 lt_aix_libpath_sed='
   9614     /Import File Strings/,/^$/ {
   9615 	/^0/ {
   9616 	    s/^0  *\(.*\)$/\1/
   9617 	    p
   9618 	}
   9619     }'
   9620 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9621 # Check for a 64-bit object if we didn't find anything.
   9622 if test -z "$aix_libpath"; then
   9623   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9624 fi
   9625 fi
   9626 rm -f core conftest.err conftest.$ac_objext \
   9627     conftest$ac_exeext conftest.$ac_ext
   9628 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9629 
   9630 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9631 	  # Warning - without using the other run time loading flags,
   9632 	  # -berok will link without error, but may produce a broken library.
   9633 	  no_undefined_flag=' ${wl}-bernotok'
   9634 	  allow_undefined_flag=' ${wl}-berok'
   9635 	  if test "$with_gnu_ld" = yes; then
   9636 	    # We only use this code for GNU lds that support --whole-archive.
   9637 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9638 	  else
   9639 	    # Exported symbols can be pulled into shared objects from archives
   9640 	    whole_archive_flag_spec='$convenience'
   9641 	  fi
   9642 	  archive_cmds_need_lc=yes
   9643 	  # This is similar to how AIX traditionally builds its shared libraries.
   9644 	  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'
   9645 	fi
   9646       fi
   9647       ;;
   9648 
   9649     amigaos*)
   9650       case $host_cpu in
   9651       powerpc)
   9652             # see comment about AmigaOS4 .so support
   9653             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9654             archive_expsym_cmds=''
   9655         ;;
   9656       m68k)
   9657             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)'
   9658             hardcode_libdir_flag_spec='-L$libdir'
   9659             hardcode_minus_L=yes
   9660         ;;
   9661       esac
   9662       ;;
   9663 
   9664     bsdi[45]*)
   9665       export_dynamic_flag_spec=-rdynamic
   9666       ;;
   9667 
   9668     cygwin* | mingw* | pw32* | cegcc*)
   9669       # When not using gcc, we currently assume that we are using
   9670       # Microsoft Visual C++.
   9671       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9672       # no search path for DLLs.
   9673       hardcode_libdir_flag_spec=' '
   9674       allow_undefined_flag=unsupported
   9675       # Tell ltmain to make .lib files, not .a files.
   9676       libext=lib
   9677       # Tell ltmain to make .dll files, not .so files.
   9678       shrext_cmds=".dll"
   9679       # FIXME: Setting linknames here is a bad hack.
   9680       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9681       # The linker will automatically build a .lib file if we build a DLL.
   9682       old_archive_from_new_cmds='true'
   9683       # FIXME: Should let the user specify the lib program.
   9684       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9685       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9686       enable_shared_with_static_runtimes=yes
   9687       ;;
   9688 
   9689     darwin* | rhapsody*)
   9690 
   9691 
   9692   archive_cmds_need_lc=no
   9693   hardcode_direct=no
   9694   hardcode_automatic=yes
   9695   hardcode_shlibpath_var=unsupported
   9696   if test "$lt_cv_ld_force_load" = "yes"; then
   9697     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\"`'
   9698   else
   9699     whole_archive_flag_spec=''
   9700   fi
   9701   link_all_deplibs=yes
   9702   allow_undefined_flag="$_lt_dar_allow_undefined"
   9703   case $cc_basename in
   9704      ifort*) _lt_dar_can_shared=yes ;;
   9705      *) _lt_dar_can_shared=$GCC ;;
   9706   esac
   9707   if test "$_lt_dar_can_shared" = "yes"; then
   9708     output_verbose_link_cmd=func_echo_all
   9709     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9710     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9711     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}"
   9712     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}"
   9713 
   9714   else
   9715   ld_shlibs=no
   9716   fi
   9717 
   9718       ;;
   9719 
   9720     dgux*)
   9721       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9722       hardcode_libdir_flag_spec='-L$libdir'
   9723       hardcode_shlibpath_var=no
   9724       ;;
   9725 
   9726     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9727     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9728     # does not break anything, and helps significantly (at the cost of a little
   9729     # extra space).
   9730     freebsd2.2*)
   9731       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9732       hardcode_libdir_flag_spec='-R$libdir'
   9733       hardcode_direct=yes
   9734       hardcode_shlibpath_var=no
   9735       ;;
   9736 
   9737     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9738     freebsd2.*)
   9739       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9740       hardcode_direct=yes
   9741       hardcode_minus_L=yes
   9742       hardcode_shlibpath_var=no
   9743       ;;
   9744 
   9745     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9746     freebsd* | dragonfly*)
   9747       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9748       hardcode_libdir_flag_spec='-R$libdir'
   9749       hardcode_direct=yes
   9750       hardcode_shlibpath_var=no
   9751       ;;
   9752 
   9753     hpux9*)
   9754       if test "$GCC" = yes; then
   9755 	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'
   9756       else
   9757 	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'
   9758       fi
   9759       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9760       hardcode_libdir_separator=:
   9761       hardcode_direct=yes
   9762 
   9763       # hardcode_minus_L: Not really in the search PATH,
   9764       # but as the default location of the library.
   9765       hardcode_minus_L=yes
   9766       export_dynamic_flag_spec='${wl}-E'
   9767       ;;
   9768 
   9769     hpux10*)
   9770       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9771 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9772       else
   9773 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9774       fi
   9775       if test "$with_gnu_ld" = no; then
   9776 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9777 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9778 	hardcode_libdir_separator=:
   9779 	hardcode_direct=yes
   9780 	hardcode_direct_absolute=yes
   9781 	export_dynamic_flag_spec='${wl}-E'
   9782 	# hardcode_minus_L: Not really in the search PATH,
   9783 	# but as the default location of the library.
   9784 	hardcode_minus_L=yes
   9785       fi
   9786       ;;
   9787 
   9788     hpux11*)
   9789       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9790 	case $host_cpu in
   9791 	hppa*64*)
   9792 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9793 	  ;;
   9794 	ia64*)
   9795 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9796 	  ;;
   9797 	*)
   9798 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9799 	  ;;
   9800 	esac
   9801       else
   9802 	case $host_cpu in
   9803 	hppa*64*)
   9804 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9805 	  ;;
   9806 	ia64*)
   9807 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9808 	  ;;
   9809 	*)
   9810 
   9811 	  # Older versions of the 11.00 compiler do not understand -b yet
   9812 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9813 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9814 $as_echo_n "checking if $CC understands -b... " >&6; }
   9815 if ${lt_cv_prog_compiler__b+:} false; then :
   9816   $as_echo_n "(cached) " >&6
   9817 else
   9818   lt_cv_prog_compiler__b=no
   9819    save_LDFLAGS="$LDFLAGS"
   9820    LDFLAGS="$LDFLAGS -b"
   9821    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9822    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9823      # The linker can only warn and ignore the option if not recognized
   9824      # So say no if there are warnings
   9825      if test -s conftest.err; then
   9826        # Append any errors to the config.log.
   9827        cat conftest.err 1>&5
   9828        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9829        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9830        if diff conftest.exp conftest.er2 >/dev/null; then
   9831          lt_cv_prog_compiler__b=yes
   9832        fi
   9833      else
   9834        lt_cv_prog_compiler__b=yes
   9835      fi
   9836    fi
   9837    $RM -r conftest*
   9838    LDFLAGS="$save_LDFLAGS"
   9839 
   9840 fi
   9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9842 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9843 
   9844 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9845     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9846 else
   9847     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9848 fi
   9849 
   9850 	  ;;
   9851 	esac
   9852       fi
   9853       if test "$with_gnu_ld" = no; then
   9854 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9855 	hardcode_libdir_separator=:
   9856 
   9857 	case $host_cpu in
   9858 	hppa*64*|ia64*)
   9859 	  hardcode_direct=no
   9860 	  hardcode_shlibpath_var=no
   9861 	  ;;
   9862 	*)
   9863 	  hardcode_direct=yes
   9864 	  hardcode_direct_absolute=yes
   9865 	  export_dynamic_flag_spec='${wl}-E'
   9866 
   9867 	  # hardcode_minus_L: Not really in the search PATH,
   9868 	  # but as the default location of the library.
   9869 	  hardcode_minus_L=yes
   9870 	  ;;
   9871 	esac
   9872       fi
   9873       ;;
   9874 
   9875     irix5* | irix6* | nonstopux*)
   9876       if test "$GCC" = yes; then
   9877 	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'
   9878 	# Try to use the -exported_symbol ld option, if it does not
   9879 	# work, assume that -exports_file does not work either and
   9880 	# implicitly export all symbols.
   9881         save_LDFLAGS="$LDFLAGS"
   9882         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9883         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9884 /* end confdefs.h.  */
   9885 int foo(void) {}
   9886 _ACEOF
   9887 if ac_fn_c_try_link "$LINENO"; then :
   9888   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'
   9889 
   9890 fi
   9891 rm -f core conftest.err conftest.$ac_objext \
   9892     conftest$ac_exeext conftest.$ac_ext
   9893         LDFLAGS="$save_LDFLAGS"
   9894       else
   9895 	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'
   9896 	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'
   9897       fi
   9898       archive_cmds_need_lc='no'
   9899       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9900       hardcode_libdir_separator=:
   9901       inherit_rpath=yes
   9902       link_all_deplibs=yes
   9903       ;;
   9904 
   9905     netbsd*)
   9906       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9907 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9908       else
   9909 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9910       fi
   9911       hardcode_libdir_flag_spec='-R$libdir'
   9912       hardcode_direct=yes
   9913       hardcode_shlibpath_var=no
   9914       ;;
   9915 
   9916     newsos6)
   9917       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9918       hardcode_direct=yes
   9919       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9920       hardcode_libdir_separator=:
   9921       hardcode_shlibpath_var=no
   9922       ;;
   9923 
   9924     *nto* | *qnx*)
   9925       ;;
   9926 
   9927     openbsd*)
   9928       if test -f /usr/libexec/ld.so; then
   9929 	hardcode_direct=yes
   9930 	hardcode_shlibpath_var=no
   9931 	hardcode_direct_absolute=yes
   9932 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9933 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9934 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9935 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9936 	  export_dynamic_flag_spec='${wl}-E'
   9937 	else
   9938 	  case $host_os in
   9939 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9940 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9941 	     hardcode_libdir_flag_spec='-R$libdir'
   9942 	     ;;
   9943 	   *)
   9944 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9945 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9946 	     ;;
   9947 	  esac
   9948 	fi
   9949       else
   9950 	ld_shlibs=no
   9951       fi
   9952       ;;
   9953 
   9954     os2*)
   9955       hardcode_libdir_flag_spec='-L$libdir'
   9956       hardcode_minus_L=yes
   9957       allow_undefined_flag=unsupported
   9958       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'
   9959       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9960       ;;
   9961 
   9962     osf3*)
   9963       if test "$GCC" = yes; then
   9964 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9965 	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'
   9966       else
   9967 	allow_undefined_flag=' -expect_unresolved \*'
   9968 	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'
   9969       fi
   9970       archive_cmds_need_lc='no'
   9971       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9972       hardcode_libdir_separator=:
   9973       ;;
   9974 
   9975     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9976       if test "$GCC" = yes; then
   9977 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9978 	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'
   9979 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9980       else
   9981 	allow_undefined_flag=' -expect_unresolved \*'
   9982 	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'
   9983 	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~
   9984 	$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'
   9985 
   9986 	# Both c and cxx compiler support -rpath directly
   9987 	hardcode_libdir_flag_spec='-rpath $libdir'
   9988       fi
   9989       archive_cmds_need_lc='no'
   9990       hardcode_libdir_separator=:
   9991       ;;
   9992 
   9993     solaris*)
   9994       no_undefined_flag=' -z defs'
   9995       if test "$GCC" = yes; then
   9996 	wlarc='${wl}'
   9997 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9998 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9999 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10000       else
   10001 	case `$CC -V 2>&1` in
   10002 	*"Compilers 5.0"*)
   10003 	  wlarc=''
   10004 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10005 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10006 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10007 	  ;;
   10008 	*)
   10009 	  wlarc='${wl}'
   10010 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10011 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10012 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10013 	  ;;
   10014 	esac
   10015       fi
   10016       hardcode_libdir_flag_spec='-R$libdir'
   10017       hardcode_shlibpath_var=no
   10018       case $host_os in
   10019       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10020       *)
   10021 	# The compiler driver will combine and reorder linker options,
   10022 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10023 	# but is careful enough not to reorder.
   10024 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10025 	if test "$GCC" = yes; then
   10026 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10027 	else
   10028 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10029 	fi
   10030 	;;
   10031       esac
   10032       link_all_deplibs=yes
   10033       ;;
   10034 
   10035     sunos4*)
   10036       if test "x$host_vendor" = xsequent; then
   10037 	# Use $CC to link under sequent, because it throws in some extra .o
   10038 	# files that make .init and .fini sections work.
   10039 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10040       else
   10041 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10042       fi
   10043       hardcode_libdir_flag_spec='-L$libdir'
   10044       hardcode_direct=yes
   10045       hardcode_minus_L=yes
   10046       hardcode_shlibpath_var=no
   10047       ;;
   10048 
   10049     sysv4)
   10050       case $host_vendor in
   10051 	sni)
   10052 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10053 	  hardcode_direct=yes # is this really true???
   10054 	;;
   10055 	siemens)
   10056 	  ## LD is ld it makes a PLAMLIB
   10057 	  ## CC just makes a GrossModule.
   10058 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10059 	  reload_cmds='$CC -r -o $output$reload_objs'
   10060 	  hardcode_direct=no
   10061         ;;
   10062 	motorola)
   10063 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10064 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10065 	;;
   10066       esac
   10067       runpath_var='LD_RUN_PATH'
   10068       hardcode_shlibpath_var=no
   10069       ;;
   10070 
   10071     sysv4.3*)
   10072       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10073       hardcode_shlibpath_var=no
   10074       export_dynamic_flag_spec='-Bexport'
   10075       ;;
   10076 
   10077     sysv4*MP*)
   10078       if test -d /usr/nec; then
   10079 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10080 	hardcode_shlibpath_var=no
   10081 	runpath_var=LD_RUN_PATH
   10082 	hardcode_runpath_var=yes
   10083 	ld_shlibs=yes
   10084       fi
   10085       ;;
   10086 
   10087     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10088       no_undefined_flag='${wl}-z,text'
   10089       archive_cmds_need_lc=no
   10090       hardcode_shlibpath_var=no
   10091       runpath_var='LD_RUN_PATH'
   10092 
   10093       if test "$GCC" = yes; then
   10094 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10095 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10096       else
   10097 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10098 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10099       fi
   10100       ;;
   10101 
   10102     sysv5* | sco3.2v5* | sco5v6*)
   10103       # Note: We can NOT use -z defs as we might desire, because we do not
   10104       # link with -lc, and that would cause any symbols used from libc to
   10105       # always be unresolved, which means just about no library would
   10106       # ever link correctly.  If we're not using GNU ld we use -z text
   10107       # though, which does catch some bad symbols but isn't as heavy-handed
   10108       # as -z defs.
   10109       no_undefined_flag='${wl}-z,text'
   10110       allow_undefined_flag='${wl}-z,nodefs'
   10111       archive_cmds_need_lc=no
   10112       hardcode_shlibpath_var=no
   10113       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10114       hardcode_libdir_separator=':'
   10115       link_all_deplibs=yes
   10116       export_dynamic_flag_spec='${wl}-Bexport'
   10117       runpath_var='LD_RUN_PATH'
   10118 
   10119       if test "$GCC" = yes; then
   10120 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10121 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10122       else
   10123 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10124 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10125       fi
   10126       ;;
   10127 
   10128     uts4*)
   10129       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10130       hardcode_libdir_flag_spec='-L$libdir'
   10131       hardcode_shlibpath_var=no
   10132       ;;
   10133 
   10134     *)
   10135       ld_shlibs=no
   10136       ;;
   10137     esac
   10138 
   10139     if test x$host_vendor = xsni; then
   10140       case $host in
   10141       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10142 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10143 	;;
   10144       esac
   10145     fi
   10146   fi
   10147 
   10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10149 $as_echo "$ld_shlibs" >&6; }
   10150 test "$ld_shlibs" = no && can_build_shared=no
   10151 
   10152 with_gnu_ld=$with_gnu_ld
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 #
   10169 # Do we need to explicitly link libc?
   10170 #
   10171 case "x$archive_cmds_need_lc" in
   10172 x|xyes)
   10173   # Assume -lc should be added
   10174   archive_cmds_need_lc=yes
   10175 
   10176   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10177     case $archive_cmds in
   10178     *'~'*)
   10179       # FIXME: we may have to deal with multi-command sequences.
   10180       ;;
   10181     '$CC '*)
   10182       # Test whether the compiler implicitly links with -lc since on some
   10183       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10184       # to ld, don't add -lc before -lgcc.
   10185       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10186 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10187 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10188   $as_echo_n "(cached) " >&6
   10189 else
   10190   $RM conftest*
   10191 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10192 
   10193 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10194   (eval $ac_compile) 2>&5
   10195   ac_status=$?
   10196   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10197   test $ac_status = 0; } 2>conftest.err; then
   10198 	  soname=conftest
   10199 	  lib=conftest
   10200 	  libobjs=conftest.$ac_objext
   10201 	  deplibs=
   10202 	  wl=$lt_prog_compiler_wl
   10203 	  pic_flag=$lt_prog_compiler_pic
   10204 	  compiler_flags=-v
   10205 	  linker_flags=-v
   10206 	  verstring=
   10207 	  output_objdir=.
   10208 	  libname=conftest
   10209 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10210 	  allow_undefined_flag=
   10211 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10212   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10213   ac_status=$?
   10214   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10215   test $ac_status = 0; }
   10216 	  then
   10217 	    lt_cv_archive_cmds_need_lc=no
   10218 	  else
   10219 	    lt_cv_archive_cmds_need_lc=yes
   10220 	  fi
   10221 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10222 	else
   10223 	  cat conftest.err 1>&5
   10224 	fi
   10225 	$RM conftest*
   10226 
   10227 fi
   10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10229 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10230       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10231       ;;
   10232     esac
   10233   fi
   10234   ;;
   10235 esac
   10236 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10394 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10395 
   10396 if test "$GCC" = yes; then
   10397   case $host_os in
   10398     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10399     *) lt_awk_arg="/^libraries:/" ;;
   10400   esac
   10401   case $host_os in
   10402     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10403     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10404   esac
   10405   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10406   case $lt_search_path_spec in
   10407   *\;*)
   10408     # if the path contains ";" then we assume it to be the separator
   10409     # otherwise default to the standard path separator (i.e. ":") - it is
   10410     # assumed that no part of a normal pathname contains ";" but that should
   10411     # okay in the real world where ";" in dirpaths is itself problematic.
   10412     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10413     ;;
   10414   *)
   10415     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10416     ;;
   10417   esac
   10418   # Ok, now we have the path, separated by spaces, we can step through it
   10419   # and add multilib dir if necessary.
   10420   lt_tmp_lt_search_path_spec=
   10421   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10422   for lt_sys_path in $lt_search_path_spec; do
   10423     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10424       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10425     else
   10426       test -d "$lt_sys_path" && \
   10427 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10428     fi
   10429   done
   10430   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10431 BEGIN {RS=" "; FS="/|\n";} {
   10432   lt_foo="";
   10433   lt_count=0;
   10434   for (lt_i = NF; lt_i > 0; lt_i--) {
   10435     if ($lt_i != "" && $lt_i != ".") {
   10436       if ($lt_i == "..") {
   10437         lt_count++;
   10438       } else {
   10439         if (lt_count == 0) {
   10440           lt_foo="/" $lt_i lt_foo;
   10441         } else {
   10442           lt_count--;
   10443         }
   10444       }
   10445     }
   10446   }
   10447   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10448   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10449 }'`
   10450   # AWK program above erroneously prepends '/' to C:/dos/paths
   10451   # for these hosts.
   10452   case $host_os in
   10453     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10454       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10455   esac
   10456   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10457 else
   10458   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10459 fi
   10460 library_names_spec=
   10461 libname_spec='lib$name'
   10462 soname_spec=
   10463 shrext_cmds=".so"
   10464 postinstall_cmds=
   10465 postuninstall_cmds=
   10466 finish_cmds=
   10467 finish_eval=
   10468 shlibpath_var=
   10469 shlibpath_overrides_runpath=unknown
   10470 version_type=none
   10471 dynamic_linker="$host_os ld.so"
   10472 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10473 need_lib_prefix=unknown
   10474 hardcode_into_libs=no
   10475 
   10476 # when you set need_version to no, make sure it does not cause -set_version
   10477 # flags to be left without arguments
   10478 need_version=unknown
   10479 
   10480 case $host_os in
   10481 aix3*)
   10482   version_type=linux
   10483   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10484   shlibpath_var=LIBPATH
   10485 
   10486   # AIX 3 has no versioning support, so we append a major version to the name.
   10487   soname_spec='${libname}${release}${shared_ext}$major'
   10488   ;;
   10489 
   10490 aix[4-9]*)
   10491   version_type=linux
   10492   need_lib_prefix=no
   10493   need_version=no
   10494   hardcode_into_libs=yes
   10495   if test "$host_cpu" = ia64; then
   10496     # AIX 5 supports IA64
   10497     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10498     shlibpath_var=LD_LIBRARY_PATH
   10499   else
   10500     # With GCC up to 2.95.x, collect2 would create an import file
   10501     # for dependence libraries.  The import file would start with
   10502     # the line `#! .'.  This would cause the generated library to
   10503     # depend on `.', always an invalid library.  This was fixed in
   10504     # development snapshots of GCC prior to 3.0.
   10505     case $host_os in
   10506       aix4 | aix4.[01] | aix4.[01].*)
   10507       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10508 	   echo ' yes '
   10509 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10510 	:
   10511       else
   10512 	can_build_shared=no
   10513       fi
   10514       ;;
   10515     esac
   10516     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10517     # soname into executable. Probably we can add versioning support to
   10518     # collect2, so additional links can be useful in future.
   10519     if test "$aix_use_runtimelinking" = yes; then
   10520       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10521       # instead of lib<name>.a to let people know that these are not
   10522       # typical AIX shared libraries.
   10523       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10524     else
   10525       # We preserve .a as extension for shared libraries through AIX4.2
   10526       # and later when we are not doing run time linking.
   10527       library_names_spec='${libname}${release}.a $libname.a'
   10528       soname_spec='${libname}${release}${shared_ext}$major'
   10529     fi
   10530     shlibpath_var=LIBPATH
   10531   fi
   10532   ;;
   10533 
   10534 amigaos*)
   10535   case $host_cpu in
   10536   powerpc)
   10537     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10538     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10539     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10540     ;;
   10541   m68k)
   10542     library_names_spec='$libname.ixlibrary $libname.a'
   10543     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10544     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'
   10545     ;;
   10546   esac
   10547   ;;
   10548 
   10549 beos*)
   10550   library_names_spec='${libname}${shared_ext}'
   10551   dynamic_linker="$host_os ld.so"
   10552   shlibpath_var=LIBRARY_PATH
   10553   ;;
   10554 
   10555 bsdi[45]*)
   10556   version_type=linux
   10557   need_version=no
   10558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10559   soname_spec='${libname}${release}${shared_ext}$major'
   10560   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10561   shlibpath_var=LD_LIBRARY_PATH
   10562   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10563   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10564   # the default ld.so.conf also contains /usr/contrib/lib and
   10565   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10566   # libtool to hard-code these into programs
   10567   ;;
   10568 
   10569 cygwin* | mingw* | pw32* | cegcc*)
   10570   version_type=windows
   10571   shrext_cmds=".dll"
   10572   need_version=no
   10573   need_lib_prefix=no
   10574 
   10575   case $GCC,$host_os in
   10576   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10577     library_names_spec='$libname.dll.a'
   10578     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10579     postinstall_cmds='base_file=`basename \${file}`~
   10580       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10581       dldir=$destdir/`dirname \$dlpath`~
   10582       test -d \$dldir || mkdir -p \$dldir~
   10583       $install_prog $dir/$dlname \$dldir/$dlname~
   10584       chmod a+x \$dldir/$dlname~
   10585       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10586         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10587       fi'
   10588     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10589       dlpath=$dir/\$dldll~
   10590        $RM \$dlpath'
   10591     shlibpath_overrides_runpath=yes
   10592 
   10593     case $host_os in
   10594     cygwin*)
   10595       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10596       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10597 
   10598       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10599       ;;
   10600     mingw* | cegcc*)
   10601       # MinGW DLLs use traditional 'lib' prefix
   10602       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10603       ;;
   10604     pw32*)
   10605       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10606       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10607       ;;
   10608     esac
   10609     ;;
   10610 
   10611   *)
   10612     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10613     ;;
   10614   esac
   10615   dynamic_linker='Win32 ld.exe'
   10616   # FIXME: first we should search . and the directory the executable is in
   10617   shlibpath_var=PATH
   10618   ;;
   10619 
   10620 darwin* | rhapsody*)
   10621   dynamic_linker="$host_os dyld"
   10622   version_type=darwin
   10623   need_lib_prefix=no
   10624   need_version=no
   10625   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10626   soname_spec='${libname}${release}${major}$shared_ext'
   10627   shlibpath_overrides_runpath=yes
   10628   shlibpath_var=DYLD_LIBRARY_PATH
   10629   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10630 
   10631   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10632   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10633   ;;
   10634 
   10635 dgux*)
   10636   version_type=linux
   10637   need_lib_prefix=no
   10638   need_version=no
   10639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10640   soname_spec='${libname}${release}${shared_ext}$major'
   10641   shlibpath_var=LD_LIBRARY_PATH
   10642   ;;
   10643 
   10644 freebsd* | dragonfly*)
   10645   # DragonFly does not have aout.  When/if they implement a new
   10646   # versioning mechanism, adjust this.
   10647   if test -x /usr/bin/objformat; then
   10648     objformat=`/usr/bin/objformat`
   10649   else
   10650     case $host_os in
   10651     freebsd[23].*) objformat=aout ;;
   10652     *) objformat=elf ;;
   10653     esac
   10654   fi
   10655   version_type=freebsd-$objformat
   10656   case $version_type in
   10657     freebsd-elf*)
   10658       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10659       need_version=no
   10660       need_lib_prefix=no
   10661       ;;
   10662     freebsd-*)
   10663       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10664       need_version=yes
   10665       ;;
   10666   esac
   10667   shlibpath_var=LD_LIBRARY_PATH
   10668   case $host_os in
   10669   freebsd2.*)
   10670     shlibpath_overrides_runpath=yes
   10671     ;;
   10672   freebsd3.[01]* | freebsdelf3.[01]*)
   10673     shlibpath_overrides_runpath=yes
   10674     hardcode_into_libs=yes
   10675     ;;
   10676   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10677   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10678     shlibpath_overrides_runpath=no
   10679     hardcode_into_libs=yes
   10680     ;;
   10681   *) # from 4.6 on, and DragonFly
   10682     shlibpath_overrides_runpath=yes
   10683     hardcode_into_libs=yes
   10684     ;;
   10685   esac
   10686   ;;
   10687 
   10688 haiku*)
   10689   version_type=linux
   10690   need_lib_prefix=no
   10691   need_version=no
   10692   dynamic_linker="$host_os runtime_loader"
   10693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10694   soname_spec='${libname}${release}${shared_ext}$major'
   10695   shlibpath_var=LIBRARY_PATH
   10696   shlibpath_overrides_runpath=yes
   10697   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10698   hardcode_into_libs=yes
   10699   ;;
   10700 
   10701 hpux9* | hpux10* | hpux11*)
   10702   # Give a soname corresponding to the major version so that dld.sl refuses to
   10703   # link against other versions.
   10704   version_type=sunos
   10705   need_lib_prefix=no
   10706   need_version=no
   10707   case $host_cpu in
   10708   ia64*)
   10709     shrext_cmds='.so'
   10710     hardcode_into_libs=yes
   10711     dynamic_linker="$host_os dld.so"
   10712     shlibpath_var=LD_LIBRARY_PATH
   10713     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10714     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10715     soname_spec='${libname}${release}${shared_ext}$major'
   10716     if test "X$HPUX_IA64_MODE" = X32; then
   10717       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10718     else
   10719       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10720     fi
   10721     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10722     ;;
   10723   hppa*64*)
   10724     shrext_cmds='.sl'
   10725     hardcode_into_libs=yes
   10726     dynamic_linker="$host_os dld.sl"
   10727     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10728     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10729     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10730     soname_spec='${libname}${release}${shared_ext}$major'
   10731     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10732     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10733     ;;
   10734   *)
   10735     shrext_cmds='.sl'
   10736     dynamic_linker="$host_os dld.sl"
   10737     shlibpath_var=SHLIB_PATH
   10738     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10739     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10740     soname_spec='${libname}${release}${shared_ext}$major'
   10741     ;;
   10742   esac
   10743   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10744   postinstall_cmds='chmod 555 $lib'
   10745   # or fails outright, so override atomically:
   10746   install_override_mode=555
   10747   ;;
   10748 
   10749 interix[3-9]*)
   10750   version_type=linux
   10751   need_lib_prefix=no
   10752   need_version=no
   10753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10754   soname_spec='${libname}${release}${shared_ext}$major'
   10755   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10756   shlibpath_var=LD_LIBRARY_PATH
   10757   shlibpath_overrides_runpath=no
   10758   hardcode_into_libs=yes
   10759   ;;
   10760 
   10761 irix5* | irix6* | nonstopux*)
   10762   case $host_os in
   10763     nonstopux*) version_type=nonstopux ;;
   10764     *)
   10765 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10766 		version_type=linux
   10767 	else
   10768 		version_type=irix
   10769 	fi ;;
   10770   esac
   10771   need_lib_prefix=no
   10772   need_version=no
   10773   soname_spec='${libname}${release}${shared_ext}$major'
   10774   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10775   case $host_os in
   10776   irix5* | nonstopux*)
   10777     libsuff= shlibsuff=
   10778     ;;
   10779   *)
   10780     case $LD in # libtool.m4 will add one of these switches to LD
   10781     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10782       libsuff= shlibsuff= libmagic=32-bit;;
   10783     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10784       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10785     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10786       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10787     *) libsuff= shlibsuff= libmagic=never-match;;
   10788     esac
   10789     ;;
   10790   esac
   10791   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10792   shlibpath_overrides_runpath=no
   10793   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10794   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10795   hardcode_into_libs=yes
   10796   ;;
   10797 
   10798 # No shared lib support for Linux oldld, aout, or coff.
   10799 linux*oldld* | linux*aout* | linux*coff*)
   10800   dynamic_linker=no
   10801   ;;
   10802 
   10803 # This must be Linux ELF.
   10804 
   10805 # uclinux* changes (here and below) have been submitted to the libtool
   10806 # project, but have not yet been accepted: they are GCC-local changes
   10807 # for the time being.  (See
   10808 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   10809 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   10810   version_type=linux
   10811   need_lib_prefix=no
   10812   need_version=no
   10813   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10814   soname_spec='${libname}${release}${shared_ext}$major'
   10815   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10816   shlibpath_var=LD_LIBRARY_PATH
   10817   shlibpath_overrides_runpath=no
   10818 
   10819   # Some binutils ld are patched to set DT_RUNPATH
   10820   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10821   $as_echo_n "(cached) " >&6
   10822 else
   10823   lt_cv_shlibpath_overrides_runpath=no
   10824     save_LDFLAGS=$LDFLAGS
   10825     save_libdir=$libdir
   10826     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10827 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10828     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10829 /* end confdefs.h.  */
   10830 
   10831 int
   10832 main ()
   10833 {
   10834 
   10835   ;
   10836   return 0;
   10837 }
   10838 _ACEOF
   10839 if ac_fn_c_try_link "$LINENO"; then :
   10840   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10841   lt_cv_shlibpath_overrides_runpath=yes
   10842 fi
   10843 fi
   10844 rm -f core conftest.err conftest.$ac_objext \
   10845     conftest$ac_exeext conftest.$ac_ext
   10846     LDFLAGS=$save_LDFLAGS
   10847     libdir=$save_libdir
   10848 
   10849 fi
   10850 
   10851   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10852 
   10853   # This implies no fast_install, which is unacceptable.
   10854   # Some rework will be needed to allow for fast_install
   10855   # before this can be enabled.
   10856   hardcode_into_libs=yes
   10857 
   10858   # Append ld.so.conf contents to the search path
   10859   if test -f /etc/ld.so.conf; then
   10860     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' ' '`
   10861     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10862   fi
   10863 
   10864   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10865   # powerpc, because MkLinux only supported shared libraries with the
   10866   # GNU dynamic linker.  Since this was broken with cross compilers,
   10867   # most powerpc-linux boxes support dynamic linking these days and
   10868   # people can always --disable-shared, the test was removed, and we
   10869   # assume the GNU/Linux dynamic linker is in use.
   10870   dynamic_linker='GNU/Linux ld.so'
   10871   ;;
   10872 
   10873 netbsd*)
   10874   version_type=sunos
   10875   need_lib_prefix=no
   10876   need_version=no
   10877   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10878     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10879     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10880     dynamic_linker='NetBSD (a.out) ld.so'
   10881   else
   10882     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10883     soname_spec='${libname}${release}${shared_ext}$major'
   10884     dynamic_linker='NetBSD ld.elf_so'
   10885   fi
   10886   shlibpath_var=LD_LIBRARY_PATH
   10887   shlibpath_overrides_runpath=yes
   10888   hardcode_into_libs=yes
   10889   ;;
   10890 
   10891 newsos6)
   10892   version_type=linux
   10893   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10894   shlibpath_var=LD_LIBRARY_PATH
   10895   shlibpath_overrides_runpath=yes
   10896   ;;
   10897 
   10898 *nto* | *qnx*)
   10899   version_type=qnx
   10900   need_lib_prefix=no
   10901   need_version=no
   10902   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10903   soname_spec='${libname}${release}${shared_ext}$major'
   10904   shlibpath_var=LD_LIBRARY_PATH
   10905   shlibpath_overrides_runpath=no
   10906   hardcode_into_libs=yes
   10907   dynamic_linker='ldqnx.so'
   10908   ;;
   10909 
   10910 openbsd*)
   10911   version_type=sunos
   10912   sys_lib_dlsearch_path_spec="/usr/lib"
   10913   need_lib_prefix=no
   10914   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10915   case $host_os in
   10916     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10917     *)				need_version=no  ;;
   10918   esac
   10919   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10920   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10921   shlibpath_var=LD_LIBRARY_PATH
   10922   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10923     case $host_os in
   10924       openbsd2.[89] | openbsd2.[89].*)
   10925 	shlibpath_overrides_runpath=no
   10926 	;;
   10927       *)
   10928 	shlibpath_overrides_runpath=yes
   10929 	;;
   10930       esac
   10931   else
   10932     shlibpath_overrides_runpath=yes
   10933   fi
   10934   ;;
   10935 
   10936 os2*)
   10937   libname_spec='$name'
   10938   shrext_cmds=".dll"
   10939   need_lib_prefix=no
   10940   library_names_spec='$libname${shared_ext} $libname.a'
   10941   dynamic_linker='OS/2 ld.exe'
   10942   shlibpath_var=LIBPATH
   10943   ;;
   10944 
   10945 osf3* | osf4* | osf5*)
   10946   version_type=osf
   10947   need_lib_prefix=no
   10948   need_version=no
   10949   soname_spec='${libname}${release}${shared_ext}$major'
   10950   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10951   shlibpath_var=LD_LIBRARY_PATH
   10952   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10953   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10954   ;;
   10955 
   10956 rdos*)
   10957   dynamic_linker=no
   10958   ;;
   10959 
   10960 solaris*)
   10961   version_type=linux
   10962   need_lib_prefix=no
   10963   need_version=no
   10964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10965   soname_spec='${libname}${release}${shared_ext}$major'
   10966   shlibpath_var=LD_LIBRARY_PATH
   10967   shlibpath_overrides_runpath=yes
   10968   hardcode_into_libs=yes
   10969   # ldd complains unless libraries are executable
   10970   postinstall_cmds='chmod +x $lib'
   10971   ;;
   10972 
   10973 sunos4*)
   10974   version_type=sunos
   10975   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10976   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10977   shlibpath_var=LD_LIBRARY_PATH
   10978   shlibpath_overrides_runpath=yes
   10979   if test "$with_gnu_ld" = yes; then
   10980     need_lib_prefix=no
   10981   fi
   10982   need_version=yes
   10983   ;;
   10984 
   10985 sysv4 | sysv4.3*)
   10986   version_type=linux
   10987   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10988   soname_spec='${libname}${release}${shared_ext}$major'
   10989   shlibpath_var=LD_LIBRARY_PATH
   10990   case $host_vendor in
   10991     sni)
   10992       shlibpath_overrides_runpath=no
   10993       need_lib_prefix=no
   10994       runpath_var=LD_RUN_PATH
   10995       ;;
   10996     siemens)
   10997       need_lib_prefix=no
   10998       ;;
   10999     motorola)
   11000       need_lib_prefix=no
   11001       need_version=no
   11002       shlibpath_overrides_runpath=no
   11003       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11004       ;;
   11005   esac
   11006   ;;
   11007 
   11008 sysv4*MP*)
   11009   if test -d /usr/nec ;then
   11010     version_type=linux
   11011     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11012     soname_spec='$libname${shared_ext}.$major'
   11013     shlibpath_var=LD_LIBRARY_PATH
   11014   fi
   11015   ;;
   11016 
   11017 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11018   version_type=freebsd-elf
   11019   need_lib_prefix=no
   11020   need_version=no
   11021   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11022   soname_spec='${libname}${release}${shared_ext}$major'
   11023   shlibpath_var=LD_LIBRARY_PATH
   11024   shlibpath_overrides_runpath=yes
   11025   hardcode_into_libs=yes
   11026   if test "$with_gnu_ld" = yes; then
   11027     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11028   else
   11029     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11030     case $host_os in
   11031       sco3.2v5*)
   11032         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11033 	;;
   11034     esac
   11035   fi
   11036   sys_lib_dlsearch_path_spec='/usr/lib'
   11037   ;;
   11038 
   11039 tpf*)
   11040   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11041   version_type=linux
   11042   need_lib_prefix=no
   11043   need_version=no
   11044   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11045   shlibpath_var=LD_LIBRARY_PATH
   11046   shlibpath_overrides_runpath=no
   11047   hardcode_into_libs=yes
   11048   ;;
   11049 
   11050 uts4*)
   11051   version_type=linux
   11052   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11053   soname_spec='${libname}${release}${shared_ext}$major'
   11054   shlibpath_var=LD_LIBRARY_PATH
   11055   ;;
   11056 
   11057 # Shared libraries for VwWorks, >= 7 only at this stage
   11058 # and (fpic) still incompatible with "large" code models
   11059 # in a few configurations. Only for RTP mode in any case,
   11060 # and upon explicit request at configure time.
   11061 vxworks7*)
   11062   dynamic_linker=no
   11063   case ${with_multisubdir}-${enable_shared} in
   11064     *large*)
   11065       ;;
   11066     *mrtp*-yes)
   11067       version_type=linux
   11068       need_lib_prefix=no
   11069       need_version=no
   11070       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11071       soname_spec='${libname}${release}${shared_ext}$major'
   11072       dynamic_linker="$host_os module_loader"
   11073       ;;
   11074   esac
   11075   ;;
   11076 *)
   11077   dynamic_linker=no
   11078   ;;
   11079 esac
   11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11081 $as_echo "$dynamic_linker" >&6; }
   11082 test "$dynamic_linker" = no && can_build_shared=no
   11083 
   11084 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11085 if test "$GCC" = yes; then
   11086   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11087 fi
   11088 
   11089 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11090   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11091 fi
   11092 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11093   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11094 fi
   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 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11188 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11189 hardcode_action=
   11190 if test -n "$hardcode_libdir_flag_spec" ||
   11191    test -n "$runpath_var" ||
   11192    test "X$hardcode_automatic" = "Xyes" ; then
   11193 
   11194   # We can hardcode non-existent directories.
   11195   if test "$hardcode_direct" != no &&
   11196      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11197      # have to relink, otherwise we might link with an installed library
   11198      # when we should be linking with a yet-to-be-installed one
   11199      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11200      test "$hardcode_minus_L" != no; then
   11201     # Linking always hardcodes the temporary library directory.
   11202     hardcode_action=relink
   11203   else
   11204     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11205     hardcode_action=immediate
   11206   fi
   11207 else
   11208   # We cannot hardcode anything, or else we can only hardcode existing
   11209   # directories.
   11210   hardcode_action=unsupported
   11211 fi
   11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11213 $as_echo "$hardcode_action" >&6; }
   11214 
   11215 if test "$hardcode_action" = relink ||
   11216    test "$inherit_rpath" = yes; then
   11217   # Fast installation is not supported
   11218   enable_fast_install=no
   11219 elif test "$shlibpath_overrides_runpath" = yes ||
   11220      test "$enable_shared" = no; then
   11221   # Fast installation is not necessary
   11222   enable_fast_install=needless
   11223 fi
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230   if test "x$enable_dlopen" != xyes; then
   11231   enable_dlopen=unknown
   11232   enable_dlopen_self=unknown
   11233   enable_dlopen_self_static=unknown
   11234 else
   11235   lt_cv_dlopen=no
   11236   lt_cv_dlopen_libs=
   11237 
   11238   case $host_os in
   11239   beos*)
   11240     lt_cv_dlopen="load_add_on"
   11241     lt_cv_dlopen_libs=
   11242     lt_cv_dlopen_self=yes
   11243     ;;
   11244 
   11245   mingw* | pw32* | cegcc*)
   11246     lt_cv_dlopen="LoadLibrary"
   11247     lt_cv_dlopen_libs=
   11248     ;;
   11249 
   11250   cygwin*)
   11251     lt_cv_dlopen="dlopen"
   11252     lt_cv_dlopen_libs=
   11253     ;;
   11254 
   11255   darwin*)
   11256   # if libdl is installed we need to link against it
   11257     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11258 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11259 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11260   $as_echo_n "(cached) " >&6
   11261 else
   11262   ac_check_lib_save_LIBS=$LIBS
   11263 LIBS="-ldl  $LIBS"
   11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11265 /* end confdefs.h.  */
   11266 
   11267 /* Override any GCC internal prototype to avoid an error.
   11268    Use char because int might match the return type of a GCC
   11269    builtin and then its argument prototype would still apply.  */
   11270 #ifdef __cplusplus
   11271 extern "C"
   11272 #endif
   11273 char dlopen ();
   11274 int
   11275 main ()
   11276 {
   11277 return dlopen ();
   11278   ;
   11279   return 0;
   11280 }
   11281 _ACEOF
   11282 if ac_fn_c_try_link "$LINENO"; then :
   11283   ac_cv_lib_dl_dlopen=yes
   11284 else
   11285   ac_cv_lib_dl_dlopen=no
   11286 fi
   11287 rm -f core conftest.err conftest.$ac_objext \
   11288     conftest$ac_exeext conftest.$ac_ext
   11289 LIBS=$ac_check_lib_save_LIBS
   11290 fi
   11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11292 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11293 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11294   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11295 else
   11296 
   11297     lt_cv_dlopen="dyld"
   11298     lt_cv_dlopen_libs=
   11299     lt_cv_dlopen_self=yes
   11300 
   11301 fi
   11302 
   11303     ;;
   11304 
   11305   *)
   11306     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11307 if test "x$ac_cv_func_shl_load" = xyes; then :
   11308   lt_cv_dlopen="shl_load"
   11309 else
   11310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11311 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11312 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11313   $as_echo_n "(cached) " >&6
   11314 else
   11315   ac_check_lib_save_LIBS=$LIBS
   11316 LIBS="-ldld  $LIBS"
   11317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11318 /* end confdefs.h.  */
   11319 
   11320 /* Override any GCC internal prototype to avoid an error.
   11321    Use char because int might match the return type of a GCC
   11322    builtin and then its argument prototype would still apply.  */
   11323 #ifdef __cplusplus
   11324 extern "C"
   11325 #endif
   11326 char shl_load ();
   11327 int
   11328 main ()
   11329 {
   11330 return shl_load ();
   11331   ;
   11332   return 0;
   11333 }
   11334 _ACEOF
   11335 if ac_fn_c_try_link "$LINENO"; then :
   11336   ac_cv_lib_dld_shl_load=yes
   11337 else
   11338   ac_cv_lib_dld_shl_load=no
   11339 fi
   11340 rm -f core conftest.err conftest.$ac_objext \
   11341     conftest$ac_exeext conftest.$ac_ext
   11342 LIBS=$ac_check_lib_save_LIBS
   11343 fi
   11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11345 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11346 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11347   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11348 else
   11349   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11350 if test "x$ac_cv_func_dlopen" = xyes; then :
   11351   lt_cv_dlopen="dlopen"
   11352 else
   11353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11354 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11355 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11356   $as_echo_n "(cached) " >&6
   11357 else
   11358   ac_check_lib_save_LIBS=$LIBS
   11359 LIBS="-ldl  $LIBS"
   11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11361 /* end confdefs.h.  */
   11362 
   11363 /* Override any GCC internal prototype to avoid an error.
   11364    Use char because int might match the return type of a GCC
   11365    builtin and then its argument prototype would still apply.  */
   11366 #ifdef __cplusplus
   11367 extern "C"
   11368 #endif
   11369 char dlopen ();
   11370 int
   11371 main ()
   11372 {
   11373 return dlopen ();
   11374   ;
   11375   return 0;
   11376 }
   11377 _ACEOF
   11378 if ac_fn_c_try_link "$LINENO"; then :
   11379   ac_cv_lib_dl_dlopen=yes
   11380 else
   11381   ac_cv_lib_dl_dlopen=no
   11382 fi
   11383 rm -f core conftest.err conftest.$ac_objext \
   11384     conftest$ac_exeext conftest.$ac_ext
   11385 LIBS=$ac_check_lib_save_LIBS
   11386 fi
   11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11388 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11389 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11390   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11391 else
   11392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11393 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11394 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11395   $as_echo_n "(cached) " >&6
   11396 else
   11397   ac_check_lib_save_LIBS=$LIBS
   11398 LIBS="-lsvld  $LIBS"
   11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11400 /* end confdefs.h.  */
   11401 
   11402 /* Override any GCC internal prototype to avoid an error.
   11403    Use char because int might match the return type of a GCC
   11404    builtin and then its argument prototype would still apply.  */
   11405 #ifdef __cplusplus
   11406 extern "C"
   11407 #endif
   11408 char dlopen ();
   11409 int
   11410 main ()
   11411 {
   11412 return dlopen ();
   11413   ;
   11414   return 0;
   11415 }
   11416 _ACEOF
   11417 if ac_fn_c_try_link "$LINENO"; then :
   11418   ac_cv_lib_svld_dlopen=yes
   11419 else
   11420   ac_cv_lib_svld_dlopen=no
   11421 fi
   11422 rm -f core conftest.err conftest.$ac_objext \
   11423     conftest$ac_exeext conftest.$ac_ext
   11424 LIBS=$ac_check_lib_save_LIBS
   11425 fi
   11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11427 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11428 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11429   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11430 else
   11431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11432 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11433 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11434   $as_echo_n "(cached) " >&6
   11435 else
   11436   ac_check_lib_save_LIBS=$LIBS
   11437 LIBS="-ldld  $LIBS"
   11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11439 /* end confdefs.h.  */
   11440 
   11441 /* Override any GCC internal prototype to avoid an error.
   11442    Use char because int might match the return type of a GCC
   11443    builtin and then its argument prototype would still apply.  */
   11444 #ifdef __cplusplus
   11445 extern "C"
   11446 #endif
   11447 char dld_link ();
   11448 int
   11449 main ()
   11450 {
   11451 return dld_link ();
   11452   ;
   11453   return 0;
   11454 }
   11455 _ACEOF
   11456 if ac_fn_c_try_link "$LINENO"; then :
   11457   ac_cv_lib_dld_dld_link=yes
   11458 else
   11459   ac_cv_lib_dld_dld_link=no
   11460 fi
   11461 rm -f core conftest.err conftest.$ac_objext \
   11462     conftest$ac_exeext conftest.$ac_ext
   11463 LIBS=$ac_check_lib_save_LIBS
   11464 fi
   11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11466 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11467 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11468   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11469 fi
   11470 
   11471 
   11472 fi
   11473 
   11474 
   11475 fi
   11476 
   11477 
   11478 fi
   11479 
   11480 
   11481 fi
   11482 
   11483 
   11484 fi
   11485 
   11486     ;;
   11487   esac
   11488 
   11489   if test "x$lt_cv_dlopen" != xno; then
   11490     enable_dlopen=yes
   11491   else
   11492     enable_dlopen=no
   11493   fi
   11494 
   11495   case $lt_cv_dlopen in
   11496   dlopen)
   11497     save_CPPFLAGS="$CPPFLAGS"
   11498     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11499 
   11500     save_LDFLAGS="$LDFLAGS"
   11501     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11502 
   11503     save_LIBS="$LIBS"
   11504     LIBS="$lt_cv_dlopen_libs $LIBS"
   11505 
   11506     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11507 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11508 if ${lt_cv_dlopen_self+:} false; then :
   11509   $as_echo_n "(cached) " >&6
   11510 else
   11511   	  if test "$cross_compiling" = yes; then :
   11512   lt_cv_dlopen_self=cross
   11513 else
   11514   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11515   lt_status=$lt_dlunknown
   11516   cat > conftest.$ac_ext <<_LT_EOF
   11517 #line 11517 "configure"
   11518 #include "confdefs.h"
   11519 
   11520 #if HAVE_DLFCN_H
   11521 #include <dlfcn.h>
   11522 #endif
   11523 
   11524 #include <stdio.h>
   11525 
   11526 #ifdef RTLD_GLOBAL
   11527 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11528 #else
   11529 #  ifdef DL_GLOBAL
   11530 #    define LT_DLGLOBAL		DL_GLOBAL
   11531 #  else
   11532 #    define LT_DLGLOBAL		0
   11533 #  endif
   11534 #endif
   11535 
   11536 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11537    find out it does not work in some platform. */
   11538 #ifndef LT_DLLAZY_OR_NOW
   11539 #  ifdef RTLD_LAZY
   11540 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11541 #  else
   11542 #    ifdef DL_LAZY
   11543 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11544 #    else
   11545 #      ifdef RTLD_NOW
   11546 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11547 #      else
   11548 #        ifdef DL_NOW
   11549 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11550 #        else
   11551 #          define LT_DLLAZY_OR_NOW	0
   11552 #        endif
   11553 #      endif
   11554 #    endif
   11555 #  endif
   11556 #endif
   11557 
   11558 /* When -fvisbility=hidden is used, assume the code has been annotated
   11559    correspondingly for the symbols needed.  */
   11560 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11561 void fnord () __attribute__((visibility("default")));
   11562 #endif
   11563 
   11564 void fnord () { int i=42; }
   11565 int main ()
   11566 {
   11567   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11568   int status = $lt_dlunknown;
   11569 
   11570   if (self)
   11571     {
   11572       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11573       else
   11574         {
   11575 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11576           else puts (dlerror ());
   11577 	}
   11578       /* dlclose (self); */
   11579     }
   11580   else
   11581     puts (dlerror ());
   11582 
   11583   return status;
   11584 }
   11585 _LT_EOF
   11586   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11587   (eval $ac_link) 2>&5
   11588   ac_status=$?
   11589   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11590   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11591     (./conftest; exit; ) >&5 2>/dev/null
   11592     lt_status=$?
   11593     case x$lt_status in
   11594       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11595       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11596       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11597     esac
   11598   else :
   11599     # compilation failed
   11600     lt_cv_dlopen_self=no
   11601   fi
   11602 fi
   11603 rm -fr conftest*
   11604 
   11605 
   11606 fi
   11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11608 $as_echo "$lt_cv_dlopen_self" >&6; }
   11609 
   11610     if test "x$lt_cv_dlopen_self" = xyes; then
   11611       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11612       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11613 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11614 if ${lt_cv_dlopen_self_static+:} false; then :
   11615   $as_echo_n "(cached) " >&6
   11616 else
   11617   	  if test "$cross_compiling" = yes; then :
   11618   lt_cv_dlopen_self_static=cross
   11619 else
   11620   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11621   lt_status=$lt_dlunknown
   11622   cat > conftest.$ac_ext <<_LT_EOF
   11623 #line 11623 "configure"
   11624 #include "confdefs.h"
   11625 
   11626 #if HAVE_DLFCN_H
   11627 #include <dlfcn.h>
   11628 #endif
   11629 
   11630 #include <stdio.h>
   11631 
   11632 #ifdef RTLD_GLOBAL
   11633 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11634 #else
   11635 #  ifdef DL_GLOBAL
   11636 #    define LT_DLGLOBAL		DL_GLOBAL
   11637 #  else
   11638 #    define LT_DLGLOBAL		0
   11639 #  endif
   11640 #endif
   11641 
   11642 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11643    find out it does not work in some platform. */
   11644 #ifndef LT_DLLAZY_OR_NOW
   11645 #  ifdef RTLD_LAZY
   11646 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11647 #  else
   11648 #    ifdef DL_LAZY
   11649 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11650 #    else
   11651 #      ifdef RTLD_NOW
   11652 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11653 #      else
   11654 #        ifdef DL_NOW
   11655 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11656 #        else
   11657 #          define LT_DLLAZY_OR_NOW	0
   11658 #        endif
   11659 #      endif
   11660 #    endif
   11661 #  endif
   11662 #endif
   11663 
   11664 /* When -fvisbility=hidden is used, assume the code has been annotated
   11665    correspondingly for the symbols needed.  */
   11666 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11667 void fnord () __attribute__((visibility("default")));
   11668 #endif
   11669 
   11670 void fnord () { int i=42; }
   11671 int main ()
   11672 {
   11673   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11674   int status = $lt_dlunknown;
   11675 
   11676   if (self)
   11677     {
   11678       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11679       else
   11680         {
   11681 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11682           else puts (dlerror ());
   11683 	}
   11684       /* dlclose (self); */
   11685     }
   11686   else
   11687     puts (dlerror ());
   11688 
   11689   return status;
   11690 }
   11691 _LT_EOF
   11692   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11693   (eval $ac_link) 2>&5
   11694   ac_status=$?
   11695   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11696   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11697     (./conftest; exit; ) >&5 2>/dev/null
   11698     lt_status=$?
   11699     case x$lt_status in
   11700       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11701       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11702       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11703     esac
   11704   else :
   11705     # compilation failed
   11706     lt_cv_dlopen_self_static=no
   11707   fi
   11708 fi
   11709 rm -fr conftest*
   11710 
   11711 
   11712 fi
   11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11714 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11715     fi
   11716 
   11717     CPPFLAGS="$save_CPPFLAGS"
   11718     LDFLAGS="$save_LDFLAGS"
   11719     LIBS="$save_LIBS"
   11720     ;;
   11721   esac
   11722 
   11723   case $lt_cv_dlopen_self in
   11724   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11725   *) enable_dlopen_self=unknown ;;
   11726   esac
   11727 
   11728   case $lt_cv_dlopen_self_static in
   11729   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11730   *) enable_dlopen_self_static=unknown ;;
   11731   esac
   11732 fi
   11733 
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750 striplib=
   11751 old_striplib=
   11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11753 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11754 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11755   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11756   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11758 $as_echo "yes" >&6; }
   11759 else
   11760 # FIXME - insert some real tests, host_os isn't really good enough
   11761   case $host_os in
   11762   darwin*)
   11763     if test -n "$STRIP" ; then
   11764       striplib="$STRIP -x"
   11765       old_striplib="$STRIP -S"
   11766       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11767 $as_echo "yes" >&6; }
   11768     else
   11769       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11770 $as_echo "no" >&6; }
   11771     fi
   11772     ;;
   11773   *)
   11774     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11775 $as_echo "no" >&6; }
   11776     ;;
   11777   esac
   11778 fi
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791   # Report which library types will actually be built
   11792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11793 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11795 $as_echo "$can_build_shared" >&6; }
   11796 
   11797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11798 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11799   test "$can_build_shared" = "no" && enable_shared=no
   11800 
   11801   # On AIX, shared libraries and static libraries use the same namespace, and
   11802   # are all built from PIC.
   11803   case $host_os in
   11804   aix3*)
   11805     test "$enable_shared" = yes && enable_static=no
   11806     if test -n "$RANLIB"; then
   11807       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11808       postinstall_cmds='$RANLIB $lib'
   11809     fi
   11810     ;;
   11811 
   11812   aix[4-9]*)
   11813     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11814       test "$enable_shared" = yes && enable_static=no
   11815     fi
   11816     ;;
   11817   esac
   11818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11819 $as_echo "$enable_shared" >&6; }
   11820 
   11821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11822 $as_echo_n "checking whether to build static libraries... " >&6; }
   11823   # Make sure either enable_shared or enable_static is yes.
   11824   test "$enable_shared" = yes || enable_static=yes
   11825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11826 $as_echo "$enable_static" >&6; }
   11827 
   11828 
   11829 
   11830 
   11831 fi
   11832 ac_ext=c
   11833 ac_cpp='$CPP $CPPFLAGS'
   11834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11837 
   11838 CC="$lt_save_CC"
   11839 
   11840       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11841     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11842     (test "X$CXX" != "Xg++"))) ; then
   11843   ac_ext=cpp
   11844 ac_cpp='$CXXCPP $CPPFLAGS'
   11845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   11849 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   11850 if test -z "$CXXCPP"; then
   11851   if ${ac_cv_prog_CXXCPP+:} false; then :
   11852   $as_echo_n "(cached) " >&6
   11853 else
   11854       # Double quotes because CXXCPP needs to be expanded
   11855     for CXXCPP in "$CXX -E" "/lib/cpp"
   11856     do
   11857       ac_preproc_ok=false
   11858 for ac_cxx_preproc_warn_flag in '' yes
   11859 do
   11860   # Use a header file that comes with gcc, so configuring glibc
   11861   # with a fresh cross-compiler works.
   11862   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11863   # <limits.h> exists even on freestanding compilers.
   11864   # On the NeXT, cc -E runs the code through the compiler's parser,
   11865   # not just through cpp. "Syntax error" is here to catch this case.
   11866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11867 /* end confdefs.h.  */
   11868 #ifdef __STDC__
   11869 # include <limits.h>
   11870 #else
   11871 # include <assert.h>
   11872 #endif
   11873 		     Syntax error
   11874 _ACEOF
   11875 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11876 
   11877 else
   11878   # Broken: fails on valid input.
   11879 continue
   11880 fi
   11881 rm -f conftest.err conftest.i conftest.$ac_ext
   11882 
   11883   # OK, works on sane cases.  Now check whether nonexistent headers
   11884   # can be detected and how.
   11885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11886 /* end confdefs.h.  */
   11887 #include <ac_nonexistent.h>
   11888 _ACEOF
   11889 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11890   # Broken: success on invalid input.
   11891 continue
   11892 else
   11893   # Passes both tests.
   11894 ac_preproc_ok=:
   11895 break
   11896 fi
   11897 rm -f conftest.err conftest.i conftest.$ac_ext
   11898 
   11899 done
   11900 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   11901 rm -f conftest.i conftest.err conftest.$ac_ext
   11902 if $ac_preproc_ok; then :
   11903   break
   11904 fi
   11905 
   11906     done
   11907     ac_cv_prog_CXXCPP=$CXXCPP
   11908 
   11909 fi
   11910   CXXCPP=$ac_cv_prog_CXXCPP
   11911 else
   11912   ac_cv_prog_CXXCPP=$CXXCPP
   11913 fi
   11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   11915 $as_echo "$CXXCPP" >&6; }
   11916 ac_preproc_ok=false
   11917 for ac_cxx_preproc_warn_flag in '' yes
   11918 do
   11919   # Use a header file that comes with gcc, so configuring glibc
   11920   # with a fresh cross-compiler works.
   11921   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11922   # <limits.h> exists even on freestanding compilers.
   11923   # On the NeXT, cc -E runs the code through the compiler's parser,
   11924   # not just through cpp. "Syntax error" is here to catch this case.
   11925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11926 /* end confdefs.h.  */
   11927 #ifdef __STDC__
   11928 # include <limits.h>
   11929 #else
   11930 # include <assert.h>
   11931 #endif
   11932 		     Syntax error
   11933 _ACEOF
   11934 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11935 
   11936 else
   11937   # Broken: fails on valid input.
   11938 continue
   11939 fi
   11940 rm -f conftest.err conftest.i conftest.$ac_ext
   11941 
   11942   # OK, works on sane cases.  Now check whether nonexistent headers
   11943   # can be detected and how.
   11944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11945 /* end confdefs.h.  */
   11946 #include <ac_nonexistent.h>
   11947 _ACEOF
   11948 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11949   # Broken: success on invalid input.
   11950 continue
   11951 else
   11952   # Passes both tests.
   11953 ac_preproc_ok=:
   11954 break
   11955 fi
   11956 rm -f conftest.err conftest.i conftest.$ac_ext
   11957 
   11958 done
   11959 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   11960 rm -f conftest.i conftest.err conftest.$ac_ext
   11961 if $ac_preproc_ok; then :
   11962 
   11963 else
   11964   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11966 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   11967 See \`config.log' for more details" "$LINENO" 5; }
   11968 fi
   11969 
   11970 ac_ext=c
   11971 ac_cpp='$CPP $CPPFLAGS'
   11972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11975 
   11976 else
   11977   _lt_caught_CXX_error=yes
   11978 fi
   11979 
   11980 ac_ext=cpp
   11981 ac_cpp='$CXXCPP $CPPFLAGS'
   11982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11985 
   11986 archive_cmds_need_lc_CXX=no
   11987 allow_undefined_flag_CXX=
   11988 always_export_symbols_CXX=no
   11989 archive_expsym_cmds_CXX=
   11990 compiler_needs_object_CXX=no
   11991 export_dynamic_flag_spec_CXX=
   11992 hardcode_direct_CXX=no
   11993 hardcode_direct_absolute_CXX=no
   11994 hardcode_libdir_flag_spec_CXX=
   11995 hardcode_libdir_flag_spec_ld_CXX=
   11996 hardcode_libdir_separator_CXX=
   11997 hardcode_minus_L_CXX=no
   11998 hardcode_shlibpath_var_CXX=unsupported
   11999 hardcode_automatic_CXX=no
   12000 inherit_rpath_CXX=no
   12001 module_cmds_CXX=
   12002 module_expsym_cmds_CXX=
   12003 link_all_deplibs_CXX=unknown
   12004 old_archive_cmds_CXX=$old_archive_cmds
   12005 reload_flag_CXX=$reload_flag
   12006 reload_cmds_CXX=$reload_cmds
   12007 no_undefined_flag_CXX=
   12008 whole_archive_flag_spec_CXX=
   12009 enable_shared_with_static_runtimes_CXX=no
   12010 
   12011 # Source file extension for C++ test sources.
   12012 ac_ext=cpp
   12013 
   12014 # Object file extension for compiled C++ test sources.
   12015 objext=o
   12016 objext_CXX=$objext
   12017 
   12018 # No sense in running all these tests if we already determined that
   12019 # the CXX compiler isn't working.  Some variables (like enable_shared)
   12020 # are currently assumed to apply to all compilers on this platform,
   12021 # and will be corrupted by setting them based on a non-working compiler.
   12022 if test "$_lt_caught_CXX_error" != yes; then
   12023   # Code to be used in simple compile tests
   12024   lt_simple_compile_test_code="int some_variable = 0;"
   12025 
   12026   # Code to be used in simple link tests
   12027   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   12028 
   12029   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 # If no C compiler was specified, use CC.
   12037 LTCC=${LTCC-"$CC"}
   12038 
   12039 # If no C compiler flags were specified, use CFLAGS.
   12040 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12041 
   12042 # Allow CC to be a program name with arguments.
   12043 compiler=$CC
   12044 
   12045 
   12046   # save warnings/boilerplate of simple test code
   12047   ac_outfile=conftest.$ac_objext
   12048 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   12049 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12050 _lt_compiler_boilerplate=`cat conftest.err`
   12051 $RM conftest*
   12052 
   12053   ac_outfile=conftest.$ac_objext
   12054 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   12055 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12056 _lt_linker_boilerplate=`cat conftest.err`
   12057 $RM -r conftest*
   12058 
   12059 
   12060   # Allow CC to be a program name with arguments.
   12061   lt_save_CC=$CC
   12062   lt_save_LD=$LD
   12063   lt_save_GCC=$GCC
   12064   GCC=$GXX
   12065   lt_save_with_gnu_ld=$with_gnu_ld
   12066   lt_save_path_LD=$lt_cv_path_LD
   12067   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   12068     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   12069   else
   12070     $as_unset lt_cv_prog_gnu_ld
   12071   fi
   12072   if test -n "${lt_cv_path_LDCXX+set}"; then
   12073     lt_cv_path_LD=$lt_cv_path_LDCXX
   12074   else
   12075     $as_unset lt_cv_path_LD
   12076   fi
   12077   test -z "${LDCXX+set}" || LD=$LDCXX
   12078   CC=${CXX-"c++"}
   12079   compiler=$CC
   12080   compiler_CXX=$CC
   12081   for cc_temp in $compiler""; do
   12082   case $cc_temp in
   12083     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   12084     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   12085     \-*) ;;
   12086     *) break;;
   12087   esac
   12088 done
   12089 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   12090 
   12091 
   12092   if test -n "$compiler"; then
   12093     # We don't want -fno-exception when compiling C++ code, so set the
   12094     # no_builtin_flag separately
   12095     if test "$GXX" = yes; then
   12096       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   12097     else
   12098       lt_prog_compiler_no_builtin_flag_CXX=
   12099     fi
   12100 
   12101     if test "$GXX" = yes; then
   12102       # Set up default GNU C++ configuration
   12103 
   12104 
   12105 
   12106 # Check whether --with-gnu-ld was given.
   12107 if test "${with_gnu_ld+set}" = set; then :
   12108   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12109 else
   12110   with_gnu_ld=no
   12111 fi
   12112 
   12113 ac_prog=ld
   12114 if test "$GCC" = yes; then
   12115   # Check if gcc -print-prog-name=ld gives a path.
   12116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12117 $as_echo_n "checking for ld used by $CC... " >&6; }
   12118   case $host in
   12119   *-*-mingw*)
   12120     # gcc leaves a trailing carriage return which upsets mingw
   12121     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12122   *)
   12123     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12124   esac
   12125   case $ac_prog in
   12126     # Accept absolute paths.
   12127     [\\/]* | ?:[\\/]*)
   12128       re_direlt='/[^/][^/]*/\.\./'
   12129       # Canonicalize the pathname of ld
   12130       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12131       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12132 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12133       done
   12134       test -z "$LD" && LD="$ac_prog"
   12135       ;;
   12136   "")
   12137     # If it fails, then pretend we aren't using GCC.
   12138     ac_prog=ld
   12139     ;;
   12140   *)
   12141     # If it is relative, then search for the first ld in PATH.
   12142     with_gnu_ld=unknown
   12143     ;;
   12144   esac
   12145 elif test "$with_gnu_ld" = yes; then
   12146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12147 $as_echo_n "checking for GNU ld... " >&6; }
   12148 else
   12149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12150 $as_echo_n "checking for non-GNU ld... " >&6; }
   12151 fi
   12152 if ${lt_cv_path_LD+:} false; then :
   12153   $as_echo_n "(cached) " >&6
   12154 else
   12155   if test -z "$LD"; then
   12156   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   12157   for ac_dir in $PATH; do
   12158     IFS="$lt_save_ifs"
   12159     test -z "$ac_dir" && ac_dir=.
   12160     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12161       lt_cv_path_LD="$ac_dir/$ac_prog"
   12162       # Check to see if the program is GNU ld.  I'd rather use --version,
   12163       # but apparently some variants of GNU ld only accept -v.
   12164       # Break only if it was the GNU/non-GNU ld that we prefer.
   12165       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12166       *GNU* | *'with BFD'*)
   12167 	test "$with_gnu_ld" != no && break
   12168 	;;
   12169       *)
   12170 	test "$with_gnu_ld" != yes && break
   12171 	;;
   12172       esac
   12173     fi
   12174   done
   12175   IFS="$lt_save_ifs"
   12176 else
   12177   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   12178 fi
   12179 fi
   12180 
   12181 LD="$lt_cv_path_LD"
   12182 if test -n "$LD"; then
   12183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12184 $as_echo "$LD" >&6; }
   12185 else
   12186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12187 $as_echo "no" >&6; }
   12188 fi
   12189 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12191 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   12192 if ${lt_cv_prog_gnu_ld+:} false; then :
   12193   $as_echo_n "(cached) " >&6
   12194 else
   12195   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12196 case `$LD -v 2>&1 </dev/null` in
   12197 *GNU* | *'with BFD'*)
   12198   lt_cv_prog_gnu_ld=yes
   12199   ;;
   12200 *)
   12201   lt_cv_prog_gnu_ld=no
   12202   ;;
   12203 esac
   12204 fi
   12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12206 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   12207 with_gnu_ld=$lt_cv_prog_gnu_ld
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   12216       # archiving commands below assume that GNU ld is being used.
   12217       if test "$with_gnu_ld" = yes; then
   12218         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12219         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'
   12220 
   12221         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12222         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12223 
   12224         # If archive_cmds runs LD, not CC, wlarc should be empty
   12225         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   12226         #     investigate it a little bit more. (MM)
   12227         wlarc='${wl}'
   12228 
   12229         # ancient GNU ld didn't support --whole-archive et. al.
   12230         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   12231 	  $GREP 'no-whole-archive' > /dev/null; then
   12232           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12233         else
   12234           whole_archive_flag_spec_CXX=
   12235         fi
   12236       else
   12237         with_gnu_ld=no
   12238         wlarc=
   12239 
   12240         # A generic and very simple default shared library creation
   12241         # command for GNU C++ for the case where it uses the native
   12242         # linker, instead of GNU ld.  If possible, this setting should
   12243         # overridden to take advantage of the native linker features on
   12244         # the platform it is being used on.
   12245         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12246       fi
   12247 
   12248       # Commands to make compiler produce verbose output that lists
   12249       # what "hidden" libraries, object files and flags are used when
   12250       # linking a shared library.
   12251       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   12252 
   12253     else
   12254       GXX=no
   12255       with_gnu_ld=no
   12256       wlarc=
   12257     fi
   12258 
   12259     # PORTME: fill in a description of your system's C++ link characteristics
   12260     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12261 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   12262     ld_shlibs_CXX=yes
   12263     case $host_os in
   12264       aix3*)
   12265         # FIXME: insert proper C++ library support
   12266         ld_shlibs_CXX=no
   12267         ;;
   12268       aix[4-9]*)
   12269         if test "$host_cpu" = ia64; then
   12270           # On IA64, the linker does run time linking by default, so we don't
   12271           # have to do anything special.
   12272           aix_use_runtimelinking=no
   12273           exp_sym_flag='-Bexport'
   12274           no_entry_flag=""
   12275         else
   12276           aix_use_runtimelinking=no
   12277 
   12278           # Test if we are trying to use run time linking or normal
   12279           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   12280           # need to do runtime linking.
   12281           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   12282 	    for ld_flag in $LDFLAGS; do
   12283 	      case $ld_flag in
   12284 	      *-brtl*)
   12285 	        aix_use_runtimelinking=yes
   12286 	        break
   12287 	        ;;
   12288 	      esac
   12289 	    done
   12290 	    ;;
   12291           esac
   12292 
   12293           exp_sym_flag='-bexport'
   12294           no_entry_flag='-bnoentry'
   12295         fi
   12296 
   12297         # When large executables or shared objects are built, AIX ld can
   12298         # have problems creating the table of contents.  If linking a library
   12299         # or program results in "error TOC overflow" add -mminimal-toc to
   12300         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   12301         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   12302 
   12303         archive_cmds_CXX=''
   12304         hardcode_direct_CXX=yes
   12305         hardcode_direct_absolute_CXX=yes
   12306         hardcode_libdir_separator_CXX=':'
   12307         link_all_deplibs_CXX=yes
   12308         file_list_spec_CXX='${wl}-f,'
   12309 
   12310         if test "$GXX" = yes; then
   12311           case $host_os in aix4.[012]|aix4.[012].*)
   12312           # We only want to do this on AIX 4.2 and lower, the check
   12313           # below for broken collect2 doesn't work under 4.3+
   12314 	  collect2name=`${CC} -print-prog-name=collect2`
   12315 	  if test -f "$collect2name" &&
   12316 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   12317 	  then
   12318 	    # We have reworked collect2
   12319 	    :
   12320 	  else
   12321 	    # We have old collect2
   12322 	    hardcode_direct_CXX=unsupported
   12323 	    # It fails to find uninstalled libraries when the uninstalled
   12324 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   12325 	    # to unsupported forces relinking
   12326 	    hardcode_minus_L_CXX=yes
   12327 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   12328 	    hardcode_libdir_separator_CXX=
   12329 	  fi
   12330           esac
   12331           shared_flag='-shared'
   12332 	  if test "$aix_use_runtimelinking" = yes; then
   12333 	    shared_flag="$shared_flag "'${wl}-G'
   12334 	  fi
   12335         else
   12336           # not using gcc
   12337           if test "$host_cpu" = ia64; then
   12338 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   12339 	  # chokes on -Wl,-G. The following line is correct:
   12340 	  shared_flag='-G'
   12341           else
   12342 	    if test "$aix_use_runtimelinking" = yes; then
   12343 	      shared_flag='${wl}-G'
   12344 	    else
   12345 	      shared_flag='${wl}-bM:SRE'
   12346 	    fi
   12347           fi
   12348         fi
   12349 
   12350         export_dynamic_flag_spec_CXX='${wl}-bexpall'
   12351         # It seems that -bexpall does not export symbols beginning with
   12352         # underscore (_), so it is better to generate a list of symbols to
   12353 	# export.
   12354         always_export_symbols_CXX=yes
   12355         if test "$aix_use_runtimelinking" = yes; then
   12356           # Warning - without using the other runtime loading flags (-brtl),
   12357           # -berok will link without error, but may produce a broken library.
   12358           allow_undefined_flag_CXX='-berok'
   12359           # Determine the default libpath from the value encoded in an empty
   12360           # executable.
   12361           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12362 /* end confdefs.h.  */
   12363 
   12364 int
   12365 main ()
   12366 {
   12367 
   12368   ;
   12369   return 0;
   12370 }
   12371 _ACEOF
   12372 if ac_fn_cxx_try_link "$LINENO"; then :
   12373 
   12374 lt_aix_libpath_sed='
   12375     /Import File Strings/,/^$/ {
   12376 	/^0/ {
   12377 	    s/^0  *\(.*\)$/\1/
   12378 	    p
   12379 	}
   12380     }'
   12381 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12382 # Check for a 64-bit object if we didn't find anything.
   12383 if test -z "$aix_libpath"; then
   12384   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12385 fi
   12386 fi
   12387 rm -f core conftest.err conftest.$ac_objext \
   12388     conftest$ac_exeext conftest.$ac_ext
   12389 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   12390 
   12391           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   12392 
   12393           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"
   12394         else
   12395           if test "$host_cpu" = ia64; then
   12396 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   12397 	    allow_undefined_flag_CXX="-z nodefs"
   12398 	    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"
   12399           else
   12400 	    # Determine the default libpath from the value encoded in an
   12401 	    # empty executable.
   12402 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12403 /* end confdefs.h.  */
   12404 
   12405 int
   12406 main ()
   12407 {
   12408 
   12409   ;
   12410   return 0;
   12411 }
   12412 _ACEOF
   12413 if ac_fn_cxx_try_link "$LINENO"; then :
   12414 
   12415 lt_aix_libpath_sed='
   12416     /Import File Strings/,/^$/ {
   12417 	/^0/ {
   12418 	    s/^0  *\(.*\)$/\1/
   12419 	    p
   12420 	}
   12421     }'
   12422 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12423 # Check for a 64-bit object if we didn't find anything.
   12424 if test -z "$aix_libpath"; then
   12425   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12426 fi
   12427 fi
   12428 rm -f core conftest.err conftest.$ac_objext \
   12429     conftest$ac_exeext conftest.$ac_ext
   12430 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   12431 
   12432 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   12433 	    # Warning - without using the other run time loading flags,
   12434 	    # -berok will link without error, but may produce a broken library.
   12435 	    no_undefined_flag_CXX=' ${wl}-bernotok'
   12436 	    allow_undefined_flag_CXX=' ${wl}-berok'
   12437 	    if test "$with_gnu_ld" = yes; then
   12438 	      # We only use this code for GNU lds that support --whole-archive.
   12439 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12440 	    else
   12441 	      # Exported symbols can be pulled into shared objects from archives
   12442 	      whole_archive_flag_spec_CXX='$convenience'
   12443 	    fi
   12444 	    archive_cmds_need_lc_CXX=yes
   12445 	    # This is similar to how AIX traditionally builds its shared
   12446 	    # libraries.
   12447 	    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'
   12448           fi
   12449         fi
   12450         ;;
   12451 
   12452       beos*)
   12453 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   12454 	  allow_undefined_flag_CXX=unsupported
   12455 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   12456 	  # support --undefined.  This deserves some investigation.  FIXME
   12457 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12458 	else
   12459 	  ld_shlibs_CXX=no
   12460 	fi
   12461 	;;
   12462 
   12463       chorus*)
   12464         case $cc_basename in
   12465           *)
   12466 	  # FIXME: insert proper C++ library support
   12467 	  ld_shlibs_CXX=no
   12468 	  ;;
   12469         esac
   12470         ;;
   12471 
   12472       cygwin* | mingw* | pw32* | cegcc*)
   12473         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   12474         # as there is no search path for DLLs.
   12475         hardcode_libdir_flag_spec_CXX='-L$libdir'
   12476         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
   12477         allow_undefined_flag_CXX=unsupported
   12478         always_export_symbols_CXX=no
   12479         enable_shared_with_static_runtimes_CXX=yes
   12480 
   12481         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   12482           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'
   12483           # If the export-symbols file already is a .def file (1st line
   12484           # is EXPORTS), use it as is; otherwise, prepend...
   12485           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   12486 	    cp $export_symbols $output_objdir/$soname.def;
   12487           else
   12488 	    echo EXPORTS > $output_objdir/$soname.def;
   12489 	    cat $export_symbols >> $output_objdir/$soname.def;
   12490           fi~
   12491           $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'
   12492         else
   12493           ld_shlibs_CXX=no
   12494         fi
   12495         ;;
   12496       darwin* | rhapsody*)
   12497 
   12498 
   12499   archive_cmds_need_lc_CXX=no
   12500   hardcode_direct_CXX=no
   12501   hardcode_automatic_CXX=yes
   12502   hardcode_shlibpath_var_CXX=unsupported
   12503   if test "$lt_cv_ld_force_load" = "yes"; then
   12504     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\"`'
   12505   else
   12506     whole_archive_flag_spec_CXX=''
   12507   fi
   12508   link_all_deplibs_CXX=yes
   12509   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   12510   case $cc_basename in
   12511      ifort*) _lt_dar_can_shared=yes ;;
   12512      *) _lt_dar_can_shared=$GCC ;;
   12513   esac
   12514   if test "$_lt_dar_can_shared" = "yes"; then
   12515     output_verbose_link_cmd=func_echo_all
   12516     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}"
   12517     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   12518     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}"
   12519     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}"
   12520        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   12521       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}"
   12522       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}"
   12523     fi
   12524 
   12525   else
   12526   ld_shlibs_CXX=no
   12527   fi
   12528 
   12529 	;;
   12530 
   12531       dgux*)
   12532         case $cc_basename in
   12533           ec++*)
   12534 	    # FIXME: insert proper C++ library support
   12535 	    ld_shlibs_CXX=no
   12536 	    ;;
   12537           ghcx*)
   12538 	    # Green Hills C++ Compiler
   12539 	    # FIXME: insert proper C++ library support
   12540 	    ld_shlibs_CXX=no
   12541 	    ;;
   12542           *)
   12543 	    # FIXME: insert proper C++ library support
   12544 	    ld_shlibs_CXX=no
   12545 	    ;;
   12546         esac
   12547         ;;
   12548 
   12549       freebsd2.*)
   12550         # C++ shared libraries reported to be fairly broken before
   12551 	# switch to ELF
   12552         ld_shlibs_CXX=no
   12553         ;;
   12554 
   12555       freebsd-elf*)
   12556         archive_cmds_need_lc_CXX=no
   12557         ;;
   12558 
   12559       freebsd* | dragonfly*)
   12560         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   12561         # conventions
   12562         ld_shlibs_CXX=yes
   12563         ;;
   12564 
   12565       gnu*)
   12566         ;;
   12567 
   12568       haiku*)
   12569         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12570         link_all_deplibs_CXX=yes
   12571         ;;
   12572 
   12573       hpux9*)
   12574         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   12575         hardcode_libdir_separator_CXX=:
   12576         export_dynamic_flag_spec_CXX='${wl}-E'
   12577         hardcode_direct_CXX=yes
   12578         hardcode_minus_L_CXX=yes # Not in the search PATH,
   12579 				             # but as the default
   12580 				             # location of the library.
   12581 
   12582         case $cc_basename in
   12583           CC*)
   12584             # FIXME: insert proper C++ library support
   12585             ld_shlibs_CXX=no
   12586             ;;
   12587           aCC*)
   12588             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'
   12589             # Commands to make compiler produce verbose output that lists
   12590             # what "hidden" libraries, object files and flags are used when
   12591             # linking a shared library.
   12592             #
   12593             # There doesn't appear to be a way to prevent this compiler from
   12594             # explicitly linking system object files so we need to strip them
   12595             # from the output so that they don't get included in the library
   12596             # dependencies.
   12597             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"'
   12598             ;;
   12599           *)
   12600             if test "$GXX" = yes; then
   12601               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'
   12602             else
   12603               # FIXME: insert proper C++ library support
   12604               ld_shlibs_CXX=no
   12605             fi
   12606             ;;
   12607         esac
   12608         ;;
   12609 
   12610       hpux10*|hpux11*)
   12611         if test $with_gnu_ld = no; then
   12612 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   12613 	  hardcode_libdir_separator_CXX=:
   12614 
   12615           case $host_cpu in
   12616             hppa*64*|ia64*)
   12617               ;;
   12618             *)
   12619 	      export_dynamic_flag_spec_CXX='${wl}-E'
   12620               ;;
   12621           esac
   12622         fi
   12623         case $host_cpu in
   12624           hppa*64*|ia64*)
   12625             hardcode_direct_CXX=no
   12626             hardcode_shlibpath_var_CXX=no
   12627             ;;
   12628           *)
   12629             hardcode_direct_CXX=yes
   12630             hardcode_direct_absolute_CXX=yes
   12631             hardcode_minus_L_CXX=yes # Not in the search PATH,
   12632 					         # but as the default
   12633 					         # location of the library.
   12634             ;;
   12635         esac
   12636 
   12637         case $cc_basename in
   12638           CC*)
   12639 	    # FIXME: insert proper C++ library support
   12640 	    ld_shlibs_CXX=no
   12641 	    ;;
   12642           aCC*)
   12643 	    case $host_cpu in
   12644 	      hppa*64*)
   12645 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12646 	        ;;
   12647 	      ia64*)
   12648 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12649 	        ;;
   12650 	      *)
   12651 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12652 	        ;;
   12653 	    esac
   12654 	    # Commands to make compiler produce verbose output that lists
   12655 	    # what "hidden" libraries, object files and flags are used when
   12656 	    # linking a shared library.
   12657 	    #
   12658 	    # There doesn't appear to be a way to prevent this compiler from
   12659 	    # explicitly linking system object files so we need to strip them
   12660 	    # from the output so that they don't get included in the library
   12661 	    # dependencies.
   12662 	    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"'
   12663 	    ;;
   12664           *)
   12665 	    if test "$GXX" = yes; then
   12666 	      if test $with_gnu_ld = no; then
   12667 	        case $host_cpu in
   12668 	          hppa*64*)
   12669 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12670 	            ;;
   12671 	          ia64*)
   12672 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12673 	            ;;
   12674 	          *)
   12675 	            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'
   12676 	            ;;
   12677 	        esac
   12678 	      fi
   12679 	    else
   12680 	      # FIXME: insert proper C++ library support
   12681 	      ld_shlibs_CXX=no
   12682 	    fi
   12683 	    ;;
   12684         esac
   12685         ;;
   12686 
   12687       interix[3-9]*)
   12688 	hardcode_direct_CXX=no
   12689 	hardcode_shlibpath_var_CXX=no
   12690 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12691 	export_dynamic_flag_spec_CXX='${wl}-E'
   12692 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   12693 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   12694 	# default) and relocated if they conflict, which is a slow very memory
   12695 	# consuming and fragmenting process.  To avoid this, we pick a random,
   12696 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12697 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12698 	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'
   12699 	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'
   12700 	;;
   12701       irix5* | irix6*)
   12702         case $cc_basename in
   12703           CC*)
   12704 	    # SGI C++
   12705 	    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'
   12706 
   12707 	    # Archives containing C++ object files must be created using
   12708 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12709 	    # necessary to make sure instantiated templates are included
   12710 	    # in the archive.
   12711 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12712 	    ;;
   12713           *)
   12714 	    if test "$GXX" = yes; then
   12715 	      if test "$with_gnu_ld" = no; then
   12716 	        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'
   12717 	      else
   12718 	        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'
   12719 	      fi
   12720 	    fi
   12721 	    link_all_deplibs_CXX=yes
   12722 	    ;;
   12723         esac
   12724         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12725         hardcode_libdir_separator_CXX=:
   12726         inherit_rpath_CXX=yes
   12727         ;;
   12728 
   12729       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   12730         case $cc_basename in
   12731           KCC*)
   12732 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   12733 
   12734 	    # KCC will only create a shared library if the output file
   12735 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   12736 	    # to its proper name (with version) after linking.
   12737 	    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'
   12738 	    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'
   12739 	    # Commands to make compiler produce verbose output that lists
   12740 	    # what "hidden" libraries, object files and flags are used when
   12741 	    # linking a shared library.
   12742 	    #
   12743 	    # There doesn't appear to be a way to prevent this compiler from
   12744 	    # explicitly linking system object files so we need to strip them
   12745 	    # from the output so that they don't get included in the library
   12746 	    # dependencies.
   12747 	    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"'
   12748 
   12749 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12750 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12751 
   12752 	    # Archives containing C++ object files must be created using
   12753 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12754 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12755 	    ;;
   12756 	  icpc* | ecpc* )
   12757 	    # Intel C++
   12758 	    with_gnu_ld=yes
   12759 	    # version 8.0 and above of icpc choke on multiply defined symbols
   12760 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   12761 	    # earlier do not add the objects themselves.
   12762 	    case `$CC -V 2>&1` in
   12763 	      *"Version 7."*)
   12764 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12765 		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'
   12766 		;;
   12767 	      *)  # Version 8.0 or newer
   12768 	        tmp_idyn=
   12769 	        case $host_cpu in
   12770 		  ia64*) tmp_idyn=' -i_dynamic';;
   12771 		esac
   12772 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12773 		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'
   12774 		;;
   12775 	    esac
   12776 	    archive_cmds_need_lc_CXX=no
   12777 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12778 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12779 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12780 	    ;;
   12781           pgCC* | pgcpp*)
   12782             # Portland Group C++ compiler
   12783 	    case `$CC -V` in
   12784 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   12785 	      prelink_cmds_CXX='tpldir=Template.dir~
   12786 		rm -rf $tpldir~
   12787 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   12788 		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   12789 	      old_archive_cmds_CXX='tpldir=Template.dir~
   12790 		rm -rf $tpldir~
   12791 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   12792 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   12793 		$RANLIB $oldlib'
   12794 	      archive_cmds_CXX='tpldir=Template.dir~
   12795 		rm -rf $tpldir~
   12796 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   12797 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12798 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   12799 		rm -rf $tpldir~
   12800 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   12801 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   12802 	      ;;
   12803 	    *) # Version 6 and above use weak symbols
   12804 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12805 	      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'
   12806 	      ;;
   12807 	    esac
   12808 
   12809 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12810 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12811 	    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'
   12812             ;;
   12813 	  cxx*)
   12814 	    # Compaq C++
   12815 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12816 	    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'
   12817 
   12818 	    runpath_var=LD_RUN_PATH
   12819 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12820 	    hardcode_libdir_separator_CXX=:
   12821 
   12822 	    # Commands to make compiler produce verbose output that lists
   12823 	    # what "hidden" libraries, object files and flags are used when
   12824 	    # linking a shared library.
   12825 	    #
   12826 	    # There doesn't appear to be a way to prevent this compiler from
   12827 	    # explicitly linking system object files so we need to strip them
   12828 	    # from the output so that they don't get included in the library
   12829 	    # dependencies.
   12830 	    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'
   12831 	    ;;
   12832 	  xl* | mpixl* | bgxl*)
   12833 	    # IBM XL 8.0 on PPC, with GNU ld
   12834 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12835 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12836 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12837 	    if test "x$supports_anon_versioning" = xyes; then
   12838 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   12839 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   12840 		echo "local: *; };" >> $output_objdir/$libname.ver~
   12841 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   12842 	    fi
   12843 	    ;;
   12844 	  *)
   12845 	    case `$CC -V 2>&1 | sed 5q` in
   12846 	    *Sun\ C*)
   12847 	      # Sun C++ 5.9
   12848 	      no_undefined_flag_CXX=' -zdefs'
   12849 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12850 	      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'
   12851 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   12852 	      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'
   12853 	      compiler_needs_object_CXX=yes
   12854 
   12855 	      # Not sure whether something based on
   12856 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12857 	      # would be better.
   12858 	      output_verbose_link_cmd='func_echo_all'
   12859 
   12860 	      # Archives containing C++ object files must be created using
   12861 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12862 	      # necessary to make sure instantiated templates are included
   12863 	      # in the archive.
   12864 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12865 	      ;;
   12866 	    esac
   12867 	    ;;
   12868 	esac
   12869 	;;
   12870 
   12871       lynxos*)
   12872         # FIXME: insert proper C++ library support
   12873 	ld_shlibs_CXX=no
   12874 	;;
   12875 
   12876       m88k*)
   12877         # FIXME: insert proper C++ library support
   12878         ld_shlibs_CXX=no
   12879 	;;
   12880 
   12881       mvs*)
   12882         case $cc_basename in
   12883           cxx*)
   12884 	    # FIXME: insert proper C++ library support
   12885 	    ld_shlibs_CXX=no
   12886 	    ;;
   12887 	  *)
   12888 	    # FIXME: insert proper C++ library support
   12889 	    ld_shlibs_CXX=no
   12890 	    ;;
   12891 	esac
   12892 	;;
   12893 
   12894       netbsd*)
   12895         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12896 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12897 	  wlarc=
   12898 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12899 	  hardcode_direct_CXX=yes
   12900 	  hardcode_shlibpath_var_CXX=no
   12901 	fi
   12902 	# Workaround some broken pre-1.5 toolchains
   12903 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12904 	;;
   12905 
   12906       *nto* | *qnx*)
   12907         ld_shlibs_CXX=yes
   12908 	;;
   12909 
   12910       openbsd2*)
   12911         # C++ shared libraries are fairly broken
   12912 	ld_shlibs_CXX=no
   12913 	;;
   12914 
   12915       openbsd*)
   12916 	if test -f /usr/libexec/ld.so; then
   12917 	  hardcode_direct_CXX=yes
   12918 	  hardcode_shlibpath_var_CXX=no
   12919 	  hardcode_direct_absolute_CXX=yes
   12920 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12921 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12922 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12923 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12924 	    export_dynamic_flag_spec_CXX='${wl}-E'
   12925 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12926 	  fi
   12927 	  output_verbose_link_cmd=func_echo_all
   12928 	else
   12929 	  ld_shlibs_CXX=no
   12930 	fi
   12931 	;;
   12932 
   12933       osf3* | osf4* | osf5*)
   12934         case $cc_basename in
   12935           KCC*)
   12936 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   12937 
   12938 	    # KCC will only create a shared library if the output file
   12939 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   12940 	    # to its proper name (with version) after linking.
   12941 	    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'
   12942 
   12943 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12944 	    hardcode_libdir_separator_CXX=:
   12945 
   12946 	    # Archives containing C++ object files must be created using
   12947 	    # the KAI C++ compiler.
   12948 	    case $host in
   12949 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   12950 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   12951 	    esac
   12952 	    ;;
   12953           RCC*)
   12954 	    # Rational C++ 2.4.1
   12955 	    # FIXME: insert proper C++ library support
   12956 	    ld_shlibs_CXX=no
   12957 	    ;;
   12958           cxx*)
   12959 	    case $host in
   12960 	      osf3*)
   12961 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12962 	        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'
   12963 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12964 		;;
   12965 	      *)
   12966 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   12967 	        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'
   12968 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12969 	          echo "-hidden">> $lib.exp~
   12970 	          $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~
   12971 	          $RM $lib.exp'
   12972 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12973 		;;
   12974 	    esac
   12975 
   12976 	    hardcode_libdir_separator_CXX=:
   12977 
   12978 	    # Commands to make compiler produce verbose output that lists
   12979 	    # what "hidden" libraries, object files and flags are used when
   12980 	    # linking a shared library.
   12981 	    #
   12982 	    # There doesn't appear to be a way to prevent this compiler from
   12983 	    # explicitly linking system object files so we need to strip them
   12984 	    # from the output so that they don't get included in the library
   12985 	    # dependencies.
   12986 	    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"'
   12987 	    ;;
   12988 	  *)
   12989 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12990 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12991 	      case $host in
   12992 	        osf3*)
   12993 	          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'
   12994 		  ;;
   12995 	        *)
   12996 	          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'
   12997 		  ;;
   12998 	      esac
   12999 
   13000 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13001 	      hardcode_libdir_separator_CXX=:
   13002 
   13003 	      # Commands to make compiler produce verbose output that lists
   13004 	      # what "hidden" libraries, object files and flags are used when
   13005 	      # linking a shared library.
   13006 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13007 
   13008 	    else
   13009 	      # FIXME: insert proper C++ library support
   13010 	      ld_shlibs_CXX=no
   13011 	    fi
   13012 	    ;;
   13013         esac
   13014         ;;
   13015 
   13016       psos*)
   13017         # FIXME: insert proper C++ library support
   13018         ld_shlibs_CXX=no
   13019         ;;
   13020 
   13021       sunos4*)
   13022         case $cc_basename in
   13023           CC*)
   13024 	    # Sun C++ 4.x
   13025 	    # FIXME: insert proper C++ library support
   13026 	    ld_shlibs_CXX=no
   13027 	    ;;
   13028           lcc*)
   13029 	    # Lucid
   13030 	    # FIXME: insert proper C++ library support
   13031 	    ld_shlibs_CXX=no
   13032 	    ;;
   13033           *)
   13034 	    # FIXME: insert proper C++ library support
   13035 	    ld_shlibs_CXX=no
   13036 	    ;;
   13037         esac
   13038         ;;
   13039 
   13040       solaris*)
   13041         case $cc_basename in
   13042           CC*)
   13043 	    # Sun C++ 4.2, 5.x and Centerline C++
   13044             archive_cmds_need_lc_CXX=yes
   13045 	    no_undefined_flag_CXX=' -zdefs'
   13046 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13047 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13048 	      $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'
   13049 
   13050 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   13051 	    hardcode_shlibpath_var_CXX=no
   13052 	    case $host_os in
   13053 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   13054 	      *)
   13055 		# The compiler driver will combine and reorder linker options,
   13056 		# but understands `-z linker_flag'.
   13057 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   13058 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   13059 	        ;;
   13060 	    esac
   13061 	    link_all_deplibs_CXX=yes
   13062 
   13063 	    output_verbose_link_cmd='func_echo_all'
   13064 
   13065 	    # Archives containing C++ object files must be created using
   13066 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13067 	    # necessary to make sure instantiated templates are included
   13068 	    # in the archive.
   13069 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13070 	    ;;
   13071           gcx*)
   13072 	    # Green Hills C++ Compiler
   13073 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13074 
   13075 	    # The C++ compiler must be used to create the archive.
   13076 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   13077 	    ;;
   13078           *)
   13079 	    # GNU C++ compiler with Solaris linker
   13080 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13081 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   13082 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   13083 	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13084 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13085 		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13086 
   13087 	        # Commands to make compiler produce verbose output that lists
   13088 	        # what "hidden" libraries, object files and flags are used when
   13089 	        # linking a shared library.
   13090 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13091 	      else
   13092 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
   13093 	        # platform.
   13094 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13095 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13096 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13097 
   13098 	        # Commands to make compiler produce verbose output that lists
   13099 	        # what "hidden" libraries, object files and flags are used when
   13100 	        # linking a shared library.
   13101 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13102 	      fi
   13103 
   13104 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   13105 	      case $host_os in
   13106 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   13107 		*)
   13108 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   13109 		  ;;
   13110 	      esac
   13111 	    fi
   13112 	    ;;
   13113         esac
   13114         ;;
   13115 
   13116     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   13117       no_undefined_flag_CXX='${wl}-z,text'
   13118       archive_cmds_need_lc_CXX=no
   13119       hardcode_shlibpath_var_CXX=no
   13120       runpath_var='LD_RUN_PATH'
   13121 
   13122       case $cc_basename in
   13123         CC*)
   13124 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13125 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13126 	  ;;
   13127 	*)
   13128 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13129 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13130 	  ;;
   13131       esac
   13132       ;;
   13133 
   13134       sysv5* | sco3.2v5* | sco5v6*)
   13135 	# Note: We can NOT use -z defs as we might desire, because we do not
   13136 	# link with -lc, and that would cause any symbols used from libc to
   13137 	# always be unresolved, which means just about no library would
   13138 	# ever link correctly.  If we're not using GNU ld we use -z text
   13139 	# though, which does catch some bad symbols but isn't as heavy-handed
   13140 	# as -z defs.
   13141 	no_undefined_flag_CXX='${wl}-z,text'
   13142 	allow_undefined_flag_CXX='${wl}-z,nodefs'
   13143 	archive_cmds_need_lc_CXX=no
   13144 	hardcode_shlibpath_var_CXX=no
   13145 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
   13146 	hardcode_libdir_separator_CXX=':'
   13147 	link_all_deplibs_CXX=yes
   13148 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
   13149 	runpath_var='LD_RUN_PATH'
   13150 
   13151 	case $cc_basename in
   13152           CC*)
   13153 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13154 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13155 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   13156 	      '"$old_archive_cmds_CXX"
   13157 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   13158 	      '"$reload_cmds_CXX"
   13159 	    ;;
   13160 	  *)
   13161 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13162 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13163 	    ;;
   13164 	esac
   13165       ;;
   13166 
   13167       tandem*)
   13168         case $cc_basename in
   13169           NCC*)
   13170 	    # NonStop-UX NCC 3.20
   13171 	    # FIXME: insert proper C++ library support
   13172 	    ld_shlibs_CXX=no
   13173 	    ;;
   13174           *)
   13175 	    # FIXME: insert proper C++ library support
   13176 	    ld_shlibs_CXX=no
   13177 	    ;;
   13178         esac
   13179         ;;
   13180 
   13181       vxworks*)
   13182         # For VxWorks ports, we assume the use of a GNU linker with
   13183         # standard elf conventions.
   13184         ld_shlibs_CXX=yes
   13185         ;;
   13186 
   13187       *)
   13188         # FIXME: insert proper C++ library support
   13189         ld_shlibs_CXX=no
   13190         ;;
   13191     esac
   13192 
   13193     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   13194 $as_echo "$ld_shlibs_CXX" >&6; }
   13195     test "$ld_shlibs_CXX" = no && can_build_shared=no
   13196 
   13197     GCC_CXX="$GXX"
   13198     LD_CXX="$LD"
   13199 
   13200     ## CAVEAT EMPTOR:
   13201     ## There is no encapsulation within the following macros, do not change
   13202     ## the running order or otherwise move them around unless you know exactly
   13203     ## what you are doing...
   13204     # Dependencies to place before and after the object being linked:
   13205 predep_objects_CXX=
   13206 postdep_objects_CXX=
   13207 predeps_CXX=
   13208 postdeps_CXX=
   13209 compiler_lib_search_path_CXX=
   13210 
   13211 cat > conftest.$ac_ext <<_LT_EOF
   13212 class Foo
   13213 {
   13214 public:
   13215   Foo (void) { a = 0; }
   13216 private:
   13217   int a;
   13218 };
   13219 _LT_EOF
   13220 
   13221 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13222   (eval $ac_compile) 2>&5
   13223   ac_status=$?
   13224   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13225   test $ac_status = 0; }; then
   13226   # Parse the compiler output and extract the necessary
   13227   # objects, libraries and library flags.
   13228 
   13229   # Sentinel used to keep track of whether or not we are before
   13230   # the conftest object file.
   13231   pre_test_object_deps_done=no
   13232 
   13233   for p in `eval "$output_verbose_link_cmd"`; do
   13234     case $p in
   13235 
   13236     -L* | -R* | -l*)
   13237        # Some compilers place space between "-{L,R}" and the path.
   13238        # Remove the space.
   13239        if test $p = "-L" ||
   13240           test $p = "-R"; then
   13241 	 prev=$p
   13242 	 continue
   13243        else
   13244 	 prev=
   13245        fi
   13246 
   13247        if test "$pre_test_object_deps_done" = no; then
   13248 	 case $p in
   13249 	 -L* | -R*)
   13250 	   # Internal compiler library paths should come after those
   13251 	   # provided the user.  The postdeps already come after the
   13252 	   # user supplied libs so there is no need to process them.
   13253 	   if test -z "$compiler_lib_search_path_CXX"; then
   13254 	     compiler_lib_search_path_CXX="${prev}${p}"
   13255 	   else
   13256 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   13257 	   fi
   13258 	   ;;
   13259 	 # The "-l" case would never come before the object being
   13260 	 # linked, so don't bother handling this case.
   13261 	 esac
   13262        else
   13263 	 if test -z "$postdeps_CXX"; then
   13264 	   postdeps_CXX="${prev}${p}"
   13265 	 else
   13266 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   13267 	 fi
   13268        fi
   13269        ;;
   13270 
   13271     *.$objext)
   13272        # This assumes that the test object file only shows up
   13273        # once in the compiler output.
   13274        if test "$p" = "conftest.$objext"; then
   13275 	 pre_test_object_deps_done=yes
   13276 	 continue
   13277        fi
   13278 
   13279        if test "$pre_test_object_deps_done" = no; then
   13280 	 if test -z "$predep_objects_CXX"; then
   13281 	   predep_objects_CXX="$p"
   13282 	 else
   13283 	   predep_objects_CXX="$predep_objects_CXX $p"
   13284 	 fi
   13285        else
   13286 	 if test -z "$postdep_objects_CXX"; then
   13287 	   postdep_objects_CXX="$p"
   13288 	 else
   13289 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   13290 	 fi
   13291        fi
   13292        ;;
   13293 
   13294     *) ;; # Ignore the rest.
   13295 
   13296     esac
   13297   done
   13298 
   13299   # Clean up.
   13300   rm -f a.out a.exe
   13301 else
   13302   echo "libtool.m4: error: problem compiling CXX test program"
   13303 fi
   13304 
   13305 $RM -f confest.$objext
   13306 
   13307 # PORTME: override above test on systems where it is broken
   13308 case $host_os in
   13309 interix[3-9]*)
   13310   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   13311   # hack all around it, let's just trust "g++" to DTRT.
   13312   predep_objects_CXX=
   13313   postdep_objects_CXX=
   13314   postdeps_CXX=
   13315   ;;
   13316 
   13317 linux*)
   13318   case `$CC -V 2>&1 | sed 5q` in
   13319   *Sun\ C*)
   13320     # Sun C++ 5.9
   13321 
   13322     # The more standards-conforming stlport4 library is
   13323     # incompatible with the Cstd library. Avoid specifying
   13324     # it if it's in CXXFLAGS. Ignore libCrun as
   13325     # -library=stlport4 depends on it.
   13326     case " $CXX $CXXFLAGS " in
   13327     *" -library=stlport4 "*)
   13328       solaris_use_stlport4=yes
   13329       ;;
   13330     esac
   13331 
   13332     if test "$solaris_use_stlport4" != yes; then
   13333       postdeps_CXX='-library=Cstd -library=Crun'
   13334     fi
   13335     ;;
   13336   esac
   13337   ;;
   13338 
   13339 solaris*)
   13340   case $cc_basename in
   13341   CC*)
   13342     # The more standards-conforming stlport4 library is
   13343     # incompatible with the Cstd library. Avoid specifying
   13344     # it if it's in CXXFLAGS. Ignore libCrun as
   13345     # -library=stlport4 depends on it.
   13346     case " $CXX $CXXFLAGS " in
   13347     *" -library=stlport4 "*)
   13348       solaris_use_stlport4=yes
   13349       ;;
   13350     esac
   13351 
   13352     # Adding this requires a known-good setup of shared libraries for
   13353     # Sun compiler versions before 5.6, else PIC objects from an old
   13354     # archive will be linked into the output, leading to subtle bugs.
   13355     if test "$solaris_use_stlport4" != yes; then
   13356       postdeps_CXX='-library=Cstd -library=Crun'
   13357     fi
   13358     ;;
   13359   esac
   13360   ;;
   13361 esac
   13362 
   13363 
   13364 case " $postdeps_CXX " in
   13365 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   13366 esac
   13367  compiler_lib_search_dirs_CXX=
   13368 if test -n "${compiler_lib_search_path_CXX}"; then
   13369  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   13370 fi
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402     lt_prog_compiler_wl_CXX=
   13403 lt_prog_compiler_pic_CXX=
   13404 lt_prog_compiler_static_CXX=
   13405 
   13406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13407 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   13408 
   13409   # C++ specific cases for pic, static, wl, etc.
   13410   if test "$GXX" = yes; then
   13411     lt_prog_compiler_wl_CXX='-Wl,'
   13412     lt_prog_compiler_static_CXX='-static'
   13413 
   13414     case $host_os in
   13415     aix*)
   13416       # All AIX code is PIC.
   13417       if test "$host_cpu" = ia64; then
   13418 	# AIX 5 now supports IA64 processor
   13419 	lt_prog_compiler_static_CXX='-Bstatic'
   13420       fi
   13421       lt_prog_compiler_pic_CXX='-fPIC'
   13422       ;;
   13423 
   13424     amigaos*)
   13425       case $host_cpu in
   13426       powerpc)
   13427             # see comment about AmigaOS4 .so support
   13428             lt_prog_compiler_pic_CXX='-fPIC'
   13429         ;;
   13430       m68k)
   13431             # FIXME: we need at least 68020 code to build shared libraries, but
   13432             # adding the `-m68020' flag to GCC prevents building anything better,
   13433             # like `-m68040'.
   13434             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   13435         ;;
   13436       esac
   13437       ;;
   13438 
   13439     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13440       # PIC is the default for these OSes.
   13441       ;;
   13442     mingw* | cygwin* | os2* | pw32* | cegcc*)
   13443       # This hack is so that the source file can tell whether it is being
   13444       # built for inclusion in a dll (and should export symbols for example).
   13445       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13446       # (--disable-auto-import) libraries
   13447       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   13448       ;;
   13449     darwin* | rhapsody*)
   13450       # PIC is the default on this platform
   13451       # Common symbols not allowed in MH_DYLIB files
   13452       lt_prog_compiler_pic_CXX='-fno-common'
   13453       ;;
   13454     *djgpp*)
   13455       # DJGPP does not support shared libraries at all
   13456       lt_prog_compiler_pic_CXX=
   13457       ;;
   13458     haiku*)
   13459       # PIC is the default for Haiku.
   13460       # The "-static" flag exists, but is broken.
   13461       lt_prog_compiler_static_CXX=
   13462       ;;
   13463     interix[3-9]*)
   13464       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13465       # Instead, we relocate shared libraries at runtime.
   13466       ;;
   13467     sysv4*MP*)
   13468       if test -d /usr/nec; then
   13469 	lt_prog_compiler_pic_CXX=-Kconform_pic
   13470       fi
   13471       ;;
   13472     hpux*)
   13473       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   13474       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   13475       # sets the default TLS model and affects inlining.
   13476       case $host_cpu in
   13477       hppa*64*)
   13478 	;;
   13479       *)
   13480 	lt_prog_compiler_pic_CXX='-fPIC'
   13481 	;;
   13482       esac
   13483       ;;
   13484     *qnx* | *nto*)
   13485       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13486       # it will coredump.
   13487       lt_prog_compiler_pic_CXX='-fPIC -shared'
   13488       ;;
   13489     *)
   13490       lt_prog_compiler_pic_CXX='-fPIC'
   13491       ;;
   13492     esac
   13493   else
   13494     case $host_os in
   13495       aix[4-9]*)
   13496 	# All AIX code is PIC.
   13497 	if test "$host_cpu" = ia64; then
   13498 	  # AIX 5 now supports IA64 processor
   13499 	  lt_prog_compiler_static_CXX='-Bstatic'
   13500 	else
   13501 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   13502 	fi
   13503 	;;
   13504       chorus*)
   13505 	case $cc_basename in
   13506 	cxch68*)
   13507 	  # Green Hills C++ Compiler
   13508 	  # _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"
   13509 	  ;;
   13510 	esac
   13511 	;;
   13512       dgux*)
   13513 	case $cc_basename in
   13514 	  ec++*)
   13515 	    lt_prog_compiler_pic_CXX='-KPIC'
   13516 	    ;;
   13517 	  ghcx*)
   13518 	    # Green Hills C++ Compiler
   13519 	    lt_prog_compiler_pic_CXX='-pic'
   13520 	    ;;
   13521 	  *)
   13522 	    ;;
   13523 	esac
   13524 	;;
   13525       freebsd* | dragonfly*)
   13526 	# FreeBSD uses GNU C++
   13527 	;;
   13528       hpux9* | hpux10* | hpux11*)
   13529 	case $cc_basename in
   13530 	  CC*)
   13531 	    lt_prog_compiler_wl_CXX='-Wl,'
   13532 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   13533 	    if test "$host_cpu" != ia64; then
   13534 	      lt_prog_compiler_pic_CXX='+Z'
   13535 	    fi
   13536 	    ;;
   13537 	  aCC*)
   13538 	    lt_prog_compiler_wl_CXX='-Wl,'
   13539 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   13540 	    case $host_cpu in
   13541 	    hppa*64*|ia64*)
   13542 	      # +Z the default
   13543 	      ;;
   13544 	    *)
   13545 	      lt_prog_compiler_pic_CXX='+Z'
   13546 	      ;;
   13547 	    esac
   13548 	    ;;
   13549 	  *)
   13550 	    ;;
   13551 	esac
   13552 	;;
   13553       interix*)
   13554 	# This is c89, which is MS Visual C++ (no shared libs)
   13555 	# Anyone wants to do a port?
   13556 	;;
   13557       irix5* | irix6* | nonstopux*)
   13558 	case $cc_basename in
   13559 	  CC*)
   13560 	    lt_prog_compiler_wl_CXX='-Wl,'
   13561 	    lt_prog_compiler_static_CXX='-non_shared'
   13562 	    # CC pic flag -KPIC is the default.
   13563 	    ;;
   13564 	  *)
   13565 	    ;;
   13566 	esac
   13567 	;;
   13568       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   13569 	case $cc_basename in
   13570 	  KCC*)
   13571 	    # KAI C++ Compiler
   13572 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   13573 	    lt_prog_compiler_pic_CXX='-fPIC'
   13574 	    ;;
   13575 	  ecpc* )
   13576 	    # old Intel C++ for x86_64 which still supported -KPIC.
   13577 	    lt_prog_compiler_wl_CXX='-Wl,'
   13578 	    lt_prog_compiler_pic_CXX='-KPIC'
   13579 	    lt_prog_compiler_static_CXX='-static'
   13580 	    ;;
   13581 	  icpc* )
   13582 	    # Intel C++, used to be incompatible with GCC.
   13583 	    # ICC 10 doesn't accept -KPIC any more.
   13584 	    lt_prog_compiler_wl_CXX='-Wl,'
   13585 	    lt_prog_compiler_pic_CXX='-fPIC'
   13586 	    lt_prog_compiler_static_CXX='-static'
   13587 	    ;;
   13588 	  pgCC* | pgcpp*)
   13589 	    # Portland Group C++ compiler
   13590 	    lt_prog_compiler_wl_CXX='-Wl,'
   13591 	    lt_prog_compiler_pic_CXX='-fpic'
   13592 	    lt_prog_compiler_static_CXX='-Bstatic'
   13593 	    ;;
   13594 	  cxx*)
   13595 	    # Compaq C++
   13596 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   13597 	    # Linux and Compaq Tru64 Unix objects are PIC.
   13598 	    lt_prog_compiler_pic_CXX=
   13599 	    lt_prog_compiler_static_CXX='-non_shared'
   13600 	    ;;
   13601 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   13602 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   13603 	    lt_prog_compiler_wl_CXX='-Wl,'
   13604 	    lt_prog_compiler_pic_CXX='-qpic'
   13605 	    lt_prog_compiler_static_CXX='-qstaticlink'
   13606 	    ;;
   13607 	  *)
   13608 	    case `$CC -V 2>&1 | sed 5q` in
   13609 	    *Sun\ C*)
   13610 	      # Sun C++ 5.9
   13611 	      lt_prog_compiler_pic_CXX='-KPIC'
   13612 	      lt_prog_compiler_static_CXX='-Bstatic'
   13613 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   13614 	      ;;
   13615 	    esac
   13616 	    ;;
   13617 	esac
   13618 	;;
   13619       lynxos*)
   13620 	;;
   13621       m88k*)
   13622 	;;
   13623       mvs*)
   13624 	case $cc_basename in
   13625 	  cxx*)
   13626 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   13627 	    ;;
   13628 	  *)
   13629 	    ;;
   13630 	esac
   13631 	;;
   13632       netbsd*)
   13633 	;;
   13634       *qnx* | *nto*)
   13635         # QNX uses GNU C++, but need to define -shared option too, otherwise
   13636         # it will coredump.
   13637         lt_prog_compiler_pic_CXX='-fPIC -shared'
   13638         ;;
   13639       osf3* | osf4* | osf5*)
   13640 	case $cc_basename in
   13641 	  KCC*)
   13642 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   13643 	    ;;
   13644 	  RCC*)
   13645 	    # Rational C++ 2.4.1
   13646 	    lt_prog_compiler_pic_CXX='-pic'
   13647 	    ;;
   13648 	  cxx*)
   13649 	    # Digital/Compaq C++
   13650 	    lt_prog_compiler_wl_CXX='-Wl,'
   13651 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   13652 	    # Linux and Compaq Tru64 Unix objects are PIC.
   13653 	    lt_prog_compiler_pic_CXX=
   13654 	    lt_prog_compiler_static_CXX='-non_shared'
   13655 	    ;;
   13656 	  *)
   13657 	    ;;
   13658 	esac
   13659 	;;
   13660       psos*)
   13661 	;;
   13662       solaris*)
   13663 	case $cc_basename in
   13664 	  CC*)
   13665 	    # Sun C++ 4.2, 5.x and Centerline C++
   13666 	    lt_prog_compiler_pic_CXX='-KPIC'
   13667 	    lt_prog_compiler_static_CXX='-Bstatic'
   13668 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   13669 	    ;;
   13670 	  gcx*)
   13671 	    # Green Hills C++ Compiler
   13672 	    lt_prog_compiler_pic_CXX='-PIC'
   13673 	    ;;
   13674 	  *)
   13675 	    ;;
   13676 	esac
   13677 	;;
   13678       sunos4*)
   13679 	case $cc_basename in
   13680 	  CC*)
   13681 	    # Sun C++ 4.x
   13682 	    lt_prog_compiler_pic_CXX='-pic'
   13683 	    lt_prog_compiler_static_CXX='-Bstatic'
   13684 	    ;;
   13685 	  lcc*)
   13686 	    # Lucid
   13687 	    lt_prog_compiler_pic_CXX='-pic'
   13688 	    ;;
   13689 	  *)
   13690 	    ;;
   13691 	esac
   13692 	;;
   13693       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13694 	case $cc_basename in
   13695 	  CC*)
   13696 	    lt_prog_compiler_wl_CXX='-Wl,'
   13697 	    lt_prog_compiler_pic_CXX='-KPIC'
   13698 	    lt_prog_compiler_static_CXX='-Bstatic'
   13699 	    ;;
   13700 	esac
   13701 	;;
   13702       tandem*)
   13703 	case $cc_basename in
   13704 	  NCC*)
   13705 	    # NonStop-UX NCC 3.20
   13706 	    lt_prog_compiler_pic_CXX='-KPIC'
   13707 	    ;;
   13708 	  *)
   13709 	    ;;
   13710 	esac
   13711 	;;
   13712       vxworks*)
   13713 	;;
   13714       *)
   13715 	lt_prog_compiler_can_build_shared_CXX=no
   13716 	;;
   13717     esac
   13718   fi
   13719 
   13720 case $host_os in
   13721   # For platforms which do not support PIC, -DPIC is meaningless:
   13722   *djgpp*)
   13723     lt_prog_compiler_pic_CXX=
   13724     ;;
   13725   *)
   13726     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13727     ;;
   13728 esac
   13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
   13730 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   13731 
   13732 
   13733 
   13734 #
   13735 # Check to make sure the PIC flag actually works.
   13736 #
   13737 if test -n "$lt_prog_compiler_pic_CXX"; then
   13738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   13739 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   13740 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   13741   $as_echo_n "(cached) " >&6
   13742 else
   13743   lt_cv_prog_compiler_pic_works_CXX=no
   13744    ac_outfile=conftest.$ac_objext
   13745    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13746    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   13747    # Insert the option either (1) after the last *FLAGS variable, or
   13748    # (2) before a word containing "conftest.", or (3) at the end.
   13749    # Note that $ac_compile itself does not contain backslashes and begins
   13750    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13751    # The option is referenced via a variable to avoid confusing sed.
   13752    lt_compile=`echo "$ac_compile" | $SED \
   13753    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13754    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13755    -e 's:$: $lt_compiler_flag:'`
   13756    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13757    (eval "$lt_compile" 2>conftest.err)
   13758    ac_status=$?
   13759    cat conftest.err >&5
   13760    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13761    if (exit $ac_status) && test -s "$ac_outfile"; then
   13762      # The compiler can only warn and ignore the option if not recognized
   13763      # So say no if there are warnings other than the usual output.
   13764      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13765      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13766      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13767        lt_cv_prog_compiler_pic_works_CXX=yes
   13768      fi
   13769    fi
   13770    $RM conftest*
   13771 
   13772 fi
   13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   13774 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   13775 
   13776 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   13777     case $lt_prog_compiler_pic_CXX in
   13778      "" | " "*) ;;
   13779      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   13780      esac
   13781 else
   13782     lt_prog_compiler_pic_CXX=
   13783      lt_prog_compiler_can_build_shared_CXX=no
   13784 fi
   13785 
   13786 fi
   13787 
   13788 
   13789 
   13790 #
   13791 # Check to make sure the static flag actually works.
   13792 #
   13793 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13795 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13796 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   13797   $as_echo_n "(cached) " >&6
   13798 else
   13799   lt_cv_prog_compiler_static_works_CXX=no
   13800    save_LDFLAGS="$LDFLAGS"
   13801    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13802    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13803    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13804      # The linker can only warn and ignore the option if not recognized
   13805      # So say no if there are warnings
   13806      if test -s conftest.err; then
   13807        # Append any errors to the config.log.
   13808        cat conftest.err 1>&5
   13809        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   13810        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13811        if diff conftest.exp conftest.er2 >/dev/null; then
   13812          lt_cv_prog_compiler_static_works_CXX=yes
   13813        fi
   13814      else
   13815        lt_cv_prog_compiler_static_works_CXX=yes
   13816      fi
   13817    fi
   13818    $RM -r conftest*
   13819    LDFLAGS="$save_LDFLAGS"
   13820 
   13821 fi
   13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13823 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13824 
   13825 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13826     :
   13827 else
   13828     lt_prog_compiler_static_CXX=
   13829 fi
   13830 
   13831 
   13832 
   13833 
   13834     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13835 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13836 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   13837   $as_echo_n "(cached) " >&6
   13838 else
   13839   lt_cv_prog_compiler_c_o_CXX=no
   13840    $RM -r conftest 2>/dev/null
   13841    mkdir conftest
   13842    cd conftest
   13843    mkdir out
   13844    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13845 
   13846    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13847    # Insert the option either (1) after the last *FLAGS variable, or
   13848    # (2) before a word containing "conftest.", or (3) at the end.
   13849    # Note that $ac_compile itself does not contain backslashes and begins
   13850    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13851    lt_compile=`echo "$ac_compile" | $SED \
   13852    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13853    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13854    -e 's:$: $lt_compiler_flag:'`
   13855    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13856    (eval "$lt_compile" 2>out/conftest.err)
   13857    ac_status=$?
   13858    cat out/conftest.err >&5
   13859    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13860    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13861    then
   13862      # The compiler can only warn and ignore the option if not recognized
   13863      # So say no if there are warnings
   13864      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13865      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13866      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13867        lt_cv_prog_compiler_c_o_CXX=yes
   13868      fi
   13869    fi
   13870    chmod u+w . 2>&5
   13871    $RM conftest*
   13872    # SGI C++ compiler will create directory out/ii_files/ for
   13873    # template instantiation
   13874    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13875    $RM out/* && rmdir out
   13876    cd ..
   13877    $RM -r conftest
   13878    $RM conftest*
   13879 
   13880 fi
   13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13882 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13883 
   13884 
   13885 
   13886     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13887 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13888 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   13889   $as_echo_n "(cached) " >&6
   13890 else
   13891   lt_cv_prog_compiler_c_o_CXX=no
   13892    $RM -r conftest 2>/dev/null
   13893    mkdir conftest
   13894    cd conftest
   13895    mkdir out
   13896    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13897 
   13898    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13899    # Insert the option either (1) after the last *FLAGS variable, or
   13900    # (2) before a word containing "conftest.", or (3) at the end.
   13901    # Note that $ac_compile itself does not contain backslashes and begins
   13902    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13903    lt_compile=`echo "$ac_compile" | $SED \
   13904    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13905    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13906    -e 's:$: $lt_compiler_flag:'`
   13907    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13908    (eval "$lt_compile" 2>out/conftest.err)
   13909    ac_status=$?
   13910    cat out/conftest.err >&5
   13911    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13912    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13913    then
   13914      # The compiler can only warn and ignore the option if not recognized
   13915      # So say no if there are warnings
   13916      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13917      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13918      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13919        lt_cv_prog_compiler_c_o_CXX=yes
   13920      fi
   13921    fi
   13922    chmod u+w . 2>&5
   13923    $RM conftest*
   13924    # SGI C++ compiler will create directory out/ii_files/ for
   13925    # template instantiation
   13926    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13927    $RM out/* && rmdir out
   13928    cd ..
   13929    $RM -r conftest
   13930    $RM conftest*
   13931 
   13932 fi
   13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13934 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13935 
   13936 
   13937 
   13938 
   13939 hard_links="nottested"
   13940 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13941   # do not overwrite the value of need_locks provided by the user
   13942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   13943 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13944   hard_links=yes
   13945   $RM conftest*
   13946   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13947   touch conftest.a
   13948   ln conftest.a conftest.b 2>&5 || hard_links=no
   13949   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   13951 $as_echo "$hard_links" >&6; }
   13952   if test "$hard_links" = no; then
   13953     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13954 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13955     need_locks=warn
   13956   fi
   13957 else
   13958   need_locks=no
   13959 fi
   13960 
   13961 
   13962 
   13963     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13964 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13965 
   13966   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13967   case $host_os in
   13968   aix[4-9]*)
   13969     # If we're using GNU nm, then we don't want the "-C" option.
   13970     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13971     # Also, AIX nm treats weak defined symbols like other global defined
   13972     # symbols, whereas GNU nm marks them as "W".
   13973     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   13974       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'
   13975     else
   13976       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'
   13977     fi
   13978     ;;
   13979   pw32*)
   13980     export_symbols_cmds_CXX="$ltdll_cmds"
   13981   ;;
   13982   cygwin* | mingw* | cegcc*)
   13983     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'
   13984   ;;
   13985   *)
   13986     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13987   ;;
   13988   esac
   13989   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13990 
   13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   13992 $as_echo "$ld_shlibs_CXX" >&6; }
   13993 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13994 
   13995 with_gnu_ld_CXX=$with_gnu_ld
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 #
   14003 # Do we need to explicitly link libc?
   14004 #
   14005 case "x$archive_cmds_need_lc_CXX" in
   14006 x|xyes)
   14007   # Assume -lc should be added
   14008   archive_cmds_need_lc_CXX=yes
   14009 
   14010   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14011     case $archive_cmds_CXX in
   14012     *'~'*)
   14013       # FIXME: we may have to deal with multi-command sequences.
   14014       ;;
   14015     '$CC '*)
   14016       # Test whether the compiler implicitly links with -lc since on some
   14017       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14018       # to ld, don't add -lc before -lgcc.
   14019       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   14020 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   14021 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   14022   $as_echo_n "(cached) " >&6
   14023 else
   14024   $RM conftest*
   14025 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14026 
   14027 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14028   (eval $ac_compile) 2>&5
   14029   ac_status=$?
   14030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14031   test $ac_status = 0; } 2>conftest.err; then
   14032 	  soname=conftest
   14033 	  lib=conftest
   14034 	  libobjs=conftest.$ac_objext
   14035 	  deplibs=
   14036 	  wl=$lt_prog_compiler_wl_CXX
   14037 	  pic_flag=$lt_prog_compiler_pic_CXX
   14038 	  compiler_flags=-v
   14039 	  linker_flags=-v
   14040 	  verstring=
   14041 	  output_objdir=.
   14042 	  libname=conftest
   14043 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   14044 	  allow_undefined_flag_CXX=
   14045 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   14046   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14047   ac_status=$?
   14048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14049   test $ac_status = 0; }
   14050 	  then
   14051 	    lt_cv_archive_cmds_need_lc_CXX=no
   14052 	  else
   14053 	    lt_cv_archive_cmds_need_lc_CXX=yes
   14054 	  fi
   14055 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   14056 	else
   14057 	  cat conftest.err 1>&5
   14058 	fi
   14059 	$RM conftest*
   14060 
   14061 fi
   14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   14063 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   14064       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   14065       ;;
   14066     esac
   14067   fi
   14068   ;;
   14069 esac
   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 
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 
   14122 
   14123 
   14124 
   14125 
   14126 
   14127 
   14128 
   14129 
   14130 
   14131 
   14132 
   14133 
   14134     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   14135 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   14136 
   14137 library_names_spec=
   14138 libname_spec='lib$name'
   14139 soname_spec=
   14140 shrext_cmds=".so"
   14141 postinstall_cmds=
   14142 postuninstall_cmds=
   14143 finish_cmds=
   14144 finish_eval=
   14145 shlibpath_var=
   14146 shlibpath_overrides_runpath=unknown
   14147 version_type=none
   14148 dynamic_linker="$host_os ld.so"
   14149 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   14150 need_lib_prefix=unknown
   14151 hardcode_into_libs=no
   14152 
   14153 # when you set need_version to no, make sure it does not cause -set_version
   14154 # flags to be left without arguments
   14155 need_version=unknown
   14156 
   14157 case $host_os in
   14158 aix3*)
   14159   version_type=linux
   14160   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   14161   shlibpath_var=LIBPATH
   14162 
   14163   # AIX 3 has no versioning support, so we append a major version to the name.
   14164   soname_spec='${libname}${release}${shared_ext}$major'
   14165   ;;
   14166 
   14167 aix[4-9]*)
   14168   version_type=linux
   14169   need_lib_prefix=no
   14170   need_version=no
   14171   hardcode_into_libs=yes
   14172   if test "$host_cpu" = ia64; then
   14173     # AIX 5 supports IA64
   14174     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   14175     shlibpath_var=LD_LIBRARY_PATH
   14176   else
   14177     # With GCC up to 2.95.x, collect2 would create an import file
   14178     # for dependence libraries.  The import file would start with
   14179     # the line `#! .'.  This would cause the generated library to
   14180     # depend on `.', always an invalid library.  This was fixed in
   14181     # development snapshots of GCC prior to 3.0.
   14182     case $host_os in
   14183       aix4 | aix4.[01] | aix4.[01].*)
   14184       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   14185 	   echo ' yes '
   14186 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   14187 	:
   14188       else
   14189 	can_build_shared=no
   14190       fi
   14191       ;;
   14192     esac
   14193     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   14194     # soname into executable. Probably we can add versioning support to
   14195     # collect2, so additional links can be useful in future.
   14196     if test "$aix_use_runtimelinking" = yes; then
   14197       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   14198       # instead of lib<name>.a to let people know that these are not
   14199       # typical AIX shared libraries.
   14200       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14201     else
   14202       # We preserve .a as extension for shared libraries through AIX4.2
   14203       # and later when we are not doing run time linking.
   14204       library_names_spec='${libname}${release}.a $libname.a'
   14205       soname_spec='${libname}${release}${shared_ext}$major'
   14206     fi
   14207     shlibpath_var=LIBPATH
   14208   fi
   14209   ;;
   14210 
   14211 amigaos*)
   14212   case $host_cpu in
   14213   powerpc)
   14214     # Since July 2007 AmigaOS4 officially supports .so libraries.
   14215     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   14216     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14217     ;;
   14218   m68k)
   14219     library_names_spec='$libname.ixlibrary $libname.a'
   14220     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   14221     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'
   14222     ;;
   14223   esac
   14224   ;;
   14225 
   14226 beos*)
   14227   library_names_spec='${libname}${shared_ext}'
   14228   dynamic_linker="$host_os ld.so"
   14229   shlibpath_var=LIBRARY_PATH
   14230   ;;
   14231 
   14232 bsdi[45]*)
   14233   version_type=linux
   14234   need_version=no
   14235   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14236   soname_spec='${libname}${release}${shared_ext}$major'
   14237   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   14238   shlibpath_var=LD_LIBRARY_PATH
   14239   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   14240   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   14241   # the default ld.so.conf also contains /usr/contrib/lib and
   14242   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   14243   # libtool to hard-code these into programs
   14244   ;;
   14245 
   14246 cygwin* | mingw* | pw32* | cegcc*)
   14247   version_type=windows
   14248   shrext_cmds=".dll"
   14249   need_version=no
   14250   need_lib_prefix=no
   14251 
   14252   case $GCC,$host_os in
   14253   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   14254     library_names_spec='$libname.dll.a'
   14255     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   14256     postinstall_cmds='base_file=`basename \${file}`~
   14257       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   14258       dldir=$destdir/`dirname \$dlpath`~
   14259       test -d \$dldir || mkdir -p \$dldir~
   14260       $install_prog $dir/$dlname \$dldir/$dlname~
   14261       chmod a+x \$dldir/$dlname~
   14262       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   14263         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   14264       fi'
   14265     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   14266       dlpath=$dir/\$dldll~
   14267        $RM \$dlpath'
   14268     shlibpath_overrides_runpath=yes
   14269 
   14270     case $host_os in
   14271     cygwin*)
   14272       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   14273       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14274 
   14275       ;;
   14276     mingw* | cegcc*)
   14277       # MinGW DLLs use traditional 'lib' prefix
   14278       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14279       ;;
   14280     pw32*)
   14281       # pw32 DLLs use 'pw' prefix rather than 'lib'
   14282       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14283       ;;
   14284     esac
   14285     ;;
   14286 
   14287   *)
   14288     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   14289     ;;
   14290   esac
   14291   dynamic_linker='Win32 ld.exe'
   14292   # FIXME: first we should search . and the directory the executable is in
   14293   shlibpath_var=PATH
   14294   ;;
   14295 
   14296 darwin* | rhapsody*)
   14297   dynamic_linker="$host_os dyld"
   14298   version_type=darwin
   14299   need_lib_prefix=no
   14300   need_version=no
   14301   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   14302   soname_spec='${libname}${release}${major}$shared_ext'
   14303   shlibpath_overrides_runpath=yes
   14304   shlibpath_var=DYLD_LIBRARY_PATH
   14305   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   14306 
   14307   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   14308   ;;
   14309 
   14310 dgux*)
   14311   version_type=linux
   14312   need_lib_prefix=no
   14313   need_version=no
   14314   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   14315   soname_spec='${libname}${release}${shared_ext}$major'
   14316   shlibpath_var=LD_LIBRARY_PATH
   14317   ;;
   14318 
   14319 freebsd* | dragonfly*)
   14320   # DragonFly does not have aout.  When/if they implement a new
   14321   # versioning mechanism, adjust this.
   14322   if test -x /usr/bin/objformat; then
   14323     objformat=`/usr/bin/objformat`
   14324   else
   14325     case $host_os in
   14326     freebsd[23].*) objformat=aout ;;
   14327     *) objformat=elf ;;
   14328     esac
   14329   fi
   14330   version_type=freebsd-$objformat
   14331   case $version_type in
   14332     freebsd-elf*)
   14333       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14334       need_version=no
   14335       need_lib_prefix=no
   14336       ;;
   14337     freebsd-*)
   14338       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   14339       need_version=yes
   14340       ;;
   14341   esac
   14342   shlibpath_var=LD_LIBRARY_PATH
   14343   case $host_os in
   14344   freebsd2.*)
   14345     shlibpath_overrides_runpath=yes
   14346     ;;
   14347   freebsd3.[01]* | freebsdelf3.[01]*)
   14348     shlibpath_overrides_runpath=yes
   14349     hardcode_into_libs=yes
   14350     ;;
   14351   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   14352   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   14353     shlibpath_overrides_runpath=no
   14354     hardcode_into_libs=yes
   14355     ;;
   14356   *) # from 4.6 on, and DragonFly
   14357     shlibpath_overrides_runpath=yes
   14358     hardcode_into_libs=yes
   14359     ;;
   14360   esac
   14361   ;;
   14362 
   14363 haiku*)
   14364   version_type=linux
   14365   need_lib_prefix=no
   14366   need_version=no
   14367   dynamic_linker="$host_os runtime_loader"
   14368   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   14369   soname_spec='${libname}${release}${shared_ext}$major'
   14370   shlibpath_var=LIBRARY_PATH
   14371   shlibpath_overrides_runpath=yes
   14372   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   14373   hardcode_into_libs=yes
   14374   ;;
   14375 
   14376 hpux9* | hpux10* | hpux11*)
   14377   # Give a soname corresponding to the major version so that dld.sl refuses to
   14378   # link against other versions.
   14379   version_type=sunos
   14380   need_lib_prefix=no
   14381   need_version=no
   14382   case $host_cpu in
   14383   ia64*)
   14384     shrext_cmds='.so'
   14385     hardcode_into_libs=yes
   14386     dynamic_linker="$host_os dld.so"
   14387     shlibpath_var=LD_LIBRARY_PATH
   14388     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14389     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14390     soname_spec='${libname}${release}${shared_ext}$major'
   14391     if test "X$HPUX_IA64_MODE" = X32; then
   14392       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   14393     else
   14394       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   14395     fi
   14396     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14397     ;;
   14398   hppa*64*)
   14399     shrext_cmds='.sl'
   14400     hardcode_into_libs=yes
   14401     dynamic_linker="$host_os dld.sl"
   14402     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   14403     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   14407     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14408     ;;
   14409   *)
   14410     shrext_cmds='.sl'
   14411     dynamic_linker="$host_os dld.sl"
   14412     shlibpath_var=SHLIB_PATH
   14413     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   14414     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14415     soname_spec='${libname}${release}${shared_ext}$major'
   14416     ;;
   14417   esac
   14418   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   14419   postinstall_cmds='chmod 555 $lib'
   14420   # or fails outright, so override atomically:
   14421   install_override_mode=555
   14422   ;;
   14423 
   14424 interix[3-9]*)
   14425   version_type=linux
   14426   need_lib_prefix=no
   14427   need_version=no
   14428   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14429   soname_spec='${libname}${release}${shared_ext}$major'
   14430   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   14431   shlibpath_var=LD_LIBRARY_PATH
   14432   shlibpath_overrides_runpath=no
   14433   hardcode_into_libs=yes
   14434   ;;
   14435 
   14436 irix5* | irix6* | nonstopux*)
   14437   case $host_os in
   14438     nonstopux*) version_type=nonstopux ;;
   14439     *)
   14440 	if test "$lt_cv_prog_gnu_ld" = yes; then
   14441 		version_type=linux
   14442 	else
   14443 		version_type=irix
   14444 	fi ;;
   14445   esac
   14446   need_lib_prefix=no
   14447   need_version=no
   14448   soname_spec='${libname}${release}${shared_ext}$major'
   14449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   14450   case $host_os in
   14451   irix5* | nonstopux*)
   14452     libsuff= shlibsuff=
   14453     ;;
   14454   *)
   14455     case $LD in # libtool.m4 will add one of these switches to LD
   14456     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   14457       libsuff= shlibsuff= libmagic=32-bit;;
   14458     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   14459       libsuff=32 shlibsuff=N32 libmagic=N32;;
   14460     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   14461       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   14462     *) libsuff= shlibsuff= libmagic=never-match;;
   14463     esac
   14464     ;;
   14465   esac
   14466   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   14467   shlibpath_overrides_runpath=no
   14468   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   14469   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   14470   hardcode_into_libs=yes
   14471   ;;
   14472 
   14473 # No shared lib support for Linux oldld, aout, or coff.
   14474 linux*oldld* | linux*aout* | linux*coff*)
   14475   dynamic_linker=no
   14476   ;;
   14477 
   14478 # This must be Linux ELF.
   14479 
   14480 # uclinux* changes (here and below) have been submitted to the libtool
   14481 # project, but have not yet been accepted: they are GCC-local changes
   14482 # for the time being.  (See
   14483 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   14484 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   14485   version_type=linux
   14486   need_lib_prefix=no
   14487   need_version=no
   14488   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14489   soname_spec='${libname}${release}${shared_ext}$major'
   14490   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   14491   shlibpath_var=LD_LIBRARY_PATH
   14492   shlibpath_overrides_runpath=no
   14493 
   14494   # Some binutils ld are patched to set DT_RUNPATH
   14495   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   14496   $as_echo_n "(cached) " >&6
   14497 else
   14498   lt_cv_shlibpath_overrides_runpath=no
   14499     save_LDFLAGS=$LDFLAGS
   14500     save_libdir=$libdir
   14501     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   14502 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   14503     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14504 /* end confdefs.h.  */
   14505 
   14506 int
   14507 main ()
   14508 {
   14509 
   14510   ;
   14511   return 0;
   14512 }
   14513 _ACEOF
   14514 if ac_fn_cxx_try_link "$LINENO"; then :
   14515   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   14516   lt_cv_shlibpath_overrides_runpath=yes
   14517 fi
   14518 fi
   14519 rm -f core conftest.err conftest.$ac_objext \
   14520     conftest$ac_exeext conftest.$ac_ext
   14521     LDFLAGS=$save_LDFLAGS
   14522     libdir=$save_libdir
   14523 
   14524 fi
   14525 
   14526   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   14527 
   14528   # This implies no fast_install, which is unacceptable.
   14529   # Some rework will be needed to allow for fast_install
   14530   # before this can be enabled.
   14531   hardcode_into_libs=yes
   14532 
   14533   # Append ld.so.conf contents to the search path
   14534   if test -f /etc/ld.so.conf; then
   14535     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' ' '`
   14536     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   14537   fi
   14538 
   14539   # We used to test for /lib/ld.so.1 and disable shared libraries on
   14540   # powerpc, because MkLinux only supported shared libraries with the
   14541   # GNU dynamic linker.  Since this was broken with cross compilers,
   14542   # most powerpc-linux boxes support dynamic linking these days and
   14543   # people can always --disable-shared, the test was removed, and we
   14544   # assume the GNU/Linux dynamic linker is in use.
   14545   dynamic_linker='GNU/Linux ld.so'
   14546   ;;
   14547 
   14548 netbsd*)
   14549   version_type=sunos
   14550   need_lib_prefix=no
   14551   need_version=no
   14552   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14553     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14554     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14555     dynamic_linker='NetBSD (a.out) ld.so'
   14556   else
   14557     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14558     soname_spec='${libname}${release}${shared_ext}$major'
   14559     dynamic_linker='NetBSD ld.elf_so'
   14560   fi
   14561   shlibpath_var=LD_LIBRARY_PATH
   14562   shlibpath_overrides_runpath=yes
   14563   hardcode_into_libs=yes
   14564   ;;
   14565 
   14566 newsos6)
   14567   version_type=linux
   14568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14569   shlibpath_var=LD_LIBRARY_PATH
   14570   shlibpath_overrides_runpath=yes
   14571   ;;
   14572 
   14573 *nto* | *qnx*)
   14574   version_type=qnx
   14575   need_lib_prefix=no
   14576   need_version=no
   14577   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14578   soname_spec='${libname}${release}${shared_ext}$major'
   14579   shlibpath_var=LD_LIBRARY_PATH
   14580   shlibpath_overrides_runpath=no
   14581   hardcode_into_libs=yes
   14582   dynamic_linker='ldqnx.so'
   14583   ;;
   14584 
   14585 openbsd*)
   14586   version_type=sunos
   14587   sys_lib_dlsearch_path_spec="/usr/lib"
   14588   need_lib_prefix=no
   14589   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   14590   case $host_os in
   14591     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   14592     *)				need_version=no  ;;
   14593   esac
   14594   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14595   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14596   shlibpath_var=LD_LIBRARY_PATH
   14597   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14598     case $host_os in
   14599       openbsd2.[89] | openbsd2.[89].*)
   14600 	shlibpath_overrides_runpath=no
   14601 	;;
   14602       *)
   14603 	shlibpath_overrides_runpath=yes
   14604 	;;
   14605       esac
   14606   else
   14607     shlibpath_overrides_runpath=yes
   14608   fi
   14609   ;;
   14610 
   14611 os2*)
   14612   libname_spec='$name'
   14613   shrext_cmds=".dll"
   14614   need_lib_prefix=no
   14615   library_names_spec='$libname${shared_ext} $libname.a'
   14616   dynamic_linker='OS/2 ld.exe'
   14617   shlibpath_var=LIBPATH
   14618   ;;
   14619 
   14620 osf3* | osf4* | osf5*)
   14621   version_type=osf
   14622   need_lib_prefix=no
   14623   need_version=no
   14624   soname_spec='${libname}${release}${shared_ext}$major'
   14625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14626   shlibpath_var=LD_LIBRARY_PATH
   14627   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   14628   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   14629   ;;
   14630 
   14631 rdos*)
   14632   dynamic_linker=no
   14633   ;;
   14634 
   14635 solaris*)
   14636   version_type=linux
   14637   need_lib_prefix=no
   14638   need_version=no
   14639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14640   soname_spec='${libname}${release}${shared_ext}$major'
   14641   shlibpath_var=LD_LIBRARY_PATH
   14642   shlibpath_overrides_runpath=yes
   14643   hardcode_into_libs=yes
   14644   # ldd complains unless libraries are executable
   14645   postinstall_cmds='chmod +x $lib'
   14646   ;;
   14647 
   14648 sunos4*)
   14649   version_type=sunos
   14650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14651   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   14652   shlibpath_var=LD_LIBRARY_PATH
   14653   shlibpath_overrides_runpath=yes
   14654   if test "$with_gnu_ld" = yes; then
   14655     need_lib_prefix=no
   14656   fi
   14657   need_version=yes
   14658   ;;
   14659 
   14660 sysv4 | sysv4.3*)
   14661   version_type=linux
   14662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14663   soname_spec='${libname}${release}${shared_ext}$major'
   14664   shlibpath_var=LD_LIBRARY_PATH
   14665   case $host_vendor in
   14666     sni)
   14667       shlibpath_overrides_runpath=no
   14668       need_lib_prefix=no
   14669       runpath_var=LD_RUN_PATH
   14670       ;;
   14671     siemens)
   14672       need_lib_prefix=no
   14673       ;;
   14674     motorola)
   14675       need_lib_prefix=no
   14676       need_version=no
   14677       shlibpath_overrides_runpath=no
   14678       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   14679       ;;
   14680   esac
   14681   ;;
   14682 
   14683 sysv4*MP*)
   14684   if test -d /usr/nec ;then
   14685     version_type=linux
   14686     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   14687     soname_spec='$libname${shared_ext}.$major'
   14688     shlibpath_var=LD_LIBRARY_PATH
   14689   fi
   14690   ;;
   14691 
   14692 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   14693   version_type=freebsd-elf
   14694   need_lib_prefix=no
   14695   need_version=no
   14696   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14697   soname_spec='${libname}${release}${shared_ext}$major'
   14698   shlibpath_var=LD_LIBRARY_PATH
   14699   shlibpath_overrides_runpath=yes
   14700   hardcode_into_libs=yes
   14701   if test "$with_gnu_ld" = yes; then
   14702     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   14703   else
   14704     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   14705     case $host_os in
   14706       sco3.2v5*)
   14707         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   14708 	;;
   14709     esac
   14710   fi
   14711   sys_lib_dlsearch_path_spec='/usr/lib'
   14712   ;;
   14713 
   14714 tpf*)
   14715   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   14716   version_type=linux
   14717   need_lib_prefix=no
   14718   need_version=no
   14719   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14720   shlibpath_var=LD_LIBRARY_PATH
   14721   shlibpath_overrides_runpath=no
   14722   hardcode_into_libs=yes
   14723   ;;
   14724 
   14725 uts4*)
   14726   version_type=linux
   14727   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14728   soname_spec='${libname}${release}${shared_ext}$major'
   14729   shlibpath_var=LD_LIBRARY_PATH
   14730   ;;
   14731 
   14732 # Shared libraries for VwWorks, >= 7 only at this stage
   14733 # and (fpic) still incompatible with "large" code models
   14734 # in a few configurations. Only for RTP mode in any case,
   14735 # and upon explicit request at configure time.
   14736 vxworks7*)
   14737   dynamic_linker=no
   14738   case ${with_multisubdir}-${enable_shared} in
   14739     *large*)
   14740       ;;
   14741     *mrtp*-yes)
   14742       version_type=linux
   14743       need_lib_prefix=no
   14744       need_version=no
   14745       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14746       soname_spec='${libname}${release}${shared_ext}$major'
   14747       dynamic_linker="$host_os module_loader"
   14748       ;;
   14749   esac
   14750   ;;
   14751 *)
   14752   dynamic_linker=no
   14753   ;;
   14754 esac
   14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   14756 $as_echo "$dynamic_linker" >&6; }
   14757 test "$dynamic_linker" = no && can_build_shared=no
   14758 
   14759 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   14760 if test "$GCC" = yes; then
   14761   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   14762 fi
   14763 
   14764 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   14765   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   14766 fi
   14767 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   14768   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   14769 fi
   14770 
   14771 
   14772 
   14773 
   14774 
   14775 
   14776 
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 
   14791 
   14792 
   14793 
   14794 
   14795 
   14796 
   14797 
   14798 
   14799 
   14800 
   14801 
   14802 
   14803 
   14804 
   14805 
   14806 
   14807 
   14808     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   14809 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   14810 hardcode_action_CXX=
   14811 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   14812    test -n "$runpath_var_CXX" ||
   14813    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   14814 
   14815   # We can hardcode non-existent directories.
   14816   if test "$hardcode_direct_CXX" != no &&
   14817      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   14818      # have to relink, otherwise we might link with an installed library
   14819      # when we should be linking with a yet-to-be-installed one
   14820      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   14821      test "$hardcode_minus_L_CXX" != no; then
   14822     # Linking always hardcodes the temporary library directory.
   14823     hardcode_action_CXX=relink
   14824   else
   14825     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   14826     hardcode_action_CXX=immediate
   14827   fi
   14828 else
   14829   # We cannot hardcode anything, or else we can only hardcode existing
   14830   # directories.
   14831   hardcode_action_CXX=unsupported
   14832 fi
   14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   14834 $as_echo "$hardcode_action_CXX" >&6; }
   14835 
   14836 if test "$hardcode_action_CXX" = relink ||
   14837    test "$inherit_rpath_CXX" = yes; then
   14838   # Fast installation is not supported
   14839   enable_fast_install=no
   14840 elif test "$shlibpath_overrides_runpath" = yes ||
   14841      test "$enable_shared" = no; then
   14842   # Fast installation is not necessary
   14843   enable_fast_install=needless
   14844 fi
   14845 
   14846 
   14847 
   14848 
   14849 
   14850 
   14851 
   14852   fi # test -n "$compiler"
   14853 
   14854   CC=$lt_save_CC
   14855   LDCXX=$LD
   14856   LD=$lt_save_LD
   14857   GCC=$lt_save_GCC
   14858   with_gnu_ld=$lt_save_with_gnu_ld
   14859   lt_cv_path_LDCXX=$lt_cv_path_LD
   14860   lt_cv_path_LD=$lt_save_path_LD
   14861   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14862   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14863 fi # test "$_lt_caught_CXX_error" != yes
   14864 
   14865 ac_ext=c
   14866 ac_cpp='$CPP $CPPFLAGS'
   14867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883         ac_config_commands="$ac_config_commands libtool"
   14884 
   14885 
   14886 
   14887 
   14888 # Only expand once:
   14889 
   14890 
   14891 
   14892 # The tests for host and target for $enable_largefile require
   14893 # canonical names.
   14894 
   14895 
   14896 
   14897 # As the $enable_largefile decision depends on --enable-plugins we must set it
   14898 # even in directories otherwise not depending on the $plugins option.
   14899 
   14900 
   14901   maybe_plugins=no
   14902   for ac_header in dlfcn.h
   14903 do :
   14904   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14905 "
   14906 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14907   cat >>confdefs.h <<_ACEOF
   14908 #define HAVE_DLFCN_H 1
   14909 _ACEOF
   14910  maybe_plugins=yes
   14911 fi
   14912 
   14913 done
   14914 
   14915   for ac_header in windows.h
   14916 do :
   14917   ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
   14918 "
   14919 if test "x$ac_cv_header_windows_h" = xyes; then :
   14920   cat >>confdefs.h <<_ACEOF
   14921 #define HAVE_WINDOWS_H 1
   14922 _ACEOF
   14923  maybe_plugins=yes
   14924 fi
   14925 
   14926 done
   14927 
   14928 
   14929   # Check whether --enable-plugins was given.
   14930 if test "${enable_plugins+set}" = set; then :
   14931   enableval=$enable_plugins; case "${enableval}" in
   14932       no) plugins=no ;;
   14933       *) plugins=yes
   14934          if test "$maybe_plugins" != "yes" ; then
   14935 	   as_fn_error $? "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
   14936 	 fi ;;
   14937      esac
   14938 else
   14939   plugins=$maybe_plugins
   14940 
   14941 fi
   14942 
   14943   if test "$plugins" = "yes"; then
   14944     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
   14945 $as_echo_n "checking for library containing dlsym... " >&6; }
   14946 if ${ac_cv_search_dlsym+:} false; then :
   14947   $as_echo_n "(cached) " >&6
   14948 else
   14949   ac_func_search_save_LIBS=$LIBS
   14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14951 /* end confdefs.h.  */
   14952 
   14953 /* Override any GCC internal prototype to avoid an error.
   14954    Use char because int might match the return type of a GCC
   14955    builtin and then its argument prototype would still apply.  */
   14956 #ifdef __cplusplus
   14957 extern "C"
   14958 #endif
   14959 char dlsym ();
   14960 int
   14961 main ()
   14962 {
   14963 return dlsym ();
   14964   ;
   14965   return 0;
   14966 }
   14967 _ACEOF
   14968 for ac_lib in '' dl; do
   14969   if test -z "$ac_lib"; then
   14970     ac_res="none required"
   14971   else
   14972     ac_res=-l$ac_lib
   14973     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   14974   fi
   14975   if ac_fn_c_try_link "$LINENO"; then :
   14976   ac_cv_search_dlsym=$ac_res
   14977 fi
   14978 rm -f core conftest.err conftest.$ac_objext \
   14979     conftest$ac_exeext
   14980   if ${ac_cv_search_dlsym+:} false; then :
   14981   break
   14982 fi
   14983 done
   14984 if ${ac_cv_search_dlsym+:} false; then :
   14985 
   14986 else
   14987   ac_cv_search_dlsym=no
   14988 fi
   14989 rm conftest.$ac_ext
   14990 LIBS=$ac_func_search_save_LIBS
   14991 fi
   14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
   14993 $as_echo "$ac_cv_search_dlsym" >&6; }
   14994 ac_res=$ac_cv_search_dlsym
   14995 if test "$ac_res" != no; then :
   14996   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   14997 
   14998 fi
   14999 
   15000   fi
   15001 
   15002 
   15003 case "${host}" in
   15004   sparc-*-solaris*|i?86-*-solaris*)
   15005     # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
   15006     # were mutually exclusive until Solaris 11.3.  Without procfs support,
   15007     # the bfd/ elf module cannot provide certain routines such as
   15008     # elfcore_write_prpsinfo or elfcore_write_prstatus.  So unless the user
   15009     # explicitly requested large-file support through the
   15010     # --enable-largefile switch, disable large-file support in favor of
   15011     # procfs support.
   15012     #
   15013     # Check if <sys/procfs.h> is incompatible with large-file support.
   15014     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15015 /* end confdefs.h.  */
   15016 #define _FILE_OFFSET_BITS 64
   15017 #define _STRUCTURED_PROC 1
   15018 #include <sys/procfs.h>
   15019 int
   15020 main ()
   15021 {
   15022 
   15023   ;
   15024   return 0;
   15025 }
   15026 _ACEOF
   15027 if ac_fn_c_try_compile "$LINENO"; then :
   15028   acx_cv_procfs_lfs=yes
   15029 else
   15030   acx_cv_procfs_lfs=no
   15031 fi
   15032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15033     #
   15034     # Forcefully disable large-file support only if necessary, gdb is in
   15035     # tree and enabled.
   15036     if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
   15037          -a -d $srcdir/../gdb -a "$enable_gdb" != no; then
   15038       : ${enable_largefile="no"}
   15039       if test "$plugins" = yes; then
   15040 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
   15041 plugin support disabled; require large-file support which is incompatible with GDB." >&5
   15042 $as_echo "$as_me: WARNING:
   15043 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
   15044 	plugins=no
   15045       fi
   15046     fi
   15047     #
   15048     # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
   15049     # benefit of g++ 9+ which predefines it on Solaris.
   15050     if test "$enable_largefile" = no; then
   15051       LARGEFILE_CPPFLAGS="-U_FILE_OFFSET_BITS"
   15052 
   15053     fi
   15054     ;;
   15055 esac
   15056 
   15057 # Check whether --enable-largefile was given.
   15058 if test "${enable_largefile+set}" = set; then :
   15059   enableval=$enable_largefile;
   15060 fi
   15061 
   15062 if test "$enable_largefile" != no; then
   15063 
   15064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   15065 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   15066 if ${ac_cv_sys_largefile_CC+:} false; then :
   15067   $as_echo_n "(cached) " >&6
   15068 else
   15069   ac_cv_sys_largefile_CC=no
   15070      if test "$GCC" != yes; then
   15071        ac_save_CC=$CC
   15072        while :; do
   15073 	 # IRIX 6.2 and later do not support large files by default,
   15074 	 # so use the C compiler's -n32 option if that helps.
   15075 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15076 /* end confdefs.h.  */
   15077 #include <sys/types.h>
   15078  /* Check that off_t can represent 2**63 - 1 correctly.
   15079     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   15080     since some C++ compilers masquerading as C compilers
   15081     incorrectly reject 9223372036854775807.  */
   15082 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   15083   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   15084 		       && LARGE_OFF_T % 2147483647 == 1)
   15085 		      ? 1 : -1];
   15086 int
   15087 main ()
   15088 {
   15089 
   15090   ;
   15091   return 0;
   15092 }
   15093 _ACEOF
   15094 	 if ac_fn_c_try_compile "$LINENO"; then :
   15095   break
   15096 fi
   15097 rm -f core conftest.err conftest.$ac_objext
   15098 	 CC="$CC -n32"
   15099 	 if ac_fn_c_try_compile "$LINENO"; then :
   15100   ac_cv_sys_largefile_CC=' -n32'; break
   15101 fi
   15102 rm -f core conftest.err conftest.$ac_objext
   15103 	 break
   15104        done
   15105        CC=$ac_save_CC
   15106        rm -f conftest.$ac_ext
   15107     fi
   15108 fi
   15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   15110 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   15111   if test "$ac_cv_sys_largefile_CC" != no; then
   15112     CC=$CC$ac_cv_sys_largefile_CC
   15113   fi
   15114 
   15115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   15116 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   15117 if ${ac_cv_sys_file_offset_bits+:} false; then :
   15118   $as_echo_n "(cached) " >&6
   15119 else
   15120   while :; do
   15121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15122 /* end confdefs.h.  */
   15123 #include <sys/types.h>
   15124  /* Check that off_t can represent 2**63 - 1 correctly.
   15125     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   15126     since some C++ compilers masquerading as C compilers
   15127     incorrectly reject 9223372036854775807.  */
   15128 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   15129   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   15130 		       && LARGE_OFF_T % 2147483647 == 1)
   15131 		      ? 1 : -1];
   15132 int
   15133 main ()
   15134 {
   15135 
   15136   ;
   15137   return 0;
   15138 }
   15139 _ACEOF
   15140 if ac_fn_c_try_compile "$LINENO"; then :
   15141   ac_cv_sys_file_offset_bits=no; break
   15142 fi
   15143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15145 /* end confdefs.h.  */
   15146 #define _FILE_OFFSET_BITS 64
   15147 #include <sys/types.h>
   15148  /* Check that off_t can represent 2**63 - 1 correctly.
   15149     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   15150     since some C++ compilers masquerading as C compilers
   15151     incorrectly reject 9223372036854775807.  */
   15152 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   15153   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   15154 		       && LARGE_OFF_T % 2147483647 == 1)
   15155 		      ? 1 : -1];
   15156 int
   15157 main ()
   15158 {
   15159 
   15160   ;
   15161   return 0;
   15162 }
   15163 _ACEOF
   15164 if ac_fn_c_try_compile "$LINENO"; then :
   15165   ac_cv_sys_file_offset_bits=64; break
   15166 fi
   15167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15168   ac_cv_sys_file_offset_bits=unknown
   15169   break
   15170 done
   15171 fi
   15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   15173 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   15174 case $ac_cv_sys_file_offset_bits in #(
   15175   no | unknown) ;;
   15176   *)
   15177 cat >>confdefs.h <<_ACEOF
   15178 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   15179 _ACEOF
   15180 ;;
   15181 esac
   15182 rm -rf conftest*
   15183   if test $ac_cv_sys_file_offset_bits = unknown; then
   15184     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   15185 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   15186 if ${ac_cv_sys_large_files+:} false; then :
   15187   $as_echo_n "(cached) " >&6
   15188 else
   15189   while :; do
   15190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15191 /* end confdefs.h.  */
   15192 #include <sys/types.h>
   15193  /* Check that off_t can represent 2**63 - 1 correctly.
   15194     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   15195     since some C++ compilers masquerading as C compilers
   15196     incorrectly reject 9223372036854775807.  */
   15197 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   15198   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   15199 		       && LARGE_OFF_T % 2147483647 == 1)
   15200 		      ? 1 : -1];
   15201 int
   15202 main ()
   15203 {
   15204 
   15205   ;
   15206   return 0;
   15207 }
   15208 _ACEOF
   15209 if ac_fn_c_try_compile "$LINENO"; then :
   15210   ac_cv_sys_large_files=no; break
   15211 fi
   15212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15214 /* end confdefs.h.  */
   15215 #define _LARGE_FILES 1
   15216 #include <sys/types.h>
   15217  /* Check that off_t can represent 2**63 - 1 correctly.
   15218     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   15219     since some C++ compilers masquerading as C compilers
   15220     incorrectly reject 9223372036854775807.  */
   15221 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   15222   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   15223 		       && LARGE_OFF_T % 2147483647 == 1)
   15224 		      ? 1 : -1];
   15225 int
   15226 main ()
   15227 {
   15228 
   15229   ;
   15230   return 0;
   15231 }
   15232 _ACEOF
   15233 if ac_fn_c_try_compile "$LINENO"; then :
   15234   ac_cv_sys_large_files=1; break
   15235 fi
   15236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15237   ac_cv_sys_large_files=unknown
   15238   break
   15239 done
   15240 fi
   15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   15242 $as_echo "$ac_cv_sys_large_files" >&6; }
   15243 case $ac_cv_sys_large_files in #(
   15244   no | unknown) ;;
   15245   *)
   15246 cat >>confdefs.h <<_ACEOF
   15247 #define _LARGE_FILES $ac_cv_sys_large_files
   15248 _ACEOF
   15249 ;;
   15250 esac
   15251 rm -rf conftest*
   15252   fi
   15253 
   15254 
   15255 fi
   15256 
   15257 
   15258 
   15259 ac_checking=
   15260 . ${srcdir}/../bfd/development.sh
   15261 test "$development" = true && ac_checking=yes
   15262 # Check whether --enable-checking was given.
   15263 if test "${enable_checking+set}" = set; then :
   15264   enableval=$enable_checking; case "${enableval}" in
   15265   no|none)  ac_checking= ;;
   15266   *)	    ac_checking=yes ;;
   15267 esac
   15268 fi
   15269 if test x$ac_checking != x ; then
   15270 
   15271 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
   15272 
   15273 fi
   15274 
   15275 
   15276 # Check whether --with-lib-path was given.
   15277 if test "${with_lib_path+set}" = set; then :
   15278   withval=$with_lib_path; LIB_PATH=$withval
   15279 fi
   15280 
   15281 # Check whether --enable-targets was given.
   15282 if test "${enable_targets+set}" = set; then :
   15283   enableval=$enable_targets; case "${enableval}" in
   15284   yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
   15285 	    ;;
   15286   no)       enable_targets= ;;
   15287   *)        enable_targets=$enableval ;;
   15288 esac
   15289 fi
   15290 
   15291 # See whether 64-bit bfd lib has been enabled.
   15292 OLD_CPPFLAGS=$CPPFLAGS
   15293 # Put the old CPPFLAGS last, in case the user's CPPFLAGS point somewhere
   15294 # with bfd, with -I/foo/include.  We always want our bfd.
   15295 CPPFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CPPFLAGS"
   15296 # Note we cannot cache the result of this check because BFD64 may change
   15297 # when a secondary target has been added or removed and we have no access
   15298 # to this information here.
   15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether BFD is 64-bit" >&5
   15300 $as_echo_n "checking whether BFD is 64-bit... " >&6; }
   15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15302 /* end confdefs.h.  */
   15303 #include "bfd.h"
   15304 int
   15305 main ()
   15306 {
   15307 #ifdef BFD64
   15308 HAVE_BFD64
   15309 #endif
   15310   ;
   15311   return 0;
   15312 }
   15313 _ACEOF
   15314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15315   $EGREP "HAVE_BFD64" >/dev/null 2>&1; then :
   15316   have_64_bit_bfd=yes
   15317 else
   15318   have_64_bit_bfd=no
   15319 fi
   15320 rm -f conftest*
   15321 
   15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_64_bit_bfd" >&5
   15323 $as_echo "$have_64_bit_bfd" >&6; }
   15324 CPPFLAGS=$OLD_CPPFLAGS
   15325 
   15326 
   15327 # Check whether --with-sysroot was given.
   15328 if test "${with_sysroot+set}" = set; then :
   15329   withval=$with_sysroot;
   15330  case ${with_sysroot} in
   15331  yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;;
   15332  *) TARGET_SYSTEM_ROOT=$with_sysroot ;;
   15333  esac
   15334 
   15335  TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
   15336  use_sysroot=yes
   15337 
   15338  if test "x$prefix" = xNONE; then
   15339   test_prefix=/usr/local
   15340  else
   15341   test_prefix=$prefix
   15342  fi
   15343  if test "x$exec_prefix" = xNONE; then
   15344   test_exec_prefix=$test_prefix
   15345  else
   15346   test_exec_prefix=$exec_prefix
   15347  fi
   15348  case ${TARGET_SYSTEM_ROOT} in
   15349  "${test_prefix}"|"${test_prefix}/"*|\
   15350  "${test_exec_prefix}"|"${test_exec_prefix}/"*|\
   15351  '${prefix}'|'${prefix}/'*|\
   15352  '${exec_prefix}'|'${exec_prefix}/'*)
   15353    t="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
   15354    TARGET_SYSTEM_ROOT_DEFINE="$t"
   15355    ;;
   15356  esac
   15357 
   15358 else
   15359 
   15360  use_sysroot=no
   15361  TARGET_SYSTEM_ROOT=
   15362  TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"\"'
   15363 
   15364 fi
   15365 
   15366 
   15367 
   15368 
   15369 
   15370 # Check whether --enable-gold was given.
   15371 if test "${enable_gold+set}" = set; then :
   15372   enableval=$enable_gold; case "${enableval}" in
   15373  default)
   15374    install_as_default=no
   15375    installed_linker=ld.bfd
   15376    ;;
   15377  yes|no)
   15378    install_as_default=yes
   15379    installed_linker=ld.bfd
   15380    ;;
   15381  *)
   15382    as_fn_error $? "invalid --enable-gold argument" "$LINENO" 5
   15383    ;;
   15384  esac
   15385 else
   15386   install_as_default=yes
   15387  installed_linker=ld.bfd
   15388 fi
   15389 
   15390 
   15391 
   15392 
   15393 # Check whether --enable-got was given.
   15394 if test "${enable_got+set}" = set; then :
   15395   enableval=$enable_got; case "${enableval}" in
   15396   target | single | negative | multigot)  got_handling=$enableval ;;
   15397   *)  as_fn_error $? "bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
   15398 esac
   15399 else
   15400   got_handling=target
   15401 fi
   15402 
   15403 
   15404 case "${got_handling}" in
   15405   target)
   15406 
   15407 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
   15408  ;;
   15409   single)
   15410 
   15411 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
   15412  ;;
   15413   negative)
   15414 
   15415 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
   15416  ;;
   15417   multigot)
   15418 
   15419 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
   15420  ;;
   15421   *)  as_fn_error $? "bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
   15422 esac
   15423 
   15424 # PR gas/19109
   15425 # Decide the default method for compressing debug sections.
   15426 ac_default_compressed_debug_sections=unset
   15427 # Provide a configure time option to override our default.
   15428 # Check whether --enable-compressed_debug_sections was given.
   15429 if test "${enable_compressed_debug_sections+set}" = set; then :
   15430   enableval=$enable_compressed_debug_sections; case ,"${enableval}", in
   15431   ,yes, | ,all, | *,ld,*) ac_default_compressed_debug_sections=yes ;;
   15432   ,no, | ,none,)  ac_default_compressed_debug_sections=no ;;
   15433 esac
   15434 fi
   15435 
   15436 # Select default compression algorithm.
   15437 ac_default_compressed_debug_sections_algorithm=COMPRESS_DEBUG_GABI_ZLIB
   15438 # Check whether --enable-default_compressed_debug_sections_algorithm was given.
   15439 if test "${enable_default_compressed_debug_sections_algorithm+set}" = set; then :
   15440   enableval=$enable_default_compressed_debug_sections_algorithm; case "${enableval}" in
   15441    zstd) ac_default_compressed_debug_sections_algorithm=COMPRESS_DEBUG_ZSTD ;;
   15442 esac
   15443 fi
   15444 
   15445 # Decide setting DT_RUNPATH instead of DT_RPATH by default
   15446 ac_default_new_dtags=unset
   15447 # Provide a configure time option to override our default.
   15448 # Check whether --enable-new_dtags was given.
   15449 if test "${enable_new_dtags+set}" = set; then :
   15450   enableval=$enable_new_dtags; case "${enableval}" in
   15451   yes) ac_default_new_dtags=1 ;;
   15452   no) ac_default_new_dtags=0 ;;
   15453 esac
   15454 fi
   15455 
   15456 # Decide if -z relro should be enabled in ELF linker by default.
   15457 ac_default_ld_z_relro=unset
   15458 # Provide a configure time option to override our default.
   15459 # Check whether --enable-relro was given.
   15460 if test "${enable_relro+set}" = set; then :
   15461   enableval=$enable_relro; case "${enableval}" in
   15462   yes)  ac_default_ld_z_relro=1 ;;
   15463   no)  ac_default_ld_z_relro=0 ;;
   15464 esac
   15465 fi
   15466 
   15467 # Decide if DT_TEXTREL check should be enabled in ELF linker.
   15468 ac_default_ld_textrel_check=unset
   15469 # Check whether --enable-textrel-check was given.
   15470 if test "${enable_textrel_check+set}" = set; then :
   15471   enableval=$enable_textrel_check; case "${enableval}" in
   15472   yes|no|warning|error) ac_default_ld_textrel_check=${enableval} ;;
   15473 esac
   15474 fi
   15475 
   15476 
   15477 # Decide if -z separate-code should be enabled in ELF linker by default.
   15478 ac_default_ld_z_separate_code=unset
   15479 # Check whether --enable-separate-code was given.
   15480 if test "${enable_separate_code+set}" = set; then :
   15481   enableval=$enable_separate_code; case "${enableval}" in
   15482   yes) ac_default_ld_z_separate_code=1 ;;
   15483   no) ac_default_ld_z_separate_code=0 ;;
   15484 esac
   15485 fi
   15486 
   15487 
   15488 # Decide if --rosegment should be enabled in the ELF linker by default.
   15489 ac_default_ld_rosegment=unset
   15490 # Check whether --enable-rosegment was given.
   15491 if test "${enable_rosegment+set}" = set; then :
   15492   enableval=$enable_rosegment; case "${enableval}" in
   15493   yes) ac_default_ld_rosegment=1 ;;
   15494   no)  ac_default_ld_rosegment=0 ;;
   15495 esac
   15496 fi
   15497 
   15498 
   15499 # Decide if -z mark-plt should be enabled in ELF x86-64 linker by default.
   15500 ac_default_ld_z_mark_plt=unset
   15501 # Check whether --enable-mark-plt was given.
   15502 if test "${enable_mark_plt+set}" = set; then :
   15503   enableval=$enable_mark_plt; case "${enableval}" in
   15504   yes) ac_default_ld_z_mark_plt=1 ;;
   15505   no) ac_default_ld_z_mark_plt=0 ;;
   15506 esac
   15507 fi
   15508 
   15509 
   15510 # Decide if -z memory-seal should be enabled in ELF linker by default.
   15511 ac_default_ld_z_memory_seal=unset
   15512 # Check whether --enable-memory-seal was given.
   15513 if test "${enable_memory_seal+set}" = set; then :
   15514   enableval=$enable_memory_seal; case "${enableval}" in
   15515   yes) ac_default_ld_z_memory_seal=1 ;;
   15516   no) ac_default_ld_z_memory_seal=0 ;;
   15517 esac
   15518 fi
   15519 
   15520 
   15521 
   15522 # By default warn when an executable stack is created due to object files
   15523 # requesting such, not when the user specifies -z execstack.
   15524 ac_default_ld_warn_execstack=2
   15525 # Check whether --enable-warn-execstack was given.
   15526 if test "${enable_warn_execstack+set}" = set; then :
   15527   enableval=$enable_warn_execstack; case "${enableval}" in
   15528   yes) ac_default_ld_warn_execstack=1 ;;
   15529   no)  ac_default_ld_warn_execstack=0 ;;
   15530 esac
   15531 fi
   15532 
   15533 
   15534 ac_default_ld_error_execstack=0
   15535 # Check whether --enable-error-execstack was given.
   15536 if test "${enable_error_execstack+set}" = set; then :
   15537   enableval=$enable_error_execstack; case "${enableval}" in
   15538   yes) ac_default_ld_error_execstack=1 ;;
   15539   no)  ac_default_ld_error_execstack=0 ;;
   15540 esac
   15541 fi
   15542 
   15543 
   15544 ac_default_ld_warn_rwx_segments=unset
   15545 # Check whether --enable-warn-rwx-segments was given.
   15546 if test "${enable_warn_rwx_segments+set}" = set; then :
   15547   enableval=$enable_warn_rwx_segments; case "${enableval}" in
   15548   yes) ac_default_ld_warn_rwx_segments=1 ;;
   15549   no)  ac_default_ld_warn_rwx_segments=0 ;;
   15550 esac
   15551 fi
   15552 
   15553 
   15554 ac_default_ld_error_rwx_segments=0
   15555 # Check whether --enable-error-rwx-segments was given.
   15556 if test "${enable_error_rwx_segments+set}" = set; then :
   15557   enableval=$enable_error_rwx_segments; case "${enableval}" in
   15558   yes) ac_default_ld_error_rwx_segments=1 ;;
   15559   no)  ac_default_ld_error_rwx_segments=0 ;;
   15560 esac
   15561 fi
   15562 
   15563 
   15564 ac_default_ld_default_execstack=unset
   15565 # Check whether --enable-default-execstack was given.
   15566 if test "${enable_default_execstack+set}" = set; then :
   15567   enableval=$enable_default_execstack; case "${enableval}" in
   15568   yes) ac_default_ld_default_execstack=1 ;;
   15569   no)  ac_default_ld_default_execstack=0 ;;
   15570 esac
   15571 fi
   15572 
   15573 
   15574 
   15575 # Decide if --error-handling-script should be supported.
   15576 ac_support_error_handling_script=unset
   15577 # Check whether --enable-error-handling-script was given.
   15578 if test "${enable_error_handling_script+set}" = set; then :
   15579   enableval=$enable_error_handling_script; case "${enableval}" in
   15580   yes) ac_support_error_handling_script=1 ;;
   15581   no)  ac_support_error_handling_script=0 ;;
   15582 esac
   15583 fi
   15584 
   15585 
   15586 # Decide which "--hash-style" to use by default
   15587 # Provide a configure time option to override our default.
   15588 # Check whether --enable-default-hash-style was given.
   15589 if test "${enable_default_hash_style+set}" = set; then :
   15590   enableval=$enable_default_hash_style; case "${enable_default_hash_style}" in
   15591   sysv | gnu | both) ;;
   15592   *) as_fn_error $? "bad value ${enable_default_hash_style} for enable-default-hash-style option" "$LINENO" 5 ;;
   15593 esac
   15594 else
   15595   case "${target}" in
   15596   # Enable gnu hash only on GNU targets, but not mips
   15597   mips*-*-*) enable_default_hash_style=sysv ;;
   15598   *-*-gnu* | *-*-linux* | *-*-nacl*) enable_default_hash_style=both ;;
   15599   *) enable_default_hash_style=sysv ;;
   15600 esac
   15601 fi
   15602 
   15603 
   15604 case "${enable_default_hash_style}" in
   15605   sysv | both) ac_default_emit_sysv_hash=1 ;;
   15606   *) ac_default_emit_sysv_hash=0 ;;
   15607 esac
   15608 
   15609 case "${enable_default_hash_style}" in
   15610   gnu | both) ac_default_emit_gnu_hash=1 ;;
   15611   *) ac_default_emit_gnu_hash=0 ;;
   15612 esac
   15613 
   15614 # Check whether --enable-initfini-array was given.
   15615 if test "${enable_initfini_array+set}" = set; then :
   15616   enableval=$enable_initfini_array; case "${enableval}" in
   15617  yes|no) ;;
   15618  *) as_fn_error $? "invalid --enable-initfini-array argument" "$LINENO" 5 ;;
   15619  esac
   15620 else
   15621   enable_initfini_array=yes
   15622 fi
   15623 
   15624 
   15625 if test $enable_initfini_array = yes; then
   15626 
   15627 $as_echo "#define HAVE_INITFINI_ARRAY 1" >>confdefs.h
   15628 
   15629 fi
   15630 
   15631  # Check whether --enable-libctf was given.
   15632 if test "${enable_libctf+set}" = set; then :
   15633   enableval=$enable_libctf;
   15634       case "$enableval" in
   15635        yes|no) ;;
   15636        *) as_fn_error $? "Argument to enable/disable libctf must be yes or no" "$LINENO" 5 ;;
   15637       esac
   15638 
   15639 else
   15640   enable_libctf=yes
   15641 fi
   15642 
   15643 
   15644 if test "${enable_libctf}" = yes; then
   15645 
   15646 $as_echo "#define ENABLE_LIBCTF 1" >>confdefs.h
   15647 
   15648 fi
   15649  if test "${enable_libctf}" = yes; then
   15650   ENABLE_LIBCTF_TRUE=
   15651   ENABLE_LIBCTF_FALSE='#'
   15652 else
   15653   ENABLE_LIBCTF_TRUE='#'
   15654   ENABLE_LIBCTF_FALSE=
   15655 fi
   15656 
   15657 
   15658 
   15659 # Used to validate --package-metadata= input. Disabled by default.
   15660 # Check whether --enable-jansson was given.
   15661 if test "${enable_jansson+set}" = set; then :
   15662   enableval=$enable_jansson; enable_jansson=$enableval
   15663 else
   15664   enable_jansson="no"
   15665 fi
   15666 
   15667 
   15668 if test "x$enable_jansson" != "xno"; then :
   15669 
   15670 pkg_failed=no
   15671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jansson" >&5
   15672 $as_echo_n "checking for jansson... " >&6; }
   15673 
   15674 if test -n "$JANSSON_CFLAGS"; then
   15675     pkg_cv_JANSSON_CFLAGS="$JANSSON_CFLAGS"
   15676  elif test -n "$PKG_CONFIG"; then
   15677     if test -n "$PKG_CONFIG" && \
   15678     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
   15679   ($PKG_CONFIG --exists --print-errors "jansson") 2>&5
   15680   ac_status=$?
   15681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15682   test $ac_status = 0; }; then
   15683   pkg_cv_JANSSON_CFLAGS=`$PKG_CONFIG --cflags "jansson" 2>/dev/null`
   15684 		      test "x$?" != "x0" && pkg_failed=yes
   15685 else
   15686   pkg_failed=yes
   15687 fi
   15688  else
   15689     pkg_failed=untried
   15690 fi
   15691 if test -n "$JANSSON_LIBS"; then
   15692     pkg_cv_JANSSON_LIBS="$JANSSON_LIBS"
   15693  elif test -n "$PKG_CONFIG"; then
   15694     if test -n "$PKG_CONFIG" && \
   15695     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
   15696   ($PKG_CONFIG --exists --print-errors "jansson") 2>&5
   15697   ac_status=$?
   15698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15699   test $ac_status = 0; }; then
   15700   pkg_cv_JANSSON_LIBS=`$PKG_CONFIG --libs "jansson" 2>/dev/null`
   15701 		      test "x$?" != "x0" && pkg_failed=yes
   15702 else
   15703   pkg_failed=yes
   15704 fi
   15705  else
   15706     pkg_failed=untried
   15707 fi
   15708 
   15709 if test $pkg_failed = no; then
   15710   pkg_save_LDFLAGS="$LDFLAGS"
   15711   LDFLAGS="$LDFLAGS $pkg_cv_JANSSON_LIBS"
   15712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15713 /* end confdefs.h.  */
   15714 
   15715 int
   15716 main ()
   15717 {
   15718 
   15719   ;
   15720   return 0;
   15721 }
   15722 _ACEOF
   15723 if ac_fn_c_try_link "$LINENO"; then :
   15724 
   15725 else
   15726   pkg_failed=yes
   15727 fi
   15728 rm -f core conftest.err conftest.$ac_objext \
   15729     conftest$ac_exeext conftest.$ac_ext
   15730   LDFLAGS=$pkg_save_LDFLAGS
   15731 fi
   15732 
   15733 
   15734 
   15735 if test $pkg_failed = yes; then
   15736         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15737 $as_echo "no" >&6; }
   15738 
   15739 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   15740         _pkg_short_errors_supported=yes
   15741 else
   15742         _pkg_short_errors_supported=no
   15743 fi
   15744         if test $_pkg_short_errors_supported = yes; then
   15745 	        JANSSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jansson" 2>&1`
   15746         else
   15747 	        JANSSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jansson" 2>&1`
   15748         fi
   15749 	# Put the nasty error message in config.log where it belongs
   15750 	echo "$JANSSON_PKG_ERRORS" >&5
   15751 
   15752 	as_fn_error $? "Cannot find jansson library" "$LINENO" 5
   15753 elif test $pkg_failed = untried; then
   15754         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15755 $as_echo "no" >&6; }
   15756 	as_fn_error $? "Cannot find jansson library" "$LINENO" 5
   15757 else
   15758 	JANSSON_CFLAGS=$pkg_cv_JANSSON_CFLAGS
   15759 	JANSSON_LIBS=$pkg_cv_JANSSON_LIBS
   15760         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15761 $as_echo "yes" >&6; }
   15762 
   15763 
   15764 $as_echo "#define HAVE_JANSSON 1" >>confdefs.h
   15765 
   15766 
   15767 
   15768 
   15769 fi
   15770 
   15771 fi
   15772 
   15773 
   15774 # Set the 'development' global.
   15775 . $srcdir/../bfd/development.sh
   15776 
   15777 # Set acp_cpp_for_build variable
   15778 ac_cpp_for_build="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
   15779 
   15780 # Default set of GCC warnings to enable.
   15781 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   15782 GCC_WARN_CFLAGS_FOR_BUILD="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   15783 
   15784 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   15785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15786 /* end confdefs.h.  */
   15787 __GNUC__
   15788 _ACEOF
   15789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15790   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   15791 
   15792 else
   15793   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
   15794 fi
   15795 rm -f conftest*
   15796 
   15797 
   15798 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   15799 #cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15800 #/* end confdefs.h.  */
   15801 #__GNUC__
   15802 #_ACEOF
   15803 #if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15804 #  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   15805 #
   15806 #else
   15807 #  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15808 #/* end confdefs.h.  */
   15809 #__clang__
   15810 #_ACEOF
   15811 #if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15812 #  $EGREP "^__clang__$" >/dev/null 2>&1; then :
   15813 #  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
   15814 #fi
   15815 #rm -f conftest*
   15816 
   15817 
   15818 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
   15819 WARN_WRITE_STRINGS=""
   15820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15821 /* end confdefs.h.  */
   15822 __GNUC__
   15823 _ACEOF
   15824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15825   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   15826 
   15827 else
   15828   WARN_WRITE_STRINGS="-Wwrite-strings"
   15829 fi
   15830 rm -f conftest*
   15831 
   15832 
   15833 # Verify CC_FOR_BUILD to be compatible with warning flags
   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_for_build conftest.$ac_ext") 2>&5 |
   15841   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   15842 
   15843 else
   15844   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -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_for_build conftest.$ac_ext") 2>&5 |
   15855 #  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   15856 #
   15857 #else
   15858 #  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15859 #/* end confdefs.h.  */
   15860 #__clang__
   15861 #_ACEOF
   15862 #if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   15863 #  $EGREP "^__clang__$" >/dev/null 2>&1; then :
   15864 #  GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
   15865 #fi
   15866 #rm -f conftest*
   15867 
   15868 
   15869 # Check whether --enable-werror was given.
   15870 if test "${enable_werror+set}" = set; then :
   15871   enableval=$enable_werror; case "${enableval}" in
   15872      yes | y) ERROR_ON_WARNING="yes" ;;
   15873      no | n)  ERROR_ON_WARNING="no" ;;
   15874      *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
   15875    esac
   15876 fi
   15877 
   15878 
   15879 # Disable -Wformat by default when using gcc on mingw
   15880 case "${host}" in
   15881   *-*-mingw32*)
   15882     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   15883       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
   15884       GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
   15885     fi
   15886     ;;
   15887   *) ;;
   15888 esac
   15889 
   15890 # Enable -Werror by default when using gcc.  Turn it off for releases.
   15891 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
   15892     ERROR_ON_WARNING=yes
   15893 fi
   15894 
   15895 NO_WERROR=
   15896 if test "${ERROR_ON_WARNING}" = yes ; then
   15897     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
   15898     GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
   15899     NO_WERROR="-Wno-error"
   15900 fi
   15901 
   15902 if test "${GCC}" = yes ; then
   15903   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   15904   WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}"
   15905 fi
   15906 
   15907 # Check whether --enable-build-warnings was given.
   15908 if test "${enable_build_warnings+set}" = set; then :
   15909   enableval=$enable_build_warnings; case "${enableval}" in
   15910   yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   15911         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}";;
   15912   no)	if test "${GCC}" = yes ; then
   15913 	  WARN_CFLAGS="-w"
   15914       WARN_CFLAGS_FOR_BUILD="-w"
   15915 	fi;;
   15916   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   15917         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}"
   15918         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
   15919   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   15920         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}"
   15921         WARN_CFLAGS_FOR_BUILD="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
   15922   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`
   15923         WARN_CFLAGS_FOR_BUILD=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   15924 esac
   15925 fi
   15926 
   15927 
   15928 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
   15929   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
   15930 fi
   15931 
   15932 
   15933 
   15934 
   15935 
   15936 
   15937 
   15938 
   15939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
   15940 $as_echo_n "checking for LC_MESSAGES... " >&6; }
   15941 if ${am_cv_val_LC_MESSAGES+:} false; then :
   15942   $as_echo_n "(cached) " >&6
   15943 else
   15944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15945 /* end confdefs.h.  */
   15946 #include <locale.h>
   15947 int
   15948 main ()
   15949 {
   15950 return LC_MESSAGES
   15951   ;
   15952   return 0;
   15953 }
   15954 _ACEOF
   15955 if ac_fn_c_try_link "$LINENO"; then :
   15956   am_cv_val_LC_MESSAGES=yes
   15957 else
   15958   am_cv_val_LC_MESSAGES=no
   15959 fi
   15960 rm -f core conftest.err conftest.$ac_objext \
   15961     conftest$ac_exeext conftest.$ac_ext
   15962 fi
   15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
   15964 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
   15965   if test $am_cv_val_LC_MESSAGES = yes; then
   15966 
   15967 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
   15968 
   15969   fi
   15970 
   15971 
   15972 ac_config_headers="$ac_config_headers config.h:config.in"
   15973 
   15974 
   15975 # PR 14072
   15976 
   15977 
   15978 if test -z "$target" ; then
   15979     as_fn_error $? "Unrecognized target system type; please check config.sub." "$LINENO" 5
   15980 fi
   15981 if test -z "$host" ; then
   15982     as_fn_error $? "Unrecognized host system type; please check config.sub." "$LINENO" 5
   15983 fi
   15984 
   15985 # host-specific stuff:
   15986 
   15987 ALL_LINGUAS="bg da de es fi fr ga id it ja pt_BR ru sr sv tr uk vi zh_CN zh_TW"
   15988 
   15989         MKINSTALLDIRS=
   15990   if test -n "$ac_aux_dir"; then
   15991     case "$ac_aux_dir" in
   15992       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   15993       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   15994     esac
   15995   fi
   15996   if test -z "$MKINSTALLDIRS"; then
   15997     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   15998   fi
   15999 
   16000 
   16001 
   16002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   16003 $as_echo_n "checking whether NLS is requested... " >&6; }
   16004     # Check whether --enable-nls was given.
   16005 if test "${enable_nls+set}" = set; then :
   16006   enableval=$enable_nls; USE_NLS=$enableval
   16007 else
   16008   USE_NLS=yes
   16009 fi
   16010 
   16011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   16012 $as_echo "$USE_NLS" >&6; }
   16013 
   16014 
   16015 
   16016 
   16017 
   16018 
   16019 # Prepare PATH_SEPARATOR.
   16020 # The user is always right.
   16021 if test "${PATH_SEPARATOR+set}" != set; then
   16022   echo "#! /bin/sh" >conf$$.sh
   16023   echo  "exit 0"   >>conf$$.sh
   16024   chmod +x conf$$.sh
   16025   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   16026     PATH_SEPARATOR=';'
   16027   else
   16028     PATH_SEPARATOR=:
   16029   fi
   16030   rm -f conf$$.sh
   16031 fi
   16032 
   16033 # Find out how to test for executable files. Don't use a zero-byte file,
   16034 # as systems may use methods other than mode bits to determine executability.
   16035 cat >conf$$.file <<_ASEOF
   16036 #! /bin/sh
   16037 exit 0
   16038 _ASEOF
   16039 chmod +x conf$$.file
   16040 if test -x conf$$.file >/dev/null 2>&1; then
   16041   ac_executable_p="test -x"
   16042 else
   16043   ac_executable_p="test -f"
   16044 fi
   16045 rm -f conf$$.file
   16046 
   16047 # Extract the first word of "msgfmt", so it can be a program name with args.
   16048 set dummy msgfmt; ac_word=$2
   16049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16050 $as_echo_n "checking for $ac_word... " >&6; }
   16051 if ${ac_cv_path_MSGFMT+:} false; then :
   16052   $as_echo_n "(cached) " >&6
   16053 else
   16054   case "$MSGFMT" in
   16055   [\\/]* | ?:[\\/]*)
   16056     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   16057     ;;
   16058   *)
   16059     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   16060     for ac_dir in $PATH; do
   16061       IFS="$ac_save_IFS"
   16062       test -z "$ac_dir" && ac_dir=.
   16063       for ac_exec_ext in '' $ac_executable_extensions; do
   16064         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   16065           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   16066      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   16067             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   16068             break 2
   16069           fi
   16070         fi
   16071       done
   16072     done
   16073     IFS="$ac_save_IFS"
   16074   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   16075     ;;
   16076 esac
   16077 fi
   16078 MSGFMT="$ac_cv_path_MSGFMT"
   16079 if test "$MSGFMT" != ":"; then
   16080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   16081 $as_echo "$MSGFMT" >&6; }
   16082 else
   16083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16084 $as_echo "no" >&6; }
   16085 fi
   16086 
   16087   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   16088 set dummy gmsgfmt; ac_word=$2
   16089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16090 $as_echo_n "checking for $ac_word... " >&6; }
   16091 if ${ac_cv_path_GMSGFMT+:} false; then :
   16092   $as_echo_n "(cached) " >&6
   16093 else
   16094   case $GMSGFMT in
   16095   [\\/]* | ?:[\\/]*)
   16096   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   16097   ;;
   16098   *)
   16099   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16100 for as_dir in $PATH
   16101 do
   16102   IFS=$as_save_IFS
   16103   test -z "$as_dir" && as_dir=.
   16104     for ac_exec_ext in '' $ac_executable_extensions; do
   16105   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16106     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   16107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16108     break 2
   16109   fi
   16110 done
   16111   done
   16112 IFS=$as_save_IFS
   16113 
   16114   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   16115   ;;
   16116 esac
   16117 fi
   16118 GMSGFMT=$ac_cv_path_GMSGFMT
   16119 if test -n "$GMSGFMT"; then
   16120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   16121 $as_echo "$GMSGFMT" >&6; }
   16122 else
   16123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16124 $as_echo "no" >&6; }
   16125 fi
   16126 
   16127 
   16128 
   16129 
   16130 # Prepare PATH_SEPARATOR.
   16131 # The user is always right.
   16132 if test "${PATH_SEPARATOR+set}" != set; then
   16133   echo "#! /bin/sh" >conf$$.sh
   16134   echo  "exit 0"   >>conf$$.sh
   16135   chmod +x conf$$.sh
   16136   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   16137     PATH_SEPARATOR=';'
   16138   else
   16139     PATH_SEPARATOR=:
   16140   fi
   16141   rm -f conf$$.sh
   16142 fi
   16143 
   16144 # Find out how to test for executable files. Don't use a zero-byte file,
   16145 # as systems may use methods other than mode bits to determine executability.
   16146 cat >conf$$.file <<_ASEOF
   16147 #! /bin/sh
   16148 exit 0
   16149 _ASEOF
   16150 chmod +x conf$$.file
   16151 if test -x conf$$.file >/dev/null 2>&1; then
   16152   ac_executable_p="test -x"
   16153 else
   16154   ac_executable_p="test -f"
   16155 fi
   16156 rm -f conf$$.file
   16157 
   16158 # Extract the first word of "xgettext", so it can be a program name with args.
   16159 set dummy xgettext; ac_word=$2
   16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16161 $as_echo_n "checking for $ac_word... " >&6; }
   16162 if ${ac_cv_path_XGETTEXT+:} false; then :
   16163   $as_echo_n "(cached) " >&6
   16164 else
   16165   case "$XGETTEXT" in
   16166   [\\/]* | ?:[\\/]*)
   16167     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   16168     ;;
   16169   *)
   16170     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   16171     for ac_dir in $PATH; do
   16172       IFS="$ac_save_IFS"
   16173       test -z "$ac_dir" && ac_dir=.
   16174       for ac_exec_ext in '' $ac_executable_extensions; do
   16175         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   16176           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   16177      (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
   16178             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   16179             break 2
   16180           fi
   16181         fi
   16182       done
   16183     done
   16184     IFS="$ac_save_IFS"
   16185   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   16186     ;;
   16187 esac
   16188 fi
   16189 XGETTEXT="$ac_cv_path_XGETTEXT"
   16190 if test "$XGETTEXT" != ":"; then
   16191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   16192 $as_echo "$XGETTEXT" >&6; }
   16193 else
   16194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16195 $as_echo "no" >&6; }
   16196 fi
   16197 
   16198     rm -f messages.po
   16199 
   16200 
   16201 # Prepare PATH_SEPARATOR.
   16202 # The user is always right.
   16203 if test "${PATH_SEPARATOR+set}" != set; then
   16204   echo "#! /bin/sh" >conf$$.sh
   16205   echo  "exit 0"   >>conf$$.sh
   16206   chmod +x conf$$.sh
   16207   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   16208     PATH_SEPARATOR=';'
   16209   else
   16210     PATH_SEPARATOR=:
   16211   fi
   16212   rm -f conf$$.sh
   16213 fi
   16214 
   16215 # Find out how to test for executable files. Don't use a zero-byte file,
   16216 # as systems may use methods other than mode bits to determine executability.
   16217 cat >conf$$.file <<_ASEOF
   16218 #! /bin/sh
   16219 exit 0
   16220 _ASEOF
   16221 chmod +x conf$$.file
   16222 if test -x conf$$.file >/dev/null 2>&1; then
   16223   ac_executable_p="test -x"
   16224 else
   16225   ac_executable_p="test -f"
   16226 fi
   16227 rm -f conf$$.file
   16228 
   16229 # Extract the first word of "msgmerge", so it can be a program name with args.
   16230 set dummy msgmerge; ac_word=$2
   16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16232 $as_echo_n "checking for $ac_word... " >&6; }
   16233 if ${ac_cv_path_MSGMERGE+:} false; then :
   16234   $as_echo_n "(cached) " >&6
   16235 else
   16236   case "$MSGMERGE" in
   16237   [\\/]* | ?:[\\/]*)
   16238     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   16239     ;;
   16240   *)
   16241     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   16242     for ac_dir in $PATH; do
   16243       IFS="$ac_save_IFS"
   16244       test -z "$ac_dir" && ac_dir=.
   16245       for ac_exec_ext in '' $ac_executable_extensions; do
   16246         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   16247           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   16248             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   16249             break 2
   16250           fi
   16251         fi
   16252       done
   16253     done
   16254     IFS="$ac_save_IFS"
   16255   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   16256     ;;
   16257 esac
   16258 fi
   16259 MSGMERGE="$ac_cv_path_MSGMERGE"
   16260 if test "$MSGMERGE" != ":"; then
   16261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   16262 $as_echo "$MSGMERGE" >&6; }
   16263 else
   16264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16265 $as_echo "no" >&6; }
   16266 fi
   16267 
   16268 
   16269       if test "$GMSGFMT" != ":"; then
   16270             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   16271        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   16272       : ;
   16273     else
   16274       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   16275       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   16276 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   16277       GMSGFMT=":"
   16278     fi
   16279   fi
   16280 
   16281       if test "$XGETTEXT" != ":"; then
   16282             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   16283        (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
   16284       : ;
   16285     else
   16286       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   16287 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   16288       XGETTEXT=":"
   16289     fi
   16290         rm -f messages.po
   16291   fi
   16292 
   16293   ac_config_commands="$ac_config_commands default-1"
   16294 
   16295 
   16296 
   16297       if test "X$prefix" = "XNONE"; then
   16298     acl_final_prefix="$ac_default_prefix"
   16299   else
   16300     acl_final_prefix="$prefix"
   16301   fi
   16302   if test "X$exec_prefix" = "XNONE"; then
   16303     acl_final_exec_prefix='${prefix}'
   16304   else
   16305     acl_final_exec_prefix="$exec_prefix"
   16306   fi
   16307   acl_save_prefix="$prefix"
   16308   prefix="$acl_final_prefix"
   16309   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   16310   prefix="$acl_save_prefix"
   16311 
   16312 
   16313 # Check whether --with-gnu-ld was given.
   16314 if test "${with_gnu_ld+set}" = set; then :
   16315   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   16316 else
   16317   with_gnu_ld=no
   16318 fi
   16319 
   16320 # Prepare PATH_SEPARATOR.
   16321 # The user is always right.
   16322 if test "${PATH_SEPARATOR+set}" != set; then
   16323   echo "#! /bin/sh" >conf$$.sh
   16324   echo  "exit 0"   >>conf$$.sh
   16325   chmod +x conf$$.sh
   16326   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   16327     PATH_SEPARATOR=';'
   16328   else
   16329     PATH_SEPARATOR=:
   16330   fi
   16331   rm -f conf$$.sh
   16332 fi
   16333 ac_prog=ld
   16334 if test "$GCC" = yes; then
   16335   # Check if gcc -print-prog-name=ld gives a path.
   16336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   16337 $as_echo_n "checking for ld used by GCC... " >&6; }
   16338   case $host in
   16339   *-*-mingw*)
   16340     # gcc leaves a trailing carriage return which upsets mingw
   16341     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   16342   *)
   16343     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   16344   esac
   16345   case $ac_prog in
   16346     # Accept absolute paths.
   16347     [\\/]* | [A-Za-z]:[\\/]*)
   16348       re_direlt='/[^/][^/]*/\.\./'
   16349       # Canonicalize the path of ld
   16350       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   16351       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   16352 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   16353       done
   16354       test -z "$LD" && LD="$ac_prog"
   16355       ;;
   16356   "")
   16357     # If it fails, then pretend we aren't using GCC.
   16358     ac_prog=ld
   16359     ;;
   16360   *)
   16361     # If it is relative, then search for the first ld in PATH.
   16362     with_gnu_ld=unknown
   16363     ;;
   16364   esac
   16365 elif test "$with_gnu_ld" = yes; then
   16366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   16367 $as_echo_n "checking for GNU ld... " >&6; }
   16368 else
   16369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   16370 $as_echo_n "checking for non-GNU ld... " >&6; }
   16371 fi
   16372 if ${acl_cv_path_LD+:} false; then :
   16373   $as_echo_n "(cached) " >&6
   16374 else
   16375   if test -z "$LD"; then
   16376   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   16377   for ac_dir in $PATH; do
   16378     test -z "$ac_dir" && ac_dir=.
   16379     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   16380       acl_cv_path_LD="$ac_dir/$ac_prog"
   16381       # Check to see if the program is GNU ld.  I'd rather use --version,
   16382       # but apparently some GNU ld's only accept -v.
   16383       # Break only if it was the GNU/non-GNU ld that we prefer.
   16384       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then
   16385 	test "$with_gnu_ld" != no && break
   16386       else
   16387 	test "$with_gnu_ld" != yes && break
   16388       fi
   16389     fi
   16390   done
   16391   IFS="$ac_save_ifs"
   16392 else
   16393   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   16394 fi
   16395 fi
   16396 
   16397 LD="$acl_cv_path_LD"
   16398 if test -n "$LD"; then
   16399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   16400 $as_echo "$LD" >&6; }
   16401 else
   16402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16403 $as_echo "no" >&6; }
   16404 fi
   16405 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   16407 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   16408 if ${acl_cv_prog_gnu_ld+:} false; then :
   16409   $as_echo_n "(cached) " >&6
   16410 else
   16411   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   16412 if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then
   16413   acl_cv_prog_gnu_ld=yes
   16414 else
   16415   acl_cv_prog_gnu_ld=no
   16416 fi
   16417 fi
   16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   16419 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   16420 with_gnu_ld=$acl_cv_prog_gnu_ld
   16421 
   16422 
   16423 
   16424                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   16425 $as_echo_n "checking for shared library run path origin... " >&6; }
   16426 if ${acl_cv_rpath+:} false; then :
   16427   $as_echo_n "(cached) " >&6
   16428 else
   16429 
   16430     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   16431     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   16432     . ./conftest.sh
   16433     rm -f ./conftest.sh
   16434     acl_cv_rpath=done
   16435 
   16436 fi
   16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   16438 $as_echo "$acl_cv_rpath" >&6; }
   16439   wl="$acl_cv_wl"
   16440   libext="$acl_cv_libext"
   16441   shlibext="$acl_cv_shlibext"
   16442   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   16443   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   16444   hardcode_direct="$acl_cv_hardcode_direct"
   16445   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   16446     # Check whether --enable-rpath was given.
   16447 if test "${enable_rpath+set}" = set; then :
   16448   enableval=$enable_rpath; :
   16449 else
   16450   enable_rpath=yes
   16451 fi
   16452 
   16453 
   16454 
   16455 
   16456 
   16457 
   16458 
   16459 
   16460     use_additional=yes
   16461 
   16462   acl_save_prefix="$prefix"
   16463   prefix="$acl_final_prefix"
   16464   acl_save_exec_prefix="$exec_prefix"
   16465   exec_prefix="$acl_final_exec_prefix"
   16466 
   16467     eval additional_includedir=\"$includedir\"
   16468     eval additional_libdir=\"$libdir\"
   16469 
   16470   exec_prefix="$acl_save_exec_prefix"
   16471   prefix="$acl_save_prefix"
   16472 
   16473 
   16474 # Check whether --with-libiconv-prefix was given.
   16475 if test "${with_libiconv_prefix+set}" = set; then :
   16476   withval=$with_libiconv_prefix;
   16477     if test "X$withval" = "Xno"; then
   16478       use_additional=no
   16479     else
   16480       if test "X$withval" = "X"; then
   16481 
   16482   acl_save_prefix="$prefix"
   16483   prefix="$acl_final_prefix"
   16484   acl_save_exec_prefix="$exec_prefix"
   16485   exec_prefix="$acl_final_exec_prefix"
   16486 
   16487           eval additional_includedir=\"$includedir\"
   16488           eval additional_libdir=\"$libdir\"
   16489 
   16490   exec_prefix="$acl_save_exec_prefix"
   16491   prefix="$acl_save_prefix"
   16492 
   16493       else
   16494         additional_includedir="$withval/include"
   16495         additional_libdir="$withval/lib"
   16496       fi
   16497     fi
   16498 
   16499 fi
   16500 
   16501 
   16502 # Check whether --with-libiconv-type was given.
   16503 if test "${with_libiconv_type+set}" = set; then :
   16504   withval=$with_libiconv_type;  with_libiconv_type=$withval
   16505 else
   16506    with_libiconv_type=auto
   16507 fi
   16508 
   16509   lib_type=`eval echo \$with_libiconv_type`
   16510 
   16511       LIBICONV=
   16512   LTLIBICONV=
   16513   INCICONV=
   16514   rpathdirs=
   16515   ltrpathdirs=
   16516   names_already_handled=
   16517   names_next_round='iconv '
   16518   while test -n "$names_next_round"; do
   16519     names_this_round="$names_next_round"
   16520     names_next_round=
   16521     for name in $names_this_round; do
   16522       already_handled=
   16523       for n in $names_already_handled; do
   16524         if test "$n" = "$name"; then
   16525           already_handled=yes
   16526           break
   16527         fi
   16528       done
   16529       if test -z "$already_handled"; then
   16530         names_already_handled="$names_already_handled $name"
   16531                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   16532         eval value=\"\$HAVE_LIB$uppername\"
   16533         if test -n "$value"; then
   16534           if test "$value" = yes; then
   16535             eval value=\"\$LIB$uppername\"
   16536             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   16537             eval value=\"\$LTLIB$uppername\"
   16538             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   16539           else
   16540                                     :
   16541           fi
   16542         else
   16543                               found_dir=
   16544           found_la=
   16545           found_so=
   16546           found_a=
   16547           if test $use_additional = yes; then
   16548             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   16549               found_dir="$additional_libdir"
   16550               found_so="$additional_libdir/lib$name.$shlibext"
   16551               if test -f "$additional_libdir/lib$name.la"; then
   16552                 found_la="$additional_libdir/lib$name.la"
   16553               fi
   16554             elif test x$lib_type != xshared; then
   16555               if test -f "$additional_libdir/lib$name.$libext"; then
   16556                 found_dir="$additional_libdir"
   16557                 found_a="$additional_libdir/lib$name.$libext"
   16558                 if test -f "$additional_libdir/lib$name.la"; then
   16559                   found_la="$additional_libdir/lib$name.la"
   16560                 fi
   16561               fi
   16562             fi
   16563           fi
   16564           if test "X$found_dir" = "X"; then
   16565             for x in $LDFLAGS $LTLIBICONV; do
   16566 
   16567   acl_save_prefix="$prefix"
   16568   prefix="$acl_final_prefix"
   16569   acl_save_exec_prefix="$exec_prefix"
   16570   exec_prefix="$acl_final_exec_prefix"
   16571   eval x=\"$x\"
   16572   exec_prefix="$acl_save_exec_prefix"
   16573   prefix="$acl_save_prefix"
   16574 
   16575               case "$x" in
   16576                 -L*)
   16577                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   16578                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   16579                     found_dir="$dir"
   16580                     found_so="$dir/lib$name.$shlibext"
   16581                     if test -f "$dir/lib$name.la"; then
   16582                       found_la="$dir/lib$name.la"
   16583                     fi
   16584                   elif test x$lib_type != xshared; then
   16585                     if test -f "$dir/lib$name.$libext"; then
   16586                       found_dir="$dir"
   16587                       found_a="$dir/lib$name.$libext"
   16588                       if test -f "$dir/lib$name.la"; then
   16589                         found_la="$dir/lib$name.la"
   16590                       fi
   16591                     fi
   16592                   fi
   16593                   ;;
   16594               esac
   16595               if test "X$found_dir" != "X"; then
   16596                 break
   16597               fi
   16598             done
   16599           fi
   16600           if test "X$found_dir" != "X"; then
   16601                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   16602             if test "X$found_so" != "X"; then
   16603                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   16604                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   16605               else
   16606                                                                                 haveit=
   16607                 for x in $ltrpathdirs; do
   16608                   if test "X$x" = "X$found_dir"; then
   16609                     haveit=yes
   16610                     break
   16611                   fi
   16612                 done
   16613                 if test -z "$haveit"; then
   16614                   ltrpathdirs="$ltrpathdirs $found_dir"
   16615                 fi
   16616                                 if test "$hardcode_direct" = yes; then
   16617                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   16618                 else
   16619                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   16620                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   16621                                                             haveit=
   16622                     for x in $rpathdirs; do
   16623                       if test "X$x" = "X$found_dir"; then
   16624                         haveit=yes
   16625                         break
   16626                       fi
   16627                     done
   16628                     if test -z "$haveit"; then
   16629                       rpathdirs="$rpathdirs $found_dir"
   16630                     fi
   16631                   else
   16632                                                                                 haveit=
   16633                     for x in $LDFLAGS $LIBICONV; do
   16634 
   16635   acl_save_prefix="$prefix"
   16636   prefix="$acl_final_prefix"
   16637   acl_save_exec_prefix="$exec_prefix"
   16638   exec_prefix="$acl_final_exec_prefix"
   16639   eval x=\"$x\"
   16640   exec_prefix="$acl_save_exec_prefix"
   16641   prefix="$acl_save_prefix"
   16642 
   16643                       if test "X$x" = "X-L$found_dir"; then
   16644                         haveit=yes
   16645                         break
   16646                       fi
   16647                     done
   16648                     if test -z "$haveit"; then
   16649                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   16650                     fi
   16651                     if test "$hardcode_minus_L" != no; then
   16652                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   16653                     else
   16654                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   16655                     fi
   16656                   fi
   16657                 fi
   16658               fi
   16659             else
   16660               if test "X$found_a" != "X"; then
   16661                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   16662               else
   16663                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   16664               fi
   16665             fi
   16666                         additional_includedir=
   16667             case "$found_dir" in
   16668               */lib | */lib/)
   16669                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   16670                 additional_includedir="$basedir/include"
   16671                 ;;
   16672             esac
   16673             if test "X$additional_includedir" != "X"; then
   16674                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   16675                 haveit=
   16676                 if test "X$additional_includedir" = "X/usr/local/include"; then
   16677                   if test -n "$GCC"; then
   16678                     case $host_os in
   16679                       linux*) haveit=yes;;
   16680                     esac
   16681                   fi
   16682                 fi
   16683                 if test -z "$haveit"; then
   16684                   for x in $CPPFLAGS $INCICONV; do
   16685 
   16686   acl_save_prefix="$prefix"
   16687   prefix="$acl_final_prefix"
   16688   acl_save_exec_prefix="$exec_prefix"
   16689   exec_prefix="$acl_final_exec_prefix"
   16690   eval x=\"$x\"
   16691   exec_prefix="$acl_save_exec_prefix"
   16692   prefix="$acl_save_prefix"
   16693 
   16694                     if test "X$x" = "X-I$additional_includedir"; then
   16695                       haveit=yes
   16696                       break
   16697                     fi
   16698                   done
   16699                   if test -z "$haveit"; then
   16700                     if test -d "$additional_includedir"; then
   16701                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   16702                     fi
   16703                   fi
   16704                 fi
   16705               fi
   16706             fi
   16707                         if test -n "$found_la"; then
   16708                                                         save_libdir="$libdir"
   16709               case "$found_la" in
   16710                 */* | *\\*) . "$found_la" ;;
   16711                 *) . "./$found_la" ;;
   16712               esac
   16713               libdir="$save_libdir"
   16714                             for dep in $dependency_libs; do
   16715                 case "$dep" in
   16716                   -L*)
   16717                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   16718                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   16719                       haveit=
   16720                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   16721                         if test -n "$GCC"; then
   16722                           case $host_os in
   16723                             linux*) haveit=yes;;
   16724                           esac
   16725                         fi
   16726                       fi
   16727                       if test -z "$haveit"; then
   16728                         haveit=
   16729                         for x in $LDFLAGS $LIBICONV; do
   16730 
   16731   acl_save_prefix="$prefix"
   16732   prefix="$acl_final_prefix"
   16733   acl_save_exec_prefix="$exec_prefix"
   16734   exec_prefix="$acl_final_exec_prefix"
   16735   eval x=\"$x\"
   16736   exec_prefix="$acl_save_exec_prefix"
   16737   prefix="$acl_save_prefix"
   16738 
   16739                           if test "X$x" = "X-L$additional_libdir"; then
   16740                             haveit=yes
   16741                             break
   16742                           fi
   16743                         done
   16744                         if test -z "$haveit"; then
   16745                           if test -d "$additional_libdir"; then
   16746                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   16747                           fi
   16748                         fi
   16749                         haveit=
   16750                         for x in $LDFLAGS $LTLIBICONV; do
   16751 
   16752   acl_save_prefix="$prefix"
   16753   prefix="$acl_final_prefix"
   16754   acl_save_exec_prefix="$exec_prefix"
   16755   exec_prefix="$acl_final_exec_prefix"
   16756   eval x=\"$x\"
   16757   exec_prefix="$acl_save_exec_prefix"
   16758   prefix="$acl_save_prefix"
   16759 
   16760                           if test "X$x" = "X-L$additional_libdir"; then
   16761                             haveit=yes
   16762                             break
   16763                           fi
   16764                         done
   16765                         if test -z "$haveit"; then
   16766                           if test -d "$additional_libdir"; then
   16767                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   16768                           fi
   16769                         fi
   16770                       fi
   16771                     fi
   16772                     ;;
   16773                   -R*)
   16774                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   16775                     if test "$enable_rpath" != no; then
   16776                                                                   haveit=
   16777                       for x in $rpathdirs; do
   16778                         if test "X$x" = "X$dir"; then
   16779                           haveit=yes
   16780                           break
   16781                         fi
   16782                       done
   16783                       if test -z "$haveit"; then
   16784                         rpathdirs="$rpathdirs $dir"
   16785                       fi
   16786                                                                   haveit=
   16787                       for x in $ltrpathdirs; do
   16788                         if test "X$x" = "X$dir"; then
   16789                           haveit=yes
   16790                           break
   16791                         fi
   16792                       done
   16793                       if test -z "$haveit"; then
   16794                         ltrpathdirs="$ltrpathdirs $dir"
   16795                       fi
   16796                     fi
   16797                     ;;
   16798                   -l*)
   16799                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   16800                     ;;
   16801                   *.la)
   16802                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   16803                     ;;
   16804                   *)
   16805                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   16806                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   16807                     ;;
   16808                 esac
   16809               done
   16810             fi
   16811           else
   16812                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   16813               LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   16814               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   16815             else
   16816               LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
   16817               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
   16818             fi
   16819           fi
   16820         fi
   16821       fi
   16822     done
   16823   done
   16824   if test "X$rpathdirs" != "X"; then
   16825     if test -n "$hardcode_libdir_separator"; then
   16826                         alldirs=
   16827       for found_dir in $rpathdirs; do
   16828         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   16829       done
   16830             acl_save_libdir="$libdir"
   16831       libdir="$alldirs"
   16832       eval flag=\"$hardcode_libdir_flag_spec\"
   16833       libdir="$acl_save_libdir"
   16834       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   16835     else
   16836             for found_dir in $rpathdirs; do
   16837         acl_save_libdir="$libdir"
   16838         libdir="$found_dir"
   16839         eval flag=\"$hardcode_libdir_flag_spec\"
   16840         libdir="$acl_save_libdir"
   16841         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   16842       done
   16843     fi
   16844   fi
   16845   if test "X$ltrpathdirs" != "X"; then
   16846             for found_dir in $ltrpathdirs; do
   16847       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   16848     done
   16849   fi
   16850 
   16851 
   16852 
   16853 
   16854 
   16855 if test -f ../gettext/uninstalled-config.sh; then
   16856   relative_builddir='$(top_builddir)/../gettext'
   16857   .  ../gettext/uninstalled-config.sh
   16858 else
   16859   # The sister gettext directory doesn't exist and won't collect information on
   16860   # using gettext for us.  Call a bundled AM_GNU_GETTEXT.
   16861 
   16862 
   16863 
   16864 
   16865 
   16866 
   16867 
   16868 
   16869 
   16870 
   16871 
   16872 
   16873 
   16874 
   16875 
   16876 
   16877 
   16878 
   16879 
   16880 
   16881 
   16882 
   16883 
   16884     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   16885 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
   16886 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
   16887   $as_echo_n "(cached) " >&6
   16888 else
   16889   gt_save_LIBS="$LIBS"
   16890      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   16891      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16892 /* end confdefs.h.  */
   16893 #include <CoreFoundation/CFPreferences.h>
   16894 int
   16895 main ()
   16896 {
   16897 CFPreferencesCopyAppValue(NULL, NULL)
   16898   ;
   16899   return 0;
   16900 }
   16901 _ACEOF
   16902 if ac_fn_c_try_link "$LINENO"; then :
   16903   gt_cv_func_CFPreferencesCopyAppValue=yes
   16904 else
   16905   gt_cv_func_CFPreferencesCopyAppValue=no
   16906 fi
   16907 rm -f core conftest.err conftest.$ac_objext \
   16908     conftest$ac_exeext conftest.$ac_ext
   16909      LIBS="$gt_save_LIBS"
   16910 fi
   16911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   16912 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   16913   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   16914 
   16915 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   16916 
   16917   fi
   16918                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
   16919 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
   16920 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then :
   16921   $as_echo_n "(cached) " >&6
   16922 else
   16923   gt_save_LIBS="$LIBS"
   16924      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   16925      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16926 /* end confdefs.h.  */
   16927 #include <CoreFoundation/CFLocale.h>
   16928 int
   16929 main ()
   16930 {
   16931 CFLocaleCopyPreferredLanguages();
   16932   ;
   16933   return 0;
   16934 }
   16935 _ACEOF
   16936 if ac_fn_c_try_link "$LINENO"; then :
   16937   gt_cv_func_CFLocaleCopyPreferredLanguages=yes
   16938 else
   16939   gt_cv_func_CFLocaleCopyPreferredLanguages=no
   16940 fi
   16941 rm -f core conftest.err conftest.$ac_objext \
   16942     conftest$ac_exeext conftest.$ac_ext
   16943      LIBS="$gt_save_LIBS"
   16944 fi
   16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
   16946 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
   16947   if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   16948 
   16949 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
   16950 
   16951   fi
   16952   INTL_MACOSX_LIBS=
   16953   if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
   16954      || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   16955                     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
   16956   fi
   16957 
   16958 
   16959 
   16960 
   16961 
   16962 
   16963   LIBINTL=
   16964   LTLIBINTL=
   16965   POSUB=
   16966 
   16967     case " $gt_needs " in
   16968     *" need-formatstring-macros "*) gt_api_version=3 ;;
   16969     *" need-ngettext "*) gt_api_version=2 ;;
   16970     *) gt_api_version=1 ;;
   16971   esac
   16972   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
   16973   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
   16974 
   16975     if test "$USE_NLS" = "yes"; then
   16976     gt_use_preinstalled_gnugettext=no
   16977 
   16978 
   16979         if test $gt_api_version -ge 3; then
   16980           gt_revision_test_code='
   16981 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   16982 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
   16983 #endif
   16984 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
   16985 '
   16986         else
   16987           gt_revision_test_code=
   16988         fi
   16989         if test $gt_api_version -ge 2; then
   16990           gt_expression_test_code=' + * ngettext ("", "", 0)'
   16991         else
   16992           gt_expression_test_code=
   16993         fi
   16994 
   16995         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   16996 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   16997 if eval \${$gt_func_gnugettext_libc+:} false; then :
   16998   $as_echo_n "(cached) " >&6
   16999 else
   17000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17001 /* end confdefs.h.  */
   17002 
   17003 #include <libintl.h>
   17004 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   17005 extern int _nl_msg_cat_cntr;
   17006 extern int *_nl_domain_bindings;
   17007 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
   17008 #else
   17009 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   17010 #endif
   17011 $gt_revision_test_code
   17012 
   17013 int
   17014 main ()
   17015 {
   17016 
   17017 bindtextdomain ("", "");
   17018 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   17019 
   17020   ;
   17021   return 0;
   17022 }
   17023 _ACEOF
   17024 if ac_fn_c_try_link "$LINENO"; then :
   17025   eval "$gt_func_gnugettext_libc=yes"
   17026 else
   17027   eval "$gt_func_gnugettext_libc=no"
   17028 fi
   17029 rm -f core conftest.err conftest.$ac_objext \
   17030     conftest$ac_exeext conftest.$ac_ext
   17031 fi
   17032 eval ac_res=\$$gt_func_gnugettext_libc
   17033 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   17034 $as_echo "$ac_res" >&6; }
   17035 
   17036         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
   17037 
   17038 
   17039 
   17040 
   17041 
   17042           am_save_CPPFLAGS="$CPPFLAGS"
   17043 
   17044   for element in $INCICONV; do
   17045     haveit=
   17046     for x in $CPPFLAGS; do
   17047 
   17048   acl_save_prefix="$prefix"
   17049   prefix="$acl_final_prefix"
   17050   acl_save_exec_prefix="$exec_prefix"
   17051   exec_prefix="$acl_final_exec_prefix"
   17052   eval x=\"$x\"
   17053   exec_prefix="$acl_save_exec_prefix"
   17054   prefix="$acl_save_prefix"
   17055 
   17056       if test "X$x" = "X$element"; then
   17057         haveit=yes
   17058         break
   17059       fi
   17060     done
   17061     if test -z "$haveit"; then
   17062       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   17063     fi
   17064   done
   17065 
   17066 
   17067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   17068 $as_echo_n "checking for iconv... " >&6; }
   17069 if ${am_cv_func_iconv+:} false; then :
   17070   $as_echo_n "(cached) " >&6
   17071 else
   17072 
   17073     am_cv_func_iconv="no, consider installing GNU libiconv"
   17074     am_cv_lib_iconv=no
   17075     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17076 /* end confdefs.h.  */
   17077 
   17078 #include <stdlib.h>
   17079 #include <iconv.h>
   17080 
   17081 int
   17082 main ()
   17083 {
   17084 iconv_t cd = iconv_open("","");
   17085            iconv(cd,NULL,NULL,NULL,NULL);
   17086            iconv_close(cd);
   17087   ;
   17088   return 0;
   17089 }
   17090 _ACEOF
   17091 if ac_fn_c_try_link "$LINENO"; then :
   17092   am_cv_func_iconv=yes
   17093 fi
   17094 rm -f core conftest.err conftest.$ac_objext \
   17095     conftest$ac_exeext conftest.$ac_ext
   17096     if test "$am_cv_func_iconv" != yes; then
   17097       am_save_LIBS="$LIBS"
   17098       LIBS="$LIBS $LIBICONV"
   17099       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17100 /* end confdefs.h.  */
   17101 
   17102 #include <stdlib.h>
   17103 #include <iconv.h>
   17104 
   17105 int
   17106 main ()
   17107 {
   17108 iconv_t cd = iconv_open("","");
   17109              iconv(cd,NULL,NULL,NULL,NULL);
   17110              iconv_close(cd);
   17111   ;
   17112   return 0;
   17113 }
   17114 _ACEOF
   17115 if ac_fn_c_try_link "$LINENO"; then :
   17116   am_cv_lib_iconv=yes
   17117         am_cv_func_iconv=yes
   17118 fi
   17119 rm -f core conftest.err conftest.$ac_objext \
   17120     conftest$ac_exeext conftest.$ac_ext
   17121       LIBS="$am_save_LIBS"
   17122     fi
   17123 
   17124 fi
   17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   17126 $as_echo "$am_cv_func_iconv" >&6; }
   17127   if test "$am_cv_func_iconv" = yes; then
   17128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   17129 $as_echo_n "checking for working iconv... " >&6; }
   17130 if ${am_cv_func_iconv_works+:} false; then :
   17131   $as_echo_n "(cached) " >&6
   17132 else
   17133 
   17134                   am_save_LIBS="$LIBS"
   17135       if test $am_cv_lib_iconv = yes; then
   17136         LIBS="$LIBS $LIBICONV"
   17137       fi
   17138       am_cv_func_iconv_works=no
   17139       for ac_iconv_const in '' 'const'; do
   17140         if test "$cross_compiling" = yes; then :
   17141   case "$host_os" in
   17142              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   17143              *)            am_cv_func_iconv_works="guessing yes" ;;
   17144            esac
   17145 else
   17146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17147 /* end confdefs.h.  */
   17148 
   17149 #include <iconv.h>
   17150 #include <string.h>
   17151 
   17152 #ifndef ICONV_CONST
   17153 # define ICONV_CONST $ac_iconv_const
   17154 #endif
   17155 
   17156 int
   17157 main ()
   17158 {
   17159 int result = 0;
   17160   /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
   17161      successful returns.  This is even documented in
   17162      <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
   17163   {
   17164     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   17165     if (cd_utf8_to_88591 != (iconv_t)(-1))
   17166       {
   17167         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   17168         char buf[10];
   17169         ICONV_CONST char *inptr = input;
   17170         size_t inbytesleft = strlen (input);
   17171         char *outptr = buf;
   17172         size_t outbytesleft = sizeof (buf);
   17173         size_t res = iconv (cd_utf8_to_88591,
   17174                             &inptr, &inbytesleft,
   17175                             &outptr, &outbytesleft);
   17176         if (res == 0)
   17177           result |= 1;
   17178         iconv_close (cd_utf8_to_88591);
   17179       }
   17180   }
   17181   /* Test against Solaris 10 bug: Failures are not distinguishable from
   17182      successful returns.  */
   17183   {
   17184     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   17185     if (cd_ascii_to_88591 != (iconv_t)(-1))
   17186       {
   17187         static ICONV_CONST char input[] = "\263";
   17188         char buf[10];
   17189         ICONV_CONST char *inptr = input;
   17190         size_t inbytesleft = strlen (input);
   17191         char *outptr = buf;
   17192         size_t outbytesleft = sizeof (buf);
   17193         size_t res = iconv (cd_ascii_to_88591,
   17194                             &inptr, &inbytesleft,
   17195                             &outptr, &outbytesleft);
   17196         if (res == 0)
   17197           result |= 2;
   17198         iconv_close (cd_ascii_to_88591);
   17199       }
   17200   }
   17201   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   17202   {
   17203     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   17204     if (cd_88591_to_utf8 != (iconv_t)(-1))
   17205       {
   17206         static ICONV_CONST char input[] = "\304";
   17207         static char buf[2] = { (char)0xDE, (char)0xAD };
   17208         ICONV_CONST char *inptr = input;
   17209         size_t inbytesleft = 1;
   17210         char *outptr = buf;
   17211         size_t outbytesleft = 1;
   17212         size_t res = iconv (cd_88591_to_utf8,
   17213                             &inptr, &inbytesleft,
   17214                             &outptr, &outbytesleft);
   17215         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   17216           result |= 4;
   17217         iconv_close (cd_88591_to_utf8);
   17218       }
   17219   }
   17220 #if 0 /* This bug could be worked around by the caller.  */
   17221   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   17222   {
   17223     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   17224     if (cd_88591_to_utf8 != (iconv_t)(-1))
   17225       {
   17226         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   17227         char buf[50];
   17228         ICONV_CONST char *inptr = input;
   17229         size_t inbytesleft = strlen (input);
   17230         char *outptr = buf;
   17231         size_t outbytesleft = sizeof (buf);
   17232         size_t res = iconv (cd_88591_to_utf8,
   17233                             &inptr, &inbytesleft,
   17234                             &outptr, &outbytesleft);
   17235         if ((int)res > 0)
   17236           result |= 8;
   17237         iconv_close (cd_88591_to_utf8);
   17238       }
   17239   }
   17240 #endif
   17241   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   17242      provided.  */
   17243   {
   17244     /* Try standardized names.  */
   17245     iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
   17246     /* Try IRIX, OSF/1 names.  */
   17247     iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
   17248     /* Try AIX names.  */
   17249     iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
   17250     /* Try HP-UX names.  */
   17251     iconv_t cd4 = iconv_open ("utf8", "eucJP");
   17252     if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
   17253         && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
   17254       result |= 16;
   17255     if (cd1 != (iconv_t)(-1))
   17256       iconv_close (cd1);
   17257     if (cd2 != (iconv_t)(-1))
   17258       iconv_close (cd2);
   17259     if (cd3 != (iconv_t)(-1))
   17260       iconv_close (cd3);
   17261     if (cd4 != (iconv_t)(-1))
   17262       iconv_close (cd4);
   17263   }
   17264   return result;
   17265 
   17266   ;
   17267   return 0;
   17268 }
   17269 _ACEOF
   17270 if ac_fn_c_try_run "$LINENO"; then :
   17271   am_cv_func_iconv_works=yes
   17272 fi
   17273 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17274   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17275 fi
   17276 
   17277         test "$am_cv_func_iconv_works" = no || break
   17278       done
   17279       LIBS="$am_save_LIBS"
   17280 
   17281 fi
   17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   17283 $as_echo "$am_cv_func_iconv_works" >&6; }
   17284     case "$am_cv_func_iconv_works" in
   17285       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   17286       *)   am_func_iconv=yes ;;
   17287     esac
   17288   else
   17289     am_func_iconv=no am_cv_lib_iconv=no
   17290   fi
   17291   if test "$am_func_iconv" = yes; then
   17292 
   17293 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   17294 
   17295   fi
   17296   if test "$am_cv_lib_iconv" = yes; then
   17297     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   17298 $as_echo_n "checking how to link with libiconv... " >&6; }
   17299     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   17300 $as_echo "$LIBICONV" >&6; }
   17301   else
   17302             CPPFLAGS="$am_save_CPPFLAGS"
   17303     LIBICONV=
   17304     LTLIBICONV=
   17305   fi
   17306 
   17307 
   17308 
   17309 
   17310 
   17311 
   17312     use_additional=yes
   17313 
   17314   acl_save_prefix="$prefix"
   17315   prefix="$acl_final_prefix"
   17316   acl_save_exec_prefix="$exec_prefix"
   17317   exec_prefix="$acl_final_exec_prefix"
   17318 
   17319     eval additional_includedir=\"$includedir\"
   17320     eval additional_libdir=\"$libdir\"
   17321 
   17322   exec_prefix="$acl_save_exec_prefix"
   17323   prefix="$acl_save_prefix"
   17324 
   17325 
   17326 # Check whether --with-libintl-prefix was given.
   17327 if test "${with_libintl_prefix+set}" = set; then :
   17328   withval=$with_libintl_prefix;
   17329     if test "X$withval" = "Xno"; then
   17330       use_additional=no
   17331     else
   17332       if test "X$withval" = "X"; then
   17333 
   17334   acl_save_prefix="$prefix"
   17335   prefix="$acl_final_prefix"
   17336   acl_save_exec_prefix="$exec_prefix"
   17337   exec_prefix="$acl_final_exec_prefix"
   17338 
   17339           eval additional_includedir=\"$includedir\"
   17340           eval additional_libdir=\"$libdir\"
   17341 
   17342   exec_prefix="$acl_save_exec_prefix"
   17343   prefix="$acl_save_prefix"
   17344 
   17345       else
   17346         additional_includedir="$withval/include"
   17347         additional_libdir="$withval/lib"
   17348       fi
   17349     fi
   17350 
   17351 fi
   17352 
   17353 
   17354 # Check whether --with-libintl-type was given.
   17355 if test "${with_libintl_type+set}" = set; then :
   17356   withval=$with_libintl_type;  with_libintl_type=$withval
   17357 else
   17358    with_libintl_type=auto
   17359 fi
   17360 
   17361   lib_type=`eval echo \$with_libintl_type`
   17362 
   17363       LIBINTL=
   17364   LTLIBINTL=
   17365   INCINTL=
   17366   rpathdirs=
   17367   ltrpathdirs=
   17368   names_already_handled=
   17369   names_next_round='intl '
   17370   while test -n "$names_next_round"; do
   17371     names_this_round="$names_next_round"
   17372     names_next_round=
   17373     for name in $names_this_round; do
   17374       already_handled=
   17375       for n in $names_already_handled; do
   17376         if test "$n" = "$name"; then
   17377           already_handled=yes
   17378           break
   17379         fi
   17380       done
   17381       if test -z "$already_handled"; then
   17382         names_already_handled="$names_already_handled $name"
   17383                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   17384         eval value=\"\$HAVE_LIB$uppername\"
   17385         if test -n "$value"; then
   17386           if test "$value" = yes; then
   17387             eval value=\"\$LIB$uppername\"
   17388             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   17389             eval value=\"\$LTLIB$uppername\"
   17390             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   17391           else
   17392                                     :
   17393           fi
   17394         else
   17395                               found_dir=
   17396           found_la=
   17397           found_so=
   17398           found_a=
   17399           if test $use_additional = yes; then
   17400             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   17401               found_dir="$additional_libdir"
   17402               found_so="$additional_libdir/lib$name.$shlibext"
   17403               if test -f "$additional_libdir/lib$name.la"; then
   17404                 found_la="$additional_libdir/lib$name.la"
   17405               fi
   17406             elif test x$lib_type != xshared; then
   17407               if test -f "$additional_libdir/lib$name.$libext"; then
   17408                 found_dir="$additional_libdir"
   17409                 found_a="$additional_libdir/lib$name.$libext"
   17410                 if test -f "$additional_libdir/lib$name.la"; then
   17411                   found_la="$additional_libdir/lib$name.la"
   17412                 fi
   17413               fi
   17414             fi
   17415           fi
   17416           if test "X$found_dir" = "X"; then
   17417             for x in $LDFLAGS $LTLIBINTL; do
   17418 
   17419   acl_save_prefix="$prefix"
   17420   prefix="$acl_final_prefix"
   17421   acl_save_exec_prefix="$exec_prefix"
   17422   exec_prefix="$acl_final_exec_prefix"
   17423   eval x=\"$x\"
   17424   exec_prefix="$acl_save_exec_prefix"
   17425   prefix="$acl_save_prefix"
   17426 
   17427               case "$x" in
   17428                 -L*)
   17429                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   17430                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   17431                     found_dir="$dir"
   17432                     found_so="$dir/lib$name.$shlibext"
   17433                     if test -f "$dir/lib$name.la"; then
   17434                       found_la="$dir/lib$name.la"
   17435                     fi
   17436                   elif test x$lib_type != xshared; then
   17437                     if test -f "$dir/lib$name.$libext"; then
   17438                       found_dir="$dir"
   17439                       found_a="$dir/lib$name.$libext"
   17440                       if test -f "$dir/lib$name.la"; then
   17441                         found_la="$dir/lib$name.la"
   17442                       fi
   17443                     fi
   17444                   fi
   17445                   ;;
   17446               esac
   17447               if test "X$found_dir" != "X"; then
   17448                 break
   17449               fi
   17450             done
   17451           fi
   17452           if test "X$found_dir" != "X"; then
   17453                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   17454             if test "X$found_so" != "X"; then
   17455                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   17456                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   17457               else
   17458                                                                                 haveit=
   17459                 for x in $ltrpathdirs; do
   17460                   if test "X$x" = "X$found_dir"; then
   17461                     haveit=yes
   17462                     break
   17463                   fi
   17464                 done
   17465                 if test -z "$haveit"; then
   17466                   ltrpathdirs="$ltrpathdirs $found_dir"
   17467                 fi
   17468                                 if test "$hardcode_direct" = yes; then
   17469                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   17470                 else
   17471                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   17472                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   17473                                                             haveit=
   17474                     for x in $rpathdirs; do
   17475                       if test "X$x" = "X$found_dir"; then
   17476                         haveit=yes
   17477                         break
   17478                       fi
   17479                     done
   17480                     if test -z "$haveit"; then
   17481                       rpathdirs="$rpathdirs $found_dir"
   17482                     fi
   17483                   else
   17484                                                                                 haveit=
   17485                     for x in $LDFLAGS $LIBINTL; do
   17486 
   17487   acl_save_prefix="$prefix"
   17488   prefix="$acl_final_prefix"
   17489   acl_save_exec_prefix="$exec_prefix"
   17490   exec_prefix="$acl_final_exec_prefix"
   17491   eval x=\"$x\"
   17492   exec_prefix="$acl_save_exec_prefix"
   17493   prefix="$acl_save_prefix"
   17494 
   17495                       if test "X$x" = "X-L$found_dir"; then
   17496                         haveit=yes
   17497                         break
   17498                       fi
   17499                     done
   17500                     if test -z "$haveit"; then
   17501                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   17502                     fi
   17503                     if test "$hardcode_minus_L" != no; then
   17504                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   17505                     else
   17506                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   17507                     fi
   17508                   fi
   17509                 fi
   17510               fi
   17511             else
   17512               if test "X$found_a" != "X"; then
   17513                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   17514               else
   17515                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   17516               fi
   17517             fi
   17518                         additional_includedir=
   17519             case "$found_dir" in
   17520               */lib | */lib/)
   17521                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   17522                 additional_includedir="$basedir/include"
   17523                 ;;
   17524             esac
   17525             if test "X$additional_includedir" != "X"; then
   17526                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   17527                 haveit=
   17528                 if test "X$additional_includedir" = "X/usr/local/include"; then
   17529                   if test -n "$GCC"; then
   17530                     case $host_os in
   17531                       linux*) haveit=yes;;
   17532                     esac
   17533                   fi
   17534                 fi
   17535                 if test -z "$haveit"; then
   17536                   for x in $CPPFLAGS $INCINTL; do
   17537 
   17538   acl_save_prefix="$prefix"
   17539   prefix="$acl_final_prefix"
   17540   acl_save_exec_prefix="$exec_prefix"
   17541   exec_prefix="$acl_final_exec_prefix"
   17542   eval x=\"$x\"
   17543   exec_prefix="$acl_save_exec_prefix"
   17544   prefix="$acl_save_prefix"
   17545 
   17546                     if test "X$x" = "X-I$additional_includedir"; then
   17547                       haveit=yes
   17548                       break
   17549                     fi
   17550                   done
   17551                   if test -z "$haveit"; then
   17552                     if test -d "$additional_includedir"; then
   17553                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   17554                     fi
   17555                   fi
   17556                 fi
   17557               fi
   17558             fi
   17559                         if test -n "$found_la"; then
   17560                                                         save_libdir="$libdir"
   17561               case "$found_la" in
   17562                 */* | *\\*) . "$found_la" ;;
   17563                 *) . "./$found_la" ;;
   17564               esac
   17565               libdir="$save_libdir"
   17566                             for dep in $dependency_libs; do
   17567                 case "$dep" in
   17568                   -L*)
   17569                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   17570                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   17571                       haveit=
   17572                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   17573                         if test -n "$GCC"; then
   17574                           case $host_os in
   17575                             linux*) haveit=yes;;
   17576                           esac
   17577                         fi
   17578                       fi
   17579                       if test -z "$haveit"; then
   17580                         haveit=
   17581                         for x in $LDFLAGS $LIBINTL; do
   17582 
   17583   acl_save_prefix="$prefix"
   17584   prefix="$acl_final_prefix"
   17585   acl_save_exec_prefix="$exec_prefix"
   17586   exec_prefix="$acl_final_exec_prefix"
   17587   eval x=\"$x\"
   17588   exec_prefix="$acl_save_exec_prefix"
   17589   prefix="$acl_save_prefix"
   17590 
   17591                           if test "X$x" = "X-L$additional_libdir"; then
   17592                             haveit=yes
   17593                             break
   17594                           fi
   17595                         done
   17596                         if test -z "$haveit"; then
   17597                           if test -d "$additional_libdir"; then
   17598                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   17599                           fi
   17600                         fi
   17601                         haveit=
   17602                         for x in $LDFLAGS $LTLIBINTL; do
   17603 
   17604   acl_save_prefix="$prefix"
   17605   prefix="$acl_final_prefix"
   17606   acl_save_exec_prefix="$exec_prefix"
   17607   exec_prefix="$acl_final_exec_prefix"
   17608   eval x=\"$x\"
   17609   exec_prefix="$acl_save_exec_prefix"
   17610   prefix="$acl_save_prefix"
   17611 
   17612                           if test "X$x" = "X-L$additional_libdir"; then
   17613                             haveit=yes
   17614                             break
   17615                           fi
   17616                         done
   17617                         if test -z "$haveit"; then
   17618                           if test -d "$additional_libdir"; then
   17619                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   17620                           fi
   17621                         fi
   17622                       fi
   17623                     fi
   17624                     ;;
   17625                   -R*)
   17626                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   17627                     if test "$enable_rpath" != no; then
   17628                                                                   haveit=
   17629                       for x in $rpathdirs; do
   17630                         if test "X$x" = "X$dir"; then
   17631                           haveit=yes
   17632                           break
   17633                         fi
   17634                       done
   17635                       if test -z "$haveit"; then
   17636                         rpathdirs="$rpathdirs $dir"
   17637                       fi
   17638                                                                   haveit=
   17639                       for x in $ltrpathdirs; do
   17640                         if test "X$x" = "X$dir"; then
   17641                           haveit=yes
   17642                           break
   17643                         fi
   17644                       done
   17645                       if test -z "$haveit"; then
   17646                         ltrpathdirs="$ltrpathdirs $dir"
   17647                       fi
   17648                     fi
   17649                     ;;
   17650                   -l*)
   17651                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   17652                     ;;
   17653                   *.la)
   17654                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   17655                     ;;
   17656                   *)
   17657                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   17658                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   17659                     ;;
   17660                 esac
   17661               done
   17662             fi
   17663           else
   17664                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   17665               LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   17666               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   17667             else
   17668               LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
   17669               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
   17670             fi
   17671           fi
   17672         fi
   17673       fi
   17674     done
   17675   done
   17676   if test "X$rpathdirs" != "X"; then
   17677     if test -n "$hardcode_libdir_separator"; then
   17678                         alldirs=
   17679       for found_dir in $rpathdirs; do
   17680         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   17681       done
   17682             acl_save_libdir="$libdir"
   17683       libdir="$alldirs"
   17684       eval flag=\"$hardcode_libdir_flag_spec\"
   17685       libdir="$acl_save_libdir"
   17686       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   17687     else
   17688             for found_dir in $rpathdirs; do
   17689         acl_save_libdir="$libdir"
   17690         libdir="$found_dir"
   17691         eval flag=\"$hardcode_libdir_flag_spec\"
   17692         libdir="$acl_save_libdir"
   17693         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   17694       done
   17695     fi
   17696   fi
   17697   if test "X$ltrpathdirs" != "X"; then
   17698             for found_dir in $ltrpathdirs; do
   17699       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   17700     done
   17701   fi
   17702 
   17703           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   17704 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   17705 if eval \${$gt_func_gnugettext_libintl+:} false; then :
   17706   $as_echo_n "(cached) " >&6
   17707 else
   17708   gt_save_CPPFLAGS="$CPPFLAGS"
   17709             CPPFLAGS="$CPPFLAGS $INCINTL"
   17710             gt_save_LIBS="$LIBS"
   17711             LIBS="$LIBS $LIBINTL"
   17712                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17713 /* end confdefs.h.  */
   17714 
   17715 #include <libintl.h>
   17716 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   17717 extern int _nl_msg_cat_cntr;
   17718 extern
   17719 #ifdef __cplusplus
   17720 "C"
   17721 #endif
   17722 const char *_nl_expand_alias (const char *);
   17723 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   17724 #else
   17725 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   17726 #endif
   17727 $gt_revision_test_code
   17728 
   17729 int
   17730 main ()
   17731 {
   17732 
   17733 bindtextdomain ("", "");
   17734 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   17735 
   17736   ;
   17737   return 0;
   17738 }
   17739 _ACEOF
   17740 if ac_fn_c_try_link "$LINENO"; then :
   17741   eval "$gt_func_gnugettext_libintl=yes"
   17742 else
   17743   eval "$gt_func_gnugettext_libintl=no"
   17744 fi
   17745 rm -f core conftest.err conftest.$ac_objext \
   17746     conftest$ac_exeext conftest.$ac_ext
   17747                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
   17748               LIBS="$LIBS $LIBICONV"
   17749               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17750 /* end confdefs.h.  */
   17751 
   17752 #include <libintl.h>
   17753 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   17754 extern int _nl_msg_cat_cntr;
   17755 extern
   17756 #ifdef __cplusplus
   17757 "C"
   17758 #endif
   17759 const char *_nl_expand_alias (const char *);
   17760 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   17761 #else
   17762 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   17763 #endif
   17764 $gt_revision_test_code
   17765 
   17766 int
   17767 main ()
   17768 {
   17769 
   17770 bindtextdomain ("", "");
   17771 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   17772 
   17773   ;
   17774   return 0;
   17775 }
   17776 _ACEOF
   17777 if ac_fn_c_try_link "$LINENO"; then :
   17778   LIBINTL="$LIBINTL $LIBICONV"
   17779                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   17780                  eval "$gt_func_gnugettext_libintl=yes"
   17781 
   17782 fi
   17783 rm -f core conftest.err conftest.$ac_objext \
   17784     conftest$ac_exeext conftest.$ac_ext
   17785             fi
   17786             CPPFLAGS="$gt_save_CPPFLAGS"
   17787             LIBS="$gt_save_LIBS"
   17788 fi
   17789 eval ac_res=\$$gt_func_gnugettext_libintl
   17790 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   17791 $as_echo "$ac_res" >&6; }
   17792         fi
   17793 
   17794                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
   17795            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
   17796                 && test "$PACKAGE" != gettext-runtime \
   17797                 && test "$PACKAGE" != gettext-tools; }; then
   17798           gt_use_preinstalled_gnugettext=yes
   17799         else
   17800                     LIBINTL=
   17801           LTLIBINTL=
   17802           INCINTL=
   17803         fi
   17804 
   17805 
   17806 
   17807     if test -n "$INTL_MACOSX_LIBS"; then
   17808       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   17809          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   17810                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   17811         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   17812       fi
   17813     fi
   17814 
   17815     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   17816        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   17817 
   17818 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   17819 
   17820     else
   17821       USE_NLS=no
   17822     fi
   17823   fi
   17824 
   17825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   17826 $as_echo_n "checking whether to use NLS... " >&6; }
   17827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   17828 $as_echo "$USE_NLS" >&6; }
   17829   if test "$USE_NLS" = "yes"; then
   17830     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   17831 $as_echo_n "checking where the gettext function comes from... " >&6; }
   17832     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   17833       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   17834         gt_source="external libintl"
   17835       else
   17836         gt_source="libc"
   17837       fi
   17838     else
   17839       gt_source="included intl directory"
   17840     fi
   17841     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   17842 $as_echo "$gt_source" >&6; }
   17843   fi
   17844 
   17845   if test "$USE_NLS" = "yes"; then
   17846 
   17847     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   17848       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   17849         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   17850 $as_echo_n "checking how to link with libintl... " >&6; }
   17851         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   17852 $as_echo "$LIBINTL" >&6; }
   17853 
   17854   for element in $INCINTL; do
   17855     haveit=
   17856     for x in $CPPFLAGS; do
   17857 
   17858   acl_save_prefix="$prefix"
   17859   prefix="$acl_final_prefix"
   17860   acl_save_exec_prefix="$exec_prefix"
   17861   exec_prefix="$acl_final_exec_prefix"
   17862   eval x=\"$x\"
   17863   exec_prefix="$acl_save_exec_prefix"
   17864   prefix="$acl_save_prefix"
   17865 
   17866       if test "X$x" = "X$element"; then
   17867         haveit=yes
   17868         break
   17869       fi
   17870     done
   17871     if test -z "$haveit"; then
   17872       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   17873     fi
   17874   done
   17875 
   17876       fi
   17877 
   17878 
   17879 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   17880 
   17881 
   17882 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   17883 
   17884     fi
   17885 
   17886         POSUB=po
   17887   fi
   17888 
   17889 
   17890 
   17891     INTLLIBS="$LIBINTL"
   17892 
   17893 
   17894 
   17895 
   17896 
   17897 
   17898 fi
   17899 
   17900 
   17901 
   17902 
   17903 
   17904 
   17905 
   17906 
   17907 
   17908 
   17909 
   17910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   17911 $as_echo_n "checking whether NLS is requested... " >&6; }
   17912 if test x"$USE_NLS" != xyes; then
   17913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17914 $as_echo "no" >&6; }
   17915 else
   17916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17917 $as_echo "yes" >&6; }
   17918 
   17919 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   17920 
   17921 
   17922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
   17923 $as_echo_n "checking for catalogs to be installed... " >&6; }
   17924   # Look for .po and .gmo files in the source directory.
   17925   CATALOGS=
   17926   XLINGUAS=
   17927   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
   17928     # If there aren't any .gmo files the shell will give us the
   17929     # literal string "../path/to/srcdir/po/*.gmo" which has to be
   17930     # weeded out.
   17931     case "$cat" in *\**)
   17932       continue;;
   17933     esac
   17934     # The quadruple backslash is collapsed to a double backslash
   17935     # by the backticks, then collapsed again by the double quotes,
   17936     # leaving us with one backslash in the sed expression (right
   17937     # before the dot that mustn't act as a wildcard).
   17938     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
   17939     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
   17940     # The user is allowed to set LINGUAS to a list of languages to
   17941     # install catalogs for.  If it's empty that means "all of them."
   17942     if test "x$LINGUAS" = x; then
   17943       CATALOGS="$CATALOGS $cat"
   17944       XLINGUAS="$XLINGUAS $lang"
   17945     else
   17946       case "$LINGUAS" in *$lang*)
   17947         CATALOGS="$CATALOGS $cat"
   17948         XLINGUAS="$XLINGUAS $lang"
   17949         ;;
   17950       esac
   17951     fi
   17952   done
   17953   LINGUAS="$XLINGUAS"
   17954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
   17955 $as_echo "$LINGUAS" >&6; }
   17956 
   17957 
   17958     DATADIRNAME=share
   17959 
   17960   INSTOBJEXT=.mo
   17961 
   17962   GENCAT=gencat
   17963 
   17964   CATOBJEXT=.gmo
   17965 
   17966 fi
   17967 
   17968 
   17969 
   17970 for ac_prog in 'bison -y' byacc
   17971 do
   17972   # Extract the first word of "$ac_prog", so it can be a program name with args.
   17973 set dummy $ac_prog; ac_word=$2
   17974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17975 $as_echo_n "checking for $ac_word... " >&6; }
   17976 if ${ac_cv_prog_YACC+:} false; then :
   17977   $as_echo_n "(cached) " >&6
   17978 else
   17979   if test -n "$YACC"; then
   17980   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   17981 else
   17982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17983 for as_dir in $PATH
   17984 do
   17985   IFS=$as_save_IFS
   17986   test -z "$as_dir" && as_dir=.
   17987     for ac_exec_ext in '' $ac_executable_extensions; do
   17988   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17989     ac_cv_prog_YACC="$ac_prog"
   17990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17991     break 2
   17992   fi
   17993 done
   17994   done
   17995 IFS=$as_save_IFS
   17996 
   17997 fi
   17998 fi
   17999 YACC=$ac_cv_prog_YACC
   18000 if test -n "$YACC"; then
   18001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   18002 $as_echo "$YACC" >&6; }
   18003 else
   18004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18005 $as_echo "no" >&6; }
   18006 fi
   18007 
   18008 
   18009   test -n "$YACC" && break
   18010 done
   18011 test -n "$YACC" || YACC="yacc"
   18012 
   18013 for ac_prog in flex lex
   18014 do
   18015   # Extract the first word of "$ac_prog", so it can be a program name with args.
   18016 set dummy $ac_prog; ac_word=$2
   18017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18018 $as_echo_n "checking for $ac_word... " >&6; }
   18019 if ${ac_cv_prog_LEX+:} false; then :
   18020   $as_echo_n "(cached) " >&6
   18021 else
   18022   if test -n "$LEX"; then
   18023   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   18024 else
   18025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18026 for as_dir in $PATH
   18027 do
   18028   IFS=$as_save_IFS
   18029   test -z "$as_dir" && as_dir=.
   18030     for ac_exec_ext in '' $ac_executable_extensions; do
   18031   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18032     ac_cv_prog_LEX="$ac_prog"
   18033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18034     break 2
   18035   fi
   18036 done
   18037   done
   18038 IFS=$as_save_IFS
   18039 
   18040 fi
   18041 fi
   18042 LEX=$ac_cv_prog_LEX
   18043 if test -n "$LEX"; then
   18044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   18045 $as_echo "$LEX" >&6; }
   18046 else
   18047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18048 $as_echo "no" >&6; }
   18049 fi
   18050 
   18051 
   18052   test -n "$LEX" && break
   18053 done
   18054 test -n "$LEX" || LEX=":"
   18055 
   18056 case "$LEX" in
   18057   :|*"missing "*) ;;
   18058   *) cat >conftest.l <<_ACEOF
   18059 %%
   18060 a { ECHO; }
   18061 b { REJECT; }
   18062 c { yymore (); }
   18063 d { yyless (1); }
   18064 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
   18065     yyless ((input () != 0)); }
   18066 f { unput (yytext[0]); }
   18067 . { BEGIN INITIAL; }
   18068 %%
   18069 #ifdef YYTEXT_POINTER
   18070 extern char *yytext;
   18071 #endif
   18072 int
   18073 main (void)
   18074 {
   18075   return ! yylex () + ! yywrap ();
   18076 }
   18077 _ACEOF
   18078 { { ac_try="$LEX conftest.l"
   18079 case "(($ac_try" in
   18080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18081   *) ac_try_echo=$ac_try;;
   18082 esac
   18083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   18084 $as_echo "$ac_try_echo"; } >&5
   18085   (eval "$LEX conftest.l") 2>&5
   18086   ac_status=$?
   18087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18088   test $ac_status = 0; }
   18089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
   18090 $as_echo_n "checking lex output file root... " >&6; }
   18091 if ${ac_cv_prog_lex_root+:} false; then :
   18092   $as_echo_n "(cached) " >&6
   18093 else
   18094 
   18095 if test -f lex.yy.c; then
   18096   ac_cv_prog_lex_root=lex.yy
   18097 elif test -f lexyy.c; then
   18098   ac_cv_prog_lex_root=lexyy
   18099 else
   18100   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
   18101 fi
   18102 fi
   18103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
   18104 $as_echo "$ac_cv_prog_lex_root" >&6; }
   18105 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
   18106 
   18107 if test -z "${LEXLIB+set}"; then
   18108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
   18109 $as_echo_n "checking lex library... " >&6; }
   18110 if ${ac_cv_lib_lex+:} false; then :
   18111   $as_echo_n "(cached) " >&6
   18112 else
   18113 
   18114     ac_save_LIBS=$LIBS
   18115     ac_cv_lib_lex='none needed'
   18116     for ac_lib in '' -lfl -ll; do
   18117       LIBS="$ac_lib $ac_save_LIBS"
   18118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18119 /* end confdefs.h.  */
   18120 `cat $LEX_OUTPUT_ROOT.c`
   18121 _ACEOF
   18122 if ac_fn_c_try_link "$LINENO"; then :
   18123   ac_cv_lib_lex=$ac_lib
   18124 fi
   18125 rm -f core conftest.err conftest.$ac_objext \
   18126     conftest$ac_exeext conftest.$ac_ext
   18127       test "$ac_cv_lib_lex" != 'none needed' && break
   18128     done
   18129     LIBS=$ac_save_LIBS
   18130 
   18131 fi
   18132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
   18133 $as_echo "$ac_cv_lib_lex" >&6; }
   18134   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
   18135 fi
   18136 
   18137 
   18138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
   18139 $as_echo_n "checking whether yytext is a pointer... " >&6; }
   18140 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
   18141   $as_echo_n "(cached) " >&6
   18142 else
   18143   # POSIX says lex can declare yytext either as a pointer or an array; the
   18144 # default is implementation-dependent.  Figure out which it is, since
   18145 # not all implementations provide the %pointer and %array declarations.
   18146 ac_cv_prog_lex_yytext_pointer=no
   18147 ac_save_LIBS=$LIBS
   18148 LIBS="$LEXLIB $ac_save_LIBS"
   18149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18150 /* end confdefs.h.  */
   18151 
   18152   #define YYTEXT_POINTER 1
   18153 `cat $LEX_OUTPUT_ROOT.c`
   18154 _ACEOF
   18155 if ac_fn_c_try_link "$LINENO"; then :
   18156   ac_cv_prog_lex_yytext_pointer=yes
   18157 fi
   18158 rm -f core conftest.err conftest.$ac_objext \
   18159     conftest$ac_exeext conftest.$ac_ext
   18160 LIBS=$ac_save_LIBS
   18161 
   18162 fi
   18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
   18164 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
   18165 if test $ac_cv_prog_lex_yytext_pointer = yes; then
   18166 
   18167 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
   18168 
   18169 fi
   18170 rm -f conftest.l $LEX_OUTPUT_ROOT.c
   18171  ;;
   18172 esac
   18173 if test "$LEX" = :; then
   18174   LEX=${am_missing_run}flex
   18175 fi
   18176 
   18177 
   18178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   18179 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   18180     # Check whether --enable-maintainer-mode was given.
   18181 if test "${enable_maintainer_mode+set}" = set; then :
   18182   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   18183 else
   18184   USE_MAINTAINER_MODE=no
   18185 fi
   18186 
   18187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   18188 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   18189    if test $USE_MAINTAINER_MODE = yes; then
   18190   MAINTAINER_MODE_TRUE=
   18191   MAINTAINER_MODE_FALSE='#'
   18192 else
   18193   MAINTAINER_MODE_TRUE='#'
   18194   MAINTAINER_MODE_FALSE=
   18195 fi
   18196 
   18197   MAINT=$MAINTAINER_MODE_TRUE
   18198 
   18199 
   18200  if false; then
   18201   GENINSRC_NEVER_TRUE=
   18202   GENINSRC_NEVER_FALSE='#'
   18203 else
   18204   GENINSRC_NEVER_TRUE='#'
   18205   GENINSRC_NEVER_FALSE=
   18206 fi
   18207 
   18208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
   18209 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
   18210 if ${gcc_cv_prog_cmp_skip+:} false; then :
   18211   $as_echo_n "(cached) " >&6
   18212 else
   18213    echo abfoo >t1
   18214   echo cdfoo >t2
   18215   gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
   18216   if cmp t1 t2 2 2 > /dev/null 2>&1; then
   18217     if cmp t1 t2 1 1 > /dev/null 2>&1; then
   18218       :
   18219     else
   18220       gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
   18221     fi
   18222   fi
   18223   if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
   18224     if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
   18225       :
   18226     else
   18227       gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
   18228     fi
   18229   fi
   18230   rm t1 t2
   18231 
   18232 fi
   18233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
   18234 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
   18235 do_compare="$gcc_cv_prog_cmp_skip"
   18236 
   18237 
   18238 
   18239 . ${srcdir}/configure.host
   18240 
   18241 
   18242 
   18243 
   18244 # We use headers from include/ that check various HAVE_*_H macros, thus
   18245 # should ensure they are set by configure.  This is true even when C99
   18246 # guarantees they are available.
   18247 # sha1.h and md4.h test HAVE_LIMITS_H, HAVE_SYS_TYPES_H and HAVE_STDINT_H
   18248 # plugin-api.h tests HAVE_STDINT_H and HAVE_INTTYPES_H
   18249 # Besides those, we need to check anything used in ld/ not in C99.
   18250 for ac_header in fcntl.h elf-hints.h limits.h inttypes.h stdint.h \
   18251 		 sys/file.h sys/mman.h sys/param.h sys/stat.h sys/time.h \
   18252 		 sys/types.h unistd.h
   18253 do :
   18254   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   18255 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   18256 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   18257   cat >>confdefs.h <<_ACEOF
   18258 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   18259 _ACEOF
   18260 
   18261 fi
   18262 
   18263 done
   18264 
   18265 for ac_func in close getrusage glob lseek mkstemp open realpath waitpid
   18266 do :
   18267   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   18268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   18269 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   18270   cat >>confdefs.h <<_ACEOF
   18271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   18272 _ACEOF
   18273 
   18274 fi
   18275 done
   18276 
   18277 
   18278 
   18279 case "${host}" in
   18280 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
   18281 
   18282 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
   18283  ;;
   18284 esac
   18285 
   18286 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
   18287 if test "x$ac_cv_have_decl_environ" = xyes; then :
   18288   ac_have_decl=1
   18289 else
   18290   ac_have_decl=0
   18291 fi
   18292 
   18293 cat >>confdefs.h <<_ACEOF
   18294 #define HAVE_DECL_ENVIRON $ac_have_decl
   18295 _ACEOF
   18296 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
   18297 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
   18298   ac_have_decl=1
   18299 else
   18300   ac_have_decl=0
   18301 fi
   18302 
   18303 cat >>confdefs.h <<_ACEOF
   18304 #define HAVE_DECL_STPCPY $ac_have_decl
   18305 _ACEOF
   18306 
   18307 
   18308 
   18309 
   18310 
   18311   for ac_header in $ac_header_list
   18312 do :
   18313   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   18314 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   18315 "
   18316 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   18317   cat >>confdefs.h <<_ACEOF
   18318 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   18319 _ACEOF
   18320 
   18321 fi
   18322 
   18323 done
   18324 
   18325 
   18326 
   18327 
   18328 
   18329 
   18330 
   18331 save_ASAN_OPTIONS="$ASAN_OPTIONS"
   18332   ASAN_OPTIONS=detect_leaks=0
   18333   export ASAN_OPTIONS
   18334 
   18335 for ac_func in getpagesize
   18336 do :
   18337   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   18338 if test "x$ac_cv_func_getpagesize" = xyes; then :
   18339   cat >>confdefs.h <<_ACEOF
   18340 #define HAVE_GETPAGESIZE 1
   18341 _ACEOF
   18342 
   18343 fi
   18344 done
   18345 
   18346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   18347 $as_echo_n "checking for working mmap... " >&6; }
   18348 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   18349   $as_echo_n "(cached) " >&6
   18350 else
   18351   if test "$cross_compiling" = yes; then :
   18352   ac_cv_func_mmap_fixed_mapped=no
   18353 else
   18354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18355 /* end confdefs.h.  */
   18356 $ac_includes_default
   18357 /* malloc might have been renamed as rpl_malloc. */
   18358 #undef malloc
   18359 
   18360 /* Thanks to Mike Haertel and Jim Avera for this test.
   18361    Here is a matrix of mmap possibilities:
   18362 	mmap private not fixed
   18363 	mmap private fixed at somewhere currently unmapped
   18364 	mmap private fixed at somewhere already mapped
   18365 	mmap shared not fixed
   18366 	mmap shared fixed at somewhere currently unmapped
   18367 	mmap shared fixed at somewhere already mapped
   18368    For private mappings, we should verify that changes cannot be read()
   18369    back from the file, nor mmap's back from the file at a different
   18370    address.  (There have been systems where private was not correctly
   18371    implemented like the infamous i386 svr4.0, and systems where the
   18372    VM page cache was not coherent with the file system buffer cache
   18373    like early versions of FreeBSD and possibly contemporary NetBSD.)
   18374    For shared mappings, we should conversely verify that changes get
   18375    propagated back to all the places they're supposed to be.
   18376 
   18377    Grep wants private fixed already mapped.
   18378    The main things grep needs to know about mmap are:
   18379    * does it exist and is it safe to write into the mmap'd area
   18380    * how to use it (BSD variants)  */
   18381 
   18382 #include <fcntl.h>
   18383 #include <sys/mman.h>
   18384 
   18385 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   18386 char *malloc ();
   18387 #endif
   18388 
   18389 /* This mess was copied from the GNU getpagesize.h.  */
   18390 #ifndef HAVE_GETPAGESIZE
   18391 # ifdef _SC_PAGESIZE
   18392 #  define getpagesize() sysconf(_SC_PAGESIZE)
   18393 # else /* no _SC_PAGESIZE */
   18394 #  ifdef HAVE_SYS_PARAM_H
   18395 #   include <sys/param.h>
   18396 #   ifdef EXEC_PAGESIZE
   18397 #    define getpagesize() EXEC_PAGESIZE
   18398 #   else /* no EXEC_PAGESIZE */
   18399 #    ifdef NBPG
   18400 #     define getpagesize() NBPG * CLSIZE
   18401 #     ifndef CLSIZE
   18402 #      define CLSIZE 1
   18403 #     endif /* no CLSIZE */
   18404 #    else /* no NBPG */
   18405 #     ifdef NBPC
   18406 #      define getpagesize() NBPC
   18407 #     else /* no NBPC */
   18408 #      ifdef PAGESIZE
   18409 #       define getpagesize() PAGESIZE
   18410 #      endif /* PAGESIZE */
   18411 #     endif /* no NBPC */
   18412 #    endif /* no NBPG */
   18413 #   endif /* no EXEC_PAGESIZE */
   18414 #  else /* no HAVE_SYS_PARAM_H */
   18415 #   define getpagesize() 8192	/* punt totally */
   18416 #  endif /* no HAVE_SYS_PARAM_H */
   18417 # endif /* no _SC_PAGESIZE */
   18418 
   18419 #endif /* no HAVE_GETPAGESIZE */
   18420 
   18421 int
   18422 main ()
   18423 {
   18424   char *data, *data2, *data3;
   18425   const char *cdata2;
   18426   int i, pagesize;
   18427   int fd, fd2;
   18428 
   18429   pagesize = getpagesize ();
   18430 
   18431   /* First, make a file with some known garbage in it. */
   18432   data = (char *) malloc (pagesize);
   18433   if (!data)
   18434     return 1;
   18435   for (i = 0; i < pagesize; ++i)
   18436     *(data + i) = rand ();
   18437   umask (0);
   18438   fd = creat ("conftest.mmap", 0600);
   18439   if (fd < 0)
   18440     return 2;
   18441   if (write (fd, data, pagesize) != pagesize)
   18442     return 3;
   18443   close (fd);
   18444 
   18445   /* Next, check that the tail of a page is zero-filled.  File must have
   18446      non-zero length, otherwise we risk SIGBUS for entire page.  */
   18447   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   18448   if (fd2 < 0)
   18449     return 4;
   18450   cdata2 = "";
   18451   if (write (fd2, cdata2, 1) != 1)
   18452     return 5;
   18453   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   18454   if (data2 == MAP_FAILED)
   18455     return 6;
   18456   for (i = 0; i < pagesize; ++i)
   18457     if (*(data2 + i))
   18458       return 7;
   18459   close (fd2);
   18460   if (munmap (data2, pagesize))
   18461     return 8;
   18462 
   18463   /* Next, try to mmap the file at a fixed address which already has
   18464      something else allocated at it.  If we can, also make sure that
   18465      we see the same garbage.  */
   18466   fd = open ("conftest.mmap", O_RDWR);
   18467   if (fd < 0)
   18468     return 9;
   18469   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   18470 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   18471     return 10;
   18472   for (i = 0; i < pagesize; ++i)
   18473     if (*(data + i) != *(data2 + i))
   18474       return 11;
   18475 
   18476   /* Finally, make sure that changes to the mapped area do not
   18477      percolate back to the file as seen by read().  (This is a bug on
   18478      some variants of i386 svr4.0.)  */
   18479   for (i = 0; i < pagesize; ++i)
   18480     *(data2 + i) = *(data2 + i) + 1;
   18481   data3 = (char *) malloc (pagesize);
   18482   if (!data3)
   18483     return 12;
   18484   if (read (fd, data3, pagesize) != pagesize)
   18485     return 13;
   18486   for (i = 0; i < pagesize; ++i)
   18487     if (*(data + i) != *(data3 + i))
   18488       return 14;
   18489   close (fd);
   18490   return 0;
   18491 }
   18492 _ACEOF
   18493 if ac_fn_c_try_run "$LINENO"; then :
   18494   ac_cv_func_mmap_fixed_mapped=yes
   18495 else
   18496   ac_cv_func_mmap_fixed_mapped=no
   18497 fi
   18498 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   18499   conftest.$ac_objext conftest.beam conftest.$ac_ext
   18500 fi
   18501 
   18502 fi
   18503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   18504 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   18505 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   18506 
   18507 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   18508 
   18509 fi
   18510 rm -f conftest.mmap conftest.txt
   18511 
   18512   ASAN_OPTIONS="$save_ASAN_OPTIONS"
   18513 
   18514 
   18515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   18516 $as_echo_n "checking for library containing dlopen... " >&6; }
   18517 if ${ac_cv_search_dlopen+:} false; then :
   18518   $as_echo_n "(cached) " >&6
   18519 else
   18520   ac_func_search_save_LIBS=$LIBS
   18521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18522 /* end confdefs.h.  */
   18523 
   18524 /* Override any GCC internal prototype to avoid an error.
   18525    Use char because int might match the return type of a GCC
   18526    builtin and then its argument prototype would still apply.  */
   18527 #ifdef __cplusplus
   18528 extern "C"
   18529 #endif
   18530 char dlopen ();
   18531 int
   18532 main ()
   18533 {
   18534 return dlopen ();
   18535   ;
   18536   return 0;
   18537 }
   18538 _ACEOF
   18539 for ac_lib in '' dl; do
   18540   if test -z "$ac_lib"; then
   18541     ac_res="none required"
   18542   else
   18543     ac_res=-l$ac_lib
   18544     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   18545   fi
   18546   if ac_fn_c_try_link "$LINENO"; then :
   18547   ac_cv_search_dlopen=$ac_res
   18548 fi
   18549 rm -f core conftest.err conftest.$ac_objext \
   18550     conftest$ac_exeext
   18551   if ${ac_cv_search_dlopen+:} false; then :
   18552   break
   18553 fi
   18554 done
   18555 if ${ac_cv_search_dlopen+:} false; then :
   18556 
   18557 else
   18558   ac_cv_search_dlopen=no
   18559 fi
   18560 rm conftest.$ac_ext
   18561 LIBS=$ac_func_search_save_LIBS
   18562 fi
   18563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   18564 $as_echo "$ac_cv_search_dlopen" >&6; }
   18565 ac_res=$ac_cv_search_dlopen
   18566 if test "$ac_res" != no; then :
   18567   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   18568 
   18569 fi
   18570 
   18571 
   18572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
   18573 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
   18574 if ${ld_cv_decl_getopt_unistd_h+:} false; then :
   18575   $as_echo_n "(cached) " >&6
   18576 else
   18577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18578 /* end confdefs.h.  */
   18579 #include <unistd.h>
   18580 int
   18581 main ()
   18582 {
   18583 extern int getopt (int, char *const*, const char *);
   18584   ;
   18585   return 0;
   18586 }
   18587 _ACEOF
   18588 if ac_fn_c_try_compile "$LINENO"; then :
   18589   ld_cv_decl_getopt_unistd_h=yes
   18590 else
   18591   ld_cv_decl_getopt_unistd_h=no
   18592 fi
   18593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18594 fi
   18595 
   18596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
   18597 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
   18598 if test $ld_cv_decl_getopt_unistd_h = yes; then
   18599 
   18600 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
   18601 
   18602 fi
   18603 
   18604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use xxhash" >&5
   18605 $as_echo_n "checking whether to use xxhash... " >&6; }
   18606 
   18607 # Check whether --with-xxhash was given.
   18608 if test "${with_xxhash+set}" = set; then :
   18609   withval=$with_xxhash;
   18610 else
   18611   with_xxhash=auto
   18612 fi
   18613 
   18614 if test "x$with_xxhash" != "xno"; then
   18615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18616 /* end confdefs.h.  */
   18617 
   18618 #define XXH_INLINE_ALL
   18619 #include <xxhash.h>
   18620 XXH128_hash_t r;
   18621 void foo (void) { r = XXH128("foo", 3, 0); }
   18622 
   18623 _ACEOF
   18624 if ac_fn_c_try_compile "$LINENO"; then :
   18625 
   18626   with_xxhash=yes
   18627 
   18628 $as_echo "#define WITH_XXHASH 1" >>confdefs.h
   18629 
   18630 
   18631 else
   18632 
   18633   if test "$with_xxhash" = yes; then
   18634     as_fn_error $? "xxhash is missing or unusable" "$LINENO" 5
   18635   fi
   18636   with_xxhash=no
   18637 fi
   18638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18639 fi
   18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_xxhash" >&5
   18641 $as_echo "$with_xxhash" >&6; }
   18642 
   18643 # Link in zlib/zstd if we can.  This allows us to read and write
   18644 # compressed debug sections.
   18645 
   18646   # Use the system's zlib library.
   18647   zlibdir="-L\$(top_builddir)/../zlib"
   18648   zlibinc="-I\$(top_srcdir)/../zlib"
   18649 
   18650 # Check whether --with-system-zlib was given.
   18651 if test "${with_system_zlib+set}" = set; then :
   18652   withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
   18653     zlibdir=
   18654     zlibinc=
   18655   fi
   18656 
   18657 fi
   18658 
   18659 
   18660 
   18661 
   18662 
   18663 
   18664 # Check whether --with-zstd was given.
   18665 if test "${with_zstd+set}" = set; then :
   18666   withval=$with_zstd;
   18667 else
   18668   with_zstd=auto
   18669 fi
   18670 
   18671 
   18672 if test "$with_zstd" != no; then :
   18673 
   18674 pkg_failed=no
   18675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd >= 1.4.0" >&5
   18676 $as_echo_n "checking for libzstd >= 1.4.0... " >&6; }
   18677 
   18678 if test -n "$ZSTD_CFLAGS"; then
   18679     pkg_cv_ZSTD_CFLAGS="$ZSTD_CFLAGS"
   18680  elif test -n "$PKG_CONFIG"; then
   18681     if test -n "$PKG_CONFIG" && \
   18682     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
   18683   ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
   18684   ac_status=$?
   18685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18686   test $ac_status = 0; }; then
   18687   pkg_cv_ZSTD_CFLAGS=`$PKG_CONFIG --cflags "libzstd >= 1.4.0" 2>/dev/null`
   18688 		      test "x$?" != "x0" && pkg_failed=yes
   18689 else
   18690   pkg_failed=yes
   18691 fi
   18692  else
   18693     pkg_failed=untried
   18694 fi
   18695 if test -n "$ZSTD_LIBS"; then
   18696     pkg_cv_ZSTD_LIBS="$ZSTD_LIBS"
   18697  elif test -n "$PKG_CONFIG"; then
   18698     if test -n "$PKG_CONFIG" && \
   18699     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
   18700   ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
   18701   ac_status=$?
   18702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18703   test $ac_status = 0; }; then
   18704   pkg_cv_ZSTD_LIBS=`$PKG_CONFIG --libs "libzstd >= 1.4.0" 2>/dev/null`
   18705 		      test "x$?" != "x0" && pkg_failed=yes
   18706 else
   18707   pkg_failed=yes
   18708 fi
   18709  else
   18710     pkg_failed=untried
   18711 fi
   18712 
   18713 if test $pkg_failed = no; then
   18714   pkg_save_LDFLAGS="$LDFLAGS"
   18715   LDFLAGS="$LDFLAGS $pkg_cv_ZSTD_LIBS"
   18716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18717 /* end confdefs.h.  */
   18718 
   18719 int
   18720 main ()
   18721 {
   18722 
   18723   ;
   18724   return 0;
   18725 }
   18726 _ACEOF
   18727 if ac_fn_c_try_link "$LINENO"; then :
   18728 
   18729 else
   18730   pkg_failed=yes
   18731 fi
   18732 rm -f core conftest.err conftest.$ac_objext \
   18733     conftest$ac_exeext conftest.$ac_ext
   18734   LDFLAGS=$pkg_save_LDFLAGS
   18735 fi
   18736 
   18737 
   18738 
   18739 if test $pkg_failed = yes; then
   18740         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18741 $as_echo "no" >&6; }
   18742 
   18743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18744         _pkg_short_errors_supported=yes
   18745 else
   18746         _pkg_short_errors_supported=no
   18747 fi
   18748         if test $_pkg_short_errors_supported = yes; then
   18749 	        ZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
   18750         else
   18751 	        ZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
   18752         fi
   18753 	# Put the nasty error message in config.log where it belongs
   18754 	echo "$ZSTD_PKG_ERRORS" >&5
   18755 
   18756 
   18757     if test "$with_zstd" = yes; then
   18758       as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
   18759     fi
   18760 
   18761 elif test $pkg_failed = untried; then
   18762         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18763 $as_echo "no" >&6; }
   18764 
   18765     if test "$with_zstd" = yes; then
   18766       as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
   18767     fi
   18768 
   18769 else
   18770 	ZSTD_CFLAGS=$pkg_cv_ZSTD_CFLAGS
   18771 	ZSTD_LIBS=$pkg_cv_ZSTD_LIBS
   18772         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18773 $as_echo "yes" >&6; }
   18774 
   18775 
   18776 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
   18777 
   18778 
   18779 fi
   18780 
   18781 fi
   18782 
   18783 
   18784 # target-specific stuff:
   18785 
   18786 all_targets=
   18787 EMUL=
   18788 all_emuls=
   18789 all_emul_extras=
   18790 all_libpath=
   18791 TDIRS=
   18792 
   18793 elf_list_options=false
   18794 elf_shlib_list_options=false
   18795 elf_plt_unwind_list_options=false
   18796 for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'`
   18797 do
   18798   if test "$targ_alias" = "all"; then
   18799     all_targets=true
   18800     elf_list_options=true
   18801     elf_shlib_list_options=true
   18802     elf_plt_unwind_list_options=true
   18803   else
   18804     # Canonicalize the secondary target names.
   18805     result=`$ac_config_sub $targ_alias 2>/dev/null`
   18806     if test -n "$result"; then
   18807 	targ=$result
   18808     else
   18809 	targ=$targ_alias
   18810     fi
   18811 
   18812     . ${srcdir}/configure.tgt
   18813 
   18814     if test "$targ" = "$target"; then
   18815       EMUL=$targ_emul
   18816     fi
   18817 
   18818     if test x${have_64_bit_bfd} = xno; then
   18819       . ${srcdir}/../bfd/config.bfd
   18820     fi
   18821 
   18822     if test x${have_64_bit_bfd} = xyes; then
   18823       targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
   18824       targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
   18825     fi
   18826 
   18827     for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
   18828 	case " $all_emuls " in
   18829 	*" e${i}.o "*) ;;
   18830 	*)
   18831 	  all_emuls="$all_emuls e${i}.o"
   18832 	  eval result=\$tdir_$i
   18833 	  test -z "$result" && result=$targ_alias
   18834 	  TDIRS="$TDIRS
   18835 tdir_$i=$result"
   18836 	  case "${i}" in
   18837 	  *elf*)
   18838 	    elf_list_options=true
   18839 	    ;;
   18840 	  *)
   18841 	    if $GREP "TEMPLATE_NAME=elf" ${srcdir}/emulparams/${i}.sh >/dev/null 2>/dev/null; then
   18842 	      elf_list_options=true
   18843 	    fi
   18844 	    ;;
   18845 	  esac
   18846 	  if test "$elf_list_options" = "true"; then
   18847 	    source_sh()
   18848 	    {
   18849 	      . $1
   18850 	    }
   18851 	    source_sh ${srcdir}/emulparams/${i}.sh
   18852 	    if test x${GENERATE_SHLIB_SCRIPT} = xyes; then
   18853 	      elf_shlib_list_options=true
   18854 	    fi
   18855 	    if test x${PLT_UNWIND} = xyes; then
   18856 	      elf_plt_unwind_list_options=true
   18857 	    fi
   18858 	  fi
   18859 	  ;;
   18860 	esac
   18861     done
   18862 
   18863     for i in $targ_emul $targ_extra_libpath; do
   18864 	case " $all_libpath " in
   18865 	*" ${i} "*) ;;
   18866 	*)
   18867 	  if test -z "$all_libpath"; then
   18868 	    all_libpath=${i}
   18869 	  else
   18870 	    all_libpath="$all_libpath ${i}"
   18871 	  fi
   18872 	  ;;
   18873 	esac
   18874     done
   18875 
   18876     for i in $targ_extra_ofiles; do
   18877 	case " $all_emul_extras " in
   18878 	*" ${i} "*) ;;
   18879 	*)
   18880 	  all_emul_extras="$all_emul_extras ${i}"
   18881 	  ;;
   18882 	esac
   18883     done
   18884 
   18885   fi
   18886 done
   18887 
   18888 if test x$ac_default_compressed_debug_sections = xyes ; then
   18889 
   18890 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
   18891 
   18892 fi
   18893 
   18894 
   18895 cat >>confdefs.h <<_ACEOF
   18896 #define DEFAULT_COMPRESSED_DEBUG_ALGORITHM $ac_default_compressed_debug_sections_algorithm
   18897 _ACEOF
   18898 
   18899 
   18900 if test "${ac_default_new_dtags}" = unset; then
   18901   ac_default_new_dtags=0
   18902 fi
   18903 
   18904 cat >>confdefs.h <<_ACEOF
   18905 #define DEFAULT_NEW_DTAGS $ac_default_new_dtags
   18906 _ACEOF
   18907 
   18908 
   18909 if test "${ac_default_ld_z_relro}" = unset; then
   18910   ac_default_ld_z_relro=0
   18911 fi
   18912 
   18913 cat >>confdefs.h <<_ACEOF
   18914 #define DEFAULT_LD_Z_RELRO $ac_default_ld_z_relro
   18915 _ACEOF
   18916 
   18917 
   18918 ac_default_ld_textrel_check_warning=0
   18919 case "${ac_default_ld_textrel_check}" in
   18920   unset|no)
   18921     ac_default_ld_textrel_check=textrel_check_none
   18922     ;;
   18923   yes|warning)
   18924     ac_default_ld_textrel_check=textrel_check_warning
   18925     ac_default_ld_textrel_check_warning=1
   18926     ;;
   18927   error)
   18928     ac_default_ld_textrel_check=textrel_check_error
   18929     ;;
   18930 esac
   18931 
   18932 cat >>confdefs.h <<_ACEOF
   18933 #define DEFAULT_LD_TEXTREL_CHECK $ac_default_ld_textrel_check
   18934 _ACEOF
   18935 
   18936 
   18937 cat >>confdefs.h <<_ACEOF
   18938 #define DEFAULT_LD_TEXTREL_CHECK_WARNING $ac_default_ld_textrel_check_warning
   18939 _ACEOF
   18940 
   18941 
   18942 if test "${ac_default_ld_z_separate_code}" = unset; then
   18943   ac_default_ld_z_separate_code=0
   18944 fi
   18945 
   18946 cat >>confdefs.h <<_ACEOF
   18947 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
   18948 _ACEOF
   18949 
   18950 
   18951 if test "${ac_default_ld_rosegment}" = unset; then
   18952   ac_default_ld_rosegment=0
   18953 fi
   18954 
   18955 cat >>confdefs.h <<_ACEOF
   18956 #define DEFAULT_LD_ROSEGMENT $ac_default_ld_rosegment
   18957 _ACEOF
   18958 
   18959 
   18960 if test "${ac_default_ld_z_mark_plt}" = unset; then
   18961   ac_default_ld_z_mark_plt=0
   18962 fi
   18963 
   18964 cat >>confdefs.h <<_ACEOF
   18965 #define DEFAULT_LD_Z_MARK_PLT $ac_default_ld_z_mark_plt
   18966 _ACEOF
   18967 
   18968 
   18969 if test "${ac_default_ld_z_memory_seal}" = unset; then
   18970   ac_default_ld_z_memory_seal=0
   18971 fi
   18972 
   18973 cat >>confdefs.h <<_ACEOF
   18974 #define DEFAULT_LD_Z_MEMORY_SEAL $ac_default_ld_z_memory_seal
   18975 _ACEOF
   18976 
   18977 
   18978 
   18979 
   18980 cat >>confdefs.h <<_ACEOF
   18981 #define DEFAULT_LD_WARN_EXECSTACK $ac_default_ld_warn_execstack
   18982 _ACEOF
   18983 
   18984 
   18985 
   18986 cat >>confdefs.h <<_ACEOF
   18987 #define DEFAULT_LD_ERROR_EXECSTACK $ac_default_ld_error_execstack
   18988 _ACEOF
   18989 
   18990 
   18991 if test "${ac_default_ld_warn_rwx_segments}" = unset; then
   18992   ac_default_ld_warn_rwx_segments=1
   18993 fi
   18994 
   18995 cat >>confdefs.h <<_ACEOF
   18996 #define DEFAULT_LD_WARN_RWX_SEGMENTS $ac_default_ld_warn_rwx_segments
   18997 _ACEOF
   18998 
   18999 
   19000 
   19001 cat >>confdefs.h <<_ACEOF
   19002 #define DEFAULT_LD_ERROR_RWX_SEGMENTS $ac_default_ld_error_rwx_segments
   19003 _ACEOF
   19004 
   19005 
   19006 if test "${ac_default_ld_default_execstack}" = unset; then
   19007   ac_default_ld_default_execstack=1
   19008 fi
   19009 
   19010 cat >>confdefs.h <<_ACEOF
   19011 #define DEFAULT_LD_EXECSTACK $ac_default_ld_default_execstack
   19012 _ACEOF
   19013 
   19014 
   19015 
   19016 if test "${ac_support_error_handling_script}" = unset; then
   19017   ac_support_error_handling_script=1
   19018 fi
   19019 
   19020 cat >>confdefs.h <<_ACEOF
   19021 #define SUPPORT_ERROR_HANDLING_SCRIPT $ac_support_error_handling_script
   19022 _ACEOF
   19023 
   19024 
   19025 
   19026 cat >>confdefs.h <<_ACEOF
   19027 #define DEFAULT_EMIT_SYSV_HASH $ac_default_emit_sysv_hash
   19028 _ACEOF
   19029 
   19030 
   19031 
   19032 cat >>confdefs.h <<_ACEOF
   19033 #define DEFAULT_EMIT_GNU_HASH $ac_default_emit_gnu_hash
   19034 _ACEOF
   19035 
   19036 
   19037 
   19038 
   19039 
   19040 
   19041 
   19042 
   19043 
   19044 
   19045 if test x${all_targets} = xtrue; then
   19046   if test x${have_64_bit_bfd} = xyes; then
   19047     EMULATION_OFILES='$(ALL_EMULATIONS) $(ALL_64_EMULATIONS)'
   19048     EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES) $(ALL_64_EMUL_EXTRA_OFILES)'
   19049   else
   19050     EMULATION_OFILES='$(ALL_EMULATIONS)'
   19051     EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES)'
   19052   fi
   19053 else
   19054   EMULATION_OFILES=$all_emuls
   19055   EMUL_EXTRA_OFILES=$all_emul_extras
   19056 fi
   19057 
   19058 
   19059 
   19060 
   19061 EMULATION_LIBPATH=$all_libpath
   19062 
   19063 
   19064 if test x${enable_static} = xno; then
   19065   TESTBFDLIB="-Wl,--rpath,../bfd/.libs ../bfd/.libs/libbfd.so"
   19066   TESTCTFLIB="-Wl,--rpath,../libctf/.libs ../libctf/.libs/libctf.so"
   19067   TESTSFRAMELIB="-Wl,--rpath,../libsframe/.libs ../libsframe/.libs/libsframe.so"
   19068 else
   19069   TESTBFDLIB="../bfd/.libs/libbfd.a"
   19070   TESTCTFLIB="../libctf/.libs/libctf.a"
   19071   TESTSFRAMELIB="../libsframe/.libs/libsframe.a"
   19072 fi
   19073 if test "${enable_libctf}" = no; then
   19074     TESTCTFLIB=
   19075 fi
   19076 
   19077 
   19078 
   19079 
   19080 target_vendor=${target_vendor=$host_vendor}
   19081 case "$target_vendor" in
   19082   hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
   19083   *)  EXTRA_SHLIB_EXTENSION= ;;
   19084 esac
   19085 
   19086 case "$target_os" in
   19087   lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
   19088 esac
   19089 
   19090 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
   19091 
   19092 cat >>confdefs.h <<_ACEOF
   19093 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
   19094 _ACEOF
   19095 
   19096 fi
   19097 
   19098 ac_config_commands="$ac_config_commands default"
   19099 
   19100 
   19101 
   19102 
   19103 
   19104 
   19105 
   19106 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
   19107 
   19108 cat >confcache <<\_ACEOF
   19109 # This file is a shell script that caches the results of configure
   19110 # tests run on this system so they can be shared between configure
   19111 # scripts and configure runs, see configure's option --config-cache.
   19112 # It is not useful on other systems.  If it contains results you don't
   19113 # want to keep, you may remove or edit it.
   19114 #
   19115 # config.status only pays attention to the cache file if you give it
   19116 # the --recheck option to rerun configure.
   19117 #
   19118 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19119 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19120 # following values.
   19121 
   19122 _ACEOF
   19123 
   19124 # The following way of writing the cache mishandles newlines in values,
   19125 # but we know of no workaround that is simple, portable, and efficient.
   19126 # So, we kill variables containing newlines.
   19127 # Ultrix sh set writes to stderr and can't be redirected directly,
   19128 # and sets the high bit in the cache file unless we assign to the vars.
   19129 (
   19130   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19131     eval ac_val=\$$ac_var
   19132     case $ac_val in #(
   19133     *${as_nl}*)
   19134       case $ac_var in #(
   19135       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19136 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19137       esac
   19138       case $ac_var in #(
   19139       _ | IFS | as_nl) ;; #(
   19140       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19141       *) { eval $ac_var=; unset $ac_var;} ;;
   19142       esac ;;
   19143     esac
   19144   done
   19145 
   19146   (set) 2>&1 |
   19147     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19148     *${as_nl}ac_space=\ *)
   19149       # `set' does not quote correctly, so add quotes: double-quote
   19150       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19151       sed -n \
   19152 	"s/'/'\\\\''/g;
   19153 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19154       ;; #(
   19155     *)
   19156       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19157       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19158       ;;
   19159     esac |
   19160     sort
   19161 ) |
   19162   sed '
   19163      /^ac_cv_env_/b end
   19164      t clear
   19165      :clear
   19166      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19167      t end
   19168      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19169      :end' >>confcache
   19170 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19171   if test -w "$cache_file"; then
   19172     if test "x$cache_file" != "x/dev/null"; then
   19173       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19174 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19175       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19176 	cat confcache >"$cache_file"
   19177       else
   19178         case $cache_file in #(
   19179         */* | ?:*)
   19180 	  mv -f confcache "$cache_file"$$ &&
   19181 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19182         *)
   19183 	  mv -f confcache "$cache_file" ;;
   19184 	esac
   19185       fi
   19186     fi
   19187   else
   19188     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19189 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19190   fi
   19191 fi
   19192 rm -f confcache
   19193 
   19194 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19195 # Let make expand exec_prefix.
   19196 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19197 
   19198 DEFS=-DHAVE_CONFIG_H
   19199 
   19200 ac_libobjs=
   19201 ac_ltlibobjs=
   19202 U=
   19203 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19204   # 1. Remove the extension, and $U if already installed.
   19205   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19206   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19207   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19208   #    will be set to the directory where LIBOBJS objects are built.
   19209   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19210   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19211 done
   19212 LIBOBJS=$ac_libobjs
   19213 
   19214 LTLIBOBJS=$ac_ltlibobjs
   19215 
   19216 
   19217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19218 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19219    if test -n "$am_sleep_pid"; then
   19220      # Hide warnings about reused PIDs.
   19221      wait $am_sleep_pid 2>/dev/null
   19222    fi
   19223    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19224 $as_echo "done" >&6; }
   19225  if test -n "$EXEEXT"; then
   19226   am__EXEEXT_TRUE=
   19227   am__EXEEXT_FALSE='#'
   19228 else
   19229   am__EXEEXT_TRUE='#'
   19230   am__EXEEXT_FALSE=
   19231 fi
   19232 
   19233 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19234   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   19235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19236 fi
   19237 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19238   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19240 fi
   19241 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19242   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19244 fi
   19245 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   19246   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   19247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19248 fi
   19249 if test -z "${ENABLE_LIBCTF_TRUE}" && test -z "${ENABLE_LIBCTF_FALSE}"; then
   19250   as_fn_error $? "conditional \"ENABLE_LIBCTF\" was never defined.
   19251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19252 fi
   19253 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19254   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   19255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19256 fi
   19257 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
   19258   as_fn_error $? "conditional \"GENINSRC_NEVER\" was never defined.
   19259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19260 fi
   19261 
   19262 : "${CONFIG_STATUS=./config.status}"
   19263 ac_write_fail=0
   19264 ac_clean_files_save=$ac_clean_files
   19265 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19266 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19267 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19268 as_write_fail=0
   19269 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19270 #! $SHELL
   19271 # Generated by $as_me.
   19272 # Run this file to recreate the current configuration.
   19273 # Compiler output produced by configure, useful for debugging
   19274 # configure, is in config.log if it exists.
   19275 
   19276 debug=false
   19277 ac_cs_recheck=false
   19278 ac_cs_silent=false
   19279 
   19280 SHELL=\${CONFIG_SHELL-$SHELL}
   19281 export SHELL
   19282 _ASEOF
   19283 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19284 ## -------------------- ##
   19285 ## M4sh Initialization. ##
   19286 ## -------------------- ##
   19287 
   19288 # Be more Bourne compatible
   19289 DUALCASE=1; export DUALCASE # for MKS sh
   19290 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19291   emulate sh
   19292   NULLCMD=:
   19293   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19294   # is contrary to our usage.  Disable this feature.
   19295   alias -g '${1+"$@"}'='"$@"'
   19296   setopt NO_GLOB_SUBST
   19297 else
   19298   case `(set -o) 2>/dev/null` in #(
   19299   *posix*) :
   19300     set -o posix ;; #(
   19301   *) :
   19302      ;;
   19303 esac
   19304 fi
   19305 
   19306 
   19307 as_nl='
   19308 '
   19309 export as_nl
   19310 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19311 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19312 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19313 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19314 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19315 # but without wasting forks for bash or zsh.
   19316 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19317     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19318   as_echo='print -r --'
   19319   as_echo_n='print -rn --'
   19320 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19321   as_echo='printf %s\n'
   19322   as_echo_n='printf %s'
   19323 else
   19324   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19325     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19326     as_echo_n='/usr/ucb/echo -n'
   19327   else
   19328     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19329     as_echo_n_body='eval
   19330       arg=$1;
   19331       case $arg in #(
   19332       *"$as_nl"*)
   19333 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19334 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19335       esac;
   19336       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19337     '
   19338     export as_echo_n_body
   19339     as_echo_n='sh -c $as_echo_n_body as_echo'
   19340   fi
   19341   export as_echo_body
   19342   as_echo='sh -c $as_echo_body as_echo'
   19343 fi
   19344 
   19345 # The user is always right.
   19346 if test "${PATH_SEPARATOR+set}" != set; then
   19347   PATH_SEPARATOR=:
   19348   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19349     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19350       PATH_SEPARATOR=';'
   19351   }
   19352 fi
   19353 
   19354 
   19355 # IFS
   19356 # We need space, tab and new line, in precisely that order.  Quoting is
   19357 # there to prevent editors from complaining about space-tab.
   19358 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19359 # splitting by setting IFS to empty value.)
   19360 IFS=" ""	$as_nl"
   19361 
   19362 # Find who we are.  Look in the path if we contain no directory separator.
   19363 as_myself=
   19364 case $0 in #((
   19365   *[\\/]* ) as_myself=$0 ;;
   19366   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19367 for as_dir in $PATH
   19368 do
   19369   IFS=$as_save_IFS
   19370   test -z "$as_dir" && as_dir=.
   19371     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19372   done
   19373 IFS=$as_save_IFS
   19374 
   19375      ;;
   19376 esac
   19377 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19378 # in which case we are not to be found in the path.
   19379 if test "x$as_myself" = x; then
   19380   as_myself=$0
   19381 fi
   19382 if test ! -f "$as_myself"; then
   19383   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19384   exit 1
   19385 fi
   19386 
   19387 # Unset variables that we do not need and which cause bugs (e.g. in
   19388 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19389 # suppresses any "Segmentation fault" message there.  '((' could
   19390 # trigger a bug in pdksh 5.2.14.
   19391 for as_var in BASH_ENV ENV MAIL MAILPATH
   19392 do eval test x\${$as_var+set} = xset \
   19393   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19394 done
   19395 PS1='$ '
   19396 PS2='> '
   19397 PS4='+ '
   19398 
   19399 # NLS nuisances.
   19400 LC_ALL=C
   19401 export LC_ALL
   19402 LANGUAGE=C
   19403 export LANGUAGE
   19404 
   19405 # CDPATH.
   19406 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19407 
   19408 
   19409 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19410 # ----------------------------------------
   19411 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19412 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19413 # script with STATUS, using 1 if that was 0.
   19414 as_fn_error ()
   19415 {
   19416   as_status=$1; test $as_status -eq 0 && as_status=1
   19417   if test "$4"; then
   19418     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19419     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19420   fi
   19421   $as_echo "$as_me: error: $2" >&2
   19422   as_fn_exit $as_status
   19423 } # as_fn_error
   19424 
   19425 
   19426 # as_fn_set_status STATUS
   19427 # -----------------------
   19428 # Set $? to STATUS, without forking.
   19429 as_fn_set_status ()
   19430 {
   19431   return $1
   19432 } # as_fn_set_status
   19433 
   19434 # as_fn_exit STATUS
   19435 # -----------------
   19436 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19437 as_fn_exit ()
   19438 {
   19439   set +e
   19440   as_fn_set_status $1
   19441   exit $1
   19442 } # as_fn_exit
   19443 
   19444 # as_fn_unset VAR
   19445 # ---------------
   19446 # Portably unset VAR.
   19447 as_fn_unset ()
   19448 {
   19449   { eval $1=; unset $1;}
   19450 }
   19451 as_unset=as_fn_unset
   19452 # as_fn_append VAR VALUE
   19453 # ----------------------
   19454 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19455 # advantage of any shell optimizations that allow amortized linear growth over
   19456 # repeated appends, instead of the typical quadratic growth present in naive
   19457 # implementations.
   19458 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19459   eval 'as_fn_append ()
   19460   {
   19461     eval $1+=\$2
   19462   }'
   19463 else
   19464   as_fn_append ()
   19465   {
   19466     eval $1=\$$1\$2
   19467   }
   19468 fi # as_fn_append
   19469 
   19470 # as_fn_arith ARG...
   19471 # ------------------
   19472 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19473 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19474 # must be portable across $(()) and expr.
   19475 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19476   eval 'as_fn_arith ()
   19477   {
   19478     as_val=$(( $* ))
   19479   }'
   19480 else
   19481   as_fn_arith ()
   19482   {
   19483     as_val=`expr "$@" || test $? -eq 1`
   19484   }
   19485 fi # as_fn_arith
   19486 
   19487 
   19488 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19489    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19490   as_expr=expr
   19491 else
   19492   as_expr=false
   19493 fi
   19494 
   19495 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19496   as_basename=basename
   19497 else
   19498   as_basename=false
   19499 fi
   19500 
   19501 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19502   as_dirname=dirname
   19503 else
   19504   as_dirname=false
   19505 fi
   19506 
   19507 as_me=`$as_basename -- "$0" ||
   19508 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19509 	 X"$0" : 'X\(//\)$' \| \
   19510 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19511 $as_echo X/"$0" |
   19512     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19513 	    s//\1/
   19514 	    q
   19515 	  }
   19516 	  /^X\/\(\/\/\)$/{
   19517 	    s//\1/
   19518 	    q
   19519 	  }
   19520 	  /^X\/\(\/\).*/{
   19521 	    s//\1/
   19522 	    q
   19523 	  }
   19524 	  s/.*/./; q'`
   19525 
   19526 # Avoid depending upon Character Ranges.
   19527 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19528 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19529 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19530 as_cr_digits='0123456789'
   19531 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19532 
   19533 ECHO_C= ECHO_N= ECHO_T=
   19534 case `echo -n x` in #(((((
   19535 -n*)
   19536   case `echo 'xy\c'` in
   19537   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19538   xy)  ECHO_C='\c';;
   19539   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19540        ECHO_T='	';;
   19541   esac;;
   19542 *)
   19543   ECHO_N='-n';;
   19544 esac
   19545 
   19546 rm -f conf$$ conf$$.exe conf$$.file
   19547 if test -d conf$$.dir; then
   19548   rm -f conf$$.dir/conf$$.file
   19549 else
   19550   rm -f conf$$.dir
   19551   mkdir conf$$.dir 2>/dev/null
   19552 fi
   19553 if (echo >conf$$.file) 2>/dev/null; then
   19554   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19555     as_ln_s='ln -s'
   19556     # ... but there are two gotchas:
   19557     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19558     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19559     # In both cases, we have to default to `cp -pR'.
   19560     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19561       as_ln_s='cp -pR'
   19562   elif ln conf$$.file conf$$ 2>/dev/null; then
   19563     as_ln_s=ln
   19564   else
   19565     as_ln_s='cp -pR'
   19566   fi
   19567 else
   19568   as_ln_s='cp -pR'
   19569 fi
   19570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19571 rmdir conf$$.dir 2>/dev/null
   19572 
   19573 
   19574 # as_fn_mkdir_p
   19575 # -------------
   19576 # Create "$as_dir" as a directory, including parents if necessary.
   19577 as_fn_mkdir_p ()
   19578 {
   19579 
   19580   case $as_dir in #(
   19581   -*) as_dir=./$as_dir;;
   19582   esac
   19583   test -d "$as_dir" || eval $as_mkdir_p || {
   19584     as_dirs=
   19585     while :; do
   19586       case $as_dir in #(
   19587       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19588       *) as_qdir=$as_dir;;
   19589       esac
   19590       as_dirs="'$as_qdir' $as_dirs"
   19591       as_dir=`$as_dirname -- "$as_dir" ||
   19592 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19593 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19594 	 X"$as_dir" : 'X\(//\)$' \| \
   19595 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19596 $as_echo X"$as_dir" |
   19597     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19598 	    s//\1/
   19599 	    q
   19600 	  }
   19601 	  /^X\(\/\/\)[^/].*/{
   19602 	    s//\1/
   19603 	    q
   19604 	  }
   19605 	  /^X\(\/\/\)$/{
   19606 	    s//\1/
   19607 	    q
   19608 	  }
   19609 	  /^X\(\/\).*/{
   19610 	    s//\1/
   19611 	    q
   19612 	  }
   19613 	  s/.*/./; q'`
   19614       test -d "$as_dir" && break
   19615     done
   19616     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19617   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19618 
   19619 
   19620 } # as_fn_mkdir_p
   19621 if mkdir -p . 2>/dev/null; then
   19622   as_mkdir_p='mkdir -p "$as_dir"'
   19623 else
   19624   test -d ./-p && rmdir ./-p
   19625   as_mkdir_p=false
   19626 fi
   19627 
   19628 
   19629 # as_fn_executable_p FILE
   19630 # -----------------------
   19631 # Test if FILE is an executable regular file.
   19632 as_fn_executable_p ()
   19633 {
   19634   test -f "$1" && test -x "$1"
   19635 } # as_fn_executable_p
   19636 as_test_x='test -x'
   19637 as_executable_p=as_fn_executable_p
   19638 
   19639 # Sed expression to map a string onto a valid CPP name.
   19640 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19641 
   19642 # Sed expression to map a string onto a valid variable name.
   19643 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19644 
   19645 
   19646 exec 6>&1
   19647 ## ----------------------------------- ##
   19648 ## Main body of $CONFIG_STATUS script. ##
   19649 ## ----------------------------------- ##
   19650 _ASEOF
   19651 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19652 
   19653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19654 # Save the log message, to keep $0 and so on meaningful, and to
   19655 # report actual input values of CONFIG_FILES etc. instead of their
   19656 # values after options handling.
   19657 ac_log="
   19658 This file was extended by ld $as_me 2.45, which was
   19659 generated by GNU Autoconf 2.69.  Invocation command line was
   19660 
   19661   CONFIG_FILES    = $CONFIG_FILES
   19662   CONFIG_HEADERS  = $CONFIG_HEADERS
   19663   CONFIG_LINKS    = $CONFIG_LINKS
   19664   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19665   $ $0 $@
   19666 
   19667 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19668 "
   19669 
   19670 _ACEOF
   19671 
   19672 case $ac_config_files in *"
   19673 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19674 esac
   19675 
   19676 case $ac_config_headers in *"
   19677 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19678 esac
   19679 
   19680 
   19681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19682 # Files that config.status was made for.
   19683 config_files="$ac_config_files"
   19684 config_headers="$ac_config_headers"
   19685 config_commands="$ac_config_commands"
   19686 
   19687 _ACEOF
   19688 
   19689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19690 ac_cs_usage="\
   19691 \`$as_me' instantiates files and other configuration actions
   19692 from templates according to the current configuration.  Unless the files
   19693 and actions are specified as TAGs, all are instantiated by default.
   19694 
   19695 Usage: $0 [OPTION]... [TAG]...
   19696 
   19697   -h, --help       print this help, then exit
   19698   -V, --version    print version number and configuration settings, then exit
   19699       --config     print configuration, then exit
   19700   -q, --quiet, --silent
   19701                    do not print progress messages
   19702   -d, --debug      don't remove temporary files
   19703       --recheck    update $as_me by reconfiguring in the same conditions
   19704       --file=FILE[:TEMPLATE]
   19705                    instantiate the configuration file FILE
   19706       --header=FILE[:TEMPLATE]
   19707                    instantiate the configuration header FILE
   19708 
   19709 Configuration files:
   19710 $config_files
   19711 
   19712 Configuration headers:
   19713 $config_headers
   19714 
   19715 Configuration commands:
   19716 $config_commands
   19717 
   19718 Report bugs to the package provider."
   19719 
   19720 _ACEOF
   19721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19722 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19723 ac_cs_version="\\
   19724 ld config.status 2.45
   19725 configured by $0, generated by GNU Autoconf 2.69,
   19726   with options \\"\$ac_cs_config\\"
   19727 
   19728 Copyright (C) 2012 Free Software Foundation, Inc.
   19729 This config.status script is free software; the Free Software Foundation
   19730 gives unlimited permission to copy, distribute and modify it."
   19731 
   19732 ac_pwd='$ac_pwd'
   19733 srcdir='$srcdir'
   19734 INSTALL='$INSTALL'
   19735 MKDIR_P='$MKDIR_P'
   19736 AWK='$AWK'
   19737 test -n "\$AWK" || AWK=awk
   19738 _ACEOF
   19739 
   19740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19741 # The default lists apply if the user does not specify any file.
   19742 ac_need_defaults=:
   19743 while test $# != 0
   19744 do
   19745   case $1 in
   19746   --*=?*)
   19747     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19748     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19749     ac_shift=:
   19750     ;;
   19751   --*=)
   19752     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19753     ac_optarg=
   19754     ac_shift=:
   19755     ;;
   19756   *)
   19757     ac_option=$1
   19758     ac_optarg=$2
   19759     ac_shift=shift
   19760     ;;
   19761   esac
   19762 
   19763   case $ac_option in
   19764   # Handling of the options.
   19765   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19766     ac_cs_recheck=: ;;
   19767   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19768     $as_echo "$ac_cs_version"; exit ;;
   19769   --config | --confi | --conf | --con | --co | --c )
   19770     $as_echo "$ac_cs_config"; exit ;;
   19771   --debug | --debu | --deb | --de | --d | -d )
   19772     debug=: ;;
   19773   --file | --fil | --fi | --f )
   19774     $ac_shift
   19775     case $ac_optarg in
   19776     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19777     '') as_fn_error $? "missing file argument" ;;
   19778     esac
   19779     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19780     ac_need_defaults=false;;
   19781   --header | --heade | --head | --hea )
   19782     $ac_shift
   19783     case $ac_optarg in
   19784     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19785     esac
   19786     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19787     ac_need_defaults=false;;
   19788   --he | --h)
   19789     # Conflict between --help and --header
   19790     as_fn_error $? "ambiguous option: \`$1'
   19791 Try \`$0 --help' for more information.";;
   19792   --help | --hel | -h )
   19793     $as_echo "$ac_cs_usage"; exit ;;
   19794   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19795   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19796     ac_cs_silent=: ;;
   19797 
   19798   # This is an error.
   19799   -*) as_fn_error $? "unrecognized option: \`$1'
   19800 Try \`$0 --help' for more information." ;;
   19801 
   19802   *) as_fn_append ac_config_targets " $1"
   19803      ac_need_defaults=false ;;
   19804 
   19805   esac
   19806   shift
   19807 done
   19808 
   19809 ac_configure_extra_args=
   19810 
   19811 if $ac_cs_silent; then
   19812   exec 6>/dev/null
   19813   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19814 fi
   19815 
   19816 _ACEOF
   19817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19818 if \$ac_cs_recheck; then
   19819   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19820   shift
   19821   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19822   CONFIG_SHELL='$SHELL'
   19823   export CONFIG_SHELL
   19824   exec "\$@"
   19825 fi
   19826 
   19827 _ACEOF
   19828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19829 exec 5>>config.log
   19830 {
   19831   echo
   19832   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19833 ## Running $as_me. ##
   19834 _ASBOX
   19835   $as_echo "$ac_log"
   19836 } >&5
   19837 
   19838 _ACEOF
   19839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19840 #
   19841 # INIT-COMMANDS
   19842 #
   19843 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19844 
   19845 
   19846 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19847 # if CDPATH is set.
   19848 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19849 
   19850 sed_quote_subst='$sed_quote_subst'
   19851 double_quote_subst='$double_quote_subst'
   19852 delay_variable_subst='$delay_variable_subst'
   19853 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19854 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19855 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19856 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19857 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19858 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19859 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19860 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19861 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19862 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19863 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19864 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19865 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19866 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19867 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19868 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19869 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19870 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19871 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19872 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19873 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19874 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19875 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19876 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19877 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19878 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19879 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19880 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19881 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19882 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19883 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19884 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19885 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19886 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19887 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19888 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19889 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19890 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19891 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19892 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19893 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19894 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19895 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19896 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19897 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19898 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19899 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19900 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19901 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"`'
   19902 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19903 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19904 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19905 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19906 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19907 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19908 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19909 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19910 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19911 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19912 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19913 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19914 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19915 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19916 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19917 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19918 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19919 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19920 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19921 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19922 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19923 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19924 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19925 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19926 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19927 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19928 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19929 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19930 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19931 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19932 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19933 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   19934 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19935 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19936 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19937 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19938 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19939 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19940 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19941 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19942 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   19943 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19944 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19945 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19946 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19947 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19948 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19949 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19950 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19951 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19952 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19953 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19954 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19955 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19956 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19957 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19958 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19959 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19960 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19961 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19962 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19963 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19964 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19965 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19966 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19967 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19968 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19969 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19970 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19971 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19972 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19973 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   19974 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   19975 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   19976 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   19977 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   19978 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   19979 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   19980 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   19981 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   19982 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   19983 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   19984 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   19985 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   19986 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   19987 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   19988 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   19989 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   19990 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   19991 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   19992 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   19993 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   19994 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   19995 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   19996 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   19997 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   19998 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   19999 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   20000 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   20001 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   20002 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   20003 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   20004 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   20005 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
   20006 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   20007 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   20008 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   20009 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   20010 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   20011 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   20012 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   20013 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   20014 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
   20015 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   20016 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   20017 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   20018 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   20019 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   20020 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   20021 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   20022 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   20023 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   20024 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   20025 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   20026 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   20027 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   20028 
   20029 LTCC='$LTCC'
   20030 LTCFLAGS='$LTCFLAGS'
   20031 compiler='$compiler_DEFAULT'
   20032 
   20033 # A function that is used when there is no print builtin or printf.
   20034 func_fallback_echo ()
   20035 {
   20036   eval 'cat <<_LTECHO_EOF
   20037 \$1
   20038 _LTECHO_EOF'
   20039 }
   20040 
   20041 # Quote evaled strings.
   20042 for var in SHELL \
   20043 ECHO \
   20044 SED \
   20045 GREP \
   20046 EGREP \
   20047 FGREP \
   20048 LD \
   20049 NM \
   20050 LN_S \
   20051 lt_SP2NL \
   20052 lt_NL2SP \
   20053 reload_flag \
   20054 OBJDUMP \
   20055 deplibs_check_method \
   20056 file_magic_cmd \
   20057 AR \
   20058 AR_FLAGS \
   20059 STRIP \
   20060 RANLIB \
   20061 CC \
   20062 CFLAGS \
   20063 compiler \
   20064 lt_cv_sys_global_symbol_pipe \
   20065 lt_cv_sys_global_symbol_to_cdecl \
   20066 lt_cv_sys_global_symbol_to_c_name_address \
   20067 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20068 lt_prog_compiler_no_builtin_flag \
   20069 lt_prog_compiler_wl \
   20070 lt_prog_compiler_pic \
   20071 lt_prog_compiler_static \
   20072 lt_cv_prog_compiler_c_o \
   20073 need_locks \
   20074 DSYMUTIL \
   20075 NMEDIT \
   20076 LIPO \
   20077 OTOOL \
   20078 OTOOL64 \
   20079 shrext_cmds \
   20080 export_dynamic_flag_spec \
   20081 whole_archive_flag_spec \
   20082 compiler_needs_object \
   20083 with_gnu_ld \
   20084 allow_undefined_flag \
   20085 no_undefined_flag \
   20086 hardcode_libdir_flag_spec \
   20087 hardcode_libdir_flag_spec_ld \
   20088 hardcode_libdir_separator \
   20089 fix_srcfile_path \
   20090 exclude_expsyms \
   20091 include_expsyms \
   20092 file_list_spec \
   20093 variables_saved_for_relink \
   20094 libname_spec \
   20095 library_names_spec \
   20096 soname_spec \
   20097 install_override_mode \
   20098 finish_eval \
   20099 old_striplib \
   20100 striplib \
   20101 compiler_lib_search_dirs \
   20102 predep_objects \
   20103 postdep_objects \
   20104 predeps \
   20105 postdeps \
   20106 compiler_lib_search_path \
   20107 LD_CXX \
   20108 reload_flag_CXX \
   20109 compiler_CXX \
   20110 lt_prog_compiler_no_builtin_flag_CXX \
   20111 lt_prog_compiler_wl_CXX \
   20112 lt_prog_compiler_pic_CXX \
   20113 lt_prog_compiler_static_CXX \
   20114 lt_cv_prog_compiler_c_o_CXX \
   20115 export_dynamic_flag_spec_CXX \
   20116 whole_archive_flag_spec_CXX \
   20117 compiler_needs_object_CXX \
   20118 with_gnu_ld_CXX \
   20119 allow_undefined_flag_CXX \
   20120 no_undefined_flag_CXX \
   20121 hardcode_libdir_flag_spec_CXX \
   20122 hardcode_libdir_flag_spec_ld_CXX \
   20123 hardcode_libdir_separator_CXX \
   20124 fix_srcfile_path_CXX \
   20125 exclude_expsyms_CXX \
   20126 include_expsyms_CXX \
   20127 file_list_spec_CXX \
   20128 compiler_lib_search_dirs_CXX \
   20129 predep_objects_CXX \
   20130 postdep_objects_CXX \
   20131 predeps_CXX \
   20132 postdeps_CXX \
   20133 compiler_lib_search_path_CXX; do
   20134     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20135     *[\\\\\\\`\\"\\\$]*)
   20136       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   20137       ;;
   20138     *)
   20139       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20140       ;;
   20141     esac
   20142 done
   20143 
   20144 # Double-quote double-evaled strings.
   20145 for var in reload_cmds \
   20146 old_postinstall_cmds \
   20147 old_postuninstall_cmds \
   20148 old_archive_cmds \
   20149 extract_expsyms_cmds \
   20150 old_archive_from_new_cmds \
   20151 old_archive_from_expsyms_cmds \
   20152 archive_cmds \
   20153 archive_expsym_cmds \
   20154 module_cmds \
   20155 module_expsym_cmds \
   20156 export_symbols_cmds \
   20157 prelink_cmds \
   20158 postinstall_cmds \
   20159 postuninstall_cmds \
   20160 finish_cmds \
   20161 sys_lib_search_path_spec \
   20162 sys_lib_dlsearch_path_spec \
   20163 reload_cmds_CXX \
   20164 old_archive_cmds_CXX \
   20165 old_archive_from_new_cmds_CXX \
   20166 old_archive_from_expsyms_cmds_CXX \
   20167 archive_cmds_CXX \
   20168 archive_expsym_cmds_CXX \
   20169 module_cmds_CXX \
   20170 module_expsym_cmds_CXX \
   20171 export_symbols_cmds_CXX \
   20172 prelink_cmds_CXX; do
   20173     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20174     *[\\\\\\\`\\"\\\$]*)
   20175       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   20176       ;;
   20177     *)
   20178       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20179       ;;
   20180     esac
   20181 done
   20182 
   20183 ac_aux_dir='$ac_aux_dir'
   20184 xsi_shell='$xsi_shell'
   20185 lt_shell_append='$lt_shell_append'
   20186 
   20187 # See if we are running on zsh, and set the options which allow our
   20188 # commands through without removal of \ escapes INIT.
   20189 if test -n "\${ZSH_VERSION+set}" ; then
   20190    setopt NO_GLOB_SUBST
   20191 fi
   20192 
   20193 
   20194     PACKAGE='$PACKAGE'
   20195     VERSION='$VERSION'
   20196     TIMESTAMP='$TIMESTAMP'
   20197     RM='$RM'
   20198     ofile='$ofile'
   20199 
   20200 
   20201 
   20202 
   20203 
   20204 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   20205     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   20206     # from automake.
   20207     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   20208     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   20209     LINGUAS="${LINGUAS-%UNSET%}"
   20210 
   20211 
   20212 
   20213 _ACEOF
   20214 
   20215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20216 
   20217 # Handling of arguments.
   20218 for ac_config_target in $ac_config_targets
   20219 do
   20220   case $ac_config_target in
   20221     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20222     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20223     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
   20224     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   20225     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
   20226     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20227     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
   20228 
   20229   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20230   esac
   20231 done
   20232 
   20233 
   20234 # If the user did not use the arguments to specify the items to instantiate,
   20235 # then the envvar interface is used.  Set only those that are not.
   20236 # We use the long form for the default assignment because of an extremely
   20237 # bizarre bug on SunOS 4.1.3.
   20238 if $ac_need_defaults; then
   20239   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20240   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20241   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20242 fi
   20243 
   20244 # Have a temporary directory for convenience.  Make it in the build tree
   20245 # simply because there is no reason against having it here, and in addition,
   20246 # creating and moving files from /tmp can sometimes cause problems.
   20247 # Hook for its removal unless debugging.
   20248 # Note that there is a small window in which the directory will not be cleaned:
   20249 # after its creation but before its name has been assigned to `$tmp'.
   20250 $debug ||
   20251 {
   20252   tmp= ac_tmp=
   20253   trap 'exit_status=$?
   20254   : "${ac_tmp:=$tmp}"
   20255   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20256 ' 0
   20257   trap 'as_fn_exit 1' 1 2 13 15
   20258 }
   20259 # Create a (secure) tmp directory for tmp files.
   20260 
   20261 {
   20262   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20263   test -d "$tmp"
   20264 }  ||
   20265 {
   20266   tmp=./conf$$-$RANDOM
   20267   (umask 077 && mkdir "$tmp")
   20268 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20269 ac_tmp=$tmp
   20270 
   20271 # Set up the scripts for CONFIG_FILES section.
   20272 # No need to generate them if there are no CONFIG_FILES.
   20273 # This happens for instance with `./config.status config.h'.
   20274 if test -n "$CONFIG_FILES"; then
   20275 
   20276 
   20277 ac_cr=`echo X | tr X '\015'`
   20278 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20279 # But we know of no other shell where ac_cr would be empty at this
   20280 # point, so we can use a bashism as a fallback.
   20281 if test "x$ac_cr" = x; then
   20282   eval ac_cr=\$\'\\r\'
   20283 fi
   20284 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20285 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20286   ac_cs_awk_cr='\\r'
   20287 else
   20288   ac_cs_awk_cr=$ac_cr
   20289 fi
   20290 
   20291 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20292 _ACEOF
   20293 
   20294 
   20295 {
   20296   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20297   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20298   echo "_ACEOF"
   20299 } >conf$$subs.sh ||
   20300   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20301 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20302 ac_delim='%!_!# '
   20303 for ac_last_try in false false false false false :; do
   20304   . ./conf$$subs.sh ||
   20305     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20306 
   20307   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20308   if test $ac_delim_n = $ac_delim_num; then
   20309     break
   20310   elif $ac_last_try; then
   20311     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20312   else
   20313     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20314   fi
   20315 done
   20316 rm -f conf$$subs.sh
   20317 
   20318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20319 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20320 _ACEOF
   20321 sed -n '
   20322 h
   20323 s/^/S["/; s/!.*/"]=/
   20324 p
   20325 g
   20326 s/^[^!]*!//
   20327 :repl
   20328 t repl
   20329 s/'"$ac_delim"'$//
   20330 t delim
   20331 :nl
   20332 h
   20333 s/\(.\{148\}\)..*/\1/
   20334 t more1
   20335 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20336 p
   20337 n
   20338 b repl
   20339 :more1
   20340 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20341 p
   20342 g
   20343 s/.\{148\}//
   20344 t nl
   20345 :delim
   20346 h
   20347 s/\(.\{148\}\)..*/\1/
   20348 t more2
   20349 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20350 p
   20351 b
   20352 :more2
   20353 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20354 p
   20355 g
   20356 s/.\{148\}//
   20357 t delim
   20358 ' <conf$$subs.awk | sed '
   20359 /^[^""]/{
   20360   N
   20361   s/\n//
   20362 }
   20363 ' >>$CONFIG_STATUS || ac_write_fail=1
   20364 rm -f conf$$subs.awk
   20365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20366 _ACAWK
   20367 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20368   for (key in S) S_is_set[key] = 1
   20369   FS = ""
   20370 
   20371 }
   20372 {
   20373   line = $ 0
   20374   nfields = split(line, field, "@")
   20375   substed = 0
   20376   len = length(field[1])
   20377   for (i = 2; i < nfields; i++) {
   20378     key = field[i]
   20379     keylen = length(key)
   20380     if (S_is_set[key]) {
   20381       value = S[key]
   20382       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20383       len += length(value) + length(field[++i])
   20384       substed = 1
   20385     } else
   20386       len += 1 + keylen
   20387   }
   20388 
   20389   print line
   20390 }
   20391 
   20392 _ACAWK
   20393 _ACEOF
   20394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20395 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20396   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20397 else
   20398   cat
   20399 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20400   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20401 _ACEOF
   20402 
   20403 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20404 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20405 # trailing colons and then remove the whole line if VPATH becomes empty
   20406 # (actually we leave an empty line to preserve line numbers).
   20407 if test "x$srcdir" = x.; then
   20408   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20409 h
   20410 s///
   20411 s/^/:/
   20412 s/[	 ]*$/:/
   20413 s/:\$(srcdir):/:/g
   20414 s/:\${srcdir}:/:/g
   20415 s/:@srcdir@:/:/g
   20416 s/^:*//
   20417 s/:*$//
   20418 x
   20419 s/\(=[	 ]*\).*/\1/
   20420 G
   20421 s/\n//
   20422 s/^[^=]*=[	 ]*$//
   20423 }'
   20424 fi
   20425 
   20426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20427 fi # test -n "$CONFIG_FILES"
   20428 
   20429 # Set up the scripts for CONFIG_HEADERS section.
   20430 # No need to generate them if there are no CONFIG_HEADERS.
   20431 # This happens for instance with `./config.status Makefile'.
   20432 if test -n "$CONFIG_HEADERS"; then
   20433 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20434 BEGIN {
   20435 _ACEOF
   20436 
   20437 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20438 # here-document in config.status, that substitutes the proper values into
   20439 # config.h.in to produce config.h.
   20440 
   20441 # Create a delimiter string that does not exist in confdefs.h, to ease
   20442 # handling of long lines.
   20443 ac_delim='%!_!# '
   20444 for ac_last_try in false false :; do
   20445   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20446   if test -z "$ac_tt"; then
   20447     break
   20448   elif $ac_last_try; then
   20449     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20450   else
   20451     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20452   fi
   20453 done
   20454 
   20455 # For the awk script, D is an array of macro values keyed by name,
   20456 # likewise P contains macro parameters if any.  Preserve backslash
   20457 # newline sequences.
   20458 
   20459 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20460 sed -n '
   20461 s/.\{148\}/&'"$ac_delim"'/g
   20462 t rset
   20463 :rset
   20464 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20465 t def
   20466 d
   20467 :def
   20468 s/\\$//
   20469 t bsnl
   20470 s/["\\]/\\&/g
   20471 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20472 D["\1"]=" \3"/p
   20473 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20474 d
   20475 :bsnl
   20476 s/["\\]/\\&/g
   20477 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20478 D["\1"]=" \3\\\\\\n"\\/p
   20479 t cont
   20480 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20481 t cont
   20482 d
   20483 :cont
   20484 n
   20485 s/.\{148\}/&'"$ac_delim"'/g
   20486 t clear
   20487 :clear
   20488 s/\\$//
   20489 t bsnlc
   20490 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20491 d
   20492 :bsnlc
   20493 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20494 b cont
   20495 ' <confdefs.h | sed '
   20496 s/'"$ac_delim"'/"\\\
   20497 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20498 
   20499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20500   for (key in D) D_is_set[key] = 1
   20501   FS = ""
   20502 }
   20503 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20504   line = \$ 0
   20505   split(line, arg, " ")
   20506   if (arg[1] == "#") {
   20507     defundef = arg[2]
   20508     mac1 = arg[3]
   20509   } else {
   20510     defundef = substr(arg[1], 2)
   20511     mac1 = arg[2]
   20512   }
   20513   split(mac1, mac2, "(") #)
   20514   macro = mac2[1]
   20515   prefix = substr(line, 1, index(line, defundef) - 1)
   20516   if (D_is_set[macro]) {
   20517     # Preserve the white space surrounding the "#".
   20518     print prefix "define", macro P[macro] D[macro]
   20519     next
   20520   } else {
   20521     # Replace #undef with comments.  This is necessary, for example,
   20522     # in the case of _POSIX_SOURCE, which is predefined and required
   20523     # on some systems where configure will not decide to define it.
   20524     if (defundef == "undef") {
   20525       print "/*", prefix defundef, macro, "*/"
   20526       next
   20527     }
   20528   }
   20529 }
   20530 { print }
   20531 _ACAWK
   20532 _ACEOF
   20533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20534   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20535 fi # test -n "$CONFIG_HEADERS"
   20536 
   20537 
   20538 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20539 shift
   20540 for ac_tag
   20541 do
   20542   case $ac_tag in
   20543   :[FHLC]) ac_mode=$ac_tag; continue;;
   20544   esac
   20545   case $ac_mode$ac_tag in
   20546   :[FHL]*:*);;
   20547   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20548   :[FH]-) ac_tag=-:-;;
   20549   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20550   esac
   20551   ac_save_IFS=$IFS
   20552   IFS=:
   20553   set x $ac_tag
   20554   IFS=$ac_save_IFS
   20555   shift
   20556   ac_file=$1
   20557   shift
   20558 
   20559   case $ac_mode in
   20560   :L) ac_source=$1;;
   20561   :[FH])
   20562     ac_file_inputs=
   20563     for ac_f
   20564     do
   20565       case $ac_f in
   20566       -) ac_f="$ac_tmp/stdin";;
   20567       *) # Look for the file first in the build tree, then in the source tree
   20568 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20569 	 # because $ac_f cannot contain `:'.
   20570 	 test -f "$ac_f" ||
   20571 	   case $ac_f in
   20572 	   [\\/$]*) false;;
   20573 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20574 	   esac ||
   20575 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20576       esac
   20577       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20578       as_fn_append ac_file_inputs " '$ac_f'"
   20579     done
   20580 
   20581     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20582     # use $as_me), people would be surprised to read:
   20583     #    /* config.h.  Generated by config.status.  */
   20584     configure_input='Generated from '`
   20585 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20586 	`' by configure.'
   20587     if test x"$ac_file" != x-; then
   20588       configure_input="$ac_file.  $configure_input"
   20589       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20590 $as_echo "$as_me: creating $ac_file" >&6;}
   20591     fi
   20592     # Neutralize special characters interpreted by sed in replacement strings.
   20593     case $configure_input in #(
   20594     *\&* | *\|* | *\\* )
   20595        ac_sed_conf_input=`$as_echo "$configure_input" |
   20596        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20597     *) ac_sed_conf_input=$configure_input;;
   20598     esac
   20599 
   20600     case $ac_tag in
   20601     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20602       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20603     esac
   20604     ;;
   20605   esac
   20606 
   20607   ac_dir=`$as_dirname -- "$ac_file" ||
   20608 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20609 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20610 	 X"$ac_file" : 'X\(//\)$' \| \
   20611 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20612 $as_echo X"$ac_file" |
   20613     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20614 	    s//\1/
   20615 	    q
   20616 	  }
   20617 	  /^X\(\/\/\)[^/].*/{
   20618 	    s//\1/
   20619 	    q
   20620 	  }
   20621 	  /^X\(\/\/\)$/{
   20622 	    s//\1/
   20623 	    q
   20624 	  }
   20625 	  /^X\(\/\).*/{
   20626 	    s//\1/
   20627 	    q
   20628 	  }
   20629 	  s/.*/./; q'`
   20630   as_dir="$ac_dir"; as_fn_mkdir_p
   20631   ac_builddir=.
   20632 
   20633 case "$ac_dir" in
   20634 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20635 *)
   20636   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20637   # A ".." for each directory in $ac_dir_suffix.
   20638   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20639   case $ac_top_builddir_sub in
   20640   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20641   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20642   esac ;;
   20643 esac
   20644 ac_abs_top_builddir=$ac_pwd
   20645 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20646 # for backward compatibility:
   20647 ac_top_builddir=$ac_top_build_prefix
   20648 
   20649 case $srcdir in
   20650   .)  # We are building in place.
   20651     ac_srcdir=.
   20652     ac_top_srcdir=$ac_top_builddir_sub
   20653     ac_abs_top_srcdir=$ac_pwd ;;
   20654   [\\/]* | ?:[\\/]* )  # Absolute name.
   20655     ac_srcdir=$srcdir$ac_dir_suffix;
   20656     ac_top_srcdir=$srcdir
   20657     ac_abs_top_srcdir=$srcdir ;;
   20658   *) # Relative name.
   20659     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20660     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20661     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20662 esac
   20663 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20664 
   20665 
   20666   case $ac_mode in
   20667   :F)
   20668   #
   20669   # CONFIG_FILE
   20670   #
   20671 
   20672   case $INSTALL in
   20673   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20674   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20675   esac
   20676   ac_MKDIR_P=$MKDIR_P
   20677   case $MKDIR_P in
   20678   [\\/$]* | ?:[\\/]* ) ;;
   20679   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20680   esac
   20681 _ACEOF
   20682 
   20683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20684 # If the template does not know about datarootdir, expand it.
   20685 # FIXME: This hack should be removed a few years after 2.60.
   20686 ac_datarootdir_hack=; ac_datarootdir_seen=
   20687 ac_sed_dataroot='
   20688 /datarootdir/ {
   20689   p
   20690   q
   20691 }
   20692 /@datadir@/p
   20693 /@docdir@/p
   20694 /@infodir@/p
   20695 /@localedir@/p
   20696 /@mandir@/p'
   20697 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20698 *datarootdir*) ac_datarootdir_seen=yes;;
   20699 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20700   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20701 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20702 _ACEOF
   20703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20704   ac_datarootdir_hack='
   20705   s&@datadir@&$datadir&g
   20706   s&@docdir@&$docdir&g
   20707   s&@infodir@&$infodir&g
   20708   s&@localedir@&$localedir&g
   20709   s&@mandir@&$mandir&g
   20710   s&\\\${datarootdir}&$datarootdir&g' ;;
   20711 esac
   20712 _ACEOF
   20713 
   20714 # Neutralize VPATH when `$srcdir' = `.'.
   20715 # Shell code in configure.ac might set extrasub.
   20716 # FIXME: do we really want to maintain this feature?
   20717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20718 ac_sed_extra="$ac_vpsub
   20719 $extrasub
   20720 _ACEOF
   20721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20722 :t
   20723 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20724 s|@configure_input@|$ac_sed_conf_input|;t t
   20725 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20726 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20727 s&@srcdir@&$ac_srcdir&;t t
   20728 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20729 s&@top_srcdir@&$ac_top_srcdir&;t t
   20730 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20731 s&@builddir@&$ac_builddir&;t t
   20732 s&@abs_builddir@&$ac_abs_builddir&;t t
   20733 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20734 s&@INSTALL@&$ac_INSTALL&;t t
   20735 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20736 $ac_datarootdir_hack
   20737 "
   20738 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20739   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20740 
   20741 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20742   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20743   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20744       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20745   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20746 which seems to be undefined.  Please make sure it is defined" >&5
   20747 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20748 which seems to be undefined.  Please make sure it is defined" >&2;}
   20749 
   20750   rm -f "$ac_tmp/stdin"
   20751   case $ac_file in
   20752   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20753   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20754   esac \
   20755   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20756  ;;
   20757   :H)
   20758   #
   20759   # CONFIG_HEADER
   20760   #
   20761   if test x"$ac_file" != x-; then
   20762     {
   20763       $as_echo "/* $configure_input  */" \
   20764       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20765     } >"$ac_tmp/config.h" \
   20766       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20767     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20768       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20769 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20770     else
   20771       rm -f "$ac_file"
   20772       mv "$ac_tmp/config.h" "$ac_file" \
   20773 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20774     fi
   20775   else
   20776     $as_echo "/* $configure_input  */" \
   20777       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20778       || as_fn_error $? "could not create -" "$LINENO" 5
   20779   fi
   20780 # Compute "$ac_file"'s index in $config_headers.
   20781 _am_arg="$ac_file"
   20782 _am_stamp_count=1
   20783 for _am_header in $config_headers :; do
   20784   case $_am_header in
   20785     $_am_arg | $_am_arg:* )
   20786       break ;;
   20787     * )
   20788       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20789   esac
   20790 done
   20791 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20792 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20793 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20794 	 X"$_am_arg" : 'X\(//\)$' \| \
   20795 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20796 $as_echo X"$_am_arg" |
   20797     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20798 	    s//\1/
   20799 	    q
   20800 	  }
   20801 	  /^X\(\/\/\)[^/].*/{
   20802 	    s//\1/
   20803 	    q
   20804 	  }
   20805 	  /^X\(\/\/\)$/{
   20806 	    s//\1/
   20807 	    q
   20808 	  }
   20809 	  /^X\(\/\).*/{
   20810 	    s//\1/
   20811 	    q
   20812 	  }
   20813 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20814  ;;
   20815 
   20816   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20817 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20818  ;;
   20819   esac
   20820 
   20821 
   20822   case $ac_file$ac_mode in
   20823     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20824   # Older Autoconf quotes --file arguments for eval, but not when files
   20825   # are listed without --file.  Let's play safe and only enable the eval
   20826   # if we detect the quoting.
   20827   case $CONFIG_FILES in
   20828   *\'*) eval set x "$CONFIG_FILES" ;;
   20829   *)   set x $CONFIG_FILES ;;
   20830   esac
   20831   shift
   20832   for mf
   20833   do
   20834     # Strip MF so we end up with the name of the file.
   20835     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20836     # Check whether this is an Automake generated Makefile or not.
   20837     # We used to match only the files named 'Makefile.in', but
   20838     # some people rename them; so instead we look at the file content.
   20839     # Grep'ing the first line is not enough: some people post-process
   20840     # each Makefile.in and add a new line on top of each file to say so.
   20841     # Grep'ing the whole file is not good either: AIX grep has a line
   20842     # limit of 2048, but all sed's we know have understand at least 4000.
   20843     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20844       dirpart=`$as_dirname -- "$mf" ||
   20845 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20846 	 X"$mf" : 'X\(//\)[^/]' \| \
   20847 	 X"$mf" : 'X\(//\)$' \| \
   20848 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20849 $as_echo X"$mf" |
   20850     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20851 	    s//\1/
   20852 	    q
   20853 	  }
   20854 	  /^X\(\/\/\)[^/].*/{
   20855 	    s//\1/
   20856 	    q
   20857 	  }
   20858 	  /^X\(\/\/\)$/{
   20859 	    s//\1/
   20860 	    q
   20861 	  }
   20862 	  /^X\(\/\).*/{
   20863 	    s//\1/
   20864 	    q
   20865 	  }
   20866 	  s/.*/./; q'`
   20867     else
   20868       continue
   20869     fi
   20870     # Extract the definition of DEPDIR, am__include, and am__quote
   20871     # from the Makefile without running 'make'.
   20872     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20873     test -z "$DEPDIR" && continue
   20874     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20875     test -z "$am__include" && continue
   20876     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20877     # Find all dependency output files, they are included files with
   20878     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20879     # simplest approach to changing $(DEPDIR) to its actual value in the
   20880     # expansion.
   20881     for file in `sed -n "
   20882       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20883 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20884       # Make sure the directory exists.
   20885       test -f "$dirpart/$file" && continue
   20886       fdir=`$as_dirname -- "$file" ||
   20887 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20888 	 X"$file" : 'X\(//\)[^/]' \| \
   20889 	 X"$file" : 'X\(//\)$' \| \
   20890 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20891 $as_echo X"$file" |
   20892     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20893 	    s//\1/
   20894 	    q
   20895 	  }
   20896 	  /^X\(\/\/\)[^/].*/{
   20897 	    s//\1/
   20898 	    q
   20899 	  }
   20900 	  /^X\(\/\/\)$/{
   20901 	    s//\1/
   20902 	    q
   20903 	  }
   20904 	  /^X\(\/\).*/{
   20905 	    s//\1/
   20906 	    q
   20907 	  }
   20908 	  s/.*/./; q'`
   20909       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20910       # echo "creating $dirpart/$file"
   20911       echo '# dummy' > "$dirpart/$file"
   20912     done
   20913   done
   20914 }
   20915  ;;
   20916     "libtool":C)
   20917 
   20918     # See if we are running on zsh, and set the options which allow our
   20919     # commands through without removal of \ escapes.
   20920     if test -n "${ZSH_VERSION+set}" ; then
   20921       setopt NO_GLOB_SUBST
   20922     fi
   20923 
   20924     cfgfile="${ofile}T"
   20925     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20926     $RM "$cfgfile"
   20927 
   20928     cat <<_LT_EOF >> "$cfgfile"
   20929 #! $SHELL
   20930 
   20931 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   20932 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   20933 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20934 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20935 #
   20936 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20937 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   20938 #   Written by Gordon Matzigkeit, 1996
   20939 #
   20940 #   This file is part of GNU Libtool.
   20941 #
   20942 # GNU Libtool is free software; you can redistribute it and/or
   20943 # modify it under the terms of the GNU General Public License as
   20944 # published by the Free Software Foundation; either version 2 of
   20945 # the License, or (at your option) any later version.
   20946 #
   20947 # As a special exception to the GNU General Public License,
   20948 # if you distribute this file as part of a program or library that
   20949 # is built using GNU Libtool, you may include this file under the
   20950 # same distribution terms that you use for the rest of that program.
   20951 #
   20952 # GNU Libtool is distributed in the hope that it will be useful,
   20953 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20954 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20955 # GNU General Public License for more details.
   20956 #
   20957 # You should have received a copy of the GNU General Public License
   20958 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20959 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20960 # obtained by writing to the Free Software Foundation, Inc.,
   20961 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20962 
   20963 
   20964 # The names of the tagged configurations supported by this script.
   20965 available_tags="CXX "
   20966 
   20967 # ### BEGIN LIBTOOL CONFIG
   20968 
   20969 # Which release of libtool.m4 was used?
   20970 macro_version=$macro_version
   20971 macro_revision=$macro_revision
   20972 
   20973 # Whether or not to build shared libraries.
   20974 build_libtool_libs=$enable_shared
   20975 
   20976 # Whether or not to build static libraries.
   20977 build_old_libs=$enable_static
   20978 
   20979 # What type of objects to build.
   20980 pic_mode=$pic_mode
   20981 
   20982 # Whether or not to optimize for fast installation.
   20983 fast_install=$enable_fast_install
   20984 
   20985 # Shell to use when invoking shell scripts.
   20986 SHELL=$lt_SHELL
   20987 
   20988 # An echo program that protects backslashes.
   20989 ECHO=$lt_ECHO
   20990 
   20991 # The host system.
   20992 host_alias=$host_alias
   20993 host=$host
   20994 host_os=$host_os
   20995 
   20996 # The build system.
   20997 build_alias=$build_alias
   20998 build=$build
   20999 build_os=$build_os
   21000 
   21001 # A sed program that does not truncate output.
   21002 SED=$lt_SED
   21003 
   21004 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21005 Xsed="\$SED -e 1s/^X//"
   21006 
   21007 # A grep program that handles long lines.
   21008 GREP=$lt_GREP
   21009 
   21010 # An ERE matcher.
   21011 EGREP=$lt_EGREP
   21012 
   21013 # A literal string matcher.
   21014 FGREP=$lt_FGREP
   21015 
   21016 # A BSD- or MS-compatible name lister.
   21017 NM=$lt_NM
   21018 
   21019 # Whether we need soft or hard links.
   21020 LN_S=$lt_LN_S
   21021 
   21022 # What is the maximum length of a command?
   21023 max_cmd_len=$max_cmd_len
   21024 
   21025 # Object file suffix (normally "o").
   21026 objext=$ac_objext
   21027 
   21028 # Executable file suffix (normally "").
   21029 exeext=$exeext
   21030 
   21031 # whether the shell understands "unset".
   21032 lt_unset=$lt_unset
   21033 
   21034 # turn spaces into newlines.
   21035 SP2NL=$lt_lt_SP2NL
   21036 
   21037 # turn newlines into spaces.
   21038 NL2SP=$lt_lt_NL2SP
   21039 
   21040 # An object symbol dumper.
   21041 OBJDUMP=$lt_OBJDUMP
   21042 
   21043 # Method to check whether dependent libraries are shared objects.
   21044 deplibs_check_method=$lt_deplibs_check_method
   21045 
   21046 # Command to use when deplibs_check_method == "file_magic".
   21047 file_magic_cmd=$lt_file_magic_cmd
   21048 
   21049 # The archiver.
   21050 AR=$lt_AR
   21051 AR_FLAGS=$lt_AR_FLAGS
   21052 
   21053 # A symbol stripping program.
   21054 STRIP=$lt_STRIP
   21055 
   21056 # Commands used to install an old-style archive.
   21057 RANLIB=$lt_RANLIB
   21058 old_postinstall_cmds=$lt_old_postinstall_cmds
   21059 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21060 
   21061 # Whether to use a lock for old archive extraction.
   21062 lock_old_archive_extraction=$lock_old_archive_extraction
   21063 
   21064 # A C compiler.
   21065 LTCC=$lt_CC
   21066 
   21067 # LTCC compiler flags.
   21068 LTCFLAGS=$lt_CFLAGS
   21069 
   21070 # Take the output of nm and produce a listing of raw symbols and C names.
   21071 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21072 
   21073 # Transform the output of nm in a proper C declaration.
   21074 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21075 
   21076 # Transform the output of nm in a C name address pair.
   21077 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21078 
   21079 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21080 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21081 
   21082 # The name of the directory that contains temporary libtool files.
   21083 objdir=$objdir
   21084 
   21085 # Used to examine libraries when file_magic_cmd begins with "file".
   21086 MAGIC_CMD=$MAGIC_CMD
   21087 
   21088 # Must we lock files when doing compilation?
   21089 need_locks=$lt_need_locks
   21090 
   21091 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21092 DSYMUTIL=$lt_DSYMUTIL
   21093 
   21094 # Tool to change global to local symbols on Mac OS X.
   21095 NMEDIT=$lt_NMEDIT
   21096 
   21097 # Tool to manipulate fat objects and archives on Mac OS X.
   21098 LIPO=$lt_LIPO
   21099 
   21100 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21101 OTOOL=$lt_OTOOL
   21102 
   21103 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21104 OTOOL64=$lt_OTOOL64
   21105 
   21106 # Old archive suffix (normally "a").
   21107 libext=$libext
   21108 
   21109 # Shared library suffix (normally ".so").
   21110 shrext_cmds=$lt_shrext_cmds
   21111 
   21112 # The commands to extract the exported symbol list from a shared archive.
   21113 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21114 
   21115 # Variables whose values should be saved in libtool wrapper scripts and
   21116 # restored at link time.
   21117 variables_saved_for_relink=$lt_variables_saved_for_relink
   21118 
   21119 # Do we need the "lib" prefix for modules?
   21120 need_lib_prefix=$need_lib_prefix
   21121 
   21122 # Do we need a version for libraries?
   21123 need_version=$need_version
   21124 
   21125 # Library versioning type.
   21126 version_type=$version_type
   21127 
   21128 # Shared library runtime path variable.
   21129 runpath_var=$runpath_var
   21130 
   21131 # Shared library path variable.
   21132 shlibpath_var=$shlibpath_var
   21133 
   21134 # Is shlibpath searched before the hard-coded library search path?
   21135 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21136 
   21137 # Format of library name prefix.
   21138 libname_spec=$lt_libname_spec
   21139 
   21140 # List of archive names.  First name is the real one, the rest are links.
   21141 # The last name is the one that the linker finds with -lNAME
   21142 library_names_spec=$lt_library_names_spec
   21143 
   21144 # The coded name of the library, if different from the real name.
   21145 soname_spec=$lt_soname_spec
   21146 
   21147 # Permission mode override for installation of shared libraries.
   21148 install_override_mode=$lt_install_override_mode
   21149 
   21150 # Command to use after installation of a shared archive.
   21151 postinstall_cmds=$lt_postinstall_cmds
   21152 
   21153 # Command to use after uninstallation of a shared archive.
   21154 postuninstall_cmds=$lt_postuninstall_cmds
   21155 
   21156 # Commands used to finish a libtool library installation in a directory.
   21157 finish_cmds=$lt_finish_cmds
   21158 
   21159 # As "finish_cmds", except a single script fragment to be evaled but
   21160 # not shown.
   21161 finish_eval=$lt_finish_eval
   21162 
   21163 # Whether we should hardcode library paths into libraries.
   21164 hardcode_into_libs=$hardcode_into_libs
   21165 
   21166 # Compile-time system search path for libraries.
   21167 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21168 
   21169 # Run-time system search path for libraries.
   21170 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   21171 
   21172 # Whether dlopen is supported.
   21173 dlopen_support=$enable_dlopen
   21174 
   21175 # Whether dlopen of programs is supported.
   21176 dlopen_self=$enable_dlopen_self
   21177 
   21178 # Whether dlopen of statically linked programs is supported.
   21179 dlopen_self_static=$enable_dlopen_self_static
   21180 
   21181 # Commands to strip libraries.
   21182 old_striplib=$lt_old_striplib
   21183 striplib=$lt_striplib
   21184 
   21185 
   21186 # The linker used to build libraries.
   21187 LD=$lt_LD
   21188 
   21189 # How to create reloadable object files.
   21190 reload_flag=$lt_reload_flag
   21191 reload_cmds=$lt_reload_cmds
   21192 
   21193 # Commands used to build an old-style archive.
   21194 old_archive_cmds=$lt_old_archive_cmds
   21195 
   21196 # A language specific compiler.
   21197 CC=$lt_compiler
   21198 
   21199 # Is the compiler the GNU compiler?
   21200 with_gcc=$GCC
   21201 
   21202 # Compiler flag to turn off builtin functions.
   21203 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21204 
   21205 # How to pass a linker flag through the compiler.
   21206 wl=$lt_lt_prog_compiler_wl
   21207 
   21208 # Additional compiler flags for building library objects.
   21209 pic_flag=$lt_lt_prog_compiler_pic
   21210 
   21211 # Compiler flag to prevent dynamic linking.
   21212 link_static_flag=$lt_lt_prog_compiler_static
   21213 
   21214 # Does compiler simultaneously support -c and -o options?
   21215 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21216 
   21217 # Whether or not to add -lc for building shared libraries.
   21218 build_libtool_need_lc=$archive_cmds_need_lc
   21219 
   21220 # Whether or not to disallow shared libs when runtime libs are static.
   21221 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21222 
   21223 # Compiler flag to allow reflexive dlopens.
   21224 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21225 
   21226 # Compiler flag to generate shared objects directly from archives.
   21227 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21228 
   21229 # Whether the compiler copes with passing no objects directly.
   21230 compiler_needs_object=$lt_compiler_needs_object
   21231 
   21232 # Create an old-style archive from a shared archive.
   21233 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21234 
   21235 # Create a temporary old-style archive to link instead of a shared archive.
   21236 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21237 
   21238 # Commands used to build a shared archive.
   21239 archive_cmds=$lt_archive_cmds
   21240 archive_expsym_cmds=$lt_archive_expsym_cmds
   21241 
   21242 # Commands used to build a loadable module if different from building
   21243 # a shared archive.
   21244 module_cmds=$lt_module_cmds
   21245 module_expsym_cmds=$lt_module_expsym_cmds
   21246 
   21247 # Whether we are building with GNU ld or not.
   21248 with_gnu_ld=$lt_with_gnu_ld
   21249 
   21250 # Flag that allows shared libraries with undefined symbols to be built.
   21251 allow_undefined_flag=$lt_allow_undefined_flag
   21252 
   21253 # Flag that enforces no undefined symbols.
   21254 no_undefined_flag=$lt_no_undefined_flag
   21255 
   21256 # Flag to hardcode \$libdir into a binary during linking.
   21257 # This must work even if \$libdir does not exist
   21258 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21259 
   21260 # If ld is used when linking, flag to hardcode \$libdir into a binary
   21261 # during linking.  This must work even if \$libdir does not exist.
   21262 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   21263 
   21264 # Whether we need a single "-rpath" flag with a separated argument.
   21265 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21266 
   21267 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21268 # DIR into the resulting binary.
   21269 hardcode_direct=$hardcode_direct
   21270 
   21271 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21272 # DIR into the resulting binary and the resulting library dependency is
   21273 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   21274 # library is relocated.
   21275 hardcode_direct_absolute=$hardcode_direct_absolute
   21276 
   21277 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21278 # into the resulting binary.
   21279 hardcode_minus_L=$hardcode_minus_L
   21280 
   21281 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21282 # into the resulting binary.
   21283 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21284 
   21285 # Set to "yes" if building a shared library automatically hardcodes DIR
   21286 # into the library and all subsequent libraries and executables linked
   21287 # against it.
   21288 hardcode_automatic=$hardcode_automatic
   21289 
   21290 # Set to yes if linker adds runtime paths of dependent libraries
   21291 # to runtime path list.
   21292 inherit_rpath=$inherit_rpath
   21293 
   21294 # Whether libtool must link a program against all its dependency libraries.
   21295 link_all_deplibs=$link_all_deplibs
   21296 
   21297 # Fix the shell variable \$srcfile for the compiler.
   21298 fix_srcfile_path=$lt_fix_srcfile_path
   21299 
   21300 # Set to "yes" if exported symbols are required.
   21301 always_export_symbols=$always_export_symbols
   21302 
   21303 # The commands to list exported symbols.
   21304 export_symbols_cmds=$lt_export_symbols_cmds
   21305 
   21306 # Symbols that should not be listed in the preloaded symbols.
   21307 exclude_expsyms=$lt_exclude_expsyms
   21308 
   21309 # Symbols that must always be exported.
   21310 include_expsyms=$lt_include_expsyms
   21311 
   21312 # Commands necessary for linking programs (against libraries) with templates.
   21313 prelink_cmds=$lt_prelink_cmds
   21314 
   21315 # Specify filename containing input files.
   21316 file_list_spec=$lt_file_list_spec
   21317 
   21318 # How to hardcode a shared library path into an executable.
   21319 hardcode_action=$hardcode_action
   21320 
   21321 # The directories searched by this compiler when creating a shared library.
   21322 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   21323 
   21324 # Dependencies to place before and after the objects being linked to
   21325 # create a shared library.
   21326 predep_objects=$lt_predep_objects
   21327 postdep_objects=$lt_postdep_objects
   21328 predeps=$lt_predeps
   21329 postdeps=$lt_postdeps
   21330 
   21331 # The library search path used internally by the compiler when linking
   21332 # a shared library.
   21333 compiler_lib_search_path=$lt_compiler_lib_search_path
   21334 
   21335 # ### END LIBTOOL CONFIG
   21336 
   21337 _LT_EOF
   21338 
   21339   case $host_os in
   21340   aix3*)
   21341     cat <<\_LT_EOF >> "$cfgfile"
   21342 # AIX sometimes has problems with the GCC collect2 program.  For some
   21343 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21344 # vanish in a puff of smoke.
   21345 if test "X${COLLECT_NAMES+set}" != Xset; then
   21346   COLLECT_NAMES=
   21347   export COLLECT_NAMES
   21348 fi
   21349 _LT_EOF
   21350     ;;
   21351   esac
   21352 
   21353 
   21354 ltmain="$ac_aux_dir/ltmain.sh"
   21355 
   21356 
   21357   # We use sed instead of cat because bash on DJGPP gets confused if
   21358   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21359   # text mode, it properly converts lines to CR/LF.  This bash problem
   21360   # is reportedly fixed, but why not run on old versions too?
   21361   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   21362     || (rm -f "$cfgfile"; exit 1)
   21363 
   21364   case $xsi_shell in
   21365   yes)
   21366     cat << \_LT_EOF >> "$cfgfile"
   21367 
   21368 # func_dirname file append nondir_replacement
   21369 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   21370 # otherwise set result to NONDIR_REPLACEMENT.
   21371 func_dirname ()
   21372 {
   21373   case ${1} in
   21374     */*) func_dirname_result="${1%/*}${2}" ;;
   21375     *  ) func_dirname_result="${3}" ;;
   21376   esac
   21377 }
   21378 
   21379 # func_basename file
   21380 func_basename ()
   21381 {
   21382   func_basename_result="${1##*/}"
   21383 }
   21384 
   21385 # func_dirname_and_basename file append nondir_replacement
   21386 # perform func_basename and func_dirname in a single function
   21387 # call:
   21388 #   dirname:  Compute the dirname of FILE.  If nonempty,
   21389 #             add APPEND to the result, otherwise set result
   21390 #             to NONDIR_REPLACEMENT.
   21391 #             value returned in "$func_dirname_result"
   21392 #   basename: Compute filename of FILE.
   21393 #             value retuned in "$func_basename_result"
   21394 # Implementation must be kept synchronized with func_dirname
   21395 # and func_basename. For efficiency, we do not delegate to
   21396 # those functions but instead duplicate the functionality here.
   21397 func_dirname_and_basename ()
   21398 {
   21399   case ${1} in
   21400     */*) func_dirname_result="${1%/*}${2}" ;;
   21401     *  ) func_dirname_result="${3}" ;;
   21402   esac
   21403   func_basename_result="${1##*/}"
   21404 }
   21405 
   21406 # func_stripname prefix suffix name
   21407 # strip PREFIX and SUFFIX off of NAME.
   21408 # PREFIX and SUFFIX must not contain globbing or regex special
   21409 # characters, hashes, percent signs, but SUFFIX may contain a leading
   21410 # dot (in which case that matches only a dot).
   21411 func_stripname ()
   21412 {
   21413   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   21414   # positional parameters, so assign one to ordinary parameter first.
   21415   func_stripname_result=${3}
   21416   func_stripname_result=${func_stripname_result#"${1}"}
   21417   func_stripname_result=${func_stripname_result%"${2}"}
   21418 }
   21419 
   21420 # func_opt_split
   21421 func_opt_split ()
   21422 {
   21423   func_opt_split_opt=${1%%=*}
   21424   func_opt_split_arg=${1#*=}
   21425 }
   21426 
   21427 # func_lo2o object
   21428 func_lo2o ()
   21429 {
   21430   case ${1} in
   21431     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   21432     *)    func_lo2o_result=${1} ;;
   21433   esac
   21434 }
   21435 
   21436 # func_xform libobj-or-source
   21437 func_xform ()
   21438 {
   21439   func_xform_result=${1%.*}.lo
   21440 }
   21441 
   21442 # func_arith arithmetic-term...
   21443 func_arith ()
   21444 {
   21445   func_arith_result=$(( $* ))
   21446 }
   21447 
   21448 # func_len string
   21449 # STRING may not start with a hyphen.
   21450 func_len ()
   21451 {
   21452   func_len_result=${#1}
   21453 }
   21454 
   21455 _LT_EOF
   21456     ;;
   21457   *) # Bourne compatible functions.
   21458     cat << \_LT_EOF >> "$cfgfile"
   21459 
   21460 # func_dirname file append nondir_replacement
   21461 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   21462 # otherwise set result to NONDIR_REPLACEMENT.
   21463 func_dirname ()
   21464 {
   21465   # Extract subdirectory from the argument.
   21466   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   21467   if test "X$func_dirname_result" = "X${1}"; then
   21468     func_dirname_result="${3}"
   21469   else
   21470     func_dirname_result="$func_dirname_result${2}"
   21471   fi
   21472 }
   21473 
   21474 # func_basename file
   21475 func_basename ()
   21476 {
   21477   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   21478 }
   21479 
   21480 
   21481 # func_stripname prefix suffix name
   21482 # strip PREFIX and SUFFIX off of NAME.
   21483 # PREFIX and SUFFIX must not contain globbing or regex special
   21484 # characters, hashes, percent signs, but SUFFIX may contain a leading
   21485 # dot (in which case that matches only a dot).
   21486 # func_strip_suffix prefix name
   21487 func_stripname ()
   21488 {
   21489   case ${2} in
   21490     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   21491     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   21492   esac
   21493 }
   21494 
   21495 # sed scripts:
   21496 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   21497 my_sed_long_arg='1s/^-[^=]*=//'
   21498 
   21499 # func_opt_split
   21500 func_opt_split ()
   21501 {
   21502   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   21503   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   21504 }
   21505 
   21506 # func_lo2o object
   21507 func_lo2o ()
   21508 {
   21509   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   21510 }
   21511 
   21512 # func_xform libobj-or-source
   21513 func_xform ()
   21514 {
   21515   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   21516 }
   21517 
   21518 # func_arith arithmetic-term...
   21519 func_arith ()
   21520 {
   21521   func_arith_result=`expr "$@"`
   21522 }
   21523 
   21524 # func_len string
   21525 # STRING may not start with a hyphen.
   21526 func_len ()
   21527 {
   21528   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   21529 }
   21530 
   21531 _LT_EOF
   21532 esac
   21533 
   21534 case $lt_shell_append in
   21535   yes)
   21536     cat << \_LT_EOF >> "$cfgfile"
   21537 
   21538 # func_append var value
   21539 # Append VALUE to the end of shell variable VAR.
   21540 func_append ()
   21541 {
   21542   eval "$1+=\$2"
   21543 }
   21544 _LT_EOF
   21545     ;;
   21546   *)
   21547     cat << \_LT_EOF >> "$cfgfile"
   21548 
   21549 # func_append var value
   21550 # Append VALUE to the end of shell variable VAR.
   21551 func_append ()
   21552 {
   21553   eval "$1=\$$1\$2"
   21554 }
   21555 
   21556 _LT_EOF
   21557     ;;
   21558   esac
   21559 
   21560 
   21561   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   21562     || (rm -f "$cfgfile"; exit 1)
   21563 
   21564   mv -f "$cfgfile" "$ofile" ||
   21565     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21566   chmod +x "$ofile"
   21567 
   21568 
   21569     cat <<_LT_EOF >> "$ofile"
   21570 
   21571 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   21572 
   21573 # The linker used to build libraries.
   21574 LD=$lt_LD_CXX
   21575 
   21576 # How to create reloadable object files.
   21577 reload_flag=$lt_reload_flag_CXX
   21578 reload_cmds=$lt_reload_cmds_CXX
   21579 
   21580 # Commands used to build an old-style archive.
   21581 old_archive_cmds=$lt_old_archive_cmds_CXX
   21582 
   21583 # A language specific compiler.
   21584 CC=$lt_compiler_CXX
   21585 
   21586 # Is the compiler the GNU compiler?
   21587 with_gcc=$GCC_CXX
   21588 
   21589 # Compiler flag to turn off builtin functions.
   21590 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   21591 
   21592 # How to pass a linker flag through the compiler.
   21593 wl=$lt_lt_prog_compiler_wl_CXX
   21594 
   21595 # Additional compiler flags for building library objects.
   21596 pic_flag=$lt_lt_prog_compiler_pic_CXX
   21597 
   21598 # Compiler flag to prevent dynamic linking.
   21599 link_static_flag=$lt_lt_prog_compiler_static_CXX
   21600 
   21601 # Does compiler simultaneously support -c and -o options?
   21602 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   21603 
   21604 # Whether or not to add -lc for building shared libraries.
   21605 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   21606 
   21607 # Whether or not to disallow shared libs when runtime libs are static.
   21608 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   21609 
   21610 # Compiler flag to allow reflexive dlopens.
   21611 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   21612 
   21613 # Compiler flag to generate shared objects directly from archives.
   21614 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   21615 
   21616 # Whether the compiler copes with passing no objects directly.
   21617 compiler_needs_object=$lt_compiler_needs_object_CXX
   21618 
   21619 # Create an old-style archive from a shared archive.
   21620 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   21621 
   21622 # Create a temporary old-style archive to link instead of a shared archive.
   21623 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   21624 
   21625 # Commands used to build a shared archive.
   21626 archive_cmds=$lt_archive_cmds_CXX
   21627 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   21628 
   21629 # Commands used to build a loadable module if different from building
   21630 # a shared archive.
   21631 module_cmds=$lt_module_cmds_CXX
   21632 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   21633 
   21634 # Whether we are building with GNU ld or not.
   21635 with_gnu_ld=$lt_with_gnu_ld_CXX
   21636 
   21637 # Flag that allows shared libraries with undefined symbols to be built.
   21638 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   21639 
   21640 # Flag that enforces no undefined symbols.
   21641 no_undefined_flag=$lt_no_undefined_flag_CXX
   21642 
   21643 # Flag to hardcode \$libdir into a binary during linking.
   21644 # This must work even if \$libdir does not exist
   21645 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   21646 
   21647 # If ld is used when linking, flag to hardcode \$libdir into a binary
   21648 # during linking.  This must work even if \$libdir does not exist.
   21649 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   21650 
   21651 # Whether we need a single "-rpath" flag with a separated argument.
   21652 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   21653 
   21654 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21655 # DIR into the resulting binary.
   21656 hardcode_direct=$hardcode_direct_CXX
   21657 
   21658 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21659 # DIR into the resulting binary and the resulting library dependency is
   21660 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   21661 # library is relocated.
   21662 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   21663 
   21664 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21665 # into the resulting binary.
   21666 hardcode_minus_L=$hardcode_minus_L_CXX
   21667 
   21668 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21669 # into the resulting binary.
   21670 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   21671 
   21672 # Set to "yes" if building a shared library automatically hardcodes DIR
   21673 # into the library and all subsequent libraries and executables linked
   21674 # against it.
   21675 hardcode_automatic=$hardcode_automatic_CXX
   21676 
   21677 # Set to yes if linker adds runtime paths of dependent libraries
   21678 # to runtime path list.
   21679 inherit_rpath=$inherit_rpath_CXX
   21680 
   21681 # Whether libtool must link a program against all its dependency libraries.
   21682 link_all_deplibs=$link_all_deplibs_CXX
   21683 
   21684 # Fix the shell variable \$srcfile for the compiler.
   21685 fix_srcfile_path=$lt_fix_srcfile_path_CXX
   21686 
   21687 # Set to "yes" if exported symbols are required.
   21688 always_export_symbols=$always_export_symbols_CXX
   21689 
   21690 # The commands to list exported symbols.
   21691 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   21692 
   21693 # Symbols that should not be listed in the preloaded symbols.
   21694 exclude_expsyms=$lt_exclude_expsyms_CXX
   21695 
   21696 # Symbols that must always be exported.
   21697 include_expsyms=$lt_include_expsyms_CXX
   21698 
   21699 # Commands necessary for linking programs (against libraries) with templates.
   21700 prelink_cmds=$lt_prelink_cmds_CXX
   21701 
   21702 # Specify filename containing input files.
   21703 file_list_spec=$lt_file_list_spec_CXX
   21704 
   21705 # How to hardcode a shared library path into an executable.
   21706 hardcode_action=$hardcode_action_CXX
   21707 
   21708 # The directories searched by this compiler when creating a shared library.
   21709 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   21710 
   21711 # Dependencies to place before and after the objects being linked to
   21712 # create a shared library.
   21713 predep_objects=$lt_predep_objects_CXX
   21714 postdep_objects=$lt_postdep_objects_CXX
   21715 predeps=$lt_predeps_CXX
   21716 postdeps=$lt_postdeps_CXX
   21717 
   21718 # The library search path used internally by the compiler when linking
   21719 # a shared library.
   21720 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   21721 
   21722 # ### END LIBTOOL TAG CONFIG: CXX
   21723 _LT_EOF
   21724 
   21725  ;;
   21726     "default-1":C)
   21727     for ac_file in $CONFIG_FILES; do
   21728       # Support "outfile[:infile[:infile...]]"
   21729       case "$ac_file" in
   21730         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   21731       esac
   21732       # PO directories have a Makefile.in generated from Makefile.in.in.
   21733       case "$ac_file" in */Makefile.in)
   21734         # Adjust a relative srcdir.
   21735         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   21736         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   21737         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   21738         # In autoconf-2.13 it is called $ac_given_srcdir.
   21739         # In autoconf-2.50 it is called $srcdir.
   21740         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   21741         case "$ac_given_srcdir" in
   21742           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   21743           /*) top_srcdir="$ac_given_srcdir" ;;
   21744           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   21745         esac
   21746         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   21747           rm -f "$ac_dir/POTFILES"
   21748           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   21749           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   21750           POMAKEFILEDEPS="POTFILES.in"
   21751           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   21752           # on $ac_dir but don't depend on user-specified configuration
   21753           # parameters.
   21754           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   21755             # The LINGUAS file contains the set of available languages.
   21756             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   21757               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
   21758             fi
   21759             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   21760             # Hide the ALL_LINGUAS assigment from automake.
   21761             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   21762             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   21763           else
   21764             # The set of available languages was given in configure.ac.
   21765             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   21766           fi
   21767           case "$ac_given_srcdir" in
   21768             .) srcdirpre= ;;
   21769             *) srcdirpre='$(srcdir)/' ;;
   21770           esac
   21771           POFILES=
   21772           GMOFILES=
   21773           UPDATEPOFILES=
   21774           DUMMYPOFILES=
   21775           for lang in $ALL_LINGUAS; do
   21776             POFILES="$POFILES $srcdirpre$lang.po"
   21777             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   21778             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   21779             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   21780           done
   21781           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   21782           # environment variable.
   21783           INST_LINGUAS=
   21784           if test -n "$ALL_LINGUAS"; then
   21785             for presentlang in $ALL_LINGUAS; do
   21786               useit=no
   21787               if test "%UNSET%" != "$LINGUAS"; then
   21788                 desiredlanguages="$LINGUAS"
   21789               else
   21790                 desiredlanguages="$ALL_LINGUAS"
   21791               fi
   21792               for desiredlang in $desiredlanguages; do
   21793                 # Use the presentlang catalog if desiredlang is
   21794                 #   a. equal to presentlang, or
   21795                 #   b. a variant of presentlang (because in this case,
   21796                 #      presentlang can be used as a fallback for messages
   21797                 #      which are not translated in the desiredlang catalog).
   21798                 case "$desiredlang" in
   21799                   "$presentlang"*) useit=yes;;
   21800                 esac
   21801               done
   21802               if test $useit = yes; then
   21803                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   21804               fi
   21805             done
   21806           fi
   21807           CATALOGS=
   21808           if test -n "$INST_LINGUAS"; then
   21809             for lang in $INST_LINGUAS; do
   21810               CATALOGS="$CATALOGS $lang.gmo"
   21811             done
   21812           fi
   21813           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   21814           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"
   21815           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   21816             if test -f "$f"; then
   21817               case "$f" in
   21818                 *.orig | *.bak | *~) ;;
   21819                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   21820               esac
   21821             fi
   21822           done
   21823         fi
   21824         ;;
   21825       esac
   21826     done ;;
   21827     "default":C)
   21828 case "$srcdir" in
   21829   .) srcdirpre= ;;
   21830   *) srcdirpre='$(srcdir)/' ;;
   21831 esac
   21832 POFILES=
   21833 GMOFILES=
   21834 for lang in dummy $OBSOLETE_ALL_LINGUAS; do
   21835   if test $lang != dummy; then
   21836     POFILES="$POFILES $srcdirpre$lang.po"
   21837     GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   21838   fi
   21839 done
   21840 sed -e '/^SRC-POTFILES =/r po/SRC-POTFILES' \
   21841     -e '/^BLD-POTFILES =/r po/BLD-POTFILES' \
   21842     -e "s,@POFILES@,$POFILES," \
   21843     -e "s,@GMOFILES@,$GMOFILES," \
   21844     po/Makefile.in > po/Makefile ;;
   21845 
   21846   esac
   21847 done # for ac_tag
   21848 
   21849 
   21850 as_fn_exit 0
   21851 _ACEOF
   21852 ac_clean_files=$ac_clean_files_save
   21853 
   21854 test $ac_write_fail = 0 ||
   21855   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21856 
   21857 
   21858 # configure is writing to config.log, and then calls config.status.
   21859 # config.status does its own redirection, appending to config.log.
   21860 # Unfortunately, on DOS this fails, as config.log is still kept open
   21861 # by configure, so config.status won't be able to write to it; its
   21862 # output is simply discarded.  So we exec the FD to /dev/null,
   21863 # effectively closing config.log, so it can be properly (re)opened and
   21864 # appended to by config.status.  When coming back to configure, we
   21865 # need to make the FD available again.
   21866 if test "$no_create" != yes; then
   21867   ac_cs_success=:
   21868   ac_config_status_args=
   21869   test "$silent" = yes &&
   21870     ac_config_status_args="$ac_config_status_args --quiet"
   21871   exec 5>/dev/null
   21872   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21873   exec 5>>config.log
   21874   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21875   # would make configure fail if this is the last instruction.
   21876   $ac_cs_success || as_fn_exit 1
   21877 fi
   21878 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21879   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21880 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21881 fi
   21882 
   21883 
   21884 
   21885 touch config.status.tmp
   21886 if touch --reference=config.status config.status.tmp > /dev/null 2>&1; then
   21887   sed '/as_fn_exit 0/i \
   21888 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
   21889 touch --reference=Makefile Makefile.tmp \
   21890 mv Makefile.tmp Makefile \
   21891 ' config.status > config.status.tmp
   21892   touch --reference=config.status config.status.tmp
   21893   mv config.status.tmp config.status
   21894   chmod +x config.status
   21895   sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile > Makefile.tmp
   21896   touch --reference=Makefile Makefile.tmp
   21897   mv Makefile.tmp Makefile
   21898 else
   21899   rm -f config.status.tmp
   21900 fi
   21901