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.
11 SHELL=${CONFIG_SHELL-/bin/bash}
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
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
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
144 as_status=$?; test $as_status -eq 0 && as_status=1
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
149 $as_echo "$as_me: error: $1" >&2
150 as_fn_exit $as_status
154 # as_fn_set_status STATUS
155 # -----------------------
156 # Set $? to STATUS, without forking.
164 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
174 # Portably unset VAR.
177 { eval $1=; unset $1;}
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
186 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
187 eval 'as_fn_append ()
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 :
211 as_val=`expr "$@" || test $? -eq 1`
216 if expr a : '\(a\)' >/dev/null 2>&1 &&
217 test "X`expr 00001 : '.*\(...\)'`" = X001; then
223 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
229 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
235 as_me=`$as_basename -- "$0" ||
236 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
237 X"$0" : 'X\(//\)$' \| \
238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
240 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
261 ECHO_C= ECHO_N= ECHO_T=
262 case `echo -n x` in #(((((
264 case `echo 'xy\c'` in
265 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
267 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
274 rm -f conf$$ conf$$.exe conf$$.file
275 if test -d conf$$.dir; then
276 rm -f conf$$.dir/conf$$.file
279 mkdir conf$$.dir 2>/dev/null
281 if (echo >conf$$.file) 2>/dev/null; then
282 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
290 elif ln conf$$.file conf$$ 2>/dev/null; then
298 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
299 rmdir conf$$.dir 2>/dev/null
304 # Create "$as_dir" as a directory, including parents if necessary.
309 -*) as_dir=./$as_dir;;
311 test -d "$as_dir" || eval $as_mkdir_p || {
315 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
342 test -d "$as_dir" && break
344 test -z "$as_dirs" || eval "mkdir $as_dirs"
345 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
349 if mkdir -p . 2>/dev/null; then
350 as_mkdir_p='mkdir -p "$as_dir"'
352 test -d ./-p && rmdir ./-p
356 if test -x / >/dev/null 2>&1; then
359 if ls -dL / >/dev/null 2>&1; then
366 if test -d "$1"; then
372 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
373 ???[sx]*):;;*)false;;esac;fi
377 as_executable_p=$as_test_x
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'"
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'"
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.
394 This file was extended by lockfree $as_me 0.1, which was
395 generated by GNU Autoconf 2.64. Invocation command line was
397 CONFIG_FILES = $CONFIG_FILES
398 CONFIG_HEADERS = $CONFIG_HEADERS
399 CONFIG_LINKS = $CONFIG_LINKS
400 CONFIG_COMMANDS = $CONFIG_COMMANDS
403 on `(hostname || uname -n) 2>/dev/null | sed 1q`
406 # Files that config.status was made for.
407 config_files=" Makefile sample/Makefile"
408 config_headers=" config.h"
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.
415 Usage: $0 [OPTION]... [TAG]...
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
431 Configuration headers:
434 Report bugs to <n.nakai@sdy.co.jp>."
437 lockfree config.status 0.1
438 configured by ./configure, generated by GNU Autoconf 2.64,
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."
445 ac_pwd='/home/yomo/programs/lockfree_container'
447 test -n "$AWK" || AWK=awk
448 # The default lists apply if the user does not specify any file.
454 ac_option=`expr "X$1" : 'X\([^=]*\)='`
455 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
466 # Handling of the options.
467 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
469 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
470 $as_echo "$ac_cs_version"; exit ;;
471 --debug | --debu | --deb | --de | --d | -d )
473 --file | --fil | --fi | --f )
476 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
478 as_fn_append CONFIG_FILES " '$ac_optarg'"
479 ac_need_defaults=false;;
480 --header | --heade | --head | --hea )
483 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
485 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
486 ac_need_defaults=false;;
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)
498 -*) as_fn_error "unrecognized option: \`$1'
499 Try \`$0 --help' for more information." ;;
501 *) as_fn_append ac_config_targets " $1"
502 ac_need_defaults=false ;;
508 ac_configure_extra_args=
510 if $ac_cs_silent; then
512 ac_configure_extra_args="$ac_configure_extra_args --silent"
515 if $ac_cs_recheck; then
516 set X '/bin/bash' './configure' $ac_configure_extra_args --no-create --no-recursion
518 $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
519 CONFIG_SHELL='/bin/bash'
527 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
528 ## Running $as_me. ##
534 # Handling of arguments.
535 for ac_config_target in $ac_config_targets
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" ;;
542 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
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
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'.
566 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
568 trap 'as_fn_exit 1' 1 2 13 15
570 # Create a (secure) tmp directory for tmp files.
573 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
574 test -n "$tmp" && test -d "$tmp"
578 (umask 077 && mkdir "$tmp")
579 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
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
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
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
601 echo 'BEGIN {' >"$tmp/subs1.awk" &&
602 cat >>"$tmp/subs1.awk" <<\_ACAWK &&
605 S["EGREP"]="/bin/grep -E"
606 S["GREP"]="/bin/grep"
616 S["CXXFLAGS"]="-g -O2"
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}"
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"
657 cat >>"$tmp/subs1.awk" <<_ACAWK &&
658 for (key in S) S_is_set[key] = 1
664 nfields = split(line, field, "@")
666 len = length(field[1])
667 for (i = 2; i < nfields; i++) {
672 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
673 len += length(value) + length(field[++i])
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"
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"
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 ||
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"
714 D["HAVE_STDBOOL_H"]=" 1"
715 for (key in D) D_is_set[key] = 1
718 /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
720 split(line, arg, " ")
725 defundef = substr(arg[1], 2)
728 split(mac1, mac2, "(") #)
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]
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, "*/"
747 as_fn_error "could not setup config headers machinery" "$LINENO" 5
748 fi # test -n "$CONFIG_HEADERS"
751 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
756 :[FHLC]) ac_mode=$ac_tag; continue;;
758 case $ac_mode$ac_tag in
760 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
762 :[FH]*) ac_tag=$ac_tag:$ac_tag.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 `:'.
786 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
788 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
790 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
791 as_fn_append ac_file_inputs " '$ac_f'"
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'
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;}
805 # Neutralize special characters interpreted by sed in replacement strings.
806 case $configure_input in #(
808 ac_sed_conf_input=`$as_echo "$configure_input" |
809 sed 's/[\\\\&|]/\\\\&/g'`;; #(
810 *) ac_sed_conf_input=$configure_input;;
814 *:-:* | *:-) cat >"$tmp/stdin" \
815 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
843 as_dir="$ac_dir"; as_fn_mkdir_p
847 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
863 .) # We are building in place.
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 ;;
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 ;;
876 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
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=
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' ;;
911 ac_sed_extra="/^[ ]*VPATH[ ]*=/{
915 s/^\([^=]*=[ ]*\):*/\1/
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
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
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;}
947 -) cat "$tmp/out" && rm -f "$tmp/out";;
948 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
950 || as_fn_error "could not create $ac_file" "$LINENO" 5
956 if test x"$ac_file" != x-; then
958 $as_echo "/* $configure_input */" \
959 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
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;}
967 mv "$tmp/config.h" "$ac_file" \
968 || as_fn_error "could not create $ac_file" "$LINENO" 5
971 $as_echo "/* $configure_input */" \
972 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
973 || as_fn_error "could not create -" "$LINENO" 5