2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.65.
6
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11
@%:@ This configure script is free software; the Free Software Foundation
12
@%:@ gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
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
136
if test "x$CONFIG_SHELL" = x; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in @%:@(
147
set -o posix ;; @%:@(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
test -z "$as_dir" && as_dir=.
190
case $as_dir in @%:@(
192
for as_base in sh bash ksh sh5; do
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
213
if test "x$CONFIG_SHELL" != x; then :
214
# We cannot yet assume a decent shell, so we have to provide a
215
# neutralization value for shells without unset; and this also
216
# works around shells that cannot unset nonexistent variables.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
if test x$as_have_required = xno; then :
225
$as_echo "$0: This script requires a shell more modern than all"
226
$as_echo "$0: the shells that I found on your system."
227
if test x${ZSH_VERSION+set} = xset ; then
228
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
$0: including any error possibly output before this
233
$0: message. Then install a modern shell, or manually run
234
$0: the script under such a shell if you do have one."
240
SHELL=${CONFIG_SHELL-/bin/sh}
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
251
@%:@ Portably unset VAR.
254
{ eval $1=; unset $1;}
258
@%:@ as_fn_set_status STATUS
259
@%:@ -----------------------
260
@%:@ Set @S|@? to STATUS, without forking.
264
} @%:@ as_fn_set_status
266
@%:@ as_fn_exit STATUS
267
@%:@ -----------------
268
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
283
-*) as_dir=./$as_dir;;
285
test -d "$as_dir" || eval $as_mkdir_p || {
289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
as_dirs="'$as_qdir' $as_dirs"
293
as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
X"$as_dir" : 'X\(//\)[^/]' \| \
296
X"$as_dir" : 'X\(//\)$' \| \
297
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
test -d "$as_dir" && break
318
test -z "$as_dirs" || eval "mkdir $as_dirs"
319
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
@%:@ as_fn_append VAR VALUE
324
@%:@ ----------------------
325
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
326
@%:@ advantage of any shell optimizations that allow amortized linear growth over
327
@%:@ repeated appends, instead of the typical quadratic growth present in naive
328
@%:@ implementations.
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
341
@%:@ as_fn_arith ARG...
342
@%:@ ------------------
343
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
344
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
345
@%:@ must be portable across @S|@(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354
as_val=`expr "$@" || test $? -eq 1`
359
@%:@ as_fn_error ERROR [LINENO LOG_FD]
360
@%:@ ---------------------------------
361
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
@%:@ script with status @S|@?, using 1 if that was 0.
366
as_status=$?; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371
$as_echo "$as_me: error: $1" >&2
372
as_fn_exit $as_status
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
X"$0" : 'X\(//\)$' \| \
397
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
sed '/^.*\/\([^/][^/]*\)\/*$/{
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441
chmod +x "$as_me.lineno" ||
442
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444
# Don't try to exec as it changes $[0], causing all sort of problems
445
# (the dirname of $[0] is not the place where we might find the
446
# original and so on. Autoconf is especially sensitive to this).
448
# Exit status is that of the last command.
452
ECHO_C= ECHO_N= ECHO_T=
453
case `echo -n x` in @%:@(((((
455
case `echo 'xy\c'` in
456
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
458
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465
rm -f conf$$ conf$$.exe conf$$.file
466
if test -d conf$$.dir; then
467
rm -f conf$$.dir/conf$$.file
470
mkdir conf$$.dir 2>/dev/null
472
if (echo >conf$$.file) 2>/dev/null; then
473
if ln -s conf$$.file conf$$ 2>/dev/null; then
475
# ... but there are two gotchas:
476
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
# In both cases, we have to default to `cp -p'.
479
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481
elif ln conf$$.file conf$$ 2>/dev/null; then
489
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
rmdir conf$$.dir 2>/dev/null
492
if mkdir -p . 2>/dev/null; then
493
as_mkdir_p='mkdir -p "$as_dir"'
495
test -d ./-p && rmdir ./-p
499
if test -x / >/dev/null 2>&1; then
502
if ls -dL / >/dev/null 2>&1; then
509
if test -d "$1"; then
515
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
516
???[sx]*):;;*)false;;esac;fi
520
as_executable_p=$as_test_x
522
# Sed expression to map a string onto a valid CPP name.
523
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525
# Sed expression to map a string onto a valid variable name.
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529
test -n "$DJDIR" || exec 7<&0 </dev/null
533
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534
# so uname gets run too.
535
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
ac_default_prefix=/usr/local
542
ac_config_libobj_dir=.
549
# Identity of this package.
557
ac_unique_file="src/main.cc"
558
# Factoring default headers for most tests.
559
ac_includes_default="\
561
#ifdef HAVE_SYS_TYPES_H
562
# include <sys/types.h>
564
#ifdef HAVE_SYS_STAT_H
565
# include <sys/stat.h>
571
# ifdef HAVE_STDLIB_H
576
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581
#ifdef HAVE_STRINGS_H
582
# include <strings.h>
584
#ifdef HAVE_INTTYPES_H
585
# include <inttypes.h>
594
ac_subst_vars='am__EXEEXT_FALSE
673
INSTALL_STRIP_PROGRAM
715
program_transform_name
728
enable_option_checking
729
enable_dependency_tracking
747
with_imlib2_exec_prefix
762
ac_precious_vars='build_alias
777
# Initialize some variables set by options.
779
ac_init_version=false
780
ac_unrecognized_opts=
782
# The variables have the same names as the options, with
783
# dashes changed to underlines.
791
program_transform_name=s,x,x,
799
# Installation directory options.
800
# These are left unexpanded so users can "make install exec_prefix=/foo"
801
# and all the variables that are supposed to be based on exec_prefix
802
# by default will actually change.
803
# Use braces instead of parens because sh, perl, etc. also accept them.
804
# (The list follows the same order as the GNU Coding Standards.)
805
bindir='${exec_prefix}/bin'
806
sbindir='${exec_prefix}/sbin'
807
libexecdir='${exec_prefix}/libexec'
808
datarootdir='${prefix}/share'
809
datadir='${datarootdir}'
810
sysconfdir='${prefix}/etc'
811
sharedstatedir='${prefix}/com'
812
localstatedir='${prefix}/var'
813
includedir='${prefix}/include'
814
oldincludedir='/usr/include'
815
docdir='${datarootdir}/doc/${PACKAGE}'
816
infodir='${datarootdir}/info'
821
libdir='${exec_prefix}/lib'
822
localedir='${datarootdir}/locale'
823
mandir='${datarootdir}/man'
829
# If the previous option needs an argument, assign it.
830
if test -n "$ac_prev"; then
831
eval $ac_prev=\$ac_option
837
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
841
# Accept the important Cygnus configure options, so we can diagnose typos.
843
case $ac_dashdash$ac_option in
847
-bindir | --bindir | --bindi | --bind | --bin | --bi)
849
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
852
-build | --build | --buil | --bui | --bu)
853
ac_prev=build_alias ;;
854
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
855
build_alias=$ac_optarg ;;
857
-cache-file | --cache-file | --cache-fil | --cache-fi \
858
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
859
ac_prev=cache_file ;;
860
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
861
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
862
cache_file=$ac_optarg ;;
865
cache_file=config.cache ;;
867
-datadir | --datadir | --datadi | --datad)
869
-datadir=* | --datadir=* | --datadi=* | --datad=*)
870
datadir=$ac_optarg ;;
872
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
873
| --dataroo | --dataro | --datar)
874
ac_prev=datarootdir ;;
875
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
876
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
877
datarootdir=$ac_optarg ;;
879
-disable-* | --disable-*)
880
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
881
# Reject names that are not valid shell variable names.
882
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
883
as_fn_error "invalid feature name: $ac_useropt"
884
ac_useropt_orig=$ac_useropt
885
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
886
case $ac_user_opts in
890
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
891
ac_unrecognized_sep=', ';;
893
eval enable_$ac_useropt=no ;;
895
-docdir | --docdir | --docdi | --doc | --do)
897
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
900
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
902
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
905
-enable-* | --enable-*)
906
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
907
# Reject names that are not valid shell variable names.
908
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
909
as_fn_error "invalid feature name: $ac_useropt"
910
ac_useropt_orig=$ac_useropt
911
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912
case $ac_user_opts in
916
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
917
ac_unrecognized_sep=', ';;
919
eval enable_$ac_useropt=\$ac_optarg ;;
921
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
922
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
923
| --exec | --exe | --ex)
924
ac_prev=exec_prefix ;;
925
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
926
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
927
| --exec=* | --exe=* | --ex=*)
928
exec_prefix=$ac_optarg ;;
930
-gas | --gas | --ga | --g)
931
# Obsolete; use --with-gas.
934
-help | --help | --hel | --he | -h)
936
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
937
ac_init_help=recursive ;;
938
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
939
ac_init_help=short ;;
941
-host | --host | --hos | --ho)
942
ac_prev=host_alias ;;
943
-host=* | --host=* | --hos=* | --ho=*)
944
host_alias=$ac_optarg ;;
946
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950
htmldir=$ac_optarg ;;
952
-includedir | --includedir | --includedi | --included | --include \
953
| --includ | --inclu | --incl | --inc)
954
ac_prev=includedir ;;
955
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
956
| --includ=* | --inclu=* | --incl=* | --inc=*)
957
includedir=$ac_optarg ;;
959
-infodir | --infodir | --infodi | --infod | --info | --inf)
961
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
962
infodir=$ac_optarg ;;
964
-libdir | --libdir | --libdi | --libd)
966
-libdir=* | --libdir=* | --libdi=* | --libd=*)
969
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
970
| --libexe | --libex | --libe)
971
ac_prev=libexecdir ;;
972
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
973
| --libexe=* | --libex=* | --libe=*)
974
libexecdir=$ac_optarg ;;
976
-localedir | --localedir | --localedi | --localed | --locale)
978
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
979
localedir=$ac_optarg ;;
981
-localstatedir | --localstatedir | --localstatedi | --localstated \
982
| --localstate | --localstat | --localsta | --localst | --locals)
983
ac_prev=localstatedir ;;
984
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
985
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
986
localstatedir=$ac_optarg ;;
988
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994
# Obsolete; use --without-fp.
997
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
998
| --no-cr | --no-c | -n)
1001
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1002
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1005
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1006
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1007
| --oldin | --oldi | --old | --ol | --o)
1008
ac_prev=oldincludedir ;;
1009
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1010
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1011
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1012
oldincludedir=$ac_optarg ;;
1014
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1017
prefix=$ac_optarg ;;
1019
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1020
| --program-pre | --program-pr | --program-p)
1021
ac_prev=program_prefix ;;
1022
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1023
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1024
program_prefix=$ac_optarg ;;
1026
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1027
| --program-suf | --program-su | --program-s)
1028
ac_prev=program_suffix ;;
1029
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1030
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1031
program_suffix=$ac_optarg ;;
1033
-program-transform-name | --program-transform-name \
1034
| --program-transform-nam | --program-transform-na \
1035
| --program-transform-n | --program-transform- \
1036
| --program-transform | --program-transfor \
1037
| --program-transfo | --program-transf \
1038
| --program-trans | --program-tran \
1039
| --progr-tra | --program-tr | --program-t)
1040
ac_prev=program_transform_name ;;
1041
-program-transform-name=* | --program-transform-name=* \
1042
| --program-transform-nam=* | --program-transform-na=* \
1043
| --program-transform-n=* | --program-transform-=* \
1044
| --program-transform=* | --program-transfor=* \
1045
| --program-transfo=* | --program-transf=* \
1046
| --program-trans=* | --program-tran=* \
1047
| --progr-tra=* | --program-tr=* | --program-t=*)
1048
program_transform_name=$ac_optarg ;;
1050
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1053
pdfdir=$ac_optarg ;;
1055
-psdir | --psdir | --psdi | --psd | --ps)
1057
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1060
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061
| -silent | --silent | --silen | --sile | --sil)
1064
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068
sbindir=$ac_optarg ;;
1070
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1071
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1072
| --sharedst | --shareds | --shared | --share | --shar \
1074
ac_prev=sharedstatedir ;;
1075
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1076
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1077
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079
sharedstatedir=$ac_optarg ;;
1081
-site | --site | --sit)
1083
-site=* | --site=* | --sit=*)
1086
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1089
srcdir=$ac_optarg ;;
1091
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1092
| --syscon | --sysco | --sysc | --sys | --sy)
1093
ac_prev=sysconfdir ;;
1094
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1095
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1096
sysconfdir=$ac_optarg ;;
1098
-target | --target | --targe | --targ | --tar | --ta | --t)
1099
ac_prev=target_alias ;;
1100
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1101
target_alias=$ac_optarg ;;
1103
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1106
-version | --version | --versio | --versi | --vers | -V)
1107
ac_init_version=: ;;
1110
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111
# Reject names that are not valid shell variable names.
1112
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113
as_fn_error "invalid package name: $ac_useropt"
1114
ac_useropt_orig=$ac_useropt
1115
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116
case $ac_user_opts in
1120
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1121
ac_unrecognized_sep=', ';;
1123
eval with_$ac_useropt=\$ac_optarg ;;
1125
-without-* | --without-*)
1126
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1127
# Reject names that are not valid shell variable names.
1128
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1129
as_fn_error "invalid package name: $ac_useropt"
1130
ac_useropt_orig=$ac_useropt
1131
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132
case $ac_user_opts in
1136
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1137
ac_unrecognized_sep=', ';;
1139
eval with_$ac_useropt=no ;;
1142
# Obsolete; use --with-x.
1145
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1146
| --x-incl | --x-inc | --x-in | --x-i)
1147
ac_prev=x_includes ;;
1148
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1149
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1150
x_includes=$ac_optarg ;;
1152
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1153
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1154
ac_prev=x_libraries ;;
1155
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1156
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1157
x_libraries=$ac_optarg ;;
1159
-*) as_fn_error "unrecognized option: \`$ac_option'
1160
Try \`$0 --help' for more information."
1164
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1165
# Reject names that are not valid shell variable names.
1166
case $ac_envvar in #(
1167
'' | [0-9]* | *[!_$as_cr_alnum]* )
1168
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1170
eval $ac_envvar=\$ac_optarg
1171
export $ac_envvar ;;
1174
# FIXME: should be removed in autoconf 3.0.
1175
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1176
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1177
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1178
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1184
if test -n "$ac_prev"; then
1185
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1186
as_fn_error "missing argument to $ac_option"
1189
if test -n "$ac_unrecognized_opts"; then
1190
case $enable_option_checking in
1192
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1193
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1197
# Check all directory arguments for consistency.
1198
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1199
datadir sysconfdir sharedstatedir localstatedir includedir \
1200
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1201
libdir localedir mandir
1203
eval ac_val=\$$ac_var
1204
# Remove trailing slashes.
1207
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1208
eval $ac_var=\$ac_val;;
1210
# Be sure to have absolute directory names.
1212
[\\/$]* | ?:[\\/]* ) continue;;
1213
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1215
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1218
# There might be people who depend on the old broken behavior: `$host'
1219
# used to hold the argument of --host etc.
1220
# FIXME: To remove some day.
1223
target=$target_alias
1225
# FIXME: To remove some day.
1226
if test "x$host_alias" != x; then
1227
if test "x$build_alias" = x; then
1228
cross_compiling=maybe
1229
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1230
If a cross compiler is detected then cross compile mode will be used." >&2
1231
elif test "x$build_alias" != "x$host_alias"; then
1237
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1239
test "$silent" = yes && exec 6>/dev/null
1242
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1243
ac_ls_di=`ls -di .` &&
1244
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1245
as_fn_error "working directory cannot be determined"
1246
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1247
as_fn_error "pwd does not report name of working directory"
1250
# Find the source files, if location was not specified.
1251
if test -z "$srcdir"; then
1252
ac_srcdir_defaulted=yes
1253
# Try the directory containing this script, then the parent directory.
1254
ac_confdir=`$as_dirname -- "$as_myself" ||
1255
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1256
X"$as_myself" : 'X\(//\)[^/]' \| \
1257
X"$as_myself" : 'X\(//\)$' \| \
1258
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1259
$as_echo X"$as_myself" |
1260
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1278
if test ! -r "$srcdir/$ac_unique_file"; then
1282
ac_srcdir_defaulted=no
1284
if test ! -r "$srcdir/$ac_unique_file"; then
1285
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1286
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1288
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1290
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1292
# When building in place, set srcdir=.
1293
if test "$ac_abs_confdir" = "$ac_pwd"; then
1296
# Remove unnecessary trailing slashes from srcdir.
1297
# Double slashes in file names in object file debugging info
1298
# mess up M-x gdb in Emacs.
1300
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1302
for ac_var in $ac_precious_vars; do
1303
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1304
eval ac_env_${ac_var}_value=\$${ac_var}
1305
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1306
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1310
# Report the --help message.
1312
if test "$ac_init_help" = "long"; then
1313
# Omit some internal or obsolete options to make the list less imposing.
1314
# This message is too long to be a string in the A/UX 3.1 sh.
1316
\`configure' configures this package to adapt to many kinds of systems.
1318
Usage: $0 [OPTION]... [VAR=VALUE]...
1320
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1321
VAR=VALUE. See below for descriptions of some of the useful variables.
1323
Defaults for the options are specified in brackets.
1326
-h, --help display this help and exit
1327
--help=short display options specific to this package
1328
--help=recursive display the short help of all the included packages
1329
-V, --version display version information and exit
1330
-q, --quiet, --silent do not print \`checking...' messages
1331
--cache-file=FILE cache test results in FILE [disabled]
1332
-C, --config-cache alias for \`--cache-file=config.cache'
1333
-n, --no-create do not create output files
1334
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1336
Installation directories:
1337
--prefix=PREFIX install architecture-independent files in PREFIX
1338
@<:@@S|@ac_default_prefix@:>@
1339
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1342
By default, \`make install' will install all the files in
1343
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1344
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1345
for instance \`--prefix=\$HOME'.
1347
For better control, use the options below.
1349
Fine tuning of the installation directories:
1350
--bindir=DIR user executables [EPREFIX/bin]
1351
--sbindir=DIR system admin executables [EPREFIX/sbin]
1352
--libexecdir=DIR program executables [EPREFIX/libexec]
1353
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1354
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1355
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1356
--libdir=DIR object code libraries [EPREFIX/lib]
1357
--includedir=DIR C header files [PREFIX/include]
1358
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1359
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1360
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1361
--infodir=DIR info documentation [DATAROOTDIR/info]
1362
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1363
--mandir=DIR man documentation [DATAROOTDIR/man]
1364
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1365
--htmldir=DIR html documentation [DOCDIR]
1366
--dvidir=DIR dvi documentation [DOCDIR]
1367
--pdfdir=DIR pdf documentation [DOCDIR]
1368
--psdir=DIR ps documentation [DOCDIR]
1374
--program-prefix=PREFIX prepend PREFIX to installed program names
1375
--program-suffix=SUFFIX append SUFFIX to installed program names
1376
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1379
--x-includes=DIR X include files are in DIR
1380
--x-libraries=DIR X library files are in DIR
1384
if test -n "$ac_init_help"; then
1389
--disable-option-checking ignore unrecognized --enable/--with options
1390
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1391
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1392
--disable-dependency-tracking speeds up one-time build
1393
--enable-dependency-tracking do not reject slow dependency extractors
1394
--enable-slit include code for the Slit (default=yes)
1395
--enable-remember include code for Remembering attributes (default=yes)
1396
--enable-toolbar include code for Toolbar (default=yes)
1397
--enable-regexp regular expression support (default=yes)
1398
--enable-newwmspec include code for the new WM Spec (default=yes)
1399
--enable-debug include verbose debugging code (default=no)
1400
--enable-nls include native language support (default=no)
1401
--enable-timed-cache use new timed pixmap cache (default=yes)
1402
--enable-gnome GNOME support (default=yes)
1403
--enable-xft Xft (antialias) support (default=yes)
1404
--enable-xrender Xrender (transparent) support (default=yes)
1405
--enable-xpm Xpm (pixmap themes) support (default=yes)
1406
--enable-imlib2 Imlib2 (pixmap themes) support (@<:@default=yes@:>@)
1407
--enable-xmb Xmb (multibyte font, utf-8) support (default=yes)
1408
--enable-xinerama enable support of the Xinerama extension
1410
--enable-shape enable support of the XShape extension @<:@default=yes@:>@
1411
--enable-randr enable support of the Xrandr extension @<:@default=yes@:>@
1412
--enable-randr1.2 RANDR 1.2 support @<:@default=yes@:>@
1415
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1416
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1417
--with-x use the X Window System
1418
--with-xft-prefix=path Prefix where Xft is installed (optional)
1419
--with-pkg-exec-prefix=path Exec prefix where pkg-config is installed (optional)
1420
--with-imlib2-prefix=PFX Prefix where imlib2 is installed (optional)
1421
--with-imlib2-exec-prefix=PFX Exec prefix where imlib2 is installed (optional)
1422
--with-menu=path location menu file (PREFIX/share/fluxbox/menu)
1423
--with-windowmenu=path location windowmenu file (PREFIX/share/fluxbox/windowmenu)
1424
--with-style=path style by default (PREFIX/share/fluxbox/styles/bloe)
1425
--with-keys=path location keys file (PREFIX/share/fluxbox/keys)
1426
--with-apps=path location apps file (PREFIX/share/fluxbox/apps)
1427
--with-overlay=path location overlay file (PREFIX/share/fluxbox/overlay)
1428
--with-init=path location init file (PREFIX/share/fluxbox/init)
1429
--with-locale=path location for nls files (PREFIX/share/fluxbox/nls)
1431
Some influential environment variables:
1432
CC C compiler command
1433
CFLAGS C compiler flags
1434
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1435
nonstandard directory <lib dir>
1436
LIBS libraries to pass to the linker, e.g. -l<library>
1437
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1438
you have headers in a nonstandard directory <include dir>
1439
CXX C++ compiler command
1440
CXXFLAGS C++ compiler flags
1441
CXXCPP C++ preprocessor
1442
XMKMF Path to xmkmf, Makefile generator for X Window System
1444
Use these variables to override the choices made by `configure' or to help
1445
it to find libraries and programs with nonstandard names/locations.
1447
Report bugs to the package provider.
1452
if test "$ac_init_help" = "recursive"; then
1453
# If there are subdirs, report their specific --help.
1454
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1455
test -d "$ac_dir" ||
1456
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1461
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1463
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1464
# A ".." for each directory in $ac_dir_suffix.
1465
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1466
case $ac_top_builddir_sub in
1467
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1468
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1471
ac_abs_top_builddir=$ac_pwd
1472
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1473
# for backward compatibility:
1474
ac_top_builddir=$ac_top_build_prefix
1477
.) # We are building in place.
1479
ac_top_srcdir=$ac_top_builddir_sub
1480
ac_abs_top_srcdir=$ac_pwd ;;
1481
[\\/]* | ?:[\\/]* ) # Absolute name.
1482
ac_srcdir=$srcdir$ac_dir_suffix;
1483
ac_top_srcdir=$srcdir
1484
ac_abs_top_srcdir=$srcdir ;;
1486
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1487
ac_top_srcdir=$ac_top_build_prefix$srcdir
1488
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1490
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1492
cd "$ac_dir" || { ac_status=$?; continue; }
1493
# Check for guested configure.
1494
if test -f "$ac_srcdir/configure.gnu"; then
1496
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1497
elif test -f "$ac_srcdir/configure"; then
1499
$SHELL "$ac_srcdir/configure" --help=recursive
1501
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1503
cd "$ac_pwd" || { ac_status=$?; break; }
1507
test -n "$ac_init_help" && exit $ac_status
1508
if $ac_init_version; then
1511
generated by GNU Autoconf 2.65
1513
Copyright (C) 2009 Free Software Foundation, Inc.
1514
This configure script is free software; the Free Software Foundation
1515
gives unlimited permission to copy, distribute and modify it.
1520
## ------------------------ ##
1521
## Autoconf initialization. ##
1522
## ------------------------ ##
1524
@%:@ ac_fn_c_try_compile LINENO
1525
@%:@ --------------------------
1526
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1527
ac_fn_c_try_compile ()
1529
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1530
rm -f conftest.$ac_objext
1531
if { { ac_try="$ac_compile"
1533
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1534
*) ac_try_echo=$ac_try;;
1536
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1537
$as_echo "$ac_try_echo"; } >&5
1538
(eval "$ac_compile") 2>conftest.err
1540
if test -s conftest.err; then
1541
grep -v '^ *+' conftest.err >conftest.er1
1542
cat conftest.er1 >&5
1543
mv -f conftest.er1 conftest.err
1545
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1546
test $ac_status = 0; } && {
1547
test -z "$ac_c_werror_flag" ||
1548
test ! -s conftest.err
1549
} && test -s conftest.$ac_objext; then :
1552
$as_echo "$as_me: failed program was:" >&5
1553
sed 's/^/| /' conftest.$ac_ext >&5
1557
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1558
as_fn_set_status $ac_retval
1560
} @%:@ ac_fn_c_try_compile
1562
@%:@ ac_fn_cxx_try_compile LINENO
1563
@%:@ ----------------------------
1564
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1565
ac_fn_cxx_try_compile ()
1567
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1568
rm -f conftest.$ac_objext
1569
if { { ac_try="$ac_compile"
1571
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1572
*) ac_try_echo=$ac_try;;
1574
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1575
$as_echo "$ac_try_echo"; } >&5
1576
(eval "$ac_compile") 2>conftest.err
1578
if test -s conftest.err; then
1579
grep -v '^ *+' conftest.err >conftest.er1
1580
cat conftest.er1 >&5
1581
mv -f conftest.er1 conftest.err
1583
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584
test $ac_status = 0; } && {
1585
test -z "$ac_cxx_werror_flag" ||
1586
test ! -s conftest.err
1587
} && test -s conftest.$ac_objext; then :
1590
$as_echo "$as_me: failed program was:" >&5
1591
sed 's/^/| /' conftest.$ac_ext >&5
1595
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1596
as_fn_set_status $ac_retval
1598
} @%:@ ac_fn_cxx_try_compile
1600
@%:@ ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1601
@%:@ ---------------------------------------------
1602
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1603
@%:@ variable VAR accordingly.
1604
ac_fn_cxx_check_type ()
1606
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608
$as_echo_n "checking for $2... " >&6; }
1609
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1610
$as_echo_n "(cached) " >&6
1613
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1614
/* end confdefs.h. */
1625
if ac_fn_cxx_try_compile "$LINENO"; then :
1626
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1627
/* end confdefs.h. */
1638
if ac_fn_cxx_try_compile "$LINENO"; then :
1643
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1645
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1649
$as_echo "$ac_res" >&6; }
1650
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1652
} @%:@ ac_fn_cxx_check_type
1654
@%:@ ac_fn_cxx_try_cpp LINENO
1655
@%:@ ------------------------
1656
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1657
ac_fn_cxx_try_cpp ()
1659
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660
if { { ac_try="$ac_cpp conftest.$ac_ext"
1662
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663
*) ac_try_echo=$ac_try;;
1665
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666
$as_echo "$ac_try_echo"; } >&5
1667
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1669
if test -s conftest.err; then
1670
grep -v '^ *+' conftest.err >conftest.er1
1671
cat conftest.er1 >&5
1672
mv -f conftest.er1 conftest.err
1674
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675
test $ac_status = 0; } >/dev/null && {
1676
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1677
test ! -s conftest.err
1681
$as_echo "$as_me: failed program was:" >&5
1682
sed 's/^/| /' conftest.$ac_ext >&5
1686
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687
as_fn_set_status $ac_retval
1689
} @%:@ ac_fn_cxx_try_cpp
1691
@%:@ ac_fn_cxx_try_run LINENO
1692
@%:@ ------------------------
1693
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1694
@%:@ that executables *can* be run.
1695
ac_fn_cxx_try_run ()
1697
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698
if { { ac_try="$ac_link"
1700
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701
*) ac_try_echo=$ac_try;;
1703
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704
$as_echo "$ac_try_echo"; } >&5
1705
(eval "$ac_link") 2>&5
1707
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1709
{ { case "(($ac_try" in
1710
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711
*) ac_try_echo=$ac_try;;
1713
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714
$as_echo "$ac_try_echo"; } >&5
1715
(eval "$ac_try") 2>&5
1717
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718
test $ac_status = 0; }; }; then :
1721
$as_echo "$as_me: program exited with status $ac_status" >&5
1722
$as_echo "$as_me: failed program was:" >&5
1723
sed 's/^/| /' conftest.$ac_ext >&5
1725
ac_retval=$ac_status
1727
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1729
as_fn_set_status $ac_retval
1731
} @%:@ ac_fn_cxx_try_run
1733
@%:@ ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1734
@%:@ ---------------------------------------------------------
1735
@%:@ Tests whether HEADER exists and can be compiled using the include files in
1736
@%:@ INCLUDES, setting the cache variable VAR accordingly.
1737
ac_fn_cxx_check_header_compile ()
1739
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741
$as_echo_n "checking for $2... " >&6; }
1742
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1743
$as_echo_n "(cached) " >&6
1745
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746
/* end confdefs.h. */
1750
if ac_fn_cxx_try_compile "$LINENO"; then :
1755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759
$as_echo "$ac_res" >&6; }
1760
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762
} @%:@ ac_fn_cxx_check_header_compile
1764
@%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1765
@%:@ ---------------------------------------------------------
1766
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1767
@%:@ the include files in INCLUDES and setting the cache variable VAR
1769
ac_fn_cxx_check_header_mongrel ()
1771
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774
$as_echo_n "checking for $2... " >&6; }
1775
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1776
$as_echo_n "(cached) " >&6
1779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1780
$as_echo "$ac_res" >&6; }
1782
# Is the header compilable?
1783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1784
$as_echo_n "checking $2 usability... " >&6; }
1785
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786
/* end confdefs.h. */
1790
if ac_fn_cxx_try_compile "$LINENO"; then :
1791
ac_header_compiler=yes
1793
ac_header_compiler=no
1795
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1797
$as_echo "$ac_header_compiler" >&6; }
1799
# Is the header present?
1800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1801
$as_echo_n "checking $2 presence... " >&6; }
1802
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803
/* end confdefs.h. */
1806
if ac_fn_cxx_try_cpp "$LINENO"; then :
1807
ac_header_preproc=yes
1809
ac_header_preproc=no
1811
rm -f conftest.err conftest.$ac_ext
1812
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1813
$as_echo "$ac_header_preproc" >&6; }
1815
# So? What about this header?
1816
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1818
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1819
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1820
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1821
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1824
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1825
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1826
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1827
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1828
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1829
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1830
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1831
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1832
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1833
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1837
$as_echo_n "checking for $2... " >&6; }
1838
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1839
$as_echo_n "(cached) " >&6
1841
eval "$3=\$ac_header_compiler"
1844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1845
$as_echo "$ac_res" >&6; }
1847
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1849
} @%:@ ac_fn_cxx_check_header_mongrel
1851
@%:@ ac_fn_cxx_try_link LINENO
1852
@%:@ -------------------------
1853
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1854
ac_fn_cxx_try_link ()
1856
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857
rm -f conftest.$ac_objext conftest$ac_exeext
1858
if { { ac_try="$ac_link"
1860
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1861
*) ac_try_echo=$ac_try;;
1863
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864
$as_echo "$ac_try_echo"; } >&5
1865
(eval "$ac_link") 2>conftest.err
1867
if test -s conftest.err; then
1868
grep -v '^ *+' conftest.err >conftest.er1
1869
cat conftest.er1 >&5
1870
mv -f conftest.er1 conftest.err
1872
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873
test $ac_status = 0; } && {
1874
test -z "$ac_cxx_werror_flag" ||
1875
test ! -s conftest.err
1876
} && test -s conftest$ac_exeext && {
1877
test "$cross_compiling" = yes ||
1878
$as_test_x conftest$ac_exeext
1882
$as_echo "$as_me: failed program was:" >&5
1883
sed 's/^/| /' conftest.$ac_ext >&5
1887
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1888
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1889
# interfere with the next link command; also delete a directory that is
1890
# left behind by Apple's compiler. We do this before executing the actions.
1891
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1892
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1893
as_fn_set_status $ac_retval
1895
} @%:@ ac_fn_cxx_try_link
1897
@%:@ ac_fn_cxx_check_func LINENO FUNC VAR
1898
@%:@ ------------------------------------
1899
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1900
ac_fn_cxx_check_func ()
1902
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904
$as_echo_n "checking for $2... " >&6; }
1905
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1906
$as_echo_n "(cached) " >&6
1908
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1909
/* end confdefs.h. */
1910
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1911
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1912
#define $2 innocuous_$2
1914
/* System header to define __stub macros and hopefully few prototypes,
1915
which can conflict with char $2 (); below.
1916
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1917
<limits.h> exists even on freestanding compilers. */
1920
# include <limits.h>
1922
# include <assert.h>
1927
/* Override any GCC internal prototype to avoid an error.
1928
Use char because int might match the return type of a GCC
1929
builtin and then its argument prototype would still apply. */
1934
/* The GNU C library defines this for functions which it implements
1935
to always fail with ENOSYS. Some functions are actually named
1936
something starting with __ and the normal name is an alias. */
1937
#if defined __stub_$2 || defined __stub___$2
1949
if ac_fn_cxx_try_link "$LINENO"; then :
1954
rm -f core conftest.err conftest.$ac_objext \
1955
conftest$ac_exeext conftest.$ac_ext
1958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959
$as_echo "$ac_res" >&6; }
1960
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1962
} @%:@ ac_fn_cxx_check_func
1963
cat >config.log <<_ACEOF
1964
This file contains any messages produced by compilers while
1965
running configure, to aid debugging if configure makes a mistake.
1967
It was created by $as_me, which was
1968
generated by GNU Autoconf 2.65. Invocation command line was
1980
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1981
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1982
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1983
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1984
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1986
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1987
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1989
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1990
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1991
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1992
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1993
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1994
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1995
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1999
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003
test -z "$as_dir" && as_dir=.
2004
$as_echo "PATH: $as_dir"
2020
# Keep a trace of the command line.
2021
# Strip out --no-create and --no-recursion so they do not pile up.
2022
# Strip out --silent because we don't want to record it for future runs.
2023
# Also quote any args containing shell meta-characters.
2024
# Make two passes to allow for proper duplicate-argument suppression.
2028
ac_must_keep_next=false
2034
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2035
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2036
| -silent | --silent | --silen | --sile | --sil)
2039
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2042
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2044
as_fn_append ac_configure_args1 " '$ac_arg'"
2045
if test $ac_must_keep_next = true; then
2046
ac_must_keep_next=false # Got value, back to normal.
2049
*=* | --config-cache | -C | -disable-* | --disable-* \
2050
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2051
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2052
| -with-* | --with-* | -without-* | --without-* | --x)
2053
case "$ac_configure_args0 " in
2054
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2057
-* ) ac_must_keep_next=true ;;
2060
as_fn_append ac_configure_args " '$ac_arg'"
2065
{ ac_configure_args0=; unset ac_configure_args0;}
2066
{ ac_configure_args1=; unset ac_configure_args1;}
2068
# When interrupted or exit'd, cleanup temporary files, and complete
2069
# config.log. We remove comments because anyway the quotes in there
2070
# would cause problems or look ugly.
2071
# WARNING: Use '\'' to represent an apostrophe within the trap.
2072
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2073
trap 'exit_status=$?
2074
# Save into config.log some information that might help in debugging.
2079
## ---------------- ##
2080
## Cache variables. ##
2081
## ---------------- ##
2084
# The following way of writing the cache mishandles newlines in values,
2086
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2087
eval ac_val=\$$ac_var
2091
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2092
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2095
_ | IFS | as_nl) ;; #(
2096
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2097
*) { eval $ac_var=; unset $ac_var;} ;;
2102
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2103
*${as_nl}ac_space=\ *)
2105
"s/'\''/'\''\\\\'\'''\''/g;
2106
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2109
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2117
## ----------------- ##
2118
## Output variables. ##
2119
## ----------------- ##
2122
for ac_var in $ac_subst_vars
2124
eval ac_val=\$$ac_var
2126
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2128
$as_echo "$ac_var='\''$ac_val'\''"
2132
if test -n "$ac_subst_files"; then
2134
## ------------------- ##
2135
## File substitutions. ##
2136
## ------------------- ##
2139
for ac_var in $ac_subst_files
2141
eval ac_val=\$$ac_var
2143
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2145
$as_echo "$ac_var='\''$ac_val'\''"
2150
if test -s confdefs.h; then
2160
test "$ac_signal" != 0 &&
2161
$as_echo "$as_me: caught signal $ac_signal"
2162
$as_echo "$as_me: exit $exit_status"
2164
rm -f core *.core core.conftest.* &&
2165
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2168
for ac_signal in 1 2 13 15; do
2169
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2173
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2174
rm -f -r conftest* confdefs.h
2176
$as_echo "/* confdefs.h */" > confdefs.h
2178
# Predefined preprocessor variables.
2180
cat >>confdefs.h <<_ACEOF
2181
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2184
cat >>confdefs.h <<_ACEOF
2185
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2188
cat >>confdefs.h <<_ACEOF
2189
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2192
cat >>confdefs.h <<_ACEOF
2193
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2196
cat >>confdefs.h <<_ACEOF
2197
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2200
cat >>confdefs.h <<_ACEOF
2201
@%:@define PACKAGE_URL "$PACKAGE_URL"
2205
# Let the site file select an alternate cache file if it wants to.
2206
# Prefer an explicitly selected file to automatically selected ones.
2209
if test -n "$CONFIG_SITE"; then
2210
ac_site_file1=$CONFIG_SITE
2211
elif test "x$prefix" != xNONE; then
2212
ac_site_file1=$prefix/share/config.site
2213
ac_site_file2=$prefix/etc/config.site
2215
ac_site_file1=$ac_default_prefix/share/config.site
2216
ac_site_file2=$ac_default_prefix/etc/config.site
2218
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2220
test "x$ac_site_file" = xNONE && continue
2221
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2222
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2223
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2224
sed 's/^/| /' "$ac_site_file" >&5
2229
if test -r "$cache_file"; then
2230
# Some versions of bash will fail to source /dev/null (special files
2231
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2232
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2233
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2234
$as_echo "$as_me: loading cache $cache_file" >&6;}
2236
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2237
*) . "./$cache_file";;
2241
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2242
$as_echo "$as_me: creating cache $cache_file" >&6;}
2246
# Check that the precious variables saved in the cache have kept the same
2248
ac_cache_corrupted=false
2249
for ac_var in $ac_precious_vars; do
2250
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2251
eval ac_new_set=\$ac_env_${ac_var}_set
2252
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2253
eval ac_new_val=\$ac_env_${ac_var}_value
2254
case $ac_old_set,$ac_new_set in
2256
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2257
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2258
ac_cache_corrupted=: ;;
2260
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2261
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2262
ac_cache_corrupted=: ;;
2265
if test "x$ac_old_val" != "x$ac_new_val"; then
2266
# differences in whitespace do not lead to failure.
2267
ac_old_val_w=`echo x $ac_old_val`
2268
ac_new_val_w=`echo x $ac_new_val`
2269
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2270
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2271
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2272
ac_cache_corrupted=:
2274
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2275
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2276
eval $ac_var=\$ac_old_val
2278
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2279
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2280
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2281
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2284
# Pass precious variables to config.status.
2285
if test "$ac_new_set" = set; then
2287
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2288
*) ac_arg=$ac_var=$ac_new_val ;;
2290
case " $ac_configure_args " in
2291
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2292
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2296
if $ac_cache_corrupted; then
2297
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2298
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2299
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2300
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2301
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2303
## -------------------- ##
2304
## Main body of script. ##
2305
## -------------------- ##
2308
ac_cpp='$CPP $CPPFLAGS'
2309
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2310
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2311
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2315
am__api_version='1.11'
2318
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2319
for ac_t in install-sh install.sh shtool; do
2320
if test -f "$ac_dir/$ac_t"; then
2322
ac_install_sh="$ac_aux_dir/$ac_t -c"
2327
if test -z "$ac_aux_dir"; then
2328
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2331
# These three variables are undocumented and unsupported,
2332
# and are intended to be withdrawn in a future Autoconf release.
2333
# They can cause serious problems if a builder's source tree is in a directory
2334
# whose full name contains unusual characters.
2335
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2336
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2337
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2340
# Find a good install program. We prefer a C program (faster),
2341
# so one script is as good as another. But avoid the broken or
2342
# incompatible versions:
2343
# SysV /etc/install, /usr/sbin/install
2344
# SunOS /usr/etc/install
2345
# IRIX /sbin/install
2347
# AmigaOS /C/install, which installs bootblocks on floppy discs
2348
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2349
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2350
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2351
# OS/2's system install, which has a completely different semantic
2352
# ./install, which can be erroneously created by make from ./install.sh.
2353
# Reject install programs that cannot install multiple files.
2354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2355
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2356
if test -z "$INSTALL"; then
2357
if test "${ac_cv_path_install+set}" = set; then :
2358
$as_echo_n "(cached) " >&6
2360
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364
test -z "$as_dir" && as_dir=.
2365
# Account for people who put trailing slashes in PATH elements.
2366
case $as_dir/ in @%:@((
2367
./ | .// | /[cC]/* | \
2368
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2369
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2372
# OSF1 and SCO ODT 3.0 have their own names for install.
2373
# Don't use installbsd from OSF since it installs stuff as root
2375
for ac_prog in ginstall scoinst install; do
2376
for ac_exec_ext in '' $ac_executable_extensions; do
2377
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2378
if test $ac_prog = install &&
2379
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2380
# AIX install. It has an incompatible calling convention.
2382
elif test $ac_prog = install &&
2383
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2384
# program-specific install script used by HP pwplus--don't use.
2387
rm -rf conftest.one conftest.two conftest.dir
2388
echo one > conftest.one
2389
echo two > conftest.two
2391
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2392
test -s conftest.one && test -s conftest.two &&
2393
test -s conftest.dir/conftest.one &&
2394
test -s conftest.dir/conftest.two
2396
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2409
rm -rf conftest.one conftest.two conftest.dir
2412
if test "${ac_cv_path_install+set}" = set; then
2413
INSTALL=$ac_cv_path_install
2415
# As a last resort, use the slow shell script. Don't cache a
2416
# value for INSTALL within a source directory, because that will
2417
# break other packages using the cache if that directory is
2418
# removed, or if the value is a relative name.
2419
INSTALL=$ac_install_sh
2422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2423
$as_echo "$INSTALL" >&6; }
2425
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2426
# It thinks the first close brace ends the variable substitution.
2427
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2429
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2431
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2434
$as_echo_n "checking whether build environment is sane... " >&6; }
2437
echo timestamp > conftest.file
2438
# Reject unsafe characters in $srcdir or the absolute working directory
2439
# name. Accept space and tab only in the latter.
2443
*[\\\"\#\$\&\'\`$am_lf]*)
2444
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2447
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2448
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2451
# Do `set' in a subshell so we don't clobber the current shell's
2452
# arguments. Must try -L first in case configure is actually a
2453
# symlink; some systems play weird games with the mod time of symlinks
2454
# (eg FreeBSD returns the mod time of the symlink's containing
2457
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2458
if test "$*" = "X"; then
2460
set X `ls -t "$srcdir/configure" conftest.file`
2463
if test "$*" != "X $srcdir/configure conftest.file" \
2464
&& test "$*" != "X conftest.file $srcdir/configure"; then
2466
# If neither matched, then we have a broken ls. This can happen
2467
# if, for instance, CONFIG_SHELL is bash and it inherits a
2468
# broken ls alias from the environment. This has actually
2469
# happened. Such a system could not be considered "sane".
2470
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2471
alias in your environment" "$LINENO" 5
2474
test "$2" = conftest.file
2480
as_fn_error "newly created file is older than distributed files!
2481
Check your system clock" "$LINENO" 5
2483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2484
$as_echo "yes" >&6; }
2485
test "$program_prefix" != NONE &&
2486
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2487
# Use a double $ so make ignores it.
2488
test "$program_suffix" != NONE &&
2489
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2490
# Double any \ or $.
2491
# By default was `s,x,x', remove it if useless.
2492
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2493
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2495
# expand $ac_aux_dir to an absolute path
2496
am_aux_dir=`cd $ac_aux_dir && pwd`
2498
if test x"${MISSING+set}" != xset; then
2501
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2503
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2506
# Use eval to expand $SHELL
2507
if eval "$MISSING --run true"; then
2508
am_missing_run="$MISSING --run "
2511
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2512
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2515
if test x"${install_sh}" != xset; then
2518
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2520
install_sh="\${SHELL} $am_aux_dir/install-sh"
2524
# Installed binaries are usually stripped using `strip' when the user
2525
# run `make install-strip'. However `strip' might not be the right
2526
# tool to use in cross-compilation environments, therefore Automake
2527
# will honor the `STRIP' environment variable to overrule this program.
2528
if test "$cross_compiling" != no; then
2529
if test -n "$ac_tool_prefix"; then
2530
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2531
set dummy ${ac_tool_prefix}strip; ac_word=$2
2532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2533
$as_echo_n "checking for $ac_word... " >&6; }
2534
if test "${ac_cv_prog_STRIP+set}" = set; then :
2535
$as_echo_n "(cached) " >&6
2537
if test -n "$STRIP"; then
2538
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2540
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544
test -z "$as_dir" && as_dir=.
2545
for ac_exec_ext in '' $ac_executable_extensions; do
2546
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2548
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2557
STRIP=$ac_cv_prog_STRIP
2558
if test -n "$STRIP"; then
2559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2560
$as_echo "$STRIP" >&6; }
2562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2563
$as_echo "no" >&6; }
2568
if test -z "$ac_cv_prog_STRIP"; then
2570
# Extract the first word of "strip", so it can be a program name with args.
2571
set dummy strip; ac_word=$2
2572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2573
$as_echo_n "checking for $ac_word... " >&6; }
2574
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2575
$as_echo_n "(cached) " >&6
2577
if test -n "$ac_ct_STRIP"; then
2578
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2580
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584
test -z "$as_dir" && as_dir=.
2585
for ac_exec_ext in '' $ac_executable_extensions; do
2586
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2587
ac_cv_prog_ac_ct_STRIP="strip"
2588
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2597
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2598
if test -n "$ac_ct_STRIP"; then
2599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2600
$as_echo "$ac_ct_STRIP" >&6; }
2602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2603
$as_echo "no" >&6; }
2606
if test "x$ac_ct_STRIP" = x; then
2609
case $cross_compiling:$ac_tool_warned in
2611
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2612
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2613
ac_tool_warned=yes ;;
2618
STRIP="$ac_cv_prog_STRIP"
2622
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2625
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2626
if test -z "$MKDIR_P"; then
2627
if test "${ac_cv_path_mkdir+set}" = set; then :
2628
$as_echo_n "(cached) " >&6
2630
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2634
test -z "$as_dir" && as_dir=.
2635
for ac_prog in mkdir gmkdir; do
2636
for ac_exec_ext in '' $ac_executable_extensions; do
2637
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2638
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2639
'mkdir (GNU coreutils) '* | \
2640
'mkdir (coreutils) '* | \
2641
'mkdir (fileutils) '4.1*)
2642
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2652
test -d ./--version && rmdir ./--version
2653
if test "${ac_cv_path_mkdir+set}" = set; then
2654
MKDIR_P="$ac_cv_path_mkdir -p"
2656
# As a last resort, use the slow shell script. Don't cache a
2657
# value for MKDIR_P within a source directory, because that will
2658
# break other packages using the cache if that directory is
2659
# removed, or if the value is a relative name.
2660
MKDIR_P="$ac_install_sh -d"
2663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2664
$as_echo "$MKDIR_P" >&6; }
2668
[\\/$]* | ?:[\\/]*) ;;
2669
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2672
for ac_prog in gawk mawk nawk awk
2674
# Extract the first word of "$ac_prog", so it can be a program name with args.
2675
set dummy $ac_prog; ac_word=$2
2676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2677
$as_echo_n "checking for $ac_word... " >&6; }
2678
if test "${ac_cv_prog_AWK+set}" = set; then :
2679
$as_echo_n "(cached) " >&6
2681
if test -n "$AWK"; then
2682
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2684
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2688
test -z "$as_dir" && as_dir=.
2689
for ac_exec_ext in '' $ac_executable_extensions; do
2690
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691
ac_cv_prog_AWK="$ac_prog"
2692
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702
if test -n "$AWK"; then
2703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2704
$as_echo "$AWK" >&6; }
2706
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707
$as_echo "no" >&6; }
2711
test -n "$AWK" && break
2714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2715
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2717
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2718
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2719
$as_echo_n "(cached) " >&6
2721
cat >conftest.make <<\_ACEOF
2724
@echo '@@@%%%=$(MAKE)=@@@%%%'
2726
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2727
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2729
eval ac_cv_prog_make_${ac_make}_set=yes;;
2731
eval ac_cv_prog_make_${ac_make}_set=no;;
2735
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2737
$as_echo "yes" >&6; }
2740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2741
$as_echo "no" >&6; }
2742
SET_MAKE="MAKE=${MAKE-make}"
2745
rm -rf .tst 2>/dev/null
2746
mkdir .tst 2>/dev/null
2747
if test -d .tst; then
2752
rmdir .tst 2>/dev/null
2754
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2755
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2756
# is not polluted with repeated "-I."
2757
am__isrc=' -I$(srcdir)'
2758
# test to see if srcdir already configured
2759
if test -f $srcdir/config.status; then
2760
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2764
# test whether we have cygpath
2765
if test -z "$CYGPATH_W"; then
2766
if (cygpath --version) >/dev/null 2>/dev/null; then
2767
CYGPATH_W='cygpath -w'
2774
# Define the identity of the package.
2779
# Some tools Automake needs.
2781
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2784
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2787
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2790
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2793
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2795
# We need awk for the "check" target. The system "awk" is bad on
2797
# Always define AMTAR for backward compatibility.
2799
AMTAR=${AMTAR-"${am_missing_run}tar"}
2801
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2808
test x$prefix = "xNONE" && prefix="$ac_default_prefix"
2812
ac_cpp='$CXXCPP $CPPFLAGS'
2813
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2814
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2815
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2819
ac_cpp='$CPP $CPPFLAGS'
2820
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2821
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2822
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2823
if test -n "$ac_tool_prefix"; then
2824
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2825
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827
$as_echo_n "checking for $ac_word... " >&6; }
2828
if test "${ac_cv_prog_CC+set}" = set; then :
2829
$as_echo_n "(cached) " >&6
2831
if test -n "$CC"; then
2832
ac_cv_prog_CC="$CC" # Let the user override the test.
2834
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838
test -z "$as_dir" && as_dir=.
2839
for ac_exec_ext in '' $ac_executable_extensions; do
2840
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2841
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2842
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2852
if test -n "$CC"; then
2853
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2854
$as_echo "$CC" >&6; }
2856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857
$as_echo "no" >&6; }
2862
if test -z "$ac_cv_prog_CC"; then
2864
# Extract the first word of "gcc", so it can be a program name with args.
2865
set dummy gcc; ac_word=$2
2866
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2867
$as_echo_n "checking for $ac_word... " >&6; }
2868
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2869
$as_echo_n "(cached) " >&6
2871
if test -n "$ac_ct_CC"; then
2872
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2874
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2878
test -z "$as_dir" && as_dir=.
2879
for ac_exec_ext in '' $ac_executable_extensions; do
2880
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2881
ac_cv_prog_ac_ct_CC="gcc"
2882
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2891
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2892
if test -n "$ac_ct_CC"; then
2893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2894
$as_echo "$ac_ct_CC" >&6; }
2896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2897
$as_echo "no" >&6; }
2900
if test "x$ac_ct_CC" = x; then
2903
case $cross_compiling:$ac_tool_warned in
2905
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2906
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2907
ac_tool_warned=yes ;;
2915
if test -z "$CC"; then
2916
if test -n "$ac_tool_prefix"; then
2917
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2918
set dummy ${ac_tool_prefix}cc; ac_word=$2
2919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920
$as_echo_n "checking for $ac_word... " >&6; }
2921
if test "${ac_cv_prog_CC+set}" = set; then :
2922
$as_echo_n "(cached) " >&6
2924
if test -n "$CC"; then
2925
ac_cv_prog_CC="$CC" # Let the user override the test.
2927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931
test -z "$as_dir" && as_dir=.
2932
for ac_exec_ext in '' $ac_executable_extensions; do
2933
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2934
ac_cv_prog_CC="${ac_tool_prefix}cc"
2935
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945
if test -n "$CC"; then
2946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2947
$as_echo "$CC" >&6; }
2949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950
$as_echo "no" >&6; }
2956
if test -z "$CC"; then
2957
# Extract the first word of "cc", so it can be a program name with args.
2958
set dummy cc; ac_word=$2
2959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960
$as_echo_n "checking for $ac_word... " >&6; }
2961
if test "${ac_cv_prog_CC+set}" = set; then :
2962
$as_echo_n "(cached) " >&6
2964
if test -n "$CC"; then
2965
ac_cv_prog_CC="$CC" # Let the user override the test.
2968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2972
test -z "$as_dir" && as_dir=.
2973
for ac_exec_ext in '' $ac_executable_extensions; do
2974
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2975
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2976
ac_prog_rejected=yes
2980
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987
if test $ac_prog_rejected = yes; then
2988
# We found a bogon in the path, so make sure we never use it.
2989
set dummy $ac_cv_prog_CC
2991
if test $@%:@ != 0; then
2992
# We chose a different compiler from the bogus one.
2993
# However, it has the same basename, so the bogon will be chosen
2994
# first if we set CC to just the basename; use the full file name.
2996
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3002
if test -n "$CC"; then
3003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3004
$as_echo "$CC" >&6; }
3006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3007
$as_echo "no" >&6; }
3012
if test -z "$CC"; then
3013
if test -n "$ac_tool_prefix"; then
3014
for ac_prog in cl.exe
3016
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3017
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3019
$as_echo_n "checking for $ac_word... " >&6; }
3020
if test "${ac_cv_prog_CC+set}" = set; then :
3021
$as_echo_n "(cached) " >&6
3023
if test -n "$CC"; then
3024
ac_cv_prog_CC="$CC" # Let the user override the test.
3026
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030
test -z "$as_dir" && as_dir=.
3031
for ac_exec_ext in '' $ac_executable_extensions; do
3032
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3033
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3034
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044
if test -n "$CC"; then
3045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3046
$as_echo "$CC" >&6; }
3048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3049
$as_echo "no" >&6; }
3053
test -n "$CC" && break
3056
if test -z "$CC"; then
3058
for ac_prog in cl.exe
3060
# Extract the first word of "$ac_prog", so it can be a program name with args.
3061
set dummy $ac_prog; ac_word=$2
3062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3063
$as_echo_n "checking for $ac_word... " >&6; }
3064
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3065
$as_echo_n "(cached) " >&6
3067
if test -n "$ac_ct_CC"; then
3068
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3070
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074
test -z "$as_dir" && as_dir=.
3075
for ac_exec_ext in '' $ac_executable_extensions; do
3076
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3077
ac_cv_prog_ac_ct_CC="$ac_prog"
3078
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3088
if test -n "$ac_ct_CC"; then
3089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3090
$as_echo "$ac_ct_CC" >&6; }
3092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093
$as_echo "no" >&6; }
3097
test -n "$ac_ct_CC" && break
3100
if test "x$ac_ct_CC" = x; then
3103
case $cross_compiling:$ac_tool_warned in
3105
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3106
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3107
ac_tool_warned=yes ;;
3116
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118
as_fn_error "no acceptable C compiler found in \$PATH
3119
See \`config.log' for more details." "$LINENO" 5; }
3121
# Provide some information about the compiler.
3122
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3125
for ac_option in --version -v -V -qversion; do
3126
{ { ac_try="$ac_compiler $ac_option >&5"
3128
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129
*) ac_try_echo=$ac_try;;
3131
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132
$as_echo "$ac_try_echo"; } >&5
3133
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3135
if test -s conftest.err; then
3137
... rest of stderr output deleted ...
3138
10q' conftest.err >conftest.er1
3139
cat conftest.er1 >&5
3141
rm -f conftest.er1 conftest.err
3142
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3143
test $ac_status = 0; }
3146
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147
/* end confdefs.h. */
3157
ac_clean_files_save=$ac_clean_files
3158
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3159
# Try to create an executable without -o first, disregard a.out.
3160
# It will help us diagnose broken compilers, and finding out an intuition
3162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3163
$as_echo_n "checking whether the C compiler works... " >&6; }
3164
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3166
# The possible output files:
3167
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3170
for ac_file in $ac_files
3173
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3174
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3179
if { { ac_try="$ac_link_default"
3181
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182
*) ac_try_echo=$ac_try;;
3184
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3185
$as_echo "$ac_try_echo"; } >&5
3186
(eval "$ac_link_default") 2>&5
3188
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3189
test $ac_status = 0; }; then :
3190
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3191
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3192
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3193
# so that the user can short-circuit this test for compilers unknown to
3195
for ac_file in $ac_files ''
3197
test -f "$ac_file" || continue
3199
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3202
# We found the default executable, but exeext='' is most
3206
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3208
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3210
# We set ac_cv_exeext here because the later test for it is not
3211
# safe: cross compilers may not add the suffix if given an `-o'
3212
# argument, so we may need to know it at that point already.
3213
# Even if this section looks crufty: it has the advantage of
3220
test "$ac_cv_exeext" = no && ac_cv_exeext=
3225
if test -z "$ac_file"; then :
3226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227
$as_echo "no" >&6; }
3228
$as_echo "$as_me: failed program was:" >&5
3229
sed 's/^/| /' conftest.$ac_ext >&5
3231
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233
{ as_fn_set_status 77
3234
as_fn_error "C compiler cannot create executables
3235
See \`config.log' for more details." "$LINENO" 5; }; }
3237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3238
$as_echo "yes" >&6; }
3240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3241
$as_echo_n "checking for C compiler default output file name... " >&6; }
3242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3243
$as_echo "$ac_file" >&6; }
3244
ac_exeext=$ac_cv_exeext
3246
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3247
ac_clean_files=$ac_clean_files_save
3248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3249
$as_echo_n "checking for suffix of executables... " >&6; }
3250
if { { ac_try="$ac_link"
3252
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3253
*) ac_try_echo=$ac_try;;
3255
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3256
$as_echo "$ac_try_echo"; } >&5
3257
(eval "$ac_link") 2>&5
3259
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3260
test $ac_status = 0; }; then :
3261
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3262
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3263
# work properly (i.e., refer to `conftest.exe'), while it won't with
3265
for ac_file in conftest.exe conftest conftest.*; do
3266
test -f "$ac_file" || continue
3268
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3269
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3275
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3276
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3277
as_fn_error "cannot compute suffix of executables: cannot compile and link
3278
See \`config.log' for more details." "$LINENO" 5; }
3280
rm -f conftest conftest$ac_cv_exeext
3281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3282
$as_echo "$ac_cv_exeext" >&6; }
3284
rm -f conftest.$ac_ext
3285
EXEEXT=$ac_cv_exeext
3287
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288
/* end confdefs.h. */
3289
@%:@include <stdio.h>
3293
FILE *f = fopen ("conftest.out", "w");
3294
return ferror (f) || fclose (f) != 0;
3300
ac_clean_files="$ac_clean_files conftest.out"
3301
# Check that the compiler produces executables we can run. If not, either
3302
# the compiler is broken, or we cross compile.
3303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3304
$as_echo_n "checking whether we are cross compiling... " >&6; }
3305
if test "$cross_compiling" != yes; then
3306
{ { ac_try="$ac_link"
3308
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3309
*) ac_try_echo=$ac_try;;
3311
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3312
$as_echo "$ac_try_echo"; } >&5
3313
(eval "$ac_link") 2>&5
3315
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3316
test $ac_status = 0; }
3317
if { ac_try='./conftest$ac_cv_exeext'
3318
{ { case "(($ac_try" in
3319
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320
*) ac_try_echo=$ac_try;;
3322
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3323
$as_echo "$ac_try_echo"; } >&5
3324
(eval "$ac_try") 2>&5
3326
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3327
test $ac_status = 0; }; }; then
3330
if test "$cross_compiling" = maybe; then
3333
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3334
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3335
as_fn_error "cannot run C compiled programs.
3336
If you meant to cross compile, use \`--host'.
3337
See \`config.log' for more details." "$LINENO" 5; }
3341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3342
$as_echo "$cross_compiling" >&6; }
3344
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3345
ac_clean_files=$ac_clean_files_save
3346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3347
$as_echo_n "checking for suffix of object files... " >&6; }
3348
if test "${ac_cv_objext+set}" = set; then :
3349
$as_echo_n "(cached) " >&6
3351
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352
/* end confdefs.h. */
3362
rm -f conftest.o conftest.obj
3363
if { { ac_try="$ac_compile"
3365
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3366
*) ac_try_echo=$ac_try;;
3368
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3369
$as_echo "$ac_try_echo"; } >&5
3370
(eval "$ac_compile") 2>&5
3372
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3373
test $ac_status = 0; }; then :
3374
for ac_file in conftest.o conftest.obj conftest.*; do
3375
test -f "$ac_file" || continue;
3377
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3378
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3383
$as_echo "$as_me: failed program was:" >&5
3384
sed 's/^/| /' conftest.$ac_ext >&5
3386
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3387
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388
as_fn_error "cannot compute suffix of object files: cannot compile
3389
See \`config.log' for more details." "$LINENO" 5; }
3391
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3394
$as_echo "$ac_cv_objext" >&6; }
3395
OBJEXT=$ac_cv_objext
3397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3398
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3399
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3400
$as_echo_n "(cached) " >&6
3402
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403
/* end confdefs.h. */
3416
if ac_fn_c_try_compile "$LINENO"; then :
3421
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3422
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3426
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3427
if test $ac_compiler_gnu = yes; then
3432
ac_test_CFLAGS=${CFLAGS+set}
3433
ac_save_CFLAGS=$CFLAGS
3434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3435
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3436
if test "${ac_cv_prog_cc_g+set}" = set; then :
3437
$as_echo_n "(cached) " >&6
3439
ac_save_c_werror_flag=$ac_c_werror_flag
3440
ac_c_werror_flag=yes
3443
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444
/* end confdefs.h. */
3454
if ac_fn_c_try_compile "$LINENO"; then :
3458
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459
/* end confdefs.h. */
3469
if ac_fn_c_try_compile "$LINENO"; then :
3472
ac_c_werror_flag=$ac_save_c_werror_flag
3474
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3475
/* end confdefs.h. */
3485
if ac_fn_c_try_compile "$LINENO"; then :
3488
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3493
ac_c_werror_flag=$ac_save_c_werror_flag
3495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3496
$as_echo "$ac_cv_prog_cc_g" >&6; }
3497
if test "$ac_test_CFLAGS" = set; then
3498
CFLAGS=$ac_save_CFLAGS
3499
elif test $ac_cv_prog_cc_g = yes; then
3500
if test "$GCC" = yes; then
3506
if test "$GCC" = yes; then
3512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3513
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3514
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3515
$as_echo_n "(cached) " >&6
3517
ac_cv_prog_cc_c89=no
3519
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520
/* end confdefs.h. */
3523
#include <sys/types.h>
3524
#include <sys/stat.h>
3525
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3526
struct buf { int x; };
3527
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3528
static char *e (p, i)
3534
static char *f (char * (*g) (char **, int), char **p, ...)
3539
s = g (p, va_arg (v,int));
3544
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3545
function prototypes and stuff, but not '\xHH' hex character constants.
3546
These don't provoke an error unfortunately, instead are silently treated
3547
as 'x'. The following induces an error, until -std is added to get
3548
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3549
array size at least. It's necessary to write '\x00'==0 to get something
3550
that's true only with -std. */
3551
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3553
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3554
inside strings and character constants. */
3556
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3558
int test (int i, double x);
3559
struct s1 {int (*f) (int a);};
3560
struct s2 {int (*f) (double a);};
3561
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3567
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3572
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3573
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3575
CC="$ac_save_CC $ac_arg"
3576
if ac_fn_c_try_compile "$LINENO"; then :
3577
ac_cv_prog_cc_c89=$ac_arg
3579
rm -f core conftest.err conftest.$ac_objext
3580
test "x$ac_cv_prog_cc_c89" != "xno" && break
3582
rm -f conftest.$ac_ext
3587
case "x$ac_cv_prog_cc_c89" in
3589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3590
$as_echo "none needed" >&6; } ;;
3592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3593
$as_echo "unsupported" >&6; } ;;
3595
CC="$CC $ac_cv_prog_cc_c89"
3596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3597
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3599
if test "x$ac_cv_prog_cc_c89" != xno; then :
3604
ac_cpp='$CXXCPP $CPPFLAGS'
3605
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3606
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3607
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3608
DEPDIR="${am__leading_dot}deps"
3610
ac_config_commands="$ac_config_commands depfiles"
3613
am_make=${MAKE-make}
3614
cat > confinc << 'END'
3616
@echo this is the am__doit target
3619
# If we don't find an include directive, just comment out the code.
3620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3621
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3625
# First try GNU make style include.
3626
echo "include confinc" > confmf
3627
# Ignore all kinds of additional output from `make'.
3628
case `$am_make -s -f confmf 2> /dev/null` in #(
3629
*the\ am__doit\ target*)
3635
# Now try BSD make style include.
3636
if test "$am__include" = "#"; then
3637
echo '.include "confinc"' > confmf
3638
case `$am_make -s -f confmf 2> /dev/null` in #(
3639
*the\ am__doit\ target*)
3640
am__include=.include
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3649
$as_echo "$_am_result" >&6; }
3650
rm -f confinc confmf
3652
@%:@ Check whether --enable-dependency-tracking was given.
3653
if test "${enable_dependency_tracking+set}" = set; then :
3654
enableval=$enable_dependency_tracking;
3657
if test "x$enable_dependency_tracking" != xno; then
3658
am_depcomp="$ac_aux_dir/depcomp"
3661
if test "x$enable_dependency_tracking" != xno; then
3671
depcc="$CC" am_compiler_list=
3673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3674
$as_echo_n "checking dependency style of $depcc... " >&6; }
3675
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3676
$as_echo_n "(cached) " >&6
3678
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3679
# We make a subdir and do the tests there. Otherwise we can end up
3680
# making bogus files that we don't know about and never remove. For
3681
# instance it was reported that on HP-UX the gcc test will end up
3682
# making a dummy file named `D' -- because `-MD' means `put the output
3685
# Copy depcomp to subdir because otherwise we won't find it if we're
3686
# using a relative directory.
3687
cp "$am_depcomp" conftest.dir
3689
# We will build objects and dependencies in a subdirectory because
3690
# it helps to detect inapplicable dependency modes. For instance
3691
# both Tru64's cc and ICC support -MD to output dependencies as a
3692
# side effect of compilation, but ICC will put the dependencies in
3693
# the current directory while Tru64 will put them in the object
3697
am_cv_CC_dependencies_compiler_type=none
3698
if test "$am_compiler_list" = ""; then
3699
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3702
case " $depcc " in #(
3703
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3706
for depmode in $am_compiler_list; do
3707
# Setup a source with many dependencies, because some compilers
3708
# like to wrap large dependency lists on column 80 (with \), and
3709
# we should not choose a depcomp mode which is confused by this.
3711
# We need to recreate these files for each test, as the compiler may
3712
# overwrite some of them when testing with obscure command lines.
3713
# This happens at least with the AIX C compiler.
3715
for i in 1 2 3 4 5 6; do
3716
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3717
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3718
# Solaris 8's {/usr,}/bin/sh.
3719
touch sub/conftst$i.h
3721
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3723
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3724
# mode. It turns out that the SunPro C++ compiler does not properly
3725
# handle `-M -o', and we need to detect this. Also, some Intel
3726
# versions had trouble with output in subdirs
3727
am__obj=sub/conftest.${OBJEXT-o}
3728
am__minus_obj="-o $am__obj"
3731
# This depmode causes a compiler race in universal mode.
3732
test "$am__universal" = false || continue
3735
# after this tag, mechanisms are not by side-effect, so they'll
3736
# only be used when explicitly requested
3737
if test "x$enable_dependency_tracking" = xyes; then
3743
msvisualcpp | msvcmsys)
3744
# This compiler won't grok `-c -o', but also, the minuso test has
3745
# not run yet. These depmodes are late enough in the game, and
3746
# so weak that their functioning should not be impacted.
3747
am__obj=conftest.${OBJEXT-o}
3752
if depmode=$depmode \
3753
source=sub/conftest.c object=$am__obj \
3754
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3755
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3756
>/dev/null 2>conftest.err &&
3757
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3758
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3759
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3760
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3761
# icc doesn't choke on unknown options, it will just issue warnings
3762
# or remarks (even with -Werror). So we grep stderr for any message
3763
# that says an option was ignored or not supported.
3764
# When given -MP, icc 7.0 and 7.1 complain thusly:
3765
# icc: Command line warning: ignoring option '-M'; no argument required
3766
# The diagnosis changed in icc 8.0:
3767
# icc: Command line remark: option '-MP' not supported
3768
if (grep 'ignoring option' conftest.err ||
3769
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3770
am_cv_CC_dependencies_compiler_type=$depmode
3779
am_cv_CC_dependencies_compiler_type=none
3783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3784
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3785
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3788
test "x$enable_dependency_tracking" != xno \
3789
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3791
am__fastdepCC_FALSE='#'
3793
am__fastdepCC_TRUE='#'
3794
am__fastdepCC_FALSE=
3799
ac_cpp='$CXXCPP $CPPFLAGS'
3800
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3801
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3802
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3803
if test -z "$CXX"; then
3804
if test -n "$CCC"; then
3807
if test -n "$ac_tool_prefix"; then
3808
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3810
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3811
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813
$as_echo_n "checking for $ac_word... " >&6; }
3814
if test "${ac_cv_prog_CXX+set}" = set; then :
3815
$as_echo_n "(cached) " >&6
3817
if test -n "$CXX"; then
3818
ac_cv_prog_CXX="$CXX" # Let the user override the test.
3820
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824
test -z "$as_dir" && as_dir=.
3825
for ac_exec_ext in '' $ac_executable_extensions; do
3826
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3827
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3828
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838
if test -n "$CXX"; then
3839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3840
$as_echo "$CXX" >&6; }
3842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843
$as_echo "no" >&6; }
3847
test -n "$CXX" && break
3850
if test -z "$CXX"; then
3852
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3854
# Extract the first word of "$ac_prog", so it can be a program name with args.
3855
set dummy $ac_prog; ac_word=$2
3856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3857
$as_echo_n "checking for $ac_word... " >&6; }
3858
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3859
$as_echo_n "(cached) " >&6
3861
if test -n "$ac_ct_CXX"; then
3862
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3864
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3868
test -z "$as_dir" && as_dir=.
3869
for ac_exec_ext in '' $ac_executable_extensions; do
3870
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3871
ac_cv_prog_ac_ct_CXX="$ac_prog"
3872
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3881
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3882
if test -n "$ac_ct_CXX"; then
3883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3884
$as_echo "$ac_ct_CXX" >&6; }
3886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887
$as_echo "no" >&6; }
3891
test -n "$ac_ct_CXX" && break
3894
if test "x$ac_ct_CXX" = x; then
3897
case $cross_compiling:$ac_tool_warned in
3899
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3900
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3901
ac_tool_warned=yes ;;
3909
# Provide some information about the compiler.
3910
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3913
for ac_option in --version -v -V -qversion; do
3914
{ { ac_try="$ac_compiler $ac_option >&5"
3916
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3917
*) ac_try_echo=$ac_try;;
3919
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3920
$as_echo "$ac_try_echo"; } >&5
3921
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3923
if test -s conftest.err; then
3925
... rest of stderr output deleted ...
3926
10q' conftest.err >conftest.er1
3927
cat conftest.er1 >&5
3929
rm -f conftest.er1 conftest.err
3930
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3931
test $ac_status = 0; }
3934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3935
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3936
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3937
$as_echo_n "(cached) " >&6
3939
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940
/* end confdefs.h. */
3953
if ac_fn_cxx_try_compile "$LINENO"; then :
3958
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3959
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3963
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3964
if test $ac_compiler_gnu = yes; then
3969
ac_test_CXXFLAGS=${CXXFLAGS+set}
3970
ac_save_CXXFLAGS=$CXXFLAGS
3971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3972
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3973
if test "${ac_cv_prog_cxx_g+set}" = set; then :
3974
$as_echo_n "(cached) " >&6
3976
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3977
ac_cxx_werror_flag=yes
3980
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3981
/* end confdefs.h. */
3991
if ac_fn_cxx_try_compile "$LINENO"; then :
3992
ac_cv_prog_cxx_g=yes
3995
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996
/* end confdefs.h. */
4006
if ac_fn_cxx_try_compile "$LINENO"; then :
4009
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4011
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012
/* end confdefs.h. */
4022
if ac_fn_cxx_try_compile "$LINENO"; then :
4023
ac_cv_prog_cxx_g=yes
4025
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4030
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4033
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4034
if test "$ac_test_CXXFLAGS" = set; then
4035
CXXFLAGS=$ac_save_CXXFLAGS
4036
elif test $ac_cv_prog_cxx_g = yes; then
4037
if test "$GXX" = yes; then
4043
if test "$GXX" = yes; then
4050
ac_cpp='$CXXCPP $CPPFLAGS'
4051
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4052
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4053
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4055
depcc="$CXX" am_compiler_list=
4057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4058
$as_echo_n "checking dependency style of $depcc... " >&6; }
4059
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4060
$as_echo_n "(cached) " >&6
4062
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4063
# We make a subdir and do the tests there. Otherwise we can end up
4064
# making bogus files that we don't know about and never remove. For
4065
# instance it was reported that on HP-UX the gcc test will end up
4066
# making a dummy file named `D' -- because `-MD' means `put the output
4069
# Copy depcomp to subdir because otherwise we won't find it if we're
4070
# using a relative directory.
4071
cp "$am_depcomp" conftest.dir
4073
# We will build objects and dependencies in a subdirectory because
4074
# it helps to detect inapplicable dependency modes. For instance
4075
# both Tru64's cc and ICC support -MD to output dependencies as a
4076
# side effect of compilation, but ICC will put the dependencies in
4077
# the current directory while Tru64 will put them in the object
4081
am_cv_CXX_dependencies_compiler_type=none
4082
if test "$am_compiler_list" = ""; then
4083
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4086
case " $depcc " in #(
4087
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4090
for depmode in $am_compiler_list; do
4091
# Setup a source with many dependencies, because some compilers
4092
# like to wrap large dependency lists on column 80 (with \), and
4093
# we should not choose a depcomp mode which is confused by this.
4095
# We need to recreate these files for each test, as the compiler may
4096
# overwrite some of them when testing with obscure command lines.
4097
# This happens at least with the AIX C compiler.
4099
for i in 1 2 3 4 5 6; do
4100
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4101
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4102
# Solaris 8's {/usr,}/bin/sh.
4103
touch sub/conftst$i.h
4105
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4107
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4108
# mode. It turns out that the SunPro C++ compiler does not properly
4109
# handle `-M -o', and we need to detect this. Also, some Intel
4110
# versions had trouble with output in subdirs
4111
am__obj=sub/conftest.${OBJEXT-o}
4112
am__minus_obj="-o $am__obj"
4115
# This depmode causes a compiler race in universal mode.
4116
test "$am__universal" = false || continue
4119
# after this tag, mechanisms are not by side-effect, so they'll
4120
# only be used when explicitly requested
4121
if test "x$enable_dependency_tracking" = xyes; then
4127
msvisualcpp | msvcmsys)
4128
# This compiler won't grok `-c -o', but also, the minuso test has
4129
# not run yet. These depmodes are late enough in the game, and
4130
# so weak that their functioning should not be impacted.
4131
am__obj=conftest.${OBJEXT-o}
4136
if depmode=$depmode \
4137
source=sub/conftest.c object=$am__obj \
4138
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4139
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4140
>/dev/null 2>conftest.err &&
4141
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4142
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4143
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4144
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4145
# icc doesn't choke on unknown options, it will just issue warnings
4146
# or remarks (even with -Werror). So we grep stderr for any message
4147
# that says an option was ignored or not supported.
4148
# When given -MP, icc 7.0 and 7.1 complain thusly:
4149
# icc: Command line warning: ignoring option '-M'; no argument required
4150
# The diagnosis changed in icc 8.0:
4151
# icc: Command line remark: option '-MP' not supported
4152
if (grep 'ignoring option' conftest.err ||
4153
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4154
am_cv_CXX_dependencies_compiler_type=$depmode
4163
am_cv_CXX_dependencies_compiler_type=none
4167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4168
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4169
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4172
test "x$enable_dependency_tracking" != xno \
4173
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4174
am__fastdepCXX_TRUE=
4175
am__fastdepCXX_FALSE='#'
4177
am__fastdepCXX_TRUE='#'
4178
am__fastdepCXX_FALSE=
4183
if test -n "$ac_tool_prefix"; then
4184
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4185
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4187
$as_echo_n "checking for $ac_word... " >&6; }
4188
if test "${ac_cv_prog_RANLIB+set}" = set; then :
4189
$as_echo_n "(cached) " >&6
4191
if test -n "$RANLIB"; then
4192
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4198
test -z "$as_dir" && as_dir=.
4199
for ac_exec_ext in '' $ac_executable_extensions; do
4200
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4201
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4202
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4211
RANLIB=$ac_cv_prog_RANLIB
4212
if test -n "$RANLIB"; then
4213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4214
$as_echo "$RANLIB" >&6; }
4216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217
$as_echo "no" >&6; }
4222
if test -z "$ac_cv_prog_RANLIB"; then
4223
ac_ct_RANLIB=$RANLIB
4224
# Extract the first word of "ranlib", so it can be a program name with args.
4225
set dummy ranlib; ac_word=$2
4226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227
$as_echo_n "checking for $ac_word... " >&6; }
4228
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4229
$as_echo_n "(cached) " >&6
4231
if test -n "$ac_ct_RANLIB"; then
4232
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4238
test -z "$as_dir" && as_dir=.
4239
for ac_exec_ext in '' $ac_executable_extensions; do
4240
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4241
ac_cv_prog_ac_ct_RANLIB="ranlib"
4242
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4252
if test -n "$ac_ct_RANLIB"; then
4253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4254
$as_echo "$ac_ct_RANLIB" >&6; }
4256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257
$as_echo "no" >&6; }
4260
if test "x$ac_ct_RANLIB" = x; then
4263
case $cross_compiling:$ac_tool_warned in
4265
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4266
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4267
ac_tool_warned=yes ;;
4269
RANLIB=$ac_ct_RANLIB
4272
RANLIB="$ac_cv_prog_RANLIB"
4277
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4278
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4279
if test "${ac_cv_c_const+set}" = set; then :
4280
$as_echo_n "(cached) " >&6
4282
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283
/* end confdefs.h. */
4288
/* FIXME: Include the comments suggested by Paul. */
4290
/* Ultrix mips cc rejects this. */
4291
typedef int charset[2];
4293
/* SunOS 4.1.1 cc rejects this. */
4294
char const *const *pcpcc;
4296
/* NEC SVR4.0.2 mips cc rejects this. */
4297
struct point {int x, y;};
4298
static struct point const zero = {0,0};
4299
/* AIX XL C 1.02.0.0 rejects this.
4300
It does not let you subtract one const X* pointer from another in
4301
an arm of an if-expression whose if-part is not a constant
4303
const char *g = "string";
4304
pcpcc = &g + (g ? g-g : 0);
4305
/* HPUX 7.0 cc rejects these. */
4307
ppc = (char**) pcpcc;
4308
pcpcc = (char const *const *) ppc;
4309
{ /* SCO 3.2v4 cc rejects this. */
4311
char const *s = 0 ? (char *) 0 : (char const *) 0;
4316
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4318
const int *foo = &x[0];
4321
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4322
typedef const int *iptr;
4326
{ /* AIX XL C 1.02.0.0 rejects this saying
4327
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4328
struct s { int j; const int *ap[3]; };
4329
struct s *b; b->j = 5;
4331
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4335
return !cs[0] && !zero.x;
4342
if ac_fn_cxx_try_compile "$LINENO"; then :
4347
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4350
$as_echo "$ac_cv_c_const" >&6; }
4351
if test $ac_cv_c_const = no; then
4353
$as_echo "@%:@define const /**/" >>confdefs.h
4357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4358
$as_echo_n "checking for inline... " >&6; }
4359
if test "${ac_cv_c_inline+set}" = set; then :
4360
$as_echo_n "(cached) " >&6
4363
for ac_kw in inline __inline__ __inline; do
4364
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365
/* end confdefs.h. */
4368
static $ac_kw foo_t static_foo () {return 0; }
4369
$ac_kw foo_t foo () {return 0; }
4373
if ac_fn_cxx_try_compile "$LINENO"; then :
4374
ac_cv_c_inline=$ac_kw
4376
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377
test "$ac_cv_c_inline" != no && break
4381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4382
$as_echo "$ac_cv_c_inline" >&6; }
4384
case $ac_cv_c_inline in
4387
case $ac_cv_c_inline in
4389
*) ac_val=$ac_cv_c_inline;;
4391
cat >>confdefs.h <<_ACEOF
4393
#define inline $ac_val
4401
ac_cpp='$CXXCPP $CPPFLAGS'
4402
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4403
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4404
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4406
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4407
if test -z "$CXXCPP"; then
4408
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
4409
$as_echo_n "(cached) " >&6
4411
# Double quotes because CXXCPP needs to be expanded
4412
for CXXCPP in "$CXX -E" "/lib/cpp"
4415
for ac_cxx_preproc_warn_flag in '' yes
4417
# Use a header file that comes with gcc, so configuring glibc
4418
# with a fresh cross-compiler works.
4419
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4420
# <limits.h> exists even on freestanding compilers.
4421
# On the NeXT, cc -E runs the code through the compiler's parser,
4422
# not just through cpp. "Syntax error" is here to catch this case.
4423
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424
/* end confdefs.h. */
4426
@%:@ include <limits.h>
4428
@%:@ include <assert.h>
4432
if ac_fn_cxx_try_cpp "$LINENO"; then :
4435
# Broken: fails on valid input.
4438
rm -f conftest.err conftest.$ac_ext
4440
# OK, works on sane cases. Now check whether nonexistent headers
4441
# can be detected and how.
4442
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443
/* end confdefs.h. */
4444
@%:@include <ac_nonexistent.h>
4446
if ac_fn_cxx_try_cpp "$LINENO"; then :
4447
# Broken: success on invalid input.
4450
# Passes both tests.
4454
rm -f conftest.err conftest.$ac_ext
4457
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4458
rm -f conftest.err conftest.$ac_ext
4459
if $ac_preproc_ok; then :
4464
ac_cv_prog_CXXCPP=$CXXCPP
4467
CXXCPP=$ac_cv_prog_CXXCPP
4469
ac_cv_prog_CXXCPP=$CXXCPP
4471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4472
$as_echo "$CXXCPP" >&6; }
4474
for ac_cxx_preproc_warn_flag in '' yes
4476
# Use a header file that comes with gcc, so configuring glibc
4477
# with a fresh cross-compiler works.
4478
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4479
# <limits.h> exists even on freestanding compilers.
4480
# On the NeXT, cc -E runs the code through the compiler's parser,
4481
# not just through cpp. "Syntax error" is here to catch this case.
4482
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4483
/* end confdefs.h. */
4485
@%:@ include <limits.h>
4487
@%:@ include <assert.h>
4491
if ac_fn_cxx_try_cpp "$LINENO"; then :
4494
# Broken: fails on valid input.
4497
rm -f conftest.err conftest.$ac_ext
4499
# OK, works on sane cases. Now check whether nonexistent headers
4500
# can be detected and how.
4501
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502
/* end confdefs.h. */
4503
@%:@include <ac_nonexistent.h>
4505
if ac_fn_cxx_try_cpp "$LINENO"; then :
4506
# Broken: success on invalid input.
4509
# Passes both tests.
4513
rm -f conftest.err conftest.$ac_ext
4516
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4517
rm -f conftest.err conftest.$ac_ext
4518
if $ac_preproc_ok; then :
4521
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4522
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4523
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
4524
See \`config.log' for more details." "$LINENO" 5; }
4528
ac_cpp='$CXXCPP $CPPFLAGS'
4529
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4530
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4531
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4535
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4536
if test "${ac_cv_path_GREP+set}" = set; then :
4537
$as_echo_n "(cached) " >&6
4539
if test -z "$GREP"; then
4540
ac_path_GREP_found=false
4541
# Loop through the user's path and test for each of PROGNAME-LIST
4542
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4543
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4546
test -z "$as_dir" && as_dir=.
4547
for ac_prog in grep ggrep; do
4548
for ac_exec_ext in '' $ac_executable_extensions; do
4549
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4550
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4551
# Check for GNU ac_path_GREP and select it if it is found.
4552
# Check for GNU $ac_path_GREP
4553
case `"$ac_path_GREP" --version 2>&1` in
4555
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4558
$as_echo_n 0123456789 >"conftest.in"
4561
cat "conftest.in" "conftest.in" >"conftest.tmp"
4562
mv "conftest.tmp" "conftest.in"
4563
cp "conftest.in" "conftest.nl"
4564
$as_echo 'GREP' >> "conftest.nl"
4565
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4566
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4567
as_fn_arith $ac_count + 1 && ac_count=$as_val
4568
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4569
# Best one so far, save it but keep looking for a better one
4570
ac_cv_path_GREP="$ac_path_GREP"
4571
ac_path_GREP_max=$ac_count
4573
# 10*(2^10) chars as input seems more than enough
4574
test $ac_count -gt 10 && break
4576
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4579
$ac_path_GREP_found && break 3
4584
if test -z "$ac_cv_path_GREP"; then
4585
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4588
ac_cv_path_GREP=$GREP
4592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4593
$as_echo "$ac_cv_path_GREP" >&6; }
4594
GREP="$ac_cv_path_GREP"
4597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4598
$as_echo_n "checking for egrep... " >&6; }
4599
if test "${ac_cv_path_EGREP+set}" = set; then :
4600
$as_echo_n "(cached) " >&6
4602
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4603
then ac_cv_path_EGREP="$GREP -E"
4605
if test -z "$EGREP"; then
4606
ac_path_EGREP_found=false
4607
# Loop through the user's path and test for each of PROGNAME-LIST
4608
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4612
test -z "$as_dir" && as_dir=.
4613
for ac_prog in egrep; do
4614
for ac_exec_ext in '' $ac_executable_extensions; do
4615
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4616
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4617
# Check for GNU ac_path_EGREP and select it if it is found.
4618
# Check for GNU $ac_path_EGREP
4619
case `"$ac_path_EGREP" --version 2>&1` in
4621
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4624
$as_echo_n 0123456789 >"conftest.in"
4627
cat "conftest.in" "conftest.in" >"conftest.tmp"
4628
mv "conftest.tmp" "conftest.in"
4629
cp "conftest.in" "conftest.nl"
4630
$as_echo 'EGREP' >> "conftest.nl"
4631
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4632
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4633
as_fn_arith $ac_count + 1 && ac_count=$as_val
4634
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4635
# Best one so far, save it but keep looking for a better one
4636
ac_cv_path_EGREP="$ac_path_EGREP"
4637
ac_path_EGREP_max=$ac_count
4639
# 10*(2^10) chars as input seems more than enough
4640
test $ac_count -gt 10 && break
4642
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4645
$ac_path_EGREP_found && break 3
4650
if test -z "$ac_cv_path_EGREP"; then
4651
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4654
ac_cv_path_EGREP=$EGREP
4659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4660
$as_echo "$ac_cv_path_EGREP" >&6; }
4661
EGREP="$ac_cv_path_EGREP"
4664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4665
$as_echo_n "checking for ANSI C header files... " >&6; }
4666
if test "${ac_cv_header_stdc+set}" = set; then :
4667
$as_echo_n "(cached) " >&6
4669
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670
/* end confdefs.h. */
4684
if ac_fn_cxx_try_compile "$LINENO"; then :
4685
ac_cv_header_stdc=yes
4687
ac_cv_header_stdc=no
4689
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4691
if test $ac_cv_header_stdc = yes; then
4692
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4693
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694
/* end confdefs.h. */
4698
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4699
$EGREP "memchr" >/dev/null 2>&1; then :
4702
ac_cv_header_stdc=no
4708
if test $ac_cv_header_stdc = yes; then
4709
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4710
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711
/* end confdefs.h. */
4715
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4716
$EGREP "free" >/dev/null 2>&1; then :
4719
ac_cv_header_stdc=no
4725
if test $ac_cv_header_stdc = yes; then
4726
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4727
if test "$cross_compiling" = yes; then :
4730
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731
/* end confdefs.h. */
4734
#if ((' ' & 0x0FF) == 0x020)
4735
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4736
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4738
# define ISLOWER(c) \
4739
(('a' <= (c) && (c) <= 'i') \
4740
|| ('j' <= (c) && (c) <= 'r') \
4741
|| ('s' <= (c) && (c) <= 'z'))
4742
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4745
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4750
for (i = 0; i < 256; i++)
4751
if (XOR (islower (i), ISLOWER (i))
4752
|| toupper (i) != TOUPPER (i))
4757
if ac_fn_cxx_try_run "$LINENO"; then :
4760
ac_cv_header_stdc=no
4762
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4763
conftest.$ac_objext conftest.beam conftest.$ac_ext
4768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4769
$as_echo "$ac_cv_header_stdc" >&6; }
4770
if test $ac_cv_header_stdc = yes; then
4772
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4776
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4777
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4778
inttypes.h stdint.h unistd.h
4780
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4781
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4783
eval as_val=\$$as_ac_Header
4784
if test "x$as_val" = x""yes; then :
4785
cat >>confdefs.h <<_ACEOF
4786
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4794
ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4795
if test "x$ac_cv_type_pid_t" = x""yes; then :
4799
cat >>confdefs.h <<_ACEOF
4800
@%:@define pid_t int
4805
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4806
if test "x$ac_cv_type_size_t" = x""yes; then :
4810
cat >>confdefs.h <<_ACEOF
4811
@%:@define size_t unsigned int
4820
# Extract the first word of "$ac_prog", so it can be a program name with args.
4821
set dummy $ac_prog; ac_word=$2
4822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823
$as_echo_n "checking for $ac_word... " >&6; }
4824
if test "${ac_cv_prog_regex_cmd+set}" = set; then :
4825
$as_echo_n "(cached) " >&6
4827
if test -n "$regex_cmd"; then
4828
ac_cv_prog_regex_cmd="$regex_cmd" # Let the user override the test.
4830
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834
test -z "$as_dir" && as_dir=.
4835
for ac_exec_ext in '' $ac_executable_extensions; do
4836
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4837
ac_cv_prog_regex_cmd="$ac_prog"
4838
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847
regex_cmd=$ac_cv_prog_regex_cmd
4848
if test -n "$regex_cmd"; then
4849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $regex_cmd" >&5
4850
$as_echo "$regex_cmd" >&6; }
4852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853
$as_echo "no" >&6; }
4857
test -n "$regex_cmd" && break
4860
if test x$regex_cmd = "x"; then
4861
as_fn_error "error. sed is required to build the data files." "$LINENO" 5
4864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4865
$as_echo_n "checking for ANSI C header files... " >&6; }
4866
if test "${ac_cv_header_stdc+set}" = set; then :
4867
$as_echo_n "(cached) " >&6
4869
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4870
/* end confdefs.h. */
4884
if ac_fn_cxx_try_compile "$LINENO"; then :
4885
ac_cv_header_stdc=yes
4887
ac_cv_header_stdc=no
4889
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4891
if test $ac_cv_header_stdc = yes; then
4892
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4893
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4894
/* end confdefs.h. */
4898
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4899
$EGREP "memchr" >/dev/null 2>&1; then :
4902
ac_cv_header_stdc=no
4908
if test $ac_cv_header_stdc = yes; then
4909
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4910
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4911
/* end confdefs.h. */
4915
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4916
$EGREP "free" >/dev/null 2>&1; then :
4919
ac_cv_header_stdc=no
4925
if test $ac_cv_header_stdc = yes; then
4926
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4927
if test "$cross_compiling" = yes; then :
4930
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931
/* end confdefs.h. */
4934
#if ((' ' & 0x0FF) == 0x020)
4935
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4936
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4938
# define ISLOWER(c) \
4939
(('a' <= (c) && (c) <= 'i') \
4940
|| ('j' <= (c) && (c) <= 'r') \
4941
|| ('s' <= (c) && (c) <= 'z'))
4942
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4945
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4950
for (i = 0; i < 256; i++)
4951
if (XOR (islower (i), ISLOWER (i))
4952
|| toupper (i) != TOUPPER (i))
4957
if ac_fn_cxx_try_run "$LINENO"; then :
4960
ac_cv_header_stdc=no
4962
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4963
conftest.$ac_objext conftest.beam conftest.$ac_ext
4968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4969
$as_echo "$ac_cv_header_stdc" >&6; }
4970
if test $ac_cv_header_stdc = yes; then
4972
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4976
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4977
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4978
if test "${ac_cv_header_stdbool_h+set}" = set; then :
4979
$as_echo_n "(cached) " >&6
4981
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4982
/* end confdefs.h. */
4984
#include <stdbool.h>
4986
"error: bool is not defined"
4989
"error: false is not defined"
4992
"error: false is not 0"
4995
"error: true is not defined"
4998
"error: true is not 1"
5000
#ifndef __bool_true_false_are_defined
5001
"error: __bool_true_false_are_defined is not defined"
5004
struct s { _Bool s: 1; _Bool t; } s;
5006
char a[true == 1 ? 1 : -1];
5007
char b[false == 0 ? 1 : -1];
5008
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5009
char d[(bool) 0.5 == true ? 1 : -1];
5011
char f[(_Bool) 0.0 == false ? 1 : -1];
5013
char h[sizeof (_Bool)];
5015
enum { j = false, k = true, l = false * true, m = true * 256 };
5016
/* The following fails for
5017
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5019
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5020
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5021
# if defined __xlc__ || defined __GNUC__
5022
/* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
5023
reported by James Lemley on 2005-10-05; see
5024
http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
5025
This test is not quite right, since xlc is allowed to
5026
reject this program, as the initializer for xlcbug is
5027
not one of the forms that C requires support for.
5028
However, doing the test right would require a runtime
5029
test, and that would make cross-compilation harder.
5030
Let us hope that IBM fixes the xlc bug, and also adds
5031
support for this kind of constant expression. In the
5032
meantime, this test will reject xlc, which is OK, since
5033
our stdbool.h substitute should suffice. We also test
5034
this with GCC, where it should work, to detect more
5035
quickly whether someone messes up the test in the
5037
char digs[] = "0123456789";
5038
int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
5040
/* Catch a bug in an HP-UX C compiler. See
5041
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5042
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5053
/* Refer to every declared value, to avoid compiler optimizations. */
5054
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5055
+ !m + !n + !o + !p + !q + !pq);
5061
if ac_fn_cxx_try_compile "$LINENO"; then :
5062
ac_cv_header_stdbool_h=yes
5064
ac_cv_header_stdbool_h=no
5066
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5069
$as_echo "$ac_cv_header_stdbool_h" >&6; }
5070
ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5071
if test "x$ac_cv_type__Bool" = x""yes; then :
5073
cat >>confdefs.h <<_ACEOF
5074
@%:@define HAVE__BOOL 1
5080
if test $ac_cv_header_stdbool_h = yes; then
5082
$as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
5086
for ac_header in errno.h ctype.h dirent.h fcntl.h libgen.h \
5087
locale.h nl_types.h process.h signal.h stdarg.h \
5088
stdio.h time.h unistd.h \
5089
sys/param.h sys/select.h sys/signal.h sys/stat.h \
5090
sys/time.h sys/types.h sys/wait.h \
5093
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5094
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5095
eval as_val=\$$as_ac_Header
5096
if test "x$as_val" = x""yes; then :
5097
cat >>confdefs.h <<_ACEOF
5098
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5108
for ac_header in sstream
5110
ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default"
5111
if test "x$ac_cv_header_sstream" = x""yes; then :
5112
cat >>confdefs.h <<_ACEOF
5113
@%:@define HAVE_SSTREAM 1
5117
for ac_header in strstream
5119
ac_fn_cxx_check_header_mongrel "$LINENO" "strstream" "ac_cv_header_strstream" "$ac_includes_default"
5120
if test "x$ac_cv_header_strstream" = x""yes; then :
5121
cat >>confdefs.h <<_ACEOF
5122
@%:@define HAVE_STRSTREAM 1
5126
as_fn_error "Your libstdc++ doesn't have the sstream or strstream classes" "$LINENO" 5
5138
for ac_header in cassert cctype cerrno cmath cstdarg cstdio cstdlib cstring ctime
5140
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5141
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5142
eval as_val=\$$as_ac_Header
5143
if test "x$as_val" = x""yes; then :
5144
cat >>confdefs.h <<_ACEOF
5145
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5155
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5156
as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5158
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5159
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
5160
$as_echo_n "(cached) " >&6
5162
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5163
/* end confdefs.h. */
5164
#include <sys/types.h>
5176
if ac_fn_cxx_try_compile "$LINENO"; then :
5177
eval "$as_ac_Header=yes"
5179
eval "$as_ac_Header=no"
5181
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5183
eval ac_res=\$$as_ac_Header
5184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5185
$as_echo "$ac_res" >&6; }
5186
eval as_val=\$$as_ac_Header
5187
if test "x$as_val" = x""yes; then :
5188
cat >>confdefs.h <<_ACEOF
5189
@%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5192
ac_header_dirent=$ac_hdr; break
5196
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5197
if test $ac_header_dirent = dirent.h; then
5198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5199
$as_echo_n "checking for library containing opendir... " >&6; }
5200
if test "${ac_cv_search_opendir+set}" = set; then :
5201
$as_echo_n "(cached) " >&6
5203
ac_func_search_save_LIBS=$LIBS
5204
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5205
/* end confdefs.h. */
5207
/* Override any GCC internal prototype to avoid an error.
5208
Use char because int might match the return type of a GCC
5209
builtin and then its argument prototype would still apply. */
5222
for ac_lib in '' dir; do
5223
if test -z "$ac_lib"; then
5224
ac_res="none required"
5227
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5229
if ac_fn_cxx_try_link "$LINENO"; then :
5230
ac_cv_search_opendir=$ac_res
5232
rm -f core conftest.err conftest.$ac_objext \
5234
if test "${ac_cv_search_opendir+set}" = set; then :
5238
if test "${ac_cv_search_opendir+set}" = set; then :
5241
ac_cv_search_opendir=no
5244
LIBS=$ac_func_search_save_LIBS
5246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5247
$as_echo "$ac_cv_search_opendir" >&6; }
5248
ac_res=$ac_cv_search_opendir
5249
if test "$ac_res" != no; then :
5250
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5256
$as_echo_n "checking for library containing opendir... " >&6; }
5257
if test "${ac_cv_search_opendir+set}" = set; then :
5258
$as_echo_n "(cached) " >&6
5260
ac_func_search_save_LIBS=$LIBS
5261
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262
/* end confdefs.h. */
5264
/* Override any GCC internal prototype to avoid an error.
5265
Use char because int might match the return type of a GCC
5266
builtin and then its argument prototype would still apply. */
5279
for ac_lib in '' x; do
5280
if test -z "$ac_lib"; then
5281
ac_res="none required"
5284
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5286
if ac_fn_cxx_try_link "$LINENO"; then :
5287
ac_cv_search_opendir=$ac_res
5289
rm -f core conftest.err conftest.$ac_objext \
5291
if test "${ac_cv_search_opendir+set}" = set; then :
5295
if test "${ac_cv_search_opendir+set}" = set; then :
5298
ac_cv_search_opendir=no
5301
LIBS=$ac_func_search_save_LIBS
5303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5304
$as_echo "$ac_cv_search_opendir" >&6; }
5305
ac_res=$ac_cv_search_opendir
5306
if test "$ac_res" != no; then :
5307
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
5314
$as_echo_n "checking whether closedir returns void... " >&6; }
5315
if test "${ac_cv_func_closedir_void+set}" = set; then :
5316
$as_echo_n "(cached) " >&6
5318
if test "$cross_compiling" = yes; then :
5319
ac_cv_func_closedir_void=yes
5321
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322
/* end confdefs.h. */
5323
$ac_includes_default
5324
#include <$ac_header_dirent>
5332
return closedir (opendir (".")) != 0;
5337
if ac_fn_cxx_try_run "$LINENO"; then :
5338
ac_cv_func_closedir_void=no
5340
ac_cv_func_closedir_void=yes
5342
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5343
conftest.$ac_objext conftest.beam conftest.$ac_ext
5347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
5348
$as_echo "$ac_cv_func_closedir_void" >&6; }
5349
if test $ac_cv_func_closedir_void = yes; then
5351
$as_echo "@%:@define CLOSEDIR_VOID 1" >>confdefs.h
5355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
5356
$as_echo_n "checking for error_at_line... " >&6; }
5357
if test "${ac_cv_lib_error_at_line+set}" = set; then :
5358
$as_echo_n "(cached) " >&6
5360
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5361
/* end confdefs.h. */
5366
error_at_line (0, 0, "", 0, "an error occurred");
5371
if ac_fn_cxx_try_link "$LINENO"; then :
5372
ac_cv_lib_error_at_line=yes
5374
ac_cv_lib_error_at_line=no
5376
rm -f core conftest.err conftest.$ac_objext \
5377
conftest$ac_exeext conftest.$ac_ext
5379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
5380
$as_echo "$ac_cv_lib_error_at_line" >&6; }
5381
if test $ac_cv_lib_error_at_line = no; then
5382
case " $LIB@&t@OBJS " in
5383
*" error.$ac_objext "* ) ;;
5384
*) LIB@&t@OBJS="$LIB@&t@OBJS error.$ac_objext"
5390
for ac_header in vfork.h
5392
ac_fn_cxx_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
5393
if test "x$ac_cv_header_vfork_h" = x""yes; then :
5394
cat >>confdefs.h <<_ACEOF
5395
@%:@define HAVE_VFORK_H 1
5402
for ac_func in fork vfork
5404
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5405
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
5406
eval as_val=\$$as_ac_var
5407
if test "x$as_val" = x""yes; then :
5408
cat >>confdefs.h <<_ACEOF
5409
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5415
if test "x$ac_cv_func_fork" = xyes; then
5416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
5417
$as_echo_n "checking for working fork... " >&6; }
5418
if test "${ac_cv_func_fork_works+set}" = set; then :
5419
$as_echo_n "(cached) " >&6
5421
if test "$cross_compiling" = yes; then :
5422
ac_cv_func_fork_works=cross
5424
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425
/* end confdefs.h. */
5426
$ac_includes_default
5431
/* By Ruediger Kuhlmann. */
5438
if ac_fn_cxx_try_run "$LINENO"; then :
5439
ac_cv_func_fork_works=yes
5441
ac_cv_func_fork_works=no
5443
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5444
conftest.$ac_objext conftest.beam conftest.$ac_ext
5448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
5449
$as_echo "$ac_cv_func_fork_works" >&6; }
5452
ac_cv_func_fork_works=$ac_cv_func_fork
5454
if test "x$ac_cv_func_fork_works" = xcross; then
5456
*-*-amigaos* | *-*-msdosdjgpp*)
5457
# Override, as these systems have only a dummy fork() stub
5458
ac_cv_func_fork_works=no
5461
ac_cv_func_fork_works=yes
5464
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5465
$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5467
ac_cv_func_vfork_works=$ac_cv_func_vfork
5468
if test "x$ac_cv_func_vfork" = xyes; then
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
5470
$as_echo_n "checking for working vfork... " >&6; }
5471
if test "${ac_cv_func_vfork_works+set}" = set; then :
5472
$as_echo_n "(cached) " >&6
5474
if test "$cross_compiling" = yes; then :
5475
ac_cv_func_vfork_works=cross
5477
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5478
/* end confdefs.h. */
5479
/* Thanks to Paul Eggert for this test. */
5480
$ac_includes_default
5481
#include <sys/wait.h>
5485
/* On some sparc systems, changes by the child to local and incoming
5486
argument registers are propagated back to the parent. The compiler
5487
is told about this with #include <vfork.h>, but some compilers
5488
(e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5489
static variable whose address is put into a register that is
5490
clobbered by the vfork. */
5493
sparc_address_test (int arg)
5495
sparc_address_test (arg) int arg;
5516
pid_t parent = getpid ();
5519
sparc_address_test (0);
5524
/* Here is another test for sparc vfork register problems. This
5525
test uses lots of local variables, at least as many local
5526
variables as main has allocated so far including compiler
5527
temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5528
4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5529
reuse the register of parent for one of the local variables,
5530
since it will think that parent can't possibly be used any more
5531
in this routine. Assigning to the local variable will thus
5532
munge parent in the parent process. */
5534
p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5535
p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5536
/* Convince the compiler that p..p7 are live; otherwise, it might
5537
use the same hardware register for all 8 local variables. */
5538
if (p != p1 || p != p2 || p != p3 || p != p4
5539
|| p != p5 || p != p6 || p != p7)
5542
/* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5543
from child file descriptors. If the child closes a descriptor
5544
before it execs or exits, this munges the parent's descriptor
5545
as well. Test for this by closing stdout in the child. */
5546
_exit(close(fileno(stdout)) != 0);
5551
while (wait(&status) != child)
5554
/* Was there some problem with vforking? */
5557
/* Did the child fail? (This shouldn't happen.) */
5560
/* Did the vfork/compiler bug occur? */
5561
|| parent != getpid()
5563
/* Did the file descriptor bug occur? */
5564
|| fstat(fileno(stdout), &st) != 0
5569
if ac_fn_cxx_try_run "$LINENO"; then :
5570
ac_cv_func_vfork_works=yes
5572
ac_cv_func_vfork_works=no
5574
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5575
conftest.$ac_objext conftest.beam conftest.$ac_ext
5579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
5580
$as_echo "$ac_cv_func_vfork_works" >&6; }
5583
if test "x$ac_cv_func_fork_works" = xcross; then
5584
ac_cv_func_vfork_works=$ac_cv_func_vfork
5585
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5586
$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5589
if test "x$ac_cv_func_vfork_works" = xyes; then
5591
$as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h
5595
$as_echo "@%:@define vfork fork" >>confdefs.h
5598
if test "x$ac_cv_func_fork_works" = xyes; then
5600
$as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h
5604
for ac_header in stdlib.h
5606
ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5607
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
5608
cat >>confdefs.h <<_ACEOF
5609
@%:@define HAVE_STDLIB_H 1
5616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5617
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5618
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
5619
$as_echo_n "(cached) " >&6
5621
if test "$cross_compiling" = yes; then :
5622
ac_cv_func_malloc_0_nonnull=no
5624
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5625
/* end confdefs.h. */
5626
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
5627
# include <stdlib.h>
5635
return ! malloc (0);
5640
if ac_fn_cxx_try_run "$LINENO"; then :
5641
ac_cv_func_malloc_0_nonnull=yes
5643
ac_cv_func_malloc_0_nonnull=no
5645
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5646
conftest.$ac_objext conftest.beam conftest.$ac_ext
5650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5651
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5652
if test $ac_cv_func_malloc_0_nonnull = yes; then :
5654
$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
5657
$as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
5659
case " $LIB@&t@OBJS " in
5660
*" malloc.$ac_objext "* ) ;;
5661
*) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
5666
$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
5671
for ac_header in stdlib.h
5673
ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5674
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
5675
cat >>confdefs.h <<_ACEOF
5676
@%:@define HAVE_STDLIB_H 1
5683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
5684
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5685
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
5686
$as_echo_n "(cached) " >&6
5688
if test "$cross_compiling" = yes; then :
5689
ac_cv_func_realloc_0_nonnull=no
5691
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5692
/* end confdefs.h. */
5693
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
5694
# include <stdlib.h>
5702
return ! realloc (0, 0);
5707
if ac_fn_cxx_try_run "$LINENO"; then :
5708
ac_cv_func_realloc_0_nonnull=yes
5710
ac_cv_func_realloc_0_nonnull=no
5712
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5713
conftest.$ac_objext conftest.beam conftest.$ac_ext
5717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
5718
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5719
if test $ac_cv_func_realloc_0_nonnull = yes; then :
5721
$as_echo "@%:@define HAVE_REALLOC 1" >>confdefs.h
5724
$as_echo "@%:@define HAVE_REALLOC 0" >>confdefs.h
5726
case " $LIB@&t@OBJS " in
5727
*" realloc.$ac_objext "* ) ;;
5728
*) LIB@&t@OBJS="$LIB@&t@OBJS realloc.$ac_objext"
5733
$as_echo "@%:@define realloc rpl_realloc" >>confdefs.h
5738
for ac_header in sys/select.h sys/socket.h
5740
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5741
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5742
eval as_val=\$$as_ac_Header
5743
if test "x$as_val" = x""yes; then :
5744
cat >>confdefs.h <<_ACEOF
5745
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
5753
$as_echo_n "checking types of arguments for select... " >&6; }
5754
if test "${ac_cv_func_select_args+set}" = set; then :
5755
$as_echo_n "(cached) " >&6
5757
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
5758
for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
5759
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
5760
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5761
/* end confdefs.h. */
5762
$ac_includes_default
5763
#ifdef HAVE_SYS_SELECT_H
5764
# include <sys/select.h>
5766
#ifdef HAVE_SYS_SOCKET_H
5767
# include <sys/socket.h>
5773
extern int select ($ac_arg1,
5774
$ac_arg234, $ac_arg234, $ac_arg234,
5780
if ac_fn_cxx_try_compile "$LINENO"; then :
5781
ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
5783
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5787
# Provide a safe default value.
5788
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
5791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
5792
$as_echo "$ac_cv_func_select_args" >&6; }
5793
ac_save_IFS=$IFS; IFS=','
5794
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
5798
cat >>confdefs.h <<_ACEOF
5799
@%:@define SELECT_TYPE_ARG1 $1
5803
cat >>confdefs.h <<_ACEOF
5804
@%:@define SELECT_TYPE_ARG234 ($2)
5808
cat >>confdefs.h <<_ACEOF
5809
@%:@define SELECT_TYPE_ARG5 ($3)
5814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
5815
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
5816
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
5817
$as_echo_n "(cached) " >&6
5819
rm -f conftest.sym conftest.file
5821
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
5822
if test "$cross_compiling" = yes; then :
5823
ac_cv_func_lstat_dereferences_slashed_symlink=no
5825
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5826
/* end confdefs.h. */
5827
$ac_includes_default
5832
/* Linux will dereference the symlink and fail, as required by POSIX.
5833
That is better in the sense that it means we will not
5834
have to compile and use the lstat wrapper. */
5835
return lstat ("conftest.sym/", &sbuf) == 0;
5840
if ac_fn_cxx_try_run "$LINENO"; then :
5841
ac_cv_func_lstat_dereferences_slashed_symlink=yes
5843
ac_cv_func_lstat_dereferences_slashed_symlink=no
5845
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5846
conftest.$ac_objext conftest.beam conftest.$ac_ext
5850
# If the `ln -s' command failed, then we probably don't even
5851
# have an lstat function.
5852
ac_cv_func_lstat_dereferences_slashed_symlink=no
5854
rm -f conftest.sym conftest.file
5857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
5858
$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
5860
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
5862
cat >>confdefs.h <<_ACEOF
5863
@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
5867
if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
5868
case " $LIB@&t@OBJS " in
5869
*" lstat.$ac_objext "* ) ;;
5870
*) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
5876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
5877
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
5878
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
5879
$as_echo_n "(cached) " >&6
5881
if test "$cross_compiling" = yes; then :
5882
ac_cv_func_stat_empty_string_bug=yes
5884
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5885
/* end confdefs.h. */
5886
$ac_includes_default
5891
return stat ("", &sbuf) == 0;
5896
if ac_fn_cxx_try_run "$LINENO"; then :
5897
ac_cv_func_stat_empty_string_bug=no
5899
ac_cv_func_stat_empty_string_bug=yes
5901
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5902
conftest.$ac_objext conftest.beam conftest.$ac_ext
5906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
5907
$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
5908
if test $ac_cv_func_stat_empty_string_bug = yes; then
5909
case " $LIB@&t@OBJS " in
5910
*" stat.$ac_objext "* ) ;;
5911
*) LIB@&t@OBJS="$LIB@&t@OBJS stat.$ac_objext"
5916
cat >>confdefs.h <<_ACEOF
5917
@%:@define HAVE_STAT_EMPTY_STRING_BUG 1
5923
for ac_func in basename
5925
ac_fn_cxx_check_func "$LINENO" "basename" "ac_cv_func_basename"
5926
if test "x$ac_cv_func_basename" = x""yes; then :
5927
cat >>confdefs.h <<_ACEOF
5928
@%:@define HAVE_BASENAME 1
5932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for basename in -lgen" >&5
5933
$as_echo_n "checking for basename in -lgen... " >&6; }
5934
if test "${ac_cv_lib_gen_basename+set}" = set; then :
5935
$as_echo_n "(cached) " >&6
5937
ac_check_lib_save_LIBS=$LIBS
5939
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5940
/* end confdefs.h. */
5942
/* Override any GCC internal prototype to avoid an error.
5943
Use char because int might match the return type of a GCC
5944
builtin and then its argument prototype would still apply. */
5957
if ac_fn_cxx_try_link "$LINENO"; then :
5958
ac_cv_lib_gen_basename=yes
5960
ac_cv_lib_gen_basename=no
5962
rm -f core conftest.err conftest.$ac_objext \
5963
conftest$ac_exeext conftest.$ac_ext
5964
LIBS=$ac_check_lib_save_LIBS
5966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_basename" >&5
5967
$as_echo "$ac_cv_lib_gen_basename" >&6; }
5968
if test "x$ac_cv_lib_gen_basename" = x""yes; then :
5975
for ac_func in catclose catgets catopen getpid gettimeofday memset mkdir \
5976
nl_langinfo putenv regcomp select setenv setlocale sigaction snprintf \
5977
sqrt strcasecmp strcasestr strchr strstr strtol strtoul vsnprintf
5979
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5980
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
5981
eval as_val=\$$as_ac_var
5982
if test "x$as_val" = x""yes; then :
5983
cat >>confdefs.h <<_ACEOF
5984
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime" >&5
5994
$as_echo_n "checking for strftime... " >&6; }
5996
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5997
/* end confdefs.h. */
6004
time_t t = time(NULL);
6005
size_t x = strftime(s, 5, "%a", localtime(&t));
6012
if ac_fn_cxx_try_compile "$LINENO"; then :
6015
$as_echo "@%:@define HAVE_STRFTIME 1" >>confdefs.h
6017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6018
$as_echo "yes" >&6; }
6021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6022
$as_echo "no" >&6; }
6024
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6028
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6029
if test "${ac_cv_struct_tm+set}" = set; then :
6030
$as_echo_n "(cached) " >&6
6032
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6033
/* end confdefs.h. */
6034
#include <sys/types.h>
6041
int *p = &tm.tm_sec;
6047
if ac_fn_cxx_try_compile "$LINENO"; then :
6048
ac_cv_struct_tm=time.h
6050
ac_cv_struct_tm=sys/time.h
6052
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6055
$as_echo "$ac_cv_struct_tm" >&6; }
6056
if test $ac_cv_struct_tm = sys/time.h; then
6058
$as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
6063
if test "x$ac_cv_header_iconv_h" = "xyes"; then
6065
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6066
/* end confdefs.h. */
6073
iconv_open(NULL, NULL);
6081
if ac_fn_cxx_try_compile "$LINENO"; then :
6086
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6088
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6089
/* end confdefs.h. */
6096
libiconv_open(NULL, NULL);
6104
if ac_fn_cxx_try_compile "$LINENO"; then :
6109
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6111
if test "x$ac_found_iconv" = xyes; then
6113
$as_echo "@%:@define HAVE_ICONV 1" >>confdefs.h
6115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv_open in -liconv" >&5
6116
$as_echo_n "checking for iconv_open in -liconv... " >&6; }
6117
if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then :
6118
$as_echo_n "(cached) " >&6
6120
ac_check_lib_save_LIBS=$LIBS
6121
LIBS="-liconv $LIBS"
6122
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6123
/* end confdefs.h. */
6125
/* Override any GCC internal prototype to avoid an error.
6126
Use char because int might match the return type of a GCC
6127
builtin and then its argument prototype would still apply. */
6135
return iconv_open ();
6140
if ac_fn_cxx_try_link "$LINENO"; then :
6141
ac_cv_lib_iconv_iconv_open=yes
6143
ac_cv_lib_iconv_iconv_open=no
6145
rm -f core conftest.err conftest.$ac_objext \
6146
conftest$ac_exeext conftest.$ac_ext
6147
LIBS=$ac_check_lib_save_LIBS
6149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_iconv_open" >&5
6150
$as_echo "$ac_cv_lib_iconv_iconv_open" >&6; }
6151
if test "x$ac_cv_lib_iconv_iconv_open" = x""yes; then :
6153
LIBS="$LIBS -liconv"
6157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -liconv" >&5
6158
$as_echo_n "checking for libiconv_open in -liconv... " >&6; }
6159
if test "${ac_cv_lib_iconv_libiconv_open+set}" = set; then :
6160
$as_echo_n "(cached) " >&6
6162
ac_check_lib_save_LIBS=$LIBS
6163
LIBS="-liconv $LIBS"
6164
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6165
/* end confdefs.h. */
6167
/* Override any GCC internal prototype to avoid an error.
6168
Use char because int might match the return type of a GCC
6169
builtin and then its argument prototype would still apply. */
6173
char libiconv_open ();
6177
return libiconv_open ();
6182
if ac_fn_cxx_try_link "$LINENO"; then :
6183
ac_cv_lib_iconv_libiconv_open=yes
6185
ac_cv_lib_iconv_libiconv_open=no
6187
rm -f core conftest.err conftest.$ac_objext \
6188
conftest$ac_exeext conftest.$ac_ext
6189
LIBS=$ac_check_lib_save_LIBS
6191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv_open" >&5
6192
$as_echo "$ac_cv_lib_iconv_libiconv_open" >&6; }
6193
if test "x$ac_cv_lib_iconv_libiconv_open" = x""yes; then :
6195
LIBS="$LIBS -liconv"
6200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
6201
$as_echo_n "checking for iconv declaration... " >&6; }
6202
if test "${ac_cv_iconv_const+set}" = set; then :
6203
$as_echo_n "(cached) " >&6
6205
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6206
/* end confdefs.h. */
6213
char **msg, **new_msg;
6214
size_t result, inleft, outleft;
6215
result = iconv((iconv_t)(-1), msg, &inleft, new_msg, &outleft);
6223
if ac_fn_cxx_try_compile "$LINENO"; then :
6224
ac_cv_iconv_const=no
6226
ac_cv_iconv_const=yes
6228
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_iconv_const" >&5
6232
$as_echo "$ac_cv_iconv_const" >&6; }
6233
if test "x$ac_cv_iconv_const" = xyes; then
6235
$as_echo "@%:@define HAVE_CONST_ICONV 1" >>confdefs.h
6243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_open in -lnsl" >&5
6244
$as_echo_n "checking for t_open in -lnsl... " >&6; }
6245
if test "${ac_cv_lib_nsl_t_open+set}" = set; then :
6246
$as_echo_n "(cached) " >&6
6248
ac_check_lib_save_LIBS=$LIBS
6250
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251
/* end confdefs.h. */
6253
/* Override any GCC internal prototype to avoid an error.
6254
Use char because int might match the return type of a GCC
6255
builtin and then its argument prototype would still apply. */
6268
if ac_fn_cxx_try_link "$LINENO"; then :
6269
ac_cv_lib_nsl_t_open=yes
6271
ac_cv_lib_nsl_t_open=no
6273
rm -f core conftest.err conftest.$ac_objext \
6274
conftest$ac_exeext conftest.$ac_ext
6275
LIBS=$ac_check_lib_save_LIBS
6277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_t_open" >&5
6278
$as_echo "$ac_cv_lib_nsl_t_open" >&6; }
6279
if test "x$ac_cv_lib_nsl_t_open" = x""yes; then :
6283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
6284
$as_echo_n "checking for socket in -lsocket... " >&6; }
6285
if test "${ac_cv_lib_socket_socket+set}" = set; then :
6286
$as_echo_n "(cached) " >&6
6288
ac_check_lib_save_LIBS=$LIBS
6289
LIBS="-lsocket $LIBS"
6290
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291
/* end confdefs.h. */
6293
/* Override any GCC internal prototype to avoid an error.
6294
Use char because int might match the return type of a GCC
6295
builtin and then its argument prototype would still apply. */
6308
if ac_fn_cxx_try_link "$LINENO"; then :
6309
ac_cv_lib_socket_socket=yes
6311
ac_cv_lib_socket_socket=no
6313
rm -f core conftest.err conftest.$ac_objext \
6314
conftest$ac_exeext conftest.$ac_ext
6315
LIBS=$ac_check_lib_save_LIBS
6317
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
6318
$as_echo "$ac_cv_lib_socket_socket" >&6; }
6319
if test "x$ac_cv_lib_socket_socket" = x""yes; then :
6320
LIBS="$LIBS -lsocket"
6324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
6325
$as_echo_n "checking for X... " >&6; }
6328
@%:@ Check whether --with-x was given.
6329
if test "${with_x+set}" = set; then :
6333
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6334
if test "x$with_x" = xno; then
6335
# The user explicitly disabled X.
6338
case $x_includes,$x_libraries in #(
6339
*\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
6340
*,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
6341
$as_echo_n "(cached) " >&6
6343
# One or both of the vars are not set, and there is no cached value.
6344
ac_x_includes=no ac_x_libraries=no
6345
rm -f -r conftest.dir
6346
if mkdir conftest.dir; then
6348
cat >Imakefile <<'_ACEOF'
6350
@echo incroot='${INCROOT}'
6352
@echo usrlibdir='${USRLIBDIR}'
6354
@echo libdir='${LIBDIR}'
6356
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
6357
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6358
for ac_var in incroot usrlibdir libdir; do
6359
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
6361
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6362
for ac_extension in a so sl dylib la dll; do
6363
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
6364
test -f "$ac_im_libdir/libX11.$ac_extension"; then
6365
ac_im_usrlibdir=$ac_im_libdir; break
6368
# Screen out bogus values from the imake configuration. They are
6369
# bogus both because they are the default anyway, and because
6370
# using them would break gcc on systems where it needs fixed includes.
6371
case $ac_im_incroot in
6372
/usr/include) ac_x_includes= ;;
6373
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
6375
case $ac_im_usrlibdir in
6376
/usr/lib | /usr/lib64 | /lib | /lib64) ;;
6377
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
6381
rm -f -r conftest.dir
6384
# Standard set of common directories for X headers.
6385
# Check X11 before X11Rn because it is often a symlink to the current release.
6399
/usr/local/X11/include
6400
/usr/local/X11R7/include
6401
/usr/local/X11R6/include
6402
/usr/local/X11R5/include
6403
/usr/local/X11R4/include
6405
/usr/local/include/X11
6406
/usr/local/include/X11R7
6407
/usr/local/include/X11R6
6408
/usr/local/include/X11R5
6409
/usr/local/include/X11R4
6413
/usr/XFree86/include/X11
6417
/usr/unsupported/include
6419
/usr/local/x11r5/include
6420
/usr/lpp/Xamples/include
6422
/usr/openwin/include
6423
/usr/openwin/share/include'
6425
if test "$ac_x_includes" = no; then
6426
# Guess where to find include files, by looking for Xlib.h.
6427
# First, try using that file with no special directory specified.
6428
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6429
/* end confdefs.h. */
6430
@%:@include <X11/Xlib.h>
6432
if ac_fn_cxx_try_cpp "$LINENO"; then :
6433
# We can compile using X headers with no special include directory.
6436
for ac_dir in $ac_x_header_dirs; do
6437
if test -r "$ac_dir/X11/Xlib.h"; then
6438
ac_x_includes=$ac_dir
6443
rm -f conftest.err conftest.$ac_ext
6444
fi # $ac_x_includes = no
6446
if test "$ac_x_libraries" = no; then
6447
# Check for the libraries.
6448
# See if we find them without any special options.
6449
# Don't add to $LIBS permanently.
6452
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6453
/* end confdefs.h. */
6454
@%:@include <X11/Xlib.h>
6463
if ac_fn_cxx_try_link "$LINENO"; then :
6465
# We can link X programs with no special library path.
6469
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6471
# Don't even attempt the hair of trying to link an X program!
6472
for ac_extension in a so sl dylib la dll; do
6473
if test -r "$ac_dir/libX11.$ac_extension"; then
6474
ac_x_libraries=$ac_dir
6480
rm -f core conftest.err conftest.$ac_objext \
6481
conftest$ac_exeext conftest.$ac_ext
6482
fi # $ac_x_libraries = no
6484
case $ac_x_includes,$ac_x_libraries in #(
6486
# Didn't find X, or a directory has "'" in its name.
6487
ac_cv_have_x="have_x=no";; #(
6489
# Record where we found X for the cache.
6490
ac_cv_have_x="have_x=yes\
6491
ac_x_includes='$ac_x_includes'\
6492
ac_x_libraries='$ac_x_libraries'"
6498
eval "$ac_cv_have_x"
6501
if test "$have_x" != yes; then
6502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
6503
$as_echo "$have_x" >&6; }
6506
# If each of the values was on the command line, it overrides each guess.
6507
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
6508
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
6509
# Update the cache value to reflect the command line values.
6510
ac_cv_have_x="have_x=yes\
6511
ac_x_includes='$x_includes'\
6512
ac_x_libraries='$x_libraries'"
6513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
6514
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
6517
if test "$no_x" = yes; then
6518
# Not all programs may use this symbol, but it does not hurt to define it.
6520
$as_echo "@%:@define X_DISPLAY_MISSING 1" >>confdefs.h
6522
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
6524
if test -n "$x_includes"; then
6525
X_CFLAGS="$X_CFLAGS -I$x_includes"
6528
# It would also be nice to do this for all -L options, not just this one.
6529
if test -n "$x_libraries"; then
6530
X_LIBS="$X_LIBS -L$x_libraries"
6531
# For Solaris; some versions of Sun CC require a space after -R and
6532
# others require no space. Words are not sufficient . . . .
6533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
6534
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
6535
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
6536
ac_xsave_cxx_werror_flag=$ac_cxx_werror_flag
6537
ac_cxx_werror_flag=yes
6538
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6539
/* end confdefs.h. */
6549
if ac_fn_cxx_try_link "$LINENO"; then :
6550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6551
$as_echo "no" >&6; }
6552
X_LIBS="$X_LIBS -R$x_libraries"
6554
LIBS="$ac_xsave_LIBS -R $x_libraries"
6555
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6556
/* end confdefs.h. */
6566
if ac_fn_cxx_try_link "$LINENO"; then :
6567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6568
$as_echo "yes" >&6; }
6569
X_LIBS="$X_LIBS -R $x_libraries"
6571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
6572
$as_echo "neither works" >&6; }
6574
rm -f core conftest.err conftest.$ac_objext \
6575
conftest$ac_exeext conftest.$ac_ext
6577
rm -f core conftest.err conftest.$ac_objext \
6578
conftest$ac_exeext conftest.$ac_ext
6579
ac_cxx_werror_flag=$ac_xsave_cxx_werror_flag
6583
# Check for system-dependent libraries X programs must link with.
6584
# Do this before checking for the system-independent R6 libraries
6585
# (-lICE), since we may need -lsocket or whatever for X linking.
6587
if test "$ISC" = yes; then
6588
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
6590
# Martyn Johnson says this is needed for Ultrix, if the X
6591
# libraries were built with DECnet support. And Karl Berry says
6592
# the Alpha needs dnet_stub (dnet does not exist).
6593
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
6594
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6595
/* end confdefs.h. */
6597
/* Override any GCC internal prototype to avoid an error.
6598
Use char because int might match the return type of a GCC
6599
builtin and then its argument prototype would still apply. */
6603
char XOpenDisplay ();
6607
return XOpenDisplay ();
6612
if ac_fn_cxx_try_link "$LINENO"; then :
6615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
6616
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
6617
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
6618
$as_echo_n "(cached) " >&6
6620
ac_check_lib_save_LIBS=$LIBS
6622
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623
/* end confdefs.h. */
6625
/* Override any GCC internal prototype to avoid an error.
6626
Use char because int might match the return type of a GCC
6627
builtin and then its argument prototype would still apply. */
6635
return dnet_ntoa ();
6640
if ac_fn_cxx_try_link "$LINENO"; then :
6641
ac_cv_lib_dnet_dnet_ntoa=yes
6643
ac_cv_lib_dnet_dnet_ntoa=no
6645
rm -f core conftest.err conftest.$ac_objext \
6646
conftest$ac_exeext conftest.$ac_ext
6647
LIBS=$ac_check_lib_save_LIBS
6649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6650
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
6651
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
6652
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
6655
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
6656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
6657
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
6658
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
6659
$as_echo_n "(cached) " >&6
6661
ac_check_lib_save_LIBS=$LIBS
6662
LIBS="-ldnet_stub $LIBS"
6663
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6664
/* end confdefs.h. */
6666
/* Override any GCC internal prototype to avoid an error.
6667
Use char because int might match the return type of a GCC
6668
builtin and then its argument prototype would still apply. */
6676
return dnet_ntoa ();
6681
if ac_fn_cxx_try_link "$LINENO"; then :
6682
ac_cv_lib_dnet_stub_dnet_ntoa=yes
6684
ac_cv_lib_dnet_stub_dnet_ntoa=no
6686
rm -f core conftest.err conftest.$ac_objext \
6687
conftest$ac_exeext conftest.$ac_ext
6688
LIBS=$ac_check_lib_save_LIBS
6690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
6691
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
6692
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
6693
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
6698
rm -f core conftest.err conftest.$ac_objext \
6699
conftest$ac_exeext conftest.$ac_ext
6700
LIBS="$ac_xsave_LIBS"
6702
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
6703
# to get the SysV transport functions.
6704
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
6706
# The nsl library prevents programs from opening the X display
6707
# on Irix 5.2, according to T.E. Dickey.
6708
# The functions gethostbyname, getservbyname, and inet_addr are
6709
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
6710
ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
6711
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
6715
if test $ac_cv_func_gethostbyname = no; then
6716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
6717
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
6718
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
6719
$as_echo_n "(cached) " >&6
6721
ac_check_lib_save_LIBS=$LIBS
6723
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6724
/* end confdefs.h. */
6726
/* Override any GCC internal prototype to avoid an error.
6727
Use char because int might match the return type of a GCC
6728
builtin and then its argument prototype would still apply. */
6732
char gethostbyname ();
6736
return gethostbyname ();
6741
if ac_fn_cxx_try_link "$LINENO"; then :
6742
ac_cv_lib_nsl_gethostbyname=yes
6744
ac_cv_lib_nsl_gethostbyname=no
6746
rm -f core conftest.err conftest.$ac_objext \
6747
conftest$ac_exeext conftest.$ac_ext
6748
LIBS=$ac_check_lib_save_LIBS
6750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
6751
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
6752
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
6753
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
6756
if test $ac_cv_lib_nsl_gethostbyname = no; then
6757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
6758
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
6759
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
6760
$as_echo_n "(cached) " >&6
6762
ac_check_lib_save_LIBS=$LIBS
6764
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6765
/* end confdefs.h. */
6767
/* Override any GCC internal prototype to avoid an error.
6768
Use char because int might match the return type of a GCC
6769
builtin and then its argument prototype would still apply. */
6773
char gethostbyname ();
6777
return gethostbyname ();
6782
if ac_fn_cxx_try_link "$LINENO"; then :
6783
ac_cv_lib_bsd_gethostbyname=yes
6785
ac_cv_lib_bsd_gethostbyname=no
6787
rm -f core conftest.err conftest.$ac_objext \
6788
conftest$ac_exeext conftest.$ac_ext
6789
LIBS=$ac_check_lib_save_LIBS
6791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
6792
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
6793
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
6794
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
6800
# lieder@skyler.mavd.honeywell.com says without -lsocket,
6801
# socket/setsockopt and other routines are undefined under SCO ODT
6802
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
6803
# on later versions), says Simon Leinen: it contains gethostby*
6804
# variants that don't use the name server (or something). -lsocket
6805
# must be given before -lnsl if both are needed. We assume that
6806
# if connect needs -lnsl, so does gethostbyname.
6807
ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect"
6808
if test "x$ac_cv_func_connect" = x""yes; then :
6812
if test $ac_cv_func_connect = no; then
6813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
6814
$as_echo_n "checking for connect in -lsocket... " >&6; }
6815
if test "${ac_cv_lib_socket_connect+set}" = set; then :
6816
$as_echo_n "(cached) " >&6
6818
ac_check_lib_save_LIBS=$LIBS
6819
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
6820
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6821
/* end confdefs.h. */
6823
/* Override any GCC internal prototype to avoid an error.
6824
Use char because int might match the return type of a GCC
6825
builtin and then its argument prototype would still apply. */
6838
if ac_fn_cxx_try_link "$LINENO"; then :
6839
ac_cv_lib_socket_connect=yes
6841
ac_cv_lib_socket_connect=no
6843
rm -f core conftest.err conftest.$ac_objext \
6844
conftest$ac_exeext conftest.$ac_ext
6845
LIBS=$ac_check_lib_save_LIBS
6847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
6848
$as_echo "$ac_cv_lib_socket_connect" >&6; }
6849
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
6850
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
6855
# Guillermo Gomez says -lposix is necessary on A/UX.
6856
ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove"
6857
if test "x$ac_cv_func_remove" = x""yes; then :
6861
if test $ac_cv_func_remove = no; then
6862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
6863
$as_echo_n "checking for remove in -lposix... " >&6; }
6864
if test "${ac_cv_lib_posix_remove+set}" = set; then :
6865
$as_echo_n "(cached) " >&6
6867
ac_check_lib_save_LIBS=$LIBS
6868
LIBS="-lposix $LIBS"
6869
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870
/* end confdefs.h. */
6872
/* Override any GCC internal prototype to avoid an error.
6873
Use char because int might match the return type of a GCC
6874
builtin and then its argument prototype would still apply. */
6887
if ac_fn_cxx_try_link "$LINENO"; then :
6888
ac_cv_lib_posix_remove=yes
6890
ac_cv_lib_posix_remove=no
6892
rm -f core conftest.err conftest.$ac_objext \
6893
conftest$ac_exeext conftest.$ac_ext
6894
LIBS=$ac_check_lib_save_LIBS
6896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
6897
$as_echo "$ac_cv_lib_posix_remove" >&6; }
6898
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
6899
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
6904
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6905
ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
6906
if test "x$ac_cv_func_shmat" = x""yes; then :
6910
if test $ac_cv_func_shmat = no; then
6911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
6912
$as_echo_n "checking for shmat in -lipc... " >&6; }
6913
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
6914
$as_echo_n "(cached) " >&6
6916
ac_check_lib_save_LIBS=$LIBS
6918
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6919
/* end confdefs.h. */
6921
/* Override any GCC internal prototype to avoid an error.
6922
Use char because int might match the return type of a GCC
6923
builtin and then its argument prototype would still apply. */
6936
if ac_fn_cxx_try_link "$LINENO"; then :
6937
ac_cv_lib_ipc_shmat=yes
6939
ac_cv_lib_ipc_shmat=no
6941
rm -f core conftest.err conftest.$ac_objext \
6942
conftest$ac_exeext conftest.$ac_ext
6943
LIBS=$ac_check_lib_save_LIBS
6945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
6946
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
6947
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
6948
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
6954
# Check for libraries that X11R6 Xt/Xaw programs need.
6955
ac_save_LDFLAGS=$LDFLAGS
6956
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
6957
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
6958
# check for ICE first), but we must link in the order -lSM -lICE or
6959
# we get undefined symbols. So assume we have SM if we have ICE.
6960
# These have to be linked with before -lX11, unlike the other
6961
# libraries we check for below, so use a different variable.
6962
# John Interrante, Karl Berry
6963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
6964
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
6965
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
6966
$as_echo_n "(cached) " >&6
6968
ac_check_lib_save_LIBS=$LIBS
6969
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
6970
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6971
/* end confdefs.h. */
6973
/* Override any GCC internal prototype to avoid an error.
6974
Use char because int might match the return type of a GCC
6975
builtin and then its argument prototype would still apply. */
6979
char IceConnectionNumber ();
6983
return IceConnectionNumber ();
6988
if ac_fn_cxx_try_link "$LINENO"; then :
6989
ac_cv_lib_ICE_IceConnectionNumber=yes
6991
ac_cv_lib_ICE_IceConnectionNumber=no
6993
rm -f core conftest.err conftest.$ac_objext \
6994
conftest$ac_exeext conftest.$ac_ext
6995
LIBS=$ac_check_lib_save_LIBS
6997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6998
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
6999
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
7000
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7003
LDFLAGS=$ac_save_LDFLAGS
7008
test x$no_x = "xyes" && as_fn_error "Fluxbox requires the X Window System libraries and headers." "$LINENO" 5
7010
test x$x_includes = "x" && x_includes="/usr/include"
7011
test x$x_libraries = "x" && x_libraries="/usr/lib"
7013
CFLAGS="$CFLAGS $X_CFLAGS"
7014
CXXFLAGS="$CXXFLAGS $X_CFLAGS"
7015
LIBS="$LIBS $X_LIBS"
7016
LDFLAGS="$LDFLAGS $LIBS $X_PRE_LIBS"
7019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
7020
$as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
7021
if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then :
7022
$as_echo_n "(cached) " >&6
7024
ac_check_lib_save_LIBS=$LIBS
7026
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7027
/* end confdefs.h. */
7029
/* Override any GCC internal prototype to avoid an error.
7030
Use char because int might match the return type of a GCC
7031
builtin and then its argument prototype would still apply. */
7035
char XOpenDisplay ();
7039
return XOpenDisplay ();
7044
if ac_fn_cxx_try_link "$LINENO"; then :
7045
ac_cv_lib_X11_XOpenDisplay=yes
7047
ac_cv_lib_X11_XOpenDisplay=no
7049
rm -f core conftest.err conftest.$ac_objext \
7050
conftest$ac_exeext conftest.$ac_ext
7051
LIBS=$ac_check_lib_save_LIBS
7053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5
7054
$as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; }
7055
if test "x$ac_cv_lib_X11_XOpenDisplay" = x""yes; then :
7058
as_fn_error "Could not find XOpenDisplay in -lX11." "$LINENO" 5
7062
LIBS="$LIBS $X_EXTRA_LIBS"
7064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for setlocale in -lxpg4" >&5
7065
$as_echo_n "checking for setlocale in -lxpg4... " >&6; }
7066
if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then :
7067
$as_echo_n "(cached) " >&6
7069
ac_check_lib_save_LIBS=$LIBS
7071
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7072
/* end confdefs.h. */
7074
/* Override any GCC internal prototype to avoid an error.
7075
Use char because int might match the return type of a GCC
7076
builtin and then its argument prototype would still apply. */
7084
return setlocale ();
7089
if ac_fn_cxx_try_link "$LINENO"; then :
7090
ac_cv_lib_xpg4_setlocale=yes
7092
ac_cv_lib_xpg4_setlocale=no
7094
rm -f core conftest.err conftest.$ac_objext \
7095
conftest$ac_exeext conftest.$ac_ext
7096
LIBS=$ac_check_lib_save_LIBS
7098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xpg4_setlocale" >&5
7099
$as_echo "$ac_cv_lib_xpg4_setlocale" >&6; }
7100
if test "x$ac_cv_lib_xpg4_setlocale" = x""yes; then :
7105
for ac_prog in gencat
7107
# Extract the first word of "$ac_prog", so it can be a program name with args.
7108
set dummy $ac_prog; ac_word=$2
7109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7110
$as_echo_n "checking for $ac_word... " >&6; }
7111
if test "${ac_cv_prog_gencat_cmd+set}" = set; then :
7112
$as_echo_n "(cached) " >&6
7114
if test -n "$gencat_cmd"; then
7115
ac_cv_prog_gencat_cmd="$gencat_cmd" # Let the user override the test.
7117
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7121
test -z "$as_dir" && as_dir=.
7122
for ac_exec_ext in '' $ac_executable_extensions; do
7123
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7124
ac_cv_prog_gencat_cmd="$ac_prog"
7125
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134
gencat_cmd=$ac_cv_prog_gencat_cmd
7135
if test -n "$gencat_cmd"; then
7136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gencat_cmd" >&5
7137
$as_echo "$gencat_cmd" >&6; }
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7140
$as_echo "no" >&6; }
7144
test -n "$gencat_cmd" && break
7147
if test x$gencat_cmd = "x"; then
7154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include the Slit" >&5
7155
$as_echo_n "checking whether to include the Slit... " >&6; }
7156
@%:@ Check whether --enable-slit was given.
7157
if test "${enable_slit+set}" = set; then :
7158
enableval=$enable_slit; if test x$enableval = "xyes"; then
7159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7160
$as_echo "yes" >&6; }
7162
$as_echo "@%:@define SLIT 1" >>confdefs.h
7165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166
$as_echo "no" >&6; }
7169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7170
$as_echo "yes" >&6; }
7172
$as_echo "@%:@define SLIT 1" >>confdefs.h
7178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include remember functionality" >&5
7179
$as_echo_n "checking whether to include remember functionality... " >&6; }
7180
@%:@ Check whether --enable-remember was given.
7181
if test "${enable_remember+set}" = set; then :
7182
enableval=$enable_remember; if test x$enableval = "xyes"; then
7183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7184
$as_echo "yes" >&6; }
7186
$as_echo "@%:@define REMEMBER 1" >>confdefs.h
7190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191
$as_echo "no" >&6; }
7195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7196
$as_echo "yes" >&6; }
7198
$as_echo "@%:@define REMEMBER 1" >>confdefs.h
7204
if test x$REMEMBER_SRC = xtrue; then
7206
REMEMBER_SRC_FALSE='#'
7208
REMEMBER_SRC_TRUE='#'
7213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include Toolbar" >&5
7214
$as_echo_n "checking whether to include Toolbar... " >&6; }
7215
@%:@ Check whether --enable-toolbar was given.
7216
if test "${enable_toolbar+set}" = set; then :
7217
enableval=$enable_toolbar; if test x$enableval = "xyes"; then
7218
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7219
$as_echo "yes" >&6; }
7221
$as_echo "@%:@define USE_TOOLBAR 1" >>confdefs.h
7225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7226
$as_echo "no" >&6; }
7230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7231
$as_echo "yes" >&6; }
7233
$as_echo "@%:@define USE_TOOLBAR 1" >>confdefs.h
7239
if test x$TOOLBAR_SRC = xtrue; then
7241
TOOLBAR_SRC_FALSE='#'
7243
TOOLBAR_SRC_TRUE='#'
7248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to have (POSIX) regular expression support" >&5
7249
$as_echo_n "checking whether to have (POSIX) regular expression support... " >&6; }
7250
@%:@ Check whether --enable-regexp was given.
7251
if test "${enable_regexp+set}" = set; then :
7252
enableval=$enable_regexp; if test x$enableval = "xyes"; then
7253
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7254
/* end confdefs.h. */
7258
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7259
$EGREP "regex_t" >/dev/null 2>&1; then :
7261
$as_echo "@%:@define USE_REGEXP 1" >>confdefs.h
7263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7264
$as_echo "yes" >&6; }
7267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7268
$as_echo "no" >&6; }
7275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276
$as_echo "no" >&6; }
7280
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7281
/* end confdefs.h. */
7285
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7286
$EGREP "regex_t" >/dev/null 2>&1; then :
7288
$as_echo "@%:@define USE_REGEXP 1" >>confdefs.h
7290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7291
$as_echo "yes" >&6; }
7294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7295
$as_echo "no" >&6; }
7304
if test x$REGEXP_SRC = xtrue; then
7306
REGEXP_SRC_FALSE='#'
7313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include the new WM Spec" >&5
7314
$as_echo_n "checking whether to include the new WM Spec... " >&6; }
7315
@%:@ Check whether --enable-newwmspec was given.
7316
if test "${enable_newwmspec+set}" = set; then :
7317
enableval=$enable_newwmspec; if test x$enableval = "xyes"; then
7318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7319
$as_echo "yes" >&6; }
7322
$as_echo "@%:@define USE_NEWWMSPEC 1" >>confdefs.h
7325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326
$as_echo "no" >&6; }
7330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7331
$as_echo "yes" >&6; }
7333
$as_echo "@%:@define USE_NEWWMSPEC 1" >>confdefs.h
7339
if test x$NEWWMSPEC = xtrue; then
7349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include verbose debugging code" >&5
7350
$as_echo_n "checking whether to include verbose debugging code... " >&6; }
7351
@%:@ Check whether --enable-debug was given.
7352
if test "${enable_debug+set}" = set; then :
7353
enableval=$enable_debug; if test x$enableval = "xyes"; then
7354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7355
$as_echo "yes" >&6; }
7356
DEBUG="-DDEBUG -Wall"
7358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7359
$as_echo "no" >&6; }
7362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363
$as_echo "no" >&6; }
7368
CXXFLAGS="$CXXFLAGS $DEBUG"
7370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include NLS support" >&5
7371
$as_echo_n "checking whether to include NLS support... " >&6; }
7372
@%:@ Check whether --enable-nls was given.
7373
if test "${enable_nls+set}" = set; then :
7374
enableval=$enable_nls; if test x$enableval = "xyes"; then
7375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7376
$as_echo "yes" >&6; }
7378
$as_echo "@%:@define NLS 1" >>confdefs.h
7382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7383
$as_echo "no" >&6; }
7386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7387
$as_echo "no" >&6; }
7398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use the new timed pixmap cache" >&5
7399
$as_echo_n "checking whether to use the new timed pixmap cache... " >&6; }
7400
@%:@ Check whether --enable-timed-cache was given.
7401
if test "${enable_timed_cache+set}" = set; then :
7402
enableval=$enable_timed_cache; if test x$enableval = "xyes"; then
7403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7404
$as_echo "yes" >&6; }
7406
$as_echo "@%:@define TIMEDCACHE 1" >>confdefs.h
7409
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7410
$as_echo "no" >&6; }
7413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7414
$as_echo "yes" >&6; }
7416
$as_echo "@%:@define TIMEDCACHE 1" >>confdefs.h
7423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to have GNOME support" >&5
7424
$as_echo_n "checking whether to have GNOME support... " >&6; }
7425
@%:@ Check whether --enable-gnome was given.
7426
if test "${enable_gnome+set}" = set; then :
7427
enableval=$enable_gnome; if test x$enableval = "xyes"; then
7428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7429
$as_echo "yes" >&6; }
7431
$as_echo "@%:@define USE_GNOME 1" >>confdefs.h
7435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7436
$as_echo "no" >&6; }
7440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7441
$as_echo "yes" >&6; }
7443
$as_echo "@%:@define USE_GNOME 1" >>confdefs.h
7449
if test x$GNOME = xtrue; then
7458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to have Xft support" >&5
7459
$as_echo_n "checking whether to have Xft support... " >&6; }
7462
@%:@ Check whether --with-xft-prefix was given.
7463
if test "${with_xft_prefix+set}" = set; then :
7464
withval=$with_xft_prefix; xft_prefix="$withval"
7470
@%:@ Check whether --with-pkg-exec-prefix was given.
7471
if test "${with_pkg_exec_prefix+set}" = set; then :
7472
withval=$with_pkg_exec_prefix; pkg_exec_prefix="$withval"
7477
@%:@ Check whether --enable-xft was given.
7478
if test "${enable_xft+set}" = set; then :
7479
enableval=$enable_xft; if test "x$enableval" = "xyes"; then
7491
if test "x$TRY_XFT" = "xyes"; then
7492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7493
$as_echo "yes" >&6; }
7495
if test x$pkg_exec_prefix != x ; then
7496
xft_args="$xft_args --exec-prefix=$pkg_exec_prefix"
7497
if test x${PKG_CONFIG+set} != xset ; then
7498
PKG_CONFIG=$pkg_exec_prefix/bin/pkg-config
7502
if test x$xft_prefix != x ; then
7503
xft_args="$xft_args --prefix=$xft_prefix"
7504
if test x${PKG_CONFIG+set} != xset ; then
7505
PKG_CONFIG=$xft_prefix/bin/pkg-config
7509
# Extract the first word of "pkg-config", so it can be a program name with args.
7510
set dummy pkg-config; ac_word=$2
7511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7512
$as_echo_n "checking for $ac_word... " >&6; }
7513
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7514
$as_echo_n "(cached) " >&6
7518
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7521
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525
test -z "$as_dir" && as_dir=.
7526
for ac_exec_ext in '' $ac_executable_extensions; do
7527
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7528
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7529
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7536
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7540
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7541
if test -n "$PKG_CONFIG"; then
7542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7543
$as_echo "$PKG_CONFIG" >&6; }
7545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7546
$as_echo "no" >&6; }
7550
if test "x$PKG_CONFIG" = "xno" ; then
7551
# xft2 failed: try xft1
7553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5
7554
$as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
7555
if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then :
7556
$as_echo_n "(cached) " >&6
7558
ac_check_lib_save_LIBS=$LIBS
7560
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7561
/* end confdefs.h. */
7563
/* Override any GCC internal prototype to avoid an error.
7564
Use char because int might match the return type of a GCC
7565
builtin and then its argument prototype would still apply. */
7569
char XftFontOpen ();
7573
return XftFontOpen ();
7578
if ac_fn_cxx_try_link "$LINENO"; then :
7579
ac_cv_lib_Xft_XftFontOpen=yes
7581
ac_cv_lib_Xft_XftFontOpen=no
7583
rm -f core conftest.err conftest.$ac_objext \
7584
conftest$ac_exeext conftest.$ac_ext
7585
LIBS=$ac_check_lib_save_LIBS
7587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5
7588
$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
7589
if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then :
7595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Cant find Xft libraries! Disabling Xft" >&5
7596
$as_echo "Cant find Xft libraries! Disabling Xft" >&6; }
7603
XFT_CFLAGS=`$PKG_CONFIG $xftconf_args --cflags xft`
7604
XFT_LIBS=`$PKG_CONFIG $xftconf_args --libs xft`
7610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7611
$as_echo "no" >&6; }
7616
CFLAGS="$CFLAGS $XFT_CFLAGS"
7617
CXXFLAGS="$CXXFLAGS $XFT_CFLAGS"
7618
LIBS="$LIBS $XFT_LIBS"
7622
if test "x$XFT" = "xtrue" ; then
7623
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624
/* end confdefs.h. */
7626
#include <X11/Xft/Xft.h>
7631
XftFontClose(0, 0); return 1;
7636
if ac_fn_cxx_try_link "$LINENO"; then :
7640
$as_echo "@%:@define USE_XFT 1" >>confdefs.h
7642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Xft UTF-8 support" >&5
7643
$as_echo_n "checking Xft UTF-8 support... " >&6; }
7644
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7645
/* end confdefs.h. */
7647
#include <X11/Xft/Xft.h>
7652
XftDrawStringUtf8(0, 0, 0, 0, 0, 0, 0); return 0;
7657
if ac_fn_cxx_try_link "$LINENO"; then :
7659
$as_echo "@%:@define HAVE_XFT_UTF8_STRING 1" >>confdefs.h
7661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7662
$as_echo "yes" >&6; }
7664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7665
$as_echo "no" >&6; }
7668
rm -f core conftest.err conftest.$ac_objext \
7669
conftest$ac_exeext conftest.$ac_ext
7672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Could not link with Xft. Install Xft if you want support for it." >&5
7673
$as_echo "Could not link with Xft. Install Xft if you want support for it." >&6; }
7677
rm -f core conftest.err conftest.$ac_objext \
7678
conftest$ac_exeext conftest.$ac_ext
7681
if test x$XFT = xtrue; then
7690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to have Xrender (transparent) support" >&5
7691
$as_echo_n "checking whether to have Xrender (transparent) support... " >&6; }
7692
@%:@ Check whether --enable-xrender was given.
7693
if test "${enable_xrender+set}" = set; then :
7694
enableval=$enable_xrender; if test x$enableval = "xyes"; then
7695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7696
$as_echo "yes" >&6; }
7697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
7698
$as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
7699
if test "${ac_cv_lib_Xrender_XRenderCreatePicture+set}" = set; then :
7700
$as_echo_n "(cached) " >&6
7702
ac_check_lib_save_LIBS=$LIBS
7703
LIBS="-lXrender $LIBS"
7704
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7705
/* end confdefs.h. */
7707
/* Override any GCC internal prototype to avoid an error.
7708
Use char because int might match the return type of a GCC
7709
builtin and then its argument prototype would still apply. */
7713
char XRenderCreatePicture ();
7717
return XRenderCreatePicture ();
7722
if ac_fn_cxx_try_link "$LINENO"; then :
7723
ac_cv_lib_Xrender_XRenderCreatePicture=yes
7725
ac_cv_lib_Xrender_XRenderCreatePicture=no
7727
rm -f core conftest.err conftest.$ac_objext \
7728
conftest$ac_exeext conftest.$ac_ext
7729
LIBS=$ac_check_lib_save_LIBS
7731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
7732
$as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
7733
if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = x""yes; then :
7735
$as_echo "@%:@define HAVE_XRENDER 1" >>confdefs.h
7737
LIBS="$LIBS -lXrender"
7741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7742
$as_echo "no" >&6; }
7745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7746
$as_echo "yes" >&6; }
7747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
7748
$as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
7749
if test "${ac_cv_lib_Xrender_XRenderCreatePicture+set}" = set; then :
7750
$as_echo_n "(cached) " >&6
7752
ac_check_lib_save_LIBS=$LIBS
7753
LIBS="-lXrender $LIBS"
7754
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755
/* end confdefs.h. */
7757
/* Override any GCC internal prototype to avoid an error.
7758
Use char because int might match the return type of a GCC
7759
builtin and then its argument prototype would still apply. */
7763
char XRenderCreatePicture ();
7767
return XRenderCreatePicture ();
7772
if ac_fn_cxx_try_link "$LINENO"; then :
7773
ac_cv_lib_Xrender_XRenderCreatePicture=yes
7775
ac_cv_lib_Xrender_XRenderCreatePicture=no
7777
rm -f core conftest.err conftest.$ac_objext \
7778
conftest$ac_exeext conftest.$ac_ext
7779
LIBS=$ac_check_lib_save_LIBS
7781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
7782
$as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
7783
if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = x""yes; then :
7785
$as_echo "@%:@define HAVE_XRENDER 1" >>confdefs.h
7787
LIBS="$LIBS -lXrender"
7795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to have Xpm (pixmap themes) support" >&5
7796
$as_echo_n "checking whether to have Xpm (pixmap themes) support... " >&6; }
7797
@%:@ Check whether --enable-xpm was given.
7798
if test "${enable_xpm+set}" = set; then :
7799
enableval=$enable_xpm; if test x$enableval = "xyes"; then
7800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7801
$as_echo "yes" >&6; }
7802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5
7803
$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
7804
if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then :
7805
$as_echo_n "(cached) " >&6
7807
ac_check_lib_save_LIBS=$LIBS
7809
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7810
/* end confdefs.h. */
7812
/* Override any GCC internal prototype to avoid an error.
7813
Use char because int might match the return type of a GCC
7814
builtin and then its argument prototype would still apply. */
7818
char XpmReadFileToPixmap ();
7822
return XpmReadFileToPixmap ();
7827
if ac_fn_cxx_try_link "$LINENO"; then :
7828
ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7830
ac_cv_lib_Xpm_XpmReadFileToPixmap=no
7832
rm -f core conftest.err conftest.$ac_objext \
7833
conftest$ac_exeext conftest.$ac_ext
7834
LIBS=$ac_check_lib_save_LIBS
7836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7837
$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
7838
if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then :
7840
$as_echo "@%:@define HAVE_XPM 1" >>confdefs.h
7847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7848
$as_echo "no" >&6; }
7851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7852
$as_echo "yes" >&6; }
7853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5
7854
$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
7855
if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then :
7856
$as_echo_n "(cached) " >&6
7858
ac_check_lib_save_LIBS=$LIBS
7860
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7861
/* end confdefs.h. */
7863
/* Override any GCC internal prototype to avoid an error.
7864
Use char because int might match the return type of a GCC
7865
builtin and then its argument prototype would still apply. */
7869
char XpmReadFileToPixmap ();
7873
return XpmReadFileToPixmap ();
7878
if ac_fn_cxx_try_link "$LINENO"; then :
7879
ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7881
ac_cv_lib_Xpm_XpmReadFileToPixmap=no
7883
rm -f core conftest.err conftest.$ac_objext \
7884
conftest$ac_exeext conftest.$ac_ext
7885
LIBS=$ac_check_lib_save_LIBS
7887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7888
$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
7889
if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then :
7891
$as_echo "@%:@define HAVE_XPM 1" >>confdefs.h
7901
if test x$XPM = xtrue; then
7911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to have Imlib2 (pixmap themes) support" >&5
7912
$as_echo_n "checking whether to have Imlib2 (pixmap themes) support... " >&6; }
7913
@%:@ Check whether --enable-imlib2 was given.
7914
if test "${enable_imlib2+set}" = set; then :
7915
enableval=$enable_imlib2;
7920
if test x$enable_imlib2 = "xyes"; then
7921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7922
$as_echo "yes" >&6; }
7925
@%:@ Check whether --with-imlib2-prefix was given.
7926
if test "${with_imlib2_prefix+set}" = set; then :
7927
withval=$with_imlib2_prefix; imlib2_config_prefix="$withval"
7929
imlib2_config_prefix=""
7933
@%:@ Check whether --with-imlib2-exec-prefix was given.
7934
if test "${with_imlib2_exec_prefix+set}" = set; then :
7935
withval=$with_imlib2_exec_prefix; imlib2_config_exec_prefix="$withval"
7937
imlib2_config_exec_prefix=""
7941
if test x$imlib2_config_exec_prefix != x ; then
7942
imlib2_config_args="$imlib2_config_args --exec-prefix=$imlib2_config_exec_prefix"
7943
if test x${IMLIB2_CONFIG+set} != xset ; then
7944
IMLIB2_CONFIG=$imlib2_config_exec_prefix/bin/imlib2-config
7947
if test x$imlib2_config_prefix != x ; then
7948
imlib2_config_args="$imlib2_config_args --prefix=$imlib2_config_prefix"
7949
if test x${IMLIB2_CONFIG+set} != xset ; then
7950
IMLIB2_CONFIG=$imlib2_config_prefix/bin/imlib2-config
7954
# Extract the first word of "imlib2-config", so it can be a program name with args.
7955
set dummy imlib2-config; ac_word=$2
7956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957
$as_echo_n "checking for $ac_word... " >&6; }
7958
if test "${ac_cv_path_IMLIB2_CONFIG+set}" = set; then :
7959
$as_echo_n "(cached) " >&6
7961
case $IMLIB2_CONFIG in
7963
ac_cv_path_IMLIB2_CONFIG="$IMLIB2_CONFIG" # Let the user override the test with a path.
7966
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7970
test -z "$as_dir" && as_dir=.
7971
for ac_exec_ext in '' $ac_executable_extensions; do
7972
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7973
ac_cv_path_IMLIB2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7974
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7981
test -z "$ac_cv_path_IMLIB2_CONFIG" && ac_cv_path_IMLIB2_CONFIG="no"
7985
IMLIB2_CONFIG=$ac_cv_path_IMLIB2_CONFIG
7986
if test -n "$IMLIB2_CONFIG"; then
7987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMLIB2_CONFIG" >&5
7988
$as_echo "$IMLIB2_CONFIG" >&6; }
7990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991
$as_echo "no" >&6; }
7995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for imlib2 - version >= 1.0.0" >&5
7996
$as_echo_n "checking for imlib2 - version >= 1.0.0... " >&6; }
7999
if test "$IMLIB2_CONFIG" = "no" ; then
8002
IMLIB2_CFLAGS="`$IMLIB2_CONFIG $imlib2_config_args --cflags`"
8003
IMLIB2_LIBS="`$IMLIB2_CONFIG $imlib2_config_args --libs`"
8005
imlib2_config_major_version=`$IMLIB2_CONFIG $imlib2_config_args \
8006
--version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8007
imlib2_config_minor_version=`$IMLIB2_CONFIG $imlib2_config_args \
8008
--version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8009
imlib2_config_micro_version=`$IMLIB2_CONFIG $imlib2_config_args \
8010
--version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8011
imlib2_wanted_major_version="1"
8012
imlib2_wanted_minor_version="0"
8013
imlib2_wanted_micro_version="0"
8015
# Compare wanted version to what config script returned.
8016
# If I knew what library was being run, i'd probably also compile
8017
# a test program at this point (which also extracted and tested
8018
# the version in some library-specific way)
8019
if test "$imlib2_config_major_version" -lt \
8020
"$imlib2_wanted_major_version" \
8021
-o \( "$imlib2_config_major_version" -eq \
8022
"$imlib2_wanted_major_version" \
8023
-a "$imlib2_config_minor_version" -lt \
8024
"$imlib2_wanted_minor_version" \) \
8025
-o \( "$imlib2_config_major_version" -eq \
8026
"$imlib2_wanted_major_version" \
8027
-a "$imlib2_config_minor_version" -eq \
8028
"$imlib2_wanted_minor_version" \
8029
-a "$imlib2_config_micro_version" -lt \
8030
"$imlib2_wanted_micro_version" \) ; then
8031
# older version found
8033
echo -n "*** An old version of imlib2 "
8034
echo -n "($imlib2_config_major_version"
8035
echo -n ".$imlib2_config_minor_version"
8036
echo ".$imlib2_config_micro_version) was found."
8037
echo -n "*** You need a version of imlib2 newer than "
8038
echo -n "$imlib2_wanted_major_version"
8039
echo -n ".$imlib2_wanted_minor_version"
8040
echo ".$imlib2_wanted_micro_version."
8042
echo "*** If you have already installed a sufficiently new version, this error"
8043
echo "*** probably means that the wrong copy of the imlib2-config shell script is"
8044
echo "*** being found. The easiest way to fix this is to remove the old version"
8045
echo "*** of imlib2, but you can also set the IMLIB2_CONFIG environment to point to the"
8046
echo "*** correct copy of imlib2-config. (In this case, you will have to"
8047
echo "*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf"
8048
echo "*** so that the correct libraries are found at run-time)"
8052
if test "x$no_imlib2" = x ; then
8053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8054
$as_echo "yes" >&6; }
8058
$as_echo "@%:@define HAVE_IMLIB2 /**/" >>confdefs.h
8060
IMLIB2_LIBS=`imlib2-config --libs`
8061
IMLIB2_CFLAGS=`imlib2-config --cflags`
8062
LIBS="$LIBS $IMLIB2_LIBS"
8063
CXXFLAGS="$CXXFLAGS $IMLIB2_CFLAGS"
8066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8067
$as_echo "no" >&6; }
8068
if test "$IMLIB2_CONFIG" = "no" ; then
8069
echo "*** The imlib2-config script installed by imlib2 could not be found"
8070
echo "*** If imlib2 was installed in PREFIX, make sure PREFIX/bin is in"
8071
echo "*** your path, or set the IMLIB2_CONFIG environment variable to the"
8072
echo "*** full path to imlib2-config."
8076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077
$as_echo "no" >&6; }
8087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088
$as_echo "no" >&6; }
8091
if test x$IMLIB2 = xtrue; then
8102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to have Xmb (multibyte font, utf-8) support" >&5
8103
$as_echo_n "checking whether to have Xmb (multibyte font, utf-8) support... " >&6; }
8104
@%:@ Check whether --enable-xmb was given.
8105
if test "${enable_xmb+set}" = set; then :
8106
enableval=$enable_xmb; if test x$enableval = "xyes"; then
8107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8108
$as_echo "yes" >&6; }
8110
$as_echo "@%:@define USE_XMB 1" >>confdefs.h
8114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8115
$as_echo "no" >&6; }
8119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8120
$as_echo "yes" >&6; }
8122
$as_echo "@%:@define USE_XMB 1" >>confdefs.h
8128
if test x$MULTIBYTE = xtrue; then
8139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build support for the Xinerama extension" >&5
8140
$as_echo_n "checking whether to build support for the Xinerama extension... " >&6; }
8141
@%:@ Check whether --enable-xinerama was given.
8142
if test "${enable_xinerama+set}" = set; then :
8143
enableval=$enable_xinerama;
8148
if test "x$enableval" = "xyes"; then
8149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8150
$as_echo "yes" >&6; }
8151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
8152
$as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
8153
if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
8154
$as_echo_n "(cached) " >&6
8156
ac_check_lib_save_LIBS=$LIBS
8157
LIBS="-lXinerama $LIBS"
8158
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8159
/* end confdefs.h. */
8161
/* Override any GCC internal prototype to avoid an error.
8162
Use char because int might match the return type of a GCC
8163
builtin and then its argument prototype would still apply. */
8167
char XineramaQueryScreens ();
8171
return XineramaQueryScreens ();
8176
if ac_fn_cxx_try_link "$LINENO"; then :
8177
ac_cv_lib_Xinerama_XineramaQueryScreens=yes
8179
ac_cv_lib_Xinerama_XineramaQueryScreens=no
8181
rm -f core conftest.err conftest.$ac_objext \
8182
conftest$ac_exeext conftest.$ac_ext
8183
LIBS=$ac_check_lib_save_LIBS
8185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
8186
$as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
8187
if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
8188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/Xinerama.h" >&5
8189
$as_echo_n "checking for X11/extensions/Xinerama.h... " >&6; }
8190
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8191
/* end confdefs.h. */
8192
#include <X11/Xlib.h>
8193
#include <X11/Xutil.h>
8194
#include <X11/extensions/Xinerama.h>
8199
XineramaQueryScreens(0, 0)
8204
if ac_fn_cxx_try_compile "$LINENO"; then :
8205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8206
$as_echo "yes" >&6; }
8208
$as_echo "@%:@define XINERAMA 1" >>confdefs.h
8210
LIBS="$LIBS -lXinerama"
8212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8213
$as_echo "no" >&6; }
8215
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8220
$as_echo "no" >&6; }
8221
CONFIGOPTS="$CONFIGOPTS --disable-xinerama"
8225
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build support for the XShape extension" >&5
8226
$as_echo_n "checking whether to build support for the XShape extension... " >&6; }
8227
@%:@ Check whether --enable-shape was given.
8228
if test "${enable_shape+set}" = set; then :
8229
enableval=$enable_shape;
8234
if test "x$enableval" = "xyes"; then
8235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8236
$as_echo "yes" >&6; }
8237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeCombineShape in -lXext" >&5
8238
$as_echo_n "checking for XShapeCombineShape in -lXext... " >&6; }
8239
if test "${ac_cv_lib_Xext_XShapeCombineShape+set}" = set; then :
8240
$as_echo_n "(cached) " >&6
8242
ac_check_lib_save_LIBS=$LIBS
8244
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245
/* end confdefs.h. */
8247
/* Override any GCC internal prototype to avoid an error.
8248
Use char because int might match the return type of a GCC
8249
builtin and then its argument prototype would still apply. */
8253
char XShapeCombineShape ();
8257
return XShapeCombineShape ();
8262
if ac_fn_cxx_try_link "$LINENO"; then :
8263
ac_cv_lib_Xext_XShapeCombineShape=yes
8265
ac_cv_lib_Xext_XShapeCombineShape=no
8267
rm -f core conftest.err conftest.$ac_objext \
8268
conftest$ac_exeext conftest.$ac_ext
8269
LIBS=$ac_check_lib_save_LIBS
8271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeCombineShape" >&5
8272
$as_echo "$ac_cv_lib_Xext_XShapeCombineShape" >&6; }
8273
if test "x$ac_cv_lib_Xext_XShapeCombineShape" = x""yes; then :
8274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
8275
$as_echo_n "checking for X11/extensions/shape.h... " >&6; }
8276
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8277
/* end confdefs.h. */
8278
#include <X11/Xlib.h>
8279
#include <X11/Xutil.h>
8280
#include <X11/extensions/shape.h>
8290
if ac_fn_cxx_try_compile "$LINENO"; then :
8291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8292
$as_echo "yes" >&6; }
8294
$as_echo "@%:@define SHAPE 1" >>confdefs.h
8297
FEATURES="$FEATURES XShape"
8299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8300
$as_echo "no" >&6; }
8302
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307
$as_echo "no" >&6; }
8308
CONFIGOPTS="$CONFIGOPTS --disable-shape"
8314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build support for the Xrandr (X resize and rotate) extension" >&5
8315
$as_echo_n "checking whether to build support for the Xrandr (X resize and rotate) extension... " >&6; }
8316
@%:@ Check whether --enable-randr was given.
8317
if test "${enable_randr+set}" = set; then :
8318
enableval=$enable_randr;
8323
if test "x$enableval" = "xyes"; then
8324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8325
$as_echo "yes" >&6; }
8326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRQueryExtension in -lXrandr" >&5
8327
$as_echo_n "checking for XRRQueryExtension in -lXrandr... " >&6; }
8328
if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then :
8329
$as_echo_n "(cached) " >&6
8331
ac_check_lib_save_LIBS=$LIBS
8332
LIBS="-lXrandr $LIBS"
8333
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8334
/* end confdefs.h. */
8336
/* Override any GCC internal prototype to avoid an error.
8337
Use char because int might match the return type of a GCC
8338
builtin and then its argument prototype would still apply. */
8342
char XRRQueryExtension ();
8346
return XRRQueryExtension ();
8351
if ac_fn_cxx_try_link "$LINENO"; then :
8352
ac_cv_lib_Xrandr_XRRQueryExtension=yes
8354
ac_cv_lib_Xrandr_XRRQueryExtension=no
8356
rm -f core conftest.err conftest.$ac_objext \
8357
conftest$ac_exeext conftest.$ac_ext
8358
LIBS=$ac_check_lib_save_LIBS
8360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
8361
$as_echo "$ac_cv_lib_Xrandr_XRRQueryExtension" >&6; }
8362
if test "x$ac_cv_lib_Xrandr_XRRQueryExtension" = x""yes; then :
8363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/Xrandr.h" >&5
8364
$as_echo_n "checking for X11/extensions/Xrandr.h... " >&6; }
8365
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366
/* end confdefs.h. */
8367
#include <X11/Xlib.h>
8368
#include <X11/Xutil.h>
8369
#include <X11/extensions/Xrandr.h>
8374
XRRQueryExtension(0, 0, 0)
8379
if ac_fn_cxx_try_compile "$LINENO"; then :
8380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8381
$as_echo "yes" >&6; }
8383
$as_echo "@%:@define HAVE_RANDR 1" >>confdefs.h
8385
LIBS="$LIBS -lXrandr"
8387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388
$as_echo "no" >&6; }
8390
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8395
$as_echo "no" >&6; }
8396
CONFIGOPTS="$CONFIGOPTS --disable-randr"
8400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to have RANDR 1.2 support" >&5
8401
$as_echo_n "checking whether to have RANDR 1.2 support... " >&6; }
8402
@%:@ Check whether --enable-randr1.2 was given.
8403
if test "${enable_randr1_2+set}" = set; then :
8404
enableval=$enable_randr1_2;
8409
if test "x$enableval" = "xyes"; then
8410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8411
$as_echo "yes" >&6; }
8412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRQueryExtension in -lXrandr" >&5
8413
$as_echo_n "checking for XRRQueryExtension in -lXrandr... " >&6; }
8414
if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then :
8415
$as_echo_n "(cached) " >&6
8417
ac_check_lib_save_LIBS=$LIBS
8418
LIBS="-lXrandr $LIBS"
8419
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8420
/* end confdefs.h. */
8422
/* Override any GCC internal prototype to avoid an error.
8423
Use char because int might match the return type of a GCC
8424
builtin and then its argument prototype would still apply. */
8428
char XRRQueryExtension ();
8432
return XRRQueryExtension ();
8437
if ac_fn_cxx_try_link "$LINENO"; then :
8438
ac_cv_lib_Xrandr_XRRQueryExtension=yes
8440
ac_cv_lib_Xrandr_XRRQueryExtension=no
8442
rm -f core conftest.err conftest.$ac_objext \
8443
conftest$ac_exeext conftest.$ac_ext
8444
LIBS=$ac_check_lib_save_LIBS
8446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
8447
$as_echo "$ac_cv_lib_Xrandr_XRRQueryExtension" >&6; }
8448
if test "x$ac_cv_lib_Xrandr_XRRQueryExtension" = x""yes; then :
8449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/Xrandr.h" >&5
8450
$as_echo_n "checking for X11/extensions/Xrandr.h... " >&6; }
8451
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452
/* end confdefs.h. */
8453
#include <X11/Xlib.h>
8454
#include <X11/Xutil.h>
8455
#include <X11/extensions/Xrandr.h>
8460
XRRUpdateConfiguration(0)
8465
if ac_fn_cxx_try_compile "$LINENO"; then :
8466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8467
$as_echo "yes" >&6; }
8469
$as_echo "@%:@define HAVE_RANDR1_2 1" >>confdefs.h
8471
LIBS="$LIBS -lXrandr"
8473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8474
$as_echo "no" >&6; }
8476
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8481
$as_echo "no" >&6; }
8482
CONFIGOPTS="$CONFIGOPTS --disable-randr1.2"
8488
# AC_MSG_CHECKING([whether to have RANDR 1.2 support])
8491
# [ --enable-randr1.2 RANDR 1.2 support ([default=yes])],
8492
# if test x$enableval = "xyes"; then
8493
# AC_MSG_RESULT([yes])
8494
# AC_CHECK_LIB(Xrandr, XRRUpdateConfiguration,
8495
# AC_DEFINE(HAVE_RANDR1_2, 1, "randr 1.2 support"))
8497
# AC_MSG_RESULT([no])
8499
# AC_MSG_RESULT([yes])
8500
# AC_CHECK_LIB(Xrandr, XRRUpdateConfiguration,
8501
# AC_DEFINE(HAVE_RANDR1_2, 1, "randr 1.2 support"))
8507
@%:@ Check whether --with-menu was given.
8508
if test "${with_menu+set}" = set; then :
8509
withval=$with_menu; DEFAULT_MENU=$with_menu
8511
DEFAULT_MENU=\$\(prefix\)/share/fluxbox/menu
8518
@%:@ Check whether --with-windowmenu was given.
8519
if test "${with_windowmenu+set}" = set; then :
8520
withval=$with_windowmenu; DEFAULT_WINDOWMENU=$with_windowmenu
8522
DEFAULT_WINDOWMENU=\$\(prefix\)/share/fluxbox/windowmenu
8529
@%:@ Check whether --with-style was given.
8530
if test "${with_style+set}" = set; then :
8531
withval=$with_style; DEFAULT_STYLE=$with_style
8533
DEFAULT_STYLE=\$\(prefix\)/share/fluxbox/styles/bloe
8540
@%:@ Check whether --with-keys was given.
8541
if test "${with_keys+set}" = set; then :
8542
withval=$with_keys; DEFAULT_KEYS=$with_keys
8544
DEFAULT_KEYS=\$\(prefix\)/share/fluxbox/keys
8551
@%:@ Check whether --with-apps was given.
8552
if test "${with_apps+set}" = set; then :
8553
withval=$with_apps; DEFAULT_APPS=$with_apps
8555
DEFAULT_APPS=\$\(prefix\)/share/fluxbox/apps
8562
@%:@ Check whether --with-overlay was given.
8563
if test "${with_overlay+set}" = set; then :
8564
withval=$with_overlay; DEFAULT_OVERLAY=$with_overlay
8566
DEFAULT_OVERLAY=\$\(prefix\)/share/fluxbox/overlay
8573
@%:@ Check whether --with-init was given.
8574
if test "${with_init+set}" = set; then :
8575
withval=$with_init; DEFAULT_INIT=$with_init
8577
DEFAULT_INIT=\$\(prefix\)/share/fluxbox/init
8583
# we have to expand locale_path in the config.h file, but NOT in the makefiles!
8585
@%:@ Check whether --with-locale was given.
8586
if test "${with_locale+set}" = set; then :
8587
withval=$with_locale; LOCALE_PATH=$with_locale
8589
cat >>confdefs.h <<_ACEOF
8590
@%:@define LOCALEPATH "$LOCALE_PATH"
8595
LOCALE_PATH=\$\(prefix\)/share/fluxbox/nls
8597
cat >>confdefs.h <<_ACEOF
8598
@%:@define LOCALEPATH "$prefix/share/fluxbox/nls"
8609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8610
$as_echo_n "checking return type of signal handlers... " >&6; }
8611
if test "${ac_cv_type_signal+set}" = set; then :
8612
$as_echo_n "(cached) " >&6
8614
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615
/* end confdefs.h. */
8616
#include <sys/types.h>
8622
return *(signal (0, 0)) (0) == 1;
8627
if ac_fn_cxx_try_compile "$LINENO"; then :
8628
ac_cv_type_signal=int
8630
ac_cv_type_signal=void
8632
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8635
$as_echo "$ac_cv_type_signal" >&6; }
8637
cat >>confdefs.h <<_ACEOF
8638
@%:@define RETSIGTYPE $ac_cv_type_signal
8644
ac_config_headers="$ac_config_headers config.h"
8647
ac_config_files="$ac_config_files Makefile version.h src/Makefile src/FbTk/Makefile util/Makefile util/fbrun/Makefile data/Makefile data/styles/Makefile data/styles/BlueFlux/Makefile data/styles/BlueFlux/pixmaps/Makefile data/styles/Emerge/Makefile data/styles/Emerge/pixmaps/Makefile data/styles/arch/Makefile data/styles/arch/pixmaps/Makefile data/styles/zimek_bisque/Makefile data/styles/zimek_darkblue/Makefile data/styles/zimek_green/Makefile data/styles/ostrich/Makefile data/styles/green_tea/Makefile data/styles/bora_black/Makefile data/styles/bora_blue/Makefile data/styles/bora_green/Makefile data/styles/carp/Makefile data/styles/bloe/Makefile data/styles/bloe/pixmaps/Makefile doc/Makefile doc/ru/Makefile nls/Makefile nls/C/Makefile nls/be_BY/Makefile nls/bg_BG/Makefile nls/cs_CZ/Makefile nls/da_DK/Makefile nls/de_AT/Makefile nls/de_CH/Makefile nls/de_DE/Makefile nls/el_GR/Makefile nls/en_GB/Makefile nls/en_US/Makefile nls/es_AR/Makefile nls/es_ES/Makefile nls/et_EE/Makefile nls/fi_FI/Makefile nls/fr_CH/Makefile nls/fr_FR/Makefile nls/it_IT/Makefile nls/ja_JP/Makefile nls/ko_KR/Makefile nls/lv_LV/Makefile nls/mk_MK/Makefile nls/nb_NO/Makefile nls/nl_NL/Makefile nls/no_NO/Makefile nls/pl_PL/Makefile nls/pt_BR/Makefile nls/pt_PT/Makefile nls/ru_RU/Makefile nls/sk_SK/Makefile nls/sl_SI/Makefile nls/sv_SE/Makefile nls/tr_TR/Makefile nls/uk_UA/Makefile nls/vi_VN/Makefile nls/zh_CN/Makefile nls/zh_TW/Makefile"
8649
cat >confcache <<\_ACEOF
8650
# This file is a shell script that caches the results of configure
8651
# tests run on this system so they can be shared between configure
8652
# scripts and configure runs, see configure's option --config-cache.
8653
# It is not useful on other systems. If it contains results you don't
8654
# want to keep, you may remove or edit it.
8656
# config.status only pays attention to the cache file if you give it
8657
# the --recheck option to rerun configure.
8659
# `ac_cv_env_foo' variables (set or unset) will be overridden when
8660
# loading this file, other *unset* `ac_cv_foo' will be assigned the
8665
# The following way of writing the cache mishandles newlines in values,
8666
# but we know of no workaround that is simple, portable, and efficient.
8667
# So, we kill variables containing newlines.
8668
# Ultrix sh set writes to stderr and can't be redirected directly,
8669
# and sets the high bit in the cache file unless we assign to the vars.
8671
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8672
eval ac_val=\$$ac_var
8676
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8677
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8680
_ | IFS | as_nl) ;; #(
8681
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8682
*) { eval $ac_var=; unset $ac_var;} ;;
8688
case $as_nl`(ac_space=' '; set) 2>&1` in #(
8689
*${as_nl}ac_space=\ *)
8690
# `set' does not quote correctly, so add quotes: double-quote
8691
# substitution turns \\\\ into \\, and sed turns \\ into \.
8694
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8697
# `set' quotes correctly as required by POSIX, so do not add quotes.
8698
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8707
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8709
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8711
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8712
if test -w "$cache_file"; then
8713
test "x$cache_file" != "x/dev/null" &&
8714
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8715
$as_echo "$as_me: updating cache $cache_file" >&6;}
8716
cat confcache >$cache_file
8718
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8719
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8724
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8725
# Let make expand exec_prefix.
8726
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8728
DEFS=-DHAVE_CONFIG_H
8732
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
8733
# 1. Remove the extension, and $U if already installed.
8734
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8735
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8736
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8737
# will be set to the directory where LIBOBJS objects are built.
8738
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8739
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8741
LIB@&t@OBJS=$ac_libobjs
8743
LTLIBOBJS=$ac_ltlibobjs
8746
if test -n "$EXEEXT"; then
8748
am__EXEEXT_FALSE='#'
8754
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8755
as_fn_error "conditional \"AMDEP\" was never defined.
8756
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8758
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8759
as_fn_error "conditional \"am__fastdepCC\" was never defined.
8760
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8762
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8763
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
8764
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8766
if test -z "${REMEMBER_SRC_TRUE}" && test -z "${REMEMBER_SRC_FALSE}"; then
8767
as_fn_error "conditional \"REMEMBER_SRC\" was never defined.
8768
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8770
if test -z "${TOOLBAR_SRC_TRUE}" && test -z "${TOOLBAR_SRC_FALSE}"; then
8771
as_fn_error "conditional \"TOOLBAR_SRC\" was never defined.
8772
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8774
if test -z "${REGEXP_SRC_TRUE}" && test -z "${REGEXP_SRC_FALSE}"; then
8775
as_fn_error "conditional \"REGEXP_SRC\" was never defined.
8776
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8778
if test -z "${NEWWMSPEC_TRUE}" && test -z "${NEWWMSPEC_FALSE}"; then
8779
as_fn_error "conditional \"NEWWMSPEC\" was never defined.
8780
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8782
if test -z "${GNOME_TRUE}" && test -z "${GNOME_FALSE}"; then
8783
as_fn_error "conditional \"GNOME\" was never defined.
8784
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8786
if test -z "${XFT_TRUE}" && test -z "${XFT_FALSE}"; then
8787
as_fn_error "conditional \"XFT\" was never defined.
8788
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8790
if test -z "${XPM_TRUE}" && test -z "${XPM_FALSE}"; then
8791
as_fn_error "conditional \"XPM\" was never defined.
8792
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8794
if test -z "${IMLIB2_TRUE}" && test -z "${IMLIB2_FALSE}"; then
8795
as_fn_error "conditional \"IMLIB2\" was never defined.
8796
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8798
if test -z "${MULTIBYTE_TRUE}" && test -z "${MULTIBYTE_FALSE}"; then
8799
as_fn_error "conditional \"MULTIBYTE\" was never defined.
8800
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8803
: ${CONFIG_STATUS=./config.status}
8805
ac_clean_files_save=$ac_clean_files
8806
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8807
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8808
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8810
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8812
# Generated by $as_me.
8813
# Run this file to recreate the current configuration.
8814
# Compiler output produced by configure, useful for debugging
8815
# configure, is in config.log if it exists.
8821
SHELL=\${CONFIG_SHELL-$SHELL}
8824
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8825
## -------------------- ##
8826
## M4sh Initialization. ##
8827
## -------------------- ##
8829
# Be more Bourne compatible
8830
DUALCASE=1; export DUALCASE # for MKS sh
8831
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8834
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8835
# is contrary to our usage. Disable this feature.
8836
alias -g '${1+"$@"}'='"$@"'
8837
setopt NO_GLOB_SUBST
8839
case `(set -o) 2>/dev/null` in @%:@(
8841
set -o posix ;; @%:@(
8851
# Printing a long string crashes Solaris 7 /usr/bin/printf.
8852
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8853
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8854
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8855
# Prefer a ksh shell builtin over an external printf program on Solaris,
8856
# but without wasting forks for bash or zsh.
8857
if test -z "$BASH_VERSION$ZSH_VERSION" \
8858
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8859
as_echo='print -r --'
8860
as_echo_n='print -rn --'
8861
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8862
as_echo='printf %s\n'
8863
as_echo_n='printf %s'
8865
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8866
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8867
as_echo_n='/usr/ucb/echo -n'
8869
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8870
as_echo_n_body='eval
8874
expr "X$arg" : "X\\(.*\\)$as_nl";
8875
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8877
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8879
export as_echo_n_body
8880
as_echo_n='sh -c $as_echo_n_body as_echo'
8883
as_echo='sh -c $as_echo_body as_echo'
8886
# The user is always right.
8887
if test "${PATH_SEPARATOR+set}" != set; then
8889
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8890
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8897
# We need space, tab and new line, in precisely that order. Quoting is
8898
# there to prevent editors from complaining about space-tab.
8899
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8900
# splitting by setting IFS to empty value.)
8903
# Find who we are. Look in the path if we contain no directory separator.
8905
*[\\/]* ) as_myself=$0 ;;
8906
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8910
test -z "$as_dir" && as_dir=.
8911
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8917
# We did not find ourselves, most probably we were run as `sh COMMAND'
8918
# in which case we are not to be found in the path.
8919
if test "x$as_myself" = x; then
8922
if test ! -f "$as_myself"; then
8923
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8927
# Unset variables that we do not need and which cause bugs (e.g. in
8928
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8929
# suppresses any "Segmentation fault" message there. '((' could
8930
# trigger a bug in pdksh 5.2.14.
8931
for as_var in BASH_ENV ENV MAIL MAILPATH
8932
do eval test x\${$as_var+set} = xset \
8933
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8946
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8949
@%:@ as_fn_error ERROR [LINENO LOG_FD]
8950
@%:@ ---------------------------------
8951
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8952
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8953
@%:@ script with status @S|@?, using 1 if that was 0.
8956
as_status=$?; test $as_status -eq 0 && as_status=1
8958
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8959
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8961
$as_echo "$as_me: error: $1" >&2
8962
as_fn_exit $as_status
8966
@%:@ as_fn_set_status STATUS
8967
@%:@ -----------------------
8968
@%:@ Set @S|@? to STATUS, without forking.
8972
} @%:@ as_fn_set_status
8974
@%:@ as_fn_exit STATUS
8975
@%:@ -----------------
8976
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8984
@%:@ as_fn_unset VAR
8985
@%:@ ---------------
8986
@%:@ Portably unset VAR.
8989
{ eval $1=; unset $1;}
8991
as_unset=as_fn_unset
8992
@%:@ as_fn_append VAR VALUE
8993
@%:@ ----------------------
8994
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
8995
@%:@ advantage of any shell optimizations that allow amortized linear growth over
8996
@%:@ repeated appends, instead of the typical quadratic growth present in naive
8997
@%:@ implementations.
8998
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8999
eval 'as_fn_append ()
9010
@%:@ as_fn_arith ARG...
9011
@%:@ ------------------
9012
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
9013
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
9014
@%:@ must be portable across @S|@(()) and expr.
9015
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9016
eval 'as_fn_arith ()
9023
as_val=`expr "$@" || test $? -eq 1`
9028
if expr a : '\(a\)' >/dev/null 2>&1 &&
9029
test "X`expr 00001 : '.*\(...\)'`" = X001; then
9035
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9036
as_basename=basename
9041
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9047
as_me=`$as_basename -- "$0" ||
9048
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9049
X"$0" : 'X\(//\)$' \| \
9050
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9052
sed '/^.*\/\([^/][^/]*\)\/*$/{
9066
# Avoid depending upon Character Ranges.
9067
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9068
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9069
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9070
as_cr_digits='0123456789'
9071
as_cr_alnum=$as_cr_Letters$as_cr_digits
9073
ECHO_C= ECHO_N= ECHO_T=
9074
case `echo -n x` in @%:@(((((
9076
case `echo 'xy\c'` in
9077
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
9079
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9086
rm -f conf$$ conf$$.exe conf$$.file
9087
if test -d conf$$.dir; then
9088
rm -f conf$$.dir/conf$$.file
9091
mkdir conf$$.dir 2>/dev/null
9093
if (echo >conf$$.file) 2>/dev/null; then
9094
if ln -s conf$$.file conf$$ 2>/dev/null; then
9096
# ... but there are two gotchas:
9097
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9098
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9099
# In both cases, we have to default to `cp -p'.
9100
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9102
elif ln conf$$.file conf$$ 2>/dev/null; then
9110
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9111
rmdir conf$$.dir 2>/dev/null
9116
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
9121
-*) as_dir=./$as_dir;;
9123
test -d "$as_dir" || eval $as_mkdir_p || {
9127
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9128
*) as_qdir=$as_dir;;
9130
as_dirs="'$as_qdir' $as_dirs"
9131
as_dir=`$as_dirname -- "$as_dir" ||
9132
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9133
X"$as_dir" : 'X\(//\)[^/]' \| \
9134
X"$as_dir" : 'X\(//\)$' \| \
9135
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9136
$as_echo X"$as_dir" |
9137
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9154
test -d "$as_dir" && break
9156
test -z "$as_dirs" || eval "mkdir $as_dirs"
9157
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
9160
} @%:@ as_fn_mkdir_p
9161
if mkdir -p . 2>/dev/null; then
9162
as_mkdir_p='mkdir -p "$as_dir"'
9164
test -d ./-p && rmdir ./-p
9168
if test -x / >/dev/null 2>&1; then
9171
if ls -dL / >/dev/null 2>&1; then
9178
if test -d "$1"; then
9184
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
9185
???[sx]*):;;*)false;;esac;fi
9189
as_executable_p=$as_test_x
9191
# Sed expression to map a string onto a valid CPP name.
9192
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9194
# Sed expression to map a string onto a valid variable name.
9195
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9199
## ----------------------------------- ##
9200
## Main body of $CONFIG_STATUS script. ##
9201
## ----------------------------------- ##
9203
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9205
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9206
# Save the log message, to keep $0 and so on meaningful, and to
9207
# report actual input values of CONFIG_FILES etc. instead of their
9208
# values after options handling.
9210
This file was extended by $as_me, which was
9211
generated by GNU Autoconf 2.65. Invocation command line was
9213
CONFIG_FILES = $CONFIG_FILES
9214
CONFIG_HEADERS = $CONFIG_HEADERS
9215
CONFIG_LINKS = $CONFIG_LINKS
9216
CONFIG_COMMANDS = $CONFIG_COMMANDS
9219
on `(hostname || uname -n) 2>/dev/null | sed 1q`
9224
case $ac_config_files in *"
9225
"*) set x $ac_config_files; shift; ac_config_files=$*;;
9228
case $ac_config_headers in *"
9229
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9233
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9234
# Files that config.status was made for.
9235
config_files="$ac_config_files"
9236
config_headers="$ac_config_headers"
9237
config_commands="$ac_config_commands"
9241
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9243
\`$as_me' instantiates files and other configuration actions
9244
from templates according to the current configuration. Unless the files
9245
and actions are specified as TAGs, all are instantiated by default.
9247
Usage: $0 [OPTION]... [TAG]...
9249
-h, --help print this help, then exit
9250
-V, --version print version number and configuration settings, then exit
9251
--config print configuration, then exit
9252
-q, --quiet, --silent
9253
do not print progress messages
9254
-d, --debug don't remove temporary files
9255
--recheck update $as_me by reconfiguring in the same conditions
9256
--file=FILE[:TEMPLATE]
9257
instantiate the configuration file FILE
9258
--header=FILE[:TEMPLATE]
9259
instantiate the configuration header FILE
9261
Configuration files:
9264
Configuration headers:
9267
Configuration commands:
9270
Report bugs to the package provider."
9273
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9274
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9277
configured by $0, generated by GNU Autoconf 2.65,
9278
with options \\"\$ac_cs_config\\"
9280
Copyright (C) 2009 Free Software Foundation, Inc.
9281
This config.status script is free software; the Free Software Foundation
9282
gives unlimited permission to copy, distribute and modify it."
9289
test -n "\$AWK" || AWK=awk
9292
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9293
# The default lists apply if the user does not specify any file.
9299
ac_option=`expr "X$1" : 'X\([^=]*\)='`
9300
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9311
# Handling of the options.
9312
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9314
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9315
$as_echo "$ac_cs_version"; exit ;;
9316
--config | --confi | --conf | --con | --co | --c )
9317
$as_echo "$ac_cs_config"; exit ;;
9318
--debug | --debu | --deb | --de | --d | -d )
9320
--file | --fil | --fi | --f )
9323
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9325
as_fn_append CONFIG_FILES " '$ac_optarg'"
9326
ac_need_defaults=false;;
9327
--header | --heade | --head | --hea )
9330
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9332
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9333
ac_need_defaults=false;;
9335
# Conflict between --help and --header
9336
as_fn_error "ambiguous option: \`$1'
9337
Try \`$0 --help' for more information.";;
9338
--help | --hel | -h )
9339
$as_echo "$ac_cs_usage"; exit ;;
9340
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
9341
| -silent | --silent | --silen | --sile | --sil | --si | --s)
9345
-*) as_fn_error "unrecognized option: \`$1'
9346
Try \`$0 --help' for more information." ;;
9348
*) as_fn_append ac_config_targets " $1"
9349
ac_need_defaults=false ;;
9355
ac_configure_extra_args=
9357
if $ac_cs_silent; then
9359
ac_configure_extra_args="$ac_configure_extra_args --silent"
9363
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9364
if \$ac_cs_recheck; then
9365
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9367
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9368
CONFIG_SHELL='$SHELL'
9374
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9378
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
9379
@%:@@%:@ Running $as_me. @%:@@%:@
9385
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9389
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9393
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9395
# Handling of arguments.
9396
for ac_config_target in $ac_config_targets
9398
case $ac_config_target in
9399
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9400
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9401
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9402
"version.h") CONFIG_FILES="$CONFIG_FILES version.h" ;;
9403
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9404
"src/FbTk/Makefile") CONFIG_FILES="$CONFIG_FILES src/FbTk/Makefile" ;;
9405
"util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
9406
"util/fbrun/Makefile") CONFIG_FILES="$CONFIG_FILES util/fbrun/Makefile" ;;
9407
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
9408
"data/styles/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/Makefile" ;;
9409
"data/styles/BlueFlux/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/BlueFlux/Makefile" ;;
9410
"data/styles/BlueFlux/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/BlueFlux/pixmaps/Makefile" ;;
9411
"data/styles/Emerge/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/Emerge/Makefile" ;;
9412
"data/styles/Emerge/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/Emerge/pixmaps/Makefile" ;;
9413
"data/styles/arch/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/arch/Makefile" ;;
9414
"data/styles/arch/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/arch/pixmaps/Makefile" ;;
9415
"data/styles/zimek_bisque/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/zimek_bisque/Makefile" ;;
9416
"data/styles/zimek_darkblue/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/zimek_darkblue/Makefile" ;;
9417
"data/styles/zimek_green/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/zimek_green/Makefile" ;;
9418
"data/styles/ostrich/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/ostrich/Makefile" ;;
9419
"data/styles/green_tea/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/green_tea/Makefile" ;;
9420
"data/styles/bora_black/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/bora_black/Makefile" ;;
9421
"data/styles/bora_blue/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/bora_blue/Makefile" ;;
9422
"data/styles/bora_green/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/bora_green/Makefile" ;;
9423
"data/styles/carp/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/carp/Makefile" ;;
9424
"data/styles/bloe/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/bloe/Makefile" ;;
9425
"data/styles/bloe/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/bloe/pixmaps/Makefile" ;;
9426
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9427
"doc/ru/Makefile") CONFIG_FILES="$CONFIG_FILES doc/ru/Makefile" ;;
9428
"nls/Makefile") CONFIG_FILES="$CONFIG_FILES nls/Makefile" ;;
9429
"nls/C/Makefile") CONFIG_FILES="$CONFIG_FILES nls/C/Makefile" ;;
9430
"nls/be_BY/Makefile") CONFIG_FILES="$CONFIG_FILES nls/be_BY/Makefile" ;;
9431
"nls/bg_BG/Makefile") CONFIG_FILES="$CONFIG_FILES nls/bg_BG/Makefile" ;;
9432
"nls/cs_CZ/Makefile") CONFIG_FILES="$CONFIG_FILES nls/cs_CZ/Makefile" ;;
9433
"nls/da_DK/Makefile") CONFIG_FILES="$CONFIG_FILES nls/da_DK/Makefile" ;;
9434
"nls/de_AT/Makefile") CONFIG_FILES="$CONFIG_FILES nls/de_AT/Makefile" ;;
9435
"nls/de_CH/Makefile") CONFIG_FILES="$CONFIG_FILES nls/de_CH/Makefile" ;;
9436
"nls/de_DE/Makefile") CONFIG_FILES="$CONFIG_FILES nls/de_DE/Makefile" ;;
9437
"nls/el_GR/Makefile") CONFIG_FILES="$CONFIG_FILES nls/el_GR/Makefile" ;;
9438
"nls/en_GB/Makefile") CONFIG_FILES="$CONFIG_FILES nls/en_GB/Makefile" ;;
9439
"nls/en_US/Makefile") CONFIG_FILES="$CONFIG_FILES nls/en_US/Makefile" ;;
9440
"nls/es_AR/Makefile") CONFIG_FILES="$CONFIG_FILES nls/es_AR/Makefile" ;;
9441
"nls/es_ES/Makefile") CONFIG_FILES="$CONFIG_FILES nls/es_ES/Makefile" ;;
9442
"nls/et_EE/Makefile") CONFIG_FILES="$CONFIG_FILES nls/et_EE/Makefile" ;;
9443
"nls/fi_FI/Makefile") CONFIG_FILES="$CONFIG_FILES nls/fi_FI/Makefile" ;;
9444
"nls/fr_CH/Makefile") CONFIG_FILES="$CONFIG_FILES nls/fr_CH/Makefile" ;;
9445
"nls/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES nls/fr_FR/Makefile" ;;
9446
"nls/it_IT/Makefile") CONFIG_FILES="$CONFIG_FILES nls/it_IT/Makefile" ;;
9447
"nls/ja_JP/Makefile") CONFIG_FILES="$CONFIG_FILES nls/ja_JP/Makefile" ;;
9448
"nls/ko_KR/Makefile") CONFIG_FILES="$CONFIG_FILES nls/ko_KR/Makefile" ;;
9449
"nls/lv_LV/Makefile") CONFIG_FILES="$CONFIG_FILES nls/lv_LV/Makefile" ;;
9450
"nls/mk_MK/Makefile") CONFIG_FILES="$CONFIG_FILES nls/mk_MK/Makefile" ;;
9451
"nls/nb_NO/Makefile") CONFIG_FILES="$CONFIG_FILES nls/nb_NO/Makefile" ;;
9452
"nls/nl_NL/Makefile") CONFIG_FILES="$CONFIG_FILES nls/nl_NL/Makefile" ;;
9453
"nls/no_NO/Makefile") CONFIG_FILES="$CONFIG_FILES nls/no_NO/Makefile" ;;
9454
"nls/pl_PL/Makefile") CONFIG_FILES="$CONFIG_FILES nls/pl_PL/Makefile" ;;
9455
"nls/pt_BR/Makefile") CONFIG_FILES="$CONFIG_FILES nls/pt_BR/Makefile" ;;
9456
"nls/pt_PT/Makefile") CONFIG_FILES="$CONFIG_FILES nls/pt_PT/Makefile" ;;
9457
"nls/ru_RU/Makefile") CONFIG_FILES="$CONFIG_FILES nls/ru_RU/Makefile" ;;
9458
"nls/sk_SK/Makefile") CONFIG_FILES="$CONFIG_FILES nls/sk_SK/Makefile" ;;
9459
"nls/sl_SI/Makefile") CONFIG_FILES="$CONFIG_FILES nls/sl_SI/Makefile" ;;
9460
"nls/sv_SE/Makefile") CONFIG_FILES="$CONFIG_FILES nls/sv_SE/Makefile" ;;
9461
"nls/tr_TR/Makefile") CONFIG_FILES="$CONFIG_FILES nls/tr_TR/Makefile" ;;
9462
"nls/uk_UA/Makefile") CONFIG_FILES="$CONFIG_FILES nls/uk_UA/Makefile" ;;
9463
"nls/vi_VN/Makefile") CONFIG_FILES="$CONFIG_FILES nls/vi_VN/Makefile" ;;
9464
"nls/zh_CN/Makefile") CONFIG_FILES="$CONFIG_FILES nls/zh_CN/Makefile" ;;
9465
"nls/zh_TW/Makefile") CONFIG_FILES="$CONFIG_FILES nls/zh_TW/Makefile" ;;
9467
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9472
# If the user did not use the arguments to specify the items to instantiate,
9473
# then the envvar interface is used. Set only those that are not.
9474
# We use the long form for the default assignment because of an extremely
9475
# bizarre bug on SunOS 4.1.3.
9476
if $ac_need_defaults; then
9477
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9478
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9479
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9482
# Have a temporary directory for convenience. Make it in the build tree
9483
# simply because there is no reason against having it here, and in addition,
9484
# creating and moving files from /tmp can sometimes cause problems.
9485
# Hook for its removal unless debugging.
9486
# Note that there is a small window in which the directory will not be cleaned:
9487
# after its creation but before its name has been assigned to `$tmp'.
9491
trap 'exit_status=$?
9492
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9494
trap 'as_fn_exit 1' 1 2 13 15
9496
# Create a (secure) tmp directory for tmp files.
9499
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9500
test -n "$tmp" && test -d "$tmp"
9503
tmp=./conf$$-$RANDOM
9504
(umask 077 && mkdir "$tmp")
9505
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
9507
# Set up the scripts for CONFIG_FILES section.
9508
# No need to generate them if there are no CONFIG_FILES.
9509
# This happens for instance with `./config.status config.h'.
9510
if test -n "$CONFIG_FILES"; then
9513
ac_cr=`echo X | tr X '\015'`
9514
# On cygwin, bash can eat \r inside `` if the user requested igncr.
9515
# But we know of no other shell where ac_cr would be empty at this
9516
# point, so we can use a bashism as a fallback.
9517
if test "x$ac_cr" = x; then
9518
eval ac_cr=\$\'\\r\'
9520
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9521
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9527
echo 'BEGIN {' >"$tmp/subs1.awk" &&
9532
echo "cat >conf$$subs.awk <<_ACEOF" &&
9533
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9536
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9537
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9539
for ac_last_try in false false false false false :; do
9540
. ./conf$$subs.sh ||
9541
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9543
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9544
if test $ac_delim_n = $ac_delim_num; then
9546
elif $ac_last_try; then
9547
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9549
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9554
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9555
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9559
s/^/S["/; s/!.*/"]=/
9569
s/\(.\{148\}\)..*/\1/
9571
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9576
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9583
s/\(.\{148\}\)..*/\1/
9585
s/["\\]/\\&/g; s/^/"/; s/$/"/
9589
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9594
' <conf$$subs.awk | sed '
9599
' >>$CONFIG_STATUS || ac_write_fail=1
9600
rm -f conf$$subs.awk
9601
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9603
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9604
for (key in S) S_is_set[key] = 1
9610
nfields = split(line, field, "@")
9612
len = length(field[1])
9613
for (i = 2; i < nfields; i++) {
9615
keylen = length(key)
9616
if (S_is_set[key]) {
9618
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9619
len += length(value) + length(field[++i])
9630
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9631
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9632
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9635
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9636
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
9639
# VPATH may cause trouble with some makes, so we remove $(srcdir),
9640
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9641
# trailing colons and then remove the whole line if VPATH becomes empty
9642
# (actually we leave an empty line to preserve line numbers).
9643
if test "x$srcdir" = x.; then
9644
ac_vpsub='/^[ ]*VPATH[ ]*=/{
9648
s/^\([^=]*=[ ]*\):*/\1/
9654
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9655
fi # test -n "$CONFIG_FILES"
9657
# Set up the scripts for CONFIG_HEADERS section.
9658
# No need to generate them if there are no CONFIG_HEADERS.
9659
# This happens for instance with `./config.status Makefile'.
9660
if test -n "$CONFIG_HEADERS"; then
9661
cat >"$tmp/defines.awk" <<\_ACAWK ||
9665
# Transform confdefs.h into an awk script `defines.awk', embedded as
9666
# here-document in config.status, that substitutes the proper values into
9667
# config.h.in to produce config.h.
9669
# Create a delimiter string that does not exist in confdefs.h, to ease
9670
# handling of long lines.
9672
for ac_last_try in false false :; do
9673
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9674
if test -z "$ac_t"; then
9676
elif $ac_last_try; then
9677
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
9679
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9683
# For the awk script, D is an array of macro values keyed by name,
9684
# likewise P contains macro parameters if any. Preserve backslash
9685
# newline sequences.
9687
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9689
s/.\{148\}/&'"$ac_delim"'/g
9692
s/^[ ]*#[ ]*define[ ][ ]*/ /
9699
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9701
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9705
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9706
D["\1"]=" \3\\\\\\n"\\/p
9708
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9713
s/.\{148\}/&'"$ac_delim"'/g
9718
s/["\\]/\\&/g; s/^/"/; s/$/"/p
9721
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9723
' <confdefs.h | sed '
9724
s/'"$ac_delim"'/"\\\
9725
"/g' >>$CONFIG_STATUS || ac_write_fail=1
9727
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9728
for (key in D) D_is_set[key] = 1
9731
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9733
split(line, arg, " ")
9734
if (arg[1] == "#") {
9738
defundef = substr(arg[1], 2)
9741
split(mac1, mac2, "(") #)
9743
prefix = substr(line, 1, index(line, defundef) - 1)
9744
if (D_is_set[macro]) {
9745
# Preserve the white space surrounding the "#".
9746
print prefix "define", macro P[macro] D[macro]
9749
# Replace #undef with comments. This is necessary, for example,
9750
# in the case of _POSIX_SOURCE, which is predefined and required
9751
# on some systems where configure will not decide to define it.
9752
if (defundef == "undef") {
9753
print "/*", prefix defundef, macro, "*/"
9761
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9762
as_fn_error "could not setup config headers machinery" "$LINENO" 5
9763
fi # test -n "$CONFIG_HEADERS"
9766
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9771
:[FHLC]) ac_mode=$ac_tag; continue;;
9773
case $ac_mode$ac_tag in
9775
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
9776
:[FH]-) ac_tag=-:-;;
9777
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9794
-) ac_f="$tmp/stdin";;
9795
*) # Look for the file first in the build tree, then in the source tree
9796
# (if the path is not absolute). The absolute path cannot be DOS-style,
9797
# because $ac_f cannot contain `:'.
9801
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9803
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9805
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9806
as_fn_append ac_file_inputs " '$ac_f'"
9809
# Let's still pretend it is `configure' which instantiates (i.e., don't
9810
# use $as_me), people would be surprised to read:
9811
# /* config.h. Generated by config.status. */
9812
configure_input='Generated from '`
9813
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9815
if test x"$ac_file" != x-; then
9816
configure_input="$ac_file. $configure_input"
9817
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9818
$as_echo "$as_me: creating $ac_file" >&6;}
9820
# Neutralize special characters interpreted by sed in replacement strings.
9821
case $configure_input in #(
9822
*\&* | *\|* | *\\* )
9823
ac_sed_conf_input=`$as_echo "$configure_input" |
9824
sed 's/[\\\\&|]/\\\\&/g'`;; #(
9825
*) ac_sed_conf_input=$configure_input;;
9829
*:-:* | *:-) cat >"$tmp/stdin" \
9830
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
9835
ac_dir=`$as_dirname -- "$ac_file" ||
9836
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9837
X"$ac_file" : 'X\(//\)[^/]' \| \
9838
X"$ac_file" : 'X\(//\)$' \| \
9839
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9840
$as_echo X"$ac_file" |
9841
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9858
as_dir="$ac_dir"; as_fn_mkdir_p
9862
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9864
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9865
# A ".." for each directory in $ac_dir_suffix.
9866
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9867
case $ac_top_builddir_sub in
9868
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9869
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9872
ac_abs_top_builddir=$ac_pwd
9873
ac_abs_builddir=$ac_pwd$ac_dir_suffix
9874
# for backward compatibility:
9875
ac_top_builddir=$ac_top_build_prefix
9878
.) # We are building in place.
9880
ac_top_srcdir=$ac_top_builddir_sub
9881
ac_abs_top_srcdir=$ac_pwd ;;
9882
[\\/]* | ?:[\\/]* ) # Absolute name.
9883
ac_srcdir=$srcdir$ac_dir_suffix;
9884
ac_top_srcdir=$srcdir
9885
ac_abs_top_srcdir=$srcdir ;;
9887
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9888
ac_top_srcdir=$ac_top_build_prefix$srcdir
9889
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9891
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9901
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9902
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9906
[\\/$]* | ?:[\\/]* ) ;;
9907
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9911
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9912
# If the template does not know about datarootdir, expand it.
9913
# FIXME: This hack should be removed a few years after 2.60.
9914
ac_datarootdir_hack=; ac_datarootdir_seen=
9925
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9926
*datarootdir*) ac_datarootdir_seen=yes;;
9927
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9928
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9929
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9931
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9932
ac_datarootdir_hack='
9933
s&@datadir@&$datadir&g
9934
s&@docdir@&$docdir&g
9935
s&@infodir@&$infodir&g
9936
s&@localedir@&$localedir&g
9937
s&@mandir@&$mandir&g
9938
s&\\\${datarootdir}&$datarootdir&g' ;;
9942
# Neutralize VPATH when `$srcdir' = `.'.
9943
# Shell code in configure.ac might set extrasub.
9944
# FIXME: do we really want to maintain this feature?
9945
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9946
ac_sed_extra="$ac_vpsub
9949
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9951
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9952
s|@configure_input@|$ac_sed_conf_input|;t t
9953
s&@top_builddir@&$ac_top_builddir_sub&;t t
9954
s&@top_build_prefix@&$ac_top_build_prefix&;t t
9955
s&@srcdir@&$ac_srcdir&;t t
9956
s&@abs_srcdir@&$ac_abs_srcdir&;t t
9957
s&@top_srcdir@&$ac_top_srcdir&;t t
9958
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9959
s&@builddir@&$ac_builddir&;t t
9960
s&@abs_builddir@&$ac_abs_builddir&;t t
9961
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9962
s&@INSTALL@&$ac_INSTALL&;t t
9963
s&@MKDIR_P@&$ac_MKDIR_P&;t t
9964
$ac_datarootdir_hack
9966
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9967
|| as_fn_error "could not create $ac_file" "$LINENO" 5
9969
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9970
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9971
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9972
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9973
which seems to be undefined. Please make sure it is defined." >&5
9974
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9975
which seems to be undefined. Please make sure it is defined." >&2;}
9979
-) cat "$tmp/out" && rm -f "$tmp/out";;
9980
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9982
|| as_fn_error "could not create $ac_file" "$LINENO" 5
9988
if test x"$ac_file" != x-; then
9990
$as_echo "/* $configure_input */" \
9991
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9992
} >"$tmp/config.h" \
9993
|| as_fn_error "could not create $ac_file" "$LINENO" 5
9994
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9995
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9996
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9999
mv "$tmp/config.h" "$ac_file" \
10000
|| as_fn_error "could not create $ac_file" "$LINENO" 5
10003
$as_echo "/* $configure_input */" \
10004
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10005
|| as_fn_error "could not create -" "$LINENO" 5
10007
# Compute "$ac_file"'s index in $config_headers.
10010
for _am_header in $config_headers :; do
10011
case $_am_header in
10012
$_am_arg | $_am_arg:* )
10015
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
10018
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10019
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10020
X"$_am_arg" : 'X\(//\)[^/]' \| \
10021
X"$_am_arg" : 'X\(//\)$' \| \
10022
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10023
$as_echo X"$_am_arg" |
10024
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10028
/^X\(\/\/\)[^/].*/{
10040
s/.*/./; q'`/stamp-h$_am_stamp_count
10043
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10044
$as_echo "$as_me: executing $ac_file commands" >&6;}
10049
case $ac_file$ac_mode in
10050
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10051
# Autoconf 2.62 quotes --file arguments for eval, but not when files
10052
# are listed without --file. Let's play safe and only enable the eval
10053
# if we detect the quoting.
10054
case $CONFIG_FILES in
10055
*\'*) eval set x "$CONFIG_FILES" ;;
10056
*) set x $CONFIG_FILES ;;
10061
# Strip MF so we end up with the name of the file.
10062
mf=`echo "$mf" | sed -e 's/:.*$//'`
10063
# Check whether this is an Automake generated Makefile or not.
10064
# We used to match only the files named `Makefile.in', but
10065
# some people rename them; so instead we look at the file content.
10066
# Grep'ing the first line is not enough: some people post-process
10067
# each Makefile.in and add a new line on top of each file to say so.
10068
# Grep'ing the whole file is not good either: AIX grep has a line
10069
# limit of 2048, but all sed's we know have understand at least 4000.
10070
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10071
dirpart=`$as_dirname -- "$mf" ||
10072
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10073
X"$mf" : 'X\(//\)[^/]' \| \
10074
X"$mf" : 'X\(//\)$' \| \
10075
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10077
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10081
/^X\(\/\/\)[^/].*/{
10097
# Extract the definition of DEPDIR, am__include, and am__quote
10098
# from the Makefile without running `make'.
10099
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10100
test -z "$DEPDIR" && continue
10101
am__include=`sed -n 's/^am__include = //p' < "$mf"`
10102
test -z "am__include" && continue
10103
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10104
# When using ansi2knr, U may be empty or an underscore; expand it
10105
U=`sed -n 's/^U = //p' < "$mf"`
10106
# Find all dependency output files, they are included files with
10107
# $(DEPDIR) in their names. We invoke sed twice because it is the
10108
# simplest approach to changing $(DEPDIR) to its actual value in the
10110
for file in `sed -n "
10111
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10112
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10113
# Make sure the directory exists.
10114
test -f "$dirpart/$file" && continue
10115
fdir=`$as_dirname -- "$file" ||
10116
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10117
X"$file" : 'X\(//\)[^/]' \| \
10118
X"$file" : 'X\(//\)$' \| \
10119
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10120
$as_echo X"$file" |
10121
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10125
/^X\(\/\/\)[^/].*/{
10138
as_dir=$dirpart/$fdir; as_fn_mkdir_p
10139
# echo "creating $dirpart/$file"
10140
echo '# dummy' > "$dirpart/$file"
10152
ac_clean_files=$ac_clean_files_save
10154
test $ac_write_fail = 0 ||
10155
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
10158
# configure is writing to config.log, and then calls config.status.
10159
# config.status does its own redirection, appending to config.log.
10160
# Unfortunately, on DOS this fails, as config.log is still kept open
10161
# by configure, so config.status won't be able to write to it; its
10162
# output is simply discarded. So we exec the FD to /dev/null,
10163
# effectively closing config.log, so it can be properly (re)opened and
10164
# appended to by config.status. When coming back to configure, we
10165
# need to make the FD available again.
10166
if test "$no_create" != yes; then
10168
ac_config_status_args=
10169
test "$silent" = yes &&
10170
ac_config_status_args="$ac_config_status_args --quiet"
10172
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10174
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
10175
# would make configure fail if this is the last instruction.
10176
$ac_cs_success || as_fn_exit $?
10178
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10179
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10180
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
10186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE version $VERSION configured successfully." >&5
10187
$as_echo " $PACKAGE version $VERSION configured successfully." >&6; }
10188
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
10190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using '$prefix' for installation." >&5
10191
$as_echo "Using '$prefix' for installation." >&6; }
10192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using '$DEFAULT_MENU' for location menu file." >&5
10193
$as_echo "Using '$DEFAULT_MENU' for location menu file." >&6; }
10194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using '$DEFAULT_STYLE' by default style." >&5
10195
$as_echo "Using '$DEFAULT_STYLE' by default style." >&6; }
10196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using '$DEFAULT_KEYS' for location keys file." >&5
10197
$as_echo "Using '$DEFAULT_KEYS' for location keys file." >&6; }
10198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using '$DEFAULT_INIT' for location init file." >&5
10199
$as_echo "Using '$DEFAULT_INIT' for location init file." >&6; }
10200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using '$LOCALE_PATH' for nls files." >&5
10201
$as_echo "Using '$LOCALE_PATH' for nls files." >&6; }
10202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using '$CXX' for C++ compiler." >&5
10203
$as_echo "Using '$CXX' for C++ compiler." >&6; }
10204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building with '$CXXFLAGS' for C++ compiler flags." >&5
10205
$as_echo "Building with '$CXXFLAGS' for C++ compiler flags." >&6; }
10206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building with '$LIBS' for linker flags." >&5
10207
$as_echo "Building with '$LIBS' for linker flags." >&6; }
10208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
10210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Now build $PACKAGE with 'make'" >&5
10211
$as_echo "Now build $PACKAGE with 'make'" >&6; }
10212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5