Debian Codegraph @

configure

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