Home | History | Annotate | Line # | Download | only in gas
configure revision 1.1.1.13
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for gas 2.46.0.
      4 #
      5 #
      6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      7 #
      8 #
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## -------------------- ##
     12 ## M4sh Initialization. ##
     13 ## -------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in #(
     26   *posix*) :
     27     set -o posix ;; #(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41 # Prefer a ksh shell builtin over an external printf program on Solaris,
     42 # but without wasting forks for bash or zsh.
     43 if test -z "$BASH_VERSION$ZSH_VERSION" \
     44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45   as_echo='print -r --'
     46   as_echo_n='print -rn --'
     47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in #(
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 
     82 # IFS
     83 # We need space, tab and new line, in precisely that order.  Quoting is
     84 # there to prevent editors from complaining about space-tab.
     85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     86 # splitting by setting IFS to empty value.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 as_myself=
     91 case $0 in #((
     92   *[\\/]* ) as_myself=$0 ;;
     93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     94 for as_dir in $PATH
     95 do
     96   IFS=$as_save_IFS
     97   test -z "$as_dir" && as_dir=.
     98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99   done
    100 IFS=$as_save_IFS
    101 
    102      ;;
    103 esac
    104 # We did not find ourselves, most probably we were run as `sh COMMAND'
    105 # in which case we are not to be found in the path.
    106 if test "x$as_myself" = x; then
    107   as_myself=$0
    108 fi
    109 if test ! -f "$as_myself"; then
    110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    111   exit 1
    112 fi
    113 
    114 # Unset variables that we do not need and which cause bugs (e.g. in
    115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    116 # suppresses any "Segmentation fault" message there.  '((' could
    117 # trigger a bug in pdksh 5.2.14.
    118 for as_var in BASH_ENV ENV MAIL MAILPATH
    119 do eval test x\${$as_var+set} = xset \
    120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    121 done
    122 PS1='$ '
    123 PS2='> '
    124 PS4='+ '
    125 
    126 # NLS nuisances.
    127 LC_ALL=C
    128 export LC_ALL
    129 LANGUAGE=C
    130 export LANGUAGE
    131 
    132 # CDPATH.
    133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    134 
    135 # Use a proper internal environment variable to ensure we don't fall
    136   # into an infinite loop, continuously re-executing ourselves.
    137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    138     _as_can_reexec=no; export _as_can_reexec;
    139     # We cannot yet assume a decent shell, so we have to provide a
    140 # neutralization value for shells without unset; and this also
    141 # works around shells that cannot unset nonexistent variables.
    142 # Preserve -v and -x to the replacement shell.
    143 BASH_ENV=/dev/null
    144 ENV=/dev/null
    145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    146 case $- in # ((((
    147   *v*x* | *x*v* ) as_opts=-vx ;;
    148   *v* ) as_opts=-v ;;
    149   *x* ) as_opts=-x ;;
    150   * ) as_opts= ;;
    151 esac
    152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    153 # Admittedly, this is quite paranoid, since all the known shells bail
    154 # out after a failed `exec'.
    155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    156 as_fn_exit 255
    157   fi
    158   # We don't want this to propagate to other subprocesses.
    159           { _as_can_reexec=; unset _as_can_reexec;}
    160 if test "x$CONFIG_SHELL" = x; then
    161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    162   emulate sh
    163   NULLCMD=:
    164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    165   # is contrary to our usage.  Disable this feature.
    166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    167   setopt NO_GLOB_SUBST
    168 else
    169   case \`(set -o) 2>/dev/null\` in #(
    170   *posix*) :
    171     set -o posix ;; #(
    172   *) :
    173      ;;
    174 esac
    175 fi
    176 "
    177   as_required="as_fn_return () { (exit \$1); }
    178 as_fn_success () { as_fn_return 0; }
    179 as_fn_failure () { as_fn_return 1; }
    180 as_fn_ret_success () { return 0; }
    181 as_fn_ret_failure () { return 1; }
    182 
    183 exitcode=0
    184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    189 
    190 else
    191   exitcode=1; echo positional parameters were not saved.
    192 fi
    193 test x\$exitcode = x0 || exit 1
    194 test -x / || exit 1"
    195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    199 test \$(( 1 + 1 )) = 2 || exit 1
    200 
    201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     PATH=/empty FPATH=/empty; export PATH FPATH
    206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    208   if (eval "$as_required") 2>/dev/null; then :
    209   as_have_required=yes
    210 else
    211   as_have_required=no
    212 fi
    213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    214 
    215 else
    216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    217 as_found=false
    218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    219 do
    220   IFS=$as_save_IFS
    221   test -z "$as_dir" && as_dir=.
    222   as_found=:
    223   case $as_dir in #(
    224 	 /*)
    225 	   for as_base in sh bash ksh sh5; do
    226 	     # Try only shells that exist, to save several forks.
    227 	     as_shell=$as_dir/$as_base
    228 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    229 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    230   CONFIG_SHELL=$as_shell as_have_required=yes
    231 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    241   CONFIG_SHELL=$SHELL as_have_required=yes
    242 fi; }
    243 IFS=$as_save_IFS
    244 
    245 
    246       if test "x$CONFIG_SHELL" != x; then :
    247   export CONFIG_SHELL
    248              # We cannot yet assume a decent shell, so we have to provide a
    249 # neutralization value for shells without unset; and this also
    250 # works around shells that cannot unset nonexistent variables.
    251 # Preserve -v and -x to the replacement shell.
    252 BASH_ENV=/dev/null
    253 ENV=/dev/null
    254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    255 case $- in # ((((
    256   *v*x* | *x*v* ) as_opts=-vx ;;
    257   *v* ) as_opts=-v ;;
    258   *x* ) as_opts=-x ;;
    259   * ) as_opts= ;;
    260 esac
    261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    262 # Admittedly, this is quite paranoid, since all the known shells bail
    263 # out after a failed `exec'.
    264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    265 exit 255
    266 fi
    267 
    268     if test x$as_have_required = xno; then :
    269   $as_echo "$0: This script requires a shell more modern than all"
    270   $as_echo "$0: the shells that I found on your system."
    271   if test x${ZSH_VERSION+set} = xset ; then
    272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    274   else
    275     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    276 $0: including any error possibly output before this
    277 $0: message. Then install a modern shell, or manually run
    278 $0: the script under such a shell if you do have one."
    279   fi
    280   exit 1
    281 fi
    282 fi
    283 fi
    284 SHELL=${CONFIG_SHELL-/bin/sh}
    285 export SHELL
    286 # Unset more variables known to interfere with behavior of common tools.
    287 CLICOLOR_FORCE= GREP_OPTIONS=
    288 unset CLICOLOR_FORCE GREP_OPTIONS
    289 
    290 ## --------------------- ##
    291 ## M4sh Shell Functions. ##
    292 ## --------------------- ##
    293 # as_fn_unset VAR
    294 # ---------------
    295 # Portably unset VAR.
    296 as_fn_unset ()
    297 {
    298   { eval $1=; unset $1;}
    299 }
    300 as_unset=as_fn_unset
    301 
    302 # as_fn_set_status STATUS
    303 # -----------------------
    304 # Set $? to STATUS, without forking.
    305 as_fn_set_status ()
    306 {
    307   return $1
    308 } # as_fn_set_status
    309 
    310 # as_fn_exit STATUS
    311 # -----------------
    312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    313 as_fn_exit ()
    314 {
    315   set +e
    316   as_fn_set_status $1
    317   exit $1
    318 } # as_fn_exit
    319 
    320 # as_fn_mkdir_p
    321 # -------------
    322 # Create "$as_dir" as a directory, including parents if necessary.
    323 as_fn_mkdir_p ()
    324 {
    325 
    326   case $as_dir in #(
    327   -*) as_dir=./$as_dir;;
    328   esac
    329   test -d "$as_dir" || eval $as_mkdir_p || {
    330     as_dirs=
    331     while :; do
    332       case $as_dir in #(
    333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    334       *) as_qdir=$as_dir;;
    335       esac
    336       as_dirs="'$as_qdir' $as_dirs"
    337       as_dir=`$as_dirname -- "$as_dir" ||
    338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    339 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    340 	 X"$as_dir" : 'X\(//\)$' \| \
    341 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    342 $as_echo X"$as_dir" |
    343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)[^/].*/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)$/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\).*/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  s/.*/./; q'`
    360       test -d "$as_dir" && break
    361     done
    362     test -z "$as_dirs" || eval "mkdir $as_dirs"
    363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    364 
    365 
    366 } # as_fn_mkdir_p
    367 
    368 # as_fn_executable_p FILE
    369 # -----------------------
    370 # Test if FILE is an executable regular file.
    371 as_fn_executable_p ()
    372 {
    373   test -f "$1" && test -x "$1"
    374 } # as_fn_executable_p
    375 # as_fn_append VAR VALUE
    376 # ----------------------
    377 # Append the text in VALUE to the end of the definition contained in VAR. Take
    378 # advantage of any shell optimizations that allow amortized linear growth over
    379 # repeated appends, instead of the typical quadratic growth present in naive
    380 # implementations.
    381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    382   eval 'as_fn_append ()
    383   {
    384     eval $1+=\$2
    385   }'
    386 else
    387   as_fn_append ()
    388   {
    389     eval $1=\$$1\$2
    390   }
    391 fi # as_fn_append
    392 
    393 # as_fn_arith ARG...
    394 # ------------------
    395 # Perform arithmetic evaluation on the ARGs, and store the result in the
    396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    397 # must be portable across $(()) and expr.
    398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    399   eval 'as_fn_arith ()
    400   {
    401     as_val=$(( $* ))
    402   }'
    403 else
    404   as_fn_arith ()
    405   {
    406     as_val=`expr "$@" || test $? -eq 1`
    407   }
    408 fi # as_fn_arith
    409 
    410 
    411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    412 # ----------------------------------------
    413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    415 # script with STATUS, using 1 if that was 0.
    416 as_fn_error ()
    417 {
    418   as_status=$1; test $as_status -eq 0 && as_status=1
    419   if test "$4"; then
    420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    422   fi
    423   $as_echo "$as_me: error: $2" >&2
    424   as_fn_exit $as_status
    425 } # as_fn_error
    426 
    427 if expr a : '\(a\)' >/dev/null 2>&1 &&
    428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    429   as_expr=expr
    430 else
    431   as_expr=false
    432 fi
    433 
    434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    435   as_basename=basename
    436 else
    437   as_basename=false
    438 fi
    439 
    440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    441   as_dirname=dirname
    442 else
    443   as_dirname=false
    444 fi
    445 
    446 as_me=`$as_basename -- "$0" ||
    447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    448 	 X"$0" : 'X\(//\)$' \| \
    449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    450 $as_echo X/"$0" |
    451     sed '/^.*\/\([^/][^/]*\)\/*$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\/\)$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\).*/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  s/.*/./; q'`
    464 
    465 # Avoid depending upon Character Ranges.
    466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    469 as_cr_digits='0123456789'
    470 as_cr_alnum=$as_cr_Letters$as_cr_digits
    471 
    472 
    473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    478   sed -n '
    479     p
    480     /[$]LINENO/=
    481   ' <$as_myself |
    482     sed '
    483       s/[$]LINENO.*/&-/
    484       t lineno
    485       b
    486       :lineno
    487       N
    488       :loop
    489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    490       t loop
    491       s/-\n.*//
    492     ' >$as_me.lineno &&
    493   chmod +x "$as_me.lineno" ||
    494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    495 
    496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    497   # already done that, so ensure we don't try to do so again and fall
    498   # in an infinite loop.  This has already happened in practice.
    499   _as_can_reexec=no; export _as_can_reexec
    500   # Don't try to exec as it changes $[0], causing all sort of problems
    501   # (the dirname of $[0] is not the place where we might find the
    502   # original and so on.  Autoconf is especially sensitive to this).
    503   . "./$as_me.lineno"
    504   # Exit status is that of the last command.
    505   exit
    506 }
    507 
    508 ECHO_C= ECHO_N= ECHO_T=
    509 case `echo -n x` in #(((((
    510 -n*)
    511   case `echo 'xy\c'` in
    512   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    513   xy)  ECHO_C='\c';;
    514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    515        ECHO_T='	';;
    516   esac;;
    517 *)
    518   ECHO_N='-n';;
    519 esac
    520 
    521 rm -f conf$$ conf$$.exe conf$$.file
    522 if test -d conf$$.dir; then
    523   rm -f conf$$.dir/conf$$.file
    524 else
    525   rm -f conf$$.dir
    526   mkdir conf$$.dir 2>/dev/null
    527 fi
    528 if (echo >conf$$.file) 2>/dev/null; then
    529   if ln -s conf$$.file conf$$ 2>/dev/null; then
    530     as_ln_s='ln -s'
    531     # ... but there are two gotchas:
    532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    534     # In both cases, we have to default to `cp -pR'.
    535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    536       as_ln_s='cp -pR'
    537   elif ln conf$$.file conf$$ 2>/dev/null; then
    538     as_ln_s=ln
    539   else
    540     as_ln_s='cp -pR'
    541   fi
    542 else
    543   as_ln_s='cp -pR'
    544 fi
    545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    546 rmdir conf$$.dir 2>/dev/null
    547 
    548 if mkdir -p . 2>/dev/null; then
    549   as_mkdir_p='mkdir -p "$as_dir"'
    550 else
    551   test -d ./-p && rmdir ./-p
    552   as_mkdir_p=false
    553 fi
    554 
    555 as_test_x='test -x'
    556 as_executable_p=as_fn_executable_p
    557 
    558 # Sed expression to map a string onto a valid CPP name.
    559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    560 
    561 # Sed expression to map a string onto a valid variable name.
    562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 SHELL=${CONFIG_SHELL-/bin/sh}
    565 
    566 
    567 test -n "$DJDIR" || exec 7<&0 </dev/null
    568 exec 6>&1
    569 
    570 # Name of the host.
    571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    572 # so uname gets run too.
    573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    574 
    575 #
    576 # Initializations.
    577 #
    578 ac_default_prefix=/usr/local
    579 ac_clean_files=
    580 ac_config_libobj_dir=.
    581 LIBOBJS=
    582 cross_compiling=no
    583 subdirs=
    584 MFLAGS=
    585 MAKEFLAGS=
    586 
    587 # Identity of this package.
    588 PACKAGE_NAME='gas'
    589 PACKAGE_TARNAME='gas'
    590 PACKAGE_VERSION='2.46.0'
    591 PACKAGE_STRING='gas 2.46.0'
    592 PACKAGE_BUGREPORT=''
    593 PACKAGE_URL=''
    594 
    595 ac_unique_file="as.h"
    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 ZSTD_LIBS
    638 ZSTD_CFLAGS
    639 PKG_CONFIG_LIBDIR
    640 PKG_CONFIG_PATH
    641 PKG_CONFIG
    642 zlibinc
    643 zlibdir
    644 LIBM
    645 GENINSRC_NEVER_FALSE
    646 GENINSRC_NEVER_TRUE
    647 MAINT
    648 MAINTAINER_MODE_FALSE
    649 MAINTAINER_MODE_TRUE
    650 CATOBJEXT
    651 GENCAT
    652 INSTOBJEXT
    653 DATADIRNAME
    654 CATALOGS
    655 INCINTL
    656 LIBINTL_DEP
    657 POSUB
    658 LTLIBINTL
    659 LIBINTL
    660 INTLLIBS
    661 LTLIBICONV
    662 LIBICONV
    663 INTL_MACOSX_LIBS
    664 MSGMERGE
    665 XGETTEXT
    666 GMSGFMT
    667 MSGFMT
    668 USE_NLS
    669 MKINSTALLDIRS
    670 LEXLIB
    671 LEX_OUTPUT_ROOT
    672 LEX
    673 YFLAGS
    674 YACC
    675 OPCODES_LIB
    676 atof
    677 install_tooldir
    678 te_file
    679 obj_format
    680 target_cpu_type
    681 extra_objects
    682 cgen_cpu_prefix
    683 GDBINIT
    684 WARN_WRITE_STRINGS
    685 NO_WERROR
    686 WARN_CFLAGS_FOR_BUILD
    687 WARN_CFLAGS
    688 do_compare
    689 LARGEFILE_CPPFLAGS
    690 OTOOL64
    691 OTOOL
    692 LIPO
    693 NMEDIT
    694 DSYMUTIL
    695 RANLIB
    696 AR
    697 LLVM_CONFIG
    698 OBJDUMP
    699 LN_S
    700 NM
    701 ac_ct_DUMPBIN
    702 DUMPBIN
    703 LD
    704 FGREP
    705 SED
    706 LIBTOOL
    707 EGREP
    708 GREP
    709 CPP
    710 am__fastdepCC_FALSE
    711 am__fastdepCC_TRUE
    712 CCDEPMODE
    713 am__nodep
    714 AMDEPBACKSLASH
    715 AMDEP_FALSE
    716 AMDEP_TRUE
    717 am__quote
    718 am__include
    719 DEPDIR
    720 OBJEXT
    721 EXEEXT
    722 ac_ct_CC
    723 CPPFLAGS
    724 LDFLAGS
    725 CFLAGS
    726 CC
    727 AM_BACKSLASH
    728 AM_DEFAULT_VERBOSITY
    729 AM_DEFAULT_V
    730 AM_V
    731 am__untar
    732 am__tar
    733 AMTAR
    734 am__leading_dot
    735 SET_MAKE
    736 AWK
    737 mkdir_p
    738 MKDIR_P
    739 INSTALL_STRIP_PROGRAM
    740 STRIP
    741 install_sh
    742 MAKEINFO
    743 AUTOHEADER
    744 AUTOMAKE
    745 AUTOCONF
    746 ACLOCAL
    747 VERSION
    748 PACKAGE
    749 CYGPATH_W
    750 am__isrc
    751 INSTALL_DATA
    752 INSTALL_SCRIPT
    753 INSTALL_PROGRAM
    754 target_os
    755 target_vendor
    756 target_cpu
    757 target
    758 host_os
    759 host_vendor
    760 host_cpu
    761 host
    762 build_os
    763 build_vendor
    764 build_cpu
    765 build
    766 target_alias
    767 host_alias
    768 build_alias
    769 LIBS
    770 ECHO_T
    771 ECHO_N
    772 ECHO_C
    773 DEFS
    774 mandir
    775 localedir
    776 libdir
    777 psdir
    778 pdfdir
    779 dvidir
    780 htmldir
    781 infodir
    782 docdir
    783 oldincludedir
    784 includedir
    785 localstatedir
    786 sharedstatedir
    787 sysconfdir
    788 datadir
    789 datarootdir
    790 libexecdir
    791 sbindir
    792 bindir
    793 program_transform_name
    794 prefix
    795 exec_prefix
    796 PACKAGE_URL
    797 PACKAGE_BUGREPORT
    798 PACKAGE_STRING
    799 PACKAGE_VERSION
    800 PACKAGE_TARNAME
    801 PACKAGE_NAME
    802 PATH_SEPARATOR
    803 SHELL'
    804 ac_subst_files=''
    805 ac_user_opts='
    806 enable_option_checking
    807 enable_silent_rules
    808 enable_dependency_tracking
    809 enable_shared
    810 enable_static
    811 with_pic
    812 enable_fast_install
    813 with_gnu_ld
    814 enable_libtool_lock
    815 enable_plugins
    816 enable_largefile
    817 enable_targets
    818 enable_checking
    819 enable_compressed_debug_sections
    820 enable_default_compressed_debug_sections_algorithm
    821 enable_x86_tls_check
    822 enable_elf_stt_common
    823 enable_default_sframe
    824 enable_generate_build_notes
    825 enable_mips_fix_loongson3_llsc
    826 enable_x86_used_note
    827 enable_default_riscv_attribute
    828 enable_werror
    829 enable_build_warnings
    830 with_cpu
    831 enable_nls
    832 enable_rpath
    833 with_libiconv_prefix
    834 with_libiconv_type
    835 with_libintl_prefix
    836 with_libintl_type
    837 enable_maintainer_mode
    838 with_system_zlib
    839 with_zstd
    840 '
    841       ac_precious_vars='build_alias
    842 host_alias
    843 target_alias
    844 CC
    845 CFLAGS
    846 LDFLAGS
    847 LIBS
    848 CPPFLAGS
    849 CPP
    850 YACC
    851 YFLAGS
    852 PKG_CONFIG
    853 PKG_CONFIG_PATH
    854 PKG_CONFIG_LIBDIR
    855 ZSTD_CFLAGS
    856 ZSTD_LIBS'
    857 
    858 
    859 # Initialize some variables set by options.
    860 ac_init_help=
    861 ac_init_version=false
    862 ac_unrecognized_opts=
    863 ac_unrecognized_sep=
    864 # The variables have the same names as the options, with
    865 # dashes changed to underlines.
    866 cache_file=/dev/null
    867 exec_prefix=NONE
    868 no_create=
    869 no_recursion=
    870 prefix=NONE
    871 program_prefix=NONE
    872 program_suffix=NONE
    873 program_transform_name=s,x,x,
    874 silent=
    875 site=
    876 srcdir=
    877 verbose=
    878 x_includes=NONE
    879 x_libraries=NONE
    880 
    881 # Installation directory options.
    882 # These are left unexpanded so users can "make install exec_prefix=/foo"
    883 # and all the variables that are supposed to be based on exec_prefix
    884 # by default will actually change.
    885 # Use braces instead of parens because sh, perl, etc. also accept them.
    886 # (The list follows the same order as the GNU Coding Standards.)
    887 bindir='${exec_prefix}/bin'
    888 sbindir='${exec_prefix}/sbin'
    889 libexecdir='${exec_prefix}/libexec'
    890 datarootdir='${prefix}/share'
    891 datadir='${datarootdir}'
    892 sysconfdir='${prefix}/etc'
    893 sharedstatedir='${prefix}/com'
    894 localstatedir='${prefix}/var'
    895 includedir='${prefix}/include'
    896 oldincludedir='/usr/include'
    897 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    898 infodir='${datarootdir}/info'
    899 htmldir='${docdir}'
    900 dvidir='${docdir}'
    901 pdfdir='${docdir}'
    902 psdir='${docdir}'
    903 libdir='${exec_prefix}/lib'
    904 localedir='${datarootdir}/locale'
    905 mandir='${datarootdir}/man'
    906 
    907 ac_prev=
    908 ac_dashdash=
    909 for ac_option
    910 do
    911   # If the previous option needs an argument, assign it.
    912   if test -n "$ac_prev"; then
    913     eval $ac_prev=\$ac_option
    914     ac_prev=
    915     continue
    916   fi
    917 
    918   case $ac_option in
    919   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    920   *=)   ac_optarg= ;;
    921   *)    ac_optarg=yes ;;
    922   esac
    923 
    924   # Accept the important Cygnus configure options, so we can diagnose typos.
    925 
    926   case $ac_dashdash$ac_option in
    927   --)
    928     ac_dashdash=yes ;;
    929 
    930   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    931     ac_prev=bindir ;;
    932   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    933     bindir=$ac_optarg ;;
    934 
    935   -build | --build | --buil | --bui | --bu)
    936     ac_prev=build_alias ;;
    937   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    938     build_alias=$ac_optarg ;;
    939 
    940   -cache-file | --cache-file | --cache-fil | --cache-fi \
    941   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    942     ac_prev=cache_file ;;
    943   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    944   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    945     cache_file=$ac_optarg ;;
    946 
    947   --config-cache | -C)
    948     cache_file=config.cache ;;
    949 
    950   -datadir | --datadir | --datadi | --datad)
    951     ac_prev=datadir ;;
    952   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    953     datadir=$ac_optarg ;;
    954 
    955   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    956   | --dataroo | --dataro | --datar)
    957     ac_prev=datarootdir ;;
    958   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    959   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    960     datarootdir=$ac_optarg ;;
    961 
    962   -disable-* | --disable-*)
    963     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    964     # Reject names that are not valid shell variable names.
    965     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    966       as_fn_error $? "invalid feature name: $ac_useropt"
    967     ac_useropt_orig=$ac_useropt
    968     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    969     case $ac_user_opts in
    970       *"
    971 "enable_$ac_useropt"
    972 "*) ;;
    973       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    974 	 ac_unrecognized_sep=', ';;
    975     esac
    976     eval enable_$ac_useropt=no ;;
    977 
    978   -docdir | --docdir | --docdi | --doc | --do)
    979     ac_prev=docdir ;;
    980   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    981     docdir=$ac_optarg ;;
    982 
    983   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    984     ac_prev=dvidir ;;
    985   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    986     dvidir=$ac_optarg ;;
    987 
    988   -enable-* | --enable-*)
    989     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    990     # Reject names that are not valid shell variable names.
    991     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    992       as_fn_error $? "invalid feature name: $ac_useropt"
    993     ac_useropt_orig=$ac_useropt
    994     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    995     case $ac_user_opts in
    996       *"
    997 "enable_$ac_useropt"
    998 "*) ;;
    999       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1000 	 ac_unrecognized_sep=', ';;
   1001     esac
   1002     eval enable_$ac_useropt=\$ac_optarg ;;
   1003 
   1004   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1005   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1006   | --exec | --exe | --ex)
   1007     ac_prev=exec_prefix ;;
   1008   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1009   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1010   | --exec=* | --exe=* | --ex=*)
   1011     exec_prefix=$ac_optarg ;;
   1012 
   1013   -gas | --gas | --ga | --g)
   1014     # Obsolete; use --with-gas.
   1015     with_gas=yes ;;
   1016 
   1017   -help | --help | --hel | --he | -h)
   1018     ac_init_help=long ;;
   1019   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1020     ac_init_help=recursive ;;
   1021   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1022     ac_init_help=short ;;
   1023 
   1024   -host | --host | --hos | --ho)
   1025     ac_prev=host_alias ;;
   1026   -host=* | --host=* | --hos=* | --ho=*)
   1027     host_alias=$ac_optarg ;;
   1028 
   1029   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1030     ac_prev=htmldir ;;
   1031   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1032   | --ht=*)
   1033     htmldir=$ac_optarg ;;
   1034 
   1035   -includedir | --includedir | --includedi | --included | --include \
   1036   | --includ | --inclu | --incl | --inc)
   1037     ac_prev=includedir ;;
   1038   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1039   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1040     includedir=$ac_optarg ;;
   1041 
   1042   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1043     ac_prev=infodir ;;
   1044   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1045     infodir=$ac_optarg ;;
   1046 
   1047   -libdir | --libdir | --libdi | --libd)
   1048     ac_prev=libdir ;;
   1049   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1050     libdir=$ac_optarg ;;
   1051 
   1052   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1053   | --libexe | --libex | --libe)
   1054     ac_prev=libexecdir ;;
   1055   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1056   | --libexe=* | --libex=* | --libe=*)
   1057     libexecdir=$ac_optarg ;;
   1058 
   1059   -localedir | --localedir | --localedi | --localed | --locale)
   1060     ac_prev=localedir ;;
   1061   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1062     localedir=$ac_optarg ;;
   1063 
   1064   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1065   | --localstate | --localstat | --localsta | --localst | --locals)
   1066     ac_prev=localstatedir ;;
   1067   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1068   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1069     localstatedir=$ac_optarg ;;
   1070 
   1071   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1072     ac_prev=mandir ;;
   1073   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1074     mandir=$ac_optarg ;;
   1075 
   1076   -nfp | --nfp | --nf)
   1077     # Obsolete; use --without-fp.
   1078     with_fp=no ;;
   1079 
   1080   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1081   | --no-cr | --no-c | -n)
   1082     no_create=yes ;;
   1083 
   1084   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1085   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1086     no_recursion=yes ;;
   1087 
   1088   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1089   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1090   | --oldin | --oldi | --old | --ol | --o)
   1091     ac_prev=oldincludedir ;;
   1092   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1093   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1094   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1095     oldincludedir=$ac_optarg ;;
   1096 
   1097   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1098     ac_prev=prefix ;;
   1099   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1100     prefix=$ac_optarg ;;
   1101 
   1102   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1103   | --program-pre | --program-pr | --program-p)
   1104     ac_prev=program_prefix ;;
   1105   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1106   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1107     program_prefix=$ac_optarg ;;
   1108 
   1109   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1110   | --program-suf | --program-su | --program-s)
   1111     ac_prev=program_suffix ;;
   1112   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1113   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1114     program_suffix=$ac_optarg ;;
   1115 
   1116   -program-transform-name | --program-transform-name \
   1117   | --program-transform-nam | --program-transform-na \
   1118   | --program-transform-n | --program-transform- \
   1119   | --program-transform | --program-transfor \
   1120   | --program-transfo | --program-transf \
   1121   | --program-trans | --program-tran \
   1122   | --progr-tra | --program-tr | --program-t)
   1123     ac_prev=program_transform_name ;;
   1124   -program-transform-name=* | --program-transform-name=* \
   1125   | --program-transform-nam=* | --program-transform-na=* \
   1126   | --program-transform-n=* | --program-transform-=* \
   1127   | --program-transform=* | --program-transfor=* \
   1128   | --program-transfo=* | --program-transf=* \
   1129   | --program-trans=* | --program-tran=* \
   1130   | --progr-tra=* | --program-tr=* | --program-t=*)
   1131     program_transform_name=$ac_optarg ;;
   1132 
   1133   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1134     ac_prev=pdfdir ;;
   1135   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1136     pdfdir=$ac_optarg ;;
   1137 
   1138   -psdir | --psdir | --psdi | --psd | --ps)
   1139     ac_prev=psdir ;;
   1140   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1141     psdir=$ac_optarg ;;
   1142 
   1143   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1144   | -silent | --silent | --silen | --sile | --sil)
   1145     silent=yes ;;
   1146 
   1147   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1148     ac_prev=sbindir ;;
   1149   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1150   | --sbi=* | --sb=*)
   1151     sbindir=$ac_optarg ;;
   1152 
   1153   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1154   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1155   | --sharedst | --shareds | --shared | --share | --shar \
   1156   | --sha | --sh)
   1157     ac_prev=sharedstatedir ;;
   1158   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1159   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1160   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1161   | --sha=* | --sh=*)
   1162     sharedstatedir=$ac_optarg ;;
   1163 
   1164   -site | --site | --sit)
   1165     ac_prev=site ;;
   1166   -site=* | --site=* | --sit=*)
   1167     site=$ac_optarg ;;
   1168 
   1169   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1170     ac_prev=srcdir ;;
   1171   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1172     srcdir=$ac_optarg ;;
   1173 
   1174   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1175   | --syscon | --sysco | --sysc | --sys | --sy)
   1176     ac_prev=sysconfdir ;;
   1177   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1178   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1179     sysconfdir=$ac_optarg ;;
   1180 
   1181   -target | --target | --targe | --targ | --tar | --ta | --t)
   1182     ac_prev=target_alias ;;
   1183   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1184     target_alias=$ac_optarg ;;
   1185 
   1186   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1187     verbose=yes ;;
   1188 
   1189   -version | --version | --versio | --versi | --vers | -V)
   1190     ac_init_version=: ;;
   1191 
   1192   -with-* | --with-*)
   1193     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1194     # Reject names that are not valid shell variable names.
   1195     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1196       as_fn_error $? "invalid package name: $ac_useropt"
   1197     ac_useropt_orig=$ac_useropt
   1198     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1199     case $ac_user_opts in
   1200       *"
   1201 "with_$ac_useropt"
   1202 "*) ;;
   1203       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1204 	 ac_unrecognized_sep=', ';;
   1205     esac
   1206     eval with_$ac_useropt=\$ac_optarg ;;
   1207 
   1208   -without-* | --without-*)
   1209     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1210     # Reject names that are not valid shell variable names.
   1211     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1212       as_fn_error $? "invalid package name: $ac_useropt"
   1213     ac_useropt_orig=$ac_useropt
   1214     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1215     case $ac_user_opts in
   1216       *"
   1217 "with_$ac_useropt"
   1218 "*) ;;
   1219       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1220 	 ac_unrecognized_sep=', ';;
   1221     esac
   1222     eval with_$ac_useropt=no ;;
   1223 
   1224   --x)
   1225     # Obsolete; use --with-x.
   1226     with_x=yes ;;
   1227 
   1228   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1229   | --x-incl | --x-inc | --x-in | --x-i)
   1230     ac_prev=x_includes ;;
   1231   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1232   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1233     x_includes=$ac_optarg ;;
   1234 
   1235   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1236   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1237     ac_prev=x_libraries ;;
   1238   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1239   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1240     x_libraries=$ac_optarg ;;
   1241 
   1242   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1243 Try \`$0 --help' for more information"
   1244     ;;
   1245 
   1246   *=*)
   1247     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1248     # Reject names that are not valid shell variable names.
   1249     case $ac_envvar in #(
   1250       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1251       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1252     esac
   1253     eval $ac_envvar=\$ac_optarg
   1254     export $ac_envvar ;;
   1255 
   1256   *)
   1257     # FIXME: should be removed in autoconf 3.0.
   1258     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1259     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1260       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1261     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1262     ;;
   1263 
   1264   esac
   1265 done
   1266 
   1267 if test -n "$ac_prev"; then
   1268   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1269   as_fn_error $? "missing argument to $ac_option"
   1270 fi
   1271 
   1272 if test -n "$ac_unrecognized_opts"; then
   1273   case $enable_option_checking in
   1274     no) ;;
   1275     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1276     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1277   esac
   1278 fi
   1279 
   1280 # Check all directory arguments for consistency.
   1281 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1282 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1283 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1284 		libdir localedir mandir
   1285 do
   1286   eval ac_val=\$$ac_var
   1287   # Remove trailing slashes.
   1288   case $ac_val in
   1289     */ )
   1290       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1291       eval $ac_var=\$ac_val;;
   1292   esac
   1293   # Be sure to have absolute directory names.
   1294   case $ac_val in
   1295     [\\/$]* | ?:[\\/]* )  continue;;
   1296     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1297   esac
   1298   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1299 done
   1300 
   1301 # There might be people who depend on the old broken behavior: `$host'
   1302 # used to hold the argument of --host etc.
   1303 # FIXME: To remove some day.
   1304 build=$build_alias
   1305 host=$host_alias
   1306 target=$target_alias
   1307 
   1308 # FIXME: To remove some day.
   1309 if test "x$host_alias" != x; then
   1310   if test "x$build_alias" = x; then
   1311     cross_compiling=maybe
   1312   elif test "x$build_alias" != "x$host_alias"; then
   1313     cross_compiling=yes
   1314   fi
   1315 fi
   1316 
   1317 ac_tool_prefix=
   1318 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1319 
   1320 test "$silent" = yes && exec 6>/dev/null
   1321 
   1322 
   1323 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1324 ac_ls_di=`ls -di .` &&
   1325 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1326   as_fn_error $? "working directory cannot be determined"
   1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1328   as_fn_error $? "pwd does not report name of working directory"
   1329 
   1330 
   1331 # Find the source files, if location was not specified.
   1332 if test -z "$srcdir"; then
   1333   ac_srcdir_defaulted=yes
   1334   # Try the directory containing this script, then the parent directory.
   1335   ac_confdir=`$as_dirname -- "$as_myself" ||
   1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1337 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1338 	 X"$as_myself" : 'X\(//\)$' \| \
   1339 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1340 $as_echo X"$as_myself" |
   1341     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1342 	    s//\1/
   1343 	    q
   1344 	  }
   1345 	  /^X\(\/\/\)[^/].*/{
   1346 	    s//\1/
   1347 	    q
   1348 	  }
   1349 	  /^X\(\/\/\)$/{
   1350 	    s//\1/
   1351 	    q
   1352 	  }
   1353 	  /^X\(\/\).*/{
   1354 	    s//\1/
   1355 	    q
   1356 	  }
   1357 	  s/.*/./; q'`
   1358   srcdir=$ac_confdir
   1359   if test ! -r "$srcdir/$ac_unique_file"; then
   1360     srcdir=..
   1361   fi
   1362 else
   1363   ac_srcdir_defaulted=no
   1364 fi
   1365 if test ! -r "$srcdir/$ac_unique_file"; then
   1366   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1367   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1368 fi
   1369 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1370 ac_abs_confdir=`(
   1371 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1372 	pwd)`
   1373 # When building in place, set srcdir=.
   1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1375   srcdir=.
   1376 fi
   1377 # Remove unnecessary trailing slashes from srcdir.
   1378 # Double slashes in file names in object file debugging info
   1379 # mess up M-x gdb in Emacs.
   1380 case $srcdir in
   1381 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1382 esac
   1383 for ac_var in $ac_precious_vars; do
   1384   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1385   eval ac_env_${ac_var}_value=\$${ac_var}
   1386   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1387   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1388 done
   1389 
   1390 #
   1391 # Report the --help message.
   1392 #
   1393 if test "$ac_init_help" = "long"; then
   1394   # Omit some internal or obsolete options to make the list less imposing.
   1395   # This message is too long to be a string in the A/UX 3.1 sh.
   1396   cat <<_ACEOF
   1397 \`configure' configures gas 2.46.0 to adapt to many kinds of systems.
   1398 
   1399 Usage: $0 [OPTION]... [VAR=VALUE]...
   1400 
   1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1402 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1403 
   1404 Defaults for the options are specified in brackets.
   1405 
   1406 Configuration:
   1407   -h, --help              display this help and exit
   1408       --help=short        display options specific to this package
   1409       --help=recursive    display the short help of all the included packages
   1410   -V, --version           display version information and exit
   1411   -q, --quiet, --silent   do not print \`checking ...' messages
   1412       --cache-file=FILE   cache test results in FILE [disabled]
   1413   -C, --config-cache      alias for \`--cache-file=config.cache'
   1414   -n, --no-create         do not create output files
   1415       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1416 
   1417 Installation directories:
   1418   --prefix=PREFIX         install architecture-independent files in PREFIX
   1419                           [$ac_default_prefix]
   1420   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1421                           [PREFIX]
   1422 
   1423 By default, \`make install' will install all the files in
   1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1426 for instance \`--prefix=\$HOME'.
   1427 
   1428 For better control, use the options below.
   1429 
   1430 Fine tuning of the installation directories:
   1431   --bindir=DIR            user executables [EPREFIX/bin]
   1432   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1433   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1434   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1435   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1436   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1437   --libdir=DIR            object code libraries [EPREFIX/lib]
   1438   --includedir=DIR        C header files [PREFIX/include]
   1439   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1440   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1441   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1442   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1443   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1444   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1445   --docdir=DIR            documentation root [DATAROOTDIR/doc/gas]
   1446   --htmldir=DIR           html documentation [DOCDIR]
   1447   --dvidir=DIR            dvi documentation [DOCDIR]
   1448   --pdfdir=DIR            pdf documentation [DOCDIR]
   1449   --psdir=DIR             ps documentation [DOCDIR]
   1450 _ACEOF
   1451 
   1452   cat <<\_ACEOF
   1453 
   1454 Program names:
   1455   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1456   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1457   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1458 
   1459 System types:
   1460   --build=BUILD     configure for building on BUILD [guessed]
   1461   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1462   --target=TARGET   configure for building compilers for TARGET [HOST]
   1463 _ACEOF
   1464 fi
   1465 
   1466 if test -n "$ac_init_help"; then
   1467   case $ac_init_help in
   1468      short | recursive ) echo "Configuration of gas 2.46.0:";;
   1469    esac
   1470   cat <<\_ACEOF
   1471 
   1472 Optional Features:
   1473   --disable-option-checking  ignore unrecognized --enable/--with options
   1474   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1475   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1476   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1477   --disable-silent-rules  verbose build output (undo: "make V=0")
   1478   --enable-dependency-tracking
   1479                           do not reject slow dependency extractors
   1480   --disable-dependency-tracking
   1481                           speeds up one-time build
   1482   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1483   --enable-static[=PKGS]  build static libraries [default=yes]
   1484   --enable-fast-install[=PKGS]
   1485                           optimize for fast installation [default=yes]
   1486   --disable-libtool-lock  avoid locking (might break parallel builds)
   1487   --enable-plugins        Enable support for plugins
   1488   --disable-largefile     omit support for large files
   1489   --enable-targets        alternative target configurations besides the primary
   1490   --enable-checking       enable run-time checks
   1491   --enable-compressed-debug-sections={all,gas,none}
   1492                           compress debug sections by default
   1493   --enable-default-compressed-debug-sections-algorithm={zlib,zstd}
   1494                           Default compression algorithm for
   1495                           --enable-compressed-debug-sections.
   1496   --enable-x86-tls-check  check x86 TLS relocation by default
   1497   --enable-elf-stt-common generate ELF common symbols with STT_COMMON type by
   1498                           default
   1499   --enable-default-sframe generate SFrame by default
   1500   --enable-generate-build-notes
   1501                           generate GNU Build notes if none are provided by the
   1502                           input
   1503   --enable-mips-fix-loongson3-llsc
   1504                           enable MIPS fix Loongson3 LLSC errata
   1505   --enable-x86-used-note  generate GNU x86 used ISA and feature properties
   1506   --enable-default-riscv-attribute
   1507                           generate RISC-V arch attribute by default
   1508   --enable-werror         treat compile warnings as errors
   1509   --enable-build-warnings enable build-time compiler warnings
   1510   --disable-nls           do not use Native Language Support
   1511   --disable-rpath         do not hardcode runtime library paths
   1512   --enable-maintainer-mode
   1513                           enable make rules and dependencies not useful (and
   1514                           sometimes confusing) to the casual installer
   1515 
   1516 Optional Packages:
   1517   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1518   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1519   --with-pic              try to use only PIC/non-PIC objects [default=use
   1520                           both]
   1521   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1522   --with-cpu=CPU          default cpu variant is CPU (currently only supported
   1523                           on ARC)
   1524   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1525   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1526   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1527   --with-libiconv-type=TYPE     type of library to search for (auto/static/shared)
   1528   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1529   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1530   --with-libintl-type=TYPE     type of library to search for (auto/static/shared)
   1531   --with-system-zlib      use installed libz
   1532   --with-zstd             support zstd compressed debug sections
   1533                           (default=auto)
   1534 
   1535 Some influential environment variables:
   1536   CC          C compiler command
   1537   CFLAGS      C compiler flags
   1538   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1539               nonstandard directory <lib dir>
   1540   LIBS        libraries to pass to the linker, e.g. -l<library>
   1541   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1542               you have headers in a nonstandard directory <include dir>
   1543   CPP         C preprocessor
   1544   YACC        The `Yet Another Compiler Compiler' implementation to use.
   1545               Defaults to the first program found out of: `bison -y', `byacc',
   1546               `yacc'.
   1547   YFLAGS      The list of arguments that will be passed by default to $YACC.
   1548               This script will default YFLAGS to the empty string to avoid a
   1549               default value of `-d' given by some make applications.
   1550   PKG_CONFIG  path to pkg-config utility
   1551   PKG_CONFIG_PATH
   1552               directories to add to pkg-config's search path
   1553   PKG_CONFIG_LIBDIR
   1554               path overriding pkg-config's built-in search path
   1555   ZSTD_CFLAGS C compiler flags for ZSTD, overriding pkg-config
   1556   ZSTD_LIBS   linker flags for ZSTD, overriding pkg-config
   1557 
   1558 Use these variables to override the choices made by `configure' or to help
   1559 it to find libraries and programs with nonstandard names/locations.
   1560 
   1561 Report bugs to the package provider.
   1562 _ACEOF
   1563 ac_status=$?
   1564 fi
   1565 
   1566 if test "$ac_init_help" = "recursive"; then
   1567   # If there are subdirs, report their specific --help.
   1568   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1569     test -d "$ac_dir" ||
   1570       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1571       continue
   1572     ac_builddir=.
   1573 
   1574 case "$ac_dir" in
   1575 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1576 *)
   1577   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1578   # A ".." for each directory in $ac_dir_suffix.
   1579   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1580   case $ac_top_builddir_sub in
   1581   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1582   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1583   esac ;;
   1584 esac
   1585 ac_abs_top_builddir=$ac_pwd
   1586 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1587 # for backward compatibility:
   1588 ac_top_builddir=$ac_top_build_prefix
   1589 
   1590 case $srcdir in
   1591   .)  # We are building in place.
   1592     ac_srcdir=.
   1593     ac_top_srcdir=$ac_top_builddir_sub
   1594     ac_abs_top_srcdir=$ac_pwd ;;
   1595   [\\/]* | ?:[\\/]* )  # Absolute name.
   1596     ac_srcdir=$srcdir$ac_dir_suffix;
   1597     ac_top_srcdir=$srcdir
   1598     ac_abs_top_srcdir=$srcdir ;;
   1599   *) # Relative name.
   1600     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1601     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1602     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1603 esac
   1604 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1605 
   1606     cd "$ac_dir" || { ac_status=$?; continue; }
   1607     # Check for guested configure.
   1608     if test -f "$ac_srcdir/configure.gnu"; then
   1609       echo &&
   1610       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1611     elif test -f "$ac_srcdir/configure"; then
   1612       echo &&
   1613       $SHELL "$ac_srcdir/configure" --help=recursive
   1614     else
   1615       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1616     fi || ac_status=$?
   1617     cd "$ac_pwd" || { ac_status=$?; break; }
   1618   done
   1619 fi
   1620 
   1621 test -n "$ac_init_help" && exit $ac_status
   1622 if $ac_init_version; then
   1623   cat <<\_ACEOF
   1624 gas configure 2.46.0
   1625 generated by GNU Autoconf 2.69
   1626 
   1627 Copyright (C) 2012 Free Software Foundation, Inc.
   1628 This configure script is free software; the Free Software Foundation
   1629 gives unlimited permission to copy, distribute and modify it.
   1630 _ACEOF
   1631   exit
   1632 fi
   1633 
   1634 ## ------------------------ ##
   1635 ## Autoconf initialization. ##
   1636 ## ------------------------ ##
   1637 
   1638 # ac_fn_c_try_compile LINENO
   1639 # --------------------------
   1640 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1641 ac_fn_c_try_compile ()
   1642 {
   1643   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1644   rm -f conftest.$ac_objext
   1645   if { { ac_try="$ac_compile"
   1646 case "(($ac_try" in
   1647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1648   *) ac_try_echo=$ac_try;;
   1649 esac
   1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1651 $as_echo "$ac_try_echo"; } >&5
   1652   (eval "$ac_compile") 2>conftest.err
   1653   ac_status=$?
   1654   if test -s conftest.err; then
   1655     grep -v '^ *+' conftest.err >conftest.er1
   1656     cat conftest.er1 >&5
   1657     mv -f conftest.er1 conftest.err
   1658   fi
   1659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1660   test $ac_status = 0; } && {
   1661 	 test -z "$ac_c_werror_flag" ||
   1662 	 test ! -s conftest.err
   1663        } && test -s conftest.$ac_objext; then :
   1664   ac_retval=0
   1665 else
   1666   $as_echo "$as_me: failed program was:" >&5
   1667 sed 's/^/| /' conftest.$ac_ext >&5
   1668 
   1669 	ac_retval=1
   1670 fi
   1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1672   as_fn_set_status $ac_retval
   1673 
   1674 } # ac_fn_c_try_compile
   1675 
   1676 # ac_fn_c_try_cpp LINENO
   1677 # ----------------------
   1678 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1679 ac_fn_c_try_cpp ()
   1680 {
   1681   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1682   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1683 case "(($ac_try" in
   1684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1685   *) ac_try_echo=$ac_try;;
   1686 esac
   1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1688 $as_echo "$ac_try_echo"; } >&5
   1689   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1690   ac_status=$?
   1691   if test -s conftest.err; then
   1692     grep -v '^ *+' conftest.err >conftest.er1
   1693     cat conftest.er1 >&5
   1694     mv -f conftest.er1 conftest.err
   1695   fi
   1696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1697   test $ac_status = 0; } > conftest.i && {
   1698 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1699 	 test ! -s conftest.err
   1700        }; then :
   1701   ac_retval=0
   1702 else
   1703   $as_echo "$as_me: failed program was:" >&5
   1704 sed 's/^/| /' conftest.$ac_ext >&5
   1705 
   1706     ac_retval=1
   1707 fi
   1708   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1709   as_fn_set_status $ac_retval
   1710 
   1711 } # ac_fn_c_try_cpp
   1712 
   1713 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1714 # -------------------------------------------------------
   1715 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1716 # the include files in INCLUDES and setting the cache variable VAR
   1717 # accordingly.
   1718 ac_fn_c_check_header_mongrel ()
   1719 {
   1720   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1721   if eval \${$3+:} false; then :
   1722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1723 $as_echo_n "checking for $2... " >&6; }
   1724 if eval \${$3+:} false; then :
   1725   $as_echo_n "(cached) " >&6
   1726 fi
   1727 eval ac_res=\$$3
   1728 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1729 $as_echo "$ac_res" >&6; }
   1730 else
   1731   # Is the header compilable?
   1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1733 $as_echo_n "checking $2 usability... " >&6; }
   1734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1735 /* end confdefs.h.  */
   1736 $4
   1737 #include <$2>
   1738 _ACEOF
   1739 if ac_fn_c_try_compile "$LINENO"; then :
   1740   ac_header_compiler=yes
   1741 else
   1742   ac_header_compiler=no
   1743 fi
   1744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1746 $as_echo "$ac_header_compiler" >&6; }
   1747 
   1748 # Is the header present?
   1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1750 $as_echo_n "checking $2 presence... " >&6; }
   1751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1752 /* end confdefs.h.  */
   1753 #include <$2>
   1754 _ACEOF
   1755 if ac_fn_c_try_cpp "$LINENO"; then :
   1756   ac_header_preproc=yes
   1757 else
   1758   ac_header_preproc=no
   1759 fi
   1760 rm -f conftest.err conftest.i conftest.$ac_ext
   1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1762 $as_echo "$ac_header_preproc" >&6; }
   1763 
   1764 # So?  What about this header?
   1765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1766   yes:no: )
   1767     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1768 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1769     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1770 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1771     ;;
   1772   no:yes:* )
   1773     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1774 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1775     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1776 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1777     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1778 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1779     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1780 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1781     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1782 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1783     ;;
   1784 esac
   1785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1786 $as_echo_n "checking for $2... " >&6; }
   1787 if eval \${$3+:} false; then :
   1788   $as_echo_n "(cached) " >&6
   1789 else
   1790   eval "$3=\$ac_header_compiler"
   1791 fi
   1792 eval ac_res=\$$3
   1793 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1794 $as_echo "$ac_res" >&6; }
   1795 fi
   1796   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1797 
   1798 } # ac_fn_c_check_header_mongrel
   1799 
   1800 # ac_fn_c_try_run LINENO
   1801 # ----------------------
   1802 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1803 # that executables *can* be run.
   1804 ac_fn_c_try_run ()
   1805 {
   1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1807   if { { ac_try="$ac_link"
   1808 case "(($ac_try" in
   1809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1810   *) ac_try_echo=$ac_try;;
   1811 esac
   1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1813 $as_echo "$ac_try_echo"; } >&5
   1814   (eval "$ac_link") 2>&5
   1815   ac_status=$?
   1816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1817   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1818   { { case "(($ac_try" in
   1819   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1820   *) ac_try_echo=$ac_try;;
   1821 esac
   1822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1823 $as_echo "$ac_try_echo"; } >&5
   1824   (eval "$ac_try") 2>&5
   1825   ac_status=$?
   1826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1827   test $ac_status = 0; }; }; then :
   1828   ac_retval=0
   1829 else
   1830   $as_echo "$as_me: program exited with status $ac_status" >&5
   1831        $as_echo "$as_me: failed program was:" >&5
   1832 sed 's/^/| /' conftest.$ac_ext >&5
   1833 
   1834        ac_retval=$ac_status
   1835 fi
   1836   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1837   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1838   as_fn_set_status $ac_retval
   1839 
   1840 } # ac_fn_c_try_run
   1841 
   1842 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1843 # -------------------------------------------------------
   1844 # Tests whether HEADER exists and can be compiled using the include files in
   1845 # INCLUDES, setting the cache variable VAR accordingly.
   1846 ac_fn_c_check_header_compile ()
   1847 {
   1848   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1850 $as_echo_n "checking for $2... " >&6; }
   1851 if eval \${$3+:} false; then :
   1852   $as_echo_n "(cached) " >&6
   1853 else
   1854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1855 /* end confdefs.h.  */
   1856 $4
   1857 #include <$2>
   1858 _ACEOF
   1859 if ac_fn_c_try_compile "$LINENO"; then :
   1860   eval "$3=yes"
   1861 else
   1862   eval "$3=no"
   1863 fi
   1864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1865 fi
   1866 eval ac_res=\$$3
   1867 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1868 $as_echo "$ac_res" >&6; }
   1869   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1870 
   1871 } # ac_fn_c_check_header_compile
   1872 
   1873 # ac_fn_c_try_link LINENO
   1874 # -----------------------
   1875 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1876 ac_fn_c_try_link ()
   1877 {
   1878   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1879   rm -f conftest.$ac_objext conftest$ac_exeext
   1880   if { { ac_try="$ac_link"
   1881 case "(($ac_try" in
   1882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1883   *) ac_try_echo=$ac_try;;
   1884 esac
   1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1886 $as_echo "$ac_try_echo"; } >&5
   1887   (eval "$ac_link") 2>conftest.err
   1888   ac_status=$?
   1889   if test -s conftest.err; then
   1890     grep -v '^ *+' conftest.err >conftest.er1
   1891     cat conftest.er1 >&5
   1892     mv -f conftest.er1 conftest.err
   1893   fi
   1894   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1895   test $ac_status = 0; } && {
   1896 	 test -z "$ac_c_werror_flag" ||
   1897 	 test ! -s conftest.err
   1898        } && test -s conftest$ac_exeext && {
   1899 	 test "$cross_compiling" = yes ||
   1900 	 test -x conftest$ac_exeext
   1901        }; then :
   1902   ac_retval=0
   1903 else
   1904   $as_echo "$as_me: failed program was:" >&5
   1905 sed 's/^/| /' conftest.$ac_ext >&5
   1906 
   1907 	ac_retval=1
   1908 fi
   1909   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1910   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1911   # interfere with the next link command; also delete a directory that is
   1912   # left behind by Apple's compiler.  We do this before executing the actions.
   1913   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1914   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1915   as_fn_set_status $ac_retval
   1916 
   1917 } # ac_fn_c_try_link
   1918 
   1919 # ac_fn_c_check_func LINENO FUNC VAR
   1920 # ----------------------------------
   1921 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1922 ac_fn_c_check_func ()
   1923 {
   1924   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1926 $as_echo_n "checking for $2... " >&6; }
   1927 if eval \${$3+:} false; then :
   1928   $as_echo_n "(cached) " >&6
   1929 else
   1930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1931 /* end confdefs.h.  */
   1932 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1933    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1934 #define $2 innocuous_$2
   1935 
   1936 /* System header to define __stub macros and hopefully few prototypes,
   1937     which can conflict with char $2 (); below.
   1938     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1939     <limits.h> exists even on freestanding compilers.  */
   1940 
   1941 #ifdef __STDC__
   1942 # include <limits.h>
   1943 #else
   1944 # include <assert.h>
   1945 #endif
   1946 
   1947 #undef $2
   1948 
   1949 /* Override any GCC internal prototype to avoid an error.
   1950    Use char because int might match the return type of a GCC
   1951    builtin and then its argument prototype would still apply.  */
   1952 #ifdef __cplusplus
   1953 extern "C"
   1954 #endif
   1955 char $2 ();
   1956 /* The GNU C library defines this for functions which it implements
   1957     to always fail with ENOSYS.  Some functions are actually named
   1958     something starting with __ and the normal name is an alias.  */
   1959 #if defined __stub_$2 || defined __stub___$2
   1960 choke me
   1961 #endif
   1962 
   1963 int
   1964 main ()
   1965 {
   1966 return $2 ();
   1967   ;
   1968   return 0;
   1969 }
   1970 _ACEOF
   1971 if ac_fn_c_try_link "$LINENO"; then :
   1972   eval "$3=yes"
   1973 else
   1974   eval "$3=no"
   1975 fi
   1976 rm -f core conftest.err conftest.$ac_objext \
   1977     conftest$ac_exeext conftest.$ac_ext
   1978 fi
   1979 eval ac_res=\$$3
   1980 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1981 $as_echo "$ac_res" >&6; }
   1982   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1983 
   1984 } # ac_fn_c_check_func
   1985 
   1986 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1987 # ---------------------------------------------
   1988 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1989 # accordingly.
   1990 ac_fn_c_check_decl ()
   1991 {
   1992   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1993   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1994   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1996 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1997 if eval \${$3+:} false; then :
   1998   $as_echo_n "(cached) " >&6
   1999 else
   2000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2001 /* end confdefs.h.  */
   2002 $4
   2003 int
   2004 main ()
   2005 {
   2006 #ifndef $as_decl_name
   2007 #ifdef __cplusplus
   2008   (void) $as_decl_use;
   2009 #else
   2010   (void) $as_decl_name;
   2011 #endif
   2012 #endif
   2013 
   2014   ;
   2015   return 0;
   2016 }
   2017 _ACEOF
   2018 if ac_fn_c_try_compile "$LINENO"; then :
   2019   eval "$3=yes"
   2020 else
   2021   eval "$3=no"
   2022 fi
   2023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2024 fi
   2025 eval ac_res=\$$3
   2026 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2027 $as_echo "$ac_res" >&6; }
   2028   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2029 
   2030 } # ac_fn_c_check_decl
   2031 cat >config.log <<_ACEOF
   2032 This file contains any messages produced by compilers while
   2033 running configure, to aid debugging if configure makes a mistake.
   2034 
   2035 It was created by gas $as_me 2.46.0, which was
   2036 generated by GNU Autoconf 2.69.  Invocation command line was
   2037 
   2038   $ $0 $@
   2039 
   2040 _ACEOF
   2041 exec 5>>config.log
   2042 {
   2043 cat <<_ASUNAME
   2044 ## --------- ##
   2045 ## Platform. ##
   2046 ## --------- ##
   2047 
   2048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2053 
   2054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2055 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2056 
   2057 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2058 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2060 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2061 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2062 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2063 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2064 
   2065 _ASUNAME
   2066 
   2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2068 for as_dir in $PATH
   2069 do
   2070   IFS=$as_save_IFS
   2071   test -z "$as_dir" && as_dir=.
   2072     $as_echo "PATH: $as_dir"
   2073   done
   2074 IFS=$as_save_IFS
   2075 
   2076 } >&5
   2077 
   2078 cat >&5 <<_ACEOF
   2079 
   2080 
   2081 ## ----------- ##
   2082 ## Core tests. ##
   2083 ## ----------- ##
   2084 
   2085 _ACEOF
   2086 
   2087 
   2088 # Keep a trace of the command line.
   2089 # Strip out --no-create and --no-recursion so they do not pile up.
   2090 # Strip out --silent because we don't want to record it for future runs.
   2091 # Also quote any args containing shell meta-characters.
   2092 # Make two passes to allow for proper duplicate-argument suppression.
   2093 ac_configure_args=
   2094 ac_configure_args0=
   2095 ac_configure_args1=
   2096 ac_must_keep_next=false
   2097 for ac_pass in 1 2
   2098 do
   2099   for ac_arg
   2100   do
   2101     case $ac_arg in
   2102     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2103     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2104     | -silent | --silent | --silen | --sile | --sil)
   2105       continue ;;
   2106     *\'*)
   2107       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2108     esac
   2109     case $ac_pass in
   2110     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2111     2)
   2112       as_fn_append ac_configure_args1 " '$ac_arg'"
   2113       if test $ac_must_keep_next = true; then
   2114 	ac_must_keep_next=false # Got value, back to normal.
   2115       else
   2116 	case $ac_arg in
   2117 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2118 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2119 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2120 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2121 	    case "$ac_configure_args0 " in
   2122 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2123 	    esac
   2124 	    ;;
   2125 	  -* ) ac_must_keep_next=true ;;
   2126 	esac
   2127       fi
   2128       as_fn_append ac_configure_args " '$ac_arg'"
   2129       ;;
   2130     esac
   2131   done
   2132 done
   2133 { ac_configure_args0=; unset ac_configure_args0;}
   2134 { ac_configure_args1=; unset ac_configure_args1;}
   2135 
   2136 # When interrupted or exit'd, cleanup temporary files, and complete
   2137 # config.log.  We remove comments because anyway the quotes in there
   2138 # would cause problems or look ugly.
   2139 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2140 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2141 trap 'exit_status=$?
   2142   # Save into config.log some information that might help in debugging.
   2143   {
   2144     echo
   2145 
   2146     $as_echo "## ---------------- ##
   2147 ## Cache variables. ##
   2148 ## ---------------- ##"
   2149     echo
   2150     # The following way of writing the cache mishandles newlines in values,
   2151 (
   2152   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2153     eval ac_val=\$$ac_var
   2154     case $ac_val in #(
   2155     *${as_nl}*)
   2156       case $ac_var in #(
   2157       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2158 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2159       esac
   2160       case $ac_var in #(
   2161       _ | IFS | as_nl) ;; #(
   2162       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2163       *) { eval $ac_var=; unset $ac_var;} ;;
   2164       esac ;;
   2165     esac
   2166   done
   2167   (set) 2>&1 |
   2168     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2169     *${as_nl}ac_space=\ *)
   2170       sed -n \
   2171 	"s/'\''/'\''\\\\'\'''\''/g;
   2172 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2173       ;; #(
   2174     *)
   2175       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2176       ;;
   2177     esac |
   2178     sort
   2179 )
   2180     echo
   2181 
   2182     $as_echo "## ----------------- ##
   2183 ## Output variables. ##
   2184 ## ----------------- ##"
   2185     echo
   2186     for ac_var in $ac_subst_vars
   2187     do
   2188       eval ac_val=\$$ac_var
   2189       case $ac_val in
   2190       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2191       esac
   2192       $as_echo "$ac_var='\''$ac_val'\''"
   2193     done | sort
   2194     echo
   2195 
   2196     if test -n "$ac_subst_files"; then
   2197       $as_echo "## ------------------- ##
   2198 ## File substitutions. ##
   2199 ## ------------------- ##"
   2200       echo
   2201       for ac_var in $ac_subst_files
   2202       do
   2203 	eval ac_val=\$$ac_var
   2204 	case $ac_val in
   2205 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2206 	esac
   2207 	$as_echo "$ac_var='\''$ac_val'\''"
   2208       done | sort
   2209       echo
   2210     fi
   2211 
   2212     if test -s confdefs.h; then
   2213       $as_echo "## ----------- ##
   2214 ## confdefs.h. ##
   2215 ## ----------- ##"
   2216       echo
   2217       cat confdefs.h
   2218       echo
   2219     fi
   2220     test "$ac_signal" != 0 &&
   2221       $as_echo "$as_me: caught signal $ac_signal"
   2222     $as_echo "$as_me: exit $exit_status"
   2223   } >&5
   2224   rm -f core *.core core.conftest.* &&
   2225     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2226     exit $exit_status
   2227 ' 0
   2228 for ac_signal in 1 2 13 15; do
   2229   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2230 done
   2231 ac_signal=0
   2232 
   2233 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2234 rm -f -r conftest* confdefs.h
   2235 
   2236 $as_echo "/* confdefs.h */" > confdefs.h
   2237 
   2238 # Predefined preprocessor variables.
   2239 
   2240 cat >>confdefs.h <<_ACEOF
   2241 #define PACKAGE_NAME "$PACKAGE_NAME"
   2242 _ACEOF
   2243 
   2244 cat >>confdefs.h <<_ACEOF
   2245 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2246 _ACEOF
   2247 
   2248 cat >>confdefs.h <<_ACEOF
   2249 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2250 _ACEOF
   2251 
   2252 cat >>confdefs.h <<_ACEOF
   2253 #define PACKAGE_STRING "$PACKAGE_STRING"
   2254 _ACEOF
   2255 
   2256 cat >>confdefs.h <<_ACEOF
   2257 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2258 _ACEOF
   2259 
   2260 cat >>confdefs.h <<_ACEOF
   2261 #define PACKAGE_URL "$PACKAGE_URL"
   2262 _ACEOF
   2263 
   2264 
   2265 # Let the site file select an alternate cache file if it wants to.
   2266 # Prefer an explicitly selected file to automatically selected ones.
   2267 ac_site_file1=NONE
   2268 ac_site_file2=NONE
   2269 if test -n "$CONFIG_SITE"; then
   2270   # We do not want a PATH search for config.site.
   2271   case $CONFIG_SITE in #((
   2272     -*)  ac_site_file1=./$CONFIG_SITE;;
   2273     */*) ac_site_file1=$CONFIG_SITE;;
   2274     *)   ac_site_file1=./$CONFIG_SITE;;
   2275   esac
   2276 elif test "x$prefix" != xNONE; then
   2277   ac_site_file1=$prefix/share/config.site
   2278   ac_site_file2=$prefix/etc/config.site
   2279 else
   2280   ac_site_file1=$ac_default_prefix/share/config.site
   2281   ac_site_file2=$ac_default_prefix/etc/config.site
   2282 fi
   2283 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2284 do
   2285   test "x$ac_site_file" = xNONE && continue
   2286   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2287     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2288 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2289     sed 's/^/| /' "$ac_site_file" >&5
   2290     . "$ac_site_file" \
   2291       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2293 as_fn_error $? "failed to load site script $ac_site_file
   2294 See \`config.log' for more details" "$LINENO" 5; }
   2295   fi
   2296 done
   2297 
   2298 if test -r "$cache_file"; then
   2299   # Some versions of bash will fail to source /dev/null (special files
   2300   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2301   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2302     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2303 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2304     case $cache_file in
   2305       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2306       *)                      . "./$cache_file";;
   2307     esac
   2308   fi
   2309 else
   2310   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2311 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2312   >$cache_file
   2313 fi
   2314 
   2315 gt_needs="$gt_needs "
   2316 # Check that the precious variables saved in the cache have kept the same
   2317 # value.
   2318 ac_cache_corrupted=false
   2319 for ac_var in $ac_precious_vars; do
   2320   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2321   eval ac_new_set=\$ac_env_${ac_var}_set
   2322   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2323   eval ac_new_val=\$ac_env_${ac_var}_value
   2324   case $ac_old_set,$ac_new_set in
   2325     set,)
   2326       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2327 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2328       ac_cache_corrupted=: ;;
   2329     ,set)
   2330       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2331 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2332       ac_cache_corrupted=: ;;
   2333     ,);;
   2334     *)
   2335       if test "x$ac_old_val" != "x$ac_new_val"; then
   2336 	# differences in whitespace do not lead to failure.
   2337 	ac_old_val_w=`echo x $ac_old_val`
   2338 	ac_new_val_w=`echo x $ac_new_val`
   2339 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2340 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2341 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2342 	  ac_cache_corrupted=:
   2343 	else
   2344 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2345 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2346 	  eval $ac_var=\$ac_old_val
   2347 	fi
   2348 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2349 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2350 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2351 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2352       fi;;
   2353   esac
   2354   # Pass precious variables to config.status.
   2355   if test "$ac_new_set" = set; then
   2356     case $ac_new_val in
   2357     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2358     *) ac_arg=$ac_var=$ac_new_val ;;
   2359     esac
   2360     case " $ac_configure_args " in
   2361       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2362       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2363     esac
   2364   fi
   2365 done
   2366 if $ac_cache_corrupted; then
   2367   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2369   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2370 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2371   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2372 fi
   2373 ## -------------------- ##
   2374 ## Main body of script. ##
   2375 ## -------------------- ##
   2376 
   2377 ac_ext=c
   2378 ac_cpp='$CPP $CPPFLAGS'
   2379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2382 
   2383 
   2384 
   2385 
   2386 
   2387 
   2388 
   2389 ac_aux_dir=
   2390 for ac_dir in .. "$srcdir"/..; do
   2391   if test -f "$ac_dir/install-sh"; then
   2392     ac_aux_dir=$ac_dir
   2393     ac_install_sh="$ac_aux_dir/install-sh -c"
   2394     break
   2395   elif test -f "$ac_dir/install.sh"; then
   2396     ac_aux_dir=$ac_dir
   2397     ac_install_sh="$ac_aux_dir/install.sh -c"
   2398     break
   2399   elif test -f "$ac_dir/shtool"; then
   2400     ac_aux_dir=$ac_dir
   2401     ac_install_sh="$ac_aux_dir/shtool install -c"
   2402     break
   2403   fi
   2404 done
   2405 if test -z "$ac_aux_dir"; then
   2406   as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
   2407 fi
   2408 
   2409 # These three variables are undocumented and unsupported,
   2410 # and are intended to be withdrawn in a future Autoconf release.
   2411 # They can cause serious problems if a builder's source tree is in a directory
   2412 # whose full name contains unusual characters.
   2413 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2414 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2415 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2416 
   2417 
   2418 # Make sure we can run config.sub.
   2419 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2420   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2421 
   2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2423 $as_echo_n "checking build system type... " >&6; }
   2424 if ${ac_cv_build+:} false; then :
   2425   $as_echo_n "(cached) " >&6
   2426 else
   2427   ac_build_alias=$build_alias
   2428 test "x$ac_build_alias" = x &&
   2429   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2430 test "x$ac_build_alias" = x &&
   2431   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2432 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2433   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2434 
   2435 fi
   2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2437 $as_echo "$ac_cv_build" >&6; }
   2438 case $ac_cv_build in
   2439 *-*-*) ;;
   2440 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2441 esac
   2442 build=$ac_cv_build
   2443 ac_save_IFS=$IFS; IFS='-'
   2444 set x $ac_cv_build
   2445 shift
   2446 build_cpu=$1
   2447 build_vendor=$2
   2448 shift; shift
   2449 # Remember, the first character of IFS is used to create $*,
   2450 # except with old shells:
   2451 build_os=$*
   2452 IFS=$ac_save_IFS
   2453 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2454 
   2455 
   2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2457 $as_echo_n "checking host system type... " >&6; }
   2458 if ${ac_cv_host+:} false; then :
   2459   $as_echo_n "(cached) " >&6
   2460 else
   2461   if test "x$host_alias" = x; then
   2462   ac_cv_host=$ac_cv_build
   2463 else
   2464   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2465     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2466 fi
   2467 
   2468 fi
   2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2470 $as_echo "$ac_cv_host" >&6; }
   2471 case $ac_cv_host in
   2472 *-*-*) ;;
   2473 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2474 esac
   2475 host=$ac_cv_host
   2476 ac_save_IFS=$IFS; IFS='-'
   2477 set x $ac_cv_host
   2478 shift
   2479 host_cpu=$1
   2480 host_vendor=$2
   2481 shift; shift
   2482 # Remember, the first character of IFS is used to create $*,
   2483 # except with old shells:
   2484 host_os=$*
   2485 IFS=$ac_save_IFS
   2486 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2487 
   2488 
   2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2490 $as_echo_n "checking target system type... " >&6; }
   2491 if ${ac_cv_target+:} false; then :
   2492   $as_echo_n "(cached) " >&6
   2493 else
   2494   if test "x$target_alias" = x; then
   2495   ac_cv_target=$ac_cv_host
   2496 else
   2497   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2498     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2499 fi
   2500 
   2501 fi
   2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2503 $as_echo "$ac_cv_target" >&6; }
   2504 case $ac_cv_target in
   2505 *-*-*) ;;
   2506 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2507 esac
   2508 target=$ac_cv_target
   2509 ac_save_IFS=$IFS; IFS='-'
   2510 set x $ac_cv_target
   2511 shift
   2512 target_cpu=$1
   2513 target_vendor=$2
   2514 shift; shift
   2515 # Remember, the first character of IFS is used to create $*,
   2516 # except with old shells:
   2517 target_os=$*
   2518 IFS=$ac_save_IFS
   2519 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2520 
   2521 
   2522 # The aliases save the names the user supplied, while $host etc.
   2523 # will get canonicalized.
   2524 test -n "$target_alias" &&
   2525   test "$program_prefix$program_suffix$program_transform_name" = \
   2526     NONENONEs,x,x, &&
   2527   program_prefix=${target_alias}-
   2528 
   2529 am__api_version='1.15'
   2530 
   2531 # Find a good install program.  We prefer a C program (faster),
   2532 # so one script is as good as another.  But avoid the broken or
   2533 # incompatible versions:
   2534 # SysV /etc/install, /usr/sbin/install
   2535 # SunOS /usr/etc/install
   2536 # IRIX /sbin/install
   2537 # AIX /bin/install
   2538 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2539 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2540 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2541 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2542 # OS/2's system install, which has a completely different semantic
   2543 # ./install, which can be erroneously created by make from ./install.sh.
   2544 # Reject install programs that cannot install multiple files.
   2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2546 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2547 if test -z "$INSTALL"; then
   2548 if ${ac_cv_path_install+:} false; then :
   2549   $as_echo_n "(cached) " >&6
   2550 else
   2551   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2552 for as_dir in $PATH
   2553 do
   2554   IFS=$as_save_IFS
   2555   test -z "$as_dir" && as_dir=.
   2556     # Account for people who put trailing slashes in PATH elements.
   2557 case $as_dir/ in #((
   2558   ./ | .// | /[cC]/* | \
   2559   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2560   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2561   /usr/ucb/* ) ;;
   2562   *)
   2563     # OSF1 and SCO ODT 3.0 have their own names for install.
   2564     # Don't use installbsd from OSF since it installs stuff as root
   2565     # by default.
   2566     for ac_prog in ginstall scoinst install; do
   2567       for ac_exec_ext in '' $ac_executable_extensions; do
   2568 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2569 	  if test $ac_prog = install &&
   2570 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2571 	    # AIX install.  It has an incompatible calling convention.
   2572 	    :
   2573 	  elif test $ac_prog = install &&
   2574 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2575 	    # program-specific install script used by HP pwplus--don't use.
   2576 	    :
   2577 	  else
   2578 	    rm -rf conftest.one conftest.two conftest.dir
   2579 	    echo one > conftest.one
   2580 	    echo two > conftest.two
   2581 	    mkdir conftest.dir
   2582 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2583 	      test -s conftest.one && test -s conftest.two &&
   2584 	      test -s conftest.dir/conftest.one &&
   2585 	      test -s conftest.dir/conftest.two
   2586 	    then
   2587 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2588 	      break 3
   2589 	    fi
   2590 	  fi
   2591 	fi
   2592       done
   2593     done
   2594     ;;
   2595 esac
   2596 
   2597   done
   2598 IFS=$as_save_IFS
   2599 
   2600 rm -rf conftest.one conftest.two conftest.dir
   2601 
   2602 fi
   2603   if test "${ac_cv_path_install+set}" = set; then
   2604     INSTALL=$ac_cv_path_install
   2605   else
   2606     # As a last resort, use the slow shell script.  Don't cache a
   2607     # value for INSTALL within a source directory, because that will
   2608     # break other packages using the cache if that directory is
   2609     # removed, or if the value is a relative name.
   2610     INSTALL=$ac_install_sh
   2611   fi
   2612 fi
   2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2614 $as_echo "$INSTALL" >&6; }
   2615 
   2616 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2617 # It thinks the first close brace ends the variable substitution.
   2618 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2619 
   2620 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2621 
   2622 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2623 
   2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2625 $as_echo_n "checking whether build environment is sane... " >&6; }
   2626 # Reject unsafe characters in $srcdir or the absolute working directory
   2627 # name.  Accept space and tab only in the latter.
   2628 am_lf='
   2629 '
   2630 case `pwd` in
   2631   *[\\\"\#\$\&\'\`$am_lf]*)
   2632     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2633 esac
   2634 case $srcdir in
   2635   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2636     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2637 esac
   2638 
   2639 # Do 'set' in a subshell so we don't clobber the current shell's
   2640 # arguments.  Must try -L first in case configure is actually a
   2641 # symlink; some systems play weird games with the mod time of symlinks
   2642 # (eg FreeBSD returns the mod time of the symlink's containing
   2643 # directory).
   2644 if (
   2645    am_has_slept=no
   2646    for am_try in 1 2; do
   2647      echo "timestamp, slept: $am_has_slept" > conftest.file
   2648      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2649      if test "$*" = "X"; then
   2650 	# -L didn't work.
   2651 	set X `ls -t "$srcdir/configure" conftest.file`
   2652      fi
   2653      if test "$*" != "X $srcdir/configure conftest.file" \
   2654 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2655 
   2656 	# If neither matched, then we have a broken ls.  This can happen
   2657 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2658 	# broken ls alias from the environment.  This has actually
   2659 	# happened.  Such a system could not be considered "sane".
   2660 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2661   alias in your environment" "$LINENO" 5
   2662      fi
   2663      if test "$2" = conftest.file || test $am_try -eq 2; then
   2664        break
   2665      fi
   2666      # Just in case.
   2667      sleep 1
   2668      am_has_slept=yes
   2669    done
   2670    test "$2" = conftest.file
   2671    )
   2672 then
   2673    # Ok.
   2674    :
   2675 else
   2676    as_fn_error $? "newly created file is older than distributed files!
   2677 Check your system clock" "$LINENO" 5
   2678 fi
   2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2680 $as_echo "yes" >&6; }
   2681 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2682 # generated files are strictly newer.
   2683 am_sleep_pid=
   2684 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2685   ( sleep 1 ) &
   2686   am_sleep_pid=$!
   2687 fi
   2688 
   2689 rm -f conftest.file
   2690 
   2691 test "$program_prefix" != NONE &&
   2692   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2693 # Use a double $ so make ignores it.
   2694 test "$program_suffix" != NONE &&
   2695   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2696 # Double any \ or $.
   2697 # By default was `s,x,x', remove it if useless.
   2698 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2699 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2700 
   2701 # Expand $ac_aux_dir to an absolute path.
   2702 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2703 
   2704 if test x"${MISSING+set}" != xset; then
   2705   case $am_aux_dir in
   2706   *\ * | *\	*)
   2707     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2708   *)
   2709     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2710   esac
   2711 fi
   2712 # Use eval to expand $SHELL
   2713 if eval "$MISSING --is-lightweight"; then
   2714   am_missing_run="$MISSING "
   2715 else
   2716   am_missing_run=
   2717   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2718 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2719 fi
   2720 
   2721 if test x"${install_sh+set}" != xset; then
   2722   case $am_aux_dir in
   2723   *\ * | *\	*)
   2724     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2725   *)
   2726     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2727   esac
   2728 fi
   2729 
   2730 # Installed binaries are usually stripped using 'strip' when the user
   2731 # run "make install-strip".  However 'strip' might not be the right
   2732 # tool to use in cross-compilation environments, therefore Automake
   2733 # will honor the 'STRIP' environment variable to overrule this program.
   2734 if test "$cross_compiling" != no; then
   2735   if test -n "$ac_tool_prefix"; then
   2736   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2737 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2739 $as_echo_n "checking for $ac_word... " >&6; }
   2740 if ${ac_cv_prog_STRIP+:} false; then :
   2741   $as_echo_n "(cached) " >&6
   2742 else
   2743   if test -n "$STRIP"; then
   2744   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2745 else
   2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2747 for as_dir in $PATH
   2748 do
   2749   IFS=$as_save_IFS
   2750   test -z "$as_dir" && as_dir=.
   2751     for ac_exec_ext in '' $ac_executable_extensions; do
   2752   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2753     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2755     break 2
   2756   fi
   2757 done
   2758   done
   2759 IFS=$as_save_IFS
   2760 
   2761 fi
   2762 fi
   2763 STRIP=$ac_cv_prog_STRIP
   2764 if test -n "$STRIP"; then
   2765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2766 $as_echo "$STRIP" >&6; }
   2767 else
   2768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2769 $as_echo "no" >&6; }
   2770 fi
   2771 
   2772 
   2773 fi
   2774 if test -z "$ac_cv_prog_STRIP"; then
   2775   ac_ct_STRIP=$STRIP
   2776   # Extract the first word of "strip", so it can be a program name with args.
   2777 set dummy strip; ac_word=$2
   2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2779 $as_echo_n "checking for $ac_word... " >&6; }
   2780 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2781   $as_echo_n "(cached) " >&6
   2782 else
   2783   if test -n "$ac_ct_STRIP"; then
   2784   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2785 else
   2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2787 for as_dir in $PATH
   2788 do
   2789   IFS=$as_save_IFS
   2790   test -z "$as_dir" && as_dir=.
   2791     for ac_exec_ext in '' $ac_executable_extensions; do
   2792   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2793     ac_cv_prog_ac_ct_STRIP="strip"
   2794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2795     break 2
   2796   fi
   2797 done
   2798   done
   2799 IFS=$as_save_IFS
   2800 
   2801 fi
   2802 fi
   2803 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2804 if test -n "$ac_ct_STRIP"; then
   2805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2806 $as_echo "$ac_ct_STRIP" >&6; }
   2807 else
   2808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2809 $as_echo "no" >&6; }
   2810 fi
   2811 
   2812   if test "x$ac_ct_STRIP" = x; then
   2813     STRIP=":"
   2814   else
   2815     case $cross_compiling:$ac_tool_warned in
   2816 yes:)
   2817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2819 ac_tool_warned=yes ;;
   2820 esac
   2821     STRIP=$ac_ct_STRIP
   2822   fi
   2823 else
   2824   STRIP="$ac_cv_prog_STRIP"
   2825 fi
   2826 
   2827 fi
   2828 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2829 
   2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2831 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2832 if test -z "$MKDIR_P"; then
   2833   if ${ac_cv_path_mkdir+:} false; then :
   2834   $as_echo_n "(cached) " >&6
   2835 else
   2836   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2837 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2838 do
   2839   IFS=$as_save_IFS
   2840   test -z "$as_dir" && as_dir=.
   2841     for ac_prog in mkdir gmkdir; do
   2842 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2843 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2844 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2845 	     'mkdir (GNU coreutils) '* | \
   2846 	     'mkdir (coreutils) '* | \
   2847 	     'mkdir (fileutils) '4.1*)
   2848 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2849 	       break 3;;
   2850 	   esac
   2851 	 done
   2852        done
   2853   done
   2854 IFS=$as_save_IFS
   2855 
   2856 fi
   2857 
   2858   test -d ./--version && rmdir ./--version
   2859   if test "${ac_cv_path_mkdir+set}" = set; then
   2860     MKDIR_P="$ac_cv_path_mkdir -p"
   2861   else
   2862     # As a last resort, use the slow shell script.  Don't cache a
   2863     # value for MKDIR_P within a source directory, because that will
   2864     # break other packages using the cache if that directory is
   2865     # removed, or if the value is a relative name.
   2866     MKDIR_P="$ac_install_sh -d"
   2867   fi
   2868 fi
   2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2870 $as_echo "$MKDIR_P" >&6; }
   2871 
   2872 for ac_prog in gawk mawk nawk awk
   2873 do
   2874   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2875 set dummy $ac_prog; ac_word=$2
   2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2877 $as_echo_n "checking for $ac_word... " >&6; }
   2878 if ${ac_cv_prog_AWK+:} false; then :
   2879   $as_echo_n "(cached) " >&6
   2880 else
   2881   if test -n "$AWK"; then
   2882   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2883 else
   2884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2885 for as_dir in $PATH
   2886 do
   2887   IFS=$as_save_IFS
   2888   test -z "$as_dir" && as_dir=.
   2889     for ac_exec_ext in '' $ac_executable_extensions; do
   2890   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2891     ac_cv_prog_AWK="$ac_prog"
   2892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2893     break 2
   2894   fi
   2895 done
   2896   done
   2897 IFS=$as_save_IFS
   2898 
   2899 fi
   2900 fi
   2901 AWK=$ac_cv_prog_AWK
   2902 if test -n "$AWK"; then
   2903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2904 $as_echo "$AWK" >&6; }
   2905 else
   2906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2907 $as_echo "no" >&6; }
   2908 fi
   2909 
   2910 
   2911   test -n "$AWK" && break
   2912 done
   2913 
   2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2915 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2916 set x ${MAKE-make}
   2917 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2918 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2919   $as_echo_n "(cached) " >&6
   2920 else
   2921   cat >conftest.make <<\_ACEOF
   2922 SHELL = /bin/sh
   2923 all:
   2924 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2925 _ACEOF
   2926 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2927 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2928   *@@@%%%=?*=@@@%%%*)
   2929     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2930   *)
   2931     eval ac_cv_prog_make_${ac_make}_set=no;;
   2932 esac
   2933 rm -f conftest.make
   2934 fi
   2935 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2937 $as_echo "yes" >&6; }
   2938   SET_MAKE=
   2939 else
   2940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2941 $as_echo "no" >&6; }
   2942   SET_MAKE="MAKE=${MAKE-make}"
   2943 fi
   2944 
   2945 rm -rf .tst 2>/dev/null
   2946 mkdir .tst 2>/dev/null
   2947 if test -d .tst; then
   2948   am__leading_dot=.
   2949 else
   2950   am__leading_dot=_
   2951 fi
   2952 rmdir .tst 2>/dev/null
   2953 
   2954 # Check whether --enable-silent-rules was given.
   2955 if test "${enable_silent_rules+set}" = set; then :
   2956   enableval=$enable_silent_rules;
   2957 fi
   2958 
   2959 case $enable_silent_rules in # (((
   2960   yes) AM_DEFAULT_VERBOSITY=0;;
   2961    no) AM_DEFAULT_VERBOSITY=1;;
   2962     *) AM_DEFAULT_VERBOSITY=1;;
   2963 esac
   2964 am_make=${MAKE-make}
   2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2966 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2967 if ${am_cv_make_support_nested_variables+:} false; then :
   2968   $as_echo_n "(cached) " >&6
   2969 else
   2970   if $as_echo 'TRUE=$(BAR$(V))
   2971 BAR0=false
   2972 BAR1=true
   2973 V=1
   2974 am__doit:
   2975 	@$(TRUE)
   2976 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2977   am_cv_make_support_nested_variables=yes
   2978 else
   2979   am_cv_make_support_nested_variables=no
   2980 fi
   2981 fi
   2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2983 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2984 if test $am_cv_make_support_nested_variables = yes; then
   2985     AM_V='$(V)'
   2986   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2987 else
   2988   AM_V=$AM_DEFAULT_VERBOSITY
   2989   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2990 fi
   2991 AM_BACKSLASH='\'
   2992 
   2993 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2994   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2995   # is not polluted with repeated "-I."
   2996   am__isrc=' -I$(srcdir)'
   2997   # test to see if srcdir already configured
   2998   if test -f $srcdir/config.status; then
   2999     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3000   fi
   3001 fi
   3002 
   3003 # test whether we have cygpath
   3004 if test -z "$CYGPATH_W"; then
   3005   if (cygpath --version) >/dev/null 2>/dev/null; then
   3006     CYGPATH_W='cygpath -w'
   3007   else
   3008     CYGPATH_W=echo
   3009   fi
   3010 fi
   3011 
   3012 
   3013 # Define the identity of the package.
   3014  PACKAGE='gas'
   3015  VERSION='2.46.0'
   3016 
   3017 
   3018 cat >>confdefs.h <<_ACEOF
   3019 #define PACKAGE "$PACKAGE"
   3020 _ACEOF
   3021 
   3022 
   3023 cat >>confdefs.h <<_ACEOF
   3024 #define VERSION "$VERSION"
   3025 _ACEOF
   3026 
   3027 # Some tools Automake needs.
   3028 
   3029 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3030 
   3031 
   3032 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3033 
   3034 
   3035 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3036 
   3037 
   3038 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3039 
   3040 
   3041 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3042 
   3043 # For better backward compatibility.  To be removed once Automake 1.9.x
   3044 # dies out for good.  For more background, see:
   3045 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3046 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3047 mkdir_p='$(MKDIR_P)'
   3048 
   3049 # We need awk for the "check" target (and possibly the TAP driver).  The
   3050 # system "awk" is bad on some platforms.
   3051 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3052 # in the wild :-(  We should find a proper way to deprecate it ...
   3053 AMTAR='$${TAR-tar}'
   3054 
   3055 
   3056 # We'll loop over all known methods to create a tar archive until one works.
   3057 _am_tools='gnutar  pax cpio none'
   3058 
   3059 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3060 
   3061 
   3062 
   3063 
   3064 
   3065 
   3066 # POSIX will say in a future version that running "rm -f" with no argument
   3067 # is OK; and we want to be able to make that assumption in our Makefile
   3068 # recipes.  So use an aggressive probe to check that the usage we want is
   3069 # actually supported "in the wild" to an acceptable degree.
   3070 # See automake bug#10828.
   3071 # To make any issue more visible, cause the running configure to be aborted
   3072 # by default if the 'rm' program in use doesn't match our expectations; the
   3073 # user can still override this though.
   3074 if rm -f && rm -fr && rm -rf; then : OK; else
   3075   cat >&2 <<'END'
   3076 Oops!
   3077 
   3078 Your 'rm' program seems unable to run without file operands specified
   3079 on the command line, even when the '-f' option is present.  This is contrary
   3080 to the behaviour of most rm programs out there, and not conforming with
   3081 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3082 
   3083 Please tell bug-automake@gnu.org about your system, including the value
   3084 of your $PATH and any error possibly output before this message.  This
   3085 can help us improve future automake versions.
   3086 
   3087 END
   3088   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3089     echo 'Configuration will proceed anyway, since you have set the' >&2
   3090     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3091     echo >&2
   3092   else
   3093     cat >&2 <<'END'
   3094 Aborting the configuration process, to ensure you take notice of the issue.
   3095 
   3096 You can download and install GNU coreutils to get an 'rm' implementation
   3097 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3098 
   3099 If you want to complete the configuration process using your problematic
   3100 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3101 to "yes", and re-run configure.
   3102 
   3103 END
   3104     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3105   fi
   3106 fi
   3107 
   3108 # Check whether --enable-silent-rules was given.
   3109 if test "${enable_silent_rules+set}" = set; then :
   3110   enableval=$enable_silent_rules;
   3111 fi
   3112 
   3113 case $enable_silent_rules in # (((
   3114   yes) AM_DEFAULT_VERBOSITY=0;;
   3115    no) AM_DEFAULT_VERBOSITY=1;;
   3116     *) AM_DEFAULT_VERBOSITY=0;;
   3117 esac
   3118 am_make=${MAKE-make}
   3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3120 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3121 if ${am_cv_make_support_nested_variables+:} false; then :
   3122   $as_echo_n "(cached) " >&6
   3123 else
   3124   if $as_echo 'TRUE=$(BAR$(V))
   3125 BAR0=false
   3126 BAR1=true
   3127 V=1
   3128 am__doit:
   3129 	@$(TRUE)
   3130 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3131   am_cv_make_support_nested_variables=yes
   3132 else
   3133   am_cv_make_support_nested_variables=no
   3134 fi
   3135 fi
   3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3137 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3138 if test $am_cv_make_support_nested_variables = yes; then
   3139     AM_V='$(V)'
   3140   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3141 else
   3142   AM_V=$AM_DEFAULT_VERBOSITY
   3143   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3144 fi
   3145 AM_BACKSLASH='\'
   3146 
   3147 
   3148 ac_ext=c
   3149 ac_cpp='$CPP $CPPFLAGS'
   3150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3153 if test -n "$ac_tool_prefix"; then
   3154   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3155 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3157 $as_echo_n "checking for $ac_word... " >&6; }
   3158 if ${ac_cv_prog_CC+:} false; then :
   3159   $as_echo_n "(cached) " >&6
   3160 else
   3161   if test -n "$CC"; then
   3162   ac_cv_prog_CC="$CC" # Let the user override the test.
   3163 else
   3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3165 for as_dir in $PATH
   3166 do
   3167   IFS=$as_save_IFS
   3168   test -z "$as_dir" && as_dir=.
   3169     for ac_exec_ext in '' $ac_executable_extensions; do
   3170   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3171     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3173     break 2
   3174   fi
   3175 done
   3176   done
   3177 IFS=$as_save_IFS
   3178 
   3179 fi
   3180 fi
   3181 CC=$ac_cv_prog_CC
   3182 if test -n "$CC"; then
   3183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3184 $as_echo "$CC" >&6; }
   3185 else
   3186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3187 $as_echo "no" >&6; }
   3188 fi
   3189 
   3190 
   3191 fi
   3192 if test -z "$ac_cv_prog_CC"; then
   3193   ac_ct_CC=$CC
   3194   # Extract the first word of "gcc", so it can be a program name with args.
   3195 set dummy gcc; ac_word=$2
   3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3197 $as_echo_n "checking for $ac_word... " >&6; }
   3198 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3199   $as_echo_n "(cached) " >&6
   3200 else
   3201   if test -n "$ac_ct_CC"; then
   3202   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3203 else
   3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3205 for as_dir in $PATH
   3206 do
   3207   IFS=$as_save_IFS
   3208   test -z "$as_dir" && as_dir=.
   3209     for ac_exec_ext in '' $ac_executable_extensions; do
   3210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3211     ac_cv_prog_ac_ct_CC="gcc"
   3212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3213     break 2
   3214   fi
   3215 done
   3216   done
   3217 IFS=$as_save_IFS
   3218 
   3219 fi
   3220 fi
   3221 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3222 if test -n "$ac_ct_CC"; then
   3223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3224 $as_echo "$ac_ct_CC" >&6; }
   3225 else
   3226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3227 $as_echo "no" >&6; }
   3228 fi
   3229 
   3230   if test "x$ac_ct_CC" = x; then
   3231     CC=""
   3232   else
   3233     case $cross_compiling:$ac_tool_warned in
   3234 yes:)
   3235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3237 ac_tool_warned=yes ;;
   3238 esac
   3239     CC=$ac_ct_CC
   3240   fi
   3241 else
   3242   CC="$ac_cv_prog_CC"
   3243 fi
   3244 
   3245 if test -z "$CC"; then
   3246           if test -n "$ac_tool_prefix"; then
   3247     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3248 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3250 $as_echo_n "checking for $ac_word... " >&6; }
   3251 if ${ac_cv_prog_CC+:} false; then :
   3252   $as_echo_n "(cached) " >&6
   3253 else
   3254   if test -n "$CC"; then
   3255   ac_cv_prog_CC="$CC" # Let the user override the test.
   3256 else
   3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3258 for as_dir in $PATH
   3259 do
   3260   IFS=$as_save_IFS
   3261   test -z "$as_dir" && as_dir=.
   3262     for ac_exec_ext in '' $ac_executable_extensions; do
   3263   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3264     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3265     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3266     break 2
   3267   fi
   3268 done
   3269   done
   3270 IFS=$as_save_IFS
   3271 
   3272 fi
   3273 fi
   3274 CC=$ac_cv_prog_CC
   3275 if test -n "$CC"; then
   3276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3277 $as_echo "$CC" >&6; }
   3278 else
   3279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3280 $as_echo "no" >&6; }
   3281 fi
   3282 
   3283 
   3284   fi
   3285 fi
   3286 if test -z "$CC"; then
   3287   # Extract the first word of "cc", so it can be a program name with args.
   3288 set dummy cc; ac_word=$2
   3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3290 $as_echo_n "checking for $ac_word... " >&6; }
   3291 if ${ac_cv_prog_CC+:} false; then :
   3292   $as_echo_n "(cached) " >&6
   3293 else
   3294   if test -n "$CC"; then
   3295   ac_cv_prog_CC="$CC" # Let the user override the test.
   3296 else
   3297   ac_prog_rejected=no
   3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3299 for as_dir in $PATH
   3300 do
   3301   IFS=$as_save_IFS
   3302   test -z "$as_dir" && as_dir=.
   3303     for ac_exec_ext in '' $ac_executable_extensions; do
   3304   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3305     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3306        ac_prog_rejected=yes
   3307        continue
   3308      fi
   3309     ac_cv_prog_CC="cc"
   3310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3311     break 2
   3312   fi
   3313 done
   3314   done
   3315 IFS=$as_save_IFS
   3316 
   3317 if test $ac_prog_rejected = yes; then
   3318   # We found a bogon in the path, so make sure we never use it.
   3319   set dummy $ac_cv_prog_CC
   3320   shift
   3321   if test $# != 0; then
   3322     # We chose a different compiler from the bogus one.
   3323     # However, it has the same basename, so the bogon will be chosen
   3324     # first if we set CC to just the basename; use the full file name.
   3325     shift
   3326     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3327   fi
   3328 fi
   3329 fi
   3330 fi
   3331 CC=$ac_cv_prog_CC
   3332 if test -n "$CC"; then
   3333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3334 $as_echo "$CC" >&6; }
   3335 else
   3336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3337 $as_echo "no" >&6; }
   3338 fi
   3339 
   3340 
   3341 fi
   3342 if test -z "$CC"; then
   3343   if test -n "$ac_tool_prefix"; then
   3344   for ac_prog in cl.exe
   3345   do
   3346     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3349 $as_echo_n "checking for $ac_word... " >&6; }
   3350 if ${ac_cv_prog_CC+:} false; then :
   3351   $as_echo_n "(cached) " >&6
   3352 else
   3353   if test -n "$CC"; then
   3354   ac_cv_prog_CC="$CC" # Let the user override the test.
   3355 else
   3356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3357 for as_dir in $PATH
   3358 do
   3359   IFS=$as_save_IFS
   3360   test -z "$as_dir" && as_dir=.
   3361     for ac_exec_ext in '' $ac_executable_extensions; do
   3362   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3363     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3365     break 2
   3366   fi
   3367 done
   3368   done
   3369 IFS=$as_save_IFS
   3370 
   3371 fi
   3372 fi
   3373 CC=$ac_cv_prog_CC
   3374 if test -n "$CC"; then
   3375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3376 $as_echo "$CC" >&6; }
   3377 else
   3378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3379 $as_echo "no" >&6; }
   3380 fi
   3381 
   3382 
   3383     test -n "$CC" && break
   3384   done
   3385 fi
   3386 if test -z "$CC"; then
   3387   ac_ct_CC=$CC
   3388   for ac_prog in cl.exe
   3389 do
   3390   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3391 set dummy $ac_prog; ac_word=$2
   3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3393 $as_echo_n "checking for $ac_word... " >&6; }
   3394 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3395   $as_echo_n "(cached) " >&6
   3396 else
   3397   if test -n "$ac_ct_CC"; then
   3398   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3399 else
   3400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3401 for as_dir in $PATH
   3402 do
   3403   IFS=$as_save_IFS
   3404   test -z "$as_dir" && as_dir=.
   3405     for ac_exec_ext in '' $ac_executable_extensions; do
   3406   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3407     ac_cv_prog_ac_ct_CC="$ac_prog"
   3408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3409     break 2
   3410   fi
   3411 done
   3412   done
   3413 IFS=$as_save_IFS
   3414 
   3415 fi
   3416 fi
   3417 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3418 if test -n "$ac_ct_CC"; then
   3419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3420 $as_echo "$ac_ct_CC" >&6; }
   3421 else
   3422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3423 $as_echo "no" >&6; }
   3424 fi
   3425 
   3426 
   3427   test -n "$ac_ct_CC" && break
   3428 done
   3429 
   3430   if test "x$ac_ct_CC" = x; then
   3431     CC=""
   3432   else
   3433     case $cross_compiling:$ac_tool_warned in
   3434 yes:)
   3435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3437 ac_tool_warned=yes ;;
   3438 esac
   3439     CC=$ac_ct_CC
   3440   fi
   3441 fi
   3442 
   3443 fi
   3444 
   3445 
   3446 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3448 as_fn_error $? "no acceptable C compiler found in \$PATH
   3449 See \`config.log' for more details" "$LINENO" 5; }
   3450 
   3451 # Provide some information about the compiler.
   3452 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3453 set X $ac_compile
   3454 ac_compiler=$2
   3455 for ac_option in --version -v -V -qversion; do
   3456   { { ac_try="$ac_compiler $ac_option >&5"
   3457 case "(($ac_try" in
   3458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3459   *) ac_try_echo=$ac_try;;
   3460 esac
   3461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3462 $as_echo "$ac_try_echo"; } >&5
   3463   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3464   ac_status=$?
   3465   if test -s conftest.err; then
   3466     sed '10a\
   3467 ... rest of stderr output deleted ...
   3468          10q' conftest.err >conftest.er1
   3469     cat conftest.er1 >&5
   3470   fi
   3471   rm -f conftest.er1 conftest.err
   3472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3473   test $ac_status = 0; }
   3474 done
   3475 
   3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3477 /* end confdefs.h.  */
   3478 
   3479 int
   3480 main ()
   3481 {
   3482 
   3483   ;
   3484   return 0;
   3485 }
   3486 _ACEOF
   3487 ac_clean_files_save=$ac_clean_files
   3488 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3489 # Try to create an executable without -o first, disregard a.out.
   3490 # It will help us diagnose broken compilers, and finding out an intuition
   3491 # of exeext.
   3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3493 $as_echo_n "checking whether the C compiler works... " >&6; }
   3494 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3495 
   3496 # The possible output files:
   3497 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3498 
   3499 ac_rmfiles=
   3500 for ac_file in $ac_files
   3501 do
   3502   case $ac_file in
   3503     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3504     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3505   esac
   3506 done
   3507 rm -f $ac_rmfiles
   3508 
   3509 if { { ac_try="$ac_link_default"
   3510 case "(($ac_try" in
   3511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3512   *) ac_try_echo=$ac_try;;
   3513 esac
   3514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3515 $as_echo "$ac_try_echo"; } >&5
   3516   (eval "$ac_link_default") 2>&5
   3517   ac_status=$?
   3518   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3519   test $ac_status = 0; }; then :
   3520   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3521 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3522 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3523 # so that the user can short-circuit this test for compilers unknown to
   3524 # Autoconf.
   3525 for ac_file in $ac_files ''
   3526 do
   3527   test -f "$ac_file" || continue
   3528   case $ac_file in
   3529     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3530 	;;
   3531     [ab].out )
   3532 	# We found the default executable, but exeext='' is most
   3533 	# certainly right.
   3534 	break;;
   3535     *.* )
   3536 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3537 	then :; else
   3538 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3539 	fi
   3540 	# We set ac_cv_exeext here because the later test for it is not
   3541 	# safe: cross compilers may not add the suffix if given an `-o'
   3542 	# argument, so we may need to know it at that point already.
   3543 	# Even if this section looks crufty: it has the advantage of
   3544 	# actually working.
   3545 	break;;
   3546     * )
   3547 	break;;
   3548   esac
   3549 done
   3550 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3551 
   3552 else
   3553   ac_file=''
   3554 fi
   3555 if test -z "$ac_file"; then :
   3556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3557 $as_echo "no" >&6; }
   3558 $as_echo "$as_me: failed program was:" >&5
   3559 sed 's/^/| /' conftest.$ac_ext >&5
   3560 
   3561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3563 as_fn_error 77 "C compiler cannot create executables
   3564 See \`config.log' for more details" "$LINENO" 5; }
   3565 else
   3566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3567 $as_echo "yes" >&6; }
   3568 fi
   3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3570 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3572 $as_echo "$ac_file" >&6; }
   3573 ac_exeext=$ac_cv_exeext
   3574 
   3575 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3576 ac_clean_files=$ac_clean_files_save
   3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3578 $as_echo_n "checking for suffix of executables... " >&6; }
   3579 if { { ac_try="$ac_link"
   3580 case "(($ac_try" in
   3581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3582   *) ac_try_echo=$ac_try;;
   3583 esac
   3584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3585 $as_echo "$ac_try_echo"; } >&5
   3586   (eval "$ac_link") 2>&5
   3587   ac_status=$?
   3588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3589   test $ac_status = 0; }; then :
   3590   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3591 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3592 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3593 # `rm'.
   3594 for ac_file in conftest.exe conftest conftest.*; do
   3595   test -f "$ac_file" || continue
   3596   case $ac_file in
   3597     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3598     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3599 	  break;;
   3600     * ) break;;
   3601   esac
   3602 done
   3603 else
   3604   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3606 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3607 See \`config.log' for more details" "$LINENO" 5; }
   3608 fi
   3609 rm -f conftest conftest$ac_cv_exeext
   3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3611 $as_echo "$ac_cv_exeext" >&6; }
   3612 
   3613 rm -f conftest.$ac_ext
   3614 EXEEXT=$ac_cv_exeext
   3615 ac_exeext=$EXEEXT
   3616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3617 /* end confdefs.h.  */
   3618 #include <stdio.h>
   3619 int
   3620 main ()
   3621 {
   3622 FILE *f = fopen ("conftest.out", "w");
   3623  return ferror (f) || fclose (f) != 0;
   3624 
   3625   ;
   3626   return 0;
   3627 }
   3628 _ACEOF
   3629 ac_clean_files="$ac_clean_files conftest.out"
   3630 # Check that the compiler produces executables we can run.  If not, either
   3631 # the compiler is broken, or we cross compile.
   3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3633 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3634 if test "$cross_compiling" != yes; then
   3635   { { ac_try="$ac_link"
   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") 2>&5
   3643   ac_status=$?
   3644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3645   test $ac_status = 0; }
   3646   if { ac_try='./conftest$ac_cv_exeext'
   3647   { { case "(($ac_try" in
   3648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3649   *) ac_try_echo=$ac_try;;
   3650 esac
   3651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3652 $as_echo "$ac_try_echo"; } >&5
   3653   (eval "$ac_try") 2>&5
   3654   ac_status=$?
   3655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3656   test $ac_status = 0; }; }; then
   3657     cross_compiling=no
   3658   else
   3659     if test "$cross_compiling" = maybe; then
   3660 	cross_compiling=yes
   3661     else
   3662 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3664 as_fn_error $? "cannot run C compiled programs.
   3665 If you meant to cross compile, use \`--host'.
   3666 See \`config.log' for more details" "$LINENO" 5; }
   3667     fi
   3668   fi
   3669 fi
   3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3671 $as_echo "$cross_compiling" >&6; }
   3672 
   3673 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3674 ac_clean_files=$ac_clean_files_save
   3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3676 $as_echo_n "checking for suffix of object files... " >&6; }
   3677 if ${ac_cv_objext+:} false; then :
   3678   $as_echo_n "(cached) " >&6
   3679 else
   3680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3681 /* end confdefs.h.  */
   3682 
   3683 int
   3684 main ()
   3685 {
   3686 
   3687   ;
   3688   return 0;
   3689 }
   3690 _ACEOF
   3691 rm -f conftest.o conftest.obj
   3692 if { { ac_try="$ac_compile"
   3693 case "(($ac_try" in
   3694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3695   *) ac_try_echo=$ac_try;;
   3696 esac
   3697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3698 $as_echo "$ac_try_echo"; } >&5
   3699   (eval "$ac_compile") 2>&5
   3700   ac_status=$?
   3701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3702   test $ac_status = 0; }; then :
   3703   for ac_file in conftest.o conftest.obj conftest.*; do
   3704   test -f "$ac_file" || continue;
   3705   case $ac_file in
   3706     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3707     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3708        break;;
   3709   esac
   3710 done
   3711 else
   3712   $as_echo "$as_me: failed program was:" >&5
   3713 sed 's/^/| /' conftest.$ac_ext >&5
   3714 
   3715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3717 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3718 See \`config.log' for more details" "$LINENO" 5; }
   3719 fi
   3720 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3721 fi
   3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3723 $as_echo "$ac_cv_objext" >&6; }
   3724 OBJEXT=$ac_cv_objext
   3725 ac_objext=$OBJEXT
   3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3727 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3728 if ${ac_cv_c_compiler_gnu+:} false; then :
   3729   $as_echo_n "(cached) " >&6
   3730 else
   3731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3732 /* end confdefs.h.  */
   3733 
   3734 int
   3735 main ()
   3736 {
   3737 #ifndef __GNUC__
   3738        choke me
   3739 #endif
   3740 
   3741   ;
   3742   return 0;
   3743 }
   3744 _ACEOF
   3745 if ac_fn_c_try_compile "$LINENO"; then :
   3746   ac_compiler_gnu=yes
   3747 else
   3748   ac_compiler_gnu=no
   3749 fi
   3750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3751 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3752 
   3753 fi
   3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3755 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3756 if test $ac_compiler_gnu = yes; then
   3757   GCC=yes
   3758 else
   3759   GCC=
   3760 fi
   3761 ac_test_CFLAGS=${CFLAGS+set}
   3762 ac_save_CFLAGS=$CFLAGS
   3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3764 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3765 if ${ac_cv_prog_cc_g+:} false; then :
   3766   $as_echo_n "(cached) " >&6
   3767 else
   3768   ac_save_c_werror_flag=$ac_c_werror_flag
   3769    ac_c_werror_flag=yes
   3770    ac_cv_prog_cc_g=no
   3771    CFLAGS="-g"
   3772    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3773 /* end confdefs.h.  */
   3774 
   3775 int
   3776 main ()
   3777 {
   3778 
   3779   ;
   3780   return 0;
   3781 }
   3782 _ACEOF
   3783 if ac_fn_c_try_compile "$LINENO"; then :
   3784   ac_cv_prog_cc_g=yes
   3785 else
   3786   CFLAGS=""
   3787       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3788 /* end confdefs.h.  */
   3789 
   3790 int
   3791 main ()
   3792 {
   3793 
   3794   ;
   3795   return 0;
   3796 }
   3797 _ACEOF
   3798 if ac_fn_c_try_compile "$LINENO"; then :
   3799 
   3800 else
   3801   ac_c_werror_flag=$ac_save_c_werror_flag
   3802 	 CFLAGS="-g"
   3803 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3804 /* end confdefs.h.  */
   3805 
   3806 int
   3807 main ()
   3808 {
   3809 
   3810   ;
   3811   return 0;
   3812 }
   3813 _ACEOF
   3814 if ac_fn_c_try_compile "$LINENO"; then :
   3815   ac_cv_prog_cc_g=yes
   3816 fi
   3817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3818 fi
   3819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3820 fi
   3821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3822    ac_c_werror_flag=$ac_save_c_werror_flag
   3823 fi
   3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3825 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3826 if test "$ac_test_CFLAGS" = set; then
   3827   CFLAGS=$ac_save_CFLAGS
   3828 elif test $ac_cv_prog_cc_g = yes; then
   3829   if test "$GCC" = yes; then
   3830     CFLAGS="-g -O2"
   3831   else
   3832     CFLAGS="-g"
   3833   fi
   3834 else
   3835   if test "$GCC" = yes; then
   3836     CFLAGS="-O2"
   3837   else
   3838     CFLAGS=
   3839   fi
   3840 fi
   3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3842 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3843 if ${ac_cv_prog_cc_c89+:} false; then :
   3844   $as_echo_n "(cached) " >&6
   3845 else
   3846   ac_cv_prog_cc_c89=no
   3847 ac_save_CC=$CC
   3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3849 /* end confdefs.h.  */
   3850 #include <stdarg.h>
   3851 #include <stdio.h>
   3852 struct stat;
   3853 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3854 struct buf { int x; };
   3855 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3856 static char *e (p, i)
   3857      char **p;
   3858      int i;
   3859 {
   3860   return p[i];
   3861 }
   3862 static char *f (char * (*g) (char **, int), char **p, ...)
   3863 {
   3864   char *s;
   3865   va_list v;
   3866   va_start (v,p);
   3867   s = g (p, va_arg (v,int));
   3868   va_end (v);
   3869   return s;
   3870 }
   3871 
   3872 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3873    function prototypes and stuff, but not '\xHH' hex character constants.
   3874    These don't provoke an error unfortunately, instead are silently treated
   3875    as 'x'.  The following induces an error, until -std is added to get
   3876    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3877    array size at least.  It's necessary to write '\x00'==0 to get something
   3878    that's true only with -std.  */
   3879 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3880 
   3881 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3882    inside strings and character constants.  */
   3883 #define FOO(x) 'x'
   3884 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3885 
   3886 int test (int i, double x);
   3887 struct s1 {int (*f) (int a);};
   3888 struct s2 {int (*f) (double a);};
   3889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3890 int argc;
   3891 char **argv;
   3892 int
   3893 main ()
   3894 {
   3895 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3896   ;
   3897   return 0;
   3898 }
   3899 _ACEOF
   3900 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3901 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3902 do
   3903   CC="$ac_save_CC $ac_arg"
   3904   if ac_fn_c_try_compile "$LINENO"; then :
   3905   ac_cv_prog_cc_c89=$ac_arg
   3906 fi
   3907 rm -f core conftest.err conftest.$ac_objext
   3908   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3909 done
   3910 rm -f conftest.$ac_ext
   3911 CC=$ac_save_CC
   3912 
   3913 fi
   3914 # AC_CACHE_VAL
   3915 case "x$ac_cv_prog_cc_c89" in
   3916   x)
   3917     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3918 $as_echo "none needed" >&6; } ;;
   3919   xno)
   3920     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3921 $as_echo "unsupported" >&6; } ;;
   3922   *)
   3923     CC="$CC $ac_cv_prog_cc_c89"
   3924     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3925 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3926 esac
   3927 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3928 
   3929 fi
   3930 
   3931 ac_ext=c
   3932 ac_cpp='$CPP $CPPFLAGS'
   3933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3936 
   3937 ac_ext=c
   3938 ac_cpp='$CPP $CPPFLAGS'
   3939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3943 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3944 if ${am_cv_prog_cc_c_o+:} false; then :
   3945   $as_echo_n "(cached) " >&6
   3946 else
   3947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3948 /* end confdefs.h.  */
   3949 
   3950 int
   3951 main ()
   3952 {
   3953 
   3954   ;
   3955   return 0;
   3956 }
   3957 _ACEOF
   3958   # Make sure it works both with $CC and with simple cc.
   3959   # Following AC_PROG_CC_C_O, we do the test twice because some
   3960   # compilers refuse to overwrite an existing .o file with -o,
   3961   # though they will create one.
   3962   am_cv_prog_cc_c_o=yes
   3963   for am_i in 1 2; do
   3964     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3965    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3966    ac_status=$?
   3967    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3968    (exit $ac_status); } \
   3969          && test -f conftest2.$ac_objext; then
   3970       : OK
   3971     else
   3972       am_cv_prog_cc_c_o=no
   3973       break
   3974     fi
   3975   done
   3976   rm -f core conftest*
   3977   unset am_i
   3978 fi
   3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3980 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3981 if test "$am_cv_prog_cc_c_o" != yes; then
   3982    # Losing compiler, so override with the script.
   3983    # FIXME: It is wrong to rewrite CC.
   3984    # But if we don't then we get into trouble of one sort or another.
   3985    # A longer-term fix would be to have automake use am__CC in this case,
   3986    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3987    CC="$am_aux_dir/compile $CC"
   3988 fi
   3989 ac_ext=c
   3990 ac_cpp='$CPP $CPPFLAGS'
   3991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3994 
   3995 DEPDIR="${am__leading_dot}deps"
   3996 
   3997 ac_config_commands="$ac_config_commands depfiles"
   3998 
   3999 
   4000 am_make=${MAKE-make}
   4001 cat > confinc << 'END'
   4002 am__doit:
   4003 	@echo this is the am__doit target
   4004 .PHONY: am__doit
   4005 END
   4006 # If we don't find an include directive, just comment out the code.
   4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4008 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4009 am__include="#"
   4010 am__quote=
   4011 _am_result=none
   4012 # First try GNU make style include.
   4013 echo "include confinc" > confmf
   4014 # Ignore all kinds of additional output from 'make'.
   4015 case `$am_make -s -f confmf 2> /dev/null` in #(
   4016 *the\ am__doit\ target*)
   4017   am__include=include
   4018   am__quote=
   4019   _am_result=GNU
   4020   ;;
   4021 esac
   4022 # Now try BSD make style include.
   4023 if test "$am__include" = "#"; then
   4024    echo '.include "confinc"' > confmf
   4025    case `$am_make -s -f confmf 2> /dev/null` in #(
   4026    *the\ am__doit\ target*)
   4027      am__include=.include
   4028      am__quote="\""
   4029      _am_result=BSD
   4030      ;;
   4031    esac
   4032 fi
   4033 
   4034 
   4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4036 $as_echo "$_am_result" >&6; }
   4037 rm -f confinc confmf
   4038 
   4039 # Check whether --enable-dependency-tracking was given.
   4040 if test "${enable_dependency_tracking+set}" = set; then :
   4041   enableval=$enable_dependency_tracking;
   4042 fi
   4043 
   4044 if test "x$enable_dependency_tracking" != xno; then
   4045   am_depcomp="$ac_aux_dir/depcomp"
   4046   AMDEPBACKSLASH='\'
   4047   am__nodep='_no'
   4048 fi
   4049  if test "x$enable_dependency_tracking" != xno; then
   4050   AMDEP_TRUE=
   4051   AMDEP_FALSE='#'
   4052 else
   4053   AMDEP_TRUE='#'
   4054   AMDEP_FALSE=
   4055 fi
   4056 
   4057 
   4058 
   4059 depcc="$CC"   am_compiler_list=
   4060 
   4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4062 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4063 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4064   $as_echo_n "(cached) " >&6
   4065 else
   4066   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4067   # We make a subdir and do the tests there.  Otherwise we can end up
   4068   # making bogus files that we don't know about and never remove.  For
   4069   # instance it was reported that on HP-UX the gcc test will end up
   4070   # making a dummy file named 'D' -- because '-MD' means "put the output
   4071   # in D".
   4072   rm -rf conftest.dir
   4073   mkdir conftest.dir
   4074   # Copy depcomp to subdir because otherwise we won't find it if we're
   4075   # using a relative directory.
   4076   cp "$am_depcomp" conftest.dir
   4077   cd conftest.dir
   4078   # We will build objects and dependencies in a subdirectory because
   4079   # it helps to detect inapplicable dependency modes.  For instance
   4080   # both Tru64's cc and ICC support -MD to output dependencies as a
   4081   # side effect of compilation, but ICC will put the dependencies in
   4082   # the current directory while Tru64 will put them in the object
   4083   # directory.
   4084   mkdir sub
   4085 
   4086   am_cv_CC_dependencies_compiler_type=none
   4087   if test "$am_compiler_list" = ""; then
   4088      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4089   fi
   4090   am__universal=false
   4091   case " $depcc " in #(
   4092      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4093      esac
   4094 
   4095   for depmode in $am_compiler_list; do
   4096     # Setup a source with many dependencies, because some compilers
   4097     # like to wrap large dependency lists on column 80 (with \), and
   4098     # we should not choose a depcomp mode which is confused by this.
   4099     #
   4100     # We need to recreate these files for each test, as the compiler may
   4101     # overwrite some of them when testing with obscure command lines.
   4102     # This happens at least with the AIX C compiler.
   4103     : > sub/conftest.c
   4104     for i in 1 2 3 4 5 6; do
   4105       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4106       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4107       # Solaris 10 /bin/sh.
   4108       echo '/* dummy */' > sub/conftst$i.h
   4109     done
   4110     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4111 
   4112     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4113     # mode.  It turns out that the SunPro C++ compiler does not properly
   4114     # handle '-M -o', and we need to detect this.  Also, some Intel
   4115     # versions had trouble with output in subdirs.
   4116     am__obj=sub/conftest.${OBJEXT-o}
   4117     am__minus_obj="-o $am__obj"
   4118     case $depmode in
   4119     gcc)
   4120       # This depmode causes a compiler race in universal mode.
   4121       test "$am__universal" = false || continue
   4122       ;;
   4123     nosideeffect)
   4124       # After this tag, mechanisms are not by side-effect, so they'll
   4125       # only be used when explicitly requested.
   4126       if test "x$enable_dependency_tracking" = xyes; then
   4127 	continue
   4128       else
   4129 	break
   4130       fi
   4131       ;;
   4132     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4133       # This compiler won't grok '-c -o', but also, the minuso test has
   4134       # not run yet.  These depmodes are late enough in the game, and
   4135       # so weak that their functioning should not be impacted.
   4136       am__obj=conftest.${OBJEXT-o}
   4137       am__minus_obj=
   4138       ;;
   4139     none) break ;;
   4140     esac
   4141     if depmode=$depmode \
   4142        source=sub/conftest.c object=$am__obj \
   4143        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4144        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4145          >/dev/null 2>conftest.err &&
   4146        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4147        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4148        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4149        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4150       # icc doesn't choke on unknown options, it will just issue warnings
   4151       # or remarks (even with -Werror).  So we grep stderr for any message
   4152       # that says an option was ignored or not supported.
   4153       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4154       #   icc: Command line warning: ignoring option '-M'; no argument required
   4155       # The diagnosis changed in icc 8.0:
   4156       #   icc: Command line remark: option '-MP' not supported
   4157       if (grep 'ignoring option' conftest.err ||
   4158           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4159         am_cv_CC_dependencies_compiler_type=$depmode
   4160         break
   4161       fi
   4162     fi
   4163   done
   4164 
   4165   cd ..
   4166   rm -rf conftest.dir
   4167 else
   4168   am_cv_CC_dependencies_compiler_type=none
   4169 fi
   4170 
   4171 fi
   4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4173 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4174 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4175 
   4176  if
   4177   test "x$enable_dependency_tracking" != xno \
   4178   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4179   am__fastdepCC_TRUE=
   4180   am__fastdepCC_FALSE='#'
   4181 else
   4182   am__fastdepCC_TRUE='#'
   4183   am__fastdepCC_FALSE=
   4184 fi
   4185 
   4186 
   4187 
   4188 ac_ext=c
   4189 ac_cpp='$CPP $CPPFLAGS'
   4190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4194 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4195 # On Suns, sometimes $CPP names a directory.
   4196 if test -n "$CPP" && test -d "$CPP"; then
   4197   CPP=
   4198 fi
   4199 if test -z "$CPP"; then
   4200   if ${ac_cv_prog_CPP+:} false; then :
   4201   $as_echo_n "(cached) " >&6
   4202 else
   4203       # Double quotes because CPP needs to be expanded
   4204     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4205     do
   4206       ac_preproc_ok=false
   4207 for ac_c_preproc_warn_flag in '' yes
   4208 do
   4209   # Use a header file that comes with gcc, so configuring glibc
   4210   # with a fresh cross-compiler works.
   4211   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4212   # <limits.h> exists even on freestanding compilers.
   4213   # On the NeXT, cc -E runs the code through the compiler's parser,
   4214   # not just through cpp. "Syntax error" is here to catch this case.
   4215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4216 /* end confdefs.h.  */
   4217 #ifdef __STDC__
   4218 # include <limits.h>
   4219 #else
   4220 # include <assert.h>
   4221 #endif
   4222 		     Syntax error
   4223 _ACEOF
   4224 if ac_fn_c_try_cpp "$LINENO"; then :
   4225 
   4226 else
   4227   # Broken: fails on valid input.
   4228 continue
   4229 fi
   4230 rm -f conftest.err conftest.i conftest.$ac_ext
   4231 
   4232   # OK, works on sane cases.  Now check whether nonexistent headers
   4233   # can be detected and how.
   4234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4235 /* end confdefs.h.  */
   4236 #include <ac_nonexistent.h>
   4237 _ACEOF
   4238 if ac_fn_c_try_cpp "$LINENO"; then :
   4239   # Broken: success on invalid input.
   4240 continue
   4241 else
   4242   # Passes both tests.
   4243 ac_preproc_ok=:
   4244 break
   4245 fi
   4246 rm -f conftest.err conftest.i conftest.$ac_ext
   4247 
   4248 done
   4249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4250 rm -f conftest.i conftest.err conftest.$ac_ext
   4251 if $ac_preproc_ok; then :
   4252   break
   4253 fi
   4254 
   4255     done
   4256     ac_cv_prog_CPP=$CPP
   4257 
   4258 fi
   4259   CPP=$ac_cv_prog_CPP
   4260 else
   4261   ac_cv_prog_CPP=$CPP
   4262 fi
   4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4264 $as_echo "$CPP" >&6; }
   4265 ac_preproc_ok=false
   4266 for ac_c_preproc_warn_flag in '' yes
   4267 do
   4268   # Use a header file that comes with gcc, so configuring glibc
   4269   # with a fresh cross-compiler works.
   4270   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4271   # <limits.h> exists even on freestanding compilers.
   4272   # On the NeXT, cc -E runs the code through the compiler's parser,
   4273   # not just through cpp. "Syntax error" is here to catch this case.
   4274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4275 /* end confdefs.h.  */
   4276 #ifdef __STDC__
   4277 # include <limits.h>
   4278 #else
   4279 # include <assert.h>
   4280 #endif
   4281 		     Syntax error
   4282 _ACEOF
   4283 if ac_fn_c_try_cpp "$LINENO"; then :
   4284 
   4285 else
   4286   # Broken: fails on valid input.
   4287 continue
   4288 fi
   4289 rm -f conftest.err conftest.i conftest.$ac_ext
   4290 
   4291   # OK, works on sane cases.  Now check whether nonexistent headers
   4292   # can be detected and how.
   4293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4294 /* end confdefs.h.  */
   4295 #include <ac_nonexistent.h>
   4296 _ACEOF
   4297 if ac_fn_c_try_cpp "$LINENO"; then :
   4298   # Broken: success on invalid input.
   4299 continue
   4300 else
   4301   # Passes both tests.
   4302 ac_preproc_ok=:
   4303 break
   4304 fi
   4305 rm -f conftest.err conftest.i conftest.$ac_ext
   4306 
   4307 done
   4308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4309 rm -f conftest.i conftest.err conftest.$ac_ext
   4310 if $ac_preproc_ok; then :
   4311 
   4312 else
   4313   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4315 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4316 See \`config.log' for more details" "$LINENO" 5; }
   4317 fi
   4318 
   4319 ac_ext=c
   4320 ac_cpp='$CPP $CPPFLAGS'
   4321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4324 
   4325 
   4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4327 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4328 if ${ac_cv_path_GREP+:} false; then :
   4329   $as_echo_n "(cached) " >&6
   4330 else
   4331   if test -z "$GREP"; then
   4332   ac_path_GREP_found=false
   4333   # Loop through the user's path and test for each of PROGNAME-LIST
   4334   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4335 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4336 do
   4337   IFS=$as_save_IFS
   4338   test -z "$as_dir" && as_dir=.
   4339     for ac_prog in grep ggrep; do
   4340     for ac_exec_ext in '' $ac_executable_extensions; do
   4341       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4342       as_fn_executable_p "$ac_path_GREP" || continue
   4343 # Check for GNU ac_path_GREP and select it if it is found.
   4344   # Check for GNU $ac_path_GREP
   4345 case `"$ac_path_GREP" --version 2>&1` in
   4346 *GNU*)
   4347   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4348 *)
   4349   ac_count=0
   4350   $as_echo_n 0123456789 >"conftest.in"
   4351   while :
   4352   do
   4353     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4354     mv "conftest.tmp" "conftest.in"
   4355     cp "conftest.in" "conftest.nl"
   4356     $as_echo 'GREP' >> "conftest.nl"
   4357     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4358     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4359     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4360     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4361       # Best one so far, save it but keep looking for a better one
   4362       ac_cv_path_GREP="$ac_path_GREP"
   4363       ac_path_GREP_max=$ac_count
   4364     fi
   4365     # 10*(2^10) chars as input seems more than enough
   4366     test $ac_count -gt 10 && break
   4367   done
   4368   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4369 esac
   4370 
   4371       $ac_path_GREP_found && break 3
   4372     done
   4373   done
   4374   done
   4375 IFS=$as_save_IFS
   4376   if test -z "$ac_cv_path_GREP"; then
   4377     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4378   fi
   4379 else
   4380   ac_cv_path_GREP=$GREP
   4381 fi
   4382 
   4383 fi
   4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4385 $as_echo "$ac_cv_path_GREP" >&6; }
   4386  GREP="$ac_cv_path_GREP"
   4387 
   4388 
   4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4390 $as_echo_n "checking for egrep... " >&6; }
   4391 if ${ac_cv_path_EGREP+:} false; then :
   4392   $as_echo_n "(cached) " >&6
   4393 else
   4394   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4395    then ac_cv_path_EGREP="$GREP -E"
   4396    else
   4397      if test -z "$EGREP"; then
   4398   ac_path_EGREP_found=false
   4399   # Loop through the user's path and test for each of PROGNAME-LIST
   4400   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4401 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4402 do
   4403   IFS=$as_save_IFS
   4404   test -z "$as_dir" && as_dir=.
   4405     for ac_prog in egrep; do
   4406     for ac_exec_ext in '' $ac_executable_extensions; do
   4407       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4408       as_fn_executable_p "$ac_path_EGREP" || continue
   4409 # Check for GNU ac_path_EGREP and select it if it is found.
   4410   # Check for GNU $ac_path_EGREP
   4411 case `"$ac_path_EGREP" --version 2>&1` in
   4412 *GNU*)
   4413   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4414 *)
   4415   ac_count=0
   4416   $as_echo_n 0123456789 >"conftest.in"
   4417   while :
   4418   do
   4419     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4420     mv "conftest.tmp" "conftest.in"
   4421     cp "conftest.in" "conftest.nl"
   4422     $as_echo 'EGREP' >> "conftest.nl"
   4423     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4424     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4425     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4426     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4427       # Best one so far, save it but keep looking for a better one
   4428       ac_cv_path_EGREP="$ac_path_EGREP"
   4429       ac_path_EGREP_max=$ac_count
   4430     fi
   4431     # 10*(2^10) chars as input seems more than enough
   4432     test $ac_count -gt 10 && break
   4433   done
   4434   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4435 esac
   4436 
   4437       $ac_path_EGREP_found && break 3
   4438     done
   4439   done
   4440   done
   4441 IFS=$as_save_IFS
   4442   if test -z "$ac_cv_path_EGREP"; then
   4443     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4444   fi
   4445 else
   4446   ac_cv_path_EGREP=$EGREP
   4447 fi
   4448 
   4449    fi
   4450 fi
   4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4452 $as_echo "$ac_cv_path_EGREP" >&6; }
   4453  EGREP="$ac_cv_path_EGREP"
   4454 
   4455 
   4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4457 $as_echo_n "checking for ANSI C header files... " >&6; }
   4458 if ${ac_cv_header_stdc+:} false; then :
   4459   $as_echo_n "(cached) " >&6
   4460 else
   4461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4462 /* end confdefs.h.  */
   4463 #include <stdlib.h>
   4464 #include <stdarg.h>
   4465 #include <string.h>
   4466 #include <float.h>
   4467 
   4468 int
   4469 main ()
   4470 {
   4471 
   4472   ;
   4473   return 0;
   4474 }
   4475 _ACEOF
   4476 if ac_fn_c_try_compile "$LINENO"; then :
   4477   ac_cv_header_stdc=yes
   4478 else
   4479   ac_cv_header_stdc=no
   4480 fi
   4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4482 
   4483 if test $ac_cv_header_stdc = yes; then
   4484   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4486 /* end confdefs.h.  */
   4487 #include <string.h>
   4488 
   4489 _ACEOF
   4490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4491   $EGREP "memchr" >/dev/null 2>&1; then :
   4492 
   4493 else
   4494   ac_cv_header_stdc=no
   4495 fi
   4496 rm -f conftest*
   4497 
   4498 fi
   4499 
   4500 if test $ac_cv_header_stdc = yes; then
   4501   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4503 /* end confdefs.h.  */
   4504 #include <stdlib.h>
   4505 
   4506 _ACEOF
   4507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4508   $EGREP "free" >/dev/null 2>&1; then :
   4509 
   4510 else
   4511   ac_cv_header_stdc=no
   4512 fi
   4513 rm -f conftest*
   4514 
   4515 fi
   4516 
   4517 if test $ac_cv_header_stdc = yes; then
   4518   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4519   if test "$cross_compiling" = yes; then :
   4520   :
   4521 else
   4522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4523 /* end confdefs.h.  */
   4524 #include <ctype.h>
   4525 #include <stdlib.h>
   4526 #if ((' ' & 0x0FF) == 0x020)
   4527 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4528 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4529 #else
   4530 # define ISLOWER(c) \
   4531 		   (('a' <= (c) && (c) <= 'i') \
   4532 		     || ('j' <= (c) && (c) <= 'r') \
   4533 		     || ('s' <= (c) && (c) <= 'z'))
   4534 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4535 #endif
   4536 
   4537 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4538 int
   4539 main ()
   4540 {
   4541   int i;
   4542   for (i = 0; i < 256; i++)
   4543     if (XOR (islower (i), ISLOWER (i))
   4544 	|| toupper (i) != TOUPPER (i))
   4545       return 2;
   4546   return 0;
   4547 }
   4548 _ACEOF
   4549 if ac_fn_c_try_run "$LINENO"; then :
   4550 
   4551 else
   4552   ac_cv_header_stdc=no
   4553 fi
   4554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4555   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4556 fi
   4557 
   4558 fi
   4559 fi
   4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4561 $as_echo "$ac_cv_header_stdc" >&6; }
   4562 if test $ac_cv_header_stdc = yes; then
   4563 
   4564 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4565 
   4566 fi
   4567 
   4568 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4569 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4570 		  inttypes.h stdint.h unistd.h
   4571 do :
   4572   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4573 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4574 "
   4575 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4576   cat >>confdefs.h <<_ACEOF
   4577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4578 _ACEOF
   4579 
   4580 fi
   4581 
   4582 done
   4583 
   4584 
   4585 
   4586   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4587 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4588   MINIX=yes
   4589 else
   4590   MINIX=
   4591 fi
   4592 
   4593 
   4594   if test "$MINIX" = yes; then
   4595 
   4596 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4597 
   4598 
   4599 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4600 
   4601 
   4602 $as_echo "#define _MINIX 1" >>confdefs.h
   4603 
   4604   fi
   4605 
   4606 
   4607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4608 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4609 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4610   $as_echo_n "(cached) " >&6
   4611 else
   4612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4613 /* end confdefs.h.  */
   4614 
   4615 #         define __EXTENSIONS__ 1
   4616           $ac_includes_default
   4617 int
   4618 main ()
   4619 {
   4620 
   4621   ;
   4622   return 0;
   4623 }
   4624 _ACEOF
   4625 if ac_fn_c_try_compile "$LINENO"; then :
   4626   ac_cv_safe_to_define___extensions__=yes
   4627 else
   4628   ac_cv_safe_to_define___extensions__=no
   4629 fi
   4630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4631 fi
   4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4633 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4634   test $ac_cv_safe_to_define___extensions__ = yes &&
   4635     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4636 
   4637   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4638 
   4639   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4640 
   4641   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4642 
   4643   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4644 
   4645 
   4646 
   4647 case `pwd` in
   4648   *\ * | *\	*)
   4649     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4650 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4651 esac
   4652 
   4653 
   4654 
   4655 macro_version='2.2.7a'
   4656 macro_revision='1.3134'
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 
   4664 
   4665 
   4666 
   4667 
   4668 
   4669 
   4670 ltmain="$ac_aux_dir/ltmain.sh"
   4671 
   4672 # Backslashify metacharacters that are still active within
   4673 # double-quoted strings.
   4674 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4675 
   4676 # Same as above, but do not quote variable references.
   4677 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4678 
   4679 # Sed substitution to delay expansion of an escaped shell variable in a
   4680 # double_quote_subst'ed string.
   4681 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4682 
   4683 # Sed substitution to delay expansion of an escaped single quote.
   4684 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4685 
   4686 # Sed substitution to avoid accidental globbing in evaled expressions
   4687 no_glob_subst='s/\*/\\\*/g'
   4688 
   4689 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4690 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4691 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4692 
   4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4694 $as_echo_n "checking how to print strings... " >&6; }
   4695 # Test print first, because it will be a builtin if present.
   4696 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   4697    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4698   ECHO='print -r --'
   4699 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4700   ECHO='printf %s\n'
   4701 else
   4702   # Use this function as a fallback that always works.
   4703   func_fallback_echo ()
   4704   {
   4705     eval 'cat <<_LTECHO_EOF
   4706 $1
   4707 _LTECHO_EOF'
   4708   }
   4709   ECHO='func_fallback_echo'
   4710 fi
   4711 
   4712 # func_echo_all arg...
   4713 # Invoke $ECHO with all args, space-separated.
   4714 func_echo_all ()
   4715 {
   4716     $ECHO ""
   4717 }
   4718 
   4719 case "$ECHO" in
   4720   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4721 $as_echo "printf" >&6; } ;;
   4722   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4723 $as_echo "print -r" >&6; } ;;
   4724   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4725 $as_echo "cat" >&6; } ;;
   4726 esac
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 
   4740 
   4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4742 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4743 if ${ac_cv_path_SED+:} false; then :
   4744   $as_echo_n "(cached) " >&6
   4745 else
   4746             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4747      for ac_i in 1 2 3 4 5 6 7; do
   4748        ac_script="$ac_script$as_nl$ac_script"
   4749      done
   4750      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4751      { ac_script=; unset ac_script;}
   4752      if test -z "$SED"; then
   4753   ac_path_SED_found=false
   4754   # Loop through the user's path and test for each of PROGNAME-LIST
   4755   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4756 for as_dir in $PATH
   4757 do
   4758   IFS=$as_save_IFS
   4759   test -z "$as_dir" && as_dir=.
   4760     for ac_prog in sed gsed; do
   4761     for ac_exec_ext in '' $ac_executable_extensions; do
   4762       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4763       as_fn_executable_p "$ac_path_SED" || continue
   4764 # Check for GNU ac_path_SED and select it if it is found.
   4765   # Check for GNU $ac_path_SED
   4766 case `"$ac_path_SED" --version 2>&1` in
   4767 *GNU*)
   4768   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4769 *)
   4770   ac_count=0
   4771   $as_echo_n 0123456789 >"conftest.in"
   4772   while :
   4773   do
   4774     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4775     mv "conftest.tmp" "conftest.in"
   4776     cp "conftest.in" "conftest.nl"
   4777     $as_echo '' >> "conftest.nl"
   4778     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4779     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4780     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4781     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4782       # Best one so far, save it but keep looking for a better one
   4783       ac_cv_path_SED="$ac_path_SED"
   4784       ac_path_SED_max=$ac_count
   4785     fi
   4786     # 10*(2^10) chars as input seems more than enough
   4787     test $ac_count -gt 10 && break
   4788   done
   4789   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4790 esac
   4791 
   4792       $ac_path_SED_found && break 3
   4793     done
   4794   done
   4795   done
   4796 IFS=$as_save_IFS
   4797   if test -z "$ac_cv_path_SED"; then
   4798     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4799   fi
   4800 else
   4801   ac_cv_path_SED=$SED
   4802 fi
   4803 
   4804 fi
   4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4806 $as_echo "$ac_cv_path_SED" >&6; }
   4807  SED="$ac_cv_path_SED"
   4808   rm -f conftest.sed
   4809 
   4810 test -z "$SED" && SED=sed
   4811 Xsed="$SED -e 1s/^X//"
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 
   4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4824 $as_echo_n "checking for fgrep... " >&6; }
   4825 if ${ac_cv_path_FGREP+:} false; then :
   4826   $as_echo_n "(cached) " >&6
   4827 else
   4828   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4829    then ac_cv_path_FGREP="$GREP -F"
   4830    else
   4831      if test -z "$FGREP"; then
   4832   ac_path_FGREP_found=false
   4833   # Loop through the user's path and test for each of PROGNAME-LIST
   4834   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4835 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4836 do
   4837   IFS=$as_save_IFS
   4838   test -z "$as_dir" && as_dir=.
   4839     for ac_prog in fgrep; do
   4840     for ac_exec_ext in '' $ac_executable_extensions; do
   4841       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4842       as_fn_executable_p "$ac_path_FGREP" || continue
   4843 # Check for GNU ac_path_FGREP and select it if it is found.
   4844   # Check for GNU $ac_path_FGREP
   4845 case `"$ac_path_FGREP" --version 2>&1` in
   4846 *GNU*)
   4847   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4848 *)
   4849   ac_count=0
   4850   $as_echo_n 0123456789 >"conftest.in"
   4851   while :
   4852   do
   4853     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4854     mv "conftest.tmp" "conftest.in"
   4855     cp "conftest.in" "conftest.nl"
   4856     $as_echo 'FGREP' >> "conftest.nl"
   4857     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4858     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4859     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4860     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4861       # Best one so far, save it but keep looking for a better one
   4862       ac_cv_path_FGREP="$ac_path_FGREP"
   4863       ac_path_FGREP_max=$ac_count
   4864     fi
   4865     # 10*(2^10) chars as input seems more than enough
   4866     test $ac_count -gt 10 && break
   4867   done
   4868   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4869 esac
   4870 
   4871       $ac_path_FGREP_found && break 3
   4872     done
   4873   done
   4874   done
   4875 IFS=$as_save_IFS
   4876   if test -z "$ac_cv_path_FGREP"; then
   4877     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4878   fi
   4879 else
   4880   ac_cv_path_FGREP=$FGREP
   4881 fi
   4882 
   4883    fi
   4884 fi
   4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4886 $as_echo "$ac_cv_path_FGREP" >&6; }
   4887  FGREP="$ac_cv_path_FGREP"
   4888 
   4889 
   4890 test -z "$GREP" && GREP=grep
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 
   4909 
   4910 # Check whether --with-gnu-ld was given.
   4911 if test "${with_gnu_ld+set}" = set; then :
   4912   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4913 else
   4914   with_gnu_ld=no
   4915 fi
   4916 
   4917 ac_prog=ld
   4918 if test "$GCC" = yes; then
   4919   # Check if gcc -print-prog-name=ld gives a path.
   4920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4921 $as_echo_n "checking for ld used by $CC... " >&6; }
   4922   case $host in
   4923   *-*-mingw*)
   4924     # gcc leaves a trailing carriage return which upsets mingw
   4925     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4926   *)
   4927     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4928   esac
   4929   case $ac_prog in
   4930     # Accept absolute paths.
   4931     [\\/]* | ?:[\\/]*)
   4932       re_direlt='/[^/][^/]*/\.\./'
   4933       # Canonicalize the pathname of ld
   4934       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4935       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4936 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4937       done
   4938       test -z "$LD" && LD="$ac_prog"
   4939       ;;
   4940   "")
   4941     # If it fails, then pretend we aren't using GCC.
   4942     ac_prog=ld
   4943     ;;
   4944   *)
   4945     # If it is relative, then search for the first ld in PATH.
   4946     with_gnu_ld=unknown
   4947     ;;
   4948   esac
   4949 elif test "$with_gnu_ld" = yes; then
   4950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4951 $as_echo_n "checking for GNU ld... " >&6; }
   4952 else
   4953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4954 $as_echo_n "checking for non-GNU ld... " >&6; }
   4955 fi
   4956 if ${lt_cv_path_LD+:} false; then :
   4957   $as_echo_n "(cached) " >&6
   4958 else
   4959   if test -z "$LD"; then
   4960   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4961   for ac_dir in $PATH; do
   4962     IFS="$lt_save_ifs"
   4963     test -z "$ac_dir" && ac_dir=.
   4964     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4965       lt_cv_path_LD="$ac_dir/$ac_prog"
   4966       # Check to see if the program is GNU ld.  I'd rather use --version,
   4967       # but apparently some variants of GNU ld only accept -v.
   4968       # Break only if it was the GNU/non-GNU ld that we prefer.
   4969       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4970       *GNU* | *'with BFD'*)
   4971 	test "$with_gnu_ld" != no && break
   4972 	;;
   4973       *)
   4974 	test "$with_gnu_ld" != yes && break
   4975 	;;
   4976       esac
   4977     fi
   4978   done
   4979   IFS="$lt_save_ifs"
   4980 else
   4981   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4982 fi
   4983 fi
   4984 
   4985 LD="$lt_cv_path_LD"
   4986 if test -n "$LD"; then
   4987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4988 $as_echo "$LD" >&6; }
   4989 else
   4990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4991 $as_echo "no" >&6; }
   4992 fi
   4993 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4995 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4996 if ${lt_cv_prog_gnu_ld+:} false; then :
   4997   $as_echo_n "(cached) " >&6
   4998 else
   4999   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5000 case `$LD -v 2>&1 </dev/null` in
   5001 *GNU* | *'with BFD'*)
   5002   lt_cv_prog_gnu_ld=yes
   5003   ;;
   5004 *)
   5005   lt_cv_prog_gnu_ld=no
   5006   ;;
   5007 esac
   5008 fi
   5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5010 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5011 with_gnu_ld=$lt_cv_prog_gnu_ld
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5022 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5023 if ${lt_cv_path_NM+:} false; then :
   5024   $as_echo_n "(cached) " >&6
   5025 else
   5026   if test -n "$NM"; then
   5027    # Let the user override the nm to test.
   5028    lt_nm_to_check="$NM"
   5029  else
   5030    lt_nm_to_check="${ac_tool_prefix}nm"
   5031    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5032      lt_nm_to_check="$lt_nm_to_check nm"
   5033    fi
   5034  fi
   5035  for lt_tmp_nm in "$lt_nm_to_check"; do
   5036    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5037    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5038      IFS="$lt_save_ifs"
   5039      test -z "$ac_dir" && ac_dir=.
   5040      # Strip out any user-provided options from the nm to test twice,
   5041      # the first time to test to see if nm (rather than its options) has
   5042      # an explicit path, the second time to yield a file which can be
   5043      # nm'ed itself.
   5044      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   5045      case "$tmp_nm_path" in
   5046      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   5047      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   5048      esac
   5049      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   5050      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   5051        # Check to see if the nm accepts a BSD-compat flag.
   5052        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5053        #   nm: unknown option "B" ignored
   5054        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5055        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   5056 	 break
   5057 	 ;;
   5058        *)
   5059 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5060 	 *$tmp_nm*)
   5061 	   lt_cv_path_NM="$tmp_nm -p"
   5062 	   break
   5063 	   ;;
   5064 	 *)
   5065 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5066 	   continue # so that we can try to find one that supports BSD flags
   5067 	   ;;
   5068 	 esac
   5069 	 ;;
   5070        esac
   5071      fi
   5072    done
   5073    IFS="$lt_save_ifs"
   5074  done
   5075  : ${lt_cv_path_NM=no}
   5076 fi
   5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5078 $as_echo "$lt_cv_path_NM" >&6; }
   5079 if test "$lt_cv_path_NM" != "no"; then
   5080   NM="$lt_cv_path_NM"
   5081 else
   5082   # Didn't find any BSD compatible name lister, look for dumpbin.
   5083   if test -n "$DUMPBIN"; then :
   5084     # Let the user override the test.
   5085   else
   5086     if test -n "$ac_tool_prefix"; then
   5087   for ac_prog in dumpbin "link -dump"
   5088   do
   5089     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5090 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5092 $as_echo_n "checking for $ac_word... " >&6; }
   5093 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5094   $as_echo_n "(cached) " >&6
   5095 else
   5096   if test -n "$DUMPBIN"; then
   5097   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5098 else
   5099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5100 for as_dir in $PATH
   5101 do
   5102   IFS=$as_save_IFS
   5103   test -z "$as_dir" && as_dir=.
   5104     for ac_exec_ext in '' $ac_executable_extensions; do
   5105   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5106     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5108     break 2
   5109   fi
   5110 done
   5111   done
   5112 IFS=$as_save_IFS
   5113 
   5114 fi
   5115 fi
   5116 DUMPBIN=$ac_cv_prog_DUMPBIN
   5117 if test -n "$DUMPBIN"; then
   5118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5119 $as_echo "$DUMPBIN" >&6; }
   5120 else
   5121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5122 $as_echo "no" >&6; }
   5123 fi
   5124 
   5125 
   5126     test -n "$DUMPBIN" && break
   5127   done
   5128 fi
   5129 if test -z "$DUMPBIN"; then
   5130   ac_ct_DUMPBIN=$DUMPBIN
   5131   for ac_prog in dumpbin "link -dump"
   5132 do
   5133   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5134 set dummy $ac_prog; ac_word=$2
   5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5136 $as_echo_n "checking for $ac_word... " >&6; }
   5137 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5138   $as_echo_n "(cached) " >&6
   5139 else
   5140   if test -n "$ac_ct_DUMPBIN"; then
   5141   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5142 else
   5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5144 for as_dir in $PATH
   5145 do
   5146   IFS=$as_save_IFS
   5147   test -z "$as_dir" && as_dir=.
   5148     for ac_exec_ext in '' $ac_executable_extensions; do
   5149   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5150     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5152     break 2
   5153   fi
   5154 done
   5155   done
   5156 IFS=$as_save_IFS
   5157 
   5158 fi
   5159 fi
   5160 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5161 if test -n "$ac_ct_DUMPBIN"; then
   5162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5163 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5164 else
   5165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5166 $as_echo "no" >&6; }
   5167 fi
   5168 
   5169 
   5170   test -n "$ac_ct_DUMPBIN" && break
   5171 done
   5172 
   5173   if test "x$ac_ct_DUMPBIN" = x; then
   5174     DUMPBIN=":"
   5175   else
   5176     case $cross_compiling:$ac_tool_warned in
   5177 yes:)
   5178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5180 ac_tool_warned=yes ;;
   5181 esac
   5182     DUMPBIN=$ac_ct_DUMPBIN
   5183   fi
   5184 fi
   5185 
   5186     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5187     *COFF*)
   5188       DUMPBIN="$DUMPBIN -symbols"
   5189       ;;
   5190     *)
   5191       DUMPBIN=:
   5192       ;;
   5193     esac
   5194   fi
   5195 
   5196   if test "$DUMPBIN" != ":"; then
   5197     NM="$DUMPBIN"
   5198   fi
   5199 fi
   5200 test -z "$NM" && NM=nm
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5208 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5209 if ${lt_cv_nm_interface+:} false; then :
   5210   $as_echo_n "(cached) " >&6
   5211 else
   5212   lt_cv_nm_interface="BSD nm"
   5213   echo "int some_variable = 0;" > conftest.$ac_ext
   5214   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5215   (eval "$ac_compile" 2>conftest.err)
   5216   cat conftest.err >&5
   5217   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5218   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5219   cat conftest.err >&5
   5220   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5221   cat conftest.out >&5
   5222   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5223     lt_cv_nm_interface="MS dumpbin"
   5224   fi
   5225   rm -f conftest*
   5226 fi
   5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5228 $as_echo "$lt_cv_nm_interface" >&6; }
   5229 
   5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5231 $as_echo_n "checking whether ln -s works... " >&6; }
   5232 LN_S=$as_ln_s
   5233 if test "$LN_S" = "ln -s"; then
   5234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5235 $as_echo "yes" >&6; }
   5236 else
   5237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5238 $as_echo "no, using $LN_S" >&6; }
   5239 fi
   5240 
   5241 # find the maximum length of command line arguments
   5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5243 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5244 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5245   $as_echo_n "(cached) " >&6
   5246 else
   5247     i=0
   5248   teststring="ABCD"
   5249 
   5250   case $build_os in
   5251   msdosdjgpp*)
   5252     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5253     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5254     # during glob expansion).  Even if it were fixed, the result of this
   5255     # check would be larger than it should be.
   5256     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5257     ;;
   5258 
   5259   gnu*)
   5260     # Under GNU Hurd, this test is not required because there is
   5261     # no limit to the length of command line arguments.
   5262     # Libtool will interpret -1 as no limit whatsoever
   5263     lt_cv_sys_max_cmd_len=-1;
   5264     ;;
   5265 
   5266   cygwin* | mingw* | cegcc*)
   5267     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5268     # about 5 minutes as the teststring grows exponentially.
   5269     # Worse, since 9x/ME are not pre-emptively multitasking,
   5270     # you end up with a "frozen" computer, even though with patience
   5271     # the test eventually succeeds (with a max line length of 256k).
   5272     # Instead, let's just punt: use the minimum linelength reported by
   5273     # all of the supported platforms: 8192 (on NT/2K/XP).
   5274     lt_cv_sys_max_cmd_len=8192;
   5275     ;;
   5276 
   5277   mint*)
   5278     # On MiNT this can take a long time and run out of memory.
   5279     lt_cv_sys_max_cmd_len=8192;
   5280     ;;
   5281 
   5282   amigaos*)
   5283     # On AmigaOS with pdksh, this test takes hours, literally.
   5284     # So we just punt and use a minimum line length of 8192.
   5285     lt_cv_sys_max_cmd_len=8192;
   5286     ;;
   5287 
   5288   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5289     # This has been around since 386BSD, at least.  Likely further.
   5290     if test -x /sbin/sysctl; then
   5291       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5292     elif test -x /usr/sbin/sysctl; then
   5293       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5294     else
   5295       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5296     fi
   5297     # And add a safety zone
   5298     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5299     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5300     ;;
   5301 
   5302   interix*)
   5303     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5304     lt_cv_sys_max_cmd_len=196608
   5305     ;;
   5306 
   5307   osf*)
   5308     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5309     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5310     # nice to cause kernel panics so lets avoid the loop below.
   5311     # First set a reasonable default.
   5312     lt_cv_sys_max_cmd_len=16384
   5313     #
   5314     if test -x /sbin/sysconfig; then
   5315       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5316         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5317       esac
   5318     fi
   5319     ;;
   5320   sco3.2v5*)
   5321     lt_cv_sys_max_cmd_len=102400
   5322     ;;
   5323   sysv5* | sco5v6* | sysv4.2uw2*)
   5324     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5325     if test -n "$kargmax"; then
   5326       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5327     else
   5328       lt_cv_sys_max_cmd_len=32768
   5329     fi
   5330     ;;
   5331   *)
   5332     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5333     if test -n "$lt_cv_sys_max_cmd_len"; then
   5334       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5335       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5336     else
   5337       # Make teststring a little bigger before we do anything with it.
   5338       # a 1K string should be a reasonable start.
   5339       for i in 1 2 3 4 5 6 7 8 ; do
   5340         teststring=$teststring$teststring
   5341       done
   5342       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5343       # If test is not a shell built-in, we'll probably end up computing a
   5344       # maximum length that is only half of the actual maximum length, but
   5345       # we can't tell.
   5346       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   5347 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5348 	      test $i != 17 # 1/2 MB should be enough
   5349       do
   5350         i=`expr $i + 1`
   5351         teststring=$teststring$teststring
   5352       done
   5353       # Only check the string length outside the loop.
   5354       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5355       teststring=
   5356       # Add a significant safety factor because C++ compilers can tack on
   5357       # massive amounts of additional arguments before passing them to the
   5358       # linker.  It appears as though 1/2 is a usable value.
   5359       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5360     fi
   5361     ;;
   5362   esac
   5363 
   5364 fi
   5365 
   5366 if test -n $lt_cv_sys_max_cmd_len ; then
   5367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5368 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5369 else
   5370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5371 $as_echo "none" >&6; }
   5372 fi
   5373 max_cmd_len=$lt_cv_sys_max_cmd_len
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 : ${CP="cp -f"}
   5381 : ${MV="mv -f"}
   5382 : ${RM="rm -f"}
   5383 
   5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5385 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5386 # Try some XSI features
   5387 xsi_shell=no
   5388 ( _lt_dummy="a/b/c"
   5389   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5390       = c,a/b,, \
   5391     && eval 'test $(( 1 + 1 )) -eq 2 \
   5392     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5393   && xsi_shell=yes
   5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5395 $as_echo "$xsi_shell" >&6; }
   5396 
   5397 
   5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5399 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5400 lt_shell_append=no
   5401 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5402     >/dev/null 2>&1 \
   5403   && lt_shell_append=yes
   5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5405 $as_echo "$lt_shell_append" >&6; }
   5406 
   5407 
   5408 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5409   lt_unset=unset
   5410 else
   5411   lt_unset=false
   5412 fi
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 # test EBCDIC or ASCII
   5419 case `echo X|tr X '\101'` in
   5420  A) # ASCII based system
   5421     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5422   lt_SP2NL='tr \040 \012'
   5423   lt_NL2SP='tr \015\012 \040\040'
   5424   ;;
   5425  *) # EBCDIC based system
   5426   lt_SP2NL='tr \100 \n'
   5427   lt_NL2SP='tr \r\n \100\100'
   5428   ;;
   5429 esac
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5440 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5441 if ${lt_cv_ld_reload_flag+:} false; then :
   5442   $as_echo_n "(cached) " >&6
   5443 else
   5444   lt_cv_ld_reload_flag='-r'
   5445 fi
   5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5447 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5448 reload_flag=$lt_cv_ld_reload_flag
   5449 case $reload_flag in
   5450 "" | " "*) ;;
   5451 *) reload_flag=" $reload_flag" ;;
   5452 esac
   5453 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5454 case $host_os in
   5455   darwin*)
   5456     if test "$GCC" = yes; then
   5457       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5458     else
   5459       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5460     fi
   5461     ;;
   5462 esac
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 if test -n "$ac_tool_prefix"; then
   5473   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5474 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5476 $as_echo_n "checking for $ac_word... " >&6; }
   5477 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5478   $as_echo_n "(cached) " >&6
   5479 else
   5480   if test -n "$OBJDUMP"; then
   5481   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5482 else
   5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5484 for as_dir in $PATH
   5485 do
   5486   IFS=$as_save_IFS
   5487   test -z "$as_dir" && as_dir=.
   5488     for ac_exec_ext in '' $ac_executable_extensions; do
   5489   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5490     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5492     break 2
   5493   fi
   5494 done
   5495   done
   5496 IFS=$as_save_IFS
   5497 
   5498 fi
   5499 fi
   5500 OBJDUMP=$ac_cv_prog_OBJDUMP
   5501 if test -n "$OBJDUMP"; then
   5502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5503 $as_echo "$OBJDUMP" >&6; }
   5504 else
   5505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5506 $as_echo "no" >&6; }
   5507 fi
   5508 
   5509 
   5510 fi
   5511 if test -z "$ac_cv_prog_OBJDUMP"; then
   5512   ac_ct_OBJDUMP=$OBJDUMP
   5513   # Extract the first word of "objdump", so it can be a program name with args.
   5514 set dummy objdump; ac_word=$2
   5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5516 $as_echo_n "checking for $ac_word... " >&6; }
   5517 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5518   $as_echo_n "(cached) " >&6
   5519 else
   5520   if test -n "$ac_ct_OBJDUMP"; then
   5521   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5522 else
   5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5524 for as_dir in $PATH
   5525 do
   5526   IFS=$as_save_IFS
   5527   test -z "$as_dir" && as_dir=.
   5528     for ac_exec_ext in '' $ac_executable_extensions; do
   5529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5530     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5532     break 2
   5533   fi
   5534 done
   5535   done
   5536 IFS=$as_save_IFS
   5537 
   5538 fi
   5539 fi
   5540 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5541 if test -n "$ac_ct_OBJDUMP"; then
   5542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5543 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5544 else
   5545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5546 $as_echo "no" >&6; }
   5547 fi
   5548 
   5549   if test "x$ac_ct_OBJDUMP" = x; then
   5550     OBJDUMP="false"
   5551   else
   5552     case $cross_compiling:$ac_tool_warned in
   5553 yes:)
   5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5556 ac_tool_warned=yes ;;
   5557 esac
   5558     OBJDUMP=$ac_ct_OBJDUMP
   5559   fi
   5560 else
   5561   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5562 fi
   5563 
   5564 test -z "$OBJDUMP" && OBJDUMP=objdump
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5575 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5576 if ${lt_cv_deplibs_check_method+:} false; then :
   5577   $as_echo_n "(cached) " >&6
   5578 else
   5579   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5580 lt_cv_file_magic_test_file=
   5581 lt_cv_deplibs_check_method='unknown'
   5582 # Need to set the preceding variable on all platforms that support
   5583 # interlibrary dependencies.
   5584 # 'none' -- dependencies not supported.
   5585 # `unknown' -- same as none, but documents that we really don't know.
   5586 # 'pass_all' -- all dependencies passed with no checks.
   5587 # 'test_compile' -- check by making test program.
   5588 # 'file_magic [[regex]]' -- check by looking for files in library path
   5589 # which responds to the $file_magic_cmd with a given extended regex.
   5590 # If you have `file' or equivalent on your system and you're not sure
   5591 # whether `pass_all' will *always* work, you probably want this one.
   5592 
   5593 case $host_os in
   5594 aix[4-9]*)
   5595   lt_cv_deplibs_check_method=pass_all
   5596   ;;
   5597 
   5598 beos*)
   5599   lt_cv_deplibs_check_method=pass_all
   5600   ;;
   5601 
   5602 bsdi[45]*)
   5603   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5604   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5605   lt_cv_file_magic_test_file=/shlib/libc.so
   5606   ;;
   5607 
   5608 cygwin*)
   5609   # func_win32_libid is a shell function defined in ltmain.sh
   5610   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5611   lt_cv_file_magic_cmd='func_win32_libid'
   5612   ;;
   5613 
   5614 mingw* | pw32*)
   5615   # Base MSYS/MinGW do not provide the 'file' command needed by
   5616   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5617   # unless we find 'file', for example because we are cross-compiling.
   5618   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5619   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5620     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5621     lt_cv_file_magic_cmd='func_win32_libid'
   5622   else
   5623     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5624     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5625   fi
   5626   ;;
   5627 
   5628 cegcc*)
   5629   # use the weaker test based on 'objdump'. See mingw*.
   5630   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5631   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5632   ;;
   5633 
   5634 darwin* | rhapsody*)
   5635   lt_cv_deplibs_check_method=pass_all
   5636   ;;
   5637 
   5638 freebsd* | dragonfly*)
   5639   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5640     case $host_cpu in
   5641     i*86 )
   5642       # Not sure whether the presence of OpenBSD here was a mistake.
   5643       # Let's accept both of them until this is cleared up.
   5644       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5645       lt_cv_file_magic_cmd=/usr/bin/file
   5646       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5647       ;;
   5648     esac
   5649   else
   5650     lt_cv_deplibs_check_method=pass_all
   5651   fi
   5652   ;;
   5653 
   5654 gnu*)
   5655   lt_cv_deplibs_check_method=pass_all
   5656   ;;
   5657 
   5658 haiku*)
   5659   lt_cv_deplibs_check_method=pass_all
   5660   ;;
   5661 
   5662 hpux10.20* | hpux11*)
   5663   lt_cv_file_magic_cmd=/usr/bin/file
   5664   case $host_cpu in
   5665   ia64*)
   5666     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5667     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5668     ;;
   5669   hppa*64*)
   5670     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]'
   5671     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5672     ;;
   5673   *)
   5674     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5675     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5676     ;;
   5677   esac
   5678   ;;
   5679 
   5680 interix[3-9]*)
   5681   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5682   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5683   ;;
   5684 
   5685 irix5* | irix6* | nonstopux*)
   5686   case $LD in
   5687   *-32|*"-32 ") libmagic=32-bit;;
   5688   *-n32|*"-n32 ") libmagic=N32;;
   5689   *-64|*"-64 ") libmagic=64-bit;;
   5690   *) libmagic=never-match;;
   5691   esac
   5692   lt_cv_deplibs_check_method=pass_all
   5693   ;;
   5694 
   5695 # This must be Linux ELF.
   5696 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   5697   lt_cv_deplibs_check_method=pass_all
   5698   ;;
   5699 
   5700 netbsd*)
   5701   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5702     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5703   else
   5704     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5705   fi
   5706   ;;
   5707 
   5708 newos6*)
   5709   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5710   lt_cv_file_magic_cmd=/usr/bin/file
   5711   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5712   ;;
   5713 
   5714 *nto* | *qnx*)
   5715   lt_cv_deplibs_check_method=pass_all
   5716   ;;
   5717 
   5718 openbsd*)
   5719   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5720     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5721   else
   5722     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5723   fi
   5724   ;;
   5725 
   5726 osf3* | osf4* | osf5*)
   5727   lt_cv_deplibs_check_method=pass_all
   5728   ;;
   5729 
   5730 rdos*)
   5731   lt_cv_deplibs_check_method=pass_all
   5732   ;;
   5733 
   5734 solaris*)
   5735   lt_cv_deplibs_check_method=pass_all
   5736   ;;
   5737 
   5738 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5739   lt_cv_deplibs_check_method=pass_all
   5740   ;;
   5741 
   5742 sysv4 | sysv4.3*)
   5743   case $host_vendor in
   5744   motorola)
   5745     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]'
   5746     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5747     ;;
   5748   ncr)
   5749     lt_cv_deplibs_check_method=pass_all
   5750     ;;
   5751   sequent)
   5752     lt_cv_file_magic_cmd='/bin/file'
   5753     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5754     ;;
   5755   sni)
   5756     lt_cv_file_magic_cmd='/bin/file'
   5757     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5758     lt_cv_file_magic_test_file=/lib/libc.so
   5759     ;;
   5760   siemens)
   5761     lt_cv_deplibs_check_method=pass_all
   5762     ;;
   5763   pc)
   5764     lt_cv_deplibs_check_method=pass_all
   5765     ;;
   5766   esac
   5767   ;;
   5768 
   5769 tpf*)
   5770   lt_cv_deplibs_check_method=pass_all
   5771   ;;
   5772 vxworks*)
   5773   # Assume VxWorks cross toolchains are built on Linux, possibly
   5774   # as canadian for Windows hosts.
   5775   lt_cv_deplibs_check_method=pass_all
   5776   ;;
   5777 esac
   5778 
   5779 fi
   5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5781 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5782 file_magic_cmd=$lt_cv_file_magic_cmd
   5783 deplibs_check_method=$lt_cv_deplibs_check_method
   5784 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
   5799 # wrong plugin_option with clang.
   5800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
   5801 $as_echo_n "checking for clang... " >&6; }
   5802 if ${clang_cv_is_clang+:} false; then :
   5803   $as_echo_n "(cached) " >&6
   5804 else
   5805 
   5806     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5807 /* end confdefs.h.  */
   5808 
   5809 #ifdef __clang__
   5810   yes
   5811 #endif
   5812 
   5813 _ACEOF
   5814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5815   $EGREP "yes" >/dev/null 2>&1; then :
   5816   clang_cv_is_clang=yes
   5817 else
   5818   clang_cv_is_clang=no
   5819 fi
   5820 rm -f conftest*
   5821 
   5822 fi
   5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $clang_cv_is_clang" >&5
   5824 $as_echo "$clang_cv_is_clang" >&6; }
   5825   if test -n "$ac_tool_prefix"; then
   5826   # Extract the first word of "${ac_tool_prefix}llvm-config", so it can be a program name with args.
   5827 set dummy ${ac_tool_prefix}llvm-config; ac_word=$2
   5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5829 $as_echo_n "checking for $ac_word... " >&6; }
   5830 if ${ac_cv_prog_LLVM_CONFIG+:} false; then :
   5831   $as_echo_n "(cached) " >&6
   5832 else
   5833   if test -n "$LLVM_CONFIG"; then
   5834   ac_cv_prog_LLVM_CONFIG="$LLVM_CONFIG" # Let the user override the test.
   5835 else
   5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5837 for as_dir in $PATH
   5838 do
   5839   IFS=$as_save_IFS
   5840   test -z "$as_dir" && as_dir=.
   5841     for ac_exec_ext in '' $ac_executable_extensions; do
   5842   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5843     ac_cv_prog_LLVM_CONFIG="${ac_tool_prefix}llvm-config"
   5844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5845     break 2
   5846   fi
   5847 done
   5848   done
   5849 IFS=$as_save_IFS
   5850 
   5851 fi
   5852 fi
   5853 LLVM_CONFIG=$ac_cv_prog_LLVM_CONFIG
   5854 if test -n "$LLVM_CONFIG"; then
   5855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_CONFIG" >&5
   5856 $as_echo "$LLVM_CONFIG" >&6; }
   5857 else
   5858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5859 $as_echo "no" >&6; }
   5860 fi
   5861 
   5862 
   5863 fi
   5864 if test -z "$ac_cv_prog_LLVM_CONFIG"; then
   5865   ac_ct_LLVM_CONFIG=$LLVM_CONFIG
   5866   # Extract the first word of "llvm-config", so it can be a program name with args.
   5867 set dummy llvm-config; ac_word=$2
   5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5869 $as_echo_n "checking for $ac_word... " >&6; }
   5870 if ${ac_cv_prog_ac_ct_LLVM_CONFIG+:} false; then :
   5871   $as_echo_n "(cached) " >&6
   5872 else
   5873   if test -n "$ac_ct_LLVM_CONFIG"; then
   5874   ac_cv_prog_ac_ct_LLVM_CONFIG="$ac_ct_LLVM_CONFIG" # Let the user override the test.
   5875 else
   5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5877 for as_dir in $PATH
   5878 do
   5879   IFS=$as_save_IFS
   5880   test -z "$as_dir" && as_dir=.
   5881     for ac_exec_ext in '' $ac_executable_extensions; do
   5882   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5883     ac_cv_prog_ac_ct_LLVM_CONFIG="llvm-config"
   5884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5885     break 2
   5886   fi
   5887 done
   5888   done
   5889 IFS=$as_save_IFS
   5890 
   5891 fi
   5892 fi
   5893 ac_ct_LLVM_CONFIG=$ac_cv_prog_ac_ct_LLVM_CONFIG
   5894 if test -n "$ac_ct_LLVM_CONFIG"; then
   5895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LLVM_CONFIG" >&5
   5896 $as_echo "$ac_ct_LLVM_CONFIG" >&6; }
   5897 else
   5898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5899 $as_echo "no" >&6; }
   5900 fi
   5901 
   5902   if test "x$ac_ct_LLVM_CONFIG" = x; then
   5903     LLVM_CONFIG=""
   5904   else
   5905     case $cross_compiling:$ac_tool_warned in
   5906 yes:)
   5907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5909 ac_tool_warned=yes ;;
   5910 esac
   5911     LLVM_CONFIG=$ac_ct_LLVM_CONFIG
   5912   fi
   5913 else
   5914   LLVM_CONFIG="$ac_cv_prog_LLVM_CONFIG"
   5915 fi
   5916 
   5917   plugin_file=
   5918   if test $clang_cv_is_clang = yes; then
   5919     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang plugin file" >&5
   5920 $as_echo_n "checking for clang plugin file... " >&6; }
   5921     plugin_names="LLVMgold.so"
   5922     for plugin in $plugin_names; do
   5923       plugin_file=`${CC} ${CFLAGS} --print-file-name $plugin`
   5924       if test "$plugin_file" != "$plugin"; then
   5925 	break;
   5926       fi
   5927       if test -n "${LLVM_CONFIG}"; then
   5928 	plugin_file=`${LLVM_CONFIG} --libdir`/$plugin
   5929 	if test -f "$plugin_file"; then
   5930 	  break;
   5931 	fi
   5932       fi
   5933       plugin_file=
   5934     done
   5935     if test -z "$plugin_file"; then
   5936       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5937 $as_echo "no" >&6; }
   5938     else
   5939       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugin_file" >&5
   5940 $as_echo "$plugin_file" >&6; }
   5941             if test -n "$ac_tool_prefix"; then
   5942   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5943 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5945 $as_echo_n "checking for $ac_word... " >&6; }
   5946 if ${ac_cv_prog_AR+:} false; then :
   5947   $as_echo_n "(cached) " >&6
   5948 else
   5949   if test -n "$AR"; then
   5950   ac_cv_prog_AR="$AR" # Let the user override the test.
   5951 else
   5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5953 for as_dir in $PATH
   5954 do
   5955   IFS=$as_save_IFS
   5956   test -z "$as_dir" && as_dir=.
   5957     for ac_exec_ext in '' $ac_executable_extensions; do
   5958   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5959     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5961     break 2
   5962   fi
   5963 done
   5964   done
   5965 IFS=$as_save_IFS
   5966 
   5967 fi
   5968 fi
   5969 AR=$ac_cv_prog_AR
   5970 if test -n "$AR"; then
   5971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5972 $as_echo "$AR" >&6; }
   5973 else
   5974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5975 $as_echo "no" >&6; }
   5976 fi
   5977 
   5978 
   5979 fi
   5980 if test -z "$ac_cv_prog_AR"; then
   5981   ac_ct_AR=$AR
   5982   # Extract the first word of "ar", so it can be a program name with args.
   5983 set dummy ar; ac_word=$2
   5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5985 $as_echo_n "checking for $ac_word... " >&6; }
   5986 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5987   $as_echo_n "(cached) " >&6
   5988 else
   5989   if test -n "$ac_ct_AR"; then
   5990   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5991 else
   5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5993 for as_dir in $PATH
   5994 do
   5995   IFS=$as_save_IFS
   5996   test -z "$as_dir" && as_dir=.
   5997     for ac_exec_ext in '' $ac_executable_extensions; do
   5998   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5999     ac_cv_prog_ac_ct_AR="ar"
   6000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6001     break 2
   6002   fi
   6003 done
   6004   done
   6005 IFS=$as_save_IFS
   6006 
   6007 fi
   6008 fi
   6009 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6010 if test -n "$ac_ct_AR"; then
   6011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6012 $as_echo "$ac_ct_AR" >&6; }
   6013 else
   6014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6015 $as_echo "no" >&6; }
   6016 fi
   6017 
   6018   if test "x$ac_ct_AR" = x; then
   6019     AR=""
   6020   else
   6021     case $cross_compiling:$ac_tool_warned in
   6022 yes:)
   6023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6025 ac_tool_warned=yes ;;
   6026 esac
   6027     AR=$ac_ct_AR
   6028   fi
   6029 else
   6030   AR="$ac_cv_prog_AR"
   6031 fi
   6032 
   6033       if test -z "${AR}"; then
   6034 	as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
   6035       fi
   6036       plugin_option="--plugin $plugin_file"
   6037       touch conftest.c
   6038       ${AR} $plugin_option rc conftest.a conftest.c
   6039       if test "$?" != 0; then
   6040 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   6041 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   6042 	plugin_file=
   6043       fi
   6044       rm -f conftest.*
   6045     fi
   6046   fi
   6047   plugin_file="$plugin_file"
   6048 
   6049 if test -n "$plugin_file"; then
   6050   plugin_option="--plugin $plugin_file"
   6051 else
   6052   if test -n "$ac_tool_prefix"; then
   6053   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6054 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6056 $as_echo_n "checking for $ac_word... " >&6; }
   6057 if ${ac_cv_prog_AR+:} false; then :
   6058   $as_echo_n "(cached) " >&6
   6059 else
   6060   if test -n "$AR"; then
   6061   ac_cv_prog_AR="$AR" # Let the user override the test.
   6062 else
   6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6064 for as_dir in $PATH
   6065 do
   6066   IFS=$as_save_IFS
   6067   test -z "$as_dir" && as_dir=.
   6068     for ac_exec_ext in '' $ac_executable_extensions; do
   6069   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6070     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6072     break 2
   6073   fi
   6074 done
   6075   done
   6076 IFS=$as_save_IFS
   6077 
   6078 fi
   6079 fi
   6080 AR=$ac_cv_prog_AR
   6081 if test -n "$AR"; then
   6082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6083 $as_echo "$AR" >&6; }
   6084 else
   6085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6086 $as_echo "no" >&6; }
   6087 fi
   6088 
   6089 
   6090 fi
   6091 if test -z "$ac_cv_prog_AR"; then
   6092   ac_ct_AR=$AR
   6093   # Extract the first word of "ar", so it can be a program name with args.
   6094 set dummy ar; ac_word=$2
   6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6096 $as_echo_n "checking for $ac_word... " >&6; }
   6097 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6098   $as_echo_n "(cached) " >&6
   6099 else
   6100   if test -n "$ac_ct_AR"; then
   6101   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6102 else
   6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6104 for as_dir in $PATH
   6105 do
   6106   IFS=$as_save_IFS
   6107   test -z "$as_dir" && as_dir=.
   6108     for ac_exec_ext in '' $ac_executable_extensions; do
   6109   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6110     ac_cv_prog_ac_ct_AR="ar"
   6111     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6112     break 2
   6113   fi
   6114 done
   6115   done
   6116 IFS=$as_save_IFS
   6117 
   6118 fi
   6119 fi
   6120 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6121 if test -n "$ac_ct_AR"; then
   6122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6123 $as_echo "$ac_ct_AR" >&6; }
   6124 else
   6125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6126 $as_echo "no" >&6; }
   6127 fi
   6128 
   6129   if test "x$ac_ct_AR" = x; then
   6130     AR=""
   6131   else
   6132     case $cross_compiling:$ac_tool_warned in
   6133 yes:)
   6134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6136 ac_tool_warned=yes ;;
   6137 esac
   6138     AR=$ac_ct_AR
   6139   fi
   6140 else
   6141   AR="$ac_cv_prog_AR"
   6142 fi
   6143 
   6144 if test -z "${AR}"; then
   6145   as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
   6146 fi
   6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -plugin option" >&5
   6148 $as_echo_n "checking for -plugin option... " >&6; }
   6149 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   6150 plugin_option=
   6151 for plugin in $plugin_names; do
   6152   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   6153   if test x$plugin_so = x$plugin; then
   6154     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   6155   fi
   6156   if test x$plugin_so != x$plugin; then
   6157     plugin_option="--plugin $plugin_so"
   6158     break
   6159   fi
   6160 done
   6161 if test -z "$plugin_option"; then
   6162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6163 $as_echo "no" >&6; }
   6164 else
   6165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugin_option" >&5
   6166 $as_echo "$plugin_option" >&6; }
   6167     touch conftest.c
   6168   ${AR} $plugin_option rc conftest.a conftest.c
   6169   if test "$?" != 0; then
   6170     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   6171 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   6172     plugin_option=
   6173   fi
   6174   rm -f conftest.*
   6175 fi
   6176 plugin_option="$plugin_option"
   6177 
   6178 fi
   6179 if test -n "$ac_tool_prefix"; then
   6180   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6181 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6183 $as_echo_n "checking for $ac_word... " >&6; }
   6184 if ${ac_cv_prog_AR+:} false; then :
   6185   $as_echo_n "(cached) " >&6
   6186 else
   6187   if test -n "$AR"; then
   6188   ac_cv_prog_AR="$AR" # Let the user override the test.
   6189 else
   6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6191 for as_dir in $PATH
   6192 do
   6193   IFS=$as_save_IFS
   6194   test -z "$as_dir" && as_dir=.
   6195     for ac_exec_ext in '' $ac_executable_extensions; do
   6196   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6197     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6199     break 2
   6200   fi
   6201 done
   6202   done
   6203 IFS=$as_save_IFS
   6204 
   6205 fi
   6206 fi
   6207 AR=$ac_cv_prog_AR
   6208 if test -n "$AR"; then
   6209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6210 $as_echo "$AR" >&6; }
   6211 else
   6212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6213 $as_echo "no" >&6; }
   6214 fi
   6215 
   6216 
   6217 fi
   6218 if test -z "$ac_cv_prog_AR"; then
   6219   ac_ct_AR=$AR
   6220   # Extract the first word of "ar", so it can be a program name with args.
   6221 set dummy ar; ac_word=$2
   6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6223 $as_echo_n "checking for $ac_word... " >&6; }
   6224 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6225   $as_echo_n "(cached) " >&6
   6226 else
   6227   if test -n "$ac_ct_AR"; then
   6228   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6229 else
   6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6231 for as_dir in $PATH
   6232 do
   6233   IFS=$as_save_IFS
   6234   test -z "$as_dir" && as_dir=.
   6235     for ac_exec_ext in '' $ac_executable_extensions; do
   6236   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6237     ac_cv_prog_ac_ct_AR="ar"
   6238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6239     break 2
   6240   fi
   6241 done
   6242   done
   6243 IFS=$as_save_IFS
   6244 
   6245 fi
   6246 fi
   6247 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6248 if test -n "$ac_ct_AR"; then
   6249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6250 $as_echo "$ac_ct_AR" >&6; }
   6251 else
   6252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6253 $as_echo "no" >&6; }
   6254 fi
   6255 
   6256   if test "x$ac_ct_AR" = x; then
   6257     AR="false"
   6258   else
   6259     case $cross_compiling:$ac_tool_warned in
   6260 yes:)
   6261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6263 ac_tool_warned=yes ;;
   6264 esac
   6265     AR=$ac_ct_AR
   6266   fi
   6267 else
   6268   AR="$ac_cv_prog_AR"
   6269 fi
   6270 
   6271 test -z "$AR" && AR=ar
   6272 if test -n "$plugin_option"; then
   6273   case "$AR" in
   6274   *"$plugin_option"*)
   6275     ;;
   6276   *)
   6277     if $AR --help 2>&1 | grep -q "\--plugin"; then
   6278       AR="$AR $plugin_option"
   6279     fi
   6280     ;;
   6281   esac
   6282 fi
   6283 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 if test -n "$ac_tool_prefix"; then
   6296   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6297 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6299 $as_echo_n "checking for $ac_word... " >&6; }
   6300 if ${ac_cv_prog_STRIP+:} false; then :
   6301   $as_echo_n "(cached) " >&6
   6302 else
   6303   if test -n "$STRIP"; then
   6304   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6305 else
   6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6307 for as_dir in $PATH
   6308 do
   6309   IFS=$as_save_IFS
   6310   test -z "$as_dir" && as_dir=.
   6311     for ac_exec_ext in '' $ac_executable_extensions; do
   6312   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6313     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6315     break 2
   6316   fi
   6317 done
   6318   done
   6319 IFS=$as_save_IFS
   6320 
   6321 fi
   6322 fi
   6323 STRIP=$ac_cv_prog_STRIP
   6324 if test -n "$STRIP"; then
   6325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6326 $as_echo "$STRIP" >&6; }
   6327 else
   6328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6329 $as_echo "no" >&6; }
   6330 fi
   6331 
   6332 
   6333 fi
   6334 if test -z "$ac_cv_prog_STRIP"; then
   6335   ac_ct_STRIP=$STRIP
   6336   # Extract the first word of "strip", so it can be a program name with args.
   6337 set dummy strip; ac_word=$2
   6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6339 $as_echo_n "checking for $ac_word... " >&6; }
   6340 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6341   $as_echo_n "(cached) " >&6
   6342 else
   6343   if test -n "$ac_ct_STRIP"; then
   6344   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6345 else
   6346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6347 for as_dir in $PATH
   6348 do
   6349   IFS=$as_save_IFS
   6350   test -z "$as_dir" && as_dir=.
   6351     for ac_exec_ext in '' $ac_executable_extensions; do
   6352   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6353     ac_cv_prog_ac_ct_STRIP="strip"
   6354     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6355     break 2
   6356   fi
   6357 done
   6358   done
   6359 IFS=$as_save_IFS
   6360 
   6361 fi
   6362 fi
   6363 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6364 if test -n "$ac_ct_STRIP"; then
   6365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6366 $as_echo "$ac_ct_STRIP" >&6; }
   6367 else
   6368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6369 $as_echo "no" >&6; }
   6370 fi
   6371 
   6372   if test "x$ac_ct_STRIP" = x; then
   6373     STRIP=":"
   6374   else
   6375     case $cross_compiling:$ac_tool_warned in
   6376 yes:)
   6377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6379 ac_tool_warned=yes ;;
   6380 esac
   6381     STRIP=$ac_ct_STRIP
   6382   fi
   6383 else
   6384   STRIP="$ac_cv_prog_STRIP"
   6385 fi
   6386 
   6387 test -z "$STRIP" && STRIP=:
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 if test -n "$ac_tool_prefix"; then
   6395   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6396 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6398 $as_echo_n "checking for $ac_word... " >&6; }
   6399 if ${ac_cv_prog_RANLIB+:} false; then :
   6400   $as_echo_n "(cached) " >&6
   6401 else
   6402   if test -n "$RANLIB"; then
   6403   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6404 else
   6405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6406 for as_dir in $PATH
   6407 do
   6408   IFS=$as_save_IFS
   6409   test -z "$as_dir" && as_dir=.
   6410     for ac_exec_ext in '' $ac_executable_extensions; do
   6411   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6412     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6414     break 2
   6415   fi
   6416 done
   6417   done
   6418 IFS=$as_save_IFS
   6419 
   6420 fi
   6421 fi
   6422 RANLIB=$ac_cv_prog_RANLIB
   6423 if test -n "$RANLIB"; then
   6424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6425 $as_echo "$RANLIB" >&6; }
   6426 else
   6427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6428 $as_echo "no" >&6; }
   6429 fi
   6430 
   6431 
   6432 fi
   6433 if test -z "$ac_cv_prog_RANLIB"; then
   6434   ac_ct_RANLIB=$RANLIB
   6435   # Extract the first word of "ranlib", so it can be a program name with args.
   6436 set dummy ranlib; ac_word=$2
   6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6438 $as_echo_n "checking for $ac_word... " >&6; }
   6439 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6440   $as_echo_n "(cached) " >&6
   6441 else
   6442   if test -n "$ac_ct_RANLIB"; then
   6443   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6444 else
   6445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6446 for as_dir in $PATH
   6447 do
   6448   IFS=$as_save_IFS
   6449   test -z "$as_dir" && as_dir=.
   6450     for ac_exec_ext in '' $ac_executable_extensions; do
   6451   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6452     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6453     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6454     break 2
   6455   fi
   6456 done
   6457   done
   6458 IFS=$as_save_IFS
   6459 
   6460 fi
   6461 fi
   6462 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6463 if test -n "$ac_ct_RANLIB"; then
   6464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6465 $as_echo "$ac_ct_RANLIB" >&6; }
   6466 else
   6467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6468 $as_echo "no" >&6; }
   6469 fi
   6470 
   6471   if test "x$ac_ct_RANLIB" = x; then
   6472     RANLIB=":"
   6473   else
   6474     case $cross_compiling:$ac_tool_warned in
   6475 yes:)
   6476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6478 ac_tool_warned=yes ;;
   6479 esac
   6480     RANLIB=$ac_ct_RANLIB
   6481   fi
   6482 else
   6483   RANLIB="$ac_cv_prog_RANLIB"
   6484 fi
   6485 
   6486 test -z "$RANLIB" && RANLIB=:
   6487 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   6488   case "$RANLIB" in
   6489   *"$plugin_option"*)
   6490     ;;
   6491   *)
   6492     if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   6493       RANLIB="$RANLIB $plugin_option"
   6494     fi
   6495     ;;
   6496   esac
   6497 fi
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 # Determine commands to create old-style static archives.
   6505 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6506 old_postinstall_cmds='chmod 644 $oldlib'
   6507 old_postuninstall_cmds=
   6508 
   6509 if test -n "$RANLIB"; then
   6510   case $host_os in
   6511   openbsd*)
   6512     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6513     ;;
   6514   *)
   6515     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6516     ;;
   6517   esac
   6518   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6519 fi
   6520 
   6521 case $host_os in
   6522   darwin*)
   6523     lock_old_archive_extraction=yes ;;
   6524   *)
   6525     lock_old_archive_extraction=no ;;
   6526 esac
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 # If no C compiler was specified, use CC.
   6567 LTCC=${LTCC-"$CC"}
   6568 
   6569 # If no C compiler flags were specified, use CFLAGS.
   6570 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6571 
   6572 # Allow CC to be a program name with arguments.
   6573 compiler=$CC
   6574 
   6575 
   6576 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6578 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6579 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6580   $as_echo_n "(cached) " >&6
   6581 else
   6582 
   6583 # These are sane defaults that work on at least a few old systems.
   6584 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6585 
   6586 # Character class describing NM global symbol codes.
   6587 symcode='[BCDEGRST]'
   6588 
   6589 # Regexp to match symbols that can be accessed directly from C.
   6590 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6591 
   6592 # Define system-specific variables.
   6593 case $host_os in
   6594 aix*)
   6595   symcode='[BCDT]'
   6596   ;;
   6597 cygwin* | mingw* | pw32* | cegcc*)
   6598   symcode='[ABCDGISTW]'
   6599   ;;
   6600 hpux*)
   6601   if test "$host_cpu" = ia64; then
   6602     symcode='[ABCDEGRST]'
   6603   fi
   6604   ;;
   6605 irix* | nonstopux*)
   6606   symcode='[BCDEGRST]'
   6607   ;;
   6608 osf*)
   6609   symcode='[BCDEGQRST]'
   6610   ;;
   6611 solaris*)
   6612   symcode='[BCDRT]'
   6613   ;;
   6614 sco3.2v5*)
   6615   symcode='[DT]'
   6616   ;;
   6617 sysv4.2uw2*)
   6618   symcode='[DT]'
   6619   ;;
   6620 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6621   symcode='[ABDT]'
   6622   ;;
   6623 sysv4)
   6624   symcode='[DFNSTU]'
   6625   ;;
   6626 esac
   6627 
   6628 # If we're using GNU nm, then use its standard symbol codes.
   6629 case `$NM -V 2>&1` in
   6630 *GNU* | *'with BFD'*)
   6631   symcode='[ABCDGIRSTW]' ;;
   6632 esac
   6633 
   6634 # Transform an extracted symbol line into a proper C declaration.
   6635 # Some systems (esp. on ia64) link data and code symbols differently,
   6636 # so use this general approach.
   6637 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6638 
   6639 # Transform an extracted symbol line into symbol name and symbol address
   6640 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6641 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'"
   6642 
   6643 # Handle CRLF in mingw tool chain
   6644 opt_cr=
   6645 case $build_os in
   6646 mingw*)
   6647   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6648   ;;
   6649 esac
   6650 
   6651 # Try without a prefix underscore, then with it.
   6652 for ac_symprfx in "" "_"; do
   6653 
   6654   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6655   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6656 
   6657   # Write the raw and C identifiers.
   6658   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6659     # Fake it for dumpbin and say T for any non-static function
   6660     # and D for any global variable.
   6661     # Also find C++ and __fastcall symbols from MSVC++,
   6662     # which start with @ or ?.
   6663     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6664 "     {last_section=section; section=\$ 3};"\
   6665 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6666 "     \$ 0!~/External *\|/{next};"\
   6667 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6668 "     {if(hide[section]) next};"\
   6669 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6670 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6671 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6672 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6673 "     ' prfx=^$ac_symprfx"
   6674   else
   6675     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6676   fi
   6677 
   6678   # Check to see that the pipe works correctly.
   6679   pipe_works=no
   6680 
   6681   rm -f conftest*
   6682   cat > conftest.$ac_ext <<_LT_EOF
   6683 #ifdef __cplusplus
   6684 extern "C" {
   6685 #endif
   6686 char nm_test_var;
   6687 void nm_test_func(void);
   6688 void nm_test_func(void){}
   6689 #ifdef __cplusplus
   6690 }
   6691 #endif
   6692 int main(){nm_test_var='a';nm_test_func();return(0);}
   6693 _LT_EOF
   6694 
   6695   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6696   (eval $ac_compile) 2>&5
   6697   ac_status=$?
   6698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6699   test $ac_status = 0; }; then
   6700     # Now try to grab the symbols.
   6701     nlist=conftest.nm
   6702     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6703   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6704   ac_status=$?
   6705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6706   test $ac_status = 0; } && test -s "$nlist"; then
   6707       # Try sorting and uniquifying the output.
   6708       if sort "$nlist" | uniq > "$nlist"T; then
   6709 	mv -f "$nlist"T "$nlist"
   6710       else
   6711 	rm -f "$nlist"T
   6712       fi
   6713 
   6714       # Make sure that we snagged all the symbols we need.
   6715       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6716 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6717 	  cat <<_LT_EOF > conftest.$ac_ext
   6718 #ifdef __cplusplus
   6719 extern "C" {
   6720 #endif
   6721 
   6722 _LT_EOF
   6723 	  # Now generate the symbol file.
   6724 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6725 
   6726 	  cat <<_LT_EOF >> conftest.$ac_ext
   6727 
   6728 /* The mapping between symbol names and symbols.  */
   6729 const struct {
   6730   const char *name;
   6731   void       *address;
   6732 }
   6733 lt__PROGRAM__LTX_preloaded_symbols[] =
   6734 {
   6735   { "@PROGRAM@", (void *) 0 },
   6736 _LT_EOF
   6737 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6738 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6739   {0, (void *) 0}
   6740 };
   6741 
   6742 /* This works around a problem in FreeBSD linker */
   6743 #ifdef FREEBSD_WORKAROUND
   6744 static const void *lt_preloaded_setup() {
   6745   return lt__PROGRAM__LTX_preloaded_symbols;
   6746 }
   6747 #endif
   6748 
   6749 #ifdef __cplusplus
   6750 }
   6751 #endif
   6752 _LT_EOF
   6753 	  # Now try linking the two files.
   6754 	  mv conftest.$ac_objext conftstm.$ac_objext
   6755 	  lt_save_LIBS="$LIBS"
   6756 	  lt_save_CFLAGS="$CFLAGS"
   6757 	  LIBS="conftstm.$ac_objext"
   6758 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6759 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6760   (eval $ac_link) 2>&5
   6761   ac_status=$?
   6762   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6763   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6764 	    pipe_works=yes
   6765 	  fi
   6766 	  LIBS="$lt_save_LIBS"
   6767 	  CFLAGS="$lt_save_CFLAGS"
   6768 	else
   6769 	  echo "cannot find nm_test_func in $nlist" >&5
   6770 	fi
   6771       else
   6772 	echo "cannot find nm_test_var in $nlist" >&5
   6773       fi
   6774     else
   6775       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6776     fi
   6777   else
   6778     echo "$progname: failed program was:" >&5
   6779     cat conftest.$ac_ext >&5
   6780   fi
   6781   rm -rf conftest* conftst*
   6782 
   6783   # Do not use the global_symbol_pipe unless it works.
   6784   if test "$pipe_works" = yes; then
   6785     break
   6786   else
   6787     lt_cv_sys_global_symbol_pipe=
   6788   fi
   6789 done
   6790 
   6791 fi
   6792 
   6793 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6794   lt_cv_sys_global_symbol_to_cdecl=
   6795 fi
   6796 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6798 $as_echo "failed" >&6; }
   6799 else
   6800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6801 $as_echo "ok" >&6; }
   6802 fi
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 # Check whether --enable-libtool-lock was given.
   6826 if test "${enable_libtool_lock+set}" = set; then :
   6827   enableval=$enable_libtool_lock;
   6828 fi
   6829 
   6830 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6831 
   6832 # Some flags need to be propagated to the compiler or linker for good
   6833 # libtool support.
   6834 case $host in
   6835 ia64-*-hpux*)
   6836   # Find out which ABI we are using.
   6837   echo 'int i;' > conftest.$ac_ext
   6838   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6839   (eval $ac_compile) 2>&5
   6840   ac_status=$?
   6841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6842   test $ac_status = 0; }; then
   6843     case `/usr/bin/file conftest.$ac_objext` in
   6844       *ELF-32*)
   6845 	HPUX_IA64_MODE="32"
   6846 	;;
   6847       *ELF-64*)
   6848 	HPUX_IA64_MODE="64"
   6849 	;;
   6850     esac
   6851   fi
   6852   rm -rf conftest*
   6853   ;;
   6854 *-*-irix6*)
   6855   # Find out which ABI we are using.
   6856   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6857   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6858   (eval $ac_compile) 2>&5
   6859   ac_status=$?
   6860   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6861   test $ac_status = 0; }; then
   6862     if test "$lt_cv_prog_gnu_ld" = yes; then
   6863       case `/usr/bin/file conftest.$ac_objext` in
   6864 	*32-bit*)
   6865 	  LD="${LD-ld} -melf32bsmip"
   6866 	  ;;
   6867 	*N32*)
   6868 	  LD="${LD-ld} -melf32bmipn32"
   6869 	  ;;
   6870 	*64-bit*)
   6871 	  LD="${LD-ld} -melf64bmip"
   6872 	;;
   6873       esac
   6874     else
   6875       case `/usr/bin/file conftest.$ac_objext` in
   6876 	*32-bit*)
   6877 	  LD="${LD-ld} -32"
   6878 	  ;;
   6879 	*N32*)
   6880 	  LD="${LD-ld} -n32"
   6881 	  ;;
   6882 	*64-bit*)
   6883 	  LD="${LD-ld} -64"
   6884 	  ;;
   6885       esac
   6886     fi
   6887   fi
   6888   rm -rf conftest*
   6889   ;;
   6890 
   6891 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6892 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6893   # Find out which ABI we are using.
   6894   echo 'int i;' > conftest.$ac_ext
   6895   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6896   (eval $ac_compile) 2>&5
   6897   ac_status=$?
   6898   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6899   test $ac_status = 0; }; then
   6900     case `/usr/bin/file conftest.o` in
   6901       *32-bit*)
   6902 	case $host in
   6903 	  x86_64-*kfreebsd*-gnu)
   6904 	    LD="${LD-ld} -m elf_i386_fbsd"
   6905 	    ;;
   6906 	  x86_64-*linux*)
   6907 	    case `/usr/bin/file conftest.o` in
   6908 	      *x86-64*)
   6909 		LD="${LD-ld} -m elf32_x86_64"
   6910 		;;
   6911 	      *)
   6912 		LD="${LD-ld} -m elf_i386"
   6913 		;;
   6914 	    esac
   6915 	    ;;
   6916 	  powerpc64le-*linux*)
   6917 	    LD="${LD-ld} -m elf32lppclinux"
   6918 	    ;;
   6919 	  powerpc64-*linux*)
   6920 	    LD="${LD-ld} -m elf32ppclinux"
   6921 	    ;;
   6922 	  s390x-*linux*)
   6923 	    LD="${LD-ld} -m elf_s390"
   6924 	    ;;
   6925 	  sparc64-*linux*)
   6926 	    LD="${LD-ld} -m elf32_sparc"
   6927 	    ;;
   6928 	esac
   6929 	;;
   6930       *64-bit*)
   6931 	case $host in
   6932 	  x86_64-*kfreebsd*-gnu)
   6933 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6934 	    ;;
   6935 	  x86_64-*linux*)
   6936 	    LD="${LD-ld} -m elf_x86_64"
   6937 	    ;;
   6938 	  powerpcle-*linux*)
   6939 	    LD="${LD-ld} -m elf64lppc"
   6940 	    ;;
   6941 	  powerpc-*linux*)
   6942 	    LD="${LD-ld} -m elf64ppc"
   6943 	    ;;
   6944 	  s390*-*linux*|s390*-*tpf*)
   6945 	    LD="${LD-ld} -m elf64_s390"
   6946 	    ;;
   6947 	  sparc*-*linux*)
   6948 	    LD="${LD-ld} -m elf64_sparc"
   6949 	    ;;
   6950 	esac
   6951 	;;
   6952     esac
   6953   fi
   6954   rm -rf conftest*
   6955   ;;
   6956 
   6957 *-*-sco3.2v5*)
   6958   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6959   SAVE_CFLAGS="$CFLAGS"
   6960   CFLAGS="$CFLAGS -belf"
   6961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6962 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6963 if ${lt_cv_cc_needs_belf+:} false; then :
   6964   $as_echo_n "(cached) " >&6
   6965 else
   6966   ac_ext=c
   6967 ac_cpp='$CPP $CPPFLAGS'
   6968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6971 
   6972      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6973 /* end confdefs.h.  */
   6974 
   6975 int
   6976 main ()
   6977 {
   6978 
   6979   ;
   6980   return 0;
   6981 }
   6982 _ACEOF
   6983 if ac_fn_c_try_link "$LINENO"; then :
   6984   lt_cv_cc_needs_belf=yes
   6985 else
   6986   lt_cv_cc_needs_belf=no
   6987 fi
   6988 rm -f core conftest.err conftest.$ac_objext \
   6989     conftest$ac_exeext conftest.$ac_ext
   6990      ac_ext=c
   6991 ac_cpp='$CPP $CPPFLAGS'
   6992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6995 
   6996 fi
   6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6998 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6999   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7000     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7001     CFLAGS="$SAVE_CFLAGS"
   7002   fi
   7003   ;;
   7004 sparc*-*solaris*)
   7005   # Find out which ABI we are using.
   7006   echo 'int i;' > conftest.$ac_ext
   7007   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7008   (eval $ac_compile) 2>&5
   7009   ac_status=$?
   7010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7011   test $ac_status = 0; }; then
   7012     case `/usr/bin/file conftest.o` in
   7013     *64-bit*)
   7014       case $lt_cv_prog_gnu_ld in
   7015       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7016       *)
   7017 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7018 	  LD="${LD-ld} -64"
   7019 	fi
   7020 	;;
   7021       esac
   7022       ;;
   7023     esac
   7024   fi
   7025   rm -rf conftest*
   7026   ;;
   7027 esac
   7028 
   7029 need_locks="$enable_libtool_lock"
   7030 
   7031 
   7032   case $host_os in
   7033     rhapsody* | darwin*)
   7034     if test -n "$ac_tool_prefix"; then
   7035   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7036 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7038 $as_echo_n "checking for $ac_word... " >&6; }
   7039 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7040   $as_echo_n "(cached) " >&6
   7041 else
   7042   if test -n "$DSYMUTIL"; then
   7043   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7044 else
   7045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7046 for as_dir in $PATH
   7047 do
   7048   IFS=$as_save_IFS
   7049   test -z "$as_dir" && as_dir=.
   7050     for ac_exec_ext in '' $ac_executable_extensions; do
   7051   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7052     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7054     break 2
   7055   fi
   7056 done
   7057   done
   7058 IFS=$as_save_IFS
   7059 
   7060 fi
   7061 fi
   7062 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7063 if test -n "$DSYMUTIL"; then
   7064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7065 $as_echo "$DSYMUTIL" >&6; }
   7066 else
   7067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7068 $as_echo "no" >&6; }
   7069 fi
   7070 
   7071 
   7072 fi
   7073 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7074   ac_ct_DSYMUTIL=$DSYMUTIL
   7075   # Extract the first word of "dsymutil", so it can be a program name with args.
   7076 set dummy dsymutil; ac_word=$2
   7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7078 $as_echo_n "checking for $ac_word... " >&6; }
   7079 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7080   $as_echo_n "(cached) " >&6
   7081 else
   7082   if test -n "$ac_ct_DSYMUTIL"; then
   7083   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7084 else
   7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7086 for as_dir in $PATH
   7087 do
   7088   IFS=$as_save_IFS
   7089   test -z "$as_dir" && as_dir=.
   7090     for ac_exec_ext in '' $ac_executable_extensions; do
   7091   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7092     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7094     break 2
   7095   fi
   7096 done
   7097   done
   7098 IFS=$as_save_IFS
   7099 
   7100 fi
   7101 fi
   7102 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7103 if test -n "$ac_ct_DSYMUTIL"; then
   7104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7105 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7106 else
   7107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7108 $as_echo "no" >&6; }
   7109 fi
   7110 
   7111   if test "x$ac_ct_DSYMUTIL" = x; then
   7112     DSYMUTIL=":"
   7113   else
   7114     case $cross_compiling:$ac_tool_warned in
   7115 yes:)
   7116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7118 ac_tool_warned=yes ;;
   7119 esac
   7120     DSYMUTIL=$ac_ct_DSYMUTIL
   7121   fi
   7122 else
   7123   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7124 fi
   7125 
   7126     if test -n "$ac_tool_prefix"; then
   7127   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7128 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7130 $as_echo_n "checking for $ac_word... " >&6; }
   7131 if ${ac_cv_prog_NMEDIT+:} false; then :
   7132   $as_echo_n "(cached) " >&6
   7133 else
   7134   if test -n "$NMEDIT"; then
   7135   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7136 else
   7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7138 for as_dir in $PATH
   7139 do
   7140   IFS=$as_save_IFS
   7141   test -z "$as_dir" && as_dir=.
   7142     for ac_exec_ext in '' $ac_executable_extensions; do
   7143   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7144     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7146     break 2
   7147   fi
   7148 done
   7149   done
   7150 IFS=$as_save_IFS
   7151 
   7152 fi
   7153 fi
   7154 NMEDIT=$ac_cv_prog_NMEDIT
   7155 if test -n "$NMEDIT"; then
   7156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7157 $as_echo "$NMEDIT" >&6; }
   7158 else
   7159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7160 $as_echo "no" >&6; }
   7161 fi
   7162 
   7163 
   7164 fi
   7165 if test -z "$ac_cv_prog_NMEDIT"; then
   7166   ac_ct_NMEDIT=$NMEDIT
   7167   # Extract the first word of "nmedit", so it can be a program name with args.
   7168 set dummy nmedit; ac_word=$2
   7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7170 $as_echo_n "checking for $ac_word... " >&6; }
   7171 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7172   $as_echo_n "(cached) " >&6
   7173 else
   7174   if test -n "$ac_ct_NMEDIT"; then
   7175   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7176 else
   7177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7178 for as_dir in $PATH
   7179 do
   7180   IFS=$as_save_IFS
   7181   test -z "$as_dir" && as_dir=.
   7182     for ac_exec_ext in '' $ac_executable_extensions; do
   7183   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7184     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7185     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7186     break 2
   7187   fi
   7188 done
   7189   done
   7190 IFS=$as_save_IFS
   7191 
   7192 fi
   7193 fi
   7194 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7195 if test -n "$ac_ct_NMEDIT"; then
   7196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7197 $as_echo "$ac_ct_NMEDIT" >&6; }
   7198 else
   7199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7200 $as_echo "no" >&6; }
   7201 fi
   7202 
   7203   if test "x$ac_ct_NMEDIT" = x; then
   7204     NMEDIT=":"
   7205   else
   7206     case $cross_compiling:$ac_tool_warned in
   7207 yes:)
   7208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7210 ac_tool_warned=yes ;;
   7211 esac
   7212     NMEDIT=$ac_ct_NMEDIT
   7213   fi
   7214 else
   7215   NMEDIT="$ac_cv_prog_NMEDIT"
   7216 fi
   7217 
   7218     if test -n "$ac_tool_prefix"; then
   7219   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7220 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7222 $as_echo_n "checking for $ac_word... " >&6; }
   7223 if ${ac_cv_prog_LIPO+:} false; then :
   7224   $as_echo_n "(cached) " >&6
   7225 else
   7226   if test -n "$LIPO"; then
   7227   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7228 else
   7229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7230 for as_dir in $PATH
   7231 do
   7232   IFS=$as_save_IFS
   7233   test -z "$as_dir" && as_dir=.
   7234     for ac_exec_ext in '' $ac_executable_extensions; do
   7235   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7236     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7238     break 2
   7239   fi
   7240 done
   7241   done
   7242 IFS=$as_save_IFS
   7243 
   7244 fi
   7245 fi
   7246 LIPO=$ac_cv_prog_LIPO
   7247 if test -n "$LIPO"; then
   7248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7249 $as_echo "$LIPO" >&6; }
   7250 else
   7251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7252 $as_echo "no" >&6; }
   7253 fi
   7254 
   7255 
   7256 fi
   7257 if test -z "$ac_cv_prog_LIPO"; then
   7258   ac_ct_LIPO=$LIPO
   7259   # Extract the first word of "lipo", so it can be a program name with args.
   7260 set dummy lipo; ac_word=$2
   7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7262 $as_echo_n "checking for $ac_word... " >&6; }
   7263 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7264   $as_echo_n "(cached) " >&6
   7265 else
   7266   if test -n "$ac_ct_LIPO"; then
   7267   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7268 else
   7269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7270 for as_dir in $PATH
   7271 do
   7272   IFS=$as_save_IFS
   7273   test -z "$as_dir" && as_dir=.
   7274     for ac_exec_ext in '' $ac_executable_extensions; do
   7275   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7276     ac_cv_prog_ac_ct_LIPO="lipo"
   7277     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7278     break 2
   7279   fi
   7280 done
   7281   done
   7282 IFS=$as_save_IFS
   7283 
   7284 fi
   7285 fi
   7286 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7287 if test -n "$ac_ct_LIPO"; then
   7288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7289 $as_echo "$ac_ct_LIPO" >&6; }
   7290 else
   7291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7292 $as_echo "no" >&6; }
   7293 fi
   7294 
   7295   if test "x$ac_ct_LIPO" = x; then
   7296     LIPO=":"
   7297   else
   7298     case $cross_compiling:$ac_tool_warned in
   7299 yes:)
   7300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7302 ac_tool_warned=yes ;;
   7303 esac
   7304     LIPO=$ac_ct_LIPO
   7305   fi
   7306 else
   7307   LIPO="$ac_cv_prog_LIPO"
   7308 fi
   7309 
   7310     if test -n "$ac_tool_prefix"; then
   7311   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7312 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7314 $as_echo_n "checking for $ac_word... " >&6; }
   7315 if ${ac_cv_prog_OTOOL+:} false; then :
   7316   $as_echo_n "(cached) " >&6
   7317 else
   7318   if test -n "$OTOOL"; then
   7319   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7320 else
   7321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7322 for as_dir in $PATH
   7323 do
   7324   IFS=$as_save_IFS
   7325   test -z "$as_dir" && as_dir=.
   7326     for ac_exec_ext in '' $ac_executable_extensions; do
   7327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7328     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7330     break 2
   7331   fi
   7332 done
   7333   done
   7334 IFS=$as_save_IFS
   7335 
   7336 fi
   7337 fi
   7338 OTOOL=$ac_cv_prog_OTOOL
   7339 if test -n "$OTOOL"; then
   7340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7341 $as_echo "$OTOOL" >&6; }
   7342 else
   7343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7344 $as_echo "no" >&6; }
   7345 fi
   7346 
   7347 
   7348 fi
   7349 if test -z "$ac_cv_prog_OTOOL"; then
   7350   ac_ct_OTOOL=$OTOOL
   7351   # Extract the first word of "otool", so it can be a program name with args.
   7352 set dummy otool; ac_word=$2
   7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7354 $as_echo_n "checking for $ac_word... " >&6; }
   7355 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7356   $as_echo_n "(cached) " >&6
   7357 else
   7358   if test -n "$ac_ct_OTOOL"; then
   7359   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7360 else
   7361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7362 for as_dir in $PATH
   7363 do
   7364   IFS=$as_save_IFS
   7365   test -z "$as_dir" && as_dir=.
   7366     for ac_exec_ext in '' $ac_executable_extensions; do
   7367   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7368     ac_cv_prog_ac_ct_OTOOL="otool"
   7369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7370     break 2
   7371   fi
   7372 done
   7373   done
   7374 IFS=$as_save_IFS
   7375 
   7376 fi
   7377 fi
   7378 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7379 if test -n "$ac_ct_OTOOL"; then
   7380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7381 $as_echo "$ac_ct_OTOOL" >&6; }
   7382 else
   7383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7384 $as_echo "no" >&6; }
   7385 fi
   7386 
   7387   if test "x$ac_ct_OTOOL" = x; then
   7388     OTOOL=":"
   7389   else
   7390     case $cross_compiling:$ac_tool_warned in
   7391 yes:)
   7392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7394 ac_tool_warned=yes ;;
   7395 esac
   7396     OTOOL=$ac_ct_OTOOL
   7397   fi
   7398 else
   7399   OTOOL="$ac_cv_prog_OTOOL"
   7400 fi
   7401 
   7402     if test -n "$ac_tool_prefix"; then
   7403   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7404 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7406 $as_echo_n "checking for $ac_word... " >&6; }
   7407 if ${ac_cv_prog_OTOOL64+:} false; then :
   7408   $as_echo_n "(cached) " >&6
   7409 else
   7410   if test -n "$OTOOL64"; then
   7411   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7412 else
   7413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7414 for as_dir in $PATH
   7415 do
   7416   IFS=$as_save_IFS
   7417   test -z "$as_dir" && as_dir=.
   7418     for ac_exec_ext in '' $ac_executable_extensions; do
   7419   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7420     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7422     break 2
   7423   fi
   7424 done
   7425   done
   7426 IFS=$as_save_IFS
   7427 
   7428 fi
   7429 fi
   7430 OTOOL64=$ac_cv_prog_OTOOL64
   7431 if test -n "$OTOOL64"; then
   7432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7433 $as_echo "$OTOOL64" >&6; }
   7434 else
   7435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7436 $as_echo "no" >&6; }
   7437 fi
   7438 
   7439 
   7440 fi
   7441 if test -z "$ac_cv_prog_OTOOL64"; then
   7442   ac_ct_OTOOL64=$OTOOL64
   7443   # Extract the first word of "otool64", so it can be a program name with args.
   7444 set dummy otool64; ac_word=$2
   7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7446 $as_echo_n "checking for $ac_word... " >&6; }
   7447 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7448   $as_echo_n "(cached) " >&6
   7449 else
   7450   if test -n "$ac_ct_OTOOL64"; then
   7451   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7452 else
   7453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7454 for as_dir in $PATH
   7455 do
   7456   IFS=$as_save_IFS
   7457   test -z "$as_dir" && as_dir=.
   7458     for ac_exec_ext in '' $ac_executable_extensions; do
   7459   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7460     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7462     break 2
   7463   fi
   7464 done
   7465   done
   7466 IFS=$as_save_IFS
   7467 
   7468 fi
   7469 fi
   7470 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7471 if test -n "$ac_ct_OTOOL64"; then
   7472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7473 $as_echo "$ac_ct_OTOOL64" >&6; }
   7474 else
   7475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7476 $as_echo "no" >&6; }
   7477 fi
   7478 
   7479   if test "x$ac_ct_OTOOL64" = x; then
   7480     OTOOL64=":"
   7481   else
   7482     case $cross_compiling:$ac_tool_warned in
   7483 yes:)
   7484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7486 ac_tool_warned=yes ;;
   7487 esac
   7488     OTOOL64=$ac_ct_OTOOL64
   7489   fi
   7490 else
   7491   OTOOL64="$ac_cv_prog_OTOOL64"
   7492 fi
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7521 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7522 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7523   $as_echo_n "(cached) " >&6
   7524 else
   7525   lt_cv_apple_cc_single_mod=no
   7526       if test -z "${LT_MULTI_MODULE}"; then
   7527 	# By default we will add the -single_module flag. You can override
   7528 	# by either setting the environment variable LT_MULTI_MODULE
   7529 	# non-empty at configure time, or by adding -multi_module to the
   7530 	# link flags.
   7531 	rm -rf libconftest.dylib*
   7532 	echo "int foo(void){return 1;}" > conftest.c
   7533 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7534 -dynamiclib -Wl,-single_module conftest.c" >&5
   7535 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7536 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7537         _lt_result=$?
   7538 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7539 	  lt_cv_apple_cc_single_mod=yes
   7540 	else
   7541 	  cat conftest.err >&5
   7542 	fi
   7543 	rm -rf libconftest.dylib*
   7544 	rm -f conftest.*
   7545       fi
   7546 fi
   7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7548 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7549     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7550 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7551 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7552   $as_echo_n "(cached) " >&6
   7553 else
   7554   lt_cv_ld_exported_symbols_list=no
   7555       save_LDFLAGS=$LDFLAGS
   7556       echo "_main" > conftest.sym
   7557       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7559 /* end confdefs.h.  */
   7560 
   7561 int
   7562 main ()
   7563 {
   7564 
   7565   ;
   7566   return 0;
   7567 }
   7568 _ACEOF
   7569 if ac_fn_c_try_link "$LINENO"; then :
   7570   lt_cv_ld_exported_symbols_list=yes
   7571 else
   7572   lt_cv_ld_exported_symbols_list=no
   7573 fi
   7574 rm -f core conftest.err conftest.$ac_objext \
   7575     conftest$ac_exeext conftest.$ac_ext
   7576 	LDFLAGS="$save_LDFLAGS"
   7577 
   7578 fi
   7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7580 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7581     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7582 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7583 if ${lt_cv_ld_force_load+:} false; then :
   7584   $as_echo_n "(cached) " >&6
   7585 else
   7586   lt_cv_ld_force_load=no
   7587       cat > conftest.c << _LT_EOF
   7588 int forced_loaded() { return 2;}
   7589 _LT_EOF
   7590       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7591       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7592       echo "$AR cru libconftest.a conftest.o" >&5
   7593       $AR cru libconftest.a conftest.o 2>&5
   7594       cat > conftest.c << _LT_EOF
   7595 int main() { return 0;}
   7596 _LT_EOF
   7597       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7598       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7599       _lt_result=$?
   7600       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7601 	lt_cv_ld_force_load=yes
   7602       else
   7603 	cat conftest.err >&5
   7604       fi
   7605         rm -f conftest.err libconftest.a conftest conftest.c
   7606         rm -rf conftest.dSYM
   7607 
   7608 fi
   7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7610 $as_echo "$lt_cv_ld_force_load" >&6; }
   7611     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   7612     # build without first building modern cctools / linker.
   7613     case $host_cpu-$host_os in
   7614     *-rhapsody* | *-darwin1.[012])
   7615       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7616     *-darwin1.*)
   7617       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7618     *-darwin*)
   7619       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   7620       # deployment target is forced to an earlier version.
   7621       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   7622 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   7623 	  ;;
   7624 	10.[012][,.]*)
   7625 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   7626 	  ;;
   7627 	*)
   7628 	  ;;
   7629      esac
   7630     ;;
   7631   esac
   7632     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7633       _lt_dar_single_mod='$single_module'
   7634     fi
   7635     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7636       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7637     else
   7638       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7639     fi
   7640     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7641       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7642     else
   7643       _lt_dsymutil=
   7644     fi
   7645     ;;
   7646   esac
   7647 
   7648 for ac_header in dlfcn.h
   7649 do :
   7650   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7651 "
   7652 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7653   cat >>confdefs.h <<_ACEOF
   7654 #define HAVE_DLFCN_H 1
   7655 _ACEOF
   7656 
   7657 fi
   7658 
   7659 done
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 # Set options
   7666 
   7667 
   7668 
   7669         enable_dlopen=no
   7670 
   7671 
   7672   enable_win32_dll=no
   7673 
   7674 
   7675             # Check whether --enable-shared was given.
   7676 if test "${enable_shared+set}" = set; then :
   7677   enableval=$enable_shared; p=${PACKAGE-default}
   7678     case $enableval in
   7679     yes) enable_shared=yes ;;
   7680     no) enable_shared=no ;;
   7681     *)
   7682       enable_shared=no
   7683       # Look at the argument we got.  We use all the common list separators.
   7684       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7685       for pkg in $enableval; do
   7686 	IFS="$lt_save_ifs"
   7687 	if test "X$pkg" = "X$p"; then
   7688 	  enable_shared=yes
   7689 	fi
   7690       done
   7691       IFS="$lt_save_ifs"
   7692       ;;
   7693     esac
   7694 else
   7695   enable_shared=yes
   7696 fi
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706   # Check whether --enable-static was given.
   7707 if test "${enable_static+set}" = set; then :
   7708   enableval=$enable_static; p=${PACKAGE-default}
   7709     case $enableval in
   7710     yes) enable_static=yes ;;
   7711     no) enable_static=no ;;
   7712     *)
   7713      enable_static=no
   7714       # Look at the argument we got.  We use all the common list separators.
   7715       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7716       for pkg in $enableval; do
   7717 	IFS="$lt_save_ifs"
   7718 	if test "X$pkg" = "X$p"; then
   7719 	  enable_static=yes
   7720 	fi
   7721       done
   7722       IFS="$lt_save_ifs"
   7723       ;;
   7724     esac
   7725 else
   7726   enable_static=yes
   7727 fi
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 # Check whether --with-pic was given.
   7739 if test "${with_pic+set}" = set; then :
   7740   withval=$with_pic; pic_mode="$withval"
   7741 else
   7742   pic_mode=default
   7743 fi
   7744 
   7745 
   7746 test -z "$pic_mode" && pic_mode=default
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754   # Check whether --enable-fast-install was given.
   7755 if test "${enable_fast_install+set}" = set; then :
   7756   enableval=$enable_fast_install; p=${PACKAGE-default}
   7757     case $enableval in
   7758     yes) enable_fast_install=yes ;;
   7759     no) enable_fast_install=no ;;
   7760     *)
   7761       enable_fast_install=no
   7762       # Look at the argument we got.  We use all the common list separators.
   7763       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7764       for pkg in $enableval; do
   7765 	IFS="$lt_save_ifs"
   7766 	if test "X$pkg" = "X$p"; then
   7767 	  enable_fast_install=yes
   7768 	fi
   7769       done
   7770       IFS="$lt_save_ifs"
   7771       ;;
   7772     esac
   7773 else
   7774   enable_fast_install=yes
   7775 fi
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 # This can be used to rebuild libtool when needed
   7788 LIBTOOL_DEPS="$ltmain"
   7789 
   7790 # Always use our own libtool.
   7791 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 test -z "$LN_S" && LN_S="ln -s"
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 if test -n "${ZSH_VERSION+set}" ; then
   7834    setopt NO_GLOB_SUBST
   7835 fi
   7836 
   7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7838 $as_echo_n "checking for objdir... " >&6; }
   7839 if ${lt_cv_objdir+:} false; then :
   7840   $as_echo_n "(cached) " >&6
   7841 else
   7842   rm -f .libs 2>/dev/null
   7843 mkdir .libs 2>/dev/null
   7844 if test -d .libs; then
   7845   lt_cv_objdir=.libs
   7846 else
   7847   # MS-DOS does not allow filenames that begin with a dot.
   7848   lt_cv_objdir=_libs
   7849 fi
   7850 rmdir .libs 2>/dev/null
   7851 fi
   7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7853 $as_echo "$lt_cv_objdir" >&6; }
   7854 objdir=$lt_cv_objdir
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 cat >>confdefs.h <<_ACEOF
   7861 #define LT_OBJDIR "$lt_cv_objdir/"
   7862 _ACEOF
   7863 
   7864 
   7865 
   7866 
   7867 case $host_os in
   7868 aix3*)
   7869   # AIX sometimes has problems with the GCC collect2 program.  For some
   7870   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7871   # vanish in a puff of smoke.
   7872   if test "X${COLLECT_NAMES+set}" != Xset; then
   7873     COLLECT_NAMES=
   7874     export COLLECT_NAMES
   7875   fi
   7876   ;;
   7877 esac
   7878 
   7879 # Global variables:
   7880 ofile=libtool
   7881 can_build_shared=yes
   7882 
   7883 # All known linkers require a `.a' archive for static linking (except MSVC,
   7884 # which needs '.lib').
   7885 libext=a
   7886 
   7887 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7888 
   7889 old_CC="$CC"
   7890 old_CFLAGS="$CFLAGS"
   7891 
   7892 # Set sane defaults for various variables
   7893 test -z "$CC" && CC=cc
   7894 test -z "$LTCC" && LTCC=$CC
   7895 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7896 test -z "$LD" && LD=ld
   7897 test -z "$ac_objext" && ac_objext=o
   7898 
   7899 for cc_temp in $compiler""; do
   7900   case $cc_temp in
   7901     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7902     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7903     \-*) ;;
   7904     *) break;;
   7905   esac
   7906 done
   7907 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7908 
   7909 
   7910 # Only perform the check for file, if the check method requires it
   7911 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7912 case $deplibs_check_method in
   7913 file_magic*)
   7914   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7915     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7916 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7917 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7918   $as_echo_n "(cached) " >&6
   7919 else
   7920   case $MAGIC_CMD in
   7921 [\\/*] |  ?:[\\/]*)
   7922   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7923   ;;
   7924 *)
   7925   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7926   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7927   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7928   for ac_dir in $ac_dummy; do
   7929     IFS="$lt_save_ifs"
   7930     test -z "$ac_dir" && ac_dir=.
   7931     if test -f $ac_dir/${ac_tool_prefix}file; then
   7932       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7933       if test -n "$file_magic_test_file"; then
   7934 	case $deplibs_check_method in
   7935 	"file_magic "*)
   7936 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7937 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7938 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7939 	    $EGREP "$file_magic_regex" > /dev/null; then
   7940 	    :
   7941 	  else
   7942 	    cat <<_LT_EOF 1>&2
   7943 
   7944 *** Warning: the command libtool uses to detect shared libraries,
   7945 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7946 *** The result is that libtool may fail to recognize shared libraries
   7947 *** as such.  This will affect the creation of libtool libraries that
   7948 *** depend on shared libraries, but programs linked with such libtool
   7949 *** libraries will work regardless of this problem.  Nevertheless, you
   7950 *** may want to report the problem to your system manager and/or to
   7951 *** bug-libtool@gnu.org
   7952 
   7953 _LT_EOF
   7954 	  fi ;;
   7955 	esac
   7956       fi
   7957       break
   7958     fi
   7959   done
   7960   IFS="$lt_save_ifs"
   7961   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7962   ;;
   7963 esac
   7964 fi
   7965 
   7966 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7967 if test -n "$MAGIC_CMD"; then
   7968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7969 $as_echo "$MAGIC_CMD" >&6; }
   7970 else
   7971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7972 $as_echo "no" >&6; }
   7973 fi
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7980   if test -n "$ac_tool_prefix"; then
   7981     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7982 $as_echo_n "checking for file... " >&6; }
   7983 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7984   $as_echo_n "(cached) " >&6
   7985 else
   7986   case $MAGIC_CMD in
   7987 [\\/*] |  ?:[\\/]*)
   7988   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7989   ;;
   7990 *)
   7991   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7992   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7993   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7994   for ac_dir in $ac_dummy; do
   7995     IFS="$lt_save_ifs"
   7996     test -z "$ac_dir" && ac_dir=.
   7997     if test -f $ac_dir/file; then
   7998       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7999       if test -n "$file_magic_test_file"; then
   8000 	case $deplibs_check_method in
   8001 	"file_magic "*)
   8002 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8003 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8004 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8005 	    $EGREP "$file_magic_regex" > /dev/null; then
   8006 	    :
   8007 	  else
   8008 	    cat <<_LT_EOF 1>&2
   8009 
   8010 *** Warning: the command libtool uses to detect shared libraries,
   8011 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8012 *** The result is that libtool may fail to recognize shared libraries
   8013 *** as such.  This will affect the creation of libtool libraries that
   8014 *** depend on shared libraries, but programs linked with such libtool
   8015 *** libraries will work regardless of this problem.  Nevertheless, you
   8016 *** may want to report the problem to your system manager and/or to
   8017 *** bug-libtool@gnu.org
   8018 
   8019 _LT_EOF
   8020 	  fi ;;
   8021 	esac
   8022       fi
   8023       break
   8024     fi
   8025   done
   8026   IFS="$lt_save_ifs"
   8027   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8028   ;;
   8029 esac
   8030 fi
   8031 
   8032 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8033 if test -n "$MAGIC_CMD"; then
   8034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8035 $as_echo "$MAGIC_CMD" >&6; }
   8036 else
   8037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8038 $as_echo "no" >&6; }
   8039 fi
   8040 
   8041 
   8042   else
   8043     MAGIC_CMD=:
   8044   fi
   8045 fi
   8046 
   8047   fi
   8048   ;;
   8049 esac
   8050 
   8051 # Use C for the default configuration in the libtool script
   8052 
   8053 lt_save_CC="$CC"
   8054 ac_ext=c
   8055 ac_cpp='$CPP $CPPFLAGS'
   8056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8059 
   8060 
   8061 # Source file extension for C test sources.
   8062 ac_ext=c
   8063 
   8064 # Object file extension for compiled C test sources.
   8065 objext=o
   8066 objext=$objext
   8067 
   8068 # Code to be used in simple compile tests
   8069 lt_simple_compile_test_code="int some_variable = 0;"
   8070 
   8071 # Code to be used in simple link tests
   8072 lt_simple_link_test_code='int main(){return(0);}'
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 # If no C compiler was specified, use CC.
   8081 LTCC=${LTCC-"$CC"}
   8082 
   8083 # If no C compiler flags were specified, use CFLAGS.
   8084 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8085 
   8086 # Allow CC to be a program name with arguments.
   8087 compiler=$CC
   8088 
   8089 # Save the default compiler, since it gets overwritten when the other
   8090 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8091 compiler_DEFAULT=$CC
   8092 
   8093 # save warnings/boilerplate of simple test code
   8094 ac_outfile=conftest.$ac_objext
   8095 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8096 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8097 _lt_compiler_boilerplate=`cat conftest.err`
   8098 $RM conftest*
   8099 
   8100 ac_outfile=conftest.$ac_objext
   8101 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8102 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8103 _lt_linker_boilerplate=`cat conftest.err`
   8104 $RM -r conftest*
   8105 
   8106 
   8107 ## CAVEAT EMPTOR:
   8108 ## There is no encapsulation within the following macros, do not change
   8109 ## the running order or otherwise move them around unless you know exactly
   8110 ## what you are doing...
   8111 if test -n "$compiler"; then
   8112 
   8113 lt_prog_compiler_no_builtin_flag=
   8114 
   8115 if test "$GCC" = yes; then
   8116   case $cc_basename in
   8117   nvcc*)
   8118     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8119   *)
   8120     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8121   esac
   8122 
   8123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8124 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8125 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8126   $as_echo_n "(cached) " >&6
   8127 else
   8128   lt_cv_prog_compiler_rtti_exceptions=no
   8129    ac_outfile=conftest.$ac_objext
   8130    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8131    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8132    # Insert the option either (1) after the last *FLAGS variable, or
   8133    # (2) before a word containing "conftest.", or (3) at the end.
   8134    # Note that $ac_compile itself does not contain backslashes and begins
   8135    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8136    # The option is referenced via a variable to avoid confusing sed.
   8137    lt_compile=`echo "$ac_compile" | $SED \
   8138    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8139    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8140    -e 's:$: $lt_compiler_flag:'`
   8141    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8142    (eval "$lt_compile" 2>conftest.err)
   8143    ac_status=$?
   8144    cat conftest.err >&5
   8145    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8146    if (exit $ac_status) && test -s "$ac_outfile"; then
   8147      # The compiler can only warn and ignore the option if not recognized
   8148      # So say no if there are warnings other than the usual output.
   8149      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8150      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8151      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8152        lt_cv_prog_compiler_rtti_exceptions=yes
   8153      fi
   8154    fi
   8155    $RM conftest*
   8156 
   8157 fi
   8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8159 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8160 
   8161 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8162     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8163 else
   8164     :
   8165 fi
   8166 
   8167 fi
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174   lt_prog_compiler_wl=
   8175 lt_prog_compiler_pic=
   8176 lt_prog_compiler_static=
   8177 
   8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8179 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8180 
   8181   if test "$GCC" = yes; then
   8182     lt_prog_compiler_wl='-Wl,'
   8183     lt_prog_compiler_static='-static'
   8184 
   8185     case $host_os in
   8186       aix*)
   8187       # All AIX code is PIC.
   8188       if test "$host_cpu" = ia64; then
   8189 	# AIX 5 now supports IA64 processor
   8190 	lt_prog_compiler_static='-Bstatic'
   8191       fi
   8192       lt_prog_compiler_pic='-fPIC'
   8193       ;;
   8194 
   8195     amigaos*)
   8196       case $host_cpu in
   8197       powerpc)
   8198             # see comment about AmigaOS4 .so support
   8199             lt_prog_compiler_pic='-fPIC'
   8200         ;;
   8201       m68k)
   8202             # FIXME: we need at least 68020 code to build shared libraries, but
   8203             # adding the `-m68020' flag to GCC prevents building anything better,
   8204             # like `-m68040'.
   8205             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8206         ;;
   8207       esac
   8208       ;;
   8209 
   8210     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8211       # PIC is the default for these OSes.
   8212       ;;
   8213 
   8214     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8215       # This hack is so that the source file can tell whether it is being
   8216       # built for inclusion in a dll (and should export symbols for example).
   8217       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8218       # (--disable-auto-import) libraries
   8219       lt_prog_compiler_pic='-DDLL_EXPORT'
   8220       ;;
   8221 
   8222     darwin* | rhapsody*)
   8223       # PIC is the default on this platform
   8224       # Common symbols not allowed in MH_DYLIB files
   8225       lt_prog_compiler_pic='-fno-common'
   8226       ;;
   8227 
   8228     haiku*)
   8229       # PIC is the default for Haiku.
   8230       # The "-static" flag exists, but is broken.
   8231       lt_prog_compiler_static=
   8232       ;;
   8233 
   8234     hpux*)
   8235       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8236       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8237       # sets the default TLS model and affects inlining.
   8238       case $host_cpu in
   8239       hppa*64*)
   8240 	# +Z the default
   8241 	;;
   8242       *)
   8243 	lt_prog_compiler_pic='-fPIC'
   8244 	;;
   8245       esac
   8246       ;;
   8247 
   8248     interix[3-9]*)
   8249       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8250       # Instead, we relocate shared libraries at runtime.
   8251       ;;
   8252 
   8253     msdosdjgpp*)
   8254       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8255       # on systems that don't support them.
   8256       lt_prog_compiler_can_build_shared=no
   8257       enable_shared=no
   8258       ;;
   8259 
   8260     *nto* | *qnx*)
   8261       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8262       # it will coredump.
   8263       lt_prog_compiler_pic='-fPIC -shared'
   8264       ;;
   8265 
   8266     sysv4*MP*)
   8267       if test -d /usr/nec; then
   8268 	lt_prog_compiler_pic=-Kconform_pic
   8269       fi
   8270       ;;
   8271 
   8272     *)
   8273       lt_prog_compiler_pic='-fPIC'
   8274       ;;
   8275     esac
   8276 
   8277     case $cc_basename in
   8278     nvcc*) # Cuda Compiler Driver 2.2
   8279       lt_prog_compiler_wl='-Xlinker '
   8280       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8281       ;;
   8282     esac
   8283   else
   8284     # PORTME Check for flag to pass linker flags through the system compiler.
   8285     case $host_os in
   8286     aix*)
   8287       lt_prog_compiler_wl='-Wl,'
   8288       if test "$host_cpu" = ia64; then
   8289 	# AIX 5 now supports IA64 processor
   8290 	lt_prog_compiler_static='-Bstatic'
   8291       else
   8292 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8293       fi
   8294       ;;
   8295 
   8296     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8297       # This hack is so that the source file can tell whether it is being
   8298       # built for inclusion in a dll (and should export symbols for example).
   8299       lt_prog_compiler_pic='-DDLL_EXPORT'
   8300       ;;
   8301 
   8302     hpux9* | hpux10* | hpux11*)
   8303       lt_prog_compiler_wl='-Wl,'
   8304       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8305       # not for PA HP-UX.
   8306       case $host_cpu in
   8307       hppa*64*|ia64*)
   8308 	# +Z the default
   8309 	;;
   8310       *)
   8311 	lt_prog_compiler_pic='+Z'
   8312 	;;
   8313       esac
   8314       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8315       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8316       ;;
   8317 
   8318     irix5* | irix6* | nonstopux*)
   8319       lt_prog_compiler_wl='-Wl,'
   8320       # PIC (with -KPIC) is the default.
   8321       lt_prog_compiler_static='-non_shared'
   8322       ;;
   8323 
   8324     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8325       case $cc_basename in
   8326       # old Intel for x86_64 which still supported -KPIC.
   8327       ecc*)
   8328 	lt_prog_compiler_wl='-Wl,'
   8329 	lt_prog_compiler_pic='-KPIC'
   8330 	lt_prog_compiler_static='-static'
   8331         ;;
   8332       # icc used to be incompatible with GCC.
   8333       # ICC 10 doesn't accept -KPIC any more.
   8334       icc* | ifort*)
   8335 	lt_prog_compiler_wl='-Wl,'
   8336 	lt_prog_compiler_pic='-fPIC'
   8337 	lt_prog_compiler_static='-static'
   8338         ;;
   8339       # Lahey Fortran 8.1.
   8340       lf95*)
   8341 	lt_prog_compiler_wl='-Wl,'
   8342 	lt_prog_compiler_pic='--shared'
   8343 	lt_prog_compiler_static='--static'
   8344 	;;
   8345       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8346         # Portland Group compilers (*not* the Pentium gcc compiler,
   8347 	# which looks to be a dead project)
   8348 	lt_prog_compiler_wl='-Wl,'
   8349 	lt_prog_compiler_pic='-fpic'
   8350 	lt_prog_compiler_static='-Bstatic'
   8351         ;;
   8352       ccc*)
   8353         lt_prog_compiler_wl='-Wl,'
   8354         # All Alpha code is PIC.
   8355         lt_prog_compiler_static='-non_shared'
   8356         ;;
   8357       xl* | bgxl* | bgf* | mpixl*)
   8358 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8359 	lt_prog_compiler_wl='-Wl,'
   8360 	lt_prog_compiler_pic='-qpic'
   8361 	lt_prog_compiler_static='-qstaticlink'
   8362 	;;
   8363       *)
   8364 	case `$CC -V 2>&1 | sed 5q` in
   8365 	*Sun\ F* | *Sun*Fortran*)
   8366 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8367 	  lt_prog_compiler_pic='-KPIC'
   8368 	  lt_prog_compiler_static='-Bstatic'
   8369 	  lt_prog_compiler_wl=''
   8370 	  ;;
   8371 	*Sun\ C*)
   8372 	  # Sun C 5.9
   8373 	  lt_prog_compiler_pic='-KPIC'
   8374 	  lt_prog_compiler_static='-Bstatic'
   8375 	  lt_prog_compiler_wl='-Wl,'
   8376 	  ;;
   8377 	esac
   8378 	;;
   8379       esac
   8380       ;;
   8381 
   8382     newsos6)
   8383       lt_prog_compiler_pic='-KPIC'
   8384       lt_prog_compiler_static='-Bstatic'
   8385       ;;
   8386 
   8387     *nto* | *qnx*)
   8388       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8389       # it will coredump.
   8390       lt_prog_compiler_pic='-fPIC -shared'
   8391       ;;
   8392 
   8393     osf3* | osf4* | osf5*)
   8394       lt_prog_compiler_wl='-Wl,'
   8395       # All OSF/1 code is PIC.
   8396       lt_prog_compiler_static='-non_shared'
   8397       ;;
   8398 
   8399     rdos*)
   8400       lt_prog_compiler_static='-non_shared'
   8401       ;;
   8402 
   8403     solaris*)
   8404       lt_prog_compiler_pic='-KPIC'
   8405       lt_prog_compiler_static='-Bstatic'
   8406       case $cc_basename in
   8407       f77* | f90* | f95*)
   8408 	lt_prog_compiler_wl='-Qoption ld ';;
   8409       *)
   8410 	lt_prog_compiler_wl='-Wl,';;
   8411       esac
   8412       ;;
   8413 
   8414     sunos4*)
   8415       lt_prog_compiler_wl='-Qoption ld '
   8416       lt_prog_compiler_pic='-PIC'
   8417       lt_prog_compiler_static='-Bstatic'
   8418       ;;
   8419 
   8420     sysv4 | sysv4.2uw2* | sysv4.3*)
   8421       lt_prog_compiler_wl='-Wl,'
   8422       lt_prog_compiler_pic='-KPIC'
   8423       lt_prog_compiler_static='-Bstatic'
   8424       ;;
   8425 
   8426     sysv4*MP*)
   8427       if test -d /usr/nec ;then
   8428 	lt_prog_compiler_pic='-Kconform_pic'
   8429 	lt_prog_compiler_static='-Bstatic'
   8430       fi
   8431       ;;
   8432 
   8433     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8434       lt_prog_compiler_wl='-Wl,'
   8435       lt_prog_compiler_pic='-KPIC'
   8436       lt_prog_compiler_static='-Bstatic'
   8437       ;;
   8438 
   8439     unicos*)
   8440       lt_prog_compiler_wl='-Wl,'
   8441       lt_prog_compiler_can_build_shared=no
   8442       ;;
   8443 
   8444     uts4*)
   8445       lt_prog_compiler_pic='-pic'
   8446       lt_prog_compiler_static='-Bstatic'
   8447       ;;
   8448 
   8449     *)
   8450       lt_prog_compiler_can_build_shared=no
   8451       ;;
   8452     esac
   8453   fi
   8454 
   8455 case $host_os in
   8456   # For platforms which do not support PIC, -DPIC is meaningless:
   8457   *djgpp*)
   8458     lt_prog_compiler_pic=
   8459     ;;
   8460   *)
   8461     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8462     ;;
   8463 esac
   8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8465 $as_echo "$lt_prog_compiler_pic" >&6; }
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 #
   8473 # Check to make sure the PIC flag actually works.
   8474 #
   8475 if test -n "$lt_prog_compiler_pic"; then
   8476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8477 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8478 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8479   $as_echo_n "(cached) " >&6
   8480 else
   8481   lt_cv_prog_compiler_pic_works=no
   8482    ac_outfile=conftest.$ac_objext
   8483    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8484    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8485    # Insert the option either (1) after the last *FLAGS variable, or
   8486    # (2) before a word containing "conftest.", or (3) at the end.
   8487    # Note that $ac_compile itself does not contain backslashes and begins
   8488    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8489    # The option is referenced via a variable to avoid confusing sed.
   8490    lt_compile=`echo "$ac_compile" | $SED \
   8491    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8492    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8493    -e 's:$: $lt_compiler_flag:'`
   8494    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8495    (eval "$lt_compile" 2>conftest.err)
   8496    ac_status=$?
   8497    cat conftest.err >&5
   8498    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8499    if (exit $ac_status) && test -s "$ac_outfile"; then
   8500      # The compiler can only warn and ignore the option if not recognized
   8501      # So say no if there are warnings other than the usual output.
   8502      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8503      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8504      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8505        lt_cv_prog_compiler_pic_works=yes
   8506      fi
   8507    fi
   8508    $RM conftest*
   8509 
   8510 fi
   8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8512 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8513 
   8514 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8515     case $lt_prog_compiler_pic in
   8516      "" | " "*) ;;
   8517      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8518      esac
   8519 else
   8520     lt_prog_compiler_pic=
   8521      lt_prog_compiler_can_build_shared=no
   8522 fi
   8523 
   8524 fi
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 #
   8532 # Check to make sure the static flag actually works.
   8533 #
   8534 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8536 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8537 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8538   $as_echo_n "(cached) " >&6
   8539 else
   8540   lt_cv_prog_compiler_static_works=no
   8541    save_LDFLAGS="$LDFLAGS"
   8542    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8543    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8544    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8545      # The linker can only warn and ignore the option if not recognized
   8546      # So say no if there are warnings
   8547      if test -s conftest.err; then
   8548        # Append any errors to the config.log.
   8549        cat conftest.err 1>&5
   8550        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8551        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8552        if diff conftest.exp conftest.er2 >/dev/null; then
   8553          lt_cv_prog_compiler_static_works=yes
   8554        fi
   8555      else
   8556        lt_cv_prog_compiler_static_works=yes
   8557      fi
   8558    fi
   8559    $RM -r conftest*
   8560    LDFLAGS="$save_LDFLAGS"
   8561 
   8562 fi
   8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8564 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8565 
   8566 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8567     :
   8568 else
   8569     lt_prog_compiler_static=
   8570 fi
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8579 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8580 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8581   $as_echo_n "(cached) " >&6
   8582 else
   8583   lt_cv_prog_compiler_c_o=no
   8584    $RM -r conftest 2>/dev/null
   8585    mkdir conftest
   8586    cd conftest
   8587    mkdir out
   8588    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8589 
   8590    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8591    # Insert the option either (1) after the last *FLAGS variable, or
   8592    # (2) before a word containing "conftest.", or (3) at the end.
   8593    # Note that $ac_compile itself does not contain backslashes and begins
   8594    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8595    lt_compile=`echo "$ac_compile" | $SED \
   8596    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8597    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8598    -e 's:$: $lt_compiler_flag:'`
   8599    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8600    (eval "$lt_compile" 2>out/conftest.err)
   8601    ac_status=$?
   8602    cat out/conftest.err >&5
   8603    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8604    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8605    then
   8606      # The compiler can only warn and ignore the option if not recognized
   8607      # So say no if there are warnings
   8608      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8609      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8610      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8611        lt_cv_prog_compiler_c_o=yes
   8612      fi
   8613    fi
   8614    chmod u+w . 2>&5
   8615    $RM conftest*
   8616    # SGI C++ compiler will create directory out/ii_files/ for
   8617    # template instantiation
   8618    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8619    $RM out/* && rmdir out
   8620    cd ..
   8621    $RM -r conftest
   8622    $RM conftest*
   8623 
   8624 fi
   8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8626 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8634 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8635 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8636   $as_echo_n "(cached) " >&6
   8637 else
   8638   lt_cv_prog_compiler_c_o=no
   8639    $RM -r conftest 2>/dev/null
   8640    mkdir conftest
   8641    cd conftest
   8642    mkdir out
   8643    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8644 
   8645    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8646    # Insert the option either (1) after the last *FLAGS variable, or
   8647    # (2) before a word containing "conftest.", or (3) at the end.
   8648    # Note that $ac_compile itself does not contain backslashes and begins
   8649    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8650    lt_compile=`echo "$ac_compile" | $SED \
   8651    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8652    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8653    -e 's:$: $lt_compiler_flag:'`
   8654    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8655    (eval "$lt_compile" 2>out/conftest.err)
   8656    ac_status=$?
   8657    cat out/conftest.err >&5
   8658    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8659    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8660    then
   8661      # The compiler can only warn and ignore the option if not recognized
   8662      # So say no if there are warnings
   8663      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8664      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8665      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8666        lt_cv_prog_compiler_c_o=yes
   8667      fi
   8668    fi
   8669    chmod u+w . 2>&5
   8670    $RM conftest*
   8671    # SGI C++ compiler will create directory out/ii_files/ for
   8672    # template instantiation
   8673    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8674    $RM out/* && rmdir out
   8675    cd ..
   8676    $RM -r conftest
   8677    $RM conftest*
   8678 
   8679 fi
   8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8681 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8682 
   8683 
   8684 
   8685 
   8686 hard_links="nottested"
   8687 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8688   # do not overwrite the value of need_locks provided by the user
   8689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8690 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8691   hard_links=yes
   8692   $RM conftest*
   8693   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8694   touch conftest.a
   8695   ln conftest.a conftest.b 2>&5 || hard_links=no
   8696   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8698 $as_echo "$hard_links" >&6; }
   8699   if test "$hard_links" = no; then
   8700     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8701 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8702     need_locks=warn
   8703   fi
   8704 else
   8705   need_locks=no
   8706 fi
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8714 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8715 
   8716   runpath_var=
   8717   allow_undefined_flag=
   8718   always_export_symbols=no
   8719   archive_cmds=
   8720   archive_expsym_cmds=
   8721   compiler_needs_object=no
   8722   enable_shared_with_static_runtimes=no
   8723   export_dynamic_flag_spec=
   8724   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8725   hardcode_automatic=no
   8726   hardcode_direct=no
   8727   hardcode_direct_absolute=no
   8728   hardcode_libdir_flag_spec=
   8729   hardcode_libdir_flag_spec_ld=
   8730   hardcode_libdir_separator=
   8731   hardcode_minus_L=no
   8732   hardcode_shlibpath_var=unsupported
   8733   inherit_rpath=no
   8734   link_all_deplibs=unknown
   8735   module_cmds=
   8736   module_expsym_cmds=
   8737   old_archive_from_new_cmds=
   8738   old_archive_from_expsyms_cmds=
   8739   thread_safe_flag_spec=
   8740   whole_archive_flag_spec=
   8741   # include_expsyms should be a list of space-separated symbols to be *always*
   8742   # included in the symbol list
   8743   include_expsyms=
   8744   # exclude_expsyms can be an extended regexp of symbols to exclude
   8745   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8746   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8747   # as well as any symbol that contains `d'.
   8748   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8749   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8750   # platforms (ab)use it in PIC code, but their linkers get confused if
   8751   # the symbol is explicitly referenced.  Since portable code cannot
   8752   # rely on this symbol name, it's probably fine to never include it in
   8753   # preloaded symbol tables.
   8754   # Exclude shared library initialization/finalization symbols.
   8755   extract_expsyms_cmds=
   8756 
   8757   case $host_os in
   8758   cygwin* | mingw* | pw32* | cegcc*)
   8759     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8760     # When not using gcc, we currently assume that we are using
   8761     # Microsoft Visual C++.
   8762     if test "$GCC" != yes; then
   8763       with_gnu_ld=no
   8764     fi
   8765     ;;
   8766   interix*)
   8767     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8768     with_gnu_ld=yes
   8769     ;;
   8770   openbsd*)
   8771     with_gnu_ld=no
   8772     ;;
   8773   esac
   8774 
   8775   ld_shlibs=yes
   8776 
   8777   # On some targets, GNU ld is compatible enough with the native linker
   8778   # that we're better off using the native interface for both.
   8779   lt_use_gnu_ld_interface=no
   8780   if test "$with_gnu_ld" = yes; then
   8781     case $host_os in
   8782       aix*)
   8783 	# The AIX port of GNU ld has always aspired to compatibility
   8784 	# with the native linker.  However, as the warning in the GNU ld
   8785 	# block says, versions before 2.19.5* couldn't really create working
   8786 	# shared libraries, regardless of the interface used.
   8787 	case `$LD -v 2>&1` in
   8788 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8789 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8790 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8791 	  *)
   8792 	    lt_use_gnu_ld_interface=yes
   8793 	    ;;
   8794 	esac
   8795 	;;
   8796       *)
   8797 	lt_use_gnu_ld_interface=yes
   8798 	;;
   8799     esac
   8800   fi
   8801 
   8802   if test "$lt_use_gnu_ld_interface" = yes; then
   8803     # If archive_cmds runs LD, not CC, wlarc should be empty
   8804     wlarc='${wl}'
   8805 
   8806     # Set some defaults for GNU ld with shared library support. These
   8807     # are reset later if shared libraries are not supported. Putting them
   8808     # here allows them to be overridden if necessary.
   8809     runpath_var=LD_RUN_PATH
   8810     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8811     export_dynamic_flag_spec='${wl}--export-dynamic'
   8812     # ancient GNU ld didn't support --whole-archive et. al.
   8813     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8814       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8815     else
   8816       whole_archive_flag_spec=
   8817     fi
   8818     supports_anon_versioning=no
   8819     case `$LD -v 2>&1` in
   8820       *GNU\ gold*) supports_anon_versioning=yes ;;
   8821       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8822       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8823       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8824       *\ 2.11.*) ;; # other 2.11 versions
   8825       *) supports_anon_versioning=yes ;;
   8826     esac
   8827 
   8828     # See if GNU ld supports shared libraries.
   8829     case $host_os in
   8830     aix[3-9]*)
   8831       # On AIX/PPC, the GNU linker is very broken
   8832       if test "$host_cpu" != ia64; then
   8833 	ld_shlibs=no
   8834 	cat <<_LT_EOF 1>&2
   8835 
   8836 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8837 *** to be unable to reliably create shared libraries on AIX.
   8838 *** Therefore, libtool is disabling shared libraries support.  If you
   8839 *** really care for shared libraries, you may want to install binutils
   8840 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8841 *** You will then need to restart the configuration process.
   8842 
   8843 _LT_EOF
   8844       fi
   8845       ;;
   8846 
   8847     amigaos*)
   8848       case $host_cpu in
   8849       powerpc)
   8850             # see comment about AmigaOS4 .so support
   8851             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8852             archive_expsym_cmds=''
   8853         ;;
   8854       m68k)
   8855             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)'
   8856             hardcode_libdir_flag_spec='-L$libdir'
   8857             hardcode_minus_L=yes
   8858         ;;
   8859       esac
   8860       ;;
   8861 
   8862     beos*)
   8863       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8864 	allow_undefined_flag=unsupported
   8865 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8866 	# support --undefined.  This deserves some investigation.  FIXME
   8867 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8868       else
   8869 	ld_shlibs=no
   8870       fi
   8871       ;;
   8872 
   8873     cygwin* | mingw* | pw32* | cegcc*)
   8874       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8875       # as there is no search path for DLLs.
   8876       hardcode_libdir_flag_spec='-L$libdir'
   8877       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8878       allow_undefined_flag=unsupported
   8879       always_export_symbols=no
   8880       enable_shared_with_static_runtimes=yes
   8881       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8882 
   8883       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8884         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8885 	# If the export-symbols file already is a .def file (1st line
   8886 	# is EXPORTS), use it as is; otherwise, prepend...
   8887 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8888 	  cp $export_symbols $output_objdir/$soname.def;
   8889 	else
   8890 	  echo EXPORTS > $output_objdir/$soname.def;
   8891 	  cat $export_symbols >> $output_objdir/$soname.def;
   8892 	fi~
   8893 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8894       else
   8895 	ld_shlibs=no
   8896       fi
   8897       ;;
   8898 
   8899     haiku*)
   8900       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8901       link_all_deplibs=yes
   8902       ;;
   8903 
   8904     interix[3-9]*)
   8905       hardcode_direct=no
   8906       hardcode_shlibpath_var=no
   8907       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8908       export_dynamic_flag_spec='${wl}-E'
   8909       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8910       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8911       # default) and relocated if they conflict, which is a slow very memory
   8912       # consuming and fragmenting process.  To avoid this, we pick a random,
   8913       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8914       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8915       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8916       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'
   8917       ;;
   8918 
   8919     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   8920       tmp_diet=no
   8921       if test "$host_os" = linux-dietlibc; then
   8922 	case $cc_basename in
   8923 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8924 	esac
   8925       fi
   8926       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8927 	 && test "$tmp_diet" = no
   8928       then
   8929 	tmp_addflag=' $pic_flag'
   8930 	tmp_sharedflag='-shared'
   8931 	case $cc_basename,$host_cpu in
   8932         pgcc*)				# Portland Group C compiler
   8933 	  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'
   8934 	  tmp_addflag=' $pic_flag'
   8935 	  ;;
   8936 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8937 					# Portland Group f77 and f90 compilers
   8938 	  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'
   8939 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8940 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8941 	  tmp_addflag=' -i_dynamic' ;;
   8942 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8943 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8944 	ifc* | ifort*)			# Intel Fortran compiler
   8945 	  tmp_addflag=' -nofor_main' ;;
   8946 	lf95*)				# Lahey Fortran 8.1
   8947 	  whole_archive_flag_spec=
   8948 	  tmp_sharedflag='--shared' ;;
   8949 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8950 	  tmp_sharedflag='-qmkshrobj'
   8951 	  tmp_addflag= ;;
   8952 	nvcc*)	# Cuda Compiler Driver 2.2
   8953 	  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'
   8954 	  compiler_needs_object=yes
   8955 	  ;;
   8956 	esac
   8957 	case `$CC -V 2>&1 | sed 5q` in
   8958 	*Sun\ C*)			# Sun C 5.9
   8959 	  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'
   8960 	  compiler_needs_object=yes
   8961 	  tmp_sharedflag='-G' ;;
   8962 	*Sun\ F*)			# Sun Fortran 8.3
   8963 	  tmp_sharedflag='-G' ;;
   8964 	esac
   8965 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8966 
   8967         if test "x$supports_anon_versioning" = xyes; then
   8968           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8969 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8970 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8971 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8972         fi
   8973 
   8974 	case $cc_basename in
   8975 	xlf* | bgf* | bgxlf* | mpixlf*)
   8976 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8977 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8978 	  hardcode_libdir_flag_spec=
   8979 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8980 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8981 	  if test "x$supports_anon_versioning" = xyes; then
   8982 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8983 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8984 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8985 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8986 	  fi
   8987 	  ;;
   8988 	esac
   8989       else
   8990         ld_shlibs=no
   8991       fi
   8992       ;;
   8993 
   8994     netbsd*)
   8995       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8996 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8997 	wlarc=
   8998       else
   8999 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9000 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9001       fi
   9002       ;;
   9003 
   9004     solaris*)
   9005       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9006 	ld_shlibs=no
   9007 	cat <<_LT_EOF 1>&2
   9008 
   9009 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9010 *** create shared libraries on Solaris systems.  Therefore, libtool
   9011 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9012 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9013 *** your PATH or compiler configuration so that the native linker is
   9014 *** used, and then restart.
   9015 
   9016 _LT_EOF
   9017       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9018 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9019 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9020       else
   9021 	ld_shlibs=no
   9022       fi
   9023       ;;
   9024 
   9025     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9026       case `$LD -v 2>&1` in
   9027         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9028 	ld_shlibs=no
   9029 	cat <<_LT_EOF 1>&2
   9030 
   9031 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9032 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9033 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9034 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9035 *** your PATH or compiler configuration so that the native linker is
   9036 *** used, and then restart.
   9037 
   9038 _LT_EOF
   9039 	;;
   9040 	*)
   9041 	  # For security reasons, it is highly recommended that you always
   9042 	  # use absolute paths for naming shared libraries, and exclude the
   9043 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9044 	  # requires that you compile everything twice, which is a pain.
   9045 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9046 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9047 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9048 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9049 	  else
   9050 	    ld_shlibs=no
   9051 	  fi
   9052 	;;
   9053       esac
   9054       ;;
   9055 
   9056     sunos4*)
   9057       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9058       wlarc=
   9059       hardcode_direct=yes
   9060       hardcode_shlibpath_var=no
   9061       ;;
   9062 
   9063     *)
   9064       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9065 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9066 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9067       else
   9068 	ld_shlibs=no
   9069       fi
   9070       ;;
   9071     esac
   9072 
   9073     if test "$ld_shlibs" = no; then
   9074       runpath_var=
   9075       hardcode_libdir_flag_spec=
   9076       export_dynamic_flag_spec=
   9077       whole_archive_flag_spec=
   9078     fi
   9079   else
   9080     # PORTME fill in a description of your system's linker (not GNU ld)
   9081     case $host_os in
   9082     aix3*)
   9083       allow_undefined_flag=unsupported
   9084       always_export_symbols=yes
   9085       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'
   9086       # Note: this linker hardcodes the directories in LIBPATH if there
   9087       # are no directories specified by -L.
   9088       hardcode_minus_L=yes
   9089       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9090 	# Neither direct hardcoding nor static linking is supported with a
   9091 	# broken collect2.
   9092 	hardcode_direct=unsupported
   9093       fi
   9094       ;;
   9095 
   9096     aix[4-9]*)
   9097       if test "$host_cpu" = ia64; then
   9098 	# On IA64, the linker does run time linking by default, so we don't
   9099 	# have to do anything special.
   9100 	aix_use_runtimelinking=no
   9101 	exp_sym_flag='-Bexport'
   9102 	no_entry_flag=""
   9103       else
   9104 	# If we're using GNU nm, then we don't want the "-C" option.
   9105 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9106 	# Also, AIX nm treats weak defined symbols like other global
   9107 	# defined symbols, whereas GNU nm marks them as "W".
   9108 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9109 	  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'
   9110 	else
   9111 	  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'
   9112 	fi
   9113 	aix_use_runtimelinking=no
   9114 
   9115 	# Test if we are trying to use run time linking or normal
   9116 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9117 	# need to do runtime linking.
   9118 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9119 	  for ld_flag in $LDFLAGS; do
   9120 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9121 	    aix_use_runtimelinking=yes
   9122 	    break
   9123 	  fi
   9124 	  done
   9125 	  ;;
   9126 	esac
   9127 
   9128 	exp_sym_flag='-bexport'
   9129 	no_entry_flag='-bnoentry'
   9130       fi
   9131 
   9132       # When large executables or shared objects are built, AIX ld can
   9133       # have problems creating the table of contents.  If linking a library
   9134       # or program results in "error TOC overflow" add -mminimal-toc to
   9135       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9136       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9137 
   9138       archive_cmds=''
   9139       hardcode_direct=yes
   9140       hardcode_direct_absolute=yes
   9141       hardcode_libdir_separator=':'
   9142       link_all_deplibs=yes
   9143       file_list_spec='${wl}-f,'
   9144 
   9145       if test "$GCC" = yes; then
   9146 	case $host_os in aix4.[012]|aix4.[012].*)
   9147 	# We only want to do this on AIX 4.2 and lower, the check
   9148 	# below for broken collect2 doesn't work under 4.3+
   9149 	  collect2name=`${CC} -print-prog-name=collect2`
   9150 	  if test -f "$collect2name" &&
   9151 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9152 	  then
   9153 	  # We have reworked collect2
   9154 	  :
   9155 	  else
   9156 	  # We have old collect2
   9157 	  hardcode_direct=unsupported
   9158 	  # It fails to find uninstalled libraries when the uninstalled
   9159 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9160 	  # to unsupported forces relinking
   9161 	  hardcode_minus_L=yes
   9162 	  hardcode_libdir_flag_spec='-L$libdir'
   9163 	  hardcode_libdir_separator=
   9164 	  fi
   9165 	  ;;
   9166 	esac
   9167 	shared_flag='-shared'
   9168 	if test "$aix_use_runtimelinking" = yes; then
   9169 	  shared_flag="$shared_flag "'${wl}-G'
   9170 	fi
   9171       else
   9172 	# not using gcc
   9173 	if test "$host_cpu" = ia64; then
   9174 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9175 	# chokes on -Wl,-G. The following line is correct:
   9176 	  shared_flag='-G'
   9177 	else
   9178 	  if test "$aix_use_runtimelinking" = yes; then
   9179 	    shared_flag='${wl}-G'
   9180 	  else
   9181 	    shared_flag='${wl}-bM:SRE'
   9182 	  fi
   9183 	fi
   9184       fi
   9185 
   9186       export_dynamic_flag_spec='${wl}-bexpall'
   9187       # It seems that -bexpall does not export symbols beginning with
   9188       # underscore (_), so it is better to generate a list of symbols to export.
   9189       always_export_symbols=yes
   9190       if test "$aix_use_runtimelinking" = yes; then
   9191 	# Warning - without using the other runtime loading flags (-brtl),
   9192 	# -berok will link without error, but may produce a broken library.
   9193 	allow_undefined_flag='-berok'
   9194         # Determine the default libpath from the value encoded in an
   9195         # empty executable.
   9196         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9197 /* end confdefs.h.  */
   9198 
   9199 int
   9200 main ()
   9201 {
   9202 
   9203   ;
   9204   return 0;
   9205 }
   9206 _ACEOF
   9207 if ac_fn_c_try_link "$LINENO"; then :
   9208 
   9209 lt_aix_libpath_sed='
   9210     /Import File Strings/,/^$/ {
   9211 	/^0/ {
   9212 	    s/^0  *\(.*\)$/\1/
   9213 	    p
   9214 	}
   9215     }'
   9216 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9217 # Check for a 64-bit object if we didn't find anything.
   9218 if test -z "$aix_libpath"; then
   9219   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9220 fi
   9221 fi
   9222 rm -f core conftest.err conftest.$ac_objext \
   9223     conftest$ac_exeext conftest.$ac_ext
   9224 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9225 
   9226         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9227         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"
   9228       else
   9229 	if test "$host_cpu" = ia64; then
   9230 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9231 	  allow_undefined_flag="-z nodefs"
   9232 	  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"
   9233 	else
   9234 	 # Determine the default libpath from the value encoded in an
   9235 	 # empty executable.
   9236 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9237 /* end confdefs.h.  */
   9238 
   9239 int
   9240 main ()
   9241 {
   9242 
   9243   ;
   9244   return 0;
   9245 }
   9246 _ACEOF
   9247 if ac_fn_c_try_link "$LINENO"; then :
   9248 
   9249 lt_aix_libpath_sed='
   9250     /Import File Strings/,/^$/ {
   9251 	/^0/ {
   9252 	    s/^0  *\(.*\)$/\1/
   9253 	    p
   9254 	}
   9255     }'
   9256 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9257 # Check for a 64-bit object if we didn't find anything.
   9258 if test -z "$aix_libpath"; then
   9259   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9260 fi
   9261 fi
   9262 rm -f core conftest.err conftest.$ac_objext \
   9263     conftest$ac_exeext conftest.$ac_ext
   9264 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9265 
   9266 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9267 	  # Warning - without using the other run time loading flags,
   9268 	  # -berok will link without error, but may produce a broken library.
   9269 	  no_undefined_flag=' ${wl}-bernotok'
   9270 	  allow_undefined_flag=' ${wl}-berok'
   9271 	  if test "$with_gnu_ld" = yes; then
   9272 	    # We only use this code for GNU lds that support --whole-archive.
   9273 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9274 	  else
   9275 	    # Exported symbols can be pulled into shared objects from archives
   9276 	    whole_archive_flag_spec='$convenience'
   9277 	  fi
   9278 	  archive_cmds_need_lc=yes
   9279 	  # This is similar to how AIX traditionally builds its shared libraries.
   9280 	  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'
   9281 	fi
   9282       fi
   9283       ;;
   9284 
   9285     amigaos*)
   9286       case $host_cpu in
   9287       powerpc)
   9288             # see comment about AmigaOS4 .so support
   9289             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9290             archive_expsym_cmds=''
   9291         ;;
   9292       m68k)
   9293             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)'
   9294             hardcode_libdir_flag_spec='-L$libdir'
   9295             hardcode_minus_L=yes
   9296         ;;
   9297       esac
   9298       ;;
   9299 
   9300     bsdi[45]*)
   9301       export_dynamic_flag_spec=-rdynamic
   9302       ;;
   9303 
   9304     cygwin* | mingw* | pw32* | cegcc*)
   9305       # When not using gcc, we currently assume that we are using
   9306       # Microsoft Visual C++.
   9307       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9308       # no search path for DLLs.
   9309       hardcode_libdir_flag_spec=' '
   9310       allow_undefined_flag=unsupported
   9311       # Tell ltmain to make .lib files, not .a files.
   9312       libext=lib
   9313       # Tell ltmain to make .dll files, not .so files.
   9314       shrext_cmds=".dll"
   9315       # FIXME: Setting linknames here is a bad hack.
   9316       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9317       # The linker will automatically build a .lib file if we build a DLL.
   9318       old_archive_from_new_cmds='true'
   9319       # FIXME: Should let the user specify the lib program.
   9320       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9321       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9322       enable_shared_with_static_runtimes=yes
   9323       ;;
   9324 
   9325     darwin* | rhapsody*)
   9326 
   9327 
   9328   archive_cmds_need_lc=no
   9329   hardcode_direct=no
   9330   hardcode_automatic=yes
   9331   hardcode_shlibpath_var=unsupported
   9332   if test "$lt_cv_ld_force_load" = "yes"; then
   9333     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\"`'
   9334   else
   9335     whole_archive_flag_spec=''
   9336   fi
   9337   link_all_deplibs=yes
   9338   allow_undefined_flag="$_lt_dar_allow_undefined"
   9339   case $cc_basename in
   9340      ifort*) _lt_dar_can_shared=yes ;;
   9341      *) _lt_dar_can_shared=$GCC ;;
   9342   esac
   9343   if test "$_lt_dar_can_shared" = "yes"; then
   9344     output_verbose_link_cmd=func_echo_all
   9345     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9346     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9347     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}"
   9348     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}"
   9349 
   9350   else
   9351   ld_shlibs=no
   9352   fi
   9353 
   9354       ;;
   9355 
   9356     dgux*)
   9357       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9358       hardcode_libdir_flag_spec='-L$libdir'
   9359       hardcode_shlibpath_var=no
   9360       ;;
   9361 
   9362     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9363     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9364     # does not break anything, and helps significantly (at the cost of a little
   9365     # extra space).
   9366     freebsd2.2*)
   9367       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9368       hardcode_libdir_flag_spec='-R$libdir'
   9369       hardcode_direct=yes
   9370       hardcode_shlibpath_var=no
   9371       ;;
   9372 
   9373     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9374     freebsd2.*)
   9375       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9376       hardcode_direct=yes
   9377       hardcode_minus_L=yes
   9378       hardcode_shlibpath_var=no
   9379       ;;
   9380 
   9381     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9382     freebsd* | dragonfly*)
   9383       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9384       hardcode_libdir_flag_spec='-R$libdir'
   9385       hardcode_direct=yes
   9386       hardcode_shlibpath_var=no
   9387       ;;
   9388 
   9389     hpux9*)
   9390       if test "$GCC" = yes; then
   9391 	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'
   9392       else
   9393 	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'
   9394       fi
   9395       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9396       hardcode_libdir_separator=:
   9397       hardcode_direct=yes
   9398 
   9399       # hardcode_minus_L: Not really in the search PATH,
   9400       # but as the default location of the library.
   9401       hardcode_minus_L=yes
   9402       export_dynamic_flag_spec='${wl}-E'
   9403       ;;
   9404 
   9405     hpux10*)
   9406       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9407 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9408       else
   9409 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9410       fi
   9411       if test "$with_gnu_ld" = no; then
   9412 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9413 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9414 	hardcode_libdir_separator=:
   9415 	hardcode_direct=yes
   9416 	hardcode_direct_absolute=yes
   9417 	export_dynamic_flag_spec='${wl}-E'
   9418 	# hardcode_minus_L: Not really in the search PATH,
   9419 	# but as the default location of the library.
   9420 	hardcode_minus_L=yes
   9421       fi
   9422       ;;
   9423 
   9424     hpux11*)
   9425       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9426 	case $host_cpu in
   9427 	hppa*64*)
   9428 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9429 	  ;;
   9430 	ia64*)
   9431 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9432 	  ;;
   9433 	*)
   9434 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9435 	  ;;
   9436 	esac
   9437       else
   9438 	case $host_cpu in
   9439 	hppa*64*)
   9440 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9441 	  ;;
   9442 	ia64*)
   9443 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9444 	  ;;
   9445 	*)
   9446 
   9447 	  # Older versions of the 11.00 compiler do not understand -b yet
   9448 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9449 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9450 $as_echo_n "checking if $CC understands -b... " >&6; }
   9451 if ${lt_cv_prog_compiler__b+:} false; then :
   9452   $as_echo_n "(cached) " >&6
   9453 else
   9454   lt_cv_prog_compiler__b=no
   9455    save_LDFLAGS="$LDFLAGS"
   9456    LDFLAGS="$LDFLAGS -b"
   9457    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9458    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9459      # The linker can only warn and ignore the option if not recognized
   9460      # So say no if there are warnings
   9461      if test -s conftest.err; then
   9462        # Append any errors to the config.log.
   9463        cat conftest.err 1>&5
   9464        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9465        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9466        if diff conftest.exp conftest.er2 >/dev/null; then
   9467          lt_cv_prog_compiler__b=yes
   9468        fi
   9469      else
   9470        lt_cv_prog_compiler__b=yes
   9471      fi
   9472    fi
   9473    $RM -r conftest*
   9474    LDFLAGS="$save_LDFLAGS"
   9475 
   9476 fi
   9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9478 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9479 
   9480 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9481     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9482 else
   9483     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9484 fi
   9485 
   9486 	  ;;
   9487 	esac
   9488       fi
   9489       if test "$with_gnu_ld" = no; then
   9490 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9491 	hardcode_libdir_separator=:
   9492 
   9493 	case $host_cpu in
   9494 	hppa*64*|ia64*)
   9495 	  hardcode_direct=no
   9496 	  hardcode_shlibpath_var=no
   9497 	  ;;
   9498 	*)
   9499 	  hardcode_direct=yes
   9500 	  hardcode_direct_absolute=yes
   9501 	  export_dynamic_flag_spec='${wl}-E'
   9502 
   9503 	  # hardcode_minus_L: Not really in the search PATH,
   9504 	  # but as the default location of the library.
   9505 	  hardcode_minus_L=yes
   9506 	  ;;
   9507 	esac
   9508       fi
   9509       ;;
   9510 
   9511     irix5* | irix6* | nonstopux*)
   9512       if test "$GCC" = yes; then
   9513 	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'
   9514 	# Try to use the -exported_symbol ld option, if it does not
   9515 	# work, assume that -exports_file does not work either and
   9516 	# implicitly export all symbols.
   9517         save_LDFLAGS="$LDFLAGS"
   9518         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9519         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9520 /* end confdefs.h.  */
   9521 int foo(void) {}
   9522 _ACEOF
   9523 if ac_fn_c_try_link "$LINENO"; then :
   9524   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'
   9525 
   9526 fi
   9527 rm -f core conftest.err conftest.$ac_objext \
   9528     conftest$ac_exeext conftest.$ac_ext
   9529         LDFLAGS="$save_LDFLAGS"
   9530       else
   9531 	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'
   9532 	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'
   9533       fi
   9534       archive_cmds_need_lc='no'
   9535       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9536       hardcode_libdir_separator=:
   9537       inherit_rpath=yes
   9538       link_all_deplibs=yes
   9539       ;;
   9540 
   9541     netbsd*)
   9542       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9543 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9544       else
   9545 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9546       fi
   9547       hardcode_libdir_flag_spec='-R$libdir'
   9548       hardcode_direct=yes
   9549       hardcode_shlibpath_var=no
   9550       ;;
   9551 
   9552     newsos6)
   9553       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9554       hardcode_direct=yes
   9555       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9556       hardcode_libdir_separator=:
   9557       hardcode_shlibpath_var=no
   9558       ;;
   9559 
   9560     *nto* | *qnx*)
   9561       ;;
   9562 
   9563     openbsd*)
   9564       if test -f /usr/libexec/ld.so; then
   9565 	hardcode_direct=yes
   9566 	hardcode_shlibpath_var=no
   9567 	hardcode_direct_absolute=yes
   9568 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9569 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9570 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9571 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9572 	  export_dynamic_flag_spec='${wl}-E'
   9573 	else
   9574 	  case $host_os in
   9575 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9576 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9577 	     hardcode_libdir_flag_spec='-R$libdir'
   9578 	     ;;
   9579 	   *)
   9580 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9581 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9582 	     ;;
   9583 	  esac
   9584 	fi
   9585       else
   9586 	ld_shlibs=no
   9587       fi
   9588       ;;
   9589 
   9590     os2*)
   9591       hardcode_libdir_flag_spec='-L$libdir'
   9592       hardcode_minus_L=yes
   9593       allow_undefined_flag=unsupported
   9594       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'
   9595       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9596       ;;
   9597 
   9598     osf3*)
   9599       if test "$GCC" = yes; then
   9600 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9601 	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'
   9602       else
   9603 	allow_undefined_flag=' -expect_unresolved \*'
   9604 	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'
   9605       fi
   9606       archive_cmds_need_lc='no'
   9607       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9608       hardcode_libdir_separator=:
   9609       ;;
   9610 
   9611     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9612       if test "$GCC" = yes; then
   9613 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9614 	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'
   9615 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9616       else
   9617 	allow_undefined_flag=' -expect_unresolved \*'
   9618 	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'
   9619 	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~
   9620 	$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'
   9621 
   9622 	# Both c and cxx compiler support -rpath directly
   9623 	hardcode_libdir_flag_spec='-rpath $libdir'
   9624       fi
   9625       archive_cmds_need_lc='no'
   9626       hardcode_libdir_separator=:
   9627       ;;
   9628 
   9629     solaris*)
   9630       no_undefined_flag=' -z defs'
   9631       if test "$GCC" = yes; then
   9632 	wlarc='${wl}'
   9633 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9634 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9635 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9636       else
   9637 	case `$CC -V 2>&1` in
   9638 	*"Compilers 5.0"*)
   9639 	  wlarc=''
   9640 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9641 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9642 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9643 	  ;;
   9644 	*)
   9645 	  wlarc='${wl}'
   9646 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9647 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9648 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9649 	  ;;
   9650 	esac
   9651       fi
   9652       hardcode_libdir_flag_spec='-R$libdir'
   9653       hardcode_shlibpath_var=no
   9654       case $host_os in
   9655       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9656       *)
   9657 	# The compiler driver will combine and reorder linker options,
   9658 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9659 	# but is careful enough not to reorder.
   9660 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9661 	if test "$GCC" = yes; then
   9662 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9663 	else
   9664 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9665 	fi
   9666 	;;
   9667       esac
   9668       link_all_deplibs=yes
   9669       ;;
   9670 
   9671     sunos4*)
   9672       if test "x$host_vendor" = xsequent; then
   9673 	# Use $CC to link under sequent, because it throws in some extra .o
   9674 	# files that make .init and .fini sections work.
   9675 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9676       else
   9677 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9678       fi
   9679       hardcode_libdir_flag_spec='-L$libdir'
   9680       hardcode_direct=yes
   9681       hardcode_minus_L=yes
   9682       hardcode_shlibpath_var=no
   9683       ;;
   9684 
   9685     sysv4)
   9686       case $host_vendor in
   9687 	sni)
   9688 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9689 	  hardcode_direct=yes # is this really true???
   9690 	;;
   9691 	siemens)
   9692 	  ## LD is ld it makes a PLAMLIB
   9693 	  ## CC just makes a GrossModule.
   9694 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9695 	  reload_cmds='$CC -r -o $output$reload_objs'
   9696 	  hardcode_direct=no
   9697         ;;
   9698 	motorola)
   9699 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9700 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9701 	;;
   9702       esac
   9703       runpath_var='LD_RUN_PATH'
   9704       hardcode_shlibpath_var=no
   9705       ;;
   9706 
   9707     sysv4.3*)
   9708       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9709       hardcode_shlibpath_var=no
   9710       export_dynamic_flag_spec='-Bexport'
   9711       ;;
   9712 
   9713     sysv4*MP*)
   9714       if test -d /usr/nec; then
   9715 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9716 	hardcode_shlibpath_var=no
   9717 	runpath_var=LD_RUN_PATH
   9718 	hardcode_runpath_var=yes
   9719 	ld_shlibs=yes
   9720       fi
   9721       ;;
   9722 
   9723     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9724       no_undefined_flag='${wl}-z,text'
   9725       archive_cmds_need_lc=no
   9726       hardcode_shlibpath_var=no
   9727       runpath_var='LD_RUN_PATH'
   9728 
   9729       if test "$GCC" = yes; then
   9730 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9731 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9732       else
   9733 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9734 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9735       fi
   9736       ;;
   9737 
   9738     sysv5* | sco3.2v5* | sco5v6*)
   9739       # Note: We can NOT use -z defs as we might desire, because we do not
   9740       # link with -lc, and that would cause any symbols used from libc to
   9741       # always be unresolved, which means just about no library would
   9742       # ever link correctly.  If we're not using GNU ld we use -z text
   9743       # though, which does catch some bad symbols but isn't as heavy-handed
   9744       # as -z defs.
   9745       no_undefined_flag='${wl}-z,text'
   9746       allow_undefined_flag='${wl}-z,nodefs'
   9747       archive_cmds_need_lc=no
   9748       hardcode_shlibpath_var=no
   9749       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9750       hardcode_libdir_separator=':'
   9751       link_all_deplibs=yes
   9752       export_dynamic_flag_spec='${wl}-Bexport'
   9753       runpath_var='LD_RUN_PATH'
   9754 
   9755       if test "$GCC" = yes; then
   9756 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9757 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9758       else
   9759 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9760 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9761       fi
   9762       ;;
   9763 
   9764     uts4*)
   9765       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9766       hardcode_libdir_flag_spec='-L$libdir'
   9767       hardcode_shlibpath_var=no
   9768       ;;
   9769 
   9770     *)
   9771       ld_shlibs=no
   9772       ;;
   9773     esac
   9774 
   9775     if test x$host_vendor = xsni; then
   9776       case $host in
   9777       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9778 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9779 	;;
   9780       esac
   9781     fi
   9782   fi
   9783 
   9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9785 $as_echo "$ld_shlibs" >&6; }
   9786 test "$ld_shlibs" = no && can_build_shared=no
   9787 
   9788 with_gnu_ld=$with_gnu_ld
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 #
   9805 # Do we need to explicitly link libc?
   9806 #
   9807 case "x$archive_cmds_need_lc" in
   9808 x|xyes)
   9809   # Assume -lc should be added
   9810   archive_cmds_need_lc=yes
   9811 
   9812   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9813     case $archive_cmds in
   9814     *'~'*)
   9815       # FIXME: we may have to deal with multi-command sequences.
   9816       ;;
   9817     '$CC '*)
   9818       # Test whether the compiler implicitly links with -lc since on some
   9819       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9820       # to ld, don't add -lc before -lgcc.
   9821       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9822 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9823 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9824   $as_echo_n "(cached) " >&6
   9825 else
   9826   $RM conftest*
   9827 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9828 
   9829 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9830   (eval $ac_compile) 2>&5
   9831   ac_status=$?
   9832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9833   test $ac_status = 0; } 2>conftest.err; then
   9834 	  soname=conftest
   9835 	  lib=conftest
   9836 	  libobjs=conftest.$ac_objext
   9837 	  deplibs=
   9838 	  wl=$lt_prog_compiler_wl
   9839 	  pic_flag=$lt_prog_compiler_pic
   9840 	  compiler_flags=-v
   9841 	  linker_flags=-v
   9842 	  verstring=
   9843 	  output_objdir=.
   9844 	  libname=conftest
   9845 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9846 	  allow_undefined_flag=
   9847 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9848   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9849   ac_status=$?
   9850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9851   test $ac_status = 0; }
   9852 	  then
   9853 	    lt_cv_archive_cmds_need_lc=no
   9854 	  else
   9855 	    lt_cv_archive_cmds_need_lc=yes
   9856 	  fi
   9857 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9858 	else
   9859 	  cat conftest.err 1>&5
   9860 	fi
   9861 	$RM conftest*
   9862 
   9863 fi
   9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9865 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9866       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9867       ;;
   9868     esac
   9869   fi
   9870   ;;
   9871 esac
   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 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10030 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10031 
   10032 if test "$GCC" = yes; then
   10033   case $host_os in
   10034     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10035     *) lt_awk_arg="/^libraries:/" ;;
   10036   esac
   10037   case $host_os in
   10038     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10039     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10040   esac
   10041   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10042   case $lt_search_path_spec in
   10043   *\;*)
   10044     # if the path contains ";" then we assume it to be the separator
   10045     # otherwise default to the standard path separator (i.e. ":") - it is
   10046     # assumed that no part of a normal pathname contains ";" but that should
   10047     # okay in the real world where ";" in dirpaths is itself problematic.
   10048     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10049     ;;
   10050   *)
   10051     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10052     ;;
   10053   esac
   10054   # Ok, now we have the path, separated by spaces, we can step through it
   10055   # and add multilib dir if necessary.
   10056   lt_tmp_lt_search_path_spec=
   10057   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10058   for lt_sys_path in $lt_search_path_spec; do
   10059     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10060       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10061     else
   10062       test -d "$lt_sys_path" && \
   10063 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10064     fi
   10065   done
   10066   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10067 BEGIN {RS=" "; FS="/|\n";} {
   10068   lt_foo="";
   10069   lt_count=0;
   10070   for (lt_i = NF; lt_i > 0; lt_i--) {
   10071     if ($lt_i != "" && $lt_i != ".") {
   10072       if ($lt_i == "..") {
   10073         lt_count++;
   10074       } else {
   10075         if (lt_count == 0) {
   10076           lt_foo="/" $lt_i lt_foo;
   10077         } else {
   10078           lt_count--;
   10079         }
   10080       }
   10081     }
   10082   }
   10083   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10084   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10085 }'`
   10086   # AWK program above erroneously prepends '/' to C:/dos/paths
   10087   # for these hosts.
   10088   case $host_os in
   10089     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10090       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10091   esac
   10092   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10093 else
   10094   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10095 fi
   10096 library_names_spec=
   10097 libname_spec='lib$name'
   10098 soname_spec=
   10099 shrext_cmds=".so"
   10100 postinstall_cmds=
   10101 postuninstall_cmds=
   10102 finish_cmds=
   10103 finish_eval=
   10104 shlibpath_var=
   10105 shlibpath_overrides_runpath=unknown
   10106 version_type=none
   10107 dynamic_linker="$host_os ld.so"
   10108 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10109 need_lib_prefix=unknown
   10110 hardcode_into_libs=no
   10111 
   10112 # when you set need_version to no, make sure it does not cause -set_version
   10113 # flags to be left without arguments
   10114 need_version=unknown
   10115 
   10116 case $host_os in
   10117 aix3*)
   10118   version_type=linux
   10119   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10120   shlibpath_var=LIBPATH
   10121 
   10122   # AIX 3 has no versioning support, so we append a major version to the name.
   10123   soname_spec='${libname}${release}${shared_ext}$major'
   10124   ;;
   10125 
   10126 aix[4-9]*)
   10127   version_type=linux
   10128   need_lib_prefix=no
   10129   need_version=no
   10130   hardcode_into_libs=yes
   10131   if test "$host_cpu" = ia64; then
   10132     # AIX 5 supports IA64
   10133     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10134     shlibpath_var=LD_LIBRARY_PATH
   10135   else
   10136     # With GCC up to 2.95.x, collect2 would create an import file
   10137     # for dependence libraries.  The import file would start with
   10138     # the line `#! .'.  This would cause the generated library to
   10139     # depend on `.', always an invalid library.  This was fixed in
   10140     # development snapshots of GCC prior to 3.0.
   10141     case $host_os in
   10142       aix4 | aix4.[01] | aix4.[01].*)
   10143       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10144 	   echo ' yes '
   10145 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10146 	:
   10147       else
   10148 	can_build_shared=no
   10149       fi
   10150       ;;
   10151     esac
   10152     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10153     # soname into executable. Probably we can add versioning support to
   10154     # collect2, so additional links can be useful in future.
   10155     if test "$aix_use_runtimelinking" = yes; then
   10156       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10157       # instead of lib<name>.a to let people know that these are not
   10158       # typical AIX shared libraries.
   10159       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10160     else
   10161       # We preserve .a as extension for shared libraries through AIX4.2
   10162       # and later when we are not doing run time linking.
   10163       library_names_spec='${libname}${release}.a $libname.a'
   10164       soname_spec='${libname}${release}${shared_ext}$major'
   10165     fi
   10166     shlibpath_var=LIBPATH
   10167   fi
   10168   ;;
   10169 
   10170 amigaos*)
   10171   case $host_cpu in
   10172   powerpc)
   10173     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10174     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10175     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10176     ;;
   10177   m68k)
   10178     library_names_spec='$libname.ixlibrary $libname.a'
   10179     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10180     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'
   10181     ;;
   10182   esac
   10183   ;;
   10184 
   10185 beos*)
   10186   library_names_spec='${libname}${shared_ext}'
   10187   dynamic_linker="$host_os ld.so"
   10188   shlibpath_var=LIBRARY_PATH
   10189   ;;
   10190 
   10191 bsdi[45]*)
   10192   version_type=linux
   10193   need_version=no
   10194   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10195   soname_spec='${libname}${release}${shared_ext}$major'
   10196   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10197   shlibpath_var=LD_LIBRARY_PATH
   10198   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10199   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10200   # the default ld.so.conf also contains /usr/contrib/lib and
   10201   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10202   # libtool to hard-code these into programs
   10203   ;;
   10204 
   10205 cygwin* | mingw* | pw32* | cegcc*)
   10206   version_type=windows
   10207   shrext_cmds=".dll"
   10208   need_version=no
   10209   need_lib_prefix=no
   10210 
   10211   case $GCC,$host_os in
   10212   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10213     library_names_spec='$libname.dll.a'
   10214     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10215     postinstall_cmds='base_file=`basename \${file}`~
   10216       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10217       dldir=$destdir/`dirname \$dlpath`~
   10218       test -d \$dldir || mkdir -p \$dldir~
   10219       $install_prog $dir/$dlname \$dldir/$dlname~
   10220       chmod a+x \$dldir/$dlname~
   10221       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10222         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10223       fi'
   10224     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10225       dlpath=$dir/\$dldll~
   10226        $RM \$dlpath'
   10227     shlibpath_overrides_runpath=yes
   10228 
   10229     case $host_os in
   10230     cygwin*)
   10231       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10232       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10233 
   10234       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10235       ;;
   10236     mingw* | cegcc*)
   10237       # MinGW DLLs use traditional 'lib' prefix
   10238       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10239       ;;
   10240     pw32*)
   10241       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10242       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10243       ;;
   10244     esac
   10245     ;;
   10246 
   10247   *)
   10248     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10249     ;;
   10250   esac
   10251   dynamic_linker='Win32 ld.exe'
   10252   # FIXME: first we should search . and the directory the executable is in
   10253   shlibpath_var=PATH
   10254   ;;
   10255 
   10256 darwin* | rhapsody*)
   10257   dynamic_linker="$host_os dyld"
   10258   version_type=darwin
   10259   need_lib_prefix=no
   10260   need_version=no
   10261   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10262   soname_spec='${libname}${release}${major}$shared_ext'
   10263   shlibpath_overrides_runpath=yes
   10264   shlibpath_var=DYLD_LIBRARY_PATH
   10265   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10266 
   10267   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10268   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10269   ;;
   10270 
   10271 dgux*)
   10272   version_type=linux
   10273   need_lib_prefix=no
   10274   need_version=no
   10275   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10276   soname_spec='${libname}${release}${shared_ext}$major'
   10277   shlibpath_var=LD_LIBRARY_PATH
   10278   ;;
   10279 
   10280 freebsd* | dragonfly*)
   10281   # DragonFly does not have aout.  When/if they implement a new
   10282   # versioning mechanism, adjust this.
   10283   if test -x /usr/bin/objformat; then
   10284     objformat=`/usr/bin/objformat`
   10285   else
   10286     case $host_os in
   10287     freebsd[23].*) objformat=aout ;;
   10288     *) objformat=elf ;;
   10289     esac
   10290   fi
   10291   version_type=freebsd-$objformat
   10292   case $version_type in
   10293     freebsd-elf*)
   10294       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10295       need_version=no
   10296       need_lib_prefix=no
   10297       ;;
   10298     freebsd-*)
   10299       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10300       need_version=yes
   10301       ;;
   10302   esac
   10303   shlibpath_var=LD_LIBRARY_PATH
   10304   case $host_os in
   10305   freebsd2.*)
   10306     shlibpath_overrides_runpath=yes
   10307     ;;
   10308   freebsd3.[01]* | freebsdelf3.[01]*)
   10309     shlibpath_overrides_runpath=yes
   10310     hardcode_into_libs=yes
   10311     ;;
   10312   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10313   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10314     shlibpath_overrides_runpath=no
   10315     hardcode_into_libs=yes
   10316     ;;
   10317   *) # from 4.6 on, and DragonFly
   10318     shlibpath_overrides_runpath=yes
   10319     hardcode_into_libs=yes
   10320     ;;
   10321   esac
   10322   ;;
   10323 
   10324 haiku*)
   10325   version_type=linux
   10326   need_lib_prefix=no
   10327   need_version=no
   10328   dynamic_linker="$host_os runtime_loader"
   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   shlibpath_var=LIBRARY_PATH
   10332   shlibpath_overrides_runpath=yes
   10333   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10334   hardcode_into_libs=yes
   10335   ;;
   10336 
   10337 hpux9* | hpux10* | hpux11*)
   10338   # Give a soname corresponding to the major version so that dld.sl refuses to
   10339   # link against other versions.
   10340   version_type=sunos
   10341   need_lib_prefix=no
   10342   need_version=no
   10343   case $host_cpu in
   10344   ia64*)
   10345     shrext_cmds='.so'
   10346     hardcode_into_libs=yes
   10347     dynamic_linker="$host_os dld.so"
   10348     shlibpath_var=LD_LIBRARY_PATH
   10349     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10350     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10351     soname_spec='${libname}${release}${shared_ext}$major'
   10352     if test "X$HPUX_IA64_MODE" = X32; then
   10353       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10354     else
   10355       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10356     fi
   10357     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10358     ;;
   10359   hppa*64*)
   10360     shrext_cmds='.sl'
   10361     hardcode_into_libs=yes
   10362     dynamic_linker="$host_os dld.sl"
   10363     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10364     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10365     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10366     soname_spec='${libname}${release}${shared_ext}$major'
   10367     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10368     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10369     ;;
   10370   *)
   10371     shrext_cmds='.sl'
   10372     dynamic_linker="$host_os dld.sl"
   10373     shlibpath_var=SHLIB_PATH
   10374     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10375     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10376     soname_spec='${libname}${release}${shared_ext}$major'
   10377     ;;
   10378   esac
   10379   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10380   postinstall_cmds='chmod 555 $lib'
   10381   # or fails outright, so override atomically:
   10382   install_override_mode=555
   10383   ;;
   10384 
   10385 interix[3-9]*)
   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   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10392   shlibpath_var=LD_LIBRARY_PATH
   10393   shlibpath_overrides_runpath=no
   10394   hardcode_into_libs=yes
   10395   ;;
   10396 
   10397 irix5* | irix6* | nonstopux*)
   10398   case $host_os in
   10399     nonstopux*) version_type=nonstopux ;;
   10400     *)
   10401 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10402 		version_type=linux
   10403 	else
   10404 		version_type=irix
   10405 	fi ;;
   10406   esac
   10407   need_lib_prefix=no
   10408   need_version=no
   10409   soname_spec='${libname}${release}${shared_ext}$major'
   10410   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10411   case $host_os in
   10412   irix5* | nonstopux*)
   10413     libsuff= shlibsuff=
   10414     ;;
   10415   *)
   10416     case $LD in # libtool.m4 will add one of these switches to LD
   10417     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10418       libsuff= shlibsuff= libmagic=32-bit;;
   10419     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10420       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10421     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10422       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10423     *) libsuff= shlibsuff= libmagic=never-match;;
   10424     esac
   10425     ;;
   10426   esac
   10427   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10428   shlibpath_overrides_runpath=no
   10429   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10430   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10431   hardcode_into_libs=yes
   10432   ;;
   10433 
   10434 # No shared lib support for Linux oldld, aout, or coff.
   10435 linux*oldld* | linux*aout* | linux*coff*)
   10436   dynamic_linker=no
   10437   ;;
   10438 
   10439 # This must be Linux ELF.
   10440 
   10441 # uclinux* changes (here and below) have been submitted to the libtool
   10442 # project, but have not yet been accepted: they are GCC-local changes
   10443 # for the time being.  (See
   10444 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   10445 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   10446   version_type=linux
   10447   need_lib_prefix=no
   10448   need_version=no
   10449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10450   soname_spec='${libname}${release}${shared_ext}$major'
   10451   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10452   shlibpath_var=LD_LIBRARY_PATH
   10453   shlibpath_overrides_runpath=no
   10454 
   10455   # Some binutils ld are patched to set DT_RUNPATH
   10456   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10457   $as_echo_n "(cached) " >&6
   10458 else
   10459   lt_cv_shlibpath_overrides_runpath=no
   10460     save_LDFLAGS=$LDFLAGS
   10461     save_libdir=$libdir
   10462     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10463 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10464     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10465 /* end confdefs.h.  */
   10466 
   10467 int
   10468 main ()
   10469 {
   10470 
   10471   ;
   10472   return 0;
   10473 }
   10474 _ACEOF
   10475 if ac_fn_c_try_link "$LINENO"; then :
   10476   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10477   lt_cv_shlibpath_overrides_runpath=yes
   10478 fi
   10479 fi
   10480 rm -f core conftest.err conftest.$ac_objext \
   10481     conftest$ac_exeext conftest.$ac_ext
   10482     LDFLAGS=$save_LDFLAGS
   10483     libdir=$save_libdir
   10484 
   10485 fi
   10486 
   10487   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10488 
   10489   # This implies no fast_install, which is unacceptable.
   10490   # Some rework will be needed to allow for fast_install
   10491   # before this can be enabled.
   10492   hardcode_into_libs=yes
   10493 
   10494   # Append ld.so.conf contents to the search path
   10495   if test -f /etc/ld.so.conf; then
   10496     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' ' '`
   10497     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10498   fi
   10499 
   10500   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10501   # powerpc, because MkLinux only supported shared libraries with the
   10502   # GNU dynamic linker.  Since this was broken with cross compilers,
   10503   # most powerpc-linux boxes support dynamic linking these days and
   10504   # people can always --disable-shared, the test was removed, and we
   10505   # assume the GNU/Linux dynamic linker is in use.
   10506   dynamic_linker='GNU/Linux ld.so'
   10507   ;;
   10508 
   10509 netbsd*)
   10510   version_type=sunos
   10511   need_lib_prefix=no
   10512   need_version=no
   10513   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10514     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10515     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10516     dynamic_linker='NetBSD (a.out) ld.so'
   10517   else
   10518     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10519     soname_spec='${libname}${release}${shared_ext}$major'
   10520     dynamic_linker='NetBSD ld.elf_so'
   10521   fi
   10522   shlibpath_var=LD_LIBRARY_PATH
   10523   shlibpath_overrides_runpath=yes
   10524   hardcode_into_libs=yes
   10525   ;;
   10526 
   10527 newsos6)
   10528   version_type=linux
   10529   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10530   shlibpath_var=LD_LIBRARY_PATH
   10531   shlibpath_overrides_runpath=yes
   10532   ;;
   10533 
   10534 *nto* | *qnx*)
   10535   version_type=qnx
   10536   need_lib_prefix=no
   10537   need_version=no
   10538   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10539   soname_spec='${libname}${release}${shared_ext}$major'
   10540   shlibpath_var=LD_LIBRARY_PATH
   10541   shlibpath_overrides_runpath=no
   10542   hardcode_into_libs=yes
   10543   dynamic_linker='ldqnx.so'
   10544   ;;
   10545 
   10546 openbsd*)
   10547   version_type=sunos
   10548   sys_lib_dlsearch_path_spec="/usr/lib"
   10549   need_lib_prefix=no
   10550   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10551   case $host_os in
   10552     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10553     *)				need_version=no  ;;
   10554   esac
   10555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10556   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10557   shlibpath_var=LD_LIBRARY_PATH
   10558   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10559     case $host_os in
   10560       openbsd2.[89] | openbsd2.[89].*)
   10561 	shlibpath_overrides_runpath=no
   10562 	;;
   10563       *)
   10564 	shlibpath_overrides_runpath=yes
   10565 	;;
   10566       esac
   10567   else
   10568     shlibpath_overrides_runpath=yes
   10569   fi
   10570   ;;
   10571 
   10572 os2*)
   10573   libname_spec='$name'
   10574   shrext_cmds=".dll"
   10575   need_lib_prefix=no
   10576   library_names_spec='$libname${shared_ext} $libname.a'
   10577   dynamic_linker='OS/2 ld.exe'
   10578   shlibpath_var=LIBPATH
   10579   ;;
   10580 
   10581 osf3* | osf4* | osf5*)
   10582   version_type=osf
   10583   need_lib_prefix=no
   10584   need_version=no
   10585   soname_spec='${libname}${release}${shared_ext}$major'
   10586   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10587   shlibpath_var=LD_LIBRARY_PATH
   10588   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10589   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10590   ;;
   10591 
   10592 rdos*)
   10593   dynamic_linker=no
   10594   ;;
   10595 
   10596 solaris*)
   10597   version_type=linux
   10598   need_lib_prefix=no
   10599   need_version=no
   10600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10601   soname_spec='${libname}${release}${shared_ext}$major'
   10602   shlibpath_var=LD_LIBRARY_PATH
   10603   shlibpath_overrides_runpath=yes
   10604   hardcode_into_libs=yes
   10605   # ldd complains unless libraries are executable
   10606   postinstall_cmds='chmod +x $lib'
   10607   ;;
   10608 
   10609 sunos4*)
   10610   version_type=sunos
   10611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10612   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10613   shlibpath_var=LD_LIBRARY_PATH
   10614   shlibpath_overrides_runpath=yes
   10615   if test "$with_gnu_ld" = yes; then
   10616     need_lib_prefix=no
   10617   fi
   10618   need_version=yes
   10619   ;;
   10620 
   10621 sysv4 | sysv4.3*)
   10622   version_type=linux
   10623   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10624   soname_spec='${libname}${release}${shared_ext}$major'
   10625   shlibpath_var=LD_LIBRARY_PATH
   10626   case $host_vendor in
   10627     sni)
   10628       shlibpath_overrides_runpath=no
   10629       need_lib_prefix=no
   10630       runpath_var=LD_RUN_PATH
   10631       ;;
   10632     siemens)
   10633       need_lib_prefix=no
   10634       ;;
   10635     motorola)
   10636       need_lib_prefix=no
   10637       need_version=no
   10638       shlibpath_overrides_runpath=no
   10639       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10640       ;;
   10641   esac
   10642   ;;
   10643 
   10644 sysv4*MP*)
   10645   if test -d /usr/nec ;then
   10646     version_type=linux
   10647     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10648     soname_spec='$libname${shared_ext}.$major'
   10649     shlibpath_var=LD_LIBRARY_PATH
   10650   fi
   10651   ;;
   10652 
   10653 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10654   version_type=freebsd-elf
   10655   need_lib_prefix=no
   10656   need_version=no
   10657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10658   soname_spec='${libname}${release}${shared_ext}$major'
   10659   shlibpath_var=LD_LIBRARY_PATH
   10660   shlibpath_overrides_runpath=yes
   10661   hardcode_into_libs=yes
   10662   if test "$with_gnu_ld" = yes; then
   10663     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10664   else
   10665     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10666     case $host_os in
   10667       sco3.2v5*)
   10668         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10669 	;;
   10670     esac
   10671   fi
   10672   sys_lib_dlsearch_path_spec='/usr/lib'
   10673   ;;
   10674 
   10675 tpf*)
   10676   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10677   version_type=linux
   10678   need_lib_prefix=no
   10679   need_version=no
   10680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10681   shlibpath_var=LD_LIBRARY_PATH
   10682   shlibpath_overrides_runpath=no
   10683   hardcode_into_libs=yes
   10684   ;;
   10685 
   10686 uts4*)
   10687   version_type=linux
   10688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10689   soname_spec='${libname}${release}${shared_ext}$major'
   10690   shlibpath_var=LD_LIBRARY_PATH
   10691   ;;
   10692 
   10693 # Shared libraries for VwWorks, >= 7 only at this stage
   10694 # and (fpic) still incompatible with "large" code models
   10695 # in a few configurations. Only for RTP mode in any case,
   10696 # and upon explicit request at configure time.
   10697 vxworks7*)
   10698   dynamic_linker=no
   10699   case ${with_multisubdir}-${enable_shared} in
   10700     *large*)
   10701       ;;
   10702     *mrtp*-yes)
   10703       version_type=linux
   10704       need_lib_prefix=no
   10705       need_version=no
   10706       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10707       soname_spec='${libname}${release}${shared_ext}$major'
   10708       dynamic_linker="$host_os module_loader"
   10709       ;;
   10710   esac
   10711   ;;
   10712 *)
   10713   dynamic_linker=no
   10714   ;;
   10715 esac
   10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10717 $as_echo "$dynamic_linker" >&6; }
   10718 test "$dynamic_linker" = no && can_build_shared=no
   10719 
   10720 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10721 if test "$GCC" = yes; then
   10722   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10723 fi
   10724 
   10725 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10726   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10727 fi
   10728 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10729   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10730 fi
   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 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10824 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10825 hardcode_action=
   10826 if test -n "$hardcode_libdir_flag_spec" ||
   10827    test -n "$runpath_var" ||
   10828    test "X$hardcode_automatic" = "Xyes" ; then
   10829 
   10830   # We can hardcode non-existent directories.
   10831   if test "$hardcode_direct" != no &&
   10832      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10833      # have to relink, otherwise we might link with an installed library
   10834      # when we should be linking with a yet-to-be-installed one
   10835      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10836      test "$hardcode_minus_L" != no; then
   10837     # Linking always hardcodes the temporary library directory.
   10838     hardcode_action=relink
   10839   else
   10840     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10841     hardcode_action=immediate
   10842   fi
   10843 else
   10844   # We cannot hardcode anything, or else we can only hardcode existing
   10845   # directories.
   10846   hardcode_action=unsupported
   10847 fi
   10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10849 $as_echo "$hardcode_action" >&6; }
   10850 
   10851 if test "$hardcode_action" = relink ||
   10852    test "$inherit_rpath" = yes; then
   10853   # Fast installation is not supported
   10854   enable_fast_install=no
   10855 elif test "$shlibpath_overrides_runpath" = yes ||
   10856      test "$enable_shared" = no; then
   10857   # Fast installation is not necessary
   10858   enable_fast_install=needless
   10859 fi
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866   if test "x$enable_dlopen" != xyes; then
   10867   enable_dlopen=unknown
   10868   enable_dlopen_self=unknown
   10869   enable_dlopen_self_static=unknown
   10870 else
   10871   lt_cv_dlopen=no
   10872   lt_cv_dlopen_libs=
   10873 
   10874   case $host_os in
   10875   beos*)
   10876     lt_cv_dlopen="load_add_on"
   10877     lt_cv_dlopen_libs=
   10878     lt_cv_dlopen_self=yes
   10879     ;;
   10880 
   10881   mingw* | pw32* | cegcc*)
   10882     lt_cv_dlopen="LoadLibrary"
   10883     lt_cv_dlopen_libs=
   10884     ;;
   10885 
   10886   cygwin*)
   10887     lt_cv_dlopen="dlopen"
   10888     lt_cv_dlopen_libs=
   10889     ;;
   10890 
   10891   darwin*)
   10892   # if libdl is installed we need to link against it
   10893     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10894 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10895 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10896   $as_echo_n "(cached) " >&6
   10897 else
   10898   ac_check_lib_save_LIBS=$LIBS
   10899 LIBS="-ldl  $LIBS"
   10900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10901 /* end confdefs.h.  */
   10902 
   10903 /* Override any GCC internal prototype to avoid an error.
   10904    Use char because int might match the return type of a GCC
   10905    builtin and then its argument prototype would still apply.  */
   10906 #ifdef __cplusplus
   10907 extern "C"
   10908 #endif
   10909 char dlopen ();
   10910 int
   10911 main ()
   10912 {
   10913 return dlopen ();
   10914   ;
   10915   return 0;
   10916 }
   10917 _ACEOF
   10918 if ac_fn_c_try_link "$LINENO"; then :
   10919   ac_cv_lib_dl_dlopen=yes
   10920 else
   10921   ac_cv_lib_dl_dlopen=no
   10922 fi
   10923 rm -f core conftest.err conftest.$ac_objext \
   10924     conftest$ac_exeext conftest.$ac_ext
   10925 LIBS=$ac_check_lib_save_LIBS
   10926 fi
   10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10928 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10929 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10930   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10931 else
   10932 
   10933     lt_cv_dlopen="dyld"
   10934     lt_cv_dlopen_libs=
   10935     lt_cv_dlopen_self=yes
   10936 
   10937 fi
   10938 
   10939     ;;
   10940 
   10941   *)
   10942     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10943 if test "x$ac_cv_func_shl_load" = xyes; then :
   10944   lt_cv_dlopen="shl_load"
   10945 else
   10946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10947 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10948 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10949   $as_echo_n "(cached) " >&6
   10950 else
   10951   ac_check_lib_save_LIBS=$LIBS
   10952 LIBS="-ldld  $LIBS"
   10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10954 /* end confdefs.h.  */
   10955 
   10956 /* Override any GCC internal prototype to avoid an error.
   10957    Use char because int might match the return type of a GCC
   10958    builtin and then its argument prototype would still apply.  */
   10959 #ifdef __cplusplus
   10960 extern "C"
   10961 #endif
   10962 char shl_load ();
   10963 int
   10964 main ()
   10965 {
   10966 return shl_load ();
   10967   ;
   10968   return 0;
   10969 }
   10970 _ACEOF
   10971 if ac_fn_c_try_link "$LINENO"; then :
   10972   ac_cv_lib_dld_shl_load=yes
   10973 else
   10974   ac_cv_lib_dld_shl_load=no
   10975 fi
   10976 rm -f core conftest.err conftest.$ac_objext \
   10977     conftest$ac_exeext conftest.$ac_ext
   10978 LIBS=$ac_check_lib_save_LIBS
   10979 fi
   10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10981 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10982 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10983   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10984 else
   10985   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10986 if test "x$ac_cv_func_dlopen" = xyes; then :
   10987   lt_cv_dlopen="dlopen"
   10988 else
   10989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10990 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10991 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10992   $as_echo_n "(cached) " >&6
   10993 else
   10994   ac_check_lib_save_LIBS=$LIBS
   10995 LIBS="-ldl  $LIBS"
   10996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10997 /* end confdefs.h.  */
   10998 
   10999 /* Override any GCC internal prototype to avoid an error.
   11000    Use char because int might match the return type of a GCC
   11001    builtin and then its argument prototype would still apply.  */
   11002 #ifdef __cplusplus
   11003 extern "C"
   11004 #endif
   11005 char dlopen ();
   11006 int
   11007 main ()
   11008 {
   11009 return dlopen ();
   11010   ;
   11011   return 0;
   11012 }
   11013 _ACEOF
   11014 if ac_fn_c_try_link "$LINENO"; then :
   11015   ac_cv_lib_dl_dlopen=yes
   11016 else
   11017   ac_cv_lib_dl_dlopen=no
   11018 fi
   11019 rm -f core conftest.err conftest.$ac_objext \
   11020     conftest$ac_exeext conftest.$ac_ext
   11021 LIBS=$ac_check_lib_save_LIBS
   11022 fi
   11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11024 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11025 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11026   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11027 else
   11028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11029 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11030 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11031   $as_echo_n "(cached) " >&6
   11032 else
   11033   ac_check_lib_save_LIBS=$LIBS
   11034 LIBS="-lsvld  $LIBS"
   11035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11036 /* end confdefs.h.  */
   11037 
   11038 /* Override any GCC internal prototype to avoid an error.
   11039    Use char because int might match the return type of a GCC
   11040    builtin and then its argument prototype would still apply.  */
   11041 #ifdef __cplusplus
   11042 extern "C"
   11043 #endif
   11044 char dlopen ();
   11045 int
   11046 main ()
   11047 {
   11048 return dlopen ();
   11049   ;
   11050   return 0;
   11051 }
   11052 _ACEOF
   11053 if ac_fn_c_try_link "$LINENO"; then :
   11054   ac_cv_lib_svld_dlopen=yes
   11055 else
   11056   ac_cv_lib_svld_dlopen=no
   11057 fi
   11058 rm -f core conftest.err conftest.$ac_objext \
   11059     conftest$ac_exeext conftest.$ac_ext
   11060 LIBS=$ac_check_lib_save_LIBS
   11061 fi
   11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11063 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11064 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11065   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11066 else
   11067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11068 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11069 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11070   $as_echo_n "(cached) " >&6
   11071 else
   11072   ac_check_lib_save_LIBS=$LIBS
   11073 LIBS="-ldld  $LIBS"
   11074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11075 /* end confdefs.h.  */
   11076 
   11077 /* Override any GCC internal prototype to avoid an error.
   11078    Use char because int might match the return type of a GCC
   11079    builtin and then its argument prototype would still apply.  */
   11080 #ifdef __cplusplus
   11081 extern "C"
   11082 #endif
   11083 char dld_link ();
   11084 int
   11085 main ()
   11086 {
   11087 return dld_link ();
   11088   ;
   11089   return 0;
   11090 }
   11091 _ACEOF
   11092 if ac_fn_c_try_link "$LINENO"; then :
   11093   ac_cv_lib_dld_dld_link=yes
   11094 else
   11095   ac_cv_lib_dld_dld_link=no
   11096 fi
   11097 rm -f core conftest.err conftest.$ac_objext \
   11098     conftest$ac_exeext conftest.$ac_ext
   11099 LIBS=$ac_check_lib_save_LIBS
   11100 fi
   11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11102 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11103 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11104   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11105 fi
   11106 
   11107 
   11108 fi
   11109 
   11110 
   11111 fi
   11112 
   11113 
   11114 fi
   11115 
   11116 
   11117 fi
   11118 
   11119 
   11120 fi
   11121 
   11122     ;;
   11123   esac
   11124 
   11125   if test "x$lt_cv_dlopen" != xno; then
   11126     enable_dlopen=yes
   11127   else
   11128     enable_dlopen=no
   11129   fi
   11130 
   11131   case $lt_cv_dlopen in
   11132   dlopen)
   11133     save_CPPFLAGS="$CPPFLAGS"
   11134     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11135 
   11136     save_LDFLAGS="$LDFLAGS"
   11137     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11138 
   11139     save_LIBS="$LIBS"
   11140     LIBS="$lt_cv_dlopen_libs $LIBS"
   11141 
   11142     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11143 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11144 if ${lt_cv_dlopen_self+:} false; then :
   11145   $as_echo_n "(cached) " >&6
   11146 else
   11147   	  if test "$cross_compiling" = yes; then :
   11148   lt_cv_dlopen_self=cross
   11149 else
   11150   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11151   lt_status=$lt_dlunknown
   11152   cat > conftest.$ac_ext <<_LT_EOF
   11153 #line 11153 "configure"
   11154 #include "confdefs.h"
   11155 
   11156 #if HAVE_DLFCN_H
   11157 #include <dlfcn.h>
   11158 #endif
   11159 
   11160 #include <stdio.h>
   11161 
   11162 #ifdef RTLD_GLOBAL
   11163 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11164 #else
   11165 #  ifdef DL_GLOBAL
   11166 #    define LT_DLGLOBAL		DL_GLOBAL
   11167 #  else
   11168 #    define LT_DLGLOBAL		0
   11169 #  endif
   11170 #endif
   11171 
   11172 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11173    find out it does not work in some platform. */
   11174 #ifndef LT_DLLAZY_OR_NOW
   11175 #  ifdef RTLD_LAZY
   11176 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11177 #  else
   11178 #    ifdef DL_LAZY
   11179 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11180 #    else
   11181 #      ifdef RTLD_NOW
   11182 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11183 #      else
   11184 #        ifdef DL_NOW
   11185 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11186 #        else
   11187 #          define LT_DLLAZY_OR_NOW	0
   11188 #        endif
   11189 #      endif
   11190 #    endif
   11191 #  endif
   11192 #endif
   11193 
   11194 /* When -fvisbility=hidden is used, assume the code has been annotated
   11195    correspondingly for the symbols needed.  */
   11196 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11197 void fnord () __attribute__((visibility("default")));
   11198 #endif
   11199 
   11200 void fnord () { int i=42; }
   11201 int main ()
   11202 {
   11203   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11204   int status = $lt_dlunknown;
   11205 
   11206   if (self)
   11207     {
   11208       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11209       else
   11210         {
   11211 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11212           else puts (dlerror ());
   11213 	}
   11214       /* dlclose (self); */
   11215     }
   11216   else
   11217     puts (dlerror ());
   11218 
   11219   return status;
   11220 }
   11221 _LT_EOF
   11222   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11223   (eval $ac_link) 2>&5
   11224   ac_status=$?
   11225   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11226   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11227     (./conftest; exit; ) >&5 2>/dev/null
   11228     lt_status=$?
   11229     case x$lt_status in
   11230       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11231       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11232       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11233     esac
   11234   else :
   11235     # compilation failed
   11236     lt_cv_dlopen_self=no
   11237   fi
   11238 fi
   11239 rm -fr conftest*
   11240 
   11241 
   11242 fi
   11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11244 $as_echo "$lt_cv_dlopen_self" >&6; }
   11245 
   11246     if test "x$lt_cv_dlopen_self" = xyes; then
   11247       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11248       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11249 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11250 if ${lt_cv_dlopen_self_static+:} false; then :
   11251   $as_echo_n "(cached) " >&6
   11252 else
   11253   	  if test "$cross_compiling" = yes; then :
   11254   lt_cv_dlopen_self_static=cross
   11255 else
   11256   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11257   lt_status=$lt_dlunknown
   11258   cat > conftest.$ac_ext <<_LT_EOF
   11259 #line 11259 "configure"
   11260 #include "confdefs.h"
   11261 
   11262 #if HAVE_DLFCN_H
   11263 #include <dlfcn.h>
   11264 #endif
   11265 
   11266 #include <stdio.h>
   11267 
   11268 #ifdef RTLD_GLOBAL
   11269 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11270 #else
   11271 #  ifdef DL_GLOBAL
   11272 #    define LT_DLGLOBAL		DL_GLOBAL
   11273 #  else
   11274 #    define LT_DLGLOBAL		0
   11275 #  endif
   11276 #endif
   11277 
   11278 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11279    find out it does not work in some platform. */
   11280 #ifndef LT_DLLAZY_OR_NOW
   11281 #  ifdef RTLD_LAZY
   11282 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11283 #  else
   11284 #    ifdef DL_LAZY
   11285 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11286 #    else
   11287 #      ifdef RTLD_NOW
   11288 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11289 #      else
   11290 #        ifdef DL_NOW
   11291 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11292 #        else
   11293 #          define LT_DLLAZY_OR_NOW	0
   11294 #        endif
   11295 #      endif
   11296 #    endif
   11297 #  endif
   11298 #endif
   11299 
   11300 /* When -fvisbility=hidden is used, assume the code has been annotated
   11301    correspondingly for the symbols needed.  */
   11302 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11303 void fnord () __attribute__((visibility("default")));
   11304 #endif
   11305 
   11306 void fnord () { int i=42; }
   11307 int main ()
   11308 {
   11309   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11310   int status = $lt_dlunknown;
   11311 
   11312   if (self)
   11313     {
   11314       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11315       else
   11316         {
   11317 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11318           else puts (dlerror ());
   11319 	}
   11320       /* dlclose (self); */
   11321     }
   11322   else
   11323     puts (dlerror ());
   11324 
   11325   return status;
   11326 }
   11327 _LT_EOF
   11328   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11329   (eval $ac_link) 2>&5
   11330   ac_status=$?
   11331   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11332   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11333     (./conftest; exit; ) >&5 2>/dev/null
   11334     lt_status=$?
   11335     case x$lt_status in
   11336       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11337       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11338       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11339     esac
   11340   else :
   11341     # compilation failed
   11342     lt_cv_dlopen_self_static=no
   11343   fi
   11344 fi
   11345 rm -fr conftest*
   11346 
   11347 
   11348 fi
   11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11350 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11351     fi
   11352 
   11353     CPPFLAGS="$save_CPPFLAGS"
   11354     LDFLAGS="$save_LDFLAGS"
   11355     LIBS="$save_LIBS"
   11356     ;;
   11357   esac
   11358 
   11359   case $lt_cv_dlopen_self in
   11360   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11361   *) enable_dlopen_self=unknown ;;
   11362   esac
   11363 
   11364   case $lt_cv_dlopen_self_static in
   11365   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11366   *) enable_dlopen_self_static=unknown ;;
   11367   esac
   11368 fi
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 striplib=
   11387 old_striplib=
   11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11389 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11390 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11391   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11392   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11394 $as_echo "yes" >&6; }
   11395 else
   11396 # FIXME - insert some real tests, host_os isn't really good enough
   11397   case $host_os in
   11398   darwin*)
   11399     if test -n "$STRIP" ; then
   11400       striplib="$STRIP -x"
   11401       old_striplib="$STRIP -S"
   11402       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11403 $as_echo "yes" >&6; }
   11404     else
   11405       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11406 $as_echo "no" >&6; }
   11407     fi
   11408     ;;
   11409   *)
   11410     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11411 $as_echo "no" >&6; }
   11412     ;;
   11413   esac
   11414 fi
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427   # Report which library types will actually be built
   11428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11429 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11431 $as_echo "$can_build_shared" >&6; }
   11432 
   11433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11434 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11435   test "$can_build_shared" = "no" && enable_shared=no
   11436 
   11437   # On AIX, shared libraries and static libraries use the same namespace, and
   11438   # are all built from PIC.
   11439   case $host_os in
   11440   aix3*)
   11441     test "$enable_shared" = yes && enable_static=no
   11442     if test -n "$RANLIB"; then
   11443       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11444       postinstall_cmds='$RANLIB $lib'
   11445     fi
   11446     ;;
   11447 
   11448   aix[4-9]*)
   11449     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11450       test "$enable_shared" = yes && enable_static=no
   11451     fi
   11452     ;;
   11453   esac
   11454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11455 $as_echo "$enable_shared" >&6; }
   11456 
   11457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11458 $as_echo_n "checking whether to build static libraries... " >&6; }
   11459   # Make sure either enable_shared or enable_static is yes.
   11460   test "$enable_shared" = yes || enable_static=yes
   11461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11462 $as_echo "$enable_static" >&6; }
   11463 
   11464 
   11465 
   11466 
   11467 fi
   11468 ac_ext=c
   11469 ac_cpp='$CPP $CPPFLAGS'
   11470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11473 
   11474 CC="$lt_save_CC"
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488         ac_config_commands="$ac_config_commands libtool"
   11489 
   11490 
   11491 
   11492 
   11493 # Only expand once:
   11494 
   11495 
   11496 
   11497 # The tests for host and target for $enable_largefile require
   11498 # canonical names.
   11499 
   11500 
   11501 
   11502 # As the $enable_largefile decision depends on --enable-plugins we must set it
   11503 # even in directories otherwise not depending on the $plugins option.
   11504 
   11505 
   11506   maybe_plugins=no
   11507   for ac_header in dlfcn.h
   11508 do :
   11509   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   11510 "
   11511 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   11512   cat >>confdefs.h <<_ACEOF
   11513 #define HAVE_DLFCN_H 1
   11514 _ACEOF
   11515  maybe_plugins=yes
   11516 fi
   11517 
   11518 done
   11519 
   11520   for ac_header in windows.h
   11521 do :
   11522   ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
   11523 "
   11524 if test "x$ac_cv_header_windows_h" = xyes; then :
   11525   cat >>confdefs.h <<_ACEOF
   11526 #define HAVE_WINDOWS_H 1
   11527 _ACEOF
   11528  maybe_plugins=yes
   11529 fi
   11530 
   11531 done
   11532 
   11533 
   11534   # Check whether --enable-plugins was given.
   11535 if test "${enable_plugins+set}" = set; then :
   11536   enableval=$enable_plugins; case "${enableval}" in
   11537       no) plugins=no ;;
   11538       *) plugins=yes
   11539          if test "$maybe_plugins" != "yes" ; then
   11540 	   as_fn_error $? "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
   11541 	 fi ;;
   11542      esac
   11543 else
   11544   plugins=$maybe_plugins
   11545 
   11546 fi
   11547 
   11548   if test "$plugins" = "yes"; then
   11549     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
   11550 $as_echo_n "checking for library containing dlsym... " >&6; }
   11551 if ${ac_cv_search_dlsym+:} false; then :
   11552   $as_echo_n "(cached) " >&6
   11553 else
   11554   ac_func_search_save_LIBS=$LIBS
   11555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11556 /* end confdefs.h.  */
   11557 
   11558 /* Override any GCC internal prototype to avoid an error.
   11559    Use char because int might match the return type of a GCC
   11560    builtin and then its argument prototype would still apply.  */
   11561 #ifdef __cplusplus
   11562 extern "C"
   11563 #endif
   11564 char dlsym ();
   11565 int
   11566 main ()
   11567 {
   11568 return dlsym ();
   11569   ;
   11570   return 0;
   11571 }
   11572 _ACEOF
   11573 for ac_lib in '' dl; do
   11574   if test -z "$ac_lib"; then
   11575     ac_res="none required"
   11576   else
   11577     ac_res=-l$ac_lib
   11578     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11579   fi
   11580   if ac_fn_c_try_link "$LINENO"; then :
   11581   ac_cv_search_dlsym=$ac_res
   11582 fi
   11583 rm -f core conftest.err conftest.$ac_objext \
   11584     conftest$ac_exeext
   11585   if ${ac_cv_search_dlsym+:} false; then :
   11586   break
   11587 fi
   11588 done
   11589 if ${ac_cv_search_dlsym+:} false; then :
   11590 
   11591 else
   11592   ac_cv_search_dlsym=no
   11593 fi
   11594 rm conftest.$ac_ext
   11595 LIBS=$ac_func_search_save_LIBS
   11596 fi
   11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
   11598 $as_echo "$ac_cv_search_dlsym" >&6; }
   11599 ac_res=$ac_cv_search_dlsym
   11600 if test "$ac_res" != no; then :
   11601   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11602 
   11603 fi
   11604 
   11605   fi
   11606 
   11607 
   11608 case "${host}" in
   11609   sparc-*-solaris*|i?86-*-solaris*)
   11610     # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
   11611     # were mutually exclusive until Solaris 11.3.  Without procfs support,
   11612     # the bfd/ elf module cannot provide certain routines such as
   11613     # elfcore_write_prpsinfo or elfcore_write_prstatus.  So unless the user
   11614     # explicitly requested large-file support through the
   11615     # --enable-largefile switch, disable large-file support in favor of
   11616     # procfs support.
   11617     #
   11618     # Check if <sys/procfs.h> is incompatible with large-file support.
   11619     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11620 /* end confdefs.h.  */
   11621 #define _FILE_OFFSET_BITS 64
   11622 #define _STRUCTURED_PROC 1
   11623 #include <sys/procfs.h>
   11624 int
   11625 main ()
   11626 {
   11627 
   11628   ;
   11629   return 0;
   11630 }
   11631 _ACEOF
   11632 if ac_fn_c_try_compile "$LINENO"; then :
   11633   acx_cv_procfs_lfs=yes
   11634 else
   11635   acx_cv_procfs_lfs=no
   11636 fi
   11637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11638     #
   11639     # Forcefully disable large-file support only if necessary, gdb is in
   11640     # tree and enabled.
   11641     if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
   11642          -a -d $srcdir/../gdb -a "$enable_gdb" != no; then
   11643       : ${enable_largefile="no"}
   11644       if test "$plugins" = yes; then
   11645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
   11646 plugin support disabled; require large-file support which is incompatible with GDB." >&5
   11647 $as_echo "$as_me: WARNING:
   11648 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
   11649 	plugins=no
   11650       fi
   11651     fi
   11652     #
   11653     # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
   11654     # benefit of g++ 9+ which predefines it on Solaris.
   11655     if test "$enable_largefile" = no; then
   11656       LARGEFILE_CPPFLAGS="-U_FILE_OFFSET_BITS"
   11657 
   11658     fi
   11659     ;;
   11660 esac
   11661 
   11662 # Check whether --enable-largefile was given.
   11663 if test "${enable_largefile+set}" = set; then :
   11664   enableval=$enable_largefile;
   11665 fi
   11666 
   11667 if test "$enable_largefile" != no; then
   11668 
   11669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   11670 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   11671 if ${ac_cv_sys_largefile_CC+:} false; then :
   11672   $as_echo_n "(cached) " >&6
   11673 else
   11674   ac_cv_sys_largefile_CC=no
   11675      if test "$GCC" != yes; then
   11676        ac_save_CC=$CC
   11677        while :; do
   11678 	 # IRIX 6.2 and later do not support large files by default,
   11679 	 # so use the C compiler's -n32 option if that helps.
   11680 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11681 /* end confdefs.h.  */
   11682 #include <sys/types.h>
   11683  /* Check that off_t can represent 2**63 - 1 correctly.
   11684     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11685     since some C++ compilers masquerading as C compilers
   11686     incorrectly reject 9223372036854775807.  */
   11687 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11688   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11689 		       && LARGE_OFF_T % 2147483647 == 1)
   11690 		      ? 1 : -1];
   11691 int
   11692 main ()
   11693 {
   11694 
   11695   ;
   11696   return 0;
   11697 }
   11698 _ACEOF
   11699 	 if ac_fn_c_try_compile "$LINENO"; then :
   11700   break
   11701 fi
   11702 rm -f core conftest.err conftest.$ac_objext
   11703 	 CC="$CC -n32"
   11704 	 if ac_fn_c_try_compile "$LINENO"; then :
   11705   ac_cv_sys_largefile_CC=' -n32'; break
   11706 fi
   11707 rm -f core conftest.err conftest.$ac_objext
   11708 	 break
   11709        done
   11710        CC=$ac_save_CC
   11711        rm -f conftest.$ac_ext
   11712     fi
   11713 fi
   11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   11715 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   11716   if test "$ac_cv_sys_largefile_CC" != no; then
   11717     CC=$CC$ac_cv_sys_largefile_CC
   11718   fi
   11719 
   11720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   11721 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   11722 if ${ac_cv_sys_file_offset_bits+:} false; then :
   11723   $as_echo_n "(cached) " >&6
   11724 else
   11725   while :; do
   11726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11727 /* end confdefs.h.  */
   11728 #include <sys/types.h>
   11729  /* Check that off_t can represent 2**63 - 1 correctly.
   11730     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11731     since some C++ compilers masquerading as C compilers
   11732     incorrectly reject 9223372036854775807.  */
   11733 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11734   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11735 		       && LARGE_OFF_T % 2147483647 == 1)
   11736 		      ? 1 : -1];
   11737 int
   11738 main ()
   11739 {
   11740 
   11741   ;
   11742   return 0;
   11743 }
   11744 _ACEOF
   11745 if ac_fn_c_try_compile "$LINENO"; then :
   11746   ac_cv_sys_file_offset_bits=no; break
   11747 fi
   11748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11750 /* end confdefs.h.  */
   11751 #define _FILE_OFFSET_BITS 64
   11752 #include <sys/types.h>
   11753  /* Check that off_t can represent 2**63 - 1 correctly.
   11754     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11755     since some C++ compilers masquerading as C compilers
   11756     incorrectly reject 9223372036854775807.  */
   11757 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11758   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11759 		       && LARGE_OFF_T % 2147483647 == 1)
   11760 		      ? 1 : -1];
   11761 int
   11762 main ()
   11763 {
   11764 
   11765   ;
   11766   return 0;
   11767 }
   11768 _ACEOF
   11769 if ac_fn_c_try_compile "$LINENO"; then :
   11770   ac_cv_sys_file_offset_bits=64; break
   11771 fi
   11772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11773   ac_cv_sys_file_offset_bits=unknown
   11774   break
   11775 done
   11776 fi
   11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   11778 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   11779 case $ac_cv_sys_file_offset_bits in #(
   11780   no | unknown) ;;
   11781   *)
   11782 cat >>confdefs.h <<_ACEOF
   11783 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   11784 _ACEOF
   11785 ;;
   11786 esac
   11787 rm -rf conftest*
   11788   if test $ac_cv_sys_file_offset_bits = unknown; then
   11789     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   11790 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   11791 if ${ac_cv_sys_large_files+:} false; then :
   11792   $as_echo_n "(cached) " >&6
   11793 else
   11794   while :; do
   11795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11796 /* end confdefs.h.  */
   11797 #include <sys/types.h>
   11798  /* Check that off_t can represent 2**63 - 1 correctly.
   11799     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11800     since some C++ compilers masquerading as C compilers
   11801     incorrectly reject 9223372036854775807.  */
   11802 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11803   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11804 		       && LARGE_OFF_T % 2147483647 == 1)
   11805 		      ? 1 : -1];
   11806 int
   11807 main ()
   11808 {
   11809 
   11810   ;
   11811   return 0;
   11812 }
   11813 _ACEOF
   11814 if ac_fn_c_try_compile "$LINENO"; then :
   11815   ac_cv_sys_large_files=no; break
   11816 fi
   11817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11819 /* end confdefs.h.  */
   11820 #define _LARGE_FILES 1
   11821 #include <sys/types.h>
   11822  /* Check that off_t can represent 2**63 - 1 correctly.
   11823     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11824     since some C++ compilers masquerading as C compilers
   11825     incorrectly reject 9223372036854775807.  */
   11826 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11827   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11828 		       && LARGE_OFF_T % 2147483647 == 1)
   11829 		      ? 1 : -1];
   11830 int
   11831 main ()
   11832 {
   11833 
   11834   ;
   11835   return 0;
   11836 }
   11837 _ACEOF
   11838 if ac_fn_c_try_compile "$LINENO"; then :
   11839   ac_cv_sys_large_files=1; break
   11840 fi
   11841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11842   ac_cv_sys_large_files=unknown
   11843   break
   11844 done
   11845 fi
   11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   11847 $as_echo "$ac_cv_sys_large_files" >&6; }
   11848 case $ac_cv_sys_large_files in #(
   11849   no | unknown) ;;
   11850   *)
   11851 cat >>confdefs.h <<_ACEOF
   11852 #define _LARGE_FILES $ac_cv_sys_large_files
   11853 _ACEOF
   11854 ;;
   11855 esac
   11856 rm -rf conftest*
   11857   fi
   11858 
   11859 
   11860 fi
   11861 
   11862 
   11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
   11864 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
   11865 if ${gcc_cv_prog_cmp_skip+:} false; then :
   11866   $as_echo_n "(cached) " >&6
   11867 else
   11868    echo abfoo >t1
   11869   echo cdfoo >t2
   11870   gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
   11871   if cmp t1 t2 2 2 > /dev/null 2>&1; then
   11872     if cmp t1 t2 1 1 > /dev/null 2>&1; then
   11873       :
   11874     else
   11875       gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
   11876     fi
   11877   fi
   11878   if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
   11879     if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
   11880       :
   11881     else
   11882       gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
   11883     fi
   11884   fi
   11885   rm t1 t2
   11886 
   11887 fi
   11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
   11889 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
   11890 do_compare="$gcc_cv_prog_cmp_skip"
   11891 
   11892 
   11893 
   11894 # Check whether --enable-targets was given.
   11895 if test "${enable_targets+set}" = set; then :
   11896   enableval=$enable_targets; case "${enableval}" in
   11897   yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
   11898 	    ;;
   11899   no)	    enable_targets= ;;
   11900   *)	    enable_targets=$enableval ;;
   11901 esac
   11902 fi
   11903 
   11904 ac_checking=
   11905 . ${srcdir}/bfd/development.sh
   11906 test "$development" = true && ac_checking=yes
   11907 # Check whether --enable-checking was given.
   11908 if test "${enable_checking+set}" = set; then :
   11909   enableval=$enable_checking; case "${enableval}" in
   11910   no|none)  ac_checking= ;;
   11911   *)	    ac_checking=yes ;;
   11912 esac
   11913 fi
   11914 if test x$ac_checking != x ; then
   11915 
   11916 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
   11917 
   11918 fi
   11919 
   11920 # PR gas/19109
   11921 # Decide the default method for compressing debug sections.
   11922 ac_default_compressed_debug_sections=unset
   11923 # Provide a configure time option to override our default.
   11924 # Check whether --enable-compressed_debug_sections was given.
   11925 if test "${enable_compressed_debug_sections+set}" = set; then :
   11926   enableval=$enable_compressed_debug_sections; case ,"${enableval}", in
   11927   ,yes, | ,all, | *,gas,*) ac_default_compressed_debug_sections=yes ;;
   11928   ,no, | ,none,)  ac_default_compressed_debug_sections=no ;;
   11929   *)   ac_default_compressed_debug_sections=unset ;;
   11930 esac
   11931 fi
   11932 
   11933 # Select default compression algorithm.
   11934 ac_default_compressed_debug_sections_algorithm=COMPRESS_DEBUG_GABI_ZLIB
   11935 # Check whether --enable-default_compressed_debug_sections_algorithm was given.
   11936 if test "${enable_default_compressed_debug_sections_algorithm+set}" = set; then :
   11937   enableval=$enable_default_compressed_debug_sections_algorithm; case "${enableval}" in
   11938    zstd) ac_default_compressed_debug_sections_algorithm=COMPRESS_DEBUG_ZSTD ;;
   11939 esac
   11940 fi
   11941 
   11942 # PR gas/32022
   11943 # Decide if x86 assembler should check TLS relocation.
   11944 ac_default_x86_tls_check=unset
   11945 # Provide a configure time option to override our default.
   11946 # Check whether --enable-x86_tls_check was given.
   11947 if test "${enable_x86_tls_check+set}" = set; then :
   11948   enableval=$enable_x86_tls_check; case "${enableval}" in
   11949   no)  ac_default_x86_tls_check=0 ;;
   11950 esac
   11951 fi
   11952 
   11953 # Decide if ELF assembler should generate common symbols with the
   11954 # STT_COMMON type.
   11955 ac_default_elf_stt_common=unset
   11956 # Provide a configure time option to override our default.
   11957 # Check whether --enable-elf_stt_common was given.
   11958 if test "${enable_elf_stt_common+set}" = set; then :
   11959   enableval=$enable_elf_stt_common; case "${enableval}" in
   11960   yes)  ac_default_elf_stt_common=1 ;;
   11961 esac
   11962 fi
   11963 
   11964 ac_default_sframe=unset
   11965 # Provide a configure time option to override our default.
   11966 # Check whether --enable-default-sframe was given.
   11967 if test "${enable_default_sframe+set}" = set; then :
   11968   enableval=$enable_default_sframe; case "${enableval}" in
   11969   yes) ac_default_sframe=1 ;;
   11970   no)  ac_default_sframe=0 ;;
   11971 esac
   11972 fi
   11973 
   11974 # Decide if the ELF assembler should default to generating
   11975 # GNU Build notes if none are provided by the input.
   11976 ac_default_generate_build_notes=0
   11977 # Provide a configuration option to override the default.
   11978 # Check whether --enable-generate_build_notes was given.
   11979 if test "${enable_generate_build_notes+set}" = set; then :
   11980   enableval=$enable_generate_build_notes; case "${enableval}" in
   11981   yes)  ac_default_generate_build_notes=1 ;;
   11982   no)   ac_default_generate_build_notes=0 ;;
   11983 esac
   11984 fi
   11985 
   11986 # Decide if the MIPS assembler should default to enable MIPS fix Loongson3
   11987 # LLSC errata.
   11988 ac_default_mips_fix_loongson3_llsc=unset
   11989 # Provide a configuration option to override the default.
   11990 # Check whether --enable-mips-fix-loongson3-llsc was given.
   11991 if test "${enable_mips_fix_loongson3_llsc+set}" = set; then :
   11992   enableval=$enable_mips_fix_loongson3_llsc; case "${enableval}" in
   11993   yes)  ac_default_mips_fix_loongson3_llsc=1 ;;
   11994   no)   ac_default_mips_fix_loongson3_llsc=0 ;;
   11995 esac
   11996 fi
   11997 
   11998 # Decide if the x86 ELF assembler should default to generating GNU x86
   11999 # used ISA and feature properties.
   12000 ac_default_generate_x86_used_note=unset
   12001 # Provide a configuration option to override the default.
   12002 # Check whether --enable-x86-used-note was given.
   12003 if test "${enable_x86_used_note+set}" = set; then :
   12004   enableval=$enable_x86_used_note; case "${enableval}" in
   12005   yes)  ac_default_generate_x86_used_note=1 ;;
   12006   no)   ac_default_generate_x86_used_note=0 ;;
   12007 esac
   12008 fi
   12009 
   12010 # Decide if the RISC-V ELF assembler should default to generating attribute.
   12011 ac_default_generate_riscv_attr=unset
   12012 # Provide a configuration option to override the default.
   12013 # Check whether --enable-default-riscv-attribute was given.
   12014 if test "${enable_default_riscv_attribute+set}" = set; then :
   12015   enableval=$enable_default_riscv_attribute; case "${enableval}" in
   12016   yes)  ac_default_generate_riscv_attr=1 ;;
   12017   no)   ac_default_generate_riscv_attr=0 ;;
   12018 esac
   12019 fi
   12020 
   12021 using_cgen=no
   12022 
   12023 
   12024 # Set the 'development' global.
   12025 . $srcdir/bfd/development.sh
   12026 
   12027 # Set acp_cpp_for_build variable
   12028 ac_cpp_for_build="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
   12029 
   12030 # Default set of GCC warnings to enable.
   12031 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   12032 GCC_WARN_CFLAGS_FOR_BUILD="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   12033 
   12034 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12036 /* end confdefs.h.  */
   12037 __GNUC__
   12038 _ACEOF
   12039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12040   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12041 
   12042 else
   12043   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
   12044 fi
   12045 rm -f conftest*
   12046 
   12047 
   12048 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   12049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12050 /* end confdefs.h.  */
   12051 __GNUC__
   12052 _ACEOF
   12053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12054   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12055 
   12056 else
   12057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12058 /* end confdefs.h.  */
   12059 __clang__
   12060 _ACEOF
   12061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12062   $EGREP "^__clang__$" >/dev/null 2>&1; then :
   12063   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
   12064 fi
   12065 rm -f conftest*
   12066 
   12067 fi
   12068 rm -f conftest*
   12069 
   12070 
   12071 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
   12072 WARN_WRITE_STRINGS=""
   12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12074 /* end confdefs.h.  */
   12075 __GNUC__
   12076 _ACEOF
   12077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12078   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12079 
   12080 else
   12081   WARN_WRITE_STRINGS="-Wwrite-strings"
   12082 fi
   12083 rm -f conftest*
   12084 
   12085 
   12086 # Verify CC_FOR_BUILD to be compatible with warning flags
   12087 
   12088 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   12089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12090 /* end confdefs.h.  */
   12091 __GNUC__
   12092 _ACEOF
   12093 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12094   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12095 
   12096 else
   12097   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
   12098 fi
   12099 rm -f conftest*
   12100 
   12101 
   12102 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12104 /* end confdefs.h.  */
   12105 __GNUC__
   12106 _ACEOF
   12107 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12108   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12109 
   12110 else
   12111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12112 /* end confdefs.h.  */
   12113 __clang__
   12114 _ACEOF
   12115 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12116   $EGREP "^__clang__$" >/dev/null 2>&1; then :
   12117   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
   12118 fi
   12119 rm -f conftest*
   12120 
   12121 fi
   12122 rm -f conftest*
   12123 
   12124 
   12125 # Check whether --enable-werror was given.
   12126 if test "${enable_werror+set}" = set; then :
   12127   enableval=$enable_werror; case "${enableval}" in
   12128      yes | y) ERROR_ON_WARNING="yes" ;;
   12129      no | n)  ERROR_ON_WARNING="no" ;;
   12130      *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
   12131    esac
   12132 fi
   12133 
   12134 
   12135 # Disable -Wformat by default when using gcc on mingw
   12136 case "${host}" in
   12137   *-*-mingw32*)
   12138     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   12139       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
   12140       GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
   12141     fi
   12142     ;;
   12143   *) ;;
   12144 esac
   12145 
   12146 # Enable -Werror by default when using gcc.  Turn it off for releases.
   12147 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
   12148     ERROR_ON_WARNING=yes
   12149 fi
   12150 
   12151 NO_WERROR=
   12152 if test "${ERROR_ON_WARNING}" = yes ; then
   12153     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
   12154     GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
   12155     NO_WERROR="-Wno-error"
   12156 fi
   12157 
   12158 if test "${GCC}" = yes ; then
   12159   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   12160   WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}"
   12161 fi
   12162 
   12163 # Check whether --enable-build-warnings was given.
   12164 if test "${enable_build_warnings+set}" = set; then :
   12165   enableval=$enable_build_warnings; case "${enableval}" in
   12166   yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   12167         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}";;
   12168   no)	if test "${GCC}" = yes ; then
   12169 	  WARN_CFLAGS="-w"
   12170       WARN_CFLAGS_FOR_BUILD="-w"
   12171 	fi;;
   12172   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   12173         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}"
   12174         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
   12175   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   12176         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}"
   12177         WARN_CFLAGS_FOR_BUILD="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
   12178   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`
   12179         WARN_CFLAGS_FOR_BUILD=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   12180 esac
   12181 fi
   12182 
   12183 
   12184 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
   12185   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
   12186 fi
   12187 
   12188 
   12189 
   12190 
   12191 
   12192 
   12193 
   12194 # Generate a header file
   12195 ac_config_headers="$ac_config_headers config.h:config.in"
   12196 
   12197 
   12198 
   12199 # Check whether --with-cpu was given.
   12200 if test "${with_cpu+set}" = set; then :
   12201   withval=$with_cpu;
   12202 cat >>confdefs.h <<_ACEOF
   12203 #define TARGET_WITH_CPU "${with_cpu}"
   12204 _ACEOF
   12205 
   12206 fi
   12207 
   12208 
   12209 # PR 14072
   12210 
   12211 
   12212 # If we are on a DOS filesystem, we must use gdb.ini rather than
   12213 # .gdbinit.
   12214 case "${host}" in
   12215   *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*)
   12216     GDBINIT="gdb.ini"
   12217     ac_config_files="$ac_config_files gdb.ini:gdbinit.in"
   12218 
   12219     ;;
   12220   *)
   12221     GDBINIT=".gdbinit"
   12222     ac_config_files="$ac_config_files .gdbinit:gdbinit.in"
   12223 
   12224     ;;
   12225 esac
   12226 
   12227 
   12228 #We need this for the host.
   12229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   12230 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   12231 if ${ac_cv_c_bigendian+:} false; then :
   12232   $as_echo_n "(cached) " >&6
   12233 else
   12234   ac_cv_c_bigendian=unknown
   12235     # See if we're dealing with a universal compiler.
   12236     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12237 /* end confdefs.h.  */
   12238 #ifndef __APPLE_CC__
   12239 	       not a universal capable compiler
   12240 	     #endif
   12241 	     typedef int dummy;
   12242 
   12243 _ACEOF
   12244 if ac_fn_c_try_compile "$LINENO"; then :
   12245 
   12246 	# Check for potential -arch flags.  It is not universal unless
   12247 	# there are at least two -arch flags with different values.
   12248 	ac_arch=
   12249 	ac_prev=
   12250 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   12251 	 if test -n "$ac_prev"; then
   12252 	   case $ac_word in
   12253 	     i?86 | x86_64 | ppc | ppc64)
   12254 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   12255 		 ac_arch=$ac_word
   12256 	       else
   12257 		 ac_cv_c_bigendian=universal
   12258 		 break
   12259 	       fi
   12260 	       ;;
   12261 	   esac
   12262 	   ac_prev=
   12263 	 elif test "x$ac_word" = "x-arch"; then
   12264 	   ac_prev=arch
   12265 	 fi
   12266        done
   12267 fi
   12268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12269     if test $ac_cv_c_bigendian = unknown; then
   12270       # See if sys/param.h defines the BYTE_ORDER macro.
   12271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12272 /* end confdefs.h.  */
   12273 #include <sys/types.h>
   12274 	     #include <sys/param.h>
   12275 
   12276 int
   12277 main ()
   12278 {
   12279 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   12280 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   12281 		     && LITTLE_ENDIAN)
   12282 	      bogus endian macros
   12283 	     #endif
   12284 
   12285   ;
   12286   return 0;
   12287 }
   12288 _ACEOF
   12289 if ac_fn_c_try_compile "$LINENO"; then :
   12290   # It does; now see whether it defined to BIG_ENDIAN or not.
   12291 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12292 /* end confdefs.h.  */
   12293 #include <sys/types.h>
   12294 		#include <sys/param.h>
   12295 
   12296 int
   12297 main ()
   12298 {
   12299 #if BYTE_ORDER != BIG_ENDIAN
   12300 		 not big endian
   12301 		#endif
   12302 
   12303   ;
   12304   return 0;
   12305 }
   12306 _ACEOF
   12307 if ac_fn_c_try_compile "$LINENO"; then :
   12308   ac_cv_c_bigendian=yes
   12309 else
   12310   ac_cv_c_bigendian=no
   12311 fi
   12312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12313 fi
   12314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12315     fi
   12316     if test $ac_cv_c_bigendian = unknown; then
   12317       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   12318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12319 /* end confdefs.h.  */
   12320 #include <limits.h>
   12321 
   12322 int
   12323 main ()
   12324 {
   12325 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   12326 	      bogus endian macros
   12327 	     #endif
   12328 
   12329   ;
   12330   return 0;
   12331 }
   12332 _ACEOF
   12333 if ac_fn_c_try_compile "$LINENO"; then :
   12334   # It does; now see whether it defined to _BIG_ENDIAN or not.
   12335 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12336 /* end confdefs.h.  */
   12337 #include <limits.h>
   12338 
   12339 int
   12340 main ()
   12341 {
   12342 #ifndef _BIG_ENDIAN
   12343 		 not big endian
   12344 		#endif
   12345 
   12346   ;
   12347   return 0;
   12348 }
   12349 _ACEOF
   12350 if ac_fn_c_try_compile "$LINENO"; then :
   12351   ac_cv_c_bigendian=yes
   12352 else
   12353   ac_cv_c_bigendian=no
   12354 fi
   12355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12356 fi
   12357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12358     fi
   12359     if test $ac_cv_c_bigendian = unknown; then
   12360       # Compile a test program.
   12361       if test "$cross_compiling" = yes; then :
   12362   # Try to guess by grepping values from an object file.
   12363 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12364 /* end confdefs.h.  */
   12365 short int ascii_mm[] =
   12366 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   12367 		short int ascii_ii[] =
   12368 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   12369 		int use_ascii (int i) {
   12370 		  return ascii_mm[i] + ascii_ii[i];
   12371 		}
   12372 		short int ebcdic_ii[] =
   12373 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   12374 		short int ebcdic_mm[] =
   12375 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   12376 		int use_ebcdic (int i) {
   12377 		  return ebcdic_mm[i] + ebcdic_ii[i];
   12378 		}
   12379 		extern int foo;
   12380 
   12381 int
   12382 main ()
   12383 {
   12384 return use_ascii (foo) == use_ebcdic (foo);
   12385   ;
   12386   return 0;
   12387 }
   12388 _ACEOF
   12389 if ac_fn_c_try_compile "$LINENO"; then :
   12390   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   12391 	      ac_cv_c_bigendian=yes
   12392 	    fi
   12393 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   12394 	      if test "$ac_cv_c_bigendian" = unknown; then
   12395 		ac_cv_c_bigendian=no
   12396 	      else
   12397 		# finding both strings is unlikely to happen, but who knows?
   12398 		ac_cv_c_bigendian=unknown
   12399 	      fi
   12400 	    fi
   12401 fi
   12402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12403 else
   12404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12405 /* end confdefs.h.  */
   12406 $ac_includes_default
   12407 int
   12408 main ()
   12409 {
   12410 
   12411 	     /* Are we little or big endian?  From Harbison&Steele.  */
   12412 	     union
   12413 	     {
   12414 	       long int l;
   12415 	       char c[sizeof (long int)];
   12416 	     } u;
   12417 	     u.l = 1;
   12418 	     return u.c[sizeof (long int) - 1] == 1;
   12419 
   12420   ;
   12421   return 0;
   12422 }
   12423 _ACEOF
   12424 if ac_fn_c_try_run "$LINENO"; then :
   12425   ac_cv_c_bigendian=no
   12426 else
   12427   ac_cv_c_bigendian=yes
   12428 fi
   12429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12430   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12431 fi
   12432 
   12433     fi
   12434 fi
   12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   12436 $as_echo "$ac_cv_c_bigendian" >&6; }
   12437  case $ac_cv_c_bigendian in #(
   12438    yes)
   12439      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   12440 ;; #(
   12441    no)
   12442       ;; #(
   12443    universal)
   12444 
   12445 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   12446 
   12447      ;; #(
   12448    *)
   12449      as_fn_error $? "unknown endianness
   12450  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   12451  esac
   12452 
   12453 
   12454 te_file=generic
   12455 
   12456 # Makefile target for installing gas in $(tooldir)/bin.
   12457 install_tooldir=install-exec-tooldir
   12458 
   12459 canon_targets=""
   12460 all_targets=no
   12461 if test -n "$enable_targets" ; then
   12462   for t in `echo $enable_targets | sed 's/,/ /g'`; do
   12463     if test $t = "all"; then
   12464       all_targets=yes
   12465       continue
   12466     fi
   12467     result=`$ac_config_sub $t 2>/dev/null`
   12468     if test -n "$result" ; then
   12469       canon_targets="$canon_targets $result"
   12470 #    else
   12471 #      # Permit "all", etc.  We don't support it yet though.
   12472 #      canon_targets="$canon_targets $t"
   12473     fi
   12474   done
   12475   _gas_uniq_list="$canon_targets"
   12476 _gas_uniq_newlist=""
   12477 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
   12478   case $_gas_uniq_i in
   12479   _gas_uniq_dummy) ;;
   12480   *) case " $_gas_uniq_newlist " in
   12481        *" $_gas_uniq_i "*) ;;
   12482        *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
   12483      esac ;;
   12484   esac
   12485 done
   12486 canon_targets=$_gas_uniq_newlist
   12487 
   12488 fi
   12489 
   12490 emulations=""
   12491 
   12492 for this_target in $target $canon_targets ; do
   12493 
   12494     targ=${this_target}
   12495     . ${srcdir}/configure.tgt
   12496 
   12497     case ${target_cpu} in
   12498       crisv32)
   12499 
   12500 cat >>confdefs.h <<_ACEOF
   12501 #define DEFAULT_CRIS_ARCH $arch
   12502 _ACEOF
   12503 
   12504 	;;
   12505     esac
   12506 
   12507     if test ${this_target} = $target ; then
   12508       target_cpu_type=${cpu_type}
   12509     elif test ${target_cpu_type} != ${cpu_type} ; then
   12510       continue
   12511     fi
   12512 
   12513     generic_target=${cpu_type}-${target_vendor}-${target_os}
   12514     case ${generic_target} in
   12515       i386-*-msdosdjgpp* \
   12516       | i386-*-go32*)
   12517 
   12518 $as_echo "#define STRICTCOFF 1" >>confdefs.h
   12519 
   12520 	;;
   12521 
   12522       i386-*-linux-* | x86_64-*-linux-*)
   12523 	if test ${this_target} = $target \
   12524 	   && test ${ac_default_generate_x86_used_note} = unset; then
   12525 	  ac_default_generate_x86_used_note=1
   12526 	fi
   12527 	;;
   12528 
   12529       microblaze*)
   12530         ;;
   12531 
   12532       ppc-*-aix5.[01]*)
   12533 	;;
   12534       ppc-*-aix[5-9].*)
   12535 
   12536 $as_echo "#define AIX_WEAK_SUPPORT 1" >>confdefs.h
   12537 
   12538 	;;
   12539     esac
   12540 
   12541     if test ${this_target} = $target ; then
   12542       endian_def=
   12543       if test x${endian} = xbig; then
   12544 	endian_def=1
   12545       elif test x${endian} = xlittle; then
   12546 	endian_def=0
   12547       fi
   12548       if test x${endian_def} != x; then
   12549 
   12550 cat >>confdefs.h <<_ACEOF
   12551 #define TARGET_BYTES_BIG_ENDIAN $endian_def
   12552 _ACEOF
   12553 
   12554       fi
   12555     fi
   12556 
   12557 # Other random stuff.
   12558 
   12559     case ${cpu_type} in
   12560       mips)
   12561 	# Set mips_cpu to the name of the default CPU.
   12562 	case ${target_cpu} in
   12563 	  mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el)
   12564 	    mips_cpu=from-abi
   12565 	    ;;
   12566 	  mipsisa32 | mipsisa32el)
   12567 	    mips_cpu=mips32
   12568 	    ;;
   12569 	  mipsisa32r2 | mipsisa32r2el)
   12570 	    mips_cpu=mips32r2
   12571 	    ;;
   12572 	  mipsisa32r3 | mipsisa32r3el)
   12573 	    mips_cpu=mips32r3
   12574 	    ;;
   12575 	  mipsisa32r5 | mipsisa32r5el)
   12576 	    mips_cpu=mips32r5
   12577 	    ;;
   12578 	  mipsisa32r6 | mipsisa32r6el)
   12579 	    mips_cpu=mips32r6
   12580 	    ;;
   12581 	  mipsisa64 | mipsisa64el)
   12582 	    mips_cpu=mips64
   12583 	    ;;
   12584 	  mipsisa64r2 | mipsisa64r2el)
   12585 	    mips_cpu=mips64r2
   12586 	    ;;
   12587 	  mipsisa64r3 | mipsisa64r3el)
   12588 	    mips_cpu=mips64r3
   12589 	    ;;
   12590 	  mipsisa64r5 | mipsisa64r5el)
   12591 	    mips_cpu=mips64r5
   12592 	    ;;
   12593 	  mipsisa64r6 | mipsisa64r6el)
   12594 	    mips_cpu=mips64r6
   12595 	    ;;
   12596 	  mipstx39 | mipstx39el)
   12597 	    mips_cpu=r3900
   12598 	    ;;
   12599 	  mips64vr | mips64vrel)
   12600 	    mips_cpu=vr4100
   12601 	    ;;
   12602 	  mipsisa32r2* | mipsisa64r2*)
   12603 	    mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
   12604 	    ;;
   12605 	  mipsisa32r6* | mipsisa64r6*)
   12606 	    mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r6//' -e 's/el$//'`
   12607 	    ;;
   12608 	  mips64* | mipsisa64* | mipsisa32*)
   12609 	    mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
   12610 	    ;;
   12611 	  mips*)
   12612 	    mips_cpu=`echo $target_cpu | sed -e 's/^mips//' -e 's/el$//'`
   12613 	    ;;
   12614 	  *)
   12615 	    as_fn_error $? "$target_cpu isn't a supported MIPS CPU name" "$LINENO" 5
   12616 	    ;;
   12617 	esac
   12618 	# See whether it's appropriate to set EF_MIPS_ABI_O32 for o32
   12619 	# binaries.  It's a GNU extension that some OSes don't understand.
   12620 	case ${target} in
   12621 	  *-*-irix*)
   12622 	    use_ef_mips_abi_o32=0
   12623 	    ;;
   12624 	  *)
   12625 	    use_ef_mips_abi_o32=1
   12626 	    ;;
   12627 	esac
   12628 	# If target vendor is IMG, then MIPSr6 is used.
   12629 	case ${target} in
   12630 	  mips64*-img-*)
   12631 	    mips_cpu=mips64r6
   12632 	    ;;
   12633 	  mips*-img-*)
   12634 	    mips_cpu=mips32r6
   12635 	    ;;
   12636 	esac
   12637 	# Decide whether to generate 32-bit or 64-bit code by default.
   12638 	# Used to resolve -march=from-abi when an embedded ABI is selected.
   12639 	case ${target} in
   12640 	  mips64*-*-* | mipsisa64*-*-*)
   12641 	    mips_default_64bit=1
   12642 	    ;;
   12643 	  *)
   12644 	    mips_default_64bit=0
   12645 	    ;;
   12646 	esac
   12647 	# Decide which ABI to target by default.
   12648 	case ${target} in
   12649 	  mips64*-openbsd* | mips64*-linux-gnuabi64)
   12650 	    mips_default_abi=N64_ABI
   12651 	    ;;
   12652 	  mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* \
   12653 	  | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*)
   12654 	    mips_default_abi=N32_ABI
   12655 	    ;;
   12656 	  mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu)
   12657 	    mips_default_abi=O32_ABI
   12658 	    ;;
   12659 	  *)
   12660 	    mips_default_abi=NO_ABI
   12661 	    ;;
   12662 	esac
   12663 
   12664 cat >>confdefs.h <<_ACEOF
   12665 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
   12666 _ACEOF
   12667 
   12668 
   12669 cat >>confdefs.h <<_ACEOF
   12670 #define USE_EF_MIPS_ABI_O32 $use_ef_mips_abi_o32
   12671 _ACEOF
   12672 
   12673 
   12674 cat >>confdefs.h <<_ACEOF
   12675 #define MIPS_DEFAULT_64BIT $mips_default_64bit
   12676 _ACEOF
   12677 
   12678 
   12679 cat >>confdefs.h <<_ACEOF
   12680 #define MIPS_DEFAULT_ABI $mips_default_abi
   12681 _ACEOF
   12682 
   12683 	;;
   12684     esac
   12685 
   12686     # Do we need the opcodes library?
   12687     case ${cpu_type} in
   12688       vax | tic30 | i386 | arm)
   12689 	;;
   12690 
   12691       *)
   12692 	need_opcodes=yes
   12693 
   12694 	case "${enable_shared}" in
   12695 	yes) shared_opcodes=true ;;
   12696 	*opcodes*) shared_opcodes=true ;;
   12697 	*) shared_opcodes=false ;;
   12698 	esac
   12699 	;;
   12700     esac
   12701 
   12702     # Does the target support Object Attributes ?
   12703     case ${cpu_type} in
   12704       aarch64* | arc* | arm* | csky | loongarch | m68k | mips* | msp430 \
   12705       | ppc* | riscv* | s390* | sparc* | tic6x)
   12706 	for f in config/obj-elf-attr.o; do
   12707 	  case " $extra_objects " in
   12708 	    *" $f "*) ;;
   12709 	    *) extra_objects="$extra_objects $f" ;;
   12710 	  esac
   12711 	done
   12712 	;;
   12713     esac
   12714 
   12715     # Any other special object files needed ?
   12716     case ${cpu_type} in
   12717 
   12718       bfin)
   12719 	for f in config/bfin-parse.o config/bfin-lex-wrapper.o; do
   12720 	  case " $extra_objects " in
   12721 	    *" $f "*) ;;
   12722 	    *) extra_objects="$extra_objects $f" ;;
   12723 	  esac
   12724 	done
   12725 	;;
   12726 
   12727       bpf)
   12728       	if test $this_target = $target ; then
   12729 
   12730 cat >>confdefs.h <<_ACEOF
   12731 #define DEFAULT_ARCH "${arch}"
   12732 _ACEOF
   12733 
   12734 	fi
   12735         ;;
   12736       epiphany | fr30 | ip2k | iq2000 | lm32 | m32r | or1k)
   12737 	using_cgen=yes
   12738 	;;
   12739 
   12740       loongarch)
   12741 	for f in config/loongarch-parse.o config/loongarch-lex-wrapper.o; do
   12742 	  case " $extra_objects " in
   12743 	    *" $f "*) ;;
   12744 	    *) extra_objects="$extra_objects $f" ;;
   12745 	  esac
   12746 	done
   12747         # --target=loongarch[32|64]-*-*.  */
   12748         if test $this_target = $target ; then
   12749 
   12750 cat >>confdefs.h <<_ACEOF
   12751 #define DEFAULT_ARCH "${arch}"
   12752 _ACEOF
   12753 
   12754         fi
   12755 	;;
   12756 
   12757       m32c)
   12758 	using_cgen=yes
   12759 	;;
   12760       frv)
   12761 	using_cgen=yes
   12762 	;;
   12763       kvx)
   12764 	for f in config/kvx-parse.o; do
   12765 	  case " $extra_objects " in
   12766 	    *" $f "*) ;;
   12767 	    *) extra_objects="$extra_objects $f" ;;
   12768 	  esac
   12769 	done
   12770 	;;
   12771       m68k)
   12772 	f=config/m68k-parse.o
   12773 	case " $extra_objects " in
   12774 	  *" $f "*) ;;
   12775 	  *) extra_objects="$extra_objects $f" ;;
   12776 	esac
   12777 	;;
   12778 
   12779       mep)
   12780 	using_cgen=yes
   12781 	;;
   12782 
   12783       mips)
   12784 	for f in itbl-parse.o itbl-lex-wrapper.o itbl-ops.o; do
   12785 	  case " $extra_objects " in
   12786 	    *" $f "*) ;;
   12787 	    *) extra_objects="$extra_objects $f" ;;
   12788 	  esac
   12789 	done
   12790 	;;
   12791 
   12792       mt)
   12793 	using_cgen=yes
   12794 	;;
   12795 
   12796       nds32)
   12797 	# setup NDS32_LINUX_TOOLCHAIN definition
   12798 	if test "linux" = $em; then
   12799 
   12800 $as_echo "#define NDS32_LINUX_TOOLCHAIN 1" >>confdefs.h
   12801 
   12802 	else
   12803 
   12804 $as_echo "#define NDS32_LINUX_TOOLCHAIN 0" >>confdefs.h
   12805 
   12806 	fi
   12807 
   12808 	# Decide BASELINE, REDUCED_REGS, FPU_DP_EXT, FPU_SP_EXT features
   12809 	# based on arch_name.
   12810 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-arch" >&5
   12811 $as_echo_n "checking for default configuration of --with-arch... " >&6; }
   12812 	if test "x${with_arch}" != x; then
   12813 	  case ${with_arch} in
   12814 	    v2j | v2s | v2f | v2 | v3m | v3j | v3s | v3f | v3 )
   12815 
   12816 cat >>confdefs.h <<_ACEOF
   12817 #define NDS32_DEFAULT_ARCH_NAME "$with_arch"
   12818 _ACEOF
   12819 
   12820 	      ;;
   12821 	    *)
   12822 	      as_fn_error $? "This kind of arch name does *NOT* exist!" "$LINENO" 5
   12823 	      ;;
   12824 	  esac
   12825 	fi
   12826 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_arch" >&5
   12827 $as_echo "$with_arch" >&6; }
   12828 
   12829 	# Decide features one by one.
   12830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5
   12831 $as_echo_n "checking for default configuration of --enable-dx-regs... " >&6; }
   12832 	if test "x${enable_dx_regs}" = xyes; then
   12833 
   12834 $as_echo "#define NDS32_DEFAULT_DX_REGS 1" >>confdefs.h
   12835 
   12836 	else
   12837 
   12838 $as_echo "#define NDS32_DEFAULT_DX_REGS 0" >>confdefs.h
   12839 
   12840 	fi
   12841 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dx_regs" >&5
   12842 $as_echo "$enable_dx_regs" >&6; }
   12843 
   12844 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5
   12845 $as_echo_n "checking for default configuration of --enable-perf-ext... " >&6; }
   12846 	if test "x${enable_perf_ext}" = xno; then
   12847 
   12848 $as_echo "#define NDS32_DEFAULT_PERF_EXT 0" >>confdefs.h
   12849 
   12850 	else
   12851 
   12852 $as_echo "#define NDS32_DEFAULT_PERF_EXT 1" >>confdefs.h
   12853 
   12854 	fi
   12855 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext" >&5
   12856 $as_echo "$enable_perf_ext" >&6; }
   12857 
   12858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5
   12859 $as_echo_n "checking for default configuration of --enable-perf-ext2... " >&6; }
   12860 	if test "x${enable_perf_ext2}" = xno; then
   12861 
   12862 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 0" >>confdefs.h
   12863 
   12864 	else
   12865 
   12866 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 1" >>confdefs.h
   12867 
   12868 	fi
   12869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext2" >&5
   12870 $as_echo "$enable_perf_ext2" >&6; }
   12871 
   12872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5
   12873 $as_echo_n "checking for default configuration of --enable-string-ext... " >&6; }
   12874 	if test "x${enable_string_ext}" = xno; then
   12875 
   12876 $as_echo "#define NDS32_DEFAULT_STRING_EXT 0" >>confdefs.h
   12877 
   12878 	else
   12879 
   12880 $as_echo "#define NDS32_DEFAULT_STRING_EXT 1" >>confdefs.h
   12881 
   12882 	fi
   12883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_string_ext" >&5
   12884 $as_echo "$enable_string_ext" >&6; }
   12885 
   12886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5
   12887 $as_echo_n "checking for default configuration of --enable-audio-ext... " >&6; }
   12888 	if test "x${enable_audio_ext}" = xno; then
   12889 
   12890 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 0" >>confdefs.h
   12891 
   12892 	else
   12893 
   12894 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 1" >>confdefs.h
   12895 
   12896 	fi
   12897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_audio_ext" >&5
   12898 $as_echo "$enable_audio_ext" >&6; }
   12899 
   12900 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dsp-ext" >&5
   12901 $as_echo_n "checking for default configuration of --enable-dsp-ext... " >&6; }
   12902 	if test "x${enable_dsp_ext}" = xno; then
   12903 
   12904 $as_echo "#define NDS32_DEFAULT_DSP_EXT 0" >>confdefs.h
   12905 
   12906 	else
   12907 
   12908 $as_echo "#define NDS32_DEFAULT_DSP_EXT 1" >>confdefs.h
   12909 
   12910 	fi
   12911 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dsp_ext" >&5
   12912 $as_echo "$enable_dsp_ext" >&6; }
   12913 
   12914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-zol-ext" >&5
   12915 $as_echo_n "checking for default configuration of --enable-zol-ext... " >&6; }
   12916 	if test "x${enable_zol_ext}" = xno; then
   12917 
   12918 $as_echo "#define NDS32_DEFAULT_ZOL_EXT 0" >>confdefs.h
   12919 
   12920 	else
   12921 
   12922 $as_echo "#define NDS32_DEFAULT_ZOL_EXT 1" >>confdefs.h
   12923 
   12924 	fi
   12925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_zol_ext" >&5
   12926 $as_echo "$enable_zol_ext" >&6; }
   12927 	;;
   12928 
   12929       aarch64 | i386 | s390 | sparc)
   12930 	if test $this_target = $target ; then
   12931 
   12932 cat >>confdefs.h <<_ACEOF
   12933 #define DEFAULT_ARCH "${arch}"
   12934 _ACEOF
   12935 
   12936 	fi
   12937 	;;
   12938 
   12939       riscv)
   12940         # --target=riscv[32|64]-*-*.  */
   12941         if test $this_target = $target ; then
   12942 
   12943 cat >>confdefs.h <<_ACEOF
   12944 #define DEFAULT_ARCH "${arch}"
   12945 _ACEOF
   12946 
   12947         fi
   12948 
   12949         # --with-arch=<value>.  The syntax of <value> is same as Gas option -march.
   12950         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-arch" >&5
   12951 $as_echo_n "checking for default configuration of --with-arch... " >&6; }
   12952         if test "x${with_arch}" != x; then
   12953 
   12954 cat >>confdefs.h <<_ACEOF
   12955 #define DEFAULT_RISCV_ARCH_WITH_EXT "$with_arch"
   12956 _ACEOF
   12957 
   12958         fi
   12959         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_arch" >&5
   12960 $as_echo "$with_arch" >&6; }
   12961 
   12962         # --with-isa-spec=[2.2|20190608|20191213].
   12963         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-isa-spec" >&5
   12964 $as_echo_n "checking for default configuration of --with-isa-spec... " >&6; }
   12965         if test "x${with_isa_spec}" != x; then
   12966 
   12967 cat >>confdefs.h <<_ACEOF
   12968 #define DEFAULT_RISCV_ISA_SPEC "$with_isa_spec"
   12969 _ACEOF
   12970 
   12971         fi
   12972         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_isa_spec" >&5
   12973 $as_echo "$with_isa_spec" >&6; }
   12974 
   12975         # --with-priv-spec=[1.9.1|1.10|1.11|1.12|1.13].
   12976         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-priv-spec" >&5
   12977 $as_echo_n "checking for default configuration of --with-priv-spec... " >&6; }
   12978         if test "x${with_priv_spec}" != x; then
   12979 
   12980 cat >>confdefs.h <<_ACEOF
   12981 #define DEFAULT_RISCV_PRIV_SPEC "$with_priv_spec"
   12982 _ACEOF
   12983 
   12984         fi
   12985         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_priv_spec" >&5
   12986 $as_echo "$with_priv_spec" >&6; }
   12987         ;;
   12988 
   12989       rl78)
   12990 	f=config/rl78-parse.o
   12991 	case " $extra_objects " in
   12992 	  *" $f "*) ;;
   12993 	  *) extra_objects="$extra_objects $f" ;;
   12994 	esac
   12995 	;;
   12996 
   12997       rx)
   12998 	f=config/rx-parse.o
   12999 	case " $extra_objects " in
   13000 	  *" $f "*) ;;
   13001 	  *) extra_objects="$extra_objects $f" ;;
   13002 	esac
   13003 	;;
   13004 
   13005       xstormy16)
   13006 	using_cgen=yes
   13007 	;;
   13008 
   13009       xtensa)
   13010 	f=config/xtensa-relax.o
   13011 	case " $extra_objects " in
   13012 	  *" $f "*) ;;
   13013 	  *) extra_objects="$extra_objects $f" ;;
   13014 	esac
   13015 	;;
   13016 
   13017       *)
   13018 	;;
   13019     esac
   13020 
   13021     if test $using_cgen = yes ; then
   13022 	f=cgen.o
   13023 	case " $extra_objects " in
   13024 	  *" $f "*) ;;
   13025 	  *) extra_objects="$extra_objects $f" ;;
   13026 	esac
   13027     fi
   13028 
   13029 # See if we really can support this configuration with the emulation code.
   13030 
   13031     if test $this_target = $target ; then
   13032       obj_format=$fmt
   13033       te_file=$em
   13034     fi
   13035 
   13036     case ${te_file} in
   13037       vms)
   13038 	f=config/te-vms.o
   13039 	case " $extra_objects " in
   13040 	  *" $f "*) ;;
   13041 	  *) extra_objects="$extra_objects $f" ;;
   13042 	esac ;;
   13043     esac
   13044 
   13045 # From target name and format, produce a list of supported emulations.
   13046 
   13047     case ${generic_target}-${fmt} in
   13048       mips-*-*-*)	case "$endian" in
   13049 			big)	emulation="mipsbelf mipslelf mipself" ;;
   13050 			*)	emulation="mipslelf mipsbelf mipself" ;;
   13051 			esac ;;
   13052 
   13053       # Always all formats.  The first stated emulation becomes the default.
   13054       cris-*-*aout*)	emulation="crisaout criself" ;;
   13055       cris-*-*)		emulation="criself crisaout" ;;
   13056     esac
   13057 
   13058     emulations="$emulations $emulation"
   13059 
   13060 done
   13061 
   13062 if test ${ac_default_x86_tls_check} = unset; then
   13063   ac_default_x86_tls_check=1
   13064 fi
   13065 
   13066 cat >>confdefs.h <<_ACEOF
   13067 #define DEFAULT_X86_TLS_CHECK $ac_default_x86_tls_check
   13068 _ACEOF
   13069 
   13070 
   13071 if test ${ac_default_elf_stt_common} = unset; then
   13072   ac_default_elf_stt_common=0
   13073 fi
   13074 
   13075 cat >>confdefs.h <<_ACEOF
   13076 #define DEFAULT_GENERATE_ELF_STT_COMMON $ac_default_elf_stt_common
   13077 _ACEOF
   13078 
   13079 
   13080 if test ${ac_default_sframe} = unset; then
   13081   ac_default_sframe=0
   13082 fi
   13083 
   13084 cat >>confdefs.h <<_ACEOF
   13085 #define DEFAULT_SFRAME $ac_default_sframe
   13086 _ACEOF
   13087 
   13088 
   13089 
   13090 cat >>confdefs.h <<_ACEOF
   13091 #define DEFAULT_GENERATE_BUILD_NOTES $ac_default_generate_build_notes
   13092 _ACEOF
   13093 
   13094 
   13095 if test ${ac_default_generate_x86_used_note} = unset; then
   13096   ac_default_generate_x86_used_note=0
   13097 fi
   13098 
   13099 cat >>confdefs.h <<_ACEOF
   13100 #define DEFAULT_X86_USED_NOTE $ac_default_generate_x86_used_note
   13101 _ACEOF
   13102 
   13103 
   13104 if test ${ac_default_generate_riscv_attr} = unset; then
   13105   ac_default_generate_riscv_attr=1
   13106 fi
   13107 
   13108 
   13109 cat >>confdefs.h <<_ACEOF
   13110 #define DEFAULT_RISCV_ATTR $ac_default_generate_riscv_attr
   13111 _ACEOF
   13112 
   13113 
   13114 if test ${ac_default_mips_fix_loongson3_llsc} = unset; then
   13115   ac_default_mips_fix_loongson3_llsc=0
   13116 fi
   13117 
   13118 cat >>confdefs.h <<_ACEOF
   13119 #define DEFAULT_MIPS_FIX_LOONGSON3_LLSC $ac_default_mips_fix_loongson3_llsc
   13120 _ACEOF
   13121 
   13122 
   13123 if test x$ac_default_compressed_debug_sections = xyes ; then
   13124 
   13125 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
   13126 
   13127 fi
   13128 
   13129 
   13130 cat >>confdefs.h <<_ACEOF
   13131 #define DEFAULT_COMPRESSED_DEBUG_ALGORITHM $ac_default_compressed_debug_sections_algorithm
   13132 _ACEOF
   13133 
   13134 
   13135 # PE code has way too many macros tweaking behaviour
   13136 case ${te_file} in
   13137   pe*) emulations="" ;;
   13138 esac
   13139 
   13140 # Assign floating point type.  Most processors with FP support
   13141 # IEEE FP.  On those that don't support FP at all, usually IEEE
   13142 # is emulated.
   13143 case ${target_cpu} in
   13144   vax | pdp11 )	atof=vax ;;
   13145   *)		atof=ieee ;;
   13146 esac
   13147 
   13148 case "${obj_format}" in
   13149   "") as_fn_error $? "GAS does not know what format to use for target ${target}" "$LINENO" 5 ;;
   13150 esac
   13151 
   13152 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
   13153 cgen_cpu_prefix=""
   13154 if test $using_cgen = yes ; then
   13155   case ${target_cpu} in
   13156     or1knd)
   13157        cgen_cpu_prefix=or1k ;;
   13158     *) cgen_cpu_prefix=${target_cpu} ;;
   13159   esac
   13160 
   13161 
   13162 $as_echo "#define USING_CGEN 1" >>confdefs.h
   13163 
   13164 fi
   13165 
   13166 
   13167 if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then
   13168   as_fn_error $? "GAS does not support target CPU ${target_cpu_type}" "$LINENO" 5
   13169 fi
   13170 
   13171 if test ! -r ${srcdir}/config/obj-${obj_format}.c; then
   13172   as_fn_error $? "GAS does not have support for object file format ${obj_format}" "$LINENO" 5
   13173 fi
   13174 
   13175 # Some COFF configurations want these random other flags set.
   13176 case ${obj_format} in
   13177   coff)
   13178     case ${target_cpu_type} in
   13179       i386)
   13180 $as_echo "#define I386COFF 1" >>confdefs.h
   13181  ;;
   13182       x86_64)
   13183 $as_echo "#define I386COFF 1" >>confdefs.h
   13184  ;;
   13185     esac
   13186     ;;
   13187 esac
   13188 
   13189 # Getting this done right is going to be a bitch.  Each configuration specified
   13190 # with --enable-targets=... should be checked for environment, format, cpu
   13191 # setting.
   13192 #
   13193 # For each configuration, the necessary object file support code must be linked
   13194 # in.  This might be only one, it might be up to four.  The necessary emulation
   13195 # code needs to be provided, too.
   13196 #
   13197 # And then there's "--enable-targets=all"....
   13198 #
   13199 # For now, just always do it for MIPS ELF configurations.  Sigh.
   13200 
   13201 formats="${obj_format}"
   13202 emfiles=""
   13203 EMULATIONS=""
   13204 _gas_uniq_list="$emulations"
   13205 _gas_uniq_newlist=""
   13206 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
   13207   case $_gas_uniq_i in
   13208   _gas_uniq_dummy) ;;
   13209   *) case " $_gas_uniq_newlist " in
   13210        *" $_gas_uniq_i "*) ;;
   13211        *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
   13212      esac ;;
   13213   esac
   13214 done
   13215 emulations=$_gas_uniq_newlist
   13216 
   13217 for em in . $emulations ; do
   13218   case $em in
   13219     .)	continue ;;
   13220     mipsbelf | mipslelf | mipself)
   13221 	fmt=elf   file=mipself ;;
   13222     *coff)
   13223 	fmt=coff  file=$em ;;
   13224     *aout)
   13225 	fmt=aout file=$em ;;
   13226     *elf)
   13227 	fmt=elf file=$em ;;
   13228   esac
   13229   formats="$formats $fmt"
   13230   emfiles="$emfiles config/e-$file.o"
   13231   EMULATIONS="$EMULATIONS &$em,"
   13232 done
   13233 _gas_uniq_list="$formats"
   13234 _gas_uniq_newlist=""
   13235 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
   13236   case $_gas_uniq_i in
   13237   _gas_uniq_dummy) ;;
   13238   *) case " $_gas_uniq_newlist " in
   13239        *" $_gas_uniq_i "*) ;;
   13240        *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
   13241      esac ;;
   13242   esac
   13243 done
   13244 formats=$_gas_uniq_newlist
   13245 
   13246 _gas_uniq_list="$emfiles"
   13247 _gas_uniq_newlist=""
   13248 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
   13249   case $_gas_uniq_i in
   13250   _gas_uniq_dummy) ;;
   13251   *) case " $_gas_uniq_newlist " in
   13252        *" $_gas_uniq_i "*) ;;
   13253        *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
   13254      esac ;;
   13255   esac
   13256 done
   13257 emfiles=$_gas_uniq_newlist
   13258 
   13259 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
   13260   for fmt in $formats ; do
   13261     case $fmt in
   13262       aout)
   13263 $as_echo "#define OBJ_MAYBE_AOUT 1" >>confdefs.h
   13264    ;;
   13265       coff)
   13266 $as_echo "#define OBJ_MAYBE_COFF 1" >>confdefs.h
   13267     ;;
   13268       ecoff)
   13269 $as_echo "#define OBJ_MAYBE_ECOFF 1" >>confdefs.h
   13270    ;;
   13271       elf)
   13272 $as_echo "#define OBJ_MAYBE_ELF 1" >>confdefs.h
   13273      ;;
   13274       generic)
   13275 $as_echo "#define OBJ_MAYBE_GENERIC 1" >>confdefs.h
   13276  ;;
   13277       som)
   13278 $as_echo "#define OBJ_MAYBE_SOM 1" >>confdefs.h
   13279      ;;
   13280     esac
   13281     extra_objects="$extra_objects config/obj-$fmt.o"
   13282   done
   13283   obj_format=multi
   13284 fi
   13285 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
   13286   DEFAULT_EMULATION=`set . $emulations ; echo $2`
   13287   # e-mipself has more than one emulation per file, e-i386* has just one at the
   13288   # moment.  If only one emulation is specified, then don't define
   13289   # USE_EMULATIONS or include any of the e-files as they will only be bloat.
   13290   case "${obj_format}${emfiles}" in
   13291     multi* | *mipself*)
   13292       extra_objects="$extra_objects $emfiles"
   13293 
   13294 $as_echo "#define USE_EMULATIONS 1" >>confdefs.h
   13295  ;;
   13296   esac
   13297 fi
   13298 
   13299 
   13300 cat >>confdefs.h <<_ACEOF
   13301 #define EMULATIONS $EMULATIONS
   13302 _ACEOF
   13303 
   13304 
   13305 cat >>confdefs.h <<_ACEOF
   13306 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
   13307 _ACEOF
   13308 
   13309 
   13310 reject_dev_configs=yes
   13311 
   13312 case ${reject_dev_configs}-${dev} in
   13313   yes-yes) # Oops.
   13314     as_fn_error $? "GAS does not support the ${generic_target} configuration." "$LINENO" 5
   13315     ;;
   13316 esac
   13317 
   13318 
   13319 
   13320 
   13321 
   13322 
   13323 
   13324 # do we need the opcodes library?
   13325 case "${need_opcodes}" in
   13326 yes)
   13327   OPCODES_LIB=../opcodes/libopcodes.la
   13328   ;;
   13329 esac
   13330 
   13331 
   13332 
   13333 
   13334 cat >>confdefs.h <<_ACEOF
   13335 #define TARGET_ALIAS "${target_alias}"
   13336 _ACEOF
   13337 
   13338 
   13339 cat >>confdefs.h <<_ACEOF
   13340 #define TARGET_CANONICAL "${target}"
   13341 _ACEOF
   13342 
   13343 
   13344 cat >>confdefs.h <<_ACEOF
   13345 #define TARGET_CPU "${target_cpu}"
   13346 _ACEOF
   13347 
   13348 
   13349 cat >>confdefs.h <<_ACEOF
   13350 #define TARGET_VENDOR "${target_vendor}"
   13351 _ACEOF
   13352 
   13353 
   13354 cat >>confdefs.h <<_ACEOF
   13355 #define TARGET_OS "${target_os}"
   13356 _ACEOF
   13357 
   13358 
   13359 for ac_prog in 'bison -y' byacc
   13360 do
   13361   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13362 set dummy $ac_prog; ac_word=$2
   13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13364 $as_echo_n "checking for $ac_word... " >&6; }
   13365 if ${ac_cv_prog_YACC+:} false; then :
   13366   $as_echo_n "(cached) " >&6
   13367 else
   13368   if test -n "$YACC"; then
   13369   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   13370 else
   13371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13372 for as_dir in $PATH
   13373 do
   13374   IFS=$as_save_IFS
   13375   test -z "$as_dir" && as_dir=.
   13376     for ac_exec_ext in '' $ac_executable_extensions; do
   13377   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13378     ac_cv_prog_YACC="$ac_prog"
   13379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13380     break 2
   13381   fi
   13382 done
   13383   done
   13384 IFS=$as_save_IFS
   13385 
   13386 fi
   13387 fi
   13388 YACC=$ac_cv_prog_YACC
   13389 if test -n "$YACC"; then
   13390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   13391 $as_echo "$YACC" >&6; }
   13392 else
   13393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13394 $as_echo "no" >&6; }
   13395 fi
   13396 
   13397 
   13398   test -n "$YACC" && break
   13399 done
   13400 test -n "$YACC" || YACC="yacc"
   13401 
   13402 for ac_prog in flex lex
   13403 do
   13404   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13405 set dummy $ac_prog; ac_word=$2
   13406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13407 $as_echo_n "checking for $ac_word... " >&6; }
   13408 if ${ac_cv_prog_LEX+:} false; then :
   13409   $as_echo_n "(cached) " >&6
   13410 else
   13411   if test -n "$LEX"; then
   13412   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   13413 else
   13414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13415 for as_dir in $PATH
   13416 do
   13417   IFS=$as_save_IFS
   13418   test -z "$as_dir" && as_dir=.
   13419     for ac_exec_ext in '' $ac_executable_extensions; do
   13420   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13421     ac_cv_prog_LEX="$ac_prog"
   13422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13423     break 2
   13424   fi
   13425 done
   13426   done
   13427 IFS=$as_save_IFS
   13428 
   13429 fi
   13430 fi
   13431 LEX=$ac_cv_prog_LEX
   13432 if test -n "$LEX"; then
   13433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   13434 $as_echo "$LEX" >&6; }
   13435 else
   13436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13437 $as_echo "no" >&6; }
   13438 fi
   13439 
   13440 
   13441   test -n "$LEX" && break
   13442 done
   13443 test -n "$LEX" || LEX=":"
   13444 
   13445 case "$LEX" in
   13446   :|*"missing "*) ;;
   13447   *) cat >conftest.l <<_ACEOF
   13448 %%
   13449 a { ECHO; }
   13450 b { REJECT; }
   13451 c { yymore (); }
   13452 d { yyless (1); }
   13453 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
   13454     yyless ((input () != 0)); }
   13455 f { unput (yytext[0]); }
   13456 . { BEGIN INITIAL; }
   13457 %%
   13458 #ifdef YYTEXT_POINTER
   13459 extern char *yytext;
   13460 #endif
   13461 int
   13462 main (void)
   13463 {
   13464   return ! yylex () + ! yywrap ();
   13465 }
   13466 _ACEOF
   13467 { { ac_try="$LEX conftest.l"
   13468 case "(($ac_try" in
   13469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13470   *) ac_try_echo=$ac_try;;
   13471 esac
   13472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   13473 $as_echo "$ac_try_echo"; } >&5
   13474   (eval "$LEX conftest.l") 2>&5
   13475   ac_status=$?
   13476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13477   test $ac_status = 0; }
   13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
   13479 $as_echo_n "checking lex output file root... " >&6; }
   13480 if ${ac_cv_prog_lex_root+:} false; then :
   13481   $as_echo_n "(cached) " >&6
   13482 else
   13483 
   13484 if test -f lex.yy.c; then
   13485   ac_cv_prog_lex_root=lex.yy
   13486 elif test -f lexyy.c; then
   13487   ac_cv_prog_lex_root=lexyy
   13488 else
   13489   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
   13490 fi
   13491 fi
   13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
   13493 $as_echo "$ac_cv_prog_lex_root" >&6; }
   13494 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
   13495 
   13496 if test -z "${LEXLIB+set}"; then
   13497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
   13498 $as_echo_n "checking lex library... " >&6; }
   13499 if ${ac_cv_lib_lex+:} false; then :
   13500   $as_echo_n "(cached) " >&6
   13501 else
   13502 
   13503     ac_save_LIBS=$LIBS
   13504     ac_cv_lib_lex='none needed'
   13505     for ac_lib in '' -lfl -ll; do
   13506       LIBS="$ac_lib $ac_save_LIBS"
   13507       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13508 /* end confdefs.h.  */
   13509 `cat $LEX_OUTPUT_ROOT.c`
   13510 _ACEOF
   13511 if ac_fn_c_try_link "$LINENO"; then :
   13512   ac_cv_lib_lex=$ac_lib
   13513 fi
   13514 rm -f core conftest.err conftest.$ac_objext \
   13515     conftest$ac_exeext conftest.$ac_ext
   13516       test "$ac_cv_lib_lex" != 'none needed' && break
   13517     done
   13518     LIBS=$ac_save_LIBS
   13519 
   13520 fi
   13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
   13522 $as_echo "$ac_cv_lib_lex" >&6; }
   13523   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
   13524 fi
   13525 
   13526 
   13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
   13528 $as_echo_n "checking whether yytext is a pointer... " >&6; }
   13529 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
   13530   $as_echo_n "(cached) " >&6
   13531 else
   13532   # POSIX says lex can declare yytext either as a pointer or an array; the
   13533 # default is implementation-dependent.  Figure out which it is, since
   13534 # not all implementations provide the %pointer and %array declarations.
   13535 ac_cv_prog_lex_yytext_pointer=no
   13536 ac_save_LIBS=$LIBS
   13537 LIBS="$LEXLIB $ac_save_LIBS"
   13538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13539 /* end confdefs.h.  */
   13540 
   13541   #define YYTEXT_POINTER 1
   13542 `cat $LEX_OUTPUT_ROOT.c`
   13543 _ACEOF
   13544 if ac_fn_c_try_link "$LINENO"; then :
   13545   ac_cv_prog_lex_yytext_pointer=yes
   13546 fi
   13547 rm -f core conftest.err conftest.$ac_objext \
   13548     conftest$ac_exeext conftest.$ac_ext
   13549 LIBS=$ac_save_LIBS
   13550 
   13551 fi
   13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
   13553 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
   13554 if test $ac_cv_prog_lex_yytext_pointer = yes; then
   13555 
   13556 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
   13557 
   13558 fi
   13559 rm -f conftest.l $LEX_OUTPUT_ROOT.c
   13560  ;;
   13561 esac
   13562 if test "$LEX" = :; then
   13563   LEX=${am_missing_run}flex
   13564 fi
   13565 
   13566 ALL_LINGUAS="es fi fr id ja ru rw sv tr uk zh_CN"
   13567 
   13568         MKINSTALLDIRS=
   13569   if test -n "$ac_aux_dir"; then
   13570     case "$ac_aux_dir" in
   13571       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   13572       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   13573     esac
   13574   fi
   13575   if test -z "$MKINSTALLDIRS"; then
   13576     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   13577   fi
   13578 
   13579 
   13580 
   13581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   13582 $as_echo_n "checking whether NLS is requested... " >&6; }
   13583     # Check whether --enable-nls was given.
   13584 if test "${enable_nls+set}" = set; then :
   13585   enableval=$enable_nls; USE_NLS=$enableval
   13586 else
   13587   USE_NLS=yes
   13588 fi
   13589 
   13590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   13591 $as_echo "$USE_NLS" >&6; }
   13592 
   13593 
   13594 
   13595 
   13596 
   13597 
   13598 # Prepare PATH_SEPARATOR.
   13599 # The user is always right.
   13600 if test "${PATH_SEPARATOR+set}" != set; then
   13601   echo "#! /bin/sh" >conf$$.sh
   13602   echo  "exit 0"   >>conf$$.sh
   13603   chmod +x conf$$.sh
   13604   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13605     PATH_SEPARATOR=';'
   13606   else
   13607     PATH_SEPARATOR=:
   13608   fi
   13609   rm -f conf$$.sh
   13610 fi
   13611 
   13612 # Find out how to test for executable files. Don't use a zero-byte file,
   13613 # as systems may use methods other than mode bits to determine executability.
   13614 cat >conf$$.file <<_ASEOF
   13615 #! /bin/sh
   13616 exit 0
   13617 _ASEOF
   13618 chmod +x conf$$.file
   13619 if test -x conf$$.file >/dev/null 2>&1; then
   13620   ac_executable_p="test -x"
   13621 else
   13622   ac_executable_p="test -f"
   13623 fi
   13624 rm -f conf$$.file
   13625 
   13626 # Extract the first word of "msgfmt", so it can be a program name with args.
   13627 set dummy msgfmt; ac_word=$2
   13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13629 $as_echo_n "checking for $ac_word... " >&6; }
   13630 if ${ac_cv_path_MSGFMT+:} false; then :
   13631   $as_echo_n "(cached) " >&6
   13632 else
   13633   case "$MSGFMT" in
   13634   [\\/]* | ?:[\\/]*)
   13635     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   13636     ;;
   13637   *)
   13638     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13639     for ac_dir in $PATH; do
   13640       IFS="$ac_save_IFS"
   13641       test -z "$ac_dir" && ac_dir=.
   13642       for ac_exec_ext in '' $ac_executable_extensions; do
   13643         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13644           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   13645      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   13646             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   13647             break 2
   13648           fi
   13649         fi
   13650       done
   13651     done
   13652     IFS="$ac_save_IFS"
   13653   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   13654     ;;
   13655 esac
   13656 fi
   13657 MSGFMT="$ac_cv_path_MSGFMT"
   13658 if test "$MSGFMT" != ":"; then
   13659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   13660 $as_echo "$MSGFMT" >&6; }
   13661 else
   13662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13663 $as_echo "no" >&6; }
   13664 fi
   13665 
   13666   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   13667 set dummy gmsgfmt; ac_word=$2
   13668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13669 $as_echo_n "checking for $ac_word... " >&6; }
   13670 if ${ac_cv_path_GMSGFMT+:} false; then :
   13671   $as_echo_n "(cached) " >&6
   13672 else
   13673   case $GMSGFMT in
   13674   [\\/]* | ?:[\\/]*)
   13675   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   13676   ;;
   13677   *)
   13678   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13679 for as_dir in $PATH
   13680 do
   13681   IFS=$as_save_IFS
   13682   test -z "$as_dir" && as_dir=.
   13683     for ac_exec_ext in '' $ac_executable_extensions; do
   13684   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13685     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   13686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13687     break 2
   13688   fi
   13689 done
   13690   done
   13691 IFS=$as_save_IFS
   13692 
   13693   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   13694   ;;
   13695 esac
   13696 fi
   13697 GMSGFMT=$ac_cv_path_GMSGFMT
   13698 if test -n "$GMSGFMT"; then
   13699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   13700 $as_echo "$GMSGFMT" >&6; }
   13701 else
   13702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13703 $as_echo "no" >&6; }
   13704 fi
   13705 
   13706 
   13707 
   13708 
   13709 # Prepare PATH_SEPARATOR.
   13710 # The user is always right.
   13711 if test "${PATH_SEPARATOR+set}" != set; then
   13712   echo "#! /bin/sh" >conf$$.sh
   13713   echo  "exit 0"   >>conf$$.sh
   13714   chmod +x conf$$.sh
   13715   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13716     PATH_SEPARATOR=';'
   13717   else
   13718     PATH_SEPARATOR=:
   13719   fi
   13720   rm -f conf$$.sh
   13721 fi
   13722 
   13723 # Find out how to test for executable files. Don't use a zero-byte file,
   13724 # as systems may use methods other than mode bits to determine executability.
   13725 cat >conf$$.file <<_ASEOF
   13726 #! /bin/sh
   13727 exit 0
   13728 _ASEOF
   13729 chmod +x conf$$.file
   13730 if test -x conf$$.file >/dev/null 2>&1; then
   13731   ac_executable_p="test -x"
   13732 else
   13733   ac_executable_p="test -f"
   13734 fi
   13735 rm -f conf$$.file
   13736 
   13737 # Extract the first word of "xgettext", so it can be a program name with args.
   13738 set dummy xgettext; ac_word=$2
   13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13740 $as_echo_n "checking for $ac_word... " >&6; }
   13741 if ${ac_cv_path_XGETTEXT+:} false; then :
   13742   $as_echo_n "(cached) " >&6
   13743 else
   13744   case "$XGETTEXT" in
   13745   [\\/]* | ?:[\\/]*)
   13746     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   13747     ;;
   13748   *)
   13749     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13750     for ac_dir in $PATH; do
   13751       IFS="$ac_save_IFS"
   13752       test -z "$ac_dir" && ac_dir=.
   13753       for ac_exec_ext in '' $ac_executable_extensions; do
   13754         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13755           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   13756      (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
   13757             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   13758             break 2
   13759           fi
   13760         fi
   13761       done
   13762     done
   13763     IFS="$ac_save_IFS"
   13764   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   13765     ;;
   13766 esac
   13767 fi
   13768 XGETTEXT="$ac_cv_path_XGETTEXT"
   13769 if test "$XGETTEXT" != ":"; then
   13770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   13771 $as_echo "$XGETTEXT" >&6; }
   13772 else
   13773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13774 $as_echo "no" >&6; }
   13775 fi
   13776 
   13777     rm -f messages.po
   13778 
   13779 
   13780 # Prepare PATH_SEPARATOR.
   13781 # The user is always right.
   13782 if test "${PATH_SEPARATOR+set}" != set; then
   13783   echo "#! /bin/sh" >conf$$.sh
   13784   echo  "exit 0"   >>conf$$.sh
   13785   chmod +x conf$$.sh
   13786   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13787     PATH_SEPARATOR=';'
   13788   else
   13789     PATH_SEPARATOR=:
   13790   fi
   13791   rm -f conf$$.sh
   13792 fi
   13793 
   13794 # Find out how to test for executable files. Don't use a zero-byte file,
   13795 # as systems may use methods other than mode bits to determine executability.
   13796 cat >conf$$.file <<_ASEOF
   13797 #! /bin/sh
   13798 exit 0
   13799 _ASEOF
   13800 chmod +x conf$$.file
   13801 if test -x conf$$.file >/dev/null 2>&1; then
   13802   ac_executable_p="test -x"
   13803 else
   13804   ac_executable_p="test -f"
   13805 fi
   13806 rm -f conf$$.file
   13807 
   13808 # Extract the first word of "msgmerge", so it can be a program name with args.
   13809 set dummy msgmerge; ac_word=$2
   13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13811 $as_echo_n "checking for $ac_word... " >&6; }
   13812 if ${ac_cv_path_MSGMERGE+:} false; then :
   13813   $as_echo_n "(cached) " >&6
   13814 else
   13815   case "$MSGMERGE" in
   13816   [\\/]* | ?:[\\/]*)
   13817     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   13818     ;;
   13819   *)
   13820     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13821     for ac_dir in $PATH; do
   13822       IFS="$ac_save_IFS"
   13823       test -z "$ac_dir" && ac_dir=.
   13824       for ac_exec_ext in '' $ac_executable_extensions; do
   13825         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13826           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   13827             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   13828             break 2
   13829           fi
   13830         fi
   13831       done
   13832     done
   13833     IFS="$ac_save_IFS"
   13834   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   13835     ;;
   13836 esac
   13837 fi
   13838 MSGMERGE="$ac_cv_path_MSGMERGE"
   13839 if test "$MSGMERGE" != ":"; then
   13840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   13841 $as_echo "$MSGMERGE" >&6; }
   13842 else
   13843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13844 $as_echo "no" >&6; }
   13845 fi
   13846 
   13847 
   13848       if test "$GMSGFMT" != ":"; then
   13849             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   13850        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   13851       : ;
   13852     else
   13853       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   13854       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   13855 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   13856       GMSGFMT=":"
   13857     fi
   13858   fi
   13859 
   13860       if test "$XGETTEXT" != ":"; then
   13861             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   13862        (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
   13863       : ;
   13864     else
   13865       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   13866 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   13867       XGETTEXT=":"
   13868     fi
   13869         rm -f messages.po
   13870   fi
   13871 
   13872   ac_config_commands="$ac_config_commands default-1"
   13873 
   13874 
   13875 
   13876       if test "X$prefix" = "XNONE"; then
   13877     acl_final_prefix="$ac_default_prefix"
   13878   else
   13879     acl_final_prefix="$prefix"
   13880   fi
   13881   if test "X$exec_prefix" = "XNONE"; then
   13882     acl_final_exec_prefix='${prefix}'
   13883   else
   13884     acl_final_exec_prefix="$exec_prefix"
   13885   fi
   13886   acl_save_prefix="$prefix"
   13887   prefix="$acl_final_prefix"
   13888   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   13889   prefix="$acl_save_prefix"
   13890 
   13891 
   13892 # Check whether --with-gnu-ld was given.
   13893 if test "${with_gnu_ld+set}" = set; then :
   13894   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   13895 else
   13896   with_gnu_ld=no
   13897 fi
   13898 
   13899 # Prepare PATH_SEPARATOR.
   13900 # The user is always right.
   13901 if test "${PATH_SEPARATOR+set}" != set; then
   13902   echo "#! /bin/sh" >conf$$.sh
   13903   echo  "exit 0"   >>conf$$.sh
   13904   chmod +x conf$$.sh
   13905   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13906     PATH_SEPARATOR=';'
   13907   else
   13908     PATH_SEPARATOR=:
   13909   fi
   13910   rm -f conf$$.sh
   13911 fi
   13912 ac_prog=ld
   13913 if test "$GCC" = yes; then
   13914   # Check if gcc -print-prog-name=ld gives a path.
   13915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   13916 $as_echo_n "checking for ld used by GCC... " >&6; }
   13917   case $host in
   13918   *-*-mingw*)
   13919     # gcc leaves a trailing carriage return which upsets mingw
   13920     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   13921   *)
   13922     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   13923   esac
   13924   case $ac_prog in
   13925     # Accept absolute paths.
   13926     [\\/]* | [A-Za-z]:[\\/]*)
   13927       re_direlt='/[^/][^/]*/\.\./'
   13928       # Canonicalize the path of ld
   13929       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   13930       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   13931 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   13932       done
   13933       test -z "$LD" && LD="$ac_prog"
   13934       ;;
   13935   "")
   13936     # If it fails, then pretend we aren't using GCC.
   13937     ac_prog=ld
   13938     ;;
   13939   *)
   13940     # If it is relative, then search for the first ld in PATH.
   13941     with_gnu_ld=unknown
   13942     ;;
   13943   esac
   13944 elif test "$with_gnu_ld" = yes; then
   13945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   13946 $as_echo_n "checking for GNU ld... " >&6; }
   13947 else
   13948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   13949 $as_echo_n "checking for non-GNU ld... " >&6; }
   13950 fi
   13951 if ${acl_cv_path_LD+:} false; then :
   13952   $as_echo_n "(cached) " >&6
   13953 else
   13954   if test -z "$LD"; then
   13955   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   13956   for ac_dir in $PATH; do
   13957     test -z "$ac_dir" && ac_dir=.
   13958     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   13959       acl_cv_path_LD="$ac_dir/$ac_prog"
   13960       # Check to see if the program is GNU ld.  I'd rather use --version,
   13961       # but apparently some GNU ld's only accept -v.
   13962       # Break only if it was the GNU/non-GNU ld that we prefer.
   13963       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then
   13964 	test "$with_gnu_ld" != no && break
   13965       else
   13966 	test "$with_gnu_ld" != yes && break
   13967       fi
   13968     fi
   13969   done
   13970   IFS="$ac_save_ifs"
   13971 else
   13972   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   13973 fi
   13974 fi
   13975 
   13976 LD="$acl_cv_path_LD"
   13977 if test -n "$LD"; then
   13978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   13979 $as_echo "$LD" >&6; }
   13980 else
   13981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13982 $as_echo "no" >&6; }
   13983 fi
   13984 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   13986 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   13987 if ${acl_cv_prog_gnu_ld+:} false; then :
   13988   $as_echo_n "(cached) " >&6
   13989 else
   13990   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   13991 if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then
   13992   acl_cv_prog_gnu_ld=yes
   13993 else
   13994   acl_cv_prog_gnu_ld=no
   13995 fi
   13996 fi
   13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   13998 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   13999 with_gnu_ld=$acl_cv_prog_gnu_ld
   14000 
   14001 
   14002 
   14003                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   14004 $as_echo_n "checking for shared library run path origin... " >&6; }
   14005 if ${acl_cv_rpath+:} false; then :
   14006   $as_echo_n "(cached) " >&6
   14007 else
   14008 
   14009     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   14010     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   14011     . ./conftest.sh
   14012     rm -f ./conftest.sh
   14013     acl_cv_rpath=done
   14014 
   14015 fi
   14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   14017 $as_echo "$acl_cv_rpath" >&6; }
   14018   wl="$acl_cv_wl"
   14019   libext="$acl_cv_libext"
   14020   shlibext="$acl_cv_shlibext"
   14021   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   14022   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   14023   hardcode_direct="$acl_cv_hardcode_direct"
   14024   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   14025     # Check whether --enable-rpath was given.
   14026 if test "${enable_rpath+set}" = set; then :
   14027   enableval=$enable_rpath; :
   14028 else
   14029   enable_rpath=yes
   14030 fi
   14031 
   14032 
   14033 
   14034 
   14035 
   14036 
   14037 
   14038 
   14039     use_additional=yes
   14040 
   14041   acl_save_prefix="$prefix"
   14042   prefix="$acl_final_prefix"
   14043   acl_save_exec_prefix="$exec_prefix"
   14044   exec_prefix="$acl_final_exec_prefix"
   14045 
   14046     eval additional_includedir=\"$includedir\"
   14047     eval additional_libdir=\"$libdir\"
   14048 
   14049   exec_prefix="$acl_save_exec_prefix"
   14050   prefix="$acl_save_prefix"
   14051 
   14052 
   14053 # Check whether --with-libiconv-prefix was given.
   14054 if test "${with_libiconv_prefix+set}" = set; then :
   14055   withval=$with_libiconv_prefix;
   14056     if test "X$withval" = "Xno"; then
   14057       use_additional=no
   14058     else
   14059       if test "X$withval" = "X"; then
   14060 
   14061   acl_save_prefix="$prefix"
   14062   prefix="$acl_final_prefix"
   14063   acl_save_exec_prefix="$exec_prefix"
   14064   exec_prefix="$acl_final_exec_prefix"
   14065 
   14066           eval additional_includedir=\"$includedir\"
   14067           eval additional_libdir=\"$libdir\"
   14068 
   14069   exec_prefix="$acl_save_exec_prefix"
   14070   prefix="$acl_save_prefix"
   14071 
   14072       else
   14073         additional_includedir="$withval/include"
   14074         additional_libdir="$withval/lib"
   14075       fi
   14076     fi
   14077 
   14078 fi
   14079 
   14080 
   14081 # Check whether --with-libiconv-type was given.
   14082 if test "${with_libiconv_type+set}" = set; then :
   14083   withval=$with_libiconv_type;  with_libiconv_type=$withval
   14084 else
   14085    with_libiconv_type=auto
   14086 fi
   14087 
   14088   lib_type=`eval echo \$with_libiconv_type`
   14089 
   14090       LIBICONV=
   14091   LTLIBICONV=
   14092   INCICONV=
   14093   rpathdirs=
   14094   ltrpathdirs=
   14095   names_already_handled=
   14096   names_next_round='iconv '
   14097   while test -n "$names_next_round"; do
   14098     names_this_round="$names_next_round"
   14099     names_next_round=
   14100     for name in $names_this_round; do
   14101       already_handled=
   14102       for n in $names_already_handled; do
   14103         if test "$n" = "$name"; then
   14104           already_handled=yes
   14105           break
   14106         fi
   14107       done
   14108       if test -z "$already_handled"; then
   14109         names_already_handled="$names_already_handled $name"
   14110                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   14111         eval value=\"\$HAVE_LIB$uppername\"
   14112         if test -n "$value"; then
   14113           if test "$value" = yes; then
   14114             eval value=\"\$LIB$uppername\"
   14115             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   14116             eval value=\"\$LTLIB$uppername\"
   14117             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   14118           else
   14119                                     :
   14120           fi
   14121         else
   14122                               found_dir=
   14123           found_la=
   14124           found_so=
   14125           found_a=
   14126           if test $use_additional = yes; then
   14127             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   14128               found_dir="$additional_libdir"
   14129               found_so="$additional_libdir/lib$name.$shlibext"
   14130               if test -f "$additional_libdir/lib$name.la"; then
   14131                 found_la="$additional_libdir/lib$name.la"
   14132               fi
   14133             elif test x$lib_type != xshared; then
   14134               if test -f "$additional_libdir/lib$name.$libext"; then
   14135                 found_dir="$additional_libdir"
   14136                 found_a="$additional_libdir/lib$name.$libext"
   14137                 if test -f "$additional_libdir/lib$name.la"; then
   14138                   found_la="$additional_libdir/lib$name.la"
   14139                 fi
   14140               fi
   14141             fi
   14142           fi
   14143           if test "X$found_dir" = "X"; then
   14144             for x in $LDFLAGS $LTLIBICONV; do
   14145 
   14146   acl_save_prefix="$prefix"
   14147   prefix="$acl_final_prefix"
   14148   acl_save_exec_prefix="$exec_prefix"
   14149   exec_prefix="$acl_final_exec_prefix"
   14150   eval x=\"$x\"
   14151   exec_prefix="$acl_save_exec_prefix"
   14152   prefix="$acl_save_prefix"
   14153 
   14154               case "$x" in
   14155                 -L*)
   14156                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   14157                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   14158                     found_dir="$dir"
   14159                     found_so="$dir/lib$name.$shlibext"
   14160                     if test -f "$dir/lib$name.la"; then
   14161                       found_la="$dir/lib$name.la"
   14162                     fi
   14163                   elif test x$lib_type != xshared; then
   14164                     if test -f "$dir/lib$name.$libext"; then
   14165                       found_dir="$dir"
   14166                       found_a="$dir/lib$name.$libext"
   14167                       if test -f "$dir/lib$name.la"; then
   14168                         found_la="$dir/lib$name.la"
   14169                       fi
   14170                     fi
   14171                   fi
   14172                   ;;
   14173               esac
   14174               if test "X$found_dir" != "X"; then
   14175                 break
   14176               fi
   14177             done
   14178           fi
   14179           if test "X$found_dir" != "X"; then
   14180                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   14181             if test "X$found_so" != "X"; then
   14182                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   14183                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   14184               else
   14185                                                                                 haveit=
   14186                 for x in $ltrpathdirs; do
   14187                   if test "X$x" = "X$found_dir"; then
   14188                     haveit=yes
   14189                     break
   14190                   fi
   14191                 done
   14192                 if test -z "$haveit"; then
   14193                   ltrpathdirs="$ltrpathdirs $found_dir"
   14194                 fi
   14195                                 if test "$hardcode_direct" = yes; then
   14196                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   14197                 else
   14198                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   14199                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   14200                                                             haveit=
   14201                     for x in $rpathdirs; do
   14202                       if test "X$x" = "X$found_dir"; then
   14203                         haveit=yes
   14204                         break
   14205                       fi
   14206                     done
   14207                     if test -z "$haveit"; then
   14208                       rpathdirs="$rpathdirs $found_dir"
   14209                     fi
   14210                   else
   14211                                                                                 haveit=
   14212                     for x in $LDFLAGS $LIBICONV; do
   14213 
   14214   acl_save_prefix="$prefix"
   14215   prefix="$acl_final_prefix"
   14216   acl_save_exec_prefix="$exec_prefix"
   14217   exec_prefix="$acl_final_exec_prefix"
   14218   eval x=\"$x\"
   14219   exec_prefix="$acl_save_exec_prefix"
   14220   prefix="$acl_save_prefix"
   14221 
   14222                       if test "X$x" = "X-L$found_dir"; then
   14223                         haveit=yes
   14224                         break
   14225                       fi
   14226                     done
   14227                     if test -z "$haveit"; then
   14228                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   14229                     fi
   14230                     if test "$hardcode_minus_L" != no; then
   14231                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   14232                     else
   14233                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   14234                     fi
   14235                   fi
   14236                 fi
   14237               fi
   14238             else
   14239               if test "X$found_a" != "X"; then
   14240                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   14241               else
   14242                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   14243               fi
   14244             fi
   14245                         additional_includedir=
   14246             case "$found_dir" in
   14247               */lib | */lib/)
   14248                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   14249                 additional_includedir="$basedir/include"
   14250                 ;;
   14251             esac
   14252             if test "X$additional_includedir" != "X"; then
   14253                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   14254                 haveit=
   14255                 if test "X$additional_includedir" = "X/usr/local/include"; then
   14256                   if test -n "$GCC"; then
   14257                     case $host_os in
   14258                       linux*) haveit=yes;;
   14259                     esac
   14260                   fi
   14261                 fi
   14262                 if test -z "$haveit"; then
   14263                   for x in $CPPFLAGS $INCICONV; do
   14264 
   14265   acl_save_prefix="$prefix"
   14266   prefix="$acl_final_prefix"
   14267   acl_save_exec_prefix="$exec_prefix"
   14268   exec_prefix="$acl_final_exec_prefix"
   14269   eval x=\"$x\"
   14270   exec_prefix="$acl_save_exec_prefix"
   14271   prefix="$acl_save_prefix"
   14272 
   14273                     if test "X$x" = "X-I$additional_includedir"; then
   14274                       haveit=yes
   14275                       break
   14276                     fi
   14277                   done
   14278                   if test -z "$haveit"; then
   14279                     if test -d "$additional_includedir"; then
   14280                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   14281                     fi
   14282                   fi
   14283                 fi
   14284               fi
   14285             fi
   14286                         if test -n "$found_la"; then
   14287                                                         save_libdir="$libdir"
   14288               case "$found_la" in
   14289                 */* | *\\*) . "$found_la" ;;
   14290                 *) . "./$found_la" ;;
   14291               esac
   14292               libdir="$save_libdir"
   14293                             for dep in $dependency_libs; do
   14294                 case "$dep" in
   14295                   -L*)
   14296                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   14297                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   14298                       haveit=
   14299                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   14300                         if test -n "$GCC"; then
   14301                           case $host_os in
   14302                             linux*) haveit=yes;;
   14303                           esac
   14304                         fi
   14305                       fi
   14306                       if test -z "$haveit"; then
   14307                         haveit=
   14308                         for x in $LDFLAGS $LIBICONV; do
   14309 
   14310   acl_save_prefix="$prefix"
   14311   prefix="$acl_final_prefix"
   14312   acl_save_exec_prefix="$exec_prefix"
   14313   exec_prefix="$acl_final_exec_prefix"
   14314   eval x=\"$x\"
   14315   exec_prefix="$acl_save_exec_prefix"
   14316   prefix="$acl_save_prefix"
   14317 
   14318                           if test "X$x" = "X-L$additional_libdir"; then
   14319                             haveit=yes
   14320                             break
   14321                           fi
   14322                         done
   14323                         if test -z "$haveit"; then
   14324                           if test -d "$additional_libdir"; then
   14325                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   14326                           fi
   14327                         fi
   14328                         haveit=
   14329                         for x in $LDFLAGS $LTLIBICONV; do
   14330 
   14331   acl_save_prefix="$prefix"
   14332   prefix="$acl_final_prefix"
   14333   acl_save_exec_prefix="$exec_prefix"
   14334   exec_prefix="$acl_final_exec_prefix"
   14335   eval x=\"$x\"
   14336   exec_prefix="$acl_save_exec_prefix"
   14337   prefix="$acl_save_prefix"
   14338 
   14339                           if test "X$x" = "X-L$additional_libdir"; then
   14340                             haveit=yes
   14341                             break
   14342                           fi
   14343                         done
   14344                         if test -z "$haveit"; then
   14345                           if test -d "$additional_libdir"; then
   14346                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   14347                           fi
   14348                         fi
   14349                       fi
   14350                     fi
   14351                     ;;
   14352                   -R*)
   14353                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   14354                     if test "$enable_rpath" != no; then
   14355                                                                   haveit=
   14356                       for x in $rpathdirs; do
   14357                         if test "X$x" = "X$dir"; then
   14358                           haveit=yes
   14359                           break
   14360                         fi
   14361                       done
   14362                       if test -z "$haveit"; then
   14363                         rpathdirs="$rpathdirs $dir"
   14364                       fi
   14365                                                                   haveit=
   14366                       for x in $ltrpathdirs; do
   14367                         if test "X$x" = "X$dir"; then
   14368                           haveit=yes
   14369                           break
   14370                         fi
   14371                       done
   14372                       if test -z "$haveit"; then
   14373                         ltrpathdirs="$ltrpathdirs $dir"
   14374                       fi
   14375                     fi
   14376                     ;;
   14377                   -l*)
   14378                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   14379                     ;;
   14380                   *.la)
   14381                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   14382                     ;;
   14383                   *)
   14384                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   14385                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   14386                     ;;
   14387                 esac
   14388               done
   14389             fi
   14390           else
   14391                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   14392               LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   14393               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   14394             else
   14395               LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
   14396               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
   14397             fi
   14398           fi
   14399         fi
   14400       fi
   14401     done
   14402   done
   14403   if test "X$rpathdirs" != "X"; then
   14404     if test -n "$hardcode_libdir_separator"; then
   14405                         alldirs=
   14406       for found_dir in $rpathdirs; do
   14407         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   14408       done
   14409             acl_save_libdir="$libdir"
   14410       libdir="$alldirs"
   14411       eval flag=\"$hardcode_libdir_flag_spec\"
   14412       libdir="$acl_save_libdir"
   14413       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   14414     else
   14415             for found_dir in $rpathdirs; do
   14416         acl_save_libdir="$libdir"
   14417         libdir="$found_dir"
   14418         eval flag=\"$hardcode_libdir_flag_spec\"
   14419         libdir="$acl_save_libdir"
   14420         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   14421       done
   14422     fi
   14423   fi
   14424   if test "X$ltrpathdirs" != "X"; then
   14425             for found_dir in $ltrpathdirs; do
   14426       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   14427     done
   14428   fi
   14429 
   14430 
   14431 
   14432 
   14433 
   14434 if test -f ../gettext/uninstalled-config.sh; then
   14435   relative_builddir='$(top_builddir)/../gettext'
   14436   .  ../gettext/uninstalled-config.sh
   14437 else
   14438   # The sister gettext directory doesn't exist and won't collect information on
   14439   # using gettext for us.  Call a bundled AM_GNU_GETTEXT.
   14440 
   14441 
   14442 
   14443 
   14444 
   14445 
   14446 
   14447 
   14448 
   14449 
   14450 
   14451 
   14452 
   14453 
   14454 
   14455 
   14456 
   14457 
   14458 
   14459 
   14460 
   14461 
   14462 
   14463     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   14464 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
   14465 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
   14466   $as_echo_n "(cached) " >&6
   14467 else
   14468   gt_save_LIBS="$LIBS"
   14469      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   14470      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14471 /* end confdefs.h.  */
   14472 #include <CoreFoundation/CFPreferences.h>
   14473 int
   14474 main ()
   14475 {
   14476 CFPreferencesCopyAppValue(NULL, NULL)
   14477   ;
   14478   return 0;
   14479 }
   14480 _ACEOF
   14481 if ac_fn_c_try_link "$LINENO"; then :
   14482   gt_cv_func_CFPreferencesCopyAppValue=yes
   14483 else
   14484   gt_cv_func_CFPreferencesCopyAppValue=no
   14485 fi
   14486 rm -f core conftest.err conftest.$ac_objext \
   14487     conftest$ac_exeext conftest.$ac_ext
   14488      LIBS="$gt_save_LIBS"
   14489 fi
   14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   14491 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   14492   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   14493 
   14494 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   14495 
   14496   fi
   14497                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
   14498 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
   14499 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then :
   14500   $as_echo_n "(cached) " >&6
   14501 else
   14502   gt_save_LIBS="$LIBS"
   14503      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   14504      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14505 /* end confdefs.h.  */
   14506 #include <CoreFoundation/CFLocale.h>
   14507 int
   14508 main ()
   14509 {
   14510 CFLocaleCopyPreferredLanguages();
   14511   ;
   14512   return 0;
   14513 }
   14514 _ACEOF
   14515 if ac_fn_c_try_link "$LINENO"; then :
   14516   gt_cv_func_CFLocaleCopyPreferredLanguages=yes
   14517 else
   14518   gt_cv_func_CFLocaleCopyPreferredLanguages=no
   14519 fi
   14520 rm -f core conftest.err conftest.$ac_objext \
   14521     conftest$ac_exeext conftest.$ac_ext
   14522      LIBS="$gt_save_LIBS"
   14523 fi
   14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
   14525 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
   14526   if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   14527 
   14528 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
   14529 
   14530   fi
   14531   INTL_MACOSX_LIBS=
   14532   if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
   14533      || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   14534                     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
   14535   fi
   14536 
   14537 
   14538 
   14539 
   14540 
   14541 
   14542   LIBINTL=
   14543   LTLIBINTL=
   14544   POSUB=
   14545 
   14546     case " $gt_needs " in
   14547     *" need-formatstring-macros "*) gt_api_version=3 ;;
   14548     *" need-ngettext "*) gt_api_version=2 ;;
   14549     *) gt_api_version=1 ;;
   14550   esac
   14551   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
   14552   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
   14553 
   14554     if test "$USE_NLS" = "yes"; then
   14555     gt_use_preinstalled_gnugettext=no
   14556 
   14557 
   14558         if test $gt_api_version -ge 3; then
   14559           gt_revision_test_code='
   14560 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   14561 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
   14562 #endif
   14563 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
   14564 '
   14565         else
   14566           gt_revision_test_code=
   14567         fi
   14568         if test $gt_api_version -ge 2; then
   14569           gt_expression_test_code=' + * ngettext ("", "", 0)'
   14570         else
   14571           gt_expression_test_code=
   14572         fi
   14573 
   14574         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   14575 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   14576 if eval \${$gt_func_gnugettext_libc+:} false; then :
   14577   $as_echo_n "(cached) " >&6
   14578 else
   14579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14580 /* end confdefs.h.  */
   14581 
   14582 #include <libintl.h>
   14583 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   14584 extern int _nl_msg_cat_cntr;
   14585 extern int *_nl_domain_bindings;
   14586 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
   14587 #else
   14588 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   14589 #endif
   14590 $gt_revision_test_code
   14591 
   14592 int
   14593 main ()
   14594 {
   14595 
   14596 bindtextdomain ("", "");
   14597 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   14598 
   14599   ;
   14600   return 0;
   14601 }
   14602 _ACEOF
   14603 if ac_fn_c_try_link "$LINENO"; then :
   14604   eval "$gt_func_gnugettext_libc=yes"
   14605 else
   14606   eval "$gt_func_gnugettext_libc=no"
   14607 fi
   14608 rm -f core conftest.err conftest.$ac_objext \
   14609     conftest$ac_exeext conftest.$ac_ext
   14610 fi
   14611 eval ac_res=\$$gt_func_gnugettext_libc
   14612 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   14613 $as_echo "$ac_res" >&6; }
   14614 
   14615         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
   14616 
   14617 
   14618 
   14619 
   14620 
   14621           am_save_CPPFLAGS="$CPPFLAGS"
   14622 
   14623   for element in $INCICONV; do
   14624     haveit=
   14625     for x in $CPPFLAGS; do
   14626 
   14627   acl_save_prefix="$prefix"
   14628   prefix="$acl_final_prefix"
   14629   acl_save_exec_prefix="$exec_prefix"
   14630   exec_prefix="$acl_final_exec_prefix"
   14631   eval x=\"$x\"
   14632   exec_prefix="$acl_save_exec_prefix"
   14633   prefix="$acl_save_prefix"
   14634 
   14635       if test "X$x" = "X$element"; then
   14636         haveit=yes
   14637         break
   14638       fi
   14639     done
   14640     if test -z "$haveit"; then
   14641       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   14642     fi
   14643   done
   14644 
   14645 
   14646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   14647 $as_echo_n "checking for iconv... " >&6; }
   14648 if ${am_cv_func_iconv+:} false; then :
   14649   $as_echo_n "(cached) " >&6
   14650 else
   14651 
   14652     am_cv_func_iconv="no, consider installing GNU libiconv"
   14653     am_cv_lib_iconv=no
   14654     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14655 /* end confdefs.h.  */
   14656 
   14657 #include <stdlib.h>
   14658 #include <iconv.h>
   14659 
   14660 int
   14661 main ()
   14662 {
   14663 iconv_t cd = iconv_open("","");
   14664            iconv(cd,NULL,NULL,NULL,NULL);
   14665            iconv_close(cd);
   14666   ;
   14667   return 0;
   14668 }
   14669 _ACEOF
   14670 if ac_fn_c_try_link "$LINENO"; then :
   14671   am_cv_func_iconv=yes
   14672 fi
   14673 rm -f core conftest.err conftest.$ac_objext \
   14674     conftest$ac_exeext conftest.$ac_ext
   14675     if test "$am_cv_func_iconv" != yes; then
   14676       am_save_LIBS="$LIBS"
   14677       LIBS="$LIBS $LIBICONV"
   14678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14679 /* end confdefs.h.  */
   14680 
   14681 #include <stdlib.h>
   14682 #include <iconv.h>
   14683 
   14684 int
   14685 main ()
   14686 {
   14687 iconv_t cd = iconv_open("","");
   14688              iconv(cd,NULL,NULL,NULL,NULL);
   14689              iconv_close(cd);
   14690   ;
   14691   return 0;
   14692 }
   14693 _ACEOF
   14694 if ac_fn_c_try_link "$LINENO"; then :
   14695   am_cv_lib_iconv=yes
   14696         am_cv_func_iconv=yes
   14697 fi
   14698 rm -f core conftest.err conftest.$ac_objext \
   14699     conftest$ac_exeext conftest.$ac_ext
   14700       LIBS="$am_save_LIBS"
   14701     fi
   14702 
   14703 fi
   14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   14705 $as_echo "$am_cv_func_iconv" >&6; }
   14706   if test "$am_cv_func_iconv" = yes; then
   14707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   14708 $as_echo_n "checking for working iconv... " >&6; }
   14709 if ${am_cv_func_iconv_works+:} false; then :
   14710   $as_echo_n "(cached) " >&6
   14711 else
   14712 
   14713                   am_save_LIBS="$LIBS"
   14714       if test $am_cv_lib_iconv = yes; then
   14715         LIBS="$LIBS $LIBICONV"
   14716       fi
   14717       am_cv_func_iconv_works=no
   14718       for ac_iconv_const in '' 'const'; do
   14719         if test "$cross_compiling" = yes; then :
   14720   case "$host_os" in
   14721              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   14722              *)            am_cv_func_iconv_works="guessing yes" ;;
   14723            esac
   14724 else
   14725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14726 /* end confdefs.h.  */
   14727 
   14728 #include <iconv.h>
   14729 #include <string.h>
   14730 
   14731 #ifndef ICONV_CONST
   14732 # define ICONV_CONST $ac_iconv_const
   14733 #endif
   14734 
   14735 int
   14736 main ()
   14737 {
   14738 int result = 0;
   14739   /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
   14740      successful returns.  This is even documented in
   14741      <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
   14742   {
   14743     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   14744     if (cd_utf8_to_88591 != (iconv_t)(-1))
   14745       {
   14746         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   14747         char buf[10];
   14748         ICONV_CONST char *inptr = input;
   14749         size_t inbytesleft = strlen (input);
   14750         char *outptr = buf;
   14751         size_t outbytesleft = sizeof (buf);
   14752         size_t res = iconv (cd_utf8_to_88591,
   14753                             &inptr, &inbytesleft,
   14754                             &outptr, &outbytesleft);
   14755         if (res == 0)
   14756           result |= 1;
   14757         iconv_close (cd_utf8_to_88591);
   14758       }
   14759   }
   14760   /* Test against Solaris 10 bug: Failures are not distinguishable from
   14761      successful returns.  */
   14762   {
   14763     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   14764     if (cd_ascii_to_88591 != (iconv_t)(-1))
   14765       {
   14766         static ICONV_CONST char input[] = "\263";
   14767         char buf[10];
   14768         ICONV_CONST char *inptr = input;
   14769         size_t inbytesleft = strlen (input);
   14770         char *outptr = buf;
   14771         size_t outbytesleft = sizeof (buf);
   14772         size_t res = iconv (cd_ascii_to_88591,
   14773                             &inptr, &inbytesleft,
   14774                             &outptr, &outbytesleft);
   14775         if (res == 0)
   14776           result |= 2;
   14777         iconv_close (cd_ascii_to_88591);
   14778       }
   14779   }
   14780   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   14781   {
   14782     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   14783     if (cd_88591_to_utf8 != (iconv_t)(-1))
   14784       {
   14785         static ICONV_CONST char input[] = "\304";
   14786         static char buf[2] = { (char)0xDE, (char)0xAD };
   14787         ICONV_CONST char *inptr = input;
   14788         size_t inbytesleft = 1;
   14789         char *outptr = buf;
   14790         size_t outbytesleft = 1;
   14791         size_t res = iconv (cd_88591_to_utf8,
   14792                             &inptr, &inbytesleft,
   14793                             &outptr, &outbytesleft);
   14794         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   14795           result |= 4;
   14796         iconv_close (cd_88591_to_utf8);
   14797       }
   14798   }
   14799 #if 0 /* This bug could be worked around by the caller.  */
   14800   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   14801   {
   14802     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   14803     if (cd_88591_to_utf8 != (iconv_t)(-1))
   14804       {
   14805         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   14806         char buf[50];
   14807         ICONV_CONST char *inptr = input;
   14808         size_t inbytesleft = strlen (input);
   14809         char *outptr = buf;
   14810         size_t outbytesleft = sizeof (buf);
   14811         size_t res = iconv (cd_88591_to_utf8,
   14812                             &inptr, &inbytesleft,
   14813                             &outptr, &outbytesleft);
   14814         if ((int)res > 0)
   14815           result |= 8;
   14816         iconv_close (cd_88591_to_utf8);
   14817       }
   14818   }
   14819 #endif
   14820   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   14821      provided.  */
   14822   {
   14823     /* Try standardized names.  */
   14824     iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
   14825     /* Try IRIX, OSF/1 names.  */
   14826     iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
   14827     /* Try AIX names.  */
   14828     iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
   14829     /* Try HP-UX names.  */
   14830     iconv_t cd4 = iconv_open ("utf8", "eucJP");
   14831     if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
   14832         && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
   14833       result |= 16;
   14834     if (cd1 != (iconv_t)(-1))
   14835       iconv_close (cd1);
   14836     if (cd2 != (iconv_t)(-1))
   14837       iconv_close (cd2);
   14838     if (cd3 != (iconv_t)(-1))
   14839       iconv_close (cd3);
   14840     if (cd4 != (iconv_t)(-1))
   14841       iconv_close (cd4);
   14842   }
   14843   return result;
   14844 
   14845   ;
   14846   return 0;
   14847 }
   14848 _ACEOF
   14849 if ac_fn_c_try_run "$LINENO"; then :
   14850   am_cv_func_iconv_works=yes
   14851 fi
   14852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   14853   conftest.$ac_objext conftest.beam conftest.$ac_ext
   14854 fi
   14855 
   14856         test "$am_cv_func_iconv_works" = no || break
   14857       done
   14858       LIBS="$am_save_LIBS"
   14859 
   14860 fi
   14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   14862 $as_echo "$am_cv_func_iconv_works" >&6; }
   14863     case "$am_cv_func_iconv_works" in
   14864       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   14865       *)   am_func_iconv=yes ;;
   14866     esac
   14867   else
   14868     am_func_iconv=no am_cv_lib_iconv=no
   14869   fi
   14870   if test "$am_func_iconv" = yes; then
   14871 
   14872 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   14873 
   14874   fi
   14875   if test "$am_cv_lib_iconv" = yes; then
   14876     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   14877 $as_echo_n "checking how to link with libiconv... " >&6; }
   14878     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   14879 $as_echo "$LIBICONV" >&6; }
   14880   else
   14881             CPPFLAGS="$am_save_CPPFLAGS"
   14882     LIBICONV=
   14883     LTLIBICONV=
   14884   fi
   14885 
   14886 
   14887 
   14888 
   14889 
   14890 
   14891     use_additional=yes
   14892 
   14893   acl_save_prefix="$prefix"
   14894   prefix="$acl_final_prefix"
   14895   acl_save_exec_prefix="$exec_prefix"
   14896   exec_prefix="$acl_final_exec_prefix"
   14897 
   14898     eval additional_includedir=\"$includedir\"
   14899     eval additional_libdir=\"$libdir\"
   14900 
   14901   exec_prefix="$acl_save_exec_prefix"
   14902   prefix="$acl_save_prefix"
   14903 
   14904 
   14905 # Check whether --with-libintl-prefix was given.
   14906 if test "${with_libintl_prefix+set}" = set; then :
   14907   withval=$with_libintl_prefix;
   14908     if test "X$withval" = "Xno"; then
   14909       use_additional=no
   14910     else
   14911       if test "X$withval" = "X"; then
   14912 
   14913   acl_save_prefix="$prefix"
   14914   prefix="$acl_final_prefix"
   14915   acl_save_exec_prefix="$exec_prefix"
   14916   exec_prefix="$acl_final_exec_prefix"
   14917 
   14918           eval additional_includedir=\"$includedir\"
   14919           eval additional_libdir=\"$libdir\"
   14920 
   14921   exec_prefix="$acl_save_exec_prefix"
   14922   prefix="$acl_save_prefix"
   14923 
   14924       else
   14925         additional_includedir="$withval/include"
   14926         additional_libdir="$withval/lib"
   14927       fi
   14928     fi
   14929 
   14930 fi
   14931 
   14932 
   14933 # Check whether --with-libintl-type was given.
   14934 if test "${with_libintl_type+set}" = set; then :
   14935   withval=$with_libintl_type;  with_libintl_type=$withval
   14936 else
   14937    with_libintl_type=auto
   14938 fi
   14939 
   14940   lib_type=`eval echo \$with_libintl_type`
   14941 
   14942       LIBINTL=
   14943   LTLIBINTL=
   14944   INCINTL=
   14945   rpathdirs=
   14946   ltrpathdirs=
   14947   names_already_handled=
   14948   names_next_round='intl '
   14949   while test -n "$names_next_round"; do
   14950     names_this_round="$names_next_round"
   14951     names_next_round=
   14952     for name in $names_this_round; do
   14953       already_handled=
   14954       for n in $names_already_handled; do
   14955         if test "$n" = "$name"; then
   14956           already_handled=yes
   14957           break
   14958         fi
   14959       done
   14960       if test -z "$already_handled"; then
   14961         names_already_handled="$names_already_handled $name"
   14962                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   14963         eval value=\"\$HAVE_LIB$uppername\"
   14964         if test -n "$value"; then
   14965           if test "$value" = yes; then
   14966             eval value=\"\$LIB$uppername\"
   14967             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   14968             eval value=\"\$LTLIB$uppername\"
   14969             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   14970           else
   14971                                     :
   14972           fi
   14973         else
   14974                               found_dir=
   14975           found_la=
   14976           found_so=
   14977           found_a=
   14978           if test $use_additional = yes; then
   14979             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   14980               found_dir="$additional_libdir"
   14981               found_so="$additional_libdir/lib$name.$shlibext"
   14982               if test -f "$additional_libdir/lib$name.la"; then
   14983                 found_la="$additional_libdir/lib$name.la"
   14984               fi
   14985             elif test x$lib_type != xshared; then
   14986               if test -f "$additional_libdir/lib$name.$libext"; then
   14987                 found_dir="$additional_libdir"
   14988                 found_a="$additional_libdir/lib$name.$libext"
   14989                 if test -f "$additional_libdir/lib$name.la"; then
   14990                   found_la="$additional_libdir/lib$name.la"
   14991                 fi
   14992               fi
   14993             fi
   14994           fi
   14995           if test "X$found_dir" = "X"; then
   14996             for x in $LDFLAGS $LTLIBINTL; do
   14997 
   14998   acl_save_prefix="$prefix"
   14999   prefix="$acl_final_prefix"
   15000   acl_save_exec_prefix="$exec_prefix"
   15001   exec_prefix="$acl_final_exec_prefix"
   15002   eval x=\"$x\"
   15003   exec_prefix="$acl_save_exec_prefix"
   15004   prefix="$acl_save_prefix"
   15005 
   15006               case "$x" in
   15007                 -L*)
   15008                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   15009                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   15010                     found_dir="$dir"
   15011                     found_so="$dir/lib$name.$shlibext"
   15012                     if test -f "$dir/lib$name.la"; then
   15013                       found_la="$dir/lib$name.la"
   15014                     fi
   15015                   elif test x$lib_type != xshared; then
   15016                     if test -f "$dir/lib$name.$libext"; then
   15017                       found_dir="$dir"
   15018                       found_a="$dir/lib$name.$libext"
   15019                       if test -f "$dir/lib$name.la"; then
   15020                         found_la="$dir/lib$name.la"
   15021                       fi
   15022                     fi
   15023                   fi
   15024                   ;;
   15025               esac
   15026               if test "X$found_dir" != "X"; then
   15027                 break
   15028               fi
   15029             done
   15030           fi
   15031           if test "X$found_dir" != "X"; then
   15032                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   15033             if test "X$found_so" != "X"; then
   15034                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   15035                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   15036               else
   15037                                                                                 haveit=
   15038                 for x in $ltrpathdirs; do
   15039                   if test "X$x" = "X$found_dir"; then
   15040                     haveit=yes
   15041                     break
   15042                   fi
   15043                 done
   15044                 if test -z "$haveit"; then
   15045                   ltrpathdirs="$ltrpathdirs $found_dir"
   15046                 fi
   15047                                 if test "$hardcode_direct" = yes; then
   15048                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   15049                 else
   15050                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   15051                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   15052                                                             haveit=
   15053                     for x in $rpathdirs; do
   15054                       if test "X$x" = "X$found_dir"; then
   15055                         haveit=yes
   15056                         break
   15057                       fi
   15058                     done
   15059                     if test -z "$haveit"; then
   15060                       rpathdirs="$rpathdirs $found_dir"
   15061                     fi
   15062                   else
   15063                                                                                 haveit=
   15064                     for x in $LDFLAGS $LIBINTL; do
   15065 
   15066   acl_save_prefix="$prefix"
   15067   prefix="$acl_final_prefix"
   15068   acl_save_exec_prefix="$exec_prefix"
   15069   exec_prefix="$acl_final_exec_prefix"
   15070   eval x=\"$x\"
   15071   exec_prefix="$acl_save_exec_prefix"
   15072   prefix="$acl_save_prefix"
   15073 
   15074                       if test "X$x" = "X-L$found_dir"; then
   15075                         haveit=yes
   15076                         break
   15077                       fi
   15078                     done
   15079                     if test -z "$haveit"; then
   15080                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   15081                     fi
   15082                     if test "$hardcode_minus_L" != no; then
   15083                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   15084                     else
   15085                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   15086                     fi
   15087                   fi
   15088                 fi
   15089               fi
   15090             else
   15091               if test "X$found_a" != "X"; then
   15092                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   15093               else
   15094                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   15095               fi
   15096             fi
   15097                         additional_includedir=
   15098             case "$found_dir" in
   15099               */lib | */lib/)
   15100                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   15101                 additional_includedir="$basedir/include"
   15102                 ;;
   15103             esac
   15104             if test "X$additional_includedir" != "X"; then
   15105                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   15106                 haveit=
   15107                 if test "X$additional_includedir" = "X/usr/local/include"; then
   15108                   if test -n "$GCC"; then
   15109                     case $host_os in
   15110                       linux*) haveit=yes;;
   15111                     esac
   15112                   fi
   15113                 fi
   15114                 if test -z "$haveit"; then
   15115                   for x in $CPPFLAGS $INCINTL; do
   15116 
   15117   acl_save_prefix="$prefix"
   15118   prefix="$acl_final_prefix"
   15119   acl_save_exec_prefix="$exec_prefix"
   15120   exec_prefix="$acl_final_exec_prefix"
   15121   eval x=\"$x\"
   15122   exec_prefix="$acl_save_exec_prefix"
   15123   prefix="$acl_save_prefix"
   15124 
   15125                     if test "X$x" = "X-I$additional_includedir"; then
   15126                       haveit=yes
   15127                       break
   15128                     fi
   15129                   done
   15130                   if test -z "$haveit"; then
   15131                     if test -d "$additional_includedir"; then
   15132                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   15133                     fi
   15134                   fi
   15135                 fi
   15136               fi
   15137             fi
   15138                         if test -n "$found_la"; then
   15139                                                         save_libdir="$libdir"
   15140               case "$found_la" in
   15141                 */* | *\\*) . "$found_la" ;;
   15142                 *) . "./$found_la" ;;
   15143               esac
   15144               libdir="$save_libdir"
   15145                             for dep in $dependency_libs; do
   15146                 case "$dep" in
   15147                   -L*)
   15148                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   15149                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   15150                       haveit=
   15151                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   15152                         if test -n "$GCC"; then
   15153                           case $host_os in
   15154                             linux*) haveit=yes;;
   15155                           esac
   15156                         fi
   15157                       fi
   15158                       if test -z "$haveit"; then
   15159                         haveit=
   15160                         for x in $LDFLAGS $LIBINTL; do
   15161 
   15162   acl_save_prefix="$prefix"
   15163   prefix="$acl_final_prefix"
   15164   acl_save_exec_prefix="$exec_prefix"
   15165   exec_prefix="$acl_final_exec_prefix"
   15166   eval x=\"$x\"
   15167   exec_prefix="$acl_save_exec_prefix"
   15168   prefix="$acl_save_prefix"
   15169 
   15170                           if test "X$x" = "X-L$additional_libdir"; then
   15171                             haveit=yes
   15172                             break
   15173                           fi
   15174                         done
   15175                         if test -z "$haveit"; then
   15176                           if test -d "$additional_libdir"; then
   15177                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   15178                           fi
   15179                         fi
   15180                         haveit=
   15181                         for x in $LDFLAGS $LTLIBINTL; do
   15182 
   15183   acl_save_prefix="$prefix"
   15184   prefix="$acl_final_prefix"
   15185   acl_save_exec_prefix="$exec_prefix"
   15186   exec_prefix="$acl_final_exec_prefix"
   15187   eval x=\"$x\"
   15188   exec_prefix="$acl_save_exec_prefix"
   15189   prefix="$acl_save_prefix"
   15190 
   15191                           if test "X$x" = "X-L$additional_libdir"; then
   15192                             haveit=yes
   15193                             break
   15194                           fi
   15195                         done
   15196                         if test -z "$haveit"; then
   15197                           if test -d "$additional_libdir"; then
   15198                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   15199                           fi
   15200                         fi
   15201                       fi
   15202                     fi
   15203                     ;;
   15204                   -R*)
   15205                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   15206                     if test "$enable_rpath" != no; then
   15207                                                                   haveit=
   15208                       for x in $rpathdirs; do
   15209                         if test "X$x" = "X$dir"; then
   15210                           haveit=yes
   15211                           break
   15212                         fi
   15213                       done
   15214                       if test -z "$haveit"; then
   15215                         rpathdirs="$rpathdirs $dir"
   15216                       fi
   15217                                                                   haveit=
   15218                       for x in $ltrpathdirs; do
   15219                         if test "X$x" = "X$dir"; then
   15220                           haveit=yes
   15221                           break
   15222                         fi
   15223                       done
   15224                       if test -z "$haveit"; then
   15225                         ltrpathdirs="$ltrpathdirs $dir"
   15226                       fi
   15227                     fi
   15228                     ;;
   15229                   -l*)
   15230                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   15231                     ;;
   15232                   *.la)
   15233                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   15234                     ;;
   15235                   *)
   15236                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   15237                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   15238                     ;;
   15239                 esac
   15240               done
   15241             fi
   15242           else
   15243                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   15244               LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   15245               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   15246             else
   15247               LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
   15248               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
   15249             fi
   15250           fi
   15251         fi
   15252       fi
   15253     done
   15254   done
   15255   if test "X$rpathdirs" != "X"; then
   15256     if test -n "$hardcode_libdir_separator"; then
   15257                         alldirs=
   15258       for found_dir in $rpathdirs; do
   15259         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   15260       done
   15261             acl_save_libdir="$libdir"
   15262       libdir="$alldirs"
   15263       eval flag=\"$hardcode_libdir_flag_spec\"
   15264       libdir="$acl_save_libdir"
   15265       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   15266     else
   15267             for found_dir in $rpathdirs; do
   15268         acl_save_libdir="$libdir"
   15269         libdir="$found_dir"
   15270         eval flag=\"$hardcode_libdir_flag_spec\"
   15271         libdir="$acl_save_libdir"
   15272         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   15273       done
   15274     fi
   15275   fi
   15276   if test "X$ltrpathdirs" != "X"; then
   15277             for found_dir in $ltrpathdirs; do
   15278       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   15279     done
   15280   fi
   15281 
   15282           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   15283 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   15284 if eval \${$gt_func_gnugettext_libintl+:} false; then :
   15285   $as_echo_n "(cached) " >&6
   15286 else
   15287   gt_save_CPPFLAGS="$CPPFLAGS"
   15288             CPPFLAGS="$CPPFLAGS $INCINTL"
   15289             gt_save_LIBS="$LIBS"
   15290             LIBS="$LIBS $LIBINTL"
   15291                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15292 /* end confdefs.h.  */
   15293 
   15294 #include <libintl.h>
   15295 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   15296 extern int _nl_msg_cat_cntr;
   15297 extern
   15298 #ifdef __cplusplus
   15299 "C"
   15300 #endif
   15301 const char *_nl_expand_alias (const char *);
   15302 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   15303 #else
   15304 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   15305 #endif
   15306 $gt_revision_test_code
   15307 
   15308 int
   15309 main ()
   15310 {
   15311 
   15312 bindtextdomain ("", "");
   15313 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   15314 
   15315   ;
   15316   return 0;
   15317 }
   15318 _ACEOF
   15319 if ac_fn_c_try_link "$LINENO"; then :
   15320   eval "$gt_func_gnugettext_libintl=yes"
   15321 else
   15322   eval "$gt_func_gnugettext_libintl=no"
   15323 fi
   15324 rm -f core conftest.err conftest.$ac_objext \
   15325     conftest$ac_exeext conftest.$ac_ext
   15326                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
   15327               LIBS="$LIBS $LIBICONV"
   15328               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15329 /* end confdefs.h.  */
   15330 
   15331 #include <libintl.h>
   15332 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   15333 extern int _nl_msg_cat_cntr;
   15334 extern
   15335 #ifdef __cplusplus
   15336 "C"
   15337 #endif
   15338 const char *_nl_expand_alias (const char *);
   15339 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   15340 #else
   15341 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   15342 #endif
   15343 $gt_revision_test_code
   15344 
   15345 int
   15346 main ()
   15347 {
   15348 
   15349 bindtextdomain ("", "");
   15350 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   15351 
   15352   ;
   15353   return 0;
   15354 }
   15355 _ACEOF
   15356 if ac_fn_c_try_link "$LINENO"; then :
   15357   LIBINTL="$LIBINTL $LIBICONV"
   15358                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   15359                  eval "$gt_func_gnugettext_libintl=yes"
   15360 
   15361 fi
   15362 rm -f core conftest.err conftest.$ac_objext \
   15363     conftest$ac_exeext conftest.$ac_ext
   15364             fi
   15365             CPPFLAGS="$gt_save_CPPFLAGS"
   15366             LIBS="$gt_save_LIBS"
   15367 fi
   15368 eval ac_res=\$$gt_func_gnugettext_libintl
   15369 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15370 $as_echo "$ac_res" >&6; }
   15371         fi
   15372 
   15373                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
   15374            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
   15375                 && test "$PACKAGE" != gettext-runtime \
   15376                 && test "$PACKAGE" != gettext-tools; }; then
   15377           gt_use_preinstalled_gnugettext=yes
   15378         else
   15379                     LIBINTL=
   15380           LTLIBINTL=
   15381           INCINTL=
   15382         fi
   15383 
   15384 
   15385 
   15386     if test -n "$INTL_MACOSX_LIBS"; then
   15387       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   15388          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   15389                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   15390         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   15391       fi
   15392     fi
   15393 
   15394     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   15395        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   15396 
   15397 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   15398 
   15399     else
   15400       USE_NLS=no
   15401     fi
   15402   fi
   15403 
   15404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   15405 $as_echo_n "checking whether to use NLS... " >&6; }
   15406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   15407 $as_echo "$USE_NLS" >&6; }
   15408   if test "$USE_NLS" = "yes"; then
   15409     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   15410 $as_echo_n "checking where the gettext function comes from... " >&6; }
   15411     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   15412       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   15413         gt_source="external libintl"
   15414       else
   15415         gt_source="libc"
   15416       fi
   15417     else
   15418       gt_source="included intl directory"
   15419     fi
   15420     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   15421 $as_echo "$gt_source" >&6; }
   15422   fi
   15423 
   15424   if test "$USE_NLS" = "yes"; then
   15425 
   15426     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   15427       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   15428         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   15429 $as_echo_n "checking how to link with libintl... " >&6; }
   15430         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   15431 $as_echo "$LIBINTL" >&6; }
   15432 
   15433   for element in $INCINTL; do
   15434     haveit=
   15435     for x in $CPPFLAGS; do
   15436 
   15437   acl_save_prefix="$prefix"
   15438   prefix="$acl_final_prefix"
   15439   acl_save_exec_prefix="$exec_prefix"
   15440   exec_prefix="$acl_final_exec_prefix"
   15441   eval x=\"$x\"
   15442   exec_prefix="$acl_save_exec_prefix"
   15443   prefix="$acl_save_prefix"
   15444 
   15445       if test "X$x" = "X$element"; then
   15446         haveit=yes
   15447         break
   15448       fi
   15449     done
   15450     if test -z "$haveit"; then
   15451       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   15452     fi
   15453   done
   15454 
   15455       fi
   15456 
   15457 
   15458 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   15459 
   15460 
   15461 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   15462 
   15463     fi
   15464 
   15465         POSUB=po
   15466   fi
   15467 
   15468 
   15469 
   15470     INTLLIBS="$LIBINTL"
   15471 
   15472 
   15473 
   15474 
   15475 
   15476 
   15477 fi
   15478 
   15479 
   15480 
   15481 
   15482 
   15483 
   15484 
   15485 
   15486 
   15487 
   15488 
   15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   15490 $as_echo_n "checking whether NLS is requested... " >&6; }
   15491 if test x"$USE_NLS" != xyes; then
   15492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15493 $as_echo "no" >&6; }
   15494 else
   15495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15496 $as_echo "yes" >&6; }
   15497 
   15498 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   15499 
   15500 
   15501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
   15502 $as_echo_n "checking for catalogs to be installed... " >&6; }
   15503   # Look for .po and .gmo files in the source directory.
   15504   CATALOGS=
   15505   XLINGUAS=
   15506   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
   15507     # If there aren't any .gmo files the shell will give us the
   15508     # literal string "../path/to/srcdir/po/*.gmo" which has to be
   15509     # weeded out.
   15510     case "$cat" in *\**)
   15511       continue;;
   15512     esac
   15513     # The quadruple backslash is collapsed to a double backslash
   15514     # by the backticks, then collapsed again by the double quotes,
   15515     # leaving us with one backslash in the sed expression (right
   15516     # before the dot that mustn't act as a wildcard).
   15517     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
   15518     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
   15519     # The user is allowed to set LINGUAS to a list of languages to
   15520     # install catalogs for.  If it's empty that means "all of them."
   15521     if test "x$LINGUAS" = x; then
   15522       CATALOGS="$CATALOGS $cat"
   15523       XLINGUAS="$XLINGUAS $lang"
   15524     else
   15525       case "$LINGUAS" in *$lang*)
   15526         CATALOGS="$CATALOGS $cat"
   15527         XLINGUAS="$XLINGUAS $lang"
   15528         ;;
   15529       esac
   15530     fi
   15531   done
   15532   LINGUAS="$XLINGUAS"
   15533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
   15534 $as_echo "$LINGUAS" >&6; }
   15535 
   15536 
   15537     DATADIRNAME=share
   15538 
   15539   INSTOBJEXT=.mo
   15540 
   15541   GENCAT=gencat
   15542 
   15543   CATOBJEXT=.gmo
   15544 
   15545 fi
   15546 
   15547 
   15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   15549 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   15550     # Check whether --enable-maintainer-mode was given.
   15551 if test "${enable_maintainer_mode+set}" = set; then :
   15552   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   15553 else
   15554   USE_MAINTAINER_MODE=no
   15555 fi
   15556 
   15557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   15558 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   15559    if test $USE_MAINTAINER_MODE = yes; then
   15560   MAINTAINER_MODE_TRUE=
   15561   MAINTAINER_MODE_FALSE='#'
   15562 else
   15563   MAINTAINER_MODE_TRUE='#'
   15564   MAINTAINER_MODE_FALSE=
   15565 fi
   15566 
   15567   MAINT=$MAINTAINER_MODE_TRUE
   15568 
   15569 
   15570  if false; then
   15571   GENINSRC_NEVER_TRUE=
   15572   GENINSRC_NEVER_FALSE='#'
   15573 else
   15574   GENINSRC_NEVER_TRUE='#'
   15575   GENINSRC_NEVER_FALSE=
   15576 fi
   15577 
   15578 
   15579 
   15580 for ac_header in memory.h sys/stat.h sys/types.h unistd.h
   15581 do :
   15582   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15583 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   15584 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   15585   cat >>confdefs.h <<_ACEOF
   15586 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15587 _ACEOF
   15588 
   15589 fi
   15590 
   15591 done
   15592 
   15593 
   15594 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
   15595 # people who are not cross-compiling but are compiling cross-assemblers.
   15596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling a cross-assembler" >&5
   15597 $as_echo_n "checking whether compiling a cross-assembler... " >&6; }
   15598 if test "${host}" = "${target}"; then
   15599   cross_gas=no
   15600 else
   15601   cross_gas=yes
   15602 
   15603 $as_echo "#define CROSS_COMPILE 1" >>confdefs.h
   15604 
   15605 fi
   15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_gas" >&5
   15607 $as_echo "$cross_gas" >&6; }
   15608 
   15609 for ac_func in strsignal
   15610 do :
   15611   ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal"
   15612 if test "x$ac_cv_func_strsignal" = xyes; then :
   15613   cat >>confdefs.h <<_ACEOF
   15614 #define HAVE_STRSIGNAL 1
   15615 _ACEOF
   15616 
   15617 fi
   15618 done
   15619 
   15620 
   15621 
   15622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
   15623 $as_echo_n "checking for LC_MESSAGES... " >&6; }
   15624 if ${am_cv_val_LC_MESSAGES+:} false; then :
   15625   $as_echo_n "(cached) " >&6
   15626 else
   15627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15628 /* end confdefs.h.  */
   15629 #include <locale.h>
   15630 int
   15631 main ()
   15632 {
   15633 return LC_MESSAGES
   15634   ;
   15635   return 0;
   15636 }
   15637 _ACEOF
   15638 if ac_fn_c_try_link "$LINENO"; then :
   15639   am_cv_val_LC_MESSAGES=yes
   15640 else
   15641   am_cv_val_LC_MESSAGES=no
   15642 fi
   15643 rm -f core conftest.err conftest.$ac_objext \
   15644     conftest$ac_exeext conftest.$ac_ext
   15645 fi
   15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
   15647 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
   15648   if test $am_cv_val_LC_MESSAGES = yes; then
   15649 
   15650 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
   15651 
   15652   fi
   15653 
   15654 
   15655 # do we need the math library?
   15656 case "${need_libm}" in
   15657 yes)
   15658   LIBM=
   15659 case $host in
   15660 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
   15661   # These system don't have libm, or don't need it
   15662   ;;
   15663 *-ncr-sysv4.3*)
   15664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
   15665 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
   15666 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
   15667   $as_echo_n "(cached) " >&6
   15668 else
   15669   ac_check_lib_save_LIBS=$LIBS
   15670 LIBS="-lmw  $LIBS"
   15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15672 /* end confdefs.h.  */
   15673 
   15674 /* Override any GCC internal prototype to avoid an error.
   15675    Use char because int might match the return type of a GCC
   15676    builtin and then its argument prototype would still apply.  */
   15677 #ifdef __cplusplus
   15678 extern "C"
   15679 #endif
   15680 char _mwvalidcheckl ();
   15681 int
   15682 main ()
   15683 {
   15684 return _mwvalidcheckl ();
   15685   ;
   15686   return 0;
   15687 }
   15688 _ACEOF
   15689 if ac_fn_c_try_link "$LINENO"; then :
   15690   ac_cv_lib_mw__mwvalidcheckl=yes
   15691 else
   15692   ac_cv_lib_mw__mwvalidcheckl=no
   15693 fi
   15694 rm -f core conftest.err conftest.$ac_objext \
   15695     conftest$ac_exeext conftest.$ac_ext
   15696 LIBS=$ac_check_lib_save_LIBS
   15697 fi
   15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
   15699 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
   15700 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
   15701   LIBM="-lmw"
   15702 fi
   15703 
   15704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   15705 $as_echo_n "checking for cos in -lm... " >&6; }
   15706 if ${ac_cv_lib_m_cos+:} false; then :
   15707   $as_echo_n "(cached) " >&6
   15708 else
   15709   ac_check_lib_save_LIBS=$LIBS
   15710 LIBS="-lm  $LIBS"
   15711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15712 /* end confdefs.h.  */
   15713 
   15714 /* Override any GCC internal prototype to avoid an error.
   15715    Use char because int might match the return type of a GCC
   15716    builtin and then its argument prototype would still apply.  */
   15717 #ifdef __cplusplus
   15718 extern "C"
   15719 #endif
   15720 char cos ();
   15721 int
   15722 main ()
   15723 {
   15724 return cos ();
   15725   ;
   15726   return 0;
   15727 }
   15728 _ACEOF
   15729 if ac_fn_c_try_link "$LINENO"; then :
   15730   ac_cv_lib_m_cos=yes
   15731 else
   15732   ac_cv_lib_m_cos=no
   15733 fi
   15734 rm -f core conftest.err conftest.$ac_objext \
   15735     conftest$ac_exeext conftest.$ac_ext
   15736 LIBS=$ac_check_lib_save_LIBS
   15737 fi
   15738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   15739 $as_echo "$ac_cv_lib_m_cos" >&6; }
   15740 if test "x$ac_cv_lib_m_cos" = xyes; then :
   15741   LIBM="$LIBM -lm"
   15742 fi
   15743 
   15744   ;;
   15745 *)
   15746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   15747 $as_echo_n "checking for cos in -lm... " >&6; }
   15748 if ${ac_cv_lib_m_cos+:} false; then :
   15749   $as_echo_n "(cached) " >&6
   15750 else
   15751   ac_check_lib_save_LIBS=$LIBS
   15752 LIBS="-lm  $LIBS"
   15753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15754 /* end confdefs.h.  */
   15755 
   15756 /* Override any GCC internal prototype to avoid an error.
   15757    Use char because int might match the return type of a GCC
   15758    builtin and then its argument prototype would still apply.  */
   15759 #ifdef __cplusplus
   15760 extern "C"
   15761 #endif
   15762 char cos ();
   15763 int
   15764 main ()
   15765 {
   15766 return cos ();
   15767   ;
   15768   return 0;
   15769 }
   15770 _ACEOF
   15771 if ac_fn_c_try_link "$LINENO"; then :
   15772   ac_cv_lib_m_cos=yes
   15773 else
   15774   ac_cv_lib_m_cos=no
   15775 fi
   15776 rm -f core conftest.err conftest.$ac_objext \
   15777     conftest$ac_exeext conftest.$ac_ext
   15778 LIBS=$ac_check_lib_save_LIBS
   15779 fi
   15780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   15781 $as_echo "$ac_cv_lib_m_cos" >&6; }
   15782 if test "x$ac_cv_lib_m_cos" = xyes; then :
   15783   LIBM="-lm"
   15784 fi
   15785 
   15786   ;;
   15787 esac
   15788 
   15789 
   15790 
   15791   ;;
   15792 esac
   15793 
   15794 # Some non-ANSI preprocessors botch requoting inside strings.  That's bad
   15795 # enough, but on some of those systems, the assert macro relies on requoting
   15796 # working properly!
   15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working assert macro" >&5
   15798 $as_echo_n "checking for working assert macro... " >&6; }
   15799 if ${gas_cv_assert_ok+:} false; then :
   15800   $as_echo_n "(cached) " >&6
   15801 else
   15802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15803 /* end confdefs.h.  */
   15804 #include <assert.h>
   15805 #include <string.h>
   15806 #include <stdio.h>
   15807 int
   15808 main ()
   15809 {
   15810 
   15811 /* check for requoting problems */
   15812 static int a, b, c, d;
   15813 static char *s;
   15814 assert (!strcmp(s, "foo bar baz quux"));
   15815 /* check for newline handling */
   15816 assert (a == b
   15817         || c == d);
   15818 
   15819   ;
   15820   return 0;
   15821 }
   15822 _ACEOF
   15823 if ac_fn_c_try_link "$LINENO"; then :
   15824   gas_cv_assert_ok=yes
   15825 else
   15826   gas_cv_assert_ok=no
   15827 fi
   15828 rm -f core conftest.err conftest.$ac_objext \
   15829     conftest$ac_exeext conftest.$ac_ext
   15830 fi
   15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_assert_ok" >&5
   15832 $as_echo "$gas_cv_assert_ok" >&6; }
   15833 test $gas_cv_assert_ok = yes ||
   15834 $as_echo "#define BROKEN_ASSERT 1" >>confdefs.h
   15835 
   15836 
   15837 
   15838 # On some systems, the system header files may not declare malloc, realloc,
   15839 # and free.  There are places where gas needs these functions to have been
   15840 # declared -- such as when taking their addresses.
   15841 gas_test_headers="
   15842 #ifdef HAVE_MEMORY_H
   15843 #include <memory.h>
   15844 #endif
   15845 #include <string.h>
   15846 #include <stdlib.h>
   15847 #ifdef HAVE_UNISTD_H
   15848 #include <unistd.h>
   15849 #endif
   15850 "
   15851 
   15852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
   15853 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
   15854 if ${gas_cv_decl_getopt_unistd_h+:} false; then :
   15855   $as_echo_n "(cached) " >&6
   15856 else
   15857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15858 /* end confdefs.h.  */
   15859 #include <unistd.h>
   15860 int
   15861 main ()
   15862 {
   15863 extern int getopt (int, char *const*, const char *);
   15864   ;
   15865   return 0;
   15866 }
   15867 _ACEOF
   15868 if ac_fn_c_try_compile "$LINENO"; then :
   15869   gas_cv_decl_getopt_unistd_h=yes
   15870 else
   15871   gas_cv_decl_getopt_unistd_h=no
   15872 fi
   15873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15874 fi
   15875 
   15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_getopt_unistd_h" >&5
   15877 $as_echo "$gas_cv_decl_getopt_unistd_h" >&6; }
   15878 if test $gas_cv_decl_getopt_unistd_h = yes; then
   15879 
   15880 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
   15881 
   15882 fi
   15883 
   15884 
   15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for environ" >&5
   15886 $as_echo_n "checking whether declaration is required for environ... " >&6; }
   15887 if ${gas_cv_decl_needed_environ+:} false; then :
   15888   $as_echo_n "(cached) " >&6
   15889 else
   15890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15891 /* end confdefs.h.  */
   15892 $gas_test_headers
   15893 int
   15894 main ()
   15895 {
   15896 
   15897 typedef char **f;
   15898 f x;
   15899 x = (f) environ;
   15900 
   15901   ;
   15902   return 0;
   15903 }
   15904 _ACEOF
   15905 if ac_fn_c_try_link "$LINENO"; then :
   15906   gas_cv_decl_needed_environ=no
   15907 else
   15908   gas_cv_decl_needed_environ=yes
   15909 fi
   15910 rm -f core conftest.err conftest.$ac_objext \
   15911     conftest$ac_exeext conftest.$ac_ext
   15912 fi
   15913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_environ" >&5
   15914 $as_echo "$gas_cv_decl_needed_environ" >&6; }
   15915 if test $gas_cv_decl_needed_environ = yes; then
   15916 
   15917 $as_echo "#define NEED_DECLARATION_ENVIRON 1" >>confdefs.h
   15918 
   15919 fi
   15920 
   15921 
   15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for ffs" >&5
   15923 $as_echo_n "checking whether declaration is required for ffs... " >&6; }
   15924 if ${gas_cv_decl_needed_ffs+:} false; then :
   15925   $as_echo_n "(cached) " >&6
   15926 else
   15927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15928 /* end confdefs.h.  */
   15929 $gas_test_headers
   15930 int
   15931 main ()
   15932 {
   15933 
   15934 typedef int (*f)(int);
   15935 f x;
   15936 x = (f) ffs;
   15937 
   15938   ;
   15939   return 0;
   15940 }
   15941 _ACEOF
   15942 if ac_fn_c_try_link "$LINENO"; then :
   15943   gas_cv_decl_needed_ffs=no
   15944 else
   15945   gas_cv_decl_needed_ffs=yes
   15946 fi
   15947 rm -f core conftest.err conftest.$ac_objext \
   15948     conftest$ac_exeext conftest.$ac_ext
   15949 fi
   15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_ffs" >&5
   15951 $as_echo "$gas_cv_decl_needed_ffs" >&6; }
   15952 if test $gas_cv_decl_needed_ffs = yes; then
   15953 
   15954 $as_echo "#define NEED_DECLARATION_FFS 1" >>confdefs.h
   15955 
   15956 fi
   15957 
   15958 
   15959 ac_fn_c_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "$ac_includes_default"
   15960 if test "x$ac_cv_have_decl_mempcpy" = xyes; then :
   15961   ac_have_decl=1
   15962 else
   15963   ac_have_decl=0
   15964 fi
   15965 
   15966 cat >>confdefs.h <<_ACEOF
   15967 #define HAVE_DECL_MEMPCPY $ac_have_decl
   15968 _ACEOF
   15969 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
   15970 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
   15971   ac_have_decl=1
   15972 else
   15973   ac_have_decl=0
   15974 fi
   15975 
   15976 cat >>confdefs.h <<_ACEOF
   15977 #define HAVE_DECL_STPCPY $ac_have_decl
   15978 _ACEOF
   15979 
   15980 
   15981 
   15982 case "${host}" in
   15983 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
   15984 
   15985 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
   15986  ;;
   15987 esac
   15988 
   15989 # Link in zlib/zstd if we can.  This allows us to write compressed debug sections.
   15990 
   15991   # Use the system's zlib library.
   15992   zlibdir="-L\$(top_builddir)/../zlib"
   15993   zlibinc="-I\$(top_srcdir)/../zlib"
   15994 
   15995 # Check whether --with-system-zlib was given.
   15996 if test "${with_system_zlib+set}" = set; then :
   15997   withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
   15998     zlibdir=
   15999     zlibinc=
   16000   fi
   16001 
   16002 fi
   16003 
   16004 
   16005 
   16006 
   16007 
   16008 
   16009 
   16010 
   16011 
   16012 
   16013 
   16014 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   16015 	if test -n "$ac_tool_prefix"; then
   16016   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   16017 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   16018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16019 $as_echo_n "checking for $ac_word... " >&6; }
   16020 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   16021   $as_echo_n "(cached) " >&6
   16022 else
   16023   case $PKG_CONFIG in
   16024   [\\/]* | ?:[\\/]*)
   16025   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   16026   ;;
   16027   *)
   16028   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16029 for as_dir in $PATH
   16030 do
   16031   IFS=$as_save_IFS
   16032   test -z "$as_dir" && as_dir=.
   16033     for ac_exec_ext in '' $ac_executable_extensions; do
   16034   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16035     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   16036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16037     break 2
   16038   fi
   16039 done
   16040   done
   16041 IFS=$as_save_IFS
   16042 
   16043   ;;
   16044 esac
   16045 fi
   16046 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   16047 if test -n "$PKG_CONFIG"; then
   16048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   16049 $as_echo "$PKG_CONFIG" >&6; }
   16050 else
   16051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16052 $as_echo "no" >&6; }
   16053 fi
   16054 
   16055 
   16056 fi
   16057 if test -z "$ac_cv_path_PKG_CONFIG"; then
   16058   ac_pt_PKG_CONFIG=$PKG_CONFIG
   16059   # Extract the first word of "pkg-config", so it can be a program name with args.
   16060 set dummy pkg-config; ac_word=$2
   16061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16062 $as_echo_n "checking for $ac_word... " >&6; }
   16063 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   16064   $as_echo_n "(cached) " >&6
   16065 else
   16066   case $ac_pt_PKG_CONFIG in
   16067   [\\/]* | ?:[\\/]*)
   16068   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   16069   ;;
   16070   *)
   16071   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16072 for as_dir in $PATH
   16073 do
   16074   IFS=$as_save_IFS
   16075   test -z "$as_dir" && as_dir=.
   16076     for ac_exec_ext in '' $ac_executable_extensions; do
   16077   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16078     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   16079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16080     break 2
   16081   fi
   16082 done
   16083   done
   16084 IFS=$as_save_IFS
   16085 
   16086   ;;
   16087 esac
   16088 fi
   16089 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   16090 if test -n "$ac_pt_PKG_CONFIG"; then
   16091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   16092 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   16093 else
   16094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16095 $as_echo "no" >&6; }
   16096 fi
   16097 
   16098   if test "x$ac_pt_PKG_CONFIG" = x; then
   16099     PKG_CONFIG=""
   16100   else
   16101     case $cross_compiling:$ac_tool_warned in
   16102 yes:)
   16103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   16104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   16105 ac_tool_warned=yes ;;
   16106 esac
   16107     PKG_CONFIG=$ac_pt_PKG_CONFIG
   16108   fi
   16109 else
   16110   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   16111 fi
   16112 
   16113 fi
   16114 if test -n "$PKG_CONFIG"; then
   16115 	_pkg_min_version=0.9.0
   16116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   16117 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   16118 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   16119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16120 $as_echo "yes" >&6; }
   16121 	else
   16122 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16123 $as_echo "no" >&6; }
   16124 		PKG_CONFIG=""
   16125 	fi
   16126 fi
   16127 
   16128 
   16129 # Check whether --with-zstd was given.
   16130 if test "${with_zstd+set}" = set; then :
   16131   withval=$with_zstd;
   16132 else
   16133   with_zstd=auto
   16134 fi
   16135 
   16136 
   16137 if test "$with_zstd" != no; then :
   16138 
   16139 pkg_failed=no
   16140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd >= 1.4.0" >&5
   16141 $as_echo_n "checking for libzstd >= 1.4.0... " >&6; }
   16142 
   16143 if test -n "$ZSTD_CFLAGS"; then
   16144     pkg_cv_ZSTD_CFLAGS="$ZSTD_CFLAGS"
   16145  elif test -n "$PKG_CONFIG"; then
   16146     if test -n "$PKG_CONFIG" && \
   16147     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
   16148   ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
   16149   ac_status=$?
   16150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16151   test $ac_status = 0; }; then
   16152   pkg_cv_ZSTD_CFLAGS=`$PKG_CONFIG --cflags "libzstd >= 1.4.0" 2>/dev/null`
   16153 		      test "x$?" != "x0" && pkg_failed=yes
   16154 else
   16155   pkg_failed=yes
   16156 fi
   16157  else
   16158     pkg_failed=untried
   16159 fi
   16160 if test -n "$ZSTD_LIBS"; then
   16161     pkg_cv_ZSTD_LIBS="$ZSTD_LIBS"
   16162  elif test -n "$PKG_CONFIG"; then
   16163     if test -n "$PKG_CONFIG" && \
   16164     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
   16165   ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
   16166   ac_status=$?
   16167   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16168   test $ac_status = 0; }; then
   16169   pkg_cv_ZSTD_LIBS=`$PKG_CONFIG --libs "libzstd >= 1.4.0" 2>/dev/null`
   16170 		      test "x$?" != "x0" && pkg_failed=yes
   16171 else
   16172   pkg_failed=yes
   16173 fi
   16174  else
   16175     pkg_failed=untried
   16176 fi
   16177 
   16178 if test $pkg_failed = no; then
   16179   pkg_save_LDFLAGS="$LDFLAGS"
   16180   LDFLAGS="$LDFLAGS $pkg_cv_ZSTD_LIBS"
   16181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16182 /* end confdefs.h.  */
   16183 
   16184 int
   16185 main ()
   16186 {
   16187 
   16188   ;
   16189   return 0;
   16190 }
   16191 _ACEOF
   16192 if ac_fn_c_try_link "$LINENO"; then :
   16193 
   16194 else
   16195   pkg_failed=yes
   16196 fi
   16197 rm -f core conftest.err conftest.$ac_objext \
   16198     conftest$ac_exeext conftest.$ac_ext
   16199   LDFLAGS=$pkg_save_LDFLAGS
   16200 fi
   16201 
   16202 
   16203 
   16204 if test $pkg_failed = yes; then
   16205         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16206 $as_echo "no" >&6; }
   16207 
   16208 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16209         _pkg_short_errors_supported=yes
   16210 else
   16211         _pkg_short_errors_supported=no
   16212 fi
   16213         if test $_pkg_short_errors_supported = yes; then
   16214 	        ZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
   16215         else
   16216 	        ZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
   16217         fi
   16218 	# Put the nasty error message in config.log where it belongs
   16219 	echo "$ZSTD_PKG_ERRORS" >&5
   16220 
   16221 
   16222     if test "$with_zstd" = yes; then
   16223       as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
   16224     fi
   16225 
   16226 elif test $pkg_failed = untried; then
   16227         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16228 $as_echo "no" >&6; }
   16229 
   16230     if test "$with_zstd" = yes; then
   16231       as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
   16232     fi
   16233 
   16234 else
   16235 	ZSTD_CFLAGS=$pkg_cv_ZSTD_CFLAGS
   16236 	ZSTD_LIBS=$pkg_cv_ZSTD_LIBS
   16237         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16238 $as_echo "yes" >&6; }
   16239 
   16240 
   16241 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
   16242 
   16243 
   16244 fi
   16245 
   16246 fi
   16247 
   16248 
   16249 # Support for VMS timestamps via cross compile
   16250 
   16251 if test "$ac_cv_header_time_h" = yes; then
   16252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct tm.tm_gmtoff in time.h" >&5
   16253 $as_echo_n "checking for struct tm.tm_gmtoff in time.h... " >&6; }
   16254  if ${gas_cv_have_time_type_member_tm_gmtoff+:} false; then :
   16255   $as_echo_n "(cached) " >&6
   16256 else
   16257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16258 /* end confdefs.h.  */
   16259 
   16260 #define _BSD_SOURCE 1
   16261 #include <time.h>
   16262 int
   16263 main ()
   16264 {
   16265 struct tm avar; void* aref = (void*) &avar.tm_gmtoff
   16266   ;
   16267   return 0;
   16268 }
   16269 _ACEOF
   16270 if ac_fn_c_try_compile "$LINENO"; then :
   16271   gas_cv_have_time_type_member_tm_gmtoff=yes
   16272 else
   16273   gas_cv_have_time_type_member_tm_gmtoff=no
   16274 
   16275 fi
   16276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16277 fi
   16278 
   16279  if test $gas_cv_have_time_type_member_tm_gmtoff = yes; then
   16280 
   16281 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
   16282 
   16283  fi
   16284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_time_type_member_tm_gmtoff" >&5
   16285 $as_echo "$gas_cv_have_time_type_member_tm_gmtoff" >&6; }
   16286 
   16287 fi
   16288 
   16289 if test "$ac_cv_header_sys_stat_h" = yes; then
   16290     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_sec in sys/stat.h" >&5
   16291 $as_echo_n "checking for struct stat.st_mtim.tv_sec in sys/stat.h... " >&6; }
   16292  if ${gas_cv_have_sys_stat_type_member_st_mtim_tv_sec+:} false; then :
   16293   $as_echo_n "(cached) " >&6
   16294 else
   16295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16296 /* end confdefs.h.  */
   16297 
   16298 #define _BSD_SOURCE 1
   16299 #include <sys/stat.h>
   16300 int
   16301 main ()
   16302 {
   16303 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_sec
   16304   ;
   16305   return 0;
   16306 }
   16307 _ACEOF
   16308 if ac_fn_c_try_compile "$LINENO"; then :
   16309   gas_cv_have_sys_stat_type_member_st_mtim_tv_sec=yes
   16310 else
   16311   gas_cv_have_sys_stat_type_member_st_mtim_tv_sec=no
   16312 
   16313 fi
   16314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16315 fi
   16316 
   16317  if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec = yes; then
   16318 
   16319 $as_echo "#define HAVE_ST_MTIM_TV_SEC 1" >>confdefs.h
   16320 
   16321  fi
   16322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&5
   16323 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&6; }
   16324 
   16325     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec in sys/stat.h" >&5
   16326 $as_echo_n "checking for struct stat.st_mtim.tv_nsec in sys/stat.h... " >&6; }
   16327  if ${gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec+:} false; then :
   16328   $as_echo_n "(cached) " >&6
   16329 else
   16330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16331 /* end confdefs.h.  */
   16332 
   16333 #define _BSD_SOURCE 1
   16334 #include <sys/stat.h>
   16335 int
   16336 main ()
   16337 {
   16338 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_nsec
   16339   ;
   16340   return 0;
   16341 }
   16342 _ACEOF
   16343 if ac_fn_c_try_compile "$LINENO"; then :
   16344   gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec=yes
   16345 else
   16346   gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec=no
   16347 
   16348 fi
   16349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16350 fi
   16351 
   16352  if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec = yes; then
   16353 
   16354 $as_echo "#define HAVE_ST_MTIM_TV_NSEC 1" >>confdefs.h
   16355 
   16356  fi
   16357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&5
   16358 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&6; }
   16359 
   16360 fi
   16361 
   16362 
   16363 
   16364 
   16365 
   16366 
   16367 
   16368 
   16369 
   16370 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
   16371 
   16372 ac_config_commands="$ac_config_commands default"
   16373 
   16374 
   16375 cat >confcache <<\_ACEOF
   16376 # This file is a shell script that caches the results of configure
   16377 # tests run on this system so they can be shared between configure
   16378 # scripts and configure runs, see configure's option --config-cache.
   16379 # It is not useful on other systems.  If it contains results you don't
   16380 # want to keep, you may remove or edit it.
   16381 #
   16382 # config.status only pays attention to the cache file if you give it
   16383 # the --recheck option to rerun configure.
   16384 #
   16385 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   16386 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   16387 # following values.
   16388 
   16389 _ACEOF
   16390 
   16391 # The following way of writing the cache mishandles newlines in values,
   16392 # but we know of no workaround that is simple, portable, and efficient.
   16393 # So, we kill variables containing newlines.
   16394 # Ultrix sh set writes to stderr and can't be redirected directly,
   16395 # and sets the high bit in the cache file unless we assign to the vars.
   16396 (
   16397   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   16398     eval ac_val=\$$ac_var
   16399     case $ac_val in #(
   16400     *${as_nl}*)
   16401       case $ac_var in #(
   16402       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   16403 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   16404       esac
   16405       case $ac_var in #(
   16406       _ | IFS | as_nl) ;; #(
   16407       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   16408       *) { eval $ac_var=; unset $ac_var;} ;;
   16409       esac ;;
   16410     esac
   16411   done
   16412 
   16413   (set) 2>&1 |
   16414     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   16415     *${as_nl}ac_space=\ *)
   16416       # `set' does not quote correctly, so add quotes: double-quote
   16417       # substitution turns \\\\ into \\, and sed turns \\ into \.
   16418       sed -n \
   16419 	"s/'/'\\\\''/g;
   16420 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   16421       ;; #(
   16422     *)
   16423       # `set' quotes correctly as required by POSIX, so do not add quotes.
   16424       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   16425       ;;
   16426     esac |
   16427     sort
   16428 ) |
   16429   sed '
   16430      /^ac_cv_env_/b end
   16431      t clear
   16432      :clear
   16433      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   16434      t end
   16435      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   16436      :end' >>confcache
   16437 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   16438   if test -w "$cache_file"; then
   16439     if test "x$cache_file" != "x/dev/null"; then
   16440       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   16441 $as_echo "$as_me: updating cache $cache_file" >&6;}
   16442       if test ! -f "$cache_file" || test -h "$cache_file"; then
   16443 	cat confcache >"$cache_file"
   16444       else
   16445         case $cache_file in #(
   16446         */* | ?:*)
   16447 	  mv -f confcache "$cache_file"$$ &&
   16448 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   16449         *)
   16450 	  mv -f confcache "$cache_file" ;;
   16451 	esac
   16452       fi
   16453     fi
   16454   else
   16455     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   16456 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   16457   fi
   16458 fi
   16459 rm -f confcache
   16460 
   16461 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   16462 # Let make expand exec_prefix.
   16463 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   16464 
   16465 DEFS=-DHAVE_CONFIG_H
   16466 
   16467 ac_libobjs=
   16468 ac_ltlibobjs=
   16469 U=
   16470 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   16471   # 1. Remove the extension, and $U if already installed.
   16472   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   16473   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   16474   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   16475   #    will be set to the directory where LIBOBJS objects are built.
   16476   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   16477   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   16478 done
   16479 LIBOBJS=$ac_libobjs
   16480 
   16481 LTLIBOBJS=$ac_ltlibobjs
   16482 
   16483 
   16484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   16485 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   16486    if test -n "$am_sleep_pid"; then
   16487      # Hide warnings about reused PIDs.
   16488      wait $am_sleep_pid 2>/dev/null
   16489    fi
   16490    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   16491 $as_echo "done" >&6; }
   16492  if test -n "$EXEEXT"; then
   16493   am__EXEEXT_TRUE=
   16494   am__EXEEXT_FALSE='#'
   16495 else
   16496   am__EXEEXT_TRUE='#'
   16497   am__EXEEXT_FALSE=
   16498 fi
   16499 
   16500 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   16501   as_fn_error $? "conditional \"AMDEP\" was never defined.
   16502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16503 fi
   16504 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   16505   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   16506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16507 fi
   16508 
   16509 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   16510   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   16511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16512 fi
   16513 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
   16514   as_fn_error $? "conditional \"GENINSRC_NEVER\" was never defined.
   16515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16516 fi
   16517 
   16518 : "${CONFIG_STATUS=./config.status}"
   16519 ac_write_fail=0
   16520 ac_clean_files_save=$ac_clean_files
   16521 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   16522 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   16523 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   16524 as_write_fail=0
   16525 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   16526 #! $SHELL
   16527 # Generated by $as_me.
   16528 # Run this file to recreate the current configuration.
   16529 # Compiler output produced by configure, useful for debugging
   16530 # configure, is in config.log if it exists.
   16531 
   16532 debug=false
   16533 ac_cs_recheck=false
   16534 ac_cs_silent=false
   16535 
   16536 SHELL=\${CONFIG_SHELL-$SHELL}
   16537 export SHELL
   16538 _ASEOF
   16539 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   16540 ## -------------------- ##
   16541 ## M4sh Initialization. ##
   16542 ## -------------------- ##
   16543 
   16544 # Be more Bourne compatible
   16545 DUALCASE=1; export DUALCASE # for MKS sh
   16546 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   16547   emulate sh
   16548   NULLCMD=:
   16549   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   16550   # is contrary to our usage.  Disable this feature.
   16551   alias -g '${1+"$@"}'='"$@"'
   16552   setopt NO_GLOB_SUBST
   16553 else
   16554   case `(set -o) 2>/dev/null` in #(
   16555   *posix*) :
   16556     set -o posix ;; #(
   16557   *) :
   16558      ;;
   16559 esac
   16560 fi
   16561 
   16562 
   16563 as_nl='
   16564 '
   16565 export as_nl
   16566 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   16567 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   16568 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   16569 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   16570 # Prefer a ksh shell builtin over an external printf program on Solaris,
   16571 # but without wasting forks for bash or zsh.
   16572 if test -z "$BASH_VERSION$ZSH_VERSION" \
   16573     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   16574   as_echo='print -r --'
   16575   as_echo_n='print -rn --'
   16576 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   16577   as_echo='printf %s\n'
   16578   as_echo_n='printf %s'
   16579 else
   16580   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   16581     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   16582     as_echo_n='/usr/ucb/echo -n'
   16583   else
   16584     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   16585     as_echo_n_body='eval
   16586       arg=$1;
   16587       case $arg in #(
   16588       *"$as_nl"*)
   16589 	expr "X$arg" : "X\\(.*\\)$as_nl";
   16590 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   16591       esac;
   16592       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   16593     '
   16594     export as_echo_n_body
   16595     as_echo_n='sh -c $as_echo_n_body as_echo'
   16596   fi
   16597   export as_echo_body
   16598   as_echo='sh -c $as_echo_body as_echo'
   16599 fi
   16600 
   16601 # The user is always right.
   16602 if test "${PATH_SEPARATOR+set}" != set; then
   16603   PATH_SEPARATOR=:
   16604   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   16605     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   16606       PATH_SEPARATOR=';'
   16607   }
   16608 fi
   16609 
   16610 
   16611 # IFS
   16612 # We need space, tab and new line, in precisely that order.  Quoting is
   16613 # there to prevent editors from complaining about space-tab.
   16614 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   16615 # splitting by setting IFS to empty value.)
   16616 IFS=" ""	$as_nl"
   16617 
   16618 # Find who we are.  Look in the path if we contain no directory separator.
   16619 as_myself=
   16620 case $0 in #((
   16621   *[\\/]* ) as_myself=$0 ;;
   16622   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16623 for as_dir in $PATH
   16624 do
   16625   IFS=$as_save_IFS
   16626   test -z "$as_dir" && as_dir=.
   16627     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   16628   done
   16629 IFS=$as_save_IFS
   16630 
   16631      ;;
   16632 esac
   16633 # We did not find ourselves, most probably we were run as `sh COMMAND'
   16634 # in which case we are not to be found in the path.
   16635 if test "x$as_myself" = x; then
   16636   as_myself=$0
   16637 fi
   16638 if test ! -f "$as_myself"; then
   16639   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   16640   exit 1
   16641 fi
   16642 
   16643 # Unset variables that we do not need and which cause bugs (e.g. in
   16644 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   16645 # suppresses any "Segmentation fault" message there.  '((' could
   16646 # trigger a bug in pdksh 5.2.14.
   16647 for as_var in BASH_ENV ENV MAIL MAILPATH
   16648 do eval test x\${$as_var+set} = xset \
   16649   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   16650 done
   16651 PS1='$ '
   16652 PS2='> '
   16653 PS4='+ '
   16654 
   16655 # NLS nuisances.
   16656 LC_ALL=C
   16657 export LC_ALL
   16658 LANGUAGE=C
   16659 export LANGUAGE
   16660 
   16661 # CDPATH.
   16662 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   16663 
   16664 
   16665 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   16666 # ----------------------------------------
   16667 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   16668 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   16669 # script with STATUS, using 1 if that was 0.
   16670 as_fn_error ()
   16671 {
   16672   as_status=$1; test $as_status -eq 0 && as_status=1
   16673   if test "$4"; then
   16674     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   16675     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   16676   fi
   16677   $as_echo "$as_me: error: $2" >&2
   16678   as_fn_exit $as_status
   16679 } # as_fn_error
   16680 
   16681 
   16682 # as_fn_set_status STATUS
   16683 # -----------------------
   16684 # Set $? to STATUS, without forking.
   16685 as_fn_set_status ()
   16686 {
   16687   return $1
   16688 } # as_fn_set_status
   16689 
   16690 # as_fn_exit STATUS
   16691 # -----------------
   16692 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   16693 as_fn_exit ()
   16694 {
   16695   set +e
   16696   as_fn_set_status $1
   16697   exit $1
   16698 } # as_fn_exit
   16699 
   16700 # as_fn_unset VAR
   16701 # ---------------
   16702 # Portably unset VAR.
   16703 as_fn_unset ()
   16704 {
   16705   { eval $1=; unset $1;}
   16706 }
   16707 as_unset=as_fn_unset
   16708 # as_fn_append VAR VALUE
   16709 # ----------------------
   16710 # Append the text in VALUE to the end of the definition contained in VAR. Take
   16711 # advantage of any shell optimizations that allow amortized linear growth over
   16712 # repeated appends, instead of the typical quadratic growth present in naive
   16713 # implementations.
   16714 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   16715   eval 'as_fn_append ()
   16716   {
   16717     eval $1+=\$2
   16718   }'
   16719 else
   16720   as_fn_append ()
   16721   {
   16722     eval $1=\$$1\$2
   16723   }
   16724 fi # as_fn_append
   16725 
   16726 # as_fn_arith ARG...
   16727 # ------------------
   16728 # Perform arithmetic evaluation on the ARGs, and store the result in the
   16729 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   16730 # must be portable across $(()) and expr.
   16731 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   16732   eval 'as_fn_arith ()
   16733   {
   16734     as_val=$(( $* ))
   16735   }'
   16736 else
   16737   as_fn_arith ()
   16738   {
   16739     as_val=`expr "$@" || test $? -eq 1`
   16740   }
   16741 fi # as_fn_arith
   16742 
   16743 
   16744 if expr a : '\(a\)' >/dev/null 2>&1 &&
   16745    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   16746   as_expr=expr
   16747 else
   16748   as_expr=false
   16749 fi
   16750 
   16751 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   16752   as_basename=basename
   16753 else
   16754   as_basename=false
   16755 fi
   16756 
   16757 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   16758   as_dirname=dirname
   16759 else
   16760   as_dirname=false
   16761 fi
   16762 
   16763 as_me=`$as_basename -- "$0" ||
   16764 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   16765 	 X"$0" : 'X\(//\)$' \| \
   16766 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   16767 $as_echo X/"$0" |
   16768     sed '/^.*\/\([^/][^/]*\)\/*$/{
   16769 	    s//\1/
   16770 	    q
   16771 	  }
   16772 	  /^X\/\(\/\/\)$/{
   16773 	    s//\1/
   16774 	    q
   16775 	  }
   16776 	  /^X\/\(\/\).*/{
   16777 	    s//\1/
   16778 	    q
   16779 	  }
   16780 	  s/.*/./; q'`
   16781 
   16782 # Avoid depending upon Character Ranges.
   16783 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   16784 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   16785 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   16786 as_cr_digits='0123456789'
   16787 as_cr_alnum=$as_cr_Letters$as_cr_digits
   16788 
   16789 ECHO_C= ECHO_N= ECHO_T=
   16790 case `echo -n x` in #(((((
   16791 -n*)
   16792   case `echo 'xy\c'` in
   16793   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   16794   xy)  ECHO_C='\c';;
   16795   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   16796        ECHO_T='	';;
   16797   esac;;
   16798 *)
   16799   ECHO_N='-n';;
   16800 esac
   16801 
   16802 rm -f conf$$ conf$$.exe conf$$.file
   16803 if test -d conf$$.dir; then
   16804   rm -f conf$$.dir/conf$$.file
   16805 else
   16806   rm -f conf$$.dir
   16807   mkdir conf$$.dir 2>/dev/null
   16808 fi
   16809 if (echo >conf$$.file) 2>/dev/null; then
   16810   if ln -s conf$$.file conf$$ 2>/dev/null; then
   16811     as_ln_s='ln -s'
   16812     # ... but there are two gotchas:
   16813     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   16814     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   16815     # In both cases, we have to default to `cp -pR'.
   16816     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   16817       as_ln_s='cp -pR'
   16818   elif ln conf$$.file conf$$ 2>/dev/null; then
   16819     as_ln_s=ln
   16820   else
   16821     as_ln_s='cp -pR'
   16822   fi
   16823 else
   16824   as_ln_s='cp -pR'
   16825 fi
   16826 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   16827 rmdir conf$$.dir 2>/dev/null
   16828 
   16829 
   16830 # as_fn_mkdir_p
   16831 # -------------
   16832 # Create "$as_dir" as a directory, including parents if necessary.
   16833 as_fn_mkdir_p ()
   16834 {
   16835 
   16836   case $as_dir in #(
   16837   -*) as_dir=./$as_dir;;
   16838   esac
   16839   test -d "$as_dir" || eval $as_mkdir_p || {
   16840     as_dirs=
   16841     while :; do
   16842       case $as_dir in #(
   16843       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   16844       *) as_qdir=$as_dir;;
   16845       esac
   16846       as_dirs="'$as_qdir' $as_dirs"
   16847       as_dir=`$as_dirname -- "$as_dir" ||
   16848 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16849 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16850 	 X"$as_dir" : 'X\(//\)$' \| \
   16851 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   16852 $as_echo X"$as_dir" |
   16853     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16854 	    s//\1/
   16855 	    q
   16856 	  }
   16857 	  /^X\(\/\/\)[^/].*/{
   16858 	    s//\1/
   16859 	    q
   16860 	  }
   16861 	  /^X\(\/\/\)$/{
   16862 	    s//\1/
   16863 	    q
   16864 	  }
   16865 	  /^X\(\/\).*/{
   16866 	    s//\1/
   16867 	    q
   16868 	  }
   16869 	  s/.*/./; q'`
   16870       test -d "$as_dir" && break
   16871     done
   16872     test -z "$as_dirs" || eval "mkdir $as_dirs"
   16873   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   16874 
   16875 
   16876 } # as_fn_mkdir_p
   16877 if mkdir -p . 2>/dev/null; then
   16878   as_mkdir_p='mkdir -p "$as_dir"'
   16879 else
   16880   test -d ./-p && rmdir ./-p
   16881   as_mkdir_p=false
   16882 fi
   16883 
   16884 
   16885 # as_fn_executable_p FILE
   16886 # -----------------------
   16887 # Test if FILE is an executable regular file.
   16888 as_fn_executable_p ()
   16889 {
   16890   test -f "$1" && test -x "$1"
   16891 } # as_fn_executable_p
   16892 as_test_x='test -x'
   16893 as_executable_p=as_fn_executable_p
   16894 
   16895 # Sed expression to map a string onto a valid CPP name.
   16896 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   16897 
   16898 # Sed expression to map a string onto a valid variable name.
   16899 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   16900 
   16901 
   16902 exec 6>&1
   16903 ## ----------------------------------- ##
   16904 ## Main body of $CONFIG_STATUS script. ##
   16905 ## ----------------------------------- ##
   16906 _ASEOF
   16907 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   16908 
   16909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16910 # Save the log message, to keep $0 and so on meaningful, and to
   16911 # report actual input values of CONFIG_FILES etc. instead of their
   16912 # values after options handling.
   16913 ac_log="
   16914 This file was extended by gas $as_me 2.46.0, which was
   16915 generated by GNU Autoconf 2.69.  Invocation command line was
   16916 
   16917   CONFIG_FILES    = $CONFIG_FILES
   16918   CONFIG_HEADERS  = $CONFIG_HEADERS
   16919   CONFIG_LINKS    = $CONFIG_LINKS
   16920   CONFIG_COMMANDS = $CONFIG_COMMANDS
   16921   $ $0 $@
   16922 
   16923 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   16924 "
   16925 
   16926 _ACEOF
   16927 
   16928 case $ac_config_files in *"
   16929 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   16930 esac
   16931 
   16932 case $ac_config_headers in *"
   16933 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   16934 esac
   16935 
   16936 
   16937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16938 # Files that config.status was made for.
   16939 config_files="$ac_config_files"
   16940 config_headers="$ac_config_headers"
   16941 config_commands="$ac_config_commands"
   16942 
   16943 _ACEOF
   16944 
   16945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16946 ac_cs_usage="\
   16947 \`$as_me' instantiates files and other configuration actions
   16948 from templates according to the current configuration.  Unless the files
   16949 and actions are specified as TAGs, all are instantiated by default.
   16950 
   16951 Usage: $0 [OPTION]... [TAG]...
   16952 
   16953   -h, --help       print this help, then exit
   16954   -V, --version    print version number and configuration settings, then exit
   16955       --config     print configuration, then exit
   16956   -q, --quiet, --silent
   16957                    do not print progress messages
   16958   -d, --debug      don't remove temporary files
   16959       --recheck    update $as_me by reconfiguring in the same conditions
   16960       --file=FILE[:TEMPLATE]
   16961                    instantiate the configuration file FILE
   16962       --header=FILE[:TEMPLATE]
   16963                    instantiate the configuration header FILE
   16964 
   16965 Configuration files:
   16966 $config_files
   16967 
   16968 Configuration headers:
   16969 $config_headers
   16970 
   16971 Configuration commands:
   16972 $config_commands
   16973 
   16974 Report bugs to the package provider."
   16975 
   16976 _ACEOF
   16977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16978 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   16979 ac_cs_version="\\
   16980 gas config.status 2.46.0
   16981 configured by $0, generated by GNU Autoconf 2.69,
   16982   with options \\"\$ac_cs_config\\"
   16983 
   16984 Copyright (C) 2012 Free Software Foundation, Inc.
   16985 This config.status script is free software; the Free Software Foundation
   16986 gives unlimited permission to copy, distribute and modify it."
   16987 
   16988 ac_pwd='$ac_pwd'
   16989 srcdir='$srcdir'
   16990 INSTALL='$INSTALL'
   16991 MKDIR_P='$MKDIR_P'
   16992 AWK='$AWK'
   16993 test -n "\$AWK" || AWK=awk
   16994 _ACEOF
   16995 
   16996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16997 # The default lists apply if the user does not specify any file.
   16998 ac_need_defaults=:
   16999 while test $# != 0
   17000 do
   17001   case $1 in
   17002   --*=?*)
   17003     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17004     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   17005     ac_shift=:
   17006     ;;
   17007   --*=)
   17008     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17009     ac_optarg=
   17010     ac_shift=:
   17011     ;;
   17012   *)
   17013     ac_option=$1
   17014     ac_optarg=$2
   17015     ac_shift=shift
   17016     ;;
   17017   esac
   17018 
   17019   case $ac_option in
   17020   # Handling of the options.
   17021   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   17022     ac_cs_recheck=: ;;
   17023   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   17024     $as_echo "$ac_cs_version"; exit ;;
   17025   --config | --confi | --conf | --con | --co | --c )
   17026     $as_echo "$ac_cs_config"; exit ;;
   17027   --debug | --debu | --deb | --de | --d | -d )
   17028     debug=: ;;
   17029   --file | --fil | --fi | --f )
   17030     $ac_shift
   17031     case $ac_optarg in
   17032     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17033     '') as_fn_error $? "missing file argument" ;;
   17034     esac
   17035     as_fn_append CONFIG_FILES " '$ac_optarg'"
   17036     ac_need_defaults=false;;
   17037   --header | --heade | --head | --hea )
   17038     $ac_shift
   17039     case $ac_optarg in
   17040     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17041     esac
   17042     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   17043     ac_need_defaults=false;;
   17044   --he | --h)
   17045     # Conflict between --help and --header
   17046     as_fn_error $? "ambiguous option: \`$1'
   17047 Try \`$0 --help' for more information.";;
   17048   --help | --hel | -h )
   17049     $as_echo "$ac_cs_usage"; exit ;;
   17050   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   17051   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   17052     ac_cs_silent=: ;;
   17053 
   17054   # This is an error.
   17055   -*) as_fn_error $? "unrecognized option: \`$1'
   17056 Try \`$0 --help' for more information." ;;
   17057 
   17058   *) as_fn_append ac_config_targets " $1"
   17059      ac_need_defaults=false ;;
   17060 
   17061   esac
   17062   shift
   17063 done
   17064 
   17065 ac_configure_extra_args=
   17066 
   17067 if $ac_cs_silent; then
   17068   exec 6>/dev/null
   17069   ac_configure_extra_args="$ac_configure_extra_args --silent"
   17070 fi
   17071 
   17072 _ACEOF
   17073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17074 if \$ac_cs_recheck; then
   17075   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   17076   shift
   17077   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   17078   CONFIG_SHELL='$SHELL'
   17079   export CONFIG_SHELL
   17080   exec "\$@"
   17081 fi
   17082 
   17083 _ACEOF
   17084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17085 exec 5>>config.log
   17086 {
   17087   echo
   17088   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   17089 ## Running $as_me. ##
   17090 _ASBOX
   17091   $as_echo "$ac_log"
   17092 } >&5
   17093 
   17094 _ACEOF
   17095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17096 #
   17097 # INIT-COMMANDS
   17098 #
   17099 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   17100 
   17101 
   17102 # The HP-UX ksh and POSIX shell print the target directory to stdout
   17103 # if CDPATH is set.
   17104 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17105 
   17106 sed_quote_subst='$sed_quote_subst'
   17107 double_quote_subst='$double_quote_subst'
   17108 delay_variable_subst='$delay_variable_subst'
   17109 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   17110 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   17111 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   17112 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   17113 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   17114 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   17115 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   17116 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   17117 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   17118 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   17119 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   17120 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   17121 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   17122 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   17123 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   17124 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   17125 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   17126 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   17127 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   17128 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   17129 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   17130 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   17131 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   17132 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   17133 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   17134 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   17135 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   17136 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   17137 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   17138 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   17139 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   17140 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   17141 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   17142 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   17143 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   17144 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   17145 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   17146 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17147 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17148 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   17149 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   17150 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   17151 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   17152 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   17153 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   17154 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   17155 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   17156 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   17157 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"`'
   17158 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   17159 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   17160 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   17161 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   17162 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   17163 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   17164 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   17165 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   17166 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   17167 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   17168 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   17169 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   17170 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   17171 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   17172 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   17173 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17174 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   17175 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   17176 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   17177 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   17178 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   17179 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   17180 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17181 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   17182 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17183 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   17184 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17185 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   17186 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17187 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17188 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   17189 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   17190 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   17191 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   17192 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   17193 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   17194 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17195 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   17196 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   17197 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   17198 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   17199 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   17200 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   17201 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   17202 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   17203 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   17204 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   17205 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   17206 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   17207 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   17208 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   17209 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   17210 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17211 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   17212 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   17213 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   17214 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   17215 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   17216 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17217 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17218 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   17219 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   17220 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   17221 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   17222 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   17223 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   17224 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   17225 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   17226 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   17227 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   17228 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   17229 
   17230 LTCC='$LTCC'
   17231 LTCFLAGS='$LTCFLAGS'
   17232 compiler='$compiler_DEFAULT'
   17233 
   17234 # A function that is used when there is no print builtin or printf.
   17235 func_fallback_echo ()
   17236 {
   17237   eval 'cat <<_LTECHO_EOF
   17238 \$1
   17239 _LTECHO_EOF'
   17240 }
   17241 
   17242 # Quote evaled strings.
   17243 for var in SHELL \
   17244 ECHO \
   17245 SED \
   17246 GREP \
   17247 EGREP \
   17248 FGREP \
   17249 LD \
   17250 NM \
   17251 LN_S \
   17252 lt_SP2NL \
   17253 lt_NL2SP \
   17254 reload_flag \
   17255 OBJDUMP \
   17256 deplibs_check_method \
   17257 file_magic_cmd \
   17258 AR \
   17259 AR_FLAGS \
   17260 STRIP \
   17261 RANLIB \
   17262 CC \
   17263 CFLAGS \
   17264 compiler \
   17265 lt_cv_sys_global_symbol_pipe \
   17266 lt_cv_sys_global_symbol_to_cdecl \
   17267 lt_cv_sys_global_symbol_to_c_name_address \
   17268 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   17269 lt_prog_compiler_no_builtin_flag \
   17270 lt_prog_compiler_wl \
   17271 lt_prog_compiler_pic \
   17272 lt_prog_compiler_static \
   17273 lt_cv_prog_compiler_c_o \
   17274 need_locks \
   17275 DSYMUTIL \
   17276 NMEDIT \
   17277 LIPO \
   17278 OTOOL \
   17279 OTOOL64 \
   17280 shrext_cmds \
   17281 export_dynamic_flag_spec \
   17282 whole_archive_flag_spec \
   17283 compiler_needs_object \
   17284 with_gnu_ld \
   17285 allow_undefined_flag \
   17286 no_undefined_flag \
   17287 hardcode_libdir_flag_spec \
   17288 hardcode_libdir_flag_spec_ld \
   17289 hardcode_libdir_separator \
   17290 fix_srcfile_path \
   17291 exclude_expsyms \
   17292 include_expsyms \
   17293 file_list_spec \
   17294 variables_saved_for_relink \
   17295 libname_spec \
   17296 library_names_spec \
   17297 soname_spec \
   17298 install_override_mode \
   17299 finish_eval \
   17300 old_striplib \
   17301 striplib; do
   17302     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   17303     *[\\\\\\\`\\"\\\$]*)
   17304       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   17305       ;;
   17306     *)
   17307       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   17308       ;;
   17309     esac
   17310 done
   17311 
   17312 # Double-quote double-evaled strings.
   17313 for var in reload_cmds \
   17314 old_postinstall_cmds \
   17315 old_postuninstall_cmds \
   17316 old_archive_cmds \
   17317 extract_expsyms_cmds \
   17318 old_archive_from_new_cmds \
   17319 old_archive_from_expsyms_cmds \
   17320 archive_cmds \
   17321 archive_expsym_cmds \
   17322 module_cmds \
   17323 module_expsym_cmds \
   17324 export_symbols_cmds \
   17325 prelink_cmds \
   17326 postinstall_cmds \
   17327 postuninstall_cmds \
   17328 finish_cmds \
   17329 sys_lib_search_path_spec \
   17330 sys_lib_dlsearch_path_spec; do
   17331     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   17332     *[\\\\\\\`\\"\\\$]*)
   17333       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   17334       ;;
   17335     *)
   17336       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   17337       ;;
   17338     esac
   17339 done
   17340 
   17341 ac_aux_dir='$ac_aux_dir'
   17342 xsi_shell='$xsi_shell'
   17343 lt_shell_append='$lt_shell_append'
   17344 
   17345 # See if we are running on zsh, and set the options which allow our
   17346 # commands through without removal of \ escapes INIT.
   17347 if test -n "\${ZSH_VERSION+set}" ; then
   17348    setopt NO_GLOB_SUBST
   17349 fi
   17350 
   17351 
   17352     PACKAGE='$PACKAGE'
   17353     VERSION='$VERSION'
   17354     TIMESTAMP='$TIMESTAMP'
   17355     RM='$RM'
   17356     ofile='$ofile'
   17357 
   17358 
   17359 
   17360 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   17361     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   17362     # from automake.
   17363     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   17364     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   17365     LINGUAS="${LINGUAS-%UNSET%}"
   17366 
   17367 target_cpu_type=${target_cpu_type}
   17368  cgen_cpu_prefix=${cgen_cpu_prefix}
   17369  obj_format=${obj_format}
   17370  te_file=${te_file}
   17371 
   17372 _ACEOF
   17373 
   17374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17375 
   17376 # Handling of arguments.
   17377 for ac_config_target in $ac_config_targets
   17378 do
   17379   case $ac_config_target in
   17380     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   17381     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   17382     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
   17383     "gdb.ini") CONFIG_FILES="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
   17384     ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
   17385     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   17386     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   17387     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
   17388     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
   17389 
   17390   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   17391   esac
   17392 done
   17393 
   17394 
   17395 # If the user did not use the arguments to specify the items to instantiate,
   17396 # then the envvar interface is used.  Set only those that are not.
   17397 # We use the long form for the default assignment because of an extremely
   17398 # bizarre bug on SunOS 4.1.3.
   17399 if $ac_need_defaults; then
   17400   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   17401   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   17402   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   17403 fi
   17404 
   17405 # Have a temporary directory for convenience.  Make it in the build tree
   17406 # simply because there is no reason against having it here, and in addition,
   17407 # creating and moving files from /tmp can sometimes cause problems.
   17408 # Hook for its removal unless debugging.
   17409 # Note that there is a small window in which the directory will not be cleaned:
   17410 # after its creation but before its name has been assigned to `$tmp'.
   17411 $debug ||
   17412 {
   17413   tmp= ac_tmp=
   17414   trap 'exit_status=$?
   17415   : "${ac_tmp:=$tmp}"
   17416   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   17417 ' 0
   17418   trap 'as_fn_exit 1' 1 2 13 15
   17419 }
   17420 # Create a (secure) tmp directory for tmp files.
   17421 
   17422 {
   17423   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   17424   test -d "$tmp"
   17425 }  ||
   17426 {
   17427   tmp=./conf$$-$RANDOM
   17428   (umask 077 && mkdir "$tmp")
   17429 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   17430 ac_tmp=$tmp
   17431 
   17432 # Set up the scripts for CONFIG_FILES section.
   17433 # No need to generate them if there are no CONFIG_FILES.
   17434 # This happens for instance with `./config.status config.h'.
   17435 if test -n "$CONFIG_FILES"; then
   17436 
   17437 
   17438 ac_cr=`echo X | tr X '\015'`
   17439 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   17440 # But we know of no other shell where ac_cr would be empty at this
   17441 # point, so we can use a bashism as a fallback.
   17442 if test "x$ac_cr" = x; then
   17443   eval ac_cr=\$\'\\r\'
   17444 fi
   17445 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   17446 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   17447   ac_cs_awk_cr='\\r'
   17448 else
   17449   ac_cs_awk_cr=$ac_cr
   17450 fi
   17451 
   17452 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   17453 _ACEOF
   17454 
   17455 
   17456 {
   17457   echo "cat >conf$$subs.awk <<_ACEOF" &&
   17458   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   17459   echo "_ACEOF"
   17460 } >conf$$subs.sh ||
   17461   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   17462 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   17463 ac_delim='%!_!# '
   17464 for ac_last_try in false false false false false :; do
   17465   . ./conf$$subs.sh ||
   17466     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   17467 
   17468   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   17469   if test $ac_delim_n = $ac_delim_num; then
   17470     break
   17471   elif $ac_last_try; then
   17472     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   17473   else
   17474     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   17475   fi
   17476 done
   17477 rm -f conf$$subs.sh
   17478 
   17479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17480 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   17481 _ACEOF
   17482 sed -n '
   17483 h
   17484 s/^/S["/; s/!.*/"]=/
   17485 p
   17486 g
   17487 s/^[^!]*!//
   17488 :repl
   17489 t repl
   17490 s/'"$ac_delim"'$//
   17491 t delim
   17492 :nl
   17493 h
   17494 s/\(.\{148\}\)..*/\1/
   17495 t more1
   17496 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   17497 p
   17498 n
   17499 b repl
   17500 :more1
   17501 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   17502 p
   17503 g
   17504 s/.\{148\}//
   17505 t nl
   17506 :delim
   17507 h
   17508 s/\(.\{148\}\)..*/\1/
   17509 t more2
   17510 s/["\\]/\\&/g; s/^/"/; s/$/"/
   17511 p
   17512 b
   17513 :more2
   17514 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   17515 p
   17516 g
   17517 s/.\{148\}//
   17518 t delim
   17519 ' <conf$$subs.awk | sed '
   17520 /^[^""]/{
   17521   N
   17522   s/\n//
   17523 }
   17524 ' >>$CONFIG_STATUS || ac_write_fail=1
   17525 rm -f conf$$subs.awk
   17526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17527 _ACAWK
   17528 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   17529   for (key in S) S_is_set[key] = 1
   17530   FS = ""
   17531 
   17532 }
   17533 {
   17534   line = $ 0
   17535   nfields = split(line, field, "@")
   17536   substed = 0
   17537   len = length(field[1])
   17538   for (i = 2; i < nfields; i++) {
   17539     key = field[i]
   17540     keylen = length(key)
   17541     if (S_is_set[key]) {
   17542       value = S[key]
   17543       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   17544       len += length(value) + length(field[++i])
   17545       substed = 1
   17546     } else
   17547       len += 1 + keylen
   17548   }
   17549 
   17550   print line
   17551 }
   17552 
   17553 _ACAWK
   17554 _ACEOF
   17555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17556 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   17557   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   17558 else
   17559   cat
   17560 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   17561   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   17562 _ACEOF
   17563 
   17564 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   17565 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   17566 # trailing colons and then remove the whole line if VPATH becomes empty
   17567 # (actually we leave an empty line to preserve line numbers).
   17568 if test "x$srcdir" = x.; then
   17569   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   17570 h
   17571 s///
   17572 s/^/:/
   17573 s/[	 ]*$/:/
   17574 s/:\$(srcdir):/:/g
   17575 s/:\${srcdir}:/:/g
   17576 s/:@srcdir@:/:/g
   17577 s/^:*//
   17578 s/:*$//
   17579 x
   17580 s/\(=[	 ]*\).*/\1/
   17581 G
   17582 s/\n//
   17583 s/^[^=]*=[	 ]*$//
   17584 }'
   17585 fi
   17586 
   17587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17588 fi # test -n "$CONFIG_FILES"
   17589 
   17590 # Set up the scripts for CONFIG_HEADERS section.
   17591 # No need to generate them if there are no CONFIG_HEADERS.
   17592 # This happens for instance with `./config.status Makefile'.
   17593 if test -n "$CONFIG_HEADERS"; then
   17594 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   17595 BEGIN {
   17596 _ACEOF
   17597 
   17598 # Transform confdefs.h into an awk script `defines.awk', embedded as
   17599 # here-document in config.status, that substitutes the proper values into
   17600 # config.h.in to produce config.h.
   17601 
   17602 # Create a delimiter string that does not exist in confdefs.h, to ease
   17603 # handling of long lines.
   17604 ac_delim='%!_!# '
   17605 for ac_last_try in false false :; do
   17606   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   17607   if test -z "$ac_tt"; then
   17608     break
   17609   elif $ac_last_try; then
   17610     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   17611   else
   17612     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   17613   fi
   17614 done
   17615 
   17616 # For the awk script, D is an array of macro values keyed by name,
   17617 # likewise P contains macro parameters if any.  Preserve backslash
   17618 # newline sequences.
   17619 
   17620 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   17621 sed -n '
   17622 s/.\{148\}/&'"$ac_delim"'/g
   17623 t rset
   17624 :rset
   17625 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   17626 t def
   17627 d
   17628 :def
   17629 s/\\$//
   17630 t bsnl
   17631 s/["\\]/\\&/g
   17632 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   17633 D["\1"]=" \3"/p
   17634 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   17635 d
   17636 :bsnl
   17637 s/["\\]/\\&/g
   17638 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   17639 D["\1"]=" \3\\\\\\n"\\/p
   17640 t cont
   17641 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   17642 t cont
   17643 d
   17644 :cont
   17645 n
   17646 s/.\{148\}/&'"$ac_delim"'/g
   17647 t clear
   17648 :clear
   17649 s/\\$//
   17650 t bsnlc
   17651 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   17652 d
   17653 :bsnlc
   17654 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   17655 b cont
   17656 ' <confdefs.h | sed '
   17657 s/'"$ac_delim"'/"\\\
   17658 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   17659 
   17660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17661   for (key in D) D_is_set[key] = 1
   17662   FS = ""
   17663 }
   17664 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   17665   line = \$ 0
   17666   split(line, arg, " ")
   17667   if (arg[1] == "#") {
   17668     defundef = arg[2]
   17669     mac1 = arg[3]
   17670   } else {
   17671     defundef = substr(arg[1], 2)
   17672     mac1 = arg[2]
   17673   }
   17674   split(mac1, mac2, "(") #)
   17675   macro = mac2[1]
   17676   prefix = substr(line, 1, index(line, defundef) - 1)
   17677   if (D_is_set[macro]) {
   17678     # Preserve the white space surrounding the "#".
   17679     print prefix "define", macro P[macro] D[macro]
   17680     next
   17681   } else {
   17682     # Replace #undef with comments.  This is necessary, for example,
   17683     # in the case of _POSIX_SOURCE, which is predefined and required
   17684     # on some systems where configure will not decide to define it.
   17685     if (defundef == "undef") {
   17686       print "/*", prefix defundef, macro, "*/"
   17687       next
   17688     }
   17689   }
   17690 }
   17691 { print }
   17692 _ACAWK
   17693 _ACEOF
   17694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17695   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   17696 fi # test -n "$CONFIG_HEADERS"
   17697 
   17698 
   17699 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   17700 shift
   17701 for ac_tag
   17702 do
   17703   case $ac_tag in
   17704   :[FHLC]) ac_mode=$ac_tag; continue;;
   17705   esac
   17706   case $ac_mode$ac_tag in
   17707   :[FHL]*:*);;
   17708   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   17709   :[FH]-) ac_tag=-:-;;
   17710   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   17711   esac
   17712   ac_save_IFS=$IFS
   17713   IFS=:
   17714   set x $ac_tag
   17715   IFS=$ac_save_IFS
   17716   shift
   17717   ac_file=$1
   17718   shift
   17719 
   17720   case $ac_mode in
   17721   :L) ac_source=$1;;
   17722   :[FH])
   17723     ac_file_inputs=
   17724     for ac_f
   17725     do
   17726       case $ac_f in
   17727       -) ac_f="$ac_tmp/stdin";;
   17728       *) # Look for the file first in the build tree, then in the source tree
   17729 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   17730 	 # because $ac_f cannot contain `:'.
   17731 	 test -f "$ac_f" ||
   17732 	   case $ac_f in
   17733 	   [\\/$]*) false;;
   17734 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   17735 	   esac ||
   17736 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   17737       esac
   17738       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   17739       as_fn_append ac_file_inputs " '$ac_f'"
   17740     done
   17741 
   17742     # Let's still pretend it is `configure' which instantiates (i.e., don't
   17743     # use $as_me), people would be surprised to read:
   17744     #    /* config.h.  Generated by config.status.  */
   17745     configure_input='Generated from '`
   17746 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   17747 	`' by configure.'
   17748     if test x"$ac_file" != x-; then
   17749       configure_input="$ac_file.  $configure_input"
   17750       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   17751 $as_echo "$as_me: creating $ac_file" >&6;}
   17752     fi
   17753     # Neutralize special characters interpreted by sed in replacement strings.
   17754     case $configure_input in #(
   17755     *\&* | *\|* | *\\* )
   17756        ac_sed_conf_input=`$as_echo "$configure_input" |
   17757        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   17758     *) ac_sed_conf_input=$configure_input;;
   17759     esac
   17760 
   17761     case $ac_tag in
   17762     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   17763       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   17764     esac
   17765     ;;
   17766   esac
   17767 
   17768   ac_dir=`$as_dirname -- "$ac_file" ||
   17769 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17770 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   17771 	 X"$ac_file" : 'X\(//\)$' \| \
   17772 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   17773 $as_echo X"$ac_file" |
   17774     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17775 	    s//\1/
   17776 	    q
   17777 	  }
   17778 	  /^X\(\/\/\)[^/].*/{
   17779 	    s//\1/
   17780 	    q
   17781 	  }
   17782 	  /^X\(\/\/\)$/{
   17783 	    s//\1/
   17784 	    q
   17785 	  }
   17786 	  /^X\(\/\).*/{
   17787 	    s//\1/
   17788 	    q
   17789 	  }
   17790 	  s/.*/./; q'`
   17791   as_dir="$ac_dir"; as_fn_mkdir_p
   17792   ac_builddir=.
   17793 
   17794 case "$ac_dir" in
   17795 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17796 *)
   17797   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   17798   # A ".." for each directory in $ac_dir_suffix.
   17799   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   17800   case $ac_top_builddir_sub in
   17801   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17802   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   17803   esac ;;
   17804 esac
   17805 ac_abs_top_builddir=$ac_pwd
   17806 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   17807 # for backward compatibility:
   17808 ac_top_builddir=$ac_top_build_prefix
   17809 
   17810 case $srcdir in
   17811   .)  # We are building in place.
   17812     ac_srcdir=.
   17813     ac_top_srcdir=$ac_top_builddir_sub
   17814     ac_abs_top_srcdir=$ac_pwd ;;
   17815   [\\/]* | ?:[\\/]* )  # Absolute name.
   17816     ac_srcdir=$srcdir$ac_dir_suffix;
   17817     ac_top_srcdir=$srcdir
   17818     ac_abs_top_srcdir=$srcdir ;;
   17819   *) # Relative name.
   17820     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   17821     ac_top_srcdir=$ac_top_build_prefix$srcdir
   17822     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   17823 esac
   17824 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   17825 
   17826 
   17827   case $ac_mode in
   17828   :F)
   17829   #
   17830   # CONFIG_FILE
   17831   #
   17832 
   17833   case $INSTALL in
   17834   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   17835   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   17836   esac
   17837   ac_MKDIR_P=$MKDIR_P
   17838   case $MKDIR_P in
   17839   [\\/$]* | ?:[\\/]* ) ;;
   17840   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   17841   esac
   17842 _ACEOF
   17843 
   17844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17845 # If the template does not know about datarootdir, expand it.
   17846 # FIXME: This hack should be removed a few years after 2.60.
   17847 ac_datarootdir_hack=; ac_datarootdir_seen=
   17848 ac_sed_dataroot='
   17849 /datarootdir/ {
   17850   p
   17851   q
   17852 }
   17853 /@datadir@/p
   17854 /@docdir@/p
   17855 /@infodir@/p
   17856 /@localedir@/p
   17857 /@mandir@/p'
   17858 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   17859 *datarootdir*) ac_datarootdir_seen=yes;;
   17860 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   17861   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   17862 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   17863 _ACEOF
   17864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17865   ac_datarootdir_hack='
   17866   s&@datadir@&$datadir&g
   17867   s&@docdir@&$docdir&g
   17868   s&@infodir@&$infodir&g
   17869   s&@localedir@&$localedir&g
   17870   s&@mandir@&$mandir&g
   17871   s&\\\${datarootdir}&$datarootdir&g' ;;
   17872 esac
   17873 _ACEOF
   17874 
   17875 # Neutralize VPATH when `$srcdir' = `.'.
   17876 # Shell code in configure.ac might set extrasub.
   17877 # FIXME: do we really want to maintain this feature?
   17878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17879 ac_sed_extra="$ac_vpsub
   17880 $extrasub
   17881 _ACEOF
   17882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17883 :t
   17884 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   17885 s|@configure_input@|$ac_sed_conf_input|;t t
   17886 s&@top_builddir@&$ac_top_builddir_sub&;t t
   17887 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   17888 s&@srcdir@&$ac_srcdir&;t t
   17889 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   17890 s&@top_srcdir@&$ac_top_srcdir&;t t
   17891 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   17892 s&@builddir@&$ac_builddir&;t t
   17893 s&@abs_builddir@&$ac_abs_builddir&;t t
   17894 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   17895 s&@INSTALL@&$ac_INSTALL&;t t
   17896 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   17897 $ac_datarootdir_hack
   17898 "
   17899 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   17900   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17901 
   17902 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   17903   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   17904   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   17905       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   17906   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17907 which seems to be undefined.  Please make sure it is defined" >&5
   17908 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17909 which seems to be undefined.  Please make sure it is defined" >&2;}
   17910 
   17911   rm -f "$ac_tmp/stdin"
   17912   case $ac_file in
   17913   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   17914   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   17915   esac \
   17916   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17917  ;;
   17918   :H)
   17919   #
   17920   # CONFIG_HEADER
   17921   #
   17922   if test x"$ac_file" != x-; then
   17923     {
   17924       $as_echo "/* $configure_input  */" \
   17925       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   17926     } >"$ac_tmp/config.h" \
   17927       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17928     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   17929       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   17930 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   17931     else
   17932       rm -f "$ac_file"
   17933       mv "$ac_tmp/config.h" "$ac_file" \
   17934 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17935     fi
   17936   else
   17937     $as_echo "/* $configure_input  */" \
   17938       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   17939       || as_fn_error $? "could not create -" "$LINENO" 5
   17940   fi
   17941 # Compute "$ac_file"'s index in $config_headers.
   17942 _am_arg="$ac_file"
   17943 _am_stamp_count=1
   17944 for _am_header in $config_headers :; do
   17945   case $_am_header in
   17946     $_am_arg | $_am_arg:* )
   17947       break ;;
   17948     * )
   17949       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   17950   esac
   17951 done
   17952 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   17953 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17954 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   17955 	 X"$_am_arg" : 'X\(//\)$' \| \
   17956 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   17957 $as_echo X"$_am_arg" |
   17958     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17959 	    s//\1/
   17960 	    q
   17961 	  }
   17962 	  /^X\(\/\/\)[^/].*/{
   17963 	    s//\1/
   17964 	    q
   17965 	  }
   17966 	  /^X\(\/\/\)$/{
   17967 	    s//\1/
   17968 	    q
   17969 	  }
   17970 	  /^X\(\/\).*/{
   17971 	    s//\1/
   17972 	    q
   17973 	  }
   17974 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   17975  ;;
   17976 
   17977   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   17978 $as_echo "$as_me: executing $ac_file commands" >&6;}
   17979  ;;
   17980   esac
   17981 
   17982 
   17983   case $ac_file$ac_mode in
   17984     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   17985   # Older Autoconf quotes --file arguments for eval, but not when files
   17986   # are listed without --file.  Let's play safe and only enable the eval
   17987   # if we detect the quoting.
   17988   case $CONFIG_FILES in
   17989   *\'*) eval set x "$CONFIG_FILES" ;;
   17990   *)   set x $CONFIG_FILES ;;
   17991   esac
   17992   shift
   17993   for mf
   17994   do
   17995     # Strip MF so we end up with the name of the file.
   17996     mf=`echo "$mf" | sed -e 's/:.*$//'`
   17997     # Check whether this is an Automake generated Makefile or not.
   17998     # We used to match only the files named 'Makefile.in', but
   17999     # some people rename them; so instead we look at the file content.
   18000     # Grep'ing the first line is not enough: some people post-process
   18001     # each Makefile.in and add a new line on top of each file to say so.
   18002     # Grep'ing the whole file is not good either: AIX grep has a line
   18003     # limit of 2048, but all sed's we know have understand at least 4000.
   18004     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   18005       dirpart=`$as_dirname -- "$mf" ||
   18006 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18007 	 X"$mf" : 'X\(//\)[^/]' \| \
   18008 	 X"$mf" : 'X\(//\)$' \| \
   18009 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   18010 $as_echo X"$mf" |
   18011     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18012 	    s//\1/
   18013 	    q
   18014 	  }
   18015 	  /^X\(\/\/\)[^/].*/{
   18016 	    s//\1/
   18017 	    q
   18018 	  }
   18019 	  /^X\(\/\/\)$/{
   18020 	    s//\1/
   18021 	    q
   18022 	  }
   18023 	  /^X\(\/\).*/{
   18024 	    s//\1/
   18025 	    q
   18026 	  }
   18027 	  s/.*/./; q'`
   18028     else
   18029       continue
   18030     fi
   18031     # Extract the definition of DEPDIR, am__include, and am__quote
   18032     # from the Makefile without running 'make'.
   18033     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   18034     test -z "$DEPDIR" && continue
   18035     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   18036     test -z "$am__include" && continue
   18037     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   18038     # Find all dependency output files, they are included files with
   18039     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   18040     # simplest approach to changing $(DEPDIR) to its actual value in the
   18041     # expansion.
   18042     for file in `sed -n "
   18043       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   18044 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   18045       # Make sure the directory exists.
   18046       test -f "$dirpart/$file" && continue
   18047       fdir=`$as_dirname -- "$file" ||
   18048 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18049 	 X"$file" : 'X\(//\)[^/]' \| \
   18050 	 X"$file" : 'X\(//\)$' \| \
   18051 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   18052 $as_echo X"$file" |
   18053     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18054 	    s//\1/
   18055 	    q
   18056 	  }
   18057 	  /^X\(\/\/\)[^/].*/{
   18058 	    s//\1/
   18059 	    q
   18060 	  }
   18061 	  /^X\(\/\/\)$/{
   18062 	    s//\1/
   18063 	    q
   18064 	  }
   18065 	  /^X\(\/\).*/{
   18066 	    s//\1/
   18067 	    q
   18068 	  }
   18069 	  s/.*/./; q'`
   18070       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   18071       # echo "creating $dirpart/$file"
   18072       echo '# dummy' > "$dirpart/$file"
   18073     done
   18074   done
   18075 }
   18076  ;;
   18077     "libtool":C)
   18078 
   18079     # See if we are running on zsh, and set the options which allow our
   18080     # commands through without removal of \ escapes.
   18081     if test -n "${ZSH_VERSION+set}" ; then
   18082       setopt NO_GLOB_SUBST
   18083     fi
   18084 
   18085     cfgfile="${ofile}T"
   18086     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   18087     $RM "$cfgfile"
   18088 
   18089     cat <<_LT_EOF >> "$cfgfile"
   18090 #! $SHELL
   18091 
   18092 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   18093 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   18094 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18095 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   18096 #
   18097 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   18098 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   18099 #   Written by Gordon Matzigkeit, 1996
   18100 #
   18101 #   This file is part of GNU Libtool.
   18102 #
   18103 # GNU Libtool is free software; you can redistribute it and/or
   18104 # modify it under the terms of the GNU General Public License as
   18105 # published by the Free Software Foundation; either version 2 of
   18106 # the License, or (at your option) any later version.
   18107 #
   18108 # As a special exception to the GNU General Public License,
   18109 # if you distribute this file as part of a program or library that
   18110 # is built using GNU Libtool, you may include this file under the
   18111 # same distribution terms that you use for the rest of that program.
   18112 #
   18113 # GNU Libtool is distributed in the hope that it will be useful,
   18114 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   18115 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   18116 # GNU General Public License for more details.
   18117 #
   18118 # You should have received a copy of the GNU General Public License
   18119 # along with GNU Libtool; see the file COPYING.  If not, a copy
   18120 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   18121 # obtained by writing to the Free Software Foundation, Inc.,
   18122 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   18123 
   18124 
   18125 # The names of the tagged configurations supported by this script.
   18126 available_tags=""
   18127 
   18128 # ### BEGIN LIBTOOL CONFIG
   18129 
   18130 # Which release of libtool.m4 was used?
   18131 macro_version=$macro_version
   18132 macro_revision=$macro_revision
   18133 
   18134 # Whether or not to build shared libraries.
   18135 build_libtool_libs=$enable_shared
   18136 
   18137 # Whether or not to build static libraries.
   18138 build_old_libs=$enable_static
   18139 
   18140 # What type of objects to build.
   18141 pic_mode=$pic_mode
   18142 
   18143 # Whether or not to optimize for fast installation.
   18144 fast_install=$enable_fast_install
   18145 
   18146 # Shell to use when invoking shell scripts.
   18147 SHELL=$lt_SHELL
   18148 
   18149 # An echo program that protects backslashes.
   18150 ECHO=$lt_ECHO
   18151 
   18152 # The host system.
   18153 host_alias=$host_alias
   18154 host=$host
   18155 host_os=$host_os
   18156 
   18157 # The build system.
   18158 build_alias=$build_alias
   18159 build=$build
   18160 build_os=$build_os
   18161 
   18162 # A sed program that does not truncate output.
   18163 SED=$lt_SED
   18164 
   18165 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   18166 Xsed="\$SED -e 1s/^X//"
   18167 
   18168 # A grep program that handles long lines.
   18169 GREP=$lt_GREP
   18170 
   18171 # An ERE matcher.
   18172 EGREP=$lt_EGREP
   18173 
   18174 # A literal string matcher.
   18175 FGREP=$lt_FGREP
   18176 
   18177 # A BSD- or MS-compatible name lister.
   18178 NM=$lt_NM
   18179 
   18180 # Whether we need soft or hard links.
   18181 LN_S=$lt_LN_S
   18182 
   18183 # What is the maximum length of a command?
   18184 max_cmd_len=$max_cmd_len
   18185 
   18186 # Object file suffix (normally "o").
   18187 objext=$ac_objext
   18188 
   18189 # Executable file suffix (normally "").
   18190 exeext=$exeext
   18191 
   18192 # whether the shell understands "unset".
   18193 lt_unset=$lt_unset
   18194 
   18195 # turn spaces into newlines.
   18196 SP2NL=$lt_lt_SP2NL
   18197 
   18198 # turn newlines into spaces.
   18199 NL2SP=$lt_lt_NL2SP
   18200 
   18201 # An object symbol dumper.
   18202 OBJDUMP=$lt_OBJDUMP
   18203 
   18204 # Method to check whether dependent libraries are shared objects.
   18205 deplibs_check_method=$lt_deplibs_check_method
   18206 
   18207 # Command to use when deplibs_check_method == "file_magic".
   18208 file_magic_cmd=$lt_file_magic_cmd
   18209 
   18210 # The archiver.
   18211 AR=$lt_AR
   18212 AR_FLAGS=$lt_AR_FLAGS
   18213 
   18214 # A symbol stripping program.
   18215 STRIP=$lt_STRIP
   18216 
   18217 # Commands used to install an old-style archive.
   18218 RANLIB=$lt_RANLIB
   18219 old_postinstall_cmds=$lt_old_postinstall_cmds
   18220 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18221 
   18222 # Whether to use a lock for old archive extraction.
   18223 lock_old_archive_extraction=$lock_old_archive_extraction
   18224 
   18225 # A C compiler.
   18226 LTCC=$lt_CC
   18227 
   18228 # LTCC compiler flags.
   18229 LTCFLAGS=$lt_CFLAGS
   18230 
   18231 # Take the output of nm and produce a listing of raw symbols and C names.
   18232 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18233 
   18234 # Transform the output of nm in a proper C declaration.
   18235 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18236 
   18237 # Transform the output of nm in a C name address pair.
   18238 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18239 
   18240 # Transform the output of nm in a C name address pair when lib prefix is needed.
   18241 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   18242 
   18243 # The name of the directory that contains temporary libtool files.
   18244 objdir=$objdir
   18245 
   18246 # Used to examine libraries when file_magic_cmd begins with "file".
   18247 MAGIC_CMD=$MAGIC_CMD
   18248 
   18249 # Must we lock files when doing compilation?
   18250 need_locks=$lt_need_locks
   18251 
   18252 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   18253 DSYMUTIL=$lt_DSYMUTIL
   18254 
   18255 # Tool to change global to local symbols on Mac OS X.
   18256 NMEDIT=$lt_NMEDIT
   18257 
   18258 # Tool to manipulate fat objects and archives on Mac OS X.
   18259 LIPO=$lt_LIPO
   18260 
   18261 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   18262 OTOOL=$lt_OTOOL
   18263 
   18264 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   18265 OTOOL64=$lt_OTOOL64
   18266 
   18267 # Old archive suffix (normally "a").
   18268 libext=$libext
   18269 
   18270 # Shared library suffix (normally ".so").
   18271 shrext_cmds=$lt_shrext_cmds
   18272 
   18273 # The commands to extract the exported symbol list from a shared archive.
   18274 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18275 
   18276 # Variables whose values should be saved in libtool wrapper scripts and
   18277 # restored at link time.
   18278 variables_saved_for_relink=$lt_variables_saved_for_relink
   18279 
   18280 # Do we need the "lib" prefix for modules?
   18281 need_lib_prefix=$need_lib_prefix
   18282 
   18283 # Do we need a version for libraries?
   18284 need_version=$need_version
   18285 
   18286 # Library versioning type.
   18287 version_type=$version_type
   18288 
   18289 # Shared library runtime path variable.
   18290 runpath_var=$runpath_var
   18291 
   18292 # Shared library path variable.
   18293 shlibpath_var=$shlibpath_var
   18294 
   18295 # Is shlibpath searched before the hard-coded library search path?
   18296 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18297 
   18298 # Format of library name prefix.
   18299 libname_spec=$lt_libname_spec
   18300 
   18301 # List of archive names.  First name is the real one, the rest are links.
   18302 # The last name is the one that the linker finds with -lNAME
   18303 library_names_spec=$lt_library_names_spec
   18304 
   18305 # The coded name of the library, if different from the real name.
   18306 soname_spec=$lt_soname_spec
   18307 
   18308 # Permission mode override for installation of shared libraries.
   18309 install_override_mode=$lt_install_override_mode
   18310 
   18311 # Command to use after installation of a shared archive.
   18312 postinstall_cmds=$lt_postinstall_cmds
   18313 
   18314 # Command to use after uninstallation of a shared archive.
   18315 postuninstall_cmds=$lt_postuninstall_cmds
   18316 
   18317 # Commands used to finish a libtool library installation in a directory.
   18318 finish_cmds=$lt_finish_cmds
   18319 
   18320 # As "finish_cmds", except a single script fragment to be evaled but
   18321 # not shown.
   18322 finish_eval=$lt_finish_eval
   18323 
   18324 # Whether we should hardcode library paths into libraries.
   18325 hardcode_into_libs=$hardcode_into_libs
   18326 
   18327 # Compile-time system search path for libraries.
   18328 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18329 
   18330 # Run-time system search path for libraries.
   18331 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18332 
   18333 # Whether dlopen is supported.
   18334 dlopen_support=$enable_dlopen
   18335 
   18336 # Whether dlopen of programs is supported.
   18337 dlopen_self=$enable_dlopen_self
   18338 
   18339 # Whether dlopen of statically linked programs is supported.
   18340 dlopen_self_static=$enable_dlopen_self_static
   18341 
   18342 # Commands to strip libraries.
   18343 old_striplib=$lt_old_striplib
   18344 striplib=$lt_striplib
   18345 
   18346 
   18347 # The linker used to build libraries.
   18348 LD=$lt_LD
   18349 
   18350 # How to create reloadable object files.
   18351 reload_flag=$lt_reload_flag
   18352 reload_cmds=$lt_reload_cmds
   18353 
   18354 # Commands used to build an old-style archive.
   18355 old_archive_cmds=$lt_old_archive_cmds
   18356 
   18357 # A language specific compiler.
   18358 CC=$lt_compiler
   18359 
   18360 # Is the compiler the GNU compiler?
   18361 with_gcc=$GCC
   18362 
   18363 # Compiler flag to turn off builtin functions.
   18364 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   18365 
   18366 # How to pass a linker flag through the compiler.
   18367 wl=$lt_lt_prog_compiler_wl
   18368 
   18369 # Additional compiler flags for building library objects.
   18370 pic_flag=$lt_lt_prog_compiler_pic
   18371 
   18372 # Compiler flag to prevent dynamic linking.
   18373 link_static_flag=$lt_lt_prog_compiler_static
   18374 
   18375 # Does compiler simultaneously support -c and -o options?
   18376 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   18377 
   18378 # Whether or not to add -lc for building shared libraries.
   18379 build_libtool_need_lc=$archive_cmds_need_lc
   18380 
   18381 # Whether or not to disallow shared libs when runtime libs are static.
   18382 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   18383 
   18384 # Compiler flag to allow reflexive dlopens.
   18385 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   18386 
   18387 # Compiler flag to generate shared objects directly from archives.
   18388 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   18389 
   18390 # Whether the compiler copes with passing no objects directly.
   18391 compiler_needs_object=$lt_compiler_needs_object
   18392 
   18393 # Create an old-style archive from a shared archive.
   18394 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   18395 
   18396 # Create a temporary old-style archive to link instead of a shared archive.
   18397 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   18398 
   18399 # Commands used to build a shared archive.
   18400 archive_cmds=$lt_archive_cmds
   18401 archive_expsym_cmds=$lt_archive_expsym_cmds
   18402 
   18403 # Commands used to build a loadable module if different from building
   18404 # a shared archive.
   18405 module_cmds=$lt_module_cmds
   18406 module_expsym_cmds=$lt_module_expsym_cmds
   18407 
   18408 # Whether we are building with GNU ld or not.
   18409 with_gnu_ld=$lt_with_gnu_ld
   18410 
   18411 # Flag that allows shared libraries with undefined symbols to be built.
   18412 allow_undefined_flag=$lt_allow_undefined_flag
   18413 
   18414 # Flag that enforces no undefined symbols.
   18415 no_undefined_flag=$lt_no_undefined_flag
   18416 
   18417 # Flag to hardcode \$libdir into a binary during linking.
   18418 # This must work even if \$libdir does not exist
   18419 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   18420 
   18421 # If ld is used when linking, flag to hardcode \$libdir into a binary
   18422 # during linking.  This must work even if \$libdir does not exist.
   18423 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   18424 
   18425 # Whether we need a single "-rpath" flag with a separated argument.
   18426 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   18427 
   18428 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18429 # DIR into the resulting binary.
   18430 hardcode_direct=$hardcode_direct
   18431 
   18432 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18433 # DIR into the resulting binary and the resulting library dependency is
   18434 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   18435 # library is relocated.
   18436 hardcode_direct_absolute=$hardcode_direct_absolute
   18437 
   18438 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   18439 # into the resulting binary.
   18440 hardcode_minus_L=$hardcode_minus_L
   18441 
   18442 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   18443 # into the resulting binary.
   18444 hardcode_shlibpath_var=$hardcode_shlibpath_var
   18445 
   18446 # Set to "yes" if building a shared library automatically hardcodes DIR
   18447 # into the library and all subsequent libraries and executables linked
   18448 # against it.
   18449 hardcode_automatic=$hardcode_automatic
   18450 
   18451 # Set to yes if linker adds runtime paths of dependent libraries
   18452 # to runtime path list.
   18453 inherit_rpath=$inherit_rpath
   18454 
   18455 # Whether libtool must link a program against all its dependency libraries.
   18456 link_all_deplibs=$link_all_deplibs
   18457 
   18458 # Fix the shell variable \$srcfile for the compiler.
   18459 fix_srcfile_path=$lt_fix_srcfile_path
   18460 
   18461 # Set to "yes" if exported symbols are required.
   18462 always_export_symbols=$always_export_symbols
   18463 
   18464 # The commands to list exported symbols.
   18465 export_symbols_cmds=$lt_export_symbols_cmds
   18466 
   18467 # Symbols that should not be listed in the preloaded symbols.
   18468 exclude_expsyms=$lt_exclude_expsyms
   18469 
   18470 # Symbols that must always be exported.
   18471 include_expsyms=$lt_include_expsyms
   18472 
   18473 # Commands necessary for linking programs (against libraries) with templates.
   18474 prelink_cmds=$lt_prelink_cmds
   18475 
   18476 # Specify filename containing input files.
   18477 file_list_spec=$lt_file_list_spec
   18478 
   18479 # How to hardcode a shared library path into an executable.
   18480 hardcode_action=$hardcode_action
   18481 
   18482 # ### END LIBTOOL CONFIG
   18483 
   18484 _LT_EOF
   18485 
   18486   case $host_os in
   18487   aix3*)
   18488     cat <<\_LT_EOF >> "$cfgfile"
   18489 # AIX sometimes has problems with the GCC collect2 program.  For some
   18490 # reason, if we set the COLLECT_NAMES environment variable, the problems
   18491 # vanish in a puff of smoke.
   18492 if test "X${COLLECT_NAMES+set}" != Xset; then
   18493   COLLECT_NAMES=
   18494   export COLLECT_NAMES
   18495 fi
   18496 _LT_EOF
   18497     ;;
   18498   esac
   18499 
   18500 
   18501 ltmain="$ac_aux_dir/ltmain.sh"
   18502 
   18503 
   18504   # We use sed instead of cat because bash on DJGPP gets confused if
   18505   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   18506   # text mode, it properly converts lines to CR/LF.  This bash problem
   18507   # is reportedly fixed, but why not run on old versions too?
   18508   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   18509     || (rm -f "$cfgfile"; exit 1)
   18510 
   18511   case $xsi_shell in
   18512   yes)
   18513     cat << \_LT_EOF >> "$cfgfile"
   18514 
   18515 # func_dirname file append nondir_replacement
   18516 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   18517 # otherwise set result to NONDIR_REPLACEMENT.
   18518 func_dirname ()
   18519 {
   18520   case ${1} in
   18521     */*) func_dirname_result="${1%/*}${2}" ;;
   18522     *  ) func_dirname_result="${3}" ;;
   18523   esac
   18524 }
   18525 
   18526 # func_basename file
   18527 func_basename ()
   18528 {
   18529   func_basename_result="${1##*/}"
   18530 }
   18531 
   18532 # func_dirname_and_basename file append nondir_replacement
   18533 # perform func_basename and func_dirname in a single function
   18534 # call:
   18535 #   dirname:  Compute the dirname of FILE.  If nonempty,
   18536 #             add APPEND to the result, otherwise set result
   18537 #             to NONDIR_REPLACEMENT.
   18538 #             value returned in "$func_dirname_result"
   18539 #   basename: Compute filename of FILE.
   18540 #             value retuned in "$func_basename_result"
   18541 # Implementation must be kept synchronized with func_dirname
   18542 # and func_basename. For efficiency, we do not delegate to
   18543 # those functions but instead duplicate the functionality here.
   18544 func_dirname_and_basename ()
   18545 {
   18546   case ${1} in
   18547     */*) func_dirname_result="${1%/*}${2}" ;;
   18548     *  ) func_dirname_result="${3}" ;;
   18549   esac
   18550   func_basename_result="${1##*/}"
   18551 }
   18552 
   18553 # func_stripname prefix suffix name
   18554 # strip PREFIX and SUFFIX off of NAME.
   18555 # PREFIX and SUFFIX must not contain globbing or regex special
   18556 # characters, hashes, percent signs, but SUFFIX may contain a leading
   18557 # dot (in which case that matches only a dot).
   18558 func_stripname ()
   18559 {
   18560   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   18561   # positional parameters, so assign one to ordinary parameter first.
   18562   func_stripname_result=${3}
   18563   func_stripname_result=${func_stripname_result#"${1}"}
   18564   func_stripname_result=${func_stripname_result%"${2}"}
   18565 }
   18566 
   18567 # func_opt_split
   18568 func_opt_split ()
   18569 {
   18570   func_opt_split_opt=${1%%=*}
   18571   func_opt_split_arg=${1#*=}
   18572 }
   18573 
   18574 # func_lo2o object
   18575 func_lo2o ()
   18576 {
   18577   case ${1} in
   18578     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   18579     *)    func_lo2o_result=${1} ;;
   18580   esac
   18581 }
   18582 
   18583 # func_xform libobj-or-source
   18584 func_xform ()
   18585 {
   18586   func_xform_result=${1%.*}.lo
   18587 }
   18588 
   18589 # func_arith arithmetic-term...
   18590 func_arith ()
   18591 {
   18592   func_arith_result=$(( $* ))
   18593 }
   18594 
   18595 # func_len string
   18596 # STRING may not start with a hyphen.
   18597 func_len ()
   18598 {
   18599   func_len_result=${#1}
   18600 }
   18601 
   18602 _LT_EOF
   18603     ;;
   18604   *) # Bourne compatible functions.
   18605     cat << \_LT_EOF >> "$cfgfile"
   18606 
   18607 # func_dirname file append nondir_replacement
   18608 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   18609 # otherwise set result to NONDIR_REPLACEMENT.
   18610 func_dirname ()
   18611 {
   18612   # Extract subdirectory from the argument.
   18613   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   18614   if test "X$func_dirname_result" = "X${1}"; then
   18615     func_dirname_result="${3}"
   18616   else
   18617     func_dirname_result="$func_dirname_result${2}"
   18618   fi
   18619 }
   18620 
   18621 # func_basename file
   18622 func_basename ()
   18623 {
   18624   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   18625 }
   18626 
   18627 
   18628 # func_stripname prefix suffix name
   18629 # strip PREFIX and SUFFIX off of NAME.
   18630 # PREFIX and SUFFIX must not contain globbing or regex special
   18631 # characters, hashes, percent signs, but SUFFIX may contain a leading
   18632 # dot (in which case that matches only a dot).
   18633 # func_strip_suffix prefix name
   18634 func_stripname ()
   18635 {
   18636   case ${2} in
   18637     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   18638     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   18639   esac
   18640 }
   18641 
   18642 # sed scripts:
   18643 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   18644 my_sed_long_arg='1s/^-[^=]*=//'
   18645 
   18646 # func_opt_split
   18647 func_opt_split ()
   18648 {
   18649   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   18650   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   18651 }
   18652 
   18653 # func_lo2o object
   18654 func_lo2o ()
   18655 {
   18656   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   18657 }
   18658 
   18659 # func_xform libobj-or-source
   18660 func_xform ()
   18661 {
   18662   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   18663 }
   18664 
   18665 # func_arith arithmetic-term...
   18666 func_arith ()
   18667 {
   18668   func_arith_result=`expr "$@"`
   18669 }
   18670 
   18671 # func_len string
   18672 # STRING may not start with a hyphen.
   18673 func_len ()
   18674 {
   18675   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   18676 }
   18677 
   18678 _LT_EOF
   18679 esac
   18680 
   18681 case $lt_shell_append in
   18682   yes)
   18683     cat << \_LT_EOF >> "$cfgfile"
   18684 
   18685 # func_append var value
   18686 # Append VALUE to the end of shell variable VAR.
   18687 func_append ()
   18688 {
   18689   eval "$1+=\$2"
   18690 }
   18691 _LT_EOF
   18692     ;;
   18693   *)
   18694     cat << \_LT_EOF >> "$cfgfile"
   18695 
   18696 # func_append var value
   18697 # Append VALUE to the end of shell variable VAR.
   18698 func_append ()
   18699 {
   18700   eval "$1=\$$1\$2"
   18701 }
   18702 
   18703 _LT_EOF
   18704     ;;
   18705   esac
   18706 
   18707 
   18708   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   18709     || (rm -f "$cfgfile"; exit 1)
   18710 
   18711   mv -f "$cfgfile" "$ofile" ||
   18712     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   18713   chmod +x "$ofile"
   18714 
   18715  ;;
   18716     "default-1":C)
   18717     for ac_file in $CONFIG_FILES; do
   18718       # Support "outfile[:infile[:infile...]]"
   18719       case "$ac_file" in
   18720         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   18721       esac
   18722       # PO directories have a Makefile.in generated from Makefile.in.in.
   18723       case "$ac_file" in */Makefile.in)
   18724         # Adjust a relative srcdir.
   18725         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   18726         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   18727         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   18728         # In autoconf-2.13 it is called $ac_given_srcdir.
   18729         # In autoconf-2.50 it is called $srcdir.
   18730         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   18731         case "$ac_given_srcdir" in
   18732           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   18733           /*) top_srcdir="$ac_given_srcdir" ;;
   18734           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   18735         esac
   18736         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   18737           rm -f "$ac_dir/POTFILES"
   18738           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   18739           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   18740           POMAKEFILEDEPS="POTFILES.in"
   18741           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   18742           # on $ac_dir but don't depend on user-specified configuration
   18743           # parameters.
   18744           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   18745             # The LINGUAS file contains the set of available languages.
   18746             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   18747               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
   18748             fi
   18749             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   18750             # Hide the ALL_LINGUAS assigment from automake.
   18751             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   18752             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   18753           else
   18754             # The set of available languages was given in configure.ac.
   18755             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   18756           fi
   18757           case "$ac_given_srcdir" in
   18758             .) srcdirpre= ;;
   18759             *) srcdirpre='$(srcdir)/' ;;
   18760           esac
   18761           POFILES=
   18762           GMOFILES=
   18763           UPDATEPOFILES=
   18764           DUMMYPOFILES=
   18765           for lang in $ALL_LINGUAS; do
   18766             POFILES="$POFILES $srcdirpre$lang.po"
   18767             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   18768             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   18769             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   18770           done
   18771           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   18772           # environment variable.
   18773           INST_LINGUAS=
   18774           if test -n "$ALL_LINGUAS"; then
   18775             for presentlang in $ALL_LINGUAS; do
   18776               useit=no
   18777               if test "%UNSET%" != "$LINGUAS"; then
   18778                 desiredlanguages="$LINGUAS"
   18779               else
   18780                 desiredlanguages="$ALL_LINGUAS"
   18781               fi
   18782               for desiredlang in $desiredlanguages; do
   18783                 # Use the presentlang catalog if desiredlang is
   18784                 #   a. equal to presentlang, or
   18785                 #   b. a variant of presentlang (because in this case,
   18786                 #      presentlang can be used as a fallback for messages
   18787                 #      which are not translated in the desiredlang catalog).
   18788                 case "$desiredlang" in
   18789                   "$presentlang"*) useit=yes;;
   18790                 esac
   18791               done
   18792               if test $useit = yes; then
   18793                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   18794               fi
   18795             done
   18796           fi
   18797           CATALOGS=
   18798           if test -n "$INST_LINGUAS"; then
   18799             for lang in $INST_LINGUAS; do
   18800               CATALOGS="$CATALOGS $lang.gmo"
   18801             done
   18802           fi
   18803           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   18804           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"
   18805           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   18806             if test -f "$f"; then
   18807               case "$f" in
   18808                 *.orig | *.bak | *~) ;;
   18809                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   18810               esac
   18811             fi
   18812           done
   18813         fi
   18814         ;;
   18815       esac
   18816     done ;;
   18817     "default":C) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
   18818  echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
   18819  echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
   18820  echo '#include "te-'"${te_file}"'.h"' > targ-env.h
   18821  echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
   18822  if test "x$cgen_cpu_prefix" != x ; then
   18823    echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
   18824  fi ;;
   18825 
   18826   esac
   18827 done # for ac_tag
   18828 
   18829 
   18830 as_fn_exit 0
   18831 _ACEOF
   18832 ac_clean_files=$ac_clean_files_save
   18833 
   18834 test $ac_write_fail = 0 ||
   18835   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   18836 
   18837 
   18838 # configure is writing to config.log, and then calls config.status.
   18839 # config.status does its own redirection, appending to config.log.
   18840 # Unfortunately, on DOS this fails, as config.log is still kept open
   18841 # by configure, so config.status won't be able to write to it; its
   18842 # output is simply discarded.  So we exec the FD to /dev/null,
   18843 # effectively closing config.log, so it can be properly (re)opened and
   18844 # appended to by config.status.  When coming back to configure, we
   18845 # need to make the FD available again.
   18846 if test "$no_create" != yes; then
   18847   ac_cs_success=:
   18848   ac_config_status_args=
   18849   test "$silent" = yes &&
   18850     ac_config_status_args="$ac_config_status_args --quiet"
   18851   exec 5>/dev/null
   18852   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   18853   exec 5>>config.log
   18854   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   18855   # would make configure fail if this is the last instruction.
   18856   $ac_cs_success || as_fn_exit 1
   18857 fi
   18858 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   18859   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   18860 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   18861 fi
   18862 
   18863 
   18864 
   18865 touch config.status.tmp
   18866 if touch --reference=config.status config.status.tmp > /dev/null 2>&1; then
   18867   sed '/as_fn_exit 0/i \
   18868 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
   18869 touch --reference=Makefile Makefile.tmp \
   18870 mv Makefile.tmp Makefile \
   18871 ' config.status > config.status.tmp
   18872   touch --reference=config.status config.status.tmp
   18873   mv config.status.tmp config.status
   18874   chmod +x config.status
   18875   sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile > Makefile.tmp
   18876   touch --reference=Makefile Makefile.tmp
   18877   mv Makefile.tmp Makefile
   18878 else
   18879   rm -f config.status.tmp
   18880 fi
   18881