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