Upgrade Boehm GC to 7.2alpha4.
[cacao.git] / src / mm / boehm-gc / libatomic_ops / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libatomic_ops 1.3alpha1.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
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 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173   if (eval "$as_required") 2>/dev/null; then :
174   as_have_required=yes
175 else
176   as_have_required=no
177 fi
178   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179
180 else
181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 as_found=false
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184 do
185   IFS=$as_save_IFS
186   test -z "$as_dir" && as_dir=.
187   as_found=:
188   case $as_dir in #(
189          /*)
190            for as_base in sh bash ksh sh5; do
191              # Try only shells that exist, to save several forks.
192              as_shell=$as_dir/$as_base
193              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195   CONFIG_SHELL=$as_shell as_have_required=yes
196                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
197   break 2
198 fi
199 fi
200            done;;
201        esac
202   as_found=false
203 done
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206   CONFIG_SHELL=$SHELL as_have_required=yes
207 fi; }
208 IFS=$as_save_IFS
209
210
211       if test "x$CONFIG_SHELL" != x; then :
212   # We cannot yet assume a decent shell, so we have to provide a
213         # neutralization value for shells without unset; and this also
214         # works around shells that cannot unset nonexistent variables.
215         BASH_ENV=/dev/null
216         ENV=/dev/null
217         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218         export CONFIG_SHELL
219         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
220 fi
221
222     if test x$as_have_required = xno; then :
223   $as_echo "$0: This script requires a shell more modern than all"
224   $as_echo "$0: the shells that I found on your system."
225   if test x${ZSH_VERSION+set} = xset ; then
226     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228   else
229     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
233   fi
234   exit 1
235 fi
236 fi
237 fi
238 SHELL=${CONFIG_SHELL-/bin/sh}
239 export SHELL
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
243
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
247 # as_fn_unset VAR
248 # ---------------
249 # Portably unset VAR.
250 as_fn_unset ()
251 {
252   { eval $1=; unset $1;}
253 }
254 as_unset=as_fn_unset
255
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
259 as_fn_set_status ()
260 {
261   return $1
262 } # as_fn_set_status
263
264 # as_fn_exit STATUS
265 # -----------------
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267 as_fn_exit ()
268 {
269   set +e
270   as_fn_set_status $1
271   exit $1
272 } # as_fn_exit
273
274 # as_fn_mkdir_p
275 # -------------
276 # Create "$as_dir" as a directory, including parents if necessary.
277 as_fn_mkdir_p ()
278 {
279
280   case $as_dir in #(
281   -*) as_dir=./$as_dir;;
282   esac
283   test -d "$as_dir" || eval $as_mkdir_p || {
284     as_dirs=
285     while :; do
286       case $as_dir in #(
287       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
288       *) as_qdir=$as_dir;;
289       esac
290       as_dirs="'$as_qdir' $as_dirs"
291       as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293          X"$as_dir" : 'X\(//\)[^/]' \| \
294          X"$as_dir" : 'X\(//\)$' \| \
295          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
298             s//\1/
299             q
300           }
301           /^X\(\/\/\)[^/].*/{
302             s//\1/
303             q
304           }
305           /^X\(\/\/\)$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\).*/{
310             s//\1/
311             q
312           }
313           s/.*/./; q'`
314       test -d "$as_dir" && break
315     done
316     test -z "$as_dirs" || eval "mkdir $as_dirs"
317   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
318
319
320 } # as_fn_mkdir_p
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
326 # implementations.
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328   eval 'as_fn_append ()
329   {
330     eval $1+=\$2
331   }'
332 else
333   as_fn_append ()
334   {
335     eval $1=\$$1\$2
336   }
337 fi # as_fn_append
338
339 # as_fn_arith ARG...
340 # ------------------
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345   eval 'as_fn_arith ()
346   {
347     as_val=$(( $* ))
348   }'
349 else
350   as_fn_arith ()
351   {
352     as_val=`expr "$@" || test $? -eq 1`
353   }
354 fi # as_fn_arith
355
356
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
362 as_fn_error ()
363 {
364   as_status=$?; test $as_status -eq 0 && as_status=1
365   if test "$3"; then
366     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368   fi
369   $as_echo "$as_me: error: $1" >&2
370   as_fn_exit $as_status
371 } # as_fn_error
372
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374    test "X`expr 00001 : '.*\(...\)'`" = X001; then
375   as_expr=expr
376 else
377   as_expr=false
378 fi
379
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381   as_basename=basename
382 else
383   as_basename=false
384 fi
385
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387   as_dirname=dirname
388 else
389   as_dirname=false
390 fi
391
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394          X"$0" : 'X\(//\)$' \| \
395          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 $as_echo X/"$0" |
397     sed '/^.*\/\([^/][^/]*\)\/*$/{
398             s//\1/
399             q
400           }
401           /^X\/\(\/\/\)$/{
402             s//\1/
403             q
404           }
405           /^X\/\(\/\).*/{
406             s//\1/
407             q
408           }
409           s/.*/./; q'`
410
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
417
418
419   as_lineno_1=$LINENO as_lineno_1a=$LINENO
420   as_lineno_2=$LINENO as_lineno_2a=$LINENO
421   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
424   sed -n '
425     p
426     /[$]LINENO/=
427   ' <$as_myself |
428     sed '
429       s/[$]LINENO.*/&-/
430       t lineno
431       b
432       :lineno
433       N
434       :loop
435       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
436       t loop
437       s/-\n.*//
438     ' >$as_me.lineno &&
439   chmod +x "$as_me.lineno" ||
440     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441
442   # Don't try to exec as it changes $[0], causing all sort of problems
443   # (the dirname of $[0] is not the place where we might find the
444   # original and so on.  Autoconf is especially sensitive to this).
445   . "./$as_me.lineno"
446   # Exit status is that of the last command.
447   exit
448 }
449
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
452 -n*)
453   case `echo 'xy\c'` in
454   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
455   xy)  ECHO_C='\c';;
456   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
457        ECHO_T=' ';;
458   esac;;
459 *)
460   ECHO_N='-n';;
461 esac
462
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465   rm -f conf$$.dir/conf$$.file
466 else
467   rm -f conf$$.dir
468   mkdir conf$$.dir 2>/dev/null
469 fi
470 if (echo >conf$$.file) 2>/dev/null; then
471   if ln -s conf$$.file conf$$ 2>/dev/null; then
472     as_ln_s='ln -s'
473     # ... but there are two gotchas:
474     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476     # In both cases, we have to default to `cp -p'.
477     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478       as_ln_s='cp -p'
479   elif ln conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s=ln
481   else
482     as_ln_s='cp -p'
483   fi
484 else
485   as_ln_s='cp -p'
486 fi
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
489
490 if mkdir -p . 2>/dev/null; then
491   as_mkdir_p='mkdir -p "$as_dir"'
492 else
493   test -d ./-p && rmdir ./-p
494   as_mkdir_p=false
495 fi
496
497 if test -x / >/dev/null 2>&1; then
498   as_test_x='test -x'
499 else
500   if ls -dL / >/dev/null 2>&1; then
501     as_ls_L_option=L
502   else
503     as_ls_L_option=
504   fi
505   as_test_x='
506     eval sh -c '\''
507       if test -d "$1"; then
508         test -d "$1/.";
509       else
510         case $1 in #(
511         -*)set "./$1";;
512         esac;
513         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514         ???[sx]*):;;*)false;;esac;fi
515     '\'' sh
516   '
517 fi
518 as_executable_p=$as_test_x
519
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
525
526
527 exec 7<&0 </dev/null 6>&1
528
529 # Name of the host.
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
533
534 #
535 # Initializations.
536 #
537 ac_default_prefix=/usr/local
538 ac_clean_files=
539 ac_config_libobj_dir=.
540 LIBOBJS=
541 cross_compiling=no
542 subdirs=
543 MFLAGS=
544 MAKEFLAGS=
545
546 # Identity of this package.
547 PACKAGE_NAME='libatomic_ops'
548 PACKAGE_TARNAME='libatomic_ops'
549 PACKAGE_VERSION='1.3alpha1'
550 PACKAGE_STRING='libatomic_ops 1.3alpha1'
551 PACKAGE_BUGREPORT=''
552 PACKAGE_URL=''
553
554 ac_unique_file="src/atomic_ops.c"
555 # Factoring default headers for most tests.
556 ac_includes_default="\
557 #include <stdio.h>
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
560 #endif
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
563 #endif
564 #ifdef STDC_HEADERS
565 # include <stdlib.h>
566 # include <stddef.h>
567 #else
568 # ifdef HAVE_STDLIB_H
569 #  include <stdlib.h>
570 # endif
571 #endif
572 #ifdef HAVE_STRING_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
574 #  include <memory.h>
575 # endif
576 # include <string.h>
577 #endif
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
580 #endif
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
583 #endif
584 #ifdef HAVE_STDINT_H
585 # include <stdint.h>
586 #endif
587 #ifdef HAVE_UNISTD_H
588 # include <unistd.h>
589 #endif"
590
591 ac_subst_vars='LTLIBOBJS
592 LIBOBJS
593 NEED_ASM_FALSE
594 NEED_ASM_TRUE
595 PICFLAG
596 EGREP
597 GREP
598 CPP
599 am__fastdepCCAS_FALSE
600 am__fastdepCCAS_TRUE
601 CCASDEPMODE
602 CCASFLAGS
603 CCAS
604 am__fastdepCC_FALSE
605 am__fastdepCC_TRUE
606 CCDEPMODE
607 AMDEPBACKSLASH
608 AMDEP_FALSE
609 AMDEP_TRUE
610 am__quote
611 am__include
612 DEPDIR
613 OBJEXT
614 EXEEXT
615 ac_ct_CC
616 CPPFLAGS
617 LDFLAGS
618 CFLAGS
619 CC
620 RANLIB
621 am__untar
622 am__tar
623 AMTAR
624 am__leading_dot
625 SET_MAKE
626 AWK
627 mkdir_p
628 MKDIR_P
629 INSTALL_STRIP_PROGRAM
630 STRIP
631 install_sh
632 MAKEINFO
633 AUTOHEADER
634 AUTOMAKE
635 AUTOCONF
636 ACLOCAL
637 VERSION
638 PACKAGE
639 CYGPATH_W
640 am__isrc
641 INSTALL_DATA
642 INSTALL_SCRIPT
643 INSTALL_PROGRAM
644 target_os
645 target_vendor
646 target_cpu
647 target
648 host_os
649 host_vendor
650 host_cpu
651 host
652 build_os
653 build_vendor
654 build_cpu
655 build
656 target_alias
657 host_alias
658 build_alias
659 LIBS
660 ECHO_T
661 ECHO_N
662 ECHO_C
663 DEFS
664 mandir
665 localedir
666 libdir
667 psdir
668 pdfdir
669 dvidir
670 htmldir
671 infodir
672 docdir
673 oldincludedir
674 includedir
675 localstatedir
676 sharedstatedir
677 sysconfdir
678 datadir
679 datarootdir
680 libexecdir
681 sbindir
682 bindir
683 program_transform_name
684 prefix
685 exec_prefix
686 PACKAGE_URL
687 PACKAGE_BUGREPORT
688 PACKAGE_STRING
689 PACKAGE_VERSION
690 PACKAGE_TARNAME
691 PACKAGE_NAME
692 PATH_SEPARATOR
693 SHELL'
694 ac_subst_files=''
695 ac_user_opts='
696 enable_option_checking
697 enable_dependency_tracking
698 '
699       ac_precious_vars='build_alias
700 host_alias
701 target_alias
702 CC
703 CFLAGS
704 LDFLAGS
705 LIBS
706 CPPFLAGS
707 CCAS
708 CCASFLAGS
709 CPP'
710
711
712 # Initialize some variables set by options.
713 ac_init_help=
714 ac_init_version=false
715 ac_unrecognized_opts=
716 ac_unrecognized_sep=
717 # The variables have the same names as the options, with
718 # dashes changed to underlines.
719 cache_file=/dev/null
720 exec_prefix=NONE
721 no_create=
722 no_recursion=
723 prefix=NONE
724 program_prefix=NONE
725 program_suffix=NONE
726 program_transform_name=s,x,x,
727 silent=
728 site=
729 srcdir=
730 verbose=
731 x_includes=NONE
732 x_libraries=NONE
733
734 # Installation directory options.
735 # These are left unexpanded so users can "make install exec_prefix=/foo"
736 # and all the variables that are supposed to be based on exec_prefix
737 # by default will actually change.
738 # Use braces instead of parens because sh, perl, etc. also accept them.
739 # (The list follows the same order as the GNU Coding Standards.)
740 bindir='${exec_prefix}/bin'
741 sbindir='${exec_prefix}/sbin'
742 libexecdir='${exec_prefix}/libexec'
743 datarootdir='${prefix}/share'
744 datadir='${datarootdir}'
745 sysconfdir='${prefix}/etc'
746 sharedstatedir='${prefix}/com'
747 localstatedir='${prefix}/var'
748 includedir='${prefix}/include'
749 oldincludedir='/usr/include'
750 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
751 infodir='${datarootdir}/info'
752 htmldir='${docdir}'
753 dvidir='${docdir}'
754 pdfdir='${docdir}'
755 psdir='${docdir}'
756 libdir='${exec_prefix}/lib'
757 localedir='${datarootdir}/locale'
758 mandir='${datarootdir}/man'
759
760 ac_prev=
761 ac_dashdash=
762 for ac_option
763 do
764   # If the previous option needs an argument, assign it.
765   if test -n "$ac_prev"; then
766     eval $ac_prev=\$ac_option
767     ac_prev=
768     continue
769   fi
770
771   case $ac_option in
772   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773   *)    ac_optarg=yes ;;
774   esac
775
776   # Accept the important Cygnus configure options, so we can diagnose typos.
777
778   case $ac_dashdash$ac_option in
779   --)
780     ac_dashdash=yes ;;
781
782   -bindir | --bindir | --bindi | --bind | --bin | --bi)
783     ac_prev=bindir ;;
784   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
785     bindir=$ac_optarg ;;
786
787   -build | --build | --buil | --bui | --bu)
788     ac_prev=build_alias ;;
789   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
790     build_alias=$ac_optarg ;;
791
792   -cache-file | --cache-file | --cache-fil | --cache-fi \
793   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
794     ac_prev=cache_file ;;
795   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
796   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
797     cache_file=$ac_optarg ;;
798
799   --config-cache | -C)
800     cache_file=config.cache ;;
801
802   -datadir | --datadir | --datadi | --datad)
803     ac_prev=datadir ;;
804   -datadir=* | --datadir=* | --datadi=* | --datad=*)
805     datadir=$ac_optarg ;;
806
807   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
808   | --dataroo | --dataro | --datar)
809     ac_prev=datarootdir ;;
810   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
811   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
812     datarootdir=$ac_optarg ;;
813
814   -disable-* | --disable-*)
815     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
816     # Reject names that are not valid shell variable names.
817     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
818       as_fn_error "invalid feature name: $ac_useropt"
819     ac_useropt_orig=$ac_useropt
820     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
821     case $ac_user_opts in
822       *"
823 "enable_$ac_useropt"
824 "*) ;;
825       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
826          ac_unrecognized_sep=', ';;
827     esac
828     eval enable_$ac_useropt=no ;;
829
830   -docdir | --docdir | --docdi | --doc | --do)
831     ac_prev=docdir ;;
832   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
833     docdir=$ac_optarg ;;
834
835   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
836     ac_prev=dvidir ;;
837   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
838     dvidir=$ac_optarg ;;
839
840   -enable-* | --enable-*)
841     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
842     # Reject names that are not valid shell variable names.
843     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
844       as_fn_error "invalid feature name: $ac_useropt"
845     ac_useropt_orig=$ac_useropt
846     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
847     case $ac_user_opts in
848       *"
849 "enable_$ac_useropt"
850 "*) ;;
851       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
852          ac_unrecognized_sep=', ';;
853     esac
854     eval enable_$ac_useropt=\$ac_optarg ;;
855
856   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
857   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
858   | --exec | --exe | --ex)
859     ac_prev=exec_prefix ;;
860   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
861   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
862   | --exec=* | --exe=* | --ex=*)
863     exec_prefix=$ac_optarg ;;
864
865   -gas | --gas | --ga | --g)
866     # Obsolete; use --with-gas.
867     with_gas=yes ;;
868
869   -help | --help | --hel | --he | -h)
870     ac_init_help=long ;;
871   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
872     ac_init_help=recursive ;;
873   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
874     ac_init_help=short ;;
875
876   -host | --host | --hos | --ho)
877     ac_prev=host_alias ;;
878   -host=* | --host=* | --hos=* | --ho=*)
879     host_alias=$ac_optarg ;;
880
881   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
882     ac_prev=htmldir ;;
883   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
884   | --ht=*)
885     htmldir=$ac_optarg ;;
886
887   -includedir | --includedir | --includedi | --included | --include \
888   | --includ | --inclu | --incl | --inc)
889     ac_prev=includedir ;;
890   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
891   | --includ=* | --inclu=* | --incl=* | --inc=*)
892     includedir=$ac_optarg ;;
893
894   -infodir | --infodir | --infodi | --infod | --info | --inf)
895     ac_prev=infodir ;;
896   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
897     infodir=$ac_optarg ;;
898
899   -libdir | --libdir | --libdi | --libd)
900     ac_prev=libdir ;;
901   -libdir=* | --libdir=* | --libdi=* | --libd=*)
902     libdir=$ac_optarg ;;
903
904   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
905   | --libexe | --libex | --libe)
906     ac_prev=libexecdir ;;
907   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
908   | --libexe=* | --libex=* | --libe=*)
909     libexecdir=$ac_optarg ;;
910
911   -localedir | --localedir | --localedi | --localed | --locale)
912     ac_prev=localedir ;;
913   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
914     localedir=$ac_optarg ;;
915
916   -localstatedir | --localstatedir | --localstatedi | --localstated \
917   | --localstate | --localstat | --localsta | --localst | --locals)
918     ac_prev=localstatedir ;;
919   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
920   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
921     localstatedir=$ac_optarg ;;
922
923   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
924     ac_prev=mandir ;;
925   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
926     mandir=$ac_optarg ;;
927
928   -nfp | --nfp | --nf)
929     # Obsolete; use --without-fp.
930     with_fp=no ;;
931
932   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
933   | --no-cr | --no-c | -n)
934     no_create=yes ;;
935
936   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
937   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
938     no_recursion=yes ;;
939
940   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
941   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
942   | --oldin | --oldi | --old | --ol | --o)
943     ac_prev=oldincludedir ;;
944   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
945   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
946   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
947     oldincludedir=$ac_optarg ;;
948
949   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
950     ac_prev=prefix ;;
951   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
952     prefix=$ac_optarg ;;
953
954   -program-prefix | --program-prefix | --program-prefi | --program-pref \
955   | --program-pre | --program-pr | --program-p)
956     ac_prev=program_prefix ;;
957   -program-prefix=* | --program-prefix=* | --program-prefi=* \
958   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
959     program_prefix=$ac_optarg ;;
960
961   -program-suffix | --program-suffix | --program-suffi | --program-suff \
962   | --program-suf | --program-su | --program-s)
963     ac_prev=program_suffix ;;
964   -program-suffix=* | --program-suffix=* | --program-suffi=* \
965   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
966     program_suffix=$ac_optarg ;;
967
968   -program-transform-name | --program-transform-name \
969   | --program-transform-nam | --program-transform-na \
970   | --program-transform-n | --program-transform- \
971   | --program-transform | --program-transfor \
972   | --program-transfo | --program-transf \
973   | --program-trans | --program-tran \
974   | --progr-tra | --program-tr | --program-t)
975     ac_prev=program_transform_name ;;
976   -program-transform-name=* | --program-transform-name=* \
977   | --program-transform-nam=* | --program-transform-na=* \
978   | --program-transform-n=* | --program-transform-=* \
979   | --program-transform=* | --program-transfor=* \
980   | --program-transfo=* | --program-transf=* \
981   | --program-trans=* | --program-tran=* \
982   | --progr-tra=* | --program-tr=* | --program-t=*)
983     program_transform_name=$ac_optarg ;;
984
985   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
986     ac_prev=pdfdir ;;
987   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
988     pdfdir=$ac_optarg ;;
989
990   -psdir | --psdir | --psdi | --psd | --ps)
991     ac_prev=psdir ;;
992   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
993     psdir=$ac_optarg ;;
994
995   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
996   | -silent | --silent | --silen | --sile | --sil)
997     silent=yes ;;
998
999   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1000     ac_prev=sbindir ;;
1001   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1002   | --sbi=* | --sb=*)
1003     sbindir=$ac_optarg ;;
1004
1005   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1006   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1007   | --sharedst | --shareds | --shared | --share | --shar \
1008   | --sha | --sh)
1009     ac_prev=sharedstatedir ;;
1010   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1011   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1012   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1013   | --sha=* | --sh=*)
1014     sharedstatedir=$ac_optarg ;;
1015
1016   -site | --site | --sit)
1017     ac_prev=site ;;
1018   -site=* | --site=* | --sit=*)
1019     site=$ac_optarg ;;
1020
1021   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1022     ac_prev=srcdir ;;
1023   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1024     srcdir=$ac_optarg ;;
1025
1026   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1027   | --syscon | --sysco | --sysc | --sys | --sy)
1028     ac_prev=sysconfdir ;;
1029   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1030   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1031     sysconfdir=$ac_optarg ;;
1032
1033   -target | --target | --targe | --targ | --tar | --ta | --t)
1034     ac_prev=target_alias ;;
1035   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1036     target_alias=$ac_optarg ;;
1037
1038   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1039     verbose=yes ;;
1040
1041   -version | --version | --versio | --versi | --vers | -V)
1042     ac_init_version=: ;;
1043
1044   -with-* | --with-*)
1045     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1046     # Reject names that are not valid shell variable names.
1047     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048       as_fn_error "invalid package name: $ac_useropt"
1049     ac_useropt_orig=$ac_useropt
1050     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051     case $ac_user_opts in
1052       *"
1053 "with_$ac_useropt"
1054 "*) ;;
1055       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1056          ac_unrecognized_sep=', ';;
1057     esac
1058     eval with_$ac_useropt=\$ac_optarg ;;
1059
1060   -without-* | --without-*)
1061     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1062     # Reject names that are not valid shell variable names.
1063     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064       as_fn_error "invalid package name: $ac_useropt"
1065     ac_useropt_orig=$ac_useropt
1066     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067     case $ac_user_opts in
1068       *"
1069 "with_$ac_useropt"
1070 "*) ;;
1071       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1072          ac_unrecognized_sep=', ';;
1073     esac
1074     eval with_$ac_useropt=no ;;
1075
1076   --x)
1077     # Obsolete; use --with-x.
1078     with_x=yes ;;
1079
1080   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1081   | --x-incl | --x-inc | --x-in | --x-i)
1082     ac_prev=x_includes ;;
1083   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1084   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1085     x_includes=$ac_optarg ;;
1086
1087   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1088   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1089     ac_prev=x_libraries ;;
1090   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1091   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1092     x_libraries=$ac_optarg ;;
1093
1094   -*) as_fn_error "unrecognized option: \`$ac_option'
1095 Try \`$0 --help' for more information."
1096     ;;
1097
1098   *=*)
1099     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1100     # Reject names that are not valid shell variable names.
1101     case $ac_envvar in #(
1102       '' | [0-9]* | *[!_$as_cr_alnum]* )
1103       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1104     esac
1105     eval $ac_envvar=\$ac_optarg
1106     export $ac_envvar ;;
1107
1108   *)
1109     # FIXME: should be removed in autoconf 3.0.
1110     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1111     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1113     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1114     ;;
1115
1116   esac
1117 done
1118
1119 if test -n "$ac_prev"; then
1120   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1121   as_fn_error "missing argument to $ac_option"
1122 fi
1123
1124 if test -n "$ac_unrecognized_opts"; then
1125   case $enable_option_checking in
1126     no) ;;
1127     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1128     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1129   esac
1130 fi
1131
1132 # Check all directory arguments for consistency.
1133 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1134                 datadir sysconfdir sharedstatedir localstatedir includedir \
1135                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1136                 libdir localedir mandir
1137 do
1138   eval ac_val=\$$ac_var
1139   # Remove trailing slashes.
1140   case $ac_val in
1141     */ )
1142       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1143       eval $ac_var=\$ac_val;;
1144   esac
1145   # Be sure to have absolute directory names.
1146   case $ac_val in
1147     [\\/$]* | ?:[\\/]* )  continue;;
1148     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1149   esac
1150   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1151 done
1152
1153 # There might be people who depend on the old broken behavior: `$host'
1154 # used to hold the argument of --host etc.
1155 # FIXME: To remove some day.
1156 build=$build_alias
1157 host=$host_alias
1158 target=$target_alias
1159
1160 # FIXME: To remove some day.
1161 if test "x$host_alias" != x; then
1162   if test "x$build_alias" = x; then
1163     cross_compiling=maybe
1164     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1165     If a cross compiler is detected then cross compile mode will be used." >&2
1166   elif test "x$build_alias" != "x$host_alias"; then
1167     cross_compiling=yes
1168   fi
1169 fi
1170
1171 ac_tool_prefix=
1172 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1173
1174 test "$silent" = yes && exec 6>/dev/null
1175
1176
1177 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1178 ac_ls_di=`ls -di .` &&
1179 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1180   as_fn_error "working directory cannot be determined"
1181 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1182   as_fn_error "pwd does not report name of working directory"
1183
1184
1185 # Find the source files, if location was not specified.
1186 if test -z "$srcdir"; then
1187   ac_srcdir_defaulted=yes
1188   # Try the directory containing this script, then the parent directory.
1189   ac_confdir=`$as_dirname -- "$as_myself" ||
1190 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1191          X"$as_myself" : 'X\(//\)[^/]' \| \
1192          X"$as_myself" : 'X\(//\)$' \| \
1193          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1194 $as_echo X"$as_myself" |
1195     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1196             s//\1/
1197             q
1198           }
1199           /^X\(\/\/\)[^/].*/{
1200             s//\1/
1201             q
1202           }
1203           /^X\(\/\/\)$/{
1204             s//\1/
1205             q
1206           }
1207           /^X\(\/\).*/{
1208             s//\1/
1209             q
1210           }
1211           s/.*/./; q'`
1212   srcdir=$ac_confdir
1213   if test ! -r "$srcdir/$ac_unique_file"; then
1214     srcdir=..
1215   fi
1216 else
1217   ac_srcdir_defaulted=no
1218 fi
1219 if test ! -r "$srcdir/$ac_unique_file"; then
1220   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1221   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1222 fi
1223 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1224 ac_abs_confdir=`(
1225         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1226         pwd)`
1227 # When building in place, set srcdir=.
1228 if test "$ac_abs_confdir" = "$ac_pwd"; then
1229   srcdir=.
1230 fi
1231 # Remove unnecessary trailing slashes from srcdir.
1232 # Double slashes in file names in object file debugging info
1233 # mess up M-x gdb in Emacs.
1234 case $srcdir in
1235 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1236 esac
1237 for ac_var in $ac_precious_vars; do
1238   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1239   eval ac_env_${ac_var}_value=\$${ac_var}
1240   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1241   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1242 done
1243
1244 #
1245 # Report the --help message.
1246 #
1247 if test "$ac_init_help" = "long"; then
1248   # Omit some internal or obsolete options to make the list less imposing.
1249   # This message is too long to be a string in the A/UX 3.1 sh.
1250   cat <<_ACEOF
1251 \`configure' configures libatomic_ops 1.3alpha1 to adapt to many kinds of systems.
1252
1253 Usage: $0 [OPTION]... [VAR=VALUE]...
1254
1255 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1256 VAR=VALUE.  See below for descriptions of some of the useful variables.
1257
1258 Defaults for the options are specified in brackets.
1259
1260 Configuration:
1261   -h, --help              display this help and exit
1262       --help=short        display options specific to this package
1263       --help=recursive    display the short help of all the included packages
1264   -V, --version           display version information and exit
1265   -q, --quiet, --silent   do not print \`checking...' messages
1266       --cache-file=FILE   cache test results in FILE [disabled]
1267   -C, --config-cache      alias for \`--cache-file=config.cache'
1268   -n, --no-create         do not create output files
1269       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1270
1271 Installation directories:
1272   --prefix=PREFIX         install architecture-independent files in PREFIX
1273                           [$ac_default_prefix]
1274   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1275                           [PREFIX]
1276
1277 By default, \`make install' will install all the files in
1278 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1279 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1280 for instance \`--prefix=\$HOME'.
1281
1282 For better control, use the options below.
1283
1284 Fine tuning of the installation directories:
1285   --bindir=DIR            user executables [EPREFIX/bin]
1286   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1287   --libexecdir=DIR        program executables [EPREFIX/libexec]
1288   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1289   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1290   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1291   --libdir=DIR            object code libraries [EPREFIX/lib]
1292   --includedir=DIR        C header files [PREFIX/include]
1293   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1294   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1295   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1296   --infodir=DIR           info documentation [DATAROOTDIR/info]
1297   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1298   --mandir=DIR            man documentation [DATAROOTDIR/man]
1299   --docdir=DIR            documentation root [DATAROOTDIR/doc/libatomic_ops]
1300   --htmldir=DIR           html documentation [DOCDIR]
1301   --dvidir=DIR            dvi documentation [DOCDIR]
1302   --pdfdir=DIR            pdf documentation [DOCDIR]
1303   --psdir=DIR             ps documentation [DOCDIR]
1304 _ACEOF
1305
1306   cat <<\_ACEOF
1307
1308 Program names:
1309   --program-prefix=PREFIX            prepend PREFIX to installed program names
1310   --program-suffix=SUFFIX            append SUFFIX to installed program names
1311   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1312
1313 System types:
1314   --build=BUILD     configure for building on BUILD [guessed]
1315   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1316   --target=TARGET   configure for building compilers for TARGET [HOST]
1317 _ACEOF
1318 fi
1319
1320 if test -n "$ac_init_help"; then
1321   case $ac_init_help in
1322      short | recursive ) echo "Configuration of libatomic_ops 1.3alpha1:";;
1323    esac
1324   cat <<\_ACEOF
1325
1326 Optional Features:
1327   --disable-option-checking  ignore unrecognized --enable/--with options
1328   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1329   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1330   --disable-dependency-tracking  speeds up one-time build
1331   --enable-dependency-tracking   do not reject slow dependency extractors
1332
1333 Some influential environment variables:
1334   CC          C compiler command
1335   CFLAGS      C compiler flags
1336   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1337               nonstandard directory <lib dir>
1338   LIBS        libraries to pass to the linker, e.g. -l<library>
1339   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1340               you have headers in a nonstandard directory <include dir>
1341   CCAS        assembler compiler command (defaults to CC)
1342   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1343   CPP         C preprocessor
1344
1345 Use these variables to override the choices made by `configure' or to help
1346 it to find libraries and programs with nonstandard names/locations.
1347
1348 Report bugs to the package provider.
1349 _ACEOF
1350 ac_status=$?
1351 fi
1352
1353 if test "$ac_init_help" = "recursive"; then
1354   # If there are subdirs, report their specific --help.
1355   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1356     test -d "$ac_dir" ||
1357       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1358       continue
1359     ac_builddir=.
1360
1361 case "$ac_dir" in
1362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363 *)
1364   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1365   # A ".." for each directory in $ac_dir_suffix.
1366   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1367   case $ac_top_builddir_sub in
1368   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1369   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1370   esac ;;
1371 esac
1372 ac_abs_top_builddir=$ac_pwd
1373 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1374 # for backward compatibility:
1375 ac_top_builddir=$ac_top_build_prefix
1376
1377 case $srcdir in
1378   .)  # We are building in place.
1379     ac_srcdir=.
1380     ac_top_srcdir=$ac_top_builddir_sub
1381     ac_abs_top_srcdir=$ac_pwd ;;
1382   [\\/]* | ?:[\\/]* )  # Absolute name.
1383     ac_srcdir=$srcdir$ac_dir_suffix;
1384     ac_top_srcdir=$srcdir
1385     ac_abs_top_srcdir=$srcdir ;;
1386   *) # Relative name.
1387     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1388     ac_top_srcdir=$ac_top_build_prefix$srcdir
1389     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1390 esac
1391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1392
1393     cd "$ac_dir" || { ac_status=$?; continue; }
1394     # Check for guested configure.
1395     if test -f "$ac_srcdir/configure.gnu"; then
1396       echo &&
1397       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1398     elif test -f "$ac_srcdir/configure"; then
1399       echo &&
1400       $SHELL "$ac_srcdir/configure" --help=recursive
1401     else
1402       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1403     fi || ac_status=$?
1404     cd "$ac_pwd" || { ac_status=$?; break; }
1405   done
1406 fi
1407
1408 test -n "$ac_init_help" && exit $ac_status
1409 if $ac_init_version; then
1410   cat <<\_ACEOF
1411 libatomic_ops configure 1.3alpha1
1412 generated by GNU Autoconf 2.64
1413
1414 Copyright (C) 2009 Free Software Foundation, Inc.
1415 This configure script is free software; the Free Software Foundation
1416 gives unlimited permission to copy, distribute and modify it.
1417 _ACEOF
1418   exit
1419 fi
1420
1421 ## ------------------------ ##
1422 ## Autoconf initialization. ##
1423 ## ------------------------ ##
1424
1425 # ac_fn_c_try_compile LINENO
1426 # --------------------------
1427 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1428 ac_fn_c_try_compile ()
1429 {
1430   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1431   rm -f conftest.$ac_objext
1432   if { { ac_try="$ac_compile"
1433 case "(($ac_try" in
1434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1435   *) ac_try_echo=$ac_try;;
1436 esac
1437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1438 $as_echo "$ac_try_echo"; } >&5
1439   (eval "$ac_compile") 2>conftest.err
1440   ac_status=$?
1441   if test -s conftest.err; then
1442     grep -v '^ *+' conftest.err >conftest.er1
1443     cat conftest.er1 >&5
1444     mv -f conftest.er1 conftest.err
1445   fi
1446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447   test $ac_status = 0; } && {
1448          test -z "$ac_c_werror_flag" ||
1449          test ! -s conftest.err
1450        } && test -s conftest.$ac_objext; then :
1451   ac_retval=0
1452 else
1453   $as_echo "$as_me: failed program was:" >&5
1454 sed 's/^/| /' conftest.$ac_ext >&5
1455
1456         ac_retval=1
1457 fi
1458   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1459   return $ac_retval
1460
1461 } # ac_fn_c_try_compile
1462
1463 # ac_fn_c_try_cpp LINENO
1464 # ----------------------
1465 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1466 ac_fn_c_try_cpp ()
1467 {
1468   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469   if { { ac_try="$ac_cpp conftest.$ac_ext"
1470 case "(($ac_try" in
1471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1472   *) ac_try_echo=$ac_try;;
1473 esac
1474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1475 $as_echo "$ac_try_echo"; } >&5
1476   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1477   ac_status=$?
1478   if test -s conftest.err; then
1479     grep -v '^ *+' conftest.err >conftest.er1
1480     cat conftest.er1 >&5
1481     mv -f conftest.er1 conftest.err
1482   fi
1483   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1484   test $ac_status = 0; } >/dev/null && {
1485          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1486          test ! -s conftest.err
1487        }; then :
1488   ac_retval=0
1489 else
1490   $as_echo "$as_me: failed program was:" >&5
1491 sed 's/^/| /' conftest.$ac_ext >&5
1492
1493     ac_retval=1
1494 fi
1495   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1496   return $ac_retval
1497
1498 } # ac_fn_c_try_cpp
1499
1500 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1501 # -------------------------------------------------------
1502 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1503 # the include files in INCLUDES and setting the cache variable VAR
1504 # accordingly.
1505 ac_fn_c_check_header_mongrel ()
1506 {
1507   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1508   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1510 $as_echo_n "checking for $2... " >&6; }
1511 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1512   $as_echo_n "(cached) " >&6
1513 fi
1514 eval ac_res=\$$3
1515                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1516 $as_echo "$ac_res" >&6; }
1517 else
1518   # Is the header compilable?
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1520 $as_echo_n "checking $2 usability... " >&6; }
1521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1522 /* end confdefs.h.  */
1523 $4
1524 #include <$2>
1525 _ACEOF
1526 if ac_fn_c_try_compile "$LINENO"; then :
1527   ac_header_compiler=yes
1528 else
1529   ac_header_compiler=no
1530 fi
1531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1533 $as_echo "$ac_header_compiler" >&6; }
1534
1535 # Is the header present?
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1537 $as_echo_n "checking $2 presence... " >&6; }
1538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1539 /* end confdefs.h.  */
1540 #include <$2>
1541 _ACEOF
1542 if ac_fn_c_try_cpp "$LINENO"; then :
1543   ac_header_preproc=yes
1544 else
1545   ac_header_preproc=no
1546 fi
1547 rm -f conftest.err conftest.$ac_ext
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1549 $as_echo "$ac_header_preproc" >&6; }
1550
1551 # So?  What about this header?
1552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1553   yes:no: )
1554     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1555 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1556     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1557 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1558     ;;
1559   no:yes:* )
1560     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1561 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1562     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1563 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1564     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1565 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1566     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1567 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1568     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1569 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1570     ;;
1571 esac
1572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1573 $as_echo_n "checking for $2... " >&6; }
1574 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1575   $as_echo_n "(cached) " >&6
1576 else
1577   eval "$3=\$ac_header_compiler"
1578 fi
1579 eval ac_res=\$$3
1580                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1581 $as_echo "$ac_res" >&6; }
1582 fi
1583   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1584
1585 } # ac_fn_c_check_header_mongrel
1586
1587 # ac_fn_c_try_run LINENO
1588 # ----------------------
1589 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1590 # that executables *can* be run.
1591 ac_fn_c_try_run ()
1592 {
1593   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594   if { { ac_try="$ac_link"
1595 case "(($ac_try" in
1596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597   *) ac_try_echo=$ac_try;;
1598 esac
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601   (eval "$ac_link") 2>&5
1602   ac_status=$?
1603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1605   { { case "(($ac_try" in
1606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1607   *) ac_try_echo=$ac_try;;
1608 esac
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611   (eval "$ac_try") 2>&5
1612   ac_status=$?
1613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614   test $ac_status = 0; }; }; then :
1615   ac_retval=0
1616 else
1617   $as_echo "$as_me: program exited with status $ac_status" >&5
1618        $as_echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.$ac_ext >&5
1620
1621        ac_retval=$ac_status
1622 fi
1623   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1624   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1625   return $ac_retval
1626
1627 } # ac_fn_c_try_run
1628
1629 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1630 # -------------------------------------------------------
1631 # Tests whether HEADER exists and can be compiled using the include files in
1632 # INCLUDES, setting the cache variable VAR accordingly.
1633 ac_fn_c_check_header_compile ()
1634 {
1635   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637 $as_echo_n "checking for $2... " >&6; }
1638 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1639   $as_echo_n "(cached) " >&6
1640 else
1641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h.  */
1643 $4
1644 #include <$2>
1645 _ACEOF
1646 if ac_fn_c_try_compile "$LINENO"; then :
1647   eval "$3=yes"
1648 else
1649   eval "$3=no"
1650 fi
1651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1652 fi
1653 eval ac_res=\$$3
1654                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1655 $as_echo "$ac_res" >&6; }
1656   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1657
1658 } # ac_fn_c_check_header_compile
1659
1660 # ac_fn_c_try_link LINENO
1661 # -----------------------
1662 # Try to link conftest.$ac_ext, and return whether this succeeded.
1663 ac_fn_c_try_link ()
1664 {
1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666   rm -f conftest.$ac_objext conftest$ac_exeext
1667   if { { ac_try="$ac_link"
1668 case "(($ac_try" in
1669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670   *) ac_try_echo=$ac_try;;
1671 esac
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674   (eval "$ac_link") 2>conftest.err
1675   ac_status=$?
1676   if test -s conftest.err; then
1677     grep -v '^ *+' conftest.err >conftest.er1
1678     cat conftest.er1 >&5
1679     mv -f conftest.er1 conftest.err
1680   fi
1681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682   test $ac_status = 0; } && {
1683          test -z "$ac_c_werror_flag" ||
1684          test ! -s conftest.err
1685        } && test -s conftest$ac_exeext && {
1686          test "$cross_compiling" = yes ||
1687          $as_test_x conftest$ac_exeext
1688        }; then :
1689   ac_retval=0
1690 else
1691   $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.$ac_ext >&5
1693
1694         ac_retval=1
1695 fi
1696   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1697   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1698   # interfere with the next link command; also delete a directory that is
1699   # left behind by Apple's compiler.  We do this before executing the actions.
1700   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1701   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702   return $ac_retval
1703
1704 } # ac_fn_c_try_link
1705
1706 # ac_fn_c_check_func LINENO FUNC VAR
1707 # ----------------------------------
1708 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1709 ac_fn_c_check_func ()
1710 {
1711   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1713 $as_echo_n "checking for $2... " >&6; }
1714 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1715   $as_echo_n "(cached) " >&6
1716 else
1717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718 /* end confdefs.h.  */
1719 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1720    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1721 #define $2 innocuous_$2
1722
1723 /* System header to define __stub macros and hopefully few prototypes,
1724     which can conflict with char $2 (); below.
1725     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1726     <limits.h> exists even on freestanding compilers.  */
1727
1728 #ifdef __STDC__
1729 # include <limits.h>
1730 #else
1731 # include <assert.h>
1732 #endif
1733
1734 #undef $2
1735
1736 /* Override any GCC internal prototype to avoid an error.
1737    Use char because int might match the return type of a GCC
1738    builtin and then its argument prototype would still apply.  */
1739 #ifdef __cplusplus
1740 extern "C"
1741 #endif
1742 char $2 ();
1743 /* The GNU C library defines this for functions which it implements
1744     to always fail with ENOSYS.  Some functions are actually named
1745     something starting with __ and the normal name is an alias.  */
1746 #if defined __stub_$2 || defined __stub___$2
1747 choke me
1748 #endif
1749
1750 int
1751 main ()
1752 {
1753 return $2 ();
1754   ;
1755   return 0;
1756 }
1757 _ACEOF
1758 if ac_fn_c_try_link "$LINENO"; then :
1759   eval "$3=yes"
1760 else
1761   eval "$3=no"
1762 fi
1763 rm -f core conftest.err conftest.$ac_objext \
1764     conftest$ac_exeext conftest.$ac_ext
1765 fi
1766 eval ac_res=\$$3
1767                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1769   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770
1771 } # ac_fn_c_check_func
1772 cat >config.log <<_ACEOF
1773 This file contains any messages produced by compilers while
1774 running configure, to aid debugging if configure makes a mistake.
1775
1776 It was created by libatomic_ops $as_me 1.3alpha1, which was
1777 generated by GNU Autoconf 2.64.  Invocation command line was
1778
1779   $ $0 $@
1780
1781 _ACEOF
1782 exec 5>>config.log
1783 {
1784 cat <<_ASUNAME
1785 ## --------- ##
1786 ## Platform. ##
1787 ## --------- ##
1788
1789 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1790 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1791 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1792 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1793 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1794
1795 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1796 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1797
1798 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1799 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1800 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1801 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1802 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1803 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1804 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1805
1806 _ASUNAME
1807
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1809 for as_dir in $PATH
1810 do
1811   IFS=$as_save_IFS
1812   test -z "$as_dir" && as_dir=.
1813     $as_echo "PATH: $as_dir"
1814   done
1815 IFS=$as_save_IFS
1816
1817 } >&5
1818
1819 cat >&5 <<_ACEOF
1820
1821
1822 ## ----------- ##
1823 ## Core tests. ##
1824 ## ----------- ##
1825
1826 _ACEOF
1827
1828
1829 # Keep a trace of the command line.
1830 # Strip out --no-create and --no-recursion so they do not pile up.
1831 # Strip out --silent because we don't want to record it for future runs.
1832 # Also quote any args containing shell meta-characters.
1833 # Make two passes to allow for proper duplicate-argument suppression.
1834 ac_configure_args=
1835 ac_configure_args0=
1836 ac_configure_args1=
1837 ac_must_keep_next=false
1838 for ac_pass in 1 2
1839 do
1840   for ac_arg
1841   do
1842     case $ac_arg in
1843     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1844     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1845     | -silent | --silent | --silen | --sile | --sil)
1846       continue ;;
1847     *\'*)
1848       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1849     esac
1850     case $ac_pass in
1851     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1852     2)
1853       as_fn_append ac_configure_args1 " '$ac_arg'"
1854       if test $ac_must_keep_next = true; then
1855         ac_must_keep_next=false # Got value, back to normal.
1856       else
1857         case $ac_arg in
1858           *=* | --config-cache | -C | -disable-* | --disable-* \
1859           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1860           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1861           | -with-* | --with-* | -without-* | --without-* | --x)
1862             case "$ac_configure_args0 " in
1863               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1864             esac
1865             ;;
1866           -* ) ac_must_keep_next=true ;;
1867         esac
1868       fi
1869       as_fn_append ac_configure_args " '$ac_arg'"
1870       ;;
1871     esac
1872   done
1873 done
1874 { ac_configure_args0=; unset ac_configure_args0;}
1875 { ac_configure_args1=; unset ac_configure_args1;}
1876
1877 # When interrupted or exit'd, cleanup temporary files, and complete
1878 # config.log.  We remove comments because anyway the quotes in there
1879 # would cause problems or look ugly.
1880 # WARNING: Use '\'' to represent an apostrophe within the trap.
1881 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1882 trap 'exit_status=$?
1883   # Save into config.log some information that might help in debugging.
1884   {
1885     echo
1886
1887     cat <<\_ASBOX
1888 ## ---------------- ##
1889 ## Cache variables. ##
1890 ## ---------------- ##
1891 _ASBOX
1892     echo
1893     # The following way of writing the cache mishandles newlines in values,
1894 (
1895   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1896     eval ac_val=\$$ac_var
1897     case $ac_val in #(
1898     *${as_nl}*)
1899       case $ac_var in #(
1900       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1901 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1902       esac
1903       case $ac_var in #(
1904       _ | IFS | as_nl) ;; #(
1905       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1906       *) { eval $ac_var=; unset $ac_var;} ;;
1907       esac ;;
1908     esac
1909   done
1910   (set) 2>&1 |
1911     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1912     *${as_nl}ac_space=\ *)
1913       sed -n \
1914         "s/'\''/'\''\\\\'\'''\''/g;
1915           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1916       ;; #(
1917     *)
1918       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1919       ;;
1920     esac |
1921     sort
1922 )
1923     echo
1924
1925     cat <<\_ASBOX
1926 ## ----------------- ##
1927 ## Output variables. ##
1928 ## ----------------- ##
1929 _ASBOX
1930     echo
1931     for ac_var in $ac_subst_vars
1932     do
1933       eval ac_val=\$$ac_var
1934       case $ac_val in
1935       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1936       esac
1937       $as_echo "$ac_var='\''$ac_val'\''"
1938     done | sort
1939     echo
1940
1941     if test -n "$ac_subst_files"; then
1942       cat <<\_ASBOX
1943 ## ------------------- ##
1944 ## File substitutions. ##
1945 ## ------------------- ##
1946 _ASBOX
1947       echo
1948       for ac_var in $ac_subst_files
1949       do
1950         eval ac_val=\$$ac_var
1951         case $ac_val in
1952         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1953         esac
1954         $as_echo "$ac_var='\''$ac_val'\''"
1955       done | sort
1956       echo
1957     fi
1958
1959     if test -s confdefs.h; then
1960       cat <<\_ASBOX
1961 ## ----------- ##
1962 ## confdefs.h. ##
1963 ## ----------- ##
1964 _ASBOX
1965       echo
1966       cat confdefs.h
1967       echo
1968     fi
1969     test "$ac_signal" != 0 &&
1970       $as_echo "$as_me: caught signal $ac_signal"
1971     $as_echo "$as_me: exit $exit_status"
1972   } >&5
1973   rm -f core *.core core.conftest.* &&
1974     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1975     exit $exit_status
1976 ' 0
1977 for ac_signal in 1 2 13 15; do
1978   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1979 done
1980 ac_signal=0
1981
1982 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1983 rm -f -r conftest* confdefs.h
1984
1985 $as_echo "/* confdefs.h */" > confdefs.h
1986
1987 # Predefined preprocessor variables.
1988
1989 cat >>confdefs.h <<_ACEOF
1990 #define PACKAGE_NAME "$PACKAGE_NAME"
1991 _ACEOF
1992
1993 cat >>confdefs.h <<_ACEOF
1994 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1995 _ACEOF
1996
1997 cat >>confdefs.h <<_ACEOF
1998 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1999 _ACEOF
2000
2001 cat >>confdefs.h <<_ACEOF
2002 #define PACKAGE_STRING "$PACKAGE_STRING"
2003 _ACEOF
2004
2005 cat >>confdefs.h <<_ACEOF
2006 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2007 _ACEOF
2008
2009 cat >>confdefs.h <<_ACEOF
2010 #define PACKAGE_URL "$PACKAGE_URL"
2011 _ACEOF
2012
2013
2014 # Let the site file select an alternate cache file if it wants to.
2015 # Prefer an explicitly selected file to automatically selected ones.
2016 ac_site_file1=NONE
2017 ac_site_file2=NONE
2018 if test -n "$CONFIG_SITE"; then
2019   ac_site_file1=$CONFIG_SITE
2020 elif test "x$prefix" != xNONE; then
2021   ac_site_file1=$prefix/share/config.site
2022   ac_site_file2=$prefix/etc/config.site
2023 else
2024   ac_site_file1=$ac_default_prefix/share/config.site
2025   ac_site_file2=$ac_default_prefix/etc/config.site
2026 fi
2027 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2028 do
2029   test "x$ac_site_file" = xNONE && continue
2030   if test -r "$ac_site_file"; then
2031     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2032 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2033     sed 's/^/| /' "$ac_site_file" >&5
2034     . "$ac_site_file"
2035   fi
2036 done
2037
2038 if test -r "$cache_file"; then
2039   # Some versions of bash will fail to source /dev/null (special
2040   # files actually), so we avoid doing that.
2041   if test -f "$cache_file"; then
2042     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2043 $as_echo "$as_me: loading cache $cache_file" >&6;}
2044     case $cache_file in
2045       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2046       *)                      . "./$cache_file";;
2047     esac
2048   fi
2049 else
2050   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2051 $as_echo "$as_me: creating cache $cache_file" >&6;}
2052   >$cache_file
2053 fi
2054
2055 # Check that the precious variables saved in the cache have kept the same
2056 # value.
2057 ac_cache_corrupted=false
2058 for ac_var in $ac_precious_vars; do
2059   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2060   eval ac_new_set=\$ac_env_${ac_var}_set
2061   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2062   eval ac_new_val=\$ac_env_${ac_var}_value
2063   case $ac_old_set,$ac_new_set in
2064     set,)
2065       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2066 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2067       ac_cache_corrupted=: ;;
2068     ,set)
2069       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2070 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2071       ac_cache_corrupted=: ;;
2072     ,);;
2073     *)
2074       if test "x$ac_old_val" != "x$ac_new_val"; then
2075         # differences in whitespace do not lead to failure.
2076         ac_old_val_w=`echo x $ac_old_val`
2077         ac_new_val_w=`echo x $ac_new_val`
2078         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2079           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2080 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2081           ac_cache_corrupted=:
2082         else
2083           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2084 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2085           eval $ac_var=\$ac_old_val
2086         fi
2087         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2088 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2089         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2090 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2091       fi;;
2092   esac
2093   # Pass precious variables to config.status.
2094   if test "$ac_new_set" = set; then
2095     case $ac_new_val in
2096     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2097     *) ac_arg=$ac_var=$ac_new_val ;;
2098     esac
2099     case " $ac_configure_args " in
2100       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2101       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2102     esac
2103   fi
2104 done
2105 if $ac_cache_corrupted; then
2106   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2108   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2109 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2110   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2111 fi
2112 ## -------------------- ##
2113 ## Main body of script. ##
2114 ## -------------------- ##
2115
2116 ac_ext=c
2117 ac_cpp='$CPP $CPPFLAGS'
2118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2121
2122
2123 ac_aux_dir=
2124 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2125   for ac_t in install-sh install.sh shtool; do
2126     if test -f "$ac_dir/$ac_t"; then
2127       ac_aux_dir=$ac_dir
2128       ac_install_sh="$ac_aux_dir/$ac_t -c"
2129       break 2
2130     fi
2131   done
2132 done
2133 if test -z "$ac_aux_dir"; then
2134   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2135 fi
2136
2137 # These three variables are undocumented and unsupported,
2138 # and are intended to be withdrawn in a future Autoconf release.
2139 # They can cause serious problems if a builder's source tree is in a directory
2140 # whose full name contains unusual characters.
2141 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2142 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2143 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2144
2145
2146 # Make sure we can run config.sub.
2147 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2148   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2149
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2151 $as_echo_n "checking build system type... " >&6; }
2152 if test "${ac_cv_build+set}" = set; then :
2153   $as_echo_n "(cached) " >&6
2154 else
2155   ac_build_alias=$build_alias
2156 test "x$ac_build_alias" = x &&
2157   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2158 test "x$ac_build_alias" = x &&
2159   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2160 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2161   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2162
2163 fi
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2165 $as_echo "$ac_cv_build" >&6; }
2166 case $ac_cv_build in
2167 *-*-*) ;;
2168 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2169 esac
2170 build=$ac_cv_build
2171 ac_save_IFS=$IFS; IFS='-'
2172 set x $ac_cv_build
2173 shift
2174 build_cpu=$1
2175 build_vendor=$2
2176 shift; shift
2177 # Remember, the first character of IFS is used to create $*,
2178 # except with old shells:
2179 build_os=$*
2180 IFS=$ac_save_IFS
2181 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2182
2183
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2185 $as_echo_n "checking host system type... " >&6; }
2186 if test "${ac_cv_host+set}" = set; then :
2187   $as_echo_n "(cached) " >&6
2188 else
2189   if test "x$host_alias" = x; then
2190   ac_cv_host=$ac_cv_build
2191 else
2192   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2193     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2194 fi
2195
2196 fi
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2198 $as_echo "$ac_cv_host" >&6; }
2199 case $ac_cv_host in
2200 *-*-*) ;;
2201 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2202 esac
2203 host=$ac_cv_host
2204 ac_save_IFS=$IFS; IFS='-'
2205 set x $ac_cv_host
2206 shift
2207 host_cpu=$1
2208 host_vendor=$2
2209 shift; shift
2210 # Remember, the first character of IFS is used to create $*,
2211 # except with old shells:
2212 host_os=$*
2213 IFS=$ac_save_IFS
2214 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2215
2216
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2218 $as_echo_n "checking target system type... " >&6; }
2219 if test "${ac_cv_target+set}" = set; then :
2220   $as_echo_n "(cached) " >&6
2221 else
2222   if test "x$target_alias" = x; then
2223   ac_cv_target=$ac_cv_host
2224 else
2225   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2226     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2227 fi
2228
2229 fi
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2231 $as_echo "$ac_cv_target" >&6; }
2232 case $ac_cv_target in
2233 *-*-*) ;;
2234 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2235 esac
2236 target=$ac_cv_target
2237 ac_save_IFS=$IFS; IFS='-'
2238 set x $ac_cv_target
2239 shift
2240 target_cpu=$1
2241 target_vendor=$2
2242 shift; shift
2243 # Remember, the first character of IFS is used to create $*,
2244 # except with old shells:
2245 target_os=$*
2246 IFS=$ac_save_IFS
2247 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2248
2249
2250 # The aliases save the names the user supplied, while $host etc.
2251 # will get canonicalized.
2252 test -n "$target_alias" &&
2253   test "$program_prefix$program_suffix$program_transform_name" = \
2254     NONENONEs,x,x, &&
2255   program_prefix=${target_alias}-
2256
2257 am__api_version='1.10'
2258
2259 # Find a good install program.  We prefer a C program (faster),
2260 # so one script is as good as another.  But avoid the broken or
2261 # incompatible versions:
2262 # SysV /etc/install, /usr/sbin/install
2263 # SunOS /usr/etc/install
2264 # IRIX /sbin/install
2265 # AIX /bin/install
2266 # AmigaOS /C/install, which installs bootblocks on floppy discs
2267 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2268 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2269 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2270 # OS/2's system install, which has a completely different semantic
2271 # ./install, which can be erroneously created by make from ./install.sh.
2272 # Reject install programs that cannot install multiple files.
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2274 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2275 if test -z "$INSTALL"; then
2276 if test "${ac_cv_path_install+set}" = set; then :
2277   $as_echo_n "(cached) " >&6
2278 else
2279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 for as_dir in $PATH
2281 do
2282   IFS=$as_save_IFS
2283   test -z "$as_dir" && as_dir=.
2284     # Account for people who put trailing slashes in PATH elements.
2285 case $as_dir/ in #((
2286   ./ | .// | /[cC]/* | \
2287   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2288   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2289   /usr/ucb/* ) ;;
2290   *)
2291     # OSF1 and SCO ODT 3.0 have their own names for install.
2292     # Don't use installbsd from OSF since it installs stuff as root
2293     # by default.
2294     for ac_prog in ginstall scoinst install; do
2295       for ac_exec_ext in '' $ac_executable_extensions; do
2296         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2297           if test $ac_prog = install &&
2298             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2299             # AIX install.  It has an incompatible calling convention.
2300             :
2301           elif test $ac_prog = install &&
2302             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2303             # program-specific install script used by HP pwplus--don't use.
2304             :
2305           else
2306             rm -rf conftest.one conftest.two conftest.dir
2307             echo one > conftest.one
2308             echo two > conftest.two
2309             mkdir conftest.dir
2310             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2311               test -s conftest.one && test -s conftest.two &&
2312               test -s conftest.dir/conftest.one &&
2313               test -s conftest.dir/conftest.two
2314             then
2315               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2316               break 3
2317             fi
2318           fi
2319         fi
2320       done
2321     done
2322     ;;
2323 esac
2324
2325   done
2326 IFS=$as_save_IFS
2327
2328 rm -rf conftest.one conftest.two conftest.dir
2329
2330 fi
2331   if test "${ac_cv_path_install+set}" = set; then
2332     INSTALL=$ac_cv_path_install
2333   else
2334     # As a last resort, use the slow shell script.  Don't cache a
2335     # value for INSTALL within a source directory, because that will
2336     # break other packages using the cache if that directory is
2337     # removed, or if the value is a relative name.
2338     INSTALL=$ac_install_sh
2339   fi
2340 fi
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2342 $as_echo "$INSTALL" >&6; }
2343
2344 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2345 # It thinks the first close brace ends the variable substitution.
2346 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2347
2348 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2349
2350 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2351
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2353 $as_echo_n "checking whether build environment is sane... " >&6; }
2354 # Just in case
2355 sleep 1
2356 echo timestamp > conftest.file
2357 # Do `set' in a subshell so we don't clobber the current shell's
2358 # arguments.  Must try -L first in case configure is actually a
2359 # symlink; some systems play weird games with the mod time of symlinks
2360 # (eg FreeBSD returns the mod time of the symlink's containing
2361 # directory).
2362 if (
2363    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2364    if test "$*" = "X"; then
2365       # -L didn't work.
2366       set X `ls -t $srcdir/configure conftest.file`
2367    fi
2368    rm -f conftest.file
2369    if test "$*" != "X $srcdir/configure conftest.file" \
2370       && test "$*" != "X conftest.file $srcdir/configure"; then
2371
2372       # If neither matched, then we have a broken ls.  This can happen
2373       # if, for instance, CONFIG_SHELL is bash and it inherits a
2374       # broken ls alias from the environment.  This has actually
2375       # happened.  Such a system could not be considered "sane".
2376       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2377 alias in your environment" "$LINENO" 5
2378    fi
2379
2380    test "$2" = conftest.file
2381    )
2382 then
2383    # Ok.
2384    :
2385 else
2386    as_fn_error "newly created file is older than distributed files!
2387 Check your system clock" "$LINENO" 5
2388 fi
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2390 $as_echo "yes" >&6; }
2391 test "$program_prefix" != NONE &&
2392   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2393 # Use a double $ so make ignores it.
2394 test "$program_suffix" != NONE &&
2395   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2396 # Double any \ or $.
2397 # By default was `s,x,x', remove it if useless.
2398 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2399 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2400
2401 # expand $ac_aux_dir to an absolute path
2402 am_aux_dir=`cd $ac_aux_dir && pwd`
2403
2404 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2405 # Use eval to expand $SHELL
2406 if eval "$MISSING --run true"; then
2407   am_missing_run="$MISSING --run "
2408 else
2409   am_missing_run=
2410   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2411 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2412 fi
2413
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2415 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2416 if test -z "$MKDIR_P"; then
2417   if test "${ac_cv_path_mkdir+set}" = set; then :
2418   $as_echo_n "(cached) " >&6
2419 else
2420   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2421 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2422 do
2423   IFS=$as_save_IFS
2424   test -z "$as_dir" && as_dir=.
2425     for ac_prog in mkdir gmkdir; do
2426          for ac_exec_ext in '' $ac_executable_extensions; do
2427            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2428            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2429              'mkdir (GNU coreutils) '* | \
2430              'mkdir (coreutils) '* | \
2431              'mkdir (fileutils) '4.1*)
2432                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2433                break 3;;
2434            esac
2435          done
2436        done
2437   done
2438 IFS=$as_save_IFS
2439
2440 fi
2441
2442   if test "${ac_cv_path_mkdir+set}" = set; then
2443     MKDIR_P="$ac_cv_path_mkdir -p"
2444   else
2445     # As a last resort, use the slow shell script.  Don't cache a
2446     # value for MKDIR_P within a source directory, because that will
2447     # break other packages using the cache if that directory is
2448     # removed, or if the value is a relative name.
2449     test -d ./--version && rmdir ./--version
2450     MKDIR_P="$ac_install_sh -d"
2451   fi
2452 fi
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2454 $as_echo "$MKDIR_P" >&6; }
2455
2456 mkdir_p="$MKDIR_P"
2457 case $mkdir_p in
2458   [\\/$]* | ?:[\\/]*) ;;
2459   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2460 esac
2461
2462 for ac_prog in gawk mawk nawk awk
2463 do
2464   # Extract the first word of "$ac_prog", so it can be a program name with args.
2465 set dummy $ac_prog; ac_word=$2
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2467 $as_echo_n "checking for $ac_word... " >&6; }
2468 if test "${ac_cv_prog_AWK+set}" = set; then :
2469   $as_echo_n "(cached) " >&6
2470 else
2471   if test -n "$AWK"; then
2472   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2473 else
2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475 for as_dir in $PATH
2476 do
2477   IFS=$as_save_IFS
2478   test -z "$as_dir" && as_dir=.
2479     for ac_exec_ext in '' $ac_executable_extensions; do
2480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2481     ac_cv_prog_AWK="$ac_prog"
2482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2483     break 2
2484   fi
2485 done
2486   done
2487 IFS=$as_save_IFS
2488
2489 fi
2490 fi
2491 AWK=$ac_cv_prog_AWK
2492 if test -n "$AWK"; then
2493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2494 $as_echo "$AWK" >&6; }
2495 else
2496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2497 $as_echo "no" >&6; }
2498 fi
2499
2500
2501   test -n "$AWK" && break
2502 done
2503
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2505 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2506 set x ${MAKE-make}
2507 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2508 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2509   $as_echo_n "(cached) " >&6
2510 else
2511   cat >conftest.make <<\_ACEOF
2512 SHELL = /bin/sh
2513 all:
2514         @echo '@@@%%%=$(MAKE)=@@@%%%'
2515 _ACEOF
2516 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2517 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2518   *@@@%%%=?*=@@@%%%*)
2519     eval ac_cv_prog_make_${ac_make}_set=yes;;
2520   *)
2521     eval ac_cv_prog_make_${ac_make}_set=no;;
2522 esac
2523 rm -f conftest.make
2524 fi
2525 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2527 $as_echo "yes" >&6; }
2528   SET_MAKE=
2529 else
2530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2531 $as_echo "no" >&6; }
2532   SET_MAKE="MAKE=${MAKE-make}"
2533 fi
2534
2535 rm -rf .tst 2>/dev/null
2536 mkdir .tst 2>/dev/null
2537 if test -d .tst; then
2538   am__leading_dot=.
2539 else
2540   am__leading_dot=_
2541 fi
2542 rmdir .tst 2>/dev/null
2543
2544 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2545   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2546   # is not polluted with repeated "-I."
2547   am__isrc=' -I$(srcdir)'
2548   # test to see if srcdir already configured
2549   if test -f $srcdir/config.status; then
2550     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2551   fi
2552 fi
2553
2554 # test whether we have cygpath
2555 if test -z "$CYGPATH_W"; then
2556   if (cygpath --version) >/dev/null 2>/dev/null; then
2557     CYGPATH_W='cygpath -w'
2558   else
2559     CYGPATH_W=echo
2560   fi
2561 fi
2562
2563
2564 # Define the identity of the package.
2565  PACKAGE='libatomic_ops'
2566  VERSION='1.3alpha1'
2567
2568
2569 cat >>confdefs.h <<_ACEOF
2570 #define PACKAGE "$PACKAGE"
2571 _ACEOF
2572
2573
2574 cat >>confdefs.h <<_ACEOF
2575 #define VERSION "$VERSION"
2576 _ACEOF
2577
2578 # Some tools Automake needs.
2579
2580 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2581
2582
2583 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2584
2585
2586 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2587
2588
2589 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2590
2591
2592 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2593
2594 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2595
2596 # Installed binaries are usually stripped using `strip' when the user
2597 # run `make install-strip'.  However `strip' might not be the right
2598 # tool to use in cross-compilation environments, therefore Automake
2599 # will honor the `STRIP' environment variable to overrule this program.
2600 if test "$cross_compiling" != no; then
2601   if test -n "$ac_tool_prefix"; then
2602   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2603 set dummy ${ac_tool_prefix}strip; ac_word=$2
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605 $as_echo_n "checking for $ac_word... " >&6; }
2606 if test "${ac_cv_prog_STRIP+set}" = set; then :
2607   $as_echo_n "(cached) " >&6
2608 else
2609   if test -n "$STRIP"; then
2610   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2611 else
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 for as_dir in $PATH
2614 do
2615   IFS=$as_save_IFS
2616   test -z "$as_dir" && as_dir=.
2617     for ac_exec_ext in '' $ac_executable_extensions; do
2618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2619     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2621     break 2
2622   fi
2623 done
2624   done
2625 IFS=$as_save_IFS
2626
2627 fi
2628 fi
2629 STRIP=$ac_cv_prog_STRIP
2630 if test -n "$STRIP"; then
2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2632 $as_echo "$STRIP" >&6; }
2633 else
2634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2635 $as_echo "no" >&6; }
2636 fi
2637
2638
2639 fi
2640 if test -z "$ac_cv_prog_STRIP"; then
2641   ac_ct_STRIP=$STRIP
2642   # Extract the first word of "strip", so it can be a program name with args.
2643 set dummy strip; ac_word=$2
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2645 $as_echo_n "checking for $ac_word... " >&6; }
2646 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2647   $as_echo_n "(cached) " >&6
2648 else
2649   if test -n "$ac_ct_STRIP"; then
2650   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2651 else
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653 for as_dir in $PATH
2654 do
2655   IFS=$as_save_IFS
2656   test -z "$as_dir" && as_dir=.
2657     for ac_exec_ext in '' $ac_executable_extensions; do
2658   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2659     ac_cv_prog_ac_ct_STRIP="strip"
2660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2661     break 2
2662   fi
2663 done
2664   done
2665 IFS=$as_save_IFS
2666
2667 fi
2668 fi
2669 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2670 if test -n "$ac_ct_STRIP"; then
2671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2672 $as_echo "$ac_ct_STRIP" >&6; }
2673 else
2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675 $as_echo "no" >&6; }
2676 fi
2677
2678   if test "x$ac_ct_STRIP" = x; then
2679     STRIP=":"
2680   else
2681     case $cross_compiling:$ac_tool_warned in
2682 yes:)
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2685 ac_tool_warned=yes ;;
2686 esac
2687     STRIP=$ac_ct_STRIP
2688   fi
2689 else
2690   STRIP="$ac_cv_prog_STRIP"
2691 fi
2692
2693 fi
2694 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2695
2696 # We need awk for the "check" target.  The system "awk" is bad on
2697 # some platforms.
2698 # Always define AMTAR for backward compatibility.
2699
2700 AMTAR=${AMTAR-"${am_missing_run}tar"}
2701
2702 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2703
2704
2705
2706
2707
2708 if test -n "$ac_tool_prefix"; then
2709   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2710 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2714   $as_echo_n "(cached) " >&6
2715 else
2716   if test -n "$RANLIB"; then
2717   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2718 else
2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2720 for as_dir in $PATH
2721 do
2722   IFS=$as_save_IFS
2723   test -z "$as_dir" && as_dir=.
2724     for ac_exec_ext in '' $ac_executable_extensions; do
2725   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2726     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728     break 2
2729   fi
2730 done
2731   done
2732 IFS=$as_save_IFS
2733
2734 fi
2735 fi
2736 RANLIB=$ac_cv_prog_RANLIB
2737 if test -n "$RANLIB"; then
2738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2739 $as_echo "$RANLIB" >&6; }
2740 else
2741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2743 fi
2744
2745
2746 fi
2747 if test -z "$ac_cv_prog_RANLIB"; then
2748   ac_ct_RANLIB=$RANLIB
2749   # Extract the first word of "ranlib", so it can be a program name with args.
2750 set dummy ranlib; 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 test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2754   $as_echo_n "(cached) " >&6
2755 else
2756   if test -n "$ac_ct_RANLIB"; then
2757   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2766     ac_cv_prog_ac_ct_RANLIB="ranlib"
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 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2777 if test -n "$ac_ct_RANLIB"; then
2778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2779 $as_echo "$ac_ct_RANLIB" >&6; }
2780 else
2781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2783 fi
2784
2785   if test "x$ac_ct_RANLIB" = x; then
2786     RANLIB=":"
2787   else
2788     case $cross_compiling:$ac_tool_warned in
2789 yes:)
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2792 ac_tool_warned=yes ;;
2793 esac
2794     RANLIB=$ac_ct_RANLIB
2795   fi
2796 else
2797   RANLIB="$ac_cv_prog_RANLIB"
2798 fi
2799
2800
2801 ac_config_headers="$ac_config_headers src/config.h"
2802
2803
2804 # Checks for programs.
2805 DEPDIR="${am__leading_dot}deps"
2806
2807 ac_config_commands="$ac_config_commands depfiles"
2808
2809
2810 am_make=${MAKE-make}
2811 cat > confinc << 'END'
2812 am__doit:
2813         @echo done
2814 .PHONY: am__doit
2815 END
2816 # If we don't find an include directive, just comment out the code.
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2818 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2819 am__include="#"
2820 am__quote=
2821 _am_result=none
2822 # First try GNU make style include.
2823 echo "include confinc" > confmf
2824 # We grep out `Entering directory' and `Leaving directory'
2825 # messages which can occur if `w' ends up in MAKEFLAGS.
2826 # In particular we don't look at `^make:' because GNU make might
2827 # be invoked under some other name (usually "gmake"), in which
2828 # case it prints its new name instead of `make'.
2829 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2830    am__include=include
2831    am__quote=
2832    _am_result=GNU
2833 fi
2834 # Now try BSD make style include.
2835 if test "$am__include" = "#"; then
2836    echo '.include "confinc"' > confmf
2837    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2838       am__include=.include
2839       am__quote="\""
2840       _am_result=BSD
2841    fi
2842 fi
2843
2844
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2846 $as_echo "$_am_result" >&6; }
2847 rm -f confinc confmf
2848
2849 # Check whether --enable-dependency-tracking was given.
2850 if test "${enable_dependency_tracking+set}" = set; then :
2851   enableval=$enable_dependency_tracking;
2852 fi
2853
2854 if test "x$enable_dependency_tracking" != xno; then
2855   am_depcomp="$ac_aux_dir/depcomp"
2856   AMDEPBACKSLASH='\'
2857 fi
2858  if test "x$enable_dependency_tracking" != xno; then
2859   AMDEP_TRUE=
2860   AMDEP_FALSE='#'
2861 else
2862   AMDEP_TRUE='#'
2863   AMDEP_FALSE=
2864 fi
2865
2866
2867 ac_ext=c
2868 ac_cpp='$CPP $CPPFLAGS'
2869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2872 if test -n "$ac_tool_prefix"; then
2873   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2874 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876 $as_echo_n "checking for $ac_word... " >&6; }
2877 if test "${ac_cv_prog_CC+set}" = set; then :
2878   $as_echo_n "(cached) " >&6
2879 else
2880   if test -n "$CC"; then
2881   ac_cv_prog_CC="$CC" # Let the user override the test.
2882 else
2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884 for as_dir in $PATH
2885 do
2886   IFS=$as_save_IFS
2887   test -z "$as_dir" && as_dir=.
2888     for ac_exec_ext in '' $ac_executable_extensions; do
2889   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2890     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892     break 2
2893   fi
2894 done
2895   done
2896 IFS=$as_save_IFS
2897
2898 fi
2899 fi
2900 CC=$ac_cv_prog_CC
2901 if test -n "$CC"; then
2902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2903 $as_echo "$CC" >&6; }
2904 else
2905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906 $as_echo "no" >&6; }
2907 fi
2908
2909
2910 fi
2911 if test -z "$ac_cv_prog_CC"; then
2912   ac_ct_CC=$CC
2913   # Extract the first word of "gcc", so it can be a program name with args.
2914 set dummy gcc; ac_word=$2
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2918   $as_echo_n "(cached) " >&6
2919 else
2920   if test -n "$ac_ct_CC"; then
2921   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2922 else
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2924 for as_dir in $PATH
2925 do
2926   IFS=$as_save_IFS
2927   test -z "$as_dir" && as_dir=.
2928     for ac_exec_ext in '' $ac_executable_extensions; do
2929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2930     ac_cv_prog_ac_ct_CC="gcc"
2931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2932     break 2
2933   fi
2934 done
2935   done
2936 IFS=$as_save_IFS
2937
2938 fi
2939 fi
2940 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2941 if test -n "$ac_ct_CC"; then
2942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2943 $as_echo "$ac_ct_CC" >&6; }
2944 else
2945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2947 fi
2948
2949   if test "x$ac_ct_CC" = x; then
2950     CC=""
2951   else
2952     case $cross_compiling:$ac_tool_warned in
2953 yes:)
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2956 ac_tool_warned=yes ;;
2957 esac
2958     CC=$ac_ct_CC
2959   fi
2960 else
2961   CC="$ac_cv_prog_CC"
2962 fi
2963
2964 if test -z "$CC"; then
2965           if test -n "$ac_tool_prefix"; then
2966     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2967 set dummy ${ac_tool_prefix}cc; ac_word=$2
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969 $as_echo_n "checking for $ac_word... " >&6; }
2970 if test "${ac_cv_prog_CC+set}" = set; then :
2971   $as_echo_n "(cached) " >&6
2972 else
2973   if test -n "$CC"; then
2974   ac_cv_prog_CC="$CC" # Let the user override the test.
2975 else
2976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977 for as_dir in $PATH
2978 do
2979   IFS=$as_save_IFS
2980   test -z "$as_dir" && as_dir=.
2981     for ac_exec_ext in '' $ac_executable_extensions; do
2982   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2983     ac_cv_prog_CC="${ac_tool_prefix}cc"
2984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985     break 2
2986   fi
2987 done
2988   done
2989 IFS=$as_save_IFS
2990
2991 fi
2992 fi
2993 CC=$ac_cv_prog_CC
2994 if test -n "$CC"; then
2995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2996 $as_echo "$CC" >&6; }
2997 else
2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3000 fi
3001
3002
3003   fi
3004 fi
3005 if test -z "$CC"; then
3006   # Extract the first word of "cc", so it can be a program name with args.
3007 set dummy cc; ac_word=$2
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009 $as_echo_n "checking for $ac_word... " >&6; }
3010 if test "${ac_cv_prog_CC+set}" = set; then :
3011   $as_echo_n "(cached) " >&6
3012 else
3013   if test -n "$CC"; then
3014   ac_cv_prog_CC="$CC" # Let the user override the test.
3015 else
3016   ac_prog_rejected=no
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 for as_dir in $PATH
3019 do
3020   IFS=$as_save_IFS
3021   test -z "$as_dir" && as_dir=.
3022     for ac_exec_ext in '' $ac_executable_extensions; do
3023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3024     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3025        ac_prog_rejected=yes
3026        continue
3027      fi
3028     ac_cv_prog_CC="cc"
3029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3030     break 2
3031   fi
3032 done
3033   done
3034 IFS=$as_save_IFS
3035
3036 if test $ac_prog_rejected = yes; then
3037   # We found a bogon in the path, so make sure we never use it.
3038   set dummy $ac_cv_prog_CC
3039   shift
3040   if test $# != 0; then
3041     # We chose a different compiler from the bogus one.
3042     # However, it has the same basename, so the bogon will be chosen
3043     # first if we set CC to just the basename; use the full file name.
3044     shift
3045     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3046   fi
3047 fi
3048 fi
3049 fi
3050 CC=$ac_cv_prog_CC
3051 if test -n "$CC"; then
3052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3053 $as_echo "$CC" >&6; }
3054 else
3055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056 $as_echo "no" >&6; }
3057 fi
3058
3059
3060 fi
3061 if test -z "$CC"; then
3062   if test -n "$ac_tool_prefix"; then
3063   for ac_prog in cl.exe
3064   do
3065     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068 $as_echo_n "checking for $ac_word... " >&6; }
3069 if test "${ac_cv_prog_CC+set}" = set; then :
3070   $as_echo_n "(cached) " >&6
3071 else
3072   if test -n "$CC"; then
3073   ac_cv_prog_CC="$CC" # Let the user override the test.
3074 else
3075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076 for as_dir in $PATH
3077 do
3078   IFS=$as_save_IFS
3079   test -z "$as_dir" && as_dir=.
3080     for ac_exec_ext in '' $ac_executable_extensions; do
3081   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3082     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3084     break 2
3085   fi
3086 done
3087   done
3088 IFS=$as_save_IFS
3089
3090 fi
3091 fi
3092 CC=$ac_cv_prog_CC
3093 if test -n "$CC"; then
3094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3095 $as_echo "$CC" >&6; }
3096 else
3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098 $as_echo "no" >&6; }
3099 fi
3100
3101
3102     test -n "$CC" && break
3103   done
3104 fi
3105 if test -z "$CC"; then
3106   ac_ct_CC=$CC
3107   for ac_prog in cl.exe
3108 do
3109   # Extract the first word of "$ac_prog", so it can be a program name with args.
3110 set dummy $ac_prog; ac_word=$2
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3112 $as_echo_n "checking for $ac_word... " >&6; }
3113 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3114   $as_echo_n "(cached) " >&6
3115 else
3116   if test -n "$ac_ct_CC"; then
3117   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3118 else
3119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3120 for as_dir in $PATH
3121 do
3122   IFS=$as_save_IFS
3123   test -z "$as_dir" && as_dir=.
3124     for ac_exec_ext in '' $ac_executable_extensions; do
3125   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3126     ac_cv_prog_ac_ct_CC="$ac_prog"
3127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3128     break 2
3129   fi
3130 done
3131   done
3132 IFS=$as_save_IFS
3133
3134 fi
3135 fi
3136 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3137 if test -n "$ac_ct_CC"; then
3138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3139 $as_echo "$ac_ct_CC" >&6; }
3140 else
3141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3142 $as_echo "no" >&6; }
3143 fi
3144
3145
3146   test -n "$ac_ct_CC" && break
3147 done
3148
3149   if test "x$ac_ct_CC" = x; then
3150     CC=""
3151   else
3152     case $cross_compiling:$ac_tool_warned in
3153 yes:)
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3156 ac_tool_warned=yes ;;
3157 esac
3158     CC=$ac_ct_CC
3159   fi
3160 fi
3161
3162 fi
3163
3164
3165 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3167 as_fn_error "no acceptable C compiler found in \$PATH
3168 See \`config.log' for more details." "$LINENO" 5; }
3169
3170 # Provide some information about the compiler.
3171 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3172 set X $ac_compile
3173 ac_compiler=$2
3174 for ac_option in --version -v -V -qversion; do
3175   { { ac_try="$ac_compiler $ac_option >&5"
3176 case "(($ac_try" in
3177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3178   *) ac_try_echo=$ac_try;;
3179 esac
3180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3181 $as_echo "$ac_try_echo"; } >&5
3182   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3183   ac_status=$?
3184   if test -s conftest.err; then
3185     sed '10a\
3186 ... rest of stderr output deleted ...
3187          10q' conftest.err >conftest.er1
3188     cat conftest.er1 >&5
3189     rm -f conftest.er1 conftest.err
3190   fi
3191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3192   test $ac_status = 0; }
3193 done
3194
3195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3196 /* end confdefs.h.  */
3197 #include <stdio.h>
3198 int
3199 main ()
3200 {
3201 FILE *f = fopen ("conftest.out", "w");
3202  return ferror (f) || fclose (f) != 0;
3203
3204   ;
3205   return 0;
3206 }
3207 _ACEOF
3208 ac_clean_files_save=$ac_clean_files
3209 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3210 # Try to create an executable without -o first, disregard a.out.
3211 # It will help us diagnose broken compilers, and finding out an intuition
3212 # of exeext.
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3214 $as_echo_n "checking for C compiler default output file name... " >&6; }
3215 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3216
3217 # The possible output files:
3218 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3219
3220 ac_rmfiles=
3221 for ac_file in $ac_files
3222 do
3223   case $ac_file in
3224     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3225     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3226   esac
3227 done
3228 rm -f $ac_rmfiles
3229
3230 if { { ac_try="$ac_link_default"
3231 case "(($ac_try" in
3232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233   *) ac_try_echo=$ac_try;;
3234 esac
3235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3236 $as_echo "$ac_try_echo"; } >&5
3237   (eval "$ac_link_default") 2>&5
3238   ac_status=$?
3239   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240   test $ac_status = 0; }; then :
3241   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3242 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3243 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3244 # so that the user can short-circuit this test for compilers unknown to
3245 # Autoconf.
3246 for ac_file in $ac_files ''
3247 do
3248   test -f "$ac_file" || continue
3249   case $ac_file in
3250     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3251         ;;
3252     [ab].out )
3253         # We found the default executable, but exeext='' is most
3254         # certainly right.
3255         break;;
3256     *.* )
3257         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3258         then :; else
3259            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3260         fi
3261         # We set ac_cv_exeext here because the later test for it is not
3262         # safe: cross compilers may not add the suffix if given an `-o'
3263         # argument, so we may need to know it at that point already.
3264         # Even if this section looks crufty: it has the advantage of
3265         # actually working.
3266         break;;
3267     * )
3268         break;;
3269   esac
3270 done
3271 test "$ac_cv_exeext" = no && ac_cv_exeext=
3272
3273 else
3274   ac_file=''
3275 fi
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3277 $as_echo "$ac_file" >&6; }
3278 if test -z "$ac_file"; then :
3279   $as_echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.$ac_ext >&5
3281
3282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3284 { as_fn_set_status 77
3285 as_fn_error "C compiler cannot create executables
3286 See \`config.log' for more details." "$LINENO" 5; }; }
3287 fi
3288 ac_exeext=$ac_cv_exeext
3289
3290 # Check that the compiler produces executables we can run.  If not, either
3291 # the compiler is broken, or we cross compile.
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3293 $as_echo_n "checking whether the C compiler works... " >&6; }
3294 # If not cross compiling, check that we can run a simple program.
3295 if test "$cross_compiling" != yes; then
3296   if { ac_try='./$ac_file'
3297   { { case "(($ac_try" in
3298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3299   *) ac_try_echo=$ac_try;;
3300 esac
3301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3302 $as_echo "$ac_try_echo"; } >&5
3303   (eval "$ac_try") 2>&5
3304   ac_status=$?
3305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3306   test $ac_status = 0; }; }; then
3307     cross_compiling=no
3308   else
3309     if test "$cross_compiling" = maybe; then
3310         cross_compiling=yes
3311     else
3312         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314 as_fn_error "cannot run C compiled programs.
3315 If you meant to cross compile, use \`--host'.
3316 See \`config.log' for more details." "$LINENO" 5; }
3317     fi
3318   fi
3319 fi
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3321 $as_echo "yes" >&6; }
3322
3323 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3324 ac_clean_files=$ac_clean_files_save
3325 # Check that the compiler produces executables we can run.  If not, either
3326 # the compiler is broken, or we cross compile.
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3328 $as_echo_n "checking whether we are cross compiling... " >&6; }
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3330 $as_echo "$cross_compiling" >&6; }
3331
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3333 $as_echo_n "checking for suffix of executables... " >&6; }
3334 if { { ac_try="$ac_link"
3335 case "(($ac_try" in
3336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337   *) ac_try_echo=$ac_try;;
3338 esac
3339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3340 $as_echo "$ac_try_echo"; } >&5
3341   (eval "$ac_link") 2>&5
3342   ac_status=$?
3343   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3344   test $ac_status = 0; }; then :
3345   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3346 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3347 # work properly (i.e., refer to `conftest.exe'), while it won't with
3348 # `rm'.
3349 for ac_file in conftest.exe conftest conftest.*; do
3350   test -f "$ac_file" || continue
3351   case $ac_file in
3352     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3353     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3354           break;;
3355     * ) break;;
3356   esac
3357 done
3358 else
3359   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3361 as_fn_error "cannot compute suffix of executables: cannot compile and link
3362 See \`config.log' for more details." "$LINENO" 5; }
3363 fi
3364 rm -f conftest$ac_cv_exeext
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3366 $as_echo "$ac_cv_exeext" >&6; }
3367
3368 rm -f conftest.$ac_ext
3369 EXEEXT=$ac_cv_exeext
3370 ac_exeext=$EXEEXT
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3372 $as_echo_n "checking for suffix of object files... " >&6; }
3373 if test "${ac_cv_objext+set}" = set; then :
3374   $as_echo_n "(cached) " >&6
3375 else
3376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h.  */
3378
3379 int
3380 main ()
3381 {
3382
3383   ;
3384   return 0;
3385 }
3386 _ACEOF
3387 rm -f conftest.o conftest.obj
3388 if { { ac_try="$ac_compile"
3389 case "(($ac_try" in
3390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391   *) ac_try_echo=$ac_try;;
3392 esac
3393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3394 $as_echo "$ac_try_echo"; } >&5
3395   (eval "$ac_compile") 2>&5
3396   ac_status=$?
3397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398   test $ac_status = 0; }; then :
3399   for ac_file in conftest.o conftest.obj conftest.*; do
3400   test -f "$ac_file" || continue;
3401   case $ac_file in
3402     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3403     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3404        break;;
3405   esac
3406 done
3407 else
3408   $as_echo "$as_me: failed program was:" >&5
3409 sed 's/^/| /' conftest.$ac_ext >&5
3410
3411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error "cannot compute suffix of object files: cannot compile
3414 See \`config.log' for more details." "$LINENO" 5; }
3415 fi
3416 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3417 fi
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3419 $as_echo "$ac_cv_objext" >&6; }
3420 OBJEXT=$ac_cv_objext
3421 ac_objext=$OBJEXT
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3423 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3424 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3425   $as_echo_n "(cached) " >&6
3426 else
3427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h.  */
3429
3430 int
3431 main ()
3432 {
3433 #ifndef __GNUC__
3434        choke me
3435 #endif
3436
3437   ;
3438   return 0;
3439 }
3440 _ACEOF
3441 if ac_fn_c_try_compile "$LINENO"; then :
3442   ac_compiler_gnu=yes
3443 else
3444   ac_compiler_gnu=no
3445 fi
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3448
3449 fi
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3451 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3452 if test $ac_compiler_gnu = yes; then
3453   GCC=yes
3454 else
3455   GCC=
3456 fi
3457 ac_test_CFLAGS=${CFLAGS+set}
3458 ac_save_CFLAGS=$CFLAGS
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3460 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3461 if test "${ac_cv_prog_cc_g+set}" = set; then :
3462   $as_echo_n "(cached) " >&6
3463 else
3464   ac_save_c_werror_flag=$ac_c_werror_flag
3465    ac_c_werror_flag=yes
3466    ac_cv_prog_cc_g=no
3467    CFLAGS="-g"
3468    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h.  */
3470
3471 int
3472 main ()
3473 {
3474
3475   ;
3476   return 0;
3477 }
3478 _ACEOF
3479 if ac_fn_c_try_compile "$LINENO"; then :
3480   ac_cv_prog_cc_g=yes
3481 else
3482   CFLAGS=""
3483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484 /* end confdefs.h.  */
3485
3486 int
3487 main ()
3488 {
3489
3490   ;
3491   return 0;
3492 }
3493 _ACEOF
3494 if ac_fn_c_try_compile "$LINENO"; then :
3495
3496 else
3497   ac_c_werror_flag=$ac_save_c_werror_flag
3498          CFLAGS="-g"
3499          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3500 /* end confdefs.h.  */
3501
3502 int
3503 main ()
3504 {
3505
3506   ;
3507   return 0;
3508 }
3509 _ACEOF
3510 if ac_fn_c_try_compile "$LINENO"; then :
3511   ac_cv_prog_cc_g=yes
3512 fi
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 fi
3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3516 fi
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518    ac_c_werror_flag=$ac_save_c_werror_flag
3519 fi
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3521 $as_echo "$ac_cv_prog_cc_g" >&6; }
3522 if test "$ac_test_CFLAGS" = set; then
3523   CFLAGS=$ac_save_CFLAGS
3524 elif test $ac_cv_prog_cc_g = yes; then
3525   if test "$GCC" = yes; then
3526     CFLAGS="-g -O2"
3527   else
3528     CFLAGS="-g"
3529   fi
3530 else
3531   if test "$GCC" = yes; then
3532     CFLAGS="-O2"
3533   else
3534     CFLAGS=
3535   fi
3536 fi
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3538 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3539 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3540   $as_echo_n "(cached) " >&6
3541 else
3542   ac_cv_prog_cc_c89=no
3543 ac_save_CC=$CC
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h.  */
3546 #include <stdarg.h>
3547 #include <stdio.h>
3548 #include <sys/types.h>
3549 #include <sys/stat.h>
3550 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3551 struct buf { int x; };
3552 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3553 static char *e (p, i)
3554      char **p;
3555      int i;
3556 {
3557   return p[i];
3558 }
3559 static char *f (char * (*g) (char **, int), char **p, ...)
3560 {
3561   char *s;
3562   va_list v;
3563   va_start (v,p);
3564   s = g (p, va_arg (v,int));
3565   va_end (v);
3566   return s;
3567 }
3568
3569 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3570    function prototypes and stuff, but not '\xHH' hex character constants.
3571    These don't provoke an error unfortunately, instead are silently treated
3572    as 'x'.  The following induces an error, until -std is added to get
3573    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3574    array size at least.  It's necessary to write '\x00'==0 to get something
3575    that's true only with -std.  */
3576 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3577
3578 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3579    inside strings and character constants.  */
3580 #define FOO(x) 'x'
3581 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3582
3583 int test (int i, double x);
3584 struct s1 {int (*f) (int a);};
3585 struct s2 {int (*f) (double a);};
3586 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3587 int argc;
3588 char **argv;
3589 int
3590 main ()
3591 {
3592 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3593   ;
3594   return 0;
3595 }
3596 _ACEOF
3597 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3598         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3599 do
3600   CC="$ac_save_CC $ac_arg"
3601   if ac_fn_c_try_compile "$LINENO"; then :
3602   ac_cv_prog_cc_c89=$ac_arg
3603 fi
3604 rm -f core conftest.err conftest.$ac_objext
3605   test "x$ac_cv_prog_cc_c89" != "xno" && break
3606 done
3607 rm -f conftest.$ac_ext
3608 CC=$ac_save_CC
3609
3610 fi
3611 # AC_CACHE_VAL
3612 case "x$ac_cv_prog_cc_c89" in
3613   x)
3614     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3615 $as_echo "none needed" >&6; } ;;
3616   xno)
3617     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3618 $as_echo "unsupported" >&6; } ;;
3619   *)
3620     CC="$CC $ac_cv_prog_cc_c89"
3621     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3622 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3623 esac
3624 if test "x$ac_cv_prog_cc_c89" != xno; then :
3625
3626 fi
3627
3628 ac_ext=c
3629 ac_cpp='$CPP $CPPFLAGS'
3630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3633
3634 depcc="$CC"   am_compiler_list=
3635
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3637 $as_echo_n "checking dependency style of $depcc... " >&6; }
3638 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3639   $as_echo_n "(cached) " >&6
3640 else
3641   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3642   # We make a subdir and do the tests there.  Otherwise we can end up
3643   # making bogus files that we don't know about and never remove.  For
3644   # instance it was reported that on HP-UX the gcc test will end up
3645   # making a dummy file named `D' -- because `-MD' means `put the output
3646   # in D'.
3647   mkdir conftest.dir
3648   # Copy depcomp to subdir because otherwise we won't find it if we're
3649   # using a relative directory.
3650   cp "$am_depcomp" conftest.dir
3651   cd conftest.dir
3652   # We will build objects and dependencies in a subdirectory because
3653   # it helps to detect inapplicable dependency modes.  For instance
3654   # both Tru64's cc and ICC support -MD to output dependencies as a
3655   # side effect of compilation, but ICC will put the dependencies in
3656   # the current directory while Tru64 will put them in the object
3657   # directory.
3658   mkdir sub
3659
3660   am_cv_CC_dependencies_compiler_type=none
3661   if test "$am_compiler_list" = ""; then
3662      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3663   fi
3664   for depmode in $am_compiler_list; do
3665     # Setup a source with many dependencies, because some compilers
3666     # like to wrap large dependency lists on column 80 (with \), and
3667     # we should not choose a depcomp mode which is confused by this.
3668     #
3669     # We need to recreate these files for each test, as the compiler may
3670     # overwrite some of them when testing with obscure command lines.
3671     # This happens at least with the AIX C compiler.
3672     : > sub/conftest.c
3673     for i in 1 2 3 4 5 6; do
3674       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3675       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3676       # Solaris 8's {/usr,}/bin/sh.
3677       touch sub/conftst$i.h
3678     done
3679     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3680
3681     case $depmode in
3682     nosideeffect)
3683       # after this tag, mechanisms are not by side-effect, so they'll
3684       # only be used when explicitly requested
3685       if test "x$enable_dependency_tracking" = xyes; then
3686         continue
3687       else
3688         break
3689       fi
3690       ;;
3691     none) break ;;
3692     esac
3693     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3694     # mode.  It turns out that the SunPro C++ compiler does not properly
3695     # handle `-M -o', and we need to detect this.
3696     if depmode=$depmode \
3697        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3698        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3699        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3700          >/dev/null 2>conftest.err &&
3701        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3702        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3703        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3704        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3705       # icc doesn't choke on unknown options, it will just issue warnings
3706       # or remarks (even with -Werror).  So we grep stderr for any message
3707       # that says an option was ignored or not supported.
3708       # When given -MP, icc 7.0 and 7.1 complain thusly:
3709       #   icc: Command line warning: ignoring option '-M'; no argument required
3710       # The diagnosis changed in icc 8.0:
3711       #   icc: Command line remark: option '-MP' not supported
3712       if (grep 'ignoring option' conftest.err ||
3713           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3714         am_cv_CC_dependencies_compiler_type=$depmode
3715         break
3716       fi
3717     fi
3718   done
3719
3720   cd ..
3721   rm -rf conftest.dir
3722 else
3723   am_cv_CC_dependencies_compiler_type=none
3724 fi
3725
3726 fi
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3728 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3729 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3730
3731  if
3732   test "x$enable_dependency_tracking" != xno \
3733   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3734   am__fastdepCC_TRUE=
3735   am__fastdepCC_FALSE='#'
3736 else
3737   am__fastdepCC_TRUE='#'
3738   am__fastdepCC_FALSE=
3739 fi
3740
3741
3742 if test "x$CC" != xcc; then
3743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3744 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3745 else
3746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3747 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3748 fi
3749 set dummy $CC; ac_cc=`$as_echo "$2" |
3750                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3751 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
3752   $as_echo_n "(cached) " >&6
3753 else
3754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h.  */
3756
3757 int
3758 main ()
3759 {
3760
3761   ;
3762   return 0;
3763 }
3764 _ACEOF
3765 # Make sure it works both with $CC and with simple cc.
3766 # We do the test twice because some compilers refuse to overwrite an
3767 # existing .o file with -o, though they will create one.
3768 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3769 rm -f conftest2.*
3770 if { { case "(($ac_try" in
3771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3772   *) ac_try_echo=$ac_try;;
3773 esac
3774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3775 $as_echo "$ac_try_echo"; } >&5
3776   (eval "$ac_try") 2>&5
3777   ac_status=$?
3778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3779   test $ac_status = 0; } &&
3780    test -f conftest2.$ac_objext && { { case "(($ac_try" in
3781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3782   *) ac_try_echo=$ac_try;;
3783 esac
3784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3785 $as_echo "$ac_try_echo"; } >&5
3786   (eval "$ac_try") 2>&5
3787   ac_status=$?
3788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3789   test $ac_status = 0; };
3790 then
3791   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3792   if test "x$CC" != xcc; then
3793     # Test first that cc exists at all.
3794     if { ac_try='cc -c conftest.$ac_ext >&5'
3795   { { case "(($ac_try" in
3796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3797   *) ac_try_echo=$ac_try;;
3798 esac
3799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3800 $as_echo "$ac_try_echo"; } >&5
3801   (eval "$ac_try") 2>&5
3802   ac_status=$?
3803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3804   test $ac_status = 0; }; }; then
3805       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3806       rm -f conftest2.*
3807       if { { case "(($ac_try" in
3808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809   *) ac_try_echo=$ac_try;;
3810 esac
3811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3812 $as_echo "$ac_try_echo"; } >&5
3813   (eval "$ac_try") 2>&5
3814   ac_status=$?
3815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3816   test $ac_status = 0; } &&
3817          test -f conftest2.$ac_objext && { { case "(($ac_try" in
3818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3819   *) ac_try_echo=$ac_try;;
3820 esac
3821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3822 $as_echo "$ac_try_echo"; } >&5
3823   (eval "$ac_try") 2>&5
3824   ac_status=$?
3825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3826   test $ac_status = 0; };
3827       then
3828         # cc works too.
3829         :
3830       else
3831         # cc exists but doesn't like -o.
3832         eval ac_cv_prog_cc_${ac_cc}_c_o=no
3833       fi
3834     fi
3835   fi
3836 else
3837   eval ac_cv_prog_cc_${ac_cc}_c_o=no
3838 fi
3839 rm -f core conftest*
3840
3841 fi
3842 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3844 $as_echo "yes" >&6; }
3845 else
3846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847 $as_echo "no" >&6; }
3848
3849 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3850
3851 fi
3852
3853 # FIXME: we rely on the cache variable name because
3854 # there is no other way.
3855 set dummy $CC
3856 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3857 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3858 if test "$am_t" != yes; then
3859    # Losing compiler, so override with the script.
3860    # FIXME: It is wrong to rewrite CC.
3861    # But if we don't then we get into trouble of one sort or another.
3862    # A longer-term fix would be to have automake use am__CC in this case,
3863    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3864    CC="$am_aux_dir/compile $CC"
3865 fi
3866
3867
3868 # By default we simply use the C compiler to build assembly code.
3869
3870 test "${CCAS+set}" = set || CCAS=$CC
3871 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3872
3873
3874
3875 depcc="$CCAS"   am_compiler_list=
3876
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3878 $as_echo_n "checking dependency style of $depcc... " >&6; }
3879 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
3880   $as_echo_n "(cached) " >&6
3881 else
3882   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3883   # We make a subdir and do the tests there.  Otherwise we can end up
3884   # making bogus files that we don't know about and never remove.  For
3885   # instance it was reported that on HP-UX the gcc test will end up
3886   # making a dummy file named `D' -- because `-MD' means `put the output
3887   # in D'.
3888   mkdir conftest.dir
3889   # Copy depcomp to subdir because otherwise we won't find it if we're
3890   # using a relative directory.
3891   cp "$am_depcomp" conftest.dir
3892   cd conftest.dir
3893   # We will build objects and dependencies in a subdirectory because
3894   # it helps to detect inapplicable dependency modes.  For instance
3895   # both Tru64's cc and ICC support -MD to output dependencies as a
3896   # side effect of compilation, but ICC will put the dependencies in
3897   # the current directory while Tru64 will put them in the object
3898   # directory.
3899   mkdir sub
3900
3901   am_cv_CCAS_dependencies_compiler_type=none
3902   if test "$am_compiler_list" = ""; then
3903      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3904   fi
3905   for depmode in $am_compiler_list; do
3906     # Setup a source with many dependencies, because some compilers
3907     # like to wrap large dependency lists on column 80 (with \), and
3908     # we should not choose a depcomp mode which is confused by this.
3909     #
3910     # We need to recreate these files for each test, as the compiler may
3911     # overwrite some of them when testing with obscure command lines.
3912     # This happens at least with the AIX C compiler.
3913     : > sub/conftest.c
3914     for i in 1 2 3 4 5 6; do
3915       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3916       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3917       # Solaris 8's {/usr,}/bin/sh.
3918       touch sub/conftst$i.h
3919     done
3920     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3921
3922     case $depmode in
3923     nosideeffect)
3924       # after this tag, mechanisms are not by side-effect, so they'll
3925       # only be used when explicitly requested
3926       if test "x$enable_dependency_tracking" = xyes; then
3927         continue
3928       else
3929         break
3930       fi
3931       ;;
3932     none) break ;;
3933     esac
3934     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3935     # mode.  It turns out that the SunPro C++ compiler does not properly
3936     # handle `-M -o', and we need to detect this.
3937     if depmode=$depmode \
3938        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3939        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3940        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3941          >/dev/null 2>conftest.err &&
3942        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3943        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3944        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3945        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3946       # icc doesn't choke on unknown options, it will just issue warnings
3947       # or remarks (even with -Werror).  So we grep stderr for any message
3948       # that says an option was ignored or not supported.
3949       # When given -MP, icc 7.0 and 7.1 complain thusly:
3950       #   icc: Command line warning: ignoring option '-M'; no argument required
3951       # The diagnosis changed in icc 8.0:
3952       #   icc: Command line remark: option '-MP' not supported
3953       if (grep 'ignoring option' conftest.err ||
3954           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3955         am_cv_CCAS_dependencies_compiler_type=$depmode
3956         break
3957       fi
3958     fi
3959   done
3960
3961   cd ..
3962   rm -rf conftest.dir
3963 else
3964   am_cv_CCAS_dependencies_compiler_type=none
3965 fi
3966
3967 fi
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3969 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3970 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3971
3972  if
3973   test "x$enable_dependency_tracking" != xno \
3974   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3975   am__fastdepCCAS_TRUE=
3976   am__fastdepCCAS_FALSE='#'
3977 else
3978   am__fastdepCCAS_TRUE='#'
3979   am__fastdepCCAS_FALSE=
3980 fi
3981
3982
3983
3984 # Checks for functions.
3985
3986 ac_ext=c
3987 ac_cpp='$CPP $CPPFLAGS'
3988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3992 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3993 # On Suns, sometimes $CPP names a directory.
3994 if test -n "$CPP" && test -d "$CPP"; then
3995   CPP=
3996 fi
3997 if test -z "$CPP"; then
3998   if test "${ac_cv_prog_CPP+set}" = set; then :
3999   $as_echo_n "(cached) " >&6
4000 else
4001       # Double quotes because CPP needs to be expanded
4002     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4003     do
4004       ac_preproc_ok=false
4005 for ac_c_preproc_warn_flag in '' yes
4006 do
4007   # Use a header file that comes with gcc, so configuring glibc
4008   # with a fresh cross-compiler works.
4009   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4010   # <limits.h> exists even on freestanding compilers.
4011   # On the NeXT, cc -E runs the code through the compiler's parser,
4012   # not just through cpp. "Syntax error" is here to catch this case.
4013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h.  */
4015 #ifdef __STDC__
4016 # include <limits.h>
4017 #else
4018 # include <assert.h>
4019 #endif
4020                      Syntax error
4021 _ACEOF
4022 if ac_fn_c_try_cpp "$LINENO"; then :
4023
4024 else
4025   # Broken: fails on valid input.
4026 continue
4027 fi
4028 rm -f conftest.err conftest.$ac_ext
4029
4030   # OK, works on sane cases.  Now check whether nonexistent headers
4031   # can be detected and how.
4032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h.  */
4034 #include <ac_nonexistent.h>
4035 _ACEOF
4036 if ac_fn_c_try_cpp "$LINENO"; then :
4037   # Broken: success on invalid input.
4038 continue
4039 else
4040   # Passes both tests.
4041 ac_preproc_ok=:
4042 break
4043 fi
4044 rm -f conftest.err conftest.$ac_ext
4045
4046 done
4047 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4048 rm -f conftest.err conftest.$ac_ext
4049 if $ac_preproc_ok; then :
4050   break
4051 fi
4052
4053     done
4054     ac_cv_prog_CPP=$CPP
4055
4056 fi
4057   CPP=$ac_cv_prog_CPP
4058 else
4059   ac_cv_prog_CPP=$CPP
4060 fi
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4062 $as_echo "$CPP" >&6; }
4063 ac_preproc_ok=false
4064 for ac_c_preproc_warn_flag in '' yes
4065 do
4066   # Use a header file that comes with gcc, so configuring glibc
4067   # with a fresh cross-compiler works.
4068   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4069   # <limits.h> exists even on freestanding compilers.
4070   # On the NeXT, cc -E runs the code through the compiler's parser,
4071   # not just through cpp. "Syntax error" is here to catch this case.
4072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h.  */
4074 #ifdef __STDC__
4075 # include <limits.h>
4076 #else
4077 # include <assert.h>
4078 #endif
4079                      Syntax error
4080 _ACEOF
4081 if ac_fn_c_try_cpp "$LINENO"; then :
4082
4083 else
4084   # Broken: fails on valid input.
4085 continue
4086 fi
4087 rm -f conftest.err conftest.$ac_ext
4088
4089   # OK, works on sane cases.  Now check whether nonexistent headers
4090   # can be detected and how.
4091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h.  */
4093 #include <ac_nonexistent.h>
4094 _ACEOF
4095 if ac_fn_c_try_cpp "$LINENO"; then :
4096   # Broken: success on invalid input.
4097 continue
4098 else
4099   # Passes both tests.
4100 ac_preproc_ok=:
4101 break
4102 fi
4103 rm -f conftest.err conftest.$ac_ext
4104
4105 done
4106 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4107 rm -f conftest.err conftest.$ac_ext
4108 if $ac_preproc_ok; then :
4109
4110 else
4111   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4114 See \`config.log' for more details." "$LINENO" 5; }
4115 fi
4116
4117 ac_ext=c
4118 ac_cpp='$CPP $CPPFLAGS'
4119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4122
4123
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4125 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4126 if test "${ac_cv_path_GREP+set}" = set; then :
4127   $as_echo_n "(cached) " >&6
4128 else
4129   if test -z "$GREP"; then
4130   ac_path_GREP_found=false
4131   # Loop through the user's path and test for each of PROGNAME-LIST
4132   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4134 do
4135   IFS=$as_save_IFS
4136   test -z "$as_dir" && as_dir=.
4137     for ac_prog in grep ggrep; do
4138     for ac_exec_ext in '' $ac_executable_extensions; do
4139       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4140       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4141 # Check for GNU ac_path_GREP and select it if it is found.
4142   # Check for GNU $ac_path_GREP
4143 case `"$ac_path_GREP" --version 2>&1` in
4144 *GNU*)
4145   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4146 *)
4147   ac_count=0
4148   $as_echo_n 0123456789 >"conftest.in"
4149   while :
4150   do
4151     cat "conftest.in" "conftest.in" >"conftest.tmp"
4152     mv "conftest.tmp" "conftest.in"
4153     cp "conftest.in" "conftest.nl"
4154     $as_echo 'GREP' >> "conftest.nl"
4155     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4156     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4157     as_fn_arith $ac_count + 1 && ac_count=$as_val
4158     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4159       # Best one so far, save it but keep looking for a better one
4160       ac_cv_path_GREP="$ac_path_GREP"
4161       ac_path_GREP_max=$ac_count
4162     fi
4163     # 10*(2^10) chars as input seems more than enough
4164     test $ac_count -gt 10 && break
4165   done
4166   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4167 esac
4168
4169       $ac_path_GREP_found && break 3
4170     done
4171   done
4172   done
4173 IFS=$as_save_IFS
4174   if test -z "$ac_cv_path_GREP"; then
4175     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4176   fi
4177 else
4178   ac_cv_path_GREP=$GREP
4179 fi
4180
4181 fi
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4183 $as_echo "$ac_cv_path_GREP" >&6; }
4184  GREP="$ac_cv_path_GREP"
4185
4186
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4188 $as_echo_n "checking for egrep... " >&6; }
4189 if test "${ac_cv_path_EGREP+set}" = set; then :
4190   $as_echo_n "(cached) " >&6
4191 else
4192   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4193    then ac_cv_path_EGREP="$GREP -E"
4194    else
4195      if test -z "$EGREP"; then
4196   ac_path_EGREP_found=false
4197   # Loop through the user's path and test for each of PROGNAME-LIST
4198   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4199 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4200 do
4201   IFS=$as_save_IFS
4202   test -z "$as_dir" && as_dir=.
4203     for ac_prog in egrep; do
4204     for ac_exec_ext in '' $ac_executable_extensions; do
4205       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4206       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4207 # Check for GNU ac_path_EGREP and select it if it is found.
4208   # Check for GNU $ac_path_EGREP
4209 case `"$ac_path_EGREP" --version 2>&1` in
4210 *GNU*)
4211   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4212 *)
4213   ac_count=0
4214   $as_echo_n 0123456789 >"conftest.in"
4215   while :
4216   do
4217     cat "conftest.in" "conftest.in" >"conftest.tmp"
4218     mv "conftest.tmp" "conftest.in"
4219     cp "conftest.in" "conftest.nl"
4220     $as_echo 'EGREP' >> "conftest.nl"
4221     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4222     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4223     as_fn_arith $ac_count + 1 && ac_count=$as_val
4224     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4225       # Best one so far, save it but keep looking for a better one
4226       ac_cv_path_EGREP="$ac_path_EGREP"
4227       ac_path_EGREP_max=$ac_count
4228     fi
4229     # 10*(2^10) chars as input seems more than enough
4230     test $ac_count -gt 10 && break
4231   done
4232   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4233 esac
4234
4235       $ac_path_EGREP_found && break 3
4236     done
4237   done
4238   done
4239 IFS=$as_save_IFS
4240   if test -z "$ac_cv_path_EGREP"; then
4241     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4242   fi
4243 else
4244   ac_cv_path_EGREP=$EGREP
4245 fi
4246
4247    fi
4248 fi
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4250 $as_echo "$ac_cv_path_EGREP" >&6; }
4251  EGREP="$ac_cv_path_EGREP"
4252
4253
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4255 $as_echo_n "checking for ANSI C header files... " >&6; }
4256 if test "${ac_cv_header_stdc+set}" = set; then :
4257   $as_echo_n "(cached) " >&6
4258 else
4259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h.  */
4261 #include <stdlib.h>
4262 #include <stdarg.h>
4263 #include <string.h>
4264 #include <float.h>
4265
4266 int
4267 main ()
4268 {
4269
4270   ;
4271   return 0;
4272 }
4273 _ACEOF
4274 if ac_fn_c_try_compile "$LINENO"; then :
4275   ac_cv_header_stdc=yes
4276 else
4277   ac_cv_header_stdc=no
4278 fi
4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4280
4281 if test $ac_cv_header_stdc = yes; then
4282   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h.  */
4285 #include <string.h>
4286
4287 _ACEOF
4288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4289   $EGREP "memchr" >/dev/null 2>&1; then :
4290
4291 else
4292   ac_cv_header_stdc=no
4293 fi
4294 rm -f conftest*
4295
4296 fi
4297
4298 if test $ac_cv_header_stdc = yes; then
4299   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4301 /* end confdefs.h.  */
4302 #include <stdlib.h>
4303
4304 _ACEOF
4305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4306   $EGREP "free" >/dev/null 2>&1; then :
4307
4308 else
4309   ac_cv_header_stdc=no
4310 fi
4311 rm -f conftest*
4312
4313 fi
4314
4315 if test $ac_cv_header_stdc = yes; then
4316   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4317   if test "$cross_compiling" = yes; then :
4318   :
4319 else
4320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h.  */
4322 #include <ctype.h>
4323 #include <stdlib.h>
4324 #if ((' ' & 0x0FF) == 0x020)
4325 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4326 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4327 #else
4328 # define ISLOWER(c) \
4329                    (('a' <= (c) && (c) <= 'i') \
4330                      || ('j' <= (c) && (c) <= 'r') \
4331                      || ('s' <= (c) && (c) <= 'z'))
4332 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4333 #endif
4334
4335 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4336 int
4337 main ()
4338 {
4339   int i;
4340   for (i = 0; i < 256; i++)
4341     if (XOR (islower (i), ISLOWER (i))
4342         || toupper (i) != TOUPPER (i))
4343       return 2;
4344   return 0;
4345 }
4346 _ACEOF
4347 if ac_fn_c_try_run "$LINENO"; then :
4348
4349 else
4350   ac_cv_header_stdc=no
4351 fi
4352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4353   conftest.$ac_objext conftest.beam conftest.$ac_ext
4354 fi
4355
4356 fi
4357 fi
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4359 $as_echo "$ac_cv_header_stdc" >&6; }
4360 if test $ac_cv_header_stdc = yes; then
4361
4362 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4363
4364 fi
4365
4366 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4367 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4368                   inttypes.h stdint.h unistd.h
4369 do :
4370   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4371 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4372 "
4373 eval as_val=\$$as_ac_Header
4374    if test "x$as_val" = x""yes; then :
4375   cat >>confdefs.h <<_ACEOF
4376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4377 _ACEOF
4378
4379 fi
4380
4381 done
4382
4383
4384 for ac_header in stdlib.h unistd.h
4385 do :
4386   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4387 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4388 eval as_val=\$$as_ac_Header
4389    if test "x$as_val" = x""yes; then :
4390   cat >>confdefs.h <<_ACEOF
4391 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4392 _ACEOF
4393
4394 fi
4395
4396 done
4397
4398 for ac_func in getpagesize
4399 do :
4400   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4401 if test "x$ac_cv_func_getpagesize" = x""yes; then :
4402   cat >>confdefs.h <<_ACEOF
4403 #define HAVE_GETPAGESIZE 1
4404 _ACEOF
4405
4406 fi
4407 done
4408
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4410 $as_echo_n "checking for working mmap... " >&6; }
4411 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
4412   $as_echo_n "(cached) " >&6
4413 else
4414   if test "$cross_compiling" = yes; then :
4415   ac_cv_func_mmap_fixed_mapped=no
4416 else
4417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4418 /* end confdefs.h.  */
4419 $ac_includes_default
4420 /* malloc might have been renamed as rpl_malloc. */
4421 #undef malloc
4422
4423 /* Thanks to Mike Haertel and Jim Avera for this test.
4424    Here is a matrix of mmap possibilities:
4425         mmap private not fixed
4426         mmap private fixed at somewhere currently unmapped
4427         mmap private fixed at somewhere already mapped
4428         mmap shared not fixed
4429         mmap shared fixed at somewhere currently unmapped
4430         mmap shared fixed at somewhere already mapped
4431    For private mappings, we should verify that changes cannot be read()
4432    back from the file, nor mmap's back from the file at a different
4433    address.  (There have been systems where private was not correctly
4434    implemented like the infamous i386 svr4.0, and systems where the
4435    VM page cache was not coherent with the file system buffer cache
4436    like early versions of FreeBSD and possibly contemporary NetBSD.)
4437    For shared mappings, we should conversely verify that changes get
4438    propagated back to all the places they're supposed to be.
4439
4440    Grep wants private fixed already mapped.
4441    The main things grep needs to know about mmap are:
4442    * does it exist and is it safe to write into the mmap'd area
4443    * how to use it (BSD variants)  */
4444
4445 #include <fcntl.h>
4446 #include <sys/mman.h>
4447
4448 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4449 char *malloc ();
4450 #endif
4451
4452 /* This mess was copied from the GNU getpagesize.h.  */
4453 #ifndef HAVE_GETPAGESIZE
4454 /* Assume that all systems that can run configure have sys/param.h.  */
4455 # ifndef HAVE_SYS_PARAM_H
4456 #  define HAVE_SYS_PARAM_H 1
4457 # endif
4458
4459 # ifdef _SC_PAGESIZE
4460 #  define getpagesize() sysconf(_SC_PAGESIZE)
4461 # else /* no _SC_PAGESIZE */
4462 #  ifdef HAVE_SYS_PARAM_H
4463 #   include <sys/param.h>
4464 #   ifdef EXEC_PAGESIZE
4465 #    define getpagesize() EXEC_PAGESIZE
4466 #   else /* no EXEC_PAGESIZE */
4467 #    ifdef NBPG
4468 #     define getpagesize() NBPG * CLSIZE
4469 #     ifndef CLSIZE
4470 #      define CLSIZE 1
4471 #     endif /* no CLSIZE */
4472 #    else /* no NBPG */
4473 #     ifdef NBPC
4474 #      define getpagesize() NBPC
4475 #     else /* no NBPC */
4476 #      ifdef PAGESIZE
4477 #       define getpagesize() PAGESIZE
4478 #      endif /* PAGESIZE */
4479 #     endif /* no NBPC */
4480 #    endif /* no NBPG */
4481 #   endif /* no EXEC_PAGESIZE */
4482 #  else /* no HAVE_SYS_PARAM_H */
4483 #   define getpagesize() 8192   /* punt totally */
4484 #  endif /* no HAVE_SYS_PARAM_H */
4485 # endif /* no _SC_PAGESIZE */
4486
4487 #endif /* no HAVE_GETPAGESIZE */
4488
4489 int
4490 main ()
4491 {
4492   char *data, *data2, *data3;
4493   int i, pagesize;
4494   int fd;
4495
4496   pagesize = getpagesize ();
4497
4498   /* First, make a file with some known garbage in it. */
4499   data = (char *) malloc (pagesize);
4500   if (!data)
4501     return 1;
4502   for (i = 0; i < pagesize; ++i)
4503     *(data + i) = rand ();
4504   umask (0);
4505   fd = creat ("conftest.mmap", 0600);
4506   if (fd < 0)
4507     return 1;
4508   if (write (fd, data, pagesize) != pagesize)
4509     return 1;
4510   close (fd);
4511
4512   /* Next, try to mmap the file at a fixed address which already has
4513      something else allocated at it.  If we can, also make sure that
4514      we see the same garbage.  */
4515   fd = open ("conftest.mmap", O_RDWR);
4516   if (fd < 0)
4517     return 1;
4518   data2 = (char *) malloc (2 * pagesize);
4519   if (!data2)
4520     return 1;
4521   data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
4522   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4523                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
4524     return 1;
4525   for (i = 0; i < pagesize; ++i)
4526     if (*(data + i) != *(data2 + i))
4527       return 1;
4528
4529   /* Finally, make sure that changes to the mapped area do not
4530      percolate back to the file as seen by read().  (This is a bug on
4531      some variants of i386 svr4.0.)  */
4532   for (i = 0; i < pagesize; ++i)
4533     *(data2 + i) = *(data2 + i) + 1;
4534   data3 = (char *) malloc (pagesize);
4535   if (!data3)
4536     return 1;
4537   if (read (fd, data3, pagesize) != pagesize)
4538     return 1;
4539   for (i = 0; i < pagesize; ++i)
4540     if (*(data + i) != *(data3 + i))
4541       return 1;
4542   close (fd);
4543   return 0;
4544 }
4545 _ACEOF
4546 if ac_fn_c_try_run "$LINENO"; then :
4547   ac_cv_func_mmap_fixed_mapped=yes
4548 else
4549   ac_cv_func_mmap_fixed_mapped=no
4550 fi
4551 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4552   conftest.$ac_objext conftest.beam conftest.$ac_ext
4553 fi
4554
4555 fi
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4557 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4558 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4559
4560 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4561
4562 fi
4563 rm -f conftest.mmap
4564
4565
4566 # Checks for header files.
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4568 $as_echo_n "checking for ANSI C header files... " >&6; }
4569 if test "${ac_cv_header_stdc+set}" = set; then :
4570   $as_echo_n "(cached) " >&6
4571 else
4572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h.  */
4574 #include <stdlib.h>
4575 #include <stdarg.h>
4576 #include <string.h>
4577 #include <float.h>
4578
4579 int
4580 main ()
4581 {
4582
4583   ;
4584   return 0;
4585 }
4586 _ACEOF
4587 if ac_fn_c_try_compile "$LINENO"; then :
4588   ac_cv_header_stdc=yes
4589 else
4590   ac_cv_header_stdc=no
4591 fi
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4593
4594 if test $ac_cv_header_stdc = yes; then
4595   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h.  */
4598 #include <string.h>
4599
4600 _ACEOF
4601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4602   $EGREP "memchr" >/dev/null 2>&1; then :
4603
4604 else
4605   ac_cv_header_stdc=no
4606 fi
4607 rm -f conftest*
4608
4609 fi
4610
4611 if test $ac_cv_header_stdc = yes; then
4612   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614 /* end confdefs.h.  */
4615 #include <stdlib.h>
4616
4617 _ACEOF
4618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4619   $EGREP "free" >/dev/null 2>&1; then :
4620
4621 else
4622   ac_cv_header_stdc=no
4623 fi
4624 rm -f conftest*
4625
4626 fi
4627
4628 if test $ac_cv_header_stdc = yes; then
4629   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4630   if test "$cross_compiling" = yes; then :
4631   :
4632 else
4633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h.  */
4635 #include <ctype.h>
4636 #include <stdlib.h>
4637 #if ((' ' & 0x0FF) == 0x020)
4638 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4639 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4640 #else
4641 # define ISLOWER(c) \
4642                    (('a' <= (c) && (c) <= 'i') \
4643                      || ('j' <= (c) && (c) <= 'r') \
4644                      || ('s' <= (c) && (c) <= 'z'))
4645 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4646 #endif
4647
4648 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4649 int
4650 main ()
4651 {
4652   int i;
4653   for (i = 0; i < 256; i++)
4654     if (XOR (islower (i), ISLOWER (i))
4655         || toupper (i) != TOUPPER (i))
4656       return 2;
4657   return 0;
4658 }
4659 _ACEOF
4660 if ac_fn_c_try_run "$LINENO"; then :
4661
4662 else
4663   ac_cv_header_stdc=no
4664 fi
4665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4666   conftest.$ac_objext conftest.beam conftest.$ac_ext
4667 fi
4668
4669 fi
4670 fi
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4672 $as_echo "$ac_cv_header_stdc" >&6; }
4673 if test $ac_cv_header_stdc = yes; then
4674
4675 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4676
4677 fi
4678
4679 # AC_CHECK_HEADERS([ ])
4680
4681 # Determine PIC flag, adjust default CFLAGS
4682 need_asm=false
4683 PICFLAG=
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Determining PIC compiler flag" >&5
4685 $as_echo_n "checking Determining PIC compiler flag... " >&6; }
4686 if test "$GCC" = yes; then
4687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -fPIC" >&5
4688 $as_echo "-fPIC" >&6; }
4689   PICFLAG=-fPIC
4690 else
4691   case "$host" in
4692     *-*-hpux*)
4693       { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"+Z\"" >&5
4694 $as_echo "\"+Z\"" >&6; }
4695       PICFLAG="+Z"
4696       if test "$GCC" != yes; then
4697         CFLAGS="$CFLAGS +O2 -mt"
4698       fi
4699       ;;
4700     *-*-solaris*)
4701       { $as_echo "$as_me:${as_lineno-$LINENO}: result: -Kpic" >&5
4702 $as_echo "-Kpic" >&6; }
4703       PICFLAG=-Kpic
4704       if test "$GCC" != yes; then
4705         CFLAGS="$CFLAGS -O"
4706         need_asm=true
4707       fi
4708       ;;
4709     *-*-linux*)
4710       { $as_echo "$as_me:${as_lineno-$LINENO}: result: -fPIC" >&5
4711 $as_echo "-fPIC" >&6; }
4712       PICFLAG=-fPIC
4713       # Any Linux compiler had better be gcc compatible.
4714       ;;
4715     *)
4716       { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"<none>\"" >&5
4717 $as_echo "\"<none>\"" >&6; }
4718       ;;
4719   esac
4720 fi
4721 CFLAGS="$CFLAGS -DNDEBUG"
4722
4723
4724
4725
4726  if test x$need_asm = xtrue; then
4727   NEED_ASM_TRUE=
4728   NEED_ASM_FALSE='#'
4729 else
4730   NEED_ASM_TRUE='#'
4731   NEED_ASM_FALSE=
4732 fi
4733
4734
4735 ac_config_files="$ac_config_files Makefile src/Makefile src/atomic_ops/Makefile src/atomic_ops/sysdeps/Makefile doc/Makefile tests/Makefile"
4736
4737 ac_config_commands="$ac_config_commands default"
4738
4739 cat >confcache <<\_ACEOF
4740 # This file is a shell script that caches the results of configure
4741 # tests run on this system so they can be shared between configure
4742 # scripts and configure runs, see configure's option --config-cache.
4743 # It is not useful on other systems.  If it contains results you don't
4744 # want to keep, you may remove or edit it.
4745 #
4746 # config.status only pays attention to the cache file if you give it
4747 # the --recheck option to rerun configure.
4748 #
4749 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4750 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4751 # following values.
4752
4753 _ACEOF
4754
4755 # The following way of writing the cache mishandles newlines in values,
4756 # but we know of no workaround that is simple, portable, and efficient.
4757 # So, we kill variables containing newlines.
4758 # Ultrix sh set writes to stderr and can't be redirected directly,
4759 # and sets the high bit in the cache file unless we assign to the vars.
4760 (
4761   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4762     eval ac_val=\$$ac_var
4763     case $ac_val in #(
4764     *${as_nl}*)
4765       case $ac_var in #(
4766       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4767 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4768       esac
4769       case $ac_var in #(
4770       _ | IFS | as_nl) ;; #(
4771       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4772       *) { eval $ac_var=; unset $ac_var;} ;;
4773       esac ;;
4774     esac
4775   done
4776
4777   (set) 2>&1 |
4778     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4779     *${as_nl}ac_space=\ *)
4780       # `set' does not quote correctly, so add quotes: double-quote
4781       # substitution turns \\\\ into \\, and sed turns \\ into \.
4782       sed -n \
4783         "s/'/'\\\\''/g;
4784           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4785       ;; #(
4786     *)
4787       # `set' quotes correctly as required by POSIX, so do not add quotes.
4788       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4789       ;;
4790     esac |
4791     sort
4792 ) |
4793   sed '
4794      /^ac_cv_env_/b end
4795      t clear
4796      :clear
4797      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4798      t end
4799      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4800      :end' >>confcache
4801 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4802   if test -w "$cache_file"; then
4803     test "x$cache_file" != "x/dev/null" &&
4804       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4805 $as_echo "$as_me: updating cache $cache_file" >&6;}
4806     cat confcache >$cache_file
4807   else
4808     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4809 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4810   fi
4811 fi
4812 rm -f confcache
4813
4814 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4815 # Let make expand exec_prefix.
4816 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4817
4818 DEFS=-DHAVE_CONFIG_H
4819
4820 ac_libobjs=
4821 ac_ltlibobjs=
4822 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4823   # 1. Remove the extension, and $U if already installed.
4824   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4825   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4826   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4827   #    will be set to the directory where LIBOBJS objects are built.
4828   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4829   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4830 done
4831 LIBOBJS=$ac_libobjs
4832
4833 LTLIBOBJS=$ac_ltlibobjs
4834
4835
4836 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4837   as_fn_error "conditional \"AMDEP\" was never defined.
4838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4839 fi
4840 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4841   as_fn_error "conditional \"am__fastdepCC\" was never defined.
4842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4843 fi
4844 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
4845   as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
4846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4847 fi
4848 if test -z "${NEED_ASM_TRUE}" && test -z "${NEED_ASM_FALSE}"; then
4849   as_fn_error "conditional \"NEED_ASM\" was never defined.
4850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4851 fi
4852
4853 : ${CONFIG_STATUS=./config.status}
4854 ac_write_fail=0
4855 ac_clean_files_save=$ac_clean_files
4856 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4858 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4859 as_write_fail=0
4860 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4861 #! $SHELL
4862 # Generated by $as_me.
4863 # Run this file to recreate the current configuration.
4864 # Compiler output produced by configure, useful for debugging
4865 # configure, is in config.log if it exists.
4866
4867 debug=false
4868 ac_cs_recheck=false
4869 ac_cs_silent=false
4870
4871 SHELL=\${CONFIG_SHELL-$SHELL}
4872 export SHELL
4873 _ASEOF
4874 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4875 ## -------------------- ##
4876 ## M4sh Initialization. ##
4877 ## -------------------- ##
4878
4879 # Be more Bourne compatible
4880 DUALCASE=1; export DUALCASE # for MKS sh
4881 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4882   emulate sh
4883   NULLCMD=:
4884   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4885   # is contrary to our usage.  Disable this feature.
4886   alias -g '${1+"$@"}'='"$@"'
4887   setopt NO_GLOB_SUBST
4888 else
4889   case `(set -o) 2>/dev/null` in #(
4890   *posix*) :
4891     set -o posix ;; #(
4892   *) :
4893      ;;
4894 esac
4895 fi
4896
4897
4898 as_nl='
4899 '
4900 export as_nl
4901 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4902 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4903 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4904 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4905 # Prefer a ksh shell builtin over an external printf program on Solaris,
4906 # but without wasting forks for bash or zsh.
4907 if test -z "$BASH_VERSION$ZSH_VERSION" \
4908     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4909   as_echo='print -r --'
4910   as_echo_n='print -rn --'
4911 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4912   as_echo='printf %s\n'
4913   as_echo_n='printf %s'
4914 else
4915   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4916     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4917     as_echo_n='/usr/ucb/echo -n'
4918   else
4919     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4920     as_echo_n_body='eval
4921       arg=$1;
4922       case $arg in #(
4923       *"$as_nl"*)
4924         expr "X$arg" : "X\\(.*\\)$as_nl";
4925         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4926       esac;
4927       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4928     '
4929     export as_echo_n_body
4930     as_echo_n='sh -c $as_echo_n_body as_echo'
4931   fi
4932   export as_echo_body
4933   as_echo='sh -c $as_echo_body as_echo'
4934 fi
4935
4936 # The user is always right.
4937 if test "${PATH_SEPARATOR+set}" != set; then
4938   PATH_SEPARATOR=:
4939   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4940     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4941       PATH_SEPARATOR=';'
4942   }
4943 fi
4944
4945
4946 # IFS
4947 # We need space, tab and new line, in precisely that order.  Quoting is
4948 # there to prevent editors from complaining about space-tab.
4949 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4950 # splitting by setting IFS to empty value.)
4951 IFS=" ""        $as_nl"
4952
4953 # Find who we are.  Look in the path if we contain no directory separator.
4954 case $0 in #((
4955   *[\\/]* ) as_myself=$0 ;;
4956   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 for as_dir in $PATH
4958 do
4959   IFS=$as_save_IFS
4960   test -z "$as_dir" && as_dir=.
4961     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4962   done
4963 IFS=$as_save_IFS
4964
4965      ;;
4966 esac
4967 # We did not find ourselves, most probably we were run as `sh COMMAND'
4968 # in which case we are not to be found in the path.
4969 if test "x$as_myself" = x; then
4970   as_myself=$0
4971 fi
4972 if test ! -f "$as_myself"; then
4973   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4974   exit 1
4975 fi
4976
4977 # Unset variables that we do not need and which cause bugs (e.g. in
4978 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4979 # suppresses any "Segmentation fault" message there.  '((' could
4980 # trigger a bug in pdksh 5.2.14.
4981 for as_var in BASH_ENV ENV MAIL MAILPATH
4982 do eval test x\${$as_var+set} = xset \
4983   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4984 done
4985 PS1='$ '
4986 PS2='> '
4987 PS4='+ '
4988
4989 # NLS nuisances.
4990 LC_ALL=C
4991 export LC_ALL
4992 LANGUAGE=C
4993 export LANGUAGE
4994
4995 # CDPATH.
4996 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4997
4998
4999 # as_fn_error ERROR [LINENO LOG_FD]
5000 # ---------------------------------
5001 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5002 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5003 # script with status $?, using 1 if that was 0.
5004 as_fn_error ()
5005 {
5006   as_status=$?; test $as_status -eq 0 && as_status=1
5007   if test "$3"; then
5008     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5009     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5010   fi
5011   $as_echo "$as_me: error: $1" >&2
5012   as_fn_exit $as_status
5013 } # as_fn_error
5014
5015
5016 # as_fn_set_status STATUS
5017 # -----------------------
5018 # Set $? to STATUS, without forking.
5019 as_fn_set_status ()
5020 {
5021   return $1
5022 } # as_fn_set_status
5023
5024 # as_fn_exit STATUS
5025 # -----------------
5026 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5027 as_fn_exit ()
5028 {
5029   set +e
5030   as_fn_set_status $1
5031   exit $1
5032 } # as_fn_exit
5033
5034 # as_fn_unset VAR
5035 # ---------------
5036 # Portably unset VAR.
5037 as_fn_unset ()
5038 {
5039   { eval $1=; unset $1;}
5040 }
5041 as_unset=as_fn_unset
5042 # as_fn_append VAR VALUE
5043 # ----------------------
5044 # Append the text in VALUE to the end of the definition contained in VAR. Take
5045 # advantage of any shell optimizations that allow amortized linear growth over
5046 # repeated appends, instead of the typical quadratic growth present in naive
5047 # implementations.
5048 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5049   eval 'as_fn_append ()
5050   {
5051     eval $1+=\$2
5052   }'
5053 else
5054   as_fn_append ()
5055   {
5056     eval $1=\$$1\$2
5057   }
5058 fi # as_fn_append
5059
5060 # as_fn_arith ARG...
5061 # ------------------
5062 # Perform arithmetic evaluation on the ARGs, and store the result in the
5063 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5064 # must be portable across $(()) and expr.
5065 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5066   eval 'as_fn_arith ()
5067   {
5068     as_val=$(( $* ))
5069   }'
5070 else
5071   as_fn_arith ()
5072   {
5073     as_val=`expr "$@" || test $? -eq 1`
5074   }
5075 fi # as_fn_arith
5076
5077
5078 if expr a : '\(a\)' >/dev/null 2>&1 &&
5079    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5080   as_expr=expr
5081 else
5082   as_expr=false
5083 fi
5084
5085 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5086   as_basename=basename
5087 else
5088   as_basename=false
5089 fi
5090
5091 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5092   as_dirname=dirname
5093 else
5094   as_dirname=false
5095 fi
5096
5097 as_me=`$as_basename -- "$0" ||
5098 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5099          X"$0" : 'X\(//\)$' \| \
5100          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5101 $as_echo X/"$0" |
5102     sed '/^.*\/\([^/][^/]*\)\/*$/{
5103             s//\1/
5104             q
5105           }
5106           /^X\/\(\/\/\)$/{
5107             s//\1/
5108             q
5109           }
5110           /^X\/\(\/\).*/{
5111             s//\1/
5112             q
5113           }
5114           s/.*/./; q'`
5115
5116 # Avoid depending upon Character Ranges.
5117 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5118 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5119 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5120 as_cr_digits='0123456789'
5121 as_cr_alnum=$as_cr_Letters$as_cr_digits
5122
5123 ECHO_C= ECHO_N= ECHO_T=
5124 case `echo -n x` in #(((((
5125 -n*)
5126   case `echo 'xy\c'` in
5127   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5128   xy)  ECHO_C='\c';;
5129   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5130        ECHO_T=' ';;
5131   esac;;
5132 *)
5133   ECHO_N='-n';;
5134 esac
5135
5136 rm -f conf$$ conf$$.exe conf$$.file
5137 if test -d conf$$.dir; then
5138   rm -f conf$$.dir/conf$$.file
5139 else
5140   rm -f conf$$.dir
5141   mkdir conf$$.dir 2>/dev/null
5142 fi
5143 if (echo >conf$$.file) 2>/dev/null; then
5144   if ln -s conf$$.file conf$$ 2>/dev/null; then
5145     as_ln_s='ln -s'
5146     # ... but there are two gotchas:
5147     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5148     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5149     # In both cases, we have to default to `cp -p'.
5150     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5151       as_ln_s='cp -p'
5152   elif ln conf$$.file conf$$ 2>/dev/null; then
5153     as_ln_s=ln
5154   else
5155     as_ln_s='cp -p'
5156   fi
5157 else
5158   as_ln_s='cp -p'
5159 fi
5160 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5161 rmdir conf$$.dir 2>/dev/null
5162
5163
5164 # as_fn_mkdir_p
5165 # -------------
5166 # Create "$as_dir" as a directory, including parents if necessary.
5167 as_fn_mkdir_p ()
5168 {
5169
5170   case $as_dir in #(
5171   -*) as_dir=./$as_dir;;
5172   esac
5173   test -d "$as_dir" || eval $as_mkdir_p || {
5174     as_dirs=
5175     while :; do
5176       case $as_dir in #(
5177       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5178       *) as_qdir=$as_dir;;
5179       esac
5180       as_dirs="'$as_qdir' $as_dirs"
5181       as_dir=`$as_dirname -- "$as_dir" ||
5182 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5183          X"$as_dir" : 'X\(//\)[^/]' \| \
5184          X"$as_dir" : 'X\(//\)$' \| \
5185          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5186 $as_echo X"$as_dir" |
5187     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5188             s//\1/
5189             q
5190           }
5191           /^X\(\/\/\)[^/].*/{
5192             s//\1/
5193             q
5194           }
5195           /^X\(\/\/\)$/{
5196             s//\1/
5197             q
5198           }
5199           /^X\(\/\).*/{
5200             s//\1/
5201             q
5202           }
5203           s/.*/./; q'`
5204       test -d "$as_dir" && break
5205     done
5206     test -z "$as_dirs" || eval "mkdir $as_dirs"
5207   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5208
5209
5210 } # as_fn_mkdir_p
5211 if mkdir -p . 2>/dev/null; then
5212   as_mkdir_p='mkdir -p "$as_dir"'
5213 else
5214   test -d ./-p && rmdir ./-p
5215   as_mkdir_p=false
5216 fi
5217
5218 if test -x / >/dev/null 2>&1; then
5219   as_test_x='test -x'
5220 else
5221   if ls -dL / >/dev/null 2>&1; then
5222     as_ls_L_option=L
5223   else
5224     as_ls_L_option=
5225   fi
5226   as_test_x='
5227     eval sh -c '\''
5228       if test -d "$1"; then
5229         test -d "$1/.";
5230       else
5231         case $1 in #(
5232         -*)set "./$1";;
5233         esac;
5234         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5235         ???[sx]*):;;*)false;;esac;fi
5236     '\'' sh
5237   '
5238 fi
5239 as_executable_p=$as_test_x
5240
5241 # Sed expression to map a string onto a valid CPP name.
5242 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5243
5244 # Sed expression to map a string onto a valid variable name.
5245 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5246
5247
5248 exec 6>&1
5249 ## ----------------------------------- ##
5250 ## Main body of $CONFIG_STATUS script. ##
5251 ## ----------------------------------- ##
5252 _ASEOF
5253 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5254
5255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5256 # Save the log message, to keep $0 and so on meaningful, and to
5257 # report actual input values of CONFIG_FILES etc. instead of their
5258 # values after options handling.
5259 ac_log="
5260 This file was extended by libatomic_ops $as_me 1.3alpha1, which was
5261 generated by GNU Autoconf 2.64.  Invocation command line was
5262
5263   CONFIG_FILES    = $CONFIG_FILES
5264   CONFIG_HEADERS  = $CONFIG_HEADERS
5265   CONFIG_LINKS    = $CONFIG_LINKS
5266   CONFIG_COMMANDS = $CONFIG_COMMANDS
5267   $ $0 $@
5268
5269 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5270 "
5271
5272 _ACEOF
5273
5274 case $ac_config_files in *"
5275 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5276 esac
5277
5278 case $ac_config_headers in *"
5279 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5280 esac
5281
5282
5283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5284 # Files that config.status was made for.
5285 config_files="$ac_config_files"
5286 config_headers="$ac_config_headers"
5287 config_commands="$ac_config_commands"
5288
5289 _ACEOF
5290
5291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5292 ac_cs_usage="\
5293 \`$as_me' instantiates files and other configuration actions
5294 from templates according to the current configuration.  Unless the files
5295 and actions are specified as TAGs, all are instantiated by default.
5296
5297 Usage: $0 [OPTION]... [TAG]...
5298
5299   -h, --help       print this help, then exit
5300   -V, --version    print version number and configuration settings, then exit
5301   -q, --quiet, --silent
5302                    do not print progress messages
5303   -d, --debug      don't remove temporary files
5304       --recheck    update $as_me by reconfiguring in the same conditions
5305       --file=FILE[:TEMPLATE]
5306                    instantiate the configuration file FILE
5307       --header=FILE[:TEMPLATE]
5308                    instantiate the configuration header FILE
5309
5310 Configuration files:
5311 $config_files
5312
5313 Configuration headers:
5314 $config_headers
5315
5316 Configuration commands:
5317 $config_commands
5318
5319 Report bugs to the package provider."
5320
5321 _ACEOF
5322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5323 ac_cs_version="\\
5324 libatomic_ops config.status 1.3alpha1
5325 configured by $0, generated by GNU Autoconf 2.64,
5326   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5327
5328 Copyright (C) 2009 Free Software Foundation, Inc.
5329 This config.status script is free software; the Free Software Foundation
5330 gives unlimited permission to copy, distribute and modify it."
5331
5332 ac_pwd='$ac_pwd'
5333 srcdir='$srcdir'
5334 INSTALL='$INSTALL'
5335 MKDIR_P='$MKDIR_P'
5336 AWK='$AWK'
5337 test -n "\$AWK" || AWK=awk
5338 _ACEOF
5339
5340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5341 # The default lists apply if the user does not specify any file.
5342 ac_need_defaults=:
5343 while test $# != 0
5344 do
5345   case $1 in
5346   --*=*)
5347     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5348     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5349     ac_shift=:
5350     ;;
5351   *)
5352     ac_option=$1
5353     ac_optarg=$2
5354     ac_shift=shift
5355     ;;
5356   esac
5357
5358   case $ac_option in
5359   # Handling of the options.
5360   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5361     ac_cs_recheck=: ;;
5362   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5363     $as_echo "$ac_cs_version"; exit ;;
5364   --debug | --debu | --deb | --de | --d | -d )
5365     debug=: ;;
5366   --file | --fil | --fi | --f )
5367     $ac_shift
5368     case $ac_optarg in
5369     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5370     esac
5371     as_fn_append CONFIG_FILES " '$ac_optarg'"
5372     ac_need_defaults=false;;
5373   --header | --heade | --head | --hea )
5374     $ac_shift
5375     case $ac_optarg in
5376     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5377     esac
5378     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5379     ac_need_defaults=false;;
5380   --he | --h)
5381     # Conflict between --help and --header
5382     as_fn_error "ambiguous option: \`$1'
5383 Try \`$0 --help' for more information.";;
5384   --help | --hel | -h )
5385     $as_echo "$ac_cs_usage"; exit ;;
5386   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5387   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5388     ac_cs_silent=: ;;
5389
5390   # This is an error.
5391   -*) as_fn_error "unrecognized option: \`$1'
5392 Try \`$0 --help' for more information." ;;
5393
5394   *) as_fn_append ac_config_targets " $1"
5395      ac_need_defaults=false ;;
5396
5397   esac
5398   shift
5399 done
5400
5401 ac_configure_extra_args=
5402
5403 if $ac_cs_silent; then
5404   exec 6>/dev/null
5405   ac_configure_extra_args="$ac_configure_extra_args --silent"
5406 fi
5407
5408 _ACEOF
5409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5410 if \$ac_cs_recheck; then
5411   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5412   shift
5413   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5414   CONFIG_SHELL='$SHELL'
5415   export CONFIG_SHELL
5416   exec "\$@"
5417 fi
5418
5419 _ACEOF
5420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5421 exec 5>>config.log
5422 {
5423   echo
5424   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5425 ## Running $as_me. ##
5426 _ASBOX
5427   $as_echo "$ac_log"
5428 } >&5
5429
5430 _ACEOF
5431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5432 #
5433 # INIT-COMMANDS
5434 #
5435 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5436
5437 PICFLAG="${PICFLAG}"
5438 CC="${CC}"
5439 DEFS="${DEFS}"
5440
5441
5442 _ACEOF
5443
5444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5445
5446 # Handling of arguments.
5447 for ac_config_target in $ac_config_targets
5448 do
5449   case $ac_config_target in
5450     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
5451     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5452     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5453     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5454     "src/atomic_ops/Makefile") CONFIG_FILES="$CONFIG_FILES src/atomic_ops/Makefile" ;;
5455     "src/atomic_ops/sysdeps/Makefile") CONFIG_FILES="$CONFIG_FILES src/atomic_ops/sysdeps/Makefile" ;;
5456     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5457     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
5458     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5459
5460   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5461   esac
5462 done
5463
5464
5465 # If the user did not use the arguments to specify the items to instantiate,
5466 # then the envvar interface is used.  Set only those that are not.
5467 # We use the long form for the default assignment because of an extremely
5468 # bizarre bug on SunOS 4.1.3.
5469 if $ac_need_defaults; then
5470   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5471   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5472   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5473 fi
5474
5475 # Have a temporary directory for convenience.  Make it in the build tree
5476 # simply because there is no reason against having it here, and in addition,
5477 # creating and moving files from /tmp can sometimes cause problems.
5478 # Hook for its removal unless debugging.
5479 # Note that there is a small window in which the directory will not be cleaned:
5480 # after its creation but before its name has been assigned to `$tmp'.
5481 $debug ||
5482 {
5483   tmp=
5484   trap 'exit_status=$?
5485   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5486 ' 0
5487   trap 'as_fn_exit 1' 1 2 13 15
5488 }
5489 # Create a (secure) tmp directory for tmp files.
5490
5491 {
5492   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5493   test -n "$tmp" && test -d "$tmp"
5494 }  ||
5495 {
5496   tmp=./conf$$-$RANDOM
5497   (umask 077 && mkdir "$tmp")
5498 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5499
5500 # Set up the scripts for CONFIG_FILES section.
5501 # No need to generate them if there are no CONFIG_FILES.
5502 # This happens for instance with `./config.status config.h'.
5503 if test -n "$CONFIG_FILES"; then
5504
5505
5506 ac_cr=`echo X | tr X '\015'`
5507 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5508 # But we know of no other shell where ac_cr would be empty at this
5509 # point, so we can use a bashism as a fallback.
5510 if test "x$ac_cr" = x; then
5511   eval ac_cr=\$\'\\r\'
5512 fi
5513 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5514 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5515   ac_cs_awk_cr='\r'
5516 else
5517   ac_cs_awk_cr=$ac_cr
5518 fi
5519
5520 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5521 _ACEOF
5522
5523
5524 {
5525   echo "cat >conf$$subs.awk <<_ACEOF" &&
5526   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5527   echo "_ACEOF"
5528 } >conf$$subs.sh ||
5529   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5530 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5531 ac_delim='%!_!# '
5532 for ac_last_try in false false false false false :; do
5533   . ./conf$$subs.sh ||
5534     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5535
5536   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5537   if test $ac_delim_n = $ac_delim_num; then
5538     break
5539   elif $ac_last_try; then
5540     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5541   else
5542     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5543   fi
5544 done
5545 rm -f conf$$subs.sh
5546
5547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5548 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5549 _ACEOF
5550 sed -n '
5551 h
5552 s/^/S["/; s/!.*/"]=/
5553 p
5554 g
5555 s/^[^!]*!//
5556 :repl
5557 t repl
5558 s/'"$ac_delim"'$//
5559 t delim
5560 :nl
5561 h
5562 s/\(.\{148\}\).*/\1/
5563 t more1
5564 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5565 p
5566 n
5567 b repl
5568 :more1
5569 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5570 p
5571 g
5572 s/.\{148\}//
5573 t nl
5574 :delim
5575 h
5576 s/\(.\{148\}\).*/\1/
5577 t more2
5578 s/["\\]/\\&/g; s/^/"/; s/$/"/
5579 p
5580 b
5581 :more2
5582 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5583 p
5584 g
5585 s/.\{148\}//
5586 t delim
5587 ' <conf$$subs.awk | sed '
5588 /^[^""]/{
5589   N
5590   s/\n//
5591 }
5592 ' >>$CONFIG_STATUS || ac_write_fail=1
5593 rm -f conf$$subs.awk
5594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5595 _ACAWK
5596 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5597   for (key in S) S_is_set[key] = 1
5598   FS = "\a"
5599
5600 }
5601 {
5602   line = $ 0
5603   nfields = split(line, field, "@")
5604   substed = 0
5605   len = length(field[1])
5606   for (i = 2; i < nfields; i++) {
5607     key = field[i]
5608     keylen = length(key)
5609     if (S_is_set[key]) {
5610       value = S[key]
5611       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5612       len += length(value) + length(field[++i])
5613       substed = 1
5614     } else
5615       len += 1 + keylen
5616   }
5617
5618   print line
5619 }
5620
5621 _ACAWK
5622 _ACEOF
5623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5624 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5625   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5626 else
5627   cat
5628 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5629   || as_fn_error "could not setup config files machinery" "$LINENO" 5
5630 _ACEOF
5631
5632 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5633 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5634 # trailing colons and then remove the whole line if VPATH becomes empty
5635 # (actually we leave an empty line to preserve line numbers).
5636 if test "x$srcdir" = x.; then
5637   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5638 s/:*\$(srcdir):*/:/
5639 s/:*\${srcdir}:*/:/
5640 s/:*@srcdir@:*/:/
5641 s/^\([^=]*=[     ]*\):*/\1/
5642 s/:*$//
5643 s/^[^=]*=[       ]*$//
5644 }'
5645 fi
5646
5647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5648 fi # test -n "$CONFIG_FILES"
5649
5650 # Set up the scripts for CONFIG_HEADERS section.
5651 # No need to generate them if there are no CONFIG_HEADERS.
5652 # This happens for instance with `./config.status Makefile'.
5653 if test -n "$CONFIG_HEADERS"; then
5654 cat >"$tmp/defines.awk" <<\_ACAWK ||
5655 BEGIN {
5656 _ACEOF
5657
5658 # Transform confdefs.h into an awk script `defines.awk', embedded as
5659 # here-document in config.status, that substitutes the proper values into
5660 # config.h.in to produce config.h.
5661
5662 # Create a delimiter string that does not exist in confdefs.h, to ease
5663 # handling of long lines.
5664 ac_delim='%!_!# '
5665 for ac_last_try in false false :; do
5666   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5667   if test -z "$ac_t"; then
5668     break
5669   elif $ac_last_try; then
5670     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5671   else
5672     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5673   fi
5674 done
5675
5676 # For the awk script, D is an array of macro values keyed by name,
5677 # likewise P contains macro parameters if any.  Preserve backslash
5678 # newline sequences.
5679
5680 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5681 sed -n '
5682 s/.\{148\}/&'"$ac_delim"'/g
5683 t rset
5684 :rset
5685 s/^[     ]*#[    ]*define[       ][      ]*/ /
5686 t def
5687 d
5688 :def
5689 s/\\$//
5690 t bsnl
5691 s/["\\]/\\&/g
5692 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5693 D["\1"]=" \3"/p
5694 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
5695 d
5696 :bsnl
5697 s/["\\]/\\&/g
5698 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5699 D["\1"]=" \3\\\\\\n"\\/p
5700 t cont
5701 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5702 t cont
5703 d
5704 :cont
5705 n
5706 s/.\{148\}/&'"$ac_delim"'/g
5707 t clear
5708 :clear
5709 s/\\$//
5710 t bsnlc
5711 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5712 d
5713 :bsnlc
5714 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5715 b cont
5716 ' <confdefs.h | sed '
5717 s/'"$ac_delim"'/"\\\
5718 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5719
5720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5721   for (key in D) D_is_set[key] = 1
5722   FS = "\a"
5723 }
5724 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5725   line = \$ 0
5726   split(line, arg, " ")
5727   if (arg[1] == "#") {
5728     defundef = arg[2]
5729     mac1 = arg[3]
5730   } else {
5731     defundef = substr(arg[1], 2)
5732     mac1 = arg[2]
5733   }
5734   split(mac1, mac2, "(") #)
5735   macro = mac2[1]
5736   prefix = substr(line, 1, index(line, defundef) - 1)
5737   if (D_is_set[macro]) {
5738     # Preserve the white space surrounding the "#".
5739     print prefix "define", macro P[macro] D[macro]
5740     next
5741   } else {
5742     # Replace #undef with comments.  This is necessary, for example,
5743     # in the case of _POSIX_SOURCE, which is predefined and required
5744     # on some systems where configure will not decide to define it.
5745     if (defundef == "undef") {
5746       print "/*", prefix defundef, macro, "*/"
5747       next
5748     }
5749   }
5750 }
5751 { print }
5752 _ACAWK
5753 _ACEOF
5754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5755   as_fn_error "could not setup config headers machinery" "$LINENO" 5
5756 fi # test -n "$CONFIG_HEADERS"
5757
5758
5759 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5760 shift
5761 for ac_tag
5762 do
5763   case $ac_tag in
5764   :[FHLC]) ac_mode=$ac_tag; continue;;
5765   esac
5766   case $ac_mode$ac_tag in
5767   :[FHL]*:*);;
5768   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5769   :[FH]-) ac_tag=-:-;;
5770   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5771   esac
5772   ac_save_IFS=$IFS
5773   IFS=:
5774   set x $ac_tag
5775   IFS=$ac_save_IFS
5776   shift
5777   ac_file=$1
5778   shift
5779
5780   case $ac_mode in
5781   :L) ac_source=$1;;
5782   :[FH])
5783     ac_file_inputs=
5784     for ac_f
5785     do
5786       case $ac_f in
5787       -) ac_f="$tmp/stdin";;
5788       *) # Look for the file first in the build tree, then in the source tree
5789          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5790          # because $ac_f cannot contain `:'.
5791          test -f "$ac_f" ||
5792            case $ac_f in
5793            [\\/$]*) false;;
5794            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5795            esac ||
5796            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5797       esac
5798       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5799       as_fn_append ac_file_inputs " '$ac_f'"
5800     done
5801
5802     # Let's still pretend it is `configure' which instantiates (i.e., don't
5803     # use $as_me), people would be surprised to read:
5804     #    /* config.h.  Generated by config.status.  */
5805     configure_input='Generated from '`
5806           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5807         `' by configure.'
5808     if test x"$ac_file" != x-; then
5809       configure_input="$ac_file.  $configure_input"
5810       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5811 $as_echo "$as_me: creating $ac_file" >&6;}
5812     fi
5813     # Neutralize special characters interpreted by sed in replacement strings.
5814     case $configure_input in #(
5815     *\&* | *\|* | *\\* )
5816        ac_sed_conf_input=`$as_echo "$configure_input" |
5817        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5818     *) ac_sed_conf_input=$configure_input;;
5819     esac
5820
5821     case $ac_tag in
5822     *:-:* | *:-) cat >"$tmp/stdin" \
5823       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5824     esac
5825     ;;
5826   esac
5827
5828   ac_dir=`$as_dirname -- "$ac_file" ||
5829 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5830          X"$ac_file" : 'X\(//\)[^/]' \| \
5831          X"$ac_file" : 'X\(//\)$' \| \
5832          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5833 $as_echo X"$ac_file" |
5834     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5835             s//\1/
5836             q
5837           }
5838           /^X\(\/\/\)[^/].*/{
5839             s//\1/
5840             q
5841           }
5842           /^X\(\/\/\)$/{
5843             s//\1/
5844             q
5845           }
5846           /^X\(\/\).*/{
5847             s//\1/
5848             q
5849           }
5850           s/.*/./; q'`
5851   as_dir="$ac_dir"; as_fn_mkdir_p
5852   ac_builddir=.
5853
5854 case "$ac_dir" in
5855 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5856 *)
5857   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5858   # A ".." for each directory in $ac_dir_suffix.
5859   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5860   case $ac_top_builddir_sub in
5861   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5862   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5863   esac ;;
5864 esac
5865 ac_abs_top_builddir=$ac_pwd
5866 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5867 # for backward compatibility:
5868 ac_top_builddir=$ac_top_build_prefix
5869
5870 case $srcdir in
5871   .)  # We are building in place.
5872     ac_srcdir=.
5873     ac_top_srcdir=$ac_top_builddir_sub
5874     ac_abs_top_srcdir=$ac_pwd ;;
5875   [\\/]* | ?:[\\/]* )  # Absolute name.
5876     ac_srcdir=$srcdir$ac_dir_suffix;
5877     ac_top_srcdir=$srcdir
5878     ac_abs_top_srcdir=$srcdir ;;
5879   *) # Relative name.
5880     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5881     ac_top_srcdir=$ac_top_build_prefix$srcdir
5882     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5883 esac
5884 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5885
5886
5887   case $ac_mode in
5888   :F)
5889   #
5890   # CONFIG_FILE
5891   #
5892
5893   case $INSTALL in
5894   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5895   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5896   esac
5897   ac_MKDIR_P=$MKDIR_P
5898   case $MKDIR_P in
5899   [\\/$]* | ?:[\\/]* ) ;;
5900   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5901   esac
5902 _ACEOF
5903
5904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5905 # If the template does not know about datarootdir, expand it.
5906 # FIXME: This hack should be removed a few years after 2.60.
5907 ac_datarootdir_hack=; ac_datarootdir_seen=
5908 ac_sed_dataroot='
5909 /datarootdir/ {
5910   p
5911   q
5912 }
5913 /@datadir@/p
5914 /@docdir@/p
5915 /@infodir@/p
5916 /@localedir@/p
5917 /@mandir@/p'
5918 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5919 *datarootdir*) ac_datarootdir_seen=yes;;
5920 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5921   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5922 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5923 _ACEOF
5924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5925   ac_datarootdir_hack='
5926   s&@datadir@&$datadir&g
5927   s&@docdir@&$docdir&g
5928   s&@infodir@&$infodir&g
5929   s&@localedir@&$localedir&g
5930   s&@mandir@&$mandir&g
5931   s&\\\${datarootdir}&$datarootdir&g' ;;
5932 esac
5933 _ACEOF
5934
5935 # Neutralize VPATH when `$srcdir' = `.'.
5936 # Shell code in configure.ac might set extrasub.
5937 # FIXME: do we really want to maintain this feature?
5938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5939 ac_sed_extra="$ac_vpsub
5940 $extrasub
5941 _ACEOF
5942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5943 :t
5944 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5945 s|@configure_input@|$ac_sed_conf_input|;t t
5946 s&@top_builddir@&$ac_top_builddir_sub&;t t
5947 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5948 s&@srcdir@&$ac_srcdir&;t t
5949 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5950 s&@top_srcdir@&$ac_top_srcdir&;t t
5951 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5952 s&@builddir@&$ac_builddir&;t t
5953 s&@abs_builddir@&$ac_abs_builddir&;t t
5954 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5955 s&@INSTALL@&$ac_INSTALL&;t t
5956 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5957 $ac_datarootdir_hack
5958 "
5959 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5960   || as_fn_error "could not create $ac_file" "$LINENO" 5
5961
5962 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5963   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5964   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5965   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5966 which seems to be undefined.  Please make sure it is defined." >&5
5967 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5968 which seems to be undefined.  Please make sure it is defined." >&2;}
5969
5970   rm -f "$tmp/stdin"
5971   case $ac_file in
5972   -) cat "$tmp/out" && rm -f "$tmp/out";;
5973   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5974   esac \
5975   || as_fn_error "could not create $ac_file" "$LINENO" 5
5976  ;;
5977   :H)
5978   #
5979   # CONFIG_HEADER
5980   #
5981   if test x"$ac_file" != x-; then
5982     {
5983       $as_echo "/* $configure_input  */" \
5984       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5985     } >"$tmp/config.h" \
5986       || as_fn_error "could not create $ac_file" "$LINENO" 5
5987     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5988       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5989 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5990     else
5991       rm -f "$ac_file"
5992       mv "$tmp/config.h" "$ac_file" \
5993         || as_fn_error "could not create $ac_file" "$LINENO" 5
5994     fi
5995   else
5996     $as_echo "/* $configure_input  */" \
5997       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5998       || as_fn_error "could not create -" "$LINENO" 5
5999   fi
6000 # Compute "$ac_file"'s index in $config_headers.
6001 _am_arg="$ac_file"
6002 _am_stamp_count=1
6003 for _am_header in $config_headers :; do
6004   case $_am_header in
6005     $_am_arg | $_am_arg:* )
6006       break ;;
6007     * )
6008       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6009   esac
6010 done
6011 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6012 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6013          X"$_am_arg" : 'X\(//\)[^/]' \| \
6014          X"$_am_arg" : 'X\(//\)$' \| \
6015          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6016 $as_echo X"$_am_arg" |
6017     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6018             s//\1/
6019             q
6020           }
6021           /^X\(\/\/\)[^/].*/{
6022             s//\1/
6023             q
6024           }
6025           /^X\(\/\/\)$/{
6026             s//\1/
6027             q
6028           }
6029           /^X\(\/\).*/{
6030             s//\1/
6031             q
6032           }
6033           s/.*/./; q'`/stamp-h$_am_stamp_count
6034  ;;
6035
6036   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6037 $as_echo "$as_me: executing $ac_file commands" >&6;}
6038  ;;
6039   esac
6040
6041
6042   case $ac_file$ac_mode in
6043     "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
6044 # are listed without --file.  Let's play safe and only enable the eval
6045 # if we detect the quoting.
6046 case $CONFIG_FILES in
6047 *\'*) eval set x "$CONFIG_FILES" ;;
6048 *)   set x $CONFIG_FILES ;;
6049 esac
6050 shift
6051 for mf
6052 do
6053   # Strip MF so we end up with the name of the file.
6054   mf=`echo "$mf" | sed -e 's/:.*$//'`
6055   # Check whether this is an Automake generated Makefile or not.
6056   # We used to match only the files named `Makefile.in', but
6057   # some people rename them; so instead we look at the file content.
6058   # Grep'ing the first line is not enough: some people post-process
6059   # each Makefile.in and add a new line on top of each file to say so.
6060   # Grep'ing the whole file is not good either: AIX grep has a line
6061   # limit of 2048, but all sed's we know have understand at least 4000.
6062   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6063     dirpart=`$as_dirname -- "$mf" ||
6064 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6065          X"$mf" : 'X\(//\)[^/]' \| \
6066          X"$mf" : 'X\(//\)$' \| \
6067          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6068 $as_echo X"$mf" |
6069     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6070             s//\1/
6071             q
6072           }
6073           /^X\(\/\/\)[^/].*/{
6074             s//\1/
6075             q
6076           }
6077           /^X\(\/\/\)$/{
6078             s//\1/
6079             q
6080           }
6081           /^X\(\/\).*/{
6082             s//\1/
6083             q
6084           }
6085           s/.*/./; q'`
6086   else
6087     continue
6088   fi
6089   # Extract the definition of DEPDIR, am__include, and am__quote
6090   # from the Makefile without running `make'.
6091   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6092   test -z "$DEPDIR" && continue
6093   am__include=`sed -n 's/^am__include = //p' < "$mf"`
6094   test -z "am__include" && continue
6095   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6096   # When using ansi2knr, U may be empty or an underscore; expand it
6097   U=`sed -n 's/^U = //p' < "$mf"`
6098   # Find all dependency output files, they are included files with
6099   # $(DEPDIR) in their names.  We invoke sed twice because it is the
6100   # simplest approach to changing $(DEPDIR) to its actual value in the
6101   # expansion.
6102   for file in `sed -n "
6103     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6104        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6105     # Make sure the directory exists.
6106     test -f "$dirpart/$file" && continue
6107     fdir=`$as_dirname -- "$file" ||
6108 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6109          X"$file" : 'X\(//\)[^/]' \| \
6110          X"$file" : 'X\(//\)$' \| \
6111          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6112 $as_echo X"$file" |
6113     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6114             s//\1/
6115             q
6116           }
6117           /^X\(\/\/\)[^/].*/{
6118             s//\1/
6119             q
6120           }
6121           /^X\(\/\/\)$/{
6122             s//\1/
6123             q
6124           }
6125           /^X\(\/\).*/{
6126             s//\1/
6127             q
6128           }
6129           s/.*/./; q'`
6130     as_dir=$dirpart/$fdir; as_fn_mkdir_p
6131     # echo "creating $dirpart/$file"
6132     echo '# dummy' > "$dirpart/$file"
6133   done
6134 done
6135  ;;
6136     "default":C)  ;;
6137
6138   esac
6139 done # for ac_tag
6140
6141
6142 as_fn_exit 0
6143 _ACEOF
6144 ac_clean_files=$ac_clean_files_save
6145
6146 test $ac_write_fail = 0 ||
6147   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6148
6149
6150 # configure is writing to config.log, and then calls config.status.
6151 # config.status does its own redirection, appending to config.log.
6152 # Unfortunately, on DOS this fails, as config.log is still kept open
6153 # by configure, so config.status won't be able to write to it; its
6154 # output is simply discarded.  So we exec the FD to /dev/null,
6155 # effectively closing config.log, so it can be properly (re)opened and
6156 # appended to by config.status.  When coming back to configure, we
6157 # need to make the FD available again.
6158 if test "$no_create" != yes; then
6159   ac_cs_success=:
6160   ac_config_status_args=
6161   test "$silent" = yes &&
6162     ac_config_status_args="$ac_config_status_args --quiet"
6163   exec 5>/dev/null
6164   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6165   exec 5>>config.log
6166   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6167   # would make configure fail if this is the last instruction.
6168   $ac_cs_success || as_fn_exit $?
6169 fi
6170 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6171   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6172 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6173 fi
6174