Debian Codegraph @

configure

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