2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.67.
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 #(
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=.
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 $? to STATUS, without forking.
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
# Create "$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
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
# must be portable across $(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354
as_val=`expr "$@" || test $? -eq 1`
359
# as_fn_error STATUS ERROR [LINENO LOG_FD]
360
# ----------------------------------------
361
# Output "`basename $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, using 1 if that was 0.
366
as_status=$1; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371
$as_echo "$as_me: error: $2" >&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, old GNU/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="zexy.h"
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>
595
ac_subst_vars='LTLIBOBJS
650
program_transform_name
663
enable_option_checking
673
ac_precious_vars='build_alias
684
# Initialize some variables set by options.
686
ac_init_version=false
687
ac_unrecognized_opts=
689
# The variables have the same names as the options, with
690
# dashes changed to underlines.
698
program_transform_name=s,x,x,
706
# Installation directory options.
707
# These are left unexpanded so users can "make install exec_prefix=/foo"
708
# and all the variables that are supposed to be based on exec_prefix
709
# by default will actually change.
710
# Use braces instead of parens because sh, perl, etc. also accept them.
711
# (The list follows the same order as the GNU Coding Standards.)
712
bindir='${exec_prefix}/bin'
713
sbindir='${exec_prefix}/sbin'
714
libexecdir='${exec_prefix}/libexec'
715
datarootdir='${prefix}/share'
716
datadir='${datarootdir}'
717
sysconfdir='${prefix}/etc'
718
sharedstatedir='${prefix}/com'
719
localstatedir='${prefix}/var'
720
includedir='${prefix}/include'
721
oldincludedir='/usr/include'
722
docdir='${datarootdir}/doc/${PACKAGE}'
723
infodir='${datarootdir}/info'
728
libdir='${exec_prefix}/lib'
729
localedir='${datarootdir}/locale'
730
mandir='${datarootdir}/man'
736
# If the previous option needs an argument, assign it.
737
if test -n "$ac_prev"; then
738
eval $ac_prev=\$ac_option
744
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
749
# Accept the important Cygnus configure options, so we can diagnose typos.
751
case $ac_dashdash$ac_option in
755
-bindir | --bindir | --bindi | --bind | --bin | --bi)
757
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
760
-build | --build | --buil | --bui | --bu)
761
ac_prev=build_alias ;;
762
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
763
build_alias=$ac_optarg ;;
765
-cache-file | --cache-file | --cache-fil | --cache-fi \
766
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
767
ac_prev=cache_file ;;
768
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
769
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
770
cache_file=$ac_optarg ;;
773
cache_file=config.cache ;;
775
-datadir | --datadir | --datadi | --datad)
777
-datadir=* | --datadir=* | --datadi=* | --datad=*)
778
datadir=$ac_optarg ;;
780
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
781
| --dataroo | --dataro | --datar)
782
ac_prev=datarootdir ;;
783
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
784
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
785
datarootdir=$ac_optarg ;;
787
-disable-* | --disable-*)
788
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
789
# Reject names that are not valid shell variable names.
790
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
791
as_fn_error $? "invalid feature name: $ac_useropt"
792
ac_useropt_orig=$ac_useropt
793
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
794
case $ac_user_opts in
798
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
799
ac_unrecognized_sep=', ';;
801
eval enable_$ac_useropt=no ;;
803
-docdir | --docdir | --docdi | --doc | --do)
805
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
808
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
810
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
813
-enable-* | --enable-*)
814
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
815
# Reject names that are not valid shell variable names.
816
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
817
as_fn_error $? "invalid feature name: $ac_useropt"
818
ac_useropt_orig=$ac_useropt
819
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
820
case $ac_user_opts in
824
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
825
ac_unrecognized_sep=', ';;
827
eval enable_$ac_useropt=\$ac_optarg ;;
829
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
830
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
831
| --exec | --exe | --ex)
832
ac_prev=exec_prefix ;;
833
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
834
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
835
| --exec=* | --exe=* | --ex=*)
836
exec_prefix=$ac_optarg ;;
838
-gas | --gas | --ga | --g)
839
# Obsolete; use --with-gas.
842
-help | --help | --hel | --he | -h)
844
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
845
ac_init_help=recursive ;;
846
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
847
ac_init_help=short ;;
849
-host | --host | --hos | --ho)
850
ac_prev=host_alias ;;
851
-host=* | --host=* | --hos=* | --ho=*)
852
host_alias=$ac_optarg ;;
854
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
856
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
858
htmldir=$ac_optarg ;;
860
-includedir | --includedir | --includedi | --included | --include \
861
| --includ | --inclu | --incl | --inc)
862
ac_prev=includedir ;;
863
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
864
| --includ=* | --inclu=* | --incl=* | --inc=*)
865
includedir=$ac_optarg ;;
867
-infodir | --infodir | --infodi | --infod | --info | --inf)
869
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
870
infodir=$ac_optarg ;;
872
-libdir | --libdir | --libdi | --libd)
874
-libdir=* | --libdir=* | --libdi=* | --libd=*)
877
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
878
| --libexe | --libex | --libe)
879
ac_prev=libexecdir ;;
880
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
881
| --libexe=* | --libex=* | --libe=*)
882
libexecdir=$ac_optarg ;;
884
-localedir | --localedir | --localedi | --localed | --locale)
886
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
887
localedir=$ac_optarg ;;
889
-localstatedir | --localstatedir | --localstatedi | --localstated \
890
| --localstate | --localstat | --localsta | --localst | --locals)
891
ac_prev=localstatedir ;;
892
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
893
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
894
localstatedir=$ac_optarg ;;
896
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
898
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
902
# Obsolete; use --without-fp.
905
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
906
| --no-cr | --no-c | -n)
909
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
910
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
913
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
914
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
915
| --oldin | --oldi | --old | --ol | --o)
916
ac_prev=oldincludedir ;;
917
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
918
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
919
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
920
oldincludedir=$ac_optarg ;;
922
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
924
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
927
-program-prefix | --program-prefix | --program-prefi | --program-pref \
928
| --program-pre | --program-pr | --program-p)
929
ac_prev=program_prefix ;;
930
-program-prefix=* | --program-prefix=* | --program-prefi=* \
931
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
932
program_prefix=$ac_optarg ;;
934
-program-suffix | --program-suffix | --program-suffi | --program-suff \
935
| --program-suf | --program-su | --program-s)
936
ac_prev=program_suffix ;;
937
-program-suffix=* | --program-suffix=* | --program-suffi=* \
938
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
939
program_suffix=$ac_optarg ;;
941
-program-transform-name | --program-transform-name \
942
| --program-transform-nam | --program-transform-na \
943
| --program-transform-n | --program-transform- \
944
| --program-transform | --program-transfor \
945
| --program-transfo | --program-transf \
946
| --program-trans | --program-tran \
947
| --progr-tra | --program-tr | --program-t)
948
ac_prev=program_transform_name ;;
949
-program-transform-name=* | --program-transform-name=* \
950
| --program-transform-nam=* | --program-transform-na=* \
951
| --program-transform-n=* | --program-transform-=* \
952
| --program-transform=* | --program-transfor=* \
953
| --program-transfo=* | --program-transf=* \
954
| --program-trans=* | --program-tran=* \
955
| --progr-tra=* | --program-tr=* | --program-t=*)
956
program_transform_name=$ac_optarg ;;
958
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
960
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
963
-psdir | --psdir | --psdi | --psd | --ps)
965
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
968
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
969
| -silent | --silent | --silen | --sile | --sil)
972
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
974
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
976
sbindir=$ac_optarg ;;
978
-sharedstatedir | --sharedstatedir | --sharedstatedi \
979
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
980
| --sharedst | --shareds | --shared | --share | --shar \
982
ac_prev=sharedstatedir ;;
983
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
984
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
985
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
987
sharedstatedir=$ac_optarg ;;
989
-site | --site | --sit)
991
-site=* | --site=* | --sit=*)
994
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
996
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
999
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1000
| --syscon | --sysco | --sysc | --sys | --sy)
1001
ac_prev=sysconfdir ;;
1002
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1003
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1004
sysconfdir=$ac_optarg ;;
1006
-target | --target | --targe | --targ | --tar | --ta | --t)
1007
ac_prev=target_alias ;;
1008
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1009
target_alias=$ac_optarg ;;
1011
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1014
-version | --version | --versio | --versi | --vers | -V)
1015
ac_init_version=: ;;
1018
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1019
# Reject names that are not valid shell variable names.
1020
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021
as_fn_error $? "invalid package name: $ac_useropt"
1022
ac_useropt_orig=$ac_useropt
1023
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024
case $ac_user_opts in
1028
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1029
ac_unrecognized_sep=', ';;
1031
eval with_$ac_useropt=\$ac_optarg ;;
1033
-without-* | --without-*)
1034
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1035
# Reject names that are not valid shell variable names.
1036
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037
as_fn_error $? "invalid package name: $ac_useropt"
1038
ac_useropt_orig=$ac_useropt
1039
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040
case $ac_user_opts in
1044
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1045
ac_unrecognized_sep=', ';;
1047
eval with_$ac_useropt=no ;;
1050
# Obsolete; use --with-x.
1053
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1054
| --x-incl | --x-inc | --x-in | --x-i)
1055
ac_prev=x_includes ;;
1056
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1057
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1058
x_includes=$ac_optarg ;;
1060
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1061
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1062
ac_prev=x_libraries ;;
1063
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1064
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1065
x_libraries=$ac_optarg ;;
1067
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1068
Try \`$0 --help' for more information"
1072
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1073
# Reject names that are not valid shell variable names.
1074
case $ac_envvar in #(
1075
'' | [0-9]* | *[!_$as_cr_alnum]* )
1076
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1078
eval $ac_envvar=\$ac_optarg
1079
export $ac_envvar ;;
1082
# FIXME: should be removed in autoconf 3.0.
1083
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1084
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1085
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1086
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1092
if test -n "$ac_prev"; then
1093
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1094
as_fn_error $? "missing argument to $ac_option"
1097
if test -n "$ac_unrecognized_opts"; then
1098
case $enable_option_checking in
1100
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1101
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1105
# Check all directory arguments for consistency.
1106
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1107
datadir sysconfdir sharedstatedir localstatedir includedir \
1108
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1109
libdir localedir mandir
1111
eval ac_val=\$$ac_var
1112
# Remove trailing slashes.
1115
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1116
eval $ac_var=\$ac_val;;
1118
# Be sure to have absolute directory names.
1120
[\\/$]* | ?:[\\/]* ) continue;;
1121
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1123
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1126
# There might be people who depend on the old broken behavior: `$host'
1127
# used to hold the argument of --host etc.
1128
# FIXME: To remove some day.
1131
target=$target_alias
1133
# FIXME: To remove some day.
1134
if test "x$host_alias" != x; then
1135
if test "x$build_alias" = x; then
1136
cross_compiling=maybe
1137
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1138
If a cross compiler is detected then cross compile mode will be used" >&2
1139
elif test "x$build_alias" != "x$host_alias"; then
1145
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1147
test "$silent" = yes && exec 6>/dev/null
1150
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1151
ac_ls_di=`ls -di .` &&
1152
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1153
as_fn_error $? "working directory cannot be determined"
1154
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1155
as_fn_error $? "pwd does not report name of working directory"
1158
# Find the source files, if location was not specified.
1159
if test -z "$srcdir"; then
1160
ac_srcdir_defaulted=yes
1161
# Try the directory containing this script, then the parent directory.
1162
ac_confdir=`$as_dirname -- "$as_myself" ||
1163
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1164
X"$as_myself" : 'X\(//\)[^/]' \| \
1165
X"$as_myself" : 'X\(//\)$' \| \
1166
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1167
$as_echo X"$as_myself" |
1168
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186
if test ! -r "$srcdir/$ac_unique_file"; then
1190
ac_srcdir_defaulted=no
1192
if test ! -r "$srcdir/$ac_unique_file"; then
1193
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1194
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1196
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1198
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1200
# When building in place, set srcdir=.
1201
if test "$ac_abs_confdir" = "$ac_pwd"; then
1204
# Remove unnecessary trailing slashes from srcdir.
1205
# Double slashes in file names in object file debugging info
1206
# mess up M-x gdb in Emacs.
1208
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1210
for ac_var in $ac_precious_vars; do
1211
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1212
eval ac_env_${ac_var}_value=\$${ac_var}
1213
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1214
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1218
# Report the --help message.
1220
if test "$ac_init_help" = "long"; then
1221
# Omit some internal or obsolete options to make the list less imposing.
1222
# This message is too long to be a string in the A/UX 3.1 sh.
1224
\`configure' configures this package to adapt to many kinds of systems.
1226
Usage: $0 [OPTION]... [VAR=VALUE]...
1228
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1229
VAR=VALUE. See below for descriptions of some of the useful variables.
1231
Defaults for the options are specified in brackets.
1234
-h, --help display this help and exit
1235
--help=short display options specific to this package
1236
--help=recursive display the short help of all the included packages
1237
-V, --version display version information and exit
1238
-q, --quiet, --silent do not print \`checking ...' messages
1239
--cache-file=FILE cache test results in FILE [disabled]
1240
-C, --config-cache alias for \`--cache-file=config.cache'
1241
-n, --no-create do not create output files
1242
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1244
Installation directories:
1245
--prefix=PREFIX install architecture-independent files in PREFIX
1246
[$ac_default_prefix]
1247
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1250
By default, \`make install' will install all the files in
1251
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1252
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1253
for instance \`--prefix=\$HOME'.
1255
For better control, use the options below.
1257
Fine tuning of the installation directories:
1258
--bindir=DIR user executables [EPREFIX/bin]
1259
--sbindir=DIR system admin executables [EPREFIX/sbin]
1260
--libexecdir=DIR program executables [EPREFIX/libexec]
1261
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1262
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1263
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1264
--libdir=DIR object code libraries [EPREFIX/lib]
1265
--includedir=DIR C header files [PREFIX/include]
1266
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1267
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1268
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1269
--infodir=DIR info documentation [DATAROOTDIR/info]
1270
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1271
--mandir=DIR man documentation [DATAROOTDIR/man]
1272
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1273
--htmldir=DIR html documentation [DOCDIR]
1274
--dvidir=DIR dvi documentation [DOCDIR]
1275
--pdfdir=DIR pdf documentation [DOCDIR]
1276
--psdir=DIR ps documentation [DOCDIR]
1283
if test -n "$ac_init_help"; then
1288
--disable-option-checking ignore unrecognized --enable/--with options
1289
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1290
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1291
--disable-PIC disable compilation with PIC-flag
1292
--enable-lpt enable parallelport-support
1293
--disable-library split the library into single externals
1294
--enable-fat-binary=ARCHS
1295
build an Apple Multi Architecture Binary (MAB);
1296
ARCHS is a comma-delimited list of architectures for
1297
which to build; if ARCHS is omitted, then the package
1298
will be built for all architectures supported by the
1299
platform (e.g. "ppc,i386" for MacOS/X and Darwin;
1300
if this option is disabled or omitted entirely, then
1301
the package will be built only for the target
1305
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1306
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1307
--with-pdversion=<ver> enforce a certain pd-version (e.g. 0.37)
1308
--with-version=<ver> enforce a certain zexy-version (e.g. 2.0)
1309
--with-extension=<ext> enforce a certain extension for the dynamic library (e.g. dll)
1310
--with-pd=</path/to/pd> where to look for pd-headers and and -libs
1312
Some influential environment variables:
1313
CC C compiler command
1314
CFLAGS C compiler flags
1315
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1316
nonstandard directory <lib dir>
1317
LIBS libraries to pass to the linker, e.g. -l<library>
1318
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1319
you have headers in a nonstandard directory <include dir>
1322
Use these variables to override the choices made by `configure' or to help
1323
it to find libraries and programs with nonstandard names/locations.
1325
Report bugs to the package provider.
1330
if test "$ac_init_help" = "recursive"; then
1331
# If there are subdirs, report their specific --help.
1332
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1333
test -d "$ac_dir" ||
1334
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1339
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1342
# A ".." for each directory in $ac_dir_suffix.
1343
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1344
case $ac_top_builddir_sub in
1345
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1346
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1349
ac_abs_top_builddir=$ac_pwd
1350
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1351
# for backward compatibility:
1352
ac_top_builddir=$ac_top_build_prefix
1355
.) # We are building in place.
1357
ac_top_srcdir=$ac_top_builddir_sub
1358
ac_abs_top_srcdir=$ac_pwd ;;
1359
[\\/]* | ?:[\\/]* ) # Absolute name.
1360
ac_srcdir=$srcdir$ac_dir_suffix;
1361
ac_top_srcdir=$srcdir
1362
ac_abs_top_srcdir=$srcdir ;;
1364
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1365
ac_top_srcdir=$ac_top_build_prefix$srcdir
1366
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1368
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1370
cd "$ac_dir" || { ac_status=$?; continue; }
1371
# Check for guested configure.
1372
if test -f "$ac_srcdir/configure.gnu"; then
1374
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1375
elif test -f "$ac_srcdir/configure"; then
1377
$SHELL "$ac_srcdir/configure" --help=recursive
1379
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1381
cd "$ac_pwd" || { ac_status=$?; break; }
1385
test -n "$ac_init_help" && exit $ac_status
1386
if $ac_init_version; then
1389
generated by GNU Autoconf 2.67
1391
Copyright (C) 2010 Free Software Foundation, Inc.
1392
This configure script is free software; the Free Software Foundation
1393
gives unlimited permission to copy, distribute and modify it.
1398
## ------------------------ ##
1399
## Autoconf initialization. ##
1400
## ------------------------ ##
1402
# ac_fn_c_try_compile LINENO
1403
# --------------------------
1404
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1405
ac_fn_c_try_compile ()
1407
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1408
rm -f conftest.$ac_objext
1409
if { { ac_try="$ac_compile"
1411
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1412
*) ac_try_echo=$ac_try;;
1414
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1415
$as_echo "$ac_try_echo"; } >&5
1416
(eval "$ac_compile") 2>conftest.err
1418
if test -s conftest.err; then
1419
grep -v '^ *+' conftest.err >conftest.er1
1420
cat conftest.er1 >&5
1421
mv -f conftest.er1 conftest.err
1423
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1424
test $ac_status = 0; } && {
1425
test -z "$ac_c_werror_flag" ||
1426
test ! -s conftest.err
1427
} && test -s conftest.$ac_objext; then :
1430
$as_echo "$as_me: failed program was:" >&5
1431
sed 's/^/| /' conftest.$ac_ext >&5
1435
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1436
as_fn_set_status $ac_retval
1438
} # ac_fn_c_try_compile
1440
# ac_fn_c_try_link LINENO
1441
# -----------------------
1442
# Try to link conftest.$ac_ext, and return whether this succeeded.
1445
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1446
rm -f conftest.$ac_objext conftest$ac_exeext
1447
if { { ac_try="$ac_link"
1449
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1450
*) ac_try_echo=$ac_try;;
1452
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1453
$as_echo "$ac_try_echo"; } >&5
1454
(eval "$ac_link") 2>conftest.err
1456
if test -s conftest.err; then
1457
grep -v '^ *+' conftest.err >conftest.er1
1458
cat conftest.er1 >&5
1459
mv -f conftest.er1 conftest.err
1461
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1462
test $ac_status = 0; } && {
1463
test -z "$ac_c_werror_flag" ||
1464
test ! -s conftest.err
1465
} && test -s conftest$ac_exeext && {
1466
test "$cross_compiling" = yes ||
1467
$as_test_x conftest$ac_exeext
1471
$as_echo "$as_me: failed program was:" >&5
1472
sed 's/^/| /' conftest.$ac_ext >&5
1476
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1477
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1478
# interfere with the next link command; also delete a directory that is
1479
# left behind by Apple's compiler. We do this before executing the actions.
1480
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1481
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1482
as_fn_set_status $ac_retval
1484
} # ac_fn_c_try_link
1486
# ac_fn_c_try_cpp LINENO
1487
# ----------------------
1488
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1491
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1492
if { { ac_try="$ac_cpp conftest.$ac_ext"
1494
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1495
*) ac_try_echo=$ac_try;;
1497
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1498
$as_echo "$ac_try_echo"; } >&5
1499
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1501
if test -s conftest.err; then
1502
grep -v '^ *+' conftest.err >conftest.er1
1503
cat conftest.er1 >&5
1504
mv -f conftest.er1 conftest.err
1506
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1507
test $ac_status = 0; } > conftest.i && {
1508
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1509
test ! -s conftest.err
1513
$as_echo "$as_me: failed program was:" >&5
1514
sed 's/^/| /' conftest.$ac_ext >&5
1518
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1519
as_fn_set_status $ac_retval
1523
# ac_fn_c_try_run LINENO
1524
# ----------------------
1525
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1526
# that executables *can* be run.
1529
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1530
if { { ac_try="$ac_link"
1532
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1533
*) ac_try_echo=$ac_try;;
1535
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1536
$as_echo "$ac_try_echo"; } >&5
1537
(eval "$ac_link") 2>&5
1539
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1541
{ { case "(($ac_try" in
1542
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1543
*) ac_try_echo=$ac_try;;
1545
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546
$as_echo "$ac_try_echo"; } >&5
1547
(eval "$ac_try") 2>&5
1549
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550
test $ac_status = 0; }; }; then :
1553
$as_echo "$as_me: program exited with status $ac_status" >&5
1554
$as_echo "$as_me: failed program was:" >&5
1555
sed 's/^/| /' conftest.$ac_ext >&5
1557
ac_retval=$ac_status
1559
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1560
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561
as_fn_set_status $ac_retval
1565
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1566
# -------------------------------------------------------
1567
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1568
# the include files in INCLUDES and setting the cache variable VAR
1570
ac_fn_c_check_header_mongrel ()
1572
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573
if eval "test \"\${$3+set}\"" = set; then :
1574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1575
$as_echo_n "checking for $2... " >&6; }
1576
if eval "test \"\${$3+set}\"" = set; then :
1577
$as_echo_n "(cached) " >&6
1580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1581
$as_echo "$ac_res" >&6; }
1583
# Is the header compilable?
1584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1585
$as_echo_n "checking $2 usability... " >&6; }
1586
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1587
/* end confdefs.h. */
1591
if ac_fn_c_try_compile "$LINENO"; then :
1592
ac_header_compiler=yes
1594
ac_header_compiler=no
1596
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1598
$as_echo "$ac_header_compiler" >&6; }
1600
# Is the header present?
1601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1602
$as_echo_n "checking $2 presence... " >&6; }
1603
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1604
/* end confdefs.h. */
1607
if ac_fn_c_try_cpp "$LINENO"; then :
1608
ac_header_preproc=yes
1610
ac_header_preproc=no
1612
rm -f conftest.err conftest.i conftest.$ac_ext
1613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1614
$as_echo "$ac_header_preproc" >&6; }
1616
# So? What about this header?
1617
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1619
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1620
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1621
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1622
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1625
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1626
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1627
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1628
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1629
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1630
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1631
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1632
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1633
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1634
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1638
$as_echo_n "checking for $2... " >&6; }
1639
if eval "test \"\${$3+set}\"" = set; then :
1640
$as_echo_n "(cached) " >&6
1642
eval "$3=\$ac_header_compiler"
1645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1646
$as_echo "$ac_res" >&6; }
1648
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1650
} # ac_fn_c_check_header_mongrel
1652
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1653
# -------------------------------------------------------
1654
# Tests whether HEADER exists and can be compiled using the include files in
1655
# INCLUDES, setting the cache variable VAR accordingly.
1656
ac_fn_c_check_header_compile ()
1658
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1660
$as_echo_n "checking for $2... " >&6; }
1661
if eval "test \"\${$3+set}\"" = set; then :
1662
$as_echo_n "(cached) " >&6
1664
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1665
/* end confdefs.h. */
1669
if ac_fn_c_try_compile "$LINENO"; then :
1674
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1678
$as_echo "$ac_res" >&6; }
1679
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1681
} # ac_fn_c_check_header_compile
1683
# ac_fn_c_check_func LINENO FUNC VAR
1684
# ----------------------------------
1685
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1686
ac_fn_c_check_func ()
1688
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1690
$as_echo_n "checking for $2... " >&6; }
1691
if eval "test \"\${$3+set}\"" = set; then :
1692
$as_echo_n "(cached) " >&6
1694
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1695
/* end confdefs.h. */
1696
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1697
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1698
#define $2 innocuous_$2
1700
/* System header to define __stub macros and hopefully few prototypes,
1701
which can conflict with char $2 (); below.
1702
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1703
<limits.h> exists even on freestanding compilers. */
1706
# include <limits.h>
1708
# include <assert.h>
1713
/* Override any GCC internal prototype to avoid an error.
1714
Use char because int might match the return type of a GCC
1715
builtin and then its argument prototype would still apply. */
1720
/* The GNU C library defines this for functions which it implements
1721
to always fail with ENOSYS. Some functions are actually named
1722
something starting with __ and the normal name is an alias. */
1723
#if defined __stub_$2 || defined __stub___$2
1735
if ac_fn_c_try_link "$LINENO"; then :
1740
rm -f core conftest.err conftest.$ac_objext \
1741
conftest$ac_exeext conftest.$ac_ext
1744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745
$as_echo "$ac_res" >&6; }
1746
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748
} # ac_fn_c_check_func
1749
cat >config.log <<_ACEOF
1750
This file contains any messages produced by compilers while
1751
running configure, to aid debugging if configure makes a mistake.
1753
It was created by $as_me, which was
1754
generated by GNU Autoconf 2.67. Invocation command line was
1766
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1767
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1768
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1769
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1770
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1772
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1773
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1775
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1776
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1777
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1778
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1779
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1780
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1781
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1785
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789
test -z "$as_dir" && as_dir=.
1790
$as_echo "PATH: $as_dir"
1806
# Keep a trace of the command line.
1807
# Strip out --no-create and --no-recursion so they do not pile up.
1808
# Strip out --silent because we don't want to record it for future runs.
1809
# Also quote any args containing shell meta-characters.
1810
# Make two passes to allow for proper duplicate-argument suppression.
1814
ac_must_keep_next=false
1820
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1821
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1822
| -silent | --silent | --silen | --sile | --sil)
1825
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1828
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1830
as_fn_append ac_configure_args1 " '$ac_arg'"
1831
if test $ac_must_keep_next = true; then
1832
ac_must_keep_next=false # Got value, back to normal.
1835
*=* | --config-cache | -C | -disable-* | --disable-* \
1836
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1837
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1838
| -with-* | --with-* | -without-* | --without-* | --x)
1839
case "$ac_configure_args0 " in
1840
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1843
-* ) ac_must_keep_next=true ;;
1846
as_fn_append ac_configure_args " '$ac_arg'"
1851
{ ac_configure_args0=; unset ac_configure_args0;}
1852
{ ac_configure_args1=; unset ac_configure_args1;}
1854
# When interrupted or exit'd, cleanup temporary files, and complete
1855
# config.log. We remove comments because anyway the quotes in there
1856
# would cause problems or look ugly.
1857
# WARNING: Use '\'' to represent an apostrophe within the trap.
1858
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1859
trap 'exit_status=$?
1860
# Save into config.log some information that might help in debugging.
1864
$as_echo "## ---------------- ##
1865
## Cache variables. ##
1866
## ---------------- ##"
1868
# The following way of writing the cache mishandles newlines in values,
1870
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1871
eval ac_val=\$$ac_var
1875
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1876
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1879
_ | IFS | as_nl) ;; #(
1880
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1881
*) { eval $ac_var=; unset $ac_var;} ;;
1886
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1887
*${as_nl}ac_space=\ *)
1889
"s/'\''/'\''\\\\'\'''\''/g;
1890
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1893
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1900
$as_echo "## ----------------- ##
1901
## Output variables. ##
1902
## ----------------- ##"
1904
for ac_var in $ac_subst_vars
1906
eval ac_val=\$$ac_var
1908
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1910
$as_echo "$ac_var='\''$ac_val'\''"
1914
if test -n "$ac_subst_files"; then
1915
$as_echo "## ------------------- ##
1916
## File substitutions. ##
1917
## ------------------- ##"
1919
for ac_var in $ac_subst_files
1921
eval ac_val=\$$ac_var
1923
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1925
$as_echo "$ac_var='\''$ac_val'\''"
1930
if test -s confdefs.h; then
1931
$as_echo "## ----------- ##
1938
test "$ac_signal" != 0 &&
1939
$as_echo "$as_me: caught signal $ac_signal"
1940
$as_echo "$as_me: exit $exit_status"
1942
rm -f core *.core core.conftest.* &&
1943
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1946
for ac_signal in 1 2 13 15; do
1947
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1951
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1952
rm -f -r conftest* confdefs.h
1954
$as_echo "/* confdefs.h */" > confdefs.h
1956
# Predefined preprocessor variables.
1958
cat >>confdefs.h <<_ACEOF
1959
#define PACKAGE_NAME "$PACKAGE_NAME"
1962
cat >>confdefs.h <<_ACEOF
1963
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1966
cat >>confdefs.h <<_ACEOF
1967
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1970
cat >>confdefs.h <<_ACEOF
1971
#define PACKAGE_STRING "$PACKAGE_STRING"
1974
cat >>confdefs.h <<_ACEOF
1975
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1978
cat >>confdefs.h <<_ACEOF
1979
#define PACKAGE_URL "$PACKAGE_URL"
1983
# Let the site file select an alternate cache file if it wants to.
1984
# Prefer an explicitly selected file to automatically selected ones.
1987
if test -n "$CONFIG_SITE"; then
1988
# We do not want a PATH search for config.site.
1989
case $CONFIG_SITE in #((
1990
-*) ac_site_file1=./$CONFIG_SITE;;
1991
*/*) ac_site_file1=$CONFIG_SITE;;
1992
*) ac_site_file1=./$CONFIG_SITE;;
1994
elif test "x$prefix" != xNONE; then
1995
ac_site_file1=$prefix/share/config.site
1996
ac_site_file2=$prefix/etc/config.site
1998
ac_site_file1=$ac_default_prefix/share/config.site
1999
ac_site_file2=$ac_default_prefix/etc/config.site
2001
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2003
test "x$ac_site_file" = xNONE && continue
2004
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2005
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2006
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2007
sed 's/^/| /' "$ac_site_file" >&5
2009
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2010
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2011
as_fn_error $? "failed to load site script $ac_site_file
2012
See \`config.log' for more details" "$LINENO" 5 ; }
2016
if test -r "$cache_file"; then
2017
# Some versions of bash will fail to source /dev/null (special files
2018
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2019
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2020
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2021
$as_echo "$as_me: loading cache $cache_file" >&6;}
2023
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2024
*) . "./$cache_file";;
2028
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2029
$as_echo "$as_me: creating cache $cache_file" >&6;}
2033
as_fn_append ac_header_list " stdlib.h"
2034
as_fn_append ac_header_list " unistd.h"
2035
as_fn_append ac_header_list " sys/param.h"
2036
# Check that the precious variables saved in the cache have kept the same
2038
ac_cache_corrupted=false
2039
for ac_var in $ac_precious_vars; do
2040
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2041
eval ac_new_set=\$ac_env_${ac_var}_set
2042
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2043
eval ac_new_val=\$ac_env_${ac_var}_value
2044
case $ac_old_set,$ac_new_set in
2046
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2047
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2048
ac_cache_corrupted=: ;;
2050
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2051
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2052
ac_cache_corrupted=: ;;
2055
if test "x$ac_old_val" != "x$ac_new_val"; then
2056
# differences in whitespace do not lead to failure.
2057
ac_old_val_w=`echo x $ac_old_val`
2058
ac_new_val_w=`echo x $ac_new_val`
2059
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2060
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2061
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2062
ac_cache_corrupted=:
2064
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2065
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2066
eval $ac_var=\$ac_old_val
2068
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2069
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2070
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2071
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2074
# Pass precious variables to config.status.
2075
if test "$ac_new_set" = set; then
2077
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2078
*) ac_arg=$ac_var=$ac_new_val ;;
2080
case " $ac_configure_args " in
2081
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2082
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2086
if $ac_cache_corrupted; then
2087
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2088
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2089
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2090
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2091
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2093
## -------------------- ##
2094
## Main body of script. ##
2095
## -------------------- ##
2098
ac_cpp='$CPP $CPPFLAGS'
2099
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2100
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2101
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2104
ac_config_headers="$ac_config_headers zexyconf.h"
2114
ac_cpp='$CPP $CPPFLAGS'
2115
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2116
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2117
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2118
if test -n "$ac_tool_prefix"; then
2119
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2120
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2122
$as_echo_n "checking for $ac_word... " >&6; }
2123
if test "${ac_cv_prog_CC+set}" = set; then :
2124
$as_echo_n "(cached) " >&6
2126
if test -n "$CC"; then
2127
ac_cv_prog_CC="$CC" # Let the user override the test.
2129
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133
test -z "$as_dir" && as_dir=.
2134
for ac_exec_ext in '' $ac_executable_extensions; do
2135
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2136
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2137
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2147
if test -n "$CC"; then
2148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2149
$as_echo "$CC" >&6; }
2151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2152
$as_echo "no" >&6; }
2157
if test -z "$ac_cv_prog_CC"; then
2159
# Extract the first word of "gcc", so it can be a program name with args.
2160
set dummy gcc; ac_word=$2
2161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2162
$as_echo_n "checking for $ac_word... " >&6; }
2163
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2164
$as_echo_n "(cached) " >&6
2166
if test -n "$ac_ct_CC"; then
2167
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2169
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173
test -z "$as_dir" && as_dir=.
2174
for ac_exec_ext in '' $ac_executable_extensions; do
2175
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2176
ac_cv_prog_ac_ct_CC="gcc"
2177
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2186
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2187
if test -n "$ac_ct_CC"; then
2188
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2189
$as_echo "$ac_ct_CC" >&6; }
2191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2192
$as_echo "no" >&6; }
2195
if test "x$ac_ct_CC" = x; then
2198
case $cross_compiling:$ac_tool_warned in
2200
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2201
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2202
ac_tool_warned=yes ;;
2210
if test -z "$CC"; then
2211
if test -n "$ac_tool_prefix"; then
2212
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2213
set dummy ${ac_tool_prefix}cc; ac_word=$2
2214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2215
$as_echo_n "checking for $ac_word... " >&6; }
2216
if test "${ac_cv_prog_CC+set}" = set; then :
2217
$as_echo_n "(cached) " >&6
2219
if test -n "$CC"; then
2220
ac_cv_prog_CC="$CC" # Let the user override the test.
2222
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226
test -z "$as_dir" && as_dir=.
2227
for ac_exec_ext in '' $ac_executable_extensions; do
2228
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2229
ac_cv_prog_CC="${ac_tool_prefix}cc"
2230
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2240
if test -n "$CC"; then
2241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2242
$as_echo "$CC" >&6; }
2244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2245
$as_echo "no" >&6; }
2251
if test -z "$CC"; then
2252
# Extract the first word of "cc", so it can be a program name with args.
2253
set dummy cc; ac_word=$2
2254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2255
$as_echo_n "checking for $ac_word... " >&6; }
2256
if test "${ac_cv_prog_CC+set}" = set; then :
2257
$as_echo_n "(cached) " >&6
2259
if test -n "$CC"; then
2260
ac_cv_prog_CC="$CC" # Let the user override the test.
2263
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267
test -z "$as_dir" && as_dir=.
2268
for ac_exec_ext in '' $ac_executable_extensions; do
2269
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2270
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2271
ac_prog_rejected=yes
2275
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2282
if test $ac_prog_rejected = yes; then
2283
# We found a bogon in the path, so make sure we never use it.
2284
set dummy $ac_cv_prog_CC
2286
if test $# != 0; then
2287
# We chose a different compiler from the bogus one.
2288
# However, it has the same basename, so the bogon will be chosen
2289
# first if we set CC to just the basename; use the full file name.
2291
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2297
if test -n "$CC"; then
2298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2299
$as_echo "$CC" >&6; }
2301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2302
$as_echo "no" >&6; }
2307
if test -z "$CC"; then
2308
if test -n "$ac_tool_prefix"; then
2309
for ac_prog in cl.exe
2311
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2312
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2314
$as_echo_n "checking for $ac_word... " >&6; }
2315
if test "${ac_cv_prog_CC+set}" = set; then :
2316
$as_echo_n "(cached) " >&6
2318
if test -n "$CC"; then
2319
ac_cv_prog_CC="$CC" # Let the user override the test.
2321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325
test -z "$as_dir" && as_dir=.
2326
for ac_exec_ext in '' $ac_executable_extensions; do
2327
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2329
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2339
if test -n "$CC"; then
2340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2341
$as_echo "$CC" >&6; }
2343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2344
$as_echo "no" >&6; }
2348
test -n "$CC" && break
2351
if test -z "$CC"; then
2353
for ac_prog in cl.exe
2355
# Extract the first word of "$ac_prog", so it can be a program name with args.
2356
set dummy $ac_prog; ac_word=$2
2357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2358
$as_echo_n "checking for $ac_word... " >&6; }
2359
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2360
$as_echo_n "(cached) " >&6
2362
if test -n "$ac_ct_CC"; then
2363
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2365
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369
test -z "$as_dir" && as_dir=.
2370
for ac_exec_ext in '' $ac_executable_extensions; do
2371
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2372
ac_cv_prog_ac_ct_CC="$ac_prog"
2373
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2382
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2383
if test -n "$ac_ct_CC"; then
2384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2385
$as_echo "$ac_ct_CC" >&6; }
2387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2388
$as_echo "no" >&6; }
2392
test -n "$ac_ct_CC" && break
2395
if test "x$ac_ct_CC" = x; then
2398
case $cross_compiling:$ac_tool_warned in
2400
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2401
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2402
ac_tool_warned=yes ;;
2411
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2412
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2413
as_fn_error $? "no acceptable C compiler found in \$PATH
2414
See \`config.log' for more details" "$LINENO" 5 ; }
2416
# Provide some information about the compiler.
2417
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2420
for ac_option in --version -v -V -qversion; do
2421
{ { ac_try="$ac_compiler $ac_option >&5"
2423
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424
*) ac_try_echo=$ac_try;;
2426
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2427
$as_echo "$ac_try_echo"; } >&5
2428
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2430
if test -s conftest.err; then
2432
... rest of stderr output deleted ...
2433
10q' conftest.err >conftest.er1
2434
cat conftest.er1 >&5
2436
rm -f conftest.er1 conftest.err
2437
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2438
test $ac_status = 0; }
2441
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442
/* end confdefs.h. */
2452
ac_clean_files_save=$ac_clean_files
2453
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2454
# Try to create an executable without -o first, disregard a.out.
2455
# It will help us diagnose broken compilers, and finding out an intuition
2457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2458
$as_echo_n "checking whether the C compiler works... " >&6; }
2459
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2461
# The possible output files:
2462
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2465
for ac_file in $ac_files
2468
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2469
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2474
if { { ac_try="$ac_link_default"
2476
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477
*) ac_try_echo=$ac_try;;
2479
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2480
$as_echo "$ac_try_echo"; } >&5
2481
(eval "$ac_link_default") 2>&5
2483
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2484
test $ac_status = 0; }; then :
2485
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2486
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2487
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2488
# so that the user can short-circuit this test for compilers unknown to
2490
for ac_file in $ac_files ''
2492
test -f "$ac_file" || continue
2494
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2497
# We found the default executable, but exeext='' is most
2501
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2503
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2505
# We set ac_cv_exeext here because the later test for it is not
2506
# safe: cross compilers may not add the suffix if given an `-o'
2507
# argument, so we may need to know it at that point already.
2508
# Even if this section looks crufty: it has the advantage of
2515
test "$ac_cv_exeext" = no && ac_cv_exeext=
2520
if test -z "$ac_file"; then :
2521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2522
$as_echo "no" >&6; }
2523
$as_echo "$as_me: failed program was:" >&5
2524
sed 's/^/| /' conftest.$ac_ext >&5
2526
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2527
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2528
as_fn_error 77 "C compiler cannot create executables
2529
See \`config.log' for more details" "$LINENO" 5 ; }
2531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2532
$as_echo "yes" >&6; }
2534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2535
$as_echo_n "checking for C compiler default output file name... " >&6; }
2536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2537
$as_echo "$ac_file" >&6; }
2538
ac_exeext=$ac_cv_exeext
2540
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2541
ac_clean_files=$ac_clean_files_save
2542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2543
$as_echo_n "checking for suffix of executables... " >&6; }
2544
if { { ac_try="$ac_link"
2546
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2547
*) ac_try_echo=$ac_try;;
2549
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2550
$as_echo "$ac_try_echo"; } >&5
2551
(eval "$ac_link") 2>&5
2553
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2554
test $ac_status = 0; }; then :
2555
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2556
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2557
# work properly (i.e., refer to `conftest.exe'), while it won't with
2559
for ac_file in conftest.exe conftest conftest.*; do
2560
test -f "$ac_file" || continue
2562
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2563
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2569
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2570
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2571
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2572
See \`config.log' for more details" "$LINENO" 5 ; }
2574
rm -f conftest conftest$ac_cv_exeext
2575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2576
$as_echo "$ac_cv_exeext" >&6; }
2578
rm -f conftest.$ac_ext
2579
EXEEXT=$ac_cv_exeext
2581
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2582
/* end confdefs.h. */
2587
FILE *f = fopen ("conftest.out", "w");
2588
return ferror (f) || fclose (f) != 0;
2594
ac_clean_files="$ac_clean_files conftest.out"
2595
# Check that the compiler produces executables we can run. If not, either
2596
# the compiler is broken, or we cross compile.
2597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2598
$as_echo_n "checking whether we are cross compiling... " >&6; }
2599
if test "$cross_compiling" != yes; then
2600
{ { ac_try="$ac_link"
2602
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603
*) ac_try_echo=$ac_try;;
2605
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2606
$as_echo "$ac_try_echo"; } >&5
2607
(eval "$ac_link") 2>&5
2609
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2610
test $ac_status = 0; }
2611
if { ac_try='./conftest$ac_cv_exeext'
2612
{ { case "(($ac_try" in
2613
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614
*) ac_try_echo=$ac_try;;
2616
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2617
$as_echo "$ac_try_echo"; } >&5
2618
(eval "$ac_try") 2>&5
2620
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2621
test $ac_status = 0; }; }; then
2624
if test "$cross_compiling" = maybe; then
2627
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2628
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2629
as_fn_error $? "cannot run C compiled programs.
2630
If you meant to cross compile, use \`--host'.
2631
See \`config.log' for more details" "$LINENO" 5 ; }
2635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2636
$as_echo "$cross_compiling" >&6; }
2638
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2639
ac_clean_files=$ac_clean_files_save
2640
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2641
$as_echo_n "checking for suffix of object files... " >&6; }
2642
if test "${ac_cv_objext+set}" = set; then :
2643
$as_echo_n "(cached) " >&6
2645
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2646
/* end confdefs.h. */
2656
rm -f conftest.o conftest.obj
2657
if { { ac_try="$ac_compile"
2659
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660
*) ac_try_echo=$ac_try;;
2662
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2663
$as_echo "$ac_try_echo"; } >&5
2664
(eval "$ac_compile") 2>&5
2666
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2667
test $ac_status = 0; }; then :
2668
for ac_file in conftest.o conftest.obj conftest.*; do
2669
test -f "$ac_file" || continue;
2671
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2672
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2677
$as_echo "$as_me: failed program was:" >&5
2678
sed 's/^/| /' conftest.$ac_ext >&5
2680
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2681
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2682
as_fn_error $? "cannot compute suffix of object files: cannot compile
2683
See \`config.log' for more details" "$LINENO" 5 ; }
2685
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2688
$as_echo "$ac_cv_objext" >&6; }
2689
OBJEXT=$ac_cv_objext
2691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2692
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2693
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2694
$as_echo_n "(cached) " >&6
2696
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2697
/* end confdefs.h. */
2710
if ac_fn_c_try_compile "$LINENO"; then :
2715
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2716
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2720
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2721
if test $ac_compiler_gnu = yes; then
2726
ac_test_CFLAGS=${CFLAGS+set}
2727
ac_save_CFLAGS=$CFLAGS
2728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2729
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2730
if test "${ac_cv_prog_cc_g+set}" = set; then :
2731
$as_echo_n "(cached) " >&6
2733
ac_save_c_werror_flag=$ac_c_werror_flag
2734
ac_c_werror_flag=yes
2737
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2738
/* end confdefs.h. */
2748
if ac_fn_c_try_compile "$LINENO"; then :
2752
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2753
/* end confdefs.h. */
2763
if ac_fn_c_try_compile "$LINENO"; then :
2766
ac_c_werror_flag=$ac_save_c_werror_flag
2768
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2769
/* end confdefs.h. */
2779
if ac_fn_c_try_compile "$LINENO"; then :
2782
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2784
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787
ac_c_werror_flag=$ac_save_c_werror_flag
2789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2790
$as_echo "$ac_cv_prog_cc_g" >&6; }
2791
if test "$ac_test_CFLAGS" = set; then
2792
CFLAGS=$ac_save_CFLAGS
2793
elif test $ac_cv_prog_cc_g = yes; then
2794
if test "$GCC" = yes; then
2800
if test "$GCC" = yes; then
2806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2807
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2808
if test "${ac_cv_prog_cc_c89+set}" = set; then :
2809
$as_echo_n "(cached) " >&6
2811
ac_cv_prog_cc_c89=no
2813
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2814
/* end confdefs.h. */
2817
#include <sys/types.h>
2818
#include <sys/stat.h>
2819
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2820
struct buf { int x; };
2821
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2822
static char *e (p, i)
2828
static char *f (char * (*g) (char **, int), char **p, ...)
2833
s = g (p, va_arg (v,int));
2838
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2839
function prototypes and stuff, but not '\xHH' hex character constants.
2840
These don't provoke an error unfortunately, instead are silently treated
2841
as 'x'. The following induces an error, until -std is added to get
2842
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2843
array size at least. It's necessary to write '\x00'==0 to get something
2844
that's true only with -std. */
2845
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2847
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2848
inside strings and character constants. */
2850
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2852
int test (int i, double x);
2853
struct s1 {int (*f) (int a);};
2854
struct s2 {int (*f) (double a);};
2855
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2861
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2866
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2867
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2869
CC="$ac_save_CC $ac_arg"
2870
if ac_fn_c_try_compile "$LINENO"; then :
2871
ac_cv_prog_cc_c89=$ac_arg
2873
rm -f core conftest.err conftest.$ac_objext
2874
test "x$ac_cv_prog_cc_c89" != "xno" && break
2876
rm -f conftest.$ac_ext
2881
case "x$ac_cv_prog_cc_c89" in
2883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2884
$as_echo "none needed" >&6; } ;;
2886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2887
$as_echo "unsupported" >&6; } ;;
2889
CC="$CC $ac_cv_prog_cc_c89"
2890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2891
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2893
if test "x$ac_cv_prog_cc_c89" != xno; then :
2898
ac_cpp='$CPP $CPPFLAGS'
2899
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2900
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2901
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2922
## store the flags passed to us
2923
## is there no way to get the flags without quotes?
2924
#CONFIGUREFLAGS=${ac_configure_args}
2925
## and is this solution portable? time will show....
2926
CONFIGUREFLAGS=$(echo ${ac_configure_args} | sed "s/'//g")
2929
# Check whether --with-pdversion was given.
2930
if test "${with_pdversion+set}" = set; then :
2931
withval=$with_pdversion;
2935
# Check whether --with-version was given.
2936
if test "${with_version+set}" = set; then :
2937
withval=$with_version;
2941
# Check whether --with-extension was given.
2942
if test "${with_extension+set}" = set; then :
2943
withval=$with_extension;
2947
# Check whether --with-pd was given.
2948
if test "${with_pd+set}" = set; then :
2952
# Check whether --enable-PIC was given.
2953
if test "${enable_PIC+set}" = set; then :
2954
enableval=$enable_PIC;
2957
# Check whether --enable-lpt was given.
2958
if test "${enable_lpt+set}" = set; then :
2959
enableval=$enable_lpt;
2962
# Check whether --enable-library was given.
2963
if test "${enable_library+set}" = set; then :
2964
enableval=$enable_library;
2968
if test "x" = "x${enable_PIC}" ; then
2969
enable_PIC="${with_PIC}"
2972
if test "x" = "x${enable_lpt}" ; then
2973
enable_lpt="${with_lpt}"
2976
if test "xno" != "x${enable_library}" ; then
2977
BUILDLIBRARY="-DZEXY_LIBRARY"
2980
if test $(uname | sed -e 's/^MINGW.*/NT/') = NT ;
2986
if test "x$with_pd" != "x"; then
2987
if test -d "${with_pd}"; then
2991
if test -d "${PDPATH}/src"; then
2992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: adding ${PDPATH}/src to INCLUDES" >&5
2993
$as_echo "adding ${PDPATH}/src to INCLUDES" >&6; }
2994
INCLUDES="-I${PDPATH}/src ${INCLUDES}"
2996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: adding ${PDPATH}/src to LDFLAGS" >&5
2997
$as_echo "adding ${PDPATH}/src to LDFLAGS" >&6; }
2998
LDFLAGS="-L${PDPATH}/src ${LDFLAGS}"
3000
if test -d "${PDPATH}/bin"; then
3001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: adding ${PDPATH}/bin to LDFLAGS" >&5
3002
$as_echo "adding ${PDPATH}/bin to LDFLAGS" >&6; }
3003
LDFLAGS="-L${PDPATH}/bin ${LDFLAGS}"
3009
for id in $includedir
3011
if test -d $id; then INCLUDES="-I$id $INCLUDES"; fi
3018
if test -d $id; then LDFLAGS="-L$id $LDFLAGS"; fi
3023
CFLAGS="${INCLUDES} ${CFLAGS}"
3024
CPPFLAGS="${INCLUDES} ${CPPFLAGS}"
3028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lc" >&5
3029
$as_echo_n "checking for main in -lc... " >&6; }
3030
if test "${ac_cv_lib_c_main+set}" = set; then :
3031
$as_echo_n "(cached) " >&6
3033
ac_check_lib_save_LIBS=$LIBS
3035
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036
/* end confdefs.h. */
3047
if ac_fn_c_try_link "$LINENO"; then :
3048
ac_cv_lib_c_main=yes
3052
rm -f core conftest.err conftest.$ac_objext \
3053
conftest$ac_exeext conftest.$ac_ext
3054
LIBS=$ac_check_lib_save_LIBS
3056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_main" >&5
3057
$as_echo "$ac_cv_lib_c_main" >&6; }
3058
if test "x$ac_cv_lib_c_main" = x""yes; then :
3059
cat >>confdefs.h <<_ACEOF
3067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fclose in -lcrtdll" >&5
3068
$as_echo_n "checking for fclose in -lcrtdll... " >&6; }
3069
if test "${ac_cv_lib_crtdll_fclose+set}" = set; then :
3070
$as_echo_n "(cached) " >&6
3072
ac_check_lib_save_LIBS=$LIBS
3073
LIBS="-lcrtdll $LIBS"
3074
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075
/* end confdefs.h. */
3077
/* Override any GCC internal prototype to avoid an error.
3078
Use char because int might match the return type of a GCC
3079
builtin and then its argument prototype would still apply. */
3092
if ac_fn_c_try_link "$LINENO"; then :
3093
ac_cv_lib_crtdll_fclose=yes
3095
ac_cv_lib_crtdll_fclose=no
3097
rm -f core conftest.err conftest.$ac_objext \
3098
conftest$ac_exeext conftest.$ac_ext
3099
LIBS=$ac_check_lib_save_LIBS
3101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crtdll_fclose" >&5
3102
$as_echo "$ac_cv_lib_crtdll_fclose" >&6; }
3103
if test "x$ac_cv_lib_crtdll_fclose" = x""yes; then :
3104
cat >>confdefs.h <<_ACEOF
3105
#define HAVE_LIBCRTDLL 1
3108
LIBS="-lcrtdll $LIBS"
3113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek in -lcoldname" >&5
3114
$as_echo_n "checking for lseek in -lcoldname... " >&6; }
3115
if test "${ac_cv_lib_coldname_lseek+set}" = set; then :
3116
$as_echo_n "(cached) " >&6
3118
ac_check_lib_save_LIBS=$LIBS
3119
LIBS="-lcoldname $LIBS"
3120
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121
/* end confdefs.h. */
3123
/* Override any GCC internal prototype to avoid an error.
3124
Use char because int might match the return type of a GCC
3125
builtin and then its argument prototype would still apply. */
3138
if ac_fn_c_try_link "$LINENO"; then :
3139
ac_cv_lib_coldname_lseek=yes
3141
ac_cv_lib_coldname_lseek=no
3143
rm -f core conftest.err conftest.$ac_objext \
3144
conftest$ac_exeext conftest.$ac_ext
3145
LIBS=$ac_check_lib_save_LIBS
3147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_coldname_lseek" >&5
3148
$as_echo "$ac_cv_lib_coldname_lseek" >&6; }
3149
if test "x$ac_cv_lib_coldname_lseek" = x""yes; then :
3150
cat >>confdefs.h <<_ACEOF
3151
#define HAVE_LIBCOLDNAME 1
3154
LIBS="-lcoldname $LIBS"
3158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkernel32" >&5
3159
$as_echo_n "checking for main in -lkernel32... " >&6; }
3160
if test "${ac_cv_lib_kernel32_main+set}" = set; then :
3161
$as_echo_n "(cached) " >&6
3163
ac_check_lib_save_LIBS=$LIBS
3164
LIBS="-lkernel32 $LIBS"
3165
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166
/* end confdefs.h. */
3177
if ac_fn_c_try_link "$LINENO"; then :
3178
ac_cv_lib_kernel32_main=yes
3180
ac_cv_lib_kernel32_main=no
3182
rm -f core conftest.err conftest.$ac_objext \
3183
conftest$ac_exeext conftest.$ac_ext
3184
LIBS=$ac_check_lib_save_LIBS
3186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kernel32_main" >&5
3187
$as_echo "$ac_cv_lib_kernel32_main" >&6; }
3188
if test "x$ac_cv_lib_kernel32_main" = x""yes; then :
3189
cat >>confdefs.h <<_ACEOF
3190
#define HAVE_LIBKERNEL32 1
3193
LIBS="-lkernel32 $LIBS"
3197
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -luser32" >&5
3198
$as_echo_n "checking for main in -luser32... " >&6; }
3199
if test "${ac_cv_lib_user32_main+set}" = set; then :
3200
$as_echo_n "(cached) " >&6
3202
ac_check_lib_save_LIBS=$LIBS
3203
LIBS="-luser32 $LIBS"
3204
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205
/* end confdefs.h. */
3216
if ac_fn_c_try_link "$LINENO"; then :
3217
ac_cv_lib_user32_main=yes
3219
ac_cv_lib_user32_main=no
3221
rm -f core conftest.err conftest.$ac_objext \
3222
conftest$ac_exeext conftest.$ac_ext
3223
LIBS=$ac_check_lib_save_LIBS
3225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_user32_main" >&5
3226
$as_echo "$ac_cv_lib_user32_main" >&6; }
3227
if test "x$ac_cv_lib_user32_main" = x""yes; then :
3228
cat >>confdefs.h <<_ACEOF
3229
#define HAVE_LIBUSER32 1
3232
LIBS="-luser32 $LIBS"
3236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgdi32" >&5
3237
$as_echo_n "checking for main in -lgdi32... " >&6; }
3238
if test "${ac_cv_lib_gdi32_main+set}" = set; then :
3239
$as_echo_n "(cached) " >&6
3241
ac_check_lib_save_LIBS=$LIBS
3242
LIBS="-lgdi32 $LIBS"
3243
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244
/* end confdefs.h. */
3255
if ac_fn_c_try_link "$LINENO"; then :
3256
ac_cv_lib_gdi32_main=yes
3258
ac_cv_lib_gdi32_main=no
3260
rm -f core conftest.err conftest.$ac_objext \
3261
conftest$ac_exeext conftest.$ac_ext
3262
LIBS=$ac_check_lib_save_LIBS
3264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdi32_main" >&5
3265
$as_echo "$ac_cv_lib_gdi32_main" >&6; }
3266
if test "x$ac_cv_lib_gdi32_main" = x""yes; then :
3267
cat >>confdefs.h <<_ACEOF
3268
#define HAVE_LIBGDI32 1
3271
LIBS="-lgdi32 $LIBS"
3276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
3277
$as_echo_n "checking for main in -lm... " >&6; }
3278
if test "${ac_cv_lib_m_main+set}" = set; then :
3279
$as_echo_n "(cached) " >&6
3281
ac_check_lib_save_LIBS=$LIBS
3283
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284
/* end confdefs.h. */
3295
if ac_fn_c_try_link "$LINENO"; then :
3296
ac_cv_lib_m_main=yes
3300
rm -f core conftest.err conftest.$ac_objext \
3301
conftest$ac_exeext conftest.$ac_ext
3302
LIBS=$ac_check_lib_save_LIBS
3304
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
3305
$as_echo "$ac_cv_lib_m_main" >&6; }
3306
if test "x$ac_cv_lib_m_main" = x""yes; then :
3307
cat >>confdefs.h <<_ACEOF
3316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nullfn in -lpd" >&5
3317
$as_echo_n "checking for nullfn in -lpd... " >&6; }
3318
if test "${ac_cv_lib_pd_nullfn+set}" = set; then :
3319
$as_echo_n "(cached) " >&6
3321
ac_check_lib_save_LIBS=$LIBS
3323
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324
/* end confdefs.h. */
3326
/* Override any GCC internal prototype to avoid an error.
3327
Use char because int might match the return type of a GCC
3328
builtin and then its argument prototype would still apply. */
3341
if ac_fn_c_try_link "$LINENO"; then :
3342
ac_cv_lib_pd_nullfn=yes
3344
ac_cv_lib_pd_nullfn=no
3346
rm -f core conftest.err conftest.$ac_objext \
3347
conftest$ac_exeext conftest.$ac_ext
3348
LIBS=$ac_check_lib_save_LIBS
3350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pd_nullfn" >&5
3351
$as_echo "$ac_cv_lib_pd_nullfn" >&6; }
3352
if test "x$ac_cv_lib_pd_nullfn" = x""yes; then :
3353
cat >>confdefs.h <<_ACEOF
3354
#define HAVE_LIBPD 1
3362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for regcomp in -lregex" >&5
3363
$as_echo_n "checking for regcomp in -lregex... " >&6; }
3364
if test "${ac_cv_lib_regex_regcomp+set}" = set; then :
3365
$as_echo_n "(cached) " >&6
3367
ac_check_lib_save_LIBS=$LIBS
3368
LIBS="-lregex $LIBS"
3369
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370
/* end confdefs.h. */
3372
/* Override any GCC internal prototype to avoid an error.
3373
Use char because int might match the return type of a GCC
3374
builtin and then its argument prototype would still apply. */
3387
if ac_fn_c_try_link "$LINENO"; then :
3388
ac_cv_lib_regex_regcomp=yes
3390
ac_cv_lib_regex_regcomp=no
3392
rm -f core conftest.err conftest.$ac_objext \
3393
conftest$ac_exeext conftest.$ac_ext
3394
LIBS=$ac_check_lib_save_LIBS
3396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regcomp" >&5
3397
$as_echo "$ac_cv_lib_regex_regcomp" >&6; }
3398
if test "x$ac_cv_lib_regex_regcomp" = x""yes; then :
3399
cat >>confdefs.h <<_ACEOF
3400
#define HAVE_LIBREGEX 1
3403
LIBS="-lregex $LIBS"
3410
ac_cpp='$CPP $CPPFLAGS'
3411
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3412
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3413
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3415
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3416
# On Suns, sometimes $CPP names a directory.
3417
if test -n "$CPP" && test -d "$CPP"; then
3420
if test -z "$CPP"; then
3421
if test "${ac_cv_prog_CPP+set}" = set; then :
3422
$as_echo_n "(cached) " >&6
3424
# Double quotes because CPP needs to be expanded
3425
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3428
for ac_c_preproc_warn_flag in '' yes
3430
# Use a header file that comes with gcc, so configuring glibc
3431
# with a fresh cross-compiler works.
3432
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3433
# <limits.h> exists even on freestanding compilers.
3434
# On the NeXT, cc -E runs the code through the compiler's parser,
3435
# not just through cpp. "Syntax error" is here to catch this case.
3436
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437
/* end confdefs.h. */
3439
# include <limits.h>
3441
# include <assert.h>
3445
if ac_fn_c_try_cpp "$LINENO"; then :
3448
# Broken: fails on valid input.
3451
rm -f conftest.err conftest.i conftest.$ac_ext
3453
# OK, works on sane cases. Now check whether nonexistent headers
3454
# can be detected and how.
3455
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456
/* end confdefs.h. */
3457
#include <ac_nonexistent.h>
3459
if ac_fn_c_try_cpp "$LINENO"; then :
3460
# Broken: success on invalid input.
3463
# Passes both tests.
3467
rm -f conftest.err conftest.i conftest.$ac_ext
3470
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3471
rm -f conftest.i conftest.err conftest.$ac_ext
3472
if $ac_preproc_ok; then :
3484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3485
$as_echo "$CPP" >&6; }
3487
for ac_c_preproc_warn_flag in '' yes
3489
# Use a header file that comes with gcc, so configuring glibc
3490
# with a fresh cross-compiler works.
3491
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3492
# <limits.h> exists even on freestanding compilers.
3493
# On the NeXT, cc -E runs the code through the compiler's parser,
3494
# not just through cpp. "Syntax error" is here to catch this case.
3495
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496
/* end confdefs.h. */
3498
# include <limits.h>
3500
# include <assert.h>
3504
if ac_fn_c_try_cpp "$LINENO"; then :
3507
# Broken: fails on valid input.
3510
rm -f conftest.err conftest.i conftest.$ac_ext
3512
# OK, works on sane cases. Now check whether nonexistent headers
3513
# can be detected and how.
3514
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515
/* end confdefs.h. */
3516
#include <ac_nonexistent.h>
3518
if ac_fn_c_try_cpp "$LINENO"; then :
3519
# Broken: success on invalid input.
3522
# Passes both tests.
3526
rm -f conftest.err conftest.i conftest.$ac_ext
3529
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3530
rm -f conftest.i conftest.err conftest.$ac_ext
3531
if $ac_preproc_ok; then :
3534
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3535
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3536
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3537
See \`config.log' for more details" "$LINENO" 5 ; }
3541
ac_cpp='$CPP $CPPFLAGS'
3542
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3543
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3544
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3548
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3549
if test "${ac_cv_path_GREP+set}" = set; then :
3550
$as_echo_n "(cached) " >&6
3552
if test -z "$GREP"; then
3553
ac_path_GREP_found=false
3554
# Loop through the user's path and test for each of PROGNAME-LIST
3555
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3556
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3559
test -z "$as_dir" && as_dir=.
3560
for ac_prog in grep ggrep; do
3561
for ac_exec_ext in '' $ac_executable_extensions; do
3562
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3563
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3564
# Check for GNU ac_path_GREP and select it if it is found.
3565
# Check for GNU $ac_path_GREP
3566
case `"$ac_path_GREP" --version 2>&1` in
3568
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3571
$as_echo_n 0123456789 >"conftest.in"
3574
cat "conftest.in" "conftest.in" >"conftest.tmp"
3575
mv "conftest.tmp" "conftest.in"
3576
cp "conftest.in" "conftest.nl"
3577
$as_echo 'GREP' >> "conftest.nl"
3578
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3579
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3580
as_fn_arith $ac_count + 1 && ac_count=$as_val
3581
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3582
# Best one so far, save it but keep looking for a better one
3583
ac_cv_path_GREP="$ac_path_GREP"
3584
ac_path_GREP_max=$ac_count
3586
# 10*(2^10) chars as input seems more than enough
3587
test $ac_count -gt 10 && break
3589
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3592
$ac_path_GREP_found && break 3
3597
if test -z "$ac_cv_path_GREP"; then
3598
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3601
ac_cv_path_GREP=$GREP
3605
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3606
$as_echo "$ac_cv_path_GREP" >&6; }
3607
GREP="$ac_cv_path_GREP"
3610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3611
$as_echo_n "checking for egrep... " >&6; }
3612
if test "${ac_cv_path_EGREP+set}" = set; then :
3613
$as_echo_n "(cached) " >&6
3615
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3616
then ac_cv_path_EGREP="$GREP -E"
3618
if test -z "$EGREP"; then
3619
ac_path_EGREP_found=false
3620
# Loop through the user's path and test for each of PROGNAME-LIST
3621
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3625
test -z "$as_dir" && as_dir=.
3626
for ac_prog in egrep; do
3627
for ac_exec_ext in '' $ac_executable_extensions; do
3628
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3629
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3630
# Check for GNU ac_path_EGREP and select it if it is found.
3631
# Check for GNU $ac_path_EGREP
3632
case `"$ac_path_EGREP" --version 2>&1` in
3634
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3637
$as_echo_n 0123456789 >"conftest.in"
3640
cat "conftest.in" "conftest.in" >"conftest.tmp"
3641
mv "conftest.tmp" "conftest.in"
3642
cp "conftest.in" "conftest.nl"
3643
$as_echo 'EGREP' >> "conftest.nl"
3644
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3645
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3646
as_fn_arith $ac_count + 1 && ac_count=$as_val
3647
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3648
# Best one so far, save it but keep looking for a better one
3649
ac_cv_path_EGREP="$ac_path_EGREP"
3650
ac_path_EGREP_max=$ac_count
3652
# 10*(2^10) chars as input seems more than enough
3653
test $ac_count -gt 10 && break
3655
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3658
$ac_path_EGREP_found && break 3
3663
if test -z "$ac_cv_path_EGREP"; then
3664
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3667
ac_cv_path_EGREP=$EGREP
3672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3673
$as_echo "$ac_cv_path_EGREP" >&6; }
3674
EGREP="$ac_cv_path_EGREP"
3677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3678
$as_echo_n "checking for ANSI C header files... " >&6; }
3679
if test "${ac_cv_header_stdc+set}" = set; then :
3680
$as_echo_n "(cached) " >&6
3682
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683
/* end confdefs.h. */
3697
if ac_fn_c_try_compile "$LINENO"; then :
3698
ac_cv_header_stdc=yes
3700
ac_cv_header_stdc=no
3702
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3704
if test $ac_cv_header_stdc = yes; then
3705
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3706
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707
/* end confdefs.h. */
3711
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3712
$EGREP "memchr" >/dev/null 2>&1; then :
3715
ac_cv_header_stdc=no
3721
if test $ac_cv_header_stdc = yes; then
3722
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3723
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724
/* end confdefs.h. */
3728
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3729
$EGREP "free" >/dev/null 2>&1; then :
3732
ac_cv_header_stdc=no
3738
if test $ac_cv_header_stdc = yes; then
3739
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3740
if test "$cross_compiling" = yes; then :
3743
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744
/* end confdefs.h. */
3747
#if ((' ' & 0x0FF) == 0x020)
3748
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3749
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3751
# define ISLOWER(c) \
3752
(('a' <= (c) && (c) <= 'i') \
3753
|| ('j' <= (c) && (c) <= 'r') \
3754
|| ('s' <= (c) && (c) <= 'z'))
3755
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3758
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3763
for (i = 0; i < 256; i++)
3764
if (XOR (islower (i), ISLOWER (i))
3765
|| toupper (i) != TOUPPER (i))
3770
if ac_fn_c_try_run "$LINENO"; then :
3773
ac_cv_header_stdc=no
3775
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3776
conftest.$ac_objext conftest.beam conftest.$ac_ext
3781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3782
$as_echo "$ac_cv_header_stdc" >&6; }
3783
if test $ac_cv_header_stdc = yes; then
3785
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3789
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3790
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3791
inttypes.h stdint.h unistd.h
3793
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3794
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3796
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3797
cat >>confdefs.h <<_ACEOF
3798
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3806
for ac_header in stdlib.h stdio.h string.h math.h time.h sys/time.h regex.h alloca.h
3808
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3809
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3810
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3811
cat >>confdefs.h <<_ACEOF
3812
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
3821
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
3822
if test "${ac_cv_header_time+set}" = set; then :
3823
$as_echo_n "(cached) " >&6
3825
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826
/* end confdefs.h. */
3827
#include <sys/types.h>
3828
#include <sys/time.h>
3834
if ((struct tm *) 0)
3840
if ac_fn_c_try_compile "$LINENO"; then :
3841
ac_cv_header_time=yes
3843
ac_cv_header_time=no
3845
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
3848
$as_echo "$ac_cv_header_time" >&6; }
3849
if test $ac_cv_header_time = yes; then
3851
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
3856
### make-depend flags
3857
if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
3869
for ac_header in $ac_header_list
3871
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3872
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3874
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3875
cat >>confdefs.h <<_ACEOF
3876
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3890
for ac_func in getpagesize
3892
ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
3893
if test "x$ac_cv_func_getpagesize" = x""yes; then :
3894
cat >>confdefs.h <<_ACEOF
3895
#define HAVE_GETPAGESIZE 1
3901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
3902
$as_echo_n "checking for working mmap... " >&6; }
3903
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
3904
$as_echo_n "(cached) " >&6
3906
if test "$cross_compiling" = yes; then :
3907
ac_cv_func_mmap_fixed_mapped=no
3909
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910
/* end confdefs.h. */
3911
$ac_includes_default
3912
/* malloc might have been renamed as rpl_malloc. */
3915
/* Thanks to Mike Haertel and Jim Avera for this test.
3916
Here is a matrix of mmap possibilities:
3917
mmap private not fixed
3918
mmap private fixed at somewhere currently unmapped
3919
mmap private fixed at somewhere already mapped
3920
mmap shared not fixed
3921
mmap shared fixed at somewhere currently unmapped
3922
mmap shared fixed at somewhere already mapped
3923
For private mappings, we should verify that changes cannot be read()
3924
back from the file, nor mmap's back from the file at a different
3925
address. (There have been systems where private was not correctly
3926
implemented like the infamous i386 svr4.0, and systems where the
3927
VM page cache was not coherent with the file system buffer cache
3928
like early versions of FreeBSD and possibly contemporary NetBSD.)
3929
For shared mappings, we should conversely verify that changes get
3930
propagated back to all the places they're supposed to be.
3932
Grep wants private fixed already mapped.
3933
The main things grep needs to know about mmap are:
3934
* does it exist and is it safe to write into the mmap'd area
3935
* how to use it (BSD variants) */
3938
#include <sys/mman.h>
3940
#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
3944
/* This mess was copied from the GNU getpagesize.h. */
3945
#ifndef HAVE_GETPAGESIZE
3946
# ifdef _SC_PAGESIZE
3947
# define getpagesize() sysconf(_SC_PAGESIZE)
3948
# else /* no _SC_PAGESIZE */
3949
# ifdef HAVE_SYS_PARAM_H
3950
# include <sys/param.h>
3951
# ifdef EXEC_PAGESIZE
3952
# define getpagesize() EXEC_PAGESIZE
3953
# else /* no EXEC_PAGESIZE */
3955
# define getpagesize() NBPG * CLSIZE
3958
# endif /* no CLSIZE */
3959
# else /* no NBPG */
3961
# define getpagesize() NBPC
3962
# else /* no NBPC */
3964
# define getpagesize() PAGESIZE
3965
# endif /* PAGESIZE */
3966
# endif /* no NBPC */
3967
# endif /* no NBPG */
3968
# endif /* no EXEC_PAGESIZE */
3969
# else /* no HAVE_SYS_PARAM_H */
3970
# define getpagesize() 8192 /* punt totally */
3971
# endif /* no HAVE_SYS_PARAM_H */
3972
# endif /* no _SC_PAGESIZE */
3974
#endif /* no HAVE_GETPAGESIZE */
3979
char *data, *data2, *data3;
3984
pagesize = getpagesize ();
3986
/* First, make a file with some known garbage in it. */
3987
data = (char *) malloc (pagesize);
3990
for (i = 0; i < pagesize; ++i)
3991
*(data + i) = rand ();
3993
fd = creat ("conftest.mmap", 0600);
3996
if (write (fd, data, pagesize) != pagesize)
4000
/* Next, check that the tail of a page is zero-filled. File must have
4001
non-zero length, otherwise we risk SIGBUS for entire page. */
4002
fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4006
if (write (fd2, cdata2, 1) != 1)
4008
data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4009
if (data2 == MAP_FAILED)
4011
for (i = 0; i < pagesize; ++i)
4015
if (munmap (data2, pagesize))
4018
/* Next, try to mmap the file at a fixed address which already has
4019
something else allocated at it. If we can, also make sure that
4020
we see the same garbage. */
4021
fd = open ("conftest.mmap", O_RDWR);
4024
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4025
MAP_PRIVATE | MAP_FIXED, fd, 0L))
4027
for (i = 0; i < pagesize; ++i)
4028
if (*(data + i) != *(data2 + i))
4031
/* Finally, make sure that changes to the mapped area do not
4032
percolate back to the file as seen by read(). (This is a bug on
4033
some variants of i386 svr4.0.) */
4034
for (i = 0; i < pagesize; ++i)
4035
*(data2 + i) = *(data2 + i) + 1;
4036
data3 = (char *) malloc (pagesize);
4039
if (read (fd, data3, pagesize) != pagesize)
4041
for (i = 0; i < pagesize; ++i)
4042
if (*(data + i) != *(data3 + i))
4048
if ac_fn_c_try_run "$LINENO"; then :
4049
ac_cv_func_mmap_fixed_mapped=yes
4051
ac_cv_func_mmap_fixed_mapped=no
4053
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4054
conftest.$ac_objext conftest.beam conftest.$ac_ext
4058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4059
$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4060
if test $ac_cv_func_mmap_fixed_mapped = yes; then
4062
$as_echo "#define HAVE_MMAP 1" >>confdefs.h
4065
rm -f conftest.mmap conftest.txt
4067
for ac_func in select socket strerror
4069
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4070
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4071
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4072
cat >>confdefs.h <<_ACEOF
4073
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4081
# Check whether --enable-fat-binary was given.
4082
if test "${enable_fat_binary+set}" = set; then :
4083
enableval=$enable_fat_binary; fat_binary=$enableval
4088
if test "$fat_binary" != no; then
4089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target architectures" >&5
4090
$as_echo_n "checking target architectures... " >&6; }
4092
# Respect TARGET_ARCHS setting from environment if available.
4093
if test -z "$TARGET_ARCHS"; then
4094
# Respect ARCH given to --enable-fat-binary if present.
4095
if test "$fat_binary" != yes; then
4096
TARGET_ARCHS=`echo "$fat_binary" | tr ',' ' '`
4098
# Choose a default set of architectures based upon platform.
4099
TARGET_ARCHS="ppc i386"
4102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_ARCHS" >&5
4103
$as_echo "$TARGET_ARCHS" >&6; }
4106
# /usr/lib/arch_tool -archify_list $TARGET_ARCHS
4108
for archs in $TARGET_ARCHS
4110
ARCH_FLAG="$ARCH_FLAG -arch $archs"
4113
if test "x$ARCH_FLAG" != "x"; then
4115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts \"$ARCH_FLAG\"" >&5
4116
$as_echo_n "checking whether $CC accepts \"$ARCH_FLAG\"... " >&6; }
4117
cat > conftest.c << EOF
4122
if $CC $CFLAGS $ARCH_FLAG -o conftest.o conftest.c > /dev/null 2>&1
4124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4125
$as_echo "yes" >&6; }
4126
CFLAGS="${CFLAGS} $ARCH_FLAG"
4128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CPP accepts \"$ARCH_FLAG\"" >&5
4129
$as_echo_n "checking whether $CPP accepts \"$ARCH_FLAG\"... " >&6; }
4130
temp_check_cppflags="${CPPFLAGS}"
4131
CPPFLAGS="$ARCH_FLAG ${CPPFLAGS}"
4132
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133
/* end confdefs.h. */
4134
int main(void){return 0;}
4136
if ac_fn_c_try_cpp "$LINENO"; then :
4137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4138
$as_echo "yes" >&6; }
4140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4141
$as_echo "no" >&6; }; CPPFLAGS="${temp_check_cppflags}"
4143
rm -f conftest.err conftest.i conftest.$ac_ext
4147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148
$as_echo "no" >&6; }
4154
if test "x$ARCH_FLAG" != "x"; then
4156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts \"$ARCH_FLAG\"" >&5
4157
$as_echo_n "checking whether linker accepts \"$ARCH_FLAG\"... " >&6; }
4158
temp_check_ldflags_org="${LDFLAGS}"
4159
LDFLAGS="$ARCH_FLAG ${LDFLAGS}"
4161
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162
/* end confdefs.h. */
4172
if ac_fn_c_try_link "$LINENO"; then :
4173
temp_check_ldflags_success="yes"
4175
temp_check_ldflags_success="no"
4177
rm -f core conftest.err conftest.$ac_objext \
4178
conftest$ac_exeext conftest.$ac_ext
4180
if test "x$temp_check_ldflags_success" = "xyes"; then
4181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4182
$as_echo "yes" >&6; }
4185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4186
$as_echo "no" >&6; }
4187
LDFLAGS="$temp_check_ldflags_org"
4199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts \"-mms-bitfields\"" >&5
4200
$as_echo_n "checking whether $CC accepts \"-mms-bitfields\"... " >&6; }
4201
cat > conftest.c << EOF
4206
if $CC $CFLAGS -mms-bitfields -o conftest.o conftest.c > /dev/null 2>&1
4208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4209
$as_echo "yes" >&6; }
4210
CFLAGS="${CFLAGS} -mms-bitfields"
4212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CPP accepts \"-mms-bitfields\"" >&5
4213
$as_echo_n "checking whether $CPP accepts \"-mms-bitfields\"... " >&6; }
4214
temp_check_cppflags="${CPPFLAGS}"
4215
CPPFLAGS="-mms-bitfields ${CPPFLAGS}"
4216
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217
/* end confdefs.h. */
4218
int main(void){return 0;}
4220
if ac_fn_c_try_cpp "$LINENO"; then :
4221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4222
$as_echo "yes" >&6; }
4224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4225
$as_echo "no" >&6; }; CPPFLAGS="${temp_check_cppflags}"
4227
rm -f conftest.err conftest.i conftest.$ac_ext
4231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232
$as_echo "no" >&6; }
4237
if test "x$enable_PIC" != "xno"; then
4239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts \"-fPIC\"" >&5
4240
$as_echo_n "checking whether $CC accepts \"-fPIC\"... " >&6; }
4241
cat > conftest.c << EOF
4246
if $CC $CFLAGS -fPIC -o conftest.o conftest.c > /dev/null 2>&1
4248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4249
$as_echo "yes" >&6; }
4250
CFLAGS="${CFLAGS} -fPIC"
4252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CPP accepts \"-fPIC\"" >&5
4253
$as_echo_n "checking whether $CPP accepts \"-fPIC\"... " >&6; }
4254
temp_check_cppflags="${CPPFLAGS}"
4255
CPPFLAGS="-fPIC ${CPPFLAGS}"
4256
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257
/* end confdefs.h. */
4258
int main(void){return 0;}
4260
if ac_fn_c_try_cpp "$LINENO"; then :
4261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4262
$as_echo "yes" >&6; }
4264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4265
$as_echo "no" >&6; }; CPPFLAGS="${temp_check_cppflags}"
4267
rm -f conftest.err conftest.i conftest.$ac_ext
4271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272
$as_echo "no" >&6; }
4279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts \"-mfpmath=sse -msse\"" >&5
4280
$as_echo_n "checking whether $CC accepts \"-mfpmath=sse -msse\"... " >&6; }
4281
cat > conftest.c << EOF
4286
if $CC $CFLAGS -mfpmath=sse -msse -o conftest.o conftest.c > /dev/null 2>&1
4288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4289
$as_echo "yes" >&6; }
4290
CFLAGS="${CFLAGS} -mfpmath=sse -msse"
4292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CPP accepts \"-mfpmath=sse -msse\"" >&5
4293
$as_echo_n "checking whether $CPP accepts \"-mfpmath=sse -msse\"... " >&6; }
4294
temp_check_cppflags="${CPPFLAGS}"
4295
CPPFLAGS="-mfpmath=sse -msse ${CPPFLAGS}"
4296
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297
/* end confdefs.h. */
4298
int main(void){return 0;}
4300
if ac_fn_c_try_cpp "$LINENO"; then :
4301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4302
$as_echo "yes" >&6; }
4304
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4305
$as_echo "no" >&6; }; CPPFLAGS="${temp_check_cppflags}"
4307
rm -f conftest.err conftest.i conftest.$ac_ext
4311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4312
$as_echo "no" >&6; }
4317
if test "x$LD" = "x"
4319
if test "x$host" != "x"
4322
if $(which ${LD} > /dev/null)
4334
if test "x$STRIP" = "x"
4336
if test "x$host" != "x"
4339
if $(which ${host}-strip > /dev/null)
4343
STRIP="echo fake strip"
4351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking \"pd>=0.37\"" >&5
4352
$as_echo_n "checking \"pd>=0.37\"... " >&6; }
4354
if test "$with_pdversion" != ""
4356
echo -n "($with_pdversion)... "
4357
PD_VERSION="$with_pdversion"
4359
if test "x$cross_compiling" = "xno"
4362
cat > conftest.c << EOF
4366
printf("%d.%d\n", PD_MAJOR_VERSION, PD_MINOR_VERSION);
4370
if $CC $CFLAGS -o conftest.o conftest.c > /dev/null 2>&1
4372
PD_VERSION=$(./conftest.o)
4382
let PD_MAJORVERSION=$(echo $PD_VERSION | cut -d"." -f1)+0
4383
let PD_MINORVERSION=$(echo $PD_VERSION | cut -d"." -f2)+0
4385
if test "$PD_MAJORVERSION" -gt 0 || test "$PD_MINORVERSION" -ge 37
4387
REFERENCEPATH=extra/
4390
REFERENCEPATH=doc/5.reference/
4394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking \"zexy-version\"" >&5
4395
$as_echo_n "checking \"zexy-version\"... " >&6; }
4397
if test "$with_version" != ""
4399
echo -n "($with_version)...forced "
4400
LIBRARY_VERSION="$with_version"
4402
if test "x$cross_compiling" = "xno"
4404
cat > conftest.c << EOF
4408
printf("%s\n", VERSION);
4413
if $CC $CFLAGS $LDFLAGS -o conftest.o conftest.c > /dev/null 2>&1
4415
LIBRARY_VERSION=$(./conftest.o)
4416
echo "$LIBRARY_VERSION"
4429
if test x${KERN} = xLinux;
4432
STRIPFLAGS="--strip-unneeded"
4435
if test x${KERN} = xDarwin;
4439
STRIP="echo faking strip"
4442
if test "$enable_lpt" = "yes"; then
4443
as_fn_error $? "\"lpt not supported on this platform\"" "$LINENO" 5 ;
4445
if test "$enable_lpt" = ""; then
4446
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"lpt not supported on this platform - disabling\"" >&5
4447
$as_echo "$as_me: WARNING: \"lpt not supported on this platform - disabling\"" >&2;};
4454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts \"-shared -Wl,--export-dynamic\"" >&5
4455
$as_echo_n "checking whether linker accepts \"-shared -Wl,--export-dynamic\"... " >&6; }
4456
temp_check_ldflags_org="${LDFLAGS}"
4457
LDFLAGS="-shared -Wl,--export-dynamic ${LDFLAGS}"
4459
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4460
/* end confdefs.h. */
4470
if ac_fn_c_try_link "$LINENO"; then :
4471
temp_check_ldflags_success="yes"
4473
temp_check_ldflags_success="no"
4475
rm -f core conftest.err conftest.$ac_objext \
4476
conftest$ac_exeext conftest.$ac_ext
4478
if test "x$temp_check_ldflags_success" = "xyes"; then
4479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4480
$as_echo "yes" >&6; }
4483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484
$as_echo "no" >&6; }
4485
LDFLAGS="$temp_check_ldflags_org"
4492
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts \"-bundle -mmacosx-version-min=10.3 -undefined dynamic_lookup\"" >&5
4493
$as_echo_n "checking whether linker accepts \"-bundle -mmacosx-version-min=10.3 -undefined dynamic_lookup\"... " >&6; }
4494
temp_check_ldflags_org="${LDFLAGS}"
4495
LDFLAGS="-bundle -mmacosx-version-min=10.3 -undefined dynamic_lookup ${LDFLAGS}"
4497
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4498
/* end confdefs.h. */
4508
if ac_fn_c_try_link "$LINENO"; then :
4509
temp_check_ldflags_success="yes"
4511
temp_check_ldflags_success="no"
4513
rm -f core conftest.err conftest.$ac_objext \
4514
conftest$ac_exeext conftest.$ac_ext
4516
if test "x$temp_check_ldflags_success" = "xyes"; then
4517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4518
$as_echo "yes" >&6; }
4521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522
$as_echo "no" >&6; }
4523
LDFLAGS="$temp_check_ldflags_org"
4525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts \"-dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup\"" >&5
4526
$as_echo_n "checking whether linker accepts \"-dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup\"... " >&6; }
4527
temp_check_ldflags_org="${LDFLAGS}"
4528
LDFLAGS="-dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup ${LDFLAGS}"
4530
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531
/* end confdefs.h. */
4541
if ac_fn_c_try_link "$LINENO"; then :
4542
temp_check_ldflags_success="yes"
4544
temp_check_ldflags_success="no"
4546
rm -f core conftest.err conftest.$ac_objext \
4547
conftest$ac_exeext conftest.$ac_ext
4549
if test "x$temp_check_ldflags_success" = "xyes"; then
4550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4551
$as_echo "yes" >&6; }
4554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555
$as_echo "no" >&6; }
4556
LDFLAGS="$temp_check_ldflags_org"
4558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts \"-bundle -undefined suppress -flat_namespace\"" >&5
4559
$as_echo_n "checking whether linker accepts \"-bundle -undefined suppress -flat_namespace\"... " >&6; }
4560
temp_check_ldflags_org="${LDFLAGS}"
4561
LDFLAGS="-bundle -undefined suppress -flat_namespace ${LDFLAGS}"
4563
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564
/* end confdefs.h. */
4574
if ac_fn_c_try_link "$LINENO"; then :
4575
temp_check_ldflags_success="yes"
4577
temp_check_ldflags_success="no"
4579
rm -f core conftest.err conftest.$ac_objext \
4580
conftest$ac_exeext conftest.$ac_ext
4582
if test "x$temp_check_ldflags_success" = "xyes"; then
4583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4584
$as_echo "yes" >&6; }
4587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4588
$as_echo "no" >&6; }
4589
LDFLAGS="$temp_check_ldflags_org"
4603
if test x${KERN} = xIRIX64; then
4604
LDFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \
4605
-OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \
4606
-shared -rdata_shared"
4608
STRIPFLAGS="--strip-unneeded"
4609
if test "$enable_lpt" = "yes"; then
4610
as_fn_error $? "\"lpt not supported on this platform\"" "$LINENO" 5 ;
4612
if test "$enable_lpt" = ""; then
4613
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"lpt not supported on this platform - disabling\"" >&5
4614
$as_echo "$as_me: WARNING: \"lpt not supported on this platform - disabling\"" >&2;};
4619
if test x${KERN} = xIRIX32;
4621
LDFLAGS="-o32 -DUNIX -DIRIX -O2
4622
-shared -rdata_shared"
4624
STRIPFLAGS="--strip-unneeded"
4625
if test "$enable_lpt" = "yes"; then
4626
as_fn_error $? "\"lpt not supported on this platform\"" "$LINENO" 5 ;
4628
if test "$enable_lpt" = ""; then
4629
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"lpt not supported on this platform - disabling\"" >&5
4630
$as_echo "$as_me: WARNING: \"lpt not supported on this platform - disabling\"" >&2;};
4636
if test "x$with_extension" != "x"
4641
for ac_header in linux/ppdev.h
4643
ac_fn_c_check_header_mongrel "$LINENO" "linux/ppdev.h" "ac_cv_header_linux_ppdev_h" "$ac_includes_default"
4644
if test "x$ac_cv_header_linux_ppdev_h" = x""yes; then :
4645
cat >>confdefs.h <<_ACEOF
4646
#define HAVE_LINUX_PPDEV_H 1
4656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking \"parallel-port\"" >&5
4657
$as_echo_n "checking \"parallel-port\"... " >&6; }
4658
if test "$enable_lpt" != "no"
4660
if test "$enable_lpt" = "yes"
4662
$as_echo "#define Z_WANT_LPT 1" >>confdefs.h
4667
cat > conftest.c << EOF
4668
# include <sys/io.h>
4670
ioperm(0x3bc, 8, 1);
4672
ioperm(0x3bc, 8, 0);
4677
if $CC $CFLAGS -o conftest.o conftest.c > /dev/null 2>&1
4679
$as_echo "#define Z_WANT_LPT 1" >>confdefs.h
4681
if test "x$have_ppdev" = "xyes"
4683
echo "yes (with device-support)"
4696
for ac_header in m_pd.h
4698
ac_fn_c_check_header_mongrel "$LINENO" "m_pd.h" "ac_cv_header_m_pd_h" "$ac_includes_default"
4699
if test "x$ac_cv_header_m_pd_h" = x""yes; then :
4700
cat >>confdefs.h <<_ACEOF
4701
#define HAVE_M_PD_H 1
4705
as_fn_error $? "m_pd.h is desperately needed!
4706
install pd and/or use
4707
\"--with-pd=</path/to/pd/>\" or
4708
\"--includedir=</path/to/pd/src/>\"" "$LINENO" 5
4715
ac_config_files="$ac_config_files Make.config"
4717
cat >confcache <<\_ACEOF
4718
# This file is a shell script that caches the results of configure
4719
# tests run on this system so they can be shared between configure
4720
# scripts and configure runs, see configure's option --config-cache.
4721
# It is not useful on other systems. If it contains results you don't
4722
# want to keep, you may remove or edit it.
4724
# config.status only pays attention to the cache file if you give it
4725
# the --recheck option to rerun configure.
4727
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4728
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4733
# The following way of writing the cache mishandles newlines in values,
4734
# but we know of no workaround that is simple, portable, and efficient.
4735
# So, we kill variables containing newlines.
4736
# Ultrix sh set writes to stderr and can't be redirected directly,
4737
# and sets the high bit in the cache file unless we assign to the vars.
4739
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4740
eval ac_val=\$$ac_var
4744
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4745
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4748
_ | IFS | as_nl) ;; #(
4749
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4750
*) { eval $ac_var=; unset $ac_var;} ;;
4756
case $as_nl`(ac_space=' '; set) 2>&1` in #(
4757
*${as_nl}ac_space=\ *)
4758
# `set' does not quote correctly, so add quotes: double-quote
4759
# substitution turns \\\\ into \\, and sed turns \\ into \.
4762
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4765
# `set' quotes correctly as required by POSIX, so do not add quotes.
4766
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4775
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4777
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4779
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4780
if test -w "$cache_file"; then
4781
test "x$cache_file" != "x/dev/null" &&
4782
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4783
$as_echo "$as_me: updating cache $cache_file" >&6;}
4784
cat confcache >$cache_file
4786
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4787
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4792
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4793
# Let make expand exec_prefix.
4794
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4796
DEFS=-DHAVE_CONFIG_H
4801
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4802
# 1. Remove the extension, and $U if already installed.
4803
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4804
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4805
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4806
# will be set to the directory where LIBOBJS objects are built.
4807
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4808
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4812
LTLIBOBJS=$ac_ltlibobjs
4816
: ${CONFIG_STATUS=./config.status}
4818
ac_clean_files_save=$ac_clean_files
4819
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4820
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4821
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4823
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4825
# Generated by $as_me.
4826
# Run this file to recreate the current configuration.
4827
# Compiler output produced by configure, useful for debugging
4828
# configure, is in config.log if it exists.
4834
SHELL=\${CONFIG_SHELL-$SHELL}
4837
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4838
## -------------------- ##
4839
## M4sh Initialization. ##
4840
## -------------------- ##
4842
# Be more Bourne compatible
4843
DUALCASE=1; export DUALCASE # for MKS sh
4844
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4847
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4848
# is contrary to our usage. Disable this feature.
4849
alias -g '${1+"$@"}'='"$@"'
4850
setopt NO_GLOB_SUBST
4852
case `(set -o) 2>/dev/null` in #(
4864
# Printing a long string crashes Solaris 7 /usr/bin/printf.
4865
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4866
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4867
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4868
# Prefer a ksh shell builtin over an external printf program on Solaris,
4869
# but without wasting forks for bash or zsh.
4870
if test -z "$BASH_VERSION$ZSH_VERSION" \
4871
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4872
as_echo='print -r --'
4873
as_echo_n='print -rn --'
4874
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4875
as_echo='printf %s\n'
4876
as_echo_n='printf %s'
4878
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4879
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4880
as_echo_n='/usr/ucb/echo -n'
4882
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4883
as_echo_n_body='eval
4887
expr "X$arg" : "X\\(.*\\)$as_nl";
4888
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4890
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4892
export as_echo_n_body
4893
as_echo_n='sh -c $as_echo_n_body as_echo'
4896
as_echo='sh -c $as_echo_body as_echo'
4899
# The user is always right.
4900
if test "${PATH_SEPARATOR+set}" != set; then
4902
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4903
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4910
# We need space, tab and new line, in precisely that order. Quoting is
4911
# there to prevent editors from complaining about space-tab.
4912
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4913
# splitting by setting IFS to empty value.)
4916
# Find who we are. Look in the path if we contain no directory separator.
4918
*[\\/]* ) as_myself=$0 ;;
4919
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923
test -z "$as_dir" && as_dir=.
4924
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4930
# We did not find ourselves, most probably we were run as `sh COMMAND'
4931
# in which case we are not to be found in the path.
4932
if test "x$as_myself" = x; then
4935
if test ! -f "$as_myself"; then
4936
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4940
# Unset variables that we do not need and which cause bugs (e.g. in
4941
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4942
# suppresses any "Segmentation fault" message there. '((' could
4943
# trigger a bug in pdksh 5.2.14.
4944
for as_var in BASH_ENV ENV MAIL MAILPATH
4945
do eval test x\${$as_var+set} = xset \
4946
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4959
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4962
# as_fn_error STATUS ERROR [LINENO LOG_FD]
4963
# ----------------------------------------
4964
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4965
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4966
# script with STATUS, using 1 if that was 0.
4969
as_status=$1; test $as_status -eq 0 && as_status=1
4971
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4972
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4974
$as_echo "$as_me: error: $2" >&2
4975
as_fn_exit $as_status
4979
# as_fn_set_status STATUS
4980
# -----------------------
4981
# Set $? to STATUS, without forking.
4985
} # as_fn_set_status
4989
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4999
# Portably unset VAR.
5002
{ eval $1=; unset $1;}
5004
as_unset=as_fn_unset
5005
# as_fn_append VAR VALUE
5006
# ----------------------
5007
# Append the text in VALUE to the end of the definition contained in VAR. Take
5008
# advantage of any shell optimizations that allow amortized linear growth over
5009
# repeated appends, instead of the typical quadratic growth present in naive
5011
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5012
eval 'as_fn_append ()
5023
# as_fn_arith ARG...
5024
# ------------------
5025
# Perform arithmetic evaluation on the ARGs, and store the result in the
5026
# global $as_val. Take advantage of shells that can avoid forks. The arguments
5027
# must be portable across $(()) and expr.
5028
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5029
eval 'as_fn_arith ()
5036
as_val=`expr "$@" || test $? -eq 1`
5041
if expr a : '\(a\)' >/dev/null 2>&1 &&
5042
test "X`expr 00001 : '.*\(...\)'`" = X001; then
5048
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5049
as_basename=basename
5054
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5060
as_me=`$as_basename -- "$0" ||
5061
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5062
X"$0" : 'X\(//\)$' \| \
5063
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5065
sed '/^.*\/\([^/][^/]*\)\/*$/{
5079
# Avoid depending upon Character Ranges.
5080
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5081
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5082
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5083
as_cr_digits='0123456789'
5084
as_cr_alnum=$as_cr_Letters$as_cr_digits
5086
ECHO_C= ECHO_N= ECHO_T=
5087
case `echo -n x` in #(((((
5089
case `echo 'xy\c'` in
5090
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
5092
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5099
rm -f conf$$ conf$$.exe conf$$.file
5100
if test -d conf$$.dir; then
5101
rm -f conf$$.dir/conf$$.file
5104
mkdir conf$$.dir 2>/dev/null
5106
if (echo >conf$$.file) 2>/dev/null; then
5107
if ln -s conf$$.file conf$$ 2>/dev/null; then
5109
# ... but there are two gotchas:
5110
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5111
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5112
# In both cases, we have to default to `cp -p'.
5113
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5115
elif ln conf$$.file conf$$ 2>/dev/null; then
5123
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5124
rmdir conf$$.dir 2>/dev/null
5129
# Create "$as_dir" as a directory, including parents if necessary.
5134
-*) as_dir=./$as_dir;;
5136
test -d "$as_dir" || eval $as_mkdir_p || {
5140
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5141
*) as_qdir=$as_dir;;
5143
as_dirs="'$as_qdir' $as_dirs"
5144
as_dir=`$as_dirname -- "$as_dir" ||
5145
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5146
X"$as_dir" : 'X\(//\)[^/]' \| \
5147
X"$as_dir" : 'X\(//\)$' \| \
5148
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5149
$as_echo X"$as_dir" |
5150
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5167
test -d "$as_dir" && break
5169
test -z "$as_dirs" || eval "mkdir $as_dirs"
5170
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5174
if mkdir -p . 2>/dev/null; then
5175
as_mkdir_p='mkdir -p "$as_dir"'
5177
test -d ./-p && rmdir ./-p
5181
if test -x / >/dev/null 2>&1; then
5184
if ls -dL / >/dev/null 2>&1; then
5191
if test -d "$1"; then
5197
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5198
???[sx]*):;;*)false;;esac;fi
5202
as_executable_p=$as_test_x
5204
# Sed expression to map a string onto a valid CPP name.
5205
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5207
# Sed expression to map a string onto a valid variable name.
5208
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5212
## ----------------------------------- ##
5213
## Main body of $CONFIG_STATUS script. ##
5214
## ----------------------------------- ##
5216
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5218
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5219
# Save the log message, to keep $0 and so on meaningful, and to
5220
# report actual input values of CONFIG_FILES etc. instead of their
5221
# values after options handling.
5223
This file was extended by $as_me, which was
5224
generated by GNU Autoconf 2.67. Invocation command line was
5226
CONFIG_FILES = $CONFIG_FILES
5227
CONFIG_HEADERS = $CONFIG_HEADERS
5228
CONFIG_LINKS = $CONFIG_LINKS
5229
CONFIG_COMMANDS = $CONFIG_COMMANDS
5232
on `(hostname || uname -n) 2>/dev/null | sed 1q`
5237
case $ac_config_files in *"
5238
"*) set x $ac_config_files; shift; ac_config_files=$*;;
5241
case $ac_config_headers in *"
5242
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5246
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5247
# Files that config.status was made for.
5248
config_files="$ac_config_files"
5249
config_headers="$ac_config_headers"
5253
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5255
\`$as_me' instantiates files and other configuration actions
5256
from templates according to the current configuration. Unless the files
5257
and actions are specified as TAGs, all are instantiated by default.
5259
Usage: $0 [OPTION]... [TAG]...
5261
-h, --help print this help, then exit
5262
-V, --version print version number and configuration settings, then exit
5263
--config print configuration, then exit
5264
-q, --quiet, --silent
5265
do not print progress messages
5266
-d, --debug don't remove temporary files
5267
--recheck update $as_me by reconfiguring in the same conditions
5268
--file=FILE[:TEMPLATE]
5269
instantiate the configuration file FILE
5270
--header=FILE[:TEMPLATE]
5271
instantiate the configuration header FILE
5273
Configuration files:
5276
Configuration headers:
5279
Report bugs to the package provider."
5282
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5283
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5286
configured by $0, generated by GNU Autoconf 2.67,
5287
with options \\"\$ac_cs_config\\"
5289
Copyright (C) 2010 Free Software Foundation, Inc.
5290
This config.status script is free software; the Free Software Foundation
5291
gives unlimited permission to copy, distribute and modify it."
5295
test -n "\$AWK" || AWK=awk
5298
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5299
# The default lists apply if the user does not specify any file.
5305
ac_option=`expr "X$1" : 'X\([^=]*\)='`
5306
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5310
ac_option=`expr "X$1" : 'X\([^=]*\)='`
5322
# Handling of the options.
5323
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5325
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5326
$as_echo "$ac_cs_version"; exit ;;
5327
--config | --confi | --conf | --con | --co | --c )
5328
$as_echo "$ac_cs_config"; exit ;;
5329
--debug | --debu | --deb | --de | --d | -d )
5331
--file | --fil | --fi | --f )
5334
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5335
'') as_fn_error $? "missing file argument" ;;
5337
as_fn_append CONFIG_FILES " '$ac_optarg'"
5338
ac_need_defaults=false;;
5339
--header | --heade | --head | --hea )
5342
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5344
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5345
ac_need_defaults=false;;
5347
# Conflict between --help and --header
5348
as_fn_error $? "ambiguous option: \`$1'
5349
Try \`$0 --help' for more information.";;
5350
--help | --hel | -h )
5351
$as_echo "$ac_cs_usage"; exit ;;
5352
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
5353
| -silent | --silent | --silen | --sile | --sil | --si | --s)
5357
-*) as_fn_error $? "unrecognized option: \`$1'
5358
Try \`$0 --help' for more information." ;;
5360
*) as_fn_append ac_config_targets " $1"
5361
ac_need_defaults=false ;;
5367
ac_configure_extra_args=
5369
if $ac_cs_silent; then
5371
ac_configure_extra_args="$ac_configure_extra_args --silent"
5375
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5376
if \$ac_cs_recheck; then
5377
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5379
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5380
CONFIG_SHELL='$SHELL'
5386
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5390
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5391
## Running $as_me. ##
5397
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5400
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5402
# Handling of arguments.
5403
for ac_config_target in $ac_config_targets
5405
case $ac_config_target in
5406
"zexyconf.h") CONFIG_HEADERS="$CONFIG_HEADERS zexyconf.h" ;;
5407
"Make.config") CONFIG_FILES="$CONFIG_FILES Make.config" ;;
5409
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5414
# If the user did not use the arguments to specify the items to instantiate,
5415
# then the envvar interface is used. Set only those that are not.
5416
# We use the long form for the default assignment because of an extremely
5417
# bizarre bug on SunOS 4.1.3.
5418
if $ac_need_defaults; then
5419
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5420
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5423
# Have a temporary directory for convenience. Make it in the build tree
5424
# simply because there is no reason against having it here, and in addition,
5425
# creating and moving files from /tmp can sometimes cause problems.
5426
# Hook for its removal unless debugging.
5427
# Note that there is a small window in which the directory will not be cleaned:
5428
# after its creation but before its name has been assigned to `$tmp'.
5432
trap 'exit_status=$?
5433
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5435
trap 'as_fn_exit 1' 1 2 13 15
5437
# Create a (secure) tmp directory for tmp files.
5440
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5441
test -n "$tmp" && test -d "$tmp"
5444
tmp=./conf$$-$RANDOM
5445
(umask 077 && mkdir "$tmp")
5446
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5448
# Set up the scripts for CONFIG_FILES section.
5449
# No need to generate them if there are no CONFIG_FILES.
5450
# This happens for instance with `./config.status config.h'.
5451
if test -n "$CONFIG_FILES"; then
5454
ac_cr=`echo X | tr X '\015'`
5455
# On cygwin, bash can eat \r inside `` if the user requested igncr.
5456
# But we know of no other shell where ac_cr would be empty at this
5457
# point, so we can use a bashism as a fallback.
5458
if test "x$ac_cr" = x; then
5459
eval ac_cr=\$\'\\r\'
5461
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5462
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5468
echo 'BEGIN {' >"$tmp/subs1.awk" &&
5473
echo "cat >conf$$subs.awk <<_ACEOF" &&
5474
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5477
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5478
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5480
for ac_last_try in false false false false false :; do
5481
. ./conf$$subs.sh ||
5482
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5484
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5485
if test $ac_delim_n = $ac_delim_num; then
5487
elif $ac_last_try; then
5488
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5490
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5495
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5496
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5500
s/^/S["/; s/!.*/"]=/
5510
s/\(.\{148\}\)..*/\1/
5512
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5517
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5524
s/\(.\{148\}\)..*/\1/
5526
s/["\\]/\\&/g; s/^/"/; s/$/"/
5530
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5535
' <conf$$subs.awk | sed '
5540
' >>$CONFIG_STATUS || ac_write_fail=1
5541
rm -f conf$$subs.awk
5542
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5544
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5545
for (key in S) S_is_set[key] = 1
5551
nfields = split(line, field, "@")
5553
len = length(field[1])
5554
for (i = 2; i < nfields; i++) {
5556
keylen = length(key)
5557
if (S_is_set[key]) {
5559
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5560
len += length(value) + length(field[++i])
5571
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5572
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5573
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5576
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5577
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5580
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5581
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5582
# trailing colons and then remove the whole line if VPATH becomes empty
5583
# (actually we leave an empty line to preserve line numbers).
5584
if test "x$srcdir" = x.; then
5585
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5603
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5604
fi # test -n "$CONFIG_FILES"
5606
# Set up the scripts for CONFIG_HEADERS section.
5607
# No need to generate them if there are no CONFIG_HEADERS.
5608
# This happens for instance with `./config.status Makefile'.
5609
if test -n "$CONFIG_HEADERS"; then
5610
cat >"$tmp/defines.awk" <<\_ACAWK ||
5614
# Transform confdefs.h into an awk script `defines.awk', embedded as
5615
# here-document in config.status, that substitutes the proper values into
5616
# config.h.in to produce config.h.
5618
# Create a delimiter string that does not exist in confdefs.h, to ease
5619
# handling of long lines.
5621
for ac_last_try in false false :; do
5622
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5623
if test -z "$ac_t"; then
5625
elif $ac_last_try; then
5626
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5628
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5632
# For the awk script, D is an array of macro values keyed by name,
5633
# likewise P contains macro parameters if any. Preserve backslash
5634
# newline sequences.
5636
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5638
s/.\{148\}/&'"$ac_delim"'/g
5641
s/^[ ]*#[ ]*define[ ][ ]*/ /
5648
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5650
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5654
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5655
D["\1"]=" \3\\\\\\n"\\/p
5657
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5662
s/.\{148\}/&'"$ac_delim"'/g
5667
s/["\\]/\\&/g; s/^/"/; s/$/"/p
5670
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5672
' <confdefs.h | sed '
5673
s/'"$ac_delim"'/"\\\
5674
"/g' >>$CONFIG_STATUS || ac_write_fail=1
5676
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5677
for (key in D) D_is_set[key] = 1
5680
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5682
split(line, arg, " ")
5683
if (arg[1] == "#") {
5687
defundef = substr(arg[1], 2)
5690
split(mac1, mac2, "(") #)
5692
prefix = substr(line, 1, index(line, defundef) - 1)
5693
if (D_is_set[macro]) {
5694
# Preserve the white space surrounding the "#".
5695
print prefix "define", macro P[macro] D[macro]
5698
# Replace #undef with comments. This is necessary, for example,
5699
# in the case of _POSIX_SOURCE, which is predefined and required
5700
# on some systems where configure will not decide to define it.
5701
if (defundef == "undef") {
5702
print "/*", prefix defundef, macro, "*/"
5710
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5711
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5712
fi # test -n "$CONFIG_HEADERS"
5715
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5720
:[FHLC]) ac_mode=$ac_tag; continue;;
5722
case $ac_mode$ac_tag in
5724
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
5725
:[FH]-) ac_tag=-:-;;
5726
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5743
-) ac_f="$tmp/stdin";;
5744
*) # Look for the file first in the build tree, then in the source tree
5745
# (if the path is not absolute). The absolute path cannot be DOS-style,
5746
# because $ac_f cannot contain `:'.
5750
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5752
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
5754
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5755
as_fn_append ac_file_inputs " '$ac_f'"
5758
# Let's still pretend it is `configure' which instantiates (i.e., don't
5759
# use $as_me), people would be surprised to read:
5760
# /* config.h. Generated by config.status. */
5761
configure_input='Generated from '`
5762
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5764
if test x"$ac_file" != x-; then
5765
configure_input="$ac_file. $configure_input"
5766
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5767
$as_echo "$as_me: creating $ac_file" >&6;}
5769
# Neutralize special characters interpreted by sed in replacement strings.
5770
case $configure_input in #(
5771
*\&* | *\|* | *\\* )
5772
ac_sed_conf_input=`$as_echo "$configure_input" |
5773
sed 's/[\\\\&|]/\\\\&/g'`;; #(
5774
*) ac_sed_conf_input=$configure_input;;
5778
*:-:* | *:-) cat >"$tmp/stdin" \
5779
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5784
ac_dir=`$as_dirname -- "$ac_file" ||
5785
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5786
X"$ac_file" : 'X\(//\)[^/]' \| \
5787
X"$ac_file" : 'X\(//\)$' \| \
5788
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5789
$as_echo X"$ac_file" |
5790
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5807
as_dir="$ac_dir"; as_fn_mkdir_p
5811
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5813
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5814
# A ".." for each directory in $ac_dir_suffix.
5815
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5816
case $ac_top_builddir_sub in
5817
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5818
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5821
ac_abs_top_builddir=$ac_pwd
5822
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5823
# for backward compatibility:
5824
ac_top_builddir=$ac_top_build_prefix
5827
.) # We are building in place.
5829
ac_top_srcdir=$ac_top_builddir_sub
5830
ac_abs_top_srcdir=$ac_pwd ;;
5831
[\\/]* | ?:[\\/]* ) # Absolute name.
5832
ac_srcdir=$srcdir$ac_dir_suffix;
5833
ac_top_srcdir=$srcdir
5834
ac_abs_top_srcdir=$srcdir ;;
5836
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5837
ac_top_srcdir=$ac_top_build_prefix$srcdir
5838
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5840
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5851
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5852
# If the template does not know about datarootdir, expand it.
5853
# FIXME: This hack should be removed a few years after 2.60.
5854
ac_datarootdir_hack=; ac_datarootdir_seen=
5865
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5866
*datarootdir*) ac_datarootdir_seen=yes;;
5867
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5868
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5869
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5871
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5872
ac_datarootdir_hack='
5873
s&@datadir@&$datadir&g
5874
s&@docdir@&$docdir&g
5875
s&@infodir@&$infodir&g
5876
s&@localedir@&$localedir&g
5877
s&@mandir@&$mandir&g
5878
s&\\\${datarootdir}&$datarootdir&g' ;;
5882
# Neutralize VPATH when `$srcdir' = `.'.
5883
# Shell code in configure.ac might set extrasub.
5884
# FIXME: do we really want to maintain this feature?
5885
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5886
ac_sed_extra="$ac_vpsub
5889
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5891
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5892
s|@configure_input@|$ac_sed_conf_input|;t t
5893
s&@top_builddir@&$ac_top_builddir_sub&;t t
5894
s&@top_build_prefix@&$ac_top_build_prefix&;t t
5895
s&@srcdir@&$ac_srcdir&;t t
5896
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5897
s&@top_srcdir@&$ac_top_srcdir&;t t
5898
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5899
s&@builddir@&$ac_builddir&;t t
5900
s&@abs_builddir@&$ac_abs_builddir&;t t
5901
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5902
$ac_datarootdir_hack
5904
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5905
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
5907
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5908
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5909
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5910
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5911
which seems to be undefined. Please make sure it is defined" >&5
5912
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5913
which seems to be undefined. Please make sure it is defined" >&2;}
5917
-) cat "$tmp/out" && rm -f "$tmp/out";;
5918
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5920
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
5926
if test x"$ac_file" != x-; then
5928
$as_echo "/* $configure_input */" \
5929
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5930
} >"$tmp/config.h" \
5931
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
5932
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5933
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5934
$as_echo "$as_me: $ac_file is unchanged" >&6;}
5937
mv "$tmp/config.h" "$ac_file" \
5938
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
5941
$as_echo "/* $configure_input */" \
5942
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5943
|| as_fn_error $? "could not create -" "$LINENO" 5
5955
ac_clean_files=$ac_clean_files_save
5957
test $ac_write_fail = 0 ||
5958
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5961
# configure is writing to config.log, and then calls config.status.
5962
# config.status does its own redirection, appending to config.log.
5963
# Unfortunately, on DOS this fails, as config.log is still kept open
5964
# by configure, so config.status won't be able to write to it; its
5965
# output is simply discarded. So we exec the FD to /dev/null,
5966
# effectively closing config.log, so it can be properly (re)opened and
5967
# appended to by config.status. When coming back to configure, we
5968
# need to make the FD available again.
5969
if test "$no_create" != yes; then
5971
ac_config_status_args=
5972
test "$silent" = yes &&
5973
ac_config_status_args="$ac_config_status_args --quiet"
5975
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5977
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5978
# would make configure fail if this is the last instruction.
5979
$ac_cs_success || as_fn_exit 1
5981
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5982
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5983
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5987
## hmm, some dependencies seem to be wrong, resulting in running configure everytime if we don't touch zexyconf.h here