Debian Codegraph @

configure

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