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