gas: add support for eBPF
[external/binutils.git] / gas / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gas 2.32.51.
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@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.32.51'
591 PACKAGE_STRING='gas 2.32.51'
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 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 zlibinc
637 zlibdir
638 LIBM
639 ALLOCA
640 GENINSRC_NEVER_FALSE
641 GENINSRC_NEVER_TRUE
642 MAINT
643 MAINTAINER_MODE_FALSE
644 MAINTAINER_MODE_TRUE
645 MSGMERGE
646 MSGFMT
647 MKINSTALLDIRS
648 CATOBJEXT
649 GENCAT
650 INSTOBJEXT
651 DATADIRNAME
652 CATALOGS
653 POSUB
654 GMSGFMT
655 XGETTEXT
656 INCINTL
657 LIBINTL_DEP
658 LIBINTL
659 USE_NLS
660 LEXLIB
661 LEX_OUTPUT_ROOT
662 LEX
663 YFLAGS
664 YACC
665 OPCODES_LIB
666 atof
667 install_tooldir
668 te_file
669 obj_format
670 target_cpu_type
671 extra_objects
672 cgen_cpu_prefix
673 GDBINIT
674 WARN_WRITE_STRINGS
675 NO_WERROR
676 WARN_CFLAGS_FOR_BUILD
677 WARN_CFLAGS
678 do_compare
679 OTOOL64
680 OTOOL
681 LIPO
682 NMEDIT
683 DSYMUTIL
684 RANLIB
685 AR
686 OBJDUMP
687 LN_S
688 NM
689 ac_ct_DUMPBIN
690 DUMPBIN
691 LD
692 FGREP
693 SED
694 LIBTOOL
695 EGREP
696 GREP
697 CPP
698 AM_BACKSLASH
699 AM_DEFAULT_VERBOSITY
700 AM_DEFAULT_V
701 AM_V
702 am__fastdepCC_FALSE
703 am__fastdepCC_TRUE
704 CCDEPMODE
705 am__nodep
706 AMDEPBACKSLASH
707 AMDEP_FALSE
708 AMDEP_TRUE
709 am__quote
710 am__include
711 DEPDIR
712 am__untar
713 am__tar
714 AMTAR
715 am__leading_dot
716 SET_MAKE
717 AWK
718 mkdir_p
719 MKDIR_P
720 INSTALL_STRIP_PROGRAM
721 STRIP
722 install_sh
723 MAKEINFO
724 AUTOHEADER
725 AUTOMAKE
726 AUTOCONF
727 ACLOCAL
728 VERSION
729 PACKAGE
730 CYGPATH_W
731 am__isrc
732 INSTALL_DATA
733 INSTALL_SCRIPT
734 INSTALL_PROGRAM
735 OBJEXT
736 EXEEXT
737 ac_ct_CC
738 CPPFLAGS
739 LDFLAGS
740 CFLAGS
741 CC
742 target_os
743 target_vendor
744 target_cpu
745 target
746 host_os
747 host_vendor
748 host_cpu
749 host
750 build_os
751 build_vendor
752 build_cpu
753 build
754 target_alias
755 host_alias
756 build_alias
757 LIBS
758 ECHO_T
759 ECHO_N
760 ECHO_C
761 DEFS
762 mandir
763 localedir
764 libdir
765 psdir
766 pdfdir
767 dvidir
768 htmldir
769 infodir
770 docdir
771 oldincludedir
772 includedir
773 runstatedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files=''
794 ac_user_opts='
795 enable_option_checking
796 enable_dependency_tracking
797 enable_silent_rules
798 enable_shared
799 enable_static
800 with_pic
801 enable_fast_install
802 with_gnu_ld
803 enable_libtool_lock
804 enable_plugins
805 enable_largefile
806 enable_targets
807 enable_checking
808 enable_compressed_debug_sections
809 enable_x86_relax_relocations
810 enable_elf_stt_common
811 enable_generate_build_notes
812 enable_mips_fix_loongson3_llsc
813 enable_x86_used_note
814 enable_default_riscv_attribute
815 enable_werror
816 enable_build_warnings
817 with_cpu
818 enable_nls
819 enable_maintainer_mode
820 with_system_zlib
821 '
822       ac_precious_vars='build_alias
823 host_alias
824 target_alias
825 CC
826 CFLAGS
827 LDFLAGS
828 LIBS
829 CPPFLAGS
830 CPP
831 YACC
832 YFLAGS'
833
834
835 # Initialize some variables set by options.
836 ac_init_help=
837 ac_init_version=false
838 ac_unrecognized_opts=
839 ac_unrecognized_sep=
840 # The variables have the same names as the options, with
841 # dashes changed to underlines.
842 cache_file=/dev/null
843 exec_prefix=NONE
844 no_create=
845 no_recursion=
846 prefix=NONE
847 program_prefix=NONE
848 program_suffix=NONE
849 program_transform_name=s,x,x,
850 silent=
851 site=
852 srcdir=
853 verbose=
854 x_includes=NONE
855 x_libraries=NONE
856
857 # Installation directory options.
858 # These are left unexpanded so users can "make install exec_prefix=/foo"
859 # and all the variables that are supposed to be based on exec_prefix
860 # by default will actually change.
861 # Use braces instead of parens because sh, perl, etc. also accept them.
862 # (The list follows the same order as the GNU Coding Standards.)
863 bindir='${exec_prefix}/bin'
864 sbindir='${exec_prefix}/sbin'
865 libexecdir='${exec_prefix}/libexec'
866 datarootdir='${prefix}/share'
867 datadir='${datarootdir}'
868 sysconfdir='${prefix}/etc'
869 sharedstatedir='${prefix}/com'
870 localstatedir='${prefix}/var'
871 runstatedir='${localstatedir}/run'
872 includedir='${prefix}/include'
873 oldincludedir='/usr/include'
874 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
875 infodir='${datarootdir}/info'
876 htmldir='${docdir}'
877 dvidir='${docdir}'
878 pdfdir='${docdir}'
879 psdir='${docdir}'
880 libdir='${exec_prefix}/lib'
881 localedir='${datarootdir}/locale'
882 mandir='${datarootdir}/man'
883
884 ac_prev=
885 ac_dashdash=
886 for ac_option
887 do
888   # If the previous option needs an argument, assign it.
889   if test -n "$ac_prev"; then
890     eval $ac_prev=\$ac_option
891     ac_prev=
892     continue
893   fi
894
895   case $ac_option in
896   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897   *=)   ac_optarg= ;;
898   *)    ac_optarg=yes ;;
899   esac
900
901   # Accept the important Cygnus configure options, so we can diagnose typos.
902
903   case $ac_dashdash$ac_option in
904   --)
905     ac_dashdash=yes ;;
906
907   -bindir | --bindir | --bindi | --bind | --bin | --bi)
908     ac_prev=bindir ;;
909   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
910     bindir=$ac_optarg ;;
911
912   -build | --build | --buil | --bui | --bu)
913     ac_prev=build_alias ;;
914   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
915     build_alias=$ac_optarg ;;
916
917   -cache-file | --cache-file | --cache-fil | --cache-fi \
918   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
919     ac_prev=cache_file ;;
920   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
921   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
922     cache_file=$ac_optarg ;;
923
924   --config-cache | -C)
925     cache_file=config.cache ;;
926
927   -datadir | --datadir | --datadi | --datad)
928     ac_prev=datadir ;;
929   -datadir=* | --datadir=* | --datadi=* | --datad=*)
930     datadir=$ac_optarg ;;
931
932   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
933   | --dataroo | --dataro | --datar)
934     ac_prev=datarootdir ;;
935   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
936   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
937     datarootdir=$ac_optarg ;;
938
939   -disable-* | --disable-*)
940     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941     # Reject names that are not valid shell variable names.
942     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
943       as_fn_error $? "invalid feature name: $ac_useropt"
944     ac_useropt_orig=$ac_useropt
945     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946     case $ac_user_opts in
947       *"
948 "enable_$ac_useropt"
949 "*) ;;
950       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
951          ac_unrecognized_sep=', ';;
952     esac
953     eval enable_$ac_useropt=no ;;
954
955   -docdir | --docdir | --docdi | --doc | --do)
956     ac_prev=docdir ;;
957   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
958     docdir=$ac_optarg ;;
959
960   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
961     ac_prev=dvidir ;;
962   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
963     dvidir=$ac_optarg ;;
964
965   -enable-* | --enable-*)
966     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967     # Reject names that are not valid shell variable names.
968     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
969       as_fn_error $? "invalid feature name: $ac_useropt"
970     ac_useropt_orig=$ac_useropt
971     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972     case $ac_user_opts in
973       *"
974 "enable_$ac_useropt"
975 "*) ;;
976       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
977          ac_unrecognized_sep=', ';;
978     esac
979     eval enable_$ac_useropt=\$ac_optarg ;;
980
981   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
982   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
983   | --exec | --exe | --ex)
984     ac_prev=exec_prefix ;;
985   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
986   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
987   | --exec=* | --exe=* | --ex=*)
988     exec_prefix=$ac_optarg ;;
989
990   -gas | --gas | --ga | --g)
991     # Obsolete; use --with-gas.
992     with_gas=yes ;;
993
994   -help | --help | --hel | --he | -h)
995     ac_init_help=long ;;
996   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
997     ac_init_help=recursive ;;
998   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
999     ac_init_help=short ;;
1000
1001   -host | --host | --hos | --ho)
1002     ac_prev=host_alias ;;
1003   -host=* | --host=* | --hos=* | --ho=*)
1004     host_alias=$ac_optarg ;;
1005
1006   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1007     ac_prev=htmldir ;;
1008   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1009   | --ht=*)
1010     htmldir=$ac_optarg ;;
1011
1012   -includedir | --includedir | --includedi | --included | --include \
1013   | --includ | --inclu | --incl | --inc)
1014     ac_prev=includedir ;;
1015   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1016   | --includ=* | --inclu=* | --incl=* | --inc=*)
1017     includedir=$ac_optarg ;;
1018
1019   -infodir | --infodir | --infodi | --infod | --info | --inf)
1020     ac_prev=infodir ;;
1021   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1022     infodir=$ac_optarg ;;
1023
1024   -libdir | --libdir | --libdi | --libd)
1025     ac_prev=libdir ;;
1026   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1027     libdir=$ac_optarg ;;
1028
1029   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1030   | --libexe | --libex | --libe)
1031     ac_prev=libexecdir ;;
1032   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1033   | --libexe=* | --libex=* | --libe=*)
1034     libexecdir=$ac_optarg ;;
1035
1036   -localedir | --localedir | --localedi | --localed | --locale)
1037     ac_prev=localedir ;;
1038   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1039     localedir=$ac_optarg ;;
1040
1041   -localstatedir | --localstatedir | --localstatedi | --localstated \
1042   | --localstate | --localstat | --localsta | --localst | --locals)
1043     ac_prev=localstatedir ;;
1044   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1045   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1046     localstatedir=$ac_optarg ;;
1047
1048   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1049     ac_prev=mandir ;;
1050   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1051     mandir=$ac_optarg ;;
1052
1053   -nfp | --nfp | --nf)
1054     # Obsolete; use --without-fp.
1055     with_fp=no ;;
1056
1057   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1058   | --no-cr | --no-c | -n)
1059     no_create=yes ;;
1060
1061   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1062   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1063     no_recursion=yes ;;
1064
1065   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1066   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1067   | --oldin | --oldi | --old | --ol | --o)
1068     ac_prev=oldincludedir ;;
1069   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1070   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1071   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1072     oldincludedir=$ac_optarg ;;
1073
1074   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1075     ac_prev=prefix ;;
1076   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1077     prefix=$ac_optarg ;;
1078
1079   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1080   | --program-pre | --program-pr | --program-p)
1081     ac_prev=program_prefix ;;
1082   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1083   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1084     program_prefix=$ac_optarg ;;
1085
1086   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1087   | --program-suf | --program-su | --program-s)
1088     ac_prev=program_suffix ;;
1089   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1090   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1091     program_suffix=$ac_optarg ;;
1092
1093   -program-transform-name | --program-transform-name \
1094   | --program-transform-nam | --program-transform-na \
1095   | --program-transform-n | --program-transform- \
1096   | --program-transform | --program-transfor \
1097   | --program-transfo | --program-transf \
1098   | --program-trans | --program-tran \
1099   | --progr-tra | --program-tr | --program-t)
1100     ac_prev=program_transform_name ;;
1101   -program-transform-name=* | --program-transform-name=* \
1102   | --program-transform-nam=* | --program-transform-na=* \
1103   | --program-transform-n=* | --program-transform-=* \
1104   | --program-transform=* | --program-transfor=* \
1105   | --program-transfo=* | --program-transf=* \
1106   | --program-trans=* | --program-tran=* \
1107   | --progr-tra=* | --program-tr=* | --program-t=*)
1108     program_transform_name=$ac_optarg ;;
1109
1110   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1111     ac_prev=pdfdir ;;
1112   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1113     pdfdir=$ac_optarg ;;
1114
1115   -psdir | --psdir | --psdi | --psd | --ps)
1116     ac_prev=psdir ;;
1117   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1118     psdir=$ac_optarg ;;
1119
1120   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1121   | -silent | --silent | --silen | --sile | --sil)
1122     silent=yes ;;
1123
1124   -runstatedir | --runstatedir | --runstatedi | --runstated \
1125   | --runstate | --runstat | --runsta | --runst | --runs \
1126   | --run | --ru | --r)
1127     ac_prev=runstatedir ;;
1128   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1129   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1130   | --run=* | --ru=* | --r=*)
1131     runstatedir=$ac_optarg ;;
1132
1133   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1134     ac_prev=sbindir ;;
1135   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1136   | --sbi=* | --sb=*)
1137     sbindir=$ac_optarg ;;
1138
1139   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1140   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1141   | --sharedst | --shareds | --shared | --share | --shar \
1142   | --sha | --sh)
1143     ac_prev=sharedstatedir ;;
1144   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1145   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1146   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1147   | --sha=* | --sh=*)
1148     sharedstatedir=$ac_optarg ;;
1149
1150   -site | --site | --sit)
1151     ac_prev=site ;;
1152   -site=* | --site=* | --sit=*)
1153     site=$ac_optarg ;;
1154
1155   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1156     ac_prev=srcdir ;;
1157   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1158     srcdir=$ac_optarg ;;
1159
1160   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1161   | --syscon | --sysco | --sysc | --sys | --sy)
1162     ac_prev=sysconfdir ;;
1163   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1164   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1165     sysconfdir=$ac_optarg ;;
1166
1167   -target | --target | --targe | --targ | --tar | --ta | --t)
1168     ac_prev=target_alias ;;
1169   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1170     target_alias=$ac_optarg ;;
1171
1172   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1173     verbose=yes ;;
1174
1175   -version | --version | --versio | --versi | --vers | -V)
1176     ac_init_version=: ;;
1177
1178   -with-* | --with-*)
1179     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1180     # Reject names that are not valid shell variable names.
1181     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1182       as_fn_error $? "invalid package name: $ac_useropt"
1183     ac_useropt_orig=$ac_useropt
1184     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185     case $ac_user_opts in
1186       *"
1187 "with_$ac_useropt"
1188 "*) ;;
1189       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1190          ac_unrecognized_sep=', ';;
1191     esac
1192     eval with_$ac_useropt=\$ac_optarg ;;
1193
1194   -without-* | --without-*)
1195     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1196     # Reject names that are not valid shell variable names.
1197     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1198       as_fn_error $? "invalid package name: $ac_useropt"
1199     ac_useropt_orig=$ac_useropt
1200     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1201     case $ac_user_opts in
1202       *"
1203 "with_$ac_useropt"
1204 "*) ;;
1205       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1206          ac_unrecognized_sep=', ';;
1207     esac
1208     eval with_$ac_useropt=no ;;
1209
1210   --x)
1211     # Obsolete; use --with-x.
1212     with_x=yes ;;
1213
1214   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1215   | --x-incl | --x-inc | --x-in | --x-i)
1216     ac_prev=x_includes ;;
1217   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1218   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1219     x_includes=$ac_optarg ;;
1220
1221   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1222   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1223     ac_prev=x_libraries ;;
1224   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1225   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1226     x_libraries=$ac_optarg ;;
1227
1228   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1229 Try \`$0 --help' for more information"
1230     ;;
1231
1232   *=*)
1233     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1234     # Reject names that are not valid shell variable names.
1235     case $ac_envvar in #(
1236       '' | [0-9]* | *[!_$as_cr_alnum]* )
1237       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1238     esac
1239     eval $ac_envvar=\$ac_optarg
1240     export $ac_envvar ;;
1241
1242   *)
1243     # FIXME: should be removed in autoconf 3.0.
1244     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1245     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1246       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1247     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1248     ;;
1249
1250   esac
1251 done
1252
1253 if test -n "$ac_prev"; then
1254   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1255   as_fn_error $? "missing argument to $ac_option"
1256 fi
1257
1258 if test -n "$ac_unrecognized_opts"; then
1259   case $enable_option_checking in
1260     no) ;;
1261     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1262     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1263   esac
1264 fi
1265
1266 # Check all directory arguments for consistency.
1267 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1268                 datadir sysconfdir sharedstatedir localstatedir includedir \
1269                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1270                 libdir localedir mandir runstatedir
1271 do
1272   eval ac_val=\$$ac_var
1273   # Remove trailing slashes.
1274   case $ac_val in
1275     */ )
1276       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1277       eval $ac_var=\$ac_val;;
1278   esac
1279   # Be sure to have absolute directory names.
1280   case $ac_val in
1281     [\\/$]* | ?:[\\/]* )  continue;;
1282     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1283   esac
1284   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1285 done
1286
1287 # There might be people who depend on the old broken behavior: `$host'
1288 # used to hold the argument of --host etc.
1289 # FIXME: To remove some day.
1290 build=$build_alias
1291 host=$host_alias
1292 target=$target_alias
1293
1294 # FIXME: To remove some day.
1295 if test "x$host_alias" != x; then
1296   if test "x$build_alias" = x; then
1297     cross_compiling=maybe
1298   elif test "x$build_alias" != "x$host_alias"; then
1299     cross_compiling=yes
1300   fi
1301 fi
1302
1303 ac_tool_prefix=
1304 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1305
1306 test "$silent" = yes && exec 6>/dev/null
1307
1308
1309 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1310 ac_ls_di=`ls -di .` &&
1311 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1312   as_fn_error $? "working directory cannot be determined"
1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314   as_fn_error $? "pwd does not report name of working directory"
1315
1316
1317 # Find the source files, if location was not specified.
1318 if test -z "$srcdir"; then
1319   ac_srcdir_defaulted=yes
1320   # Try the directory containing this script, then the parent directory.
1321   ac_confdir=`$as_dirname -- "$as_myself" ||
1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1323          X"$as_myself" : 'X\(//\)[^/]' \| \
1324          X"$as_myself" : 'X\(//\)$' \| \
1325          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1326 $as_echo X"$as_myself" |
1327     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1328             s//\1/
1329             q
1330           }
1331           /^X\(\/\/\)[^/].*/{
1332             s//\1/
1333             q
1334           }
1335           /^X\(\/\/\)$/{
1336             s//\1/
1337             q
1338           }
1339           /^X\(\/\).*/{
1340             s//\1/
1341             q
1342           }
1343           s/.*/./; q'`
1344   srcdir=$ac_confdir
1345   if test ! -r "$srcdir/$ac_unique_file"; then
1346     srcdir=..
1347   fi
1348 else
1349   ac_srcdir_defaulted=no
1350 fi
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1352   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1353   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1354 fi
1355 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1356 ac_abs_confdir=`(
1357         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1358         pwd)`
1359 # When building in place, set srcdir=.
1360 if test "$ac_abs_confdir" = "$ac_pwd"; then
1361   srcdir=.
1362 fi
1363 # Remove unnecessary trailing slashes from srcdir.
1364 # Double slashes in file names in object file debugging info
1365 # mess up M-x gdb in Emacs.
1366 case $srcdir in
1367 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1368 esac
1369 for ac_var in $ac_precious_vars; do
1370   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1371   eval ac_env_${ac_var}_value=\$${ac_var}
1372   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1373   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1374 done
1375
1376 #
1377 # Report the --help message.
1378 #
1379 if test "$ac_init_help" = "long"; then
1380   # Omit some internal or obsolete options to make the list less imposing.
1381   # This message is too long to be a string in the A/UX 3.1 sh.
1382   cat <<_ACEOF
1383 \`configure' configures gas 2.32.51 to adapt to many kinds of systems.
1384
1385 Usage: $0 [OPTION]... [VAR=VALUE]...
1386
1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388 VAR=VALUE.  See below for descriptions of some of the useful variables.
1389
1390 Defaults for the options are specified in brackets.
1391
1392 Configuration:
1393   -h, --help              display this help and exit
1394       --help=short        display options specific to this package
1395       --help=recursive    display the short help of all the included packages
1396   -V, --version           display version information and exit
1397   -q, --quiet, --silent   do not print \`checking ...' messages
1398       --cache-file=FILE   cache test results in FILE [disabled]
1399   -C, --config-cache      alias for \`--cache-file=config.cache'
1400   -n, --no-create         do not create output files
1401       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1402
1403 Installation directories:
1404   --prefix=PREFIX         install architecture-independent files in PREFIX
1405                           [$ac_default_prefix]
1406   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1407                           [PREFIX]
1408
1409 By default, \`make install' will install all the files in
1410 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412 for instance \`--prefix=\$HOME'.
1413
1414 For better control, use the options below.
1415
1416 Fine tuning of the installation directories:
1417   --bindir=DIR            user executables [EPREFIX/bin]
1418   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1419   --libexecdir=DIR        program executables [EPREFIX/libexec]
1420   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1421   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1422   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1423   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1424   --libdir=DIR            object code libraries [EPREFIX/lib]
1425   --includedir=DIR        C header files [PREFIX/include]
1426   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1427   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1428   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1429   --infodir=DIR           info documentation [DATAROOTDIR/info]
1430   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1431   --mandir=DIR            man documentation [DATAROOTDIR/man]
1432   --docdir=DIR            documentation root [DATAROOTDIR/doc/gas]
1433   --htmldir=DIR           html documentation [DOCDIR]
1434   --dvidir=DIR            dvi documentation [DOCDIR]
1435   --pdfdir=DIR            pdf documentation [DOCDIR]
1436   --psdir=DIR             ps documentation [DOCDIR]
1437 _ACEOF
1438
1439   cat <<\_ACEOF
1440
1441 Program names:
1442   --program-prefix=PREFIX            prepend PREFIX to installed program names
1443   --program-suffix=SUFFIX            append SUFFIX to installed program names
1444   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1445
1446 System types:
1447   --build=BUILD     configure for building on BUILD [guessed]
1448   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1449   --target=TARGET   configure for building compilers for TARGET [HOST]
1450 _ACEOF
1451 fi
1452
1453 if test -n "$ac_init_help"; then
1454   case $ac_init_help in
1455      short | recursive ) echo "Configuration of gas 2.32.51:";;
1456    esac
1457   cat <<\_ACEOF
1458
1459 Optional Features:
1460   --disable-option-checking  ignore unrecognized --enable/--with options
1461   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1462   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1463   --enable-dependency-tracking
1464                           do not reject slow dependency extractors
1465   --disable-dependency-tracking
1466                           speeds up one-time build
1467   --enable-silent-rules   less verbose build output (undo: "make V=1")
1468   --disable-silent-rules  verbose build output (undo: "make V=0")
1469   --enable-shared[=PKGS]  build shared libraries [default=yes]
1470   --enable-static[=PKGS]  build static libraries [default=yes]
1471   --enable-fast-install[=PKGS]
1472                           optimize for fast installation [default=yes]
1473   --disable-libtool-lock  avoid locking (might break parallel builds)
1474   --enable-plugins        Enable support for plugins
1475   --disable-largefile     omit support for large files
1476   --enable-targets        alternative target configurations besides the primary
1477   --enable-checking       enable run-time checks
1478   --enable-compressed-debug-sections={all,gas,none}
1479                           compress debug sections by default
1480   --enable-x86-relax-relocations
1481                           generate x86 relax relocations by default
1482   --enable-elf-stt-common generate ELF common symbols with STT_COMMON type by
1483                           default
1484   --enable-generate-build-notes
1485                           generate GNU Build notes if none are provided by the
1486                           input
1487   --enable-mips-fix-loongson3-llsc
1488                           enable MIPS fix Loongson3 LLSC errata
1489   --enable-x86-used-note  generate GNU x86 used ISA and feature properties
1490   --enable-default-riscv-attribute
1491                           generate RISC-V arch attribute by default
1492   --enable-werror         treat compile warnings as errors
1493   --enable-build-warnings enable build-time compiler warnings
1494   --disable-nls           do not use Native Language Support
1495   --enable-maintainer-mode
1496                           enable make rules and dependencies not useful (and
1497                           sometimes confusing) to the casual installer
1498
1499 Optional Packages:
1500   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1501   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1502   --with-pic              try to use only PIC/non-PIC objects [default=use
1503                           both]
1504   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1505   --with-cpu=CPU          default cpu variant is CPU (currently only supported
1506                           on ARC)
1507   --with-system-zlib      use installed libz
1508
1509 Some influential environment variables:
1510   CC          C compiler command
1511   CFLAGS      C compiler flags
1512   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1513               nonstandard directory <lib dir>
1514   LIBS        libraries to pass to the linker, e.g. -l<library>
1515   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1516               you have headers in a nonstandard directory <include dir>
1517   CPP         C preprocessor
1518   YACC        The `Yet Another Compiler Compiler' implementation to use.
1519               Defaults to the first program found out of: `bison -y', `byacc',
1520               `yacc'.
1521   YFLAGS      The list of arguments that will be passed by default to $YACC.
1522               This script will default YFLAGS to the empty string to avoid a
1523               default value of `-d' given by some make applications.
1524
1525 Use these variables to override the choices made by `configure' or to help
1526 it to find libraries and programs with nonstandard names/locations.
1527
1528 Report bugs to the package provider.
1529 _ACEOF
1530 ac_status=$?
1531 fi
1532
1533 if test "$ac_init_help" = "recursive"; then
1534   # If there are subdirs, report their specific --help.
1535   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1536     test -d "$ac_dir" ||
1537       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1538       continue
1539     ac_builddir=.
1540
1541 case "$ac_dir" in
1542 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1543 *)
1544   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1545   # A ".." for each directory in $ac_dir_suffix.
1546   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1547   case $ac_top_builddir_sub in
1548   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1550   esac ;;
1551 esac
1552 ac_abs_top_builddir=$ac_pwd
1553 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1554 # for backward compatibility:
1555 ac_top_builddir=$ac_top_build_prefix
1556
1557 case $srcdir in
1558   .)  # We are building in place.
1559     ac_srcdir=.
1560     ac_top_srcdir=$ac_top_builddir_sub
1561     ac_abs_top_srcdir=$ac_pwd ;;
1562   [\\/]* | ?:[\\/]* )  # Absolute name.
1563     ac_srcdir=$srcdir$ac_dir_suffix;
1564     ac_top_srcdir=$srcdir
1565     ac_abs_top_srcdir=$srcdir ;;
1566   *) # Relative name.
1567     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1568     ac_top_srcdir=$ac_top_build_prefix$srcdir
1569     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1570 esac
1571 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1572
1573     cd "$ac_dir" || { ac_status=$?; continue; }
1574     # Check for guested configure.
1575     if test -f "$ac_srcdir/configure.gnu"; then
1576       echo &&
1577       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1578     elif test -f "$ac_srcdir/configure"; then
1579       echo &&
1580       $SHELL "$ac_srcdir/configure" --help=recursive
1581     else
1582       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1583     fi || ac_status=$?
1584     cd "$ac_pwd" || { ac_status=$?; break; }
1585   done
1586 fi
1587
1588 test -n "$ac_init_help" && exit $ac_status
1589 if $ac_init_version; then
1590   cat <<\_ACEOF
1591 gas configure 2.32.51
1592 generated by GNU Autoconf 2.69
1593
1594 Copyright (C) 2012 Free Software Foundation, Inc.
1595 This configure script is free software; the Free Software Foundation
1596 gives unlimited permission to copy, distribute and modify it.
1597 _ACEOF
1598   exit
1599 fi
1600
1601 ## ------------------------ ##
1602 ## Autoconf initialization. ##
1603 ## ------------------------ ##
1604
1605 # ac_fn_c_try_compile LINENO
1606 # --------------------------
1607 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1608 ac_fn_c_try_compile ()
1609 {
1610   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611   rm -f conftest.$ac_objext
1612   if { { ac_try="$ac_compile"
1613 case "(($ac_try" in
1614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615   *) ac_try_echo=$ac_try;;
1616 esac
1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618 $as_echo "$ac_try_echo"; } >&5
1619   (eval "$ac_compile") 2>conftest.err
1620   ac_status=$?
1621   if test -s conftest.err; then
1622     grep -v '^ *+' conftest.err >conftest.er1
1623     cat conftest.er1 >&5
1624     mv -f conftest.er1 conftest.err
1625   fi
1626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627   test $ac_status = 0; } && {
1628          test -z "$ac_c_werror_flag" ||
1629          test ! -s conftest.err
1630        } && test -s conftest.$ac_objext; then :
1631   ac_retval=0
1632 else
1633   $as_echo "$as_me: failed program was:" >&5
1634 sed 's/^/| /' conftest.$ac_ext >&5
1635
1636         ac_retval=1
1637 fi
1638   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639   as_fn_set_status $ac_retval
1640
1641 } # ac_fn_c_try_compile
1642
1643 # ac_fn_c_try_link LINENO
1644 # -----------------------
1645 # Try to link conftest.$ac_ext, and return whether this succeeded.
1646 ac_fn_c_try_link ()
1647 {
1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649   rm -f conftest.$ac_objext conftest$ac_exeext
1650   if { { ac_try="$ac_link"
1651 case "(($ac_try" in
1652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653   *) ac_try_echo=$ac_try;;
1654 esac
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657   (eval "$ac_link") 2>conftest.err
1658   ac_status=$?
1659   if test -s conftest.err; then
1660     grep -v '^ *+' conftest.err >conftest.er1
1661     cat conftest.er1 >&5
1662     mv -f conftest.er1 conftest.err
1663   fi
1664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665   test $ac_status = 0; } && {
1666          test -z "$ac_c_werror_flag" ||
1667          test ! -s conftest.err
1668        } && test -s conftest$ac_exeext && {
1669          test "$cross_compiling" = yes ||
1670          test -x conftest$ac_exeext
1671        }; then :
1672   ac_retval=0
1673 else
1674   $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1676
1677         ac_retval=1
1678 fi
1679   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1680   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1681   # interfere with the next link command; also delete a directory that is
1682   # left behind by Apple's compiler.  We do this before executing the actions.
1683   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1684   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685   as_fn_set_status $ac_retval
1686
1687 } # ac_fn_c_try_link
1688
1689 # ac_fn_c_try_cpp LINENO
1690 # ----------------------
1691 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1692 ac_fn_c_try_cpp ()
1693 {
1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695   if { { ac_try="$ac_cpp conftest.$ac_ext"
1696 case "(($ac_try" in
1697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698   *) ac_try_echo=$ac_try;;
1699 esac
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1703   ac_status=$?
1704   if test -s conftest.err; then
1705     grep -v '^ *+' conftest.err >conftest.er1
1706     cat conftest.er1 >&5
1707     mv -f conftest.er1 conftest.err
1708   fi
1709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710   test $ac_status = 0; } > conftest.i && {
1711          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1712          test ! -s conftest.err
1713        }; then :
1714   ac_retval=0
1715 else
1716   $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.$ac_ext >&5
1718
1719     ac_retval=1
1720 fi
1721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722   as_fn_set_status $ac_retval
1723
1724 } # ac_fn_c_try_cpp
1725
1726 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1727 # -------------------------------------------------------
1728 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1729 # the include files in INCLUDES and setting the cache variable VAR
1730 # accordingly.
1731 ac_fn_c_check_header_mongrel ()
1732 {
1733   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734   if eval \${$3+:} false; then :
1735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1736 $as_echo_n "checking for $2... " >&6; }
1737 if eval \${$3+:} false; then :
1738   $as_echo_n "(cached) " >&6
1739 fi
1740 eval ac_res=\$$3
1741                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742 $as_echo "$ac_res" >&6; }
1743 else
1744   # Is the header compilable?
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1746 $as_echo_n "checking $2 usability... " >&6; }
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h.  */
1749 $4
1750 #include <$2>
1751 _ACEOF
1752 if ac_fn_c_try_compile "$LINENO"; then :
1753   ac_header_compiler=yes
1754 else
1755   ac_header_compiler=no
1756 fi
1757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1759 $as_echo "$ac_header_compiler" >&6; }
1760
1761 # Is the header present?
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1763 $as_echo_n "checking $2 presence... " >&6; }
1764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h.  */
1766 #include <$2>
1767 _ACEOF
1768 if ac_fn_c_try_cpp "$LINENO"; then :
1769   ac_header_preproc=yes
1770 else
1771   ac_header_preproc=no
1772 fi
1773 rm -f conftest.err conftest.i conftest.$ac_ext
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1775 $as_echo "$ac_header_preproc" >&6; }
1776
1777 # So?  What about this header?
1778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1779   yes:no: )
1780     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1781 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1782     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1783 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1784     ;;
1785   no:yes:* )
1786     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1787 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1788     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1789 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1790     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1791 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1792     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1793 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1794     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1795 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1796     ;;
1797 esac
1798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if eval \${$3+:} false; then :
1801   $as_echo_n "(cached) " >&6
1802 else
1803   eval "$3=\$ac_header_compiler"
1804 fi
1805 eval ac_res=\$$3
1806                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 $as_echo "$ac_res" >&6; }
1808 fi
1809   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810
1811 } # ac_fn_c_check_header_mongrel
1812
1813 # ac_fn_c_try_run LINENO
1814 # ----------------------
1815 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1816 # that executables *can* be run.
1817 ac_fn_c_try_run ()
1818 {
1819   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820   if { { ac_try="$ac_link"
1821 case "(($ac_try" in
1822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1823   *) ac_try_echo=$ac_try;;
1824 esac
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827   (eval "$ac_link") 2>&5
1828   ac_status=$?
1829   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1831   { { case "(($ac_try" in
1832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833   *) ac_try_echo=$ac_try;;
1834 esac
1835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837   (eval "$ac_try") 2>&5
1838   ac_status=$?
1839   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840   test $ac_status = 0; }; }; then :
1841   ac_retval=0
1842 else
1843   $as_echo "$as_me: program exited with status $ac_status" >&5
1844        $as_echo "$as_me: failed program was:" >&5
1845 sed 's/^/| /' conftest.$ac_ext >&5
1846
1847        ac_retval=$ac_status
1848 fi
1849   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1850   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851   as_fn_set_status $ac_retval
1852
1853 } # ac_fn_c_try_run
1854
1855 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1856 # -------------------------------------------------------
1857 # Tests whether HEADER exists and can be compiled using the include files in
1858 # INCLUDES, setting the cache variable VAR accordingly.
1859 ac_fn_c_check_header_compile ()
1860 {
1861   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863 $as_echo_n "checking for $2... " >&6; }
1864 if eval \${$3+:} false; then :
1865   $as_echo_n "(cached) " >&6
1866 else
1867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868 /* end confdefs.h.  */
1869 $4
1870 #include <$2>
1871 _ACEOF
1872 if ac_fn_c_try_compile "$LINENO"; then :
1873   eval "$3=yes"
1874 else
1875   eval "$3=no"
1876 fi
1877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1878 fi
1879 eval ac_res=\$$3
1880                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 $as_echo "$ac_res" >&6; }
1882   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883
1884 } # ac_fn_c_check_header_compile
1885
1886 # ac_fn_c_check_func LINENO FUNC VAR
1887 # ----------------------------------
1888 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1889 ac_fn_c_check_func ()
1890 {
1891   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if eval \${$3+:} false; then :
1895   $as_echo_n "(cached) " >&6
1896 else
1897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h.  */
1899 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1900    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1901 #define $2 innocuous_$2
1902
1903 /* System header to define __stub macros and hopefully few prototypes,
1904     which can conflict with char $2 (); below.
1905     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1906     <limits.h> exists even on freestanding compilers.  */
1907
1908 #ifdef __STDC__
1909 # include <limits.h>
1910 #else
1911 # include <assert.h>
1912 #endif
1913
1914 #undef $2
1915
1916 /* Override any GCC internal prototype to avoid an error.
1917    Use char because int might match the return type of a GCC
1918    builtin and then its argument prototype would still apply.  */
1919 #ifdef __cplusplus
1920 extern "C"
1921 #endif
1922 char $2 ();
1923 /* The GNU C library defines this for functions which it implements
1924     to always fail with ENOSYS.  Some functions are actually named
1925     something starting with __ and the normal name is an alias.  */
1926 #if defined __stub_$2 || defined __stub___$2
1927 choke me
1928 #endif
1929
1930 int
1931 main ()
1932 {
1933 return $2 ();
1934   ;
1935   return 0;
1936 }
1937 _ACEOF
1938 if ac_fn_c_try_link "$LINENO"; then :
1939   eval "$3=yes"
1940 else
1941   eval "$3=no"
1942 fi
1943 rm -f core conftest.err conftest.$ac_objext \
1944     conftest$ac_exeext conftest.$ac_ext
1945 fi
1946 eval ac_res=\$$3
1947                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950
1951 } # ac_fn_c_check_func
1952
1953 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1954 # -------------------------------------------
1955 # Tests whether TYPE exists after having included INCLUDES, setting cache
1956 # variable VAR accordingly.
1957 ac_fn_c_check_type ()
1958 {
1959   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1961 $as_echo_n "checking for $2... " >&6; }
1962 if eval \${$3+:} false; then :
1963   $as_echo_n "(cached) " >&6
1964 else
1965   eval "$3=no"
1966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1967 /* end confdefs.h.  */
1968 $4
1969 int
1970 main ()
1971 {
1972 if (sizeof ($2))
1973          return 0;
1974   ;
1975   return 0;
1976 }
1977 _ACEOF
1978 if ac_fn_c_try_compile "$LINENO"; then :
1979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h.  */
1981 $4
1982 int
1983 main ()
1984 {
1985 if (sizeof (($2)))
1986             return 0;
1987   ;
1988   return 0;
1989 }
1990 _ACEOF
1991 if ac_fn_c_try_compile "$LINENO"; then :
1992
1993 else
1994   eval "$3=yes"
1995 fi
1996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1997 fi
1998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1999 fi
2000 eval ac_res=\$$3
2001                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002 $as_echo "$ac_res" >&6; }
2003   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004
2005 } # ac_fn_c_check_type
2006
2007 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2008 # ---------------------------------------------
2009 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2010 # accordingly.
2011 ac_fn_c_check_decl ()
2012 {
2013   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014   as_decl_name=`echo $2|sed 's/ *(.*//'`
2015   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2017 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2018 if eval \${$3+:} false; then :
2019   $as_echo_n "(cached) " >&6
2020 else
2021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h.  */
2023 $4
2024 int
2025 main ()
2026 {
2027 #ifndef $as_decl_name
2028 #ifdef __cplusplus
2029   (void) $as_decl_use;
2030 #else
2031   (void) $as_decl_name;
2032 #endif
2033 #endif
2034
2035   ;
2036   return 0;
2037 }
2038 _ACEOF
2039 if ac_fn_c_try_compile "$LINENO"; then :
2040   eval "$3=yes"
2041 else
2042   eval "$3=no"
2043 fi
2044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2045 fi
2046 eval ac_res=\$$3
2047                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2049   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2050
2051 } # ac_fn_c_check_decl
2052 cat >config.log <<_ACEOF
2053 This file contains any messages produced by compilers while
2054 running configure, to aid debugging if configure makes a mistake.
2055
2056 It was created by gas $as_me 2.32.51, which was
2057 generated by GNU Autoconf 2.69.  Invocation command line was
2058
2059   $ $0 $@
2060
2061 _ACEOF
2062 exec 5>>config.log
2063 {
2064 cat <<_ASUNAME
2065 ## --------- ##
2066 ## Platform. ##
2067 ## --------- ##
2068
2069 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2070 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2071 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2072 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2073 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2074
2075 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2076 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2077
2078 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2079 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2080 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2081 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2082 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2083 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2084 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2085
2086 _ASUNAME
2087
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089 for as_dir in $PATH
2090 do
2091   IFS=$as_save_IFS
2092   test -z "$as_dir" && as_dir=.
2093     $as_echo "PATH: $as_dir"
2094   done
2095 IFS=$as_save_IFS
2096
2097 } >&5
2098
2099 cat >&5 <<_ACEOF
2100
2101
2102 ## ----------- ##
2103 ## Core tests. ##
2104 ## ----------- ##
2105
2106 _ACEOF
2107
2108
2109 # Keep a trace of the command line.
2110 # Strip out --no-create and --no-recursion so they do not pile up.
2111 # Strip out --silent because we don't want to record it for future runs.
2112 # Also quote any args containing shell meta-characters.
2113 # Make two passes to allow for proper duplicate-argument suppression.
2114 ac_configure_args=
2115 ac_configure_args0=
2116 ac_configure_args1=
2117 ac_must_keep_next=false
2118 for ac_pass in 1 2
2119 do
2120   for ac_arg
2121   do
2122     case $ac_arg in
2123     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2124     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2125     | -silent | --silent | --silen | --sile | --sil)
2126       continue ;;
2127     *\'*)
2128       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2129     esac
2130     case $ac_pass in
2131     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2132     2)
2133       as_fn_append ac_configure_args1 " '$ac_arg'"
2134       if test $ac_must_keep_next = true; then
2135         ac_must_keep_next=false # Got value, back to normal.
2136       else
2137         case $ac_arg in
2138           *=* | --config-cache | -C | -disable-* | --disable-* \
2139           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2140           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2141           | -with-* | --with-* | -without-* | --without-* | --x)
2142             case "$ac_configure_args0 " in
2143               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2144             esac
2145             ;;
2146           -* ) ac_must_keep_next=true ;;
2147         esac
2148       fi
2149       as_fn_append ac_configure_args " '$ac_arg'"
2150       ;;
2151     esac
2152   done
2153 done
2154 { ac_configure_args0=; unset ac_configure_args0;}
2155 { ac_configure_args1=; unset ac_configure_args1;}
2156
2157 # When interrupted or exit'd, cleanup temporary files, and complete
2158 # config.log.  We remove comments because anyway the quotes in there
2159 # would cause problems or look ugly.
2160 # WARNING: Use '\'' to represent an apostrophe within the trap.
2161 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2162 trap 'exit_status=$?
2163   # Save into config.log some information that might help in debugging.
2164   {
2165     echo
2166
2167     $as_echo "## ---------------- ##
2168 ## Cache variables. ##
2169 ## ---------------- ##"
2170     echo
2171     # The following way of writing the cache mishandles newlines in values,
2172 (
2173   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2174     eval ac_val=\$$ac_var
2175     case $ac_val in #(
2176     *${as_nl}*)
2177       case $ac_var in #(
2178       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2179 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2180       esac
2181       case $ac_var in #(
2182       _ | IFS | as_nl) ;; #(
2183       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2184       *) { eval $ac_var=; unset $ac_var;} ;;
2185       esac ;;
2186     esac
2187   done
2188   (set) 2>&1 |
2189     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2190     *${as_nl}ac_space=\ *)
2191       sed -n \
2192         "s/'\''/'\''\\\\'\'''\''/g;
2193           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2194       ;; #(
2195     *)
2196       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2197       ;;
2198     esac |
2199     sort
2200 )
2201     echo
2202
2203     $as_echo "## ----------------- ##
2204 ## Output variables. ##
2205 ## ----------------- ##"
2206     echo
2207     for ac_var in $ac_subst_vars
2208     do
2209       eval ac_val=\$$ac_var
2210       case $ac_val in
2211       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2212       esac
2213       $as_echo "$ac_var='\''$ac_val'\''"
2214     done | sort
2215     echo
2216
2217     if test -n "$ac_subst_files"; then
2218       $as_echo "## ------------------- ##
2219 ## File substitutions. ##
2220 ## ------------------- ##"
2221       echo
2222       for ac_var in $ac_subst_files
2223       do
2224         eval ac_val=\$$ac_var
2225         case $ac_val in
2226         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2227         esac
2228         $as_echo "$ac_var='\''$ac_val'\''"
2229       done | sort
2230       echo
2231     fi
2232
2233     if test -s confdefs.h; then
2234       $as_echo "## ----------- ##
2235 ## confdefs.h. ##
2236 ## ----------- ##"
2237       echo
2238       cat confdefs.h
2239       echo
2240     fi
2241     test "$ac_signal" != 0 &&
2242       $as_echo "$as_me: caught signal $ac_signal"
2243     $as_echo "$as_me: exit $exit_status"
2244   } >&5
2245   rm -f core *.core core.conftest.* &&
2246     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2247     exit $exit_status
2248 ' 0
2249 for ac_signal in 1 2 13 15; do
2250   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2251 done
2252 ac_signal=0
2253
2254 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2255 rm -f -r conftest* confdefs.h
2256
2257 $as_echo "/* confdefs.h */" > confdefs.h
2258
2259 # Predefined preprocessor variables.
2260
2261 cat >>confdefs.h <<_ACEOF
2262 #define PACKAGE_NAME "$PACKAGE_NAME"
2263 _ACEOF
2264
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2267 _ACEOF
2268
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2271 _ACEOF
2272
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_STRING "$PACKAGE_STRING"
2275 _ACEOF
2276
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2279 _ACEOF
2280
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_URL "$PACKAGE_URL"
2283 _ACEOF
2284
2285
2286 # Let the site file select an alternate cache file if it wants to.
2287 # Prefer an explicitly selected file to automatically selected ones.
2288 ac_site_file1=NONE
2289 ac_site_file2=NONE
2290 if test -n "$CONFIG_SITE"; then
2291   # We do not want a PATH search for config.site.
2292   case $CONFIG_SITE in #((
2293     -*)  ac_site_file1=./$CONFIG_SITE;;
2294     */*) ac_site_file1=$CONFIG_SITE;;
2295     *)   ac_site_file1=./$CONFIG_SITE;;
2296   esac
2297 elif test "x$prefix" != xNONE; then
2298   ac_site_file1=$prefix/share/config.site
2299   ac_site_file2=$prefix/etc/config.site
2300 else
2301   ac_site_file1=$ac_default_prefix/share/config.site
2302   ac_site_file2=$ac_default_prefix/etc/config.site
2303 fi
2304 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2305 do
2306   test "x$ac_site_file" = xNONE && continue
2307   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2308     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2309 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2310     sed 's/^/| /' "$ac_site_file" >&5
2311     . "$ac_site_file" \
2312       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2314 as_fn_error $? "failed to load site script $ac_site_file
2315 See \`config.log' for more details" "$LINENO" 5; }
2316   fi
2317 done
2318
2319 if test -r "$cache_file"; then
2320   # Some versions of bash will fail to source /dev/null (special files
2321   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2322   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2323     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2324 $as_echo "$as_me: loading cache $cache_file" >&6;}
2325     case $cache_file in
2326       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2327       *)                      . "./$cache_file";;
2328     esac
2329   fi
2330 else
2331   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2332 $as_echo "$as_me: creating cache $cache_file" >&6;}
2333   >$cache_file
2334 fi
2335
2336 # Check that the precious variables saved in the cache have kept the same
2337 # value.
2338 ac_cache_corrupted=false
2339 for ac_var in $ac_precious_vars; do
2340   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2341   eval ac_new_set=\$ac_env_${ac_var}_set
2342   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2343   eval ac_new_val=\$ac_env_${ac_var}_value
2344   case $ac_old_set,$ac_new_set in
2345     set,)
2346       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2347 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2348       ac_cache_corrupted=: ;;
2349     ,set)
2350       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2351 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2352       ac_cache_corrupted=: ;;
2353     ,);;
2354     *)
2355       if test "x$ac_old_val" != "x$ac_new_val"; then
2356         # differences in whitespace do not lead to failure.
2357         ac_old_val_w=`echo x $ac_old_val`
2358         ac_new_val_w=`echo x $ac_new_val`
2359         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2360           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2361 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2362           ac_cache_corrupted=:
2363         else
2364           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2365 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2366           eval $ac_var=\$ac_old_val
2367         fi
2368         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2369 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2370         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2371 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2372       fi;;
2373   esac
2374   # Pass precious variables to config.status.
2375   if test "$ac_new_set" = set; then
2376     case $ac_new_val in
2377     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2378     *) ac_arg=$ac_var=$ac_new_val ;;
2379     esac
2380     case " $ac_configure_args " in
2381       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2382       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2383     esac
2384   fi
2385 done
2386 if $ac_cache_corrupted; then
2387   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2389   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2390 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2391   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2392 fi
2393 ## -------------------- ##
2394 ## Main body of script. ##
2395 ## -------------------- ##
2396
2397 ac_ext=c
2398 ac_cpp='$CPP $CPPFLAGS'
2399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2402
2403
2404
2405
2406
2407
2408
2409 ac_aux_dir=
2410 for ac_dir in .. "$srcdir"/..; do
2411   if test -f "$ac_dir/install-sh"; then
2412     ac_aux_dir=$ac_dir
2413     ac_install_sh="$ac_aux_dir/install-sh -c"
2414     break
2415   elif test -f "$ac_dir/install.sh"; then
2416     ac_aux_dir=$ac_dir
2417     ac_install_sh="$ac_aux_dir/install.sh -c"
2418     break
2419   elif test -f "$ac_dir/shtool"; then
2420     ac_aux_dir=$ac_dir
2421     ac_install_sh="$ac_aux_dir/shtool install -c"
2422     break
2423   fi
2424 done
2425 if test -z "$ac_aux_dir"; then
2426   as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2427 fi
2428
2429 # These three variables are undocumented and unsupported,
2430 # and are intended to be withdrawn in a future Autoconf release.
2431 # They can cause serious problems if a builder's source tree is in a directory
2432 # whose full name contains unusual characters.
2433 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2434 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2435 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2436
2437
2438 # Make sure we can run config.sub.
2439 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2440   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2441
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2443 $as_echo_n "checking build system type... " >&6; }
2444 if ${ac_cv_build+:} false; then :
2445   $as_echo_n "(cached) " >&6
2446 else
2447   ac_build_alias=$build_alias
2448 test "x$ac_build_alias" = x &&
2449   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2450 test "x$ac_build_alias" = x &&
2451   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2452 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2453   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2454
2455 fi
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2457 $as_echo "$ac_cv_build" >&6; }
2458 case $ac_cv_build in
2459 *-*-*) ;;
2460 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2461 esac
2462 build=$ac_cv_build
2463 ac_save_IFS=$IFS; IFS='-'
2464 set x $ac_cv_build
2465 shift
2466 build_cpu=$1
2467 build_vendor=$2
2468 shift; shift
2469 # Remember, the first character of IFS is used to create $*,
2470 # except with old shells:
2471 build_os=$*
2472 IFS=$ac_save_IFS
2473 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2474
2475
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2477 $as_echo_n "checking host system type... " >&6; }
2478 if ${ac_cv_host+:} false; then :
2479   $as_echo_n "(cached) " >&6
2480 else
2481   if test "x$host_alias" = x; then
2482   ac_cv_host=$ac_cv_build
2483 else
2484   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2485     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2486 fi
2487
2488 fi
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2490 $as_echo "$ac_cv_host" >&6; }
2491 case $ac_cv_host in
2492 *-*-*) ;;
2493 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2494 esac
2495 host=$ac_cv_host
2496 ac_save_IFS=$IFS; IFS='-'
2497 set x $ac_cv_host
2498 shift
2499 host_cpu=$1
2500 host_vendor=$2
2501 shift; shift
2502 # Remember, the first character of IFS is used to create $*,
2503 # except with old shells:
2504 host_os=$*
2505 IFS=$ac_save_IFS
2506 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2507
2508
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2510 $as_echo_n "checking target system type... " >&6; }
2511 if ${ac_cv_target+:} false; then :
2512   $as_echo_n "(cached) " >&6
2513 else
2514   if test "x$target_alias" = x; then
2515   ac_cv_target=$ac_cv_host
2516 else
2517   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2518     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2519 fi
2520
2521 fi
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2523 $as_echo "$ac_cv_target" >&6; }
2524 case $ac_cv_target in
2525 *-*-*) ;;
2526 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2527 esac
2528 target=$ac_cv_target
2529 ac_save_IFS=$IFS; IFS='-'
2530 set x $ac_cv_target
2531 shift
2532 target_cpu=$1
2533 target_vendor=$2
2534 shift; shift
2535 # Remember, the first character of IFS is used to create $*,
2536 # except with old shells:
2537 target_os=$*
2538 IFS=$ac_save_IFS
2539 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2540
2541
2542 # The aliases save the names the user supplied, while $host etc.
2543 # will get canonicalized.
2544 test -n "$target_alias" &&
2545   test "$program_prefix$program_suffix$program_transform_name" = \
2546     NONENONEs,x,x, &&
2547   program_prefix=${target_alias}-
2548 # Expand $ac_aux_dir to an absolute path.
2549 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2550
2551 ac_ext=c
2552 ac_cpp='$CPP $CPPFLAGS'
2553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2556 if test -n "$ac_tool_prefix"; then
2557   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2560 $as_echo_n "checking for $ac_word... " >&6; }
2561 if ${ac_cv_prog_CC+:} false; then :
2562   $as_echo_n "(cached) " >&6
2563 else
2564   if test -n "$CC"; then
2565   ac_cv_prog_CC="$CC" # Let the user override the test.
2566 else
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 for as_dir in $PATH
2569 do
2570   IFS=$as_save_IFS
2571   test -z "$as_dir" && as_dir=.
2572     for ac_exec_ext in '' $ac_executable_extensions; do
2573   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576     break 2
2577   fi
2578 done
2579   done
2580 IFS=$as_save_IFS
2581
2582 fi
2583 fi
2584 CC=$ac_cv_prog_CC
2585 if test -n "$CC"; then
2586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2587 $as_echo "$CC" >&6; }
2588 else
2589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2590 $as_echo "no" >&6; }
2591 fi
2592
2593
2594 fi
2595 if test -z "$ac_cv_prog_CC"; then
2596   ac_ct_CC=$CC
2597   # Extract the first word of "gcc", so it can be a program name with args.
2598 set dummy gcc; ac_word=$2
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600 $as_echo_n "checking for $ac_word... " >&6; }
2601 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2602   $as_echo_n "(cached) " >&6
2603 else
2604   if test -n "$ac_ct_CC"; then
2605   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2606 else
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 for as_dir in $PATH
2609 do
2610   IFS=$as_save_IFS
2611   test -z "$as_dir" && as_dir=.
2612     for ac_exec_ext in '' $ac_executable_extensions; do
2613   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2614     ac_cv_prog_ac_ct_CC="gcc"
2615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616     break 2
2617   fi
2618 done
2619   done
2620 IFS=$as_save_IFS
2621
2622 fi
2623 fi
2624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2625 if test -n "$ac_ct_CC"; then
2626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2627 $as_echo "$ac_ct_CC" >&6; }
2628 else
2629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630 $as_echo "no" >&6; }
2631 fi
2632
2633   if test "x$ac_ct_CC" = x; then
2634     CC=""
2635   else
2636     case $cross_compiling:$ac_tool_warned in
2637 yes:)
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2640 ac_tool_warned=yes ;;
2641 esac
2642     CC=$ac_ct_CC
2643   fi
2644 else
2645   CC="$ac_cv_prog_CC"
2646 fi
2647
2648 if test -z "$CC"; then
2649           if test -n "$ac_tool_prefix"; then
2650     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2651 set dummy ${ac_tool_prefix}cc; ac_word=$2
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653 $as_echo_n "checking for $ac_word... " >&6; }
2654 if ${ac_cv_prog_CC+:} false; then :
2655   $as_echo_n "(cached) " >&6
2656 else
2657   if test -n "$CC"; then
2658   ac_cv_prog_CC="$CC" # Let the user override the test.
2659 else
2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 for as_dir in $PATH
2662 do
2663   IFS=$as_save_IFS
2664   test -z "$as_dir" && as_dir=.
2665     for ac_exec_ext in '' $ac_executable_extensions; do
2666   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2667     ac_cv_prog_CC="${ac_tool_prefix}cc"
2668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669     break 2
2670   fi
2671 done
2672   done
2673 IFS=$as_save_IFS
2674
2675 fi
2676 fi
2677 CC=$ac_cv_prog_CC
2678 if test -n "$CC"; then
2679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2680 $as_echo "$CC" >&6; }
2681 else
2682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683 $as_echo "no" >&6; }
2684 fi
2685
2686
2687   fi
2688 fi
2689 if test -z "$CC"; then
2690   # Extract the first word of "cc", so it can be a program name with args.
2691 set dummy cc; ac_word=$2
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2693 $as_echo_n "checking for $ac_word... " >&6; }
2694 if ${ac_cv_prog_CC+:} false; then :
2695   $as_echo_n "(cached) " >&6
2696 else
2697   if test -n "$CC"; then
2698   ac_cv_prog_CC="$CC" # Let the user override the test.
2699 else
2700   ac_prog_rejected=no
2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2702 for as_dir in $PATH
2703 do
2704   IFS=$as_save_IFS
2705   test -z "$as_dir" && as_dir=.
2706     for ac_exec_ext in '' $ac_executable_extensions; do
2707   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2708     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2709        ac_prog_rejected=yes
2710        continue
2711      fi
2712     ac_cv_prog_CC="cc"
2713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714     break 2
2715   fi
2716 done
2717   done
2718 IFS=$as_save_IFS
2719
2720 if test $ac_prog_rejected = yes; then
2721   # We found a bogon in the path, so make sure we never use it.
2722   set dummy $ac_cv_prog_CC
2723   shift
2724   if test $# != 0; then
2725     # We chose a different compiler from the bogus one.
2726     # However, it has the same basename, so the bogon will be chosen
2727     # first if we set CC to just the basename; use the full file name.
2728     shift
2729     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2730   fi
2731 fi
2732 fi
2733 fi
2734 CC=$ac_cv_prog_CC
2735 if test -n "$CC"; then
2736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2737 $as_echo "$CC" >&6; }
2738 else
2739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740 $as_echo "no" >&6; }
2741 fi
2742
2743
2744 fi
2745 if test -z "$CC"; then
2746   if test -n "$ac_tool_prefix"; then
2747   for ac_prog in cl.exe
2748   do
2749     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2752 $as_echo_n "checking for $ac_word... " >&6; }
2753 if ${ac_cv_prog_CC+:} false; then :
2754   $as_echo_n "(cached) " >&6
2755 else
2756   if test -n "$CC"; then
2757   ac_cv_prog_CC="$CC" # Let the user override the test.
2758 else
2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760 for as_dir in $PATH
2761 do
2762   IFS=$as_save_IFS
2763   test -z "$as_dir" && as_dir=.
2764     for ac_exec_ext in '' $ac_executable_extensions; do
2765   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2766     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2768     break 2
2769   fi
2770 done
2771   done
2772 IFS=$as_save_IFS
2773
2774 fi
2775 fi
2776 CC=$ac_cv_prog_CC
2777 if test -n "$CC"; then
2778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2779 $as_echo "$CC" >&6; }
2780 else
2781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2783 fi
2784
2785
2786     test -n "$CC" && break
2787   done
2788 fi
2789 if test -z "$CC"; then
2790   ac_ct_CC=$CC
2791   for ac_prog in cl.exe
2792 do
2793   # Extract the first word of "$ac_prog", so it can be a program name with args.
2794 set dummy $ac_prog; ac_word=$2
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796 $as_echo_n "checking for $ac_word... " >&6; }
2797 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2798   $as_echo_n "(cached) " >&6
2799 else
2800   if test -n "$ac_ct_CC"; then
2801   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2802 else
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2804 for as_dir in $PATH
2805 do
2806   IFS=$as_save_IFS
2807   test -z "$as_dir" && as_dir=.
2808     for ac_exec_ext in '' $ac_executable_extensions; do
2809   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2810     ac_cv_prog_ac_ct_CC="$ac_prog"
2811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2812     break 2
2813   fi
2814 done
2815   done
2816 IFS=$as_save_IFS
2817
2818 fi
2819 fi
2820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2821 if test -n "$ac_ct_CC"; then
2822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2823 $as_echo "$ac_ct_CC" >&6; }
2824 else
2825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2827 fi
2828
2829
2830   test -n "$ac_ct_CC" && break
2831 done
2832
2833   if test "x$ac_ct_CC" = x; then
2834     CC=""
2835   else
2836     case $cross_compiling:$ac_tool_warned in
2837 yes:)
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2840 ac_tool_warned=yes ;;
2841 esac
2842     CC=$ac_ct_CC
2843   fi
2844 fi
2845
2846 fi
2847
2848
2849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2851 as_fn_error $? "no acceptable C compiler found in \$PATH
2852 See \`config.log' for more details" "$LINENO" 5; }
2853
2854 # Provide some information about the compiler.
2855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2856 set X $ac_compile
2857 ac_compiler=$2
2858 for ac_option in --version -v -V -qversion; do
2859   { { ac_try="$ac_compiler $ac_option >&5"
2860 case "(($ac_try" in
2861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862   *) ac_try_echo=$ac_try;;
2863 esac
2864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2865 $as_echo "$ac_try_echo"; } >&5
2866   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2867   ac_status=$?
2868   if test -s conftest.err; then
2869     sed '10a\
2870 ... rest of stderr output deleted ...
2871          10q' conftest.err >conftest.er1
2872     cat conftest.er1 >&5
2873   fi
2874   rm -f conftest.er1 conftest.err
2875   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2876   test $ac_status = 0; }
2877 done
2878
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h.  */
2881
2882 int
2883 main ()
2884 {
2885
2886   ;
2887   return 0;
2888 }
2889 _ACEOF
2890 ac_clean_files_save=$ac_clean_files
2891 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2892 # Try to create an executable without -o first, disregard a.out.
2893 # It will help us diagnose broken compilers, and finding out an intuition
2894 # of exeext.
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2896 $as_echo_n "checking whether the C compiler works... " >&6; }
2897 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2898
2899 # The possible output files:
2900 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2901
2902 ac_rmfiles=
2903 for ac_file in $ac_files
2904 do
2905   case $ac_file in
2906     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2907     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2908   esac
2909 done
2910 rm -f $ac_rmfiles
2911
2912 if { { ac_try="$ac_link_default"
2913 case "(($ac_try" in
2914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915   *) ac_try_echo=$ac_try;;
2916 esac
2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918 $as_echo "$ac_try_echo"; } >&5
2919   (eval "$ac_link_default") 2>&5
2920   ac_status=$?
2921   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2922   test $ac_status = 0; }; then :
2923   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2924 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2925 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2926 # so that the user can short-circuit this test for compilers unknown to
2927 # Autoconf.
2928 for ac_file in $ac_files ''
2929 do
2930   test -f "$ac_file" || continue
2931   case $ac_file in
2932     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2933         ;;
2934     [ab].out )
2935         # We found the default executable, but exeext='' is most
2936         # certainly right.
2937         break;;
2938     *.* )
2939         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2940         then :; else
2941            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2942         fi
2943         # We set ac_cv_exeext here because the later test for it is not
2944         # safe: cross compilers may not add the suffix if given an `-o'
2945         # argument, so we may need to know it at that point already.
2946         # Even if this section looks crufty: it has the advantage of
2947         # actually working.
2948         break;;
2949     * )
2950         break;;
2951   esac
2952 done
2953 test "$ac_cv_exeext" = no && ac_cv_exeext=
2954
2955 else
2956   ac_file=''
2957 fi
2958 if test -z "$ac_file"; then :
2959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2960 $as_echo "no" >&6; }
2961 $as_echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2963
2964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2966 as_fn_error 77 "C compiler cannot create executables
2967 See \`config.log' for more details" "$LINENO" 5; }
2968 else
2969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2970 $as_echo "yes" >&6; }
2971 fi
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2973 $as_echo_n "checking for C compiler default output file name... " >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2975 $as_echo "$ac_file" >&6; }
2976 ac_exeext=$ac_cv_exeext
2977
2978 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2979 ac_clean_files=$ac_clean_files_save
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2981 $as_echo_n "checking for suffix of executables... " >&6; }
2982 if { { ac_try="$ac_link"
2983 case "(($ac_try" in
2984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985   *) ac_try_echo=$ac_try;;
2986 esac
2987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2988 $as_echo "$ac_try_echo"; } >&5
2989   (eval "$ac_link") 2>&5
2990   ac_status=$?
2991   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2992   test $ac_status = 0; }; then :
2993   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2994 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2995 # work properly (i.e., refer to `conftest.exe'), while it won't with
2996 # `rm'.
2997 for ac_file in conftest.exe conftest conftest.*; do
2998   test -f "$ac_file" || continue
2999   case $ac_file in
3000     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3001     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3002           break;;
3003     * ) break;;
3004   esac
3005 done
3006 else
3007   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3009 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3010 See \`config.log' for more details" "$LINENO" 5; }
3011 fi
3012 rm -f conftest conftest$ac_cv_exeext
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3014 $as_echo "$ac_cv_exeext" >&6; }
3015
3016 rm -f conftest.$ac_ext
3017 EXEEXT=$ac_cv_exeext
3018 ac_exeext=$EXEEXT
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h.  */
3021 #include <stdio.h>
3022 int
3023 main ()
3024 {
3025 FILE *f = fopen ("conftest.out", "w");
3026  return ferror (f) || fclose (f) != 0;
3027
3028   ;
3029   return 0;
3030 }
3031 _ACEOF
3032 ac_clean_files="$ac_clean_files conftest.out"
3033 # Check that the compiler produces executables we can run.  If not, either
3034 # the compiler is broken, or we cross compile.
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3036 $as_echo_n "checking whether we are cross compiling... " >&6; }
3037 if test "$cross_compiling" != yes; then
3038   { { ac_try="$ac_link"
3039 case "(($ac_try" in
3040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041   *) ac_try_echo=$ac_try;;
3042 esac
3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3044 $as_echo "$ac_try_echo"; } >&5
3045   (eval "$ac_link") 2>&5
3046   ac_status=$?
3047   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3048   test $ac_status = 0; }
3049   if { ac_try='./conftest$ac_cv_exeext'
3050   { { case "(($ac_try" in
3051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3052   *) ac_try_echo=$ac_try;;
3053 esac
3054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3055 $as_echo "$ac_try_echo"; } >&5
3056   (eval "$ac_try") 2>&5
3057   ac_status=$?
3058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3059   test $ac_status = 0; }; }; then
3060     cross_compiling=no
3061   else
3062     if test "$cross_compiling" = maybe; then
3063         cross_compiling=yes
3064     else
3065         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3067 as_fn_error $? "cannot run C compiled programs.
3068 If you meant to cross compile, use \`--host'.
3069 See \`config.log' for more details" "$LINENO" 5; }
3070     fi
3071   fi
3072 fi
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3074 $as_echo "$cross_compiling" >&6; }
3075
3076 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3077 ac_clean_files=$ac_clean_files_save
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3079 $as_echo_n "checking for suffix of object files... " >&6; }
3080 if ${ac_cv_objext+:} false; then :
3081   $as_echo_n "(cached) " >&6
3082 else
3083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h.  */
3085
3086 int
3087 main ()
3088 {
3089
3090   ;
3091   return 0;
3092 }
3093 _ACEOF
3094 rm -f conftest.o conftest.obj
3095 if { { ac_try="$ac_compile"
3096 case "(($ac_try" in
3097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098   *) ac_try_echo=$ac_try;;
3099 esac
3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 $as_echo "$ac_try_echo"; } >&5
3102   (eval "$ac_compile") 2>&5
3103   ac_status=$?
3104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3105   test $ac_status = 0; }; then :
3106   for ac_file in conftest.o conftest.obj conftest.*; do
3107   test -f "$ac_file" || continue;
3108   case $ac_file in
3109     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3110     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3111        break;;
3112   esac
3113 done
3114 else
3115   $as_echo "$as_me: failed program was:" >&5
3116 sed 's/^/| /' conftest.$ac_ext >&5
3117
3118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3120 as_fn_error $? "cannot compute suffix of object files: cannot compile
3121 See \`config.log' for more details" "$LINENO" 5; }
3122 fi
3123 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3124 fi
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3126 $as_echo "$ac_cv_objext" >&6; }
3127 OBJEXT=$ac_cv_objext
3128 ac_objext=$OBJEXT
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3130 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3131 if ${ac_cv_c_compiler_gnu+:} false; then :
3132   $as_echo_n "(cached) " >&6
3133 else
3134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3135 /* end confdefs.h.  */
3136
3137 int
3138 main ()
3139 {
3140 #ifndef __GNUC__
3141        choke me
3142 #endif
3143
3144   ;
3145   return 0;
3146 }
3147 _ACEOF
3148 if ac_fn_c_try_compile "$LINENO"; then :
3149   ac_compiler_gnu=yes
3150 else
3151   ac_compiler_gnu=no
3152 fi
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3155
3156 fi
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3158 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3159 if test $ac_compiler_gnu = yes; then
3160   GCC=yes
3161 else
3162   GCC=
3163 fi
3164 ac_test_CFLAGS=${CFLAGS+set}
3165 ac_save_CFLAGS=$CFLAGS
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3167 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3168 if ${ac_cv_prog_cc_g+:} false; then :
3169   $as_echo_n "(cached) " >&6
3170 else
3171   ac_save_c_werror_flag=$ac_c_werror_flag
3172    ac_c_werror_flag=yes
3173    ac_cv_prog_cc_g=no
3174    CFLAGS="-g"
3175    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3176 /* end confdefs.h.  */
3177
3178 int
3179 main ()
3180 {
3181
3182   ;
3183   return 0;
3184 }
3185 _ACEOF
3186 if ac_fn_c_try_compile "$LINENO"; then :
3187   ac_cv_prog_cc_g=yes
3188 else
3189   CFLAGS=""
3190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3191 /* end confdefs.h.  */
3192
3193 int
3194 main ()
3195 {
3196
3197   ;
3198   return 0;
3199 }
3200 _ACEOF
3201 if ac_fn_c_try_compile "$LINENO"; then :
3202
3203 else
3204   ac_c_werror_flag=$ac_save_c_werror_flag
3205          CFLAGS="-g"
3206          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h.  */
3208
3209 int
3210 main ()
3211 {
3212
3213   ;
3214   return 0;
3215 }
3216 _ACEOF
3217 if ac_fn_c_try_compile "$LINENO"; then :
3218   ac_cv_prog_cc_g=yes
3219 fi
3220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3221 fi
3222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 fi
3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225    ac_c_werror_flag=$ac_save_c_werror_flag
3226 fi
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3228 $as_echo "$ac_cv_prog_cc_g" >&6; }
3229 if test "$ac_test_CFLAGS" = set; then
3230   CFLAGS=$ac_save_CFLAGS
3231 elif test $ac_cv_prog_cc_g = yes; then
3232   if test "$GCC" = yes; then
3233     CFLAGS="-g -O2"
3234   else
3235     CFLAGS="-g"
3236   fi
3237 else
3238   if test "$GCC" = yes; then
3239     CFLAGS="-O2"
3240   else
3241     CFLAGS=
3242   fi
3243 fi
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3245 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3246 if ${ac_cv_prog_cc_c89+:} false; then :
3247   $as_echo_n "(cached) " >&6
3248 else
3249   ac_cv_prog_cc_c89=no
3250 ac_save_CC=$CC
3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h.  */
3253 #include <stdarg.h>
3254 #include <stdio.h>
3255 struct stat;
3256 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3257 struct buf { int x; };
3258 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3259 static char *e (p, i)
3260      char **p;
3261      int i;
3262 {
3263   return p[i];
3264 }
3265 static char *f (char * (*g) (char **, int), char **p, ...)
3266 {
3267   char *s;
3268   va_list v;
3269   va_start (v,p);
3270   s = g (p, va_arg (v,int));
3271   va_end (v);
3272   return s;
3273 }
3274
3275 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3276    function prototypes and stuff, but not '\xHH' hex character constants.
3277    These don't provoke an error unfortunately, instead are silently treated
3278    as 'x'.  The following induces an error, until -std is added to get
3279    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3280    array size at least.  It's necessary to write '\x00'==0 to get something
3281    that's true only with -std.  */
3282 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3283
3284 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3285    inside strings and character constants.  */
3286 #define FOO(x) 'x'
3287 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3288
3289 int test (int i, double x);
3290 struct s1 {int (*f) (int a);};
3291 struct s2 {int (*f) (double a);};
3292 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3293 int argc;
3294 char **argv;
3295 int
3296 main ()
3297 {
3298 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3299   ;
3300   return 0;
3301 }
3302 _ACEOF
3303 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3304         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3305 do
3306   CC="$ac_save_CC $ac_arg"
3307   if ac_fn_c_try_compile "$LINENO"; then :
3308   ac_cv_prog_cc_c89=$ac_arg
3309 fi
3310 rm -f core conftest.err conftest.$ac_objext
3311   test "x$ac_cv_prog_cc_c89" != "xno" && break
3312 done
3313 rm -f conftest.$ac_ext
3314 CC=$ac_save_CC
3315
3316 fi
3317 # AC_CACHE_VAL
3318 case "x$ac_cv_prog_cc_c89" in
3319   x)
3320     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3321 $as_echo "none needed" >&6; } ;;
3322   xno)
3323     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3324 $as_echo "unsupported" >&6; } ;;
3325   *)
3326     CC="$CC $ac_cv_prog_cc_c89"
3327     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3328 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3329 esac
3330 if test "x$ac_cv_prog_cc_c89" != xno; then :
3331
3332 fi
3333
3334 ac_ext=c
3335 ac_cpp='$CPP $CPPFLAGS'
3336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3339
3340 ac_ext=c
3341 ac_cpp='$CPP $CPPFLAGS'
3342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3346 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3347 if ${am_cv_prog_cc_c_o+:} false; then :
3348   $as_echo_n "(cached) " >&6
3349 else
3350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h.  */
3352
3353 int
3354 main ()
3355 {
3356
3357   ;
3358   return 0;
3359 }
3360 _ACEOF
3361   # Make sure it works both with $CC and with simple cc.
3362   # Following AC_PROG_CC_C_O, we do the test twice because some
3363   # compilers refuse to overwrite an existing .o file with -o,
3364   # though they will create one.
3365   am_cv_prog_cc_c_o=yes
3366   for am_i in 1 2; do
3367     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3368    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3369    ac_status=$?
3370    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371    (exit $ac_status); } \
3372          && test -f conftest2.$ac_objext; then
3373       : OK
3374     else
3375       am_cv_prog_cc_c_o=no
3376       break
3377     fi
3378   done
3379   rm -f core conftest*
3380   unset am_i
3381 fi
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3383 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3384 if test "$am_cv_prog_cc_c_o" != yes; then
3385    # Losing compiler, so override with the script.
3386    # FIXME: It is wrong to rewrite CC.
3387    # But if we don't then we get into trouble of one sort or another.
3388    # A longer-term fix would be to have automake use am__CC in this case,
3389    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3390    CC="$am_aux_dir/compile $CC"
3391 fi
3392 ac_ext=c
3393 ac_cpp='$CPP $CPPFLAGS'
3394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3397
3398
3399
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3401 $as_echo_n "checking for library containing strerror... " >&6; }
3402 if ${ac_cv_search_strerror+:} false; then :
3403   $as_echo_n "(cached) " >&6
3404 else
3405   ac_func_search_save_LIBS=$LIBS
3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407 /* end confdefs.h.  */
3408
3409 /* Override any GCC internal prototype to avoid an error.
3410    Use char because int might match the return type of a GCC
3411    builtin and then its argument prototype would still apply.  */
3412 #ifdef __cplusplus
3413 extern "C"
3414 #endif
3415 char strerror ();
3416 int
3417 main ()
3418 {
3419 return strerror ();
3420   ;
3421   return 0;
3422 }
3423 _ACEOF
3424 for ac_lib in '' cposix; do
3425   if test -z "$ac_lib"; then
3426     ac_res="none required"
3427   else
3428     ac_res=-l$ac_lib
3429     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3430   fi
3431   if ac_fn_c_try_link "$LINENO"; then :
3432   ac_cv_search_strerror=$ac_res
3433 fi
3434 rm -f core conftest.err conftest.$ac_objext \
3435     conftest$ac_exeext
3436   if ${ac_cv_search_strerror+:} false; then :
3437   break
3438 fi
3439 done
3440 if ${ac_cv_search_strerror+:} false; then :
3441
3442 else
3443   ac_cv_search_strerror=no
3444 fi
3445 rm conftest.$ac_ext
3446 LIBS=$ac_func_search_save_LIBS
3447 fi
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3449 $as_echo "$ac_cv_search_strerror" >&6; }
3450 ac_res=$ac_cv_search_strerror
3451 if test "$ac_res" != no; then :
3452   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3453
3454 fi
3455
3456
3457 am__api_version='1.15'
3458
3459 # Find a good install program.  We prefer a C program (faster),
3460 # so one script is as good as another.  But avoid the broken or
3461 # incompatible versions:
3462 # SysV /etc/install, /usr/sbin/install
3463 # SunOS /usr/etc/install
3464 # IRIX /sbin/install
3465 # AIX /bin/install
3466 # AmigaOS /C/install, which installs bootblocks on floppy discs
3467 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3468 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3469 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3470 # OS/2's system install, which has a completely different semantic
3471 # ./install, which can be erroneously created by make from ./install.sh.
3472 # Reject install programs that cannot install multiple files.
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3474 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3475 if test -z "$INSTALL"; then
3476 if ${ac_cv_path_install+:} false; then :
3477   $as_echo_n "(cached) " >&6
3478 else
3479   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3480 for as_dir in $PATH
3481 do
3482   IFS=$as_save_IFS
3483   test -z "$as_dir" && as_dir=.
3484     # Account for people who put trailing slashes in PATH elements.
3485 case $as_dir/ in #((
3486   ./ | .// | /[cC]/* | \
3487   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3488   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3489   /usr/ucb/* ) ;;
3490   *)
3491     # OSF1 and SCO ODT 3.0 have their own names for install.
3492     # Don't use installbsd from OSF since it installs stuff as root
3493     # by default.
3494     for ac_prog in ginstall scoinst install; do
3495       for ac_exec_ext in '' $ac_executable_extensions; do
3496         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3497           if test $ac_prog = install &&
3498             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3499             # AIX install.  It has an incompatible calling convention.
3500             :
3501           elif test $ac_prog = install &&
3502             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3503             # program-specific install script used by HP pwplus--don't use.
3504             :
3505           else
3506             rm -rf conftest.one conftest.two conftest.dir
3507             echo one > conftest.one
3508             echo two > conftest.two
3509             mkdir conftest.dir
3510             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3511               test -s conftest.one && test -s conftest.two &&
3512               test -s conftest.dir/conftest.one &&
3513               test -s conftest.dir/conftest.two
3514             then
3515               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3516               break 3
3517             fi
3518           fi
3519         fi
3520       done
3521     done
3522     ;;
3523 esac
3524
3525   done
3526 IFS=$as_save_IFS
3527
3528 rm -rf conftest.one conftest.two conftest.dir
3529
3530 fi
3531   if test "${ac_cv_path_install+set}" = set; then
3532     INSTALL=$ac_cv_path_install
3533   else
3534     # As a last resort, use the slow shell script.  Don't cache a
3535     # value for INSTALL within a source directory, because that will
3536     # break other packages using the cache if that directory is
3537     # removed, or if the value is a relative name.
3538     INSTALL=$ac_install_sh
3539   fi
3540 fi
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3542 $as_echo "$INSTALL" >&6; }
3543
3544 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3545 # It thinks the first close brace ends the variable substitution.
3546 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3547
3548 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3549
3550 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3551
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3553 $as_echo_n "checking whether build environment is sane... " >&6; }
3554 # Reject unsafe characters in $srcdir or the absolute working directory
3555 # name.  Accept space and tab only in the latter.
3556 am_lf='
3557 '
3558 case `pwd` in
3559   *[\\\"\#\$\&\'\`$am_lf]*)
3560     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3561 esac
3562 case $srcdir in
3563   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3564     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3565 esac
3566
3567 # Do 'set' in a subshell so we don't clobber the current shell's
3568 # arguments.  Must try -L first in case configure is actually a
3569 # symlink; some systems play weird games with the mod time of symlinks
3570 # (eg FreeBSD returns the mod time of the symlink's containing
3571 # directory).
3572 if (
3573    am_has_slept=no
3574    for am_try in 1 2; do
3575      echo "timestamp, slept: $am_has_slept" > conftest.file
3576      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3577      if test "$*" = "X"; then
3578         # -L didn't work.
3579         set X `ls -t "$srcdir/configure" conftest.file`
3580      fi
3581      if test "$*" != "X $srcdir/configure conftest.file" \
3582         && test "$*" != "X conftest.file $srcdir/configure"; then
3583
3584         # If neither matched, then we have a broken ls.  This can happen
3585         # if, for instance, CONFIG_SHELL is bash and it inherits a
3586         # broken ls alias from the environment.  This has actually
3587         # happened.  Such a system could not be considered "sane".
3588         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3589   alias in your environment" "$LINENO" 5
3590      fi
3591      if test "$2" = conftest.file || test $am_try -eq 2; then
3592        break
3593      fi
3594      # Just in case.
3595      sleep 1
3596      am_has_slept=yes
3597    done
3598    test "$2" = conftest.file
3599    )
3600 then
3601    # Ok.
3602    :
3603 else
3604    as_fn_error $? "newly created file is older than distributed files!
3605 Check your system clock" "$LINENO" 5
3606 fi
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3608 $as_echo "yes" >&6; }
3609 # If we didn't sleep, we still need to ensure time stamps of config.status and
3610 # generated files are strictly newer.
3611 am_sleep_pid=
3612 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3613   ( sleep 1 ) &
3614   am_sleep_pid=$!
3615 fi
3616
3617 rm -f conftest.file
3618
3619 test "$program_prefix" != NONE &&
3620   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3621 # Use a double $ so make ignores it.
3622 test "$program_suffix" != NONE &&
3623   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3624 # Double any \ or $.
3625 # By default was `s,x,x', remove it if useless.
3626 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3627 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3628
3629 if test x"${MISSING+set}" != xset; then
3630   case $am_aux_dir in
3631   *\ * | *\     *)
3632     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3633   *)
3634     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3635   esac
3636 fi
3637 # Use eval to expand $SHELL
3638 if eval "$MISSING --is-lightweight"; then
3639   am_missing_run="$MISSING "
3640 else
3641   am_missing_run=
3642   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3643 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3644 fi
3645
3646 if test x"${install_sh+set}" != xset; then
3647   case $am_aux_dir in
3648   *\ * | *\     *)
3649     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3650   *)
3651     install_sh="\${SHELL} $am_aux_dir/install-sh"
3652   esac
3653 fi
3654
3655 # Installed binaries are usually stripped using 'strip' when the user
3656 # run "make install-strip".  However 'strip' might not be the right
3657 # tool to use in cross-compilation environments, therefore Automake
3658 # will honor the 'STRIP' environment variable to overrule this program.
3659 if test "$cross_compiling" != no; then
3660   if test -n "$ac_tool_prefix"; then
3661   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3662 set dummy ${ac_tool_prefix}strip; ac_word=$2
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3664 $as_echo_n "checking for $ac_word... " >&6; }
3665 if ${ac_cv_prog_STRIP+:} false; then :
3666   $as_echo_n "(cached) " >&6
3667 else
3668   if test -n "$STRIP"; then
3669   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3670 else
3671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672 for as_dir in $PATH
3673 do
3674   IFS=$as_save_IFS
3675   test -z "$as_dir" && as_dir=.
3676     for ac_exec_ext in '' $ac_executable_extensions; do
3677   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3678     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680     break 2
3681   fi
3682 done
3683   done
3684 IFS=$as_save_IFS
3685
3686 fi
3687 fi
3688 STRIP=$ac_cv_prog_STRIP
3689 if test -n "$STRIP"; then
3690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3691 $as_echo "$STRIP" >&6; }
3692 else
3693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694 $as_echo "no" >&6; }
3695 fi
3696
3697
3698 fi
3699 if test -z "$ac_cv_prog_STRIP"; then
3700   ac_ct_STRIP=$STRIP
3701   # Extract the first word of "strip", so it can be a program name with args.
3702 set dummy strip; ac_word=$2
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3704 $as_echo_n "checking for $ac_word... " >&6; }
3705 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3706   $as_echo_n "(cached) " >&6
3707 else
3708   if test -n "$ac_ct_STRIP"; then
3709   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3710 else
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 for as_dir in $PATH
3713 do
3714   IFS=$as_save_IFS
3715   test -z "$as_dir" && as_dir=.
3716     for ac_exec_ext in '' $ac_executable_extensions; do
3717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3718     ac_cv_prog_ac_ct_STRIP="strip"
3719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3720     break 2
3721   fi
3722 done
3723   done
3724 IFS=$as_save_IFS
3725
3726 fi
3727 fi
3728 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3729 if test -n "$ac_ct_STRIP"; then
3730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3731 $as_echo "$ac_ct_STRIP" >&6; }
3732 else
3733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3735 fi
3736
3737   if test "x$ac_ct_STRIP" = x; then
3738     STRIP=":"
3739   else
3740     case $cross_compiling:$ac_tool_warned in
3741 yes:)
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3744 ac_tool_warned=yes ;;
3745 esac
3746     STRIP=$ac_ct_STRIP
3747   fi
3748 else
3749   STRIP="$ac_cv_prog_STRIP"
3750 fi
3751
3752 fi
3753 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3754
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3756 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3757 if test -z "$MKDIR_P"; then
3758   if ${ac_cv_path_mkdir+:} false; then :
3759   $as_echo_n "(cached) " >&6
3760 else
3761   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3763 do
3764   IFS=$as_save_IFS
3765   test -z "$as_dir" && as_dir=.
3766     for ac_prog in mkdir gmkdir; do
3767          for ac_exec_ext in '' $ac_executable_extensions; do
3768            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3769            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3770              'mkdir (GNU coreutils) '* | \
3771              'mkdir (coreutils) '* | \
3772              'mkdir (fileutils) '4.1*)
3773                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3774                break 3;;
3775            esac
3776          done
3777        done
3778   done
3779 IFS=$as_save_IFS
3780
3781 fi
3782
3783   test -d ./--version && rmdir ./--version
3784   if test "${ac_cv_path_mkdir+set}" = set; then
3785     MKDIR_P="$ac_cv_path_mkdir -p"
3786   else
3787     # As a last resort, use the slow shell script.  Don't cache a
3788     # value for MKDIR_P within a source directory, because that will
3789     # break other packages using the cache if that directory is
3790     # removed, or if the value is a relative name.
3791     MKDIR_P="$ac_install_sh -d"
3792   fi
3793 fi
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3795 $as_echo "$MKDIR_P" >&6; }
3796
3797 for ac_prog in gawk mawk nawk awk
3798 do
3799   # Extract the first word of "$ac_prog", so it can be a program name with args.
3800 set dummy $ac_prog; ac_word=$2
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3802 $as_echo_n "checking for $ac_word... " >&6; }
3803 if ${ac_cv_prog_AWK+:} false; then :
3804   $as_echo_n "(cached) " >&6
3805 else
3806   if test -n "$AWK"; then
3807   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3808 else
3809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3810 for as_dir in $PATH
3811 do
3812   IFS=$as_save_IFS
3813   test -z "$as_dir" && as_dir=.
3814     for ac_exec_ext in '' $ac_executable_extensions; do
3815   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3816     ac_cv_prog_AWK="$ac_prog"
3817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3818     break 2
3819   fi
3820 done
3821   done
3822 IFS=$as_save_IFS
3823
3824 fi
3825 fi
3826 AWK=$ac_cv_prog_AWK
3827 if test -n "$AWK"; then
3828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3829 $as_echo "$AWK" >&6; }
3830 else
3831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832 $as_echo "no" >&6; }
3833 fi
3834
3835
3836   test -n "$AWK" && break
3837 done
3838
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3840 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3841 set x ${MAKE-make}
3842 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3843 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3844   $as_echo_n "(cached) " >&6
3845 else
3846   cat >conftest.make <<\_ACEOF
3847 SHELL = /bin/sh
3848 all:
3849         @echo '@@@%%%=$(MAKE)=@@@%%%'
3850 _ACEOF
3851 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3852 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3853   *@@@%%%=?*=@@@%%%*)
3854     eval ac_cv_prog_make_${ac_make}_set=yes;;
3855   *)
3856     eval ac_cv_prog_make_${ac_make}_set=no;;
3857 esac
3858 rm -f conftest.make
3859 fi
3860 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3862 $as_echo "yes" >&6; }
3863   SET_MAKE=
3864 else
3865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3867   SET_MAKE="MAKE=${MAKE-make}"
3868 fi
3869
3870 rm -rf .tst 2>/dev/null
3871 mkdir .tst 2>/dev/null
3872 if test -d .tst; then
3873   am__leading_dot=.
3874 else
3875   am__leading_dot=_
3876 fi
3877 rmdir .tst 2>/dev/null
3878
3879 DEPDIR="${am__leading_dot}deps"
3880
3881 ac_config_commands="$ac_config_commands depfiles"
3882
3883
3884 am_make=${MAKE-make}
3885 cat > confinc << 'END'
3886 am__doit:
3887         @echo this is the am__doit target
3888 .PHONY: am__doit
3889 END
3890 # If we don't find an include directive, just comment out the code.
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3892 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3893 am__include="#"
3894 am__quote=
3895 _am_result=none
3896 # First try GNU make style include.
3897 echo "include confinc" > confmf
3898 # Ignore all kinds of additional output from 'make'.
3899 case `$am_make -s -f confmf 2> /dev/null` in #(
3900 *the\ am__doit\ target*)
3901   am__include=include
3902   am__quote=
3903   _am_result=GNU
3904   ;;
3905 esac
3906 # Now try BSD make style include.
3907 if test "$am__include" = "#"; then
3908    echo '.include "confinc"' > confmf
3909    case `$am_make -s -f confmf 2> /dev/null` in #(
3910    *the\ am__doit\ target*)
3911      am__include=.include
3912      am__quote="\""
3913      _am_result=BSD
3914      ;;
3915    esac
3916 fi
3917
3918
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3920 $as_echo "$_am_result" >&6; }
3921 rm -f confinc confmf
3922
3923 # Check whether --enable-dependency-tracking was given.
3924 if test "${enable_dependency_tracking+set}" = set; then :
3925   enableval=$enable_dependency_tracking;
3926 fi
3927
3928 if test "x$enable_dependency_tracking" != xno; then
3929   am_depcomp="$ac_aux_dir/depcomp"
3930   AMDEPBACKSLASH='\'
3931   am__nodep='_no'
3932 fi
3933  if test "x$enable_dependency_tracking" != xno; then
3934   AMDEP_TRUE=
3935   AMDEP_FALSE='#'
3936 else
3937   AMDEP_TRUE='#'
3938   AMDEP_FALSE=
3939 fi
3940
3941
3942 # Check whether --enable-silent-rules was given.
3943 if test "${enable_silent_rules+set}" = set; then :
3944   enableval=$enable_silent_rules;
3945 fi
3946
3947 case $enable_silent_rules in # (((
3948   yes) AM_DEFAULT_VERBOSITY=0;;
3949    no) AM_DEFAULT_VERBOSITY=1;;
3950     *) AM_DEFAULT_VERBOSITY=1;;
3951 esac
3952 am_make=${MAKE-make}
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3954 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3955 if ${am_cv_make_support_nested_variables+:} false; then :
3956   $as_echo_n "(cached) " >&6
3957 else
3958   if $as_echo 'TRUE=$(BAR$(V))
3959 BAR0=false
3960 BAR1=true
3961 V=1
3962 am__doit:
3963         @$(TRUE)
3964 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3965   am_cv_make_support_nested_variables=yes
3966 else
3967   am_cv_make_support_nested_variables=no
3968 fi
3969 fi
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3971 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3972 if test $am_cv_make_support_nested_variables = yes; then
3973     AM_V='$(V)'
3974   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3975 else
3976   AM_V=$AM_DEFAULT_VERBOSITY
3977   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3978 fi
3979 AM_BACKSLASH='\'
3980
3981 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3982   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3983   # is not polluted with repeated "-I."
3984   am__isrc=' -I$(srcdir)'
3985   # test to see if srcdir already configured
3986   if test -f $srcdir/config.status; then
3987     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3988   fi
3989 fi
3990
3991 # test whether we have cygpath
3992 if test -z "$CYGPATH_W"; then
3993   if (cygpath --version) >/dev/null 2>/dev/null; then
3994     CYGPATH_W='cygpath -w'
3995   else
3996     CYGPATH_W=echo
3997   fi
3998 fi
3999
4000
4001 # Define the identity of the package.
4002  PACKAGE='gas'
4003  VERSION='2.32.51'
4004
4005
4006 cat >>confdefs.h <<_ACEOF
4007 #define PACKAGE "$PACKAGE"
4008 _ACEOF
4009
4010
4011 cat >>confdefs.h <<_ACEOF
4012 #define VERSION "$VERSION"
4013 _ACEOF
4014
4015 # Some tools Automake needs.
4016
4017 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4018
4019
4020 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4021
4022
4023 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4024
4025
4026 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4027
4028
4029 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4030
4031 # For better backward compatibility.  To be removed once Automake 1.9.x
4032 # dies out for good.  For more background, see:
4033 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4034 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4035 mkdir_p='$(MKDIR_P)'
4036
4037 # We need awk for the "check" target (and possibly the TAP driver).  The
4038 # system "awk" is bad on some platforms.
4039 # Always define AMTAR for backward compatibility.  Yes, it's still used
4040 # in the wild :-(  We should find a proper way to deprecate it ...
4041 AMTAR='$${TAR-tar}'
4042
4043
4044 # We'll loop over all known methods to create a tar archive until one works.
4045 _am_tools='gnutar  pax cpio none'
4046
4047 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4048
4049
4050
4051
4052
4053 depcc="$CC"   am_compiler_list=
4054
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4056 $as_echo_n "checking dependency style of $depcc... " >&6; }
4057 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4058   $as_echo_n "(cached) " >&6
4059 else
4060   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4061   # We make a subdir and do the tests there.  Otherwise we can end up
4062   # making bogus files that we don't know about and never remove.  For
4063   # instance it was reported that on HP-UX the gcc test will end up
4064   # making a dummy file named 'D' -- because '-MD' means "put the output
4065   # in D".
4066   rm -rf conftest.dir
4067   mkdir conftest.dir
4068   # Copy depcomp to subdir because otherwise we won't find it if we're
4069   # using a relative directory.
4070   cp "$am_depcomp" conftest.dir
4071   cd conftest.dir
4072   # We will build objects and dependencies in a subdirectory because
4073   # it helps to detect inapplicable dependency modes.  For instance
4074   # both Tru64's cc and ICC support -MD to output dependencies as a
4075   # side effect of compilation, but ICC will put the dependencies in
4076   # the current directory while Tru64 will put them in the object
4077   # directory.
4078   mkdir sub
4079
4080   am_cv_CC_dependencies_compiler_type=none
4081   if test "$am_compiler_list" = ""; then
4082      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4083   fi
4084   am__universal=false
4085   case " $depcc " in #(
4086      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4087      esac
4088
4089   for depmode in $am_compiler_list; do
4090     # Setup a source with many dependencies, because some compilers
4091     # like to wrap large dependency lists on column 80 (with \), and
4092     # we should not choose a depcomp mode which is confused by this.
4093     #
4094     # We need to recreate these files for each test, as the compiler may
4095     # overwrite some of them when testing with obscure command lines.
4096     # This happens at least with the AIX C compiler.
4097     : > sub/conftest.c
4098     for i in 1 2 3 4 5 6; do
4099       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4100       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4101       # Solaris 10 /bin/sh.
4102       echo '/* dummy */' > sub/conftst$i.h
4103     done
4104     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4105
4106     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4107     # mode.  It turns out that the SunPro C++ compiler does not properly
4108     # handle '-M -o', and we need to detect this.  Also, some Intel
4109     # versions had trouble with output in subdirs.
4110     am__obj=sub/conftest.${OBJEXT-o}
4111     am__minus_obj="-o $am__obj"
4112     case $depmode in
4113     gcc)
4114       # This depmode causes a compiler race in universal mode.
4115       test "$am__universal" = false || continue
4116       ;;
4117     nosideeffect)
4118       # After this tag, mechanisms are not by side-effect, so they'll
4119       # only be used when explicitly requested.
4120       if test "x$enable_dependency_tracking" = xyes; then
4121         continue
4122       else
4123         break
4124       fi
4125       ;;
4126     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4127       # This compiler won't grok '-c -o', but also, the minuso test has
4128       # not run yet.  These depmodes are late enough in the game, and
4129       # so weak that their functioning should not be impacted.
4130       am__obj=conftest.${OBJEXT-o}
4131       am__minus_obj=
4132       ;;
4133     none) break ;;
4134     esac
4135     if depmode=$depmode \
4136        source=sub/conftest.c object=$am__obj \
4137        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4138        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4139          >/dev/null 2>conftest.err &&
4140        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4141        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4142        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4143        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4144       # icc doesn't choke on unknown options, it will just issue warnings
4145       # or remarks (even with -Werror).  So we grep stderr for any message
4146       # that says an option was ignored or not supported.
4147       # When given -MP, icc 7.0 and 7.1 complain thusly:
4148       #   icc: Command line warning: ignoring option '-M'; no argument required
4149       # The diagnosis changed in icc 8.0:
4150       #   icc: Command line remark: option '-MP' not supported
4151       if (grep 'ignoring option' conftest.err ||
4152           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4153         am_cv_CC_dependencies_compiler_type=$depmode
4154         break
4155       fi
4156     fi
4157   done
4158
4159   cd ..
4160   rm -rf conftest.dir
4161 else
4162   am_cv_CC_dependencies_compiler_type=none
4163 fi
4164
4165 fi
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4167 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4168 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4169
4170  if
4171   test "x$enable_dependency_tracking" != xno \
4172   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4173   am__fastdepCC_TRUE=
4174   am__fastdepCC_FALSE='#'
4175 else
4176   am__fastdepCC_TRUE='#'
4177   am__fastdepCC_FALSE=
4178 fi
4179
4180
4181
4182 # POSIX will say in a future version that running "rm -f" with no argument
4183 # is OK; and we want to be able to make that assumption in our Makefile
4184 # recipes.  So use an aggressive probe to check that the usage we want is
4185 # actually supported "in the wild" to an acceptable degree.
4186 # See automake bug#10828.
4187 # To make any issue more visible, cause the running configure to be aborted
4188 # by default if the 'rm' program in use doesn't match our expectations; the
4189 # user can still override this though.
4190 if rm -f && rm -fr && rm -rf; then : OK; else
4191   cat >&2 <<'END'
4192 Oops!
4193
4194 Your 'rm' program seems unable to run without file operands specified
4195 on the command line, even when the '-f' option is present.  This is contrary
4196 to the behaviour of most rm programs out there, and not conforming with
4197 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4198
4199 Please tell bug-automake@gnu.org about your system, including the value
4200 of your $PATH and any error possibly output before this message.  This
4201 can help us improve future automake versions.
4202
4203 END
4204   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4205     echo 'Configuration will proceed anyway, since you have set the' >&2
4206     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4207     echo >&2
4208   else
4209     cat >&2 <<'END'
4210 Aborting the configuration process, to ensure you take notice of the issue.
4211
4212 You can download and install GNU coreutils to get an 'rm' implementation
4213 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4214
4215 If you want to complete the configuration process using your problematic
4216 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4217 to "yes", and re-run configure.
4218
4219 END
4220     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4221   fi
4222 fi
4223
4224
4225 ac_ext=c
4226 ac_cpp='$CPP $CPPFLAGS'
4227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4230 if test -n "$ac_tool_prefix"; then
4231   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4232 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4234 $as_echo_n "checking for $ac_word... " >&6; }
4235 if ${ac_cv_prog_CC+:} false; then :
4236   $as_echo_n "(cached) " >&6
4237 else
4238   if test -n "$CC"; then
4239   ac_cv_prog_CC="$CC" # Let the user override the test.
4240 else
4241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242 for as_dir in $PATH
4243 do
4244   IFS=$as_save_IFS
4245   test -z "$as_dir" && as_dir=.
4246     for ac_exec_ext in '' $ac_executable_extensions; do
4247   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4248     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250     break 2
4251   fi
4252 done
4253   done
4254 IFS=$as_save_IFS
4255
4256 fi
4257 fi
4258 CC=$ac_cv_prog_CC
4259 if test -n "$CC"; then
4260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4261 $as_echo "$CC" >&6; }
4262 else
4263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4264 $as_echo "no" >&6; }
4265 fi
4266
4267
4268 fi
4269 if test -z "$ac_cv_prog_CC"; then
4270   ac_ct_CC=$CC
4271   # Extract the first word of "gcc", so it can be a program name with args.
4272 set dummy gcc; ac_word=$2
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274 $as_echo_n "checking for $ac_word... " >&6; }
4275 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4276   $as_echo_n "(cached) " >&6
4277 else
4278   if test -n "$ac_ct_CC"; then
4279   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4280 else
4281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282 for as_dir in $PATH
4283 do
4284   IFS=$as_save_IFS
4285   test -z "$as_dir" && as_dir=.
4286     for ac_exec_ext in '' $ac_executable_extensions; do
4287   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4288     ac_cv_prog_ac_ct_CC="gcc"
4289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290     break 2
4291   fi
4292 done
4293   done
4294 IFS=$as_save_IFS
4295
4296 fi
4297 fi
4298 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4299 if test -n "$ac_ct_CC"; then
4300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4301 $as_echo "$ac_ct_CC" >&6; }
4302 else
4303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4305 fi
4306
4307   if test "x$ac_ct_CC" = x; then
4308     CC=""
4309   else
4310     case $cross_compiling:$ac_tool_warned in
4311 yes:)
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4314 ac_tool_warned=yes ;;
4315 esac
4316     CC=$ac_ct_CC
4317   fi
4318 else
4319   CC="$ac_cv_prog_CC"
4320 fi
4321
4322 if test -z "$CC"; then
4323           if test -n "$ac_tool_prefix"; then
4324     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4325 set dummy ${ac_tool_prefix}cc; ac_word=$2
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4327 $as_echo_n "checking for $ac_word... " >&6; }
4328 if ${ac_cv_prog_CC+:} false; then :
4329   $as_echo_n "(cached) " >&6
4330 else
4331   if test -n "$CC"; then
4332   ac_cv_prog_CC="$CC" # Let the user override the test.
4333 else
4334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4335 for as_dir in $PATH
4336 do
4337   IFS=$as_save_IFS
4338   test -z "$as_dir" && as_dir=.
4339     for ac_exec_ext in '' $ac_executable_extensions; do
4340   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4341     ac_cv_prog_CC="${ac_tool_prefix}cc"
4342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4343     break 2
4344   fi
4345 done
4346   done
4347 IFS=$as_save_IFS
4348
4349 fi
4350 fi
4351 CC=$ac_cv_prog_CC
4352 if test -n "$CC"; then
4353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4354 $as_echo "$CC" >&6; }
4355 else
4356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4357 $as_echo "no" >&6; }
4358 fi
4359
4360
4361   fi
4362 fi
4363 if test -z "$CC"; then
4364   # Extract the first word of "cc", so it can be a program name with args.
4365 set dummy cc; ac_word=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if ${ac_cv_prog_CC+:} false; then :
4369   $as_echo_n "(cached) " >&6
4370 else
4371   if test -n "$CC"; then
4372   ac_cv_prog_CC="$CC" # Let the user override the test.
4373 else
4374   ac_prog_rejected=no
4375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4376 for as_dir in $PATH
4377 do
4378   IFS=$as_save_IFS
4379   test -z "$as_dir" && as_dir=.
4380     for ac_exec_ext in '' $ac_executable_extensions; do
4381   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4382     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4383        ac_prog_rejected=yes
4384        continue
4385      fi
4386     ac_cv_prog_CC="cc"
4387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388     break 2
4389   fi
4390 done
4391   done
4392 IFS=$as_save_IFS
4393
4394 if test $ac_prog_rejected = yes; then
4395   # We found a bogon in the path, so make sure we never use it.
4396   set dummy $ac_cv_prog_CC
4397   shift
4398   if test $# != 0; then
4399     # We chose a different compiler from the bogus one.
4400     # However, it has the same basename, so the bogon will be chosen
4401     # first if we set CC to just the basename; use the full file name.
4402     shift
4403     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4404   fi
4405 fi
4406 fi
4407 fi
4408 CC=$ac_cv_prog_CC
4409 if test -n "$CC"; then
4410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4411 $as_echo "$CC" >&6; }
4412 else
4413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414 $as_echo "no" >&6; }
4415 fi
4416
4417
4418 fi
4419 if test -z "$CC"; then
4420   if test -n "$ac_tool_prefix"; then
4421   for ac_prog in cl.exe
4422   do
4423     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4424 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_CC+:} false; then :
4428   $as_echo_n "(cached) " >&6
4429 else
4430   if test -n "$CC"; then
4431   ac_cv_prog_CC="$CC" # Let the user override the test.
4432 else
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434 for as_dir in $PATH
4435 do
4436   IFS=$as_save_IFS
4437   test -z "$as_dir" && as_dir=.
4438     for ac_exec_ext in '' $ac_executable_extensions; do
4439   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4440     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442     break 2
4443   fi
4444 done
4445   done
4446 IFS=$as_save_IFS
4447
4448 fi
4449 fi
4450 CC=$ac_cv_prog_CC
4451 if test -n "$CC"; then
4452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4453 $as_echo "$CC" >&6; }
4454 else
4455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4457 fi
4458
4459
4460     test -n "$CC" && break
4461   done
4462 fi
4463 if test -z "$CC"; then
4464   ac_ct_CC=$CC
4465   for ac_prog in cl.exe
4466 do
4467   # Extract the first word of "$ac_prog", so it can be a program name with args.
4468 set dummy $ac_prog; ac_word=$2
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4470 $as_echo_n "checking for $ac_word... " >&6; }
4471 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4472   $as_echo_n "(cached) " >&6
4473 else
4474   if test -n "$ac_ct_CC"; then
4475   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4476 else
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 for as_dir in $PATH
4479 do
4480   IFS=$as_save_IFS
4481   test -z "$as_dir" && as_dir=.
4482     for ac_exec_ext in '' $ac_executable_extensions; do
4483   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4484     ac_cv_prog_ac_ct_CC="$ac_prog"
4485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486     break 2
4487   fi
4488 done
4489   done
4490 IFS=$as_save_IFS
4491
4492 fi
4493 fi
4494 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4495 if test -n "$ac_ct_CC"; then
4496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4497 $as_echo "$ac_ct_CC" >&6; }
4498 else
4499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4500 $as_echo "no" >&6; }
4501 fi
4502
4503
4504   test -n "$ac_ct_CC" && break
4505 done
4506
4507   if test "x$ac_ct_CC" = x; then
4508     CC=""
4509   else
4510     case $cross_compiling:$ac_tool_warned in
4511 yes:)
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4514 ac_tool_warned=yes ;;
4515 esac
4516     CC=$ac_ct_CC
4517   fi
4518 fi
4519
4520 fi
4521
4522
4523 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4525 as_fn_error $? "no acceptable C compiler found in \$PATH
4526 See \`config.log' for more details" "$LINENO" 5; }
4527
4528 # Provide some information about the compiler.
4529 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4530 set X $ac_compile
4531 ac_compiler=$2
4532 for ac_option in --version -v -V -qversion; do
4533   { { ac_try="$ac_compiler $ac_option >&5"
4534 case "(($ac_try" in
4535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4536   *) ac_try_echo=$ac_try;;
4537 esac
4538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4539 $as_echo "$ac_try_echo"; } >&5
4540   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4541   ac_status=$?
4542   if test -s conftest.err; then
4543     sed '10a\
4544 ... rest of stderr output deleted ...
4545          10q' conftest.err >conftest.er1
4546     cat conftest.er1 >&5
4547   fi
4548   rm -f conftest.er1 conftest.err
4549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4550   test $ac_status = 0; }
4551 done
4552
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4554 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4555 if ${ac_cv_c_compiler_gnu+:} false; then :
4556   $as_echo_n "(cached) " >&6
4557 else
4558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h.  */
4560
4561 int
4562 main ()
4563 {
4564 #ifndef __GNUC__
4565        choke me
4566 #endif
4567
4568   ;
4569   return 0;
4570 }
4571 _ACEOF
4572 if ac_fn_c_try_compile "$LINENO"; then :
4573   ac_compiler_gnu=yes
4574 else
4575   ac_compiler_gnu=no
4576 fi
4577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4578 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4579
4580 fi
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4582 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4583 if test $ac_compiler_gnu = yes; then
4584   GCC=yes
4585 else
4586   GCC=
4587 fi
4588 ac_test_CFLAGS=${CFLAGS+set}
4589 ac_save_CFLAGS=$CFLAGS
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4591 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4592 if ${ac_cv_prog_cc_g+:} false; then :
4593   $as_echo_n "(cached) " >&6
4594 else
4595   ac_save_c_werror_flag=$ac_c_werror_flag
4596    ac_c_werror_flag=yes
4597    ac_cv_prog_cc_g=no
4598    CFLAGS="-g"
4599    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h.  */
4601
4602 int
4603 main ()
4604 {
4605
4606   ;
4607   return 0;
4608 }
4609 _ACEOF
4610 if ac_fn_c_try_compile "$LINENO"; then :
4611   ac_cv_prog_cc_g=yes
4612 else
4613   CFLAGS=""
4614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h.  */
4616
4617 int
4618 main ()
4619 {
4620
4621   ;
4622   return 0;
4623 }
4624 _ACEOF
4625 if ac_fn_c_try_compile "$LINENO"; then :
4626
4627 else
4628   ac_c_werror_flag=$ac_save_c_werror_flag
4629          CFLAGS="-g"
4630          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h.  */
4632
4633 int
4634 main ()
4635 {
4636
4637   ;
4638   return 0;
4639 }
4640 _ACEOF
4641 if ac_fn_c_try_compile "$LINENO"; then :
4642   ac_cv_prog_cc_g=yes
4643 fi
4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4645 fi
4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4647 fi
4648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649    ac_c_werror_flag=$ac_save_c_werror_flag
4650 fi
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4652 $as_echo "$ac_cv_prog_cc_g" >&6; }
4653 if test "$ac_test_CFLAGS" = set; then
4654   CFLAGS=$ac_save_CFLAGS
4655 elif test $ac_cv_prog_cc_g = yes; then
4656   if test "$GCC" = yes; then
4657     CFLAGS="-g -O2"
4658   else
4659     CFLAGS="-g"
4660   fi
4661 else
4662   if test "$GCC" = yes; then
4663     CFLAGS="-O2"
4664   else
4665     CFLAGS=
4666   fi
4667 fi
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4669 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4670 if ${ac_cv_prog_cc_c89+:} false; then :
4671   $as_echo_n "(cached) " >&6
4672 else
4673   ac_cv_prog_cc_c89=no
4674 ac_save_CC=$CC
4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h.  */
4677 #include <stdarg.h>
4678 #include <stdio.h>
4679 struct stat;
4680 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4681 struct buf { int x; };
4682 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4683 static char *e (p, i)
4684      char **p;
4685      int i;
4686 {
4687   return p[i];
4688 }
4689 static char *f (char * (*g) (char **, int), char **p, ...)
4690 {
4691   char *s;
4692   va_list v;
4693   va_start (v,p);
4694   s = g (p, va_arg (v,int));
4695   va_end (v);
4696   return s;
4697 }
4698
4699 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4700    function prototypes and stuff, but not '\xHH' hex character constants.
4701    These don't provoke an error unfortunately, instead are silently treated
4702    as 'x'.  The following induces an error, until -std is added to get
4703    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4704    array size at least.  It's necessary to write '\x00'==0 to get something
4705    that's true only with -std.  */
4706 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4707
4708 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4709    inside strings and character constants.  */
4710 #define FOO(x) 'x'
4711 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4712
4713 int test (int i, double x);
4714 struct s1 {int (*f) (int a);};
4715 struct s2 {int (*f) (double a);};
4716 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4717 int argc;
4718 char **argv;
4719 int
4720 main ()
4721 {
4722 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4723   ;
4724   return 0;
4725 }
4726 _ACEOF
4727 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4728         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4729 do
4730   CC="$ac_save_CC $ac_arg"
4731   if ac_fn_c_try_compile "$LINENO"; then :
4732   ac_cv_prog_cc_c89=$ac_arg
4733 fi
4734 rm -f core conftest.err conftest.$ac_objext
4735   test "x$ac_cv_prog_cc_c89" != "xno" && break
4736 done
4737 rm -f conftest.$ac_ext
4738 CC=$ac_save_CC
4739
4740 fi
4741 # AC_CACHE_VAL
4742 case "x$ac_cv_prog_cc_c89" in
4743   x)
4744     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4745 $as_echo "none needed" >&6; } ;;
4746   xno)
4747     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4748 $as_echo "unsupported" >&6; } ;;
4749   *)
4750     CC="$CC $ac_cv_prog_cc_c89"
4751     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4752 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4753 esac
4754 if test "x$ac_cv_prog_cc_c89" != xno; then :
4755
4756 fi
4757
4758 ac_ext=c
4759 ac_cpp='$CPP $CPPFLAGS'
4760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4763
4764 ac_ext=c
4765 ac_cpp='$CPP $CPPFLAGS'
4766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4770 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4771 if ${am_cv_prog_cc_c_o+:} false; then :
4772   $as_echo_n "(cached) " >&6
4773 else
4774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h.  */
4776
4777 int
4778 main ()
4779 {
4780
4781   ;
4782   return 0;
4783 }
4784 _ACEOF
4785   # Make sure it works both with $CC and with simple cc.
4786   # Following AC_PROG_CC_C_O, we do the test twice because some
4787   # compilers refuse to overwrite an existing .o file with -o,
4788   # though they will create one.
4789   am_cv_prog_cc_c_o=yes
4790   for am_i in 1 2; do
4791     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4792    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4793    ac_status=$?
4794    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795    (exit $ac_status); } \
4796          && test -f conftest2.$ac_objext; then
4797       : OK
4798     else
4799       am_cv_prog_cc_c_o=no
4800       break
4801     fi
4802   done
4803   rm -f core conftest*
4804   unset am_i
4805 fi
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4807 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4808 if test "$am_cv_prog_cc_c_o" != yes; then
4809    # Losing compiler, so override with the script.
4810    # FIXME: It is wrong to rewrite CC.
4811    # But if we don't then we get into trouble of one sort or another.
4812    # A longer-term fix would be to have automake use am__CC in this case,
4813    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4814    CC="$am_aux_dir/compile $CC"
4815 fi
4816 ac_ext=c
4817 ac_cpp='$CPP $CPPFLAGS'
4818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4821
4822
4823 ac_ext=c
4824 ac_cpp='$CPP $CPPFLAGS'
4825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4829 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4830 # On Suns, sometimes $CPP names a directory.
4831 if test -n "$CPP" && test -d "$CPP"; then
4832   CPP=
4833 fi
4834 if test -z "$CPP"; then
4835   if ${ac_cv_prog_CPP+:} false; then :
4836   $as_echo_n "(cached) " >&6
4837 else
4838       # Double quotes because CPP needs to be expanded
4839     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4840     do
4841       ac_preproc_ok=false
4842 for ac_c_preproc_warn_flag in '' yes
4843 do
4844   # Use a header file that comes with gcc, so configuring glibc
4845   # with a fresh cross-compiler works.
4846   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4847   # <limits.h> exists even on freestanding compilers.
4848   # On the NeXT, cc -E runs the code through the compiler's parser,
4849   # not just through cpp. "Syntax error" is here to catch this case.
4850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4851 /* end confdefs.h.  */
4852 #ifdef __STDC__
4853 # include <limits.h>
4854 #else
4855 # include <assert.h>
4856 #endif
4857                      Syntax error
4858 _ACEOF
4859 if ac_fn_c_try_cpp "$LINENO"; then :
4860
4861 else
4862   # Broken: fails on valid input.
4863 continue
4864 fi
4865 rm -f conftest.err conftest.i conftest.$ac_ext
4866
4867   # OK, works on sane cases.  Now check whether nonexistent headers
4868   # can be detected and how.
4869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4870 /* end confdefs.h.  */
4871 #include <ac_nonexistent.h>
4872 _ACEOF
4873 if ac_fn_c_try_cpp "$LINENO"; then :
4874   # Broken: success on invalid input.
4875 continue
4876 else
4877   # Passes both tests.
4878 ac_preproc_ok=:
4879 break
4880 fi
4881 rm -f conftest.err conftest.i conftest.$ac_ext
4882
4883 done
4884 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4885 rm -f conftest.i conftest.err conftest.$ac_ext
4886 if $ac_preproc_ok; then :
4887   break
4888 fi
4889
4890     done
4891     ac_cv_prog_CPP=$CPP
4892
4893 fi
4894   CPP=$ac_cv_prog_CPP
4895 else
4896   ac_cv_prog_CPP=$CPP
4897 fi
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4899 $as_echo "$CPP" >&6; }
4900 ac_preproc_ok=false
4901 for ac_c_preproc_warn_flag in '' yes
4902 do
4903   # Use a header file that comes with gcc, so configuring glibc
4904   # with a fresh cross-compiler works.
4905   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4906   # <limits.h> exists even on freestanding compilers.
4907   # On the NeXT, cc -E runs the code through the compiler's parser,
4908   # not just through cpp. "Syntax error" is here to catch this case.
4909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h.  */
4911 #ifdef __STDC__
4912 # include <limits.h>
4913 #else
4914 # include <assert.h>
4915 #endif
4916                      Syntax error
4917 _ACEOF
4918 if ac_fn_c_try_cpp "$LINENO"; then :
4919
4920 else
4921   # Broken: fails on valid input.
4922 continue
4923 fi
4924 rm -f conftest.err conftest.i conftest.$ac_ext
4925
4926   # OK, works on sane cases.  Now check whether nonexistent headers
4927   # can be detected and how.
4928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h.  */
4930 #include <ac_nonexistent.h>
4931 _ACEOF
4932 if ac_fn_c_try_cpp "$LINENO"; then :
4933   # Broken: success on invalid input.
4934 continue
4935 else
4936   # Passes both tests.
4937 ac_preproc_ok=:
4938 break
4939 fi
4940 rm -f conftest.err conftest.i conftest.$ac_ext
4941
4942 done
4943 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4944 rm -f conftest.i conftest.err conftest.$ac_ext
4945 if $ac_preproc_ok; then :
4946
4947 else
4948   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4950 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4951 See \`config.log' for more details" "$LINENO" 5; }
4952 fi
4953
4954 ac_ext=c
4955 ac_cpp='$CPP $CPPFLAGS'
4956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4959
4960
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4962 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4963 if ${ac_cv_path_GREP+:} false; then :
4964   $as_echo_n "(cached) " >&6
4965 else
4966   if test -z "$GREP"; then
4967   ac_path_GREP_found=false
4968   # Loop through the user's path and test for each of PROGNAME-LIST
4969   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4971 do
4972   IFS=$as_save_IFS
4973   test -z "$as_dir" && as_dir=.
4974     for ac_prog in grep ggrep; do
4975     for ac_exec_ext in '' $ac_executable_extensions; do
4976       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4977       as_fn_executable_p "$ac_path_GREP" || continue
4978 # Check for GNU ac_path_GREP and select it if it is found.
4979   # Check for GNU $ac_path_GREP
4980 case `"$ac_path_GREP" --version 2>&1` in
4981 *GNU*)
4982   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4983 *)
4984   ac_count=0
4985   $as_echo_n 0123456789 >"conftest.in"
4986   while :
4987   do
4988     cat "conftest.in" "conftest.in" >"conftest.tmp"
4989     mv "conftest.tmp" "conftest.in"
4990     cp "conftest.in" "conftest.nl"
4991     $as_echo 'GREP' >> "conftest.nl"
4992     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4993     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4994     as_fn_arith $ac_count + 1 && ac_count=$as_val
4995     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4996       # Best one so far, save it but keep looking for a better one
4997       ac_cv_path_GREP="$ac_path_GREP"
4998       ac_path_GREP_max=$ac_count
4999     fi
5000     # 10*(2^10) chars as input seems more than enough
5001     test $ac_count -gt 10 && break
5002   done
5003   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5004 esac
5005
5006       $ac_path_GREP_found && break 3
5007     done
5008   done
5009   done
5010 IFS=$as_save_IFS
5011   if test -z "$ac_cv_path_GREP"; then
5012     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5013   fi
5014 else
5015   ac_cv_path_GREP=$GREP
5016 fi
5017
5018 fi
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5020 $as_echo "$ac_cv_path_GREP" >&6; }
5021  GREP="$ac_cv_path_GREP"
5022
5023
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5025 $as_echo_n "checking for egrep... " >&6; }
5026 if ${ac_cv_path_EGREP+:} false; then :
5027   $as_echo_n "(cached) " >&6
5028 else
5029   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5030    then ac_cv_path_EGREP="$GREP -E"
5031    else
5032      if test -z "$EGREP"; then
5033   ac_path_EGREP_found=false
5034   # Loop through the user's path and test for each of PROGNAME-LIST
5035   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5037 do
5038   IFS=$as_save_IFS
5039   test -z "$as_dir" && as_dir=.
5040     for ac_prog in egrep; do
5041     for ac_exec_ext in '' $ac_executable_extensions; do
5042       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5043       as_fn_executable_p "$ac_path_EGREP" || continue
5044 # Check for GNU ac_path_EGREP and select it if it is found.
5045   # Check for GNU $ac_path_EGREP
5046 case `"$ac_path_EGREP" --version 2>&1` in
5047 *GNU*)
5048   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5049 *)
5050   ac_count=0
5051   $as_echo_n 0123456789 >"conftest.in"
5052   while :
5053   do
5054     cat "conftest.in" "conftest.in" >"conftest.tmp"
5055     mv "conftest.tmp" "conftest.in"
5056     cp "conftest.in" "conftest.nl"
5057     $as_echo 'EGREP' >> "conftest.nl"
5058     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5059     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5060     as_fn_arith $ac_count + 1 && ac_count=$as_val
5061     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5062       # Best one so far, save it but keep looking for a better one
5063       ac_cv_path_EGREP="$ac_path_EGREP"
5064       ac_path_EGREP_max=$ac_count
5065     fi
5066     # 10*(2^10) chars as input seems more than enough
5067     test $ac_count -gt 10 && break
5068   done
5069   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5070 esac
5071
5072       $ac_path_EGREP_found && break 3
5073     done
5074   done
5075   done
5076 IFS=$as_save_IFS
5077   if test -z "$ac_cv_path_EGREP"; then
5078     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5079   fi
5080 else
5081   ac_cv_path_EGREP=$EGREP
5082 fi
5083
5084    fi
5085 fi
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5087 $as_echo "$ac_cv_path_EGREP" >&6; }
5088  EGREP="$ac_cv_path_EGREP"
5089
5090
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5092 $as_echo_n "checking for ANSI C header files... " >&6; }
5093 if ${ac_cv_header_stdc+:} false; then :
5094   $as_echo_n "(cached) " >&6
5095 else
5096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h.  */
5098 #include <stdlib.h>
5099 #include <stdarg.h>
5100 #include <string.h>
5101 #include <float.h>
5102
5103 int
5104 main ()
5105 {
5106
5107   ;
5108   return 0;
5109 }
5110 _ACEOF
5111 if ac_fn_c_try_compile "$LINENO"; then :
5112   ac_cv_header_stdc=yes
5113 else
5114   ac_cv_header_stdc=no
5115 fi
5116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5117
5118 if test $ac_cv_header_stdc = yes; then
5119   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h.  */
5122 #include <string.h>
5123
5124 _ACEOF
5125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5126   $EGREP "memchr" >/dev/null 2>&1; then :
5127
5128 else
5129   ac_cv_header_stdc=no
5130 fi
5131 rm -f conftest*
5132
5133 fi
5134
5135 if test $ac_cv_header_stdc = yes; then
5136   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5138 /* end confdefs.h.  */
5139 #include <stdlib.h>
5140
5141 _ACEOF
5142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5143   $EGREP "free" >/dev/null 2>&1; then :
5144
5145 else
5146   ac_cv_header_stdc=no
5147 fi
5148 rm -f conftest*
5149
5150 fi
5151
5152 if test $ac_cv_header_stdc = yes; then
5153   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5154   if test "$cross_compiling" = yes; then :
5155   :
5156 else
5157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158 /* end confdefs.h.  */
5159 #include <ctype.h>
5160 #include <stdlib.h>
5161 #if ((' ' & 0x0FF) == 0x020)
5162 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5163 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5164 #else
5165 # define ISLOWER(c) \
5166                    (('a' <= (c) && (c) <= 'i') \
5167                      || ('j' <= (c) && (c) <= 'r') \
5168                      || ('s' <= (c) && (c) <= 'z'))
5169 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5170 #endif
5171
5172 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5173 int
5174 main ()
5175 {
5176   int i;
5177   for (i = 0; i < 256; i++)
5178     if (XOR (islower (i), ISLOWER (i))
5179         || toupper (i) != TOUPPER (i))
5180       return 2;
5181   return 0;
5182 }
5183 _ACEOF
5184 if ac_fn_c_try_run "$LINENO"; then :
5185
5186 else
5187   ac_cv_header_stdc=no
5188 fi
5189 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5190   conftest.$ac_objext conftest.beam conftest.$ac_ext
5191 fi
5192
5193 fi
5194 fi
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5196 $as_echo "$ac_cv_header_stdc" >&6; }
5197 if test $ac_cv_header_stdc = yes; then
5198
5199 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5200
5201 fi
5202
5203 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5204 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5205                   inttypes.h stdint.h unistd.h
5206 do :
5207   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5208 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5209 "
5210 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5211   cat >>confdefs.h <<_ACEOF
5212 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5213 _ACEOF
5214
5215 fi
5216
5217 done
5218
5219
5220
5221   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5222 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5223   MINIX=yes
5224 else
5225   MINIX=
5226 fi
5227
5228
5229   if test "$MINIX" = yes; then
5230
5231 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5232
5233
5234 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5235
5236
5237 $as_echo "#define _MINIX 1" >>confdefs.h
5238
5239   fi
5240
5241
5242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5243 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5244 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5245   $as_echo_n "(cached) " >&6
5246 else
5247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5248 /* end confdefs.h.  */
5249
5250 #         define __EXTENSIONS__ 1
5251           $ac_includes_default
5252 int
5253 main ()
5254 {
5255
5256   ;
5257   return 0;
5258 }
5259 _ACEOF
5260 if ac_fn_c_try_compile "$LINENO"; then :
5261   ac_cv_safe_to_define___extensions__=yes
5262 else
5263   ac_cv_safe_to_define___extensions__=no
5264 fi
5265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5266 fi
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5268 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5269   test $ac_cv_safe_to_define___extensions__ = yes &&
5270     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5271
5272   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5273
5274   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5275
5276   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5277
5278   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5279
5280
5281
5282
5283
5284 case `pwd` in
5285   *\ * | *\     *)
5286     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5287 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5288 esac
5289
5290
5291
5292 macro_version='2.2.7a'
5293 macro_revision='1.3134'
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307 ltmain="$ac_aux_dir/ltmain.sh"
5308
5309 # Backslashify metacharacters that are still active within
5310 # double-quoted strings.
5311 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5312
5313 # Same as above, but do not quote variable references.
5314 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5315
5316 # Sed substitution to delay expansion of an escaped shell variable in a
5317 # double_quote_subst'ed string.
5318 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5319
5320 # Sed substitution to delay expansion of an escaped single quote.
5321 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5322
5323 # Sed substitution to avoid accidental globbing in evaled expressions
5324 no_glob_subst='s/\*/\\\*/g'
5325
5326 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5327 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5328 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5329
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5331 $as_echo_n "checking how to print strings... " >&6; }
5332 # Test print first, because it will be a builtin if present.
5333 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5334    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5335   ECHO='print -r --'
5336 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5337   ECHO='printf %s\n'
5338 else
5339   # Use this function as a fallback that always works.
5340   func_fallback_echo ()
5341   {
5342     eval 'cat <<_LTECHO_EOF
5343 $1
5344 _LTECHO_EOF'
5345   }
5346   ECHO='func_fallback_echo'
5347 fi
5348
5349 # func_echo_all arg...
5350 # Invoke $ECHO with all args, space-separated.
5351 func_echo_all ()
5352 {
5353     $ECHO ""
5354 }
5355
5356 case "$ECHO" in
5357   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5358 $as_echo "printf" >&6; } ;;
5359   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5360 $as_echo "print -r" >&6; } ;;
5361   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5362 $as_echo "cat" >&6; } ;;
5363 esac
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5379 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5380 if ${ac_cv_path_SED+:} false; then :
5381   $as_echo_n "(cached) " >&6
5382 else
5383             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5384      for ac_i in 1 2 3 4 5 6 7; do
5385        ac_script="$ac_script$as_nl$ac_script"
5386      done
5387      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5388      { ac_script=; unset ac_script;}
5389      if test -z "$SED"; then
5390   ac_path_SED_found=false
5391   # Loop through the user's path and test for each of PROGNAME-LIST
5392   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 for as_dir in $PATH
5394 do
5395   IFS=$as_save_IFS
5396   test -z "$as_dir" && as_dir=.
5397     for ac_prog in sed gsed; do
5398     for ac_exec_ext in '' $ac_executable_extensions; do
5399       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5400       as_fn_executable_p "$ac_path_SED" || continue
5401 # Check for GNU ac_path_SED and select it if it is found.
5402   # Check for GNU $ac_path_SED
5403 case `"$ac_path_SED" --version 2>&1` in
5404 *GNU*)
5405   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5406 *)
5407   ac_count=0
5408   $as_echo_n 0123456789 >"conftest.in"
5409   while :
5410   do
5411     cat "conftest.in" "conftest.in" >"conftest.tmp"
5412     mv "conftest.tmp" "conftest.in"
5413     cp "conftest.in" "conftest.nl"
5414     $as_echo '' >> "conftest.nl"
5415     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5416     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5417     as_fn_arith $ac_count + 1 && ac_count=$as_val
5418     if test $ac_count -gt ${ac_path_SED_max-0}; then
5419       # Best one so far, save it but keep looking for a better one
5420       ac_cv_path_SED="$ac_path_SED"
5421       ac_path_SED_max=$ac_count
5422     fi
5423     # 10*(2^10) chars as input seems more than enough
5424     test $ac_count -gt 10 && break
5425   done
5426   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5427 esac
5428
5429       $ac_path_SED_found && break 3
5430     done
5431   done
5432   done
5433 IFS=$as_save_IFS
5434   if test -z "$ac_cv_path_SED"; then
5435     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5436   fi
5437 else
5438   ac_cv_path_SED=$SED
5439 fi
5440
5441 fi
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5443 $as_echo "$ac_cv_path_SED" >&6; }
5444  SED="$ac_cv_path_SED"
5445   rm -f conftest.sed
5446
5447 test -z "$SED" && SED=sed
5448 Xsed="$SED -e 1s/^X//"
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5461 $as_echo_n "checking for fgrep... " >&6; }
5462 if ${ac_cv_path_FGREP+:} false; then :
5463   $as_echo_n "(cached) " >&6
5464 else
5465   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5466    then ac_cv_path_FGREP="$GREP -F"
5467    else
5468      if test -z "$FGREP"; then
5469   ac_path_FGREP_found=false
5470   # Loop through the user's path and test for each of PROGNAME-LIST
5471   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5473 do
5474   IFS=$as_save_IFS
5475   test -z "$as_dir" && as_dir=.
5476     for ac_prog in fgrep; do
5477     for ac_exec_ext in '' $ac_executable_extensions; do
5478       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5479       as_fn_executable_p "$ac_path_FGREP" || continue
5480 # Check for GNU ac_path_FGREP and select it if it is found.
5481   # Check for GNU $ac_path_FGREP
5482 case `"$ac_path_FGREP" --version 2>&1` in
5483 *GNU*)
5484   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5485 *)
5486   ac_count=0
5487   $as_echo_n 0123456789 >"conftest.in"
5488   while :
5489   do
5490     cat "conftest.in" "conftest.in" >"conftest.tmp"
5491     mv "conftest.tmp" "conftest.in"
5492     cp "conftest.in" "conftest.nl"
5493     $as_echo 'FGREP' >> "conftest.nl"
5494     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5495     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5496     as_fn_arith $ac_count + 1 && ac_count=$as_val
5497     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5498       # Best one so far, save it but keep looking for a better one
5499       ac_cv_path_FGREP="$ac_path_FGREP"
5500       ac_path_FGREP_max=$ac_count
5501     fi
5502     # 10*(2^10) chars as input seems more than enough
5503     test $ac_count -gt 10 && break
5504   done
5505   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5506 esac
5507
5508       $ac_path_FGREP_found && break 3
5509     done
5510   done
5511   done
5512 IFS=$as_save_IFS
5513   if test -z "$ac_cv_path_FGREP"; then
5514     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5515   fi
5516 else
5517   ac_cv_path_FGREP=$FGREP
5518 fi
5519
5520    fi
5521 fi
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5523 $as_echo "$ac_cv_path_FGREP" >&6; }
5524  FGREP="$ac_cv_path_FGREP"
5525
5526
5527 test -z "$GREP" && GREP=grep
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547 # Check whether --with-gnu-ld was given.
5548 if test "${with_gnu_ld+set}" = set; then :
5549   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5550 else
5551   with_gnu_ld=no
5552 fi
5553
5554 ac_prog=ld
5555 if test "$GCC" = yes; then
5556   # Check if gcc -print-prog-name=ld gives a path.
5557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5558 $as_echo_n "checking for ld used by $CC... " >&6; }
5559   case $host in
5560   *-*-mingw*)
5561     # gcc leaves a trailing carriage return which upsets mingw
5562     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5563   *)
5564     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5565   esac
5566   case $ac_prog in
5567     # Accept absolute paths.
5568     [\\/]* | ?:[\\/]*)
5569       re_direlt='/[^/][^/]*/\.\./'
5570       # Canonicalize the pathname of ld
5571       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5572       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5573         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5574       done
5575       test -z "$LD" && LD="$ac_prog"
5576       ;;
5577   "")
5578     # If it fails, then pretend we aren't using GCC.
5579     ac_prog=ld
5580     ;;
5581   *)
5582     # If it is relative, then search for the first ld in PATH.
5583     with_gnu_ld=unknown
5584     ;;
5585   esac
5586 elif test "$with_gnu_ld" = yes; then
5587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5588 $as_echo_n "checking for GNU ld... " >&6; }
5589 else
5590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5591 $as_echo_n "checking for non-GNU ld... " >&6; }
5592 fi
5593 if ${lt_cv_path_LD+:} false; then :
5594   $as_echo_n "(cached) " >&6
5595 else
5596   if test -z "$LD"; then
5597   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5598   for ac_dir in $PATH; do
5599     IFS="$lt_save_ifs"
5600     test -z "$ac_dir" && ac_dir=.
5601     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5602       lt_cv_path_LD="$ac_dir/$ac_prog"
5603       # Check to see if the program is GNU ld.  I'd rather use --version,
5604       # but apparently some variants of GNU ld only accept -v.
5605       # Break only if it was the GNU/non-GNU ld that we prefer.
5606       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5607       *GNU* | *'with BFD'*)
5608         test "$with_gnu_ld" != no && break
5609         ;;
5610       *)
5611         test "$with_gnu_ld" != yes && break
5612         ;;
5613       esac
5614     fi
5615   done
5616   IFS="$lt_save_ifs"
5617 else
5618   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5619 fi
5620 fi
5621
5622 LD="$lt_cv_path_LD"
5623 if test -n "$LD"; then
5624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5625 $as_echo "$LD" >&6; }
5626 else
5627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5628 $as_echo "no" >&6; }
5629 fi
5630 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5632 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5633 if ${lt_cv_prog_gnu_ld+:} false; then :
5634   $as_echo_n "(cached) " >&6
5635 else
5636   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5637 case `$LD -v 2>&1 </dev/null` in
5638 *GNU* | *'with BFD'*)
5639   lt_cv_prog_gnu_ld=yes
5640   ;;
5641 *)
5642   lt_cv_prog_gnu_ld=no
5643   ;;
5644 esac
5645 fi
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5647 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5648 with_gnu_ld=$lt_cv_prog_gnu_ld
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5659 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5660 if ${lt_cv_path_NM+:} false; then :
5661   $as_echo_n "(cached) " >&6
5662 else
5663   if test -n "$NM"; then
5664   # Let the user override the test.
5665   lt_cv_path_NM="$NM"
5666 else
5667   lt_nm_to_check="${ac_tool_prefix}nm"
5668   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5669     lt_nm_to_check="$lt_nm_to_check nm"
5670   fi
5671   for lt_tmp_nm in $lt_nm_to_check; do
5672     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5673     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5674       IFS="$lt_save_ifs"
5675       test -z "$ac_dir" && ac_dir=.
5676       tmp_nm="$ac_dir/$lt_tmp_nm"
5677       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5678         # Check to see if the nm accepts a BSD-compat flag.
5679         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5680         #   nm: unknown option "B" ignored
5681         # Tru64's nm complains that /dev/null is an invalid object file
5682         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5683         */dev/null* | *'Invalid file or object type'*)
5684           lt_cv_path_NM="$tmp_nm -B"
5685           break
5686           ;;
5687         *)
5688           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5689           */dev/null*)
5690             lt_cv_path_NM="$tmp_nm -p"
5691             break
5692             ;;
5693           *)
5694             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5695             continue # so that we can try to find one that supports BSD flags
5696             ;;
5697           esac
5698           ;;
5699         esac
5700       fi
5701     done
5702     IFS="$lt_save_ifs"
5703   done
5704   : ${lt_cv_path_NM=no}
5705 fi
5706 fi
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5708 $as_echo "$lt_cv_path_NM" >&6; }
5709 if test "$lt_cv_path_NM" != "no"; then
5710   NM="$lt_cv_path_NM"
5711 else
5712   # Didn't find any BSD compatible name lister, look for dumpbin.
5713   if test -n "$DUMPBIN"; then :
5714     # Let the user override the test.
5715   else
5716     if test -n "$ac_tool_prefix"; then
5717   for ac_prog in dumpbin "link -dump"
5718   do
5719     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5720 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if ${ac_cv_prog_DUMPBIN+:} false; then :
5724   $as_echo_n "(cached) " >&6
5725 else
5726   if test -n "$DUMPBIN"; then
5727   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5728 else
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 for as_dir in $PATH
5731 do
5732   IFS=$as_save_IFS
5733   test -z "$as_dir" && as_dir=.
5734     for ac_exec_ext in '' $ac_executable_extensions; do
5735   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5736     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5738     break 2
5739   fi
5740 done
5741   done
5742 IFS=$as_save_IFS
5743
5744 fi
5745 fi
5746 DUMPBIN=$ac_cv_prog_DUMPBIN
5747 if test -n "$DUMPBIN"; then
5748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5749 $as_echo "$DUMPBIN" >&6; }
5750 else
5751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5753 fi
5754
5755
5756     test -n "$DUMPBIN" && break
5757   done
5758 fi
5759 if test -z "$DUMPBIN"; then
5760   ac_ct_DUMPBIN=$DUMPBIN
5761   for ac_prog in dumpbin "link -dump"
5762 do
5763   # Extract the first word of "$ac_prog", so it can be a program name with args.
5764 set dummy $ac_prog; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5768   $as_echo_n "(cached) " >&6
5769 else
5770   if test -n "$ac_ct_DUMPBIN"; then
5771   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5775 do
5776   IFS=$as_save_IFS
5777   test -z "$as_dir" && as_dir=.
5778     for ac_exec_ext in '' $ac_executable_extensions; do
5779   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782     break 2
5783   fi
5784 done
5785   done
5786 IFS=$as_save_IFS
5787
5788 fi
5789 fi
5790 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5791 if test -n "$ac_ct_DUMPBIN"; then
5792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5793 $as_echo "$ac_ct_DUMPBIN" >&6; }
5794 else
5795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5797 fi
5798
5799
5800   test -n "$ac_ct_DUMPBIN" && break
5801 done
5802
5803   if test "x$ac_ct_DUMPBIN" = x; then
5804     DUMPBIN=":"
5805   else
5806     case $cross_compiling:$ac_tool_warned in
5807 yes:)
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5810 ac_tool_warned=yes ;;
5811 esac
5812     DUMPBIN=$ac_ct_DUMPBIN
5813   fi
5814 fi
5815
5816     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5817     *COFF*)
5818       DUMPBIN="$DUMPBIN -symbols"
5819       ;;
5820     *)
5821       DUMPBIN=:
5822       ;;
5823     esac
5824   fi
5825
5826   if test "$DUMPBIN" != ":"; then
5827     NM="$DUMPBIN"
5828   fi
5829 fi
5830 test -z "$NM" && NM=nm
5831
5832
5833
5834
5835
5836
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5838 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5839 if ${lt_cv_nm_interface+:} false; then :
5840   $as_echo_n "(cached) " >&6
5841 else
5842   lt_cv_nm_interface="BSD nm"
5843   echo "int some_variable = 0;" > conftest.$ac_ext
5844   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5845   (eval "$ac_compile" 2>conftest.err)
5846   cat conftest.err >&5
5847   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5848   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5849   cat conftest.err >&5
5850   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5851   cat conftest.out >&5
5852   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5853     lt_cv_nm_interface="MS dumpbin"
5854   fi
5855   rm -f conftest*
5856 fi
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5858 $as_echo "$lt_cv_nm_interface" >&6; }
5859
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5861 $as_echo_n "checking whether ln -s works... " >&6; }
5862 LN_S=$as_ln_s
5863 if test "$LN_S" = "ln -s"; then
5864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5865 $as_echo "yes" >&6; }
5866 else
5867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5868 $as_echo "no, using $LN_S" >&6; }
5869 fi
5870
5871 # find the maximum length of command line arguments
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5873 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5874 if ${lt_cv_sys_max_cmd_len+:} false; then :
5875   $as_echo_n "(cached) " >&6
5876 else
5877     i=0
5878   teststring="ABCD"
5879
5880   case $build_os in
5881   msdosdjgpp*)
5882     # On DJGPP, this test can blow up pretty badly due to problems in libc
5883     # (any single argument exceeding 2000 bytes causes a buffer overrun
5884     # during glob expansion).  Even if it were fixed, the result of this
5885     # check would be larger than it should be.
5886     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5887     ;;
5888
5889   gnu*)
5890     # Under GNU Hurd, this test is not required because there is
5891     # no limit to the length of command line arguments.
5892     # Libtool will interpret -1 as no limit whatsoever
5893     lt_cv_sys_max_cmd_len=-1;
5894     ;;
5895
5896   cygwin* | mingw* | cegcc*)
5897     # On Win9x/ME, this test blows up -- it succeeds, but takes
5898     # about 5 minutes as the teststring grows exponentially.
5899     # Worse, since 9x/ME are not pre-emptively multitasking,
5900     # you end up with a "frozen" computer, even though with patience
5901     # the test eventually succeeds (with a max line length of 256k).
5902     # Instead, let's just punt: use the minimum linelength reported by
5903     # all of the supported platforms: 8192 (on NT/2K/XP).
5904     lt_cv_sys_max_cmd_len=8192;
5905     ;;
5906
5907   mint*)
5908     # On MiNT this can take a long time and run out of memory.
5909     lt_cv_sys_max_cmd_len=8192;
5910     ;;
5911
5912   amigaos*)
5913     # On AmigaOS with pdksh, this test takes hours, literally.
5914     # So we just punt and use a minimum line length of 8192.
5915     lt_cv_sys_max_cmd_len=8192;
5916     ;;
5917
5918   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5919     # This has been around since 386BSD, at least.  Likely further.
5920     if test -x /sbin/sysctl; then
5921       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5922     elif test -x /usr/sbin/sysctl; then
5923       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5924     else
5925       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5926     fi
5927     # And add a safety zone
5928     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5929     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5930     ;;
5931
5932   interix*)
5933     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5934     lt_cv_sys_max_cmd_len=196608
5935     ;;
5936
5937   osf*)
5938     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5939     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5940     # nice to cause kernel panics so lets avoid the loop below.
5941     # First set a reasonable default.
5942     lt_cv_sys_max_cmd_len=16384
5943     #
5944     if test -x /sbin/sysconfig; then
5945       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5946         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5947       esac
5948     fi
5949     ;;
5950   sco3.2v5*)
5951     lt_cv_sys_max_cmd_len=102400
5952     ;;
5953   sysv5* | sco5v6* | sysv4.2uw2*)
5954     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5955     if test -n "$kargmax"; then
5956       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5957     else
5958       lt_cv_sys_max_cmd_len=32768
5959     fi
5960     ;;
5961   *)
5962     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5963     if test -n "$lt_cv_sys_max_cmd_len"; then
5964       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5965       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5966     else
5967       # Make teststring a little bigger before we do anything with it.
5968       # a 1K string should be a reasonable start.
5969       for i in 1 2 3 4 5 6 7 8 ; do
5970         teststring=$teststring$teststring
5971       done
5972       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5973       # If test is not a shell built-in, we'll probably end up computing a
5974       # maximum length that is only half of the actual maximum length, but
5975       # we can't tell.
5976       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5977                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5978               test $i != 17 # 1/2 MB should be enough
5979       do
5980         i=`expr $i + 1`
5981         teststring=$teststring$teststring
5982       done
5983       # Only check the string length outside the loop.
5984       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5985       teststring=
5986       # Add a significant safety factor because C++ compilers can tack on
5987       # massive amounts of additional arguments before passing them to the
5988       # linker.  It appears as though 1/2 is a usable value.
5989       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5990     fi
5991     ;;
5992   esac
5993
5994 fi
5995
5996 if test -n $lt_cv_sys_max_cmd_len ; then
5997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5998 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5999 else
6000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6001 $as_echo "none" >&6; }
6002 fi
6003 max_cmd_len=$lt_cv_sys_max_cmd_len
6004
6005
6006
6007
6008
6009
6010 : ${CP="cp -f"}
6011 : ${MV="mv -f"}
6012 : ${RM="rm -f"}
6013
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6015 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6016 # Try some XSI features
6017 xsi_shell=no
6018 ( _lt_dummy="a/b/c"
6019   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6020       = c,a/b,, \
6021     && eval 'test $(( 1 + 1 )) -eq 2 \
6022     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6023   && xsi_shell=yes
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6025 $as_echo "$xsi_shell" >&6; }
6026
6027
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6029 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6030 lt_shell_append=no
6031 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6032     >/dev/null 2>&1 \
6033   && lt_shell_append=yes
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6035 $as_echo "$lt_shell_append" >&6; }
6036
6037
6038 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6039   lt_unset=unset
6040 else
6041   lt_unset=false
6042 fi
6043
6044
6045
6046
6047
6048 # test EBCDIC or ASCII
6049 case `echo X|tr X '\101'` in
6050  A) # ASCII based system
6051     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6052   lt_SP2NL='tr \040 \012'
6053   lt_NL2SP='tr \015\012 \040\040'
6054   ;;
6055  *) # EBCDIC based system
6056   lt_SP2NL='tr \100 \n'
6057   lt_NL2SP='tr \r\n \100\100'
6058   ;;
6059 esac
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6070 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6071 if ${lt_cv_ld_reload_flag+:} false; then :
6072   $as_echo_n "(cached) " >&6
6073 else
6074   lt_cv_ld_reload_flag='-r'
6075 fi
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6077 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6078 reload_flag=$lt_cv_ld_reload_flag
6079 case $reload_flag in
6080 "" | " "*) ;;
6081 *) reload_flag=" $reload_flag" ;;
6082 esac
6083 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6084 case $host_os in
6085   darwin*)
6086     if test "$GCC" = yes; then
6087       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6088     else
6089       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6090     fi
6091     ;;
6092 esac
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102 if test -n "$ac_tool_prefix"; then
6103   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_OBJDUMP+:} false; then :
6108   $as_echo_n "(cached) " >&6
6109 else
6110   if test -n "$OBJDUMP"; then
6111   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6112 else
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 for as_dir in $PATH
6115 do
6116   IFS=$as_save_IFS
6117   test -z "$as_dir" && as_dir=.
6118     for ac_exec_ext in '' $ac_executable_extensions; do
6119   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122     break 2
6123   fi
6124 done
6125   done
6126 IFS=$as_save_IFS
6127
6128 fi
6129 fi
6130 OBJDUMP=$ac_cv_prog_OBJDUMP
6131 if test -n "$OBJDUMP"; then
6132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6133 $as_echo "$OBJDUMP" >&6; }
6134 else
6135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6137 fi
6138
6139
6140 fi
6141 if test -z "$ac_cv_prog_OBJDUMP"; then
6142   ac_ct_OBJDUMP=$OBJDUMP
6143   # Extract the first word of "objdump", so it can be a program name with args.
6144 set dummy objdump; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6148   $as_echo_n "(cached) " >&6
6149 else
6150   if test -n "$ac_ct_OBJDUMP"; then
6151   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6152 else
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 for as_dir in $PATH
6155 do
6156   IFS=$as_save_IFS
6157   test -z "$as_dir" && as_dir=.
6158     for ac_exec_ext in '' $ac_executable_extensions; do
6159   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6162     break 2
6163   fi
6164 done
6165   done
6166 IFS=$as_save_IFS
6167
6168 fi
6169 fi
6170 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6171 if test -n "$ac_ct_OBJDUMP"; then
6172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6173 $as_echo "$ac_ct_OBJDUMP" >&6; }
6174 else
6175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6177 fi
6178
6179   if test "x$ac_ct_OBJDUMP" = x; then
6180     OBJDUMP="false"
6181   else
6182     case $cross_compiling:$ac_tool_warned in
6183 yes:)
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6186 ac_tool_warned=yes ;;
6187 esac
6188     OBJDUMP=$ac_ct_OBJDUMP
6189   fi
6190 else
6191   OBJDUMP="$ac_cv_prog_OBJDUMP"
6192 fi
6193
6194 test -z "$OBJDUMP" && OBJDUMP=objdump
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6205 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6206 if ${lt_cv_deplibs_check_method+:} false; then :
6207   $as_echo_n "(cached) " >&6
6208 else
6209   lt_cv_file_magic_cmd='$MAGIC_CMD'
6210 lt_cv_file_magic_test_file=
6211 lt_cv_deplibs_check_method='unknown'
6212 # Need to set the preceding variable on all platforms that support
6213 # interlibrary dependencies.
6214 # 'none' -- dependencies not supported.
6215 # `unknown' -- same as none, but documents that we really don't know.
6216 # 'pass_all' -- all dependencies passed with no checks.
6217 # 'test_compile' -- check by making test program.
6218 # 'file_magic [[regex]]' -- check by looking for files in library path
6219 # which responds to the $file_magic_cmd with a given extended regex.
6220 # If you have `file' or equivalent on your system and you're not sure
6221 # whether `pass_all' will *always* work, you probably want this one.
6222
6223 case $host_os in
6224 aix[4-9]*)
6225   lt_cv_deplibs_check_method=pass_all
6226   ;;
6227
6228 beos*)
6229   lt_cv_deplibs_check_method=pass_all
6230   ;;
6231
6232 bsdi[45]*)
6233   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6234   lt_cv_file_magic_cmd='/usr/bin/file -L'
6235   lt_cv_file_magic_test_file=/shlib/libc.so
6236   ;;
6237
6238 cygwin*)
6239   # func_win32_libid is a shell function defined in ltmain.sh
6240   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6241   lt_cv_file_magic_cmd='func_win32_libid'
6242   ;;
6243
6244 mingw* | pw32*)
6245   # Base MSYS/MinGW do not provide the 'file' command needed by
6246   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6247   # unless we find 'file', for example because we are cross-compiling.
6248   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6249   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6250     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6251     lt_cv_file_magic_cmd='func_win32_libid'
6252   else
6253     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6254     lt_cv_file_magic_cmd='$OBJDUMP -f'
6255   fi
6256   ;;
6257
6258 cegcc*)
6259   # use the weaker test based on 'objdump'. See mingw*.
6260   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6261   lt_cv_file_magic_cmd='$OBJDUMP -f'
6262   ;;
6263
6264 darwin* | rhapsody*)
6265   lt_cv_deplibs_check_method=pass_all
6266   ;;
6267
6268 freebsd* | dragonfly*)
6269   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6270     case $host_cpu in
6271     i*86 )
6272       # Not sure whether the presence of OpenBSD here was a mistake.
6273       # Let's accept both of them until this is cleared up.
6274       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6275       lt_cv_file_magic_cmd=/usr/bin/file
6276       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6277       ;;
6278     esac
6279   else
6280     lt_cv_deplibs_check_method=pass_all
6281   fi
6282   ;;
6283
6284 gnu*)
6285   lt_cv_deplibs_check_method=pass_all
6286   ;;
6287
6288 haiku*)
6289   lt_cv_deplibs_check_method=pass_all
6290   ;;
6291
6292 hpux10.20* | hpux11*)
6293   lt_cv_file_magic_cmd=/usr/bin/file
6294   case $host_cpu in
6295   ia64*)
6296     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6297     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6298     ;;
6299   hppa*64*)
6300     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]'
6301     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6302     ;;
6303   *)
6304     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6305     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6306     ;;
6307   esac
6308   ;;
6309
6310 interix[3-9]*)
6311   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6312   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6313   ;;
6314
6315 irix5* | irix6* | nonstopux*)
6316   case $LD in
6317   *-32|*"-32 ") libmagic=32-bit;;
6318   *-n32|*"-n32 ") libmagic=N32;;
6319   *-64|*"-64 ") libmagic=64-bit;;
6320   *) libmagic=never-match;;
6321   esac
6322   lt_cv_deplibs_check_method=pass_all
6323   ;;
6324
6325 # This must be Linux ELF.
6326 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6327   lt_cv_deplibs_check_method=pass_all
6328   ;;
6329
6330 netbsd*)
6331   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6332     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6333   else
6334     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6335   fi
6336   ;;
6337
6338 newos6*)
6339   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6340   lt_cv_file_magic_cmd=/usr/bin/file
6341   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6342   ;;
6343
6344 *nto* | *qnx*)
6345   lt_cv_deplibs_check_method=pass_all
6346   ;;
6347
6348 openbsd*)
6349   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6350     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6351   else
6352     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6353   fi
6354   ;;
6355
6356 osf3* | osf4* | osf5*)
6357   lt_cv_deplibs_check_method=pass_all
6358   ;;
6359
6360 rdos*)
6361   lt_cv_deplibs_check_method=pass_all
6362   ;;
6363
6364 solaris*)
6365   lt_cv_deplibs_check_method=pass_all
6366   ;;
6367
6368 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6369   lt_cv_deplibs_check_method=pass_all
6370   ;;
6371
6372 sysv4 | sysv4.3*)
6373   case $host_vendor in
6374   motorola)
6375     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]'
6376     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6377     ;;
6378   ncr)
6379     lt_cv_deplibs_check_method=pass_all
6380     ;;
6381   sequent)
6382     lt_cv_file_magic_cmd='/bin/file'
6383     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6384     ;;
6385   sni)
6386     lt_cv_file_magic_cmd='/bin/file'
6387     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6388     lt_cv_file_magic_test_file=/lib/libc.so
6389     ;;
6390   siemens)
6391     lt_cv_deplibs_check_method=pass_all
6392     ;;
6393   pc)
6394     lt_cv_deplibs_check_method=pass_all
6395     ;;
6396   esac
6397   ;;
6398
6399 tpf*)
6400   lt_cv_deplibs_check_method=pass_all
6401   ;;
6402 esac
6403
6404 fi
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6406 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6407 file_magic_cmd=$lt_cv_file_magic_cmd
6408 deplibs_check_method=$lt_cv_deplibs_check_method
6409 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422 if test -n "$ac_tool_prefix"; then
6423   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6424 set dummy ${ac_tool_prefix}ar; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if ${ac_cv_prog_AR+:} false; then :
6428   $as_echo_n "(cached) " >&6
6429 else
6430   if test -n "$AR"; then
6431   ac_cv_prog_AR="$AR" # Let the user override the test.
6432 else
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH
6435 do
6436   IFS=$as_save_IFS
6437   test -z "$as_dir" && as_dir=.
6438     for ac_exec_ext in '' $ac_executable_extensions; do
6439   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6440     ac_cv_prog_AR="${ac_tool_prefix}ar"
6441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442     break 2
6443   fi
6444 done
6445   done
6446 IFS=$as_save_IFS
6447
6448 fi
6449 fi
6450 AR=$ac_cv_prog_AR
6451 if test -n "$AR"; then
6452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6453 $as_echo "$AR" >&6; }
6454 else
6455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6457 fi
6458
6459
6460 fi
6461 if test -z "$ac_cv_prog_AR"; then
6462   ac_ct_AR=$AR
6463   # Extract the first word of "ar", so it can be a program name with args.
6464 set dummy ar; ac_word=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 $as_echo_n "checking for $ac_word... " >&6; }
6467 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6468   $as_echo_n "(cached) " >&6
6469 else
6470   if test -n "$ac_ct_AR"; then
6471   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6472 else
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 for as_dir in $PATH
6475 do
6476   IFS=$as_save_IFS
6477   test -z "$as_dir" && as_dir=.
6478     for ac_exec_ext in '' $ac_executable_extensions; do
6479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6480     ac_cv_prog_ac_ct_AR="ar"
6481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6482     break 2
6483   fi
6484 done
6485   done
6486 IFS=$as_save_IFS
6487
6488 fi
6489 fi
6490 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6491 if test -n "$ac_ct_AR"; then
6492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6493 $as_echo "$ac_ct_AR" >&6; }
6494 else
6495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 $as_echo "no" >&6; }
6497 fi
6498
6499   if test "x$ac_ct_AR" = x; then
6500     AR="false"
6501   else
6502     case $cross_compiling:$ac_tool_warned in
6503 yes:)
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6506 ac_tool_warned=yes ;;
6507 esac
6508     AR=$ac_ct_AR
6509   fi
6510 else
6511   AR="$ac_cv_prog_AR"
6512 fi
6513
6514 test -z "$AR" && AR=ar
6515 test -z "$AR_FLAGS" && AR_FLAGS=cru
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527 if test -n "$ac_tool_prefix"; then
6528   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6529 set dummy ${ac_tool_prefix}strip; ac_word=$2
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6531 $as_echo_n "checking for $ac_word... " >&6; }
6532 if ${ac_cv_prog_STRIP+:} false; then :
6533   $as_echo_n "(cached) " >&6
6534 else
6535   if test -n "$STRIP"; then
6536   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6537 else
6538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6539 for as_dir in $PATH
6540 do
6541   IFS=$as_save_IFS
6542   test -z "$as_dir" && as_dir=.
6543     for ac_exec_ext in '' $ac_executable_extensions; do
6544   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6545     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6546     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6547     break 2
6548   fi
6549 done
6550   done
6551 IFS=$as_save_IFS
6552
6553 fi
6554 fi
6555 STRIP=$ac_cv_prog_STRIP
6556 if test -n "$STRIP"; then
6557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6558 $as_echo "$STRIP" >&6; }
6559 else
6560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6561 $as_echo "no" >&6; }
6562 fi
6563
6564
6565 fi
6566 if test -z "$ac_cv_prog_STRIP"; then
6567   ac_ct_STRIP=$STRIP
6568   # Extract the first word of "strip", so it can be a program name with args.
6569 set dummy strip; ac_word=$2
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6571 $as_echo_n "checking for $ac_word... " >&6; }
6572 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6573   $as_echo_n "(cached) " >&6
6574 else
6575   if test -n "$ac_ct_STRIP"; then
6576   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6577 else
6578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6579 for as_dir in $PATH
6580 do
6581   IFS=$as_save_IFS
6582   test -z "$as_dir" && as_dir=.
6583     for ac_exec_ext in '' $ac_executable_extensions; do
6584   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6585     ac_cv_prog_ac_ct_STRIP="strip"
6586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6587     break 2
6588   fi
6589 done
6590   done
6591 IFS=$as_save_IFS
6592
6593 fi
6594 fi
6595 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6596 if test -n "$ac_ct_STRIP"; then
6597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6598 $as_echo "$ac_ct_STRIP" >&6; }
6599 else
6600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6601 $as_echo "no" >&6; }
6602 fi
6603
6604   if test "x$ac_ct_STRIP" = x; then
6605     STRIP=":"
6606   else
6607     case $cross_compiling:$ac_tool_warned in
6608 yes:)
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6611 ac_tool_warned=yes ;;
6612 esac
6613     STRIP=$ac_ct_STRIP
6614   fi
6615 else
6616   STRIP="$ac_cv_prog_STRIP"
6617 fi
6618
6619 test -z "$STRIP" && STRIP=:
6620
6621
6622
6623
6624
6625
6626 if test -n "$ac_tool_prefix"; then
6627   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6628 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 $as_echo_n "checking for $ac_word... " >&6; }
6631 if ${ac_cv_prog_RANLIB+:} false; then :
6632   $as_echo_n "(cached) " >&6
6633 else
6634   if test -n "$RANLIB"; then
6635   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6636 else
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 for as_dir in $PATH
6639 do
6640   IFS=$as_save_IFS
6641   test -z "$as_dir" && as_dir=.
6642     for ac_exec_ext in '' $ac_executable_extensions; do
6643   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6644     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6646     break 2
6647   fi
6648 done
6649   done
6650 IFS=$as_save_IFS
6651
6652 fi
6653 fi
6654 RANLIB=$ac_cv_prog_RANLIB
6655 if test -n "$RANLIB"; then
6656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6657 $as_echo "$RANLIB" >&6; }
6658 else
6659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 $as_echo "no" >&6; }
6661 fi
6662
6663
6664 fi
6665 if test -z "$ac_cv_prog_RANLIB"; then
6666   ac_ct_RANLIB=$RANLIB
6667   # Extract the first word of "ranlib", so it can be a program name with args.
6668 set dummy ranlib; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670 $as_echo_n "checking for $ac_word... " >&6; }
6671 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6672   $as_echo_n "(cached) " >&6
6673 else
6674   if test -n "$ac_ct_RANLIB"; then
6675   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6676 else
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 for as_dir in $PATH
6679 do
6680   IFS=$as_save_IFS
6681   test -z "$as_dir" && as_dir=.
6682     for ac_exec_ext in '' $ac_executable_extensions; do
6683   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6684     ac_cv_prog_ac_ct_RANLIB="ranlib"
6685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686     break 2
6687   fi
6688 done
6689   done
6690 IFS=$as_save_IFS
6691
6692 fi
6693 fi
6694 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6695 if test -n "$ac_ct_RANLIB"; then
6696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6697 $as_echo "$ac_ct_RANLIB" >&6; }
6698 else
6699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 $as_echo "no" >&6; }
6701 fi
6702
6703   if test "x$ac_ct_RANLIB" = x; then
6704     RANLIB=":"
6705   else
6706     case $cross_compiling:$ac_tool_warned in
6707 yes:)
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6710 ac_tool_warned=yes ;;
6711 esac
6712     RANLIB=$ac_ct_RANLIB
6713   fi
6714 else
6715   RANLIB="$ac_cv_prog_RANLIB"
6716 fi
6717
6718 test -z "$RANLIB" && RANLIB=:
6719
6720
6721
6722
6723
6724
6725 # Determine commands to create old-style static archives.
6726 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6727 old_postinstall_cmds='chmod 644 $oldlib'
6728 old_postuninstall_cmds=
6729
6730 if test -n "$RANLIB"; then
6731   case $host_os in
6732   openbsd*)
6733     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6734     ;;
6735   *)
6736     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6737     ;;
6738   esac
6739   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6740 fi
6741
6742 case $host_os in
6743   darwin*)
6744     lock_old_archive_extraction=yes ;;
6745   *)
6746     lock_old_archive_extraction=no ;;
6747 esac
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787 # If no C compiler was specified, use CC.
6788 LTCC=${LTCC-"$CC"}
6789
6790 # If no C compiler flags were specified, use CFLAGS.
6791 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6792
6793 # Allow CC to be a program name with arguments.
6794 compiler=$CC
6795
6796
6797 # Check for command to grab the raw symbol name followed by C symbol from nm.
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6799 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6800 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6801   $as_echo_n "(cached) " >&6
6802 else
6803
6804 # These are sane defaults that work on at least a few old systems.
6805 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6806
6807 # Character class describing NM global symbol codes.
6808 symcode='[BCDEGRST]'
6809
6810 # Regexp to match symbols that can be accessed directly from C.
6811 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6812
6813 # Define system-specific variables.
6814 case $host_os in
6815 aix*)
6816   symcode='[BCDT]'
6817   ;;
6818 cygwin* | mingw* | pw32* | cegcc*)
6819   symcode='[ABCDGISTW]'
6820   ;;
6821 hpux*)
6822   if test "$host_cpu" = ia64; then
6823     symcode='[ABCDEGRST]'
6824   fi
6825   ;;
6826 irix* | nonstopux*)
6827   symcode='[BCDEGRST]'
6828   ;;
6829 osf*)
6830   symcode='[BCDEGQRST]'
6831   ;;
6832 solaris*)
6833   symcode='[BDRT]'
6834   ;;
6835 sco3.2v5*)
6836   symcode='[DT]'
6837   ;;
6838 sysv4.2uw2*)
6839   symcode='[DT]'
6840   ;;
6841 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6842   symcode='[ABDT]'
6843   ;;
6844 sysv4)
6845   symcode='[DFNSTU]'
6846   ;;
6847 esac
6848
6849 # If we're using GNU nm, then use its standard symbol codes.
6850 case `$NM -V 2>&1` in
6851 *GNU* | *'with BFD'*)
6852   symcode='[ABCDGIRSTW]' ;;
6853 esac
6854
6855 # Transform an extracted symbol line into a proper C declaration.
6856 # Some systems (esp. on ia64) link data and code symbols differently,
6857 # so use this general approach.
6858 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6859
6860 # Transform an extracted symbol line into symbol name and symbol address
6861 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6862 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'"
6863
6864 # Handle CRLF in mingw tool chain
6865 opt_cr=
6866 case $build_os in
6867 mingw*)
6868   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6869   ;;
6870 esac
6871
6872 # Try without a prefix underscore, then with it.
6873 for ac_symprfx in "" "_"; do
6874
6875   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6876   symxfrm="\\1 $ac_symprfx\\2 \\2"
6877
6878   # Write the raw and C identifiers.
6879   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6880     # Fake it for dumpbin and say T for any non-static function
6881     # and D for any global variable.
6882     # Also find C++ and __fastcall symbols from MSVC++,
6883     # which start with @ or ?.
6884     lt_cv_sys_global_symbol_pipe="$AWK '"\
6885 "     {last_section=section; section=\$ 3};"\
6886 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6887 "     \$ 0!~/External *\|/{next};"\
6888 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6889 "     {if(hide[section]) next};"\
6890 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6891 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6892 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6893 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6894 "     ' prfx=^$ac_symprfx"
6895   else
6896     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6897   fi
6898
6899   # Check to see that the pipe works correctly.
6900   pipe_works=no
6901
6902   rm -f conftest*
6903   cat > conftest.$ac_ext <<_LT_EOF
6904 #ifdef __cplusplus
6905 extern "C" {
6906 #endif
6907 char nm_test_var;
6908 void nm_test_func(void);
6909 void nm_test_func(void){}
6910 #ifdef __cplusplus
6911 }
6912 #endif
6913 int main(){nm_test_var='a';nm_test_func();return(0);}
6914 _LT_EOF
6915
6916   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6917   (eval $ac_compile) 2>&5
6918   ac_status=$?
6919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6920   test $ac_status = 0; }; then
6921     # Now try to grab the symbols.
6922     nlist=conftest.nm
6923     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6924   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6925   ac_status=$?
6926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6927   test $ac_status = 0; } && test -s "$nlist"; then
6928       # Try sorting and uniquifying the output.
6929       if sort "$nlist" | uniq > "$nlist"T; then
6930         mv -f "$nlist"T "$nlist"
6931       else
6932         rm -f "$nlist"T
6933       fi
6934
6935       # Make sure that we snagged all the symbols we need.
6936       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6937         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6938           cat <<_LT_EOF > conftest.$ac_ext
6939 #ifdef __cplusplus
6940 extern "C" {
6941 #endif
6942
6943 _LT_EOF
6944           # Now generate the symbol file.
6945           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6946
6947           cat <<_LT_EOF >> conftest.$ac_ext
6948
6949 /* The mapping between symbol names and symbols.  */
6950 const struct {
6951   const char *name;
6952   void       *address;
6953 }
6954 lt__PROGRAM__LTX_preloaded_symbols[] =
6955 {
6956   { "@PROGRAM@", (void *) 0 },
6957 _LT_EOF
6958           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6959           cat <<\_LT_EOF >> conftest.$ac_ext
6960   {0, (void *) 0}
6961 };
6962
6963 /* This works around a problem in FreeBSD linker */
6964 #ifdef FREEBSD_WORKAROUND
6965 static const void *lt_preloaded_setup() {
6966   return lt__PROGRAM__LTX_preloaded_symbols;
6967 }
6968 #endif
6969
6970 #ifdef __cplusplus
6971 }
6972 #endif
6973 _LT_EOF
6974           # Now try linking the two files.
6975           mv conftest.$ac_objext conftstm.$ac_objext
6976           lt_save_LIBS="$LIBS"
6977           lt_save_CFLAGS="$CFLAGS"
6978           LIBS="conftstm.$ac_objext"
6979           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6980           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6981   (eval $ac_link) 2>&5
6982   ac_status=$?
6983   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6984   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6985             pipe_works=yes
6986           fi
6987           LIBS="$lt_save_LIBS"
6988           CFLAGS="$lt_save_CFLAGS"
6989         else
6990           echo "cannot find nm_test_func in $nlist" >&5
6991         fi
6992       else
6993         echo "cannot find nm_test_var in $nlist" >&5
6994       fi
6995     else
6996       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6997     fi
6998   else
6999     echo "$progname: failed program was:" >&5
7000     cat conftest.$ac_ext >&5
7001   fi
7002   rm -rf conftest* conftst*
7003
7004   # Do not use the global_symbol_pipe unless it works.
7005   if test "$pipe_works" = yes; then
7006     break
7007   else
7008     lt_cv_sys_global_symbol_pipe=
7009   fi
7010 done
7011
7012 fi
7013
7014 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7015   lt_cv_sys_global_symbol_to_cdecl=
7016 fi
7017 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7019 $as_echo "failed" >&6; }
7020 else
7021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7022 $as_echo "ok" >&6; }
7023 fi
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046 # Check whether --enable-libtool-lock was given.
7047 if test "${enable_libtool_lock+set}" = set; then :
7048   enableval=$enable_libtool_lock;
7049 fi
7050
7051 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7052
7053 # Some flags need to be propagated to the compiler or linker for good
7054 # libtool support.
7055 case $host in
7056 ia64-*-hpux*)
7057   # Find out which ABI we are using.
7058   echo 'int i;' > conftest.$ac_ext
7059   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7060   (eval $ac_compile) 2>&5
7061   ac_status=$?
7062   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7063   test $ac_status = 0; }; then
7064     case `/usr/bin/file conftest.$ac_objext` in
7065       *ELF-32*)
7066         HPUX_IA64_MODE="32"
7067         ;;
7068       *ELF-64*)
7069         HPUX_IA64_MODE="64"
7070         ;;
7071     esac
7072   fi
7073   rm -rf conftest*
7074   ;;
7075 *-*-irix6*)
7076   # Find out which ABI we are using.
7077   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7078   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7079   (eval $ac_compile) 2>&5
7080   ac_status=$?
7081   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7082   test $ac_status = 0; }; then
7083     if test "$lt_cv_prog_gnu_ld" = yes; then
7084       case `/usr/bin/file conftest.$ac_objext` in
7085         *32-bit*)
7086           LD="${LD-ld} -melf32bsmip"
7087           ;;
7088         *N32*)
7089           LD="${LD-ld} -melf32bmipn32"
7090           ;;
7091         *64-bit*)
7092           LD="${LD-ld} -melf64bmip"
7093         ;;
7094       esac
7095     else
7096       case `/usr/bin/file conftest.$ac_objext` in
7097         *32-bit*)
7098           LD="${LD-ld} -32"
7099           ;;
7100         *N32*)
7101           LD="${LD-ld} -n32"
7102           ;;
7103         *64-bit*)
7104           LD="${LD-ld} -64"
7105           ;;
7106       esac
7107     fi
7108   fi
7109   rm -rf conftest*
7110   ;;
7111
7112 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7113 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7114   # Find out which ABI we are using.
7115   echo 'int i;' > conftest.$ac_ext
7116   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7117   (eval $ac_compile) 2>&5
7118   ac_status=$?
7119   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7120   test $ac_status = 0; }; then
7121     case `/usr/bin/file conftest.o` in
7122       *32-bit*)
7123         case $host in
7124           x86_64-*kfreebsd*-gnu)
7125             LD="${LD-ld} -m elf_i386_fbsd"
7126             ;;
7127           x86_64-*linux*)
7128             case `/usr/bin/file conftest.o` in
7129               *x86-64*)
7130                 LD="${LD-ld} -m elf32_x86_64"
7131                 ;;
7132               *)
7133                 LD="${LD-ld} -m elf_i386"
7134                 ;;
7135             esac
7136             ;;
7137           powerpc64le-*linux*)
7138             LD="${LD-ld} -m elf32lppclinux"
7139             ;;
7140           powerpc64-*linux*)
7141             LD="${LD-ld} -m elf32ppclinux"
7142             ;;
7143           s390x-*linux*)
7144             LD="${LD-ld} -m elf_s390"
7145             ;;
7146           sparc64-*linux*)
7147             LD="${LD-ld} -m elf32_sparc"
7148             ;;
7149         esac
7150         ;;
7151       *64-bit*)
7152         case $host in
7153           x86_64-*kfreebsd*-gnu)
7154             LD="${LD-ld} -m elf_x86_64_fbsd"
7155             ;;
7156           x86_64-*linux*)
7157             LD="${LD-ld} -m elf_x86_64"
7158             ;;
7159           powerpcle-*linux*)
7160             LD="${LD-ld} -m elf64lppc"
7161             ;;
7162           powerpc-*linux*)
7163             LD="${LD-ld} -m elf64ppc"
7164             ;;
7165           s390*-*linux*|s390*-*tpf*)
7166             LD="${LD-ld} -m elf64_s390"
7167             ;;
7168           sparc*-*linux*)
7169             LD="${LD-ld} -m elf64_sparc"
7170             ;;
7171         esac
7172         ;;
7173     esac
7174   fi
7175   rm -rf conftest*
7176   ;;
7177
7178 *-*-sco3.2v5*)
7179   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7180   SAVE_CFLAGS="$CFLAGS"
7181   CFLAGS="$CFLAGS -belf"
7182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7183 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7184 if ${lt_cv_cc_needs_belf+:} false; then :
7185   $as_echo_n "(cached) " >&6
7186 else
7187   ac_ext=c
7188 ac_cpp='$CPP $CPPFLAGS'
7189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7192
7193      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h.  */
7195
7196 int
7197 main ()
7198 {
7199
7200   ;
7201   return 0;
7202 }
7203 _ACEOF
7204 if ac_fn_c_try_link "$LINENO"; then :
7205   lt_cv_cc_needs_belf=yes
7206 else
7207   lt_cv_cc_needs_belf=no
7208 fi
7209 rm -f core conftest.err conftest.$ac_objext \
7210     conftest$ac_exeext conftest.$ac_ext
7211      ac_ext=c
7212 ac_cpp='$CPP $CPPFLAGS'
7213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7216
7217 fi
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7219 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7220   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7221     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7222     CFLAGS="$SAVE_CFLAGS"
7223   fi
7224   ;;
7225 sparc*-*solaris*)
7226   # Find out which ABI we are using.
7227   echo 'int i;' > conftest.$ac_ext
7228   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7229   (eval $ac_compile) 2>&5
7230   ac_status=$?
7231   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7232   test $ac_status = 0; }; then
7233     case `/usr/bin/file conftest.o` in
7234     *64-bit*)
7235       case $lt_cv_prog_gnu_ld in
7236       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7237       *)
7238         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7239           LD="${LD-ld} -64"
7240         fi
7241         ;;
7242       esac
7243       ;;
7244     esac
7245   fi
7246   rm -rf conftest*
7247   ;;
7248 esac
7249
7250 need_locks="$enable_libtool_lock"
7251
7252
7253   case $host_os in
7254     rhapsody* | darwin*)
7255     if test -n "$ac_tool_prefix"; then
7256   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7257 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259 $as_echo_n "checking for $ac_word... " >&6; }
7260 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7261   $as_echo_n "(cached) " >&6
7262 else
7263   if test -n "$DSYMUTIL"; then
7264   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7265 else
7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 for as_dir in $PATH
7268 do
7269   IFS=$as_save_IFS
7270   test -z "$as_dir" && as_dir=.
7271     for ac_exec_ext in '' $ac_executable_extensions; do
7272   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7273     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275     break 2
7276   fi
7277 done
7278   done
7279 IFS=$as_save_IFS
7280
7281 fi
7282 fi
7283 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7284 if test -n "$DSYMUTIL"; then
7285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7286 $as_echo "$DSYMUTIL" >&6; }
7287 else
7288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7289 $as_echo "no" >&6; }
7290 fi
7291
7292
7293 fi
7294 if test -z "$ac_cv_prog_DSYMUTIL"; then
7295   ac_ct_DSYMUTIL=$DSYMUTIL
7296   # Extract the first word of "dsymutil", so it can be a program name with args.
7297 set dummy dsymutil; ac_word=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7299 $as_echo_n "checking for $ac_word... " >&6; }
7300 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7301   $as_echo_n "(cached) " >&6
7302 else
7303   if test -n "$ac_ct_DSYMUTIL"; then
7304   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7305 else
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7307 for as_dir in $PATH
7308 do
7309   IFS=$as_save_IFS
7310   test -z "$as_dir" && as_dir=.
7311     for ac_exec_ext in '' $ac_executable_extensions; do
7312   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7313     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7315     break 2
7316   fi
7317 done
7318   done
7319 IFS=$as_save_IFS
7320
7321 fi
7322 fi
7323 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7324 if test -n "$ac_ct_DSYMUTIL"; then
7325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7326 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7327 else
7328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 $as_echo "no" >&6; }
7330 fi
7331
7332   if test "x$ac_ct_DSYMUTIL" = x; then
7333     DSYMUTIL=":"
7334   else
7335     case $cross_compiling:$ac_tool_warned in
7336 yes:)
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7339 ac_tool_warned=yes ;;
7340 esac
7341     DSYMUTIL=$ac_ct_DSYMUTIL
7342   fi
7343 else
7344   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7345 fi
7346
7347     if test -n "$ac_tool_prefix"; then
7348   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7349 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7351 $as_echo_n "checking for $ac_word... " >&6; }
7352 if ${ac_cv_prog_NMEDIT+:} false; then :
7353   $as_echo_n "(cached) " >&6
7354 else
7355   if test -n "$NMEDIT"; then
7356   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7357 else
7358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7359 for as_dir in $PATH
7360 do
7361   IFS=$as_save_IFS
7362   test -z "$as_dir" && as_dir=.
7363     for ac_exec_ext in '' $ac_executable_extensions; do
7364   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7365     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7367     break 2
7368   fi
7369 done
7370   done
7371 IFS=$as_save_IFS
7372
7373 fi
7374 fi
7375 NMEDIT=$ac_cv_prog_NMEDIT
7376 if test -n "$NMEDIT"; then
7377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7378 $as_echo "$NMEDIT" >&6; }
7379 else
7380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7381 $as_echo "no" >&6; }
7382 fi
7383
7384
7385 fi
7386 if test -z "$ac_cv_prog_NMEDIT"; then
7387   ac_ct_NMEDIT=$NMEDIT
7388   # Extract the first word of "nmedit", so it can be a program name with args.
7389 set dummy nmedit; ac_word=$2
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 $as_echo_n "checking for $ac_word... " >&6; }
7392 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7393   $as_echo_n "(cached) " >&6
7394 else
7395   if test -n "$ac_ct_NMEDIT"; then
7396   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7397 else
7398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 for as_dir in $PATH
7400 do
7401   IFS=$as_save_IFS
7402   test -z "$as_dir" && as_dir=.
7403     for ac_exec_ext in '' $ac_executable_extensions; do
7404   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7405     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407     break 2
7408   fi
7409 done
7410   done
7411 IFS=$as_save_IFS
7412
7413 fi
7414 fi
7415 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7416 if test -n "$ac_ct_NMEDIT"; then
7417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7418 $as_echo "$ac_ct_NMEDIT" >&6; }
7419 else
7420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421 $as_echo "no" >&6; }
7422 fi
7423
7424   if test "x$ac_ct_NMEDIT" = x; then
7425     NMEDIT=":"
7426   else
7427     case $cross_compiling:$ac_tool_warned in
7428 yes:)
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7431 ac_tool_warned=yes ;;
7432 esac
7433     NMEDIT=$ac_ct_NMEDIT
7434   fi
7435 else
7436   NMEDIT="$ac_cv_prog_NMEDIT"
7437 fi
7438
7439     if test -n "$ac_tool_prefix"; then
7440   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7441 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443 $as_echo_n "checking for $ac_word... " >&6; }
7444 if ${ac_cv_prog_LIPO+:} false; then :
7445   $as_echo_n "(cached) " >&6
7446 else
7447   if test -n "$LIPO"; then
7448   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7449 else
7450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7451 for as_dir in $PATH
7452 do
7453   IFS=$as_save_IFS
7454   test -z "$as_dir" && as_dir=.
7455     for ac_exec_ext in '' $ac_executable_extensions; do
7456   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7457     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7459     break 2
7460   fi
7461 done
7462   done
7463 IFS=$as_save_IFS
7464
7465 fi
7466 fi
7467 LIPO=$ac_cv_prog_LIPO
7468 if test -n "$LIPO"; then
7469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7470 $as_echo "$LIPO" >&6; }
7471 else
7472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 $as_echo "no" >&6; }
7474 fi
7475
7476
7477 fi
7478 if test -z "$ac_cv_prog_LIPO"; then
7479   ac_ct_LIPO=$LIPO
7480   # Extract the first word of "lipo", so it can be a program name with args.
7481 set dummy lipo; ac_word=$2
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7483 $as_echo_n "checking for $ac_word... " >&6; }
7484 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7485   $as_echo_n "(cached) " >&6
7486 else
7487   if test -n "$ac_ct_LIPO"; then
7488   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7489 else
7490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7491 for as_dir in $PATH
7492 do
7493   IFS=$as_save_IFS
7494   test -z "$as_dir" && as_dir=.
7495     for ac_exec_ext in '' $ac_executable_extensions; do
7496   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7497     ac_cv_prog_ac_ct_LIPO="lipo"
7498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7499     break 2
7500   fi
7501 done
7502   done
7503 IFS=$as_save_IFS
7504
7505 fi
7506 fi
7507 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7508 if test -n "$ac_ct_LIPO"; then
7509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7510 $as_echo "$ac_ct_LIPO" >&6; }
7511 else
7512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7513 $as_echo "no" >&6; }
7514 fi
7515
7516   if test "x$ac_ct_LIPO" = x; then
7517     LIPO=":"
7518   else
7519     case $cross_compiling:$ac_tool_warned in
7520 yes:)
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7523 ac_tool_warned=yes ;;
7524 esac
7525     LIPO=$ac_ct_LIPO
7526   fi
7527 else
7528   LIPO="$ac_cv_prog_LIPO"
7529 fi
7530
7531     if test -n "$ac_tool_prefix"; then
7532   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7533 set dummy ${ac_tool_prefix}otool; ac_word=$2
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7535 $as_echo_n "checking for $ac_word... " >&6; }
7536 if ${ac_cv_prog_OTOOL+:} false; then :
7537   $as_echo_n "(cached) " >&6
7538 else
7539   if test -n "$OTOOL"; then
7540   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7541 else
7542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 for as_dir in $PATH
7544 do
7545   IFS=$as_save_IFS
7546   test -z "$as_dir" && as_dir=.
7547     for ac_exec_ext in '' $ac_executable_extensions; do
7548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7549     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7551     break 2
7552   fi
7553 done
7554   done
7555 IFS=$as_save_IFS
7556
7557 fi
7558 fi
7559 OTOOL=$ac_cv_prog_OTOOL
7560 if test -n "$OTOOL"; then
7561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7562 $as_echo "$OTOOL" >&6; }
7563 else
7564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565 $as_echo "no" >&6; }
7566 fi
7567
7568
7569 fi
7570 if test -z "$ac_cv_prog_OTOOL"; then
7571   ac_ct_OTOOL=$OTOOL
7572   # Extract the first word of "otool", so it can be a program name with args.
7573 set dummy otool; ac_word=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575 $as_echo_n "checking for $ac_word... " >&6; }
7576 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7577   $as_echo_n "(cached) " >&6
7578 else
7579   if test -n "$ac_ct_OTOOL"; then
7580   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7581 else
7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 for as_dir in $PATH
7584 do
7585   IFS=$as_save_IFS
7586   test -z "$as_dir" && as_dir=.
7587     for ac_exec_ext in '' $ac_executable_extensions; do
7588   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7589     ac_cv_prog_ac_ct_OTOOL="otool"
7590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591     break 2
7592   fi
7593 done
7594   done
7595 IFS=$as_save_IFS
7596
7597 fi
7598 fi
7599 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7600 if test -n "$ac_ct_OTOOL"; then
7601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7602 $as_echo "$ac_ct_OTOOL" >&6; }
7603 else
7604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 $as_echo "no" >&6; }
7606 fi
7607
7608   if test "x$ac_ct_OTOOL" = x; then
7609     OTOOL=":"
7610   else
7611     case $cross_compiling:$ac_tool_warned in
7612 yes:)
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7615 ac_tool_warned=yes ;;
7616 esac
7617     OTOOL=$ac_ct_OTOOL
7618   fi
7619 else
7620   OTOOL="$ac_cv_prog_OTOOL"
7621 fi
7622
7623     if test -n "$ac_tool_prefix"; then
7624   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7625 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7627 $as_echo_n "checking for $ac_word... " >&6; }
7628 if ${ac_cv_prog_OTOOL64+:} false; then :
7629   $as_echo_n "(cached) " >&6
7630 else
7631   if test -n "$OTOOL64"; then
7632   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7633 else
7634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635 for as_dir in $PATH
7636 do
7637   IFS=$as_save_IFS
7638   test -z "$as_dir" && as_dir=.
7639     for ac_exec_ext in '' $ac_executable_extensions; do
7640   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7641     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7643     break 2
7644   fi
7645 done
7646   done
7647 IFS=$as_save_IFS
7648
7649 fi
7650 fi
7651 OTOOL64=$ac_cv_prog_OTOOL64
7652 if test -n "$OTOOL64"; then
7653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7654 $as_echo "$OTOOL64" >&6; }
7655 else
7656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657 $as_echo "no" >&6; }
7658 fi
7659
7660
7661 fi
7662 if test -z "$ac_cv_prog_OTOOL64"; then
7663   ac_ct_OTOOL64=$OTOOL64
7664   # Extract the first word of "otool64", so it can be a program name with args.
7665 set dummy otool64; ac_word=$2
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7667 $as_echo_n "checking for $ac_word... " >&6; }
7668 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7669   $as_echo_n "(cached) " >&6
7670 else
7671   if test -n "$ac_ct_OTOOL64"; then
7672   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7673 else
7674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675 for as_dir in $PATH
7676 do
7677   IFS=$as_save_IFS
7678   test -z "$as_dir" && as_dir=.
7679     for ac_exec_ext in '' $ac_executable_extensions; do
7680   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7681     ac_cv_prog_ac_ct_OTOOL64="otool64"
7682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7683     break 2
7684   fi
7685 done
7686   done
7687 IFS=$as_save_IFS
7688
7689 fi
7690 fi
7691 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7692 if test -n "$ac_ct_OTOOL64"; then
7693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7694 $as_echo "$ac_ct_OTOOL64" >&6; }
7695 else
7696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7697 $as_echo "no" >&6; }
7698 fi
7699
7700   if test "x$ac_ct_OTOOL64" = x; then
7701     OTOOL64=":"
7702   else
7703     case $cross_compiling:$ac_tool_warned in
7704 yes:)
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7707 ac_tool_warned=yes ;;
7708 esac
7709     OTOOL64=$ac_ct_OTOOL64
7710   fi
7711 else
7712   OTOOL64="$ac_cv_prog_OTOOL64"
7713 fi
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7742 $as_echo_n "checking for -single_module linker flag... " >&6; }
7743 if ${lt_cv_apple_cc_single_mod+:} false; then :
7744   $as_echo_n "(cached) " >&6
7745 else
7746   lt_cv_apple_cc_single_mod=no
7747       if test -z "${LT_MULTI_MODULE}"; then
7748         # By default we will add the -single_module flag. You can override
7749         # by either setting the environment variable LT_MULTI_MODULE
7750         # non-empty at configure time, or by adding -multi_module to the
7751         # link flags.
7752         rm -rf libconftest.dylib*
7753         echo "int foo(void){return 1;}" > conftest.c
7754         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7755 -dynamiclib -Wl,-single_module conftest.c" >&5
7756         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7757           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7758         _lt_result=$?
7759         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7760           lt_cv_apple_cc_single_mod=yes
7761         else
7762           cat conftest.err >&5
7763         fi
7764         rm -rf libconftest.dylib*
7765         rm -f conftest.*
7766       fi
7767 fi
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7769 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7770     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7771 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7772 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7773   $as_echo_n "(cached) " >&6
7774 else
7775   lt_cv_ld_exported_symbols_list=no
7776       save_LDFLAGS=$LDFLAGS
7777       echo "_main" > conftest.sym
7778       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h.  */
7781
7782 int
7783 main ()
7784 {
7785
7786   ;
7787   return 0;
7788 }
7789 _ACEOF
7790 if ac_fn_c_try_link "$LINENO"; then :
7791   lt_cv_ld_exported_symbols_list=yes
7792 else
7793   lt_cv_ld_exported_symbols_list=no
7794 fi
7795 rm -f core conftest.err conftest.$ac_objext \
7796     conftest$ac_exeext conftest.$ac_ext
7797         LDFLAGS="$save_LDFLAGS"
7798
7799 fi
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7801 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7802     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7803 $as_echo_n "checking for -force_load linker flag... " >&6; }
7804 if ${lt_cv_ld_force_load+:} false; then :
7805   $as_echo_n "(cached) " >&6
7806 else
7807   lt_cv_ld_force_load=no
7808       cat > conftest.c << _LT_EOF
7809 int forced_loaded() { return 2;}
7810 _LT_EOF
7811       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7812       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7813       echo "$AR cru libconftest.a conftest.o" >&5
7814       $AR cru libconftest.a conftest.o 2>&5
7815       cat > conftest.c << _LT_EOF
7816 int main() { return 0;}
7817 _LT_EOF
7818       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7819       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7820       _lt_result=$?
7821       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7822         lt_cv_ld_force_load=yes
7823       else
7824         cat conftest.err >&5
7825       fi
7826         rm -f conftest.err libconftest.a conftest conftest.c
7827         rm -rf conftest.dSYM
7828
7829 fi
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7831 $as_echo "$lt_cv_ld_force_load" >&6; }
7832     case $host_os in
7833     rhapsody* | darwin1.[012])
7834       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7835     darwin1.*)
7836       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7837     darwin*) # darwin 5.x on
7838       # if running on 10.5 or later, the deployment target defaults
7839       # to the OS version, if on x86, and 10.4, the deployment
7840       # target defaults to 10.4. Don't you love it?
7841       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7842         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7843           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7844         10.[012][,.]*)
7845           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7846         10.*)
7847           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7848       esac
7849     ;;
7850   esac
7851     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7852       _lt_dar_single_mod='$single_module'
7853     fi
7854     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7855       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7856     else
7857       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7858     fi
7859     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7860       _lt_dsymutil='~$DSYMUTIL $lib || :'
7861     else
7862       _lt_dsymutil=
7863     fi
7864     ;;
7865   esac
7866
7867 for ac_header in dlfcn.h
7868 do :
7869   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7870 "
7871 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7872   cat >>confdefs.h <<_ACEOF
7873 #define HAVE_DLFCN_H 1
7874 _ACEOF
7875
7876 fi
7877
7878 done
7879
7880
7881
7882
7883
7884 # Set options
7885
7886
7887
7888         enable_dlopen=no
7889
7890
7891   enable_win32_dll=no
7892
7893
7894             # Check whether --enable-shared was given.
7895 if test "${enable_shared+set}" = set; then :
7896   enableval=$enable_shared; p=${PACKAGE-default}
7897     case $enableval in
7898     yes) enable_shared=yes ;;
7899     no) enable_shared=no ;;
7900     *)
7901       enable_shared=no
7902       # Look at the argument we got.  We use all the common list separators.
7903       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7904       for pkg in $enableval; do
7905         IFS="$lt_save_ifs"
7906         if test "X$pkg" = "X$p"; then
7907           enable_shared=yes
7908         fi
7909       done
7910       IFS="$lt_save_ifs"
7911       ;;
7912     esac
7913 else
7914   enable_shared=yes
7915 fi
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925   # Check whether --enable-static was given.
7926 if test "${enable_static+set}" = set; then :
7927   enableval=$enable_static; p=${PACKAGE-default}
7928     case $enableval in
7929     yes) enable_static=yes ;;
7930     no) enable_static=no ;;
7931     *)
7932      enable_static=no
7933       # Look at the argument we got.  We use all the common list separators.
7934       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7935       for pkg in $enableval; do
7936         IFS="$lt_save_ifs"
7937         if test "X$pkg" = "X$p"; then
7938           enable_static=yes
7939         fi
7940       done
7941       IFS="$lt_save_ifs"
7942       ;;
7943     esac
7944 else
7945   enable_static=yes
7946 fi
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957 # Check whether --with-pic was given.
7958 if test "${with_pic+set}" = set; then :
7959   withval=$with_pic; pic_mode="$withval"
7960 else
7961   pic_mode=default
7962 fi
7963
7964
7965 test -z "$pic_mode" && pic_mode=default
7966
7967
7968
7969
7970
7971
7972
7973   # Check whether --enable-fast-install was given.
7974 if test "${enable_fast_install+set}" = set; then :
7975   enableval=$enable_fast_install; p=${PACKAGE-default}
7976     case $enableval in
7977     yes) enable_fast_install=yes ;;
7978     no) enable_fast_install=no ;;
7979     *)
7980       enable_fast_install=no
7981       # Look at the argument we got.  We use all the common list separators.
7982       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7983       for pkg in $enableval; do
7984         IFS="$lt_save_ifs"
7985         if test "X$pkg" = "X$p"; then
7986           enable_fast_install=yes
7987         fi
7988       done
7989       IFS="$lt_save_ifs"
7990       ;;
7991     esac
7992 else
7993   enable_fast_install=yes
7994 fi
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006 # This can be used to rebuild libtool when needed
8007 LIBTOOL_DEPS="$ltmain"
8008
8009 # Always use our own libtool.
8010 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037 test -z "$LN_S" && LN_S="ln -s"
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052 if test -n "${ZSH_VERSION+set}" ; then
8053    setopt NO_GLOB_SUBST
8054 fi
8055
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8057 $as_echo_n "checking for objdir... " >&6; }
8058 if ${lt_cv_objdir+:} false; then :
8059   $as_echo_n "(cached) " >&6
8060 else
8061   rm -f .libs 2>/dev/null
8062 mkdir .libs 2>/dev/null
8063 if test -d .libs; then
8064   lt_cv_objdir=.libs
8065 else
8066   # MS-DOS does not allow filenames that begin with a dot.
8067   lt_cv_objdir=_libs
8068 fi
8069 rmdir .libs 2>/dev/null
8070 fi
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8072 $as_echo "$lt_cv_objdir" >&6; }
8073 objdir=$lt_cv_objdir
8074
8075
8076
8077
8078
8079 cat >>confdefs.h <<_ACEOF
8080 #define LT_OBJDIR "$lt_cv_objdir/"
8081 _ACEOF
8082
8083
8084
8085
8086 case $host_os in
8087 aix3*)
8088   # AIX sometimes has problems with the GCC collect2 program.  For some
8089   # reason, if we set the COLLECT_NAMES environment variable, the problems
8090   # vanish in a puff of smoke.
8091   if test "X${COLLECT_NAMES+set}" != Xset; then
8092     COLLECT_NAMES=
8093     export COLLECT_NAMES
8094   fi
8095   ;;
8096 esac
8097
8098 # Global variables:
8099 ofile=libtool
8100 can_build_shared=yes
8101
8102 # All known linkers require a `.a' archive for static linking (except MSVC,
8103 # which needs '.lib').
8104 libext=a
8105
8106 with_gnu_ld="$lt_cv_prog_gnu_ld"
8107
8108 old_CC="$CC"
8109 old_CFLAGS="$CFLAGS"
8110
8111 # Set sane defaults for various variables
8112 test -z "$CC" && CC=cc
8113 test -z "$LTCC" && LTCC=$CC
8114 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8115 test -z "$LD" && LD=ld
8116 test -z "$ac_objext" && ac_objext=o
8117
8118 for cc_temp in $compiler""; do
8119   case $cc_temp in
8120     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8121     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8122     \-*) ;;
8123     *) break;;
8124   esac
8125 done
8126 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8127
8128
8129 # Only perform the check for file, if the check method requires it
8130 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8131 case $deplibs_check_method in
8132 file_magic*)
8133   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8134     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8135 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8136 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8137   $as_echo_n "(cached) " >&6
8138 else
8139   case $MAGIC_CMD in
8140 [\\/*] |  ?:[\\/]*)
8141   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8142   ;;
8143 *)
8144   lt_save_MAGIC_CMD="$MAGIC_CMD"
8145   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8146   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8147   for ac_dir in $ac_dummy; do
8148     IFS="$lt_save_ifs"
8149     test -z "$ac_dir" && ac_dir=.
8150     if test -f $ac_dir/${ac_tool_prefix}file; then
8151       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8152       if test -n "$file_magic_test_file"; then
8153         case $deplibs_check_method in
8154         "file_magic "*)
8155           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8156           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8157           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8158             $EGREP "$file_magic_regex" > /dev/null; then
8159             :
8160           else
8161             cat <<_LT_EOF 1>&2
8162
8163 *** Warning: the command libtool uses to detect shared libraries,
8164 *** $file_magic_cmd, produces output that libtool cannot recognize.
8165 *** The result is that libtool may fail to recognize shared libraries
8166 *** as such.  This will affect the creation of libtool libraries that
8167 *** depend on shared libraries, but programs linked with such libtool
8168 *** libraries will work regardless of this problem.  Nevertheless, you
8169 *** may want to report the problem to your system manager and/or to
8170 *** bug-libtool@gnu.org
8171
8172 _LT_EOF
8173           fi ;;
8174         esac
8175       fi
8176       break
8177     fi
8178   done
8179   IFS="$lt_save_ifs"
8180   MAGIC_CMD="$lt_save_MAGIC_CMD"
8181   ;;
8182 esac
8183 fi
8184
8185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8186 if test -n "$MAGIC_CMD"; then
8187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8188 $as_echo "$MAGIC_CMD" >&6; }
8189 else
8190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8191 $as_echo "no" >&6; }
8192 fi
8193
8194
8195
8196
8197
8198 if test -z "$lt_cv_path_MAGIC_CMD"; then
8199   if test -n "$ac_tool_prefix"; then
8200     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8201 $as_echo_n "checking for file... " >&6; }
8202 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8203   $as_echo_n "(cached) " >&6
8204 else
8205   case $MAGIC_CMD in
8206 [\\/*] |  ?:[\\/]*)
8207   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8208   ;;
8209 *)
8210   lt_save_MAGIC_CMD="$MAGIC_CMD"
8211   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8212   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8213   for ac_dir in $ac_dummy; do
8214     IFS="$lt_save_ifs"
8215     test -z "$ac_dir" && ac_dir=.
8216     if test -f $ac_dir/file; then
8217       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8218       if test -n "$file_magic_test_file"; then
8219         case $deplibs_check_method in
8220         "file_magic "*)
8221           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8222           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8223           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8224             $EGREP "$file_magic_regex" > /dev/null; then
8225             :
8226           else
8227             cat <<_LT_EOF 1>&2
8228
8229 *** Warning: the command libtool uses to detect shared libraries,
8230 *** $file_magic_cmd, produces output that libtool cannot recognize.
8231 *** The result is that libtool may fail to recognize shared libraries
8232 *** as such.  This will affect the creation of libtool libraries that
8233 *** depend on shared libraries, but programs linked with such libtool
8234 *** libraries will work regardless of this problem.  Nevertheless, you
8235 *** may want to report the problem to your system manager and/or to
8236 *** bug-libtool@gnu.org
8237
8238 _LT_EOF
8239           fi ;;
8240         esac
8241       fi
8242       break
8243     fi
8244   done
8245   IFS="$lt_save_ifs"
8246   MAGIC_CMD="$lt_save_MAGIC_CMD"
8247   ;;
8248 esac
8249 fi
8250
8251 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8252 if test -n "$MAGIC_CMD"; then
8253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8254 $as_echo "$MAGIC_CMD" >&6; }
8255 else
8256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8257 $as_echo "no" >&6; }
8258 fi
8259
8260
8261   else
8262     MAGIC_CMD=:
8263   fi
8264 fi
8265
8266   fi
8267   ;;
8268 esac
8269
8270 # Use C for the default configuration in the libtool script
8271
8272 lt_save_CC="$CC"
8273 ac_ext=c
8274 ac_cpp='$CPP $CPPFLAGS'
8275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8278
8279
8280 # Source file extension for C test sources.
8281 ac_ext=c
8282
8283 # Object file extension for compiled C test sources.
8284 objext=o
8285 objext=$objext
8286
8287 # Code to be used in simple compile tests
8288 lt_simple_compile_test_code="int some_variable = 0;"
8289
8290 # Code to be used in simple link tests
8291 lt_simple_link_test_code='int main(){return(0);}'
8292
8293
8294
8295
8296
8297
8298
8299 # If no C compiler was specified, use CC.
8300 LTCC=${LTCC-"$CC"}
8301
8302 # If no C compiler flags were specified, use CFLAGS.
8303 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8304
8305 # Allow CC to be a program name with arguments.
8306 compiler=$CC
8307
8308 # Save the default compiler, since it gets overwritten when the other
8309 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8310 compiler_DEFAULT=$CC
8311
8312 # save warnings/boilerplate of simple test code
8313 ac_outfile=conftest.$ac_objext
8314 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8315 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8316 _lt_compiler_boilerplate=`cat conftest.err`
8317 $RM conftest*
8318
8319 ac_outfile=conftest.$ac_objext
8320 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8321 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8322 _lt_linker_boilerplate=`cat conftest.err`
8323 $RM -r conftest*
8324
8325
8326 ## CAVEAT EMPTOR:
8327 ## There is no encapsulation within the following macros, do not change
8328 ## the running order or otherwise move them around unless you know exactly
8329 ## what you are doing...
8330 if test -n "$compiler"; then
8331
8332 lt_prog_compiler_no_builtin_flag=
8333
8334 if test "$GCC" = yes; then
8335   case $cc_basename in
8336   nvcc*)
8337     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8338   *)
8339     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8340   esac
8341
8342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8343 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8344 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8345   $as_echo_n "(cached) " >&6
8346 else
8347   lt_cv_prog_compiler_rtti_exceptions=no
8348    ac_outfile=conftest.$ac_objext
8349    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8350    lt_compiler_flag="-fno-rtti -fno-exceptions"
8351    # Insert the option either (1) after the last *FLAGS variable, or
8352    # (2) before a word containing "conftest.", or (3) at the end.
8353    # Note that $ac_compile itself does not contain backslashes and begins
8354    # with a dollar sign (not a hyphen), so the echo should work correctly.
8355    # The option is referenced via a variable to avoid confusing sed.
8356    lt_compile=`echo "$ac_compile" | $SED \
8357    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8358    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8359    -e 's:$: $lt_compiler_flag:'`
8360    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8361    (eval "$lt_compile" 2>conftest.err)
8362    ac_status=$?
8363    cat conftest.err >&5
8364    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365    if (exit $ac_status) && test -s "$ac_outfile"; then
8366      # The compiler can only warn and ignore the option if not recognized
8367      # So say no if there are warnings other than the usual output.
8368      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8369      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8370      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8371        lt_cv_prog_compiler_rtti_exceptions=yes
8372      fi
8373    fi
8374    $RM conftest*
8375
8376 fi
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8378 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8379
8380 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8381     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8382 else
8383     :
8384 fi
8385
8386 fi
8387
8388
8389
8390
8391
8392
8393   lt_prog_compiler_wl=
8394 lt_prog_compiler_pic=
8395 lt_prog_compiler_static=
8396
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8398 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8399
8400   if test "$GCC" = yes; then
8401     lt_prog_compiler_wl='-Wl,'
8402     lt_prog_compiler_static='-static'
8403
8404     case $host_os in
8405       aix*)
8406       # All AIX code is PIC.
8407       if test "$host_cpu" = ia64; then
8408         # AIX 5 now supports IA64 processor
8409         lt_prog_compiler_static='-Bstatic'
8410       fi
8411       lt_prog_compiler_pic='-fPIC'
8412       ;;
8413
8414     amigaos*)
8415       case $host_cpu in
8416       powerpc)
8417             # see comment about AmigaOS4 .so support
8418             lt_prog_compiler_pic='-fPIC'
8419         ;;
8420       m68k)
8421             # FIXME: we need at least 68020 code to build shared libraries, but
8422             # adding the `-m68020' flag to GCC prevents building anything better,
8423             # like `-m68040'.
8424             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8425         ;;
8426       esac
8427       ;;
8428
8429     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8430       # PIC is the default for these OSes.
8431       ;;
8432
8433     mingw* | cygwin* | pw32* | os2* | cegcc*)
8434       # This hack is so that the source file can tell whether it is being
8435       # built for inclusion in a dll (and should export symbols for example).
8436       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8437       # (--disable-auto-import) libraries
8438       lt_prog_compiler_pic='-DDLL_EXPORT'
8439       ;;
8440
8441     darwin* | rhapsody*)
8442       # PIC is the default on this platform
8443       # Common symbols not allowed in MH_DYLIB files
8444       lt_prog_compiler_pic='-fno-common'
8445       ;;
8446
8447     haiku*)
8448       # PIC is the default for Haiku.
8449       # The "-static" flag exists, but is broken.
8450       lt_prog_compiler_static=
8451       ;;
8452
8453     hpux*)
8454       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8455       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8456       # sets the default TLS model and affects inlining.
8457       case $host_cpu in
8458       hppa*64*)
8459         # +Z the default
8460         ;;
8461       *)
8462         lt_prog_compiler_pic='-fPIC'
8463         ;;
8464       esac
8465       ;;
8466
8467     interix[3-9]*)
8468       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8469       # Instead, we relocate shared libraries at runtime.
8470       ;;
8471
8472     msdosdjgpp*)
8473       # Just because we use GCC doesn't mean we suddenly get shared libraries
8474       # on systems that don't support them.
8475       lt_prog_compiler_can_build_shared=no
8476       enable_shared=no
8477       ;;
8478
8479     *nto* | *qnx*)
8480       # QNX uses GNU C++, but need to define -shared option too, otherwise
8481       # it will coredump.
8482       lt_prog_compiler_pic='-fPIC -shared'
8483       ;;
8484
8485     sysv4*MP*)
8486       if test -d /usr/nec; then
8487         lt_prog_compiler_pic=-Kconform_pic
8488       fi
8489       ;;
8490
8491     *)
8492       lt_prog_compiler_pic='-fPIC'
8493       ;;
8494     esac
8495
8496     case $cc_basename in
8497     nvcc*) # Cuda Compiler Driver 2.2
8498       lt_prog_compiler_wl='-Xlinker '
8499       lt_prog_compiler_pic='-Xcompiler -fPIC'
8500       ;;
8501     esac
8502   else
8503     # PORTME Check for flag to pass linker flags through the system compiler.
8504     case $host_os in
8505     aix*)
8506       lt_prog_compiler_wl='-Wl,'
8507       if test "$host_cpu" = ia64; then
8508         # AIX 5 now supports IA64 processor
8509         lt_prog_compiler_static='-Bstatic'
8510       else
8511         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8512       fi
8513       ;;
8514
8515     mingw* | cygwin* | pw32* | os2* | cegcc*)
8516       # This hack is so that the source file can tell whether it is being
8517       # built for inclusion in a dll (and should export symbols for example).
8518       lt_prog_compiler_pic='-DDLL_EXPORT'
8519       ;;
8520
8521     hpux9* | hpux10* | hpux11*)
8522       lt_prog_compiler_wl='-Wl,'
8523       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8524       # not for PA HP-UX.
8525       case $host_cpu in
8526       hppa*64*|ia64*)
8527         # +Z the default
8528         ;;
8529       *)
8530         lt_prog_compiler_pic='+Z'
8531         ;;
8532       esac
8533       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8534       lt_prog_compiler_static='${wl}-a ${wl}archive'
8535       ;;
8536
8537     irix5* | irix6* | nonstopux*)
8538       lt_prog_compiler_wl='-Wl,'
8539       # PIC (with -KPIC) is the default.
8540       lt_prog_compiler_static='-non_shared'
8541       ;;
8542
8543     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8544       case $cc_basename in
8545       # old Intel for x86_64 which still supported -KPIC.
8546       ecc*)
8547         lt_prog_compiler_wl='-Wl,'
8548         lt_prog_compiler_pic='-KPIC'
8549         lt_prog_compiler_static='-static'
8550         ;;
8551       # icc used to be incompatible with GCC.
8552       # ICC 10 doesn't accept -KPIC any more.
8553       icc* | ifort*)
8554         lt_prog_compiler_wl='-Wl,'
8555         lt_prog_compiler_pic='-fPIC'
8556         lt_prog_compiler_static='-static'
8557         ;;
8558       # Lahey Fortran 8.1.
8559       lf95*)
8560         lt_prog_compiler_wl='-Wl,'
8561         lt_prog_compiler_pic='--shared'
8562         lt_prog_compiler_static='--static'
8563         ;;
8564       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8565         # Portland Group compilers (*not* the Pentium gcc compiler,
8566         # which looks to be a dead project)
8567         lt_prog_compiler_wl='-Wl,'
8568         lt_prog_compiler_pic='-fpic'
8569         lt_prog_compiler_static='-Bstatic'
8570         ;;
8571       ccc*)
8572         lt_prog_compiler_wl='-Wl,'
8573         # All Alpha code is PIC.
8574         lt_prog_compiler_static='-non_shared'
8575         ;;
8576       xl* | bgxl* | bgf* | mpixl*)
8577         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8578         lt_prog_compiler_wl='-Wl,'
8579         lt_prog_compiler_pic='-qpic'
8580         lt_prog_compiler_static='-qstaticlink'
8581         ;;
8582       *)
8583         case `$CC -V 2>&1 | sed 5q` in
8584         *Sun\ F* | *Sun*Fortran*)
8585           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8586           lt_prog_compiler_pic='-KPIC'
8587           lt_prog_compiler_static='-Bstatic'
8588           lt_prog_compiler_wl=''
8589           ;;
8590         *Sun\ C*)
8591           # Sun C 5.9
8592           lt_prog_compiler_pic='-KPIC'
8593           lt_prog_compiler_static='-Bstatic'
8594           lt_prog_compiler_wl='-Wl,'
8595           ;;
8596         esac
8597         ;;
8598       esac
8599       ;;
8600
8601     newsos6)
8602       lt_prog_compiler_pic='-KPIC'
8603       lt_prog_compiler_static='-Bstatic'
8604       ;;
8605
8606     *nto* | *qnx*)
8607       # QNX uses GNU C++, but need to define -shared option too, otherwise
8608       # it will coredump.
8609       lt_prog_compiler_pic='-fPIC -shared'
8610       ;;
8611
8612     osf3* | osf4* | osf5*)
8613       lt_prog_compiler_wl='-Wl,'
8614       # All OSF/1 code is PIC.
8615       lt_prog_compiler_static='-non_shared'
8616       ;;
8617
8618     rdos*)
8619       lt_prog_compiler_static='-non_shared'
8620       ;;
8621
8622     solaris*)
8623       lt_prog_compiler_pic='-KPIC'
8624       lt_prog_compiler_static='-Bstatic'
8625       case $cc_basename in
8626       f77* | f90* | f95*)
8627         lt_prog_compiler_wl='-Qoption ld ';;
8628       *)
8629         lt_prog_compiler_wl='-Wl,';;
8630       esac
8631       ;;
8632
8633     sunos4*)
8634       lt_prog_compiler_wl='-Qoption ld '
8635       lt_prog_compiler_pic='-PIC'
8636       lt_prog_compiler_static='-Bstatic'
8637       ;;
8638
8639     sysv4 | sysv4.2uw2* | sysv4.3*)
8640       lt_prog_compiler_wl='-Wl,'
8641       lt_prog_compiler_pic='-KPIC'
8642       lt_prog_compiler_static='-Bstatic'
8643       ;;
8644
8645     sysv4*MP*)
8646       if test -d /usr/nec ;then
8647         lt_prog_compiler_pic='-Kconform_pic'
8648         lt_prog_compiler_static='-Bstatic'
8649       fi
8650       ;;
8651
8652     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8653       lt_prog_compiler_wl='-Wl,'
8654       lt_prog_compiler_pic='-KPIC'
8655       lt_prog_compiler_static='-Bstatic'
8656       ;;
8657
8658     unicos*)
8659       lt_prog_compiler_wl='-Wl,'
8660       lt_prog_compiler_can_build_shared=no
8661       ;;
8662
8663     uts4*)
8664       lt_prog_compiler_pic='-pic'
8665       lt_prog_compiler_static='-Bstatic'
8666       ;;
8667
8668     *)
8669       lt_prog_compiler_can_build_shared=no
8670       ;;
8671     esac
8672   fi
8673
8674 case $host_os in
8675   # For platforms which do not support PIC, -DPIC is meaningless:
8676   *djgpp*)
8677     lt_prog_compiler_pic=
8678     ;;
8679   *)
8680     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8681     ;;
8682 esac
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8684 $as_echo "$lt_prog_compiler_pic" >&6; }
8685
8686
8687
8688
8689
8690
8691 #
8692 # Check to make sure the PIC flag actually works.
8693 #
8694 if test -n "$lt_prog_compiler_pic"; then
8695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8696 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8697 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8698   $as_echo_n "(cached) " >&6
8699 else
8700   lt_cv_prog_compiler_pic_works=no
8701    ac_outfile=conftest.$ac_objext
8702    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8703    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8704    # Insert the option either (1) after the last *FLAGS variable, or
8705    # (2) before a word containing "conftest.", or (3) at the end.
8706    # Note that $ac_compile itself does not contain backslashes and begins
8707    # with a dollar sign (not a hyphen), so the echo should work correctly.
8708    # The option is referenced via a variable to avoid confusing sed.
8709    lt_compile=`echo "$ac_compile" | $SED \
8710    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8711    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8712    -e 's:$: $lt_compiler_flag:'`
8713    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8714    (eval "$lt_compile" 2>conftest.err)
8715    ac_status=$?
8716    cat conftest.err >&5
8717    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718    if (exit $ac_status) && test -s "$ac_outfile"; then
8719      # The compiler can only warn and ignore the option if not recognized
8720      # So say no if there are warnings other than the usual output.
8721      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8722      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8723      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8724        lt_cv_prog_compiler_pic_works=yes
8725      fi
8726    fi
8727    $RM conftest*
8728
8729 fi
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8731 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8732
8733 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8734     case $lt_prog_compiler_pic in
8735      "" | " "*) ;;
8736      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8737      esac
8738 else
8739     lt_prog_compiler_pic=
8740      lt_prog_compiler_can_build_shared=no
8741 fi
8742
8743 fi
8744
8745
8746
8747
8748
8749
8750 #
8751 # Check to make sure the static flag actually works.
8752 #
8753 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8755 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8756 if ${lt_cv_prog_compiler_static_works+:} false; then :
8757   $as_echo_n "(cached) " >&6
8758 else
8759   lt_cv_prog_compiler_static_works=no
8760    save_LDFLAGS="$LDFLAGS"
8761    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8762    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8763    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8764      # The linker can only warn and ignore the option if not recognized
8765      # So say no if there are warnings
8766      if test -s conftest.err; then
8767        # Append any errors to the config.log.
8768        cat conftest.err 1>&5
8769        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8770        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8771        if diff conftest.exp conftest.er2 >/dev/null; then
8772          lt_cv_prog_compiler_static_works=yes
8773        fi
8774      else
8775        lt_cv_prog_compiler_static_works=yes
8776      fi
8777    fi
8778    $RM -r conftest*
8779    LDFLAGS="$save_LDFLAGS"
8780
8781 fi
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8783 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8784
8785 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8786     :
8787 else
8788     lt_prog_compiler_static=
8789 fi
8790
8791
8792
8793
8794
8795
8796
8797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8798 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8799 if ${lt_cv_prog_compiler_c_o+:} false; then :
8800   $as_echo_n "(cached) " >&6
8801 else
8802   lt_cv_prog_compiler_c_o=no
8803    $RM -r conftest 2>/dev/null
8804    mkdir conftest
8805    cd conftest
8806    mkdir out
8807    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8808
8809    lt_compiler_flag="-o out/conftest2.$ac_objext"
8810    # Insert the option either (1) after the last *FLAGS variable, or
8811    # (2) before a word containing "conftest.", or (3) at the end.
8812    # Note that $ac_compile itself does not contain backslashes and begins
8813    # with a dollar sign (not a hyphen), so the echo should work correctly.
8814    lt_compile=`echo "$ac_compile" | $SED \
8815    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8816    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8817    -e 's:$: $lt_compiler_flag:'`
8818    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8819    (eval "$lt_compile" 2>out/conftest.err)
8820    ac_status=$?
8821    cat out/conftest.err >&5
8822    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8824    then
8825      # The compiler can only warn and ignore the option if not recognized
8826      # So say no if there are warnings
8827      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8828      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8829      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8830        lt_cv_prog_compiler_c_o=yes
8831      fi
8832    fi
8833    chmod u+w . 2>&5
8834    $RM conftest*
8835    # SGI C++ compiler will create directory out/ii_files/ for
8836    # template instantiation
8837    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8838    $RM out/* && rmdir out
8839    cd ..
8840    $RM -r conftest
8841    $RM conftest*
8842
8843 fi
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8845 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8846
8847
8848
8849
8850
8851
8852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8853 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8854 if ${lt_cv_prog_compiler_c_o+:} false; then :
8855   $as_echo_n "(cached) " >&6
8856 else
8857   lt_cv_prog_compiler_c_o=no
8858    $RM -r conftest 2>/dev/null
8859    mkdir conftest
8860    cd conftest
8861    mkdir out
8862    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8863
8864    lt_compiler_flag="-o out/conftest2.$ac_objext"
8865    # Insert the option either (1) after the last *FLAGS variable, or
8866    # (2) before a word containing "conftest.", or (3) at the end.
8867    # Note that $ac_compile itself does not contain backslashes and begins
8868    # with a dollar sign (not a hyphen), so the echo should work correctly.
8869    lt_compile=`echo "$ac_compile" | $SED \
8870    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8871    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8872    -e 's:$: $lt_compiler_flag:'`
8873    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8874    (eval "$lt_compile" 2>out/conftest.err)
8875    ac_status=$?
8876    cat out/conftest.err >&5
8877    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8879    then
8880      # The compiler can only warn and ignore the option if not recognized
8881      # So say no if there are warnings
8882      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8883      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8884      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8885        lt_cv_prog_compiler_c_o=yes
8886      fi
8887    fi
8888    chmod u+w . 2>&5
8889    $RM conftest*
8890    # SGI C++ compiler will create directory out/ii_files/ for
8891    # template instantiation
8892    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8893    $RM out/* && rmdir out
8894    cd ..
8895    $RM -r conftest
8896    $RM conftest*
8897
8898 fi
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8900 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8901
8902
8903
8904
8905 hard_links="nottested"
8906 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8907   # do not overwrite the value of need_locks provided by the user
8908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8909 $as_echo_n "checking if we can lock with hard links... " >&6; }
8910   hard_links=yes
8911   $RM conftest*
8912   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8913   touch conftest.a
8914   ln conftest.a conftest.b 2>&5 || hard_links=no
8915   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8917 $as_echo "$hard_links" >&6; }
8918   if test "$hard_links" = no; then
8919     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8920 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8921     need_locks=warn
8922   fi
8923 else
8924   need_locks=no
8925 fi
8926
8927
8928
8929
8930
8931
8932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8933 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8934
8935   runpath_var=
8936   allow_undefined_flag=
8937   always_export_symbols=no
8938   archive_cmds=
8939   archive_expsym_cmds=
8940   compiler_needs_object=no
8941   enable_shared_with_static_runtimes=no
8942   export_dynamic_flag_spec=
8943   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8944   hardcode_automatic=no
8945   hardcode_direct=no
8946   hardcode_direct_absolute=no
8947   hardcode_libdir_flag_spec=
8948   hardcode_libdir_flag_spec_ld=
8949   hardcode_libdir_separator=
8950   hardcode_minus_L=no
8951   hardcode_shlibpath_var=unsupported
8952   inherit_rpath=no
8953   link_all_deplibs=unknown
8954   module_cmds=
8955   module_expsym_cmds=
8956   old_archive_from_new_cmds=
8957   old_archive_from_expsyms_cmds=
8958   thread_safe_flag_spec=
8959   whole_archive_flag_spec=
8960   # include_expsyms should be a list of space-separated symbols to be *always*
8961   # included in the symbol list
8962   include_expsyms=
8963   # exclude_expsyms can be an extended regexp of symbols to exclude
8964   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8965   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8966   # as well as any symbol that contains `d'.
8967   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8968   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8969   # platforms (ab)use it in PIC code, but their linkers get confused if
8970   # the symbol is explicitly referenced.  Since portable code cannot
8971   # rely on this symbol name, it's probably fine to never include it in
8972   # preloaded symbol tables.
8973   # Exclude shared library initialization/finalization symbols.
8974   extract_expsyms_cmds=
8975
8976   case $host_os in
8977   cygwin* | mingw* | pw32* | cegcc*)
8978     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8979     # When not using gcc, we currently assume that we are using
8980     # Microsoft Visual C++.
8981     if test "$GCC" != yes; then
8982       with_gnu_ld=no
8983     fi
8984     ;;
8985   interix*)
8986     # we just hope/assume this is gcc and not c89 (= MSVC++)
8987     with_gnu_ld=yes
8988     ;;
8989   openbsd*)
8990     with_gnu_ld=no
8991     ;;
8992   esac
8993
8994   ld_shlibs=yes
8995
8996   # On some targets, GNU ld is compatible enough with the native linker
8997   # that we're better off using the native interface for both.
8998   lt_use_gnu_ld_interface=no
8999   if test "$with_gnu_ld" = yes; then
9000     case $host_os in
9001       aix*)
9002         # The AIX port of GNU ld has always aspired to compatibility
9003         # with the native linker.  However, as the warning in the GNU ld
9004         # block says, versions before 2.19.5* couldn't really create working
9005         # shared libraries, regardless of the interface used.
9006         case `$LD -v 2>&1` in
9007           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9008           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9009           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9010           *)
9011             lt_use_gnu_ld_interface=yes
9012             ;;
9013         esac
9014         ;;
9015       *)
9016         lt_use_gnu_ld_interface=yes
9017         ;;
9018     esac
9019   fi
9020
9021   if test "$lt_use_gnu_ld_interface" = yes; then
9022     # If archive_cmds runs LD, not CC, wlarc should be empty
9023     wlarc='${wl}'
9024
9025     # Set some defaults for GNU ld with shared library support. These
9026     # are reset later if shared libraries are not supported. Putting them
9027     # here allows them to be overridden if necessary.
9028     runpath_var=LD_RUN_PATH
9029     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9030     export_dynamic_flag_spec='${wl}--export-dynamic'
9031     # ancient GNU ld didn't support --whole-archive et. al.
9032     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9033       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9034     else
9035       whole_archive_flag_spec=
9036     fi
9037     supports_anon_versioning=no
9038     case `$LD -v 2>&1` in
9039       *GNU\ gold*) supports_anon_versioning=yes ;;
9040       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9041       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9042       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9043       *\ 2.11.*) ;; # other 2.11 versions
9044       *) supports_anon_versioning=yes ;;
9045     esac
9046
9047     # See if GNU ld supports shared libraries.
9048     case $host_os in
9049     aix[3-9]*)
9050       # On AIX/PPC, the GNU linker is very broken
9051       if test "$host_cpu" != ia64; then
9052         ld_shlibs=no
9053         cat <<_LT_EOF 1>&2
9054
9055 *** Warning: the GNU linker, at least up to release 2.19, is reported
9056 *** to be unable to reliably create shared libraries on AIX.
9057 *** Therefore, libtool is disabling shared libraries support.  If you
9058 *** really care for shared libraries, you may want to install binutils
9059 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9060 *** You will then need to restart the configuration process.
9061
9062 _LT_EOF
9063       fi
9064       ;;
9065
9066     amigaos*)
9067       case $host_cpu in
9068       powerpc)
9069             # see comment about AmigaOS4 .so support
9070             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9071             archive_expsym_cmds=''
9072         ;;
9073       m68k)
9074             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)'
9075             hardcode_libdir_flag_spec='-L$libdir'
9076             hardcode_minus_L=yes
9077         ;;
9078       esac
9079       ;;
9080
9081     beos*)
9082       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9083         allow_undefined_flag=unsupported
9084         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9085         # support --undefined.  This deserves some investigation.  FIXME
9086         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9087       else
9088         ld_shlibs=no
9089       fi
9090       ;;
9091
9092     cygwin* | mingw* | pw32* | cegcc*)
9093       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9094       # as there is no search path for DLLs.
9095       hardcode_libdir_flag_spec='-L$libdir'
9096       export_dynamic_flag_spec='${wl}--export-all-symbols'
9097       allow_undefined_flag=unsupported
9098       always_export_symbols=no
9099       enable_shared_with_static_runtimes=yes
9100       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9101
9102       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9103         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9104         # If the export-symbols file already is a .def file (1st line
9105         # is EXPORTS), use it as is; otherwise, prepend...
9106         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9107           cp $export_symbols $output_objdir/$soname.def;
9108         else
9109           echo EXPORTS > $output_objdir/$soname.def;
9110           cat $export_symbols >> $output_objdir/$soname.def;
9111         fi~
9112         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9113       else
9114         ld_shlibs=no
9115       fi
9116       ;;
9117
9118     haiku*)
9119       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9120       link_all_deplibs=yes
9121       ;;
9122
9123     interix[3-9]*)
9124       hardcode_direct=no
9125       hardcode_shlibpath_var=no
9126       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9127       export_dynamic_flag_spec='${wl}-E'
9128       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9129       # Instead, shared libraries are loaded at an image base (0x10000000 by
9130       # default) and relocated if they conflict, which is a slow very memory
9131       # consuming and fragmenting process.  To avoid this, we pick a random,
9132       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9133       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9134       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9135       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'
9136       ;;
9137
9138     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9139       tmp_diet=no
9140       if test "$host_os" = linux-dietlibc; then
9141         case $cc_basename in
9142           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9143         esac
9144       fi
9145       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9146          && test "$tmp_diet" = no
9147       then
9148         tmp_addflag=' $pic_flag'
9149         tmp_sharedflag='-shared'
9150         case $cc_basename,$host_cpu in
9151         pgcc*)                          # Portland Group C compiler
9152           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'
9153           tmp_addflag=' $pic_flag'
9154           ;;
9155         pgf77* | pgf90* | pgf95* | pgfortran*)
9156                                         # Portland Group f77 and f90 compilers
9157           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'
9158           tmp_addflag=' $pic_flag -Mnomain' ;;
9159         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9160           tmp_addflag=' -i_dynamic' ;;
9161         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9162           tmp_addflag=' -i_dynamic -nofor_main' ;;
9163         ifc* | ifort*)                  # Intel Fortran compiler
9164           tmp_addflag=' -nofor_main' ;;
9165         lf95*)                          # Lahey Fortran 8.1
9166           whole_archive_flag_spec=
9167           tmp_sharedflag='--shared' ;;
9168         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9169           tmp_sharedflag='-qmkshrobj'
9170           tmp_addflag= ;;
9171         nvcc*)  # Cuda Compiler Driver 2.2
9172           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'
9173           compiler_needs_object=yes
9174           ;;
9175         esac
9176         case `$CC -V 2>&1 | sed 5q` in
9177         *Sun\ C*)                       # Sun C 5.9
9178           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'
9179           compiler_needs_object=yes
9180           tmp_sharedflag='-G' ;;
9181         *Sun\ F*)                       # Sun Fortran 8.3
9182           tmp_sharedflag='-G' ;;
9183         esac
9184         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9185
9186         if test "x$supports_anon_versioning" = xyes; then
9187           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9188             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9189             echo "local: *; };" >> $output_objdir/$libname.ver~
9190             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9191         fi
9192
9193         case $cc_basename in
9194         xlf* | bgf* | bgxlf* | mpixlf*)
9195           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9196           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9197           hardcode_libdir_flag_spec=
9198           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9199           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9200           if test "x$supports_anon_versioning" = xyes; then
9201             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9202               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9203               echo "local: *; };" >> $output_objdir/$libname.ver~
9204               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9205           fi
9206           ;;
9207         esac
9208       else
9209         ld_shlibs=no
9210       fi
9211       ;;
9212
9213     netbsd*)
9214       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9215         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9216         wlarc=
9217       else
9218         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9219         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9220       fi
9221       ;;
9222
9223     solaris*)
9224       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9225         ld_shlibs=no
9226         cat <<_LT_EOF 1>&2
9227
9228 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9229 *** create shared libraries on Solaris systems.  Therefore, libtool
9230 *** is disabling shared libraries support.  We urge you to upgrade GNU
9231 *** binutils to release 2.9.1 or newer.  Another option is to modify
9232 *** your PATH or compiler configuration so that the native linker is
9233 *** used, and then restart.
9234
9235 _LT_EOF
9236       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9237         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9238         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9239       else
9240         ld_shlibs=no
9241       fi
9242       ;;
9243
9244     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9245       case `$LD -v 2>&1` in
9246         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9247         ld_shlibs=no
9248         cat <<_LT_EOF 1>&2
9249
9250 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9251 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9252 *** is disabling shared libraries support.  We urge you to upgrade GNU
9253 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9254 *** your PATH or compiler configuration so that the native linker is
9255 *** used, and then restart.
9256
9257 _LT_EOF
9258         ;;
9259         *)
9260           # For security reasons, it is highly recommended that you always
9261           # use absolute paths for naming shared libraries, and exclude the
9262           # DT_RUNPATH tag from executables and libraries.  But doing so
9263           # requires that you compile everything twice, which is a pain.
9264           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9265             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9266             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9267             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9268           else
9269             ld_shlibs=no
9270           fi
9271         ;;
9272       esac
9273       ;;
9274
9275     sunos4*)
9276       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9277       wlarc=
9278       hardcode_direct=yes
9279       hardcode_shlibpath_var=no
9280       ;;
9281
9282     *)
9283       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9284         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9285         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9286       else
9287         ld_shlibs=no
9288       fi
9289       ;;
9290     esac
9291
9292     if test "$ld_shlibs" = no; then
9293       runpath_var=
9294       hardcode_libdir_flag_spec=
9295       export_dynamic_flag_spec=
9296       whole_archive_flag_spec=
9297     fi
9298   else
9299     # PORTME fill in a description of your system's linker (not GNU ld)
9300     case $host_os in
9301     aix3*)
9302       allow_undefined_flag=unsupported
9303       always_export_symbols=yes
9304       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'
9305       # Note: this linker hardcodes the directories in LIBPATH if there
9306       # are no directories specified by -L.
9307       hardcode_minus_L=yes
9308       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9309         # Neither direct hardcoding nor static linking is supported with a
9310         # broken collect2.
9311         hardcode_direct=unsupported
9312       fi
9313       ;;
9314
9315     aix[4-9]*)
9316       if test "$host_cpu" = ia64; then
9317         # On IA64, the linker does run time linking by default, so we don't
9318         # have to do anything special.
9319         aix_use_runtimelinking=no
9320         exp_sym_flag='-Bexport'
9321         no_entry_flag=""
9322       else
9323         # If we're using GNU nm, then we don't want the "-C" option.
9324         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9325         # Also, AIX nm treats weak defined symbols like other global
9326         # defined symbols, whereas GNU nm marks them as "W".
9327         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9328           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'
9329         else
9330           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'
9331         fi
9332         aix_use_runtimelinking=no
9333
9334         # Test if we are trying to use run time linking or normal
9335         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9336         # need to do runtime linking.
9337         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9338           for ld_flag in $LDFLAGS; do
9339           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9340             aix_use_runtimelinking=yes
9341             break
9342           fi
9343           done
9344           ;;
9345         esac
9346
9347         exp_sym_flag='-bexport'
9348         no_entry_flag='-bnoentry'
9349       fi
9350
9351       # When large executables or shared objects are built, AIX ld can
9352       # have problems creating the table of contents.  If linking a library
9353       # or program results in "error TOC overflow" add -mminimal-toc to
9354       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9355       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9356
9357       archive_cmds=''
9358       hardcode_direct=yes
9359       hardcode_direct_absolute=yes
9360       hardcode_libdir_separator=':'
9361       link_all_deplibs=yes
9362       file_list_spec='${wl}-f,'
9363
9364       if test "$GCC" = yes; then
9365         case $host_os in aix4.[012]|aix4.[012].*)
9366         # We only want to do this on AIX 4.2 and lower, the check
9367         # below for broken collect2 doesn't work under 4.3+
9368           collect2name=`${CC} -print-prog-name=collect2`
9369           if test -f "$collect2name" &&
9370            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9371           then
9372           # We have reworked collect2
9373           :
9374           else
9375           # We have old collect2
9376           hardcode_direct=unsupported
9377           # It fails to find uninstalled libraries when the uninstalled
9378           # path is not listed in the libpath.  Setting hardcode_minus_L
9379           # to unsupported forces relinking
9380           hardcode_minus_L=yes
9381           hardcode_libdir_flag_spec='-L$libdir'
9382           hardcode_libdir_separator=
9383           fi
9384           ;;
9385         esac
9386         shared_flag='-shared'
9387         if test "$aix_use_runtimelinking" = yes; then
9388           shared_flag="$shared_flag "'${wl}-G'
9389         fi
9390       else
9391         # not using gcc
9392         if test "$host_cpu" = ia64; then
9393         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9394         # chokes on -Wl,-G. The following line is correct:
9395           shared_flag='-G'
9396         else
9397           if test "$aix_use_runtimelinking" = yes; then
9398             shared_flag='${wl}-G'
9399           else
9400             shared_flag='${wl}-bM:SRE'
9401           fi
9402         fi
9403       fi
9404
9405       export_dynamic_flag_spec='${wl}-bexpall'
9406       # It seems that -bexpall does not export symbols beginning with
9407       # underscore (_), so it is better to generate a list of symbols to export.
9408       always_export_symbols=yes
9409       if test "$aix_use_runtimelinking" = yes; then
9410         # Warning - without using the other runtime loading flags (-brtl),
9411         # -berok will link without error, but may produce a broken library.
9412         allow_undefined_flag='-berok'
9413         # Determine the default libpath from the value encoded in an
9414         # empty executable.
9415         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h.  */
9417
9418 int
9419 main ()
9420 {
9421
9422   ;
9423   return 0;
9424 }
9425 _ACEOF
9426 if ac_fn_c_try_link "$LINENO"; then :
9427
9428 lt_aix_libpath_sed='
9429     /Import File Strings/,/^$/ {
9430         /^0/ {
9431             s/^0  *\(.*\)$/\1/
9432             p
9433         }
9434     }'
9435 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9436 # Check for a 64-bit object if we didn't find anything.
9437 if test -z "$aix_libpath"; then
9438   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9439 fi
9440 fi
9441 rm -f core conftest.err conftest.$ac_objext \
9442     conftest$ac_exeext conftest.$ac_ext
9443 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9444
9445         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9446         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"
9447       else
9448         if test "$host_cpu" = ia64; then
9449           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9450           allow_undefined_flag="-z nodefs"
9451           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"
9452         else
9453          # Determine the default libpath from the value encoded in an
9454          # empty executable.
9455          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h.  */
9457
9458 int
9459 main ()
9460 {
9461
9462   ;
9463   return 0;
9464 }
9465 _ACEOF
9466 if ac_fn_c_try_link "$LINENO"; then :
9467
9468 lt_aix_libpath_sed='
9469     /Import File Strings/,/^$/ {
9470         /^0/ {
9471             s/^0  *\(.*\)$/\1/
9472             p
9473         }
9474     }'
9475 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9476 # Check for a 64-bit object if we didn't find anything.
9477 if test -z "$aix_libpath"; then
9478   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9479 fi
9480 fi
9481 rm -f core conftest.err conftest.$ac_objext \
9482     conftest$ac_exeext conftest.$ac_ext
9483 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9484
9485          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9486           # Warning - without using the other run time loading flags,
9487           # -berok will link without error, but may produce a broken library.
9488           no_undefined_flag=' ${wl}-bernotok'
9489           allow_undefined_flag=' ${wl}-berok'
9490           if test "$with_gnu_ld" = yes; then
9491             # We only use this code for GNU lds that support --whole-archive.
9492             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9493           else
9494             # Exported symbols can be pulled into shared objects from archives
9495             whole_archive_flag_spec='$convenience'
9496           fi
9497           archive_cmds_need_lc=yes
9498           # This is similar to how AIX traditionally builds its shared libraries.
9499           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'
9500         fi
9501       fi
9502       ;;
9503
9504     amigaos*)
9505       case $host_cpu in
9506       powerpc)
9507             # see comment about AmigaOS4 .so support
9508             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9509             archive_expsym_cmds=''
9510         ;;
9511       m68k)
9512             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)'
9513             hardcode_libdir_flag_spec='-L$libdir'
9514             hardcode_minus_L=yes
9515         ;;
9516       esac
9517       ;;
9518
9519     bsdi[45]*)
9520       export_dynamic_flag_spec=-rdynamic
9521       ;;
9522
9523     cygwin* | mingw* | pw32* | cegcc*)
9524       # When not using gcc, we currently assume that we are using
9525       # Microsoft Visual C++.
9526       # hardcode_libdir_flag_spec is actually meaningless, as there is
9527       # no search path for DLLs.
9528       hardcode_libdir_flag_spec=' '
9529       allow_undefined_flag=unsupported
9530       # Tell ltmain to make .lib files, not .a files.
9531       libext=lib
9532       # Tell ltmain to make .dll files, not .so files.
9533       shrext_cmds=".dll"
9534       # FIXME: Setting linknames here is a bad hack.
9535       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9536       # The linker will automatically build a .lib file if we build a DLL.
9537       old_archive_from_new_cmds='true'
9538       # FIXME: Should let the user specify the lib program.
9539       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9540       fix_srcfile_path='`cygpath -w "$srcfile"`'
9541       enable_shared_with_static_runtimes=yes
9542       ;;
9543
9544     darwin* | rhapsody*)
9545
9546
9547   archive_cmds_need_lc=no
9548   hardcode_direct=no
9549   hardcode_automatic=yes
9550   hardcode_shlibpath_var=unsupported
9551   if test "$lt_cv_ld_force_load" = "yes"; then
9552     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\"`'
9553   else
9554     whole_archive_flag_spec=''
9555   fi
9556   link_all_deplibs=yes
9557   allow_undefined_flag="$_lt_dar_allow_undefined"
9558   case $cc_basename in
9559      ifort*) _lt_dar_can_shared=yes ;;
9560      *) _lt_dar_can_shared=$GCC ;;
9561   esac
9562   if test "$_lt_dar_can_shared" = "yes"; then
9563     output_verbose_link_cmd=func_echo_all
9564     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9565     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9566     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}"
9567     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}"
9568
9569   else
9570   ld_shlibs=no
9571   fi
9572
9573       ;;
9574
9575     dgux*)
9576       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9577       hardcode_libdir_flag_spec='-L$libdir'
9578       hardcode_shlibpath_var=no
9579       ;;
9580
9581     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9582     # support.  Future versions do this automatically, but an explicit c++rt0.o
9583     # does not break anything, and helps significantly (at the cost of a little
9584     # extra space).
9585     freebsd2.2*)
9586       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9587       hardcode_libdir_flag_spec='-R$libdir'
9588       hardcode_direct=yes
9589       hardcode_shlibpath_var=no
9590       ;;
9591
9592     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9593     freebsd2.*)
9594       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9595       hardcode_direct=yes
9596       hardcode_minus_L=yes
9597       hardcode_shlibpath_var=no
9598       ;;
9599
9600     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9601     freebsd* | dragonfly*)
9602       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9603       hardcode_libdir_flag_spec='-R$libdir'
9604       hardcode_direct=yes
9605       hardcode_shlibpath_var=no
9606       ;;
9607
9608     hpux9*)
9609       if test "$GCC" = yes; then
9610         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'
9611       else
9612         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'
9613       fi
9614       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9615       hardcode_libdir_separator=:
9616       hardcode_direct=yes
9617
9618       # hardcode_minus_L: Not really in the search PATH,
9619       # but as the default location of the library.
9620       hardcode_minus_L=yes
9621       export_dynamic_flag_spec='${wl}-E'
9622       ;;
9623
9624     hpux10*)
9625       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9626         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9627       else
9628         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9629       fi
9630       if test "$with_gnu_ld" = no; then
9631         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9632         hardcode_libdir_flag_spec_ld='+b $libdir'
9633         hardcode_libdir_separator=:
9634         hardcode_direct=yes
9635         hardcode_direct_absolute=yes
9636         export_dynamic_flag_spec='${wl}-E'
9637         # hardcode_minus_L: Not really in the search PATH,
9638         # but as the default location of the library.
9639         hardcode_minus_L=yes
9640       fi
9641       ;;
9642
9643     hpux11*)
9644       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9645         case $host_cpu in
9646         hppa*64*)
9647           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9648           ;;
9649         ia64*)
9650           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9651           ;;
9652         *)
9653           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9654           ;;
9655         esac
9656       else
9657         case $host_cpu in
9658         hppa*64*)
9659           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9660           ;;
9661         ia64*)
9662           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9663           ;;
9664         *)
9665
9666           # Older versions of the 11.00 compiler do not understand -b yet
9667           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9668           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9669 $as_echo_n "checking if $CC understands -b... " >&6; }
9670 if ${lt_cv_prog_compiler__b+:} false; then :
9671   $as_echo_n "(cached) " >&6
9672 else
9673   lt_cv_prog_compiler__b=no
9674    save_LDFLAGS="$LDFLAGS"
9675    LDFLAGS="$LDFLAGS -b"
9676    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9677    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9678      # The linker can only warn and ignore the option if not recognized
9679      # So say no if there are warnings
9680      if test -s conftest.err; then
9681        # Append any errors to the config.log.
9682        cat conftest.err 1>&5
9683        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9684        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9685        if diff conftest.exp conftest.er2 >/dev/null; then
9686          lt_cv_prog_compiler__b=yes
9687        fi
9688      else
9689        lt_cv_prog_compiler__b=yes
9690      fi
9691    fi
9692    $RM -r conftest*
9693    LDFLAGS="$save_LDFLAGS"
9694
9695 fi
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9697 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9698
9699 if test x"$lt_cv_prog_compiler__b" = xyes; then
9700     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9701 else
9702     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9703 fi
9704
9705           ;;
9706         esac
9707       fi
9708       if test "$with_gnu_ld" = no; then
9709         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9710         hardcode_libdir_separator=:
9711
9712         case $host_cpu in
9713         hppa*64*|ia64*)
9714           hardcode_direct=no
9715           hardcode_shlibpath_var=no
9716           ;;
9717         *)
9718           hardcode_direct=yes
9719           hardcode_direct_absolute=yes
9720           export_dynamic_flag_spec='${wl}-E'
9721
9722           # hardcode_minus_L: Not really in the search PATH,
9723           # but as the default location of the library.
9724           hardcode_minus_L=yes
9725           ;;
9726         esac
9727       fi
9728       ;;
9729
9730     irix5* | irix6* | nonstopux*)
9731       if test "$GCC" = yes; then
9732         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'
9733         # Try to use the -exported_symbol ld option, if it does not
9734         # work, assume that -exports_file does not work either and
9735         # implicitly export all symbols.
9736         save_LDFLAGS="$LDFLAGS"
9737         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9738         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h.  */
9740 int foo(void) {}
9741 _ACEOF
9742 if ac_fn_c_try_link "$LINENO"; then :
9743   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'
9744
9745 fi
9746 rm -f core conftest.err conftest.$ac_objext \
9747     conftest$ac_exeext conftest.$ac_ext
9748         LDFLAGS="$save_LDFLAGS"
9749       else
9750         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'
9751         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'
9752       fi
9753       archive_cmds_need_lc='no'
9754       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9755       hardcode_libdir_separator=:
9756       inherit_rpath=yes
9757       link_all_deplibs=yes
9758       ;;
9759
9760     netbsd*)
9761       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9762         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9763       else
9764         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9765       fi
9766       hardcode_libdir_flag_spec='-R$libdir'
9767       hardcode_direct=yes
9768       hardcode_shlibpath_var=no
9769       ;;
9770
9771     newsos6)
9772       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9773       hardcode_direct=yes
9774       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9775       hardcode_libdir_separator=:
9776       hardcode_shlibpath_var=no
9777       ;;
9778
9779     *nto* | *qnx*)
9780       ;;
9781
9782     openbsd*)
9783       if test -f /usr/libexec/ld.so; then
9784         hardcode_direct=yes
9785         hardcode_shlibpath_var=no
9786         hardcode_direct_absolute=yes
9787         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9788           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9789           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9790           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9791           export_dynamic_flag_spec='${wl}-E'
9792         else
9793           case $host_os in
9794            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9795              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9796              hardcode_libdir_flag_spec='-R$libdir'
9797              ;;
9798            *)
9799              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9800              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9801              ;;
9802           esac
9803         fi
9804       else
9805         ld_shlibs=no
9806       fi
9807       ;;
9808
9809     os2*)
9810       hardcode_libdir_flag_spec='-L$libdir'
9811       hardcode_minus_L=yes
9812       allow_undefined_flag=unsupported
9813       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'
9814       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9815       ;;
9816
9817     osf3*)
9818       if test "$GCC" = yes; then
9819         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9820         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'
9821       else
9822         allow_undefined_flag=' -expect_unresolved \*'
9823         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'
9824       fi
9825       archive_cmds_need_lc='no'
9826       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9827       hardcode_libdir_separator=:
9828       ;;
9829
9830     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9831       if test "$GCC" = yes; then
9832         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9833         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'
9834         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9835       else
9836         allow_undefined_flag=' -expect_unresolved \*'
9837         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'
9838         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~
9839         $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'
9840
9841         # Both c and cxx compiler support -rpath directly
9842         hardcode_libdir_flag_spec='-rpath $libdir'
9843       fi
9844       archive_cmds_need_lc='no'
9845       hardcode_libdir_separator=:
9846       ;;
9847
9848     solaris*)
9849       no_undefined_flag=' -z defs'
9850       if test "$GCC" = yes; then
9851         wlarc='${wl}'
9852         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9853         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9854           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9855       else
9856         case `$CC -V 2>&1` in
9857         *"Compilers 5.0"*)
9858           wlarc=''
9859           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9860           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9861           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9862           ;;
9863         *)
9864           wlarc='${wl}'
9865           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9866           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9867           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9868           ;;
9869         esac
9870       fi
9871       hardcode_libdir_flag_spec='-R$libdir'
9872       hardcode_shlibpath_var=no
9873       case $host_os in
9874       solaris2.[0-5] | solaris2.[0-5].*) ;;
9875       *)
9876         # The compiler driver will combine and reorder linker options,
9877         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9878         # but is careful enough not to reorder.
9879         # Supported since Solaris 2.6 (maybe 2.5.1?)
9880         if test "$GCC" = yes; then
9881           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9882         else
9883           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9884         fi
9885         ;;
9886       esac
9887       link_all_deplibs=yes
9888       ;;
9889
9890     sunos4*)
9891       if test "x$host_vendor" = xsequent; then
9892         # Use $CC to link under sequent, because it throws in some extra .o
9893         # files that make .init and .fini sections work.
9894         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9895       else
9896         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9897       fi
9898       hardcode_libdir_flag_spec='-L$libdir'
9899       hardcode_direct=yes
9900       hardcode_minus_L=yes
9901       hardcode_shlibpath_var=no
9902       ;;
9903
9904     sysv4)
9905       case $host_vendor in
9906         sni)
9907           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9908           hardcode_direct=yes # is this really true???
9909         ;;
9910         siemens)
9911           ## LD is ld it makes a PLAMLIB
9912           ## CC just makes a GrossModule.
9913           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9914           reload_cmds='$CC -r -o $output$reload_objs'
9915           hardcode_direct=no
9916         ;;
9917         motorola)
9918           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9919           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9920         ;;
9921       esac
9922       runpath_var='LD_RUN_PATH'
9923       hardcode_shlibpath_var=no
9924       ;;
9925
9926     sysv4.3*)
9927       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9928       hardcode_shlibpath_var=no
9929       export_dynamic_flag_spec='-Bexport'
9930       ;;
9931
9932     sysv4*MP*)
9933       if test -d /usr/nec; then
9934         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9935         hardcode_shlibpath_var=no
9936         runpath_var=LD_RUN_PATH
9937         hardcode_runpath_var=yes
9938         ld_shlibs=yes
9939       fi
9940       ;;
9941
9942     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9943       no_undefined_flag='${wl}-z,text'
9944       archive_cmds_need_lc=no
9945       hardcode_shlibpath_var=no
9946       runpath_var='LD_RUN_PATH'
9947
9948       if test "$GCC" = yes; then
9949         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9950         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9951       else
9952         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9953         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9954       fi
9955       ;;
9956
9957     sysv5* | sco3.2v5* | sco5v6*)
9958       # Note: We can NOT use -z defs as we might desire, because we do not
9959       # link with -lc, and that would cause any symbols used from libc to
9960       # always be unresolved, which means just about no library would
9961       # ever link correctly.  If we're not using GNU ld we use -z text
9962       # though, which does catch some bad symbols but isn't as heavy-handed
9963       # as -z defs.
9964       no_undefined_flag='${wl}-z,text'
9965       allow_undefined_flag='${wl}-z,nodefs'
9966       archive_cmds_need_lc=no
9967       hardcode_shlibpath_var=no
9968       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9969       hardcode_libdir_separator=':'
9970       link_all_deplibs=yes
9971       export_dynamic_flag_spec='${wl}-Bexport'
9972       runpath_var='LD_RUN_PATH'
9973
9974       if test "$GCC" = yes; then
9975         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9976         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9977       else
9978         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9979         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9980       fi
9981       ;;
9982
9983     uts4*)
9984       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9985       hardcode_libdir_flag_spec='-L$libdir'
9986       hardcode_shlibpath_var=no
9987       ;;
9988
9989     *)
9990       ld_shlibs=no
9991       ;;
9992     esac
9993
9994     if test x$host_vendor = xsni; then
9995       case $host in
9996       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9997         export_dynamic_flag_spec='${wl}-Blargedynsym'
9998         ;;
9999       esac
10000     fi
10001   fi
10002
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10004 $as_echo "$ld_shlibs" >&6; }
10005 test "$ld_shlibs" = no && can_build_shared=no
10006
10007 with_gnu_ld=$with_gnu_ld
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023 #
10024 # Do we need to explicitly link libc?
10025 #
10026 case "x$archive_cmds_need_lc" in
10027 x|xyes)
10028   # Assume -lc should be added
10029   archive_cmds_need_lc=yes
10030
10031   if test "$enable_shared" = yes && test "$GCC" = yes; then
10032     case $archive_cmds in
10033     *'~'*)
10034       # FIXME: we may have to deal with multi-command sequences.
10035       ;;
10036     '$CC '*)
10037       # Test whether the compiler implicitly links with -lc since on some
10038       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10039       # to ld, don't add -lc before -lgcc.
10040       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10041 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10042 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10043   $as_echo_n "(cached) " >&6
10044 else
10045   $RM conftest*
10046         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10047
10048         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10049   (eval $ac_compile) 2>&5
10050   ac_status=$?
10051   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10052   test $ac_status = 0; } 2>conftest.err; then
10053           soname=conftest
10054           lib=conftest
10055           libobjs=conftest.$ac_objext
10056           deplibs=
10057           wl=$lt_prog_compiler_wl
10058           pic_flag=$lt_prog_compiler_pic
10059           compiler_flags=-v
10060           linker_flags=-v
10061           verstring=
10062           output_objdir=.
10063           libname=conftest
10064           lt_save_allow_undefined_flag=$allow_undefined_flag
10065           allow_undefined_flag=
10066           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10067   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10068   ac_status=$?
10069   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10070   test $ac_status = 0; }
10071           then
10072             lt_cv_archive_cmds_need_lc=no
10073           else
10074             lt_cv_archive_cmds_need_lc=yes
10075           fi
10076           allow_undefined_flag=$lt_save_allow_undefined_flag
10077         else
10078           cat conftest.err 1>&5
10079         fi
10080         $RM conftest*
10081
10082 fi
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10084 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10085       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10086       ;;
10087     esac
10088   fi
10089   ;;
10090 esac
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10249 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10250
10251 if test "$GCC" = yes; then
10252   case $host_os in
10253     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10254     *) lt_awk_arg="/^libraries:/" ;;
10255   esac
10256   case $host_os in
10257     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10258     *) lt_sed_strip_eq="s,=/,/,g" ;;
10259   esac
10260   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10261   case $lt_search_path_spec in
10262   *\;*)
10263     # if the path contains ";" then we assume it to be the separator
10264     # otherwise default to the standard path separator (i.e. ":") - it is
10265     # assumed that no part of a normal pathname contains ";" but that should
10266     # okay in the real world where ";" in dirpaths is itself problematic.
10267     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10268     ;;
10269   *)
10270     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10271     ;;
10272   esac
10273   # Ok, now we have the path, separated by spaces, we can step through it
10274   # and add multilib dir if necessary.
10275   lt_tmp_lt_search_path_spec=
10276   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10277   for lt_sys_path in $lt_search_path_spec; do
10278     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10279       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10280     else
10281       test -d "$lt_sys_path" && \
10282         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10283     fi
10284   done
10285   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10286 BEGIN {RS=" "; FS="/|\n";} {
10287   lt_foo="";
10288   lt_count=0;
10289   for (lt_i = NF; lt_i > 0; lt_i--) {
10290     if ($lt_i != "" && $lt_i != ".") {
10291       if ($lt_i == "..") {
10292         lt_count++;
10293       } else {
10294         if (lt_count == 0) {
10295           lt_foo="/" $lt_i lt_foo;
10296         } else {
10297           lt_count--;
10298         }
10299       }
10300     }
10301   }
10302   if (lt_foo != "") { lt_freq[lt_foo]++; }
10303   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10304 }'`
10305   # AWK program above erroneously prepends '/' to C:/dos/paths
10306   # for these hosts.
10307   case $host_os in
10308     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10309       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10310   esac
10311   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10312 else
10313   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10314 fi
10315 library_names_spec=
10316 libname_spec='lib$name'
10317 soname_spec=
10318 shrext_cmds=".so"
10319 postinstall_cmds=
10320 postuninstall_cmds=
10321 finish_cmds=
10322 finish_eval=
10323 shlibpath_var=
10324 shlibpath_overrides_runpath=unknown
10325 version_type=none
10326 dynamic_linker="$host_os ld.so"
10327 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10328 need_lib_prefix=unknown
10329 hardcode_into_libs=no
10330
10331 # when you set need_version to no, make sure it does not cause -set_version
10332 # flags to be left without arguments
10333 need_version=unknown
10334
10335 case $host_os in
10336 aix3*)
10337   version_type=linux
10338   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10339   shlibpath_var=LIBPATH
10340
10341   # AIX 3 has no versioning support, so we append a major version to the name.
10342   soname_spec='${libname}${release}${shared_ext}$major'
10343   ;;
10344
10345 aix[4-9]*)
10346   version_type=linux
10347   need_lib_prefix=no
10348   need_version=no
10349   hardcode_into_libs=yes
10350   if test "$host_cpu" = ia64; then
10351     # AIX 5 supports IA64
10352     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10353     shlibpath_var=LD_LIBRARY_PATH
10354   else
10355     # With GCC up to 2.95.x, collect2 would create an import file
10356     # for dependence libraries.  The import file would start with
10357     # the line `#! .'.  This would cause the generated library to
10358     # depend on `.', always an invalid library.  This was fixed in
10359     # development snapshots of GCC prior to 3.0.
10360     case $host_os in
10361       aix4 | aix4.[01] | aix4.[01].*)
10362       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10363            echo ' yes '
10364            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10365         :
10366       else
10367         can_build_shared=no
10368       fi
10369       ;;
10370     esac
10371     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10372     # soname into executable. Probably we can add versioning support to
10373     # collect2, so additional links can be useful in future.
10374     if test "$aix_use_runtimelinking" = yes; then
10375       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10376       # instead of lib<name>.a to let people know that these are not
10377       # typical AIX shared libraries.
10378       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10379     else
10380       # We preserve .a as extension for shared libraries through AIX4.2
10381       # and later when we are not doing run time linking.
10382       library_names_spec='${libname}${release}.a $libname.a'
10383       soname_spec='${libname}${release}${shared_ext}$major'
10384     fi
10385     shlibpath_var=LIBPATH
10386   fi
10387   ;;
10388
10389 amigaos*)
10390   case $host_cpu in
10391   powerpc)
10392     # Since July 2007 AmigaOS4 officially supports .so libraries.
10393     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10394     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10395     ;;
10396   m68k)
10397     library_names_spec='$libname.ixlibrary $libname.a'
10398     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10399     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'
10400     ;;
10401   esac
10402   ;;
10403
10404 beos*)
10405   library_names_spec='${libname}${shared_ext}'
10406   dynamic_linker="$host_os ld.so"
10407   shlibpath_var=LIBRARY_PATH
10408   ;;
10409
10410 bsdi[45]*)
10411   version_type=linux
10412   need_version=no
10413   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10414   soname_spec='${libname}${release}${shared_ext}$major'
10415   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10416   shlibpath_var=LD_LIBRARY_PATH
10417   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10418   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10419   # the default ld.so.conf also contains /usr/contrib/lib and
10420   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10421   # libtool to hard-code these into programs
10422   ;;
10423
10424 cygwin* | mingw* | pw32* | cegcc*)
10425   version_type=windows
10426   shrext_cmds=".dll"
10427   need_version=no
10428   need_lib_prefix=no
10429
10430   case $GCC,$host_os in
10431   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10432     library_names_spec='$libname.dll.a'
10433     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10434     postinstall_cmds='base_file=`basename \${file}`~
10435       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10436       dldir=$destdir/`dirname \$dlpath`~
10437       test -d \$dldir || mkdir -p \$dldir~
10438       $install_prog $dir/$dlname \$dldir/$dlname~
10439       chmod a+x \$dldir/$dlname~
10440       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10441         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10442       fi'
10443     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10444       dlpath=$dir/\$dldll~
10445        $RM \$dlpath'
10446     shlibpath_overrides_runpath=yes
10447
10448     case $host_os in
10449     cygwin*)
10450       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10451       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10452
10453       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10454       ;;
10455     mingw* | cegcc*)
10456       # MinGW DLLs use traditional 'lib' prefix
10457       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10458       ;;
10459     pw32*)
10460       # pw32 DLLs use 'pw' prefix rather than 'lib'
10461       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10462       ;;
10463     esac
10464     ;;
10465
10466   *)
10467     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10468     ;;
10469   esac
10470   dynamic_linker='Win32 ld.exe'
10471   # FIXME: first we should search . and the directory the executable is in
10472   shlibpath_var=PATH
10473   ;;
10474
10475 darwin* | rhapsody*)
10476   dynamic_linker="$host_os dyld"
10477   version_type=darwin
10478   need_lib_prefix=no
10479   need_version=no
10480   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10481   soname_spec='${libname}${release}${major}$shared_ext'
10482   shlibpath_overrides_runpath=yes
10483   shlibpath_var=DYLD_LIBRARY_PATH
10484   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10485
10486   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10487   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10488   ;;
10489
10490 dgux*)
10491   version_type=linux
10492   need_lib_prefix=no
10493   need_version=no
10494   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10495   soname_spec='${libname}${release}${shared_ext}$major'
10496   shlibpath_var=LD_LIBRARY_PATH
10497   ;;
10498
10499 freebsd* | dragonfly*)
10500   # DragonFly does not have aout.  When/if they implement a new
10501   # versioning mechanism, adjust this.
10502   if test -x /usr/bin/objformat; then
10503     objformat=`/usr/bin/objformat`
10504   else
10505     case $host_os in
10506     freebsd[23].*) objformat=aout ;;
10507     *) objformat=elf ;;
10508     esac
10509   fi
10510   version_type=freebsd-$objformat
10511   case $version_type in
10512     freebsd-elf*)
10513       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10514       need_version=no
10515       need_lib_prefix=no
10516       ;;
10517     freebsd-*)
10518       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10519       need_version=yes
10520       ;;
10521   esac
10522   shlibpath_var=LD_LIBRARY_PATH
10523   case $host_os in
10524   freebsd2.*)
10525     shlibpath_overrides_runpath=yes
10526     ;;
10527   freebsd3.[01]* | freebsdelf3.[01]*)
10528     shlibpath_overrides_runpath=yes
10529     hardcode_into_libs=yes
10530     ;;
10531   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10532   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10533     shlibpath_overrides_runpath=no
10534     hardcode_into_libs=yes
10535     ;;
10536   *) # from 4.6 on, and DragonFly
10537     shlibpath_overrides_runpath=yes
10538     hardcode_into_libs=yes
10539     ;;
10540   esac
10541   ;;
10542
10543 gnu*)
10544   version_type=linux
10545   need_lib_prefix=no
10546   need_version=no
10547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10548   soname_spec='${libname}${release}${shared_ext}$major'
10549   shlibpath_var=LD_LIBRARY_PATH
10550   hardcode_into_libs=yes
10551   ;;
10552
10553 haiku*)
10554   version_type=linux
10555   need_lib_prefix=no
10556   need_version=no
10557   dynamic_linker="$host_os runtime_loader"
10558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10559   soname_spec='${libname}${release}${shared_ext}$major'
10560   shlibpath_var=LIBRARY_PATH
10561   shlibpath_overrides_runpath=yes
10562   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10563   hardcode_into_libs=yes
10564   ;;
10565
10566 hpux9* | hpux10* | hpux11*)
10567   # Give a soname corresponding to the major version so that dld.sl refuses to
10568   # link against other versions.
10569   version_type=sunos
10570   need_lib_prefix=no
10571   need_version=no
10572   case $host_cpu in
10573   ia64*)
10574     shrext_cmds='.so'
10575     hardcode_into_libs=yes
10576     dynamic_linker="$host_os dld.so"
10577     shlibpath_var=LD_LIBRARY_PATH
10578     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10579     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10580     soname_spec='${libname}${release}${shared_ext}$major'
10581     if test "X$HPUX_IA64_MODE" = X32; then
10582       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10583     else
10584       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10585     fi
10586     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10587     ;;
10588   hppa*64*)
10589     shrext_cmds='.sl'
10590     hardcode_into_libs=yes
10591     dynamic_linker="$host_os dld.sl"
10592     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10593     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10594     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10595     soname_spec='${libname}${release}${shared_ext}$major'
10596     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10597     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10598     ;;
10599   *)
10600     shrext_cmds='.sl'
10601     dynamic_linker="$host_os dld.sl"
10602     shlibpath_var=SHLIB_PATH
10603     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10604     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10605     soname_spec='${libname}${release}${shared_ext}$major'
10606     ;;
10607   esac
10608   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10609   postinstall_cmds='chmod 555 $lib'
10610   # or fails outright, so override atomically:
10611   install_override_mode=555
10612   ;;
10613
10614 interix[3-9]*)
10615   version_type=linux
10616   need_lib_prefix=no
10617   need_version=no
10618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10619   soname_spec='${libname}${release}${shared_ext}$major'
10620   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10621   shlibpath_var=LD_LIBRARY_PATH
10622   shlibpath_overrides_runpath=no
10623   hardcode_into_libs=yes
10624   ;;
10625
10626 irix5* | irix6* | nonstopux*)
10627   case $host_os in
10628     nonstopux*) version_type=nonstopux ;;
10629     *)
10630         if test "$lt_cv_prog_gnu_ld" = yes; then
10631                 version_type=linux
10632         else
10633                 version_type=irix
10634         fi ;;
10635   esac
10636   need_lib_prefix=no
10637   need_version=no
10638   soname_spec='${libname}${release}${shared_ext}$major'
10639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10640   case $host_os in
10641   irix5* | nonstopux*)
10642     libsuff= shlibsuff=
10643     ;;
10644   *)
10645     case $LD in # libtool.m4 will add one of these switches to LD
10646     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10647       libsuff= shlibsuff= libmagic=32-bit;;
10648     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10649       libsuff=32 shlibsuff=N32 libmagic=N32;;
10650     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10651       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10652     *) libsuff= shlibsuff= libmagic=never-match;;
10653     esac
10654     ;;
10655   esac
10656   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10657   shlibpath_overrides_runpath=no
10658   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10659   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10660   hardcode_into_libs=yes
10661   ;;
10662
10663 # No shared lib support for Linux oldld, aout, or coff.
10664 linux*oldld* | linux*aout* | linux*coff*)
10665   dynamic_linker=no
10666   ;;
10667
10668 # This must be Linux ELF.
10669 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10670   version_type=linux
10671   need_lib_prefix=no
10672   need_version=no
10673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674   soname_spec='${libname}${release}${shared_ext}$major'
10675   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10676   shlibpath_var=LD_LIBRARY_PATH
10677   shlibpath_overrides_runpath=no
10678
10679   # Some binutils ld are patched to set DT_RUNPATH
10680   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10681   $as_echo_n "(cached) " >&6
10682 else
10683   lt_cv_shlibpath_overrides_runpath=no
10684     save_LDFLAGS=$LDFLAGS
10685     save_libdir=$libdir
10686     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10687          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10688     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h.  */
10690
10691 int
10692 main ()
10693 {
10694
10695   ;
10696   return 0;
10697 }
10698 _ACEOF
10699 if ac_fn_c_try_link "$LINENO"; then :
10700   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10701   lt_cv_shlibpath_overrides_runpath=yes
10702 fi
10703 fi
10704 rm -f core conftest.err conftest.$ac_objext \
10705     conftest$ac_exeext conftest.$ac_ext
10706     LDFLAGS=$save_LDFLAGS
10707     libdir=$save_libdir
10708
10709 fi
10710
10711   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10712
10713   # This implies no fast_install, which is unacceptable.
10714   # Some rework will be needed to allow for fast_install
10715   # before this can be enabled.
10716   hardcode_into_libs=yes
10717
10718   # Append ld.so.conf contents to the search path
10719   if test -f /etc/ld.so.conf; then
10720     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' ' '`
10721     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10722   fi
10723
10724   # We used to test for /lib/ld.so.1 and disable shared libraries on
10725   # powerpc, because MkLinux only supported shared libraries with the
10726   # GNU dynamic linker.  Since this was broken with cross compilers,
10727   # most powerpc-linux boxes support dynamic linking these days and
10728   # people can always --disable-shared, the test was removed, and we
10729   # assume the GNU/Linux dynamic linker is in use.
10730   dynamic_linker='GNU/Linux ld.so'
10731   ;;
10732
10733 netbsd*)
10734   version_type=sunos
10735   need_lib_prefix=no
10736   need_version=no
10737   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10738     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10739     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10740     dynamic_linker='NetBSD (a.out) ld.so'
10741   else
10742     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10743     soname_spec='${libname}${release}${shared_ext}$major'
10744     dynamic_linker='NetBSD ld.elf_so'
10745   fi
10746   shlibpath_var=LD_LIBRARY_PATH
10747   shlibpath_overrides_runpath=yes
10748   hardcode_into_libs=yes
10749   ;;
10750
10751 newsos6)
10752   version_type=linux
10753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10754   shlibpath_var=LD_LIBRARY_PATH
10755   shlibpath_overrides_runpath=yes
10756   ;;
10757
10758 *nto* | *qnx*)
10759   version_type=qnx
10760   need_lib_prefix=no
10761   need_version=no
10762   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763   soname_spec='${libname}${release}${shared_ext}$major'
10764   shlibpath_var=LD_LIBRARY_PATH
10765   shlibpath_overrides_runpath=no
10766   hardcode_into_libs=yes
10767   dynamic_linker='ldqnx.so'
10768   ;;
10769
10770 openbsd*)
10771   version_type=sunos
10772   sys_lib_dlsearch_path_spec="/usr/lib"
10773   need_lib_prefix=no
10774   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10775   case $host_os in
10776     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10777     *)                          need_version=no  ;;
10778   esac
10779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10780   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10781   shlibpath_var=LD_LIBRARY_PATH
10782   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10783     case $host_os in
10784       openbsd2.[89] | openbsd2.[89].*)
10785         shlibpath_overrides_runpath=no
10786         ;;
10787       *)
10788         shlibpath_overrides_runpath=yes
10789         ;;
10790       esac
10791   else
10792     shlibpath_overrides_runpath=yes
10793   fi
10794   ;;
10795
10796 os2*)
10797   libname_spec='$name'
10798   shrext_cmds=".dll"
10799   need_lib_prefix=no
10800   library_names_spec='$libname${shared_ext} $libname.a'
10801   dynamic_linker='OS/2 ld.exe'
10802   shlibpath_var=LIBPATH
10803   ;;
10804
10805 osf3* | osf4* | osf5*)
10806   version_type=osf
10807   need_lib_prefix=no
10808   need_version=no
10809   soname_spec='${libname}${release}${shared_ext}$major'
10810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10811   shlibpath_var=LD_LIBRARY_PATH
10812   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10813   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10814   ;;
10815
10816 rdos*)
10817   dynamic_linker=no
10818   ;;
10819
10820 solaris*)
10821   version_type=linux
10822   need_lib_prefix=no
10823   need_version=no
10824   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825   soname_spec='${libname}${release}${shared_ext}$major'
10826   shlibpath_var=LD_LIBRARY_PATH
10827   shlibpath_overrides_runpath=yes
10828   hardcode_into_libs=yes
10829   # ldd complains unless libraries are executable
10830   postinstall_cmds='chmod +x $lib'
10831   ;;
10832
10833 sunos4*)
10834   version_type=sunos
10835   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10836   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10837   shlibpath_var=LD_LIBRARY_PATH
10838   shlibpath_overrides_runpath=yes
10839   if test "$with_gnu_ld" = yes; then
10840     need_lib_prefix=no
10841   fi
10842   need_version=yes
10843   ;;
10844
10845 sysv4 | sysv4.3*)
10846   version_type=linux
10847   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10848   soname_spec='${libname}${release}${shared_ext}$major'
10849   shlibpath_var=LD_LIBRARY_PATH
10850   case $host_vendor in
10851     sni)
10852       shlibpath_overrides_runpath=no
10853       need_lib_prefix=no
10854       runpath_var=LD_RUN_PATH
10855       ;;
10856     siemens)
10857       need_lib_prefix=no
10858       ;;
10859     motorola)
10860       need_lib_prefix=no
10861       need_version=no
10862       shlibpath_overrides_runpath=no
10863       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10864       ;;
10865   esac
10866   ;;
10867
10868 sysv4*MP*)
10869   if test -d /usr/nec ;then
10870     version_type=linux
10871     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10872     soname_spec='$libname${shared_ext}.$major'
10873     shlibpath_var=LD_LIBRARY_PATH
10874   fi
10875   ;;
10876
10877 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10878   version_type=freebsd-elf
10879   need_lib_prefix=no
10880   need_version=no
10881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10882   soname_spec='${libname}${release}${shared_ext}$major'
10883   shlibpath_var=LD_LIBRARY_PATH
10884   shlibpath_overrides_runpath=yes
10885   hardcode_into_libs=yes
10886   if test "$with_gnu_ld" = yes; then
10887     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10888   else
10889     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10890     case $host_os in
10891       sco3.2v5*)
10892         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10893         ;;
10894     esac
10895   fi
10896   sys_lib_dlsearch_path_spec='/usr/lib'
10897   ;;
10898
10899 tpf*)
10900   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10901   version_type=linux
10902   need_lib_prefix=no
10903   need_version=no
10904   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10905   shlibpath_var=LD_LIBRARY_PATH
10906   shlibpath_overrides_runpath=no
10907   hardcode_into_libs=yes
10908   ;;
10909
10910 uts4*)
10911   version_type=linux
10912   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10913   soname_spec='${libname}${release}${shared_ext}$major'
10914   shlibpath_var=LD_LIBRARY_PATH
10915   ;;
10916
10917 *)
10918   dynamic_linker=no
10919   ;;
10920 esac
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10922 $as_echo "$dynamic_linker" >&6; }
10923 test "$dynamic_linker" = no && can_build_shared=no
10924
10925 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10926 if test "$GCC" = yes; then
10927   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10928 fi
10929
10930 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10931   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10932 fi
10933 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10934   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10935 fi
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11029 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11030 hardcode_action=
11031 if test -n "$hardcode_libdir_flag_spec" ||
11032    test -n "$runpath_var" ||
11033    test "X$hardcode_automatic" = "Xyes" ; then
11034
11035   # We can hardcode non-existent directories.
11036   if test "$hardcode_direct" != no &&
11037      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11038      # have to relink, otherwise we might link with an installed library
11039      # when we should be linking with a yet-to-be-installed one
11040      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11041      test "$hardcode_minus_L" != no; then
11042     # Linking always hardcodes the temporary library directory.
11043     hardcode_action=relink
11044   else
11045     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11046     hardcode_action=immediate
11047   fi
11048 else
11049   # We cannot hardcode anything, or else we can only hardcode existing
11050   # directories.
11051   hardcode_action=unsupported
11052 fi
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11054 $as_echo "$hardcode_action" >&6; }
11055
11056 if test "$hardcode_action" = relink ||
11057    test "$inherit_rpath" = yes; then
11058   # Fast installation is not supported
11059   enable_fast_install=no
11060 elif test "$shlibpath_overrides_runpath" = yes ||
11061      test "$enable_shared" = no; then
11062   # Fast installation is not necessary
11063   enable_fast_install=needless
11064 fi
11065
11066
11067
11068
11069
11070
11071   if test "x$enable_dlopen" != xyes; then
11072   enable_dlopen=unknown
11073   enable_dlopen_self=unknown
11074   enable_dlopen_self_static=unknown
11075 else
11076   lt_cv_dlopen=no
11077   lt_cv_dlopen_libs=
11078
11079   case $host_os in
11080   beos*)
11081     lt_cv_dlopen="load_add_on"
11082     lt_cv_dlopen_libs=
11083     lt_cv_dlopen_self=yes
11084     ;;
11085
11086   mingw* | pw32* | cegcc*)
11087     lt_cv_dlopen="LoadLibrary"
11088     lt_cv_dlopen_libs=
11089     ;;
11090
11091   cygwin*)
11092     lt_cv_dlopen="dlopen"
11093     lt_cv_dlopen_libs=
11094     ;;
11095
11096   darwin*)
11097   # if libdl is installed we need to link against it
11098     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11099 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11100 if ${ac_cv_lib_dl_dlopen+:} false; then :
11101   $as_echo_n "(cached) " >&6
11102 else
11103   ac_check_lib_save_LIBS=$LIBS
11104 LIBS="-ldl  $LIBS"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h.  */
11107
11108 /* Override any GCC internal prototype to avoid an error.
11109    Use char because int might match the return type of a GCC
11110    builtin and then its argument prototype would still apply.  */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char dlopen ();
11115 int
11116 main ()
11117 {
11118 return dlopen ();
11119   ;
11120   return 0;
11121 }
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11124   ac_cv_lib_dl_dlopen=yes
11125 else
11126   ac_cv_lib_dl_dlopen=no
11127 fi
11128 rm -f core conftest.err conftest.$ac_objext \
11129     conftest$ac_exeext conftest.$ac_ext
11130 LIBS=$ac_check_lib_save_LIBS
11131 fi
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11133 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11134 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11135   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11136 else
11137
11138     lt_cv_dlopen="dyld"
11139     lt_cv_dlopen_libs=
11140     lt_cv_dlopen_self=yes
11141
11142 fi
11143
11144     ;;
11145
11146   *)
11147     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11148 if test "x$ac_cv_func_shl_load" = xyes; then :
11149   lt_cv_dlopen="shl_load"
11150 else
11151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11152 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11153 if ${ac_cv_lib_dld_shl_load+:} false; then :
11154   $as_echo_n "(cached) " >&6
11155 else
11156   ac_check_lib_save_LIBS=$LIBS
11157 LIBS="-ldld  $LIBS"
11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h.  */
11160
11161 /* Override any GCC internal prototype to avoid an error.
11162    Use char because int might match the return type of a GCC
11163    builtin and then its argument prototype would still apply.  */
11164 #ifdef __cplusplus
11165 extern "C"
11166 #endif
11167 char shl_load ();
11168 int
11169 main ()
11170 {
11171 return shl_load ();
11172   ;
11173   return 0;
11174 }
11175 _ACEOF
11176 if ac_fn_c_try_link "$LINENO"; then :
11177   ac_cv_lib_dld_shl_load=yes
11178 else
11179   ac_cv_lib_dld_shl_load=no
11180 fi
11181 rm -f core conftest.err conftest.$ac_objext \
11182     conftest$ac_exeext conftest.$ac_ext
11183 LIBS=$ac_check_lib_save_LIBS
11184 fi
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11186 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11187 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11188   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11189 else
11190   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11191 if test "x$ac_cv_func_dlopen" = xyes; then :
11192   lt_cv_dlopen="dlopen"
11193 else
11194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11195 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11196 if ${ac_cv_lib_dl_dlopen+:} false; then :
11197   $as_echo_n "(cached) " >&6
11198 else
11199   ac_check_lib_save_LIBS=$LIBS
11200 LIBS="-ldl  $LIBS"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h.  */
11203
11204 /* Override any GCC internal prototype to avoid an error.
11205    Use char because int might match the return type of a GCC
11206    builtin and then its argument prototype would still apply.  */
11207 #ifdef __cplusplus
11208 extern "C"
11209 #endif
11210 char dlopen ();
11211 int
11212 main ()
11213 {
11214 return dlopen ();
11215   ;
11216   return 0;
11217 }
11218 _ACEOF
11219 if ac_fn_c_try_link "$LINENO"; then :
11220   ac_cv_lib_dl_dlopen=yes
11221 else
11222   ac_cv_lib_dl_dlopen=no
11223 fi
11224 rm -f core conftest.err conftest.$ac_objext \
11225     conftest$ac_exeext conftest.$ac_ext
11226 LIBS=$ac_check_lib_save_LIBS
11227 fi
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11229 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11230 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11231   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11232 else
11233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11234 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11235 if ${ac_cv_lib_svld_dlopen+:} false; then :
11236   $as_echo_n "(cached) " >&6
11237 else
11238   ac_check_lib_save_LIBS=$LIBS
11239 LIBS="-lsvld  $LIBS"
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h.  */
11242
11243 /* Override any GCC internal prototype to avoid an error.
11244    Use char because int might match the return type of a GCC
11245    builtin and then its argument prototype would still apply.  */
11246 #ifdef __cplusplus
11247 extern "C"
11248 #endif
11249 char dlopen ();
11250 int
11251 main ()
11252 {
11253 return dlopen ();
11254   ;
11255   return 0;
11256 }
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"; then :
11259   ac_cv_lib_svld_dlopen=yes
11260 else
11261   ac_cv_lib_svld_dlopen=no
11262 fi
11263 rm -f core conftest.err conftest.$ac_objext \
11264     conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_lib_save_LIBS
11266 fi
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11268 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11269 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11270   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11271 else
11272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11273 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11274 if ${ac_cv_lib_dld_dld_link+:} false; then :
11275   $as_echo_n "(cached) " >&6
11276 else
11277   ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-ldld  $LIBS"
11279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h.  */
11281
11282 /* Override any GCC internal prototype to avoid an error.
11283    Use char because int might match the return type of a GCC
11284    builtin and then its argument prototype would still apply.  */
11285 #ifdef __cplusplus
11286 extern "C"
11287 #endif
11288 char dld_link ();
11289 int
11290 main ()
11291 {
11292 return dld_link ();
11293   ;
11294   return 0;
11295 }
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"; then :
11298   ac_cv_lib_dld_dld_link=yes
11299 else
11300   ac_cv_lib_dld_dld_link=no
11301 fi
11302 rm -f core conftest.err conftest.$ac_objext \
11303     conftest$ac_exeext conftest.$ac_ext
11304 LIBS=$ac_check_lib_save_LIBS
11305 fi
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11307 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11308 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11309   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11310 fi
11311
11312
11313 fi
11314
11315
11316 fi
11317
11318
11319 fi
11320
11321
11322 fi
11323
11324
11325 fi
11326
11327     ;;
11328   esac
11329
11330   if test "x$lt_cv_dlopen" != xno; then
11331     enable_dlopen=yes
11332   else
11333     enable_dlopen=no
11334   fi
11335
11336   case $lt_cv_dlopen in
11337   dlopen)
11338     save_CPPFLAGS="$CPPFLAGS"
11339     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11340
11341     save_LDFLAGS="$LDFLAGS"
11342     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11343
11344     save_LIBS="$LIBS"
11345     LIBS="$lt_cv_dlopen_libs $LIBS"
11346
11347     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11348 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11349 if ${lt_cv_dlopen_self+:} false; then :
11350   $as_echo_n "(cached) " >&6
11351 else
11352           if test "$cross_compiling" = yes; then :
11353   lt_cv_dlopen_self=cross
11354 else
11355   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11356   lt_status=$lt_dlunknown
11357   cat > conftest.$ac_ext <<_LT_EOF
11358 #line 11358 "configure"
11359 #include "confdefs.h"
11360
11361 #if HAVE_DLFCN_H
11362 #include <dlfcn.h>
11363 #endif
11364
11365 #include <stdio.h>
11366
11367 #ifdef RTLD_GLOBAL
11368 #  define LT_DLGLOBAL           RTLD_GLOBAL
11369 #else
11370 #  ifdef DL_GLOBAL
11371 #    define LT_DLGLOBAL         DL_GLOBAL
11372 #  else
11373 #    define LT_DLGLOBAL         0
11374 #  endif
11375 #endif
11376
11377 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11378    find out it does not work in some platform. */
11379 #ifndef LT_DLLAZY_OR_NOW
11380 #  ifdef RTLD_LAZY
11381 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11382 #  else
11383 #    ifdef DL_LAZY
11384 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11385 #    else
11386 #      ifdef RTLD_NOW
11387 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11388 #      else
11389 #        ifdef DL_NOW
11390 #          define LT_DLLAZY_OR_NOW      DL_NOW
11391 #        else
11392 #          define LT_DLLAZY_OR_NOW      0
11393 #        endif
11394 #      endif
11395 #    endif
11396 #  endif
11397 #endif
11398
11399 /* When -fvisbility=hidden is used, assume the code has been annotated
11400    correspondingly for the symbols needed.  */
11401 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11402 void fnord () __attribute__((visibility("default")));
11403 #endif
11404
11405 void fnord () { int i=42; }
11406 int main ()
11407 {
11408   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11409   int status = $lt_dlunknown;
11410
11411   if (self)
11412     {
11413       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11414       else
11415         {
11416           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11417           else puts (dlerror ());
11418         }
11419       /* dlclose (self); */
11420     }
11421   else
11422     puts (dlerror ());
11423
11424   return status;
11425 }
11426 _LT_EOF
11427   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11428   (eval $ac_link) 2>&5
11429   ac_status=$?
11430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11431   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11432     (./conftest; exit; ) >&5 2>/dev/null
11433     lt_status=$?
11434     case x$lt_status in
11435       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11436       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11437       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11438     esac
11439   else :
11440     # compilation failed
11441     lt_cv_dlopen_self=no
11442   fi
11443 fi
11444 rm -fr conftest*
11445
11446
11447 fi
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11449 $as_echo "$lt_cv_dlopen_self" >&6; }
11450
11451     if test "x$lt_cv_dlopen_self" = xyes; then
11452       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11453       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11454 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11455 if ${lt_cv_dlopen_self_static+:} false; then :
11456   $as_echo_n "(cached) " >&6
11457 else
11458           if test "$cross_compiling" = yes; then :
11459   lt_cv_dlopen_self_static=cross
11460 else
11461   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11462   lt_status=$lt_dlunknown
11463   cat > conftest.$ac_ext <<_LT_EOF
11464 #line 11464 "configure"
11465 #include "confdefs.h"
11466
11467 #if HAVE_DLFCN_H
11468 #include <dlfcn.h>
11469 #endif
11470
11471 #include <stdio.h>
11472
11473 #ifdef RTLD_GLOBAL
11474 #  define LT_DLGLOBAL           RTLD_GLOBAL
11475 #else
11476 #  ifdef DL_GLOBAL
11477 #    define LT_DLGLOBAL         DL_GLOBAL
11478 #  else
11479 #    define LT_DLGLOBAL         0
11480 #  endif
11481 #endif
11482
11483 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11484    find out it does not work in some platform. */
11485 #ifndef LT_DLLAZY_OR_NOW
11486 #  ifdef RTLD_LAZY
11487 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11488 #  else
11489 #    ifdef DL_LAZY
11490 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11491 #    else
11492 #      ifdef RTLD_NOW
11493 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11494 #      else
11495 #        ifdef DL_NOW
11496 #          define LT_DLLAZY_OR_NOW      DL_NOW
11497 #        else
11498 #          define LT_DLLAZY_OR_NOW      0
11499 #        endif
11500 #      endif
11501 #    endif
11502 #  endif
11503 #endif
11504
11505 /* When -fvisbility=hidden is used, assume the code has been annotated
11506    correspondingly for the symbols needed.  */
11507 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11508 void fnord () __attribute__((visibility("default")));
11509 #endif
11510
11511 void fnord () { int i=42; }
11512 int main ()
11513 {
11514   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11515   int status = $lt_dlunknown;
11516
11517   if (self)
11518     {
11519       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11520       else
11521         {
11522           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11523           else puts (dlerror ());
11524         }
11525       /* dlclose (self); */
11526     }
11527   else
11528     puts (dlerror ());
11529
11530   return status;
11531 }
11532 _LT_EOF
11533   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11534   (eval $ac_link) 2>&5
11535   ac_status=$?
11536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11537   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11538     (./conftest; exit; ) >&5 2>/dev/null
11539     lt_status=$?
11540     case x$lt_status in
11541       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11542       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11543       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11544     esac
11545   else :
11546     # compilation failed
11547     lt_cv_dlopen_self_static=no
11548   fi
11549 fi
11550 rm -fr conftest*
11551
11552
11553 fi
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11555 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11556     fi
11557
11558     CPPFLAGS="$save_CPPFLAGS"
11559     LDFLAGS="$save_LDFLAGS"
11560     LIBS="$save_LIBS"
11561     ;;
11562   esac
11563
11564   case $lt_cv_dlopen_self in
11565   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11566   *) enable_dlopen_self=unknown ;;
11567   esac
11568
11569   case $lt_cv_dlopen_self_static in
11570   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11571   *) enable_dlopen_self_static=unknown ;;
11572   esac
11573 fi
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591 striplib=
11592 old_striplib=
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11594 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11595 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11596   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11597   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11599 $as_echo "yes" >&6; }
11600 else
11601 # FIXME - insert some real tests, host_os isn't really good enough
11602   case $host_os in
11603   darwin*)
11604     if test -n "$STRIP" ; then
11605       striplib="$STRIP -x"
11606       old_striplib="$STRIP -S"
11607       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11608 $as_echo "yes" >&6; }
11609     else
11610       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11611 $as_echo "no" >&6; }
11612     fi
11613     ;;
11614   *)
11615     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11616 $as_echo "no" >&6; }
11617     ;;
11618   esac
11619 fi
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632   # Report which library types will actually be built
11633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11634 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11636 $as_echo "$can_build_shared" >&6; }
11637
11638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11639 $as_echo_n "checking whether to build shared libraries... " >&6; }
11640   test "$can_build_shared" = "no" && enable_shared=no
11641
11642   # On AIX, shared libraries and static libraries use the same namespace, and
11643   # are all built from PIC.
11644   case $host_os in
11645   aix3*)
11646     test "$enable_shared" = yes && enable_static=no
11647     if test -n "$RANLIB"; then
11648       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11649       postinstall_cmds='$RANLIB $lib'
11650     fi
11651     ;;
11652
11653   aix[4-9]*)
11654     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11655       test "$enable_shared" = yes && enable_static=no
11656     fi
11657     ;;
11658   esac
11659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11660 $as_echo "$enable_shared" >&6; }
11661
11662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11663 $as_echo_n "checking whether to build static libraries... " >&6; }
11664   # Make sure either enable_shared or enable_static is yes.
11665   test "$enable_shared" = yes || enable_static=yes
11666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11667 $as_echo "$enable_static" >&6; }
11668
11669
11670
11671
11672 fi
11673 ac_ext=c
11674 ac_cpp='$CPP $CPPFLAGS'
11675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11678
11679 CC="$lt_save_CC"
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693         ac_config_commands="$ac_config_commands libtool"
11694
11695
11696
11697
11698 # Only expand once:
11699
11700
11701
11702 # The tests for host and target for $enable_largefile require
11703 # canonical names.
11704
11705
11706
11707 # As the $enable_largefile decision depends on --enable-plugins we must set it
11708 # even in directories otherwise not depending on the $plugins option.
11709
11710
11711   maybe_plugins=no
11712   for ac_header in dlfcn.h
11713 do :
11714   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11715 "
11716 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
11717   cat >>confdefs.h <<_ACEOF
11718 #define HAVE_DLFCN_H 1
11719 _ACEOF
11720  maybe_plugins=yes
11721 fi
11722
11723 done
11724
11725   for ac_header in windows.h
11726 do :
11727   ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
11728 "
11729 if test "x$ac_cv_header_windows_h" = xyes; then :
11730   cat >>confdefs.h <<_ACEOF
11731 #define HAVE_WINDOWS_H 1
11732 _ACEOF
11733  maybe_plugins=yes
11734 fi
11735
11736 done
11737
11738
11739   # Check whether --enable-plugins was given.
11740 if test "${enable_plugins+set}" = set; then :
11741   enableval=$enable_plugins; case "${enableval}" in
11742       no) plugins=no ;;
11743       *) plugins=yes
11744          if test "$maybe_plugins" != "yes" ; then
11745            as_fn_error $? "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
11746          fi ;;
11747      esac
11748 else
11749   plugins=$maybe_plugins
11750
11751 fi
11752
11753   if test "$plugins" = "yes"; then
11754     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
11755 $as_echo_n "checking for library containing dlsym... " >&6; }
11756 if ${ac_cv_search_dlsym+:} false; then :
11757   $as_echo_n "(cached) " >&6
11758 else
11759   ac_func_search_save_LIBS=$LIBS
11760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11761 /* end confdefs.h.  */
11762
11763 /* Override any GCC internal prototype to avoid an error.
11764    Use char because int might match the return type of a GCC
11765    builtin and then its argument prototype would still apply.  */
11766 #ifdef __cplusplus
11767 extern "C"
11768 #endif
11769 char dlsym ();
11770 int
11771 main ()
11772 {
11773 return dlsym ();
11774   ;
11775   return 0;
11776 }
11777 _ACEOF
11778 for ac_lib in '' dl; do
11779   if test -z "$ac_lib"; then
11780     ac_res="none required"
11781   else
11782     ac_res=-l$ac_lib
11783     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11784   fi
11785   if ac_fn_c_try_link "$LINENO"; then :
11786   ac_cv_search_dlsym=$ac_res
11787 fi
11788 rm -f core conftest.err conftest.$ac_objext \
11789     conftest$ac_exeext
11790   if ${ac_cv_search_dlsym+:} false; then :
11791   break
11792 fi
11793 done
11794 if ${ac_cv_search_dlsym+:} false; then :
11795
11796 else
11797   ac_cv_search_dlsym=no
11798 fi
11799 rm conftest.$ac_ext
11800 LIBS=$ac_func_search_save_LIBS
11801 fi
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
11803 $as_echo "$ac_cv_search_dlsym" >&6; }
11804 ac_res=$ac_cv_search_dlsym
11805 if test "$ac_res" != no; then :
11806   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11807
11808 fi
11809
11810   fi
11811
11812
11813 case "${host}" in
11814   sparc-*-solaris*|i[3-7]86-*-solaris*)
11815     # On native 32bit sparc and ia32 solaris, large-file and procfs support
11816     # are mutually exclusive; and without procfs support, the bfd/ elf module
11817     # cannot provide certain routines such as elfcore_write_prpsinfo
11818     # or elfcore_write_prstatus.  So unless the user explicitly requested
11819     # large-file support through the --enable-largefile switch, disable
11820     # large-file support in favor of procfs support.
11821     test "${target}" = "${host}" -a "x$plugins" = xno \
11822       && : ${enable_largefile="no"}
11823     ;;
11824 esac
11825
11826 # Check whether --enable-largefile was given.
11827 if test "${enable_largefile+set}" = set; then :
11828   enableval=$enable_largefile;
11829 fi
11830
11831 if test "$enable_largefile" != no; then
11832
11833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11834 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11835 if ${ac_cv_sys_largefile_CC+:} false; then :
11836   $as_echo_n "(cached) " >&6
11837 else
11838   ac_cv_sys_largefile_CC=no
11839      if test "$GCC" != yes; then
11840        ac_save_CC=$CC
11841        while :; do
11842          # IRIX 6.2 and later do not support large files by default,
11843          # so use the C compiler's -n32 option if that helps.
11844          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h.  */
11846 #include <sys/types.h>
11847  /* Check that off_t can represent 2**63 - 1 correctly.
11848     We can't simply define LARGE_OFF_T to be 9223372036854775807,
11849     since some C++ compilers masquerading as C compilers
11850     incorrectly reject 9223372036854775807.  */
11851 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11852   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11853                        && LARGE_OFF_T % 2147483647 == 1)
11854                       ? 1 : -1];
11855 int
11856 main ()
11857 {
11858
11859   ;
11860   return 0;
11861 }
11862 _ACEOF
11863          if ac_fn_c_try_compile "$LINENO"; then :
11864   break
11865 fi
11866 rm -f core conftest.err conftest.$ac_objext
11867          CC="$CC -n32"
11868          if ac_fn_c_try_compile "$LINENO"; then :
11869   ac_cv_sys_largefile_CC=' -n32'; break
11870 fi
11871 rm -f core conftest.err conftest.$ac_objext
11872          break
11873        done
11874        CC=$ac_save_CC
11875        rm -f conftest.$ac_ext
11876     fi
11877 fi
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11879 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11880   if test "$ac_cv_sys_largefile_CC" != no; then
11881     CC=$CC$ac_cv_sys_largefile_CC
11882   fi
11883
11884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11885 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11886 if ${ac_cv_sys_file_offset_bits+:} false; then :
11887   $as_echo_n "(cached) " >&6
11888 else
11889   while :; do
11890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11891 /* end confdefs.h.  */
11892 #include <sys/types.h>
11893  /* Check that off_t can represent 2**63 - 1 correctly.
11894     We can't simply define LARGE_OFF_T to be 9223372036854775807,
11895     since some C++ compilers masquerading as C compilers
11896     incorrectly reject 9223372036854775807.  */
11897 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11898   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11899                        && LARGE_OFF_T % 2147483647 == 1)
11900                       ? 1 : -1];
11901 int
11902 main ()
11903 {
11904
11905   ;
11906   return 0;
11907 }
11908 _ACEOF
11909 if ac_fn_c_try_compile "$LINENO"; then :
11910   ac_cv_sys_file_offset_bits=no; break
11911 fi
11912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h.  */
11915 #define _FILE_OFFSET_BITS 64
11916 #include <sys/types.h>
11917  /* Check that off_t can represent 2**63 - 1 correctly.
11918     We can't simply define LARGE_OFF_T to be 9223372036854775807,
11919     since some C++ compilers masquerading as C compilers
11920     incorrectly reject 9223372036854775807.  */
11921 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11922   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11923                        && LARGE_OFF_T % 2147483647 == 1)
11924                       ? 1 : -1];
11925 int
11926 main ()
11927 {
11928
11929   ;
11930   return 0;
11931 }
11932 _ACEOF
11933 if ac_fn_c_try_compile "$LINENO"; then :
11934   ac_cv_sys_file_offset_bits=64; break
11935 fi
11936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11937   ac_cv_sys_file_offset_bits=unknown
11938   break
11939 done
11940 fi
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11942 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11943 case $ac_cv_sys_file_offset_bits in #(
11944   no | unknown) ;;
11945   *)
11946 cat >>confdefs.h <<_ACEOF
11947 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11948 _ACEOF
11949 ;;
11950 esac
11951 rm -rf conftest*
11952   if test $ac_cv_sys_file_offset_bits = unknown; then
11953     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11954 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11955 if ${ac_cv_sys_large_files+:} false; then :
11956   $as_echo_n "(cached) " >&6
11957 else
11958   while :; do
11959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h.  */
11961 #include <sys/types.h>
11962  /* Check that off_t can represent 2**63 - 1 correctly.
11963     We can't simply define LARGE_OFF_T to be 9223372036854775807,
11964     since some C++ compilers masquerading as C compilers
11965     incorrectly reject 9223372036854775807.  */
11966 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11967   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11968                        && LARGE_OFF_T % 2147483647 == 1)
11969                       ? 1 : -1];
11970 int
11971 main ()
11972 {
11973
11974   ;
11975   return 0;
11976 }
11977 _ACEOF
11978 if ac_fn_c_try_compile "$LINENO"; then :
11979   ac_cv_sys_large_files=no; break
11980 fi
11981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h.  */
11984 #define _LARGE_FILES 1
11985 #include <sys/types.h>
11986  /* Check that off_t can represent 2**63 - 1 correctly.
11987     We can't simply define LARGE_OFF_T to be 9223372036854775807,
11988     since some C++ compilers masquerading as C compilers
11989     incorrectly reject 9223372036854775807.  */
11990 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11991   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11992                        && LARGE_OFF_T % 2147483647 == 1)
11993                       ? 1 : -1];
11994 int
11995 main ()
11996 {
11997
11998   ;
11999   return 0;
12000 }
12001 _ACEOF
12002 if ac_fn_c_try_compile "$LINENO"; then :
12003   ac_cv_sys_large_files=1; break
12004 fi
12005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12006   ac_cv_sys_large_files=unknown
12007   break
12008 done
12009 fi
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12011 $as_echo "$ac_cv_sys_large_files" >&6; }
12012 case $ac_cv_sys_large_files in #(
12013   no | unknown) ;;
12014   *)
12015 cat >>confdefs.h <<_ACEOF
12016 #define _LARGE_FILES $ac_cv_sys_large_files
12017 _ACEOF
12018 ;;
12019 esac
12020 rm -rf conftest*
12021   fi
12022
12023
12024 fi
12025
12026
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
12028 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
12029 if ${gcc_cv_prog_cmp_skip+:} false; then :
12030   $as_echo_n "(cached) " >&6
12031 else
12032    echo abfoo >t1
12033   echo cdfoo >t2
12034   gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
12035   if cmp t1 t2 2 2 > /dev/null 2>&1; then
12036     if cmp t1 t2 1 1 > /dev/null 2>&1; then
12037       :
12038     else
12039       gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
12040     fi
12041   fi
12042   if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
12043     if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
12044       :
12045     else
12046       gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
12047     fi
12048   fi
12049   rm t1 t2
12050
12051 fi
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
12053 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
12054 do_compare="$gcc_cv_prog_cmp_skip"
12055
12056
12057
12058 # Check whether --enable-targets was given.
12059 if test "${enable_targets+set}" = set; then :
12060   enableval=$enable_targets; case "${enableval}" in
12061   yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
12062             ;;
12063   no)       enable_targets= ;;
12064   *)        enable_targets=$enableval ;;
12065 esac
12066 fi
12067
12068 ac_checking=
12069 . ${srcdir}/../bfd/development.sh
12070 test "$development" = true && ac_checking=yes
12071 # Check whether --enable-checking was given.
12072 if test "${enable_checking+set}" = set; then :
12073   enableval=$enable_checking; case "${enableval}" in
12074   no|none)  ac_checking= ;;
12075   *)        ac_checking=yes ;;
12076 esac
12077 fi
12078 if test x$ac_checking != x ; then
12079
12080 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
12081
12082 fi
12083
12084 # PR gas/19109
12085 # Decide the default method for compressing debug sections.
12086 ac_default_compressed_debug_sections=unset
12087 # Provide a configure time option to override our default.
12088 # Check whether --enable-compressed_debug_sections was given.
12089 if test "${enable_compressed_debug_sections+set}" = set; then :
12090   enableval=$enable_compressed_debug_sections; case ,"${enableval}", in
12091   ,yes, | ,all, | *,gas,*) ac_default_compressed_debug_sections=yes ;;
12092   ,no, | ,none,)  ac_default_compressed_debug_sections=no ;;
12093   *)   ac_default_compressed_debug_sections=unset ;;
12094 esac
12095 fi
12096
12097 # PR gas/19520
12098 # Decide if x86 assembler should generate relax relocations.
12099 ac_default_x86_relax_relocations=unset
12100 # Provide a configure time option to override our default.
12101 # Check whether --enable-x86_relax_relocations was given.
12102 if test "${enable_x86_relax_relocations+set}" = set; then :
12103   enableval=$enable_x86_relax_relocations; case "${enableval}" in
12104   no)  ac_default_x86_relax_relocations=0 ;;
12105 esac
12106 fi
12107
12108 # Decide if ELF assembler should generate common symbols with the
12109 # STT_COMMON type.
12110 ac_default_elf_stt_common=unset
12111 # Provide a configure time option to override our default.
12112 # Check whether --enable-elf_stt_common was given.
12113 if test "${enable_elf_stt_common+set}" = set; then :
12114   enableval=$enable_elf_stt_common; case "${enableval}" in
12115   yes)  ac_default_elf_stt_common=1 ;;
12116 esac
12117 fi
12118
12119
12120 # Decide if the ELF assembler should default to generating
12121 # GNU Build notes if none are provided by the input.
12122 ac_default_generate_build_notes=0
12123 # Provide a configuration option to override the default.
12124 # Check whether --enable-generate_build_notes was given.
12125 if test "${enable_generate_build_notes+set}" = set; then :
12126   enableval=$enable_generate_build_notes; case "${enableval}" in
12127   yes)  ac_default_generate_build_notes=1 ;;
12128   no)   ac_default_generate_build_notes=0 ;;
12129 esac
12130 fi
12131
12132 # Decide if the MIPS assembler should default to enable MIPS fix Loongson3
12133 # LLSC errata.
12134 ac_default_mips_fix_loongson3_llsc=unset
12135 # Provide a configuration option to override the default.
12136 # Check whether --enable-mips-fix-loongson3-llsc was given.
12137 if test "${enable_mips_fix_loongson3_llsc+set}" = set; then :
12138   enableval=$enable_mips_fix_loongson3_llsc; case "${enableval}" in
12139   yes)  ac_default_mips_fix_loongson3_llsc=1 ;;
12140   no)   ac_default_mips_fix_loongson3_llsc=0 ;;
12141 esac
12142 fi
12143
12144 # Decide if the x86 ELF assembler should default to generating GNU x86
12145 # used ISA and feature properties.
12146 ac_default_generate_x86_used_note=unset
12147 # Provide a configuration option to override the default.
12148 # Check whether --enable-x86-used-note was given.
12149 if test "${enable_x86_used_note+set}" = set; then :
12150   enableval=$enable_x86_used_note; case "${enableval}" in
12151   yes)  ac_default_generate_x86_used_note=1 ;;
12152   no)   ac_default_generate_x86_used_note=0 ;;
12153 esac
12154 fi
12155
12156 # Decide if the RISC-V ELF assembler should default to generating attribute.
12157 ac_default_generate_riscv_attr=unset
12158 # Provide a configuration option to override the default.
12159 # Check whether --enable-default-riscv-attribute was given.
12160 if test "${enable_default_riscv_attribute+set}" = set; then :
12161   enableval=$enable_default_riscv_attribute; case "${enableval}" in
12162   yes)  ac_default_generate_riscv_attr=1 ;;
12163   no)   ac_default_generate_riscv_attr=0 ;;
12164 esac
12165 fi
12166
12167 using_cgen=no
12168
12169
12170 # Set the 'development' global.
12171 . $srcdir/../bfd/development.sh
12172
12173 # Set acp_cpp_for_build variable
12174 ac_cpp_for_build="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
12175
12176 # Default set of GCC warnings to enable.
12177 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
12178 GCC_WARN_CFLAGS_FOR_BUILD="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
12179
12180 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h.  */
12183 __GNUC__
12184 _ACEOF
12185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12186   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
12187
12188 else
12189   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
12190 fi
12191 rm -f conftest*
12192
12193
12194 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
12195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12196 /* end confdefs.h.  */
12197 __GNUC__
12198 _ACEOF
12199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12200   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
12201
12202 else
12203   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
12204 fi
12205 rm -f conftest*
12206
12207
12208 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
12209 WARN_WRITE_STRINGS=""
12210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12211 /* end confdefs.h.  */
12212 __GNUC__
12213 _ACEOF
12214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12215   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
12216
12217 else
12218   WARN_WRITE_STRINGS="-Wwrite-strings"
12219 fi
12220 rm -f conftest*
12221
12222
12223 # Verify CC_FOR_BUILD to be compatible with warning flags
12224
12225 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h.  */
12228 __GNUC__
12229 _ACEOF
12230 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
12231   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
12232
12233 else
12234   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
12235 fi
12236 rm -f conftest*
12237
12238
12239 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h.  */
12242 __GNUC__
12243 _ACEOF
12244 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
12245   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
12246
12247 else
12248   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
12249 fi
12250 rm -f conftest*
12251
12252
12253 # Check whether --enable-werror was given.
12254 if test "${enable_werror+set}" = set; then :
12255   enableval=$enable_werror; case "${enableval}" in
12256      yes | y) ERROR_ON_WARNING="yes" ;;
12257      no | n)  ERROR_ON_WARNING="no" ;;
12258      *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
12259    esac
12260 fi
12261
12262
12263 # Disable -Wformat by default when using gcc on mingw
12264 case "${host}" in
12265   *-*-mingw32*)
12266     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12267       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
12268       GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
12269     fi
12270     ;;
12271   *) ;;
12272 esac
12273
12274 # Enable -Werror by default when using gcc.  Turn it off for releases.
12275 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
12276     ERROR_ON_WARNING=yes
12277 fi
12278
12279 NO_WERROR=
12280 if test "${ERROR_ON_WARNING}" = yes ; then
12281     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
12282     GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
12283     NO_WERROR="-Wno-error"
12284 fi
12285
12286 if test "${GCC}" = yes ; then
12287   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
12288   WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}"
12289 fi
12290
12291 # Check whether --enable-build-warnings was given.
12292 if test "${enable_build_warnings+set}" = set; then :
12293   enableval=$enable_build_warnings; case "${enableval}" in
12294   yes)  WARN_CFLAGS="${GCC_WARN_CFLAGS}"
12295         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}";;
12296   no)   if test "${GCC}" = yes ; then
12297           WARN_CFLAGS="-w"
12298       WARN_CFLAGS_FOR_BUILD="-w"
12299         fi;;
12300   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
12301         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}"
12302         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
12303   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
12304         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}"
12305         WARN_CFLAGS_FOR_BUILD="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
12306   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`
12307         WARN_CFLAGS_FOR_BUILD=`echo "${enableval}" | sed -e "s/,/ /g"`;;
12308 esac
12309 fi
12310
12311
12312 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
12313   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
12314 fi
12315
12316
12317
12318
12319
12320
12321
12322 # Generate a header file
12323 ac_config_headers="$ac_config_headers config.h:config.in"
12324
12325
12326
12327 # Check whether --with-cpu was given.
12328 if test "${with_cpu+set}" = set; then :
12329   withval=$with_cpu;
12330 cat >>confdefs.h <<_ACEOF
12331 #define TARGET_WITH_CPU "${with_cpu}"
12332 _ACEOF
12333
12334 fi
12335
12336
12337 # PR 14072
12338
12339
12340 # If we are on a DOS filesystem, we must use gdb.ini rather than
12341 # .gdbinit.
12342 case "${host}" in
12343   *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*)
12344     GDBINIT="gdb.ini"
12345     ac_config_files="$ac_config_files gdb.ini:gdbinit.in"
12346
12347     ;;
12348   *)
12349     GDBINIT=".gdbinit"
12350     ac_config_files="$ac_config_files .gdbinit:gdbinit.in"
12351
12352     ;;
12353 esac
12354
12355
12356 #We need this for the host.
12357  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12358 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12359 if ${ac_cv_c_bigendian+:} false; then :
12360   $as_echo_n "(cached) " >&6
12361 else
12362   ac_cv_c_bigendian=unknown
12363     # See if we're dealing with a universal compiler.
12364     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h.  */
12366 #ifndef __APPLE_CC__
12367                not a universal capable compiler
12368              #endif
12369              typedef int dummy;
12370
12371 _ACEOF
12372 if ac_fn_c_try_compile "$LINENO"; then :
12373
12374         # Check for potential -arch flags.  It is not universal unless
12375         # there are at least two -arch flags with different values.
12376         ac_arch=
12377         ac_prev=
12378         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12379          if test -n "$ac_prev"; then
12380            case $ac_word in
12381              i?86 | x86_64 | ppc | ppc64)
12382                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12383                  ac_arch=$ac_word
12384                else
12385                  ac_cv_c_bigendian=universal
12386                  break
12387                fi
12388                ;;
12389            esac
12390            ac_prev=
12391          elif test "x$ac_word" = "x-arch"; then
12392            ac_prev=arch
12393          fi
12394        done
12395 fi
12396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12397     if test $ac_cv_c_bigendian = unknown; then
12398       # See if sys/param.h defines the BYTE_ORDER macro.
12399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h.  */
12401 #include <sys/types.h>
12402              #include <sys/param.h>
12403
12404 int
12405 main ()
12406 {
12407 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12408                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12409                      && LITTLE_ENDIAN)
12410               bogus endian macros
12411              #endif
12412
12413   ;
12414   return 0;
12415 }
12416 _ACEOF
12417 if ac_fn_c_try_compile "$LINENO"; then :
12418   # It does; now see whether it defined to BIG_ENDIAN or not.
12419          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h.  */
12421 #include <sys/types.h>
12422                 #include <sys/param.h>
12423
12424 int
12425 main ()
12426 {
12427 #if BYTE_ORDER != BIG_ENDIAN
12428                  not big endian
12429                 #endif
12430
12431   ;
12432   return 0;
12433 }
12434 _ACEOF
12435 if ac_fn_c_try_compile "$LINENO"; then :
12436   ac_cv_c_bigendian=yes
12437 else
12438   ac_cv_c_bigendian=no
12439 fi
12440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12441 fi
12442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12443     fi
12444     if test $ac_cv_c_bigendian = unknown; then
12445       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h.  */
12448 #include <limits.h>
12449
12450 int
12451 main ()
12452 {
12453 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12454               bogus endian macros
12455              #endif
12456
12457   ;
12458   return 0;
12459 }
12460 _ACEOF
12461 if ac_fn_c_try_compile "$LINENO"; then :
12462   # It does; now see whether it defined to _BIG_ENDIAN or not.
12463          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h.  */
12465 #include <limits.h>
12466
12467 int
12468 main ()
12469 {
12470 #ifndef _BIG_ENDIAN
12471                  not big endian
12472                 #endif
12473
12474   ;
12475   return 0;
12476 }
12477 _ACEOF
12478 if ac_fn_c_try_compile "$LINENO"; then :
12479   ac_cv_c_bigendian=yes
12480 else
12481   ac_cv_c_bigendian=no
12482 fi
12483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12484 fi
12485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12486     fi
12487     if test $ac_cv_c_bigendian = unknown; then
12488       # Compile a test program.
12489       if test "$cross_compiling" = yes; then :
12490   # Try to guess by grepping values from an object file.
12491          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h.  */
12493 short int ascii_mm[] =
12494                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12495                 short int ascii_ii[] =
12496                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12497                 int use_ascii (int i) {
12498                   return ascii_mm[i] + ascii_ii[i];
12499                 }
12500                 short int ebcdic_ii[] =
12501                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12502                 short int ebcdic_mm[] =
12503                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12504                 int use_ebcdic (int i) {
12505                   return ebcdic_mm[i] + ebcdic_ii[i];
12506                 }
12507                 extern int foo;
12508
12509 int
12510 main ()
12511 {
12512 return use_ascii (foo) == use_ebcdic (foo);
12513   ;
12514   return 0;
12515 }
12516 _ACEOF
12517 if ac_fn_c_try_compile "$LINENO"; then :
12518   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12519               ac_cv_c_bigendian=yes
12520             fi
12521             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12522               if test "$ac_cv_c_bigendian" = unknown; then
12523                 ac_cv_c_bigendian=no
12524               else
12525                 # finding both strings is unlikely to happen, but who knows?
12526                 ac_cv_c_bigendian=unknown
12527               fi
12528             fi
12529 fi
12530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12531 else
12532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h.  */
12534 $ac_includes_default
12535 int
12536 main ()
12537 {
12538
12539              /* Are we little or big endian?  From Harbison&Steele.  */
12540              union
12541              {
12542                long int l;
12543                char c[sizeof (long int)];
12544              } u;
12545              u.l = 1;
12546              return u.c[sizeof (long int) - 1] == 1;
12547
12548   ;
12549   return 0;
12550 }
12551 _ACEOF
12552 if ac_fn_c_try_run "$LINENO"; then :
12553   ac_cv_c_bigendian=no
12554 else
12555   ac_cv_c_bigendian=yes
12556 fi
12557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12558   conftest.$ac_objext conftest.beam conftest.$ac_ext
12559 fi
12560
12561     fi
12562 fi
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12564 $as_echo "$ac_cv_c_bigendian" >&6; }
12565  case $ac_cv_c_bigendian in #(
12566    yes)
12567      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12568 ;; #(
12569    no)
12570       ;; #(
12571    universal)
12572
12573 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12574
12575      ;; #(
12576    *)
12577      as_fn_error $? "unknown endianness
12578  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12579  esac
12580
12581
12582 te_file=generic
12583
12584 # Makefile target for installing gas in $(tooldir)/bin.
12585 install_tooldir=install-exec-tooldir
12586
12587 canon_targets=""
12588 all_targets=no
12589 if test -n "$enable_targets" ; then
12590   for t in `echo $enable_targets | sed 's/,/ /g'`; do
12591     if test $t = "all"; then
12592       all_targets=yes
12593       continue
12594     fi
12595     result=`$ac_config_sub $t 2>/dev/null`
12596     if test -n "$result" ; then
12597       canon_targets="$canon_targets $result"
12598 #    else
12599 #      # Permit "all", etc.  We don't support it yet though.
12600 #      canon_targets="$canon_targets $t"
12601     fi
12602   done
12603   _gas_uniq_list="$canon_targets"
12604 _gas_uniq_newlist=""
12605 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
12606   case $_gas_uniq_i in
12607   _gas_uniq_dummy) ;;
12608   *) case " $_gas_uniq_newlist " in
12609        *" $_gas_uniq_i "*) ;;
12610        *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
12611      esac ;;
12612   esac
12613 done
12614 canon_targets=$_gas_uniq_newlist
12615
12616 fi
12617
12618 emulations=""
12619
12620 for this_target in $target $canon_targets ; do
12621
12622     targ=${this_target}
12623     . ${srcdir}/configure.tgt
12624
12625     case ${target_cpu} in
12626       crisv32)
12627
12628 cat >>confdefs.h <<_ACEOF
12629 #define DEFAULT_CRIS_ARCH $arch
12630 _ACEOF
12631
12632         ;;
12633     esac
12634
12635     if test ${this_target} = $target ; then
12636       target_cpu_type=${cpu_type}
12637     elif test ${target_cpu_type} != ${cpu_type} ; then
12638       continue
12639     fi
12640
12641     generic_target=${cpu_type}-${target_vendor}-${target_os}
12642     case ${generic_target} in
12643       i386-*-msdosdjgpp* \
12644       | i386-*-go32* \
12645       | i386-go32-rtems*)
12646
12647 $as_echo "#define STRICTCOFF 1" >>confdefs.h
12648
12649         ;;
12650
12651       i386-*-solaris2 \
12652       | x86_64-*-solaris2 \
12653       | i386-*-solaris2.[0-9] \
12654       | i386-*-solaris2.1[01] \
12655       | x86_64-*-solaris2.1[01])
12656         if test ${this_target} = $target \
12657            && test ${ac_default_x86_relax_relocations} = unset; then
12658           ac_default_x86_relax_relocations=0
12659         fi
12660         ;;
12661
12662       microblaze*)
12663         ;;
12664
12665       ppc-*-aix[5-9].*)
12666
12667 $as_echo "#define AIX_WEAK_SUPPORT 1" >>confdefs.h
12668
12669         ;;
12670       ppc-*-solaris*)
12671         if test ${this_target} = $target; then
12672
12673 $as_echo "#define TARGET_SOLARIS_COMMENT 1" >>confdefs.h
12674
12675         fi
12676         if test x${endian} = xbig; then
12677           as_fn_error $? "Solaris must be configured little endian" "$LINENO" 5
12678         fi
12679         ;;
12680     esac
12681
12682     if test ${this_target} = $target ; then
12683       endian_def=
12684       if test x${endian} = xbig; then
12685         endian_def=1
12686       elif test x${endian} = xlittle; then
12687         endian_def=0
12688       fi
12689       if test x${endian_def} != x; then
12690
12691 cat >>confdefs.h <<_ACEOF
12692 #define TARGET_BYTES_BIG_ENDIAN $endian_def
12693 _ACEOF
12694
12695       fi
12696     fi
12697
12698 # Other random stuff.
12699
12700     case ${cpu_type} in
12701       mips)
12702         # Set mips_cpu to the name of the default CPU.
12703         case ${target_cpu} in
12704           mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el)
12705             mips_cpu=from-abi
12706             ;;
12707           mipsisa32 | mipsisa32el)
12708             mips_cpu=mips32
12709             ;;
12710           mipsisa32r2 | mipsisa32r2el)
12711             mips_cpu=mips32r2
12712             ;;
12713           mipsisa32r3 | mipsisa32r3el)
12714             mips_cpu=mips32r3
12715             ;;
12716           mipsisa32r5 | mipsisa32r5el)
12717             mips_cpu=mips32r5
12718             ;;
12719           mipsisa32r6 | mipsisa32r6el)
12720             mips_cpu=mips32r6
12721             ;;
12722           mipsisa64 | mipsisa64el)
12723             mips_cpu=mips64
12724             ;;
12725           mipsisa64r2 | mipsisa64r2el)
12726             mips_cpu=mips64r2
12727             ;;
12728           mipsisa64r3 | mipsisa64r3el)
12729             mips_cpu=mips64r3
12730             ;;
12731           mipsisa64r5 | mipsisa64r5el)
12732             mips_cpu=mips64r5
12733             ;;
12734           mipsisa64r6 | mipsisa64r6el)
12735             mips_cpu=mips64r6
12736             ;;
12737           mipstx39 | mipstx39el)
12738             mips_cpu=r3900
12739             ;;
12740           mips64vr | mips64vrel)
12741             mips_cpu=vr4100
12742             ;;
12743           mipsisa32r2* | mipsisa64r2*)
12744             mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
12745             ;;
12746           mipsisa32r6* | mipsisa64r6*)
12747             mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r6//' -e 's/el$//'`
12748             ;;
12749           mips64* | mipsisa64* | mipsisa32*)
12750             mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
12751             ;;
12752           mips*)
12753             mips_cpu=`echo $target_cpu | sed -e 's/^mips//' -e 's/el$//'`
12754             ;;
12755           *)
12756             as_fn_error $? "$target_cpu isn't a supported MIPS CPU name" "$LINENO" 5
12757             ;;
12758         esac
12759         # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
12760         # binaries.  It's a GNU extension that some OSes don't understand.
12761         case ${target} in
12762           *-*-irix*)
12763             use_e_mips_abi_o32=0
12764             ;;
12765           *)
12766             use_e_mips_abi_o32=1
12767             ;;
12768         esac
12769         # Decide whether to generate 32-bit or 64-bit code by default.
12770         # Used to resolve -march=from-abi when an embedded ABI is selected.
12771         case ${target} in
12772           mips64*-*-* | mipsisa64*-*-*)
12773             mips_default_64bit=1
12774             ;;
12775           *)
12776             mips_default_64bit=0
12777             ;;
12778         esac
12779         # Decide which ABI to target by default.
12780         case ${target} in
12781           mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* \
12782           | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*)
12783             mips_default_abi=N32_ABI
12784             ;;
12785           mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu)
12786             mips_default_abi=O32_ABI
12787             ;;
12788           mips64*-openbsd*)
12789             mips_default_abi=N64_ABI
12790             ;;
12791           *)
12792             mips_default_abi=NO_ABI
12793             ;;
12794         esac
12795
12796 cat >>confdefs.h <<_ACEOF
12797 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
12798 _ACEOF
12799
12800
12801 cat >>confdefs.h <<_ACEOF
12802 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
12803 _ACEOF
12804
12805
12806 cat >>confdefs.h <<_ACEOF
12807 #define MIPS_DEFAULT_64BIT $mips_default_64bit
12808 _ACEOF
12809
12810
12811 cat >>confdefs.h <<_ACEOF
12812 #define MIPS_DEFAULT_ABI $mips_default_abi
12813 _ACEOF
12814
12815         ;;
12816     esac
12817
12818     # Do we need the opcodes library?
12819     case ${cpu_type} in
12820       vax | tic30)
12821         ;;
12822
12823       *)
12824         need_opcodes=yes
12825
12826         case "${enable_shared}" in
12827         yes) shared_opcodes=true ;;
12828         *opcodes*) shared_opcodes=true ;;
12829         *) shared_opcodes=false ;;
12830         esac
12831         ;;
12832     esac
12833
12834     # Any other special object files needed ?
12835     case ${cpu_type} in
12836
12837       bfin)
12838         for f in bfin-parse.o bfin-lex-wrapper.o; do
12839           case " $extra_objects " in
12840             *" $f "*) ;;
12841             *) extra_objects="$extra_objects $f" ;;
12842           esac
12843         done
12844         ;;
12845
12846       bpf)
12847         if test $this_target = $target ; then
12848
12849 cat >>confdefs.h <<_ACEOF
12850 #define DEFAULT_ARCH "${arch}"
12851 _ACEOF
12852
12853         fi
12854         using_cgen=yes
12855         ;;
12856       epiphany | fr30 | ip2k | iq2000 | lm32 | m32r | or1k)
12857         using_cgen=yes
12858         ;;
12859
12860       m32c)
12861         using_cgen=yes
12862         ;;
12863       frv)
12864         using_cgen=yes
12865         ;;
12866       m68k)
12867         f=m68k-parse.o
12868         case " $extra_objects " in
12869           *" $f "*) ;;
12870           *) extra_objects="$extra_objects $f" ;;
12871         esac
12872         ;;
12873
12874       mep)
12875         using_cgen=yes
12876         ;;
12877
12878       mips)
12879         for f in itbl-parse.o itbl-lex-wrapper.o itbl-ops.o; do
12880           case " $extra_objects " in
12881             *" $f "*) ;;
12882             *) extra_objects="$extra_objects $f" ;;
12883           esac
12884         done
12885         ;;
12886
12887       mt)
12888         using_cgen=yes
12889         ;;
12890
12891       nds32)
12892         # setup NDS32_LINUX_TOOLCHAIN definition
12893         if test "linux" = $em; then
12894
12895 $as_echo "#define NDS32_LINUX_TOOLCHAIN 1" >>confdefs.h
12896
12897         else
12898
12899 $as_echo "#define NDS32_LINUX_TOOLCHAIN 0" >>confdefs.h
12900
12901         fi
12902
12903         # Decide BASELINE, REDUCED_REGS, FPU_DP_EXT, FPU_SP_EXT features
12904         # based on arch_name.
12905         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-arch" >&5
12906 $as_echo_n "checking for default configuration of --with-arch... " >&6; }
12907         if test "x${with_arch}" != x; then
12908           case ${with_arch} in
12909             v2j | v2s | v2f | v2 | v3m | v3j | v3s | v3f | v3 )
12910
12911 cat >>confdefs.h <<_ACEOF
12912 #define NDS32_DEFAULT_ARCH_NAME "$with_arch"
12913 _ACEOF
12914
12915               ;;
12916             *)
12917               as_fn_error $? "This kind of arch name does *NOT* exist!" "$LINENO" 5
12918               ;;
12919           esac
12920         fi
12921         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_arch" >&5
12922 $as_echo "$with_arch" >&6; }
12923
12924         # Decide features one by one.
12925         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5
12926 $as_echo_n "checking for default configuration of --enable-dx-regs... " >&6; }
12927         if test "x${enable_dx_regs}" = xyes; then
12928
12929 $as_echo "#define NDS32_DEFAULT_DX_REGS 1" >>confdefs.h
12930
12931         else
12932
12933 $as_echo "#define NDS32_DEFAULT_DX_REGS 0" >>confdefs.h
12934
12935         fi
12936         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dx_regs" >&5
12937 $as_echo "$enable_dx_regs" >&6; }
12938
12939         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5
12940 $as_echo_n "checking for default configuration of --enable-perf-ext... " >&6; }
12941         if test "x${enable_perf_ext}" = xno; then
12942
12943 $as_echo "#define NDS32_DEFAULT_PERF_EXT 0" >>confdefs.h
12944
12945         else
12946
12947 $as_echo "#define NDS32_DEFAULT_PERF_EXT 1" >>confdefs.h
12948
12949         fi
12950         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext" >&5
12951 $as_echo "$enable_perf_ext" >&6; }
12952
12953         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5
12954 $as_echo_n "checking for default configuration of --enable-perf-ext2... " >&6; }
12955         if test "x${enable_perf_ext2}" = xno; then
12956
12957 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 0" >>confdefs.h
12958
12959         else
12960
12961 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 1" >>confdefs.h
12962
12963         fi
12964         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext2" >&5
12965 $as_echo "$enable_perf_ext2" >&6; }
12966
12967         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5
12968 $as_echo_n "checking for default configuration of --enable-string-ext... " >&6; }
12969         if test "x${enable_string_ext}" = xno; then
12970
12971 $as_echo "#define NDS32_DEFAULT_STRING_EXT 0" >>confdefs.h
12972
12973         else
12974
12975 $as_echo "#define NDS32_DEFAULT_STRING_EXT 1" >>confdefs.h
12976
12977         fi
12978         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_string_ext" >&5
12979 $as_echo "$enable_string_ext" >&6; }
12980
12981         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5
12982 $as_echo_n "checking for default configuration of --enable-audio-ext... " >&6; }
12983         if test "x${enable_audio_ext}" = xno; then
12984
12985 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 0" >>confdefs.h
12986
12987         else
12988
12989 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 1" >>confdefs.h
12990
12991         fi
12992         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_audio_ext" >&5
12993 $as_echo "$enable_audio_ext" >&6; }
12994
12995         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dsp-ext" >&5
12996 $as_echo_n "checking for default configuration of --enable-dsp-ext... " >&6; }
12997         if test "x${enable_dsp_ext}" = xno; then
12998
12999 $as_echo "#define NDS32_DEFAULT_DSP_EXT 0" >>confdefs.h
13000
13001         else
13002
13003 $as_echo "#define NDS32_DEFAULT_DSP_EXT 1" >>confdefs.h
13004
13005         fi
13006         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dsp_ext" >&5
13007 $as_echo "$enable_dsp_ext" >&6; }
13008
13009         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-zol-ext" >&5
13010 $as_echo_n "checking for default configuration of --enable-zol-ext... " >&6; }
13011         if test "x${enable_zol_ext}" = xno; then
13012
13013 $as_echo "#define NDS32_DEFAULT_ZOL_EXT 0" >>confdefs.h
13014
13015         else
13016
13017 $as_echo "#define NDS32_DEFAULT_ZOL_EXT 1" >>confdefs.h
13018
13019         fi
13020         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_zol_ext" >&5
13021 $as_echo "$enable_zol_ext" >&6; }
13022         ;;
13023
13024       aarch64 | i386 | riscv | s390 | sparc)
13025         if test $this_target = $target ; then
13026
13027 cat >>confdefs.h <<_ACEOF
13028 #define DEFAULT_ARCH "${arch}"
13029 _ACEOF
13030
13031         fi
13032         ;;
13033
13034       rl78)
13035         f=rl78-parse.o
13036         case " $extra_objects " in
13037           *" $f "*) ;;
13038           *) extra_objects="$extra_objects $f" ;;
13039         esac
13040         ;;
13041
13042       rx)
13043         f=rx-parse.o
13044         case " $extra_objects " in
13045           *" $f "*) ;;
13046           *) extra_objects="$extra_objects $f" ;;
13047         esac
13048         ;;
13049
13050       xstormy16)
13051         using_cgen=yes
13052         ;;
13053
13054       xc16x)
13055         using_cgen=yes
13056         ;;
13057
13058       xtensa)
13059         f=config/xtensa-relax.o
13060         case " $extra_objects " in
13061           *" $f "*) ;;
13062           *) extra_objects="$extra_objects $f" ;;
13063         esac
13064         ;;
13065
13066       *)
13067         ;;
13068     esac
13069
13070     if test $using_cgen = yes ; then
13071         f=cgen.o
13072         case " $extra_objects " in
13073           *" $f "*) ;;
13074           *) extra_objects="$extra_objects $f" ;;
13075         esac
13076     fi
13077
13078 # See if we really can support this configuration with the emulation code.
13079
13080     if test $this_target = $target ; then
13081       obj_format=$fmt
13082       te_file=$em
13083     fi
13084
13085     case ${te_file} in
13086       vms)
13087         f=config/te-vms.o
13088         case " $extra_objects " in
13089           *" $f "*) ;;
13090           *) extra_objects="$extra_objects $f" ;;
13091         esac ;;
13092     esac
13093
13094 # From target name and format, produce a list of supported emulations.
13095
13096     case ${generic_target}-${fmt} in
13097       mips-*-*-*)       case "$endian" in
13098                         big)    emulation="mipsbelf mipslelf mipself" ;;
13099                         *)      emulation="mipslelf mipsbelf mipself" ;;
13100                         esac ;;
13101       # i386-pc-pe-coff != i386-pc-coff.
13102       i386-*-pe-coff)   ;;
13103       # Uncommenting the next line will turn on support for i386 AOUT
13104       # for the default linux configuration
13105       # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
13106       #
13107       i386-*-aout)      emulation="i386aout" ;;
13108       i386-*-coff)      emulation="i386coff" ;;
13109       i386-*-elf)       emulation="i386elf" ;;
13110
13111       # Always all formats.  The first stated emulation becomes the default.
13112       cris-*-*aout*)    emulation="crisaout criself" ;;
13113       cris-*-*)         emulation="criself crisaout" ;;
13114     esac
13115
13116     emulations="$emulations $emulation"
13117
13118 done
13119
13120 if test ${ac_default_x86_relax_relocations} = unset; then
13121   ac_default_x86_relax_relocations=1
13122 fi
13123
13124 cat >>confdefs.h <<_ACEOF
13125 #define DEFAULT_GENERATE_X86_RELAX_RELOCATIONS $ac_default_x86_relax_relocations
13126 _ACEOF
13127
13128
13129 if test ${ac_default_elf_stt_common} = unset; then
13130   ac_default_elf_stt_common=0
13131 fi
13132
13133 cat >>confdefs.h <<_ACEOF
13134 #define DEFAULT_GENERATE_ELF_STT_COMMON $ac_default_elf_stt_common
13135 _ACEOF
13136
13137
13138
13139 cat >>confdefs.h <<_ACEOF
13140 #define DEFAULT_GENERATE_BUILD_NOTES $ac_default_generate_build_notes
13141 _ACEOF
13142
13143
13144 if test ${ac_default_generate_x86_used_note} = unset; then
13145   ac_default_generate_x86_used_note=0
13146 fi
13147
13148 cat >>confdefs.h <<_ACEOF
13149 #define DEFAULT_X86_USED_NOTE $ac_default_generate_x86_used_note
13150 _ACEOF
13151
13152
13153 if test ${ac_default_generate_riscv_attr} = unset; then
13154     case ${target_os} in
13155       elf)
13156         ac_default_generate_riscv_attr=1
13157         ;;
13158       *)
13159         ac_default_generate_riscv_attr=0
13160         ;;
13161   esac
13162 fi
13163
13164
13165 cat >>confdefs.h <<_ACEOF
13166 #define DEFAULT_RISCV_ATTR $ac_default_generate_riscv_attr
13167 _ACEOF
13168
13169
13170 if test ${ac_default_mips_fix_loongson3_llsc} = unset; then
13171   ac_default_mips_fix_loongson3_llsc=0
13172 fi
13173
13174 cat >>confdefs.h <<_ACEOF
13175 #define DEFAULT_MIPS_FIX_LOONGSON3_LLSC $ac_default_mips_fix_loongson3_llsc
13176 _ACEOF
13177
13178
13179 if test x$ac_default_compressed_debug_sections = xyes ; then
13180
13181 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
13182
13183 fi
13184
13185 # Turn on all targets if possible
13186 if test ${all_targets} = "yes"; then
13187   case ${target_cpu_type} in
13188   i386)
13189     case ${obj_format} in
13190     aout)
13191       emulations="$emulations i386coff i386elf"
13192       ;;
13193     coff)
13194       emulations="$emulations i386aout i386elf"
13195     ;;
13196     elf)
13197       emulations="$emulations i386aout i386coff"
13198       ;;
13199     esac
13200   ;;
13201   x86_64)
13202     case ${obj_format} in
13203     aout)
13204       emulations="$emulations i386coff i386elf"
13205       ;;
13206     coff)
13207       emulations="$emulations i386aout i386elf"
13208     ;;
13209     elf)
13210       emulations="$emulations i386aout i386coff"
13211       ;;
13212     esac
13213   ;;
13214   esac
13215 fi
13216
13217 # PE code has way too many macros tweaking behaviour
13218 case ${te_file} in
13219   pe*) emulations="" ;;
13220 esac
13221
13222 # Assign floating point type.  Most processors with FP support
13223 # IEEE FP.  On those that don't support FP at all, usually IEEE
13224 # is emulated.
13225 case ${target_cpu} in
13226   vax | pdp11 ) atof=vax ;;
13227   *)            atof=ieee ;;
13228 esac
13229
13230 case "${obj_format}" in
13231   "") as_fn_error $? "GAS does not know what format to use for target ${target}" "$LINENO" 5 ;;
13232 esac
13233
13234 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
13235 cgen_cpu_prefix=""
13236 if test $using_cgen = yes ; then
13237   case ${target_cpu} in
13238     or1knd)
13239        cgen_cpu_prefix=or1k ;;
13240     *) cgen_cpu_prefix=${target_cpu} ;;
13241   esac
13242
13243
13244 $as_echo "#define USING_CGEN 1" >>confdefs.h
13245
13246 fi
13247
13248
13249 if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then
13250   as_fn_error $? "GAS does not support target CPU ${target_cpu_type}" "$LINENO" 5
13251 fi
13252
13253 if test ! -r ${srcdir}/config/obj-${obj_format}.c; then
13254   as_fn_error $? "GAS does not have support for object file format ${obj_format}" "$LINENO" 5
13255 fi
13256
13257 # Some COFF configurations want these random other flags set.
13258 case ${obj_format} in
13259   coff)
13260     case ${target_cpu_type} in
13261       i386)
13262 $as_echo "#define I386COFF 1" >>confdefs.h
13263  ;;
13264       x86_64)
13265 $as_echo "#define I386COFF 1" >>confdefs.h
13266  ;;
13267     esac
13268     ;;
13269 esac
13270
13271 # Getting this done right is going to be a bitch.  Each configuration specified
13272 # with --enable-targets=... should be checked for environment, format, cpu
13273 # setting.
13274 #
13275 # For each configuration, the necessary object file support code must be linked
13276 # in.  This might be only one, it might be up to four.  The necessary emulation
13277 # code needs to be provided, too.
13278 #
13279 # And then there's "--enable-targets=all"....
13280 #
13281 # For now, just always do it for MIPS ELF configurations.  Sigh.
13282
13283 formats="${obj_format}"
13284 emfiles=""
13285 EMULATIONS=""
13286 _gas_uniq_list="$emulations"
13287 _gas_uniq_newlist=""
13288 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
13289   case $_gas_uniq_i in
13290   _gas_uniq_dummy) ;;
13291   *) case " $_gas_uniq_newlist " in
13292        *" $_gas_uniq_i "*) ;;
13293        *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
13294      esac ;;
13295   esac
13296 done
13297 emulations=$_gas_uniq_newlist
13298
13299 for em in . $emulations ; do
13300   case $em in
13301     .)  continue ;;
13302     mipsbelf | mipslelf | mipself)
13303         fmt=elf   file=mipself ;;
13304     *coff)
13305         fmt=coff  file=$em ;;
13306     *aout)
13307         fmt=aout file=$em ;;
13308     *elf)
13309         fmt=elf file=$em ;;
13310   esac
13311   formats="$formats $fmt"
13312   emfiles="$emfiles config/e-$file.o"
13313   EMULATIONS="$EMULATIONS &$em,"
13314 done
13315 _gas_uniq_list="$formats"
13316 _gas_uniq_newlist=""
13317 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
13318   case $_gas_uniq_i in
13319   _gas_uniq_dummy) ;;
13320   *) case " $_gas_uniq_newlist " in
13321        *" $_gas_uniq_i "*) ;;
13322        *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
13323      esac ;;
13324   esac
13325 done
13326 formats=$_gas_uniq_newlist
13327
13328 _gas_uniq_list="$emfiles"
13329 _gas_uniq_newlist=""
13330 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
13331   case $_gas_uniq_i in
13332   _gas_uniq_dummy) ;;
13333   *) case " $_gas_uniq_newlist " in
13334        *" $_gas_uniq_i "*) ;;
13335        *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
13336      esac ;;
13337   esac
13338 done
13339 emfiles=$_gas_uniq_newlist
13340
13341 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
13342   for fmt in $formats ; do
13343     case $fmt in
13344       aout)
13345 $as_echo "#define OBJ_MAYBE_AOUT 1" >>confdefs.h
13346    ;;
13347       coff)
13348 $as_echo "#define OBJ_MAYBE_COFF 1" >>confdefs.h
13349     ;;
13350       ecoff)
13351 $as_echo "#define OBJ_MAYBE_ECOFF 1" >>confdefs.h
13352    ;;
13353       elf)
13354 $as_echo "#define OBJ_MAYBE_ELF 1" >>confdefs.h
13355      ;;
13356       generic)
13357 $as_echo "#define OBJ_MAYBE_GENERIC 1" >>confdefs.h
13358  ;;
13359       som)
13360 $as_echo "#define OBJ_MAYBE_SOM 1" >>confdefs.h
13361      ;;
13362     esac
13363     extra_objects="$extra_objects config/obj-$fmt.o"
13364   done
13365   obj_format=multi
13366 fi
13367 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
13368   DEFAULT_EMULATION=`set . $emulations ; echo $2`
13369   # e-mipself has more than one emulation per file, e-i386* has just one at the
13370   # moment.  If only one emulation is specified, then don't define
13371   # USE_EMULATIONS or include any of the e-files as they will only be bloat.
13372   case "${obj_format}${emfiles}" in
13373     multi* | *mipself*)
13374       extra_objects="$extra_objects $emfiles"
13375
13376 $as_echo "#define USE_EMULATIONS 1" >>confdefs.h
13377  ;;
13378   esac
13379 fi
13380
13381
13382 cat >>confdefs.h <<_ACEOF
13383 #define EMULATIONS $EMULATIONS
13384 _ACEOF
13385
13386
13387 cat >>confdefs.h <<_ACEOF
13388 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
13389 _ACEOF
13390
13391
13392 reject_dev_configs=yes
13393
13394 case ${reject_dev_configs}-${dev} in
13395   yes-yes) # Oops.
13396     as_fn_error $? "GAS does not support the ${generic_target} configuration." "$LINENO" 5
13397     ;;
13398 esac
13399
13400
13401
13402
13403
13404
13405
13406 # do we need the opcodes library?
13407 case "${need_opcodes}" in
13408 yes)
13409   OPCODES_LIB=../opcodes/libopcodes.la
13410   ;;
13411 esac
13412
13413
13414
13415
13416 cat >>confdefs.h <<_ACEOF
13417 #define TARGET_ALIAS "${target_alias}"
13418 _ACEOF
13419
13420
13421 cat >>confdefs.h <<_ACEOF
13422 #define TARGET_CANONICAL "${target}"
13423 _ACEOF
13424
13425
13426 cat >>confdefs.h <<_ACEOF
13427 #define TARGET_CPU "${target_cpu}"
13428 _ACEOF
13429
13430
13431 cat >>confdefs.h <<_ACEOF
13432 #define TARGET_VENDOR "${target_vendor}"
13433 _ACEOF
13434
13435
13436 cat >>confdefs.h <<_ACEOF
13437 #define TARGET_OS "${target_os}"
13438 _ACEOF
13439
13440
13441 for ac_prog in 'bison -y' byacc
13442 do
13443   # Extract the first word of "$ac_prog", so it can be a program name with args.
13444 set dummy $ac_prog; ac_word=$2
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13446 $as_echo_n "checking for $ac_word... " >&6; }
13447 if ${ac_cv_prog_YACC+:} false; then :
13448   $as_echo_n "(cached) " >&6
13449 else
13450   if test -n "$YACC"; then
13451   ac_cv_prog_YACC="$YACC" # Let the user override the test.
13452 else
13453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13454 for as_dir in $PATH
13455 do
13456   IFS=$as_save_IFS
13457   test -z "$as_dir" && as_dir=.
13458     for ac_exec_ext in '' $ac_executable_extensions; do
13459   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13460     ac_cv_prog_YACC="$ac_prog"
13461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13462     break 2
13463   fi
13464 done
13465   done
13466 IFS=$as_save_IFS
13467
13468 fi
13469 fi
13470 YACC=$ac_cv_prog_YACC
13471 if test -n "$YACC"; then
13472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
13473 $as_echo "$YACC" >&6; }
13474 else
13475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13476 $as_echo "no" >&6; }
13477 fi
13478
13479
13480   test -n "$YACC" && break
13481 done
13482 test -n "$YACC" || YACC="yacc"
13483
13484 for ac_prog in flex lex
13485 do
13486   # Extract the first word of "$ac_prog", so it can be a program name with args.
13487 set dummy $ac_prog; ac_word=$2
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13489 $as_echo_n "checking for $ac_word... " >&6; }
13490 if ${ac_cv_prog_LEX+:} false; then :
13491   $as_echo_n "(cached) " >&6
13492 else
13493   if test -n "$LEX"; then
13494   ac_cv_prog_LEX="$LEX" # Let the user override the test.
13495 else
13496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13497 for as_dir in $PATH
13498 do
13499   IFS=$as_save_IFS
13500   test -z "$as_dir" && as_dir=.
13501     for ac_exec_ext in '' $ac_executable_extensions; do
13502   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13503     ac_cv_prog_LEX="$ac_prog"
13504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13505     break 2
13506   fi
13507 done
13508   done
13509 IFS=$as_save_IFS
13510
13511 fi
13512 fi
13513 LEX=$ac_cv_prog_LEX
13514 if test -n "$LEX"; then
13515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
13516 $as_echo "$LEX" >&6; }
13517 else
13518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13519 $as_echo "no" >&6; }
13520 fi
13521
13522
13523   test -n "$LEX" && break
13524 done
13525 test -n "$LEX" || LEX=":"
13526
13527 case "$LEX" in
13528   :|*"missing "*) ;;
13529   *) cat >conftest.l <<_ACEOF
13530 %%
13531 a { ECHO; }
13532 b { REJECT; }
13533 c { yymore (); }
13534 d { yyless (1); }
13535 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
13536     yyless ((input () != 0)); }
13537 f { unput (yytext[0]); }
13538 . { BEGIN INITIAL; }
13539 %%
13540 #ifdef YYTEXT_POINTER
13541 extern char *yytext;
13542 #endif
13543 int
13544 main (void)
13545 {
13546   return ! yylex () + ! yywrap ();
13547 }
13548 _ACEOF
13549 { { ac_try="$LEX conftest.l"
13550 case "(($ac_try" in
13551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13552   *) ac_try_echo=$ac_try;;
13553 esac
13554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13555 $as_echo "$ac_try_echo"; } >&5
13556   (eval "$LEX conftest.l") 2>&5
13557   ac_status=$?
13558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13559   test $ac_status = 0; }
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
13561 $as_echo_n "checking lex output file root... " >&6; }
13562 if ${ac_cv_prog_lex_root+:} false; then :
13563   $as_echo_n "(cached) " >&6
13564 else
13565
13566 if test -f lex.yy.c; then
13567   ac_cv_prog_lex_root=lex.yy
13568 elif test -f lexyy.c; then
13569   ac_cv_prog_lex_root=lexyy
13570 else
13571   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
13572 fi
13573 fi
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
13575 $as_echo "$ac_cv_prog_lex_root" >&6; }
13576 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
13577
13578 if test -z "${LEXLIB+set}"; then
13579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
13580 $as_echo_n "checking lex library... " >&6; }
13581 if ${ac_cv_lib_lex+:} false; then :
13582   $as_echo_n "(cached) " >&6
13583 else
13584
13585     ac_save_LIBS=$LIBS
13586     ac_cv_lib_lex='none needed'
13587     for ac_lib in '' -lfl -ll; do
13588       LIBS="$ac_lib $ac_save_LIBS"
13589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13590 /* end confdefs.h.  */
13591 `cat $LEX_OUTPUT_ROOT.c`
13592 _ACEOF
13593 if ac_fn_c_try_link "$LINENO"; then :
13594   ac_cv_lib_lex=$ac_lib
13595 fi
13596 rm -f core conftest.err conftest.$ac_objext \
13597     conftest$ac_exeext conftest.$ac_ext
13598       test "$ac_cv_lib_lex" != 'none needed' && break
13599     done
13600     LIBS=$ac_save_LIBS
13601
13602 fi
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
13604 $as_echo "$ac_cv_lib_lex" >&6; }
13605   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
13606 fi
13607
13608
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
13610 $as_echo_n "checking whether yytext is a pointer... " >&6; }
13611 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
13612   $as_echo_n "(cached) " >&6
13613 else
13614   # POSIX says lex can declare yytext either as a pointer or an array; the
13615 # default is implementation-dependent.  Figure out which it is, since
13616 # not all implementations provide the %pointer and %array declarations.
13617 ac_cv_prog_lex_yytext_pointer=no
13618 ac_save_LIBS=$LIBS
13619 LIBS="$LEXLIB $ac_save_LIBS"
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h.  */
13622
13623   #define YYTEXT_POINTER 1
13624 `cat $LEX_OUTPUT_ROOT.c`
13625 _ACEOF
13626 if ac_fn_c_try_link "$LINENO"; then :
13627   ac_cv_prog_lex_yytext_pointer=yes
13628 fi
13629 rm -f core conftest.err conftest.$ac_objext \
13630     conftest$ac_exeext conftest.$ac_ext
13631 LIBS=$ac_save_LIBS
13632
13633 fi
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
13635 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
13636 if test $ac_cv_prog_lex_yytext_pointer = yes; then
13637
13638 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
13639
13640 fi
13641 rm -f conftest.l $LEX_OUTPUT_ROOT.c
13642  ;;
13643 esac
13644 if test "$LEX" = :; then
13645   LEX=${am_missing_run}flex
13646 fi
13647
13648 ALL_LINGUAS="es fi fr id ja ru rw sv tr uk zh_CN"
13649 # If we haven't got the data from the intl directory,
13650 # assume NLS is disabled.
13651 USE_NLS=no
13652 LIBINTL=
13653 LIBINTL_DEP=
13654 INCINTL=
13655 XGETTEXT=
13656 GMSGFMT=
13657 POSUB=
13658
13659 if test -f  ../intl/config.intl; then
13660   .  ../intl/config.intl
13661 fi
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13663 $as_echo_n "checking whether NLS is requested... " >&6; }
13664 if test x"$USE_NLS" != xyes; then
13665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13666 $as_echo "no" >&6; }
13667 else
13668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13669 $as_echo "yes" >&6; }
13670
13671 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13672
13673
13674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13675 $as_echo_n "checking for catalogs to be installed... " >&6; }
13676   # Look for .po and .gmo files in the source directory.
13677   CATALOGS=
13678   XLINGUAS=
13679   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
13680     # If there aren't any .gmo files the shell will give us the
13681     # literal string "../path/to/srcdir/po/*.gmo" which has to be
13682     # weeded out.
13683     case "$cat" in *\**)
13684       continue;;
13685     esac
13686     # The quadruple backslash is collapsed to a double backslash
13687     # by the backticks, then collapsed again by the double quotes,
13688     # leaving us with one backslash in the sed expression (right
13689     # before the dot that mustn't act as a wildcard).
13690     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
13691     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
13692     # The user is allowed to set LINGUAS to a list of languages to
13693     # install catalogs for.  If it's empty that means "all of them."
13694     if test "x$LINGUAS" = x; then
13695       CATALOGS="$CATALOGS $cat"
13696       XLINGUAS="$XLINGUAS $lang"
13697     else
13698       case "$LINGUAS" in *$lang*)
13699         CATALOGS="$CATALOGS $cat"
13700         XLINGUAS="$XLINGUAS $lang"
13701         ;;
13702       esac
13703     fi
13704   done
13705   LINGUAS="$XLINGUAS"
13706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13707 $as_echo "$LINGUAS" >&6; }
13708
13709
13710     DATADIRNAME=share
13711
13712   INSTOBJEXT=.mo
13713
13714   GENCAT=gencat
13715
13716   CATOBJEXT=.gmo
13717
13718 fi
13719
13720         MKINSTALLDIRS=
13721   if test -n "$ac_aux_dir"; then
13722     case "$ac_aux_dir" in
13723       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
13724       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
13725     esac
13726   fi
13727   if test -z "$MKINSTALLDIRS"; then
13728     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13729   fi
13730
13731
13732
13733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13734 $as_echo_n "checking whether NLS is requested... " >&6; }
13735     # Check whether --enable-nls was given.
13736 if test "${enable_nls+set}" = set; then :
13737   enableval=$enable_nls; USE_NLS=$enableval
13738 else
13739   USE_NLS=yes
13740 fi
13741
13742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13743 $as_echo "$USE_NLS" >&6; }
13744
13745
13746
13747
13748
13749
13750 # Prepare PATH_SEPARATOR.
13751 # The user is always right.
13752 if test "${PATH_SEPARATOR+set}" != set; then
13753   echo "#! /bin/sh" >conf$$.sh
13754   echo  "exit 0"   >>conf$$.sh
13755   chmod +x conf$$.sh
13756   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13757     PATH_SEPARATOR=';'
13758   else
13759     PATH_SEPARATOR=:
13760   fi
13761   rm -f conf$$.sh
13762 fi
13763
13764 # Find out how to test for executable files. Don't use a zero-byte file,
13765 # as systems may use methods other than mode bits to determine executability.
13766 cat >conf$$.file <<_ASEOF
13767 #! /bin/sh
13768 exit 0
13769 _ASEOF
13770 chmod +x conf$$.file
13771 if test -x conf$$.file >/dev/null 2>&1; then
13772   ac_executable_p="test -x"
13773 else
13774   ac_executable_p="test -f"
13775 fi
13776 rm -f conf$$.file
13777
13778 # Extract the first word of "msgfmt", so it can be a program name with args.
13779 set dummy msgfmt; ac_word=$2
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13781 $as_echo_n "checking for $ac_word... " >&6; }
13782 if ${ac_cv_path_MSGFMT+:} false; then :
13783   $as_echo_n "(cached) " >&6
13784 else
13785   case "$MSGFMT" in
13786   [\\/]* | ?:[\\/]*)
13787     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13788     ;;
13789   *)
13790     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13791     for ac_dir in $PATH; do
13792       IFS="$ac_save_IFS"
13793       test -z "$ac_dir" && ac_dir=.
13794       for ac_exec_ext in '' $ac_executable_extensions; do
13795         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13796           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
13797      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13798             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13799             break 2
13800           fi
13801         fi
13802       done
13803     done
13804     IFS="$ac_save_IFS"
13805   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13806     ;;
13807 esac
13808 fi
13809 MSGFMT="$ac_cv_path_MSGFMT"
13810 if test "$MSGFMT" != ":"; then
13811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13812 $as_echo "$MSGFMT" >&6; }
13813 else
13814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13815 $as_echo "no" >&6; }
13816 fi
13817
13818   # Extract the first word of "gmsgfmt", so it can be a program name with args.
13819 set dummy gmsgfmt; ac_word=$2
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13821 $as_echo_n "checking for $ac_word... " >&6; }
13822 if ${ac_cv_path_GMSGFMT+:} false; then :
13823   $as_echo_n "(cached) " >&6
13824 else
13825   case $GMSGFMT in
13826   [\\/]* | ?:[\\/]*)
13827   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13828   ;;
13829   *)
13830   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13831 for as_dir in $PATH
13832 do
13833   IFS=$as_save_IFS
13834   test -z "$as_dir" && as_dir=.
13835     for ac_exec_ext in '' $ac_executable_extensions; do
13836   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13837     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13839     break 2
13840   fi
13841 done
13842   done
13843 IFS=$as_save_IFS
13844
13845   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13846   ;;
13847 esac
13848 fi
13849 GMSGFMT=$ac_cv_path_GMSGFMT
13850 if test -n "$GMSGFMT"; then
13851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13852 $as_echo "$GMSGFMT" >&6; }
13853 else
13854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13855 $as_echo "no" >&6; }
13856 fi
13857
13858
13859
13860
13861 # Prepare PATH_SEPARATOR.
13862 # The user is always right.
13863 if test "${PATH_SEPARATOR+set}" != set; then
13864   echo "#! /bin/sh" >conf$$.sh
13865   echo  "exit 0"   >>conf$$.sh
13866   chmod +x conf$$.sh
13867   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13868     PATH_SEPARATOR=';'
13869   else
13870     PATH_SEPARATOR=:
13871   fi
13872   rm -f conf$$.sh
13873 fi
13874
13875 # Find out how to test for executable files. Don't use a zero-byte file,
13876 # as systems may use methods other than mode bits to determine executability.
13877 cat >conf$$.file <<_ASEOF
13878 #! /bin/sh
13879 exit 0
13880 _ASEOF
13881 chmod +x conf$$.file
13882 if test -x conf$$.file >/dev/null 2>&1; then
13883   ac_executable_p="test -x"
13884 else
13885   ac_executable_p="test -f"
13886 fi
13887 rm -f conf$$.file
13888
13889 # Extract the first word of "xgettext", so it can be a program name with args.
13890 set dummy xgettext; ac_word=$2
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13892 $as_echo_n "checking for $ac_word... " >&6; }
13893 if ${ac_cv_path_XGETTEXT+:} false; then :
13894   $as_echo_n "(cached) " >&6
13895 else
13896   case "$XGETTEXT" in
13897   [\\/]* | ?:[\\/]*)
13898     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13899     ;;
13900   *)
13901     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13902     for ac_dir in $PATH; do
13903       IFS="$ac_save_IFS"
13904       test -z "$ac_dir" && ac_dir=.
13905       for ac_exec_ext in '' $ac_executable_extensions; do
13906         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13907           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13908      (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
13909             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13910             break 2
13911           fi
13912         fi
13913       done
13914     done
13915     IFS="$ac_save_IFS"
13916   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13917     ;;
13918 esac
13919 fi
13920 XGETTEXT="$ac_cv_path_XGETTEXT"
13921 if test "$XGETTEXT" != ":"; then
13922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13923 $as_echo "$XGETTEXT" >&6; }
13924 else
13925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13926 $as_echo "no" >&6; }
13927 fi
13928
13929     rm -f messages.po
13930
13931
13932 # Prepare PATH_SEPARATOR.
13933 # The user is always right.
13934 if test "${PATH_SEPARATOR+set}" != set; then
13935   echo "#! /bin/sh" >conf$$.sh
13936   echo  "exit 0"   >>conf$$.sh
13937   chmod +x conf$$.sh
13938   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13939     PATH_SEPARATOR=';'
13940   else
13941     PATH_SEPARATOR=:
13942   fi
13943   rm -f conf$$.sh
13944 fi
13945
13946 # Find out how to test for executable files. Don't use a zero-byte file,
13947 # as systems may use methods other than mode bits to determine executability.
13948 cat >conf$$.file <<_ASEOF
13949 #! /bin/sh
13950 exit 0
13951 _ASEOF
13952 chmod +x conf$$.file
13953 if test -x conf$$.file >/dev/null 2>&1; then
13954   ac_executable_p="test -x"
13955 else
13956   ac_executable_p="test -f"
13957 fi
13958 rm -f conf$$.file
13959
13960 # Extract the first word of "msgmerge", so it can be a program name with args.
13961 set dummy msgmerge; ac_word=$2
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13963 $as_echo_n "checking for $ac_word... " >&6; }
13964 if ${ac_cv_path_MSGMERGE+:} false; then :
13965   $as_echo_n "(cached) " >&6
13966 else
13967   case "$MSGMERGE" in
13968   [\\/]* | ?:[\\/]*)
13969     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13970     ;;
13971   *)
13972     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13973     for ac_dir in $PATH; do
13974       IFS="$ac_save_IFS"
13975       test -z "$ac_dir" && ac_dir=.
13976       for ac_exec_ext in '' $ac_executable_extensions; do
13977         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13978           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
13979             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13980             break 2
13981           fi
13982         fi
13983       done
13984     done
13985     IFS="$ac_save_IFS"
13986   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13987     ;;
13988 esac
13989 fi
13990 MSGMERGE="$ac_cv_path_MSGMERGE"
13991 if test "$MSGMERGE" != ":"; then
13992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13993 $as_echo "$MSGMERGE" >&6; }
13994 else
13995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13996 $as_echo "no" >&6; }
13997 fi
13998
13999
14000       if test "$GMSGFMT" != ":"; then
14001             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
14002        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14003       : ;
14004     else
14005       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
14006       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
14007 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
14008       GMSGFMT=":"
14009     fi
14010   fi
14011
14012       if test "$XGETTEXT" != ":"; then
14013             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
14014        (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
14015       : ;
14016     else
14017       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
14018 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
14019       XGETTEXT=":"
14020     fi
14021         rm -f messages.po
14022   fi
14023
14024   ac_config_commands="$ac_config_commands default-1"
14025
14026
14027
14028
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
14030 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
14031     # Check whether --enable-maintainer-mode was given.
14032 if test "${enable_maintainer_mode+set}" = set; then :
14033   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14034 else
14035   USE_MAINTAINER_MODE=no
14036 fi
14037
14038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
14039 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14040    if test $USE_MAINTAINER_MODE = yes; then
14041   MAINTAINER_MODE_TRUE=
14042   MAINTAINER_MODE_FALSE='#'
14043 else
14044   MAINTAINER_MODE_TRUE='#'
14045   MAINTAINER_MODE_FALSE=
14046 fi
14047
14048   MAINT=$MAINTAINER_MODE_TRUE
14049
14050
14051  if false; then
14052   GENINSRC_NEVER_TRUE=
14053   GENINSRC_NEVER_FALSE='#'
14054 else
14055   GENINSRC_NEVER_TRUE='#'
14056   GENINSRC_NEVER_FALSE=
14057 fi
14058
14059
14060
14061 for ac_header in string.h stdlib.h memory.h strings.h unistd.h errno.h sys/types.h limits.h locale.h time.h sys/stat.h
14062 do :
14063   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14064 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14065 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14066   cat >>confdefs.h <<_ACEOF
14067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14068 _ACEOF
14069
14070 fi
14071
14072 done
14073
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
14075 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
14076 if ${gcc_cv_header_string+:} false; then :
14077   $as_echo_n "(cached) " >&6
14078 else
14079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h.  */
14081 #include <string.h>
14082 #include <strings.h>
14083 int
14084 main ()
14085 {
14086
14087   ;
14088   return 0;
14089 }
14090 _ACEOF
14091 if ac_fn_c_try_compile "$LINENO"; then :
14092   gcc_cv_header_string=yes
14093 else
14094   gcc_cv_header_string=no
14095 fi
14096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14097 fi
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
14099 $as_echo "$gcc_cv_header_string" >&6; }
14100 if test $gcc_cv_header_string = yes; then
14101
14102 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
14103
14104 fi
14105
14106
14107 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
14108 # people who are not cross-compiling but are compiling cross-assemblers.
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling a cross-assembler" >&5
14110 $as_echo_n "checking whether compiling a cross-assembler... " >&6; }
14111 if test "${host}" = "${target}"; then
14112   cross_gas=no
14113 else
14114   cross_gas=yes
14115
14116 $as_echo "#define CROSS_COMPILE 1" >>confdefs.h
14117
14118 fi
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_gas" >&5
14120 $as_echo "$cross_gas" >&6; }
14121
14122 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14123 if test "x$ac_cv_type_size_t" = xyes; then :
14124
14125 else
14126
14127 cat >>confdefs.h <<_ACEOF
14128 #define size_t unsigned int
14129 _ACEOF
14130
14131 fi
14132
14133 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14134 # for constant arguments.  Useless!
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14136 $as_echo_n "checking for working alloca.h... " >&6; }
14137 if ${ac_cv_working_alloca_h+:} false; then :
14138   $as_echo_n "(cached) " >&6
14139 else
14140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h.  */
14142 #include <alloca.h>
14143 int
14144 main ()
14145 {
14146 char *p = (char *) alloca (2 * sizeof (int));
14147                           if (p) return 0;
14148   ;
14149   return 0;
14150 }
14151 _ACEOF
14152 if ac_fn_c_try_link "$LINENO"; then :
14153   ac_cv_working_alloca_h=yes
14154 else
14155   ac_cv_working_alloca_h=no
14156 fi
14157 rm -f core conftest.err conftest.$ac_objext \
14158     conftest$ac_exeext conftest.$ac_ext
14159 fi
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14161 $as_echo "$ac_cv_working_alloca_h" >&6; }
14162 if test $ac_cv_working_alloca_h = yes; then
14163
14164 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14165
14166 fi
14167
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14169 $as_echo_n "checking for alloca... " >&6; }
14170 if ${ac_cv_func_alloca_works+:} false; then :
14171   $as_echo_n "(cached) " >&6
14172 else
14173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14174 /* end confdefs.h.  */
14175 #ifdef __GNUC__
14176 # define alloca __builtin_alloca
14177 #else
14178 # ifdef _MSC_VER
14179 #  include <malloc.h>
14180 #  define alloca _alloca
14181 # else
14182 #  ifdef HAVE_ALLOCA_H
14183 #   include <alloca.h>
14184 #  else
14185 #   ifdef _AIX
14186  #pragma alloca
14187 #   else
14188 #    ifndef alloca /* predefined by HP cc +Olibcalls */
14189 void *alloca (size_t);
14190 #    endif
14191 #   endif
14192 #  endif
14193 # endif
14194 #endif
14195
14196 int
14197 main ()
14198 {
14199 char *p = (char *) alloca (1);
14200                                     if (p) return 0;
14201   ;
14202   return 0;
14203 }
14204 _ACEOF
14205 if ac_fn_c_try_link "$LINENO"; then :
14206   ac_cv_func_alloca_works=yes
14207 else
14208   ac_cv_func_alloca_works=no
14209 fi
14210 rm -f core conftest.err conftest.$ac_objext \
14211     conftest$ac_exeext conftest.$ac_ext
14212 fi
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14214 $as_echo "$ac_cv_func_alloca_works" >&6; }
14215
14216 if test $ac_cv_func_alloca_works = yes; then
14217
14218 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14219
14220 else
14221   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14222 # that cause trouble.  Some versions do not even contain alloca or
14223 # contain a buggy version.  If you still want to use their alloca,
14224 # use ar to extract alloca.o from them instead of compiling alloca.c.
14225
14226 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
14227
14228 $as_echo "#define C_ALLOCA 1" >>confdefs.h
14229
14230
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
14232 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
14233 if ${ac_cv_os_cray+:} false; then :
14234   $as_echo_n "(cached) " >&6
14235 else
14236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h.  */
14238 #if defined CRAY && ! defined CRAY2
14239 webecray
14240 #else
14241 wenotbecray
14242 #endif
14243
14244 _ACEOF
14245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14246   $EGREP "webecray" >/dev/null 2>&1; then :
14247   ac_cv_os_cray=yes
14248 else
14249   ac_cv_os_cray=no
14250 fi
14251 rm -f conftest*
14252
14253 fi
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
14255 $as_echo "$ac_cv_os_cray" >&6; }
14256 if test $ac_cv_os_cray = yes; then
14257   for ac_func in _getb67 GETB67 getb67; do
14258     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14259 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14260 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14261
14262 cat >>confdefs.h <<_ACEOF
14263 #define CRAY_STACKSEG_END $ac_func
14264 _ACEOF
14265
14266     break
14267 fi
14268
14269   done
14270 fi
14271
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
14273 $as_echo_n "checking stack direction for C alloca... " >&6; }
14274 if ${ac_cv_c_stack_direction+:} false; then :
14275   $as_echo_n "(cached) " >&6
14276 else
14277   if test "$cross_compiling" = yes; then :
14278   ac_cv_c_stack_direction=0
14279 else
14280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h.  */
14282 $ac_includes_default
14283 int
14284 find_stack_direction (int *addr, int depth)
14285 {
14286   int dir, dummy = 0;
14287   if (! addr)
14288     addr = &dummy;
14289   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
14290   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
14291   return dir + dummy;
14292 }
14293
14294 int
14295 main (int argc, char **argv)
14296 {
14297   return find_stack_direction (0, argc + !argv + 20) < 0;
14298 }
14299 _ACEOF
14300 if ac_fn_c_try_run "$LINENO"; then :
14301   ac_cv_c_stack_direction=1
14302 else
14303   ac_cv_c_stack_direction=-1
14304 fi
14305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14306   conftest.$ac_objext conftest.beam conftest.$ac_ext
14307 fi
14308
14309 fi
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
14311 $as_echo "$ac_cv_c_stack_direction" >&6; }
14312 cat >>confdefs.h <<_ACEOF
14313 #define STACK_DIRECTION $ac_cv_c_stack_direction
14314 _ACEOF
14315
14316
14317 fi
14318
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14320 $as_echo_n "checking for inline... " >&6; }
14321 if ${ac_cv_c_inline+:} false; then :
14322   $as_echo_n "(cached) " >&6
14323 else
14324   ac_cv_c_inline=no
14325 for ac_kw in inline __inline__ __inline; do
14326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14327 /* end confdefs.h.  */
14328 #ifndef __cplusplus
14329 typedef int foo_t;
14330 static $ac_kw foo_t static_foo () {return 0; }
14331 $ac_kw foo_t foo () {return 0; }
14332 #endif
14333
14334 _ACEOF
14335 if ac_fn_c_try_compile "$LINENO"; then :
14336   ac_cv_c_inline=$ac_kw
14337 fi
14338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14339   test "$ac_cv_c_inline" != no && break
14340 done
14341
14342 fi
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14344 $as_echo "$ac_cv_c_inline" >&6; }
14345
14346 case $ac_cv_c_inline in
14347   inline | yes) ;;
14348   *)
14349     case $ac_cv_c_inline in
14350       no) ac_val=;;
14351       *) ac_val=$ac_cv_c_inline;;
14352     esac
14353     cat >>confdefs.h <<_ACEOF
14354 #ifndef __cplusplus
14355 #define inline $ac_val
14356 #endif
14357 _ACEOF
14358     ;;
14359 esac
14360
14361
14362 # VMS doesn't have unlink.
14363 for ac_func in unlink remove
14364 do :
14365   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14368   cat >>confdefs.h <<_ACEOF
14369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14370 _ACEOF
14371  break
14372 fi
14373 done
14374
14375 for ac_func in sbrk setlocale
14376 do :
14377   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14379 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14380   cat >>confdefs.h <<_ACEOF
14381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14382 _ACEOF
14383
14384 fi
14385 done
14386
14387 for ac_func in strsignal
14388 do :
14389   ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal"
14390 if test "x$ac_cv_func_strsignal" = xyes; then :
14391   cat >>confdefs.h <<_ACEOF
14392 #define HAVE_STRSIGNAL 1
14393 _ACEOF
14394
14395 fi
14396 done
14397
14398
14399
14400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14401 $as_echo_n "checking for LC_MESSAGES... " >&6; }
14402 if ${am_cv_val_LC_MESSAGES+:} false; then :
14403   $as_echo_n "(cached) " >&6
14404 else
14405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14406 /* end confdefs.h.  */
14407 #include <locale.h>
14408 int
14409 main ()
14410 {
14411 return LC_MESSAGES
14412   ;
14413   return 0;
14414 }
14415 _ACEOF
14416 if ac_fn_c_try_link "$LINENO"; then :
14417   am_cv_val_LC_MESSAGES=yes
14418 else
14419   am_cv_val_LC_MESSAGES=no
14420 fi
14421 rm -f core conftest.err conftest.$ac_objext \
14422     conftest$ac_exeext conftest.$ac_ext
14423 fi
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14425 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14426   if test $am_cv_val_LC_MESSAGES = yes; then
14427
14428 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14429
14430   fi
14431
14432
14433 # do we need the math library?
14434 case "${need_libm}" in
14435 yes)
14436   LIBM=
14437 case $host in
14438 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
14439   # These system don't have libm, or don't need it
14440   ;;
14441 *-ncr-sysv4.3*)
14442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
14443 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
14444 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
14445   $as_echo_n "(cached) " >&6
14446 else
14447   ac_check_lib_save_LIBS=$LIBS
14448 LIBS="-lmw  $LIBS"
14449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14450 /* end confdefs.h.  */
14451
14452 /* Override any GCC internal prototype to avoid an error.
14453    Use char because int might match the return type of a GCC
14454    builtin and then its argument prototype would still apply.  */
14455 #ifdef __cplusplus
14456 extern "C"
14457 #endif
14458 char _mwvalidcheckl ();
14459 int
14460 main ()
14461 {
14462 return _mwvalidcheckl ();
14463   ;
14464   return 0;
14465 }
14466 _ACEOF
14467 if ac_fn_c_try_link "$LINENO"; then :
14468   ac_cv_lib_mw__mwvalidcheckl=yes
14469 else
14470   ac_cv_lib_mw__mwvalidcheckl=no
14471 fi
14472 rm -f core conftest.err conftest.$ac_objext \
14473     conftest$ac_exeext conftest.$ac_ext
14474 LIBS=$ac_check_lib_save_LIBS
14475 fi
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
14477 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
14478 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
14479   LIBM="-lmw"
14480 fi
14481
14482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14483 $as_echo_n "checking for cos in -lm... " >&6; }
14484 if ${ac_cv_lib_m_cos+:} false; then :
14485   $as_echo_n "(cached) " >&6
14486 else
14487   ac_check_lib_save_LIBS=$LIBS
14488 LIBS="-lm  $LIBS"
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h.  */
14491
14492 /* Override any GCC internal prototype to avoid an error.
14493    Use char because int might match the return type of a GCC
14494    builtin and then its argument prototype would still apply.  */
14495 #ifdef __cplusplus
14496 extern "C"
14497 #endif
14498 char cos ();
14499 int
14500 main ()
14501 {
14502 return cos ();
14503   ;
14504   return 0;
14505 }
14506 _ACEOF
14507 if ac_fn_c_try_link "$LINENO"; then :
14508   ac_cv_lib_m_cos=yes
14509 else
14510   ac_cv_lib_m_cos=no
14511 fi
14512 rm -f core conftest.err conftest.$ac_objext \
14513     conftest$ac_exeext conftest.$ac_ext
14514 LIBS=$ac_check_lib_save_LIBS
14515 fi
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14517 $as_echo "$ac_cv_lib_m_cos" >&6; }
14518 if test "x$ac_cv_lib_m_cos" = xyes; then :
14519   LIBM="$LIBM -lm"
14520 fi
14521
14522   ;;
14523 *)
14524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14525 $as_echo_n "checking for cos in -lm... " >&6; }
14526 if ${ac_cv_lib_m_cos+:} false; then :
14527   $as_echo_n "(cached) " >&6
14528 else
14529   ac_check_lib_save_LIBS=$LIBS
14530 LIBS="-lm  $LIBS"
14531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14532 /* end confdefs.h.  */
14533
14534 /* Override any GCC internal prototype to avoid an error.
14535    Use char because int might match the return type of a GCC
14536    builtin and then its argument prototype would still apply.  */
14537 #ifdef __cplusplus
14538 extern "C"
14539 #endif
14540 char cos ();
14541 int
14542 main ()
14543 {
14544 return cos ();
14545   ;
14546   return 0;
14547 }
14548 _ACEOF
14549 if ac_fn_c_try_link "$LINENO"; then :
14550   ac_cv_lib_m_cos=yes
14551 else
14552   ac_cv_lib_m_cos=no
14553 fi
14554 rm -f core conftest.err conftest.$ac_objext \
14555     conftest$ac_exeext conftest.$ac_ext
14556 LIBS=$ac_check_lib_save_LIBS
14557 fi
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14559 $as_echo "$ac_cv_lib_m_cos" >&6; }
14560 if test "x$ac_cv_lib_m_cos" = xyes; then :
14561   LIBM="-lm"
14562 fi
14563
14564   ;;
14565 esac
14566
14567
14568
14569   ;;
14570 esac
14571
14572 # Some non-ANSI preprocessors botch requoting inside strings.  That's bad
14573 # enough, but on some of those systems, the assert macro relies on requoting
14574 # working properly!
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working assert macro" >&5
14576 $as_echo_n "checking for working assert macro... " >&6; }
14577 if ${gas_cv_assert_ok+:} false; then :
14578   $as_echo_n "(cached) " >&6
14579 else
14580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h.  */
14582 #include <assert.h>
14583 #include <stdio.h>
14584 int
14585 main ()
14586 {
14587
14588 /* check for requoting problems */
14589 static int a, b, c, d;
14590 static char *s;
14591 assert (!strcmp(s, "foo bar baz quux"));
14592 /* check for newline handling */
14593 assert (a == b
14594         || c == d);
14595
14596   ;
14597   return 0;
14598 }
14599 _ACEOF
14600 if ac_fn_c_try_link "$LINENO"; then :
14601   gas_cv_assert_ok=yes
14602 else
14603   gas_cv_assert_ok=no
14604 fi
14605 rm -f core conftest.err conftest.$ac_objext \
14606     conftest$ac_exeext conftest.$ac_ext
14607 fi
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_assert_ok" >&5
14609 $as_echo "$gas_cv_assert_ok" >&6; }
14610 test $gas_cv_assert_ok = yes ||
14611 $as_echo "#define BROKEN_ASSERT 1" >>confdefs.h
14612
14613
14614
14615 # On some systems, the system header files may not declare malloc, realloc,
14616 # and free.  There are places where gas needs these functions to have been
14617 # declared -- such as when taking their addresses.
14618 gas_test_headers="
14619 #ifdef HAVE_MEMORY_H
14620 #include <memory.h>
14621 #endif
14622 #ifdef HAVE_STRING_H
14623 #include <string.h>
14624 #else
14625 #ifdef HAVE_STRINGS_H
14626 #include <strings.h>
14627 #endif
14628 #endif
14629 #ifdef HAVE_STDLIB_H
14630 #include <stdlib.h>
14631 #endif
14632 #ifdef HAVE_UNISTD_H
14633 #include <unistd.h>
14634 #endif
14635 "
14636
14637 # Does errno.h declare errno, or do we have to add a separate declaration
14638 # for it?
14639
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for errno" >&5
14641 $as_echo_n "checking whether declaration is required for errno... " >&6; }
14642 if ${gas_cv_decl_needed_errno+:} false; then :
14643   $as_echo_n "(cached) " >&6
14644 else
14645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h.  */
14647
14648 #ifdef HAVE_ERRNO_H
14649 #include <errno.h>
14650 #endif
14651
14652 int
14653 main ()
14654 {
14655
14656 typedef int f;
14657 f x;
14658 x = (f) errno;
14659
14660   ;
14661   return 0;
14662 }
14663 _ACEOF
14664 if ac_fn_c_try_link "$LINENO"; then :
14665   gas_cv_decl_needed_errno=no
14666 else
14667   gas_cv_decl_needed_errno=yes
14668 fi
14669 rm -f core conftest.err conftest.$ac_objext \
14670     conftest$ac_exeext conftest.$ac_ext
14671 fi
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_errno" >&5
14673 $as_echo "$gas_cv_decl_needed_errno" >&6; }
14674 if test $gas_cv_decl_needed_errno = yes; then
14675
14676 $as_echo "#define NEED_DECLARATION_ERRNO 1" >>confdefs.h
14677
14678 fi
14679
14680
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
14682 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
14683 if ${gas_cv_decl_getopt_unistd_h+:} false; then :
14684   $as_echo_n "(cached) " >&6
14685 else
14686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14687 /* end confdefs.h.  */
14688 #include <unistd.h>
14689 int
14690 main ()
14691 {
14692 extern int getopt (int, char *const*, const char *);
14693   ;
14694   return 0;
14695 }
14696 _ACEOF
14697 if ac_fn_c_try_compile "$LINENO"; then :
14698   gas_cv_decl_getopt_unistd_h=yes
14699 else
14700   gas_cv_decl_getopt_unistd_h=no
14701 fi
14702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14703 fi
14704
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_getopt_unistd_h" >&5
14706 $as_echo "$gas_cv_decl_getopt_unistd_h" >&6; }
14707 if test $gas_cv_decl_getopt_unistd_h = yes; then
14708
14709 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
14710
14711 fi
14712
14713
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for environ" >&5
14715 $as_echo_n "checking whether declaration is required for environ... " >&6; }
14716 if ${gas_cv_decl_needed_environ+:} false; then :
14717   $as_echo_n "(cached) " >&6
14718 else
14719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14720 /* end confdefs.h.  */
14721 $gas_test_headers
14722 int
14723 main ()
14724 {
14725
14726 typedef char **f;
14727 f x;
14728 x = (f) environ;
14729
14730   ;
14731   return 0;
14732 }
14733 _ACEOF
14734 if ac_fn_c_try_link "$LINENO"; then :
14735   gas_cv_decl_needed_environ=no
14736 else
14737   gas_cv_decl_needed_environ=yes
14738 fi
14739 rm -f core conftest.err conftest.$ac_objext \
14740     conftest$ac_exeext conftest.$ac_ext
14741 fi
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_environ" >&5
14743 $as_echo "$gas_cv_decl_needed_environ" >&6; }
14744 if test $gas_cv_decl_needed_environ = yes; then
14745
14746 $as_echo "#define NEED_DECLARATION_ENVIRON 1" >>confdefs.h
14747
14748 fi
14749
14750
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for ffs" >&5
14752 $as_echo_n "checking whether declaration is required for ffs... " >&6; }
14753 if ${gas_cv_decl_needed_ffs+:} false; then :
14754   $as_echo_n "(cached) " >&6
14755 else
14756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h.  */
14758 $gas_test_headers
14759 int
14760 main ()
14761 {
14762
14763 typedef int (*f)(int);
14764 f x;
14765 x = (f) ffs;
14766
14767   ;
14768   return 0;
14769 }
14770 _ACEOF
14771 if ac_fn_c_try_link "$LINENO"; then :
14772   gas_cv_decl_needed_ffs=no
14773 else
14774   gas_cv_decl_needed_ffs=yes
14775 fi
14776 rm -f core conftest.err conftest.$ac_objext \
14777     conftest$ac_exeext conftest.$ac_ext
14778 fi
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_ffs" >&5
14780 $as_echo "$gas_cv_decl_needed_ffs" >&6; }
14781 if test $gas_cv_decl_needed_ffs = yes; then
14782
14783 $as_echo "#define NEED_DECLARATION_FFS 1" >>confdefs.h
14784
14785 fi
14786
14787
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for free" >&5
14789 $as_echo_n "checking whether declaration is required for free... " >&6; }
14790 if ${gas_cv_decl_needed_free+:} false; then :
14791   $as_echo_n "(cached) " >&6
14792 else
14793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h.  */
14795 $gas_test_headers
14796 int
14797 main ()
14798 {
14799
14800 typedef void (*f)();
14801 f x;
14802 x = (f) free;
14803
14804   ;
14805   return 0;
14806 }
14807 _ACEOF
14808 if ac_fn_c_try_link "$LINENO"; then :
14809   gas_cv_decl_needed_free=no
14810 else
14811   gas_cv_decl_needed_free=yes
14812 fi
14813 rm -f core conftest.err conftest.$ac_objext \
14814     conftest$ac_exeext conftest.$ac_ext
14815 fi
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_free" >&5
14817 $as_echo "$gas_cv_decl_needed_free" >&6; }
14818 if test $gas_cv_decl_needed_free = yes; then
14819
14820 $as_echo "#define NEED_DECLARATION_FREE 1" >>confdefs.h
14821
14822 fi
14823
14824
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for malloc" >&5
14826 $as_echo_n "checking whether declaration is required for malloc... " >&6; }
14827 if ${gas_cv_decl_needed_malloc+:} false; then :
14828   $as_echo_n "(cached) " >&6
14829 else
14830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14831 /* end confdefs.h.  */
14832 $gas_test_headers
14833 int
14834 main ()
14835 {
14836
14837 typedef char *(*f)();
14838 f x;
14839 x = (f) malloc;
14840
14841   ;
14842   return 0;
14843 }
14844 _ACEOF
14845 if ac_fn_c_try_link "$LINENO"; then :
14846   gas_cv_decl_needed_malloc=no
14847 else
14848   gas_cv_decl_needed_malloc=yes
14849 fi
14850 rm -f core conftest.err conftest.$ac_objext \
14851     conftest$ac_exeext conftest.$ac_ext
14852 fi
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_malloc" >&5
14854 $as_echo "$gas_cv_decl_needed_malloc" >&6; }
14855 if test $gas_cv_decl_needed_malloc = yes; then
14856
14857 $as_echo "#define NEED_DECLARATION_MALLOC 1" >>confdefs.h
14858
14859 fi
14860
14861
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for sbrk" >&5
14863 $as_echo_n "checking whether declaration is required for sbrk... " >&6; }
14864 if ${gas_cv_decl_needed_sbrk+:} false; then :
14865   $as_echo_n "(cached) " >&6
14866 else
14867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h.  */
14869 $gas_test_headers
14870 int
14871 main ()
14872 {
14873
14874 typedef char *(*f)();
14875 f x;
14876 x = (f) sbrk;
14877
14878   ;
14879   return 0;
14880 }
14881 _ACEOF
14882 if ac_fn_c_try_link "$LINENO"; then :
14883   gas_cv_decl_needed_sbrk=no
14884 else
14885   gas_cv_decl_needed_sbrk=yes
14886 fi
14887 rm -f core conftest.err conftest.$ac_objext \
14888     conftest$ac_exeext conftest.$ac_ext
14889 fi
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_sbrk" >&5
14891 $as_echo "$gas_cv_decl_needed_sbrk" >&6; }
14892 if test $gas_cv_decl_needed_sbrk = yes; then
14893
14894 $as_echo "#define NEED_DECLARATION_SBRK 1" >>confdefs.h
14895
14896 fi
14897
14898
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for strstr" >&5
14900 $as_echo_n "checking whether declaration is required for strstr... " >&6; }
14901 if ${gas_cv_decl_needed_strstr+:} false; then :
14902   $as_echo_n "(cached) " >&6
14903 else
14904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h.  */
14906 $gas_test_headers
14907 int
14908 main ()
14909 {
14910
14911 typedef char *(*f)();
14912 f x;
14913 x = (f) strstr;
14914
14915   ;
14916   return 0;
14917 }
14918 _ACEOF
14919 if ac_fn_c_try_link "$LINENO"; then :
14920   gas_cv_decl_needed_strstr=no
14921 else
14922   gas_cv_decl_needed_strstr=yes
14923 fi
14924 rm -f core conftest.err conftest.$ac_objext \
14925     conftest$ac_exeext conftest.$ac_ext
14926 fi
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_strstr" >&5
14928 $as_echo "$gas_cv_decl_needed_strstr" >&6; }
14929 if test $gas_cv_decl_needed_strstr = yes; then
14930
14931 $as_echo "#define NEED_DECLARATION_STRSTR 1" >>confdefs.h
14932
14933 fi
14934
14935
14936 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
14937 if test "x$ac_cv_have_decl_free" = xyes; then :
14938   ac_have_decl=1
14939 else
14940   ac_have_decl=0
14941 fi
14942
14943 cat >>confdefs.h <<_ACEOF
14944 #define HAVE_DECL_FREE $ac_have_decl
14945 _ACEOF
14946 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
14947 if test "x$ac_cv_have_decl_getenv" = xyes; then :
14948   ac_have_decl=1
14949 else
14950   ac_have_decl=0
14951 fi
14952
14953 cat >>confdefs.h <<_ACEOF
14954 #define HAVE_DECL_GETENV $ac_have_decl
14955 _ACEOF
14956 ac_fn_c_check_decl "$LINENO" "malloc" "ac_cv_have_decl_malloc" "$ac_includes_default"
14957 if test "x$ac_cv_have_decl_malloc" = xyes; then :
14958   ac_have_decl=1
14959 else
14960   ac_have_decl=0
14961 fi
14962
14963 cat >>confdefs.h <<_ACEOF
14964 #define HAVE_DECL_MALLOC $ac_have_decl
14965 _ACEOF
14966 ac_fn_c_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "$ac_includes_default"
14967 if test "x$ac_cv_have_decl_mempcpy" = xyes; then :
14968   ac_have_decl=1
14969 else
14970   ac_have_decl=0
14971 fi
14972
14973 cat >>confdefs.h <<_ACEOF
14974 #define HAVE_DECL_MEMPCPY $ac_have_decl
14975 _ACEOF
14976 ac_fn_c_check_decl "$LINENO" "realloc" "ac_cv_have_decl_realloc" "$ac_includes_default"
14977 if test "x$ac_cv_have_decl_realloc" = xyes; then :
14978   ac_have_decl=1
14979 else
14980   ac_have_decl=0
14981 fi
14982
14983 cat >>confdefs.h <<_ACEOF
14984 #define HAVE_DECL_REALLOC $ac_have_decl
14985 _ACEOF
14986 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
14987 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
14988   ac_have_decl=1
14989 else
14990   ac_have_decl=0
14991 fi
14992
14993 cat >>confdefs.h <<_ACEOF
14994 #define HAVE_DECL_STPCPY $ac_have_decl
14995 _ACEOF
14996 ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
14997 if test "x$ac_cv_have_decl_strstr" = xyes; then :
14998   ac_have_decl=1
14999 else
15000   ac_have_decl=0
15001 fi
15002
15003 cat >>confdefs.h <<_ACEOF
15004 #define HAVE_DECL_STRSTR $ac_have_decl
15005 _ACEOF
15006 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
15007 if test "x$ac_cv_have_decl_vsnprintf" = xyes; then :
15008   ac_have_decl=1
15009 else
15010   ac_have_decl=0
15011 fi
15012
15013 cat >>confdefs.h <<_ACEOF
15014 #define HAVE_DECL_VSNPRINTF $ac_have_decl
15015 _ACEOF
15016 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
15017 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
15018   ac_have_decl=1
15019 else
15020   ac_have_decl=0
15021 fi
15022
15023 cat >>confdefs.h <<_ACEOF
15024 #define HAVE_DECL_ASPRINTF $ac_have_decl
15025 _ACEOF
15026
15027
15028
15029 case "${host}" in
15030 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
15031
15032 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
15033  ;;
15034 esac
15035
15036 # Link in zlib if we can.  This allows us to write compressed debug sections.
15037
15038   # Use the system's zlib library.
15039   zlibdir="-L\$(top_builddir)/../zlib"
15040   zlibinc="-I\$(top_srcdir)/../zlib"
15041
15042 # Check whether --with-system-zlib was given.
15043 if test "${with_system_zlib+set}" = set; then :
15044   withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
15045     zlibdir=
15046     zlibinc=
15047   fi
15048
15049 fi
15050
15051
15052
15053
15054
15055 # Support for VMS timestamps via cross compile
15056
15057 if test "$ac_cv_header_time_h" = yes; then
15058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct tm.tm_gmtoff in time.h" >&5
15059 $as_echo_n "checking for struct tm.tm_gmtoff in time.h... " >&6; }
15060  if ${gas_cv_have_time_type_member_tm_gmtoff+:} false; then :
15061   $as_echo_n "(cached) " >&6
15062 else
15063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h.  */
15065
15066 #define _BSD_SOURCE 1
15067 #include <time.h>
15068 int
15069 main ()
15070 {
15071 struct tm avar; void* aref = (void*) &avar.tm_gmtoff
15072   ;
15073   return 0;
15074 }
15075 _ACEOF
15076 if ac_fn_c_try_compile "$LINENO"; then :
15077   gas_cv_have_time_type_member_tm_gmtoff=yes
15078 else
15079   gas_cv_have_time_type_member_tm_gmtoff=no
15080
15081 fi
15082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15083 fi
15084
15085  if test $gas_cv_have_time_type_member_tm_gmtoff = yes; then
15086
15087 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
15088
15089  fi
15090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_time_type_member_tm_gmtoff" >&5
15091 $as_echo "$gas_cv_have_time_type_member_tm_gmtoff" >&6; }
15092
15093 fi
15094
15095 if test "$ac_cv_header_sys_stat_h" = yes; then
15096     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_sec in sys/stat.h" >&5
15097 $as_echo_n "checking for struct stat.st_mtim.tv_sec in sys/stat.h... " >&6; }
15098  if ${gas_cv_have_sys_stat_type_member_st_mtim_tv_sec+:} false; then :
15099   $as_echo_n "(cached) " >&6
15100 else
15101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h.  */
15103
15104 #define _BSD_SOURCE 1
15105 #include <sys/stat.h>
15106 int
15107 main ()
15108 {
15109 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_sec
15110   ;
15111   return 0;
15112 }
15113 _ACEOF
15114 if ac_fn_c_try_compile "$LINENO"; then :
15115   gas_cv_have_sys_stat_type_member_st_mtim_tv_sec=yes
15116 else
15117   gas_cv_have_sys_stat_type_member_st_mtim_tv_sec=no
15118
15119 fi
15120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15121 fi
15122
15123  if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec = yes; then
15124
15125 $as_echo "#define HAVE_ST_MTIM_TV_SEC 1" >>confdefs.h
15126
15127  fi
15128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&5
15129 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&6; }
15130
15131     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec in sys/stat.h" >&5
15132 $as_echo_n "checking for struct stat.st_mtim.tv_nsec in sys/stat.h... " >&6; }
15133  if ${gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec+:} false; then :
15134   $as_echo_n "(cached) " >&6
15135 else
15136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15137 /* end confdefs.h.  */
15138
15139 #define _BSD_SOURCE 1
15140 #include <sys/stat.h>
15141 int
15142 main ()
15143 {
15144 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_nsec
15145   ;
15146   return 0;
15147 }
15148 _ACEOF
15149 if ac_fn_c_try_compile "$LINENO"; then :
15150   gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec=yes
15151 else
15152   gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec=no
15153
15154 fi
15155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15156 fi
15157
15158  if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec = yes; then
15159
15160 $as_echo "#define HAVE_ST_MTIM_TV_NSEC 1" >>confdefs.h
15161
15162  fi
15163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&5
15164 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&6; }
15165
15166 fi
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176 ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
15177
15178 ac_config_commands="$ac_config_commands default"
15179
15180
15181 cat >confcache <<\_ACEOF
15182 # This file is a shell script that caches the results of configure
15183 # tests run on this system so they can be shared between configure
15184 # scripts and configure runs, see configure's option --config-cache.
15185 # It is not useful on other systems.  If it contains results you don't
15186 # want to keep, you may remove or edit it.
15187 #
15188 # config.status only pays attention to the cache file if you give it
15189 # the --recheck option to rerun configure.
15190 #
15191 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15192 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15193 # following values.
15194
15195 _ACEOF
15196
15197 # The following way of writing the cache mishandles newlines in values,
15198 # but we know of no workaround that is simple, portable, and efficient.
15199 # So, we kill variables containing newlines.
15200 # Ultrix sh set writes to stderr and can't be redirected directly,
15201 # and sets the high bit in the cache file unless we assign to the vars.
15202 (
15203   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15204     eval ac_val=\$$ac_var
15205     case $ac_val in #(
15206     *${as_nl}*)
15207       case $ac_var in #(
15208       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15209 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15210       esac
15211       case $ac_var in #(
15212       _ | IFS | as_nl) ;; #(
15213       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15214       *) { eval $ac_var=; unset $ac_var;} ;;
15215       esac ;;
15216     esac
15217   done
15218
15219   (set) 2>&1 |
15220     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15221     *${as_nl}ac_space=\ *)
15222       # `set' does not quote correctly, so add quotes: double-quote
15223       # substitution turns \\\\ into \\, and sed turns \\ into \.
15224       sed -n \
15225         "s/'/'\\\\''/g;
15226           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15227       ;; #(
15228     *)
15229       # `set' quotes correctly as required by POSIX, so do not add quotes.
15230       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15231       ;;
15232     esac |
15233     sort
15234 ) |
15235   sed '
15236      /^ac_cv_env_/b end
15237      t clear
15238      :clear
15239      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15240      t end
15241      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15242      :end' >>confcache
15243 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15244   if test -w "$cache_file"; then
15245     if test "x$cache_file" != "x/dev/null"; then
15246       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15247 $as_echo "$as_me: updating cache $cache_file" >&6;}
15248       if test ! -f "$cache_file" || test -h "$cache_file"; then
15249         cat confcache >"$cache_file"
15250       else
15251         case $cache_file in #(
15252         */* | ?:*)
15253           mv -f confcache "$cache_file"$$ &&
15254           mv -f "$cache_file"$$ "$cache_file" ;; #(
15255         *)
15256           mv -f confcache "$cache_file" ;;
15257         esac
15258       fi
15259     fi
15260   else
15261     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15262 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15263   fi
15264 fi
15265 rm -f confcache
15266
15267 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15268 # Let make expand exec_prefix.
15269 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15270
15271 DEFS=-DHAVE_CONFIG_H
15272
15273 ac_libobjs=
15274 ac_ltlibobjs=
15275 U=
15276 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15277   # 1. Remove the extension, and $U if already installed.
15278   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15279   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15280   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15281   #    will be set to the directory where LIBOBJS objects are built.
15282   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15283   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15284 done
15285 LIBOBJS=$ac_libobjs
15286
15287 LTLIBOBJS=$ac_ltlibobjs
15288
15289
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15291 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15292    if test -n "$am_sleep_pid"; then
15293      # Hide warnings about reused PIDs.
15294      wait $am_sleep_pid 2>/dev/null
15295    fi
15296    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15297 $as_echo "done" >&6; }
15298 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15299   as_fn_error $? "conditional \"AMDEP\" was never defined.
15300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15301 fi
15302 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15303   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15305 fi
15306  if test -n "$EXEEXT"; then
15307   am__EXEEXT_TRUE=
15308   am__EXEEXT_FALSE='#'
15309 else
15310   am__EXEEXT_TRUE='#'
15311   am__EXEEXT_FALSE=
15312 fi
15313
15314
15315 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15316   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15318 fi
15319 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
15320   as_fn_error $? "conditional \"GENINSRC_NEVER\" was never defined.
15321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15322 fi
15323
15324 : "${CONFIG_STATUS=./config.status}"
15325 ac_write_fail=0
15326 ac_clean_files_save=$ac_clean_files
15327 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15329 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15330 as_write_fail=0
15331 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15332 #! $SHELL
15333 # Generated by $as_me.
15334 # Run this file to recreate the current configuration.
15335 # Compiler output produced by configure, useful for debugging
15336 # configure, is in config.log if it exists.
15337
15338 debug=false
15339 ac_cs_recheck=false
15340 ac_cs_silent=false
15341
15342 SHELL=\${CONFIG_SHELL-$SHELL}
15343 export SHELL
15344 _ASEOF
15345 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15346 ## -------------------- ##
15347 ## M4sh Initialization. ##
15348 ## -------------------- ##
15349
15350 # Be more Bourne compatible
15351 DUALCASE=1; export DUALCASE # for MKS sh
15352 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15353   emulate sh
15354   NULLCMD=:
15355   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15356   # is contrary to our usage.  Disable this feature.
15357   alias -g '${1+"$@"}'='"$@"'
15358   setopt NO_GLOB_SUBST
15359 else
15360   case `(set -o) 2>/dev/null` in #(
15361   *posix*) :
15362     set -o posix ;; #(
15363   *) :
15364      ;;
15365 esac
15366 fi
15367
15368
15369 as_nl='
15370 '
15371 export as_nl
15372 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15373 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15374 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15375 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15376 # Prefer a ksh shell builtin over an external printf program on Solaris,
15377 # but without wasting forks for bash or zsh.
15378 if test -z "$BASH_VERSION$ZSH_VERSION" \
15379     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15380   as_echo='print -r --'
15381   as_echo_n='print -rn --'
15382 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15383   as_echo='printf %s\n'
15384   as_echo_n='printf %s'
15385 else
15386   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15387     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15388     as_echo_n='/usr/ucb/echo -n'
15389   else
15390     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15391     as_echo_n_body='eval
15392       arg=$1;
15393       case $arg in #(
15394       *"$as_nl"*)
15395         expr "X$arg" : "X\\(.*\\)$as_nl";
15396         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15397       esac;
15398       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15399     '
15400     export as_echo_n_body
15401     as_echo_n='sh -c $as_echo_n_body as_echo'
15402   fi
15403   export as_echo_body
15404   as_echo='sh -c $as_echo_body as_echo'
15405 fi
15406
15407 # The user is always right.
15408 if test "${PATH_SEPARATOR+set}" != set; then
15409   PATH_SEPARATOR=:
15410   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15411     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15412       PATH_SEPARATOR=';'
15413   }
15414 fi
15415
15416
15417 # IFS
15418 # We need space, tab and new line, in precisely that order.  Quoting is
15419 # there to prevent editors from complaining about space-tab.
15420 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15421 # splitting by setting IFS to empty value.)
15422 IFS=" ""        $as_nl"
15423
15424 # Find who we are.  Look in the path if we contain no directory separator.
15425 as_myself=
15426 case $0 in #((
15427   *[\\/]* ) as_myself=$0 ;;
15428   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15429 for as_dir in $PATH
15430 do
15431   IFS=$as_save_IFS
15432   test -z "$as_dir" && as_dir=.
15433     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15434   done
15435 IFS=$as_save_IFS
15436
15437      ;;
15438 esac
15439 # We did not find ourselves, most probably we were run as `sh COMMAND'
15440 # in which case we are not to be found in the path.
15441 if test "x$as_myself" = x; then
15442   as_myself=$0
15443 fi
15444 if test ! -f "$as_myself"; then
15445   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15446   exit 1
15447 fi
15448
15449 # Unset variables that we do not need and which cause bugs (e.g. in
15450 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15451 # suppresses any "Segmentation fault" message there.  '((' could
15452 # trigger a bug in pdksh 5.2.14.
15453 for as_var in BASH_ENV ENV MAIL MAILPATH
15454 do eval test x\${$as_var+set} = xset \
15455   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15456 done
15457 PS1='$ '
15458 PS2='> '
15459 PS4='+ '
15460
15461 # NLS nuisances.
15462 LC_ALL=C
15463 export LC_ALL
15464 LANGUAGE=C
15465 export LANGUAGE
15466
15467 # CDPATH.
15468 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15469
15470
15471 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15472 # ----------------------------------------
15473 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15474 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15475 # script with STATUS, using 1 if that was 0.
15476 as_fn_error ()
15477 {
15478   as_status=$1; test $as_status -eq 0 && as_status=1
15479   if test "$4"; then
15480     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15481     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15482   fi
15483   $as_echo "$as_me: error: $2" >&2
15484   as_fn_exit $as_status
15485 } # as_fn_error
15486
15487
15488 # as_fn_set_status STATUS
15489 # -----------------------
15490 # Set $? to STATUS, without forking.
15491 as_fn_set_status ()
15492 {
15493   return $1
15494 } # as_fn_set_status
15495
15496 # as_fn_exit STATUS
15497 # -----------------
15498 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15499 as_fn_exit ()
15500 {
15501   set +e
15502   as_fn_set_status $1
15503   exit $1
15504 } # as_fn_exit
15505
15506 # as_fn_unset VAR
15507 # ---------------
15508 # Portably unset VAR.
15509 as_fn_unset ()
15510 {
15511   { eval $1=; unset $1;}
15512 }
15513 as_unset=as_fn_unset
15514 # as_fn_append VAR VALUE
15515 # ----------------------
15516 # Append the text in VALUE to the end of the definition contained in VAR. Take
15517 # advantage of any shell optimizations that allow amortized linear growth over
15518 # repeated appends, instead of the typical quadratic growth present in naive
15519 # implementations.
15520 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15521   eval 'as_fn_append ()
15522   {
15523     eval $1+=\$2
15524   }'
15525 else
15526   as_fn_append ()
15527   {
15528     eval $1=\$$1\$2
15529   }
15530 fi # as_fn_append
15531
15532 # as_fn_arith ARG...
15533 # ------------------
15534 # Perform arithmetic evaluation on the ARGs, and store the result in the
15535 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15536 # must be portable across $(()) and expr.
15537 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15538   eval 'as_fn_arith ()
15539   {
15540     as_val=$(( $* ))
15541   }'
15542 else
15543   as_fn_arith ()
15544   {
15545     as_val=`expr "$@" || test $? -eq 1`
15546   }
15547 fi # as_fn_arith
15548
15549
15550 if expr a : '\(a\)' >/dev/null 2>&1 &&
15551    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15552   as_expr=expr
15553 else
15554   as_expr=false
15555 fi
15556
15557 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15558   as_basename=basename
15559 else
15560   as_basename=false
15561 fi
15562
15563 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15564   as_dirname=dirname
15565 else
15566   as_dirname=false
15567 fi
15568
15569 as_me=`$as_basename -- "$0" ||
15570 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15571          X"$0" : 'X\(//\)$' \| \
15572          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15573 $as_echo X/"$0" |
15574     sed '/^.*\/\([^/][^/]*\)\/*$/{
15575             s//\1/
15576             q
15577           }
15578           /^X\/\(\/\/\)$/{
15579             s//\1/
15580             q
15581           }
15582           /^X\/\(\/\).*/{
15583             s//\1/
15584             q
15585           }
15586           s/.*/./; q'`
15587
15588 # Avoid depending upon Character Ranges.
15589 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15590 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15591 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15592 as_cr_digits='0123456789'
15593 as_cr_alnum=$as_cr_Letters$as_cr_digits
15594
15595 ECHO_C= ECHO_N= ECHO_T=
15596 case `echo -n x` in #(((((
15597 -n*)
15598   case `echo 'xy\c'` in
15599   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15600   xy)  ECHO_C='\c';;
15601   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15602        ECHO_T=' ';;
15603   esac;;
15604 *)
15605   ECHO_N='-n';;
15606 esac
15607
15608 rm -f conf$$ conf$$.exe conf$$.file
15609 if test -d conf$$.dir; then
15610   rm -f conf$$.dir/conf$$.file
15611 else
15612   rm -f conf$$.dir
15613   mkdir conf$$.dir 2>/dev/null
15614 fi
15615 if (echo >conf$$.file) 2>/dev/null; then
15616   if ln -s conf$$.file conf$$ 2>/dev/null; then
15617     as_ln_s='ln -s'
15618     # ... but there are two gotchas:
15619     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15620     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15621     # In both cases, we have to default to `cp -pR'.
15622     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15623       as_ln_s='cp -pR'
15624   elif ln conf$$.file conf$$ 2>/dev/null; then
15625     as_ln_s=ln
15626   else
15627     as_ln_s='cp -pR'
15628   fi
15629 else
15630   as_ln_s='cp -pR'
15631 fi
15632 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15633 rmdir conf$$.dir 2>/dev/null
15634
15635
15636 # as_fn_mkdir_p
15637 # -------------
15638 # Create "$as_dir" as a directory, including parents if necessary.
15639 as_fn_mkdir_p ()
15640 {
15641
15642   case $as_dir in #(
15643   -*) as_dir=./$as_dir;;
15644   esac
15645   test -d "$as_dir" || eval $as_mkdir_p || {
15646     as_dirs=
15647     while :; do
15648       case $as_dir in #(
15649       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15650       *) as_qdir=$as_dir;;
15651       esac
15652       as_dirs="'$as_qdir' $as_dirs"
15653       as_dir=`$as_dirname -- "$as_dir" ||
15654 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15655          X"$as_dir" : 'X\(//\)[^/]' \| \
15656          X"$as_dir" : 'X\(//\)$' \| \
15657          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15658 $as_echo X"$as_dir" |
15659     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15660             s//\1/
15661             q
15662           }
15663           /^X\(\/\/\)[^/].*/{
15664             s//\1/
15665             q
15666           }
15667           /^X\(\/\/\)$/{
15668             s//\1/
15669             q
15670           }
15671           /^X\(\/\).*/{
15672             s//\1/
15673             q
15674           }
15675           s/.*/./; q'`
15676       test -d "$as_dir" && break
15677     done
15678     test -z "$as_dirs" || eval "mkdir $as_dirs"
15679   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15680
15681
15682 } # as_fn_mkdir_p
15683 if mkdir -p . 2>/dev/null; then
15684   as_mkdir_p='mkdir -p "$as_dir"'
15685 else
15686   test -d ./-p && rmdir ./-p
15687   as_mkdir_p=false
15688 fi
15689
15690
15691 # as_fn_executable_p FILE
15692 # -----------------------
15693 # Test if FILE is an executable regular file.
15694 as_fn_executable_p ()
15695 {
15696   test -f "$1" && test -x "$1"
15697 } # as_fn_executable_p
15698 as_test_x='test -x'
15699 as_executable_p=as_fn_executable_p
15700
15701 # Sed expression to map a string onto a valid CPP name.
15702 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15703
15704 # Sed expression to map a string onto a valid variable name.
15705 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15706
15707
15708 exec 6>&1
15709 ## ----------------------------------- ##
15710 ## Main body of $CONFIG_STATUS script. ##
15711 ## ----------------------------------- ##
15712 _ASEOF
15713 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15714
15715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15716 # Save the log message, to keep $0 and so on meaningful, and to
15717 # report actual input values of CONFIG_FILES etc. instead of their
15718 # values after options handling.
15719 ac_log="
15720 This file was extended by gas $as_me 2.32.51, which was
15721 generated by GNU Autoconf 2.69.  Invocation command line was
15722
15723   CONFIG_FILES    = $CONFIG_FILES
15724   CONFIG_HEADERS  = $CONFIG_HEADERS
15725   CONFIG_LINKS    = $CONFIG_LINKS
15726   CONFIG_COMMANDS = $CONFIG_COMMANDS
15727   $ $0 $@
15728
15729 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15730 "
15731
15732 _ACEOF
15733
15734 case $ac_config_files in *"
15735 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15736 esac
15737
15738 case $ac_config_headers in *"
15739 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15740 esac
15741
15742
15743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15744 # Files that config.status was made for.
15745 config_files="$ac_config_files"
15746 config_headers="$ac_config_headers"
15747 config_commands="$ac_config_commands"
15748
15749 _ACEOF
15750
15751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15752 ac_cs_usage="\
15753 \`$as_me' instantiates files and other configuration actions
15754 from templates according to the current configuration.  Unless the files
15755 and actions are specified as TAGs, all are instantiated by default.
15756
15757 Usage: $0 [OPTION]... [TAG]...
15758
15759   -h, --help       print this help, then exit
15760   -V, --version    print version number and configuration settings, then exit
15761       --config     print configuration, then exit
15762   -q, --quiet, --silent
15763                    do not print progress messages
15764   -d, --debug      don't remove temporary files
15765       --recheck    update $as_me by reconfiguring in the same conditions
15766       --file=FILE[:TEMPLATE]
15767                    instantiate the configuration file FILE
15768       --header=FILE[:TEMPLATE]
15769                    instantiate the configuration header FILE
15770
15771 Configuration files:
15772 $config_files
15773
15774 Configuration headers:
15775 $config_headers
15776
15777 Configuration commands:
15778 $config_commands
15779
15780 Report bugs to the package provider."
15781
15782 _ACEOF
15783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15784 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15785 ac_cs_version="\\
15786 gas config.status 2.32.51
15787 configured by $0, generated by GNU Autoconf 2.69,
15788   with options \\"\$ac_cs_config\\"
15789
15790 Copyright (C) 2012 Free Software Foundation, Inc.
15791 This config.status script is free software; the Free Software Foundation
15792 gives unlimited permission to copy, distribute and modify it."
15793
15794 ac_pwd='$ac_pwd'
15795 srcdir='$srcdir'
15796 INSTALL='$INSTALL'
15797 MKDIR_P='$MKDIR_P'
15798 AWK='$AWK'
15799 test -n "\$AWK" || AWK=awk
15800 _ACEOF
15801
15802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15803 # The default lists apply if the user does not specify any file.
15804 ac_need_defaults=:
15805 while test $# != 0
15806 do
15807   case $1 in
15808   --*=?*)
15809     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15810     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15811     ac_shift=:
15812     ;;
15813   --*=)
15814     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15815     ac_optarg=
15816     ac_shift=:
15817     ;;
15818   *)
15819     ac_option=$1
15820     ac_optarg=$2
15821     ac_shift=shift
15822     ;;
15823   esac
15824
15825   case $ac_option in
15826   # Handling of the options.
15827   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15828     ac_cs_recheck=: ;;
15829   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15830     $as_echo "$ac_cs_version"; exit ;;
15831   --config | --confi | --conf | --con | --co | --c )
15832     $as_echo "$ac_cs_config"; exit ;;
15833   --debug | --debu | --deb | --de | --d | -d )
15834     debug=: ;;
15835   --file | --fil | --fi | --f )
15836     $ac_shift
15837     case $ac_optarg in
15838     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15839     '') as_fn_error $? "missing file argument" ;;
15840     esac
15841     as_fn_append CONFIG_FILES " '$ac_optarg'"
15842     ac_need_defaults=false;;
15843   --header | --heade | --head | --hea )
15844     $ac_shift
15845     case $ac_optarg in
15846     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15847     esac
15848     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15849     ac_need_defaults=false;;
15850   --he | --h)
15851     # Conflict between --help and --header
15852     as_fn_error $? "ambiguous option: \`$1'
15853 Try \`$0 --help' for more information.";;
15854   --help | --hel | -h )
15855     $as_echo "$ac_cs_usage"; exit ;;
15856   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15857   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15858     ac_cs_silent=: ;;
15859
15860   # This is an error.
15861   -*) as_fn_error $? "unrecognized option: \`$1'
15862 Try \`$0 --help' for more information." ;;
15863
15864   *) as_fn_append ac_config_targets " $1"
15865      ac_need_defaults=false ;;
15866
15867   esac
15868   shift
15869 done
15870
15871 ac_configure_extra_args=
15872
15873 if $ac_cs_silent; then
15874   exec 6>/dev/null
15875   ac_configure_extra_args="$ac_configure_extra_args --silent"
15876 fi
15877
15878 _ACEOF
15879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15880 if \$ac_cs_recheck; then
15881   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15882   shift
15883   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15884   CONFIG_SHELL='$SHELL'
15885   export CONFIG_SHELL
15886   exec "\$@"
15887 fi
15888
15889 _ACEOF
15890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15891 exec 5>>config.log
15892 {
15893   echo
15894   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15895 ## Running $as_me. ##
15896 _ASBOX
15897   $as_echo "$ac_log"
15898 } >&5
15899
15900 _ACEOF
15901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15902 #
15903 # INIT-COMMANDS
15904 #
15905 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15906
15907
15908 # The HP-UX ksh and POSIX shell print the target directory to stdout
15909 # if CDPATH is set.
15910 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15911
15912 sed_quote_subst='$sed_quote_subst'
15913 double_quote_subst='$double_quote_subst'
15914 delay_variable_subst='$delay_variable_subst'
15915 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15916 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15917 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15918 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15919 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15920 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15921 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15922 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15923 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15924 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15925 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15926 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15927 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15928 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15929 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15930 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15931 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15932 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15933 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15934 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15935 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15936 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15937 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15938 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15939 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15940 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15941 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15942 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15943 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15944 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15945 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15946 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15947 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15948 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15949 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15950 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15951 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15952 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15953 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15954 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15955 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15956 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15957 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15958 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15959 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15960 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15961 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15962 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15963 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"`'
15964 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15965 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15966 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15967 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15968 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15969 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15970 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15971 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15972 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15973 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15974 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15975 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15976 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15977 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15978 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15979 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15980 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15981 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15982 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15983 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15984 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15985 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15986 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15987 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15988 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15989 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15990 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15991 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15992 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15993 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15994 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15995 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15996 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15997 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15998 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15999 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16000 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16001 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16002 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16003 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16004 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16005 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16006 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16007 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16008 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16009 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16010 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16011 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16012 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16013 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16014 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16015 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16016 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16017 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16018 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16019 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16020 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16021 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16022 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16023 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16024 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16025 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16026 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16027 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16028 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16029 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16030 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16031 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16032 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16033 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16034 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16035
16036 LTCC='$LTCC'
16037 LTCFLAGS='$LTCFLAGS'
16038 compiler='$compiler_DEFAULT'
16039
16040 # A function that is used when there is no print builtin or printf.
16041 func_fallback_echo ()
16042 {
16043   eval 'cat <<_LTECHO_EOF
16044 \$1
16045 _LTECHO_EOF'
16046 }
16047
16048 # Quote evaled strings.
16049 for var in SHELL \
16050 ECHO \
16051 SED \
16052 GREP \
16053 EGREP \
16054 FGREP \
16055 LD \
16056 NM \
16057 LN_S \
16058 lt_SP2NL \
16059 lt_NL2SP \
16060 reload_flag \
16061 OBJDUMP \
16062 deplibs_check_method \
16063 file_magic_cmd \
16064 AR \
16065 AR_FLAGS \
16066 STRIP \
16067 RANLIB \
16068 CC \
16069 CFLAGS \
16070 compiler \
16071 lt_cv_sys_global_symbol_pipe \
16072 lt_cv_sys_global_symbol_to_cdecl \
16073 lt_cv_sys_global_symbol_to_c_name_address \
16074 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16075 lt_prog_compiler_no_builtin_flag \
16076 lt_prog_compiler_wl \
16077 lt_prog_compiler_pic \
16078 lt_prog_compiler_static \
16079 lt_cv_prog_compiler_c_o \
16080 need_locks \
16081 DSYMUTIL \
16082 NMEDIT \
16083 LIPO \
16084 OTOOL \
16085 OTOOL64 \
16086 shrext_cmds \
16087 export_dynamic_flag_spec \
16088 whole_archive_flag_spec \
16089 compiler_needs_object \
16090 with_gnu_ld \
16091 allow_undefined_flag \
16092 no_undefined_flag \
16093 hardcode_libdir_flag_spec \
16094 hardcode_libdir_flag_spec_ld \
16095 hardcode_libdir_separator \
16096 fix_srcfile_path \
16097 exclude_expsyms \
16098 include_expsyms \
16099 file_list_spec \
16100 variables_saved_for_relink \
16101 libname_spec \
16102 library_names_spec \
16103 soname_spec \
16104 install_override_mode \
16105 finish_eval \
16106 old_striplib \
16107 striplib; do
16108     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16109     *[\\\\\\\`\\"\\\$]*)
16110       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16111       ;;
16112     *)
16113       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16114       ;;
16115     esac
16116 done
16117
16118 # Double-quote double-evaled strings.
16119 for var in reload_cmds \
16120 old_postinstall_cmds \
16121 old_postuninstall_cmds \
16122 old_archive_cmds \
16123 extract_expsyms_cmds \
16124 old_archive_from_new_cmds \
16125 old_archive_from_expsyms_cmds \
16126 archive_cmds \
16127 archive_expsym_cmds \
16128 module_cmds \
16129 module_expsym_cmds \
16130 export_symbols_cmds \
16131 prelink_cmds \
16132 postinstall_cmds \
16133 postuninstall_cmds \
16134 finish_cmds \
16135 sys_lib_search_path_spec \
16136 sys_lib_dlsearch_path_spec; do
16137     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16138     *[\\\\\\\`\\"\\\$]*)
16139       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16140       ;;
16141     *)
16142       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16143       ;;
16144     esac
16145 done
16146
16147 ac_aux_dir='$ac_aux_dir'
16148 xsi_shell='$xsi_shell'
16149 lt_shell_append='$lt_shell_append'
16150
16151 # See if we are running on zsh, and set the options which allow our
16152 # commands through without removal of \ escapes INIT.
16153 if test -n "\${ZSH_VERSION+set}" ; then
16154    setopt NO_GLOB_SUBST
16155 fi
16156
16157
16158     PACKAGE='$PACKAGE'
16159     VERSION='$VERSION'
16160     TIMESTAMP='$TIMESTAMP'
16161     RM='$RM'
16162     ofile='$ofile'
16163
16164
16165
16166 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16167     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
16168     # from automake.
16169     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
16170     # Capture the value of LINGUAS because we need it to compute CATALOGS.
16171     LINGUAS="${LINGUAS-%UNSET%}"
16172
16173 target_cpu_type=${target_cpu_type}
16174  cgen_cpu_prefix=${cgen_cpu_prefix}
16175  obj_format=${obj_format}
16176  te_file=${te_file}
16177
16178 _ACEOF
16179
16180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16181
16182 # Handling of arguments.
16183 for ac_config_target in $ac_config_targets
16184 do
16185   case $ac_config_target in
16186     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16187     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16188     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
16189     "gdb.ini") CONFIG_FILES="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
16190     ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
16191     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16192     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16193     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16194     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
16195     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
16196
16197   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16198   esac
16199 done
16200
16201
16202 # If the user did not use the arguments to specify the items to instantiate,
16203 # then the envvar interface is used.  Set only those that are not.
16204 # We use the long form for the default assignment because of an extremely
16205 # bizarre bug on SunOS 4.1.3.
16206 if $ac_need_defaults; then
16207   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16208   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16209   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16210 fi
16211
16212 # Have a temporary directory for convenience.  Make it in the build tree
16213 # simply because there is no reason against having it here, and in addition,
16214 # creating and moving files from /tmp can sometimes cause problems.
16215 # Hook for its removal unless debugging.
16216 # Note that there is a small window in which the directory will not be cleaned:
16217 # after its creation but before its name has been assigned to `$tmp'.
16218 $debug ||
16219 {
16220   tmp= ac_tmp=
16221   trap 'exit_status=$?
16222   : "${ac_tmp:=$tmp}"
16223   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16224 ' 0
16225   trap 'as_fn_exit 1' 1 2 13 15
16226 }
16227 # Create a (secure) tmp directory for tmp files.
16228
16229 {
16230   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16231   test -d "$tmp"
16232 }  ||
16233 {
16234   tmp=./conf$$-$RANDOM
16235   (umask 077 && mkdir "$tmp")
16236 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16237 ac_tmp=$tmp
16238
16239 # Set up the scripts for CONFIG_FILES section.
16240 # No need to generate them if there are no CONFIG_FILES.
16241 # This happens for instance with `./config.status config.h'.
16242 if test -n "$CONFIG_FILES"; then
16243
16244
16245 ac_cr=`echo X | tr X '\015'`
16246 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16247 # But we know of no other shell where ac_cr would be empty at this
16248 # point, so we can use a bashism as a fallback.
16249 if test "x$ac_cr" = x; then
16250   eval ac_cr=\$\'\\r\'
16251 fi
16252 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16253 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16254   ac_cs_awk_cr='\\r'
16255 else
16256   ac_cs_awk_cr=$ac_cr
16257 fi
16258
16259 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16260 _ACEOF
16261
16262
16263 {
16264   echo "cat >conf$$subs.awk <<_ACEOF" &&
16265   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16266   echo "_ACEOF"
16267 } >conf$$subs.sh ||
16268   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16269 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16270 ac_delim='%!_!# '
16271 for ac_last_try in false false false false false :; do
16272   . ./conf$$subs.sh ||
16273     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16274
16275   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16276   if test $ac_delim_n = $ac_delim_num; then
16277     break
16278   elif $ac_last_try; then
16279     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16280   else
16281     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16282   fi
16283 done
16284 rm -f conf$$subs.sh
16285
16286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16287 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16288 _ACEOF
16289 sed -n '
16290 h
16291 s/^/S["/; s/!.*/"]=/
16292 p
16293 g
16294 s/^[^!]*!//
16295 :repl
16296 t repl
16297 s/'"$ac_delim"'$//
16298 t delim
16299 :nl
16300 h
16301 s/\(.\{148\}\)..*/\1/
16302 t more1
16303 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16304 p
16305 n
16306 b repl
16307 :more1
16308 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16309 p
16310 g
16311 s/.\{148\}//
16312 t nl
16313 :delim
16314 h
16315 s/\(.\{148\}\)..*/\1/
16316 t more2
16317 s/["\\]/\\&/g; s/^/"/; s/$/"/
16318 p
16319 b
16320 :more2
16321 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16322 p
16323 g
16324 s/.\{148\}//
16325 t delim
16326 ' <conf$$subs.awk | sed '
16327 /^[^""]/{
16328   N
16329   s/\n//
16330 }
16331 ' >>$CONFIG_STATUS || ac_write_fail=1
16332 rm -f conf$$subs.awk
16333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16334 _ACAWK
16335 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16336   for (key in S) S_is_set[key] = 1
16337   FS = "\a"
16338
16339 }
16340 {
16341   line = $ 0
16342   nfields = split(line, field, "@")
16343   substed = 0
16344   len = length(field[1])
16345   for (i = 2; i < nfields; i++) {
16346     key = field[i]
16347     keylen = length(key)
16348     if (S_is_set[key]) {
16349       value = S[key]
16350       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16351       len += length(value) + length(field[++i])
16352       substed = 1
16353     } else
16354       len += 1 + keylen
16355   }
16356
16357   print line
16358 }
16359
16360 _ACAWK
16361 _ACEOF
16362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16363 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16364   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16365 else
16366   cat
16367 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16368   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16369 _ACEOF
16370
16371 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16372 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16373 # trailing colons and then remove the whole line if VPATH becomes empty
16374 # (actually we leave an empty line to preserve line numbers).
16375 if test "x$srcdir" = x.; then
16376   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16377 h
16378 s///
16379 s/^/:/
16380 s/[      ]*$/:/
16381 s/:\$(srcdir):/:/g
16382 s/:\${srcdir}:/:/g
16383 s/:@srcdir@:/:/g
16384 s/^:*//
16385 s/:*$//
16386 x
16387 s/\(=[   ]*\).*/\1/
16388 G
16389 s/\n//
16390 s/^[^=]*=[       ]*$//
16391 }'
16392 fi
16393
16394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16395 fi # test -n "$CONFIG_FILES"
16396
16397 # Set up the scripts for CONFIG_HEADERS section.
16398 # No need to generate them if there are no CONFIG_HEADERS.
16399 # This happens for instance with `./config.status Makefile'.
16400 if test -n "$CONFIG_HEADERS"; then
16401 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16402 BEGIN {
16403 _ACEOF
16404
16405 # Transform confdefs.h into an awk script `defines.awk', embedded as
16406 # here-document in config.status, that substitutes the proper values into
16407 # config.h.in to produce config.h.
16408
16409 # Create a delimiter string that does not exist in confdefs.h, to ease
16410 # handling of long lines.
16411 ac_delim='%!_!# '
16412 for ac_last_try in false false :; do
16413   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16414   if test -z "$ac_tt"; then
16415     break
16416   elif $ac_last_try; then
16417     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16418   else
16419     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16420   fi
16421 done
16422
16423 # For the awk script, D is an array of macro values keyed by name,
16424 # likewise P contains macro parameters if any.  Preserve backslash
16425 # newline sequences.
16426
16427 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16428 sed -n '
16429 s/.\{148\}/&'"$ac_delim"'/g
16430 t rset
16431 :rset
16432 s/^[     ]*#[    ]*define[       ][      ]*/ /
16433 t def
16434 d
16435 :def
16436 s/\\$//
16437 t bsnl
16438 s/["\\]/\\&/g
16439 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16440 D["\1"]=" \3"/p
16441 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16442 d
16443 :bsnl
16444 s/["\\]/\\&/g
16445 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16446 D["\1"]=" \3\\\\\\n"\\/p
16447 t cont
16448 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16449 t cont
16450 d
16451 :cont
16452 n
16453 s/.\{148\}/&'"$ac_delim"'/g
16454 t clear
16455 :clear
16456 s/\\$//
16457 t bsnlc
16458 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16459 d
16460 :bsnlc
16461 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16462 b cont
16463 ' <confdefs.h | sed '
16464 s/'"$ac_delim"'/"\\\
16465 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16466
16467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16468   for (key in D) D_is_set[key] = 1
16469   FS = "\a"
16470 }
16471 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16472   line = \$ 0
16473   split(line, arg, " ")
16474   if (arg[1] == "#") {
16475     defundef = arg[2]
16476     mac1 = arg[3]
16477   } else {
16478     defundef = substr(arg[1], 2)
16479     mac1 = arg[2]
16480   }
16481   split(mac1, mac2, "(") #)
16482   macro = mac2[1]
16483   prefix = substr(line, 1, index(line, defundef) - 1)
16484   if (D_is_set[macro]) {
16485     # Preserve the white space surrounding the "#".
16486     print prefix "define", macro P[macro] D[macro]
16487     next
16488   } else {
16489     # Replace #undef with comments.  This is necessary, for example,
16490     # in the case of _POSIX_SOURCE, which is predefined and required
16491     # on some systems where configure will not decide to define it.
16492     if (defundef == "undef") {
16493       print "/*", prefix defundef, macro, "*/"
16494       next
16495     }
16496   }
16497 }
16498 { print }
16499 _ACAWK
16500 _ACEOF
16501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16502   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16503 fi # test -n "$CONFIG_HEADERS"
16504
16505
16506 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16507 shift
16508 for ac_tag
16509 do
16510   case $ac_tag in
16511   :[FHLC]) ac_mode=$ac_tag; continue;;
16512   esac
16513   case $ac_mode$ac_tag in
16514   :[FHL]*:*);;
16515   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16516   :[FH]-) ac_tag=-:-;;
16517   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16518   esac
16519   ac_save_IFS=$IFS
16520   IFS=:
16521   set x $ac_tag
16522   IFS=$ac_save_IFS
16523   shift
16524   ac_file=$1
16525   shift
16526
16527   case $ac_mode in
16528   :L) ac_source=$1;;
16529   :[FH])
16530     ac_file_inputs=
16531     for ac_f
16532     do
16533       case $ac_f in
16534       -) ac_f="$ac_tmp/stdin";;
16535       *) # Look for the file first in the build tree, then in the source tree
16536          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16537          # because $ac_f cannot contain `:'.
16538          test -f "$ac_f" ||
16539            case $ac_f in
16540            [\\/$]*) false;;
16541            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16542            esac ||
16543            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16544       esac
16545       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16546       as_fn_append ac_file_inputs " '$ac_f'"
16547     done
16548
16549     # Let's still pretend it is `configure' which instantiates (i.e., don't
16550     # use $as_me), people would be surprised to read:
16551     #    /* config.h.  Generated by config.status.  */
16552     configure_input='Generated from '`
16553           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16554         `' by configure.'
16555     if test x"$ac_file" != x-; then
16556       configure_input="$ac_file.  $configure_input"
16557       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16558 $as_echo "$as_me: creating $ac_file" >&6;}
16559     fi
16560     # Neutralize special characters interpreted by sed in replacement strings.
16561     case $configure_input in #(
16562     *\&* | *\|* | *\\* )
16563        ac_sed_conf_input=`$as_echo "$configure_input" |
16564        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16565     *) ac_sed_conf_input=$configure_input;;
16566     esac
16567
16568     case $ac_tag in
16569     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16570       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16571     esac
16572     ;;
16573   esac
16574
16575   ac_dir=`$as_dirname -- "$ac_file" ||
16576 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16577          X"$ac_file" : 'X\(//\)[^/]' \| \
16578          X"$ac_file" : 'X\(//\)$' \| \
16579          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16580 $as_echo X"$ac_file" |
16581     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16582             s//\1/
16583             q
16584           }
16585           /^X\(\/\/\)[^/].*/{
16586             s//\1/
16587             q
16588           }
16589           /^X\(\/\/\)$/{
16590             s//\1/
16591             q
16592           }
16593           /^X\(\/\).*/{
16594             s//\1/
16595             q
16596           }
16597           s/.*/./; q'`
16598   as_dir="$ac_dir"; as_fn_mkdir_p
16599   ac_builddir=.
16600
16601 case "$ac_dir" in
16602 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16603 *)
16604   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16605   # A ".." for each directory in $ac_dir_suffix.
16606   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16607   case $ac_top_builddir_sub in
16608   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16609   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16610   esac ;;
16611 esac
16612 ac_abs_top_builddir=$ac_pwd
16613 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16614 # for backward compatibility:
16615 ac_top_builddir=$ac_top_build_prefix
16616
16617 case $srcdir in
16618   .)  # We are building in place.
16619     ac_srcdir=.
16620     ac_top_srcdir=$ac_top_builddir_sub
16621     ac_abs_top_srcdir=$ac_pwd ;;
16622   [\\/]* | ?:[\\/]* )  # Absolute name.
16623     ac_srcdir=$srcdir$ac_dir_suffix;
16624     ac_top_srcdir=$srcdir
16625     ac_abs_top_srcdir=$srcdir ;;
16626   *) # Relative name.
16627     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16628     ac_top_srcdir=$ac_top_build_prefix$srcdir
16629     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16630 esac
16631 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16632
16633
16634   case $ac_mode in
16635   :F)
16636   #
16637   # CONFIG_FILE
16638   #
16639
16640   case $INSTALL in
16641   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16642   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16643   esac
16644   ac_MKDIR_P=$MKDIR_P
16645   case $MKDIR_P in
16646   [\\/$]* | ?:[\\/]* ) ;;
16647   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16648   esac
16649 _ACEOF
16650
16651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16652 # If the template does not know about datarootdir, expand it.
16653 # FIXME: This hack should be removed a few years after 2.60.
16654 ac_datarootdir_hack=; ac_datarootdir_seen=
16655 ac_sed_dataroot='
16656 /datarootdir/ {
16657   p
16658   q
16659 }
16660 /@datadir@/p
16661 /@docdir@/p
16662 /@infodir@/p
16663 /@localedir@/p
16664 /@mandir@/p'
16665 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16666 *datarootdir*) ac_datarootdir_seen=yes;;
16667 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16668   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16669 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16670 _ACEOF
16671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16672   ac_datarootdir_hack='
16673   s&@datadir@&$datadir&g
16674   s&@docdir@&$docdir&g
16675   s&@infodir@&$infodir&g
16676   s&@localedir@&$localedir&g
16677   s&@mandir@&$mandir&g
16678   s&\\\${datarootdir}&$datarootdir&g' ;;
16679 esac
16680 _ACEOF
16681
16682 # Neutralize VPATH when `$srcdir' = `.'.
16683 # Shell code in configure.ac might set extrasub.
16684 # FIXME: do we really want to maintain this feature?
16685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16686 ac_sed_extra="$ac_vpsub
16687 $extrasub
16688 _ACEOF
16689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16690 :t
16691 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16692 s|@configure_input@|$ac_sed_conf_input|;t t
16693 s&@top_builddir@&$ac_top_builddir_sub&;t t
16694 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16695 s&@srcdir@&$ac_srcdir&;t t
16696 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16697 s&@top_srcdir@&$ac_top_srcdir&;t t
16698 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16699 s&@builddir@&$ac_builddir&;t t
16700 s&@abs_builddir@&$ac_abs_builddir&;t t
16701 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16702 s&@INSTALL@&$ac_INSTALL&;t t
16703 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16704 $ac_datarootdir_hack
16705 "
16706 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16707   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16708
16709 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16710   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16711   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16712       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16713   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16714 which seems to be undefined.  Please make sure it is defined" >&5
16715 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16716 which seems to be undefined.  Please make sure it is defined" >&2;}
16717
16718   rm -f "$ac_tmp/stdin"
16719   case $ac_file in
16720   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16721   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16722   esac \
16723   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16724  ;;
16725   :H)
16726   #
16727   # CONFIG_HEADER
16728   #
16729   if test x"$ac_file" != x-; then
16730     {
16731       $as_echo "/* $configure_input  */" \
16732       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16733     } >"$ac_tmp/config.h" \
16734       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16735     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16736       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16737 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16738     else
16739       rm -f "$ac_file"
16740       mv "$ac_tmp/config.h" "$ac_file" \
16741         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16742     fi
16743   else
16744     $as_echo "/* $configure_input  */" \
16745       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16746       || as_fn_error $? "could not create -" "$LINENO" 5
16747   fi
16748 # Compute "$ac_file"'s index in $config_headers.
16749 _am_arg="$ac_file"
16750 _am_stamp_count=1
16751 for _am_header in $config_headers :; do
16752   case $_am_header in
16753     $_am_arg | $_am_arg:* )
16754       break ;;
16755     * )
16756       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16757   esac
16758 done
16759 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16760 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16761          X"$_am_arg" : 'X\(//\)[^/]' \| \
16762          X"$_am_arg" : 'X\(//\)$' \| \
16763          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16764 $as_echo X"$_am_arg" |
16765     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16766             s//\1/
16767             q
16768           }
16769           /^X\(\/\/\)[^/].*/{
16770             s//\1/
16771             q
16772           }
16773           /^X\(\/\/\)$/{
16774             s//\1/
16775             q
16776           }
16777           /^X\(\/\).*/{
16778             s//\1/
16779             q
16780           }
16781           s/.*/./; q'`/stamp-h$_am_stamp_count
16782  ;;
16783
16784   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16785 $as_echo "$as_me: executing $ac_file commands" >&6;}
16786  ;;
16787   esac
16788
16789
16790   case $ac_file$ac_mode in
16791     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16792   # Older Autoconf quotes --file arguments for eval, but not when files
16793   # are listed without --file.  Let's play safe and only enable the eval
16794   # if we detect the quoting.
16795   case $CONFIG_FILES in
16796   *\'*) eval set x "$CONFIG_FILES" ;;
16797   *)   set x $CONFIG_FILES ;;
16798   esac
16799   shift
16800   for mf
16801   do
16802     # Strip MF so we end up with the name of the file.
16803     mf=`echo "$mf" | sed -e 's/:.*$//'`
16804     # Check whether this is an Automake generated Makefile or not.
16805     # We used to match only the files named 'Makefile.in', but
16806     # some people rename them; so instead we look at the file content.
16807     # Grep'ing the first line is not enough: some people post-process
16808     # each Makefile.in and add a new line on top of each file to say so.
16809     # Grep'ing the whole file is not good either: AIX grep has a line
16810     # limit of 2048, but all sed's we know have understand at least 4000.
16811     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16812       dirpart=`$as_dirname -- "$mf" ||
16813 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16814          X"$mf" : 'X\(//\)[^/]' \| \
16815          X"$mf" : 'X\(//\)$' \| \
16816          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16817 $as_echo X"$mf" |
16818     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16819             s//\1/
16820             q
16821           }
16822           /^X\(\/\/\)[^/].*/{
16823             s//\1/
16824             q
16825           }
16826           /^X\(\/\/\)$/{
16827             s//\1/
16828             q
16829           }
16830           /^X\(\/\).*/{
16831             s//\1/
16832             q
16833           }
16834           s/.*/./; q'`
16835     else
16836       continue
16837     fi
16838     # Extract the definition of DEPDIR, am__include, and am__quote
16839     # from the Makefile without running 'make'.
16840     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16841     test -z "$DEPDIR" && continue
16842     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16843     test -z "$am__include" && continue
16844     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16845     # Find all dependency output files, they are included files with
16846     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16847     # simplest approach to changing $(DEPDIR) to its actual value in the
16848     # expansion.
16849     for file in `sed -n "
16850       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16851          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16852       # Make sure the directory exists.
16853       test -f "$dirpart/$file" && continue
16854       fdir=`$as_dirname -- "$file" ||
16855 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16856          X"$file" : 'X\(//\)[^/]' \| \
16857          X"$file" : 'X\(//\)$' \| \
16858          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16859 $as_echo X"$file" |
16860     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16861             s//\1/
16862             q
16863           }
16864           /^X\(\/\/\)[^/].*/{
16865             s//\1/
16866             q
16867           }
16868           /^X\(\/\/\)$/{
16869             s//\1/
16870             q
16871           }
16872           /^X\(\/\).*/{
16873             s//\1/
16874             q
16875           }
16876           s/.*/./; q'`
16877       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16878       # echo "creating $dirpart/$file"
16879       echo '# dummy' > "$dirpart/$file"
16880     done
16881   done
16882 }
16883  ;;
16884     "libtool":C)
16885
16886     # See if we are running on zsh, and set the options which allow our
16887     # commands through without removal of \ escapes.
16888     if test -n "${ZSH_VERSION+set}" ; then
16889       setopt NO_GLOB_SUBST
16890     fi
16891
16892     cfgfile="${ofile}T"
16893     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16894     $RM "$cfgfile"
16895
16896     cat <<_LT_EOF >> "$cfgfile"
16897 #! $SHELL
16898
16899 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16900 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16901 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16902 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16903 #
16904 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16905 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16906 #   Written by Gordon Matzigkeit, 1996
16907 #
16908 #   This file is part of GNU Libtool.
16909 #
16910 # GNU Libtool is free software; you can redistribute it and/or
16911 # modify it under the terms of the GNU General Public License as
16912 # published by the Free Software Foundation; either version 2 of
16913 # the License, or (at your option) any later version.
16914 #
16915 # As a special exception to the GNU General Public License,
16916 # if you distribute this file as part of a program or library that
16917 # is built using GNU Libtool, you may include this file under the
16918 # same distribution terms that you use for the rest of that program.
16919 #
16920 # GNU Libtool is distributed in the hope that it will be useful,
16921 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16922 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16923 # GNU General Public License for more details.
16924 #
16925 # You should have received a copy of the GNU General Public License
16926 # along with GNU Libtool; see the file COPYING.  If not, a copy
16927 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16928 # obtained by writing to the Free Software Foundation, Inc.,
16929 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16930
16931
16932 # The names of the tagged configurations supported by this script.
16933 available_tags=""
16934
16935 # ### BEGIN LIBTOOL CONFIG
16936
16937 # Which release of libtool.m4 was used?
16938 macro_version=$macro_version
16939 macro_revision=$macro_revision
16940
16941 # Whether or not to build shared libraries.
16942 build_libtool_libs=$enable_shared
16943
16944 # Whether or not to build static libraries.
16945 build_old_libs=$enable_static
16946
16947 # What type of objects to build.
16948 pic_mode=$pic_mode
16949
16950 # Whether or not to optimize for fast installation.
16951 fast_install=$enable_fast_install
16952
16953 # Shell to use when invoking shell scripts.
16954 SHELL=$lt_SHELL
16955
16956 # An echo program that protects backslashes.
16957 ECHO=$lt_ECHO
16958
16959 # The host system.
16960 host_alias=$host_alias
16961 host=$host
16962 host_os=$host_os
16963
16964 # The build system.
16965 build_alias=$build_alias
16966 build=$build
16967 build_os=$build_os
16968
16969 # A sed program that does not truncate output.
16970 SED=$lt_SED
16971
16972 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16973 Xsed="\$SED -e 1s/^X//"
16974
16975 # A grep program that handles long lines.
16976 GREP=$lt_GREP
16977
16978 # An ERE matcher.
16979 EGREP=$lt_EGREP
16980
16981 # A literal string matcher.
16982 FGREP=$lt_FGREP
16983
16984 # A BSD- or MS-compatible name lister.
16985 NM=$lt_NM
16986
16987 # Whether we need soft or hard links.
16988 LN_S=$lt_LN_S
16989
16990 # What is the maximum length of a command?
16991 max_cmd_len=$max_cmd_len
16992
16993 # Object file suffix (normally "o").
16994 objext=$ac_objext
16995
16996 # Executable file suffix (normally "").
16997 exeext=$exeext
16998
16999 # whether the shell understands "unset".
17000 lt_unset=$lt_unset
17001
17002 # turn spaces into newlines.
17003 SP2NL=$lt_lt_SP2NL
17004
17005 # turn newlines into spaces.
17006 NL2SP=$lt_lt_NL2SP
17007
17008 # An object symbol dumper.
17009 OBJDUMP=$lt_OBJDUMP
17010
17011 # Method to check whether dependent libraries are shared objects.
17012 deplibs_check_method=$lt_deplibs_check_method
17013
17014 # Command to use when deplibs_check_method == "file_magic".
17015 file_magic_cmd=$lt_file_magic_cmd
17016
17017 # The archiver.
17018 AR=$lt_AR
17019 AR_FLAGS=$lt_AR_FLAGS
17020
17021 # A symbol stripping program.
17022 STRIP=$lt_STRIP
17023
17024 # Commands used to install an old-style archive.
17025 RANLIB=$lt_RANLIB
17026 old_postinstall_cmds=$lt_old_postinstall_cmds
17027 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17028
17029 # Whether to use a lock for old archive extraction.
17030 lock_old_archive_extraction=$lock_old_archive_extraction
17031
17032 # A C compiler.
17033 LTCC=$lt_CC
17034
17035 # LTCC compiler flags.
17036 LTCFLAGS=$lt_CFLAGS
17037
17038 # Take the output of nm and produce a listing of raw symbols and C names.
17039 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17040
17041 # Transform the output of nm in a proper C declaration.
17042 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17043
17044 # Transform the output of nm in a C name address pair.
17045 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17046
17047 # Transform the output of nm in a C name address pair when lib prefix is needed.
17048 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17049
17050 # The name of the directory that contains temporary libtool files.
17051 objdir=$objdir
17052
17053 # Used to examine libraries when file_magic_cmd begins with "file".
17054 MAGIC_CMD=$MAGIC_CMD
17055
17056 # Must we lock files when doing compilation?
17057 need_locks=$lt_need_locks
17058
17059 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17060 DSYMUTIL=$lt_DSYMUTIL
17061
17062 # Tool to change global to local symbols on Mac OS X.
17063 NMEDIT=$lt_NMEDIT
17064
17065 # Tool to manipulate fat objects and archives on Mac OS X.
17066 LIPO=$lt_LIPO
17067
17068 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17069 OTOOL=$lt_OTOOL
17070
17071 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17072 OTOOL64=$lt_OTOOL64
17073
17074 # Old archive suffix (normally "a").
17075 libext=$libext
17076
17077 # Shared library suffix (normally ".so").
17078 shrext_cmds=$lt_shrext_cmds
17079
17080 # The commands to extract the exported symbol list from a shared archive.
17081 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17082
17083 # Variables whose values should be saved in libtool wrapper scripts and
17084 # restored at link time.
17085 variables_saved_for_relink=$lt_variables_saved_for_relink
17086
17087 # Do we need the "lib" prefix for modules?
17088 need_lib_prefix=$need_lib_prefix
17089
17090 # Do we need a version for libraries?
17091 need_version=$need_version
17092
17093 # Library versioning type.
17094 version_type=$version_type
17095
17096 # Shared library runtime path variable.
17097 runpath_var=$runpath_var
17098
17099 # Shared library path variable.
17100 shlibpath_var=$shlibpath_var
17101
17102 # Is shlibpath searched before the hard-coded library search path?
17103 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17104
17105 # Format of library name prefix.
17106 libname_spec=$lt_libname_spec
17107
17108 # List of archive names.  First name is the real one, the rest are links.
17109 # The last name is the one that the linker finds with -lNAME
17110 library_names_spec=$lt_library_names_spec
17111
17112 # The coded name of the library, if different from the real name.
17113 soname_spec=$lt_soname_spec
17114
17115 # Permission mode override for installation of shared libraries.
17116 install_override_mode=$lt_install_override_mode
17117
17118 # Command to use after installation of a shared archive.
17119 postinstall_cmds=$lt_postinstall_cmds
17120
17121 # Command to use after uninstallation of a shared archive.
17122 postuninstall_cmds=$lt_postuninstall_cmds
17123
17124 # Commands used to finish a libtool library installation in a directory.
17125 finish_cmds=$lt_finish_cmds
17126
17127 # As "finish_cmds", except a single script fragment to be evaled but
17128 # not shown.
17129 finish_eval=$lt_finish_eval
17130
17131 # Whether we should hardcode library paths into libraries.
17132 hardcode_into_libs=$hardcode_into_libs
17133
17134 # Compile-time system search path for libraries.
17135 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17136
17137 # Run-time system search path for libraries.
17138 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17139
17140 # Whether dlopen is supported.
17141 dlopen_support=$enable_dlopen
17142
17143 # Whether dlopen of programs is supported.
17144 dlopen_self=$enable_dlopen_self
17145
17146 # Whether dlopen of statically linked programs is supported.
17147 dlopen_self_static=$enable_dlopen_self_static
17148
17149 # Commands to strip libraries.
17150 old_striplib=$lt_old_striplib
17151 striplib=$lt_striplib
17152
17153
17154 # The linker used to build libraries.
17155 LD=$lt_LD
17156
17157 # How to create reloadable object files.
17158 reload_flag=$lt_reload_flag
17159 reload_cmds=$lt_reload_cmds
17160
17161 # Commands used to build an old-style archive.
17162 old_archive_cmds=$lt_old_archive_cmds
17163
17164 # A language specific compiler.
17165 CC=$lt_compiler
17166
17167 # Is the compiler the GNU compiler?
17168 with_gcc=$GCC
17169
17170 # Compiler flag to turn off builtin functions.
17171 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17172
17173 # How to pass a linker flag through the compiler.
17174 wl=$lt_lt_prog_compiler_wl
17175
17176 # Additional compiler flags for building library objects.
17177 pic_flag=$lt_lt_prog_compiler_pic
17178
17179 # Compiler flag to prevent dynamic linking.
17180 link_static_flag=$lt_lt_prog_compiler_static
17181
17182 # Does compiler simultaneously support -c and -o options?
17183 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17184
17185 # Whether or not to add -lc for building shared libraries.
17186 build_libtool_need_lc=$archive_cmds_need_lc
17187
17188 # Whether or not to disallow shared libs when runtime libs are static.
17189 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17190
17191 # Compiler flag to allow reflexive dlopens.
17192 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17193
17194 # Compiler flag to generate shared objects directly from archives.
17195 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17196
17197 # Whether the compiler copes with passing no objects directly.
17198 compiler_needs_object=$lt_compiler_needs_object
17199
17200 # Create an old-style archive from a shared archive.
17201 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17202
17203 # Create a temporary old-style archive to link instead of a shared archive.
17204 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17205
17206 # Commands used to build a shared archive.
17207 archive_cmds=$lt_archive_cmds
17208 archive_expsym_cmds=$lt_archive_expsym_cmds
17209
17210 # Commands used to build a loadable module if different from building
17211 # a shared archive.
17212 module_cmds=$lt_module_cmds
17213 module_expsym_cmds=$lt_module_expsym_cmds
17214
17215 # Whether we are building with GNU ld or not.
17216 with_gnu_ld=$lt_with_gnu_ld
17217
17218 # Flag that allows shared libraries with undefined symbols to be built.
17219 allow_undefined_flag=$lt_allow_undefined_flag
17220
17221 # Flag that enforces no undefined symbols.
17222 no_undefined_flag=$lt_no_undefined_flag
17223
17224 # Flag to hardcode \$libdir into a binary during linking.
17225 # This must work even if \$libdir does not exist
17226 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17227
17228 # If ld is used when linking, flag to hardcode \$libdir into a binary
17229 # during linking.  This must work even if \$libdir does not exist.
17230 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17231
17232 # Whether we need a single "-rpath" flag with a separated argument.
17233 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17234
17235 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17236 # DIR into the resulting binary.
17237 hardcode_direct=$hardcode_direct
17238
17239 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17240 # DIR into the resulting binary and the resulting library dependency is
17241 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17242 # library is relocated.
17243 hardcode_direct_absolute=$hardcode_direct_absolute
17244
17245 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17246 # into the resulting binary.
17247 hardcode_minus_L=$hardcode_minus_L
17248
17249 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17250 # into the resulting binary.
17251 hardcode_shlibpath_var=$hardcode_shlibpath_var
17252
17253 # Set to "yes" if building a shared library automatically hardcodes DIR
17254 # into the library and all subsequent libraries and executables linked
17255 # against it.
17256 hardcode_automatic=$hardcode_automatic
17257
17258 # Set to yes if linker adds runtime paths of dependent libraries
17259 # to runtime path list.
17260 inherit_rpath=$inherit_rpath
17261
17262 # Whether libtool must link a program against all its dependency libraries.
17263 link_all_deplibs=$link_all_deplibs
17264
17265 # Fix the shell variable \$srcfile for the compiler.
17266 fix_srcfile_path=$lt_fix_srcfile_path
17267
17268 # Set to "yes" if exported symbols are required.
17269 always_export_symbols=$always_export_symbols
17270
17271 # The commands to list exported symbols.
17272 export_symbols_cmds=$lt_export_symbols_cmds
17273
17274 # Symbols that should not be listed in the preloaded symbols.
17275 exclude_expsyms=$lt_exclude_expsyms
17276
17277 # Symbols that must always be exported.
17278 include_expsyms=$lt_include_expsyms
17279
17280 # Commands necessary for linking programs (against libraries) with templates.
17281 prelink_cmds=$lt_prelink_cmds
17282
17283 # Specify filename containing input files.
17284 file_list_spec=$lt_file_list_spec
17285
17286 # How to hardcode a shared library path into an executable.
17287 hardcode_action=$hardcode_action
17288
17289 # ### END LIBTOOL CONFIG
17290
17291 _LT_EOF
17292
17293   case $host_os in
17294   aix3*)
17295     cat <<\_LT_EOF >> "$cfgfile"
17296 # AIX sometimes has problems with the GCC collect2 program.  For some
17297 # reason, if we set the COLLECT_NAMES environment variable, the problems
17298 # vanish in a puff of smoke.
17299 if test "X${COLLECT_NAMES+set}" != Xset; then
17300   COLLECT_NAMES=
17301   export COLLECT_NAMES
17302 fi
17303 _LT_EOF
17304     ;;
17305   esac
17306
17307
17308 ltmain="$ac_aux_dir/ltmain.sh"
17309
17310
17311   # We use sed instead of cat because bash on DJGPP gets confused if
17312   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17313   # text mode, it properly converts lines to CR/LF.  This bash problem
17314   # is reportedly fixed, but why not run on old versions too?
17315   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17316     || (rm -f "$cfgfile"; exit 1)
17317
17318   case $xsi_shell in
17319   yes)
17320     cat << \_LT_EOF >> "$cfgfile"
17321
17322 # func_dirname file append nondir_replacement
17323 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17324 # otherwise set result to NONDIR_REPLACEMENT.
17325 func_dirname ()
17326 {
17327   case ${1} in
17328     */*) func_dirname_result="${1%/*}${2}" ;;
17329     *  ) func_dirname_result="${3}" ;;
17330   esac
17331 }
17332
17333 # func_basename file
17334 func_basename ()
17335 {
17336   func_basename_result="${1##*/}"
17337 }
17338
17339 # func_dirname_and_basename file append nondir_replacement
17340 # perform func_basename and func_dirname in a single function
17341 # call:
17342 #   dirname:  Compute the dirname of FILE.  If nonempty,
17343 #             add APPEND to the result, otherwise set result
17344 #             to NONDIR_REPLACEMENT.
17345 #             value returned in "$func_dirname_result"
17346 #   basename: Compute filename of FILE.
17347 #             value retuned in "$func_basename_result"
17348 # Implementation must be kept synchronized with func_dirname
17349 # and func_basename. For efficiency, we do not delegate to
17350 # those functions but instead duplicate the functionality here.
17351 func_dirname_and_basename ()
17352 {
17353   case ${1} in
17354     */*) func_dirname_result="${1%/*}${2}" ;;
17355     *  ) func_dirname_result="${3}" ;;
17356   esac
17357   func_basename_result="${1##*/}"
17358 }
17359
17360 # func_stripname prefix suffix name
17361 # strip PREFIX and SUFFIX off of NAME.
17362 # PREFIX and SUFFIX must not contain globbing or regex special
17363 # characters, hashes, percent signs, but SUFFIX may contain a leading
17364 # dot (in which case that matches only a dot).
17365 func_stripname ()
17366 {
17367   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17368   # positional parameters, so assign one to ordinary parameter first.
17369   func_stripname_result=${3}
17370   func_stripname_result=${func_stripname_result#"${1}"}
17371   func_stripname_result=${func_stripname_result%"${2}"}
17372 }
17373
17374 # func_opt_split
17375 func_opt_split ()
17376 {
17377   func_opt_split_opt=${1%%=*}
17378   func_opt_split_arg=${1#*=}
17379 }
17380
17381 # func_lo2o object
17382 func_lo2o ()
17383 {
17384   case ${1} in
17385     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17386     *)    func_lo2o_result=${1} ;;
17387   esac
17388 }
17389
17390 # func_xform libobj-or-source
17391 func_xform ()
17392 {
17393   func_xform_result=${1%.*}.lo
17394 }
17395
17396 # func_arith arithmetic-term...
17397 func_arith ()
17398 {
17399   func_arith_result=$(( $* ))
17400 }
17401
17402 # func_len string
17403 # STRING may not start with a hyphen.
17404 func_len ()
17405 {
17406   func_len_result=${#1}
17407 }
17408
17409 _LT_EOF
17410     ;;
17411   *) # Bourne compatible functions.
17412     cat << \_LT_EOF >> "$cfgfile"
17413
17414 # func_dirname file append nondir_replacement
17415 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17416 # otherwise set result to NONDIR_REPLACEMENT.
17417 func_dirname ()
17418 {
17419   # Extract subdirectory from the argument.
17420   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
17421   if test "X$func_dirname_result" = "X${1}"; then
17422     func_dirname_result="${3}"
17423   else
17424     func_dirname_result="$func_dirname_result${2}"
17425   fi
17426 }
17427
17428 # func_basename file
17429 func_basename ()
17430 {
17431   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
17432 }
17433
17434
17435 # func_stripname prefix suffix name
17436 # strip PREFIX and SUFFIX off of NAME.
17437 # PREFIX and SUFFIX must not contain globbing or regex special
17438 # characters, hashes, percent signs, but SUFFIX may contain a leading
17439 # dot (in which case that matches only a dot).
17440 # func_strip_suffix prefix name
17441 func_stripname ()
17442 {
17443   case ${2} in
17444     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17445     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17446   esac
17447 }
17448
17449 # sed scripts:
17450 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17451 my_sed_long_arg='1s/^-[^=]*=//'
17452
17453 # func_opt_split
17454 func_opt_split ()
17455 {
17456   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17457   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17458 }
17459
17460 # func_lo2o object
17461 func_lo2o ()
17462 {
17463   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
17464 }
17465
17466 # func_xform libobj-or-source
17467 func_xform ()
17468 {
17469   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17470 }
17471
17472 # func_arith arithmetic-term...
17473 func_arith ()
17474 {
17475   func_arith_result=`expr "$@"`
17476 }
17477
17478 # func_len string
17479 # STRING may not start with a hyphen.
17480 func_len ()
17481 {
17482   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17483 }
17484
17485 _LT_EOF
17486 esac
17487
17488 case $lt_shell_append in
17489   yes)
17490     cat << \_LT_EOF >> "$cfgfile"
17491
17492 # func_append var value
17493 # Append VALUE to the end of shell variable VAR.
17494 func_append ()
17495 {
17496   eval "$1+=\$2"
17497 }
17498 _LT_EOF
17499     ;;
17500   *)
17501     cat << \_LT_EOF >> "$cfgfile"
17502
17503 # func_append var value
17504 # Append VALUE to the end of shell variable VAR.
17505 func_append ()
17506 {
17507   eval "$1=\$$1\$2"
17508 }
17509
17510 _LT_EOF
17511     ;;
17512   esac
17513
17514
17515   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17516     || (rm -f "$cfgfile"; exit 1)
17517
17518   mv -f "$cfgfile" "$ofile" ||
17519     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17520   chmod +x "$ofile"
17521
17522  ;;
17523     "default-1":C)
17524     for ac_file in $CONFIG_FILES; do
17525       # Support "outfile[:infile[:infile...]]"
17526       case "$ac_file" in
17527         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17528       esac
17529       # PO directories have a Makefile.in generated from Makefile.in.in.
17530       case "$ac_file" in */Makefile.in)
17531         # Adjust a relative srcdir.
17532         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17533         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
17534         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17535         # In autoconf-2.13 it is called $ac_given_srcdir.
17536         # In autoconf-2.50 it is called $srcdir.
17537         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
17538         case "$ac_given_srcdir" in
17539           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
17540           /*) top_srcdir="$ac_given_srcdir" ;;
17541           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
17542         esac
17543         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17544           rm -f "$ac_dir/POTFILES"
17545           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
17546           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17547           POMAKEFILEDEPS="POTFILES.in"
17548           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17549           # on $ac_dir but don't depend on user-specified configuration
17550           # parameters.
17551           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17552             # The LINGUAS file contains the set of available languages.
17553             if test -n "$OBSOLETE_ALL_LINGUAS"; then
17554               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
17555             fi
17556             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17557             # Hide the ALL_LINGUAS assigment from automake.
17558             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17559             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
17560           else
17561             # The set of available languages was given in configure.ac.
17562             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17563           fi
17564           case "$ac_given_srcdir" in
17565             .) srcdirpre= ;;
17566             *) srcdirpre='$(srcdir)/' ;;
17567           esac
17568           POFILES=
17569           GMOFILES=
17570           UPDATEPOFILES=
17571           DUMMYPOFILES=
17572           for lang in $ALL_LINGUAS; do
17573             POFILES="$POFILES $srcdirpre$lang.po"
17574             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
17575             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
17576             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
17577           done
17578           # CATALOGS depends on both $ac_dir and the user's LINGUAS
17579           # environment variable.
17580           INST_LINGUAS=
17581           if test -n "$ALL_LINGUAS"; then
17582             for presentlang in $ALL_LINGUAS; do
17583               useit=no
17584               if test "%UNSET%" != "$LINGUAS"; then
17585                 desiredlanguages="$LINGUAS"
17586               else
17587                 desiredlanguages="$ALL_LINGUAS"
17588               fi
17589               for desiredlang in $desiredlanguages; do
17590                 # Use the presentlang catalog if desiredlang is
17591                 #   a. equal to presentlang, or
17592                 #   b. a variant of presentlang (because in this case,
17593                 #      presentlang can be used as a fallback for messages
17594                 #      which are not translated in the desiredlang catalog).
17595                 case "$desiredlang" in
17596                   "$presentlang"*) useit=yes;;
17597                 esac
17598               done
17599               if test $useit = yes; then
17600                 INST_LINGUAS="$INST_LINGUAS $presentlang"
17601               fi
17602             done
17603           fi
17604           CATALOGS=
17605           if test -n "$INST_LINGUAS"; then
17606             for lang in $INST_LINGUAS; do
17607               CATALOGS="$CATALOGS $lang.gmo"
17608             done
17609           fi
17610           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
17611           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"
17612           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
17613             if test -f "$f"; then
17614               case "$f" in
17615                 *.orig | *.bak | *~) ;;
17616                 *) cat "$f" >> "$ac_dir/Makefile" ;;
17617               esac
17618             fi
17619           done
17620         fi
17621         ;;
17622       esac
17623     done ;;
17624     "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
17625  echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
17626  echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
17627  echo '#include "te-'"${te_file}"'.h"' > targ-env.h
17628  echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
17629  if test "x$cgen_cpu_prefix" != x ; then
17630    echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
17631  fi ;;
17632
17633   esac
17634 done # for ac_tag
17635
17636
17637 as_fn_exit 0
17638 _ACEOF
17639 ac_clean_files=$ac_clean_files_save
17640
17641 test $ac_write_fail = 0 ||
17642   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17643
17644
17645 # configure is writing to config.log, and then calls config.status.
17646 # config.status does its own redirection, appending to config.log.
17647 # Unfortunately, on DOS this fails, as config.log is still kept open
17648 # by configure, so config.status won't be able to write to it; its
17649 # output is simply discarded.  So we exec the FD to /dev/null,
17650 # effectively closing config.log, so it can be properly (re)opened and
17651 # appended to by config.status.  When coming back to configure, we
17652 # need to make the FD available again.
17653 if test "$no_create" != yes; then
17654   ac_cs_success=:
17655   ac_config_status_args=
17656   test "$silent" = yes &&
17657     ac_config_status_args="$ac_config_status_args --quiet"
17658   exec 5>/dev/null
17659   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17660   exec 5>>config.log
17661   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17662   # would make configure fail if this is the last instruction.
17663   $ac_cs_success || as_fn_exit 1
17664 fi
17665 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17666   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17667 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17668 fi
17669