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