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