Debian Codegraph @

configure

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