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