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