OSDN Git Service

add Makefile.in and fix
[c-lockfree/lockfree_container.git] / config.status
1 #! /bin/bash
2 # Generated by configure.
3 # Run this file to recreate the current configuration.
4 # Compiler output produced by configure, useful for debugging
5 # configure, is in config.log if it exists.
6
7 debug=false
8 ac_cs_recheck=false
9 ac_cs_silent=false
10
11 SHELL=${CONFIG_SHELL-/bin/bash}
12 export SHELL
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 case $0 in #((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
102
103      ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108   as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there.  '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136
137 # as_fn_error ERROR [LINENO LOG_FD]
138 # ---------------------------------
139 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
140 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
141 # script with status $?, using 1 if that was 0.
142 as_fn_error ()
143 {
144   as_status=$?; test $as_status -eq 0 && as_status=1
145   if test "$3"; then
146     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
147     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
148   fi
149   $as_echo "$as_me: error: $1" >&2
150   as_fn_exit $as_status
151 } # as_fn_error
152
153
154 # as_fn_set_status STATUS
155 # -----------------------
156 # Set $? to STATUS, without forking.
157 as_fn_set_status ()
158 {
159   return $1
160 } # as_fn_set_status
161
162 # as_fn_exit STATUS
163 # -----------------
164 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
165 as_fn_exit ()
166 {
167   set +e
168   as_fn_set_status $1
169   exit $1
170 } # as_fn_exit
171
172 # as_fn_unset VAR
173 # ---------------
174 # Portably unset VAR.
175 as_fn_unset ()
176 {
177   { eval $1=; unset $1;}
178 }
179 as_unset=as_fn_unset
180 # as_fn_append VAR VALUE
181 # ----------------------
182 # Append the text in VALUE to the end of the definition contained in VAR. Take
183 # advantage of any shell optimizations that allow amortized linear growth over
184 # repeated appends, instead of the typical quadratic growth present in naive
185 # implementations.
186 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
187   eval 'as_fn_append ()
188   {
189     eval $1+=\$2
190   }'
191 else
192   as_fn_append ()
193   {
194     eval $1=\$$1\$2
195   }
196 fi # as_fn_append
197
198 # as_fn_arith ARG...
199 # ------------------
200 # Perform arithmetic evaluation on the ARGs, and store the result in the
201 # global $as_val. Take advantage of shells that can avoid forks. The arguments
202 # must be portable across $(()) and expr.
203 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
204   eval 'as_fn_arith ()
205   {
206     as_val=$(( $* ))
207   }'
208 else
209   as_fn_arith ()
210   {
211     as_val=`expr "$@" || test $? -eq 1`
212   }
213 fi # as_fn_arith
214
215
216 if expr a : '\(a\)' >/dev/null 2>&1 &&
217    test "X`expr 00001 : '.*\(...\)'`" = X001; then
218   as_expr=expr
219 else
220   as_expr=false
221 fi
222
223 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
224   as_basename=basename
225 else
226   as_basename=false
227 fi
228
229 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
230   as_dirname=dirname
231 else
232   as_dirname=false
233 fi
234
235 as_me=`$as_basename -- "$0" ||
236 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
237          X"$0" : 'X\(//\)$' \| \
238          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
239 $as_echo X/"$0" |
240     sed '/^.*\/\([^/][^/]*\)\/*$/{
241             s//\1/
242             q
243           }
244           /^X\/\(\/\/\)$/{
245             s//\1/
246             q
247           }
248           /^X\/\(\/\).*/{
249             s//\1/
250             q
251           }
252           s/.*/./; q'`
253
254 # Avoid depending upon Character Ranges.
255 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
256 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
257 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
258 as_cr_digits='0123456789'
259 as_cr_alnum=$as_cr_Letters$as_cr_digits
260
261 ECHO_C= ECHO_N= ECHO_T=
262 case `echo -n x` in #(((((
263 -n*)
264   case `echo 'xy\c'` in
265   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
266   xy)  ECHO_C='\c';;
267   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
268        ECHO_T=' ';;
269   esac;;
270 *)
271   ECHO_N='-n';;
272 esac
273
274 rm -f conf$$ conf$$.exe conf$$.file
275 if test -d conf$$.dir; then
276   rm -f conf$$.dir/conf$$.file
277 else
278   rm -f conf$$.dir
279   mkdir conf$$.dir 2>/dev/null
280 fi
281 if (echo >conf$$.file) 2>/dev/null; then
282   if ln -s conf$$.file conf$$ 2>/dev/null; then
283     as_ln_s='ln -s'
284     # ... but there are two gotchas:
285     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
286     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
287     # In both cases, we have to default to `cp -p'.
288     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
289       as_ln_s='cp -p'
290   elif ln conf$$.file conf$$ 2>/dev/null; then
291     as_ln_s=ln
292   else
293     as_ln_s='cp -p'
294   fi
295 else
296   as_ln_s='cp -p'
297 fi
298 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
299 rmdir conf$$.dir 2>/dev/null
300
301
302 # as_fn_mkdir_p
303 # -------------
304 # Create "$as_dir" as a directory, including parents if necessary.
305 as_fn_mkdir_p ()
306 {
307
308   case $as_dir in #(
309   -*) as_dir=./$as_dir;;
310   esac
311   test -d "$as_dir" || eval $as_mkdir_p || {
312     as_dirs=
313     while :; do
314       case $as_dir in #(
315       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
316       *) as_qdir=$as_dir;;
317       esac
318       as_dirs="'$as_qdir' $as_dirs"
319       as_dir=`$as_dirname -- "$as_dir" ||
320 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
321          X"$as_dir" : 'X\(//\)[^/]' \| \
322          X"$as_dir" : 'X\(//\)$' \| \
323          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
324 $as_echo X"$as_dir" |
325     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
326             s//\1/
327             q
328           }
329           /^X\(\/\/\)[^/].*/{
330             s//\1/
331             q
332           }
333           /^X\(\/\/\)$/{
334             s//\1/
335             q
336           }
337           /^X\(\/\).*/{
338             s//\1/
339             q
340           }
341           s/.*/./; q'`
342       test -d "$as_dir" && break
343     done
344     test -z "$as_dirs" || eval "mkdir $as_dirs"
345   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
346
347
348 } # as_fn_mkdir_p
349 if mkdir -p . 2>/dev/null; then
350   as_mkdir_p='mkdir -p "$as_dir"'
351 else
352   test -d ./-p && rmdir ./-p
353   as_mkdir_p=false
354 fi
355
356 if test -x / >/dev/null 2>&1; then
357   as_test_x='test -x'
358 else
359   if ls -dL / >/dev/null 2>&1; then
360     as_ls_L_option=L
361   else
362     as_ls_L_option=
363   fi
364   as_test_x='
365     eval sh -c '\''
366       if test -d "$1"; then
367         test -d "$1/.";
368       else
369         case $1 in #(
370         -*)set "./$1";;
371         esac;
372         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
373         ???[sx]*):;;*)false;;esac;fi
374     '\'' sh
375   '
376 fi
377 as_executable_p=$as_test_x
378
379 # Sed expression to map a string onto a valid CPP name.
380 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
381
382 # Sed expression to map a string onto a valid variable name.
383 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
384
385
386 exec 6>&1
387 ## ----------------------------------- ##
388 ## Main body of $CONFIG_STATUS script. ##
389 ## ----------------------------------- ##
390 # Save the log message, to keep $0 and so on meaningful, and to
391 # report actual input values of CONFIG_FILES etc. instead of their
392 # values after options handling.
393 ac_log="
394 This file was extended by lockfree $as_me 0.1, which was
395 generated by GNU Autoconf 2.64.  Invocation command line was
396
397   CONFIG_FILES    = $CONFIG_FILES
398   CONFIG_HEADERS  = $CONFIG_HEADERS
399   CONFIG_LINKS    = $CONFIG_LINKS
400   CONFIG_COMMANDS = $CONFIG_COMMANDS
401   $ $0 $@
402
403 on `(hostname || uname -n) 2>/dev/null | sed 1q`
404 "
405
406 # Files that config.status was made for.
407 config_files=" Makefile sample/Makefile"
408 config_headers=" config.h"
409
410 ac_cs_usage="\
411 \`$as_me' instantiates files and other configuration actions
412 from templates according to the current configuration.  Unless the files
413 and actions are specified as TAGs, all are instantiated by default.
414
415 Usage: $0 [OPTION]... [TAG]...
416
417   -h, --help       print this help, then exit
418   -V, --version    print version number and configuration settings, then exit
419   -q, --quiet, --silent
420                    do not print progress messages
421   -d, --debug      don't remove temporary files
422       --recheck    update $as_me by reconfiguring in the same conditions
423       --file=FILE[:TEMPLATE]
424                    instantiate the configuration file FILE
425       --header=FILE[:TEMPLATE]
426                    instantiate the configuration header FILE
427
428 Configuration files:
429 $config_files
430
431 Configuration headers:
432 $config_headers
433
434 Report bugs to <n.nakai@sdy.co.jp>."
435
436 ac_cs_version="\
437 lockfree config.status 0.1
438 configured by ./configure, generated by GNU Autoconf 2.64,
439   with options \"\"
440
441 Copyright (C) 2009 Free Software Foundation, Inc.
442 This config.status script is free software; the Free Software Foundation
443 gives unlimited permission to copy, distribute and modify it."
444
445 ac_pwd='/home/yomo/programs/lockfree_container'
446 srcdir='.'
447 test -n "$AWK" || AWK=awk
448 # The default lists apply if the user does not specify any file.
449 ac_need_defaults=:
450 while test $# != 0
451 do
452   case $1 in
453   --*=*)
454     ac_option=`expr "X$1" : 'X\([^=]*\)='`
455     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
456     ac_shift=:
457     ;;
458   *)
459     ac_option=$1
460     ac_optarg=$2
461     ac_shift=shift
462     ;;
463   esac
464
465   case $ac_option in
466   # Handling of the options.
467   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
468     ac_cs_recheck=: ;;
469   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
470     $as_echo "$ac_cs_version"; exit ;;
471   --debug | --debu | --deb | --de | --d | -d )
472     debug=: ;;
473   --file | --fil | --fi | --f )
474     $ac_shift
475     case $ac_optarg in
476     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
477     esac
478     as_fn_append CONFIG_FILES " '$ac_optarg'"
479     ac_need_defaults=false;;
480   --header | --heade | --head | --hea )
481     $ac_shift
482     case $ac_optarg in
483     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
484     esac
485     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
486     ac_need_defaults=false;;
487   --he | --h)
488     # Conflict between --help and --header
489     as_fn_error "ambiguous option: \`$1'
490 Try \`$0 --help' for more information.";;
491   --help | --hel | -h )
492     $as_echo "$ac_cs_usage"; exit ;;
493   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
494   | -silent | --silent | --silen | --sile | --sil | --si | --s)
495     ac_cs_silent=: ;;
496
497   # This is an error.
498   -*) as_fn_error "unrecognized option: \`$1'
499 Try \`$0 --help' for more information." ;;
500
501   *) as_fn_append ac_config_targets " $1"
502      ac_need_defaults=false ;;
503
504   esac
505   shift
506 done
507
508 ac_configure_extra_args=
509
510 if $ac_cs_silent; then
511   exec 6>/dev/null
512   ac_configure_extra_args="$ac_configure_extra_args --silent"
513 fi
514
515 if $ac_cs_recheck; then
516   set X '/bin/bash' './configure'  $ac_configure_extra_args --no-create --no-recursion
517   shift
518   $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
519   CONFIG_SHELL='/bin/bash'
520   export CONFIG_SHELL
521   exec "$@"
522 fi
523
524 exec 5>>config.log
525 {
526   echo
527   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
528 ## Running $as_me. ##
529 _ASBOX
530   $as_echo "$ac_log"
531 } >&5
532
533
534 # Handling of arguments.
535 for ac_config_target in $ac_config_targets
536 do
537   case $ac_config_target in
538     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
539     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
540     "sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;;
541
542   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
543   esac
544 done
545
546
547 # If the user did not use the arguments to specify the items to instantiate,
548 # then the envvar interface is used.  Set only those that are not.
549 # We use the long form for the default assignment because of an extremely
550 # bizarre bug on SunOS 4.1.3.
551 if $ac_need_defaults; then
552   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
553   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
554 fi
555
556 # Have a temporary directory for convenience.  Make it in the build tree
557 # simply because there is no reason against having it here, and in addition,
558 # creating and moving files from /tmp can sometimes cause problems.
559 # Hook for its removal unless debugging.
560 # Note that there is a small window in which the directory will not be cleaned:
561 # after its creation but before its name has been assigned to `$tmp'.
562 $debug ||
563 {
564   tmp=
565   trap 'exit_status=$?
566   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
567 ' 0
568   trap 'as_fn_exit 1' 1 2 13 15
569 }
570 # Create a (secure) tmp directory for tmp files.
571
572 {
573   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
574   test -n "$tmp" && test -d "$tmp"
575 }  ||
576 {
577   tmp=./conf$$-$RANDOM
578   (umask 077 && mkdir "$tmp")
579 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
580
581 # Set up the scripts for CONFIG_FILES section.
582 # No need to generate them if there are no CONFIG_FILES.
583 # This happens for instance with `./config.status config.h'.
584 if test -n "$CONFIG_FILES"; then
585
586
587 ac_cr=`echo X | tr X '\015'`
588 # On cygwin, bash can eat \r inside `` if the user requested igncr.
589 # But we know of no other shell where ac_cr would be empty at this
590 # point, so we can use a bashism as a fallback.
591 if test "x$ac_cr" = x; then
592   eval ac_cr=\$\'\\r\'
593 fi
594 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
595 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
596   ac_cs_awk_cr='\r'
597 else
598   ac_cs_awk_cr=$ac_cr
599 fi
600
601 echo 'BEGIN {' >"$tmp/subs1.awk" &&
602 cat >>"$tmp/subs1.awk" <<\_ACAWK &&
603 S["LTLIBOBJS"]=""
604 S["LIBOBJS"]=""
605 S["EGREP"]="/bin/grep -E"
606 S["GREP"]="/bin/grep"
607 S["CPP"]="gcc -E"
608 S["ac_ct_CC"]="gcc"
609 S["CFLAGS"]="-g -O2"
610 S["CC"]="gcc"
611 S["OBJEXT"]="o"
612 S["EXEEXT"]=""
613 S["ac_ct_CXX"]="g++"
614 S["CPPFLAGS"]=""
615 S["LDFLAGS"]=""
616 S["CXXFLAGS"]="-g -O2"
617 S["CXX"]="g++"
618 S["target_alias"]=""
619 S["host_alias"]=""
620 S["build_alias"]=""
621 S["LIBS"]=""
622 S["ECHO_T"]=""
623 S["ECHO_N"]="-n"
624 S["ECHO_C"]=""
625 S["DEFS"]="-DHAVE_CONFIG_H"
626 S["mandir"]="${datarootdir}/man"
627 S["localedir"]="${datarootdir}/locale"
628 S["libdir"]="${exec_prefix}/lib"
629 S["psdir"]="${docdir}"
630 S["pdfdir"]="${docdir}"
631 S["dvidir"]="${docdir}"
632 S["htmldir"]="${docdir}"
633 S["infodir"]="${datarootdir}/info"
634 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
635 S["oldincludedir"]="/usr/include"
636 S["includedir"]="${prefix}/include"
637 S["localstatedir"]="${prefix}/var"
638 S["sharedstatedir"]="${prefix}/com"
639 S["sysconfdir"]="${prefix}/etc"
640 S["datadir"]="${datarootdir}"
641 S["datarootdir"]="${prefix}/share"
642 S["libexecdir"]="${exec_prefix}/libexec"
643 S["sbindir"]="${exec_prefix}/sbin"
644 S["bindir"]="${exec_prefix}/bin"
645 S["program_transform_name"]="s,x,x,"
646 S["prefix"]="/usr/local"
647 S["exec_prefix"]="${prefix}"
648 S["PACKAGE_URL"]=""
649 S["PACKAGE_BUGREPORT"]="n.nakai@sdy.co.jp"
650 S["PACKAGE_STRING"]="lockfree 0.1"
651 S["PACKAGE_VERSION"]="0.1"
652 S["PACKAGE_TARNAME"]="lockfree"
653 S["PACKAGE_NAME"]="lockfree"
654 S["PATH_SEPARATOR"]=":"
655 S["SHELL"]="/bin/bash"
656 _ACAWK
657 cat >>"$tmp/subs1.awk" <<_ACAWK &&
658   for (key in S) S_is_set[key] = 1
659   FS = "\a"
660
661 }
662 {
663   line = $ 0
664   nfields = split(line, field, "@")
665   substed = 0
666   len = length(field[1])
667   for (i = 2; i < nfields; i++) {
668     key = field[i]
669     keylen = length(key)
670     if (S_is_set[key]) {
671       value = S[key]
672       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
673       len += length(value) + length(field[++i])
674       substed = 1
675     } else
676       len += 1 + keylen
677   }
678
679   print line
680 }
681
682 _ACAWK
683 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
684   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
685 else
686   cat
687 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
688   || as_fn_error "could not setup config files machinery" "$LINENO" 5
689 fi # test -n "$CONFIG_FILES"
690
691 # Set up the scripts for CONFIG_HEADERS section.
692 # No need to generate them if there are no CONFIG_HEADERS.
693 # This happens for instance with `./config.status Makefile'.
694 if test -n "$CONFIG_HEADERS"; then
695 cat >"$tmp/defines.awk" <<\_ACAWK ||
696 BEGIN {
697 D["PACKAGE_NAME"]=" \"lockfree\""
698 D["PACKAGE_TARNAME"]=" \"lockfree\""
699 D["PACKAGE_VERSION"]=" \"0.1\""
700 D["PACKAGE_STRING"]=" \"lockfree 0.1\""
701 D["PACKAGE_BUGREPORT"]=" \"n.nakai@sdy.co.jp\""
702 D["PACKAGE_URL"]=" \"\""
703 D["STDC_HEADERS"]=" 1"
704 D["HAVE_SYS_TYPES_H"]=" 1"
705 D["HAVE_SYS_STAT_H"]=" 1"
706 D["HAVE_STDLIB_H"]=" 1"
707 D["HAVE_STRING_H"]=" 1"
708 D["HAVE_MEMORY_H"]=" 1"
709 D["HAVE_STRINGS_H"]=" 1"
710 D["HAVE_INTTYPES_H"]=" 1"
711 D["HAVE_STDINT_H"]=" 1"
712 D["HAVE_UNISTD_H"]=" 1"
713 D["HAVE__BOOL"]=" 1"
714 D["HAVE_STDBOOL_H"]=" 1"
715   for (key in D) D_is_set[key] = 1
716   FS = "\a"
717 }
718 /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
719   line = $ 0
720   split(line, arg, " ")
721   if (arg[1] == "#") {
722     defundef = arg[2]
723     mac1 = arg[3]
724   } else {
725     defundef = substr(arg[1], 2)
726     mac1 = arg[2]
727   }
728   split(mac1, mac2, "(") #)
729   macro = mac2[1]
730   prefix = substr(line, 1, index(line, defundef) - 1)
731   if (D_is_set[macro]) {
732     # Preserve the white space surrounding the "#".
733     print prefix "define", macro P[macro] D[macro]
734     next
735   } else {
736     # Replace #undef with comments.  This is necessary, for example,
737     # in the case of _POSIX_SOURCE, which is predefined and required
738     # on some systems where configure will not decide to define it.
739     if (defundef == "undef") {
740       print "/*", prefix defundef, macro, "*/"
741       next
742     }
743   }
744 }
745 { print }
746 _ACAWK
747   as_fn_error "could not setup config headers machinery" "$LINENO" 5
748 fi # test -n "$CONFIG_HEADERS"
749
750
751 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
752 shift
753 for ac_tag
754 do
755   case $ac_tag in
756   :[FHLC]) ac_mode=$ac_tag; continue;;
757   esac
758   case $ac_mode$ac_tag in
759   :[FHL]*:*);;
760   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
761   :[FH]-) ac_tag=-:-;;
762   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
763   esac
764   ac_save_IFS=$IFS
765   IFS=:
766   set x $ac_tag
767   IFS=$ac_save_IFS
768   shift
769   ac_file=$1
770   shift
771
772   case $ac_mode in
773   :L) ac_source=$1;;
774   :[FH])
775     ac_file_inputs=
776     for ac_f
777     do
778       case $ac_f in
779       -) ac_f="$tmp/stdin";;
780       *) # Look for the file first in the build tree, then in the source tree
781          # (if the path is not absolute).  The absolute path cannot be DOS-style,
782          # because $ac_f cannot contain `:'.
783          test -f "$ac_f" ||
784            case $ac_f in
785            [\\/$]*) false;;
786            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
787            esac ||
788            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
789       esac
790       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
791       as_fn_append ac_file_inputs " '$ac_f'"
792     done
793
794     # Let's still pretend it is `configure' which instantiates (i.e., don't
795     # use $as_me), people would be surprised to read:
796     #    /* config.h.  Generated by config.status.  */
797     configure_input='Generated from '`
798           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
799         `' by configure.'
800     if test x"$ac_file" != x-; then
801       configure_input="$ac_file.  $configure_input"
802       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
803 $as_echo "$as_me: creating $ac_file" >&6;}
804     fi
805     # Neutralize special characters interpreted by sed in replacement strings.
806     case $configure_input in #(
807     *\&* | *\|* | *\\* )
808        ac_sed_conf_input=`$as_echo "$configure_input" |
809        sed 's/[\\\\&|]/\\\\&/g'`;; #(
810     *) ac_sed_conf_input=$configure_input;;
811     esac
812
813     case $ac_tag in
814     *:-:* | *:-) cat >"$tmp/stdin" \
815       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
816     esac
817     ;;
818   esac
819
820   ac_dir=`$as_dirname -- "$ac_file" ||
821 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
822          X"$ac_file" : 'X\(//\)[^/]' \| \
823          X"$ac_file" : 'X\(//\)$' \| \
824          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
825 $as_echo X"$ac_file" |
826     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
827             s//\1/
828             q
829           }
830           /^X\(\/\/\)[^/].*/{
831             s//\1/
832             q
833           }
834           /^X\(\/\/\)$/{
835             s//\1/
836             q
837           }
838           /^X\(\/\).*/{
839             s//\1/
840             q
841           }
842           s/.*/./; q'`
843   as_dir="$ac_dir"; as_fn_mkdir_p
844   ac_builddir=.
845
846 case "$ac_dir" in
847 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
848 *)
849   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
850   # A ".." for each directory in $ac_dir_suffix.
851   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
852   case $ac_top_builddir_sub in
853   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
854   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
855   esac ;;
856 esac
857 ac_abs_top_builddir=$ac_pwd
858 ac_abs_builddir=$ac_pwd$ac_dir_suffix
859 # for backward compatibility:
860 ac_top_builddir=$ac_top_build_prefix
861
862 case $srcdir in
863   .)  # We are building in place.
864     ac_srcdir=.
865     ac_top_srcdir=$ac_top_builddir_sub
866     ac_abs_top_srcdir=$ac_pwd ;;
867   [\\/]* | ?:[\\/]* )  # Absolute name.
868     ac_srcdir=$srcdir$ac_dir_suffix;
869     ac_top_srcdir=$srcdir
870     ac_abs_top_srcdir=$srcdir ;;
871   *) # Relative name.
872     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
873     ac_top_srcdir=$ac_top_build_prefix$srcdir
874     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
875 esac
876 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
877
878
879   case $ac_mode in
880   :F)
881   #
882   # CONFIG_FILE
883   #
884
885 # If the template does not know about datarootdir, expand it.
886 # FIXME: This hack should be removed a few years after 2.60.
887 ac_datarootdir_hack=; ac_datarootdir_seen=
888 ac_sed_dataroot='
889 /datarootdir/ {
890   p
891   q
892 }
893 /@datadir@/p
894 /@docdir@/p
895 /@infodir@/p
896 /@localedir@/p
897 /@mandir@/p'
898 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
899 *datarootdir*) ac_datarootdir_seen=yes;;
900 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
901   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
902 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
903   ac_datarootdir_hack='
904   s&@datadir@&${datarootdir}&g
905   s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
906   s&@infodir@&${datarootdir}/info&g
907   s&@localedir@&${datarootdir}/locale&g
908   s&@mandir@&${datarootdir}/man&g
909   s&\${datarootdir}&${prefix}/share&g' ;;
910 esac
911 ac_sed_extra="/^[        ]*VPATH[        ]*=/{
912 s/:*\$(srcdir):*/:/
913 s/:*\${srcdir}:*/:/
914 s/:*@srcdir@:*/:/
915 s/^\([^=]*=[     ]*\):*/\1/
916 s/:*$//
917 s/^[^=]*=[       ]*$//
918 }
919
920 :t
921 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
922 s|@configure_input@|$ac_sed_conf_input|;t t
923 s&@top_builddir@&$ac_top_builddir_sub&;t t
924 s&@top_build_prefix@&$ac_top_build_prefix&;t t
925 s&@srcdir@&$ac_srcdir&;t t
926 s&@abs_srcdir@&$ac_abs_srcdir&;t t
927 s&@top_srcdir@&$ac_top_srcdir&;t t
928 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
929 s&@builddir@&$ac_builddir&;t t
930 s&@abs_builddir@&$ac_abs_builddir&;t t
931 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
932 $ac_datarootdir_hack
933 "
934 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
935   || as_fn_error "could not create $ac_file" "$LINENO" 5
936
937 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
938   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
939   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
940   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
941 which seems to be undefined.  Please make sure it is defined." >&5
942 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
943 which seems to be undefined.  Please make sure it is defined." >&2;}
944
945   rm -f "$tmp/stdin"
946   case $ac_file in
947   -) cat "$tmp/out" && rm -f "$tmp/out";;
948   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
949   esac \
950   || as_fn_error "could not create $ac_file" "$LINENO" 5
951  ;;
952   :H)
953   #
954   # CONFIG_HEADER
955   #
956   if test x"$ac_file" != x-; then
957     {
958       $as_echo "/* $configure_input  */" \
959       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
960     } >"$tmp/config.h" \
961       || as_fn_error "could not create $ac_file" "$LINENO" 5
962     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
963       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
964 $as_echo "$as_me: $ac_file is unchanged" >&6;}
965     else
966       rm -f "$ac_file"
967       mv "$tmp/config.h" "$ac_file" \
968         || as_fn_error "could not create $ac_file" "$LINENO" 5
969     fi
970   else
971     $as_echo "/* $configure_input  */" \
972       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
973       || as_fn_error "could not create -" "$LINENO" 5
974   fi
975  ;;
976
977
978   esac
979
980 done # for ac_tag
981
982
983 as_fn_exit 0