ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure
Revision: 1.60
Committed: Thu Oct 25 07:31:58 2018 UTC (5 years, 6 months ago) by root
Branch: MAIN
Changes since 1.59: +20 -18 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gvpe 3.1.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
204 fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 do
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
225 fi
226 fi
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
236
237
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
258 fi
259
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
271 fi
272 exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
289 {
290 { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
298 {
299 return $1
300 } # as_fn_set_status
301
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
306 {
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
311
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
316 {
317
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
337 q
338 }
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\).*/{
348 s//\1/
349 q
350 }
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358 } # as_fn_mkdir_p
359
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
364 {
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
375 {
376 eval $1+=\$2
377 }'
378 else
379 as_fn_append ()
380 {
381 eval $1=\$$1\$2
382 }
383 fi # as_fn_append
384
385 # as_fn_arith ARG...
386 # ------------------
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
392 {
393 as_val=$(( $* ))
394 }'
395 else
396 as_fn_arith ()
397 {
398 as_val=`expr "$@" || test $? -eq 1`
399 }
400 fi # as_fn_arith
401
402
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
408 as_fn_error ()
409 {
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 fi
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417 } # as_fn_error
418
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
424 fi
425
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
430 fi
431
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
436 fi
437
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
445 q
446 }
447 /^X\/\(\/\/\)$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\).*/{
452 s//\1/
453 q
454 }
455 s/.*/./; q'`
456
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
471 p
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
477 b
478 :lineno
479 N
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
498 }
499
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
509 *)
510 ECHO_N='-n';;
511 esac
512
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
519 fi
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
533 fi
534 else
535 as_ln_s='cp -pR'
536 fi
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
539
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
545 fi
546
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
549
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
559
560 # Name of the host.
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565 #
566 # Initializations.
567 #
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
576
577 # Identity of this package.
578 PACKAGE_NAME='gvpe'
579 PACKAGE_TARNAME='gvpe'
580 PACKAGE_VERSION='3.1'
581 PACKAGE_STRING='gvpe 3.1'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
584
585 ac_unique_file="src/gvpe.C"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
588 #include <stdio.h>
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
591 #endif
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
594 #endif
595 #ifdef STDC_HEADERS
596 # include <stdlib.h>
597 # include <stddef.h>
598 #else
599 # ifdef HAVE_STDLIB_H
600 # include <stdlib.h>
601 # endif
602 #endif
603 #ifdef HAVE_STRING_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 # include <memory.h>
606 # endif
607 # include <string.h>
608 #endif
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
611 #endif
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
614 #endif
615 #ifdef HAVE_STDINT_H
616 # include <stdint.h>
617 #endif
618 #ifdef HAVE_UNISTD_H
619 # include <unistd.h>
620 #endif"
621
622 ac_subst_vars='LTLIBOBJS
623 LIBOBJS
624 AM_CPPFLAGS
625 ROHC_FALSE
626 ROHC_TRUE
627 LDFLAGS_DAEMON
628 LIBCRYPTO_LIBS
629 LIBCRYPTO_CFLAGS
630 PKG_CONFIG_LIBDIR
631 PKG_CONFIG_PATH
632 PKG_CONFIG
633 HAVE_TUNTAP
634 LINUX_IF_TUN_H
635 ALLOCA
636 CXXCPP
637 IFSUBTYPE
638 IFTYPE
639 RANLIB
640 LN_S
641 EGREP
642 GREP
643 am__fastdepCXX_FALSE
644 am__fastdepCXX_TRUE
645 CXXDEPMODE
646 ac_ct_CXX
647 CXXFLAGS
648 CXX
649 CPP
650 POSUB
651 LTLIBINTL
652 LIBINTL
653 INTLLIBS
654 LTLIBICONV
655 LIBICONV
656 USE_NLS
657 am__fastdepCC_FALSE
658 am__fastdepCC_TRUE
659 CCDEPMODE
660 AMDEPBACKSLASH
661 AMDEP_FALSE
662 AMDEP_TRUE
663 am__quote
664 am__include
665 DEPDIR
666 OBJEXT
667 EXEEXT
668 ac_ct_CC
669 CPPFLAGS
670 LDFLAGS
671 CFLAGS
672 CC
673 MSGMERGE
674 XGETTEXT
675 GMSGFMT
676 MSGFMT
677 MKINSTALLDIRS
678 MAINT
679 MAINTAINER_MODE_FALSE
680 MAINTAINER_MODE_TRUE
681 am__leading_dot
682 SET_MAKE
683 AWK
684 INSTALL_STRIP_PROGRAM
685 STRIP
686 install_sh
687 AMTAR
688 MAKEINFO
689 AUTOHEADER
690 AUTOMAKE
691 AUTOCONF
692 ACLOCAL
693 VERSION
694 PACKAGE
695 CYGPATH_W
696 INSTALL_DATA
697 INSTALL_SCRIPT
698 INSTALL_PROGRAM
699 target_os
700 target_vendor
701 target_cpu
702 target
703 host_os
704 host_vendor
705 host_cpu
706 host
707 build_os
708 build_vendor
709 build_cpu
710 build
711 target_alias
712 host_alias
713 build_alias
714 LIBS
715 ECHO_T
716 ECHO_N
717 ECHO_C
718 DEFS
719 mandir
720 localedir
721 libdir
722 psdir
723 pdfdir
724 dvidir
725 htmldir
726 infodir
727 docdir
728 oldincludedir
729 includedir
730 runstatedir
731 localstatedir
732 sharedstatedir
733 sysconfdir
734 datadir
735 datarootdir
736 libexecdir
737 sbindir
738 bindir
739 program_transform_name
740 prefix
741 exec_prefix
742 PACKAGE_URL
743 PACKAGE_BUGREPORT
744 PACKAGE_STRING
745 PACKAGE_VERSION
746 PACKAGE_TARNAME
747 PACKAGE_NAME
748 PATH_SEPARATOR
749 SHELL'
750 ac_subst_files=''
751 ac_user_opts='
752 enable_option_checking
753 enable_maintainer_mode
754 enable_dependency_tracking
755 with_gnu_ld
756 enable_rpath
757 with_libiconv_prefix
758 enable_nls
759 with_libintl_prefix
760 enable_iftype
761 with_kernel
762 enable_threads
763 enable_static_daemon
764 enable_icmp
765 enable_tcp
766 enable_http_proxy
767 enable_dns
768 enable_rsa_length
769 enable_hmac_length
770 enable_max_mtu
771 enable_compression
772 enable_cipher
773 enable_hmac_digest
774 enable_auth_digest
775 '
776 ac_precious_vars='build_alias
777 host_alias
778 target_alias
779 CC
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
784 CPP
785 CXX
786 CXXFLAGS
787 CCC
788 CXXCPP
789 PKG_CONFIG
790 PKG_CONFIG_PATH
791 PKG_CONFIG_LIBDIR
792 LIBCRYPTO_CFLAGS
793 LIBCRYPTO_LIBS'
794
795
796 # Initialize some variables set by options.
797 ac_init_help=
798 ac_init_version=false
799 ac_unrecognized_opts=
800 ac_unrecognized_sep=
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
803 cache_file=/dev/null
804 exec_prefix=NONE
805 no_create=
806 no_recursion=
807 prefix=NONE
808 program_prefix=NONE
809 program_suffix=NONE
810 program_transform_name=s,x,x,
811 silent=
812 site=
813 srcdir=
814 verbose=
815 x_includes=NONE
816 x_libraries=NONE
817
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir='${exec_prefix}/bin'
825 sbindir='${exec_prefix}/sbin'
826 libexecdir='${exec_prefix}/libexec'
827 datarootdir='${prefix}/share'
828 datadir='${datarootdir}'
829 sysconfdir='${prefix}/etc'
830 sharedstatedir='${prefix}/com'
831 localstatedir='${prefix}/var'
832 runstatedir='${localstatedir}/run'
833 includedir='${prefix}/include'
834 oldincludedir='/usr/include'
835 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
836 infodir='${datarootdir}/info'
837 htmldir='${docdir}'
838 dvidir='${docdir}'
839 pdfdir='${docdir}'
840 psdir='${docdir}'
841 libdir='${exec_prefix}/lib'
842 localedir='${datarootdir}/locale'
843 mandir='${datarootdir}/man'
844
845 ac_prev=
846 ac_dashdash=
847 for ac_option
848 do
849 # If the previous option needs an argument, assign it.
850 if test -n "$ac_prev"; then
851 eval $ac_prev=\$ac_option
852 ac_prev=
853 continue
854 fi
855
856 case $ac_option in
857 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 *=) ac_optarg= ;;
859 *) ac_optarg=yes ;;
860 esac
861
862 # Accept the important Cygnus configure options, so we can diagnose typos.
863
864 case $ac_dashdash$ac_option in
865 --)
866 ac_dashdash=yes ;;
867
868 -bindir | --bindir | --bindi | --bind | --bin | --bi)
869 ac_prev=bindir ;;
870 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
871 bindir=$ac_optarg ;;
872
873 -build | --build | --buil | --bui | --bu)
874 ac_prev=build_alias ;;
875 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
876 build_alias=$ac_optarg ;;
877
878 -cache-file | --cache-file | --cache-fil | --cache-fi \
879 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
880 ac_prev=cache_file ;;
881 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
882 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
883 cache_file=$ac_optarg ;;
884
885 --config-cache | -C)
886 cache_file=config.cache ;;
887
888 -datadir | --datadir | --datadi | --datad)
889 ac_prev=datadir ;;
890 -datadir=* | --datadir=* | --datadi=* | --datad=*)
891 datadir=$ac_optarg ;;
892
893 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
894 | --dataroo | --dataro | --datar)
895 ac_prev=datarootdir ;;
896 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
897 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
898 datarootdir=$ac_optarg ;;
899
900 -disable-* | --disable-*)
901 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
904 as_fn_error $? "invalid feature name: $ac_useropt"
905 ac_useropt_orig=$ac_useropt
906 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
908 *"
909 "enable_$ac_useropt"
910 "*) ;;
911 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
912 ac_unrecognized_sep=', ';;
913 esac
914 eval enable_$ac_useropt=no ;;
915
916 -docdir | --docdir | --docdi | --doc | --do)
917 ac_prev=docdir ;;
918 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
919 docdir=$ac_optarg ;;
920
921 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
922 ac_prev=dvidir ;;
923 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
924 dvidir=$ac_optarg ;;
925
926 -enable-* | --enable-*)
927 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928 # Reject names that are not valid shell variable names.
929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
930 as_fn_error $? "invalid feature name: $ac_useropt"
931 ac_useropt_orig=$ac_useropt
932 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933 case $ac_user_opts in
934 *"
935 "enable_$ac_useropt"
936 "*) ;;
937 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
938 ac_unrecognized_sep=', ';;
939 esac
940 eval enable_$ac_useropt=\$ac_optarg ;;
941
942 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
943 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
944 | --exec | --exe | --ex)
945 ac_prev=exec_prefix ;;
946 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
947 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
948 | --exec=* | --exe=* | --ex=*)
949 exec_prefix=$ac_optarg ;;
950
951 -gas | --gas | --ga | --g)
952 # Obsolete; use --with-gas.
953 with_gas=yes ;;
954
955 -help | --help | --hel | --he | -h)
956 ac_init_help=long ;;
957 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
958 ac_init_help=recursive ;;
959 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
960 ac_init_help=short ;;
961
962 -host | --host | --hos | --ho)
963 ac_prev=host_alias ;;
964 -host=* | --host=* | --hos=* | --ho=*)
965 host_alias=$ac_optarg ;;
966
967 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
968 ac_prev=htmldir ;;
969 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
970 | --ht=*)
971 htmldir=$ac_optarg ;;
972
973 -includedir | --includedir | --includedi | --included | --include \
974 | --includ | --inclu | --incl | --inc)
975 ac_prev=includedir ;;
976 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
977 | --includ=* | --inclu=* | --incl=* | --inc=*)
978 includedir=$ac_optarg ;;
979
980 -infodir | --infodir | --infodi | --infod | --info | --inf)
981 ac_prev=infodir ;;
982 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
983 infodir=$ac_optarg ;;
984
985 -libdir | --libdir | --libdi | --libd)
986 ac_prev=libdir ;;
987 -libdir=* | --libdir=* | --libdi=* | --libd=*)
988 libdir=$ac_optarg ;;
989
990 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
991 | --libexe | --libex | --libe)
992 ac_prev=libexecdir ;;
993 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
994 | --libexe=* | --libex=* | --libe=*)
995 libexecdir=$ac_optarg ;;
996
997 -localedir | --localedir | --localedi | --localed | --locale)
998 ac_prev=localedir ;;
999 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1000 localedir=$ac_optarg ;;
1001
1002 -localstatedir | --localstatedir | --localstatedi | --localstated \
1003 | --localstate | --localstat | --localsta | --localst | --locals)
1004 ac_prev=localstatedir ;;
1005 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1006 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1007 localstatedir=$ac_optarg ;;
1008
1009 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1010 ac_prev=mandir ;;
1011 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1012 mandir=$ac_optarg ;;
1013
1014 -nfp | --nfp | --nf)
1015 # Obsolete; use --without-fp.
1016 with_fp=no ;;
1017
1018 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1019 | --no-cr | --no-c | -n)
1020 no_create=yes ;;
1021
1022 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1023 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1024 no_recursion=yes ;;
1025
1026 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1027 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1028 | --oldin | --oldi | --old | --ol | --o)
1029 ac_prev=oldincludedir ;;
1030 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1031 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1032 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1033 oldincludedir=$ac_optarg ;;
1034
1035 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1036 ac_prev=prefix ;;
1037 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1038 prefix=$ac_optarg ;;
1039
1040 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1041 | --program-pre | --program-pr | --program-p)
1042 ac_prev=program_prefix ;;
1043 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1044 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1045 program_prefix=$ac_optarg ;;
1046
1047 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1048 | --program-suf | --program-su | --program-s)
1049 ac_prev=program_suffix ;;
1050 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1051 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1052 program_suffix=$ac_optarg ;;
1053
1054 -program-transform-name | --program-transform-name \
1055 | --program-transform-nam | --program-transform-na \
1056 | --program-transform-n | --program-transform- \
1057 | --program-transform | --program-transfor \
1058 | --program-transfo | --program-transf \
1059 | --program-trans | --program-tran \
1060 | --progr-tra | --program-tr | --program-t)
1061 ac_prev=program_transform_name ;;
1062 -program-transform-name=* | --program-transform-name=* \
1063 | --program-transform-nam=* | --program-transform-na=* \
1064 | --program-transform-n=* | --program-transform-=* \
1065 | --program-transform=* | --program-transfor=* \
1066 | --program-transfo=* | --program-transf=* \
1067 | --program-trans=* | --program-tran=* \
1068 | --progr-tra=* | --program-tr=* | --program-t=*)
1069 program_transform_name=$ac_optarg ;;
1070
1071 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1072 ac_prev=pdfdir ;;
1073 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1074 pdfdir=$ac_optarg ;;
1075
1076 -psdir | --psdir | --psdi | --psd | --ps)
1077 ac_prev=psdir ;;
1078 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1079 psdir=$ac_optarg ;;
1080
1081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1082 | -silent | --silent | --silen | --sile | --sil)
1083 silent=yes ;;
1084
1085 -runstatedir | --runstatedir | --runstatedi | --runstated \
1086 | --runstate | --runstat | --runsta | --runst | --runs \
1087 | --run | --ru | --r)
1088 ac_prev=runstatedir ;;
1089 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1090 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1091 | --run=* | --ru=* | --r=*)
1092 runstatedir=$ac_optarg ;;
1093
1094 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1095 ac_prev=sbindir ;;
1096 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1097 | --sbi=* | --sb=*)
1098 sbindir=$ac_optarg ;;
1099
1100 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1101 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1102 | --sharedst | --shareds | --shared | --share | --shar \
1103 | --sha | --sh)
1104 ac_prev=sharedstatedir ;;
1105 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1106 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1107 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1108 | --sha=* | --sh=*)
1109 sharedstatedir=$ac_optarg ;;
1110
1111 -site | --site | --sit)
1112 ac_prev=site ;;
1113 -site=* | --site=* | --sit=*)
1114 site=$ac_optarg ;;
1115
1116 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1117 ac_prev=srcdir ;;
1118 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1119 srcdir=$ac_optarg ;;
1120
1121 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1122 | --syscon | --sysco | --sysc | --sys | --sy)
1123 ac_prev=sysconfdir ;;
1124 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1125 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1126 sysconfdir=$ac_optarg ;;
1127
1128 -target | --target | --targe | --targ | --tar | --ta | --t)
1129 ac_prev=target_alias ;;
1130 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1131 target_alias=$ac_optarg ;;
1132
1133 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1134 verbose=yes ;;
1135
1136 -version | --version | --versio | --versi | --vers | -V)
1137 ac_init_version=: ;;
1138
1139 -with-* | --with-*)
1140 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143 as_fn_error $? "invalid package name: $ac_useropt"
1144 ac_useropt_orig=$ac_useropt
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1147 *"
1148 "with_$ac_useropt"
1149 "*) ;;
1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1151 ac_unrecognized_sep=', ';;
1152 esac
1153 eval with_$ac_useropt=\$ac_optarg ;;
1154
1155 -without-* | --without-*)
1156 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1159 as_fn_error $? "invalid package name: $ac_useropt"
1160 ac_useropt_orig=$ac_useropt
1161 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162 case $ac_user_opts in
1163 *"
1164 "with_$ac_useropt"
1165 "*) ;;
1166 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1167 ac_unrecognized_sep=', ';;
1168 esac
1169 eval with_$ac_useropt=no ;;
1170
1171 --x)
1172 # Obsolete; use --with-x.
1173 with_x=yes ;;
1174
1175 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1176 | --x-incl | --x-inc | --x-in | --x-i)
1177 ac_prev=x_includes ;;
1178 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1179 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1180 x_includes=$ac_optarg ;;
1181
1182 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1183 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1184 ac_prev=x_libraries ;;
1185 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1186 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1187 x_libraries=$ac_optarg ;;
1188
1189 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1190 Try \`$0 --help' for more information"
1191 ;;
1192
1193 *=*)
1194 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1195 # Reject names that are not valid shell variable names.
1196 case $ac_envvar in #(
1197 '' | [0-9]* | *[!_$as_cr_alnum]* )
1198 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1199 esac
1200 eval $ac_envvar=\$ac_optarg
1201 export $ac_envvar ;;
1202
1203 *)
1204 # FIXME: should be removed in autoconf 3.0.
1205 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1206 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1207 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1208 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1209 ;;
1210
1211 esac
1212 done
1213
1214 if test -n "$ac_prev"; then
1215 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1216 as_fn_error $? "missing argument to $ac_option"
1217 fi
1218
1219 if test -n "$ac_unrecognized_opts"; then
1220 case $enable_option_checking in
1221 no) ;;
1222 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1223 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1224 esac
1225 fi
1226
1227 # Check all directory arguments for consistency.
1228 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231 libdir localedir mandir runstatedir
1232 do
1233 eval ac_val=\$$ac_var
1234 # Remove trailing slashes.
1235 case $ac_val in
1236 */ )
1237 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1238 eval $ac_var=\$ac_val;;
1239 esac
1240 # Be sure to have absolute directory names.
1241 case $ac_val in
1242 [\\/$]* | ?:[\\/]* ) continue;;
1243 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1244 esac
1245 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1246 done
1247
1248 # There might be people who depend on the old broken behavior: `$host'
1249 # used to hold the argument of --host etc.
1250 # FIXME: To remove some day.
1251 build=$build_alias
1252 host=$host_alias
1253 target=$target_alias
1254
1255 # FIXME: To remove some day.
1256 if test "x$host_alias" != x; then
1257 if test "x$build_alias" = x; then
1258 cross_compiling=maybe
1259 elif test "x$build_alias" != "x$host_alias"; then
1260 cross_compiling=yes
1261 fi
1262 fi
1263
1264 ac_tool_prefix=
1265 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1266
1267 test "$silent" = yes && exec 6>/dev/null
1268
1269
1270 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1271 ac_ls_di=`ls -di .` &&
1272 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1273 as_fn_error $? "working directory cannot be determined"
1274 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1275 as_fn_error $? "pwd does not report name of working directory"
1276
1277
1278 # Find the source files, if location was not specified.
1279 if test -z "$srcdir"; then
1280 ac_srcdir_defaulted=yes
1281 # Try the directory containing this script, then the parent directory.
1282 ac_confdir=`$as_dirname -- "$as_myself" ||
1283 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1284 X"$as_myself" : 'X\(//\)[^/]' \| \
1285 X"$as_myself" : 'X\(//\)$' \| \
1286 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1287 $as_echo X"$as_myself" |
1288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1289 s//\1/
1290 q
1291 }
1292 /^X\(\/\/\)[^/].*/{
1293 s//\1/
1294 q
1295 }
1296 /^X\(\/\/\)$/{
1297 s//\1/
1298 q
1299 }
1300 /^X\(\/\).*/{
1301 s//\1/
1302 q
1303 }
1304 s/.*/./; q'`
1305 srcdir=$ac_confdir
1306 if test ! -r "$srcdir/$ac_unique_file"; then
1307 srcdir=..
1308 fi
1309 else
1310 ac_srcdir_defaulted=no
1311 fi
1312 if test ! -r "$srcdir/$ac_unique_file"; then
1313 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1314 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1315 fi
1316 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1317 ac_abs_confdir=`(
1318 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1319 pwd)`
1320 # When building in place, set srcdir=.
1321 if test "$ac_abs_confdir" = "$ac_pwd"; then
1322 srcdir=.
1323 fi
1324 # Remove unnecessary trailing slashes from srcdir.
1325 # Double slashes in file names in object file debugging info
1326 # mess up M-x gdb in Emacs.
1327 case $srcdir in
1328 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1329 esac
1330 for ac_var in $ac_precious_vars; do
1331 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1332 eval ac_env_${ac_var}_value=\$${ac_var}
1333 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1334 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1335 done
1336
1337 #
1338 # Report the --help message.
1339 #
1340 if test "$ac_init_help" = "long"; then
1341 # Omit some internal or obsolete options to make the list less imposing.
1342 # This message is too long to be a string in the A/UX 3.1 sh.
1343 cat <<_ACEOF
1344 \`configure' configures gvpe 3.1 to adapt to many kinds of systems.
1345
1346 Usage: $0 [OPTION]... [VAR=VALUE]...
1347
1348 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1349 VAR=VALUE. See below for descriptions of some of the useful variables.
1350
1351 Defaults for the options are specified in brackets.
1352
1353 Configuration:
1354 -h, --help display this help and exit
1355 --help=short display options specific to this package
1356 --help=recursive display the short help of all the included packages
1357 -V, --version display version information and exit
1358 -q, --quiet, --silent do not print \`checking ...' messages
1359 --cache-file=FILE cache test results in FILE [disabled]
1360 -C, --config-cache alias for \`--cache-file=config.cache'
1361 -n, --no-create do not create output files
1362 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1363
1364 Installation directories:
1365 --prefix=PREFIX install architecture-independent files in PREFIX
1366 [$ac_default_prefix]
1367 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1368 [PREFIX]
1369
1370 By default, \`make install' will install all the files in
1371 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1372 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1373 for instance \`--prefix=\$HOME'.
1374
1375 For better control, use the options below.
1376
1377 Fine tuning of the installation directories:
1378 --bindir=DIR user executables [EPREFIX/bin]
1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1385 --libdir=DIR object code libraries [EPREFIX/lib]
1386 --includedir=DIR C header files [PREFIX/include]
1387 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1390 --infodir=DIR info documentation [DATAROOTDIR/info]
1391 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1392 --mandir=DIR man documentation [DATAROOTDIR/man]
1393 --docdir=DIR documentation root [DATAROOTDIR/doc/gvpe]
1394 --htmldir=DIR html documentation [DOCDIR]
1395 --dvidir=DIR dvi documentation [DOCDIR]
1396 --pdfdir=DIR pdf documentation [DOCDIR]
1397 --psdir=DIR ps documentation [DOCDIR]
1398 _ACEOF
1399
1400 cat <<\_ACEOF
1401
1402 Program names:
1403 --program-prefix=PREFIX prepend PREFIX to installed program names
1404 --program-suffix=SUFFIX append SUFFIX to installed program names
1405 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1406
1407 System types:
1408 --build=BUILD configure for building on BUILD [guessed]
1409 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1410 --target=TARGET configure for building compilers for TARGET [HOST]
1411 _ACEOF
1412 fi
1413
1414 if test -n "$ac_init_help"; then
1415 case $ac_init_help in
1416 short | recursive ) echo "Configuration of gvpe 3.1:";;
1417 esac
1418 cat <<\_ACEOF
1419
1420 Optional Features:
1421 --disable-option-checking ignore unrecognized --enable/--with options
1422 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1423 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1424 --enable-maintainer-mode enable make rules and dependencies not useful
1425 (and sometimes confusing) to the casual installer
1426 --disable-dependency-tracking Speeds up one-time builds
1427 --enable-dependency-tracking Do not reject slow dependency extractors
1428 --disable-rpath do not hardcode runtime library paths
1429 --disable-nls do not use Native Language Support
1430 --enable-iftype=TYPE/SUBTYPE
1431 Use kernel/net device interface TYPE/SUBTYPE.
1432 Working combinations are (see doc/gvpe.osdep.5.pod):
1433 "native/linux" "tincd/linux" "tincd/netbsd"
1434 "tincd/freebsd" "tincd/openbsd" "native/darwin"
1435 "tincd/darwin" "native/cygwin"; Untested
1436 combinations are: "tincd/bsd" "tincd/solaris"
1437 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
1438 Broken combinations are: "tincd/cygwin"; The default
1439 is to autodetect.
1440 --enable-threads try to use threads for long-running asynchronous
1441 operations (default enabled).
1442 --enable-static-daemon enable statically linked daemon.
1443 --disable-icmp enable icmp protocol support (default enabled).
1444 --disable-tcp enable tcp protocol support (default enabled).
1445 --disable-http-proxy enable http proxy connect support (default enabled).
1446 --enable-dns enable dns tunnel protocol support (default
1447 disabled).
1448 --enable-rsa-length=BITS
1449 use BITS rsa keys (default 3072). Allowed values are
1450 2048-10240.
1451 --enable-hmac-length=BYTES
1452 use a hmac of length BYTES bytes (default 12).
1453 Allowed values are 4, 8, 12, 16.
1454 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500).
1455 Use 9100 for jumbogram support.
1456 --disable-compression Disable compression support.
1457 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128").
1458 Must be one of "aes-128" (rijndael), "aes-192", or
1459 "aes-256".
1460 --enable-hmac-digest=HMAC
1461 Select the HMAC digest algorithm to use (default
1462 "sha1"). Must be one of "sha512", "sha256", "sha1",
1463 "ripemd160", "whirlpool".
1464 --enable-auth-digest=DIGEST
1465 Select the hmac algorithm to use (default "sha512").
1466 Must be one of "sha512", "sha256", "whirlpool".
1467
1468 Optional Packages:
1469 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1470 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1471 --with-gnu-ld assume the C compiler uses GNU ld default=no
1472 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1473 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1474 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
1475 --without-libintl-prefix don't search for libintl in includedir and libdir
1476 --with-kernel=dir give the directory with kernel sources
1477 (default: /usr/src/linux)
1478
1479 Some influential environment variables:
1480 CC C compiler command
1481 CFLAGS C compiler flags
1482 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1483 nonstandard directory <lib dir>
1484 LIBS libraries to pass to the linker, e.g. -l<library>
1485 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1486 you have headers in a nonstandard directory <include dir>
1487 CPP C preprocessor
1488 CXX C++ compiler command
1489 CXXFLAGS C++ compiler flags
1490 CXXCPP C++ preprocessor
1491 PKG_CONFIG path to pkg-config utility
1492 PKG_CONFIG_PATH
1493 directories to add to pkg-config's search path
1494 PKG_CONFIG_LIBDIR
1495 path overriding pkg-config's built-in search path
1496 LIBCRYPTO_CFLAGS
1497 C compiler flags for LIBCRYPTO, overriding pkg-config
1498 LIBCRYPTO_LIBS
1499 linker flags for LIBCRYPTO, overriding pkg-config
1500
1501 Use these variables to override the choices made by `configure' or to help
1502 it to find libraries and programs with nonstandard names/locations.
1503
1504 Report bugs to the package provider.
1505 _ACEOF
1506 ac_status=$?
1507 fi
1508
1509 if test "$ac_init_help" = "recursive"; then
1510 # If there are subdirs, report their specific --help.
1511 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1512 test -d "$ac_dir" ||
1513 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1514 continue
1515 ac_builddir=.
1516
1517 case "$ac_dir" in
1518 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1519 *)
1520 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1521 # A ".." for each directory in $ac_dir_suffix.
1522 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1523 case $ac_top_builddir_sub in
1524 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1525 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1526 esac ;;
1527 esac
1528 ac_abs_top_builddir=$ac_pwd
1529 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1530 # for backward compatibility:
1531 ac_top_builddir=$ac_top_build_prefix
1532
1533 case $srcdir in
1534 .) # We are building in place.
1535 ac_srcdir=.
1536 ac_top_srcdir=$ac_top_builddir_sub
1537 ac_abs_top_srcdir=$ac_pwd ;;
1538 [\\/]* | ?:[\\/]* ) # Absolute name.
1539 ac_srcdir=$srcdir$ac_dir_suffix;
1540 ac_top_srcdir=$srcdir
1541 ac_abs_top_srcdir=$srcdir ;;
1542 *) # Relative name.
1543 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1544 ac_top_srcdir=$ac_top_build_prefix$srcdir
1545 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1546 esac
1547 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1548
1549 cd "$ac_dir" || { ac_status=$?; continue; }
1550 # Check for guested configure.
1551 if test -f "$ac_srcdir/configure.gnu"; then
1552 echo &&
1553 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1554 elif test -f "$ac_srcdir/configure"; then
1555 echo &&
1556 $SHELL "$ac_srcdir/configure" --help=recursive
1557 else
1558 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1559 fi || ac_status=$?
1560 cd "$ac_pwd" || { ac_status=$?; break; }
1561 done
1562 fi
1563
1564 test -n "$ac_init_help" && exit $ac_status
1565 if $ac_init_version; then
1566 cat <<\_ACEOF
1567 gvpe configure 3.1
1568 generated by GNU Autoconf 2.69
1569
1570 Copyright (C) 2012 Free Software Foundation, Inc.
1571 This configure script is free software; the Free Software Foundation
1572 gives unlimited permission to copy, distribute and modify it.
1573 _ACEOF
1574 exit
1575 fi
1576
1577 ## ------------------------ ##
1578 ## Autoconf initialization. ##
1579 ## ------------------------ ##
1580
1581 # ac_fn_c_try_compile LINENO
1582 # --------------------------
1583 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1584 ac_fn_c_try_compile ()
1585 {
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 rm -f conftest.$ac_objext
1588 if { { ac_try="$ac_compile"
1589 case "(($ac_try" in
1590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1591 *) ac_try_echo=$ac_try;;
1592 esac
1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 $as_echo "$ac_try_echo"; } >&5
1595 (eval "$ac_compile") 2>conftest.err
1596 ac_status=$?
1597 if test -s conftest.err; then
1598 grep -v '^ *+' conftest.err >conftest.er1
1599 cat conftest.er1 >&5
1600 mv -f conftest.er1 conftest.err
1601 fi
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; } && {
1604 test -z "$ac_c_werror_flag" ||
1605 test ! -s conftest.err
1606 } && test -s conftest.$ac_objext; then :
1607 ac_retval=0
1608 else
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1611
1612 ac_retval=1
1613 fi
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 as_fn_set_status $ac_retval
1616
1617 } # ac_fn_c_try_compile
1618
1619 # ac_fn_c_try_link LINENO
1620 # -----------------------
1621 # Try to link conftest.$ac_ext, and return whether this succeeded.
1622 ac_fn_c_try_link ()
1623 {
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 rm -f conftest.$ac_objext conftest$ac_exeext
1626 if { { ac_try="$ac_link"
1627 case "(($ac_try" in
1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629 *) ac_try_echo=$ac_try;;
1630 esac
1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 $as_echo "$ac_try_echo"; } >&5
1633 (eval "$ac_link") 2>conftest.err
1634 ac_status=$?
1635 if test -s conftest.err; then
1636 grep -v '^ *+' conftest.err >conftest.er1
1637 cat conftest.er1 >&5
1638 mv -f conftest.er1 conftest.err
1639 fi
1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 test $ac_status = 0; } && {
1642 test -z "$ac_c_werror_flag" ||
1643 test ! -s conftest.err
1644 } && test -s conftest$ac_exeext && {
1645 test "$cross_compiling" = yes ||
1646 test -x conftest$ac_exeext
1647 }; then :
1648 ac_retval=0
1649 else
1650 $as_echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.$ac_ext >&5
1652
1653 ac_retval=1
1654 fi
1655 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1656 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1657 # interfere with the next link command; also delete a directory that is
1658 # left behind by Apple's compiler. We do this before executing the actions.
1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 as_fn_set_status $ac_retval
1662
1663 } # ac_fn_c_try_link
1664
1665 # ac_fn_c_try_cpp LINENO
1666 # ----------------------
1667 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1668 ac_fn_c_try_cpp ()
1669 {
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 if { { ac_try="$ac_cpp conftest.$ac_ext"
1672 case "(($ac_try" in
1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674 *) ac_try_echo=$ac_try;;
1675 esac
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1679 ac_status=$?
1680 if test -s conftest.err; then
1681 grep -v '^ *+' conftest.err >conftest.er1
1682 cat conftest.er1 >&5
1683 mv -f conftest.er1 conftest.err
1684 fi
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; } > conftest.i && {
1687 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1688 test ! -s conftest.err
1689 }; then :
1690 ac_retval=0
1691 else
1692 $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1694
1695 ac_retval=1
1696 fi
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 as_fn_set_status $ac_retval
1699
1700 } # ac_fn_c_try_cpp
1701
1702 # ac_fn_cxx_try_compile LINENO
1703 # ----------------------------
1704 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1705 ac_fn_cxx_try_compile ()
1706 {
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 rm -f conftest.$ac_objext
1709 if { { ac_try="$ac_compile"
1710 case "(($ac_try" in
1711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712 *) ac_try_echo=$ac_try;;
1713 esac
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716 (eval "$ac_compile") 2>conftest.err
1717 ac_status=$?
1718 if test -s conftest.err; then
1719 grep -v '^ *+' conftest.err >conftest.er1
1720 cat conftest.er1 >&5
1721 mv -f conftest.er1 conftest.err
1722 fi
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } && {
1725 test -z "$ac_cxx_werror_flag" ||
1726 test ! -s conftest.err
1727 } && test -s conftest.$ac_objext; then :
1728 ac_retval=0
1729 else
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.$ac_ext >&5
1732
1733 ac_retval=1
1734 fi
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status $ac_retval
1737
1738 } # ac_fn_cxx_try_compile
1739
1740 # ac_fn_cxx_try_cpp LINENO
1741 # ------------------------
1742 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1743 ac_fn_cxx_try_cpp ()
1744 {
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 if { { ac_try="$ac_cpp conftest.$ac_ext"
1747 case "(($ac_try" in
1748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1749 *) ac_try_echo=$ac_try;;
1750 esac
1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1754 ac_status=$?
1755 if test -s conftest.err; then
1756 grep -v '^ *+' conftest.err >conftest.er1
1757 cat conftest.er1 >&5
1758 mv -f conftest.er1 conftest.err
1759 fi
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; } > conftest.i && {
1762 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1763 test ! -s conftest.err
1764 }; then :
1765 ac_retval=0
1766 else
1767 $as_echo "$as_me: failed program was:" >&5
1768 sed 's/^/| /' conftest.$ac_ext >&5
1769
1770 ac_retval=1
1771 fi
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 as_fn_set_status $ac_retval
1774
1775 } # ac_fn_cxx_try_cpp
1776
1777 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1778 # ---------------------------------------------------------
1779 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1780 # the include files in INCLUDES and setting the cache variable VAR
1781 # accordingly.
1782 ac_fn_cxx_check_header_mongrel ()
1783 {
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 if eval \${$3+:} false; then :
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787 $as_echo_n "checking for $2... " >&6; }
1788 if eval \${$3+:} false; then :
1789 $as_echo_n "(cached) " >&6
1790 fi
1791 eval ac_res=\$$3
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1794 else
1795 # Is the header compilable?
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1797 $as_echo_n "checking $2 usability... " >&6; }
1798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h. */
1800 $4
1801 #include <$2>
1802 _ACEOF
1803 if ac_fn_cxx_try_compile "$LINENO"; then :
1804 ac_header_compiler=yes
1805 else
1806 ac_header_compiler=no
1807 fi
1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1810 $as_echo "$ac_header_compiler" >&6; }
1811
1812 # Is the header present?
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1814 $as_echo_n "checking $2 presence... " >&6; }
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1817 #include <$2>
1818 _ACEOF
1819 if ac_fn_cxx_try_cpp "$LINENO"; then :
1820 ac_header_preproc=yes
1821 else
1822 ac_header_preproc=no
1823 fi
1824 rm -f conftest.err conftest.i conftest.$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1826 $as_echo "$ac_header_preproc" >&6; }
1827
1828 # So? What about this header?
1829 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1830 yes:no: )
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1832 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1834 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1835 ;;
1836 no:yes:* )
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1838 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1840 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1842 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1844 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1846 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1847 ;;
1848 esac
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1850 $as_echo_n "checking for $2... " >&6; }
1851 if eval \${$3+:} false; then :
1852 $as_echo_n "(cached) " >&6
1853 else
1854 eval "$3=\$ac_header_compiler"
1855 fi
1856 eval ac_res=\$$3
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1859 fi
1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861
1862 } # ac_fn_cxx_check_header_mongrel
1863
1864 # ac_fn_cxx_try_run LINENO
1865 # ------------------------
1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867 # that executables *can* be run.
1868 ac_fn_cxx_try_run ()
1869 {
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 if { { ac_try="$ac_link"
1872 case "(($ac_try" in
1873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874 *) ac_try_echo=$ac_try;;
1875 esac
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_link") 2>&5
1879 ac_status=$?
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1882 { { case "(($ac_try" in
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_try") 2>&5
1889 ac_status=$?
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; }; }; then :
1892 ac_retval=0
1893 else
1894 $as_echo "$as_me: program exited with status $ac_status" >&5
1895 $as_echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.$ac_ext >&5
1897
1898 ac_retval=$ac_status
1899 fi
1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902 as_fn_set_status $ac_retval
1903
1904 } # ac_fn_cxx_try_run
1905
1906 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1907 # ---------------------------------------------------------
1908 # Tests whether HEADER exists and can be compiled using the include files in
1909 # INCLUDES, setting the cache variable VAR accordingly.
1910 ac_fn_cxx_check_header_compile ()
1911 {
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if eval \${$3+:} false; then :
1916 $as_echo_n "(cached) " >&6
1917 else
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1920 $4
1921 #include <$2>
1922 _ACEOF
1923 if ac_fn_cxx_try_compile "$LINENO"; then :
1924 eval "$3=yes"
1925 else
1926 eval "$3=no"
1927 fi
1928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1929 fi
1930 eval ac_res=\$$3
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 $as_echo "$ac_res" >&6; }
1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1934
1935 } # ac_fn_cxx_check_header_compile
1936
1937 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1938 # ---------------------------------------------
1939 # Tests whether TYPE exists after having included INCLUDES, setting cache
1940 # variable VAR accordingly.
1941 ac_fn_cxx_check_type ()
1942 {
1943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1945 $as_echo_n "checking for $2... " >&6; }
1946 if eval \${$3+:} false; then :
1947 $as_echo_n "(cached) " >&6
1948 else
1949 eval "$3=no"
1950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1951 /* end confdefs.h. */
1952 $4
1953 int
1954 main ()
1955 {
1956 if (sizeof ($2))
1957 return 0;
1958 ;
1959 return 0;
1960 }
1961 _ACEOF
1962 if ac_fn_cxx_try_compile "$LINENO"; then :
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1965 $4
1966 int
1967 main ()
1968 {
1969 if (sizeof (($2)))
1970 return 0;
1971 ;
1972 return 0;
1973 }
1974 _ACEOF
1975 if ac_fn_cxx_try_compile "$LINENO"; then :
1976
1977 else
1978 eval "$3=yes"
1979 fi
1980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1981 fi
1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1983 fi
1984 eval ac_res=\$$3
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986 $as_echo "$ac_res" >&6; }
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988
1989 } # ac_fn_cxx_check_type
1990
1991 # ac_fn_c_try_run LINENO
1992 # ----------------------
1993 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1994 # that executables *can* be run.
1995 ac_fn_c_try_run ()
1996 {
1997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998 if { { ac_try="$ac_link"
1999 case "(($ac_try" in
2000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2001 *) ac_try_echo=$ac_try;;
2002 esac
2003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2004 $as_echo "$ac_try_echo"; } >&5
2005 (eval "$ac_link") 2>&5
2006 ac_status=$?
2007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2009 { { case "(($ac_try" in
2010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2011 *) ac_try_echo=$ac_try;;
2012 esac
2013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2014 $as_echo "$ac_try_echo"; } >&5
2015 (eval "$ac_try") 2>&5
2016 ac_status=$?
2017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2018 test $ac_status = 0; }; }; then :
2019 ac_retval=0
2020 else
2021 $as_echo "$as_me: program exited with status $ac_status" >&5
2022 $as_echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.$ac_ext >&5
2024
2025 ac_retval=$ac_status
2026 fi
2027 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029 as_fn_set_status $ac_retval
2030
2031 } # ac_fn_c_try_run
2032
2033 # ac_fn_c_check_func LINENO FUNC VAR
2034 # ----------------------------------
2035 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2036 ac_fn_c_check_func ()
2037 {
2038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040 $as_echo_n "checking for $2... " >&6; }
2041 if eval \${$3+:} false; then :
2042 $as_echo_n "(cached) " >&6
2043 else
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2046 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2048 #define $2 innocuous_$2
2049
2050 /* System header to define __stub macros and hopefully few prototypes,
2051 which can conflict with char $2 (); below.
2052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2053 <limits.h> exists even on freestanding compilers. */
2054
2055 #ifdef __STDC__
2056 # include <limits.h>
2057 #else
2058 # include <assert.h>
2059 #endif
2060
2061 #undef $2
2062
2063 /* Override any GCC internal prototype to avoid an error.
2064 Use char because int might match the return type of a GCC
2065 builtin and then its argument prototype would still apply. */
2066 #ifdef __cplusplus
2067 extern "C"
2068 #endif
2069 char $2 ();
2070 /* The GNU C library defines this for functions which it implements
2071 to always fail with ENOSYS. Some functions are actually named
2072 something starting with __ and the normal name is an alias. */
2073 #if defined __stub_$2 || defined __stub___$2
2074 choke me
2075 #endif
2076
2077 int
2078 main ()
2079 {
2080 return $2 ();
2081 ;
2082 return 0;
2083 }
2084 _ACEOF
2085 if ac_fn_c_try_link "$LINENO"; then :
2086 eval "$3=yes"
2087 else
2088 eval "$3=no"
2089 fi
2090 rm -f core conftest.err conftest.$ac_objext \
2091 conftest$ac_exeext conftest.$ac_ext
2092 fi
2093 eval ac_res=\$$3
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095 $as_echo "$ac_res" >&6; }
2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2097
2098 } # ac_fn_c_check_func
2099
2100 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2101 # -------------------------------------------------------
2102 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2103 # the include files in INCLUDES and setting the cache variable VAR
2104 # accordingly.
2105 ac_fn_c_check_header_mongrel ()
2106 {
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 if eval \${$3+:} false; then :
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2110 $as_echo_n "checking for $2... " >&6; }
2111 if eval \${$3+:} false; then :
2112 $as_echo_n "(cached) " >&6
2113 fi
2114 eval ac_res=\$$3
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116 $as_echo "$ac_res" >&6; }
2117 else
2118 # Is the header compilable?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2120 $as_echo_n "checking $2 usability... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2123 $4
2124 #include <$2>
2125 _ACEOF
2126 if ac_fn_c_try_compile "$LINENO"; then :
2127 ac_header_compiler=yes
2128 else
2129 ac_header_compiler=no
2130 fi
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2133 $as_echo "$ac_header_compiler" >&6; }
2134
2135 # Is the header present?
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2137 $as_echo_n "checking $2 presence... " >&6; }
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2140 #include <$2>
2141 _ACEOF
2142 if ac_fn_c_try_cpp "$LINENO"; then :
2143 ac_header_preproc=yes
2144 else
2145 ac_header_preproc=no
2146 fi
2147 rm -f conftest.err conftest.i conftest.$ac_ext
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2149 $as_echo "$ac_header_preproc" >&6; }
2150
2151 # So? What about this header?
2152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2153 yes:no: )
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2155 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2158 ;;
2159 no:yes:* )
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2161 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2163 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2165 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2167 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2169 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2170 ;;
2171 esac
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if eval \${$3+:} false; then :
2175 $as_echo_n "(cached) " >&6
2176 else
2177 eval "$3=\$ac_header_compiler"
2178 fi
2179 eval ac_res=\$$3
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2181 $as_echo "$ac_res" >&6; }
2182 fi
2183 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2184
2185 } # ac_fn_c_check_header_mongrel
2186
2187 # ac_fn_cxx_try_link LINENO
2188 # -------------------------
2189 # Try to link conftest.$ac_ext, and return whether this succeeded.
2190 ac_fn_cxx_try_link ()
2191 {
2192 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2193 rm -f conftest.$ac_objext conftest$ac_exeext
2194 if { { ac_try="$ac_link"
2195 case "(($ac_try" in
2196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2197 *) ac_try_echo=$ac_try;;
2198 esac
2199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2200 $as_echo "$ac_try_echo"; } >&5
2201 (eval "$ac_link") 2>conftest.err
2202 ac_status=$?
2203 if test -s conftest.err; then
2204 grep -v '^ *+' conftest.err >conftest.er1
2205 cat conftest.er1 >&5
2206 mv -f conftest.er1 conftest.err
2207 fi
2208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2209 test $ac_status = 0; } && {
2210 test -z "$ac_cxx_werror_flag" ||
2211 test ! -s conftest.err
2212 } && test -s conftest$ac_exeext && {
2213 test "$cross_compiling" = yes ||
2214 test -x conftest$ac_exeext
2215 }; then :
2216 ac_retval=0
2217 else
2218 $as_echo "$as_me: failed program was:" >&5
2219 sed 's/^/| /' conftest.$ac_ext >&5
2220
2221 ac_retval=1
2222 fi
2223 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2224 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2225 # interfere with the next link command; also delete a directory that is
2226 # left behind by Apple's compiler. We do this before executing the actions.
2227 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2228 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2229 as_fn_set_status $ac_retval
2230
2231 } # ac_fn_cxx_try_link
2232 cat >config.log <<_ACEOF
2233 This file contains any messages produced by compilers while
2234 running configure, to aid debugging if configure makes a mistake.
2235
2236 It was created by gvpe $as_me 3.1, which was
2237 generated by GNU Autoconf 2.69. Invocation command line was
2238
2239 $ $0 $@
2240
2241 _ACEOF
2242 exec 5>>config.log
2243 {
2244 cat <<_ASUNAME
2245 ## --------- ##
2246 ## Platform. ##
2247 ## --------- ##
2248
2249 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2250 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2251 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2252 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2253 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2254
2255 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2256 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2257
2258 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2259 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2260 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2261 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2262 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2263 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2264 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2265
2266 _ASUNAME
2267
2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 for as_dir in $PATH
2270 do
2271 IFS=$as_save_IFS
2272 test -z "$as_dir" && as_dir=.
2273 $as_echo "PATH: $as_dir"
2274 done
2275 IFS=$as_save_IFS
2276
2277 } >&5
2278
2279 cat >&5 <<_ACEOF
2280
2281
2282 ## ----------- ##
2283 ## Core tests. ##
2284 ## ----------- ##
2285
2286 _ACEOF
2287
2288
2289 # Keep a trace of the command line.
2290 # Strip out --no-create and --no-recursion so they do not pile up.
2291 # Strip out --silent because we don't want to record it for future runs.
2292 # Also quote any args containing shell meta-characters.
2293 # Make two passes to allow for proper duplicate-argument suppression.
2294 ac_configure_args=
2295 ac_configure_args0=
2296 ac_configure_args1=
2297 ac_must_keep_next=false
2298 for ac_pass in 1 2
2299 do
2300 for ac_arg
2301 do
2302 case $ac_arg in
2303 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2304 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2305 | -silent | --silent | --silen | --sile | --sil)
2306 continue ;;
2307 *\'*)
2308 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2309 esac
2310 case $ac_pass in
2311 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2312 2)
2313 as_fn_append ac_configure_args1 " '$ac_arg'"
2314 if test $ac_must_keep_next = true; then
2315 ac_must_keep_next=false # Got value, back to normal.
2316 else
2317 case $ac_arg in
2318 *=* | --config-cache | -C | -disable-* | --disable-* \
2319 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2320 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2321 | -with-* | --with-* | -without-* | --without-* | --x)
2322 case "$ac_configure_args0 " in
2323 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2324 esac
2325 ;;
2326 -* ) ac_must_keep_next=true ;;
2327 esac
2328 fi
2329 as_fn_append ac_configure_args " '$ac_arg'"
2330 ;;
2331 esac
2332 done
2333 done
2334 { ac_configure_args0=; unset ac_configure_args0;}
2335 { ac_configure_args1=; unset ac_configure_args1;}
2336
2337 # When interrupted or exit'd, cleanup temporary files, and complete
2338 # config.log. We remove comments because anyway the quotes in there
2339 # would cause problems or look ugly.
2340 # WARNING: Use '\'' to represent an apostrophe within the trap.
2341 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2342 trap 'exit_status=$?
2343 # Save into config.log some information that might help in debugging.
2344 {
2345 echo
2346
2347 $as_echo "## ---------------- ##
2348 ## Cache variables. ##
2349 ## ---------------- ##"
2350 echo
2351 # The following way of writing the cache mishandles newlines in values,
2352 (
2353 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2354 eval ac_val=\$$ac_var
2355 case $ac_val in #(
2356 *${as_nl}*)
2357 case $ac_var in #(
2358 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2359 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2360 esac
2361 case $ac_var in #(
2362 _ | IFS | as_nl) ;; #(
2363 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2364 *) { eval $ac_var=; unset $ac_var;} ;;
2365 esac ;;
2366 esac
2367 done
2368 (set) 2>&1 |
2369 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2370 *${as_nl}ac_space=\ *)
2371 sed -n \
2372 "s/'\''/'\''\\\\'\'''\''/g;
2373 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2374 ;; #(
2375 *)
2376 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2377 ;;
2378 esac |
2379 sort
2380 )
2381 echo
2382
2383 $as_echo "## ----------------- ##
2384 ## Output variables. ##
2385 ## ----------------- ##"
2386 echo
2387 for ac_var in $ac_subst_vars
2388 do
2389 eval ac_val=\$$ac_var
2390 case $ac_val in
2391 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2392 esac
2393 $as_echo "$ac_var='\''$ac_val'\''"
2394 done | sort
2395 echo
2396
2397 if test -n "$ac_subst_files"; then
2398 $as_echo "## ------------------- ##
2399 ## File substitutions. ##
2400 ## ------------------- ##"
2401 echo
2402 for ac_var in $ac_subst_files
2403 do
2404 eval ac_val=\$$ac_var
2405 case $ac_val in
2406 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2407 esac
2408 $as_echo "$ac_var='\''$ac_val'\''"
2409 done | sort
2410 echo
2411 fi
2412
2413 if test -s confdefs.h; then
2414 $as_echo "## ----------- ##
2415 ## confdefs.h. ##
2416 ## ----------- ##"
2417 echo
2418 cat confdefs.h
2419 echo
2420 fi
2421 test "$ac_signal" != 0 &&
2422 $as_echo "$as_me: caught signal $ac_signal"
2423 $as_echo "$as_me: exit $exit_status"
2424 } >&5
2425 rm -f core *.core core.conftest.* &&
2426 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2427 exit $exit_status
2428 ' 0
2429 for ac_signal in 1 2 13 15; do
2430 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2431 done
2432 ac_signal=0
2433
2434 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2435 rm -f -r conftest* confdefs.h
2436
2437 $as_echo "/* confdefs.h */" > confdefs.h
2438
2439 # Predefined preprocessor variables.
2440
2441 cat >>confdefs.h <<_ACEOF
2442 #define PACKAGE_NAME "$PACKAGE_NAME"
2443 _ACEOF
2444
2445 cat >>confdefs.h <<_ACEOF
2446 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2447 _ACEOF
2448
2449 cat >>confdefs.h <<_ACEOF
2450 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2451 _ACEOF
2452
2453 cat >>confdefs.h <<_ACEOF
2454 #define PACKAGE_STRING "$PACKAGE_STRING"
2455 _ACEOF
2456
2457 cat >>confdefs.h <<_ACEOF
2458 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2459 _ACEOF
2460
2461 cat >>confdefs.h <<_ACEOF
2462 #define PACKAGE_URL "$PACKAGE_URL"
2463 _ACEOF
2464
2465
2466 # Let the site file select an alternate cache file if it wants to.
2467 # Prefer an explicitly selected file to automatically selected ones.
2468 ac_site_file1=NONE
2469 ac_site_file2=NONE
2470 if test -n "$CONFIG_SITE"; then
2471 # We do not want a PATH search for config.site.
2472 case $CONFIG_SITE in #((
2473 -*) ac_site_file1=./$CONFIG_SITE;;
2474 */*) ac_site_file1=$CONFIG_SITE;;
2475 *) ac_site_file1=./$CONFIG_SITE;;
2476 esac
2477 elif test "x$prefix" != xNONE; then
2478 ac_site_file1=$prefix/share/config.site
2479 ac_site_file2=$prefix/etc/config.site
2480 else
2481 ac_site_file1=$ac_default_prefix/share/config.site
2482 ac_site_file2=$ac_default_prefix/etc/config.site
2483 fi
2484 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2485 do
2486 test "x$ac_site_file" = xNONE && continue
2487 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2489 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2490 sed 's/^/| /' "$ac_site_file" >&5
2491 . "$ac_site_file" \
2492 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2494 as_fn_error $? "failed to load site script $ac_site_file
2495 See \`config.log' for more details" "$LINENO" 5; }
2496 fi
2497 done
2498
2499 if test -r "$cache_file"; then
2500 # Some versions of bash will fail to source /dev/null (special files
2501 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2502 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2504 $as_echo "$as_me: loading cache $cache_file" >&6;}
2505 case $cache_file in
2506 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2507 *) . "./$cache_file";;
2508 esac
2509 fi
2510 else
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2512 $as_echo "$as_me: creating cache $cache_file" >&6;}
2513 >$cache_file
2514 fi
2515
2516 # Check that the precious variables saved in the cache have kept the same
2517 # value.
2518 ac_cache_corrupted=false
2519 for ac_var in $ac_precious_vars; do
2520 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2521 eval ac_new_set=\$ac_env_${ac_var}_set
2522 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2523 eval ac_new_val=\$ac_env_${ac_var}_value
2524 case $ac_old_set,$ac_new_set in
2525 set,)
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2527 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2528 ac_cache_corrupted=: ;;
2529 ,set)
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2531 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2532 ac_cache_corrupted=: ;;
2533 ,);;
2534 *)
2535 if test "x$ac_old_val" != "x$ac_new_val"; then
2536 # differences in whitespace do not lead to failure.
2537 ac_old_val_w=`echo x $ac_old_val`
2538 ac_new_val_w=`echo x $ac_new_val`
2539 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2541 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2542 ac_cache_corrupted=:
2543 else
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2545 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2546 eval $ac_var=\$ac_old_val
2547 fi
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2549 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2551 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2552 fi;;
2553 esac
2554 # Pass precious variables to config.status.
2555 if test "$ac_new_set" = set; then
2556 case $ac_new_val in
2557 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2558 *) ac_arg=$ac_var=$ac_new_val ;;
2559 esac
2560 case " $ac_configure_args " in
2561 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2562 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2563 esac
2564 fi
2565 done
2566 if $ac_cache_corrupted; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2570 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2571 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2572 fi
2573 ## -------------------- ##
2574 ## Main body of script. ##
2575 ## -------------------- ##
2576
2577 ac_ext=c
2578 ac_cpp='$CPP $CPPFLAGS'
2579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2582
2583
2584
2585 ac_aux_dir=
2586 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2587 if test -f "$ac_dir/install-sh"; then
2588 ac_aux_dir=$ac_dir
2589 ac_install_sh="$ac_aux_dir/install-sh -c"
2590 break
2591 elif test -f "$ac_dir/install.sh"; then
2592 ac_aux_dir=$ac_dir
2593 ac_install_sh="$ac_aux_dir/install.sh -c"
2594 break
2595 elif test -f "$ac_dir/shtool"; then
2596 ac_aux_dir=$ac_dir
2597 ac_install_sh="$ac_aux_dir/shtool install -c"
2598 break
2599 fi
2600 done
2601 if test -z "$ac_aux_dir"; then
2602 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2603 fi
2604
2605 # These three variables are undocumented and unsupported,
2606 # and are intended to be withdrawn in a future Autoconf release.
2607 # They can cause serious problems if a builder's source tree is in a directory
2608 # whose full name contains unusual characters.
2609 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2610 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2611 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2612
2613
2614 # Make sure we can run config.sub.
2615 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2616 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2617
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2619 $as_echo_n "checking build system type... " >&6; }
2620 if ${ac_cv_build+:} false; then :
2621 $as_echo_n "(cached) " >&6
2622 else
2623 ac_build_alias=$build_alias
2624 test "x$ac_build_alias" = x &&
2625 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2626 test "x$ac_build_alias" = x &&
2627 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2628 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2629 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2630
2631 fi
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2633 $as_echo "$ac_cv_build" >&6; }
2634 case $ac_cv_build in
2635 *-*-*) ;;
2636 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2637 esac
2638 build=$ac_cv_build
2639 ac_save_IFS=$IFS; IFS='-'
2640 set x $ac_cv_build
2641 shift
2642 build_cpu=$1
2643 build_vendor=$2
2644 shift; shift
2645 # Remember, the first character of IFS is used to create $*,
2646 # except with old shells:
2647 build_os=$*
2648 IFS=$ac_save_IFS
2649 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2650
2651
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2653 $as_echo_n "checking host system type... " >&6; }
2654 if ${ac_cv_host+:} false; then :
2655 $as_echo_n "(cached) " >&6
2656 else
2657 if test "x$host_alias" = x; then
2658 ac_cv_host=$ac_cv_build
2659 else
2660 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2661 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2662 fi
2663
2664 fi
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2666 $as_echo "$ac_cv_host" >&6; }
2667 case $ac_cv_host in
2668 *-*-*) ;;
2669 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2670 esac
2671 host=$ac_cv_host
2672 ac_save_IFS=$IFS; IFS='-'
2673 set x $ac_cv_host
2674 shift
2675 host_cpu=$1
2676 host_vendor=$2
2677 shift; shift
2678 # Remember, the first character of IFS is used to create $*,
2679 # except with old shells:
2680 host_os=$*
2681 IFS=$ac_save_IFS
2682 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2683
2684
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2686 $as_echo_n "checking target system type... " >&6; }
2687 if ${ac_cv_target+:} false; then :
2688 $as_echo_n "(cached) " >&6
2689 else
2690 if test "x$target_alias" = x; then
2691 ac_cv_target=$ac_cv_host
2692 else
2693 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2694 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2695 fi
2696
2697 fi
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2699 $as_echo "$ac_cv_target" >&6; }
2700 case $ac_cv_target in
2701 *-*-*) ;;
2702 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2703 esac
2704 target=$ac_cv_target
2705 ac_save_IFS=$IFS; IFS='-'
2706 set x $ac_cv_target
2707 shift
2708 target_cpu=$1
2709 target_vendor=$2
2710 shift; shift
2711 # Remember, the first character of IFS is used to create $*,
2712 # except with old shells:
2713 target_os=$*
2714 IFS=$ac_save_IFS
2715 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2716
2717
2718 # The aliases save the names the user supplied, while $host etc.
2719 # will get canonicalized.
2720 test -n "$target_alias" &&
2721 test "$program_prefix$program_suffix$program_transform_name" = \
2722 NONENONEs,x,x, &&
2723 program_prefix=${target_alias}-
2724 am__api_version="1.7"
2725 # Find a good install program. We prefer a C program (faster),
2726 # so one script is as good as another. But avoid the broken or
2727 # incompatible versions:
2728 # SysV /etc/install, /usr/sbin/install
2729 # SunOS /usr/etc/install
2730 # IRIX /sbin/install
2731 # AIX /bin/install
2732 # AmigaOS /C/install, which installs bootblocks on floppy discs
2733 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2734 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2735 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2736 # OS/2's system install, which has a completely different semantic
2737 # ./install, which can be erroneously created by make from ./install.sh.
2738 # Reject install programs that cannot install multiple files.
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2740 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2741 if test -z "$INSTALL"; then
2742 if ${ac_cv_path_install+:} false; then :
2743 $as_echo_n "(cached) " >&6
2744 else
2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746 for as_dir in $PATH
2747 do
2748 IFS=$as_save_IFS
2749 test -z "$as_dir" && as_dir=.
2750 # Account for people who put trailing slashes in PATH elements.
2751 case $as_dir/ in #((
2752 ./ | .// | /[cC]/* | \
2753 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2754 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2755 /usr/ucb/* ) ;;
2756 *)
2757 # OSF1 and SCO ODT 3.0 have their own names for install.
2758 # Don't use installbsd from OSF since it installs stuff as root
2759 # by default.
2760 for ac_prog in ginstall scoinst install; do
2761 for ac_exec_ext in '' $ac_executable_extensions; do
2762 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2763 if test $ac_prog = install &&
2764 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2765 # AIX install. It has an incompatible calling convention.
2766 :
2767 elif test $ac_prog = install &&
2768 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2769 # program-specific install script used by HP pwplus--don't use.
2770 :
2771 else
2772 rm -rf conftest.one conftest.two conftest.dir
2773 echo one > conftest.one
2774 echo two > conftest.two
2775 mkdir conftest.dir
2776 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2777 test -s conftest.one && test -s conftest.two &&
2778 test -s conftest.dir/conftest.one &&
2779 test -s conftest.dir/conftest.two
2780 then
2781 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2782 break 3
2783 fi
2784 fi
2785 fi
2786 done
2787 done
2788 ;;
2789 esac
2790
2791 done
2792 IFS=$as_save_IFS
2793
2794 rm -rf conftest.one conftest.two conftest.dir
2795
2796 fi
2797 if test "${ac_cv_path_install+set}" = set; then
2798 INSTALL=$ac_cv_path_install
2799 else
2800 # As a last resort, use the slow shell script. Don't cache a
2801 # value for INSTALL within a source directory, because that will
2802 # break other packages using the cache if that directory is
2803 # removed, or if the value is a relative name.
2804 INSTALL=$ac_install_sh
2805 fi
2806 fi
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2808 $as_echo "$INSTALL" >&6; }
2809
2810 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2811 # It thinks the first close brace ends the variable substitution.
2812 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2813
2814 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2815
2816 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2817
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2819 $as_echo_n "checking whether build environment is sane... " >&6; }
2820 # Just in case
2821 sleep 1
2822 echo timestamp > conftest.file
2823 # Do `set' in a subshell so we don't clobber the current shell's
2824 # arguments. Must try -L first in case configure is actually a
2825 # symlink; some systems play weird games with the mod time of symlinks
2826 # (eg FreeBSD returns the mod time of the symlink's containing
2827 # directory).
2828 if (
2829 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2830 if test "$*" = "X"; then
2831 # -L didn't work.
2832 set X `ls -t $srcdir/configure conftest.file`
2833 fi
2834 rm -f conftest.file
2835 if test "$*" != "X $srcdir/configure conftest.file" \
2836 && test "$*" != "X conftest.file $srcdir/configure"; then
2837
2838 # If neither matched, then we have a broken ls. This can happen
2839 # if, for instance, CONFIG_SHELL is bash and it inherits a
2840 # broken ls alias from the environment. This has actually
2841 # happened. Such a system could not be considered "sane".
2842 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2843 alias in your environment" "$LINENO" 5
2844 fi
2845
2846 test "$2" = conftest.file
2847 )
2848 then
2849 # Ok.
2850 :
2851 else
2852 as_fn_error $? "newly created file is older than distributed files!
2853 Check your system clock" "$LINENO" 5
2854 fi
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2856 $as_echo "yes" >&6; }
2857 test "$program_prefix" != NONE &&
2858 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2859 # Use a double $ so make ignores it.
2860 test "$program_suffix" != NONE &&
2861 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2862 # Double any \ or $.
2863 # By default was `s,x,x', remove it if useless.
2864 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2865 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2866
2867
2868 # expand $ac_aux_dir to an absolute path
2869 am_aux_dir=`cd $ac_aux_dir && pwd`
2870
2871 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2872 # Use eval to expand $SHELL
2873 if eval "$MISSING --run true"; then
2874 am_missing_run="$MISSING --run "
2875 else
2876 am_missing_run=
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2878 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2879 fi
2880
2881 for ac_prog in gawk mawk nawk awk
2882 do
2883 # Extract the first word of "$ac_prog", so it can be a program name with args.
2884 set dummy $ac_prog; ac_word=$2
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886 $as_echo_n "checking for $ac_word... " >&6; }
2887 if ${ac_cv_prog_AWK+:} false; then :
2888 $as_echo_n "(cached) " >&6
2889 else
2890 if test -n "$AWK"; then
2891 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2892 else
2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 for as_dir in $PATH
2895 do
2896 IFS=$as_save_IFS
2897 test -z "$as_dir" && as_dir=.
2898 for ac_exec_ext in '' $ac_executable_extensions; do
2899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900 ac_cv_prog_AWK="$ac_prog"
2901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 break 2
2903 fi
2904 done
2905 done
2906 IFS=$as_save_IFS
2907
2908 fi
2909 fi
2910 AWK=$ac_cv_prog_AWK
2911 if test -n "$AWK"; then
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2913 $as_echo "$AWK" >&6; }
2914 else
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916 $as_echo "no" >&6; }
2917 fi
2918
2919
2920 test -n "$AWK" && break
2921 done
2922
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2924 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2925 set x ${MAKE-make}
2926 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2927 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2928 $as_echo_n "(cached) " >&6
2929 else
2930 cat >conftest.make <<\_ACEOF
2931 SHELL = /bin/sh
2932 all:
2933 @echo '@@@%%%=$(MAKE)=@@@%%%'
2934 _ACEOF
2935 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2936 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2937 *@@@%%%=?*=@@@%%%*)
2938 eval ac_cv_prog_make_${ac_make}_set=yes;;
2939 *)
2940 eval ac_cv_prog_make_${ac_make}_set=no;;
2941 esac
2942 rm -f conftest.make
2943 fi
2944 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2946 $as_echo "yes" >&6; }
2947 SET_MAKE=
2948 else
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950 $as_echo "no" >&6; }
2951 SET_MAKE="MAKE=${MAKE-make}"
2952 fi
2953
2954 rm -rf .tst 2>/dev/null
2955 mkdir .tst 2>/dev/null
2956 if test -d .tst; then
2957 am__leading_dot=.
2958 else
2959 am__leading_dot=_
2960 fi
2961 rmdir .tst 2>/dev/null
2962
2963 # test to see if srcdir already configured
2964 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2965 test -f $srcdir/config.status; then
2966 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2967 fi
2968
2969 # test whether we have cygpath
2970 if test -z "$CYGPATH_W"; then
2971 if (cygpath --version) >/dev/null 2>/dev/null; then
2972 CYGPATH_W='cygpath -w'
2973 else
2974 CYGPATH_W=echo
2975 fi
2976 fi
2977
2978
2979 # Define the identity of the package.
2980 PACKAGE='gvpe'
2981 VERSION='3.1'
2982
2983
2984 cat >>confdefs.h <<_ACEOF
2985 #define PACKAGE "$PACKAGE"
2986 _ACEOF
2987
2988
2989 cat >>confdefs.h <<_ACEOF
2990 #define VERSION "$VERSION"
2991 _ACEOF
2992
2993 # Some tools Automake needs.
2994
2995 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2996
2997
2998 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2999
3000
3001 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3002
3003
3004 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3005
3006
3007 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3008
3009
3010 AMTAR=${AMTAR-"${am_missing_run}tar"}
3011
3012 install_sh=${install_sh-"$am_aux_dir/install-sh"}
3013
3014 # Installed binaries are usually stripped using `strip' when the user
3015 # run `make install-strip'. However `strip' might not be the right
3016 # tool to use in cross-compilation environments, therefore Automake
3017 # will honor the `STRIP' environment variable to overrule this program.
3018 if test "$cross_compiling" != no; then
3019 if test -n "$ac_tool_prefix"; then
3020 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3021 set dummy ${ac_tool_prefix}strip; ac_word=$2
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3023 $as_echo_n "checking for $ac_word... " >&6; }
3024 if ${ac_cv_prog_STRIP+:} false; then :
3025 $as_echo_n "(cached) " >&6
3026 else
3027 if test -n "$STRIP"; then
3028 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3029 else
3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 for as_dir in $PATH
3032 do
3033 IFS=$as_save_IFS
3034 test -z "$as_dir" && as_dir=.
3035 for ac_exec_ext in '' $ac_executable_extensions; do
3036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3037 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 break 2
3040 fi
3041 done
3042 done
3043 IFS=$as_save_IFS
3044
3045 fi
3046 fi
3047 STRIP=$ac_cv_prog_STRIP
3048 if test -n "$STRIP"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3050 $as_echo "$STRIP" >&6; }
3051 else
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053 $as_echo "no" >&6; }
3054 fi
3055
3056
3057 fi
3058 if test -z "$ac_cv_prog_STRIP"; then
3059 ac_ct_STRIP=$STRIP
3060 # Extract the first word of "strip", so it can be a program name with args.
3061 set dummy strip; ac_word=$2
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3063 $as_echo_n "checking for $ac_word... " >&6; }
3064 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3065 $as_echo_n "(cached) " >&6
3066 else
3067 if test -n "$ac_ct_STRIP"; then
3068 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3069 else
3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071 for as_dir in $PATH
3072 do
3073 IFS=$as_save_IFS
3074 test -z "$as_dir" && as_dir=.
3075 for ac_exec_ext in '' $ac_executable_extensions; do
3076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_ac_ct_STRIP="strip"
3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3079 break 2
3080 fi
3081 done
3082 done
3083 IFS=$as_save_IFS
3084
3085 fi
3086 fi
3087 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3088 if test -n "$ac_ct_STRIP"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3090 $as_echo "$ac_ct_STRIP" >&6; }
3091 else
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3094 fi
3095
3096 if test "x$ac_ct_STRIP" = x; then
3097 STRIP=":"
3098 else
3099 case $cross_compiling:$ac_tool_warned in
3100 yes:)
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3103 ac_tool_warned=yes ;;
3104 esac
3105 STRIP=$ac_ct_STRIP
3106 fi
3107 else
3108 STRIP="$ac_cv_prog_STRIP"
3109 fi
3110
3111 fi
3112 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3113
3114 # We need awk for the "check" target. The system "awk" is bad on
3115 # some platforms.
3116
3117
3118
3119 ac_config_headers="$ac_config_headers config.h"
3120
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3122 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3123 # Check whether --enable-maintainer-mode was given.
3124 if test "${enable_maintainer_mode+set}" = set; then :
3125 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3126 else
3127 USE_MAINTAINER_MODE=no
3128 fi
3129
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3131 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3132
3133
3134 if test $USE_MAINTAINER_MODE = yes; then
3135 MAINTAINER_MODE_TRUE=
3136 MAINTAINER_MODE_FALSE='#'
3137 else
3138 MAINTAINER_MODE_TRUE='#'
3139 MAINTAINER_MODE_FALSE=
3140 fi
3141
3142 MAINT=$MAINTAINER_MODE_TRUE
3143
3144
3145
3146
3147
3148
3149
3150
3151 MKINSTALLDIRS=
3152 if test -n "$ac_aux_dir"; then
3153 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
3154 fi
3155 if test -z "$MKINSTALLDIRS"; then
3156 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
3157 fi
3158
3159
3160
3161
3162
3163 # Extract the first word of "msgfmt", so it can be a program name with args.
3164 set dummy msgfmt; ac_word=$2
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3166 $as_echo_n "checking for $ac_word... " >&6; }
3167 if ${ac_cv_path_MSGFMT+:} false; then :
3168 $as_echo_n "(cached) " >&6
3169 else
3170 case "$MSGFMT" in
3171 /*)
3172 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3173 ;;
3174 *)
3175 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
3176 for ac_dir in $PATH; do
3177 test -z "$ac_dir" && ac_dir=.
3178 if test -f $ac_dir/$ac_word; then
3179 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
3180 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3181 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
3182 break
3183 fi
3184 fi
3185 done
3186 IFS="$ac_save_ifs"
3187 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3188 ;;
3189 esac
3190 fi
3191 MSGFMT="$ac_cv_path_MSGFMT"
3192 if test "$MSGFMT" != ":"; then
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3194 $as_echo "$MSGFMT" >&6; }
3195 else
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3198 fi
3199
3200 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3201 set dummy gmsgfmt; ac_word=$2
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203 $as_echo_n "checking for $ac_word... " >&6; }
3204 if ${ac_cv_path_GMSGFMT+:} false; then :
3205 $as_echo_n "(cached) " >&6
3206 else
3207 case $GMSGFMT in
3208 [\\/]* | ?:[\\/]*)
3209 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3210 ;;
3211 *)
3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213 for as_dir in $PATH
3214 do
3215 IFS=$as_save_IFS
3216 test -z "$as_dir" && as_dir=.
3217 for ac_exec_ext in '' $ac_executable_extensions; do
3218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3219 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3221 break 2
3222 fi
3223 done
3224 done
3225 IFS=$as_save_IFS
3226
3227 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3228 ;;
3229 esac
3230 fi
3231 GMSGFMT=$ac_cv_path_GMSGFMT
3232 if test -n "$GMSGFMT"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3234 $as_echo "$GMSGFMT" >&6; }
3235 else
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3238 fi
3239
3240
3241
3242 # Extract the first word of "xgettext", so it can be a program name with args.
3243 set dummy xgettext; ac_word=$2
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3245 $as_echo_n "checking for $ac_word... " >&6; }
3246 if ${ac_cv_path_XGETTEXT+:} false; then :
3247 $as_echo_n "(cached) " >&6
3248 else
3249 case "$XGETTEXT" in
3250 /*)
3251 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3252 ;;
3253 *)
3254 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
3255 for ac_dir in $PATH; do
3256 test -z "$ac_dir" && ac_dir=.
3257 if test -f $ac_dir/$ac_word; then
3258 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
3259 (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3260 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
3261 break
3262 fi
3263 fi
3264 done
3265 IFS="$ac_save_ifs"
3266 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
3267 ;;
3268 esac
3269 fi
3270 XGETTEXT="$ac_cv_path_XGETTEXT"
3271 if test "$XGETTEXT" != ":"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3273 $as_echo "$XGETTEXT" >&6; }
3274 else
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3277 fi
3278
3279 rm -f messages.po
3280
3281 # Extract the first word of "msgmerge", so it can be a program name with args.
3282 set dummy msgmerge; ac_word=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if ${ac_cv_path_MSGMERGE+:} false; then :
3286 $as_echo_n "(cached) " >&6
3287 else
3288 case "$MSGMERGE" in
3289 /*)
3290 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3291 ;;
3292 *)
3293 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
3294 for ac_dir in $PATH; do
3295 test -z "$ac_dir" && ac_dir=.
3296 if test -f $ac_dir/$ac_word; then
3297 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
3298 ac_cv_path_MSGMERGE="$ac_dir/$ac_word"
3299 break
3300 fi
3301 fi
3302 done
3303 IFS="$ac_save_ifs"
3304 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
3305 ;;
3306 esac
3307 fi
3308 MSGMERGE="$ac_cv_path_MSGMERGE"
3309 if test "$MSGMERGE" != ":"; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3311 $as_echo "$MSGMERGE" >&6; }
3312 else
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3315 fi
3316
3317
3318 if test "$GMSGFMT" != ":"; then
3319 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
3320 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3321 : ;
3322 else
3323 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3325 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
3326 GMSGFMT=":"
3327 fi
3328 fi
3329
3330 if test "$XGETTEXT" != ":"; then
3331 if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
3332 (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3333 : ;
3334 else
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
3336 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
3337 XGETTEXT=":"
3338 fi
3339 rm -f messages.po
3340 fi
3341
3342 ac_config_commands="$ac_config_commands default-1"
3343
3344
3345
3346 if test "X$prefix" = "XNONE"; then
3347 acl_final_prefix="$ac_default_prefix"
3348 else
3349 acl_final_prefix="$prefix"
3350 fi
3351 if test "X$exec_prefix" = "XNONE"; then
3352 acl_final_exec_prefix='${prefix}'
3353 else
3354 acl_final_exec_prefix="$exec_prefix"
3355 fi
3356 acl_save_prefix="$prefix"
3357 prefix="$acl_final_prefix"
3358 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3359 prefix="$acl_save_prefix"
3360
3361 DEPDIR="${am__leading_dot}deps"
3362
3363 ac_config_commands="$ac_config_commands depfiles"
3364
3365
3366 am_make=${MAKE-make}
3367 cat > confinc << 'END'
3368 am__doit:
3369 @echo done
3370 .PHONY: am__doit
3371 END
3372 # If we don't find an include directive, just comment out the code.
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3374 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3375 am__include="#"
3376 am__quote=
3377 _am_result=none
3378 # First try GNU make style include.
3379 echo "include confinc" > confmf
3380 # We grep out `Entering directory' and `Leaving directory'
3381 # messages which can occur if `w' ends up in MAKEFLAGS.
3382 # In particular we don't look at `^make:' because GNU make might
3383 # be invoked under some other name (usually "gmake"), in which
3384 # case it prints its new name instead of `make'.
3385 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3386 am__include=include
3387 am__quote=
3388 _am_result=GNU
3389 fi
3390 # Now try BSD make style include.
3391 if test "$am__include" = "#"; then
3392 echo '.include "confinc"' > confmf
3393 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3394 am__include=.include
3395 am__quote="\""
3396 _am_result=BSD
3397 fi
3398 fi
3399
3400
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3402 $as_echo "$_am_result" >&6; }
3403 rm -f confinc confmf
3404
3405 # Check whether --enable-dependency-tracking was given.
3406 if test "${enable_dependency_tracking+set}" = set; then :
3407 enableval=$enable_dependency_tracking;
3408 fi
3409
3410 if test "x$enable_dependency_tracking" != xno; then
3411 am_depcomp="$ac_aux_dir/depcomp"
3412 AMDEPBACKSLASH='\'
3413 fi
3414
3415
3416 if test "x$enable_dependency_tracking" != xno; then
3417 AMDEP_TRUE=
3418 AMDEP_FALSE='#'
3419 else
3420 AMDEP_TRUE='#'
3421 AMDEP_FALSE=
3422 fi
3423
3424
3425
3426 ac_ext=c
3427 ac_cpp='$CPP $CPPFLAGS'
3428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3431 if test -n "$ac_tool_prefix"; then
3432 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3433 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3435 $as_echo_n "checking for $ac_word... " >&6; }
3436 if ${ac_cv_prog_CC+:} false; then :
3437 $as_echo_n "(cached) " >&6
3438 else
3439 if test -n "$CC"; then
3440 ac_cv_prog_CC="$CC" # Let the user override the test.
3441 else
3442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3443 for as_dir in $PATH
3444 do
3445 IFS=$as_save_IFS
3446 test -z "$as_dir" && as_dir=.
3447 for ac_exec_ext in '' $ac_executable_extensions; do
3448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3449 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3451 break 2
3452 fi
3453 done
3454 done
3455 IFS=$as_save_IFS
3456
3457 fi
3458 fi
3459 CC=$ac_cv_prog_CC
3460 if test -n "$CC"; then
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3462 $as_echo "$CC" >&6; }
3463 else
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465 $as_echo "no" >&6; }
3466 fi
3467
3468
3469 fi
3470 if test -z "$ac_cv_prog_CC"; then
3471 ac_ct_CC=$CC
3472 # Extract the first word of "gcc", so it can be a program name with args.
3473 set dummy gcc; 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_ac_ct_CC+:} false; then :
3477 $as_echo_n "(cached) " >&6
3478 else
3479 if test -n "$ac_ct_CC"; then
3480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_ac_ct_CC="gcc"
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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3500 if test -n "$ac_ct_CC"; then
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3502 $as_echo "$ac_ct_CC" >&6; }
3503 else
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 $as_echo "no" >&6; }
3506 fi
3507
3508 if test "x$ac_ct_CC" = x; then
3509 CC=""
3510 else
3511 case $cross_compiling:$ac_tool_warned in
3512 yes:)
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3515 ac_tool_warned=yes ;;
3516 esac
3517 CC=$ac_ct_CC
3518 fi
3519 else
3520 CC="$ac_cv_prog_CC"
3521 fi
3522
3523 if test -z "$CC"; then
3524 if test -n "$ac_tool_prefix"; then
3525 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3526 set dummy ${ac_tool_prefix}cc; ac_word=$2
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3528 $as_echo_n "checking for $ac_word... " >&6; }
3529 if ${ac_cv_prog_CC+:} false; then :
3530 $as_echo_n "(cached) " >&6
3531 else
3532 if test -n "$CC"; then
3533 ac_cv_prog_CC="$CC" # Let the user override the test.
3534 else
3535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3536 for as_dir in $PATH
3537 do
3538 IFS=$as_save_IFS
3539 test -z "$as_dir" && as_dir=.
3540 for ac_exec_ext in '' $ac_executable_extensions; do
3541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3542 ac_cv_prog_CC="${ac_tool_prefix}cc"
3543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3544 break 2
3545 fi
3546 done
3547 done
3548 IFS=$as_save_IFS
3549
3550 fi
3551 fi
3552 CC=$ac_cv_prog_CC
3553 if test -n "$CC"; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3555 $as_echo "$CC" >&6; }
3556 else
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3559 fi
3560
3561
3562 fi
3563 fi
3564 if test -z "$CC"; then
3565 # Extract the first word of "cc", so it can be a program name with args.
3566 set dummy cc; ac_word=$2
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568 $as_echo_n "checking for $ac_word... " >&6; }
3569 if ${ac_cv_prog_CC+:} false; then :
3570 $as_echo_n "(cached) " >&6
3571 else
3572 if test -n "$CC"; then
3573 ac_cv_prog_CC="$CC" # Let the user override the test.
3574 else
3575 ac_prog_rejected=no
3576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3577 for as_dir in $PATH
3578 do
3579 IFS=$as_save_IFS
3580 test -z "$as_dir" && as_dir=.
3581 for ac_exec_ext in '' $ac_executable_extensions; do
3582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3583 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3584 ac_prog_rejected=yes
3585 continue
3586 fi
3587 ac_cv_prog_CC="cc"
3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 break 2
3590 fi
3591 done
3592 done
3593 IFS=$as_save_IFS
3594
3595 if test $ac_prog_rejected = yes; then
3596 # We found a bogon in the path, so make sure we never use it.
3597 set dummy $ac_cv_prog_CC
3598 shift
3599 if test $# != 0; then
3600 # We chose a different compiler from the bogus one.
3601 # However, it has the same basename, so the bogon will be chosen
3602 # first if we set CC to just the basename; use the full file name.
3603 shift
3604 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3605 fi
3606 fi
3607 fi
3608 fi
3609 CC=$ac_cv_prog_CC
3610 if test -n "$CC"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3612 $as_echo "$CC" >&6; }
3613 else
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3616 fi
3617
3618
3619 fi
3620 if test -z "$CC"; then
3621 if test -n "$ac_tool_prefix"; then
3622 for ac_prog in cl.exe
3623 do
3624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3625 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627 $as_echo_n "checking for $ac_word... " >&6; }
3628 if ${ac_cv_prog_CC+:} false; then :
3629 $as_echo_n "(cached) " >&6
3630 else
3631 if test -n "$CC"; then
3632 ac_cv_prog_CC="$CC" # Let the user override the test.
3633 else
3634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3635 for as_dir in $PATH
3636 do
3637 IFS=$as_save_IFS
3638 test -z "$as_dir" && as_dir=.
3639 for ac_exec_ext in '' $ac_executable_extensions; do
3640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3641 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3643 break 2
3644 fi
3645 done
3646 done
3647 IFS=$as_save_IFS
3648
3649 fi
3650 fi
3651 CC=$ac_cv_prog_CC
3652 if test -n "$CC"; then
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3654 $as_echo "$CC" >&6; }
3655 else
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3658 fi
3659
3660
3661 test -n "$CC" && break
3662 done
3663 fi
3664 if test -z "$CC"; then
3665 ac_ct_CC=$CC
3666 for ac_prog in cl.exe
3667 do
3668 # Extract the first word of "$ac_prog", so it can be a program name with args.
3669 set dummy $ac_prog; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3673 $as_echo_n "(cached) " >&6
3674 else
3675 if test -n "$ac_ct_CC"; then
3676 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3677 else
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 for as_dir in $PATH
3680 do
3681 IFS=$as_save_IFS
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3685 ac_cv_prog_ac_ct_CC="$ac_prog"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 break 2
3688 fi
3689 done
3690 done
3691 IFS=$as_save_IFS
3692
3693 fi
3694 fi
3695 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3696 if test -n "$ac_ct_CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3698 $as_echo "$ac_ct_CC" >&6; }
3699 else
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3702 fi
3703
3704
3705 test -n "$ac_ct_CC" && break
3706 done
3707
3708 if test "x$ac_ct_CC" = x; then
3709 CC=""
3710 else
3711 case $cross_compiling:$ac_tool_warned in
3712 yes:)
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3716 esac
3717 CC=$ac_ct_CC
3718 fi
3719 fi
3720
3721 fi
3722
3723
3724 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3726 as_fn_error $? "no acceptable C compiler found in \$PATH
3727 See \`config.log' for more details" "$LINENO" 5; }
3728
3729 # Provide some information about the compiler.
3730 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3731 set X $ac_compile
3732 ac_compiler=$2
3733 for ac_option in --version -v -V -qversion; do
3734 { { ac_try="$ac_compiler $ac_option >&5"
3735 case "(($ac_try" in
3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3738 esac
3739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3740 $as_echo "$ac_try_echo"; } >&5
3741 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3742 ac_status=$?
3743 if test -s conftest.err; then
3744 sed '10a\
3745 ... rest of stderr output deleted ...
3746 10q' conftest.err >conftest.er1
3747 cat conftest.er1 >&5
3748 fi
3749 rm -f conftest.er1 conftest.err
3750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3751 test $ac_status = 0; }
3752 done
3753
3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3756
3757 int
3758 main ()
3759 {
3760
3761 ;
3762 return 0;
3763 }
3764 _ACEOF
3765 ac_clean_files_save=$ac_clean_files
3766 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3767 # Try to create an executable without -o first, disregard a.out.
3768 # It will help us diagnose broken compilers, and finding out an intuition
3769 # of exeext.
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3771 $as_echo_n "checking whether the C compiler works... " >&6; }
3772 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3773
3774 # The possible output files:
3775 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3776
3777 ac_rmfiles=
3778 for ac_file in $ac_files
3779 do
3780 case $ac_file in
3781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3782 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3783 esac
3784 done
3785 rm -f $ac_rmfiles
3786
3787 if { { ac_try="$ac_link_default"
3788 case "(($ac_try" in
3789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3790 *) ac_try_echo=$ac_try;;
3791 esac
3792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3793 $as_echo "$ac_try_echo"; } >&5
3794 (eval "$ac_link_default") 2>&5
3795 ac_status=$?
3796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3797 test $ac_status = 0; }; then :
3798 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3799 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3800 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3801 # so that the user can short-circuit this test for compilers unknown to
3802 # Autoconf.
3803 for ac_file in $ac_files ''
3804 do
3805 test -f "$ac_file" || continue
3806 case $ac_file in
3807 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3808 ;;
3809 [ab].out )
3810 # We found the default executable, but exeext='' is most
3811 # certainly right.
3812 break;;
3813 *.* )
3814 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3815 then :; else
3816 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3817 fi
3818 # We set ac_cv_exeext here because the later test for it is not
3819 # safe: cross compilers may not add the suffix if given an `-o'
3820 # argument, so we may need to know it at that point already.
3821 # Even if this section looks crufty: it has the advantage of
3822 # actually working.
3823 break;;
3824 * )
3825 break;;
3826 esac
3827 done
3828 test "$ac_cv_exeext" = no && ac_cv_exeext=
3829
3830 else
3831 ac_file=''
3832 fi
3833 if test -z "$ac_file"; then :
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 $as_echo "no" >&6; }
3836 $as_echo "$as_me: failed program was:" >&5
3837 sed 's/^/| /' conftest.$ac_ext >&5
3838
3839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3841 as_fn_error 77 "C compiler cannot create executables
3842 See \`config.log' for more details" "$LINENO" 5; }
3843 else
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3845 $as_echo "yes" >&6; }
3846 fi
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3848 $as_echo_n "checking for C compiler default output file name... " >&6; }
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3850 $as_echo "$ac_file" >&6; }
3851 ac_exeext=$ac_cv_exeext
3852
3853 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3854 ac_clean_files=$ac_clean_files_save
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3856 $as_echo_n "checking for suffix of executables... " >&6; }
3857 if { { ac_try="$ac_link"
3858 case "(($ac_try" in
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3861 esac
3862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3863 $as_echo "$ac_try_echo"; } >&5
3864 (eval "$ac_link") 2>&5
3865 ac_status=$?
3866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3867 test $ac_status = 0; }; then :
3868 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3869 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3870 # work properly (i.e., refer to `conftest.exe'), while it won't with
3871 # `rm'.
3872 for ac_file in conftest.exe conftest conftest.*; do
3873 test -f "$ac_file" || continue
3874 case $ac_file in
3875 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3876 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3877 break;;
3878 * ) break;;
3879 esac
3880 done
3881 else
3882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3884 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3885 See \`config.log' for more details" "$LINENO" 5; }
3886 fi
3887 rm -f conftest conftest$ac_cv_exeext
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3889 $as_echo "$ac_cv_exeext" >&6; }
3890
3891 rm -f conftest.$ac_ext
3892 EXEEXT=$ac_cv_exeext
3893 ac_exeext=$EXEEXT
3894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h. */
3896 #include <stdio.h>
3897 int
3898 main ()
3899 {
3900 FILE *f = fopen ("conftest.out", "w");
3901 return ferror (f) || fclose (f) != 0;
3902
3903 ;
3904 return 0;
3905 }
3906 _ACEOF
3907 ac_clean_files="$ac_clean_files conftest.out"
3908 # Check that the compiler produces executables we can run. If not, either
3909 # the compiler is broken, or we cross compile.
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3911 $as_echo_n "checking whether we are cross compiling... " >&6; }
3912 if test "$cross_compiling" != yes; then
3913 { { ac_try="$ac_link"
3914 case "(($ac_try" in
3915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3917 esac
3918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920 (eval "$ac_link") 2>&5
3921 ac_status=$?
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }
3924 if { ac_try='./conftest$ac_cv_exeext'
3925 { { case "(($ac_try" in
3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927 *) ac_try_echo=$ac_try;;
3928 esac
3929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3930 $as_echo "$ac_try_echo"; } >&5
3931 (eval "$ac_try") 2>&5
3932 ac_status=$?
3933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3934 test $ac_status = 0; }; }; then
3935 cross_compiling=no
3936 else
3937 if test "$cross_compiling" = maybe; then
3938 cross_compiling=yes
3939 else
3940 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3942 as_fn_error $? "cannot run C compiled programs.
3943 If you meant to cross compile, use \`--host'.
3944 See \`config.log' for more details" "$LINENO" 5; }
3945 fi
3946 fi
3947 fi
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3949 $as_echo "$cross_compiling" >&6; }
3950
3951 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3952 ac_clean_files=$ac_clean_files_save
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3954 $as_echo_n "checking for suffix of object files... " >&6; }
3955 if ${ac_cv_objext+:} false; then :
3956 $as_echo_n "(cached) " >&6
3957 else
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3960
3961 int
3962 main ()
3963 {
3964
3965 ;
3966 return 0;
3967 }
3968 _ACEOF
3969 rm -f conftest.o conftest.obj
3970 if { { ac_try="$ac_compile"
3971 case "(($ac_try" in
3972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973 *) ac_try_echo=$ac_try;;
3974 esac
3975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3976 $as_echo "$ac_try_echo"; } >&5
3977 (eval "$ac_compile") 2>&5
3978 ac_status=$?
3979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3980 test $ac_status = 0; }; then :
3981 for ac_file in conftest.o conftest.obj conftest.*; do
3982 test -f "$ac_file" || continue;
3983 case $ac_file in
3984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3985 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3986 break;;
3987 esac
3988 done
3989 else
3990 $as_echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3992
3993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3995 as_fn_error $? "cannot compute suffix of object files: cannot compile
3996 See \`config.log' for more details" "$LINENO" 5; }
3997 fi
3998 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3999 fi
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4001 $as_echo "$ac_cv_objext" >&6; }
4002 OBJEXT=$ac_cv_objext
4003 ac_objext=$OBJEXT
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4005 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4006 if ${ac_cv_c_compiler_gnu+:} false; then :
4007 $as_echo_n "(cached) " >&6
4008 else
4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4011
4012 int
4013 main ()
4014 {
4015 #ifndef __GNUC__
4016 choke me
4017 #endif
4018
4019 ;
4020 return 0;
4021 }
4022 _ACEOF
4023 if ac_fn_c_try_compile "$LINENO"; then :
4024 ac_compiler_gnu=yes
4025 else
4026 ac_compiler_gnu=no
4027 fi
4028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4030
4031 fi
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4033 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4034 if test $ac_compiler_gnu = yes; then
4035 GCC=yes
4036 else
4037 GCC=
4038 fi
4039 ac_test_CFLAGS=${CFLAGS+set}
4040 ac_save_CFLAGS=$CFLAGS
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4042 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4043 if ${ac_cv_prog_cc_g+:} false; then :
4044 $as_echo_n "(cached) " >&6
4045 else
4046 ac_save_c_werror_flag=$ac_c_werror_flag
4047 ac_c_werror_flag=yes
4048 ac_cv_prog_cc_g=no
4049 CFLAGS="-g"
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4052
4053 int
4054 main ()
4055 {
4056
4057 ;
4058 return 0;
4059 }
4060 _ACEOF
4061 if ac_fn_c_try_compile "$LINENO"; then :
4062 ac_cv_prog_cc_g=yes
4063 else
4064 CFLAGS=""
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4067
4068 int
4069 main ()
4070 {
4071
4072 ;
4073 return 0;
4074 }
4075 _ACEOF
4076 if ac_fn_c_try_compile "$LINENO"; then :
4077
4078 else
4079 ac_c_werror_flag=$ac_save_c_werror_flag
4080 CFLAGS="-g"
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4083
4084 int
4085 main ()
4086 {
4087
4088 ;
4089 return 0;
4090 }
4091 _ACEOF
4092 if ac_fn_c_try_compile "$LINENO"; then :
4093 ac_cv_prog_cc_g=yes
4094 fi
4095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4096 fi
4097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4098 fi
4099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4100 ac_c_werror_flag=$ac_save_c_werror_flag
4101 fi
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4103 $as_echo "$ac_cv_prog_cc_g" >&6; }
4104 if test "$ac_test_CFLAGS" = set; then
4105 CFLAGS=$ac_save_CFLAGS
4106 elif test $ac_cv_prog_cc_g = yes; then
4107 if test "$GCC" = yes; then
4108 CFLAGS="-g -O2"
4109 else
4110 CFLAGS="-g"
4111 fi
4112 else
4113 if test "$GCC" = yes; then
4114 CFLAGS="-O2"
4115 else
4116 CFLAGS=
4117 fi
4118 fi
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4120 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4121 if ${ac_cv_prog_cc_c89+:} false; then :
4122 $as_echo_n "(cached) " >&6
4123 else
4124 ac_cv_prog_cc_c89=no
4125 ac_save_CC=$CC
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4128 #include <stdarg.h>
4129 #include <stdio.h>
4130 struct stat;
4131 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4132 struct buf { int x; };
4133 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4134 static char *e (p, i)
4135 char **p;
4136 int i;
4137 {
4138 return p[i];
4139 }
4140 static char *f (char * (*g) (char **, int), char **p, ...)
4141 {
4142 char *s;
4143 va_list v;
4144 va_start (v,p);
4145 s = g (p, va_arg (v,int));
4146 va_end (v);
4147 return s;
4148 }
4149
4150 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4151 function prototypes and stuff, but not '\xHH' hex character constants.
4152 These don't provoke an error unfortunately, instead are silently treated
4153 as 'x'. The following induces an error, until -std is added to get
4154 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4155 array size at least. It's necessary to write '\x00'==0 to get something
4156 that's true only with -std. */
4157 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4158
4159 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4160 inside strings and character constants. */
4161 #define FOO(x) 'x'
4162 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4163
4164 int test (int i, double x);
4165 struct s1 {int (*f) (int a);};
4166 struct s2 {int (*f) (double a);};
4167 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4168 int argc;
4169 char **argv;
4170 int
4171 main ()
4172 {
4173 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4174 ;
4175 return 0;
4176 }
4177 _ACEOF
4178 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4179 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4180 do
4181 CC="$ac_save_CC $ac_arg"
4182 if ac_fn_c_try_compile "$LINENO"; then :
4183 ac_cv_prog_cc_c89=$ac_arg
4184 fi
4185 rm -f core conftest.err conftest.$ac_objext
4186 test "x$ac_cv_prog_cc_c89" != "xno" && break
4187 done
4188 rm -f conftest.$ac_ext
4189 CC=$ac_save_CC
4190
4191 fi
4192 # AC_CACHE_VAL
4193 case "x$ac_cv_prog_cc_c89" in
4194 x)
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4196 $as_echo "none needed" >&6; } ;;
4197 xno)
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4199 $as_echo "unsupported" >&6; } ;;
4200 *)
4201 CC="$CC $ac_cv_prog_cc_c89"
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4203 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4204 esac
4205 if test "x$ac_cv_prog_cc_c89" != xno; then :
4206
4207 fi
4208
4209 ac_ext=c
4210 ac_cpp='$CPP $CPPFLAGS'
4211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4214
4215 depcc="$CC" am_compiler_list=
4216
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4218 $as_echo_n "checking dependency style of $depcc... " >&6; }
4219 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4220 $as_echo_n "(cached) " >&6
4221 else
4222 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4223 # We make a subdir and do the tests there. Otherwise we can end up
4224 # making bogus files that we don't know about and never remove. For
4225 # instance it was reported that on HP-UX the gcc test will end up
4226 # making a dummy file named `D' -- because `-MD' means `put the output
4227 # in D'.
4228 mkdir conftest.dir
4229 # Copy depcomp to subdir because otherwise we won't find it if we're
4230 # using a relative directory.
4231 cp "$am_depcomp" conftest.dir
4232 cd conftest.dir
4233 # We will build objects and dependencies in a subdirectory because
4234 # it helps to detect inapplicable dependency modes. For instance
4235 # both Tru64's cc and ICC support -MD to output dependencies as a
4236 # side effect of compilation, but ICC will put the dependencies in
4237 # the current directory while Tru64 will put them in the object
4238 # directory.
4239 mkdir sub
4240
4241 am_cv_CC_dependencies_compiler_type=none
4242 if test "$am_compiler_list" = ""; then
4243 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4244 fi
4245 for depmode in $am_compiler_list; do
4246 # Setup a source with many dependencies, because some compilers
4247 # like to wrap large dependency lists on column 80 (with \), and
4248 # we should not choose a depcomp mode which is confused by this.
4249 #
4250 # We need to recreate these files for each test, as the compiler may
4251 # overwrite some of them when testing with obscure command lines.
4252 # This happens at least with the AIX C compiler.
4253 : > sub/conftest.c
4254 for i in 1 2 3 4 5 6; do
4255 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4256 : > sub/conftst$i.h
4257 done
4258 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4259
4260 case $depmode in
4261 nosideeffect)
4262 # after this tag, mechanisms are not by side-effect, so they'll
4263 # only be used when explicitly requested
4264 if test "x$enable_dependency_tracking" = xyes; then
4265 continue
4266 else
4267 break
4268 fi
4269 ;;
4270 none) break ;;
4271 esac
4272 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4273 # mode. It turns out that the SunPro C++ compiler does not properly
4274 # handle `-M -o', and we need to detect this.
4275 if depmode=$depmode \
4276 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4277 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4278 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4279 >/dev/null 2>conftest.err &&
4280 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4281 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4282 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4283 # icc doesn't choke on unknown options, it will just issue warnings
4284 # (even with -Werror). So we grep stderr for any message
4285 # that says an option was ignored.
4286 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4287 am_cv_CC_dependencies_compiler_type=$depmode
4288 break
4289 fi
4290 fi
4291 done
4292
4293 cd ..
4294 rm -rf conftest.dir
4295 else
4296 am_cv_CC_dependencies_compiler_type=none
4297 fi
4298
4299 fi
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4301 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4302 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4303
4304
4305
4306 if
4307 test "x$enable_dependency_tracking" != xno \
4308 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4309 am__fastdepCC_TRUE=
4310 am__fastdepCC_FALSE='#'
4311 else
4312 am__fastdepCC_TRUE='#'
4313 am__fastdepCC_FALSE=
4314 fi
4315
4316
4317
4318 # Check whether --with-gnu-ld was given.
4319 if test "${with_gnu_ld+set}" = set; then :
4320 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4321 else
4322 with_gnu_ld=no
4323 fi
4324
4325 ac_prog=ld
4326 if test "$GCC" = yes; then
4327 # Check if gcc -print-prog-name=ld gives a path.
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4329 $as_echo_n "checking for ld used by GCC... " >&6; }
4330 case $host in
4331 *-*-mingw*)
4332 # gcc leaves a trailing carriage return which upsets mingw
4333 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4334 *)
4335 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4336 esac
4337 case $ac_prog in
4338 # Accept absolute paths.
4339 [\\/]* | [A-Za-z]:[\\/]*)
4340 re_direlt='/[^/][^/]*/\.\./'
4341 # Canonicalize the path of ld
4342 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4343 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4344 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4345 done
4346 test -z "$LD" && LD="$ac_prog"
4347 ;;
4348 "")
4349 # If it fails, then pretend we aren't using GCC.
4350 ac_prog=ld
4351 ;;
4352 *)
4353 # If it is relative, then search for the first ld in PATH.
4354 with_gnu_ld=unknown
4355 ;;
4356 esac
4357 elif test "$with_gnu_ld" = yes; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4359 $as_echo_n "checking for GNU ld... " >&6; }
4360 else
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4362 $as_echo_n "checking for non-GNU ld... " >&6; }
4363 fi
4364 if ${acl_cv_path_LD+:} false; then :
4365 $as_echo_n "(cached) " >&6
4366 else
4367 if test -z "$LD"; then
4368 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4369 for ac_dir in $PATH; do
4370 test -z "$ac_dir" && ac_dir=.
4371 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4372 acl_cv_path_LD="$ac_dir/$ac_prog"
4373 # Check to see if the program is GNU ld. I'd rather use --version,
4374 # but apparently some GNU ld's only accept -v.
4375 # Break only if it was the GNU/non-GNU ld that we prefer.
4376 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4377 test "$with_gnu_ld" != no && break
4378 else
4379 test "$with_gnu_ld" != yes && break
4380 fi
4381 fi
4382 done
4383 IFS="$ac_save_ifs"
4384 else
4385 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4386 fi
4387 fi
4388
4389 LD="$acl_cv_path_LD"
4390 if test -n "$LD"; then
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4392 $as_echo "$LD" >&6; }
4393 else
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4396 fi
4397 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4399 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4400 if ${acl_cv_prog_gnu_ld+:} false; then :
4401 $as_echo_n "(cached) " >&6
4402 else
4403 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4404 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4405 acl_cv_prog_gnu_ld=yes
4406 else
4407 acl_cv_prog_gnu_ld=no
4408 fi
4409 fi
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4411 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4412 with_gnu_ld=$acl_cv_prog_gnu_ld
4413
4414
4415
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4417 $as_echo_n "checking for shared library run path origin... " >&6; }
4418 if ${acl_cv_rpath+:} false; then :
4419 $as_echo_n "(cached) " >&6
4420 else
4421
4422 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4423 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4424 . ./conftest.sh
4425 rm -f ./conftest.sh
4426 acl_cv_rpath=done
4427
4428 fi
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4430 $as_echo "$acl_cv_rpath" >&6; }
4431 wl="$acl_cv_wl"
4432 libext="$acl_cv_libext"
4433 shlibext="$acl_cv_shlibext"
4434 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4435 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4436 hardcode_direct="$acl_cv_hardcode_direct"
4437 hardcode_minus_L="$acl_cv_hardcode_minus_L"
4438 sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
4439 sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
4440 # Check whether --enable-rpath was given.
4441 if test "${enable_rpath+set}" = set; then :
4442 enableval=$enable_rpath; :
4443 else
4444 enable_rpath=yes
4445 fi
4446
4447
4448
4449
4450
4451
4452
4453
4454 use_additional=yes
4455
4456 acl_save_prefix="$prefix"
4457 prefix="$acl_final_prefix"
4458 acl_save_exec_prefix="$exec_prefix"
4459 exec_prefix="$acl_final_exec_prefix"
4460
4461 eval additional_includedir=\"$includedir\"
4462 eval additional_libdir=\"$libdir\"
4463
4464 exec_prefix="$acl_save_exec_prefix"
4465 prefix="$acl_save_prefix"
4466
4467
4468 # Check whether --with-libiconv-prefix was given.
4469 if test "${with_libiconv_prefix+set}" = set; then :
4470 withval=$with_libiconv_prefix;
4471 if test "X$withval" = "Xno"; then
4472 use_additional=no
4473 else
4474 if test "X$withval" = "X"; then
4475
4476 acl_save_prefix="$prefix"
4477 prefix="$acl_final_prefix"
4478 acl_save_exec_prefix="$exec_prefix"
4479 exec_prefix="$acl_final_exec_prefix"
4480
4481 eval additional_includedir=\"$includedir\"
4482 eval additional_libdir=\"$libdir\"
4483
4484 exec_prefix="$acl_save_exec_prefix"
4485 prefix="$acl_save_prefix"
4486
4487 else
4488 additional_includedir="$withval/include"
4489 additional_libdir="$withval/lib"
4490 fi
4491 fi
4492
4493 fi
4494
4495 LIBICONV=
4496 LTLIBICONV=
4497 INCICONV=
4498 rpathdirs=
4499 ltrpathdirs=
4500 names_already_handled=
4501 names_next_round='iconv '
4502 while test -n "$names_next_round"; do
4503 names_this_round="$names_next_round"
4504 names_next_round=
4505 for name in $names_this_round; do
4506 already_handled=
4507 for n in $names_already_handled; do
4508 if test "$n" = "$name"; then
4509 already_handled=yes
4510 break
4511 fi
4512 done
4513 if test -z "$already_handled"; then
4514 names_already_handled="$names_already_handled $name"
4515 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4516 eval value=\"\$HAVE_LIB$uppername\"
4517 if test -n "$value"; then
4518 if test "$value" = yes; then
4519 eval value=\"\$LIB$uppername\"
4520 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4521 eval value=\"\$LTLIB$uppername\"
4522 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4523 else
4524 :
4525 fi
4526 else
4527 found_dir=
4528 found_la=
4529 found_so=
4530 found_a=
4531 if test $use_additional = yes; then
4532 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4533 found_dir="$additional_libdir"
4534 found_so="$additional_libdir/lib$name.$shlibext"
4535 if test -f "$additional_libdir/lib$name.la"; then
4536 found_la="$additional_libdir/lib$name.la"
4537 fi
4538 else
4539 if test -f "$additional_libdir/lib$name.$libext"; then
4540 found_dir="$additional_libdir"
4541 found_a="$additional_libdir/lib$name.$libext"
4542 if test -f "$additional_libdir/lib$name.la"; then
4543 found_la="$additional_libdir/lib$name.la"
4544 fi
4545 fi
4546 fi
4547 fi
4548 if test "X$found_dir" = "X"; then
4549 for x in $LDFLAGS $LTLIBICONV; do
4550
4551 acl_save_prefix="$prefix"
4552 prefix="$acl_final_prefix"
4553 acl_save_exec_prefix="$exec_prefix"
4554 exec_prefix="$acl_final_exec_prefix"
4555 eval x=\"$x\"
4556 exec_prefix="$acl_save_exec_prefix"
4557 prefix="$acl_save_prefix"
4558
4559 case "$x" in
4560 -L*)
4561 dir=`echo "X$x" | sed -e 's/^X-L//'`
4562 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4563 found_dir="$dir"
4564 found_so="$dir/lib$name.$shlibext"
4565 if test -f "$dir/lib$name.la"; then
4566 found_la="$dir/lib$name.la"
4567 fi
4568 else
4569 if test -f "$dir/lib$name.$libext"; then
4570 found_dir="$dir"
4571 found_a="$dir/lib$name.$libext"
4572 if test -f "$dir/lib$name.la"; then
4573 found_la="$dir/lib$name.la"
4574 fi
4575 fi
4576 fi
4577 ;;
4578 esac
4579 if test "X$found_dir" != "X"; then
4580 break
4581 fi
4582 done
4583 fi
4584 if test "X$found_dir" != "X"; then
4585 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4586 if test "X$found_so" != "X"; then
4587 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
4588 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4589 else
4590 haveit=
4591 for x in $ltrpathdirs; do
4592 if test "X$x" = "X$found_dir"; then
4593 haveit=yes
4594 break
4595 fi
4596 done
4597 if test -z "$haveit"; then
4598 ltrpathdirs="$ltrpathdirs $found_dir"
4599 fi
4600 if test "$hardcode_direct" = yes; then
4601 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4602 else
4603 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4604 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4605 haveit=
4606 for x in $rpathdirs; do
4607 if test "X$x" = "X$found_dir"; then
4608 haveit=yes
4609 break
4610 fi
4611 done
4612 if test -z "$haveit"; then
4613 rpathdirs="$rpathdirs $found_dir"
4614 fi
4615 else
4616 haveit=
4617 for x in $LDFLAGS $LIBICONV; do
4618
4619 acl_save_prefix="$prefix"
4620 prefix="$acl_final_prefix"
4621 acl_save_exec_prefix="$exec_prefix"
4622 exec_prefix="$acl_final_exec_prefix"
4623 eval x=\"$x\"
4624 exec_prefix="$acl_save_exec_prefix"
4625 prefix="$acl_save_prefix"
4626
4627 if test "X$x" = "X-L$found_dir"; then
4628 haveit=yes
4629 break
4630 fi
4631 done
4632 if test -z "$haveit"; then
4633 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4634 fi
4635 if test "$hardcode_minus_L" != no; then
4636 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4637 else
4638 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4639 fi
4640 fi
4641 fi
4642 fi
4643 else
4644 if test "X$found_a" != "X"; then
4645 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4646 else
4647 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4648 fi
4649 fi
4650 additional_includedir=
4651 case "$found_dir" in
4652 */lib | */lib/)
4653 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4654 additional_includedir="$basedir/include"
4655 ;;
4656 esac
4657 if test "X$additional_includedir" != "X"; then
4658 if test "X$additional_includedir" != "X/usr/include"; then
4659 haveit=
4660 if test "X$additional_includedir" = "X/usr/local/include"; then
4661 if test -n "$GCC"; then
4662 case $host_os in
4663 linux*) haveit=yes;;
4664 esac
4665 fi
4666 fi
4667 if test -z "$haveit"; then
4668 for x in $CPPFLAGS $INCICONV; do
4669
4670 acl_save_prefix="$prefix"
4671 prefix="$acl_final_prefix"
4672 acl_save_exec_prefix="$exec_prefix"
4673 exec_prefix="$acl_final_exec_prefix"
4674 eval x=\"$x\"
4675 exec_prefix="$acl_save_exec_prefix"
4676 prefix="$acl_save_prefix"
4677
4678 if test "X$x" = "X-I$additional_includedir"; then
4679 haveit=yes
4680 break
4681 fi
4682 done
4683 if test -z "$haveit"; then
4684 if test -d "$additional_includedir"; then
4685 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4686 fi
4687 fi
4688 fi
4689 fi
4690 fi
4691 if test -n "$found_la"; then
4692 save_libdir="$libdir"
4693 case "$found_la" in
4694 */* | *\\*) . "$found_la" ;;
4695 *) . "./$found_la" ;;
4696 esac
4697 libdir="$save_libdir"
4698 for dep in $dependency_libs; do
4699 case "$dep" in
4700 -L*)
4701 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4702 if test "X$additional_libdir" != "X/usr/lib"; then
4703 haveit=
4704 if test "X$additional_libdir" = "X/usr/local/lib"; then
4705 if test -n "$GCC"; then
4706 case $host_os in
4707 linux*) haveit=yes;;
4708 esac
4709 fi
4710 fi
4711 if test -z "$haveit"; then
4712 haveit=
4713 for x in $LDFLAGS $LIBICONV; do
4714
4715 acl_save_prefix="$prefix"
4716 prefix="$acl_final_prefix"
4717 acl_save_exec_prefix="$exec_prefix"
4718 exec_prefix="$acl_final_exec_prefix"
4719 eval x=\"$x\"
4720 exec_prefix="$acl_save_exec_prefix"
4721 prefix="$acl_save_prefix"
4722
4723 if test "X$x" = "X-L$additional_libdir"; then
4724 haveit=yes
4725 break
4726 fi
4727 done
4728 if test -z "$haveit"; then
4729 if test -d "$additional_libdir"; then
4730 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4731 fi
4732 fi
4733 haveit=
4734 for x in $LDFLAGS $LTLIBICONV; do
4735
4736 acl_save_prefix="$prefix"
4737 prefix="$acl_final_prefix"
4738 acl_save_exec_prefix="$exec_prefix"
4739 exec_prefix="$acl_final_exec_prefix"
4740 eval x=\"$x\"
4741 exec_prefix="$acl_save_exec_prefix"
4742 prefix="$acl_save_prefix"
4743
4744 if test "X$x" = "X-L$additional_libdir"; then
4745 haveit=yes
4746 break
4747 fi
4748 done
4749 if test -z "$haveit"; then
4750 if test -d "$additional_libdir"; then
4751 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4752 fi
4753 fi
4754 fi
4755 fi
4756 ;;
4757 -R*)
4758 dir=`echo "X$dep" | sed -e 's/^X-R//'`
4759 if test "$enable_rpath" != no; then
4760 haveit=
4761 for x in $rpathdirs; do
4762 if test "X$x" = "X$dir"; then
4763 haveit=yes
4764 break
4765 fi
4766 done
4767 if test -z "$haveit"; then
4768 rpathdirs="$rpathdirs $dir"
4769 fi
4770 haveit=
4771 for x in $ltrpathdirs; do
4772 if test "X$x" = "X$dir"; then
4773 haveit=yes
4774 break
4775 fi
4776 done
4777 if test -z "$haveit"; then
4778 ltrpathdirs="$ltrpathdirs $dir"
4779 fi
4780 fi
4781 ;;
4782 -l*)
4783 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4784 ;;
4785 *.la)
4786 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4787 ;;
4788 *)
4789 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
4790 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4791 ;;
4792 esac
4793 done
4794 fi
4795 else
4796 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4797 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4798 fi
4799 fi
4800 fi
4801 done
4802 done
4803 if test "X$rpathdirs" != "X"; then
4804 if test -n "$hardcode_libdir_separator"; then
4805 alldirs=
4806 for found_dir in $rpathdirs; do
4807 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4808 done
4809 acl_save_libdir="$libdir"
4810 libdir="$alldirs"
4811 eval flag=\"$hardcode_libdir_flag_spec\"
4812 libdir="$acl_save_libdir"
4813 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4814 else
4815 for found_dir in $rpathdirs; do
4816 acl_save_libdir="$libdir"
4817 libdir="$found_dir"
4818 eval flag=\"$hardcode_libdir_flag_spec\"
4819 libdir="$acl_save_libdir"
4820 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4821 done
4822 fi
4823 fi
4824 if test "X$ltrpathdirs" != "X"; then
4825 for found_dir in $ltrpathdirs; do
4826 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4827 done
4828 fi
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4848 $as_echo_n "checking whether NLS is requested... " >&6; }
4849 # Check whether --enable-nls was given.
4850 if test "${enable_nls+set}" = set; then :
4851 enableval=$enable_nls; USE_NLS=$enableval
4852 else
4853 USE_NLS=yes
4854 fi
4855
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4857 $as_echo "$USE_NLS" >&6; }
4858
4859
4860
4861 LIBINTL=
4862 LTLIBINTL=
4863 POSUB=
4864
4865 if test "$USE_NLS" = "yes"; then
4866 gt_use_preinstalled_gnugettext=no
4867
4868
4869
4870
4871
4872
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
4874 $as_echo_n "checking for GNU gettext in libc... " >&6; }
4875 if ${gt_cv_func_gnugettext1_libc+:} false; then :
4876 $as_echo_n "(cached) " >&6
4877 else
4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4879 /* end confdefs.h. */
4880 #include <libintl.h>
4881 extern int _nl_msg_cat_cntr;
4882 extern int *_nl_domain_bindings;
4883 int
4884 main ()
4885 {
4886 bindtextdomain ("", "");
4887 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
4888 ;
4889 return 0;
4890 }
4891 _ACEOF
4892 if ac_fn_c_try_link "$LINENO"; then :
4893 gt_cv_func_gnugettext1_libc=yes
4894 else
4895 gt_cv_func_gnugettext1_libc=no
4896 fi
4897 rm -f core conftest.err conftest.$ac_objext \
4898 conftest$ac_exeext conftest.$ac_ext
4899 fi
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
4901 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
4902
4903 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4904
4905
4906
4907
4908
4909 am_save_CPPFLAGS="$CPPFLAGS"
4910
4911 for element in $INCICONV; do
4912 haveit=
4913 for x in $CPPFLAGS; do
4914
4915 acl_save_prefix="$prefix"
4916 prefix="$acl_final_prefix"
4917 acl_save_exec_prefix="$exec_prefix"
4918 exec_prefix="$acl_final_exec_prefix"
4919 eval x=\"$x\"
4920 exec_prefix="$acl_save_exec_prefix"
4921 prefix="$acl_save_prefix"
4922
4923 if test "X$x" = "X$element"; then
4924 haveit=yes
4925 break
4926 fi
4927 done
4928 if test -z "$haveit"; then
4929 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4930 fi
4931 done
4932
4933
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
4935 $as_echo_n "checking for iconv... " >&6; }
4936 if ${am_cv_func_iconv+:} false; then :
4937 $as_echo_n "(cached) " >&6
4938 else
4939
4940 am_cv_func_iconv="no, consider installing GNU libiconv"
4941 am_cv_lib_iconv=no
4942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4944 #include <stdlib.h>
4945 #include <iconv.h>
4946 int
4947 main ()
4948 {
4949 iconv_t cd = iconv_open("","");
4950 iconv(cd,NULL,NULL,NULL,NULL);
4951 iconv_close(cd);
4952 ;
4953 return 0;
4954 }
4955 _ACEOF
4956 if ac_fn_c_try_link "$LINENO"; then :
4957 am_cv_func_iconv=yes
4958 fi
4959 rm -f core conftest.err conftest.$ac_objext \
4960 conftest$ac_exeext conftest.$ac_ext
4961 if test "$am_cv_func_iconv" != yes; then
4962 am_save_LIBS="$LIBS"
4963 LIBS="$LIBS $LIBICONV"
4964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4965 /* end confdefs.h. */
4966 #include <stdlib.h>
4967 #include <iconv.h>
4968 int
4969 main ()
4970 {
4971 iconv_t cd = iconv_open("","");
4972 iconv(cd,NULL,NULL,NULL,NULL);
4973 iconv_close(cd);
4974 ;
4975 return 0;
4976 }
4977 _ACEOF
4978 if ac_fn_c_try_link "$LINENO"; then :
4979 am_cv_lib_iconv=yes
4980 am_cv_func_iconv=yes
4981 fi
4982 rm -f core conftest.err conftest.$ac_objext \
4983 conftest$ac_exeext conftest.$ac_ext
4984 LIBS="$am_save_LIBS"
4985 fi
4986
4987 fi
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
4989 $as_echo "$am_cv_func_iconv" >&6; }
4990 if test "$am_cv_func_iconv" = yes; then
4991
4992 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
4993
4994 fi
4995 if test "$am_cv_lib_iconv" = yes; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
4997 $as_echo_n "checking how to link with libiconv... " >&6; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
4999 $as_echo "$LIBICONV" >&6; }
5000 else
5001 CPPFLAGS="$am_save_CPPFLAGS"
5002 LIBICONV=
5003 LTLIBICONV=
5004 fi
5005
5006
5007
5008
5009
5010
5011 use_additional=yes
5012
5013 acl_save_prefix="$prefix"
5014 prefix="$acl_final_prefix"
5015 acl_save_exec_prefix="$exec_prefix"
5016 exec_prefix="$acl_final_exec_prefix"
5017
5018 eval additional_includedir=\"$includedir\"
5019 eval additional_libdir=\"$libdir\"
5020
5021 exec_prefix="$acl_save_exec_prefix"
5022 prefix="$acl_save_prefix"
5023
5024
5025 # Check whether --with-libintl-prefix was given.
5026 if test "${with_libintl_prefix+set}" = set; then :
5027 withval=$with_libintl_prefix;
5028 if test "X$withval" = "Xno"; then
5029 use_additional=no
5030 else
5031 if test "X$withval" = "X"; then
5032
5033 acl_save_prefix="$prefix"
5034 prefix="$acl_final_prefix"
5035 acl_save_exec_prefix="$exec_prefix"
5036 exec_prefix="$acl_final_exec_prefix"
5037
5038 eval additional_includedir=\"$includedir\"
5039 eval additional_libdir=\"$libdir\"
5040
5041 exec_prefix="$acl_save_exec_prefix"
5042 prefix="$acl_save_prefix"
5043
5044 else
5045 additional_includedir="$withval/include"
5046 additional_libdir="$withval/lib"
5047 fi
5048 fi
5049
5050 fi
5051
5052 LIBINTL=
5053 LTLIBINTL=
5054 INCINTL=
5055 rpathdirs=
5056 ltrpathdirs=
5057 names_already_handled=
5058 names_next_round='intl '
5059 while test -n "$names_next_round"; do
5060 names_this_round="$names_next_round"
5061 names_next_round=
5062 for name in $names_this_round; do
5063 already_handled=
5064 for n in $names_already_handled; do
5065 if test "$n" = "$name"; then
5066 already_handled=yes
5067 break
5068 fi
5069 done
5070 if test -z "$already_handled"; then
5071 names_already_handled="$names_already_handled $name"
5072 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5073 eval value=\"\$HAVE_LIB$uppername\"
5074 if test -n "$value"; then
5075 if test "$value" = yes; then
5076 eval value=\"\$LIB$uppername\"
5077 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5078 eval value=\"\$LTLIB$uppername\"
5079 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5080 else
5081 :
5082 fi
5083 else
5084 found_dir=
5085 found_la=
5086 found_so=
5087 found_a=
5088 if test $use_additional = yes; then
5089 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5090 found_dir="$additional_libdir"
5091 found_so="$additional_libdir/lib$name.$shlibext"
5092 if test -f "$additional_libdir/lib$name.la"; then
5093 found_la="$additional_libdir/lib$name.la"
5094 fi
5095 else
5096 if test -f "$additional_libdir/lib$name.$libext"; then
5097 found_dir="$additional_libdir"
5098 found_a="$additional_libdir/lib$name.$libext"
5099 if test -f "$additional_libdir/lib$name.la"; then
5100 found_la="$additional_libdir/lib$name.la"
5101 fi
5102 fi
5103 fi
5104 fi
5105 if test "X$found_dir" = "X"; then
5106 for x in $LDFLAGS $LTLIBINTL; do
5107
5108 acl_save_prefix="$prefix"
5109 prefix="$acl_final_prefix"
5110 acl_save_exec_prefix="$exec_prefix"
5111 exec_prefix="$acl_final_exec_prefix"
5112 eval x=\"$x\"
5113 exec_prefix="$acl_save_exec_prefix"
5114 prefix="$acl_save_prefix"
5115
5116 case "$x" in
5117 -L*)
5118 dir=`echo "X$x" | sed -e 's/^X-L//'`
5119 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5120 found_dir="$dir"
5121 found_so="$dir/lib$name.$shlibext"
5122 if test -f "$dir/lib$name.la"; then
5123 found_la="$dir/lib$name.la"
5124 fi
5125 else
5126 if test -f "$dir/lib$name.$libext"; then
5127 found_dir="$dir"
5128 found_a="$dir/lib$name.$libext"
5129 if test -f "$dir/lib$name.la"; then
5130 found_la="$dir/lib$name.la"
5131 fi
5132 fi
5133 fi
5134 ;;
5135 esac
5136 if test "X$found_dir" != "X"; then
5137 break
5138 fi
5139 done
5140 fi
5141 if test "X$found_dir" != "X"; then
5142 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5143 if test "X$found_so" != "X"; then
5144 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
5145 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5146 else
5147 haveit=
5148 for x in $ltrpathdirs; do
5149 if test "X$x" = "X$found_dir"; then
5150 haveit=yes
5151 break
5152 fi
5153 done
5154 if test -z "$haveit"; then
5155 ltrpathdirs="$ltrpathdirs $found_dir"
5156 fi
5157 if test "$hardcode_direct" = yes; then
5158 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5159 else
5160 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5161 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5162 haveit=
5163 for x in $rpathdirs; do
5164 if test "X$x" = "X$found_dir"; then
5165 haveit=yes
5166 break
5167 fi
5168 done
5169 if test -z "$haveit"; then
5170 rpathdirs="$rpathdirs $found_dir"
5171 fi
5172 else
5173 haveit=
5174 for x in $LDFLAGS $LIBINTL; do
5175
5176 acl_save_prefix="$prefix"
5177 prefix="$acl_final_prefix"
5178 acl_save_exec_prefix="$exec_prefix"
5179 exec_prefix="$acl_final_exec_prefix"
5180 eval x=\"$x\"
5181 exec_prefix="$acl_save_exec_prefix"
5182 prefix="$acl_save_prefix"
5183
5184 if test "X$x" = "X-L$found_dir"; then
5185 haveit=yes
5186 break
5187 fi
5188 done
5189 if test -z "$haveit"; then
5190 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5191 fi
5192 if test "$hardcode_minus_L" != no; then
5193 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5194 else
5195 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5196 fi
5197 fi
5198 fi
5199 fi
5200 else
5201 if test "X$found_a" != "X"; then
5202 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5203 else
5204 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5205 fi
5206 fi
5207 additional_includedir=
5208 case "$found_dir" in
5209 */lib | */lib/)
5210 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5211 additional_includedir="$basedir/include"
5212 ;;
5213 esac
5214 if test "X$additional_includedir" != "X"; then
5215 if test "X$additional_includedir" != "X/usr/include"; then
5216 haveit=
5217 if test "X$additional_includedir" = "X/usr/local/include"; then
5218 if test -n "$GCC"; then
5219 case $host_os in
5220 linux*) haveit=yes;;
5221 esac
5222 fi
5223 fi
5224 if test -z "$haveit"; then
5225 for x in $CPPFLAGS $INCINTL; do
5226
5227 acl_save_prefix="$prefix"
5228 prefix="$acl_final_prefix"
5229 acl_save_exec_prefix="$exec_prefix"
5230 exec_prefix="$acl_final_exec_prefix"
5231 eval x=\"$x\"
5232 exec_prefix="$acl_save_exec_prefix"
5233 prefix="$acl_save_prefix"
5234
5235 if test "X$x" = "X-I$additional_includedir"; then
5236 haveit=yes
5237 break
5238 fi
5239 done
5240 if test -z "$haveit"; then
5241 if test -d "$additional_includedir"; then
5242 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5243 fi
5244 fi
5245 fi
5246 fi
5247 fi
5248 if test -n "$found_la"; then
5249 save_libdir="$libdir"
5250 case "$found_la" in
5251 */* | *\\*) . "$found_la" ;;
5252 *) . "./$found_la" ;;
5253 esac
5254 libdir="$save_libdir"
5255 for dep in $dependency_libs; do
5256 case "$dep" in
5257 -L*)
5258 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5259 if test "X$additional_libdir" != "X/usr/lib"; then
5260 haveit=
5261 if test "X$additional_libdir" = "X/usr/local/lib"; then
5262 if test -n "$GCC"; then
5263 case $host_os in
5264 linux*) haveit=yes;;
5265 esac
5266 fi
5267 fi
5268 if test -z "$haveit"; then
5269 haveit=
5270 for x in $LDFLAGS $LIBINTL; do
5271
5272 acl_save_prefix="$prefix"
5273 prefix="$acl_final_prefix"
5274 acl_save_exec_prefix="$exec_prefix"
5275 exec_prefix="$acl_final_exec_prefix"
5276 eval x=\"$x\"
5277 exec_prefix="$acl_save_exec_prefix"
5278 prefix="$acl_save_prefix"
5279
5280 if test "X$x" = "X-L$additional_libdir"; then
5281 haveit=yes
5282 break
5283 fi
5284 done
5285 if test -z "$haveit"; then
5286 if test -d "$additional_libdir"; then
5287 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5288 fi
5289 fi
5290 haveit=
5291 for x in $LDFLAGS $LTLIBINTL; do
5292
5293 acl_save_prefix="$prefix"
5294 prefix="$acl_final_prefix"
5295 acl_save_exec_prefix="$exec_prefix"
5296 exec_prefix="$acl_final_exec_prefix"
5297 eval x=\"$x\"
5298 exec_prefix="$acl_save_exec_prefix"
5299 prefix="$acl_save_prefix"
5300
5301 if test "X$x" = "X-L$additional_libdir"; then
5302 haveit=yes
5303 break
5304 fi
5305 done
5306 if test -z "$haveit"; then
5307 if test -d "$additional_libdir"; then
5308 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5309 fi
5310 fi
5311 fi
5312 fi
5313 ;;
5314 -R*)
5315 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5316 if test "$enable_rpath" != no; then
5317 haveit=
5318 for x in $rpathdirs; do
5319 if test "X$x" = "X$dir"; then
5320 haveit=yes
5321 break
5322 fi
5323 done
5324 if test -z "$haveit"; then
5325 rpathdirs="$rpathdirs $dir"
5326 fi
5327 haveit=
5328 for x in $ltrpathdirs; do
5329 if test "X$x" = "X$dir"; then
5330 haveit=yes
5331 break
5332 fi
5333 done
5334 if test -z "$haveit"; then
5335 ltrpathdirs="$ltrpathdirs $dir"
5336 fi
5337 fi
5338 ;;
5339 -l*)
5340 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5341 ;;
5342 *.la)
5343 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5344 ;;
5345 *)
5346 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
5347 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5348 ;;
5349 esac
5350 done
5351 fi
5352 else
5353 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5354 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5355 fi
5356 fi
5357 fi
5358 done
5359 done
5360 if test "X$rpathdirs" != "X"; then
5361 if test -n "$hardcode_libdir_separator"; then
5362 alldirs=
5363 for found_dir in $rpathdirs; do
5364 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5365 done
5366 acl_save_libdir="$libdir"
5367 libdir="$alldirs"
5368 eval flag=\"$hardcode_libdir_flag_spec\"
5369 libdir="$acl_save_libdir"
5370 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5371 else
5372 for found_dir in $rpathdirs; do
5373 acl_save_libdir="$libdir"
5374 libdir="$found_dir"
5375 eval flag=\"$hardcode_libdir_flag_spec\"
5376 libdir="$acl_save_libdir"
5377 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5378 done
5379 fi
5380 fi
5381 if test "X$ltrpathdirs" != "X"; then
5382 for found_dir in $ltrpathdirs; do
5383 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
5384 done
5385 fi
5386
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
5388 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
5389 if ${gt_cv_func_gnugettext1_libintl+:} false; then :
5390 $as_echo_n "(cached) " >&6
5391 else
5392 gt_save_CPPFLAGS="$CPPFLAGS"
5393 CPPFLAGS="$CPPFLAGS $INCINTL"
5394 gt_save_LIBS="$LIBS"
5395 LIBS="$LIBS $LIBINTL"
5396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h. */
5398 #include <libintl.h>
5399 extern int _nl_msg_cat_cntr;
5400 extern
5401 #ifdef __cplusplus
5402 "C"
5403 #endif
5404 const char *_nl_expand_alias ();
5405 int
5406 main ()
5407 {
5408 bindtextdomain ("", "");
5409 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5410 ;
5411 return 0;
5412 }
5413 _ACEOF
5414 if ac_fn_c_try_link "$LINENO"; then :
5415 gt_cv_func_gnugettext1_libintl=yes
5416 else
5417 gt_cv_func_gnugettext1_libintl=no
5418 fi
5419 rm -f core conftest.err conftest.$ac_objext \
5420 conftest$ac_exeext conftest.$ac_ext
5421 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
5422 LIBS="$LIBS $LIBICONV"
5423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5424 /* end confdefs.h. */
5425 #include <libintl.h>
5426 extern int _nl_msg_cat_cntr;
5427 extern
5428 #ifdef __cplusplus
5429 "C"
5430 #endif
5431 const char *_nl_expand_alias ();
5432 int
5433 main ()
5434 {
5435 bindtextdomain ("", "");
5436 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5437 ;
5438 return 0;
5439 }
5440 _ACEOF
5441 if ac_fn_c_try_link "$LINENO"; then :
5442 LIBINTL="$LIBINTL $LIBICONV"
5443 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
5444 gt_cv_func_gnugettext1_libintl=yes
5445
5446 fi
5447 rm -f core conftest.err conftest.$ac_objext \
5448 conftest$ac_exeext conftest.$ac_ext
5449 fi
5450 CPPFLAGS="$gt_save_CPPFLAGS"
5451 LIBS="$gt_save_LIBS"
5452 fi
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
5454 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
5455 fi
5456
5457 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
5458 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
5459 && test "$PACKAGE" != gettext; }; then
5460 gt_use_preinstalled_gnugettext=yes
5461 else
5462 LIBINTL=
5463 LTLIBINTL=
5464 INCINTL=
5465 fi
5466
5467
5468
5469 if test "$gt_use_preinstalled_gnugettext" = "yes" \
5470 || test "$nls_cv_use_gnu_gettext" = "yes"; then
5471
5472 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5473
5474 else
5475 USE_NLS=no
5476 fi
5477 fi
5478
5479 if test "$USE_NLS" = "yes"; then
5480
5481 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5482 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
5484 $as_echo_n "checking how to link with libintl... " >&6; }
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
5486 $as_echo "$LIBINTL" >&6; }
5487
5488 for element in $INCINTL; do
5489 haveit=
5490 for x in $CPPFLAGS; do
5491
5492 acl_save_prefix="$prefix"
5493 prefix="$acl_final_prefix"
5494 acl_save_exec_prefix="$exec_prefix"
5495 exec_prefix="$acl_final_exec_prefix"
5496 eval x=\"$x\"
5497 exec_prefix="$acl_save_exec_prefix"
5498 prefix="$acl_save_prefix"
5499
5500 if test "X$x" = "X$element"; then
5501 haveit=yes
5502 break
5503 fi
5504 done
5505 if test -z "$haveit"; then
5506 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5507 fi
5508 done
5509
5510 fi
5511
5512
5513 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5514
5515
5516 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
5517
5518 fi
5519
5520 POSUB=po
5521 fi
5522
5523
5524
5525 INTLLIBS="$LIBINTL"
5526
5527
5528
5529
5530
5531
5532
5533
5534 # Enable GNU extensions.
5535 # Define this here, not in acconfig's @TOP@ section, since definitions
5536 # in the latter don't make it into the configure-time tests.
5537
5538 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5539
5540
5541 # do NOT define POSIX_SOURCE, sicne this clashes with many BSDs
5542
5543 ALL_LINGUAS=""
5544
5545 ac_ext=c
5546 ac_cpp='$CPP $CPPFLAGS'
5547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5551 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5552 # On Suns, sometimes $CPP names a directory.
5553 if test -n "$CPP" && test -d "$CPP"; then
5554 CPP=
5555 fi
5556 if test -z "$CPP"; then
5557 if ${ac_cv_prog_CPP+:} false; then :
5558 $as_echo_n "(cached) " >&6
5559 else
5560 # Double quotes because CPP needs to be expanded
5561 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5562 do
5563 ac_preproc_ok=false
5564 for ac_c_preproc_warn_flag in '' yes
5565 do
5566 # Use a header file that comes with gcc, so configuring glibc
5567 # with a fresh cross-compiler works.
5568 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5569 # <limits.h> exists even on freestanding compilers.
5570 # On the NeXT, cc -E runs the code through the compiler's parser,
5571 # not just through cpp. "Syntax error" is here to catch this case.
5572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5573 /* end confdefs.h. */
5574 #ifdef __STDC__
5575 # include <limits.h>
5576 #else
5577 # include <assert.h>
5578 #endif
5579 Syntax error
5580 _ACEOF
5581 if ac_fn_c_try_cpp "$LINENO"; then :
5582
5583 else
5584 # Broken: fails on valid input.
5585 continue
5586 fi
5587 rm -f conftest.err conftest.i conftest.$ac_ext
5588
5589 # OK, works on sane cases. Now check whether nonexistent headers
5590 # can be detected and how.
5591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h. */
5593 #include <ac_nonexistent.h>
5594 _ACEOF
5595 if ac_fn_c_try_cpp "$LINENO"; then :
5596 # Broken: success on invalid input.
5597 continue
5598 else
5599 # Passes both tests.
5600 ac_preproc_ok=:
5601 break
5602 fi
5603 rm -f conftest.err conftest.i conftest.$ac_ext
5604
5605 done
5606 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5607 rm -f conftest.i conftest.err conftest.$ac_ext
5608 if $ac_preproc_ok; then :
5609 break
5610 fi
5611
5612 done
5613 ac_cv_prog_CPP=$CPP
5614
5615 fi
5616 CPP=$ac_cv_prog_CPP
5617 else
5618 ac_cv_prog_CPP=$CPP
5619 fi
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5621 $as_echo "$CPP" >&6; }
5622 ac_preproc_ok=false
5623 for ac_c_preproc_warn_flag in '' yes
5624 do
5625 # Use a header file that comes with gcc, so configuring glibc
5626 # with a fresh cross-compiler works.
5627 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5628 # <limits.h> exists even on freestanding compilers.
5629 # On the NeXT, cc -E runs the code through the compiler's parser,
5630 # not just through cpp. "Syntax error" is here to catch this case.
5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5633 #ifdef __STDC__
5634 # include <limits.h>
5635 #else
5636 # include <assert.h>
5637 #endif
5638 Syntax error
5639 _ACEOF
5640 if ac_fn_c_try_cpp "$LINENO"; then :
5641
5642 else
5643 # Broken: fails on valid input.
5644 continue
5645 fi
5646 rm -f conftest.err conftest.i conftest.$ac_ext
5647
5648 # OK, works on sane cases. Now check whether nonexistent headers
5649 # can be detected and how.
5650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5651 /* end confdefs.h. */
5652 #include <ac_nonexistent.h>
5653 _ACEOF
5654 if ac_fn_c_try_cpp "$LINENO"; then :
5655 # Broken: success on invalid input.
5656 continue
5657 else
5658 # Passes both tests.
5659 ac_preproc_ok=:
5660 break
5661 fi
5662 rm -f conftest.err conftest.i conftest.$ac_ext
5663
5664 done
5665 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5666 rm -f conftest.i conftest.err conftest.$ac_ext
5667 if $ac_preproc_ok; then :
5668
5669 else
5670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5672 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5673 See \`config.log' for more details" "$LINENO" 5; }
5674 fi
5675
5676 ac_ext=c
5677 ac_cpp='$CPP $CPPFLAGS'
5678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5681
5682 ac_ext=cpp
5683 ac_cpp='$CXXCPP $CPPFLAGS'
5684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5687 if test -z "$CXX"; then
5688 if test -n "$CCC"; then
5689 CXX=$CCC
5690 else
5691 if test -n "$ac_tool_prefix"; then
5692 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5693 do
5694 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5695 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5697 $as_echo_n "checking for $ac_word... " >&6; }
5698 if ${ac_cv_prog_CXX+:} false; then :
5699 $as_echo_n "(cached) " >&6
5700 else
5701 if test -n "$CXX"; then
5702 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5703 else
5704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705 for as_dir in $PATH
5706 do
5707 IFS=$as_save_IFS
5708 test -z "$as_dir" && as_dir=.
5709 for ac_exec_ext in '' $ac_executable_extensions; do
5710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5711 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 break 2
5714 fi
5715 done
5716 done
5717 IFS=$as_save_IFS
5718
5719 fi
5720 fi
5721 CXX=$ac_cv_prog_CXX
5722 if test -n "$CXX"; then
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5724 $as_echo "$CXX" >&6; }
5725 else
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727 $as_echo "no" >&6; }
5728 fi
5729
5730
5731 test -n "$CXX" && break
5732 done
5733 fi
5734 if test -z "$CXX"; then
5735 ac_ct_CXX=$CXX
5736 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5737 do
5738 # Extract the first word of "$ac_prog", so it can be a program name with args.
5739 set dummy $ac_prog; ac_word=$2
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5741 $as_echo_n "checking for $ac_word... " >&6; }
5742 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5743 $as_echo_n "(cached) " >&6
5744 else
5745 if test -n "$ac_ct_CXX"; then
5746 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5747 else
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5749 for as_dir in $PATH
5750 do
5751 IFS=$as_save_IFS
5752 test -z "$as_dir" && as_dir=.
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5755 ac_cv_prog_ac_ct_CXX="$ac_prog"
5756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 break 2
5758 fi
5759 done
5760 done
5761 IFS=$as_save_IFS
5762
5763 fi
5764 fi
5765 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5766 if test -n "$ac_ct_CXX"; then
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5768 $as_echo "$ac_ct_CXX" >&6; }
5769 else
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5772 fi
5773
5774
5775 test -n "$ac_ct_CXX" && break
5776 done
5777
5778 if test "x$ac_ct_CXX" = x; then
5779 CXX="g++"
5780 else
5781 case $cross_compiling:$ac_tool_warned in
5782 yes:)
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5785 ac_tool_warned=yes ;;
5786 esac
5787 CXX=$ac_ct_CXX
5788 fi
5789 fi
5790
5791 fi
5792 fi
5793 # Provide some information about the compiler.
5794 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5795 set X $ac_compile
5796 ac_compiler=$2
5797 for ac_option in --version -v -V -qversion; do
5798 { { ac_try="$ac_compiler $ac_option >&5"
5799 case "(($ac_try" in
5800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5801 *) ac_try_echo=$ac_try;;
5802 esac
5803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5804 $as_echo "$ac_try_echo"; } >&5
5805 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5806 ac_status=$?
5807 if test -s conftest.err; then
5808 sed '10a\
5809 ... rest of stderr output deleted ...
5810 10q' conftest.err >conftest.er1
5811 cat conftest.er1 >&5
5812 fi
5813 rm -f conftest.er1 conftest.err
5814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5815 test $ac_status = 0; }
5816 done
5817
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5819 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5820 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5821 $as_echo_n "(cached) " >&6
5822 else
5823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5824 /* end confdefs.h. */
5825
5826 int
5827 main ()
5828 {
5829 #ifndef __GNUC__
5830 choke me
5831 #endif
5832
5833 ;
5834 return 0;
5835 }
5836 _ACEOF
5837 if ac_fn_cxx_try_compile "$LINENO"; then :
5838 ac_compiler_gnu=yes
5839 else
5840 ac_compiler_gnu=no
5841 fi
5842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5843 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5844
5845 fi
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5847 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5848 if test $ac_compiler_gnu = yes; then
5849 GXX=yes
5850 else
5851 GXX=
5852 fi
5853 ac_test_CXXFLAGS=${CXXFLAGS+set}
5854 ac_save_CXXFLAGS=$CXXFLAGS
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5856 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5857 if ${ac_cv_prog_cxx_g+:} false; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5861 ac_cxx_werror_flag=yes
5862 ac_cv_prog_cxx_g=no
5863 CXXFLAGS="-g"
5864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5865 /* end confdefs.h. */
5866
5867 int
5868 main ()
5869 {
5870
5871 ;
5872 return 0;
5873 }
5874 _ACEOF
5875 if ac_fn_cxx_try_compile "$LINENO"; then :
5876 ac_cv_prog_cxx_g=yes
5877 else
5878 CXXFLAGS=""
5879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5880 /* end confdefs.h. */
5881
5882 int
5883 main ()
5884 {
5885
5886 ;
5887 return 0;
5888 }
5889 _ACEOF
5890 if ac_fn_cxx_try_compile "$LINENO"; then :
5891
5892 else
5893 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5894 CXXFLAGS="-g"
5895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5896 /* end confdefs.h. */
5897
5898 int
5899 main ()
5900 {
5901
5902 ;
5903 return 0;
5904 }
5905 _ACEOF
5906 if ac_fn_cxx_try_compile "$LINENO"; then :
5907 ac_cv_prog_cxx_g=yes
5908 fi
5909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5910 fi
5911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5912 fi
5913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5914 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5915 fi
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5917 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5918 if test "$ac_test_CXXFLAGS" = set; then
5919 CXXFLAGS=$ac_save_CXXFLAGS
5920 elif test $ac_cv_prog_cxx_g = yes; then
5921 if test "$GXX" = yes; then
5922 CXXFLAGS="-g -O2"
5923 else
5924 CXXFLAGS="-g"
5925 fi
5926 else
5927 if test "$GXX" = yes; then
5928 CXXFLAGS="-O2"
5929 else
5930 CXXFLAGS=
5931 fi
5932 fi
5933 ac_ext=c
5934 ac_cpp='$CPP $CPPFLAGS'
5935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5938
5939 depcc="$CXX" am_compiler_list=
5940
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5942 $as_echo_n "checking dependency style of $depcc... " >&6; }
5943 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5944 $as_echo_n "(cached) " >&6
5945 else
5946 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5947 # We make a subdir and do the tests there. Otherwise we can end up
5948 # making bogus files that we don't know about and never remove. For
5949 # instance it was reported that on HP-UX the gcc test will end up
5950 # making a dummy file named `D' -- because `-MD' means `put the output
5951 # in D'.
5952 mkdir conftest.dir
5953 # Copy depcomp to subdir because otherwise we won't find it if we're
5954 # using a relative directory.
5955 cp "$am_depcomp" conftest.dir
5956 cd conftest.dir
5957 # We will build objects and dependencies in a subdirectory because
5958 # it helps to detect inapplicable dependency modes. For instance
5959 # both Tru64's cc and ICC support -MD to output dependencies as a
5960 # side effect of compilation, but ICC will put the dependencies in
5961 # the current directory while Tru64 will put them in the object
5962 # directory.
5963 mkdir sub
5964
5965 am_cv_CXX_dependencies_compiler_type=none
5966 if test "$am_compiler_list" = ""; then
5967 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5968 fi
5969 for depmode in $am_compiler_list; do
5970 # Setup a source with many dependencies, because some compilers
5971 # like to wrap large dependency lists on column 80 (with \), and
5972 # we should not choose a depcomp mode which is confused by this.
5973 #
5974 # We need to recreate these files for each test, as the compiler may
5975 # overwrite some of them when testing with obscure command lines.
5976 # This happens at least with the AIX C compiler.
5977 : > sub/conftest.c
5978 for i in 1 2 3 4 5 6; do
5979 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5980 : > sub/conftst$i.h
5981 done
5982 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5983
5984 case $depmode in
5985 nosideeffect)
5986 # after this tag, mechanisms are not by side-effect, so they'll
5987 # only be used when explicitly requested
5988 if test "x$enable_dependency_tracking" = xyes; then
5989 continue
5990 else
5991 break
5992 fi
5993 ;;
5994 none) break ;;
5995 esac
5996 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5997 # mode. It turns out that the SunPro C++ compiler does not properly
5998 # handle `-M -o', and we need to detect this.
5999 if depmode=$depmode \
6000 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6001 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6002 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6003 >/dev/null 2>conftest.err &&
6004 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6005 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6006 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6007 # icc doesn't choke on unknown options, it will just issue warnings
6008 # (even with -Werror). So we grep stderr for any message
6009 # that says an option was ignored.
6010 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
6011 am_cv_CXX_dependencies_compiler_type=$depmode
6012 break
6013 fi
6014 fi
6015 done
6016
6017 cd ..
6018 rm -rf conftest.dir
6019 else
6020 am_cv_CXX_dependencies_compiler_type=none
6021 fi
6022
6023 fi
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6025 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6026 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6027
6028
6029
6030 if
6031 test "x$enable_dependency_tracking" != xno \
6032 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6033 am__fastdepCXX_TRUE=
6034 am__fastdepCXX_FALSE='#'
6035 else
6036 am__fastdepCXX_TRUE='#'
6037 am__fastdepCXX_FALSE=
6038 fi
6039
6040
6041
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6043 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6044 if ${ac_cv_path_GREP+:} false; then :
6045 $as_echo_n "(cached) " >&6
6046 else
6047 if test -z "$GREP"; then
6048 ac_path_GREP_found=false
6049 # Loop through the user's path and test for each of PROGNAME-LIST
6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6052 do
6053 IFS=$as_save_IFS
6054 test -z "$as_dir" && as_dir=.
6055 for ac_prog in grep ggrep; do
6056 for ac_exec_ext in '' $ac_executable_extensions; do
6057 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6058 as_fn_executable_p "$ac_path_GREP" || continue
6059 # Check for GNU ac_path_GREP and select it if it is found.
6060 # Check for GNU $ac_path_GREP
6061 case `"$ac_path_GREP" --version 2>&1` in
6062 *GNU*)
6063 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6064 *)
6065 ac_count=0
6066 $as_echo_n 0123456789 >"conftest.in"
6067 while :
6068 do
6069 cat "conftest.in" "conftest.in" >"conftest.tmp"
6070 mv "conftest.tmp" "conftest.in"
6071 cp "conftest.in" "conftest.nl"
6072 $as_echo 'GREP' >> "conftest.nl"
6073 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6074 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6075 as_fn_arith $ac_count + 1 && ac_count=$as_val
6076 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6077 # Best one so far, save it but keep looking for a better one
6078 ac_cv_path_GREP="$ac_path_GREP"
6079 ac_path_GREP_max=$ac_count
6080 fi
6081 # 10*(2^10) chars as input seems more than enough
6082 test $ac_count -gt 10 && break
6083 done
6084 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6085 esac
6086
6087 $ac_path_GREP_found && break 3
6088 done
6089 done
6090 done
6091 IFS=$as_save_IFS
6092 if test -z "$ac_cv_path_GREP"; then
6093 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6094 fi
6095 else
6096 ac_cv_path_GREP=$GREP
6097 fi
6098
6099 fi
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6101 $as_echo "$ac_cv_path_GREP" >&6; }
6102 GREP="$ac_cv_path_GREP"
6103
6104
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6106 $as_echo_n "checking for egrep... " >&6; }
6107 if ${ac_cv_path_EGREP+:} false; then :
6108 $as_echo_n "(cached) " >&6
6109 else
6110 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6111 then ac_cv_path_EGREP="$GREP -E"
6112 else
6113 if test -z "$EGREP"; then
6114 ac_path_EGREP_found=false
6115 # Loop through the user's path and test for each of PROGNAME-LIST
6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6118 do
6119 IFS=$as_save_IFS
6120 test -z "$as_dir" && as_dir=.
6121 for ac_prog in egrep; do
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6124 as_fn_executable_p "$ac_path_EGREP" || continue
6125 # Check for GNU ac_path_EGREP and select it if it is found.
6126 # Check for GNU $ac_path_EGREP
6127 case `"$ac_path_EGREP" --version 2>&1` in
6128 *GNU*)
6129 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6130 *)
6131 ac_count=0
6132 $as_echo_n 0123456789 >"conftest.in"
6133 while :
6134 do
6135 cat "conftest.in" "conftest.in" >"conftest.tmp"
6136 mv "conftest.tmp" "conftest.in"
6137 cp "conftest.in" "conftest.nl"
6138 $as_echo 'EGREP' >> "conftest.nl"
6139 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6140 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6141 as_fn_arith $ac_count + 1 && ac_count=$as_val
6142 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6143 # Best one so far, save it but keep looking for a better one
6144 ac_cv_path_EGREP="$ac_path_EGREP"
6145 ac_path_EGREP_max=$ac_count
6146 fi
6147 # 10*(2^10) chars as input seems more than enough
6148 test $ac_count -gt 10 && break
6149 done
6150 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6151 esac
6152
6153 $ac_path_EGREP_found && break 3
6154 done
6155 done
6156 done
6157 IFS=$as_save_IFS
6158 if test -z "$ac_cv_path_EGREP"; then
6159 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6160 fi
6161 else
6162 ac_cv_path_EGREP=$EGREP
6163 fi
6164
6165 fi
6166 fi
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6168 $as_echo "$ac_cv_path_EGREP" >&6; }
6169 EGREP="$ac_cv_path_EGREP"
6170
6171
6172 if test $ac_cv_c_compiler_gnu = yes; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
6174 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
6175 if ${ac_cv_prog_gcc_traditional+:} false; then :
6176 $as_echo_n "(cached) " >&6
6177 else
6178 ac_pattern="Autoconf.*'x'"
6179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6180 /* end confdefs.h. */
6181 #include <sgtty.h>
6182 Autoconf TIOCGETP
6183 _ACEOF
6184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6185 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
6186 ac_cv_prog_gcc_traditional=yes
6187 else
6188 ac_cv_prog_gcc_traditional=no
6189 fi
6190 rm -f conftest*
6191
6192
6193 if test $ac_cv_prog_gcc_traditional = no; then
6194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6195 /* end confdefs.h. */
6196 #include <termio.h>
6197 Autoconf TCGETA
6198 _ACEOF
6199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6200 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
6201 ac_cv_prog_gcc_traditional=yes
6202 fi
6203 rm -f conftest*
6204
6205 fi
6206 fi
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
6208 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
6209 if test $ac_cv_prog_gcc_traditional = yes; then
6210 CC="$CC -traditional"
6211 fi
6212 fi
6213
6214 for ac_prog in gawk mawk nawk awk
6215 do
6216 # Extract the first word of "$ac_prog", so it can be a program name with args.
6217 set dummy $ac_prog; ac_word=$2
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219 $as_echo_n "checking for $ac_word... " >&6; }
6220 if ${ac_cv_prog_AWK+:} false; then :
6221 $as_echo_n "(cached) " >&6
6222 else
6223 if test -n "$AWK"; then
6224 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6225 else
6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6227 for as_dir in $PATH
6228 do
6229 IFS=$as_save_IFS
6230 test -z "$as_dir" && as_dir=.
6231 for ac_exec_ext in '' $ac_executable_extensions; do
6232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6233 ac_cv_prog_AWK="$ac_prog"
6234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6235 break 2
6236 fi
6237 done
6238 done
6239 IFS=$as_save_IFS
6240
6241 fi
6242 fi
6243 AWK=$ac_cv_prog_AWK
6244 if test -n "$AWK"; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6246 $as_echo "$AWK" >&6; }
6247 else
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6249 $as_echo "no" >&6; }
6250 fi
6251
6252
6253 test -n "$AWK" && break
6254 done
6255
6256
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6258 $as_echo_n "checking whether ln -s works... " >&6; }
6259 LN_S=$as_ln_s
6260 if test "$LN_S" = "ln -s"; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6262 $as_echo "yes" >&6; }
6263 else
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6265 $as_echo "no, using $LN_S" >&6; }
6266 fi
6267
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6269 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6270 set x ${MAKE-make}
6271 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6272 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6273 $as_echo_n "(cached) " >&6
6274 else
6275 cat >conftest.make <<\_ACEOF
6276 SHELL = /bin/sh
6277 all:
6278 @echo '@@@%%%=$(MAKE)=@@@%%%'
6279 _ACEOF
6280 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6281 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6282 *@@@%%%=?*=@@@%%%*)
6283 eval ac_cv_prog_make_${ac_make}_set=yes;;
6284 *)
6285 eval ac_cv_prog_make_${ac_make}_set=no;;
6286 esac
6287 rm -f conftest.make
6288 fi
6289 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6291 $as_echo "yes" >&6; }
6292 SET_MAKE=
6293 else
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6295 $as_echo "no" >&6; }
6296 SET_MAKE="MAKE=${MAKE-make}"
6297 fi
6298
6299 if test -n "$ac_tool_prefix"; then
6300 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6301 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6303 $as_echo_n "checking for $ac_word... " >&6; }
6304 if ${ac_cv_prog_RANLIB+:} false; then :
6305 $as_echo_n "(cached) " >&6
6306 else
6307 if test -n "$RANLIB"; then
6308 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6309 else
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 for as_dir in $PATH
6312 do
6313 IFS=$as_save_IFS
6314 test -z "$as_dir" && as_dir=.
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6317 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6319 break 2
6320 fi
6321 done
6322 done
6323 IFS=$as_save_IFS
6324
6325 fi
6326 fi
6327 RANLIB=$ac_cv_prog_RANLIB
6328 if test -n "$RANLIB"; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6330 $as_echo "$RANLIB" >&6; }
6331 else
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6333 $as_echo "no" >&6; }
6334 fi
6335
6336
6337 fi
6338 if test -z "$ac_cv_prog_RANLIB"; then
6339 ac_ct_RANLIB=$RANLIB
6340 # Extract the first word of "ranlib", so it can be a program name with args.
6341 set dummy ranlib; ac_word=$2
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6343 $as_echo_n "checking for $ac_word... " >&6; }
6344 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6345 $as_echo_n "(cached) " >&6
6346 else
6347 if test -n "$ac_ct_RANLIB"; then
6348 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6349 else
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 for as_dir in $PATH
6352 do
6353 IFS=$as_save_IFS
6354 test -z "$as_dir" && as_dir=.
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6357 ac_cv_prog_ac_ct_RANLIB="ranlib"
6358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6359 break 2
6360 fi
6361 done
6362 done
6363 IFS=$as_save_IFS
6364
6365 fi
6366 fi
6367 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6368 if test -n "$ac_ct_RANLIB"; then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6370 $as_echo "$ac_ct_RANLIB" >&6; }
6371 else
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6373 $as_echo "no" >&6; }
6374 fi
6375
6376 if test "x$ac_ct_RANLIB" = x; then
6377 RANLIB=":"
6378 else
6379 case $cross_compiling:$ac_tool_warned in
6380 yes:)
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6383 ac_tool_warned=yes ;;
6384 esac
6385 RANLIB=$ac_ct_RANLIB
6386 fi
6387 else
6388 RANLIB="$ac_cv_prog_RANLIB"
6389 fi
6390
6391
6392 # Check whether --enable-iftype was given.
6393 if test "${enable_iftype+set}" = set; then :
6394 enableval=$enable_iftype;
6395 IFTYPE=`echo $enableval | sed s%/.*%%`
6396 IFSUBTYPE=`echo $enableval | sed s%.*/%%`
6397
6398
6399 fi
6400
6401
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kernel networking interface type" >&5
6403 $as_echo_n "checking for kernel networking interface type... " >&6; }
6404
6405 if test "x$IFTYPE" = "x"; then
6406 case $target_os in
6407 *linux*)
6408 IFTYPE=native
6409 IFSUBTYPE=linux
6410
6411 $as_echo "#define HAVE_LINUX 1" >>confdefs.h
6412
6413 ;;
6414 *freebsd*)
6415 IFTYPE=tincd
6416 IFSUBTYPE=freebsd
6417
6418 $as_echo "#define HAVE_FREEBSD 1" >>confdefs.h
6419
6420 ;;
6421 *darwin*)
6422 IFTYPE=native
6423 IFSUBTYPE=darwin
6424
6425 $as_echo "#define HAVE_DARWIN 1" >>confdefs.h
6426
6427 ;;
6428 *solaris*)
6429 IFTYPE=tincd
6430 IFSUBTYPE=solaris
6431
6432 $as_echo "#define HAVE_SOLARIS 1" >>confdefs.h
6433
6434 ;;
6435 *openbsd*)
6436 IFTYPE=tincd
6437 IFSUBTYPE=openbsd
6438
6439 $as_echo "#define HAVE_OPENBSD 1" >>confdefs.h
6440
6441 ;;
6442 *netbsd*)
6443 IFTYPE=tincd
6444 IFSUBTYPE=netbsd
6445
6446 $as_echo "#define HAVE_NETBSD 1" >>confdefs.h
6447
6448 ;;
6449 *cygwin*)
6450 IFTYPE=native
6451 IFSUBTYPE=cygwin
6452
6453 $as_echo "#define HAVE_CYGWIN 1" >>confdefs.h
6454
6455 ;;
6456 *)
6457 as_fn_error $? "\"Unknown operating system.\"" "$LINENO" 5
6458 ;;
6459 esac
6460 fi
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IFTYPE/$IFSUBTYPE" >&5
6462 $as_echo "$IFTYPE/$IFSUBTYPE" >&6; }
6463 IFTYPE=$IFTYPE
6464
6465 IFSUBTYPE=$IFSUBTYPE
6466
6467
6468 cat >>confdefs.h <<_ACEOF
6469 #define IFTYPE "$IFTYPE"
6470 _ACEOF
6471
6472
6473 cat >>confdefs.h <<_ACEOF
6474 #define IFSUBTYPE "$IFSUBTYPE"
6475 _ACEOF
6476
6477
6478 cat >confcache <<\_ACEOF
6479 # This file is a shell script that caches the results of configure
6480 # tests run on this system so they can be shared between configure
6481 # scripts and configure runs, see configure's option --config-cache.
6482 # It is not useful on other systems. If it contains results you don't
6483 # want to keep, you may remove or edit it.
6484 #
6485 # config.status only pays attention to the cache file if you give it
6486 # the --recheck option to rerun configure.
6487 #
6488 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6489 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6490 # following values.
6491
6492 _ACEOF
6493
6494 # The following way of writing the cache mishandles newlines in values,
6495 # but we know of no workaround that is simple, portable, and efficient.
6496 # So, we kill variables containing newlines.
6497 # Ultrix sh set writes to stderr and can't be redirected directly,
6498 # and sets the high bit in the cache file unless we assign to the vars.
6499 (
6500 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6501 eval ac_val=\$$ac_var
6502 case $ac_val in #(
6503 *${as_nl}*)
6504 case $ac_var in #(
6505 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6506 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6507 esac
6508 case $ac_var in #(
6509 _ | IFS | as_nl) ;; #(
6510 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6511 *) { eval $ac_var=; unset $ac_var;} ;;
6512 esac ;;
6513 esac
6514 done
6515
6516 (set) 2>&1 |
6517 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6518 *${as_nl}ac_space=\ *)
6519 # `set' does not quote correctly, so add quotes: double-quote
6520 # substitution turns \\\\ into \\, and sed turns \\ into \.
6521 sed -n \
6522 "s/'/'\\\\''/g;
6523 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6524 ;; #(
6525 *)
6526 # `set' quotes correctly as required by POSIX, so do not add quotes.
6527 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6528 ;;
6529 esac |
6530 sort
6531 ) |
6532 sed '
6533 /^ac_cv_env_/b end
6534 t clear
6535 :clear
6536 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6537 t end
6538 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6539 :end' >>confcache
6540 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6541 if test -w "$cache_file"; then
6542 if test "x$cache_file" != "x/dev/null"; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6544 $as_echo "$as_me: updating cache $cache_file" >&6;}
6545 if test ! -f "$cache_file" || test -h "$cache_file"; then
6546 cat confcache >"$cache_file"
6547 else
6548 case $cache_file in #(
6549 */* | ?:*)
6550 mv -f confcache "$cache_file"$$ &&
6551 mv -f "$cache_file"$$ "$cache_file" ;; #(
6552 *)
6553 mv -f confcache "$cache_file" ;;
6554 esac
6555 fi
6556 fi
6557 else
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6559 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6560 fi
6561 fi
6562 rm -f confcache
6563
6564
6565 ac_ext=cpp
6566 ac_cpp='$CXXCPP $CPPFLAGS'
6567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6570
6571
6572 ac_ext=cpp
6573 ac_cpp='$CXXCPP $CPPFLAGS'
6574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6578 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6579 if test -z "$CXXCPP"; then
6580 if ${ac_cv_prog_CXXCPP+:} false; then :
6581 $as_echo_n "(cached) " >&6
6582 else
6583 # Double quotes because CXXCPP needs to be expanded
6584 for CXXCPP in "$CXX -E" "/lib/cpp"
6585 do
6586 ac_preproc_ok=false
6587 for ac_cxx_preproc_warn_flag in '' yes
6588 do
6589 # Use a header file that comes with gcc, so configuring glibc
6590 # with a fresh cross-compiler works.
6591 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6592 # <limits.h> exists even on freestanding compilers.
6593 # On the NeXT, cc -E runs the code through the compiler's parser,
6594 # not just through cpp. "Syntax error" is here to catch this case.
6595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h. */
6597 #ifdef __STDC__
6598 # include <limits.h>
6599 #else
6600 # include <assert.h>
6601 #endif
6602 Syntax error
6603 _ACEOF
6604 if ac_fn_cxx_try_cpp "$LINENO"; then :
6605
6606 else
6607 # Broken: fails on valid input.
6608 continue
6609 fi
6610 rm -f conftest.err conftest.i conftest.$ac_ext
6611
6612 # OK, works on sane cases. Now check whether nonexistent headers
6613 # can be detected and how.
6614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h. */
6616 #include <ac_nonexistent.h>
6617 _ACEOF
6618 if ac_fn_cxx_try_cpp "$LINENO"; then :
6619 # Broken: success on invalid input.
6620 continue
6621 else
6622 # Passes both tests.
6623 ac_preproc_ok=:
6624 break
6625 fi
6626 rm -f conftest.err conftest.i conftest.$ac_ext
6627
6628 done
6629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6630 rm -f conftest.i conftest.err conftest.$ac_ext
6631 if $ac_preproc_ok; then :
6632 break
6633 fi
6634
6635 done
6636 ac_cv_prog_CXXCPP=$CXXCPP
6637
6638 fi
6639 CXXCPP=$ac_cv_prog_CXXCPP
6640 else
6641 ac_cv_prog_CXXCPP=$CXXCPP
6642 fi
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6644 $as_echo "$CXXCPP" >&6; }
6645 ac_preproc_ok=false
6646 for ac_cxx_preproc_warn_flag in '' yes
6647 do
6648 # Use a header file that comes with gcc, so configuring glibc
6649 # with a fresh cross-compiler works.
6650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6651 # <limits.h> exists even on freestanding compilers.
6652 # On the NeXT, cc -E runs the code through the compiler's parser,
6653 # not just through cpp. "Syntax error" is here to catch this case.
6654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6655 /* end confdefs.h. */
6656 #ifdef __STDC__
6657 # include <limits.h>
6658 #else
6659 # include <assert.h>
6660 #endif
6661 Syntax error
6662 _ACEOF
6663 if ac_fn_cxx_try_cpp "$LINENO"; then :
6664
6665 else
6666 # Broken: fails on valid input.
6667 continue
6668 fi
6669 rm -f conftest.err conftest.i conftest.$ac_ext
6670
6671 # OK, works on sane cases. Now check whether nonexistent headers
6672 # can be detected and how.
6673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6674 /* end confdefs.h. */
6675 #include <ac_nonexistent.h>
6676 _ACEOF
6677 if ac_fn_cxx_try_cpp "$LINENO"; then :
6678 # Broken: success on invalid input.
6679 continue
6680 else
6681 # Passes both tests.
6682 ac_preproc_ok=:
6683 break
6684 fi
6685 rm -f conftest.err conftest.i conftest.$ac_ext
6686
6687 done
6688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6689 rm -f conftest.i conftest.err conftest.$ac_ext
6690 if $ac_preproc_ok; then :
6691
6692 else
6693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6695 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6696 See \`config.log' for more details" "$LINENO" 5; }
6697 fi
6698
6699 ac_ext=cpp
6700 ac_cpp='$CXXCPP $CPPFLAGS'
6701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6704
6705
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6707 $as_echo_n "checking for ANSI C header files... " >&6; }
6708 if ${ac_cv_header_stdc+:} false; then :
6709 $as_echo_n "(cached) " >&6
6710 else
6711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6713 #include <stdlib.h>
6714 #include <stdarg.h>
6715 #include <string.h>
6716 #include <float.h>
6717
6718 int
6719 main ()
6720 {
6721
6722 ;
6723 return 0;
6724 }
6725 _ACEOF
6726 if ac_fn_cxx_try_compile "$LINENO"; then :
6727 ac_cv_header_stdc=yes
6728 else
6729 ac_cv_header_stdc=no
6730 fi
6731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6732
6733 if test $ac_cv_header_stdc = yes; then
6734 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6736 /* end confdefs.h. */
6737 #include <string.h>
6738
6739 _ACEOF
6740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6741 $EGREP "memchr" >/dev/null 2>&1; then :
6742
6743 else
6744 ac_cv_header_stdc=no
6745 fi
6746 rm -f conftest*
6747
6748 fi
6749
6750 if test $ac_cv_header_stdc = yes; then
6751 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6753 /* end confdefs.h. */
6754 #include <stdlib.h>
6755
6756 _ACEOF
6757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6758 $EGREP "free" >/dev/null 2>&1; then :
6759
6760 else
6761 ac_cv_header_stdc=no
6762 fi
6763 rm -f conftest*
6764
6765 fi
6766
6767 if test $ac_cv_header_stdc = yes; then
6768 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6769 if test "$cross_compiling" = yes; then :
6770 :
6771 else
6772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6773 /* end confdefs.h. */
6774 #include <ctype.h>
6775 #include <stdlib.h>
6776 #if ((' ' & 0x0FF) == 0x020)
6777 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6778 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6779 #else
6780 # define ISLOWER(c) \
6781 (('a' <= (c) && (c) <= 'i') \
6782 || ('j' <= (c) && (c) <= 'r') \
6783 || ('s' <= (c) && (c) <= 'z'))
6784 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6785 #endif
6786
6787 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6788 int
6789 main ()
6790 {
6791 int i;
6792 for (i = 0; i < 256; i++)
6793 if (XOR (islower (i), ISLOWER (i))
6794 || toupper (i) != TOUPPER (i))
6795 return 2;
6796 return 0;
6797 }
6798 _ACEOF
6799 if ac_fn_cxx_try_run "$LINENO"; then :
6800
6801 else
6802 ac_cv_header_stdc=no
6803 fi
6804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6805 conftest.$ac_objext conftest.beam conftest.$ac_ext
6806 fi
6807
6808 fi
6809 fi
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6811 $as_echo "$ac_cv_header_stdc" >&6; }
6812 if test $ac_cv_header_stdc = yes; then
6813
6814 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6815
6816 fi
6817
6818 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6819 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6820 inttypes.h stdint.h unistd.h
6821 do :
6822 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6823 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6824 "
6825 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6826 cat >>confdefs.h <<_ACEOF
6827 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6828 _ACEOF
6829
6830 fi
6831
6832 done
6833
6834
6835 for ac_header in tr1/unordered_map ext/hash_map clocale
6836 do :
6837 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6838 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6839 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6840 cat >>confdefs.h <<_ACEOF
6841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6842 _ACEOF
6843
6844 fi
6845
6846 done
6847
6848
6849 for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \
6850 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h \
6851 sys/mman.h netinet/in.h
6852 do :
6853 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6854 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6855 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6856 cat >>confdefs.h <<_ACEOF
6857 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6858 _ACEOF
6859
6860 fi
6861
6862 done
6863
6864 for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h
6865 do :
6866 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6867 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
6868 #include <sys/types.h>
6869 #include <sys/socket.h>
6870 #ifdef HAVE_NETINET_IN_H
6871 # include <netinet/in.h>
6872 #endif
6873 #ifdef HAVE_ARPA_INET_H
6874 # include <arpa/inet.h>
6875 #endif
6876 #ifdef HAVE_NETINET_IN_SYSTM_H
6877 # include <netinet/in_systm.h>
6878 #endif
6879
6880 "
6881 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6882 cat >>confdefs.h <<_ACEOF
6883 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6884 _ACEOF
6885
6886 fi
6887
6888 done
6889
6890
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6892 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6893 if ${ac_cv_c_const+:} false; then :
6894 $as_echo_n "(cached) " >&6
6895 else
6896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6897 /* end confdefs.h. */
6898
6899 int
6900 main ()
6901 {
6902
6903 #ifndef __cplusplus
6904 /* Ultrix mips cc rejects this sort of thing. */
6905 typedef int charset[2];
6906 const charset cs = { 0, 0 };
6907 /* SunOS 4.1.1 cc rejects this. */
6908 char const *const *pcpcc;
6909 char **ppc;
6910 /* NEC SVR4.0.2 mips cc rejects this. */
6911 struct point {int x, y;};
6912 static struct point const zero = {0,0};
6913 /* AIX XL C 1.02.0.0 rejects this.
6914 It does not let you subtract one const X* pointer from another in
6915 an arm of an if-expression whose if-part is not a constant
6916 expression */
6917 const char *g = "string";
6918 pcpcc = &g + (g ? g-g : 0);
6919 /* HPUX 7.0 cc rejects these. */
6920 ++pcpcc;
6921 ppc = (char**) pcpcc;
6922 pcpcc = (char const *const *) ppc;
6923 { /* SCO 3.2v4 cc rejects this sort of thing. */
6924 char tx;
6925 char *t = &tx;
6926 char const *s = 0 ? (char *) 0 : (char const *) 0;
6927
6928 *t++ = 0;
6929 if (s) return 0;
6930 }
6931 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6932 int x[] = {25, 17};
6933 const int *foo = &x[0];
6934 ++foo;
6935 }
6936 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6937 typedef const int *iptr;
6938 iptr p = 0;
6939 ++p;
6940 }
6941 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
6942 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6943 struct s { int j; const int *ap[3]; } bx;
6944 struct s *b = &bx; b->j = 5;
6945 }
6946 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6947 const int foo = 10;
6948 if (!foo) return 0;
6949 }
6950 return !cs[0] && !zero.x;
6951 #endif
6952
6953 ;
6954 return 0;
6955 }
6956 _ACEOF
6957 if ac_fn_cxx_try_compile "$LINENO"; then :
6958 ac_cv_c_const=yes
6959 else
6960 ac_cv_c_const=no
6961 fi
6962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6963 fi
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6965 $as_echo "$ac_cv_c_const" >&6; }
6966 if test $ac_cv_c_const = no; then
6967
6968 $as_echo "#define const /**/" >>confdefs.h
6969
6970 fi
6971
6972 ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6973 if test "x$ac_cv_type_pid_t" = xyes; then :
6974
6975 else
6976
6977 cat >>confdefs.h <<_ACEOF
6978 #define pid_t int
6979 _ACEOF
6980
6981 fi
6982
6983 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6984 if test "x$ac_cv_type_size_t" = xyes; then :
6985
6986 else
6987
6988 cat >>confdefs.h <<_ACEOF
6989 #define size_t unsigned int
6990 _ACEOF
6991
6992 fi
6993
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6995 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6996 if ${ac_cv_header_time+:} false; then :
6997 $as_echo_n "(cached) " >&6
6998 else
6999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7000 /* end confdefs.h. */
7001 #include <sys/types.h>
7002 #include <sys/time.h>
7003 #include <time.h>
7004
7005 int
7006 main ()
7007 {
7008 if ((struct tm *) 0)
7009 return 0;
7010 ;
7011 return 0;
7012 }
7013 _ACEOF
7014 if ac_fn_cxx_try_compile "$LINENO"; then :
7015 ac_cv_header_time=yes
7016 else
7017 ac_cv_header_time=no
7018 fi
7019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7020 fi
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
7022 $as_echo "$ac_cv_header_time" >&6; }
7023 if test $ac_cv_header_time = yes; then
7024
7025 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
7026
7027 fi
7028
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7030 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7031 if ${ac_cv_struct_tm+:} false; then :
7032 $as_echo_n "(cached) " >&6
7033 else
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7036 #include <sys/types.h>
7037 #include <time.h>
7038
7039 int
7040 main ()
7041 {
7042 struct tm tm;
7043 int *p = &tm.tm_sec;
7044 return !p;
7045 ;
7046 return 0;
7047 }
7048 _ACEOF
7049 if ac_fn_cxx_try_compile "$LINENO"; then :
7050 ac_cv_struct_tm=time.h
7051 else
7052 ac_cv_struct_tm=sys/time.h
7053 fi
7054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7055 fi
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
7057 $as_echo "$ac_cv_struct_tm" >&6; }
7058 if test $ac_cv_struct_tm = sys/time.h; then
7059
7060 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
7061
7062 fi
7063
7064
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
7066 $as_echo_n "checking for socklen_t... " >&6; }
7067 if ${ac_cv_type_socklen_t+:} false; then :
7068 $as_echo_n "(cached) " >&6
7069 else
7070
7071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7072 /* end confdefs.h. */
7073 #include <sys/types.h>
7074 #include <sys/socket.h>
7075 int
7076 main ()
7077 {
7078 socklen_t len = 42; return len;
7079 ;
7080 return 0;
7081 }
7082 _ACEOF
7083 if ac_fn_cxx_try_compile "$LINENO"; then :
7084 ac_cv_type_socklen_t=yes
7085 else
7086 ac_cv_type_socklen_t=no
7087 fi
7088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7089
7090 fi
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5
7092 $as_echo "$ac_cv_type_socklen_t" >&6; }
7093 if test $ac_cv_type_socklen_t = yes; then
7094
7095 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
7096
7097 fi
7098
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5
7100 $as_echo_n "checking for struct addrinfo... " >&6; }
7101 if ${ac_cv_struct_addrinfo+:} false; then :
7102 $as_echo_n "(cached) " >&6
7103 else
7104
7105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7106 /* end confdefs.h. */
7107 #include <sys/types.h>
7108 #include <sys/socket.h>
7109 #include <netdb.h>
7110 int
7111 main ()
7112 {
7113 struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family;
7114 ;
7115 return 0;
7116 }
7117 _ACEOF
7118 if ac_fn_cxx_try_compile "$LINENO"; then :
7119 ac_cv_struct_addrinfo=yes
7120 else
7121 ac_cv_struct_addrinfo=no
7122 fi
7123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7124
7125 fi
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_addrinfo" >&5
7127 $as_echo "$ac_cv_struct_addrinfo" >&6; }
7128 if test $ac_cv_struct_addrinfo = yes; then
7129
7130 $as_echo "#define HAVE_STRUCT_ADDRINFO 1" >>confdefs.h
7131
7132 fi
7133
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
7135 $as_echo_n "checking return type of signal handlers... " >&6; }
7136 if ${ac_cv_type_signal+:} false; then :
7137 $as_echo_n "(cached) " >&6
7138 else
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7141 #include <sys/types.h>
7142 #include <signal.h>
7143
7144 int
7145 main ()
7146 {
7147 return *(signal (0, 0)) (0) == 1;
7148 ;
7149 return 0;
7150 }
7151 _ACEOF
7152 if ac_fn_cxx_try_compile "$LINENO"; then :
7153 ac_cv_type_signal=int
7154 else
7155 ac_cv_type_signal=void
7156 fi
7157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7158 fi
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
7160 $as_echo "$ac_cv_type_signal" >&6; }
7161
7162 cat >>confdefs.h <<_ACEOF
7163 #define RETSIGTYPE $ac_cv_type_signal
7164 _ACEOF
7165
7166
7167
7168 ac_ext=c
7169 ac_cpp='$CPP $CPPFLAGS'
7170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7173
7174
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7176 $as_echo_n "checking for ANSI C header files... " >&6; }
7177 if ${ac_cv_header_stdc+:} false; then :
7178 $as_echo_n "(cached) " >&6
7179 else
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h. */
7182 #include <stdlib.h>
7183 #include <stdarg.h>
7184 #include <string.h>
7185 #include <float.h>
7186
7187 int
7188 main ()
7189 {
7190
7191 ;
7192 return 0;
7193 }
7194 _ACEOF
7195 if ac_fn_c_try_compile "$LINENO"; then :
7196 ac_cv_header_stdc=yes
7197 else
7198 ac_cv_header_stdc=no
7199 fi
7200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7201
7202 if test $ac_cv_header_stdc = yes; then
7203 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7205 /* end confdefs.h. */
7206 #include <string.h>
7207
7208 _ACEOF
7209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7210 $EGREP "memchr" >/dev/null 2>&1; then :
7211
7212 else
7213 ac_cv_header_stdc=no
7214 fi
7215 rm -f conftest*
7216
7217 fi
7218
7219 if test $ac_cv_header_stdc = yes; then
7220 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h. */
7223 #include <stdlib.h>
7224
7225 _ACEOF
7226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7227 $EGREP "free" >/dev/null 2>&1; then :
7228
7229 else
7230 ac_cv_header_stdc=no
7231 fi
7232 rm -f conftest*
7233
7234 fi
7235
7236 if test $ac_cv_header_stdc = yes; then
7237 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7238 if test "$cross_compiling" = yes; then :
7239 :
7240 else
7241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7242 /* end confdefs.h. */
7243 #include <ctype.h>
7244 #include <stdlib.h>
7245 #if ((' ' & 0x0FF) == 0x020)
7246 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7247 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7248 #else
7249 # define ISLOWER(c) \
7250 (('a' <= (c) && (c) <= 'i') \
7251 || ('j' <= (c) && (c) <= 'r') \
7252 || ('s' <= (c) && (c) <= 'z'))
7253 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7254 #endif
7255
7256 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7257 int
7258 main ()
7259 {
7260 int i;
7261 for (i = 0; i < 256; i++)
7262 if (XOR (islower (i), ISLOWER (i))
7263 || toupper (i) != TOUPPER (i))
7264 return 2;
7265 return 0;
7266 }
7267 _ACEOF
7268 if ac_fn_c_try_run "$LINENO"; then :
7269
7270 else
7271 ac_cv_header_stdc=no
7272 fi
7273 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7274 conftest.$ac_objext conftest.beam conftest.$ac_ext
7275 fi
7276
7277 fi
7278 fi
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7280 $as_echo "$ac_cv_header_stdc" >&6; }
7281 if test $ac_cv_header_stdc = yes; then
7282
7283 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7284
7285 fi
7286
7287
7288 for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall
7289 do :
7290 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7291 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7292 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7293 cat >>confdefs.h <<_ACEOF
7294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7295 _ACEOF
7296
7297 fi
7298 done
7299
7300
7301 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7302 # for constant arguments. Useless!
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
7304 $as_echo_n "checking for working alloca.h... " >&6; }
7305 if ${ac_cv_working_alloca_h+:} false; then :
7306 $as_echo_n "(cached) " >&6
7307 else
7308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309 /* end confdefs.h. */
7310 #include <alloca.h>
7311 int
7312 main ()
7313 {
7314 char *p = (char *) alloca (2 * sizeof (int));
7315 if (p) return 0;
7316 ;
7317 return 0;
7318 }
7319 _ACEOF
7320 if ac_fn_c_try_link "$LINENO"; then :
7321 ac_cv_working_alloca_h=yes
7322 else
7323 ac_cv_working_alloca_h=no
7324 fi
7325 rm -f core conftest.err conftest.$ac_objext \
7326 conftest$ac_exeext conftest.$ac_ext
7327 fi
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
7329 $as_echo "$ac_cv_working_alloca_h" >&6; }
7330 if test $ac_cv_working_alloca_h = yes; then
7331
7332 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
7333
7334 fi
7335
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7337 $as_echo_n "checking for alloca... " >&6; }
7338 if ${ac_cv_func_alloca_works+:} false; then :
7339 $as_echo_n "(cached) " >&6
7340 else
7341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7342 /* end confdefs.h. */
7343 #ifdef __GNUC__
7344 # define alloca __builtin_alloca
7345 #else
7346 # ifdef _MSC_VER
7347 # include <malloc.h>
7348 # define alloca _alloca
7349 # else
7350 # ifdef HAVE_ALLOCA_H
7351 # include <alloca.h>
7352 # else
7353 # ifdef _AIX
7354 #pragma alloca
7355 # else
7356 # ifndef alloca /* predefined by HP cc +Olibcalls */
7357 void *alloca (size_t);
7358 # endif
7359 # endif
7360 # endif
7361 # endif
7362 #endif
7363
7364 int
7365 main ()
7366 {
7367 char *p = (char *) alloca (1);
7368 if (p) return 0;
7369 ;
7370 return 0;
7371 }
7372 _ACEOF
7373 if ac_fn_c_try_link "$LINENO"; then :
7374 ac_cv_func_alloca_works=yes
7375 else
7376 ac_cv_func_alloca_works=no
7377 fi
7378 rm -f core conftest.err conftest.$ac_objext \
7379 conftest$ac_exeext conftest.$ac_ext
7380 fi
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
7382 $as_echo "$ac_cv_func_alloca_works" >&6; }
7383
7384 if test $ac_cv_func_alloca_works = yes; then
7385
7386 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
7387
7388 else
7389 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7390 # that cause trouble. Some versions do not even contain alloca or
7391 # contain a buggy version. If you still want to use their alloca,
7392 # use ar to extract alloca.o from them instead of compiling alloca.c.
7393
7394 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
7395
7396 $as_echo "#define C_ALLOCA 1" >>confdefs.h
7397
7398
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
7400 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7401 if ${ac_cv_os_cray+:} false; then :
7402 $as_echo_n "(cached) " >&6
7403 else
7404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7405 /* end confdefs.h. */
7406 #if defined CRAY && ! defined CRAY2
7407 webecray
7408 #else
7409 wenotbecray
7410 #endif
7411
7412 _ACEOF
7413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7414 $EGREP "webecray" >/dev/null 2>&1; then :
7415 ac_cv_os_cray=yes
7416 else
7417 ac_cv_os_cray=no
7418 fi
7419 rm -f conftest*
7420
7421 fi
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
7423 $as_echo "$ac_cv_os_cray" >&6; }
7424 if test $ac_cv_os_cray = yes; then
7425 for ac_func in _getb67 GETB67 getb67; do
7426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7428 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7429
7430 cat >>confdefs.h <<_ACEOF
7431 #define CRAY_STACKSEG_END $ac_func
7432 _ACEOF
7433
7434 break
7435 fi
7436
7437 done
7438 fi
7439
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
7441 $as_echo_n "checking stack direction for C alloca... " >&6; }
7442 if ${ac_cv_c_stack_direction+:} false; then :
7443 $as_echo_n "(cached) " >&6
7444 else
7445 if test "$cross_compiling" = yes; then :
7446 ac_cv_c_stack_direction=0
7447 else
7448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7449 /* end confdefs.h. */
7450 $ac_includes_default
7451 int
7452 find_stack_direction (int *addr, int depth)
7453 {
7454 int dir, dummy = 0;
7455 if (! addr)
7456 addr = &dummy;
7457 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
7458 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
7459 return dir + dummy;
7460 }
7461
7462 int
7463 main (int argc, char **argv)
7464 {
7465 return find_stack_direction (0, argc + !argv + 20) < 0;
7466 }
7467 _ACEOF
7468 if ac_fn_c_try_run "$LINENO"; then :
7469 ac_cv_c_stack_direction=1
7470 else
7471 ac_cv_c_stack_direction=-1
7472 fi
7473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7474 conftest.$ac_objext conftest.beam conftest.$ac_ext
7475 fi
7476
7477 fi
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
7479 $as_echo "$ac_cv_c_stack_direction" >&6; }
7480 cat >>confdefs.h <<_ACEOF
7481 #define STACK_DIRECTION $ac_cv_c_stack_direction
7482 _ACEOF
7483
7484
7485 fi
7486
7487
7488
7489 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
7490 if test "x$ac_cv_func_socket" = xyes; then :
7491
7492 else
7493
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7495 $as_echo_n "checking for connect in -lsocket... " >&6; }
7496 if ${ac_cv_lib_socket_connect+:} false; then :
7497 $as_echo_n "(cached) " >&6
7498 else
7499 ac_check_lib_save_LIBS=$LIBS
7500 LIBS="-lsocket $LIBS"
7501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7502 /* end confdefs.h. */
7503
7504 /* Override any GCC internal prototype to avoid an error.
7505 Use char because int might match the return type of a GCC
7506 builtin and then its argument prototype would still apply. */
7507 #ifdef __cplusplus
7508 extern "C"
7509 #endif
7510 char connect ();
7511 int
7512 main ()
7513 {
7514 return connect ();
7515 ;
7516 return 0;
7517 }
7518 _ACEOF
7519 if ac_fn_c_try_link "$LINENO"; then :
7520 ac_cv_lib_socket_connect=yes
7521 else
7522 ac_cv_lib_socket_connect=no
7523 fi
7524 rm -f core conftest.err conftest.$ac_objext \
7525 conftest$ac_exeext conftest.$ac_ext
7526 LIBS=$ac_check_lib_save_LIBS
7527 fi
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7529 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7530 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7531 cat >>confdefs.h <<_ACEOF
7532 #define HAVE_LIBSOCKET 1
7533 _ACEOF
7534
7535 LIBS="-lsocket $LIBS"
7536
7537 fi
7538
7539
7540 fi
7541
7542 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7543 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7544
7545 else
7546
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7548 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7549 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7550 $as_echo_n "(cached) " >&6
7551 else
7552 ac_check_lib_save_LIBS=$LIBS
7553 LIBS="-lnsl $LIBS"
7554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555 /* end confdefs.h. */
7556
7557 /* Override any GCC internal prototype to avoid an error.
7558 Use char because int might match the return type of a GCC
7559 builtin and then its argument prototype would still apply. */
7560 #ifdef __cplusplus
7561 extern "C"
7562 #endif
7563 char gethostbyname ();
7564 int
7565 main ()
7566 {
7567 return gethostbyname ();
7568 ;
7569 return 0;
7570 }
7571 _ACEOF
7572 if ac_fn_c_try_link "$LINENO"; then :
7573 ac_cv_lib_nsl_gethostbyname=yes
7574 else
7575 ac_cv_lib_nsl_gethostbyname=no
7576 fi
7577 rm -f core conftest.err conftest.$ac_objext \
7578 conftest$ac_exeext conftest.$ac_ext
7579 LIBS=$ac_check_lib_save_LIBS
7580 fi
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7582 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7583 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7584 cat >>confdefs.h <<_ACEOF
7585 #define HAVE_LIBNSL 1
7586 _ACEOF
7587
7588 LIBS="-lnsl $LIBS"
7589
7590 fi
7591
7592
7593 fi
7594
7595
7596
7597 for ac_header in sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h
7598 do :
7599 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7600 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7601 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7602 cat >>confdefs.h <<_ACEOF
7603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7604 _ACEOF
7605
7606 fi
7607
7608 done
7609
7610
7611 for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd
7612 do :
7613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7615 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7616 cat >>confdefs.h <<_ACEOF
7617 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7618 _ACEOF
7619
7620 fi
7621 done
7622
7623
7624 for ac_func in clock_gettime
7625 do :
7626 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
7627 if test "x$ac_cv_func_clock_gettime" = xyes; then :
7628 cat >>confdefs.h <<_ACEOF
7629 #define HAVE_CLOCK_GETTIME 1
7630 _ACEOF
7631
7632 else
7633
7634 if test $(uname) = Linux; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
7636 $as_echo_n "checking for clock_gettime syscall... " >&6; }
7637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7638 /* end confdefs.h. */
7639 #include <unistd.h>
7640 #include <sys/syscall.h>
7641 #include <time.h>
7642 int
7643 main ()
7644 {
7645 struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts)
7646 ;
7647 return 0;
7648 }
7649 _ACEOF
7650 if ac_fn_c_try_link "$LINENO"; then :
7651 ac_have_clock_syscall=1
7652
7653 $as_echo "#define HAVE_CLOCK_SYSCALL 1" >>confdefs.h
7654
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7656 $as_echo "yes" >&6; }
7657 else
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7659 $as_echo "no" >&6; }
7660 fi
7661 rm -f core conftest.err conftest.$ac_objext \
7662 conftest$ac_exeext conftest.$ac_ext
7663 fi
7664 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
7666 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
7667 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
7668 $as_echo_n "(cached) " >&6
7669 else
7670 ac_check_lib_save_LIBS=$LIBS
7671 LIBS="-lrt $LIBS"
7672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7674
7675 /* Override any GCC internal prototype to avoid an error.
7676 Use char because int might match the return type of a GCC
7677 builtin and then its argument prototype would still apply. */
7678 #ifdef __cplusplus
7679 extern "C"
7680 #endif
7681 char clock_gettime ();
7682 int
7683 main ()
7684 {
7685 return clock_gettime ();
7686 ;
7687 return 0;
7688 }
7689 _ACEOF
7690 if ac_fn_c_try_link "$LINENO"; then :
7691 ac_cv_lib_rt_clock_gettime=yes
7692 else
7693 ac_cv_lib_rt_clock_gettime=no
7694 fi
7695 rm -f core conftest.err conftest.$ac_objext \
7696 conftest$ac_exeext conftest.$ac_ext
7697 LIBS=$ac_check_lib_save_LIBS
7698 fi
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
7700 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
7701 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
7702 cat >>confdefs.h <<_ACEOF
7703 #define HAVE_LIBRT 1
7704 _ACEOF
7705
7706 LIBS="-lrt $LIBS"
7707
7708 fi
7709
7710 unset ac_cv_func_clock_gettime
7711 for ac_func in clock_gettime
7712 do :
7713 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
7714 if test "x$ac_cv_func_clock_gettime" = xyes; then :
7715 cat >>confdefs.h <<_ACEOF
7716 #define HAVE_CLOCK_GETTIME 1
7717 _ACEOF
7718
7719 fi
7720 done
7721
7722 fi
7723
7724 fi
7725 done
7726
7727
7728 for ac_func in nanosleep
7729 do :
7730 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7731 if test "x$ac_cv_func_nanosleep" = xyes; then :
7732 cat >>confdefs.h <<_ACEOF
7733 #define HAVE_NANOSLEEP 1
7734 _ACEOF
7735
7736 else
7737
7738 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
7740 $as_echo_n "checking for nanosleep in -lrt... " >&6; }
7741 if ${ac_cv_lib_rt_nanosleep+:} false; then :
7742 $as_echo_n "(cached) " >&6
7743 else
7744 ac_check_lib_save_LIBS=$LIBS
7745 LIBS="-lrt $LIBS"
7746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7747 /* end confdefs.h. */
7748
7749 /* Override any GCC internal prototype to avoid an error.
7750 Use char because int might match the return type of a GCC
7751 builtin and then its argument prototype would still apply. */
7752 #ifdef __cplusplus
7753 extern "C"
7754 #endif
7755 char nanosleep ();
7756 int
7757 main ()
7758 {
7759 return nanosleep ();
7760 ;
7761 return 0;
7762 }
7763 _ACEOF
7764 if ac_fn_c_try_link "$LINENO"; then :
7765 ac_cv_lib_rt_nanosleep=yes
7766 else
7767 ac_cv_lib_rt_nanosleep=no
7768 fi
7769 rm -f core conftest.err conftest.$ac_objext \
7770 conftest$ac_exeext conftest.$ac_ext
7771 LIBS=$ac_check_lib_save_LIBS
7772 fi
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
7774 $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7775 if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7776 cat >>confdefs.h <<_ACEOF
7777 #define HAVE_LIBRT 1
7778 _ACEOF
7779
7780 LIBS="-lrt $LIBS"
7781
7782 fi
7783
7784 unset ac_cv_func_nanosleep
7785 for ac_func in nanosleep
7786 do :
7787 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7788 if test "x$ac_cv_func_nanosleep" = xyes; then :
7789 cat >>confdefs.h <<_ACEOF
7790 #define HAVE_NANOSLEEP 1
7791 _ACEOF
7792
7793 fi
7794 done
7795
7796 fi
7797
7798 fi
7799 done
7800
7801
7802 if test -z "$LIBEV_M4_AVOID_LIBM"; then
7803 LIBM=m
7804 fi
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
7806 $as_echo_n "checking for library containing floor... " >&6; }
7807 if ${ac_cv_search_floor+:} false; then :
7808 $as_echo_n "(cached) " >&6
7809 else
7810 ac_func_search_save_LIBS=$LIBS
7811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7812 /* end confdefs.h. */
7813
7814 /* Override any GCC internal prototype to avoid an error.
7815 Use char because int might match the return type of a GCC
7816 builtin and then its argument prototype would still apply. */
7817 #ifdef __cplusplus
7818 extern "C"
7819 #endif
7820 char floor ();
7821 int
7822 main ()
7823 {
7824 return floor ();
7825 ;
7826 return 0;
7827 }
7828 _ACEOF
7829 for ac_lib in '' $LIBM; do
7830 if test -z "$ac_lib"; then
7831 ac_res="none required"
7832 else
7833 ac_res=-l$ac_lib
7834 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7835 fi
7836 if ac_fn_c_try_link "$LINENO"; then :
7837 ac_cv_search_floor=$ac_res
7838 fi
7839 rm -f core conftest.err conftest.$ac_objext \
7840 conftest$ac_exeext
7841 if ${ac_cv_search_floor+:} false; then :
7842 break
7843 fi
7844 done
7845 if ${ac_cv_search_floor+:} false; then :
7846
7847 else
7848 ac_cv_search_floor=no
7849 fi
7850 rm conftest.$ac_ext
7851 LIBS=$ac_func_search_save_LIBS
7852 fi
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
7854 $as_echo "$ac_cv_search_floor" >&6; }
7855 ac_res=$ac_cv_search_floor
7856 if test "$ac_res" != no; then :
7857 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7858
7859 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
7860
7861 fi
7862
7863
7864
7865
7866 ac_ext=cpp
7867 ac_cpp='$CXXCPP $CPPFLAGS'
7868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7871
7872
7873
7874 cat >confcache <<\_ACEOF
7875 # This file is a shell script that caches the results of configure
7876 # tests run on this system so they can be shared between configure
7877 # scripts and configure runs, see configure's option --config-cache.
7878 # It is not useful on other systems. If it contains results you don't
7879 # want to keep, you may remove or edit it.
7880 #
7881 # config.status only pays attention to the cache file if you give it
7882 # the --recheck option to rerun configure.
7883 #
7884 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7885 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7886 # following values.
7887
7888 _ACEOF
7889
7890 # The following way of writing the cache mishandles newlines in values,
7891 # but we know of no workaround that is simple, portable, and efficient.
7892 # So, we kill variables containing newlines.
7893 # Ultrix sh set writes to stderr and can't be redirected directly,
7894 # and sets the high bit in the cache file unless we assign to the vars.
7895 (
7896 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7897 eval ac_val=\$$ac_var
7898 case $ac_val in #(
7899 *${as_nl}*)
7900 case $ac_var in #(
7901 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7902 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7903 esac
7904 case $ac_var in #(
7905 _ | IFS | as_nl) ;; #(
7906 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7907 *) { eval $ac_var=; unset $ac_var;} ;;
7908 esac ;;
7909 esac
7910 done
7911
7912 (set) 2>&1 |
7913 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7914 *${as_nl}ac_space=\ *)
7915 # `set' does not quote correctly, so add quotes: double-quote
7916 # substitution turns \\\\ into \\, and sed turns \\ into \.
7917 sed -n \
7918 "s/'/'\\\\''/g;
7919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7920 ;; #(
7921 *)
7922 # `set' quotes correctly as required by POSIX, so do not add quotes.
7923 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7924 ;;
7925 esac |
7926 sort
7927 ) |
7928 sed '
7929 /^ac_cv_env_/b end
7930 t clear
7931 :clear
7932 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7933 t end
7934 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7935 :end' >>confcache
7936 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7937 if test -w "$cache_file"; then
7938 if test "x$cache_file" != "x/dev/null"; then
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7940 $as_echo "$as_me: updating cache $cache_file" >&6;}
7941 if test ! -f "$cache_file" || test -h "$cache_file"; then
7942 cat confcache >"$cache_file"
7943 else
7944 case $cache_file in #(
7945 */* | ?:*)
7946 mv -f confcache "$cache_file"$$ &&
7947 mv -f "$cache_file"$$ "$cache_file" ;; #(
7948 *)
7949 mv -f confcache "$cache_file" ;;
7950 esac
7951 fi
7952 fi
7953 else
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7955 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7956 fi
7957 fi
7958 rm -f confcache
7959
7960
7961
7962 # Check whether --with-kernel was given.
7963 if test "${with_kernel+set}" = set; then :
7964 withval=$with_kernel; kerneldir="$withval"
7965 else
7966 kerneldir="/usr/src/linux"
7967
7968 fi
7969
7970
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5
7972 $as_echo_n "checking for linux/if_tun.h... " >&6; }
7973 if ${tinc_cv_linux_if_tun_h+:} false; then :
7974 $as_echo_n "(cached) " >&6
7975 else
7976
7977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7978 /* end confdefs.h. */
7979 #include "$kerneldir/include/linux/if_tun.h"
7980 int
7981 main ()
7982 {
7983 int a = IFF_TAP;
7984 ;
7985 return 0;
7986 }
7987 _ACEOF
7988 if ac_fn_cxx_try_compile "$LINENO"; then :
7989 if_tun_h="\"$kerneldir/include/linux/if_tun.h\""
7990 else
7991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7992 /* end confdefs.h. */
7993 #include <linux/if_tun.h>
7994 int
7995 main ()
7996 {
7997 int a = IFF_TAP;
7998 ;
7999 return 0;
8000 }
8001 _ACEOF
8002 if ac_fn_cxx_try_compile "$LINENO"; then :
8003 if_tun_h="default"
8004 else
8005 if_tun_h="no"
8006
8007 fi
8008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8009
8010 fi
8011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8012
8013 if test $if_tun_h = no; then
8014 tinc_cv_linux_if_tun_h=none
8015 else
8016 tinc_cv_linux_if_tun_h="$if_tun_h"
8017 fi
8018
8019 fi
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tinc_cv_linux_if_tun_h" >&5
8021 $as_echo "$tinc_cv_linux_if_tun_h" >&6; }
8022
8023 if test $tinc_cv_linux_if_tun_h != none; then
8024
8025 $as_echo "#define HAVE_TUNTAP 1" >>confdefs.h
8026
8027 if test $tinc_cv_linux_if_tun_h != default; then
8028
8029 cat >>confdefs.h <<_ACEOF
8030 #define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h
8031 _ACEOF
8032
8033 fi
8034 fi
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8047 if test -n "$ac_tool_prefix"; then
8048 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8049 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8051 $as_echo_n "checking for $ac_word... " >&6; }
8052 if ${ac_cv_path_PKG_CONFIG+:} false; then :
8053 $as_echo_n "(cached) " >&6
8054 else
8055 case $PKG_CONFIG in
8056 [\\/]* | ?:[\\/]*)
8057 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8058 ;;
8059 *)
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061 for as_dir in $PATH
8062 do
8063 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2
8070 fi
8071 done
8072 done
8073 IFS=$as_save_IFS
8074
8075 ;;
8076 esac
8077 fi
8078 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8079 if test -n "$PKG_CONFIG"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8081 $as_echo "$PKG_CONFIG" >&6; }
8082 else
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8085 fi
8086
8087
8088 fi
8089 if test -z "$ac_cv_path_PKG_CONFIG"; then
8090 ac_pt_PKG_CONFIG=$PKG_CONFIG
8091 # Extract the first word of "pkg-config", so it can be a program name with args.
8092 set dummy pkg-config; ac_word=$2
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8094 $as_echo_n "checking for $ac_word... " >&6; }
8095 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
8096 $as_echo_n "(cached) " >&6
8097 else
8098 case $ac_pt_PKG_CONFIG in
8099 [\\/]* | ?:[\\/]*)
8100 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8101 ;;
8102 *)
8103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8104 for as_dir in $PATH
8105 do
8106 IFS=$as_save_IFS
8107 test -z "$as_dir" && as_dir=.
8108 for ac_exec_ext in '' $ac_executable_extensions; do
8109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8110 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8112 break 2
8113 fi
8114 done
8115 done
8116 IFS=$as_save_IFS
8117
8118 ;;
8119 esac
8120 fi
8121 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8122 if test -n "$ac_pt_PKG_CONFIG"; then
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8124 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
8125 else
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8127 $as_echo "no" >&6; }
8128 fi
8129
8130 if test "x$ac_pt_PKG_CONFIG" = x; then
8131 PKG_CONFIG=""
8132 else
8133 case $cross_compiling:$ac_tool_warned in
8134 yes:)
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8137 ac_tool_warned=yes ;;
8138 esac
8139 PKG_CONFIG=$ac_pt_PKG_CONFIG
8140 fi
8141 else
8142 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8143 fi
8144
8145 fi
8146 if test -n "$PKG_CONFIG"; then
8147 _pkg_min_version=0.9.0
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8149 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8150 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8152 $as_echo "yes" >&6; }
8153 else
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8155 $as_echo "no" >&6; }
8156 PKG_CONFIG=""
8157 fi
8158 fi
8159
8160 pkg_failed=no
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5
8162 $as_echo_n "checking for LIBCRYPTO... " >&6; }
8163
8164 if test -n "$LIBCRYPTO_CFLAGS"; then
8165 pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS"
8166 elif test -n "$PKG_CONFIG"; then
8167 if test -n "$PKG_CONFIG" && \
8168 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5
8169 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
8170 ac_status=$?
8171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8172 test $ac_status = 0; }; then
8173 pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= 1" 2>/dev/null`
8174 test "x$?" != "x0" && pkg_failed=yes
8175 else
8176 pkg_failed=yes
8177 fi
8178 else
8179 pkg_failed=untried
8180 fi
8181 if test -n "$LIBCRYPTO_LIBS"; then
8182 pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
8183 elif test -n "$PKG_CONFIG"; then
8184 if test -n "$PKG_CONFIG" && \
8185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5
8186 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
8187 ac_status=$?
8188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8189 test $ac_status = 0; }; then
8190 pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null`
8191 test "x$?" != "x0" && pkg_failed=yes
8192 else
8193 pkg_failed=yes
8194 fi
8195 else
8196 pkg_failed=untried
8197 fi
8198
8199
8200
8201 if test $pkg_failed = yes; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8204
8205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8206 _pkg_short_errors_supported=yes
8207 else
8208 _pkg_short_errors_supported=no
8209 fi
8210 if test $_pkg_short_errors_supported = yes; then
8211 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
8212 else
8213 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
8214 fi
8215 # Put the nasty error message in config.log where it belongs
8216 echo "$LIBCRYPTO_PKG_ERRORS" >&5
8217
8218 as_fn_error $? "Package requirements (libcrypto >= 1) were not met:
8219
8220 $LIBCRYPTO_PKG_ERRORS
8221
8222 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8223 installed software in a non-standard prefix.
8224
8225 Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS
8226 and LIBCRYPTO_LIBS to avoid the need to call pkg-config.
8227 See the pkg-config man page for more details." "$LINENO" 5
8228 elif test $pkg_failed = untried; then
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8230 $as_echo "no" >&6; }
8231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8233 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
8234 is in your PATH or set the PKG_CONFIG environment variable to the full
8235 path to pkg-config.
8236
8237 Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS
8238 and LIBCRYPTO_LIBS to avoid the need to call pkg-config.
8239 See the pkg-config man page for more details.
8240
8241 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8242 See \`config.log' for more details" "$LINENO" 5; }
8243 else
8244 LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS
8245 LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8247 $as_echo "yes" >&6; }
8248
8249 fi
8250
8251 # Check whether --enable-threads was given.
8252 if test "${enable_threads+set}" = set; then :
8253 enableval=$enable_threads; try_threads=$enableval
8254 else
8255 try_threads=yes
8256
8257 fi
8258
8259
8260 if test "x$try_threads" = xyes; then
8261 ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_pthread_h" = xyes; then :
8263
8264 LIBS="$LIBS -lpthread"
8265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8266 /* end confdefs.h. */
8267 #include <pthread.h>
8268 int
8269 main ()
8270 {
8271 pthread_t id; pthread_create (&id, 0, 0, 0);
8272 ;
8273 return 0;
8274 }
8275 _ACEOF
8276 if ac_fn_cxx_try_compile "$LINENO"; then :
8277
8278 cat >>confdefs.h <<_ACEOF
8279 #define ENABLE_PTHREADS 1
8280 _ACEOF
8281
8282
8283 fi
8284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8285
8286 fi
8287
8288
8289 fi
8290
8291 # Check whether --enable-static-daemon was given.
8292 if test "${enable_static_daemon+set}" = set; then :
8293 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static
8294
8295 fi
8296
8297
8298
8299
8300
8301
8302 if test x$rohc = xtrue; then
8303 ROHC_TRUE=
8304 ROHC_FALSE='#'
8305 else
8306 ROHC_TRUE='#'
8307 ROHC_FALSE=
8308 fi
8309
8310
8311
8312 ICMP=1
8313 # Check whether --enable-icmp was given.
8314 if test "${enable_icmp+set}" = set; then :
8315 enableval=$enable_icmp; if test "x$enableval" = xno; then
8316 ICMP=0
8317 fi
8318
8319 fi
8320
8321 if test "x$ICMP" = x1; then
8322
8323 cat >>confdefs.h <<_ACEOF
8324 #define ENABLE_ICMP 1
8325 _ACEOF
8326
8327 fi
8328
8329 TCP=1
8330 # Check whether --enable-tcp was given.
8331 if test "${enable_tcp+set}" = set; then :
8332 enableval=$enable_tcp; if test "x$enableval" = xno; then
8333 TCP=0
8334 fi
8335
8336 fi
8337
8338 if test "x$TCP" = x1; then
8339
8340 cat >>confdefs.h <<_ACEOF
8341 #define ENABLE_TCP 1
8342 _ACEOF
8343
8344 fi
8345
8346 HTTP=1
8347 # Check whether --enable-http-proxy was given.
8348 if test "${enable_http_proxy+set}" = set; then :
8349 enableval=$enable_http_proxy; if test "x$enableval" = xno; then
8350 HTTP=0
8351 fi
8352
8353 fi
8354
8355 if test "x$HTTP" = x1; then
8356
8357 cat >>confdefs.h <<_ACEOF
8358 #define ENABLE_HTTP_PROXY 1
8359 _ACEOF
8360
8361 fi
8362
8363 # Check whether --enable-dns was given.
8364 if test "${enable_dns+set}" = set; then :
8365 enableval=$enable_dns;
8366 ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
8367 if test "x$ac_cv_header_gmp_h" = xyes; then :
8368
8369 else
8370 as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5
8371 fi
8372
8373
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5
8375 $as_echo_n "checking for main in -lgmp... " >&6; }
8376 if ${ac_cv_lib_gmp_main+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378 else
8379 ac_check_lib_save_LIBS=$LIBS
8380 LIBS="-lgmp $LIBS"
8381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8383
8384
8385 int
8386 main ()
8387 {
8388 return main ();
8389 ;
8390 return 0;
8391 }
8392 _ACEOF
8393 if ac_fn_cxx_try_link "$LINENO"; then :
8394 ac_cv_lib_gmp_main=yes
8395 else
8396 ac_cv_lib_gmp_main=no
8397 fi
8398 rm -f core conftest.err conftest.$ac_objext \
8399 conftest$ac_exeext conftest.$ac_ext
8400 LIBS=$ac_check_lib_save_LIBS
8401 fi
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5
8403 $as_echo "$ac_cv_lib_gmp_main" >&6; }
8404 if test "x$ac_cv_lib_gmp_main" = xyes; then :
8405 cat >>confdefs.h <<_ACEOF
8406 #define HAVE_LIBGMP 1
8407 _ACEOF
8408
8409 LIBS="-lgmp $LIBS"
8410
8411 else
8412 as_fn_error $? "libgmp not found, required for --enable-dns" "$LINENO" 5
8413 fi
8414
8415
8416
8417 cat >>confdefs.h <<_ACEOF
8418 #define ENABLE_DNS 1
8419 _ACEOF
8420
8421
8422
8423 fi
8424
8425
8426 RSA=3072
8427 # Check whether --enable-rsa-length was given.
8428 if test "${enable_rsa_length+set}" = set; then :
8429 enableval=$enable_rsa_length; RSA=$enableval
8430
8431 fi
8432
8433
8434 cat >>confdefs.h <<_ACEOF
8435 #define RSABITS $RSA
8436 _ACEOF
8437
8438
8439 HMACSIZE=12
8440 # Check whether --enable-hmac-length was given.
8441 if test "${enable_hmac_length+set}" = set; then :
8442 enableval=$enable_hmac_length; HMACSIZE=$enableval
8443
8444 fi
8445
8446
8447 cat >>confdefs.h <<_ACEOF
8448 #define HMACLENGTH $HMACSIZE
8449 _ACEOF
8450
8451
8452 MTU=1500
8453 # Check whether --enable-max-mtu was given.
8454 if test "${enable_max_mtu+set}" = set; then :
8455 enableval=$enable_max_mtu; MTU=$enableval
8456
8457 fi
8458
8459
8460 cat >>confdefs.h <<_ACEOF
8461 #define MAX_MTU ($MTU + 14)
8462 _ACEOF
8463
8464
8465 COMPRESS=1
8466 # Check whether --enable-compression was given.
8467 if test "${enable_compression+set}" = set; then :
8468 enableval=$enable_compression; if test "x$enableval" = xno; then
8469 COMPRESS=0
8470 fi
8471
8472 fi
8473
8474
8475 cat >>confdefs.h <<_ACEOF
8476 #define ENABLE_COMPRESSION $COMPRESS
8477 _ACEOF
8478
8479
8480 CIPHER=aes_128_ctr
8481 # Check whether --enable-cipher was given.
8482 if test "${enable_cipher+set}" = set; then :
8483 enableval=$enable_cipher; #if test "x$enableval" = xbf ; then CIPHER=bf_ctr ; fi
8484 if test "x$enableval" = xaes-128 ; then CIPHER=aes_128_ctr ; fi
8485 if test "x$enableval" = xaes-192 ; then CIPHER=aes_192_ctr ; fi
8486 if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_ctr ; fi
8487 #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi
8488 #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi
8489
8490 fi
8491
8492
8493 cat >>confdefs.h <<_ACEOF
8494 #define ENABLE_CIPHER EVP_${CIPHER}
8495 _ACEOF
8496
8497
8498 HMAC=sha1
8499 # Check whether --enable-hmac-digest was given.
8500 if test "${enable_hmac_digest+set}" = set; then :
8501 enableval=$enable_hmac_digest; if test "x$enableval" = xwhirlpool; then HMAC=whirlpool; fi
8502 if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi
8503 if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi
8504 if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi
8505 if test "x$enableval" = xripemd160; then HMAC=ripemd160; fi
8506
8507 fi
8508
8509
8510 cat >>confdefs.h <<_ACEOF
8511 #define ENABLE_HMAC EVP_${HMAC}
8512 _ACEOF
8513
8514
8515 AUTH=sha512
8516 # Check whether --enable-auth-digest was given.
8517 if test "${enable_auth_digest+set}" = set; then :
8518 enableval=$enable_auth_digest; if test "x$enableval" = xwhirlpool; then AUTH=whirlpool; fi
8519 if test "x$enableval" = xsha512 ; then AUTH=sha512 ; fi
8520 if test "x$enableval" = xsha256 ; then AUTH=sha256 ; fi
8521
8522 fi
8523
8524
8525 cat >>confdefs.h <<_ACEOF
8526 #define ENABLE_AUTH EVP_${AUTH}
8527 _ACEOF
8528
8529
8530 if $CXX -v --help 2>&1 | grep -q fno-rtti; then
8531 CXXFLAGS="$CXXFLAGS -fno-rtti"
8532 fi
8533
8534 #if $CXX -v --help 2>&1 | grep -q fexceptions; then
8535 # CXXFLAGS="$CXXFLAGS -fno-exceptions"
8536 #fi
8537
8538 LIBS="$EXTRA_LIBS $LIBS"
8539
8540
8541
8542
8543 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile"
8544
8545 cat >confcache <<\_ACEOF
8546 # This file is a shell script that caches the results of configure
8547 # tests run on this system so they can be shared between configure
8548 # scripts and configure runs, see configure's option --config-cache.
8549 # It is not useful on other systems. If it contains results you don't
8550 # want to keep, you may remove or edit it.
8551 #
8552 # config.status only pays attention to the cache file if you give it
8553 # the --recheck option to rerun configure.
8554 #
8555 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8556 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8557 # following values.
8558
8559 _ACEOF
8560
8561 # The following way of writing the cache mishandles newlines in values,
8562 # but we know of no workaround that is simple, portable, and efficient.
8563 # So, we kill variables containing newlines.
8564 # Ultrix sh set writes to stderr and can't be redirected directly,
8565 # and sets the high bit in the cache file unless we assign to the vars.
8566 (
8567 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8568 eval ac_val=\$$ac_var
8569 case $ac_val in #(
8570 *${as_nl}*)
8571 case $ac_var in #(
8572 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8573 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8574 esac
8575 case $ac_var in #(
8576 _ | IFS | as_nl) ;; #(
8577 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8578 *) { eval $ac_var=; unset $ac_var;} ;;
8579 esac ;;
8580 esac
8581 done
8582
8583 (set) 2>&1 |
8584 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8585 *${as_nl}ac_space=\ *)
8586 # `set' does not quote correctly, so add quotes: double-quote
8587 # substitution turns \\\\ into \\, and sed turns \\ into \.
8588 sed -n \
8589 "s/'/'\\\\''/g;
8590 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8591 ;; #(
8592 *)
8593 # `set' quotes correctly as required by POSIX, so do not add quotes.
8594 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8595 ;;
8596 esac |
8597 sort
8598 ) |
8599 sed '
8600 /^ac_cv_env_/b end
8601 t clear
8602 :clear
8603 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8604 t end
8605 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8606 :end' >>confcache
8607 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8608 if test -w "$cache_file"; then
8609 if test "x$cache_file" != "x/dev/null"; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8611 $as_echo "$as_me: updating cache $cache_file" >&6;}
8612 if test ! -f "$cache_file" || test -h "$cache_file"; then
8613 cat confcache >"$cache_file"
8614 else
8615 case $cache_file in #(
8616 */* | ?:*)
8617 mv -f confcache "$cache_file"$$ &&
8618 mv -f "$cache_file"$$ "$cache_file" ;; #(
8619 *)
8620 mv -f confcache "$cache_file" ;;
8621 esac
8622 fi
8623 fi
8624 else
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8626 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8627 fi
8628 fi
8629 rm -f confcache
8630
8631 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8632 # Let make expand exec_prefix.
8633 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8634
8635 DEFS=-DHAVE_CONFIG_H
8636
8637 ac_libobjs=
8638 ac_ltlibobjs=
8639 U=
8640 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8641 # 1. Remove the extension, and $U if already installed.
8642 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8643 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8644 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8645 # will be set to the directory where LIBOBJS objects are built.
8646 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8647 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8648 done
8649 LIBOBJS=$ac_libobjs
8650
8651 LTLIBOBJS=$ac_ltlibobjs
8652
8653
8654 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8655 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8657 fi
8658 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8659 as_fn_error $? "conditional \"AMDEP\" was never defined.
8660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8661 fi
8662 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8663 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8665 fi
8666 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8667 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
8668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8669 fi
8670 if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
8671 as_fn_error $? "conditional \"ROHC\" was never defined.
8672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8673 fi
8674
8675 : "${CONFIG_STATUS=./config.status}"
8676 ac_write_fail=0
8677 ac_clean_files_save=$ac_clean_files
8678 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8680 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8681 as_write_fail=0
8682 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8683 #! $SHELL
8684 # Generated by $as_me.
8685 # Run this file to recreate the current configuration.
8686 # Compiler output produced by configure, useful for debugging
8687 # configure, is in config.log if it exists.
8688
8689 debug=false
8690 ac_cs_recheck=false
8691 ac_cs_silent=false
8692
8693 SHELL=\${CONFIG_SHELL-$SHELL}
8694 export SHELL
8695 _ASEOF
8696 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8697 ## -------------------- ##
8698 ## M4sh Initialization. ##
8699 ## -------------------- ##
8700
8701 # Be more Bourne compatible
8702 DUALCASE=1; export DUALCASE # for MKS sh
8703 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8704 emulate sh
8705 NULLCMD=:
8706 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8707 # is contrary to our usage. Disable this feature.
8708 alias -g '${1+"$@"}'='"$@"'
8709 setopt NO_GLOB_SUBST
8710 else
8711 case `(set -o) 2>/dev/null` in #(
8712 *posix*) :
8713 set -o posix ;; #(
8714 *) :
8715 ;;
8716 esac
8717 fi
8718
8719
8720 as_nl='
8721 '
8722 export as_nl
8723 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8724 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8725 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8726 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8727 # Prefer a ksh shell builtin over an external printf program on Solaris,
8728 # but without wasting forks for bash or zsh.
8729 if test -z "$BASH_VERSION$ZSH_VERSION" \
8730 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8731 as_echo='print -r --'
8732 as_echo_n='print -rn --'
8733 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8734 as_echo='printf %s\n'
8735 as_echo_n='printf %s'
8736 else
8737 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8738 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8739 as_echo_n='/usr/ucb/echo -n'
8740 else
8741 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8742 as_echo_n_body='eval
8743 arg=$1;
8744 case $arg in #(
8745 *"$as_nl"*)
8746 expr "X$arg" : "X\\(.*\\)$as_nl";
8747 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8748 esac;
8749 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8750 '
8751 export as_echo_n_body
8752 as_echo_n='sh -c $as_echo_n_body as_echo'
8753 fi
8754 export as_echo_body
8755 as_echo='sh -c $as_echo_body as_echo'
8756 fi
8757
8758 # The user is always right.
8759 if test "${PATH_SEPARATOR+set}" != set; then
8760 PATH_SEPARATOR=:
8761 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8762 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8763 PATH_SEPARATOR=';'
8764 }
8765 fi
8766
8767
8768 # IFS
8769 # We need space, tab and new line, in precisely that order. Quoting is
8770 # there to prevent editors from complaining about space-tab.
8771 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8772 # splitting by setting IFS to empty value.)
8773 IFS=" "" $as_nl"
8774
8775 # Find who we are. Look in the path if we contain no directory separator.
8776 as_myself=
8777 case $0 in #((
8778 *[\\/]* ) as_myself=$0 ;;
8779 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8780 for as_dir in $PATH
8781 do
8782 IFS=$as_save_IFS
8783 test -z "$as_dir" && as_dir=.
8784 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8785 done
8786 IFS=$as_save_IFS
8787
8788 ;;
8789 esac
8790 # We did not find ourselves, most probably we were run as `sh COMMAND'
8791 # in which case we are not to be found in the path.
8792 if test "x$as_myself" = x; then
8793 as_myself=$0
8794 fi
8795 if test ! -f "$as_myself"; then
8796 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8797 exit 1
8798 fi
8799
8800 # Unset variables that we do not need and which cause bugs (e.g. in
8801 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8802 # suppresses any "Segmentation fault" message there. '((' could
8803 # trigger a bug in pdksh 5.2.14.
8804 for as_var in BASH_ENV ENV MAIL MAILPATH
8805 do eval test x\${$as_var+set} = xset \
8806 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8807 done
8808 PS1='$ '
8809 PS2='> '
8810 PS4='+ '
8811
8812 # NLS nuisances.
8813 LC_ALL=C
8814 export LC_ALL
8815 LANGUAGE=C
8816 export LANGUAGE
8817
8818 # CDPATH.
8819 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8820
8821
8822 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8823 # ----------------------------------------
8824 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8825 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8826 # script with STATUS, using 1 if that was 0.
8827 as_fn_error ()
8828 {
8829 as_status=$1; test $as_status -eq 0 && as_status=1
8830 if test "$4"; then
8831 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8832 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8833 fi
8834 $as_echo "$as_me: error: $2" >&2
8835 as_fn_exit $as_status
8836 } # as_fn_error
8837
8838
8839 # as_fn_set_status STATUS
8840 # -----------------------
8841 # Set $? to STATUS, without forking.
8842 as_fn_set_status ()
8843 {
8844 return $1
8845 } # as_fn_set_status
8846
8847 # as_fn_exit STATUS
8848 # -----------------
8849 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8850 as_fn_exit ()
8851 {
8852 set +e
8853 as_fn_set_status $1
8854 exit $1
8855 } # as_fn_exit
8856
8857 # as_fn_unset VAR
8858 # ---------------
8859 # Portably unset VAR.
8860 as_fn_unset ()
8861 {
8862 { eval $1=; unset $1;}
8863 }
8864 as_unset=as_fn_unset
8865 # as_fn_append VAR VALUE
8866 # ----------------------
8867 # Append the text in VALUE to the end of the definition contained in VAR. Take
8868 # advantage of any shell optimizations that allow amortized linear growth over
8869 # repeated appends, instead of the typical quadratic growth present in naive
8870 # implementations.
8871 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8872 eval 'as_fn_append ()
8873 {
8874 eval $1+=\$2
8875 }'
8876 else
8877 as_fn_append ()
8878 {
8879 eval $1=\$$1\$2
8880 }
8881 fi # as_fn_append
8882
8883 # as_fn_arith ARG...
8884 # ------------------
8885 # Perform arithmetic evaluation on the ARGs, and store the result in the
8886 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8887 # must be portable across $(()) and expr.
8888 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8889 eval 'as_fn_arith ()
8890 {
8891 as_val=$(( $* ))
8892 }'
8893 else
8894 as_fn_arith ()
8895 {
8896 as_val=`expr "$@" || test $? -eq 1`
8897 }
8898 fi # as_fn_arith
8899
8900
8901 if expr a : '\(a\)' >/dev/null 2>&1 &&
8902 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8903 as_expr=expr
8904 else
8905 as_expr=false
8906 fi
8907
8908 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8909 as_basename=basename
8910 else
8911 as_basename=false
8912 fi
8913
8914 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8915 as_dirname=dirname
8916 else
8917 as_dirname=false
8918 fi
8919
8920 as_me=`$as_basename -- "$0" ||
8921 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8922 X"$0" : 'X\(//\)$' \| \
8923 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8924 $as_echo X/"$0" |
8925 sed '/^.*\/\([^/][^/]*\)\/*$/{
8926 s//\1/
8927 q
8928 }
8929 /^X\/\(\/\/\)$/{
8930 s//\1/
8931 q
8932 }
8933 /^X\/\(\/\).*/{
8934 s//\1/
8935 q
8936 }
8937 s/.*/./; q'`
8938
8939 # Avoid depending upon Character Ranges.
8940 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8941 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8942 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8943 as_cr_digits='0123456789'
8944 as_cr_alnum=$as_cr_Letters$as_cr_digits
8945
8946 ECHO_C= ECHO_N= ECHO_T=
8947 case `echo -n x` in #(((((
8948 -n*)
8949 case `echo 'xy\c'` in
8950 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8951 xy) ECHO_C='\c';;
8952 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8953 ECHO_T=' ';;
8954 esac;;
8955 *)
8956 ECHO_N='-n';;
8957 esac
8958
8959 rm -f conf$$ conf$$.exe conf$$.file
8960 if test -d conf$$.dir; then
8961 rm -f conf$$.dir/conf$$.file
8962 else
8963 rm -f conf$$.dir
8964 mkdir conf$$.dir 2>/dev/null
8965 fi
8966 if (echo >conf$$.file) 2>/dev/null; then
8967 if ln -s conf$$.file conf$$ 2>/dev/null; then
8968 as_ln_s='ln -s'
8969 # ... but there are two gotchas:
8970 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8971 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8972 # In both cases, we have to default to `cp -pR'.
8973 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8974 as_ln_s='cp -pR'
8975 elif ln conf$$.file conf$$ 2>/dev/null; then
8976 as_ln_s=ln
8977 else
8978 as_ln_s='cp -pR'
8979 fi
8980 else
8981 as_ln_s='cp -pR'
8982 fi
8983 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8984 rmdir conf$$.dir 2>/dev/null
8985
8986
8987 # as_fn_mkdir_p
8988 # -------------
8989 # Create "$as_dir" as a directory, including parents if necessary.
8990 as_fn_mkdir_p ()
8991 {
8992
8993 case $as_dir in #(
8994 -*) as_dir=./$as_dir;;
8995 esac
8996 test -d "$as_dir" || eval $as_mkdir_p || {
8997 as_dirs=
8998 while :; do
8999 case $as_dir in #(
9000 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9001 *) as_qdir=$as_dir;;
9002 esac
9003 as_dirs="'$as_qdir' $as_dirs"
9004 as_dir=`$as_dirname -- "$as_dir" ||
9005 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9006 X"$as_dir" : 'X\(//\)[^/]' \| \
9007 X"$as_dir" : 'X\(//\)$' \| \
9008 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9009 $as_echo X"$as_dir" |
9010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9011 s//\1/
9012 q
9013 }
9014 /^X\(\/\/\)[^/].*/{
9015 s//\1/
9016 q
9017 }
9018 /^X\(\/\/\)$/{
9019 s//\1/
9020 q
9021 }
9022 /^X\(\/\).*/{
9023 s//\1/
9024 q
9025 }
9026 s/.*/./; q'`
9027 test -d "$as_dir" && break
9028 done
9029 test -z "$as_dirs" || eval "mkdir $as_dirs"
9030 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9031
9032
9033 } # as_fn_mkdir_p
9034 if mkdir -p . 2>/dev/null; then
9035 as_mkdir_p='mkdir -p "$as_dir"'
9036 else
9037 test -d ./-p && rmdir ./-p
9038 as_mkdir_p=false
9039 fi
9040
9041
9042 # as_fn_executable_p FILE
9043 # -----------------------
9044 # Test if FILE is an executable regular file.
9045 as_fn_executable_p ()
9046 {
9047 test -f "$1" && test -x "$1"
9048 } # as_fn_executable_p
9049 as_test_x='test -x'
9050 as_executable_p=as_fn_executable_p
9051
9052 # Sed expression to map a string onto a valid CPP name.
9053 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9054
9055 # Sed expression to map a string onto a valid variable name.
9056 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9057
9058
9059 exec 6>&1
9060 ## ----------------------------------- ##
9061 ## Main body of $CONFIG_STATUS script. ##
9062 ## ----------------------------------- ##
9063 _ASEOF
9064 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9065
9066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9067 # Save the log message, to keep $0 and so on meaningful, and to
9068 # report actual input values of CONFIG_FILES etc. instead of their
9069 # values after options handling.
9070 ac_log="
9071 This file was extended by gvpe $as_me 3.1, which was
9072 generated by GNU Autoconf 2.69. Invocation command line was
9073
9074 CONFIG_FILES = $CONFIG_FILES
9075 CONFIG_HEADERS = $CONFIG_HEADERS
9076 CONFIG_LINKS = $CONFIG_LINKS
9077 CONFIG_COMMANDS = $CONFIG_COMMANDS
9078 $ $0 $@
9079
9080 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9081 "
9082
9083 _ACEOF
9084
9085 case $ac_config_files in *"
9086 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9087 esac
9088
9089 case $ac_config_headers in *"
9090 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9091 esac
9092
9093
9094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9095 # Files that config.status was made for.
9096 config_files="$ac_config_files"
9097 config_headers="$ac_config_headers"
9098 config_commands="$ac_config_commands"
9099
9100 _ACEOF
9101
9102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9103 ac_cs_usage="\
9104 \`$as_me' instantiates files and other configuration actions
9105 from templates according to the current configuration. Unless the files
9106 and actions are specified as TAGs, all are instantiated by default.
9107
9108 Usage: $0 [OPTION]... [TAG]...
9109
9110 -h, --help print this help, then exit
9111 -V, --version print version number and configuration settings, then exit
9112 --config print configuration, then exit
9113 -q, --quiet, --silent
9114 do not print progress messages
9115 -d, --debug don't remove temporary files
9116 --recheck update $as_me by reconfiguring in the same conditions
9117 --file=FILE[:TEMPLATE]
9118 instantiate the configuration file FILE
9119 --header=FILE[:TEMPLATE]
9120 instantiate the configuration header FILE
9121
9122 Configuration files:
9123 $config_files
9124
9125 Configuration headers:
9126 $config_headers
9127
9128 Configuration commands:
9129 $config_commands
9130
9131 Report bugs to the package provider."
9132
9133 _ACEOF
9134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9135 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9136 ac_cs_version="\\
9137 gvpe config.status 3.1
9138 configured by $0, generated by GNU Autoconf 2.69,
9139 with options \\"\$ac_cs_config\\"
9140
9141 Copyright (C) 2012 Free Software Foundation, Inc.
9142 This config.status script is free software; the Free Software Foundation
9143 gives unlimited permission to copy, distribute and modify it."
9144
9145 ac_pwd='$ac_pwd'
9146 srcdir='$srcdir'
9147 INSTALL='$INSTALL'
9148 AWK='$AWK'
9149 test -n "\$AWK" || AWK=awk
9150 _ACEOF
9151
9152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9153 # The default lists apply if the user does not specify any file.
9154 ac_need_defaults=:
9155 while test $# != 0
9156 do
9157 case $1 in
9158 --*=?*)
9159 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9160 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9161 ac_shift=:
9162 ;;
9163 --*=)
9164 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9165 ac_optarg=
9166 ac_shift=:
9167 ;;
9168 *)
9169 ac_option=$1
9170 ac_optarg=$2
9171 ac_shift=shift
9172 ;;
9173 esac
9174
9175 case $ac_option in
9176 # Handling of the options.
9177 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9178 ac_cs_recheck=: ;;
9179 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9180 $as_echo "$ac_cs_version"; exit ;;
9181 --config | --confi | --conf | --con | --co | --c )
9182 $as_echo "$ac_cs_config"; exit ;;
9183 --debug | --debu | --deb | --de | --d | -d )
9184 debug=: ;;
9185 --file | --fil | --fi | --f )
9186 $ac_shift
9187 case $ac_optarg in
9188 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9189 '') as_fn_error $? "missing file argument" ;;
9190 esac
9191 as_fn_append CONFIG_FILES " '$ac_optarg'"
9192 ac_need_defaults=false;;
9193 --header | --heade | --head | --hea )
9194 $ac_shift
9195 case $ac_optarg in
9196 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9197 esac
9198 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9199 ac_need_defaults=false;;
9200 --he | --h)
9201 # Conflict between --help and --header
9202 as_fn_error $? "ambiguous option: \`$1'
9203 Try \`$0 --help' for more information.";;
9204 --help | --hel | -h )
9205 $as_echo "$ac_cs_usage"; exit ;;
9206 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9207 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9208 ac_cs_silent=: ;;
9209
9210 # This is an error.
9211 -*) as_fn_error $? "unrecognized option: \`$1'
9212 Try \`$0 --help' for more information." ;;
9213
9214 *) as_fn_append ac_config_targets " $1"
9215 ac_need_defaults=false ;;
9216
9217 esac
9218 shift
9219 done
9220
9221 ac_configure_extra_args=
9222
9223 if $ac_cs_silent; then
9224 exec 6>/dev/null
9225 ac_configure_extra_args="$ac_configure_extra_args --silent"
9226 fi
9227
9228 _ACEOF
9229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9230 if \$ac_cs_recheck; then
9231 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9232 shift
9233 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9234 CONFIG_SHELL='$SHELL'
9235 export CONFIG_SHELL
9236 exec "\$@"
9237 fi
9238
9239 _ACEOF
9240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9241 exec 5>>config.log
9242 {
9243 echo
9244 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9245 ## Running $as_me. ##
9246 _ASBOX
9247 $as_echo "$ac_log"
9248 } >&5
9249
9250 _ACEOF
9251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9252 #
9253 # INIT-COMMANDS
9254 #
9255 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9256 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
9257 # from automake.
9258 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
9259 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9260 LINGUAS="${LINGUAS-%UNSET%}"
9261
9262 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9263
9264 _ACEOF
9265
9266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9267
9268 # Handling of arguments.
9269 for ac_config_target in $ac_config_targets
9270 do
9271 case $ac_config_target in
9272 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9273 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
9274 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9275 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9276 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9277 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9278 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9279 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
9280 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9281
9282 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9283 esac
9284 done
9285
9286
9287 # If the user did not use the arguments to specify the items to instantiate,
9288 # then the envvar interface is used. Set only those that are not.
9289 # We use the long form for the default assignment because of an extremely
9290 # bizarre bug on SunOS 4.1.3.
9291 if $ac_need_defaults; then
9292 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9293 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9294 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9295 fi
9296
9297 # Have a temporary directory for convenience. Make it in the build tree
9298 # simply because there is no reason against having it here, and in addition,
9299 # creating and moving files from /tmp can sometimes cause problems.
9300 # Hook for its removal unless debugging.
9301 # Note that there is a small window in which the directory will not be cleaned:
9302 # after its creation but before its name has been assigned to `$tmp'.
9303 $debug ||
9304 {
9305 tmp= ac_tmp=
9306 trap 'exit_status=$?
9307 : "${ac_tmp:=$tmp}"
9308 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9309 ' 0
9310 trap 'as_fn_exit 1' 1 2 13 15
9311 }
9312 # Create a (secure) tmp directory for tmp files.
9313
9314 {
9315 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9316 test -d "$tmp"
9317 } ||
9318 {
9319 tmp=./conf$$-$RANDOM
9320 (umask 077 && mkdir "$tmp")
9321 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9322 ac_tmp=$tmp
9323
9324 # Set up the scripts for CONFIG_FILES section.
9325 # No need to generate them if there are no CONFIG_FILES.
9326 # This happens for instance with `./config.status config.h'.
9327 if test -n "$CONFIG_FILES"; then
9328
9329
9330 ac_cr=`echo X | tr X '\015'`
9331 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9332 # But we know of no other shell where ac_cr would be empty at this
9333 # point, so we can use a bashism as a fallback.
9334 if test "x$ac_cr" = x; then
9335 eval ac_cr=\$\'\\r\'
9336 fi
9337 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9338 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9339 ac_cs_awk_cr='\\r'
9340 else
9341 ac_cs_awk_cr=$ac_cr
9342 fi
9343
9344 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9345 _ACEOF
9346
9347
9348 {
9349 echo "cat >conf$$subs.awk <<_ACEOF" &&
9350 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9351 echo "_ACEOF"
9352 } >conf$$subs.sh ||
9353 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9354 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9355 ac_delim='%!_!# '
9356 for ac_last_try in false false false false false :; do
9357 . ./conf$$subs.sh ||
9358 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9359
9360 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9361 if test $ac_delim_n = $ac_delim_num; then
9362 break
9363 elif $ac_last_try; then
9364 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9365 else
9366 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9367 fi
9368 done
9369 rm -f conf$$subs.sh
9370
9371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9372 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9373 _ACEOF
9374 sed -n '
9375 h
9376 s/^/S["/; s/!.*/"]=/
9377 p
9378 g
9379 s/^[^!]*!//
9380 :repl
9381 t repl
9382 s/'"$ac_delim"'$//
9383 t delim
9384 :nl
9385 h
9386 s/\(.\{148\}\)..*/\1/
9387 t more1
9388 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9389 p
9390 n
9391 b repl
9392 :more1
9393 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9394 p
9395 g
9396 s/.\{148\}//
9397 t nl
9398 :delim
9399 h
9400 s/\(.\{148\}\)..*/\1/
9401 t more2
9402 s/["\\]/\\&/g; s/^/"/; s/$/"/
9403 p
9404 b
9405 :more2
9406 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9407 p
9408 g
9409 s/.\{148\}//
9410 t delim
9411 ' <conf$$subs.awk | sed '
9412 /^[^""]/{
9413 N
9414 s/\n//
9415 }
9416 ' >>$CONFIG_STATUS || ac_write_fail=1
9417 rm -f conf$$subs.awk
9418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9419 _ACAWK
9420 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9421 for (key in S) S_is_set[key] = 1
9422 FS = ""
9423
9424 }
9425 {
9426 line = $ 0
9427 nfields = split(line, field, "@")
9428 substed = 0
9429 len = length(field[1])
9430 for (i = 2; i < nfields; i++) {
9431 key = field[i]
9432 keylen = length(key)
9433 if (S_is_set[key]) {
9434 value = S[key]
9435 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9436 len += length(value) + length(field[++i])
9437 substed = 1
9438 } else
9439 len += 1 + keylen
9440 }
9441
9442 print line
9443 }
9444
9445 _ACAWK
9446 _ACEOF
9447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9448 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9449 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9450 else
9451 cat
9452 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9453 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9454 _ACEOF
9455
9456 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9457 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9458 # trailing colons and then remove the whole line if VPATH becomes empty
9459 # (actually we leave an empty line to preserve line numbers).
9460 if test "x$srcdir" = x.; then
9461 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9462 h
9463 s///
9464 s/^/:/
9465 s/[ ]*$/:/
9466 s/:\$(srcdir):/:/g
9467 s/:\${srcdir}:/:/g
9468 s/:@srcdir@:/:/g
9469 s/^:*//
9470 s/:*$//
9471 x
9472 s/\(=[ ]*\).*/\1/
9473 G
9474 s/\n//
9475 s/^[^=]*=[ ]*$//
9476 }'
9477 fi
9478
9479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9480 fi # test -n "$CONFIG_FILES"
9481
9482 # Set up the scripts for CONFIG_HEADERS section.
9483 # No need to generate them if there are no CONFIG_HEADERS.
9484 # This happens for instance with `./config.status Makefile'.
9485 if test -n "$CONFIG_HEADERS"; then
9486 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9487 BEGIN {
9488 _ACEOF
9489
9490 # Transform confdefs.h into an awk script `defines.awk', embedded as
9491 # here-document in config.status, that substitutes the proper values into
9492 # config.h.in to produce config.h.
9493
9494 # Create a delimiter string that does not exist in confdefs.h, to ease
9495 # handling of long lines.
9496 ac_delim='%!_!# '
9497 for ac_last_try in false false :; do
9498 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9499 if test -z "$ac_tt"; then
9500 break
9501 elif $ac_last_try; then
9502 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9503 else
9504 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9505 fi
9506 done
9507
9508 # For the awk script, D is an array of macro values keyed by name,
9509 # likewise P contains macro parameters if any. Preserve backslash
9510 # newline sequences.
9511
9512 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9513 sed -n '
9514 s/.\{148\}/&'"$ac_delim"'/g
9515 t rset
9516 :rset
9517 s/^[ ]*#[ ]*define[ ][ ]*/ /
9518 t def
9519 d
9520 :def
9521 s/\\$//
9522 t bsnl
9523 s/["\\]/\\&/g
9524 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9525 D["\1"]=" \3"/p
9526 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9527 d
9528 :bsnl
9529 s/["\\]/\\&/g
9530 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9531 D["\1"]=" \3\\\\\\n"\\/p
9532 t cont
9533 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9534 t cont
9535 d
9536 :cont
9537 n
9538 s/.\{148\}/&'"$ac_delim"'/g
9539 t clear
9540 :clear
9541 s/\\$//
9542 t bsnlc
9543 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9544 d
9545 :bsnlc
9546 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9547 b cont
9548 ' <confdefs.h | sed '
9549 s/'"$ac_delim"'/"\\\
9550 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9551
9552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9553 for (key in D) D_is_set[key] = 1
9554 FS = ""
9555 }
9556 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9557 line = \$ 0
9558 split(line, arg, " ")
9559 if (arg[1] == "#") {
9560 defundef = arg[2]
9561 mac1 = arg[3]
9562 } else {
9563 defundef = substr(arg[1], 2)
9564 mac1 = arg[2]
9565 }
9566 split(mac1, mac2, "(") #)
9567 macro = mac2[1]
9568 prefix = substr(line, 1, index(line, defundef) - 1)
9569 if (D_is_set[macro]) {
9570 # Preserve the white space surrounding the "#".
9571 print prefix "define", macro P[macro] D[macro]
9572 next
9573 } else {
9574 # Replace #undef with comments. This is necessary, for example,
9575 # in the case of _POSIX_SOURCE, which is predefined and required
9576 # on some systems where configure will not decide to define it.
9577 if (defundef == "undef") {
9578 print "/*", prefix defundef, macro, "*/"
9579 next
9580 }
9581 }
9582 }
9583 { print }
9584 _ACAWK
9585 _ACEOF
9586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9587 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9588 fi # test -n "$CONFIG_HEADERS"
9589
9590
9591 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9592 shift
9593 for ac_tag
9594 do
9595 case $ac_tag in
9596 :[FHLC]) ac_mode=$ac_tag; continue;;
9597 esac
9598 case $ac_mode$ac_tag in
9599 :[FHL]*:*);;
9600 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9601 :[FH]-) ac_tag=-:-;;
9602 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9603 esac
9604 ac_save_IFS=$IFS
9605 IFS=:
9606 set x $ac_tag
9607 IFS=$ac_save_IFS
9608 shift
9609 ac_file=$1
9610 shift
9611
9612 case $ac_mode in
9613 :L) ac_source=$1;;
9614 :[FH])
9615 ac_file_inputs=
9616 for ac_f
9617 do
9618 case $ac_f in
9619 -) ac_f="$ac_tmp/stdin";;
9620 *) # Look for the file first in the build tree, then in the source tree
9621 # (if the path is not absolute). The absolute path cannot be DOS-style,
9622 # because $ac_f cannot contain `:'.
9623 test -f "$ac_f" ||
9624 case $ac_f in
9625 [\\/$]*) false;;
9626 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9627 esac ||
9628 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9629 esac
9630 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9631 as_fn_append ac_file_inputs " '$ac_f'"
9632 done
9633
9634 # Let's still pretend it is `configure' which instantiates (i.e., don't
9635 # use $as_me), people would be surprised to read:
9636 # /* config.h. Generated by config.status. */
9637 configure_input='Generated from '`
9638 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9639 `' by configure.'
9640 if test x"$ac_file" != x-; then
9641 configure_input="$ac_file. $configure_input"
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9643 $as_echo "$as_me: creating $ac_file" >&6;}
9644 fi
9645 # Neutralize special characters interpreted by sed in replacement strings.
9646 case $configure_input in #(
9647 *\&* | *\|* | *\\* )
9648 ac_sed_conf_input=`$as_echo "$configure_input" |
9649 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9650 *) ac_sed_conf_input=$configure_input;;
9651 esac
9652
9653 case $ac_tag in
9654 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9655 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9656 esac
9657 ;;
9658 esac
9659
9660 ac_dir=`$as_dirname -- "$ac_file" ||
9661 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9662 X"$ac_file" : 'X\(//\)[^/]' \| \
9663 X"$ac_file" : 'X\(//\)$' \| \
9664 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9665 $as_echo X"$ac_file" |
9666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9667 s//\1/
9668 q
9669 }
9670 /^X\(\/\/\)[^/].*/{
9671 s//\1/
9672 q
9673 }
9674 /^X\(\/\/\)$/{
9675 s//\1/
9676 q
9677 }
9678 /^X\(\/\).*/{
9679 s//\1/
9680 q
9681 }
9682 s/.*/./; q'`
9683 as_dir="$ac_dir"; as_fn_mkdir_p
9684 ac_builddir=.
9685
9686 case "$ac_dir" in
9687 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9688 *)
9689 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9690 # A ".." for each directory in $ac_dir_suffix.
9691 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9692 case $ac_top_builddir_sub in
9693 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9694 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9695 esac ;;
9696 esac
9697 ac_abs_top_builddir=$ac_pwd
9698 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9699 # for backward compatibility:
9700 ac_top_builddir=$ac_top_build_prefix
9701
9702 case $srcdir in
9703 .) # We are building in place.
9704 ac_srcdir=.
9705 ac_top_srcdir=$ac_top_builddir_sub
9706 ac_abs_top_srcdir=$ac_pwd ;;
9707 [\\/]* | ?:[\\/]* ) # Absolute name.
9708 ac_srcdir=$srcdir$ac_dir_suffix;
9709 ac_top_srcdir=$srcdir
9710 ac_abs_top_srcdir=$srcdir ;;
9711 *) # Relative name.
9712 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9713 ac_top_srcdir=$ac_top_build_prefix$srcdir
9714 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9715 esac
9716 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9717
9718
9719 case $ac_mode in
9720 :F)
9721 #
9722 # CONFIG_FILE
9723 #
9724
9725 case $INSTALL in
9726 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9727 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9728 esac
9729 _ACEOF
9730
9731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9732 # If the template does not know about datarootdir, expand it.
9733 # FIXME: This hack should be removed a few years after 2.60.
9734 ac_datarootdir_hack=; ac_datarootdir_seen=
9735 ac_sed_dataroot='
9736 /datarootdir/ {
9737 p
9738 q
9739 }
9740 /@datadir@/p
9741 /@docdir@/p
9742 /@infodir@/p
9743 /@localedir@/p
9744 /@mandir@/p'
9745 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9746 *datarootdir*) ac_datarootdir_seen=yes;;
9747 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9749 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9750 _ACEOF
9751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9752 ac_datarootdir_hack='
9753 s&@datadir@&$datadir&g
9754 s&@docdir@&$docdir&g
9755 s&@infodir@&$infodir&g
9756 s&@localedir@&$localedir&g
9757 s&@mandir@&$mandir&g
9758 s&\\\${datarootdir}&$datarootdir&g' ;;
9759 esac
9760 _ACEOF
9761
9762 # Neutralize VPATH when `$srcdir' = `.'.
9763 # Shell code in configure.ac might set extrasub.
9764 # FIXME: do we really want to maintain this feature?
9765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9766 ac_sed_extra="$ac_vpsub
9767 $extrasub
9768 _ACEOF
9769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9770 :t
9771 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9772 s|@configure_input@|$ac_sed_conf_input|;t t
9773 s&@top_builddir@&$ac_top_builddir_sub&;t t
9774 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9775 s&@srcdir@&$ac_srcdir&;t t
9776 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9777 s&@top_srcdir@&$ac_top_srcdir&;t t
9778 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9779 s&@builddir@&$ac_builddir&;t t
9780 s&@abs_builddir@&$ac_abs_builddir&;t t
9781 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9782 s&@INSTALL@&$ac_INSTALL&;t t
9783 $ac_datarootdir_hack
9784 "
9785 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9786 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9787
9788 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9789 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9790 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9791 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9793 which seems to be undefined. Please make sure it is defined" >&5
9794 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9795 which seems to be undefined. Please make sure it is defined" >&2;}
9796
9797 rm -f "$ac_tmp/stdin"
9798 case $ac_file in
9799 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9800 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9801 esac \
9802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9803 ;;
9804 :H)
9805 #
9806 # CONFIG_HEADER
9807 #
9808 if test x"$ac_file" != x-; then
9809 {
9810 $as_echo "/* $configure_input */" \
9811 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9812 } >"$ac_tmp/config.h" \
9813 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9814 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9816 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9817 else
9818 rm -f "$ac_file"
9819 mv "$ac_tmp/config.h" "$ac_file" \
9820 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9821 fi
9822 else
9823 $as_echo "/* $configure_input */" \
9824 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9825 || as_fn_error $? "could not create -" "$LINENO" 5
9826 fi
9827 # Compute "$ac_file"'s index in $config_headers.
9828 _am_stamp_count=1
9829 for _am_header in $config_headers :; do
9830 case $_am_header in
9831 "$ac_file" | "$ac_file":* )
9832 break ;;
9833 * )
9834 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9835 esac
9836 done
9837 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
9838 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9839 X"$ac_file" : 'X\(//\)[^/]' \| \
9840 X"$ac_file" : 'X\(//\)$' \| \
9841 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9842 $as_echo X"$ac_file" |
9843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9844 s//\1/
9845 q
9846 }
9847 /^X\(\/\/\)[^/].*/{
9848 s//\1/
9849 q
9850 }
9851 /^X\(\/\/\)$/{
9852 s//\1/
9853 q
9854 }
9855 /^X\(\/\).*/{
9856 s//\1/
9857 q
9858 }
9859 s/.*/./; q'`/stamp-h$_am_stamp_count
9860 ;;
9861
9862 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9863 $as_echo "$as_me: executing $ac_file commands" >&6;}
9864 ;;
9865 esac
9866
9867
9868 case $ac_file$ac_mode in
9869 "default-1":C)
9870 for ac_file in $CONFIG_FILES; do
9871 # Support "outfile[:infile[:infile...]]"
9872 case "$ac_file" in
9873 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
9874 esac
9875 # PO directories have a Makefile.in generated from Makefile.in.in.
9876 case "$ac_file" in */Makefile.in)
9877 # Adjust a relative srcdir.
9878 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9879 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
9880 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9881 # In autoconf-2.13 it is called $ac_given_srcdir.
9882 # In autoconf-2.50 it is called $srcdir.
9883 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
9884 case "$ac_given_srcdir" in
9885 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
9886 /*) top_srcdir="$ac_given_srcdir" ;;
9887 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
9888 esac
9889 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9890 rm -f "$ac_dir/POTFILES"
9891 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
9892 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9893 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
9894 # on $ac_dir but don't depend on user-specified configuration
9895 # parameters.
9896 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9897 # The LINGUAS file contains the set of available languages.
9898 if test -n "$ALL_LINGUAS"; then
9899 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
9900 fi
9901 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9902 # Hide the ALL_LINGUAS assigment from automake.
9903 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9904 fi
9905 case "$ac_given_srcdir" in
9906 .) srcdirpre= ;;
9907 *) srcdirpre='$(srcdir)/' ;;
9908 esac
9909 POFILES=
9910 GMOFILES=
9911 UPDATEPOFILES=
9912 DUMMYPOFILES=
9913 for lang in $ALL_LINGUAS; do
9914 POFILES="$POFILES $srcdirpre$lang.po"
9915 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
9916 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
9917 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
9918 done
9919 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9920 # environment variable.
9921 INST_LINGUAS=
9922 if test -n "$ALL_LINGUAS"; then
9923 for presentlang in $ALL_LINGUAS; do
9924 useit=no
9925 if test "%UNSET%" != "$LINGUAS"; then
9926 desiredlanguages="$LINGUAS"
9927 else
9928 desiredlanguages="$ALL_LINGUAS"
9929 fi
9930 for desiredlang in $desiredlanguages; do
9931 # Use the presentlang catalog if desiredlang is
9932 # a. equal to presentlang, or
9933 # b. a variant of presentlang (because in this case,
9934 # presentlang can be used as a fallback for messages
9935 # which are not translated in the desiredlang catalog).
9936 case "$desiredlang" in
9937 "$presentlang"*) useit=yes;;
9938 esac
9939 done
9940 if test $useit = yes; then
9941 INST_LINGUAS="$INST_LINGUAS $presentlang"
9942 fi
9943 done
9944 fi
9945 CATALOGS=
9946 if test -n "$INST_LINGUAS"; then
9947 for lang in $INST_LINGUAS; do
9948 CATALOGS="$CATALOGS $lang.gmo"
9949 done
9950 fi
9951 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9952 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
9953 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
9954 if test -f "$f"; then
9955 case "$f" in
9956 *.orig | *.bak | *~) ;;
9957 *) cat "$f" >> "$ac_dir/Makefile" ;;
9958 esac
9959 fi
9960 done
9961 fi
9962 ;;
9963 esac
9964 done ;;
9965 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9966 # Strip MF so we end up with the name of the file.
9967 mf=`echo "$mf" | sed -e 's/:.*$//'`
9968 # Check whether this is an Automake generated Makefile or not.
9969 # We used to match only the files named `Makefile.in', but
9970 # some people rename them; so instead we look at the file content.
9971 # Grep'ing the first line is not enough: some people post-process
9972 # each Makefile.in and add a new line on top of each file to say so.
9973 # So let's grep whole file.
9974 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9975 dirpart=`$as_dirname -- "$mf" ||
9976 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9977 X"$mf" : 'X\(//\)[^/]' \| \
9978 X"$mf" : 'X\(//\)$' \| \
9979 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9980 $as_echo X"$mf" |
9981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9982 s//\1/
9983 q
9984 }
9985 /^X\(\/\/\)[^/].*/{
9986 s//\1/
9987 q
9988 }
9989 /^X\(\/\/\)$/{
9990 s//\1/
9991 q
9992 }
9993 /^X\(\/\).*/{
9994 s//\1/
9995 q
9996 }
9997 s/.*/./; q'`
9998 else
9999 continue
10000 fi
10001 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
10002 # Extract the definition of DEP_FILES from the Makefile without
10003 # running `make'.
10004 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10005 test -z "$DEPDIR" && continue
10006 # When using ansi2knr, U may be empty or an underscore; expand it
10007 U=`sed -n -e '/^U = / s///p' < "$mf"`
10008 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10009 # We invoke sed twice because it is the simplest approach to
10010 # changing $(DEPDIR) to its actual value in the expansion.
10011 for file in `sed -n -e '
10012 /^DEP_FILES = .*\\\\$/ {
10013 s/^DEP_FILES = //
10014 :loop
10015 s/\\\\$//
10016 p
10017 n
10018 /\\\\$/ b loop
10019 p
10020 }
10021 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10022 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10023 # Make sure the directory exists.
10024 test -f "$dirpart/$file" && continue
10025 fdir=`$as_dirname -- "$file" ||
10026 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10027 X"$file" : 'X\(//\)[^/]' \| \
10028 X"$file" : 'X\(//\)$' \| \
10029 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10030 $as_echo X"$file" |
10031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10032 s//\1/
10033 q
10034 }
10035 /^X\(\/\/\)[^/].*/{
10036 s//\1/
10037 q
10038 }
10039 /^X\(\/\/\)$/{
10040 s//\1/
10041 q
10042 }
10043 /^X\(\/\).*/{
10044 s//\1/
10045 q
10046 }
10047 s/.*/./; q'`
10048 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10049 # echo "creating $dirpart/$file"
10050 echo '# dummy' > "$dirpart/$file"
10051 done
10052 done
10053 ;;
10054
10055 esac
10056 done # for ac_tag
10057
10058
10059 as_fn_exit 0
10060 _ACEOF
10061 ac_clean_files=$ac_clean_files_save
10062
10063 test $ac_write_fail = 0 ||
10064 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10065
10066
10067 # configure is writing to config.log, and then calls config.status.
10068 # config.status does its own redirection, appending to config.log.
10069 # Unfortunately, on DOS this fails, as config.log is still kept open
10070 # by configure, so config.status won't be able to write to it; its
10071 # output is simply discarded. So we exec the FD to /dev/null,
10072 # effectively closing config.log, so it can be properly (re)opened and
10073 # appended to by config.status. When coming back to configure, we
10074 # need to make the FD available again.
10075 if test "$no_create" != yes; then
10076 ac_cs_success=:
10077 ac_config_status_args=
10078 test "$silent" = yes &&
10079 ac_config_status_args="$ac_config_status_args --quiet"
10080 exec 5>/dev/null
10081 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10082 exec 5>>config.log
10083 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10084 # would make configure fail if this is the last instruction.
10085 $ac_cs_success || as_fn_exit 1
10086 fi
10087 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10089 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10090 fi
10091
10092
10093 echo
10094 echo "***"
10095 echo "*** Configuration Summary"
10096 echo "***"
10097 echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
10098 echo "*** RSA size: $RSA"
10099 echo "*** Cipher used: $CIPHER"
10100 echo "*** Digest used: $DIGEST"
10101 echo "*** Authdigest: $AUTH"
10102 echo "*** HMAC length: $HMAC"
10103 echo "*** Max. MTU: $MTU"
10104
10105 echo "***"
10106 echo "*** Enable options:"
10107 grep ENABLE_ config.h | sed -e 's/^/*** /'
10108
10109 if test "$HMACSIZE" -lt 12; then
10110 echo "***"
10111 echo "*** WARNING: The hmac length you have chosen ($HMACSIZE) is quite insecure"
10112 fi
10113
10114 echo "***"
10115 echo
10116
10117 if pkg-config --exists 'libcrypto >= 1.1 libcrypto < 2.0'; then
10118 cat <<EOF
10119 
10120 ***
10121 *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
10122 ***
10123 *** You seem to configure gvpe with OpenSSL 1.1 or newer.
10124 *** While this probably compiles, please note that this is not only
10125 *** unsupported, but also discouraged.
10126 ***
10127 *** It is recommended to use either OpenSSL 1.0, as long as that is still
10128 *** supported, or LibreSSL (https://www.libressl.org/).
10129 ***
10130 *** This is not a political issue - while porting GVPE to the newer
10131 *** OpenSSL 1.1 API, I encountered two incompatible API changes that were
10132 *** not documented, were not caught while compiling but caused security
10133 *** issues. When reported, the reaction of the OpenSSL developers was to
10134 *** update the documentation.
10135 ***
10136 *** As a result, I lost all confidence in the ability and desire of
10137 *** OpenSSL developers to create a safe API, and would highly recommend
10138 *** switching to LibreSSL which explicitly avoids such braking changes.
10139 ***
10140 *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
10141 ***
10142 *** Again, do not use OpenSSL 1.1 and complain if stuff breaks.
10143 *** You have been warned, but your choice is respected.
10144 ***
10145 
10146
10147 EOF
10148 fi
10149
10150