1 | #! /bin/sh
|
---|
2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
3 | # Generated by GNU Autoconf 2.69 for FULL-PACKAGE-NAME VERSION.
|
---|
4 | #
|
---|
5 | # Report bugs to <BUG-REPORT-ADDRESS>.
|
---|
6 | #
|
---|
7 | #
|
---|
8 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
---|
9 | #
|
---|
10 | #
|
---|
11 | # This configure script is free software; the Free Software Foundation
|
---|
12 | # gives unlimited permission to copy, distribute and modify it.
|
---|
13 | ## -------------------- ##
|
---|
14 | ## M4sh Initialization. ##
|
---|
15 | ## -------------------- ##
|
---|
16 |
|
---|
17 | # Be more Bourne compatible
|
---|
18 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
20 | emulate sh
|
---|
21 | NULLCMD=:
|
---|
22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
23 | # is contrary to our usage. Disable this feature.
|
---|
24 | alias -g '${1+"$@"}'='"$@"'
|
---|
25 | setopt NO_GLOB_SUBST
|
---|
26 | else
|
---|
27 | case `(set -o) 2>/dev/null` in #(
|
---|
28 | *posix*) :
|
---|
29 | set -o posix ;; #(
|
---|
30 | *) :
|
---|
31 | ;;
|
---|
32 | esac
|
---|
33 | fi
|
---|
34 |
|
---|
35 |
|
---|
36 | as_nl='
|
---|
37 | '
|
---|
38 | export as_nl
|
---|
39 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
43 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
44 | # but without wasting forks for bash or zsh.
|
---|
45 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
47 | as_echo='print -r --'
|
---|
48 | as_echo_n='print -rn --'
|
---|
49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
50 | as_echo='printf %s\n'
|
---|
51 | as_echo_n='printf %s'
|
---|
52 | else
|
---|
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
55 | as_echo_n='/usr/ucb/echo -n'
|
---|
56 | else
|
---|
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
58 | as_echo_n_body='eval
|
---|
59 | arg=$1;
|
---|
60 | case $arg in #(
|
---|
61 | *"$as_nl"*)
|
---|
62 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
64 | esac;
|
---|
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
66 | '
|
---|
67 | export as_echo_n_body
|
---|
68 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
69 | fi
|
---|
70 | export as_echo_body
|
---|
71 | as_echo='sh -c $as_echo_body as_echo'
|
---|
72 | fi
|
---|
73 |
|
---|
74 | # The user is always right.
|
---|
75 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
76 | PATH_SEPARATOR=:
|
---|
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
79 | PATH_SEPARATOR=';'
|
---|
80 | }
|
---|
81 | fi
|
---|
82 |
|
---|
83 |
|
---|
84 | # IFS
|
---|
85 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
86 | # there to prevent editors from complaining about space-tab.
|
---|
87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
88 | # splitting by setting IFS to empty value.)
|
---|
89 | IFS=" "" $as_nl"
|
---|
90 |
|
---|
91 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
92 | as_myself=
|
---|
93 | case $0 in #((
|
---|
94 | *[\\/]* ) as_myself=$0 ;;
|
---|
95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
96 | for as_dir in $PATH
|
---|
97 | do
|
---|
98 | IFS=$as_save_IFS
|
---|
99 | test -z "$as_dir" && as_dir=.
|
---|
100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
101 | done
|
---|
102 | IFS=$as_save_IFS
|
---|
103 |
|
---|
104 | ;;
|
---|
105 | esac
|
---|
106 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
107 | # in which case we are not to be found in the path.
|
---|
108 | if test "x$as_myself" = x; then
|
---|
109 | as_myself=$0
|
---|
110 | fi
|
---|
111 | if test ! -f "$as_myself"; then
|
---|
112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
113 | exit 1
|
---|
114 | fi
|
---|
115 |
|
---|
116 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
118 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
119 | # trigger a bug in pdksh 5.2.14.
|
---|
120 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
121 | do eval test x\${$as_var+set} = xset \
|
---|
122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
123 | done
|
---|
124 | PS1='$ '
|
---|
125 | PS2='> '
|
---|
126 | PS4='+ '
|
---|
127 |
|
---|
128 | # NLS nuisances.
|
---|
129 | LC_ALL=C
|
---|
130 | export LC_ALL
|
---|
131 | LANGUAGE=C
|
---|
132 | export LANGUAGE
|
---|
133 |
|
---|
134 | # CDPATH.
|
---|
135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
136 |
|
---|
137 | # Use a proper internal environment variable to ensure we don't fall
|
---|
138 | # into an infinite loop, continuously re-executing ourselves.
|
---|
139 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
|
---|
140 | _as_can_reexec=no; export _as_can_reexec;
|
---|
141 | # We cannot yet assume a decent shell, so we have to provide a
|
---|
142 | # neutralization value for shells without unset; and this also
|
---|
143 | # works around shells that cannot unset nonexistent variables.
|
---|
144 | # Preserve -v and -x to the replacement shell.
|
---|
145 | BASH_ENV=/dev/null
|
---|
146 | ENV=/dev/null
|
---|
147 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
---|
148 | case $- in # ((((
|
---|
149 | *v*x* | *x*v* ) as_opts=-vx ;;
|
---|
150 | *v* ) as_opts=-v ;;
|
---|
151 | *x* ) as_opts=-x ;;
|
---|
152 | * ) as_opts= ;;
|
---|
153 | esac
|
---|
154 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
---|
155 | # Admittedly, this is quite paranoid, since all the known shells bail
|
---|
156 | # out after a failed `exec'.
|
---|
157 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
---|
158 | as_fn_exit 255
|
---|
159 | fi
|
---|
160 | # We don't want this to propagate to other subprocesses.
|
---|
161 | { _as_can_reexec=; unset _as_can_reexec;}
|
---|
162 | if test "x$CONFIG_SHELL" = x; then
|
---|
163 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
---|
164 | emulate sh
|
---|
165 | NULLCMD=:
|
---|
166 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
---|
167 | # is contrary to our usage. Disable this feature.
|
---|
168 | alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
---|
169 | setopt NO_GLOB_SUBST
|
---|
170 | else
|
---|
171 | case \`(set -o) 2>/dev/null\` in #(
|
---|
172 | *posix*) :
|
---|
173 | set -o posix ;; #(
|
---|
174 | *) :
|
---|
175 | ;;
|
---|
176 | esac
|
---|
177 | fi
|
---|
178 | "
|
---|
179 | as_required="as_fn_return () { (exit \$1); }
|
---|
180 | as_fn_success () { as_fn_return 0; }
|
---|
181 | as_fn_failure () { as_fn_return 1; }
|
---|
182 | as_fn_ret_success () { return 0; }
|
---|
183 | as_fn_ret_failure () { return 1; }
|
---|
184 |
|
---|
185 | exitcode=0
|
---|
186 | as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
---|
187 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
---|
188 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
---|
189 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
---|
190 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
---|
191 |
|
---|
192 | else
|
---|
193 | exitcode=1; echo positional parameters were not saved.
|
---|
194 | fi
|
---|
195 | test x\$exitcode = x0 || exit 1
|
---|
196 | test -x / || exit 1"
|
---|
197 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
---|
198 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
---|
199 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
---|
200 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
---|
201 | test \$(( 1 + 1 )) = 2 || exit 1"
|
---|
202 | if (eval "$as_required") 2>/dev/null; then :
|
---|
203 | as_have_required=yes
|
---|
204 | else
|
---|
205 | as_have_required=no
|
---|
206 | fi
|
---|
207 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
---|
208 |
|
---|
209 | else
|
---|
210 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
211 | as_found=false
|
---|
212 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
213 | do
|
---|
214 | IFS=$as_save_IFS
|
---|
215 | test -z "$as_dir" && as_dir=.
|
---|
216 | as_found=:
|
---|
217 | case $as_dir in #(
|
---|
218 | /*)
|
---|
219 | for as_base in sh bash ksh sh5; do
|
---|
220 | # Try only shells that exist, to save several forks.
|
---|
221 | as_shell=$as_dir/$as_base
|
---|
222 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
---|
223 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
---|
224 | CONFIG_SHELL=$as_shell as_have_required=yes
|
---|
225 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
---|
226 | break 2
|
---|
227 | fi
|
---|
228 | fi
|
---|
229 | done;;
|
---|
230 | esac
|
---|
231 | as_found=false
|
---|
232 | done
|
---|
233 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
---|
234 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
---|
235 | CONFIG_SHELL=$SHELL as_have_required=yes
|
---|
236 | fi; }
|
---|
237 | IFS=$as_save_IFS
|
---|
238 |
|
---|
239 |
|
---|
240 | if test "x$CONFIG_SHELL" != x; then :
|
---|
241 | export CONFIG_SHELL
|
---|
242 | # We cannot yet assume a decent shell, so we have to provide a
|
---|
243 | # neutralization value for shells without unset; and this also
|
---|
244 | # works around shells that cannot unset nonexistent variables.
|
---|
245 | # Preserve -v and -x to the replacement shell.
|
---|
246 | BASH_ENV=/dev/null
|
---|
247 | ENV=/dev/null
|
---|
248 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
---|
249 | case $- in # ((((
|
---|
250 | *v*x* | *x*v* ) as_opts=-vx ;;
|
---|
251 | *v* ) as_opts=-v ;;
|
---|
252 | *x* ) as_opts=-x ;;
|
---|
253 | * ) as_opts= ;;
|
---|
254 | esac
|
---|
255 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
---|
256 | # Admittedly, this is quite paranoid, since all the known shells bail
|
---|
257 | # out after a failed `exec'.
|
---|
258 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
---|
259 | exit 255
|
---|
260 | fi
|
---|
261 |
|
---|
262 | if test x$as_have_required = xno; then :
|
---|
263 | $as_echo "$0: This script requires a shell more modern than all"
|
---|
264 | $as_echo "$0: the shells that I found on your system."
|
---|
265 | if test x${ZSH_VERSION+set} = xset ; then
|
---|
266 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
---|
267 | $as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
---|
268 | else
|
---|
269 | $as_echo "$0: Please tell [email protected] and BUG-REPORT-ADDRESS
|
---|
270 | $0: about your system, including any error possibly output
|
---|
271 | $0: before this message. Then install a modern shell, or
|
---|
272 | $0: manually run the script under such a shell if you do
|
---|
273 | $0: have one."
|
---|
274 | fi
|
---|
275 | exit 1
|
---|
276 | fi
|
---|
277 | fi
|
---|
278 | fi
|
---|
279 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
280 | export SHELL
|
---|
281 | # Unset more variables known to interfere with behavior of common tools.
|
---|
282 | CLICOLOR_FORCE= GREP_OPTIONS=
|
---|
283 | unset CLICOLOR_FORCE GREP_OPTIONS
|
---|
284 |
|
---|
285 | ## --------------------- ##
|
---|
286 | ## M4sh Shell Functions. ##
|
---|
287 | ## --------------------- ##
|
---|
288 | # as_fn_unset VAR
|
---|
289 | # ---------------
|
---|
290 | # Portably unset VAR.
|
---|
291 | as_fn_unset ()
|
---|
292 | {
|
---|
293 | { eval $1=; unset $1;}
|
---|
294 | }
|
---|
295 | as_unset=as_fn_unset
|
---|
296 |
|
---|
297 | # as_fn_set_status STATUS
|
---|
298 | # -----------------------
|
---|
299 | # Set $? to STATUS, without forking.
|
---|
300 | as_fn_set_status ()
|
---|
301 | {
|
---|
302 | return $1
|
---|
303 | } # as_fn_set_status
|
---|
304 |
|
---|
305 | # as_fn_exit STATUS
|
---|
306 | # -----------------
|
---|
307 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
308 | as_fn_exit ()
|
---|
309 | {
|
---|
310 | set +e
|
---|
311 | as_fn_set_status $1
|
---|
312 | exit $1
|
---|
313 | } # as_fn_exit
|
---|
314 |
|
---|
315 | # as_fn_mkdir_p
|
---|
316 | # -------------
|
---|
317 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
318 | as_fn_mkdir_p ()
|
---|
319 | {
|
---|
320 |
|
---|
321 | case $as_dir in #(
|
---|
322 | -*) as_dir=./$as_dir;;
|
---|
323 | esac
|
---|
324 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
325 | as_dirs=
|
---|
326 | while :; do
|
---|
327 | case $as_dir in #(
|
---|
328 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
329 | *) as_qdir=$as_dir;;
|
---|
330 | esac
|
---|
331 | as_dirs="'$as_qdir' $as_dirs"
|
---|
332 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
333 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
334 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
335 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
336 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
337 | $as_echo X"$as_dir" |
|
---|
338 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
339 | s//\1/
|
---|
340 | q
|
---|
341 | }
|
---|
342 | /^X\(\/\/\)[^/].*/{
|
---|
343 | s//\1/
|
---|
344 | q
|
---|
345 | }
|
---|
346 | /^X\(\/\/\)$/{
|
---|
347 | s//\1/
|
---|
348 | q
|
---|
349 | }
|
---|
350 | /^X\(\/\).*/{
|
---|
351 | s//\1/
|
---|
352 | q
|
---|
353 | }
|
---|
354 | s/.*/./; q'`
|
---|
355 | test -d "$as_dir" && break
|
---|
356 | done
|
---|
357 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
358 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
359 |
|
---|
360 |
|
---|
361 | } # as_fn_mkdir_p
|
---|
362 |
|
---|
363 | # as_fn_executable_p FILE
|
---|
364 | # -----------------------
|
---|
365 | # Test if FILE is an executable regular file.
|
---|
366 | as_fn_executable_p ()
|
---|
367 | {
|
---|
368 | test -f "$1" && test -x "$1"
|
---|
369 | } # as_fn_executable_p
|
---|
370 | # as_fn_append VAR VALUE
|
---|
371 | # ----------------------
|
---|
372 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
373 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
374 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
375 | # implementations.
|
---|
376 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
377 | eval 'as_fn_append ()
|
---|
378 | {
|
---|
379 | eval $1+=\$2
|
---|
380 | }'
|
---|
381 | else
|
---|
382 | as_fn_append ()
|
---|
383 | {
|
---|
384 | eval $1=\$$1\$2
|
---|
385 | }
|
---|
386 | fi # as_fn_append
|
---|
387 |
|
---|
388 | # as_fn_arith ARG...
|
---|
389 | # ------------------
|
---|
390 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
391 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
392 | # must be portable across $(()) and expr.
|
---|
393 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
394 | eval 'as_fn_arith ()
|
---|
395 | {
|
---|
396 | as_val=$(( $* ))
|
---|
397 | }'
|
---|
398 | else
|
---|
399 | as_fn_arith ()
|
---|
400 | {
|
---|
401 | as_val=`expr "$@" || test $? -eq 1`
|
---|
402 | }
|
---|
403 | fi # as_fn_arith
|
---|
404 |
|
---|
405 |
|
---|
406 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
407 | # ----------------------------------------
|
---|
408 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
409 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
410 | # script with STATUS, using 1 if that was 0.
|
---|
411 | as_fn_error ()
|
---|
412 | {
|
---|
413 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
414 | if test "$4"; then
|
---|
415 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
416 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
417 | fi
|
---|
418 | $as_echo "$as_me: error: $2" >&2
|
---|
419 | as_fn_exit $as_status
|
---|
420 | } # as_fn_error
|
---|
421 |
|
---|
422 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
423 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
424 | as_expr=expr
|
---|
425 | else
|
---|
426 | as_expr=false
|
---|
427 | fi
|
---|
428 |
|
---|
429 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
430 | as_basename=basename
|
---|
431 | else
|
---|
432 | as_basename=false
|
---|
433 | fi
|
---|
434 |
|
---|
435 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
436 | as_dirname=dirname
|
---|
437 | else
|
---|
438 | as_dirname=false
|
---|
439 | fi
|
---|
440 |
|
---|
441 | as_me=`$as_basename -- "$0" ||
|
---|
442 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
443 | X"$0" : 'X\(//\)$' \| \
|
---|
444 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
445 | $as_echo X/"$0" |
|
---|
446 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
447 | s//\1/
|
---|
448 | q
|
---|
449 | }
|
---|
450 | /^X\/\(\/\/\)$/{
|
---|
451 | s//\1/
|
---|
452 | q
|
---|
453 | }
|
---|
454 | /^X\/\(\/\).*/{
|
---|
455 | s//\1/
|
---|
456 | q
|
---|
457 | }
|
---|
458 | s/.*/./; q'`
|
---|
459 |
|
---|
460 | # Avoid depending upon Character Ranges.
|
---|
461 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
462 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
463 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
464 | as_cr_digits='0123456789'
|
---|
465 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
466 |
|
---|
467 |
|
---|
468 | as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
---|
469 | as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
---|
470 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
---|
471 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
---|
472 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
473 | sed -n '
|
---|
474 | p
|
---|
475 | /[$]LINENO/=
|
---|
476 | ' <$as_myself |
|
---|
477 | sed '
|
---|
478 | s/[$]LINENO.*/&-/
|
---|
479 | t lineno
|
---|
480 | b
|
---|
481 | :lineno
|
---|
482 | N
|
---|
483 | :loop
|
---|
484 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
485 | t loop
|
---|
486 | s/-\n.*//
|
---|
487 | ' >$as_me.lineno &&
|
---|
488 | chmod +x "$as_me.lineno" ||
|
---|
489 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
---|
490 |
|
---|
491 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
|
---|
492 | # already done that, so ensure we don't try to do so again and fall
|
---|
493 | # in an infinite loop. This has already happened in practice.
|
---|
494 | _as_can_reexec=no; export _as_can_reexec
|
---|
495 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
496 | # (the dirname of $[0] is not the place where we might find the
|
---|
497 | # original and so on. Autoconf is especially sensitive to this).
|
---|
498 | . "./$as_me.lineno"
|
---|
499 | # Exit status is that of the last command.
|
---|
500 | exit
|
---|
501 | }
|
---|
502 |
|
---|
503 | ECHO_C= ECHO_N= ECHO_T=
|
---|
504 | case `echo -n x` in #(((((
|
---|
505 | -n*)
|
---|
506 | case `echo 'xy\c'` in
|
---|
507 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
508 | xy) ECHO_C='\c';;
|
---|
509 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
510 | ECHO_T=' ';;
|
---|
511 | esac;;
|
---|
512 | *)
|
---|
513 | ECHO_N='-n';;
|
---|
514 | esac
|
---|
515 |
|
---|
516 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
517 | if test -d conf$$.dir; then
|
---|
518 | rm -f conf$$.dir/conf$$.file
|
---|
519 | else
|
---|
520 | rm -f conf$$.dir
|
---|
521 | mkdir conf$$.dir 2>/dev/null
|
---|
522 | fi
|
---|
523 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
524 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
525 | as_ln_s='ln -s'
|
---|
526 | # ... but there are two gotchas:
|
---|
527 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
528 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
529 | # In both cases, we have to default to `cp -pR'.
|
---|
530 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
531 | as_ln_s='cp -pR'
|
---|
532 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
533 | as_ln_s=ln
|
---|
534 | else
|
---|
535 | as_ln_s='cp -pR'
|
---|
536 | fi
|
---|
537 | else
|
---|
538 | as_ln_s='cp -pR'
|
---|
539 | fi
|
---|
540 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
541 | rmdir conf$$.dir 2>/dev/null
|
---|
542 |
|
---|
543 | if mkdir -p . 2>/dev/null; then
|
---|
544 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
545 | else
|
---|
546 | test -d ./-p && rmdir ./-p
|
---|
547 | as_mkdir_p=false
|
---|
548 | fi
|
---|
549 |
|
---|
550 | as_test_x='test -x'
|
---|
551 | as_executable_p=as_fn_executable_p
|
---|
552 |
|
---|
553 | # Sed expression to map a string onto a valid CPP name.
|
---|
554 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
555 |
|
---|
556 | # Sed expression to map a string onto a valid variable name.
|
---|
557 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
558 |
|
---|
559 |
|
---|
560 | test -n "$DJDIR" || exec 7<&0 </dev/null
|
---|
561 | exec 6>&1
|
---|
562 |
|
---|
563 | # Name of the host.
|
---|
564 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
---|
565 | # so uname gets run too.
|
---|
566 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
567 |
|
---|
568 | #
|
---|
569 | # Initializations.
|
---|
570 | #
|
---|
571 | ac_default_prefix=/usr/local
|
---|
572 | ac_clean_files=
|
---|
573 | ac_config_libobj_dir=.
|
---|
574 | LIBOBJS=
|
---|
575 | cross_compiling=no
|
---|
576 | subdirs=
|
---|
577 | MFLAGS=
|
---|
578 | MAKEFLAGS=
|
---|
579 |
|
---|
580 | # Identity of this package.
|
---|
581 | PACKAGE_NAME='FULL-PACKAGE-NAME'
|
---|
582 | PACKAGE_TARNAME='full-package-name'
|
---|
583 | PACKAGE_VERSION='VERSION'
|
---|
584 | PACKAGE_STRING='FULL-PACKAGE-NAME VERSION'
|
---|
585 | PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
|
---|
586 | PACKAGE_URL=''
|
---|
587 |
|
---|
588 | ac_unique_file="search4j.cpp"
|
---|
589 | # Factoring default headers for most tests.
|
---|
590 | ac_includes_default="\
|
---|
591 | #include <stdio.h>
|
---|
592 | #ifdef HAVE_SYS_TYPES_H
|
---|
593 | # include <sys/types.h>
|
---|
594 | #endif
|
---|
595 | #ifdef HAVE_SYS_STAT_H
|
---|
596 | # include <sys/stat.h>
|
---|
597 | #endif
|
---|
598 | #ifdef STDC_HEADERS
|
---|
599 | # include <stdlib.h>
|
---|
600 | # include <stddef.h>
|
---|
601 | #else
|
---|
602 | # ifdef HAVE_STDLIB_H
|
---|
603 | # include <stdlib.h>
|
---|
604 | # endif
|
---|
605 | #endif
|
---|
606 | #ifdef HAVE_STRING_H
|
---|
607 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
---|
608 | # include <memory.h>
|
---|
609 | # endif
|
---|
610 | # include <string.h>
|
---|
611 | #endif
|
---|
612 | #ifdef HAVE_STRINGS_H
|
---|
613 | # include <strings.h>
|
---|
614 | #endif
|
---|
615 | #ifdef HAVE_INTTYPES_H
|
---|
616 | # include <inttypes.h>
|
---|
617 | #endif
|
---|
618 | #ifdef HAVE_STDINT_H
|
---|
619 | # include <stdint.h>
|
---|
620 | #endif
|
---|
621 | #ifdef HAVE_UNISTD_H
|
---|
622 | # include <unistd.h>
|
---|
623 | #endif"
|
---|
624 |
|
---|
625 | ac_subst_vars='LTLIBOBJS
|
---|
626 | LIBOBJS
|
---|
627 | EGREP
|
---|
628 | GREP
|
---|
629 | JAVACFLAGS
|
---|
630 | JAVAC
|
---|
631 | INSTALL_DATA
|
---|
632 | INSTALL_SCRIPT
|
---|
633 | INSTALL_PROGRAM
|
---|
634 | CPP
|
---|
635 | ac_ct_CC
|
---|
636 | CFLAGS
|
---|
637 | CC
|
---|
638 | OBJEXT
|
---|
639 | EXEEXT
|
---|
640 | ac_ct_CXX
|
---|
641 | CPPFLAGS
|
---|
642 | LDFLAGS
|
---|
643 | CXXFLAGS
|
---|
644 | CXX
|
---|
645 | target_alias
|
---|
646 | host_alias
|
---|
647 | build_alias
|
---|
648 | LIBS
|
---|
649 | ECHO_T
|
---|
650 | ECHO_N
|
---|
651 | ECHO_C
|
---|
652 | DEFS
|
---|
653 | mandir
|
---|
654 | localedir
|
---|
655 | libdir
|
---|
656 | psdir
|
---|
657 | pdfdir
|
---|
658 | dvidir
|
---|
659 | htmldir
|
---|
660 | infodir
|
---|
661 | docdir
|
---|
662 | oldincludedir
|
---|
663 | includedir
|
---|
664 | runstatedir
|
---|
665 | localstatedir
|
---|
666 | sharedstatedir
|
---|
667 | sysconfdir
|
---|
668 | datadir
|
---|
669 | datarootdir
|
---|
670 | libexecdir
|
---|
671 | sbindir
|
---|
672 | bindir
|
---|
673 | program_transform_name
|
---|
674 | prefix
|
---|
675 | exec_prefix
|
---|
676 | PACKAGE_URL
|
---|
677 | PACKAGE_BUGREPORT
|
---|
678 | PACKAGE_STRING
|
---|
679 | PACKAGE_VERSION
|
---|
680 | PACKAGE_TARNAME
|
---|
681 | PACKAGE_NAME
|
---|
682 | PATH_SEPARATOR
|
---|
683 | SHELL'
|
---|
684 | ac_subst_files=''
|
---|
685 | ac_user_opts='
|
---|
686 | enable_option_checking
|
---|
687 | '
|
---|
688 | ac_precious_vars='build_alias
|
---|
689 | host_alias
|
---|
690 | target_alias
|
---|
691 | CXX
|
---|
692 | CXXFLAGS
|
---|
693 | LDFLAGS
|
---|
694 | LIBS
|
---|
695 | CPPFLAGS
|
---|
696 | CCC
|
---|
697 | CC
|
---|
698 | CFLAGS
|
---|
699 | CPP'
|
---|
700 |
|
---|
701 |
|
---|
702 | # Initialize some variables set by options.
|
---|
703 | ac_init_help=
|
---|
704 | ac_init_version=false
|
---|
705 | ac_unrecognized_opts=
|
---|
706 | ac_unrecognized_sep=
|
---|
707 | # The variables have the same names as the options, with
|
---|
708 | # dashes changed to underlines.
|
---|
709 | cache_file=/dev/null
|
---|
710 | exec_prefix=NONE
|
---|
711 | no_create=
|
---|
712 | no_recursion=
|
---|
713 | prefix=NONE
|
---|
714 | program_prefix=NONE
|
---|
715 | program_suffix=NONE
|
---|
716 | program_transform_name=s,x,x,
|
---|
717 | silent=
|
---|
718 | site=
|
---|
719 | srcdir=
|
---|
720 | verbose=
|
---|
721 | x_includes=NONE
|
---|
722 | x_libraries=NONE
|
---|
723 |
|
---|
724 | # Installation directory options.
|
---|
725 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
726 | # and all the variables that are supposed to be based on exec_prefix
|
---|
727 | # by default will actually change.
|
---|
728 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
729 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
730 | bindir='${exec_prefix}/bin'
|
---|
731 | sbindir='${exec_prefix}/sbin'
|
---|
732 | libexecdir='${exec_prefix}/libexec'
|
---|
733 | datarootdir='${prefix}/share'
|
---|
734 | datadir='${datarootdir}'
|
---|
735 | sysconfdir='${prefix}/etc'
|
---|
736 | sharedstatedir='${prefix}/com'
|
---|
737 | localstatedir='${prefix}/var'
|
---|
738 | runstatedir='${localstatedir}/run'
|
---|
739 | includedir='${prefix}/include'
|
---|
740 | oldincludedir='/usr/include'
|
---|
741 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
---|
742 | infodir='${datarootdir}/info'
|
---|
743 | htmldir='${docdir}'
|
---|
744 | dvidir='${docdir}'
|
---|
745 | pdfdir='${docdir}'
|
---|
746 | psdir='${docdir}'
|
---|
747 | libdir='${exec_prefix}/lib'
|
---|
748 | localedir='${datarootdir}/locale'
|
---|
749 | mandir='${datarootdir}/man'
|
---|
750 |
|
---|
751 | ac_prev=
|
---|
752 | ac_dashdash=
|
---|
753 | for ac_option
|
---|
754 | do
|
---|
755 | # If the previous option needs an argument, assign it.
|
---|
756 | if test -n "$ac_prev"; then
|
---|
757 | eval $ac_prev=\$ac_option
|
---|
758 | ac_prev=
|
---|
759 | continue
|
---|
760 | fi
|
---|
761 |
|
---|
762 | case $ac_option in
|
---|
763 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
764 | *=) ac_optarg= ;;
|
---|
765 | *) ac_optarg=yes ;;
|
---|
766 | esac
|
---|
767 |
|
---|
768 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
769 |
|
---|
770 | case $ac_dashdash$ac_option in
|
---|
771 | --)
|
---|
772 | ac_dashdash=yes ;;
|
---|
773 |
|
---|
774 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
775 | ac_prev=bindir ;;
|
---|
776 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
777 | bindir=$ac_optarg ;;
|
---|
778 |
|
---|
779 | -build | --build | --buil | --bui | --bu)
|
---|
780 | ac_prev=build_alias ;;
|
---|
781 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
782 | build_alias=$ac_optarg ;;
|
---|
783 |
|
---|
784 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
785 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
786 | ac_prev=cache_file ;;
|
---|
787 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
788 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
789 | cache_file=$ac_optarg ;;
|
---|
790 |
|
---|
791 | --config-cache | -C)
|
---|
792 | cache_file=config.cache ;;
|
---|
793 |
|
---|
794 | -datadir | --datadir | --datadi | --datad)
|
---|
795 | ac_prev=datadir ;;
|
---|
796 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
797 | datadir=$ac_optarg ;;
|
---|
798 |
|
---|
799 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
800 | | --dataroo | --dataro | --datar)
|
---|
801 | ac_prev=datarootdir ;;
|
---|
802 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
803 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
804 | datarootdir=$ac_optarg ;;
|
---|
805 |
|
---|
806 | -disable-* | --disable-*)
|
---|
807 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
808 | # Reject names that are not valid shell variable names.
|
---|
809 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
810 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
811 | ac_useropt_orig=$ac_useropt
|
---|
812 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
813 | case $ac_user_opts in
|
---|
814 | *"
|
---|
815 | "enable_$ac_useropt"
|
---|
816 | "*) ;;
|
---|
817 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
---|
818 | ac_unrecognized_sep=', ';;
|
---|
819 | esac
|
---|
820 | eval enable_$ac_useropt=no ;;
|
---|
821 |
|
---|
822 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
823 | ac_prev=docdir ;;
|
---|
824 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
825 | docdir=$ac_optarg ;;
|
---|
826 |
|
---|
827 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
828 | ac_prev=dvidir ;;
|
---|
829 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
830 | dvidir=$ac_optarg ;;
|
---|
831 |
|
---|
832 | -enable-* | --enable-*)
|
---|
833 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
834 | # Reject names that are not valid shell variable names.
|
---|
835 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
836 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
837 | ac_useropt_orig=$ac_useropt
|
---|
838 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
839 | case $ac_user_opts in
|
---|
840 | *"
|
---|
841 | "enable_$ac_useropt"
|
---|
842 | "*) ;;
|
---|
843 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
---|
844 | ac_unrecognized_sep=', ';;
|
---|
845 | esac
|
---|
846 | eval enable_$ac_useropt=\$ac_optarg ;;
|
---|
847 |
|
---|
848 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
849 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
850 | | --exec | --exe | --ex)
|
---|
851 | ac_prev=exec_prefix ;;
|
---|
852 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
853 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
854 | | --exec=* | --exe=* | --ex=*)
|
---|
855 | exec_prefix=$ac_optarg ;;
|
---|
856 |
|
---|
857 | -gas | --gas | --ga | --g)
|
---|
858 | # Obsolete; use --with-gas.
|
---|
859 | with_gas=yes ;;
|
---|
860 |
|
---|
861 | -help | --help | --hel | --he | -h)
|
---|
862 | ac_init_help=long ;;
|
---|
863 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
864 | ac_init_help=recursive ;;
|
---|
865 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
866 | ac_init_help=short ;;
|
---|
867 |
|
---|
868 | -host | --host | --hos | --ho)
|
---|
869 | ac_prev=host_alias ;;
|
---|
870 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
871 | host_alias=$ac_optarg ;;
|
---|
872 |
|
---|
873 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
874 | ac_prev=htmldir ;;
|
---|
875 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
876 | | --ht=*)
|
---|
877 | htmldir=$ac_optarg ;;
|
---|
878 |
|
---|
879 | -includedir | --includedir | --includedi | --included | --include \
|
---|
880 | | --includ | --inclu | --incl | --inc)
|
---|
881 | ac_prev=includedir ;;
|
---|
882 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
883 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
884 | includedir=$ac_optarg ;;
|
---|
885 |
|
---|
886 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
887 | ac_prev=infodir ;;
|
---|
888 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
889 | infodir=$ac_optarg ;;
|
---|
890 |
|
---|
891 | -libdir | --libdir | --libdi | --libd)
|
---|
892 | ac_prev=libdir ;;
|
---|
893 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
894 | libdir=$ac_optarg ;;
|
---|
895 |
|
---|
896 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
897 | | --libexe | --libex | --libe)
|
---|
898 | ac_prev=libexecdir ;;
|
---|
899 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
900 | | --libexe=* | --libex=* | --libe=*)
|
---|
901 | libexecdir=$ac_optarg ;;
|
---|
902 |
|
---|
903 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
904 | ac_prev=localedir ;;
|
---|
905 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
906 | localedir=$ac_optarg ;;
|
---|
907 |
|
---|
908 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
909 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
910 | ac_prev=localstatedir ;;
|
---|
911 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
912 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
913 | localstatedir=$ac_optarg ;;
|
---|
914 |
|
---|
915 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
916 | ac_prev=mandir ;;
|
---|
917 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
918 | mandir=$ac_optarg ;;
|
---|
919 |
|
---|
920 | -nfp | --nfp | --nf)
|
---|
921 | # Obsolete; use --without-fp.
|
---|
922 | with_fp=no ;;
|
---|
923 |
|
---|
924 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
925 | | --no-cr | --no-c | -n)
|
---|
926 | no_create=yes ;;
|
---|
927 |
|
---|
928 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
929 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
930 | no_recursion=yes ;;
|
---|
931 |
|
---|
932 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
933 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
934 | | --oldin | --oldi | --old | --ol | --o)
|
---|
935 | ac_prev=oldincludedir ;;
|
---|
936 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
937 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
938 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
939 | oldincludedir=$ac_optarg ;;
|
---|
940 |
|
---|
941 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
942 | ac_prev=prefix ;;
|
---|
943 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
944 | prefix=$ac_optarg ;;
|
---|
945 |
|
---|
946 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
947 | | --program-pre | --program-pr | --program-p)
|
---|
948 | ac_prev=program_prefix ;;
|
---|
949 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
950 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
951 | program_prefix=$ac_optarg ;;
|
---|
952 |
|
---|
953 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
954 | | --program-suf | --program-su | --program-s)
|
---|
955 | ac_prev=program_suffix ;;
|
---|
956 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
957 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
958 | program_suffix=$ac_optarg ;;
|
---|
959 |
|
---|
960 | -program-transform-name | --program-transform-name \
|
---|
961 | | --program-transform-nam | --program-transform-na \
|
---|
962 | | --program-transform-n | --program-transform- \
|
---|
963 | | --program-transform | --program-transfor \
|
---|
964 | | --program-transfo | --program-transf \
|
---|
965 | | --program-trans | --program-tran \
|
---|
966 | | --progr-tra | --program-tr | --program-t)
|
---|
967 | ac_prev=program_transform_name ;;
|
---|
968 | -program-transform-name=* | --program-transform-name=* \
|
---|
969 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
970 | | --program-transform-n=* | --program-transform-=* \
|
---|
971 | | --program-transform=* | --program-transfor=* \
|
---|
972 | | --program-transfo=* | --program-transf=* \
|
---|
973 | | --program-trans=* | --program-tran=* \
|
---|
974 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
975 | program_transform_name=$ac_optarg ;;
|
---|
976 |
|
---|
977 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
978 | ac_prev=pdfdir ;;
|
---|
979 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
980 | pdfdir=$ac_optarg ;;
|
---|
981 |
|
---|
982 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
983 | ac_prev=psdir ;;
|
---|
984 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
985 | psdir=$ac_optarg ;;
|
---|
986 |
|
---|
987 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
988 | | -silent | --silent | --silen | --sile | --sil)
|
---|
989 | silent=yes ;;
|
---|
990 |
|
---|
991 | -runstatedir | --runstatedir | --runstatedi | --runstated \
|
---|
992 | | --runstate | --runstat | --runsta | --runst | --runs \
|
---|
993 | | --run | --ru | --r)
|
---|
994 | ac_prev=runstatedir ;;
|
---|
995 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
|
---|
996 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
|
---|
997 | | --run=* | --ru=* | --r=*)
|
---|
998 | runstatedir=$ac_optarg ;;
|
---|
999 |
|
---|
1000 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
1001 | ac_prev=sbindir ;;
|
---|
1002 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
1003 | | --sbi=* | --sb=*)
|
---|
1004 | sbindir=$ac_optarg ;;
|
---|
1005 |
|
---|
1006 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
1007 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
1008 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
1009 | | --sha | --sh)
|
---|
1010 | ac_prev=sharedstatedir ;;
|
---|
1011 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
1012 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
1013 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
1014 | | --sha=* | --sh=*)
|
---|
1015 | sharedstatedir=$ac_optarg ;;
|
---|
1016 |
|
---|
1017 | -site | --site | --sit)
|
---|
1018 | ac_prev=site ;;
|
---|
1019 | -site=* | --site=* | --sit=*)
|
---|
1020 | site=$ac_optarg ;;
|
---|
1021 |
|
---|
1022 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
1023 | ac_prev=srcdir ;;
|
---|
1024 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
1025 | srcdir=$ac_optarg ;;
|
---|
1026 |
|
---|
1027 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
1028 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
1029 | ac_prev=sysconfdir ;;
|
---|
1030 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
1031 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
1032 | sysconfdir=$ac_optarg ;;
|
---|
1033 |
|
---|
1034 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
1035 | ac_prev=target_alias ;;
|
---|
1036 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
1037 | target_alias=$ac_optarg ;;
|
---|
1038 |
|
---|
1039 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
1040 | verbose=yes ;;
|
---|
1041 |
|
---|
1042 | -version | --version | --versio | --versi | --vers | -V)
|
---|
1043 | ac_init_version=: ;;
|
---|
1044 |
|
---|
1045 | -with-* | --with-*)
|
---|
1046 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
1047 | # Reject names that are not valid shell variable names.
|
---|
1048 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
1049 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
1050 | ac_useropt_orig=$ac_useropt
|
---|
1051 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
1052 | case $ac_user_opts in
|
---|
1053 | *"
|
---|
1054 | "with_$ac_useropt"
|
---|
1055 | "*) ;;
|
---|
1056 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
---|
1057 | ac_unrecognized_sep=', ';;
|
---|
1058 | esac
|
---|
1059 | eval with_$ac_useropt=\$ac_optarg ;;
|
---|
1060 |
|
---|
1061 | -without-* | --without-*)
|
---|
1062 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
1063 | # Reject names that are not valid shell variable names.
|
---|
1064 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
1065 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
1066 | ac_useropt_orig=$ac_useropt
|
---|
1067 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
1068 | case $ac_user_opts in
|
---|
1069 | *"
|
---|
1070 | "with_$ac_useropt"
|
---|
1071 | "*) ;;
|
---|
1072 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
---|
1073 | ac_unrecognized_sep=', ';;
|
---|
1074 | esac
|
---|
1075 | eval with_$ac_useropt=no ;;
|
---|
1076 |
|
---|
1077 | --x)
|
---|
1078 | # Obsolete; use --with-x.
|
---|
1079 | with_x=yes ;;
|
---|
1080 |
|
---|
1081 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
1082 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
1083 | ac_prev=x_includes ;;
|
---|
1084 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
1085 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
1086 | x_includes=$ac_optarg ;;
|
---|
1087 |
|
---|
1088 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
1089 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
1090 | ac_prev=x_libraries ;;
|
---|
1091 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
1092 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
1093 | x_libraries=$ac_optarg ;;
|
---|
1094 |
|
---|
1095 | -*) as_fn_error $? "unrecognized option: \`$ac_option'
|
---|
1096 | Try \`$0 --help' for more information"
|
---|
1097 | ;;
|
---|
1098 |
|
---|
1099 | *=*)
|
---|
1100 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
1101 | # Reject names that are not valid shell variable names.
|
---|
1102 | case $ac_envvar in #(
|
---|
1103 | '' | [0-9]* | *[!_$as_cr_alnum]* )
|
---|
1104 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
---|
1105 | esac
|
---|
1106 | eval $ac_envvar=\$ac_optarg
|
---|
1107 | export $ac_envvar ;;
|
---|
1108 |
|
---|
1109 | *)
|
---|
1110 | # FIXME: should be removed in autoconf 3.0.
|
---|
1111 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
1112 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
1113 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
1114 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
---|
1115 | ;;
|
---|
1116 |
|
---|
1117 | esac
|
---|
1118 | done
|
---|
1119 |
|
---|
1120 | if test -n "$ac_prev"; then
|
---|
1121 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
1122 | as_fn_error $? "missing argument to $ac_option"
|
---|
1123 | fi
|
---|
1124 |
|
---|
1125 | if test -n "$ac_unrecognized_opts"; then
|
---|
1126 | case $enable_option_checking in
|
---|
1127 | no) ;;
|
---|
1128 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
---|
1129 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
---|
1130 | esac
|
---|
1131 | fi
|
---|
1132 |
|
---|
1133 | # Check all directory arguments for consistency.
|
---|
1134 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
1135 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
1136 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
1137 | libdir localedir mandir runstatedir
|
---|
1138 | do
|
---|
1139 | eval ac_val=\$$ac_var
|
---|
1140 | # Remove trailing slashes.
|
---|
1141 | case $ac_val in
|
---|
1142 | */ )
|
---|
1143 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
---|
1144 | eval $ac_var=\$ac_val;;
|
---|
1145 | esac
|
---|
1146 | # Be sure to have absolute directory names.
|
---|
1147 | case $ac_val in
|
---|
1148 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
1149 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
1150 | esac
|
---|
1151 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
---|
1152 | done
|
---|
1153 |
|
---|
1154 | # There might be people who depend on the old broken behavior: `$host'
|
---|
1155 | # used to hold the argument of --host etc.
|
---|
1156 | # FIXME: To remove some day.
|
---|
1157 | build=$build_alias
|
---|
1158 | host=$host_alias
|
---|
1159 | target=$target_alias
|
---|
1160 |
|
---|
1161 | # FIXME: To remove some day.
|
---|
1162 | if test "x$host_alias" != x; then
|
---|
1163 | if test "x$build_alias" = x; then
|
---|
1164 | cross_compiling=maybe
|
---|
1165 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
1166 | cross_compiling=yes
|
---|
1167 | fi
|
---|
1168 | fi
|
---|
1169 |
|
---|
1170 | ac_tool_prefix=
|
---|
1171 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
1172 |
|
---|
1173 | test "$silent" = yes && exec 6>/dev/null
|
---|
1174 |
|
---|
1175 |
|
---|
1176 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
1177 | ac_ls_di=`ls -di .` &&
|
---|
1178 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
1179 | as_fn_error $? "working directory cannot be determined"
|
---|
1180 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
1181 | as_fn_error $? "pwd does not report name of working directory"
|
---|
1182 |
|
---|
1183 |
|
---|
1184 | # Find the source files, if location was not specified.
|
---|
1185 | if test -z "$srcdir"; then
|
---|
1186 | ac_srcdir_defaulted=yes
|
---|
1187 | # Try the directory containing this script, then the parent directory.
|
---|
1188 | ac_confdir=`$as_dirname -- "$as_myself" ||
|
---|
1189 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
1190 | X"$as_myself" : 'X\(//\)[^/]' \| \
|
---|
1191 | X"$as_myself" : 'X\(//\)$' \| \
|
---|
1192 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
1193 | $as_echo X"$as_myself" |
|
---|
1194 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
1195 | s//\1/
|
---|
1196 | q
|
---|
1197 | }
|
---|
1198 | /^X\(\/\/\)[^/].*/{
|
---|
1199 | s//\1/
|
---|
1200 | q
|
---|
1201 | }
|
---|
1202 | /^X\(\/\/\)$/{
|
---|
1203 | s//\1/
|
---|
1204 | q
|
---|
1205 | }
|
---|
1206 | /^X\(\/\).*/{
|
---|
1207 | s//\1/
|
---|
1208 | q
|
---|
1209 | }
|
---|
1210 | s/.*/./; q'`
|
---|
1211 | srcdir=$ac_confdir
|
---|
1212 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
1213 | srcdir=..
|
---|
1214 | fi
|
---|
1215 | else
|
---|
1216 | ac_srcdir_defaulted=no
|
---|
1217 | fi
|
---|
1218 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
1219 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
1220 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
---|
1221 | fi
|
---|
1222 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
1223 | ac_abs_confdir=`(
|
---|
1224 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
---|
1225 | pwd)`
|
---|
1226 | # When building in place, set srcdir=.
|
---|
1227 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
1228 | srcdir=.
|
---|
1229 | fi
|
---|
1230 | # Remove unnecessary trailing slashes from srcdir.
|
---|
1231 | # Double slashes in file names in object file debugging info
|
---|
1232 | # mess up M-x gdb in Emacs.
|
---|
1233 | case $srcdir in
|
---|
1234 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
1235 | esac
|
---|
1236 | for ac_var in $ac_precious_vars; do
|
---|
1237 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
1238 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
1239 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
1240 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
1241 | done
|
---|
1242 |
|
---|
1243 | #
|
---|
1244 | # Report the --help message.
|
---|
1245 | #
|
---|
1246 | if test "$ac_init_help" = "long"; then
|
---|
1247 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
1248 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
1249 | cat <<_ACEOF
|
---|
1250 | \`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems.
|
---|
1251 |
|
---|
1252 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
1253 |
|
---|
1254 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
1255 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
1256 |
|
---|
1257 | Defaults for the options are specified in brackets.
|
---|
1258 |
|
---|
1259 | Configuration:
|
---|
1260 | -h, --help display this help and exit
|
---|
1261 | --help=short display options specific to this package
|
---|
1262 | --help=recursive display the short help of all the included packages
|
---|
1263 | -V, --version display version information and exit
|
---|
1264 | -q, --quiet, --silent do not print \`checking ...' messages
|
---|
1265 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
1266 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
1267 | -n, --no-create do not create output files
|
---|
1268 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
1269 |
|
---|
1270 | Installation directories:
|
---|
1271 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
1272 | [$ac_default_prefix]
|
---|
1273 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
1274 | [PREFIX]
|
---|
1275 |
|
---|
1276 | By default, \`make install' will install all the files in
|
---|
1277 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
1278 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
1279 | for instance \`--prefix=\$HOME'.
|
---|
1280 |
|
---|
1281 | For better control, use the options below.
|
---|
1282 |
|
---|
1283 | Fine tuning of the installation directories:
|
---|
1284 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
1285 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
1286 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
1287 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
1288 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
1289 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
1290 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
|
---|
1291 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
1292 | --includedir=DIR C header files [PREFIX/include]
|
---|
1293 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
1294 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
1295 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
1296 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
1297 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
1298 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
1299 | --docdir=DIR documentation root
|
---|
1300 | [DATAROOTDIR/doc/full-package-name]
|
---|
1301 | --htmldir=DIR html documentation [DOCDIR]
|
---|
1302 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
1303 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
1304 | --psdir=DIR ps documentation [DOCDIR]
|
---|
1305 | _ACEOF
|
---|
1306 |
|
---|
1307 | cat <<\_ACEOF
|
---|
1308 | _ACEOF
|
---|
1309 | fi
|
---|
1310 |
|
---|
1311 | if test -n "$ac_init_help"; then
|
---|
1312 | case $ac_init_help in
|
---|
1313 | short | recursive ) echo "Configuration of FULL-PACKAGE-NAME VERSION:";;
|
---|
1314 | esac
|
---|
1315 | cat <<\_ACEOF
|
---|
1316 |
|
---|
1317 | Some influential environment variables:
|
---|
1318 | CXX C++ compiler command
|
---|
1319 | CXXFLAGS C++ compiler flags
|
---|
1320 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
1321 | nonstandard directory <lib dir>
|
---|
1322 | LIBS libraries to pass to the linker, e.g. -l<library>
|
---|
1323 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
---|
1324 | you have headers in a nonstandard directory <include dir>
|
---|
1325 | CC C compiler command
|
---|
1326 | CFLAGS C compiler flags
|
---|
1327 | CPP C preprocessor
|
---|
1328 |
|
---|
1329 | Use these variables to override the choices made by `configure' or to help
|
---|
1330 | it to find libraries and programs with nonstandard names/locations.
|
---|
1331 |
|
---|
1332 | Report bugs to <BUG-REPORT-ADDRESS>.
|
---|
1333 | _ACEOF
|
---|
1334 | ac_status=$?
|
---|
1335 | fi
|
---|
1336 |
|
---|
1337 | if test "$ac_init_help" = "recursive"; then
|
---|
1338 | # If there are subdirs, report their specific --help.
|
---|
1339 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
1340 | test -d "$ac_dir" ||
|
---|
1341 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
---|
1342 | continue
|
---|
1343 | ac_builddir=.
|
---|
1344 |
|
---|
1345 | case "$ac_dir" in
|
---|
1346 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
1347 | *)
|
---|
1348 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
1349 | # A ".." for each directory in $ac_dir_suffix.
|
---|
1350 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
1351 | case $ac_top_builddir_sub in
|
---|
1352 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
1353 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
1354 | esac ;;
|
---|
1355 | esac
|
---|
1356 | ac_abs_top_builddir=$ac_pwd
|
---|
1357 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
1358 | # for backward compatibility:
|
---|
1359 | ac_top_builddir=$ac_top_build_prefix
|
---|
1360 |
|
---|
1361 | case $srcdir in
|
---|
1362 | .) # We are building in place.
|
---|
1363 | ac_srcdir=.
|
---|
1364 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
1365 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
1366 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
1367 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
1368 | ac_top_srcdir=$srcdir
|
---|
1369 | ac_abs_top_srcdir=$srcdir ;;
|
---|
1370 | *) # Relative name.
|
---|
1371 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
1372 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
1373 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
1374 | esac
|
---|
1375 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
1376 |
|
---|
1377 | cd "$ac_dir" || { ac_status=$?; continue; }
|
---|
1378 | # Check for guested configure.
|
---|
1379 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
1380 | echo &&
|
---|
1381 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
---|
1382 | elif test -f "$ac_srcdir/configure"; then
|
---|
1383 | echo &&
|
---|
1384 | $SHELL "$ac_srcdir/configure" --help=recursive
|
---|
1385 | else
|
---|
1386 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
1387 | fi || ac_status=$?
|
---|
1388 | cd "$ac_pwd" || { ac_status=$?; break; }
|
---|
1389 | done
|
---|
1390 | fi
|
---|
1391 |
|
---|
1392 | test -n "$ac_init_help" && exit $ac_status
|
---|
1393 | if $ac_init_version; then
|
---|
1394 | cat <<\_ACEOF
|
---|
1395 | FULL-PACKAGE-NAME configure VERSION
|
---|
1396 | generated by GNU Autoconf 2.69
|
---|
1397 |
|
---|
1398 | Copyright (C) 2012 Free Software Foundation, Inc.
|
---|
1399 | This configure script is free software; the Free Software Foundation
|
---|
1400 | gives unlimited permission to copy, distribute and modify it.
|
---|
1401 | _ACEOF
|
---|
1402 | exit
|
---|
1403 | fi
|
---|
1404 |
|
---|
1405 | ## ------------------------ ##
|
---|
1406 | ## Autoconf initialization. ##
|
---|
1407 | ## ------------------------ ##
|
---|
1408 |
|
---|
1409 | # ac_fn_cxx_try_compile LINENO
|
---|
1410 | # ----------------------------
|
---|
1411 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
1412 | ac_fn_cxx_try_compile ()
|
---|
1413 | {
|
---|
1414 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
1415 | rm -f conftest.$ac_objext
|
---|
1416 | if { { ac_try="$ac_compile"
|
---|
1417 | case "(($ac_try" in
|
---|
1418 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
1419 | *) ac_try_echo=$ac_try;;
|
---|
1420 | esac
|
---|
1421 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
1422 | $as_echo "$ac_try_echo"; } >&5
|
---|
1423 | (eval "$ac_compile") 2>conftest.err
|
---|
1424 | ac_status=$?
|
---|
1425 | if test -s conftest.err; then
|
---|
1426 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
1427 | cat conftest.er1 >&5
|
---|
1428 | mv -f conftest.er1 conftest.err
|
---|
1429 | fi
|
---|
1430 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
1431 | test $ac_status = 0; } && {
|
---|
1432 | test -z "$ac_cxx_werror_flag" ||
|
---|
1433 | test ! -s conftest.err
|
---|
1434 | } && test -s conftest.$ac_objext; then :
|
---|
1435 | ac_retval=0
|
---|
1436 | else
|
---|
1437 | $as_echo "$as_me: failed program was:" >&5
|
---|
1438 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
1439 |
|
---|
1440 | ac_retval=1
|
---|
1441 | fi
|
---|
1442 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
1443 | as_fn_set_status $ac_retval
|
---|
1444 |
|
---|
1445 | } # ac_fn_cxx_try_compile
|
---|
1446 |
|
---|
1447 | # ac_fn_c_try_compile LINENO
|
---|
1448 | # --------------------------
|
---|
1449 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
1450 | ac_fn_c_try_compile ()
|
---|
1451 | {
|
---|
1452 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
1453 | rm -f conftest.$ac_objext
|
---|
1454 | if { { ac_try="$ac_compile"
|
---|
1455 | case "(($ac_try" in
|
---|
1456 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
1457 | *) ac_try_echo=$ac_try;;
|
---|
1458 | esac
|
---|
1459 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
1460 | $as_echo "$ac_try_echo"; } >&5
|
---|
1461 | (eval "$ac_compile") 2>conftest.err
|
---|
1462 | ac_status=$?
|
---|
1463 | if test -s conftest.err; then
|
---|
1464 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
1465 | cat conftest.er1 >&5
|
---|
1466 | mv -f conftest.er1 conftest.err
|
---|
1467 | fi
|
---|
1468 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
1469 | test $ac_status = 0; } && {
|
---|
1470 | test -z "$ac_c_werror_flag" ||
|
---|
1471 | test ! -s conftest.err
|
---|
1472 | } && test -s conftest.$ac_objext; then :
|
---|
1473 | ac_retval=0
|
---|
1474 | else
|
---|
1475 | $as_echo "$as_me: failed program was:" >&5
|
---|
1476 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
1477 |
|
---|
1478 | ac_retval=1
|
---|
1479 | fi
|
---|
1480 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
1481 | as_fn_set_status $ac_retval
|
---|
1482 |
|
---|
1483 | } # ac_fn_c_try_compile
|
---|
1484 |
|
---|
1485 | # ac_fn_c_try_cpp LINENO
|
---|
1486 | # ----------------------
|
---|
1487 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
---|
1488 | ac_fn_c_try_cpp ()
|
---|
1489 | {
|
---|
1490 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
1491 | if { { ac_try="$ac_cpp conftest.$ac_ext"
|
---|
1492 | case "(($ac_try" in
|
---|
1493 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
1494 | *) ac_try_echo=$ac_try;;
|
---|
1495 | esac
|
---|
1496 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
1497 | $as_echo "$ac_try_echo"; } >&5
|
---|
1498 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
---|
1499 | ac_status=$?
|
---|
1500 | if test -s conftest.err; then
|
---|
1501 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
1502 | cat conftest.er1 >&5
|
---|
1503 | mv -f conftest.er1 conftest.err
|
---|
1504 | fi
|
---|
1505 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
1506 | test $ac_status = 0; } > conftest.i && {
|
---|
1507 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
1508 | test ! -s conftest.err
|
---|
1509 | }; then :
|
---|
1510 | ac_retval=0
|
---|
1511 | else
|
---|
1512 | $as_echo "$as_me: failed program was:" >&5
|
---|
1513 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
1514 |
|
---|
1515 | ac_retval=1
|
---|
1516 | fi
|
---|
1517 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
1518 | as_fn_set_status $ac_retval
|
---|
1519 |
|
---|
1520 | } # ac_fn_c_try_cpp
|
---|
1521 |
|
---|
1522 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
---|
1523 | # -------------------------------------------
|
---|
1524 | # Tests whether TYPE exists after having included INCLUDES, setting cache
|
---|
1525 | # variable VAR accordingly.
|
---|
1526 | ac_fn_c_check_type ()
|
---|
1527 | {
|
---|
1528 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
1529 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
1530 | $as_echo_n "checking for $2... " >&6; }
|
---|
1531 | if eval \${$3+:} false; then :
|
---|
1532 | $as_echo_n "(cached) " >&6
|
---|
1533 | else
|
---|
1534 | eval "$3=no"
|
---|
1535 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
1536 | /* end confdefs.h. */
|
---|
1537 | $4
|
---|
1538 | int
|
---|
1539 | main ()
|
---|
1540 | {
|
---|
1541 | if (sizeof ($2))
|
---|
1542 | return 0;
|
---|
1543 | ;
|
---|
1544 | return 0;
|
---|
1545 | }
|
---|
1546 | _ACEOF
|
---|
1547 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
1548 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
1549 | /* end confdefs.h. */
|
---|
1550 | $4
|
---|
1551 | int
|
---|
1552 | main ()
|
---|
1553 | {
|
---|
1554 | if (sizeof (($2)))
|
---|
1555 | return 0;
|
---|
1556 | ;
|
---|
1557 | return 0;
|
---|
1558 | }
|
---|
1559 | _ACEOF
|
---|
1560 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
1561 |
|
---|
1562 | else
|
---|
1563 | eval "$3=yes"
|
---|
1564 | fi
|
---|
1565 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
1566 | fi
|
---|
1567 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
1568 | fi
|
---|
1569 | eval ac_res=\$$3
|
---|
1570 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
1571 | $as_echo "$ac_res" >&6; }
|
---|
1572 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
1573 |
|
---|
1574 | } # ac_fn_c_check_type
|
---|
1575 |
|
---|
1576 | # ac_fn_c_try_run LINENO
|
---|
1577 | # ----------------------
|
---|
1578 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
---|
1579 | # that executables *can* be run.
|
---|
1580 | ac_fn_c_try_run ()
|
---|
1581 | {
|
---|
1582 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
1583 | if { { ac_try="$ac_link"
|
---|
1584 | case "(($ac_try" in
|
---|
1585 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
1586 | *) ac_try_echo=$ac_try;;
|
---|
1587 | esac
|
---|
1588 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
1589 | $as_echo "$ac_try_echo"; } >&5
|
---|
1590 | (eval "$ac_link") 2>&5
|
---|
1591 | ac_status=$?
|
---|
1592 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
1593 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
---|
1594 | { { case "(($ac_try" in
|
---|
1595 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
1596 | *) ac_try_echo=$ac_try;;
|
---|
1597 | esac
|
---|
1598 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
1599 | $as_echo "$ac_try_echo"; } >&5
|
---|
1600 | (eval "$ac_try") 2>&5
|
---|
1601 | ac_status=$?
|
---|
1602 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
1603 | test $ac_status = 0; }; }; then :
|
---|
1604 | ac_retval=0
|
---|
1605 | else
|
---|
1606 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
1607 | $as_echo "$as_me: failed program was:" >&5
|
---|
1608 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
1609 |
|
---|
1610 | ac_retval=$ac_status
|
---|
1611 | fi
|
---|
1612 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
1613 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
1614 | as_fn_set_status $ac_retval
|
---|
1615 |
|
---|
1616 | } # ac_fn_c_try_run
|
---|
1617 |
|
---|
1618 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
---|
1619 | # -------------------------------------------------------
|
---|
1620 | # Tests whether HEADER exists and can be compiled using the include files in
|
---|
1621 | # INCLUDES, setting the cache variable VAR accordingly.
|
---|
1622 | ac_fn_c_check_header_compile ()
|
---|
1623 | {
|
---|
1624 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
1625 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
1626 | $as_echo_n "checking for $2... " >&6; }
|
---|
1627 | if eval \${$3+:} false; then :
|
---|
1628 | $as_echo_n "(cached) " >&6
|
---|
1629 | else
|
---|
1630 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
1631 | /* end confdefs.h. */
|
---|
1632 | $4
|
---|
1633 | #include <$2>
|
---|
1634 | _ACEOF
|
---|
1635 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
1636 | eval "$3=yes"
|
---|
1637 | else
|
---|
1638 | eval "$3=no"
|
---|
1639 | fi
|
---|
1640 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
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 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
1646 |
|
---|
1647 | } # ac_fn_c_check_header_compile
|
---|
1648 |
|
---|
1649 | # ac_fn_c_try_link LINENO
|
---|
1650 | # -----------------------
|
---|
1651 | # Try to link conftest.$ac_ext, and return whether this succeeded.
|
---|
1652 | ac_fn_c_try_link ()
|
---|
1653 | {
|
---|
1654 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
1655 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
1656 | if { { ac_try="$ac_link"
|
---|
1657 | case "(($ac_try" in
|
---|
1658 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
1659 | *) ac_try_echo=$ac_try;;
|
---|
1660 | esac
|
---|
1661 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
1662 | $as_echo "$ac_try_echo"; } >&5
|
---|
1663 | (eval "$ac_link") 2>conftest.err
|
---|
1664 | ac_status=$?
|
---|
1665 | if test -s conftest.err; then
|
---|
1666 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
1667 | cat conftest.er1 >&5
|
---|
1668 | mv -f conftest.er1 conftest.err
|
---|
1669 | fi
|
---|
1670 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
1671 | test $ac_status = 0; } && {
|
---|
1672 | test -z "$ac_c_werror_flag" ||
|
---|
1673 | test ! -s conftest.err
|
---|
1674 | } && test -s conftest$ac_exeext && {
|
---|
1675 | test "$cross_compiling" = yes ||
|
---|
1676 | test -x conftest$ac_exeext
|
---|
1677 | }; then :
|
---|
1678 | ac_retval=0
|
---|
1679 | else
|
---|
1680 | $as_echo "$as_me: failed program was:" >&5
|
---|
1681 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
1682 |
|
---|
1683 | ac_retval=1
|
---|
1684 | fi
|
---|
1685 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
---|
1686 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
---|
1687 | # interfere with the next link command; also delete a directory that is
|
---|
1688 | # left behind by Apple's compiler. We do this before executing the actions.
|
---|
1689 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
1690 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
1691 | as_fn_set_status $ac_retval
|
---|
1692 |
|
---|
1693 | } # ac_fn_c_try_link
|
---|
1694 |
|
---|
1695 | # ac_fn_c_check_func LINENO FUNC VAR
|
---|
1696 | # ----------------------------------
|
---|
1697 | # Tests whether FUNC exists, setting the cache variable VAR accordingly
|
---|
1698 | ac_fn_c_check_func ()
|
---|
1699 | {
|
---|
1700 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
1701 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
1702 | $as_echo_n "checking for $2... " >&6; }
|
---|
1703 | if eval \${$3+:} false; then :
|
---|
1704 | $as_echo_n "(cached) " >&6
|
---|
1705 | else
|
---|
1706 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
1707 | /* end confdefs.h. */
|
---|
1708 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
---|
1709 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
1710 | #define $2 innocuous_$2
|
---|
1711 |
|
---|
1712 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
1713 | which can conflict with char $2 (); below.
|
---|
1714 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
1715 | <limits.h> exists even on freestanding compilers. */
|
---|
1716 |
|
---|
1717 | #ifdef __STDC__
|
---|
1718 | # include <limits.h>
|
---|
1719 | #else
|
---|
1720 | # include <assert.h>
|
---|
1721 | #endif
|
---|
1722 |
|
---|
1723 | #undef $2
|
---|
1724 |
|
---|
1725 | /* Override any GCC internal prototype to avoid an error.
|
---|
1726 | Use char because int might match the return type of a GCC
|
---|
1727 | builtin and then its argument prototype would still apply. */
|
---|
1728 | #ifdef __cplusplus
|
---|
1729 | extern "C"
|
---|
1730 | #endif
|
---|
1731 | char $2 ();
|
---|
1732 | /* The GNU C library defines this for functions which it implements
|
---|
1733 | to always fail with ENOSYS. Some functions are actually named
|
---|
1734 | something starting with __ and the normal name is an alias. */
|
---|
1735 | #if defined __stub_$2 || defined __stub___$2
|
---|
1736 | choke me
|
---|
1737 | #endif
|
---|
1738 |
|
---|
1739 | int
|
---|
1740 | main ()
|
---|
1741 | {
|
---|
1742 | return $2 ();
|
---|
1743 | ;
|
---|
1744 | return 0;
|
---|
1745 | }
|
---|
1746 | _ACEOF
|
---|
1747 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
1748 | eval "$3=yes"
|
---|
1749 | else
|
---|
1750 | eval "$3=no"
|
---|
1751 | fi
|
---|
1752 | rm -f core conftest.err conftest.$ac_objext \
|
---|
1753 | conftest$ac_exeext conftest.$ac_ext
|
---|
1754 | fi
|
---|
1755 | eval ac_res=\$$3
|
---|
1756 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
1757 | $as_echo "$ac_res" >&6; }
|
---|
1758 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
1759 |
|
---|
1760 | } # ac_fn_c_check_func
|
---|
1761 | cat >config.log <<_ACEOF
|
---|
1762 | This file contains any messages produced by compilers while
|
---|
1763 | running configure, to aid debugging if configure makes a mistake.
|
---|
1764 |
|
---|
1765 | It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
|
---|
1766 | generated by GNU Autoconf 2.69. Invocation command line was
|
---|
1767 |
|
---|
1768 | $ $0 $@
|
---|
1769 |
|
---|
1770 | _ACEOF
|
---|
1771 | exec 5>>config.log
|
---|
1772 | {
|
---|
1773 | cat <<_ASUNAME
|
---|
1774 | ## --------- ##
|
---|
1775 | ## Platform. ##
|
---|
1776 | ## --------- ##
|
---|
1777 |
|
---|
1778 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
1779 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
1780 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
1781 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
1782 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
1783 |
|
---|
1784 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
1785 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
1786 |
|
---|
1787 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
1788 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
1789 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
1790 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
1791 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
1792 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
1793 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
1794 |
|
---|
1795 | _ASUNAME
|
---|
1796 |
|
---|
1797 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1798 | for as_dir in $PATH
|
---|
1799 | do
|
---|
1800 | IFS=$as_save_IFS
|
---|
1801 | test -z "$as_dir" && as_dir=.
|
---|
1802 | $as_echo "PATH: $as_dir"
|
---|
1803 | done
|
---|
1804 | IFS=$as_save_IFS
|
---|
1805 |
|
---|
1806 | } >&5
|
---|
1807 |
|
---|
1808 | cat >&5 <<_ACEOF
|
---|
1809 |
|
---|
1810 |
|
---|
1811 | ## ----------- ##
|
---|
1812 | ## Core tests. ##
|
---|
1813 | ## ----------- ##
|
---|
1814 |
|
---|
1815 | _ACEOF
|
---|
1816 |
|
---|
1817 |
|
---|
1818 | # Keep a trace of the command line.
|
---|
1819 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
1820 | # Strip out --silent because we don't want to record it for future runs.
|
---|
1821 | # Also quote any args containing shell meta-characters.
|
---|
1822 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
1823 | ac_configure_args=
|
---|
1824 | ac_configure_args0=
|
---|
1825 | ac_configure_args1=
|
---|
1826 | ac_must_keep_next=false
|
---|
1827 | for ac_pass in 1 2
|
---|
1828 | do
|
---|
1829 | for ac_arg
|
---|
1830 | do
|
---|
1831 | case $ac_arg in
|
---|
1832 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
1833 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
1834 | | -silent | --silent | --silen | --sile | --sil)
|
---|
1835 | continue ;;
|
---|
1836 | *\'*)
|
---|
1837 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
1838 | esac
|
---|
1839 | case $ac_pass in
|
---|
1840 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
---|
1841 | 2)
|
---|
1842 | as_fn_append ac_configure_args1 " '$ac_arg'"
|
---|
1843 | if test $ac_must_keep_next = true; then
|
---|
1844 | ac_must_keep_next=false # Got value, back to normal.
|
---|
1845 | else
|
---|
1846 | case $ac_arg in
|
---|
1847 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
1848 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
1849 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
1850 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
1851 | case "$ac_configure_args0 " in
|
---|
1852 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
1853 | esac
|
---|
1854 | ;;
|
---|
1855 | -* ) ac_must_keep_next=true ;;
|
---|
1856 | esac
|
---|
1857 | fi
|
---|
1858 | as_fn_append ac_configure_args " '$ac_arg'"
|
---|
1859 | ;;
|
---|
1860 | esac
|
---|
1861 | done
|
---|
1862 | done
|
---|
1863 | { ac_configure_args0=; unset ac_configure_args0;}
|
---|
1864 | { ac_configure_args1=; unset ac_configure_args1;}
|
---|
1865 |
|
---|
1866 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
1867 | # config.log. We remove comments because anyway the quotes in there
|
---|
1868 | # would cause problems or look ugly.
|
---|
1869 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
---|
1870 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
---|
1871 | trap 'exit_status=$?
|
---|
1872 | # Save into config.log some information that might help in debugging.
|
---|
1873 | {
|
---|
1874 | echo
|
---|
1875 |
|
---|
1876 | $as_echo "## ---------------- ##
|
---|
1877 | ## Cache variables. ##
|
---|
1878 | ## ---------------- ##"
|
---|
1879 | echo
|
---|
1880 | # The following way of writing the cache mishandles newlines in values,
|
---|
1881 | (
|
---|
1882 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
---|
1883 | eval ac_val=\$$ac_var
|
---|
1884 | case $ac_val in #(
|
---|
1885 | *${as_nl}*)
|
---|
1886 | case $ac_var in #(
|
---|
1887 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
1888 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
1889 | esac
|
---|
1890 | case $ac_var in #(
|
---|
1891 | _ | IFS | as_nl) ;; #(
|
---|
1892 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
1893 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
1894 | esac ;;
|
---|
1895 | esac
|
---|
1896 | done
|
---|
1897 | (set) 2>&1 |
|
---|
1898 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
1899 | *${as_nl}ac_space=\ *)
|
---|
1900 | sed -n \
|
---|
1901 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
1902 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
1903 | ;; #(
|
---|
1904 | *)
|
---|
1905 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
1906 | ;;
|
---|
1907 | esac |
|
---|
1908 | sort
|
---|
1909 | )
|
---|
1910 | echo
|
---|
1911 |
|
---|
1912 | $as_echo "## ----------------- ##
|
---|
1913 | ## Output variables. ##
|
---|
1914 | ## ----------------- ##"
|
---|
1915 | echo
|
---|
1916 | for ac_var in $ac_subst_vars
|
---|
1917 | do
|
---|
1918 | eval ac_val=\$$ac_var
|
---|
1919 | case $ac_val in
|
---|
1920 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
1921 | esac
|
---|
1922 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
1923 | done | sort
|
---|
1924 | echo
|
---|
1925 |
|
---|
1926 | if test -n "$ac_subst_files"; then
|
---|
1927 | $as_echo "## ------------------- ##
|
---|
1928 | ## File substitutions. ##
|
---|
1929 | ## ------------------- ##"
|
---|
1930 | echo
|
---|
1931 | for ac_var in $ac_subst_files
|
---|
1932 | do
|
---|
1933 | eval ac_val=\$$ac_var
|
---|
1934 | case $ac_val in
|
---|
1935 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
1936 | esac
|
---|
1937 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
1938 | done | sort
|
---|
1939 | echo
|
---|
1940 | fi
|
---|
1941 |
|
---|
1942 | if test -s confdefs.h; then
|
---|
1943 | $as_echo "## ----------- ##
|
---|
1944 | ## confdefs.h. ##
|
---|
1945 | ## ----------- ##"
|
---|
1946 | echo
|
---|
1947 | cat confdefs.h
|
---|
1948 | echo
|
---|
1949 | fi
|
---|
1950 | test "$ac_signal" != 0 &&
|
---|
1951 | $as_echo "$as_me: caught signal $ac_signal"
|
---|
1952 | $as_echo "$as_me: exit $exit_status"
|
---|
1953 | } >&5
|
---|
1954 | rm -f core *.core core.conftest.* &&
|
---|
1955 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
1956 | exit $exit_status
|
---|
1957 | ' 0
|
---|
1958 | for ac_signal in 1 2 13 15; do
|
---|
1959 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
---|
1960 | done
|
---|
1961 | ac_signal=0
|
---|
1962 |
|
---|
1963 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
1964 | rm -f -r conftest* confdefs.h
|
---|
1965 |
|
---|
1966 | $as_echo "/* confdefs.h */" > confdefs.h
|
---|
1967 |
|
---|
1968 | # Predefined preprocessor variables.
|
---|
1969 |
|
---|
1970 | cat >>confdefs.h <<_ACEOF
|
---|
1971 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
1972 | _ACEOF
|
---|
1973 |
|
---|
1974 | cat >>confdefs.h <<_ACEOF
|
---|
1975 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
1976 | _ACEOF
|
---|
1977 |
|
---|
1978 | cat >>confdefs.h <<_ACEOF
|
---|
1979 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
1980 | _ACEOF
|
---|
1981 |
|
---|
1982 | cat >>confdefs.h <<_ACEOF
|
---|
1983 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
1984 | _ACEOF
|
---|
1985 |
|
---|
1986 | cat >>confdefs.h <<_ACEOF
|
---|
1987 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
1988 | _ACEOF
|
---|
1989 |
|
---|
1990 | cat >>confdefs.h <<_ACEOF
|
---|
1991 | #define PACKAGE_URL "$PACKAGE_URL"
|
---|
1992 | _ACEOF
|
---|
1993 |
|
---|
1994 |
|
---|
1995 | # Let the site file select an alternate cache file if it wants to.
|
---|
1996 | # Prefer an explicitly selected file to automatically selected ones.
|
---|
1997 | ac_site_file1=NONE
|
---|
1998 | ac_site_file2=NONE
|
---|
1999 | if test -n "$CONFIG_SITE"; then
|
---|
2000 | # We do not want a PATH search for config.site.
|
---|
2001 | case $CONFIG_SITE in #((
|
---|
2002 | -*) ac_site_file1=./$CONFIG_SITE;;
|
---|
2003 | */*) ac_site_file1=$CONFIG_SITE;;
|
---|
2004 | *) ac_site_file1=./$CONFIG_SITE;;
|
---|
2005 | esac
|
---|
2006 | elif test "x$prefix" != xNONE; then
|
---|
2007 | ac_site_file1=$prefix/share/config.site
|
---|
2008 | ac_site_file2=$prefix/etc/config.site
|
---|
2009 | else
|
---|
2010 | ac_site_file1=$ac_default_prefix/share/config.site
|
---|
2011 | ac_site_file2=$ac_default_prefix/etc/config.site
|
---|
2012 | fi
|
---|
2013 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
2014 | do
|
---|
2015 | test "x$ac_site_file" = xNONE && continue
|
---|
2016 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
---|
2017 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
---|
2018 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
2019 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
2020 | . "$ac_site_file" \
|
---|
2021 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
2022 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
2023 | as_fn_error $? "failed to load site script $ac_site_file
|
---|
2024 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
2025 | fi
|
---|
2026 | done
|
---|
2027 |
|
---|
2028 | if test -r "$cache_file"; then
|
---|
2029 | # Some versions of bash will fail to source /dev/null (special files
|
---|
2030 | # actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
---|
2031 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
---|
2032 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
---|
2033 | $as_echo "$as_me: loading cache $cache_file" >&6;}
|
---|
2034 | case $cache_file in
|
---|
2035 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
2036 | *) . "./$cache_file";;
|
---|
2037 | esac
|
---|
2038 | fi
|
---|
2039 | else
|
---|
2040 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
---|
2041 | $as_echo "$as_me: creating cache $cache_file" >&6;}
|
---|
2042 | >$cache_file
|
---|
2043 | fi
|
---|
2044 |
|
---|
2045 | # Check that the precious variables saved in the cache have kept the same
|
---|
2046 | # value.
|
---|
2047 | ac_cache_corrupted=false
|
---|
2048 | for ac_var in $ac_precious_vars; do
|
---|
2049 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
2050 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
2051 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
2052 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
2053 | case $ac_old_set,$ac_new_set in
|
---|
2054 | set,)
|
---|
2055 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
2056 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
2057 | ac_cache_corrupted=: ;;
|
---|
2058 | ,set)
|
---|
2059 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
---|
2060 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
2061 | ac_cache_corrupted=: ;;
|
---|
2062 | ,);;
|
---|
2063 | *)
|
---|
2064 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
2065 | # differences in whitespace do not lead to failure.
|
---|
2066 | ac_old_val_w=`echo x $ac_old_val`
|
---|
2067 | ac_new_val_w=`echo x $ac_new_val`
|
---|
2068 | if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
---|
2069 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
2070 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
2071 | ac_cache_corrupted=:
|
---|
2072 | else
|
---|
2073 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
---|
2074 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
---|
2075 | eval $ac_var=\$ac_old_val
|
---|
2076 | fi
|
---|
2077 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
---|
2078 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
---|
2079 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
---|
2080 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
---|
2081 | fi;;
|
---|
2082 | esac
|
---|
2083 | # Pass precious variables to config.status.
|
---|
2084 | if test "$ac_new_set" = set; then
|
---|
2085 | case $ac_new_val in
|
---|
2086 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
2087 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
2088 | esac
|
---|
2089 | case " $ac_configure_args " in
|
---|
2090 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
2091 | *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
---|
2092 | esac
|
---|
2093 | fi
|
---|
2094 | done
|
---|
2095 | if $ac_cache_corrupted; then
|
---|
2096 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
2097 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
2098 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
---|
2099 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
2100 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
---|
2101 | fi
|
---|
2102 | ## -------------------- ##
|
---|
2103 | ## Main body of script. ##
|
---|
2104 | ## -------------------- ##
|
---|
2105 |
|
---|
2106 | ac_ext=c
|
---|
2107 | ac_cpp='$CPP $CPPFLAGS'
|
---|
2108 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
2109 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
2110 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
2111 |
|
---|
2112 |
|
---|
2113 |
|
---|
2114 | ac_config_headers="$ac_config_headers config.h"
|
---|
2115 |
|
---|
2116 |
|
---|
2117 | # Checks for programs.
|
---|
2118 | ac_ext=cpp
|
---|
2119 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
2120 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
2121 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
2122 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
2123 | if test -z "$CXX"; then
|
---|
2124 | if test -n "$CCC"; then
|
---|
2125 | CXX=$CCC
|
---|
2126 | else
|
---|
2127 | if test -n "$ac_tool_prefix"; then
|
---|
2128 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
2129 | do
|
---|
2130 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
2131 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
2132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
2133 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
2134 | if ${ac_cv_prog_CXX+:} false; then :
|
---|
2135 | $as_echo_n "(cached) " >&6
|
---|
2136 | else
|
---|
2137 | if test -n "$CXX"; then
|
---|
2138 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
2139 | else
|
---|
2140 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2141 | for as_dir in $PATH
|
---|
2142 | do
|
---|
2143 | IFS=$as_save_IFS
|
---|
2144 | test -z "$as_dir" && as_dir=.
|
---|
2145 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2146 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
2147 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
2148 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2149 | break 2
|
---|
2150 | fi
|
---|
2151 | done
|
---|
2152 | done
|
---|
2153 | IFS=$as_save_IFS
|
---|
2154 |
|
---|
2155 | fi
|
---|
2156 | fi
|
---|
2157 | CXX=$ac_cv_prog_CXX
|
---|
2158 | if test -n "$CXX"; then
|
---|
2159 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
---|
2160 | $as_echo "$CXX" >&6; }
|
---|
2161 | else
|
---|
2162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2163 | $as_echo "no" >&6; }
|
---|
2164 | fi
|
---|
2165 |
|
---|
2166 |
|
---|
2167 | test -n "$CXX" && break
|
---|
2168 | done
|
---|
2169 | fi
|
---|
2170 | if test -z "$CXX"; then
|
---|
2171 | ac_ct_CXX=$CXX
|
---|
2172 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
2173 | do
|
---|
2174 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
2175 | set dummy $ac_prog; ac_word=$2
|
---|
2176 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
2177 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
2178 | if ${ac_cv_prog_ac_ct_CXX+:} false; then :
|
---|
2179 | $as_echo_n "(cached) " >&6
|
---|
2180 | else
|
---|
2181 | if test -n "$ac_ct_CXX"; then
|
---|
2182 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
2183 | else
|
---|
2184 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2185 | for as_dir in $PATH
|
---|
2186 | do
|
---|
2187 | IFS=$as_save_IFS
|
---|
2188 | test -z "$as_dir" && as_dir=.
|
---|
2189 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2190 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
2191 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
2192 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2193 | break 2
|
---|
2194 | fi
|
---|
2195 | done
|
---|
2196 | done
|
---|
2197 | IFS=$as_save_IFS
|
---|
2198 |
|
---|
2199 | fi
|
---|
2200 | fi
|
---|
2201 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
2202 | if test -n "$ac_ct_CXX"; then
|
---|
2203 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
---|
2204 | $as_echo "$ac_ct_CXX" >&6; }
|
---|
2205 | else
|
---|
2206 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2207 | $as_echo "no" >&6; }
|
---|
2208 | fi
|
---|
2209 |
|
---|
2210 |
|
---|
2211 | test -n "$ac_ct_CXX" && break
|
---|
2212 | done
|
---|
2213 |
|
---|
2214 | if test "x$ac_ct_CXX" = x; then
|
---|
2215 | CXX="g++"
|
---|
2216 | else
|
---|
2217 | case $cross_compiling:$ac_tool_warned in
|
---|
2218 | yes:)
|
---|
2219 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
2220 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
2221 | ac_tool_warned=yes ;;
|
---|
2222 | esac
|
---|
2223 | CXX=$ac_ct_CXX
|
---|
2224 | fi
|
---|
2225 | fi
|
---|
2226 |
|
---|
2227 | fi
|
---|
2228 | fi
|
---|
2229 | # Provide some information about the compiler.
|
---|
2230 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
---|
2231 | set X $ac_compile
|
---|
2232 | ac_compiler=$2
|
---|
2233 | for ac_option in --version -v -V -qversion; do
|
---|
2234 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
2235 | case "(($ac_try" in
|
---|
2236 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
2237 | *) ac_try_echo=$ac_try;;
|
---|
2238 | esac
|
---|
2239 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
2240 | $as_echo "$ac_try_echo"; } >&5
|
---|
2241 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
2242 | ac_status=$?
|
---|
2243 | if test -s conftest.err; then
|
---|
2244 | sed '10a\
|
---|
2245 | ... rest of stderr output deleted ...
|
---|
2246 | 10q' conftest.err >conftest.er1
|
---|
2247 | cat conftest.er1 >&5
|
---|
2248 | fi
|
---|
2249 | rm -f conftest.er1 conftest.err
|
---|
2250 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
2251 | test $ac_status = 0; }
|
---|
2252 | done
|
---|
2253 |
|
---|
2254 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2255 | /* end confdefs.h. */
|
---|
2256 |
|
---|
2257 | int
|
---|
2258 | main ()
|
---|
2259 | {
|
---|
2260 |
|
---|
2261 | ;
|
---|
2262 | return 0;
|
---|
2263 | }
|
---|
2264 | _ACEOF
|
---|
2265 | ac_clean_files_save=$ac_clean_files
|
---|
2266 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
---|
2267 | # Try to create an executable without -o first, disregard a.out.
|
---|
2268 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
2269 | # of exeext.
|
---|
2270 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
|
---|
2271 | $as_echo_n "checking whether the C++ compiler works... " >&6; }
|
---|
2272 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
2273 |
|
---|
2274 | # The possible output files:
|
---|
2275 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
---|
2276 |
|
---|
2277 | ac_rmfiles=
|
---|
2278 | for ac_file in $ac_files
|
---|
2279 | do
|
---|
2280 | case $ac_file in
|
---|
2281 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
2282 | * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
---|
2283 | esac
|
---|
2284 | done
|
---|
2285 | rm -f $ac_rmfiles
|
---|
2286 |
|
---|
2287 | if { { ac_try="$ac_link_default"
|
---|
2288 | case "(($ac_try" in
|
---|
2289 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
2290 | *) ac_try_echo=$ac_try;;
|
---|
2291 | esac
|
---|
2292 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
2293 | $as_echo "$ac_try_echo"; } >&5
|
---|
2294 | (eval "$ac_link_default") 2>&5
|
---|
2295 | ac_status=$?
|
---|
2296 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
2297 | test $ac_status = 0; }; then :
|
---|
2298 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
---|
2299 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
---|
2300 | # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
---|
2301 | # so that the user can short-circuit this test for compilers unknown to
|
---|
2302 | # Autoconf.
|
---|
2303 | for ac_file in $ac_files ''
|
---|
2304 | do
|
---|
2305 | test -f "$ac_file" || continue
|
---|
2306 | case $ac_file in
|
---|
2307 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
---|
2308 | ;;
|
---|
2309 | [ab].out )
|
---|
2310 | # We found the default executable, but exeext='' is most
|
---|
2311 | # certainly right.
|
---|
2312 | break;;
|
---|
2313 | *.* )
|
---|
2314 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
---|
2315 | then :; else
|
---|
2316 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
2317 | fi
|
---|
2318 | # We set ac_cv_exeext here because the later test for it is not
|
---|
2319 | # safe: cross compilers may not add the suffix if given an `-o'
|
---|
2320 | # argument, so we may need to know it at that point already.
|
---|
2321 | # Even if this section looks crufty: it has the advantage of
|
---|
2322 | # actually working.
|
---|
2323 | break;;
|
---|
2324 | * )
|
---|
2325 | break;;
|
---|
2326 | esac
|
---|
2327 | done
|
---|
2328 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
2329 |
|
---|
2330 | else
|
---|
2331 | ac_file=''
|
---|
2332 | fi
|
---|
2333 | if test -z "$ac_file"; then :
|
---|
2334 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2335 | $as_echo "no" >&6; }
|
---|
2336 | $as_echo "$as_me: failed program was:" >&5
|
---|
2337 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
2338 |
|
---|
2339 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
2340 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
2341 | as_fn_error 77 "C++ compiler cannot create executables
|
---|
2342 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
2343 | else
|
---|
2344 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
2345 | $as_echo "yes" >&6; }
|
---|
2346 | fi
|
---|
2347 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
|
---|
2348 | $as_echo_n "checking for C++ compiler default output file name... " >&6; }
|
---|
2349 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
---|
2350 | $as_echo "$ac_file" >&6; }
|
---|
2351 | ac_exeext=$ac_cv_exeext
|
---|
2352 |
|
---|
2353 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
---|
2354 | ac_clean_files=$ac_clean_files_save
|
---|
2355 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
---|
2356 | $as_echo_n "checking for suffix of executables... " >&6; }
|
---|
2357 | if { { ac_try="$ac_link"
|
---|
2358 | case "(($ac_try" in
|
---|
2359 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
2360 | *) ac_try_echo=$ac_try;;
|
---|
2361 | esac
|
---|
2362 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
2363 | $as_echo "$ac_try_echo"; } >&5
|
---|
2364 | (eval "$ac_link") 2>&5
|
---|
2365 | ac_status=$?
|
---|
2366 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
2367 | test $ac_status = 0; }; then :
|
---|
2368 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
2369 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
2370 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
2371 | # `rm'.
|
---|
2372 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
2373 | test -f "$ac_file" || continue
|
---|
2374 | case $ac_file in
|
---|
2375 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
2376 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
2377 | break;;
|
---|
2378 | * ) break;;
|
---|
2379 | esac
|
---|
2380 | done
|
---|
2381 | else
|
---|
2382 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
2383 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
2384 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
---|
2385 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
2386 | fi
|
---|
2387 | rm -f conftest conftest$ac_cv_exeext
|
---|
2388 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
---|
2389 | $as_echo "$ac_cv_exeext" >&6; }
|
---|
2390 |
|
---|
2391 | rm -f conftest.$ac_ext
|
---|
2392 | EXEEXT=$ac_cv_exeext
|
---|
2393 | ac_exeext=$EXEEXT
|
---|
2394 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2395 | /* end confdefs.h. */
|
---|
2396 | #include <stdio.h>
|
---|
2397 | int
|
---|
2398 | main ()
|
---|
2399 | {
|
---|
2400 | FILE *f = fopen ("conftest.out", "w");
|
---|
2401 | return ferror (f) || fclose (f) != 0;
|
---|
2402 |
|
---|
2403 | ;
|
---|
2404 | return 0;
|
---|
2405 | }
|
---|
2406 | _ACEOF
|
---|
2407 | ac_clean_files="$ac_clean_files conftest.out"
|
---|
2408 | # Check that the compiler produces executables we can run. If not, either
|
---|
2409 | # the compiler is broken, or we cross compile.
|
---|
2410 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
---|
2411 | $as_echo_n "checking whether we are cross compiling... " >&6; }
|
---|
2412 | if test "$cross_compiling" != yes; then
|
---|
2413 | { { ac_try="$ac_link"
|
---|
2414 | case "(($ac_try" in
|
---|
2415 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
2416 | *) ac_try_echo=$ac_try;;
|
---|
2417 | esac
|
---|
2418 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
2419 | $as_echo "$ac_try_echo"; } >&5
|
---|
2420 | (eval "$ac_link") 2>&5
|
---|
2421 | ac_status=$?
|
---|
2422 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
2423 | test $ac_status = 0; }
|
---|
2424 | if { ac_try='./conftest$ac_cv_exeext'
|
---|
2425 | { { case "(($ac_try" in
|
---|
2426 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
2427 | *) ac_try_echo=$ac_try;;
|
---|
2428 | esac
|
---|
2429 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
2430 | $as_echo "$ac_try_echo"; } >&5
|
---|
2431 | (eval "$ac_try") 2>&5
|
---|
2432 | ac_status=$?
|
---|
2433 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
2434 | test $ac_status = 0; }; }; then
|
---|
2435 | cross_compiling=no
|
---|
2436 | else
|
---|
2437 | if test "$cross_compiling" = maybe; then
|
---|
2438 | cross_compiling=yes
|
---|
2439 | else
|
---|
2440 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
2441 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
2442 | as_fn_error $? "cannot run C++ compiled programs.
|
---|
2443 | If you meant to cross compile, use \`--host'.
|
---|
2444 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
2445 | fi
|
---|
2446 | fi
|
---|
2447 | fi
|
---|
2448 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
---|
2449 | $as_echo "$cross_compiling" >&6; }
|
---|
2450 |
|
---|
2451 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
---|
2452 | ac_clean_files=$ac_clean_files_save
|
---|
2453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
---|
2454 | $as_echo_n "checking for suffix of object files... " >&6; }
|
---|
2455 | if ${ac_cv_objext+:} false; then :
|
---|
2456 | $as_echo_n "(cached) " >&6
|
---|
2457 | else
|
---|
2458 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2459 | /* end confdefs.h. */
|
---|
2460 |
|
---|
2461 | int
|
---|
2462 | main ()
|
---|
2463 | {
|
---|
2464 |
|
---|
2465 | ;
|
---|
2466 | return 0;
|
---|
2467 | }
|
---|
2468 | _ACEOF
|
---|
2469 | rm -f conftest.o conftest.obj
|
---|
2470 | if { { ac_try="$ac_compile"
|
---|
2471 | case "(($ac_try" in
|
---|
2472 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
2473 | *) ac_try_echo=$ac_try;;
|
---|
2474 | esac
|
---|
2475 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
2476 | $as_echo "$ac_try_echo"; } >&5
|
---|
2477 | (eval "$ac_compile") 2>&5
|
---|
2478 | ac_status=$?
|
---|
2479 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
2480 | test $ac_status = 0; }; then :
|
---|
2481 | for ac_file in conftest.o conftest.obj conftest.*; do
|
---|
2482 | test -f "$ac_file" || continue;
|
---|
2483 | case $ac_file in
|
---|
2484 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
---|
2485 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
2486 | break;;
|
---|
2487 | esac
|
---|
2488 | done
|
---|
2489 | else
|
---|
2490 | $as_echo "$as_me: failed program was:" >&5
|
---|
2491 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
2492 |
|
---|
2493 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
2494 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
2495 | as_fn_error $? "cannot compute suffix of object files: cannot compile
|
---|
2496 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
2497 | fi
|
---|
2498 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
2499 | fi
|
---|
2500 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
---|
2501 | $as_echo "$ac_cv_objext" >&6; }
|
---|
2502 | OBJEXT=$ac_cv_objext
|
---|
2503 | ac_objext=$OBJEXT
|
---|
2504 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
---|
2505 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
---|
2506 | if ${ac_cv_cxx_compiler_gnu+:} false; then :
|
---|
2507 | $as_echo_n "(cached) " >&6
|
---|
2508 | else
|
---|
2509 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2510 | /* end confdefs.h. */
|
---|
2511 |
|
---|
2512 | int
|
---|
2513 | main ()
|
---|
2514 | {
|
---|
2515 | #ifndef __GNUC__
|
---|
2516 | choke me
|
---|
2517 | #endif
|
---|
2518 |
|
---|
2519 | ;
|
---|
2520 | return 0;
|
---|
2521 | }
|
---|
2522 | _ACEOF
|
---|
2523 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
2524 | ac_compiler_gnu=yes
|
---|
2525 | else
|
---|
2526 | ac_compiler_gnu=no
|
---|
2527 | fi
|
---|
2528 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
2529 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
2530 |
|
---|
2531 | fi
|
---|
2532 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
2533 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
---|
2534 | if test $ac_compiler_gnu = yes; then
|
---|
2535 | GXX=yes
|
---|
2536 | else
|
---|
2537 | GXX=
|
---|
2538 | fi
|
---|
2539 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
2540 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
2541 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
---|
2542 | $as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
---|
2543 | if ${ac_cv_prog_cxx_g+:} false; then :
|
---|
2544 | $as_echo_n "(cached) " >&6
|
---|
2545 | else
|
---|
2546 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
---|
2547 | ac_cxx_werror_flag=yes
|
---|
2548 | ac_cv_prog_cxx_g=no
|
---|
2549 | CXXFLAGS="-g"
|
---|
2550 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2551 | /* end confdefs.h. */
|
---|
2552 |
|
---|
2553 | int
|
---|
2554 | main ()
|
---|
2555 | {
|
---|
2556 |
|
---|
2557 | ;
|
---|
2558 | return 0;
|
---|
2559 | }
|
---|
2560 | _ACEOF
|
---|
2561 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
2562 | ac_cv_prog_cxx_g=yes
|
---|
2563 | else
|
---|
2564 | CXXFLAGS=""
|
---|
2565 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2566 | /* end confdefs.h. */
|
---|
2567 |
|
---|
2568 | int
|
---|
2569 | main ()
|
---|
2570 | {
|
---|
2571 |
|
---|
2572 | ;
|
---|
2573 | return 0;
|
---|
2574 | }
|
---|
2575 | _ACEOF
|
---|
2576 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
2577 |
|
---|
2578 | else
|
---|
2579 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
2580 | CXXFLAGS="-g"
|
---|
2581 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2582 | /* end confdefs.h. */
|
---|
2583 |
|
---|
2584 | int
|
---|
2585 | main ()
|
---|
2586 | {
|
---|
2587 |
|
---|
2588 | ;
|
---|
2589 | return 0;
|
---|
2590 | }
|
---|
2591 | _ACEOF
|
---|
2592 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
2593 | ac_cv_prog_cxx_g=yes
|
---|
2594 | fi
|
---|
2595 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
2596 | fi
|
---|
2597 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
2598 | fi
|
---|
2599 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
2600 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
2601 | fi
|
---|
2602 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
---|
2603 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
|
---|
2604 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
2605 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
2606 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
2607 | if test "$GXX" = yes; then
|
---|
2608 | CXXFLAGS="-g -O2"
|
---|
2609 | else
|
---|
2610 | CXXFLAGS="-g"
|
---|
2611 | fi
|
---|
2612 | else
|
---|
2613 | if test "$GXX" = yes; then
|
---|
2614 | CXXFLAGS="-O2"
|
---|
2615 | else
|
---|
2616 | CXXFLAGS=
|
---|
2617 | fi
|
---|
2618 | fi
|
---|
2619 | ac_ext=c
|
---|
2620 | ac_cpp='$CPP $CPPFLAGS'
|
---|
2621 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
2622 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
2623 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
2624 |
|
---|
2625 | ac_ext=c
|
---|
2626 | ac_cpp='$CPP $CPPFLAGS'
|
---|
2627 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
2628 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
2629 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
2630 | if test -n "$ac_tool_prefix"; then
|
---|
2631 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
2632 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
2633 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
2634 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
2635 | if ${ac_cv_prog_CC+:} false; then :
|
---|
2636 | $as_echo_n "(cached) " >&6
|
---|
2637 | else
|
---|
2638 | if test -n "$CC"; then
|
---|
2639 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
2640 | else
|
---|
2641 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2642 | for as_dir in $PATH
|
---|
2643 | do
|
---|
2644 | IFS=$as_save_IFS
|
---|
2645 | test -z "$as_dir" && as_dir=.
|
---|
2646 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2647 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
2648 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
2649 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2650 | break 2
|
---|
2651 | fi
|
---|
2652 | done
|
---|
2653 | done
|
---|
2654 | IFS=$as_save_IFS
|
---|
2655 |
|
---|
2656 | fi
|
---|
2657 | fi
|
---|
2658 | CC=$ac_cv_prog_CC
|
---|
2659 | if test -n "$CC"; then
|
---|
2660 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
2661 | $as_echo "$CC" >&6; }
|
---|
2662 | else
|
---|
2663 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2664 | $as_echo "no" >&6; }
|
---|
2665 | fi
|
---|
2666 |
|
---|
2667 |
|
---|
2668 | fi
|
---|
2669 | if test -z "$ac_cv_prog_CC"; then
|
---|
2670 | ac_ct_CC=$CC
|
---|
2671 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
2672 | set dummy gcc; ac_word=$2
|
---|
2673 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
2674 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
2675 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
2676 | $as_echo_n "(cached) " >&6
|
---|
2677 | else
|
---|
2678 | if test -n "$ac_ct_CC"; then
|
---|
2679 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
2680 | else
|
---|
2681 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2682 | for as_dir in $PATH
|
---|
2683 | do
|
---|
2684 | IFS=$as_save_IFS
|
---|
2685 | test -z "$as_dir" && as_dir=.
|
---|
2686 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2687 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
2688 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
2689 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2690 | break 2
|
---|
2691 | fi
|
---|
2692 | done
|
---|
2693 | done
|
---|
2694 | IFS=$as_save_IFS
|
---|
2695 |
|
---|
2696 | fi
|
---|
2697 | fi
|
---|
2698 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
2699 | if test -n "$ac_ct_CC"; then
|
---|
2700 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
2701 | $as_echo "$ac_ct_CC" >&6; }
|
---|
2702 | else
|
---|
2703 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2704 | $as_echo "no" >&6; }
|
---|
2705 | fi
|
---|
2706 |
|
---|
2707 | if test "x$ac_ct_CC" = x; then
|
---|
2708 | CC=""
|
---|
2709 | else
|
---|
2710 | case $cross_compiling:$ac_tool_warned in
|
---|
2711 | yes:)
|
---|
2712 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
2713 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
2714 | ac_tool_warned=yes ;;
|
---|
2715 | esac
|
---|
2716 | CC=$ac_ct_CC
|
---|
2717 | fi
|
---|
2718 | else
|
---|
2719 | CC="$ac_cv_prog_CC"
|
---|
2720 | fi
|
---|
2721 |
|
---|
2722 | if test -z "$CC"; then
|
---|
2723 | if test -n "$ac_tool_prefix"; then
|
---|
2724 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
2725 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
2726 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
2727 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
2728 | if ${ac_cv_prog_CC+:} false; then :
|
---|
2729 | $as_echo_n "(cached) " >&6
|
---|
2730 | else
|
---|
2731 | if test -n "$CC"; then
|
---|
2732 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
2733 | else
|
---|
2734 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2735 | for as_dir in $PATH
|
---|
2736 | do
|
---|
2737 | IFS=$as_save_IFS
|
---|
2738 | test -z "$as_dir" && as_dir=.
|
---|
2739 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2740 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
2741 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
2742 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2743 | break 2
|
---|
2744 | fi
|
---|
2745 | done
|
---|
2746 | done
|
---|
2747 | IFS=$as_save_IFS
|
---|
2748 |
|
---|
2749 | fi
|
---|
2750 | fi
|
---|
2751 | CC=$ac_cv_prog_CC
|
---|
2752 | if test -n "$CC"; then
|
---|
2753 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
2754 | $as_echo "$CC" >&6; }
|
---|
2755 | else
|
---|
2756 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2757 | $as_echo "no" >&6; }
|
---|
2758 | fi
|
---|
2759 |
|
---|
2760 |
|
---|
2761 | fi
|
---|
2762 | fi
|
---|
2763 | if test -z "$CC"; then
|
---|
2764 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
2765 | set dummy cc; ac_word=$2
|
---|
2766 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
2767 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
2768 | if ${ac_cv_prog_CC+:} false; then :
|
---|
2769 | $as_echo_n "(cached) " >&6
|
---|
2770 | else
|
---|
2771 | if test -n "$CC"; then
|
---|
2772 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
2773 | else
|
---|
2774 | ac_prog_rejected=no
|
---|
2775 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2776 | for as_dir in $PATH
|
---|
2777 | do
|
---|
2778 | IFS=$as_save_IFS
|
---|
2779 | test -z "$as_dir" && as_dir=.
|
---|
2780 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2781 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
2782 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
2783 | ac_prog_rejected=yes
|
---|
2784 | continue
|
---|
2785 | fi
|
---|
2786 | ac_cv_prog_CC="cc"
|
---|
2787 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2788 | break 2
|
---|
2789 | fi
|
---|
2790 | done
|
---|
2791 | done
|
---|
2792 | IFS=$as_save_IFS
|
---|
2793 |
|
---|
2794 | if test $ac_prog_rejected = yes; then
|
---|
2795 | # We found a bogon in the path, so make sure we never use it.
|
---|
2796 | set dummy $ac_cv_prog_CC
|
---|
2797 | shift
|
---|
2798 | if test $# != 0; then
|
---|
2799 | # We chose a different compiler from the bogus one.
|
---|
2800 | # However, it has the same basename, so the bogon will be chosen
|
---|
2801 | # first if we set CC to just the basename; use the full file name.
|
---|
2802 | shift
|
---|
2803 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
2804 | fi
|
---|
2805 | fi
|
---|
2806 | fi
|
---|
2807 | fi
|
---|
2808 | CC=$ac_cv_prog_CC
|
---|
2809 | if test -n "$CC"; then
|
---|
2810 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
2811 | $as_echo "$CC" >&6; }
|
---|
2812 | else
|
---|
2813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2814 | $as_echo "no" >&6; }
|
---|
2815 | fi
|
---|
2816 |
|
---|
2817 |
|
---|
2818 | fi
|
---|
2819 | if test -z "$CC"; then
|
---|
2820 | if test -n "$ac_tool_prefix"; then
|
---|
2821 | for ac_prog in cl.exe
|
---|
2822 | do
|
---|
2823 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
2824 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
2825 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
2826 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
2827 | if ${ac_cv_prog_CC+:} false; then :
|
---|
2828 | $as_echo_n "(cached) " >&6
|
---|
2829 | else
|
---|
2830 | if test -n "$CC"; then
|
---|
2831 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
2832 | else
|
---|
2833 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2834 | for as_dir in $PATH
|
---|
2835 | do
|
---|
2836 | IFS=$as_save_IFS
|
---|
2837 | test -z "$as_dir" && as_dir=.
|
---|
2838 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2839 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
2840 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
2841 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2842 | break 2
|
---|
2843 | fi
|
---|
2844 | done
|
---|
2845 | done
|
---|
2846 | IFS=$as_save_IFS
|
---|
2847 |
|
---|
2848 | fi
|
---|
2849 | fi
|
---|
2850 | CC=$ac_cv_prog_CC
|
---|
2851 | if test -n "$CC"; then
|
---|
2852 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
2853 | $as_echo "$CC" >&6; }
|
---|
2854 | else
|
---|
2855 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2856 | $as_echo "no" >&6; }
|
---|
2857 | fi
|
---|
2858 |
|
---|
2859 |
|
---|
2860 | test -n "$CC" && break
|
---|
2861 | done
|
---|
2862 | fi
|
---|
2863 | if test -z "$CC"; then
|
---|
2864 | ac_ct_CC=$CC
|
---|
2865 | for ac_prog in cl.exe
|
---|
2866 | do
|
---|
2867 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
2868 | set dummy $ac_prog; ac_word=$2
|
---|
2869 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
2870 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
2871 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
2872 | $as_echo_n "(cached) " >&6
|
---|
2873 | else
|
---|
2874 | if test -n "$ac_ct_CC"; then
|
---|
2875 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
2876 | else
|
---|
2877 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2878 | for as_dir in $PATH
|
---|
2879 | do
|
---|
2880 | IFS=$as_save_IFS
|
---|
2881 | test -z "$as_dir" && as_dir=.
|
---|
2882 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2883 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
2884 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
2885 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2886 | break 2
|
---|
2887 | fi
|
---|
2888 | done
|
---|
2889 | done
|
---|
2890 | IFS=$as_save_IFS
|
---|
2891 |
|
---|
2892 | fi
|
---|
2893 | fi
|
---|
2894 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
2895 | if test -n "$ac_ct_CC"; then
|
---|
2896 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
2897 | $as_echo "$ac_ct_CC" >&6; }
|
---|
2898 | else
|
---|
2899 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2900 | $as_echo "no" >&6; }
|
---|
2901 | fi
|
---|
2902 |
|
---|
2903 |
|
---|
2904 | test -n "$ac_ct_CC" && break
|
---|
2905 | done
|
---|
2906 |
|
---|
2907 | if test "x$ac_ct_CC" = x; then
|
---|
2908 | CC=""
|
---|
2909 | else
|
---|
2910 | case $cross_compiling:$ac_tool_warned in
|
---|
2911 | yes:)
|
---|
2912 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
2913 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
2914 | ac_tool_warned=yes ;;
|
---|
2915 | esac
|
---|
2916 | CC=$ac_ct_CC
|
---|
2917 | fi
|
---|
2918 | fi
|
---|
2919 |
|
---|
2920 | fi
|
---|
2921 |
|
---|
2922 |
|
---|
2923 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
2924 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
2925 | as_fn_error $? "no acceptable C compiler found in \$PATH
|
---|
2926 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
2927 |
|
---|
2928 | # Provide some information about the compiler.
|
---|
2929 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
---|
2930 | set X $ac_compile
|
---|
2931 | ac_compiler=$2
|
---|
2932 | for ac_option in --version -v -V -qversion; do
|
---|
2933 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
2934 | case "(($ac_try" in
|
---|
2935 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
2936 | *) ac_try_echo=$ac_try;;
|
---|
2937 | esac
|
---|
2938 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
2939 | $as_echo "$ac_try_echo"; } >&5
|
---|
2940 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
2941 | ac_status=$?
|
---|
2942 | if test -s conftest.err; then
|
---|
2943 | sed '10a\
|
---|
2944 | ... rest of stderr output deleted ...
|
---|
2945 | 10q' conftest.err >conftest.er1
|
---|
2946 | cat conftest.er1 >&5
|
---|
2947 | fi
|
---|
2948 | rm -f conftest.er1 conftest.err
|
---|
2949 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
2950 | test $ac_status = 0; }
|
---|
2951 | done
|
---|
2952 |
|
---|
2953 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
---|
2954 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
---|
2955 | if ${ac_cv_c_compiler_gnu+:} false; then :
|
---|
2956 | $as_echo_n "(cached) " >&6
|
---|
2957 | else
|
---|
2958 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2959 | /* end confdefs.h. */
|
---|
2960 |
|
---|
2961 | int
|
---|
2962 | main ()
|
---|
2963 | {
|
---|
2964 | #ifndef __GNUC__
|
---|
2965 | choke me
|
---|
2966 | #endif
|
---|
2967 |
|
---|
2968 | ;
|
---|
2969 | return 0;
|
---|
2970 | }
|
---|
2971 | _ACEOF
|
---|
2972 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
2973 | ac_compiler_gnu=yes
|
---|
2974 | else
|
---|
2975 | ac_compiler_gnu=no
|
---|
2976 | fi
|
---|
2977 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
2978 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
2979 |
|
---|
2980 | fi
|
---|
2981 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
---|
2982 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
---|
2983 | if test $ac_compiler_gnu = yes; then
|
---|
2984 | GCC=yes
|
---|
2985 | else
|
---|
2986 | GCC=
|
---|
2987 | fi
|
---|
2988 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
2989 | ac_save_CFLAGS=$CFLAGS
|
---|
2990 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
---|
2991 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
---|
2992 | if ${ac_cv_prog_cc_g+:} false; then :
|
---|
2993 | $as_echo_n "(cached) " >&6
|
---|
2994 | else
|
---|
2995 | ac_save_c_werror_flag=$ac_c_werror_flag
|
---|
2996 | ac_c_werror_flag=yes
|
---|
2997 | ac_cv_prog_cc_g=no
|
---|
2998 | CFLAGS="-g"
|
---|
2999 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3000 | /* end confdefs.h. */
|
---|
3001 |
|
---|
3002 | int
|
---|
3003 | main ()
|
---|
3004 | {
|
---|
3005 |
|
---|
3006 | ;
|
---|
3007 | return 0;
|
---|
3008 | }
|
---|
3009 | _ACEOF
|
---|
3010 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3011 | ac_cv_prog_cc_g=yes
|
---|
3012 | else
|
---|
3013 | CFLAGS=""
|
---|
3014 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3015 | /* end confdefs.h. */
|
---|
3016 |
|
---|
3017 | int
|
---|
3018 | main ()
|
---|
3019 | {
|
---|
3020 |
|
---|
3021 | ;
|
---|
3022 | return 0;
|
---|
3023 | }
|
---|
3024 | _ACEOF
|
---|
3025 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3026 |
|
---|
3027 | else
|
---|
3028 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
3029 | CFLAGS="-g"
|
---|
3030 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3031 | /* end confdefs.h. */
|
---|
3032 |
|
---|
3033 | int
|
---|
3034 | main ()
|
---|
3035 | {
|
---|
3036 |
|
---|
3037 | ;
|
---|
3038 | return 0;
|
---|
3039 | }
|
---|
3040 | _ACEOF
|
---|
3041 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3042 | ac_cv_prog_cc_g=yes
|
---|
3043 | fi
|
---|
3044 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3045 | fi
|
---|
3046 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3047 | fi
|
---|
3048 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3049 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
3050 | fi
|
---|
3051 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
---|
3052 | $as_echo "$ac_cv_prog_cc_g" >&6; }
|
---|
3053 | if test "$ac_test_CFLAGS" = set; then
|
---|
3054 | CFLAGS=$ac_save_CFLAGS
|
---|
3055 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
3056 | if test "$GCC" = yes; then
|
---|
3057 | CFLAGS="-g -O2"
|
---|
3058 | else
|
---|
3059 | CFLAGS="-g"
|
---|
3060 | fi
|
---|
3061 | else
|
---|
3062 | if test "$GCC" = yes; then
|
---|
3063 | CFLAGS="-O2"
|
---|
3064 | else
|
---|
3065 | CFLAGS=
|
---|
3066 | fi
|
---|
3067 | fi
|
---|
3068 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
---|
3069 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
---|
3070 | if ${ac_cv_prog_cc_c89+:} false; then :
|
---|
3071 | $as_echo_n "(cached) " >&6
|
---|
3072 | else
|
---|
3073 | ac_cv_prog_cc_c89=no
|
---|
3074 | ac_save_CC=$CC
|
---|
3075 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3076 | /* end confdefs.h. */
|
---|
3077 | #include <stdarg.h>
|
---|
3078 | #include <stdio.h>
|
---|
3079 | struct stat;
|
---|
3080 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
3081 | struct buf { int x; };
|
---|
3082 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
3083 | static char *e (p, i)
|
---|
3084 | char **p;
|
---|
3085 | int i;
|
---|
3086 | {
|
---|
3087 | return p[i];
|
---|
3088 | }
|
---|
3089 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
3090 | {
|
---|
3091 | char *s;
|
---|
3092 | va_list v;
|
---|
3093 | va_start (v,p);
|
---|
3094 | s = g (p, va_arg (v,int));
|
---|
3095 | va_end (v);
|
---|
3096 | return s;
|
---|
3097 | }
|
---|
3098 |
|
---|
3099 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
3100 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
3101 | These don't provoke an error unfortunately, instead are silently treated
|
---|
3102 | as 'x'. The following induces an error, until -std is added to get
|
---|
3103 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
3104 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
3105 | that's true only with -std. */
|
---|
3106 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
3107 |
|
---|
3108 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
---|
3109 | inside strings and character constants. */
|
---|
3110 | #define FOO(x) 'x'
|
---|
3111 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
3112 |
|
---|
3113 | int test (int i, double x);
|
---|
3114 | struct s1 {int (*f) (int a);};
|
---|
3115 | struct s2 {int (*f) (double a);};
|
---|
3116 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
3117 | int argc;
|
---|
3118 | char **argv;
|
---|
3119 | int
|
---|
3120 | main ()
|
---|
3121 | {
|
---|
3122 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
3123 | ;
|
---|
3124 | return 0;
|
---|
3125 | }
|
---|
3126 | _ACEOF
|
---|
3127 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
3128 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
3129 | do
|
---|
3130 | CC="$ac_save_CC $ac_arg"
|
---|
3131 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3132 | ac_cv_prog_cc_c89=$ac_arg
|
---|
3133 | fi
|
---|
3134 | rm -f core conftest.err conftest.$ac_objext
|
---|
3135 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
3136 | done
|
---|
3137 | rm -f conftest.$ac_ext
|
---|
3138 | CC=$ac_save_CC
|
---|
3139 |
|
---|
3140 | fi
|
---|
3141 | # AC_CACHE_VAL
|
---|
3142 | case "x$ac_cv_prog_cc_c89" in
|
---|
3143 | x)
|
---|
3144 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
---|
3145 | $as_echo "none needed" >&6; } ;;
|
---|
3146 | xno)
|
---|
3147 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
---|
3148 | $as_echo "unsupported" >&6; } ;;
|
---|
3149 | *)
|
---|
3150 | CC="$CC $ac_cv_prog_cc_c89"
|
---|
3151 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
---|
3152 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
---|
3153 | esac
|
---|
3154 | if test "x$ac_cv_prog_cc_c89" != xno; then :
|
---|
3155 |
|
---|
3156 | fi
|
---|
3157 |
|
---|
3158 | ac_ext=c
|
---|
3159 | ac_cpp='$CPP $CPPFLAGS'
|
---|
3160 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
3161 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
3162 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
3163 |
|
---|
3164 | ac_ext=c
|
---|
3165 | ac_cpp='$CPP $CPPFLAGS'
|
---|
3166 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
3167 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
3168 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
3169 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
---|
3170 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
|
---|
3171 | # On Suns, sometimes $CPP names a directory.
|
---|
3172 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
3173 | CPP=
|
---|
3174 | fi
|
---|
3175 | if test -z "$CPP"; then
|
---|
3176 | if ${ac_cv_prog_CPP+:} false; then :
|
---|
3177 | $as_echo_n "(cached) " >&6
|
---|
3178 | else
|
---|
3179 | # Double quotes because CPP needs to be expanded
|
---|
3180 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
3181 | do
|
---|
3182 | ac_preproc_ok=false
|
---|
3183 | for ac_c_preproc_warn_flag in '' yes
|
---|
3184 | do
|
---|
3185 | # Use a header file that comes with gcc, so configuring glibc
|
---|
3186 | # with a fresh cross-compiler works.
|
---|
3187 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
3188 | # <limits.h> exists even on freestanding compilers.
|
---|
3189 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
3190 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
3191 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3192 | /* end confdefs.h. */
|
---|
3193 | #ifdef __STDC__
|
---|
3194 | # include <limits.h>
|
---|
3195 | #else
|
---|
3196 | # include <assert.h>
|
---|
3197 | #endif
|
---|
3198 | Syntax error
|
---|
3199 | _ACEOF
|
---|
3200 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
3201 |
|
---|
3202 | else
|
---|
3203 | # Broken: fails on valid input.
|
---|
3204 | continue
|
---|
3205 | fi
|
---|
3206 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
3207 |
|
---|
3208 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
3209 | # can be detected and how.
|
---|
3210 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3211 | /* end confdefs.h. */
|
---|
3212 | #include <ac_nonexistent.h>
|
---|
3213 | _ACEOF
|
---|
3214 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
3215 | # Broken: success on invalid input.
|
---|
3216 | continue
|
---|
3217 | else
|
---|
3218 | # Passes both tests.
|
---|
3219 | ac_preproc_ok=:
|
---|
3220 | break
|
---|
3221 | fi
|
---|
3222 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
3223 |
|
---|
3224 | done
|
---|
3225 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
3226 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
3227 | if $ac_preproc_ok; then :
|
---|
3228 | break
|
---|
3229 | fi
|
---|
3230 |
|
---|
3231 | done
|
---|
3232 | ac_cv_prog_CPP=$CPP
|
---|
3233 |
|
---|
3234 | fi
|
---|
3235 | CPP=$ac_cv_prog_CPP
|
---|
3236 | else
|
---|
3237 | ac_cv_prog_CPP=$CPP
|
---|
3238 | fi
|
---|
3239 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
---|
3240 | $as_echo "$CPP" >&6; }
|
---|
3241 | ac_preproc_ok=false
|
---|
3242 | for ac_c_preproc_warn_flag in '' yes
|
---|
3243 | do
|
---|
3244 | # Use a header file that comes with gcc, so configuring glibc
|
---|
3245 | # with a fresh cross-compiler works.
|
---|
3246 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
3247 | # <limits.h> exists even on freestanding compilers.
|
---|
3248 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
3249 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
3250 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3251 | /* end confdefs.h. */
|
---|
3252 | #ifdef __STDC__
|
---|
3253 | # include <limits.h>
|
---|
3254 | #else
|
---|
3255 | # include <assert.h>
|
---|
3256 | #endif
|
---|
3257 | Syntax error
|
---|
3258 | _ACEOF
|
---|
3259 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
3260 |
|
---|
3261 | else
|
---|
3262 | # Broken: fails on valid input.
|
---|
3263 | continue
|
---|
3264 | fi
|
---|
3265 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
3266 |
|
---|
3267 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
3268 | # can be detected and how.
|
---|
3269 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3270 | /* end confdefs.h. */
|
---|
3271 | #include <ac_nonexistent.h>
|
---|
3272 | _ACEOF
|
---|
3273 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
3274 | # Broken: success on invalid input.
|
---|
3275 | continue
|
---|
3276 | else
|
---|
3277 | # Passes both tests.
|
---|
3278 | ac_preproc_ok=:
|
---|
3279 | break
|
---|
3280 | fi
|
---|
3281 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
3282 |
|
---|
3283 | done
|
---|
3284 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
3285 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
3286 | if $ac_preproc_ok; then :
|
---|
3287 |
|
---|
3288 | else
|
---|
3289 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
3290 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
3291 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
---|
3292 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
3293 | fi
|
---|
3294 |
|
---|
3295 | ac_ext=c
|
---|
3296 | ac_cpp='$CPP $CPPFLAGS'
|
---|
3297 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
3298 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
3299 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
3300 |
|
---|
3301 | ac_aux_dir=
|
---|
3302 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
---|
3303 | if test -f "$ac_dir/install-sh"; then
|
---|
3304 | ac_aux_dir=$ac_dir
|
---|
3305 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
3306 | break
|
---|
3307 | elif test -f "$ac_dir/install.sh"; then
|
---|
3308 | ac_aux_dir=$ac_dir
|
---|
3309 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
3310 | break
|
---|
3311 | elif test -f "$ac_dir/shtool"; then
|
---|
3312 | ac_aux_dir=$ac_dir
|
---|
3313 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
3314 | break
|
---|
3315 | fi
|
---|
3316 | done
|
---|
3317 | if test -z "$ac_aux_dir"; then
|
---|
3318 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
---|
3319 | fi
|
---|
3320 |
|
---|
3321 | # These three variables are undocumented and unsupported,
|
---|
3322 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
3323 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
3324 | # whose full name contains unusual characters.
|
---|
3325 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
3326 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
3327 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
3328 |
|
---|
3329 |
|
---|
3330 | # Find a good install program. We prefer a C program (faster),
|
---|
3331 | # so one script is as good as another. But avoid the broken or
|
---|
3332 | # incompatible versions:
|
---|
3333 | # SysV /etc/install, /usr/sbin/install
|
---|
3334 | # SunOS /usr/etc/install
|
---|
3335 | # IRIX /sbin/install
|
---|
3336 | # AIX /bin/install
|
---|
3337 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
3338 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
3339 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
3340 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
3341 | # OS/2's system install, which has a completely different semantic
|
---|
3342 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
3343 | # Reject install programs that cannot install multiple files.
|
---|
3344 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
---|
3345 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
---|
3346 | if test -z "$INSTALL"; then
|
---|
3347 | if ${ac_cv_path_install+:} false; then :
|
---|
3348 | $as_echo_n "(cached) " >&6
|
---|
3349 | else
|
---|
3350 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
3351 | for as_dir in $PATH
|
---|
3352 | do
|
---|
3353 | IFS=$as_save_IFS
|
---|
3354 | test -z "$as_dir" && as_dir=.
|
---|
3355 | # Account for people who put trailing slashes in PATH elements.
|
---|
3356 | case $as_dir/ in #((
|
---|
3357 | ./ | .// | /[cC]/* | \
|
---|
3358 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
3359 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
---|
3360 | /usr/ucb/* ) ;;
|
---|
3361 | *)
|
---|
3362 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
3363 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
3364 | # by default.
|
---|
3365 | for ac_prog in ginstall scoinst install; do
|
---|
3366 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
3367 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
---|
3368 | if test $ac_prog = install &&
|
---|
3369 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
3370 | # AIX install. It has an incompatible calling convention.
|
---|
3371 | :
|
---|
3372 | elif test $ac_prog = install &&
|
---|
3373 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
3374 | # program-specific install script used by HP pwplus--don't use.
|
---|
3375 | :
|
---|
3376 | else
|
---|
3377 | rm -rf conftest.one conftest.two conftest.dir
|
---|
3378 | echo one > conftest.one
|
---|
3379 | echo two > conftest.two
|
---|
3380 | mkdir conftest.dir
|
---|
3381 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
---|
3382 | test -s conftest.one && test -s conftest.two &&
|
---|
3383 | test -s conftest.dir/conftest.one &&
|
---|
3384 | test -s conftest.dir/conftest.two
|
---|
3385 | then
|
---|
3386 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
3387 | break 3
|
---|
3388 | fi
|
---|
3389 | fi
|
---|
3390 | fi
|
---|
3391 | done
|
---|
3392 | done
|
---|
3393 | ;;
|
---|
3394 | esac
|
---|
3395 |
|
---|
3396 | done
|
---|
3397 | IFS=$as_save_IFS
|
---|
3398 |
|
---|
3399 | rm -rf conftest.one conftest.two conftest.dir
|
---|
3400 |
|
---|
3401 | fi
|
---|
3402 | if test "${ac_cv_path_install+set}" = set; then
|
---|
3403 | INSTALL=$ac_cv_path_install
|
---|
3404 | else
|
---|
3405 | # As a last resort, use the slow shell script. Don't cache a
|
---|
3406 | # value for INSTALL within a source directory, because that will
|
---|
3407 | # break other packages using the cache if that directory is
|
---|
3408 | # removed, or if the value is a relative name.
|
---|
3409 | INSTALL=$ac_install_sh
|
---|
3410 | fi
|
---|
3411 | fi
|
---|
3412 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
---|
3413 | $as_echo "$INSTALL" >&6; }
|
---|
3414 |
|
---|
3415 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
3416 | # It thinks the first close brace ends the variable substitution.
|
---|
3417 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
3418 |
|
---|
3419 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
3420 |
|
---|
3421 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
3422 |
|
---|
3423 |
|
---|
3424 |
|
---|
3425 | if test "x$JAVAC" = x ; then
|
---|
3426 | if test "x$JAVAPREFIX" = x; then
|
---|
3427 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
3428 | do
|
---|
3429 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
3430 | set dummy $ac_prog; ac_word=$2
|
---|
3431 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
3432 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
3433 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
3434 | $as_echo_n "(cached) " >&6
|
---|
3435 | else
|
---|
3436 | if test -n "$JAVAC"; then
|
---|
3437 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
3438 | else
|
---|
3439 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
3440 | for as_dir in $PATH
|
---|
3441 | do
|
---|
3442 | IFS=$as_save_IFS
|
---|
3443 | test -z "$as_dir" && as_dir=.
|
---|
3444 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
3445 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
3446 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
3447 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
3448 | break 2
|
---|
3449 | fi
|
---|
3450 | done
|
---|
3451 | done
|
---|
3452 | IFS=$as_save_IFS
|
---|
3453 |
|
---|
3454 | fi
|
---|
3455 | fi
|
---|
3456 | JAVAC=$ac_cv_prog_JAVAC
|
---|
3457 | if test -n "$JAVAC"; then
|
---|
3458 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
3459 | $as_echo "$JAVAC" >&6; }
|
---|
3460 | else
|
---|
3461 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
3462 | $as_echo "no" >&6; }
|
---|
3463 | fi
|
---|
3464 |
|
---|
3465 |
|
---|
3466 | test -n "$JAVAC" && break
|
---|
3467 | done
|
---|
3468 |
|
---|
3469 | else
|
---|
3470 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
3471 | do
|
---|
3472 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
3473 | set dummy $ac_prog; ac_word=$2
|
---|
3474 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
3475 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
3476 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
3477 | $as_echo_n "(cached) " >&6
|
---|
3478 | else
|
---|
3479 | if test -n "$JAVAC"; then
|
---|
3480 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
3481 | else
|
---|
3482 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
3483 | for as_dir in $PATH
|
---|
3484 | do
|
---|
3485 | IFS=$as_save_IFS
|
---|
3486 | test -z "$as_dir" && as_dir=.
|
---|
3487 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
3488 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
3489 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
3490 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
3491 | break 2
|
---|
3492 | fi
|
---|
3493 | done
|
---|
3494 | done
|
---|
3495 | IFS=$as_save_IFS
|
---|
3496 |
|
---|
3497 | fi
|
---|
3498 | fi
|
---|
3499 | JAVAC=$ac_cv_prog_JAVAC
|
---|
3500 | if test -n "$JAVAC"; then
|
---|
3501 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
3502 | $as_echo "$JAVAC" >&6; }
|
---|
3503 | else
|
---|
3504 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
3505 | $as_echo "no" >&6; }
|
---|
3506 | fi
|
---|
3507 |
|
---|
3508 |
|
---|
3509 | test -n "$JAVAC" && break
|
---|
3510 | done
|
---|
3511 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
3512 |
|
---|
3513 | fi
|
---|
3514 | test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
|
---|
3515 | else
|
---|
3516 | echo "Checking for javac... $JAVAC"
|
---|
3517 | fi
|
---|
3518 |
|
---|
3519 |
|
---|
3520 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
|
---|
3521 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
3522 | if ${ac_cv_prog_javac_works+:} false; then :
|
---|
3523 | $as_echo_n "(cached) " >&6
|
---|
3524 | else
|
---|
3525 |
|
---|
3526 | JAVA_TEST=Test.java
|
---|
3527 | CLASS_TEST=Test.class
|
---|
3528 | cat << \EOF > $JAVA_TEST
|
---|
3529 | /* #line 3529 "configure" */
|
---|
3530 | public class Test {
|
---|
3531 | }
|
---|
3532 | EOF
|
---|
3533 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
3534 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
3535 | (eval $ac_try) 2>&5
|
---|
3536 | ac_status=$?
|
---|
3537 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
3538 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
3539 | ac_cv_prog_javac_works=yes
|
---|
3540 | else
|
---|
3541 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
3542 | echo "configure: failed program was:" >&5
|
---|
3543 | cat $JAVA_TEST >&5
|
---|
3544 | fi
|
---|
3545 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
3546 |
|
---|
3547 | fi
|
---|
3548 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
|
---|
3549 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
3550 |
|
---|
3551 |
|
---|
3552 |
|
---|
3553 |
|
---|
3554 | # Checks for libraries.
|
---|
3555 |
|
---|
3556 | # Checks for header files.
|
---|
3557 |
|
---|
3558 | # Checks for typedefs, structures, and compiler characteristics.
|
---|
3559 |
|
---|
3560 |
|
---|
3561 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
---|
3562 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
---|
3563 | if ${ac_cv_path_GREP+:} false; then :
|
---|
3564 | $as_echo_n "(cached) " >&6
|
---|
3565 | else
|
---|
3566 | if test -z "$GREP"; then
|
---|
3567 | ac_path_GREP_found=false
|
---|
3568 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
3569 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
3570 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
3571 | do
|
---|
3572 | IFS=$as_save_IFS
|
---|
3573 | test -z "$as_dir" && as_dir=.
|
---|
3574 | for ac_prog in grep ggrep; do
|
---|
3575 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
3576 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
3577 | as_fn_executable_p "$ac_path_GREP" || continue
|
---|
3578 | # Check for GNU ac_path_GREP and select it if it is found.
|
---|
3579 | # Check for GNU $ac_path_GREP
|
---|
3580 | case `"$ac_path_GREP" --version 2>&1` in
|
---|
3581 | *GNU*)
|
---|
3582 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
---|
3583 | *)
|
---|
3584 | ac_count=0
|
---|
3585 | $as_echo_n 0123456789 >"conftest.in"
|
---|
3586 | while :
|
---|
3587 | do
|
---|
3588 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
3589 | mv "conftest.tmp" "conftest.in"
|
---|
3590 | cp "conftest.in" "conftest.nl"
|
---|
3591 | $as_echo 'GREP' >> "conftest.nl"
|
---|
3592 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
3593 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
3594 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
3595 | if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
---|
3596 | # Best one so far, save it but keep looking for a better one
|
---|
3597 | ac_cv_path_GREP="$ac_path_GREP"
|
---|
3598 | ac_path_GREP_max=$ac_count
|
---|
3599 | fi
|
---|
3600 | # 10*(2^10) chars as input seems more than enough
|
---|
3601 | test $ac_count -gt 10 && break
|
---|
3602 | done
|
---|
3603 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
3604 | esac
|
---|
3605 |
|
---|
3606 | $ac_path_GREP_found && break 3
|
---|
3607 | done
|
---|
3608 | done
|
---|
3609 | done
|
---|
3610 | IFS=$as_save_IFS
|
---|
3611 | if test -z "$ac_cv_path_GREP"; then
|
---|
3612 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
3613 | fi
|
---|
3614 | else
|
---|
3615 | ac_cv_path_GREP=$GREP
|
---|
3616 | fi
|
---|
3617 |
|
---|
3618 | fi
|
---|
3619 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
---|
3620 | $as_echo "$ac_cv_path_GREP" >&6; }
|
---|
3621 | GREP="$ac_cv_path_GREP"
|
---|
3622 |
|
---|
3623 |
|
---|
3624 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
---|
3625 | $as_echo_n "checking for egrep... " >&6; }
|
---|
3626 | if ${ac_cv_path_EGREP+:} false; then :
|
---|
3627 | $as_echo_n "(cached) " >&6
|
---|
3628 | else
|
---|
3629 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
---|
3630 | then ac_cv_path_EGREP="$GREP -E"
|
---|
3631 | else
|
---|
3632 | if test -z "$EGREP"; then
|
---|
3633 | ac_path_EGREP_found=false
|
---|
3634 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
3635 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
3636 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
3637 | do
|
---|
3638 | IFS=$as_save_IFS
|
---|
3639 | test -z "$as_dir" && as_dir=.
|
---|
3640 | for ac_prog in egrep; do
|
---|
3641 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
3642 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
3643 | as_fn_executable_p "$ac_path_EGREP" || continue
|
---|
3644 | # Check for GNU ac_path_EGREP and select it if it is found.
|
---|
3645 | # Check for GNU $ac_path_EGREP
|
---|
3646 | case `"$ac_path_EGREP" --version 2>&1` in
|
---|
3647 | *GNU*)
|
---|
3648 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
---|
3649 | *)
|
---|
3650 | ac_count=0
|
---|
3651 | $as_echo_n 0123456789 >"conftest.in"
|
---|
3652 | while :
|
---|
3653 | do
|
---|
3654 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
3655 | mv "conftest.tmp" "conftest.in"
|
---|
3656 | cp "conftest.in" "conftest.nl"
|
---|
3657 | $as_echo 'EGREP' >> "conftest.nl"
|
---|
3658 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
3659 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
3660 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
3661 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
---|
3662 | # Best one so far, save it but keep looking for a better one
|
---|
3663 | ac_cv_path_EGREP="$ac_path_EGREP"
|
---|
3664 | ac_path_EGREP_max=$ac_count
|
---|
3665 | fi
|
---|
3666 | # 10*(2^10) chars as input seems more than enough
|
---|
3667 | test $ac_count -gt 10 && break
|
---|
3668 | done
|
---|
3669 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
3670 | esac
|
---|
3671 |
|
---|
3672 | $ac_path_EGREP_found && break 3
|
---|
3673 | done
|
---|
3674 | done
|
---|
3675 | done
|
---|
3676 | IFS=$as_save_IFS
|
---|
3677 | if test -z "$ac_cv_path_EGREP"; then
|
---|
3678 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
3679 | fi
|
---|
3680 | else
|
---|
3681 | ac_cv_path_EGREP=$EGREP
|
---|
3682 | fi
|
---|
3683 |
|
---|
3684 | fi
|
---|
3685 | fi
|
---|
3686 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
---|
3687 | $as_echo "$ac_cv_path_EGREP" >&6; }
|
---|
3688 | EGREP="$ac_cv_path_EGREP"
|
---|
3689 |
|
---|
3690 |
|
---|
3691 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
3692 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
3693 | if ${ac_cv_header_stdc+:} false; then :
|
---|
3694 | $as_echo_n "(cached) " >&6
|
---|
3695 | else
|
---|
3696 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3697 | /* end confdefs.h. */
|
---|
3698 | #include <stdlib.h>
|
---|
3699 | #include <stdarg.h>
|
---|
3700 | #include <string.h>
|
---|
3701 | #include <float.h>
|
---|
3702 |
|
---|
3703 | int
|
---|
3704 | main ()
|
---|
3705 | {
|
---|
3706 |
|
---|
3707 | ;
|
---|
3708 | return 0;
|
---|
3709 | }
|
---|
3710 | _ACEOF
|
---|
3711 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3712 | ac_cv_header_stdc=yes
|
---|
3713 | else
|
---|
3714 | ac_cv_header_stdc=no
|
---|
3715 | fi
|
---|
3716 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3717 |
|
---|
3718 | if test $ac_cv_header_stdc = yes; then
|
---|
3719 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
3720 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3721 | /* end confdefs.h. */
|
---|
3722 | #include <string.h>
|
---|
3723 |
|
---|
3724 | _ACEOF
|
---|
3725 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
3726 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
3727 |
|
---|
3728 | else
|
---|
3729 | ac_cv_header_stdc=no
|
---|
3730 | fi
|
---|
3731 | rm -f conftest*
|
---|
3732 |
|
---|
3733 | fi
|
---|
3734 |
|
---|
3735 | if test $ac_cv_header_stdc = yes; then
|
---|
3736 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
3737 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3738 | /* end confdefs.h. */
|
---|
3739 | #include <stdlib.h>
|
---|
3740 |
|
---|
3741 | _ACEOF
|
---|
3742 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
3743 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
3744 |
|
---|
3745 | else
|
---|
3746 | ac_cv_header_stdc=no
|
---|
3747 | fi
|
---|
3748 | rm -f conftest*
|
---|
3749 |
|
---|
3750 | fi
|
---|
3751 |
|
---|
3752 | if test $ac_cv_header_stdc = yes; then
|
---|
3753 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
3754 | if test "$cross_compiling" = yes; then :
|
---|
3755 | :
|
---|
3756 | else
|
---|
3757 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3758 | /* end confdefs.h. */
|
---|
3759 | #include <ctype.h>
|
---|
3760 | #include <stdlib.h>
|
---|
3761 | #if ((' ' & 0x0FF) == 0x020)
|
---|
3762 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
3763 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
3764 | #else
|
---|
3765 | # define ISLOWER(c) \
|
---|
3766 | (('a' <= (c) && (c) <= 'i') \
|
---|
3767 | || ('j' <= (c) && (c) <= 'r') \
|
---|
3768 | || ('s' <= (c) && (c) <= 'z'))
|
---|
3769 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
3770 | #endif
|
---|
3771 |
|
---|
3772 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
3773 | int
|
---|
3774 | main ()
|
---|
3775 | {
|
---|
3776 | int i;
|
---|
3777 | for (i = 0; i < 256; i++)
|
---|
3778 | if (XOR (islower (i), ISLOWER (i))
|
---|
3779 | || toupper (i) != TOUPPER (i))
|
---|
3780 | return 2;
|
---|
3781 | return 0;
|
---|
3782 | }
|
---|
3783 | _ACEOF
|
---|
3784 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
3785 |
|
---|
3786 | else
|
---|
3787 | ac_cv_header_stdc=no
|
---|
3788 | fi
|
---|
3789 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
3790 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
3791 | fi
|
---|
3792 |
|
---|
3793 | fi
|
---|
3794 | fi
|
---|
3795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
3796 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
3797 | if test $ac_cv_header_stdc = yes; then
|
---|
3798 |
|
---|
3799 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
3800 |
|
---|
3801 | fi
|
---|
3802 |
|
---|
3803 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
3804 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
3805 | inttypes.h stdint.h unistd.h
|
---|
3806 | do :
|
---|
3807 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
3808 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
---|
3809 | "
|
---|
3810 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
3811 | cat >>confdefs.h <<_ACEOF
|
---|
3812 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
3813 | _ACEOF
|
---|
3814 |
|
---|
3815 | fi
|
---|
3816 |
|
---|
3817 | done
|
---|
3818 |
|
---|
3819 |
|
---|
3820 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
|
---|
3821 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
|
---|
3822 | if ${ac_cv_header_stdbool_h+:} false; then :
|
---|
3823 | $as_echo_n "(cached) " >&6
|
---|
3824 | else
|
---|
3825 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3826 | /* end confdefs.h. */
|
---|
3827 |
|
---|
3828 | #include <stdbool.h>
|
---|
3829 | #ifndef bool
|
---|
3830 | "error: bool is not defined"
|
---|
3831 | #endif
|
---|
3832 | #ifndef false
|
---|
3833 | "error: false is not defined"
|
---|
3834 | #endif
|
---|
3835 | #if false
|
---|
3836 | "error: false is not 0"
|
---|
3837 | #endif
|
---|
3838 | #ifndef true
|
---|
3839 | "error: true is not defined"
|
---|
3840 | #endif
|
---|
3841 | #if true != 1
|
---|
3842 | "error: true is not 1"
|
---|
3843 | #endif
|
---|
3844 | #ifndef __bool_true_false_are_defined
|
---|
3845 | "error: __bool_true_false_are_defined is not defined"
|
---|
3846 | #endif
|
---|
3847 |
|
---|
3848 | struct s { _Bool s: 1; _Bool t; } s;
|
---|
3849 |
|
---|
3850 | char a[true == 1 ? 1 : -1];
|
---|
3851 | char b[false == 0 ? 1 : -1];
|
---|
3852 | char c[__bool_true_false_are_defined == 1 ? 1 : -1];
|
---|
3853 | char d[(bool) 0.5 == true ? 1 : -1];
|
---|
3854 | /* See body of main program for 'e'. */
|
---|
3855 | char f[(_Bool) 0.0 == false ? 1 : -1];
|
---|
3856 | char g[true];
|
---|
3857 | char h[sizeof (_Bool)];
|
---|
3858 | char i[sizeof s.t];
|
---|
3859 | enum { j = false, k = true, l = false * true, m = true * 256 };
|
---|
3860 | /* The following fails for
|
---|
3861 | HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
|
---|
3862 | _Bool n[m];
|
---|
3863 | char o[sizeof n == m * sizeof n[0] ? 1 : -1];
|
---|
3864 | char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
|
---|
3865 | /* Catch a bug in an HP-UX C compiler. See
|
---|
3866 | http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
|
---|
3867 | http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
|
---|
3868 | */
|
---|
3869 | _Bool q = true;
|
---|
3870 | _Bool *pq = &q;
|
---|
3871 |
|
---|
3872 | int
|
---|
3873 | main ()
|
---|
3874 | {
|
---|
3875 |
|
---|
3876 | bool e = &s;
|
---|
3877 | *pq |= q;
|
---|
3878 | *pq |= ! q;
|
---|
3879 | /* Refer to every declared value, to avoid compiler optimizations. */
|
---|
3880 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
|
---|
3881 | + !m + !n + !o + !p + !q + !pq);
|
---|
3882 |
|
---|
3883 | ;
|
---|
3884 | return 0;
|
---|
3885 | }
|
---|
3886 | _ACEOF
|
---|
3887 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3888 | ac_cv_header_stdbool_h=yes
|
---|
3889 | else
|
---|
3890 | ac_cv_header_stdbool_h=no
|
---|
3891 | fi
|
---|
3892 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3893 | fi
|
---|
3894 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
|
---|
3895 | $as_echo "$ac_cv_header_stdbool_h" >&6; }
|
---|
3896 | ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
|
---|
3897 | if test "x$ac_cv_type__Bool" = xyes; then :
|
---|
3898 |
|
---|
3899 | cat >>confdefs.h <<_ACEOF
|
---|
3900 | #define HAVE__BOOL 1
|
---|
3901 | _ACEOF
|
---|
3902 |
|
---|
3903 |
|
---|
3904 | fi
|
---|
3905 |
|
---|
3906 |
|
---|
3907 | if test $ac_cv_header_stdbool_h = yes; then
|
---|
3908 |
|
---|
3909 | $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
|
---|
3910 |
|
---|
3911 | fi
|
---|
3912 |
|
---|
3913 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
---|
3914 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
---|
3915 | if ${ac_cv_c_const+:} false; then :
|
---|
3916 | $as_echo_n "(cached) " >&6
|
---|
3917 | else
|
---|
3918 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3919 | /* end confdefs.h. */
|
---|
3920 |
|
---|
3921 | int
|
---|
3922 | main ()
|
---|
3923 | {
|
---|
3924 |
|
---|
3925 | #ifndef __cplusplus
|
---|
3926 | /* Ultrix mips cc rejects this sort of thing. */
|
---|
3927 | typedef int charset[2];
|
---|
3928 | const charset cs = { 0, 0 };
|
---|
3929 | /* SunOS 4.1.1 cc rejects this. */
|
---|
3930 | char const *const *pcpcc;
|
---|
3931 | char **ppc;
|
---|
3932 | /* NEC SVR4.0.2 mips cc rejects this. */
|
---|
3933 | struct point {int x, y;};
|
---|
3934 | static struct point const zero = {0,0};
|
---|
3935 | /* AIX XL C 1.02.0.0 rejects this.
|
---|
3936 | It does not let you subtract one const X* pointer from another in
|
---|
3937 | an arm of an if-expression whose if-part is not a constant
|
---|
3938 | expression */
|
---|
3939 | const char *g = "string";
|
---|
3940 | pcpcc = &g + (g ? g-g : 0);
|
---|
3941 | /* HPUX 7.0 cc rejects these. */
|
---|
3942 | ++pcpcc;
|
---|
3943 | ppc = (char**) pcpcc;
|
---|
3944 | pcpcc = (char const *const *) ppc;
|
---|
3945 | { /* SCO 3.2v4 cc rejects this sort of thing. */
|
---|
3946 | char tx;
|
---|
3947 | char *t = &tx;
|
---|
3948 | char const *s = 0 ? (char *) 0 : (char const *) 0;
|
---|
3949 |
|
---|
3950 | *t++ = 0;
|
---|
3951 | if (s) return 0;
|
---|
3952 | }
|
---|
3953 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
---|
3954 | int x[] = {25, 17};
|
---|
3955 | const int *foo = &x[0];
|
---|
3956 | ++foo;
|
---|
3957 | }
|
---|
3958 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
---|
3959 | typedef const int *iptr;
|
---|
3960 | iptr p = 0;
|
---|
3961 | ++p;
|
---|
3962 | }
|
---|
3963 | { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
|
---|
3964 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
---|
3965 | struct s { int j; const int *ap[3]; } bx;
|
---|
3966 | struct s *b = &bx; b->j = 5;
|
---|
3967 | }
|
---|
3968 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
---|
3969 | const int foo = 10;
|
---|
3970 | if (!foo) return 0;
|
---|
3971 | }
|
---|
3972 | return !cs[0] && !zero.x;
|
---|
3973 | #endif
|
---|
3974 |
|
---|
3975 | ;
|
---|
3976 | return 0;
|
---|
3977 | }
|
---|
3978 | _ACEOF
|
---|
3979 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3980 | ac_cv_c_const=yes
|
---|
3981 | else
|
---|
3982 | ac_cv_c_const=no
|
---|
3983 | fi
|
---|
3984 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3985 | fi
|
---|
3986 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
---|
3987 | $as_echo "$ac_cv_c_const" >&6; }
|
---|
3988 | if test $ac_cv_c_const = no; then
|
---|
3989 |
|
---|
3990 | $as_echo "#define const /**/" >>confdefs.h
|
---|
3991 |
|
---|
3992 | fi
|
---|
3993 |
|
---|
3994 |
|
---|
3995 | # Checks for library functions.
|
---|
3996 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
3997 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
3998 | if ${ac_cv_header_stdc+:} false; then :
|
---|
3999 | $as_echo_n "(cached) " >&6
|
---|
4000 | else
|
---|
4001 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
4002 | /* end confdefs.h. */
|
---|
4003 | #include <stdlib.h>
|
---|
4004 | #include <stdarg.h>
|
---|
4005 | #include <string.h>
|
---|
4006 | #include <float.h>
|
---|
4007 |
|
---|
4008 | int
|
---|
4009 | main ()
|
---|
4010 | {
|
---|
4011 |
|
---|
4012 | ;
|
---|
4013 | return 0;
|
---|
4014 | }
|
---|
4015 | _ACEOF
|
---|
4016 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
4017 | ac_cv_header_stdc=yes
|
---|
4018 | else
|
---|
4019 | ac_cv_header_stdc=no
|
---|
4020 | fi
|
---|
4021 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
4022 |
|
---|
4023 | if test $ac_cv_header_stdc = yes; then
|
---|
4024 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
4025 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
4026 | /* end confdefs.h. */
|
---|
4027 | #include <string.h>
|
---|
4028 |
|
---|
4029 | _ACEOF
|
---|
4030 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
4031 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
4032 |
|
---|
4033 | else
|
---|
4034 | ac_cv_header_stdc=no
|
---|
4035 | fi
|
---|
4036 | rm -f conftest*
|
---|
4037 |
|
---|
4038 | fi
|
---|
4039 |
|
---|
4040 | if test $ac_cv_header_stdc = yes; then
|
---|
4041 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
4042 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
4043 | /* end confdefs.h. */
|
---|
4044 | #include <stdlib.h>
|
---|
4045 |
|
---|
4046 | _ACEOF
|
---|
4047 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
4048 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
4049 |
|
---|
4050 | else
|
---|
4051 | ac_cv_header_stdc=no
|
---|
4052 | fi
|
---|
4053 | rm -f conftest*
|
---|
4054 |
|
---|
4055 | fi
|
---|
4056 |
|
---|
4057 | if test $ac_cv_header_stdc = yes; then
|
---|
4058 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
4059 | if test "$cross_compiling" = yes; then :
|
---|
4060 | :
|
---|
4061 | else
|
---|
4062 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
4063 | /* end confdefs.h. */
|
---|
4064 | #include <ctype.h>
|
---|
4065 | #include <stdlib.h>
|
---|
4066 | #if ((' ' & 0x0FF) == 0x020)
|
---|
4067 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
4068 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
4069 | #else
|
---|
4070 | # define ISLOWER(c) \
|
---|
4071 | (('a' <= (c) && (c) <= 'i') \
|
---|
4072 | || ('j' <= (c) && (c) <= 'r') \
|
---|
4073 | || ('s' <= (c) && (c) <= 'z'))
|
---|
4074 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
4075 | #endif
|
---|
4076 |
|
---|
4077 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
4078 | int
|
---|
4079 | main ()
|
---|
4080 | {
|
---|
4081 | int i;
|
---|
4082 | for (i = 0; i < 256; i++)
|
---|
4083 | if (XOR (islower (i), ISLOWER (i))
|
---|
4084 | || toupper (i) != TOUPPER (i))
|
---|
4085 | return 2;
|
---|
4086 | return 0;
|
---|
4087 | }
|
---|
4088 | _ACEOF
|
---|
4089 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
4090 |
|
---|
4091 | else
|
---|
4092 | ac_cv_header_stdc=no
|
---|
4093 | fi
|
---|
4094 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
4095 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
4096 | fi
|
---|
4097 |
|
---|
4098 | fi
|
---|
4099 | fi
|
---|
4100 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
4101 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
4102 | if test $ac_cv_header_stdc = yes; then
|
---|
4103 |
|
---|
4104 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
4105 |
|
---|
4106 | fi
|
---|
4107 |
|
---|
4108 | for ac_func in memset
|
---|
4109 | do :
|
---|
4110 | ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
|
---|
4111 | if test "x$ac_cv_func_memset" = xyes; then :
|
---|
4112 | cat >>confdefs.h <<_ACEOF
|
---|
4113 | #define HAVE_MEMSET 1
|
---|
4114 | _ACEOF
|
---|
4115 |
|
---|
4116 | fi
|
---|
4117 | done
|
---|
4118 |
|
---|
4119 |
|
---|
4120 | ac_config_files="$ac_config_files Makefile"
|
---|
4121 |
|
---|
4122 | cat >confcache <<\_ACEOF
|
---|
4123 | # This file is a shell script that caches the results of configure
|
---|
4124 | # tests run on this system so they can be shared between configure
|
---|
4125 | # scripts and configure runs, see configure's option --config-cache.
|
---|
4126 | # It is not useful on other systems. If it contains results you don't
|
---|
4127 | # want to keep, you may remove or edit it.
|
---|
4128 | #
|
---|
4129 | # config.status only pays attention to the cache file if you give it
|
---|
4130 | # the --recheck option to rerun configure.
|
---|
4131 | #
|
---|
4132 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
4133 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
4134 | # following values.
|
---|
4135 |
|
---|
4136 | _ACEOF
|
---|
4137 |
|
---|
4138 | # The following way of writing the cache mishandles newlines in values,
|
---|
4139 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
4140 | # So, we kill variables containing newlines.
|
---|
4141 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
4142 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
4143 | (
|
---|
4144 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
4145 | eval ac_val=\$$ac_var
|
---|
4146 | case $ac_val in #(
|
---|
4147 | *${as_nl}*)
|
---|
4148 | case $ac_var in #(
|
---|
4149 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
4150 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
4151 | esac
|
---|
4152 | case $ac_var in #(
|
---|
4153 | _ | IFS | as_nl) ;; #(
|
---|
4154 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
4155 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
4156 | esac ;;
|
---|
4157 | esac
|
---|
4158 | done
|
---|
4159 |
|
---|
4160 | (set) 2>&1 |
|
---|
4161 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
4162 | *${as_nl}ac_space=\ *)
|
---|
4163 | # `set' does not quote correctly, so add quotes: double-quote
|
---|
4164 | # substitution turns \\\\ into \\, and sed turns \\ into \.
|
---|
4165 | sed -n \
|
---|
4166 | "s/'/'\\\\''/g;
|
---|
4167 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
4168 | ;; #(
|
---|
4169 | *)
|
---|
4170 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
4171 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
4172 | ;;
|
---|
4173 | esac |
|
---|
4174 | sort
|
---|
4175 | ) |
|
---|
4176 | sed '
|
---|
4177 | /^ac_cv_env_/b end
|
---|
4178 | t clear
|
---|
4179 | :clear
|
---|
4180 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
4181 | t end
|
---|
4182 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
4183 | :end' >>confcache
|
---|
4184 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
4185 | if test -w "$cache_file"; then
|
---|
4186 | if test "x$cache_file" != "x/dev/null"; then
|
---|
4187 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
---|
4188 | $as_echo "$as_me: updating cache $cache_file" >&6;}
|
---|
4189 | if test ! -f "$cache_file" || test -h "$cache_file"; then
|
---|
4190 | cat confcache >"$cache_file"
|
---|
4191 | else
|
---|
4192 | case $cache_file in #(
|
---|
4193 | */* | ?:*)
|
---|
4194 | mv -f confcache "$cache_file"$$ &&
|
---|
4195 | mv -f "$cache_file"$$ "$cache_file" ;; #(
|
---|
4196 | *)
|
---|
4197 | mv -f confcache "$cache_file" ;;
|
---|
4198 | esac
|
---|
4199 | fi
|
---|
4200 | fi
|
---|
4201 | else
|
---|
4202 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
---|
4203 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
4204 | fi
|
---|
4205 | fi
|
---|
4206 | rm -f confcache
|
---|
4207 |
|
---|
4208 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
4209 | # Let make expand exec_prefix.
|
---|
4210 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
4211 |
|
---|
4212 | DEFS=-DHAVE_CONFIG_H
|
---|
4213 |
|
---|
4214 | ac_libobjs=
|
---|
4215 | ac_ltlibobjs=
|
---|
4216 | U=
|
---|
4217 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
4218 | # 1. Remove the extension, and $U if already installed.
|
---|
4219 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
4220 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
---|
4221 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
4222 | # will be set to the directory where LIBOBJS objects are built.
|
---|
4223 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
4224 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
4225 | done
|
---|
4226 | LIBOBJS=$ac_libobjs
|
---|
4227 |
|
---|
4228 | LTLIBOBJS=$ac_ltlibobjs
|
---|
4229 |
|
---|
4230 |
|
---|
4231 |
|
---|
4232 | : "${CONFIG_STATUS=./config.status}"
|
---|
4233 | ac_write_fail=0
|
---|
4234 | ac_clean_files_save=$ac_clean_files
|
---|
4235 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
4236 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
---|
4237 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
4238 | as_write_fail=0
|
---|
4239 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
---|
4240 | #! $SHELL
|
---|
4241 | # Generated by $as_me.
|
---|
4242 | # Run this file to recreate the current configuration.
|
---|
4243 | # Compiler output produced by configure, useful for debugging
|
---|
4244 | # configure, is in config.log if it exists.
|
---|
4245 |
|
---|
4246 | debug=false
|
---|
4247 | ac_cs_recheck=false
|
---|
4248 | ac_cs_silent=false
|
---|
4249 |
|
---|
4250 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
4251 | export SHELL
|
---|
4252 | _ASEOF
|
---|
4253 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
---|
4254 | ## -------------------- ##
|
---|
4255 | ## M4sh Initialization. ##
|
---|
4256 | ## -------------------- ##
|
---|
4257 |
|
---|
4258 | # Be more Bourne compatible
|
---|
4259 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
4260 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
4261 | emulate sh
|
---|
4262 | NULLCMD=:
|
---|
4263 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
4264 | # is contrary to our usage. Disable this feature.
|
---|
4265 | alias -g '${1+"$@"}'='"$@"'
|
---|
4266 | setopt NO_GLOB_SUBST
|
---|
4267 | else
|
---|
4268 | case `(set -o) 2>/dev/null` in #(
|
---|
4269 | *posix*) :
|
---|
4270 | set -o posix ;; #(
|
---|
4271 | *) :
|
---|
4272 | ;;
|
---|
4273 | esac
|
---|
4274 | fi
|
---|
4275 |
|
---|
4276 |
|
---|
4277 | as_nl='
|
---|
4278 | '
|
---|
4279 | export as_nl
|
---|
4280 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
4281 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
4282 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
4283 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
4284 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
4285 | # but without wasting forks for bash or zsh.
|
---|
4286 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
4287 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
4288 | as_echo='print -r --'
|
---|
4289 | as_echo_n='print -rn --'
|
---|
4290 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
4291 | as_echo='printf %s\n'
|
---|
4292 | as_echo_n='printf %s'
|
---|
4293 | else
|
---|
4294 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
4295 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
4296 | as_echo_n='/usr/ucb/echo -n'
|
---|
4297 | else
|
---|
4298 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
4299 | as_echo_n_body='eval
|
---|
4300 | arg=$1;
|
---|
4301 | case $arg in #(
|
---|
4302 | *"$as_nl"*)
|
---|
4303 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
4304 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
4305 | esac;
|
---|
4306 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
4307 | '
|
---|
4308 | export as_echo_n_body
|
---|
4309 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
4310 | fi
|
---|
4311 | export as_echo_body
|
---|
4312 | as_echo='sh -c $as_echo_body as_echo'
|
---|
4313 | fi
|
---|
4314 |
|
---|
4315 | # The user is always right.
|
---|
4316 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
4317 | PATH_SEPARATOR=:
|
---|
4318 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
4319 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
4320 | PATH_SEPARATOR=';'
|
---|
4321 | }
|
---|
4322 | fi
|
---|
4323 |
|
---|
4324 |
|
---|
4325 | # IFS
|
---|
4326 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
4327 | # there to prevent editors from complaining about space-tab.
|
---|
4328 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
4329 | # splitting by setting IFS to empty value.)
|
---|
4330 | IFS=" "" $as_nl"
|
---|
4331 |
|
---|
4332 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
4333 | as_myself=
|
---|
4334 | case $0 in #((
|
---|
4335 | *[\\/]* ) as_myself=$0 ;;
|
---|
4336 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
4337 | for as_dir in $PATH
|
---|
4338 | do
|
---|
4339 | IFS=$as_save_IFS
|
---|
4340 | test -z "$as_dir" && as_dir=.
|
---|
4341 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
4342 | done
|
---|
4343 | IFS=$as_save_IFS
|
---|
4344 |
|
---|
4345 | ;;
|
---|
4346 | esac
|
---|
4347 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
4348 | # in which case we are not to be found in the path.
|
---|
4349 | if test "x$as_myself" = x; then
|
---|
4350 | as_myself=$0
|
---|
4351 | fi
|
---|
4352 | if test ! -f "$as_myself"; then
|
---|
4353 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
4354 | exit 1
|
---|
4355 | fi
|
---|
4356 |
|
---|
4357 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
4358 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
4359 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
4360 | # trigger a bug in pdksh 5.2.14.
|
---|
4361 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
4362 | do eval test x\${$as_var+set} = xset \
|
---|
4363 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
4364 | done
|
---|
4365 | PS1='$ '
|
---|
4366 | PS2='> '
|
---|
4367 | PS4='+ '
|
---|
4368 |
|
---|
4369 | # NLS nuisances.
|
---|
4370 | LC_ALL=C
|
---|
4371 | export LC_ALL
|
---|
4372 | LANGUAGE=C
|
---|
4373 | export LANGUAGE
|
---|
4374 |
|
---|
4375 | # CDPATH.
|
---|
4376 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
4377 |
|
---|
4378 |
|
---|
4379 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
4380 | # ----------------------------------------
|
---|
4381 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
4382 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
4383 | # script with STATUS, using 1 if that was 0.
|
---|
4384 | as_fn_error ()
|
---|
4385 | {
|
---|
4386 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
4387 | if test "$4"; then
|
---|
4388 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
4389 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
4390 | fi
|
---|
4391 | $as_echo "$as_me: error: $2" >&2
|
---|
4392 | as_fn_exit $as_status
|
---|
4393 | } # as_fn_error
|
---|
4394 |
|
---|
4395 |
|
---|
4396 | # as_fn_set_status STATUS
|
---|
4397 | # -----------------------
|
---|
4398 | # Set $? to STATUS, without forking.
|
---|
4399 | as_fn_set_status ()
|
---|
4400 | {
|
---|
4401 | return $1
|
---|
4402 | } # as_fn_set_status
|
---|
4403 |
|
---|
4404 | # as_fn_exit STATUS
|
---|
4405 | # -----------------
|
---|
4406 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
4407 | as_fn_exit ()
|
---|
4408 | {
|
---|
4409 | set +e
|
---|
4410 | as_fn_set_status $1
|
---|
4411 | exit $1
|
---|
4412 | } # as_fn_exit
|
---|
4413 |
|
---|
4414 | # as_fn_unset VAR
|
---|
4415 | # ---------------
|
---|
4416 | # Portably unset VAR.
|
---|
4417 | as_fn_unset ()
|
---|
4418 | {
|
---|
4419 | { eval $1=; unset $1;}
|
---|
4420 | }
|
---|
4421 | as_unset=as_fn_unset
|
---|
4422 | # as_fn_append VAR VALUE
|
---|
4423 | # ----------------------
|
---|
4424 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
4425 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
4426 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
4427 | # implementations.
|
---|
4428 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
4429 | eval 'as_fn_append ()
|
---|
4430 | {
|
---|
4431 | eval $1+=\$2
|
---|
4432 | }'
|
---|
4433 | else
|
---|
4434 | as_fn_append ()
|
---|
4435 | {
|
---|
4436 | eval $1=\$$1\$2
|
---|
4437 | }
|
---|
4438 | fi # as_fn_append
|
---|
4439 |
|
---|
4440 | # as_fn_arith ARG...
|
---|
4441 | # ------------------
|
---|
4442 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
4443 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
4444 | # must be portable across $(()) and expr.
|
---|
4445 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
4446 | eval 'as_fn_arith ()
|
---|
4447 | {
|
---|
4448 | as_val=$(( $* ))
|
---|
4449 | }'
|
---|
4450 | else
|
---|
4451 | as_fn_arith ()
|
---|
4452 | {
|
---|
4453 | as_val=`expr "$@" || test $? -eq 1`
|
---|
4454 | }
|
---|
4455 | fi # as_fn_arith
|
---|
4456 |
|
---|
4457 |
|
---|
4458 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
4459 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
4460 | as_expr=expr
|
---|
4461 | else
|
---|
4462 | as_expr=false
|
---|
4463 | fi
|
---|
4464 |
|
---|
4465 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
4466 | as_basename=basename
|
---|
4467 | else
|
---|
4468 | as_basename=false
|
---|
4469 | fi
|
---|
4470 |
|
---|
4471 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
4472 | as_dirname=dirname
|
---|
4473 | else
|
---|
4474 | as_dirname=false
|
---|
4475 | fi
|
---|
4476 |
|
---|
4477 | as_me=`$as_basename -- "$0" ||
|
---|
4478 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
4479 | X"$0" : 'X\(//\)$' \| \
|
---|
4480 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
4481 | $as_echo X/"$0" |
|
---|
4482 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
4483 | s//\1/
|
---|
4484 | q
|
---|
4485 | }
|
---|
4486 | /^X\/\(\/\/\)$/{
|
---|
4487 | s//\1/
|
---|
4488 | q
|
---|
4489 | }
|
---|
4490 | /^X\/\(\/\).*/{
|
---|
4491 | s//\1/
|
---|
4492 | q
|
---|
4493 | }
|
---|
4494 | s/.*/./; q'`
|
---|
4495 |
|
---|
4496 | # Avoid depending upon Character Ranges.
|
---|
4497 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
4498 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
4499 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
4500 | as_cr_digits='0123456789'
|
---|
4501 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
4502 |
|
---|
4503 | ECHO_C= ECHO_N= ECHO_T=
|
---|
4504 | case `echo -n x` in #(((((
|
---|
4505 | -n*)
|
---|
4506 | case `echo 'xy\c'` in
|
---|
4507 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
4508 | xy) ECHO_C='\c';;
|
---|
4509 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
4510 | ECHO_T=' ';;
|
---|
4511 | esac;;
|
---|
4512 | *)
|
---|
4513 | ECHO_N='-n';;
|
---|
4514 | esac
|
---|
4515 |
|
---|
4516 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
4517 | if test -d conf$$.dir; then
|
---|
4518 | rm -f conf$$.dir/conf$$.file
|
---|
4519 | else
|
---|
4520 | rm -f conf$$.dir
|
---|
4521 | mkdir conf$$.dir 2>/dev/null
|
---|
4522 | fi
|
---|
4523 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
4524 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
4525 | as_ln_s='ln -s'
|
---|
4526 | # ... but there are two gotchas:
|
---|
4527 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
4528 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
4529 | # In both cases, we have to default to `cp -pR'.
|
---|
4530 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
4531 | as_ln_s='cp -pR'
|
---|
4532 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
4533 | as_ln_s=ln
|
---|
4534 | else
|
---|
4535 | as_ln_s='cp -pR'
|
---|
4536 | fi
|
---|
4537 | else
|
---|
4538 | as_ln_s='cp -pR'
|
---|
4539 | fi
|
---|
4540 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
4541 | rmdir conf$$.dir 2>/dev/null
|
---|
4542 |
|
---|
4543 |
|
---|
4544 | # as_fn_mkdir_p
|
---|
4545 | # -------------
|
---|
4546 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
4547 | as_fn_mkdir_p ()
|
---|
4548 | {
|
---|
4549 |
|
---|
4550 | case $as_dir in #(
|
---|
4551 | -*) as_dir=./$as_dir;;
|
---|
4552 | esac
|
---|
4553 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
4554 | as_dirs=
|
---|
4555 | while :; do
|
---|
4556 | case $as_dir in #(
|
---|
4557 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
4558 | *) as_qdir=$as_dir;;
|
---|
4559 | esac
|
---|
4560 | as_dirs="'$as_qdir' $as_dirs"
|
---|
4561 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
4562 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
4563 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
4564 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
4565 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
4566 | $as_echo X"$as_dir" |
|
---|
4567 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
4568 | s//\1/
|
---|
4569 | q
|
---|
4570 | }
|
---|
4571 | /^X\(\/\/\)[^/].*/{
|
---|
4572 | s//\1/
|
---|
4573 | q
|
---|
4574 | }
|
---|
4575 | /^X\(\/\/\)$/{
|
---|
4576 | s//\1/
|
---|
4577 | q
|
---|
4578 | }
|
---|
4579 | /^X\(\/\).*/{
|
---|
4580 | s//\1/
|
---|
4581 | q
|
---|
4582 | }
|
---|
4583 | s/.*/./; q'`
|
---|
4584 | test -d "$as_dir" && break
|
---|
4585 | done
|
---|
4586 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
4587 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
4588 |
|
---|
4589 |
|
---|
4590 | } # as_fn_mkdir_p
|
---|
4591 | if mkdir -p . 2>/dev/null; then
|
---|
4592 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
4593 | else
|
---|
4594 | test -d ./-p && rmdir ./-p
|
---|
4595 | as_mkdir_p=false
|
---|
4596 | fi
|
---|
4597 |
|
---|
4598 |
|
---|
4599 | # as_fn_executable_p FILE
|
---|
4600 | # -----------------------
|
---|
4601 | # Test if FILE is an executable regular file.
|
---|
4602 | as_fn_executable_p ()
|
---|
4603 | {
|
---|
4604 | test -f "$1" && test -x "$1"
|
---|
4605 | } # as_fn_executable_p
|
---|
4606 | as_test_x='test -x'
|
---|
4607 | as_executable_p=as_fn_executable_p
|
---|
4608 |
|
---|
4609 | # Sed expression to map a string onto a valid CPP name.
|
---|
4610 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
4611 |
|
---|
4612 | # Sed expression to map a string onto a valid variable name.
|
---|
4613 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
4614 |
|
---|
4615 |
|
---|
4616 | exec 6>&1
|
---|
4617 | ## ----------------------------------- ##
|
---|
4618 | ## Main body of $CONFIG_STATUS script. ##
|
---|
4619 | ## ----------------------------------- ##
|
---|
4620 | _ASEOF
|
---|
4621 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
---|
4622 |
|
---|
4623 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
4624 | # Save the log message, to keep $0 and so on meaningful, and to
|
---|
4625 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
4626 | # values after options handling.
|
---|
4627 | ac_log="
|
---|
4628 | This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
|
---|
4629 | generated by GNU Autoconf 2.69. Invocation command line was
|
---|
4630 |
|
---|
4631 | CONFIG_FILES = $CONFIG_FILES
|
---|
4632 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
4633 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
4634 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
4635 | $ $0 $@
|
---|
4636 |
|
---|
4637 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
4638 | "
|
---|
4639 |
|
---|
4640 | _ACEOF
|
---|
4641 |
|
---|
4642 | case $ac_config_files in *"
|
---|
4643 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
4644 | esac
|
---|
4645 |
|
---|
4646 | case $ac_config_headers in *"
|
---|
4647 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
---|
4648 | esac
|
---|
4649 |
|
---|
4650 |
|
---|
4651 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
4652 | # Files that config.status was made for.
|
---|
4653 | config_files="$ac_config_files"
|
---|
4654 | config_headers="$ac_config_headers"
|
---|
4655 |
|
---|
4656 | _ACEOF
|
---|
4657 |
|
---|
4658 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
4659 | ac_cs_usage="\
|
---|
4660 | \`$as_me' instantiates files and other configuration actions
|
---|
4661 | from templates according to the current configuration. Unless the files
|
---|
4662 | and actions are specified as TAGs, all are instantiated by default.
|
---|
4663 |
|
---|
4664 | Usage: $0 [OPTION]... [TAG]...
|
---|
4665 |
|
---|
4666 | -h, --help print this help, then exit
|
---|
4667 | -V, --version print version number and configuration settings, then exit
|
---|
4668 | --config print configuration, then exit
|
---|
4669 | -q, --quiet, --silent
|
---|
4670 | do not print progress messages
|
---|
4671 | -d, --debug don't remove temporary files
|
---|
4672 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
4673 | --file=FILE[:TEMPLATE]
|
---|
4674 | instantiate the configuration file FILE
|
---|
4675 | --header=FILE[:TEMPLATE]
|
---|
4676 | instantiate the configuration header FILE
|
---|
4677 |
|
---|
4678 | Configuration files:
|
---|
4679 | $config_files
|
---|
4680 |
|
---|
4681 | Configuration headers:
|
---|
4682 | $config_headers
|
---|
4683 |
|
---|
4684 | Report bugs to <BUG-REPORT-ADDRESS>."
|
---|
4685 |
|
---|
4686 | _ACEOF
|
---|
4687 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
4688 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
---|
4689 | ac_cs_version="\\
|
---|
4690 | FULL-PACKAGE-NAME config.status VERSION
|
---|
4691 | configured by $0, generated by GNU Autoconf 2.69,
|
---|
4692 | with options \\"\$ac_cs_config\\"
|
---|
4693 |
|
---|
4694 | Copyright (C) 2012 Free Software Foundation, Inc.
|
---|
4695 | This config.status script is free software; the Free Software Foundation
|
---|
4696 | gives unlimited permission to copy, distribute and modify it."
|
---|
4697 |
|
---|
4698 | ac_pwd='$ac_pwd'
|
---|
4699 | srcdir='$srcdir'
|
---|
4700 | INSTALL='$INSTALL'
|
---|
4701 | test -n "\$AWK" || AWK=awk
|
---|
4702 | _ACEOF
|
---|
4703 |
|
---|
4704 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
4705 | # The default lists apply if the user does not specify any file.
|
---|
4706 | ac_need_defaults=:
|
---|
4707 | while test $# != 0
|
---|
4708 | do
|
---|
4709 | case $1 in
|
---|
4710 | --*=?*)
|
---|
4711 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
4712 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
4713 | ac_shift=:
|
---|
4714 | ;;
|
---|
4715 | --*=)
|
---|
4716 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
4717 | ac_optarg=
|
---|
4718 | ac_shift=:
|
---|
4719 | ;;
|
---|
4720 | *)
|
---|
4721 | ac_option=$1
|
---|
4722 | ac_optarg=$2
|
---|
4723 | ac_shift=shift
|
---|
4724 | ;;
|
---|
4725 | esac
|
---|
4726 |
|
---|
4727 | case $ac_option in
|
---|
4728 | # Handling of the options.
|
---|
4729 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
4730 | ac_cs_recheck=: ;;
|
---|
4731 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
4732 | $as_echo "$ac_cs_version"; exit ;;
|
---|
4733 | --config | --confi | --conf | --con | --co | --c )
|
---|
4734 | $as_echo "$ac_cs_config"; exit ;;
|
---|
4735 | --debug | --debu | --deb | --de | --d | -d )
|
---|
4736 | debug=: ;;
|
---|
4737 | --file | --fil | --fi | --f )
|
---|
4738 | $ac_shift
|
---|
4739 | case $ac_optarg in
|
---|
4740 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
4741 | '') as_fn_error $? "missing file argument" ;;
|
---|
4742 | esac
|
---|
4743 | as_fn_append CONFIG_FILES " '$ac_optarg'"
|
---|
4744 | ac_need_defaults=false;;
|
---|
4745 | --header | --heade | --head | --hea )
|
---|
4746 | $ac_shift
|
---|
4747 | case $ac_optarg in
|
---|
4748 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
4749 | esac
|
---|
4750 | as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
---|
4751 | ac_need_defaults=false;;
|
---|
4752 | --he | --h)
|
---|
4753 | # Conflict between --help and --header
|
---|
4754 | as_fn_error $? "ambiguous option: \`$1'
|
---|
4755 | Try \`$0 --help' for more information.";;
|
---|
4756 | --help | --hel | -h )
|
---|
4757 | $as_echo "$ac_cs_usage"; exit ;;
|
---|
4758 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
4759 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
4760 | ac_cs_silent=: ;;
|
---|
4761 |
|
---|
4762 | # This is an error.
|
---|
4763 | -*) as_fn_error $? "unrecognized option: \`$1'
|
---|
4764 | Try \`$0 --help' for more information." ;;
|
---|
4765 |
|
---|
4766 | *) as_fn_append ac_config_targets " $1"
|
---|
4767 | ac_need_defaults=false ;;
|
---|
4768 |
|
---|
4769 | esac
|
---|
4770 | shift
|
---|
4771 | done
|
---|
4772 |
|
---|
4773 | ac_configure_extra_args=
|
---|
4774 |
|
---|
4775 | if $ac_cs_silent; then
|
---|
4776 | exec 6>/dev/null
|
---|
4777 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
4778 | fi
|
---|
4779 |
|
---|
4780 | _ACEOF
|
---|
4781 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
4782 | if \$ac_cs_recheck; then
|
---|
4783 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
4784 | shift
|
---|
4785 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
---|
4786 | CONFIG_SHELL='$SHELL'
|
---|
4787 | export CONFIG_SHELL
|
---|
4788 | exec "\$@"
|
---|
4789 | fi
|
---|
4790 |
|
---|
4791 | _ACEOF
|
---|
4792 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
4793 | exec 5>>config.log
|
---|
4794 | {
|
---|
4795 | echo
|
---|
4796 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
4797 | ## Running $as_me. ##
|
---|
4798 | _ASBOX
|
---|
4799 | $as_echo "$ac_log"
|
---|
4800 | } >&5
|
---|
4801 |
|
---|
4802 | _ACEOF
|
---|
4803 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
4804 | _ACEOF
|
---|
4805 |
|
---|
4806 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
4807 |
|
---|
4808 | # Handling of arguments.
|
---|
4809 | for ac_config_target in $ac_config_targets
|
---|
4810 | do
|
---|
4811 | case $ac_config_target in
|
---|
4812 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
4813 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
4814 |
|
---|
4815 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
---|
4816 | esac
|
---|
4817 | done
|
---|
4818 |
|
---|
4819 |
|
---|
4820 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
4821 | # then the envvar interface is used. Set only those that are not.
|
---|
4822 | # We use the long form for the default assignment because of an extremely
|
---|
4823 | # bizarre bug on SunOS 4.1.3.
|
---|
4824 | if $ac_need_defaults; then
|
---|
4825 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
4826 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
4827 | fi
|
---|
4828 |
|
---|
4829 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
4830 | # simply because there is no reason against having it here, and in addition,
|
---|
4831 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
4832 | # Hook for its removal unless debugging.
|
---|
4833 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
4834 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
4835 | $debug ||
|
---|
4836 | {
|
---|
4837 | tmp= ac_tmp=
|
---|
4838 | trap 'exit_status=$?
|
---|
4839 | : "${ac_tmp:=$tmp}"
|
---|
4840 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
---|
4841 | ' 0
|
---|
4842 | trap 'as_fn_exit 1' 1 2 13 15
|
---|
4843 | }
|
---|
4844 | # Create a (secure) tmp directory for tmp files.
|
---|
4845 |
|
---|
4846 | {
|
---|
4847 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
4848 | test -d "$tmp"
|
---|
4849 | } ||
|
---|
4850 | {
|
---|
4851 | tmp=./conf$$-$RANDOM
|
---|
4852 | (umask 077 && mkdir "$tmp")
|
---|
4853 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
---|
4854 | ac_tmp=$tmp
|
---|
4855 |
|
---|
4856 | # Set up the scripts for CONFIG_FILES section.
|
---|
4857 | # No need to generate them if there are no CONFIG_FILES.
|
---|
4858 | # This happens for instance with `./config.status config.h'.
|
---|
4859 | if test -n "$CONFIG_FILES"; then
|
---|
4860 |
|
---|
4861 |
|
---|
4862 | ac_cr=`echo X | tr X '\015'`
|
---|
4863 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
|
---|
4864 | # But we know of no other shell where ac_cr would be empty at this
|
---|
4865 | # point, so we can use a bashism as a fallback.
|
---|
4866 | if test "x$ac_cr" = x; then
|
---|
4867 | eval ac_cr=\$\'\\r\'
|
---|
4868 | fi
|
---|
4869 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
4870 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
4871 | ac_cs_awk_cr='\\r'
|
---|
4872 | else
|
---|
4873 | ac_cs_awk_cr=$ac_cr
|
---|
4874 | fi
|
---|
4875 |
|
---|
4876 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
---|
4877 | _ACEOF
|
---|
4878 |
|
---|
4879 |
|
---|
4880 | {
|
---|
4881 | echo "cat >conf$$subs.awk <<_ACEOF" &&
|
---|
4882 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
---|
4883 | echo "_ACEOF"
|
---|
4884 | } >conf$$subs.sh ||
|
---|
4885 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
4886 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
---|
4887 | ac_delim='%!_!# '
|
---|
4888 | for ac_last_try in false false false false false :; do
|
---|
4889 | . ./conf$$subs.sh ||
|
---|
4890 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
4891 |
|
---|
4892 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
---|
4893 | if test $ac_delim_n = $ac_delim_num; then
|
---|
4894 | break
|
---|
4895 | elif $ac_last_try; then
|
---|
4896 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
4897 | else
|
---|
4898 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
4899 | fi
|
---|
4900 | done
|
---|
4901 | rm -f conf$$subs.sh
|
---|
4902 |
|
---|
4903 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
4904 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
---|
4905 | _ACEOF
|
---|
4906 | sed -n '
|
---|
4907 | h
|
---|
4908 | s/^/S["/; s/!.*/"]=/
|
---|
4909 | p
|
---|
4910 | g
|
---|
4911 | s/^[^!]*!//
|
---|
4912 | :repl
|
---|
4913 | t repl
|
---|
4914 | s/'"$ac_delim"'$//
|
---|
4915 | t delim
|
---|
4916 | :nl
|
---|
4917 | h
|
---|
4918 | s/\(.\{148\}\)..*/\1/
|
---|
4919 | t more1
|
---|
4920 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
4921 | p
|
---|
4922 | n
|
---|
4923 | b repl
|
---|
4924 | :more1
|
---|
4925 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
4926 | p
|
---|
4927 | g
|
---|
4928 | s/.\{148\}//
|
---|
4929 | t nl
|
---|
4930 | :delim
|
---|
4931 | h
|
---|
4932 | s/\(.\{148\}\)..*/\1/
|
---|
4933 | t more2
|
---|
4934 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
4935 | p
|
---|
4936 | b
|
---|
4937 | :more2
|
---|
4938 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
4939 | p
|
---|
4940 | g
|
---|
4941 | s/.\{148\}//
|
---|
4942 | t delim
|
---|
4943 | ' <conf$$subs.awk | sed '
|
---|
4944 | /^[^""]/{
|
---|
4945 | N
|
---|
4946 | s/\n//
|
---|
4947 | }
|
---|
4948 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
4949 | rm -f conf$$subs.awk
|
---|
4950 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
4951 | _ACAWK
|
---|
4952 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
---|
4953 | for (key in S) S_is_set[key] = 1
|
---|
4954 | FS = ""
|
---|
4955 |
|
---|
4956 | }
|
---|
4957 | {
|
---|
4958 | line = $ 0
|
---|
4959 | nfields = split(line, field, "@")
|
---|
4960 | substed = 0
|
---|
4961 | len = length(field[1])
|
---|
4962 | for (i = 2; i < nfields; i++) {
|
---|
4963 | key = field[i]
|
---|
4964 | keylen = length(key)
|
---|
4965 | if (S_is_set[key]) {
|
---|
4966 | value = S[key]
|
---|
4967 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
---|
4968 | len += length(value) + length(field[++i])
|
---|
4969 | substed = 1
|
---|
4970 | } else
|
---|
4971 | len += 1 + keylen
|
---|
4972 | }
|
---|
4973 |
|
---|
4974 | print line
|
---|
4975 | }
|
---|
4976 |
|
---|
4977 | _ACAWK
|
---|
4978 | _ACEOF
|
---|
4979 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
4980 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
4981 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
4982 | else
|
---|
4983 | cat
|
---|
4984 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
---|
4985 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
---|
4986 | _ACEOF
|
---|
4987 |
|
---|
4988 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
---|
4989 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
---|
4990 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
4991 | # (actually we leave an empty line to preserve line numbers).
|
---|
4992 | if test "x$srcdir" = x.; then
|
---|
4993 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
---|
4994 | h
|
---|
4995 | s///
|
---|
4996 | s/^/:/
|
---|
4997 | s/[ ]*$/:/
|
---|
4998 | s/:\$(srcdir):/:/g
|
---|
4999 | s/:\${srcdir}:/:/g
|
---|
5000 | s/:@srcdir@:/:/g
|
---|
5001 | s/^:*//
|
---|
5002 | s/:*$//
|
---|
5003 | x
|
---|
5004 | s/\(=[ ]*\).*/\1/
|
---|
5005 | G
|
---|
5006 | s/\n//
|
---|
5007 | s/^[^=]*=[ ]*$//
|
---|
5008 | }'
|
---|
5009 | fi
|
---|
5010 |
|
---|
5011 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
5012 | fi # test -n "$CONFIG_FILES"
|
---|
5013 |
|
---|
5014 | # Set up the scripts for CONFIG_HEADERS section.
|
---|
5015 | # No need to generate them if there are no CONFIG_HEADERS.
|
---|
5016 | # This happens for instance with `./config.status Makefile'.
|
---|
5017 | if test -n "$CONFIG_HEADERS"; then
|
---|
5018 | cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
---|
5019 | BEGIN {
|
---|
5020 | _ACEOF
|
---|
5021 |
|
---|
5022 | # Transform confdefs.h into an awk script `defines.awk', embedded as
|
---|
5023 | # here-document in config.status, that substitutes the proper values into
|
---|
5024 | # config.h.in to produce config.h.
|
---|
5025 |
|
---|
5026 | # Create a delimiter string that does not exist in confdefs.h, to ease
|
---|
5027 | # handling of long lines.
|
---|
5028 | ac_delim='%!_!# '
|
---|
5029 | for ac_last_try in false false :; do
|
---|
5030 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
|
---|
5031 | if test -z "$ac_tt"; then
|
---|
5032 | break
|
---|
5033 | elif $ac_last_try; then
|
---|
5034 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
---|
5035 | else
|
---|
5036 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
5037 | fi
|
---|
5038 | done
|
---|
5039 |
|
---|
5040 | # For the awk script, D is an array of macro values keyed by name,
|
---|
5041 | # likewise P contains macro parameters if any. Preserve backslash
|
---|
5042 | # newline sequences.
|
---|
5043 |
|
---|
5044 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
---|
5045 | sed -n '
|
---|
5046 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
5047 | t rset
|
---|
5048 | :rset
|
---|
5049 | s/^[ ]*#[ ]*define[ ][ ]*/ /
|
---|
5050 | t def
|
---|
5051 | d
|
---|
5052 | :def
|
---|
5053 | s/\\$//
|
---|
5054 | t bsnl
|
---|
5055 | s/["\\]/\\&/g
|
---|
5056 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
5057 | D["\1"]=" \3"/p
|
---|
5058 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
---|
5059 | d
|
---|
5060 | :bsnl
|
---|
5061 | s/["\\]/\\&/g
|
---|
5062 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
5063 | D["\1"]=" \3\\\\\\n"\\/p
|
---|
5064 | t cont
|
---|
5065 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
---|
5066 | t cont
|
---|
5067 | d
|
---|
5068 | :cont
|
---|
5069 | n
|
---|
5070 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
5071 | t clear
|
---|
5072 | :clear
|
---|
5073 | s/\\$//
|
---|
5074 | t bsnlc
|
---|
5075 | s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
---|
5076 | d
|
---|
5077 | :bsnlc
|
---|
5078 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
---|
5079 | b cont
|
---|
5080 | ' <confdefs.h | sed '
|
---|
5081 | s/'"$ac_delim"'/"\\\
|
---|
5082 | "/g' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
5083 |
|
---|
5084 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
5085 | for (key in D) D_is_set[key] = 1
|
---|
5086 | FS = ""
|
---|
5087 | }
|
---|
5088 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
---|
5089 | line = \$ 0
|
---|
5090 | split(line, arg, " ")
|
---|
5091 | if (arg[1] == "#") {
|
---|
5092 | defundef = arg[2]
|
---|
5093 | mac1 = arg[3]
|
---|
5094 | } else {
|
---|
5095 | defundef = substr(arg[1], 2)
|
---|
5096 | mac1 = arg[2]
|
---|
5097 | }
|
---|
5098 | split(mac1, mac2, "(") #)
|
---|
5099 | macro = mac2[1]
|
---|
5100 | prefix = substr(line, 1, index(line, defundef) - 1)
|
---|
5101 | if (D_is_set[macro]) {
|
---|
5102 | # Preserve the white space surrounding the "#".
|
---|
5103 | print prefix "define", macro P[macro] D[macro]
|
---|
5104 | next
|
---|
5105 | } else {
|
---|
5106 | # Replace #undef with comments. This is necessary, for example,
|
---|
5107 | # in the case of _POSIX_SOURCE, which is predefined and required
|
---|
5108 | # on some systems where configure will not decide to define it.
|
---|
5109 | if (defundef == "undef") {
|
---|
5110 | print "/*", prefix defundef, macro, "*/"
|
---|
5111 | next
|
---|
5112 | }
|
---|
5113 | }
|
---|
5114 | }
|
---|
5115 | { print }
|
---|
5116 | _ACAWK
|
---|
5117 | _ACEOF
|
---|
5118 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
5119 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
---|
5120 | fi # test -n "$CONFIG_HEADERS"
|
---|
5121 |
|
---|
5122 |
|
---|
5123 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
|
---|
5124 | shift
|
---|
5125 | for ac_tag
|
---|
5126 | do
|
---|
5127 | case $ac_tag in
|
---|
5128 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
5129 | esac
|
---|
5130 | case $ac_mode$ac_tag in
|
---|
5131 | :[FHL]*:*);;
|
---|
5132 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
---|
5133 | :[FH]-) ac_tag=-:-;;
|
---|
5134 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
5135 | esac
|
---|
5136 | ac_save_IFS=$IFS
|
---|
5137 | IFS=:
|
---|
5138 | set x $ac_tag
|
---|
5139 | IFS=$ac_save_IFS
|
---|
5140 | shift
|
---|
5141 | ac_file=$1
|
---|
5142 | shift
|
---|
5143 |
|
---|
5144 | case $ac_mode in
|
---|
5145 | :L) ac_source=$1;;
|
---|
5146 | :[FH])
|
---|
5147 | ac_file_inputs=
|
---|
5148 | for ac_f
|
---|
5149 | do
|
---|
5150 | case $ac_f in
|
---|
5151 | -) ac_f="$ac_tmp/stdin";;
|
---|
5152 | *) # Look for the file first in the build tree, then in the source tree
|
---|
5153 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
5154 | # because $ac_f cannot contain `:'.
|
---|
5155 | test -f "$ac_f" ||
|
---|
5156 | case $ac_f in
|
---|
5157 | [\\/$]*) false;;
|
---|
5158 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
5159 | esac ||
|
---|
5160 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
---|
5161 | esac
|
---|
5162 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
---|
5163 | as_fn_append ac_file_inputs " '$ac_f'"
|
---|
5164 | done
|
---|
5165 |
|
---|
5166 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
5167 | # use $as_me), people would be surprised to read:
|
---|
5168 | # /* config.h. Generated by config.status. */
|
---|
5169 | configure_input='Generated from '`
|
---|
5170 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
---|
5171 | `' by configure.'
|
---|
5172 | if test x"$ac_file" != x-; then
|
---|
5173 | configure_input="$ac_file. $configure_input"
|
---|
5174 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
---|
5175 | $as_echo "$as_me: creating $ac_file" >&6;}
|
---|
5176 | fi
|
---|
5177 | # Neutralize special characters interpreted by sed in replacement strings.
|
---|
5178 | case $configure_input in #(
|
---|
5179 | *\&* | *\|* | *\\* )
|
---|
5180 | ac_sed_conf_input=`$as_echo "$configure_input" |
|
---|
5181 | sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
---|
5182 | *) ac_sed_conf_input=$configure_input;;
|
---|
5183 | esac
|
---|
5184 |
|
---|
5185 | case $ac_tag in
|
---|
5186 | *:-:* | *:-) cat >"$ac_tmp/stdin" \
|
---|
5187 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
---|
5188 | esac
|
---|
5189 | ;;
|
---|
5190 | esac
|
---|
5191 |
|
---|
5192 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
5193 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
5194 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
5195 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
5196 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
5197 | $as_echo X"$ac_file" |
|
---|
5198 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
5199 | s//\1/
|
---|
5200 | q
|
---|
5201 | }
|
---|
5202 | /^X\(\/\/\)[^/].*/{
|
---|
5203 | s//\1/
|
---|
5204 | q
|
---|
5205 | }
|
---|
5206 | /^X\(\/\/\)$/{
|
---|
5207 | s//\1/
|
---|
5208 | q
|
---|
5209 | }
|
---|
5210 | /^X\(\/\).*/{
|
---|
5211 | s//\1/
|
---|
5212 | q
|
---|
5213 | }
|
---|
5214 | s/.*/./; q'`
|
---|
5215 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
5216 | ac_builddir=.
|
---|
5217 |
|
---|
5218 | case "$ac_dir" in
|
---|
5219 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
5220 | *)
|
---|
5221 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
5222 | # A ".." for each directory in $ac_dir_suffix.
|
---|
5223 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
5224 | case $ac_top_builddir_sub in
|
---|
5225 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
5226 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
5227 | esac ;;
|
---|
5228 | esac
|
---|
5229 | ac_abs_top_builddir=$ac_pwd
|
---|
5230 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
5231 | # for backward compatibility:
|
---|
5232 | ac_top_builddir=$ac_top_build_prefix
|
---|
5233 |
|
---|
5234 | case $srcdir in
|
---|
5235 | .) # We are building in place.
|
---|
5236 | ac_srcdir=.
|
---|
5237 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
5238 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
5239 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
5240 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
5241 | ac_top_srcdir=$srcdir
|
---|
5242 | ac_abs_top_srcdir=$srcdir ;;
|
---|
5243 | *) # Relative name.
|
---|
5244 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
5245 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
5246 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
5247 | esac
|
---|
5248 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
5249 |
|
---|
5250 |
|
---|
5251 | case $ac_mode in
|
---|
5252 | :F)
|
---|
5253 | #
|
---|
5254 | # CONFIG_FILE
|
---|
5255 | #
|
---|
5256 |
|
---|
5257 | case $INSTALL in
|
---|
5258 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
5259 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
---|
5260 | esac
|
---|
5261 | _ACEOF
|
---|
5262 |
|
---|
5263 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
5264 | # If the template does not know about datarootdir, expand it.
|
---|
5265 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
5266 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
5267 | ac_sed_dataroot='
|
---|
5268 | /datarootdir/ {
|
---|
5269 | p
|
---|
5270 | q
|
---|
5271 | }
|
---|
5272 | /@datadir@/p
|
---|
5273 | /@docdir@/p
|
---|
5274 | /@infodir@/p
|
---|
5275 | /@localedir@/p
|
---|
5276 | /@mandir@/p'
|
---|
5277 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
---|
5278 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
5279 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
5280 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
5281 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
5282 | _ACEOF
|
---|
5283 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
5284 | ac_datarootdir_hack='
|
---|
5285 | s&@datadir@&$datadir&g
|
---|
5286 | s&@docdir@&$docdir&g
|
---|
5287 | s&@infodir@&$infodir&g
|
---|
5288 | s&@localedir@&$localedir&g
|
---|
5289 | s&@mandir@&$mandir&g
|
---|
5290 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
5291 | esac
|
---|
5292 | _ACEOF
|
---|
5293 |
|
---|
5294 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
5295 | # Shell code in configure.ac might set extrasub.
|
---|
5296 | # FIXME: do we really want to maintain this feature?
|
---|
5297 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
5298 | ac_sed_extra="$ac_vpsub
|
---|
5299 | $extrasub
|
---|
5300 | _ACEOF
|
---|
5301 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
5302 | :t
|
---|
5303 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
5304 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
5305 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
5306 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
5307 | s&@srcdir@&$ac_srcdir&;t t
|
---|
5308 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
5309 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
5310 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
5311 | s&@builddir@&$ac_builddir&;t t
|
---|
5312 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
5313 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
5314 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
5315 | $ac_datarootdir_hack
|
---|
5316 | "
|
---|
5317 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
---|
5318 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
5319 |
|
---|
5320 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
5321 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
---|
5322 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
---|
5323 | "$ac_tmp/out"`; test -z "$ac_out"; } &&
|
---|
5324 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
5325 | which seems to be undefined. Please make sure it is defined" >&5
|
---|
5326 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
5327 | which seems to be undefined. Please make sure it is defined" >&2;}
|
---|
5328 |
|
---|
5329 | rm -f "$ac_tmp/stdin"
|
---|
5330 | case $ac_file in
|
---|
5331 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
---|
5332 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
---|
5333 | esac \
|
---|
5334 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
5335 | ;;
|
---|
5336 | :H)
|
---|
5337 | #
|
---|
5338 | # CONFIG_HEADER
|
---|
5339 | #
|
---|
5340 | if test x"$ac_file" != x-; then
|
---|
5341 | {
|
---|
5342 | $as_echo "/* $configure_input */" \
|
---|
5343 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
---|
5344 | } >"$ac_tmp/config.h" \
|
---|
5345 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
5346 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
---|
5347 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
---|
5348 | $as_echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
5349 | else
|
---|
5350 | rm -f "$ac_file"
|
---|
5351 | mv "$ac_tmp/config.h" "$ac_file" \
|
---|
5352 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
5353 | fi
|
---|
5354 | else
|
---|
5355 | $as_echo "/* $configure_input */" \
|
---|
5356 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
---|
5357 | || as_fn_error $? "could not create -" "$LINENO" 5
|
---|
5358 | fi
|
---|
5359 | ;;
|
---|
5360 |
|
---|
5361 |
|
---|
5362 | esac
|
---|
5363 |
|
---|
5364 | done # for ac_tag
|
---|
5365 |
|
---|
5366 |
|
---|
5367 | as_fn_exit 0
|
---|
5368 | _ACEOF
|
---|
5369 | ac_clean_files=$ac_clean_files_save
|
---|
5370 |
|
---|
5371 | test $ac_write_fail = 0 ||
|
---|
5372 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
---|
5373 |
|
---|
5374 |
|
---|
5375 | # configure is writing to config.log, and then calls config.status.
|
---|
5376 | # config.status does its own redirection, appending to config.log.
|
---|
5377 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
5378 | # by configure, so config.status won't be able to write to it; its
|
---|
5379 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
5380 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
5381 | # appended to by config.status. When coming back to configure, we
|
---|
5382 | # need to make the FD available again.
|
---|
5383 | if test "$no_create" != yes; then
|
---|
5384 | ac_cs_success=:
|
---|
5385 | ac_config_status_args=
|
---|
5386 | test "$silent" = yes &&
|
---|
5387 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
5388 | exec 5>/dev/null
|
---|
5389 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
5390 | exec 5>>config.log
|
---|
5391 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
5392 | # would make configure fail if this is the last instruction.
|
---|
5393 | $ac_cs_success || as_fn_exit 1
|
---|
5394 | fi
|
---|
5395 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
---|
5396 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
---|
5397 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
---|
5398 | fi
|
---|
5399 |
|
---|