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.
10
SHELL=${CONFIG_SHELL-/bin/sh}
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
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
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+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
if (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 ||
83
# Support unset when possible.
84
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92
# We need space, tab and new line, in precisely that order. Quoting is
93
# there to prevent editors from complaining about space-tab.
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95
# splitting by setting IFS to empty value.)
98
# Find who we are. Look in the path if we contain no directory separator.
100
*[\\/]* ) as_myself=$0 ;;
101
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105
test -z "$as_dir" && as_dir=.
106
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112
# We did not find ourselves, most probably we were run as `sh COMMAND'
113
# in which case we are not to be found in the path.
114
if test "x$as_myself" = x; then
117
if test ! -f "$as_myself"; then
118
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
{ (exit 1); exit 1; }
122
# Work around bugs in pre-3.0 UWIN ksh.
123
for as_var in ENV MAIL MAILPATH
124
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
test "X`expr 00001 : '.*\(...\)'`" = X001; then
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
X"$0" : 'X\(//\)$' \| \
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
178
test "x$as_lineno_1" != "x$as_lineno_2" &&
179
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
181
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
182
# uniformly replaced by the line number. The first 'sed' inserts a
183
# line-number line after each line using $LINENO; the second 'sed'
184
# does the real work. The second script uses 'N' to pair each
185
# line-number line with the line containing $LINENO, and appends
186
# trailing '-' during substitution so that $LINENO is not a special
188
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
189
# scripts with optimization help from Paolo Bonzini. Blame Lee
190
# E. McMahon (1931-1989) for sed's syntax. :-)
202
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
206
chmod +x "$as_me.lineno" ||
207
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
208
{ (exit 1); exit 1; }; }
210
# Don't try to exec as it changes $[0], causing all sort of problems
211
# (the dirname of $[0] is not the place where we might find the
212
# original and so on. Autoconf is especially sensitive to this).
214
# Exit status is that of the last command.
219
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
225
ECHO_C= ECHO_N= ECHO_T=
229
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
235
if expr a : '\(a\)' >/dev/null 2>&1 &&
236
test "X`expr 00001 : '.*\(...\)'`" = X001; then
242
rm -f conf$$ conf$$.exe conf$$.file
243
if test -d conf$$.dir; then
244
rm -f conf$$.dir/conf$$.file
247
mkdir conf$$.dir 2>/dev/null
249
if (echo >conf$$.file) 2>/dev/null; then
250
if ln -s conf$$.file conf$$ 2>/dev/null; then
252
# ... but there are two gotchas:
253
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
254
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
255
# In both cases, we have to default to `cp -p'.
256
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
258
elif ln conf$$.file conf$$ 2>/dev/null; then
266
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
267
rmdir conf$$.dir 2>/dev/null
269
if mkdir -p . 2>/dev/null; then
272
test -d ./-p && rmdir ./-p
276
if test -x / >/dev/null 2>&1; then
279
if ls -dL / >/dev/null 2>&1; then
286
if test -d "$1"; then
292
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
293
???[sx]*):;;*)false;;esac;fi
297
as_executable_p=$as_test_x
299
# Sed expression to map a string onto a valid CPP name.
300
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
302
# Sed expression to map a string onto a valid variable name.
303
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
308
# Save the log message, to keep $[0] and so on meaningful, and to
309
# report actual input values of CONFIG_FILES etc. instead of their
310
# values after options handling.
312
This file was extended by $as_me, which was
313
generated by GNU Autoconf 2.63. Invocation command line was
315
CONFIG_FILES = $CONFIG_FILES
316
CONFIG_HEADERS = $CONFIG_HEADERS
317
CONFIG_LINKS = $CONFIG_LINKS
318
CONFIG_COMMANDS = $CONFIG_COMMANDS
321
on `(hostname || uname -n) 2>/dev/null | sed 1q`
324
# Files that config.status was made for.
325
config_files=" Makefile"
326
config_headers=" config.h:config.h.in"
329
\`$as_me' instantiates files from templates according to the
330
current configuration.
332
Usage: $0 [OPTION]... [FILE]...
334
-h, --help print this help, then exit
335
-V, --version print version number and configuration settings, then exit
336
-q, --quiet, --silent
337
do not print progress messages
338
-d, --debug don't remove temporary files
339
--recheck update $as_me by reconfiguring in the same conditions
340
--file=FILE[:TEMPLATE]
341
instantiate the configuration file FILE
342
--header=FILE[:TEMPLATE]
343
instantiate the configuration header FILE
348
Configuration headers:
351
Report bugs to <bug-autoconf@gnu.org>."
355
configured by ./configure, generated by GNU Autoconf 2.63,
358
Copyright (C) 2008 Free Software Foundation, Inc.
359
This config.status script is free software; the Free Software Foundation
360
gives unlimited permission to copy, distribute and modify it."
362
ac_pwd='/home/tomh/localhome/cvs/tclcl'
364
INSTALL='/usr/bin/install -c'
365
test -n "$AWK" || AWK=awk
366
# The default lists apply if the user does not specify any file.
372
ac_option=`expr "X$1" : 'X\([^=]*\)='`
373
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
384
# Handling of the options.
385
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
387
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
388
$as_echo "$ac_cs_version"; exit ;;
389
--debug | --debu | --deb | --de | --d | -d )
391
--file | --fil | --fi | --f )
394
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
396
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
397
ac_need_defaults=false;;
398
--header | --heade | --head | --hea )
401
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
403
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
404
ac_need_defaults=false;;
406
# Conflict between --help and --header
407
{ $as_echo "$as_me: error: ambiguous option: $1
408
Try \`$0 --help' for more information." >&2
409
{ (exit 1); exit 1; }; };;
410
--help | --hel | -h )
411
$as_echo "$ac_cs_usage"; exit ;;
412
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
413
| -silent | --silent | --silen | --sile | --sil | --si | --s)
417
-*) { $as_echo "$as_me: error: unrecognized option: $1
418
Try \`$0 --help' for more information." >&2
419
{ (exit 1); exit 1; }; } ;;
421
*) ac_config_targets="$ac_config_targets $1"
422
ac_need_defaults=false ;;
428
ac_configure_extra_args=
430
if $ac_cs_silent; then
432
ac_configure_extra_args="$ac_configure_extra_args --silent"
435
if $ac_cs_recheck; then
436
set X '/bin/sh' './configure' $ac_configure_extra_args --no-create --no-recursion
438
$as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
439
CONFIG_SHELL='/bin/sh'
447
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
448
## Running $as_me. ##
454
# Handling of arguments.
455
for ac_config_target in $ac_config_targets
457
case $ac_config_target in
458
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
459
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
461
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
462
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
463
{ (exit 1); exit 1; }; };;
468
# If the user did not use the arguments to specify the items to instantiate,
469
# then the envvar interface is used. Set only those that are not.
470
# We use the long form for the default assignment because of an extremely
471
# bizarre bug on SunOS 4.1.3.
472
if $ac_need_defaults; then
473
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
474
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
477
# Have a temporary directory for convenience. Make it in the build tree
478
# simply because there is no reason against having it here, and in addition,
479
# creating and moving files from /tmp can sometimes cause problems.
480
# Hook for its removal unless debugging.
481
# Note that there is a small window in which the directory will not be cleaned:
482
# after its creation but before its name has been assigned to `$tmp'.
487
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
489
trap '{ (exit 1); exit 1; }' 1 2 13 15
491
# Create a (secure) tmp directory for tmp files.
494
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
495
test -n "$tmp" && test -d "$tmp"
499
(umask 077 && mkdir "$tmp")
502
$as_echo "$as_me: cannot create a temporary directory in ." >&2
503
{ (exit 1); exit 1; }
506
# Set up the scripts for CONFIG_FILES section.
507
# No need to generate them if there are no CONFIG_FILES.
508
# This happens for instance with `./config.status config.h'.
509
if test -n "$CONFIG_FILES"; then
513
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
514
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
520
echo 'BEGIN {' >"$tmp/subs1.awk" &&
521
cat >>"$tmp/subs1.awk" <<\_ACAWK &&
524
S["INSTALL_DATA"]="${INSTALL} -m 644"
525
S["INSTALL_SCRIPT"]="${INSTALL}"
526
S["INSTALL_PROGRAM"]="${INSTALL}"
528
S["V_NS_TCL_LIB_STL"]=""
531
S["V_RANLIB"]="ranlib"
536
S["V_TARCMD"]="tar cfh"
539
S["V_DEFINE"]=" -DNDEBUG -DUSE_SHM -DHAVE_UNISTD_H=1"
540
S["V_LIB"]=" -lnsl -ldl"
542
S["V_CCOPT"]=" -Wall -Wno-write-strings -Wno-parentheses"
543
S["V_ALL"]="libtclcl.a"
544
S["V_LIB_TK"]="-L/usr/lib -ltk8.5"
545
S["V_LIB_TCL"]="-L/usr/lib -ltcl8.5"
546
S["V_LIB_OTCL"]="-L/home/tomh/localhome/cvs/otcl -lotcl"
548
S["V_TAR_TARGET"]="linux-gnu"
550
S["V_DEFINES"]="-DHAVE_LIBZ1_1_3 -DHAVE_ZLIB_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H "
551
S["V_LIBS"]="-L/usr/lib -lz -L/home/tomh/localhome/cvs/otcl -lotcl -L/usr/lib -ltk8.5 -L/usr/lib -ltcl8.5"
552
S["V_INCLUDES"]="-I/usr/include -I/home/tomh/localhome/cvs/otcl -I/usr/include -I/usr/include/tcl-private/generic -I/usr/include"
553
S["V_LIB_X11"]="-lXext -lX11"
554
S["V_INCLUDE_X11"]=""
555
S["V_LIBRARY_TK"]="/usr/share/tk8.5"
556
S["V_TKDOSNAMES"]="$(LIBRARY_TK)/optMenu.tcl $(LIBRARY_TK)/scrlbar.tcl"
557
S["V_LIBRARY_TCL"]="/usr/share/tcl8.5"
558
S["V_TCLSH"]="/usr/bin/tclsh8.5"
559
S["V_TCL_LIBRARY_FILES"]="$(TCL_BASE_LIBRARY_FILES) /usr/share/tcl8.5/http1.0/http.tcl"
561
S["EGREP"]="/bin/grep -E"
562
S["GREP"]="/bin/grep"
565
S["CXXFLAGS"]="-g -O2"
574
S["target_os"]="linux-gnu"
575
S["target_vendor"]="pc"
576
S["target_cpu"]="i686"
577
S["target"]="i686-pc-linux-gnu"
578
S["host_os"]="linux-gnu"
579
S["host_vendor"]="pc"
581
S["host"]="i686-pc-linux-gnu"
582
S["build_os"]="linux-gnu"
583
S["build_vendor"]="pc"
584
S["build_cpu"]="i686"
585
S["build"]="i686-pc-linux-gnu"
593
S["DEFS"]="-DHAVE_CONFIG_H"
594
S["mandir"]="${datarootdir}/man"
595
S["localedir"]="${datarootdir}/locale"
596
S["libdir"]="${exec_prefix}/lib"
597
S["psdir"]="${docdir}"
598
S["pdfdir"]="${docdir}"
599
S["dvidir"]="${docdir}"
600
S["htmldir"]="${docdir}"
601
S["infodir"]="${datarootdir}/info"
602
S["docdir"]="${datarootdir}/doc/${PACKAGE}"
603
S["oldincludedir"]="/usr/include"
604
S["includedir"]="${prefix}/include"
605
S["localstatedir"]="${prefix}/var"
606
S["sharedstatedir"]="${prefix}/com"
607
S["sysconfdir"]="${prefix}/etc"
608
S["datadir"]="${datarootdir}"
609
S["datarootdir"]="${prefix}/share"
610
S["libexecdir"]="${exec_prefix}/libexec"
611
S["sbindir"]="${exec_prefix}/sbin"
612
S["bindir"]="${exec_prefix}/bin"
613
S["program_transform_name"]="s,x,x,"
614
S["prefix"]="/usr/local"
615
S["exec_prefix"]="${prefix}"
616
S["PACKAGE_BUGREPORT"]=""
617
S["PACKAGE_STRING"]=""
618
S["PACKAGE_VERSION"]=""
619
S["PACKAGE_TARNAME"]=""
621
S["PATH_SEPARATOR"]=":"
624
cat >>"$tmp/subs1.awk" <<_ACAWK &&
625
for (key in S) S_is_set[key] = 1
631
nfields = split(line, field, "@")
633
len = length(field[1])
634
for (i = 2; i < nfields; i++) {
639
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
640
len += length(value) + length(field[++i])
650
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
651
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
654
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
655
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
656
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
657
{ (exit 1); exit 1; }; }
658
fi # test -n "$CONFIG_FILES"
660
# Set up the scripts for CONFIG_HEADERS section.
661
# No need to generate them if there are no CONFIG_HEADERS.
662
# This happens for instance with `./config.status Makefile'.
663
if test -n "$CONFIG_HEADERS"; then
664
cat >"$tmp/defines.awk" <<\_ACAWK ||
666
D["PACKAGE_NAME"]=" \"\""
667
D["PACKAGE_TARNAME"]=" \"\""
668
D["PACKAGE_VERSION"]=" \"\""
669
D["PACKAGE_STRING"]=" \"\""
670
D["PACKAGE_BUGREPORT"]=" \"\""
671
D["STDC_HEADERS"]=" 1"
672
D["HAVE_SYS_TYPES_H"]=" 1"
673
D["HAVE_SYS_STAT_H"]=" 1"
674
D["HAVE_STDLIB_H"]=" 1"
675
D["HAVE_STRING_H"]=" 1"
676
D["HAVE_MEMORY_H"]=" 1"
677
D["HAVE_STRINGS_H"]=" 1"
678
D["HAVE_INTTYPES_H"]=" 1"
679
D["HAVE_STDINT_H"]=" 1"
680
D["HAVE_UNISTD_H"]=" 1"
681
D["HAVE_STRING_H"]=" 1"
682
D["HAVE_SNPRINTF"]=" 1"
683
D["STDC_HEADERS"]=" 1"
684
D["HAVE_STRTOQ"]=" 1"
685
D["HAVE_STRTOLL"]=" 1"
686
D["SIZEOF_LONG"]=" 4"
689
D["HAVE_TCLINT_H"]=" 1"
690
D["HAVE_LIBTCL8_5"]=" 1"
692
D["HAVE_LIBTK8_5"]=" 1"
693
D["HAVE_OTCL_H"]=" 1"
694
D["HAVE_LIBOTCL1_14"]=" 1"
695
D["HAVE_ZLIB_H"]=" 1"
696
D["HAVE_LIBZ1_1_3"]=" 1"
697
for (key in D) D_is_set[key] = 1
700
/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
702
split(line, arg, " ")
707
defundef = substr(arg[1], 2)
710
split(mac1, mac2, "(") #)
712
prefix = substr(line, 1, index(line, defundef) - 1)
713
if (D_is_set[macro]) {
714
# Preserve the white space surrounding the "#".
715
print prefix "define", macro P[macro] D[macro]
718
# Replace #undef with comments. This is necessary, for example,
719
# in the case of _POSIX_SOURCE, which is predefined and required
720
# on some systems where configure will not decide to define it.
721
if (defundef == "undef") {
722
print "/*", prefix defundef, macro, "*/"
729
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
730
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
731
{ (exit 1); exit 1; }; }
732
fi # test -n "$CONFIG_HEADERS"
735
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
740
:[FHLC]) ac_mode=$ac_tag; continue;;
742
case $ac_mode$ac_tag in
744
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
745
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
746
{ (exit 1); exit 1; }; };;
748
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
765
-) ac_f="$tmp/stdin";;
766
*) # Look for the file first in the build tree, then in the source tree
767
# (if the path is not absolute). The absolute path cannot be DOS-style,
768
# because $ac_f cannot contain `:'.
772
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
774
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
775
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
776
{ (exit 1); exit 1; }; };;
778
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
779
ac_file_inputs="$ac_file_inputs '$ac_f'"
782
# Let's still pretend it is `configure' which instantiates (i.e., don't
783
# use $as_me), people would be surprised to read:
784
# /* config.h. Generated by config.status. */
785
configure_input='Generated from '`
786
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
788
if test x"$ac_file" != x-; then
789
configure_input="$ac_file. $configure_input"
790
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
791
$as_echo "$as_me: creating $ac_file" >&6;}
793
# Neutralize special characters interpreted by sed in replacement strings.
794
case $configure_input in #(
796
ac_sed_conf_input=`$as_echo "$configure_input" |
797
sed 's/[\\\\&|]/\\\\&/g'`;; #(
798
*) ac_sed_conf_input=$configure_input;;
802
*:-:* | *:-) cat >"$tmp/stdin" \
803
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
804
$as_echo "$as_me: error: could not create $ac_file" >&2;}
805
{ (exit 1); exit 1; }; } ;;
810
ac_dir=`$as_dirname -- "$ac_file" ||
811
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
812
X"$ac_file" : 'X\(//\)[^/]' \| \
813
X"$ac_file" : 'X\(//\)$' \| \
814
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
815
$as_echo X"$ac_file" |
816
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
835
-*) as_dir=./$as_dir;;
837
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
841
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
844
as_dirs="'$as_qdir' $as_dirs"
845
as_dir=`$as_dirname -- "$as_dir" ||
846
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
847
X"$as_dir" : 'X\(//\)[^/]' \| \
848
X"$as_dir" : 'X\(//\)$' \| \
849
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
850
$as_echo X"$as_dir" |
851
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
868
test -d "$as_dir" && break
870
test -z "$as_dirs" || eval "mkdir $as_dirs"
871
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
872
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
873
{ (exit 1); exit 1; }; }; }
877
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
879
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
880
# A ".." for each directory in $ac_dir_suffix.
881
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
882
case $ac_top_builddir_sub in
883
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
884
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
887
ac_abs_top_builddir=$ac_pwd
888
ac_abs_builddir=$ac_pwd$ac_dir_suffix
889
# for backward compatibility:
890
ac_top_builddir=$ac_top_build_prefix
893
.) # We are building in place.
895
ac_top_srcdir=$ac_top_builddir_sub
896
ac_abs_top_srcdir=$ac_pwd ;;
897
[\\/]* | ?:[\\/]* ) # Absolute name.
898
ac_srcdir=$srcdir$ac_dir_suffix;
899
ac_top_srcdir=$srcdir
900
ac_abs_top_srcdir=$srcdir ;;
902
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
903
ac_top_srcdir=$ac_top_build_prefix$srcdir
904
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
906
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
916
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
917
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
919
# If the template does not know about datarootdir, expand it.
920
# FIXME: This hack should be removed a few years after 2.60.
921
ac_datarootdir_hack=; ac_datarootdir_seen=
934
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
935
*datarootdir*) ac_datarootdir_seen=yes;;
936
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
937
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
938
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
939
ac_datarootdir_hack='
940
s&@datadir@&${datarootdir}&g
941
s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
942
s&@infodir@&${datarootdir}/info&g
943
s&@localedir@&${datarootdir}/locale&g
944
s&@mandir@&${datarootdir}/man&g
945
s&\${datarootdir}&${prefix}/share&g' ;;
947
ac_sed_extra="/^[ ]*VPATH[ ]*=/{
951
s/^\([^=]*=[ ]*\):*/\1/
957
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
958
s|@configure_input@|$ac_sed_conf_input|;t t
959
s&@top_builddir@&$ac_top_builddir_sub&;t t
960
s&@top_build_prefix@&$ac_top_build_prefix&;t t
961
s&@srcdir@&$ac_srcdir&;t t
962
s&@abs_srcdir@&$ac_abs_srcdir&;t t
963
s&@top_srcdir@&$ac_top_srcdir&;t t
964
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
965
s&@builddir@&$ac_builddir&;t t
966
s&@abs_builddir@&$ac_abs_builddir&;t t
967
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
968
s&@INSTALL@&$ac_INSTALL&;t t
971
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
972
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
973
$as_echo "$as_me: error: could not create $ac_file" >&2;}
974
{ (exit 1); exit 1; }; }
976
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
977
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
978
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
979
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
980
which seems to be undefined. Please make sure it is defined." >&5
981
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
982
which seems to be undefined. Please make sure it is defined." >&2;}
986
-) cat "$tmp/out" && rm -f "$tmp/out";;
987
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
989
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
990
$as_echo "$as_me: error: could not create $ac_file" >&2;}
991
{ (exit 1); exit 1; }; }
997
if test x"$ac_file" != x-; then
999
$as_echo "/* $configure_input */" \
1000
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
1001
} >"$tmp/config.h" \
1002
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
1003
$as_echo "$as_me: error: could not create $ac_file" >&2;}
1004
{ (exit 1); exit 1; }; }
1005
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
1006
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
1007
$as_echo "$as_me: $ac_file is unchanged" >&6;}
1010
mv "$tmp/config.h" "$ac_file" \
1011
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
1012
$as_echo "$as_me: error: could not create $ac_file" >&2;}
1013
{ (exit 1); exit 1; }; }
1016
$as_echo "/* $configure_input */" \
1017
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
1018
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
1019
$as_echo "$as_me: error: could not create -" >&2;}
1020
{ (exit 1); exit 1; }; }
1030
{ (exit 0); exit 0; }