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