ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure
Revision: 1.45
Committed: Tue Feb 15 13:31:21 2011 UTC (13 years, 2 months ago) by root
Branch: MAIN
Changes since 1.44: +5008 -7371 lines
Log Message:
*** empty log message ***

File Contents

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