Home | History | Annotate | Line # | Download | only in opcodes
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for opcodes 2.43.50.
      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='opcodes'
    589 PACKAGE_TARNAME='opcodes'
    590 PACKAGE_VERSION='2.43.50'
    591 PACKAGE_STRING='opcodes 2.43.50'
    592 PACKAGE_BUGREPORT=''
    593 PACKAGE_URL=''
    594 
    595 ac_unique_file="z8k-dis.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_subst_vars='am__EXEEXT_FALSE
    634 am__EXEEXT_TRUE
    635 LTLIBOBJS
    636 LIBOBJS
    637 BFD_MACHINES
    638 archdefs
    639 SHARED_DEPENDENCIES
    640 SHARED_LIBADD
    641 SHARED_LDFLAGS
    642 BUILD_LIB_DEPS
    643 BUILD_LIBS
    644 LIBM
    645 cgendir
    646 CGEN_MAINT_FALSE
    647 CGEN_MAINT_TRUE
    648 HDEFINES
    649 ENABLE_BFD_64_BIT_FALSE
    650 ENABLE_BFD_64_BIT_TRUE
    651 EXEEXT_FOR_BUILD
    652 CC_FOR_BUILD
    653 CATOBJEXT
    654 GENCAT
    655 INSTOBJEXT
    656 DATADIRNAME
    657 CATALOGS
    658 INCINTL
    659 LIBINTL_DEP
    660 POSUB
    661 LTLIBINTL
    662 LIBINTL
    663 INTLLIBS
    664 LTLIBICONV
    665 LIBICONV
    666 INTL_MACOSX_LIBS
    667 MSGMERGE
    668 XGETTEXT
    669 GMSGFMT
    670 MSGFMT
    671 USE_NLS
    672 MKINSTALLDIRS
    673 bfdincludedir
    674 bfdlibdir
    675 target_noncanonical
    676 host_noncanonical
    677 INSTALL_LIBBFD_FALSE
    678 INSTALL_LIBBFD_TRUE
    679 MAINT
    680 MAINTAINER_MODE_FALSE
    681 MAINTAINER_MODE_TRUE
    682 WARN_WRITE_STRINGS
    683 NO_WERROR
    684 WARN_CFLAGS_FOR_BUILD
    685 WARN_CFLAGS
    686 OTOOL64
    687 OTOOL
    688 LIPO
    689 NMEDIT
    690 DSYMUTIL
    691 OBJDUMP
    692 LN_S
    693 NM
    694 ac_ct_DUMPBIN
    695 DUMPBIN
    696 LD
    697 FGREP
    698 SED
    699 LIBTOOL
    700 RANLIB
    701 AR
    702 EGREP
    703 GREP
    704 CPP
    705 am__fastdepCC_FALSE
    706 am__fastdepCC_TRUE
    707 CCDEPMODE
    708 am__nodep
    709 AMDEPBACKSLASH
    710 AMDEP_FALSE
    711 AMDEP_TRUE
    712 am__quote
    713 am__include
    714 DEPDIR
    715 OBJEXT
    716 EXEEXT
    717 ac_ct_CC
    718 CPPFLAGS
    719 LDFLAGS
    720 CFLAGS
    721 CC
    722 AM_BACKSLASH
    723 AM_DEFAULT_VERBOSITY
    724 AM_DEFAULT_V
    725 AM_V
    726 am__untar
    727 am__tar
    728 AMTAR
    729 am__leading_dot
    730 SET_MAKE
    731 AWK
    732 mkdir_p
    733 MKDIR_P
    734 INSTALL_STRIP_PROGRAM
    735 STRIP
    736 install_sh
    737 MAKEINFO
    738 AUTOHEADER
    739 AUTOMAKE
    740 AUTOCONF
    741 ACLOCAL
    742 VERSION
    743 PACKAGE
    744 CYGPATH_W
    745 am__isrc
    746 INSTALL_DATA
    747 INSTALL_SCRIPT
    748 INSTALL_PROGRAM
    749 target_os
    750 target_vendor
    751 target_cpu
    752 target
    753 host_os
    754 host_vendor
    755 host_cpu
    756 host
    757 build_os
    758 build_vendor
    759 build_cpu
    760 build
    761 target_alias
    762 host_alias
    763 build_alias
    764 LIBS
    765 ECHO_T
    766 ECHO_N
    767 ECHO_C
    768 DEFS
    769 mandir
    770 localedir
    771 libdir
    772 psdir
    773 pdfdir
    774 dvidir
    775 htmldir
    776 infodir
    777 docdir
    778 oldincludedir
    779 includedir
    780 localstatedir
    781 sharedstatedir
    782 sysconfdir
    783 datadir
    784 datarootdir
    785 libexecdir
    786 sbindir
    787 bindir
    788 program_transform_name
    789 prefix
    790 exec_prefix
    791 PACKAGE_URL
    792 PACKAGE_BUGREPORT
    793 PACKAGE_STRING
    794 PACKAGE_VERSION
    795 PACKAGE_TARNAME
    796 PACKAGE_NAME
    797 PATH_SEPARATOR
    798 SHELL'
    799 ac_subst_files=''
    800 ac_user_opts='
    801 enable_option_checking
    802 enable_silent_rules
    803 enable_dependency_tracking
    804 enable_shared
    805 enable_static
    806 with_pic
    807 enable_fast_install
    808 with_gnu_ld
    809 enable_libtool_lock
    810 enable_checking
    811 enable_targets
    812 enable_werror
    813 enable_build_warnings
    814 enable_maintainer_mode
    815 enable_install_libbfd
    816 enable_nls
    817 enable_rpath
    818 with_libiconv_prefix
    819 with_libiconv_type
    820 with_libintl_prefix
    821 with_libintl_type
    822 enable_64_bit_bfd
    823 enable_cgen_maint
    824 '
    825       ac_precious_vars='build_alias
    826 host_alias
    827 target_alias
    828 CC
    829 CFLAGS
    830 LDFLAGS
    831 LIBS
    832 CPPFLAGS
    833 CPP'
    834 
    835 
    836 # Initialize some variables set by options.
    837 ac_init_help=
    838 ac_init_version=false
    839 ac_unrecognized_opts=
    840 ac_unrecognized_sep=
    841 # The variables have the same names as the options, with
    842 # dashes changed to underlines.
    843 cache_file=/dev/null
    844 exec_prefix=NONE
    845 no_create=
    846 no_recursion=
    847 prefix=NONE
    848 program_prefix=NONE
    849 program_suffix=NONE
    850 program_transform_name=s,x,x,
    851 silent=
    852 site=
    853 srcdir=
    854 verbose=
    855 x_includes=NONE
    856 x_libraries=NONE
    857 
    858 # Installation directory options.
    859 # These are left unexpanded so users can "make install exec_prefix=/foo"
    860 # and all the variables that are supposed to be based on exec_prefix
    861 # by default will actually change.
    862 # Use braces instead of parens because sh, perl, etc. also accept them.
    863 # (The list follows the same order as the GNU Coding Standards.)
    864 bindir='${exec_prefix}/bin'
    865 sbindir='${exec_prefix}/sbin'
    866 libexecdir='${exec_prefix}/libexec'
    867 datarootdir='${prefix}/share'
    868 datadir='${datarootdir}'
    869 sysconfdir='${prefix}/etc'
    870 sharedstatedir='${prefix}/com'
    871 localstatedir='${prefix}/var'
    872 includedir='${prefix}/include'
    873 oldincludedir='/usr/include'
    874 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    875 infodir='${datarootdir}/info'
    876 htmldir='${docdir}'
    877 dvidir='${docdir}'
    878 pdfdir='${docdir}'
    879 psdir='${docdir}'
    880 libdir='${exec_prefix}/lib'
    881 localedir='${datarootdir}/locale'
    882 mandir='${datarootdir}/man'
    883 
    884 ac_prev=
    885 ac_dashdash=
    886 for ac_option
    887 do
    888   # If the previous option needs an argument, assign it.
    889   if test -n "$ac_prev"; then
    890     eval $ac_prev=\$ac_option
    891     ac_prev=
    892     continue
    893   fi
    894 
    895   case $ac_option in
    896   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    897   *=)   ac_optarg= ;;
    898   *)    ac_optarg=yes ;;
    899   esac
    900 
    901   # Accept the important Cygnus configure options, so we can diagnose typos.
    902 
    903   case $ac_dashdash$ac_option in
    904   --)
    905     ac_dashdash=yes ;;
    906 
    907   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    908     ac_prev=bindir ;;
    909   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    910     bindir=$ac_optarg ;;
    911 
    912   -build | --build | --buil | --bui | --bu)
    913     ac_prev=build_alias ;;
    914   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    915     build_alias=$ac_optarg ;;
    916 
    917   -cache-file | --cache-file | --cache-fil | --cache-fi \
    918   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    919     ac_prev=cache_file ;;
    920   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    921   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    922     cache_file=$ac_optarg ;;
    923 
    924   --config-cache | -C)
    925     cache_file=config.cache ;;
    926 
    927   -datadir | --datadir | --datadi | --datad)
    928     ac_prev=datadir ;;
    929   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    930     datadir=$ac_optarg ;;
    931 
    932   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    933   | --dataroo | --dataro | --datar)
    934     ac_prev=datarootdir ;;
    935   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    936   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    937     datarootdir=$ac_optarg ;;
    938 
    939   -disable-* | --disable-*)
    940     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    941     # Reject names that are not valid shell variable names.
    942     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    943       as_fn_error $? "invalid feature name: $ac_useropt"
    944     ac_useropt_orig=$ac_useropt
    945     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    946     case $ac_user_opts in
    947       *"
    948 "enable_$ac_useropt"
    949 "*) ;;
    950       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    951 	 ac_unrecognized_sep=', ';;
    952     esac
    953     eval enable_$ac_useropt=no ;;
    954 
    955   -docdir | --docdir | --docdi | --doc | --do)
    956     ac_prev=docdir ;;
    957   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    958     docdir=$ac_optarg ;;
    959 
    960   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    961     ac_prev=dvidir ;;
    962   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    963     dvidir=$ac_optarg ;;
    964 
    965   -enable-* | --enable-*)
    966     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    967     # Reject names that are not valid shell variable names.
    968     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    969       as_fn_error $? "invalid feature name: $ac_useropt"
    970     ac_useropt_orig=$ac_useropt
    971     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    972     case $ac_user_opts in
    973       *"
    974 "enable_$ac_useropt"
    975 "*) ;;
    976       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    977 	 ac_unrecognized_sep=', ';;
    978     esac
    979     eval enable_$ac_useropt=\$ac_optarg ;;
    980 
    981   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    982   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    983   | --exec | --exe | --ex)
    984     ac_prev=exec_prefix ;;
    985   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    986   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    987   | --exec=* | --exe=* | --ex=*)
    988     exec_prefix=$ac_optarg ;;
    989 
    990   -gas | --gas | --ga | --g)
    991     # Obsolete; use --with-gas.
    992     with_gas=yes ;;
    993 
    994   -help | --help | --hel | --he | -h)
    995     ac_init_help=long ;;
    996   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    997     ac_init_help=recursive ;;
    998   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    999     ac_init_help=short ;;
   1000 
   1001   -host | --host | --hos | --ho)
   1002     ac_prev=host_alias ;;
   1003   -host=* | --host=* | --hos=* | --ho=*)
   1004     host_alias=$ac_optarg ;;
   1005 
   1006   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1007     ac_prev=htmldir ;;
   1008   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1009   | --ht=*)
   1010     htmldir=$ac_optarg ;;
   1011 
   1012   -includedir | --includedir | --includedi | --included | --include \
   1013   | --includ | --inclu | --incl | --inc)
   1014     ac_prev=includedir ;;
   1015   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1016   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1017     includedir=$ac_optarg ;;
   1018 
   1019   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1020     ac_prev=infodir ;;
   1021   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1022     infodir=$ac_optarg ;;
   1023 
   1024   -libdir | --libdir | --libdi | --libd)
   1025     ac_prev=libdir ;;
   1026   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1027     libdir=$ac_optarg ;;
   1028 
   1029   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1030   | --libexe | --libex | --libe)
   1031     ac_prev=libexecdir ;;
   1032   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1033   | --libexe=* | --libex=* | --libe=*)
   1034     libexecdir=$ac_optarg ;;
   1035 
   1036   -localedir | --localedir | --localedi | --localed | --locale)
   1037     ac_prev=localedir ;;
   1038   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1039     localedir=$ac_optarg ;;
   1040 
   1041   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1042   | --localstate | --localstat | --localsta | --localst | --locals)
   1043     ac_prev=localstatedir ;;
   1044   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1045   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1046     localstatedir=$ac_optarg ;;
   1047 
   1048   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1049     ac_prev=mandir ;;
   1050   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1051     mandir=$ac_optarg ;;
   1052 
   1053   -nfp | --nfp | --nf)
   1054     # Obsolete; use --without-fp.
   1055     with_fp=no ;;
   1056 
   1057   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1058   | --no-cr | --no-c | -n)
   1059     no_create=yes ;;
   1060 
   1061   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1062   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1063     no_recursion=yes ;;
   1064 
   1065   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1066   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1067   | --oldin | --oldi | --old | --ol | --o)
   1068     ac_prev=oldincludedir ;;
   1069   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1070   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1071   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1072     oldincludedir=$ac_optarg ;;
   1073 
   1074   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1075     ac_prev=prefix ;;
   1076   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1077     prefix=$ac_optarg ;;
   1078 
   1079   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1080   | --program-pre | --program-pr | --program-p)
   1081     ac_prev=program_prefix ;;
   1082   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1083   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1084     program_prefix=$ac_optarg ;;
   1085 
   1086   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1087   | --program-suf | --program-su | --program-s)
   1088     ac_prev=program_suffix ;;
   1089   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1090   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1091     program_suffix=$ac_optarg ;;
   1092 
   1093   -program-transform-name | --program-transform-name \
   1094   | --program-transform-nam | --program-transform-na \
   1095   | --program-transform-n | --program-transform- \
   1096   | --program-transform | --program-transfor \
   1097   | --program-transfo | --program-transf \
   1098   | --program-trans | --program-tran \
   1099   | --progr-tra | --program-tr | --program-t)
   1100     ac_prev=program_transform_name ;;
   1101   -program-transform-name=* | --program-transform-name=* \
   1102   | --program-transform-nam=* | --program-transform-na=* \
   1103   | --program-transform-n=* | --program-transform-=* \
   1104   | --program-transform=* | --program-transfor=* \
   1105   | --program-transfo=* | --program-transf=* \
   1106   | --program-trans=* | --program-tran=* \
   1107   | --progr-tra=* | --program-tr=* | --program-t=*)
   1108     program_transform_name=$ac_optarg ;;
   1109 
   1110   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1111     ac_prev=pdfdir ;;
   1112   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1113     pdfdir=$ac_optarg ;;
   1114 
   1115   -psdir | --psdir | --psdi | --psd | --ps)
   1116     ac_prev=psdir ;;
   1117   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1118     psdir=$ac_optarg ;;
   1119 
   1120   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1121   | -silent | --silent | --silen | --sile | --sil)
   1122     silent=yes ;;
   1123 
   1124   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1125     ac_prev=sbindir ;;
   1126   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1127   | --sbi=* | --sb=*)
   1128     sbindir=$ac_optarg ;;
   1129 
   1130   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1131   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1132   | --sharedst | --shareds | --shared | --share | --shar \
   1133   | --sha | --sh)
   1134     ac_prev=sharedstatedir ;;
   1135   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1136   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1137   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1138   | --sha=* | --sh=*)
   1139     sharedstatedir=$ac_optarg ;;
   1140 
   1141   -site | --site | --sit)
   1142     ac_prev=site ;;
   1143   -site=* | --site=* | --sit=*)
   1144     site=$ac_optarg ;;
   1145 
   1146   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1147     ac_prev=srcdir ;;
   1148   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1149     srcdir=$ac_optarg ;;
   1150 
   1151   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1152   | --syscon | --sysco | --sysc | --sys | --sy)
   1153     ac_prev=sysconfdir ;;
   1154   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1155   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1156     sysconfdir=$ac_optarg ;;
   1157 
   1158   -target | --target | --targe | --targ | --tar | --ta | --t)
   1159     ac_prev=target_alias ;;
   1160   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1161     target_alias=$ac_optarg ;;
   1162 
   1163   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1164     verbose=yes ;;
   1165 
   1166   -version | --version | --versio | --versi | --vers | -V)
   1167     ac_init_version=: ;;
   1168 
   1169   -with-* | --with-*)
   1170     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1171     # Reject names that are not valid shell variable names.
   1172     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1173       as_fn_error $? "invalid package name: $ac_useropt"
   1174     ac_useropt_orig=$ac_useropt
   1175     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1176     case $ac_user_opts in
   1177       *"
   1178 "with_$ac_useropt"
   1179 "*) ;;
   1180       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1181 	 ac_unrecognized_sep=', ';;
   1182     esac
   1183     eval with_$ac_useropt=\$ac_optarg ;;
   1184 
   1185   -without-* | --without-*)
   1186     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1187     # Reject names that are not valid shell variable names.
   1188     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1189       as_fn_error $? "invalid package name: $ac_useropt"
   1190     ac_useropt_orig=$ac_useropt
   1191     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1192     case $ac_user_opts in
   1193       *"
   1194 "with_$ac_useropt"
   1195 "*) ;;
   1196       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1197 	 ac_unrecognized_sep=', ';;
   1198     esac
   1199     eval with_$ac_useropt=no ;;
   1200 
   1201   --x)
   1202     # Obsolete; use --with-x.
   1203     with_x=yes ;;
   1204 
   1205   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1206   | --x-incl | --x-inc | --x-in | --x-i)
   1207     ac_prev=x_includes ;;
   1208   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1209   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1210     x_includes=$ac_optarg ;;
   1211 
   1212   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1213   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1214     ac_prev=x_libraries ;;
   1215   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1216   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1217     x_libraries=$ac_optarg ;;
   1218 
   1219   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1220 Try \`$0 --help' for more information"
   1221     ;;
   1222 
   1223   *=*)
   1224     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1225     # Reject names that are not valid shell variable names.
   1226     case $ac_envvar in #(
   1227       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1228       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1229     esac
   1230     eval $ac_envvar=\$ac_optarg
   1231     export $ac_envvar ;;
   1232 
   1233   *)
   1234     # FIXME: should be removed in autoconf 3.0.
   1235     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1236     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1237       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1238     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1239     ;;
   1240 
   1241   esac
   1242 done
   1243 
   1244 if test -n "$ac_prev"; then
   1245   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1246   as_fn_error $? "missing argument to $ac_option"
   1247 fi
   1248 
   1249 if test -n "$ac_unrecognized_opts"; then
   1250   case $enable_option_checking in
   1251     no) ;;
   1252     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1253     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1254   esac
   1255 fi
   1256 
   1257 # Check all directory arguments for consistency.
   1258 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1259 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1260 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1261 		libdir localedir mandir
   1262 do
   1263   eval ac_val=\$$ac_var
   1264   # Remove trailing slashes.
   1265   case $ac_val in
   1266     */ )
   1267       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1268       eval $ac_var=\$ac_val;;
   1269   esac
   1270   # Be sure to have absolute directory names.
   1271   case $ac_val in
   1272     [\\/$]* | ?:[\\/]* )  continue;;
   1273     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1274   esac
   1275   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1276 done
   1277 
   1278 # There might be people who depend on the old broken behavior: `$host'
   1279 # used to hold the argument of --host etc.
   1280 # FIXME: To remove some day.
   1281 build=$build_alias
   1282 host=$host_alias
   1283 target=$target_alias
   1284 
   1285 # FIXME: To remove some day.
   1286 if test "x$host_alias" != x; then
   1287   if test "x$build_alias" = x; then
   1288     cross_compiling=maybe
   1289   elif test "x$build_alias" != "x$host_alias"; then
   1290     cross_compiling=yes
   1291   fi
   1292 fi
   1293 
   1294 ac_tool_prefix=
   1295 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1296 
   1297 test "$silent" = yes && exec 6>/dev/null
   1298 
   1299 
   1300 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1301 ac_ls_di=`ls -di .` &&
   1302 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1303   as_fn_error $? "working directory cannot be determined"
   1304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1305   as_fn_error $? "pwd does not report name of working directory"
   1306 
   1307 
   1308 # Find the source files, if location was not specified.
   1309 if test -z "$srcdir"; then
   1310   ac_srcdir_defaulted=yes
   1311   # Try the directory containing this script, then the parent directory.
   1312   ac_confdir=`$as_dirname -- "$as_myself" ||
   1313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1314 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1315 	 X"$as_myself" : 'X\(//\)$' \| \
   1316 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1317 $as_echo X"$as_myself" |
   1318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1319 	    s//\1/
   1320 	    q
   1321 	  }
   1322 	  /^X\(\/\/\)[^/].*/{
   1323 	    s//\1/
   1324 	    q
   1325 	  }
   1326 	  /^X\(\/\/\)$/{
   1327 	    s//\1/
   1328 	    q
   1329 	  }
   1330 	  /^X\(\/\).*/{
   1331 	    s//\1/
   1332 	    q
   1333 	  }
   1334 	  s/.*/./; q'`
   1335   srcdir=$ac_confdir
   1336   if test ! -r "$srcdir/$ac_unique_file"; then
   1337     srcdir=..
   1338   fi
   1339 else
   1340   ac_srcdir_defaulted=no
   1341 fi
   1342 if test ! -r "$srcdir/$ac_unique_file"; then
   1343   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1344   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1345 fi
   1346 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1347 ac_abs_confdir=`(
   1348 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1349 	pwd)`
   1350 # When building in place, set srcdir=.
   1351 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1352   srcdir=.
   1353 fi
   1354 # Remove unnecessary trailing slashes from srcdir.
   1355 # Double slashes in file names in object file debugging info
   1356 # mess up M-x gdb in Emacs.
   1357 case $srcdir in
   1358 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1359 esac
   1360 for ac_var in $ac_precious_vars; do
   1361   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1362   eval ac_env_${ac_var}_value=\$${ac_var}
   1363   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1364   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1365 done
   1366 
   1367 #
   1368 # Report the --help message.
   1369 #
   1370 if test "$ac_init_help" = "long"; then
   1371   # Omit some internal or obsolete options to make the list less imposing.
   1372   # This message is too long to be a string in the A/UX 3.1 sh.
   1373   cat <<_ACEOF
   1374 \`configure' configures opcodes 2.43.50 to adapt to many kinds of systems.
   1375 
   1376 Usage: $0 [OPTION]... [VAR=VALUE]...
   1377 
   1378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1379 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1380 
   1381 Defaults for the options are specified in brackets.
   1382 
   1383 Configuration:
   1384   -h, --help              display this help and exit
   1385       --help=short        display options specific to this package
   1386       --help=recursive    display the short help of all the included packages
   1387   -V, --version           display version information and exit
   1388   -q, --quiet, --silent   do not print \`checking ...' messages
   1389       --cache-file=FILE   cache test results in FILE [disabled]
   1390   -C, --config-cache      alias for \`--cache-file=config.cache'
   1391   -n, --no-create         do not create output files
   1392       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1393 
   1394 Installation directories:
   1395   --prefix=PREFIX         install architecture-independent files in PREFIX
   1396                           [$ac_default_prefix]
   1397   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1398                           [PREFIX]
   1399 
   1400 By default, \`make install' will install all the files in
   1401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1403 for instance \`--prefix=\$HOME'.
   1404 
   1405 For better control, use the options below.
   1406 
   1407 Fine tuning of the installation directories:
   1408   --bindir=DIR            user executables [EPREFIX/bin]
   1409   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1410   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1411   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1412   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1413   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1414   --libdir=DIR            object code libraries [EPREFIX/lib]
   1415   --includedir=DIR        C header files [PREFIX/include]
   1416   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1417   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1418   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1419   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1420   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1421   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1422   --docdir=DIR            documentation root [DATAROOTDIR/doc/opcodes]
   1423   --htmldir=DIR           html documentation [DOCDIR]
   1424   --dvidir=DIR            dvi documentation [DOCDIR]
   1425   --pdfdir=DIR            pdf documentation [DOCDIR]
   1426   --psdir=DIR             ps documentation [DOCDIR]
   1427 _ACEOF
   1428 
   1429   cat <<\_ACEOF
   1430 
   1431 Program names:
   1432   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1433   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1434   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1435 
   1436 System types:
   1437   --build=BUILD     configure for building on BUILD [guessed]
   1438   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1439   --target=TARGET   configure for building compilers for TARGET [HOST]
   1440 _ACEOF
   1441 fi
   1442 
   1443 if test -n "$ac_init_help"; then
   1444   case $ac_init_help in
   1445      short | recursive ) echo "Configuration of opcodes 2.43.50:";;
   1446    esac
   1447   cat <<\_ACEOF
   1448 
   1449 Optional Features:
   1450   --disable-option-checking  ignore unrecognized --enable/--with options
   1451   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1452   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1453   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1454   --disable-silent-rules  verbose build output (undo: "make V=0")
   1455   --enable-dependency-tracking
   1456                           do not reject slow dependency extractors
   1457   --disable-dependency-tracking
   1458                           speeds up one-time build
   1459   --enable-shared[=PKGS]  build shared libraries [default=no]
   1460   --enable-static[=PKGS]  build static libraries [default=yes]
   1461   --enable-fast-install[=PKGS]
   1462                           optimize for fast installation [default=yes]
   1463   --disable-libtool-lock  avoid locking (might break parallel builds)
   1464   --enable-checking       enable run-time checks
   1465   --enable-targets        alternative target configurations
   1466   --enable-werror         treat compile warnings as errors
   1467   --enable-build-warnings enable build-time compiler warnings
   1468   --enable-maintainer-mode
   1469                           enable make rules and dependencies not useful (and
   1470                           sometimes confusing) to the casual installer
   1471   --enable-install-libbfd controls installation of libbfd and related headers
   1472   --disable-nls           do not use Native Language Support
   1473   --disable-rpath         do not hardcode runtime library paths
   1474   --enable-64-bit-bfd     64-bit support (on hosts with narrower word sizes)
   1475   --enable-cgen-maint=dir    build cgen generated files
   1476 
   1477 Optional Packages:
   1478   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1479   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1480   --with-pic              try to use only PIC/non-PIC objects [default=use
   1481                           both]
   1482   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1483   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1484   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1485   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1486   --with-libiconv-type=TYPE     type of library to search for (auto/static/shared)
   1487   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1488   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1489   --with-libintl-type=TYPE     type of library to search for (auto/static/shared)
   1490 
   1491 Some influential environment variables:
   1492   CC          C compiler command
   1493   CFLAGS      C compiler flags
   1494   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1495               nonstandard directory <lib dir>
   1496   LIBS        libraries to pass to the linker, e.g. -l<library>
   1497   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1498               you have headers in a nonstandard directory <include dir>
   1499   CPP         C preprocessor
   1500 
   1501 Use these variables to override the choices made by `configure' or to help
   1502 it to find libraries and programs with nonstandard names/locations.
   1503 
   1504 Report bugs to the package provider.
   1505 _ACEOF
   1506 ac_status=$?
   1507 fi
   1508 
   1509 if test "$ac_init_help" = "recursive"; then
   1510   # If there are subdirs, report their specific --help.
   1511   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1512     test -d "$ac_dir" ||
   1513       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1514       continue
   1515     ac_builddir=.
   1516 
   1517 case "$ac_dir" in
   1518 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1519 *)
   1520   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1521   # A ".." for each directory in $ac_dir_suffix.
   1522   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1523   case $ac_top_builddir_sub in
   1524   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1525   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1526   esac ;;
   1527 esac
   1528 ac_abs_top_builddir=$ac_pwd
   1529 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1530 # for backward compatibility:
   1531 ac_top_builddir=$ac_top_build_prefix
   1532 
   1533 case $srcdir in
   1534   .)  # We are building in place.
   1535     ac_srcdir=.
   1536     ac_top_srcdir=$ac_top_builddir_sub
   1537     ac_abs_top_srcdir=$ac_pwd ;;
   1538   [\\/]* | ?:[\\/]* )  # Absolute name.
   1539     ac_srcdir=$srcdir$ac_dir_suffix;
   1540     ac_top_srcdir=$srcdir
   1541     ac_abs_top_srcdir=$srcdir ;;
   1542   *) # Relative name.
   1543     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1544     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1545     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1546 esac
   1547 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1548 
   1549     cd "$ac_dir" || { ac_status=$?; continue; }
   1550     # Check for guested configure.
   1551     if test -f "$ac_srcdir/configure.gnu"; then
   1552       echo &&
   1553       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1554     elif test -f "$ac_srcdir/configure"; then
   1555       echo &&
   1556       $SHELL "$ac_srcdir/configure" --help=recursive
   1557     else
   1558       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1559     fi || ac_status=$?
   1560     cd "$ac_pwd" || { ac_status=$?; break; }
   1561   done
   1562 fi
   1563 
   1564 test -n "$ac_init_help" && exit $ac_status
   1565 if $ac_init_version; then
   1566   cat <<\_ACEOF
   1567 opcodes configure 2.43.50
   1568 generated by GNU Autoconf 2.69
   1569 
   1570 Copyright (C) 2012 Free Software Foundation, Inc.
   1571 This configure script is free software; the Free Software Foundation
   1572 gives unlimited permission to copy, distribute and modify it.
   1573 _ACEOF
   1574   exit
   1575 fi
   1576 
   1577 ## ------------------------ ##
   1578 ## Autoconf initialization. ##
   1579 ## ------------------------ ##
   1580 
   1581 # ac_fn_c_try_compile LINENO
   1582 # --------------------------
   1583 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1584 ac_fn_c_try_compile ()
   1585 {
   1586   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1587   rm -f conftest.$ac_objext
   1588   if { { ac_try="$ac_compile"
   1589 case "(($ac_try" in
   1590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1591   *) ac_try_echo=$ac_try;;
   1592 esac
   1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1594 $as_echo "$ac_try_echo"; } >&5
   1595   (eval "$ac_compile") 2>conftest.err
   1596   ac_status=$?
   1597   if test -s conftest.err; then
   1598     grep -v '^ *+' conftest.err >conftest.er1
   1599     cat conftest.er1 >&5
   1600     mv -f conftest.er1 conftest.err
   1601   fi
   1602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1603   test $ac_status = 0; } && {
   1604 	 test -z "$ac_c_werror_flag" ||
   1605 	 test ! -s conftest.err
   1606        } && test -s conftest.$ac_objext; then :
   1607   ac_retval=0
   1608 else
   1609   $as_echo "$as_me: failed program was:" >&5
   1610 sed 's/^/| /' conftest.$ac_ext >&5
   1611 
   1612 	ac_retval=1
   1613 fi
   1614   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1615   as_fn_set_status $ac_retval
   1616 
   1617 } # ac_fn_c_try_compile
   1618 
   1619 # ac_fn_c_try_cpp LINENO
   1620 # ----------------------
   1621 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1622 ac_fn_c_try_cpp ()
   1623 {
   1624   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1625   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1626 case "(($ac_try" in
   1627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1628   *) ac_try_echo=$ac_try;;
   1629 esac
   1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1631 $as_echo "$ac_try_echo"; } >&5
   1632   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1633   ac_status=$?
   1634   if test -s conftest.err; then
   1635     grep -v '^ *+' conftest.err >conftest.er1
   1636     cat conftest.er1 >&5
   1637     mv -f conftest.er1 conftest.err
   1638   fi
   1639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1640   test $ac_status = 0; } > conftest.i && {
   1641 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1642 	 test ! -s conftest.err
   1643        }; then :
   1644   ac_retval=0
   1645 else
   1646   $as_echo "$as_me: failed program was:" >&5
   1647 sed 's/^/| /' conftest.$ac_ext >&5
   1648 
   1649     ac_retval=1
   1650 fi
   1651   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1652   as_fn_set_status $ac_retval
   1653 
   1654 } # ac_fn_c_try_cpp
   1655 
   1656 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1657 # -------------------------------------------------------
   1658 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1659 # the include files in INCLUDES and setting the cache variable VAR
   1660 # accordingly.
   1661 ac_fn_c_check_header_mongrel ()
   1662 {
   1663   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1664   if eval \${$3+:} false; then :
   1665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1666 $as_echo_n "checking for $2... " >&6; }
   1667 if eval \${$3+:} false; then :
   1668   $as_echo_n "(cached) " >&6
   1669 fi
   1670 eval ac_res=\$$3
   1671 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1672 $as_echo "$ac_res" >&6; }
   1673 else
   1674   # Is the header compilable?
   1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1676 $as_echo_n "checking $2 usability... " >&6; }
   1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1678 /* end confdefs.h.  */
   1679 $4
   1680 #include <$2>
   1681 _ACEOF
   1682 if ac_fn_c_try_compile "$LINENO"; then :
   1683   ac_header_compiler=yes
   1684 else
   1685   ac_header_compiler=no
   1686 fi
   1687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1689 $as_echo "$ac_header_compiler" >&6; }
   1690 
   1691 # Is the header present?
   1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1693 $as_echo_n "checking $2 presence... " >&6; }
   1694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1695 /* end confdefs.h.  */
   1696 #include <$2>
   1697 _ACEOF
   1698 if ac_fn_c_try_cpp "$LINENO"; then :
   1699   ac_header_preproc=yes
   1700 else
   1701   ac_header_preproc=no
   1702 fi
   1703 rm -f conftest.err conftest.i conftest.$ac_ext
   1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1705 $as_echo "$ac_header_preproc" >&6; }
   1706 
   1707 # So?  What about this header?
   1708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1709   yes:no: )
   1710     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1711 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1712     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1713 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1714     ;;
   1715   no:yes:* )
   1716     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1717 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1718     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1719 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1720     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1721 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1722     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1723 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1724     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1726     ;;
   1727 esac
   1728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1729 $as_echo_n "checking for $2... " >&6; }
   1730 if eval \${$3+:} false; then :
   1731   $as_echo_n "(cached) " >&6
   1732 else
   1733   eval "$3=\$ac_header_compiler"
   1734 fi
   1735 eval ac_res=\$$3
   1736 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1737 $as_echo "$ac_res" >&6; }
   1738 fi
   1739   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1740 
   1741 } # ac_fn_c_check_header_mongrel
   1742 
   1743 # ac_fn_c_try_run LINENO
   1744 # ----------------------
   1745 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1746 # that executables *can* be run.
   1747 ac_fn_c_try_run ()
   1748 {
   1749   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1750   if { { ac_try="$ac_link"
   1751 case "(($ac_try" in
   1752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1753   *) ac_try_echo=$ac_try;;
   1754 esac
   1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1756 $as_echo "$ac_try_echo"; } >&5
   1757   (eval "$ac_link") 2>&5
   1758   ac_status=$?
   1759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1760   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1761   { { case "(($ac_try" in
   1762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1763   *) ac_try_echo=$ac_try;;
   1764 esac
   1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1766 $as_echo "$ac_try_echo"; } >&5
   1767   (eval "$ac_try") 2>&5
   1768   ac_status=$?
   1769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1770   test $ac_status = 0; }; }; then :
   1771   ac_retval=0
   1772 else
   1773   $as_echo "$as_me: program exited with status $ac_status" >&5
   1774        $as_echo "$as_me: failed program was:" >&5
   1775 sed 's/^/| /' conftest.$ac_ext >&5
   1776 
   1777        ac_retval=$ac_status
   1778 fi
   1779   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1780   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1781   as_fn_set_status $ac_retval
   1782 
   1783 } # ac_fn_c_try_run
   1784 
   1785 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1786 # -------------------------------------------------------
   1787 # Tests whether HEADER exists and can be compiled using the include files in
   1788 # INCLUDES, setting the cache variable VAR accordingly.
   1789 ac_fn_c_check_header_compile ()
   1790 {
   1791   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1793 $as_echo_n "checking for $2... " >&6; }
   1794 if eval \${$3+:} false; then :
   1795   $as_echo_n "(cached) " >&6
   1796 else
   1797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1798 /* end confdefs.h.  */
   1799 $4
   1800 #include <$2>
   1801 _ACEOF
   1802 if ac_fn_c_try_compile "$LINENO"; then :
   1803   eval "$3=yes"
   1804 else
   1805   eval "$3=no"
   1806 fi
   1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1808 fi
   1809 eval ac_res=\$$3
   1810 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1811 $as_echo "$ac_res" >&6; }
   1812   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1813 
   1814 } # ac_fn_c_check_header_compile
   1815 
   1816 # ac_fn_c_try_link LINENO
   1817 # -----------------------
   1818 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1819 ac_fn_c_try_link ()
   1820 {
   1821   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1822   rm -f conftest.$ac_objext conftest$ac_exeext
   1823   if { { ac_try="$ac_link"
   1824 case "(($ac_try" in
   1825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1826   *) ac_try_echo=$ac_try;;
   1827 esac
   1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1829 $as_echo "$ac_try_echo"; } >&5
   1830   (eval "$ac_link") 2>conftest.err
   1831   ac_status=$?
   1832   if test -s conftest.err; then
   1833     grep -v '^ *+' conftest.err >conftest.er1
   1834     cat conftest.er1 >&5
   1835     mv -f conftest.er1 conftest.err
   1836   fi
   1837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1838   test $ac_status = 0; } && {
   1839 	 test -z "$ac_c_werror_flag" ||
   1840 	 test ! -s conftest.err
   1841        } && test -s conftest$ac_exeext && {
   1842 	 test "$cross_compiling" = yes ||
   1843 	 test -x conftest$ac_exeext
   1844        }; then :
   1845   ac_retval=0
   1846 else
   1847   $as_echo "$as_me: failed program was:" >&5
   1848 sed 's/^/| /' conftest.$ac_ext >&5
   1849 
   1850 	ac_retval=1
   1851 fi
   1852   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1853   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1854   # interfere with the next link command; also delete a directory that is
   1855   # left behind by Apple's compiler.  We do this before executing the actions.
   1856   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1857   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1858   as_fn_set_status $ac_retval
   1859 
   1860 } # ac_fn_c_try_link
   1861 
   1862 # ac_fn_c_check_func LINENO FUNC VAR
   1863 # ----------------------------------
   1864 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1865 ac_fn_c_check_func ()
   1866 {
   1867   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1869 $as_echo_n "checking for $2... " >&6; }
   1870 if eval \${$3+:} false; then :
   1871   $as_echo_n "(cached) " >&6
   1872 else
   1873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1874 /* end confdefs.h.  */
   1875 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1876    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1877 #define $2 innocuous_$2
   1878 
   1879 /* System header to define __stub macros and hopefully few prototypes,
   1880     which can conflict with char $2 (); below.
   1881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1882     <limits.h> exists even on freestanding compilers.  */
   1883 
   1884 #ifdef __STDC__
   1885 # include <limits.h>
   1886 #else
   1887 # include <assert.h>
   1888 #endif
   1889 
   1890 #undef $2
   1891 
   1892 /* Override any GCC internal prototype to avoid an error.
   1893    Use char because int might match the return type of a GCC
   1894    builtin and then its argument prototype would still apply.  */
   1895 #ifdef __cplusplus
   1896 extern "C"
   1897 #endif
   1898 char $2 ();
   1899 /* The GNU C library defines this for functions which it implements
   1900     to always fail with ENOSYS.  Some functions are actually named
   1901     something starting with __ and the normal name is an alias.  */
   1902 #if defined __stub_$2 || defined __stub___$2
   1903 choke me
   1904 #endif
   1905 
   1906 int
   1907 main ()
   1908 {
   1909 return $2 ();
   1910   ;
   1911   return 0;
   1912 }
   1913 _ACEOF
   1914 if ac_fn_c_try_link "$LINENO"; then :
   1915   eval "$3=yes"
   1916 else
   1917   eval "$3=no"
   1918 fi
   1919 rm -f core conftest.err conftest.$ac_objext \
   1920     conftest$ac_exeext conftest.$ac_ext
   1921 fi
   1922 eval ac_res=\$$3
   1923 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1924 $as_echo "$ac_res" >&6; }
   1925   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1926 
   1927 } # ac_fn_c_check_func
   1928 
   1929 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   1930 # --------------------------------------------
   1931 # Tries to find the compile-time value of EXPR in a program that includes
   1932 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   1933 # computed
   1934 ac_fn_c_compute_int ()
   1935 {
   1936   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1937   if test "$cross_compiling" = yes; then
   1938     # Depending upon the size, compute the lo and hi bounds.
   1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1940 /* end confdefs.h.  */
   1941 $4
   1942 int
   1943 main ()
   1944 {
   1945 static int test_array [1 - 2 * !(($2) >= 0)];
   1946 test_array [0] = 0;
   1947 return test_array [0];
   1948 
   1949   ;
   1950   return 0;
   1951 }
   1952 _ACEOF
   1953 if ac_fn_c_try_compile "$LINENO"; then :
   1954   ac_lo=0 ac_mid=0
   1955   while :; do
   1956     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1957 /* end confdefs.h.  */
   1958 $4
   1959 int
   1960 main ()
   1961 {
   1962 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1963 test_array [0] = 0;
   1964 return test_array [0];
   1965 
   1966   ;
   1967   return 0;
   1968 }
   1969 _ACEOF
   1970 if ac_fn_c_try_compile "$LINENO"; then :
   1971   ac_hi=$ac_mid; break
   1972 else
   1973   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   1974 			if test $ac_lo -le $ac_mid; then
   1975 			  ac_lo= ac_hi=
   1976 			  break
   1977 			fi
   1978 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   1979 fi
   1980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1981   done
   1982 else
   1983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1984 /* end confdefs.h.  */
   1985 $4
   1986 int
   1987 main ()
   1988 {
   1989 static int test_array [1 - 2 * !(($2) < 0)];
   1990 test_array [0] = 0;
   1991 return test_array [0];
   1992 
   1993   ;
   1994   return 0;
   1995 }
   1996 _ACEOF
   1997 if ac_fn_c_try_compile "$LINENO"; then :
   1998   ac_hi=-1 ac_mid=-1
   1999   while :; do
   2000     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2001 /* end confdefs.h.  */
   2002 $4
   2003 int
   2004 main ()
   2005 {
   2006 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2007 test_array [0] = 0;
   2008 return test_array [0];
   2009 
   2010   ;
   2011   return 0;
   2012 }
   2013 _ACEOF
   2014 if ac_fn_c_try_compile "$LINENO"; then :
   2015   ac_lo=$ac_mid; break
   2016 else
   2017   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2018 			if test $ac_mid -le $ac_hi; then
   2019 			  ac_lo= ac_hi=
   2020 			  break
   2021 			fi
   2022 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2023 fi
   2024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2025   done
   2026 else
   2027   ac_lo= ac_hi=
   2028 fi
   2029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2030 fi
   2031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2032 # Binary search between lo and hi bounds.
   2033 while test "x$ac_lo" != "x$ac_hi"; do
   2034   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2036 /* end confdefs.h.  */
   2037 $4
   2038 int
   2039 main ()
   2040 {
   2041 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2042 test_array [0] = 0;
   2043 return test_array [0];
   2044 
   2045   ;
   2046   return 0;
   2047 }
   2048 _ACEOF
   2049 if ac_fn_c_try_compile "$LINENO"; then :
   2050   ac_hi=$ac_mid
   2051 else
   2052   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2053 fi
   2054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2055 done
   2056 case $ac_lo in #((
   2057 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2058 '') ac_retval=1 ;;
   2059 esac
   2060   else
   2061     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2062 /* end confdefs.h.  */
   2063 $4
   2064 static long int longval () { return $2; }
   2065 static unsigned long int ulongval () { return $2; }
   2066 #include <stdio.h>
   2067 #include <stdlib.h>
   2068 int
   2069 main ()
   2070 {
   2071 
   2072   FILE *f = fopen ("conftest.val", "w");
   2073   if (! f)
   2074     return 1;
   2075   if (($2) < 0)
   2076     {
   2077       long int i = longval ();
   2078       if (i != ($2))
   2079 	return 1;
   2080       fprintf (f, "%ld", i);
   2081     }
   2082   else
   2083     {
   2084       unsigned long int i = ulongval ();
   2085       if (i != ($2))
   2086 	return 1;
   2087       fprintf (f, "%lu", i);
   2088     }
   2089   /* Do not output a trailing newline, as this causes \r\n confusion
   2090      on some platforms.  */
   2091   return ferror (f) || fclose (f) != 0;
   2092 
   2093   ;
   2094   return 0;
   2095 }
   2096 _ACEOF
   2097 if ac_fn_c_try_run "$LINENO"; then :
   2098   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2099 else
   2100   ac_retval=1
   2101 fi
   2102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2103   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2104 rm -f conftest.val
   2105 
   2106   fi
   2107   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2108   as_fn_set_status $ac_retval
   2109 
   2110 } # ac_fn_c_compute_int
   2111 
   2112 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2113 # ---------------------------------------------
   2114 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2115 # accordingly.
   2116 ac_fn_c_check_decl ()
   2117 {
   2118   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2119   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2120   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2122 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2123 if eval \${$3+:} false; then :
   2124   $as_echo_n "(cached) " >&6
   2125 else
   2126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2127 /* end confdefs.h.  */
   2128 $4
   2129 int
   2130 main ()
   2131 {
   2132 #ifndef $as_decl_name
   2133 #ifdef __cplusplus
   2134   (void) $as_decl_use;
   2135 #else
   2136   (void) $as_decl_name;
   2137 #endif
   2138 #endif
   2139 
   2140   ;
   2141   return 0;
   2142 }
   2143 _ACEOF
   2144 if ac_fn_c_try_compile "$LINENO"; then :
   2145   eval "$3=yes"
   2146 else
   2147   eval "$3=no"
   2148 fi
   2149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2150 fi
   2151 eval ac_res=\$$3
   2152 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2153 $as_echo "$ac_res" >&6; }
   2154   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2155 
   2156 } # ac_fn_c_check_decl
   2157 cat >config.log <<_ACEOF
   2158 This file contains any messages produced by compilers while
   2159 running configure, to aid debugging if configure makes a mistake.
   2160 
   2161 It was created by opcodes $as_me 2.43.50, which was
   2162 generated by GNU Autoconf 2.69.  Invocation command line was
   2163 
   2164   $ $0 $@
   2165 
   2166 _ACEOF
   2167 exec 5>>config.log
   2168 {
   2169 cat <<_ASUNAME
   2170 ## --------- ##
   2171 ## Platform. ##
   2172 ## --------- ##
   2173 
   2174 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2175 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2176 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2177 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2178 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2179 
   2180 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2181 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2182 
   2183 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2184 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2185 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2186 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2187 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2188 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2189 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2190 
   2191 _ASUNAME
   2192 
   2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2194 for as_dir in $PATH
   2195 do
   2196   IFS=$as_save_IFS
   2197   test -z "$as_dir" && as_dir=.
   2198     $as_echo "PATH: $as_dir"
   2199   done
   2200 IFS=$as_save_IFS
   2201 
   2202 } >&5
   2203 
   2204 cat >&5 <<_ACEOF
   2205 
   2206 
   2207 ## ----------- ##
   2208 ## Core tests. ##
   2209 ## ----------- ##
   2210 
   2211 _ACEOF
   2212 
   2213 
   2214 # Keep a trace of the command line.
   2215 # Strip out --no-create and --no-recursion so they do not pile up.
   2216 # Strip out --silent because we don't want to record it for future runs.
   2217 # Also quote any args containing shell meta-characters.
   2218 # Make two passes to allow for proper duplicate-argument suppression.
   2219 ac_configure_args=
   2220 ac_configure_args0=
   2221 ac_configure_args1=
   2222 ac_must_keep_next=false
   2223 for ac_pass in 1 2
   2224 do
   2225   for ac_arg
   2226   do
   2227     case $ac_arg in
   2228     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2229     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2230     | -silent | --silent | --silen | --sile | --sil)
   2231       continue ;;
   2232     *\'*)
   2233       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2234     esac
   2235     case $ac_pass in
   2236     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2237     2)
   2238       as_fn_append ac_configure_args1 " '$ac_arg'"
   2239       if test $ac_must_keep_next = true; then
   2240 	ac_must_keep_next=false # Got value, back to normal.
   2241       else
   2242 	case $ac_arg in
   2243 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2244 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2245 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2246 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2247 	    case "$ac_configure_args0 " in
   2248 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2249 	    esac
   2250 	    ;;
   2251 	  -* ) ac_must_keep_next=true ;;
   2252 	esac
   2253       fi
   2254       as_fn_append ac_configure_args " '$ac_arg'"
   2255       ;;
   2256     esac
   2257   done
   2258 done
   2259 { ac_configure_args0=; unset ac_configure_args0;}
   2260 { ac_configure_args1=; unset ac_configure_args1;}
   2261 
   2262 # When interrupted or exit'd, cleanup temporary files, and complete
   2263 # config.log.  We remove comments because anyway the quotes in there
   2264 # would cause problems or look ugly.
   2265 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2266 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2267 trap 'exit_status=$?
   2268   # Save into config.log some information that might help in debugging.
   2269   {
   2270     echo
   2271 
   2272     $as_echo "## ---------------- ##
   2273 ## Cache variables. ##
   2274 ## ---------------- ##"
   2275     echo
   2276     # The following way of writing the cache mishandles newlines in values,
   2277 (
   2278   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2279     eval ac_val=\$$ac_var
   2280     case $ac_val in #(
   2281     *${as_nl}*)
   2282       case $ac_var in #(
   2283       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2284 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2285       esac
   2286       case $ac_var in #(
   2287       _ | IFS | as_nl) ;; #(
   2288       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2289       *) { eval $ac_var=; unset $ac_var;} ;;
   2290       esac ;;
   2291     esac
   2292   done
   2293   (set) 2>&1 |
   2294     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2295     *${as_nl}ac_space=\ *)
   2296       sed -n \
   2297 	"s/'\''/'\''\\\\'\'''\''/g;
   2298 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2299       ;; #(
   2300     *)
   2301       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2302       ;;
   2303     esac |
   2304     sort
   2305 )
   2306     echo
   2307 
   2308     $as_echo "## ----------------- ##
   2309 ## Output variables. ##
   2310 ## ----------------- ##"
   2311     echo
   2312     for ac_var in $ac_subst_vars
   2313     do
   2314       eval ac_val=\$$ac_var
   2315       case $ac_val in
   2316       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2317       esac
   2318       $as_echo "$ac_var='\''$ac_val'\''"
   2319     done | sort
   2320     echo
   2321 
   2322     if test -n "$ac_subst_files"; then
   2323       $as_echo "## ------------------- ##
   2324 ## File substitutions. ##
   2325 ## ------------------- ##"
   2326       echo
   2327       for ac_var in $ac_subst_files
   2328       do
   2329 	eval ac_val=\$$ac_var
   2330 	case $ac_val in
   2331 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2332 	esac
   2333 	$as_echo "$ac_var='\''$ac_val'\''"
   2334       done | sort
   2335       echo
   2336     fi
   2337 
   2338     if test -s confdefs.h; then
   2339       $as_echo "## ----------- ##
   2340 ## confdefs.h. ##
   2341 ## ----------- ##"
   2342       echo
   2343       cat confdefs.h
   2344       echo
   2345     fi
   2346     test "$ac_signal" != 0 &&
   2347       $as_echo "$as_me: caught signal $ac_signal"
   2348     $as_echo "$as_me: exit $exit_status"
   2349   } >&5
   2350   rm -f core *.core core.conftest.* &&
   2351     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2352     exit $exit_status
   2353 ' 0
   2354 for ac_signal in 1 2 13 15; do
   2355   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2356 done
   2357 ac_signal=0
   2358 
   2359 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2360 rm -f -r conftest* confdefs.h
   2361 
   2362 $as_echo "/* confdefs.h */" > confdefs.h
   2363 
   2364 # Predefined preprocessor variables.
   2365 
   2366 cat >>confdefs.h <<_ACEOF
   2367 #define PACKAGE_NAME "$PACKAGE_NAME"
   2368 _ACEOF
   2369 
   2370 cat >>confdefs.h <<_ACEOF
   2371 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2372 _ACEOF
   2373 
   2374 cat >>confdefs.h <<_ACEOF
   2375 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2376 _ACEOF
   2377 
   2378 cat >>confdefs.h <<_ACEOF
   2379 #define PACKAGE_STRING "$PACKAGE_STRING"
   2380 _ACEOF
   2381 
   2382 cat >>confdefs.h <<_ACEOF
   2383 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2384 _ACEOF
   2385 
   2386 cat >>confdefs.h <<_ACEOF
   2387 #define PACKAGE_URL "$PACKAGE_URL"
   2388 _ACEOF
   2389 
   2390 
   2391 # Let the site file select an alternate cache file if it wants to.
   2392 # Prefer an explicitly selected file to automatically selected ones.
   2393 ac_site_file1=NONE
   2394 ac_site_file2=NONE
   2395 if test -n "$CONFIG_SITE"; then
   2396   # We do not want a PATH search for config.site.
   2397   case $CONFIG_SITE in #((
   2398     -*)  ac_site_file1=./$CONFIG_SITE;;
   2399     */*) ac_site_file1=$CONFIG_SITE;;
   2400     *)   ac_site_file1=./$CONFIG_SITE;;
   2401   esac
   2402 elif test "x$prefix" != xNONE; then
   2403   ac_site_file1=$prefix/share/config.site
   2404   ac_site_file2=$prefix/etc/config.site
   2405 else
   2406   ac_site_file1=$ac_default_prefix/share/config.site
   2407   ac_site_file2=$ac_default_prefix/etc/config.site
   2408 fi
   2409 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2410 do
   2411   test "x$ac_site_file" = xNONE && continue
   2412   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2413     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2414 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2415     sed 's/^/| /' "$ac_site_file" >&5
   2416     . "$ac_site_file" \
   2417       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2419 as_fn_error $? "failed to load site script $ac_site_file
   2420 See \`config.log' for more details" "$LINENO" 5; }
   2421   fi
   2422 done
   2423 
   2424 if test -r "$cache_file"; then
   2425   # Some versions of bash will fail to source /dev/null (special files
   2426   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2427   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2428     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2429 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2430     case $cache_file in
   2431       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2432       *)                      . "./$cache_file";;
   2433     esac
   2434   fi
   2435 else
   2436   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2437 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2438   >$cache_file
   2439 fi
   2440 
   2441 gt_needs="$gt_needs "
   2442 # Check that the precious variables saved in the cache have kept the same
   2443 # value.
   2444 ac_cache_corrupted=false
   2445 for ac_var in $ac_precious_vars; do
   2446   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2447   eval ac_new_set=\$ac_env_${ac_var}_set
   2448   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2449   eval ac_new_val=\$ac_env_${ac_var}_value
   2450   case $ac_old_set,$ac_new_set in
   2451     set,)
   2452       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2453 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2454       ac_cache_corrupted=: ;;
   2455     ,set)
   2456       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2457 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2458       ac_cache_corrupted=: ;;
   2459     ,);;
   2460     *)
   2461       if test "x$ac_old_val" != "x$ac_new_val"; then
   2462 	# differences in whitespace do not lead to failure.
   2463 	ac_old_val_w=`echo x $ac_old_val`
   2464 	ac_new_val_w=`echo x $ac_new_val`
   2465 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2466 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2467 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2468 	  ac_cache_corrupted=:
   2469 	else
   2470 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2471 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2472 	  eval $ac_var=\$ac_old_val
   2473 	fi
   2474 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2475 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2476 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2477 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2478       fi;;
   2479   esac
   2480   # Pass precious variables to config.status.
   2481   if test "$ac_new_set" = set; then
   2482     case $ac_new_val in
   2483     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2484     *) ac_arg=$ac_var=$ac_new_val ;;
   2485     esac
   2486     case " $ac_configure_args " in
   2487       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2488       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2489     esac
   2490   fi
   2491 done
   2492 if $ac_cache_corrupted; then
   2493   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2495   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2496 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2497   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2498 fi
   2499 ## -------------------- ##
   2500 ## Main body of script. ##
   2501 ## -------------------- ##
   2502 
   2503 ac_ext=c
   2504 ac_cpp='$CPP $CPPFLAGS'
   2505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2508 
   2509 
   2510 
   2511 
   2512 
   2513 
   2514 
   2515 ac_aux_dir=
   2516 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2517   if test -f "$ac_dir/install-sh"; then
   2518     ac_aux_dir=$ac_dir
   2519     ac_install_sh="$ac_aux_dir/install-sh -c"
   2520     break
   2521   elif test -f "$ac_dir/install.sh"; then
   2522     ac_aux_dir=$ac_dir
   2523     ac_install_sh="$ac_aux_dir/install.sh -c"
   2524     break
   2525   elif test -f "$ac_dir/shtool"; then
   2526     ac_aux_dir=$ac_dir
   2527     ac_install_sh="$ac_aux_dir/shtool install -c"
   2528     break
   2529   fi
   2530 done
   2531 if test -z "$ac_aux_dir"; then
   2532   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2533 fi
   2534 
   2535 # These three variables are undocumented and unsupported,
   2536 # and are intended to be withdrawn in a future Autoconf release.
   2537 # They can cause serious problems if a builder's source tree is in a directory
   2538 # whose full name contains unusual characters.
   2539 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2540 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2541 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2542 
   2543 
   2544 # Make sure we can run config.sub.
   2545 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2546   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2547 
   2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2549 $as_echo_n "checking build system type... " >&6; }
   2550 if ${ac_cv_build+:} false; then :
   2551   $as_echo_n "(cached) " >&6
   2552 else
   2553   ac_build_alias=$build_alias
   2554 test "x$ac_build_alias" = x &&
   2555   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2556 test "x$ac_build_alias" = x &&
   2557   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2558 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2559   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2560 
   2561 fi
   2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2563 $as_echo "$ac_cv_build" >&6; }
   2564 case $ac_cv_build in
   2565 *-*-*) ;;
   2566 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2567 esac
   2568 build=$ac_cv_build
   2569 ac_save_IFS=$IFS; IFS='-'
   2570 set x $ac_cv_build
   2571 shift
   2572 build_cpu=$1
   2573 build_vendor=$2
   2574 shift; shift
   2575 # Remember, the first character of IFS is used to create $*,
   2576 # except with old shells:
   2577 build_os=$*
   2578 IFS=$ac_save_IFS
   2579 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2580 
   2581 
   2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2583 $as_echo_n "checking host system type... " >&6; }
   2584 if ${ac_cv_host+:} false; then :
   2585   $as_echo_n "(cached) " >&6
   2586 else
   2587   if test "x$host_alias" = x; then
   2588   ac_cv_host=$ac_cv_build
   2589 else
   2590   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2591     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2592 fi
   2593 
   2594 fi
   2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2596 $as_echo "$ac_cv_host" >&6; }
   2597 case $ac_cv_host in
   2598 *-*-*) ;;
   2599 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2600 esac
   2601 host=$ac_cv_host
   2602 ac_save_IFS=$IFS; IFS='-'
   2603 set x $ac_cv_host
   2604 shift
   2605 host_cpu=$1
   2606 host_vendor=$2
   2607 shift; shift
   2608 # Remember, the first character of IFS is used to create $*,
   2609 # except with old shells:
   2610 host_os=$*
   2611 IFS=$ac_save_IFS
   2612 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2613 
   2614 
   2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2616 $as_echo_n "checking target system type... " >&6; }
   2617 if ${ac_cv_target+:} false; then :
   2618   $as_echo_n "(cached) " >&6
   2619 else
   2620   if test "x$target_alias" = x; then
   2621   ac_cv_target=$ac_cv_host
   2622 else
   2623   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2624     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2625 fi
   2626 
   2627 fi
   2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2629 $as_echo "$ac_cv_target" >&6; }
   2630 case $ac_cv_target in
   2631 *-*-*) ;;
   2632 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2633 esac
   2634 target=$ac_cv_target
   2635 ac_save_IFS=$IFS; IFS='-'
   2636 set x $ac_cv_target
   2637 shift
   2638 target_cpu=$1
   2639 target_vendor=$2
   2640 shift; shift
   2641 # Remember, the first character of IFS is used to create $*,
   2642 # except with old shells:
   2643 target_os=$*
   2644 IFS=$ac_save_IFS
   2645 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2646 
   2647 
   2648 # The aliases save the names the user supplied, while $host etc.
   2649 # will get canonicalized.
   2650 test -n "$target_alias" &&
   2651   test "$program_prefix$program_suffix$program_transform_name" = \
   2652     NONENONEs,x,x, &&
   2653   program_prefix=${target_alias}-
   2654 
   2655 am__api_version='1.15'
   2656 
   2657 # Find a good install program.  We prefer a C program (faster),
   2658 # so one script is as good as another.  But avoid the broken or
   2659 # incompatible versions:
   2660 # SysV /etc/install, /usr/sbin/install
   2661 # SunOS /usr/etc/install
   2662 # IRIX /sbin/install
   2663 # AIX /bin/install
   2664 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2665 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2666 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2667 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2668 # OS/2's system install, which has a completely different semantic
   2669 # ./install, which can be erroneously created by make from ./install.sh.
   2670 # Reject install programs that cannot install multiple files.
   2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2672 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2673 if test -z "$INSTALL"; then
   2674 if ${ac_cv_path_install+:} false; then :
   2675   $as_echo_n "(cached) " >&6
   2676 else
   2677   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2678 for as_dir in $PATH
   2679 do
   2680   IFS=$as_save_IFS
   2681   test -z "$as_dir" && as_dir=.
   2682     # Account for people who put trailing slashes in PATH elements.
   2683 case $as_dir/ in #((
   2684   ./ | .// | /[cC]/* | \
   2685   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2686   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2687   /usr/ucb/* ) ;;
   2688   *)
   2689     # OSF1 and SCO ODT 3.0 have their own names for install.
   2690     # Don't use installbsd from OSF since it installs stuff as root
   2691     # by default.
   2692     for ac_prog in ginstall scoinst install; do
   2693       for ac_exec_ext in '' $ac_executable_extensions; do
   2694 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2695 	  if test $ac_prog = install &&
   2696 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2697 	    # AIX install.  It has an incompatible calling convention.
   2698 	    :
   2699 	  elif test $ac_prog = install &&
   2700 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2701 	    # program-specific install script used by HP pwplus--don't use.
   2702 	    :
   2703 	  else
   2704 	    rm -rf conftest.one conftest.two conftest.dir
   2705 	    echo one > conftest.one
   2706 	    echo two > conftest.two
   2707 	    mkdir conftest.dir
   2708 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2709 	      test -s conftest.one && test -s conftest.two &&
   2710 	      test -s conftest.dir/conftest.one &&
   2711 	      test -s conftest.dir/conftest.two
   2712 	    then
   2713 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2714 	      break 3
   2715 	    fi
   2716 	  fi
   2717 	fi
   2718       done
   2719     done
   2720     ;;
   2721 esac
   2722 
   2723   done
   2724 IFS=$as_save_IFS
   2725 
   2726 rm -rf conftest.one conftest.two conftest.dir
   2727 
   2728 fi
   2729   if test "${ac_cv_path_install+set}" = set; then
   2730     INSTALL=$ac_cv_path_install
   2731   else
   2732     # As a last resort, use the slow shell script.  Don't cache a
   2733     # value for INSTALL within a source directory, because that will
   2734     # break other packages using the cache if that directory is
   2735     # removed, or if the value is a relative name.
   2736     INSTALL=$ac_install_sh
   2737   fi
   2738 fi
   2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2740 $as_echo "$INSTALL" >&6; }
   2741 
   2742 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2743 # It thinks the first close brace ends the variable substitution.
   2744 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2745 
   2746 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2747 
   2748 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2749 
   2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2751 $as_echo_n "checking whether build environment is sane... " >&6; }
   2752 # Reject unsafe characters in $srcdir or the absolute working directory
   2753 # name.  Accept space and tab only in the latter.
   2754 am_lf='
   2755 '
   2756 case `pwd` in
   2757   *[\\\"\#\$\&\'\`$am_lf]*)
   2758     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2759 esac
   2760 case $srcdir in
   2761   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2762     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2763 esac
   2764 
   2765 # Do 'set' in a subshell so we don't clobber the current shell's
   2766 # arguments.  Must try -L first in case configure is actually a
   2767 # symlink; some systems play weird games with the mod time of symlinks
   2768 # (eg FreeBSD returns the mod time of the symlink's containing
   2769 # directory).
   2770 if (
   2771    am_has_slept=no
   2772    for am_try in 1 2; do
   2773      echo "timestamp, slept: $am_has_slept" > conftest.file
   2774      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2775      if test "$*" = "X"; then
   2776 	# -L didn't work.
   2777 	set X `ls -t "$srcdir/configure" conftest.file`
   2778      fi
   2779      if test "$*" != "X $srcdir/configure conftest.file" \
   2780 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2781 
   2782 	# If neither matched, then we have a broken ls.  This can happen
   2783 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2784 	# broken ls alias from the environment.  This has actually
   2785 	# happened.  Such a system could not be considered "sane".
   2786 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2787   alias in your environment" "$LINENO" 5
   2788      fi
   2789      if test "$2" = conftest.file || test $am_try -eq 2; then
   2790        break
   2791      fi
   2792      # Just in case.
   2793      sleep 1
   2794      am_has_slept=yes
   2795    done
   2796    test "$2" = conftest.file
   2797    )
   2798 then
   2799    # Ok.
   2800    :
   2801 else
   2802    as_fn_error $? "newly created file is older than distributed files!
   2803 Check your system clock" "$LINENO" 5
   2804 fi
   2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2806 $as_echo "yes" >&6; }
   2807 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2808 # generated files are strictly newer.
   2809 am_sleep_pid=
   2810 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2811   ( sleep 1 ) &
   2812   am_sleep_pid=$!
   2813 fi
   2814 
   2815 rm -f conftest.file
   2816 
   2817 test "$program_prefix" != NONE &&
   2818   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2819 # Use a double $ so make ignores it.
   2820 test "$program_suffix" != NONE &&
   2821   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2822 # Double any \ or $.
   2823 # By default was `s,x,x', remove it if useless.
   2824 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2825 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2826 
   2827 # Expand $ac_aux_dir to an absolute path.
   2828 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2829 
   2830 if test x"${MISSING+set}" != xset; then
   2831   case $am_aux_dir in
   2832   *\ * | *\	*)
   2833     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2834   *)
   2835     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2836   esac
   2837 fi
   2838 # Use eval to expand $SHELL
   2839 if eval "$MISSING --is-lightweight"; then
   2840   am_missing_run="$MISSING "
   2841 else
   2842   am_missing_run=
   2843   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2844 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2845 fi
   2846 
   2847 if test x"${install_sh+set}" != xset; then
   2848   case $am_aux_dir in
   2849   *\ * | *\	*)
   2850     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2851   *)
   2852     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2853   esac
   2854 fi
   2855 
   2856 # Installed binaries are usually stripped using 'strip' when the user
   2857 # run "make install-strip".  However 'strip' might not be the right
   2858 # tool to use in cross-compilation environments, therefore Automake
   2859 # will honor the 'STRIP' environment variable to overrule this program.
   2860 if test "$cross_compiling" != no; then
   2861   if test -n "$ac_tool_prefix"; then
   2862   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2863 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2865 $as_echo_n "checking for $ac_word... " >&6; }
   2866 if ${ac_cv_prog_STRIP+:} false; then :
   2867   $as_echo_n "(cached) " >&6
   2868 else
   2869   if test -n "$STRIP"; then
   2870   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2871 else
   2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2873 for as_dir in $PATH
   2874 do
   2875   IFS=$as_save_IFS
   2876   test -z "$as_dir" && as_dir=.
   2877     for ac_exec_ext in '' $ac_executable_extensions; do
   2878   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2879     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2881     break 2
   2882   fi
   2883 done
   2884   done
   2885 IFS=$as_save_IFS
   2886 
   2887 fi
   2888 fi
   2889 STRIP=$ac_cv_prog_STRIP
   2890 if test -n "$STRIP"; then
   2891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2892 $as_echo "$STRIP" >&6; }
   2893 else
   2894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2895 $as_echo "no" >&6; }
   2896 fi
   2897 
   2898 
   2899 fi
   2900 if test -z "$ac_cv_prog_STRIP"; then
   2901   ac_ct_STRIP=$STRIP
   2902   # Extract the first word of "strip", so it can be a program name with args.
   2903 set dummy strip; ac_word=$2
   2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2905 $as_echo_n "checking for $ac_word... " >&6; }
   2906 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2907   $as_echo_n "(cached) " >&6
   2908 else
   2909   if test -n "$ac_ct_STRIP"; then
   2910   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2911 else
   2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2913 for as_dir in $PATH
   2914 do
   2915   IFS=$as_save_IFS
   2916   test -z "$as_dir" && as_dir=.
   2917     for ac_exec_ext in '' $ac_executable_extensions; do
   2918   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2919     ac_cv_prog_ac_ct_STRIP="strip"
   2920     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2921     break 2
   2922   fi
   2923 done
   2924   done
   2925 IFS=$as_save_IFS
   2926 
   2927 fi
   2928 fi
   2929 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2930 if test -n "$ac_ct_STRIP"; then
   2931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2932 $as_echo "$ac_ct_STRIP" >&6; }
   2933 else
   2934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2935 $as_echo "no" >&6; }
   2936 fi
   2937 
   2938   if test "x$ac_ct_STRIP" = x; then
   2939     STRIP=":"
   2940   else
   2941     case $cross_compiling:$ac_tool_warned in
   2942 yes:)
   2943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2945 ac_tool_warned=yes ;;
   2946 esac
   2947     STRIP=$ac_ct_STRIP
   2948   fi
   2949 else
   2950   STRIP="$ac_cv_prog_STRIP"
   2951 fi
   2952 
   2953 fi
   2954 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2955 
   2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2957 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2958 if test -z "$MKDIR_P"; then
   2959   if ${ac_cv_path_mkdir+:} false; then :
   2960   $as_echo_n "(cached) " >&6
   2961 else
   2962   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2963 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2964 do
   2965   IFS=$as_save_IFS
   2966   test -z "$as_dir" && as_dir=.
   2967     for ac_prog in mkdir gmkdir; do
   2968 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2969 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2970 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2971 	     'mkdir (GNU coreutils) '* | \
   2972 	     'mkdir (coreutils) '* | \
   2973 	     'mkdir (fileutils) '4.1*)
   2974 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2975 	       break 3;;
   2976 	   esac
   2977 	 done
   2978        done
   2979   done
   2980 IFS=$as_save_IFS
   2981 
   2982 fi
   2983 
   2984   test -d ./--version && rmdir ./--version
   2985   if test "${ac_cv_path_mkdir+set}" = set; then
   2986     MKDIR_P="$ac_cv_path_mkdir -p"
   2987   else
   2988     # As a last resort, use the slow shell script.  Don't cache a
   2989     # value for MKDIR_P within a source directory, because that will
   2990     # break other packages using the cache if that directory is
   2991     # removed, or if the value is a relative name.
   2992     MKDIR_P="$ac_install_sh -d"
   2993   fi
   2994 fi
   2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2996 $as_echo "$MKDIR_P" >&6; }
   2997 
   2998 for ac_prog in gawk mawk nawk awk
   2999 do
   3000   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3001 set dummy $ac_prog; ac_word=$2
   3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3003 $as_echo_n "checking for $ac_word... " >&6; }
   3004 if ${ac_cv_prog_AWK+:} false; then :
   3005   $as_echo_n "(cached) " >&6
   3006 else
   3007   if test -n "$AWK"; then
   3008   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3009 else
   3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3011 for as_dir in $PATH
   3012 do
   3013   IFS=$as_save_IFS
   3014   test -z "$as_dir" && as_dir=.
   3015     for ac_exec_ext in '' $ac_executable_extensions; do
   3016   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3017     ac_cv_prog_AWK="$ac_prog"
   3018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3019     break 2
   3020   fi
   3021 done
   3022   done
   3023 IFS=$as_save_IFS
   3024 
   3025 fi
   3026 fi
   3027 AWK=$ac_cv_prog_AWK
   3028 if test -n "$AWK"; then
   3029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3030 $as_echo "$AWK" >&6; }
   3031 else
   3032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3033 $as_echo "no" >&6; }
   3034 fi
   3035 
   3036 
   3037   test -n "$AWK" && break
   3038 done
   3039 
   3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3041 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3042 set x ${MAKE-make}
   3043 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3044 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3045   $as_echo_n "(cached) " >&6
   3046 else
   3047   cat >conftest.make <<\_ACEOF
   3048 SHELL = /bin/sh
   3049 all:
   3050 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3051 _ACEOF
   3052 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3053 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3054   *@@@%%%=?*=@@@%%%*)
   3055     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3056   *)
   3057     eval ac_cv_prog_make_${ac_make}_set=no;;
   3058 esac
   3059 rm -f conftest.make
   3060 fi
   3061 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3063 $as_echo "yes" >&6; }
   3064   SET_MAKE=
   3065 else
   3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3067 $as_echo "no" >&6; }
   3068   SET_MAKE="MAKE=${MAKE-make}"
   3069 fi
   3070 
   3071 rm -rf .tst 2>/dev/null
   3072 mkdir .tst 2>/dev/null
   3073 if test -d .tst; then
   3074   am__leading_dot=.
   3075 else
   3076   am__leading_dot=_
   3077 fi
   3078 rmdir .tst 2>/dev/null
   3079 
   3080 # Check whether --enable-silent-rules was given.
   3081 if test "${enable_silent_rules+set}" = set; then :
   3082   enableval=$enable_silent_rules;
   3083 fi
   3084 
   3085 case $enable_silent_rules in # (((
   3086   yes) AM_DEFAULT_VERBOSITY=0;;
   3087    no) AM_DEFAULT_VERBOSITY=1;;
   3088     *) AM_DEFAULT_VERBOSITY=1;;
   3089 esac
   3090 am_make=${MAKE-make}
   3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3092 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3093 if ${am_cv_make_support_nested_variables+:} false; then :
   3094   $as_echo_n "(cached) " >&6
   3095 else
   3096   if $as_echo 'TRUE=$(BAR$(V))
   3097 BAR0=false
   3098 BAR1=true
   3099 V=1
   3100 am__doit:
   3101 	@$(TRUE)
   3102 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3103   am_cv_make_support_nested_variables=yes
   3104 else
   3105   am_cv_make_support_nested_variables=no
   3106 fi
   3107 fi
   3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3109 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3110 if test $am_cv_make_support_nested_variables = yes; then
   3111     AM_V='$(V)'
   3112   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3113 else
   3114   AM_V=$AM_DEFAULT_VERBOSITY
   3115   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3116 fi
   3117 AM_BACKSLASH='\'
   3118 
   3119 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3120   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3121   # is not polluted with repeated "-I."
   3122   am__isrc=' -I$(srcdir)'
   3123   # test to see if srcdir already configured
   3124   if test -f $srcdir/config.status; then
   3125     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3126   fi
   3127 fi
   3128 
   3129 # test whether we have cygpath
   3130 if test -z "$CYGPATH_W"; then
   3131   if (cygpath --version) >/dev/null 2>/dev/null; then
   3132     CYGPATH_W='cygpath -w'
   3133   else
   3134     CYGPATH_W=echo
   3135   fi
   3136 fi
   3137 
   3138 
   3139 # Define the identity of the package.
   3140  PACKAGE='opcodes'
   3141  VERSION='2.43.50'
   3142 
   3143 
   3144 cat >>confdefs.h <<_ACEOF
   3145 #define PACKAGE "$PACKAGE"
   3146 _ACEOF
   3147 
   3148 
   3149 cat >>confdefs.h <<_ACEOF
   3150 #define VERSION "$VERSION"
   3151 _ACEOF
   3152 
   3153 # Some tools Automake needs.
   3154 
   3155 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3156 
   3157 
   3158 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3159 
   3160 
   3161 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3162 
   3163 
   3164 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3165 
   3166 
   3167 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3168 
   3169 # For better backward compatibility.  To be removed once Automake 1.9.x
   3170 # dies out for good.  For more background, see:
   3171 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3172 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3173 mkdir_p='$(MKDIR_P)'
   3174 
   3175 # We need awk for the "check" target (and possibly the TAP driver).  The
   3176 # system "awk" is bad on some platforms.
   3177 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3178 # in the wild :-(  We should find a proper way to deprecate it ...
   3179 AMTAR='$${TAR-tar}'
   3180 
   3181 
   3182 # We'll loop over all known methods to create a tar archive until one works.
   3183 _am_tools='gnutar  pax cpio none'
   3184 
   3185 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3186 
   3187 
   3188 
   3189 
   3190 
   3191 
   3192 # POSIX will say in a future version that running "rm -f" with no argument
   3193 # is OK; and we want to be able to make that assumption in our Makefile
   3194 # recipes.  So use an aggressive probe to check that the usage we want is
   3195 # actually supported "in the wild" to an acceptable degree.
   3196 # See automake bug#10828.
   3197 # To make any issue more visible, cause the running configure to be aborted
   3198 # by default if the 'rm' program in use doesn't match our expectations; the
   3199 # user can still override this though.
   3200 if rm -f && rm -fr && rm -rf; then : OK; else
   3201   cat >&2 <<'END'
   3202 Oops!
   3203 
   3204 Your 'rm' program seems unable to run without file operands specified
   3205 on the command line, even when the '-f' option is present.  This is contrary
   3206 to the behaviour of most rm programs out there, and not conforming with
   3207 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3208 
   3209 Please tell bug-automake@gnu.org about your system, including the value
   3210 of your $PATH and any error possibly output before this message.  This
   3211 can help us improve future automake versions.
   3212 
   3213 END
   3214   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3215     echo 'Configuration will proceed anyway, since you have set the' >&2
   3216     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3217     echo >&2
   3218   else
   3219     cat >&2 <<'END'
   3220 Aborting the configuration process, to ensure you take notice of the issue.
   3221 
   3222 You can download and install GNU coreutils to get an 'rm' implementation
   3223 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3224 
   3225 If you want to complete the configuration process using your problematic
   3226 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3227 to "yes", and re-run configure.
   3228 
   3229 END
   3230     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3231   fi
   3232 fi
   3233 
   3234 # Check whether --enable-silent-rules was given.
   3235 if test "${enable_silent_rules+set}" = set; then :
   3236   enableval=$enable_silent_rules;
   3237 fi
   3238 
   3239 case $enable_silent_rules in # (((
   3240   yes) AM_DEFAULT_VERBOSITY=0;;
   3241    no) AM_DEFAULT_VERBOSITY=1;;
   3242     *) AM_DEFAULT_VERBOSITY=0;;
   3243 esac
   3244 am_make=${MAKE-make}
   3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3246 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3247 if ${am_cv_make_support_nested_variables+:} false; then :
   3248   $as_echo_n "(cached) " >&6
   3249 else
   3250   if $as_echo 'TRUE=$(BAR$(V))
   3251 BAR0=false
   3252 BAR1=true
   3253 V=1
   3254 am__doit:
   3255 	@$(TRUE)
   3256 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3257   am_cv_make_support_nested_variables=yes
   3258 else
   3259   am_cv_make_support_nested_variables=no
   3260 fi
   3261 fi
   3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3263 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3264 if test $am_cv_make_support_nested_variables = yes; then
   3265     AM_V='$(V)'
   3266   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3267 else
   3268   AM_V=$AM_DEFAULT_VERBOSITY
   3269   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3270 fi
   3271 AM_BACKSLASH='\'
   3272 
   3273 
   3274 ac_ext=c
   3275 ac_cpp='$CPP $CPPFLAGS'
   3276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3279 if test -n "$ac_tool_prefix"; then
   3280   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3281 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3283 $as_echo_n "checking for $ac_word... " >&6; }
   3284 if ${ac_cv_prog_CC+:} false; then :
   3285   $as_echo_n "(cached) " >&6
   3286 else
   3287   if test -n "$CC"; then
   3288   ac_cv_prog_CC="$CC" # Let the user override the test.
   3289 else
   3290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3291 for as_dir in $PATH
   3292 do
   3293   IFS=$as_save_IFS
   3294   test -z "$as_dir" && as_dir=.
   3295     for ac_exec_ext in '' $ac_executable_extensions; do
   3296   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3297     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3299     break 2
   3300   fi
   3301 done
   3302   done
   3303 IFS=$as_save_IFS
   3304 
   3305 fi
   3306 fi
   3307 CC=$ac_cv_prog_CC
   3308 if test -n "$CC"; then
   3309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3310 $as_echo "$CC" >&6; }
   3311 else
   3312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3313 $as_echo "no" >&6; }
   3314 fi
   3315 
   3316 
   3317 fi
   3318 if test -z "$ac_cv_prog_CC"; then
   3319   ac_ct_CC=$CC
   3320   # Extract the first word of "gcc", so it can be a program name with args.
   3321 set dummy gcc; ac_word=$2
   3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3323 $as_echo_n "checking for $ac_word... " >&6; }
   3324 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3325   $as_echo_n "(cached) " >&6
   3326 else
   3327   if test -n "$ac_ct_CC"; then
   3328   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3329 else
   3330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3331 for as_dir in $PATH
   3332 do
   3333   IFS=$as_save_IFS
   3334   test -z "$as_dir" && as_dir=.
   3335     for ac_exec_ext in '' $ac_executable_extensions; do
   3336   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3337     ac_cv_prog_ac_ct_CC="gcc"
   3338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3339     break 2
   3340   fi
   3341 done
   3342   done
   3343 IFS=$as_save_IFS
   3344 
   3345 fi
   3346 fi
   3347 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3348 if test -n "$ac_ct_CC"; then
   3349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3350 $as_echo "$ac_ct_CC" >&6; }
   3351 else
   3352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3353 $as_echo "no" >&6; }
   3354 fi
   3355 
   3356   if test "x$ac_ct_CC" = x; then
   3357     CC=""
   3358   else
   3359     case $cross_compiling:$ac_tool_warned in
   3360 yes:)
   3361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3363 ac_tool_warned=yes ;;
   3364 esac
   3365     CC=$ac_ct_CC
   3366   fi
   3367 else
   3368   CC="$ac_cv_prog_CC"
   3369 fi
   3370 
   3371 if test -z "$CC"; then
   3372           if test -n "$ac_tool_prefix"; then
   3373     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3374 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3376 $as_echo_n "checking for $ac_word... " >&6; }
   3377 if ${ac_cv_prog_CC+:} false; then :
   3378   $as_echo_n "(cached) " >&6
   3379 else
   3380   if test -n "$CC"; then
   3381   ac_cv_prog_CC="$CC" # Let the user override the test.
   3382 else
   3383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3384 for as_dir in $PATH
   3385 do
   3386   IFS=$as_save_IFS
   3387   test -z "$as_dir" && as_dir=.
   3388     for ac_exec_ext in '' $ac_executable_extensions; do
   3389   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3390     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3392     break 2
   3393   fi
   3394 done
   3395   done
   3396 IFS=$as_save_IFS
   3397 
   3398 fi
   3399 fi
   3400 CC=$ac_cv_prog_CC
   3401 if test -n "$CC"; then
   3402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3403 $as_echo "$CC" >&6; }
   3404 else
   3405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3406 $as_echo "no" >&6; }
   3407 fi
   3408 
   3409 
   3410   fi
   3411 fi
   3412 if test -z "$CC"; then
   3413   # Extract the first word of "cc", so it can be a program name with args.
   3414 set dummy cc; ac_word=$2
   3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3416 $as_echo_n "checking for $ac_word... " >&6; }
   3417 if ${ac_cv_prog_CC+:} false; then :
   3418   $as_echo_n "(cached) " >&6
   3419 else
   3420   if test -n "$CC"; then
   3421   ac_cv_prog_CC="$CC" # Let the user override the test.
   3422 else
   3423   ac_prog_rejected=no
   3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3425 for as_dir in $PATH
   3426 do
   3427   IFS=$as_save_IFS
   3428   test -z "$as_dir" && as_dir=.
   3429     for ac_exec_ext in '' $ac_executable_extensions; do
   3430   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3431     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3432        ac_prog_rejected=yes
   3433        continue
   3434      fi
   3435     ac_cv_prog_CC="cc"
   3436     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3437     break 2
   3438   fi
   3439 done
   3440   done
   3441 IFS=$as_save_IFS
   3442 
   3443 if test $ac_prog_rejected = yes; then
   3444   # We found a bogon in the path, so make sure we never use it.
   3445   set dummy $ac_cv_prog_CC
   3446   shift
   3447   if test $# != 0; then
   3448     # We chose a different compiler from the bogus one.
   3449     # However, it has the same basename, so the bogon will be chosen
   3450     # first if we set CC to just the basename; use the full file name.
   3451     shift
   3452     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3453   fi
   3454 fi
   3455 fi
   3456 fi
   3457 CC=$ac_cv_prog_CC
   3458 if test -n "$CC"; then
   3459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3460 $as_echo "$CC" >&6; }
   3461 else
   3462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3463 $as_echo "no" >&6; }
   3464 fi
   3465 
   3466 
   3467 fi
   3468 if test -z "$CC"; then
   3469   if test -n "$ac_tool_prefix"; then
   3470   for ac_prog in cl.exe
   3471   do
   3472     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3473 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3475 $as_echo_n "checking for $ac_word... " >&6; }
   3476 if ${ac_cv_prog_CC+:} false; then :
   3477   $as_echo_n "(cached) " >&6
   3478 else
   3479   if test -n "$CC"; then
   3480   ac_cv_prog_CC="$CC" # Let the user override the test.
   3481 else
   3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3483 for as_dir in $PATH
   3484 do
   3485   IFS=$as_save_IFS
   3486   test -z "$as_dir" && as_dir=.
   3487     for ac_exec_ext in '' $ac_executable_extensions; do
   3488   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3489     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3491     break 2
   3492   fi
   3493 done
   3494   done
   3495 IFS=$as_save_IFS
   3496 
   3497 fi
   3498 fi
   3499 CC=$ac_cv_prog_CC
   3500 if test -n "$CC"; then
   3501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3502 $as_echo "$CC" >&6; }
   3503 else
   3504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3505 $as_echo "no" >&6; }
   3506 fi
   3507 
   3508 
   3509     test -n "$CC" && break
   3510   done
   3511 fi
   3512 if test -z "$CC"; then
   3513   ac_ct_CC=$CC
   3514   for ac_prog in cl.exe
   3515 do
   3516   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3517 set dummy $ac_prog; ac_word=$2
   3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3519 $as_echo_n "checking for $ac_word... " >&6; }
   3520 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3521   $as_echo_n "(cached) " >&6
   3522 else
   3523   if test -n "$ac_ct_CC"; then
   3524   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3525 else
   3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3527 for as_dir in $PATH
   3528 do
   3529   IFS=$as_save_IFS
   3530   test -z "$as_dir" && as_dir=.
   3531     for ac_exec_ext in '' $ac_executable_extensions; do
   3532   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3533     ac_cv_prog_ac_ct_CC="$ac_prog"
   3534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3535     break 2
   3536   fi
   3537 done
   3538   done
   3539 IFS=$as_save_IFS
   3540 
   3541 fi
   3542 fi
   3543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3544 if test -n "$ac_ct_CC"; then
   3545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3546 $as_echo "$ac_ct_CC" >&6; }
   3547 else
   3548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3549 $as_echo "no" >&6; }
   3550 fi
   3551 
   3552 
   3553   test -n "$ac_ct_CC" && break
   3554 done
   3555 
   3556   if test "x$ac_ct_CC" = x; then
   3557     CC=""
   3558   else
   3559     case $cross_compiling:$ac_tool_warned in
   3560 yes:)
   3561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3563 ac_tool_warned=yes ;;
   3564 esac
   3565     CC=$ac_ct_CC
   3566   fi
   3567 fi
   3568 
   3569 fi
   3570 
   3571 
   3572 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3574 as_fn_error $? "no acceptable C compiler found in \$PATH
   3575 See \`config.log' for more details" "$LINENO" 5; }
   3576 
   3577 # Provide some information about the compiler.
   3578 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3579 set X $ac_compile
   3580 ac_compiler=$2
   3581 for ac_option in --version -v -V -qversion; do
   3582   { { ac_try="$ac_compiler $ac_option >&5"
   3583 case "(($ac_try" in
   3584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3585   *) ac_try_echo=$ac_try;;
   3586 esac
   3587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3588 $as_echo "$ac_try_echo"; } >&5
   3589   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3590   ac_status=$?
   3591   if test -s conftest.err; then
   3592     sed '10a\
   3593 ... rest of stderr output deleted ...
   3594          10q' conftest.err >conftest.er1
   3595     cat conftest.er1 >&5
   3596   fi
   3597   rm -f conftest.er1 conftest.err
   3598   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3599   test $ac_status = 0; }
   3600 done
   3601 
   3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3603 /* end confdefs.h.  */
   3604 
   3605 int
   3606 main ()
   3607 {
   3608 
   3609   ;
   3610   return 0;
   3611 }
   3612 _ACEOF
   3613 ac_clean_files_save=$ac_clean_files
   3614 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3615 # Try to create an executable without -o first, disregard a.out.
   3616 # It will help us diagnose broken compilers, and finding out an intuition
   3617 # of exeext.
   3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3619 $as_echo_n "checking whether the C compiler works... " >&6; }
   3620 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3621 
   3622 # The possible output files:
   3623 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3624 
   3625 ac_rmfiles=
   3626 for ac_file in $ac_files
   3627 do
   3628   case $ac_file in
   3629     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3630     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3631   esac
   3632 done
   3633 rm -f $ac_rmfiles
   3634 
   3635 if { { ac_try="$ac_link_default"
   3636 case "(($ac_try" in
   3637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3638   *) ac_try_echo=$ac_try;;
   3639 esac
   3640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3641 $as_echo "$ac_try_echo"; } >&5
   3642   (eval "$ac_link_default") 2>&5
   3643   ac_status=$?
   3644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3645   test $ac_status = 0; }; then :
   3646   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3647 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3648 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3649 # so that the user can short-circuit this test for compilers unknown to
   3650 # Autoconf.
   3651 for ac_file in $ac_files ''
   3652 do
   3653   test -f "$ac_file" || continue
   3654   case $ac_file in
   3655     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3656 	;;
   3657     [ab].out )
   3658 	# We found the default executable, but exeext='' is most
   3659 	# certainly right.
   3660 	break;;
   3661     *.* )
   3662 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3663 	then :; else
   3664 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3665 	fi
   3666 	# We set ac_cv_exeext here because the later test for it is not
   3667 	# safe: cross compilers may not add the suffix if given an `-o'
   3668 	# argument, so we may need to know it at that point already.
   3669 	# Even if this section looks crufty: it has the advantage of
   3670 	# actually working.
   3671 	break;;
   3672     * )
   3673 	break;;
   3674   esac
   3675 done
   3676 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3677 
   3678 else
   3679   ac_file=''
   3680 fi
   3681 if test -z "$ac_file"; then :
   3682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3683 $as_echo "no" >&6; }
   3684 $as_echo "$as_me: failed program was:" >&5
   3685 sed 's/^/| /' conftest.$ac_ext >&5
   3686 
   3687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3689 as_fn_error 77 "C compiler cannot create executables
   3690 See \`config.log' for more details" "$LINENO" 5; }
   3691 else
   3692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3693 $as_echo "yes" >&6; }
   3694 fi
   3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3696 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3698 $as_echo "$ac_file" >&6; }
   3699 ac_exeext=$ac_cv_exeext
   3700 
   3701 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3702 ac_clean_files=$ac_clean_files_save
   3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3704 $as_echo_n "checking for suffix of executables... " >&6; }
   3705 if { { ac_try="$ac_link"
   3706 case "(($ac_try" in
   3707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3708   *) ac_try_echo=$ac_try;;
   3709 esac
   3710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3711 $as_echo "$ac_try_echo"; } >&5
   3712   (eval "$ac_link") 2>&5
   3713   ac_status=$?
   3714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3715   test $ac_status = 0; }; then :
   3716   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3717 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3718 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3719 # `rm'.
   3720 for ac_file in conftest.exe conftest conftest.*; do
   3721   test -f "$ac_file" || continue
   3722   case $ac_file in
   3723     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3724     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3725 	  break;;
   3726     * ) break;;
   3727   esac
   3728 done
   3729 else
   3730   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3732 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3733 See \`config.log' for more details" "$LINENO" 5; }
   3734 fi
   3735 rm -f conftest conftest$ac_cv_exeext
   3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3737 $as_echo "$ac_cv_exeext" >&6; }
   3738 
   3739 rm -f conftest.$ac_ext
   3740 EXEEXT=$ac_cv_exeext
   3741 ac_exeext=$EXEEXT
   3742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3743 /* end confdefs.h.  */
   3744 #include <stdio.h>
   3745 int
   3746 main ()
   3747 {
   3748 FILE *f = fopen ("conftest.out", "w");
   3749  return ferror (f) || fclose (f) != 0;
   3750 
   3751   ;
   3752   return 0;
   3753 }
   3754 _ACEOF
   3755 ac_clean_files="$ac_clean_files conftest.out"
   3756 # Check that the compiler produces executables we can run.  If not, either
   3757 # the compiler is broken, or we cross compile.
   3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3759 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3760 if test "$cross_compiling" != yes; then
   3761   { { ac_try="$ac_link"
   3762 case "(($ac_try" in
   3763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3764   *) ac_try_echo=$ac_try;;
   3765 esac
   3766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3767 $as_echo "$ac_try_echo"; } >&5
   3768   (eval "$ac_link") 2>&5
   3769   ac_status=$?
   3770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3771   test $ac_status = 0; }
   3772   if { ac_try='./conftest$ac_cv_exeext'
   3773   { { case "(($ac_try" in
   3774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3775   *) ac_try_echo=$ac_try;;
   3776 esac
   3777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3778 $as_echo "$ac_try_echo"; } >&5
   3779   (eval "$ac_try") 2>&5
   3780   ac_status=$?
   3781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3782   test $ac_status = 0; }; }; then
   3783     cross_compiling=no
   3784   else
   3785     if test "$cross_compiling" = maybe; then
   3786 	cross_compiling=yes
   3787     else
   3788 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3790 as_fn_error $? "cannot run C compiled programs.
   3791 If you meant to cross compile, use \`--host'.
   3792 See \`config.log' for more details" "$LINENO" 5; }
   3793     fi
   3794   fi
   3795 fi
   3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3797 $as_echo "$cross_compiling" >&6; }
   3798 
   3799 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3800 ac_clean_files=$ac_clean_files_save
   3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3802 $as_echo_n "checking for suffix of object files... " >&6; }
   3803 if ${ac_cv_objext+:} false; then :
   3804   $as_echo_n "(cached) " >&6
   3805 else
   3806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3807 /* end confdefs.h.  */
   3808 
   3809 int
   3810 main ()
   3811 {
   3812 
   3813   ;
   3814   return 0;
   3815 }
   3816 _ACEOF
   3817 rm -f conftest.o conftest.obj
   3818 if { { ac_try="$ac_compile"
   3819 case "(($ac_try" in
   3820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3821   *) ac_try_echo=$ac_try;;
   3822 esac
   3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3824 $as_echo "$ac_try_echo"; } >&5
   3825   (eval "$ac_compile") 2>&5
   3826   ac_status=$?
   3827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3828   test $ac_status = 0; }; then :
   3829   for ac_file in conftest.o conftest.obj conftest.*; do
   3830   test -f "$ac_file" || continue;
   3831   case $ac_file in
   3832     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3833     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3834        break;;
   3835   esac
   3836 done
   3837 else
   3838   $as_echo "$as_me: failed program was:" >&5
   3839 sed 's/^/| /' conftest.$ac_ext >&5
   3840 
   3841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3843 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3844 See \`config.log' for more details" "$LINENO" 5; }
   3845 fi
   3846 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3847 fi
   3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3849 $as_echo "$ac_cv_objext" >&6; }
   3850 OBJEXT=$ac_cv_objext
   3851 ac_objext=$OBJEXT
   3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3853 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3854 if ${ac_cv_c_compiler_gnu+:} false; then :
   3855   $as_echo_n "(cached) " >&6
   3856 else
   3857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3858 /* end confdefs.h.  */
   3859 
   3860 int
   3861 main ()
   3862 {
   3863 #ifndef __GNUC__
   3864        choke me
   3865 #endif
   3866 
   3867   ;
   3868   return 0;
   3869 }
   3870 _ACEOF
   3871 if ac_fn_c_try_compile "$LINENO"; then :
   3872   ac_compiler_gnu=yes
   3873 else
   3874   ac_compiler_gnu=no
   3875 fi
   3876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3877 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3878 
   3879 fi
   3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3881 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3882 if test $ac_compiler_gnu = yes; then
   3883   GCC=yes
   3884 else
   3885   GCC=
   3886 fi
   3887 ac_test_CFLAGS=${CFLAGS+set}
   3888 ac_save_CFLAGS=$CFLAGS
   3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3890 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3891 if ${ac_cv_prog_cc_g+:} false; then :
   3892   $as_echo_n "(cached) " >&6
   3893 else
   3894   ac_save_c_werror_flag=$ac_c_werror_flag
   3895    ac_c_werror_flag=yes
   3896    ac_cv_prog_cc_g=no
   3897    CFLAGS="-g"
   3898    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3899 /* end confdefs.h.  */
   3900 
   3901 int
   3902 main ()
   3903 {
   3904 
   3905   ;
   3906   return 0;
   3907 }
   3908 _ACEOF
   3909 if ac_fn_c_try_compile "$LINENO"; then :
   3910   ac_cv_prog_cc_g=yes
   3911 else
   3912   CFLAGS=""
   3913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3914 /* end confdefs.h.  */
   3915 
   3916 int
   3917 main ()
   3918 {
   3919 
   3920   ;
   3921   return 0;
   3922 }
   3923 _ACEOF
   3924 if ac_fn_c_try_compile "$LINENO"; then :
   3925 
   3926 else
   3927   ac_c_werror_flag=$ac_save_c_werror_flag
   3928 	 CFLAGS="-g"
   3929 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3930 /* end confdefs.h.  */
   3931 
   3932 int
   3933 main ()
   3934 {
   3935 
   3936   ;
   3937   return 0;
   3938 }
   3939 _ACEOF
   3940 if ac_fn_c_try_compile "$LINENO"; then :
   3941   ac_cv_prog_cc_g=yes
   3942 fi
   3943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3944 fi
   3945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3946 fi
   3947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3948    ac_c_werror_flag=$ac_save_c_werror_flag
   3949 fi
   3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3951 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3952 if test "$ac_test_CFLAGS" = set; then
   3953   CFLAGS=$ac_save_CFLAGS
   3954 elif test $ac_cv_prog_cc_g = yes; then
   3955   if test "$GCC" = yes; then
   3956     CFLAGS="-g -O2"
   3957   else
   3958     CFLAGS="-g"
   3959   fi
   3960 else
   3961   if test "$GCC" = yes; then
   3962     CFLAGS="-O2"
   3963   else
   3964     CFLAGS=
   3965   fi
   3966 fi
   3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3968 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3969 if ${ac_cv_prog_cc_c89+:} false; then :
   3970   $as_echo_n "(cached) " >&6
   3971 else
   3972   ac_cv_prog_cc_c89=no
   3973 ac_save_CC=$CC
   3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3975 /* end confdefs.h.  */
   3976 #include <stdarg.h>
   3977 #include <stdio.h>
   3978 struct stat;
   3979 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3980 struct buf { int x; };
   3981 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3982 static char *e (p, i)
   3983      char **p;
   3984      int i;
   3985 {
   3986   return p[i];
   3987 }
   3988 static char *f (char * (*g) (char **, int), char **p, ...)
   3989 {
   3990   char *s;
   3991   va_list v;
   3992   va_start (v,p);
   3993   s = g (p, va_arg (v,int));
   3994   va_end (v);
   3995   return s;
   3996 }
   3997 
   3998 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3999    function prototypes and stuff, but not '\xHH' hex character constants.
   4000    These don't provoke an error unfortunately, instead are silently treated
   4001    as 'x'.  The following induces an error, until -std is added to get
   4002    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4003    array size at least.  It's necessary to write '\x00'==0 to get something
   4004    that's true only with -std.  */
   4005 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4006 
   4007 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4008    inside strings and character constants.  */
   4009 #define FOO(x) 'x'
   4010 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4011 
   4012 int test (int i, double x);
   4013 struct s1 {int (*f) (int a);};
   4014 struct s2 {int (*f) (double a);};
   4015 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4016 int argc;
   4017 char **argv;
   4018 int
   4019 main ()
   4020 {
   4021 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4022   ;
   4023   return 0;
   4024 }
   4025 _ACEOF
   4026 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4027 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4028 do
   4029   CC="$ac_save_CC $ac_arg"
   4030   if ac_fn_c_try_compile "$LINENO"; then :
   4031   ac_cv_prog_cc_c89=$ac_arg
   4032 fi
   4033 rm -f core conftest.err conftest.$ac_objext
   4034   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4035 done
   4036 rm -f conftest.$ac_ext
   4037 CC=$ac_save_CC
   4038 
   4039 fi
   4040 # AC_CACHE_VAL
   4041 case "x$ac_cv_prog_cc_c89" in
   4042   x)
   4043     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4044 $as_echo "none needed" >&6; } ;;
   4045   xno)
   4046     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4047 $as_echo "unsupported" >&6; } ;;
   4048   *)
   4049     CC="$CC $ac_cv_prog_cc_c89"
   4050     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4051 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4052 esac
   4053 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4054 
   4055 fi
   4056 
   4057 ac_ext=c
   4058 ac_cpp='$CPP $CPPFLAGS'
   4059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4062 
   4063 ac_ext=c
   4064 ac_cpp='$CPP $CPPFLAGS'
   4065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4069 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4070 if ${am_cv_prog_cc_c_o+:} false; then :
   4071   $as_echo_n "(cached) " >&6
   4072 else
   4073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4074 /* end confdefs.h.  */
   4075 
   4076 int
   4077 main ()
   4078 {
   4079 
   4080   ;
   4081   return 0;
   4082 }
   4083 _ACEOF
   4084   # Make sure it works both with $CC and with simple cc.
   4085   # Following AC_PROG_CC_C_O, we do the test twice because some
   4086   # compilers refuse to overwrite an existing .o file with -o,
   4087   # though they will create one.
   4088   am_cv_prog_cc_c_o=yes
   4089   for am_i in 1 2; do
   4090     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4091    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4092    ac_status=$?
   4093    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4094    (exit $ac_status); } \
   4095          && test -f conftest2.$ac_objext; then
   4096       : OK
   4097     else
   4098       am_cv_prog_cc_c_o=no
   4099       break
   4100     fi
   4101   done
   4102   rm -f core conftest*
   4103   unset am_i
   4104 fi
   4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4106 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4107 if test "$am_cv_prog_cc_c_o" != yes; then
   4108    # Losing compiler, so override with the script.
   4109    # FIXME: It is wrong to rewrite CC.
   4110    # But if we don't then we get into trouble of one sort or another.
   4111    # A longer-term fix would be to have automake use am__CC in this case,
   4112    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4113    CC="$am_aux_dir/compile $CC"
   4114 fi
   4115 ac_ext=c
   4116 ac_cpp='$CPP $CPPFLAGS'
   4117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4120 
   4121 DEPDIR="${am__leading_dot}deps"
   4122 
   4123 ac_config_commands="$ac_config_commands depfiles"
   4124 
   4125 
   4126 am_make=${MAKE-make}
   4127 cat > confinc << 'END'
   4128 am__doit:
   4129 	@echo this is the am__doit target
   4130 .PHONY: am__doit
   4131 END
   4132 # If we don't find an include directive, just comment out the code.
   4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4134 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4135 am__include="#"
   4136 am__quote=
   4137 _am_result=none
   4138 # First try GNU make style include.
   4139 echo "include confinc" > confmf
   4140 # Ignore all kinds of additional output from 'make'.
   4141 case `$am_make -s -f confmf 2> /dev/null` in #(
   4142 *the\ am__doit\ target*)
   4143   am__include=include
   4144   am__quote=
   4145   _am_result=GNU
   4146   ;;
   4147 esac
   4148 # Now try BSD make style include.
   4149 if test "$am__include" = "#"; then
   4150    echo '.include "confinc"' > confmf
   4151    case `$am_make -s -f confmf 2> /dev/null` in #(
   4152    *the\ am__doit\ target*)
   4153      am__include=.include
   4154      am__quote="\""
   4155      _am_result=BSD
   4156      ;;
   4157    esac
   4158 fi
   4159 
   4160 
   4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4162 $as_echo "$_am_result" >&6; }
   4163 rm -f confinc confmf
   4164 
   4165 # Check whether --enable-dependency-tracking was given.
   4166 if test "${enable_dependency_tracking+set}" = set; then :
   4167   enableval=$enable_dependency_tracking;
   4168 fi
   4169 
   4170 if test "x$enable_dependency_tracking" != xno; then
   4171   am_depcomp="$ac_aux_dir/depcomp"
   4172   AMDEPBACKSLASH='\'
   4173   am__nodep='_no'
   4174 fi
   4175  if test "x$enable_dependency_tracking" != xno; then
   4176   AMDEP_TRUE=
   4177   AMDEP_FALSE='#'
   4178 else
   4179   AMDEP_TRUE='#'
   4180   AMDEP_FALSE=
   4181 fi
   4182 
   4183 
   4184 
   4185 depcc="$CC"   am_compiler_list=
   4186 
   4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4188 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4189 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4190   $as_echo_n "(cached) " >&6
   4191 else
   4192   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4193   # We make a subdir and do the tests there.  Otherwise we can end up
   4194   # making bogus files that we don't know about and never remove.  For
   4195   # instance it was reported that on HP-UX the gcc test will end up
   4196   # making a dummy file named 'D' -- because '-MD' means "put the output
   4197   # in D".
   4198   rm -rf conftest.dir
   4199   mkdir conftest.dir
   4200   # Copy depcomp to subdir because otherwise we won't find it if we're
   4201   # using a relative directory.
   4202   cp "$am_depcomp" conftest.dir
   4203   cd conftest.dir
   4204   # We will build objects and dependencies in a subdirectory because
   4205   # it helps to detect inapplicable dependency modes.  For instance
   4206   # both Tru64's cc and ICC support -MD to output dependencies as a
   4207   # side effect of compilation, but ICC will put the dependencies in
   4208   # the current directory while Tru64 will put them in the object
   4209   # directory.
   4210   mkdir sub
   4211 
   4212   am_cv_CC_dependencies_compiler_type=none
   4213   if test "$am_compiler_list" = ""; then
   4214      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4215   fi
   4216   am__universal=false
   4217   case " $depcc " in #(
   4218      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4219      esac
   4220 
   4221   for depmode in $am_compiler_list; do
   4222     # Setup a source with many dependencies, because some compilers
   4223     # like to wrap large dependency lists on column 80 (with \), and
   4224     # we should not choose a depcomp mode which is confused by this.
   4225     #
   4226     # We need to recreate these files for each test, as the compiler may
   4227     # overwrite some of them when testing with obscure command lines.
   4228     # This happens at least with the AIX C compiler.
   4229     : > sub/conftest.c
   4230     for i in 1 2 3 4 5 6; do
   4231       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4232       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4233       # Solaris 10 /bin/sh.
   4234       echo '/* dummy */' > sub/conftst$i.h
   4235     done
   4236     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4237 
   4238     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4239     # mode.  It turns out that the SunPro C++ compiler does not properly
   4240     # handle '-M -o', and we need to detect this.  Also, some Intel
   4241     # versions had trouble with output in subdirs.
   4242     am__obj=sub/conftest.${OBJEXT-o}
   4243     am__minus_obj="-o $am__obj"
   4244     case $depmode in
   4245     gcc)
   4246       # This depmode causes a compiler race in universal mode.
   4247       test "$am__universal" = false || continue
   4248       ;;
   4249     nosideeffect)
   4250       # After this tag, mechanisms are not by side-effect, so they'll
   4251       # only be used when explicitly requested.
   4252       if test "x$enable_dependency_tracking" = xyes; then
   4253 	continue
   4254       else
   4255 	break
   4256       fi
   4257       ;;
   4258     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4259       # This compiler won't grok '-c -o', but also, the minuso test has
   4260       # not run yet.  These depmodes are late enough in the game, and
   4261       # so weak that their functioning should not be impacted.
   4262       am__obj=conftest.${OBJEXT-o}
   4263       am__minus_obj=
   4264       ;;
   4265     none) break ;;
   4266     esac
   4267     if depmode=$depmode \
   4268        source=sub/conftest.c object=$am__obj \
   4269        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4270        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4271          >/dev/null 2>conftest.err &&
   4272        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4273        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4274        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4275        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4276       # icc doesn't choke on unknown options, it will just issue warnings
   4277       # or remarks (even with -Werror).  So we grep stderr for any message
   4278       # that says an option was ignored or not supported.
   4279       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4280       #   icc: Command line warning: ignoring option '-M'; no argument required
   4281       # The diagnosis changed in icc 8.0:
   4282       #   icc: Command line remark: option '-MP' not supported
   4283       if (grep 'ignoring option' conftest.err ||
   4284           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4285         am_cv_CC_dependencies_compiler_type=$depmode
   4286         break
   4287       fi
   4288     fi
   4289   done
   4290 
   4291   cd ..
   4292   rm -rf conftest.dir
   4293 else
   4294   am_cv_CC_dependencies_compiler_type=none
   4295 fi
   4296 
   4297 fi
   4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4299 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4300 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4301 
   4302  if
   4303   test "x$enable_dependency_tracking" != xno \
   4304   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4305   am__fastdepCC_TRUE=
   4306   am__fastdepCC_FALSE='#'
   4307 else
   4308   am__fastdepCC_TRUE='#'
   4309   am__fastdepCC_FALSE=
   4310 fi
   4311 
   4312 
   4313 
   4314 ac_ext=c
   4315 ac_cpp='$CPP $CPPFLAGS'
   4316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4320 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4321 # On Suns, sometimes $CPP names a directory.
   4322 if test -n "$CPP" && test -d "$CPP"; then
   4323   CPP=
   4324 fi
   4325 if test -z "$CPP"; then
   4326   if ${ac_cv_prog_CPP+:} false; then :
   4327   $as_echo_n "(cached) " >&6
   4328 else
   4329       # Double quotes because CPP needs to be expanded
   4330     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4331     do
   4332       ac_preproc_ok=false
   4333 for ac_c_preproc_warn_flag in '' yes
   4334 do
   4335   # Use a header file that comes with gcc, so configuring glibc
   4336   # with a fresh cross-compiler works.
   4337   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4338   # <limits.h> exists even on freestanding compilers.
   4339   # On the NeXT, cc -E runs the code through the compiler's parser,
   4340   # not just through cpp. "Syntax error" is here to catch this case.
   4341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4342 /* end confdefs.h.  */
   4343 #ifdef __STDC__
   4344 # include <limits.h>
   4345 #else
   4346 # include <assert.h>
   4347 #endif
   4348 		     Syntax error
   4349 _ACEOF
   4350 if ac_fn_c_try_cpp "$LINENO"; then :
   4351 
   4352 else
   4353   # Broken: fails on valid input.
   4354 continue
   4355 fi
   4356 rm -f conftest.err conftest.i conftest.$ac_ext
   4357 
   4358   # OK, works on sane cases.  Now check whether nonexistent headers
   4359   # can be detected and how.
   4360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4361 /* end confdefs.h.  */
   4362 #include <ac_nonexistent.h>
   4363 _ACEOF
   4364 if ac_fn_c_try_cpp "$LINENO"; then :
   4365   # Broken: success on invalid input.
   4366 continue
   4367 else
   4368   # Passes both tests.
   4369 ac_preproc_ok=:
   4370 break
   4371 fi
   4372 rm -f conftest.err conftest.i conftest.$ac_ext
   4373 
   4374 done
   4375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4376 rm -f conftest.i conftest.err conftest.$ac_ext
   4377 if $ac_preproc_ok; then :
   4378   break
   4379 fi
   4380 
   4381     done
   4382     ac_cv_prog_CPP=$CPP
   4383 
   4384 fi
   4385   CPP=$ac_cv_prog_CPP
   4386 else
   4387   ac_cv_prog_CPP=$CPP
   4388 fi
   4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4390 $as_echo "$CPP" >&6; }
   4391 ac_preproc_ok=false
   4392 for ac_c_preproc_warn_flag in '' yes
   4393 do
   4394   # Use a header file that comes with gcc, so configuring glibc
   4395   # with a fresh cross-compiler works.
   4396   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4397   # <limits.h> exists even on freestanding compilers.
   4398   # On the NeXT, cc -E runs the code through the compiler's parser,
   4399   # not just through cpp. "Syntax error" is here to catch this case.
   4400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4401 /* end confdefs.h.  */
   4402 #ifdef __STDC__
   4403 # include <limits.h>
   4404 #else
   4405 # include <assert.h>
   4406 #endif
   4407 		     Syntax error
   4408 _ACEOF
   4409 if ac_fn_c_try_cpp "$LINENO"; then :
   4410 
   4411 else
   4412   # Broken: fails on valid input.
   4413 continue
   4414 fi
   4415 rm -f conftest.err conftest.i conftest.$ac_ext
   4416 
   4417   # OK, works on sane cases.  Now check whether nonexistent headers
   4418   # can be detected and how.
   4419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4420 /* end confdefs.h.  */
   4421 #include <ac_nonexistent.h>
   4422 _ACEOF
   4423 if ac_fn_c_try_cpp "$LINENO"; then :
   4424   # Broken: success on invalid input.
   4425 continue
   4426 else
   4427   # Passes both tests.
   4428 ac_preproc_ok=:
   4429 break
   4430 fi
   4431 rm -f conftest.err conftest.i conftest.$ac_ext
   4432 
   4433 done
   4434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4435 rm -f conftest.i conftest.err conftest.$ac_ext
   4436 if $ac_preproc_ok; then :
   4437 
   4438 else
   4439   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4441 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4442 See \`config.log' for more details" "$LINENO" 5; }
   4443 fi
   4444 
   4445 ac_ext=c
   4446 ac_cpp='$CPP $CPPFLAGS'
   4447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4450 
   4451 
   4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4453 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4454 if ${ac_cv_path_GREP+:} false; then :
   4455   $as_echo_n "(cached) " >&6
   4456 else
   4457   if test -z "$GREP"; then
   4458   ac_path_GREP_found=false
   4459   # Loop through the user's path and test for each of PROGNAME-LIST
   4460   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4461 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4462 do
   4463   IFS=$as_save_IFS
   4464   test -z "$as_dir" && as_dir=.
   4465     for ac_prog in grep ggrep; do
   4466     for ac_exec_ext in '' $ac_executable_extensions; do
   4467       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4468       as_fn_executable_p "$ac_path_GREP" || continue
   4469 # Check for GNU ac_path_GREP and select it if it is found.
   4470   # Check for GNU $ac_path_GREP
   4471 case `"$ac_path_GREP" --version 2>&1` in
   4472 *GNU*)
   4473   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4474 *)
   4475   ac_count=0
   4476   $as_echo_n 0123456789 >"conftest.in"
   4477   while :
   4478   do
   4479     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4480     mv "conftest.tmp" "conftest.in"
   4481     cp "conftest.in" "conftest.nl"
   4482     $as_echo 'GREP' >> "conftest.nl"
   4483     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4484     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4485     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4486     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4487       # Best one so far, save it but keep looking for a better one
   4488       ac_cv_path_GREP="$ac_path_GREP"
   4489       ac_path_GREP_max=$ac_count
   4490     fi
   4491     # 10*(2^10) chars as input seems more than enough
   4492     test $ac_count -gt 10 && break
   4493   done
   4494   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4495 esac
   4496 
   4497       $ac_path_GREP_found && break 3
   4498     done
   4499   done
   4500   done
   4501 IFS=$as_save_IFS
   4502   if test -z "$ac_cv_path_GREP"; then
   4503     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4504   fi
   4505 else
   4506   ac_cv_path_GREP=$GREP
   4507 fi
   4508 
   4509 fi
   4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4511 $as_echo "$ac_cv_path_GREP" >&6; }
   4512  GREP="$ac_cv_path_GREP"
   4513 
   4514 
   4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4516 $as_echo_n "checking for egrep... " >&6; }
   4517 if ${ac_cv_path_EGREP+:} false; then :
   4518   $as_echo_n "(cached) " >&6
   4519 else
   4520   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4521    then ac_cv_path_EGREP="$GREP -E"
   4522    else
   4523      if test -z "$EGREP"; then
   4524   ac_path_EGREP_found=false
   4525   # Loop through the user's path and test for each of PROGNAME-LIST
   4526   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4527 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4528 do
   4529   IFS=$as_save_IFS
   4530   test -z "$as_dir" && as_dir=.
   4531     for ac_prog in egrep; do
   4532     for ac_exec_ext in '' $ac_executable_extensions; do
   4533       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4534       as_fn_executable_p "$ac_path_EGREP" || continue
   4535 # Check for GNU ac_path_EGREP and select it if it is found.
   4536   # Check for GNU $ac_path_EGREP
   4537 case `"$ac_path_EGREP" --version 2>&1` in
   4538 *GNU*)
   4539   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4540 *)
   4541   ac_count=0
   4542   $as_echo_n 0123456789 >"conftest.in"
   4543   while :
   4544   do
   4545     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4546     mv "conftest.tmp" "conftest.in"
   4547     cp "conftest.in" "conftest.nl"
   4548     $as_echo 'EGREP' >> "conftest.nl"
   4549     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4550     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4551     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4552     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4553       # Best one so far, save it but keep looking for a better one
   4554       ac_cv_path_EGREP="$ac_path_EGREP"
   4555       ac_path_EGREP_max=$ac_count
   4556     fi
   4557     # 10*(2^10) chars as input seems more than enough
   4558     test $ac_count -gt 10 && break
   4559   done
   4560   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4561 esac
   4562 
   4563       $ac_path_EGREP_found && break 3
   4564     done
   4565   done
   4566   done
   4567 IFS=$as_save_IFS
   4568   if test -z "$ac_cv_path_EGREP"; then
   4569     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4570   fi
   4571 else
   4572   ac_cv_path_EGREP=$EGREP
   4573 fi
   4574 
   4575    fi
   4576 fi
   4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4578 $as_echo "$ac_cv_path_EGREP" >&6; }
   4579  EGREP="$ac_cv_path_EGREP"
   4580 
   4581 
   4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4583 $as_echo_n "checking for ANSI C header files... " >&6; }
   4584 if ${ac_cv_header_stdc+:} false; then :
   4585   $as_echo_n "(cached) " >&6
   4586 else
   4587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4588 /* end confdefs.h.  */
   4589 #include <stdlib.h>
   4590 #include <stdarg.h>
   4591 #include <string.h>
   4592 #include <float.h>
   4593 
   4594 int
   4595 main ()
   4596 {
   4597 
   4598   ;
   4599   return 0;
   4600 }
   4601 _ACEOF
   4602 if ac_fn_c_try_compile "$LINENO"; then :
   4603   ac_cv_header_stdc=yes
   4604 else
   4605   ac_cv_header_stdc=no
   4606 fi
   4607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4608 
   4609 if test $ac_cv_header_stdc = yes; then
   4610   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4612 /* end confdefs.h.  */
   4613 #include <string.h>
   4614 
   4615 _ACEOF
   4616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4617   $EGREP "memchr" >/dev/null 2>&1; then :
   4618 
   4619 else
   4620   ac_cv_header_stdc=no
   4621 fi
   4622 rm -f conftest*
   4623 
   4624 fi
   4625 
   4626 if test $ac_cv_header_stdc = yes; then
   4627   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4629 /* end confdefs.h.  */
   4630 #include <stdlib.h>
   4631 
   4632 _ACEOF
   4633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4634   $EGREP "free" >/dev/null 2>&1; then :
   4635 
   4636 else
   4637   ac_cv_header_stdc=no
   4638 fi
   4639 rm -f conftest*
   4640 
   4641 fi
   4642 
   4643 if test $ac_cv_header_stdc = yes; then
   4644   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4645   if test "$cross_compiling" = yes; then :
   4646   :
   4647 else
   4648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4649 /* end confdefs.h.  */
   4650 #include <ctype.h>
   4651 #include <stdlib.h>
   4652 #if ((' ' & 0x0FF) == 0x020)
   4653 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4654 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4655 #else
   4656 # define ISLOWER(c) \
   4657 		   (('a' <= (c) && (c) <= 'i') \
   4658 		     || ('j' <= (c) && (c) <= 'r') \
   4659 		     || ('s' <= (c) && (c) <= 'z'))
   4660 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4661 #endif
   4662 
   4663 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4664 int
   4665 main ()
   4666 {
   4667   int i;
   4668   for (i = 0; i < 256; i++)
   4669     if (XOR (islower (i), ISLOWER (i))
   4670 	|| toupper (i) != TOUPPER (i))
   4671       return 2;
   4672   return 0;
   4673 }
   4674 _ACEOF
   4675 if ac_fn_c_try_run "$LINENO"; then :
   4676 
   4677 else
   4678   ac_cv_header_stdc=no
   4679 fi
   4680 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4681   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4682 fi
   4683 
   4684 fi
   4685 fi
   4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4687 $as_echo "$ac_cv_header_stdc" >&6; }
   4688 if test $ac_cv_header_stdc = yes; then
   4689 
   4690 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4691 
   4692 fi
   4693 
   4694 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4695 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4696 		  inttypes.h stdint.h unistd.h
   4697 do :
   4698   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4699 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4700 "
   4701 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4702   cat >>confdefs.h <<_ACEOF
   4703 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4704 _ACEOF
   4705 
   4706 fi
   4707 
   4708 done
   4709 
   4710 
   4711 
   4712   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4713 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4714   MINIX=yes
   4715 else
   4716   MINIX=
   4717 fi
   4718 
   4719 
   4720   if test "$MINIX" = yes; then
   4721 
   4722 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4723 
   4724 
   4725 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4726 
   4727 
   4728 $as_echo "#define _MINIX 1" >>confdefs.h
   4729 
   4730   fi
   4731 
   4732 
   4733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4734 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4735 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4736   $as_echo_n "(cached) " >&6
   4737 else
   4738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4739 /* end confdefs.h.  */
   4740 
   4741 #         define __EXTENSIONS__ 1
   4742           $ac_includes_default
   4743 int
   4744 main ()
   4745 {
   4746 
   4747   ;
   4748   return 0;
   4749 }
   4750 _ACEOF
   4751 if ac_fn_c_try_compile "$LINENO"; then :
   4752   ac_cv_safe_to_define___extensions__=yes
   4753 else
   4754   ac_cv_safe_to_define___extensions__=no
   4755 fi
   4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4757 fi
   4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4759 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4760   test $ac_cv_safe_to_define___extensions__ = yes &&
   4761     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4762 
   4763   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4764 
   4765   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4766 
   4767   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4768 
   4769   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4770 
   4771 
   4772 
   4773 if test -n "$ac_tool_prefix"; then
   4774   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   4775 set dummy ${ac_tool_prefix}ar; ac_word=$2
   4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4777 $as_echo_n "checking for $ac_word... " >&6; }
   4778 if ${ac_cv_prog_AR+:} false; then :
   4779   $as_echo_n "(cached) " >&6
   4780 else
   4781   if test -n "$AR"; then
   4782   ac_cv_prog_AR="$AR" # Let the user override the test.
   4783 else
   4784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4785 for as_dir in $PATH
   4786 do
   4787   IFS=$as_save_IFS
   4788   test -z "$as_dir" && as_dir=.
   4789     for ac_exec_ext in '' $ac_executable_extensions; do
   4790   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4791     ac_cv_prog_AR="${ac_tool_prefix}ar"
   4792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4793     break 2
   4794   fi
   4795 done
   4796   done
   4797 IFS=$as_save_IFS
   4798 
   4799 fi
   4800 fi
   4801 AR=$ac_cv_prog_AR
   4802 if test -n "$AR"; then
   4803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   4804 $as_echo "$AR" >&6; }
   4805 else
   4806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4807 $as_echo "no" >&6; }
   4808 fi
   4809 
   4810 
   4811 fi
   4812 if test -z "$ac_cv_prog_AR"; then
   4813   ac_ct_AR=$AR
   4814   # Extract the first word of "ar", so it can be a program name with args.
   4815 set dummy ar; ac_word=$2
   4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4817 $as_echo_n "checking for $ac_word... " >&6; }
   4818 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   4819   $as_echo_n "(cached) " >&6
   4820 else
   4821   if test -n "$ac_ct_AR"; then
   4822   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   4823 else
   4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4825 for as_dir in $PATH
   4826 do
   4827   IFS=$as_save_IFS
   4828   test -z "$as_dir" && as_dir=.
   4829     for ac_exec_ext in '' $ac_executable_extensions; do
   4830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4831     ac_cv_prog_ac_ct_AR="ar"
   4832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4833     break 2
   4834   fi
   4835 done
   4836   done
   4837 IFS=$as_save_IFS
   4838 
   4839 fi
   4840 fi
   4841 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   4842 if test -n "$ac_ct_AR"; then
   4843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   4844 $as_echo "$ac_ct_AR" >&6; }
   4845 else
   4846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4847 $as_echo "no" >&6; }
   4848 fi
   4849 
   4850   if test "x$ac_ct_AR" = x; then
   4851     AR=""
   4852   else
   4853     case $cross_compiling:$ac_tool_warned in
   4854 yes:)
   4855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4857 ac_tool_warned=yes ;;
   4858 esac
   4859     AR=$ac_ct_AR
   4860   fi
   4861 else
   4862   AR="$ac_cv_prog_AR"
   4863 fi
   4864 
   4865 if test -n "$ac_tool_prefix"; then
   4866   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   4867 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4869 $as_echo_n "checking for $ac_word... " >&6; }
   4870 if ${ac_cv_prog_RANLIB+:} false; then :
   4871   $as_echo_n "(cached) " >&6
   4872 else
   4873   if test -n "$RANLIB"; then
   4874   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   4875 else
   4876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4877 for as_dir in $PATH
   4878 do
   4879   IFS=$as_save_IFS
   4880   test -z "$as_dir" && as_dir=.
   4881     for ac_exec_ext in '' $ac_executable_extensions; do
   4882   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4883     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   4884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4885     break 2
   4886   fi
   4887 done
   4888   done
   4889 IFS=$as_save_IFS
   4890 
   4891 fi
   4892 fi
   4893 RANLIB=$ac_cv_prog_RANLIB
   4894 if test -n "$RANLIB"; then
   4895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   4896 $as_echo "$RANLIB" >&6; }
   4897 else
   4898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4899 $as_echo "no" >&6; }
   4900 fi
   4901 
   4902 
   4903 fi
   4904 if test -z "$ac_cv_prog_RANLIB"; then
   4905   ac_ct_RANLIB=$RANLIB
   4906   # Extract the first word of "ranlib", so it can be a program name with args.
   4907 set dummy ranlib; ac_word=$2
   4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4909 $as_echo_n "checking for $ac_word... " >&6; }
   4910 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   4911   $as_echo_n "(cached) " >&6
   4912 else
   4913   if test -n "$ac_ct_RANLIB"; then
   4914   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   4915 else
   4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4917 for as_dir in $PATH
   4918 do
   4919   IFS=$as_save_IFS
   4920   test -z "$as_dir" && as_dir=.
   4921     for ac_exec_ext in '' $ac_executable_extensions; do
   4922   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4923     ac_cv_prog_ac_ct_RANLIB="ranlib"
   4924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4925     break 2
   4926   fi
   4927 done
   4928   done
   4929 IFS=$as_save_IFS
   4930 
   4931 fi
   4932 fi
   4933 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   4934 if test -n "$ac_ct_RANLIB"; then
   4935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   4936 $as_echo "$ac_ct_RANLIB" >&6; }
   4937 else
   4938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4939 $as_echo "no" >&6; }
   4940 fi
   4941 
   4942   if test "x$ac_ct_RANLIB" = x; then
   4943     RANLIB=":"
   4944   else
   4945     case $cross_compiling:$ac_tool_warned in
   4946 yes:)
   4947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4949 ac_tool_warned=yes ;;
   4950 esac
   4951     RANLIB=$ac_ct_RANLIB
   4952   fi
   4953 else
   4954   RANLIB="$ac_cv_prog_RANLIB"
   4955 fi
   4956 
   4957 
   4958 # Check whether --enable-shared was given.
   4959 if test "${enable_shared+set}" = set; then :
   4960   enableval=$enable_shared; p=${PACKAGE-default}
   4961     case $enableval in
   4962     yes) enable_shared=yes ;;
   4963     no) enable_shared=no ;;
   4964     *)
   4965       enable_shared=no
   4966       # Look at the argument we got.  We use all the common list separators.
   4967       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4968       for pkg in $enableval; do
   4969 	IFS="$lt_save_ifs"
   4970 	if test "X$pkg" = "X$p"; then
   4971 	  enable_shared=yes
   4972 	fi
   4973       done
   4974       IFS="$lt_save_ifs"
   4975       ;;
   4976     esac
   4977 else
   4978   enable_shared=no
   4979 fi
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 case `pwd` in
   4991   *\ * | *\	*)
   4992     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4993 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4994 esac
   4995 
   4996 
   4997 
   4998 macro_version='2.2.7a'
   4999 macro_revision='1.3134'
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 ltmain="$ac_aux_dir/ltmain.sh"
   5014 
   5015 # Backslashify metacharacters that are still active within
   5016 # double-quoted strings.
   5017 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5018 
   5019 # Same as above, but do not quote variable references.
   5020 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5021 
   5022 # Sed substitution to delay expansion of an escaped shell variable in a
   5023 # double_quote_subst'ed string.
   5024 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5025 
   5026 # Sed substitution to delay expansion of an escaped single quote.
   5027 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5028 
   5029 # Sed substitution to avoid accidental globbing in evaled expressions
   5030 no_glob_subst='s/\*/\\\*/g'
   5031 
   5032 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5033 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5034 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5035 
   5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5037 $as_echo_n "checking how to print strings... " >&6; }
   5038 # Test print first, because it will be a builtin if present.
   5039 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5040    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5041   ECHO='print -r --'
   5042 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5043   ECHO='printf %s\n'
   5044 else
   5045   # Use this function as a fallback that always works.
   5046   func_fallback_echo ()
   5047   {
   5048     eval 'cat <<_LTECHO_EOF
   5049 $1
   5050 _LTECHO_EOF'
   5051   }
   5052   ECHO='func_fallback_echo'
   5053 fi
   5054 
   5055 # func_echo_all arg...
   5056 # Invoke $ECHO with all args, space-separated.
   5057 func_echo_all ()
   5058 {
   5059     $ECHO ""
   5060 }
   5061 
   5062 case "$ECHO" in
   5063   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5064 $as_echo "printf" >&6; } ;;
   5065   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5066 $as_echo "print -r" >&6; } ;;
   5067   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5068 $as_echo "cat" >&6; } ;;
   5069 esac
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5085 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5086 if ${ac_cv_path_SED+:} false; then :
   5087   $as_echo_n "(cached) " >&6
   5088 else
   5089             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5090      for ac_i in 1 2 3 4 5 6 7; do
   5091        ac_script="$ac_script$as_nl$ac_script"
   5092      done
   5093      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5094      { ac_script=; unset ac_script;}
   5095      if test -z "$SED"; then
   5096   ac_path_SED_found=false
   5097   # Loop through the user's path and test for each of PROGNAME-LIST
   5098   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5099 for as_dir in $PATH
   5100 do
   5101   IFS=$as_save_IFS
   5102   test -z "$as_dir" && as_dir=.
   5103     for ac_prog in sed gsed; do
   5104     for ac_exec_ext in '' $ac_executable_extensions; do
   5105       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5106       as_fn_executable_p "$ac_path_SED" || continue
   5107 # Check for GNU ac_path_SED and select it if it is found.
   5108   # Check for GNU $ac_path_SED
   5109 case `"$ac_path_SED" --version 2>&1` in
   5110 *GNU*)
   5111   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5112 *)
   5113   ac_count=0
   5114   $as_echo_n 0123456789 >"conftest.in"
   5115   while :
   5116   do
   5117     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5118     mv "conftest.tmp" "conftest.in"
   5119     cp "conftest.in" "conftest.nl"
   5120     $as_echo '' >> "conftest.nl"
   5121     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5122     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5123     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5124     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5125       # Best one so far, save it but keep looking for a better one
   5126       ac_cv_path_SED="$ac_path_SED"
   5127       ac_path_SED_max=$ac_count
   5128     fi
   5129     # 10*(2^10) chars as input seems more than enough
   5130     test $ac_count -gt 10 && break
   5131   done
   5132   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5133 esac
   5134 
   5135       $ac_path_SED_found && break 3
   5136     done
   5137   done
   5138   done
   5139 IFS=$as_save_IFS
   5140   if test -z "$ac_cv_path_SED"; then
   5141     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5142   fi
   5143 else
   5144   ac_cv_path_SED=$SED
   5145 fi
   5146 
   5147 fi
   5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5149 $as_echo "$ac_cv_path_SED" >&6; }
   5150  SED="$ac_cv_path_SED"
   5151   rm -f conftest.sed
   5152 
   5153 test -z "$SED" && SED=sed
   5154 Xsed="$SED -e 1s/^X//"
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5167 $as_echo_n "checking for fgrep... " >&6; }
   5168 if ${ac_cv_path_FGREP+:} false; then :
   5169   $as_echo_n "(cached) " >&6
   5170 else
   5171   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5172    then ac_cv_path_FGREP="$GREP -F"
   5173    else
   5174      if test -z "$FGREP"; then
   5175   ac_path_FGREP_found=false
   5176   # Loop through the user's path and test for each of PROGNAME-LIST
   5177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5178 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5179 do
   5180   IFS=$as_save_IFS
   5181   test -z "$as_dir" && as_dir=.
   5182     for ac_prog in fgrep; do
   5183     for ac_exec_ext in '' $ac_executable_extensions; do
   5184       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5185       as_fn_executable_p "$ac_path_FGREP" || continue
   5186 # Check for GNU ac_path_FGREP and select it if it is found.
   5187   # Check for GNU $ac_path_FGREP
   5188 case `"$ac_path_FGREP" --version 2>&1` in
   5189 *GNU*)
   5190   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5191 *)
   5192   ac_count=0
   5193   $as_echo_n 0123456789 >"conftest.in"
   5194   while :
   5195   do
   5196     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5197     mv "conftest.tmp" "conftest.in"
   5198     cp "conftest.in" "conftest.nl"
   5199     $as_echo 'FGREP' >> "conftest.nl"
   5200     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5201     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5202     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5203     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5204       # Best one so far, save it but keep looking for a better one
   5205       ac_cv_path_FGREP="$ac_path_FGREP"
   5206       ac_path_FGREP_max=$ac_count
   5207     fi
   5208     # 10*(2^10) chars as input seems more than enough
   5209     test $ac_count -gt 10 && break
   5210   done
   5211   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5212 esac
   5213 
   5214       $ac_path_FGREP_found && break 3
   5215     done
   5216   done
   5217   done
   5218 IFS=$as_save_IFS
   5219   if test -z "$ac_cv_path_FGREP"; then
   5220     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5221   fi
   5222 else
   5223   ac_cv_path_FGREP=$FGREP
   5224 fi
   5225 
   5226    fi
   5227 fi
   5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5229 $as_echo "$ac_cv_path_FGREP" >&6; }
   5230  FGREP="$ac_cv_path_FGREP"
   5231 
   5232 
   5233 test -z "$GREP" && GREP=grep
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 # Check whether --with-gnu-ld was given.
   5254 if test "${with_gnu_ld+set}" = set; then :
   5255   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5256 else
   5257   with_gnu_ld=no
   5258 fi
   5259 
   5260 ac_prog=ld
   5261 if test "$GCC" = yes; then
   5262   # Check if gcc -print-prog-name=ld gives a path.
   5263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5264 $as_echo_n "checking for ld used by $CC... " >&6; }
   5265   case $host in
   5266   *-*-mingw*)
   5267     # gcc leaves a trailing carriage return which upsets mingw
   5268     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5269   *)
   5270     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5271   esac
   5272   case $ac_prog in
   5273     # Accept absolute paths.
   5274     [\\/]* | ?:[\\/]*)
   5275       re_direlt='/[^/][^/]*/\.\./'
   5276       # Canonicalize the pathname of ld
   5277       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5278       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5279 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5280       done
   5281       test -z "$LD" && LD="$ac_prog"
   5282       ;;
   5283   "")
   5284     # If it fails, then pretend we aren't using GCC.
   5285     ac_prog=ld
   5286     ;;
   5287   *)
   5288     # If it is relative, then search for the first ld in PATH.
   5289     with_gnu_ld=unknown
   5290     ;;
   5291   esac
   5292 elif test "$with_gnu_ld" = yes; then
   5293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5294 $as_echo_n "checking for GNU ld... " >&6; }
   5295 else
   5296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5297 $as_echo_n "checking for non-GNU ld... " >&6; }
   5298 fi
   5299 if ${lt_cv_path_LD+:} false; then :
   5300   $as_echo_n "(cached) " >&6
   5301 else
   5302   if test -z "$LD"; then
   5303   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5304   for ac_dir in $PATH; do
   5305     IFS="$lt_save_ifs"
   5306     test -z "$ac_dir" && ac_dir=.
   5307     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5308       lt_cv_path_LD="$ac_dir/$ac_prog"
   5309       # Check to see if the program is GNU ld.  I'd rather use --version,
   5310       # but apparently some variants of GNU ld only accept -v.
   5311       # Break only if it was the GNU/non-GNU ld that we prefer.
   5312       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5313       *GNU* | *'with BFD'*)
   5314 	test "$with_gnu_ld" != no && break
   5315 	;;
   5316       *)
   5317 	test "$with_gnu_ld" != yes && break
   5318 	;;
   5319       esac
   5320     fi
   5321   done
   5322   IFS="$lt_save_ifs"
   5323 else
   5324   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5325 fi
   5326 fi
   5327 
   5328 LD="$lt_cv_path_LD"
   5329 if test -n "$LD"; then
   5330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5331 $as_echo "$LD" >&6; }
   5332 else
   5333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5334 $as_echo "no" >&6; }
   5335 fi
   5336 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5338 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5339 if ${lt_cv_prog_gnu_ld+:} false; then :
   5340   $as_echo_n "(cached) " >&6
   5341 else
   5342   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5343 case `$LD -v 2>&1 </dev/null` in
   5344 *GNU* | *'with BFD'*)
   5345   lt_cv_prog_gnu_ld=yes
   5346   ;;
   5347 *)
   5348   lt_cv_prog_gnu_ld=no
   5349   ;;
   5350 esac
   5351 fi
   5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5353 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5354 with_gnu_ld=$lt_cv_prog_gnu_ld
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5365 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5366 if ${lt_cv_path_NM+:} false; then :
   5367   $as_echo_n "(cached) " >&6
   5368 else
   5369   if test -n "$NM"; then
   5370    # Let the user override the nm to test.
   5371    lt_nm_to_check="$NM"
   5372  else
   5373    lt_nm_to_check="${ac_tool_prefix}nm"
   5374    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5375      lt_nm_to_check="$lt_nm_to_check nm"
   5376    fi
   5377  fi
   5378  for lt_tmp_nm in "$lt_nm_to_check"; do
   5379    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5380    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5381      IFS="$lt_save_ifs"
   5382      test -z "$ac_dir" && ac_dir=.
   5383      # Strip out any user-provided options from the nm to test twice,
   5384      # the first time to test to see if nm (rather than its options) has
   5385      # an explicit path, the second time to yield a file which can be
   5386      # nm'ed itself.
   5387      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   5388      case "$tmp_nm_path" in
   5389      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   5390      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   5391      esac
   5392      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   5393      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   5394        # Check to see if the nm accepts a BSD-compat flag.
   5395        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5396        #   nm: unknown option "B" ignored
   5397        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5398        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   5399 	 break
   5400 	 ;;
   5401        *)
   5402 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5403 	 *$tmp_nm*)
   5404 	   lt_cv_path_NM="$tmp_nm -p"
   5405 	   break
   5406 	   ;;
   5407 	 *)
   5408 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5409 	   continue # so that we can try to find one that supports BSD flags
   5410 	   ;;
   5411 	 esac
   5412 	 ;;
   5413        esac
   5414      fi
   5415    done
   5416    IFS="$lt_save_ifs"
   5417  done
   5418  : ${lt_cv_path_NM=no}
   5419 fi
   5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5421 $as_echo "$lt_cv_path_NM" >&6; }
   5422 if test "$lt_cv_path_NM" != "no"; then
   5423   NM="$lt_cv_path_NM"
   5424 else
   5425   # Didn't find any BSD compatible name lister, look for dumpbin.
   5426   if test -n "$DUMPBIN"; then :
   5427     # Let the user override the test.
   5428   else
   5429     if test -n "$ac_tool_prefix"; then
   5430   for ac_prog in dumpbin "link -dump"
   5431   do
   5432     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5435 $as_echo_n "checking for $ac_word... " >&6; }
   5436 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5437   $as_echo_n "(cached) " >&6
   5438 else
   5439   if test -n "$DUMPBIN"; then
   5440   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5441 else
   5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5443 for as_dir in $PATH
   5444 do
   5445   IFS=$as_save_IFS
   5446   test -z "$as_dir" && as_dir=.
   5447     for ac_exec_ext in '' $ac_executable_extensions; do
   5448   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5449     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5451     break 2
   5452   fi
   5453 done
   5454   done
   5455 IFS=$as_save_IFS
   5456 
   5457 fi
   5458 fi
   5459 DUMPBIN=$ac_cv_prog_DUMPBIN
   5460 if test -n "$DUMPBIN"; then
   5461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5462 $as_echo "$DUMPBIN" >&6; }
   5463 else
   5464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5465 $as_echo "no" >&6; }
   5466 fi
   5467 
   5468 
   5469     test -n "$DUMPBIN" && break
   5470   done
   5471 fi
   5472 if test -z "$DUMPBIN"; then
   5473   ac_ct_DUMPBIN=$DUMPBIN
   5474   for ac_prog in dumpbin "link -dump"
   5475 do
   5476   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5477 set dummy $ac_prog; ac_word=$2
   5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5479 $as_echo_n "checking for $ac_word... " >&6; }
   5480 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5481   $as_echo_n "(cached) " >&6
   5482 else
   5483   if test -n "$ac_ct_DUMPBIN"; then
   5484   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5485 else
   5486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5487 for as_dir in $PATH
   5488 do
   5489   IFS=$as_save_IFS
   5490   test -z "$as_dir" && as_dir=.
   5491     for ac_exec_ext in '' $ac_executable_extensions; do
   5492   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5493     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5495     break 2
   5496   fi
   5497 done
   5498   done
   5499 IFS=$as_save_IFS
   5500 
   5501 fi
   5502 fi
   5503 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5504 if test -n "$ac_ct_DUMPBIN"; then
   5505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5506 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5507 else
   5508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5509 $as_echo "no" >&6; }
   5510 fi
   5511 
   5512 
   5513   test -n "$ac_ct_DUMPBIN" && break
   5514 done
   5515 
   5516   if test "x$ac_ct_DUMPBIN" = x; then
   5517     DUMPBIN=":"
   5518   else
   5519     case $cross_compiling:$ac_tool_warned in
   5520 yes:)
   5521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5523 ac_tool_warned=yes ;;
   5524 esac
   5525     DUMPBIN=$ac_ct_DUMPBIN
   5526   fi
   5527 fi
   5528 
   5529     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5530     *COFF*)
   5531       DUMPBIN="$DUMPBIN -symbols"
   5532       ;;
   5533     *)
   5534       DUMPBIN=:
   5535       ;;
   5536     esac
   5537   fi
   5538 
   5539   if test "$DUMPBIN" != ":"; then
   5540     NM="$DUMPBIN"
   5541   fi
   5542 fi
   5543 test -z "$NM" && NM=nm
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5551 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5552 if ${lt_cv_nm_interface+:} false; then :
   5553   $as_echo_n "(cached) " >&6
   5554 else
   5555   lt_cv_nm_interface="BSD nm"
   5556   echo "int some_variable = 0;" > conftest.$ac_ext
   5557   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5558   (eval "$ac_compile" 2>conftest.err)
   5559   cat conftest.err >&5
   5560   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5561   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5562   cat conftest.err >&5
   5563   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5564   cat conftest.out >&5
   5565   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5566     lt_cv_nm_interface="MS dumpbin"
   5567   fi
   5568   rm -f conftest*
   5569 fi
   5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5571 $as_echo "$lt_cv_nm_interface" >&6; }
   5572 
   5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5574 $as_echo_n "checking whether ln -s works... " >&6; }
   5575 LN_S=$as_ln_s
   5576 if test "$LN_S" = "ln -s"; then
   5577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5578 $as_echo "yes" >&6; }
   5579 else
   5580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5581 $as_echo "no, using $LN_S" >&6; }
   5582 fi
   5583 
   5584 # find the maximum length of command line arguments
   5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5586 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5587 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5588   $as_echo_n "(cached) " >&6
   5589 else
   5590     i=0
   5591   teststring="ABCD"
   5592 
   5593   case $build_os in
   5594   msdosdjgpp*)
   5595     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5596     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5597     # during glob expansion).  Even if it were fixed, the result of this
   5598     # check would be larger than it should be.
   5599     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5600     ;;
   5601 
   5602   gnu*)
   5603     # Under GNU Hurd, this test is not required because there is
   5604     # no limit to the length of command line arguments.
   5605     # Libtool will interpret -1 as no limit whatsoever
   5606     lt_cv_sys_max_cmd_len=-1;
   5607     ;;
   5608 
   5609   cygwin* | mingw* | cegcc*)
   5610     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5611     # about 5 minutes as the teststring grows exponentially.
   5612     # Worse, since 9x/ME are not pre-emptively multitasking,
   5613     # you end up with a "frozen" computer, even though with patience
   5614     # the test eventually succeeds (with a max line length of 256k).
   5615     # Instead, let's just punt: use the minimum linelength reported by
   5616     # all of the supported platforms: 8192 (on NT/2K/XP).
   5617     lt_cv_sys_max_cmd_len=8192;
   5618     ;;
   5619 
   5620   mint*)
   5621     # On MiNT this can take a long time and run out of memory.
   5622     lt_cv_sys_max_cmd_len=8192;
   5623     ;;
   5624 
   5625   amigaos*)
   5626     # On AmigaOS with pdksh, this test takes hours, literally.
   5627     # So we just punt and use a minimum line length of 8192.
   5628     lt_cv_sys_max_cmd_len=8192;
   5629     ;;
   5630 
   5631   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5632     # This has been around since 386BSD, at least.  Likely further.
   5633     if test -x /sbin/sysctl; then
   5634       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5635     elif test -x /usr/sbin/sysctl; then
   5636       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5637     else
   5638       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5639     fi
   5640     # And add a safety zone
   5641     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5642     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5643     ;;
   5644 
   5645   interix*)
   5646     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5647     lt_cv_sys_max_cmd_len=196608
   5648     ;;
   5649 
   5650   osf*)
   5651     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5652     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5653     # nice to cause kernel panics so lets avoid the loop below.
   5654     # First set a reasonable default.
   5655     lt_cv_sys_max_cmd_len=16384
   5656     #
   5657     if test -x /sbin/sysconfig; then
   5658       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5659         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5660       esac
   5661     fi
   5662     ;;
   5663   sco3.2v5*)
   5664     lt_cv_sys_max_cmd_len=102400
   5665     ;;
   5666   sysv5* | sco5v6* | sysv4.2uw2*)
   5667     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5668     if test -n "$kargmax"; then
   5669       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5670     else
   5671       lt_cv_sys_max_cmd_len=32768
   5672     fi
   5673     ;;
   5674   *)
   5675     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5676     if test -n "$lt_cv_sys_max_cmd_len"; then
   5677       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5678       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5679     else
   5680       # Make teststring a little bigger before we do anything with it.
   5681       # a 1K string should be a reasonable start.
   5682       for i in 1 2 3 4 5 6 7 8 ; do
   5683         teststring=$teststring$teststring
   5684       done
   5685       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5686       # If test is not a shell built-in, we'll probably end up computing a
   5687       # maximum length that is only half of the actual maximum length, but
   5688       # we can't tell.
   5689       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   5690 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5691 	      test $i != 17 # 1/2 MB should be enough
   5692       do
   5693         i=`expr $i + 1`
   5694         teststring=$teststring$teststring
   5695       done
   5696       # Only check the string length outside the loop.
   5697       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5698       teststring=
   5699       # Add a significant safety factor because C++ compilers can tack on
   5700       # massive amounts of additional arguments before passing them to the
   5701       # linker.  It appears as though 1/2 is a usable value.
   5702       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5703     fi
   5704     ;;
   5705   esac
   5706 
   5707 fi
   5708 
   5709 if test -n $lt_cv_sys_max_cmd_len ; then
   5710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5711 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5712 else
   5713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5714 $as_echo "none" >&6; }
   5715 fi
   5716 max_cmd_len=$lt_cv_sys_max_cmd_len
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 : ${CP="cp -f"}
   5724 : ${MV="mv -f"}
   5725 : ${RM="rm -f"}
   5726 
   5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5728 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5729 # Try some XSI features
   5730 xsi_shell=no
   5731 ( _lt_dummy="a/b/c"
   5732   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5733       = c,a/b,, \
   5734     && eval 'test $(( 1 + 1 )) -eq 2 \
   5735     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5736   && xsi_shell=yes
   5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5738 $as_echo "$xsi_shell" >&6; }
   5739 
   5740 
   5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5742 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5743 lt_shell_append=no
   5744 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5745     >/dev/null 2>&1 \
   5746   && lt_shell_append=yes
   5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5748 $as_echo "$lt_shell_append" >&6; }
   5749 
   5750 
   5751 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5752   lt_unset=unset
   5753 else
   5754   lt_unset=false
   5755 fi
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 # test EBCDIC or ASCII
   5762 case `echo X|tr X '\101'` in
   5763  A) # ASCII based system
   5764     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5765   lt_SP2NL='tr \040 \012'
   5766   lt_NL2SP='tr \015\012 \040\040'
   5767   ;;
   5768  *) # EBCDIC based system
   5769   lt_SP2NL='tr \100 \n'
   5770   lt_NL2SP='tr \r\n \100\100'
   5771   ;;
   5772 esac
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5783 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5784 if ${lt_cv_ld_reload_flag+:} false; then :
   5785   $as_echo_n "(cached) " >&6
   5786 else
   5787   lt_cv_ld_reload_flag='-r'
   5788 fi
   5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5790 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5791 reload_flag=$lt_cv_ld_reload_flag
   5792 case $reload_flag in
   5793 "" | " "*) ;;
   5794 *) reload_flag=" $reload_flag" ;;
   5795 esac
   5796 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5797 case $host_os in
   5798   darwin*)
   5799     if test "$GCC" = yes; then
   5800       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5801     else
   5802       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5803     fi
   5804     ;;
   5805 esac
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 if test -n "$ac_tool_prefix"; then
   5816   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5817 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5819 $as_echo_n "checking for $ac_word... " >&6; }
   5820 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5821   $as_echo_n "(cached) " >&6
   5822 else
   5823   if test -n "$OBJDUMP"; then
   5824   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5825 else
   5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5827 for as_dir in $PATH
   5828 do
   5829   IFS=$as_save_IFS
   5830   test -z "$as_dir" && as_dir=.
   5831     for ac_exec_ext in '' $ac_executable_extensions; do
   5832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5833     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5835     break 2
   5836   fi
   5837 done
   5838   done
   5839 IFS=$as_save_IFS
   5840 
   5841 fi
   5842 fi
   5843 OBJDUMP=$ac_cv_prog_OBJDUMP
   5844 if test -n "$OBJDUMP"; then
   5845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5846 $as_echo "$OBJDUMP" >&6; }
   5847 else
   5848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5849 $as_echo "no" >&6; }
   5850 fi
   5851 
   5852 
   5853 fi
   5854 if test -z "$ac_cv_prog_OBJDUMP"; then
   5855   ac_ct_OBJDUMP=$OBJDUMP
   5856   # Extract the first word of "objdump", so it can be a program name with args.
   5857 set dummy objdump; ac_word=$2
   5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5859 $as_echo_n "checking for $ac_word... " >&6; }
   5860 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5861   $as_echo_n "(cached) " >&6
   5862 else
   5863   if test -n "$ac_ct_OBJDUMP"; then
   5864   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5865 else
   5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5867 for as_dir in $PATH
   5868 do
   5869   IFS=$as_save_IFS
   5870   test -z "$as_dir" && as_dir=.
   5871     for ac_exec_ext in '' $ac_executable_extensions; do
   5872   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5873     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5875     break 2
   5876   fi
   5877 done
   5878   done
   5879 IFS=$as_save_IFS
   5880 
   5881 fi
   5882 fi
   5883 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5884 if test -n "$ac_ct_OBJDUMP"; then
   5885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5886 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5887 else
   5888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5889 $as_echo "no" >&6; }
   5890 fi
   5891 
   5892   if test "x$ac_ct_OBJDUMP" = x; then
   5893     OBJDUMP="false"
   5894   else
   5895     case $cross_compiling:$ac_tool_warned in
   5896 yes:)
   5897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5899 ac_tool_warned=yes ;;
   5900 esac
   5901     OBJDUMP=$ac_ct_OBJDUMP
   5902   fi
   5903 else
   5904   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5905 fi
   5906 
   5907 test -z "$OBJDUMP" && OBJDUMP=objdump
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5918 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5919 if ${lt_cv_deplibs_check_method+:} false; then :
   5920   $as_echo_n "(cached) " >&6
   5921 else
   5922   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5923 lt_cv_file_magic_test_file=
   5924 lt_cv_deplibs_check_method='unknown'
   5925 # Need to set the preceding variable on all platforms that support
   5926 # interlibrary dependencies.
   5927 # 'none' -- dependencies not supported.
   5928 # `unknown' -- same as none, but documents that we really don't know.
   5929 # 'pass_all' -- all dependencies passed with no checks.
   5930 # 'test_compile' -- check by making test program.
   5931 # 'file_magic [[regex]]' -- check by looking for files in library path
   5932 # which responds to the $file_magic_cmd with a given extended regex.
   5933 # If you have `file' or equivalent on your system and you're not sure
   5934 # whether `pass_all' will *always* work, you probably want this one.
   5935 
   5936 case $host_os in
   5937 aix[4-9]*)
   5938   lt_cv_deplibs_check_method=pass_all
   5939   ;;
   5940 
   5941 beos*)
   5942   lt_cv_deplibs_check_method=pass_all
   5943   ;;
   5944 
   5945 bsdi[45]*)
   5946   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5947   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5948   lt_cv_file_magic_test_file=/shlib/libc.so
   5949   ;;
   5950 
   5951 cygwin*)
   5952   # func_win32_libid is a shell function defined in ltmain.sh
   5953   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5954   lt_cv_file_magic_cmd='func_win32_libid'
   5955   ;;
   5956 
   5957 mingw* | pw32*)
   5958   # Base MSYS/MinGW do not provide the 'file' command needed by
   5959   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5960   # unless we find 'file', for example because we are cross-compiling.
   5961   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5962   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5963     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5964     lt_cv_file_magic_cmd='func_win32_libid'
   5965   else
   5966     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5967     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5968   fi
   5969   ;;
   5970 
   5971 cegcc*)
   5972   # use the weaker test based on 'objdump'. See mingw*.
   5973   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5974   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5975   ;;
   5976 
   5977 darwin* | rhapsody*)
   5978   lt_cv_deplibs_check_method=pass_all
   5979   ;;
   5980 
   5981 freebsd* | dragonfly*)
   5982   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5983     case $host_cpu in
   5984     i*86 )
   5985       # Not sure whether the presence of OpenBSD here was a mistake.
   5986       # Let's accept both of them until this is cleared up.
   5987       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5988       lt_cv_file_magic_cmd=/usr/bin/file
   5989       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5990       ;;
   5991     esac
   5992   else
   5993     lt_cv_deplibs_check_method=pass_all
   5994   fi
   5995   ;;
   5996 
   5997 gnu*)
   5998   lt_cv_deplibs_check_method=pass_all
   5999   ;;
   6000 
   6001 haiku*)
   6002   lt_cv_deplibs_check_method=pass_all
   6003   ;;
   6004 
   6005 hpux10.20* | hpux11*)
   6006   lt_cv_file_magic_cmd=/usr/bin/file
   6007   case $host_cpu in
   6008   ia64*)
   6009     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6010     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6011     ;;
   6012   hppa*64*)
   6013     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]'
   6014     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6015     ;;
   6016   *)
   6017     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6018     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6019     ;;
   6020   esac
   6021   ;;
   6022 
   6023 interix[3-9]*)
   6024   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6025   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6026   ;;
   6027 
   6028 irix5* | irix6* | nonstopux*)
   6029   case $LD in
   6030   *-32|*"-32 ") libmagic=32-bit;;
   6031   *-n32|*"-n32 ") libmagic=N32;;
   6032   *-64|*"-64 ") libmagic=64-bit;;
   6033   *) libmagic=never-match;;
   6034   esac
   6035   lt_cv_deplibs_check_method=pass_all
   6036   ;;
   6037 
   6038 # This must be Linux ELF.
   6039 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   6040   lt_cv_deplibs_check_method=pass_all
   6041   ;;
   6042 
   6043 netbsd*)
   6044   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6045     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6046   else
   6047     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6048   fi
   6049   ;;
   6050 
   6051 newos6*)
   6052   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6053   lt_cv_file_magic_cmd=/usr/bin/file
   6054   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6055   ;;
   6056 
   6057 *nto* | *qnx*)
   6058   lt_cv_deplibs_check_method=pass_all
   6059   ;;
   6060 
   6061 openbsd*)
   6062   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6063     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6064   else
   6065     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6066   fi
   6067   ;;
   6068 
   6069 osf3* | osf4* | osf5*)
   6070   lt_cv_deplibs_check_method=pass_all
   6071   ;;
   6072 
   6073 rdos*)
   6074   lt_cv_deplibs_check_method=pass_all
   6075   ;;
   6076 
   6077 solaris*)
   6078   lt_cv_deplibs_check_method=pass_all
   6079   ;;
   6080 
   6081 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6082   lt_cv_deplibs_check_method=pass_all
   6083   ;;
   6084 
   6085 sysv4 | sysv4.3*)
   6086   case $host_vendor in
   6087   motorola)
   6088     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]'
   6089     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6090     ;;
   6091   ncr)
   6092     lt_cv_deplibs_check_method=pass_all
   6093     ;;
   6094   sequent)
   6095     lt_cv_file_magic_cmd='/bin/file'
   6096     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6097     ;;
   6098   sni)
   6099     lt_cv_file_magic_cmd='/bin/file'
   6100     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6101     lt_cv_file_magic_test_file=/lib/libc.so
   6102     ;;
   6103   siemens)
   6104     lt_cv_deplibs_check_method=pass_all
   6105     ;;
   6106   pc)
   6107     lt_cv_deplibs_check_method=pass_all
   6108     ;;
   6109   esac
   6110   ;;
   6111 
   6112 tpf*)
   6113   lt_cv_deplibs_check_method=pass_all
   6114   ;;
   6115 vxworks*)
   6116   # Assume VxWorks cross toolchains are built on Linux, possibly
   6117   # as canadian for Windows hosts.
   6118   lt_cv_deplibs_check_method=pass_all
   6119   ;;
   6120 esac
   6121 
   6122 fi
   6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6124 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6125 file_magic_cmd=$lt_cv_file_magic_cmd
   6126 deplibs_check_method=$lt_cv_deplibs_check_method
   6127 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 plugin_option=
   6141 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   6142 for plugin in $plugin_names; do
   6143   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   6144   if test x$plugin_so = x$plugin; then
   6145     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   6146   fi
   6147   if test x$plugin_so != x$plugin; then
   6148     plugin_option="--plugin $plugin_so"
   6149     break
   6150   fi
   6151 done
   6152 
   6153 if test -n "$ac_tool_prefix"; then
   6154   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6155 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6157 $as_echo_n "checking for $ac_word... " >&6; }
   6158 if ${ac_cv_prog_AR+:} false; then :
   6159   $as_echo_n "(cached) " >&6
   6160 else
   6161   if test -n "$AR"; then
   6162   ac_cv_prog_AR="$AR" # Let the user override the test.
   6163 else
   6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6165 for as_dir in $PATH
   6166 do
   6167   IFS=$as_save_IFS
   6168   test -z "$as_dir" && as_dir=.
   6169     for ac_exec_ext in '' $ac_executable_extensions; do
   6170   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6171     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6173     break 2
   6174   fi
   6175 done
   6176   done
   6177 IFS=$as_save_IFS
   6178 
   6179 fi
   6180 fi
   6181 AR=$ac_cv_prog_AR
   6182 if test -n "$AR"; then
   6183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6184 $as_echo "$AR" >&6; }
   6185 else
   6186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6187 $as_echo "no" >&6; }
   6188 fi
   6189 
   6190 
   6191 fi
   6192 if test -z "$ac_cv_prog_AR"; then
   6193   ac_ct_AR=$AR
   6194   # Extract the first word of "ar", so it can be a program name with args.
   6195 set dummy ar; ac_word=$2
   6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6197 $as_echo_n "checking for $ac_word... " >&6; }
   6198 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6199   $as_echo_n "(cached) " >&6
   6200 else
   6201   if test -n "$ac_ct_AR"; then
   6202   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6203 else
   6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6205 for as_dir in $PATH
   6206 do
   6207   IFS=$as_save_IFS
   6208   test -z "$as_dir" && as_dir=.
   6209     for ac_exec_ext in '' $ac_executable_extensions; do
   6210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6211     ac_cv_prog_ac_ct_AR="ar"
   6212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6213     break 2
   6214   fi
   6215 done
   6216   done
   6217 IFS=$as_save_IFS
   6218 
   6219 fi
   6220 fi
   6221 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6222 if test -n "$ac_ct_AR"; then
   6223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6224 $as_echo "$ac_ct_AR" >&6; }
   6225 else
   6226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6227 $as_echo "no" >&6; }
   6228 fi
   6229 
   6230   if test "x$ac_ct_AR" = x; then
   6231     AR="false"
   6232   else
   6233     case $cross_compiling:$ac_tool_warned in
   6234 yes:)
   6235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6237 ac_tool_warned=yes ;;
   6238 esac
   6239     AR=$ac_ct_AR
   6240   fi
   6241 else
   6242   AR="$ac_cv_prog_AR"
   6243 fi
   6244 
   6245 test -z "$AR" && AR=ar
   6246 if test -n "$plugin_option"; then
   6247   if $AR --help 2>&1 | grep -q "\--plugin"; then
   6248     touch conftest.c
   6249     $AR $plugin_option rc conftest.a conftest.c
   6250     if test "$?" != 0; then
   6251       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   6252 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   6253     else
   6254       AR="$AR $plugin_option"
   6255     fi
   6256     rm -f conftest.*
   6257   fi
   6258 fi
   6259 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 if test -n "$ac_tool_prefix"; then
   6272   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6273 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6275 $as_echo_n "checking for $ac_word... " >&6; }
   6276 if ${ac_cv_prog_STRIP+:} false; then :
   6277   $as_echo_n "(cached) " >&6
   6278 else
   6279   if test -n "$STRIP"; then
   6280   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6281 else
   6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6283 for as_dir in $PATH
   6284 do
   6285   IFS=$as_save_IFS
   6286   test -z "$as_dir" && as_dir=.
   6287     for ac_exec_ext in '' $ac_executable_extensions; do
   6288   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6289     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6291     break 2
   6292   fi
   6293 done
   6294   done
   6295 IFS=$as_save_IFS
   6296 
   6297 fi
   6298 fi
   6299 STRIP=$ac_cv_prog_STRIP
   6300 if test -n "$STRIP"; then
   6301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6302 $as_echo "$STRIP" >&6; }
   6303 else
   6304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6305 $as_echo "no" >&6; }
   6306 fi
   6307 
   6308 
   6309 fi
   6310 if test -z "$ac_cv_prog_STRIP"; then
   6311   ac_ct_STRIP=$STRIP
   6312   # Extract the first word of "strip", so it can be a program name with args.
   6313 set dummy strip; ac_word=$2
   6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6315 $as_echo_n "checking for $ac_word... " >&6; }
   6316 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6317   $as_echo_n "(cached) " >&6
   6318 else
   6319   if test -n "$ac_ct_STRIP"; then
   6320   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6321 else
   6322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6323 for as_dir in $PATH
   6324 do
   6325   IFS=$as_save_IFS
   6326   test -z "$as_dir" && as_dir=.
   6327     for ac_exec_ext in '' $ac_executable_extensions; do
   6328   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6329     ac_cv_prog_ac_ct_STRIP="strip"
   6330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6331     break 2
   6332   fi
   6333 done
   6334   done
   6335 IFS=$as_save_IFS
   6336 
   6337 fi
   6338 fi
   6339 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6340 if test -n "$ac_ct_STRIP"; then
   6341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6342 $as_echo "$ac_ct_STRIP" >&6; }
   6343 else
   6344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6345 $as_echo "no" >&6; }
   6346 fi
   6347 
   6348   if test "x$ac_ct_STRIP" = x; then
   6349     STRIP=":"
   6350   else
   6351     case $cross_compiling:$ac_tool_warned in
   6352 yes:)
   6353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6355 ac_tool_warned=yes ;;
   6356 esac
   6357     STRIP=$ac_ct_STRIP
   6358   fi
   6359 else
   6360   STRIP="$ac_cv_prog_STRIP"
   6361 fi
   6362 
   6363 test -z "$STRIP" && STRIP=:
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 if test -n "$ac_tool_prefix"; then
   6371   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6372 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6374 $as_echo_n "checking for $ac_word... " >&6; }
   6375 if ${ac_cv_prog_RANLIB+:} false; then :
   6376   $as_echo_n "(cached) " >&6
   6377 else
   6378   if test -n "$RANLIB"; then
   6379   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6380 else
   6381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6382 for as_dir in $PATH
   6383 do
   6384   IFS=$as_save_IFS
   6385   test -z "$as_dir" && as_dir=.
   6386     for ac_exec_ext in '' $ac_executable_extensions; do
   6387   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6388     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6390     break 2
   6391   fi
   6392 done
   6393   done
   6394 IFS=$as_save_IFS
   6395 
   6396 fi
   6397 fi
   6398 RANLIB=$ac_cv_prog_RANLIB
   6399 if test -n "$RANLIB"; then
   6400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6401 $as_echo "$RANLIB" >&6; }
   6402 else
   6403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6404 $as_echo "no" >&6; }
   6405 fi
   6406 
   6407 
   6408 fi
   6409 if test -z "$ac_cv_prog_RANLIB"; then
   6410   ac_ct_RANLIB=$RANLIB
   6411   # Extract the first word of "ranlib", so it can be a program name with args.
   6412 set dummy ranlib; ac_word=$2
   6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6414 $as_echo_n "checking for $ac_word... " >&6; }
   6415 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6416   $as_echo_n "(cached) " >&6
   6417 else
   6418   if test -n "$ac_ct_RANLIB"; then
   6419   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6420 else
   6421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6422 for as_dir in $PATH
   6423 do
   6424   IFS=$as_save_IFS
   6425   test -z "$as_dir" && as_dir=.
   6426     for ac_exec_ext in '' $ac_executable_extensions; do
   6427   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6428     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6430     break 2
   6431   fi
   6432 done
   6433   done
   6434 IFS=$as_save_IFS
   6435 
   6436 fi
   6437 fi
   6438 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6439 if test -n "$ac_ct_RANLIB"; then
   6440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6441 $as_echo "$ac_ct_RANLIB" >&6; }
   6442 else
   6443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6444 $as_echo "no" >&6; }
   6445 fi
   6446 
   6447   if test "x$ac_ct_RANLIB" = x; then
   6448     RANLIB=":"
   6449   else
   6450     case $cross_compiling:$ac_tool_warned in
   6451 yes:)
   6452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6454 ac_tool_warned=yes ;;
   6455 esac
   6456     RANLIB=$ac_ct_RANLIB
   6457   fi
   6458 else
   6459   RANLIB="$ac_cv_prog_RANLIB"
   6460 fi
   6461 
   6462 test -z "$RANLIB" && RANLIB=:
   6463 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   6464   if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   6465     RANLIB="$RANLIB $plugin_option"
   6466   fi
   6467 fi
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 # Determine commands to create old-style static archives.
   6475 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6476 old_postinstall_cmds='chmod 644 $oldlib'
   6477 old_postuninstall_cmds=
   6478 
   6479 if test -n "$RANLIB"; then
   6480   case $host_os in
   6481   openbsd*)
   6482     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6483     ;;
   6484   *)
   6485     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6486     ;;
   6487   esac
   6488   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6489 fi
   6490 
   6491 case $host_os in
   6492   darwin*)
   6493     lock_old_archive_extraction=yes ;;
   6494   *)
   6495     lock_old_archive_extraction=no ;;
   6496 esac
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 # If no C compiler was specified, use CC.
   6537 LTCC=${LTCC-"$CC"}
   6538 
   6539 # If no C compiler flags were specified, use CFLAGS.
   6540 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6541 
   6542 # Allow CC to be a program name with arguments.
   6543 compiler=$CC
   6544 
   6545 
   6546 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6548 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6549 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6550   $as_echo_n "(cached) " >&6
   6551 else
   6552 
   6553 # These are sane defaults that work on at least a few old systems.
   6554 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6555 
   6556 # Character class describing NM global symbol codes.
   6557 symcode='[BCDEGRST]'
   6558 
   6559 # Regexp to match symbols that can be accessed directly from C.
   6560 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6561 
   6562 # Define system-specific variables.
   6563 case $host_os in
   6564 aix*)
   6565   symcode='[BCDT]'
   6566   ;;
   6567 cygwin* | mingw* | pw32* | cegcc*)
   6568   symcode='[ABCDGISTW]'
   6569   ;;
   6570 hpux*)
   6571   if test "$host_cpu" = ia64; then
   6572     symcode='[ABCDEGRST]'
   6573   fi
   6574   ;;
   6575 irix* | nonstopux*)
   6576   symcode='[BCDEGRST]'
   6577   ;;
   6578 osf*)
   6579   symcode='[BCDEGQRST]'
   6580   ;;
   6581 solaris*)
   6582   symcode='[BCDRT]'
   6583   ;;
   6584 sco3.2v5*)
   6585   symcode='[DT]'
   6586   ;;
   6587 sysv4.2uw2*)
   6588   symcode='[DT]'
   6589   ;;
   6590 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6591   symcode='[ABDT]'
   6592   ;;
   6593 sysv4)
   6594   symcode='[DFNSTU]'
   6595   ;;
   6596 esac
   6597 
   6598 # If we're using GNU nm, then use its standard symbol codes.
   6599 case `$NM -V 2>&1` in
   6600 *GNU* | *'with BFD'*)
   6601   symcode='[ABCDGIRSTW]' ;;
   6602 esac
   6603 
   6604 # Transform an extracted symbol line into a proper C declaration.
   6605 # Some systems (esp. on ia64) link data and code symbols differently,
   6606 # so use this general approach.
   6607 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6608 
   6609 # Transform an extracted symbol line into symbol name and symbol address
   6610 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6611 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'"
   6612 
   6613 # Handle CRLF in mingw tool chain
   6614 opt_cr=
   6615 case $build_os in
   6616 mingw*)
   6617   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6618   ;;
   6619 esac
   6620 
   6621 # Try without a prefix underscore, then with it.
   6622 for ac_symprfx in "" "_"; do
   6623 
   6624   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6625   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6626 
   6627   # Write the raw and C identifiers.
   6628   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6629     # Fake it for dumpbin and say T for any non-static function
   6630     # and D for any global variable.
   6631     # Also find C++ and __fastcall symbols from MSVC++,
   6632     # which start with @ or ?.
   6633     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6634 "     {last_section=section; section=\$ 3};"\
   6635 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6636 "     \$ 0!~/External *\|/{next};"\
   6637 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6638 "     {if(hide[section]) next};"\
   6639 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6640 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6641 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6642 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6643 "     ' prfx=^$ac_symprfx"
   6644   else
   6645     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6646   fi
   6647 
   6648   # Check to see that the pipe works correctly.
   6649   pipe_works=no
   6650 
   6651   rm -f conftest*
   6652   cat > conftest.$ac_ext <<_LT_EOF
   6653 #ifdef __cplusplus
   6654 extern "C" {
   6655 #endif
   6656 char nm_test_var;
   6657 void nm_test_func(void);
   6658 void nm_test_func(void){}
   6659 #ifdef __cplusplus
   6660 }
   6661 #endif
   6662 int main(){nm_test_var='a';nm_test_func();return(0);}
   6663 _LT_EOF
   6664 
   6665   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6666   (eval $ac_compile) 2>&5
   6667   ac_status=$?
   6668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6669   test $ac_status = 0; }; then
   6670     # Now try to grab the symbols.
   6671     nlist=conftest.nm
   6672     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6673   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6674   ac_status=$?
   6675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6676   test $ac_status = 0; } && test -s "$nlist"; then
   6677       # Try sorting and uniquifying the output.
   6678       if sort "$nlist" | uniq > "$nlist"T; then
   6679 	mv -f "$nlist"T "$nlist"
   6680       else
   6681 	rm -f "$nlist"T
   6682       fi
   6683 
   6684       # Make sure that we snagged all the symbols we need.
   6685       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6686 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6687 	  cat <<_LT_EOF > conftest.$ac_ext
   6688 #ifdef __cplusplus
   6689 extern "C" {
   6690 #endif
   6691 
   6692 _LT_EOF
   6693 	  # Now generate the symbol file.
   6694 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6695 
   6696 	  cat <<_LT_EOF >> conftest.$ac_ext
   6697 
   6698 /* The mapping between symbol names and symbols.  */
   6699 const struct {
   6700   const char *name;
   6701   void       *address;
   6702 }
   6703 lt__PROGRAM__LTX_preloaded_symbols[] =
   6704 {
   6705   { "@PROGRAM@", (void *) 0 },
   6706 _LT_EOF
   6707 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6708 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6709   {0, (void *) 0}
   6710 };
   6711 
   6712 /* This works around a problem in FreeBSD linker */
   6713 #ifdef FREEBSD_WORKAROUND
   6714 static const void *lt_preloaded_setup() {
   6715   return lt__PROGRAM__LTX_preloaded_symbols;
   6716 }
   6717 #endif
   6718 
   6719 #ifdef __cplusplus
   6720 }
   6721 #endif
   6722 _LT_EOF
   6723 	  # Now try linking the two files.
   6724 	  mv conftest.$ac_objext conftstm.$ac_objext
   6725 	  lt_save_LIBS="$LIBS"
   6726 	  lt_save_CFLAGS="$CFLAGS"
   6727 	  LIBS="conftstm.$ac_objext"
   6728 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6729 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6730   (eval $ac_link) 2>&5
   6731   ac_status=$?
   6732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6733   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6734 	    pipe_works=yes
   6735 	  fi
   6736 	  LIBS="$lt_save_LIBS"
   6737 	  CFLAGS="$lt_save_CFLAGS"
   6738 	else
   6739 	  echo "cannot find nm_test_func in $nlist" >&5
   6740 	fi
   6741       else
   6742 	echo "cannot find nm_test_var in $nlist" >&5
   6743       fi
   6744     else
   6745       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6746     fi
   6747   else
   6748     echo "$progname: failed program was:" >&5
   6749     cat conftest.$ac_ext >&5
   6750   fi
   6751   rm -rf conftest* conftst*
   6752 
   6753   # Do not use the global_symbol_pipe unless it works.
   6754   if test "$pipe_works" = yes; then
   6755     break
   6756   else
   6757     lt_cv_sys_global_symbol_pipe=
   6758   fi
   6759 done
   6760 
   6761 fi
   6762 
   6763 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6764   lt_cv_sys_global_symbol_to_cdecl=
   6765 fi
   6766 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6768 $as_echo "failed" >&6; }
   6769 else
   6770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6771 $as_echo "ok" >&6; }
   6772 fi
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 # Check whether --enable-libtool-lock was given.
   6796 if test "${enable_libtool_lock+set}" = set; then :
   6797   enableval=$enable_libtool_lock;
   6798 fi
   6799 
   6800 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6801 
   6802 # Some flags need to be propagated to the compiler or linker for good
   6803 # libtool support.
   6804 case $host in
   6805 ia64-*-hpux*)
   6806   # Find out which ABI we are using.
   6807   echo 'int i;' > conftest.$ac_ext
   6808   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6809   (eval $ac_compile) 2>&5
   6810   ac_status=$?
   6811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6812   test $ac_status = 0; }; then
   6813     case `/usr/bin/file conftest.$ac_objext` in
   6814       *ELF-32*)
   6815 	HPUX_IA64_MODE="32"
   6816 	;;
   6817       *ELF-64*)
   6818 	HPUX_IA64_MODE="64"
   6819 	;;
   6820     esac
   6821   fi
   6822   rm -rf conftest*
   6823   ;;
   6824 *-*-irix6*)
   6825   # Find out which ABI we are using.
   6826   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6827   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6828   (eval $ac_compile) 2>&5
   6829   ac_status=$?
   6830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6831   test $ac_status = 0; }; then
   6832     if test "$lt_cv_prog_gnu_ld" = yes; then
   6833       case `/usr/bin/file conftest.$ac_objext` in
   6834 	*32-bit*)
   6835 	  LD="${LD-ld} -melf32bsmip"
   6836 	  ;;
   6837 	*N32*)
   6838 	  LD="${LD-ld} -melf32bmipn32"
   6839 	  ;;
   6840 	*64-bit*)
   6841 	  LD="${LD-ld} -melf64bmip"
   6842 	;;
   6843       esac
   6844     else
   6845       case `/usr/bin/file conftest.$ac_objext` in
   6846 	*32-bit*)
   6847 	  LD="${LD-ld} -32"
   6848 	  ;;
   6849 	*N32*)
   6850 	  LD="${LD-ld} -n32"
   6851 	  ;;
   6852 	*64-bit*)
   6853 	  LD="${LD-ld} -64"
   6854 	  ;;
   6855       esac
   6856     fi
   6857   fi
   6858   rm -rf conftest*
   6859   ;;
   6860 
   6861 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6862 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6863   # Find out which ABI we are using.
   6864   echo 'int i;' > conftest.$ac_ext
   6865   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6866   (eval $ac_compile) 2>&5
   6867   ac_status=$?
   6868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6869   test $ac_status = 0; }; then
   6870     case `/usr/bin/file conftest.o` in
   6871       *32-bit*)
   6872 	case $host in
   6873 	  x86_64-*kfreebsd*-gnu)
   6874 	    LD="${LD-ld} -m elf_i386_fbsd"
   6875 	    ;;
   6876 	  x86_64-*linux*)
   6877 	    case `/usr/bin/file conftest.o` in
   6878 	      *x86-64*)
   6879 		LD="${LD-ld} -m elf32_x86_64"
   6880 		;;
   6881 	      *)
   6882 		LD="${LD-ld} -m elf_i386"
   6883 		;;
   6884 	    esac
   6885 	    ;;
   6886 	  powerpc64le-*linux*)
   6887 	    LD="${LD-ld} -m elf32lppclinux"
   6888 	    ;;
   6889 	  powerpc64-*linux*)
   6890 	    LD="${LD-ld} -m elf32ppclinux"
   6891 	    ;;
   6892 	  s390x-*linux*)
   6893 	    LD="${LD-ld} -m elf_s390"
   6894 	    ;;
   6895 	  sparc64-*linux*)
   6896 	    LD="${LD-ld} -m elf32_sparc"
   6897 	    ;;
   6898 	esac
   6899 	;;
   6900       *64-bit*)
   6901 	case $host in
   6902 	  x86_64-*kfreebsd*-gnu)
   6903 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6904 	    ;;
   6905 	  x86_64-*linux*)
   6906 	    LD="${LD-ld} -m elf_x86_64"
   6907 	    ;;
   6908 	  powerpcle-*linux*)
   6909 	    LD="${LD-ld} -m elf64lppc"
   6910 	    ;;
   6911 	  powerpc-*linux*)
   6912 	    LD="${LD-ld} -m elf64ppc"
   6913 	    ;;
   6914 	  s390*-*linux*|s390*-*tpf*)
   6915 	    LD="${LD-ld} -m elf64_s390"
   6916 	    ;;
   6917 	  sparc*-*linux*)
   6918 	    LD="${LD-ld} -m elf64_sparc"
   6919 	    ;;
   6920 	esac
   6921 	;;
   6922     esac
   6923   fi
   6924   rm -rf conftest*
   6925   ;;
   6926 
   6927 *-*-sco3.2v5*)
   6928   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6929   SAVE_CFLAGS="$CFLAGS"
   6930   CFLAGS="$CFLAGS -belf"
   6931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6932 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6933 if ${lt_cv_cc_needs_belf+:} false; then :
   6934   $as_echo_n "(cached) " >&6
   6935 else
   6936   ac_ext=c
   6937 ac_cpp='$CPP $CPPFLAGS'
   6938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6941 
   6942      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6943 /* end confdefs.h.  */
   6944 
   6945 int
   6946 main ()
   6947 {
   6948 
   6949   ;
   6950   return 0;
   6951 }
   6952 _ACEOF
   6953 if ac_fn_c_try_link "$LINENO"; then :
   6954   lt_cv_cc_needs_belf=yes
   6955 else
   6956   lt_cv_cc_needs_belf=no
   6957 fi
   6958 rm -f core conftest.err conftest.$ac_objext \
   6959     conftest$ac_exeext conftest.$ac_ext
   6960      ac_ext=c
   6961 ac_cpp='$CPP $CPPFLAGS'
   6962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6965 
   6966 fi
   6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6968 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6969   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6970     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6971     CFLAGS="$SAVE_CFLAGS"
   6972   fi
   6973   ;;
   6974 sparc*-*solaris*)
   6975   # Find out which ABI we are using.
   6976   echo 'int i;' > conftest.$ac_ext
   6977   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6978   (eval $ac_compile) 2>&5
   6979   ac_status=$?
   6980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6981   test $ac_status = 0; }; then
   6982     case `/usr/bin/file conftest.o` in
   6983     *64-bit*)
   6984       case $lt_cv_prog_gnu_ld in
   6985       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6986       *)
   6987 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6988 	  LD="${LD-ld} -64"
   6989 	fi
   6990 	;;
   6991       esac
   6992       ;;
   6993     esac
   6994   fi
   6995   rm -rf conftest*
   6996   ;;
   6997 esac
   6998 
   6999 need_locks="$enable_libtool_lock"
   7000 
   7001 
   7002   case $host_os in
   7003     rhapsody* | darwin*)
   7004     if test -n "$ac_tool_prefix"; then
   7005   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7006 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7008 $as_echo_n "checking for $ac_word... " >&6; }
   7009 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7010   $as_echo_n "(cached) " >&6
   7011 else
   7012   if test -n "$DSYMUTIL"; then
   7013   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7014 else
   7015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7016 for as_dir in $PATH
   7017 do
   7018   IFS=$as_save_IFS
   7019   test -z "$as_dir" && as_dir=.
   7020     for ac_exec_ext in '' $ac_executable_extensions; do
   7021   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7022     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7024     break 2
   7025   fi
   7026 done
   7027   done
   7028 IFS=$as_save_IFS
   7029 
   7030 fi
   7031 fi
   7032 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7033 if test -n "$DSYMUTIL"; then
   7034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7035 $as_echo "$DSYMUTIL" >&6; }
   7036 else
   7037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7038 $as_echo "no" >&6; }
   7039 fi
   7040 
   7041 
   7042 fi
   7043 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7044   ac_ct_DSYMUTIL=$DSYMUTIL
   7045   # Extract the first word of "dsymutil", so it can be a program name with args.
   7046 set dummy dsymutil; ac_word=$2
   7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7048 $as_echo_n "checking for $ac_word... " >&6; }
   7049 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7050   $as_echo_n "(cached) " >&6
   7051 else
   7052   if test -n "$ac_ct_DSYMUTIL"; then
   7053   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7054 else
   7055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7056 for as_dir in $PATH
   7057 do
   7058   IFS=$as_save_IFS
   7059   test -z "$as_dir" && as_dir=.
   7060     for ac_exec_ext in '' $ac_executable_extensions; do
   7061   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7062     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7064     break 2
   7065   fi
   7066 done
   7067   done
   7068 IFS=$as_save_IFS
   7069 
   7070 fi
   7071 fi
   7072 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7073 if test -n "$ac_ct_DSYMUTIL"; then
   7074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7075 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7076 else
   7077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7078 $as_echo "no" >&6; }
   7079 fi
   7080 
   7081   if test "x$ac_ct_DSYMUTIL" = x; then
   7082     DSYMUTIL=":"
   7083   else
   7084     case $cross_compiling:$ac_tool_warned in
   7085 yes:)
   7086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7088 ac_tool_warned=yes ;;
   7089 esac
   7090     DSYMUTIL=$ac_ct_DSYMUTIL
   7091   fi
   7092 else
   7093   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7094 fi
   7095 
   7096     if test -n "$ac_tool_prefix"; then
   7097   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7098 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7100 $as_echo_n "checking for $ac_word... " >&6; }
   7101 if ${ac_cv_prog_NMEDIT+:} false; then :
   7102   $as_echo_n "(cached) " >&6
   7103 else
   7104   if test -n "$NMEDIT"; then
   7105   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7106 else
   7107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7108 for as_dir in $PATH
   7109 do
   7110   IFS=$as_save_IFS
   7111   test -z "$as_dir" && as_dir=.
   7112     for ac_exec_ext in '' $ac_executable_extensions; do
   7113   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7114     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7115     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7116     break 2
   7117   fi
   7118 done
   7119   done
   7120 IFS=$as_save_IFS
   7121 
   7122 fi
   7123 fi
   7124 NMEDIT=$ac_cv_prog_NMEDIT
   7125 if test -n "$NMEDIT"; then
   7126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7127 $as_echo "$NMEDIT" >&6; }
   7128 else
   7129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7130 $as_echo "no" >&6; }
   7131 fi
   7132 
   7133 
   7134 fi
   7135 if test -z "$ac_cv_prog_NMEDIT"; then
   7136   ac_ct_NMEDIT=$NMEDIT
   7137   # Extract the first word of "nmedit", so it can be a program name with args.
   7138 set dummy nmedit; ac_word=$2
   7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7140 $as_echo_n "checking for $ac_word... " >&6; }
   7141 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7142   $as_echo_n "(cached) " >&6
   7143 else
   7144   if test -n "$ac_ct_NMEDIT"; then
   7145   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7146 else
   7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7148 for as_dir in $PATH
   7149 do
   7150   IFS=$as_save_IFS
   7151   test -z "$as_dir" && as_dir=.
   7152     for ac_exec_ext in '' $ac_executable_extensions; do
   7153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7154     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7156     break 2
   7157   fi
   7158 done
   7159   done
   7160 IFS=$as_save_IFS
   7161 
   7162 fi
   7163 fi
   7164 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7165 if test -n "$ac_ct_NMEDIT"; then
   7166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7167 $as_echo "$ac_ct_NMEDIT" >&6; }
   7168 else
   7169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7170 $as_echo "no" >&6; }
   7171 fi
   7172 
   7173   if test "x$ac_ct_NMEDIT" = x; then
   7174     NMEDIT=":"
   7175   else
   7176     case $cross_compiling:$ac_tool_warned in
   7177 yes:)
   7178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7180 ac_tool_warned=yes ;;
   7181 esac
   7182     NMEDIT=$ac_ct_NMEDIT
   7183   fi
   7184 else
   7185   NMEDIT="$ac_cv_prog_NMEDIT"
   7186 fi
   7187 
   7188     if test -n "$ac_tool_prefix"; then
   7189   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7190 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7192 $as_echo_n "checking for $ac_word... " >&6; }
   7193 if ${ac_cv_prog_LIPO+:} false; then :
   7194   $as_echo_n "(cached) " >&6
   7195 else
   7196   if test -n "$LIPO"; then
   7197   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7198 else
   7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7200 for as_dir in $PATH
   7201 do
   7202   IFS=$as_save_IFS
   7203   test -z "$as_dir" && as_dir=.
   7204     for ac_exec_ext in '' $ac_executable_extensions; do
   7205   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7206     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7207     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7208     break 2
   7209   fi
   7210 done
   7211   done
   7212 IFS=$as_save_IFS
   7213 
   7214 fi
   7215 fi
   7216 LIPO=$ac_cv_prog_LIPO
   7217 if test -n "$LIPO"; then
   7218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7219 $as_echo "$LIPO" >&6; }
   7220 else
   7221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7222 $as_echo "no" >&6; }
   7223 fi
   7224 
   7225 
   7226 fi
   7227 if test -z "$ac_cv_prog_LIPO"; then
   7228   ac_ct_LIPO=$LIPO
   7229   # Extract the first word of "lipo", so it can be a program name with args.
   7230 set dummy lipo; ac_word=$2
   7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7232 $as_echo_n "checking for $ac_word... " >&6; }
   7233 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7234   $as_echo_n "(cached) " >&6
   7235 else
   7236   if test -n "$ac_ct_LIPO"; then
   7237   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7238 else
   7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7240 for as_dir in $PATH
   7241 do
   7242   IFS=$as_save_IFS
   7243   test -z "$as_dir" && as_dir=.
   7244     for ac_exec_ext in '' $ac_executable_extensions; do
   7245   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7246     ac_cv_prog_ac_ct_LIPO="lipo"
   7247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7248     break 2
   7249   fi
   7250 done
   7251   done
   7252 IFS=$as_save_IFS
   7253 
   7254 fi
   7255 fi
   7256 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7257 if test -n "$ac_ct_LIPO"; then
   7258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7259 $as_echo "$ac_ct_LIPO" >&6; }
   7260 else
   7261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7262 $as_echo "no" >&6; }
   7263 fi
   7264 
   7265   if test "x$ac_ct_LIPO" = x; then
   7266     LIPO=":"
   7267   else
   7268     case $cross_compiling:$ac_tool_warned in
   7269 yes:)
   7270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7272 ac_tool_warned=yes ;;
   7273 esac
   7274     LIPO=$ac_ct_LIPO
   7275   fi
   7276 else
   7277   LIPO="$ac_cv_prog_LIPO"
   7278 fi
   7279 
   7280     if test -n "$ac_tool_prefix"; then
   7281   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7282 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7284 $as_echo_n "checking for $ac_word... " >&6; }
   7285 if ${ac_cv_prog_OTOOL+:} false; then :
   7286   $as_echo_n "(cached) " >&6
   7287 else
   7288   if test -n "$OTOOL"; then
   7289   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7290 else
   7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7292 for as_dir in $PATH
   7293 do
   7294   IFS=$as_save_IFS
   7295   test -z "$as_dir" && as_dir=.
   7296     for ac_exec_ext in '' $ac_executable_extensions; do
   7297   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7298     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7299     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7300     break 2
   7301   fi
   7302 done
   7303   done
   7304 IFS=$as_save_IFS
   7305 
   7306 fi
   7307 fi
   7308 OTOOL=$ac_cv_prog_OTOOL
   7309 if test -n "$OTOOL"; then
   7310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7311 $as_echo "$OTOOL" >&6; }
   7312 else
   7313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7314 $as_echo "no" >&6; }
   7315 fi
   7316 
   7317 
   7318 fi
   7319 if test -z "$ac_cv_prog_OTOOL"; then
   7320   ac_ct_OTOOL=$OTOOL
   7321   # Extract the first word of "otool", so it can be a program name with args.
   7322 set dummy otool; ac_word=$2
   7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7324 $as_echo_n "checking for $ac_word... " >&6; }
   7325 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7326   $as_echo_n "(cached) " >&6
   7327 else
   7328   if test -n "$ac_ct_OTOOL"; then
   7329   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7330 else
   7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7332 for as_dir in $PATH
   7333 do
   7334   IFS=$as_save_IFS
   7335   test -z "$as_dir" && as_dir=.
   7336     for ac_exec_ext in '' $ac_executable_extensions; do
   7337   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7338     ac_cv_prog_ac_ct_OTOOL="otool"
   7339     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7340     break 2
   7341   fi
   7342 done
   7343   done
   7344 IFS=$as_save_IFS
   7345 
   7346 fi
   7347 fi
   7348 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7349 if test -n "$ac_ct_OTOOL"; then
   7350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7351 $as_echo "$ac_ct_OTOOL" >&6; }
   7352 else
   7353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7354 $as_echo "no" >&6; }
   7355 fi
   7356 
   7357   if test "x$ac_ct_OTOOL" = x; then
   7358     OTOOL=":"
   7359   else
   7360     case $cross_compiling:$ac_tool_warned in
   7361 yes:)
   7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7364 ac_tool_warned=yes ;;
   7365 esac
   7366     OTOOL=$ac_ct_OTOOL
   7367   fi
   7368 else
   7369   OTOOL="$ac_cv_prog_OTOOL"
   7370 fi
   7371 
   7372     if test -n "$ac_tool_prefix"; then
   7373   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7374 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7376 $as_echo_n "checking for $ac_word... " >&6; }
   7377 if ${ac_cv_prog_OTOOL64+:} false; then :
   7378   $as_echo_n "(cached) " >&6
   7379 else
   7380   if test -n "$OTOOL64"; then
   7381   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7382 else
   7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7384 for as_dir in $PATH
   7385 do
   7386   IFS=$as_save_IFS
   7387   test -z "$as_dir" && as_dir=.
   7388     for ac_exec_ext in '' $ac_executable_extensions; do
   7389   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7390     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7392     break 2
   7393   fi
   7394 done
   7395   done
   7396 IFS=$as_save_IFS
   7397 
   7398 fi
   7399 fi
   7400 OTOOL64=$ac_cv_prog_OTOOL64
   7401 if test -n "$OTOOL64"; then
   7402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7403 $as_echo "$OTOOL64" >&6; }
   7404 else
   7405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7406 $as_echo "no" >&6; }
   7407 fi
   7408 
   7409 
   7410 fi
   7411 if test -z "$ac_cv_prog_OTOOL64"; then
   7412   ac_ct_OTOOL64=$OTOOL64
   7413   # Extract the first word of "otool64", so it can be a program name with args.
   7414 set dummy otool64; ac_word=$2
   7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7416 $as_echo_n "checking for $ac_word... " >&6; }
   7417 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7418   $as_echo_n "(cached) " >&6
   7419 else
   7420   if test -n "$ac_ct_OTOOL64"; then
   7421   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7422 else
   7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7424 for as_dir in $PATH
   7425 do
   7426   IFS=$as_save_IFS
   7427   test -z "$as_dir" && as_dir=.
   7428     for ac_exec_ext in '' $ac_executable_extensions; do
   7429   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7430     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7432     break 2
   7433   fi
   7434 done
   7435   done
   7436 IFS=$as_save_IFS
   7437 
   7438 fi
   7439 fi
   7440 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7441 if test -n "$ac_ct_OTOOL64"; then
   7442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7443 $as_echo "$ac_ct_OTOOL64" >&6; }
   7444 else
   7445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7446 $as_echo "no" >&6; }
   7447 fi
   7448 
   7449   if test "x$ac_ct_OTOOL64" = x; then
   7450     OTOOL64=":"
   7451   else
   7452     case $cross_compiling:$ac_tool_warned in
   7453 yes:)
   7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7456 ac_tool_warned=yes ;;
   7457 esac
   7458     OTOOL64=$ac_ct_OTOOL64
   7459   fi
   7460 else
   7461   OTOOL64="$ac_cv_prog_OTOOL64"
   7462 fi
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7491 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7492 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7493   $as_echo_n "(cached) " >&6
   7494 else
   7495   lt_cv_apple_cc_single_mod=no
   7496       if test -z "${LT_MULTI_MODULE}"; then
   7497 	# By default we will add the -single_module flag. You can override
   7498 	# by either setting the environment variable LT_MULTI_MODULE
   7499 	# non-empty at configure time, or by adding -multi_module to the
   7500 	# link flags.
   7501 	rm -rf libconftest.dylib*
   7502 	echo "int foo(void){return 1;}" > conftest.c
   7503 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7504 -dynamiclib -Wl,-single_module conftest.c" >&5
   7505 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7506 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7507         _lt_result=$?
   7508 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7509 	  lt_cv_apple_cc_single_mod=yes
   7510 	else
   7511 	  cat conftest.err >&5
   7512 	fi
   7513 	rm -rf libconftest.dylib*
   7514 	rm -f conftest.*
   7515       fi
   7516 fi
   7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7518 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7519     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7520 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7521 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7522   $as_echo_n "(cached) " >&6
   7523 else
   7524   lt_cv_ld_exported_symbols_list=no
   7525       save_LDFLAGS=$LDFLAGS
   7526       echo "_main" > conftest.sym
   7527       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7529 /* end confdefs.h.  */
   7530 
   7531 int
   7532 main ()
   7533 {
   7534 
   7535   ;
   7536   return 0;
   7537 }
   7538 _ACEOF
   7539 if ac_fn_c_try_link "$LINENO"; then :
   7540   lt_cv_ld_exported_symbols_list=yes
   7541 else
   7542   lt_cv_ld_exported_symbols_list=no
   7543 fi
   7544 rm -f core conftest.err conftest.$ac_objext \
   7545     conftest$ac_exeext conftest.$ac_ext
   7546 	LDFLAGS="$save_LDFLAGS"
   7547 
   7548 fi
   7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7550 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7551     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7552 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7553 if ${lt_cv_ld_force_load+:} false; then :
   7554   $as_echo_n "(cached) " >&6
   7555 else
   7556   lt_cv_ld_force_load=no
   7557       cat > conftest.c << _LT_EOF
   7558 int forced_loaded() { return 2;}
   7559 _LT_EOF
   7560       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7561       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7562       echo "$AR cru libconftest.a conftest.o" >&5
   7563       $AR cru libconftest.a conftest.o 2>&5
   7564       cat > conftest.c << _LT_EOF
   7565 int main() { return 0;}
   7566 _LT_EOF
   7567       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7568       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7569       _lt_result=$?
   7570       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7571 	lt_cv_ld_force_load=yes
   7572       else
   7573 	cat conftest.err >&5
   7574       fi
   7575         rm -f conftest.err libconftest.a conftest conftest.c
   7576         rm -rf conftest.dSYM
   7577 
   7578 fi
   7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7580 $as_echo "$lt_cv_ld_force_load" >&6; }
   7581     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   7582     # build without first building modern cctools / linker.
   7583     case $host_cpu-$host_os in
   7584     *-rhapsody* | *-darwin1.[012])
   7585       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7586     *-darwin1.*)
   7587       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7588     *-darwin*)
   7589       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   7590       # deployment target is forced to an earlier version.
   7591       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   7592 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   7593 	  ;;
   7594 	10.[012][,.]*)
   7595 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   7596 	  ;;
   7597 	*)
   7598 	  ;;
   7599      esac
   7600     ;;
   7601   esac
   7602     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7603       _lt_dar_single_mod='$single_module'
   7604     fi
   7605     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7606       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7607     else
   7608       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7609     fi
   7610     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7611       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7612     else
   7613       _lt_dsymutil=
   7614     fi
   7615     ;;
   7616   esac
   7617 
   7618 for ac_header in dlfcn.h
   7619 do :
   7620   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7621 "
   7622 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7623   cat >>confdefs.h <<_ACEOF
   7624 #define HAVE_DLFCN_H 1
   7625 _ACEOF
   7626 
   7627 fi
   7628 
   7629 done
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 # Set options
   7636 
   7637 
   7638 
   7639         enable_dlopen=no
   7640 
   7641 
   7642   enable_win32_dll=no
   7643 
   7644 
   7645 
   7646   # Check whether --enable-static was given.
   7647 if test "${enable_static+set}" = set; then :
   7648   enableval=$enable_static; p=${PACKAGE-default}
   7649     case $enableval in
   7650     yes) enable_static=yes ;;
   7651     no) enable_static=no ;;
   7652     *)
   7653      enable_static=no
   7654       # Look at the argument we got.  We use all the common list separators.
   7655       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7656       for pkg in $enableval; do
   7657 	IFS="$lt_save_ifs"
   7658 	if test "X$pkg" = "X$p"; then
   7659 	  enable_static=yes
   7660 	fi
   7661       done
   7662       IFS="$lt_save_ifs"
   7663       ;;
   7664     esac
   7665 else
   7666   enable_static=yes
   7667 fi
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 # Check whether --with-pic was given.
   7679 if test "${with_pic+set}" = set; then :
   7680   withval=$with_pic; pic_mode="$withval"
   7681 else
   7682   pic_mode=default
   7683 fi
   7684 
   7685 
   7686 test -z "$pic_mode" && pic_mode=default
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694   # Check whether --enable-fast-install was given.
   7695 if test "${enable_fast_install+set}" = set; then :
   7696   enableval=$enable_fast_install; p=${PACKAGE-default}
   7697     case $enableval in
   7698     yes) enable_fast_install=yes ;;
   7699     no) enable_fast_install=no ;;
   7700     *)
   7701       enable_fast_install=no
   7702       # Look at the argument we got.  We use all the common list separators.
   7703       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7704       for pkg in $enableval; do
   7705 	IFS="$lt_save_ifs"
   7706 	if test "X$pkg" = "X$p"; then
   7707 	  enable_fast_install=yes
   7708 	fi
   7709       done
   7710       IFS="$lt_save_ifs"
   7711       ;;
   7712     esac
   7713 else
   7714   enable_fast_install=yes
   7715 fi
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 # This can be used to rebuild libtool when needed
   7728 LIBTOOL_DEPS="$ltmain"
   7729 
   7730 # Always use our own libtool.
   7731 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 test -z "$LN_S" && LN_S="ln -s"
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 if test -n "${ZSH_VERSION+set}" ; then
   7774    setopt NO_GLOB_SUBST
   7775 fi
   7776 
   7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7778 $as_echo_n "checking for objdir... " >&6; }
   7779 if ${lt_cv_objdir+:} false; then :
   7780   $as_echo_n "(cached) " >&6
   7781 else
   7782   rm -f .libs 2>/dev/null
   7783 mkdir .libs 2>/dev/null
   7784 if test -d .libs; then
   7785   lt_cv_objdir=.libs
   7786 else
   7787   # MS-DOS does not allow filenames that begin with a dot.
   7788   lt_cv_objdir=_libs
   7789 fi
   7790 rmdir .libs 2>/dev/null
   7791 fi
   7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7793 $as_echo "$lt_cv_objdir" >&6; }
   7794 objdir=$lt_cv_objdir
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 cat >>confdefs.h <<_ACEOF
   7801 #define LT_OBJDIR "$lt_cv_objdir/"
   7802 _ACEOF
   7803 
   7804 
   7805 
   7806 
   7807 case $host_os in
   7808 aix3*)
   7809   # AIX sometimes has problems with the GCC collect2 program.  For some
   7810   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7811   # vanish in a puff of smoke.
   7812   if test "X${COLLECT_NAMES+set}" != Xset; then
   7813     COLLECT_NAMES=
   7814     export COLLECT_NAMES
   7815   fi
   7816   ;;
   7817 esac
   7818 
   7819 # Global variables:
   7820 ofile=libtool
   7821 can_build_shared=yes
   7822 
   7823 # All known linkers require a `.a' archive for static linking (except MSVC,
   7824 # which needs '.lib').
   7825 libext=a
   7826 
   7827 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7828 
   7829 old_CC="$CC"
   7830 old_CFLAGS="$CFLAGS"
   7831 
   7832 # Set sane defaults for various variables
   7833 test -z "$CC" && CC=cc
   7834 test -z "$LTCC" && LTCC=$CC
   7835 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7836 test -z "$LD" && LD=ld
   7837 test -z "$ac_objext" && ac_objext=o
   7838 
   7839 for cc_temp in $compiler""; do
   7840   case $cc_temp in
   7841     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7842     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7843     \-*) ;;
   7844     *) break;;
   7845   esac
   7846 done
   7847 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7848 
   7849 
   7850 # Only perform the check for file, if the check method requires it
   7851 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7852 case $deplibs_check_method in
   7853 file_magic*)
   7854   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7855     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7856 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7857 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7858   $as_echo_n "(cached) " >&6
   7859 else
   7860   case $MAGIC_CMD in
   7861 [\\/*] |  ?:[\\/]*)
   7862   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7863   ;;
   7864 *)
   7865   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7866   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7867   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7868   for ac_dir in $ac_dummy; do
   7869     IFS="$lt_save_ifs"
   7870     test -z "$ac_dir" && ac_dir=.
   7871     if test -f $ac_dir/${ac_tool_prefix}file; then
   7872       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7873       if test -n "$file_magic_test_file"; then
   7874 	case $deplibs_check_method in
   7875 	"file_magic "*)
   7876 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7877 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7878 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7879 	    $EGREP "$file_magic_regex" > /dev/null; then
   7880 	    :
   7881 	  else
   7882 	    cat <<_LT_EOF 1>&2
   7883 
   7884 *** Warning: the command libtool uses to detect shared libraries,
   7885 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7886 *** The result is that libtool may fail to recognize shared libraries
   7887 *** as such.  This will affect the creation of libtool libraries that
   7888 *** depend on shared libraries, but programs linked with such libtool
   7889 *** libraries will work regardless of this problem.  Nevertheless, you
   7890 *** may want to report the problem to your system manager and/or to
   7891 *** bug-libtool@gnu.org
   7892 
   7893 _LT_EOF
   7894 	  fi ;;
   7895 	esac
   7896       fi
   7897       break
   7898     fi
   7899   done
   7900   IFS="$lt_save_ifs"
   7901   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7902   ;;
   7903 esac
   7904 fi
   7905 
   7906 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7907 if test -n "$MAGIC_CMD"; then
   7908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7909 $as_echo "$MAGIC_CMD" >&6; }
   7910 else
   7911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7912 $as_echo "no" >&6; }
   7913 fi
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7920   if test -n "$ac_tool_prefix"; then
   7921     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7922 $as_echo_n "checking for file... " >&6; }
   7923 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7924   $as_echo_n "(cached) " >&6
   7925 else
   7926   case $MAGIC_CMD in
   7927 [\\/*] |  ?:[\\/]*)
   7928   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7929   ;;
   7930 *)
   7931   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7932   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7933   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7934   for ac_dir in $ac_dummy; do
   7935     IFS="$lt_save_ifs"
   7936     test -z "$ac_dir" && ac_dir=.
   7937     if test -f $ac_dir/file; then
   7938       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7939       if test -n "$file_magic_test_file"; then
   7940 	case $deplibs_check_method in
   7941 	"file_magic "*)
   7942 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7943 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7944 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7945 	    $EGREP "$file_magic_regex" > /dev/null; then
   7946 	    :
   7947 	  else
   7948 	    cat <<_LT_EOF 1>&2
   7949 
   7950 *** Warning: the command libtool uses to detect shared libraries,
   7951 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7952 *** The result is that libtool may fail to recognize shared libraries
   7953 *** as such.  This will affect the creation of libtool libraries that
   7954 *** depend on shared libraries, but programs linked with such libtool
   7955 *** libraries will work regardless of this problem.  Nevertheless, you
   7956 *** may want to report the problem to your system manager and/or to
   7957 *** bug-libtool@gnu.org
   7958 
   7959 _LT_EOF
   7960 	  fi ;;
   7961 	esac
   7962       fi
   7963       break
   7964     fi
   7965   done
   7966   IFS="$lt_save_ifs"
   7967   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7968   ;;
   7969 esac
   7970 fi
   7971 
   7972 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7973 if test -n "$MAGIC_CMD"; then
   7974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7975 $as_echo "$MAGIC_CMD" >&6; }
   7976 else
   7977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7978 $as_echo "no" >&6; }
   7979 fi
   7980 
   7981 
   7982   else
   7983     MAGIC_CMD=:
   7984   fi
   7985 fi
   7986 
   7987   fi
   7988   ;;
   7989 esac
   7990 
   7991 # Use C for the default configuration in the libtool script
   7992 
   7993 lt_save_CC="$CC"
   7994 ac_ext=c
   7995 ac_cpp='$CPP $CPPFLAGS'
   7996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7999 
   8000 
   8001 # Source file extension for C test sources.
   8002 ac_ext=c
   8003 
   8004 # Object file extension for compiled C test sources.
   8005 objext=o
   8006 objext=$objext
   8007 
   8008 # Code to be used in simple compile tests
   8009 lt_simple_compile_test_code="int some_variable = 0;"
   8010 
   8011 # Code to be used in simple link tests
   8012 lt_simple_link_test_code='int main(){return(0);}'
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 # If no C compiler was specified, use CC.
   8021 LTCC=${LTCC-"$CC"}
   8022 
   8023 # If no C compiler flags were specified, use CFLAGS.
   8024 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8025 
   8026 # Allow CC to be a program name with arguments.
   8027 compiler=$CC
   8028 
   8029 # Save the default compiler, since it gets overwritten when the other
   8030 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8031 compiler_DEFAULT=$CC
   8032 
   8033 # save warnings/boilerplate of simple test code
   8034 ac_outfile=conftest.$ac_objext
   8035 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8036 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8037 _lt_compiler_boilerplate=`cat conftest.err`
   8038 $RM conftest*
   8039 
   8040 ac_outfile=conftest.$ac_objext
   8041 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8042 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8043 _lt_linker_boilerplate=`cat conftest.err`
   8044 $RM -r conftest*
   8045 
   8046 
   8047 ## CAVEAT EMPTOR:
   8048 ## There is no encapsulation within the following macros, do not change
   8049 ## the running order or otherwise move them around unless you know exactly
   8050 ## what you are doing...
   8051 if test -n "$compiler"; then
   8052 
   8053 lt_prog_compiler_no_builtin_flag=
   8054 
   8055 if test "$GCC" = yes; then
   8056   case $cc_basename in
   8057   nvcc*)
   8058     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8059   *)
   8060     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8061   esac
   8062 
   8063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8064 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8065 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8066   $as_echo_n "(cached) " >&6
   8067 else
   8068   lt_cv_prog_compiler_rtti_exceptions=no
   8069    ac_outfile=conftest.$ac_objext
   8070    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8071    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8072    # Insert the option either (1) after the last *FLAGS variable, or
   8073    # (2) before a word containing "conftest.", or (3) at the end.
   8074    # Note that $ac_compile itself does not contain backslashes and begins
   8075    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8076    # The option is referenced via a variable to avoid confusing sed.
   8077    lt_compile=`echo "$ac_compile" | $SED \
   8078    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8079    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8080    -e 's:$: $lt_compiler_flag:'`
   8081    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8082    (eval "$lt_compile" 2>conftest.err)
   8083    ac_status=$?
   8084    cat conftest.err >&5
   8085    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8086    if (exit $ac_status) && test -s "$ac_outfile"; then
   8087      # The compiler can only warn and ignore the option if not recognized
   8088      # So say no if there are warnings other than the usual output.
   8089      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8090      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8091      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8092        lt_cv_prog_compiler_rtti_exceptions=yes
   8093      fi
   8094    fi
   8095    $RM conftest*
   8096 
   8097 fi
   8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8099 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8100 
   8101 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8102     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8103 else
   8104     :
   8105 fi
   8106 
   8107 fi
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114   lt_prog_compiler_wl=
   8115 lt_prog_compiler_pic=
   8116 lt_prog_compiler_static=
   8117 
   8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8119 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8120 
   8121   if test "$GCC" = yes; then
   8122     lt_prog_compiler_wl='-Wl,'
   8123     lt_prog_compiler_static='-static'
   8124 
   8125     case $host_os in
   8126       aix*)
   8127       # All AIX code is PIC.
   8128       if test "$host_cpu" = ia64; then
   8129 	# AIX 5 now supports IA64 processor
   8130 	lt_prog_compiler_static='-Bstatic'
   8131       fi
   8132       lt_prog_compiler_pic='-fPIC'
   8133       ;;
   8134 
   8135     amigaos*)
   8136       case $host_cpu in
   8137       powerpc)
   8138             # see comment about AmigaOS4 .so support
   8139             lt_prog_compiler_pic='-fPIC'
   8140         ;;
   8141       m68k)
   8142             # FIXME: we need at least 68020 code to build shared libraries, but
   8143             # adding the `-m68020' flag to GCC prevents building anything better,
   8144             # like `-m68040'.
   8145             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8146         ;;
   8147       esac
   8148       ;;
   8149 
   8150     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8151       # PIC is the default for these OSes.
   8152       ;;
   8153 
   8154     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8155       # This hack is so that the source file can tell whether it is being
   8156       # built for inclusion in a dll (and should export symbols for example).
   8157       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8158       # (--disable-auto-import) libraries
   8159       lt_prog_compiler_pic='-DDLL_EXPORT'
   8160       ;;
   8161 
   8162     darwin* | rhapsody*)
   8163       # PIC is the default on this platform
   8164       # Common symbols not allowed in MH_DYLIB files
   8165       lt_prog_compiler_pic='-fno-common'
   8166       ;;
   8167 
   8168     haiku*)
   8169       # PIC is the default for Haiku.
   8170       # The "-static" flag exists, but is broken.
   8171       lt_prog_compiler_static=
   8172       ;;
   8173 
   8174     hpux*)
   8175       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8176       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8177       # sets the default TLS model and affects inlining.
   8178       case $host_cpu in
   8179       hppa*64*)
   8180 	# +Z the default
   8181 	;;
   8182       *)
   8183 	lt_prog_compiler_pic='-fPIC'
   8184 	;;
   8185       esac
   8186       ;;
   8187 
   8188     interix[3-9]*)
   8189       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8190       # Instead, we relocate shared libraries at runtime.
   8191       ;;
   8192 
   8193     msdosdjgpp*)
   8194       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8195       # on systems that don't support them.
   8196       lt_prog_compiler_can_build_shared=no
   8197       enable_shared=no
   8198       ;;
   8199 
   8200     *nto* | *qnx*)
   8201       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8202       # it will coredump.
   8203       lt_prog_compiler_pic='-fPIC -shared'
   8204       ;;
   8205 
   8206     sysv4*MP*)
   8207       if test -d /usr/nec; then
   8208 	lt_prog_compiler_pic=-Kconform_pic
   8209       fi
   8210       ;;
   8211 
   8212     *)
   8213       lt_prog_compiler_pic='-fPIC'
   8214       ;;
   8215     esac
   8216 
   8217     case $cc_basename in
   8218     nvcc*) # Cuda Compiler Driver 2.2
   8219       lt_prog_compiler_wl='-Xlinker '
   8220       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8221       ;;
   8222     esac
   8223   else
   8224     # PORTME Check for flag to pass linker flags through the system compiler.
   8225     case $host_os in
   8226     aix*)
   8227       lt_prog_compiler_wl='-Wl,'
   8228       if test "$host_cpu" = ia64; then
   8229 	# AIX 5 now supports IA64 processor
   8230 	lt_prog_compiler_static='-Bstatic'
   8231       else
   8232 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8233       fi
   8234       ;;
   8235 
   8236     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8237       # This hack is so that the source file can tell whether it is being
   8238       # built for inclusion in a dll (and should export symbols for example).
   8239       lt_prog_compiler_pic='-DDLL_EXPORT'
   8240       ;;
   8241 
   8242     hpux9* | hpux10* | hpux11*)
   8243       lt_prog_compiler_wl='-Wl,'
   8244       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8245       # not for PA HP-UX.
   8246       case $host_cpu in
   8247       hppa*64*|ia64*)
   8248 	# +Z the default
   8249 	;;
   8250       *)
   8251 	lt_prog_compiler_pic='+Z'
   8252 	;;
   8253       esac
   8254       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8255       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8256       ;;
   8257 
   8258     irix5* | irix6* | nonstopux*)
   8259       lt_prog_compiler_wl='-Wl,'
   8260       # PIC (with -KPIC) is the default.
   8261       lt_prog_compiler_static='-non_shared'
   8262       ;;
   8263 
   8264     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8265       case $cc_basename in
   8266       # old Intel for x86_64 which still supported -KPIC.
   8267       ecc*)
   8268 	lt_prog_compiler_wl='-Wl,'
   8269 	lt_prog_compiler_pic='-KPIC'
   8270 	lt_prog_compiler_static='-static'
   8271         ;;
   8272       # icc used to be incompatible with GCC.
   8273       # ICC 10 doesn't accept -KPIC any more.
   8274       icc* | ifort*)
   8275 	lt_prog_compiler_wl='-Wl,'
   8276 	lt_prog_compiler_pic='-fPIC'
   8277 	lt_prog_compiler_static='-static'
   8278         ;;
   8279       # Lahey Fortran 8.1.
   8280       lf95*)
   8281 	lt_prog_compiler_wl='-Wl,'
   8282 	lt_prog_compiler_pic='--shared'
   8283 	lt_prog_compiler_static='--static'
   8284 	;;
   8285       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8286         # Portland Group compilers (*not* the Pentium gcc compiler,
   8287 	# which looks to be a dead project)
   8288 	lt_prog_compiler_wl='-Wl,'
   8289 	lt_prog_compiler_pic='-fpic'
   8290 	lt_prog_compiler_static='-Bstatic'
   8291         ;;
   8292       ccc*)
   8293         lt_prog_compiler_wl='-Wl,'
   8294         # All Alpha code is PIC.
   8295         lt_prog_compiler_static='-non_shared'
   8296         ;;
   8297       xl* | bgxl* | bgf* | mpixl*)
   8298 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8299 	lt_prog_compiler_wl='-Wl,'
   8300 	lt_prog_compiler_pic='-qpic'
   8301 	lt_prog_compiler_static='-qstaticlink'
   8302 	;;
   8303       *)
   8304 	case `$CC -V 2>&1 | sed 5q` in
   8305 	*Sun\ F* | *Sun*Fortran*)
   8306 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8307 	  lt_prog_compiler_pic='-KPIC'
   8308 	  lt_prog_compiler_static='-Bstatic'
   8309 	  lt_prog_compiler_wl=''
   8310 	  ;;
   8311 	*Sun\ C*)
   8312 	  # Sun C 5.9
   8313 	  lt_prog_compiler_pic='-KPIC'
   8314 	  lt_prog_compiler_static='-Bstatic'
   8315 	  lt_prog_compiler_wl='-Wl,'
   8316 	  ;;
   8317 	esac
   8318 	;;
   8319       esac
   8320       ;;
   8321 
   8322     newsos6)
   8323       lt_prog_compiler_pic='-KPIC'
   8324       lt_prog_compiler_static='-Bstatic'
   8325       ;;
   8326 
   8327     *nto* | *qnx*)
   8328       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8329       # it will coredump.
   8330       lt_prog_compiler_pic='-fPIC -shared'
   8331       ;;
   8332 
   8333     osf3* | osf4* | osf5*)
   8334       lt_prog_compiler_wl='-Wl,'
   8335       # All OSF/1 code is PIC.
   8336       lt_prog_compiler_static='-non_shared'
   8337       ;;
   8338 
   8339     rdos*)
   8340       lt_prog_compiler_static='-non_shared'
   8341       ;;
   8342 
   8343     solaris*)
   8344       lt_prog_compiler_pic='-KPIC'
   8345       lt_prog_compiler_static='-Bstatic'
   8346       case $cc_basename in
   8347       f77* | f90* | f95*)
   8348 	lt_prog_compiler_wl='-Qoption ld ';;
   8349       *)
   8350 	lt_prog_compiler_wl='-Wl,';;
   8351       esac
   8352       ;;
   8353 
   8354     sunos4*)
   8355       lt_prog_compiler_wl='-Qoption ld '
   8356       lt_prog_compiler_pic='-PIC'
   8357       lt_prog_compiler_static='-Bstatic'
   8358       ;;
   8359 
   8360     sysv4 | sysv4.2uw2* | sysv4.3*)
   8361       lt_prog_compiler_wl='-Wl,'
   8362       lt_prog_compiler_pic='-KPIC'
   8363       lt_prog_compiler_static='-Bstatic'
   8364       ;;
   8365 
   8366     sysv4*MP*)
   8367       if test -d /usr/nec ;then
   8368 	lt_prog_compiler_pic='-Kconform_pic'
   8369 	lt_prog_compiler_static='-Bstatic'
   8370       fi
   8371       ;;
   8372 
   8373     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8374       lt_prog_compiler_wl='-Wl,'
   8375       lt_prog_compiler_pic='-KPIC'
   8376       lt_prog_compiler_static='-Bstatic'
   8377       ;;
   8378 
   8379     unicos*)
   8380       lt_prog_compiler_wl='-Wl,'
   8381       lt_prog_compiler_can_build_shared=no
   8382       ;;
   8383 
   8384     uts4*)
   8385       lt_prog_compiler_pic='-pic'
   8386       lt_prog_compiler_static='-Bstatic'
   8387       ;;
   8388 
   8389     *)
   8390       lt_prog_compiler_can_build_shared=no
   8391       ;;
   8392     esac
   8393   fi
   8394 
   8395 case $host_os in
   8396   # For platforms which do not support PIC, -DPIC is meaningless:
   8397   *djgpp*)
   8398     lt_prog_compiler_pic=
   8399     ;;
   8400   *)
   8401     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8402     ;;
   8403 esac
   8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8405 $as_echo "$lt_prog_compiler_pic" >&6; }
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 #
   8413 # Check to make sure the PIC flag actually works.
   8414 #
   8415 if test -n "$lt_prog_compiler_pic"; then
   8416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8417 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8418 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8419   $as_echo_n "(cached) " >&6
   8420 else
   8421   lt_cv_prog_compiler_pic_works=no
   8422    ac_outfile=conftest.$ac_objext
   8423    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8424    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8425    # Insert the option either (1) after the last *FLAGS variable, or
   8426    # (2) before a word containing "conftest.", or (3) at the end.
   8427    # Note that $ac_compile itself does not contain backslashes and begins
   8428    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8429    # The option is referenced via a variable to avoid confusing sed.
   8430    lt_compile=`echo "$ac_compile" | $SED \
   8431    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8432    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8433    -e 's:$: $lt_compiler_flag:'`
   8434    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8435    (eval "$lt_compile" 2>conftest.err)
   8436    ac_status=$?
   8437    cat conftest.err >&5
   8438    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8439    if (exit $ac_status) && test -s "$ac_outfile"; then
   8440      # The compiler can only warn and ignore the option if not recognized
   8441      # So say no if there are warnings other than the usual output.
   8442      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8443      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8444      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8445        lt_cv_prog_compiler_pic_works=yes
   8446      fi
   8447    fi
   8448    $RM conftest*
   8449 
   8450 fi
   8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8452 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8453 
   8454 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8455     case $lt_prog_compiler_pic in
   8456      "" | " "*) ;;
   8457      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8458      esac
   8459 else
   8460     lt_prog_compiler_pic=
   8461      lt_prog_compiler_can_build_shared=no
   8462 fi
   8463 
   8464 fi
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 #
   8472 # Check to make sure the static flag actually works.
   8473 #
   8474 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8476 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8477 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8478   $as_echo_n "(cached) " >&6
   8479 else
   8480   lt_cv_prog_compiler_static_works=no
   8481    save_LDFLAGS="$LDFLAGS"
   8482    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8483    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8484    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8485      # The linker can only warn and ignore the option if not recognized
   8486      # So say no if there are warnings
   8487      if test -s conftest.err; then
   8488        # Append any errors to the config.log.
   8489        cat conftest.err 1>&5
   8490        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8491        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8492        if diff conftest.exp conftest.er2 >/dev/null; then
   8493          lt_cv_prog_compiler_static_works=yes
   8494        fi
   8495      else
   8496        lt_cv_prog_compiler_static_works=yes
   8497      fi
   8498    fi
   8499    $RM -r conftest*
   8500    LDFLAGS="$save_LDFLAGS"
   8501 
   8502 fi
   8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8504 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8505 
   8506 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8507     :
   8508 else
   8509     lt_prog_compiler_static=
   8510 fi
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8519 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8520 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8521   $as_echo_n "(cached) " >&6
   8522 else
   8523   lt_cv_prog_compiler_c_o=no
   8524    $RM -r conftest 2>/dev/null
   8525    mkdir conftest
   8526    cd conftest
   8527    mkdir out
   8528    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8529 
   8530    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8531    # Insert the option either (1) after the last *FLAGS variable, or
   8532    # (2) before a word containing "conftest.", or (3) at the end.
   8533    # Note that $ac_compile itself does not contain backslashes and begins
   8534    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8535    lt_compile=`echo "$ac_compile" | $SED \
   8536    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8537    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8538    -e 's:$: $lt_compiler_flag:'`
   8539    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8540    (eval "$lt_compile" 2>out/conftest.err)
   8541    ac_status=$?
   8542    cat out/conftest.err >&5
   8543    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8544    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8545    then
   8546      # The compiler can only warn and ignore the option if not recognized
   8547      # So say no if there are warnings
   8548      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8549      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8550      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8551        lt_cv_prog_compiler_c_o=yes
   8552      fi
   8553    fi
   8554    chmod u+w . 2>&5
   8555    $RM conftest*
   8556    # SGI C++ compiler will create directory out/ii_files/ for
   8557    # template instantiation
   8558    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8559    $RM out/* && rmdir out
   8560    cd ..
   8561    $RM -r conftest
   8562    $RM conftest*
   8563 
   8564 fi
   8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8566 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8574 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8575 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8576   $as_echo_n "(cached) " >&6
   8577 else
   8578   lt_cv_prog_compiler_c_o=no
   8579    $RM -r conftest 2>/dev/null
   8580    mkdir conftest
   8581    cd conftest
   8582    mkdir out
   8583    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8584 
   8585    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8586    # Insert the option either (1) after the last *FLAGS variable, or
   8587    # (2) before a word containing "conftest.", or (3) at the end.
   8588    # Note that $ac_compile itself does not contain backslashes and begins
   8589    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8590    lt_compile=`echo "$ac_compile" | $SED \
   8591    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8592    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8593    -e 's:$: $lt_compiler_flag:'`
   8594    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8595    (eval "$lt_compile" 2>out/conftest.err)
   8596    ac_status=$?
   8597    cat out/conftest.err >&5
   8598    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8599    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8600    then
   8601      # The compiler can only warn and ignore the option if not recognized
   8602      # So say no if there are warnings
   8603      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8604      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8605      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8606        lt_cv_prog_compiler_c_o=yes
   8607      fi
   8608    fi
   8609    chmod u+w . 2>&5
   8610    $RM conftest*
   8611    # SGI C++ compiler will create directory out/ii_files/ for
   8612    # template instantiation
   8613    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8614    $RM out/* && rmdir out
   8615    cd ..
   8616    $RM -r conftest
   8617    $RM conftest*
   8618 
   8619 fi
   8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8621 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8622 
   8623 
   8624 
   8625 
   8626 hard_links="nottested"
   8627 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8628   # do not overwrite the value of need_locks provided by the user
   8629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8630 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8631   hard_links=yes
   8632   $RM conftest*
   8633   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8634   touch conftest.a
   8635   ln conftest.a conftest.b 2>&5 || hard_links=no
   8636   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8638 $as_echo "$hard_links" >&6; }
   8639   if test "$hard_links" = no; then
   8640     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8641 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8642     need_locks=warn
   8643   fi
   8644 else
   8645   need_locks=no
   8646 fi
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 
   8653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8654 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8655 
   8656   runpath_var=
   8657   allow_undefined_flag=
   8658   always_export_symbols=no
   8659   archive_cmds=
   8660   archive_expsym_cmds=
   8661   compiler_needs_object=no
   8662   enable_shared_with_static_runtimes=no
   8663   export_dynamic_flag_spec=
   8664   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8665   hardcode_automatic=no
   8666   hardcode_direct=no
   8667   hardcode_direct_absolute=no
   8668   hardcode_libdir_flag_spec=
   8669   hardcode_libdir_flag_spec_ld=
   8670   hardcode_libdir_separator=
   8671   hardcode_minus_L=no
   8672   hardcode_shlibpath_var=unsupported
   8673   inherit_rpath=no
   8674   link_all_deplibs=unknown
   8675   module_cmds=
   8676   module_expsym_cmds=
   8677   old_archive_from_new_cmds=
   8678   old_archive_from_expsyms_cmds=
   8679   thread_safe_flag_spec=
   8680   whole_archive_flag_spec=
   8681   # include_expsyms should be a list of space-separated symbols to be *always*
   8682   # included in the symbol list
   8683   include_expsyms=
   8684   # exclude_expsyms can be an extended regexp of symbols to exclude
   8685   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8686   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8687   # as well as any symbol that contains `d'.
   8688   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8689   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8690   # platforms (ab)use it in PIC code, but their linkers get confused if
   8691   # the symbol is explicitly referenced.  Since portable code cannot
   8692   # rely on this symbol name, it's probably fine to never include it in
   8693   # preloaded symbol tables.
   8694   # Exclude shared library initialization/finalization symbols.
   8695   extract_expsyms_cmds=
   8696 
   8697   case $host_os in
   8698   cygwin* | mingw* | pw32* | cegcc*)
   8699     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8700     # When not using gcc, we currently assume that we are using
   8701     # Microsoft Visual C++.
   8702     if test "$GCC" != yes; then
   8703       with_gnu_ld=no
   8704     fi
   8705     ;;
   8706   interix*)
   8707     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8708     with_gnu_ld=yes
   8709     ;;
   8710   openbsd*)
   8711     with_gnu_ld=no
   8712     ;;
   8713   esac
   8714 
   8715   ld_shlibs=yes
   8716 
   8717   # On some targets, GNU ld is compatible enough with the native linker
   8718   # that we're better off using the native interface for both.
   8719   lt_use_gnu_ld_interface=no
   8720   if test "$with_gnu_ld" = yes; then
   8721     case $host_os in
   8722       aix*)
   8723 	# The AIX port of GNU ld has always aspired to compatibility
   8724 	# with the native linker.  However, as the warning in the GNU ld
   8725 	# block says, versions before 2.19.5* couldn't really create working
   8726 	# shared libraries, regardless of the interface used.
   8727 	case `$LD -v 2>&1` in
   8728 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8729 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8730 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8731 	  *)
   8732 	    lt_use_gnu_ld_interface=yes
   8733 	    ;;
   8734 	esac
   8735 	;;
   8736       *)
   8737 	lt_use_gnu_ld_interface=yes
   8738 	;;
   8739     esac
   8740   fi
   8741 
   8742   if test "$lt_use_gnu_ld_interface" = yes; then
   8743     # If archive_cmds runs LD, not CC, wlarc should be empty
   8744     wlarc='${wl}'
   8745 
   8746     # Set some defaults for GNU ld with shared library support. These
   8747     # are reset later if shared libraries are not supported. Putting them
   8748     # here allows them to be overridden if necessary.
   8749     runpath_var=LD_RUN_PATH
   8750     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8751     export_dynamic_flag_spec='${wl}--export-dynamic'
   8752     # ancient GNU ld didn't support --whole-archive et. al.
   8753     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8754       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8755     else
   8756       whole_archive_flag_spec=
   8757     fi
   8758     supports_anon_versioning=no
   8759     case `$LD -v 2>&1` in
   8760       *GNU\ gold*) supports_anon_versioning=yes ;;
   8761       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8762       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8763       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8764       *\ 2.11.*) ;; # other 2.11 versions
   8765       *) supports_anon_versioning=yes ;;
   8766     esac
   8767 
   8768     # See if GNU ld supports shared libraries.
   8769     case $host_os in
   8770     aix[3-9]*)
   8771       # On AIX/PPC, the GNU linker is very broken
   8772       if test "$host_cpu" != ia64; then
   8773 	ld_shlibs=no
   8774 	cat <<_LT_EOF 1>&2
   8775 
   8776 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8777 *** to be unable to reliably create shared libraries on AIX.
   8778 *** Therefore, libtool is disabling shared libraries support.  If you
   8779 *** really care for shared libraries, you may want to install binutils
   8780 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8781 *** You will then need to restart the configuration process.
   8782 
   8783 _LT_EOF
   8784       fi
   8785       ;;
   8786 
   8787     amigaos*)
   8788       case $host_cpu in
   8789       powerpc)
   8790             # see comment about AmigaOS4 .so support
   8791             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8792             archive_expsym_cmds=''
   8793         ;;
   8794       m68k)
   8795             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)'
   8796             hardcode_libdir_flag_spec='-L$libdir'
   8797             hardcode_minus_L=yes
   8798         ;;
   8799       esac
   8800       ;;
   8801 
   8802     beos*)
   8803       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8804 	allow_undefined_flag=unsupported
   8805 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8806 	# support --undefined.  This deserves some investigation.  FIXME
   8807 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8808       else
   8809 	ld_shlibs=no
   8810       fi
   8811       ;;
   8812 
   8813     cygwin* | mingw* | pw32* | cegcc*)
   8814       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8815       # as there is no search path for DLLs.
   8816       hardcode_libdir_flag_spec='-L$libdir'
   8817       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8818       allow_undefined_flag=unsupported
   8819       always_export_symbols=no
   8820       enable_shared_with_static_runtimes=yes
   8821       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8822 
   8823       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8824         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8825 	# If the export-symbols file already is a .def file (1st line
   8826 	# is EXPORTS), use it as is; otherwise, prepend...
   8827 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8828 	  cp $export_symbols $output_objdir/$soname.def;
   8829 	else
   8830 	  echo EXPORTS > $output_objdir/$soname.def;
   8831 	  cat $export_symbols >> $output_objdir/$soname.def;
   8832 	fi~
   8833 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8834       else
   8835 	ld_shlibs=no
   8836       fi
   8837       ;;
   8838 
   8839     haiku*)
   8840       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8841       link_all_deplibs=yes
   8842       ;;
   8843 
   8844     interix[3-9]*)
   8845       hardcode_direct=no
   8846       hardcode_shlibpath_var=no
   8847       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8848       export_dynamic_flag_spec='${wl}-E'
   8849       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8850       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8851       # default) and relocated if they conflict, which is a slow very memory
   8852       # consuming and fragmenting process.  To avoid this, we pick a random,
   8853       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8854       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8855       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8856       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'
   8857       ;;
   8858 
   8859     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   8860       tmp_diet=no
   8861       if test "$host_os" = linux-dietlibc; then
   8862 	case $cc_basename in
   8863 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8864 	esac
   8865       fi
   8866       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8867 	 && test "$tmp_diet" = no
   8868       then
   8869 	tmp_addflag=' $pic_flag'
   8870 	tmp_sharedflag='-shared'
   8871 	case $cc_basename,$host_cpu in
   8872         pgcc*)				# Portland Group C compiler
   8873 	  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'
   8874 	  tmp_addflag=' $pic_flag'
   8875 	  ;;
   8876 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8877 					# Portland Group f77 and f90 compilers
   8878 	  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'
   8879 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8880 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8881 	  tmp_addflag=' -i_dynamic' ;;
   8882 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8883 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8884 	ifc* | ifort*)			# Intel Fortran compiler
   8885 	  tmp_addflag=' -nofor_main' ;;
   8886 	lf95*)				# Lahey Fortran 8.1
   8887 	  whole_archive_flag_spec=
   8888 	  tmp_sharedflag='--shared' ;;
   8889 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8890 	  tmp_sharedflag='-qmkshrobj'
   8891 	  tmp_addflag= ;;
   8892 	nvcc*)	# Cuda Compiler Driver 2.2
   8893 	  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'
   8894 	  compiler_needs_object=yes
   8895 	  ;;
   8896 	esac
   8897 	case `$CC -V 2>&1 | sed 5q` in
   8898 	*Sun\ C*)			# Sun C 5.9
   8899 	  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'
   8900 	  compiler_needs_object=yes
   8901 	  tmp_sharedflag='-G' ;;
   8902 	*Sun\ F*)			# Sun Fortran 8.3
   8903 	  tmp_sharedflag='-G' ;;
   8904 	esac
   8905 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8906 
   8907         if test "x$supports_anon_versioning" = xyes; then
   8908           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8909 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8910 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8911 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8912         fi
   8913 
   8914 	case $cc_basename in
   8915 	xlf* | bgf* | bgxlf* | mpixlf*)
   8916 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8917 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8918 	  hardcode_libdir_flag_spec=
   8919 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8920 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8921 	  if test "x$supports_anon_versioning" = xyes; then
   8922 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8923 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8924 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8925 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8926 	  fi
   8927 	  ;;
   8928 	esac
   8929       else
   8930         ld_shlibs=no
   8931       fi
   8932       ;;
   8933 
   8934     netbsd*)
   8935       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8936 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8937 	wlarc=
   8938       else
   8939 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8940 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8941       fi
   8942       ;;
   8943 
   8944     solaris*)
   8945       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8946 	ld_shlibs=no
   8947 	cat <<_LT_EOF 1>&2
   8948 
   8949 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8950 *** create shared libraries on Solaris systems.  Therefore, libtool
   8951 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8952 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8953 *** your PATH or compiler configuration so that the native linker is
   8954 *** used, and then restart.
   8955 
   8956 _LT_EOF
   8957       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8958 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8959 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8960       else
   8961 	ld_shlibs=no
   8962       fi
   8963       ;;
   8964 
   8965     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8966       case `$LD -v 2>&1` in
   8967         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8968 	ld_shlibs=no
   8969 	cat <<_LT_EOF 1>&2
   8970 
   8971 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8972 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8973 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8974 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8975 *** your PATH or compiler configuration so that the native linker is
   8976 *** used, and then restart.
   8977 
   8978 _LT_EOF
   8979 	;;
   8980 	*)
   8981 	  # For security reasons, it is highly recommended that you always
   8982 	  # use absolute paths for naming shared libraries, and exclude the
   8983 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8984 	  # requires that you compile everything twice, which is a pain.
   8985 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8986 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8987 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8988 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8989 	  else
   8990 	    ld_shlibs=no
   8991 	  fi
   8992 	;;
   8993       esac
   8994       ;;
   8995 
   8996     sunos4*)
   8997       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8998       wlarc=
   8999       hardcode_direct=yes
   9000       hardcode_shlibpath_var=no
   9001       ;;
   9002 
   9003     *)
   9004       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9005 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9006 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9007       else
   9008 	ld_shlibs=no
   9009       fi
   9010       ;;
   9011     esac
   9012 
   9013     if test "$ld_shlibs" = no; then
   9014       runpath_var=
   9015       hardcode_libdir_flag_spec=
   9016       export_dynamic_flag_spec=
   9017       whole_archive_flag_spec=
   9018     fi
   9019   else
   9020     # PORTME fill in a description of your system's linker (not GNU ld)
   9021     case $host_os in
   9022     aix3*)
   9023       allow_undefined_flag=unsupported
   9024       always_export_symbols=yes
   9025       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'
   9026       # Note: this linker hardcodes the directories in LIBPATH if there
   9027       # are no directories specified by -L.
   9028       hardcode_minus_L=yes
   9029       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9030 	# Neither direct hardcoding nor static linking is supported with a
   9031 	# broken collect2.
   9032 	hardcode_direct=unsupported
   9033       fi
   9034       ;;
   9035 
   9036     aix[4-9]*)
   9037       if test "$host_cpu" = ia64; then
   9038 	# On IA64, the linker does run time linking by default, so we don't
   9039 	# have to do anything special.
   9040 	aix_use_runtimelinking=no
   9041 	exp_sym_flag='-Bexport'
   9042 	no_entry_flag=""
   9043       else
   9044 	# If we're using GNU nm, then we don't want the "-C" option.
   9045 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9046 	# Also, AIX nm treats weak defined symbols like other global
   9047 	# defined symbols, whereas GNU nm marks them as "W".
   9048 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9049 	  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'
   9050 	else
   9051 	  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'
   9052 	fi
   9053 	aix_use_runtimelinking=no
   9054 
   9055 	# Test if we are trying to use run time linking or normal
   9056 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9057 	# need to do runtime linking.
   9058 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9059 	  for ld_flag in $LDFLAGS; do
   9060 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9061 	    aix_use_runtimelinking=yes
   9062 	    break
   9063 	  fi
   9064 	  done
   9065 	  ;;
   9066 	esac
   9067 
   9068 	exp_sym_flag='-bexport'
   9069 	no_entry_flag='-bnoentry'
   9070       fi
   9071 
   9072       # When large executables or shared objects are built, AIX ld can
   9073       # have problems creating the table of contents.  If linking a library
   9074       # or program results in "error TOC overflow" add -mminimal-toc to
   9075       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9076       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9077 
   9078       archive_cmds=''
   9079       hardcode_direct=yes
   9080       hardcode_direct_absolute=yes
   9081       hardcode_libdir_separator=':'
   9082       link_all_deplibs=yes
   9083       file_list_spec='${wl}-f,'
   9084 
   9085       if test "$GCC" = yes; then
   9086 	case $host_os in aix4.[012]|aix4.[012].*)
   9087 	# We only want to do this on AIX 4.2 and lower, the check
   9088 	# below for broken collect2 doesn't work under 4.3+
   9089 	  collect2name=`${CC} -print-prog-name=collect2`
   9090 	  if test -f "$collect2name" &&
   9091 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9092 	  then
   9093 	  # We have reworked collect2
   9094 	  :
   9095 	  else
   9096 	  # We have old collect2
   9097 	  hardcode_direct=unsupported
   9098 	  # It fails to find uninstalled libraries when the uninstalled
   9099 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9100 	  # to unsupported forces relinking
   9101 	  hardcode_minus_L=yes
   9102 	  hardcode_libdir_flag_spec='-L$libdir'
   9103 	  hardcode_libdir_separator=
   9104 	  fi
   9105 	  ;;
   9106 	esac
   9107 	shared_flag='-shared'
   9108 	if test "$aix_use_runtimelinking" = yes; then
   9109 	  shared_flag="$shared_flag "'${wl}-G'
   9110 	fi
   9111       else
   9112 	# not using gcc
   9113 	if test "$host_cpu" = ia64; then
   9114 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9115 	# chokes on -Wl,-G. The following line is correct:
   9116 	  shared_flag='-G'
   9117 	else
   9118 	  if test "$aix_use_runtimelinking" = yes; then
   9119 	    shared_flag='${wl}-G'
   9120 	  else
   9121 	    shared_flag='${wl}-bM:SRE'
   9122 	  fi
   9123 	fi
   9124       fi
   9125 
   9126       export_dynamic_flag_spec='${wl}-bexpall'
   9127       # It seems that -bexpall does not export symbols beginning with
   9128       # underscore (_), so it is better to generate a list of symbols to export.
   9129       always_export_symbols=yes
   9130       if test "$aix_use_runtimelinking" = yes; then
   9131 	# Warning - without using the other runtime loading flags (-brtl),
   9132 	# -berok will link without error, but may produce a broken library.
   9133 	allow_undefined_flag='-berok'
   9134         # Determine the default libpath from the value encoded in an
   9135         # empty executable.
   9136         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9137 /* end confdefs.h.  */
   9138 
   9139 int
   9140 main ()
   9141 {
   9142 
   9143   ;
   9144   return 0;
   9145 }
   9146 _ACEOF
   9147 if ac_fn_c_try_link "$LINENO"; then :
   9148 
   9149 lt_aix_libpath_sed='
   9150     /Import File Strings/,/^$/ {
   9151 	/^0/ {
   9152 	    s/^0  *\(.*\)$/\1/
   9153 	    p
   9154 	}
   9155     }'
   9156 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9157 # Check for a 64-bit object if we didn't find anything.
   9158 if test -z "$aix_libpath"; then
   9159   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9160 fi
   9161 fi
   9162 rm -f core conftest.err conftest.$ac_objext \
   9163     conftest$ac_exeext conftest.$ac_ext
   9164 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9165 
   9166         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9167         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"
   9168       else
   9169 	if test "$host_cpu" = ia64; then
   9170 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9171 	  allow_undefined_flag="-z nodefs"
   9172 	  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"
   9173 	else
   9174 	 # Determine the default libpath from the value encoded in an
   9175 	 # empty executable.
   9176 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9177 /* end confdefs.h.  */
   9178 
   9179 int
   9180 main ()
   9181 {
   9182 
   9183   ;
   9184   return 0;
   9185 }
   9186 _ACEOF
   9187 if ac_fn_c_try_link "$LINENO"; then :
   9188 
   9189 lt_aix_libpath_sed='
   9190     /Import File Strings/,/^$/ {
   9191 	/^0/ {
   9192 	    s/^0  *\(.*\)$/\1/
   9193 	    p
   9194 	}
   9195     }'
   9196 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9197 # Check for a 64-bit object if we didn't find anything.
   9198 if test -z "$aix_libpath"; then
   9199   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9200 fi
   9201 fi
   9202 rm -f core conftest.err conftest.$ac_objext \
   9203     conftest$ac_exeext conftest.$ac_ext
   9204 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9205 
   9206 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9207 	  # Warning - without using the other run time loading flags,
   9208 	  # -berok will link without error, but may produce a broken library.
   9209 	  no_undefined_flag=' ${wl}-bernotok'
   9210 	  allow_undefined_flag=' ${wl}-berok'
   9211 	  if test "$with_gnu_ld" = yes; then
   9212 	    # We only use this code for GNU lds that support --whole-archive.
   9213 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9214 	  else
   9215 	    # Exported symbols can be pulled into shared objects from archives
   9216 	    whole_archive_flag_spec='$convenience'
   9217 	  fi
   9218 	  archive_cmds_need_lc=yes
   9219 	  # This is similar to how AIX traditionally builds its shared libraries.
   9220 	  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'
   9221 	fi
   9222       fi
   9223       ;;
   9224 
   9225     amigaos*)
   9226       case $host_cpu in
   9227       powerpc)
   9228             # see comment about AmigaOS4 .so support
   9229             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9230             archive_expsym_cmds=''
   9231         ;;
   9232       m68k)
   9233             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)'
   9234             hardcode_libdir_flag_spec='-L$libdir'
   9235             hardcode_minus_L=yes
   9236         ;;
   9237       esac
   9238       ;;
   9239 
   9240     bsdi[45]*)
   9241       export_dynamic_flag_spec=-rdynamic
   9242       ;;
   9243 
   9244     cygwin* | mingw* | pw32* | cegcc*)
   9245       # When not using gcc, we currently assume that we are using
   9246       # Microsoft Visual C++.
   9247       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9248       # no search path for DLLs.
   9249       hardcode_libdir_flag_spec=' '
   9250       allow_undefined_flag=unsupported
   9251       # Tell ltmain to make .lib files, not .a files.
   9252       libext=lib
   9253       # Tell ltmain to make .dll files, not .so files.
   9254       shrext_cmds=".dll"
   9255       # FIXME: Setting linknames here is a bad hack.
   9256       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9257       # The linker will automatically build a .lib file if we build a DLL.
   9258       old_archive_from_new_cmds='true'
   9259       # FIXME: Should let the user specify the lib program.
   9260       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9261       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9262       enable_shared_with_static_runtimes=yes
   9263       ;;
   9264 
   9265     darwin* | rhapsody*)
   9266 
   9267 
   9268   archive_cmds_need_lc=no
   9269   hardcode_direct=no
   9270   hardcode_automatic=yes
   9271   hardcode_shlibpath_var=unsupported
   9272   if test "$lt_cv_ld_force_load" = "yes"; then
   9273     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\"`'
   9274   else
   9275     whole_archive_flag_spec=''
   9276   fi
   9277   link_all_deplibs=yes
   9278   allow_undefined_flag="$_lt_dar_allow_undefined"
   9279   case $cc_basename in
   9280      ifort*) _lt_dar_can_shared=yes ;;
   9281      *) _lt_dar_can_shared=$GCC ;;
   9282   esac
   9283   if test "$_lt_dar_can_shared" = "yes"; then
   9284     output_verbose_link_cmd=func_echo_all
   9285     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9286     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9287     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}"
   9288     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}"
   9289 
   9290   else
   9291   ld_shlibs=no
   9292   fi
   9293 
   9294       ;;
   9295 
   9296     dgux*)
   9297       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9298       hardcode_libdir_flag_spec='-L$libdir'
   9299       hardcode_shlibpath_var=no
   9300       ;;
   9301 
   9302     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9303     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9304     # does not break anything, and helps significantly (at the cost of a little
   9305     # extra space).
   9306     freebsd2.2*)
   9307       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9308       hardcode_libdir_flag_spec='-R$libdir'
   9309       hardcode_direct=yes
   9310       hardcode_shlibpath_var=no
   9311       ;;
   9312 
   9313     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9314     freebsd2.*)
   9315       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9316       hardcode_direct=yes
   9317       hardcode_minus_L=yes
   9318       hardcode_shlibpath_var=no
   9319       ;;
   9320 
   9321     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9322     freebsd* | dragonfly*)
   9323       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9324       hardcode_libdir_flag_spec='-R$libdir'
   9325       hardcode_direct=yes
   9326       hardcode_shlibpath_var=no
   9327       ;;
   9328 
   9329     hpux9*)
   9330       if test "$GCC" = yes; then
   9331 	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'
   9332       else
   9333 	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'
   9334       fi
   9335       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9336       hardcode_libdir_separator=:
   9337       hardcode_direct=yes
   9338 
   9339       # hardcode_minus_L: Not really in the search PATH,
   9340       # but as the default location of the library.
   9341       hardcode_minus_L=yes
   9342       export_dynamic_flag_spec='${wl}-E'
   9343       ;;
   9344 
   9345     hpux10*)
   9346       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9347 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9348       else
   9349 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9350       fi
   9351       if test "$with_gnu_ld" = no; then
   9352 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9353 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9354 	hardcode_libdir_separator=:
   9355 	hardcode_direct=yes
   9356 	hardcode_direct_absolute=yes
   9357 	export_dynamic_flag_spec='${wl}-E'
   9358 	# hardcode_minus_L: Not really in the search PATH,
   9359 	# but as the default location of the library.
   9360 	hardcode_minus_L=yes
   9361       fi
   9362       ;;
   9363 
   9364     hpux11*)
   9365       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9366 	case $host_cpu in
   9367 	hppa*64*)
   9368 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9369 	  ;;
   9370 	ia64*)
   9371 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9372 	  ;;
   9373 	*)
   9374 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9375 	  ;;
   9376 	esac
   9377       else
   9378 	case $host_cpu in
   9379 	hppa*64*)
   9380 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9381 	  ;;
   9382 	ia64*)
   9383 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9384 	  ;;
   9385 	*)
   9386 
   9387 	  # Older versions of the 11.00 compiler do not understand -b yet
   9388 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9389 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9390 $as_echo_n "checking if $CC understands -b... " >&6; }
   9391 if ${lt_cv_prog_compiler__b+:} false; then :
   9392   $as_echo_n "(cached) " >&6
   9393 else
   9394   lt_cv_prog_compiler__b=no
   9395    save_LDFLAGS="$LDFLAGS"
   9396    LDFLAGS="$LDFLAGS -b"
   9397    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9398    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9399      # The linker can only warn and ignore the option if not recognized
   9400      # So say no if there are warnings
   9401      if test -s conftest.err; then
   9402        # Append any errors to the config.log.
   9403        cat conftest.err 1>&5
   9404        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9405        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9406        if diff conftest.exp conftest.er2 >/dev/null; then
   9407          lt_cv_prog_compiler__b=yes
   9408        fi
   9409      else
   9410        lt_cv_prog_compiler__b=yes
   9411      fi
   9412    fi
   9413    $RM -r conftest*
   9414    LDFLAGS="$save_LDFLAGS"
   9415 
   9416 fi
   9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9418 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9419 
   9420 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9421     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9422 else
   9423     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9424 fi
   9425 
   9426 	  ;;
   9427 	esac
   9428       fi
   9429       if test "$with_gnu_ld" = no; then
   9430 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9431 	hardcode_libdir_separator=:
   9432 
   9433 	case $host_cpu in
   9434 	hppa*64*|ia64*)
   9435 	  hardcode_direct=no
   9436 	  hardcode_shlibpath_var=no
   9437 	  ;;
   9438 	*)
   9439 	  hardcode_direct=yes
   9440 	  hardcode_direct_absolute=yes
   9441 	  export_dynamic_flag_spec='${wl}-E'
   9442 
   9443 	  # hardcode_minus_L: Not really in the search PATH,
   9444 	  # but as the default location of the library.
   9445 	  hardcode_minus_L=yes
   9446 	  ;;
   9447 	esac
   9448       fi
   9449       ;;
   9450 
   9451     irix5* | irix6* | nonstopux*)
   9452       if test "$GCC" = yes; then
   9453 	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'
   9454 	# Try to use the -exported_symbol ld option, if it does not
   9455 	# work, assume that -exports_file does not work either and
   9456 	# implicitly export all symbols.
   9457         save_LDFLAGS="$LDFLAGS"
   9458         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9459         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9460 /* end confdefs.h.  */
   9461 int foo(void) {}
   9462 _ACEOF
   9463 if ac_fn_c_try_link "$LINENO"; then :
   9464   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'
   9465 
   9466 fi
   9467 rm -f core conftest.err conftest.$ac_objext \
   9468     conftest$ac_exeext conftest.$ac_ext
   9469         LDFLAGS="$save_LDFLAGS"
   9470       else
   9471 	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'
   9472 	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'
   9473       fi
   9474       archive_cmds_need_lc='no'
   9475       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9476       hardcode_libdir_separator=:
   9477       inherit_rpath=yes
   9478       link_all_deplibs=yes
   9479       ;;
   9480 
   9481     netbsd*)
   9482       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9483 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9484       else
   9485 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9486       fi
   9487       hardcode_libdir_flag_spec='-R$libdir'
   9488       hardcode_direct=yes
   9489       hardcode_shlibpath_var=no
   9490       ;;
   9491 
   9492     newsos6)
   9493       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9494       hardcode_direct=yes
   9495       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9496       hardcode_libdir_separator=:
   9497       hardcode_shlibpath_var=no
   9498       ;;
   9499 
   9500     *nto* | *qnx*)
   9501       ;;
   9502 
   9503     openbsd*)
   9504       if test -f /usr/libexec/ld.so; then
   9505 	hardcode_direct=yes
   9506 	hardcode_shlibpath_var=no
   9507 	hardcode_direct_absolute=yes
   9508 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9509 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9510 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9511 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9512 	  export_dynamic_flag_spec='${wl}-E'
   9513 	else
   9514 	  case $host_os in
   9515 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9516 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9517 	     hardcode_libdir_flag_spec='-R$libdir'
   9518 	     ;;
   9519 	   *)
   9520 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9521 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9522 	     ;;
   9523 	  esac
   9524 	fi
   9525       else
   9526 	ld_shlibs=no
   9527       fi
   9528       ;;
   9529 
   9530     os2*)
   9531       hardcode_libdir_flag_spec='-L$libdir'
   9532       hardcode_minus_L=yes
   9533       allow_undefined_flag=unsupported
   9534       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'
   9535       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9536       ;;
   9537 
   9538     osf3*)
   9539       if test "$GCC" = yes; then
   9540 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9541 	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'
   9542       else
   9543 	allow_undefined_flag=' -expect_unresolved \*'
   9544 	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'
   9545       fi
   9546       archive_cmds_need_lc='no'
   9547       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9548       hardcode_libdir_separator=:
   9549       ;;
   9550 
   9551     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9552       if test "$GCC" = yes; then
   9553 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9554 	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'
   9555 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9556       else
   9557 	allow_undefined_flag=' -expect_unresolved \*'
   9558 	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'
   9559 	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~
   9560 	$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'
   9561 
   9562 	# Both c and cxx compiler support -rpath directly
   9563 	hardcode_libdir_flag_spec='-rpath $libdir'
   9564       fi
   9565       archive_cmds_need_lc='no'
   9566       hardcode_libdir_separator=:
   9567       ;;
   9568 
   9569     solaris*)
   9570       no_undefined_flag=' -z defs'
   9571       if test "$GCC" = yes; then
   9572 	wlarc='${wl}'
   9573 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9574 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9575 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9576       else
   9577 	case `$CC -V 2>&1` in
   9578 	*"Compilers 5.0"*)
   9579 	  wlarc=''
   9580 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9581 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9582 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9583 	  ;;
   9584 	*)
   9585 	  wlarc='${wl}'
   9586 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9587 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9588 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9589 	  ;;
   9590 	esac
   9591       fi
   9592       hardcode_libdir_flag_spec='-R$libdir'
   9593       hardcode_shlibpath_var=no
   9594       case $host_os in
   9595       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9596       *)
   9597 	# The compiler driver will combine and reorder linker options,
   9598 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9599 	# but is careful enough not to reorder.
   9600 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9601 	if test "$GCC" = yes; then
   9602 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9603 	else
   9604 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9605 	fi
   9606 	;;
   9607       esac
   9608       link_all_deplibs=yes
   9609       ;;
   9610 
   9611     sunos4*)
   9612       if test "x$host_vendor" = xsequent; then
   9613 	# Use $CC to link under sequent, because it throws in some extra .o
   9614 	# files that make .init and .fini sections work.
   9615 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9616       else
   9617 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9618       fi
   9619       hardcode_libdir_flag_spec='-L$libdir'
   9620       hardcode_direct=yes
   9621       hardcode_minus_L=yes
   9622       hardcode_shlibpath_var=no
   9623       ;;
   9624 
   9625     sysv4)
   9626       case $host_vendor in
   9627 	sni)
   9628 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9629 	  hardcode_direct=yes # is this really true???
   9630 	;;
   9631 	siemens)
   9632 	  ## LD is ld it makes a PLAMLIB
   9633 	  ## CC just makes a GrossModule.
   9634 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9635 	  reload_cmds='$CC -r -o $output$reload_objs'
   9636 	  hardcode_direct=no
   9637         ;;
   9638 	motorola)
   9639 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9640 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9641 	;;
   9642       esac
   9643       runpath_var='LD_RUN_PATH'
   9644       hardcode_shlibpath_var=no
   9645       ;;
   9646 
   9647     sysv4.3*)
   9648       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9649       hardcode_shlibpath_var=no
   9650       export_dynamic_flag_spec='-Bexport'
   9651       ;;
   9652 
   9653     sysv4*MP*)
   9654       if test -d /usr/nec; then
   9655 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9656 	hardcode_shlibpath_var=no
   9657 	runpath_var=LD_RUN_PATH
   9658 	hardcode_runpath_var=yes
   9659 	ld_shlibs=yes
   9660       fi
   9661       ;;
   9662 
   9663     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9664       no_undefined_flag='${wl}-z,text'
   9665       archive_cmds_need_lc=no
   9666       hardcode_shlibpath_var=no
   9667       runpath_var='LD_RUN_PATH'
   9668 
   9669       if test "$GCC" = yes; then
   9670 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9671 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9672       else
   9673 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9674 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9675       fi
   9676       ;;
   9677 
   9678     sysv5* | sco3.2v5* | sco5v6*)
   9679       # Note: We can NOT use -z defs as we might desire, because we do not
   9680       # link with -lc, and that would cause any symbols used from libc to
   9681       # always be unresolved, which means just about no library would
   9682       # ever link correctly.  If we're not using GNU ld we use -z text
   9683       # though, which does catch some bad symbols but isn't as heavy-handed
   9684       # as -z defs.
   9685       no_undefined_flag='${wl}-z,text'
   9686       allow_undefined_flag='${wl}-z,nodefs'
   9687       archive_cmds_need_lc=no
   9688       hardcode_shlibpath_var=no
   9689       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9690       hardcode_libdir_separator=':'
   9691       link_all_deplibs=yes
   9692       export_dynamic_flag_spec='${wl}-Bexport'
   9693       runpath_var='LD_RUN_PATH'
   9694 
   9695       if test "$GCC" = yes; then
   9696 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9697 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9698       else
   9699 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9700 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9701       fi
   9702       ;;
   9703 
   9704     uts4*)
   9705       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9706       hardcode_libdir_flag_spec='-L$libdir'
   9707       hardcode_shlibpath_var=no
   9708       ;;
   9709 
   9710     *)
   9711       ld_shlibs=no
   9712       ;;
   9713     esac
   9714 
   9715     if test x$host_vendor = xsni; then
   9716       case $host in
   9717       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9718 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9719 	;;
   9720       esac
   9721     fi
   9722   fi
   9723 
   9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9725 $as_echo "$ld_shlibs" >&6; }
   9726 test "$ld_shlibs" = no && can_build_shared=no
   9727 
   9728 with_gnu_ld=$with_gnu_ld
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 #
   9745 # Do we need to explicitly link libc?
   9746 #
   9747 case "x$archive_cmds_need_lc" in
   9748 x|xyes)
   9749   # Assume -lc should be added
   9750   archive_cmds_need_lc=yes
   9751 
   9752   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9753     case $archive_cmds in
   9754     *'~'*)
   9755       # FIXME: we may have to deal with multi-command sequences.
   9756       ;;
   9757     '$CC '*)
   9758       # Test whether the compiler implicitly links with -lc since on some
   9759       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9760       # to ld, don't add -lc before -lgcc.
   9761       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9762 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9763 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9764   $as_echo_n "(cached) " >&6
   9765 else
   9766   $RM conftest*
   9767 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9768 
   9769 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9770   (eval $ac_compile) 2>&5
   9771   ac_status=$?
   9772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9773   test $ac_status = 0; } 2>conftest.err; then
   9774 	  soname=conftest
   9775 	  lib=conftest
   9776 	  libobjs=conftest.$ac_objext
   9777 	  deplibs=
   9778 	  wl=$lt_prog_compiler_wl
   9779 	  pic_flag=$lt_prog_compiler_pic
   9780 	  compiler_flags=-v
   9781 	  linker_flags=-v
   9782 	  verstring=
   9783 	  output_objdir=.
   9784 	  libname=conftest
   9785 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9786 	  allow_undefined_flag=
   9787 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9788   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9789   ac_status=$?
   9790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9791   test $ac_status = 0; }
   9792 	  then
   9793 	    lt_cv_archive_cmds_need_lc=no
   9794 	  else
   9795 	    lt_cv_archive_cmds_need_lc=yes
   9796 	  fi
   9797 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9798 	else
   9799 	  cat conftest.err 1>&5
   9800 	fi
   9801 	$RM conftest*
   9802 
   9803 fi
   9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9805 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9806       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9807       ;;
   9808     esac
   9809   fi
   9810   ;;
   9811 esac
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9970 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9971 
   9972 if test "$GCC" = yes; then
   9973   case $host_os in
   9974     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9975     *) lt_awk_arg="/^libraries:/" ;;
   9976   esac
   9977   case $host_os in
   9978     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9979     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9980   esac
   9981   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9982   case $lt_search_path_spec in
   9983   *\;*)
   9984     # if the path contains ";" then we assume it to be the separator
   9985     # otherwise default to the standard path separator (i.e. ":") - it is
   9986     # assumed that no part of a normal pathname contains ";" but that should
   9987     # okay in the real world where ";" in dirpaths is itself problematic.
   9988     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9989     ;;
   9990   *)
   9991     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9992     ;;
   9993   esac
   9994   # Ok, now we have the path, separated by spaces, we can step through it
   9995   # and add multilib dir if necessary.
   9996   lt_tmp_lt_search_path_spec=
   9997   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9998   for lt_sys_path in $lt_search_path_spec; do
   9999     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10000       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10001     else
   10002       test -d "$lt_sys_path" && \
   10003 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10004     fi
   10005   done
   10006   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10007 BEGIN {RS=" "; FS="/|\n";} {
   10008   lt_foo="";
   10009   lt_count=0;
   10010   for (lt_i = NF; lt_i > 0; lt_i--) {
   10011     if ($lt_i != "" && $lt_i != ".") {
   10012       if ($lt_i == "..") {
   10013         lt_count++;
   10014       } else {
   10015         if (lt_count == 0) {
   10016           lt_foo="/" $lt_i lt_foo;
   10017         } else {
   10018           lt_count--;
   10019         }
   10020       }
   10021     }
   10022   }
   10023   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10024   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10025 }'`
   10026   # AWK program above erroneously prepends '/' to C:/dos/paths
   10027   # for these hosts.
   10028   case $host_os in
   10029     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10030       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10031   esac
   10032   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10033 else
   10034   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10035 fi
   10036 library_names_spec=
   10037 libname_spec='lib$name'
   10038 soname_spec=
   10039 shrext_cmds=".so"
   10040 postinstall_cmds=
   10041 postuninstall_cmds=
   10042 finish_cmds=
   10043 finish_eval=
   10044 shlibpath_var=
   10045 shlibpath_overrides_runpath=unknown
   10046 version_type=none
   10047 dynamic_linker="$host_os ld.so"
   10048 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10049 need_lib_prefix=unknown
   10050 hardcode_into_libs=no
   10051 
   10052 # when you set need_version to no, make sure it does not cause -set_version
   10053 # flags to be left without arguments
   10054 need_version=unknown
   10055 
   10056 case $host_os in
   10057 aix3*)
   10058   version_type=linux
   10059   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10060   shlibpath_var=LIBPATH
   10061 
   10062   # AIX 3 has no versioning support, so we append a major version to the name.
   10063   soname_spec='${libname}${release}${shared_ext}$major'
   10064   ;;
   10065 
   10066 aix[4-9]*)
   10067   version_type=linux
   10068   need_lib_prefix=no
   10069   need_version=no
   10070   hardcode_into_libs=yes
   10071   if test "$host_cpu" = ia64; then
   10072     # AIX 5 supports IA64
   10073     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10074     shlibpath_var=LD_LIBRARY_PATH
   10075   else
   10076     # With GCC up to 2.95.x, collect2 would create an import file
   10077     # for dependence libraries.  The import file would start with
   10078     # the line `#! .'.  This would cause the generated library to
   10079     # depend on `.', always an invalid library.  This was fixed in
   10080     # development snapshots of GCC prior to 3.0.
   10081     case $host_os in
   10082       aix4 | aix4.[01] | aix4.[01].*)
   10083       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10084 	   echo ' yes '
   10085 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10086 	:
   10087       else
   10088 	can_build_shared=no
   10089       fi
   10090       ;;
   10091     esac
   10092     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10093     # soname into executable. Probably we can add versioning support to
   10094     # collect2, so additional links can be useful in future.
   10095     if test "$aix_use_runtimelinking" = yes; then
   10096       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10097       # instead of lib<name>.a to let people know that these are not
   10098       # typical AIX shared libraries.
   10099       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10100     else
   10101       # We preserve .a as extension for shared libraries through AIX4.2
   10102       # and later when we are not doing run time linking.
   10103       library_names_spec='${libname}${release}.a $libname.a'
   10104       soname_spec='${libname}${release}${shared_ext}$major'
   10105     fi
   10106     shlibpath_var=LIBPATH
   10107   fi
   10108   ;;
   10109 
   10110 amigaos*)
   10111   case $host_cpu in
   10112   powerpc)
   10113     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10114     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10115     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10116     ;;
   10117   m68k)
   10118     library_names_spec='$libname.ixlibrary $libname.a'
   10119     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10120     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'
   10121     ;;
   10122   esac
   10123   ;;
   10124 
   10125 beos*)
   10126   library_names_spec='${libname}${shared_ext}'
   10127   dynamic_linker="$host_os ld.so"
   10128   shlibpath_var=LIBRARY_PATH
   10129   ;;
   10130 
   10131 bsdi[45]*)
   10132   version_type=linux
   10133   need_version=no
   10134   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10135   soname_spec='${libname}${release}${shared_ext}$major'
   10136   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10137   shlibpath_var=LD_LIBRARY_PATH
   10138   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10139   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10140   # the default ld.so.conf also contains /usr/contrib/lib and
   10141   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10142   # libtool to hard-code these into programs
   10143   ;;
   10144 
   10145 cygwin* | mingw* | pw32* | cegcc*)
   10146   version_type=windows
   10147   shrext_cmds=".dll"
   10148   need_version=no
   10149   need_lib_prefix=no
   10150 
   10151   case $GCC,$host_os in
   10152   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10153     library_names_spec='$libname.dll.a'
   10154     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10155     postinstall_cmds='base_file=`basename \${file}`~
   10156       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10157       dldir=$destdir/`dirname \$dlpath`~
   10158       test -d \$dldir || mkdir -p \$dldir~
   10159       $install_prog $dir/$dlname \$dldir/$dlname~
   10160       chmod a+x \$dldir/$dlname~
   10161       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10162         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10163       fi'
   10164     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10165       dlpath=$dir/\$dldll~
   10166        $RM \$dlpath'
   10167     shlibpath_overrides_runpath=yes
   10168 
   10169     case $host_os in
   10170     cygwin*)
   10171       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10172       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10173 
   10174       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10175       ;;
   10176     mingw* | cegcc*)
   10177       # MinGW DLLs use traditional 'lib' prefix
   10178       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10179       ;;
   10180     pw32*)
   10181       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10182       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10183       ;;
   10184     esac
   10185     ;;
   10186 
   10187   *)
   10188     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10189     ;;
   10190   esac
   10191   dynamic_linker='Win32 ld.exe'
   10192   # FIXME: first we should search . and the directory the executable is in
   10193   shlibpath_var=PATH
   10194   ;;
   10195 
   10196 darwin* | rhapsody*)
   10197   dynamic_linker="$host_os dyld"
   10198   version_type=darwin
   10199   need_lib_prefix=no
   10200   need_version=no
   10201   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10202   soname_spec='${libname}${release}${major}$shared_ext'
   10203   shlibpath_overrides_runpath=yes
   10204   shlibpath_var=DYLD_LIBRARY_PATH
   10205   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10206 
   10207   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10208   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10209   ;;
   10210 
   10211 dgux*)
   10212   version_type=linux
   10213   need_lib_prefix=no
   10214   need_version=no
   10215   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10216   soname_spec='${libname}${release}${shared_ext}$major'
   10217   shlibpath_var=LD_LIBRARY_PATH
   10218   ;;
   10219 
   10220 freebsd* | dragonfly*)
   10221   # DragonFly does not have aout.  When/if they implement a new
   10222   # versioning mechanism, adjust this.
   10223   if test -x /usr/bin/objformat; then
   10224     objformat=`/usr/bin/objformat`
   10225   else
   10226     case $host_os in
   10227     freebsd[23].*) objformat=aout ;;
   10228     *) objformat=elf ;;
   10229     esac
   10230   fi
   10231   version_type=freebsd-$objformat
   10232   case $version_type in
   10233     freebsd-elf*)
   10234       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10235       need_version=no
   10236       need_lib_prefix=no
   10237       ;;
   10238     freebsd-*)
   10239       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10240       need_version=yes
   10241       ;;
   10242   esac
   10243   shlibpath_var=LD_LIBRARY_PATH
   10244   case $host_os in
   10245   freebsd2.*)
   10246     shlibpath_overrides_runpath=yes
   10247     ;;
   10248   freebsd3.[01]* | freebsdelf3.[01]*)
   10249     shlibpath_overrides_runpath=yes
   10250     hardcode_into_libs=yes
   10251     ;;
   10252   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10253   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10254     shlibpath_overrides_runpath=no
   10255     hardcode_into_libs=yes
   10256     ;;
   10257   *) # from 4.6 on, and DragonFly
   10258     shlibpath_overrides_runpath=yes
   10259     hardcode_into_libs=yes
   10260     ;;
   10261   esac
   10262   ;;
   10263 
   10264 haiku*)
   10265   version_type=linux
   10266   need_lib_prefix=no
   10267   need_version=no
   10268   dynamic_linker="$host_os runtime_loader"
   10269   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10270   soname_spec='${libname}${release}${shared_ext}$major'
   10271   shlibpath_var=LIBRARY_PATH
   10272   shlibpath_overrides_runpath=yes
   10273   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10274   hardcode_into_libs=yes
   10275   ;;
   10276 
   10277 hpux9* | hpux10* | hpux11*)
   10278   # Give a soname corresponding to the major version so that dld.sl refuses to
   10279   # link against other versions.
   10280   version_type=sunos
   10281   need_lib_prefix=no
   10282   need_version=no
   10283   case $host_cpu in
   10284   ia64*)
   10285     shrext_cmds='.so'
   10286     hardcode_into_libs=yes
   10287     dynamic_linker="$host_os dld.so"
   10288     shlibpath_var=LD_LIBRARY_PATH
   10289     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10290     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10291     soname_spec='${libname}${release}${shared_ext}$major'
   10292     if test "X$HPUX_IA64_MODE" = X32; then
   10293       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10294     else
   10295       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10296     fi
   10297     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10298     ;;
   10299   hppa*64*)
   10300     shrext_cmds='.sl'
   10301     hardcode_into_libs=yes
   10302     dynamic_linker="$host_os dld.sl"
   10303     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10304     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10305     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10306     soname_spec='${libname}${release}${shared_ext}$major'
   10307     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10308     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10309     ;;
   10310   *)
   10311     shrext_cmds='.sl'
   10312     dynamic_linker="$host_os dld.sl"
   10313     shlibpath_var=SHLIB_PATH
   10314     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10315     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10316     soname_spec='${libname}${release}${shared_ext}$major'
   10317     ;;
   10318   esac
   10319   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10320   postinstall_cmds='chmod 555 $lib'
   10321   # or fails outright, so override atomically:
   10322   install_override_mode=555
   10323   ;;
   10324 
   10325 interix[3-9]*)
   10326   version_type=linux
   10327   need_lib_prefix=no
   10328   need_version=no
   10329   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10330   soname_spec='${libname}${release}${shared_ext}$major'
   10331   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10332   shlibpath_var=LD_LIBRARY_PATH
   10333   shlibpath_overrides_runpath=no
   10334   hardcode_into_libs=yes
   10335   ;;
   10336 
   10337 irix5* | irix6* | nonstopux*)
   10338   case $host_os in
   10339     nonstopux*) version_type=nonstopux ;;
   10340     *)
   10341 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10342 		version_type=linux
   10343 	else
   10344 		version_type=irix
   10345 	fi ;;
   10346   esac
   10347   need_lib_prefix=no
   10348   need_version=no
   10349   soname_spec='${libname}${release}${shared_ext}$major'
   10350   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10351   case $host_os in
   10352   irix5* | nonstopux*)
   10353     libsuff= shlibsuff=
   10354     ;;
   10355   *)
   10356     case $LD in # libtool.m4 will add one of these switches to LD
   10357     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10358       libsuff= shlibsuff= libmagic=32-bit;;
   10359     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10360       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10361     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10362       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10363     *) libsuff= shlibsuff= libmagic=never-match;;
   10364     esac
   10365     ;;
   10366   esac
   10367   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10368   shlibpath_overrides_runpath=no
   10369   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10370   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10371   hardcode_into_libs=yes
   10372   ;;
   10373 
   10374 # No shared lib support for Linux oldld, aout, or coff.
   10375 linux*oldld* | linux*aout* | linux*coff*)
   10376   dynamic_linker=no
   10377   ;;
   10378 
   10379 # This must be Linux ELF.
   10380 
   10381 # uclinux* changes (here and below) have been submitted to the libtool
   10382 # project, but have not yet been accepted: they are GCC-local changes
   10383 # for the time being.  (See
   10384 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   10385 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   10386   version_type=linux
   10387   need_lib_prefix=no
   10388   need_version=no
   10389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10390   soname_spec='${libname}${release}${shared_ext}$major'
   10391   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10392   shlibpath_var=LD_LIBRARY_PATH
   10393   shlibpath_overrides_runpath=no
   10394 
   10395   # Some binutils ld are patched to set DT_RUNPATH
   10396   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10397   $as_echo_n "(cached) " >&6
   10398 else
   10399   lt_cv_shlibpath_overrides_runpath=no
   10400     save_LDFLAGS=$LDFLAGS
   10401     save_libdir=$libdir
   10402     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10403 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10404     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10405 /* end confdefs.h.  */
   10406 
   10407 int
   10408 main ()
   10409 {
   10410 
   10411   ;
   10412   return 0;
   10413 }
   10414 _ACEOF
   10415 if ac_fn_c_try_link "$LINENO"; then :
   10416   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10417   lt_cv_shlibpath_overrides_runpath=yes
   10418 fi
   10419 fi
   10420 rm -f core conftest.err conftest.$ac_objext \
   10421     conftest$ac_exeext conftest.$ac_ext
   10422     LDFLAGS=$save_LDFLAGS
   10423     libdir=$save_libdir
   10424 
   10425 fi
   10426 
   10427   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10428 
   10429   # This implies no fast_install, which is unacceptable.
   10430   # Some rework will be needed to allow for fast_install
   10431   # before this can be enabled.
   10432   hardcode_into_libs=yes
   10433 
   10434   # Append ld.so.conf contents to the search path
   10435   if test -f /etc/ld.so.conf; then
   10436     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' ' '`
   10437     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10438   fi
   10439 
   10440   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10441   # powerpc, because MkLinux only supported shared libraries with the
   10442   # GNU dynamic linker.  Since this was broken with cross compilers,
   10443   # most powerpc-linux boxes support dynamic linking these days and
   10444   # people can always --disable-shared, the test was removed, and we
   10445   # assume the GNU/Linux dynamic linker is in use.
   10446   dynamic_linker='GNU/Linux ld.so'
   10447   ;;
   10448 
   10449 netbsd*)
   10450   version_type=sunos
   10451   need_lib_prefix=no
   10452   need_version=no
   10453   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10454     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10455     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10456     dynamic_linker='NetBSD (a.out) ld.so'
   10457   else
   10458     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10459     soname_spec='${libname}${release}${shared_ext}$major'
   10460     dynamic_linker='NetBSD ld.elf_so'
   10461   fi
   10462   shlibpath_var=LD_LIBRARY_PATH
   10463   shlibpath_overrides_runpath=yes
   10464   hardcode_into_libs=yes
   10465   ;;
   10466 
   10467 newsos6)
   10468   version_type=linux
   10469   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10470   shlibpath_var=LD_LIBRARY_PATH
   10471   shlibpath_overrides_runpath=yes
   10472   ;;
   10473 
   10474 *nto* | *qnx*)
   10475   version_type=qnx
   10476   need_lib_prefix=no
   10477   need_version=no
   10478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10479   soname_spec='${libname}${release}${shared_ext}$major'
   10480   shlibpath_var=LD_LIBRARY_PATH
   10481   shlibpath_overrides_runpath=no
   10482   hardcode_into_libs=yes
   10483   dynamic_linker='ldqnx.so'
   10484   ;;
   10485 
   10486 openbsd*)
   10487   version_type=sunos
   10488   sys_lib_dlsearch_path_spec="/usr/lib"
   10489   need_lib_prefix=no
   10490   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10491   case $host_os in
   10492     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10493     *)				need_version=no  ;;
   10494   esac
   10495   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10496   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10497   shlibpath_var=LD_LIBRARY_PATH
   10498   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10499     case $host_os in
   10500       openbsd2.[89] | openbsd2.[89].*)
   10501 	shlibpath_overrides_runpath=no
   10502 	;;
   10503       *)
   10504 	shlibpath_overrides_runpath=yes
   10505 	;;
   10506       esac
   10507   else
   10508     shlibpath_overrides_runpath=yes
   10509   fi
   10510   ;;
   10511 
   10512 os2*)
   10513   libname_spec='$name'
   10514   shrext_cmds=".dll"
   10515   need_lib_prefix=no
   10516   library_names_spec='$libname${shared_ext} $libname.a'
   10517   dynamic_linker='OS/2 ld.exe'
   10518   shlibpath_var=LIBPATH
   10519   ;;
   10520 
   10521 osf3* | osf4* | osf5*)
   10522   version_type=osf
   10523   need_lib_prefix=no
   10524   need_version=no
   10525   soname_spec='${libname}${release}${shared_ext}$major'
   10526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10527   shlibpath_var=LD_LIBRARY_PATH
   10528   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10529   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10530   ;;
   10531 
   10532 rdos*)
   10533   dynamic_linker=no
   10534   ;;
   10535 
   10536 solaris*)
   10537   version_type=linux
   10538   need_lib_prefix=no
   10539   need_version=no
   10540   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10541   soname_spec='${libname}${release}${shared_ext}$major'
   10542   shlibpath_var=LD_LIBRARY_PATH
   10543   shlibpath_overrides_runpath=yes
   10544   hardcode_into_libs=yes
   10545   # ldd complains unless libraries are executable
   10546   postinstall_cmds='chmod +x $lib'
   10547   ;;
   10548 
   10549 sunos4*)
   10550   version_type=sunos
   10551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10552   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10553   shlibpath_var=LD_LIBRARY_PATH
   10554   shlibpath_overrides_runpath=yes
   10555   if test "$with_gnu_ld" = yes; then
   10556     need_lib_prefix=no
   10557   fi
   10558   need_version=yes
   10559   ;;
   10560 
   10561 sysv4 | sysv4.3*)
   10562   version_type=linux
   10563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10564   soname_spec='${libname}${release}${shared_ext}$major'
   10565   shlibpath_var=LD_LIBRARY_PATH
   10566   case $host_vendor in
   10567     sni)
   10568       shlibpath_overrides_runpath=no
   10569       need_lib_prefix=no
   10570       runpath_var=LD_RUN_PATH
   10571       ;;
   10572     siemens)
   10573       need_lib_prefix=no
   10574       ;;
   10575     motorola)
   10576       need_lib_prefix=no
   10577       need_version=no
   10578       shlibpath_overrides_runpath=no
   10579       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10580       ;;
   10581   esac
   10582   ;;
   10583 
   10584 sysv4*MP*)
   10585   if test -d /usr/nec ;then
   10586     version_type=linux
   10587     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10588     soname_spec='$libname${shared_ext}.$major'
   10589     shlibpath_var=LD_LIBRARY_PATH
   10590   fi
   10591   ;;
   10592 
   10593 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10594   version_type=freebsd-elf
   10595   need_lib_prefix=no
   10596   need_version=no
   10597   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10598   soname_spec='${libname}${release}${shared_ext}$major'
   10599   shlibpath_var=LD_LIBRARY_PATH
   10600   shlibpath_overrides_runpath=yes
   10601   hardcode_into_libs=yes
   10602   if test "$with_gnu_ld" = yes; then
   10603     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10604   else
   10605     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10606     case $host_os in
   10607       sco3.2v5*)
   10608         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10609 	;;
   10610     esac
   10611   fi
   10612   sys_lib_dlsearch_path_spec='/usr/lib'
   10613   ;;
   10614 
   10615 tpf*)
   10616   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10617   version_type=linux
   10618   need_lib_prefix=no
   10619   need_version=no
   10620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10621   shlibpath_var=LD_LIBRARY_PATH
   10622   shlibpath_overrides_runpath=no
   10623   hardcode_into_libs=yes
   10624   ;;
   10625 
   10626 uts4*)
   10627   version_type=linux
   10628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10629   soname_spec='${libname}${release}${shared_ext}$major'
   10630   shlibpath_var=LD_LIBRARY_PATH
   10631   ;;
   10632 
   10633 # Shared libraries for VwWorks, >= 7 only at this stage
   10634 # and (fpic) still incompatible with "large" code models
   10635 # in a few configurations. Only for RTP mode in any case,
   10636 # and upon explicit request at configure time.
   10637 vxworks7*)
   10638   dynamic_linker=no
   10639   case ${with_multisubdir}-${enable_shared} in
   10640     *large*)
   10641       ;;
   10642     *mrtp*-yes)
   10643       version_type=linux
   10644       need_lib_prefix=no
   10645       need_version=no
   10646       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10647       soname_spec='${libname}${release}${shared_ext}$major'
   10648       dynamic_linker="$host_os module_loader"
   10649       ;;
   10650   esac
   10651   ;;
   10652 *)
   10653   dynamic_linker=no
   10654   ;;
   10655 esac
   10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10657 $as_echo "$dynamic_linker" >&6; }
   10658 test "$dynamic_linker" = no && can_build_shared=no
   10659 
   10660 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10661 if test "$GCC" = yes; then
   10662   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10663 fi
   10664 
   10665 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10666   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10667 fi
   10668 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10669   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10670 fi
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10764 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10765 hardcode_action=
   10766 if test -n "$hardcode_libdir_flag_spec" ||
   10767    test -n "$runpath_var" ||
   10768    test "X$hardcode_automatic" = "Xyes" ; then
   10769 
   10770   # We can hardcode non-existent directories.
   10771   if test "$hardcode_direct" != no &&
   10772      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10773      # have to relink, otherwise we might link with an installed library
   10774      # when we should be linking with a yet-to-be-installed one
   10775      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10776      test "$hardcode_minus_L" != no; then
   10777     # Linking always hardcodes the temporary library directory.
   10778     hardcode_action=relink
   10779   else
   10780     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10781     hardcode_action=immediate
   10782   fi
   10783 else
   10784   # We cannot hardcode anything, or else we can only hardcode existing
   10785   # directories.
   10786   hardcode_action=unsupported
   10787 fi
   10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10789 $as_echo "$hardcode_action" >&6; }
   10790 
   10791 if test "$hardcode_action" = relink ||
   10792    test "$inherit_rpath" = yes; then
   10793   # Fast installation is not supported
   10794   enable_fast_install=no
   10795 elif test "$shlibpath_overrides_runpath" = yes ||
   10796      test "$enable_shared" = no; then
   10797   # Fast installation is not necessary
   10798   enable_fast_install=needless
   10799 fi
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806   if test "x$enable_dlopen" != xyes; then
   10807   enable_dlopen=unknown
   10808   enable_dlopen_self=unknown
   10809   enable_dlopen_self_static=unknown
   10810 else
   10811   lt_cv_dlopen=no
   10812   lt_cv_dlopen_libs=
   10813 
   10814   case $host_os in
   10815   beos*)
   10816     lt_cv_dlopen="load_add_on"
   10817     lt_cv_dlopen_libs=
   10818     lt_cv_dlopen_self=yes
   10819     ;;
   10820 
   10821   mingw* | pw32* | cegcc*)
   10822     lt_cv_dlopen="LoadLibrary"
   10823     lt_cv_dlopen_libs=
   10824     ;;
   10825 
   10826   cygwin*)
   10827     lt_cv_dlopen="dlopen"
   10828     lt_cv_dlopen_libs=
   10829     ;;
   10830 
   10831   darwin*)
   10832   # if libdl is installed we need to link against it
   10833     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10834 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10835 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10836   $as_echo_n "(cached) " >&6
   10837 else
   10838   ac_check_lib_save_LIBS=$LIBS
   10839 LIBS="-ldl  $LIBS"
   10840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10841 /* end confdefs.h.  */
   10842 
   10843 /* Override any GCC internal prototype to avoid an error.
   10844    Use char because int might match the return type of a GCC
   10845    builtin and then its argument prototype would still apply.  */
   10846 #ifdef __cplusplus
   10847 extern "C"
   10848 #endif
   10849 char dlopen ();
   10850 int
   10851 main ()
   10852 {
   10853 return dlopen ();
   10854   ;
   10855   return 0;
   10856 }
   10857 _ACEOF
   10858 if ac_fn_c_try_link "$LINENO"; then :
   10859   ac_cv_lib_dl_dlopen=yes
   10860 else
   10861   ac_cv_lib_dl_dlopen=no
   10862 fi
   10863 rm -f core conftest.err conftest.$ac_objext \
   10864     conftest$ac_exeext conftest.$ac_ext
   10865 LIBS=$ac_check_lib_save_LIBS
   10866 fi
   10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10868 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10869 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10870   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10871 else
   10872 
   10873     lt_cv_dlopen="dyld"
   10874     lt_cv_dlopen_libs=
   10875     lt_cv_dlopen_self=yes
   10876 
   10877 fi
   10878 
   10879     ;;
   10880 
   10881   *)
   10882     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10883 if test "x$ac_cv_func_shl_load" = xyes; then :
   10884   lt_cv_dlopen="shl_load"
   10885 else
   10886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10887 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10888 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10889   $as_echo_n "(cached) " >&6
   10890 else
   10891   ac_check_lib_save_LIBS=$LIBS
   10892 LIBS="-ldld  $LIBS"
   10893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10894 /* end confdefs.h.  */
   10895 
   10896 /* Override any GCC internal prototype to avoid an error.
   10897    Use char because int might match the return type of a GCC
   10898    builtin and then its argument prototype would still apply.  */
   10899 #ifdef __cplusplus
   10900 extern "C"
   10901 #endif
   10902 char shl_load ();
   10903 int
   10904 main ()
   10905 {
   10906 return shl_load ();
   10907   ;
   10908   return 0;
   10909 }
   10910 _ACEOF
   10911 if ac_fn_c_try_link "$LINENO"; then :
   10912   ac_cv_lib_dld_shl_load=yes
   10913 else
   10914   ac_cv_lib_dld_shl_load=no
   10915 fi
   10916 rm -f core conftest.err conftest.$ac_objext \
   10917     conftest$ac_exeext conftest.$ac_ext
   10918 LIBS=$ac_check_lib_save_LIBS
   10919 fi
   10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10921 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10922 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10923   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10924 else
   10925   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10926 if test "x$ac_cv_func_dlopen" = xyes; then :
   10927   lt_cv_dlopen="dlopen"
   10928 else
   10929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10930 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10931 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10932   $as_echo_n "(cached) " >&6
   10933 else
   10934   ac_check_lib_save_LIBS=$LIBS
   10935 LIBS="-ldl  $LIBS"
   10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10937 /* end confdefs.h.  */
   10938 
   10939 /* Override any GCC internal prototype to avoid an error.
   10940    Use char because int might match the return type of a GCC
   10941    builtin and then its argument prototype would still apply.  */
   10942 #ifdef __cplusplus
   10943 extern "C"
   10944 #endif
   10945 char dlopen ();
   10946 int
   10947 main ()
   10948 {
   10949 return dlopen ();
   10950   ;
   10951   return 0;
   10952 }
   10953 _ACEOF
   10954 if ac_fn_c_try_link "$LINENO"; then :
   10955   ac_cv_lib_dl_dlopen=yes
   10956 else
   10957   ac_cv_lib_dl_dlopen=no
   10958 fi
   10959 rm -f core conftest.err conftest.$ac_objext \
   10960     conftest$ac_exeext conftest.$ac_ext
   10961 LIBS=$ac_check_lib_save_LIBS
   10962 fi
   10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10964 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10965 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10966   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10967 else
   10968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10969 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10970 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10971   $as_echo_n "(cached) " >&6
   10972 else
   10973   ac_check_lib_save_LIBS=$LIBS
   10974 LIBS="-lsvld  $LIBS"
   10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10976 /* end confdefs.h.  */
   10977 
   10978 /* Override any GCC internal prototype to avoid an error.
   10979    Use char because int might match the return type of a GCC
   10980    builtin and then its argument prototype would still apply.  */
   10981 #ifdef __cplusplus
   10982 extern "C"
   10983 #endif
   10984 char dlopen ();
   10985 int
   10986 main ()
   10987 {
   10988 return dlopen ();
   10989   ;
   10990   return 0;
   10991 }
   10992 _ACEOF
   10993 if ac_fn_c_try_link "$LINENO"; then :
   10994   ac_cv_lib_svld_dlopen=yes
   10995 else
   10996   ac_cv_lib_svld_dlopen=no
   10997 fi
   10998 rm -f core conftest.err conftest.$ac_objext \
   10999     conftest$ac_exeext conftest.$ac_ext
   11000 LIBS=$ac_check_lib_save_LIBS
   11001 fi
   11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11003 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11004 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11005   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11006 else
   11007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11008 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11009 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11010   $as_echo_n "(cached) " >&6
   11011 else
   11012   ac_check_lib_save_LIBS=$LIBS
   11013 LIBS="-ldld  $LIBS"
   11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11015 /* end confdefs.h.  */
   11016 
   11017 /* Override any GCC internal prototype to avoid an error.
   11018    Use char because int might match the return type of a GCC
   11019    builtin and then its argument prototype would still apply.  */
   11020 #ifdef __cplusplus
   11021 extern "C"
   11022 #endif
   11023 char dld_link ();
   11024 int
   11025 main ()
   11026 {
   11027 return dld_link ();
   11028   ;
   11029   return 0;
   11030 }
   11031 _ACEOF
   11032 if ac_fn_c_try_link "$LINENO"; then :
   11033   ac_cv_lib_dld_dld_link=yes
   11034 else
   11035   ac_cv_lib_dld_dld_link=no
   11036 fi
   11037 rm -f core conftest.err conftest.$ac_objext \
   11038     conftest$ac_exeext conftest.$ac_ext
   11039 LIBS=$ac_check_lib_save_LIBS
   11040 fi
   11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11042 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11043 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11044   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11045 fi
   11046 
   11047 
   11048 fi
   11049 
   11050 
   11051 fi
   11052 
   11053 
   11054 fi
   11055 
   11056 
   11057 fi
   11058 
   11059 
   11060 fi
   11061 
   11062     ;;
   11063   esac
   11064 
   11065   if test "x$lt_cv_dlopen" != xno; then
   11066     enable_dlopen=yes
   11067   else
   11068     enable_dlopen=no
   11069   fi
   11070 
   11071   case $lt_cv_dlopen in
   11072   dlopen)
   11073     save_CPPFLAGS="$CPPFLAGS"
   11074     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11075 
   11076     save_LDFLAGS="$LDFLAGS"
   11077     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11078 
   11079     save_LIBS="$LIBS"
   11080     LIBS="$lt_cv_dlopen_libs $LIBS"
   11081 
   11082     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11083 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11084 if ${lt_cv_dlopen_self+:} false; then :
   11085   $as_echo_n "(cached) " >&6
   11086 else
   11087   	  if test "$cross_compiling" = yes; then :
   11088   lt_cv_dlopen_self=cross
   11089 else
   11090   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11091   lt_status=$lt_dlunknown
   11092   cat > conftest.$ac_ext <<_LT_EOF
   11093 #line 11093 "configure"
   11094 #include "confdefs.h"
   11095 
   11096 #if HAVE_DLFCN_H
   11097 #include <dlfcn.h>
   11098 #endif
   11099 
   11100 #include <stdio.h>
   11101 
   11102 #ifdef RTLD_GLOBAL
   11103 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11104 #else
   11105 #  ifdef DL_GLOBAL
   11106 #    define LT_DLGLOBAL		DL_GLOBAL
   11107 #  else
   11108 #    define LT_DLGLOBAL		0
   11109 #  endif
   11110 #endif
   11111 
   11112 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11113    find out it does not work in some platform. */
   11114 #ifndef LT_DLLAZY_OR_NOW
   11115 #  ifdef RTLD_LAZY
   11116 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11117 #  else
   11118 #    ifdef DL_LAZY
   11119 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11120 #    else
   11121 #      ifdef RTLD_NOW
   11122 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11123 #      else
   11124 #        ifdef DL_NOW
   11125 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11126 #        else
   11127 #          define LT_DLLAZY_OR_NOW	0
   11128 #        endif
   11129 #      endif
   11130 #    endif
   11131 #  endif
   11132 #endif
   11133 
   11134 /* When -fvisbility=hidden is used, assume the code has been annotated
   11135    correspondingly for the symbols needed.  */
   11136 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11137 void fnord () __attribute__((visibility("default")));
   11138 #endif
   11139 
   11140 void fnord () { int i=42; }
   11141 int main ()
   11142 {
   11143   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11144   int status = $lt_dlunknown;
   11145 
   11146   if (self)
   11147     {
   11148       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11149       else
   11150         {
   11151 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11152           else puts (dlerror ());
   11153 	}
   11154       /* dlclose (self); */
   11155     }
   11156   else
   11157     puts (dlerror ());
   11158 
   11159   return status;
   11160 }
   11161 _LT_EOF
   11162   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11163   (eval $ac_link) 2>&5
   11164   ac_status=$?
   11165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11166   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11167     (./conftest; exit; ) >&5 2>/dev/null
   11168     lt_status=$?
   11169     case x$lt_status in
   11170       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11171       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11172       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11173     esac
   11174   else :
   11175     # compilation failed
   11176     lt_cv_dlopen_self=no
   11177   fi
   11178 fi
   11179 rm -fr conftest*
   11180 
   11181 
   11182 fi
   11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11184 $as_echo "$lt_cv_dlopen_self" >&6; }
   11185 
   11186     if test "x$lt_cv_dlopen_self" = xyes; then
   11187       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11188       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11189 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11190 if ${lt_cv_dlopen_self_static+:} false; then :
   11191   $as_echo_n "(cached) " >&6
   11192 else
   11193   	  if test "$cross_compiling" = yes; then :
   11194   lt_cv_dlopen_self_static=cross
   11195 else
   11196   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11197   lt_status=$lt_dlunknown
   11198   cat > conftest.$ac_ext <<_LT_EOF
   11199 #line 11199 "configure"
   11200 #include "confdefs.h"
   11201 
   11202 #if HAVE_DLFCN_H
   11203 #include <dlfcn.h>
   11204 #endif
   11205 
   11206 #include <stdio.h>
   11207 
   11208 #ifdef RTLD_GLOBAL
   11209 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11210 #else
   11211 #  ifdef DL_GLOBAL
   11212 #    define LT_DLGLOBAL		DL_GLOBAL
   11213 #  else
   11214 #    define LT_DLGLOBAL		0
   11215 #  endif
   11216 #endif
   11217 
   11218 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11219    find out it does not work in some platform. */
   11220 #ifndef LT_DLLAZY_OR_NOW
   11221 #  ifdef RTLD_LAZY
   11222 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11223 #  else
   11224 #    ifdef DL_LAZY
   11225 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11226 #    else
   11227 #      ifdef RTLD_NOW
   11228 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11229 #      else
   11230 #        ifdef DL_NOW
   11231 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11232 #        else
   11233 #          define LT_DLLAZY_OR_NOW	0
   11234 #        endif
   11235 #      endif
   11236 #    endif
   11237 #  endif
   11238 #endif
   11239 
   11240 /* When -fvisbility=hidden is used, assume the code has been annotated
   11241    correspondingly for the symbols needed.  */
   11242 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11243 void fnord () __attribute__((visibility("default")));
   11244 #endif
   11245 
   11246 void fnord () { int i=42; }
   11247 int main ()
   11248 {
   11249   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11250   int status = $lt_dlunknown;
   11251 
   11252   if (self)
   11253     {
   11254       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11255       else
   11256         {
   11257 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11258           else puts (dlerror ());
   11259 	}
   11260       /* dlclose (self); */
   11261     }
   11262   else
   11263     puts (dlerror ());
   11264 
   11265   return status;
   11266 }
   11267 _LT_EOF
   11268   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11269   (eval $ac_link) 2>&5
   11270   ac_status=$?
   11271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11272   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11273     (./conftest; exit; ) >&5 2>/dev/null
   11274     lt_status=$?
   11275     case x$lt_status in
   11276       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11277       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11278       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11279     esac
   11280   else :
   11281     # compilation failed
   11282     lt_cv_dlopen_self_static=no
   11283   fi
   11284 fi
   11285 rm -fr conftest*
   11286 
   11287 
   11288 fi
   11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11290 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11291     fi
   11292 
   11293     CPPFLAGS="$save_CPPFLAGS"
   11294     LDFLAGS="$save_LDFLAGS"
   11295     LIBS="$save_LIBS"
   11296     ;;
   11297   esac
   11298 
   11299   case $lt_cv_dlopen_self in
   11300   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11301   *) enable_dlopen_self=unknown ;;
   11302   esac
   11303 
   11304   case $lt_cv_dlopen_self_static in
   11305   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11306   *) enable_dlopen_self_static=unknown ;;
   11307   esac
   11308 fi
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 striplib=
   11327 old_striplib=
   11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11329 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11330 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11331   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11332   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11334 $as_echo "yes" >&6; }
   11335 else
   11336 # FIXME - insert some real tests, host_os isn't really good enough
   11337   case $host_os in
   11338   darwin*)
   11339     if test -n "$STRIP" ; then
   11340       striplib="$STRIP -x"
   11341       old_striplib="$STRIP -S"
   11342       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11343 $as_echo "yes" >&6; }
   11344     else
   11345       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11346 $as_echo "no" >&6; }
   11347     fi
   11348     ;;
   11349   *)
   11350     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11351 $as_echo "no" >&6; }
   11352     ;;
   11353   esac
   11354 fi
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367   # Report which library types will actually be built
   11368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11369 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11371 $as_echo "$can_build_shared" >&6; }
   11372 
   11373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11374 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11375   test "$can_build_shared" = "no" && enable_shared=no
   11376 
   11377   # On AIX, shared libraries and static libraries use the same namespace, and
   11378   # are all built from PIC.
   11379   case $host_os in
   11380   aix3*)
   11381     test "$enable_shared" = yes && enable_static=no
   11382     if test -n "$RANLIB"; then
   11383       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11384       postinstall_cmds='$RANLIB $lib'
   11385     fi
   11386     ;;
   11387 
   11388   aix[4-9]*)
   11389     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11390       test "$enable_shared" = yes && enable_static=no
   11391     fi
   11392     ;;
   11393   esac
   11394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11395 $as_echo "$enable_shared" >&6; }
   11396 
   11397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11398 $as_echo_n "checking whether to build static libraries... " >&6; }
   11399   # Make sure either enable_shared or enable_static is yes.
   11400   test "$enable_shared" = yes || enable_static=yes
   11401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11402 $as_echo "$enable_static" >&6; }
   11403 
   11404 
   11405 
   11406 
   11407 fi
   11408 ac_ext=c
   11409 ac_cpp='$CPP $CPPFLAGS'
   11410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11413 
   11414 CC="$lt_save_CC"
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428         ac_config_commands="$ac_config_commands libtool"
   11429 
   11430 
   11431 
   11432 
   11433 # Only expand once:
   11434 
   11435 
   11436 
   11437 ac_checking=
   11438 . ${srcdir}/../bfd/development.sh
   11439 test "$development" = true && ac_checking=yes
   11440 # Check whether --enable-checking was given.
   11441 if test "${enable_checking+set}" = set; then :
   11442   enableval=$enable_checking; case "${enableval}" in
   11443   no|none)  ac_checking= ;;
   11444   *)	    ac_checking=yes ;;
   11445 esac
   11446 fi
   11447 if test x$ac_checking != x ; then
   11448 
   11449 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
   11450 
   11451 fi
   11452 
   11453 # Check whether --enable-targets was given.
   11454 if test "${enable_targets+set}" = set; then :
   11455   enableval=$enable_targets; case "${enableval}" in
   11456   yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
   11457             ;;
   11458   no)       enable_targets= ;;
   11459   *)        enable_targets=$enableval ;;
   11460 esac
   11461 fi
   11462 
   11463 
   11464 # Set the 'development' global.
   11465 . $srcdir/../bfd/development.sh
   11466 
   11467 # Set acp_cpp_for_build variable
   11468 ac_cpp_for_build="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
   11469 
   11470 # Default set of GCC warnings to enable.
   11471 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   11472 GCC_WARN_CFLAGS_FOR_BUILD="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   11473 
   11474 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11476 /* end confdefs.h.  */
   11477 __GNUC__
   11478 _ACEOF
   11479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11480   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   11481 
   11482 else
   11483   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
   11484 fi
   11485 rm -f conftest*
   11486 
   11487 
   11488 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11490 /* end confdefs.h.  */
   11491 __GNUC__
   11492 _ACEOF
   11493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11494   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   11495 
   11496 else
   11497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11498 /* end confdefs.h.  */
   11499 __clang__
   11500 _ACEOF
   11501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11502   $EGREP "^__clang__$" >/dev/null 2>&1; then :
   11503   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
   11504 fi
   11505 rm -f conftest*
   11506 
   11507 fi
   11508 rm -f conftest*
   11509 
   11510 
   11511 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
   11512 WARN_WRITE_STRINGS=""
   11513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11514 /* end confdefs.h.  */
   11515 __GNUC__
   11516 _ACEOF
   11517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11518   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   11519 
   11520 else
   11521   WARN_WRITE_STRINGS="-Wwrite-strings"
   11522 fi
   11523 rm -f conftest*
   11524 
   11525 
   11526 # Verify CC_FOR_BUILD to be compatible with warning flags
   11527 
   11528 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   11529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11530 /* end confdefs.h.  */
   11531 __GNUC__
   11532 _ACEOF
   11533 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   11534   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   11535 
   11536 else
   11537   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
   11538 fi
   11539 rm -f conftest*
   11540 
   11541 
   11542 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11544 /* end confdefs.h.  */
   11545 __GNUC__
   11546 _ACEOF
   11547 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   11548   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   11549 
   11550 else
   11551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11552 /* end confdefs.h.  */
   11553 __clang__
   11554 _ACEOF
   11555 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   11556   $EGREP "^__clang__$" >/dev/null 2>&1; then :
   11557   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
   11558 fi
   11559 rm -f conftest*
   11560 
   11561 fi
   11562 rm -f conftest*
   11563 
   11564 
   11565 # Check whether --enable-werror was given.
   11566 if test "${enable_werror+set}" = set; then :
   11567   enableval=$enable_werror; case "${enableval}" in
   11568      yes | y) ERROR_ON_WARNING="yes" ;;
   11569      no | n)  ERROR_ON_WARNING="no" ;;
   11570      *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
   11571    esac
   11572 fi
   11573 
   11574 
   11575 # Disable -Wformat by default when using gcc on mingw
   11576 case "${host}" in
   11577   *-*-mingw32*)
   11578     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   11579       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
   11580       GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
   11581     fi
   11582     ;;
   11583   *) ;;
   11584 esac
   11585 
   11586 # Enable -Werror by default when using gcc.  Turn it off for releases.
   11587 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
   11588     ERROR_ON_WARNING=yes
   11589 fi
   11590 
   11591 NO_WERROR=
   11592 if test "${ERROR_ON_WARNING}" = yes ; then
   11593     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
   11594     GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
   11595     NO_WERROR="-Wno-error"
   11596 fi
   11597 
   11598 if test "${GCC}" = yes ; then
   11599   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   11600   WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}"
   11601 fi
   11602 
   11603 # Check whether --enable-build-warnings was given.
   11604 if test "${enable_build_warnings+set}" = set; then :
   11605   enableval=$enable_build_warnings; case "${enableval}" in
   11606   yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   11607         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}";;
   11608   no)	if test "${GCC}" = yes ; then
   11609 	  WARN_CFLAGS="-w"
   11610       WARN_CFLAGS_FOR_BUILD="-w"
   11611 	fi;;
   11612   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   11613         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}"
   11614         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
   11615   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   11616         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}"
   11617         WARN_CFLAGS_FOR_BUILD="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
   11618   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`
   11619         WARN_CFLAGS_FOR_BUILD=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   11620 esac
   11621 fi
   11622 
   11623 
   11624 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
   11625   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
   11626 fi
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 ac_config_headers="$ac_config_headers config.h:config.in"
   11635 
   11636 
   11637 # PR 14072
   11638 
   11639 
   11640 if test -z "$target" ; then
   11641     as_fn_error $? "Unrecognized target system type; please check config.sub." "$LINENO" 5
   11642 fi
   11643 
   11644 
   11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   11646 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   11647     # Check whether --enable-maintainer-mode was given.
   11648 if test "${enable_maintainer_mode+set}" = set; then :
   11649   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   11650 else
   11651   USE_MAINTAINER_MODE=no
   11652 fi
   11653 
   11654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   11655 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   11656    if test $USE_MAINTAINER_MODE = yes; then
   11657   MAINTAINER_MODE_TRUE=
   11658   MAINTAINER_MODE_FALSE='#'
   11659 else
   11660   MAINTAINER_MODE_TRUE='#'
   11661   MAINTAINER_MODE_FALSE=
   11662 fi
   11663 
   11664   MAINT=$MAINTAINER_MODE_TRUE
   11665 
   11666 
   11667  case ${build_alias} in
   11668   "") build_noncanonical=${build} ;;
   11669   *) build_noncanonical=${build_alias} ;;
   11670 esac
   11671 
   11672  case ${host_alias} in
   11673   "") host_noncanonical=${build_noncanonical} ;;
   11674   *) host_noncanonical=${host_alias} ;;
   11675 esac
   11676 
   11677  case ${target_alias} in
   11678   "") target_noncanonical=${host_noncanonical} ;;
   11679   *) target_noncanonical=${target_alias} ;;
   11680 esac
   11681 
   11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
   11683 $as_echo_n "checking whether to install libbfd... " >&6; }
   11684   # Check whether --enable-install-libbfd was given.
   11685 if test "${enable_install_libbfd+set}" = set; then :
   11686   enableval=$enable_install_libbfd; install_libbfd_p=$enableval
   11687 else
   11688   if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
   11689         install_libbfd_p=yes
   11690       else
   11691         install_libbfd_p=no
   11692       fi
   11693 fi
   11694 
   11695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
   11696 $as_echo "$install_libbfd_p" >&6; }
   11697    if test $install_libbfd_p = yes; then
   11698   INSTALL_LIBBFD_TRUE=
   11699   INSTALL_LIBBFD_FALSE='#'
   11700 else
   11701   INSTALL_LIBBFD_TRUE='#'
   11702   INSTALL_LIBBFD_FALSE=
   11703 fi
   11704 
   11705   # Need _noncanonical variables for this.
   11706 
   11707 
   11708 
   11709 
   11710   # libbfd.a is a host library containing target dependent code
   11711   bfdlibdir='$(libdir)'
   11712   bfdincludedir='$(includedir)'
   11713   if test "${host}" != "${target}"; then
   11714     bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
   11715     bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
   11716   fi
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 # host-specific stuff:
   11726 
   11727 ALL_LINGUAS="da de es fi fr ga id it nl pt_BR ro sr sv tr uk vi zh_CN"
   11728 
   11729         MKINSTALLDIRS=
   11730   if test -n "$ac_aux_dir"; then
   11731     case "$ac_aux_dir" in
   11732       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   11733       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   11734     esac
   11735   fi
   11736   if test -z "$MKINSTALLDIRS"; then
   11737     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   11738   fi
   11739 
   11740 
   11741 
   11742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   11743 $as_echo_n "checking whether NLS is requested... " >&6; }
   11744     # Check whether --enable-nls was given.
   11745 if test "${enable_nls+set}" = set; then :
   11746   enableval=$enable_nls; USE_NLS=$enableval
   11747 else
   11748   USE_NLS=yes
   11749 fi
   11750 
   11751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   11752 $as_echo "$USE_NLS" >&6; }
   11753 
   11754 
   11755 
   11756 
   11757 
   11758 
   11759 # Prepare PATH_SEPARATOR.
   11760 # The user is always right.
   11761 if test "${PATH_SEPARATOR+set}" != set; then
   11762   echo "#! /bin/sh" >conf$$.sh
   11763   echo  "exit 0"   >>conf$$.sh
   11764   chmod +x conf$$.sh
   11765   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11766     PATH_SEPARATOR=';'
   11767   else
   11768     PATH_SEPARATOR=:
   11769   fi
   11770   rm -f conf$$.sh
   11771 fi
   11772 
   11773 # Find out how to test for executable files. Don't use a zero-byte file,
   11774 # as systems may use methods other than mode bits to determine executability.
   11775 cat >conf$$.file <<_ASEOF
   11776 #! /bin/sh
   11777 exit 0
   11778 _ASEOF
   11779 chmod +x conf$$.file
   11780 if test -x conf$$.file >/dev/null 2>&1; then
   11781   ac_executable_p="test -x"
   11782 else
   11783   ac_executable_p="test -f"
   11784 fi
   11785 rm -f conf$$.file
   11786 
   11787 # Extract the first word of "msgfmt", so it can be a program name with args.
   11788 set dummy msgfmt; ac_word=$2
   11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11790 $as_echo_n "checking for $ac_word... " >&6; }
   11791 if ${ac_cv_path_MSGFMT+:} false; then :
   11792   $as_echo_n "(cached) " >&6
   11793 else
   11794   case "$MSGFMT" in
   11795   [\\/]* | ?:[\\/]*)
   11796     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   11797     ;;
   11798   *)
   11799     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   11800     for ac_dir in $PATH; do
   11801       IFS="$ac_save_IFS"
   11802       test -z "$ac_dir" && ac_dir=.
   11803       for ac_exec_ext in '' $ac_executable_extensions; do
   11804         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   11805           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   11806      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   11807             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   11808             break 2
   11809           fi
   11810         fi
   11811       done
   11812     done
   11813     IFS="$ac_save_IFS"
   11814   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   11815     ;;
   11816 esac
   11817 fi
   11818 MSGFMT="$ac_cv_path_MSGFMT"
   11819 if test "$MSGFMT" != ":"; then
   11820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   11821 $as_echo "$MSGFMT" >&6; }
   11822 else
   11823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11824 $as_echo "no" >&6; }
   11825 fi
   11826 
   11827   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   11828 set dummy gmsgfmt; ac_word=$2
   11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11830 $as_echo_n "checking for $ac_word... " >&6; }
   11831 if ${ac_cv_path_GMSGFMT+:} false; then :
   11832   $as_echo_n "(cached) " >&6
   11833 else
   11834   case $GMSGFMT in
   11835   [\\/]* | ?:[\\/]*)
   11836   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   11837   ;;
   11838   *)
   11839   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11840 for as_dir in $PATH
   11841 do
   11842   IFS=$as_save_IFS
   11843   test -z "$as_dir" && as_dir=.
   11844     for ac_exec_ext in '' $ac_executable_extensions; do
   11845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11846     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   11847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11848     break 2
   11849   fi
   11850 done
   11851   done
   11852 IFS=$as_save_IFS
   11853 
   11854   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   11855   ;;
   11856 esac
   11857 fi
   11858 GMSGFMT=$ac_cv_path_GMSGFMT
   11859 if test -n "$GMSGFMT"; then
   11860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   11861 $as_echo "$GMSGFMT" >&6; }
   11862 else
   11863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11864 $as_echo "no" >&6; }
   11865 fi
   11866 
   11867 
   11868 
   11869 
   11870 # Prepare PATH_SEPARATOR.
   11871 # The user is always right.
   11872 if test "${PATH_SEPARATOR+set}" != set; then
   11873   echo "#! /bin/sh" >conf$$.sh
   11874   echo  "exit 0"   >>conf$$.sh
   11875   chmod +x conf$$.sh
   11876   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11877     PATH_SEPARATOR=';'
   11878   else
   11879     PATH_SEPARATOR=:
   11880   fi
   11881   rm -f conf$$.sh
   11882 fi
   11883 
   11884 # Find out how to test for executable files. Don't use a zero-byte file,
   11885 # as systems may use methods other than mode bits to determine executability.
   11886 cat >conf$$.file <<_ASEOF
   11887 #! /bin/sh
   11888 exit 0
   11889 _ASEOF
   11890 chmod +x conf$$.file
   11891 if test -x conf$$.file >/dev/null 2>&1; then
   11892   ac_executable_p="test -x"
   11893 else
   11894   ac_executable_p="test -f"
   11895 fi
   11896 rm -f conf$$.file
   11897 
   11898 # Extract the first word of "xgettext", so it can be a program name with args.
   11899 set dummy xgettext; ac_word=$2
   11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11901 $as_echo_n "checking for $ac_word... " >&6; }
   11902 if ${ac_cv_path_XGETTEXT+:} false; then :
   11903   $as_echo_n "(cached) " >&6
   11904 else
   11905   case "$XGETTEXT" in
   11906   [\\/]* | ?:[\\/]*)
   11907     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   11908     ;;
   11909   *)
   11910     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   11911     for ac_dir in $PATH; do
   11912       IFS="$ac_save_IFS"
   11913       test -z "$ac_dir" && ac_dir=.
   11914       for ac_exec_ext in '' $ac_executable_extensions; do
   11915         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   11916           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   11917      (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
   11918             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   11919             break 2
   11920           fi
   11921         fi
   11922       done
   11923     done
   11924     IFS="$ac_save_IFS"
   11925   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   11926     ;;
   11927 esac
   11928 fi
   11929 XGETTEXT="$ac_cv_path_XGETTEXT"
   11930 if test "$XGETTEXT" != ":"; then
   11931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   11932 $as_echo "$XGETTEXT" >&6; }
   11933 else
   11934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11935 $as_echo "no" >&6; }
   11936 fi
   11937 
   11938     rm -f messages.po
   11939 
   11940 
   11941 # Prepare PATH_SEPARATOR.
   11942 # The user is always right.
   11943 if test "${PATH_SEPARATOR+set}" != set; then
   11944   echo "#! /bin/sh" >conf$$.sh
   11945   echo  "exit 0"   >>conf$$.sh
   11946   chmod +x conf$$.sh
   11947   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11948     PATH_SEPARATOR=';'
   11949   else
   11950     PATH_SEPARATOR=:
   11951   fi
   11952   rm -f conf$$.sh
   11953 fi
   11954 
   11955 # Find out how to test for executable files. Don't use a zero-byte file,
   11956 # as systems may use methods other than mode bits to determine executability.
   11957 cat >conf$$.file <<_ASEOF
   11958 #! /bin/sh
   11959 exit 0
   11960 _ASEOF
   11961 chmod +x conf$$.file
   11962 if test -x conf$$.file >/dev/null 2>&1; then
   11963   ac_executable_p="test -x"
   11964 else
   11965   ac_executable_p="test -f"
   11966 fi
   11967 rm -f conf$$.file
   11968 
   11969 # Extract the first word of "msgmerge", so it can be a program name with args.
   11970 set dummy msgmerge; ac_word=$2
   11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11972 $as_echo_n "checking for $ac_word... " >&6; }
   11973 if ${ac_cv_path_MSGMERGE+:} false; then :
   11974   $as_echo_n "(cached) " >&6
   11975 else
   11976   case "$MSGMERGE" in
   11977   [\\/]* | ?:[\\/]*)
   11978     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   11979     ;;
   11980   *)
   11981     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   11982     for ac_dir in $PATH; do
   11983       IFS="$ac_save_IFS"
   11984       test -z "$ac_dir" && ac_dir=.
   11985       for ac_exec_ext in '' $ac_executable_extensions; do
   11986         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   11987           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   11988             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   11989             break 2
   11990           fi
   11991         fi
   11992       done
   11993     done
   11994     IFS="$ac_save_IFS"
   11995   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   11996     ;;
   11997 esac
   11998 fi
   11999 MSGMERGE="$ac_cv_path_MSGMERGE"
   12000 if test "$MSGMERGE" != ":"; then
   12001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   12002 $as_echo "$MSGMERGE" >&6; }
   12003 else
   12004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12005 $as_echo "no" >&6; }
   12006 fi
   12007 
   12008 
   12009       if test "$GMSGFMT" != ":"; then
   12010             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   12011        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   12012       : ;
   12013     else
   12014       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   12015       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   12016 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   12017       GMSGFMT=":"
   12018     fi
   12019   fi
   12020 
   12021       if test "$XGETTEXT" != ":"; then
   12022             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   12023        (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
   12024       : ;
   12025     else
   12026       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   12027 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   12028       XGETTEXT=":"
   12029     fi
   12030         rm -f messages.po
   12031   fi
   12032 
   12033   ac_config_commands="$ac_config_commands default-1"
   12034 
   12035 
   12036 
   12037       if test "X$prefix" = "XNONE"; then
   12038     acl_final_prefix="$ac_default_prefix"
   12039   else
   12040     acl_final_prefix="$prefix"
   12041   fi
   12042   if test "X$exec_prefix" = "XNONE"; then
   12043     acl_final_exec_prefix='${prefix}'
   12044   else
   12045     acl_final_exec_prefix="$exec_prefix"
   12046   fi
   12047   acl_save_prefix="$prefix"
   12048   prefix="$acl_final_prefix"
   12049   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   12050   prefix="$acl_save_prefix"
   12051 
   12052 
   12053 # Check whether --with-gnu-ld was given.
   12054 if test "${with_gnu_ld+set}" = set; then :
   12055   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12056 else
   12057   with_gnu_ld=no
   12058 fi
   12059 
   12060 # Prepare PATH_SEPARATOR.
   12061 # The user is always right.
   12062 if test "${PATH_SEPARATOR+set}" != set; then
   12063   echo "#! /bin/sh" >conf$$.sh
   12064   echo  "exit 0"   >>conf$$.sh
   12065   chmod +x conf$$.sh
   12066   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12067     PATH_SEPARATOR=';'
   12068   else
   12069     PATH_SEPARATOR=:
   12070   fi
   12071   rm -f conf$$.sh
   12072 fi
   12073 ac_prog=ld
   12074 if test "$GCC" = yes; then
   12075   # Check if gcc -print-prog-name=ld gives a path.
   12076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   12077 $as_echo_n "checking for ld used by GCC... " >&6; }
   12078   case $host in
   12079   *-*-mingw*)
   12080     # gcc leaves a trailing carriage return which upsets mingw
   12081     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12082   *)
   12083     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12084   esac
   12085   case $ac_prog in
   12086     # Accept absolute paths.
   12087     [\\/]* | [A-Za-z]:[\\/]*)
   12088       re_direlt='/[^/][^/]*/\.\./'
   12089       # Canonicalize the path of ld
   12090       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   12091       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   12092 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   12093       done
   12094       test -z "$LD" && LD="$ac_prog"
   12095       ;;
   12096   "")
   12097     # If it fails, then pretend we aren't using GCC.
   12098     ac_prog=ld
   12099     ;;
   12100   *)
   12101     # If it is relative, then search for the first ld in PATH.
   12102     with_gnu_ld=unknown
   12103     ;;
   12104   esac
   12105 elif test "$with_gnu_ld" = yes; then
   12106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12107 $as_echo_n "checking for GNU ld... " >&6; }
   12108 else
   12109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12110 $as_echo_n "checking for non-GNU ld... " >&6; }
   12111 fi
   12112 if ${acl_cv_path_LD+:} false; then :
   12113   $as_echo_n "(cached) " >&6
   12114 else
   12115   if test -z "$LD"; then
   12116   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   12117   for ac_dir in $PATH; do
   12118     test -z "$ac_dir" && ac_dir=.
   12119     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12120       acl_cv_path_LD="$ac_dir/$ac_prog"
   12121       # Check to see if the program is GNU ld.  I'd rather use --version,
   12122       # but apparently some GNU ld's only accept -v.
   12123       # Break only if it was the GNU/non-GNU ld that we prefer.
   12124       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then
   12125 	test "$with_gnu_ld" != no && break
   12126       else
   12127 	test "$with_gnu_ld" != yes && break
   12128       fi
   12129     fi
   12130   done
   12131   IFS="$ac_save_ifs"
   12132 else
   12133   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   12134 fi
   12135 fi
   12136 
   12137 LD="$acl_cv_path_LD"
   12138 if test -n "$LD"; then
   12139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12140 $as_echo "$LD" >&6; }
   12141 else
   12142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12143 $as_echo "no" >&6; }
   12144 fi
   12145 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12147 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   12148 if ${acl_cv_prog_gnu_ld+:} false; then :
   12149   $as_echo_n "(cached) " >&6
   12150 else
   12151   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   12152 if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then
   12153   acl_cv_prog_gnu_ld=yes
   12154 else
   12155   acl_cv_prog_gnu_ld=no
   12156 fi
   12157 fi
   12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   12159 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   12160 with_gnu_ld=$acl_cv_prog_gnu_ld
   12161 
   12162 
   12163 
   12164                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   12165 $as_echo_n "checking for shared library run path origin... " >&6; }
   12166 if ${acl_cv_rpath+:} false; then :
   12167   $as_echo_n "(cached) " >&6
   12168 else
   12169 
   12170     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   12171     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   12172     . ./conftest.sh
   12173     rm -f ./conftest.sh
   12174     acl_cv_rpath=done
   12175 
   12176 fi
   12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   12178 $as_echo "$acl_cv_rpath" >&6; }
   12179   wl="$acl_cv_wl"
   12180   libext="$acl_cv_libext"
   12181   shlibext="$acl_cv_shlibext"
   12182   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   12183   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   12184   hardcode_direct="$acl_cv_hardcode_direct"
   12185   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   12186     # Check whether --enable-rpath was given.
   12187 if test "${enable_rpath+set}" = set; then :
   12188   enableval=$enable_rpath; :
   12189 else
   12190   enable_rpath=yes
   12191 fi
   12192 
   12193 
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200     use_additional=yes
   12201 
   12202   acl_save_prefix="$prefix"
   12203   prefix="$acl_final_prefix"
   12204   acl_save_exec_prefix="$exec_prefix"
   12205   exec_prefix="$acl_final_exec_prefix"
   12206 
   12207     eval additional_includedir=\"$includedir\"
   12208     eval additional_libdir=\"$libdir\"
   12209 
   12210   exec_prefix="$acl_save_exec_prefix"
   12211   prefix="$acl_save_prefix"
   12212 
   12213 
   12214 # Check whether --with-libiconv-prefix was given.
   12215 if test "${with_libiconv_prefix+set}" = set; then :
   12216   withval=$with_libiconv_prefix;
   12217     if test "X$withval" = "Xno"; then
   12218       use_additional=no
   12219     else
   12220       if test "X$withval" = "X"; then
   12221 
   12222   acl_save_prefix="$prefix"
   12223   prefix="$acl_final_prefix"
   12224   acl_save_exec_prefix="$exec_prefix"
   12225   exec_prefix="$acl_final_exec_prefix"
   12226 
   12227           eval additional_includedir=\"$includedir\"
   12228           eval additional_libdir=\"$libdir\"
   12229 
   12230   exec_prefix="$acl_save_exec_prefix"
   12231   prefix="$acl_save_prefix"
   12232 
   12233       else
   12234         additional_includedir="$withval/include"
   12235         additional_libdir="$withval/lib"
   12236       fi
   12237     fi
   12238 
   12239 fi
   12240 
   12241 
   12242 # Check whether --with-libiconv-type was given.
   12243 if test "${with_libiconv_type+set}" = set; then :
   12244   withval=$with_libiconv_type;  with_libiconv_type=$withval
   12245 else
   12246    with_libiconv_type=auto
   12247 fi
   12248 
   12249   lib_type=`eval echo \$with_libiconv_type`
   12250 
   12251       LIBICONV=
   12252   LTLIBICONV=
   12253   INCICONV=
   12254   rpathdirs=
   12255   ltrpathdirs=
   12256   names_already_handled=
   12257   names_next_round='iconv '
   12258   while test -n "$names_next_round"; do
   12259     names_this_round="$names_next_round"
   12260     names_next_round=
   12261     for name in $names_this_round; do
   12262       already_handled=
   12263       for n in $names_already_handled; do
   12264         if test "$n" = "$name"; then
   12265           already_handled=yes
   12266           break
   12267         fi
   12268       done
   12269       if test -z "$already_handled"; then
   12270         names_already_handled="$names_already_handled $name"
   12271                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   12272         eval value=\"\$HAVE_LIB$uppername\"
   12273         if test -n "$value"; then
   12274           if test "$value" = yes; then
   12275             eval value=\"\$LIB$uppername\"
   12276             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   12277             eval value=\"\$LTLIB$uppername\"
   12278             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   12279           else
   12280                                     :
   12281           fi
   12282         else
   12283                               found_dir=
   12284           found_la=
   12285           found_so=
   12286           found_a=
   12287           if test $use_additional = yes; then
   12288             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   12289               found_dir="$additional_libdir"
   12290               found_so="$additional_libdir/lib$name.$shlibext"
   12291               if test -f "$additional_libdir/lib$name.la"; then
   12292                 found_la="$additional_libdir/lib$name.la"
   12293               fi
   12294             elif test x$lib_type != xshared; then
   12295               if test -f "$additional_libdir/lib$name.$libext"; then
   12296                 found_dir="$additional_libdir"
   12297                 found_a="$additional_libdir/lib$name.$libext"
   12298                 if test -f "$additional_libdir/lib$name.la"; then
   12299                   found_la="$additional_libdir/lib$name.la"
   12300                 fi
   12301               fi
   12302             fi
   12303           fi
   12304           if test "X$found_dir" = "X"; then
   12305             for x in $LDFLAGS $LTLIBICONV; do
   12306 
   12307   acl_save_prefix="$prefix"
   12308   prefix="$acl_final_prefix"
   12309   acl_save_exec_prefix="$exec_prefix"
   12310   exec_prefix="$acl_final_exec_prefix"
   12311   eval x=\"$x\"
   12312   exec_prefix="$acl_save_exec_prefix"
   12313   prefix="$acl_save_prefix"
   12314 
   12315               case "$x" in
   12316                 -L*)
   12317                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   12318                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   12319                     found_dir="$dir"
   12320                     found_so="$dir/lib$name.$shlibext"
   12321                     if test -f "$dir/lib$name.la"; then
   12322                       found_la="$dir/lib$name.la"
   12323                     fi
   12324                   elif test x$lib_type != xshared; then
   12325                     if test -f "$dir/lib$name.$libext"; then
   12326                       found_dir="$dir"
   12327                       found_a="$dir/lib$name.$libext"
   12328                       if test -f "$dir/lib$name.la"; then
   12329                         found_la="$dir/lib$name.la"
   12330                       fi
   12331                     fi
   12332                   fi
   12333                   ;;
   12334               esac
   12335               if test "X$found_dir" != "X"; then
   12336                 break
   12337               fi
   12338             done
   12339           fi
   12340           if test "X$found_dir" != "X"; then
   12341                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   12342             if test "X$found_so" != "X"; then
   12343                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   12344                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12345               else
   12346                                                                                 haveit=
   12347                 for x in $ltrpathdirs; do
   12348                   if test "X$x" = "X$found_dir"; then
   12349                     haveit=yes
   12350                     break
   12351                   fi
   12352                 done
   12353                 if test -z "$haveit"; then
   12354                   ltrpathdirs="$ltrpathdirs $found_dir"
   12355                 fi
   12356                                 if test "$hardcode_direct" = yes; then
   12357                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12358                 else
   12359                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   12360                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12361                                                             haveit=
   12362                     for x in $rpathdirs; do
   12363                       if test "X$x" = "X$found_dir"; then
   12364                         haveit=yes
   12365                         break
   12366                       fi
   12367                     done
   12368                     if test -z "$haveit"; then
   12369                       rpathdirs="$rpathdirs $found_dir"
   12370                     fi
   12371                   else
   12372                                                                                 haveit=
   12373                     for x in $LDFLAGS $LIBICONV; do
   12374 
   12375   acl_save_prefix="$prefix"
   12376   prefix="$acl_final_prefix"
   12377   acl_save_exec_prefix="$exec_prefix"
   12378   exec_prefix="$acl_final_exec_prefix"
   12379   eval x=\"$x\"
   12380   exec_prefix="$acl_save_exec_prefix"
   12381   prefix="$acl_save_prefix"
   12382 
   12383                       if test "X$x" = "X-L$found_dir"; then
   12384                         haveit=yes
   12385                         break
   12386                       fi
   12387                     done
   12388                     if test -z "$haveit"; then
   12389                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   12390                     fi
   12391                     if test "$hardcode_minus_L" != no; then
   12392                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12393                     else
   12394                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   12395                     fi
   12396                   fi
   12397                 fi
   12398               fi
   12399             else
   12400               if test "X$found_a" != "X"; then
   12401                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   12402               else
   12403                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   12404               fi
   12405             fi
   12406                         additional_includedir=
   12407             case "$found_dir" in
   12408               */lib | */lib/)
   12409                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   12410                 additional_includedir="$basedir/include"
   12411                 ;;
   12412             esac
   12413             if test "X$additional_includedir" != "X"; then
   12414                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   12415                 haveit=
   12416                 if test "X$additional_includedir" = "X/usr/local/include"; then
   12417                   if test -n "$GCC"; then
   12418                     case $host_os in
   12419                       linux*) haveit=yes;;
   12420                     esac
   12421                   fi
   12422                 fi
   12423                 if test -z "$haveit"; then
   12424                   for x in $CPPFLAGS $INCICONV; do
   12425 
   12426   acl_save_prefix="$prefix"
   12427   prefix="$acl_final_prefix"
   12428   acl_save_exec_prefix="$exec_prefix"
   12429   exec_prefix="$acl_final_exec_prefix"
   12430   eval x=\"$x\"
   12431   exec_prefix="$acl_save_exec_prefix"
   12432   prefix="$acl_save_prefix"
   12433 
   12434                     if test "X$x" = "X-I$additional_includedir"; then
   12435                       haveit=yes
   12436                       break
   12437                     fi
   12438                   done
   12439                   if test -z "$haveit"; then
   12440                     if test -d "$additional_includedir"; then
   12441                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   12442                     fi
   12443                   fi
   12444                 fi
   12445               fi
   12446             fi
   12447                         if test -n "$found_la"; then
   12448                                                         save_libdir="$libdir"
   12449               case "$found_la" in
   12450                 */* | *\\*) . "$found_la" ;;
   12451                 *) . "./$found_la" ;;
   12452               esac
   12453               libdir="$save_libdir"
   12454                             for dep in $dependency_libs; do
   12455                 case "$dep" in
   12456                   -L*)
   12457                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   12458                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   12459                       haveit=
   12460                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   12461                         if test -n "$GCC"; then
   12462                           case $host_os in
   12463                             linux*) haveit=yes;;
   12464                           esac
   12465                         fi
   12466                       fi
   12467                       if test -z "$haveit"; then
   12468                         haveit=
   12469                         for x in $LDFLAGS $LIBICONV; do
   12470 
   12471   acl_save_prefix="$prefix"
   12472   prefix="$acl_final_prefix"
   12473   acl_save_exec_prefix="$exec_prefix"
   12474   exec_prefix="$acl_final_exec_prefix"
   12475   eval x=\"$x\"
   12476   exec_prefix="$acl_save_exec_prefix"
   12477   prefix="$acl_save_prefix"
   12478 
   12479                           if test "X$x" = "X-L$additional_libdir"; then
   12480                             haveit=yes
   12481                             break
   12482                           fi
   12483                         done
   12484                         if test -z "$haveit"; then
   12485                           if test -d "$additional_libdir"; then
   12486                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   12487                           fi
   12488                         fi
   12489                         haveit=
   12490                         for x in $LDFLAGS $LTLIBICONV; do
   12491 
   12492   acl_save_prefix="$prefix"
   12493   prefix="$acl_final_prefix"
   12494   acl_save_exec_prefix="$exec_prefix"
   12495   exec_prefix="$acl_final_exec_prefix"
   12496   eval x=\"$x\"
   12497   exec_prefix="$acl_save_exec_prefix"
   12498   prefix="$acl_save_prefix"
   12499 
   12500                           if test "X$x" = "X-L$additional_libdir"; then
   12501                             haveit=yes
   12502                             break
   12503                           fi
   12504                         done
   12505                         if test -z "$haveit"; then
   12506                           if test -d "$additional_libdir"; then
   12507                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   12508                           fi
   12509                         fi
   12510                       fi
   12511                     fi
   12512                     ;;
   12513                   -R*)
   12514                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   12515                     if test "$enable_rpath" != no; then
   12516                                                                   haveit=
   12517                       for x in $rpathdirs; do
   12518                         if test "X$x" = "X$dir"; then
   12519                           haveit=yes
   12520                           break
   12521                         fi
   12522                       done
   12523                       if test -z "$haveit"; then
   12524                         rpathdirs="$rpathdirs $dir"
   12525                       fi
   12526                                                                   haveit=
   12527                       for x in $ltrpathdirs; do
   12528                         if test "X$x" = "X$dir"; then
   12529                           haveit=yes
   12530                           break
   12531                         fi
   12532                       done
   12533                       if test -z "$haveit"; then
   12534                         ltrpathdirs="$ltrpathdirs $dir"
   12535                       fi
   12536                     fi
   12537                     ;;
   12538                   -l*)
   12539                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   12540                     ;;
   12541                   *.la)
   12542                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   12543                     ;;
   12544                   *)
   12545                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   12546                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   12547                     ;;
   12548                 esac
   12549               done
   12550             fi
   12551           else
   12552                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   12553               LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   12554               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   12555             else
   12556               LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
   12557               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
   12558             fi
   12559           fi
   12560         fi
   12561       fi
   12562     done
   12563   done
   12564   if test "X$rpathdirs" != "X"; then
   12565     if test -n "$hardcode_libdir_separator"; then
   12566                         alldirs=
   12567       for found_dir in $rpathdirs; do
   12568         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   12569       done
   12570             acl_save_libdir="$libdir"
   12571       libdir="$alldirs"
   12572       eval flag=\"$hardcode_libdir_flag_spec\"
   12573       libdir="$acl_save_libdir"
   12574       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   12575     else
   12576             for found_dir in $rpathdirs; do
   12577         acl_save_libdir="$libdir"
   12578         libdir="$found_dir"
   12579         eval flag=\"$hardcode_libdir_flag_spec\"
   12580         libdir="$acl_save_libdir"
   12581         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   12582       done
   12583     fi
   12584   fi
   12585   if test "X$ltrpathdirs" != "X"; then
   12586             for found_dir in $ltrpathdirs; do
   12587       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   12588     done
   12589   fi
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 if test -f ../gettext/uninstalled-config.sh; then
   12596   relative_builddir='$(top_builddir)/../gettext'
   12597   .  ../gettext/uninstalled-config.sh
   12598 else
   12599   # The sister gettext directory doesn't exist and won't collect information on
   12600   # using gettext for us.  Call a bundled AM_GNU_GETTEXT.
   12601 
   12602 
   12603 
   12604 
   12605 
   12606 
   12607 
   12608 
   12609 
   12610 
   12611 
   12612 
   12613 
   12614 
   12615 
   12616 
   12617 
   12618 
   12619 
   12620 
   12621 
   12622 
   12623 
   12624     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   12625 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
   12626 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
   12627   $as_echo_n "(cached) " >&6
   12628 else
   12629   gt_save_LIBS="$LIBS"
   12630      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   12631      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12632 /* end confdefs.h.  */
   12633 #include <CoreFoundation/CFPreferences.h>
   12634 int
   12635 main ()
   12636 {
   12637 CFPreferencesCopyAppValue(NULL, NULL)
   12638   ;
   12639   return 0;
   12640 }
   12641 _ACEOF
   12642 if ac_fn_c_try_link "$LINENO"; then :
   12643   gt_cv_func_CFPreferencesCopyAppValue=yes
   12644 else
   12645   gt_cv_func_CFPreferencesCopyAppValue=no
   12646 fi
   12647 rm -f core conftest.err conftest.$ac_objext \
   12648     conftest$ac_exeext conftest.$ac_ext
   12649      LIBS="$gt_save_LIBS"
   12650 fi
   12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   12652 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   12653   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   12654 
   12655 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   12656 
   12657   fi
   12658                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
   12659 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
   12660 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then :
   12661   $as_echo_n "(cached) " >&6
   12662 else
   12663   gt_save_LIBS="$LIBS"
   12664      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   12665      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12666 /* end confdefs.h.  */
   12667 #include <CoreFoundation/CFLocale.h>
   12668 int
   12669 main ()
   12670 {
   12671 CFLocaleCopyPreferredLanguages();
   12672   ;
   12673   return 0;
   12674 }
   12675 _ACEOF
   12676 if ac_fn_c_try_link "$LINENO"; then :
   12677   gt_cv_func_CFLocaleCopyPreferredLanguages=yes
   12678 else
   12679   gt_cv_func_CFLocaleCopyPreferredLanguages=no
   12680 fi
   12681 rm -f core conftest.err conftest.$ac_objext \
   12682     conftest$ac_exeext conftest.$ac_ext
   12683      LIBS="$gt_save_LIBS"
   12684 fi
   12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
   12686 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
   12687   if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   12688 
   12689 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
   12690 
   12691   fi
   12692   INTL_MACOSX_LIBS=
   12693   if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
   12694      || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   12695                     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
   12696   fi
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703   LIBINTL=
   12704   LTLIBINTL=
   12705   POSUB=
   12706 
   12707     case " $gt_needs " in
   12708     *" need-formatstring-macros "*) gt_api_version=3 ;;
   12709     *" need-ngettext "*) gt_api_version=2 ;;
   12710     *) gt_api_version=1 ;;
   12711   esac
   12712   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
   12713   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
   12714 
   12715     if test "$USE_NLS" = "yes"; then
   12716     gt_use_preinstalled_gnugettext=no
   12717 
   12718 
   12719         if test $gt_api_version -ge 3; then
   12720           gt_revision_test_code='
   12721 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   12722 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
   12723 #endif
   12724 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
   12725 '
   12726         else
   12727           gt_revision_test_code=
   12728         fi
   12729         if test $gt_api_version -ge 2; then
   12730           gt_expression_test_code=' + * ngettext ("", "", 0)'
   12731         else
   12732           gt_expression_test_code=
   12733         fi
   12734 
   12735         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   12736 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   12737 if eval \${$gt_func_gnugettext_libc+:} false; then :
   12738   $as_echo_n "(cached) " >&6
   12739 else
   12740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12741 /* end confdefs.h.  */
   12742 
   12743 #include <libintl.h>
   12744 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   12745 extern int _nl_msg_cat_cntr;
   12746 extern int *_nl_domain_bindings;
   12747 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
   12748 #else
   12749 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   12750 #endif
   12751 $gt_revision_test_code
   12752 
   12753 int
   12754 main ()
   12755 {
   12756 
   12757 bindtextdomain ("", "");
   12758 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   12759 
   12760   ;
   12761   return 0;
   12762 }
   12763 _ACEOF
   12764 if ac_fn_c_try_link "$LINENO"; then :
   12765   eval "$gt_func_gnugettext_libc=yes"
   12766 else
   12767   eval "$gt_func_gnugettext_libc=no"
   12768 fi
   12769 rm -f core conftest.err conftest.$ac_objext \
   12770     conftest$ac_exeext conftest.$ac_ext
   12771 fi
   12772 eval ac_res=\$$gt_func_gnugettext_libc
   12773 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12774 $as_echo "$ac_res" >&6; }
   12775 
   12776         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
   12777 
   12778 
   12779 
   12780 
   12781 
   12782           am_save_CPPFLAGS="$CPPFLAGS"
   12783 
   12784   for element in $INCICONV; do
   12785     haveit=
   12786     for x in $CPPFLAGS; do
   12787 
   12788   acl_save_prefix="$prefix"
   12789   prefix="$acl_final_prefix"
   12790   acl_save_exec_prefix="$exec_prefix"
   12791   exec_prefix="$acl_final_exec_prefix"
   12792   eval x=\"$x\"
   12793   exec_prefix="$acl_save_exec_prefix"
   12794   prefix="$acl_save_prefix"
   12795 
   12796       if test "X$x" = "X$element"; then
   12797         haveit=yes
   12798         break
   12799       fi
   12800     done
   12801     if test -z "$haveit"; then
   12802       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   12803     fi
   12804   done
   12805 
   12806 
   12807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   12808 $as_echo_n "checking for iconv... " >&6; }
   12809 if ${am_cv_func_iconv+:} false; then :
   12810   $as_echo_n "(cached) " >&6
   12811 else
   12812 
   12813     am_cv_func_iconv="no, consider installing GNU libiconv"
   12814     am_cv_lib_iconv=no
   12815     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12816 /* end confdefs.h.  */
   12817 
   12818 #include <stdlib.h>
   12819 #include <iconv.h>
   12820 
   12821 int
   12822 main ()
   12823 {
   12824 iconv_t cd = iconv_open("","");
   12825            iconv(cd,NULL,NULL,NULL,NULL);
   12826            iconv_close(cd);
   12827   ;
   12828   return 0;
   12829 }
   12830 _ACEOF
   12831 if ac_fn_c_try_link "$LINENO"; then :
   12832   am_cv_func_iconv=yes
   12833 fi
   12834 rm -f core conftest.err conftest.$ac_objext \
   12835     conftest$ac_exeext conftest.$ac_ext
   12836     if test "$am_cv_func_iconv" != yes; then
   12837       am_save_LIBS="$LIBS"
   12838       LIBS="$LIBS $LIBICONV"
   12839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12840 /* end confdefs.h.  */
   12841 
   12842 #include <stdlib.h>
   12843 #include <iconv.h>
   12844 
   12845 int
   12846 main ()
   12847 {
   12848 iconv_t cd = iconv_open("","");
   12849              iconv(cd,NULL,NULL,NULL,NULL);
   12850              iconv_close(cd);
   12851   ;
   12852   return 0;
   12853 }
   12854 _ACEOF
   12855 if ac_fn_c_try_link "$LINENO"; then :
   12856   am_cv_lib_iconv=yes
   12857         am_cv_func_iconv=yes
   12858 fi
   12859 rm -f core conftest.err conftest.$ac_objext \
   12860     conftest$ac_exeext conftest.$ac_ext
   12861       LIBS="$am_save_LIBS"
   12862     fi
   12863 
   12864 fi
   12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   12866 $as_echo "$am_cv_func_iconv" >&6; }
   12867   if test "$am_cv_func_iconv" = yes; then
   12868     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   12869 $as_echo_n "checking for working iconv... " >&6; }
   12870 if ${am_cv_func_iconv_works+:} false; then :
   12871   $as_echo_n "(cached) " >&6
   12872 else
   12873 
   12874                   am_save_LIBS="$LIBS"
   12875       if test $am_cv_lib_iconv = yes; then
   12876         LIBS="$LIBS $LIBICONV"
   12877       fi
   12878       am_cv_func_iconv_works=no
   12879       for ac_iconv_const in '' 'const'; do
   12880         if test "$cross_compiling" = yes; then :
   12881   case "$host_os" in
   12882              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   12883              *)            am_cv_func_iconv_works="guessing yes" ;;
   12884            esac
   12885 else
   12886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12887 /* end confdefs.h.  */
   12888 
   12889 #include <iconv.h>
   12890 #include <string.h>
   12891 
   12892 #ifndef ICONV_CONST
   12893 # define ICONV_CONST $ac_iconv_const
   12894 #endif
   12895 
   12896 int
   12897 main ()
   12898 {
   12899 int result = 0;
   12900   /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
   12901      successful returns.  This is even documented in
   12902      <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
   12903   {
   12904     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   12905     if (cd_utf8_to_88591 != (iconv_t)(-1))
   12906       {
   12907         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   12908         char buf[10];
   12909         ICONV_CONST char *inptr = input;
   12910         size_t inbytesleft = strlen (input);
   12911         char *outptr = buf;
   12912         size_t outbytesleft = sizeof (buf);
   12913         size_t res = iconv (cd_utf8_to_88591,
   12914                             &inptr, &inbytesleft,
   12915                             &outptr, &outbytesleft);
   12916         if (res == 0)
   12917           result |= 1;
   12918         iconv_close (cd_utf8_to_88591);
   12919       }
   12920   }
   12921   /* Test against Solaris 10 bug: Failures are not distinguishable from
   12922      successful returns.  */
   12923   {
   12924     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   12925     if (cd_ascii_to_88591 != (iconv_t)(-1))
   12926       {
   12927         static ICONV_CONST char input[] = "\263";
   12928         char buf[10];
   12929         ICONV_CONST char *inptr = input;
   12930         size_t inbytesleft = strlen (input);
   12931         char *outptr = buf;
   12932         size_t outbytesleft = sizeof (buf);
   12933         size_t res = iconv (cd_ascii_to_88591,
   12934                             &inptr, &inbytesleft,
   12935                             &outptr, &outbytesleft);
   12936         if (res == 0)
   12937           result |= 2;
   12938         iconv_close (cd_ascii_to_88591);
   12939       }
   12940   }
   12941   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   12942   {
   12943     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   12944     if (cd_88591_to_utf8 != (iconv_t)(-1))
   12945       {
   12946         static ICONV_CONST char input[] = "\304";
   12947         static char buf[2] = { (char)0xDE, (char)0xAD };
   12948         ICONV_CONST char *inptr = input;
   12949         size_t inbytesleft = 1;
   12950         char *outptr = buf;
   12951         size_t outbytesleft = 1;
   12952         size_t res = iconv (cd_88591_to_utf8,
   12953                             &inptr, &inbytesleft,
   12954                             &outptr, &outbytesleft);
   12955         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   12956           result |= 4;
   12957         iconv_close (cd_88591_to_utf8);
   12958       }
   12959   }
   12960 #if 0 /* This bug could be worked around by the caller.  */
   12961   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   12962   {
   12963     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   12964     if (cd_88591_to_utf8 != (iconv_t)(-1))
   12965       {
   12966         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   12967         char buf[50];
   12968         ICONV_CONST char *inptr = input;
   12969         size_t inbytesleft = strlen (input);
   12970         char *outptr = buf;
   12971         size_t outbytesleft = sizeof (buf);
   12972         size_t res = iconv (cd_88591_to_utf8,
   12973                             &inptr, &inbytesleft,
   12974                             &outptr, &outbytesleft);
   12975         if ((int)res > 0)
   12976           result |= 8;
   12977         iconv_close (cd_88591_to_utf8);
   12978       }
   12979   }
   12980 #endif
   12981   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   12982      provided.  */
   12983   {
   12984     /* Try standardized names.  */
   12985     iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
   12986     /* Try IRIX, OSF/1 names.  */
   12987     iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
   12988     /* Try AIX names.  */
   12989     iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
   12990     /* Try HP-UX names.  */
   12991     iconv_t cd4 = iconv_open ("utf8", "eucJP");
   12992     if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
   12993         && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
   12994       result |= 16;
   12995     if (cd1 != (iconv_t)(-1))
   12996       iconv_close (cd1);
   12997     if (cd2 != (iconv_t)(-1))
   12998       iconv_close (cd2);
   12999     if (cd3 != (iconv_t)(-1))
   13000       iconv_close (cd3);
   13001     if (cd4 != (iconv_t)(-1))
   13002       iconv_close (cd4);
   13003   }
   13004   return result;
   13005 
   13006   ;
   13007   return 0;
   13008 }
   13009 _ACEOF
   13010 if ac_fn_c_try_run "$LINENO"; then :
   13011   am_cv_func_iconv_works=yes
   13012 fi
   13013 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13014   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13015 fi
   13016 
   13017         test "$am_cv_func_iconv_works" = no || break
   13018       done
   13019       LIBS="$am_save_LIBS"
   13020 
   13021 fi
   13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   13023 $as_echo "$am_cv_func_iconv_works" >&6; }
   13024     case "$am_cv_func_iconv_works" in
   13025       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   13026       *)   am_func_iconv=yes ;;
   13027     esac
   13028   else
   13029     am_func_iconv=no am_cv_lib_iconv=no
   13030   fi
   13031   if test "$am_func_iconv" = yes; then
   13032 
   13033 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   13034 
   13035   fi
   13036   if test "$am_cv_lib_iconv" = yes; then
   13037     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   13038 $as_echo_n "checking how to link with libiconv... " >&6; }
   13039     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   13040 $as_echo "$LIBICONV" >&6; }
   13041   else
   13042             CPPFLAGS="$am_save_CPPFLAGS"
   13043     LIBICONV=
   13044     LTLIBICONV=
   13045   fi
   13046 
   13047 
   13048 
   13049 
   13050 
   13051 
   13052     use_additional=yes
   13053 
   13054   acl_save_prefix="$prefix"
   13055   prefix="$acl_final_prefix"
   13056   acl_save_exec_prefix="$exec_prefix"
   13057   exec_prefix="$acl_final_exec_prefix"
   13058 
   13059     eval additional_includedir=\"$includedir\"
   13060     eval additional_libdir=\"$libdir\"
   13061 
   13062   exec_prefix="$acl_save_exec_prefix"
   13063   prefix="$acl_save_prefix"
   13064 
   13065 
   13066 # Check whether --with-libintl-prefix was given.
   13067 if test "${with_libintl_prefix+set}" = set; then :
   13068   withval=$with_libintl_prefix;
   13069     if test "X$withval" = "Xno"; then
   13070       use_additional=no
   13071     else
   13072       if test "X$withval" = "X"; then
   13073 
   13074   acl_save_prefix="$prefix"
   13075   prefix="$acl_final_prefix"
   13076   acl_save_exec_prefix="$exec_prefix"
   13077   exec_prefix="$acl_final_exec_prefix"
   13078 
   13079           eval additional_includedir=\"$includedir\"
   13080           eval additional_libdir=\"$libdir\"
   13081 
   13082   exec_prefix="$acl_save_exec_prefix"
   13083   prefix="$acl_save_prefix"
   13084 
   13085       else
   13086         additional_includedir="$withval/include"
   13087         additional_libdir="$withval/lib"
   13088       fi
   13089     fi
   13090 
   13091 fi
   13092 
   13093 
   13094 # Check whether --with-libintl-type was given.
   13095 if test "${with_libintl_type+set}" = set; then :
   13096   withval=$with_libintl_type;  with_libintl_type=$withval
   13097 else
   13098    with_libintl_type=auto
   13099 fi
   13100 
   13101   lib_type=`eval echo \$with_libintl_type`
   13102 
   13103       LIBINTL=
   13104   LTLIBINTL=
   13105   INCINTL=
   13106   rpathdirs=
   13107   ltrpathdirs=
   13108   names_already_handled=
   13109   names_next_round='intl '
   13110   while test -n "$names_next_round"; do
   13111     names_this_round="$names_next_round"
   13112     names_next_round=
   13113     for name in $names_this_round; do
   13114       already_handled=
   13115       for n in $names_already_handled; do
   13116         if test "$n" = "$name"; then
   13117           already_handled=yes
   13118           break
   13119         fi
   13120       done
   13121       if test -z "$already_handled"; then
   13122         names_already_handled="$names_already_handled $name"
   13123                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   13124         eval value=\"\$HAVE_LIB$uppername\"
   13125         if test -n "$value"; then
   13126           if test "$value" = yes; then
   13127             eval value=\"\$LIB$uppername\"
   13128             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   13129             eval value=\"\$LTLIB$uppername\"
   13130             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   13131           else
   13132                                     :
   13133           fi
   13134         else
   13135                               found_dir=
   13136           found_la=
   13137           found_so=
   13138           found_a=
   13139           if test $use_additional = yes; then
   13140             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   13141               found_dir="$additional_libdir"
   13142               found_so="$additional_libdir/lib$name.$shlibext"
   13143               if test -f "$additional_libdir/lib$name.la"; then
   13144                 found_la="$additional_libdir/lib$name.la"
   13145               fi
   13146             elif test x$lib_type != xshared; then
   13147               if test -f "$additional_libdir/lib$name.$libext"; then
   13148                 found_dir="$additional_libdir"
   13149                 found_a="$additional_libdir/lib$name.$libext"
   13150                 if test -f "$additional_libdir/lib$name.la"; then
   13151                   found_la="$additional_libdir/lib$name.la"
   13152                 fi
   13153               fi
   13154             fi
   13155           fi
   13156           if test "X$found_dir" = "X"; then
   13157             for x in $LDFLAGS $LTLIBINTL; do
   13158 
   13159   acl_save_prefix="$prefix"
   13160   prefix="$acl_final_prefix"
   13161   acl_save_exec_prefix="$exec_prefix"
   13162   exec_prefix="$acl_final_exec_prefix"
   13163   eval x=\"$x\"
   13164   exec_prefix="$acl_save_exec_prefix"
   13165   prefix="$acl_save_prefix"
   13166 
   13167               case "$x" in
   13168                 -L*)
   13169                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   13170                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   13171                     found_dir="$dir"
   13172                     found_so="$dir/lib$name.$shlibext"
   13173                     if test -f "$dir/lib$name.la"; then
   13174                       found_la="$dir/lib$name.la"
   13175                     fi
   13176                   elif test x$lib_type != xshared; then
   13177                     if test -f "$dir/lib$name.$libext"; then
   13178                       found_dir="$dir"
   13179                       found_a="$dir/lib$name.$libext"
   13180                       if test -f "$dir/lib$name.la"; then
   13181                         found_la="$dir/lib$name.la"
   13182                       fi
   13183                     fi
   13184                   fi
   13185                   ;;
   13186               esac
   13187               if test "X$found_dir" != "X"; then
   13188                 break
   13189               fi
   13190             done
   13191           fi
   13192           if test "X$found_dir" != "X"; then
   13193                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   13194             if test "X$found_so" != "X"; then
   13195                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   13196                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   13197               else
   13198                                                                                 haveit=
   13199                 for x in $ltrpathdirs; do
   13200                   if test "X$x" = "X$found_dir"; then
   13201                     haveit=yes
   13202                     break
   13203                   fi
   13204                 done
   13205                 if test -z "$haveit"; then
   13206                   ltrpathdirs="$ltrpathdirs $found_dir"
   13207                 fi
   13208                                 if test "$hardcode_direct" = yes; then
   13209                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   13210                 else
   13211                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   13212                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   13213                                                             haveit=
   13214                     for x in $rpathdirs; do
   13215                       if test "X$x" = "X$found_dir"; then
   13216                         haveit=yes
   13217                         break
   13218                       fi
   13219                     done
   13220                     if test -z "$haveit"; then
   13221                       rpathdirs="$rpathdirs $found_dir"
   13222                     fi
   13223                   else
   13224                                                                                 haveit=
   13225                     for x in $LDFLAGS $LIBINTL; do
   13226 
   13227   acl_save_prefix="$prefix"
   13228   prefix="$acl_final_prefix"
   13229   acl_save_exec_prefix="$exec_prefix"
   13230   exec_prefix="$acl_final_exec_prefix"
   13231   eval x=\"$x\"
   13232   exec_prefix="$acl_save_exec_prefix"
   13233   prefix="$acl_save_prefix"
   13234 
   13235                       if test "X$x" = "X-L$found_dir"; then
   13236                         haveit=yes
   13237                         break
   13238                       fi
   13239                     done
   13240                     if test -z "$haveit"; then
   13241                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   13242                     fi
   13243                     if test "$hardcode_minus_L" != no; then
   13244                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   13245                     else
   13246                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   13247                     fi
   13248                   fi
   13249                 fi
   13250               fi
   13251             else
   13252               if test "X$found_a" != "X"; then
   13253                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   13254               else
   13255                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   13256               fi
   13257             fi
   13258                         additional_includedir=
   13259             case "$found_dir" in
   13260               */lib | */lib/)
   13261                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   13262                 additional_includedir="$basedir/include"
   13263                 ;;
   13264             esac
   13265             if test "X$additional_includedir" != "X"; then
   13266                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   13267                 haveit=
   13268                 if test "X$additional_includedir" = "X/usr/local/include"; then
   13269                   if test -n "$GCC"; then
   13270                     case $host_os in
   13271                       linux*) haveit=yes;;
   13272                     esac
   13273                   fi
   13274                 fi
   13275                 if test -z "$haveit"; then
   13276                   for x in $CPPFLAGS $INCINTL; do
   13277 
   13278   acl_save_prefix="$prefix"
   13279   prefix="$acl_final_prefix"
   13280   acl_save_exec_prefix="$exec_prefix"
   13281   exec_prefix="$acl_final_exec_prefix"
   13282   eval x=\"$x\"
   13283   exec_prefix="$acl_save_exec_prefix"
   13284   prefix="$acl_save_prefix"
   13285 
   13286                     if test "X$x" = "X-I$additional_includedir"; then
   13287                       haveit=yes
   13288                       break
   13289                     fi
   13290                   done
   13291                   if test -z "$haveit"; then
   13292                     if test -d "$additional_includedir"; then
   13293                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   13294                     fi
   13295                   fi
   13296                 fi
   13297               fi
   13298             fi
   13299                         if test -n "$found_la"; then
   13300                                                         save_libdir="$libdir"
   13301               case "$found_la" in
   13302                 */* | *\\*) . "$found_la" ;;
   13303                 *) . "./$found_la" ;;
   13304               esac
   13305               libdir="$save_libdir"
   13306                             for dep in $dependency_libs; do
   13307                 case "$dep" in
   13308                   -L*)
   13309                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   13310                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   13311                       haveit=
   13312                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   13313                         if test -n "$GCC"; then
   13314                           case $host_os in
   13315                             linux*) haveit=yes;;
   13316                           esac
   13317                         fi
   13318                       fi
   13319                       if test -z "$haveit"; then
   13320                         haveit=
   13321                         for x in $LDFLAGS $LIBINTL; do
   13322 
   13323   acl_save_prefix="$prefix"
   13324   prefix="$acl_final_prefix"
   13325   acl_save_exec_prefix="$exec_prefix"
   13326   exec_prefix="$acl_final_exec_prefix"
   13327   eval x=\"$x\"
   13328   exec_prefix="$acl_save_exec_prefix"
   13329   prefix="$acl_save_prefix"
   13330 
   13331                           if test "X$x" = "X-L$additional_libdir"; then
   13332                             haveit=yes
   13333                             break
   13334                           fi
   13335                         done
   13336                         if test -z "$haveit"; then
   13337                           if test -d "$additional_libdir"; then
   13338                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   13339                           fi
   13340                         fi
   13341                         haveit=
   13342                         for x in $LDFLAGS $LTLIBINTL; do
   13343 
   13344   acl_save_prefix="$prefix"
   13345   prefix="$acl_final_prefix"
   13346   acl_save_exec_prefix="$exec_prefix"
   13347   exec_prefix="$acl_final_exec_prefix"
   13348   eval x=\"$x\"
   13349   exec_prefix="$acl_save_exec_prefix"
   13350   prefix="$acl_save_prefix"
   13351 
   13352                           if test "X$x" = "X-L$additional_libdir"; then
   13353                             haveit=yes
   13354                             break
   13355                           fi
   13356                         done
   13357                         if test -z "$haveit"; then
   13358                           if test -d "$additional_libdir"; then
   13359                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   13360                           fi
   13361                         fi
   13362                       fi
   13363                     fi
   13364                     ;;
   13365                   -R*)
   13366                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   13367                     if test "$enable_rpath" != no; then
   13368                                                                   haveit=
   13369                       for x in $rpathdirs; do
   13370                         if test "X$x" = "X$dir"; then
   13371                           haveit=yes
   13372                           break
   13373                         fi
   13374                       done
   13375                       if test -z "$haveit"; then
   13376                         rpathdirs="$rpathdirs $dir"
   13377                       fi
   13378                                                                   haveit=
   13379                       for x in $ltrpathdirs; do
   13380                         if test "X$x" = "X$dir"; then
   13381                           haveit=yes
   13382                           break
   13383                         fi
   13384                       done
   13385                       if test -z "$haveit"; then
   13386                         ltrpathdirs="$ltrpathdirs $dir"
   13387                       fi
   13388                     fi
   13389                     ;;
   13390                   -l*)
   13391                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   13392                     ;;
   13393                   *.la)
   13394                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   13395                     ;;
   13396                   *)
   13397                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   13398                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   13399                     ;;
   13400                 esac
   13401               done
   13402             fi
   13403           else
   13404                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   13405               LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   13406               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   13407             else
   13408               LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
   13409               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
   13410             fi
   13411           fi
   13412         fi
   13413       fi
   13414     done
   13415   done
   13416   if test "X$rpathdirs" != "X"; then
   13417     if test -n "$hardcode_libdir_separator"; then
   13418                         alldirs=
   13419       for found_dir in $rpathdirs; do
   13420         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   13421       done
   13422             acl_save_libdir="$libdir"
   13423       libdir="$alldirs"
   13424       eval flag=\"$hardcode_libdir_flag_spec\"
   13425       libdir="$acl_save_libdir"
   13426       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   13427     else
   13428             for found_dir in $rpathdirs; do
   13429         acl_save_libdir="$libdir"
   13430         libdir="$found_dir"
   13431         eval flag=\"$hardcode_libdir_flag_spec\"
   13432         libdir="$acl_save_libdir"
   13433         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   13434       done
   13435     fi
   13436   fi
   13437   if test "X$ltrpathdirs" != "X"; then
   13438             for found_dir in $ltrpathdirs; do
   13439       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   13440     done
   13441   fi
   13442 
   13443           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   13444 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   13445 if eval \${$gt_func_gnugettext_libintl+:} false; then :
   13446   $as_echo_n "(cached) " >&6
   13447 else
   13448   gt_save_CPPFLAGS="$CPPFLAGS"
   13449             CPPFLAGS="$CPPFLAGS $INCINTL"
   13450             gt_save_LIBS="$LIBS"
   13451             LIBS="$LIBS $LIBINTL"
   13452                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13453 /* end confdefs.h.  */
   13454 
   13455 #include <libintl.h>
   13456 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   13457 extern int _nl_msg_cat_cntr;
   13458 extern
   13459 #ifdef __cplusplus
   13460 "C"
   13461 #endif
   13462 const char *_nl_expand_alias (const char *);
   13463 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   13464 #else
   13465 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   13466 #endif
   13467 $gt_revision_test_code
   13468 
   13469 int
   13470 main ()
   13471 {
   13472 
   13473 bindtextdomain ("", "");
   13474 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   13475 
   13476   ;
   13477   return 0;
   13478 }
   13479 _ACEOF
   13480 if ac_fn_c_try_link "$LINENO"; then :
   13481   eval "$gt_func_gnugettext_libintl=yes"
   13482 else
   13483   eval "$gt_func_gnugettext_libintl=no"
   13484 fi
   13485 rm -f core conftest.err conftest.$ac_objext \
   13486     conftest$ac_exeext conftest.$ac_ext
   13487                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
   13488               LIBS="$LIBS $LIBICONV"
   13489               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13490 /* end confdefs.h.  */
   13491 
   13492 #include <libintl.h>
   13493 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   13494 extern int _nl_msg_cat_cntr;
   13495 extern
   13496 #ifdef __cplusplus
   13497 "C"
   13498 #endif
   13499 const char *_nl_expand_alias (const char *);
   13500 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   13501 #else
   13502 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   13503 #endif
   13504 $gt_revision_test_code
   13505 
   13506 int
   13507 main ()
   13508 {
   13509 
   13510 bindtextdomain ("", "");
   13511 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   13512 
   13513   ;
   13514   return 0;
   13515 }
   13516 _ACEOF
   13517 if ac_fn_c_try_link "$LINENO"; then :
   13518   LIBINTL="$LIBINTL $LIBICONV"
   13519                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   13520                  eval "$gt_func_gnugettext_libintl=yes"
   13521 
   13522 fi
   13523 rm -f core conftest.err conftest.$ac_objext \
   13524     conftest$ac_exeext conftest.$ac_ext
   13525             fi
   13526             CPPFLAGS="$gt_save_CPPFLAGS"
   13527             LIBS="$gt_save_LIBS"
   13528 fi
   13529 eval ac_res=\$$gt_func_gnugettext_libintl
   13530 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13531 $as_echo "$ac_res" >&6; }
   13532         fi
   13533 
   13534                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
   13535            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
   13536                 && test "$PACKAGE" != gettext-runtime \
   13537                 && test "$PACKAGE" != gettext-tools; }; then
   13538           gt_use_preinstalled_gnugettext=yes
   13539         else
   13540                     LIBINTL=
   13541           LTLIBINTL=
   13542           INCINTL=
   13543         fi
   13544 
   13545 
   13546 
   13547     if test -n "$INTL_MACOSX_LIBS"; then
   13548       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   13549          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   13550                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   13551         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   13552       fi
   13553     fi
   13554 
   13555     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   13556        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   13557 
   13558 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   13559 
   13560     else
   13561       USE_NLS=no
   13562     fi
   13563   fi
   13564 
   13565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   13566 $as_echo_n "checking whether to use NLS... " >&6; }
   13567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   13568 $as_echo "$USE_NLS" >&6; }
   13569   if test "$USE_NLS" = "yes"; then
   13570     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   13571 $as_echo_n "checking where the gettext function comes from... " >&6; }
   13572     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   13573       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   13574         gt_source="external libintl"
   13575       else
   13576         gt_source="libc"
   13577       fi
   13578     else
   13579       gt_source="included intl directory"
   13580     fi
   13581     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   13582 $as_echo "$gt_source" >&6; }
   13583   fi
   13584 
   13585   if test "$USE_NLS" = "yes"; then
   13586 
   13587     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   13588       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   13589         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   13590 $as_echo_n "checking how to link with libintl... " >&6; }
   13591         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   13592 $as_echo "$LIBINTL" >&6; }
   13593 
   13594   for element in $INCINTL; do
   13595     haveit=
   13596     for x in $CPPFLAGS; do
   13597 
   13598   acl_save_prefix="$prefix"
   13599   prefix="$acl_final_prefix"
   13600   acl_save_exec_prefix="$exec_prefix"
   13601   exec_prefix="$acl_final_exec_prefix"
   13602   eval x=\"$x\"
   13603   exec_prefix="$acl_save_exec_prefix"
   13604   prefix="$acl_save_prefix"
   13605 
   13606       if test "X$x" = "X$element"; then
   13607         haveit=yes
   13608         break
   13609       fi
   13610     done
   13611     if test -z "$haveit"; then
   13612       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   13613     fi
   13614   done
   13615 
   13616       fi
   13617 
   13618 
   13619 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   13620 
   13621 
   13622 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   13623 
   13624     fi
   13625 
   13626         POSUB=po
   13627   fi
   13628 
   13629 
   13630 
   13631     INTLLIBS="$LIBINTL"
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 fi
   13639 
   13640 
   13641 
   13642 
   13643 
   13644 
   13645 
   13646 
   13647 
   13648 
   13649 
   13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   13651 $as_echo_n "checking whether NLS is requested... " >&6; }
   13652 if test x"$USE_NLS" != xyes; then
   13653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13654 $as_echo "no" >&6; }
   13655 else
   13656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13657 $as_echo "yes" >&6; }
   13658 
   13659 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   13660 
   13661 
   13662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
   13663 $as_echo_n "checking for catalogs to be installed... " >&6; }
   13664   # Look for .po and .gmo files in the source directory.
   13665   CATALOGS=
   13666   XLINGUAS=
   13667   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
   13668     # If there aren't any .gmo files the shell will give us the
   13669     # literal string "../path/to/srcdir/po/*.gmo" which has to be
   13670     # weeded out.
   13671     case "$cat" in *\**)
   13672       continue;;
   13673     esac
   13674     # The quadruple backslash is collapsed to a double backslash
   13675     # by the backticks, then collapsed again by the double quotes,
   13676     # leaving us with one backslash in the sed expression (right
   13677     # before the dot that mustn't act as a wildcard).
   13678     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
   13679     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
   13680     # The user is allowed to set LINGUAS to a list of languages to
   13681     # install catalogs for.  If it's empty that means "all of them."
   13682     if test "x$LINGUAS" = x; then
   13683       CATALOGS="$CATALOGS $cat"
   13684       XLINGUAS="$XLINGUAS $lang"
   13685     else
   13686       case "$LINGUAS" in *$lang*)
   13687         CATALOGS="$CATALOGS $cat"
   13688         XLINGUAS="$XLINGUAS $lang"
   13689         ;;
   13690       esac
   13691     fi
   13692   done
   13693   LINGUAS="$XLINGUAS"
   13694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
   13695 $as_echo "$LINGUAS" >&6; }
   13696 
   13697 
   13698     DATADIRNAME=share
   13699 
   13700   INSTOBJEXT=.mo
   13701 
   13702   GENCAT=gencat
   13703 
   13704   CATOBJEXT=.gmo
   13705 
   13706 fi
   13707 
   13708 
   13709 
   13710 
   13711 # Prepare PATH_SEPARATOR.
   13712 # The user is always right.
   13713 if test "${PATH_SEPARATOR+set}" != set; then
   13714   echo "#! /bin/sh" >conf$$.sh
   13715   echo  "exit 0"   >>conf$$.sh
   13716   chmod +x conf$$.sh
   13717   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13718     PATH_SEPARATOR=';'
   13719   else
   13720     PATH_SEPARATOR=:
   13721   fi
   13722   rm -f conf$$.sh
   13723 fi
   13724 
   13725 # Find out how to test for executable files. Don't use a zero-byte file,
   13726 # as systems may use methods other than mode bits to determine executability.
   13727 cat >conf$$.file <<_ASEOF
   13728 #! /bin/sh
   13729 exit 0
   13730 _ASEOF
   13731 chmod +x conf$$.file
   13732 if test -x conf$$.file >/dev/null 2>&1; then
   13733   ac_executable_p="test -x"
   13734 else
   13735   ac_executable_p="test -f"
   13736 fi
   13737 rm -f conf$$.file
   13738 
   13739 # Extract the first word of "msgfmt", so it can be a program name with args.
   13740 set dummy msgfmt; ac_word=$2
   13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13742 $as_echo_n "checking for $ac_word... " >&6; }
   13743 if ${ac_cv_path_MSGFMT+:} false; then :
   13744   $as_echo_n "(cached) " >&6
   13745 else
   13746   case "$MSGFMT" in
   13747   [\\/]* | ?:[\\/]*)
   13748     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   13749     ;;
   13750   *)
   13751     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13752     for ac_dir in $PATH; do
   13753       IFS="$ac_save_IFS"
   13754       test -z "$ac_dir" && ac_dir=.
   13755       for ac_exec_ext in '' $ac_executable_extensions; do
   13756         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13757           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   13758      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   13759             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   13760             break 2
   13761           fi
   13762         fi
   13763       done
   13764     done
   13765     IFS="$ac_save_IFS"
   13766   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   13767     ;;
   13768 esac
   13769 fi
   13770 MSGFMT="$ac_cv_path_MSGFMT"
   13771 if test "$MSGFMT" != ":"; then
   13772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   13773 $as_echo "$MSGFMT" >&6; }
   13774 else
   13775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13776 $as_echo "no" >&6; }
   13777 fi
   13778 
   13779   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   13780 set dummy gmsgfmt; ac_word=$2
   13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13782 $as_echo_n "checking for $ac_word... " >&6; }
   13783 if ${ac_cv_path_GMSGFMT+:} false; then :
   13784   $as_echo_n "(cached) " >&6
   13785 else
   13786   case $GMSGFMT in
   13787   [\\/]* | ?:[\\/]*)
   13788   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   13789   ;;
   13790   *)
   13791   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13792 for as_dir in $PATH
   13793 do
   13794   IFS=$as_save_IFS
   13795   test -z "$as_dir" && as_dir=.
   13796     for ac_exec_ext in '' $ac_executable_extensions; do
   13797   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13798     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   13799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13800     break 2
   13801   fi
   13802 done
   13803   done
   13804 IFS=$as_save_IFS
   13805 
   13806   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   13807   ;;
   13808 esac
   13809 fi
   13810 GMSGFMT=$ac_cv_path_GMSGFMT
   13811 if test -n "$GMSGFMT"; then
   13812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   13813 $as_echo "$GMSGFMT" >&6; }
   13814 else
   13815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13816 $as_echo "no" >&6; }
   13817 fi
   13818 
   13819 
   13820 
   13821 
   13822 # Prepare PATH_SEPARATOR.
   13823 # The user is always right.
   13824 if test "${PATH_SEPARATOR+set}" != set; then
   13825   echo "#! /bin/sh" >conf$$.sh
   13826   echo  "exit 0"   >>conf$$.sh
   13827   chmod +x conf$$.sh
   13828   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13829     PATH_SEPARATOR=';'
   13830   else
   13831     PATH_SEPARATOR=:
   13832   fi
   13833   rm -f conf$$.sh
   13834 fi
   13835 
   13836 # Find out how to test for executable files. Don't use a zero-byte file,
   13837 # as systems may use methods other than mode bits to determine executability.
   13838 cat >conf$$.file <<_ASEOF
   13839 #! /bin/sh
   13840 exit 0
   13841 _ASEOF
   13842 chmod +x conf$$.file
   13843 if test -x conf$$.file >/dev/null 2>&1; then
   13844   ac_executable_p="test -x"
   13845 else
   13846   ac_executable_p="test -f"
   13847 fi
   13848 rm -f conf$$.file
   13849 
   13850 # Extract the first word of "xgettext", so it can be a program name with args.
   13851 set dummy xgettext; ac_word=$2
   13852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13853 $as_echo_n "checking for $ac_word... " >&6; }
   13854 if ${ac_cv_path_XGETTEXT+:} false; then :
   13855   $as_echo_n "(cached) " >&6
   13856 else
   13857   case "$XGETTEXT" in
   13858   [\\/]* | ?:[\\/]*)
   13859     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   13860     ;;
   13861   *)
   13862     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13863     for ac_dir in $PATH; do
   13864       IFS="$ac_save_IFS"
   13865       test -z "$ac_dir" && ac_dir=.
   13866       for ac_exec_ext in '' $ac_executable_extensions; do
   13867         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13868           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   13869      (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
   13870             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   13871             break 2
   13872           fi
   13873         fi
   13874       done
   13875     done
   13876     IFS="$ac_save_IFS"
   13877   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   13878     ;;
   13879 esac
   13880 fi
   13881 XGETTEXT="$ac_cv_path_XGETTEXT"
   13882 if test "$XGETTEXT" != ":"; then
   13883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   13884 $as_echo "$XGETTEXT" >&6; }
   13885 else
   13886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13887 $as_echo "no" >&6; }
   13888 fi
   13889 
   13890     rm -f messages.po
   13891 
   13892 
   13893 # Prepare PATH_SEPARATOR.
   13894 # The user is always right.
   13895 if test "${PATH_SEPARATOR+set}" != set; then
   13896   echo "#! /bin/sh" >conf$$.sh
   13897   echo  "exit 0"   >>conf$$.sh
   13898   chmod +x conf$$.sh
   13899   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13900     PATH_SEPARATOR=';'
   13901   else
   13902     PATH_SEPARATOR=:
   13903   fi
   13904   rm -f conf$$.sh
   13905 fi
   13906 
   13907 # Find out how to test for executable files. Don't use a zero-byte file,
   13908 # as systems may use methods other than mode bits to determine executability.
   13909 cat >conf$$.file <<_ASEOF
   13910 #! /bin/sh
   13911 exit 0
   13912 _ASEOF
   13913 chmod +x conf$$.file
   13914 if test -x conf$$.file >/dev/null 2>&1; then
   13915   ac_executable_p="test -x"
   13916 else
   13917   ac_executable_p="test -f"
   13918 fi
   13919 rm -f conf$$.file
   13920 
   13921 # Extract the first word of "msgmerge", so it can be a program name with args.
   13922 set dummy msgmerge; ac_word=$2
   13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13924 $as_echo_n "checking for $ac_word... " >&6; }
   13925 if ${ac_cv_path_MSGMERGE+:} false; then :
   13926   $as_echo_n "(cached) " >&6
   13927 else
   13928   case "$MSGMERGE" in
   13929   [\\/]* | ?:[\\/]*)
   13930     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   13931     ;;
   13932   *)
   13933     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13934     for ac_dir in $PATH; do
   13935       IFS="$ac_save_IFS"
   13936       test -z "$ac_dir" && ac_dir=.
   13937       for ac_exec_ext in '' $ac_executable_extensions; do
   13938         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13939           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   13940             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   13941             break 2
   13942           fi
   13943         fi
   13944       done
   13945     done
   13946     IFS="$ac_save_IFS"
   13947   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   13948     ;;
   13949 esac
   13950 fi
   13951 MSGMERGE="$ac_cv_path_MSGMERGE"
   13952 if test "$MSGMERGE" != ":"; then
   13953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   13954 $as_echo "$MSGMERGE" >&6; }
   13955 else
   13956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13957 $as_echo "no" >&6; }
   13958 fi
   13959 
   13960 
   13961       if test "$GMSGFMT" != ":"; then
   13962             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   13963        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   13964       : ;
   13965     else
   13966       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   13967       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   13968 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   13969       GMSGFMT=":"
   13970     fi
   13971   fi
   13972 
   13973       if test "$XGETTEXT" != ":"; then
   13974             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   13975        (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
   13976       : ;
   13977     else
   13978       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   13979 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   13980       XGETTEXT=":"
   13981     fi
   13982         rm -f messages.po
   13983   fi
   13984 
   13985   ac_config_commands="$ac_config_commands default-2"
   13986 
   13987 
   13988 
   13989 . ${srcdir}/../bfd/configure.host
   13990 
   13991 # Put a plausible default for CC_FOR_BUILD in Makefile.
   13992 if test -z "$CC_FOR_BUILD"; then
   13993   if test "x$cross_compiling" = "xno"; then
   13994     CC_FOR_BUILD='$(CC)'
   13995   else
   13996     CC_FOR_BUILD=gcc
   13997   fi
   13998 fi
   13999 
   14000 # Also set EXEEXT_FOR_BUILD.
   14001 if test "x$cross_compiling" = "xno"; then
   14002   EXEEXT_FOR_BUILD='$(EXEEXT)'
   14003 else
   14004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
   14005 $as_echo_n "checking for build system executable suffix... " >&6; }
   14006 if ${bfd_cv_build_exeext+:} false; then :
   14007   $as_echo_n "(cached) " >&6
   14008 else
   14009   rm -f conftest*
   14010      echo 'int main () { return 0; }' > conftest.c
   14011      bfd_cv_build_exeext=
   14012      ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
   14013      for file in conftest.*; do
   14014        case $file in
   14015        *.c | *.o | *.obj | *.ilk | *.pdb) ;;
   14016        *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
   14017        esac
   14018      done
   14019      rm -f conftest*
   14020      test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
   14021 fi
   14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
   14023 $as_echo "$bfd_cv_build_exeext" >&6; }
   14024   EXEEXT_FOR_BUILD=""
   14025   test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
   14026 fi
   14027 
   14028 # Check whether --enable-64-bit-bfd was given.
   14029 if test "${enable_64_bit_bfd+set}" = set; then :
   14030   enableval=$enable_64_bit_bfd; case $enableval in #(
   14031   yes|no) :
   14032      ;; #(
   14033   *) :
   14034     as_fn_error $? "bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;; #(
   14035   *) :
   14036      ;;
   14037 esac
   14038 else
   14039   enable_64_bit_bfd=no
   14040 fi
   14041 
   14042 
   14043 if test "x$enable_64_bit_bfd" = "xno"; then :
   14044     # The cast to long int works around a bug in the HP C Compiler
   14045 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14046 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14047 # This bug is HP SR number 8606223364.
   14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   14049 $as_echo_n "checking size of void *... " >&6; }
   14050 if ${ac_cv_sizeof_void_p+:} false; then :
   14051   $as_echo_n "(cached) " >&6
   14052 else
   14053   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   14054 
   14055 else
   14056   if test "$ac_cv_type_void_p" = yes; then
   14057      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14059 as_fn_error 77 "cannot compute sizeof (void *)
   14060 See \`config.log' for more details" "$LINENO" 5; }
   14061    else
   14062      ac_cv_sizeof_void_p=0
   14063    fi
   14064 fi
   14065 
   14066 fi
   14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   14068 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   14069 
   14070 
   14071 
   14072 cat >>confdefs.h <<_ACEOF
   14073 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   14074 _ACEOF
   14075 
   14076 
   14077   if test "x$ac_cv_sizeof_void_p" = "x8"; then :
   14078   enable_64_bit_bfd=yes
   14079 fi
   14080 
   14081 fi
   14082 
   14083  if test "x$enable_64_bit_bfd" = "xyes"; then
   14084   ENABLE_BFD_64_BIT_TRUE=
   14085   ENABLE_BFD_64_BIT_FALSE='#'
   14086 else
   14087   ENABLE_BFD_64_BIT_TRUE='#'
   14088   ENABLE_BFD_64_BIT_FALSE=
   14089 fi
   14090 
   14091 
   14092 
   14093 
   14094 
   14095 
   14096 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
   14097 if test "x$ac_cv_have_decl_basename" = xyes; then :
   14098   ac_have_decl=1
   14099 else
   14100   ac_have_decl=0
   14101 fi
   14102 
   14103 cat >>confdefs.h <<_ACEOF
   14104 #define HAVE_DECL_BASENAME $ac_have_decl
   14105 _ACEOF
   14106 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
   14107 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
   14108   ac_have_decl=1
   14109 else
   14110   ac_have_decl=0
   14111 fi
   14112 
   14113 cat >>confdefs.h <<_ACEOF
   14114 #define HAVE_DECL_STPCPY $ac_have_decl
   14115 _ACEOF
   14116 
   14117 
   14118 # Check if sigsetjmp is available.  Using AC_CHECK_FUNCS won't do
   14119 # since sigsetjmp might only be defined as a macro.
   14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
   14121 $as_echo_n "checking for sigsetjmp... " >&6; }
   14122 if ${gdb_cv_func_sigsetjmp+:} false; then :
   14123   $as_echo_n "(cached) " >&6
   14124 else
   14125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14126 /* end confdefs.h.  */
   14127 
   14128 #include <setjmp.h>
   14129 
   14130 int
   14131 main ()
   14132 {
   14133 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
   14134   ;
   14135   return 0;
   14136 }
   14137 _ACEOF
   14138 if ac_fn_c_try_compile "$LINENO"; then :
   14139   bfd_cv_func_sigsetjmp=yes
   14140 else
   14141   bfd_cv_func_sigsetjmp=no
   14142 fi
   14143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14144 fi
   14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_func_sigsetjmp" >&5
   14146 $as_echo "$gdb_cv_func_sigsetjmp" >&6; }
   14147 if test $bfd_cv_func_sigsetjmp = yes; then
   14148 
   14149 $as_echo "#define HAVE_SIGSETJMP 1" >>confdefs.h
   14150 
   14151 fi
   14152 
   14153 cgen_maint=no
   14154 cgendir='$(srcdir)/../../cgen'
   14155 if test -r ${srcdir}/../cgen/iformat.scm; then
   14156     cgendir='$(srcdir)/../cgen'
   14157 fi
   14158 
   14159 # Check whether --enable-cgen-maint was given.
   14160 if test "${enable_cgen_maint+set}" = set; then :
   14161   enableval=$enable_cgen_maint; case "${enableval}" in
   14162   yes)	cgen_maint=yes ;;
   14163   no)	cgen_maint=no ;;
   14164   *)
   14165 	# Argument is a directory where cgen can be found.  In some
   14166 	# future world cgen could be installable, but right now this
   14167 	# is not the case.  Instead we assume the directory is a path
   14168 	# to the cgen source tree.
   14169 	cgen_maint=yes
   14170         if test -r ${enableval}/iformat.scm; then
   14171           # This looks like a cgen source tree.
   14172 	  cgendir=${enableval}
   14173         else
   14174 	  as_fn_error $? "${enableval} doesn't look like a cgen source tree" "$LINENO" 5
   14175         fi
   14176 	;;
   14177 esac
   14178 fi
   14179  if test x${cgen_maint} = xyes; then
   14180   CGEN_MAINT_TRUE=
   14181   CGEN_MAINT_FALSE='#'
   14182 else
   14183   CGEN_MAINT_TRUE='#'
   14184   CGEN_MAINT_FALSE=
   14185 fi
   14186 
   14187 
   14188 
   14189 using_cgen=no
   14190 
   14191 # Check if linker supports --as-needed and --no-as-needed options
   14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
   14193 $as_echo_n "checking linker --as-needed support... " >&6; }
   14194 if ${bfd_cv_ld_as_needed+:} false; then :
   14195   $as_echo_n "(cached) " >&6
   14196 else
   14197   bfd_cv_ld_as_needed=no
   14198 	if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
   14199 		bfd_cv_ld_as_needed=yes
   14200 	fi
   14201 
   14202 fi
   14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
   14204 $as_echo "$bfd_cv_ld_as_needed" >&6; }
   14205 
   14206 LIBM=
   14207 case $host in
   14208 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
   14209   # These system don't have libm, or don't need it
   14210   ;;
   14211 *-ncr-sysv4.3*)
   14212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
   14213 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
   14214 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
   14215   $as_echo_n "(cached) " >&6
   14216 else
   14217   ac_check_lib_save_LIBS=$LIBS
   14218 LIBS="-lmw  $LIBS"
   14219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14220 /* end confdefs.h.  */
   14221 
   14222 /* Override any GCC internal prototype to avoid an error.
   14223    Use char because int might match the return type of a GCC
   14224    builtin and then its argument prototype would still apply.  */
   14225 #ifdef __cplusplus
   14226 extern "C"
   14227 #endif
   14228 char _mwvalidcheckl ();
   14229 int
   14230 main ()
   14231 {
   14232 return _mwvalidcheckl ();
   14233   ;
   14234   return 0;
   14235 }
   14236 _ACEOF
   14237 if ac_fn_c_try_link "$LINENO"; then :
   14238   ac_cv_lib_mw__mwvalidcheckl=yes
   14239 else
   14240   ac_cv_lib_mw__mwvalidcheckl=no
   14241 fi
   14242 rm -f core conftest.err conftest.$ac_objext \
   14243     conftest$ac_exeext conftest.$ac_ext
   14244 LIBS=$ac_check_lib_save_LIBS
   14245 fi
   14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
   14247 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
   14248 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
   14249   LIBM="-lmw"
   14250 fi
   14251 
   14252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   14253 $as_echo_n "checking for cos in -lm... " >&6; }
   14254 if ${ac_cv_lib_m_cos+:} false; then :
   14255   $as_echo_n "(cached) " >&6
   14256 else
   14257   ac_check_lib_save_LIBS=$LIBS
   14258 LIBS="-lm  $LIBS"
   14259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14260 /* end confdefs.h.  */
   14261 
   14262 /* Override any GCC internal prototype to avoid an error.
   14263    Use char because int might match the return type of a GCC
   14264    builtin and then its argument prototype would still apply.  */
   14265 #ifdef __cplusplus
   14266 extern "C"
   14267 #endif
   14268 char cos ();
   14269 int
   14270 main ()
   14271 {
   14272 return cos ();
   14273   ;
   14274   return 0;
   14275 }
   14276 _ACEOF
   14277 if ac_fn_c_try_link "$LINENO"; then :
   14278   ac_cv_lib_m_cos=yes
   14279 else
   14280   ac_cv_lib_m_cos=no
   14281 fi
   14282 rm -f core conftest.err conftest.$ac_objext \
   14283     conftest$ac_exeext conftest.$ac_ext
   14284 LIBS=$ac_check_lib_save_LIBS
   14285 fi
   14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   14287 $as_echo "$ac_cv_lib_m_cos" >&6; }
   14288 if test "x$ac_cv_lib_m_cos" = xyes; then :
   14289   LIBM="$LIBM -lm"
   14290 fi
   14291 
   14292   ;;
   14293 *)
   14294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   14295 $as_echo_n "checking for cos in -lm... " >&6; }
   14296 if ${ac_cv_lib_m_cos+:} false; then :
   14297   $as_echo_n "(cached) " >&6
   14298 else
   14299   ac_check_lib_save_LIBS=$LIBS
   14300 LIBS="-lm  $LIBS"
   14301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14302 /* end confdefs.h.  */
   14303 
   14304 /* Override any GCC internal prototype to avoid an error.
   14305    Use char because int might match the return type of a GCC
   14306    builtin and then its argument prototype would still apply.  */
   14307 #ifdef __cplusplus
   14308 extern "C"
   14309 #endif
   14310 char cos ();
   14311 int
   14312 main ()
   14313 {
   14314 return cos ();
   14315   ;
   14316   return 0;
   14317 }
   14318 _ACEOF
   14319 if ac_fn_c_try_link "$LINENO"; then :
   14320   ac_cv_lib_m_cos=yes
   14321 else
   14322   ac_cv_lib_m_cos=no
   14323 fi
   14324 rm -f core conftest.err conftest.$ac_objext \
   14325     conftest$ac_exeext conftest.$ac_ext
   14326 LIBS=$ac_check_lib_save_LIBS
   14327 fi
   14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   14329 $as_echo "$ac_cv_lib_m_cos" >&6; }
   14330 if test "x$ac_cv_lib_m_cos" = xyes; then :
   14331   LIBM="-lm"
   14332 fi
   14333 
   14334   ;;
   14335 esac
   14336 
   14337 
   14338 
   14339 #Libs for generator progs
   14340 if test "x$cross_compiling" = "xno"; then
   14341   BUILD_LIBS=../libiberty/libiberty.a
   14342   BUILD_LIB_DEPS=$BUILD_LIBS
   14343 else
   14344   # if cross-compiling, assume that the system provides -liberty
   14345   # and that the version is compatible with new headers.
   14346   BUILD_LIBS=-liberty
   14347   BUILD_LIB_DEPS=
   14348 fi
   14349 BUILD_LIBS="$BUILD_LIBS $LIBINTL"
   14350 BUILD_LIB_DEPS="$BUILD_LIB_DEPS $LIBINTL_DEP"
   14351 
   14352 
   14353 
   14354 
   14355 # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
   14356 SHARED_LDFLAGS=
   14357 SHARED_LIBADD=
   14358 SHARED_DEPENDENCIES=
   14359 if test "$enable_shared" = "yes"; then
   14360 # When building a shared libopcodes, link against the pic version of libiberty
   14361 # so that apps that use libopcodes won't need libiberty just to satisfy any
   14362 # libopcodes references.
   14363 # We can't do that if a pic libiberty is unavailable since including non-pic
   14364 # code would insert text relocations into libopcodes.
   14365 # Note that linking against libbfd as we do here, which is itself linked
   14366 # against libiberty, may not satisfy all the libopcodes libiberty references
   14367 # since libbfd may not pull in the entirety of libiberty.
   14368 # Also, jam libintl into the right place in all of this: after libiberty,
   14369 # which uses it, but before -lcygwin, which it uses.
   14370   x=`sed -n -e 's/^[ 	]*PICFLAG[ 	]*=[ 	]*//p' < ../libiberty/Makefile | sed -n '$p'`
   14371   if test -n "$x"; then
   14372     SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
   14373   fi
   14374 fi
   14375 
   14376 SHARED_LIBADD="$SHARED_LIBADD $LTLIBINTL"
   14377 
   14378 if test "$enable_shared" = "yes"; then
   14379   case "${host}" in
   14380     *-*-cygwin*)
   14381       SHARED_LDFLAGS="-no-undefined"
   14382       SHARED_LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty $SHARED_LIBADD"
   14383       ;;
   14384     *)
   14385       SHARED_LIBADD="../bfd/libbfd.la ${SHARED_LIBADD}"
   14386       SHARED_DEPENDENCIES="../bfd/libbfd.la"
   14387       ;;
   14388   esac
   14389 
   14390   if test -n "$SHARED_LIBADD"; then
   14391     if test -n "$LIBM"; then
   14392       if test x"$bfd_cv_ld_as_needed" = xyes; then
   14393 	# Link against libm only when needed.  Put -lc, -lm inside -Wl
   14394 	# to stop libtool reordering these options.
   14395 	SHARED_LIBADD="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
   14396       else
   14397 	SHARED_LIBADD="$SHARED_LIBADD $LIBM"
   14398       fi
   14399     fi
   14400   fi
   14401 fi
   14402 
   14403 
   14404 
   14405 
   14406 # target-specific stuff:
   14407 
   14408 # Canonicalize the secondary target names.
   14409 if test -n "$enable_targets" ; then
   14410     for targ in `echo $enable_targets | sed 's/,/ /g'`
   14411     do
   14412 	result=`$ac_config_sub $targ 2>/dev/null`
   14413 	if test -n "$result" ; then
   14414 	    canon_targets="$canon_targets $result"
   14415 	else
   14416 	    # Allow targets that config.sub doesn't recognize, like "all".
   14417 	    canon_targets="$canon_targets $targ"
   14418 	fi
   14419     done
   14420 fi
   14421 
   14422 all_targets=false
   14423 selarchs=
   14424 for targ in $target $canon_targets
   14425 do
   14426     if test "x$targ" = "xall" ; then
   14427         all_targets=true
   14428     else
   14429 	. $srcdir/../bfd/config.bfd
   14430 	selarchs="$selarchs $targ_archs"
   14431     fi
   14432 done
   14433 
   14434 # Utility var, documents generic cgen support files.
   14435 
   14436 cgen_files="cgen-opc.lo cgen-asm.lo cgen-dis.lo cgen-bitset.lo"
   14437 
   14438 # We don't do any links based on the target system, just makefile config.
   14439 
   14440 if test x${all_targets} = xfalse ; then
   14441 
   14442     # Target architecture .o files.
   14443     ta=
   14444 
   14445     for arch in $selarchs
   14446     do
   14447 	ad=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
   14448 	archdefs="$archdefs -DARCH_$ad"
   14449 	case "$arch" in
   14450 	bfd_aarch64_arch)	ta="$ta aarch64-asm.lo aarch64-dis.lo aarch64-opc.lo aarch64-asm-2.lo aarch64-dis-2.lo aarch64-opc-2.lo" ;;
   14451 	bfd_alpha_arch)		ta="$ta alpha-dis.lo alpha-opc.lo" ;;
   14452 	bfd_amdgcn_arch)	;;
   14453 	bfd_arc_arch)		ta="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
   14454 	bfd_arm_arch)		ta="$ta arm-dis.lo" ;;
   14455 	bfd_avr_arch)		ta="$ta avr-dis.lo" ;;
   14456 	bfd_bfin_arch)		ta="$ta bfin-dis.lo" ;;
   14457 	bfd_cr16_arch)		ta="$ta cr16-dis.lo cr16-opc.lo" ;;
   14458 	bfd_cris_arch)		ta="$ta cris-desc.lo cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
   14459 	bfd_crx_arch)		ta="$ta crx-dis.lo crx-opc.lo" ;;
   14460 	bfd_csky_arch)		ta="$ta csky-dis.lo" ;;
   14461 	bfd_d10v_arch)		ta="$ta d10v-dis.lo d10v-opc.lo" ;;
   14462 	bfd_d30v_arch)		ta="$ta d30v-dis.lo d30v-opc.lo" ;;
   14463 	bfd_dlx_arch)		ta="$ta dlx-dis.lo" ;;
   14464 	bfd_fr30_arch)		ta="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen=yes ;;
   14465 	bfd_frv_arch)		ta="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen=yes ;;
   14466 	bfd_ft32_arch)		ta="$ta ft32-opc.lo ft32-dis.lo" ;;
   14467 	bfd_moxie_arch)		ta="$ta moxie-dis.lo moxie-opc.lo" ;;
   14468 	bfd_h8300_arch)		ta="$ta h8300-dis.lo" ;;
   14469 	bfd_hppa_arch)		ta="$ta hppa-dis.lo" ;;
   14470 	bfd_i386_arch|bfd_iamcu_arch)
   14471 				ta="$ta i386-dis.lo" ;;
   14472 	bfd_ia64_arch)		ta="$ta ia64-dis.lo ia64-opc.lo" ;;
   14473 	bfd_ip2k_arch)		ta="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen=yes ;;
   14474 	bfd_epiphany_arch)	ta="$ta epiphany-asm.lo epiphany-desc.lo epiphany-dis.lo epiphany-ibld.lo epiphany-opc.lo" using_cgen=yes ;;
   14475 	bfd_iq2000_arch)	ta="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen=yes ;;
   14476 	bfd_kvx_arch)		ta="$ta kvx-opc.lo kvx-dis.lo" ;;
   14477 	bfd_lm32_arch)		ta="$ta lm32-asm.lo lm32-desc.lo lm32-dis.lo lm32-ibld.lo lm32-opc.lo lm32-opinst.lo" using_cgen=yes ;;
   14478 	bfd_m32c_arch)		ta="$ta m32c-asm.lo m32c-desc.lo m32c-dis.lo m32c-ibld.lo m32c-opc.lo" using_cgen=yes ;;
   14479 	bfd_m32r_arch)		ta="$ta m32r-asm.lo m32r-desc.lo m32r-dis.lo m32r-ibld.lo m32r-opc.lo m32r-opinst.lo" using_cgen=yes ;;
   14480 	bfd_m68hc11_arch)	ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
   14481 	bfd_m68hc12_arch)	ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
   14482 	bfd_m9s12x_arch)	ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
   14483 	bfd_m9s12xg_arch)	ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
   14484 	bfd_s12z_arch)		ta="$ta s12z-dis.lo s12z-opc.lo" ;;
   14485 	bfd_m68k_arch)		ta="$ta m68k-dis.lo m68k-opc.lo" ;;
   14486 	bfd_mcore_arch)		ta="$ta mcore-dis.lo" ;;
   14487 	bfd_mep_arch)		ta="$ta mep-asm.lo mep-desc.lo mep-dis.lo mep-ibld.lo mep-opc.lo" using_cgen=yes ;;
   14488 	bfd_metag_arch)		ta="$ta metag-dis.lo" ;;
   14489 	bfd_microblaze_arch)	ta="$ta microblaze-dis.lo" ;;
   14490 	bfd_mips_arch)		ta="$ta mips-dis.lo mips-opc.lo mips16-opc.lo micromips-opc.lo" ;;
   14491 	bfd_mmix_arch)		ta="$ta mmix-dis.lo mmix-opc.lo" ;;
   14492 	bfd_mn10200_arch)	ta="$ta m10200-dis.lo m10200-opc.lo" ;;
   14493 	bfd_mn10300_arch)	ta="$ta m10300-dis.lo m10300-opc.lo" ;;
   14494 	bfd_mt_arch)		ta="$ta mt-asm.lo mt-desc.lo mt-dis.lo mt-ibld.lo mt-opc.lo" using_cgen=yes ;;
   14495 	bfd_msp430_arch)	ta="$ta msp430-dis.lo msp430-decode.lo" ;;
   14496 	bfd_nds32_arch)		ta="$ta nds32-asm.lo nds32-dis.lo" ;;
   14497 	bfd_nfp_arch)		ta="$ta nfp-dis.lo" ;;
   14498 	bfd_ns32k_arch)		ta="$ta ns32k-dis.lo" ;;
   14499 	bfd_or1k_arch)		ta="$ta or1k-asm.lo or1k-desc.lo or1k-dis.lo or1k-ibld.lo or1k-opc.lo" using_cgen=yes ;;
   14500 	bfd_pdp11_arch)		ta="$ta pdp11-dis.lo pdp11-opc.lo" ;;
   14501 	bfd_pj_arch)		ta="$ta pj-dis.lo pj-opc.lo" ;;
   14502 	bfd_powerpc_arch)	ta="$ta ppc-dis.lo ppc-opc.lo" ;;
   14503 	bfd_powerpc_64_arch)	ta="$ta ppc-dis.lo ppc-opc.lo" ;;
   14504 	bfd_pru_arch)		ta="$ta pru-dis.lo pru-opc.lo" ;;
   14505 	bfd_pyramid_arch)	;;
   14506 	bfd_romp_arch)		;;
   14507 	bfd_riscv_arch)         ta="$ta riscv-dis.lo riscv-opc.lo" ;;
   14508 	bfd_rs6000_arch)	ta="$ta ppc-dis.lo ppc-opc.lo" ;;
   14509 	bfd_rl78_arch)		ta="$ta rl78-dis.lo rl78-decode.lo";;
   14510 	bfd_rx_arch)		ta="$ta rx-dis.lo rx-decode.lo";;
   14511 	bfd_s390_arch)		ta="$ta s390-dis.lo s390-opc.lo" ;;
   14512 	bfd_score_arch)		ta="$ta score-dis.lo score7-dis.lo" ;;
   14513 	bfd_sh_arch)		ta="$ta sh-dis.lo cgen-bitset.lo" ;;
   14514 	bfd_sparc_arch)		ta="$ta sparc-dis.lo sparc-opc.lo" ;;
   14515 	bfd_spu_arch)		ta="$ta spu-dis.lo spu-opc.lo" ;;
   14516 	bfd_tic30_arch)		ta="$ta tic30-dis.lo" ;;
   14517 	bfd_tic4x_arch)		ta="$ta tic4x-dis.lo" ;;
   14518 	bfd_tic54x_arch)	ta="$ta tic54x-dis.lo tic54x-opc.lo" ;;
   14519 	bfd_tic6x_arch)		ta="$ta tic6x-dis.lo" ;;
   14520 	bfd_tilegx_arch)	ta="$ta tilegx-dis.lo tilegx-opc.lo" ;;
   14521 	bfd_tilepro_arch)	ta="$ta tilepro-dis.lo tilepro-opc.lo" ;;
   14522 	bfd_v850_arch)		ta="$ta v850-opc.lo v850-dis.lo" ;;
   14523 	bfd_v850e_arch)		ta="$ta v850-opc.lo v850-dis.lo" ;;
   14524 	bfd_v850ea_arch)	ta="$ta v850-opc.lo v850-dis.lo" ;;
   14525 	bfd_v850_rh850_arch)	ta="$ta v850-opc.lo v850-dis.lo" ;;
   14526 	bfd_vax_arch)		ta="$ta vax-dis.lo" ;;
   14527 	bfd_visium_arch)	ta="$ta visium-dis.lo visium-opc.lo" ;;
   14528         bfd_wasm32_arch)        ta="$ta wasm32-dis.lo" ;;
   14529 	bfd_xgate_arch)		ta="$ta xgate-dis.lo xgate-opc.lo" ;;
   14530 	bfd_xstormy16_arch)	ta="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen=yes ;;
   14531 	bfd_xtensa_arch)	ta="$ta xtensa-dis.lo" ;;
   14532 	bfd_z80_arch)		ta="$ta z80-dis.lo" ;;
   14533 	bfd_z8k_arch)		ta="$ta z8k-dis.lo" ;;
   14534 	bfd_bpf_arch)		ta="$ta bpf-dis.lo bpf-opc.lo" ;;
   14535 	bfd_loongarch_arch)	ta="$ta loongarch-dis.lo loongarch-opc.lo loongarch-coder.lo" ;;
   14536 
   14537 	"")			;;
   14538 	*)		as_fn_error $? "*** unknown target architecture $arch" "$LINENO" 5 ;;
   14539 	esac
   14540     done
   14541 
   14542     if test $using_cgen = yes ; then
   14543 	ta="$ta $cgen_files"
   14544     fi
   14545 
   14546     # Weed out duplicate .o files.
   14547     f=""
   14548     for i in $ta ; do
   14549 	case " $f " in
   14550 	*" $i "*) ;;
   14551 	*) f="$f $i" ;;
   14552 	esac
   14553     done
   14554     ta="$f"
   14555 
   14556     # And duplicate -D flags.
   14557     f=""
   14558     for i in $archdefs ; do
   14559 	case " $f " in
   14560 	*" $i "*) ;;
   14561 	*) f="$f $i" ;;
   14562 	esac
   14563     done
   14564     archdefs="$f"
   14565 
   14566     BFD_MACHINES="$ta"
   14567 
   14568 else	# all_targets is true
   14569     archdefs=-DARCH_all
   14570     if test "$enable_64_bit_bfd" = "yes" ; then
   14571 	BFD_MACHINES='$(ALL32_MACHINES) $(ALL64_MACHINES)'
   14572     else
   14573 	BFD_MACHINES='$(ALL32_MACHINES)'
   14574     fi
   14575 fi
   14576 
   14577 
   14578 
   14579 
   14580 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
   14581 
   14582 cat >confcache <<\_ACEOF
   14583 # This file is a shell script that caches the results of configure
   14584 # tests run on this system so they can be shared between configure
   14585 # scripts and configure runs, see configure's option --config-cache.
   14586 # It is not useful on other systems.  If it contains results you don't
   14587 # want to keep, you may remove or edit it.
   14588 #
   14589 # config.status only pays attention to the cache file if you give it
   14590 # the --recheck option to rerun configure.
   14591 #
   14592 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14593 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14594 # following values.
   14595 
   14596 _ACEOF
   14597 
   14598 # The following way of writing the cache mishandles newlines in values,
   14599 # but we know of no workaround that is simple, portable, and efficient.
   14600 # So, we kill variables containing newlines.
   14601 # Ultrix sh set writes to stderr and can't be redirected directly,
   14602 # and sets the high bit in the cache file unless we assign to the vars.
   14603 (
   14604   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   14605     eval ac_val=\$$ac_var
   14606     case $ac_val in #(
   14607     *${as_nl}*)
   14608       case $ac_var in #(
   14609       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   14610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   14611       esac
   14612       case $ac_var in #(
   14613       _ | IFS | as_nl) ;; #(
   14614       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14615       *) { eval $ac_var=; unset $ac_var;} ;;
   14616       esac ;;
   14617     esac
   14618   done
   14619 
   14620   (set) 2>&1 |
   14621     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14622     *${as_nl}ac_space=\ *)
   14623       # `set' does not quote correctly, so add quotes: double-quote
   14624       # substitution turns \\\\ into \\, and sed turns \\ into \.
   14625       sed -n \
   14626 	"s/'/'\\\\''/g;
   14627 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14628       ;; #(
   14629     *)
   14630       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14631       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14632       ;;
   14633     esac |
   14634     sort
   14635 ) |
   14636   sed '
   14637      /^ac_cv_env_/b end
   14638      t clear
   14639      :clear
   14640      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14641      t end
   14642      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14643      :end' >>confcache
   14644 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14645   if test -w "$cache_file"; then
   14646     if test "x$cache_file" != "x/dev/null"; then
   14647       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   14648 $as_echo "$as_me: updating cache $cache_file" >&6;}
   14649       if test ! -f "$cache_file" || test -h "$cache_file"; then
   14650 	cat confcache >"$cache_file"
   14651       else
   14652         case $cache_file in #(
   14653         */* | ?:*)
   14654 	  mv -f confcache "$cache_file"$$ &&
   14655 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   14656         *)
   14657 	  mv -f confcache "$cache_file" ;;
   14658 	esac
   14659       fi
   14660     fi
   14661   else
   14662     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   14663 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   14664   fi
   14665 fi
   14666 rm -f confcache
   14667 
   14668 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14669 # Let make expand exec_prefix.
   14670 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14671 
   14672 DEFS=-DHAVE_CONFIG_H
   14673 
   14674 ac_libobjs=
   14675 ac_ltlibobjs=
   14676 U=
   14677 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14678   # 1. Remove the extension, and $U if already installed.
   14679   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14680   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   14681   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14682   #    will be set to the directory where LIBOBJS objects are built.
   14683   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14684   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   14685 done
   14686 LIBOBJS=$ac_libobjs
   14687 
   14688 LTLIBOBJS=$ac_ltlibobjs
   14689 
   14690 
   14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   14692 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   14693    if test -n "$am_sleep_pid"; then
   14694      # Hide warnings about reused PIDs.
   14695      wait $am_sleep_pid 2>/dev/null
   14696    fi
   14697    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   14698 $as_echo "done" >&6; }
   14699  if test -n "$EXEEXT"; then
   14700   am__EXEEXT_TRUE=
   14701   am__EXEEXT_FALSE='#'
   14702 else
   14703   am__EXEEXT_TRUE='#'
   14704   am__EXEEXT_FALSE=
   14705 fi
   14706 
   14707 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   14708   as_fn_error $? "conditional \"AMDEP\" was never defined.
   14709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14710 fi
   14711 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   14712   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   14713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14714 fi
   14715 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   14716   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   14717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14718 fi
   14719 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
   14720   as_fn_error $? "conditional \"INSTALL_LIBBFD\" was never defined.
   14721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14722 fi
   14723 if test -z "${ENABLE_BFD_64_BIT_TRUE}" && test -z "${ENABLE_BFD_64_BIT_FALSE}"; then
   14724   as_fn_error $? "conditional \"ENABLE_BFD_64_BIT\" was never defined.
   14725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14726 fi
   14727 if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
   14728   as_fn_error $? "conditional \"CGEN_MAINT\" was never defined.
   14729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14730 fi
   14731 
   14732 : "${CONFIG_STATUS=./config.status}"
   14733 ac_write_fail=0
   14734 ac_clean_files_save=$ac_clean_files
   14735 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   14736 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   14737 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   14738 as_write_fail=0
   14739 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   14740 #! $SHELL
   14741 # Generated by $as_me.
   14742 # Run this file to recreate the current configuration.
   14743 # Compiler output produced by configure, useful for debugging
   14744 # configure, is in config.log if it exists.
   14745 
   14746 debug=false
   14747 ac_cs_recheck=false
   14748 ac_cs_silent=false
   14749 
   14750 SHELL=\${CONFIG_SHELL-$SHELL}
   14751 export SHELL
   14752 _ASEOF
   14753 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   14754 ## -------------------- ##
   14755 ## M4sh Initialization. ##
   14756 ## -------------------- ##
   14757 
   14758 # Be more Bourne compatible
   14759 DUALCASE=1; export DUALCASE # for MKS sh
   14760 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   14761   emulate sh
   14762   NULLCMD=:
   14763   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14764   # is contrary to our usage.  Disable this feature.
   14765   alias -g '${1+"$@"}'='"$@"'
   14766   setopt NO_GLOB_SUBST
   14767 else
   14768   case `(set -o) 2>/dev/null` in #(
   14769   *posix*) :
   14770     set -o posix ;; #(
   14771   *) :
   14772      ;;
   14773 esac
   14774 fi
   14775 
   14776 
   14777 as_nl='
   14778 '
   14779 export as_nl
   14780 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   14781 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   14782 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   14783 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   14784 # Prefer a ksh shell builtin over an external printf program on Solaris,
   14785 # but without wasting forks for bash or zsh.
   14786 if test -z "$BASH_VERSION$ZSH_VERSION" \
   14787     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   14788   as_echo='print -r --'
   14789   as_echo_n='print -rn --'
   14790 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   14791   as_echo='printf %s\n'
   14792   as_echo_n='printf %s'
   14793 else
   14794   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   14795     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   14796     as_echo_n='/usr/ucb/echo -n'
   14797   else
   14798     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   14799     as_echo_n_body='eval
   14800       arg=$1;
   14801       case $arg in #(
   14802       *"$as_nl"*)
   14803 	expr "X$arg" : "X\\(.*\\)$as_nl";
   14804 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   14805       esac;
   14806       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   14807     '
   14808     export as_echo_n_body
   14809     as_echo_n='sh -c $as_echo_n_body as_echo'
   14810   fi
   14811   export as_echo_body
   14812   as_echo='sh -c $as_echo_body as_echo'
   14813 fi
   14814 
   14815 # The user is always right.
   14816 if test "${PATH_SEPARATOR+set}" != set; then
   14817   PATH_SEPARATOR=:
   14818   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14819     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14820       PATH_SEPARATOR=';'
   14821   }
   14822 fi
   14823 
   14824 
   14825 # IFS
   14826 # We need space, tab and new line, in precisely that order.  Quoting is
   14827 # there to prevent editors from complaining about space-tab.
   14828 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   14829 # splitting by setting IFS to empty value.)
   14830 IFS=" ""	$as_nl"
   14831 
   14832 # Find who we are.  Look in the path if we contain no directory separator.
   14833 as_myself=
   14834 case $0 in #((
   14835   *[\\/]* ) as_myself=$0 ;;
   14836   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14837 for as_dir in $PATH
   14838 do
   14839   IFS=$as_save_IFS
   14840   test -z "$as_dir" && as_dir=.
   14841     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14842   done
   14843 IFS=$as_save_IFS
   14844 
   14845      ;;
   14846 esac
   14847 # We did not find ourselves, most probably we were run as `sh COMMAND'
   14848 # in which case we are not to be found in the path.
   14849 if test "x$as_myself" = x; then
   14850   as_myself=$0
   14851 fi
   14852 if test ! -f "$as_myself"; then
   14853   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14854   exit 1
   14855 fi
   14856 
   14857 # Unset variables that we do not need and which cause bugs (e.g. in
   14858 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   14859 # suppresses any "Segmentation fault" message there.  '((' could
   14860 # trigger a bug in pdksh 5.2.14.
   14861 for as_var in BASH_ENV ENV MAIL MAILPATH
   14862 do eval test x\${$as_var+set} = xset \
   14863   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14864 done
   14865 PS1='$ '
   14866 PS2='> '
   14867 PS4='+ '
   14868 
   14869 # NLS nuisances.
   14870 LC_ALL=C
   14871 export LC_ALL
   14872 LANGUAGE=C
   14873 export LANGUAGE
   14874 
   14875 # CDPATH.
   14876 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14877 
   14878 
   14879 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   14880 # ----------------------------------------
   14881 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14882 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14883 # script with STATUS, using 1 if that was 0.
   14884 as_fn_error ()
   14885 {
   14886   as_status=$1; test $as_status -eq 0 && as_status=1
   14887   if test "$4"; then
   14888     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14889     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   14890   fi
   14891   $as_echo "$as_me: error: $2" >&2
   14892   as_fn_exit $as_status
   14893 } # as_fn_error
   14894 
   14895 
   14896 # as_fn_set_status STATUS
   14897 # -----------------------
   14898 # Set $? to STATUS, without forking.
   14899 as_fn_set_status ()
   14900 {
   14901   return $1
   14902 } # as_fn_set_status
   14903 
   14904 # as_fn_exit STATUS
   14905 # -----------------
   14906 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14907 as_fn_exit ()
   14908 {
   14909   set +e
   14910   as_fn_set_status $1
   14911   exit $1
   14912 } # as_fn_exit
   14913 
   14914 # as_fn_unset VAR
   14915 # ---------------
   14916 # Portably unset VAR.
   14917 as_fn_unset ()
   14918 {
   14919   { eval $1=; unset $1;}
   14920 }
   14921 as_unset=as_fn_unset
   14922 # as_fn_append VAR VALUE
   14923 # ----------------------
   14924 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14925 # advantage of any shell optimizations that allow amortized linear growth over
   14926 # repeated appends, instead of the typical quadratic growth present in naive
   14927 # implementations.
   14928 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   14929   eval 'as_fn_append ()
   14930   {
   14931     eval $1+=\$2
   14932   }'
   14933 else
   14934   as_fn_append ()
   14935   {
   14936     eval $1=\$$1\$2
   14937   }
   14938 fi # as_fn_append
   14939 
   14940 # as_fn_arith ARG...
   14941 # ------------------
   14942 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14943 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14944 # must be portable across $(()) and expr.
   14945 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   14946   eval 'as_fn_arith ()
   14947   {
   14948     as_val=$(( $* ))
   14949   }'
   14950 else
   14951   as_fn_arith ()
   14952   {
   14953     as_val=`expr "$@" || test $? -eq 1`
   14954   }
   14955 fi # as_fn_arith
   14956 
   14957 
   14958 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14959    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14960   as_expr=expr
   14961 else
   14962   as_expr=false
   14963 fi
   14964 
   14965 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14966   as_basename=basename
   14967 else
   14968   as_basename=false
   14969 fi
   14970 
   14971 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14972   as_dirname=dirname
   14973 else
   14974   as_dirname=false
   14975 fi
   14976 
   14977 as_me=`$as_basename -- "$0" ||
   14978 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14979 	 X"$0" : 'X\(//\)$' \| \
   14980 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14981 $as_echo X/"$0" |
   14982     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14983 	    s//\1/
   14984 	    q
   14985 	  }
   14986 	  /^X\/\(\/\/\)$/{
   14987 	    s//\1/
   14988 	    q
   14989 	  }
   14990 	  /^X\/\(\/\).*/{
   14991 	    s//\1/
   14992 	    q
   14993 	  }
   14994 	  s/.*/./; q'`
   14995 
   14996 # Avoid depending upon Character Ranges.
   14997 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14998 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14999 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   15000 as_cr_digits='0123456789'
   15001 as_cr_alnum=$as_cr_Letters$as_cr_digits
   15002 
   15003 ECHO_C= ECHO_N= ECHO_T=
   15004 case `echo -n x` in #(((((
   15005 -n*)
   15006   case `echo 'xy\c'` in
   15007   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   15008   xy)  ECHO_C='\c';;
   15009   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   15010        ECHO_T='	';;
   15011   esac;;
   15012 *)
   15013   ECHO_N='-n';;
   15014 esac
   15015 
   15016 rm -f conf$$ conf$$.exe conf$$.file
   15017 if test -d conf$$.dir; then
   15018   rm -f conf$$.dir/conf$$.file
   15019 else
   15020   rm -f conf$$.dir
   15021   mkdir conf$$.dir 2>/dev/null
   15022 fi
   15023 if (echo >conf$$.file) 2>/dev/null; then
   15024   if ln -s conf$$.file conf$$ 2>/dev/null; then
   15025     as_ln_s='ln -s'
   15026     # ... but there are two gotchas:
   15027     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   15028     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   15029     # In both cases, we have to default to `cp -pR'.
   15030     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   15031       as_ln_s='cp -pR'
   15032   elif ln conf$$.file conf$$ 2>/dev/null; then
   15033     as_ln_s=ln
   15034   else
   15035     as_ln_s='cp -pR'
   15036   fi
   15037 else
   15038   as_ln_s='cp -pR'
   15039 fi
   15040 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   15041 rmdir conf$$.dir 2>/dev/null
   15042 
   15043 
   15044 # as_fn_mkdir_p
   15045 # -------------
   15046 # Create "$as_dir" as a directory, including parents if necessary.
   15047 as_fn_mkdir_p ()
   15048 {
   15049 
   15050   case $as_dir in #(
   15051   -*) as_dir=./$as_dir;;
   15052   esac
   15053   test -d "$as_dir" || eval $as_mkdir_p || {
   15054     as_dirs=
   15055     while :; do
   15056       case $as_dir in #(
   15057       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15058       *) as_qdir=$as_dir;;
   15059       esac
   15060       as_dirs="'$as_qdir' $as_dirs"
   15061       as_dir=`$as_dirname -- "$as_dir" ||
   15062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15063 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15064 	 X"$as_dir" : 'X\(//\)$' \| \
   15065 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15066 $as_echo X"$as_dir" |
   15067     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15068 	    s//\1/
   15069 	    q
   15070 	  }
   15071 	  /^X\(\/\/\)[^/].*/{
   15072 	    s//\1/
   15073 	    q
   15074 	  }
   15075 	  /^X\(\/\/\)$/{
   15076 	    s//\1/
   15077 	    q
   15078 	  }
   15079 	  /^X\(\/\).*/{
   15080 	    s//\1/
   15081 	    q
   15082 	  }
   15083 	  s/.*/./; q'`
   15084       test -d "$as_dir" && break
   15085     done
   15086     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15087   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   15088 
   15089 
   15090 } # as_fn_mkdir_p
   15091 if mkdir -p . 2>/dev/null; then
   15092   as_mkdir_p='mkdir -p "$as_dir"'
   15093 else
   15094   test -d ./-p && rmdir ./-p
   15095   as_mkdir_p=false
   15096 fi
   15097 
   15098 
   15099 # as_fn_executable_p FILE
   15100 # -----------------------
   15101 # Test if FILE is an executable regular file.
   15102 as_fn_executable_p ()
   15103 {
   15104   test -f "$1" && test -x "$1"
   15105 } # as_fn_executable_p
   15106 as_test_x='test -x'
   15107 as_executable_p=as_fn_executable_p
   15108 
   15109 # Sed expression to map a string onto a valid CPP name.
   15110 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15111 
   15112 # Sed expression to map a string onto a valid variable name.
   15113 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15114 
   15115 
   15116 exec 6>&1
   15117 ## ----------------------------------- ##
   15118 ## Main body of $CONFIG_STATUS script. ##
   15119 ## ----------------------------------- ##
   15120 _ASEOF
   15121 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   15122 
   15123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15124 # Save the log message, to keep $0 and so on meaningful, and to
   15125 # report actual input values of CONFIG_FILES etc. instead of their
   15126 # values after options handling.
   15127 ac_log="
   15128 This file was extended by opcodes $as_me 2.43.50, which was
   15129 generated by GNU Autoconf 2.69.  Invocation command line was
   15130 
   15131   CONFIG_FILES    = $CONFIG_FILES
   15132   CONFIG_HEADERS  = $CONFIG_HEADERS
   15133   CONFIG_LINKS    = $CONFIG_LINKS
   15134   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15135   $ $0 $@
   15136 
   15137 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15138 "
   15139 
   15140 _ACEOF
   15141 
   15142 case $ac_config_files in *"
   15143 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   15144 esac
   15145 
   15146 case $ac_config_headers in *"
   15147 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   15148 esac
   15149 
   15150 
   15151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15152 # Files that config.status was made for.
   15153 config_files="$ac_config_files"
   15154 config_headers="$ac_config_headers"
   15155 config_commands="$ac_config_commands"
   15156 
   15157 _ACEOF
   15158 
   15159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15160 ac_cs_usage="\
   15161 \`$as_me' instantiates files and other configuration actions
   15162 from templates according to the current configuration.  Unless the files
   15163 and actions are specified as TAGs, all are instantiated by default.
   15164 
   15165 Usage: $0 [OPTION]... [TAG]...
   15166 
   15167   -h, --help       print this help, then exit
   15168   -V, --version    print version number and configuration settings, then exit
   15169       --config     print configuration, then exit
   15170   -q, --quiet, --silent
   15171                    do not print progress messages
   15172   -d, --debug      don't remove temporary files
   15173       --recheck    update $as_me by reconfiguring in the same conditions
   15174       --file=FILE[:TEMPLATE]
   15175                    instantiate the configuration file FILE
   15176       --header=FILE[:TEMPLATE]
   15177                    instantiate the configuration header FILE
   15178 
   15179 Configuration files:
   15180 $config_files
   15181 
   15182 Configuration headers:
   15183 $config_headers
   15184 
   15185 Configuration commands:
   15186 $config_commands
   15187 
   15188 Report bugs to the package provider."
   15189 
   15190 _ACEOF
   15191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15192 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   15193 ac_cs_version="\\
   15194 opcodes config.status 2.43.50
   15195 configured by $0, generated by GNU Autoconf 2.69,
   15196   with options \\"\$ac_cs_config\\"
   15197 
   15198 Copyright (C) 2012 Free Software Foundation, Inc.
   15199 This config.status script is free software; the Free Software Foundation
   15200 gives unlimited permission to copy, distribute and modify it."
   15201 
   15202 ac_pwd='$ac_pwd'
   15203 srcdir='$srcdir'
   15204 INSTALL='$INSTALL'
   15205 MKDIR_P='$MKDIR_P'
   15206 AWK='$AWK'
   15207 test -n "\$AWK" || AWK=awk
   15208 _ACEOF
   15209 
   15210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15211 # The default lists apply if the user does not specify any file.
   15212 ac_need_defaults=:
   15213 while test $# != 0
   15214 do
   15215   case $1 in
   15216   --*=?*)
   15217     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15218     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15219     ac_shift=:
   15220     ;;
   15221   --*=)
   15222     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15223     ac_optarg=
   15224     ac_shift=:
   15225     ;;
   15226   *)
   15227     ac_option=$1
   15228     ac_optarg=$2
   15229     ac_shift=shift
   15230     ;;
   15231   esac
   15232 
   15233   case $ac_option in
   15234   # Handling of the options.
   15235   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15236     ac_cs_recheck=: ;;
   15237   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15238     $as_echo "$ac_cs_version"; exit ;;
   15239   --config | --confi | --conf | --con | --co | --c )
   15240     $as_echo "$ac_cs_config"; exit ;;
   15241   --debug | --debu | --deb | --de | --d | -d )
   15242     debug=: ;;
   15243   --file | --fil | --fi | --f )
   15244     $ac_shift
   15245     case $ac_optarg in
   15246     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15247     '') as_fn_error $? "missing file argument" ;;
   15248     esac
   15249     as_fn_append CONFIG_FILES " '$ac_optarg'"
   15250     ac_need_defaults=false;;
   15251   --header | --heade | --head | --hea )
   15252     $ac_shift
   15253     case $ac_optarg in
   15254     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15255     esac
   15256     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   15257     ac_need_defaults=false;;
   15258   --he | --h)
   15259     # Conflict between --help and --header
   15260     as_fn_error $? "ambiguous option: \`$1'
   15261 Try \`$0 --help' for more information.";;
   15262   --help | --hel | -h )
   15263     $as_echo "$ac_cs_usage"; exit ;;
   15264   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15265   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15266     ac_cs_silent=: ;;
   15267 
   15268   # This is an error.
   15269   -*) as_fn_error $? "unrecognized option: \`$1'
   15270 Try \`$0 --help' for more information." ;;
   15271 
   15272   *) as_fn_append ac_config_targets " $1"
   15273      ac_need_defaults=false ;;
   15274 
   15275   esac
   15276   shift
   15277 done
   15278 
   15279 ac_configure_extra_args=
   15280 
   15281 if $ac_cs_silent; then
   15282   exec 6>/dev/null
   15283   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15284 fi
   15285 
   15286 _ACEOF
   15287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15288 if \$ac_cs_recheck; then
   15289   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15290   shift
   15291   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15292   CONFIG_SHELL='$SHELL'
   15293   export CONFIG_SHELL
   15294   exec "\$@"
   15295 fi
   15296 
   15297 _ACEOF
   15298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15299 exec 5>>config.log
   15300 {
   15301   echo
   15302   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15303 ## Running $as_me. ##
   15304 _ASBOX
   15305   $as_echo "$ac_log"
   15306 } >&5
   15307 
   15308 _ACEOF
   15309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15310 #
   15311 # INIT-COMMANDS
   15312 #
   15313 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   15314 
   15315 
   15316 # The HP-UX ksh and POSIX shell print the target directory to stdout
   15317 # if CDPATH is set.
   15318 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15319 
   15320 sed_quote_subst='$sed_quote_subst'
   15321 double_quote_subst='$double_quote_subst'
   15322 delay_variable_subst='$delay_variable_subst'
   15323 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   15324 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   15325 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   15326 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   15327 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   15328 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   15329 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   15330 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   15331 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   15332 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   15333 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   15334 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   15335 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   15336 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   15337 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   15338 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   15339 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   15340 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   15341 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   15342 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   15343 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   15344 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   15345 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   15346 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   15347 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   15348 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   15349 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   15350 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   15351 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   15352 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   15353 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   15354 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   15355 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   15356 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   15357 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   15358 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   15359 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   15360 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15361 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15362 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   15363 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   15364 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   15365 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   15366 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   15367 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   15368 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   15369 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   15370 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   15371 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"`'
   15372 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   15373 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   15374 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   15375 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   15376 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   15377 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   15378 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   15379 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   15380 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   15381 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   15382 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   15383 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   15384 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   15385 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   15386 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   15387 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15388 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   15389 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   15390 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   15391 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   15392 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   15393 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   15394 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15395 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   15396 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15397 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   15398 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15399 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   15400 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15401 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15402 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   15403 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   15404 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   15405 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   15406 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   15407 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   15408 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15409 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   15410 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   15411 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   15412 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   15413 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   15414 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   15415 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   15416 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   15417 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   15418 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   15419 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   15420 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   15421 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   15422 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   15423 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   15424 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15425 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   15426 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   15427 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   15428 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   15429 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   15430 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15431 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15432 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   15433 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   15434 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   15435 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   15436 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   15437 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   15438 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   15439 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   15440 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   15441 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   15442 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   15443 
   15444 LTCC='$LTCC'
   15445 LTCFLAGS='$LTCFLAGS'
   15446 compiler='$compiler_DEFAULT'
   15447 
   15448 # A function that is used when there is no print builtin or printf.
   15449 func_fallback_echo ()
   15450 {
   15451   eval 'cat <<_LTECHO_EOF
   15452 \$1
   15453 _LTECHO_EOF'
   15454 }
   15455 
   15456 # Quote evaled strings.
   15457 for var in SHELL \
   15458 ECHO \
   15459 SED \
   15460 GREP \
   15461 EGREP \
   15462 FGREP \
   15463 LD \
   15464 NM \
   15465 LN_S \
   15466 lt_SP2NL \
   15467 lt_NL2SP \
   15468 reload_flag \
   15469 OBJDUMP \
   15470 deplibs_check_method \
   15471 file_magic_cmd \
   15472 AR \
   15473 AR_FLAGS \
   15474 STRIP \
   15475 RANLIB \
   15476 CC \
   15477 CFLAGS \
   15478 compiler \
   15479 lt_cv_sys_global_symbol_pipe \
   15480 lt_cv_sys_global_symbol_to_cdecl \
   15481 lt_cv_sys_global_symbol_to_c_name_address \
   15482 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   15483 lt_prog_compiler_no_builtin_flag \
   15484 lt_prog_compiler_wl \
   15485 lt_prog_compiler_pic \
   15486 lt_prog_compiler_static \
   15487 lt_cv_prog_compiler_c_o \
   15488 need_locks \
   15489 DSYMUTIL \
   15490 NMEDIT \
   15491 LIPO \
   15492 OTOOL \
   15493 OTOOL64 \
   15494 shrext_cmds \
   15495 export_dynamic_flag_spec \
   15496 whole_archive_flag_spec \
   15497 compiler_needs_object \
   15498 with_gnu_ld \
   15499 allow_undefined_flag \
   15500 no_undefined_flag \
   15501 hardcode_libdir_flag_spec \
   15502 hardcode_libdir_flag_spec_ld \
   15503 hardcode_libdir_separator \
   15504 fix_srcfile_path \
   15505 exclude_expsyms \
   15506 include_expsyms \
   15507 file_list_spec \
   15508 variables_saved_for_relink \
   15509 libname_spec \
   15510 library_names_spec \
   15511 soname_spec \
   15512 install_override_mode \
   15513 finish_eval \
   15514 old_striplib \
   15515 striplib; do
   15516     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   15517     *[\\\\\\\`\\"\\\$]*)
   15518       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   15519       ;;
   15520     *)
   15521       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15522       ;;
   15523     esac
   15524 done
   15525 
   15526 # Double-quote double-evaled strings.
   15527 for var in reload_cmds \
   15528 old_postinstall_cmds \
   15529 old_postuninstall_cmds \
   15530 old_archive_cmds \
   15531 extract_expsyms_cmds \
   15532 old_archive_from_new_cmds \
   15533 old_archive_from_expsyms_cmds \
   15534 archive_cmds \
   15535 archive_expsym_cmds \
   15536 module_cmds \
   15537 module_expsym_cmds \
   15538 export_symbols_cmds \
   15539 prelink_cmds \
   15540 postinstall_cmds \
   15541 postuninstall_cmds \
   15542 finish_cmds \
   15543 sys_lib_search_path_spec \
   15544 sys_lib_dlsearch_path_spec; do
   15545     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   15546     *[\\\\\\\`\\"\\\$]*)
   15547       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   15548       ;;
   15549     *)
   15550       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15551       ;;
   15552     esac
   15553 done
   15554 
   15555 ac_aux_dir='$ac_aux_dir'
   15556 xsi_shell='$xsi_shell'
   15557 lt_shell_append='$lt_shell_append'
   15558 
   15559 # See if we are running on zsh, and set the options which allow our
   15560 # commands through without removal of \ escapes INIT.
   15561 if test -n "\${ZSH_VERSION+set}" ; then
   15562    setopt NO_GLOB_SUBST
   15563 fi
   15564 
   15565 
   15566     PACKAGE='$PACKAGE'
   15567     VERSION='$VERSION'
   15568     TIMESTAMP='$TIMESTAMP'
   15569     RM='$RM'
   15570     ofile='$ofile'
   15571 
   15572 
   15573 
   15574 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   15575     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   15576     # from automake.
   15577     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   15578     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   15579     LINGUAS="${LINGUAS-%UNSET%}"
   15580 
   15581 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   15582     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   15583     # from automake.
   15584     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   15585     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   15586     LINGUAS="${LINGUAS-%UNSET%}"
   15587 
   15588 
   15589 _ACEOF
   15590 
   15591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15592 
   15593 # Handling of arguments.
   15594 for ac_config_target in $ac_config_targets
   15595 do
   15596   case $ac_config_target in
   15597     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   15598     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   15599     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
   15600     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   15601     "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
   15602     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   15603     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
   15604 
   15605   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   15606   esac
   15607 done
   15608 
   15609 
   15610 # If the user did not use the arguments to specify the items to instantiate,
   15611 # then the envvar interface is used.  Set only those that are not.
   15612 # We use the long form for the default assignment because of an extremely
   15613 # bizarre bug on SunOS 4.1.3.
   15614 if $ac_need_defaults; then
   15615   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   15616   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   15617   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   15618 fi
   15619 
   15620 # Have a temporary directory for convenience.  Make it in the build tree
   15621 # simply because there is no reason against having it here, and in addition,
   15622 # creating and moving files from /tmp can sometimes cause problems.
   15623 # Hook for its removal unless debugging.
   15624 # Note that there is a small window in which the directory will not be cleaned:
   15625 # after its creation but before its name has been assigned to `$tmp'.
   15626 $debug ||
   15627 {
   15628   tmp= ac_tmp=
   15629   trap 'exit_status=$?
   15630   : "${ac_tmp:=$tmp}"
   15631   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   15632 ' 0
   15633   trap 'as_fn_exit 1' 1 2 13 15
   15634 }
   15635 # Create a (secure) tmp directory for tmp files.
   15636 
   15637 {
   15638   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   15639   test -d "$tmp"
   15640 }  ||
   15641 {
   15642   tmp=./conf$$-$RANDOM
   15643   (umask 077 && mkdir "$tmp")
   15644 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   15645 ac_tmp=$tmp
   15646 
   15647 # Set up the scripts for CONFIG_FILES section.
   15648 # No need to generate them if there are no CONFIG_FILES.
   15649 # This happens for instance with `./config.status config.h'.
   15650 if test -n "$CONFIG_FILES"; then
   15651 
   15652 
   15653 ac_cr=`echo X | tr X '\015'`
   15654 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   15655 # But we know of no other shell where ac_cr would be empty at this
   15656 # point, so we can use a bashism as a fallback.
   15657 if test "x$ac_cr" = x; then
   15658   eval ac_cr=\$\'\\r\'
   15659 fi
   15660 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15661 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15662   ac_cs_awk_cr='\\r'
   15663 else
   15664   ac_cs_awk_cr=$ac_cr
   15665 fi
   15666 
   15667 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   15668 _ACEOF
   15669 
   15670 
   15671 {
   15672   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15673   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15674   echo "_ACEOF"
   15675 } >conf$$subs.sh ||
   15676   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15677 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   15678 ac_delim='%!_!# '
   15679 for ac_last_try in false false false false false :; do
   15680   . ./conf$$subs.sh ||
   15681     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15682 
   15683   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15684   if test $ac_delim_n = $ac_delim_num; then
   15685     break
   15686   elif $ac_last_try; then
   15687     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15688   else
   15689     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15690   fi
   15691 done
   15692 rm -f conf$$subs.sh
   15693 
   15694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15695 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   15696 _ACEOF
   15697 sed -n '
   15698 h
   15699 s/^/S["/; s/!.*/"]=/
   15700 p
   15701 g
   15702 s/^[^!]*!//
   15703 :repl
   15704 t repl
   15705 s/'"$ac_delim"'$//
   15706 t delim
   15707 :nl
   15708 h
   15709 s/\(.\{148\}\)..*/\1/
   15710 t more1
   15711 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15712 p
   15713 n
   15714 b repl
   15715 :more1
   15716 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15717 p
   15718 g
   15719 s/.\{148\}//
   15720 t nl
   15721 :delim
   15722 h
   15723 s/\(.\{148\}\)..*/\1/
   15724 t more2
   15725 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15726 p
   15727 b
   15728 :more2
   15729 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15730 p
   15731 g
   15732 s/.\{148\}//
   15733 t delim
   15734 ' <conf$$subs.awk | sed '
   15735 /^[^""]/{
   15736   N
   15737   s/\n//
   15738 }
   15739 ' >>$CONFIG_STATUS || ac_write_fail=1
   15740 rm -f conf$$subs.awk
   15741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15742 _ACAWK
   15743 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   15744   for (key in S) S_is_set[key] = 1
   15745   FS = ""
   15746 
   15747 }
   15748 {
   15749   line = $ 0
   15750   nfields = split(line, field, "@")
   15751   substed = 0
   15752   len = length(field[1])
   15753   for (i = 2; i < nfields; i++) {
   15754     key = field[i]
   15755     keylen = length(key)
   15756     if (S_is_set[key]) {
   15757       value = S[key]
   15758       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15759       len += length(value) + length(field[++i])
   15760       substed = 1
   15761     } else
   15762       len += 1 + keylen
   15763   }
   15764 
   15765   print line
   15766 }
   15767 
   15768 _ACAWK
   15769 _ACEOF
   15770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15771 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15772   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15773 else
   15774   cat
   15775 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   15776   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   15777 _ACEOF
   15778 
   15779 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   15780 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   15781 # trailing colons and then remove the whole line if VPATH becomes empty
   15782 # (actually we leave an empty line to preserve line numbers).
   15783 if test "x$srcdir" = x.; then
   15784   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   15785 h
   15786 s///
   15787 s/^/:/
   15788 s/[	 ]*$/:/
   15789 s/:\$(srcdir):/:/g
   15790 s/:\${srcdir}:/:/g
   15791 s/:@srcdir@:/:/g
   15792 s/^:*//
   15793 s/:*$//
   15794 x
   15795 s/\(=[	 ]*\).*/\1/
   15796 G
   15797 s/\n//
   15798 s/^[^=]*=[	 ]*$//
   15799 }'
   15800 fi
   15801 
   15802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15803 fi # test -n "$CONFIG_FILES"
   15804 
   15805 # Set up the scripts for CONFIG_HEADERS section.
   15806 # No need to generate them if there are no CONFIG_HEADERS.
   15807 # This happens for instance with `./config.status Makefile'.
   15808 if test -n "$CONFIG_HEADERS"; then
   15809 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   15810 BEGIN {
   15811 _ACEOF
   15812 
   15813 # Transform confdefs.h into an awk script `defines.awk', embedded as
   15814 # here-document in config.status, that substitutes the proper values into
   15815 # config.h.in to produce config.h.
   15816 
   15817 # Create a delimiter string that does not exist in confdefs.h, to ease
   15818 # handling of long lines.
   15819 ac_delim='%!_!# '
   15820 for ac_last_try in false false :; do
   15821   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   15822   if test -z "$ac_tt"; then
   15823     break
   15824   elif $ac_last_try; then
   15825     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   15826   else
   15827     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15828   fi
   15829 done
   15830 
   15831 # For the awk script, D is an array of macro values keyed by name,
   15832 # likewise P contains macro parameters if any.  Preserve backslash
   15833 # newline sequences.
   15834 
   15835 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   15836 sed -n '
   15837 s/.\{148\}/&'"$ac_delim"'/g
   15838 t rset
   15839 :rset
   15840 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   15841 t def
   15842 d
   15843 :def
   15844 s/\\$//
   15845 t bsnl
   15846 s/["\\]/\\&/g
   15847 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15848 D["\1"]=" \3"/p
   15849 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   15850 d
   15851 :bsnl
   15852 s/["\\]/\\&/g
   15853 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15854 D["\1"]=" \3\\\\\\n"\\/p
   15855 t cont
   15856 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   15857 t cont
   15858 d
   15859 :cont
   15860 n
   15861 s/.\{148\}/&'"$ac_delim"'/g
   15862 t clear
   15863 :clear
   15864 s/\\$//
   15865 t bsnlc
   15866 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   15867 d
   15868 :bsnlc
   15869 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   15870 b cont
   15871 ' <confdefs.h | sed '
   15872 s/'"$ac_delim"'/"\\\
   15873 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   15874 
   15875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15876   for (key in D) D_is_set[key] = 1
   15877   FS = ""
   15878 }
   15879 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   15880   line = \$ 0
   15881   split(line, arg, " ")
   15882   if (arg[1] == "#") {
   15883     defundef = arg[2]
   15884     mac1 = arg[3]
   15885   } else {
   15886     defundef = substr(arg[1], 2)
   15887     mac1 = arg[2]
   15888   }
   15889   split(mac1, mac2, "(") #)
   15890   macro = mac2[1]
   15891   prefix = substr(line, 1, index(line, defundef) - 1)
   15892   if (D_is_set[macro]) {
   15893     # Preserve the white space surrounding the "#".
   15894     print prefix "define", macro P[macro] D[macro]
   15895     next
   15896   } else {
   15897     # Replace #undef with comments.  This is necessary, for example,
   15898     # in the case of _POSIX_SOURCE, which is predefined and required
   15899     # on some systems where configure will not decide to define it.
   15900     if (defundef == "undef") {
   15901       print "/*", prefix defundef, macro, "*/"
   15902       next
   15903     }
   15904   }
   15905 }
   15906 { print }
   15907 _ACAWK
   15908 _ACEOF
   15909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15910   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   15911 fi # test -n "$CONFIG_HEADERS"
   15912 
   15913 
   15914 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   15915 shift
   15916 for ac_tag
   15917 do
   15918   case $ac_tag in
   15919   :[FHLC]) ac_mode=$ac_tag; continue;;
   15920   esac
   15921   case $ac_mode$ac_tag in
   15922   :[FHL]*:*);;
   15923   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15924   :[FH]-) ac_tag=-:-;;
   15925   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15926   esac
   15927   ac_save_IFS=$IFS
   15928   IFS=:
   15929   set x $ac_tag
   15930   IFS=$ac_save_IFS
   15931   shift
   15932   ac_file=$1
   15933   shift
   15934 
   15935   case $ac_mode in
   15936   :L) ac_source=$1;;
   15937   :[FH])
   15938     ac_file_inputs=
   15939     for ac_f
   15940     do
   15941       case $ac_f in
   15942       -) ac_f="$ac_tmp/stdin";;
   15943       *) # Look for the file first in the build tree, then in the source tree
   15944 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15945 	 # because $ac_f cannot contain `:'.
   15946 	 test -f "$ac_f" ||
   15947 	   case $ac_f in
   15948 	   [\\/$]*) false;;
   15949 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15950 	   esac ||
   15951 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   15952       esac
   15953       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15954       as_fn_append ac_file_inputs " '$ac_f'"
   15955     done
   15956 
   15957     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15958     # use $as_me), people would be surprised to read:
   15959     #    /* config.h.  Generated by config.status.  */
   15960     configure_input='Generated from '`
   15961 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15962 	`' by configure.'
   15963     if test x"$ac_file" != x-; then
   15964       configure_input="$ac_file.  $configure_input"
   15965       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15966 $as_echo "$as_me: creating $ac_file" >&6;}
   15967     fi
   15968     # Neutralize special characters interpreted by sed in replacement strings.
   15969     case $configure_input in #(
   15970     *\&* | *\|* | *\\* )
   15971        ac_sed_conf_input=`$as_echo "$configure_input" |
   15972        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15973     *) ac_sed_conf_input=$configure_input;;
   15974     esac
   15975 
   15976     case $ac_tag in
   15977     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   15978       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   15979     esac
   15980     ;;
   15981   esac
   15982 
   15983   ac_dir=`$as_dirname -- "$ac_file" ||
   15984 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15985 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15986 	 X"$ac_file" : 'X\(//\)$' \| \
   15987 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15988 $as_echo X"$ac_file" |
   15989     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15990 	    s//\1/
   15991 	    q
   15992 	  }
   15993 	  /^X\(\/\/\)[^/].*/{
   15994 	    s//\1/
   15995 	    q
   15996 	  }
   15997 	  /^X\(\/\/\)$/{
   15998 	    s//\1/
   15999 	    q
   16000 	  }
   16001 	  /^X\(\/\).*/{
   16002 	    s//\1/
   16003 	    q
   16004 	  }
   16005 	  s/.*/./; q'`
   16006   as_dir="$ac_dir"; as_fn_mkdir_p
   16007   ac_builddir=.
   16008 
   16009 case "$ac_dir" in
   16010 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16011 *)
   16012   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   16013   # A ".." for each directory in $ac_dir_suffix.
   16014   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   16015   case $ac_top_builddir_sub in
   16016   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16017   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   16018   esac ;;
   16019 esac
   16020 ac_abs_top_builddir=$ac_pwd
   16021 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   16022 # for backward compatibility:
   16023 ac_top_builddir=$ac_top_build_prefix
   16024 
   16025 case $srcdir in
   16026   .)  # We are building in place.
   16027     ac_srcdir=.
   16028     ac_top_srcdir=$ac_top_builddir_sub
   16029     ac_abs_top_srcdir=$ac_pwd ;;
   16030   [\\/]* | ?:[\\/]* )  # Absolute name.
   16031     ac_srcdir=$srcdir$ac_dir_suffix;
   16032     ac_top_srcdir=$srcdir
   16033     ac_abs_top_srcdir=$srcdir ;;
   16034   *) # Relative name.
   16035     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   16036     ac_top_srcdir=$ac_top_build_prefix$srcdir
   16037     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   16038 esac
   16039 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   16040 
   16041 
   16042   case $ac_mode in
   16043   :F)
   16044   #
   16045   # CONFIG_FILE
   16046   #
   16047 
   16048   case $INSTALL in
   16049   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   16050   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   16051   esac
   16052   ac_MKDIR_P=$MKDIR_P
   16053   case $MKDIR_P in
   16054   [\\/$]* | ?:[\\/]* ) ;;
   16055   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   16056   esac
   16057 _ACEOF
   16058 
   16059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16060 # If the template does not know about datarootdir, expand it.
   16061 # FIXME: This hack should be removed a few years after 2.60.
   16062 ac_datarootdir_hack=; ac_datarootdir_seen=
   16063 ac_sed_dataroot='
   16064 /datarootdir/ {
   16065   p
   16066   q
   16067 }
   16068 /@datadir@/p
   16069 /@docdir@/p
   16070 /@infodir@/p
   16071 /@localedir@/p
   16072 /@mandir@/p'
   16073 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   16074 *datarootdir*) ac_datarootdir_seen=yes;;
   16075 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   16076   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   16077 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   16078 _ACEOF
   16079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16080   ac_datarootdir_hack='
   16081   s&@datadir@&$datadir&g
   16082   s&@docdir@&$docdir&g
   16083   s&@infodir@&$infodir&g
   16084   s&@localedir@&$localedir&g
   16085   s&@mandir@&$mandir&g
   16086   s&\\\${datarootdir}&$datarootdir&g' ;;
   16087 esac
   16088 _ACEOF
   16089 
   16090 # Neutralize VPATH when `$srcdir' = `.'.
   16091 # Shell code in configure.ac might set extrasub.
   16092 # FIXME: do we really want to maintain this feature?
   16093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16094 ac_sed_extra="$ac_vpsub
   16095 $extrasub
   16096 _ACEOF
   16097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16098 :t
   16099 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   16100 s|@configure_input@|$ac_sed_conf_input|;t t
   16101 s&@top_builddir@&$ac_top_builddir_sub&;t t
   16102 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   16103 s&@srcdir@&$ac_srcdir&;t t
   16104 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   16105 s&@top_srcdir@&$ac_top_srcdir&;t t
   16106 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   16107 s&@builddir@&$ac_builddir&;t t
   16108 s&@abs_builddir@&$ac_abs_builddir&;t t
   16109 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   16110 s&@INSTALL@&$ac_INSTALL&;t t
   16111 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   16112 $ac_datarootdir_hack
   16113 "
   16114 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   16115   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16116 
   16117 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   16118   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   16119   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   16120       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   16121   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16122 which seems to be undefined.  Please make sure it is defined" >&5
   16123 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16124 which seems to be undefined.  Please make sure it is defined" >&2;}
   16125 
   16126   rm -f "$ac_tmp/stdin"
   16127   case $ac_file in
   16128   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   16129   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   16130   esac \
   16131   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16132  ;;
   16133   :H)
   16134   #
   16135   # CONFIG_HEADER
   16136   #
   16137   if test x"$ac_file" != x-; then
   16138     {
   16139       $as_echo "/* $configure_input  */" \
   16140       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   16141     } >"$ac_tmp/config.h" \
   16142       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16143     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   16144       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   16145 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   16146     else
   16147       rm -f "$ac_file"
   16148       mv "$ac_tmp/config.h" "$ac_file" \
   16149 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16150     fi
   16151   else
   16152     $as_echo "/* $configure_input  */" \
   16153       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   16154       || as_fn_error $? "could not create -" "$LINENO" 5
   16155   fi
   16156 # Compute "$ac_file"'s index in $config_headers.
   16157 _am_arg="$ac_file"
   16158 _am_stamp_count=1
   16159 for _am_header in $config_headers :; do
   16160   case $_am_header in
   16161     $_am_arg | $_am_arg:* )
   16162       break ;;
   16163     * )
   16164       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   16165   esac
   16166 done
   16167 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   16168 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16169 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   16170 	 X"$_am_arg" : 'X\(//\)$' \| \
   16171 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   16172 $as_echo X"$_am_arg" |
   16173     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16174 	    s//\1/
   16175 	    q
   16176 	  }
   16177 	  /^X\(\/\/\)[^/].*/{
   16178 	    s//\1/
   16179 	    q
   16180 	  }
   16181 	  /^X\(\/\/\)$/{
   16182 	    s//\1/
   16183 	    q
   16184 	  }
   16185 	  /^X\(\/\).*/{
   16186 	    s//\1/
   16187 	    q
   16188 	  }
   16189 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   16190  ;;
   16191 
   16192   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   16193 $as_echo "$as_me: executing $ac_file commands" >&6;}
   16194  ;;
   16195   esac
   16196 
   16197 
   16198   case $ac_file$ac_mode in
   16199     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   16200   # Older Autoconf quotes --file arguments for eval, but not when files
   16201   # are listed without --file.  Let's play safe and only enable the eval
   16202   # if we detect the quoting.
   16203   case $CONFIG_FILES in
   16204   *\'*) eval set x "$CONFIG_FILES" ;;
   16205   *)   set x $CONFIG_FILES ;;
   16206   esac
   16207   shift
   16208   for mf
   16209   do
   16210     # Strip MF so we end up with the name of the file.
   16211     mf=`echo "$mf" | sed -e 's/:.*$//'`
   16212     # Check whether this is an Automake generated Makefile or not.
   16213     # We used to match only the files named 'Makefile.in', but
   16214     # some people rename them; so instead we look at the file content.
   16215     # Grep'ing the first line is not enough: some people post-process
   16216     # each Makefile.in and add a new line on top of each file to say so.
   16217     # Grep'ing the whole file is not good either: AIX grep has a line
   16218     # limit of 2048, but all sed's we know have understand at least 4000.
   16219     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   16220       dirpart=`$as_dirname -- "$mf" ||
   16221 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16222 	 X"$mf" : 'X\(//\)[^/]' \| \
   16223 	 X"$mf" : 'X\(//\)$' \| \
   16224 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   16225 $as_echo X"$mf" |
   16226     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16227 	    s//\1/
   16228 	    q
   16229 	  }
   16230 	  /^X\(\/\/\)[^/].*/{
   16231 	    s//\1/
   16232 	    q
   16233 	  }
   16234 	  /^X\(\/\/\)$/{
   16235 	    s//\1/
   16236 	    q
   16237 	  }
   16238 	  /^X\(\/\).*/{
   16239 	    s//\1/
   16240 	    q
   16241 	  }
   16242 	  s/.*/./; q'`
   16243     else
   16244       continue
   16245     fi
   16246     # Extract the definition of DEPDIR, am__include, and am__quote
   16247     # from the Makefile without running 'make'.
   16248     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   16249     test -z "$DEPDIR" && continue
   16250     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   16251     test -z "$am__include" && continue
   16252     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   16253     # Find all dependency output files, they are included files with
   16254     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   16255     # simplest approach to changing $(DEPDIR) to its actual value in the
   16256     # expansion.
   16257     for file in `sed -n "
   16258       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   16259 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   16260       # Make sure the directory exists.
   16261       test -f "$dirpart/$file" && continue
   16262       fdir=`$as_dirname -- "$file" ||
   16263 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16264 	 X"$file" : 'X\(//\)[^/]' \| \
   16265 	 X"$file" : 'X\(//\)$' \| \
   16266 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   16267 $as_echo X"$file" |
   16268     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16269 	    s//\1/
   16270 	    q
   16271 	  }
   16272 	  /^X\(\/\/\)[^/].*/{
   16273 	    s//\1/
   16274 	    q
   16275 	  }
   16276 	  /^X\(\/\/\)$/{
   16277 	    s//\1/
   16278 	    q
   16279 	  }
   16280 	  /^X\(\/\).*/{
   16281 	    s//\1/
   16282 	    q
   16283 	  }
   16284 	  s/.*/./; q'`
   16285       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   16286       # echo "creating $dirpart/$file"
   16287       echo '# dummy' > "$dirpart/$file"
   16288     done
   16289   done
   16290 }
   16291  ;;
   16292     "libtool":C)
   16293 
   16294     # See if we are running on zsh, and set the options which allow our
   16295     # commands through without removal of \ escapes.
   16296     if test -n "${ZSH_VERSION+set}" ; then
   16297       setopt NO_GLOB_SUBST
   16298     fi
   16299 
   16300     cfgfile="${ofile}T"
   16301     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   16302     $RM "$cfgfile"
   16303 
   16304     cat <<_LT_EOF >> "$cfgfile"
   16305 #! $SHELL
   16306 
   16307 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   16308 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   16309 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16310 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   16311 #
   16312 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   16313 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   16314 #   Written by Gordon Matzigkeit, 1996
   16315 #
   16316 #   This file is part of GNU Libtool.
   16317 #
   16318 # GNU Libtool is free software; you can redistribute it and/or
   16319 # modify it under the terms of the GNU General Public License as
   16320 # published by the Free Software Foundation; either version 2 of
   16321 # the License, or (at your option) any later version.
   16322 #
   16323 # As a special exception to the GNU General Public License,
   16324 # if you distribute this file as part of a program or library that
   16325 # is built using GNU Libtool, you may include this file under the
   16326 # same distribution terms that you use for the rest of that program.
   16327 #
   16328 # GNU Libtool is distributed in the hope that it will be useful,
   16329 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   16330 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16331 # GNU General Public License for more details.
   16332 #
   16333 # You should have received a copy of the GNU General Public License
   16334 # along with GNU Libtool; see the file COPYING.  If not, a copy
   16335 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   16336 # obtained by writing to the Free Software Foundation, Inc.,
   16337 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   16338 
   16339 
   16340 # The names of the tagged configurations supported by this script.
   16341 available_tags=""
   16342 
   16343 # ### BEGIN LIBTOOL CONFIG
   16344 
   16345 # Whether or not to build shared libraries.
   16346 build_libtool_libs=$enable_shared
   16347 
   16348 # Which release of libtool.m4 was used?
   16349 macro_version=$macro_version
   16350 macro_revision=$macro_revision
   16351 
   16352 # Whether or not to build static libraries.
   16353 build_old_libs=$enable_static
   16354 
   16355 # What type of objects to build.
   16356 pic_mode=$pic_mode
   16357 
   16358 # Whether or not to optimize for fast installation.
   16359 fast_install=$enable_fast_install
   16360 
   16361 # Shell to use when invoking shell scripts.
   16362 SHELL=$lt_SHELL
   16363 
   16364 # An echo program that protects backslashes.
   16365 ECHO=$lt_ECHO
   16366 
   16367 # The host system.
   16368 host_alias=$host_alias
   16369 host=$host
   16370 host_os=$host_os
   16371 
   16372 # The build system.
   16373 build_alias=$build_alias
   16374 build=$build
   16375 build_os=$build_os
   16376 
   16377 # A sed program that does not truncate output.
   16378 SED=$lt_SED
   16379 
   16380 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   16381 Xsed="\$SED -e 1s/^X//"
   16382 
   16383 # A grep program that handles long lines.
   16384 GREP=$lt_GREP
   16385 
   16386 # An ERE matcher.
   16387 EGREP=$lt_EGREP
   16388 
   16389 # A literal string matcher.
   16390 FGREP=$lt_FGREP
   16391 
   16392 # A BSD- or MS-compatible name lister.
   16393 NM=$lt_NM
   16394 
   16395 # Whether we need soft or hard links.
   16396 LN_S=$lt_LN_S
   16397 
   16398 # What is the maximum length of a command?
   16399 max_cmd_len=$max_cmd_len
   16400 
   16401 # Object file suffix (normally "o").
   16402 objext=$ac_objext
   16403 
   16404 # Executable file suffix (normally "").
   16405 exeext=$exeext
   16406 
   16407 # whether the shell understands "unset".
   16408 lt_unset=$lt_unset
   16409 
   16410 # turn spaces into newlines.
   16411 SP2NL=$lt_lt_SP2NL
   16412 
   16413 # turn newlines into spaces.
   16414 NL2SP=$lt_lt_NL2SP
   16415 
   16416 # An object symbol dumper.
   16417 OBJDUMP=$lt_OBJDUMP
   16418 
   16419 # Method to check whether dependent libraries are shared objects.
   16420 deplibs_check_method=$lt_deplibs_check_method
   16421 
   16422 # Command to use when deplibs_check_method == "file_magic".
   16423 file_magic_cmd=$lt_file_magic_cmd
   16424 
   16425 # The archiver.
   16426 AR=$lt_AR
   16427 AR_FLAGS=$lt_AR_FLAGS
   16428 
   16429 # A symbol stripping program.
   16430 STRIP=$lt_STRIP
   16431 
   16432 # Commands used to install an old-style archive.
   16433 RANLIB=$lt_RANLIB
   16434 old_postinstall_cmds=$lt_old_postinstall_cmds
   16435 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16436 
   16437 # Whether to use a lock for old archive extraction.
   16438 lock_old_archive_extraction=$lock_old_archive_extraction
   16439 
   16440 # A C compiler.
   16441 LTCC=$lt_CC
   16442 
   16443 # LTCC compiler flags.
   16444 LTCFLAGS=$lt_CFLAGS
   16445 
   16446 # Take the output of nm and produce a listing of raw symbols and C names.
   16447 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16448 
   16449 # Transform the output of nm in a proper C declaration.
   16450 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16451 
   16452 # Transform the output of nm in a C name address pair.
   16453 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16454 
   16455 # Transform the output of nm in a C name address pair when lib prefix is needed.
   16456 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   16457 
   16458 # The name of the directory that contains temporary libtool files.
   16459 objdir=$objdir
   16460 
   16461 # Used to examine libraries when file_magic_cmd begins with "file".
   16462 MAGIC_CMD=$MAGIC_CMD
   16463 
   16464 # Must we lock files when doing compilation?
   16465 need_locks=$lt_need_locks
   16466 
   16467 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   16468 DSYMUTIL=$lt_DSYMUTIL
   16469 
   16470 # Tool to change global to local symbols on Mac OS X.
   16471 NMEDIT=$lt_NMEDIT
   16472 
   16473 # Tool to manipulate fat objects and archives on Mac OS X.
   16474 LIPO=$lt_LIPO
   16475 
   16476 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   16477 OTOOL=$lt_OTOOL
   16478 
   16479 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   16480 OTOOL64=$lt_OTOOL64
   16481 
   16482 # Old archive suffix (normally "a").
   16483 libext=$libext
   16484 
   16485 # Shared library suffix (normally ".so").
   16486 shrext_cmds=$lt_shrext_cmds
   16487 
   16488 # The commands to extract the exported symbol list from a shared archive.
   16489 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16490 
   16491 # Variables whose values should be saved in libtool wrapper scripts and
   16492 # restored at link time.
   16493 variables_saved_for_relink=$lt_variables_saved_for_relink
   16494 
   16495 # Do we need the "lib" prefix for modules?
   16496 need_lib_prefix=$need_lib_prefix
   16497 
   16498 # Do we need a version for libraries?
   16499 need_version=$need_version
   16500 
   16501 # Library versioning type.
   16502 version_type=$version_type
   16503 
   16504 # Shared library runtime path variable.
   16505 runpath_var=$runpath_var
   16506 
   16507 # Shared library path variable.
   16508 shlibpath_var=$shlibpath_var
   16509 
   16510 # Is shlibpath searched before the hard-coded library search path?
   16511 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16512 
   16513 # Format of library name prefix.
   16514 libname_spec=$lt_libname_spec
   16515 
   16516 # List of archive names.  First name is the real one, the rest are links.
   16517 # The last name is the one that the linker finds with -lNAME
   16518 library_names_spec=$lt_library_names_spec
   16519 
   16520 # The coded name of the library, if different from the real name.
   16521 soname_spec=$lt_soname_spec
   16522 
   16523 # Permission mode override for installation of shared libraries.
   16524 install_override_mode=$lt_install_override_mode
   16525 
   16526 # Command to use after installation of a shared archive.
   16527 postinstall_cmds=$lt_postinstall_cmds
   16528 
   16529 # Command to use after uninstallation of a shared archive.
   16530 postuninstall_cmds=$lt_postuninstall_cmds
   16531 
   16532 # Commands used to finish a libtool library installation in a directory.
   16533 finish_cmds=$lt_finish_cmds
   16534 
   16535 # As "finish_cmds", except a single script fragment to be evaled but
   16536 # not shown.
   16537 finish_eval=$lt_finish_eval
   16538 
   16539 # Whether we should hardcode library paths into libraries.
   16540 hardcode_into_libs=$hardcode_into_libs
   16541 
   16542 # Compile-time system search path for libraries.
   16543 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16544 
   16545 # Run-time system search path for libraries.
   16546 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16547 
   16548 # Whether dlopen is supported.
   16549 dlopen_support=$enable_dlopen
   16550 
   16551 # Whether dlopen of programs is supported.
   16552 dlopen_self=$enable_dlopen_self
   16553 
   16554 # Whether dlopen of statically linked programs is supported.
   16555 dlopen_self_static=$enable_dlopen_self_static
   16556 
   16557 # Commands to strip libraries.
   16558 old_striplib=$lt_old_striplib
   16559 striplib=$lt_striplib
   16560 
   16561 
   16562 # The linker used to build libraries.
   16563 LD=$lt_LD
   16564 
   16565 # How to create reloadable object files.
   16566 reload_flag=$lt_reload_flag
   16567 reload_cmds=$lt_reload_cmds
   16568 
   16569 # Commands used to build an old-style archive.
   16570 old_archive_cmds=$lt_old_archive_cmds
   16571 
   16572 # A language specific compiler.
   16573 CC=$lt_compiler
   16574 
   16575 # Is the compiler the GNU compiler?
   16576 with_gcc=$GCC
   16577 
   16578 # Compiler flag to turn off builtin functions.
   16579 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   16580 
   16581 # How to pass a linker flag through the compiler.
   16582 wl=$lt_lt_prog_compiler_wl
   16583 
   16584 # Additional compiler flags for building library objects.
   16585 pic_flag=$lt_lt_prog_compiler_pic
   16586 
   16587 # Compiler flag to prevent dynamic linking.
   16588 link_static_flag=$lt_lt_prog_compiler_static
   16589 
   16590 # Does compiler simultaneously support -c and -o options?
   16591 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   16592 
   16593 # Whether or not to add -lc for building shared libraries.
   16594 build_libtool_need_lc=$archive_cmds_need_lc
   16595 
   16596 # Whether or not to disallow shared libs when runtime libs are static.
   16597 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   16598 
   16599 # Compiler flag to allow reflexive dlopens.
   16600 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   16601 
   16602 # Compiler flag to generate shared objects directly from archives.
   16603 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   16604 
   16605 # Whether the compiler copes with passing no objects directly.
   16606 compiler_needs_object=$lt_compiler_needs_object
   16607 
   16608 # Create an old-style archive from a shared archive.
   16609 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   16610 
   16611 # Create a temporary old-style archive to link instead of a shared archive.
   16612 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   16613 
   16614 # Commands used to build a shared archive.
   16615 archive_cmds=$lt_archive_cmds
   16616 archive_expsym_cmds=$lt_archive_expsym_cmds
   16617 
   16618 # Commands used to build a loadable module if different from building
   16619 # a shared archive.
   16620 module_cmds=$lt_module_cmds
   16621 module_expsym_cmds=$lt_module_expsym_cmds
   16622 
   16623 # Whether we are building with GNU ld or not.
   16624 with_gnu_ld=$lt_with_gnu_ld
   16625 
   16626 # Flag that allows shared libraries with undefined symbols to be built.
   16627 allow_undefined_flag=$lt_allow_undefined_flag
   16628 
   16629 # Flag that enforces no undefined symbols.
   16630 no_undefined_flag=$lt_no_undefined_flag
   16631 
   16632 # Flag to hardcode \$libdir into a binary during linking.
   16633 # This must work even if \$libdir does not exist
   16634 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   16635 
   16636 # If ld is used when linking, flag to hardcode \$libdir into a binary
   16637 # during linking.  This must work even if \$libdir does not exist.
   16638 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   16639 
   16640 # Whether we need a single "-rpath" flag with a separated argument.
   16641 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   16642 
   16643 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16644 # DIR into the resulting binary.
   16645 hardcode_direct=$hardcode_direct
   16646 
   16647 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16648 # DIR into the resulting binary and the resulting library dependency is
   16649 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   16650 # library is relocated.
   16651 hardcode_direct_absolute=$hardcode_direct_absolute
   16652 
   16653 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   16654 # into the resulting binary.
   16655 hardcode_minus_L=$hardcode_minus_L
   16656 
   16657 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   16658 # into the resulting binary.
   16659 hardcode_shlibpath_var=$hardcode_shlibpath_var
   16660 
   16661 # Set to "yes" if building a shared library automatically hardcodes DIR
   16662 # into the library and all subsequent libraries and executables linked
   16663 # against it.
   16664 hardcode_automatic=$hardcode_automatic
   16665 
   16666 # Set to yes if linker adds runtime paths of dependent libraries
   16667 # to runtime path list.
   16668 inherit_rpath=$inherit_rpath
   16669 
   16670 # Whether libtool must link a program against all its dependency libraries.
   16671 link_all_deplibs=$link_all_deplibs
   16672 
   16673 # Fix the shell variable \$srcfile for the compiler.
   16674 fix_srcfile_path=$lt_fix_srcfile_path
   16675 
   16676 # Set to "yes" if exported symbols are required.
   16677 always_export_symbols=$always_export_symbols
   16678 
   16679 # The commands to list exported symbols.
   16680 export_symbols_cmds=$lt_export_symbols_cmds
   16681 
   16682 # Symbols that should not be listed in the preloaded symbols.
   16683 exclude_expsyms=$lt_exclude_expsyms
   16684 
   16685 # Symbols that must always be exported.
   16686 include_expsyms=$lt_include_expsyms
   16687 
   16688 # Commands necessary for linking programs (against libraries) with templates.
   16689 prelink_cmds=$lt_prelink_cmds
   16690 
   16691 # Specify filename containing input files.
   16692 file_list_spec=$lt_file_list_spec
   16693 
   16694 # How to hardcode a shared library path into an executable.
   16695 hardcode_action=$hardcode_action
   16696 
   16697 # ### END LIBTOOL CONFIG
   16698 
   16699 _LT_EOF
   16700 
   16701   case $host_os in
   16702   aix3*)
   16703     cat <<\_LT_EOF >> "$cfgfile"
   16704 # AIX sometimes has problems with the GCC collect2 program.  For some
   16705 # reason, if we set the COLLECT_NAMES environment variable, the problems
   16706 # vanish in a puff of smoke.
   16707 if test "X${COLLECT_NAMES+set}" != Xset; then
   16708   COLLECT_NAMES=
   16709   export COLLECT_NAMES
   16710 fi
   16711 _LT_EOF
   16712     ;;
   16713   esac
   16714 
   16715 
   16716 ltmain="$ac_aux_dir/ltmain.sh"
   16717 
   16718 
   16719   # We use sed instead of cat because bash on DJGPP gets confused if
   16720   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   16721   # text mode, it properly converts lines to CR/LF.  This bash problem
   16722   # is reportedly fixed, but why not run on old versions too?
   16723   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   16724     || (rm -f "$cfgfile"; exit 1)
   16725 
   16726   case $xsi_shell in
   16727   yes)
   16728     cat << \_LT_EOF >> "$cfgfile"
   16729 
   16730 # func_dirname file append nondir_replacement
   16731 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   16732 # otherwise set result to NONDIR_REPLACEMENT.
   16733 func_dirname ()
   16734 {
   16735   case ${1} in
   16736     */*) func_dirname_result="${1%/*}${2}" ;;
   16737     *  ) func_dirname_result="${3}" ;;
   16738   esac
   16739 }
   16740 
   16741 # func_basename file
   16742 func_basename ()
   16743 {
   16744   func_basename_result="${1##*/}"
   16745 }
   16746 
   16747 # func_dirname_and_basename file append nondir_replacement
   16748 # perform func_basename and func_dirname in a single function
   16749 # call:
   16750 #   dirname:  Compute the dirname of FILE.  If nonempty,
   16751 #             add APPEND to the result, otherwise set result
   16752 #             to NONDIR_REPLACEMENT.
   16753 #             value returned in "$func_dirname_result"
   16754 #   basename: Compute filename of FILE.
   16755 #             value retuned in "$func_basename_result"
   16756 # Implementation must be kept synchronized with func_dirname
   16757 # and func_basename. For efficiency, we do not delegate to
   16758 # those functions but instead duplicate the functionality here.
   16759 func_dirname_and_basename ()
   16760 {
   16761   case ${1} in
   16762     */*) func_dirname_result="${1%/*}${2}" ;;
   16763     *  ) func_dirname_result="${3}" ;;
   16764   esac
   16765   func_basename_result="${1##*/}"
   16766 }
   16767 
   16768 # func_stripname prefix suffix name
   16769 # strip PREFIX and SUFFIX off of NAME.
   16770 # PREFIX and SUFFIX must not contain globbing or regex special
   16771 # characters, hashes, percent signs, but SUFFIX may contain a leading
   16772 # dot (in which case that matches only a dot).
   16773 func_stripname ()
   16774 {
   16775   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   16776   # positional parameters, so assign one to ordinary parameter first.
   16777   func_stripname_result=${3}
   16778   func_stripname_result=${func_stripname_result#"${1}"}
   16779   func_stripname_result=${func_stripname_result%"${2}"}
   16780 }
   16781 
   16782 # func_opt_split
   16783 func_opt_split ()
   16784 {
   16785   func_opt_split_opt=${1%%=*}
   16786   func_opt_split_arg=${1#*=}
   16787 }
   16788 
   16789 # func_lo2o object
   16790 func_lo2o ()
   16791 {
   16792   case ${1} in
   16793     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   16794     *)    func_lo2o_result=${1} ;;
   16795   esac
   16796 }
   16797 
   16798 # func_xform libobj-or-source
   16799 func_xform ()
   16800 {
   16801   func_xform_result=${1%.*}.lo
   16802 }
   16803 
   16804 # func_arith arithmetic-term...
   16805 func_arith ()
   16806 {
   16807   func_arith_result=$(( $* ))
   16808 }
   16809 
   16810 # func_len string
   16811 # STRING may not start with a hyphen.
   16812 func_len ()
   16813 {
   16814   func_len_result=${#1}
   16815 }
   16816 
   16817 _LT_EOF
   16818     ;;
   16819   *) # Bourne compatible functions.
   16820     cat << \_LT_EOF >> "$cfgfile"
   16821 
   16822 # func_dirname file append nondir_replacement
   16823 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   16824 # otherwise set result to NONDIR_REPLACEMENT.
   16825 func_dirname ()
   16826 {
   16827   # Extract subdirectory from the argument.
   16828   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   16829   if test "X$func_dirname_result" = "X${1}"; then
   16830     func_dirname_result="${3}"
   16831   else
   16832     func_dirname_result="$func_dirname_result${2}"
   16833   fi
   16834 }
   16835 
   16836 # func_basename file
   16837 func_basename ()
   16838 {
   16839   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   16840 }
   16841 
   16842 
   16843 # func_stripname prefix suffix name
   16844 # strip PREFIX and SUFFIX off of NAME.
   16845 # PREFIX and SUFFIX must not contain globbing or regex special
   16846 # characters, hashes, percent signs, but SUFFIX may contain a leading
   16847 # dot (in which case that matches only a dot).
   16848 # func_strip_suffix prefix name
   16849 func_stripname ()
   16850 {
   16851   case ${2} in
   16852     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   16853     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   16854   esac
   16855 }
   16856 
   16857 # sed scripts:
   16858 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   16859 my_sed_long_arg='1s/^-[^=]*=//'
   16860 
   16861 # func_opt_split
   16862 func_opt_split ()
   16863 {
   16864   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   16865   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   16866 }
   16867 
   16868 # func_lo2o object
   16869 func_lo2o ()
   16870 {
   16871   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   16872 }
   16873 
   16874 # func_xform libobj-or-source
   16875 func_xform ()
   16876 {
   16877   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   16878 }
   16879 
   16880 # func_arith arithmetic-term...
   16881 func_arith ()
   16882 {
   16883   func_arith_result=`expr "$@"`
   16884 }
   16885 
   16886 # func_len string
   16887 # STRING may not start with a hyphen.
   16888 func_len ()
   16889 {
   16890   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   16891 }
   16892 
   16893 _LT_EOF
   16894 esac
   16895 
   16896 case $lt_shell_append in
   16897   yes)
   16898     cat << \_LT_EOF >> "$cfgfile"
   16899 
   16900 # func_append var value
   16901 # Append VALUE to the end of shell variable VAR.
   16902 func_append ()
   16903 {
   16904   eval "$1+=\$2"
   16905 }
   16906 _LT_EOF
   16907     ;;
   16908   *)
   16909     cat << \_LT_EOF >> "$cfgfile"
   16910 
   16911 # func_append var value
   16912 # Append VALUE to the end of shell variable VAR.
   16913 func_append ()
   16914 {
   16915   eval "$1=\$$1\$2"
   16916 }
   16917 
   16918 _LT_EOF
   16919     ;;
   16920   esac
   16921 
   16922 
   16923   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   16924     || (rm -f "$cfgfile"; exit 1)
   16925 
   16926   mv -f "$cfgfile" "$ofile" ||
   16927     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   16928   chmod +x "$ofile"
   16929 
   16930  ;;
   16931     "default-1":C)
   16932     for ac_file in $CONFIG_FILES; do
   16933       # Support "outfile[:infile[:infile...]]"
   16934       case "$ac_file" in
   16935         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   16936       esac
   16937       # PO directories have a Makefile.in generated from Makefile.in.in.
   16938       case "$ac_file" in */Makefile.in)
   16939         # Adjust a relative srcdir.
   16940         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   16941         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   16942         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   16943         # In autoconf-2.13 it is called $ac_given_srcdir.
   16944         # In autoconf-2.50 it is called $srcdir.
   16945         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   16946         case "$ac_given_srcdir" in
   16947           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   16948           /*) top_srcdir="$ac_given_srcdir" ;;
   16949           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   16950         esac
   16951         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   16952           rm -f "$ac_dir/POTFILES"
   16953           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   16954           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   16955           POMAKEFILEDEPS="POTFILES.in"
   16956           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   16957           # on $ac_dir but don't depend on user-specified configuration
   16958           # parameters.
   16959           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   16960             # The LINGUAS file contains the set of available languages.
   16961             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   16962               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
   16963             fi
   16964             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   16965             # Hide the ALL_LINGUAS assigment from automake.
   16966             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   16967             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   16968           else
   16969             # The set of available languages was given in configure.ac.
   16970             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   16971           fi
   16972           case "$ac_given_srcdir" in
   16973             .) srcdirpre= ;;
   16974             *) srcdirpre='$(srcdir)/' ;;
   16975           esac
   16976           POFILES=
   16977           GMOFILES=
   16978           UPDATEPOFILES=
   16979           DUMMYPOFILES=
   16980           for lang in $ALL_LINGUAS; do
   16981             POFILES="$POFILES $srcdirpre$lang.po"
   16982             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   16983             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   16984             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   16985           done
   16986           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   16987           # environment variable.
   16988           INST_LINGUAS=
   16989           if test -n "$ALL_LINGUAS"; then
   16990             for presentlang in $ALL_LINGUAS; do
   16991               useit=no
   16992               if test "%UNSET%" != "$LINGUAS"; then
   16993                 desiredlanguages="$LINGUAS"
   16994               else
   16995                 desiredlanguages="$ALL_LINGUAS"
   16996               fi
   16997               for desiredlang in $desiredlanguages; do
   16998                 # Use the presentlang catalog if desiredlang is
   16999                 #   a. equal to presentlang, or
   17000                 #   b. a variant of presentlang (because in this case,
   17001                 #      presentlang can be used as a fallback for messages
   17002                 #      which are not translated in the desiredlang catalog).
   17003                 case "$desiredlang" in
   17004                   "$presentlang"*) useit=yes;;
   17005                 esac
   17006               done
   17007               if test $useit = yes; then
   17008                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   17009               fi
   17010             done
   17011           fi
   17012           CATALOGS=
   17013           if test -n "$INST_LINGUAS"; then
   17014             for lang in $INST_LINGUAS; do
   17015               CATALOGS="$CATALOGS $lang.gmo"
   17016             done
   17017           fi
   17018           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   17019           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"
   17020           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   17021             if test -f "$f"; then
   17022               case "$f" in
   17023                 *.orig | *.bak | *~) ;;
   17024                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   17025               esac
   17026             fi
   17027           done
   17028         fi
   17029         ;;
   17030       esac
   17031     done ;;
   17032     "default-2":C)
   17033     for ac_file in $CONFIG_FILES; do
   17034       # Support "outfile[:infile[:infile...]]"
   17035       case "$ac_file" in
   17036         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   17037       esac
   17038       # PO directories have a Makefile.in generated from Makefile.in.in.
   17039       case "$ac_file" in */Makefile.in)
   17040         # Adjust a relative srcdir.
   17041         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   17042         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   17043         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   17044         # In autoconf-2.13 it is called $ac_given_srcdir.
   17045         # In autoconf-2.50 it is called $srcdir.
   17046         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   17047         case "$ac_given_srcdir" in
   17048           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   17049           /*) top_srcdir="$ac_given_srcdir" ;;
   17050           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   17051         esac
   17052         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   17053           rm -f "$ac_dir/POTFILES"
   17054           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   17055           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   17056           POMAKEFILEDEPS="POTFILES.in"
   17057           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   17058           # on $ac_dir but don't depend on user-specified configuration
   17059           # parameters.
   17060           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   17061             # The LINGUAS file contains the set of available languages.
   17062             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   17063               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
   17064             fi
   17065             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   17066             # Hide the ALL_LINGUAS assigment from automake.
   17067             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   17068             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   17069           else
   17070             # The set of available languages was given in configure.ac.
   17071             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   17072           fi
   17073           case "$ac_given_srcdir" in
   17074             .) srcdirpre= ;;
   17075             *) srcdirpre='$(srcdir)/' ;;
   17076           esac
   17077           POFILES=
   17078           GMOFILES=
   17079           UPDATEPOFILES=
   17080           DUMMYPOFILES=
   17081           for lang in $ALL_LINGUAS; do
   17082             POFILES="$POFILES $srcdirpre$lang.po"
   17083             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   17084             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   17085             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   17086           done
   17087           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   17088           # environment variable.
   17089           INST_LINGUAS=
   17090           if test -n "$ALL_LINGUAS"; then
   17091             for presentlang in $ALL_LINGUAS; do
   17092               useit=no
   17093               if test "%UNSET%" != "$LINGUAS"; then
   17094                 desiredlanguages="$LINGUAS"
   17095               else
   17096                 desiredlanguages="$ALL_LINGUAS"
   17097               fi
   17098               for desiredlang in $desiredlanguages; do
   17099                 # Use the presentlang catalog if desiredlang is
   17100                 #   a. equal to presentlang, or
   17101                 #   b. a variant of presentlang (because in this case,
   17102                 #      presentlang can be used as a fallback for messages
   17103                 #      which are not translated in the desiredlang catalog).
   17104                 case "$desiredlang" in
   17105                   "$presentlang"*) useit=yes;;
   17106                 esac
   17107               done
   17108               if test $useit = yes; then
   17109                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   17110               fi
   17111             done
   17112           fi
   17113           CATALOGS=
   17114           if test -n "$INST_LINGUAS"; then
   17115             for lang in $INST_LINGUAS; do
   17116               CATALOGS="$CATALOGS $lang.gmo"
   17117             done
   17118           fi
   17119           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   17120           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"
   17121           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   17122             if test -f "$f"; then
   17123               case "$f" in
   17124                 *.orig | *.bak | *~) ;;
   17125                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   17126               esac
   17127             fi
   17128           done
   17129         fi
   17130         ;;
   17131       esac
   17132     done ;;
   17133 
   17134   esac
   17135 done # for ac_tag
   17136 
   17137 
   17138 as_fn_exit 0
   17139 _ACEOF
   17140 ac_clean_files=$ac_clean_files_save
   17141 
   17142 test $ac_write_fail = 0 ||
   17143   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   17144 
   17145 
   17146 # configure is writing to config.log, and then calls config.status.
   17147 # config.status does its own redirection, appending to config.log.
   17148 # Unfortunately, on DOS this fails, as config.log is still kept open
   17149 # by configure, so config.status won't be able to write to it; its
   17150 # output is simply discarded.  So we exec the FD to /dev/null,
   17151 # effectively closing config.log, so it can be properly (re)opened and
   17152 # appended to by config.status.  When coming back to configure, we
   17153 # need to make the FD available again.
   17154 if test "$no_create" != yes; then
   17155   ac_cs_success=:
   17156   ac_config_status_args=
   17157   test "$silent" = yes &&
   17158     ac_config_status_args="$ac_config_status_args --quiet"
   17159   exec 5>/dev/null
   17160   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   17161   exec 5>>config.log
   17162   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   17163   # would make configure fail if this is the last instruction.
   17164   $ac_cs_success || as_fn_exit 1
   17165 fi
   17166 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   17167   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   17168 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   17169 fi
   17170 
   17171 
   17172 
   17173 touch config.status.tmp
   17174 if touch --reference=config.status config.status.tmp > /dev/null 2>&1; then
   17175   sed '/as_fn_exit 0/i \
   17176 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
   17177 touch --reference=Makefile Makefile.tmp \
   17178 mv Makefile.tmp Makefile \
   17179 ' config.status > config.status.tmp
   17180   touch --reference=config.status config.status.tmp
   17181   mv config.status.tmp config.status
   17182   chmod +x config.status
   17183   sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile > Makefile.tmp
   17184   touch --reference=Makefile Makefile.tmp
   17185   mv Makefile.tmp Makefile
   17186 else
   17187   rm -f config.status.tmp
   17188 fi
   17189