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