|
a/src/configure |
|
b/src/configure |
1 |
#! /bin/sh
|
1 |
#! /bin/sh
|
2 |
# Guess values for system-dependent variables and create Makefiles.
|
2 |
# Guess values for system-dependent variables and create Makefiles.
|
3 |
# Generated by GNU Autoconf 2.62 for Recoll 1.6.
|
3 |
# Generated by GNU Autoconf 2.67 for Recoll 1.6.
|
|
|
4 |
#
|
4 |
#
|
5 |
#
|
5 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
6 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
6 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
7 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
|
|
8 |
# Foundation, Inc.
|
|
|
9 |
#
|
|
|
10 |
#
|
7 |
# This configure script is free software; the Free Software Foundation
|
11 |
# This configure script is free software; the Free Software Foundation
|
8 |
# gives unlimited permission to copy, distribute and modify it.
|
12 |
# gives unlimited permission to copy, distribute and modify it.
|
9 |
## --------------------- ##
|
13 |
## -------------------- ##
|
10 |
## M4sh Initialization. ##
|
14 |
## M4sh Initialization. ##
|
11 |
## --------------------- ##
|
15 |
## -------------------- ##
|
12 |
|
16 |
|
13 |
# Be more Bourne compatible
|
17 |
# Be more Bourne compatible
|
14 |
DUALCASE=1; export DUALCASE # for MKS sh
|
18 |
DUALCASE=1; export DUALCASE # for MKS sh
|
15 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
19 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
16 |
emulate sh
|
20 |
emulate sh
|
17 |
NULLCMD=:
|
21 |
NULLCMD=:
|
18 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
22 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
19 |
# is contrary to our usage. Disable this feature.
|
23 |
# is contrary to our usage. Disable this feature.
|
20 |
alias -g '${1+"$@"}'='"$@"'
|
24 |
alias -g '${1+"$@"}'='"$@"'
|
21 |
setopt NO_GLOB_SUBST
|
25 |
setopt NO_GLOB_SUBST
|
22 |
else
|
26 |
else
|
23 |
case `(set -o) 2>/dev/null` in
|
27 |
case `(set -o) 2>/dev/null` in #(
|
24 |
*posix*) set -o posix ;;
|
28 |
*posix*) :
|
|
|
29 |
set -o posix ;; #(
|
|
|
30 |
*) :
|
|
|
31 |
;;
|
25 |
esac
|
32 |
esac
|
26 |
|
|
|
27 |
fi
|
33 |
fi
|
28 |
|
34 |
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
# PATH needs CR
|
|
|
33 |
# Avoid depending upon Character Ranges.
|
|
|
34 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
|
35 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
36 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
|
37 |
as_cr_digits='0123456789'
|
|
|
38 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
|
39 |
|
35 |
|
40 |
as_nl='
|
36 |
as_nl='
|
41 |
'
|
37 |
'
|
42 |
export as_nl
|
38 |
export as_nl
|
43 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
39 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
44 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
40 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
45 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
41 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
46 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
42 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
|
43 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
|
44 |
# but without wasting forks for bash or zsh.
|
|
|
45 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
|
46 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
|
47 |
as_echo='print -r --'
|
|
|
48 |
as_echo_n='print -rn --'
|
47 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
49 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
48 |
as_echo='printf %s\n'
|
50 |
as_echo='printf %s\n'
|
49 |
as_echo_n='printf %s'
|
51 |
as_echo_n='printf %s'
|
50 |
else
|
52 |
else
|
51 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
53 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
52 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
54 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
53 |
as_echo_n='/usr/ucb/echo -n'
|
55 |
as_echo_n='/usr/ucb/echo -n'
|
54 |
else
|
56 |
else
|
55 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
57 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
56 |
as_echo_n_body='eval
|
58 |
as_echo_n_body='eval
|
57 |
arg=$1;
|
59 |
arg=$1;
|
58 |
case $arg in
|
60 |
case $arg in #(
|
59 |
*"$as_nl"*)
|
61 |
*"$as_nl"*)
|
60 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
62 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
61 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
63 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
62 |
esac;
|
64 |
esac;
|
63 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
65 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
... |
|
... |
76 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
78 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
77 |
PATH_SEPARATOR=';'
|
79 |
PATH_SEPARATOR=';'
|
78 |
}
|
80 |
}
|
79 |
fi
|
81 |
fi
|
80 |
|
82 |
|
81 |
# Support unset when possible.
|
|
|
82 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
|
83 |
as_unset=unset
|
|
|
84 |
else
|
|
|
85 |
as_unset=false
|
|
|
86 |
fi
|
|
|
87 |
|
|
|
88 |
|
83 |
|
89 |
# IFS
|
84 |
# IFS
|
90 |
# We need space, tab and new line, in precisely that order. Quoting is
|
85 |
# We need space, tab and new line, in precisely that order. Quoting is
|
91 |
# there to prevent editors from complaining about space-tab.
|
86 |
# there to prevent editors from complaining about space-tab.
|
92 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
87 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
93 |
# splitting by setting IFS to empty value.)
|
88 |
# splitting by setting IFS to empty value.)
|
94 |
IFS=" "" $as_nl"
|
89 |
IFS=" "" $as_nl"
|
95 |
|
90 |
|
96 |
# Find who we are. Look in the path if we contain no directory separator.
|
91 |
# Find who we are. Look in the path if we contain no directory separator.
|
97 |
case $0 in
|
92 |
case $0 in #((
|
98 |
*[\\/]* ) as_myself=$0 ;;
|
93 |
*[\\/]* ) as_myself=$0 ;;
|
99 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
94 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
100 |
for as_dir in $PATH
|
95 |
for as_dir in $PATH
|
101 |
do
|
96 |
do
|
102 |
IFS=$as_save_IFS
|
97 |
IFS=$as_save_IFS
|
103 |
test -z "$as_dir" && as_dir=.
|
98 |
test -z "$as_dir" && as_dir=.
|
104 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
99 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
105 |
done
|
100 |
done
|
106 |
IFS=$as_save_IFS
|
101 |
IFS=$as_save_IFS
|
107 |
|
102 |
|
108 |
;;
|
103 |
;;
|
109 |
esac
|
104 |
esac
|
110 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
105 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
... |
|
... |
112 |
if test "x$as_myself" = x; then
|
107 |
if test "x$as_myself" = x; then
|
113 |
as_myself=$0
|
108 |
as_myself=$0
|
114 |
fi
|
109 |
fi
|
115 |
if test ! -f "$as_myself"; then
|
110 |
if test ! -f "$as_myself"; then
|
116 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
111 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
117 |
{ (exit 1); exit 1; }
|
112 |
exit 1
|
118 |
fi
|
113 |
fi
|
119 |
|
114 |
|
120 |
# Work around bugs in pre-3.0 UWIN ksh.
|
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.
|
121 |
for as_var in ENV MAIL MAILPATH
|
119 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
|
120 |
do eval test x\${$as_var+set} = xset \
|
122 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
121 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
123 |
done
|
122 |
done
|
124 |
PS1='$ '
|
123 |
PS1='$ '
|
125 |
PS2='> '
|
124 |
PS2='> '
|
126 |
PS4='+ '
|
125 |
PS4='+ '
|
127 |
|
126 |
|
|
... |
|
... |
129 |
LC_ALL=C
|
128 |
LC_ALL=C
|
130 |
export LC_ALL
|
129 |
export LC_ALL
|
131 |
LANGUAGE=C
|
130 |
LANGUAGE=C
|
132 |
export LANGUAGE
|
131 |
export LANGUAGE
|
133 |
|
132 |
|
134 |
# Required to use basename.
|
133 |
# CDPATH.
|
|
|
134 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
|
135 |
|
|
|
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 :
|
|
|
138 |
emulate sh
|
|
|
139 |
NULLCMD=:
|
|
|
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+\"\$@\"}'='\"\$@\"'
|
|
|
143 |
setopt NO_GLOB_SUBST
|
|
|
144 |
else
|
|
|
145 |
case \`(set -o) 2>/dev/null\` in #(
|
|
|
146 |
*posix*) :
|
|
|
147 |
set -o posix ;; #(
|
|
|
148 |
*) :
|
|
|
149 |
;;
|
|
|
150 |
esac
|
|
|
151 |
fi
|
|
|
152 |
"
|
|
|
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; }
|
|
|
158 |
|
|
|
159 |
exitcode=0
|
|
|
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 :
|
|
|
165 |
|
|
|
166 |
else
|
|
|
167 |
exitcode=1; echo positional parameters were not saved.
|
|
|
168 |
fi
|
|
|
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 :
|
|
|
176 |
as_have_required=yes
|
|
|
177 |
else
|
|
|
178 |
as_have_required=no
|
|
|
179 |
fi
|
|
|
180 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
|
|
181 |
|
|
|
182 |
else
|
|
|
183 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
184 |
as_found=false
|
|
|
185 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
|
186 |
do
|
|
|
187 |
IFS=$as_save_IFS
|
|
|
188 |
test -z "$as_dir" && as_dir=.
|
|
|
189 |
as_found=:
|
|
|
190 |
case $as_dir in #(
|
|
|
191 |
/*)
|
|
|
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 :
|
|
|
199 |
break 2
|
|
|
200 |
fi
|
|
|
201 |
fi
|
|
|
202 |
done;;
|
|
|
203 |
esac
|
|
|
204 |
as_found=false
|
|
|
205 |
done
|
|
|
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
|
|
|
209 |
fi; }
|
|
|
210 |
IFS=$as_save_IFS
|
|
|
211 |
|
|
|
212 |
|
|
|
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.
|
|
|
217 |
BASH_ENV=/dev/null
|
|
|
218 |
ENV=/dev/null
|
|
|
219 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
|
220 |
export CONFIG_SHELL
|
|
|
221 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
|
222 |
fi
|
|
|
223 |
|
|
|
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."
|
|
|
230 |
else
|
|
|
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."
|
|
|
235 |
fi
|
|
|
236 |
exit 1
|
|
|
237 |
fi
|
|
|
238 |
fi
|
|
|
239 |
fi
|
|
|
240 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
|
241 |
export SHELL
|
|
|
242 |
# Unset more variables known to interfere with behavior of common tools.
|
|
|
243 |
CLICOLOR_FORCE= GREP_OPTIONS=
|
|
|
244 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
|
245 |
|
|
|
246 |
## --------------------- ##
|
|
|
247 |
## M4sh Shell Functions. ##
|
|
|
248 |
## --------------------- ##
|
|
|
249 |
# as_fn_unset VAR
|
|
|
250 |
# ---------------
|
|
|
251 |
# Portably unset VAR.
|
|
|
252 |
as_fn_unset ()
|
|
|
253 |
{
|
|
|
254 |
{ eval $1=; unset $1;}
|
|
|
255 |
}
|
|
|
256 |
as_unset=as_fn_unset
|
|
|
257 |
|
|
|
258 |
# as_fn_set_status STATUS
|
|
|
259 |
# -----------------------
|
|
|
260 |
# Set $? to STATUS, without forking.
|
|
|
261 |
as_fn_set_status ()
|
|
|
262 |
{
|
|
|
263 |
return $1
|
|
|
264 |
} # as_fn_set_status
|
|
|
265 |
|
|
|
266 |
# as_fn_exit STATUS
|
|
|
267 |
# -----------------
|
|
|
268 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
|
269 |
as_fn_exit ()
|
|
|
270 |
{
|
|
|
271 |
set +e
|
|
|
272 |
as_fn_set_status $1
|
|
|
273 |
exit $1
|
|
|
274 |
} # as_fn_exit
|
|
|
275 |
|
|
|
276 |
# as_fn_mkdir_p
|
|
|
277 |
# -------------
|
|
|
278 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
|
279 |
as_fn_mkdir_p ()
|
|
|
280 |
{
|
|
|
281 |
|
|
|
282 |
case $as_dir in #(
|
|
|
283 |
-*) as_dir=./$as_dir;;
|
|
|
284 |
esac
|
|
|
285 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
|
286 |
as_dirs=
|
|
|
287 |
while :; do
|
|
|
288 |
case $as_dir in #(
|
|
|
289 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
|
290 |
*) as_qdir=$as_dir;;
|
|
|
291 |
esac
|
|
|
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
|
300 |
s//\1/
|
|
|
301 |
q
|
|
|
302 |
}
|
|
|
303 |
/^X\(\/\/\)[^/].*/{
|
|
|
304 |
s//\1/
|
|
|
305 |
q
|
|
|
306 |
}
|
|
|
307 |
/^X\(\/\/\)$/{
|
|
|
308 |
s//\1/
|
|
|
309 |
q
|
|
|
310 |
}
|
|
|
311 |
/^X\(\/\).*/{
|
|
|
312 |
s//\1/
|
|
|
313 |
q
|
|
|
314 |
}
|
|
|
315 |
s/.*/./; q'`
|
|
|
316 |
test -d "$as_dir" && break
|
|
|
317 |
done
|
|
|
318 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
|
319 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
|
|
320 |
|
|
|
321 |
|
|
|
322 |
} # as_fn_mkdir_p
|
|
|
323 |
# as_fn_append VAR VALUE
|
|
|
324 |
# ----------------------
|
|
|
325 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
|
326 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
|
327 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
|
328 |
# implementations.
|
|
|
329 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
|
330 |
eval 'as_fn_append ()
|
|
|
331 |
{
|
|
|
332 |
eval $1+=\$2
|
|
|
333 |
}'
|
|
|
334 |
else
|
|
|
335 |
as_fn_append ()
|
|
|
336 |
{
|
|
|
337 |
eval $1=\$$1\$2
|
|
|
338 |
}
|
|
|
339 |
fi # as_fn_append
|
|
|
340 |
|
|
|
341 |
# as_fn_arith ARG...
|
|
|
342 |
# ------------------
|
|
|
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 :
|
|
|
347 |
eval 'as_fn_arith ()
|
|
|
348 |
{
|
|
|
349 |
as_val=$(( $* ))
|
|
|
350 |
}'
|
|
|
351 |
else
|
|
|
352 |
as_fn_arith ()
|
|
|
353 |
{
|
|
|
354 |
as_val=`expr "$@" || test $? -eq 1`
|
|
|
355 |
}
|
|
|
356 |
fi # as_fn_arith
|
|
|
357 |
|
|
|
358 |
|
|
|
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.
|
|
|
364 |
as_fn_error ()
|
|
|
365 |
{
|
|
|
366 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
|
367 |
if test "$4"; then
|
|
|
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
|
|
|
370 |
fi
|
|
|
371 |
$as_echo "$as_me: error: $2" >&2
|
|
|
372 |
as_fn_exit $as_status
|
|
|
373 |
} # as_fn_error
|
|
|
374 |
|
135 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
375 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
136 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
376 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
137 |
as_expr=expr
|
377 |
as_expr=expr
|
138 |
else
|
378 |
else
|
139 |
as_expr=false
|
379 |
as_expr=false
|
|
... |
|
... |
143 |
as_basename=basename
|
383 |
as_basename=basename
|
144 |
else
|
384 |
else
|
145 |
as_basename=false
|
385 |
as_basename=false
|
146 |
fi
|
386 |
fi
|
147 |
|
387 |
|
|
|
388 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
|
389 |
as_dirname=dirname
|
|
|
390 |
else
|
|
|
391 |
as_dirname=false
|
|
|
392 |
fi
|
148 |
|
393 |
|
149 |
# Name of the executable.
|
|
|
150 |
as_me=`$as_basename -- "$0" ||
|
394 |
as_me=`$as_basename -- "$0" ||
|
151 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
395 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
152 |
X"$0" : 'X\(//\)$' \| \
|
396 |
X"$0" : 'X\(//\)$' \| \
|
153 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
397 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
154 |
$as_echo X/"$0" |
|
398 |
$as_echo X/"$0" |
|
|
... |
|
... |
164 |
s//\1/
|
408 |
s//\1/
|
165 |
q
|
409 |
q
|
166 |
}
|
410 |
}
|
167 |
s/.*/./; q'`
|
411 |
s/.*/./; q'`
|
168 |
|
412 |
|
169 |
# CDPATH.
|
413 |
# Avoid depending upon Character Ranges.
|
170 |
$as_unset CDPATH
|
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
|
171 |
|
419 |
|
172 |
|
420 |
|
173 |
if test "x$CONFIG_SHELL" = x; then
|
421 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
174 |
if (eval ":") 2>/dev/null; then
|
422 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
175 |
as_have_required=yes
|
|
|
176 |
else
|
|
|
177 |
as_have_required=no
|
|
|
178 |
fi
|
|
|
179 |
|
|
|
180 |
if test $as_have_required = yes && (eval ":
|
|
|
181 |
(as_func_return () {
|
|
|
182 |
(exit \$1)
|
|
|
183 |
}
|
|
|
184 |
as_func_success () {
|
|
|
185 |
as_func_return 0
|
|
|
186 |
}
|
|
|
187 |
as_func_failure () {
|
|
|
188 |
as_func_return 1
|
|
|
189 |
}
|
|
|
190 |
as_func_ret_success () {
|
|
|
191 |
return 0
|
|
|
192 |
}
|
|
|
193 |
as_func_ret_failure () {
|
|
|
194 |
return 1
|
|
|
195 |
}
|
|
|
196 |
|
|
|
197 |
exitcode=0
|
|
|
198 |
if as_func_success; then
|
|
|
199 |
:
|
|
|
200 |
else
|
|
|
201 |
exitcode=1
|
|
|
202 |
echo as_func_success failed.
|
|
|
203 |
fi
|
|
|
204 |
|
|
|
205 |
if as_func_failure; then
|
|
|
206 |
exitcode=1
|
|
|
207 |
echo as_func_failure succeeded.
|
|
|
208 |
fi
|
|
|
209 |
|
|
|
210 |
if as_func_ret_success; then
|
|
|
211 |
:
|
|
|
212 |
else
|
|
|
213 |
exitcode=1
|
|
|
214 |
echo as_func_ret_success failed.
|
|
|
215 |
fi
|
|
|
216 |
|
|
|
217 |
if as_func_ret_failure; then
|
|
|
218 |
exitcode=1
|
|
|
219 |
echo as_func_ret_failure succeeded.
|
|
|
220 |
fi
|
|
|
221 |
|
|
|
222 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
|
223 |
:
|
|
|
224 |
else
|
|
|
225 |
exitcode=1
|
|
|
226 |
echo positional parameters were not saved.
|
|
|
227 |
fi
|
|
|
228 |
|
|
|
229 |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
|
|
230 |
|
|
|
231 |
(
|
|
|
232 |
as_lineno_1=\$LINENO
|
|
|
233 |
as_lineno_2=\$LINENO
|
|
|
234 |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
|
|
235 |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
|
|
236 |
") 2> /dev/null; then
|
|
|
237 |
:
|
|
|
238 |
else
|
|
|
239 |
as_candidate_shells=
|
|
|
240 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
241 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
|
242 |
do
|
|
|
243 |
IFS=$as_save_IFS
|
|
|
244 |
test -z "$as_dir" && as_dir=.
|
|
|
245 |
case $as_dir in
|
|
|
246 |
/*)
|
|
|
247 |
for as_base in sh bash ksh sh5; do
|
|
|
248 |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
|
|
249 |
done;;
|
|
|
250 |
esac
|
|
|
251 |
done
|
|
|
252 |
IFS=$as_save_IFS
|
|
|
253 |
|
|
|
254 |
|
|
|
255 |
for as_shell in $as_candidate_shells $SHELL; do
|
|
|
256 |
# Try only shells that exist, to save several forks.
|
|
|
257 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
|
258 |
{ ("$as_shell") 2> /dev/null <<\_ASEOF
|
|
|
259 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
|
260 |
emulate sh
|
|
|
261 |
NULLCMD=:
|
|
|
262 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
|
263 |
# is contrary to our usage. Disable this feature.
|
|
|
264 |
alias -g '${1+"$@"}'='"$@"'
|
|
|
265 |
setopt NO_GLOB_SUBST
|
|
|
266 |
else
|
|
|
267 |
case `(set -o) 2>/dev/null` in
|
|
|
268 |
*posix*) set -o posix ;;
|
|
|
269 |
esac
|
|
|
270 |
|
|
|
271 |
fi
|
|
|
272 |
|
|
|
273 |
|
|
|
274 |
:
|
|
|
275 |
_ASEOF
|
|
|
276 |
}; then
|
|
|
277 |
CONFIG_SHELL=$as_shell
|
|
|
278 |
as_have_required=yes
|
|
|
279 |
if { "$as_shell" 2> /dev/null <<\_ASEOF
|
|
|
280 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
|
281 |
emulate sh
|
|
|
282 |
NULLCMD=:
|
|
|
283 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
|
284 |
# is contrary to our usage. Disable this feature.
|
|
|
285 |
alias -g '${1+"$@"}'='"$@"'
|
|
|
286 |
setopt NO_GLOB_SUBST
|
|
|
287 |
else
|
|
|
288 |
case `(set -o) 2>/dev/null` in
|
|
|
289 |
*posix*) set -o posix ;;
|
|
|
290 |
esac
|
|
|
291 |
|
|
|
292 |
fi
|
|
|
293 |
|
|
|
294 |
|
|
|
295 |
:
|
|
|
296 |
(as_func_return () {
|
|
|
297 |
(exit $1)
|
|
|
298 |
}
|
|
|
299 |
as_func_success () {
|
|
|
300 |
as_func_return 0
|
|
|
301 |
}
|
|
|
302 |
as_func_failure () {
|
|
|
303 |
as_func_return 1
|
|
|
304 |
}
|
|
|
305 |
as_func_ret_success () {
|
|
|
306 |
return 0
|
|
|
307 |
}
|
|
|
308 |
as_func_ret_failure () {
|
|
|
309 |
return 1
|
|
|
310 |
}
|
|
|
311 |
|
|
|
312 |
exitcode=0
|
|
|
313 |
if as_func_success; then
|
|
|
314 |
:
|
|
|
315 |
else
|
|
|
316 |
exitcode=1
|
|
|
317 |
echo as_func_success failed.
|
|
|
318 |
fi
|
|
|
319 |
|
|
|
320 |
if as_func_failure; then
|
|
|
321 |
exitcode=1
|
|
|
322 |
echo as_func_failure succeeded.
|
|
|
323 |
fi
|
|
|
324 |
|
|
|
325 |
if as_func_ret_success; then
|
|
|
326 |
:
|
|
|
327 |
else
|
|
|
328 |
exitcode=1
|
|
|
329 |
echo as_func_ret_success failed.
|
|
|
330 |
fi
|
|
|
331 |
|
|
|
332 |
if as_func_ret_failure; then
|
|
|
333 |
exitcode=1
|
|
|
334 |
echo as_func_ret_failure succeeded.
|
|
|
335 |
fi
|
|
|
336 |
|
|
|
337 |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
|
|
338 |
:
|
|
|
339 |
else
|
|
|
340 |
exitcode=1
|
|
|
341 |
echo positional parameters were not saved.
|
|
|
342 |
fi
|
|
|
343 |
|
|
|
344 |
test $exitcode = 0) || { (exit 1); exit 1; }
|
|
|
345 |
|
|
|
346 |
(
|
|
|
347 |
as_lineno_1=$LINENO
|
|
|
348 |
as_lineno_2=$LINENO
|
|
|
349 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
423 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
350 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
|
|
351 |
|
|
|
352 |
_ASEOF
|
|
|
353 |
}; then
|
|
|
354 |
break
|
|
|
355 |
fi
|
|
|
356 |
|
|
|
357 |
fi
|
|
|
358 |
|
|
|
359 |
done
|
|
|
360 |
|
|
|
361 |
if test "x$CONFIG_SHELL" != x; then
|
|
|
362 |
for as_var in BASH_ENV ENV
|
|
|
363 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
|
364 |
done
|
|
|
365 |
export CONFIG_SHELL
|
|
|
366 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
|
367 |
fi
|
|
|
368 |
|
|
|
369 |
|
|
|
370 |
if test $as_have_required = no; then
|
|
|
371 |
echo This script requires a shell more modern than all the
|
|
|
372 |
echo shells that I found on your system. Please install a
|
|
|
373 |
echo modern shell, or manually run the script under such a
|
|
|
374 |
echo shell if you do have one.
|
|
|
375 |
{ (exit 1); exit 1; }
|
|
|
376 |
fi
|
|
|
377 |
|
|
|
378 |
|
|
|
379 |
fi
|
|
|
380 |
|
|
|
381 |
fi
|
|
|
382 |
|
|
|
383 |
|
|
|
384 |
|
|
|
385 |
(eval "as_func_return () {
|
|
|
386 |
(exit \$1)
|
|
|
387 |
}
|
|
|
388 |
as_func_success () {
|
|
|
389 |
as_func_return 0
|
|
|
390 |
}
|
|
|
391 |
as_func_failure () {
|
|
|
392 |
as_func_return 1
|
|
|
393 |
}
|
|
|
394 |
as_func_ret_success () {
|
|
|
395 |
return 0
|
|
|
396 |
}
|
|
|
397 |
as_func_ret_failure () {
|
|
|
398 |
return 1
|
|
|
399 |
}
|
|
|
400 |
|
|
|
401 |
exitcode=0
|
|
|
402 |
if as_func_success; then
|
|
|
403 |
:
|
|
|
404 |
else
|
|
|
405 |
exitcode=1
|
|
|
406 |
echo as_func_success failed.
|
|
|
407 |
fi
|
|
|
408 |
|
|
|
409 |
if as_func_failure; then
|
|
|
410 |
exitcode=1
|
|
|
411 |
echo as_func_failure succeeded.
|
|
|
412 |
fi
|
|
|
413 |
|
|
|
414 |
if as_func_ret_success; then
|
|
|
415 |
:
|
|
|
416 |
else
|
|
|
417 |
exitcode=1
|
|
|
418 |
echo as_func_ret_success failed.
|
|
|
419 |
fi
|
|
|
420 |
|
|
|
421 |
if as_func_ret_failure; then
|
|
|
422 |
exitcode=1
|
|
|
423 |
echo as_func_ret_failure succeeded.
|
|
|
424 |
fi
|
|
|
425 |
|
|
|
426 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
|
427 |
:
|
|
|
428 |
else
|
|
|
429 |
exitcode=1
|
|
|
430 |
echo positional parameters were not saved.
|
|
|
431 |
fi
|
|
|
432 |
|
|
|
433 |
test \$exitcode = 0") || {
|
|
|
434 |
echo No shell found that supports shell functions.
|
|
|
435 |
echo Please tell bug-autoconf@gnu.org about your system,
|
|
|
436 |
echo including any error possibly output before this message.
|
|
|
437 |
echo This can help us improve future autoconf versions.
|
|
|
438 |
echo Configuration will now proceed without shell functions.
|
|
|
439 |
}
|
|
|
440 |
|
|
|
441 |
|
|
|
442 |
|
|
|
443 |
as_lineno_1=$LINENO
|
|
|
444 |
as_lineno_2=$LINENO
|
|
|
445 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
|
446 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
424 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
447 |
|
|
|
448 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
|
449 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
|
|
450 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
|
451 |
# does the real work. The second script uses 'N' to pair each
|
|
|
452 |
# line-number line with the line containing $LINENO, and appends
|
|
|
453 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
|
454 |
# case at line end.
|
|
|
455 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
|
456 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
|
457 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
425 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
458 |
sed -n '
|
426 |
sed -n '
|
459 |
p
|
427 |
p
|
460 |
/[$]LINENO/=
|
428 |
/[$]LINENO/=
|
461 |
' <$as_myself |
|
429 |
' <$as_myself |
|
462 |
sed '
|
430 |
sed '
|
|
... |
|
... |
469 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
437 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
470 |
t loop
|
438 |
t loop
|
471 |
s/-\n.*//
|
439 |
s/-\n.*//
|
472 |
' >$as_me.lineno &&
|
440 |
' >$as_me.lineno &&
|
473 |
chmod +x "$as_me.lineno" ||
|
441 |
chmod +x "$as_me.lineno" ||
|
474 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
442 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
475 |
{ (exit 1); exit 1; }; }
|
|
|
476 |
|
443 |
|
477 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
444 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
478 |
# (the dirname of $[0] is not the place where we might find the
|
445 |
# (the dirname of $[0] is not the place where we might find the
|
479 |
# original and so on. Autoconf is especially sensitive to this).
|
446 |
# original and so on. Autoconf is especially sensitive to this).
|
480 |
. "./$as_me.lineno"
|
447 |
. "./$as_me.lineno"
|
481 |
# Exit status is that of the last command.
|
448 |
# Exit status is that of the last command.
|
482 |
exit
|
449 |
exit
|
483 |
}
|
450 |
}
|
484 |
|
451 |
|
485 |
|
|
|
486 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
|
487 |
as_dirname=dirname
|
|
|
488 |
else
|
|
|
489 |
as_dirname=false
|
|
|
490 |
fi
|
|
|
491 |
|
|
|
492 |
ECHO_C= ECHO_N= ECHO_T=
|
452 |
ECHO_C= ECHO_N= ECHO_T=
|
493 |
case `echo -n x` in
|
453 |
case `echo -n x` in #(((((
|
494 |
-n*)
|
454 |
-n*)
|
495 |
case `echo 'x\c'` in
|
455 |
case `echo 'xy\c'` in
|
496 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
456 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
497 |
*) ECHO_C='\c';;
|
457 |
xy) ECHO_C='\c';;
|
|
|
458 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
|
459 |
ECHO_T=' ';;
|
498 |
esac;;
|
460 |
esac;;
|
499 |
*)
|
461 |
*)
|
500 |
ECHO_N='-n';;
|
462 |
ECHO_N='-n';;
|
501 |
esac
|
463 |
esac
|
502 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
|
503 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
|
504 |
as_expr=expr
|
|
|
505 |
else
|
|
|
506 |
as_expr=false
|
|
|
507 |
fi
|
|
|
508 |
|
464 |
|
509 |
rm -f conf$$ conf$$.exe conf$$.file
|
465 |
rm -f conf$$ conf$$.exe conf$$.file
|
510 |
if test -d conf$$.dir; then
|
466 |
if test -d conf$$.dir; then
|
511 |
rm -f conf$$.dir/conf$$.file
|
467 |
rm -f conf$$.dir/conf$$.file
|
512 |
else
|
468 |
else
|
|
... |
|
... |
532 |
fi
|
488 |
fi
|
533 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
489 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
534 |
rmdir conf$$.dir 2>/dev/null
|
490 |
rmdir conf$$.dir 2>/dev/null
|
535 |
|
491 |
|
536 |
if mkdir -p . 2>/dev/null; then
|
492 |
if mkdir -p . 2>/dev/null; then
|
537 |
as_mkdir_p=:
|
493 |
as_mkdir_p='mkdir -p "$as_dir"'
|
538 |
else
|
494 |
else
|
539 |
test -d ./-p && rmdir ./-p
|
495 |
test -d ./-p && rmdir ./-p
|
540 |
as_mkdir_p=false
|
496 |
as_mkdir_p=false
|
541 |
fi
|
497 |
fi
|
542 |
|
498 |
|
|
... |
|
... |
551 |
as_test_x='
|
507 |
as_test_x='
|
552 |
eval sh -c '\''
|
508 |
eval sh -c '\''
|
553 |
if test -d "$1"; then
|
509 |
if test -d "$1"; then
|
554 |
test -d "$1/.";
|
510 |
test -d "$1/.";
|
555 |
else
|
511 |
else
|
556 |
case $1 in
|
512 |
case $1 in #(
|
557 |
-*)set "./$1";;
|
513 |
-*)set "./$1";;
|
558 |
esac;
|
514 |
esac;
|
559 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
515 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
560 |
???[sx]*):;;*)false;;esac;fi
|
516 |
???[sx]*):;;*)false;;esac;fi
|
561 |
'\'' sh
|
517 |
'\'' sh
|
562 |
'
|
518 |
'
|
563 |
fi
|
519 |
fi
|
564 |
as_executable_p=$as_test_x
|
520 |
as_executable_p=$as_test_x
|
|
... |
|
... |
568 |
|
524 |
|
569 |
# Sed expression to map a string onto a valid variable name.
|
525 |
# Sed expression to map a string onto a valid variable name.
|
570 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
526 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
571 |
|
527 |
|
572 |
|
528 |
|
573 |
|
529 |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
574 |
exec 7<&0 </dev/null 6>&1
|
530 |
exec 6>&1
|
575 |
|
531 |
|
576 |
# Name of the host.
|
532 |
# Name of the host.
|
577 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
533 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
578 |
# so uname gets run too.
|
534 |
# so uname gets run too.
|
579 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
535 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
580 |
|
536 |
|
581 |
#
|
537 |
#
|
582 |
# Initializations.
|
538 |
# Initializations.
|
|
... |
|
... |
587 |
LIBOBJS=
|
543 |
LIBOBJS=
|
588 |
cross_compiling=no
|
544 |
cross_compiling=no
|
589 |
subdirs=
|
545 |
subdirs=
|
590 |
MFLAGS=
|
546 |
MFLAGS=
|
591 |
MAKEFLAGS=
|
547 |
MAKEFLAGS=
|
592 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
|
593 |
|
548 |
|
594 |
# Identity of this package.
|
549 |
# Identity of this package.
|
595 |
PACKAGE_NAME='Recoll'
|
550 |
PACKAGE_NAME='Recoll'
|
596 |
PACKAGE_TARNAME='recoll'
|
551 |
PACKAGE_TARNAME='recoll'
|
597 |
PACKAGE_VERSION='1.6'
|
552 |
PACKAGE_VERSION='1.6'
|
598 |
PACKAGE_STRING='Recoll 1.6'
|
553 |
PACKAGE_STRING='Recoll 1.6'
|
599 |
PACKAGE_BUGREPORT=''
|
554 |
PACKAGE_BUGREPORT=''
|
|
|
555 |
PACKAGE_URL=''
|
600 |
|
556 |
|
601 |
ac_unique_file="index/recollindex.cpp"
|
557 |
ac_unique_file="index/recollindex.cpp"
|
602 |
# Factoring default headers for most tests.
|
558 |
# Factoring default headers for most tests.
|
603 |
ac_includes_default="\
|
559 |
ac_includes_default="\
|
604 |
#include <stdio.h>
|
560 |
#include <stdio.h>
|
|
... |
|
... |
633 |
#endif
|
589 |
#endif
|
634 |
#ifdef HAVE_UNISTD_H
|
590 |
#ifdef HAVE_UNISTD_H
|
635 |
# include <unistd.h>
|
591 |
# include <unistd.h>
|
636 |
#endif"
|
592 |
#endif"
|
637 |
|
593 |
|
638 |
ac_subst_vars='SHELL
|
594 |
ac_subst_vars='LTLIBOBJS
|
|
|
595 |
LIBOBJS
|
|
|
596 |
NOPIC
|
|
|
597 |
NOCMDLINE
|
|
|
598 |
NOQTMAKE
|
|
|
599 |
HAVE_MKDTEMP
|
|
|
600 |
XAPIANCXXFLAGS
|
|
|
601 |
QTRECOLL_DATADIR
|
|
|
602 |
QTGUI
|
|
|
603 |
QMAKE
|
|
|
604 |
LIBFAM
|
|
|
605 |
LIBXAPIANSTATICEXTRA
|
|
|
606 |
LIBXAPIAN
|
|
|
607 |
LIBICONV
|
|
|
608 |
INCICONV
|
|
|
609 |
X_LIBX11
|
|
|
610 |
X_EXTRA_LIBS
|
|
|
611 |
X_LIBS
|
|
|
612 |
X_PRE_LIBS
|
|
|
613 |
X_CFLAGS
|
|
|
614 |
CXXCPP
|
|
|
615 |
XMKMF
|
|
|
616 |
UIC3
|
|
|
617 |
QMAKEPATH
|
|
|
618 |
XAPIAN_CONFIG
|
|
|
619 |
aspellProg
|
|
|
620 |
fileProg
|
|
|
621 |
EGREP
|
|
|
622 |
GREP
|
|
|
623 |
CPP
|
|
|
624 |
ac_ct_CC
|
|
|
625 |
CFLAGS
|
|
|
626 |
CC
|
|
|
627 |
OBJEXT
|
|
|
628 |
EXEEXT
|
|
|
629 |
ac_ct_CXX
|
|
|
630 |
CPPFLAGS
|
|
|
631 |
LDFLAGS
|
|
|
632 |
CXXFLAGS
|
|
|
633 |
CXX
|
|
|
634 |
target_alias
|
|
|
635 |
host_alias
|
|
|
636 |
build_alias
|
|
|
637 |
LIBS
|
|
|
638 |
ECHO_T
|
|
|
639 |
ECHO_N
|
|
|
640 |
ECHO_C
|
|
|
641 |
DEFS
|
|
|
642 |
mandir
|
|
|
643 |
localedir
|
|
|
644 |
libdir
|
|
|
645 |
psdir
|
|
|
646 |
pdfdir
|
|
|
647 |
dvidir
|
|
|
648 |
htmldir
|
|
|
649 |
infodir
|
|
|
650 |
docdir
|
|
|
651 |
oldincludedir
|
|
|
652 |
includedir
|
|
|
653 |
localstatedir
|
|
|
654 |
sharedstatedir
|
|
|
655 |
sysconfdir
|
|
|
656 |
datadir
|
|
|
657 |
datarootdir
|
|
|
658 |
libexecdir
|
|
|
659 |
sbindir
|
|
|
660 |
bindir
|
|
|
661 |
program_transform_name
|
|
|
662 |
prefix
|
|
|
663 |
exec_prefix
|
|
|
664 |
PACKAGE_URL
|
|
|
665 |
PACKAGE_BUGREPORT
|
|
|
666 |
PACKAGE_STRING
|
|
|
667 |
PACKAGE_VERSION
|
|
|
668 |
PACKAGE_TARNAME
|
|
|
669 |
PACKAGE_NAME
|
639 |
PATH_SEPARATOR
|
670 |
PATH_SEPARATOR
|
640 |
PACKAGE_NAME
|
671 |
SHELL'
|
641 |
PACKAGE_TARNAME
|
|
|
642 |
PACKAGE_VERSION
|
|
|
643 |
PACKAGE_STRING
|
|
|
644 |
PACKAGE_BUGREPORT
|
|
|
645 |
exec_prefix
|
|
|
646 |
prefix
|
|
|
647 |
program_transform_name
|
|
|
648 |
bindir
|
|
|
649 |
sbindir
|
|
|
650 |
libexecdir
|
|
|
651 |
datarootdir
|
|
|
652 |
datadir
|
|
|
653 |
sysconfdir
|
|
|
654 |
sharedstatedir
|
|
|
655 |
localstatedir
|
|
|
656 |
includedir
|
|
|
657 |
oldincludedir
|
|
|
658 |
docdir
|
|
|
659 |
infodir
|
|
|
660 |
htmldir
|
|
|
661 |
dvidir
|
|
|
662 |
pdfdir
|
|
|
663 |
psdir
|
|
|
664 |
libdir
|
|
|
665 |
localedir
|
|
|
666 |
mandir
|
|
|
667 |
DEFS
|
|
|
668 |
ECHO_C
|
|
|
669 |
ECHO_N
|
|
|
670 |
ECHO_T
|
|
|
671 |
LIBS
|
|
|
672 |
build_alias
|
|
|
673 |
host_alias
|
|
|
674 |
target_alias
|
|
|
675 |
CXX
|
|
|
676 |
CXXFLAGS
|
|
|
677 |
LDFLAGS
|
|
|
678 |
CPPFLAGS
|
|
|
679 |
ac_ct_CXX
|
|
|
680 |
EXEEXT
|
|
|
681 |
OBJEXT
|
|
|
682 |
CC
|
|
|
683 |
CFLAGS
|
|
|
684 |
ac_ct_CC
|
|
|
685 |
CPP
|
|
|
686 |
GREP
|
|
|
687 |
EGREP
|
|
|
688 |
fileProg
|
|
|
689 |
aspellProg
|
|
|
690 |
XAPIAN_CONFIG
|
|
|
691 |
QMAKEPATH
|
|
|
692 |
UIC3
|
|
|
693 |
XMKMF
|
|
|
694 |
CXXCPP
|
|
|
695 |
X_CFLAGS
|
|
|
696 |
X_PRE_LIBS
|
|
|
697 |
X_LIBS
|
|
|
698 |
X_EXTRA_LIBS
|
|
|
699 |
X_LIBX11
|
|
|
700 |
INCICONV
|
|
|
701 |
LIBICONV
|
|
|
702 |
LIBXAPIAN
|
|
|
703 |
LIBFAM
|
|
|
704 |
QMAKE
|
|
|
705 |
QTGUI
|
|
|
706 |
QTRECOLL_DATADIR
|
|
|
707 |
XAPIANCXXFLAGS
|
|
|
708 |
HAVE_MKDTEMP
|
|
|
709 |
NOQTMAKE
|
|
|
710 |
NOCMDLINE
|
|
|
711 |
NOPIC
|
|
|
712 |
LIBOBJS
|
|
|
713 |
LTLIBOBJS'
|
|
|
714 |
ac_subst_files=''
|
672 |
ac_subst_files=''
|
715 |
ac_user_opts='
|
673 |
ac_user_opts='
|
716 |
enable_option_checking
|
674 |
enable_option_checking
|
717 |
enable_largefile
|
675 |
enable_largefile
|
718 |
with_file_command
|
676 |
with_file_command
|
|
... |
|
... |
735 |
LIBS
|
693 |
LIBS
|
736 |
CPPFLAGS
|
694 |
CPPFLAGS
|
737 |
CCC
|
695 |
CCC
|
738 |
CC
|
696 |
CC
|
739 |
CFLAGS
|
697 |
CFLAGS
|
|
|
698 |
LDFLAGS
|
|
|
699 |
LIBS
|
|
|
700 |
CPPFLAGS
|
740 |
CPP
|
701 |
CPP
|
|
|
702 |
CPPFLAGS
|
741 |
XMKMF
|
703 |
XMKMF
|
742 |
CXXCPP'
|
704 |
CXXCPP
|
|
|
705 |
CPPFLAGS'
|
743 |
|
706 |
|
744 |
|
707 |
|
745 |
# Initialize some variables set by options.
|
708 |
# Initialize some variables set by options.
|
746 |
ac_init_help=
|
709 |
ac_init_help=
|
747 |
ac_init_version=false
|
710 |
ac_init_version=false
|
|
... |
|
... |
800 |
ac_prev=
|
763 |
ac_prev=
|
801 |
continue
|
764 |
continue
|
802 |
fi
|
765 |
fi
|
803 |
|
766 |
|
804 |
case $ac_option in
|
767 |
case $ac_option in
|
805 |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
768 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
|
|
769 |
*=) ac_optarg= ;;
|
806 |
*) ac_optarg=yes ;;
|
770 |
*) ac_optarg=yes ;;
|
807 |
esac
|
771 |
esac
|
808 |
|
772 |
|
809 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
773 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
810 |
|
774 |
|
811 |
case $ac_dashdash$ac_option in
|
775 |
case $ac_dashdash$ac_option in
|
|
... |
|
... |
846 |
|
810 |
|
847 |
-disable-* | --disable-*)
|
811 |
-disable-* | --disable-*)
|
848 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
812 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
849 |
# Reject names that are not valid shell variable names.
|
813 |
# Reject names that are not valid shell variable names.
|
850 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
814 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
851 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
815 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
852 |
{ (exit 1); exit 1; }; }
|
|
|
853 |
ac_useropt_orig=$ac_useropt
|
816 |
ac_useropt_orig=$ac_useropt
|
854 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
817 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
855 |
case $ac_user_opts in
|
818 |
case $ac_user_opts in
|
856 |
*"
|
819 |
*"
|
857 |
"enable_$ac_useropt"
|
820 |
"enable_$ac_useropt"
|
|
... |
|
... |
873 |
|
836 |
|
874 |
-enable-* | --enable-*)
|
837 |
-enable-* | --enable-*)
|
875 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
838 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
876 |
# Reject names that are not valid shell variable names.
|
839 |
# Reject names that are not valid shell variable names.
|
877 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
840 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
878 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
841 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
879 |
{ (exit 1); exit 1; }; }
|
|
|
880 |
ac_useropt_orig=$ac_useropt
|
842 |
ac_useropt_orig=$ac_useropt
|
881 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
843 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
882 |
case $ac_user_opts in
|
844 |
case $ac_user_opts in
|
883 |
*"
|
845 |
*"
|
884 |
"enable_$ac_useropt"
|
846 |
"enable_$ac_useropt"
|
|
... |
|
... |
1078 |
|
1040 |
|
1079 |
-with-* | --with-*)
|
1041 |
-with-* | --with-*)
|
1080 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1042 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1081 |
# Reject names that are not valid shell variable names.
|
1043 |
# Reject names that are not valid shell variable names.
|
1082 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1044 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1083 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1045 |
as_fn_error $? "invalid package name: $ac_useropt"
|
1084 |
{ (exit 1); exit 1; }; }
|
|
|
1085 |
ac_useropt_orig=$ac_useropt
|
1046 |
ac_useropt_orig=$ac_useropt
|
1086 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1047 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1087 |
case $ac_user_opts in
|
1048 |
case $ac_user_opts in
|
1088 |
*"
|
1049 |
*"
|
1089 |
"with_$ac_useropt"
|
1050 |
"with_$ac_useropt"
|
|
... |
|
... |
1095 |
|
1056 |
|
1096 |
-without-* | --without-*)
|
1057 |
-without-* | --without-*)
|
1097 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1058 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1098 |
# Reject names that are not valid shell variable names.
|
1059 |
# Reject names that are not valid shell variable names.
|
1099 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1060 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1100 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1061 |
as_fn_error $? "invalid package name: $ac_useropt"
|
1101 |
{ (exit 1); exit 1; }; }
|
|
|
1102 |
ac_useropt_orig=$ac_useropt
|
1062 |
ac_useropt_orig=$ac_useropt
|
1103 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1063 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1104 |
case $ac_user_opts in
|
1064 |
case $ac_user_opts in
|
1105 |
*"
|
1065 |
*"
|
1106 |
"with_$ac_useropt"
|
1066 |
"with_$ac_useropt"
|
|
... |
|
... |
1126 |
ac_prev=x_libraries ;;
|
1086 |
ac_prev=x_libraries ;;
|
1127 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
1087 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
1128 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1088 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1129 |
x_libraries=$ac_optarg ;;
|
1089 |
x_libraries=$ac_optarg ;;
|
1130 |
|
1090 |
|
1131 |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
|
1091 |
-*) as_fn_error $? "unrecognized option: \`$ac_option'
|
1132 |
Try \`$0 --help' for more information." >&2
|
1092 |
Try \`$0 --help' for more information"
|
1133 |
{ (exit 1); exit 1; }; }
|
|
|
1134 |
;;
|
1093 |
;;
|
1135 |
|
1094 |
|
1136 |
*=*)
|
1095 |
*=*)
|
1137 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1096 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1138 |
# Reject names that are not valid shell variable names.
|
1097 |
# Reject names that are not valid shell variable names.
|
1139 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
1098 |
case $ac_envvar in #(
|
|
|
1099 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
1140 |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
1100 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
1141 |
{ (exit 1); exit 1; }; }
|
1101 |
esac
|
1142 |
eval $ac_envvar=\$ac_optarg
|
1102 |
eval $ac_envvar=\$ac_optarg
|
1143 |
export $ac_envvar ;;
|
1103 |
export $ac_envvar ;;
|
1144 |
|
1104 |
|
1145 |
*)
|
1105 |
*)
|
1146 |
# FIXME: should be removed in autoconf 3.0.
|
1106 |
# FIXME: should be removed in autoconf 3.0.
|
|
... |
|
... |
1153 |
esac
|
1113 |
esac
|
1154 |
done
|
1114 |
done
|
1155 |
|
1115 |
|
1156 |
if test -n "$ac_prev"; then
|
1116 |
if test -n "$ac_prev"; then
|
1157 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1117 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1158 |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
|
1118 |
as_fn_error $? "missing argument to $ac_option"
|
1159 |
{ (exit 1); exit 1; }; }
|
|
|
1160 |
fi
|
1119 |
fi
|
1161 |
|
1120 |
|
1162 |
if test -n "$ac_unrecognized_opts"; then
|
1121 |
if test -n "$ac_unrecognized_opts"; then
|
1163 |
case $enable_option_checking in
|
1122 |
case $enable_option_checking in
|
1164 |
no) ;;
|
1123 |
no) ;;
|
1165 |
fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
|
1124 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
1166 |
{ (exit 1); exit 1; }; } ;;
|
|
|
1167 |
*) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1125 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1168 |
esac
|
1126 |
esac
|
1169 |
fi
|
1127 |
fi
|
1170 |
|
1128 |
|
1171 |
# Check all directory arguments for consistency.
|
1129 |
# Check all directory arguments for consistency.
|
1172 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1130 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
|
... |
|
... |
1184 |
# Be sure to have absolute directory names.
|
1142 |
# Be sure to have absolute directory names.
|
1185 |
case $ac_val in
|
1143 |
case $ac_val in
|
1186 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1144 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1187 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1145 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1188 |
esac
|
1146 |
esac
|
1189 |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
1147 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
1190 |
{ (exit 1); exit 1; }; }
|
|
|
1191 |
done
|
1148 |
done
|
1192 |
|
1149 |
|
1193 |
# There might be people who depend on the old broken behavior: `$host'
|
1150 |
# There might be people who depend on the old broken behavior: `$host'
|
1194 |
# used to hold the argument of --host etc.
|
1151 |
# used to hold the argument of --host etc.
|
1195 |
# FIXME: To remove some day.
|
1152 |
# FIXME: To remove some day.
|
|
... |
|
... |
1199 |
|
1156 |
|
1200 |
# FIXME: To remove some day.
|
1157 |
# FIXME: To remove some day.
|
1201 |
if test "x$host_alias" != x; then
|
1158 |
if test "x$host_alias" != x; then
|
1202 |
if test "x$build_alias" = x; then
|
1159 |
if test "x$build_alias" = x; then
|
1203 |
cross_compiling=maybe
|
1160 |
cross_compiling=maybe
|
1204 |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
1161 |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
1205 |
If a cross compiler is detected then cross compile mode will be used." >&2
|
1162 |
If a cross compiler is detected then cross compile mode will be used" >&2
|
1206 |
elif test "x$build_alias" != "x$host_alias"; then
|
1163 |
elif test "x$build_alias" != "x$host_alias"; then
|
1207 |
cross_compiling=yes
|
1164 |
cross_compiling=yes
|
1208 |
fi
|
1165 |
fi
|
1209 |
fi
|
1166 |
fi
|
1210 |
|
1167 |
|
|
... |
|
... |
1215 |
|
1172 |
|
1216 |
|
1173 |
|
1217 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1174 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1218 |
ac_ls_di=`ls -di .` &&
|
1175 |
ac_ls_di=`ls -di .` &&
|
1219 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1176 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1220 |
{ $as_echo "$as_me: error: Working directory cannot be determined" >&2
|
1177 |
as_fn_error $? "working directory cannot be determined"
|
1221 |
{ (exit 1); exit 1; }; }
|
|
|
1222 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1178 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1223 |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
|
1179 |
as_fn_error $? "pwd does not report name of working directory"
|
1224 |
{ (exit 1); exit 1; }; }
|
|
|
1225 |
|
1180 |
|
1226 |
|
1181 |
|
1227 |
# Find the source files, if location was not specified.
|
1182 |
# Find the source files, if location was not specified.
|
1228 |
if test -z "$srcdir"; then
|
1183 |
if test -z "$srcdir"; then
|
1229 |
ac_srcdir_defaulted=yes
|
1184 |
ac_srcdir_defaulted=yes
|
|
... |
|
... |
1258 |
else
|
1213 |
else
|
1259 |
ac_srcdir_defaulted=no
|
1214 |
ac_srcdir_defaulted=no
|
1260 |
fi
|
1215 |
fi
|
1261 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1216 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1262 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1217 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1263 |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
1218 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
1264 |
{ (exit 1); exit 1; }; }
|
|
|
1265 |
fi
|
1219 |
fi
|
1266 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1220 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1267 |
ac_abs_confdir=`(
|
1221 |
ac_abs_confdir=`(
|
1268 |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
|
1222 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
1269 |
{ (exit 1); exit 1; }; }
|
|
|
1270 |
pwd)`
|
1223 |
pwd)`
|
1271 |
# When building in place, set srcdir=.
|
1224 |
# When building in place, set srcdir=.
|
1272 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
1225 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
1273 |
srcdir=.
|
1226 |
srcdir=.
|
1274 |
fi
|
1227 |
fi
|
|
... |
|
... |
1304 |
Configuration:
|
1257 |
Configuration:
|
1305 |
-h, --help display this help and exit
|
1258 |
-h, --help display this help and exit
|
1306 |
--help=short display options specific to this package
|
1259 |
--help=short display options specific to this package
|
1307 |
--help=recursive display the short help of all the included packages
|
1260 |
--help=recursive display the short help of all the included packages
|
1308 |
-V, --version display version information and exit
|
1261 |
-V, --version display version information and exit
|
1309 |
-q, --quiet, --silent do not print \`checking...' messages
|
1262 |
-q, --quiet, --silent do not print \`checking ...' messages
|
1310 |
--cache-file=FILE cache test results in FILE [disabled]
|
1263 |
--cache-file=FILE cache test results in FILE [disabled]
|
1311 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
1264 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
1312 |
-n, --no-create do not create output files
|
1265 |
-n, --no-create do not create output files
|
1313 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
1266 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
1314 |
|
1267 |
|
|
... |
|
... |
1404 |
CXX C++ compiler command
|
1357 |
CXX C++ compiler command
|
1405 |
CXXFLAGS C++ compiler flags
|
1358 |
CXXFLAGS C++ compiler flags
|
1406 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1359 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1407 |
nonstandard directory <lib dir>
|
1360 |
nonstandard directory <lib dir>
|
1408 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1361 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1409 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
1362 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1410 |
you have headers in a nonstandard directory <include dir>
|
1363 |
you have headers in a nonstandard directory <include dir>
|
1411 |
CC C compiler command
|
1364 |
CC C compiler command
|
1412 |
CFLAGS C compiler flags
|
1365 |
CFLAGS C compiler flags
|
1413 |
CPP C preprocessor
|
1366 |
CPP C preprocessor
|
1414 |
XMKMF Path to xmkmf, Makefile generator for X Window System
|
1367 |
XMKMF Path to xmkmf, Makefile generator for X Window System
|
1415 |
CXXCPP C++ preprocessor
|
1368 |
CXXCPP C++ preprocessor
|
1416 |
|
1369 |
|
1417 |
Use these variables to override the choices made by `configure' or to help
|
1370 |
Use these variables to override the choices made by `configure' or to help
|
1418 |
it to find libraries and programs with nonstandard names/locations.
|
1371 |
it to find libraries and programs with nonstandard names/locations.
|
1419 |
|
1372 |
|
|
|
1373 |
Report bugs to the package provider.
|
1420 |
_ACEOF
|
1374 |
_ACEOF
|
1421 |
ac_status=$?
|
1375 |
ac_status=$?
|
1422 |
fi
|
1376 |
fi
|
1423 |
|
1377 |
|
1424 |
if test "$ac_init_help" = "recursive"; then
|
1378 |
if test "$ac_init_help" = "recursive"; then
|
|
... |
|
... |
1478 |
|
1432 |
|
1479 |
test -n "$ac_init_help" && exit $ac_status
|
1433 |
test -n "$ac_init_help" && exit $ac_status
|
1480 |
if $ac_init_version; then
|
1434 |
if $ac_init_version; then
|
1481 |
cat <<\_ACEOF
|
1435 |
cat <<\_ACEOF
|
1482 |
Recoll configure 1.6
|
1436 |
Recoll configure 1.6
|
1483 |
generated by GNU Autoconf 2.62
|
1437 |
generated by GNU Autoconf 2.67
|
1484 |
|
1438 |
|
1485 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
1439 |
Copyright (C) 2010 Free Software Foundation, Inc.
|
1486 |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
|
1487 |
This configure script is free software; the Free Software Foundation
|
1440 |
This configure script is free software; the Free Software Foundation
|
1488 |
gives unlimited permission to copy, distribute and modify it.
|
1441 |
gives unlimited permission to copy, distribute and modify it.
|
1489 |
_ACEOF
|
1442 |
_ACEOF
|
1490 |
exit
|
1443 |
exit
|
1491 |
fi
|
1444 |
fi
|
|
|
1445 |
|
|
|
1446 |
## ------------------------ ##
|
|
|
1447 |
## Autoconf initialization. ##
|
|
|
1448 |
## ------------------------ ##
|
|
|
1449 |
|
|
|
1450 |
# ac_fn_cxx_try_compile LINENO
|
|
|
1451 |
# ----------------------------
|
|
|
1452 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
|
1453 |
ac_fn_cxx_try_compile ()
|
|
|
1454 |
{
|
|
|
1455 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1456 |
rm -f conftest.$ac_objext
|
|
|
1457 |
if { { ac_try="$ac_compile"
|
|
|
1458 |
case "(($ac_try" in
|
|
|
1459 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
1460 |
*) ac_try_echo=$ac_try;;
|
|
|
1461 |
esac
|
|
|
1462 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
1463 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
1464 |
(eval "$ac_compile") 2>conftest.err
|
|
|
1465 |
ac_status=$?
|
|
|
1466 |
if test -s conftest.err; then
|
|
|
1467 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
|
1468 |
cat conftest.er1 >&5
|
|
|
1469 |
mv -f conftest.er1 conftest.err
|
|
|
1470 |
fi
|
|
|
1471 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
1472 |
test $ac_status = 0; } && {
|
|
|
1473 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
1474 |
test ! -s conftest.err
|
|
|
1475 |
} && test -s conftest.$ac_objext; then :
|
|
|
1476 |
ac_retval=0
|
|
|
1477 |
else
|
|
|
1478 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
1479 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
1480 |
|
|
|
1481 |
ac_retval=1
|
|
|
1482 |
fi
|
|
|
1483 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
|
1484 |
as_fn_set_status $ac_retval
|
|
|
1485 |
|
|
|
1486 |
} # ac_fn_cxx_try_compile
|
|
|
1487 |
|
|
|
1488 |
# ac_fn_c_try_compile LINENO
|
|
|
1489 |
# --------------------------
|
|
|
1490 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
|
1491 |
ac_fn_c_try_compile ()
|
|
|
1492 |
{
|
|
|
1493 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1494 |
rm -f conftest.$ac_objext
|
|
|
1495 |
if { { ac_try="$ac_compile"
|
|
|
1496 |
case "(($ac_try" in
|
|
|
1497 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
1498 |
*) ac_try_echo=$ac_try;;
|
|
|
1499 |
esac
|
|
|
1500 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
1501 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
1502 |
(eval "$ac_compile") 2>conftest.err
|
|
|
1503 |
ac_status=$?
|
|
|
1504 |
if test -s conftest.err; then
|
|
|
1505 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
|
1506 |
cat conftest.er1 >&5
|
|
|
1507 |
mv -f conftest.er1 conftest.err
|
|
|
1508 |
fi
|
|
|
1509 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
1510 |
test $ac_status = 0; } && {
|
|
|
1511 |
test -z "$ac_c_werror_flag" ||
|
|
|
1512 |
test ! -s conftest.err
|
|
|
1513 |
} && test -s conftest.$ac_objext; then :
|
|
|
1514 |
ac_retval=0
|
|
|
1515 |
else
|
|
|
1516 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
1517 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
1518 |
|
|
|
1519 |
ac_retval=1
|
|
|
1520 |
fi
|
|
|
1521 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
|
1522 |
as_fn_set_status $ac_retval
|
|
|
1523 |
|
|
|
1524 |
} # ac_fn_c_try_compile
|
|
|
1525 |
|
|
|
1526 |
# ac_fn_c_try_cpp LINENO
|
|
|
1527 |
# ----------------------
|
|
|
1528 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
|
1529 |
ac_fn_c_try_cpp ()
|
|
|
1530 |
{
|
|
|
1531 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1532 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
|
1533 |
case "(($ac_try" in
|
|
|
1534 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
1535 |
*) ac_try_echo=$ac_try;;
|
|
|
1536 |
esac
|
|
|
1537 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
1538 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
1539 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
|
1540 |
ac_status=$?
|
|
|
1541 |
if test -s conftest.err; then
|
|
|
1542 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
|
1543 |
cat conftest.er1 >&5
|
|
|
1544 |
mv -f conftest.er1 conftest.err
|
|
|
1545 |
fi
|
|
|
1546 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
1547 |
test $ac_status = 0; } > conftest.i && {
|
|
|
1548 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
1549 |
test ! -s conftest.err
|
|
|
1550 |
}; then :
|
|
|
1551 |
ac_retval=0
|
|
|
1552 |
else
|
|
|
1553 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
1554 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
1555 |
|
|
|
1556 |
ac_retval=1
|
|
|
1557 |
fi
|
|
|
1558 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
|
1559 |
as_fn_set_status $ac_retval
|
|
|
1560 |
|
|
|
1561 |
} # ac_fn_c_try_cpp
|
|
|
1562 |
|
|
|
1563 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
|
1564 |
# -------------------------------------------------------
|
|
|
1565 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
|
1566 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
|
1567 |
# accordingly.
|
|
|
1568 |
ac_fn_c_check_header_mongrel ()
|
|
|
1569 |
{
|
|
|
1570 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1571 |
if eval "test \"\${$3+set}\"" = set; then :
|
|
|
1572 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
|
1573 |
$as_echo_n "checking for $2... " >&6; }
|
|
|
1574 |
if eval "test \"\${$3+set}\"" = set; then :
|
|
|
1575 |
$as_echo_n "(cached) " >&6
|
|
|
1576 |
fi
|
|
|
1577 |
eval ac_res=\$$3
|
|
|
1578 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
|
1579 |
$as_echo "$ac_res" >&6; }
|
|
|
1580 |
else
|
|
|
1581 |
# Is the header compilable?
|
|
|
1582 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
|
|
1583 |
$as_echo_n "checking $2 usability... " >&6; }
|
|
|
1584 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
1585 |
/* end confdefs.h. */
|
|
|
1586 |
$4
|
|
|
1587 |
#include <$2>
|
|
|
1588 |
_ACEOF
|
|
|
1589 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
1590 |
ac_header_compiler=yes
|
|
|
1591 |
else
|
|
|
1592 |
ac_header_compiler=no
|
|
|
1593 |
fi
|
|
|
1594 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
1595 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
|
|
1596 |
$as_echo "$ac_header_compiler" >&6; }
|
|
|
1597 |
|
|
|
1598 |
# Is the header present?
|
|
|
1599 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
|
|
1600 |
$as_echo_n "checking $2 presence... " >&6; }
|
|
|
1601 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
1602 |
/* end confdefs.h. */
|
|
|
1603 |
#include <$2>
|
|
|
1604 |
_ACEOF
|
|
|
1605 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
|
1606 |
ac_header_preproc=yes
|
|
|
1607 |
else
|
|
|
1608 |
ac_header_preproc=no
|
|
|
1609 |
fi
|
|
|
1610 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
|
1611 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
|
|
1612 |
$as_echo "$ac_header_preproc" >&6; }
|
|
|
1613 |
|
|
|
1614 |
# So? What about this header?
|
|
|
1615 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
|
|
1616 |
yes:no: )
|
|
|
1617 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
|
1618 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
|
1619 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
|
1620 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
|
1621 |
;;
|
|
|
1622 |
no:yes:* )
|
|
|
1623 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
|
|
1624 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
|
|
1625 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
|
|
1626 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
|
|
1627 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
|
|
1628 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
|
|
1629 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
|
|
1630 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
|
1631 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
|
1632 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
|
1633 |
;;
|
|
|
1634 |
esac
|
|
|
1635 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
|
1636 |
$as_echo_n "checking for $2... " >&6; }
|
|
|
1637 |
if eval "test \"\${$3+set}\"" = set; then :
|
|
|
1638 |
$as_echo_n "(cached) " >&6
|
|
|
1639 |
else
|
|
|
1640 |
eval "$3=\$ac_header_compiler"
|
|
|
1641 |
fi
|
|
|
1642 |
eval ac_res=\$$3
|
|
|
1643 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
|
1644 |
$as_echo "$ac_res" >&6; }
|
|
|
1645 |
fi
|
|
|
1646 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
|
1647 |
|
|
|
1648 |
} # ac_fn_c_check_header_mongrel
|
|
|
1649 |
|
|
|
1650 |
# ac_fn_c_try_run LINENO
|
|
|
1651 |
# ----------------------
|
|
|
1652 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
|
1653 |
# that executables *can* be run.
|
|
|
1654 |
ac_fn_c_try_run ()
|
|
|
1655 |
{
|
|
|
1656 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1657 |
if { { ac_try="$ac_link"
|
|
|
1658 |
case "(($ac_try" in
|
|
|
1659 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
1660 |
*) ac_try_echo=$ac_try;;
|
|
|
1661 |
esac
|
|
|
1662 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
1663 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
1664 |
(eval "$ac_link") 2>&5
|
|
|
1665 |
ac_status=$?
|
|
|
1666 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
1667 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
|
|
1668 |
{ { case "(($ac_try" in
|
|
|
1669 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
1670 |
*) ac_try_echo=$ac_try;;
|
|
|
1671 |
esac
|
|
|
1672 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
1673 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
1674 |
(eval "$ac_try") 2>&5
|
|
|
1675 |
ac_status=$?
|
|
|
1676 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
1677 |
test $ac_status = 0; }; }; then :
|
|
|
1678 |
ac_retval=0
|
|
|
1679 |
else
|
|
|
1680 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
|
1681 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
1682 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
1683 |
|
|
|
1684 |
ac_retval=$ac_status
|
|
|
1685 |
fi
|
|
|
1686 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
|
1687 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
|
1688 |
as_fn_set_status $ac_retval
|
|
|
1689 |
|
|
|
1690 |
} # ac_fn_c_try_run
|
|
|
1691 |
|
|
|
1692 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
|
1693 |
# -------------------------------------------------------
|
|
|
1694 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
|
1695 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
|
1696 |
ac_fn_c_check_header_compile ()
|
|
|
1697 |
{
|
|
|
1698 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
|
1700 |
$as_echo_n "checking for $2... " >&6; }
|
|
|
1701 |
if eval "test \"\${$3+set}\"" = set; then :
|
|
|
1702 |
$as_echo_n "(cached) " >&6
|
|
|
1703 |
else
|
|
|
1704 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
1705 |
/* end confdefs.h. */
|
|
|
1706 |
$4
|
|
|
1707 |
#include <$2>
|
|
|
1708 |
_ACEOF
|
|
|
1709 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
1710 |
eval "$3=yes"
|
|
|
1711 |
else
|
|
|
1712 |
eval "$3=no"
|
|
|
1713 |
fi
|
|
|
1714 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
1715 |
fi
|
|
|
1716 |
eval ac_res=\$$3
|
|
|
1717 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
|
1718 |
$as_echo "$ac_res" >&6; }
|
|
|
1719 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
|
1720 |
|
|
|
1721 |
} # ac_fn_c_check_header_compile
|
|
|
1722 |
|
|
|
1723 |
# ac_fn_c_try_link LINENO
|
|
|
1724 |
# -----------------------
|
|
|
1725 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
|
1726 |
ac_fn_c_try_link ()
|
|
|
1727 |
{
|
|
|
1728 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1729 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
1730 |
if { { ac_try="$ac_link"
|
|
|
1731 |
case "(($ac_try" in
|
|
|
1732 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
1733 |
*) ac_try_echo=$ac_try;;
|
|
|
1734 |
esac
|
|
|
1735 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
1736 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
1737 |
(eval "$ac_link") 2>conftest.err
|
|
|
1738 |
ac_status=$?
|
|
|
1739 |
if test -s conftest.err; then
|
|
|
1740 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
|
1741 |
cat conftest.er1 >&5
|
|
|
1742 |
mv -f conftest.er1 conftest.err
|
|
|
1743 |
fi
|
|
|
1744 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
1745 |
test $ac_status = 0; } && {
|
|
|
1746 |
test -z "$ac_c_werror_flag" ||
|
|
|
1747 |
test ! -s conftest.err
|
|
|
1748 |
} && test -s conftest$ac_exeext && {
|
|
|
1749 |
test "$cross_compiling" = yes ||
|
|
|
1750 |
$as_test_x conftest$ac_exeext
|
|
|
1751 |
}; then :
|
|
|
1752 |
ac_retval=0
|
|
|
1753 |
else
|
|
|
1754 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
1755 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
1756 |
|
|
|
1757 |
ac_retval=1
|
|
|
1758 |
fi
|
|
|
1759 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
|
1760 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
|
1761 |
# interfere with the next link command; also delete a directory that is
|
|
|
1762 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
|
1763 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
|
1764 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
|
1765 |
as_fn_set_status $ac_retval
|
|
|
1766 |
|
|
|
1767 |
} # ac_fn_c_try_link
|
|
|
1768 |
|
|
|
1769 |
# ac_fn_c_check_func LINENO FUNC VAR
|
|
|
1770 |
# ----------------------------------
|
|
|
1771 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
|
1772 |
ac_fn_c_check_func ()
|
|
|
1773 |
{
|
|
|
1774 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1775 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
|
1776 |
$as_echo_n "checking for $2... " >&6; }
|
|
|
1777 |
if eval "test \"\${$3+set}\"" = set; then :
|
|
|
1778 |
$as_echo_n "(cached) " >&6
|
|
|
1779 |
else
|
|
|
1780 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
1781 |
/* end confdefs.h. */
|
|
|
1782 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
|
1783 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
1784 |
#define $2 innocuous_$2
|
|
|
1785 |
|
|
|
1786 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
1787 |
which can conflict with char $2 (); below.
|
|
|
1788 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
1789 |
<limits.h> exists even on freestanding compilers. */
|
|
|
1790 |
|
|
|
1791 |
#ifdef __STDC__
|
|
|
1792 |
# include <limits.h>
|
|
|
1793 |
#else
|
|
|
1794 |
# include <assert.h>
|
|
|
1795 |
#endif
|
|
|
1796 |
|
|
|
1797 |
#undef $2
|
|
|
1798 |
|
|
|
1799 |
/* Override any GCC internal prototype to avoid an error.
|
|
|
1800 |
Use char because int might match the return type of a GCC
|
|
|
1801 |
builtin and then its argument prototype would still apply. */
|
|
|
1802 |
#ifdef __cplusplus
|
|
|
1803 |
extern "C"
|
|
|
1804 |
#endif
|
|
|
1805 |
char $2 ();
|
|
|
1806 |
/* The GNU C library defines this for functions which it implements
|
|
|
1807 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
1808 |
something starting with __ and the normal name is an alias. */
|
|
|
1809 |
#if defined __stub_$2 || defined __stub___$2
|
|
|
1810 |
choke me
|
|
|
1811 |
#endif
|
|
|
1812 |
|
|
|
1813 |
int
|
|
|
1814 |
main ()
|
|
|
1815 |
{
|
|
|
1816 |
return $2 ();
|
|
|
1817 |
;
|
|
|
1818 |
return 0;
|
|
|
1819 |
}
|
|
|
1820 |
_ACEOF
|
|
|
1821 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
|
1822 |
eval "$3=yes"
|
|
|
1823 |
else
|
|
|
1824 |
eval "$3=no"
|
|
|
1825 |
fi
|
|
|
1826 |
rm -f core conftest.err conftest.$ac_objext \
|
|
|
1827 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
1828 |
fi
|
|
|
1829 |
eval ac_res=\$$3
|
|
|
1830 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
|
1831 |
$as_echo "$ac_res" >&6; }
|
|
|
1832 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
|
1833 |
|
|
|
1834 |
} # ac_fn_c_check_func
|
|
|
1835 |
|
|
|
1836 |
# ac_fn_cxx_try_link LINENO
|
|
|
1837 |
# -------------------------
|
|
|
1838 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
|
1839 |
ac_fn_cxx_try_link ()
|
|
|
1840 |
{
|
|
|
1841 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1842 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
1843 |
if { { ac_try="$ac_link"
|
|
|
1844 |
case "(($ac_try" in
|
|
|
1845 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
1846 |
*) ac_try_echo=$ac_try;;
|
|
|
1847 |
esac
|
|
|
1848 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
1849 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
1850 |
(eval "$ac_link") 2>conftest.err
|
|
|
1851 |
ac_status=$?
|
|
|
1852 |
if test -s conftest.err; then
|
|
|
1853 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
|
1854 |
cat conftest.er1 >&5
|
|
|
1855 |
mv -f conftest.er1 conftest.err
|
|
|
1856 |
fi
|
|
|
1857 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
1858 |
test $ac_status = 0; } && {
|
|
|
1859 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
1860 |
test ! -s conftest.err
|
|
|
1861 |
} && test -s conftest$ac_exeext && {
|
|
|
1862 |
test "$cross_compiling" = yes ||
|
|
|
1863 |
$as_test_x conftest$ac_exeext
|
|
|
1864 |
}; then :
|
|
|
1865 |
ac_retval=0
|
|
|
1866 |
else
|
|
|
1867 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
1868 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
1869 |
|
|
|
1870 |
ac_retval=1
|
|
|
1871 |
fi
|
|
|
1872 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
|
1873 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
|
1874 |
# interfere with the next link command; also delete a directory that is
|
|
|
1875 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
|
1876 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
|
1877 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
|
1878 |
as_fn_set_status $ac_retval
|
|
|
1879 |
|
|
|
1880 |
} # ac_fn_cxx_try_link
|
|
|
1881 |
|
|
|
1882 |
# ac_fn_cxx_try_cpp LINENO
|
|
|
1883 |
# ------------------------
|
|
|
1884 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
|
1885 |
ac_fn_cxx_try_cpp ()
|
|
|
1886 |
{
|
|
|
1887 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1888 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
|
1889 |
case "(($ac_try" in
|
|
|
1890 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
1891 |
*) ac_try_echo=$ac_try;;
|
|
|
1892 |
esac
|
|
|
1893 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
1894 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
1895 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
|
1896 |
ac_status=$?
|
|
|
1897 |
if test -s conftest.err; then
|
|
|
1898 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
|
1899 |
cat conftest.er1 >&5
|
|
|
1900 |
mv -f conftest.er1 conftest.err
|
|
|
1901 |
fi
|
|
|
1902 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
1903 |
test $ac_status = 0; } > conftest.i && {
|
|
|
1904 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
|
|
1905 |
test ! -s conftest.err
|
|
|
1906 |
}; then :
|
|
|
1907 |
ac_retval=0
|
|
|
1908 |
else
|
|
|
1909 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
1910 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
1911 |
|
|
|
1912 |
ac_retval=1
|
|
|
1913 |
fi
|
|
|
1914 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
|
1915 |
as_fn_set_status $ac_retval
|
|
|
1916 |
|
|
|
1917 |
} # ac_fn_cxx_try_cpp
|
|
|
1918 |
|
|
|
1919 |
# ac_fn_cxx_check_func LINENO FUNC VAR
|
|
|
1920 |
# ------------------------------------
|
|
|
1921 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
|
1922 |
ac_fn_cxx_check_func ()
|
|
|
1923 |
{
|
|
|
1924 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1925 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
|
1926 |
$as_echo_n "checking for $2... " >&6; }
|
|
|
1927 |
if eval "test \"\${$3+set}\"" = set; then :
|
|
|
1928 |
$as_echo_n "(cached) " >&6
|
|
|
1929 |
else
|
|
|
1930 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
1931 |
/* end confdefs.h. */
|
|
|
1932 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
|
1933 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
1934 |
#define $2 innocuous_$2
|
|
|
1935 |
|
|
|
1936 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
1937 |
which can conflict with char $2 (); below.
|
|
|
1938 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
1939 |
<limits.h> exists even on freestanding compilers. */
|
|
|
1940 |
|
|
|
1941 |
#ifdef __STDC__
|
|
|
1942 |
# include <limits.h>
|
|
|
1943 |
#else
|
|
|
1944 |
# include <assert.h>
|
|
|
1945 |
#endif
|
|
|
1946 |
|
|
|
1947 |
#undef $2
|
|
|
1948 |
|
|
|
1949 |
/* Override any GCC internal prototype to avoid an error.
|
|
|
1950 |
Use char because int might match the return type of a GCC
|
|
|
1951 |
builtin and then its argument prototype would still apply. */
|
|
|
1952 |
#ifdef __cplusplus
|
|
|
1953 |
extern "C"
|
|
|
1954 |
#endif
|
|
|
1955 |
char $2 ();
|
|
|
1956 |
/* The GNU C library defines this for functions which it implements
|
|
|
1957 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
1958 |
something starting with __ and the normal name is an alias. */
|
|
|
1959 |
#if defined __stub_$2 || defined __stub___$2
|
|
|
1960 |
choke me
|
|
|
1961 |
#endif
|
|
|
1962 |
|
|
|
1963 |
int
|
|
|
1964 |
main ()
|
|
|
1965 |
{
|
|
|
1966 |
return $2 ();
|
|
|
1967 |
;
|
|
|
1968 |
return 0;
|
|
|
1969 |
}
|
|
|
1970 |
_ACEOF
|
|
|
1971 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
|
|
1972 |
eval "$3=yes"
|
|
|
1973 |
else
|
|
|
1974 |
eval "$3=no"
|
|
|
1975 |
fi
|
|
|
1976 |
rm -f core conftest.err conftest.$ac_objext \
|
|
|
1977 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
1978 |
fi
|
|
|
1979 |
eval ac_res=\$$3
|
|
|
1980 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
|
1981 |
$as_echo "$ac_res" >&6; }
|
|
|
1982 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
|
1983 |
|
|
|
1984 |
} # ac_fn_cxx_check_func
|
1492 |
cat >config.log <<_ACEOF
|
1985 |
cat >config.log <<_ACEOF
|
1493 |
This file contains any messages produced by compilers while
|
1986 |
This file contains any messages produced by compilers while
|
1494 |
running configure, to aid debugging if configure makes a mistake.
|
1987 |
running configure, to aid debugging if configure makes a mistake.
|
1495 |
|
1988 |
|
1496 |
It was created by Recoll $as_me 1.6, which was
|
1989 |
It was created by Recoll $as_me 1.6, which was
|
1497 |
generated by GNU Autoconf 2.62. Invocation command line was
|
1990 |
generated by GNU Autoconf 2.67. Invocation command line was
|
1498 |
|
1991 |
|
1499 |
$ $0 $@
|
1992 |
$ $0 $@
|
1500 |
|
1993 |
|
1501 |
_ACEOF
|
1994 |
_ACEOF
|
1502 |
exec 5>>config.log
|
1995 |
exec 5>>config.log
|
|
... |
|
... |
1528 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2021 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1529 |
for as_dir in $PATH
|
2022 |
for as_dir in $PATH
|
1530 |
do
|
2023 |
do
|
1531 |
IFS=$as_save_IFS
|
2024 |
IFS=$as_save_IFS
|
1532 |
test -z "$as_dir" && as_dir=.
|
2025 |
test -z "$as_dir" && as_dir=.
|
1533 |
$as_echo "PATH: $as_dir"
|
2026 |
$as_echo "PATH: $as_dir"
|
1534 |
done
|
2027 |
done
|
1535 |
IFS=$as_save_IFS
|
2028 |
IFS=$as_save_IFS
|
1536 |
|
2029 |
|
1537 |
} >&5
|
2030 |
} >&5
|
1538 |
|
2031 |
|
1539 |
cat >&5 <<_ACEOF
|
2032 |
cat >&5 <<_ACEOF
|
|
... |
|
... |
1566 |
continue ;;
|
2059 |
continue ;;
|
1567 |
*\'*)
|
2060 |
*\'*)
|
1568 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2061 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1569 |
esac
|
2062 |
esac
|
1570 |
case $ac_pass in
|
2063 |
case $ac_pass in
|
1571 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
2064 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1572 |
2)
|
2065 |
2)
|
1573 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
2066 |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1574 |
if test $ac_must_keep_next = true; then
|
2067 |
if test $ac_must_keep_next = true; then
|
1575 |
ac_must_keep_next=false # Got value, back to normal.
|
2068 |
ac_must_keep_next=false # Got value, back to normal.
|
1576 |
else
|
2069 |
else
|
1577 |
case $ac_arg in
|
2070 |
case $ac_arg in
|
1578 |
*=* | --config-cache | -C | -disable-* | --disable-* \
|
2071 |
*=* | --config-cache | -C | -disable-* | --disable-* \
|
|
... |
|
... |
1584 |
esac
|
2077 |
esac
|
1585 |
;;
|
2078 |
;;
|
1586 |
-* ) ac_must_keep_next=true ;;
|
2079 |
-* ) ac_must_keep_next=true ;;
|
1587 |
esac
|
2080 |
esac
|
1588 |
fi
|
2081 |
fi
|
1589 |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
2082 |
as_fn_append ac_configure_args " '$ac_arg'"
|
1590 |
;;
|
2083 |
;;
|
1591 |
esac
|
2084 |
esac
|
1592 |
done
|
2085 |
done
|
1593 |
done
|
2086 |
done
|
1594 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
2087 |
{ ac_configure_args0=; unset ac_configure_args0;}
|
1595 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
2088 |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1596 |
|
2089 |
|
1597 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
2090 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1598 |
# config.log. We remove comments because anyway the quotes in there
|
2091 |
# config.log. We remove comments because anyway the quotes in there
|
1599 |
# would cause problems or look ugly.
|
2092 |
# would cause problems or look ugly.
|
1600 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
2093 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
|
... |
|
... |
1602 |
trap 'exit_status=$?
|
2095 |
trap 'exit_status=$?
|
1603 |
# Save into config.log some information that might help in debugging.
|
2096 |
# Save into config.log some information that might help in debugging.
|
1604 |
{
|
2097 |
{
|
1605 |
echo
|
2098 |
echo
|
1606 |
|
2099 |
|
1607 |
cat <<\_ASBOX
|
|
|
1608 |
## ---------------- ##
|
2100 |
$as_echo "## ---------------- ##
|
1609 |
## Cache variables. ##
|
2101 |
## Cache variables. ##
|
1610 |
## ---------------- ##
|
2102 |
## ---------------- ##"
|
1611 |
_ASBOX
|
|
|
1612 |
echo
|
2103 |
echo
|
1613 |
# The following way of writing the cache mishandles newlines in values,
|
2104 |
# The following way of writing the cache mishandles newlines in values,
|
1614 |
(
|
2105 |
(
|
1615 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
2106 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
1616 |
eval ac_val=\$$ac_var
|
2107 |
eval ac_val=\$$ac_var
|
1617 |
case $ac_val in #(
|
2108 |
case $ac_val in #(
|
1618 |
*${as_nl}*)
|
2109 |
*${as_nl}*)
|
1619 |
case $ac_var in #(
|
2110 |
case $ac_var in #(
|
1620 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
2111 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1621 |
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
2112 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1622 |
esac
|
2113 |
esac
|
1623 |
case $ac_var in #(
|
2114 |
case $ac_var in #(
|
1624 |
_ | IFS | as_nl) ;; #(
|
2115 |
_ | IFS | as_nl) ;; #(
|
1625 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
2116 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1626 |
*) $as_unset $ac_var ;;
|
2117 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1627 |
esac ;;
|
2118 |
esac ;;
|
1628 |
esac
|
2119 |
esac
|
1629 |
done
|
2120 |
done
|
1630 |
(set) 2>&1 |
|
2121 |
(set) 2>&1 |
|
1631 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
2122 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
|
... |
|
... |
1640 |
esac |
|
2131 |
esac |
|
1641 |
sort
|
2132 |
sort
|
1642 |
)
|
2133 |
)
|
1643 |
echo
|
2134 |
echo
|
1644 |
|
2135 |
|
1645 |
cat <<\_ASBOX
|
|
|
1646 |
## ----------------- ##
|
2136 |
$as_echo "## ----------------- ##
|
1647 |
## Output variables. ##
|
2137 |
## Output variables. ##
|
1648 |
## ----------------- ##
|
2138 |
## ----------------- ##"
|
1649 |
_ASBOX
|
|
|
1650 |
echo
|
2139 |
echo
|
1651 |
for ac_var in $ac_subst_vars
|
2140 |
for ac_var in $ac_subst_vars
|
1652 |
do
|
2141 |
do
|
1653 |
eval ac_val=\$$ac_var
|
2142 |
eval ac_val=\$$ac_var
|
1654 |
case $ac_val in
|
2143 |
case $ac_val in
|
|
... |
|
... |
1657 |
$as_echo "$ac_var='\''$ac_val'\''"
|
2146 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1658 |
done | sort
|
2147 |
done | sort
|
1659 |
echo
|
2148 |
echo
|
1660 |
|
2149 |
|
1661 |
if test -n "$ac_subst_files"; then
|
2150 |
if test -n "$ac_subst_files"; then
|
1662 |
cat <<\_ASBOX
|
|
|
1663 |
## ------------------- ##
|
2151 |
$as_echo "## ------------------- ##
|
1664 |
## File substitutions. ##
|
2152 |
## File substitutions. ##
|
1665 |
## ------------------- ##
|
2153 |
## ------------------- ##"
|
1666 |
_ASBOX
|
|
|
1667 |
echo
|
2154 |
echo
|
1668 |
for ac_var in $ac_subst_files
|
2155 |
for ac_var in $ac_subst_files
|
1669 |
do
|
2156 |
do
|
1670 |
eval ac_val=\$$ac_var
|
2157 |
eval ac_val=\$$ac_var
|
1671 |
case $ac_val in
|
2158 |
case $ac_val in
|
|
... |
|
... |
1675 |
done | sort
|
2162 |
done | sort
|
1676 |
echo
|
2163 |
echo
|
1677 |
fi
|
2164 |
fi
|
1678 |
|
2165 |
|
1679 |
if test -s confdefs.h; then
|
2166 |
if test -s confdefs.h; then
|
1680 |
cat <<\_ASBOX
|
2167 |
$as_echo "## ----------- ##
|
1681 |
## ----------- ##
|
|
|
1682 |
## confdefs.h. ##
|
2168 |
## confdefs.h. ##
|
1683 |
## ----------- ##
|
2169 |
## ----------- ##"
|
1684 |
_ASBOX
|
|
|
1685 |
echo
|
2170 |
echo
|
1686 |
cat confdefs.h
|
2171 |
cat confdefs.h
|
1687 |
echo
|
2172 |
echo
|
1688 |
fi
|
2173 |
fi
|
1689 |
test "$ac_signal" != 0 &&
|
2174 |
test "$ac_signal" != 0 &&
|
|
... |
|
... |
1693 |
rm -f core *.core core.conftest.* &&
|
2178 |
rm -f core *.core core.conftest.* &&
|
1694 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
2179 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1695 |
exit $exit_status
|
2180 |
exit $exit_status
|
1696 |
' 0
|
2181 |
' 0
|
1697 |
for ac_signal in 1 2 13 15; do
|
2182 |
for ac_signal in 1 2 13 15; do
|
1698 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
2183 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1699 |
done
|
2184 |
done
|
1700 |
ac_signal=0
|
2185 |
ac_signal=0
|
1701 |
|
2186 |
|
1702 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
2187 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1703 |
rm -f -r conftest* confdefs.h
|
2188 |
rm -f -r conftest* confdefs.h
|
1704 |
|
2189 |
|
|
|
2190 |
$as_echo "/* confdefs.h */" > confdefs.h
|
|
|
2191 |
|
1705 |
# Predefined preprocessor variables.
|
2192 |
# Predefined preprocessor variables.
|
1706 |
|
2193 |
|
1707 |
cat >>confdefs.h <<_ACEOF
|
2194 |
cat >>confdefs.h <<_ACEOF
|
1708 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
2195 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1709 |
_ACEOF
|
2196 |
_ACEOF
|
1710 |
|
2197 |
|
1711 |
|
|
|
1712 |
cat >>confdefs.h <<_ACEOF
|
2198 |
cat >>confdefs.h <<_ACEOF
|
1713 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
2199 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1714 |
_ACEOF
|
2200 |
_ACEOF
|
1715 |
|
2201 |
|
1716 |
|
|
|
1717 |
cat >>confdefs.h <<_ACEOF
|
2202 |
cat >>confdefs.h <<_ACEOF
|
1718 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
2203 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1719 |
_ACEOF
|
2204 |
_ACEOF
|
1720 |
|
2205 |
|
1721 |
|
|
|
1722 |
cat >>confdefs.h <<_ACEOF
|
2206 |
cat >>confdefs.h <<_ACEOF
|
1723 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
2207 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1724 |
_ACEOF
|
2208 |
_ACEOF
|
1725 |
|
2209 |
|
1726 |
|
|
|
1727 |
cat >>confdefs.h <<_ACEOF
|
2210 |
cat >>confdefs.h <<_ACEOF
|
1728 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
2211 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|
|
2212 |
_ACEOF
|
|
|
2213 |
|
|
|
2214 |
cat >>confdefs.h <<_ACEOF
|
|
|
2215 |
#define PACKAGE_URL "$PACKAGE_URL"
|
1729 |
_ACEOF
|
2216 |
_ACEOF
|
1730 |
|
2217 |
|
1731 |
|
2218 |
|
1732 |
# Let the site file select an alternate cache file if it wants to.
|
2219 |
# Let the site file select an alternate cache file if it wants to.
|
1733 |
# Prefer an explicitly selected file to automatically selected ones.
|
2220 |
# Prefer an explicitly selected file to automatically selected ones.
|
1734 |
ac_site_file1=NONE
|
2221 |
ac_site_file1=NONE
|
1735 |
ac_site_file2=NONE
|
2222 |
ac_site_file2=NONE
|
1736 |
if test -n "$CONFIG_SITE"; then
|
2223 |
if test -n "$CONFIG_SITE"; then
|
|
|
2224 |
# We do not want a PATH search for config.site.
|
|
|
2225 |
case $CONFIG_SITE in #((
|
|
|
2226 |
-*) ac_site_file1=./$CONFIG_SITE;;
|
1737 |
ac_site_file1=$CONFIG_SITE
|
2227 |
*/*) ac_site_file1=$CONFIG_SITE;;
|
|
|
2228 |
*) ac_site_file1=./$CONFIG_SITE;;
|
|
|
2229 |
esac
|
1738 |
elif test "x$prefix" != xNONE; then
|
2230 |
elif test "x$prefix" != xNONE; then
|
1739 |
ac_site_file1=$prefix/share/config.site
|
2231 |
ac_site_file1=$prefix/share/config.site
|
1740 |
ac_site_file2=$prefix/etc/config.site
|
2232 |
ac_site_file2=$prefix/etc/config.site
|
1741 |
else
|
2233 |
else
|
1742 |
ac_site_file1=$ac_default_prefix/share/config.site
|
2234 |
ac_site_file1=$ac_default_prefix/share/config.site
|
1743 |
ac_site_file2=$ac_default_prefix/etc/config.site
|
2235 |
ac_site_file2=$ac_default_prefix/etc/config.site
|
1744 |
fi
|
2236 |
fi
|
1745 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
2237 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
1746 |
do
|
2238 |
do
|
1747 |
test "x$ac_site_file" = xNONE && continue
|
2239 |
test "x$ac_site_file" = xNONE && continue
|
1748 |
if test -r "$ac_site_file"; then
|
2240 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
1749 |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
2241 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
1750 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
2242 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1751 |
sed 's/^/| /' "$ac_site_file" >&5
|
2243 |
sed 's/^/| /' "$ac_site_file" >&5
|
1752 |
. "$ac_site_file"
|
2244 |
. "$ac_site_file" \
|
|
|
2245 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
|
2246 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
|
2247 |
as_fn_error $? "failed to load site script $ac_site_file
|
|
|
2248 |
See \`config.log' for more details" "$LINENO" 5; }
|
1753 |
fi
|
2249 |
fi
|
1754 |
done
|
2250 |
done
|
1755 |
|
2251 |
|
1756 |
if test -r "$cache_file"; then
|
2252 |
if test -r "$cache_file"; then
|
1757 |
# Some versions of bash will fail to source /dev/null (special
|
2253 |
# Some versions of bash will fail to source /dev/null (special files
|
1758 |
# files actually), so we avoid doing that.
|
2254 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
1759 |
if test -f "$cache_file"; then
|
2255 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
1760 |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
2256 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
1761 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
2257 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1762 |
case $cache_file in
|
2258 |
case $cache_file in
|
1763 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
2259 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
1764 |
*) . "./$cache_file";;
|
2260 |
*) . "./$cache_file";;
|
1765 |
esac
|
2261 |
esac
|
1766 |
fi
|
2262 |
fi
|
1767 |
else
|
2263 |
else
|
1768 |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
2264 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
1769 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
2265 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1770 |
>$cache_file
|
2266 |
>$cache_file
|
1771 |
fi
|
2267 |
fi
|
1772 |
|
2268 |
|
1773 |
# Check that the precious variables saved in the cache have kept the same
|
2269 |
# Check that the precious variables saved in the cache have kept the same
|
|
... |
|
... |
1778 |
eval ac_new_set=\$ac_env_${ac_var}_set
|
2274 |
eval ac_new_set=\$ac_env_${ac_var}_set
|
1779 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
2275 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
1780 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
2276 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1781 |
case $ac_old_set,$ac_new_set in
|
2277 |
case $ac_old_set,$ac_new_set in
|
1782 |
set,)
|
2278 |
set,)
|
1783 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
2279 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1784 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
2280 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1785 |
ac_cache_corrupted=: ;;
|
2281 |
ac_cache_corrupted=: ;;
|
1786 |
,set)
|
2282 |
,set)
|
1787 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
2283 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
1788 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
2284 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1789 |
ac_cache_corrupted=: ;;
|
2285 |
ac_cache_corrupted=: ;;
|
1790 |
,);;
|
2286 |
,);;
|
1791 |
*)
|
2287 |
*)
|
1792 |
if test "x$ac_old_val" != "x$ac_new_val"; then
|
2288 |
if test "x$ac_old_val" != "x$ac_new_val"; then
|
1793 |
# differences in whitespace do not lead to failure.
|
2289 |
# differences in whitespace do not lead to failure.
|
1794 |
ac_old_val_w=`echo x $ac_old_val`
|
2290 |
ac_old_val_w=`echo x $ac_old_val`
|
1795 |
ac_new_val_w=`echo x $ac_new_val`
|
2291 |
ac_new_val_w=`echo x $ac_new_val`
|
1796 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
2292 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
1797 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
2293 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
1798 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
2294 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1799 |
ac_cache_corrupted=:
|
2295 |
ac_cache_corrupted=:
|
1800 |
else
|
2296 |
else
|
1801 |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
2297 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
1802 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
2298 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
1803 |
eval $ac_var=\$ac_old_val
|
2299 |
eval $ac_var=\$ac_old_val
|
1804 |
fi
|
2300 |
fi
|
1805 |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
|
2301 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
1806 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
2302 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
1807 |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
|
2303 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
1808 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
2304 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1809 |
fi;;
|
2305 |
fi;;
|
1810 |
esac
|
2306 |
esac
|
1811 |
# Pass precious variables to config.status.
|
2307 |
# Pass precious variables to config.status.
|
1812 |
if test "$ac_new_set" = set; then
|
2308 |
if test "$ac_new_set" = set; then
|
|
... |
|
... |
1814 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2310 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1815 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
2311 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
1816 |
esac
|
2312 |
esac
|
1817 |
case " $ac_configure_args " in
|
2313 |
case " $ac_configure_args " in
|
1818 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
2314 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1819 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
2315 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
1820 |
esac
|
2316 |
esac
|
1821 |
fi
|
2317 |
fi
|
1822 |
done
|
2318 |
done
|
1823 |
if $ac_cache_corrupted; then
|
2319 |
if $ac_cache_corrupted; then
|
|
|
2320 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
|
2321 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
1824 |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
2322 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
1825 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
2323 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1826 |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
|
|
1827 |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
2324 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
1828 |
{ (exit 1); exit 1; }; }
|
|
|
1829 |
fi
|
2325 |
fi
|
1830 |
|
2326 |
## -------------------- ##
|
1831 |
|
2327 |
## Main body of script. ##
|
1832 |
|
2328 |
## -------------------- ##
|
1833 |
|
|
|
1834 |
|
|
|
1835 |
|
|
|
1836 |
|
|
|
1837 |
|
|
|
1838 |
|
|
|
1839 |
|
|
|
1840 |
|
|
|
1841 |
|
|
|
1842 |
|
|
|
1843 |
|
|
|
1844 |
|
|
|
1845 |
|
|
|
1846 |
|
|
|
1847 |
|
|
|
1848 |
|
|
|
1849 |
|
|
|
1850 |
|
|
|
1851 |
|
|
|
1852 |
|
|
|
1853 |
|
|
|
1854 |
|
2329 |
|
1855 |
ac_ext=c
|
2330 |
ac_ext=c
|
1856 |
ac_cpp='$CPP $CPPFLAGS'
|
2331 |
ac_cpp='$CPP $CPPFLAGS'
|
1857 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2332 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
1858 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2333 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
... |
|
... |
1876 |
if test -n "$ac_tool_prefix"; then
|
2351 |
if test -n "$ac_tool_prefix"; then
|
1877 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
2352 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
1878 |
do
|
2353 |
do
|
1879 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2354 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
1880 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2355 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
1881 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2356 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
1882 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2357 |
$as_echo_n "checking for $ac_word... " >&6; }
|
1883 |
if test "${ac_cv_prog_CXX+set}" = set; then
|
2358 |
if test "${ac_cv_prog_CXX+set}" = set; then :
|
1884 |
$as_echo_n "(cached) " >&6
|
2359 |
$as_echo_n "(cached) " >&6
|
1885 |
else
|
2360 |
else
|
1886 |
if test -n "$CXX"; then
|
2361 |
if test -n "$CXX"; then
|
1887 |
ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
2362 |
ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
1888 |
else
|
2363 |
else
|
1889 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2364 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1890 |
for as_dir in $PATH
|
2365 |
for as_dir in $PATH
|
1891 |
do
|
2366 |
do
|
1892 |
IFS=$as_save_IFS
|
2367 |
IFS=$as_save_IFS
|
1893 |
test -z "$as_dir" && as_dir=.
|
2368 |
test -z "$as_dir" && as_dir=.
|
1894 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2369 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1895 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2370 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1896 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
2371 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
1897 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2372 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1898 |
break 2
|
2373 |
break 2
|
1899 |
fi
|
2374 |
fi
|
1900 |
done
|
2375 |
done
|
1901 |
done
|
2376 |
done
|
1902 |
IFS=$as_save_IFS
|
2377 |
IFS=$as_save_IFS
|
1903 |
|
2378 |
|
1904 |
fi
|
2379 |
fi
|
1905 |
fi
|
2380 |
fi
|
1906 |
CXX=$ac_cv_prog_CXX
|
2381 |
CXX=$ac_cv_prog_CXX
|
1907 |
if test -n "$CXX"; then
|
2382 |
if test -n "$CXX"; then
|
1908 |
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5
|
2383 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
1909 |
$as_echo "$CXX" >&6; }
|
2384 |
$as_echo "$CXX" >&6; }
|
1910 |
else
|
2385 |
else
|
1911 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
2386 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
1912 |
$as_echo "no" >&6; }
|
2387 |
$as_echo "no" >&6; }
|
1913 |
fi
|
2388 |
fi
|
1914 |
|
2389 |
|
1915 |
|
2390 |
|
1916 |
test -n "$CXX" && break
|
2391 |
test -n "$CXX" && break
|
|
... |
|
... |
1920 |
ac_ct_CXX=$CXX
|
2395 |
ac_ct_CXX=$CXX
|
1921 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
2396 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
1922 |
do
|
2397 |
do
|
1923 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2398 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
1924 |
set dummy $ac_prog; ac_word=$2
|
2399 |
set dummy $ac_prog; ac_word=$2
|
1925 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2400 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
1926 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2401 |
$as_echo_n "checking for $ac_word... " >&6; }
|
1927 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
2402 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
|
1928 |
$as_echo_n "(cached) " >&6
|
2403 |
$as_echo_n "(cached) " >&6
|
1929 |
else
|
2404 |
else
|
1930 |
if test -n "$ac_ct_CXX"; then
|
2405 |
if test -n "$ac_ct_CXX"; then
|
1931 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
2406 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
1932 |
else
|
2407 |
else
|
1933 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2408 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1934 |
for as_dir in $PATH
|
2409 |
for as_dir in $PATH
|
1935 |
do
|
2410 |
do
|
1936 |
IFS=$as_save_IFS
|
2411 |
IFS=$as_save_IFS
|
1937 |
test -z "$as_dir" && as_dir=.
|
2412 |
test -z "$as_dir" && as_dir=.
|
1938 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2413 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1939 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2414 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1940 |
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
2415 |
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
1941 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2416 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1942 |
break 2
|
2417 |
break 2
|
1943 |
fi
|
2418 |
fi
|
1944 |
done
|
2419 |
done
|
1945 |
done
|
2420 |
done
|
1946 |
IFS=$as_save_IFS
|
2421 |
IFS=$as_save_IFS
|
1947 |
|
2422 |
|
1948 |
fi
|
2423 |
fi
|
1949 |
fi
|
2424 |
fi
|
1950 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
2425 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
1951 |
if test -n "$ac_ct_CXX"; then
|
2426 |
if test -n "$ac_ct_CXX"; then
|
1952 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
2427 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
1953 |
$as_echo "$ac_ct_CXX" >&6; }
|
2428 |
$as_echo "$ac_ct_CXX" >&6; }
|
1954 |
else
|
2429 |
else
|
1955 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
2430 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
1956 |
$as_echo "no" >&6; }
|
2431 |
$as_echo "no" >&6; }
|
1957 |
fi
|
2432 |
fi
|
1958 |
|
2433 |
|
1959 |
|
2434 |
|
1960 |
test -n "$ac_ct_CXX" && break
|
2435 |
test -n "$ac_ct_CXX" && break
|
|
... |
|
... |
1963 |
if test "x$ac_ct_CXX" = x; then
|
2438 |
if test "x$ac_ct_CXX" = x; then
|
1964 |
CXX="g++"
|
2439 |
CXX="g++"
|
1965 |
else
|
2440 |
else
|
1966 |
case $cross_compiling:$ac_tool_warned in
|
2441 |
case $cross_compiling:$ac_tool_warned in
|
1967 |
yes:)
|
2442 |
yes:)
|
1968 |
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
2443 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
1969 |
whose name does not start with the host triplet. If you think this
|
2444 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
1970 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
|
1971 |
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
|
1972 |
whose name does not start with the host triplet. If you think this
|
|
|
1973 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
|
1974 |
ac_tool_warned=yes ;;
|
2445 |
ac_tool_warned=yes ;;
|
1975 |
esac
|
2446 |
esac
|
1976 |
CXX=$ac_ct_CXX
|
2447 |
CXX=$ac_ct_CXX
|
1977 |
fi
|
2448 |
fi
|
1978 |
fi
|
2449 |
fi
|
1979 |
|
2450 |
|
1980 |
fi
|
2451 |
fi
|
1981 |
fi
|
2452 |
fi
|
1982 |
# Provide some information about the compiler.
|
2453 |
# Provide some information about the compiler.
|
1983 |
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
|
2454 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
1984 |
set X $ac_compile
|
2455 |
set X $ac_compile
|
1985 |
ac_compiler=$2
|
2456 |
ac_compiler=$2
|
|
|
2457 |
for ac_option in --version -v -V -qversion; do
|
1986 |
{ (ac_try="$ac_compiler --version >&5"
|
2458 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
1987 |
case "(($ac_try" in
|
2459 |
case "(($ac_try" in
|
1988 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2460 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1989 |
*) ac_try_echo=$ac_try;;
|
2461 |
*) ac_try_echo=$ac_try;;
|
1990 |
esac
|
2462 |
esac
|
1991 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2463 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1992 |
$as_echo "$ac_try_echo") >&5
|
2464 |
$as_echo "$ac_try_echo"; } >&5
|
1993 |
(eval "$ac_compiler --version >&5") 2>&5
|
2465 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
1994 |
ac_status=$?
|
2466 |
ac_status=$?
|
|
|
2467 |
if test -s conftest.err; then
|
|
|
2468 |
sed '10a\
|
|
|
2469 |
... rest of stderr output deleted ...
|
|
|
2470 |
10q' conftest.err >conftest.er1
|
|
|
2471 |
cat conftest.er1 >&5
|
|
|
2472 |
fi
|
|
|
2473 |
rm -f conftest.er1 conftest.err
|
1995 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2474 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1996 |
(exit $ac_status); }
|
2475 |
test $ac_status = 0; }
|
1997 |
{ (ac_try="$ac_compiler -v >&5"
|
2476 |
done
|
1998 |
case "(($ac_try" in
|
|
|
1999 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2000 |
*) ac_try_echo=$ac_try;;
|
|
|
2001 |
esac
|
|
|
2002 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
2003 |
$as_echo "$ac_try_echo") >&5
|
|
|
2004 |
(eval "$ac_compiler -v >&5") 2>&5
|
|
|
2005 |
ac_status=$?
|
|
|
2006 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2007 |
(exit $ac_status); }
|
|
|
2008 |
{ (ac_try="$ac_compiler -V >&5"
|
|
|
2009 |
case "(($ac_try" in
|
|
|
2010 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2011 |
*) ac_try_echo=$ac_try;;
|
|
|
2012 |
esac
|
|
|
2013 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
2014 |
$as_echo "$ac_try_echo") >&5
|
|
|
2015 |
(eval "$ac_compiler -V >&5") 2>&5
|
|
|
2016 |
ac_status=$?
|
|
|
2017 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2018 |
(exit $ac_status); }
|
|
|
2019 |
|
2477 |
|
2020 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2021 |
/* confdefs.h. */
|
|
|
2022 |
_ACEOF
|
|
|
2023 |
cat confdefs.h >>conftest.$ac_ext
|
2478 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2024 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2025 |
/* end confdefs.h. */
|
2479 |
/* end confdefs.h. */
|
2026 |
|
2480 |
|
2027 |
int
|
2481 |
int
|
2028 |
main ()
|
2482 |
main ()
|
2029 |
{
|
2483 |
{
|
|
... |
|
... |
2035 |
ac_clean_files_save=$ac_clean_files
|
2489 |
ac_clean_files_save=$ac_clean_files
|
2036 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
2490 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
2037 |
# Try to create an executable without -o first, disregard a.out.
|
2491 |
# Try to create an executable without -o first, disregard a.out.
|
2038 |
# It will help us diagnose broken compilers, and finding out an intuition
|
2492 |
# It will help us diagnose broken compilers, and finding out an intuition
|
2039 |
# of exeext.
|
2493 |
# of exeext.
|
2040 |
{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
|
2494 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
|
2041 |
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
|
2495 |
$as_echo_n "checking whether the C++ compiler works... " >&6; }
|
2042 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2496 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2043 |
|
2497 |
|
2044 |
# The possible output files:
|
2498 |
# The possible output files:
|
2045 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
2499 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
2046 |
|
2500 |
|
|
... |
|
... |
2052 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
2506 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
2053 |
esac
|
2507 |
esac
|
2054 |
done
|
2508 |
done
|
2055 |
rm -f $ac_rmfiles
|
2509 |
rm -f $ac_rmfiles
|
2056 |
|
2510 |
|
2057 |
if { (ac_try="$ac_link_default"
|
2511 |
if { { ac_try="$ac_link_default"
|
2058 |
case "(($ac_try" in
|
2512 |
case "(($ac_try" in
|
2059 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2513 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2060 |
*) ac_try_echo=$ac_try;;
|
2514 |
*) ac_try_echo=$ac_try;;
|
2061 |
esac
|
2515 |
esac
|
2062 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2516 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2063 |
$as_echo "$ac_try_echo") >&5
|
2517 |
$as_echo "$ac_try_echo"; } >&5
|
2064 |
(eval "$ac_link_default") 2>&5
|
2518 |
(eval "$ac_link_default") 2>&5
|
2065 |
ac_status=$?
|
2519 |
ac_status=$?
|
2066 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2520 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2067 |
(exit $ac_status); }; then
|
2521 |
test $ac_status = 0; }; then :
|
2068 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
2522 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
2069 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
2523 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
2070 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
2524 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
2071 |
# so that the user can short-circuit this test for compilers unknown to
|
2525 |
# so that the user can short-circuit this test for compilers unknown to
|
2072 |
# Autoconf.
|
2526 |
# Autoconf.
|
|
... |
|
... |
2079 |
[ab].out )
|
2533 |
[ab].out )
|
2080 |
# We found the default executable, but exeext='' is most
|
2534 |
# We found the default executable, but exeext='' is most
|
2081 |
# certainly right.
|
2535 |
# certainly right.
|
2082 |
break;;
|
2536 |
break;;
|
2083 |
*.* )
|
2537 |
*.* )
|
2084 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
2538 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
2085 |
then :; else
|
2539 |
then :; else
|
2086 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2540 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2087 |
fi
|
2541 |
fi
|
2088 |
# We set ac_cv_exeext here because the later test for it is not
|
2542 |
# We set ac_cv_exeext here because the later test for it is not
|
2089 |
# safe: cross compilers may not add the suffix if given an `-o'
|
2543 |
# safe: cross compilers may not add the suffix if given an `-o'
|
|
... |
|
... |
2098 |
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
2552 |
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
2099 |
|
2553 |
|
2100 |
else
|
2554 |
else
|
2101 |
ac_file=''
|
2555 |
ac_file=''
|
2102 |
fi
|
2556 |
fi
|
|
|
2557 |
if test -z "$ac_file"; then :
|
|
|
2558 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
2559 |
$as_echo "no" >&6; }
|
|
|
2560 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
2561 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2103 |
|
2562 |
|
|
|
2563 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
|
2564 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
|
2565 |
as_fn_error 77 "C++ compiler cannot create executables
|
|
|
2566 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
|
2567 |
else
|
|
|
2568 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
2569 |
$as_echo "yes" >&6; }
|
|
|
2570 |
fi
|
|
|
2571 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
|
|
|
2572 |
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
|
2104 |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
|
2573 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
2105 |
$as_echo "$ac_file" >&6; }
|
2574 |
$as_echo "$ac_file" >&6; }
|
2106 |
if test -z "$ac_file"; then
|
|
|
2107 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
2108 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
2109 |
|
|
|
2110 |
{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
|
|
|
2111 |
See \`config.log' for more details." >&5
|
|
|
2112 |
$as_echo "$as_me: error: C++ compiler cannot create executables
|
|
|
2113 |
See \`config.log' for more details." >&2;}
|
|
|
2114 |
{ (exit 77); exit 77; }; }
|
|
|
2115 |
fi
|
|
|
2116 |
|
|
|
2117 |
ac_exeext=$ac_cv_exeext
|
2575 |
ac_exeext=$ac_cv_exeext
|
2118 |
|
|
|
2119 |
# Check that the compiler produces executables we can run. If not, either
|
|
|
2120 |
# the compiler is broken, or we cross compile.
|
|
|
2121 |
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
|
|
|
2122 |
$as_echo_n "checking whether the C++ compiler works... " >&6; }
|
|
|
2123 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
|
|
2124 |
# If not cross compiling, check that we can run a simple program.
|
|
|
2125 |
if test "$cross_compiling" != yes; then
|
|
|
2126 |
if { ac_try='./$ac_file'
|
|
|
2127 |
{ (case "(($ac_try" in
|
|
|
2128 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2129 |
*) ac_try_echo=$ac_try;;
|
|
|
2130 |
esac
|
|
|
2131 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
2132 |
$as_echo "$ac_try_echo") >&5
|
|
|
2133 |
(eval "$ac_try") 2>&5
|
|
|
2134 |
ac_status=$?
|
|
|
2135 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2136 |
(exit $ac_status); }; }; then
|
|
|
2137 |
cross_compiling=no
|
|
|
2138 |
else
|
|
|
2139 |
if test "$cross_compiling" = maybe; then
|
|
|
2140 |
cross_compiling=yes
|
|
|
2141 |
else
|
|
|
2142 |
{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
|
|
|
2143 |
If you meant to cross compile, use \`--host'.
|
|
|
2144 |
See \`config.log' for more details." >&5
|
|
|
2145 |
$as_echo "$as_me: error: cannot run C++ compiled programs.
|
|
|
2146 |
If you meant to cross compile, use \`--host'.
|
|
|
2147 |
See \`config.log' for more details." >&2;}
|
|
|
2148 |
{ (exit 1); exit 1; }; }
|
|
|
2149 |
fi
|
|
|
2150 |
fi
|
|
|
2151 |
fi
|
|
|
2152 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
|
2153 |
$as_echo "yes" >&6; }
|
|
|
2154 |
|
2576 |
|
2155 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
2577 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
2156 |
ac_clean_files=$ac_clean_files_save
|
2578 |
ac_clean_files=$ac_clean_files_save
|
2157 |
# Check that the compiler produces executables we can run. If not, either
|
|
|
2158 |
# the compiler is broken, or we cross compile.
|
|
|
2159 |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
|
|
2160 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
|
2161 |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
|
|
2162 |
$as_echo "$cross_compiling" >&6; }
|
|
|
2163 |
|
|
|
2164 |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
2579 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
2165 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
2580 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
2166 |
if { (ac_try="$ac_link"
|
2581 |
if { { ac_try="$ac_link"
|
2167 |
case "(($ac_try" in
|
2582 |
case "(($ac_try" in
|
2168 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2583 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2169 |
*) ac_try_echo=$ac_try;;
|
2584 |
*) ac_try_echo=$ac_try;;
|
2170 |
esac
|
2585 |
esac
|
2171 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2586 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2172 |
$as_echo "$ac_try_echo") >&5
|
2587 |
$as_echo "$ac_try_echo"; } >&5
|
2173 |
(eval "$ac_link") 2>&5
|
2588 |
(eval "$ac_link") 2>&5
|
2174 |
ac_status=$?
|
2589 |
ac_status=$?
|
2175 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2590 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2176 |
(exit $ac_status); }; then
|
2591 |
test $ac_status = 0; }; then :
|
2177 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2592 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2178 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2593 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2179 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
2594 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
2180 |
# `rm'.
|
2595 |
# `rm'.
|
2181 |
for ac_file in conftest.exe conftest conftest.*; do
|
2596 |
for ac_file in conftest.exe conftest conftest.*; do
|
|
... |
|
... |
2186 |
break;;
|
2601 |
break;;
|
2187 |
* ) break;;
|
2602 |
* ) break;;
|
2188 |
esac
|
2603 |
esac
|
2189 |
done
|
2604 |
done
|
2190 |
else
|
2605 |
else
|
2191 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
2606 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2192 |
See \`config.log' for more details." >&5
|
2607 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2193 |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
2608 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
2194 |
See \`config.log' for more details." >&2;}
|
2609 |
See \`config.log' for more details" "$LINENO" 5; }
|
2195 |
{ (exit 1); exit 1; }; }
|
|
|
2196 |
fi
|
2610 |
fi
|
2197 |
|
|
|
2198 |
rm -f conftest$ac_cv_exeext
|
2611 |
rm -f conftest conftest$ac_cv_exeext
|
2199 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
2612 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
2200 |
$as_echo "$ac_cv_exeext" >&6; }
|
2613 |
$as_echo "$ac_cv_exeext" >&6; }
|
2201 |
|
2614 |
|
2202 |
rm -f conftest.$ac_ext
|
2615 |
rm -f conftest.$ac_ext
|
2203 |
EXEEXT=$ac_cv_exeext
|
2616 |
EXEEXT=$ac_cv_exeext
|
2204 |
ac_exeext=$EXEEXT
|
2617 |
ac_exeext=$EXEEXT
|
2205 |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
|
|
2206 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
|
|
2207 |
if test "${ac_cv_objext+set}" = set; then
|
|
|
2208 |
$as_echo_n "(cached) " >&6
|
|
|
2209 |
else
|
|
|
2210 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2211 |
/* confdefs.h. */
|
|
|
2212 |
_ACEOF
|
|
|
2213 |
cat confdefs.h >>conftest.$ac_ext
|
2618 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2214 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2215 |
/* end confdefs.h. */
|
2619 |
/* end confdefs.h. */
|
2216 |
|
2620 |
#include <stdio.h>
|
2217 |
int
|
2621 |
int
|
2218 |
main ()
|
2622 |
main ()
|
2219 |
{
|
2623 |
{
|
|
|
2624 |
FILE *f = fopen ("conftest.out", "w");
|
|
|
2625 |
return ferror (f) || fclose (f) != 0;
|
2220 |
|
2626 |
|
2221 |
;
|
2627 |
;
|
2222 |
return 0;
|
2628 |
return 0;
|
2223 |
}
|
2629 |
}
|
2224 |
_ACEOF
|
2630 |
_ACEOF
|
2225 |
rm -f conftest.o conftest.obj
|
2631 |
ac_clean_files="$ac_clean_files conftest.out"
|
2226 |
if { (ac_try="$ac_compile"
|
2632 |
# Check that the compiler produces executables we can run. If not, either
|
|
|
2633 |
# the compiler is broken, or we cross compile.
|
|
|
2634 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
|
2635 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
|
2636 |
if test "$cross_compiling" != yes; then
|
|
|
2637 |
{ { ac_try="$ac_link"
|
2227 |
case "(($ac_try" in
|
2638 |
case "(($ac_try" in
|
2228 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2639 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2229 |
*) ac_try_echo=$ac_try;;
|
2640 |
*) ac_try_echo=$ac_try;;
|
2230 |
esac
|
2641 |
esac
|
2231 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2642 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2232 |
$as_echo "$ac_try_echo") >&5
|
2643 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
2644 |
(eval "$ac_link") 2>&5
|
|
|
2645 |
ac_status=$?
|
|
|
2646 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
2647 |
test $ac_status = 0; }
|
|
|
2648 |
if { ac_try='./conftest$ac_cv_exeext'
|
|
|
2649 |
{ { case "(($ac_try" in
|
|
|
2650 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2651 |
*) ac_try_echo=$ac_try;;
|
|
|
2652 |
esac
|
|
|
2653 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
2654 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
2655 |
(eval "$ac_try") 2>&5
|
|
|
2656 |
ac_status=$?
|
|
|
2657 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
2658 |
test $ac_status = 0; }; }; then
|
|
|
2659 |
cross_compiling=no
|
|
|
2660 |
else
|
|
|
2661 |
if test "$cross_compiling" = maybe; then
|
|
|
2662 |
cross_compiling=yes
|
|
|
2663 |
else
|
|
|
2664 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
|
2665 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
|
2666 |
as_fn_error $? "cannot run C++ compiled programs.
|
|
|
2667 |
If you meant to cross compile, use \`--host'.
|
|
|
2668 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
|
2669 |
fi
|
|
|
2670 |
fi
|
|
|
2671 |
fi
|
|
|
2672 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
|
2673 |
$as_echo "$cross_compiling" >&6; }
|
|
|
2674 |
|
|
|
2675 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
|
|
2676 |
ac_clean_files=$ac_clean_files_save
|
|
|
2677 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
|
|
2678 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
|
|
2679 |
if test "${ac_cv_objext+set}" = set; then :
|
|
|
2680 |
$as_echo_n "(cached) " >&6
|
|
|
2681 |
else
|
|
|
2682 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
2683 |
/* end confdefs.h. */
|
|
|
2684 |
|
|
|
2685 |
int
|
|
|
2686 |
main ()
|
|
|
2687 |
{
|
|
|
2688 |
|
|
|
2689 |
;
|
|
|
2690 |
return 0;
|
|
|
2691 |
}
|
|
|
2692 |
_ACEOF
|
|
|
2693 |
rm -f conftest.o conftest.obj
|
|
|
2694 |
if { { ac_try="$ac_compile"
|
|
|
2695 |
case "(($ac_try" in
|
|
|
2696 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2697 |
*) ac_try_echo=$ac_try;;
|
|
|
2698 |
esac
|
|
|
2699 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
2700 |
$as_echo "$ac_try_echo"; } >&5
|
2233 |
(eval "$ac_compile") 2>&5
|
2701 |
(eval "$ac_compile") 2>&5
|
2234 |
ac_status=$?
|
2702 |
ac_status=$?
|
2235 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2703 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2236 |
(exit $ac_status); }; then
|
2704 |
test $ac_status = 0; }; then :
|
2237 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
2705 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
2238 |
test -f "$ac_file" || continue;
|
2706 |
test -f "$ac_file" || continue;
|
2239 |
case $ac_file in
|
2707 |
case $ac_file in
|
2240 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
2708 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
2241 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
2709 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
|
... |
|
... |
2244 |
done
|
2712 |
done
|
2245 |
else
|
2713 |
else
|
2246 |
$as_echo "$as_me: failed program was:" >&5
|
2714 |
$as_echo "$as_me: failed program was:" >&5
|
2247 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2715 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2248 |
|
2716 |
|
2249 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
2717 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2250 |
See \`config.log' for more details." >&5
|
2718 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2251 |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
2719 |
as_fn_error $? "cannot compute suffix of object files: cannot compile
|
2252 |
See \`config.log' for more details." >&2;}
|
2720 |
See \`config.log' for more details" "$LINENO" 5; }
|
2253 |
{ (exit 1); exit 1; }; }
|
|
|
2254 |
fi
|
2721 |
fi
|
2255 |
|
|
|
2256 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2722 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2257 |
fi
|
2723 |
fi
|
2258 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
2724 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
2259 |
$as_echo "$ac_cv_objext" >&6; }
|
2725 |
$as_echo "$ac_cv_objext" >&6; }
|
2260 |
OBJEXT=$ac_cv_objext
|
2726 |
OBJEXT=$ac_cv_objext
|
2261 |
ac_objext=$OBJEXT
|
2727 |
ac_objext=$OBJEXT
|
2262 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
2728 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
2263 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
2729 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
2264 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
2730 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
|
2265 |
$as_echo_n "(cached) " >&6
|
2731 |
$as_echo_n "(cached) " >&6
|
2266 |
else
|
2732 |
else
|
2267 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2268 |
/* confdefs.h. */
|
|
|
2269 |
_ACEOF
|
|
|
2270 |
cat confdefs.h >>conftest.$ac_ext
|
2733 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2271 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2272 |
/* end confdefs.h. */
|
2734 |
/* end confdefs.h. */
|
2273 |
|
2735 |
|
2274 |
int
|
2736 |
int
|
2275 |
main ()
|
2737 |
main ()
|
2276 |
{
|
2738 |
{
|
|
... |
|
... |
2280 |
|
2742 |
|
2281 |
;
|
2743 |
;
|
2282 |
return 0;
|
2744 |
return 0;
|
2283 |
}
|
2745 |
}
|
2284 |
_ACEOF
|
2746 |
_ACEOF
|
2285 |
rm -f conftest.$ac_objext
|
2747 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
2286 |
if { (ac_try="$ac_compile"
|
|
|
2287 |
case "(($ac_try" in
|
|
|
2288 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2289 |
*) ac_try_echo=$ac_try;;
|
|
|
2290 |
esac
|
|
|
2291 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
2292 |
$as_echo "$ac_try_echo") >&5
|
|
|
2293 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
2294 |
ac_status=$?
|
|
|
2295 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
2296 |
rm -f conftest.er1
|
|
|
2297 |
cat conftest.err >&5
|
|
|
2298 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2299 |
(exit $ac_status); } && {
|
|
|
2300 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
2301 |
test ! -s conftest.err
|
|
|
2302 |
} && test -s conftest.$ac_objext; then
|
|
|
2303 |
ac_compiler_gnu=yes
|
2748 |
ac_compiler_gnu=yes
|
2304 |
else
|
2749 |
else
|
2305 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
2306 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
2307 |
|
|
|
2308 |
ac_compiler_gnu=no
|
2750 |
ac_compiler_gnu=no
|
2309 |
fi
|
2751 |
fi
|
2310 |
|
|
|
2311 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2752 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2312 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
2753 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
2313 |
|
2754 |
|
2314 |
fi
|
2755 |
fi
|
2315 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
2756 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
2316 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
2757 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
2317 |
if test $ac_compiler_gnu = yes; then
|
2758 |
if test $ac_compiler_gnu = yes; then
|
2318 |
GXX=yes
|
2759 |
GXX=yes
|
2319 |
else
|
2760 |
else
|
2320 |
GXX=
|
2761 |
GXX=
|
2321 |
fi
|
2762 |
fi
|
2322 |
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
2763 |
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
2323 |
ac_save_CXXFLAGS=$CXXFLAGS
|
2764 |
ac_save_CXXFLAGS=$CXXFLAGS
|
2324 |
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
2765 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
2325 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
2766 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
2326 |
if test "${ac_cv_prog_cxx_g+set}" = set; then
|
2767 |
if test "${ac_cv_prog_cxx_g+set}" = set; then :
|
2327 |
$as_echo_n "(cached) " >&6
|
2768 |
$as_echo_n "(cached) " >&6
|
2328 |
else
|
2769 |
else
|
2329 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
2770 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
2330 |
ac_cxx_werror_flag=yes
|
2771 |
ac_cxx_werror_flag=yes
|
2331 |
ac_cv_prog_cxx_g=no
|
2772 |
ac_cv_prog_cxx_g=no
|
2332 |
CXXFLAGS="-g"
|
2773 |
CXXFLAGS="-g"
|
2333 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2334 |
/* confdefs.h. */
|
|
|
2335 |
_ACEOF
|
|
|
2336 |
cat confdefs.h >>conftest.$ac_ext
|
2774 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2337 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2338 |
/* end confdefs.h. */
|
2775 |
/* end confdefs.h. */
|
2339 |
|
2776 |
|
2340 |
int
|
2777 |
int
|
2341 |
main ()
|
2778 |
main ()
|
2342 |
{
|
2779 |
{
|
2343 |
|
2780 |
|
2344 |
;
|
2781 |
;
|
2345 |
return 0;
|
2782 |
return 0;
|
2346 |
}
|
2783 |
}
|
2347 |
_ACEOF
|
2784 |
_ACEOF
|
2348 |
rm -f conftest.$ac_objext
|
2785 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
2349 |
if { (ac_try="$ac_compile"
|
|
|
2350 |
case "(($ac_try" in
|
|
|
2351 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2352 |
*) ac_try_echo=$ac_try;;
|
|
|
2353 |
esac
|
|
|
2354 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
2355 |
$as_echo "$ac_try_echo") >&5
|
|
|
2356 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
2357 |
ac_status=$?
|
|
|
2358 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
2359 |
rm -f conftest.er1
|
|
|
2360 |
cat conftest.err >&5
|
|
|
2361 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2362 |
(exit $ac_status); } && {
|
|
|
2363 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
2364 |
test ! -s conftest.err
|
|
|
2365 |
} && test -s conftest.$ac_objext; then
|
|
|
2366 |
ac_cv_prog_cxx_g=yes
|
2786 |
ac_cv_prog_cxx_g=yes
|
2367 |
else
|
2787 |
else
|
2368 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
2369 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
2370 |
|
|
|
2371 |
CXXFLAGS=""
|
2788 |
CXXFLAGS=""
|
2372 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2373 |
/* confdefs.h. */
|
|
|
2374 |
_ACEOF
|
|
|
2375 |
cat confdefs.h >>conftest.$ac_ext
|
2789 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2376 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2377 |
/* end confdefs.h. */
|
2790 |
/* end confdefs.h. */
|
2378 |
|
2791 |
|
2379 |
int
|
2792 |
int
|
2380 |
main ()
|
2793 |
main ()
|
2381 |
{
|
2794 |
{
|
2382 |
|
2795 |
|
2383 |
;
|
2796 |
;
|
2384 |
return 0;
|
2797 |
return 0;
|
2385 |
}
|
2798 |
}
|
2386 |
_ACEOF
|
2799 |
_ACEOF
|
2387 |
rm -f conftest.$ac_objext
|
2800 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
2388 |
if { (ac_try="$ac_compile"
|
|
|
2389 |
case "(($ac_try" in
|
|
|
2390 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2391 |
*) ac_try_echo=$ac_try;;
|
|
|
2392 |
esac
|
|
|
2393 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
2394 |
$as_echo "$ac_try_echo") >&5
|
|
|
2395 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
2396 |
ac_status=$?
|
|
|
2397 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
2398 |
rm -f conftest.er1
|
|
|
2399 |
cat conftest.err >&5
|
|
|
2400 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2401 |
(exit $ac_status); } && {
|
|
|
2402 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
2403 |
test ! -s conftest.err
|
|
|
2404 |
} && test -s conftest.$ac_objext; then
|
|
|
2405 |
:
|
|
|
2406 |
else
|
|
|
2407 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
2408 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
2409 |
|
2801 |
|
|
|
2802 |
else
|
2410 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
2803 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
2411 |
CXXFLAGS="-g"
|
2804 |
CXXFLAGS="-g"
|
2412 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2413 |
/* confdefs.h. */
|
|
|
2414 |
_ACEOF
|
|
|
2415 |
cat confdefs.h >>conftest.$ac_ext
|
2805 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2416 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2417 |
/* end confdefs.h. */
|
2806 |
/* end confdefs.h. */
|
2418 |
|
2807 |
|
2419 |
int
|
2808 |
int
|
2420 |
main ()
|
2809 |
main ()
|
2421 |
{
|
2810 |
{
|
2422 |
|
2811 |
|
2423 |
;
|
2812 |
;
|
2424 |
return 0;
|
2813 |
return 0;
|
2425 |
}
|
2814 |
}
|
2426 |
_ACEOF
|
2815 |
_ACEOF
|
2427 |
rm -f conftest.$ac_objext
|
2816 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
2428 |
if { (ac_try="$ac_compile"
|
|
|
2429 |
case "(($ac_try" in
|
|
|
2430 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2431 |
*) ac_try_echo=$ac_try;;
|
|
|
2432 |
esac
|
|
|
2433 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
2434 |
$as_echo "$ac_try_echo") >&5
|
|
|
2435 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
2436 |
ac_status=$?
|
|
|
2437 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
2438 |
rm -f conftest.er1
|
|
|
2439 |
cat conftest.err >&5
|
|
|
2440 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2441 |
(exit $ac_status); } && {
|
|
|
2442 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
2443 |
test ! -s conftest.err
|
|
|
2444 |
} && test -s conftest.$ac_objext; then
|
|
|
2445 |
ac_cv_prog_cxx_g=yes
|
2817 |
ac_cv_prog_cxx_g=yes
|
2446 |
else
|
|
|
2447 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
2448 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
2449 |
|
|
|
2450 |
|
|
|
2451 |
fi
|
2818 |
fi
|
2452 |
|
|
|
2453 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2819 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2454 |
fi
|
2820 |
fi
|
2455 |
|
|
|
2456 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2821 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2457 |
fi
|
2822 |
fi
|
2458 |
|
|
|
2459 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2823 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2460 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
2824 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
2461 |
fi
|
2825 |
fi
|
2462 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
2826 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
2463 |
$as_echo "$ac_cv_prog_cxx_g" >&6; }
|
2827 |
$as_echo "$ac_cv_prog_cxx_g" >&6; }
|
2464 |
if test "$ac_test_CXXFLAGS" = set; then
|
2828 |
if test "$ac_test_CXXFLAGS" = set; then
|
2465 |
CXXFLAGS=$ac_save_CXXFLAGS
|
2829 |
CXXFLAGS=$ac_save_CXXFLAGS
|
2466 |
elif test $ac_cv_prog_cxx_g = yes; then
|
2830 |
elif test $ac_cv_prog_cxx_g = yes; then
|
2467 |
if test "$GXX" = yes; then
|
2831 |
if test "$GXX" = yes; then
|
|
... |
|
... |
2481 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2845 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2482 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2846 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2483 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2847 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2484 |
|
2848 |
|
2485 |
if test C$CXX = C ; then
|
2849 |
if test C$CXX = C ; then
|
2486 |
{ { $as_echo "$as_me:$LINENO: error: C++ compiler needed. Please install one (ie: gnu g++)" >&5
|
|
|
2487 |
$as_echo "$as_me: error: C++ compiler needed. Please install one (ie: gnu g++)" >&2;}
|
2850 |
as_fn_error $? "C++ compiler needed. Please install one (ie: gnu g++)" "$LINENO" 5
|
2488 |
{ (exit 1); exit 1; }; }
|
|
|
2489 |
fi
|
2851 |
fi
|
2490 |
|
2852 |
|
2491 |
sys=`uname | tr / _`
|
2853 |
sys=`uname | tr / _`
|
2492 |
|
2854 |
|
2493 |
if test ! -f mk/$sys ; then
|
2855 |
if test ! -f mk/$sys ; then
|
2494 |
{ $as_echo "$as_me:$LINENO:
|
2856 |
{ $as_echo "$as_me:${as_lineno-$LINENO}:
|
2495 |
No system configuration file found in mk/ for uname = '$sys'.
|
2857 |
No system configuration file found in mk/ for uname = '$sys'.
|
2496 |
Trying with Default file.
|
2858 |
Trying with Default file.
|
2497 |
If the build fails, you'll need to write a configuration file, starting
|
2859 |
If the build fails, you'll need to write a configuration file, starting
|
2498 |
from one of the existing ones." >&5
|
2860 |
from one of the existing ones." >&5
|
2499 |
$as_echo "$as_me:
|
2861 |
$as_echo "$as_me:
|
|
... |
|
... |
2512 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2874 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2513 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2875 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2514 |
if test -n "$ac_tool_prefix"; then
|
2876 |
if test -n "$ac_tool_prefix"; then
|
2515 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
2877 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
2516 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
2878 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
2517 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2879 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2518 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2880 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2519 |
if test "${ac_cv_prog_CC+set}" = set; then
|
2881 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2520 |
$as_echo_n "(cached) " >&6
|
2882 |
$as_echo_n "(cached) " >&6
|
2521 |
else
|
2883 |
else
|
2522 |
if test -n "$CC"; then
|
2884 |
if test -n "$CC"; then
|
2523 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2885 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2524 |
else
|
2886 |
else
|
2525 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2887 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2526 |
for as_dir in $PATH
|
2888 |
for as_dir in $PATH
|
2527 |
do
|
2889 |
do
|
2528 |
IFS=$as_save_IFS
|
2890 |
IFS=$as_save_IFS
|
2529 |
test -z "$as_dir" && as_dir=.
|
2891 |
test -z "$as_dir" && as_dir=.
|
2530 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2892 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2531 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2893 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2532 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
2894 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
2533 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2895 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2534 |
break 2
|
2896 |
break 2
|
2535 |
fi
|
2897 |
fi
|
2536 |
done
|
2898 |
done
|
2537 |
done
|
2899 |
done
|
2538 |
IFS=$as_save_IFS
|
2900 |
IFS=$as_save_IFS
|
2539 |
|
2901 |
|
2540 |
fi
|
2902 |
fi
|
2541 |
fi
|
2903 |
fi
|
2542 |
CC=$ac_cv_prog_CC
|
2904 |
CC=$ac_cv_prog_CC
|
2543 |
if test -n "$CC"; then
|
2905 |
if test -n "$CC"; then
|
2544 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
2906 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2545 |
$as_echo "$CC" >&6; }
|
2907 |
$as_echo "$CC" >&6; }
|
2546 |
else
|
2908 |
else
|
2547 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
2909 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2548 |
$as_echo "no" >&6; }
|
2910 |
$as_echo "no" >&6; }
|
2549 |
fi
|
2911 |
fi
|
2550 |
|
2912 |
|
2551 |
|
2913 |
|
2552 |
fi
|
2914 |
fi
|
2553 |
if test -z "$ac_cv_prog_CC"; then
|
2915 |
if test -z "$ac_cv_prog_CC"; then
|
2554 |
ac_ct_CC=$CC
|
2916 |
ac_ct_CC=$CC
|
2555 |
# Extract the first word of "gcc", so it can be a program name with args.
|
2917 |
# Extract the first word of "gcc", so it can be a program name with args.
|
2556 |
set dummy gcc; ac_word=$2
|
2918 |
set dummy gcc; ac_word=$2
|
2557 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2919 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2558 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2920 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2559 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2921 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
2560 |
$as_echo_n "(cached) " >&6
|
2922 |
$as_echo_n "(cached) " >&6
|
2561 |
else
|
2923 |
else
|
2562 |
if test -n "$ac_ct_CC"; then
|
2924 |
if test -n "$ac_ct_CC"; then
|
2563 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
2925 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
2564 |
else
|
2926 |
else
|
2565 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2927 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2566 |
for as_dir in $PATH
|
2928 |
for as_dir in $PATH
|
2567 |
do
|
2929 |
do
|
2568 |
IFS=$as_save_IFS
|
2930 |
IFS=$as_save_IFS
|
2569 |
test -z "$as_dir" && as_dir=.
|
2931 |
test -z "$as_dir" && as_dir=.
|
2570 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2932 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2571 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2933 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2572 |
ac_cv_prog_ac_ct_CC="gcc"
|
2934 |
ac_cv_prog_ac_ct_CC="gcc"
|
2573 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2935 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2574 |
break 2
|
2936 |
break 2
|
2575 |
fi
|
2937 |
fi
|
2576 |
done
|
2938 |
done
|
2577 |
done
|
2939 |
done
|
2578 |
IFS=$as_save_IFS
|
2940 |
IFS=$as_save_IFS
|
2579 |
|
2941 |
|
2580 |
fi
|
2942 |
fi
|
2581 |
fi
|
2943 |
fi
|
2582 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2944 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2583 |
if test -n "$ac_ct_CC"; then
|
2945 |
if test -n "$ac_ct_CC"; then
|
2584 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2946 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
2585 |
$as_echo "$ac_ct_CC" >&6; }
|
2947 |
$as_echo "$ac_ct_CC" >&6; }
|
2586 |
else
|
2948 |
else
|
2587 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
2949 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2588 |
$as_echo "no" >&6; }
|
2950 |
$as_echo "no" >&6; }
|
2589 |
fi
|
2951 |
fi
|
2590 |
|
2952 |
|
2591 |
if test "x$ac_ct_CC" = x; then
|
2953 |
if test "x$ac_ct_CC" = x; then
|
2592 |
CC=""
|
2954 |
CC=""
|
2593 |
else
|
2955 |
else
|
2594 |
case $cross_compiling:$ac_tool_warned in
|
2956 |
case $cross_compiling:$ac_tool_warned in
|
2595 |
yes:)
|
2957 |
yes:)
|
2596 |
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
2958 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2597 |
whose name does not start with the host triplet. If you think this
|
2959 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2598 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
|
2599 |
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
|
2600 |
whose name does not start with the host triplet. If you think this
|
|
|
2601 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
|
2602 |
ac_tool_warned=yes ;;
|
2960 |
ac_tool_warned=yes ;;
|
2603 |
esac
|
2961 |
esac
|
2604 |
CC=$ac_ct_CC
|
2962 |
CC=$ac_ct_CC
|
2605 |
fi
|
2963 |
fi
|
2606 |
else
|
2964 |
else
|
|
... |
|
... |
2609 |
|
2967 |
|
2610 |
if test -z "$CC"; then
|
2968 |
if test -z "$CC"; then
|
2611 |
if test -n "$ac_tool_prefix"; then
|
2969 |
if test -n "$ac_tool_prefix"; then
|
2612 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2970 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2613 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2971 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2614 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2972 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2615 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2973 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2616 |
if test "${ac_cv_prog_CC+set}" = set; then
|
2974 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2617 |
$as_echo_n "(cached) " >&6
|
2975 |
$as_echo_n "(cached) " >&6
|
2618 |
else
|
2976 |
else
|
2619 |
if test -n "$CC"; then
|
2977 |
if test -n "$CC"; then
|
2620 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2978 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2621 |
else
|
2979 |
else
|
2622 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2980 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2623 |
for as_dir in $PATH
|
2981 |
for as_dir in $PATH
|
2624 |
do
|
2982 |
do
|
2625 |
IFS=$as_save_IFS
|
2983 |
IFS=$as_save_IFS
|
2626 |
test -z "$as_dir" && as_dir=.
|
2984 |
test -z "$as_dir" && as_dir=.
|
2627 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2985 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2628 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2986 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2629 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2987 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2630 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2988 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2631 |
break 2
|
2989 |
break 2
|
2632 |
fi
|
2990 |
fi
|
2633 |
done
|
2991 |
done
|
2634 |
done
|
2992 |
done
|
2635 |
IFS=$as_save_IFS
|
2993 |
IFS=$as_save_IFS
|
2636 |
|
2994 |
|
2637 |
fi
|
2995 |
fi
|
2638 |
fi
|
2996 |
fi
|
2639 |
CC=$ac_cv_prog_CC
|
2997 |
CC=$ac_cv_prog_CC
|
2640 |
if test -n "$CC"; then
|
2998 |
if test -n "$CC"; then
|
2641 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
2999 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2642 |
$as_echo "$CC" >&6; }
|
3000 |
$as_echo "$CC" >&6; }
|
2643 |
else
|
3001 |
else
|
2644 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
3002 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2645 |
$as_echo "no" >&6; }
|
3003 |
$as_echo "no" >&6; }
|
2646 |
fi
|
3004 |
fi
|
2647 |
|
3005 |
|
2648 |
|
3006 |
|
2649 |
fi
|
3007 |
fi
|
2650 |
fi
|
3008 |
fi
|
2651 |
if test -z "$CC"; then
|
3009 |
if test -z "$CC"; then
|
2652 |
# Extract the first word of "cc", so it can be a program name with args.
|
3010 |
# Extract the first word of "cc", so it can be a program name with args.
|
2653 |
set dummy cc; ac_word=$2
|
3011 |
set dummy cc; ac_word=$2
|
2654 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3012 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2655 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3013 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2656 |
if test "${ac_cv_prog_CC+set}" = set; then
|
3014 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2657 |
$as_echo_n "(cached) " >&6
|
3015 |
$as_echo_n "(cached) " >&6
|
2658 |
else
|
3016 |
else
|
2659 |
if test -n "$CC"; then
|
3017 |
if test -n "$CC"; then
|
2660 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3018 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2661 |
else
|
3019 |
else
|
|
... |
|
... |
2663 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3021 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2664 |
for as_dir in $PATH
|
3022 |
for as_dir in $PATH
|
2665 |
do
|
3023 |
do
|
2666 |
IFS=$as_save_IFS
|
3024 |
IFS=$as_save_IFS
|
2667 |
test -z "$as_dir" && as_dir=.
|
3025 |
test -z "$as_dir" && as_dir=.
|
2668 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3026 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2669 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3027 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2670 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
3028 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
2671 |
ac_prog_rejected=yes
|
3029 |
ac_prog_rejected=yes
|
2672 |
continue
|
3030 |
continue
|
2673 |
fi
|
3031 |
fi
|
2674 |
ac_cv_prog_CC="cc"
|
3032 |
ac_cv_prog_CC="cc"
|
2675 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3033 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2676 |
break 2
|
3034 |
break 2
|
2677 |
fi
|
3035 |
fi
|
2678 |
done
|
3036 |
done
|
2679 |
done
|
3037 |
done
|
2680 |
IFS=$as_save_IFS
|
3038 |
IFS=$as_save_IFS
|
2681 |
|
3039 |
|
2682 |
if test $ac_prog_rejected = yes; then
|
3040 |
if test $ac_prog_rejected = yes; then
|
2683 |
# We found a bogon in the path, so make sure we never use it.
|
3041 |
# We found a bogon in the path, so make sure we never use it.
|
2684 |
set dummy $ac_cv_prog_CC
|
3042 |
set dummy $ac_cv_prog_CC
|
|
... |
|
... |
2693 |
fi
|
3051 |
fi
|
2694 |
fi
|
3052 |
fi
|
2695 |
fi
|
3053 |
fi
|
2696 |
CC=$ac_cv_prog_CC
|
3054 |
CC=$ac_cv_prog_CC
|
2697 |
if test -n "$CC"; then
|
3055 |
if test -n "$CC"; then
|
2698 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
3056 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2699 |
$as_echo "$CC" >&6; }
|
3057 |
$as_echo "$CC" >&6; }
|
2700 |
else
|
3058 |
else
|
2701 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
3059 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2702 |
$as_echo "no" >&6; }
|
3060 |
$as_echo "no" >&6; }
|
2703 |
fi
|
3061 |
fi
|
2704 |
|
3062 |
|
2705 |
|
3063 |
|
2706 |
fi
|
3064 |
fi
|
|
... |
|
... |
2708 |
if test -n "$ac_tool_prefix"; then
|
3066 |
if test -n "$ac_tool_prefix"; then
|
2709 |
for ac_prog in cl.exe
|
3067 |
for ac_prog in cl.exe
|
2710 |
do
|
3068 |
do
|
2711 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
3069 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2712 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
3070 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2713 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3071 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2714 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3072 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2715 |
if test "${ac_cv_prog_CC+set}" = set; then
|
3073 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2716 |
$as_echo_n "(cached) " >&6
|
3074 |
$as_echo_n "(cached) " >&6
|
2717 |
else
|
3075 |
else
|
2718 |
if test -n "$CC"; then
|
3076 |
if test -n "$CC"; then
|
2719 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3077 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2720 |
else
|
3078 |
else
|
2721 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3079 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2722 |
for as_dir in $PATH
|
3080 |
for as_dir in $PATH
|
2723 |
do
|
3081 |
do
|
2724 |
IFS=$as_save_IFS
|
3082 |
IFS=$as_save_IFS
|
2725 |
test -z "$as_dir" && as_dir=.
|
3083 |
test -z "$as_dir" && as_dir=.
|
2726 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3084 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2727 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3085 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2728 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
3086 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2729 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3087 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2730 |
break 2
|
3088 |
break 2
|
2731 |
fi
|
3089 |
fi
|
2732 |
done
|
3090 |
done
|
2733 |
done
|
3091 |
done
|
2734 |
IFS=$as_save_IFS
|
3092 |
IFS=$as_save_IFS
|
2735 |
|
3093 |
|
2736 |
fi
|
3094 |
fi
|
2737 |
fi
|
3095 |
fi
|
2738 |
CC=$ac_cv_prog_CC
|
3096 |
CC=$ac_cv_prog_CC
|
2739 |
if test -n "$CC"; then
|
3097 |
if test -n "$CC"; then
|
2740 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
3098 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2741 |
$as_echo "$CC" >&6; }
|
3099 |
$as_echo "$CC" >&6; }
|
2742 |
else
|
3100 |
else
|
2743 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
3101 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2744 |
$as_echo "no" >&6; }
|
3102 |
$as_echo "no" >&6; }
|
2745 |
fi
|
3103 |
fi
|
2746 |
|
3104 |
|
2747 |
|
3105 |
|
2748 |
test -n "$CC" && break
|
3106 |
test -n "$CC" && break
|
|
... |
|
... |
2752 |
ac_ct_CC=$CC
|
3110 |
ac_ct_CC=$CC
|
2753 |
for ac_prog in cl.exe
|
3111 |
for ac_prog in cl.exe
|
2754 |
do
|
3112 |
do
|
2755 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3113 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2756 |
set dummy $ac_prog; ac_word=$2
|
3114 |
set dummy $ac_prog; ac_word=$2
|
2757 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3115 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2758 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3116 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2759 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
3117 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
2760 |
$as_echo_n "(cached) " >&6
|
3118 |
$as_echo_n "(cached) " >&6
|
2761 |
else
|
3119 |
else
|
2762 |
if test -n "$ac_ct_CC"; then
|
3120 |
if test -n "$ac_ct_CC"; then
|
2763 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
3121 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
2764 |
else
|
3122 |
else
|
2765 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3123 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2766 |
for as_dir in $PATH
|
3124 |
for as_dir in $PATH
|
2767 |
do
|
3125 |
do
|
2768 |
IFS=$as_save_IFS
|
3126 |
IFS=$as_save_IFS
|
2769 |
test -z "$as_dir" && as_dir=.
|
3127 |
test -z "$as_dir" && as_dir=.
|
2770 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3128 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2771 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3129 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2772 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
3130 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2773 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3131 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2774 |
break 2
|
3132 |
break 2
|
2775 |
fi
|
3133 |
fi
|
2776 |
done
|
3134 |
done
|
2777 |
done
|
3135 |
done
|
2778 |
IFS=$as_save_IFS
|
3136 |
IFS=$as_save_IFS
|
2779 |
|
3137 |
|
2780 |
fi
|
3138 |
fi
|
2781 |
fi
|
3139 |
fi
|
2782 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3140 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2783 |
if test -n "$ac_ct_CC"; then
|
3141 |
if test -n "$ac_ct_CC"; then
|
2784 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
3142 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
2785 |
$as_echo "$ac_ct_CC" >&6; }
|
3143 |
$as_echo "$ac_ct_CC" >&6; }
|
2786 |
else
|
3144 |
else
|
2787 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
3145 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2788 |
$as_echo "no" >&6; }
|
3146 |
$as_echo "no" >&6; }
|
2789 |
fi
|
3147 |
fi
|
2790 |
|
3148 |
|
2791 |
|
3149 |
|
2792 |
test -n "$ac_ct_CC" && break
|
3150 |
test -n "$ac_ct_CC" && break
|
|
... |
|
... |
2795 |
if test "x$ac_ct_CC" = x; then
|
3153 |
if test "x$ac_ct_CC" = x; then
|
2796 |
CC=""
|
3154 |
CC=""
|
2797 |
else
|
3155 |
else
|
2798 |
case $cross_compiling:$ac_tool_warned in
|
3156 |
case $cross_compiling:$ac_tool_warned in
|
2799 |
yes:)
|
3157 |
yes:)
|
2800 |
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
3158 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2801 |
whose name does not start with the host triplet. If you think this
|
3159 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2802 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
|
2803 |
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
|
2804 |
whose name does not start with the host triplet. If you think this
|
|
|
2805 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
|
2806 |
ac_tool_warned=yes ;;
|
3160 |
ac_tool_warned=yes ;;
|
2807 |
esac
|
3161 |
esac
|
2808 |
CC=$ac_ct_CC
|
3162 |
CC=$ac_ct_CC
|
2809 |
fi
|
3163 |
fi
|
2810 |
fi
|
3164 |
fi
|
2811 |
|
3165 |
|
2812 |
fi
|
3166 |
fi
|
2813 |
|
3167 |
|
2814 |
|
3168 |
|
2815 |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
3169 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2816 |
See \`config.log' for more details." >&5
|
3170 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2817 |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
|
3171 |
as_fn_error $? "no acceptable C compiler found in \$PATH
|
2818 |
See \`config.log' for more details." >&2;}
|
3172 |
See \`config.log' for more details" "$LINENO" 5; }
|
2819 |
{ (exit 1); exit 1; }; }
|
|
|
2820 |
|
3173 |
|
2821 |
# Provide some information about the compiler.
|
3174 |
# Provide some information about the compiler.
|
2822 |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
|
3175 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
2823 |
set X $ac_compile
|
3176 |
set X $ac_compile
|
2824 |
ac_compiler=$2
|
3177 |
ac_compiler=$2
|
|
|
3178 |
for ac_option in --version -v -V -qversion; do
|
2825 |
{ (ac_try="$ac_compiler --version >&5"
|
3179 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
2826 |
case "(($ac_try" in
|
3180 |
case "(($ac_try" in
|
2827 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3181 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2828 |
*) ac_try_echo=$ac_try;;
|
3182 |
*) ac_try_echo=$ac_try;;
|
2829 |
esac
|
3183 |
esac
|
2830 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3184 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2831 |
$as_echo "$ac_try_echo") >&5
|
3185 |
$as_echo "$ac_try_echo"; } >&5
|
2832 |
(eval "$ac_compiler --version >&5") 2>&5
|
3186 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
2833 |
ac_status=$?
|
3187 |
ac_status=$?
|
|
|
3188 |
if test -s conftest.err; then
|
|
|
3189 |
sed '10a\
|
|
|
3190 |
... rest of stderr output deleted ...
|
|
|
3191 |
10q' conftest.err >conftest.er1
|
|
|
3192 |
cat conftest.er1 >&5
|
|
|
3193 |
fi
|
|
|
3194 |
rm -f conftest.er1 conftest.err
|
2834 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3195 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2835 |
(exit $ac_status); }
|
3196 |
test $ac_status = 0; }
|
2836 |
{ (ac_try="$ac_compiler -v >&5"
|
3197 |
done
|
2837 |
case "(($ac_try" in
|
|
|
2838 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2839 |
*) ac_try_echo=$ac_try;;
|
|
|
2840 |
esac
|
|
|
2841 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
2842 |
$as_echo "$ac_try_echo") >&5
|
|
|
2843 |
(eval "$ac_compiler -v >&5") 2>&5
|
|
|
2844 |
ac_status=$?
|
|
|
2845 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2846 |
(exit $ac_status); }
|
|
|
2847 |
{ (ac_try="$ac_compiler -V >&5"
|
|
|
2848 |
case "(($ac_try" in
|
|
|
2849 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2850 |
*) ac_try_echo=$ac_try;;
|
|
|
2851 |
esac
|
|
|
2852 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
2853 |
$as_echo "$ac_try_echo") >&5
|
|
|
2854 |
(eval "$ac_compiler -V >&5") 2>&5
|
|
|
2855 |
ac_status=$?
|
|
|
2856 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2857 |
(exit $ac_status); }
|
|
|
2858 |
|
3198 |
|
2859 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
3199 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
2860 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
3200 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
2861 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
3201 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
2862 |
$as_echo_n "(cached) " >&6
|
3202 |
$as_echo_n "(cached) " >&6
|
2863 |
else
|
3203 |
else
|
2864 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2865 |
/* confdefs.h. */
|
|
|
2866 |
_ACEOF
|
|
|
2867 |
cat confdefs.h >>conftest.$ac_ext
|
3204 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2868 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2869 |
/* end confdefs.h. */
|
3205 |
/* end confdefs.h. */
|
2870 |
|
3206 |
|
2871 |
int
|
3207 |
int
|
2872 |
main ()
|
3208 |
main ()
|
2873 |
{
|
3209 |
{
|
|
... |
|
... |
2877 |
|
3213 |
|
2878 |
;
|
3214 |
;
|
2879 |
return 0;
|
3215 |
return 0;
|
2880 |
}
|
3216 |
}
|
2881 |
_ACEOF
|
3217 |
_ACEOF
|
2882 |
rm -f conftest.$ac_objext
|
3218 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2883 |
if { (ac_try="$ac_compile"
|
|
|
2884 |
case "(($ac_try" in
|
|
|
2885 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2886 |
*) ac_try_echo=$ac_try;;
|
|
|
2887 |
esac
|
|
|
2888 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
2889 |
$as_echo "$ac_try_echo") >&5
|
|
|
2890 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
2891 |
ac_status=$?
|
|
|
2892 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
2893 |
rm -f conftest.er1
|
|
|
2894 |
cat conftest.err >&5
|
|
|
2895 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2896 |
(exit $ac_status); } && {
|
|
|
2897 |
test -z "$ac_c_werror_flag" ||
|
|
|
2898 |
test ! -s conftest.err
|
|
|
2899 |
} && test -s conftest.$ac_objext; then
|
|
|
2900 |
ac_compiler_gnu=yes
|
3219 |
ac_compiler_gnu=yes
|
2901 |
else
|
3220 |
else
|
2902 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
2903 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
2904 |
|
|
|
2905 |
ac_compiler_gnu=no
|
3221 |
ac_compiler_gnu=no
|
2906 |
fi
|
3222 |
fi
|
2907 |
|
|
|
2908 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3223 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2909 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
3224 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2910 |
|
3225 |
|
2911 |
fi
|
3226 |
fi
|
2912 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
3227 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
2913 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
3228 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
2914 |
if test $ac_compiler_gnu = yes; then
|
3229 |
if test $ac_compiler_gnu = yes; then
|
2915 |
GCC=yes
|
3230 |
GCC=yes
|
2916 |
else
|
3231 |
else
|
2917 |
GCC=
|
3232 |
GCC=
|
2918 |
fi
|
3233 |
fi
|
2919 |
ac_test_CFLAGS=${CFLAGS+set}
|
3234 |
ac_test_CFLAGS=${CFLAGS+set}
|
2920 |
ac_save_CFLAGS=$CFLAGS
|
3235 |
ac_save_CFLAGS=$CFLAGS
|
2921 |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
3236 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
2922 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
3237 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
2923 |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
3238 |
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
2924 |
$as_echo_n "(cached) " >&6
|
3239 |
$as_echo_n "(cached) " >&6
|
2925 |
else
|
3240 |
else
|
2926 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
3241 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
2927 |
ac_c_werror_flag=yes
|
3242 |
ac_c_werror_flag=yes
|
2928 |
ac_cv_prog_cc_g=no
|
3243 |
ac_cv_prog_cc_g=no
|
2929 |
CFLAGS="-g"
|
3244 |
CFLAGS="-g"
|
2930 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2931 |
/* confdefs.h. */
|
|
|
2932 |
_ACEOF
|
|
|
2933 |
cat confdefs.h >>conftest.$ac_ext
|
3245 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2934 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2935 |
/* end confdefs.h. */
|
3246 |
/* end confdefs.h. */
|
2936 |
|
3247 |
|
2937 |
int
|
3248 |
int
|
2938 |
main ()
|
3249 |
main ()
|
2939 |
{
|
3250 |
{
|
2940 |
|
3251 |
|
2941 |
;
|
3252 |
;
|
2942 |
return 0;
|
3253 |
return 0;
|
2943 |
}
|
3254 |
}
|
2944 |
_ACEOF
|
3255 |
_ACEOF
|
2945 |
rm -f conftest.$ac_objext
|
3256 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2946 |
if { (ac_try="$ac_compile"
|
|
|
2947 |
case "(($ac_try" in
|
|
|
2948 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2949 |
*) ac_try_echo=$ac_try;;
|
|
|
2950 |
esac
|
|
|
2951 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
2952 |
$as_echo "$ac_try_echo") >&5
|
|
|
2953 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
2954 |
ac_status=$?
|
|
|
2955 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
2956 |
rm -f conftest.er1
|
|
|
2957 |
cat conftest.err >&5
|
|
|
2958 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2959 |
(exit $ac_status); } && {
|
|
|
2960 |
test -z "$ac_c_werror_flag" ||
|
|
|
2961 |
test ! -s conftest.err
|
|
|
2962 |
} && test -s conftest.$ac_objext; then
|
|
|
2963 |
ac_cv_prog_cc_g=yes
|
3257 |
ac_cv_prog_cc_g=yes
|
2964 |
else
|
3258 |
else
|
2965 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
2966 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
2967 |
|
|
|
2968 |
CFLAGS=""
|
3259 |
CFLAGS=""
|
2969 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2970 |
/* confdefs.h. */
|
|
|
2971 |
_ACEOF
|
|
|
2972 |
cat confdefs.h >>conftest.$ac_ext
|
3260 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2973 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2974 |
/* end confdefs.h. */
|
3261 |
/* end confdefs.h. */
|
2975 |
|
3262 |
|
2976 |
int
|
3263 |
int
|
2977 |
main ()
|
3264 |
main ()
|
2978 |
{
|
3265 |
{
|
2979 |
|
3266 |
|
2980 |
;
|
3267 |
;
|
2981 |
return 0;
|
3268 |
return 0;
|
2982 |
}
|
3269 |
}
|
2983 |
_ACEOF
|
3270 |
_ACEOF
|
2984 |
rm -f conftest.$ac_objext
|
3271 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2985 |
if { (ac_try="$ac_compile"
|
|
|
2986 |
case "(($ac_try" in
|
|
|
2987 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2988 |
*) ac_try_echo=$ac_try;;
|
|
|
2989 |
esac
|
|
|
2990 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
2991 |
$as_echo "$ac_try_echo") >&5
|
|
|
2992 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
2993 |
ac_status=$?
|
|
|
2994 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
2995 |
rm -f conftest.er1
|
|
|
2996 |
cat conftest.err >&5
|
|
|
2997 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2998 |
(exit $ac_status); } && {
|
|
|
2999 |
test -z "$ac_c_werror_flag" ||
|
|
|
3000 |
test ! -s conftest.err
|
|
|
3001 |
} && test -s conftest.$ac_objext; then
|
|
|
3002 |
:
|
|
|
3003 |
else
|
|
|
3004 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3005 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3006 |
|
3272 |
|
|
|
3273 |
else
|
3007 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3274 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3008 |
CFLAGS="-g"
|
3275 |
CFLAGS="-g"
|
3009 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3010 |
/* confdefs.h. */
|
|
|
3011 |
_ACEOF
|
|
|
3012 |
cat confdefs.h >>conftest.$ac_ext
|
3276 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3013 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3014 |
/* end confdefs.h. */
|
3277 |
/* end confdefs.h. */
|
3015 |
|
3278 |
|
3016 |
int
|
3279 |
int
|
3017 |
main ()
|
3280 |
main ()
|
3018 |
{
|
3281 |
{
|
3019 |
|
3282 |
|
3020 |
;
|
3283 |
;
|
3021 |
return 0;
|
3284 |
return 0;
|
3022 |
}
|
3285 |
}
|
3023 |
_ACEOF
|
3286 |
_ACEOF
|
3024 |
rm -f conftest.$ac_objext
|
3287 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3025 |
if { (ac_try="$ac_compile"
|
|
|
3026 |
case "(($ac_try" in
|
|
|
3027 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3028 |
*) ac_try_echo=$ac_try;;
|
|
|
3029 |
esac
|
|
|
3030 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
3031 |
$as_echo "$ac_try_echo") >&5
|
|
|
3032 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
3033 |
ac_status=$?
|
|
|
3034 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3035 |
rm -f conftest.er1
|
|
|
3036 |
cat conftest.err >&5
|
|
|
3037 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3038 |
(exit $ac_status); } && {
|
|
|
3039 |
test -z "$ac_c_werror_flag" ||
|
|
|
3040 |
test ! -s conftest.err
|
|
|
3041 |
} && test -s conftest.$ac_objext; then
|
|
|
3042 |
ac_cv_prog_cc_g=yes
|
3288 |
ac_cv_prog_cc_g=yes
|
3043 |
else
|
|
|
3044 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3045 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3046 |
|
|
|
3047 |
|
|
|
3048 |
fi
|
3289 |
fi
|
3049 |
|
|
|
3050 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3290 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3051 |
fi
|
3291 |
fi
|
3052 |
|
|
|
3053 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3292 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3054 |
fi
|
3293 |
fi
|
3055 |
|
|
|
3056 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3294 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3057 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3295 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3058 |
fi
|
3296 |
fi
|
3059 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
3297 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
3060 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
3298 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
3061 |
if test "$ac_test_CFLAGS" = set; then
|
3299 |
if test "$ac_test_CFLAGS" = set; then
|
3062 |
CFLAGS=$ac_save_CFLAGS
|
3300 |
CFLAGS=$ac_save_CFLAGS
|
3063 |
elif test $ac_cv_prog_cc_g = yes; then
|
3301 |
elif test $ac_cv_prog_cc_g = yes; then
|
3064 |
if test "$GCC" = yes; then
|
3302 |
if test "$GCC" = yes; then
|
|
... |
|
... |
3071 |
CFLAGS="-O2"
|
3309 |
CFLAGS="-O2"
|
3072 |
else
|
3310 |
else
|
3073 |
CFLAGS=
|
3311 |
CFLAGS=
|
3074 |
fi
|
3312 |
fi
|
3075 |
fi
|
3313 |
fi
|
3076 |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
3314 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
3077 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
3315 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
3078 |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
3316 |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
3079 |
$as_echo_n "(cached) " >&6
|
3317 |
$as_echo_n "(cached) " >&6
|
3080 |
else
|
3318 |
else
|
3081 |
ac_cv_prog_cc_c89=no
|
3319 |
ac_cv_prog_cc_c89=no
|
3082 |
ac_save_CC=$CC
|
3320 |
ac_save_CC=$CC
|
3083 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3084 |
/* confdefs.h. */
|
|
|
3085 |
_ACEOF
|
|
|
3086 |
cat confdefs.h >>conftest.$ac_ext
|
3321 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3087 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3088 |
/* end confdefs.h. */
|
3322 |
/* end confdefs.h. */
|
3089 |
#include <stdarg.h>
|
3323 |
#include <stdarg.h>
|
3090 |
#include <stdio.h>
|
3324 |
#include <stdio.h>
|
3091 |
#include <sys/types.h>
|
3325 |
#include <sys/types.h>
|
3092 |
#include <sys/stat.h>
|
3326 |
#include <sys/stat.h>
|
|
... |
|
... |
3139 |
_ACEOF
|
3373 |
_ACEOF
|
3140 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
3374 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
3141 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3375 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3142 |
do
|
3376 |
do
|
3143 |
CC="$ac_save_CC $ac_arg"
|
3377 |
CC="$ac_save_CC $ac_arg"
|
3144 |
rm -f conftest.$ac_objext
|
3378 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3145 |
if { (ac_try="$ac_compile"
|
|
|
3146 |
case "(($ac_try" in
|
|
|
3147 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3148 |
*) ac_try_echo=$ac_try;;
|
|
|
3149 |
esac
|
|
|
3150 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
3151 |
$as_echo "$ac_try_echo") >&5
|
|
|
3152 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
3153 |
ac_status=$?
|
|
|
3154 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3155 |
rm -f conftest.er1
|
|
|
3156 |
cat conftest.err >&5
|
|
|
3157 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3158 |
(exit $ac_status); } && {
|
|
|
3159 |
test -z "$ac_c_werror_flag" ||
|
|
|
3160 |
test ! -s conftest.err
|
|
|
3161 |
} && test -s conftest.$ac_objext; then
|
|
|
3162 |
ac_cv_prog_cc_c89=$ac_arg
|
3379 |
ac_cv_prog_cc_c89=$ac_arg
|
3163 |
else
|
|
|
3164 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3165 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3166 |
|
|
|
3167 |
|
|
|
3168 |
fi
|
3380 |
fi
|
3169 |
|
|
|
3170 |
rm -f core conftest.err conftest.$ac_objext
|
3381 |
rm -f core conftest.err conftest.$ac_objext
|
3171 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
3382 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
3172 |
done
|
3383 |
done
|
3173 |
rm -f conftest.$ac_ext
|
3384 |
rm -f conftest.$ac_ext
|
3174 |
CC=$ac_save_CC
|
3385 |
CC=$ac_save_CC
|
3175 |
|
3386 |
|
3176 |
fi
|
3387 |
fi
|
3177 |
# AC_CACHE_VAL
|
3388 |
# AC_CACHE_VAL
|
3178 |
case "x$ac_cv_prog_cc_c89" in
|
3389 |
case "x$ac_cv_prog_cc_c89" in
|
3179 |
x)
|
3390 |
x)
|
3180 |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
|
3391 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
3181 |
$as_echo "none needed" >&6; } ;;
|
3392 |
$as_echo "none needed" >&6; } ;;
|
3182 |
xno)
|
3393 |
xno)
|
3183 |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
3394 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
3184 |
$as_echo "unsupported" >&6; } ;;
|
3395 |
$as_echo "unsupported" >&6; } ;;
|
3185 |
*)
|
3396 |
*)
|
3186 |
CC="$CC $ac_cv_prog_cc_c89"
|
3397 |
CC="$CC $ac_cv_prog_cc_c89"
|
3187 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
3398 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
3188 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
3399 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
3189 |
esac
|
3400 |
esac
|
|
|
3401 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
3190 |
|
3402 |
|
|
|
3403 |
fi
|
3191 |
|
3404 |
|
3192 |
ac_ext=c
|
3405 |
ac_ext=c
|
3193 |
ac_cpp='$CPP $CPPFLAGS'
|
3406 |
ac_cpp='$CPP $CPPFLAGS'
|
3194 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3407 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3195 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3408 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3196 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3409 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3197 |
|
3410 |
|
3198 |
|
3411 |
|
3199 |
# Check whether --enable-largefile was given.
|
3412 |
# Check whether --enable-largefile was given.
|
3200 |
if test "${enable_largefile+set}" = set; then
|
3413 |
if test "${enable_largefile+set}" = set; then :
|
3201 |
enableval=$enable_largefile;
|
3414 |
enableval=$enable_largefile;
|
3202 |
fi
|
3415 |
fi
|
3203 |
|
3416 |
|
3204 |
if test "$enable_largefile" != no; then
|
3417 |
if test "$enable_largefile" != no; then
|
3205 |
|
3418 |
|
3206 |
{ $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
|
3419 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
|
3207 |
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
|
3420 |
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
|
3208 |
if test "${ac_cv_sys_largefile_CC+set}" = set; then
|
3421 |
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
|
3209 |
$as_echo_n "(cached) " >&6
|
3422 |
$as_echo_n "(cached) " >&6
|
3210 |
else
|
3423 |
else
|
3211 |
ac_cv_sys_largefile_CC=no
|
3424 |
ac_cv_sys_largefile_CC=no
|
3212 |
if test "$GCC" != yes; then
|
3425 |
if test "$GCC" != yes; then
|
3213 |
ac_save_CC=$CC
|
3426 |
ac_save_CC=$CC
|
3214 |
while :; do
|
3427 |
while :; do
|
3215 |
# IRIX 6.2 and later do not support large files by default,
|
3428 |
# IRIX 6.2 and later do not support large files by default,
|
3216 |
# so use the C compiler's -n32 option if that helps.
|
3429 |
# so use the C compiler's -n32 option if that helps.
|
3217 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3218 |
/* confdefs.h. */
|
|
|
3219 |
_ACEOF
|
|
|
3220 |
cat confdefs.h >>conftest.$ac_ext
|
3430 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3221 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3222 |
/* end confdefs.h. */
|
3431 |
/* end confdefs.h. */
|
3223 |
#include <sys/types.h>
|
3432 |
#include <sys/types.h>
|
3224 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3433 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3225 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
3434 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
3226 |
since some C++ compilers masquerading as C compilers
|
3435 |
since some C++ compilers masquerading as C compilers
|
|
... |
|
... |
3235 |
|
3444 |
|
3236 |
;
|
3445 |
;
|
3237 |
return 0;
|
3446 |
return 0;
|
3238 |
}
|
3447 |
}
|
3239 |
_ACEOF
|
3448 |
_ACEOF
|
3240 |
rm -f conftest.$ac_objext
|
3449 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3241 |
if { (ac_try="$ac_compile"
|
|
|
3242 |
case "(($ac_try" in
|
|
|
3243 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3244 |
*) ac_try_echo=$ac_try;;
|
|
|
3245 |
esac
|
|
|
3246 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
3247 |
$as_echo "$ac_try_echo") >&5
|
|
|
3248 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
3249 |
ac_status=$?
|
|
|
3250 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3251 |
rm -f conftest.er1
|
|
|
3252 |
cat conftest.err >&5
|
|
|
3253 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3254 |
(exit $ac_status); } && {
|
|
|
3255 |
test -z "$ac_c_werror_flag" ||
|
|
|
3256 |
test ! -s conftest.err
|
|
|
3257 |
} && test -s conftest.$ac_objext; then
|
|
|
3258 |
break
|
3450 |
break
|
3259 |
else
|
|
|
3260 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3261 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3262 |
|
|
|
3263 |
|
|
|
3264 |
fi
|
3451 |
fi
|
3265 |
|
|
|
3266 |
rm -f core conftest.err conftest.$ac_objext
|
3452 |
rm -f core conftest.err conftest.$ac_objext
|
3267 |
CC="$CC -n32"
|
3453 |
CC="$CC -n32"
|
3268 |
rm -f conftest.$ac_objext
|
3454 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3269 |
if { (ac_try="$ac_compile"
|
|
|
3270 |
case "(($ac_try" in
|
|
|
3271 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3272 |
*) ac_try_echo=$ac_try;;
|
|
|
3273 |
esac
|
|
|
3274 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
3275 |
$as_echo "$ac_try_echo") >&5
|
|
|
3276 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
3277 |
ac_status=$?
|
|
|
3278 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3279 |
rm -f conftest.er1
|
|
|
3280 |
cat conftest.err >&5
|
|
|
3281 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3282 |
(exit $ac_status); } && {
|
|
|
3283 |
test -z "$ac_c_werror_flag" ||
|
|
|
3284 |
test ! -s conftest.err
|
|
|
3285 |
} && test -s conftest.$ac_objext; then
|
|
|
3286 |
ac_cv_sys_largefile_CC=' -n32'; break
|
3455 |
ac_cv_sys_largefile_CC=' -n32'; break
|
3287 |
else
|
|
|
3288 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3289 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3290 |
|
|
|
3291 |
|
|
|
3292 |
fi
|
3456 |
fi
|
3293 |
|
|
|
3294 |
rm -f core conftest.err conftest.$ac_objext
|
3457 |
rm -f core conftest.err conftest.$ac_objext
|
3295 |
break
|
3458 |
break
|
3296 |
done
|
3459 |
done
|
3297 |
CC=$ac_save_CC
|
3460 |
CC=$ac_save_CC
|
3298 |
rm -f conftest.$ac_ext
|
3461 |
rm -f conftest.$ac_ext
|
3299 |
fi
|
3462 |
fi
|
3300 |
fi
|
3463 |
fi
|
3301 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
|
3464 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
|
3302 |
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
|
3465 |
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
|
3303 |
if test "$ac_cv_sys_largefile_CC" != no; then
|
3466 |
if test "$ac_cv_sys_largefile_CC" != no; then
|
3304 |
CC=$CC$ac_cv_sys_largefile_CC
|
3467 |
CC=$CC$ac_cv_sys_largefile_CC
|
3305 |
fi
|
3468 |
fi
|
3306 |
|
3469 |
|
3307 |
{ $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
3470 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
3308 |
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
|
3471 |
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
|
3309 |
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
|
3472 |
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
|
3310 |
$as_echo_n "(cached) " >&6
|
3473 |
$as_echo_n "(cached) " >&6
|
3311 |
else
|
3474 |
else
|
3312 |
while :; do
|
3475 |
while :; do
|
3313 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3314 |
/* confdefs.h. */
|
|
|
3315 |
_ACEOF
|
|
|
3316 |
cat confdefs.h >>conftest.$ac_ext
|
3476 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3317 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3318 |
/* end confdefs.h. */
|
3477 |
/* end confdefs.h. */
|
3319 |
#include <sys/types.h>
|
3478 |
#include <sys/types.h>
|
3320 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3479 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3321 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
3480 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
3322 |
since some C++ compilers masquerading as C compilers
|
3481 |
since some C++ compilers masquerading as C compilers
|
|
... |
|
... |
3331 |
|
3490 |
|
3332 |
;
|
3491 |
;
|
3333 |
return 0;
|
3492 |
return 0;
|
3334 |
}
|
3493 |
}
|
3335 |
_ACEOF
|
3494 |
_ACEOF
|
3336 |
rm -f conftest.$ac_objext
|
3495 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3337 |
if { (ac_try="$ac_compile"
|
|
|
3338 |
case "(($ac_try" in
|
|
|
3339 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3340 |
*) ac_try_echo=$ac_try;;
|
|
|
3341 |
esac
|
|
|
3342 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
3343 |
$as_echo "$ac_try_echo") >&5
|
|
|
3344 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
3345 |
ac_status=$?
|
|
|
3346 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3347 |
rm -f conftest.er1
|
|
|
3348 |
cat conftest.err >&5
|
|
|
3349 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3350 |
(exit $ac_status); } && {
|
|
|
3351 |
test -z "$ac_c_werror_flag" ||
|
|
|
3352 |
test ! -s conftest.err
|
|
|
3353 |
} && test -s conftest.$ac_objext; then
|
|
|
3354 |
ac_cv_sys_file_offset_bits=no; break
|
3496 |
ac_cv_sys_file_offset_bits=no; break
|
3355 |
else
|
|
|
3356 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3357 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3358 |
|
|
|
3359 |
|
|
|
3360 |
fi
|
3497 |
fi
|
3361 |
|
|
|
3362 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3498 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3363 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3364 |
/* confdefs.h. */
|
|
|
3365 |
_ACEOF
|
|
|
3366 |
cat confdefs.h >>conftest.$ac_ext
|
3499 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3367 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3368 |
/* end confdefs.h. */
|
3500 |
/* end confdefs.h. */
|
3369 |
#define _FILE_OFFSET_BITS 64
|
3501 |
#define _FILE_OFFSET_BITS 64
|
3370 |
#include <sys/types.h>
|
3502 |
#include <sys/types.h>
|
3371 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3503 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3372 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
3504 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
... |
|
... |
3382 |
|
3514 |
|
3383 |
;
|
3515 |
;
|
3384 |
return 0;
|
3516 |
return 0;
|
3385 |
}
|
3517 |
}
|
3386 |
_ACEOF
|
3518 |
_ACEOF
|
3387 |
rm -f conftest.$ac_objext
|
3519 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3388 |
if { (ac_try="$ac_compile"
|
|
|
3389 |
case "(($ac_try" in
|
|
|
3390 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3391 |
*) ac_try_echo=$ac_try;;
|
|
|
3392 |
esac
|
|
|
3393 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
3394 |
$as_echo "$ac_try_echo") >&5
|
|
|
3395 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
3396 |
ac_status=$?
|
|
|
3397 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3398 |
rm -f conftest.er1
|
|
|
3399 |
cat conftest.err >&5
|
|
|
3400 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3401 |
(exit $ac_status); } && {
|
|
|
3402 |
test -z "$ac_c_werror_flag" ||
|
|
|
3403 |
test ! -s conftest.err
|
|
|
3404 |
} && test -s conftest.$ac_objext; then
|
|
|
3405 |
ac_cv_sys_file_offset_bits=64; break
|
3520 |
ac_cv_sys_file_offset_bits=64; break
|
3406 |
else
|
|
|
3407 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3408 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3409 |
|
|
|
3410 |
|
|
|
3411 |
fi
|
3521 |
fi
|
3412 |
|
|
|
3413 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3522 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3414 |
ac_cv_sys_file_offset_bits=unknown
|
3523 |
ac_cv_sys_file_offset_bits=unknown
|
3415 |
break
|
3524 |
break
|
3416 |
done
|
3525 |
done
|
3417 |
fi
|
3526 |
fi
|
3418 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
|
3527 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
|
3419 |
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
|
3528 |
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
|
3420 |
case $ac_cv_sys_file_offset_bits in #(
|
3529 |
case $ac_cv_sys_file_offset_bits in #(
|
3421 |
no | unknown) ;;
|
3530 |
no | unknown) ;;
|
3422 |
*)
|
3531 |
*)
|
3423 |
cat >>confdefs.h <<_ACEOF
|
3532 |
cat >>confdefs.h <<_ACEOF
|
|
... |
|
... |
3425 |
_ACEOF
|
3534 |
_ACEOF
|
3426 |
;;
|
3535 |
;;
|
3427 |
esac
|
3536 |
esac
|
3428 |
rm -rf conftest*
|
3537 |
rm -rf conftest*
|
3429 |
if test $ac_cv_sys_file_offset_bits = unknown; then
|
3538 |
if test $ac_cv_sys_file_offset_bits = unknown; then
|
3430 |
{ $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
|
3539 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
|
3431 |
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
|
3540 |
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
|
3432 |
if test "${ac_cv_sys_large_files+set}" = set; then
|
3541 |
if test "${ac_cv_sys_large_files+set}" = set; then :
|
3433 |
$as_echo_n "(cached) " >&6
|
3542 |
$as_echo_n "(cached) " >&6
|
3434 |
else
|
3543 |
else
|
3435 |
while :; do
|
3544 |
while :; do
|
3436 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3437 |
/* confdefs.h. */
|
|
|
3438 |
_ACEOF
|
|
|
3439 |
cat confdefs.h >>conftest.$ac_ext
|
3545 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3440 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3441 |
/* end confdefs.h. */
|
3546 |
/* end confdefs.h. */
|
3442 |
#include <sys/types.h>
|
3547 |
#include <sys/types.h>
|
3443 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3548 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3444 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
3549 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
3445 |
since some C++ compilers masquerading as C compilers
|
3550 |
since some C++ compilers masquerading as C compilers
|
|
... |
|
... |
3454 |
|
3559 |
|
3455 |
;
|
3560 |
;
|
3456 |
return 0;
|
3561 |
return 0;
|
3457 |
}
|
3562 |
}
|
3458 |
_ACEOF
|
3563 |
_ACEOF
|
3459 |
rm -f conftest.$ac_objext
|
3564 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3460 |
if { (ac_try="$ac_compile"
|
|
|
3461 |
case "(($ac_try" in
|
|
|
3462 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3463 |
*) ac_try_echo=$ac_try;;
|
|
|
3464 |
esac
|
|
|
3465 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
3466 |
$as_echo "$ac_try_echo") >&5
|
|
|
3467 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
3468 |
ac_status=$?
|
|
|
3469 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3470 |
rm -f conftest.er1
|
|
|
3471 |
cat conftest.err >&5
|
|
|
3472 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3473 |
(exit $ac_status); } && {
|
|
|
3474 |
test -z "$ac_c_werror_flag" ||
|
|
|
3475 |
test ! -s conftest.err
|
|
|
3476 |
} && test -s conftest.$ac_objext; then
|
|
|
3477 |
ac_cv_sys_large_files=no; break
|
3565 |
ac_cv_sys_large_files=no; break
|
3478 |
else
|
|
|
3479 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3480 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3481 |
|
|
|
3482 |
|
|
|
3483 |
fi
|
3566 |
fi
|
3484 |
|
|
|
3485 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3567 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3486 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3487 |
/* confdefs.h. */
|
|
|
3488 |
_ACEOF
|
|
|
3489 |
cat confdefs.h >>conftest.$ac_ext
|
3568 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3490 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3491 |
/* end confdefs.h. */
|
3569 |
/* end confdefs.h. */
|
3492 |
#define _LARGE_FILES 1
|
3570 |
#define _LARGE_FILES 1
|
3493 |
#include <sys/types.h>
|
3571 |
#include <sys/types.h>
|
3494 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3572 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3495 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
3573 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
... |
|
... |
3505 |
|
3583 |
|
3506 |
;
|
3584 |
;
|
3507 |
return 0;
|
3585 |
return 0;
|
3508 |
}
|
3586 |
}
|
3509 |
_ACEOF
|
3587 |
_ACEOF
|
3510 |
rm -f conftest.$ac_objext
|
3588 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3511 |
if { (ac_try="$ac_compile"
|
|
|
3512 |
case "(($ac_try" in
|
|
|
3513 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3514 |
*) ac_try_echo=$ac_try;;
|
|
|
3515 |
esac
|
|
|
3516 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
3517 |
$as_echo "$ac_try_echo") >&5
|
|
|
3518 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
3519 |
ac_status=$?
|
|
|
3520 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3521 |
rm -f conftest.er1
|
|
|
3522 |
cat conftest.err >&5
|
|
|
3523 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3524 |
(exit $ac_status); } && {
|
|
|
3525 |
test -z "$ac_c_werror_flag" ||
|
|
|
3526 |
test ! -s conftest.err
|
|
|
3527 |
} && test -s conftest.$ac_objext; then
|
|
|
3528 |
ac_cv_sys_large_files=1; break
|
3589 |
ac_cv_sys_large_files=1; break
|
3529 |
else
|
|
|
3530 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3531 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3532 |
|
|
|
3533 |
|
|
|
3534 |
fi
|
3590 |
fi
|
3535 |
|
|
|
3536 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3591 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3537 |
ac_cv_sys_large_files=unknown
|
3592 |
ac_cv_sys_large_files=unknown
|
3538 |
break
|
3593 |
break
|
3539 |
done
|
3594 |
done
|
3540 |
fi
|
3595 |
fi
|
3541 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
|
3596 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
|
3542 |
$as_echo "$ac_cv_sys_large_files" >&6; }
|
3597 |
$as_echo "$ac_cv_sys_large_files" >&6; }
|
3543 |
case $ac_cv_sys_large_files in #(
|
3598 |
case $ac_cv_sys_large_files in #(
|
3544 |
no | unknown) ;;
|
3599 |
no | unknown) ;;
|
3545 |
*)
|
3600 |
*)
|
3546 |
cat >>confdefs.h <<_ACEOF
|
3601 |
cat >>confdefs.h <<_ACEOF
|
|
... |
|
... |
3556 |
ac_ext=c
|
3611 |
ac_ext=c
|
3557 |
ac_cpp='$CPP $CPPFLAGS'
|
3612 |
ac_cpp='$CPP $CPPFLAGS'
|
3558 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3613 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3559 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3614 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3560 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3615 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3561 |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
3616 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
3562 |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
3617 |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
3563 |
# On Suns, sometimes $CPP names a directory.
|
3618 |
# On Suns, sometimes $CPP names a directory.
|
3564 |
if test -n "$CPP" && test -d "$CPP"; then
|
3619 |
if test -n "$CPP" && test -d "$CPP"; then
|
3565 |
CPP=
|
3620 |
CPP=
|
3566 |
fi
|
3621 |
fi
|
3567 |
if test -z "$CPP"; then
|
3622 |
if test -z "$CPP"; then
|
3568 |
if test "${ac_cv_prog_CPP+set}" = set; then
|
3623 |
if test "${ac_cv_prog_CPP+set}" = set; then :
|
3569 |
$as_echo_n "(cached) " >&6
|
3624 |
$as_echo_n "(cached) " >&6
|
3570 |
else
|
3625 |
else
|
3571 |
# Double quotes because CPP needs to be expanded
|
3626 |
# Double quotes because CPP needs to be expanded
|
3572 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
3627 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
3573 |
do
|
3628 |
do
|
|
... |
|
... |
3578 |
# with a fresh cross-compiler works.
|
3633 |
# with a fresh cross-compiler works.
|
3579 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
3634 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
3580 |
# <limits.h> exists even on freestanding compilers.
|
3635 |
# <limits.h> exists even on freestanding compilers.
|
3581 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3636 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3582 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3637 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3583 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3584 |
/* confdefs.h. */
|
|
|
3585 |
_ACEOF
|
|
|
3586 |
cat confdefs.h >>conftest.$ac_ext
|
3638 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3587 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3588 |
/* end confdefs.h. */
|
3639 |
/* end confdefs.h. */
|
3589 |
#ifdef __STDC__
|
3640 |
#ifdef __STDC__
|
3590 |
# include <limits.h>
|
3641 |
# include <limits.h>
|
3591 |
#else
|
3642 |
#else
|
3592 |
# include <assert.h>
|
3643 |
# include <assert.h>
|
3593 |
#endif
|
3644 |
#endif
|
3594 |
Syntax error
|
3645 |
Syntax error
|
3595 |
_ACEOF
|
3646 |
_ACEOF
|
3596 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3647 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3597 |
case "(($ac_try" in
|
|
|
3598 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3599 |
*) ac_try_echo=$ac_try;;
|
|
|
3600 |
esac
|
|
|
3601 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
3602 |
$as_echo "$ac_try_echo") >&5
|
|
|
3603 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
3604 |
ac_status=$?
|
|
|
3605 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3606 |
rm -f conftest.er1
|
|
|
3607 |
cat conftest.err >&5
|
|
|
3608 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3609 |
(exit $ac_status); } >/dev/null && {
|
|
|
3610 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
3611 |
test ! -s conftest.err
|
|
|
3612 |
}; then
|
|
|
3613 |
:
|
|
|
3614 |
else
|
|
|
3615 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3616 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3617 |
|
3648 |
|
|
|
3649 |
else
|
3618 |
# Broken: fails on valid input.
|
3650 |
# Broken: fails on valid input.
|
3619 |
continue
|
3651 |
continue
|
3620 |
fi
|
3652 |
fi
|
3621 |
|
|
|
3622 |
rm -f conftest.err conftest.$ac_ext
|
3653 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
3623 |
|
3654 |
|
3624 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3655 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3625 |
# can be detected and how.
|
3656 |
# can be detected and how.
|
3626 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3627 |
/* confdefs.h. */
|
|
|
3628 |
_ACEOF
|
|
|
3629 |
cat confdefs.h >>conftest.$ac_ext
|
3657 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3630 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3631 |
/* end confdefs.h. */
|
3658 |
/* end confdefs.h. */
|
3632 |
#include <ac_nonexistent.h>
|
3659 |
#include <ac_nonexistent.h>
|
3633 |
_ACEOF
|
3660 |
_ACEOF
|
3634 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3661 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3635 |
case "(($ac_try" in
|
|
|
3636 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3637 |
*) ac_try_echo=$ac_try;;
|
|
|
3638 |
esac
|
|
|
3639 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
3640 |
$as_echo "$ac_try_echo") >&5
|
|
|
3641 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
3642 |
ac_status=$?
|
|
|
3643 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3644 |
rm -f conftest.er1
|
|
|
3645 |
cat conftest.err >&5
|
|
|
3646 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3647 |
(exit $ac_status); } >/dev/null && {
|
|
|
3648 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
3649 |
test ! -s conftest.err
|
|
|
3650 |
}; then
|
|
|
3651 |
# Broken: success on invalid input.
|
3662 |
# Broken: success on invalid input.
|
3652 |
continue
|
3663 |
continue
|
3653 |
else
|
3664 |
else
|
3654 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3655 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3656 |
|
|
|
3657 |
# Passes both tests.
|
3665 |
# Passes both tests.
|
3658 |
ac_preproc_ok=:
|
3666 |
ac_preproc_ok=:
|
3659 |
break
|
3667 |
break
|
3660 |
fi
|
3668 |
fi
|
3661 |
|
|
|
3662 |
rm -f conftest.err conftest.$ac_ext
|
3669 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
3663 |
|
3670 |
|
3664 |
done
|
3671 |
done
|
3665 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3672 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3666 |
rm -f conftest.err conftest.$ac_ext
|
3673 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
3667 |
if $ac_preproc_ok; then
|
3674 |
if $ac_preproc_ok; then :
|
3668 |
break
|
3675 |
break
|
3669 |
fi
|
3676 |
fi
|
3670 |
|
3677 |
|
3671 |
done
|
3678 |
done
|
3672 |
ac_cv_prog_CPP=$CPP
|
3679 |
ac_cv_prog_CPP=$CPP
|
|
... |
|
... |
3674 |
fi
|
3681 |
fi
|
3675 |
CPP=$ac_cv_prog_CPP
|
3682 |
CPP=$ac_cv_prog_CPP
|
3676 |
else
|
3683 |
else
|
3677 |
ac_cv_prog_CPP=$CPP
|
3684 |
ac_cv_prog_CPP=$CPP
|
3678 |
fi
|
3685 |
fi
|
3679 |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
|
3686 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
3680 |
$as_echo "$CPP" >&6; }
|
3687 |
$as_echo "$CPP" >&6; }
|
3681 |
ac_preproc_ok=false
|
3688 |
ac_preproc_ok=false
|
3682 |
for ac_c_preproc_warn_flag in '' yes
|
3689 |
for ac_c_preproc_warn_flag in '' yes
|
3683 |
do
|
3690 |
do
|
3684 |
# Use a header file that comes with gcc, so configuring glibc
|
3691 |
# Use a header file that comes with gcc, so configuring glibc
|
3685 |
# with a fresh cross-compiler works.
|
3692 |
# with a fresh cross-compiler works.
|
3686 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
3693 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
3687 |
# <limits.h> exists even on freestanding compilers.
|
3694 |
# <limits.h> exists even on freestanding compilers.
|
3688 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3695 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3689 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3696 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3690 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3691 |
/* confdefs.h. */
|
|
|
3692 |
_ACEOF
|
|
|
3693 |
cat confdefs.h >>conftest.$ac_ext
|
3697 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3694 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3695 |
/* end confdefs.h. */
|
3698 |
/* end confdefs.h. */
|
3696 |
#ifdef __STDC__
|
3699 |
#ifdef __STDC__
|
3697 |
# include <limits.h>
|
3700 |
# include <limits.h>
|
3698 |
#else
|
3701 |
#else
|
3699 |
# include <assert.h>
|
3702 |
# include <assert.h>
|
3700 |
#endif
|
3703 |
#endif
|
3701 |
Syntax error
|
3704 |
Syntax error
|
3702 |
_ACEOF
|
3705 |
_ACEOF
|
3703 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3706 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3704 |
case "(($ac_try" in
|
|
|
3705 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3706 |
*) ac_try_echo=$ac_try;;
|
|
|
3707 |
esac
|
|
|
3708 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
3709 |
$as_echo "$ac_try_echo") >&5
|
|
|
3710 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
3711 |
ac_status=$?
|
|
|
3712 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3713 |
rm -f conftest.er1
|
|
|
3714 |
cat conftest.err >&5
|
|
|
3715 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3716 |
(exit $ac_status); } >/dev/null && {
|
|
|
3717 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
3718 |
test ! -s conftest.err
|
|
|
3719 |
}; then
|
|
|
3720 |
:
|
|
|
3721 |
else
|
|
|
3722 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3723 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3724 |
|
3707 |
|
|
|
3708 |
else
|
3725 |
# Broken: fails on valid input.
|
3709 |
# Broken: fails on valid input.
|
3726 |
continue
|
3710 |
continue
|
3727 |
fi
|
3711 |
fi
|
3728 |
|
|
|
3729 |
rm -f conftest.err conftest.$ac_ext
|
3712 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
3730 |
|
3713 |
|
3731 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3714 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3732 |
# can be detected and how.
|
3715 |
# can be detected and how.
|
3733 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3734 |
/* confdefs.h. */
|
|
|
3735 |
_ACEOF
|
|
|
3736 |
cat confdefs.h >>conftest.$ac_ext
|
3716 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3737 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3738 |
/* end confdefs.h. */
|
3717 |
/* end confdefs.h. */
|
3739 |
#include <ac_nonexistent.h>
|
3718 |
#include <ac_nonexistent.h>
|
3740 |
_ACEOF
|
3719 |
_ACEOF
|
3741 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3720 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3742 |
case "(($ac_try" in
|
|
|
3743 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3744 |
*) ac_try_echo=$ac_try;;
|
|
|
3745 |
esac
|
|
|
3746 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
3747 |
$as_echo "$ac_try_echo") >&5
|
|
|
3748 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
3749 |
ac_status=$?
|
|
|
3750 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3751 |
rm -f conftest.er1
|
|
|
3752 |
cat conftest.err >&5
|
|
|
3753 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3754 |
(exit $ac_status); } >/dev/null && {
|
|
|
3755 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
3756 |
test ! -s conftest.err
|
|
|
3757 |
}; then
|
|
|
3758 |
# Broken: success on invalid input.
|
3721 |
# Broken: success on invalid input.
|
3759 |
continue
|
3722 |
continue
|
3760 |
else
|
3723 |
else
|
3761 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3762 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3763 |
|
|
|
3764 |
# Passes both tests.
|
3724 |
# Passes both tests.
|
3765 |
ac_preproc_ok=:
|
3725 |
ac_preproc_ok=:
|
3766 |
break
|
3726 |
break
|
3767 |
fi
|
3727 |
fi
|
3768 |
|
|
|
3769 |
rm -f conftest.err conftest.$ac_ext
|
3728 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
3770 |
|
3729 |
|
3771 |
done
|
3730 |
done
|
3772 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3731 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3773 |
rm -f conftest.err conftest.$ac_ext
|
3732 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
3774 |
if $ac_preproc_ok; then
|
3733 |
if $ac_preproc_ok; then :
|
3775 |
:
|
3734 |
|
3776 |
else
|
3735 |
else
|
3777 |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
3736 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3778 |
See \`config.log' for more details." >&5
|
3737 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3779 |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
3738 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
3780 |
See \`config.log' for more details." >&2;}
|
3739 |
See \`config.log' for more details" "$LINENO" 5; }
|
3781 |
{ (exit 1); exit 1; }; }
|
|
|
3782 |
fi
|
3740 |
fi
|
3783 |
|
3741 |
|
3784 |
ac_ext=c
|
3742 |
ac_ext=c
|
3785 |
ac_cpp='$CPP $CPPFLAGS'
|
3743 |
ac_cpp='$CPP $CPPFLAGS'
|
3786 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3744 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3787 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3745 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3788 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3746 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3789 |
|
3747 |
|
3790 |
|
3748 |
|
3791 |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
3749 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
3792 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
3750 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
3793 |
if test "${ac_cv_path_GREP+set}" = set; then
|
3751 |
if test "${ac_cv_path_GREP+set}" = set; then :
|
3794 |
$as_echo_n "(cached) " >&6
|
3752 |
$as_echo_n "(cached) " >&6
|
3795 |
else
|
3753 |
else
|
3796 |
if test -z "$GREP"; then
|
3754 |
if test -z "$GREP"; then
|
3797 |
ac_path_GREP_found=false
|
3755 |
ac_path_GREP_found=false
|
3798 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
3756 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
3799 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3757 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3800 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
3758 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
3801 |
do
|
3759 |
do
|
3802 |
IFS=$as_save_IFS
|
3760 |
IFS=$as_save_IFS
|
3803 |
test -z "$as_dir" && as_dir=.
|
3761 |
test -z "$as_dir" && as_dir=.
|
3804 |
for ac_prog in grep ggrep; do
|
3762 |
for ac_prog in grep ggrep; do
|
3805 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3763 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3806 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
3764 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
3807 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
3765 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
3808 |
# Check for GNU ac_path_GREP and select it if it is found.
|
3766 |
# Check for GNU ac_path_GREP and select it if it is found.
|
3809 |
# Check for GNU $ac_path_GREP
|
3767 |
# Check for GNU $ac_path_GREP
|
|
... |
|
... |
3819 |
mv "conftest.tmp" "conftest.in"
|
3777 |
mv "conftest.tmp" "conftest.in"
|
3820 |
cp "conftest.in" "conftest.nl"
|
3778 |
cp "conftest.in" "conftest.nl"
|
3821 |
$as_echo 'GREP' >> "conftest.nl"
|
3779 |
$as_echo 'GREP' >> "conftest.nl"
|
3822 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3780 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3823 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3781 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3824 |
ac_count=`expr $ac_count + 1`
|
3782 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
3825 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
3783 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
3826 |
# Best one so far, save it but keep looking for a better one
|
3784 |
# Best one so far, save it but keep looking for a better one
|
3827 |
ac_cv_path_GREP="$ac_path_GREP"
|
3785 |
ac_cv_path_GREP="$ac_path_GREP"
|
3828 |
ac_path_GREP_max=$ac_count
|
3786 |
ac_path_GREP_max=$ac_count
|
3829 |
fi
|
3787 |
fi
|
|
... |
|
... |
3834 |
esac
|
3792 |
esac
|
3835 |
|
3793 |
|
3836 |
$ac_path_GREP_found && break 3
|
3794 |
$ac_path_GREP_found && break 3
|
3837 |
done
|
3795 |
done
|
3838 |
done
|
3796 |
done
|
3839 |
done
|
3797 |
done
|
3840 |
IFS=$as_save_IFS
|
3798 |
IFS=$as_save_IFS
|
3841 |
if test -z "$ac_cv_path_GREP"; then
|
3799 |
if test -z "$ac_cv_path_GREP"; then
|
3842 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
|
3843 |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
3800 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
3844 |
{ (exit 1); exit 1; }; }
|
|
|
3845 |
fi
|
3801 |
fi
|
3846 |
else
|
3802 |
else
|
3847 |
ac_cv_path_GREP=$GREP
|
3803 |
ac_cv_path_GREP=$GREP
|
3848 |
fi
|
3804 |
fi
|
3849 |
|
3805 |
|
3850 |
fi
|
3806 |
fi
|
3851 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
3807 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
3852 |
$as_echo "$ac_cv_path_GREP" >&6; }
|
3808 |
$as_echo "$ac_cv_path_GREP" >&6; }
|
3853 |
GREP="$ac_cv_path_GREP"
|
3809 |
GREP="$ac_cv_path_GREP"
|
3854 |
|
3810 |
|
3855 |
|
3811 |
|
3856 |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
|
3812 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
3857 |
$as_echo_n "checking for egrep... " >&6; }
|
3813 |
$as_echo_n "checking for egrep... " >&6; }
|
3858 |
if test "${ac_cv_path_EGREP+set}" = set; then
|
3814 |
if test "${ac_cv_path_EGREP+set}" = set; then :
|
3859 |
$as_echo_n "(cached) " >&6
|
3815 |
$as_echo_n "(cached) " >&6
|
3860 |
else
|
3816 |
else
|
3861 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
3817 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
3862 |
then ac_cv_path_EGREP="$GREP -E"
|
3818 |
then ac_cv_path_EGREP="$GREP -E"
|
3863 |
else
|
3819 |
else
|
|
... |
|
... |
3867 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3823 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3868 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
3824 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
3869 |
do
|
3825 |
do
|
3870 |
IFS=$as_save_IFS
|
3826 |
IFS=$as_save_IFS
|
3871 |
test -z "$as_dir" && as_dir=.
|
3827 |
test -z "$as_dir" && as_dir=.
|
3872 |
for ac_prog in egrep; do
|
3828 |
for ac_prog in egrep; do
|
3873 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3829 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3874 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
3830 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
3875 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
3831 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
3876 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
3832 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
3877 |
# Check for GNU $ac_path_EGREP
|
3833 |
# Check for GNU $ac_path_EGREP
|
|
... |
|
... |
3887 |
mv "conftest.tmp" "conftest.in"
|
3843 |
mv "conftest.tmp" "conftest.in"
|
3888 |
cp "conftest.in" "conftest.nl"
|
3844 |
cp "conftest.in" "conftest.nl"
|
3889 |
$as_echo 'EGREP' >> "conftest.nl"
|
3845 |
$as_echo 'EGREP' >> "conftest.nl"
|
3890 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3846 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3891 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3847 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3892 |
ac_count=`expr $ac_count + 1`
|
3848 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
3893 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
3849 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
3894 |
# Best one so far, save it but keep looking for a better one
|
3850 |
# Best one so far, save it but keep looking for a better one
|
3895 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
3851 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
3896 |
ac_path_EGREP_max=$ac_count
|
3852 |
ac_path_EGREP_max=$ac_count
|
3897 |
fi
|
3853 |
fi
|
|
... |
|
... |
3902 |
esac
|
3858 |
esac
|
3903 |
|
3859 |
|
3904 |
$ac_path_EGREP_found && break 3
|
3860 |
$ac_path_EGREP_found && break 3
|
3905 |
done
|
3861 |
done
|
3906 |
done
|
3862 |
done
|
3907 |
done
|
3863 |
done
|
3908 |
IFS=$as_save_IFS
|
3864 |
IFS=$as_save_IFS
|
3909 |
if test -z "$ac_cv_path_EGREP"; then
|
3865 |
if test -z "$ac_cv_path_EGREP"; then
|
3910 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
|
3911 |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
3866 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
3912 |
{ (exit 1); exit 1; }; }
|
|
|
3913 |
fi
|
3867 |
fi
|
3914 |
else
|
3868 |
else
|
3915 |
ac_cv_path_EGREP=$EGREP
|
3869 |
ac_cv_path_EGREP=$EGREP
|
3916 |
fi
|
3870 |
fi
|
3917 |
|
3871 |
|
3918 |
fi
|
3872 |
fi
|
3919 |
fi
|
3873 |
fi
|
3920 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
3874 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
3921 |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
3875 |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
3922 |
EGREP="$ac_cv_path_EGREP"
|
3876 |
EGREP="$ac_cv_path_EGREP"
|
3923 |
|
3877 |
|
3924 |
|
3878 |
|
3925 |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
3879 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
3926 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
3880 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
3927 |
if test "${ac_cv_header_stdc+set}" = set; then
|
3881 |
if test "${ac_cv_header_stdc+set}" = set; then :
|
3928 |
$as_echo_n "(cached) " >&6
|
3882 |
$as_echo_n "(cached) " >&6
|
3929 |
else
|
3883 |
else
|
3930 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3931 |
/* confdefs.h. */
|
|
|
3932 |
_ACEOF
|
|
|
3933 |
cat confdefs.h >>conftest.$ac_ext
|
3884 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3934 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3935 |
/* end confdefs.h. */
|
3885 |
/* end confdefs.h. */
|
3936 |
#include <stdlib.h>
|
3886 |
#include <stdlib.h>
|
3937 |
#include <stdarg.h>
|
3887 |
#include <stdarg.h>
|
3938 |
#include <string.h>
|
3888 |
#include <string.h>
|
3939 |
#include <float.h>
|
3889 |
#include <float.h>
|
|
... |
|
... |
3944 |
|
3894 |
|
3945 |
;
|
3895 |
;
|
3946 |
return 0;
|
3896 |
return 0;
|
3947 |
}
|
3897 |
}
|
3948 |
_ACEOF
|
3898 |
_ACEOF
|
3949 |
rm -f conftest.$ac_objext
|
3899 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3950 |
if { (ac_try="$ac_compile"
|
|
|
3951 |
case "(($ac_try" in
|
|
|
3952 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3953 |
*) ac_try_echo=$ac_try;;
|
|
|
3954 |
esac
|
|
|
3955 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
3956 |
$as_echo "$ac_try_echo") >&5
|
|
|
3957 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
3958 |
ac_status=$?
|
|
|
3959 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3960 |
rm -f conftest.er1
|
|
|
3961 |
cat conftest.err >&5
|
|
|
3962 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3963 |
(exit $ac_status); } && {
|
|
|
3964 |
test -z "$ac_c_werror_flag" ||
|
|
|
3965 |
test ! -s conftest.err
|
|
|
3966 |
} && test -s conftest.$ac_objext; then
|
|
|
3967 |
ac_cv_header_stdc=yes
|
3900 |
ac_cv_header_stdc=yes
|
3968 |
else
|
3901 |
else
|
3969 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
3970 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3971 |
|
|
|
3972 |
ac_cv_header_stdc=no
|
3902 |
ac_cv_header_stdc=no
|
3973 |
fi
|
3903 |
fi
|
3974 |
|
|
|
3975 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3904 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3976 |
|
3905 |
|
3977 |
if test $ac_cv_header_stdc = yes; then
|
3906 |
if test $ac_cv_header_stdc = yes; then
|
3978 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
3907 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
3979 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3980 |
/* confdefs.h. */
|
|
|
3981 |
_ACEOF
|
|
|
3982 |
cat confdefs.h >>conftest.$ac_ext
|
3908 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3983 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3984 |
/* end confdefs.h. */
|
3909 |
/* end confdefs.h. */
|
3985 |
#include <string.h>
|
3910 |
#include <string.h>
|
3986 |
|
3911 |
|
3987 |
_ACEOF
|
3912 |
_ACEOF
|
3988 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3913 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3989 |
$EGREP "memchr" >/dev/null 2>&1; then
|
3914 |
$EGREP "memchr" >/dev/null 2>&1; then :
|
3990 |
:
|
3915 |
|
3991 |
else
|
3916 |
else
|
3992 |
ac_cv_header_stdc=no
|
3917 |
ac_cv_header_stdc=no
|
3993 |
fi
|
3918 |
fi
|
3994 |
rm -f conftest*
|
3919 |
rm -f conftest*
|
3995 |
|
3920 |
|
3996 |
fi
|
3921 |
fi
|
3997 |
|
3922 |
|
3998 |
if test $ac_cv_header_stdc = yes; then
|
3923 |
if test $ac_cv_header_stdc = yes; then
|
3999 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
3924 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
4000 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4001 |
/* confdefs.h. */
|
|
|
4002 |
_ACEOF
|
|
|
4003 |
cat confdefs.h >>conftest.$ac_ext
|
3925 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4004 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4005 |
/* end confdefs.h. */
|
3926 |
/* end confdefs.h. */
|
4006 |
#include <stdlib.h>
|
3927 |
#include <stdlib.h>
|
4007 |
|
3928 |
|
4008 |
_ACEOF
|
3929 |
_ACEOF
|
4009 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3930 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4010 |
$EGREP "free" >/dev/null 2>&1; then
|
3931 |
$EGREP "free" >/dev/null 2>&1; then :
|
4011 |
:
|
3932 |
|
4012 |
else
|
3933 |
else
|
4013 |
ac_cv_header_stdc=no
|
3934 |
ac_cv_header_stdc=no
|
4014 |
fi
|
3935 |
fi
|
4015 |
rm -f conftest*
|
3936 |
rm -f conftest*
|
4016 |
|
3937 |
|
4017 |
fi
|
3938 |
fi
|
4018 |
|
3939 |
|
4019 |
if test $ac_cv_header_stdc = yes; then
|
3940 |
if test $ac_cv_header_stdc = yes; then
|
4020 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
3941 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
4021 |
if test "$cross_compiling" = yes; then
|
3942 |
if test "$cross_compiling" = yes; then :
|
4022 |
:
|
3943 |
:
|
4023 |
else
|
3944 |
else
|
4024 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4025 |
/* confdefs.h. */
|
|
|
4026 |
_ACEOF
|
|
|
4027 |
cat confdefs.h >>conftest.$ac_ext
|
3945 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4028 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4029 |
/* end confdefs.h. */
|
3946 |
/* end confdefs.h. */
|
4030 |
#include <ctype.h>
|
3947 |
#include <ctype.h>
|
4031 |
#include <stdlib.h>
|
3948 |
#include <stdlib.h>
|
4032 |
#if ((' ' & 0x0FF) == 0x020)
|
3949 |
#if ((' ' & 0x0FF) == 0x020)
|
4033 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
3950 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
... |
|
... |
4050 |
|| toupper (i) != TOUPPER (i))
|
3967 |
|| toupper (i) != TOUPPER (i))
|
4051 |
return 2;
|
3968 |
return 2;
|
4052 |
return 0;
|
3969 |
return 0;
|
4053 |
}
|
3970 |
}
|
4054 |
_ACEOF
|
3971 |
_ACEOF
|
4055 |
rm -f conftest$ac_exeext
|
3972 |
if ac_fn_c_try_run "$LINENO"; then :
|
4056 |
if { (ac_try="$ac_link"
|
|
|
4057 |
case "(($ac_try" in
|
|
|
4058 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4059 |
*) ac_try_echo=$ac_try;;
|
|
|
4060 |
esac
|
|
|
4061 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
4062 |
$as_echo "$ac_try_echo") >&5
|
|
|
4063 |
(eval "$ac_link") 2>&5
|
|
|
4064 |
ac_status=$?
|
|
|
4065 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4066 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
|
4067 |
{ (case "(($ac_try" in
|
|
|
4068 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4069 |
*) ac_try_echo=$ac_try;;
|
|
|
4070 |
esac
|
|
|
4071 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
4072 |
$as_echo "$ac_try_echo") >&5
|
|
|
4073 |
(eval "$ac_try") 2>&5
|
|
|
4074 |
ac_status=$?
|
|
|
4075 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4076 |
(exit $ac_status); }; }; then
|
|
|
4077 |
:
|
|
|
4078 |
else
|
|
|
4079 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
|
4080 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
4081 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
4082 |
|
3973 |
|
4083 |
( exit $ac_status )
|
3974 |
else
|
4084 |
ac_cv_header_stdc=no
|
3975 |
ac_cv_header_stdc=no
|
4085 |
fi
|
3976 |
fi
|
4086 |
rm -rf conftest.dSYM
|
|
|
4087 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
3977 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
|
3978 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
4088 |
fi
|
3979 |
fi
|
4089 |
|
3980 |
|
4090 |
|
|
|
4091 |
fi
|
3981 |
fi
|
4092 |
fi
|
3982 |
fi
|
4093 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
3983 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
4094 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
3984 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
4095 |
if test $ac_cv_header_stdc = yes; then
|
3985 |
if test $ac_cv_header_stdc = yes; then
|
4096 |
|
3986 |
|
4097 |
cat >>confdefs.h <<\_ACEOF
|
3987 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
4098 |
#define STDC_HEADERS 1
|
|
|
4099 |
_ACEOF
|
|
|
4100 |
|
3988 |
|
4101 |
fi
|
3989 |
fi
|
4102 |
|
3990 |
|
4103 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
3991 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
4104 |
|
|
|
4105 |
|
|
|
4106 |
|
|
|
4107 |
|
|
|
4108 |
|
|
|
4109 |
|
|
|
4110 |
|
|
|
4111 |
|
|
|
4112 |
|
|
|
4113 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
3992 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
4114 |
inttypes.h stdint.h unistd.h
|
3993 |
inttypes.h stdint.h unistd.h
|
4115 |
do
|
3994 |
do :
|
4116 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3995 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4117 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3996 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
4118 |
$as_echo_n "checking for $ac_header... " >&6; }
|
3997 |
"
|
4119 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3998 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
4120 |
$as_echo_n "(cached) " >&6
|
|
|
4121 |
else
|
|
|
4122 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4123 |
/* confdefs.h. */
|
|
|
4124 |
_ACEOF
|
|
|
4125 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
4126 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4127 |
/* end confdefs.h. */
|
|
|
4128 |
$ac_includes_default
|
|
|
4129 |
|
|
|
4130 |
#include <$ac_header>
|
|
|
4131 |
_ACEOF
|
|
|
4132 |
rm -f conftest.$ac_objext
|
|
|
4133 |
if { (ac_try="$ac_compile"
|
|
|
4134 |
case "(($ac_try" in
|
|
|
4135 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4136 |
*) ac_try_echo=$ac_try;;
|
|
|
4137 |
esac
|
|
|
4138 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
4139 |
$as_echo "$ac_try_echo") >&5
|
|
|
4140 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
4141 |
ac_status=$?
|
|
|
4142 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
4143 |
rm -f conftest.er1
|
|
|
4144 |
cat conftest.err >&5
|
|
|
4145 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4146 |
(exit $ac_status); } && {
|
|
|
4147 |
test -z "$ac_c_werror_flag" ||
|
|
|
4148 |
test ! -s conftest.err
|
|
|
4149 |
} && test -s conftest.$ac_objext; then
|
|
|
4150 |
eval "$as_ac_Header=yes"
|
|
|
4151 |
else
|
|
|
4152 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
4153 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
4154 |
|
|
|
4155 |
eval "$as_ac_Header=no"
|
|
|
4156 |
fi
|
|
|
4157 |
|
|
|
4158 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
4159 |
fi
|
|
|
4160 |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
|
4161 |
$as_echo "$as_val"'`
|
|
|
4162 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
4163 |
$as_echo "$ac_res" >&6; }
|
|
|
4164 |
if test `eval 'as_val=${'$as_ac_Header'}
|
|
|
4165 |
$as_echo "$as_val"'` = yes; then
|
|
|
4166 |
cat >>confdefs.h <<_ACEOF
|
3999 |
cat >>confdefs.h <<_ACEOF
|
4167 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4000 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4168 |
_ACEOF
|
4001 |
_ACEOF
|
4169 |
|
4002 |
|
4170 |
fi
|
4003 |
fi
|
4171 |
|
4004 |
|
4172 |
done
|
4005 |
done
|
4173 |
|
4006 |
|
4174 |
|
4007 |
|
4175 |
|
|
|
4176 |
|
|
|
4177 |
|
|
|
4178 |
|
|
|
4179 |
for ac_header in sys/mount.h sys/statfs.h sys/statvfs.h sys/vfs.h
|
4008 |
for ac_header in sys/mount.h sys/statfs.h sys/statvfs.h sys/vfs.h
|
4180 |
do
|
4009 |
do :
|
4181 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4010 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4182 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4011 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
4183 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4012 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
4184 |
$as_echo_n "checking for $ac_header... " >&6; }
|
|
|
4185 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
4186 |
$as_echo_n "(cached) " >&6
|
|
|
4187 |
fi
|
|
|
4188 |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
|
4189 |
$as_echo "$as_val"'`
|
|
|
4190 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
4191 |
$as_echo "$ac_res" >&6; }
|
|
|
4192 |
else
|
|
|
4193 |
# Is the header compilable?
|
|
|
4194 |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
|
4195 |
$as_echo_n "checking $ac_header usability... " >&6; }
|
|
|
4196 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4197 |
/* confdefs.h. */
|
|
|
4198 |
_ACEOF
|
|
|
4199 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
4200 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4201 |
/* end confdefs.h. */
|
|
|
4202 |
$ac_includes_default
|
|
|
4203 |
#include <$ac_header>
|
|
|
4204 |
_ACEOF
|
|
|
4205 |
rm -f conftest.$ac_objext
|
|
|
4206 |
if { (ac_try="$ac_compile"
|
|
|
4207 |
case "(($ac_try" in
|
|
|
4208 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4209 |
*) ac_try_echo=$ac_try;;
|
|
|
4210 |
esac
|
|
|
4211 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
4212 |
$as_echo "$ac_try_echo") >&5
|
|
|
4213 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
4214 |
ac_status=$?
|
|
|
4215 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
4216 |
rm -f conftest.er1
|
|
|
4217 |
cat conftest.err >&5
|
|
|
4218 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4219 |
(exit $ac_status); } && {
|
|
|
4220 |
test -z "$ac_c_werror_flag" ||
|
|
|
4221 |
test ! -s conftest.err
|
|
|
4222 |
} && test -s conftest.$ac_objext; then
|
|
|
4223 |
ac_header_compiler=yes
|
|
|
4224 |
else
|
|
|
4225 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
4226 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
4227 |
|
|
|
4228 |
ac_header_compiler=no
|
|
|
4229 |
fi
|
|
|
4230 |
|
|
|
4231 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
4232 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
|
4233 |
$as_echo "$ac_header_compiler" >&6; }
|
|
|
4234 |
|
|
|
4235 |
# Is the header present?
|
|
|
4236 |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
|
4237 |
$as_echo_n "checking $ac_header presence... " >&6; }
|
|
|
4238 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4239 |
/* confdefs.h. */
|
|
|
4240 |
_ACEOF
|
|
|
4241 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
4242 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4243 |
/* end confdefs.h. */
|
|
|
4244 |
#include <$ac_header>
|
|
|
4245 |
_ACEOF
|
|
|
4246 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
|
4247 |
case "(($ac_try" in
|
|
|
4248 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4249 |
*) ac_try_echo=$ac_try;;
|
|
|
4250 |
esac
|
|
|
4251 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
4252 |
$as_echo "$ac_try_echo") >&5
|
|
|
4253 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
4254 |
ac_status=$?
|
|
|
4255 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
4256 |
rm -f conftest.er1
|
|
|
4257 |
cat conftest.err >&5
|
|
|
4258 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4259 |
(exit $ac_status); } >/dev/null && {
|
|
|
4260 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
4261 |
test ! -s conftest.err
|
|
|
4262 |
}; then
|
|
|
4263 |
ac_header_preproc=yes
|
|
|
4264 |
else
|
|
|
4265 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
4266 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
4267 |
|
|
|
4268 |
ac_header_preproc=no
|
|
|
4269 |
fi
|
|
|
4270 |
|
|
|
4271 |
rm -f conftest.err conftest.$ac_ext
|
|
|
4272 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
|
4273 |
$as_echo "$ac_header_preproc" >&6; }
|
|
|
4274 |
|
|
|
4275 |
# So? What about this header?
|
|
|
4276 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
|
4277 |
yes:no: )
|
|
|
4278 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
|
4279 |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
|
4280 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
|
4281 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
|
4282 |
ac_header_preproc=yes
|
|
|
4283 |
;;
|
|
|
4284 |
no:yes:* )
|
|
|
4285 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
|
4286 |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
|
4287 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
|
4288 |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
|
4289 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
|
4290 |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
|
4291 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
|
4292 |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
|
4293 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
|
4294 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
|
4295 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
|
4296 |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
|
4297 |
|
|
|
4298 |
;;
|
|
|
4299 |
esac
|
|
|
4300 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
4301 |
$as_echo_n "checking for $ac_header... " >&6; }
|
|
|
4302 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
4303 |
$as_echo_n "(cached) " >&6
|
|
|
4304 |
else
|
|
|
4305 |
eval "$as_ac_Header=\$ac_header_preproc"
|
|
|
4306 |
fi
|
|
|
4307 |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
|
4308 |
$as_echo "$as_val"'`
|
|
|
4309 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
4310 |
$as_echo "$ac_res" >&6; }
|
|
|
4311 |
|
|
|
4312 |
fi
|
|
|
4313 |
if test `eval 'as_val=${'$as_ac_Header'}
|
|
|
4314 |
$as_echo "$as_val"'` = yes; then
|
|
|
4315 |
cat >>confdefs.h <<_ACEOF
|
4013 |
cat >>confdefs.h <<_ACEOF
|
4316 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4014 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4317 |
_ACEOF
|
4015 |
_ACEOF
|
4318 |
|
4016 |
|
4319 |
fi
|
4017 |
fi
|
|
... |
|
... |
4323 |
|
4021 |
|
4324 |
# Use specific 'file' command ? (Useful on solaris to specify
|
4022 |
# Use specific 'file' command ? (Useful on solaris to specify
|
4325 |
# /usr/local/bin/file instead of the system's which doesn't understand '-i'
|
4023 |
# /usr/local/bin/file instead of the system's which doesn't understand '-i'
|
4326 |
|
4024 |
|
4327 |
# Check whether --with-file-command was given.
|
4025 |
# Check whether --with-file-command was given.
|
4328 |
if test "${with_file_command+set}" = set; then
|
4026 |
if test "${with_file_command+set}" = set; then :
|
4329 |
withval=$with_file_command; withFileCommand=$withval
|
4027 |
withval=$with_file_command; withFileCommand=$withval
|
4330 |
else
|
4028 |
else
|
4331 |
withFileCommand=file
|
4029 |
withFileCommand=file
|
4332 |
fi
|
4030 |
fi
|
4333 |
|
4031 |
|
4334 |
case $withFileCommand in
|
4032 |
case $withFileCommand in
|
4335 |
file)
|
4033 |
file)
|
4336 |
# Extract the first word of "file", so it can be a program name with args.
|
4034 |
# Extract the first word of "file", so it can be a program name with args.
|
4337 |
set dummy file; ac_word=$2
|
4035 |
set dummy file; ac_word=$2
|
4338 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4036 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4339 |
$as_echo_n "checking for $ac_word... " >&6; }
|
4037 |
$as_echo_n "checking for $ac_word... " >&6; }
|
4340 |
if test "${ac_cv_path_fileProg+set}" = set; then
|
4038 |
if test "${ac_cv_path_fileProg+set}" = set; then :
|
4341 |
$as_echo_n "(cached) " >&6
|
4039 |
$as_echo_n "(cached) " >&6
|
4342 |
else
|
4040 |
else
|
4343 |
case $fileProg in
|
4041 |
case $fileProg in
|
4344 |
[\\/]* | ?:[\\/]*)
|
4042 |
[\\/]* | ?:[\\/]*)
|
4345 |
ac_cv_path_fileProg="$fileProg" # Let the user override the test with a path.
|
4043 |
ac_cv_path_fileProg="$fileProg" # Let the user override the test with a path.
|
|
... |
|
... |
4348 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4046 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4349 |
for as_dir in $PATH
|
4047 |
for as_dir in $PATH
|
4350 |
do
|
4048 |
do
|
4351 |
IFS=$as_save_IFS
|
4049 |
IFS=$as_save_IFS
|
4352 |
test -z "$as_dir" && as_dir=.
|
4050 |
test -z "$as_dir" && as_dir=.
|
4353 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4051 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4354 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4052 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4355 |
ac_cv_path_fileProg="$as_dir/$ac_word$ac_exec_ext"
|
4053 |
ac_cv_path_fileProg="$as_dir/$ac_word$ac_exec_ext"
|
4356 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4054 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4357 |
break 2
|
4055 |
break 2
|
4358 |
fi
|
4056 |
fi
|
4359 |
done
|
4057 |
done
|
4360 |
done
|
4058 |
done
|
4361 |
IFS=$as_save_IFS
|
4059 |
IFS=$as_save_IFS
|
4362 |
|
4060 |
|
4363 |
;;
|
4061 |
;;
|
4364 |
esac
|
4062 |
esac
|
4365 |
fi
|
4063 |
fi
|
4366 |
fileProg=$ac_cv_path_fileProg
|
4064 |
fileProg=$ac_cv_path_fileProg
|
4367 |
if test -n "$fileProg"; then
|
4065 |
if test -n "$fileProg"; then
|
4368 |
{ $as_echo "$as_me:$LINENO: result: $fileProg" >&5
|
4066 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fileProg" >&5
|
4369 |
$as_echo "$fileProg" >&6; }
|
4067 |
$as_echo "$fileProg" >&6; }
|
4370 |
else
|
4068 |
else
|
4371 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
4069 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4372 |
$as_echo "no" >&6; }
|
4070 |
$as_echo "no" >&6; }
|
4373 |
fi
|
4071 |
fi
|
4374 |
|
4072 |
|
4375 |
;;
|
4073 |
;;
|
4376 |
*)
|
4074 |
*)
|
4377 |
fileProg=$withFileCommand;;
|
4075 |
fileProg=$withFileCommand;;
|
4378 |
esac
|
4076 |
esac
|
4379 |
|
4077 |
|
4380 |
if test ! -x "$fileProg"; then
|
4078 |
if test ! -x "$fileProg"; then
|
4381 |
{ { $as_echo "$as_me:$LINENO: error: $fileProg does not exist or is not executable" >&5
|
4079 |
as_fn_error $? "$fileProg does not exist or is not executable" "$LINENO" 5
|
4382 |
$as_echo "$as_me: error: $fileProg does not exist or is not executable" >&2;}
|
|
|
4383 |
{ (exit 1); exit 1; }; }
|
|
|
4384 |
fi
|
4080 |
fi
|
4385 |
|
4081 |
|
4386 |
cat >>confdefs.h <<_ACEOF
|
4082 |
cat >>confdefs.h <<_ACEOF
|
4387 |
#define FILE_PROG "$fileProg"
|
4083 |
#define FILE_PROG "$fileProg"
|
4388 |
_ACEOF
|
4084 |
_ACEOF
|
4389 |
|
4085 |
|
4390 |
|
4086 |
|
4391 |
# Can't use Solaris standard 'file' command, it doesn't support -i
|
4087 |
# Can't use Solaris standard 'file' command, it doesn't support -i
|
4392 |
if test X$sys != XSunOS -o X$fileProg != X/usr/bin/file; then
|
4088 |
if test X$sys != XSunOS -o X$fileProg != X/usr/bin/file; then
|
4393 |
|
4089 |
|
4394 |
cat >>confdefs.h <<\_ACEOF
|
4090 |
$as_echo "#define USE_SYSTEM_FILE_COMMAND 1" >>confdefs.h
|
4395 |
#define USE_SYSTEM_FILE_COMMAND 1
|
|
|
4396 |
_ACEOF
|
|
|
4397 |
|
4091 |
|
4398 |
fi
|
4092 |
fi
|
4399 |
|
4093 |
|
4400 |
|
4094 |
|
4401 |
# Use aspell to provide spelling expansions ?
|
4095 |
# Use aspell to provide spelling expansions ?
|
4402 |
# The default is yes. If we do find an aspell installation, we use it. Else
|
4096 |
# The default is yes. If we do find an aspell installation, we use it. Else
|
4403 |
# we do compile the aspell module using an internal copy of aspell.h
|
4097 |
# we do compile the aspell module using an internal copy of aspell.h
|
4404 |
# Only --with-aspell=no will completely disable aspell support
|
4098 |
# Only --with-aspell=no will completely disable aspell support
|
4405 |
|
4099 |
|
4406 |
# Check whether --with-aspell was given.
|
4100 |
# Check whether --with-aspell was given.
|
4407 |
if test "${with_aspell+set}" = set; then
|
4101 |
if test "${with_aspell+set}" = set; then :
|
4408 |
withval=$with_aspell; withAspell=$withval
|
4102 |
withval=$with_aspell; withAspell=$withval
|
4409 |
else
|
4103 |
else
|
4410 |
withAspell=yes
|
4104 |
withAspell=yes
|
4411 |
fi
|
4105 |
fi
|
4412 |
|
4106 |
|
4413 |
case $withAspell in
|
4107 |
case $withAspell in
|
4414 |
no);;
|
4108 |
no);;
|
4415 |
yes)
|
4109 |
yes)
|
4416 |
# Extract the first word of "aspell", so it can be a program name with args.
|
4110 |
# Extract the first word of "aspell", so it can be a program name with args.
|
4417 |
set dummy aspell; ac_word=$2
|
4111 |
set dummy aspell; ac_word=$2
|
4418 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4112 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4419 |
$as_echo_n "checking for $ac_word... " >&6; }
|
4113 |
$as_echo_n "checking for $ac_word... " >&6; }
|
4420 |
if test "${ac_cv_path_aspellProg+set}" = set; then
|
4114 |
if test "${ac_cv_path_aspellProg+set}" = set; then :
|
4421 |
$as_echo_n "(cached) " >&6
|
4115 |
$as_echo_n "(cached) " >&6
|
4422 |
else
|
4116 |
else
|
4423 |
case $aspellProg in
|
4117 |
case $aspellProg in
|
4424 |
[\\/]* | ?:[\\/]*)
|
4118 |
[\\/]* | ?:[\\/]*)
|
4425 |
ac_cv_path_aspellProg="$aspellProg" # Let the user override the test with a path.
|
4119 |
ac_cv_path_aspellProg="$aspellProg" # Let the user override the test with a path.
|
|
... |
|
... |
4428 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4122 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4429 |
for as_dir in $PATH
|
4123 |
for as_dir in $PATH
|
4430 |
do
|
4124 |
do
|
4431 |
IFS=$as_save_IFS
|
4125 |
IFS=$as_save_IFS
|
4432 |
test -z "$as_dir" && as_dir=.
|
4126 |
test -z "$as_dir" && as_dir=.
|
4433 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4127 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4434 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4128 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4435 |
ac_cv_path_aspellProg="$as_dir/$ac_word$ac_exec_ext"
|
4129 |
ac_cv_path_aspellProg="$as_dir/$ac_word$ac_exec_ext"
|
4436 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4130 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4437 |
break 2
|
4131 |
break 2
|
4438 |
fi
|
4132 |
fi
|
4439 |
done
|
4133 |
done
|
4440 |
done
|
4134 |
done
|
4441 |
IFS=$as_save_IFS
|
4135 |
IFS=$as_save_IFS
|
4442 |
|
4136 |
|
4443 |
;;
|
4137 |
;;
|
4444 |
esac
|
4138 |
esac
|
4445 |
fi
|
4139 |
fi
|
4446 |
aspellProg=$ac_cv_path_aspellProg
|
4140 |
aspellProg=$ac_cv_path_aspellProg
|
4447 |
if test -n "$aspellProg"; then
|
4141 |
if test -n "$aspellProg"; then
|
4448 |
{ $as_echo "$as_me:$LINENO: result: $aspellProg" >&5
|
4142 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aspellProg" >&5
|
4449 |
$as_echo "$aspellProg" >&6; }
|
4143 |
$as_echo "$aspellProg" >&6; }
|
4450 |
else
|
4144 |
else
|
4451 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
4145 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4452 |
$as_echo "no" >&6; }
|
4146 |
$as_echo "no" >&6; }
|
4453 |
fi
|
4147 |
fi
|
4454 |
|
4148 |
|
4455 |
|
4149 |
|
4456 |
;;
|
4150 |
;;
|
|
... |
|
... |
4459 |
;;
|
4153 |
;;
|
4460 |
esac
|
4154 |
esac
|
4461 |
|
4155 |
|
4462 |
if test X$withAspell != Xno ; then
|
4156 |
if test X$withAspell != Xno ; then
|
4463 |
|
4157 |
|
4464 |
cat >>confdefs.h <<\_ACEOF
|
4158 |
$as_echo "#define RCL_USE_ASPELL 1" >>confdefs.h
|
4465 |
#define RCL_USE_ASPELL 1
|
|
|
4466 |
_ACEOF
|
|
|
4467 |
|
4159 |
|
4468 |
if test X$aspellProg != X ; then
|
4160 |
if test X$aspellProg != X ; then
|
4469 |
aspellBase=`dirname $aspellProg`
|
4161 |
aspellBase=`dirname $aspellProg`
|
4470 |
aspellBase=`dirname $aspellBase`
|
4162 |
aspellBase=`dirname $aspellBase`
|
4471 |
|
4163 |
|
|
... |
|
... |
4478 |
cat >>confdefs.h <<_ACEOF
|
4170 |
cat >>confdefs.h <<_ACEOF
|
4479 |
#define ASPELL_INCLUDE "$aspellBase/include/aspell.h"
|
4171 |
#define ASPELL_INCLUDE "$aspellBase/include/aspell.h"
|
4480 |
_ACEOF
|
4172 |
_ACEOF
|
4481 |
|
4173 |
|
4482 |
else
|
4174 |
else
|
4483 |
{ $as_echo "$as_me:$LINENO: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&5
|
4175 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&5
|
4484 |
$as_echo "$as_me: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&6;}
|
4176 |
$as_echo "$as_me: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&6;}
|
4485 |
cat >>confdefs.h <<\_ACEOF
|
4177 |
$as_echo "#define ASPELL_INCLUDE \"aspell-local.h\"" >>confdefs.h
|
4486 |
#define ASPELL_INCLUDE "aspell-local.h"
|
|
|
4487 |
_ACEOF
|
|
|
4488 |
|
4178 |
|
4489 |
fi
|
4179 |
fi
|
4490 |
else
|
4180 |
else
|
4491 |
# aspell support enabled but no aspell install yet
|
4181 |
# aspell support enabled but no aspell install yet
|
4492 |
{ $as_echo "$as_me:$LINENO: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&5
|
4182 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&5
|
4493 |
$as_echo "$as_me: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&6;}
|
4183 |
$as_echo "$as_me: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&6;}
|
4494 |
cat >>confdefs.h <<\_ACEOF
|
4184 |
$as_echo "#define ASPELL_INCLUDE \"aspell-local.h\"" >>confdefs.h
|
4495 |
#define ASPELL_INCLUDE "aspell-local.h"
|
|
|
4496 |
_ACEOF
|
|
|
4497 |
|
4185 |
|
4498 |
fi
|
4186 |
fi
|
4499 |
fi
|
4187 |
fi
|
4500 |
|
4188 |
|
4501 |
if test -f /usr/include/sys/inotify.h ; then
|
4189 |
if test -f /usr/include/sys/inotify.h ; then
|
|
... |
|
... |
4505 |
fi
|
4193 |
fi
|
4506 |
|
4194 |
|
4507 |
# Real time monitoring with inotify
|
4195 |
# Real time monitoring with inotify
|
4508 |
|
4196 |
|
4509 |
# Check whether --with-inotify was given.
|
4197 |
# Check whether --with-inotify was given.
|
4510 |
if test "${with_inotify+set}" = set; then
|
4198 |
if test "${with_inotify+set}" = set; then :
|
4511 |
withval=$with_inotify; withInotify=$withval
|
4199 |
withval=$with_inotify; withInotify=$withval
|
4512 |
else
|
4200 |
else
|
4513 |
withInotify=$inot_default
|
4201 |
withInotify=$inot_default
|
4514 |
fi
|
4202 |
fi
|
4515 |
|
4203 |
|
4516 |
|
4204 |
|
4517 |
if test X$withInotify != Xno ; then
|
4205 |
if test X$withInotify != Xno ; then
|
4518 |
{ $as_echo "$as_me:$LINENO: enabled support for inotify monitoring" >&5
|
4206 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: enabled support for inotify monitoring" >&5
|
4519 |
$as_echo "$as_me: enabled support for inotify monitoring" >&6;}
|
4207 |
$as_echo "$as_me: enabled support for inotify monitoring" >&6;}
|
4520 |
|
4208 |
|
4521 |
cat >>confdefs.h <<\_ACEOF
|
4209 |
$as_echo "#define RCL_MONITOR 1" >>confdefs.h
|
4522 |
#define RCL_MONITOR 1
|
|
|
4523 |
_ACEOF
|
|
|
4524 |
|
4210 |
|
4525 |
|
4211 |
|
4526 |
cat >>confdefs.h <<\_ACEOF
|
4212 |
$as_echo "#define RCL_USE_INOTIFY 1" >>confdefs.h
|
4527 |
#define RCL_USE_INOTIFY 1
|
|
|
4528 |
_ACEOF
|
|
|
4529 |
|
4213 |
|
4530 |
else
|
4214 |
else
|
4531 |
{ $as_echo "$as_me:$LINENO: inotify monitoring disabled" >&5
|
4215 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: inotify monitoring disabled" >&5
|
4532 |
$as_echo "$as_me: inotify monitoring disabled" >&6;}
|
4216 |
$as_echo "$as_me: inotify monitoring disabled" >&6;}
|
4533 |
fi
|
4217 |
fi
|
4534 |
|
4218 |
|
4535 |
# Real time monitoring with FAM
|
4219 |
# Real time monitoring with FAM
|
4536 |
|
4220 |
|
4537 |
# Check whether --with-fam was given.
|
4221 |
# Check whether --with-fam was given.
|
4538 |
if test "${with_fam+set}" = set; then
|
4222 |
if test "${with_fam+set}" = set; then :
|
4539 |
withval=$with_fam; withFam=$withval
|
4223 |
withval=$with_fam; withFam=$withval
|
4540 |
else
|
4224 |
else
|
4541 |
withFam=no
|
4225 |
withFam=no
|
4542 |
fi
|
4226 |
fi
|
4543 |
|
4227 |
|
4544 |
if test X$withFam != Xno -a X$withInotify != Xno ; then
|
4228 |
if test X$withFam != Xno -a X$withInotify != Xno ; then
|
4545 |
{ $as_echo "$as_me:$LINENO: FAM support enabled but inotify support also enabled. Disabling FAM support and using inotify" >&5
|
4229 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: FAM support enabled but inotify support also enabled. Disabling FAM support and using inotify" >&5
|
4546 |
$as_echo "$as_me: FAM support enabled but inotify support also enabled. Disabling FAM support and using inotify" >&6;}
|
4230 |
$as_echo "$as_me: FAM support enabled but inotify support also enabled. Disabling FAM support and using inotify" >&6;}
|
4547 |
withFam=no
|
4231 |
withFam=no
|
4548 |
fi
|
4232 |
fi
|
4549 |
|
4233 |
|
4550 |
case $withFam in
|
4234 |
case $withFam in
|
|
... |
|
... |
4559 |
;;
|
4243 |
;;
|
4560 |
esac
|
4244 |
esac
|
4561 |
|
4245 |
|
4562 |
if test X$withFam != Xno ; then
|
4246 |
if test X$withFam != Xno ; then
|
4563 |
|
4247 |
|
4564 |
cat >>confdefs.h <<\_ACEOF
|
4248 |
$as_echo "#define RCL_MONITOR 1" >>confdefs.h
|
4565 |
#define RCL_MONITOR 1
|
|
|
4566 |
_ACEOF
|
|
|
4567 |
|
4249 |
|
4568 |
|
4250 |
|
4569 |
cat >>confdefs.h <<\_ACEOF
|
4251 |
$as_echo "#define RCL_USE_FAM 1" >>confdefs.h
|
4570 |
#define RCL_USE_FAM 1
|
|
|
4571 |
_ACEOF
|
|
|
4572 |
|
4252 |
|
4573 |
if test X$famLib != X ; then
|
4253 |
if test X$famLib != X ; then
|
4574 |
famLibDir=`dirname $famLib`
|
4254 |
famLibDir=`dirname $famLib`
|
4575 |
famBase=`dirname $famLibDir`
|
4255 |
famBase=`dirname $famLibDir`
|
4576 |
famBLib=`basename $famLib .so | sed -e s/lib//`
|
4256 |
famBLib=`basename $famLib .so | sed -e s/lib//`
|
4577 |
if test ! -f $famBase/include/fam.h ; then
|
4257 |
if test ! -f $famBase/include/fam.h ; then
|
4578 |
{ { $as_echo "$as_me:$LINENO: error: fam.h not found in $famBase/include. Specify --with-fam=no to disable fam support" >&5
|
|
|
4579 |
$as_echo "$as_me: error: fam.h not found in $famBase/include. Specify --with-fam=no to disable fam support" >&2;}
|
4258 |
as_fn_error $? "fam.h not found in $famBase/include. Specify --with-fam=no to disable fam support" "$LINENO" 5
|
4580 |
{ (exit 1); exit 1; }; }
|
|
|
4581 |
fi
|
4259 |
fi
|
4582 |
LIBFAM="-L$famLibDir -l$famBLib"
|
4260 |
LIBFAM="-L$famLibDir -l$famBLib"
|
4583 |
{ $as_echo "$as_me:$LINENO: fam library directive: $LIBFAM" >&5
|
4261 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: fam library directive: $LIBFAM" >&5
|
4584 |
$as_echo "$as_me: fam library directive: $LIBFAM" >&6;}
|
4262 |
$as_echo "$as_me: fam library directive: $LIBFAM" >&6;}
|
4585 |
|
4263 |
|
4586 |
cat >>confdefs.h <<_ACEOF
|
4264 |
cat >>confdefs.h <<_ACEOF
|
4587 |
#define FAM_INCLUDE "$famBase/include/fam.h"
|
4265 |
#define FAM_INCLUDE "$famBase/include/fam.h"
|
4588 |
_ACEOF
|
4266 |
_ACEOF
|
4589 |
|
4267 |
|
4590 |
else
|
4268 |
else
|
4591 |
{ { $as_echo "$as_me:$LINENO: error: fam library not found" >&5
|
4269 |
as_fn_error $? "fam library not found" "$LINENO" 5
|
4592 |
$as_echo "$as_me: error: fam library not found" >&2;}
|
|
|
4593 |
{ (exit 1); exit 1; }; }
|
|
|
4594 |
fi
|
4270 |
fi
|
4595 |
fi
|
4271 |
fi
|
4596 |
|
4272 |
|
4597 |
# Enable use of file extended attributes.
|
4273 |
# Enable use of file extended attributes.
|
4598 |
# Not by default as these are little used for now.
|
4274 |
# Not by default as these are little used for now.
|
4599 |
# Check whether --enable-xattr was given.
|
4275 |
# Check whether --enable-xattr was given.
|
4600 |
if test "${enable_xattr+set}" = set; then
|
4276 |
if test "${enable_xattr+set}" = set; then :
|
4601 |
enableval=$enable_xattr; xattrEnabled=$enableval
|
4277 |
enableval=$enable_xattr; xattrEnabled=$enableval
|
4602 |
else
|
4278 |
else
|
4603 |
xattrEnabled=no
|
4279 |
xattrEnabled=no
|
4604 |
fi
|
4280 |
fi
|
4605 |
|
4281 |
|
4606 |
|
4282 |
|
4607 |
if test X$xattrEnabled = Xyes ; then
|
4283 |
if test X$xattrEnabled = Xyes ; then
|
4608 |
|
4284 |
|
4609 |
cat >>confdefs.h <<\_ACEOF
|
4285 |
$as_echo "#define RCL_USE_XATTR 1" >>confdefs.h
|
4610 |
#define RCL_USE_XATTR 1
|
|
|
4611 |
_ACEOF
|
|
|
4612 |
|
4286 |
|
4613 |
fi
|
4287 |
fi
|
4614 |
|
4288 |
|
4615 |
# Enable CamelCase word splitting. This is optional because it causes
|
4289 |
# Enable CamelCase word splitting. This is optional because it causes
|
4616 |
# problems with phrases: with camelcase enabled, "MySQL manual"
|
4290 |
# problems with phrases: with camelcase enabled, "MySQL manual"
|
4617 |
# will be matched by "MySQL manual" and "my sql manual" but not
|
4291 |
# will be matched by "MySQL manual" and "my sql manual" but not
|
4618 |
# "mysql manual" (which would need increased slack as manual is now at pos
|
4292 |
# "mysql manual" (which would need increased slack as manual is now at pos
|
4619 |
# 2 instead of 1
|
4293 |
# 2 instead of 1
|
4620 |
# Check whether --enable-camelcase was given.
|
4294 |
# Check whether --enable-camelcase was given.
|
4621 |
if test "${enable_camelcase+set}" = set; then
|
4295 |
if test "${enable_camelcase+set}" = set; then :
|
4622 |
enableval=$enable_camelcase; camelcaseEnabled=$enableval
|
4296 |
enableval=$enable_camelcase; camelcaseEnabled=$enableval
|
4623 |
else
|
4297 |
else
|
4624 |
camelcaseEnabled=no
|
4298 |
camelcaseEnabled=no
|
4625 |
fi
|
4299 |
fi
|
4626 |
|
4300 |
|
4627 |
|
4301 |
|
4628 |
if test X$camelcaseEnabled = Xyes ; then
|
4302 |
if test X$camelcaseEnabled = Xyes ; then
|
4629 |
|
4303 |
|
4630 |
cat >>confdefs.h <<\_ACEOF
|
4304 |
$as_echo "#define RCL_SPLIT_CAMELCASE 1" >>confdefs.h
|
4631 |
#define RCL_SPLIT_CAMELCASE 1
|
|
|
4632 |
_ACEOF
|
|
|
4633 |
|
4305 |
|
4634 |
fi
|
4306 |
fi
|
4635 |
|
4307 |
|
4636 |
# Build PIC objects for the library. This is necessary when building the
|
4308 |
# Build PIC objects for the library. This is necessary when building the
|
4637 |
# php extension, would be useful for the others, and costs little. I wonder
|
4309 |
# php extension, would be useful for the others, and costs little. I wonder
|
4638 |
# if this should be made the default.
|
4310 |
# if this should be made the default.
|
4639 |
# Not by default as these are little used for now.
|
4311 |
# Not by default as these are little used for now.
|
4640 |
# Check whether --enable-pic was given.
|
4312 |
# Check whether --enable-pic was given.
|
4641 |
if test "${enable_pic+set}" = set; then
|
4313 |
if test "${enable_pic+set}" = set; then :
|
4642 |
enableval=$enable_pic; picEnabled=$enableval
|
4314 |
enableval=$enable_pic; picEnabled=$enableval
|
4643 |
else
|
4315 |
else
|
4644 |
picEnabled=no
|
4316 |
picEnabled=no
|
4645 |
fi
|
4317 |
fi
|
4646 |
|
4318 |
|
|
... |
|
... |
4648 |
NOPIC=""
|
4320 |
NOPIC=""
|
4649 |
else
|
4321 |
else
|
4650 |
NOPIC="#"
|
4322 |
NOPIC="#"
|
4651 |
fi
|
4323 |
fi
|
4652 |
|
4324 |
|
4653 |
|
|
|
4654 |
for ac_func in mkdtemp
|
4325 |
for ac_func in mkdtemp
|
4655 |
do
|
4326 |
do :
|
4656 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
4327 |
ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp"
|
4657 |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
4328 |
if test "x$ac_cv_func_mkdtemp" = x""yes; then :
|
4658 |
$as_echo_n "checking for $ac_func... " >&6; }
|
|
|
4659 |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
4660 |
$as_echo_n "(cached) " >&6
|
|
|
4661 |
else
|
|
|
4662 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4663 |
/* confdefs.h. */
|
|
|
4664 |
_ACEOF
|
|
|
4665 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
4666 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4667 |
/* end confdefs.h. */
|
|
|
4668 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
4669 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
4670 |
#define $ac_func innocuous_$ac_func
|
|
|
4671 |
|
|
|
4672 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
4673 |
which can conflict with char $ac_func (); below.
|
|
|
4674 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
4675 |
<limits.h> exists even on freestanding compilers. */
|
|
|
4676 |
|
|
|
4677 |
#ifdef __STDC__
|
|
|
4678 |
# include <limits.h>
|
|
|
4679 |
#else
|
|
|
4680 |
# include <assert.h>
|
|
|
4681 |
#endif
|
|
|
4682 |
|
|
|
4683 |
#undef $ac_func
|
|
|
4684 |
|
|
|
4685 |
/* Override any GCC internal prototype to avoid an error.
|
|
|
4686 |
Use char because int might match the return type of a GCC
|
|
|
4687 |
builtin and then its argument prototype would still apply. */
|
|
|
4688 |
#ifdef __cplusplus
|
|
|
4689 |
extern "C"
|
|
|
4690 |
#endif
|
|
|
4691 |
char $ac_func ();
|
|
|
4692 |
/* The GNU C library defines this for functions which it implements
|
|
|
4693 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
4694 |
something starting with __ and the normal name is an alias. */
|
|
|
4695 |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
|
4696 |
choke me
|
|
|
4697 |
#endif
|
|
|
4698 |
|
|
|
4699 |
int
|
|
|
4700 |
main ()
|
|
|
4701 |
{
|
|
|
4702 |
return $ac_func ();
|
|
|
4703 |
;
|
|
|
4704 |
return 0;
|
|
|
4705 |
}
|
|
|
4706 |
_ACEOF
|
|
|
4707 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
4708 |
if { (ac_try="$ac_link"
|
|
|
4709 |
case "(($ac_try" in
|
|
|
4710 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4711 |
*) ac_try_echo=$ac_try;;
|
|
|
4712 |
esac
|
|
|
4713 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
4714 |
$as_echo "$ac_try_echo") >&5
|
|
|
4715 |
(eval "$ac_link") 2>conftest.er1
|
|
|
4716 |
ac_status=$?
|
|
|
4717 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
4718 |
rm -f conftest.er1
|
|
|
4719 |
cat conftest.err >&5
|
|
|
4720 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4721 |
(exit $ac_status); } && {
|
|
|
4722 |
test -z "$ac_c_werror_flag" ||
|
|
|
4723 |
test ! -s conftest.err
|
|
|
4724 |
} && test -s conftest$ac_exeext && {
|
|
|
4725 |
test "$cross_compiling" = yes ||
|
|
|
4726 |
$as_test_x conftest$ac_exeext
|
|
|
4727 |
}; then
|
|
|
4728 |
eval "$as_ac_var=yes"
|
|
|
4729 |
else
|
|
|
4730 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
4731 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
4732 |
|
|
|
4733 |
eval "$as_ac_var=no"
|
|
|
4734 |
fi
|
|
|
4735 |
|
|
|
4736 |
rm -rf conftest.dSYM
|
|
|
4737 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
4738 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
4739 |
fi
|
|
|
4740 |
ac_res=`eval 'as_val=${'$as_ac_var'}
|
|
|
4741 |
$as_echo "$as_val"'`
|
|
|
4742 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
4743 |
$as_echo "$ac_res" >&6; }
|
|
|
4744 |
if test `eval 'as_val=${'$as_ac_var'}
|
|
|
4745 |
$as_echo "$as_val"'` = yes; then
|
|
|
4746 |
cat >>confdefs.h <<_ACEOF
|
4329 |
cat >>confdefs.h <<_ACEOF
|
4747 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
4330 |
#define HAVE_MKDTEMP 1
|
4748 |
_ACEOF
|
4331 |
_ACEOF
|
4749 |
|
4332 |
|
4750 |
fi
|
4333 |
fi
|
4751 |
done
|
4334 |
done
|
4752 |
|
4335 |
|
|
... |
|
... |
4768 |
|
4351 |
|
4769 |
for dir in ${libdir} /opt/local/lib /usr/local/lib ;do
|
4352 |
for dir in ${libdir} /opt/local/lib /usr/local/lib ;do
|
4770 |
LDFLAGS="$S_LDFLAGS -L$dir"
|
4353 |
LDFLAGS="$S_LDFLAGS -L$dir"
|
4771 |
unset ac_cv_lib_iconv_iconv_open
|
4354 |
unset ac_cv_lib_iconv_iconv_open
|
4772 |
|
4355 |
|
4773 |
{ $as_echo "$as_me:$LINENO: checking for iconv_open in -liconv" >&5
|
4356 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv_open in -liconv" >&5
|
4774 |
$as_echo_n "checking for iconv_open in -liconv... " >&6; }
|
4357 |
$as_echo_n "checking for iconv_open in -liconv... " >&6; }
|
4775 |
if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then
|
4358 |
if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then :
|
4776 |
$as_echo_n "(cached) " >&6
|
4359 |
$as_echo_n "(cached) " >&6
|
4777 |
else
|
4360 |
else
|
4778 |
ac_check_lib_save_LIBS=$LIBS
|
4361 |
ac_check_lib_save_LIBS=$LIBS
|
4779 |
LIBS="-liconv $LIBS"
|
4362 |
LIBS="-liconv $LIBS"
|
4780 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4781 |
/* confdefs.h. */
|
|
|
4782 |
_ACEOF
|
|
|
4783 |
cat confdefs.h >>conftest.$ac_ext
|
4363 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4784 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4785 |
/* end confdefs.h. */
|
4364 |
/* end confdefs.h. */
|
4786 |
|
4365 |
|
4787 |
/* Override any GCC internal prototype to avoid an error.
|
4366 |
/* Override any GCC internal prototype to avoid an error.
|
4788 |
Use char because int might match the return type of a GCC
|
4367 |
Use char because int might match the return type of a GCC
|
4789 |
builtin and then its argument prototype would still apply. */
|
4368 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
4797 |
return iconv_open ();
|
4376 |
return iconv_open ();
|
4798 |
;
|
4377 |
;
|
4799 |
return 0;
|
4378 |
return 0;
|
4800 |
}
|
4379 |
}
|
4801 |
_ACEOF
|
4380 |
_ACEOF
|
4802 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
4381 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
4803 |
if { (ac_try="$ac_link"
|
|
|
4804 |
case "(($ac_try" in
|
|
|
4805 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4806 |
*) ac_try_echo=$ac_try;;
|
|
|
4807 |
esac
|
|
|
4808 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
4809 |
$as_echo "$ac_try_echo") >&5
|
|
|
4810 |
(eval "$ac_link") 2>conftest.er1
|
|
|
4811 |
ac_status=$?
|
|
|
4812 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
4813 |
rm -f conftest.er1
|
|
|
4814 |
cat conftest.err >&5
|
|
|
4815 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4816 |
(exit $ac_status); } && {
|
|
|
4817 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
4818 |
test ! -s conftest.err
|
|
|
4819 |
} && test -s conftest$ac_exeext && {
|
|
|
4820 |
test "$cross_compiling" = yes ||
|
|
|
4821 |
$as_test_x conftest$ac_exeext
|
|
|
4822 |
}; then
|
|
|
4823 |
ac_cv_lib_iconv_iconv_open=yes
|
4382 |
ac_cv_lib_iconv_iconv_open=yes
|
4824 |
else
|
4383 |
else
|
4825 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
4826 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
4827 |
|
|
|
4828 |
ac_cv_lib_iconv_iconv_open=no
|
4384 |
ac_cv_lib_iconv_iconv_open=no
|
4829 |
fi
|
4385 |
fi
|
4830 |
|
|
|
4831 |
rm -rf conftest.dSYM
|
|
|
4832 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
4386 |
rm -f core conftest.err conftest.$ac_objext \
|
4833 |
conftest$ac_exeext conftest.$ac_ext
|
4387 |
conftest$ac_exeext conftest.$ac_ext
|
4834 |
LIBS=$ac_check_lib_save_LIBS
|
4388 |
LIBS=$ac_check_lib_save_LIBS
|
4835 |
fi
|
4389 |
fi
|
4836 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
|
4390 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_iconv_open" >&5
|
4837 |
$as_echo "$ac_cv_lib_iconv_iconv_open" >&6; }
|
4391 |
$as_echo "$ac_cv_lib_iconv_iconv_open" >&6; }
|
4838 |
if test $ac_cv_lib_iconv_iconv_open = yes; then
|
4392 |
if test "x$ac_cv_lib_iconv_iconv_open" = x""yes; then :
|
4839 |
LIBICONV="-L$dir -liconv";INCICONV=-I$dir/../include
|
4393 |
LIBICONV="-L$dir -liconv";INCICONV=-I$dir/../include
|
4840 |
fi
|
4394 |
fi
|
4841 |
|
4395 |
|
4842 |
if test A"$LIBICONV" != A ; then
|
4396 |
if test A"$LIBICONV" != A ; then
|
4843 |
break
|
4397 |
break
|
|
... |
|
... |
4846 |
|
4400 |
|
4847 |
if test A"$LIBICONV" = A; then
|
4401 |
if test A"$LIBICONV" = A; then
|
4848 |
dir=${libdir}
|
4402 |
dir=${libdir}
|
4849 |
LDFLAGS="$S_LDFLAGS -L$dir"
|
4403 |
LDFLAGS="$S_LDFLAGS -L$dir"
|
4850 |
unset ac_cv_lib_iconv_iconv_open
|
4404 |
unset ac_cv_lib_iconv_iconv_open
|
4851 |
{ $as_echo "$as_me:$LINENO: checking for iconv_open in -lc" >&5
|
4405 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv_open in -lc" >&5
|
4852 |
$as_echo_n "checking for iconv_open in -lc... " >&6; }
|
4406 |
$as_echo_n "checking for iconv_open in -lc... " >&6; }
|
4853 |
if test "${ac_cv_lib_c_iconv_open+set}" = set; then
|
4407 |
if test "${ac_cv_lib_c_iconv_open+set}" = set; then :
|
4854 |
$as_echo_n "(cached) " >&6
|
4408 |
$as_echo_n "(cached) " >&6
|
4855 |
else
|
4409 |
else
|
4856 |
ac_check_lib_save_LIBS=$LIBS
|
4410 |
ac_check_lib_save_LIBS=$LIBS
|
4857 |
LIBS="-lc $LIBS"
|
4411 |
LIBS="-lc $LIBS"
|
4858 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4859 |
/* confdefs.h. */
|
|
|
4860 |
_ACEOF
|
|
|
4861 |
cat confdefs.h >>conftest.$ac_ext
|
4412 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4862 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4863 |
/* end confdefs.h. */
|
4413 |
/* end confdefs.h. */
|
4864 |
|
4414 |
|
4865 |
/* Override any GCC internal prototype to avoid an error.
|
4415 |
/* Override any GCC internal prototype to avoid an error.
|
4866 |
Use char because int might match the return type of a GCC
|
4416 |
Use char because int might match the return type of a GCC
|
4867 |
builtin and then its argument prototype would still apply. */
|
4417 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
4875 |
return iconv_open ();
|
4425 |
return iconv_open ();
|
4876 |
;
|
4426 |
;
|
4877 |
return 0;
|
4427 |
return 0;
|
4878 |
}
|
4428 |
}
|
4879 |
_ACEOF
|
4429 |
_ACEOF
|
4880 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
4430 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
4881 |
if { (ac_try="$ac_link"
|
|
|
4882 |
case "(($ac_try" in
|
|
|
4883 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4884 |
*) ac_try_echo=$ac_try;;
|
|
|
4885 |
esac
|
|
|
4886 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
4887 |
$as_echo "$ac_try_echo") >&5
|
|
|
4888 |
(eval "$ac_link") 2>conftest.er1
|
|
|
4889 |
ac_status=$?
|
|
|
4890 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
4891 |
rm -f conftest.er1
|
|
|
4892 |
cat conftest.err >&5
|
|
|
4893 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4894 |
(exit $ac_status); } && {
|
|
|
4895 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
4896 |
test ! -s conftest.err
|
|
|
4897 |
} && test -s conftest$ac_exeext && {
|
|
|
4898 |
test "$cross_compiling" = yes ||
|
|
|
4899 |
$as_test_x conftest$ac_exeext
|
|
|
4900 |
}; then
|
|
|
4901 |
ac_cv_lib_c_iconv_open=yes
|
4431 |
ac_cv_lib_c_iconv_open=yes
|
4902 |
else
|
4432 |
else
|
4903 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
4904 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
4905 |
|
|
|
4906 |
ac_cv_lib_c_iconv_open=no
|
4433 |
ac_cv_lib_c_iconv_open=no
|
4907 |
fi
|
4434 |
fi
|
4908 |
|
|
|
4909 |
rm -rf conftest.dSYM
|
|
|
4910 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
4435 |
rm -f core conftest.err conftest.$ac_objext \
|
4911 |
conftest$ac_exeext conftest.$ac_ext
|
4436 |
conftest$ac_exeext conftest.$ac_ext
|
4912 |
LIBS=$ac_check_lib_save_LIBS
|
4437 |
LIBS=$ac_check_lib_save_LIBS
|
4913 |
fi
|
4438 |
fi
|
4914 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_iconv_open" >&5
|
4439 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_iconv_open" >&5
|
4915 |
$as_echo "$ac_cv_lib_c_iconv_open" >&6; }
|
4440 |
$as_echo "$ac_cv_lib_c_iconv_open" >&6; }
|
4916 |
if test $ac_cv_lib_c_iconv_open = yes; then
|
4441 |
if test "x$ac_cv_lib_c_iconv_open" = x""yes; then :
|
4917 |
LIBICONV=NONE;INCICONV=-I/usr/include
|
4442 |
LIBICONV=NONE;INCICONV=-I/usr/include
|
4918 |
fi
|
4443 |
fi
|
4919 |
|
4444 |
|
4920 |
fi
|
4445 |
fi
|
4921 |
|
4446 |
|
4922 |
LDFLAGS=$S_LDFLAGS
|
4447 |
LDFLAGS=$S_LDFLAGS
|
4923 |
if test A"$LIBICONV" = A ; then
|
4448 |
if test A"$LIBICONV" = A ; then
|
4924 |
{ { $as_echo "$as_me:$LINENO: error: Cannot find iconv_open anywhere. Please install iconv" >&5
|
|
|
4925 |
$as_echo "$as_me: error: Cannot find iconv_open anywhere. Please install iconv" >&2;}
|
4449 |
as_fn_error $? "Cannot find iconv_open anywhere. Please install iconv" "$LINENO" 5
|
4926 |
{ (exit 1); exit 1; }; }
|
|
|
4927 |
exit 1
|
4450 |
exit 1
|
4928 |
fi
|
4451 |
fi
|
4929 |
if test A"$LIBICONV" = ANONE ; then
|
4452 |
if test A"$LIBICONV" = ANONE ; then
|
4930 |
LIBICONV=""
|
4453 |
LIBICONV=""
|
4931 |
fi
|
4454 |
fi
|
4932 |
#echo LIBICONV $LIBICONV
|
4455 |
#echo LIBICONV $LIBICONV
|
4933 |
#echo INCICONV $INCICONV
|
4456 |
#echo INCICONV $INCICONV
|
4934 |
|
4457 |
|
4935 |
CPPFLAGS="$CPPFLAGS $INCICONV"
|
4458 |
CPPFLAGS="$CPPFLAGS $INCICONV"
|
4936 |
{ $as_echo "$as_me:$LINENO: checking for type of inbuf parameter to iconv" >&5
|
4459 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of inbuf parameter to iconv" >&5
|
4937 |
$as_echo_n "checking for type of inbuf parameter to iconv... " >&6; }
|
4460 |
$as_echo_n "checking for type of inbuf parameter to iconv... " >&6; }
|
4938 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4939 |
/* confdefs.h. */
|
|
|
4940 |
_ACEOF
|
|
|
4941 |
cat confdefs.h >>conftest.$ac_ext
|
4461 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4942 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4943 |
/* end confdefs.h. */
|
4462 |
/* end confdefs.h. */
|
4944 |
|
4463 |
|
4945 |
#include <stddef.h>
|
4464 |
#include <stddef.h>
|
4946 |
#include <iconv.h>
|
4465 |
#include <iconv.h>
|
4947 |
|
4466 |
|
|
... |
|
... |
4953 |
|
4472 |
|
4954 |
;
|
4473 |
;
|
4955 |
return 0;
|
4474 |
return 0;
|
4956 |
}
|
4475 |
}
|
4957 |
_ACEOF
|
4476 |
_ACEOF
|
4958 |
rm -f conftest.$ac_objext
|
4477 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
4959 |
if { (ac_try="$ac_compile"
|
|
|
4960 |
case "(($ac_try" in
|
|
|
4961 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4962 |
*) ac_try_echo=$ac_try;;
|
|
|
4963 |
esac
|
|
|
4964 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
4965 |
$as_echo "$ac_try_echo") >&5
|
|
|
4966 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
4967 |
ac_status=$?
|
|
|
4968 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
4969 |
rm -f conftest.er1
|
|
|
4970 |
cat conftest.err >&5
|
|
|
4971 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4972 |
(exit $ac_status); } && {
|
|
|
4973 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
4974 |
test ! -s conftest.err
|
|
|
4975 |
} && test -s conftest.$ac_objext; then
|
|
|
4976 |
rcl_iconv_inbuf_const="1"
|
4478 |
rcl_iconv_inbuf_const="1"
|
4977 |
else
|
4479 |
else
|
4978 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
4979 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
4980 |
|
|
|
4981 |
rcl_iconv_inbuf_const="0"
|
4480 |
rcl_iconv_inbuf_const="0"
|
4982 |
fi
|
4481 |
fi
|
4983 |
|
|
|
4984 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4482 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4985 |
if test X$rcl_iconv_inbuf_const = X1 ; then
|
4483 |
if test X$rcl_iconv_inbuf_const = X1 ; then
|
4986 |
|
4484 |
|
4987 |
cat >>confdefs.h <<\_ACEOF
|
4485 |
$as_echo "#define RCL_ICONV_INBUF_CONST 1" >>confdefs.h
|
4988 |
#define RCL_ICONV_INBUF_CONST 1
|
|
|
4989 |
_ACEOF
|
|
|
4990 |
|
4486 |
|
4991 |
fi
|
4487 |
fi
|
4992 |
|
4488 |
|
4993 |
|
4489 |
|
4994 |
{ $as_echo "$as_me:$LINENO: checking for type of string parameter to putenv" >&5
|
4490 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of string parameter to putenv" >&5
|
4995 |
$as_echo_n "checking for type of string parameter to putenv... " >&6; }
|
4491 |
$as_echo_n "checking for type of string parameter to putenv... " >&6; }
|
4996 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4997 |
/* confdefs.h. */
|
|
|
4998 |
_ACEOF
|
|
|
4999 |
cat confdefs.h >>conftest.$ac_ext
|
4492 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5000 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5001 |
/* end confdefs.h. */
|
4493 |
/* end confdefs.h. */
|
5002 |
|
4494 |
|
5003 |
#include <stdlib.h>
|
4495 |
#include <stdlib.h>
|
5004 |
|
4496 |
|
5005 |
int
|
4497 |
int
|
|
... |
|
... |
5010 |
|
4502 |
|
5011 |
;
|
4503 |
;
|
5012 |
return 0;
|
4504 |
return 0;
|
5013 |
}
|
4505 |
}
|
5014 |
_ACEOF
|
4506 |
_ACEOF
|
5015 |
rm -f conftest.$ac_objext
|
4507 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
5016 |
if { (ac_try="$ac_compile"
|
|
|
5017 |
case "(($ac_try" in
|
|
|
5018 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5019 |
*) ac_try_echo=$ac_try;;
|
|
|
5020 |
esac
|
|
|
5021 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
5022 |
$as_echo "$ac_try_echo") >&5
|
|
|
5023 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
5024 |
ac_status=$?
|
|
|
5025 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5026 |
rm -f conftest.er1
|
|
|
5027 |
cat conftest.err >&5
|
|
|
5028 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
5029 |
(exit $ac_status); } && {
|
|
|
5030 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
5031 |
test ! -s conftest.err
|
|
|
5032 |
} && test -s conftest.$ac_objext; then
|
|
|
5033 |
rcl_putenv_string_const="1"
|
4508 |
rcl_putenv_string_const="1"
|
5034 |
else
|
4509 |
else
|
5035 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
5036 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5037 |
|
|
|
5038 |
rcl_putenv_string_const="0"
|
4510 |
rcl_putenv_string_const="0"
|
5039 |
fi
|
4511 |
fi
|
5040 |
|
|
|
5041 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4512 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5042 |
if test X$rcl_putenv_string_const = X1 ; then
|
4513 |
if test X$rcl_putenv_string_const = X1 ; then
|
5043 |
|
4514 |
|
5044 |
cat >>confdefs.h <<\_ACEOF
|
4515 |
$as_echo "#define PUTENV_ARG_CONST 1" >>confdefs.h
|
5045 |
#define PUTENV_ARG_CONST 1
|
|
|
5046 |
_ACEOF
|
|
|
5047 |
|
4516 |
|
5048 |
fi
|
4517 |
fi
|
5049 |
|
4518 |
|
5050 |
#### Look for Xapian
|
4519 |
#### Look for Xapian
|
5051 |
# Extract the first word of "xapian-config", so it can be a program name with args.
|
4520 |
# Extract the first word of "xapian-config", so it can be a program name with args.
|
5052 |
set dummy xapian-config; ac_word=$2
|
4521 |
set dummy xapian-config; ac_word=$2
|
5053 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4522 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5054 |
$as_echo_n "checking for $ac_word... " >&6; }
|
4523 |
$as_echo_n "checking for $ac_word... " >&6; }
|
5055 |
if test "${ac_cv_path_XAPIAN_CONFIG+set}" = set; then
|
4524 |
if test "${ac_cv_path_XAPIAN_CONFIG+set}" = set; then :
|
5056 |
$as_echo_n "(cached) " >&6
|
4525 |
$as_echo_n "(cached) " >&6
|
5057 |
else
|
4526 |
else
|
5058 |
case $XAPIAN_CONFIG in
|
4527 |
case $XAPIAN_CONFIG in
|
5059 |
[\\/]* | ?:[\\/]*)
|
4528 |
[\\/]* | ?:[\\/]*)
|
5060 |
ac_cv_path_XAPIAN_CONFIG="$XAPIAN_CONFIG" # Let the user override the test with a path.
|
4529 |
ac_cv_path_XAPIAN_CONFIG="$XAPIAN_CONFIG" # Let the user override the test with a path.
|
|
... |
|
... |
5063 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4532 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5064 |
for as_dir in $PATH
|
4533 |
for as_dir in $PATH
|
5065 |
do
|
4534 |
do
|
5066 |
IFS=$as_save_IFS
|
4535 |
IFS=$as_save_IFS
|
5067 |
test -z "$as_dir" && as_dir=.
|
4536 |
test -z "$as_dir" && as_dir=.
|
5068 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4537 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5069 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4538 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
5070 |
ac_cv_path_XAPIAN_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
4539 |
ac_cv_path_XAPIAN_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
5071 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4540 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5072 |
break 2
|
4541 |
break 2
|
5073 |
fi
|
4542 |
fi
|
5074 |
done
|
4543 |
done
|
5075 |
done
|
4544 |
done
|
5076 |
IFS=$as_save_IFS
|
4545 |
IFS=$as_save_IFS
|
5077 |
|
4546 |
|
5078 |
test -z "$ac_cv_path_XAPIAN_CONFIG" && ac_cv_path_XAPIAN_CONFIG="no"
|
4547 |
test -z "$ac_cv_path_XAPIAN_CONFIG" && ac_cv_path_XAPIAN_CONFIG="no"
|
5079 |
;;
|
4548 |
;;
|
5080 |
esac
|
4549 |
esac
|
5081 |
fi
|
4550 |
fi
|
5082 |
XAPIAN_CONFIG=$ac_cv_path_XAPIAN_CONFIG
|
4551 |
XAPIAN_CONFIG=$ac_cv_path_XAPIAN_CONFIG
|
5083 |
if test -n "$XAPIAN_CONFIG"; then
|
4552 |
if test -n "$XAPIAN_CONFIG"; then
|
5084 |
{ $as_echo "$as_me:$LINENO: result: $XAPIAN_CONFIG" >&5
|
4553 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAPIAN_CONFIG" >&5
|
5085 |
$as_echo "$XAPIAN_CONFIG" >&6; }
|
4554 |
$as_echo "$XAPIAN_CONFIG" >&6; }
|
5086 |
else
|
4555 |
else
|
5087 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
4556 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5088 |
$as_echo "no" >&6; }
|
4557 |
$as_echo "no" >&6; }
|
5089 |
fi
|
4558 |
fi
|
5090 |
|
4559 |
|
5091 |
|
4560 |
|
5092 |
if test "$XAPIAN_CONFIG" = "no" ; then
|
4561 |
if test "$XAPIAN_CONFIG" = "no" ; then
|
5093 |
{ { $as_echo "$as_me:$LINENO: error: Cannot find xapian-config command in $PATH. Is
|
4562 |
as_fn_error $? "Cannot find xapian-config command in $PATH. Is
|
5094 |
xapian-core installed ?" >&5
|
4563 |
xapian-core installed ?" "$LINENO" 5
|
5095 |
$as_echo "$as_me: error: Cannot find xapian-config command in $PATH. Is
|
|
|
5096 |
xapian-core installed ?" >&2;}
|
|
|
5097 |
{ (exit 1); exit 1; }; }
|
|
|
5098 |
exit 1
|
4564 |
exit 1
|
5099 |
fi
|
4565 |
fi
|
5100 |
LIBXAPIAN=`$XAPIAN_CONFIG --libs`
|
4566 |
LIBXAPIAN=`$XAPIAN_CONFIG --libs`
|
|
|
4567 |
# The --static thing fails with older Xapians. Happily enough they don't
|
|
|
4568 |
# need it either (because there are no needed libraries (no uuid and we
|
|
|
4569 |
# deal explicitely with libz)
|
|
|
4570 |
LIBXAPIANSTATICEXTRA=`$XAPIAN_CONFIG --static --libs 2> /dev/null`
|
5101 |
# Workaround for problem in xapian-config in some versions: wrongly lists
|
4571 |
# Workaround for problem in xapian-config in some versions: wrongly lists
|
5102 |
# libstdc++.la in the lib list
|
4572 |
# libstdc++.la in the lib list
|
5103 |
for i in $LIBXAPIAN ; do
|
4573 |
for i in $LIBXAPIAN ; do
|
5104 |
case $i in
|
4574 |
case $i in
|
5105 |
*stdc++*|-lm|-lgcc_s|-lc);;
|
4575 |
*stdc++*|-lm|-lgcc_s|-lc);;
|
|
... |
|
... |
5111 |
LIBXAPIAN="$LIBXAPIAN -lz"
|
4581 |
LIBXAPIAN="$LIBXAPIAN -lz"
|
5112 |
XAPIANCXXFLAGS=`$XAPIAN_CONFIG --cxxflags`
|
4582 |
XAPIANCXXFLAGS=`$XAPIAN_CONFIG --cxxflags`
|
5113 |
|
4583 |
|
5114 |
#echo XAPIAN_CONFIG: $XAPIAN_CONFIG
|
4584 |
#echo XAPIAN_CONFIG: $XAPIAN_CONFIG
|
5115 |
#echo LIBXAPIAN: $LIBXAPIAN
|
4585 |
#echo LIBXAPIAN: $LIBXAPIAN
|
|
|
4586 |
#echo LIBXAPIANSTATICEXTRA: $LIBXAPIANSTATICEXTRA
|
5116 |
#echo XAPIANCXXFLAGS: $XAPIANCXXFLAGS
|
4587 |
#echo XAPIANCXXFLAGS: $XAPIANCXXFLAGS
|
5117 |
|
4588 |
|
5118 |
#### QT
|
4589 |
#### QT
|
5119 |
# The way qt and its tools (qmake especially) are installed is very
|
4590 |
# The way qt and its tools (qmake especially) are installed is very
|
5120 |
# different between systems (and maybe qt versions)
|
4591 |
# different between systems (and maybe qt versions)
|
|
... |
|
... |
5135 |
# mkspecs directory, so that QMAKESPEC is not needed.
|
4606 |
# mkspecs directory, so that QMAKESPEC is not needed.
|
5136 |
# If QMAKESPEC is not set and needed, the qmake test at the previous test
|
4607 |
# If QMAKESPEC is not set and needed, the qmake test at the previous test
|
5137 |
# will have failed, and we tell the user to check his environment.
|
4608 |
# will have failed, and we tell the user to check his environment.
|
5138 |
#
|
4609 |
#
|
5139 |
# Check whether --enable-qtgui was given.
|
4610 |
# Check whether --enable-qtgui was given.
|
5140 |
if test "${enable_qtgui+set}" = set; then
|
4611 |
if test "${enable_qtgui+set}" = set; then :
|
5141 |
enableval=$enable_qtgui; enableQT=$enableval
|
4612 |
enableval=$enable_qtgui; enableQT=$enableval
|
5142 |
else
|
4613 |
else
|
5143 |
enableQT="yes"
|
4614 |
enableQT="yes"
|
5144 |
fi
|
4615 |
fi
|
5145 |
|
4616 |
|
|
... |
|
... |
5157 |
fi
|
4628 |
fi
|
5158 |
|
4629 |
|
5159 |
if test X$QMAKE = X ; then
|
4630 |
if test X$QMAKE = X ; then
|
5160 |
QMAKE=qmake
|
4631 |
QMAKE=qmake
|
5161 |
fi
|
4632 |
fi
|
5162 |
|
4633 |
case $QMAKE in
|
|
|
4634 |
*/*) QMAKEPATH=$QMAKE;;
|
5163 |
# Extract the first word of "$QMAKE", so it can be a program name with args.
|
4635 |
*) # Extract the first word of "$QMAKE", so it can be a program name with args.
|
5164 |
set dummy $QMAKE; ac_word=$2
|
4636 |
set dummy $QMAKE; ac_word=$2
|
5165 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4637 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5166 |
$as_echo_n "checking for $ac_word... " >&6; }
|
4638 |
$as_echo_n "checking for $ac_word... " >&6; }
|
5167 |
if test "${ac_cv_path_QMAKEPATH+set}" = set; then
|
4639 |
if test "${ac_cv_path_QMAKEPATH+set}" = set; then :
|
5168 |
$as_echo_n "(cached) " >&6
|
4640 |
$as_echo_n "(cached) " >&6
|
5169 |
else
|
4641 |
else
|
5170 |
case $QMAKEPATH in
|
4642 |
case $QMAKEPATH in
|
5171 |
[\\/]* | ?:[\\/]*)
|
4643 |
[\\/]* | ?:[\\/]*)
|
5172 |
ac_cv_path_QMAKEPATH="$QMAKEPATH" # Let the user override the test with a path.
|
4644 |
ac_cv_path_QMAKEPATH="$QMAKEPATH" # Let the user override the test with a path.
|
|
... |
|
... |
5175 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4647 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5176 |
for as_dir in $PATH
|
4648 |
for as_dir in $PATH
|
5177 |
do
|
4649 |
do
|
5178 |
IFS=$as_save_IFS
|
4650 |
IFS=$as_save_IFS
|
5179 |
test -z "$as_dir" && as_dir=.
|
4651 |
test -z "$as_dir" && as_dir=.
|
5180 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4652 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5181 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4653 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
5182 |
ac_cv_path_QMAKEPATH="$as_dir/$ac_word$ac_exec_ext"
|
4654 |
ac_cv_path_QMAKEPATH="$as_dir/$ac_word$ac_exec_ext"
|
5183 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4655 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5184 |
break 2
|
4656 |
break 2
|
5185 |
fi
|
4657 |
fi
|
5186 |
done
|
4658 |
done
|
5187 |
done
|
4659 |
done
|
5188 |
IFS=$as_save_IFS
|
4660 |
IFS=$as_save_IFS
|
5189 |
|
4661 |
|
5190 |
test -z "$ac_cv_path_QMAKEPATH" && ac_cv_path_QMAKEPATH="NOTFOUND"
|
4662 |
test -z "$ac_cv_path_QMAKEPATH" && ac_cv_path_QMAKEPATH="NOTFOUND"
|
5191 |
;;
|
4663 |
;;
|
5192 |
esac
|
4664 |
esac
|
5193 |
fi
|
4665 |
fi
|
5194 |
QMAKEPATH=$ac_cv_path_QMAKEPATH
|
4666 |
QMAKEPATH=$ac_cv_path_QMAKEPATH
|
5195 |
if test -n "$QMAKEPATH"; then
|
4667 |
if test -n "$QMAKEPATH"; then
|
5196 |
{ $as_echo "$as_me:$LINENO: result: $QMAKEPATH" >&5
|
4668 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKEPATH" >&5
|
5197 |
$as_echo "$QMAKEPATH" >&6; }
|
4669 |
$as_echo "$QMAKEPATH" >&6; }
|
5198 |
else
|
4670 |
else
|
5199 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
4671 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5200 |
$as_echo "no" >&6; }
|
4672 |
$as_echo "no" >&6; }
|
5201 |
fi
|
4673 |
fi
|
5202 |
|
4674 |
|
|
|
4675 |
;;
|
|
|
4676 |
esac
|
5203 |
|
4677 |
|
5204 |
if test X$QMAKEPATH = XNOTFOUND ; then
|
4678 |
if test X$QMAKEPATH = XNOTFOUND ; then
|
5205 |
{ { $as_echo "$as_me:$LINENO: error: Cannot find the qmake program. Maybe you need to install
|
4679 |
as_fn_error $? "Cannot find the qmake program. Maybe you need to install
|
5206 |
qt development files and tools and/or set the QTDIR environment variable?" >&5
|
4680 |
qt development files and tools and/or set the QTDIR environment variable?" "$LINENO" 5
|
5207 |
$as_echo "$as_me: error: Cannot find the qmake program. Maybe you need to install
|
|
|
5208 |
qt development files and tools and/or set the QTDIR environment variable?" >&2;}
|
|
|
5209 |
{ (exit 1); exit 1; }; }
|
|
|
5210 |
fi
|
4681 |
fi
|
5211 |
QMAKE=$QMAKEPATH
|
4682 |
QMAKE=$QMAKEPATH
|
5212 |
|
4683 |
|
5213 |
# MAC OS X: we don't support this (the native search tool is more than
|
4684 |
# MAC OS X: we don't support this (the native search tool is more than
|
5214 |
# good enough), but we make things work just enough so that the program can
|
4685 |
# good enough), but we make things work just enough so that the program can
|
|
... |
|
... |
5223 |
# depend on this. We try to detect the qt 4 version string instead.
|
4694 |
# depend on this. We try to detect the qt 4 version string instead.
|
5224 |
qmakevers="`${QMAKE} --version 2>&1`"
|
4695 |
qmakevers="`${QMAKE} --version 2>&1`"
|
5225 |
#echo "qmake version: $qmakevers"
|
4696 |
#echo "qmake version: $qmakevers"
|
5226 |
v4=`expr "$qmakevers" : '.*Qt *version *4.*'`
|
4697 |
v4=`expr "$qmakevers" : '.*Qt *version *4.*'`
|
5227 |
if test X$v4 = X0 ; then
|
4698 |
if test X$v4 = X0 ; then
|
5228 |
{ $as_echo "$as_me:$LINENO: using qt version 3 user interface" >&5
|
4699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: using qt version 3 user interface" >&5
|
5229 |
$as_echo "$as_me: using qt version 3 user interface" >&6;}
|
4700 |
$as_echo "$as_me: using qt version 3 user interface" >&6;}
|
5230 |
QTGUI=qtgui
|
4701 |
QTGUI=qtgui
|
5231 |
else
|
4702 |
else
|
5232 |
{ $as_echo "$as_me:$LINENO: using qt version 4 user interface" >&5
|
4703 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: using qt version 4 user interface" >&5
|
5233 |
$as_echo "$as_me: using qt version 4 user interface" >&6;}
|
4704 |
$as_echo "$as_me: using qt version 4 user interface" >&6;}
|
5234 |
QTGUI=qt4gui
|
4705 |
QTGUI=qt4gui
|
5235 |
# Extract the first word of "uic3", so it can be a program name with args.
|
4706 |
# Extract the first word of "uic3", so it can be a program name with args.
|
5236 |
set dummy uic3; ac_word=$2
|
4707 |
set dummy uic3; ac_word=$2
|
5237 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4708 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5238 |
$as_echo_n "checking for $ac_word... " >&6; }
|
4709 |
$as_echo_n "checking for $ac_word... " >&6; }
|
5239 |
if test "${ac_cv_path_UIC3+set}" = set; then
|
4710 |
if test "${ac_cv_path_UIC3+set}" = set; then :
|
5240 |
$as_echo_n "(cached) " >&6
|
4711 |
$as_echo_n "(cached) " >&6
|
5241 |
else
|
4712 |
else
|
5242 |
case $UIC3 in
|
4713 |
case $UIC3 in
|
5243 |
[\\/]* | ?:[\\/]*)
|
4714 |
[\\/]* | ?:[\\/]*)
|
5244 |
ac_cv_path_UIC3="$UIC3" # Let the user override the test with a path.
|
4715 |
ac_cv_path_UIC3="$UIC3" # Let the user override the test with a path.
|
|
... |
|
... |
5247 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4718 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5248 |
for as_dir in $PATH
|
4719 |
for as_dir in $PATH
|
5249 |
do
|
4720 |
do
|
5250 |
IFS=$as_save_IFS
|
4721 |
IFS=$as_save_IFS
|
5251 |
test -z "$as_dir" && as_dir=.
|
4722 |
test -z "$as_dir" && as_dir=.
|
5252 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4723 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5253 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4724 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
5254 |
ac_cv_path_UIC3="$as_dir/$ac_word$ac_exec_ext"
|
4725 |
ac_cv_path_UIC3="$as_dir/$ac_word$ac_exec_ext"
|
5255 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4726 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5256 |
break 2
|
4727 |
break 2
|
5257 |
fi
|
4728 |
fi
|
5258 |
done
|
4729 |
done
|
5259 |
done
|
4730 |
done
|
5260 |
IFS=$as_save_IFS
|
4731 |
IFS=$as_save_IFS
|
5261 |
|
4732 |
|
5262 |
test -z "$ac_cv_path_UIC3" && ac_cv_path_UIC3="NOTFOUND"
|
4733 |
test -z "$ac_cv_path_UIC3" && ac_cv_path_UIC3="NOTFOUND"
|
5263 |
;;
|
4734 |
;;
|
5264 |
esac
|
4735 |
esac
|
5265 |
fi
|
4736 |
fi
|
5266 |
UIC3=$ac_cv_path_UIC3
|
4737 |
UIC3=$ac_cv_path_UIC3
|
5267 |
if test -n "$UIC3"; then
|
4738 |
if test -n "$UIC3"; then
|
5268 |
{ $as_echo "$as_me:$LINENO: result: $UIC3" >&5
|
4739 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $UIC3" >&5
|
5269 |
$as_echo "$UIC3" >&6; }
|
4740 |
$as_echo "$UIC3" >&6; }
|
5270 |
else
|
4741 |
else
|
5271 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
4742 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5272 |
$as_echo "no" >&6; }
|
4743 |
$as_echo "no" >&6; }
|
5273 |
fi
|
4744 |
fi
|
5274 |
|
4745 |
|
5275 |
|
4746 |
|
5276 |
if test X$UIC3 = XNOTFOUND ; then
|
4747 |
if test X$UIC3 = XNOTFOUND ; then
|
5277 |
{ { $as_echo "$as_me:$LINENO: error: Cannot find the uic3 program. Maybe you need to add
|
4748 |
as_fn_error $? "Cannot find the uic3 program. Maybe you need to add
|
5278 |
the qt3 compatibility libraries and tools to your qt4 installation ?" >&5
|
4749 |
the qt3 compatibility libraries and tools to your qt4 installation ?" "$LINENO" 5
|
5279 |
$as_echo "$as_me: error: Cannot find the uic3 program. Maybe you need to add
|
|
|
5280 |
the qt3 compatibility libraries and tools to your qt4 installation ?" >&2;}
|
|
|
5281 |
{ (exit 1); exit 1; }; }
|
|
|
5282 |
fi
|
4750 |
fi
|
5283 |
fi
|
4751 |
fi
|
5284 |
|
4752 |
|
5285 |
cd $QTGUI
|
4753 |
cd $QTGUI
|
5286 |
# We just want a .pro file: no problem with unsubstituted variables at
|
4754 |
# We just want a .pro file: no problem with unsubstituted variables at
|
|
... |
|
... |
5289 |
test -f recoll.pro && chmod +w recoll.pro
|
4757 |
test -f recoll.pro && chmod +w recoll.pro
|
5290 |
cp recoll.pro.in recoll.pro
|
4758 |
cp recoll.pro.in recoll.pro
|
5291 |
#echo QMAKE ${QMAKE}
|
4759 |
#echo QMAKE ${QMAKE}
|
5292 |
${QMAKE} recoll.pro
|
4760 |
${QMAKE} recoll.pro
|
5293 |
if test $? != 0 ; then
|
4761 |
if test $? != 0 ; then
|
5294 |
{ { $as_echo "$as_me:$LINENO: error: Cannot use qmake to generate a Makefile. Maybe you need to
|
4762 |
as_fn_error $? "Cannot use qmake to generate a Makefile. Maybe you need to
|
5295 |
check the QTDIR and QMAKESPEC environment variables?" >&5
|
4763 |
check the QTDIR and QMAKESPEC environment variables?" "$LINENO" 5
|
5296 |
$as_echo "$as_me: error: Cannot use qmake to generate a Makefile. Maybe you need to
|
|
|
5297 |
check the QTDIR and QMAKESPEC environment variables?" >&2;}
|
|
|
5298 |
{ (exit 1); exit 1; }; }
|
|
|
5299 |
fi
|
4764 |
fi
|
5300 |
# is QTDIR set and do we actually need it ?
|
4765 |
# is QTDIR set and do we actually need it ?
|
5301 |
if test X$QTDIR = X ; then
|
4766 |
if test X$QTDIR = X ; then
|
5302 |
QTDIRNEEDED=`grep INCPATH Makefile | grep = | grep QTDIR`
|
4767 |
QTDIRNEEDED=`grep INCPATH Makefile | grep = | grep QTDIR`
|
5303 |
if test "X$QTDIRNEEDED" != "X" ; then
|
4768 |
if test "X$QTDIRNEEDED" != "X" ; then
|
5304 |
{ { $as_echo "$as_me:$LINENO: error: You need to set the QTDIR variable to point to the QT
|
4769 |
as_fn_error $? "You need to set the QTDIR variable to point to the QT
|
5305 |
installation. If there is no default mkspecs, you should also set QMAKESPEC" >&5
|
4770 |
installation. If there is no default mkspecs, you should also set QMAKESPEC" "$LINENO" 5
|
5306 |
$as_echo "$as_me: error: You need to set the QTDIR variable to point to the QT
|
|
|
5307 |
installation. If there is no default mkspecs, you should also set QMAKESPEC" >&2;}
|
|
|
5308 |
{ (exit 1); exit 1; }; }
|
|
|
5309 |
fi
|
4771 |
fi
|
5310 |
fi
|
4772 |
fi
|
5311 |
cd ..
|
4773 |
cd ..
|
5312 |
|
4774 |
|
5313 |
ac_config_files="$ac_config_files $QTGUI/recoll.pro"
|
4775 |
ac_config_files="$ac_config_files $QTGUI/recoll.pro"
|
|
... |
|
... |
5316 |
fi
|
4778 |
fi
|
5317 |
|
4779 |
|
5318 |
|
4780 |
|
5319 |
### X11: this is needed for the session monitoring code (in recollindex -m)
|
4781 |
### X11: this is needed for the session monitoring code (in recollindex -m)
|
5320 |
# Check whether --enable-x11mon was given.
|
4782 |
# Check whether --enable-x11mon was given.
|
5321 |
if test "${enable_x11mon+set}" = set; then
|
4783 |
if test "${enable_x11mon+set}" = set; then :
|
5322 |
enableval=$enable_x11mon; enableX11mon=$enableval
|
4784 |
enableval=$enable_x11mon; enableX11mon=$enableval
|
5323 |
else
|
4785 |
else
|
5324 |
enableX11mon="yes"
|
4786 |
enableX11mon="yes"
|
5325 |
fi
|
4787 |
fi
|
5326 |
|
4788 |
|
|
... |
|
... |
5333 |
ac_ext=cpp
|
4795 |
ac_ext=cpp
|
5334 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
4796 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
5335 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4797 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
5336 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4798 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
5337 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
4799 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
5338 |
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
|
4800 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
|
5339 |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
|
4801 |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
|
5340 |
if test -z "$CXXCPP"; then
|
4802 |
if test -z "$CXXCPP"; then
|
5341 |
if test "${ac_cv_prog_CXXCPP+set}" = set; then
|
4803 |
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
|
5342 |
$as_echo_n "(cached) " >&6
|
4804 |
$as_echo_n "(cached) " >&6
|
5343 |
else
|
4805 |
else
|
5344 |
# Double quotes because CXXCPP needs to be expanded
|
4806 |
# Double quotes because CXXCPP needs to be expanded
|
5345 |
for CXXCPP in "$CXX -E" "/lib/cpp"
|
4807 |
for CXXCPP in "$CXX -E" "/lib/cpp"
|
5346 |
do
|
4808 |
do
|
|
... |
|
... |
5351 |
# with a fresh cross-compiler works.
|
4813 |
# with a fresh cross-compiler works.
|
5352 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
4814 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
5353 |
# <limits.h> exists even on freestanding compilers.
|
4815 |
# <limits.h> exists even on freestanding compilers.
|
5354 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4816 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
5355 |
# not just through cpp. "Syntax error" is here to catch this case.
|
4817 |
# not just through cpp. "Syntax error" is here to catch this case.
|
5356 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
5357 |
/* confdefs.h. */
|
|
|
5358 |
_ACEOF
|
|
|
5359 |
cat confdefs.h >>conftest.$ac_ext
|
4818 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5360 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5361 |
/* end confdefs.h. */
|
4819 |
/* end confdefs.h. */
|
5362 |
#ifdef __STDC__
|
4820 |
#ifdef __STDC__
|
5363 |
# include <limits.h>
|
4821 |
# include <limits.h>
|
5364 |
#else
|
4822 |
#else
|
5365 |
# include <assert.h>
|
4823 |
# include <assert.h>
|
5366 |
#endif
|
4824 |
#endif
|
5367 |
Syntax error
|
4825 |
Syntax error
|
5368 |
_ACEOF
|
4826 |
_ACEOF
|
5369 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4827 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
5370 |
case "(($ac_try" in
|
|
|
5371 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5372 |
*) ac_try_echo=$ac_try;;
|
|
|
5373 |
esac
|
|
|
5374 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
5375 |
$as_echo "$ac_try_echo") >&5
|
|
|
5376 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
5377 |
ac_status=$?
|
|
|
5378 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5379 |
rm -f conftest.er1
|
|
|
5380 |
cat conftest.err >&5
|
|
|
5381 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
5382 |
(exit $ac_status); } >/dev/null && {
|
|
|
5383 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
|
|
5384 |
test ! -s conftest.err
|
|
|
5385 |
}; then
|
|
|
5386 |
:
|
|
|
5387 |
else
|
|
|
5388 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
5389 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5390 |
|
4828 |
|
|
|
4829 |
else
|
5391 |
# Broken: fails on valid input.
|
4830 |
# Broken: fails on valid input.
|
5392 |
continue
|
4831 |
continue
|
5393 |
fi
|
4832 |
fi
|
5394 |
|
|
|
5395 |
rm -f conftest.err conftest.$ac_ext
|
4833 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5396 |
|
4834 |
|
5397 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4835 |
# OK, works on sane cases. Now check whether nonexistent headers
|
5398 |
# can be detected and how.
|
4836 |
# can be detected and how.
|
5399 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
5400 |
/* confdefs.h. */
|
|
|
5401 |
_ACEOF
|
|
|
5402 |
cat confdefs.h >>conftest.$ac_ext
|
4837 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5403 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5404 |
/* end confdefs.h. */
|
4838 |
/* end confdefs.h. */
|
5405 |
#include <ac_nonexistent.h>
|
4839 |
#include <ac_nonexistent.h>
|
5406 |
_ACEOF
|
4840 |
_ACEOF
|
5407 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4841 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
5408 |
case "(($ac_try" in
|
|
|
5409 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5410 |
*) ac_try_echo=$ac_try;;
|
|
|
5411 |
esac
|
|
|
5412 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
5413 |
$as_echo "$ac_try_echo") >&5
|
|
|
5414 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
5415 |
ac_status=$?
|
|
|
5416 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5417 |
rm -f conftest.er1
|
|
|
5418 |
cat conftest.err >&5
|
|
|
5419 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
5420 |
(exit $ac_status); } >/dev/null && {
|
|
|
5421 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
|
|
5422 |
test ! -s conftest.err
|
|
|
5423 |
}; then
|
|
|
5424 |
# Broken: success on invalid input.
|
4842 |
# Broken: success on invalid input.
|
5425 |
continue
|
4843 |
continue
|
5426 |
else
|
4844 |
else
|
5427 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
5428 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5429 |
|
|
|
5430 |
# Passes both tests.
|
4845 |
# Passes both tests.
|
5431 |
ac_preproc_ok=:
|
4846 |
ac_preproc_ok=:
|
5432 |
break
|
4847 |
break
|
5433 |
fi
|
4848 |
fi
|
5434 |
|
|
|
5435 |
rm -f conftest.err conftest.$ac_ext
|
4849 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5436 |
|
4850 |
|
5437 |
done
|
4851 |
done
|
5438 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4852 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
5439 |
rm -f conftest.err conftest.$ac_ext
|
4853 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
5440 |
if $ac_preproc_ok; then
|
4854 |
if $ac_preproc_ok; then :
|
5441 |
break
|
4855 |
break
|
5442 |
fi
|
4856 |
fi
|
5443 |
|
4857 |
|
5444 |
done
|
4858 |
done
|
5445 |
ac_cv_prog_CXXCPP=$CXXCPP
|
4859 |
ac_cv_prog_CXXCPP=$CXXCPP
|
|
... |
|
... |
5447 |
fi
|
4861 |
fi
|
5448 |
CXXCPP=$ac_cv_prog_CXXCPP
|
4862 |
CXXCPP=$ac_cv_prog_CXXCPP
|
5449 |
else
|
4863 |
else
|
5450 |
ac_cv_prog_CXXCPP=$CXXCPP
|
4864 |
ac_cv_prog_CXXCPP=$CXXCPP
|
5451 |
fi
|
4865 |
fi
|
5452 |
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
|
4866 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
|
5453 |
$as_echo "$CXXCPP" >&6; }
|
4867 |
$as_echo "$CXXCPP" >&6; }
|
5454 |
ac_preproc_ok=false
|
4868 |
ac_preproc_ok=false
|
5455 |
for ac_cxx_preproc_warn_flag in '' yes
|
4869 |
for ac_cxx_preproc_warn_flag in '' yes
|
5456 |
do
|
4870 |
do
|
5457 |
# Use a header file that comes with gcc, so configuring glibc
|
4871 |
# Use a header file that comes with gcc, so configuring glibc
|
5458 |
# with a fresh cross-compiler works.
|
4872 |
# with a fresh cross-compiler works.
|
5459 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
4873 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
5460 |
# <limits.h> exists even on freestanding compilers.
|
4874 |
# <limits.h> exists even on freestanding compilers.
|
5461 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4875 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
5462 |
# not just through cpp. "Syntax error" is here to catch this case.
|
4876 |
# not just through cpp. "Syntax error" is here to catch this case.
|
5463 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
5464 |
/* confdefs.h. */
|
|
|
5465 |
_ACEOF
|
|
|
5466 |
cat confdefs.h >>conftest.$ac_ext
|
4877 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5467 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5468 |
/* end confdefs.h. */
|
4878 |
/* end confdefs.h. */
|
5469 |
#ifdef __STDC__
|
4879 |
#ifdef __STDC__
|
5470 |
# include <limits.h>
|
4880 |
# include <limits.h>
|
5471 |
#else
|
4881 |
#else
|
5472 |
# include <assert.h>
|
4882 |
# include <assert.h>
|
5473 |
#endif
|
4883 |
#endif
|
5474 |
Syntax error
|
4884 |
Syntax error
|
5475 |
_ACEOF
|
4885 |
_ACEOF
|
5476 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4886 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
5477 |
case "(($ac_try" in
|
|
|
5478 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5479 |
*) ac_try_echo=$ac_try;;
|
|
|
5480 |
esac
|
|
|
5481 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
5482 |
$as_echo "$ac_try_echo") >&5
|
|
|
5483 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
5484 |
ac_status=$?
|
|
|
5485 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5486 |
rm -f conftest.er1
|
|
|
5487 |
cat conftest.err >&5
|
|
|
5488 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
5489 |
(exit $ac_status); } >/dev/null && {
|
|
|
5490 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
|
|
5491 |
test ! -s conftest.err
|
|
|
5492 |
}; then
|
|
|
5493 |
:
|
|
|
5494 |
else
|
|
|
5495 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
5496 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5497 |
|
4887 |
|
|
|
4888 |
else
|
5498 |
# Broken: fails on valid input.
|
4889 |
# Broken: fails on valid input.
|
5499 |
continue
|
4890 |
continue
|
5500 |
fi
|
4891 |
fi
|
5501 |
|
|
|
5502 |
rm -f conftest.err conftest.$ac_ext
|
4892 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5503 |
|
4893 |
|
5504 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4894 |
# OK, works on sane cases. Now check whether nonexistent headers
|
5505 |
# can be detected and how.
|
4895 |
# can be detected and how.
|
5506 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
5507 |
/* confdefs.h. */
|
|
|
5508 |
_ACEOF
|
|
|
5509 |
cat confdefs.h >>conftest.$ac_ext
|
4896 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5510 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5511 |
/* end confdefs.h. */
|
4897 |
/* end confdefs.h. */
|
5512 |
#include <ac_nonexistent.h>
|
4898 |
#include <ac_nonexistent.h>
|
5513 |
_ACEOF
|
4899 |
_ACEOF
|
5514 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4900 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
5515 |
case "(($ac_try" in
|
|
|
5516 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5517 |
*) ac_try_echo=$ac_try;;
|
|
|
5518 |
esac
|
|
|
5519 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
5520 |
$as_echo "$ac_try_echo") >&5
|
|
|
5521 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
5522 |
ac_status=$?
|
|
|
5523 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5524 |
rm -f conftest.er1
|
|
|
5525 |
cat conftest.err >&5
|
|
|
5526 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
5527 |
(exit $ac_status); } >/dev/null && {
|
|
|
5528 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
|
|
5529 |
test ! -s conftest.err
|
|
|
5530 |
}; then
|
|
|
5531 |
# Broken: success on invalid input.
|
4901 |
# Broken: success on invalid input.
|
5532 |
continue
|
4902 |
continue
|
5533 |
else
|
4903 |
else
|
5534 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
5535 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5536 |
|
|
|
5537 |
# Passes both tests.
|
4904 |
# Passes both tests.
|
5538 |
ac_preproc_ok=:
|
4905 |
ac_preproc_ok=:
|
5539 |
break
|
4906 |
break
|
5540 |
fi
|
4907 |
fi
|
5541 |
|
|
|
5542 |
rm -f conftest.err conftest.$ac_ext
|
4908 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5543 |
|
4909 |
|
5544 |
done
|
4910 |
done
|
5545 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4911 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
5546 |
rm -f conftest.err conftest.$ac_ext
|
4912 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
5547 |
if $ac_preproc_ok; then
|
4913 |
if $ac_preproc_ok; then :
|
5548 |
:
|
4914 |
|
5549 |
else
|
4915 |
else
|
5550 |
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
|
4916 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
5551 |
See \`config.log' for more details." >&5
|
4917 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
5552 |
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
|
4918 |
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
|
5553 |
See \`config.log' for more details." >&2;}
|
4919 |
See \`config.log' for more details" "$LINENO" 5; }
|
5554 |
{ (exit 1); exit 1; }; }
|
|
|
5555 |
fi
|
4920 |
fi
|
5556 |
|
4921 |
|
5557 |
ac_ext=cpp
|
4922 |
ac_ext=cpp
|
5558 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
4923 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
5559 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4924 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
5560 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4925 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
5561 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
4926 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
5562 |
|
4927 |
|
5563 |
|
4928 |
|
5564 |
{ $as_echo "$as_me:$LINENO: checking for X" >&5
|
4929 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
|
5565 |
$as_echo_n "checking for X... " >&6; }
|
4930 |
$as_echo_n "checking for X... " >&6; }
|
5566 |
|
4931 |
|
5567 |
|
4932 |
|
5568 |
# Check whether --with-x was given.
|
4933 |
# Check whether --with-x was given.
|
5569 |
if test "${with_x+set}" = set; then
|
4934 |
if test "${with_x+set}" = set; then :
|
5570 |
withval=$with_x;
|
4935 |
withval=$with_x;
|
5571 |
fi
|
4936 |
fi
|
5572 |
|
4937 |
|
5573 |
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
|
4938 |
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
|
5574 |
if test "x$with_x" = xno; then
|
4939 |
if test "x$with_x" = xno; then
|
5575 |
# The user explicitly disabled X.
|
4940 |
# The user explicitly disabled X.
|
5576 |
have_x=disabled
|
4941 |
have_x=disabled
|
5577 |
else
|
4942 |
else
|
5578 |
case $x_includes,$x_libraries in #(
|
4943 |
case $x_includes,$x_libraries in #(
|
5579 |
*\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
|
4944 |
*\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
|
5580 |
$as_echo "$as_me: error: Cannot use X directory names containing '" >&2;}
|
|
|
5581 |
{ (exit 1); exit 1; }; };; #(
|
|
|
5582 |
*,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
|
4945 |
*,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
|
5583 |
$as_echo_n "(cached) " >&6
|
4946 |
$as_echo_n "(cached) " >&6
|
5584 |
else
|
4947 |
else
|
5585 |
# One or both of the vars are not set, and there is no cached value.
|
4948 |
# One or both of the vars are not set, and there is no cached value.
|
5586 |
ac_x_includes=no ac_x_libraries=no
|
4949 |
ac_x_includes=no ac_x_libraries=no
|
5587 |
rm -f -r conftest.dir
|
4950 |
rm -f -r conftest.dir
|
|
... |
|
... |
5594 |
@echo usrlibdir='${USRLIBDIR}'
|
4957 |
@echo usrlibdir='${USRLIBDIR}'
|
5595 |
libdir:
|
4958 |
libdir:
|
5596 |
@echo libdir='${LIBDIR}'
|
4959 |
@echo libdir='${LIBDIR}'
|
5597 |
_ACEOF
|
4960 |
_ACEOF
|
5598 |
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
|
4961 |
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
|
5599 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
4962 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
5600 |
for ac_var in incroot usrlibdir libdir; do
|
4963 |
for ac_var in incroot usrlibdir libdir; do
|
5601 |
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
|
4964 |
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
|
5602 |
done
|
4965 |
done
|
5603 |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
|
4966 |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
|
5604 |
for ac_extension in a so sl dylib la dll; do
|
4967 |
for ac_extension in a so sl dylib la dll; do
|
|
... |
|
... |
5613 |
case $ac_im_incroot in
|
4976 |
case $ac_im_incroot in
|
5614 |
/usr/include) ac_x_includes= ;;
|
4977 |
/usr/include) ac_x_includes= ;;
|
5615 |
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
|
4978 |
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
|
5616 |
esac
|
4979 |
esac
|
5617 |
case $ac_im_usrlibdir in
|
4980 |
case $ac_im_usrlibdir in
|
5618 |
/usr/lib | /lib) ;;
|
4981 |
/usr/lib | /usr/lib64 | /lib | /lib64) ;;
|
5619 |
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
|
4982 |
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
|
5620 |
esac
|
4983 |
esac
|
5621 |
fi
|
4984 |
fi
|
5622 |
cd ..
|
4985 |
cd ..
|
5623 |
rm -f -r conftest.dir
|
4986 |
rm -f -r conftest.dir
|
|
... |
|
... |
5625 |
|
4988 |
|
5626 |
# Standard set of common directories for X headers.
|
4989 |
# Standard set of common directories for X headers.
|
5627 |
# Check X11 before X11Rn because it is often a symlink to the current release.
|
4990 |
# Check X11 before X11Rn because it is often a symlink to the current release.
|
5628 |
ac_x_header_dirs='
|
4991 |
ac_x_header_dirs='
|
5629 |
/usr/X11/include
|
4992 |
/usr/X11/include
|
|
|
4993 |
/usr/X11R7/include
|
5630 |
/usr/X11R6/include
|
4994 |
/usr/X11R6/include
|
5631 |
/usr/X11R5/include
|
4995 |
/usr/X11R5/include
|
5632 |
/usr/X11R4/include
|
4996 |
/usr/X11R4/include
|
5633 |
|
4997 |
|
5634 |
/usr/include/X11
|
4998 |
/usr/include/X11
|
|
|
4999 |
/usr/include/X11R7
|
5635 |
/usr/include/X11R6
|
5000 |
/usr/include/X11R6
|
5636 |
/usr/include/X11R5
|
5001 |
/usr/include/X11R5
|
5637 |
/usr/include/X11R4
|
5002 |
/usr/include/X11R4
|
5638 |
|
5003 |
|
5639 |
/usr/local/X11/include
|
5004 |
/usr/local/X11/include
|
|
|
5005 |
/usr/local/X11R7/include
|
5640 |
/usr/local/X11R6/include
|
5006 |
/usr/local/X11R6/include
|
5641 |
/usr/local/X11R5/include
|
5007 |
/usr/local/X11R5/include
|
5642 |
/usr/local/X11R4/include
|
5008 |
/usr/local/X11R4/include
|
5643 |
|
5009 |
|
5644 |
/usr/local/include/X11
|
5010 |
/usr/local/include/X11
|
|
|
5011 |
/usr/local/include/X11R7
|
5645 |
/usr/local/include/X11R6
|
5012 |
/usr/local/include/X11R6
|
5646 |
/usr/local/include/X11R5
|
5013 |
/usr/local/include/X11R5
|
5647 |
/usr/local/include/X11R4
|
5014 |
/usr/local/include/X11R4
|
5648 |
|
5015 |
|
5649 |
/usr/X386/include
|
5016 |
/usr/X386/include
|
|
... |
|
... |
5661 |
/usr/openwin/share/include'
|
5028 |
/usr/openwin/share/include'
|
5662 |
|
5029 |
|
5663 |
if test "$ac_x_includes" = no; then
|
5030 |
if test "$ac_x_includes" = no; then
|
5664 |
# Guess where to find include files, by looking for Xlib.h.
|
5031 |
# Guess where to find include files, by looking for Xlib.h.
|
5665 |
# First, try using that file with no special directory specified.
|
5032 |
# First, try using that file with no special directory specified.
|
5666 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
5667 |
/* confdefs.h. */
|
|
|
5668 |
_ACEOF
|
|
|
5669 |
cat confdefs.h >>conftest.$ac_ext
|
5033 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5670 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5671 |
/* end confdefs.h. */
|
5034 |
/* end confdefs.h. */
|
5672 |
#include <X11/Xlib.h>
|
5035 |
#include <X11/Xlib.h>
|
5673 |
_ACEOF
|
5036 |
_ACEOF
|
5674 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5037 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
5675 |
case "(($ac_try" in
|
|
|
5676 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5677 |
*) ac_try_echo=$ac_try;;
|
|
|
5678 |
esac
|
|
|
5679 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
5680 |
$as_echo "$ac_try_echo") >&5
|
|
|
5681 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
5682 |
ac_status=$?
|
|
|
5683 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5684 |
rm -f conftest.er1
|
|
|
5685 |
cat conftest.err >&5
|
|
|
5686 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
5687 |
(exit $ac_status); } >/dev/null && {
|
|
|
5688 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
|
|
5689 |
test ! -s conftest.err
|
|
|
5690 |
}; then
|
|
|
5691 |
# We can compile using X headers with no special include directory.
|
5038 |
# We can compile using X headers with no special include directory.
|
5692 |
ac_x_includes=
|
5039 |
ac_x_includes=
|
5693 |
else
|
5040 |
else
|
5694 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
5695 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5696 |
|
|
|
5697 |
for ac_dir in $ac_x_header_dirs; do
|
5041 |
for ac_dir in $ac_x_header_dirs; do
|
5698 |
if test -r "$ac_dir/X11/Xlib.h"; then
|
5042 |
if test -r "$ac_dir/X11/Xlib.h"; then
|
5699 |
ac_x_includes=$ac_dir
|
5043 |
ac_x_includes=$ac_dir
|
5700 |
break
|
5044 |
break
|
5701 |
fi
|
5045 |
fi
|
5702 |
done
|
5046 |
done
|
5703 |
fi
|
5047 |
fi
|
5704 |
|
|
|
5705 |
rm -f conftest.err conftest.$ac_ext
|
5048 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5706 |
fi # $ac_x_includes = no
|
5049 |
fi # $ac_x_includes = no
|
5707 |
|
5050 |
|
5708 |
if test "$ac_x_libraries" = no; then
|
5051 |
if test "$ac_x_libraries" = no; then
|
5709 |
# Check for the libraries.
|
5052 |
# Check for the libraries.
|
5710 |
# See if we find them without any special options.
|
5053 |
# See if we find them without any special options.
|
5711 |
# Don't add to $LIBS permanently.
|
5054 |
# Don't add to $LIBS permanently.
|
5712 |
ac_save_LIBS=$LIBS
|
5055 |
ac_save_LIBS=$LIBS
|
5713 |
LIBS="-lX11 $LIBS"
|
5056 |
LIBS="-lX11 $LIBS"
|
5714 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
5715 |
/* confdefs.h. */
|
|
|
5716 |
_ACEOF
|
|
|
5717 |
cat confdefs.h >>conftest.$ac_ext
|
5057 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5718 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5719 |
/* end confdefs.h. */
|
5058 |
/* end confdefs.h. */
|
5720 |
#include <X11/Xlib.h>
|
5059 |
#include <X11/Xlib.h>
|
5721 |
int
|
5060 |
int
|
5722 |
main ()
|
5061 |
main ()
|
5723 |
{
|
5062 |
{
|
5724 |
XrmInitialize ()
|
5063 |
XrmInitialize ()
|
5725 |
;
|
5064 |
;
|
5726 |
return 0;
|
5065 |
return 0;
|
5727 |
}
|
5066 |
}
|
5728 |
_ACEOF
|
5067 |
_ACEOF
|
5729 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5068 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
5730 |
if { (ac_try="$ac_link"
|
|
|
5731 |
case "(($ac_try" in
|
|
|
5732 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5733 |
*) ac_try_echo=$ac_try;;
|
|
|
5734 |
esac
|
|
|
5735 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
5736 |
$as_echo "$ac_try_echo") >&5
|
|
|
5737 |
(eval "$ac_link") 2>conftest.er1
|
|
|
5738 |
ac_status=$?
|
|
|
5739 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5740 |
rm -f conftest.er1
|
|
|
5741 |
cat conftest.err >&5
|
|
|
5742 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
5743 |
(exit $ac_status); } && {
|
|
|
5744 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
5745 |
test ! -s conftest.err
|
|
|
5746 |
} && test -s conftest$ac_exeext && {
|
|
|
5747 |
test "$cross_compiling" = yes ||
|
|
|
5748 |
$as_test_x conftest$ac_exeext
|
|
|
5749 |
}; then
|
|
|
5750 |
LIBS=$ac_save_LIBS
|
5069 |
LIBS=$ac_save_LIBS
|
5751 |
# We can link X programs with no special library path.
|
5070 |
# We can link X programs with no special library path.
|
5752 |
ac_x_libraries=
|
5071 |
ac_x_libraries=
|
5753 |
else
|
5072 |
else
|
5754 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
5755 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5756 |
|
|
|
5757 |
LIBS=$ac_save_LIBS
|
5073 |
LIBS=$ac_save_LIBS
|
5758 |
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
|
5074 |
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
|
5759 |
do
|
5075 |
do
|
5760 |
# Don't even attempt the hair of trying to link an X program!
|
5076 |
# Don't even attempt the hair of trying to link an X program!
|
5761 |
for ac_extension in a so sl dylib la dll; do
|
5077 |
for ac_extension in a so sl dylib la dll; do
|
5762 |
if test -r "$ac_dir/libX11.$ac_extension"; then
|
5078 |
if test -r "$ac_dir/libX11.$ac_extension"; then
|
|
... |
|
... |
5764 |
break 2
|
5080 |
break 2
|
5765 |
fi
|
5081 |
fi
|
5766 |
done
|
5082 |
done
|
5767 |
done
|
5083 |
done
|
5768 |
fi
|
5084 |
fi
|
5769 |
|
|
|
5770 |
rm -rf conftest.dSYM
|
|
|
5771 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5085 |
rm -f core conftest.err conftest.$ac_objext \
|
5772 |
conftest$ac_exeext conftest.$ac_ext
|
5086 |
conftest$ac_exeext conftest.$ac_ext
|
5773 |
fi # $ac_x_libraries = no
|
5087 |
fi # $ac_x_libraries = no
|
5774 |
|
5088 |
|
5775 |
case $ac_x_includes,$ac_x_libraries in #(
|
5089 |
case $ac_x_includes,$ac_x_libraries in #(
|
5776 |
no,* | *,no | *\'*)
|
5090 |
no,* | *,no | *\'*)
|
5777 |
# Didn't find X, or a directory has "'" in its name.
|
5091 |
# Didn't find X, or a directory has "'" in its name.
|
|
... |
|
... |
5788 |
esac
|
5102 |
esac
|
5789 |
eval "$ac_cv_have_x"
|
5103 |
eval "$ac_cv_have_x"
|
5790 |
fi # $with_x != no
|
5104 |
fi # $with_x != no
|
5791 |
|
5105 |
|
5792 |
if test "$have_x" != yes; then
|
5106 |
if test "$have_x" != yes; then
|
5793 |
{ $as_echo "$as_me:$LINENO: result: $have_x" >&5
|
5107 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
|
5794 |
$as_echo "$have_x" >&6; }
|
5108 |
$as_echo "$have_x" >&6; }
|
5795 |
no_x=yes
|
5109 |
no_x=yes
|
5796 |
else
|
5110 |
else
|
5797 |
# If each of the values was on the command line, it overrides each guess.
|
5111 |
# If each of the values was on the command line, it overrides each guess.
|
5798 |
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
|
5112 |
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
|
5799 |
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
|
5113 |
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
|
5800 |
# Update the cache value to reflect the command line values.
|
5114 |
# Update the cache value to reflect the command line values.
|
5801 |
ac_cv_have_x="have_x=yes\
|
5115 |
ac_cv_have_x="have_x=yes\
|
5802 |
ac_x_includes='$x_includes'\
|
5116 |
ac_x_includes='$x_includes'\
|
5803 |
ac_x_libraries='$x_libraries'"
|
5117 |
ac_x_libraries='$x_libraries'"
|
5804 |
{ $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
|
5118 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
|
5805 |
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
|
5119 |
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
|
5806 |
fi
|
5120 |
fi
|
5807 |
|
5121 |
|
5808 |
if test "$no_x" = yes; then
|
5122 |
if test "$no_x" = yes; then
|
5809 |
# Not all programs may use this symbol, but it does not hurt to define it.
|
5123 |
# Not all programs may use this symbol, but it does not hurt to define it.
|
5810 |
|
5124 |
|
5811 |
cat >>confdefs.h <<\_ACEOF
|
5125 |
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
|
5812 |
#define X_DISPLAY_MISSING 1
|
|
|
5813 |
_ACEOF
|
|
|
5814 |
|
5126 |
|
5815 |
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
|
5127 |
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
|
5816 |
else
|
5128 |
else
|
5817 |
if test -n "$x_includes"; then
|
5129 |
if test -n "$x_includes"; then
|
5818 |
X_CFLAGS="$X_CFLAGS -I$x_includes"
|
5130 |
X_CFLAGS="$X_CFLAGS -I$x_includes"
|
|
... |
|
... |
5821 |
# It would also be nice to do this for all -L options, not just this one.
|
5133 |
# It would also be nice to do this for all -L options, not just this one.
|
5822 |
if test -n "$x_libraries"; then
|
5134 |
if test -n "$x_libraries"; then
|
5823 |
X_LIBS="$X_LIBS -L$x_libraries"
|
5135 |
X_LIBS="$X_LIBS -L$x_libraries"
|
5824 |
# For Solaris; some versions of Sun CC require a space after -R and
|
5136 |
# For Solaris; some versions of Sun CC require a space after -R and
|
5825 |
# others require no space. Words are not sufficient . . . .
|
5137 |
# others require no space. Words are not sufficient . . . .
|
5826 |
{ $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
|
5138 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
|
5827 |
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
|
5139 |
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
|
5828 |
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
|
5140 |
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
|
5829 |
ac_xsave_cxx_werror_flag=$ac_cxx_werror_flag
|
5141 |
ac_xsave_cxx_werror_flag=$ac_cxx_werror_flag
|
5830 |
ac_cxx_werror_flag=yes
|
5142 |
ac_cxx_werror_flag=yes
|
5831 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
5832 |
/* confdefs.h. */
|
|
|
5833 |
_ACEOF
|
|
|
5834 |
cat confdefs.h >>conftest.$ac_ext
|
5143 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5835 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5836 |
/* end confdefs.h. */
|
5144 |
/* end confdefs.h. */
|
5837 |
|
5145 |
|
5838 |
int
|
5146 |
int
|
5839 |
main ()
|
5147 |
main ()
|
5840 |
{
|
5148 |
{
|
5841 |
|
5149 |
|
5842 |
;
|
5150 |
;
|
5843 |
return 0;
|
5151 |
return 0;
|
5844 |
}
|
5152 |
}
|
5845 |
_ACEOF
|
5153 |
_ACEOF
|
5846 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5154 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
5847 |
if { (ac_try="$ac_link"
|
|
|
5848 |
case "(($ac_try" in
|
|
|
5849 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5850 |
*) ac_try_echo=$ac_try;;
|
|
|
5851 |
esac
|
|
|
5852 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
5853 |
$as_echo "$ac_try_echo") >&5
|
|
|
5854 |
(eval "$ac_link") 2>conftest.er1
|
|
|
5855 |
ac_status=$?
|
|
|
5856 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5857 |
rm -f conftest.er1
|
|
|
5858 |
cat conftest.err >&5
|
|
|
5859 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
5860 |
(exit $ac_status); } && {
|
|
|
5861 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
5862 |
test ! -s conftest.err
|
|
|
5863 |
} && test -s conftest$ac_exeext && {
|
|
|
5864 |
test "$cross_compiling" = yes ||
|
|
|
5865 |
$as_test_x conftest$ac_exeext
|
|
|
5866 |
}; then
|
|
|
5867 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
5155 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5868 |
$as_echo "no" >&6; }
|
5156 |
$as_echo "no" >&6; }
|
5869 |
X_LIBS="$X_LIBS -R$x_libraries"
|
5157 |
X_LIBS="$X_LIBS -R$x_libraries"
|
5870 |
else
|
5158 |
else
|
5871 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
5872 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5873 |
|
|
|
5874 |
LIBS="$ac_xsave_LIBS -R $x_libraries"
|
5159 |
LIBS="$ac_xsave_LIBS -R $x_libraries"
|
5875 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
5876 |
/* confdefs.h. */
|
|
|
5877 |
_ACEOF
|
|
|
5878 |
cat confdefs.h >>conftest.$ac_ext
|
5160 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5879 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5880 |
/* end confdefs.h. */
|
5161 |
/* end confdefs.h. */
|
5881 |
|
5162 |
|
5882 |
int
|
5163 |
int
|
5883 |
main ()
|
5164 |
main ()
|
5884 |
{
|
5165 |
{
|
5885 |
|
5166 |
|
5886 |
;
|
5167 |
;
|
5887 |
return 0;
|
5168 |
return 0;
|
5888 |
}
|
5169 |
}
|
5889 |
_ACEOF
|
5170 |
_ACEOF
|
5890 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5171 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
5891 |
if { (ac_try="$ac_link"
|
|
|
5892 |
case "(($ac_try" in
|
|
|
5893 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5894 |
*) ac_try_echo=$ac_try;;
|
|
|
5895 |
esac
|
|
|
5896 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
5897 |
$as_echo "$ac_try_echo") >&5
|
|
|
5898 |
(eval "$ac_link") 2>conftest.er1
|
|
|
5899 |
ac_status=$?
|
|
|
5900 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5901 |
rm -f conftest.er1
|
|
|
5902 |
cat conftest.err >&5
|
|
|
5903 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
5904 |
(exit $ac_status); } && {
|
|
|
5905 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
5906 |
test ! -s conftest.err
|
|
|
5907 |
} && test -s conftest$ac_exeext && {
|
|
|
5908 |
test "$cross_compiling" = yes ||
|
|
|
5909 |
$as_test_x conftest$ac_exeext
|
|
|
5910 |
}; then
|
|
|
5911 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
5172 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5912 |
$as_echo "yes" >&6; }
|
5173 |
$as_echo "yes" >&6; }
|
5913 |
X_LIBS="$X_LIBS -R $x_libraries"
|
5174 |
X_LIBS="$X_LIBS -R $x_libraries"
|
5914 |
else
|
5175 |
else
|
5915 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
5916 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5917 |
|
|
|
5918 |
{ $as_echo "$as_me:$LINENO: result: neither works" >&5
|
5176 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
|
5919 |
$as_echo "neither works" >&6; }
|
5177 |
$as_echo "neither works" >&6; }
|
5920 |
fi
|
5178 |
fi
|
5921 |
|
|
|
5922 |
rm -rf conftest.dSYM
|
|
|
5923 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5179 |
rm -f core conftest.err conftest.$ac_objext \
|
5924 |
conftest$ac_exeext conftest.$ac_ext
|
5180 |
conftest$ac_exeext conftest.$ac_ext
|
5925 |
fi
|
5181 |
fi
|
5926 |
|
|
|
5927 |
rm -rf conftest.dSYM
|
|
|
5928 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5182 |
rm -f core conftest.err conftest.$ac_objext \
|
5929 |
conftest$ac_exeext conftest.$ac_ext
|
5183 |
conftest$ac_exeext conftest.$ac_ext
|
5930 |
ac_cxx_werror_flag=$ac_xsave_cxx_werror_flag
|
5184 |
ac_cxx_werror_flag=$ac_xsave_cxx_werror_flag
|
5931 |
LIBS=$ac_xsave_LIBS
|
5185 |
LIBS=$ac_xsave_LIBS
|
5932 |
fi
|
5186 |
fi
|
5933 |
|
5187 |
|
5934 |
# Check for system-dependent libraries X programs must link with.
|
5188 |
# Check for system-dependent libraries X programs must link with.
|
|
... |
|
... |
5940 |
else
|
5194 |
else
|
5941 |
# Martyn Johnson says this is needed for Ultrix, if the X
|
5195 |
# Martyn Johnson says this is needed for Ultrix, if the X
|
5942 |
# libraries were built with DECnet support. And Karl Berry says
|
5196 |
# libraries were built with DECnet support. And Karl Berry says
|
5943 |
# the Alpha needs dnet_stub (dnet does not exist).
|
5197 |
# the Alpha needs dnet_stub (dnet does not exist).
|
5944 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
|
5198 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
|
5945 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
5946 |
/* confdefs.h. */
|
|
|
5947 |
_ACEOF
|
|
|
5948 |
cat confdefs.h >>conftest.$ac_ext
|
5199 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5949 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5950 |
/* end confdefs.h. */
|
5200 |
/* end confdefs.h. */
|
5951 |
|
5201 |
|
5952 |
/* Override any GCC internal prototype to avoid an error.
|
5202 |
/* Override any GCC internal prototype to avoid an error.
|
5953 |
Use char because int might match the return type of a GCC
|
5203 |
Use char because int might match the return type of a GCC
|
5954 |
builtin and then its argument prototype would still apply. */
|
5204 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
5962 |
return XOpenDisplay ();
|
5212 |
return XOpenDisplay ();
|
5963 |
;
|
5213 |
;
|
5964 |
return 0;
|
5214 |
return 0;
|
5965 |
}
|
5215 |
}
|
5966 |
_ACEOF
|
5216 |
_ACEOF
|
5967 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5217 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
5968 |
if { (ac_try="$ac_link"
|
|
|
5969 |
case "(($ac_try" in
|
|
|
5970 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5971 |
*) ac_try_echo=$ac_try;;
|
|
|
5972 |
esac
|
|
|
5973 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
5974 |
$as_echo "$ac_try_echo") >&5
|
|
|
5975 |
(eval "$ac_link") 2>conftest.er1
|
|
|
5976 |
ac_status=$?
|
|
|
5977 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5978 |
rm -f conftest.er1
|
|
|
5979 |
cat conftest.err >&5
|
|
|
5980 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
5981 |
(exit $ac_status); } && {
|
|
|
5982 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
5983 |
test ! -s conftest.err
|
|
|
5984 |
} && test -s conftest$ac_exeext && {
|
|
|
5985 |
test "$cross_compiling" = yes ||
|
|
|
5986 |
$as_test_x conftest$ac_exeext
|
|
|
5987 |
}; then
|
|
|
5988 |
:
|
|
|
5989 |
else
|
|
|
5990 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
5991 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5992 |
|
5218 |
|
|
|
5219 |
else
|
5993 |
{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
|
5220 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
|
5994 |
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
|
5221 |
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
|
5995 |
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
|
5222 |
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
|
5996 |
$as_echo_n "(cached) " >&6
|
5223 |
$as_echo_n "(cached) " >&6
|
5997 |
else
|
5224 |
else
|
5998 |
ac_check_lib_save_LIBS=$LIBS
|
5225 |
ac_check_lib_save_LIBS=$LIBS
|
5999 |
LIBS="-ldnet $LIBS"
|
5226 |
LIBS="-ldnet $LIBS"
|
6000 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
6001 |
/* confdefs.h. */
|
|
|
6002 |
_ACEOF
|
|
|
6003 |
cat confdefs.h >>conftest.$ac_ext
|
5227 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6004 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
6005 |
/* end confdefs.h. */
|
5228 |
/* end confdefs.h. */
|
6006 |
|
5229 |
|
6007 |
/* Override any GCC internal prototype to avoid an error.
|
5230 |
/* Override any GCC internal prototype to avoid an error.
|
6008 |
Use char because int might match the return type of a GCC
|
5231 |
Use char because int might match the return type of a GCC
|
6009 |
builtin and then its argument prototype would still apply. */
|
5232 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
6017 |
return dnet_ntoa ();
|
5240 |
return dnet_ntoa ();
|
6018 |
;
|
5241 |
;
|
6019 |
return 0;
|
5242 |
return 0;
|
6020 |
}
|
5243 |
}
|
6021 |
_ACEOF
|
5244 |
_ACEOF
|
6022 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5245 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
6023 |
if { (ac_try="$ac_link"
|
|
|
6024 |
case "(($ac_try" in
|
|
|
6025 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
6026 |
*) ac_try_echo=$ac_try;;
|
|
|
6027 |
esac
|
|
|
6028 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
6029 |
$as_echo "$ac_try_echo") >&5
|
|
|
6030 |
(eval "$ac_link") 2>conftest.er1
|
|
|
6031 |
ac_status=$?
|
|
|
6032 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
6033 |
rm -f conftest.er1
|
|
|
6034 |
cat conftest.err >&5
|
|
|
6035 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
6036 |
(exit $ac_status); } && {
|
|
|
6037 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
6038 |
test ! -s conftest.err
|
|
|
6039 |
} && test -s conftest$ac_exeext && {
|
|
|
6040 |
test "$cross_compiling" = yes ||
|
|
|
6041 |
$as_test_x conftest$ac_exeext
|
|
|
6042 |
}; then
|
|
|
6043 |
ac_cv_lib_dnet_dnet_ntoa=yes
|
5246 |
ac_cv_lib_dnet_dnet_ntoa=yes
|
6044 |
else
|
5247 |
else
|
6045 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
6046 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
6047 |
|
|
|
6048 |
ac_cv_lib_dnet_dnet_ntoa=no
|
5248 |
ac_cv_lib_dnet_dnet_ntoa=no
|
6049 |
fi
|
5249 |
fi
|
6050 |
|
|
|
6051 |
rm -rf conftest.dSYM
|
|
|
6052 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5250 |
rm -f core conftest.err conftest.$ac_objext \
|
6053 |
conftest$ac_exeext conftest.$ac_ext
|
5251 |
conftest$ac_exeext conftest.$ac_ext
|
6054 |
LIBS=$ac_check_lib_save_LIBS
|
5252 |
LIBS=$ac_check_lib_save_LIBS
|
6055 |
fi
|
5253 |
fi
|
6056 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
|
5254 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
|
6057 |
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
|
5255 |
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
|
6058 |
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
|
5256 |
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
|
6059 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
|
5257 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
|
6060 |
fi
|
5258 |
fi
|
6061 |
|
5259 |
|
6062 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
|
5260 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
|
6063 |
{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
|
5261 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
|
6064 |
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
|
5262 |
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
|
6065 |
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
|
5263 |
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
|
6066 |
$as_echo_n "(cached) " >&6
|
5264 |
$as_echo_n "(cached) " >&6
|
6067 |
else
|
5265 |
else
|
6068 |
ac_check_lib_save_LIBS=$LIBS
|
5266 |
ac_check_lib_save_LIBS=$LIBS
|
6069 |
LIBS="-ldnet_stub $LIBS"
|
5267 |
LIBS="-ldnet_stub $LIBS"
|
6070 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
6071 |
/* confdefs.h. */
|
|
|
6072 |
_ACEOF
|
|
|
6073 |
cat confdefs.h >>conftest.$ac_ext
|
5268 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6074 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
6075 |
/* end confdefs.h. */
|
5269 |
/* end confdefs.h. */
|
6076 |
|
5270 |
|
6077 |
/* Override any GCC internal prototype to avoid an error.
|
5271 |
/* Override any GCC internal prototype to avoid an error.
|
6078 |
Use char because int might match the return type of a GCC
|
5272 |
Use char because int might match the return type of a GCC
|
6079 |
builtin and then its argument prototype would still apply. */
|
5273 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
6087 |
return dnet_ntoa ();
|
5281 |
return dnet_ntoa ();
|
6088 |
;
|
5282 |
;
|
6089 |
return 0;
|
5283 |
return 0;
|
6090 |
}
|
5284 |
}
|
6091 |
_ACEOF
|
5285 |
_ACEOF
|
6092 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5286 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
6093 |
if { (ac_try="$ac_link"
|
|
|
6094 |
case "(($ac_try" in
|
|
|
6095 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
6096 |
*) ac_try_echo=$ac_try;;
|
|
|
6097 |
esac
|
|
|
6098 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
6099 |
$as_echo "$ac_try_echo") >&5
|
|
|
6100 |
(eval "$ac_link") 2>conftest.er1
|
|
|
6101 |
ac_status=$?
|
|
|
6102 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
6103 |
rm -f conftest.er1
|
|
|
6104 |
cat conftest.err >&5
|
|
|
6105 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
6106 |
(exit $ac_status); } && {
|
|
|
6107 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
6108 |
test ! -s conftest.err
|
|
|
6109 |
} && test -s conftest$ac_exeext && {
|
|
|
6110 |
test "$cross_compiling" = yes ||
|
|
|
6111 |
$as_test_x conftest$ac_exeext
|
|
|
6112 |
}; then
|
|
|
6113 |
ac_cv_lib_dnet_stub_dnet_ntoa=yes
|
5287 |
ac_cv_lib_dnet_stub_dnet_ntoa=yes
|
6114 |
else
|
5288 |
else
|
6115 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
6116 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
6117 |
|
|
|
6118 |
ac_cv_lib_dnet_stub_dnet_ntoa=no
|
5289 |
ac_cv_lib_dnet_stub_dnet_ntoa=no
|
6119 |
fi
|
5290 |
fi
|
6120 |
|
|
|
6121 |
rm -rf conftest.dSYM
|
|
|
6122 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5291 |
rm -f core conftest.err conftest.$ac_objext \
|
6123 |
conftest$ac_exeext conftest.$ac_ext
|
5292 |
conftest$ac_exeext conftest.$ac_ext
|
6124 |
LIBS=$ac_check_lib_save_LIBS
|
5293 |
LIBS=$ac_check_lib_save_LIBS
|
6125 |
fi
|
5294 |
fi
|
6126 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
|
5295 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
|
6127 |
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
|
5296 |
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
|
6128 |
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
|
5297 |
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
|
6129 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
|
5298 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
|
6130 |
fi
|
5299 |
fi
|
6131 |
|
5300 |
|
6132 |
fi
|
5301 |
fi
|
6133 |
fi
|
5302 |
fi
|
6134 |
|
|
|
6135 |
rm -rf conftest.dSYM
|
|
|
6136 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5303 |
rm -f core conftest.err conftest.$ac_objext \
|
6137 |
conftest$ac_exeext conftest.$ac_ext
|
5304 |
conftest$ac_exeext conftest.$ac_ext
|
6138 |
LIBS="$ac_xsave_LIBS"
|
5305 |
LIBS="$ac_xsave_LIBS"
|
6139 |
|
5306 |
|
6140 |
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
|
5307 |
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
|
6141 |
# to get the SysV transport functions.
|
5308 |
# to get the SysV transport functions.
|
6142 |
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
|
5309 |
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
|
6143 |
# needs -lnsl.
|
5310 |
# needs -lnsl.
|
6144 |
# The nsl library prevents programs from opening the X display
|
5311 |
# The nsl library prevents programs from opening the X display
|
6145 |
# on Irix 5.2, according to T.E. Dickey.
|
5312 |
# on Irix 5.2, according to T.E. Dickey.
|
6146 |
# The functions gethostbyname, getservbyname, and inet_addr are
|
5313 |
# The functions gethostbyname, getservbyname, and inet_addr are
|
6147 |
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
|
5314 |
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
|
6148 |
{ $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
|
5315 |
ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
|
6149 |
$as_echo_n "checking for gethostbyname... " >&6; }
|
|
|
6150 |
if test "${ac_cv_func_gethostbyname+set}" = set; then
|
5316 |
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
|
6151 |
$as_echo_n "(cached) " >&6
|
|
|
6152 |
else
|
|
|
6153 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
6154 |
/* confdefs.h. */
|
|
|
6155 |
_ACEOF
|
|
|
6156 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
6157 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
6158 |
/* end confdefs.h. */
|
|
|
6159 |
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
|
|
|
6160 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
6161 |
#define gethostbyname innocuous_gethostbyname
|
|
|
6162 |
|
5317 |
|
6163 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
6164 |
which can conflict with char gethostbyname (); below.
|
|
|
6165 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
6166 |
<limits.h> exists even on freestanding compilers. */
|
|
|
6167 |
|
|
|
6168 |
#ifdef __STDC__
|
|
|
6169 |
# include <limits.h>
|
|
|
6170 |
#else
|
|
|
6171 |
# include <assert.h>
|
|
|
6172 |
#endif
|
|
|
6173 |
|
|
|
6174 |
#undef gethostbyname
|
|
|
6175 |
|
|
|
6176 |
/* Override any GCC internal prototype to avoid an error.
|
|
|
6177 |
Use char because int might match the return type of a GCC
|
|
|
6178 |
builtin and then its argument prototype would still apply. */
|
|
|
6179 |
#ifdef __cplusplus
|
|
|
6180 |
extern "C"
|
|
|
6181 |
#endif
|
|
|
6182 |
char gethostbyname ();
|
|
|
6183 |
/* The GNU C library defines this for functions which it implements
|
|
|
6184 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
6185 |
something starting with __ and the normal name is an alias. */
|
|
|
6186 |
#if defined __stub_gethostbyname || defined __stub___gethostbyname
|
|
|
6187 |
choke me
|
|
|
6188 |
#endif
|
|
|
6189 |
|
|
|
6190 |
int
|
|
|
6191 |
main ()
|
|
|
6192 |
{
|
|
|
6193 |
return gethostbyname ();
|
|
|
6194 |
;
|
|
|
6195 |
return 0;
|
|
|
6196 |
}
|
|
|
6197 |
_ACEOF
|
|
|
6198 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
6199 |
if { (ac_try="$ac_link"
|
|
|
6200 |
case "(($ac_try" in
|
|
|
6201 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
6202 |
*) ac_try_echo=$ac_try;;
|
|
|
6203 |
esac
|
|
|
6204 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
6205 |
$as_echo "$ac_try_echo") >&5
|
|
|
6206 |
(eval "$ac_link") 2>conftest.er1
|
|
|
6207 |
ac_status=$?
|
|
|
6208 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
6209 |
rm -f conftest.er1
|
|
|
6210 |
cat conftest.err >&5
|
|
|
6211 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
6212 |
(exit $ac_status); } && {
|
|
|
6213 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
6214 |
test ! -s conftest.err
|
|
|
6215 |
} && test -s conftest$ac_exeext && {
|
|
|
6216 |
test "$cross_compiling" = yes ||
|
|
|
6217 |
$as_test_x conftest$ac_exeext
|
|
|
6218 |
}; then
|
|
|
6219 |
ac_cv_func_gethostbyname=yes
|
|
|
6220 |
else
|
|
|
6221 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
6222 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
6223 |
|
|
|
6224 |
ac_cv_func_gethostbyname=no
|
|
|
6225 |
fi
|
5318 |
fi
|
6226 |
|
|
|
6227 |
rm -rf conftest.dSYM
|
|
|
6228 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
6229 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
6230 |
fi
|
|
|
6231 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
|
|
|
6232 |
$as_echo "$ac_cv_func_gethostbyname" >&6; }
|
|
|
6233 |
|
5319 |
|
6234 |
if test $ac_cv_func_gethostbyname = no; then
|
5320 |
if test $ac_cv_func_gethostbyname = no; then
|
6235 |
{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
|
5321 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
|
6236 |
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
|
5322 |
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
|
6237 |
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
|
5323 |
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
|
6238 |
$as_echo_n "(cached) " >&6
|
5324 |
$as_echo_n "(cached) " >&6
|
6239 |
else
|
5325 |
else
|
6240 |
ac_check_lib_save_LIBS=$LIBS
|
5326 |
ac_check_lib_save_LIBS=$LIBS
|
6241 |
LIBS="-lnsl $LIBS"
|
5327 |
LIBS="-lnsl $LIBS"
|
6242 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
6243 |
/* confdefs.h. */
|
|
|
6244 |
_ACEOF
|
|
|
6245 |
cat confdefs.h >>conftest.$ac_ext
|
5328 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6246 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
6247 |
/* end confdefs.h. */
|
5329 |
/* end confdefs.h. */
|
6248 |
|
5330 |
|
6249 |
/* Override any GCC internal prototype to avoid an error.
|
5331 |
/* Override any GCC internal prototype to avoid an error.
|
6250 |
Use char because int might match the return type of a GCC
|
5332 |
Use char because int might match the return type of a GCC
|
6251 |
builtin and then its argument prototype would still apply. */
|
5333 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
6259 |
return gethostbyname ();
|
5341 |
return gethostbyname ();
|
6260 |
;
|
5342 |
;
|
6261 |
return 0;
|
5343 |
return 0;
|
6262 |
}
|
5344 |
}
|
6263 |
_ACEOF
|
5345 |
_ACEOF
|
6264 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5346 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
6265 |
if { (ac_try="$ac_link"
|
|
|
6266 |
case "(($ac_try" in
|
|
|
6267 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
6268 |
*) ac_try_echo=$ac_try;;
|
|
|
6269 |
esac
|
|
|
6270 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
6271 |
$as_echo "$ac_try_echo") >&5
|
|
|
6272 |
(eval "$ac_link") 2>conftest.er1
|
|
|
6273 |
ac_status=$?
|
|
|
6274 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
6275 |
rm -f conftest.er1
|
|
|
6276 |
cat conftest.err >&5
|
|
|
6277 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
6278 |
(exit $ac_status); } && {
|
|
|
6279 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
6280 |
test ! -s conftest.err
|
|
|
6281 |
} && test -s conftest$ac_exeext && {
|
|
|
6282 |
test "$cross_compiling" = yes ||
|
|
|
6283 |
$as_test_x conftest$ac_exeext
|
|
|
6284 |
}; then
|
|
|
6285 |
ac_cv_lib_nsl_gethostbyname=yes
|
5347 |
ac_cv_lib_nsl_gethostbyname=yes
|
6286 |
else
|
5348 |
else
|
6287 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
6288 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
6289 |
|
|
|
6290 |
ac_cv_lib_nsl_gethostbyname=no
|
5349 |
ac_cv_lib_nsl_gethostbyname=no
|
6291 |
fi
|
5350 |
fi
|
6292 |
|
|
|
6293 |
rm -rf conftest.dSYM
|
|
|
6294 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5351 |
rm -f core conftest.err conftest.$ac_objext \
|
6295 |
conftest$ac_exeext conftest.$ac_ext
|
5352 |
conftest$ac_exeext conftest.$ac_ext
|
6296 |
LIBS=$ac_check_lib_save_LIBS
|
5353 |
LIBS=$ac_check_lib_save_LIBS
|
6297 |
fi
|
5354 |
fi
|
6298 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
|
5355 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
|
6299 |
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
|
5356 |
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
|
6300 |
if test $ac_cv_lib_nsl_gethostbyname = yes; then
|
5357 |
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
|
6301 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
|
5358 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
|
6302 |
fi
|
5359 |
fi
|
6303 |
|
5360 |
|
6304 |
if test $ac_cv_lib_nsl_gethostbyname = no; then
|
5361 |
if test $ac_cv_lib_nsl_gethostbyname = no; then
|
6305 |
{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
|
5362 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
|
6306 |
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
|
5363 |
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
|
6307 |
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
|
5364 |
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
|
6308 |
$as_echo_n "(cached) " >&6
|
5365 |
$as_echo_n "(cached) " >&6
|
6309 |
else
|
5366 |
else
|
6310 |
ac_check_lib_save_LIBS=$LIBS
|
5367 |
ac_check_lib_save_LIBS=$LIBS
|
6311 |
LIBS="-lbsd $LIBS"
|
5368 |
LIBS="-lbsd $LIBS"
|
6312 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
6313 |
/* confdefs.h. */
|
|
|
6314 |
_ACEOF
|
|
|
6315 |
cat confdefs.h >>conftest.$ac_ext
|
5369 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6316 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
6317 |
/* end confdefs.h. */
|
5370 |
/* end confdefs.h. */
|
6318 |
|
5371 |
|
6319 |
/* Override any GCC internal prototype to avoid an error.
|
5372 |
/* Override any GCC internal prototype to avoid an error.
|
6320 |
Use char because int might match the return type of a GCC
|
5373 |
Use char because int might match the return type of a GCC
|
6321 |
builtin and then its argument prototype would still apply. */
|
5374 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
6329 |
return gethostbyname ();
|
5382 |
return gethostbyname ();
|
6330 |
;
|
5383 |
;
|
6331 |
return 0;
|
5384 |
return 0;
|
6332 |
}
|
5385 |
}
|
6333 |
_ACEOF
|
5386 |
_ACEOF
|
6334 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5387 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
6335 |
if { (ac_try="$ac_link"
|
|
|
6336 |
case "(($ac_try" in
|
|
|
6337 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
6338 |
*) ac_try_echo=$ac_try;;
|
|
|
6339 |
esac
|
|
|
6340 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
6341 |
$as_echo "$ac_try_echo") >&5
|
|
|
6342 |
(eval "$ac_link") 2>conftest.er1
|
|
|
6343 |
ac_status=$?
|
|
|
6344 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
6345 |
rm -f conftest.er1
|
|
|
6346 |
cat conftest.err >&5
|
|
|
6347 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
6348 |
(exit $ac_status); } && {
|
|
|
6349 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
6350 |
test ! -s conftest.err
|
|
|
6351 |
} && test -s conftest$ac_exeext && {
|
|
|
6352 |
test "$cross_compiling" = yes ||
|
|
|
6353 |
$as_test_x conftest$ac_exeext
|
|
|
6354 |
}; then
|
|
|
6355 |
ac_cv_lib_bsd_gethostbyname=yes
|
5388 |
ac_cv_lib_bsd_gethostbyname=yes
|
6356 |
else
|
5389 |
else
|
6357 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
6358 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
6359 |
|
|
|
6360 |
ac_cv_lib_bsd_gethostbyname=no
|
5390 |
ac_cv_lib_bsd_gethostbyname=no
|
6361 |
fi
|
5391 |
fi
|
6362 |
|
|
|
6363 |
rm -rf conftest.dSYM
|
|
|
6364 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5392 |
rm -f core conftest.err conftest.$ac_objext \
|
6365 |
conftest$ac_exeext conftest.$ac_ext
|
5393 |
conftest$ac_exeext conftest.$ac_ext
|
6366 |
LIBS=$ac_check_lib_save_LIBS
|
5394 |
LIBS=$ac_check_lib_save_LIBS
|
6367 |
fi
|
5395 |
fi
|
6368 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
|
5396 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
|
6369 |
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
|
5397 |
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
|
6370 |
if test $ac_cv_lib_bsd_gethostbyname = yes; then
|
5398 |
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
|
6371 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
|
5399 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
|
6372 |
fi
|
5400 |
fi
|
6373 |
|
5401 |
|
6374 |
fi
|
5402 |
fi
|
6375 |
fi
|
5403 |
fi
|
|
... |
|
... |
6379 |
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
|
5407 |
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
|
6380 |
# on later versions), says Simon Leinen: it contains gethostby*
|
5408 |
# on later versions), says Simon Leinen: it contains gethostby*
|
6381 |
# variants that don't use the name server (or something). -lsocket
|
5409 |
# variants that don't use the name server (or something). -lsocket
|
6382 |
# must be given before -lnsl if both are needed. We assume that
|
5410 |
# must be given before -lnsl if both are needed. We assume that
|
6383 |
# if connect needs -lnsl, so does gethostbyname.
|
5411 |
# if connect needs -lnsl, so does gethostbyname.
|
6384 |
{ $as_echo "$as_me:$LINENO: checking for connect" >&5
|
5412 |
ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect"
|
6385 |
$as_echo_n "checking for connect... " >&6; }
|
|
|
6386 |
if test "${ac_cv_func_connect+set}" = set; then
|
5413 |
if test "x$ac_cv_func_connect" = x""yes; then :
|
6387 |
$as_echo_n "(cached) " >&6
|
|
|
6388 |
else
|
|
|
6389 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
6390 |
/* confdefs.h. */
|
|
|
6391 |
_ACEOF
|
|
|
6392 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
6393 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
6394 |
/* end confdefs.h. */
|
|
|
6395 |
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
|
|
|
6396 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
6397 |
#define connect innocuous_connect
|
|
|
6398 |
|
5414 |
|
6399 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
6400 |
which can conflict with char connect (); below.
|
|
|
6401 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
6402 |
<limits.h> exists even on freestanding compilers. */
|
|
|
6403 |
|
|
|
6404 |
#ifdef __STDC__
|
|
|
6405 |
# include <limits.h>
|
|
|
6406 |
#else
|
|
|
6407 |
# include <assert.h>
|
|
|
6408 |
#endif
|
|
|
6409 |
|
|
|
6410 |
#undef connect
|
|
|
6411 |
|
|
|
6412 |
/* Override any GCC internal prototype to avoid an error.
|
|
|
6413 |
Use char because int might match the return type of a GCC
|
|
|
6414 |
builtin and then its argument prototype would still apply. */
|
|
|
6415 |
#ifdef __cplusplus
|
|
|
6416 |
extern "C"
|
|
|
6417 |
#endif
|
|
|
6418 |
char connect ();
|
|
|
6419 |
/* The GNU C library defines this for functions which it implements
|
|
|
6420 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
6421 |
something starting with __ and the normal name is an alias. */
|
|
|
6422 |
#if defined __stub_connect || defined __stub___connect
|
|
|
6423 |
choke me
|
|
|
6424 |
#endif
|
|
|
6425 |
|
|
|
6426 |
int
|
|
|
6427 |
main ()
|
|
|
6428 |
{
|
|
|
6429 |
return connect ();
|
|
|
6430 |
;
|
|
|
6431 |
return 0;
|
|
|
6432 |
}
|
|
|
6433 |
_ACEOF
|
|
|
6434 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
6435 |
if { (ac_try="$ac_link"
|
|
|
6436 |
case "(($ac_try" in
|
|
|
6437 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
6438 |
*) ac_try_echo=$ac_try;;
|
|
|
6439 |
esac
|
|
|
6440 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
6441 |
$as_echo "$ac_try_echo") >&5
|
|
|
6442 |
(eval "$ac_link") 2>conftest.er1
|
|
|
6443 |
ac_status=$?
|
|
|
6444 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
6445 |
rm -f conftest.er1
|
|
|
6446 |
cat conftest.err >&5
|
|
|
6447 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
6448 |
(exit $ac_status); } && {
|
|
|
6449 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
6450 |
test ! -s conftest.err
|
|
|
6451 |
} && test -s conftest$ac_exeext && {
|
|
|
6452 |
test "$cross_compiling" = yes ||
|
|
|
6453 |
$as_test_x conftest$ac_exeext
|
|
|
6454 |
}; then
|
|
|
6455 |
ac_cv_func_connect=yes
|
|
|
6456 |
else
|
|
|
6457 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
6458 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
6459 |
|
|
|
6460 |
ac_cv_func_connect=no
|
|
|
6461 |
fi
|
5415 |
fi
|
6462 |
|
|
|
6463 |
rm -rf conftest.dSYM
|
|
|
6464 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
6465 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
6466 |
fi
|
|
|
6467 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
|
|
|
6468 |
$as_echo "$ac_cv_func_connect" >&6; }
|
|
|
6469 |
|
5416 |
|
6470 |
if test $ac_cv_func_connect = no; then
|
5417 |
if test $ac_cv_func_connect = no; then
|
6471 |
{ $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
|
5418 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
|
6472 |
$as_echo_n "checking for connect in -lsocket... " >&6; }
|
5419 |
$as_echo_n "checking for connect in -lsocket... " >&6; }
|
6473 |
if test "${ac_cv_lib_socket_connect+set}" = set; then
|
5420 |
if test "${ac_cv_lib_socket_connect+set}" = set; then :
|
6474 |
$as_echo_n "(cached) " >&6
|
5421 |
$as_echo_n "(cached) " >&6
|
6475 |
else
|
5422 |
else
|
6476 |
ac_check_lib_save_LIBS=$LIBS
|
5423 |
ac_check_lib_save_LIBS=$LIBS
|
6477 |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
|
5424 |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
|
6478 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
6479 |
/* confdefs.h. */
|
|
|
6480 |
_ACEOF
|
|
|
6481 |
cat confdefs.h >>conftest.$ac_ext
|
5425 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6482 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
6483 |
/* end confdefs.h. */
|
5426 |
/* end confdefs.h. */
|
6484 |
|
5427 |
|
6485 |
/* Override any GCC internal prototype to avoid an error.
|
5428 |
/* Override any GCC internal prototype to avoid an error.
|
6486 |
Use char because int might match the return type of a GCC
|
5429 |
Use char because int might match the return type of a GCC
|
6487 |
builtin and then its argument prototype would still apply. */
|
5430 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
6495 |
return connect ();
|
5438 |
return connect ();
|
6496 |
;
|
5439 |
;
|
6497 |
return 0;
|
5440 |
return 0;
|
6498 |
}
|
5441 |
}
|
6499 |
_ACEOF
|
5442 |
_ACEOF
|
6500 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5443 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
6501 |
if { (ac_try="$ac_link"
|
|
|
6502 |
case "(($ac_try" in
|
|
|
6503 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
6504 |
*) ac_try_echo=$ac_try;;
|
|
|
6505 |
esac
|
|
|
6506 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
6507 |
$as_echo "$ac_try_echo") >&5
|
|
|
6508 |
(eval "$ac_link") 2>conftest.er1
|
|
|
6509 |
ac_status=$?
|
|
|
6510 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
6511 |
rm -f conftest.er1
|
|
|
6512 |
cat conftest.err >&5
|
|
|
6513 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
6514 |
(exit $ac_status); } && {
|
|
|
6515 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
6516 |
test ! -s conftest.err
|
|
|
6517 |
} && test -s conftest$ac_exeext && {
|
|
|
6518 |
test "$cross_compiling" = yes ||
|
|
|
6519 |
$as_test_x conftest$ac_exeext
|
|
|
6520 |
}; then
|
|
|
6521 |
ac_cv_lib_socket_connect=yes
|
5444 |
ac_cv_lib_socket_connect=yes
|
6522 |
else
|
5445 |
else
|
6523 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
6524 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
6525 |
|
|
|
6526 |
ac_cv_lib_socket_connect=no
|
5446 |
ac_cv_lib_socket_connect=no
|
6527 |
fi
|
5447 |
fi
|
6528 |
|
|
|
6529 |
rm -rf conftest.dSYM
|
|
|
6530 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5448 |
rm -f core conftest.err conftest.$ac_objext \
|
6531 |
conftest$ac_exeext conftest.$ac_ext
|
5449 |
conftest$ac_exeext conftest.$ac_ext
|
6532 |
LIBS=$ac_check_lib_save_LIBS
|
5450 |
LIBS=$ac_check_lib_save_LIBS
|
6533 |
fi
|
5451 |
fi
|
6534 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
|
5452 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
|
6535 |
$as_echo "$ac_cv_lib_socket_connect" >&6; }
|
5453 |
$as_echo "$ac_cv_lib_socket_connect" >&6; }
|
6536 |
if test $ac_cv_lib_socket_connect = yes; then
|
5454 |
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
|
6537 |
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
|
5455 |
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
|
6538 |
fi
|
5456 |
fi
|
6539 |
|
5457 |
|
6540 |
fi
|
5458 |
fi
|
6541 |
|
5459 |
|
6542 |
# Guillermo Gomez says -lposix is necessary on A/UX.
|
5460 |
# Guillermo Gomez says -lposix is necessary on A/UX.
|
6543 |
{ $as_echo "$as_me:$LINENO: checking for remove" >&5
|
5461 |
ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove"
|
6544 |
$as_echo_n "checking for remove... " >&6; }
|
5462 |
if test "x$ac_cv_func_remove" = x""yes; then :
|
6545 |
if test "${ac_cv_func_remove+set}" = set; then
|
|
|
6546 |
$as_echo_n "(cached) " >&6
|
|
|
6547 |
else
|
|
|
6548 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
6549 |
/* confdefs.h. */
|
|
|
6550 |
_ACEOF
|
|
|
6551 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
6552 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
6553 |
/* end confdefs.h. */
|
|
|
6554 |
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
|
|
|
6555 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
6556 |
#define remove innocuous_remove
|
|
|
6557 |
|
5463 |
|
6558 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
6559 |
which can conflict with char remove (); below.
|
|
|
6560 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
6561 |
<limits.h> exists even on freestanding compilers. */
|
|
|
6562 |
|
|
|
6563 |
#ifdef __STDC__
|
|
|
6564 |
# include <limits.h>
|
|
|
6565 |
#else
|
|
|
6566 |
# include <assert.h>
|
|
|
6567 |
#endif
|
|
|
6568 |
|
|
|
6569 |
#undef remove
|
|
|
6570 |
|
|
|
6571 |
/* Override any GCC internal prototype to avoid an error.
|
|
|
6572 |
Use char because int might match the return type of a GCC
|
|
|
6573 |
builtin and then its argument prototype would still apply. */
|
|
|
6574 |
#ifdef __cplusplus
|
|
|
6575 |
extern "C"
|
|
|
6576 |
#endif
|
|
|
6577 |
char remove ();
|
|
|
6578 |
/* The GNU C library defines this for functions which it implements
|
|
|
6579 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
6580 |
something starting with __ and the normal name is an alias. */
|
|
|
6581 |
#if defined __stub_remove || defined __stub___remove
|
|
|
6582 |
choke me
|
|
|
6583 |
#endif
|
|
|
6584 |
|
|
|
6585 |
int
|
|
|
6586 |
main ()
|
|
|
6587 |
{
|
|
|
6588 |
return remove ();
|
|
|
6589 |
;
|
|
|
6590 |
return 0;
|
|
|
6591 |
}
|
|
|
6592 |
_ACEOF
|
|
|
6593 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
6594 |
if { (ac_try="$ac_link"
|
|
|
6595 |
case "(($ac_try" in
|
|
|
6596 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
6597 |
*) ac_try_echo=$ac_try;;
|
|
|
6598 |
esac
|
|
|
6599 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
6600 |
$as_echo "$ac_try_echo") >&5
|
|
|
6601 |
(eval "$ac_link") 2>conftest.er1
|
|
|
6602 |
ac_status=$?
|
|
|
6603 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
6604 |
rm -f conftest.er1
|
|
|
6605 |
cat conftest.err >&5
|
|
|
6606 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
6607 |
(exit $ac_status); } && {
|
|
|
6608 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
6609 |
test ! -s conftest.err
|
|
|
6610 |
} && test -s conftest$ac_exeext && {
|
|
|
6611 |
test "$cross_compiling" = yes ||
|
|
|
6612 |
$as_test_x conftest$ac_exeext
|
|
|
6613 |
}; then
|
|
|
6614 |
ac_cv_func_remove=yes
|
|
|
6615 |
else
|
|
|
6616 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
6617 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
6618 |
|
|
|
6619 |
ac_cv_func_remove=no
|
|
|
6620 |
fi
|
5464 |
fi
|
6621 |
|
|
|
6622 |
rm -rf conftest.dSYM
|
|
|
6623 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
6624 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
6625 |
fi
|
|
|
6626 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
|
|
|
6627 |
$as_echo "$ac_cv_func_remove" >&6; }
|
|
|
6628 |
|
5465 |
|
6629 |
if test $ac_cv_func_remove = no; then
|
5466 |
if test $ac_cv_func_remove = no; then
|
6630 |
{ $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
|
5467 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
|
6631 |
$as_echo_n "checking for remove in -lposix... " >&6; }
|
5468 |
$as_echo_n "checking for remove in -lposix... " >&6; }
|
6632 |
if test "${ac_cv_lib_posix_remove+set}" = set; then
|
5469 |
if test "${ac_cv_lib_posix_remove+set}" = set; then :
|
6633 |
$as_echo_n "(cached) " >&6
|
5470 |
$as_echo_n "(cached) " >&6
|
6634 |
else
|
5471 |
else
|
6635 |
ac_check_lib_save_LIBS=$LIBS
|
5472 |
ac_check_lib_save_LIBS=$LIBS
|
6636 |
LIBS="-lposix $LIBS"
|
5473 |
LIBS="-lposix $LIBS"
|
6637 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
6638 |
/* confdefs.h. */
|
|
|
6639 |
_ACEOF
|
|
|
6640 |
cat confdefs.h >>conftest.$ac_ext
|
5474 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6641 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
6642 |
/* end confdefs.h. */
|
5475 |
/* end confdefs.h. */
|
6643 |
|
5476 |
|
6644 |
/* Override any GCC internal prototype to avoid an error.
|
5477 |
/* Override any GCC internal prototype to avoid an error.
|
6645 |
Use char because int might match the return type of a GCC
|
5478 |
Use char because int might match the return type of a GCC
|
6646 |
builtin and then its argument prototype would still apply. */
|
5479 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
6654 |
return remove ();
|
5487 |
return remove ();
|
6655 |
;
|
5488 |
;
|
6656 |
return 0;
|
5489 |
return 0;
|
6657 |
}
|
5490 |
}
|
6658 |
_ACEOF
|
5491 |
_ACEOF
|
6659 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5492 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
6660 |
if { (ac_try="$ac_link"
|
|
|
6661 |
case "(($ac_try" in
|
|
|
6662 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
6663 |
*) ac_try_echo=$ac_try;;
|
|
|
6664 |
esac
|
|
|
6665 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
6666 |
$as_echo "$ac_try_echo") >&5
|
|
|
6667 |
(eval "$ac_link") 2>conftest.er1
|
|
|
6668 |
ac_status=$?
|
|
|
6669 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
6670 |
rm -f conftest.er1
|
|
|
6671 |
cat conftest.err >&5
|
|
|
6672 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
6673 |
(exit $ac_status); } && {
|
|
|
6674 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
6675 |
test ! -s conftest.err
|
|
|
6676 |
} && test -s conftest$ac_exeext && {
|
|
|
6677 |
test "$cross_compiling" = yes ||
|
|
|
6678 |
$as_test_x conftest$ac_exeext
|
|
|
6679 |
}; then
|
|
|
6680 |
ac_cv_lib_posix_remove=yes
|
5493 |
ac_cv_lib_posix_remove=yes
|
6681 |
else
|
5494 |
else
|
6682 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
6683 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
6684 |
|
|
|
6685 |
ac_cv_lib_posix_remove=no
|
5495 |
ac_cv_lib_posix_remove=no
|
6686 |
fi
|
5496 |
fi
|
6687 |
|
|
|
6688 |
rm -rf conftest.dSYM
|
|
|
6689 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5497 |
rm -f core conftest.err conftest.$ac_objext \
|
6690 |
conftest$ac_exeext conftest.$ac_ext
|
5498 |
conftest$ac_exeext conftest.$ac_ext
|
6691 |
LIBS=$ac_check_lib_save_LIBS
|
5499 |
LIBS=$ac_check_lib_save_LIBS
|
6692 |
fi
|
5500 |
fi
|
6693 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
|
5501 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
|
6694 |
$as_echo "$ac_cv_lib_posix_remove" >&6; }
|
5502 |
$as_echo "$ac_cv_lib_posix_remove" >&6; }
|
6695 |
if test $ac_cv_lib_posix_remove = yes; then
|
5503 |
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
|
6696 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
|
5504 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
|
6697 |
fi
|
5505 |
fi
|
6698 |
|
5506 |
|
6699 |
fi
|
5507 |
fi
|
6700 |
|
5508 |
|
6701 |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
|
5509 |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
|
6702 |
{ $as_echo "$as_me:$LINENO: checking for shmat" >&5
|
5510 |
ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
|
6703 |
$as_echo_n "checking for shmat... " >&6; }
|
5511 |
if test "x$ac_cv_func_shmat" = x""yes; then :
|
6704 |
if test "${ac_cv_func_shmat+set}" = set; then
|
|
|
6705 |
$as_echo_n "(cached) " >&6
|
|
|
6706 |
else
|
|
|
6707 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
6708 |
/* confdefs.h. */
|
|
|
6709 |
_ACEOF
|
|
|
6710 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
6711 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
6712 |
/* end confdefs.h. */
|
|
|
6713 |
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
|
|
|
6714 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
6715 |
#define shmat innocuous_shmat
|
|
|
6716 |
|
5512 |
|
6717 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
6718 |
which can conflict with char shmat (); below.
|
|
|
6719 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
6720 |
<limits.h> exists even on freestanding compilers. */
|
|
|
6721 |
|
|
|
6722 |
#ifdef __STDC__
|
|
|
6723 |
# include <limits.h>
|
|
|
6724 |
#else
|
|
|
6725 |
# include <assert.h>
|
|
|
6726 |
#endif
|
|
|
6727 |
|
|
|
6728 |
#undef shmat
|
|
|
6729 |
|
|
|
6730 |
/* Override any GCC internal prototype to avoid an error.
|
|
|
6731 |
Use char because int might match the return type of a GCC
|
|
|
6732 |
builtin and then its argument prototype would still apply. */
|
|
|
6733 |
#ifdef __cplusplus
|
|
|
6734 |
extern "C"
|
|
|
6735 |
#endif
|
|
|
6736 |
char shmat ();
|
|
|
6737 |
/* The GNU C library defines this for functions which it implements
|
|
|
6738 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
6739 |
something starting with __ and the normal name is an alias. */
|
|
|
6740 |
#if defined __stub_shmat || defined __stub___shmat
|
|
|
6741 |
choke me
|
|
|
6742 |
#endif
|
|
|
6743 |
|
|
|
6744 |
int
|
|
|
6745 |
main ()
|
|
|
6746 |
{
|
|
|
6747 |
return shmat ();
|
|
|
6748 |
;
|
|
|
6749 |
return 0;
|
|
|
6750 |
}
|
|
|
6751 |
_ACEOF
|
|
|
6752 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
6753 |
if { (ac_try="$ac_link"
|
|
|
6754 |
case "(($ac_try" in
|
|
|
6755 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
6756 |
*) ac_try_echo=$ac_try;;
|
|
|
6757 |
esac
|
|
|
6758 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
6759 |
$as_echo "$ac_try_echo") >&5
|
|
|
6760 |
(eval "$ac_link") 2>conftest.er1
|
|
|
6761 |
ac_status=$?
|
|
|
6762 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
6763 |
rm -f conftest.er1
|
|
|
6764 |
cat conftest.err >&5
|
|
|
6765 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
6766 |
(exit $ac_status); } && {
|
|
|
6767 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
6768 |
test ! -s conftest.err
|
|
|
6769 |
} && test -s conftest$ac_exeext && {
|
|
|
6770 |
test "$cross_compiling" = yes ||
|
|
|
6771 |
$as_test_x conftest$ac_exeext
|
|
|
6772 |
}; then
|
|
|
6773 |
ac_cv_func_shmat=yes
|
|
|
6774 |
else
|
|
|
6775 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
6776 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
6777 |
|
|
|
6778 |
ac_cv_func_shmat=no
|
|
|
6779 |
fi
|
5513 |
fi
|
6780 |
|
|
|
6781 |
rm -rf conftest.dSYM
|
|
|
6782 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
6783 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
6784 |
fi
|
|
|
6785 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
|
|
|
6786 |
$as_echo "$ac_cv_func_shmat" >&6; }
|
|
|
6787 |
|
5514 |
|
6788 |
if test $ac_cv_func_shmat = no; then
|
5515 |
if test $ac_cv_func_shmat = no; then
|
6789 |
{ $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
|
5516 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
|
6790 |
$as_echo_n "checking for shmat in -lipc... " >&6; }
|
5517 |
$as_echo_n "checking for shmat in -lipc... " >&6; }
|
6791 |
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
|
5518 |
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
|
6792 |
$as_echo_n "(cached) " >&6
|
5519 |
$as_echo_n "(cached) " >&6
|
6793 |
else
|
5520 |
else
|
6794 |
ac_check_lib_save_LIBS=$LIBS
|
5521 |
ac_check_lib_save_LIBS=$LIBS
|
6795 |
LIBS="-lipc $LIBS"
|
5522 |
LIBS="-lipc $LIBS"
|
6796 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
6797 |
/* confdefs.h. */
|
|
|
6798 |
_ACEOF
|
|
|
6799 |
cat confdefs.h >>conftest.$ac_ext
|
5523 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6800 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
6801 |
/* end confdefs.h. */
|
5524 |
/* end confdefs.h. */
|
6802 |
|
5525 |
|
6803 |
/* Override any GCC internal prototype to avoid an error.
|
5526 |
/* Override any GCC internal prototype to avoid an error.
|
6804 |
Use char because int might match the return type of a GCC
|
5527 |
Use char because int might match the return type of a GCC
|
6805 |
builtin and then its argument prototype would still apply. */
|
5528 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
6813 |
return shmat ();
|
5536 |
return shmat ();
|
6814 |
;
|
5537 |
;
|
6815 |
return 0;
|
5538 |
return 0;
|
6816 |
}
|
5539 |
}
|
6817 |
_ACEOF
|
5540 |
_ACEOF
|
6818 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5541 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
6819 |
if { (ac_try="$ac_link"
|
|
|
6820 |
case "(($ac_try" in
|
|
|
6821 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
6822 |
*) ac_try_echo=$ac_try;;
|
|
|
6823 |
esac
|
|
|
6824 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
6825 |
$as_echo "$ac_try_echo") >&5
|
|
|
6826 |
(eval "$ac_link") 2>conftest.er1
|
|
|
6827 |
ac_status=$?
|
|
|
6828 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
6829 |
rm -f conftest.er1
|
|
|
6830 |
cat conftest.err >&5
|
|
|
6831 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
6832 |
(exit $ac_status); } && {
|
|
|
6833 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
6834 |
test ! -s conftest.err
|
|
|
6835 |
} && test -s conftest$ac_exeext && {
|
|
|
6836 |
test "$cross_compiling" = yes ||
|
|
|
6837 |
$as_test_x conftest$ac_exeext
|
|
|
6838 |
}; then
|
|
|
6839 |
ac_cv_lib_ipc_shmat=yes
|
5542 |
ac_cv_lib_ipc_shmat=yes
|
6840 |
else
|
5543 |
else
|
6841 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
6842 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
6843 |
|
|
|
6844 |
ac_cv_lib_ipc_shmat=no
|
5544 |
ac_cv_lib_ipc_shmat=no
|
6845 |
fi
|
5545 |
fi
|
6846 |
|
|
|
6847 |
rm -rf conftest.dSYM
|
|
|
6848 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5546 |
rm -f core conftest.err conftest.$ac_objext \
|
6849 |
conftest$ac_exeext conftest.$ac_ext
|
5547 |
conftest$ac_exeext conftest.$ac_ext
|
6850 |
LIBS=$ac_check_lib_save_LIBS
|
5548 |
LIBS=$ac_check_lib_save_LIBS
|
6851 |
fi
|
5549 |
fi
|
6852 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
|
5550 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
|
6853 |
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
|
5551 |
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
|
6854 |
if test $ac_cv_lib_ipc_shmat = yes; then
|
5552 |
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
|
6855 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
|
5553 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
|
6856 |
fi
|
5554 |
fi
|
6857 |
|
5555 |
|
6858 |
fi
|
5556 |
fi
|
6859 |
fi
|
5557 |
fi
|
|
... |
|
... |
6865 |
# check for ICE first), but we must link in the order -lSM -lICE or
|
5563 |
# check for ICE first), but we must link in the order -lSM -lICE or
|
6866 |
# we get undefined symbols. So assume we have SM if we have ICE.
|
5564 |
# we get undefined symbols. So assume we have SM if we have ICE.
|
6867 |
# These have to be linked with before -lX11, unlike the other
|
5565 |
# These have to be linked with before -lX11, unlike the other
|
6868 |
# libraries we check for below, so use a different variable.
|
5566 |
# libraries we check for below, so use a different variable.
|
6869 |
# John Interrante, Karl Berry
|
5567 |
# John Interrante, Karl Berry
|
6870 |
{ $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
|
5568 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
|
6871 |
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
|
5569 |
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
|
6872 |
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
|
5570 |
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
|
6873 |
$as_echo_n "(cached) " >&6
|
5571 |
$as_echo_n "(cached) " >&6
|
6874 |
else
|
5572 |
else
|
6875 |
ac_check_lib_save_LIBS=$LIBS
|
5573 |
ac_check_lib_save_LIBS=$LIBS
|
6876 |
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
|
5574 |
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
|
6877 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
6878 |
/* confdefs.h. */
|
|
|
6879 |
_ACEOF
|
|
|
6880 |
cat confdefs.h >>conftest.$ac_ext
|
5575 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6881 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
6882 |
/* end confdefs.h. */
|
5576 |
/* end confdefs.h. */
|
6883 |
|
5577 |
|
6884 |
/* Override any GCC internal prototype to avoid an error.
|
5578 |
/* Override any GCC internal prototype to avoid an error.
|
6885 |
Use char because int might match the return type of a GCC
|
5579 |
Use char because int might match the return type of a GCC
|
6886 |
builtin and then its argument prototype would still apply. */
|
5580 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
6894 |
return IceConnectionNumber ();
|
5588 |
return IceConnectionNumber ();
|
6895 |
;
|
5589 |
;
|
6896 |
return 0;
|
5590 |
return 0;
|
6897 |
}
|
5591 |
}
|
6898 |
_ACEOF
|
5592 |
_ACEOF
|
6899 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5593 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
6900 |
if { (ac_try="$ac_link"
|
|
|
6901 |
case "(($ac_try" in
|
|
|
6902 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
6903 |
*) ac_try_echo=$ac_try;;
|
|
|
6904 |
esac
|
|
|
6905 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
6906 |
$as_echo "$ac_try_echo") >&5
|
|
|
6907 |
(eval "$ac_link") 2>conftest.er1
|
|
|
6908 |
ac_status=$?
|
|
|
6909 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
6910 |
rm -f conftest.er1
|
|
|
6911 |
cat conftest.err >&5
|
|
|
6912 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
6913 |
(exit $ac_status); } && {
|
|
|
6914 |
test -z "$ac_cxx_werror_flag" ||
|
|
|
6915 |
test ! -s conftest.err
|
|
|
6916 |
} && test -s conftest$ac_exeext && {
|
|
|
6917 |
test "$cross_compiling" = yes ||
|
|
|
6918 |
$as_test_x conftest$ac_exeext
|
|
|
6919 |
}; then
|
|
|
6920 |
ac_cv_lib_ICE_IceConnectionNumber=yes
|
5594 |
ac_cv_lib_ICE_IceConnectionNumber=yes
|
6921 |
else
|
5595 |
else
|
6922 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
6923 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
6924 |
|
|
|
6925 |
ac_cv_lib_ICE_IceConnectionNumber=no
|
5596 |
ac_cv_lib_ICE_IceConnectionNumber=no
|
6926 |
fi
|
5597 |
fi
|
6927 |
|
|
|
6928 |
rm -rf conftest.dSYM
|
|
|
6929 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5598 |
rm -f core conftest.err conftest.$ac_objext \
|
6930 |
conftest$ac_exeext conftest.$ac_ext
|
5599 |
conftest$ac_exeext conftest.$ac_ext
|
6931 |
LIBS=$ac_check_lib_save_LIBS
|
5600 |
LIBS=$ac_check_lib_save_LIBS
|
6932 |
fi
|
5601 |
fi
|
6933 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
|
5602 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
|
6934 |
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
|
5603 |
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
|
6935 |
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
|
5604 |
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
|
6936 |
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
|
5605 |
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
|
6937 |
fi
|
5606 |
fi
|
6938 |
|
5607 |
|
6939 |
LDFLAGS=$ac_save_LDFLAGS
|
5608 |
LDFLAGS=$ac_save_LDFLAGS
|
6940 |
|
5609 |
|
6941 |
fi
|
5610 |
fi
|
6942 |
|
5611 |
|
6943 |
X_LIBX11=-lX11
|
5612 |
X_LIBX11=-lX11
|
6944 |
else
|
5613 |
else
|
6945 |
|
5614 |
|
6946 |
cat >>confdefs.h <<\_ACEOF
|
5615 |
$as_echo "#define DISABLE_X11MON 1" >>confdefs.h
|
6947 |
#define DISABLE_X11MON 1
|
|
|
6948 |
_ACEOF
|
|
|
6949 |
|
5616 |
|
6950 |
X_LIBX11=""
|
5617 |
X_LIBX11=""
|
6951 |
fi
|
5618 |
fi
|
6952 |
#echo X_CFLAGS "'$X_CFLAGS'" X_PRE_LIBS "'$X_PRE_LIBS'" X_LIBS \
|
5619 |
#echo X_CFLAGS "'$X_CFLAGS'" X_PRE_LIBS "'$X_PRE_LIBS'" X_LIBS \
|
6953 |
# "'$X_LIBS'" X_LIBX11 "'$X_LIBX11'" X_EXTRA_LIBS "'$X_EXTRA_LIBS'"
|
5620 |
# "'$X_LIBS'" X_LIBX11 "'$X_LIBX11'" X_EXTRA_LIBS "'$X_EXTRA_LIBS'"
|
|
... |
|
... |
6959 |
# qtgui Makefile
|
5626 |
# qtgui Makefile
|
6960 |
m_prefix=$prefix
|
5627 |
m_prefix=$prefix
|
6961 |
test "X$m_prefix" = "XNONE" && m_prefix=/usr/local
|
5628 |
test "X$m_prefix" = "XNONE" && m_prefix=/usr/local
|
6962 |
m_datadir=${m_prefix}/share
|
5629 |
m_datadir=${m_prefix}/share
|
6963 |
QTRECOLL_DATADIR=${m_datadir}/recoll
|
5630 |
QTRECOLL_DATADIR=${m_datadir}/recoll
|
|
|
5631 |
|
6964 |
|
5632 |
|
6965 |
|
5633 |
|
6966 |
|
5634 |
|
6967 |
|
5635 |
|
6968 |
|
5636 |
|
|
... |
|
... |
7022 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
5690 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
7023 |
eval ac_val=\$$ac_var
|
5691 |
eval ac_val=\$$ac_var
|
7024 |
case $ac_val in #(
|
5692 |
case $ac_val in #(
|
7025 |
*${as_nl}*)
|
5693 |
*${as_nl}*)
|
7026 |
case $ac_var in #(
|
5694 |
case $ac_var in #(
|
7027 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
5695 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
7028 |
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
5696 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
7029 |
esac
|
5697 |
esac
|
7030 |
case $ac_var in #(
|
5698 |
case $ac_var in #(
|
7031 |
_ | IFS | as_nl) ;; #(
|
5699 |
_ | IFS | as_nl) ;; #(
|
7032 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
5700 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
7033 |
*) $as_unset $ac_var ;;
|
5701 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
7034 |
esac ;;
|
5702 |
esac ;;
|
7035 |
esac
|
5703 |
esac
|
7036 |
done
|
5704 |
done
|
7037 |
|
5705 |
|
7038 |
(set) 2>&1 |
|
5706 |
(set) 2>&1 |
|
7039 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
5707 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
7040 |
*${as_nl}ac_space=\ *)
|
5708 |
*${as_nl}ac_space=\ *)
|
7041 |
# `set' does not quote correctly, so add quotes (double-quote
|
5709 |
# `set' does not quote correctly, so add quotes: double-quote
|
7042 |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
5710 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
7043 |
sed -n \
|
5711 |
sed -n \
|
7044 |
"s/'/'\\\\''/g;
|
5712 |
"s/'/'\\\\''/g;
|
7045 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
5713 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
7046 |
;; #(
|
5714 |
;; #(
|
7047 |
*)
|
5715 |
*)
|
|
... |
|
... |
7060 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
5728 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
7061 |
:end' >>confcache
|
5729 |
:end' >>confcache
|
7062 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
5730 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
7063 |
if test -w "$cache_file"; then
|
5731 |
if test -w "$cache_file"; then
|
7064 |
test "x$cache_file" != "x/dev/null" &&
|
5732 |
test "x$cache_file" != "x/dev/null" &&
|
7065 |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
5733 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
7066 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
5734 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
7067 |
cat confcache >$cache_file
|
5735 |
cat confcache >$cache_file
|
7068 |
else
|
5736 |
else
|
7069 |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
5737 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
7070 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
5738 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
7071 |
fi
|
5739 |
fi
|
7072 |
fi
|
5740 |
fi
|
7073 |
rm -f confcache
|
5741 |
rm -f confcache
|
7074 |
|
5742 |
|
|
... |
|
... |
7078 |
|
5746 |
|
7079 |
DEFS=-DHAVE_CONFIG_H
|
5747 |
DEFS=-DHAVE_CONFIG_H
|
7080 |
|
5748 |
|
7081 |
ac_libobjs=
|
5749 |
ac_libobjs=
|
7082 |
ac_ltlibobjs=
|
5750 |
ac_ltlibobjs=
|
|
|
5751 |
U=
|
7083 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
5752 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
7084 |
# 1. Remove the extension, and $U if already installed.
|
5753 |
# 1. Remove the extension, and $U if already installed.
|
7085 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
5754 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
7086 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
5755 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
7087 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
5756 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
7088 |
# will be set to the directory where LIBOBJS objects are built.
|
5757 |
# will be set to the directory where LIBOBJS objects are built.
|
7089 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
5758 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
7090 |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
5759 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
7091 |
done
|
5760 |
done
|
7092 |
LIBOBJS=$ac_libobjs
|
5761 |
LIBOBJS=$ac_libobjs
|
7093 |
|
5762 |
|
7094 |
LTLIBOBJS=$ac_ltlibobjs
|
5763 |
LTLIBOBJS=$ac_ltlibobjs
|
7095 |
|
5764 |
|
|
... |
|
... |
7097 |
|
5766 |
|
7098 |
: ${CONFIG_STATUS=./config.status}
|
5767 |
: ${CONFIG_STATUS=./config.status}
|
7099 |
ac_write_fail=0
|
5768 |
ac_write_fail=0
|
7100 |
ac_clean_files_save=$ac_clean_files
|
5769 |
ac_clean_files_save=$ac_clean_files
|
7101 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
5770 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
7102 |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
5771 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
7103 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
5772 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
|
5773 |
as_write_fail=0
|
7104 |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
5774 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
7105 |
#! $SHELL
|
5775 |
#! $SHELL
|
7106 |
# Generated by $as_me.
|
5776 |
# Generated by $as_me.
|
7107 |
# Run this file to recreate the current configuration.
|
5777 |
# Run this file to recreate the current configuration.
|
7108 |
# Compiler output produced by configure, useful for debugging
|
5778 |
# Compiler output produced by configure, useful for debugging
|
7109 |
# configure, is in config.log if it exists.
|
5779 |
# configure, is in config.log if it exists.
|
7110 |
|
5780 |
|
7111 |
debug=false
|
5781 |
debug=false
|
7112 |
ac_cs_recheck=false
|
5782 |
ac_cs_recheck=false
|
7113 |
ac_cs_silent=false
|
5783 |
ac_cs_silent=false
|
|
|
5784 |
|
7114 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
5785 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
|
|
5786 |
export SHELL
|
7115 |
_ACEOF
|
5787 |
_ASEOF
|
7116 |
|
|
|
7117 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5788 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
7118 |
## --------------------- ##
|
5789 |
## -------------------- ##
|
7119 |
## M4sh Initialization. ##
|
5790 |
## M4sh Initialization. ##
|
7120 |
## --------------------- ##
|
5791 |
## -------------------- ##
|
7121 |
|
5792 |
|
7122 |
# Be more Bourne compatible
|
5793 |
# Be more Bourne compatible
|
7123 |
DUALCASE=1; export DUALCASE # for MKS sh
|
5794 |
DUALCASE=1; export DUALCASE # for MKS sh
|
7124 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
5795 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
7125 |
emulate sh
|
5796 |
emulate sh
|
7126 |
NULLCMD=:
|
5797 |
NULLCMD=:
|
7127 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
5798 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
7128 |
# is contrary to our usage. Disable this feature.
|
5799 |
# is contrary to our usage. Disable this feature.
|
7129 |
alias -g '${1+"$@"}'='"$@"'
|
5800 |
alias -g '${1+"$@"}'='"$@"'
|
7130 |
setopt NO_GLOB_SUBST
|
5801 |
setopt NO_GLOB_SUBST
|
7131 |
else
|
5802 |
else
|
7132 |
case `(set -o) 2>/dev/null` in
|
5803 |
case `(set -o) 2>/dev/null` in #(
|
7133 |
*posix*) set -o posix ;;
|
5804 |
*posix*) :
|
|
|
5805 |
set -o posix ;; #(
|
|
|
5806 |
*) :
|
|
|
5807 |
;;
|
7134 |
esac
|
5808 |
esac
|
7135 |
|
|
|
7136 |
fi
|
5809 |
fi
|
7137 |
|
5810 |
|
7138 |
|
|
|
7139 |
|
|
|
7140 |
|
|
|
7141 |
# PATH needs CR
|
|
|
7142 |
# Avoid depending upon Character Ranges.
|
|
|
7143 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
|
7144 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
7145 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
|
7146 |
as_cr_digits='0123456789'
|
|
|
7147 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
|
7148 |
|
5811 |
|
7149 |
as_nl='
|
5812 |
as_nl='
|
7150 |
'
|
5813 |
'
|
7151 |
export as_nl
|
5814 |
export as_nl
|
7152 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
5815 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
7153 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
5816 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
7154 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
5817 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
7155 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
5818 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
|
5819 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
|
5820 |
# but without wasting forks for bash or zsh.
|
|
|
5821 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
|
5822 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
|
5823 |
as_echo='print -r --'
|
|
|
5824 |
as_echo_n='print -rn --'
|
7156 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
5825 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
7157 |
as_echo='printf %s\n'
|
5826 |
as_echo='printf %s\n'
|
7158 |
as_echo_n='printf %s'
|
5827 |
as_echo_n='printf %s'
|
7159 |
else
|
5828 |
else
|
7160 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
5829 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
7161 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
5830 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
7162 |
as_echo_n='/usr/ucb/echo -n'
|
5831 |
as_echo_n='/usr/ucb/echo -n'
|
7163 |
else
|
5832 |
else
|
7164 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
5833 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
7165 |
as_echo_n_body='eval
|
5834 |
as_echo_n_body='eval
|
7166 |
arg=$1;
|
5835 |
arg=$1;
|
7167 |
case $arg in
|
5836 |
case $arg in #(
|
7168 |
*"$as_nl"*)
|
5837 |
*"$as_nl"*)
|
7169 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
5838 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
7170 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
5839 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
7171 |
esac;
|
5840 |
esac;
|
7172 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
5841 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
... |
|
... |
7185 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
5854 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
7186 |
PATH_SEPARATOR=';'
|
5855 |
PATH_SEPARATOR=';'
|
7187 |
}
|
5856 |
}
|
7188 |
fi
|
5857 |
fi
|
7189 |
|
5858 |
|
7190 |
# Support unset when possible.
|
|
|
7191 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
|
7192 |
as_unset=unset
|
|
|
7193 |
else
|
|
|
7194 |
as_unset=false
|
|
|
7195 |
fi
|
|
|
7196 |
|
|
|
7197 |
|
5859 |
|
7198 |
# IFS
|
5860 |
# IFS
|
7199 |
# We need space, tab and new line, in precisely that order. Quoting is
|
5861 |
# We need space, tab and new line, in precisely that order. Quoting is
|
7200 |
# there to prevent editors from complaining about space-tab.
|
5862 |
# there to prevent editors from complaining about space-tab.
|
7201 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
5863 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
7202 |
# splitting by setting IFS to empty value.)
|
5864 |
# splitting by setting IFS to empty value.)
|
7203 |
IFS=" "" $as_nl"
|
5865 |
IFS=" "" $as_nl"
|
7204 |
|
5866 |
|
7205 |
# Find who we are. Look in the path if we contain no directory separator.
|
5867 |
# Find who we are. Look in the path if we contain no directory separator.
|
7206 |
case $0 in
|
5868 |
case $0 in #((
|
7207 |
*[\\/]* ) as_myself=$0 ;;
|
5869 |
*[\\/]* ) as_myself=$0 ;;
|
7208 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5870 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
7209 |
for as_dir in $PATH
|
5871 |
for as_dir in $PATH
|
7210 |
do
|
5872 |
do
|
7211 |
IFS=$as_save_IFS
|
5873 |
IFS=$as_save_IFS
|
7212 |
test -z "$as_dir" && as_dir=.
|
5874 |
test -z "$as_dir" && as_dir=.
|
7213 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
5875 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
7214 |
done
|
5876 |
done
|
7215 |
IFS=$as_save_IFS
|
5877 |
IFS=$as_save_IFS
|
7216 |
|
5878 |
|
7217 |
;;
|
5879 |
;;
|
7218 |
esac
|
5880 |
esac
|
7219 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
5881 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
... |
|
... |
7221 |
if test "x$as_myself" = x; then
|
5883 |
if test "x$as_myself" = x; then
|
7222 |
as_myself=$0
|
5884 |
as_myself=$0
|
7223 |
fi
|
5885 |
fi
|
7224 |
if test ! -f "$as_myself"; then
|
5886 |
if test ! -f "$as_myself"; then
|
7225 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
5887 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
7226 |
{ (exit 1); exit 1; }
|
5888 |
exit 1
|
7227 |
fi
|
5889 |
fi
|
7228 |
|
5890 |
|
7229 |
# Work around bugs in pre-3.0 UWIN ksh.
|
5891 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
|
5892 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
|
5893 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
|
5894 |
# trigger a bug in pdksh 5.2.14.
|
7230 |
for as_var in ENV MAIL MAILPATH
|
5895 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
|
5896 |
do eval test x\${$as_var+set} = xset \
|
7231 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
5897 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
7232 |
done
|
5898 |
done
|
7233 |
PS1='$ '
|
5899 |
PS1='$ '
|
7234 |
PS2='> '
|
5900 |
PS2='> '
|
7235 |
PS4='+ '
|
5901 |
PS4='+ '
|
7236 |
|
5902 |
|
|
... |
|
... |
7238 |
LC_ALL=C
|
5904 |
LC_ALL=C
|
7239 |
export LC_ALL
|
5905 |
export LC_ALL
|
7240 |
LANGUAGE=C
|
5906 |
LANGUAGE=C
|
7241 |
export LANGUAGE
|
5907 |
export LANGUAGE
|
7242 |
|
5908 |
|
7243 |
# Required to use basename.
|
5909 |
# CDPATH.
|
|
|
5910 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
|
5911 |
|
|
|
5912 |
|
|
|
5913 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
|
5914 |
# ----------------------------------------
|
|
|
5915 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
|
5916 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
|
5917 |
# script with STATUS, using 1 if that was 0.
|
|
|
5918 |
as_fn_error ()
|
|
|
5919 |
{
|
|
|
5920 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
|
5921 |
if test "$4"; then
|
|
|
5922 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
5923 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
|
5924 |
fi
|
|
|
5925 |
$as_echo "$as_me: error: $2" >&2
|
|
|
5926 |
as_fn_exit $as_status
|
|
|
5927 |
} # as_fn_error
|
|
|
5928 |
|
|
|
5929 |
|
|
|
5930 |
# as_fn_set_status STATUS
|
|
|
5931 |
# -----------------------
|
|
|
5932 |
# Set $? to STATUS, without forking.
|
|
|
5933 |
as_fn_set_status ()
|
|
|
5934 |
{
|
|
|
5935 |
return $1
|
|
|
5936 |
} # as_fn_set_status
|
|
|
5937 |
|
|
|
5938 |
# as_fn_exit STATUS
|
|
|
5939 |
# -----------------
|
|
|
5940 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
|
5941 |
as_fn_exit ()
|
|
|
5942 |
{
|
|
|
5943 |
set +e
|
|
|
5944 |
as_fn_set_status $1
|
|
|
5945 |
exit $1
|
|
|
5946 |
} # as_fn_exit
|
|
|
5947 |
|
|
|
5948 |
# as_fn_unset VAR
|
|
|
5949 |
# ---------------
|
|
|
5950 |
# Portably unset VAR.
|
|
|
5951 |
as_fn_unset ()
|
|
|
5952 |
{
|
|
|
5953 |
{ eval $1=; unset $1;}
|
|
|
5954 |
}
|
|
|
5955 |
as_unset=as_fn_unset
|
|
|
5956 |
# as_fn_append VAR VALUE
|
|
|
5957 |
# ----------------------
|
|
|
5958 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
|
5959 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
|
5960 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
|
5961 |
# implementations.
|
|
|
5962 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
|
5963 |
eval 'as_fn_append ()
|
|
|
5964 |
{
|
|
|
5965 |
eval $1+=\$2
|
|
|
5966 |
}'
|
|
|
5967 |
else
|
|
|
5968 |
as_fn_append ()
|
|
|
5969 |
{
|
|
|
5970 |
eval $1=\$$1\$2
|
|
|
5971 |
}
|
|
|
5972 |
fi # as_fn_append
|
|
|
5973 |
|
|
|
5974 |
# as_fn_arith ARG...
|
|
|
5975 |
# ------------------
|
|
|
5976 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
|
5977 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
|
5978 |
# must be portable across $(()) and expr.
|
|
|
5979 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
|
5980 |
eval 'as_fn_arith ()
|
|
|
5981 |
{
|
|
|
5982 |
as_val=$(( $* ))
|
|
|
5983 |
}'
|
|
|
5984 |
else
|
|
|
5985 |
as_fn_arith ()
|
|
|
5986 |
{
|
|
|
5987 |
as_val=`expr "$@" || test $? -eq 1`
|
|
|
5988 |
}
|
|
|
5989 |
fi # as_fn_arith
|
|
|
5990 |
|
|
|
5991 |
|
7244 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
5992 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
7245 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
5993 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
7246 |
as_expr=expr
|
5994 |
as_expr=expr
|
7247 |
else
|
5995 |
else
|
7248 |
as_expr=false
|
5996 |
as_expr=false
|
|
... |
|
... |
7252 |
as_basename=basename
|
6000 |
as_basename=basename
|
7253 |
else
|
6001 |
else
|
7254 |
as_basename=false
|
6002 |
as_basename=false
|
7255 |
fi
|
6003 |
fi
|
7256 |
|
6004 |
|
|
|
6005 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
|
6006 |
as_dirname=dirname
|
|
|
6007 |
else
|
|
|
6008 |
as_dirname=false
|
|
|
6009 |
fi
|
7257 |
|
6010 |
|
7258 |
# Name of the executable.
|
|
|
7259 |
as_me=`$as_basename -- "$0" ||
|
6011 |
as_me=`$as_basename -- "$0" ||
|
7260 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
6012 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
7261 |
X"$0" : 'X\(//\)$' \| \
|
6013 |
X"$0" : 'X\(//\)$' \| \
|
7262 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
6014 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
7263 |
$as_echo X/"$0" |
|
6015 |
$as_echo X/"$0" |
|
|
... |
|
... |
7273 |
s//\1/
|
6025 |
s//\1/
|
7274 |
q
|
6026 |
q
|
7275 |
}
|
6027 |
}
|
7276 |
s/.*/./; q'`
|
6028 |
s/.*/./; q'`
|
7277 |
|
6029 |
|
7278 |
# CDPATH.
|
6030 |
# Avoid depending upon Character Ranges.
|
7279 |
$as_unset CDPATH
|
6031 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
7280 |
|
6032 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
7281 |
|
6033 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
7282 |
|
6034 |
as_cr_digits='0123456789'
|
7283 |
as_lineno_1=$LINENO
|
6035 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
7284 |
as_lineno_2=$LINENO
|
|
|
7285 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
|
7286 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
|
|
7287 |
|
|
|
7288 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
|
7289 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
|
|
7290 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
|
7291 |
# does the real work. The second script uses 'N' to pair each
|
|
|
7292 |
# line-number line with the line containing $LINENO, and appends
|
|
|
7293 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
|
7294 |
# case at line end.
|
|
|
7295 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
|
7296 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
|
7297 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
|
7298 |
sed -n '
|
|
|
7299 |
p
|
|
|
7300 |
/[$]LINENO/=
|
|
|
7301 |
' <$as_myself |
|
|
|
7302 |
sed '
|
|
|
7303 |
s/[$]LINENO.*/&-/
|
|
|
7304 |
t lineno
|
|
|
7305 |
b
|
|
|
7306 |
:lineno
|
|
|
7307 |
N
|
|
|
7308 |
:loop
|
|
|
7309 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
|
|
7310 |
t loop
|
|
|
7311 |
s/-\n.*//
|
|
|
7312 |
' >$as_me.lineno &&
|
|
|
7313 |
chmod +x "$as_me.lineno" ||
|
|
|
7314 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
|
|
7315 |
{ (exit 1); exit 1; }; }
|
|
|
7316 |
|
|
|
7317 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
|
|
7318 |
# (the dirname of $[0] is not the place where we might find the
|
|
|
7319 |
# original and so on. Autoconf is especially sensitive to this).
|
|
|
7320 |
. "./$as_me.lineno"
|
|
|
7321 |
# Exit status is that of the last command.
|
|
|
7322 |
exit
|
|
|
7323 |
}
|
|
|
7324 |
|
|
|
7325 |
|
|
|
7326 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
|
7327 |
as_dirname=dirname
|
|
|
7328 |
else
|
|
|
7329 |
as_dirname=false
|
|
|
7330 |
fi
|
|
|
7331 |
|
6036 |
|
7332 |
ECHO_C= ECHO_N= ECHO_T=
|
6037 |
ECHO_C= ECHO_N= ECHO_T=
|
7333 |
case `echo -n x` in
|
6038 |
case `echo -n x` in #(((((
|
7334 |
-n*)
|
6039 |
-n*)
|
7335 |
case `echo 'x\c'` in
|
6040 |
case `echo 'xy\c'` in
|
7336 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
6041 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
7337 |
*) ECHO_C='\c';;
|
6042 |
xy) ECHO_C='\c';;
|
|
|
6043 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
|
6044 |
ECHO_T=' ';;
|
7338 |
esac;;
|
6045 |
esac;;
|
7339 |
*)
|
6046 |
*)
|
7340 |
ECHO_N='-n';;
|
6047 |
ECHO_N='-n';;
|
7341 |
esac
|
6048 |
esac
|
7342 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
|
7343 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
|
7344 |
as_expr=expr
|
|
|
7345 |
else
|
|
|
7346 |
as_expr=false
|
|
|
7347 |
fi
|
|
|
7348 |
|
6049 |
|
7349 |
rm -f conf$$ conf$$.exe conf$$.file
|
6050 |
rm -f conf$$ conf$$.exe conf$$.file
|
7350 |
if test -d conf$$.dir; then
|
6051 |
if test -d conf$$.dir; then
|
7351 |
rm -f conf$$.dir/conf$$.file
|
6052 |
rm -f conf$$.dir/conf$$.file
|
7352 |
else
|
6053 |
else
|
|
... |
|
... |
7371 |
as_ln_s='cp -p'
|
6072 |
as_ln_s='cp -p'
|
7372 |
fi
|
6073 |
fi
|
7373 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
6074 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
7374 |
rmdir conf$$.dir 2>/dev/null
|
6075 |
rmdir conf$$.dir 2>/dev/null
|
7375 |
|
6076 |
|
|
|
6077 |
|
|
|
6078 |
# as_fn_mkdir_p
|
|
|
6079 |
# -------------
|
|
|
6080 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
|
6081 |
as_fn_mkdir_p ()
|
|
|
6082 |
{
|
|
|
6083 |
|
|
|
6084 |
case $as_dir in #(
|
|
|
6085 |
-*) as_dir=./$as_dir;;
|
|
|
6086 |
esac
|
|
|
6087 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
|
6088 |
as_dirs=
|
|
|
6089 |
while :; do
|
|
|
6090 |
case $as_dir in #(
|
|
|
6091 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
|
6092 |
*) as_qdir=$as_dir;;
|
|
|
6093 |
esac
|
|
|
6094 |
as_dirs="'$as_qdir' $as_dirs"
|
|
|
6095 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
|
6096 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
6097 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
|
6098 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
|
6099 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
6100 |
$as_echo X"$as_dir" |
|
|
|
6101 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
|
6102 |
s//\1/
|
|
|
6103 |
q
|
|
|
6104 |
}
|
|
|
6105 |
/^X\(\/\/\)[^/].*/{
|
|
|
6106 |
s//\1/
|
|
|
6107 |
q
|
|
|
6108 |
}
|
|
|
6109 |
/^X\(\/\/\)$/{
|
|
|
6110 |
s//\1/
|
|
|
6111 |
q
|
|
|
6112 |
}
|
|
|
6113 |
/^X\(\/\).*/{
|
|
|
6114 |
s//\1/
|
|
|
6115 |
q
|
|
|
6116 |
}
|
|
|
6117 |
s/.*/./; q'`
|
|
|
6118 |
test -d "$as_dir" && break
|
|
|
6119 |
done
|
|
|
6120 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
|
6121 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
|
|
6122 |
|
|
|
6123 |
|
|
|
6124 |
} # as_fn_mkdir_p
|
7376 |
if mkdir -p . 2>/dev/null; then
|
6125 |
if mkdir -p . 2>/dev/null; then
|
7377 |
as_mkdir_p=:
|
6126 |
as_mkdir_p='mkdir -p "$as_dir"'
|
7378 |
else
|
6127 |
else
|
7379 |
test -d ./-p && rmdir ./-p
|
6128 |
test -d ./-p && rmdir ./-p
|
7380 |
as_mkdir_p=false
|
6129 |
as_mkdir_p=false
|
7381 |
fi
|
6130 |
fi
|
7382 |
|
6131 |
|
|
... |
|
... |
7391 |
as_test_x='
|
6140 |
as_test_x='
|
7392 |
eval sh -c '\''
|
6141 |
eval sh -c '\''
|
7393 |
if test -d "$1"; then
|
6142 |
if test -d "$1"; then
|
7394 |
test -d "$1/.";
|
6143 |
test -d "$1/.";
|
7395 |
else
|
6144 |
else
|
7396 |
case $1 in
|
6145 |
case $1 in #(
|
7397 |
-*)set "./$1";;
|
6146 |
-*)set "./$1";;
|
7398 |
esac;
|
6147 |
esac;
|
7399 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
6148 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
7400 |
???[sx]*):;;*)false;;esac;fi
|
6149 |
???[sx]*):;;*)false;;esac;fi
|
7401 |
'\'' sh
|
6150 |
'\'' sh
|
7402 |
'
|
6151 |
'
|
7403 |
fi
|
6152 |
fi
|
7404 |
as_executable_p=$as_test_x
|
6153 |
as_executable_p=$as_test_x
|
|
... |
|
... |
7409 |
# Sed expression to map a string onto a valid variable name.
|
6158 |
# Sed expression to map a string onto a valid variable name.
|
7410 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
6159 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
7411 |
|
6160 |
|
7412 |
|
6161 |
|
7413 |
exec 6>&1
|
6162 |
exec 6>&1
|
|
|
6163 |
## ----------------------------------- ##
|
|
|
6164 |
## Main body of $CONFIG_STATUS script. ##
|
|
|
6165 |
## ----------------------------------- ##
|
|
|
6166 |
_ASEOF
|
|
|
6167 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
7414 |
|
6168 |
|
|
|
6169 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
7415 |
# Save the log message, to keep $[0] and so on meaningful, and to
|
6170 |
# Save the log message, to keep $0 and so on meaningful, and to
|
7416 |
# report actual input values of CONFIG_FILES etc. instead of their
|
6171 |
# report actual input values of CONFIG_FILES etc. instead of their
|
7417 |
# values after options handling.
|
6172 |
# values after options handling.
|
7418 |
ac_log="
|
6173 |
ac_log="
|
7419 |
This file was extended by Recoll $as_me 1.6, which was
|
6174 |
This file was extended by Recoll $as_me 1.6, which was
|
7420 |
generated by GNU Autoconf 2.62. Invocation command line was
|
6175 |
generated by GNU Autoconf 2.67. Invocation command line was
|
7421 |
|
6176 |
|
7422 |
CONFIG_FILES = $CONFIG_FILES
|
6177 |
CONFIG_FILES = $CONFIG_FILES
|
7423 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
6178 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
7424 |
CONFIG_LINKS = $CONFIG_LINKS
|
6179 |
CONFIG_LINKS = $CONFIG_LINKS
|
7425 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
6180 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
... |
|
... |
7428 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
6183 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
7429 |
"
|
6184 |
"
|
7430 |
|
6185 |
|
7431 |
_ACEOF
|
6186 |
_ACEOF
|
7432 |
|
6187 |
|
|
|
6188 |
case $ac_config_files in *"
|
|
|
6189 |
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
|
|
6190 |
esac
|
|
|
6191 |
|
|
|
6192 |
case $ac_config_headers in *"
|
|
|
6193 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
|
|
6194 |
esac
|
|
|
6195 |
|
|
|
6196 |
|
7433 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
6197 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
7434 |
# Files that config.status was made for.
|
6198 |
# Files that config.status was made for.
|
7435 |
config_files="$ac_config_files"
|
6199 |
config_files="$ac_config_files"
|
7436 |
config_headers="$ac_config_headers"
|
6200 |
config_headers="$ac_config_headers"
|
7437 |
|
6201 |
|
7438 |
_ACEOF
|
6202 |
_ACEOF
|
7439 |
|
6203 |
|
7440 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
6204 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
7441 |
ac_cs_usage="\
|
6205 |
ac_cs_usage="\
|
7442 |
\`$as_me' instantiates files from templates according to the
|
6206 |
\`$as_me' instantiates files and other configuration actions
|
7443 |
current configuration.
|
6207 |
from templates according to the current configuration. Unless the files
|
|
|
6208 |
and actions are specified as TAGs, all are instantiated by default.
|
7444 |
|
6209 |
|
7445 |
Usage: $0 [OPTIONS] [FILE]...
|
6210 |
Usage: $0 [OPTION]... [TAG]...
|
7446 |
|
6211 |
|
7447 |
-h, --help print this help, then exit
|
6212 |
-h, --help print this help, then exit
|
7448 |
-V, --version print version number and configuration settings, then exit
|
6213 |
-V, --version print version number and configuration settings, then exit
|
|
|
6214 |
--config print configuration, then exit
|
|
|
6215 |
-q, --quiet, --silent
|
7449 |
-q, --quiet do not print progress messages
|
6216 |
do not print progress messages
|
7450 |
-d, --debug don't remove temporary files
|
6217 |
-d, --debug don't remove temporary files
|
7451 |
--recheck update $as_me by reconfiguring in the same conditions
|
6218 |
--recheck update $as_me by reconfiguring in the same conditions
|
7452 |
--file=FILE[:TEMPLATE]
|
6219 |
--file=FILE[:TEMPLATE]
|
7453 |
instantiate the configuration file FILE
|
6220 |
instantiate the configuration file FILE
|
7454 |
--header=FILE[:TEMPLATE]
|
6221 |
--header=FILE[:TEMPLATE]
|
7455 |
instantiate the configuration header FILE
|
6222 |
instantiate the configuration header FILE
|
7456 |
|
6223 |
|
7457 |
Configuration files:
|
6224 |
Configuration files:
|
7458 |
$config_files
|
6225 |
$config_files
|
7459 |
|
6226 |
|
7460 |
Configuration headers:
|
6227 |
Configuration headers:
|
7461 |
$config_headers
|
6228 |
$config_headers
|
7462 |
|
6229 |
|
7463 |
Report bugs to <bug-autoconf@gnu.org>."
|
6230 |
Report bugs to the package provider."
|
7464 |
|
6231 |
|
7465 |
_ACEOF
|
6232 |
_ACEOF
|
7466 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
6233 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
6234 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
7467 |
ac_cs_version="\\
|
6235 |
ac_cs_version="\\
|
7468 |
Recoll config.status 1.6
|
6236 |
Recoll config.status 1.6
|
7469 |
configured by $0, generated by GNU Autoconf 2.62,
|
6237 |
configured by $0, generated by GNU Autoconf 2.67,
|
7470 |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
6238 |
with options \\"\$ac_cs_config\\"
|
7471 |
|
6239 |
|
7472 |
Copyright (C) 2008 Free Software Foundation, Inc.
|
6240 |
Copyright (C) 2010 Free Software Foundation, Inc.
|
7473 |
This config.status script is free software; the Free Software Foundation
|
6241 |
This config.status script is free software; the Free Software Foundation
|
7474 |
gives unlimited permission to copy, distribute and modify it."
|
6242 |
gives unlimited permission to copy, distribute and modify it."
|
7475 |
|
6243 |
|
7476 |
ac_pwd='$ac_pwd'
|
6244 |
ac_pwd='$ac_pwd'
|
7477 |
srcdir='$srcdir'
|
6245 |
srcdir='$srcdir'
|
|
... |
|
... |
7482 |
# The default lists apply if the user does not specify any file.
|
6250 |
# The default lists apply if the user does not specify any file.
|
7483 |
ac_need_defaults=:
|
6251 |
ac_need_defaults=:
|
7484 |
while test $# != 0
|
6252 |
while test $# != 0
|
7485 |
do
|
6253 |
do
|
7486 |
case $1 in
|
6254 |
case $1 in
|
7487 |
--*=*)
|
6255 |
--*=?*)
|
7488 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
6256 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
7489 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
6257 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
|
6258 |
ac_shift=:
|
|
|
6259 |
;;
|
|
|
6260 |
--*=)
|
|
|
6261 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
|
6262 |
ac_optarg=
|
7490 |
ac_shift=:
|
6263 |
ac_shift=:
|
7491 |
;;
|
6264 |
;;
|
7492 |
*)
|
6265 |
*)
|
7493 |
ac_option=$1
|
6266 |
ac_option=$1
|
7494 |
ac_optarg=$2
|
6267 |
ac_optarg=$2
|
|
... |
|
... |
7500 |
# Handling of the options.
|
6273 |
# Handling of the options.
|
7501 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
6274 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
7502 |
ac_cs_recheck=: ;;
|
6275 |
ac_cs_recheck=: ;;
|
7503 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
6276 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
7504 |
$as_echo "$ac_cs_version"; exit ;;
|
6277 |
$as_echo "$ac_cs_version"; exit ;;
|
|
|
6278 |
--config | --confi | --conf | --con | --co | --c )
|
|
|
6279 |
$as_echo "$ac_cs_config"; exit ;;
|
7505 |
--debug | --debu | --deb | --de | --d | -d )
|
6280 |
--debug | --debu | --deb | --de | --d | -d )
|
7506 |
debug=: ;;
|
6281 |
debug=: ;;
|
7507 |
--file | --fil | --fi | --f )
|
6282 |
--file | --fil | --fi | --f )
|
7508 |
$ac_shift
|
6283 |
$ac_shift
|
7509 |
case $ac_optarg in
|
6284 |
case $ac_optarg in
|
7510 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
6285 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
|
6286 |
'') as_fn_error $? "missing file argument" ;;
|
7511 |
esac
|
6287 |
esac
|
7512 |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
|
6288 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
7513 |
ac_need_defaults=false;;
|
6289 |
ac_need_defaults=false;;
|
7514 |
--header | --heade | --head | --hea )
|
6290 |
--header | --heade | --head | --hea )
|
7515 |
$ac_shift
|
6291 |
$ac_shift
|
7516 |
case $ac_optarg in
|
6292 |
case $ac_optarg in
|
7517 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
6293 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
7518 |
esac
|
6294 |
esac
|
7519 |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
|
6295 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
7520 |
ac_need_defaults=false;;
|
6296 |
ac_need_defaults=false;;
|
7521 |
--he | --h)
|
6297 |
--he | --h)
|
7522 |
# Conflict between --help and --header
|
6298 |
# Conflict between --help and --header
|
7523 |
{ $as_echo "$as_me: error: ambiguous option: $1
|
6299 |
as_fn_error $? "ambiguous option: \`$1'
|
7524 |
Try \`$0 --help' for more information." >&2
|
6300 |
Try \`$0 --help' for more information.";;
|
7525 |
{ (exit 1); exit 1; }; };;
|
|
|
7526 |
--help | --hel | -h )
|
6301 |
--help | --hel | -h )
|
7527 |
$as_echo "$ac_cs_usage"; exit ;;
|
6302 |
$as_echo "$ac_cs_usage"; exit ;;
|
7528 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
6303 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
7529 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
6304 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
7530 |
ac_cs_silent=: ;;
|
6305 |
ac_cs_silent=: ;;
|
7531 |
|
6306 |
|
7532 |
# This is an error.
|
6307 |
# This is an error.
|
7533 |
-*) { $as_echo "$as_me: error: unrecognized option: $1
|
6308 |
-*) as_fn_error $? "unrecognized option: \`$1'
|
7534 |
Try \`$0 --help' for more information." >&2
|
6309 |
Try \`$0 --help' for more information." ;;
|
7535 |
{ (exit 1); exit 1; }; } ;;
|
|
|
7536 |
|
6310 |
|
7537 |
*) ac_config_targets="$ac_config_targets $1"
|
6311 |
*) as_fn_append ac_config_targets " $1"
|
7538 |
ac_need_defaults=false ;;
|
6312 |
ac_need_defaults=false ;;
|
7539 |
|
6313 |
|
7540 |
esac
|
6314 |
esac
|
7541 |
shift
|
6315 |
shift
|
7542 |
done
|
6316 |
done
|
|
... |
|
... |
7585 |
"mk/localdefs") CONFIG_FILES="$CONFIG_FILES mk/localdefs" ;;
|
6359 |
"mk/localdefs") CONFIG_FILES="$CONFIG_FILES mk/localdefs" ;;
|
7586 |
"recollinstall") CONFIG_FILES="$CONFIG_FILES recollinstall" ;;
|
6360 |
"recollinstall") CONFIG_FILES="$CONFIG_FILES recollinstall" ;;
|
7587 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
6361 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
7588 |
"sampleconf/recoll.conf") CONFIG_FILES="$CONFIG_FILES sampleconf/recoll.conf" ;;
|
6362 |
"sampleconf/recoll.conf") CONFIG_FILES="$CONFIG_FILES sampleconf/recoll.conf" ;;
|
7589 |
|
6363 |
|
7590 |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
6364 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
7591 |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
|
|
7592 |
{ (exit 1); exit 1; }; };;
|
|
|
7593 |
esac
|
6365 |
esac
|
7594 |
done
|
6366 |
done
|
7595 |
|
6367 |
|
7596 |
|
6368 |
|
7597 |
# If the user did not use the arguments to specify the items to instantiate,
|
6369 |
# If the user did not use the arguments to specify the items to instantiate,
|
|
... |
|
... |
7613 |
{
|
6385 |
{
|
7614 |
tmp=
|
6386 |
tmp=
|
7615 |
trap 'exit_status=$?
|
6387 |
trap 'exit_status=$?
|
7616 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
6388 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
7617 |
' 0
|
6389 |
' 0
|
7618 |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
6390 |
trap 'as_fn_exit 1' 1 2 13 15
|
7619 |
}
|
6391 |
}
|
7620 |
# Create a (secure) tmp directory for tmp files.
|
6392 |
# Create a (secure) tmp directory for tmp files.
|
7621 |
|
6393 |
|
7622 |
{
|
6394 |
{
|
7623 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
6395 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
7624 |
test -n "$tmp" && test -d "$tmp"
|
6396 |
test -n "$tmp" && test -d "$tmp"
|
7625 |
} ||
|
6397 |
} ||
|
7626 |
{
|
6398 |
{
|
7627 |
tmp=./conf$$-$RANDOM
|
6399 |
tmp=./conf$$-$RANDOM
|
7628 |
(umask 077 && mkdir "$tmp")
|
6400 |
(umask 077 && mkdir "$tmp")
|
7629 |
} ||
|
6401 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
7630 |
{
|
|
|
7631 |
$as_echo "$as_me: cannot create a temporary directory in ." >&2
|
|
|
7632 |
{ (exit 1); exit 1; }
|
|
|
7633 |
}
|
|
|
7634 |
|
6402 |
|
7635 |
# Set up the scripts for CONFIG_FILES section.
|
6403 |
# Set up the scripts for CONFIG_FILES section.
|
7636 |
# No need to generate them if there are no CONFIG_FILES.
|
6404 |
# No need to generate them if there are no CONFIG_FILES.
|
7637 |
# This happens for instance with `./config.status config.h'.
|
6405 |
# This happens for instance with `./config.status config.h'.
|
7638 |
if test -n "$CONFIG_FILES"; then
|
6406 |
if test -n "$CONFIG_FILES"; then
|
7639 |
|
6407 |
|
7640 |
|
6408 |
|
7641 |
ac_cr='
'
|
6409 |
ac_cr=`echo X | tr X '\015'`
|
|
|
6410 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
|
6411 |
# But we know of no other shell where ac_cr would be empty at this
|
|
|
6412 |
# point, so we can use a bashism as a fallback.
|
|
|
6413 |
if test "x$ac_cr" = x; then
|
|
|
6414 |
eval ac_cr=\$\'\\r\'
|
|
|
6415 |
fi
|
7642 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
6416 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
7643 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
6417 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
7644 |
ac_cs_awk_cr='\\r'
|
6418 |
ac_cs_awk_cr='\\r'
|
7645 |
else
|
6419 |
else
|
7646 |
ac_cs_awk_cr=$ac_cr
|
6420 |
ac_cs_awk_cr=$ac_cr
|
|
... |
|
... |
7653 |
{
|
6427 |
{
|
7654 |
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
6428 |
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
7655 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
6429 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
7656 |
echo "_ACEOF"
|
6430 |
echo "_ACEOF"
|
7657 |
} >conf$$subs.sh ||
|
6431 |
} >conf$$subs.sh ||
|
7658 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6432 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
7659 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
|
|
7660 |
{ (exit 1); exit 1; }; }
|
|
|
7661 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
6433 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
7662 |
ac_delim='%!_!# '
|
6434 |
ac_delim='%!_!# '
|
7663 |
for ac_last_try in false false false false false :; do
|
6435 |
for ac_last_try in false false false false false :; do
|
7664 |
. ./conf$$subs.sh ||
|
6436 |
. ./conf$$subs.sh ||
|
7665 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6437 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
7666 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
|
|
7667 |
{ (exit 1); exit 1; }; }
|
|
|
7668 |
|
6438 |
|
7669 |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
|
6439 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
|
|
6440 |
if test $ac_delim_n = $ac_delim_num; then
|
7670 |
break
|
6441 |
break
|
7671 |
elif $ac_last_try; then
|
6442 |
elif $ac_last_try; then
|
7672 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6443 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
7673 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
|
|
7674 |
{ (exit 1); exit 1; }; }
|
|
|
7675 |
else
|
6444 |
else
|
7676 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
6445 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
7677 |
fi
|
6446 |
fi
|
7678 |
done
|
6447 |
done
|
7679 |
rm -f conf$$subs.sh
|
6448 |
rm -f conf$$subs.sh
|
|
... |
|
... |
7691 |
t repl
|
6460 |
t repl
|
7692 |
s/'"$ac_delim"'$//
|
6461 |
s/'"$ac_delim"'$//
|
7693 |
t delim
|
6462 |
t delim
|
7694 |
:nl
|
6463 |
:nl
|
7695 |
h
|
6464 |
h
|
7696 |
s/\(.\{148\}\).*/\1/
|
6465 |
s/\(.\{148\}\)..*/\1/
|
7697 |
t more1
|
6466 |
t more1
|
7698 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
6467 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
7699 |
p
|
6468 |
p
|
7700 |
n
|
6469 |
n
|
7701 |
b repl
|
6470 |
b repl
|
|
... |
|
... |
7705 |
g
|
6474 |
g
|
7706 |
s/.\{148\}//
|
6475 |
s/.\{148\}//
|
7707 |
t nl
|
6476 |
t nl
|
7708 |
:delim
|
6477 |
:delim
|
7709 |
h
|
6478 |
h
|
7710 |
s/\(.\{148\}\).*/\1/
|
6479 |
s/\(.\{148\}\)..*/\1/
|
7711 |
t more2
|
6480 |
t more2
|
7712 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
6481 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
7713 |
p
|
6482 |
p
|
7714 |
b
|
6483 |
b
|
7715 |
:more2
|
6484 |
:more2
|
|
... |
|
... |
7758 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
6527 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
7759 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
6528 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
7760 |
else
|
6529 |
else
|
7761 |
cat
|
6530 |
cat
|
7762 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
6531 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
7763 |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
|
6532 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
7764 |
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
|
|
|
7765 |
{ (exit 1); exit 1; }; }
|
|
|
7766 |
_ACEOF
|
6533 |
_ACEOF
|
7767 |
|
6534 |
|
7768 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
6535 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
7769 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
6536 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
7770 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
6537 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
7771 |
# (actually we leave an empty line to preserve line numbers).
|
6538 |
# (actually we leave an empty line to preserve line numbers).
|
7772 |
if test "x$srcdir" = x.; then
|
6539 |
if test "x$srcdir" = x.; then
|
7773 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
6540 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
|
|
6541 |
h
|
|
|
6542 |
s///
|
|
|
6543 |
s/^/:/
|
|
|
6544 |
s/[ ]*$/:/
|
7774 |
s/:*\$(srcdir):*/:/
|
6545 |
s/:\$(srcdir):/:/g
|
7775 |
s/:*\${srcdir}:*/:/
|
6546 |
s/:\${srcdir}:/:/g
|
7776 |
s/:*@srcdir@:*/:/
|
6547 |
s/:@srcdir@:/:/g
|
7777 |
s/^\([^=]*=[ ]*\):*/\1/
|
6548 |
s/^:*//
|
7778 |
s/:*$//
|
6549 |
s/:*$//
|
|
|
6550 |
x
|
|
|
6551 |
s/\(=[ ]*\).*/\1/
|
|
|
6552 |
G
|
|
|
6553 |
s/\n//
|
7779 |
s/^[^=]*=[ ]*$//
|
6554 |
s/^[^=]*=[ ]*$//
|
7780 |
}'
|
6555 |
}'
|
7781 |
fi
|
6556 |
fi
|
7782 |
|
6557 |
|
7783 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
6558 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
... |
|
... |
7801 |
for ac_last_try in false false :; do
|
6576 |
for ac_last_try in false false :; do
|
7802 |
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
6577 |
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
7803 |
if test -z "$ac_t"; then
|
6578 |
if test -z "$ac_t"; then
|
7804 |
break
|
6579 |
break
|
7805 |
elif $ac_last_try; then
|
6580 |
elif $ac_last_try; then
|
7806 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
|
6581 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
7807 |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
|
|
|
7808 |
{ (exit 1); exit 1; }; }
|
|
|
7809 |
else
|
6582 |
else
|
7810 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
6583 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
7811 |
fi
|
6584 |
fi
|
7812 |
done
|
6585 |
done
|
7813 |
|
6586 |
|
|
... |
|
... |
7869 |
defundef = substr(arg[1], 2)
|
6642 |
defundef = substr(arg[1], 2)
|
7870 |
mac1 = arg[2]
|
6643 |
mac1 = arg[2]
|
7871 |
}
|
6644 |
}
|
7872 |
split(mac1, mac2, "(") #)
|
6645 |
split(mac1, mac2, "(") #)
|
7873 |
macro = mac2[1]
|
6646 |
macro = mac2[1]
|
|
|
6647 |
prefix = substr(line, 1, index(line, defundef) - 1)
|
7874 |
if (D_is_set[macro]) {
|
6648 |
if (D_is_set[macro]) {
|
7875 |
# Preserve the white space surrounding the "#".
|
6649 |
# Preserve the white space surrounding the "#".
|
7876 |
prefix = substr(line, 1, index(line, defundef) - 1)
|
|
|
7877 |
print prefix "define", macro P[macro] D[macro]
|
6650 |
print prefix "define", macro P[macro] D[macro]
|
7878 |
next
|
6651 |
next
|
7879 |
} else {
|
6652 |
} else {
|
7880 |
# Replace #undef with comments. This is necessary, for example,
|
6653 |
# Replace #undef with comments. This is necessary, for example,
|
7881 |
# in the case of _POSIX_SOURCE, which is predefined and required
|
6654 |
# in the case of _POSIX_SOURCE, which is predefined and required
|
7882 |
# on some systems where configure will not decide to define it.
|
6655 |
# on some systems where configure will not decide to define it.
|
7883 |
if (defundef == "undef") {
|
6656 |
if (defundef == "undef") {
|
7884 |
print "/*", line, "*/"
|
6657 |
print "/*", prefix defundef, macro, "*/"
|
7885 |
next
|
6658 |
next
|
7886 |
}
|
6659 |
}
|
7887 |
}
|
6660 |
}
|
7888 |
}
|
6661 |
}
|
7889 |
{ print }
|
6662 |
{ print }
|
7890 |
_ACAWK
|
6663 |
_ACAWK
|
7891 |
_ACEOF
|
6664 |
_ACEOF
|
7892 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
6665 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
7893 |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
|
6666 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
7894 |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
|
|
|
7895 |
{ (exit 1); exit 1; }; }
|
|
|
7896 |
fi # test -n "$CONFIG_HEADERS"
|
6667 |
fi # test -n "$CONFIG_HEADERS"
|
7897 |
|
6668 |
|
7898 |
|
6669 |
|
7899 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
|
6670 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
|
7900 |
shift
|
6671 |
shift
|
|
... |
|
... |
7903 |
case $ac_tag in
|
6674 |
case $ac_tag in
|
7904 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
6675 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
7905 |
esac
|
6676 |
esac
|
7906 |
case $ac_mode$ac_tag in
|
6677 |
case $ac_mode$ac_tag in
|
7907 |
:[FHL]*:*);;
|
6678 |
:[FHL]*:*);;
|
7908 |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
6679 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
7909 |
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
|
|
7910 |
{ (exit 1); exit 1; }; };;
|
|
|
7911 |
:[FH]-) ac_tag=-:-;;
|
6680 |
:[FH]-) ac_tag=-:-;;
|
7912 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
6681 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
7913 |
esac
|
6682 |
esac
|
7914 |
ac_save_IFS=$IFS
|
6683 |
ac_save_IFS=$IFS
|
7915 |
IFS=:
|
6684 |
IFS=:
|
|
... |
|
... |
7933 |
test -f "$ac_f" ||
|
6702 |
test -f "$ac_f" ||
|
7934 |
case $ac_f in
|
6703 |
case $ac_f in
|
7935 |
[\\/$]*) false;;
|
6704 |
[\\/$]*) false;;
|
7936 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
6705 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
7937 |
esac ||
|
6706 |
esac ||
|
7938 |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
6707 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
7939 |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
|
|
7940 |
{ (exit 1); exit 1; }; };;
|
|
|
7941 |
esac
|
6708 |
esac
|
7942 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
6709 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
7943 |
ac_file_inputs="$ac_file_inputs '$ac_f'"
|
6710 |
as_fn_append ac_file_inputs " '$ac_f'"
|
7944 |
done
|
6711 |
done
|
7945 |
|
6712 |
|
7946 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
6713 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
7947 |
# use $as_me), people would be surprised to read:
|
6714 |
# use $as_me), people would be surprised to read:
|
7948 |
# /* config.h. Generated by config.status. */
|
6715 |
# /* config.h. Generated by config.status. */
|
7949 |
configure_input='Generated from '`
|
6716 |
configure_input='Generated from '`
|
7950 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
6717 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
7951 |
`' by configure.'
|
6718 |
`' by configure.'
|
7952 |
if test x"$ac_file" != x-; then
|
6719 |
if test x"$ac_file" != x-; then
|
7953 |
configure_input="$ac_file. $configure_input"
|
6720 |
configure_input="$ac_file. $configure_input"
|
7954 |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
|
6721 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
7955 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
6722 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
7956 |
fi
|
6723 |
fi
|
7957 |
# Neutralize special characters interpreted by sed in replacement strings.
|
6724 |
# Neutralize special characters interpreted by sed in replacement strings.
|
7958 |
case $configure_input in #(
|
6725 |
case $configure_input in #(
|
7959 |
*\&* | *\|* | *\\* )
|
6726 |
*\&* | *\|* | *\\* )
|
|
... |
|
... |
7962 |
*) ac_sed_conf_input=$configure_input;;
|
6729 |
*) ac_sed_conf_input=$configure_input;;
|
7963 |
esac
|
6730 |
esac
|
7964 |
|
6731 |
|
7965 |
case $ac_tag in
|
6732 |
case $ac_tag in
|
7966 |
*:-:* | *:-) cat >"$tmp/stdin" \
|
6733 |
*:-:* | *:-) cat >"$tmp/stdin" \
|
7967 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6734 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
7968 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
|
|
7969 |
{ (exit 1); exit 1; }; } ;;
|
|
|
7970 |
esac
|
6735 |
esac
|
7971 |
;;
|
6736 |
;;
|
7972 |
esac
|
6737 |
esac
|
7973 |
|
6738 |
|
7974 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
6739 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
|
... |
|
... |
7992 |
/^X\(\/\).*/{
|
6757 |
/^X\(\/\).*/{
|
7993 |
s//\1/
|
6758 |
s//\1/
|
7994 |
q
|
6759 |
q
|
7995 |
}
|
6760 |
}
|
7996 |
s/.*/./; q'`
|
6761 |
s/.*/./; q'`
|
7997 |
{ as_dir="$ac_dir"
|
6762 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
7998 |
case $as_dir in #(
|
|
|
7999 |
-*) as_dir=./$as_dir;;
|
|
|
8000 |
esac
|
|
|
8001 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
|
|
8002 |
as_dirs=
|
|
|
8003 |
while :; do
|
|
|
8004 |
case $as_dir in #(
|
|
|
8005 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
|
8006 |
*) as_qdir=$as_dir;;
|
|
|
8007 |
esac
|
|
|
8008 |
as_dirs="'$as_qdir' $as_dirs"
|
|
|
8009 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
|
8010 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
8011 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
|
8012 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
|
8013 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
8014 |
$as_echo X"$as_dir" |
|
|
|
8015 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
|
8016 |
s//\1/
|
|
|
8017 |
q
|
|
|
8018 |
}
|
|
|
8019 |
/^X\(\/\/\)[^/].*/{
|
|
|
8020 |
s//\1/
|
|
|
8021 |
q
|
|
|
8022 |
}
|
|
|
8023 |
/^X\(\/\/\)$/{
|
|
|
8024 |
s//\1/
|
|
|
8025 |
q
|
|
|
8026 |
}
|
|
|
8027 |
/^X\(\/\).*/{
|
|
|
8028 |
s//\1/
|
|
|
8029 |
q
|
|
|
8030 |
}
|
|
|
8031 |
s/.*/./; q'`
|
|
|
8032 |
test -d "$as_dir" && break
|
|
|
8033 |
done
|
|
|
8034 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
|
8035 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
|
|
8036 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
|
|
8037 |
{ (exit 1); exit 1; }; }; }
|
|
|
8038 |
ac_builddir=.
|
6763 |
ac_builddir=.
|
8039 |
|
6764 |
|
8040 |
case "$ac_dir" in
|
6765 |
case "$ac_dir" in
|
8041 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
6766 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
8042 |
*)
|
6767 |
*)
|
|
... |
|
... |
8080 |
|
6805 |
|
8081 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
6806 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
8082 |
# If the template does not know about datarootdir, expand it.
|
6807 |
# If the template does not know about datarootdir, expand it.
|
8083 |
# FIXME: This hack should be removed a few years after 2.60.
|
6808 |
# FIXME: This hack should be removed a few years after 2.60.
|
8084 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
6809 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
8085 |
|
|
|
8086 |
ac_sed_dataroot='
|
6810 |
ac_sed_dataroot='
|
8087 |
/datarootdir/ {
|
6811 |
/datarootdir/ {
|
8088 |
p
|
6812 |
p
|
8089 |
q
|
6813 |
q
|
8090 |
}
|
6814 |
}
|
8091 |
/@datadir@/p
|
6815 |
/@datadir@/p
|
8092 |
/@docdir@/p
|
6816 |
/@docdir@/p
|
8093 |
/@infodir@/p
|
6817 |
/@infodir@/p
|
8094 |
/@localedir@/p
|
6818 |
/@localedir@/p
|
8095 |
/@mandir@/p
|
6819 |
/@mandir@/p'
|
8096 |
'
|
|
|
8097 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
6820 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
8098 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
6821 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
8099 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
6822 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
8100 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
6823 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
8101 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
6824 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
8102 |
_ACEOF
|
6825 |
_ACEOF
|
8103 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
6826 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
8104 |
ac_datarootdir_hack='
|
6827 |
ac_datarootdir_hack='
|
8105 |
s&@datadir@&$datadir&g
|
6828 |
s&@datadir@&$datadir&g
|
8106 |
s&@docdir@&$docdir&g
|
6829 |
s&@docdir@&$docdir&g
|
8107 |
s&@infodir@&$infodir&g
|
6830 |
s&@infodir@&$infodir&g
|
8108 |
s&@localedir@&$localedir&g
|
6831 |
s&@localedir@&$localedir&g
|
8109 |
s&@mandir@&$mandir&g
|
6832 |
s&@mandir@&$mandir&g
|
8110 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
6833 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
8111 |
esac
|
6834 |
esac
|
8112 |
_ACEOF
|
6835 |
_ACEOF
|
8113 |
|
6836 |
|
8114 |
# Neutralize VPATH when `$srcdir' = `.'.
|
6837 |
# Neutralize VPATH when `$srcdir' = `.'.
|
8115 |
# Shell code in configure.ac might set extrasub.
|
6838 |
# Shell code in configure.ac might set extrasub.
|
|
... |
|
... |
8132 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
6855 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
8133 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
6856 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
8134 |
$ac_datarootdir_hack
|
6857 |
$ac_datarootdir_hack
|
8135 |
"
|
6858 |
"
|
8136 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
6859 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
8137 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6860 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
8138 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
|
|
8139 |
{ (exit 1); exit 1; }; }
|
|
|
8140 |
|
6861 |
|
8141 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
6862 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
8142 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
6863 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
8143 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
6864 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
8144 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
6865 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
8145 |
which seems to be undefined. Please make sure it is defined." >&5
|
6866 |
which seems to be undefined. Please make sure it is defined" >&5
|
8146 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
6867 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
8147 |
which seems to be undefined. Please make sure it is defined." >&2;}
|
6868 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
8148 |
|
6869 |
|
8149 |
rm -f "$tmp/stdin"
|
6870 |
rm -f "$tmp/stdin"
|
8150 |
case $ac_file in
|
6871 |
case $ac_file in
|
8151 |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
6872 |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
8152 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
6873 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
8153 |
esac \
|
6874 |
esac \
|
8154 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6875 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
8155 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
|
|
8156 |
{ (exit 1); exit 1; }; }
|
|
|
8157 |
;;
|
6876 |
;;
|
8158 |
:H)
|
6877 |
:H)
|
8159 |
#
|
6878 |
#
|
8160 |
# CONFIG_HEADER
|
6879 |
# CONFIG_HEADER
|
8161 |
#
|
6880 |
#
|
8162 |
if test x"$ac_file" != x-; then
|
6881 |
if test x"$ac_file" != x-; then
|
8163 |
{
|
6882 |
{
|
8164 |
$as_echo "/* $configure_input */" \
|
6883 |
$as_echo "/* $configure_input */" \
|
8165 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
6884 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
8166 |
} >"$tmp/config.h" \
|
6885 |
} >"$tmp/config.h" \
|
8167 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6886 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
8168 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
|
|
8169 |
{ (exit 1); exit 1; }; }
|
|
|
8170 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
6887 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
8171 |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
6888 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
8172 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
6889 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
8173 |
else
|
6890 |
else
|
8174 |
rm -f "$ac_file"
|
6891 |
rm -f "$ac_file"
|
8175 |
mv "$tmp/config.h" "$ac_file" \
|
6892 |
mv "$tmp/config.h" "$ac_file" \
|
8176 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6893 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
8177 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
|
|
8178 |
{ (exit 1); exit 1; }; }
|
|
|
8179 |
fi
|
6894 |
fi
|
8180 |
else
|
6895 |
else
|
8181 |
$as_echo "/* $configure_input */" \
|
6896 |
$as_echo "/* $configure_input */" \
|
8182 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
6897 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
8183 |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
|
6898 |
|| as_fn_error $? "could not create -" "$LINENO" 5
|
8184 |
$as_echo "$as_me: error: could not create -" >&2;}
|
|
|
8185 |
{ (exit 1); exit 1; }; }
|
|
|
8186 |
fi
|
6899 |
fi
|
8187 |
;;
|
6900 |
;;
|
8188 |
|
6901 |
|
8189 |
|
6902 |
|
8190 |
esac
|
6903 |
esac
|
8191 |
|
6904 |
|
8192 |
done # for ac_tag
|
6905 |
done # for ac_tag
|
8193 |
|
6906 |
|
8194 |
|
6907 |
|
8195 |
{ (exit 0); exit 0; }
|
6908 |
as_fn_exit 0
|
8196 |
_ACEOF
|
6909 |
_ACEOF
|
8197 |
chmod +x $CONFIG_STATUS
|
|
|
8198 |
ac_clean_files=$ac_clean_files_save
|
6910 |
ac_clean_files=$ac_clean_files_save
|
8199 |
|
6911 |
|
8200 |
test $ac_write_fail = 0 ||
|
6912 |
test $ac_write_fail = 0 ||
|
8201 |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
|
6913 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
8202 |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
|
|
|
8203 |
{ (exit 1); exit 1; }; }
|
|
|
8204 |
|
6914 |
|
8205 |
|
6915 |
|
8206 |
# configure is writing to config.log, and then calls config.status.
|
6916 |
# configure is writing to config.log, and then calls config.status.
|
8207 |
# config.status does its own redirection, appending to config.log.
|
6917 |
# config.status does its own redirection, appending to config.log.
|
8208 |
# Unfortunately, on DOS this fails, as config.log is still kept open
|
6918 |
# Unfortunately, on DOS this fails, as config.log is still kept open
|
|
... |
|
... |
8219 |
exec 5>/dev/null
|
6929 |
exec 5>/dev/null
|
8220 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
6930 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
8221 |
exec 5>>config.log
|
6931 |
exec 5>>config.log
|
8222 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
6932 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
8223 |
# would make configure fail if this is the last instruction.
|
6933 |
# would make configure fail if this is the last instruction.
|
8224 |
$ac_cs_success || { (exit 1); exit 1; }
|
6934 |
$ac_cs_success || as_fn_exit 1
|
8225 |
fi
|
6935 |
fi
|
8226 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
6936 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
8227 |
{ $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
|
6937 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
8228 |
$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
|
6938 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
8229 |
fi
|
6939 |
fi
|
8230 |
|
6940 |
|