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