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