]> git.saurik.com Git - wxWidgets.git/blob - configure
more compilation and linking fixes for !wxHAS_NATIVE_TAB_TRAVERSAL after recent changes
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 fi
27 BIN_SH=xpg4; export BIN_SH # for Tru64
28 DUALCASE=1; export DUALCASE # for MKS sh
29
30
31 # PATH needs CR
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
38
39 # The user is always right.
40 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
43 chmod +x conf$$.sh
44 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45 PATH_SEPARATOR=';'
46 else
47 PATH_SEPARATOR=:
48 fi
49 rm -f conf$$.sh
50 fi
51
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54 as_unset=unset
55 else
56 as_unset=false
57 fi
58
59
60 # IFS
61 # We need space, tab and new line, in precisely that order. Quoting is
62 # there to prevent editors from complaining about space-tab.
63 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
64 # splitting by setting IFS to empty value.)
65 as_nl='
66 '
67 IFS=" "" $as_nl"
68
69 # Find who we are. Look in the path if we contain no directory separator.
70 case $0 in
71 *[\\/]* ) as_myself=$0 ;;
72 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73 for as_dir in $PATH
74 do
75 IFS=$as_save_IFS
76 test -z "$as_dir" && as_dir=.
77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78 done
79 IFS=$as_save_IFS
80
81 ;;
82 esac
83 # We did not find ourselves, most probably we were run as `sh COMMAND'
84 # in which case we are not to be found in the path.
85 if test "x$as_myself" = x; then
86 as_myself=$0
87 fi
88 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 { (exit 1); exit 1; }
91 fi
92
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
96 done
97 PS1='$ '
98 PS2='> '
99 PS4='+ '
100
101 # NLS nuisances.
102 for as_var in \
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 LC_TELEPHONE LC_TIME
106 do
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
109 else
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 fi
112 done
113
114 # Required to use basename.
115 if expr a : '\(a\)' >/dev/null 2>&1 &&
116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
117 as_expr=expr
118 else
119 as_expr=false
120 fi
121
122 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
123 as_basename=basename
124 else
125 as_basename=false
126 fi
127
128
129 # Name of the executable.
130 as_me=`$as_basename -- "$0" ||
131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132 X"$0" : 'X\(//\)$' \| \
133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 echo X/"$0" |
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
136 s//\1/
137 q
138 }
139 /^X\/\(\/\/\)$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\).*/{
144 s//\1/
145 q
146 }
147 s/.*/./; q'`
148
149 # CDPATH.
150 $as_unset CDPATH
151
152
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
155 as_have_required=yes
156 else
157 as_have_required=no
158 fi
159
160 if test $as_have_required = yes && (eval ":
161 (as_func_return () {
162 (exit \$1)
163 }
164 as_func_success () {
165 as_func_return 0
166 }
167 as_func_failure () {
168 as_func_return 1
169 }
170 as_func_ret_success () {
171 return 0
172 }
173 as_func_ret_failure () {
174 return 1
175 }
176
177 exitcode=0
178 if as_func_success; then
179 :
180 else
181 exitcode=1
182 echo as_func_success failed.
183 fi
184
185 if as_func_failure; then
186 exitcode=1
187 echo as_func_failure succeeded.
188 fi
189
190 if as_func_ret_success; then
191 :
192 else
193 exitcode=1
194 echo as_func_ret_success failed.
195 fi
196
197 if as_func_ret_failure; then
198 exitcode=1
199 echo as_func_ret_failure succeeded.
200 fi
201
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 :
204 else
205 exitcode=1
206 echo positional parameters were not saved.
207 fi
208
209 test \$exitcode = 0) || { (exit 1); exit 1; }
210
211 (
212 as_lineno_1=\$LINENO
213 as_lineno_2=\$LINENO
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
217 :
218 else
219 as_candidate_shells=
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 do
223 IFS=$as_save_IFS
224 test -z "$as_dir" && as_dir=.
225 case $as_dir in
226 /*)
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229 done;;
230 esac
231 done
232 IFS=$as_save_IFS
233
234
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 # Be Bourne compatible
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 fi
250 BIN_SH=xpg4; export BIN_SH # for Tru64
251 DUALCASE=1; export DUALCASE # for MKS sh
252
253 :
254 _ASEOF
255 }; then
256 CONFIG_SHELL=$as_shell
257 as_have_required=yes
258 if { "$as_shell" 2> /dev/null <<\_ASEOF
259 # Be Bourne compatible
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 fi
270 BIN_SH=xpg4; export BIN_SH # for Tru64
271 DUALCASE=1; export DUALCASE # for MKS sh
272
273 :
274 (as_func_return () {
275 (exit $1)
276 }
277 as_func_success () {
278 as_func_return 0
279 }
280 as_func_failure () {
281 as_func_return 1
282 }
283 as_func_ret_success () {
284 return 0
285 }
286 as_func_ret_failure () {
287 return 1
288 }
289
290 exitcode=0
291 if as_func_success; then
292 :
293 else
294 exitcode=1
295 echo as_func_success failed.
296 fi
297
298 if as_func_failure; then
299 exitcode=1
300 echo as_func_failure succeeded.
301 fi
302
303 if as_func_ret_success; then
304 :
305 else
306 exitcode=1
307 echo as_func_ret_success failed.
308 fi
309
310 if as_func_ret_failure; then
311 exitcode=1
312 echo as_func_ret_failure succeeded.
313 fi
314
315 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 :
317 else
318 exitcode=1
319 echo positional parameters were not saved.
320 fi
321
322 test $exitcode = 0) || { (exit 1); exit 1; }
323
324 (
325 as_lineno_1=$LINENO
326 as_lineno_2=$LINENO
327 test "x$as_lineno_1" != "x$as_lineno_2" &&
328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
329
330 _ASEOF
331 }; then
332 break
333 fi
334
335 fi
336
337 done
338
339 if test "x$CONFIG_SHELL" != x; then
340 for as_var in BASH_ENV ENV
341 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
342 done
343 export CONFIG_SHELL
344 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 fi
346
347
348 if test $as_have_required = no; then
349 echo This script requires a shell more modern than all the
350 echo shells that I found on your system. Please install a
351 echo modern shell, or manually run the script under such a
352 echo shell if you do have one.
353 { (exit 1); exit 1; }
354 fi
355
356
357 fi
358
359 fi
360
361
362
363 (eval "as_func_return () {
364 (exit \$1)
365 }
366 as_func_success () {
367 as_func_return 0
368 }
369 as_func_failure () {
370 as_func_return 1
371 }
372 as_func_ret_success () {
373 return 0
374 }
375 as_func_ret_failure () {
376 return 1
377 }
378
379 exitcode=0
380 if as_func_success; then
381 :
382 else
383 exitcode=1
384 echo as_func_success failed.
385 fi
386
387 if as_func_failure; then
388 exitcode=1
389 echo as_func_failure succeeded.
390 fi
391
392 if as_func_ret_success; then
393 :
394 else
395 exitcode=1
396 echo as_func_ret_success failed.
397 fi
398
399 if as_func_ret_failure; then
400 exitcode=1
401 echo as_func_ret_failure succeeded.
402 fi
403
404 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 :
406 else
407 exitcode=1
408 echo positional parameters were not saved.
409 fi
410
411 test \$exitcode = 0") || {
412 echo No shell found that supports shell functions.
413 echo Please tell autoconf@gnu.org about your system,
414 echo including any error possibly output before this
415 echo message
416 }
417
418
419
420 as_lineno_1=$LINENO
421 as_lineno_2=$LINENO
422 test "x$as_lineno_1" != "x$as_lineno_2" &&
423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424
425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
426 # uniformly replaced by the line number. The first 'sed' inserts a
427 # line-number line after each line using $LINENO; the second 'sed'
428 # does the real work. The second script uses 'N' to pair each
429 # line-number line with the line containing $LINENO, and appends
430 # trailing '-' during substitution so that $LINENO is not a special
431 # case at line end.
432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
433 # scripts with optimization help from Paolo Bonzini. Blame Lee
434 # E. McMahon (1931-1989) for sed's syntax. :-)
435 sed -n '
436 p
437 /[$]LINENO/=
438 ' <$as_myself |
439 sed '
440 s/[$]LINENO.*/&-/
441 t lineno
442 b
443 :lineno
444 N
445 :loop
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 t loop
448 s/-\n.*//
449 ' >$as_me.lineno &&
450 chmod +x "$as_me.lineno" ||
451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452 { (exit 1); exit 1; }; }
453
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
457 . "./$as_me.lineno"
458 # Exit status is that of the last command.
459 exit
460 }
461
462
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
464 as_dirname=dirname
465 else
466 as_dirname=false
467 fi
468
469 ECHO_C= ECHO_N= ECHO_T=
470 case `echo -n x` in
471 -n*)
472 case `echo 'x\c'` in
473 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) ECHO_C='\c';;
475 esac;;
476 *)
477 ECHO_N='-n';;
478 esac
479
480 if expr a : '\(a\)' >/dev/null 2>&1 &&
481 test "X`expr 00001 : '.*\(...\)'`" = X001; then
482 as_expr=expr
483 else
484 as_expr=false
485 fi
486
487 rm -f conf$$ conf$$.exe conf$$.file
488 if test -d conf$$.dir; then
489 rm -f conf$$.dir/conf$$.file
490 else
491 rm -f conf$$.dir
492 mkdir conf$$.dir
493 fi
494 echo >conf$$.file
495 if ln -s conf$$.file conf$$ 2>/dev/null; then
496 as_ln_s='ln -s'
497 # ... but there are two gotchas:
498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500 # In both cases, we have to default to `cp -p'.
501 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
502 as_ln_s='cp -p'
503 elif ln conf$$.file conf$$ 2>/dev/null; then
504 as_ln_s=ln
505 else
506 as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p=:
513 else
514 test -d ./-p && rmdir ./-p
515 as_mkdir_p=false
516 fi
517
518 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
519 # systems may use methods other than mode bits to determine executability.
520 cat >conf$$.file <<_ASEOF
521 #! /bin/sh
522 exit 0
523 _ASEOF
524 chmod +x conf$$.file
525 if test -x conf$$.file >/dev/null 2>&1; then
526 as_executable_p="test -x"
527 else
528 as_executable_p=:
529 fi
530 rm -f conf$$.file
531
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537
538
539
540 exec 7<&0 </dev/null 6>&1
541
542 # Name of the host.
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
546
547 #
548 # Initializations.
549 #
550 ac_default_prefix=/usr/local
551 ac_clean_files=
552 ac_config_libobj_dir=.
553 LIBOBJS=
554 cross_compiling=no
555 subdirs=
556 MFLAGS=
557 MAKEFLAGS=
558 SHELL=${CONFIG_SHELL-/bin/sh}
559
560 # Identity of this package.
561 PACKAGE_NAME='wxWidgets'
562 PACKAGE_TARNAME='wxwidgets'
563 PACKAGE_VERSION='2.9.0'
564 PACKAGE_STRING='wxWidgets 2.9.0'
565 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
566
567 ac_unique_file="wx-config.in"
568 # Factoring default headers for most tests.
569 ac_includes_default="\
570 #include <stdio.h>
571 #if HAVE_SYS_TYPES_H
572 # include <sys/types.h>
573 #endif
574 #if HAVE_SYS_STAT_H
575 # include <sys/stat.h>
576 #endif
577 #if STDC_HEADERS
578 # include <stdlib.h>
579 # include <stddef.h>
580 #else
581 # if HAVE_STDLIB_H
582 # include <stdlib.h>
583 # endif
584 #endif
585 #if HAVE_STRING_H
586 # if !STDC_HEADERS && HAVE_MEMORY_H
587 # include <memory.h>
588 # endif
589 # include <string.h>
590 #endif
591 #if HAVE_STRINGS_H
592 # include <strings.h>
593 #endif
594 #if HAVE_INTTYPES_H
595 # include <inttypes.h>
596 #endif
597 #if HAVE_STDINT_H
598 # include <stdint.h>
599 #endif
600 #if HAVE_UNISTD_H
601 # include <unistd.h>
602 #endif"
603
604 ac_subst_vars='SHELL
605 PATH_SEPARATOR
606 PACKAGE_NAME
607 PACKAGE_TARNAME
608 PACKAGE_VERSION
609 PACKAGE_STRING
610 PACKAGE_BUGREPORT
611 exec_prefix
612 prefix
613 program_transform_name
614 bindir
615 sbindir
616 libexecdir
617 datarootdir
618 datadir
619 sysconfdir
620 sharedstatedir
621 localstatedir
622 includedir
623 oldincludedir
624 docdir
625 infodir
626 htmldir
627 dvidir
628 pdfdir
629 psdir
630 libdir
631 localedir
632 mandir
633 DEFS
634 ECHO_C
635 ECHO_N
636 ECHO_T
637 LIBS
638 build_alias
639 host_alias
640 target_alias
641 build
642 build_cpu
643 build_vendor
644 build_os
645 host
646 host_cpu
647 host_vendor
648 host_os
649 target
650 target_cpu
651 target_vendor
652 target_os
653 wx_top_builddir
654 CC
655 CFLAGS
656 LDFLAGS
657 CPPFLAGS
658 ac_ct_CC
659 EXEEXT
660 OBJEXT
661 CPP
662 GREP
663 EGREP
664 CXX
665 CXXFLAGS
666 ac_ct_CXX
667 RANLIB
668 AR
669 INSTALL_PROGRAM
670 INSTALL_SCRIPT
671 INSTALL_DATA
672 STRIP
673 WINDRES
674 DLLTOOL
675 IF_GNU_MAKE
676 LN_S
677 subdirs
678 PKG_CONFIG
679 GTK_CFLAGS
680 GTK_LIBS
681 GTK_CONFIG
682 DIRECTFB_CFLAGS
683 DIRECTFB_LIBS
684 XMKMF
685 X_CFLAGS
686 X_PRE_LIBS
687 X_LIBS
688 X_EXTRA_LIBS
689 PANGOX_CFLAGS
690 PANGOX_LIBS
691 PANGOFT2_CFLAGS
692 PANGOFT2_LIBS
693 PANGOXFT_CFLAGS
694 PANGOXFT_LIBS
695 REZ
696 DEREZ
697 SETFILE
698 LIBICONV
699 EXTRALIBS_ESD
700 SDL_CONFIG
701 SDL_CFLAGS
702 SDL_LIBS
703 LIBGNOMEPRINTUI_CFLAGS
704 LIBGNOMEPRINTUI_LIBS
705 GNOMEVFS_CFLAGS
706 GNOMEVFS_LIBS
707 HILDON_CFLAGS
708 HILDON_LIBS
709 CAIRO_CFLAGS
710 CAIRO_LIBS
711 GST_CFLAGS
712 GST_LIBS
713 CORE_BASE_LIBS
714 CORE_GUI_LIBS
715 wxUSE_ZLIB
716 wxUSE_REGEX
717 wxUSE_EXPAT
718 wxUSE_ODBC
719 wxUSE_LIBJPEG
720 wxUSE_LIBPNG
721 wxUSE_LIBTIFF
722 VENDOR
723 OFFICIAL_BUILD
724 WX_FLAVOUR
725 WX_LIB_FLAVOUR
726 WXUNIV
727 MONOLITHIC
728 USE_PLUGINS
729 EXTRALIBS
730 EXTRALIBS_XML
731 EXTRALIBS_HTML
732 EXTRALIBS_ODBC
733 EXTRALIBS_GUI
734 EXTRALIBS_OPENGL
735 EXTRALIBS_SDL
736 WITH_PLUGIN_SDL
737 EXTRALIBS_GNOMEPRINT
738 EXTRALIBS_GNOMEVFS
739 EXTRALIBS_HILDON
740 UNICODE
741 BUILD
742 DEBUG_INFO
743 DEBUG_FLAG
744 TOOLKIT_LOWERCASE
745 TOOLKIT_VERSION
746 SAMPLES_RPATH_FLAG
747 SAMPLES_RPATH_POSTLINK
748 HOST_SUFFIX
749 CPPUNIT_CFLAGS
750 CPPUNIT_LIBS
751 SET_MAKE
752 MAKE_SET
753 AROPTIONS
754 NM
755 INSTALL_DIR
756 LDFLAGS_GUI
757 PLATFORM_UNIX
758 PLATFORM_WIN32
759 PLATFORM_MSDOS
760 PLATFORM_MAC
761 PLATFORM_MACOS
762 PLATFORM_MACOSX
763 PLATFORM_OS2
764 PLATFORM_BEOS
765 SO_SUFFIX
766 SO_SUFFIX_MODULE
767 DLLIMP_SUFFIX
768 LIBPREFIX
769 LIBEXT
770 DLLPREFIX
771 DLLPREFIX_MODULE
772 dlldir
773 AIX_CXX_LD
774 SHARED_LD_CC
775 SHARED_LD_CXX
776 SHARED_LD_MODULE_CC
777 SHARED_LD_MODULE_CXX
778 PIC_FLAG
779 WINDOWS_IMPLIB
780 USE_SOVERSION
781 USE_SOVERLINUX
782 USE_SOVERSOLARIS
783 USE_SOVERCYGWIN
784 USE_MACVERSION
785 USE_SOSYMLINKS
786 SONAME_FLAG
787 DEPS_TRACKING
788 BK_DEPS
789 GCC_PCH
790 ICC_PCH
791 BK_MAKE_PCH
792 COND_BUILD_DEBUG
793 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
794 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
795 COND_BUILD_DEBUG_UNICODE_0
796 COND_BUILD_DEBUG_UNICODE_1
797 COND_BUILD_RELEASE
798 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
799 COND_BUILD_RELEASE_UNICODE_0
800 COND_BUILD_RELEASE_UNICODE_1
801 COND_DEBUG_FLAG_1
802 COND_DEBUG_INFO_0
803 COND_DEBUG_INFO_1
804 COND_DEPS_TRACKING_0
805 COND_DEPS_TRACKING_1
806 COND_GCC_PCH_1
807 COND_ICC_PCH_1
808 COND_MONOLITHIC_0
809 COND_MONOLITHIC_0_SHARED_0
810 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
811 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
812 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
813 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
814 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
815 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
816 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
817 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
818 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
819 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
820 COND_MONOLITHIC_0_SHARED_1
821 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
827 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
828 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
829 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
830 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
831 COND_MONOLITHIC_0_USE_AUI_1
832 COND_MONOLITHIC_0_USE_GUI_1
833 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
835 COND_MONOLITHIC_0_USE_HTML_1
836 COND_MONOLITHIC_0_USE_MEDIA_1
837 COND_MONOLITHIC_0_USE_ODBC_1
838 COND_MONOLITHIC_0_USE_QA_1
839 COND_MONOLITHIC_0_USE_RICHTEXT_1
840 COND_MONOLITHIC_0_USE_STC_1
841 COND_MONOLITHIC_0_USE_XRC_1
842 COND_MONOLITHIC_1
843 COND_MONOLITHIC_1_SHARED_0
844 COND_MONOLITHIC_1_SHARED_1
845 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
846 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
847 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
848 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
849 COND_PLATFORM_MACOSX_1
850 COND_PLATFORM_MACOSX_1_TOOLKIT_
851 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
852 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
853 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
854 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
855 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
856 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
857 COND_PLATFORM_MACOSX_1_USE_GUI_1
858 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
859 COND_PLATFORM_MACOS_1
860 COND_PLATFORM_MAC_1
861 COND_PLATFORM_MSDOS_0
862 COND_PLATFORM_MSDOS_1
863 COND_PLATFORM_OS2_1
864 COND_PLATFORM_UNIX_0
865 COND_PLATFORM_UNIX_1
866 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
867 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
868 COND_PLATFORM_UNIX_1_USE_GUI_1
869 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
870 COND_PLATFORM_WIN32_0
871 COND_PLATFORM_WIN32_1
872 COND_SHARED_0
873 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
874 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
875 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
876 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
877 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
878 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
879 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
880 COND_SHARED_0_USE_XRC_1
881 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
882 COND_SHARED_0_WXUSE_ODBC_BUILTIN
883 COND_SHARED_0_WXUSE_REGEX_BUILTIN
884 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
885 COND_SHARED_1
886 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
887 COND_SHARED_1_USE_XRC_1
888 COND_TOOLKIT_
889 COND_TOOLKIT_COCOA
890 COND_TOOLKIT_COCOA_USE_GUI_1
891 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
892 COND_TOOLKIT_DFB
893 COND_TOOLKIT_DFB_USE_GUI_1
894 COND_TOOLKIT_GTK
895 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
896 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
897 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
898 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
899 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
900 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
901 COND_TOOLKIT_GTK_USE_GUI_1
902 COND_TOOLKIT_MAC
903 COND_TOOLKIT_MAC_USE_GUI_1
904 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
905 COND_TOOLKIT_MGL
906 COND_TOOLKIT_MGL_USE_GUI_1
907 COND_TOOLKIT_MOTIF
908 COND_TOOLKIT_MOTIF_USE_GUI_1
909 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_MSW
911 COND_TOOLKIT_MSW_USE_GUI_1
912 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_MSW_WXUNIV_0
914 COND_TOOLKIT_PM
915 COND_TOOLKIT_PM_USE_GUI_1
916 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_WINCE
918 COND_TOOLKIT_WINCE_USE_GUI_1
919 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_WINCE_WXUNIV_0
921 COND_TOOLKIT_X11
922 COND_TOOLKIT_X11_USE_GUI_1
923 COND_UNICODE_1
924 COND_USE_EXCEPTIONS_0
925 COND_USE_EXCEPTIONS_1
926 COND_USE_GUI_0
927 COND_USE_GUI_1
928 COND_USE_GUI_1_WXUNIV_0
929 COND_USE_GUI_1_WXUNIV_1
930 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
931 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
932 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
933 COND_USE_ODBC_1
934 COND_USE_OPENGL_1
935 COND_USE_PCH_1
936 COND_USE_PLUGINS_0
937 COND_USE_RTTI_0
938 COND_USE_RTTI_1
939 COND_USE_SOSYMLINKS_1
940 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
941 COND_USE_SOVERLINUX_1
942 COND_USE_SOVERSION_0
943 COND_USE_SOVERSOLARIS_1
944 COND_USE_THREADS_0
945 COND_USE_THREADS_1
946 COND_USE_XRC_1
947 COND_WINDOWS_IMPLIB_1
948 COND_WITH_PLUGIN_SDL_1
949 COND_WXUNIV_0
950 COND_WXUNIV_1
951 COND_WXUSE_EXPAT_BUILTIN
952 COND_WXUSE_LIBJPEG_BUILTIN
953 COND_WXUSE_LIBPNG_BUILTIN
954 COND_WXUSE_LIBTIFF_BUILTIN
955 COND_WXUSE_ODBC_BUILTIN
956 COND_WXUSE_REGEX_BUILTIN
957 COND_WXUSE_ZLIB_BUILTIN
958 SHARED
959 WX_LIBRARY_BASENAME_NOGUI
960 WX_LIBRARY_BASENAME_GUI
961 USE_GUI
962 AFMINSTALL
963 WIN32INSTALL
964 TOOLKIT
965 TOOLKIT_DIR
966 TOOLCHAIN_NAME
967 TOOLCHAIN_FULLNAME
968 cross_compiling
969 WIDGET_SET
970 WX_RELEASE
971 WX_VERSION
972 WX_SUBVERSION
973 WX_CHARTYPE
974 WX_DEBUGTYPE
975 WXCONFIG_CPPFLAGS
976 WXCONFIG_CFLAGS
977 WXCONFIG_CXXFLAGS
978 WXCONFIG_LIBS
979 WXCONFIG_RPATH
980 WXCONFIG_LDFLAGS_GUI
981 WXCONFIG_RESFLAGS
982 EXE_LINKER
983 GUIDIST
984 DISTDIR
985 SAMPLES_SUBDIRS
986 LDFLAGS_GL
987 OPENGL_LIBS
988 DMALLOC_LIBS
989 WX_VERSION_TAG
990 RESCOMP
991 RESFLAGS
992 RESPROGRAMOBJ
993 WX_RESOURCES_MACOSX_ASCII
994 WX_RESOURCES_MACOSX_DATA
995 LIBWXMACRES
996 POSTLINK_COMMAND
997 MACSETFILE
998 GCC
999 CPPUNIT_CONFIG
1000 LIBOBJS
1001 LTLIBOBJS'
1002 ac_subst_files=''
1003 ac_precious_vars='build_alias
1004 host_alias
1005 target_alias
1006 CC
1007 CFLAGS
1008 LDFLAGS
1009 CPPFLAGS
1010 CPP
1011 CXX
1012 CXXFLAGS
1013 CCC
1014 PKG_CONFIG
1015 DIRECTFB_CFLAGS
1016 DIRECTFB_LIBS
1017 XMKMF
1018 PANGOX_CFLAGS
1019 PANGOX_LIBS
1020 PANGOFT2_CFLAGS
1021 PANGOFT2_LIBS
1022 PANGOXFT_CFLAGS
1023 PANGOXFT_LIBS
1024 LIBGNOMEPRINTUI_CFLAGS
1025 LIBGNOMEPRINTUI_LIBS
1026 GNOMEVFS_CFLAGS
1027 GNOMEVFS_LIBS
1028 HILDON_CFLAGS
1029 HILDON_LIBS
1030 CAIRO_CFLAGS
1031 CAIRO_LIBS
1032 GST_CFLAGS
1033 GST_LIBS'
1034 ac_subdirs_all='src/expat'
1035
1036 # Initialize some variables set by options.
1037 ac_init_help=
1038 ac_init_version=false
1039 # The variables have the same names as the options, with
1040 # dashes changed to underlines.
1041 cache_file=/dev/null
1042 exec_prefix=NONE
1043 no_create=
1044 no_recursion=
1045 prefix=NONE
1046 program_prefix=NONE
1047 program_suffix=NONE
1048 program_transform_name=s,x,x,
1049 silent=
1050 site=
1051 srcdir=
1052 verbose=
1053 x_includes=NONE
1054 x_libraries=NONE
1055
1056 # Installation directory options.
1057 # These are left unexpanded so users can "make install exec_prefix=/foo"
1058 # and all the variables that are supposed to be based on exec_prefix
1059 # by default will actually change.
1060 # Use braces instead of parens because sh, perl, etc. also accept them.
1061 # (The list follows the same order as the GNU Coding Standards.)
1062 bindir='${exec_prefix}/bin'
1063 sbindir='${exec_prefix}/sbin'
1064 libexecdir='${exec_prefix}/libexec'
1065 datarootdir='${prefix}/share'
1066 datadir='${datarootdir}'
1067 sysconfdir='${prefix}/etc'
1068 sharedstatedir='${prefix}/com'
1069 localstatedir='${prefix}/var'
1070 includedir='${prefix}/include'
1071 oldincludedir='/usr/include'
1072 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1073 infodir='${datarootdir}/info'
1074 htmldir='${docdir}'
1075 dvidir='${docdir}'
1076 pdfdir='${docdir}'
1077 psdir='${docdir}'
1078 libdir='${exec_prefix}/lib'
1079 localedir='${datarootdir}/locale'
1080 mandir='${datarootdir}/man'
1081
1082 ac_prev=
1083 ac_dashdash=
1084 for ac_option
1085 do
1086 # If the previous option needs an argument, assign it.
1087 if test -n "$ac_prev"; then
1088 eval $ac_prev=\$ac_option
1089 ac_prev=
1090 continue
1091 fi
1092
1093 case $ac_option in
1094 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1095 *) ac_optarg=yes ;;
1096 esac
1097
1098 # Accept the important Cygnus configure options, so we can diagnose typos.
1099
1100 case $ac_dashdash$ac_option in
1101 --)
1102 ac_dashdash=yes ;;
1103
1104 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1105 ac_prev=bindir ;;
1106 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1107 bindir=$ac_optarg ;;
1108
1109 -build | --build | --buil | --bui | --bu)
1110 ac_prev=build_alias ;;
1111 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1112 build_alias=$ac_optarg ;;
1113
1114 -cache-file | --cache-file | --cache-fil | --cache-fi \
1115 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1116 ac_prev=cache_file ;;
1117 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1118 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1119 cache_file=$ac_optarg ;;
1120
1121 --config-cache | -C)
1122 cache_file=config.cache ;;
1123
1124 -datadir | --datadir | --datadi | --datad)
1125 ac_prev=datadir ;;
1126 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1127 datadir=$ac_optarg ;;
1128
1129 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1130 | --dataroo | --dataro | --datar)
1131 ac_prev=datarootdir ;;
1132 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1133 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1134 datarootdir=$ac_optarg ;;
1135
1136 -disable-* | --disable-*)
1137 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1140 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1141 { (exit 1); exit 1; }; }
1142 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1143 eval enable_$ac_feature=no ;;
1144
1145 -docdir | --docdir | --docdi | --doc | --do)
1146 ac_prev=docdir ;;
1147 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1148 docdir=$ac_optarg ;;
1149
1150 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1151 ac_prev=dvidir ;;
1152 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1153 dvidir=$ac_optarg ;;
1154
1155 -enable-* | --enable-*)
1156 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1162 eval enable_$ac_feature=\$ac_optarg ;;
1163
1164 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1165 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1166 | --exec | --exe | --ex)
1167 ac_prev=exec_prefix ;;
1168 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1169 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1170 | --exec=* | --exe=* | --ex=*)
1171 exec_prefix=$ac_optarg ;;
1172
1173 -gas | --gas | --ga | --g)
1174 # Obsolete; use --with-gas.
1175 with_gas=yes ;;
1176
1177 -help | --help | --hel | --he | -h)
1178 ac_init_help=long ;;
1179 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1180 ac_init_help=recursive ;;
1181 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1182 ac_init_help=short ;;
1183
1184 -host | --host | --hos | --ho)
1185 ac_prev=host_alias ;;
1186 -host=* | --host=* | --hos=* | --ho=*)
1187 host_alias=$ac_optarg ;;
1188
1189 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1190 ac_prev=htmldir ;;
1191 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1192 | --ht=*)
1193 htmldir=$ac_optarg ;;
1194
1195 -includedir | --includedir | --includedi | --included | --include \
1196 | --includ | --inclu | --incl | --inc)
1197 ac_prev=includedir ;;
1198 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1199 | --includ=* | --inclu=* | --incl=* | --inc=*)
1200 includedir=$ac_optarg ;;
1201
1202 -infodir | --infodir | --infodi | --infod | --info | --inf)
1203 ac_prev=infodir ;;
1204 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1205 infodir=$ac_optarg ;;
1206
1207 -libdir | --libdir | --libdi | --libd)
1208 ac_prev=libdir ;;
1209 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1210 libdir=$ac_optarg ;;
1211
1212 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1213 | --libexe | --libex | --libe)
1214 ac_prev=libexecdir ;;
1215 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1216 | --libexe=* | --libex=* | --libe=*)
1217 libexecdir=$ac_optarg ;;
1218
1219 -localedir | --localedir | --localedi | --localed | --locale)
1220 ac_prev=localedir ;;
1221 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1222 localedir=$ac_optarg ;;
1223
1224 -localstatedir | --localstatedir | --localstatedi | --localstated \
1225 | --localstate | --localstat | --localsta | --localst | --locals)
1226 ac_prev=localstatedir ;;
1227 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1228 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1229 localstatedir=$ac_optarg ;;
1230
1231 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1232 ac_prev=mandir ;;
1233 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1234 mandir=$ac_optarg ;;
1235
1236 -nfp | --nfp | --nf)
1237 # Obsolete; use --without-fp.
1238 with_fp=no ;;
1239
1240 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1241 | --no-cr | --no-c | -n)
1242 no_create=yes ;;
1243
1244 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1245 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1246 no_recursion=yes ;;
1247
1248 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1249 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1250 | --oldin | --oldi | --old | --ol | --o)
1251 ac_prev=oldincludedir ;;
1252 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1253 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1254 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1255 oldincludedir=$ac_optarg ;;
1256
1257 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1258 ac_prev=prefix ;;
1259 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1260 prefix=$ac_optarg ;;
1261
1262 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1263 | --program-pre | --program-pr | --program-p)
1264 ac_prev=program_prefix ;;
1265 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1266 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1267 program_prefix=$ac_optarg ;;
1268
1269 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1270 | --program-suf | --program-su | --program-s)
1271 ac_prev=program_suffix ;;
1272 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1273 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1274 program_suffix=$ac_optarg ;;
1275
1276 -program-transform-name | --program-transform-name \
1277 | --program-transform-nam | --program-transform-na \
1278 | --program-transform-n | --program-transform- \
1279 | --program-transform | --program-transfor \
1280 | --program-transfo | --program-transf \
1281 | --program-trans | --program-tran \
1282 | --progr-tra | --program-tr | --program-t)
1283 ac_prev=program_transform_name ;;
1284 -program-transform-name=* | --program-transform-name=* \
1285 | --program-transform-nam=* | --program-transform-na=* \
1286 | --program-transform-n=* | --program-transform-=* \
1287 | --program-transform=* | --program-transfor=* \
1288 | --program-transfo=* | --program-transf=* \
1289 | --program-trans=* | --program-tran=* \
1290 | --progr-tra=* | --program-tr=* | --program-t=*)
1291 program_transform_name=$ac_optarg ;;
1292
1293 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1294 ac_prev=pdfdir ;;
1295 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1296 pdfdir=$ac_optarg ;;
1297
1298 -psdir | --psdir | --psdi | --psd | --ps)
1299 ac_prev=psdir ;;
1300 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1301 psdir=$ac_optarg ;;
1302
1303 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1304 | -silent | --silent | --silen | --sile | --sil)
1305 silent=yes ;;
1306
1307 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1308 ac_prev=sbindir ;;
1309 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1310 | --sbi=* | --sb=*)
1311 sbindir=$ac_optarg ;;
1312
1313 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1314 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1315 | --sharedst | --shareds | --shared | --share | --shar \
1316 | --sha | --sh)
1317 ac_prev=sharedstatedir ;;
1318 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1319 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1320 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1321 | --sha=* | --sh=*)
1322 sharedstatedir=$ac_optarg ;;
1323
1324 -site | --site | --sit)
1325 ac_prev=site ;;
1326 -site=* | --site=* | --sit=*)
1327 site=$ac_optarg ;;
1328
1329 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1330 ac_prev=srcdir ;;
1331 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1332 srcdir=$ac_optarg ;;
1333
1334 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1335 | --syscon | --sysco | --sysc | --sys | --sy)
1336 ac_prev=sysconfdir ;;
1337 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1338 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1339 sysconfdir=$ac_optarg ;;
1340
1341 -target | --target | --targe | --targ | --tar | --ta | --t)
1342 ac_prev=target_alias ;;
1343 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1344 target_alias=$ac_optarg ;;
1345
1346 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1347 verbose=yes ;;
1348
1349 -version | --version | --versio | --versi | --vers | -V)
1350 ac_init_version=: ;;
1351
1352 -with-* | --with-*)
1353 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1354 # Reject names that are not valid shell variable names.
1355 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1356 { echo "$as_me: error: invalid package name: $ac_package" >&2
1357 { (exit 1); exit 1; }; }
1358 ac_package=`echo $ac_package| sed 's/-/_/g'`
1359 eval with_$ac_package=\$ac_optarg ;;
1360
1361 -without-* | --without-*)
1362 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1363 # Reject names that are not valid shell variable names.
1364 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1365 { echo "$as_me: error: invalid package name: $ac_package" >&2
1366 { (exit 1); exit 1; }; }
1367 ac_package=`echo $ac_package | sed 's/-/_/g'`
1368 eval with_$ac_package=no ;;
1369
1370 --x)
1371 # Obsolete; use --with-x.
1372 with_x=yes ;;
1373
1374 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1375 | --x-incl | --x-inc | --x-in | --x-i)
1376 ac_prev=x_includes ;;
1377 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1378 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1379 x_includes=$ac_optarg ;;
1380
1381 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1382 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1383 ac_prev=x_libraries ;;
1384 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1385 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1386 x_libraries=$ac_optarg ;;
1387
1388 -*) { echo "$as_me: error: unrecognized option: $ac_option
1389 Try \`$0 --help' for more information." >&2
1390 { (exit 1); exit 1; }; }
1391 ;;
1392
1393 *=*)
1394 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1395 # Reject names that are not valid shell variable names.
1396 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1397 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1398 { (exit 1); exit 1; }; }
1399 eval $ac_envvar=\$ac_optarg
1400 export $ac_envvar ;;
1401
1402 *)
1403 # FIXME: should be removed in autoconf 3.0.
1404 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1405 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1406 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1407 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1408 ;;
1409
1410 esac
1411 done
1412
1413 if test -n "$ac_prev"; then
1414 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1415 { echo "$as_me: error: missing argument to $ac_option" >&2
1416 { (exit 1); exit 1; }; }
1417 fi
1418
1419 # Be sure to have absolute directory names.
1420 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1421 datadir sysconfdir sharedstatedir localstatedir includedir \
1422 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1423 libdir localedir mandir
1424 do
1425 eval ac_val=\$$ac_var
1426 case $ac_val in
1427 [\\/$]* | ?:[\\/]* ) continue;;
1428 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1429 esac
1430 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1431 { (exit 1); exit 1; }; }
1432 done
1433
1434 # There might be people who depend on the old broken behavior: `$host'
1435 # used to hold the argument of --host etc.
1436 # FIXME: To remove some day.
1437 build=$build_alias
1438 host=$host_alias
1439 target=$target_alias
1440
1441 # FIXME: To remove some day.
1442 if test "x$host_alias" != x; then
1443 if test "x$build_alias" = x; then
1444 cross_compiling=maybe
1445 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1446 If a cross compiler is detected then cross compile mode will be used." >&2
1447 elif test "x$build_alias" != "x$host_alias"; then
1448 cross_compiling=yes
1449 fi
1450 fi
1451
1452 ac_tool_prefix=
1453 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1454
1455 test "$silent" = yes && exec 6>/dev/null
1456
1457
1458 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1459 ac_ls_di=`ls -di .` &&
1460 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1461 { echo "$as_me: error: Working directory cannot be determined" >&2
1462 { (exit 1); exit 1; }; }
1463 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1464 { echo "$as_me: error: pwd does not report name of working directory" >&2
1465 { (exit 1); exit 1; }; }
1466
1467
1468 # Find the source files, if location was not specified.
1469 if test -z "$srcdir"; then
1470 ac_srcdir_defaulted=yes
1471 # Try the directory containing this script, then the parent directory.
1472 ac_confdir=`$as_dirname -- "$0" ||
1473 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1474 X"$0" : 'X\(//\)[^/]' \| \
1475 X"$0" : 'X\(//\)$' \| \
1476 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1477 echo X"$0" |
1478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1479 s//\1/
1480 q
1481 }
1482 /^X\(\/\/\)[^/].*/{
1483 s//\1/
1484 q
1485 }
1486 /^X\(\/\/\)$/{
1487 s//\1/
1488 q
1489 }
1490 /^X\(\/\).*/{
1491 s//\1/
1492 q
1493 }
1494 s/.*/./; q'`
1495 srcdir=$ac_confdir
1496 if test ! -r "$srcdir/$ac_unique_file"; then
1497 srcdir=..
1498 fi
1499 else
1500 ac_srcdir_defaulted=no
1501 fi
1502 if test ! -r "$srcdir/$ac_unique_file"; then
1503 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1504 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1505 { (exit 1); exit 1; }; }
1506 fi
1507 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1508 ac_abs_confdir=`(
1509 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1510 { (exit 1); exit 1; }; }
1511 pwd)`
1512 # When building in place, set srcdir=.
1513 if test "$ac_abs_confdir" = "$ac_pwd"; then
1514 srcdir=.
1515 fi
1516 # Remove unnecessary trailing slashes from srcdir.
1517 # Double slashes in file names in object file debugging info
1518 # mess up M-x gdb in Emacs.
1519 case $srcdir in
1520 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1521 esac
1522 for ac_var in $ac_precious_vars; do
1523 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1524 eval ac_env_${ac_var}_value=\$${ac_var}
1525 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1526 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1527 done
1528
1529 #
1530 # Report the --help message.
1531 #
1532 if test "$ac_init_help" = "long"; then
1533 # Omit some internal or obsolete options to make the list less imposing.
1534 # This message is too long to be a string in the A/UX 3.1 sh.
1535 cat <<_ACEOF
1536 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1537
1538 Usage: $0 [OPTION]... [VAR=VALUE]...
1539
1540 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1541 VAR=VALUE. See below for descriptions of some of the useful variables.
1542
1543 Defaults for the options are specified in brackets.
1544
1545 Configuration:
1546 -h, --help display this help and exit
1547 --help=short display options specific to this package
1548 --help=recursive display the short help of all the included packages
1549 -V, --version display version information and exit
1550 -q, --quiet, --silent do not print \`checking...' messages
1551 --cache-file=FILE cache test results in FILE [disabled]
1552 -C, --config-cache alias for \`--cache-file=config.cache'
1553 -n, --no-create do not create output files
1554 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1555
1556 Installation directories:
1557 --prefix=PREFIX install architecture-independent files in PREFIX
1558 [$ac_default_prefix]
1559 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1560 [PREFIX]
1561
1562 By default, \`make install' will install all the files in
1563 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1564 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1565 for instance \`--prefix=\$HOME'.
1566
1567 For better control, use the options below.
1568
1569 Fine tuning of the installation directories:
1570 --bindir=DIR user executables [EPREFIX/bin]
1571 --sbindir=DIR system admin executables [EPREFIX/sbin]
1572 --libexecdir=DIR program executables [EPREFIX/libexec]
1573 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1574 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1575 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1576 --libdir=DIR object code libraries [EPREFIX/lib]
1577 --includedir=DIR C header files [PREFIX/include]
1578 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1579 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1580 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1581 --infodir=DIR info documentation [DATAROOTDIR/info]
1582 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1583 --mandir=DIR man documentation [DATAROOTDIR/man]
1584 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1585 --htmldir=DIR html documentation [DOCDIR]
1586 --dvidir=DIR dvi documentation [DOCDIR]
1587 --pdfdir=DIR pdf documentation [DOCDIR]
1588 --psdir=DIR ps documentation [DOCDIR]
1589 _ACEOF
1590
1591 cat <<\_ACEOF
1592
1593 X features:
1594 --x-includes=DIR X include files are in DIR
1595 --x-libraries=DIR X library files are in DIR
1596
1597 System types:
1598 --build=BUILD configure for building on BUILD [guessed]
1599 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1600 --target=TARGET configure for building compilers for TARGET [HOST]
1601 _ACEOF
1602 fi
1603
1604 if test -n "$ac_init_help"; then
1605 case $ac_init_help in
1606 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1607 esac
1608 cat <<\_ACEOF
1609
1610 Optional Features:
1611 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1612 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1613 --enable-gui use GUI classes
1614 --enable-monolithic build wxWidgets as single library
1615 --enable-plugins build parts of wxWidgets as loadable components
1616 --enable-universal use wxWidgets GUI controls instead of native ones
1617 --enable-nanox use NanoX
1618 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1619 --enable-gpe use GNOME PDA Environment features if possible
1620 --enable-shared create shared library code
1621 --enable-optimise create optimised code
1622 --enable-debug same as debug_flag and debug_info
1623 --enable-stl use STL for containers
1624 --enable-omf use OMF object format
1625 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1626 --enable-debug_info create code with debugging information
1627 --enable-debug_gdb create code with extra GDB debugging information
1628 --enable-debug_cntxt use wxDebugContext
1629 --enable-mem_tracing create code with memory tracing
1630 --enable-profile create code with profiling information
1631 --enable-no_rtti create code without RTTI information
1632 --enable-no_exceptions create code without C++ exceptions handling
1633 --enable-permissive compile code disregarding strict ANSI
1634 --enable-no_deps create code without dependency information
1635 --disable-vararg_macros don't use vararg macros, even if they are supported
1636 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1637 --enable-compat26 enable wxWidgets 2.6 compatibility
1638 --disable-compat28 disable wxWidgets 2.8 compatibility
1639 --disable-rpath disable use of rpath for uninstalled builds
1640 --enable-intl use internationalization system
1641 --enable-config use wxConfig (and derived) classes
1642 --enable-protocols use wxProtocol and derived classes
1643 --enable-ftp use wxFTP (requires wxProtocol
1644 --enable-http use wxHTTP (requires wxProtocol
1645 --enable-fileproto use wxFileProto class (requires wxProtocol
1646 --enable-sockets use socket/network classes
1647 --enable-ole use OLE classes (Win32 only)
1648 --enable-dataobj use data object classes
1649 --enable-ipc use interprocess communication (wxSocket etc.)
1650 --enable-apple_ieee use the Apple IEEE codec
1651 --enable-arcstream use wxArchive streams
1652 --enable-backtrace use wxStackWalker class for getting backtraces
1653 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1654 --enable-cmdline use wxCmdLineParser class
1655 --enable-datetime use wxDateTime class
1656 --enable-debugreport use wxDebugReport class
1657 --enable-dialupman use dialup network classes
1658 --enable-dynlib use wxLibrary class for DLL loading
1659 --enable-dynamicloader use (new) wxDynamicLibrary class
1660 --enable-exceptions build exception-safe library
1661 --enable-ffile use wxFFile class
1662 --enable-file use wxFile class
1663 --enable-filesystem use virtual file systems classes
1664 --enable-fontmap use font encodings conversion classes
1665 --enable-fs_archive use virtual archive filesystems
1666 --enable-fs_inet use virtual HTTP/FTP filesystems
1667 --enable-fs_zip now replaced by fs_archive
1668 --enable-geometry use geometry class
1669 --enable-log use logging system
1670 --enable-longlong use wxLongLong class
1671 --enable-mimetype use wxMimeTypesManager
1672 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1673 --enable-snglinst use wxSingleInstanceChecker class
1674 --enable-std_iostreams use standard C++ stream classes
1675 --enable-std_string use standard C++ string classes
1676 --enable-stdpaths use wxStandardPaths class
1677 --enable-stopwatch use wxStopWatch class
1678 --enable-streams use wxStream etc classes
1679 --enable-sysoptions use wxSystemOptions
1680 --enable-tarstream use wxTar streams
1681 --enable-textbuf use wxTextBuffer class
1682 --enable-textfile use wxTextFile class
1683 --enable-timer use wxTimer class
1684 --enable-unicode compile wxString with Unicode support
1685 --enable-sound use wxSound class
1686 --enable-mediactrl use wxMediaCtrl class
1687 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1688 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1689 --enable-zipstream use wxZip streams
1690 --enable-url use wxURL class
1691 --enable-variant use wxVariant class
1692 --enable-protocol use wxProtocol class
1693 --enable-protocol-http HTTP support in wxProtocol
1694 --enable-protocol-ftp FTP support in wxProtocol
1695 --enable-protocol-file FILE support in wxProtocol
1696 --enable-threads use threads
1697 --enable-docview use document view architecture
1698 --enable-help use help subsystem
1699 --enable-mshtmlhelp use MS HTML Help (win32)
1700 --enable-html use wxHTML sub-library
1701 --enable-htmlhelp use wxHTML-based help
1702 --enable-xrc use XRC resources sub-library
1703 --enable-aui use AUI docking library
1704 --enable-stc use wxStyledTextCtrl library
1705 --enable-constraints use layout-constraints system
1706 --enable-printarch use printing architecture
1707 --enable-mdi use multiple document interface architecture
1708 --enable-mdidoc use docview architecture with MDI
1709 --enable-loggui use standard GUI logger
1710 --enable-logwin use wxLogWindow
1711 --enable-logdialog use wxLogDialog
1712 --enable-webkit use wxWebKitCtrl (Mac)
1713 --enable-richtext use wxRichTextCtrl
1714 --enable-graphics_ctx use graphics context 2D drawing API
1715 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1716 --enable-prologio not available; see contrib
1717 --enable-resources not available; see contrib
1718 --enable-clipboard use wxClipboard class
1719 --enable-dnd use Drag'n'Drop classes
1720 --enable-metafile use win32 metafiles
1721 --enable-controls use all usual controls
1722 --enable-accel use accelerators
1723 --enable-animatectrl use wxAnimationCtrl class
1724 --enable-button use wxButton class
1725 --enable-bmpbutton use wxBitmapButton class
1726 --enable-bmpcombobox use wxBitmapComboBox class
1727 --enable-calendar use wxCalendarCtrl class
1728 --enable-caret use wxCaret class
1729 --enable-checkbox use wxCheckBox class
1730 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1731 --enable-choice use wxChoice class
1732 --enable-choicebook use wxChoicebook class
1733 --enable-collpane use wxCollapsiblePane class
1734 --enable-colourpicker use wxColourPickerCtrl class
1735 --enable-combobox use wxComboBox class
1736 --enable-comboctrl use wxComboCtrl class
1737 --enable-datepick use wxDatePickerCtrl class
1738 --enable-dirpicker use wxDirPickerCtrl class
1739 --enable-display use wxDisplay class
1740 --enable-detect_sm use code to detect X11 session manager
1741 --enable-filepicker use wxFilePickerCtrl class
1742 --enable-fontpicker use wxFontPickerCtrl class
1743 --enable-gauge use wxGauge class
1744 --enable-grid use wxGrid class
1745 --enable-dataviewctrl use wxDataViewCtrl class
1746 --enable-hyperlink use wxHyperlinkCtrl class
1747 --enable-imaglist use wxImageList class
1748 --enable-listbook use wxListbook class
1749 --enable-listbox use wxListBox class
1750 --enable-listctrl use wxListCtrl class
1751 --enable-notebook use wxNotebook class
1752 --enable-odcombobox use wxOwnerDrawnComboBox class
1753 --enable-radiobox use wxRadioBox class
1754 --enable-radiobtn use wxRadioButton class
1755 --enable-sash use wxSashWindow class
1756 --enable-scrollbar use wxScrollBar class and scrollable windows
1757 --enable-searchctrl use wxSearchCtrl class
1758 --enable-slider use wxSlider class
1759 --enable-spinbtn use wxSpinButton class
1760 --enable-spinctrl use wxSpinCtrl class
1761 --enable-splitter use wxSplitterWindow class
1762 --enable-statbmp use wxStaticBitmap class
1763 --enable-statbox use wxStaticBox class
1764 --enable-statline use wxStaticLine class
1765 --enable-stattext use wxStaticText class
1766 --enable-statusbar use wxStatusBar class
1767 --enable-tabdialog use wxTabControl class
1768 --enable-textctrl use wxTextCtrl class
1769 --enable-togglebtn use wxToggleButton class
1770 --enable-toolbar use wxToolBar class
1771 --enable-tbarnative use native wxToolBar class
1772 --enable-treebook use wxTreebook class
1773 --enable-toolbook use wxToolbook class
1774 --enable-treectrl use wxTreeCtrl class
1775 --enable-tipwindow use wxTipWindow class
1776 --enable-popupwin use wxPopUpWindow class
1777 --enable-commondlg use all common dialogs
1778 --enable-aboutdlg use wxAboutBox
1779 --enable-choicedlg use wxChoiceDialog
1780 --enable-coldlg use wxColourDialog
1781 --enable-filedlg use wxFileDialog
1782 --enable-finddlg use wxFindReplaceDialog
1783 --enable-fontdlg use wxFontDialog
1784 --enable-dirdlg use wxDirDialog
1785 --enable-msgdlg use wxMessageDialog
1786 --enable-numberdlg use wxNumberEntryDialog
1787 --enable-splash use wxSplashScreen
1788 --enable-textdlg use wxTextDialog
1789 --enable-tipdlg use startup tips
1790 --enable-progressdlg use wxProgressDialog
1791 --enable-wizarddlg use wxWizard
1792 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1793 --enable-miniframe use wxMiniFrame class
1794 --enable-tooltips use wxToolTip class
1795 --enable-splines use spline drawing code
1796 --enable-mousewheel use mousewheel
1797 --enable-validators use wxValidator and derived classes
1798 --enable-busyinfo use wxBusyInfo
1799 --enable-joystick use wxJoystick
1800 --enable-metafiles use wxMetaFile (Win32 only)
1801 --enable-dragimage use wxDragImage
1802 --enable-accessibility enable accessibility support
1803 --enable-dccache cache temporary wxDC objects (Win32 only)
1804 --enable-palette use wxPalette class
1805 --enable-image use wxImage class
1806 --enable-gif use gif images (GIF file format)
1807 --enable-pcx use pcx images (PCX file format)
1808 --enable-tga use tga images (TGA file format)
1809 --enable-iff use iff images (IFF file format)
1810 --enable-pnm use pnm images (PNM file format)
1811 --enable-xpm use xpm images (XPM file format)
1812 --enable-icocur use Windows ICO and CUR formats
1813 --enable-official_build official build of wxWidgets (win32 DLL only)
1814 --enable-vendor=VENDOR vendor name (win32 DLL only)
1815 --disable-largefile omit support for large files
1816 --disable-gtktest do not try to compile and run a test GTK+ program
1817 --disable-gtktest Do not try to compile and run a test GTK program
1818 --disable-sdltest Do not try to compile and run a test SDL program
1819 --enable-omf use OMF object format (OS/2)
1820 --disable-dependency-tracking
1821 don't use dependency tracking even if the compiler
1822 can
1823 --disable-precomp-headers
1824 don't use precompiled headers even if compiler can
1825
1826 Optional Packages:
1827 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1828 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1829 --without-subdirs don't generate makefiles for samples/demos/...
1830 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1831 --with-motif use Motif/Lesstif
1832 --with-mac use Mac OS X
1833 --with-cocoa use Cocoa
1834 --with-wine use Wine
1835 --with-msw use MS-Windows
1836 --with-pm use OS/2 Presentation Manager
1837 --with-mgl use SciTech MGL
1838 --with-directfb use DirectFB
1839 --with-microwin use MicroWindows
1840 --with-x11 use X11
1841 --with-libpng use libpng (PNG image format)
1842 --with-libjpeg use libjpeg (JPEG file format)
1843 --with-libtiff use libtiff (TIFF file format)
1844 --with-libxpm use libxpm (XPM file format)
1845 --with-libmspack use libmspack (CHM help files loading)
1846 --with-sdl use SDL for audio on Unix
1847 --with-gnomeprint use GNOME print for printing under GNOME
1848 --with-gnomevfs use GNOME VFS for associating MIME types
1849 --with-hildon use Hildon framework for Nokia 770
1850 --with-opengl use OpenGL (or Mesa)
1851 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1852 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1853 --with-regex enable support for wxRegEx class
1854 --with-zlib use zlib for LZW compression
1855 --with-odbc use the IODBC and wxODBC classes
1856 --with-expat enable XML support using expat parser
1857 --with-flavour=NAME specify a name to identify this build
1858 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1859 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1860 --with-x use the X Window System
1861 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1862 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1863 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1864 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1865 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1866
1867 Some influential environment variables:
1868 CC C compiler command
1869 CFLAGS C compiler flags
1870 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1871 nonstandard directory <lib dir>
1872 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1873 you have headers in a nonstandard directory <include dir>
1874 CPP C preprocessor
1875 CXX C++ compiler command
1876 CXXFLAGS C++ compiler flags
1877 PKG_CONFIG path to pkg-config utility
1878 DIRECTFB_CFLAGS
1879 C compiler flags for DIRECTFB, overriding pkg-config
1880 DIRECTFB_LIBS
1881 linker flags for DIRECTFB, overriding pkg-config
1882 XMKMF Path to xmkmf, Makefile generator for X Window System
1883 PANGOX_CFLAGS
1884 C compiler flags for PANGOX, overriding pkg-config
1885 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1886 PANGOFT2_CFLAGS
1887 C compiler flags for PANGOFT2, overriding pkg-config
1888 PANGOFT2_LIBS
1889 linker flags for PANGOFT2, overriding pkg-config
1890 PANGOXFT_CFLAGS
1891 C compiler flags for PANGOXFT, overriding pkg-config
1892 PANGOXFT_LIBS
1893 linker flags for PANGOXFT, overriding pkg-config
1894 LIBGNOMEPRINTUI_CFLAGS
1895 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1896 LIBGNOMEPRINTUI_LIBS
1897 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1898 GNOMEVFS_CFLAGS
1899 C compiler flags for GNOMEVFS, overriding pkg-config
1900 GNOMEVFS_LIBS
1901 linker flags for GNOMEVFS, overriding pkg-config
1902 HILDON_CFLAGS
1903 C compiler flags for HILDON, overriding pkg-config
1904 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1905 CAIRO_CFLAGS
1906 C compiler flags for CAIRO, overriding pkg-config
1907 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1908 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1909 GST_LIBS linker flags for GST, overriding pkg-config
1910
1911 Use these variables to override the choices made by `configure' or to help
1912 it to find libraries and programs with nonstandard names/locations.
1913
1914 Report bugs to <wx-dev@lists.wxwidgets.org>.
1915 _ACEOF
1916 ac_status=$?
1917 fi
1918
1919 if test "$ac_init_help" = "recursive"; then
1920 # If there are subdirs, report their specific --help.
1921 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1922 test -d "$ac_dir" || continue
1923 ac_builddir=.
1924
1925 case "$ac_dir" in
1926 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1927 *)
1928 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1929 # A ".." for each directory in $ac_dir_suffix.
1930 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1931 case $ac_top_builddir_sub in
1932 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1933 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1934 esac ;;
1935 esac
1936 ac_abs_top_builddir=$ac_pwd
1937 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1938 # for backward compatibility:
1939 ac_top_builddir=$ac_top_build_prefix
1940
1941 case $srcdir in
1942 .) # We are building in place.
1943 ac_srcdir=.
1944 ac_top_srcdir=$ac_top_builddir_sub
1945 ac_abs_top_srcdir=$ac_pwd ;;
1946 [\\/]* | ?:[\\/]* ) # Absolute name.
1947 ac_srcdir=$srcdir$ac_dir_suffix;
1948 ac_top_srcdir=$srcdir
1949 ac_abs_top_srcdir=$srcdir ;;
1950 *) # Relative name.
1951 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1952 ac_top_srcdir=$ac_top_build_prefix$srcdir
1953 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1954 esac
1955 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1956
1957 cd "$ac_dir" || { ac_status=$?; continue; }
1958 # Check for guested configure.
1959 if test -f "$ac_srcdir/configure.gnu"; then
1960 echo &&
1961 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1962 elif test -f "$ac_srcdir/configure"; then
1963 echo &&
1964 $SHELL "$ac_srcdir/configure" --help=recursive
1965 else
1966 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1967 fi || ac_status=$?
1968 cd "$ac_pwd" || { ac_status=$?; break; }
1969 done
1970 fi
1971
1972 test -n "$ac_init_help" && exit $ac_status
1973 if $ac_init_version; then
1974 cat <<\_ACEOF
1975 wxWidgets configure 2.9.0
1976 generated by GNU Autoconf 2.60
1977
1978 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1979 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1980 This configure script is free software; the Free Software Foundation
1981 gives unlimited permission to copy, distribute and modify it.
1982 _ACEOF
1983 exit
1984 fi
1985 cat >config.log <<_ACEOF
1986 This file contains any messages produced by compilers while
1987 running configure, to aid debugging if configure makes a mistake.
1988
1989 It was created by wxWidgets $as_me 2.9.0, which was
1990 generated by GNU Autoconf 2.60. Invocation command line was
1991
1992 $ $0 $@
1993
1994 _ACEOF
1995 exec 5>>config.log
1996 {
1997 cat <<_ASUNAME
1998 ## --------- ##
1999 ## Platform. ##
2000 ## --------- ##
2001
2002 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2003 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2004 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2005 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2006 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2007
2008 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2009 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2010
2011 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2012 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2013 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2014 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2015 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2016 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2017 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2018
2019 _ASUNAME
2020
2021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2022 for as_dir in $PATH
2023 do
2024 IFS=$as_save_IFS
2025 test -z "$as_dir" && as_dir=.
2026 echo "PATH: $as_dir"
2027 done
2028 IFS=$as_save_IFS
2029
2030 } >&5
2031
2032 cat >&5 <<_ACEOF
2033
2034
2035 ## ----------- ##
2036 ## Core tests. ##
2037 ## ----------- ##
2038
2039 _ACEOF
2040
2041
2042 # Keep a trace of the command line.
2043 # Strip out --no-create and --no-recursion so they do not pile up.
2044 # Strip out --silent because we don't want to record it for future runs.
2045 # Also quote any args containing shell meta-characters.
2046 # Make two passes to allow for proper duplicate-argument suppression.
2047 ac_configure_args=
2048 ac_configure_args0=
2049 ac_configure_args1=
2050 ac_must_keep_next=false
2051 for ac_pass in 1 2
2052 do
2053 for ac_arg
2054 do
2055 case $ac_arg in
2056 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2058 | -silent | --silent | --silen | --sile | --sil)
2059 continue ;;
2060 *\'*)
2061 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2062 esac
2063 case $ac_pass in
2064 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2065 2)
2066 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2067 if test $ac_must_keep_next = true; then
2068 ac_must_keep_next=false # Got value, back to normal.
2069 else
2070 case $ac_arg in
2071 *=* | --config-cache | -C | -disable-* | --disable-* \
2072 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2073 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2074 | -with-* | --with-* | -without-* | --without-* | --x)
2075 case "$ac_configure_args0 " in
2076 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2077 esac
2078 ;;
2079 -* ) ac_must_keep_next=true ;;
2080 esac
2081 fi
2082 ac_configure_args="$ac_configure_args '$ac_arg'"
2083 ;;
2084 esac
2085 done
2086 done
2087 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2088 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2089
2090 # When interrupted or exit'd, cleanup temporary files, and complete
2091 # config.log. We remove comments because anyway the quotes in there
2092 # would cause problems or look ugly.
2093 # WARNING: Use '\'' to represent an apostrophe within the trap.
2094 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2095 trap 'exit_status=$?
2096 # Save into config.log some information that might help in debugging.
2097 {
2098 echo
2099
2100 cat <<\_ASBOX
2101 ## ---------------- ##
2102 ## Cache variables. ##
2103 ## ---------------- ##
2104 _ASBOX
2105 echo
2106 # The following way of writing the cache mishandles newlines in values,
2107 (
2108 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2109 eval ac_val=\$$ac_var
2110 case $ac_val in #(
2111 *${as_nl}*)
2112 case $ac_var in #(
2113 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2114 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2115 esac
2116 case $ac_var in #(
2117 _ | IFS | as_nl) ;; #(
2118 *) $as_unset $ac_var ;;
2119 esac ;;
2120 esac
2121 done
2122 (set) 2>&1 |
2123 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2124 *${as_nl}ac_space=\ *)
2125 sed -n \
2126 "s/'\''/'\''\\\\'\'''\''/g;
2127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2128 ;; #(
2129 *)
2130 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2131 ;;
2132 esac |
2133 sort
2134 )
2135 echo
2136
2137 cat <<\_ASBOX
2138 ## ----------------- ##
2139 ## Output variables. ##
2140 ## ----------------- ##
2141 _ASBOX
2142 echo
2143 for ac_var in $ac_subst_vars
2144 do
2145 eval ac_val=\$$ac_var
2146 case $ac_val in
2147 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2148 esac
2149 echo "$ac_var='\''$ac_val'\''"
2150 done | sort
2151 echo
2152
2153 if test -n "$ac_subst_files"; then
2154 cat <<\_ASBOX
2155 ## ------------------- ##
2156 ## File substitutions. ##
2157 ## ------------------- ##
2158 _ASBOX
2159 echo
2160 for ac_var in $ac_subst_files
2161 do
2162 eval ac_val=\$$ac_var
2163 case $ac_val in
2164 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2165 esac
2166 echo "$ac_var='\''$ac_val'\''"
2167 done | sort
2168 echo
2169 fi
2170
2171 if test -s confdefs.h; then
2172 cat <<\_ASBOX
2173 ## ----------- ##
2174 ## confdefs.h. ##
2175 ## ----------- ##
2176 _ASBOX
2177 echo
2178 cat confdefs.h
2179 echo
2180 fi
2181 test "$ac_signal" != 0 &&
2182 echo "$as_me: caught signal $ac_signal"
2183 echo "$as_me: exit $exit_status"
2184 } >&5
2185 rm -f core *.core core.conftest.* &&
2186 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2187 exit $exit_status
2188 ' 0
2189 for ac_signal in 1 2 13 15; do
2190 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2191 done
2192 ac_signal=0
2193
2194 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2195 rm -f -r conftest* confdefs.h
2196
2197 # Predefined preprocessor variables.
2198
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_NAME "$PACKAGE_NAME"
2201 _ACEOF
2202
2203
2204 cat >>confdefs.h <<_ACEOF
2205 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2206 _ACEOF
2207
2208
2209 cat >>confdefs.h <<_ACEOF
2210 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2211 _ACEOF
2212
2213
2214 cat >>confdefs.h <<_ACEOF
2215 #define PACKAGE_STRING "$PACKAGE_STRING"
2216 _ACEOF
2217
2218
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2221 _ACEOF
2222
2223
2224 # Let the site file select an alternate cache file if it wants to.
2225 # Prefer explicitly selected file to automatically selected ones.
2226 if test -n "$CONFIG_SITE"; then
2227 set x "$CONFIG_SITE"
2228 elif test "x$prefix" != xNONE; then
2229 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2230 else
2231 set x "$ac_default_prefix/share/config.site" \
2232 "$ac_default_prefix/etc/config.site"
2233 fi
2234 shift
2235 for ac_site_file
2236 do
2237 if test -r "$ac_site_file"; then
2238 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2239 echo "$as_me: loading site script $ac_site_file" >&6;}
2240 sed 's/^/| /' "$ac_site_file" >&5
2241 . "$ac_site_file"
2242 fi
2243 done
2244
2245 if test -r "$cache_file"; then
2246 # Some versions of bash will fail to source /dev/null (special
2247 # files actually), so we avoid doing that.
2248 if test -f "$cache_file"; then
2249 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2250 echo "$as_me: loading cache $cache_file" >&6;}
2251 case $cache_file in
2252 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2253 *) . "./$cache_file";;
2254 esac
2255 fi
2256 else
2257 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2258 echo "$as_me: creating cache $cache_file" >&6;}
2259 >$cache_file
2260 fi
2261
2262 # Check that the precious variables saved in the cache have kept the same
2263 # value.
2264 ac_cache_corrupted=false
2265 for ac_var in $ac_precious_vars; do
2266 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2267 eval ac_new_set=\$ac_env_${ac_var}_set
2268 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2269 eval ac_new_val=\$ac_env_${ac_var}_value
2270 case $ac_old_set,$ac_new_set in
2271 set,)
2272 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2273 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2274 ac_cache_corrupted=: ;;
2275 ,set)
2276 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2277 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2278 ac_cache_corrupted=: ;;
2279 ,);;
2280 *)
2281 if test "x$ac_old_val" != "x$ac_new_val"; then
2282 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2283 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2284 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2285 echo "$as_me: former value: $ac_old_val" >&2;}
2286 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2287 echo "$as_me: current value: $ac_new_val" >&2;}
2288 ac_cache_corrupted=:
2289 fi;;
2290 esac
2291 # Pass precious variables to config.status.
2292 if test "$ac_new_set" = set; then
2293 case $ac_new_val in
2294 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2295 *) ac_arg=$ac_var=$ac_new_val ;;
2296 esac
2297 case " $ac_configure_args " in
2298 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2299 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2300 esac
2301 fi
2302 done
2303 if $ac_cache_corrupted; then
2304 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2305 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2306 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2307 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2308 { (exit 1); exit 1; }; }
2309 fi
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335 ac_ext=c
2336 ac_cpp='$CPP $CPPFLAGS'
2337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2340
2341
2342
2343
2344
2345 ac_aux_dir=
2346 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2347 if test -f "$ac_dir/install-sh"; then
2348 ac_aux_dir=$ac_dir
2349 ac_install_sh="$ac_aux_dir/install-sh -c"
2350 break
2351 elif test -f "$ac_dir/install.sh"; then
2352 ac_aux_dir=$ac_dir
2353 ac_install_sh="$ac_aux_dir/install.sh -c"
2354 break
2355 elif test -f "$ac_dir/shtool"; then
2356 ac_aux_dir=$ac_dir
2357 ac_install_sh="$ac_aux_dir/shtool install -c"
2358 break
2359 fi
2360 done
2361 if test -z "$ac_aux_dir"; then
2362 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2363 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2364 { (exit 1); exit 1; }; }
2365 fi
2366
2367 # These three variables are undocumented and unsupported,
2368 # and are intended to be withdrawn in a future Autoconf release.
2369 # They can cause serious problems if a builder's source tree is in a directory
2370 # whose full name contains unusual characters.
2371 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2372 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2373 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2374
2375
2376 # Make sure we can run config.sub.
2377 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2378 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2379 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2380 { (exit 1); exit 1; }; }
2381
2382 { echo "$as_me:$LINENO: checking build system type" >&5
2383 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2384 if test "${ac_cv_build+set}" = set; then
2385 echo $ECHO_N "(cached) $ECHO_C" >&6
2386 else
2387 ac_build_alias=$build_alias
2388 test "x$ac_build_alias" = x &&
2389 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2390 test "x$ac_build_alias" = x &&
2391 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2392 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2393 { (exit 1); exit 1; }; }
2394 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2395 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2396 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2397 { (exit 1); exit 1; }; }
2398
2399 fi
2400 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2401 echo "${ECHO_T}$ac_cv_build" >&6; }
2402 case $ac_cv_build in
2403 *-*-*) ;;
2404 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2405 echo "$as_me: error: invalid value of canonical build" >&2;}
2406 { (exit 1); exit 1; }; };;
2407 esac
2408 build=$ac_cv_build
2409 ac_save_IFS=$IFS; IFS='-'
2410 set x $ac_cv_build
2411 shift
2412 build_cpu=$1
2413 build_vendor=$2
2414 shift; shift
2415 # Remember, the first character of IFS is used to create $*,
2416 # except with old shells:
2417 build_os=$*
2418 IFS=$ac_save_IFS
2419 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2420
2421
2422 { echo "$as_me:$LINENO: checking host system type" >&5
2423 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2424 if test "${ac_cv_host+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 else
2427 if test "x$host_alias" = x; then
2428 ac_cv_host=$ac_cv_build
2429 else
2430 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2431 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2432 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2433 { (exit 1); exit 1; }; }
2434 fi
2435
2436 fi
2437 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2438 echo "${ECHO_T}$ac_cv_host" >&6; }
2439 case $ac_cv_host in
2440 *-*-*) ;;
2441 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2442 echo "$as_me: error: invalid value of canonical host" >&2;}
2443 { (exit 1); exit 1; }; };;
2444 esac
2445 host=$ac_cv_host
2446 ac_save_IFS=$IFS; IFS='-'
2447 set x $ac_cv_host
2448 shift
2449 host_cpu=$1
2450 host_vendor=$2
2451 shift; shift
2452 # Remember, the first character of IFS is used to create $*,
2453 # except with old shells:
2454 host_os=$*
2455 IFS=$ac_save_IFS
2456 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2457
2458
2459 { echo "$as_me:$LINENO: checking target system type" >&5
2460 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2461 if test "${ac_cv_target+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 else
2464 if test "x$target_alias" = x; then
2465 ac_cv_target=$ac_cv_host
2466 else
2467 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2468 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2469 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2470 { (exit 1); exit 1; }; }
2471 fi
2472
2473 fi
2474 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2475 echo "${ECHO_T}$ac_cv_target" >&6; }
2476 case $ac_cv_target in
2477 *-*-*) ;;
2478 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2479 echo "$as_me: error: invalid value of canonical target" >&2;}
2480 { (exit 1); exit 1; }; };;
2481 esac
2482 target=$ac_cv_target
2483 ac_save_IFS=$IFS; IFS='-'
2484 set x $ac_cv_target
2485 shift
2486 target_cpu=$1
2487 target_vendor=$2
2488 shift; shift
2489 # Remember, the first character of IFS is used to create $*,
2490 # except with old shells:
2491 target_os=$*
2492 IFS=$ac_save_IFS
2493 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2494
2495
2496 # The aliases save the names the user supplied, while $host etc.
2497 # will get canonicalized.
2498 test -n "$target_alias" &&
2499 test "$program_prefix$program_suffix$program_transform_name" = \
2500 NONENONEs,x,x, &&
2501 program_prefix=${target_alias}-
2502
2503
2504
2505 wx_major_version_number=2
2506 wx_minor_version_number=9
2507 wx_release_number=0
2508 wx_subrelease_number=0
2509
2510 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2511 WX_VERSION=$WX_RELEASE.$wx_release_number
2512 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2513
2514 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2515
2516
2517 wx_top_builddir="`pwd`"
2518
2519
2520
2521
2522 USE_UNIX=1
2523 USE_OS2=0
2524 USE_WIN32=0
2525 USE_DOS=0
2526 USE_BEOS=0
2527 USE_MAC=0
2528
2529 USE_AIX=
2530 USE_BSD= USE_DARWIN= USE_FREEBSD=
2531 USE_GNU= USE_HPUX=
2532 USE_LINUX=
2533 USE_NETBSD=
2534 USE_OPENBSD=
2535 USE_OSF= USE_SGI=
2536 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2537 USE_ULTRIX=
2538 USE_UNIXWARE=
2539
2540 USE_ALPHA=
2541
2542 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2543
2544 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2545
2546 DEFAULT_wxUSE_COCOA=0
2547 DEFAULT_wxUSE_GTK=0
2548 DEFAULT_wxUSE_MAC=0
2549 DEFAULT_wxUSE_MGL=0
2550 DEFAULT_wxUSE_MICROWIN=0
2551 DEFAULT_wxUSE_MOTIF=0
2552 DEFAULT_wxUSE_MSW=0
2553 DEFAULT_wxUSE_PM=0
2554 DEFAULT_wxUSE_X11=0
2555 DEFAULT_wxUSE_DFB=0
2556
2557 DEFAULT_DEFAULT_wxUSE_COCOA=0
2558 DEFAULT_DEFAULT_wxUSE_GTK=0
2559 DEFAULT_DEFAULT_wxUSE_MAC=0
2560 DEFAULT_DEFAULT_wxUSE_MGL=0
2561 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2562 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2563 DEFAULT_DEFAULT_wxUSE_MSW=0
2564 DEFAULT_DEFAULT_wxUSE_PM=0
2565 DEFAULT_DEFAULT_wxUSE_X11=0
2566 DEFAULT_DEFAULT_wxUSE_DFB=0
2567
2568 PROGRAM_EXT=
2569 SO_SUFFIX=so
2570 SAMPLES_RPATH_FLAG=
2571 SAMPLES_RPATH_POSTLINK=
2572
2573 DEFAULT_STD_FLAG=yes
2574
2575 case "${host}" in
2576 *-hp-hpux* )
2577 USE_HPUX=1
2578 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2579 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2580 SO_SUFFIX=sl
2581 cat >>confdefs.h <<\_ACEOF
2582 #define __HPUX__ 1
2583 _ACEOF
2584
2585
2586 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2587 ;;
2588 *-*-linux* )
2589 USE_LINUX=1
2590 cat >>confdefs.h <<\_ACEOF
2591 #define __LINUX__ 1
2592 _ACEOF
2593
2594 TMP=`uname -m`
2595 if test "x$TMP" = "xalpha"; then
2596 USE_ALPHA=1
2597 cat >>confdefs.h <<\_ACEOF
2598 #define __ALPHA__ 1
2599 _ACEOF
2600
2601 fi
2602 DEFAULT_DEFAULT_wxUSE_GTK=1
2603 ;;
2604 *-*-gnu* | *-*-k*bsd*-gnu )
2605 USE_GNU=1
2606 TMP=`uname -m`
2607 if test "x$TMP" = "xalpha"; then
2608 USE_ALPHA=1
2609 cat >>confdefs.h <<\_ACEOF
2610 #define __ALPHA__ 1
2611 _ACEOF
2612
2613 fi
2614 DEFAULT_DEFAULT_wxUSE_GTK=1
2615 ;;
2616 *-*-irix5* | *-*-irix6* )
2617 USE_SGI=1
2618 USE_SVR4=1
2619 cat >>confdefs.h <<\_ACEOF
2620 #define __SGI__ 1
2621 _ACEOF
2622
2623 cat >>confdefs.h <<\_ACEOF
2624 #define __SVR4__ 1
2625 _ACEOF
2626
2627 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2628 ;;
2629 *-*-solaris2* )
2630 USE_SUN=1
2631 USE_SOLARIS=1
2632 USE_SVR4=1
2633 cat >>confdefs.h <<\_ACEOF
2634 #define __SUN__ 1
2635 _ACEOF
2636
2637 cat >>confdefs.h <<\_ACEOF
2638 #define __SOLARIS__ 1
2639 _ACEOF
2640
2641 cat >>confdefs.h <<\_ACEOF
2642 #define __SVR4__ 1
2643 _ACEOF
2644
2645 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2646 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2647 ;;
2648 *-*-sunos4* )
2649 USE_SUN=1
2650 USE_SUNOS=1
2651 USE_BSD=1
2652 cat >>confdefs.h <<\_ACEOF
2653 #define __SUN__ 1
2654 _ACEOF
2655
2656 cat >>confdefs.h <<\_ACEOF
2657 #define __SUNOS__ 1
2658 _ACEOF
2659
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __BSD__ 1
2662 _ACEOF
2663
2664 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2665 ;;
2666 *-*-freebsd*)
2667 USE_BSD=1
2668 USE_FREEBSD=1
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __FREEBSD__ 1
2671 _ACEOF
2672
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __BSD__ 1
2675 _ACEOF
2676
2677 DEFAULT_DEFAULT_wxUSE_GTK=1
2678 ;;
2679 *-*-openbsd*|*-*-mirbsd*)
2680 USE_BSD=1
2681 USE_OPENBSD=1
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __OPENBSD__ 1
2684 _ACEOF
2685
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __BSD__ 1
2688 _ACEOF
2689
2690 DEFAULT_DEFAULT_wxUSE_GTK=1
2691 ;;
2692 *-*-netbsd*)
2693 USE_BSD=1
2694 USE_NETBSD=1
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __NETBSD__ 1
2697 _ACEOF
2698
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __BSD__ 1
2701 _ACEOF
2702
2703 DEFAULT_DEFAULT_wxUSE_GTK=1
2704 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2705
2706 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2707 ;;
2708 *-*-osf* )
2709 USE_ALPHA=1
2710 USE_OSF=1
2711 cat >>confdefs.h <<\_ACEOF
2712 #define __ALPHA__ 1
2713 _ACEOF
2714
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __OSF__ 1
2717 _ACEOF
2718
2719 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2720 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2721 ;;
2722 *-*-dgux5* )
2723 USE_ALPHA=1
2724 USE_SVR4=1
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __ALPHA__ 1
2727 _ACEOF
2728
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __SVR4__ 1
2731 _ACEOF
2732
2733 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2734 ;;
2735 *-*-sysv5* )
2736 USE_SYSV=1
2737 USE_SVR4=1
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __SYSV__ 1
2740 _ACEOF
2741
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __SVR4__ 1
2744 _ACEOF
2745
2746 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2747 ;;
2748 *-*-aix* )
2749 USE_AIX=1
2750 USE_SYSV=1
2751 USE_SVR4=1
2752 SO_SUFFIX=a
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __AIX__ 1
2755 _ACEOF
2756
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __SYSV__ 1
2759 _ACEOF
2760
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __SVR4__ 1
2763 _ACEOF
2764
2765 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2766 ;;
2767
2768 *-*-*UnixWare*)
2769 USE_SYSV=1
2770 USE_SVR4=1
2771 USE_UNIXWARE=1
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __UNIXWARE__ 1
2774 _ACEOF
2775
2776 ;;
2777
2778 *-*-cygwin* | *-*-mingw32* )
2779 SO_SUFFIX=dll
2780 PROGRAM_EXT=".exe"
2781 DEFAULT_DEFAULT_wxUSE_MSW=1
2782 ;;
2783
2784 *-pc-msdosdjgpp )
2785 USE_UNIX=0
2786 USE_DOS=1
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __DOS__ 1
2789 _ACEOF
2790
2791 PROGRAM_EXT=".exe"
2792 DEFAULT_DEFAULT_wxUSE_MGL=1
2793 ;;
2794
2795 *-pc-os2_emx | *-pc-os2-emx )
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __EMX__ 1
2798 _ACEOF
2799
2800 USE_OS2=1
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __OS2__ 1
2803 _ACEOF
2804
2805 PROGRAM_EXT=".exe"
2806 DEFAULT_DEFAULT_wxUSE_PM=1
2807 CXX=gcc
2808 LDFLAGS="$LDFLAGS -Zcrtdll"
2809 ac_executable_extensions=".exe"
2810 export ac_executable_extensions
2811 ac_save_IFS="$IFS"
2812 IFS='\\'
2813 ac_TEMP_PATH=
2814 for ac_dir in $PATH; do
2815 IFS=$ac_save_IFS
2816 if test -z "$ac_TEMP_PATH"; then
2817 ac_TEMP_PATH="$ac_dir"
2818 else
2819 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2820 fi
2821 done
2822 export PATH="$ac_TEMP_PATH"
2823 unset ac_TEMP_PATH
2824 DEFAULT_STD_FLAG=no
2825 ;;
2826
2827 *-*-darwin* )
2828 USE_BSD=1
2829 USE_DARWIN=1
2830 SO_SUFFIX=dylib
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __BSD__ 1
2833 _ACEOF
2834
2835 cat >>confdefs.h <<\_ACEOF
2836 #define __DARWIN__ 1
2837 _ACEOF
2838
2839 cat >>confdefs.h <<\_ACEOF
2840 #define TARGET_CARBON 1
2841 _ACEOF
2842
2843 DEFAULT_DEFAULT_wxUSE_MAC=1
2844 DEFAULT_STD_FLAG=no
2845 ;;
2846 powerpc-apple-macos* )
2847 USE_UNIX=0
2848 ac_cv_c_bigendian=yes
2849 SO_SUFFIX=shlib
2850 DEFAULT_DEFAULT_wxUSE_MAC=1
2851 DEFAULT_STD_FLAG=no
2852 ;;
2853
2854 *-*-beos* )
2855 USE_BEOS=1
2856 cat >>confdefs.h <<\_ACEOF
2857 #define __BEOS__ 1
2858 _ACEOF
2859
2860 ;;
2861
2862 *)
2863 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2864 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2865 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2866 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2867
2868 DEFAULT_DEFAULT_wxUSE_X11=1
2869 DEFAULT_wxUSE_SHARED=no
2870 esac
2871
2872
2873
2874
2875 wx_arg_cache_file="configarg.cache"
2876 echo "loading argument cache $wx_arg_cache_file"
2877 rm -f ${wx_arg_cache_file}.tmp
2878 touch ${wx_arg_cache_file}.tmp
2879 touch ${wx_arg_cache_file}
2880
2881
2882 DEBUG_CONFIGURE=0
2883 if test $DEBUG_CONFIGURE = 1; then
2884 DEFAULT_wxUSE_UNIVERSAL=no
2885 DEFAULT_wxUSE_STL=no
2886
2887 DEFAULT_wxUSE_NANOX=no
2888
2889 DEFAULT_wxUSE_THREADS=yes
2890
2891 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2892 DEFAULT_wxUSE_OPTIMISE=no
2893 DEFAULT_wxUSE_PROFILE=no
2894 DEFAULT_wxUSE_NO_DEPS=no
2895 DEFAULT_wxUSE_VARARG_MACROS=no
2896 DEFAULT_wxUSE_NO_RTTI=no
2897 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2898 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2899 DEFAULT_wxUSE_RPATH=yes
2900 DEFAULT_wxUSE_PERMISSIVE=no
2901 DEFAULT_wxUSE_DEBUG_FLAG=yes
2902 DEFAULT_wxUSE_DEBUG_INFO=yes
2903 DEFAULT_wxUSE_DEBUG_GDB=yes
2904 DEFAULT_wxUSE_MEM_TRACING=no
2905 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2906 DEFAULT_wxUSE_DMALLOC=no
2907 DEFAULT_wxUSE_APPLE_IEEE=no
2908
2909 DEFAULT_wxUSE_EXCEPTIONS=no
2910 DEFAULT_wxUSE_LOG=yes
2911 DEFAULT_wxUSE_LOGWINDOW=no
2912 DEFAULT_wxUSE_LOGGUI=no
2913 DEFAULT_wxUSE_LOGDIALOG=no
2914
2915 DEFAULT_wxUSE_GUI=yes
2916 DEFAULT_wxUSE_CONTROLS=no
2917
2918 DEFAULT_wxUSE_REGEX=no
2919 DEFAULT_wxUSE_XML=no
2920 DEFAULT_wxUSE_EXPAT=no
2921 DEFAULT_wxUSE_ZLIB=no
2922 DEFAULT_wxUSE_LIBPNG=no
2923 DEFAULT_wxUSE_LIBJPEG=no
2924 DEFAULT_wxUSE_LIBTIFF=no
2925 DEFAULT_wxUSE_LIBXPM=no
2926 DEFAULT_wxUSE_LIBMSPACK=no
2927 DEFAULT_wxUSE_LIBSDL=no
2928 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2929 DEFAULT_wxUSE_LIBGNOMEVFS=no
2930 DEFAULT_wxUSE_LIBHILDON=no
2931 DEFAULT_wxUSE_ODBC=no
2932 DEFAULT_wxUSE_OPENGL=no
2933
2934 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2935 DEFAULT_wxUSE_STACKWALKER=no
2936 DEFAULT_wxUSE_DEBUGREPORT=no
2937 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2938 DEFAULT_wxUSE_STD_IOSTREAM=no
2939 DEFAULT_wxUSE_STD_STRING=no
2940 DEFAULT_wxUSE_CMDLINE_PARSER=no
2941 DEFAULT_wxUSE_DATETIME=no
2942 DEFAULT_wxUSE_TIMER=no
2943 DEFAULT_wxUSE_STOPWATCH=no
2944 DEFAULT_wxUSE_FILE=no
2945 DEFAULT_wxUSE_FFILE=no
2946 DEFAULT_wxUSE_STDPATHS=no
2947 DEFAULT_wxUSE_TEXTBUFFER=no
2948 DEFAULT_wxUSE_TEXTFILE=no
2949 DEFAULT_wxUSE_SOUND=no
2950 DEFAULT_wxUSE_MEDIACTRL=no
2951 DEFAULT_wxUSE_GSTREAMER8=no
2952 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2953 DEFAULT_wxUSE_INTL=no
2954 DEFAULT_wxUSE_CONFIG=no
2955 DEFAULT_wxUSE_FONTMAP=no
2956 DEFAULT_wxUSE_STREAMS=no
2957 DEFAULT_wxUSE_SOCKETS=no
2958 DEFAULT_wxUSE_OLE=no
2959 DEFAULT_wxUSE_DATAOBJ=no
2960 DEFAULT_wxUSE_DIALUP_MANAGER=no
2961 DEFAULT_wxUSE_JOYSTICK=no
2962 DEFAULT_wxUSE_DYNLIB_CLASS=no
2963 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2964 DEFAULT_wxUSE_LONGLONG=no
2965 DEFAULT_wxUSE_GEOMETRY=no
2966
2967 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2968 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2969 DEFAULT_wxUSE_POSTSCRIPT=no
2970
2971 DEFAULT_wxUSE_CLIPBOARD=no
2972 DEFAULT_wxUSE_TOOLTIPS=no
2973 DEFAULT_wxUSE_DRAG_AND_DROP=no
2974 DEFAULT_wxUSE_DRAGIMAGE=no
2975 DEFAULT_wxUSE_SPLINES=no
2976 DEFAULT_wxUSE_MOUSEWHEEL=no
2977
2978 DEFAULT_wxUSE_MDI=no
2979 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2980 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2981 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2982
2983 DEFAULT_wxUSE_RESOURCES=no
2984 DEFAULT_wxUSE_CONSTRAINTS=no
2985 DEFAULT_wxUSE_IPC=no
2986 DEFAULT_wxUSE_HELP=no
2987 DEFAULT_wxUSE_MS_HTML_HELP=no
2988 DEFAULT_wxUSE_WXHTML_HELP=no
2989 DEFAULT_wxUSE_TREELAYOUT=no
2990 DEFAULT_wxUSE_METAFILE=no
2991 DEFAULT_wxUSE_MIMETYPE=no
2992 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2993 DEFAULT_wxUSE_PROTOCOL=no
2994 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2995 DEFAULT_wxUSE_PROTOCOL_FTP=no
2996 DEFAULT_wxUSE_PROTOCOL_FILE=no
2997 DEFAULT_wxUSE_URL=no
2998 DEFAULT_wxUSE_VARIANT=no
2999
3000 DEFAULT_wxUSE_ABOUTDLG=no
3001 DEFAULT_wxUSE_COMMONDLGS=no
3002 DEFAULT_wxUSE_CHOICEDLG=no
3003 DEFAULT_wxUSE_COLOURDLG=no
3004 DEFAULT_wxUSE_DIRDLG=no
3005 DEFAULT_wxUSE_FILEDLG=no
3006 DEFAULT_wxUSE_FINDREPLDLG=no
3007 DEFAULT_wxUSE_FONTDLG=no
3008 DEFAULT_wxUSE_MSGDLG=no
3009 DEFAULT_wxUSE_NUMBERDLG=no
3010 DEFAULT_wxUSE_TEXTDLG=no
3011 DEFAULT_wxUSE_SPLASH=no
3012 DEFAULT_wxUSE_STARTUP_TIPS=no
3013 DEFAULT_wxUSE_PROGRESSDLG=no
3014 DEFAULT_wxUSE_WIZARDDLG=no
3015
3016 DEFAULT_wxUSE_MENUS=no
3017 DEFAULT_wxUSE_MINIFRAME=no
3018 DEFAULT_wxUSE_HTML=no
3019 DEFAULT_wxUSE_RICHTEXT=no
3020 DEFAULT_wxUSE_XRC=no
3021 DEFAULT_wxUSE_AUI=no
3022 DEFAULT_wxUSE_STC=no
3023 DEFAULT_wxUSE_WEBKIT=no
3024 DEFAULT_wxUSE_FILESYSTEM=no
3025 DEFAULT_wxUSE_FS_INET=no
3026 DEFAULT_wxUSE_FS_ZIP=no
3027 DEFAULT_wxUSE_FS_ARCHIVE=no
3028 DEFAULT_wxUSE_BUSYINFO=no
3029 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3030 DEFAULT_wxUSE_ZIPSTREAM=no
3031 DEFAULT_wxUSE_TARSTREAM=no
3032 DEFAULT_wxUSE_VALIDATORS=no
3033
3034 DEFAULT_wxUSE_ACCEL=no
3035 DEFAULT_wxUSE_ANIMATIONCTRL=no
3036 DEFAULT_wxUSE_BUTTON=no
3037 DEFAULT_wxUSE_BMPBUTTON=no
3038 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3039 DEFAULT_wxUSE_CALCTRL=no
3040 DEFAULT_wxUSE_CARET=no
3041 DEFAULT_wxUSE_CHECKBOX=no
3042 DEFAULT_wxUSE_CHECKLST=no
3043 DEFAULT_wxUSE_CHOICE=no
3044 DEFAULT_wxUSE_CHOICEBOOK=no
3045 DEFAULT_wxUSE_COLLPANE=no
3046 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3047 DEFAULT_wxUSE_COMBOBOX=no
3048 DEFAULT_wxUSE_COMBOCTRL=no
3049 DEFAULT_wxUSE_DATEPICKCTRL=no
3050 DEFAULT_wxUSE_DISPLAY=no
3051 DEFAULT_wxUSE_DETECT_SM=no
3052 DEFAULT_wxUSE_DIRPICKERCTRL=no
3053 DEFAULT_wxUSE_FILEPICKERCTRL=no
3054 DEFAULT_wxUSE_FONTPICKERCTRL=no
3055 DEFAULT_wxUSE_GAUGE=no
3056 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3057 DEFAULT_wxUSE_GRID=no
3058 DEFAULT_wxUSE_HYPERLINKCTRL=no
3059 DEFAULT_wxUSE_DATAVIEWCTRL=no
3060 DEFAULT_wxUSE_IMAGLIST=no
3061 DEFAULT_wxUSE_LISTBOOK=no
3062 DEFAULT_wxUSE_LISTBOX=no
3063 DEFAULT_wxUSE_LISTCTRL=no
3064 DEFAULT_wxUSE_NOTEBOOK=no
3065 DEFAULT_wxUSE_ODCOMBOBOX=no
3066 DEFAULT_wxUSE_RADIOBOX=no
3067 DEFAULT_wxUSE_RADIOBTN=no
3068 DEFAULT_wxUSE_SASH=no
3069 DEFAULT_wxUSE_SCROLLBAR=no
3070 DEFAULT_wxUSE_SEARCHCTRL=no
3071 DEFAULT_wxUSE_SLIDER=no
3072 DEFAULT_wxUSE_SPINBTN=no
3073 DEFAULT_wxUSE_SPINCTRL=no
3074 DEFAULT_wxUSE_SPLITTER=no
3075 DEFAULT_wxUSE_STATBMP=no
3076 DEFAULT_wxUSE_STATBOX=no
3077 DEFAULT_wxUSE_STATLINE=no
3078 DEFAULT_wxUSE_STATTEXT=no
3079 DEFAULT_wxUSE_STATUSBAR=yes
3080 DEFAULT_wxUSE_TAB_DIALOG=no
3081 DEFAULT_wxUSE_TEXTCTRL=no
3082 DEFAULT_wxUSE_TOGGLEBTN=no
3083 DEFAULT_wxUSE_TOOLBAR=no
3084 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3085 DEFAULT_wxUSE_TREEBOOK=no
3086 DEFAULT_wxUSE_TOOLBOOK=no
3087 DEFAULT_wxUSE_TREECTRL=no
3088 DEFAULT_wxUSE_POPUPWIN=no
3089 DEFAULT_wxUSE_TIPWINDOW=no
3090
3091 DEFAULT_wxUSE_UNICODE=no
3092 DEFAULT_wxUSE_UNICODE_MSLU=no
3093 DEFAULT_wxUSE_WCSRTOMBS=no
3094
3095 DEFAULT_wxUSE_PALETTE=no
3096 DEFAULT_wxUSE_IMAGE=no
3097 DEFAULT_wxUSE_GIF=no
3098 DEFAULT_wxUSE_PCX=no
3099 DEFAULT_wxUSE_TGA=no
3100 DEFAULT_wxUSE_PNM=no
3101 DEFAULT_wxUSE_IFF=no
3102 DEFAULT_wxUSE_XPM=no
3103 DEFAULT_wxUSE_ICO_CUR=no
3104 DEFAULT_wxUSE_ACCESSIBILITY=no
3105
3106 DEFAULT_wxUSE_MONOLITHIC=no
3107 DEFAULT_wxUSE_PLUGINS=no
3108 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3109 else
3110 DEFAULT_wxUSE_UNIVERSAL=no
3111 DEFAULT_wxUSE_STL=no
3112
3113 DEFAULT_wxUSE_NANOX=no
3114
3115 DEFAULT_wxUSE_THREADS=yes
3116
3117 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3118 DEFAULT_wxUSE_OPTIMISE=yes
3119 DEFAULT_wxUSE_PROFILE=no
3120 DEFAULT_wxUSE_NO_DEPS=no
3121 DEFAULT_wxUSE_VARARG_MACROS=yes
3122 DEFAULT_wxUSE_NO_RTTI=no
3123 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3124 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3125 DEFAULT_wxUSE_RPATH=yes
3126 DEFAULT_wxUSE_PERMISSIVE=no
3127 DEFAULT_wxUSE_DEBUG_FLAG=no
3128 DEFAULT_wxUSE_DEBUG_INFO=no
3129 DEFAULT_wxUSE_DEBUG_GDB=no
3130 DEFAULT_wxUSE_MEM_TRACING=no
3131 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3132 DEFAULT_wxUSE_DMALLOC=no
3133 DEFAULT_wxUSE_APPLE_IEEE=yes
3134
3135 DEFAULT_wxUSE_EXCEPTIONS=yes
3136 DEFAULT_wxUSE_LOG=yes
3137 DEFAULT_wxUSE_LOGWINDOW=yes
3138 DEFAULT_wxUSE_LOGGUI=yes
3139 DEFAULT_wxUSE_LOGDIALOG=yes
3140
3141 DEFAULT_wxUSE_GUI=yes
3142
3143 DEFAULT_wxUSE_REGEX=yes
3144 DEFAULT_wxUSE_XML=yes
3145 DEFAULT_wxUSE_EXPAT=yes
3146 DEFAULT_wxUSE_ZLIB=yes
3147 DEFAULT_wxUSE_LIBPNG=yes
3148 DEFAULT_wxUSE_LIBJPEG=yes
3149 DEFAULT_wxUSE_LIBTIFF=yes
3150 DEFAULT_wxUSE_LIBXPM=yes
3151 DEFAULT_wxUSE_LIBMSPACK=yes
3152 DEFAULT_wxUSE_LIBSDL=no
3153 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3154 DEFAULT_wxUSE_LIBGNOMEVFS=no
3155 DEFAULT_wxUSE_LIBHILDON=no
3156 DEFAULT_wxUSE_ODBC=no
3157 DEFAULT_wxUSE_OPENGL=no
3158
3159 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3160 DEFAULT_wxUSE_STACKWALKER=yes
3161 DEFAULT_wxUSE_DEBUGREPORT=yes
3162 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3163 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3164 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3165 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3166 DEFAULT_wxUSE_DATETIME=yes
3167 DEFAULT_wxUSE_TIMER=yes
3168 DEFAULT_wxUSE_STOPWATCH=yes
3169 DEFAULT_wxUSE_FILE=yes
3170 DEFAULT_wxUSE_FFILE=yes
3171 DEFAULT_wxUSE_STDPATHS=yes
3172 DEFAULT_wxUSE_TEXTBUFFER=yes
3173 DEFAULT_wxUSE_TEXTFILE=yes
3174 DEFAULT_wxUSE_SOUND=yes
3175 DEFAULT_wxUSE_MEDIACTRL=no
3176 DEFAULT_wxUSE_GSTREAMER8=no
3177 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3178 DEFAULT_wxUSE_INTL=yes
3179 DEFAULT_wxUSE_CONFIG=yes
3180 DEFAULT_wxUSE_FONTMAP=yes
3181 DEFAULT_wxUSE_STREAMS=yes
3182 DEFAULT_wxUSE_SOCKETS=yes
3183 DEFAULT_wxUSE_OLE=yes
3184 DEFAULT_wxUSE_DATAOBJ=yes
3185 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3186 DEFAULT_wxUSE_JOYSTICK=yes
3187 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3188 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3189 DEFAULT_wxUSE_LONGLONG=yes
3190 DEFAULT_wxUSE_GEOMETRY=yes
3191
3192 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3193 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3194 DEFAULT_wxUSE_POSTSCRIPT=yes
3195
3196 DEFAULT_wxUSE_CLIPBOARD=yes
3197 DEFAULT_wxUSE_TOOLTIPS=yes
3198 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3199 DEFAULT_wxUSE_DRAGIMAGE=yes
3200 DEFAULT_wxUSE_SPLINES=yes
3201 DEFAULT_wxUSE_MOUSEWHEEL=yes
3202
3203 DEFAULT_wxUSE_MDI=yes
3204 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3205 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3206 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3207
3208 DEFAULT_wxUSE_RESOURCES=no
3209 DEFAULT_wxUSE_CONSTRAINTS=yes
3210 DEFAULT_wxUSE_IPC=yes
3211 DEFAULT_wxUSE_HELP=yes
3212 DEFAULT_wxUSE_MS_HTML_HELP=yes
3213 DEFAULT_wxUSE_WXHTML_HELP=yes
3214 DEFAULT_wxUSE_TREELAYOUT=yes
3215 DEFAULT_wxUSE_METAFILE=yes
3216 DEFAULT_wxUSE_MIMETYPE=yes
3217 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3218 DEFAULT_wxUSE_PROTOCOL=yes
3219 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3220 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3221 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3222 DEFAULT_wxUSE_URL=yes
3223 DEFAULT_wxUSE_VARIANT=yes
3224
3225 DEFAULT_wxUSE_ABOUTDLG=yes
3226 DEFAULT_wxUSE_COMMONDLGS=yes
3227 DEFAULT_wxUSE_CHOICEDLG=yes
3228 DEFAULT_wxUSE_COLOURDLG=yes
3229 DEFAULT_wxUSE_DIRDLG=yes
3230 DEFAULT_wxUSE_FILEDLG=yes
3231 DEFAULT_wxUSE_FINDREPLDLG=yes
3232 DEFAULT_wxUSE_FONTDLG=yes
3233 DEFAULT_wxUSE_MSGDLG=yes
3234 DEFAULT_wxUSE_NUMBERDLG=yes
3235 DEFAULT_wxUSE_TEXTDLG=yes
3236 DEFAULT_wxUSE_SPLASH=yes
3237 DEFAULT_wxUSE_STARTUP_TIPS=yes
3238 DEFAULT_wxUSE_PROGRESSDLG=yes
3239 DEFAULT_wxUSE_WIZARDDLG=yes
3240
3241 DEFAULT_wxUSE_MENUS=yes
3242 DEFAULT_wxUSE_MINIFRAME=yes
3243 DEFAULT_wxUSE_HTML=yes
3244 DEFAULT_wxUSE_RICHTEXT=yes
3245 DEFAULT_wxUSE_XRC=yes
3246 DEFAULT_wxUSE_AUI=yes
3247 DEFAULT_wxUSE_STC=yes
3248 DEFAULT_wxUSE_WEBKIT=yes
3249 DEFAULT_wxUSE_FILESYSTEM=yes
3250 DEFAULT_wxUSE_FS_INET=yes
3251 DEFAULT_wxUSE_FS_ZIP=yes
3252 DEFAULT_wxUSE_FS_ARCHIVE=yes
3253 DEFAULT_wxUSE_BUSYINFO=yes
3254 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3255 DEFAULT_wxUSE_ZIPSTREAM=yes
3256 DEFAULT_wxUSE_TARSTREAM=yes
3257 DEFAULT_wxUSE_VALIDATORS=yes
3258
3259 DEFAULT_wxUSE_ACCEL=yes
3260 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3261 DEFAULT_wxUSE_BUTTON=yes
3262 DEFAULT_wxUSE_BMPBUTTON=yes
3263 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3264 DEFAULT_wxUSE_CALCTRL=yes
3265 DEFAULT_wxUSE_CARET=yes
3266 DEFAULT_wxUSE_CHECKBOX=yes
3267 DEFAULT_wxUSE_CHECKLST=yes
3268 DEFAULT_wxUSE_CHOICE=yes
3269 DEFAULT_wxUSE_CHOICEBOOK=yes
3270 DEFAULT_wxUSE_COLLPANE=yes
3271 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3272 DEFAULT_wxUSE_COMBOBOX=yes
3273 DEFAULT_wxUSE_COMBOCTRL=yes
3274 DEFAULT_wxUSE_DATEPICKCTRL=yes
3275 DEFAULT_wxUSE_DISPLAY=yes
3276 DEFAULT_wxUSE_DETECT_SM=yes
3277 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3278 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3279 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3280 DEFAULT_wxUSE_GAUGE=yes
3281 DEFAULT_wxUSE_GRID=yes
3282 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3283 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3284 DEFAULT_wxUSE_DATAVIEWCTRL=no
3285 DEFAULT_wxUSE_IMAGLIST=yes
3286 DEFAULT_wxUSE_LISTBOOK=yes
3287 DEFAULT_wxUSE_LISTBOX=yes
3288 DEFAULT_wxUSE_LISTCTRL=yes
3289 DEFAULT_wxUSE_NOTEBOOK=yes
3290 DEFAULT_wxUSE_ODCOMBOBOX=yes
3291 DEFAULT_wxUSE_RADIOBOX=yes
3292 DEFAULT_wxUSE_RADIOBTN=yes
3293 DEFAULT_wxUSE_SASH=yes
3294 DEFAULT_wxUSE_SCROLLBAR=yes
3295 DEFAULT_wxUSE_SEARCHCTRL=yes
3296 DEFAULT_wxUSE_SLIDER=yes
3297 DEFAULT_wxUSE_SPINBTN=yes
3298 DEFAULT_wxUSE_SPINCTRL=yes
3299 DEFAULT_wxUSE_SPLITTER=yes
3300 DEFAULT_wxUSE_STATBMP=yes
3301 DEFAULT_wxUSE_STATBOX=yes
3302 DEFAULT_wxUSE_STATLINE=yes
3303 DEFAULT_wxUSE_STATTEXT=yes
3304 DEFAULT_wxUSE_STATUSBAR=yes
3305 DEFAULT_wxUSE_TAB_DIALOG=no
3306 DEFAULT_wxUSE_TEXTCTRL=yes
3307 DEFAULT_wxUSE_TOGGLEBTN=yes
3308 DEFAULT_wxUSE_TOOLBAR=yes
3309 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3310 DEFAULT_wxUSE_TREEBOOK=yes
3311 DEFAULT_wxUSE_TOOLBOOK=yes
3312 DEFAULT_wxUSE_TREECTRL=yes
3313 DEFAULT_wxUSE_POPUPWIN=yes
3314 DEFAULT_wxUSE_TIPWINDOW=yes
3315
3316 DEFAULT_wxUSE_UNICODE=no
3317 DEFAULT_wxUSE_UNICODE_MSLU=yes
3318 DEFAULT_wxUSE_WCSRTOMBS=no
3319
3320 DEFAULT_wxUSE_PALETTE=yes
3321 DEFAULT_wxUSE_IMAGE=yes
3322 DEFAULT_wxUSE_GIF=yes
3323 DEFAULT_wxUSE_PCX=yes
3324 DEFAULT_wxUSE_TGA=yes
3325 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3326 DEFAULT_wxUSE_XPM=yes
3327 DEFAULT_wxUSE_ICO_CUR=yes
3328 DEFAULT_wxUSE_ACCESSIBILITY=no
3329
3330 DEFAULT_wxUSE_MONOLITHIC=no
3331 DEFAULT_wxUSE_PLUGINS=no
3332 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3333
3334 DEFAULT_wxUSE_GTK2=yes
3335 fi
3336
3337
3338
3339
3340 for toolkit in `echo $ALL_TOOLKITS`; do
3341 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3342 if test "x$LINE" != "x" ; then
3343 has_toolkit_in_cache=1
3344 eval "DEFAULT_$LINE"
3345 eval "CACHE_$toolkit=1"
3346
3347 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3348 if test "x$LINE" != "x" ; then
3349 eval "DEFAULT_$LINE"
3350 fi
3351 fi
3352 done
3353
3354
3355
3356 enablestring=
3357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3358 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3359 no_cache=0
3360 # Check whether --enable-gui was given.
3361 if test "${enable_gui+set}" = set; then
3362 enableval=$enable_gui;
3363 if test "$enableval" = yes; then
3364 ac_cv_use_gui='wxUSE_GUI=yes'
3365 else
3366 ac_cv_use_gui='wxUSE_GUI=no'
3367 fi
3368
3369 else
3370
3371 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3374 else
3375 no_cache=1
3376 fi
3377
3378 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3379
3380 fi
3381
3382
3383 eval "$ac_cv_use_gui"
3384 if test "$no_cache" != 1; then
3385 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3386 fi
3387
3388 if test "$wxUSE_GUI" = yes; then
3389 { echo "$as_me:$LINENO: result: yes" >&5
3390 echo "${ECHO_T}yes" >&6; }
3391 else
3392 { echo "$as_me:$LINENO: result: no" >&5
3393 echo "${ECHO_T}no" >&6; }
3394 fi
3395
3396
3397 enablestring=
3398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3399 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3400 no_cache=0
3401 # Check whether --enable-monolithic was given.
3402 if test "${enable_monolithic+set}" = set; then
3403 enableval=$enable_monolithic;
3404 if test "$enableval" = yes; then
3405 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3406 else
3407 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3408 fi
3409
3410 else
3411
3412 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3413 if test "x$LINE" != x ; then
3414 eval "DEFAULT_$LINE"
3415 else
3416 no_cache=1
3417 fi
3418
3419 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3420
3421 fi
3422
3423
3424 eval "$ac_cv_use_monolithic"
3425 if test "$no_cache" != 1; then
3426 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3427 fi
3428
3429 if test "$wxUSE_MONOLITHIC" = yes; then
3430 { echo "$as_me:$LINENO: result: yes" >&5
3431 echo "${ECHO_T}yes" >&6; }
3432 else
3433 { echo "$as_me:$LINENO: result: no" >&5
3434 echo "${ECHO_T}no" >&6; }
3435 fi
3436
3437
3438 enablestring=
3439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3440 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3441 no_cache=0
3442 # Check whether --enable-plugins was given.
3443 if test "${enable_plugins+set}" = set; then
3444 enableval=$enable_plugins;
3445 if test "$enableval" = yes; then
3446 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3447 else
3448 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3449 fi
3450
3451 else
3452
3453 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3454 if test "x$LINE" != x ; then
3455 eval "DEFAULT_$LINE"
3456 else
3457 no_cache=1
3458 fi
3459
3460 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3461
3462 fi
3463
3464
3465 eval "$ac_cv_use_plugins"
3466 if test "$no_cache" != 1; then
3467 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3468 fi
3469
3470 if test "$wxUSE_PLUGINS" = yes; then
3471 { echo "$as_me:$LINENO: result: yes" >&5
3472 echo "${ECHO_T}yes" >&6; }
3473 else
3474 { echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6; }
3476 fi
3477
3478
3479 withstring=without
3480 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3481 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3482 no_cache=0
3483
3484 # Check whether --with-subdirs was given.
3485 if test "${with_subdirs+set}" = set; then
3486 withval=$with_subdirs;
3487 if test "$withval" = yes; then
3488 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3489 else
3490 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3491 fi
3492
3493 else
3494
3495 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3496 if test "x$LINE" != x ; then
3497 eval "DEFAULT_$LINE"
3498 else
3499 no_cache=1
3500 fi
3501
3502 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3503
3504 fi
3505
3506
3507 eval "$ac_cv_use_subdirs"
3508 if test "$no_cache" != 1; then
3509 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3510 fi
3511
3512 if test "$wxWITH_SUBDIRS" = yes; then
3513 { echo "$as_me:$LINENO: result: yes" >&5
3514 echo "${ECHO_T}yes" >&6; }
3515 else
3516 { echo "$as_me:$LINENO: result: no" >&5
3517 echo "${ECHO_T}no" >&6; }
3518 fi
3519
3520
3521 if test "$wxUSE_GUI" = "yes"; then
3522
3523
3524 enablestring=
3525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3526 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3527 no_cache=0
3528 # Check whether --enable-universal was given.
3529 if test "${enable_universal+set}" = set; then
3530 enableval=$enable_universal;
3531 if test "$enableval" = yes; then
3532 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3533 else
3534 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3535 fi
3536
3537 else
3538
3539 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3540 if test "x$LINE" != x ; then
3541 eval "DEFAULT_$LINE"
3542 else
3543 no_cache=1
3544 fi
3545
3546 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3547
3548 fi
3549
3550
3551 eval "$ac_cv_use_universal"
3552 if test "$no_cache" != 1; then
3553 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3554 fi
3555
3556 if test "$wxUSE_UNIVERSAL" = yes; then
3557 { echo "$as_me:$LINENO: result: yes" >&5
3558 echo "${ECHO_T}yes" >&6; }
3559 else
3560 { echo "$as_me:$LINENO: result: no" >&5
3561 echo "${ECHO_T}no" >&6; }
3562 fi
3563
3564
3565 # Check whether --with-gtk was given.
3566 if test "${with_gtk+set}" = set; then
3567 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3568 fi
3569
3570
3571 # Check whether --with-motif was given.
3572 if test "${with_motif+set}" = set; then
3573 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3574 fi
3575
3576
3577 # Check whether --with-mac was given.
3578 if test "${with_mac+set}" = set; then
3579 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3580 fi
3581
3582
3583 # Check whether --with-cocoa was given.
3584 if test "${with_cocoa+set}" = set; then
3585 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3586 fi
3587
3588
3589 # Check whether --with-wine was given.
3590 if test "${with_wine+set}" = set; then
3591 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3592 fi
3593
3594
3595 # Check whether --with-msw was given.
3596 if test "${with_msw+set}" = set; then
3597 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3598 fi
3599
3600
3601 # Check whether --with-pm was given.
3602 if test "${with_pm+set}" = set; then
3603 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3604 fi
3605
3606
3607 # Check whether --with-mgl was given.
3608 if test "${with_mgl+set}" = set; then
3609 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3610 fi
3611
3612
3613 # Check whether --with-directfb was given.
3614 if test "${with_directfb+set}" = set; then
3615 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3616 fi
3617
3618
3619 # Check whether --with-microwin was given.
3620 if test "${with_microwin+set}" = set; then
3621 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3622 fi
3623
3624
3625 # Check whether --with-x11 was given.
3626 if test "${with_x11+set}" = set; then
3627 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3628 fi
3629
3630
3631 enablestring=
3632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3633 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3634 no_cache=0
3635 # Check whether --enable-nanox was given.
3636 if test "${enable_nanox+set}" = set; then
3637 enableval=$enable_nanox;
3638 if test "$enableval" = yes; then
3639 ac_cv_use_nanox='wxUSE_NANOX=yes'
3640 else
3641 ac_cv_use_nanox='wxUSE_NANOX=no'
3642 fi
3643
3644 else
3645
3646 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3647 if test "x$LINE" != x ; then
3648 eval "DEFAULT_$LINE"
3649 else
3650 no_cache=1
3651 fi
3652
3653 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3654
3655 fi
3656
3657
3658 eval "$ac_cv_use_nanox"
3659 if test "$no_cache" != 1; then
3660 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3661 fi
3662
3663 if test "$wxUSE_NANOX" = yes; then
3664 { echo "$as_me:$LINENO: result: yes" >&5
3665 echo "${ECHO_T}yes" >&6; }
3666 else
3667 { echo "$as_me:$LINENO: result: no" >&5
3668 echo "${ECHO_T}no" >&6; }
3669 fi
3670
3671
3672 # Check whether --enable-gtk2 was given.
3673 if test "${enable_gtk2+set}" = set; then
3674 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3675 fi
3676
3677
3678 enablestring=
3679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3680 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3681 no_cache=0
3682 # Check whether --enable-gpe was given.
3683 if test "${enable_gpe+set}" = set; then
3684 enableval=$enable_gpe;
3685 if test "$enableval" = yes; then
3686 ac_cv_use_gpe='wxUSE_GPE=yes'
3687 else
3688 ac_cv_use_gpe='wxUSE_GPE=no'
3689 fi
3690
3691 else
3692
3693 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x ; then
3695 eval "DEFAULT_$LINE"
3696 else
3697 no_cache=1
3698 fi
3699
3700 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3701
3702 fi
3703
3704
3705 eval "$ac_cv_use_gpe"
3706 if test "$no_cache" != 1; then
3707 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3708 fi
3709
3710 if test "$wxUSE_GPE" = yes; then
3711 { echo "$as_me:$LINENO: result: yes" >&5
3712 echo "${ECHO_T}yes" >&6; }
3713 else
3714 { echo "$as_me:$LINENO: result: no" >&5
3715 echo "${ECHO_T}no" >&6; }
3716 fi
3717
3718
3719
3720 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3721 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3722 no_cache=0
3723
3724 # Check whether --with-libpng was given.
3725 if test "${with_libpng+set}" = set; then
3726 withval=$with_libpng;
3727 if test "$withval" = yes; then
3728 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3729 elif test "$withval" = no; then
3730 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3731 elif test "$withval" = sys; then
3732 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3733 elif test "$withval" = builtin; then
3734 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3735 else
3736 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3737 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3738 { (exit 1); exit 1; }; }
3739 fi
3740
3741 else
3742
3743 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3744 if test "x$LINE" != x ; then
3745 eval "DEFAULT_$LINE"
3746 else
3747 no_cache=1
3748 fi
3749
3750 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3751
3752 fi
3753
3754
3755 eval "$ac_cv_use_libpng"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3758 fi
3759
3760 if test "$wxUSE_LIBPNG" = yes; then
3761 { echo "$as_me:$LINENO: result: yes" >&5
3762 echo "${ECHO_T}yes" >&6; }
3763 elif test "$wxUSE_LIBPNG" = no; then
3764 { echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6; }
3766 elif test "$wxUSE_LIBPNG" = sys; then
3767 { echo "$as_me:$LINENO: result: system version" >&5
3768 echo "${ECHO_T}system version" >&6; }
3769 elif test "$wxUSE_LIBPNG" = builtin; then
3770 { echo "$as_me:$LINENO: result: builtin version" >&5
3771 echo "${ECHO_T}builtin version" >&6; }
3772 else
3773 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3774 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3775 { (exit 1); exit 1; }; }
3776 fi
3777
3778
3779 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3780 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3781 no_cache=0
3782
3783 # Check whether --with-libjpeg was given.
3784 if test "${with_libjpeg+set}" = set; then
3785 withval=$with_libjpeg;
3786 if test "$withval" = yes; then
3787 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3788 elif test "$withval" = no; then
3789 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3790 elif test "$withval" = sys; then
3791 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3792 elif test "$withval" = builtin; then
3793 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3794 else
3795 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3796 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3797 { (exit 1); exit 1; }; }
3798 fi
3799
3800 else
3801
3802 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x ; then
3804 eval "DEFAULT_$LINE"
3805 else
3806 no_cache=1
3807 fi
3808
3809 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3810
3811 fi
3812
3813
3814 eval "$ac_cv_use_libjpeg"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3817 fi
3818
3819 if test "$wxUSE_LIBJPEG" = yes; then
3820 { echo "$as_me:$LINENO: result: yes" >&5
3821 echo "${ECHO_T}yes" >&6; }
3822 elif test "$wxUSE_LIBJPEG" = no; then
3823 { echo "$as_me:$LINENO: result: no" >&5
3824 echo "${ECHO_T}no" >&6; }
3825 elif test "$wxUSE_LIBJPEG" = sys; then
3826 { echo "$as_me:$LINENO: result: system version" >&5
3827 echo "${ECHO_T}system version" >&6; }
3828 elif test "$wxUSE_LIBJPEG" = builtin; then
3829 { echo "$as_me:$LINENO: result: builtin version" >&5
3830 echo "${ECHO_T}builtin version" >&6; }
3831 else
3832 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3833 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3834 { (exit 1); exit 1; }; }
3835 fi
3836
3837
3838 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3839 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3840 no_cache=0
3841
3842 # Check whether --with-libtiff was given.
3843 if test "${with_libtiff+set}" = set; then
3844 withval=$with_libtiff;
3845 if test "$withval" = yes; then
3846 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3847 elif test "$withval" = no; then
3848 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3849 elif test "$withval" = sys; then
3850 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3851 elif test "$withval" = builtin; then
3852 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3853 else
3854 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3855 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3856 { (exit 1); exit 1; }; }
3857 fi
3858
3859 else
3860
3861 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x ; then
3863 eval "DEFAULT_$LINE"
3864 else
3865 no_cache=1
3866 fi
3867
3868 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3869
3870 fi
3871
3872
3873 eval "$ac_cv_use_libtiff"
3874 if test "$no_cache" != 1; then
3875 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3876 fi
3877
3878 if test "$wxUSE_LIBTIFF" = yes; then
3879 { echo "$as_me:$LINENO: result: yes" >&5
3880 echo "${ECHO_T}yes" >&6; }
3881 elif test "$wxUSE_LIBTIFF" = no; then
3882 { echo "$as_me:$LINENO: result: no" >&5
3883 echo "${ECHO_T}no" >&6; }
3884 elif test "$wxUSE_LIBTIFF" = sys; then
3885 { echo "$as_me:$LINENO: result: system version" >&5
3886 echo "${ECHO_T}system version" >&6; }
3887 elif test "$wxUSE_LIBTIFF" = builtin; then
3888 { echo "$as_me:$LINENO: result: builtin version" >&5
3889 echo "${ECHO_T}builtin version" >&6; }
3890 else
3891 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3892 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3893 { (exit 1); exit 1; }; }
3894 fi
3895
3896
3897 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3898 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3899 no_cache=0
3900
3901 # Check whether --with-libxpm was given.
3902 if test "${with_libxpm+set}" = set; then
3903 withval=$with_libxpm;
3904 if test "$withval" = yes; then
3905 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3906 elif test "$withval" = no; then
3907 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3908 elif test "$withval" = sys; then
3909 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3910 elif test "$withval" = builtin; then
3911 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3912 else
3913 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3914 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3915 { (exit 1); exit 1; }; }
3916 fi
3917
3918 else
3919
3920 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3921 if test "x$LINE" != x ; then
3922 eval "DEFAULT_$LINE"
3923 else
3924 no_cache=1
3925 fi
3926
3927 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3928
3929 fi
3930
3931
3932 eval "$ac_cv_use_libxpm"
3933 if test "$no_cache" != 1; then
3934 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3935 fi
3936
3937 if test "$wxUSE_LIBXPM" = yes; then
3938 { echo "$as_me:$LINENO: result: yes" >&5
3939 echo "${ECHO_T}yes" >&6; }
3940 elif test "$wxUSE_LIBXPM" = no; then
3941 { echo "$as_me:$LINENO: result: no" >&5
3942 echo "${ECHO_T}no" >&6; }
3943 elif test "$wxUSE_LIBXPM" = sys; then
3944 { echo "$as_me:$LINENO: result: system version" >&5
3945 echo "${ECHO_T}system version" >&6; }
3946 elif test "$wxUSE_LIBXPM" = builtin; then
3947 { echo "$as_me:$LINENO: result: builtin version" >&5
3948 echo "${ECHO_T}builtin version" >&6; }
3949 else
3950 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3951 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3952 { (exit 1); exit 1; }; }
3953 fi
3954
3955
3956 withstring=
3957 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3958 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3959 no_cache=0
3960
3961 # Check whether --with-libmspack was given.
3962 if test "${with_libmspack+set}" = set; then
3963 withval=$with_libmspack;
3964 if test "$withval" = yes; then
3965 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3966 else
3967 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3968 fi
3969
3970 else
3971
3972 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3973 if test "x$LINE" != x ; then
3974 eval "DEFAULT_$LINE"
3975 else
3976 no_cache=1
3977 fi
3978
3979 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3980
3981 fi
3982
3983
3984 eval "$ac_cv_use_libmspack"
3985 if test "$no_cache" != 1; then
3986 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3987 fi
3988
3989 if test "$wxUSE_LIBMSPACK" = yes; then
3990 { echo "$as_me:$LINENO: result: yes" >&5
3991 echo "${ECHO_T}yes" >&6; }
3992 else
3993 { echo "$as_me:$LINENO: result: no" >&5
3994 echo "${ECHO_T}no" >&6; }
3995 fi
3996
3997
3998 withstring=
3999 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4000 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4001 no_cache=0
4002
4003 # Check whether --with-sdl was given.
4004 if test "${with_sdl+set}" = set; then
4005 withval=$with_sdl;
4006 if test "$withval" = yes; then
4007 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4008 else
4009 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4010 fi
4011
4012 else
4013
4014 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4015 if test "x$LINE" != x ; then
4016 eval "DEFAULT_$LINE"
4017 else
4018 no_cache=1
4019 fi
4020
4021 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4022
4023 fi
4024
4025
4026 eval "$ac_cv_use_sdl"
4027 if test "$no_cache" != 1; then
4028 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4029 fi
4030
4031 if test "$wxUSE_LIBSDL" = yes; then
4032 { echo "$as_me:$LINENO: result: yes" >&5
4033 echo "${ECHO_T}yes" >&6; }
4034 else
4035 { echo "$as_me:$LINENO: result: no" >&5
4036 echo "${ECHO_T}no" >&6; }
4037 fi
4038
4039
4040 withstring=
4041 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4042 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4043 no_cache=0
4044
4045 # Check whether --with-gnomeprint was given.
4046 if test "${with_gnomeprint+set}" = set; then
4047 withval=$with_gnomeprint;
4048 if test "$withval" = yes; then
4049 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4050 else
4051 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4052 fi
4053
4054 else
4055
4056 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4057 if test "x$LINE" != x ; then
4058 eval "DEFAULT_$LINE"
4059 else
4060 no_cache=1
4061 fi
4062
4063 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4064
4065 fi
4066
4067
4068 eval "$ac_cv_use_gnomeprint"
4069 if test "$no_cache" != 1; then
4070 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4071 fi
4072
4073 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4074 { echo "$as_me:$LINENO: result: yes" >&5
4075 echo "${ECHO_T}yes" >&6; }
4076 else
4077 { echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6; }
4079 fi
4080
4081
4082 withstring=
4083 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4084 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4085 no_cache=0
4086
4087 # Check whether --with-gnomevfs was given.
4088 if test "${with_gnomevfs+set}" = set; then
4089 withval=$with_gnomevfs;
4090 if test "$withval" = yes; then
4091 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4092 else
4093 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4094 fi
4095
4096 else
4097
4098 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4099 if test "x$LINE" != x ; then
4100 eval "DEFAULT_$LINE"
4101 else
4102 no_cache=1
4103 fi
4104
4105 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4106
4107 fi
4108
4109
4110 eval "$ac_cv_use_gnomevfs"
4111 if test "$no_cache" != 1; then
4112 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4113 fi
4114
4115 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4116 { echo "$as_me:$LINENO: result: yes" >&5
4117 echo "${ECHO_T}yes" >&6; }
4118 else
4119 { echo "$as_me:$LINENO: result: no" >&5
4120 echo "${ECHO_T}no" >&6; }
4121 fi
4122
4123
4124 withstring=
4125 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4126 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4127 no_cache=0
4128
4129 # Check whether --with-hildon was given.
4130 if test "${with_hildon+set}" = set; then
4131 withval=$with_hildon;
4132 if test "$withval" = yes; then
4133 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4134 else
4135 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4136 fi
4137
4138 else
4139
4140 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4141 if test "x$LINE" != x ; then
4142 eval "DEFAULT_$LINE"
4143 else
4144 no_cache=1
4145 fi
4146
4147 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4148
4149 fi
4150
4151
4152 eval "$ac_cv_use_hildon"
4153 if test "$no_cache" != 1; then
4154 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4155 fi
4156
4157 if test "$wxUSE_LIBHILDON" = yes; then
4158 { echo "$as_me:$LINENO: result: yes" >&5
4159 echo "${ECHO_T}yes" >&6; }
4160 else
4161 { echo "$as_me:$LINENO: result: no" >&5
4162 echo "${ECHO_T}no" >&6; }
4163 fi
4164
4165
4166 withstring=
4167 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4168 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4169 no_cache=0
4170
4171 # Check whether --with-opengl was given.
4172 if test "${with_opengl+set}" = set; then
4173 withval=$with_opengl;
4174 if test "$withval" = yes; then
4175 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4176 else
4177 ac_cv_use_opengl='wxUSE_OPENGL=no'
4178 fi
4179
4180 else
4181
4182 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4183 if test "x$LINE" != x ; then
4184 eval "DEFAULT_$LINE"
4185 else
4186 no_cache=1
4187 fi
4188
4189 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4190
4191 fi
4192
4193
4194 eval "$ac_cv_use_opengl"
4195 if test "$no_cache" != 1; then
4196 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4197 fi
4198
4199 if test "$wxUSE_OPENGL" = yes; then
4200 { echo "$as_me:$LINENO: result: yes" >&5
4201 echo "${ECHO_T}yes" >&6; }
4202 else
4203 { echo "$as_me:$LINENO: result: no" >&5
4204 echo "${ECHO_T}no" >&6; }
4205 fi
4206
4207
4208 if test "$wxUSE_UNIVERSAL" = "yes"; then
4209
4210 # Check whether --with-themes was given.
4211 if test "${with_themes+set}" = set; then
4212 withval=$with_themes; wxUNIV_THEMES="$withval"
4213 fi
4214
4215 fi
4216
4217 fi
4218
4219
4220 withstring=
4221 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4222 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4223 no_cache=0
4224
4225 # Check whether --with-dmalloc was given.
4226 if test "${with_dmalloc+set}" = set; then
4227 withval=$with_dmalloc;
4228 if test "$withval" = yes; then
4229 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4230 else
4231 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4232 fi
4233
4234 else
4235
4236 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4237 if test "x$LINE" != x ; then
4238 eval "DEFAULT_$LINE"
4239 else
4240 no_cache=1
4241 fi
4242
4243 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4244
4245 fi
4246
4247
4248 eval "$ac_cv_use_dmalloc"
4249 if test "$no_cache" != 1; then
4250 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4251 fi
4252
4253 if test "$wxUSE_DMALLOC" = yes; then
4254 { echo "$as_me:$LINENO: result: yes" >&5
4255 echo "${ECHO_T}yes" >&6; }
4256 else
4257 { echo "$as_me:$LINENO: result: no" >&5
4258 echo "${ECHO_T}no" >&6; }
4259 fi
4260
4261
4262 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4263 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4264 no_cache=0
4265
4266 # Check whether --with-regex was given.
4267 if test "${with_regex+set}" = set; then
4268 withval=$with_regex;
4269 if test "$withval" = yes; then
4270 ac_cv_use_regex='wxUSE_REGEX=yes'
4271 elif test "$withval" = no; then
4272 ac_cv_use_regex='wxUSE_REGEX=no'
4273 elif test "$withval" = sys; then
4274 ac_cv_use_regex='wxUSE_REGEX=sys'
4275 elif test "$withval" = builtin; then
4276 ac_cv_use_regex='wxUSE_REGEX=builtin'
4277 else
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4281 fi
4282
4283 else
4284
4285 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4288 else
4289 no_cache=1
4290 fi
4291
4292 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4293
4294 fi
4295
4296
4297 eval "$ac_cv_use_regex"
4298 if test "$no_cache" != 1; then
4299 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4300 fi
4301
4302 if test "$wxUSE_REGEX" = yes; then
4303 { echo "$as_me:$LINENO: result: yes" >&5
4304 echo "${ECHO_T}yes" >&6; }
4305 elif test "$wxUSE_REGEX" = no; then
4306 { echo "$as_me:$LINENO: result: no" >&5
4307 echo "${ECHO_T}no" >&6; }
4308 elif test "$wxUSE_REGEX" = sys; then
4309 { echo "$as_me:$LINENO: result: system version" >&5
4310 echo "${ECHO_T}system version" >&6; }
4311 elif test "$wxUSE_REGEX" = builtin; then
4312 { echo "$as_me:$LINENO: result: builtin version" >&5
4313 echo "${ECHO_T}builtin version" >&6; }
4314 else
4315 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4316 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4317 { (exit 1); exit 1; }; }
4318 fi
4319
4320
4321 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4322 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4323 no_cache=0
4324
4325 # Check whether --with-zlib was given.
4326 if test "${with_zlib+set}" = set; then
4327 withval=$with_zlib;
4328 if test "$withval" = yes; then
4329 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4330 elif test "$withval" = no; then
4331 ac_cv_use_zlib='wxUSE_ZLIB=no'
4332 elif test "$withval" = sys; then
4333 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4334 elif test "$withval" = builtin; then
4335 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4336 else
4337 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4338 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4339 { (exit 1); exit 1; }; }
4340 fi
4341
4342 else
4343
4344 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x ; then
4346 eval "DEFAULT_$LINE"
4347 else
4348 no_cache=1
4349 fi
4350
4351 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4352
4353 fi
4354
4355
4356 eval "$ac_cv_use_zlib"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4359 fi
4360
4361 if test "$wxUSE_ZLIB" = yes; then
4362 { echo "$as_me:$LINENO: result: yes" >&5
4363 echo "${ECHO_T}yes" >&6; }
4364 elif test "$wxUSE_ZLIB" = no; then
4365 { echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6; }
4367 elif test "$wxUSE_ZLIB" = sys; then
4368 { echo "$as_me:$LINENO: result: system version" >&5
4369 echo "${ECHO_T}system version" >&6; }
4370 elif test "$wxUSE_ZLIB" = builtin; then
4371 { echo "$as_me:$LINENO: result: builtin version" >&5
4372 echo "${ECHO_T}builtin version" >&6; }
4373 else
4374 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4375 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4376 { (exit 1); exit 1; }; }
4377 fi
4378
4379
4380 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4381 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4382 no_cache=0
4383
4384 # Check whether --with-odbc was given.
4385 if test "${with_odbc+set}" = set; then
4386 withval=$with_odbc;
4387 if test "$withval" = yes; then
4388 ac_cv_use_odbc='wxUSE_ODBC=yes'
4389 elif test "$withval" = no; then
4390 ac_cv_use_odbc='wxUSE_ODBC=no'
4391 elif test "$withval" = sys; then
4392 ac_cv_use_odbc='wxUSE_ODBC=sys'
4393 elif test "$withval" = builtin; then
4394 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4395 else
4396 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4397 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4398 { (exit 1); exit 1; }; }
4399 fi
4400
4401 else
4402
4403 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x ; then
4405 eval "DEFAULT_$LINE"
4406 else
4407 no_cache=1
4408 fi
4409
4410 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4411
4412 fi
4413
4414
4415 eval "$ac_cv_use_odbc"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4418 fi
4419
4420 if test "$wxUSE_ODBC" = yes; then
4421 { echo "$as_me:$LINENO: result: yes" >&5
4422 echo "${ECHO_T}yes" >&6; }
4423 elif test "$wxUSE_ODBC" = no; then
4424 { echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6; }
4426 elif test "$wxUSE_ODBC" = sys; then
4427 { echo "$as_me:$LINENO: result: system version" >&5
4428 echo "${ECHO_T}system version" >&6; }
4429 elif test "$wxUSE_ODBC" = builtin; then
4430 { echo "$as_me:$LINENO: result: builtin version" >&5
4431 echo "${ECHO_T}builtin version" >&6; }
4432 else
4433 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4434 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4435 { (exit 1); exit 1; }; }
4436 fi
4437
4438
4439 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4440 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4441 no_cache=0
4442
4443 # Check whether --with-expat was given.
4444 if test "${with_expat+set}" = set; then
4445 withval=$with_expat;
4446 if test "$withval" = yes; then
4447 ac_cv_use_expat='wxUSE_EXPAT=yes'
4448 elif test "$withval" = no; then
4449 ac_cv_use_expat='wxUSE_EXPAT=no'
4450 elif test "$withval" = sys; then
4451 ac_cv_use_expat='wxUSE_EXPAT=sys'
4452 elif test "$withval" = builtin; then
4453 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4454 else
4455 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4456 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4457 { (exit 1); exit 1; }; }
4458 fi
4459
4460 else
4461
4462 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x ; then
4464 eval "DEFAULT_$LINE"
4465 else
4466 no_cache=1
4467 fi
4468
4469 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4470
4471 fi
4472
4473
4474 eval "$ac_cv_use_expat"
4475 if test "$no_cache" != 1; then
4476 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4477 fi
4478
4479 if test "$wxUSE_EXPAT" = yes; then
4480 { echo "$as_me:$LINENO: result: yes" >&5
4481 echo "${ECHO_T}yes" >&6; }
4482 elif test "$wxUSE_EXPAT" = no; then
4483 { echo "$as_me:$LINENO: result: no" >&5
4484 echo "${ECHO_T}no" >&6; }
4485 elif test "$wxUSE_EXPAT" = sys; then
4486 { echo "$as_me:$LINENO: result: system version" >&5
4487 echo "${ECHO_T}system version" >&6; }
4488 elif test "$wxUSE_EXPAT" = builtin; then
4489 { echo "$as_me:$LINENO: result: builtin version" >&5
4490 echo "${ECHO_T}builtin version" >&6; }
4491 else
4492 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4493 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4494 { (exit 1); exit 1; }; }
4495 fi
4496
4497
4498
4499
4500 enablestring=
4501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4502 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4503 no_cache=0
4504 # Check whether --enable-shared was given.
4505 if test "${enable_shared+set}" = set; then
4506 enableval=$enable_shared;
4507 if test "$enableval" = yes; then
4508 ac_cv_use_shared='wxUSE_SHARED=yes'
4509 else
4510 ac_cv_use_shared='wxUSE_SHARED=no'
4511 fi
4512
4513 else
4514
4515 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4516 if test "x$LINE" != x ; then
4517 eval "DEFAULT_$LINE"
4518 else
4519 no_cache=1
4520 fi
4521
4522 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4523
4524 fi
4525
4526
4527 eval "$ac_cv_use_shared"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4530 fi
4531
4532 if test "$wxUSE_SHARED" = yes; then
4533 { echo "$as_me:$LINENO: result: yes" >&5
4534 echo "${ECHO_T}yes" >&6; }
4535 else
4536 { echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6; }
4538 fi
4539
4540
4541 enablestring=
4542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4543 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4544 no_cache=0
4545 # Check whether --enable-optimise was given.
4546 if test "${enable_optimise+set}" = set; then
4547 enableval=$enable_optimise;
4548 if test "$enableval" = yes; then
4549 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4550 else
4551 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4552 fi
4553
4554 else
4555
4556 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4557 if test "x$LINE" != x ; then
4558 eval "DEFAULT_$LINE"
4559 else
4560 no_cache=1
4561 fi
4562
4563 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4564
4565 fi
4566
4567
4568 eval "$ac_cv_use_optimise"
4569 if test "$no_cache" != 1; then
4570 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4571 fi
4572
4573 if test "$wxUSE_OPTIMISE" = yes; then
4574 { echo "$as_me:$LINENO: result: yes" >&5
4575 echo "${ECHO_T}yes" >&6; }
4576 else
4577 { echo "$as_me:$LINENO: result: no" >&5
4578 echo "${ECHO_T}no" >&6; }
4579 fi
4580
4581
4582 enablestring=
4583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4584 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4585 no_cache=0
4586 # Check whether --enable-debug was given.
4587 if test "${enable_debug+set}" = set; then
4588 enableval=$enable_debug;
4589 if test "$enableval" = yes; then
4590 ac_cv_use_debug='wxUSE_DEBUG=yes'
4591 else
4592 ac_cv_use_debug='wxUSE_DEBUG=no'
4593 fi
4594
4595 else
4596
4597 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x ; then
4599 eval "DEFAULT_$LINE"
4600 else
4601 no_cache=1
4602 fi
4603
4604 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4605
4606 fi
4607
4608
4609 eval "$ac_cv_use_debug"
4610 if test "$no_cache" != 1; then
4611 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4612 fi
4613
4614 if test "$wxUSE_DEBUG" = yes; then
4615 { echo "$as_me:$LINENO: result: yes" >&5
4616 echo "${ECHO_T}yes" >&6; }
4617 else
4618 { echo "$as_me:$LINENO: result: no" >&5
4619 echo "${ECHO_T}no" >&6; }
4620 fi
4621
4622
4623 enablestring=
4624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4625 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4626 no_cache=0
4627 # Check whether --enable-stl was given.
4628 if test "${enable_stl+set}" = set; then
4629 enableval=$enable_stl;
4630 if test "$enableval" = yes; then
4631 ac_cv_use_stl='wxUSE_STL=yes'
4632 else
4633 ac_cv_use_stl='wxUSE_STL=no'
4634 fi
4635
4636 else
4637
4638 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4639 if test "x$LINE" != x ; then
4640 eval "DEFAULT_$LINE"
4641 else
4642 no_cache=1
4643 fi
4644
4645 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4646
4647 fi
4648
4649
4650 eval "$ac_cv_use_stl"
4651 if test "$no_cache" != 1; then
4652 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4653 fi
4654
4655 if test "$wxUSE_STL" = yes; then
4656 { echo "$as_me:$LINENO: result: yes" >&5
4657 echo "${ECHO_T}yes" >&6; }
4658 else
4659 { echo "$as_me:$LINENO: result: no" >&5
4660 echo "${ECHO_T}no" >&6; }
4661 fi
4662
4663 if test "$USE_OS2" = "1"; then
4664 DEFAULT_wxUSE_OMF=no
4665
4666 enablestring=
4667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4669 no_cache=0
4670 # Check whether --enable-omf was given.
4671 if test "${enable_omf+set}" = set; then
4672 enableval=$enable_omf;
4673 if test "$enableval" = yes; then
4674 ac_cv_use_omf='wxUSE_OMF=yes'
4675 else
4676 ac_cv_use_omf='wxUSE_OMF=no'
4677 fi
4678
4679 else
4680
4681 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4682 if test "x$LINE" != x ; then
4683 eval "DEFAULT_$LINE"
4684 else
4685 no_cache=1
4686 fi
4687
4688 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4689
4690 fi
4691
4692
4693 eval "$ac_cv_use_omf"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4696 fi
4697
4698 if test "$wxUSE_OMF" = yes; then
4699 { echo "$as_me:$LINENO: result: yes" >&5
4700 echo "${ECHO_T}yes" >&6; }
4701 else
4702 { echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6; }
4704 fi
4705
4706 fi
4707
4708 if test "$wxUSE_DEBUG" = "yes"; then
4709 DEFAULT_wxUSE_DEBUG_FLAG=yes
4710 DEFAULT_wxUSE_DEBUG_INFO=yes
4711 BUILD=debug
4712 elif test "$wxUSE_DEBUG" = "no"; then
4713 DEFAULT_wxUSE_DEBUG_FLAG=no
4714 DEFAULT_wxUSE_DEBUG_INFO=no
4715 BUILD=release
4716 fi
4717
4718
4719 enablestring=
4720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4721 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4722 no_cache=0
4723 # Check whether --enable-debug_flag was given.
4724 if test "${enable_debug_flag+set}" = set; then
4725 enableval=$enable_debug_flag;
4726 if test "$enableval" = yes; then
4727 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4728 else
4729 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4730 fi
4731
4732 else
4733
4734 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x ; then
4736 eval "DEFAULT_$LINE"
4737 else
4738 no_cache=1
4739 fi
4740
4741 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4742
4743 fi
4744
4745
4746 eval "$ac_cv_use_debug_flag"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4749 fi
4750
4751 if test "$wxUSE_DEBUG_FLAG" = yes; then
4752 { echo "$as_me:$LINENO: result: yes" >&5
4753 echo "${ECHO_T}yes" >&6; }
4754 else
4755 { echo "$as_me:$LINENO: result: no" >&5
4756 echo "${ECHO_T}no" >&6; }
4757 fi
4758
4759
4760 enablestring=
4761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4762 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4763 no_cache=0
4764 # Check whether --enable-debug_info was given.
4765 if test "${enable_debug_info+set}" = set; then
4766 enableval=$enable_debug_info;
4767 if test "$enableval" = yes; then
4768 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4769 else
4770 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4771 fi
4772
4773 else
4774
4775 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x ; then
4777 eval "DEFAULT_$LINE"
4778 else
4779 no_cache=1
4780 fi
4781
4782 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4783
4784 fi
4785
4786
4787 eval "$ac_cv_use_debug_info"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4790 fi
4791
4792 if test "$wxUSE_DEBUG_INFO" = yes; then
4793 { echo "$as_me:$LINENO: result: yes" >&5
4794 echo "${ECHO_T}yes" >&6; }
4795 else
4796 { echo "$as_me:$LINENO: result: no" >&5
4797 echo "${ECHO_T}no" >&6; }
4798 fi
4799
4800
4801 enablestring=
4802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4803 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4804 no_cache=0
4805 # Check whether --enable-debug_gdb was given.
4806 if test "${enable_debug_gdb+set}" = set; then
4807 enableval=$enable_debug_gdb;
4808 if test "$enableval" = yes; then
4809 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4810 else
4811 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4812 fi
4813
4814 else
4815
4816 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4819 else
4820 no_cache=1
4821 fi
4822
4823 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4824
4825 fi
4826
4827
4828 eval "$ac_cv_use_debug_gdb"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4831 fi
4832
4833 if test "$wxUSE_DEBUG_GDB" = yes; then
4834 { echo "$as_me:$LINENO: result: yes" >&5
4835 echo "${ECHO_T}yes" >&6; }
4836 else
4837 { echo "$as_me:$LINENO: result: no" >&5
4838 echo "${ECHO_T}no" >&6; }
4839 fi
4840
4841
4842 enablestring=
4843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4845 no_cache=0
4846 # Check whether --enable-debug_cntxt was given.
4847 if test "${enable_debug_cntxt+set}" = set; then
4848 enableval=$enable_debug_cntxt;
4849 if test "$enableval" = yes; then
4850 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4851 else
4852 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4853 fi
4854
4855 else
4856
4857 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x ; then
4859 eval "DEFAULT_$LINE"
4860 else
4861 no_cache=1
4862 fi
4863
4864 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4865
4866 fi
4867
4868
4869 eval "$ac_cv_use_debug_cntxt"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4872 fi
4873
4874 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4875 { echo "$as_me:$LINENO: result: yes" >&5
4876 echo "${ECHO_T}yes" >&6; }
4877 else
4878 { echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6; }
4880 fi
4881
4882
4883 enablestring=
4884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4885 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4886 no_cache=0
4887 # Check whether --enable-mem_tracing was given.
4888 if test "${enable_mem_tracing+set}" = set; then
4889 enableval=$enable_mem_tracing;
4890 if test "$enableval" = yes; then
4891 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4892 else
4893 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4894 fi
4895
4896 else
4897
4898 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x ; then
4900 eval "DEFAULT_$LINE"
4901 else
4902 no_cache=1
4903 fi
4904
4905 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4906
4907 fi
4908
4909
4910 eval "$ac_cv_use_mem_tracing"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4913 fi
4914
4915 if test "$wxUSE_MEM_TRACING" = yes; then
4916 { echo "$as_me:$LINENO: result: yes" >&5
4917 echo "${ECHO_T}yes" >&6; }
4918 else
4919 { echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6; }
4921 fi
4922
4923
4924 enablestring=
4925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4926 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4927 no_cache=0
4928 # Check whether --enable-profile was given.
4929 if test "${enable_profile+set}" = set; then
4930 enableval=$enable_profile;
4931 if test "$enableval" = yes; then
4932 ac_cv_use_profile='wxUSE_PROFILE=yes'
4933 else
4934 ac_cv_use_profile='wxUSE_PROFILE=no'
4935 fi
4936
4937 else
4938
4939 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x ; then
4941 eval "DEFAULT_$LINE"
4942 else
4943 no_cache=1
4944 fi
4945
4946 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4947
4948 fi
4949
4950
4951 eval "$ac_cv_use_profile"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4954 fi
4955
4956 if test "$wxUSE_PROFILE" = yes; then
4957 { echo "$as_me:$LINENO: result: yes" >&5
4958 echo "${ECHO_T}yes" >&6; }
4959 else
4960 { echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6; }
4962 fi
4963
4964
4965 enablestring=
4966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4967 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4968 no_cache=0
4969 # Check whether --enable-no_rtti was given.
4970 if test "${enable_no_rtti+set}" = set; then
4971 enableval=$enable_no_rtti;
4972 if test "$enableval" = yes; then
4973 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4974 else
4975 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4976 fi
4977
4978 else
4979
4980 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x ; then
4982 eval "DEFAULT_$LINE"
4983 else
4984 no_cache=1
4985 fi
4986
4987 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4988
4989 fi
4990
4991
4992 eval "$ac_cv_use_no_rtti"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4995 fi
4996
4997 if test "$wxUSE_NO_RTTI" = yes; then
4998 { echo "$as_me:$LINENO: result: yes" >&5
4999 echo "${ECHO_T}yes" >&6; }
5000 else
5001 { echo "$as_me:$LINENO: result: no" >&5
5002 echo "${ECHO_T}no" >&6; }
5003 fi
5004
5005
5006 enablestring=
5007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5008 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5009 no_cache=0
5010 # Check whether --enable-no_exceptions was given.
5011 if test "${enable_no_exceptions+set}" = set; then
5012 enableval=$enable_no_exceptions;
5013 if test "$enableval" = yes; then
5014 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5015 else
5016 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5017 fi
5018
5019 else
5020
5021 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x ; then
5023 eval "DEFAULT_$LINE"
5024 else
5025 no_cache=1
5026 fi
5027
5028 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5029
5030 fi
5031
5032
5033 eval "$ac_cv_use_no_exceptions"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5036 fi
5037
5038 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5039 { echo "$as_me:$LINENO: result: yes" >&5
5040 echo "${ECHO_T}yes" >&6; }
5041 else
5042 { echo "$as_me:$LINENO: result: no" >&5
5043 echo "${ECHO_T}no" >&6; }
5044 fi
5045
5046
5047 enablestring=
5048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5049 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5050 no_cache=0
5051 # Check whether --enable-permissive was given.
5052 if test "${enable_permissive+set}" = set; then
5053 enableval=$enable_permissive;
5054 if test "$enableval" = yes; then
5055 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5056 else
5057 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5058 fi
5059
5060 else
5061
5062 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5065 else
5066 no_cache=1
5067 fi
5068
5069 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5070
5071 fi
5072
5073
5074 eval "$ac_cv_use_permissive"
5075 if test "$no_cache" != 1; then
5076 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5077 fi
5078
5079 if test "$wxUSE_PERMISSIVE" = yes; then
5080 { echo "$as_me:$LINENO: result: yes" >&5
5081 echo "${ECHO_T}yes" >&6; }
5082 else
5083 { echo "$as_me:$LINENO: result: no" >&5
5084 echo "${ECHO_T}no" >&6; }
5085 fi
5086
5087
5088 enablestring=
5089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5090 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5091 no_cache=0
5092 # Check whether --enable-no_deps was given.
5093 if test "${enable_no_deps+set}" = set; then
5094 enableval=$enable_no_deps;
5095 if test "$enableval" = yes; then
5096 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5097 else
5098 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5099 fi
5100
5101 else
5102
5103 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5106 else
5107 no_cache=1
5108 fi
5109
5110 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5111
5112 fi
5113
5114
5115 eval "$ac_cv_use_no_deps"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5118 fi
5119
5120 if test "$wxUSE_NO_DEPS" = yes; then
5121 { echo "$as_me:$LINENO: result: yes" >&5
5122 echo "${ECHO_T}yes" >&6; }
5123 else
5124 { echo "$as_me:$LINENO: result: no" >&5
5125 echo "${ECHO_T}no" >&6; }
5126 fi
5127
5128
5129 enablestring=
5130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5132 no_cache=0
5133 # Check whether --enable-vararg_macros was given.
5134 if test "${enable_vararg_macros+set}" = set; then
5135 enableval=$enable_vararg_macros;
5136 if test "$enableval" = yes; then
5137 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5138 else
5139 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5140 fi
5141
5142 else
5143
5144 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x ; then
5146 eval "DEFAULT_$LINE"
5147 else
5148 no_cache=1
5149 fi
5150
5151 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5152
5153 fi
5154
5155
5156 eval "$ac_cv_use_vararg_macros"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5159 fi
5160
5161 if test "$wxUSE_VARARG_MACROS" = yes; then
5162 { echo "$as_me:$LINENO: result: yes" >&5
5163 echo "${ECHO_T}yes" >&6; }
5164 else
5165 { echo "$as_me:$LINENO: result: no" >&5
5166 echo "${ECHO_T}no" >&6; }
5167 fi
5168
5169
5170 enablestring=
5171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5173 no_cache=0
5174 # Check whether --enable-universal_binary was given.
5175 if test "${enable_universal_binary+set}" = set; then
5176 enableval=$enable_universal_binary;
5177 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5178
5179 else
5180
5181 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5182 if test "x$LINE" != x ; then
5183 eval "DEFAULT_$LINE"
5184 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5185 else
5186 no_cache=1
5187 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5188 fi
5189
5190 fi
5191
5192
5193 eval "$wx_cv_use_universal_binary"
5194 if test "$no_cache" != 1; then
5195 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5196 fi
5197
5198 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5199 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5200
5201
5202
5203 enablestring=enable
5204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5205 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5206 no_cache=0
5207 # Check whether --enable-compat26 was given.
5208 if test "${enable_compat26+set}" = set; then
5209 enableval=$enable_compat26;
5210 if test "$enableval" = yes; then
5211 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5212 else
5213 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5214 fi
5215
5216 else
5217
5218 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5221 else
5222 no_cache=1
5223 fi
5224
5225 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5226
5227 fi
5228
5229
5230 eval "$ac_cv_use_compat26"
5231 if test "$no_cache" != 1; then
5232 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5233 fi
5234
5235 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5236 { echo "$as_me:$LINENO: result: yes" >&5
5237 echo "${ECHO_T}yes" >&6; }
5238 else
5239 { echo "$as_me:$LINENO: result: no" >&5
5240 echo "${ECHO_T}no" >&6; }
5241 fi
5242
5243
5244 enablestring=disable
5245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5246 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5247 no_cache=0
5248 # Check whether --enable-compat28 was given.
5249 if test "${enable_compat28+set}" = set; then
5250 enableval=$enable_compat28;
5251 if test "$enableval" = yes; then
5252 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5253 else
5254 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5255 fi
5256
5257 else
5258
5259 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5262 else
5263 no_cache=1
5264 fi
5265
5266 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5267
5268 fi
5269
5270
5271 eval "$ac_cv_use_compat28"
5272 if test "$no_cache" != 1; then
5273 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5274 fi
5275
5276 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5277 { echo "$as_me:$LINENO: result: yes" >&5
5278 echo "${ECHO_T}yes" >&6; }
5279 else
5280 { echo "$as_me:$LINENO: result: no" >&5
5281 echo "${ECHO_T}no" >&6; }
5282 fi
5283
5284
5285
5286 enablestring=
5287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5288 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5289 no_cache=0
5290 # Check whether --enable-rpath was given.
5291 if test "${enable_rpath+set}" = set; then
5292 enableval=$enable_rpath;
5293 if test "$enableval" = yes; then
5294 ac_cv_use_rpath='wxUSE_RPATH=yes'
5295 else
5296 ac_cv_use_rpath='wxUSE_RPATH=no'
5297 fi
5298
5299 else
5300
5301 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5302 if test "x$LINE" != x ; then
5303 eval "DEFAULT_$LINE"
5304 else
5305 no_cache=1
5306 fi
5307
5308 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5309
5310 fi
5311
5312
5313 eval "$ac_cv_use_rpath"
5314 if test "$no_cache" != 1; then
5315 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5316 fi
5317
5318 if test "$wxUSE_RPATH" = yes; then
5319 { echo "$as_me:$LINENO: result: yes" >&5
5320 echo "${ECHO_T}yes" >&6; }
5321 else
5322 { echo "$as_me:$LINENO: result: no" >&5
5323 echo "${ECHO_T}no" >&6; }
5324 fi
5325
5326
5327
5328
5329
5330 enablestring=
5331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5332 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5333 no_cache=0
5334 # Check whether --enable-intl was given.
5335 if test "${enable_intl+set}" = set; then
5336 enableval=$enable_intl;
5337 if test "$enableval" = yes; then
5338 ac_cv_use_intl='wxUSE_INTL=yes'
5339 else
5340 ac_cv_use_intl='wxUSE_INTL=no'
5341 fi
5342
5343 else
5344
5345 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5346 if test "x$LINE" != x ; then
5347 eval "DEFAULT_$LINE"
5348 else
5349 no_cache=1
5350 fi
5351
5352 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5353
5354 fi
5355
5356
5357 eval "$ac_cv_use_intl"
5358 if test "$no_cache" != 1; then
5359 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5360 fi
5361
5362 if test "$wxUSE_INTL" = yes; then
5363 { echo "$as_me:$LINENO: result: yes" >&5
5364 echo "${ECHO_T}yes" >&6; }
5365 else
5366 { echo "$as_me:$LINENO: result: no" >&5
5367 echo "${ECHO_T}no" >&6; }
5368 fi
5369
5370
5371 enablestring=
5372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5373 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5374 no_cache=0
5375 # Check whether --enable-config was given.
5376 if test "${enable_config+set}" = set; then
5377 enableval=$enable_config;
5378 if test "$enableval" = yes; then
5379 ac_cv_use_config='wxUSE_CONFIG=yes'
5380 else
5381 ac_cv_use_config='wxUSE_CONFIG=no'
5382 fi
5383
5384 else
5385
5386 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5387 if test "x$LINE" != x ; then
5388 eval "DEFAULT_$LINE"
5389 else
5390 no_cache=1
5391 fi
5392
5393 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5394
5395 fi
5396
5397
5398 eval "$ac_cv_use_config"
5399 if test "$no_cache" != 1; then
5400 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5401 fi
5402
5403 if test "$wxUSE_CONFIG" = yes; then
5404 { echo "$as_me:$LINENO: result: yes" >&5
5405 echo "${ECHO_T}yes" >&6; }
5406 else
5407 { echo "$as_me:$LINENO: result: no" >&5
5408 echo "${ECHO_T}no" >&6; }
5409 fi
5410
5411
5412
5413 enablestring=
5414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5416 no_cache=0
5417 # Check whether --enable-protocols was given.
5418 if test "${enable_protocols+set}" = set; then
5419 enableval=$enable_protocols;
5420 if test "$enableval" = yes; then
5421 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5422 else
5423 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5424 fi
5425
5426 else
5427
5428 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5429 if test "x$LINE" != x ; then
5430 eval "DEFAULT_$LINE"
5431 else
5432 no_cache=1
5433 fi
5434
5435 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5436
5437 fi
5438
5439
5440 eval "$ac_cv_use_protocols"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5443 fi
5444
5445 if test "$wxUSE_PROTOCOL" = yes; then
5446 { echo "$as_me:$LINENO: result: yes" >&5
5447 echo "${ECHO_T}yes" >&6; }
5448 else
5449 { echo "$as_me:$LINENO: result: no" >&5
5450 echo "${ECHO_T}no" >&6; }
5451 fi
5452
5453
5454 enablestring=
5455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5456 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5457 no_cache=0
5458 # Check whether --enable-ftp was given.
5459 if test "${enable_ftp+set}" = set; then
5460 enableval=$enable_ftp;
5461 if test "$enableval" = yes; then
5462 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5463 else
5464 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5465 fi
5466
5467 else
5468
5469 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5470 if test "x$LINE" != x ; then
5471 eval "DEFAULT_$LINE"
5472 else
5473 no_cache=1
5474 fi
5475
5476 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5477
5478 fi
5479
5480
5481 eval "$ac_cv_use_ftp"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5484 fi
5485
5486 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5487 { echo "$as_me:$LINENO: result: yes" >&5
5488 echo "${ECHO_T}yes" >&6; }
5489 else
5490 { echo "$as_me:$LINENO: result: no" >&5
5491 echo "${ECHO_T}no" >&6; }
5492 fi
5493
5494
5495 enablestring=
5496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5498 no_cache=0
5499 # Check whether --enable-http was given.
5500 if test "${enable_http+set}" = set; then
5501 enableval=$enable_http;
5502 if test "$enableval" = yes; then
5503 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5504 else
5505 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5506 fi
5507
5508 else
5509
5510 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5511 if test "x$LINE" != x ; then
5512 eval "DEFAULT_$LINE"
5513 else
5514 no_cache=1
5515 fi
5516
5517 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5518
5519 fi
5520
5521
5522 eval "$ac_cv_use_http"
5523 if test "$no_cache" != 1; then
5524 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5525 fi
5526
5527 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5528 { echo "$as_me:$LINENO: result: yes" >&5
5529 echo "${ECHO_T}yes" >&6; }
5530 else
5531 { echo "$as_me:$LINENO: result: no" >&5
5532 echo "${ECHO_T}no" >&6; }
5533 fi
5534
5535
5536 enablestring=
5537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5538 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5539 no_cache=0
5540 # Check whether --enable-fileproto was given.
5541 if test "${enable_fileproto+set}" = set; then
5542 enableval=$enable_fileproto;
5543 if test "$enableval" = yes; then
5544 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5545 else
5546 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5547 fi
5548
5549 else
5550
5551 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5552 if test "x$LINE" != x ; then
5553 eval "DEFAULT_$LINE"
5554 else
5555 no_cache=1
5556 fi
5557
5558 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5559
5560 fi
5561
5562
5563 eval "$ac_cv_use_fileproto"
5564 if test "$no_cache" != 1; then
5565 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5566 fi
5567
5568 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5569 { echo "$as_me:$LINENO: result: yes" >&5
5570 echo "${ECHO_T}yes" >&6; }
5571 else
5572 { echo "$as_me:$LINENO: result: no" >&5
5573 echo "${ECHO_T}no" >&6; }
5574 fi
5575
5576
5577 enablestring=
5578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5580 no_cache=0
5581 # Check whether --enable-sockets was given.
5582 if test "${enable_sockets+set}" = set; then
5583 enableval=$enable_sockets;
5584 if test "$enableval" = yes; then
5585 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5586 else
5587 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5588 fi
5589
5590 else
5591
5592 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5593 if test "x$LINE" != x ; then
5594 eval "DEFAULT_$LINE"
5595 else
5596 no_cache=1
5597 fi
5598
5599 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5600
5601 fi
5602
5603
5604 eval "$ac_cv_use_sockets"
5605 if test "$no_cache" != 1; then
5606 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5607 fi
5608
5609 if test "$wxUSE_SOCKETS" = yes; then
5610 { echo "$as_me:$LINENO: result: yes" >&5
5611 echo "${ECHO_T}yes" >&6; }
5612 else
5613 { echo "$as_me:$LINENO: result: no" >&5
5614 echo "${ECHO_T}no" >&6; }
5615 fi
5616
5617
5618 enablestring=
5619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5621 no_cache=0
5622 # Check whether --enable-ole was given.
5623 if test "${enable_ole+set}" = set; then
5624 enableval=$enable_ole;
5625 if test "$enableval" = yes; then
5626 ac_cv_use_ole='wxUSE_OLE=yes'
5627 else
5628 ac_cv_use_ole='wxUSE_OLE=no'
5629 fi
5630
5631 else
5632
5633 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5634 if test "x$LINE" != x ; then
5635 eval "DEFAULT_$LINE"
5636 else
5637 no_cache=1
5638 fi
5639
5640 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5641
5642 fi
5643
5644
5645 eval "$ac_cv_use_ole"
5646 if test "$no_cache" != 1; then
5647 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5648 fi
5649
5650 if test "$wxUSE_OLE" = yes; then
5651 { echo "$as_me:$LINENO: result: yes" >&5
5652 echo "${ECHO_T}yes" >&6; }
5653 else
5654 { echo "$as_me:$LINENO: result: no" >&5
5655 echo "${ECHO_T}no" >&6; }
5656 fi
5657
5658
5659 enablestring=
5660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5662 no_cache=0
5663 # Check whether --enable-dataobj was given.
5664 if test "${enable_dataobj+set}" = set; then
5665 enableval=$enable_dataobj;
5666 if test "$enableval" = yes; then
5667 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5668 else
5669 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5670 fi
5671
5672 else
5673
5674 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5675 if test "x$LINE" != x ; then
5676 eval "DEFAULT_$LINE"
5677 else
5678 no_cache=1
5679 fi
5680
5681 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5682
5683 fi
5684
5685
5686 eval "$ac_cv_use_dataobj"
5687 if test "$no_cache" != 1; then
5688 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5689 fi
5690
5691 if test "$wxUSE_DATAOBJ" = yes; then
5692 { echo "$as_me:$LINENO: result: yes" >&5
5693 echo "${ECHO_T}yes" >&6; }
5694 else
5695 { echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6; }
5697 fi
5698
5699
5700
5701 enablestring=
5702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5703 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5704 no_cache=0
5705 # Check whether --enable-ipc was given.
5706 if test "${enable_ipc+set}" = set; then
5707 enableval=$enable_ipc;
5708 if test "$enableval" = yes; then
5709 ac_cv_use_ipc='wxUSE_IPC=yes'
5710 else
5711 ac_cv_use_ipc='wxUSE_IPC=no'
5712 fi
5713
5714 else
5715
5716 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5717 if test "x$LINE" != x ; then
5718 eval "DEFAULT_$LINE"
5719 else
5720 no_cache=1
5721 fi
5722
5723 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5724
5725 fi
5726
5727
5728 eval "$ac_cv_use_ipc"
5729 if test "$no_cache" != 1; then
5730 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5731 fi
5732
5733 if test "$wxUSE_IPC" = yes; then
5734 { echo "$as_me:$LINENO: result: yes" >&5
5735 echo "${ECHO_T}yes" >&6; }
5736 else
5737 { echo "$as_me:$LINENO: result: no" >&5
5738 echo "${ECHO_T}no" >&6; }
5739 fi
5740
5741
5742
5743 enablestring=
5744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5746 no_cache=0
5747 # Check whether --enable-apple_ieee was given.
5748 if test "${enable_apple_ieee+set}" = set; then
5749 enableval=$enable_apple_ieee;
5750 if test "$enableval" = yes; then
5751 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5752 else
5753 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5754 fi
5755
5756 else
5757
5758 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x ; then
5760 eval "DEFAULT_$LINE"
5761 else
5762 no_cache=1
5763 fi
5764
5765 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5766
5767 fi
5768
5769
5770 eval "$ac_cv_use_apple_ieee"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5773 fi
5774
5775 if test "$wxUSE_APPLE_IEEE" = yes; then
5776 { echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6; }
5778 else
5779 { echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6; }
5781 fi
5782
5783
5784 enablestring=
5785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5787 no_cache=0
5788 # Check whether --enable-arcstream was given.
5789 if test "${enable_arcstream+set}" = set; then
5790 enableval=$enable_arcstream;
5791 if test "$enableval" = yes; then
5792 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5793 else
5794 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5795 fi
5796
5797 else
5798
5799 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5800 if test "x$LINE" != x ; then
5801 eval "DEFAULT_$LINE"
5802 else
5803 no_cache=1
5804 fi
5805
5806 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5807
5808 fi
5809
5810
5811 eval "$ac_cv_use_arcstream"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5814 fi
5815
5816 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5817 { echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6; }
5819 else
5820 { echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6; }
5822 fi
5823
5824
5825 enablestring=
5826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5828 no_cache=0
5829 # Check whether --enable-backtrace was given.
5830 if test "${enable_backtrace+set}" = set; then
5831 enableval=$enable_backtrace;
5832 if test "$enableval" = yes; then
5833 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5834 else
5835 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5836 fi
5837
5838 else
5839
5840 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5841 if test "x$LINE" != x ; then
5842 eval "DEFAULT_$LINE"
5843 else
5844 no_cache=1
5845 fi
5846
5847 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5848
5849 fi
5850
5851
5852 eval "$ac_cv_use_backtrace"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5855 fi
5856
5857 if test "$wxUSE_STACKWALKER" = yes; then
5858 { echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6; }
5860 else
5861 { echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6; }
5863 fi
5864
5865
5866 enablestring=
5867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5869 no_cache=0
5870 # Check whether --enable-catch_segvs was given.
5871 if test "${enable_catch_segvs+set}" = set; then
5872 enableval=$enable_catch_segvs;
5873 if test "$enableval" = yes; then
5874 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5875 else
5876 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5877 fi
5878
5879 else
5880
5881 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5882 if test "x$LINE" != x ; then
5883 eval "DEFAULT_$LINE"
5884 else
5885 no_cache=1
5886 fi
5887
5888 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5889
5890 fi
5891
5892
5893 eval "$ac_cv_use_catch_segvs"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5896 fi
5897
5898 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5899 { echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6; }
5901 else
5902 { echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6; }
5904 fi
5905
5906
5907 enablestring=
5908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5910 no_cache=0
5911 # Check whether --enable-cmdline was given.
5912 if test "${enable_cmdline+set}" = set; then
5913 enableval=$enable_cmdline;
5914 if test "$enableval" = yes; then
5915 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5916 else
5917 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5918 fi
5919
5920 else
5921
5922 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5923 if test "x$LINE" != x ; then
5924 eval "DEFAULT_$LINE"
5925 else
5926 no_cache=1
5927 fi
5928
5929 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5930
5931 fi
5932
5933
5934 eval "$ac_cv_use_cmdline"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5937 fi
5938
5939 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5940 { echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6; }
5942 else
5943 { echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6; }
5945 fi
5946
5947
5948 enablestring=
5949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5951 no_cache=0
5952 # Check whether --enable-datetime was given.
5953 if test "${enable_datetime+set}" = set; then
5954 enableval=$enable_datetime;
5955 if test "$enableval" = yes; then
5956 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5957 else
5958 ac_cv_use_datetime='wxUSE_DATETIME=no'
5959 fi
5960
5961 else
5962
5963 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5964 if test "x$LINE" != x ; then
5965 eval "DEFAULT_$LINE"
5966 else
5967 no_cache=1
5968 fi
5969
5970 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5971
5972 fi
5973
5974
5975 eval "$ac_cv_use_datetime"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5978 fi
5979
5980 if test "$wxUSE_DATETIME" = yes; then
5981 { echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6; }
5983 else
5984 { echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6; }
5986 fi
5987
5988
5989 enablestring=
5990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5992 no_cache=0
5993 # Check whether --enable-debugreport was given.
5994 if test "${enable_debugreport+set}" = set; then
5995 enableval=$enable_debugreport;
5996 if test "$enableval" = yes; then
5997 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5998 else
5999 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6000 fi
6001
6002 else
6003
6004 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6005 if test "x$LINE" != x ; then
6006 eval "DEFAULT_$LINE"
6007 else
6008 no_cache=1
6009 fi
6010
6011 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6012
6013 fi
6014
6015
6016 eval "$ac_cv_use_debugreport"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6019 fi
6020
6021 if test "$wxUSE_DEBUGREPORT" = yes; then
6022 { echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6; }
6024 else
6025 { echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6; }
6027 fi
6028
6029
6030 enablestring=
6031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6033 no_cache=0
6034 # Check whether --enable-dialupman was given.
6035 if test "${enable_dialupman+set}" = set; then
6036 enableval=$enable_dialupman;
6037 if test "$enableval" = yes; then
6038 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6039 else
6040 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6041 fi
6042
6043 else
6044
6045 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6046 if test "x$LINE" != x ; then
6047 eval "DEFAULT_$LINE"
6048 else
6049 no_cache=1
6050 fi
6051
6052 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6053
6054 fi
6055
6056
6057 eval "$ac_cv_use_dialupman"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6060 fi
6061
6062 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6063 { echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6; }
6065 else
6066 { echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6; }
6068 fi
6069
6070
6071 enablestring=
6072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6074 no_cache=0
6075 # Check whether --enable-dynlib was given.
6076 if test "${enable_dynlib+set}" = set; then
6077 enableval=$enable_dynlib;
6078 if test "$enableval" = yes; then
6079 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6080 else
6081 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6082 fi
6083
6084 else
6085
6086 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6087 if test "x$LINE" != x ; then
6088 eval "DEFAULT_$LINE"
6089 else
6090 no_cache=1
6091 fi
6092
6093 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6094
6095 fi
6096
6097
6098 eval "$ac_cv_use_dynlib"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6101 fi
6102
6103 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6104 { echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6; }
6106 else
6107 { echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6; }
6109 fi
6110
6111
6112 enablestring=
6113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6115 no_cache=0
6116 # Check whether --enable-dynamicloader was given.
6117 if test "${enable_dynamicloader+set}" = set; then
6118 enableval=$enable_dynamicloader;
6119 if test "$enableval" = yes; then
6120 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6121 else
6122 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6123 fi
6124
6125 else
6126
6127 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x ; then
6129 eval "DEFAULT_$LINE"
6130 else
6131 no_cache=1
6132 fi
6133
6134 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6135
6136 fi
6137
6138
6139 eval "$ac_cv_use_dynamicloader"
6140 if test "$no_cache" != 1; then
6141 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6142 fi
6143
6144 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6145 { echo "$as_me:$LINENO: result: yes" >&5
6146 echo "${ECHO_T}yes" >&6; }
6147 else
6148 { echo "$as_me:$LINENO: result: no" >&5
6149 echo "${ECHO_T}no" >&6; }
6150 fi
6151
6152
6153 enablestring=
6154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6156 no_cache=0
6157 # Check whether --enable-exceptions was given.
6158 if test "${enable_exceptions+set}" = set; then
6159 enableval=$enable_exceptions;
6160 if test "$enableval" = yes; then
6161 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6162 else
6163 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6164 fi
6165
6166 else
6167
6168 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6169 if test "x$LINE" != x ; then
6170 eval "DEFAULT_$LINE"
6171 else
6172 no_cache=1
6173 fi
6174
6175 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6176
6177 fi
6178
6179
6180 eval "$ac_cv_use_exceptions"
6181 if test "$no_cache" != 1; then
6182 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6183 fi
6184
6185 if test "$wxUSE_EXCEPTIONS" = yes; then
6186 { echo "$as_me:$LINENO: result: yes" >&5
6187 echo "${ECHO_T}yes" >&6; }
6188 else
6189 { echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6; }
6191 fi
6192
6193
6194 enablestring=
6195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6196 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6197 no_cache=0
6198 # Check whether --enable-ffile was given.
6199 if test "${enable_ffile+set}" = set; then
6200 enableval=$enable_ffile;
6201 if test "$enableval" = yes; then
6202 ac_cv_use_ffile='wxUSE_FFILE=yes'
6203 else
6204 ac_cv_use_ffile='wxUSE_FFILE=no'
6205 fi
6206
6207 else
6208
6209 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6210 if test "x$LINE" != x ; then
6211 eval "DEFAULT_$LINE"
6212 else
6213 no_cache=1
6214 fi
6215
6216 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6217
6218 fi
6219
6220
6221 eval "$ac_cv_use_ffile"
6222 if test "$no_cache" != 1; then
6223 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6224 fi
6225
6226 if test "$wxUSE_FFILE" = yes; then
6227 { echo "$as_me:$LINENO: result: yes" >&5
6228 echo "${ECHO_T}yes" >&6; }
6229 else
6230 { echo "$as_me:$LINENO: result: no" >&5
6231 echo "${ECHO_T}no" >&6; }
6232 fi
6233
6234
6235 enablestring=
6236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6237 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6238 no_cache=0
6239 # Check whether --enable-file was given.
6240 if test "${enable_file+set}" = set; then
6241 enableval=$enable_file;
6242 if test "$enableval" = yes; then
6243 ac_cv_use_file='wxUSE_FILE=yes'
6244 else
6245 ac_cv_use_file='wxUSE_FILE=no'
6246 fi
6247
6248 else
6249
6250 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6251 if test "x$LINE" != x ; then
6252 eval "DEFAULT_$LINE"
6253 else
6254 no_cache=1
6255 fi
6256
6257 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6258
6259 fi
6260
6261
6262 eval "$ac_cv_use_file"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6265 fi
6266
6267 if test "$wxUSE_FILE" = yes; then
6268 { echo "$as_me:$LINENO: result: yes" >&5
6269 echo "${ECHO_T}yes" >&6; }
6270 else
6271 { echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6; }
6273 fi
6274
6275
6276 enablestring=
6277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6279 no_cache=0
6280 # Check whether --enable-filesystem was given.
6281 if test "${enable_filesystem+set}" = set; then
6282 enableval=$enable_filesystem;
6283 if test "$enableval" = yes; then
6284 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6285 else
6286 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6287 fi
6288
6289 else
6290
6291 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6292 if test "x$LINE" != x ; then
6293 eval "DEFAULT_$LINE"
6294 else
6295 no_cache=1
6296 fi
6297
6298 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6299
6300 fi
6301
6302
6303 eval "$ac_cv_use_filesystem"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6306 fi
6307
6308 if test "$wxUSE_FILESYSTEM" = yes; then
6309 { echo "$as_me:$LINENO: result: yes" >&5
6310 echo "${ECHO_T}yes" >&6; }
6311 else
6312 { echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6; }
6314 fi
6315
6316
6317 enablestring=
6318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6320 no_cache=0
6321 # Check whether --enable-fontmap was given.
6322 if test "${enable_fontmap+set}" = set; then
6323 enableval=$enable_fontmap;
6324 if test "$enableval" = yes; then
6325 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6326 else
6327 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6328 fi
6329
6330 else
6331
6332 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6333 if test "x$LINE" != x ; then
6334 eval "DEFAULT_$LINE"
6335 else
6336 no_cache=1
6337 fi
6338
6339 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6340
6341 fi
6342
6343
6344 eval "$ac_cv_use_fontmap"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6347 fi
6348
6349 if test "$wxUSE_FONTMAP" = yes; then
6350 { echo "$as_me:$LINENO: result: yes" >&5
6351 echo "${ECHO_T}yes" >&6; }
6352 else
6353 { echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6; }
6355 fi
6356
6357
6358 enablestring=
6359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6361 no_cache=0
6362 # Check whether --enable-fs_archive was given.
6363 if test "${enable_fs_archive+set}" = set; then
6364 enableval=$enable_fs_archive;
6365 if test "$enableval" = yes; then
6366 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6367 else
6368 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6369 fi
6370
6371 else
6372
6373 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6374 if test "x$LINE" != x ; then
6375 eval "DEFAULT_$LINE"
6376 else
6377 no_cache=1
6378 fi
6379
6380 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6381
6382 fi
6383
6384
6385 eval "$ac_cv_use_fs_archive"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6388 fi
6389
6390 if test "$wxUSE_FS_ARCHIVE" = yes; then
6391 { echo "$as_me:$LINENO: result: yes" >&5
6392 echo "${ECHO_T}yes" >&6; }
6393 else
6394 { echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6; }
6396 fi
6397
6398
6399 enablestring=
6400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6402 no_cache=0
6403 # Check whether --enable-fs_inet was given.
6404 if test "${enable_fs_inet+set}" = set; then
6405 enableval=$enable_fs_inet;
6406 if test "$enableval" = yes; then
6407 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6408 else
6409 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6410 fi
6411
6412 else
6413
6414 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x ; then
6416 eval "DEFAULT_$LINE"
6417 else
6418 no_cache=1
6419 fi
6420
6421 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6422
6423 fi
6424
6425
6426 eval "$ac_cv_use_fs_inet"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6429 fi
6430
6431 if test "$wxUSE_FS_INET" = yes; then
6432 { echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6; }
6434 else
6435 { echo "$as_me:$LINENO: result: no" >&5
6436 echo "${ECHO_T}no" >&6; }
6437 fi
6438
6439
6440 enablestring=
6441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6443 no_cache=0
6444 # Check whether --enable-fs_zip was given.
6445 if test "${enable_fs_zip+set}" = set; then
6446 enableval=$enable_fs_zip;
6447 if test "$enableval" = yes; then
6448 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6449 else
6450 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6451 fi
6452
6453 else
6454
6455 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6456 if test "x$LINE" != x ; then
6457 eval "DEFAULT_$LINE"
6458 else
6459 no_cache=1
6460 fi
6461
6462 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6463
6464 fi
6465
6466
6467 eval "$ac_cv_use_fs_zip"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6470 fi
6471
6472 if test "$wxUSE_FS_ZIP" = yes; then
6473 { echo "$as_me:$LINENO: result: yes" >&5
6474 echo "${ECHO_T}yes" >&6; }
6475 else
6476 { echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6; }
6478 fi
6479
6480
6481 enablestring=
6482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6484 no_cache=0
6485 # Check whether --enable-geometry was given.
6486 if test "${enable_geometry+set}" = set; then
6487 enableval=$enable_geometry;
6488 if test "$enableval" = yes; then
6489 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6490 else
6491 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6492 fi
6493
6494 else
6495
6496 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6497 if test "x$LINE" != x ; then
6498 eval "DEFAULT_$LINE"
6499 else
6500 no_cache=1
6501 fi
6502
6503 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6504
6505 fi
6506
6507
6508 eval "$ac_cv_use_geometry"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6511 fi
6512
6513 if test "$wxUSE_GEOMETRY" = yes; then
6514 { echo "$as_me:$LINENO: result: yes" >&5
6515 echo "${ECHO_T}yes" >&6; }
6516 else
6517 { echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6; }
6519 fi
6520
6521
6522 enablestring=
6523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6525 no_cache=0
6526 # Check whether --enable-log was given.
6527 if test "${enable_log+set}" = set; then
6528 enableval=$enable_log;
6529 if test "$enableval" = yes; then
6530 ac_cv_use_log='wxUSE_LOG=yes'
6531 else
6532 ac_cv_use_log='wxUSE_LOG=no'
6533 fi
6534
6535 else
6536
6537 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x ; then
6539 eval "DEFAULT_$LINE"
6540 else
6541 no_cache=1
6542 fi
6543
6544 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6545
6546 fi
6547
6548
6549 eval "$ac_cv_use_log"
6550 if test "$no_cache" != 1; then
6551 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6552 fi
6553
6554 if test "$wxUSE_LOG" = yes; then
6555 { echo "$as_me:$LINENO: result: yes" >&5
6556 echo "${ECHO_T}yes" >&6; }
6557 else
6558 { echo "$as_me:$LINENO: result: no" >&5
6559 echo "${ECHO_T}no" >&6; }
6560 fi
6561
6562
6563 enablestring=
6564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6565 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6566 no_cache=0
6567 # Check whether --enable-longlong was given.
6568 if test "${enable_longlong+set}" = set; then
6569 enableval=$enable_longlong;
6570 if test "$enableval" = yes; then
6571 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6572 else
6573 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6574 fi
6575
6576 else
6577
6578 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6579 if test "x$LINE" != x ; then
6580 eval "DEFAULT_$LINE"
6581 else
6582 no_cache=1
6583 fi
6584
6585 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6586
6587 fi
6588
6589
6590 eval "$ac_cv_use_longlong"
6591 if test "$no_cache" != 1; then
6592 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6593 fi
6594
6595 if test "$wxUSE_LONGLONG" = yes; then
6596 { echo "$as_me:$LINENO: result: yes" >&5
6597 echo "${ECHO_T}yes" >&6; }
6598 else
6599 { echo "$as_me:$LINENO: result: no" >&5
6600 echo "${ECHO_T}no" >&6; }
6601 fi
6602
6603
6604 enablestring=
6605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6606 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6607 no_cache=0
6608 # Check whether --enable-mimetype was given.
6609 if test "${enable_mimetype+set}" = set; then
6610 enableval=$enable_mimetype;
6611 if test "$enableval" = yes; then
6612 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6613 else
6614 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6615 fi
6616
6617 else
6618
6619 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6620 if test "x$LINE" != x ; then
6621 eval "DEFAULT_$LINE"
6622 else
6623 no_cache=1
6624 fi
6625
6626 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6627
6628 fi
6629
6630
6631 eval "$ac_cv_use_mimetype"
6632 if test "$no_cache" != 1; then
6633 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6634 fi
6635
6636 if test "$wxUSE_MIMETYPE" = yes; then
6637 { echo "$as_me:$LINENO: result: yes" >&5
6638 echo "${ECHO_T}yes" >&6; }
6639 else
6640 { echo "$as_me:$LINENO: result: no" >&5
6641 echo "${ECHO_T}no" >&6; }
6642 fi
6643
6644
6645 enablestring=
6646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6648 no_cache=0
6649 # Check whether --enable-mslu was given.
6650 if test "${enable_mslu+set}" = set; then
6651 enableval=$enable_mslu;
6652 if test "$enableval" = yes; then
6653 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6654 else
6655 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6656 fi
6657
6658 else
6659
6660 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6661 if test "x$LINE" != x ; then
6662 eval "DEFAULT_$LINE"
6663 else
6664 no_cache=1
6665 fi
6666
6667 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6668
6669 fi
6670
6671
6672 eval "$ac_cv_use_mslu"
6673 if test "$no_cache" != 1; then
6674 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6675 fi
6676
6677 if test "$wxUSE_UNICODE_MSLU" = yes; then
6678 { echo "$as_me:$LINENO: result: yes" >&5
6679 echo "${ECHO_T}yes" >&6; }
6680 else
6681 { echo "$as_me:$LINENO: result: no" >&5
6682 echo "${ECHO_T}no" >&6; }
6683 fi
6684
6685
6686 enablestring=
6687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6688 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6689 no_cache=0
6690 # Check whether --enable-snglinst was given.
6691 if test "${enable_snglinst+set}" = set; then
6692 enableval=$enable_snglinst;
6693 if test "$enableval" = yes; then
6694 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6695 else
6696 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6697 fi
6698
6699 else
6700
6701 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6702 if test "x$LINE" != x ; then
6703 eval "DEFAULT_$LINE"
6704 else
6705 no_cache=1
6706 fi
6707
6708 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6709
6710 fi
6711
6712
6713 eval "$ac_cv_use_snglinst"
6714 if test "$no_cache" != 1; then
6715 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6716 fi
6717
6718 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6719 { echo "$as_me:$LINENO: result: yes" >&5
6720 echo "${ECHO_T}yes" >&6; }
6721 else
6722 { echo "$as_me:$LINENO: result: no" >&5
6723 echo "${ECHO_T}no" >&6; }
6724 fi
6725
6726
6727 enablestring=
6728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6730 no_cache=0
6731 # Check whether --enable-std_iostreams was given.
6732 if test "${enable_std_iostreams+set}" = set; then
6733 enableval=$enable_std_iostreams;
6734 if test "$enableval" = yes; then
6735 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6736 else
6737 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6738 fi
6739
6740 else
6741
6742 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6743 if test "x$LINE" != x ; then
6744 eval "DEFAULT_$LINE"
6745 else
6746 no_cache=1
6747 fi
6748
6749 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6750
6751 fi
6752
6753
6754 eval "$ac_cv_use_std_iostreams"
6755 if test "$no_cache" != 1; then
6756 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6757 fi
6758
6759 if test "$wxUSE_STD_IOSTREAM" = yes; then
6760 { echo "$as_me:$LINENO: result: yes" >&5
6761 echo "${ECHO_T}yes" >&6; }
6762 else
6763 { echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6; }
6765 fi
6766
6767
6768 enablestring=
6769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6770 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6771 no_cache=0
6772 # Check whether --enable-std_string was given.
6773 if test "${enable_std_string+set}" = set; then
6774 enableval=$enable_std_string;
6775 if test "$enableval" = yes; then
6776 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6777 else
6778 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6779 fi
6780
6781 else
6782
6783 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6784 if test "x$LINE" != x ; then
6785 eval "DEFAULT_$LINE"
6786 else
6787 no_cache=1
6788 fi
6789
6790 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6791
6792 fi
6793
6794
6795 eval "$ac_cv_use_std_string"
6796 if test "$no_cache" != 1; then
6797 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6798 fi
6799
6800 if test "$wxUSE_STD_STRING" = yes; then
6801 { echo "$as_me:$LINENO: result: yes" >&5
6802 echo "${ECHO_T}yes" >&6; }
6803 else
6804 { echo "$as_me:$LINENO: result: no" >&5
6805 echo "${ECHO_T}no" >&6; }
6806 fi
6807
6808
6809 enablestring=
6810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6811 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6812 no_cache=0
6813 # Check whether --enable-stdpaths was given.
6814 if test "${enable_stdpaths+set}" = set; then
6815 enableval=$enable_stdpaths;
6816 if test "$enableval" = yes; then
6817 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6818 else
6819 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6820 fi
6821
6822 else
6823
6824 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6825 if test "x$LINE" != x ; then
6826 eval "DEFAULT_$LINE"
6827 else
6828 no_cache=1
6829 fi
6830
6831 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6832
6833 fi
6834
6835
6836 eval "$ac_cv_use_stdpaths"
6837 if test "$no_cache" != 1; then
6838 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6839 fi
6840
6841 if test "$wxUSE_STDPATHS" = yes; then
6842 { echo "$as_me:$LINENO: result: yes" >&5
6843 echo "${ECHO_T}yes" >&6; }
6844 else
6845 { echo "$as_me:$LINENO: result: no" >&5
6846 echo "${ECHO_T}no" >&6; }
6847 fi
6848
6849
6850 enablestring=
6851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6853 no_cache=0
6854 # Check whether --enable-stopwatch was given.
6855 if test "${enable_stopwatch+set}" = set; then
6856 enableval=$enable_stopwatch;
6857 if test "$enableval" = yes; then
6858 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6859 else
6860 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6861 fi
6862
6863 else
6864
6865 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x ; then
6867 eval "DEFAULT_$LINE"
6868 else
6869 no_cache=1
6870 fi
6871
6872 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6873
6874 fi
6875
6876
6877 eval "$ac_cv_use_stopwatch"
6878 if test "$no_cache" != 1; then
6879 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6880 fi
6881
6882 if test "$wxUSE_STOPWATCH" = yes; then
6883 { echo "$as_me:$LINENO: result: yes" >&5
6884 echo "${ECHO_T}yes" >&6; }
6885 else
6886 { echo "$as_me:$LINENO: result: no" >&5
6887 echo "${ECHO_T}no" >&6; }
6888 fi
6889
6890
6891 enablestring=
6892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6893 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6894 no_cache=0
6895 # Check whether --enable-streams was given.
6896 if test "${enable_streams+set}" = set; then
6897 enableval=$enable_streams;
6898 if test "$enableval" = yes; then
6899 ac_cv_use_streams='wxUSE_STREAMS=yes'
6900 else
6901 ac_cv_use_streams='wxUSE_STREAMS=no'
6902 fi
6903
6904 else
6905
6906 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6907 if test "x$LINE" != x ; then
6908 eval "DEFAULT_$LINE"
6909 else
6910 no_cache=1
6911 fi
6912
6913 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6914
6915 fi
6916
6917
6918 eval "$ac_cv_use_streams"
6919 if test "$no_cache" != 1; then
6920 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6921 fi
6922
6923 if test "$wxUSE_STREAMS" = yes; then
6924 { echo "$as_me:$LINENO: result: yes" >&5
6925 echo "${ECHO_T}yes" >&6; }
6926 else
6927 { echo "$as_me:$LINENO: result: no" >&5
6928 echo "${ECHO_T}no" >&6; }
6929 fi
6930
6931
6932 enablestring=
6933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6934 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6935 no_cache=0
6936 # Check whether --enable-system_options was given.
6937 if test "${enable_system_options+set}" = set; then
6938 enableval=$enable_system_options;
6939 if test "$enableval" = yes; then
6940 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6941 else
6942 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6943 fi
6944
6945 else
6946
6947 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6948 if test "x$LINE" != x ; then
6949 eval "DEFAULT_$LINE"
6950 else
6951 no_cache=1
6952 fi
6953
6954 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6955
6956 fi
6957
6958
6959 eval "$ac_cv_use_system_options"
6960 if test "$no_cache" != 1; then
6961 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6962 fi
6963
6964 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6965 { echo "$as_me:$LINENO: result: yes" >&5
6966 echo "${ECHO_T}yes" >&6; }
6967 else
6968 { echo "$as_me:$LINENO: result: no" >&5
6969 echo "${ECHO_T}no" >&6; }
6970 fi
6971
6972
6973 enablestring=
6974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6976 no_cache=0
6977 # Check whether --enable-tarstream was given.
6978 if test "${enable_tarstream+set}" = set; then
6979 enableval=$enable_tarstream;
6980 if test "$enableval" = yes; then
6981 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6982 else
6983 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6984 fi
6985
6986 else
6987
6988 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6989 if test "x$LINE" != x ; then
6990 eval "DEFAULT_$LINE"
6991 else
6992 no_cache=1
6993 fi
6994
6995 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6996
6997 fi
6998
6999
7000 eval "$ac_cv_use_tarstream"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7003 fi
7004
7005 if test "$wxUSE_TARSTREAM" = yes; then
7006 { echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6; }
7008 else
7009 { echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6; }
7011 fi
7012
7013
7014 enablestring=
7015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7017 no_cache=0
7018 # Check whether --enable-textbuf was given.
7019 if test "${enable_textbuf+set}" = set; then
7020 enableval=$enable_textbuf;
7021 if test "$enableval" = yes; then
7022 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7023 else
7024 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7025 fi
7026
7027 else
7028
7029 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7030 if test "x$LINE" != x ; then
7031 eval "DEFAULT_$LINE"
7032 else
7033 no_cache=1
7034 fi
7035
7036 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7037
7038 fi
7039
7040
7041 eval "$ac_cv_use_textbuf"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7044 fi
7045
7046 if test "$wxUSE_TEXTBUFFER" = yes; then
7047 { echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6; }
7049 else
7050 { echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6; }
7052 fi
7053
7054
7055 enablestring=
7056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7057 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7058 no_cache=0
7059 # Check whether --enable-textfile was given.
7060 if test "${enable_textfile+set}" = set; then
7061 enableval=$enable_textfile;
7062 if test "$enableval" = yes; then
7063 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7064 else
7065 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7066 fi
7067
7068 else
7069
7070 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7071 if test "x$LINE" != x ; then
7072 eval "DEFAULT_$LINE"
7073 else
7074 no_cache=1
7075 fi
7076
7077 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7078
7079 fi
7080
7081
7082 eval "$ac_cv_use_textfile"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7085 fi
7086
7087 if test "$wxUSE_TEXTFILE" = yes; then
7088 { echo "$as_me:$LINENO: result: yes" >&5
7089 echo "${ECHO_T}yes" >&6; }
7090 else
7091 { echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6; }
7093 fi
7094
7095
7096 enablestring=
7097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7099 no_cache=0
7100 # Check whether --enable-timer was given.
7101 if test "${enable_timer+set}" = set; then
7102 enableval=$enable_timer;
7103 if test "$enableval" = yes; then
7104 ac_cv_use_timer='wxUSE_TIMER=yes'
7105 else
7106 ac_cv_use_timer='wxUSE_TIMER=no'
7107 fi
7108
7109 else
7110
7111 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7112 if test "x$LINE" != x ; then
7113 eval "DEFAULT_$LINE"
7114 else
7115 no_cache=1
7116 fi
7117
7118 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7119
7120 fi
7121
7122
7123 eval "$ac_cv_use_timer"
7124 if test "$no_cache" != 1; then
7125 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7126 fi
7127
7128 if test "$wxUSE_TIMER" = yes; then
7129 { echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6; }
7131 else
7132 { echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6; }
7134 fi
7135
7136
7137 enablestring=
7138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7140 no_cache=0
7141 # Check whether --enable-unicode was given.
7142 if test "${enable_unicode+set}" = set; then
7143 enableval=$enable_unicode;
7144 if test "$enableval" = yes; then
7145 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7146 else
7147 ac_cv_use_unicode='wxUSE_UNICODE=no'
7148 fi
7149
7150 else
7151
7152 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7153 if test "x$LINE" != x ; then
7154 eval "DEFAULT_$LINE"
7155 else
7156 no_cache=1
7157 fi
7158
7159 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7160
7161 fi
7162
7163
7164 eval "$ac_cv_use_unicode"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7167 fi
7168
7169 if test "$wxUSE_UNICODE" = yes; then
7170 { echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6; }
7172 else
7173 { echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6; }
7175 fi
7176
7177
7178 enablestring=
7179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7181 no_cache=0
7182 # Check whether --enable-sound was given.
7183 if test "${enable_sound+set}" = set; then
7184 enableval=$enable_sound;
7185 if test "$enableval" = yes; then
7186 ac_cv_use_sound='wxUSE_SOUND=yes'
7187 else
7188 ac_cv_use_sound='wxUSE_SOUND=no'
7189 fi
7190
7191 else
7192
7193 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7194 if test "x$LINE" != x ; then
7195 eval "DEFAULT_$LINE"
7196 else
7197 no_cache=1
7198 fi
7199
7200 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7201
7202 fi
7203
7204
7205 eval "$ac_cv_use_sound"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7208 fi
7209
7210 if test "$wxUSE_SOUND" = yes; then
7211 { echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6; }
7213 else
7214 { echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6; }
7216 fi
7217
7218
7219 enablestring=
7220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7222 no_cache=0
7223 # Check whether --enable-mediactrl was given.
7224 if test "${enable_mediactrl+set}" = set; then
7225 enableval=$enable_mediactrl;
7226 if test "$enableval" = yes; then
7227 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7228 else
7229 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7230 fi
7231
7232 else
7233
7234 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7235 if test "x$LINE" != x ; then
7236 eval "DEFAULT_$LINE"
7237 else
7238 no_cache=1
7239 fi
7240
7241 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7242
7243 fi
7244
7245
7246 eval "$ac_cv_use_mediactrl"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7249 fi
7250
7251 if test "$wxUSE_MEDIACTRL" = yes; then
7252 { echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6; }
7254 else
7255 { echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6; }
7257 fi
7258
7259
7260 enablestring=
7261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7263 no_cache=0
7264 # Check whether --enable-gstreamer8 was given.
7265 if test "${enable_gstreamer8+set}" = set; then
7266 enableval=$enable_gstreamer8;
7267 if test "$enableval" = yes; then
7268 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7269 else
7270 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7271 fi
7272
7273 else
7274
7275 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7276 if test "x$LINE" != x ; then
7277 eval "DEFAULT_$LINE"
7278 else
7279 no_cache=1
7280 fi
7281
7282 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7283
7284 fi
7285
7286
7287 eval "$ac_cv_use_gstreamer8"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7290 fi
7291
7292 if test "$wxUSE_GSTREAMER8" = yes; then
7293 { echo "$as_me:$LINENO: result: yes" >&5
7294 echo "${ECHO_T}yes" >&6; }
7295 else
7296 { echo "$as_me:$LINENO: result: no" >&5
7297 echo "${ECHO_T}no" >&6; }
7298 fi
7299
7300
7301 enablestring=
7302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7304 no_cache=0
7305 # Check whether --enable-printfposparam was given.
7306 if test "${enable_printfposparam+set}" = set; then
7307 enableval=$enable_printfposparam;
7308 if test "$enableval" = yes; then
7309 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7310 else
7311 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7312 fi
7313
7314 else
7315
7316 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7317 if test "x$LINE" != x ; then
7318 eval "DEFAULT_$LINE"
7319 else
7320 no_cache=1
7321 fi
7322
7323 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7324
7325 fi
7326
7327
7328 eval "$ac_cv_use_printfposparam"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7331 fi
7332
7333 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7334 { echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6; }
7336 else
7337 { echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6; }
7339 fi
7340
7341
7342 enablestring=
7343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7345 no_cache=0
7346 # Check whether --enable-zipstream was given.
7347 if test "${enable_zipstream+set}" = set; then
7348 enableval=$enable_zipstream;
7349 if test "$enableval" = yes; then
7350 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7351 else
7352 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7353 fi
7354
7355 else
7356
7357 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7358 if test "x$LINE" != x ; then
7359 eval "DEFAULT_$LINE"
7360 else
7361 no_cache=1
7362 fi
7363
7364 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7365
7366 fi
7367
7368
7369 eval "$ac_cv_use_zipstream"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7372 fi
7373
7374 if test "$wxUSE_ZIPSTREAM" = yes; then
7375 { echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6; }
7377 else
7378 { echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6; }
7380 fi
7381
7382
7383
7384 enablestring=
7385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7386 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7387 no_cache=0
7388 # Check whether --enable-url was given.
7389 if test "${enable_url+set}" = set; then
7390 enableval=$enable_url;
7391 if test "$enableval" = yes; then
7392 ac_cv_use_url='wxUSE_URL=yes'
7393 else
7394 ac_cv_use_url='wxUSE_URL=no'
7395 fi
7396
7397 else
7398
7399 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x ; then
7401 eval "DEFAULT_$LINE"
7402 else
7403 no_cache=1
7404 fi
7405
7406 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7407
7408 fi
7409
7410
7411 eval "$ac_cv_use_url"
7412 if test "$no_cache" != 1; then
7413 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7414 fi
7415
7416 if test "$wxUSE_URL" = yes; then
7417 { echo "$as_me:$LINENO: result: yes" >&5
7418 echo "${ECHO_T}yes" >&6; }
7419 else
7420 { echo "$as_me:$LINENO: result: no" >&5
7421 echo "${ECHO_T}no" >&6; }
7422 fi
7423
7424
7425 enablestring=
7426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7427 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7428 no_cache=0
7429 # Check whether --enable-variant was given.
7430 if test "${enable_variant+set}" = set; then
7431 enableval=$enable_variant;
7432 if test "$enableval" = yes; then
7433 ac_cv_use_variant='wxUSE_VARIANT=yes'
7434 else
7435 ac_cv_use_variant='wxUSE_VARIANT=no'
7436 fi
7437
7438 else
7439
7440 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x ; then
7442 eval "DEFAULT_$LINE"
7443 else
7444 no_cache=1
7445 fi
7446
7447 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7448
7449 fi
7450
7451
7452 eval "$ac_cv_use_variant"
7453 if test "$no_cache" != 1; then
7454 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7455 fi
7456
7457 if test "$wxUSE_VARIANT" = yes; then
7458 { echo "$as_me:$LINENO: result: yes" >&5
7459 echo "${ECHO_T}yes" >&6; }
7460 else
7461 { echo "$as_me:$LINENO: result: no" >&5
7462 echo "${ECHO_T}no" >&6; }
7463 fi
7464
7465
7466 enablestring=
7467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7468 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7469 no_cache=0
7470 # Check whether --enable-protocol was given.
7471 if test "${enable_protocol+set}" = set; then
7472 enableval=$enable_protocol;
7473 if test "$enableval" = yes; then
7474 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7475 else
7476 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7477 fi
7478
7479 else
7480
7481 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7484 else
7485 no_cache=1
7486 fi
7487
7488 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7489
7490 fi
7491
7492
7493 eval "$ac_cv_use_protocol"
7494 if test "$no_cache" != 1; then
7495 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7496 fi
7497
7498 if test "$wxUSE_PROTOCOL" = yes; then
7499 { echo "$as_me:$LINENO: result: yes" >&5
7500 echo "${ECHO_T}yes" >&6; }
7501 else
7502 { echo "$as_me:$LINENO: result: no" >&5
7503 echo "${ECHO_T}no" >&6; }
7504 fi
7505
7506
7507 enablestring=
7508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7509 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7510 no_cache=0
7511 # Check whether --enable-protocol_http was given.
7512 if test "${enable_protocol_http+set}" = set; then
7513 enableval=$enable_protocol_http;
7514 if test "$enableval" = yes; then
7515 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7516 else
7517 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7518 fi
7519
7520 else
7521
7522 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x ; then
7524 eval "DEFAULT_$LINE"
7525 else
7526 no_cache=1
7527 fi
7528
7529 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7530
7531 fi
7532
7533
7534 eval "$ac_cv_use_protocol_http"
7535 if test "$no_cache" != 1; then
7536 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7537 fi
7538
7539 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7540 { echo "$as_me:$LINENO: result: yes" >&5
7541 echo "${ECHO_T}yes" >&6; }
7542 else
7543 { echo "$as_me:$LINENO: result: no" >&5
7544 echo "${ECHO_T}no" >&6; }
7545 fi
7546
7547
7548 enablestring=
7549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7550 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7551 no_cache=0
7552 # Check whether --enable-protocol_ftp was given.
7553 if test "${enable_protocol_ftp+set}" = set; then
7554 enableval=$enable_protocol_ftp;
7555 if test "$enableval" = yes; then
7556 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7557 else
7558 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7559 fi
7560
7561 else
7562
7563 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7566 else
7567 no_cache=1
7568 fi
7569
7570 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7571
7572 fi
7573
7574
7575 eval "$ac_cv_use_protocol_ftp"
7576 if test "$no_cache" != 1; then
7577 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7578 fi
7579
7580 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7581 { echo "$as_me:$LINENO: result: yes" >&5
7582 echo "${ECHO_T}yes" >&6; }
7583 else
7584 { echo "$as_me:$LINENO: result: no" >&5
7585 echo "${ECHO_T}no" >&6; }
7586 fi
7587
7588
7589 enablestring=
7590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7591 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7592 no_cache=0
7593 # Check whether --enable-protocol_file was given.
7594 if test "${enable_protocol_file+set}" = set; then
7595 enableval=$enable_protocol_file;
7596 if test "$enableval" = yes; then
7597 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7598 else
7599 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7600 fi
7601
7602 else
7603
7604 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7607 else
7608 no_cache=1
7609 fi
7610
7611 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7612
7613 fi
7614
7615
7616 eval "$ac_cv_use_protocol_file"
7617 if test "$no_cache" != 1; then
7618 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7619 fi
7620
7621 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7622 { echo "$as_me:$LINENO: result: yes" >&5
7623 echo "${ECHO_T}yes" >&6; }
7624 else
7625 { echo "$as_me:$LINENO: result: no" >&5
7626 echo "${ECHO_T}no" >&6; }
7627 fi
7628
7629
7630
7631
7632
7633 enablestring=
7634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7635 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7636 no_cache=0
7637 # Check whether --enable-threads was given.
7638 if test "${enable_threads+set}" = set; then
7639 enableval=$enable_threads;
7640 if test "$enableval" = yes; then
7641 ac_cv_use_threads='wxUSE_THREADS=yes'
7642 else
7643 ac_cv_use_threads='wxUSE_THREADS=no'
7644 fi
7645
7646 else
7647
7648 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7649 if test "x$LINE" != x ; then
7650 eval "DEFAULT_$LINE"
7651 else
7652 no_cache=1
7653 fi
7654
7655 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7656
7657 fi
7658
7659
7660 eval "$ac_cv_use_threads"
7661 if test "$no_cache" != 1; then
7662 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7663 fi
7664
7665 if test "$wxUSE_THREADS" = yes; then
7666 { echo "$as_me:$LINENO: result: yes" >&5
7667 echo "${ECHO_T}yes" >&6; }
7668 else
7669 { echo "$as_me:$LINENO: result: no" >&5
7670 echo "${ECHO_T}no" >&6; }
7671 fi
7672
7673
7674 if test "$wxUSE_GUI" = "yes"; then
7675
7676
7677
7678 enablestring=
7679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7681 no_cache=0
7682 # Check whether --enable-docview was given.
7683 if test "${enable_docview+set}" = set; then
7684 enableval=$enable_docview;
7685 if test "$enableval" = yes; then
7686 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7687 else
7688 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7689 fi
7690
7691 else
7692
7693 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7694 if test "x$LINE" != x ; then
7695 eval "DEFAULT_$LINE"
7696 else
7697 no_cache=1
7698 fi
7699
7700 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7701
7702 fi
7703
7704
7705 eval "$ac_cv_use_docview"
7706 if test "$no_cache" != 1; then
7707 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7708 fi
7709
7710 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7711 { echo "$as_me:$LINENO: result: yes" >&5
7712 echo "${ECHO_T}yes" >&6; }
7713 else
7714 { echo "$as_me:$LINENO: result: no" >&5
7715 echo "${ECHO_T}no" >&6; }
7716 fi
7717
7718
7719 enablestring=
7720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7721 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7722 no_cache=0
7723 # Check whether --enable-help was given.
7724 if test "${enable_help+set}" = set; then
7725 enableval=$enable_help;
7726 if test "$enableval" = yes; then
7727 ac_cv_use_help='wxUSE_HELP=yes'
7728 else
7729 ac_cv_use_help='wxUSE_HELP=no'
7730 fi
7731
7732 else
7733
7734 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7735 if test "x$LINE" != x ; then
7736 eval "DEFAULT_$LINE"
7737 else
7738 no_cache=1
7739 fi
7740
7741 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7742
7743 fi
7744
7745
7746 eval "$ac_cv_use_help"
7747 if test "$no_cache" != 1; then
7748 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7749 fi
7750
7751 if test "$wxUSE_HELP" = yes; then
7752 { echo "$as_me:$LINENO: result: yes" >&5
7753 echo "${ECHO_T}yes" >&6; }
7754 else
7755 { echo "$as_me:$LINENO: result: no" >&5
7756 echo "${ECHO_T}no" >&6; }
7757 fi
7758
7759
7760 enablestring=
7761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7762 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7763 no_cache=0
7764 # Check whether --enable-mshtmlhelp was given.
7765 if test "${enable_mshtmlhelp+set}" = set; then
7766 enableval=$enable_mshtmlhelp;
7767 if test "$enableval" = yes; then
7768 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7769 else
7770 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7771 fi
7772
7773 else
7774
7775 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7776 if test "x$LINE" != x ; then
7777 eval "DEFAULT_$LINE"
7778 else
7779 no_cache=1
7780 fi
7781
7782 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7783
7784 fi
7785
7786
7787 eval "$ac_cv_use_mshtmlhelp"
7788 if test "$no_cache" != 1; then
7789 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7790 fi
7791
7792 if test "$wxUSE_MS_HTML_HELP" = yes; then
7793 { echo "$as_me:$LINENO: result: yes" >&5
7794 echo "${ECHO_T}yes" >&6; }
7795 else
7796 { echo "$as_me:$LINENO: result: no" >&5
7797 echo "${ECHO_T}no" >&6; }
7798 fi
7799
7800
7801 enablestring=
7802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7803 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7804 no_cache=0
7805 # Check whether --enable-html was given.
7806 if test "${enable_html+set}" = set; then
7807 enableval=$enable_html;
7808 if test "$enableval" = yes; then
7809 ac_cv_use_html='wxUSE_HTML=yes'
7810 else
7811 ac_cv_use_html='wxUSE_HTML=no'
7812 fi
7813
7814 else
7815
7816 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7817 if test "x$LINE" != x ; then
7818 eval "DEFAULT_$LINE"
7819 else
7820 no_cache=1
7821 fi
7822
7823 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7824
7825 fi
7826
7827
7828 eval "$ac_cv_use_html"
7829 if test "$no_cache" != 1; then
7830 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7831 fi
7832
7833 if test "$wxUSE_HTML" = yes; then
7834 { echo "$as_me:$LINENO: result: yes" >&5
7835 echo "${ECHO_T}yes" >&6; }
7836 else
7837 { echo "$as_me:$LINENO: result: no" >&5
7838 echo "${ECHO_T}no" >&6; }
7839 fi
7840
7841
7842 enablestring=
7843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7844 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7845 no_cache=0
7846 # Check whether --enable-htmlhelp was given.
7847 if test "${enable_htmlhelp+set}" = set; then
7848 enableval=$enable_htmlhelp;
7849 if test "$enableval" = yes; then
7850 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7851 else
7852 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7853 fi
7854
7855 else
7856
7857 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7858 if test "x$LINE" != x ; then
7859 eval "DEFAULT_$LINE"
7860 else
7861 no_cache=1
7862 fi
7863
7864 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7865
7866 fi
7867
7868
7869 eval "$ac_cv_use_htmlhelp"
7870 if test "$no_cache" != 1; then
7871 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7872 fi
7873
7874 if test "$wxUSE_WXHTML_HELP" = yes; then
7875 { echo "$as_me:$LINENO: result: yes" >&5
7876 echo "${ECHO_T}yes" >&6; }
7877 else
7878 { echo "$as_me:$LINENO: result: no" >&5
7879 echo "${ECHO_T}no" >&6; }
7880 fi
7881
7882
7883 enablestring=
7884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7885 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7886 no_cache=0
7887 # Check whether --enable-xrc was given.
7888 if test "${enable_xrc+set}" = set; then
7889 enableval=$enable_xrc;
7890 if test "$enableval" = yes; then
7891 ac_cv_use_xrc='wxUSE_XRC=yes'
7892 else
7893 ac_cv_use_xrc='wxUSE_XRC=no'
7894 fi
7895
7896 else
7897
7898 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7899 if test "x$LINE" != x ; then
7900 eval "DEFAULT_$LINE"
7901 else
7902 no_cache=1
7903 fi
7904
7905 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7906
7907 fi
7908
7909
7910 eval "$ac_cv_use_xrc"
7911 if test "$no_cache" != 1; then
7912 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7913 fi
7914
7915 if test "$wxUSE_XRC" = yes; then
7916 { echo "$as_me:$LINENO: result: yes" >&5
7917 echo "${ECHO_T}yes" >&6; }
7918 else
7919 { echo "$as_me:$LINENO: result: no" >&5
7920 echo "${ECHO_T}no" >&6; }
7921 fi
7922
7923
7924 enablestring=
7925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7927 no_cache=0
7928 # Check whether --enable-aui was given.
7929 if test "${enable_aui+set}" = set; then
7930 enableval=$enable_aui;
7931 if test "$enableval" = yes; then
7932 ac_cv_use_aui='wxUSE_AUI=yes'
7933 else
7934 ac_cv_use_aui='wxUSE_AUI=no'
7935 fi
7936
7937 else
7938
7939 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7940 if test "x$LINE" != x ; then
7941 eval "DEFAULT_$LINE"
7942 else
7943 no_cache=1
7944 fi
7945
7946 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7947
7948 fi
7949
7950
7951 eval "$ac_cv_use_aui"
7952 if test "$no_cache" != 1; then
7953 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7954 fi
7955
7956 if test "$wxUSE_AUI" = yes; then
7957 { echo "$as_me:$LINENO: result: yes" >&5
7958 echo "${ECHO_T}yes" >&6; }
7959 else
7960 { echo "$as_me:$LINENO: result: no" >&5
7961 echo "${ECHO_T}no" >&6; }
7962 fi
7963
7964
7965 enablestring=
7966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7967 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
7968 no_cache=0
7969 # Check whether --enable-stc was given.
7970 if test "${enable_stc+set}" = set; then
7971 enableval=$enable_stc;
7972 if test "$enableval" = yes; then
7973 ac_cv_use_stc='wxUSE_STC=yes'
7974 else
7975 ac_cv_use_stc='wxUSE_STC=no'
7976 fi
7977
7978 else
7979
7980 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7981 if test "x$LINE" != x ; then
7982 eval "DEFAULT_$LINE"
7983 else
7984 no_cache=1
7985 fi
7986
7987 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
7988
7989 fi
7990
7991
7992 eval "$ac_cv_use_stc"
7993 if test "$no_cache" != 1; then
7994 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
7995 fi
7996
7997 if test "$wxUSE_STC" = yes; then
7998 { echo "$as_me:$LINENO: result: yes" >&5
7999 echo "${ECHO_T}yes" >&6; }
8000 else
8001 { echo "$as_me:$LINENO: result: no" >&5
8002 echo "${ECHO_T}no" >&6; }
8003 fi
8004
8005
8006 enablestring=
8007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8008 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8009 no_cache=0
8010 # Check whether --enable-constraints was given.
8011 if test "${enable_constraints+set}" = set; then
8012 enableval=$enable_constraints;
8013 if test "$enableval" = yes; then
8014 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8015 else
8016 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8017 fi
8018
8019 else
8020
8021 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8022 if test "x$LINE" != x ; then
8023 eval "DEFAULT_$LINE"
8024 else
8025 no_cache=1
8026 fi
8027
8028 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8029
8030 fi
8031
8032
8033 eval "$ac_cv_use_constraints"
8034 if test "$no_cache" != 1; then
8035 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8036 fi
8037
8038 if test "$wxUSE_CONSTRAINTS" = yes; then
8039 { echo "$as_me:$LINENO: result: yes" >&5
8040 echo "${ECHO_T}yes" >&6; }
8041 else
8042 { echo "$as_me:$LINENO: result: no" >&5
8043 echo "${ECHO_T}no" >&6; }
8044 fi
8045
8046
8047 enablestring=
8048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8050 no_cache=0
8051 # Check whether --enable-printarch was given.
8052 if test "${enable_printarch+set}" = set; then
8053 enableval=$enable_printarch;
8054 if test "$enableval" = yes; then
8055 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8056 else
8057 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8058 fi
8059
8060 else
8061
8062 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8063 if test "x$LINE" != x ; then
8064 eval "DEFAULT_$LINE"
8065 else
8066 no_cache=1
8067 fi
8068
8069 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8070
8071 fi
8072
8073
8074 eval "$ac_cv_use_printarch"
8075 if test "$no_cache" != 1; then
8076 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8077 fi
8078
8079 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8080 { echo "$as_me:$LINENO: result: yes" >&5
8081 echo "${ECHO_T}yes" >&6; }
8082 else
8083 { echo "$as_me:$LINENO: result: no" >&5
8084 echo "${ECHO_T}no" >&6; }
8085 fi
8086
8087
8088 enablestring=
8089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8090 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8091 no_cache=0
8092 # Check whether --enable-mdi was given.
8093 if test "${enable_mdi+set}" = set; then
8094 enableval=$enable_mdi;
8095 if test "$enableval" = yes; then
8096 ac_cv_use_mdi='wxUSE_MDI=yes'
8097 else
8098 ac_cv_use_mdi='wxUSE_MDI=no'
8099 fi
8100
8101 else
8102
8103 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8104 if test "x$LINE" != x ; then
8105 eval "DEFAULT_$LINE"
8106 else
8107 no_cache=1
8108 fi
8109
8110 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8111
8112 fi
8113
8114
8115 eval "$ac_cv_use_mdi"
8116 if test "$no_cache" != 1; then
8117 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8118 fi
8119
8120 if test "$wxUSE_MDI" = yes; then
8121 { echo "$as_me:$LINENO: result: yes" >&5
8122 echo "${ECHO_T}yes" >&6; }
8123 else
8124 { echo "$as_me:$LINENO: result: no" >&5
8125 echo "${ECHO_T}no" >&6; }
8126 fi
8127
8128
8129 enablestring=
8130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8131 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8132 no_cache=0
8133 # Check whether --enable-mdidoc was given.
8134 if test "${enable_mdidoc+set}" = set; then
8135 enableval=$enable_mdidoc;
8136 if test "$enableval" = yes; then
8137 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8138 else
8139 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8140 fi
8141
8142 else
8143
8144 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8145 if test "x$LINE" != x ; then
8146 eval "DEFAULT_$LINE"
8147 else
8148 no_cache=1
8149 fi
8150
8151 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8152
8153 fi
8154
8155
8156 eval "$ac_cv_use_mdidoc"
8157 if test "$no_cache" != 1; then
8158 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8159 fi
8160
8161 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8162 { echo "$as_me:$LINENO: result: yes" >&5
8163 echo "${ECHO_T}yes" >&6; }
8164 else
8165 { echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6; }
8167 fi
8168
8169
8170 enablestring=
8171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8173 no_cache=0
8174 # Check whether --enable-loggui was given.
8175 if test "${enable_loggui+set}" = set; then
8176 enableval=$enable_loggui;
8177 if test "$enableval" = yes; then
8178 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8179 else
8180 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8181 fi
8182
8183 else
8184
8185 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8186 if test "x$LINE" != x ; then
8187 eval "DEFAULT_$LINE"
8188 else
8189 no_cache=1
8190 fi
8191
8192 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8193
8194 fi
8195
8196
8197 eval "$ac_cv_use_loggui"
8198 if test "$no_cache" != 1; then
8199 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8200 fi
8201
8202 if test "$wxUSE_LOGGUI" = yes; then
8203 { echo "$as_me:$LINENO: result: yes" >&5
8204 echo "${ECHO_T}yes" >&6; }
8205 else
8206 { echo "$as_me:$LINENO: result: no" >&5
8207 echo "${ECHO_T}no" >&6; }
8208 fi
8209
8210
8211 enablestring=
8212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8214 no_cache=0
8215 # Check whether --enable-logwin was given.
8216 if test "${enable_logwin+set}" = set; then
8217 enableval=$enable_logwin;
8218 if test "$enableval" = yes; then
8219 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8220 else
8221 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8222 fi
8223
8224 else
8225
8226 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8227 if test "x$LINE" != x ; then
8228 eval "DEFAULT_$LINE"
8229 else
8230 no_cache=1
8231 fi
8232
8233 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8234
8235 fi
8236
8237
8238 eval "$ac_cv_use_logwin"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8241 fi
8242
8243 if test "$wxUSE_LOGWINDOW" = yes; then
8244 { echo "$as_me:$LINENO: result: yes" >&5
8245 echo "${ECHO_T}yes" >&6; }
8246 else
8247 { echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6; }
8249 fi
8250
8251
8252 enablestring=
8253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8254 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8255 no_cache=0
8256 # Check whether --enable-logdialog was given.
8257 if test "${enable_logdialog+set}" = set; then
8258 enableval=$enable_logdialog;
8259 if test "$enableval" = yes; then
8260 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8261 else
8262 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8263 fi
8264
8265 else
8266
8267 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8268 if test "x$LINE" != x ; then
8269 eval "DEFAULT_$LINE"
8270 else
8271 no_cache=1
8272 fi
8273
8274 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8275
8276 fi
8277
8278
8279 eval "$ac_cv_use_logdialog"
8280 if test "$no_cache" != 1; then
8281 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8282 fi
8283
8284 if test "$wxUSE_LOGDIALOG" = yes; then
8285 { echo "$as_me:$LINENO: result: yes" >&5
8286 echo "${ECHO_T}yes" >&6; }
8287 else
8288 { echo "$as_me:$LINENO: result: no" >&5
8289 echo "${ECHO_T}no" >&6; }
8290 fi
8291
8292
8293 enablestring=
8294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8295 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8296 no_cache=0
8297 # Check whether --enable-webkit was given.
8298 if test "${enable_webkit+set}" = set; then
8299 enableval=$enable_webkit;
8300 if test "$enableval" = yes; then
8301 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8302 else
8303 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8304 fi
8305
8306 else
8307
8308 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8309 if test "x$LINE" != x ; then
8310 eval "DEFAULT_$LINE"
8311 else
8312 no_cache=1
8313 fi
8314
8315 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8316
8317 fi
8318
8319
8320 eval "$ac_cv_use_webkit"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8323 fi
8324
8325 if test "$wxUSE_WEBKIT" = yes; then
8326 { echo "$as_me:$LINENO: result: yes" >&5
8327 echo "${ECHO_T}yes" >&6; }
8328 else
8329 { echo "$as_me:$LINENO: result: no" >&5
8330 echo "${ECHO_T}no" >&6; }
8331 fi
8332
8333
8334 enablestring=
8335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8336 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8337 no_cache=0
8338 # Check whether --enable-richtext was given.
8339 if test "${enable_richtext+set}" = set; then
8340 enableval=$enable_richtext;
8341 if test "$enableval" = yes; then
8342 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8343 else
8344 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8345 fi
8346
8347 else
8348
8349 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8350 if test "x$LINE" != x ; then
8351 eval "DEFAULT_$LINE"
8352 else
8353 no_cache=1
8354 fi
8355
8356 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8357
8358 fi
8359
8360
8361 eval "$ac_cv_use_richtext"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8364 fi
8365
8366 if test "$wxUSE_RICHTEXT" = yes; then
8367 { echo "$as_me:$LINENO: result: yes" >&5
8368 echo "${ECHO_T}yes" >&6; }
8369 else
8370 { echo "$as_me:$LINENO: result: no" >&5
8371 echo "${ECHO_T}no" >&6; }
8372 fi
8373
8374
8375 enablestring=
8376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8378 no_cache=0
8379 # Check whether --enable-graphics_ctx was given.
8380 if test "${enable_graphics_ctx+set}" = set; then
8381 enableval=$enable_graphics_ctx;
8382 if test "$enableval" = yes; then
8383 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8384 else
8385 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8386 fi
8387
8388 else
8389
8390 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8391 if test "x$LINE" != x ; then
8392 eval "DEFAULT_$LINE"
8393 else
8394 no_cache=1
8395 fi
8396
8397 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8398
8399 fi
8400
8401
8402 eval "$ac_cv_use_graphics_ctx"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8405 fi
8406
8407 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8408 { echo "$as_me:$LINENO: result: yes" >&5
8409 echo "${ECHO_T}yes" >&6; }
8410 else
8411 { echo "$as_me:$LINENO: result: no" >&5
8412 echo "${ECHO_T}no" >&6; }
8413 fi
8414
8415
8416
8417 enablestring=
8418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8419 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8420 no_cache=0
8421 # Check whether --enable-postscript was given.
8422 if test "${enable_postscript+set}" = set; then
8423 enableval=$enable_postscript;
8424 if test "$enableval" = yes; then
8425 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8426 else
8427 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8428 fi
8429
8430 else
8431
8432 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8433 if test "x$LINE" != x ; then
8434 eval "DEFAULT_$LINE"
8435 else
8436 no_cache=1
8437 fi
8438
8439 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8440
8441 fi
8442
8443
8444 eval "$ac_cv_use_postscript"
8445 if test "$no_cache" != 1; then
8446 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8447 fi
8448
8449 if test "$wxUSE_POSTSCRIPT" = yes; then
8450 { echo "$as_me:$LINENO: result: yes" >&5
8451 echo "${ECHO_T}yes" >&6; }
8452 else
8453 { echo "$as_me:$LINENO: result: no" >&5
8454 echo "${ECHO_T}no" >&6; }
8455 fi
8456
8457
8458
8459
8460
8461 enablestring=
8462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8463 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8464 no_cache=0
8465 # Check whether --enable-prologio was given.
8466 if test "${enable_prologio+set}" = set; then
8467 enableval=$enable_prologio;
8468 if test "$enableval" = yes; then
8469 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8470 else
8471 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8472 fi
8473
8474 else
8475
8476 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8477 if test "x$LINE" != x ; then
8478 eval "DEFAULT_$LINE"
8479 else
8480 no_cache=1
8481 fi
8482
8483 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8484
8485 fi
8486
8487
8488 eval "$ac_cv_use_prologio"
8489 if test "$no_cache" != 1; then
8490 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8491 fi
8492
8493 if test "$wxUSE_PROLOGIO" = yes; then
8494 { echo "$as_me:$LINENO: result: yes" >&5
8495 echo "${ECHO_T}yes" >&6; }
8496 else
8497 { echo "$as_me:$LINENO: result: no" >&5
8498 echo "${ECHO_T}no" >&6; }
8499 fi
8500
8501
8502 enablestring=
8503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8505 no_cache=0
8506 # Check whether --enable-resources was given.
8507 if test "${enable_resources+set}" = set; then
8508 enableval=$enable_resources;
8509 if test "$enableval" = yes; then
8510 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8511 else
8512 ac_cv_use_resources='wxUSE_RESOURCES=no'
8513 fi
8514
8515 else
8516
8517 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8518 if test "x$LINE" != x ; then
8519 eval "DEFAULT_$LINE"
8520 else
8521 no_cache=1
8522 fi
8523
8524 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8525
8526 fi
8527
8528
8529 eval "$ac_cv_use_resources"
8530 if test "$no_cache" != 1; then
8531 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8532 fi
8533
8534 if test "$wxUSE_RESOURCES" = yes; then
8535 { echo "$as_me:$LINENO: result: yes" >&5
8536 echo "${ECHO_T}yes" >&6; }
8537 else
8538 { echo "$as_me:$LINENO: result: no" >&5
8539 echo "${ECHO_T}no" >&6; }
8540 fi
8541
8542
8543
8544
8545 enablestring=
8546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8547 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8548 no_cache=0
8549 # Check whether --enable-clipboard was given.
8550 if test "${enable_clipboard+set}" = set; then
8551 enableval=$enable_clipboard;
8552 if test "$enableval" = yes; then
8553 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8554 else
8555 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8556 fi
8557
8558 else
8559
8560 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8561 if test "x$LINE" != x ; then
8562 eval "DEFAULT_$LINE"
8563 else
8564 no_cache=1
8565 fi
8566
8567 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8568
8569 fi
8570
8571
8572 eval "$ac_cv_use_clipboard"
8573 if test "$no_cache" != 1; then
8574 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8575 fi
8576
8577 if test "$wxUSE_CLIPBOARD" = yes; then
8578 { echo "$as_me:$LINENO: result: yes" >&5
8579 echo "${ECHO_T}yes" >&6; }
8580 else
8581 { echo "$as_me:$LINENO: result: no" >&5
8582 echo "${ECHO_T}no" >&6; }
8583 fi
8584
8585
8586 enablestring=
8587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8589 no_cache=0
8590 # Check whether --enable-dnd was given.
8591 if test "${enable_dnd+set}" = set; then
8592 enableval=$enable_dnd;
8593 if test "$enableval" = yes; then
8594 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8595 else
8596 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8597 fi
8598
8599 else
8600
8601 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x ; then
8603 eval "DEFAULT_$LINE"
8604 else
8605 no_cache=1
8606 fi
8607
8608 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8609
8610 fi
8611
8612
8613 eval "$ac_cv_use_dnd"
8614 if test "$no_cache" != 1; then
8615 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8616 fi
8617
8618 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8619 { echo "$as_me:$LINENO: result: yes" >&5
8620 echo "${ECHO_T}yes" >&6; }
8621 else
8622 { echo "$as_me:$LINENO: result: no" >&5
8623 echo "${ECHO_T}no" >&6; }
8624 fi
8625
8626
8627 enablestring=
8628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8629 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8630 no_cache=0
8631 # Check whether --enable-metafile was given.
8632 if test "${enable_metafile+set}" = set; then
8633 enableval=$enable_metafile;
8634 if test "$enableval" = yes; then
8635 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8636 else
8637 ac_cv_use_metafile='wxUSE_METAFILE=no'
8638 fi
8639
8640 else
8641
8642 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8643 if test "x$LINE" != x ; then
8644 eval "DEFAULT_$LINE"
8645 else
8646 no_cache=1
8647 fi
8648
8649 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8650
8651 fi
8652
8653
8654 eval "$ac_cv_use_metafile"
8655 if test "$no_cache" != 1; then
8656 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8657 fi
8658
8659 if test "$wxUSE_METAFILE" = yes; then
8660 { echo "$as_me:$LINENO: result: yes" >&5
8661 echo "${ECHO_T}yes" >&6; }
8662 else
8663 { echo "$as_me:$LINENO: result: no" >&5
8664 echo "${ECHO_T}no" >&6; }
8665 fi
8666
8667
8668
8669
8670
8671 enablestring=
8672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8673 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8674 no_cache=0
8675 # Check whether --enable-controls was given.
8676 if test "${enable_controls+set}" = set; then
8677 enableval=$enable_controls;
8678 if test "$enableval" = yes; then
8679 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8680 else
8681 ac_cv_use_controls='wxUSE_CONTROLS=no'
8682 fi
8683
8684 else
8685
8686 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8687 if test "x$LINE" != x ; then
8688 eval "DEFAULT_$LINE"
8689 else
8690 no_cache=1
8691 fi
8692
8693 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8694
8695 fi
8696
8697
8698 eval "$ac_cv_use_controls"
8699 if test "$no_cache" != 1; then
8700 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8701 fi
8702
8703 if test "$wxUSE_CONTROLS" = yes; then
8704 { echo "$as_me:$LINENO: result: yes" >&5
8705 echo "${ECHO_T}yes" >&6; }
8706 else
8707 { echo "$as_me:$LINENO: result: no" >&5
8708 echo "${ECHO_T}no" >&6; }
8709 fi
8710
8711
8712 if test "$wxUSE_CONTROLS" = "yes"; then
8713 DEFAULT_wxUSE_ACCEL=yes
8714 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8715 DEFAULT_wxUSE_BMPBUTTON=yes
8716 DEFAULT_wxUSE_BUTTON=yes
8717 DEFAULT_wxUSE_CALCTRL=yes
8718 DEFAULT_wxUSE_CARET=yes
8719 DEFAULT_wxUSE_COMBOBOX=yes
8720 DEFAULT_wxUSE_CHECKBOX=yes
8721 DEFAULT_wxUSE_CHECKLISTBOX=yes
8722 DEFAULT_wxUSE_CHOICE=yes
8723 DEFAULT_wxUSE_CHOICEBOOK=yes
8724 DEFAULT_wxUSE_COLLPANE=yes
8725 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8726 DEFAULT_wxUSE_COMBOBOX=yes
8727 DEFAULT_wxUSE_DATEPICKCTRL=yes
8728 DEFAULT_wxUSE_DISPLAY=yes
8729 DEFAULT_wxUSE_DETECT_SM=yes
8730 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8731 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8732 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8733 DEFAULT_wxUSE_GAUGE=yes
8734 DEFAULT_wxUSE_GRID=yes
8735 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8736 DEFAULT_wxUSE_DATAVIEWCTRL=no
8737 DEFAULT_wxUSE_IMAGLIST=yes
8738 DEFAULT_wxUSE_LISTBOOK=yes
8739 DEFAULT_wxUSE_LISTBOX=yes
8740 DEFAULT_wxUSE_LISTCTRL=yes
8741 DEFAULT_wxUSE_NOTEBOOK=yes
8742 DEFAULT_wxUSE_RADIOBOX=yes
8743 DEFAULT_wxUSE_RADIOBTN=yes
8744 DEFAULT_wxUSE_SASH=yes
8745 DEFAULT_wxUSE_SCROLLBAR=yes
8746 DEFAULT_wxUSE_SEARCHCTRL=yes
8747 DEFAULT_wxUSE_SLIDER=yes
8748 DEFAULT_wxUSE_SPINBTN=yes
8749 DEFAULT_wxUSE_SPINCTRL=yes
8750 DEFAULT_wxUSE_SPLITTER=yes
8751 DEFAULT_wxUSE_STATBMP=yes
8752 DEFAULT_wxUSE_STATBOX=yes
8753 DEFAULT_wxUSE_STATLINE=yes
8754 DEFAULT_wxUSE_STATUSBAR=yes
8755 DEFAULT_wxUSE_TAB_DIALOG=yes
8756 DEFAULT_wxUSE_TOGGLEBTN=yes
8757 DEFAULT_wxUSE_TOOLBAR=yes
8758 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8759 DEFAULT_wxUSE_TOOLTIPS=yes
8760 DEFAULT_wxUSE_TREEBOOK=yes
8761 DEFAULT_wxUSE_TOOLBOOK=yes
8762 DEFAULT_wxUSE_TREECTRL=yes
8763 DEFAULT_wxUSE_POPUPWIN=yes
8764 DEFAULT_wxUSE_TIPWINDOW=yes
8765 elif test "$wxUSE_CONTROLS" = "no"; then
8766 DEFAULT_wxUSE_ACCEL=no
8767 DEFAULT_wxUSE_ANIMATIONCTRL=no
8768 DEFAULT_wxUSE_BMPBUTTON=no
8769 DEFAULT_wxUSE_BUTTON=no
8770 DEFAULT_wxUSE_CALCTRL=no
8771 DEFAULT_wxUSE_CARET=no
8772 DEFAULT_wxUSE_COLLPANE=no
8773 DEFAULT_wxUSE_COMBOBOX=no
8774 DEFAULT_wxUSE_CHECKBOX=no
8775 DEFAULT_wxUSE_CHECKLISTBOX=no
8776 DEFAULT_wxUSE_CHOICE=no
8777 DEFAULT_wxUSE_CHOICEBOOK=no
8778 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8779 DEFAULT_wxUSE_COMBOBOX=no
8780 DEFAULT_wxUSE_DATEPICKCTRL=no
8781 DEFAULT_wxUSE_DISPLAY=no
8782 DEFAULT_wxUSE_DETECT_SM=no
8783 DEFAULT_wxUSE_DIRPICKERCTRL=no
8784 DEFAULT_wxUSE_FILEPICKERCTRL=no
8785 DEFAULT_wxUSE_FONTPICKERCTRL=no
8786 DEFAULT_wxUSE_GAUGE=no
8787 DEFAULT_wxUSE_GRID=no
8788 DEFAULT_wxUSE_HYPERLINKCTRL=no
8789 DEFAULT_wxUSE_DATAVIEWCTRL=no
8790 DEFAULT_wxUSE_IMAGLIST=no
8791 DEFAULT_wxUSE_LISTBOOK=no
8792 DEFAULT_wxUSE_LISTBOX=no
8793 DEFAULT_wxUSE_LISTCTRL=no
8794 DEFAULT_wxUSE_NOTEBOOK=no
8795 DEFAULT_wxUSE_RADIOBOX=no
8796 DEFAULT_wxUSE_RADIOBTN=no
8797 DEFAULT_wxUSE_SASH=no
8798 DEFAULT_wxUSE_SCROLLBAR=no
8799 DEFAULT_wxUSE_SEARCHCTRL=no
8800 DEFAULT_wxUSE_SLIDER=no
8801 DEFAULT_wxUSE_SPINBTN=no
8802 DEFAULT_wxUSE_SPINCTRL=no
8803 DEFAULT_wxUSE_SPLITTER=no
8804 DEFAULT_wxUSE_STATBMP=no
8805 DEFAULT_wxUSE_STATBOX=no
8806 DEFAULT_wxUSE_STATLINE=no
8807 DEFAULT_wxUSE_STATUSBAR=no
8808 DEFAULT_wxUSE_TAB_DIALOG=no
8809 DEFAULT_wxUSE_TOGGLEBTN=no
8810 DEFAULT_wxUSE_TOOLBAR=no
8811 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8812 DEFAULT_wxUSE_TOOLTIPS=no
8813 DEFAULT_wxUSE_TREEBOOK=no
8814 DEFAULT_wxUSE_TOOLBOOK=no
8815 DEFAULT_wxUSE_TREECTRL=no
8816 DEFAULT_wxUSE_POPUPWIN=no
8817 DEFAULT_wxUSE_TIPWINDOW=no
8818 fi
8819
8820
8821 enablestring=
8822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8823 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8824 no_cache=0
8825 # Check whether --enable-accel was given.
8826 if test "${enable_accel+set}" = set; then
8827 enableval=$enable_accel;
8828 if test "$enableval" = yes; then
8829 ac_cv_use_accel='wxUSE_ACCEL=yes'
8830 else
8831 ac_cv_use_accel='wxUSE_ACCEL=no'
8832 fi
8833
8834 else
8835
8836 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8839 else
8840 no_cache=1
8841 fi
8842
8843 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8844
8845 fi
8846
8847
8848 eval "$ac_cv_use_accel"
8849 if test "$no_cache" != 1; then
8850 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8851 fi
8852
8853 if test "$wxUSE_ACCEL" = yes; then
8854 { echo "$as_me:$LINENO: result: yes" >&5
8855 echo "${ECHO_T}yes" >&6; }
8856 else
8857 { echo "$as_me:$LINENO: result: no" >&5
8858 echo "${ECHO_T}no" >&6; }
8859 fi
8860
8861
8862 enablestring=
8863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8864 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8865 no_cache=0
8866 # Check whether --enable-animatectrl was given.
8867 if test "${enable_animatectrl+set}" = set; then
8868 enableval=$enable_animatectrl;
8869 if test "$enableval" = yes; then
8870 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8871 else
8872 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8873 fi
8874
8875 else
8876
8877 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8878 if test "x$LINE" != x ; then
8879 eval "DEFAULT_$LINE"
8880 else
8881 no_cache=1
8882 fi
8883
8884 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8885
8886 fi
8887
8888
8889 eval "$ac_cv_use_animatectrl"
8890 if test "$no_cache" != 1; then
8891 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8892 fi
8893
8894 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8895 { echo "$as_me:$LINENO: result: yes" >&5
8896 echo "${ECHO_T}yes" >&6; }
8897 else
8898 { echo "$as_me:$LINENO: result: no" >&5
8899 echo "${ECHO_T}no" >&6; }
8900 fi
8901
8902
8903 enablestring=
8904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8905 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8906 no_cache=0
8907 # Check whether --enable-button was given.
8908 if test "${enable_button+set}" = set; then
8909 enableval=$enable_button;
8910 if test "$enableval" = yes; then
8911 ac_cv_use_button='wxUSE_BUTTON=yes'
8912 else
8913 ac_cv_use_button='wxUSE_BUTTON=no'
8914 fi
8915
8916 else
8917
8918 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8919 if test "x$LINE" != x ; then
8920 eval "DEFAULT_$LINE"
8921 else
8922 no_cache=1
8923 fi
8924
8925 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8926
8927 fi
8928
8929
8930 eval "$ac_cv_use_button"
8931 if test "$no_cache" != 1; then
8932 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8933 fi
8934
8935 if test "$wxUSE_BUTTON" = yes; then
8936 { echo "$as_me:$LINENO: result: yes" >&5
8937 echo "${ECHO_T}yes" >&6; }
8938 else
8939 { echo "$as_me:$LINENO: result: no" >&5
8940 echo "${ECHO_T}no" >&6; }
8941 fi
8942
8943
8944 enablestring=
8945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8946 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8947 no_cache=0
8948 # Check whether --enable-bmpbutton was given.
8949 if test "${enable_bmpbutton+set}" = set; then
8950 enableval=$enable_bmpbutton;
8951 if test "$enableval" = yes; then
8952 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8953 else
8954 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8955 fi
8956
8957 else
8958
8959 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8960 if test "x$LINE" != x ; then
8961 eval "DEFAULT_$LINE"
8962 else
8963 no_cache=1
8964 fi
8965
8966 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8967
8968 fi
8969
8970
8971 eval "$ac_cv_use_bmpbutton"
8972 if test "$no_cache" != 1; then
8973 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8974 fi
8975
8976 if test "$wxUSE_BMPBUTTON" = yes; then
8977 { echo "$as_me:$LINENO: result: yes" >&5
8978 echo "${ECHO_T}yes" >&6; }
8979 else
8980 { echo "$as_me:$LINENO: result: no" >&5
8981 echo "${ECHO_T}no" >&6; }
8982 fi
8983
8984
8985 enablestring=
8986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8987 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8988 no_cache=0
8989 # Check whether --enable-bmpcombobox was given.
8990 if test "${enable_bmpcombobox+set}" = set; then
8991 enableval=$enable_bmpcombobox;
8992 if test "$enableval" = yes; then
8993 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8994 else
8995 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8996 fi
8997
8998 else
8999
9000 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x ; then
9002 eval "DEFAULT_$LINE"
9003 else
9004 no_cache=1
9005 fi
9006
9007 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9008
9009 fi
9010
9011
9012 eval "$ac_cv_use_bmpcombobox"
9013 if test "$no_cache" != 1; then
9014 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9015 fi
9016
9017 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9018 { echo "$as_me:$LINENO: result: yes" >&5
9019 echo "${ECHO_T}yes" >&6; }
9020 else
9021 { echo "$as_me:$LINENO: result: no" >&5
9022 echo "${ECHO_T}no" >&6; }
9023 fi
9024
9025
9026 enablestring=
9027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9028 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9029 no_cache=0
9030 # Check whether --enable-calendar was given.
9031 if test "${enable_calendar+set}" = set; then
9032 enableval=$enable_calendar;
9033 if test "$enableval" = yes; then
9034 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9035 else
9036 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9037 fi
9038
9039 else
9040
9041 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x ; then
9043 eval "DEFAULT_$LINE"
9044 else
9045 no_cache=1
9046 fi
9047
9048 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9049
9050 fi
9051
9052
9053 eval "$ac_cv_use_calendar"
9054 if test "$no_cache" != 1; then
9055 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9056 fi
9057
9058 if test "$wxUSE_CALCTRL" = yes; then
9059 { echo "$as_me:$LINENO: result: yes" >&5
9060 echo "${ECHO_T}yes" >&6; }
9061 else
9062 { echo "$as_me:$LINENO: result: no" >&5
9063 echo "${ECHO_T}no" >&6; }
9064 fi
9065
9066
9067 enablestring=
9068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9069 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9070 no_cache=0
9071 # Check whether --enable-caret was given.
9072 if test "${enable_caret+set}" = set; then
9073 enableval=$enable_caret;
9074 if test "$enableval" = yes; then
9075 ac_cv_use_caret='wxUSE_CARET=yes'
9076 else
9077 ac_cv_use_caret='wxUSE_CARET=no'
9078 fi
9079
9080 else
9081
9082 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9083 if test "x$LINE" != x ; then
9084 eval "DEFAULT_$LINE"
9085 else
9086 no_cache=1
9087 fi
9088
9089 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9090
9091 fi
9092
9093
9094 eval "$ac_cv_use_caret"
9095 if test "$no_cache" != 1; then
9096 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9097 fi
9098
9099 if test "$wxUSE_CARET" = yes; then
9100 { echo "$as_me:$LINENO: result: yes" >&5
9101 echo "${ECHO_T}yes" >&6; }
9102 else
9103 { echo "$as_me:$LINENO: result: no" >&5
9104 echo "${ECHO_T}no" >&6; }
9105 fi
9106
9107
9108 enablestring=
9109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9110 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9111 no_cache=0
9112 # Check whether --enable-checkbox was given.
9113 if test "${enable_checkbox+set}" = set; then
9114 enableval=$enable_checkbox;
9115 if test "$enableval" = yes; then
9116 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9117 else
9118 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9119 fi
9120
9121 else
9122
9123 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9124 if test "x$LINE" != x ; then
9125 eval "DEFAULT_$LINE"
9126 else
9127 no_cache=1
9128 fi
9129
9130 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9131
9132 fi
9133
9134
9135 eval "$ac_cv_use_checkbox"
9136 if test "$no_cache" != 1; then
9137 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9138 fi
9139
9140 if test "$wxUSE_CHECKBOX" = yes; then
9141 { echo "$as_me:$LINENO: result: yes" >&5
9142 echo "${ECHO_T}yes" >&6; }
9143 else
9144 { echo "$as_me:$LINENO: result: no" >&5
9145 echo "${ECHO_T}no" >&6; }
9146 fi
9147
9148
9149 enablestring=
9150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9151 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9152 no_cache=0
9153 # Check whether --enable-checklst was given.
9154 if test "${enable_checklst+set}" = set; then
9155 enableval=$enable_checklst;
9156 if test "$enableval" = yes; then
9157 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9158 else
9159 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9160 fi
9161
9162 else
9163
9164 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9165 if test "x$LINE" != x ; then
9166 eval "DEFAULT_$LINE"
9167 else
9168 no_cache=1
9169 fi
9170
9171 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9172
9173 fi
9174
9175
9176 eval "$ac_cv_use_checklst"
9177 if test "$no_cache" != 1; then
9178 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9179 fi
9180
9181 if test "$wxUSE_CHECKLST" = yes; then
9182 { echo "$as_me:$LINENO: result: yes" >&5
9183 echo "${ECHO_T}yes" >&6; }
9184 else
9185 { echo "$as_me:$LINENO: result: no" >&5
9186 echo "${ECHO_T}no" >&6; }
9187 fi
9188
9189
9190 enablestring=
9191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9192 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9193 no_cache=0
9194 # Check whether --enable-choice was given.
9195 if test "${enable_choice+set}" = set; then
9196 enableval=$enable_choice;
9197 if test "$enableval" = yes; then
9198 ac_cv_use_choice='wxUSE_CHOICE=yes'
9199 else
9200 ac_cv_use_choice='wxUSE_CHOICE=no'
9201 fi
9202
9203 else
9204
9205 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9206 if test "x$LINE" != x ; then
9207 eval "DEFAULT_$LINE"
9208 else
9209 no_cache=1
9210 fi
9211
9212 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9213
9214 fi
9215
9216
9217 eval "$ac_cv_use_choice"
9218 if test "$no_cache" != 1; then
9219 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9220 fi
9221
9222 if test "$wxUSE_CHOICE" = yes; then
9223 { echo "$as_me:$LINENO: result: yes" >&5
9224 echo "${ECHO_T}yes" >&6; }
9225 else
9226 { echo "$as_me:$LINENO: result: no" >&5
9227 echo "${ECHO_T}no" >&6; }
9228 fi
9229
9230
9231 enablestring=
9232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9233 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9234 no_cache=0
9235 # Check whether --enable-choicebook was given.
9236 if test "${enable_choicebook+set}" = set; then
9237 enableval=$enable_choicebook;
9238 if test "$enableval" = yes; then
9239 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9240 else
9241 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9242 fi
9243
9244 else
9245
9246 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9247 if test "x$LINE" != x ; then
9248 eval "DEFAULT_$LINE"
9249 else
9250 no_cache=1
9251 fi
9252
9253 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9254
9255 fi
9256
9257
9258 eval "$ac_cv_use_choicebook"
9259 if test "$no_cache" != 1; then
9260 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9261 fi
9262
9263 if test "$wxUSE_CHOICEBOOK" = yes; then
9264 { echo "$as_me:$LINENO: result: yes" >&5
9265 echo "${ECHO_T}yes" >&6; }
9266 else
9267 { echo "$as_me:$LINENO: result: no" >&5
9268 echo "${ECHO_T}no" >&6; }
9269 fi
9270
9271
9272 enablestring=
9273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9274 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9275 no_cache=0
9276 # Check whether --enable-collpane was given.
9277 if test "${enable_collpane+set}" = set; then
9278 enableval=$enable_collpane;
9279 if test "$enableval" = yes; then
9280 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9281 else
9282 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9283 fi
9284
9285 else
9286
9287 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9288 if test "x$LINE" != x ; then
9289 eval "DEFAULT_$LINE"
9290 else
9291 no_cache=1
9292 fi
9293
9294 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9295
9296 fi
9297
9298
9299 eval "$ac_cv_use_collpane"
9300 if test "$no_cache" != 1; then
9301 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9302 fi
9303
9304 if test "$wxUSE_COLLPANE" = yes; then
9305 { echo "$as_me:$LINENO: result: yes" >&5
9306 echo "${ECHO_T}yes" >&6; }
9307 else
9308 { echo "$as_me:$LINENO: result: no" >&5
9309 echo "${ECHO_T}no" >&6; }
9310 fi
9311
9312
9313 enablestring=
9314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9315 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9316 no_cache=0
9317 # Check whether --enable-colourpicker was given.
9318 if test "${enable_colourpicker+set}" = set; then
9319 enableval=$enable_colourpicker;
9320 if test "$enableval" = yes; then
9321 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9322 else
9323 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9324 fi
9325
9326 else
9327
9328 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9329 if test "x$LINE" != x ; then
9330 eval "DEFAULT_$LINE"
9331 else
9332 no_cache=1
9333 fi
9334
9335 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9336
9337 fi
9338
9339
9340 eval "$ac_cv_use_colourpicker"
9341 if test "$no_cache" != 1; then
9342 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9343 fi
9344
9345 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9346 { echo "$as_me:$LINENO: result: yes" >&5
9347 echo "${ECHO_T}yes" >&6; }
9348 else
9349 { echo "$as_me:$LINENO: result: no" >&5
9350 echo "${ECHO_T}no" >&6; }
9351 fi
9352
9353
9354 enablestring=
9355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9356 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9357 no_cache=0
9358 # Check whether --enable-combobox was given.
9359 if test "${enable_combobox+set}" = set; then
9360 enableval=$enable_combobox;
9361 if test "$enableval" = yes; then
9362 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9363 else
9364 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9365 fi
9366
9367 else
9368
9369 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9370 if test "x$LINE" != x ; then
9371 eval "DEFAULT_$LINE"
9372 else
9373 no_cache=1
9374 fi
9375
9376 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9377
9378 fi
9379
9380
9381 eval "$ac_cv_use_combobox"
9382 if test "$no_cache" != 1; then
9383 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9384 fi
9385
9386 if test "$wxUSE_COMBOBOX" = yes; then
9387 { echo "$as_me:$LINENO: result: yes" >&5
9388 echo "${ECHO_T}yes" >&6; }
9389 else
9390 { echo "$as_me:$LINENO: result: no" >&5
9391 echo "${ECHO_T}no" >&6; }
9392 fi
9393
9394
9395 enablestring=
9396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9397 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9398 no_cache=0
9399 # Check whether --enable-comboctrl was given.
9400 if test "${enable_comboctrl+set}" = set; then
9401 enableval=$enable_comboctrl;
9402 if test "$enableval" = yes; then
9403 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9404 else
9405 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9406 fi
9407
9408 else
9409
9410 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9411 if test "x$LINE" != x ; then
9412 eval "DEFAULT_$LINE"
9413 else
9414 no_cache=1
9415 fi
9416
9417 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9418
9419 fi
9420
9421
9422 eval "$ac_cv_use_comboctrl"
9423 if test "$no_cache" != 1; then
9424 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9425 fi
9426
9427 if test "$wxUSE_COMBOCTRL" = yes; then
9428 { echo "$as_me:$LINENO: result: yes" >&5
9429 echo "${ECHO_T}yes" >&6; }
9430 else
9431 { echo "$as_me:$LINENO: result: no" >&5
9432 echo "${ECHO_T}no" >&6; }
9433 fi
9434
9435
9436 enablestring=
9437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9439 no_cache=0
9440 # Check whether --enable-datepick was given.
9441 if test "${enable_datepick+set}" = set; then
9442 enableval=$enable_datepick;
9443 if test "$enableval" = yes; then
9444 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9445 else
9446 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9447 fi
9448
9449 else
9450
9451 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9452 if test "x$LINE" != x ; then
9453 eval "DEFAULT_$LINE"
9454 else
9455 no_cache=1
9456 fi
9457
9458 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9459
9460 fi
9461
9462
9463 eval "$ac_cv_use_datepick"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9466 fi
9467
9468 if test "$wxUSE_DATEPICKCTRL" = yes; then
9469 { echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6; }
9471 else
9472 { echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6; }
9474 fi
9475
9476
9477 enablestring=
9478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9480 no_cache=0
9481 # Check whether --enable-dirpicker was given.
9482 if test "${enable_dirpicker+set}" = set; then
9483 enableval=$enable_dirpicker;
9484 if test "$enableval" = yes; then
9485 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9486 else
9487 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9488 fi
9489
9490 else
9491
9492 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9493 if test "x$LINE" != x ; then
9494 eval "DEFAULT_$LINE"
9495 else
9496 no_cache=1
9497 fi
9498
9499 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9500
9501 fi
9502
9503
9504 eval "$ac_cv_use_dirpicker"
9505 if test "$no_cache" != 1; then
9506 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9507 fi
9508
9509 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9510 { echo "$as_me:$LINENO: result: yes" >&5
9511 echo "${ECHO_T}yes" >&6; }
9512 else
9513 { echo "$as_me:$LINENO: result: no" >&5
9514 echo "${ECHO_T}no" >&6; }
9515 fi
9516
9517
9518 enablestring=
9519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9520 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9521 no_cache=0
9522 # Check whether --enable-display was given.
9523 if test "${enable_display+set}" = set; then
9524 enableval=$enable_display;
9525 if test "$enableval" = yes; then
9526 ac_cv_use_display='wxUSE_DISPLAY=yes'
9527 else
9528 ac_cv_use_display='wxUSE_DISPLAY=no'
9529 fi
9530
9531 else
9532
9533 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9534 if test "x$LINE" != x ; then
9535 eval "DEFAULT_$LINE"
9536 else
9537 no_cache=1
9538 fi
9539
9540 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9541
9542 fi
9543
9544
9545 eval "$ac_cv_use_display"
9546 if test "$no_cache" != 1; then
9547 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9548 fi
9549
9550 if test "$wxUSE_DISPLAY" = yes; then
9551 { echo "$as_me:$LINENO: result: yes" >&5
9552 echo "${ECHO_T}yes" >&6; }
9553 else
9554 { echo "$as_me:$LINENO: result: no" >&5
9555 echo "${ECHO_T}no" >&6; }
9556 fi
9557
9558
9559 enablestring=
9560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9561 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9562 no_cache=0
9563 # Check whether --enable-detect_sm was given.
9564 if test "${enable_detect_sm+set}" = set; then
9565 enableval=$enable_detect_sm;
9566 if test "$enableval" = yes; then
9567 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9568 else
9569 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9570 fi
9571
9572 else
9573
9574 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9575 if test "x$LINE" != x ; then
9576 eval "DEFAULT_$LINE"
9577 else
9578 no_cache=1
9579 fi
9580
9581 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9582
9583 fi
9584
9585
9586 eval "$ac_cv_use_detect_sm"
9587 if test "$no_cache" != 1; then
9588 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9589 fi
9590
9591 if test "$wxUSE_DETECT_SM" = yes; then
9592 { echo "$as_me:$LINENO: result: yes" >&5
9593 echo "${ECHO_T}yes" >&6; }
9594 else
9595 { echo "$as_me:$LINENO: result: no" >&5
9596 echo "${ECHO_T}no" >&6; }
9597 fi
9598
9599
9600 enablestring=
9601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9603 no_cache=0
9604 # Check whether --enable-filepicker was given.
9605 if test "${enable_filepicker+set}" = set; then
9606 enableval=$enable_filepicker;
9607 if test "$enableval" = yes; then
9608 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9609 else
9610 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9611 fi
9612
9613 else
9614
9615 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x ; then
9617 eval "DEFAULT_$LINE"
9618 else
9619 no_cache=1
9620 fi
9621
9622 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9623
9624 fi
9625
9626
9627 eval "$ac_cv_use_filepicker"
9628 if test "$no_cache" != 1; then
9629 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9630 fi
9631
9632 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9633 { echo "$as_me:$LINENO: result: yes" >&5
9634 echo "${ECHO_T}yes" >&6; }
9635 else
9636 { echo "$as_me:$LINENO: result: no" >&5
9637 echo "${ECHO_T}no" >&6; }
9638 fi
9639
9640
9641 enablestring=
9642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9644 no_cache=0
9645 # Check whether --enable-fontpicker was given.
9646 if test "${enable_fontpicker+set}" = set; then
9647 enableval=$enable_fontpicker;
9648 if test "$enableval" = yes; then
9649 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9650 else
9651 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9652 fi
9653
9654 else
9655
9656 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x ; then
9658 eval "DEFAULT_$LINE"
9659 else
9660 no_cache=1
9661 fi
9662
9663 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9664
9665 fi
9666
9667
9668 eval "$ac_cv_use_fontpicker"
9669 if test "$no_cache" != 1; then
9670 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9671 fi
9672
9673 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9674 { echo "$as_me:$LINENO: result: yes" >&5
9675 echo "${ECHO_T}yes" >&6; }
9676 else
9677 { echo "$as_me:$LINENO: result: no" >&5
9678 echo "${ECHO_T}no" >&6; }
9679 fi
9680
9681
9682 enablestring=
9683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9685 no_cache=0
9686 # Check whether --enable-gauge was given.
9687 if test "${enable_gauge+set}" = set; then
9688 enableval=$enable_gauge;
9689 if test "$enableval" = yes; then
9690 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9691 else
9692 ac_cv_use_gauge='wxUSE_GAUGE=no'
9693 fi
9694
9695 else
9696
9697 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x ; then
9699 eval "DEFAULT_$LINE"
9700 else
9701 no_cache=1
9702 fi
9703
9704 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9705
9706 fi
9707
9708
9709 eval "$ac_cv_use_gauge"
9710 if test "$no_cache" != 1; then
9711 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9712 fi
9713
9714 if test "$wxUSE_GAUGE" = yes; then
9715 { echo "$as_me:$LINENO: result: yes" >&5
9716 echo "${ECHO_T}yes" >&6; }
9717 else
9718 { echo "$as_me:$LINENO: result: no" >&5
9719 echo "${ECHO_T}no" >&6; }
9720 fi
9721
9722
9723 enablestring=
9724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9725 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9726 no_cache=0
9727 # Check whether --enable-grid was given.
9728 if test "${enable_grid+set}" = set; then
9729 enableval=$enable_grid;
9730 if test "$enableval" = yes; then
9731 ac_cv_use_grid='wxUSE_GRID=yes'
9732 else
9733 ac_cv_use_grid='wxUSE_GRID=no'
9734 fi
9735
9736 else
9737
9738 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x ; then
9740 eval "DEFAULT_$LINE"
9741 else
9742 no_cache=1
9743 fi
9744
9745 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9746
9747 fi
9748
9749
9750 eval "$ac_cv_use_grid"
9751 if test "$no_cache" != 1; then
9752 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9753 fi
9754
9755 if test "$wxUSE_GRID" = yes; then
9756 { echo "$as_me:$LINENO: result: yes" >&5
9757 echo "${ECHO_T}yes" >&6; }
9758 else
9759 { echo "$as_me:$LINENO: result: no" >&5
9760 echo "${ECHO_T}no" >&6; }
9761 fi
9762
9763
9764 enablestring=
9765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9766 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9767 no_cache=0
9768 # Check whether --enable-dataviewctrl was given.
9769 if test "${enable_dataviewctrl+set}" = set; then
9770 enableval=$enable_dataviewctrl;
9771 if test "$enableval" = yes; then
9772 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9773 else
9774 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9775 fi
9776
9777 else
9778
9779 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9780 if test "x$LINE" != x ; then
9781 eval "DEFAULT_$LINE"
9782 else
9783 no_cache=1
9784 fi
9785
9786 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9787
9788 fi
9789
9790
9791 eval "$ac_cv_use_dataviewctrl"
9792 if test "$no_cache" != 1; then
9793 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9794 fi
9795
9796 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9797 { echo "$as_me:$LINENO: result: yes" >&5
9798 echo "${ECHO_T}yes" >&6; }
9799 else
9800 { echo "$as_me:$LINENO: result: no" >&5
9801 echo "${ECHO_T}no" >&6; }
9802 fi
9803
9804
9805 enablestring=
9806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9808 no_cache=0
9809 # Check whether --enable-hyperlink was given.
9810 if test "${enable_hyperlink+set}" = set; then
9811 enableval=$enable_hyperlink;
9812 if test "$enableval" = yes; then
9813 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9814 else
9815 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9816 fi
9817
9818 else
9819
9820 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x ; then
9822 eval "DEFAULT_$LINE"
9823 else
9824 no_cache=1
9825 fi
9826
9827 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9828
9829 fi
9830
9831
9832 eval "$ac_cv_use_hyperlink"
9833 if test "$no_cache" != 1; then
9834 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9835 fi
9836
9837 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9838 { echo "$as_me:$LINENO: result: yes" >&5
9839 echo "${ECHO_T}yes" >&6; }
9840 else
9841 { echo "$as_me:$LINENO: result: no" >&5
9842 echo "${ECHO_T}no" >&6; }
9843 fi
9844
9845
9846 enablestring=
9847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9849 no_cache=0
9850 # Check whether --enable-imaglist was given.
9851 if test "${enable_imaglist+set}" = set; then
9852 enableval=$enable_imaglist;
9853 if test "$enableval" = yes; then
9854 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9855 else
9856 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9857 fi
9858
9859 else
9860
9861 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x ; then
9863 eval "DEFAULT_$LINE"
9864 else
9865 no_cache=1
9866 fi
9867
9868 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9869
9870 fi
9871
9872
9873 eval "$ac_cv_use_imaglist"
9874 if test "$no_cache" != 1; then
9875 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9876 fi
9877
9878 if test "$wxUSE_IMAGLIST" = yes; then
9879 { echo "$as_me:$LINENO: result: yes" >&5
9880 echo "${ECHO_T}yes" >&6; }
9881 else
9882 { echo "$as_me:$LINENO: result: no" >&5
9883 echo "${ECHO_T}no" >&6; }
9884 fi
9885
9886
9887 enablestring=
9888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9890 no_cache=0
9891 # Check whether --enable-listbook was given.
9892 if test "${enable_listbook+set}" = set; then
9893 enableval=$enable_listbook;
9894 if test "$enableval" = yes; then
9895 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9896 else
9897 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9898 fi
9899
9900 else
9901
9902 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9903 if test "x$LINE" != x ; then
9904 eval "DEFAULT_$LINE"
9905 else
9906 no_cache=1
9907 fi
9908
9909 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9910
9911 fi
9912
9913
9914 eval "$ac_cv_use_listbook"
9915 if test "$no_cache" != 1; then
9916 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9917 fi
9918
9919 if test "$wxUSE_LISTBOOK" = yes; then
9920 { echo "$as_me:$LINENO: result: yes" >&5
9921 echo "${ECHO_T}yes" >&6; }
9922 else
9923 { echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6; }
9925 fi
9926
9927
9928 enablestring=
9929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9930 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9931 no_cache=0
9932 # Check whether --enable-listbox was given.
9933 if test "${enable_listbox+set}" = set; then
9934 enableval=$enable_listbox;
9935 if test "$enableval" = yes; then
9936 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9937 else
9938 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9939 fi
9940
9941 else
9942
9943 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9944 if test "x$LINE" != x ; then
9945 eval "DEFAULT_$LINE"
9946 else
9947 no_cache=1
9948 fi
9949
9950 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9951
9952 fi
9953
9954
9955 eval "$ac_cv_use_listbox"
9956 if test "$no_cache" != 1; then
9957 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9958 fi
9959
9960 if test "$wxUSE_LISTBOX" = yes; then
9961 { echo "$as_me:$LINENO: result: yes" >&5
9962 echo "${ECHO_T}yes" >&6; }
9963 else
9964 { echo "$as_me:$LINENO: result: no" >&5
9965 echo "${ECHO_T}no" >&6; }
9966 fi
9967
9968
9969 enablestring=
9970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9971 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9972 no_cache=0
9973 # Check whether --enable-listctrl was given.
9974 if test "${enable_listctrl+set}" = set; then
9975 enableval=$enable_listctrl;
9976 if test "$enableval" = yes; then
9977 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9978 else
9979 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9980 fi
9981
9982 else
9983
9984 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9985 if test "x$LINE" != x ; then
9986 eval "DEFAULT_$LINE"
9987 else
9988 no_cache=1
9989 fi
9990
9991 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9992
9993 fi
9994
9995
9996 eval "$ac_cv_use_listctrl"
9997 if test "$no_cache" != 1; then
9998 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9999 fi
10000
10001 if test "$wxUSE_LISTCTRL" = yes; then
10002 { echo "$as_me:$LINENO: result: yes" >&5
10003 echo "${ECHO_T}yes" >&6; }
10004 else
10005 { echo "$as_me:$LINENO: result: no" >&5
10006 echo "${ECHO_T}no" >&6; }
10007 fi
10008
10009
10010 enablestring=
10011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10012 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10013 no_cache=0
10014 # Check whether --enable-notebook was given.
10015 if test "${enable_notebook+set}" = set; then
10016 enableval=$enable_notebook;
10017 if test "$enableval" = yes; then
10018 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10019 else
10020 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10021 fi
10022
10023 else
10024
10025 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
10026 if test "x$LINE" != x ; then
10027 eval "DEFAULT_$LINE"
10028 else
10029 no_cache=1
10030 fi
10031
10032 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10033
10034 fi
10035
10036
10037 eval "$ac_cv_use_notebook"
10038 if test "$no_cache" != 1; then
10039 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10040 fi
10041
10042 if test "$wxUSE_NOTEBOOK" = yes; then
10043 { echo "$as_me:$LINENO: result: yes" >&5
10044 echo "${ECHO_T}yes" >&6; }
10045 else
10046 { echo "$as_me:$LINENO: result: no" >&5
10047 echo "${ECHO_T}no" >&6; }
10048 fi
10049
10050
10051 enablestring=
10052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10053 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10054 no_cache=0
10055 # Check whether --enable-odcombobox was given.
10056 if test "${enable_odcombobox+set}" = set; then
10057 enableval=$enable_odcombobox;
10058 if test "$enableval" = yes; then
10059 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10060 else
10061 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10062 fi
10063
10064 else
10065
10066 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10067 if test "x$LINE" != x ; then
10068 eval "DEFAULT_$LINE"
10069 else
10070 no_cache=1
10071 fi
10072
10073 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10074
10075 fi
10076
10077
10078 eval "$ac_cv_use_odcombobox"
10079 if test "$no_cache" != 1; then
10080 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10081 fi
10082
10083 if test "$wxUSE_ODCOMBOBOX" = yes; then
10084 { echo "$as_me:$LINENO: result: yes" >&5
10085 echo "${ECHO_T}yes" >&6; }
10086 else
10087 { echo "$as_me:$LINENO: result: no" >&5
10088 echo "${ECHO_T}no" >&6; }
10089 fi
10090
10091
10092 enablestring=
10093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10094 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10095 no_cache=0
10096 # Check whether --enable-radiobox was given.
10097 if test "${enable_radiobox+set}" = set; then
10098 enableval=$enable_radiobox;
10099 if test "$enableval" = yes; then
10100 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10101 else
10102 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10103 fi
10104
10105 else
10106
10107 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10108 if test "x$LINE" != x ; then
10109 eval "DEFAULT_$LINE"
10110 else
10111 no_cache=1
10112 fi
10113
10114 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10115
10116 fi
10117
10118
10119 eval "$ac_cv_use_radiobox"
10120 if test "$no_cache" != 1; then
10121 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10122 fi
10123
10124 if test "$wxUSE_RADIOBOX" = yes; then
10125 { echo "$as_me:$LINENO: result: yes" >&5
10126 echo "${ECHO_T}yes" >&6; }
10127 else
10128 { echo "$as_me:$LINENO: result: no" >&5
10129 echo "${ECHO_T}no" >&6; }
10130 fi
10131
10132
10133 enablestring=
10134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10135 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10136 no_cache=0
10137 # Check whether --enable-radiobtn was given.
10138 if test "${enable_radiobtn+set}" = set; then
10139 enableval=$enable_radiobtn;
10140 if test "$enableval" = yes; then
10141 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10142 else
10143 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10144 fi
10145
10146 else
10147
10148 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10149 if test "x$LINE" != x ; then
10150 eval "DEFAULT_$LINE"
10151 else
10152 no_cache=1
10153 fi
10154
10155 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10156
10157 fi
10158
10159
10160 eval "$ac_cv_use_radiobtn"
10161 if test "$no_cache" != 1; then
10162 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10163 fi
10164
10165 if test "$wxUSE_RADIOBTN" = yes; then
10166 { echo "$as_me:$LINENO: result: yes" >&5
10167 echo "${ECHO_T}yes" >&6; }
10168 else
10169 { echo "$as_me:$LINENO: result: no" >&5
10170 echo "${ECHO_T}no" >&6; }
10171 fi
10172
10173
10174 enablestring=
10175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10176 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10177 no_cache=0
10178 # Check whether --enable-sash was given.
10179 if test "${enable_sash+set}" = set; then
10180 enableval=$enable_sash;
10181 if test "$enableval" = yes; then
10182 ac_cv_use_sash='wxUSE_SASH=yes'
10183 else
10184 ac_cv_use_sash='wxUSE_SASH=no'
10185 fi
10186
10187 else
10188
10189 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10190 if test "x$LINE" != x ; then
10191 eval "DEFAULT_$LINE"
10192 else
10193 no_cache=1
10194 fi
10195
10196 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10197
10198 fi
10199
10200
10201 eval "$ac_cv_use_sash"
10202 if test "$no_cache" != 1; then
10203 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10204 fi
10205
10206 if test "$wxUSE_SASH" = yes; then
10207 { echo "$as_me:$LINENO: result: yes" >&5
10208 echo "${ECHO_T}yes" >&6; }
10209 else
10210 { echo "$as_me:$LINENO: result: no" >&5
10211 echo "${ECHO_T}no" >&6; }
10212 fi
10213
10214
10215 enablestring=
10216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10217 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10218 no_cache=0
10219 # Check whether --enable-scrollbar was given.
10220 if test "${enable_scrollbar+set}" = set; then
10221 enableval=$enable_scrollbar;
10222 if test "$enableval" = yes; then
10223 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10224 else
10225 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10226 fi
10227
10228 else
10229
10230 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10231 if test "x$LINE" != x ; then
10232 eval "DEFAULT_$LINE"
10233 else
10234 no_cache=1
10235 fi
10236
10237 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10238
10239 fi
10240
10241
10242 eval "$ac_cv_use_scrollbar"
10243 if test "$no_cache" != 1; then
10244 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10245 fi
10246
10247 if test "$wxUSE_SCROLLBAR" = yes; then
10248 { echo "$as_me:$LINENO: result: yes" >&5
10249 echo "${ECHO_T}yes" >&6; }
10250 else
10251 { echo "$as_me:$LINENO: result: no" >&5
10252 echo "${ECHO_T}no" >&6; }
10253 fi
10254
10255
10256 enablestring=
10257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10258 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10259 no_cache=0
10260 # Check whether --enable-searchctrl was given.
10261 if test "${enable_searchctrl+set}" = set; then
10262 enableval=$enable_searchctrl;
10263 if test "$enableval" = yes; then
10264 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10265 else
10266 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10267 fi
10268
10269 else
10270
10271 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10272 if test "x$LINE" != x ; then
10273 eval "DEFAULT_$LINE"
10274 else
10275 no_cache=1
10276 fi
10277
10278 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10279
10280 fi
10281
10282
10283 eval "$ac_cv_use_searchctrl"
10284 if test "$no_cache" != 1; then
10285 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10286 fi
10287
10288 if test "$wxUSE_SEARCHCTRL" = yes; then
10289 { echo "$as_me:$LINENO: result: yes" >&5
10290 echo "${ECHO_T}yes" >&6; }
10291 else
10292 { echo "$as_me:$LINENO: result: no" >&5
10293 echo "${ECHO_T}no" >&6; }
10294 fi
10295
10296
10297 enablestring=
10298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10299 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10300 no_cache=0
10301 # Check whether --enable-slider was given.
10302 if test "${enable_slider+set}" = set; then
10303 enableval=$enable_slider;
10304 if test "$enableval" = yes; then
10305 ac_cv_use_slider='wxUSE_SLIDER=yes'
10306 else
10307 ac_cv_use_slider='wxUSE_SLIDER=no'
10308 fi
10309
10310 else
10311
10312 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10313 if test "x$LINE" != x ; then
10314 eval "DEFAULT_$LINE"
10315 else
10316 no_cache=1
10317 fi
10318
10319 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10320
10321 fi
10322
10323
10324 eval "$ac_cv_use_slider"
10325 if test "$no_cache" != 1; then
10326 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10327 fi
10328
10329 if test "$wxUSE_SLIDER" = yes; then
10330 { echo "$as_me:$LINENO: result: yes" >&5
10331 echo "${ECHO_T}yes" >&6; }
10332 else
10333 { echo "$as_me:$LINENO: result: no" >&5
10334 echo "${ECHO_T}no" >&6; }
10335 fi
10336
10337
10338 enablestring=
10339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10340 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10341 no_cache=0
10342 # Check whether --enable-spinbtn was given.
10343 if test "${enable_spinbtn+set}" = set; then
10344 enableval=$enable_spinbtn;
10345 if test "$enableval" = yes; then
10346 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10347 else
10348 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10349 fi
10350
10351 else
10352
10353 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10354 if test "x$LINE" != x ; then
10355 eval "DEFAULT_$LINE"
10356 else
10357 no_cache=1
10358 fi
10359
10360 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10361
10362 fi
10363
10364
10365 eval "$ac_cv_use_spinbtn"
10366 if test "$no_cache" != 1; then
10367 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10368 fi
10369
10370 if test "$wxUSE_SPINBTN" = yes; then
10371 { echo "$as_me:$LINENO: result: yes" >&5
10372 echo "${ECHO_T}yes" >&6; }
10373 else
10374 { echo "$as_me:$LINENO: result: no" >&5
10375 echo "${ECHO_T}no" >&6; }
10376 fi
10377
10378
10379 enablestring=
10380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10381 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10382 no_cache=0
10383 # Check whether --enable-spinctrl was given.
10384 if test "${enable_spinctrl+set}" = set; then
10385 enableval=$enable_spinctrl;
10386 if test "$enableval" = yes; then
10387 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10388 else
10389 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10390 fi
10391
10392 else
10393
10394 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10395 if test "x$LINE" != x ; then
10396 eval "DEFAULT_$LINE"
10397 else
10398 no_cache=1
10399 fi
10400
10401 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10402
10403 fi
10404
10405
10406 eval "$ac_cv_use_spinctrl"
10407 if test "$no_cache" != 1; then
10408 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10409 fi
10410
10411 if test "$wxUSE_SPINCTRL" = yes; then
10412 { echo "$as_me:$LINENO: result: yes" >&5
10413 echo "${ECHO_T}yes" >&6; }
10414 else
10415 { echo "$as_me:$LINENO: result: no" >&5
10416 echo "${ECHO_T}no" >&6; }
10417 fi
10418
10419
10420 enablestring=
10421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10422 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10423 no_cache=0
10424 # Check whether --enable-splitter was given.
10425 if test "${enable_splitter+set}" = set; then
10426 enableval=$enable_splitter;
10427 if test "$enableval" = yes; then
10428 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10429 else
10430 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10431 fi
10432
10433 else
10434
10435 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10436 if test "x$LINE" != x ; then
10437 eval "DEFAULT_$LINE"
10438 else
10439 no_cache=1
10440 fi
10441
10442 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10443
10444 fi
10445
10446
10447 eval "$ac_cv_use_splitter"
10448 if test "$no_cache" != 1; then
10449 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10450 fi
10451
10452 if test "$wxUSE_SPLITTER" = yes; then
10453 { echo "$as_me:$LINENO: result: yes" >&5
10454 echo "${ECHO_T}yes" >&6; }
10455 else
10456 { echo "$as_me:$LINENO: result: no" >&5
10457 echo "${ECHO_T}no" >&6; }
10458 fi
10459
10460
10461 enablestring=
10462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10463 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10464 no_cache=0
10465 # Check whether --enable-statbmp was given.
10466 if test "${enable_statbmp+set}" = set; then
10467 enableval=$enable_statbmp;
10468 if test "$enableval" = yes; then
10469 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10470 else
10471 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10472 fi
10473
10474 else
10475
10476 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10477 if test "x$LINE" != x ; then
10478 eval "DEFAULT_$LINE"
10479 else
10480 no_cache=1
10481 fi
10482
10483 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10484
10485 fi
10486
10487
10488 eval "$ac_cv_use_statbmp"
10489 if test "$no_cache" != 1; then
10490 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10491 fi
10492
10493 if test "$wxUSE_STATBMP" = yes; then
10494 { echo "$as_me:$LINENO: result: yes" >&5
10495 echo "${ECHO_T}yes" >&6; }
10496 else
10497 { echo "$as_me:$LINENO: result: no" >&5
10498 echo "${ECHO_T}no" >&6; }
10499 fi
10500
10501
10502 enablestring=
10503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10504 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10505 no_cache=0
10506 # Check whether --enable-statbox was given.
10507 if test "${enable_statbox+set}" = set; then
10508 enableval=$enable_statbox;
10509 if test "$enableval" = yes; then
10510 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10511 else
10512 ac_cv_use_statbox='wxUSE_STATBOX=no'
10513 fi
10514
10515 else
10516
10517 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10518 if test "x$LINE" != x ; then
10519 eval "DEFAULT_$LINE"
10520 else
10521 no_cache=1
10522 fi
10523
10524 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10525
10526 fi
10527
10528
10529 eval "$ac_cv_use_statbox"
10530 if test "$no_cache" != 1; then
10531 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10532 fi
10533
10534 if test "$wxUSE_STATBOX" = yes; then
10535 { echo "$as_me:$LINENO: result: yes" >&5
10536 echo "${ECHO_T}yes" >&6; }
10537 else
10538 { echo "$as_me:$LINENO: result: no" >&5
10539 echo "${ECHO_T}no" >&6; }
10540 fi
10541
10542
10543 enablestring=
10544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10545 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10546 no_cache=0
10547 # Check whether --enable-statline was given.
10548 if test "${enable_statline+set}" = set; then
10549 enableval=$enable_statline;
10550 if test "$enableval" = yes; then
10551 ac_cv_use_statline='wxUSE_STATLINE=yes'
10552 else
10553 ac_cv_use_statline='wxUSE_STATLINE=no'
10554 fi
10555
10556 else
10557
10558 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10559 if test "x$LINE" != x ; then
10560 eval "DEFAULT_$LINE"
10561 else
10562 no_cache=1
10563 fi
10564
10565 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10566
10567 fi
10568
10569
10570 eval "$ac_cv_use_statline"
10571 if test "$no_cache" != 1; then
10572 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10573 fi
10574
10575 if test "$wxUSE_STATLINE" = yes; then
10576 { echo "$as_me:$LINENO: result: yes" >&5
10577 echo "${ECHO_T}yes" >&6; }
10578 else
10579 { echo "$as_me:$LINENO: result: no" >&5
10580 echo "${ECHO_T}no" >&6; }
10581 fi
10582
10583
10584 enablestring=
10585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10586 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10587 no_cache=0
10588 # Check whether --enable-stattext was given.
10589 if test "${enable_stattext+set}" = set; then
10590 enableval=$enable_stattext;
10591 if test "$enableval" = yes; then
10592 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10593 else
10594 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10595 fi
10596
10597 else
10598
10599 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10600 if test "x$LINE" != x ; then
10601 eval "DEFAULT_$LINE"
10602 else
10603 no_cache=1
10604 fi
10605
10606 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10607
10608 fi
10609
10610
10611 eval "$ac_cv_use_stattext"
10612 if test "$no_cache" != 1; then
10613 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10614 fi
10615
10616 if test "$wxUSE_STATTEXT" = yes; then
10617 { echo "$as_me:$LINENO: result: yes" >&5
10618 echo "${ECHO_T}yes" >&6; }
10619 else
10620 { echo "$as_me:$LINENO: result: no" >&5
10621 echo "${ECHO_T}no" >&6; }
10622 fi
10623
10624
10625 enablestring=
10626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10627 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10628 no_cache=0
10629 # Check whether --enable-statusbar was given.
10630 if test "${enable_statusbar+set}" = set; then
10631 enableval=$enable_statusbar;
10632 if test "$enableval" = yes; then
10633 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10634 else
10635 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10636 fi
10637
10638 else
10639
10640 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10641 if test "x$LINE" != x ; then
10642 eval "DEFAULT_$LINE"
10643 else
10644 no_cache=1
10645 fi
10646
10647 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10648
10649 fi
10650
10651
10652 eval "$ac_cv_use_statusbar"
10653 if test "$no_cache" != 1; then
10654 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10655 fi
10656
10657 if test "$wxUSE_STATUSBAR" = yes; then
10658 { echo "$as_me:$LINENO: result: yes" >&5
10659 echo "${ECHO_T}yes" >&6; }
10660 else
10661 { echo "$as_me:$LINENO: result: no" >&5
10662 echo "${ECHO_T}no" >&6; }
10663 fi
10664
10665
10666 enablestring=
10667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10668 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10669 no_cache=0
10670 # Check whether --enable-tabdialog was given.
10671 if test "${enable_tabdialog+set}" = set; then
10672 enableval=$enable_tabdialog;
10673 if test "$enableval" = yes; then
10674 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10675 else
10676 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10677 fi
10678
10679 else
10680
10681 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10682 if test "x$LINE" != x ; then
10683 eval "DEFAULT_$LINE"
10684 else
10685 no_cache=1
10686 fi
10687
10688 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10689
10690 fi
10691
10692
10693 eval "$ac_cv_use_tabdialog"
10694 if test "$no_cache" != 1; then
10695 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10696 fi
10697
10698 if test "$wxUSE_TAB_DIALOG" = yes; then
10699 { echo "$as_me:$LINENO: result: yes" >&5
10700 echo "${ECHO_T}yes" >&6; }
10701 else
10702 { echo "$as_me:$LINENO: result: no" >&5
10703 echo "${ECHO_T}no" >&6; }
10704 fi
10705
10706
10707 enablestring=
10708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10709 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10710 no_cache=0
10711 # Check whether --enable-textctrl was given.
10712 if test "${enable_textctrl+set}" = set; then
10713 enableval=$enable_textctrl;
10714 if test "$enableval" = yes; then
10715 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10716 else
10717 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10718 fi
10719
10720 else
10721
10722 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10723 if test "x$LINE" != x ; then
10724 eval "DEFAULT_$LINE"
10725 else
10726 no_cache=1
10727 fi
10728
10729 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10730
10731 fi
10732
10733
10734 eval "$ac_cv_use_textctrl"
10735 if test "$no_cache" != 1; then
10736 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10737 fi
10738
10739 if test "$wxUSE_TEXTCTRL" = yes; then
10740 { echo "$as_me:$LINENO: result: yes" >&5
10741 echo "${ECHO_T}yes" >&6; }
10742 else
10743 { echo "$as_me:$LINENO: result: no" >&5
10744 echo "${ECHO_T}no" >&6; }
10745 fi
10746
10747
10748 enablestring=
10749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10750 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10751 no_cache=0
10752 # Check whether --enable-togglebtn was given.
10753 if test "${enable_togglebtn+set}" = set; then
10754 enableval=$enable_togglebtn;
10755 if test "$enableval" = yes; then
10756 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10757 else
10758 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10759 fi
10760
10761 else
10762
10763 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10764 if test "x$LINE" != x ; then
10765 eval "DEFAULT_$LINE"
10766 else
10767 no_cache=1
10768 fi
10769
10770 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10771
10772 fi
10773
10774
10775 eval "$ac_cv_use_togglebtn"
10776 if test "$no_cache" != 1; then
10777 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10778 fi
10779
10780 if test "$wxUSE_TOGGLEBTN" = yes; then
10781 { echo "$as_me:$LINENO: result: yes" >&5
10782 echo "${ECHO_T}yes" >&6; }
10783 else
10784 { echo "$as_me:$LINENO: result: no" >&5
10785 echo "${ECHO_T}no" >&6; }
10786 fi
10787
10788
10789 enablestring=
10790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10791 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10792 no_cache=0
10793 # Check whether --enable-toolbar was given.
10794 if test "${enable_toolbar+set}" = set; then
10795 enableval=$enable_toolbar;
10796 if test "$enableval" = yes; then
10797 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10798 else
10799 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10800 fi
10801
10802 else
10803
10804 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10805 if test "x$LINE" != x ; then
10806 eval "DEFAULT_$LINE"
10807 else
10808 no_cache=1
10809 fi
10810
10811 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10812
10813 fi
10814
10815
10816 eval "$ac_cv_use_toolbar"
10817 if test "$no_cache" != 1; then
10818 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10819 fi
10820
10821 if test "$wxUSE_TOOLBAR" = yes; then
10822 { echo "$as_me:$LINENO: result: yes" >&5
10823 echo "${ECHO_T}yes" >&6; }
10824 else
10825 { echo "$as_me:$LINENO: result: no" >&5
10826 echo "${ECHO_T}no" >&6; }
10827 fi
10828
10829
10830 enablestring=
10831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10832 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10833 no_cache=0
10834 # Check whether --enable-tbarnative was given.
10835 if test "${enable_tbarnative+set}" = set; then
10836 enableval=$enable_tbarnative;
10837 if test "$enableval" = yes; then
10838 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10839 else
10840 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10841 fi
10842
10843 else
10844
10845 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10846 if test "x$LINE" != x ; then
10847 eval "DEFAULT_$LINE"
10848 else
10849 no_cache=1
10850 fi
10851
10852 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10853
10854 fi
10855
10856
10857 eval "$ac_cv_use_tbarnative"
10858 if test "$no_cache" != 1; then
10859 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10860 fi
10861
10862 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10863 { echo "$as_me:$LINENO: result: yes" >&5
10864 echo "${ECHO_T}yes" >&6; }
10865 else
10866 { echo "$as_me:$LINENO: result: no" >&5
10867 echo "${ECHO_T}no" >&6; }
10868 fi
10869
10870
10871 enablestring=
10872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10873 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10874 no_cache=0
10875 # Check whether --enable-treebook was given.
10876 if test "${enable_treebook+set}" = set; then
10877 enableval=$enable_treebook;
10878 if test "$enableval" = yes; then
10879 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10880 else
10881 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10882 fi
10883
10884 else
10885
10886 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10887 if test "x$LINE" != x ; then
10888 eval "DEFAULT_$LINE"
10889 else
10890 no_cache=1
10891 fi
10892
10893 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10894
10895 fi
10896
10897
10898 eval "$ac_cv_use_treebook"
10899 if test "$no_cache" != 1; then
10900 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10901 fi
10902
10903 if test "$wxUSE_TREEBOOK" = yes; then
10904 { echo "$as_me:$LINENO: result: yes" >&5
10905 echo "${ECHO_T}yes" >&6; }
10906 else
10907 { echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6; }
10909 fi
10910
10911
10912 enablestring=
10913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10914 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10915 no_cache=0
10916 # Check whether --enable-toolbook was given.
10917 if test "${enable_toolbook+set}" = set; then
10918 enableval=$enable_toolbook;
10919 if test "$enableval" = yes; then
10920 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10921 else
10922 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10923 fi
10924
10925 else
10926
10927 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10928 if test "x$LINE" != x ; then
10929 eval "DEFAULT_$LINE"
10930 else
10931 no_cache=1
10932 fi
10933
10934 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10935
10936 fi
10937
10938
10939 eval "$ac_cv_use_toolbook"
10940 if test "$no_cache" != 1; then
10941 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10942 fi
10943
10944 if test "$wxUSE_TOOLBOOK" = yes; then
10945 { echo "$as_me:$LINENO: result: yes" >&5
10946 echo "${ECHO_T}yes" >&6; }
10947 else
10948 { echo "$as_me:$LINENO: result: no" >&5
10949 echo "${ECHO_T}no" >&6; }
10950 fi
10951
10952
10953 enablestring=
10954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10955 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10956 no_cache=0
10957 # Check whether --enable-treectrl was given.
10958 if test "${enable_treectrl+set}" = set; then
10959 enableval=$enable_treectrl;
10960 if test "$enableval" = yes; then
10961 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10962 else
10963 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10964 fi
10965
10966 else
10967
10968 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10969 if test "x$LINE" != x ; then
10970 eval "DEFAULT_$LINE"
10971 else
10972 no_cache=1
10973 fi
10974
10975 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10976
10977 fi
10978
10979
10980 eval "$ac_cv_use_treectrl"
10981 if test "$no_cache" != 1; then
10982 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10983 fi
10984
10985 if test "$wxUSE_TREECTRL" = yes; then
10986 { echo "$as_me:$LINENO: result: yes" >&5
10987 echo "${ECHO_T}yes" >&6; }
10988 else
10989 { echo "$as_me:$LINENO: result: no" >&5
10990 echo "${ECHO_T}no" >&6; }
10991 fi
10992
10993
10994 enablestring=
10995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10996 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10997 no_cache=0
10998 # Check whether --enable-tipwindow was given.
10999 if test "${enable_tipwindow+set}" = set; then
11000 enableval=$enable_tipwindow;
11001 if test "$enableval" = yes; then
11002 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11003 else
11004 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11005 fi
11006
11007 else
11008
11009 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
11010 if test "x$LINE" != x ; then
11011 eval "DEFAULT_$LINE"
11012 else
11013 no_cache=1
11014 fi
11015
11016 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11017
11018 fi
11019
11020
11021 eval "$ac_cv_use_tipwindow"
11022 if test "$no_cache" != 1; then
11023 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11024 fi
11025
11026 if test "$wxUSE_TIPWINDOW" = yes; then
11027 { echo "$as_me:$LINENO: result: yes" >&5
11028 echo "${ECHO_T}yes" >&6; }
11029 else
11030 { echo "$as_me:$LINENO: result: no" >&5
11031 echo "${ECHO_T}no" >&6; }
11032 fi
11033
11034
11035 enablestring=
11036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11037 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11038 no_cache=0
11039 # Check whether --enable-popupwin was given.
11040 if test "${enable_popupwin+set}" = set; then
11041 enableval=$enable_popupwin;
11042 if test "$enableval" = yes; then
11043 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11044 else
11045 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11046 fi
11047
11048 else
11049
11050 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11051 if test "x$LINE" != x ; then
11052 eval "DEFAULT_$LINE"
11053 else
11054 no_cache=1
11055 fi
11056
11057 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11058
11059 fi
11060
11061
11062 eval "$ac_cv_use_popupwin"
11063 if test "$no_cache" != 1; then
11064 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11065 fi
11066
11067 if test "$wxUSE_POPUPWIN" = yes; then
11068 { echo "$as_me:$LINENO: result: yes" >&5
11069 echo "${ECHO_T}yes" >&6; }
11070 else
11071 { echo "$as_me:$LINENO: result: no" >&5
11072 echo "${ECHO_T}no" >&6; }
11073 fi
11074
11075
11076
11077
11078 enablestring=
11079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11080 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11081 no_cache=0
11082 # Check whether --enable-commondlg was given.
11083 if test "${enable_commondlg+set}" = set; then
11084 enableval=$enable_commondlg;
11085 if test "$enableval" = yes; then
11086 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11087 else
11088 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11089 fi
11090
11091 else
11092
11093 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11094 if test "x$LINE" != x ; then
11095 eval "DEFAULT_$LINE"
11096 else
11097 no_cache=1
11098 fi
11099
11100 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11101
11102 fi
11103
11104
11105 eval "$ac_cv_use_commondlg"
11106 if test "$no_cache" != 1; then
11107 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11108 fi
11109
11110 if test "$wxUSE_COMMONDLGS" = yes; then
11111 { echo "$as_me:$LINENO: result: yes" >&5
11112 echo "${ECHO_T}yes" >&6; }
11113 else
11114 { echo "$as_me:$LINENO: result: no" >&5
11115 echo "${ECHO_T}no" >&6; }
11116 fi
11117
11118
11119 enablestring=
11120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11121 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11122 no_cache=0
11123 # Check whether --enable-aboutdlg was given.
11124 if test "${enable_aboutdlg+set}" = set; then
11125 enableval=$enable_aboutdlg;
11126 if test "$enableval" = yes; then
11127 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11128 else
11129 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11130 fi
11131
11132 else
11133
11134 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11135 if test "x$LINE" != x ; then
11136 eval "DEFAULT_$LINE"
11137 else
11138 no_cache=1
11139 fi
11140
11141 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11142
11143 fi
11144
11145
11146 eval "$ac_cv_use_aboutdlg"
11147 if test "$no_cache" != 1; then
11148 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11149 fi
11150
11151 if test "$wxUSE_ABOUTDLG" = yes; then
11152 { echo "$as_me:$LINENO: result: yes" >&5
11153 echo "${ECHO_T}yes" >&6; }
11154 else
11155 { echo "$as_me:$LINENO: result: no" >&5
11156 echo "${ECHO_T}no" >&6; }
11157 fi
11158
11159
11160 enablestring=
11161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11162 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11163 no_cache=0
11164 # Check whether --enable-choicedlg was given.
11165 if test "${enable_choicedlg+set}" = set; then
11166 enableval=$enable_choicedlg;
11167 if test "$enableval" = yes; then
11168 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11169 else
11170 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11171 fi
11172
11173 else
11174
11175 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11176 if test "x$LINE" != x ; then
11177 eval "DEFAULT_$LINE"
11178 else
11179 no_cache=1
11180 fi
11181
11182 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11183
11184 fi
11185
11186
11187 eval "$ac_cv_use_choicedlg"
11188 if test "$no_cache" != 1; then
11189 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11190 fi
11191
11192 if test "$wxUSE_CHOICEDLG" = yes; then
11193 { echo "$as_me:$LINENO: result: yes" >&5
11194 echo "${ECHO_T}yes" >&6; }
11195 else
11196 { echo "$as_me:$LINENO: result: no" >&5
11197 echo "${ECHO_T}no" >&6; }
11198 fi
11199
11200
11201 enablestring=
11202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11203 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11204 no_cache=0
11205 # Check whether --enable-coldlg was given.
11206 if test "${enable_coldlg+set}" = set; then
11207 enableval=$enable_coldlg;
11208 if test "$enableval" = yes; then
11209 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11210 else
11211 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11212 fi
11213
11214 else
11215
11216 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11217 if test "x$LINE" != x ; then
11218 eval "DEFAULT_$LINE"
11219 else
11220 no_cache=1
11221 fi
11222
11223 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11224
11225 fi
11226
11227
11228 eval "$ac_cv_use_coldlg"
11229 if test "$no_cache" != 1; then
11230 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11231 fi
11232
11233 if test "$wxUSE_COLOURDLG" = yes; then
11234 { echo "$as_me:$LINENO: result: yes" >&5
11235 echo "${ECHO_T}yes" >&6; }
11236 else
11237 { echo "$as_me:$LINENO: result: no" >&5
11238 echo "${ECHO_T}no" >&6; }
11239 fi
11240
11241
11242 enablestring=
11243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11244 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11245 no_cache=0
11246 # Check whether --enable-filedlg was given.
11247 if test "${enable_filedlg+set}" = set; then
11248 enableval=$enable_filedlg;
11249 if test "$enableval" = yes; then
11250 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11251 else
11252 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11253 fi
11254
11255 else
11256
11257 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11258 if test "x$LINE" != x ; then
11259 eval "DEFAULT_$LINE"
11260 else
11261 no_cache=1
11262 fi
11263
11264 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11265
11266 fi
11267
11268
11269 eval "$ac_cv_use_filedlg"
11270 if test "$no_cache" != 1; then
11271 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11272 fi
11273
11274 if test "$wxUSE_FILEDLG" = yes; then
11275 { echo "$as_me:$LINENO: result: yes" >&5
11276 echo "${ECHO_T}yes" >&6; }
11277 else
11278 { echo "$as_me:$LINENO: result: no" >&5
11279 echo "${ECHO_T}no" >&6; }
11280 fi
11281
11282
11283 enablestring=
11284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11285 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11286 no_cache=0
11287 # Check whether --enable-finddlg was given.
11288 if test "${enable_finddlg+set}" = set; then
11289 enableval=$enable_finddlg;
11290 if test "$enableval" = yes; then
11291 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11292 else
11293 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11294 fi
11295
11296 else
11297
11298 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11299 if test "x$LINE" != x ; then
11300 eval "DEFAULT_$LINE"
11301 else
11302 no_cache=1
11303 fi
11304
11305 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11306
11307 fi
11308
11309
11310 eval "$ac_cv_use_finddlg"
11311 if test "$no_cache" != 1; then
11312 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11313 fi
11314
11315 if test "$wxUSE_FINDREPLDLG" = yes; then
11316 { echo "$as_me:$LINENO: result: yes" >&5
11317 echo "${ECHO_T}yes" >&6; }
11318 else
11319 { echo "$as_me:$LINENO: result: no" >&5
11320 echo "${ECHO_T}no" >&6; }
11321 fi
11322
11323
11324 enablestring=
11325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11326 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11327 no_cache=0
11328 # Check whether --enable-fontdlg was given.
11329 if test "${enable_fontdlg+set}" = set; then
11330 enableval=$enable_fontdlg;
11331 if test "$enableval" = yes; then
11332 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11333 else
11334 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11335 fi
11336
11337 else
11338
11339 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11340 if test "x$LINE" != x ; then
11341 eval "DEFAULT_$LINE"
11342 else
11343 no_cache=1
11344 fi
11345
11346 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11347
11348 fi
11349
11350
11351 eval "$ac_cv_use_fontdlg"
11352 if test "$no_cache" != 1; then
11353 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11354 fi
11355
11356 if test "$wxUSE_FONTDLG" = yes; then
11357 { echo "$as_me:$LINENO: result: yes" >&5
11358 echo "${ECHO_T}yes" >&6; }
11359 else
11360 { echo "$as_me:$LINENO: result: no" >&5
11361 echo "${ECHO_T}no" >&6; }
11362 fi
11363
11364
11365 enablestring=
11366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11367 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11368 no_cache=0
11369 # Check whether --enable-dirdlg was given.
11370 if test "${enable_dirdlg+set}" = set; then
11371 enableval=$enable_dirdlg;
11372 if test "$enableval" = yes; then
11373 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11374 else
11375 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11376 fi
11377
11378 else
11379
11380 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11381 if test "x$LINE" != x ; then
11382 eval "DEFAULT_$LINE"
11383 else
11384 no_cache=1
11385 fi
11386
11387 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11388
11389 fi
11390
11391
11392 eval "$ac_cv_use_dirdlg"
11393 if test "$no_cache" != 1; then
11394 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11395 fi
11396
11397 if test "$wxUSE_DIRDLG" = yes; then
11398 { echo "$as_me:$LINENO: result: yes" >&5
11399 echo "${ECHO_T}yes" >&6; }
11400 else
11401 { echo "$as_me:$LINENO: result: no" >&5
11402 echo "${ECHO_T}no" >&6; }
11403 fi
11404
11405
11406 enablestring=
11407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11408 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11409 no_cache=0
11410 # Check whether --enable-msgdlg was given.
11411 if test "${enable_msgdlg+set}" = set; then
11412 enableval=$enable_msgdlg;
11413 if test "$enableval" = yes; then
11414 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11415 else
11416 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11417 fi
11418
11419 else
11420
11421 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11422 if test "x$LINE" != x ; then
11423 eval "DEFAULT_$LINE"
11424 else
11425 no_cache=1
11426 fi
11427
11428 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11429
11430 fi
11431
11432
11433 eval "$ac_cv_use_msgdlg"
11434 if test "$no_cache" != 1; then
11435 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11436 fi
11437
11438 if test "$wxUSE_MSGDLG" = yes; then
11439 { echo "$as_me:$LINENO: result: yes" >&5
11440 echo "${ECHO_T}yes" >&6; }
11441 else
11442 { echo "$as_me:$LINENO: result: no" >&5
11443 echo "${ECHO_T}no" >&6; }
11444 fi
11445
11446
11447 enablestring=
11448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11449 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11450 no_cache=0
11451 # Check whether --enable-numberdlg was given.
11452 if test "${enable_numberdlg+set}" = set; then
11453 enableval=$enable_numberdlg;
11454 if test "$enableval" = yes; then
11455 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11456 else
11457 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11458 fi
11459
11460 else
11461
11462 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11463 if test "x$LINE" != x ; then
11464 eval "DEFAULT_$LINE"
11465 else
11466 no_cache=1
11467 fi
11468
11469 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11470
11471 fi
11472
11473
11474 eval "$ac_cv_use_numberdlg"
11475 if test "$no_cache" != 1; then
11476 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11477 fi
11478
11479 if test "$wxUSE_NUMBERDLG" = yes; then
11480 { echo "$as_me:$LINENO: result: yes" >&5
11481 echo "${ECHO_T}yes" >&6; }
11482 else
11483 { echo "$as_me:$LINENO: result: no" >&5
11484 echo "${ECHO_T}no" >&6; }
11485 fi
11486
11487
11488 enablestring=
11489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11490 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11491 no_cache=0
11492 # Check whether --enable-splash was given.
11493 if test "${enable_splash+set}" = set; then
11494 enableval=$enable_splash;
11495 if test "$enableval" = yes; then
11496 ac_cv_use_splash='wxUSE_SPLASH=yes'
11497 else
11498 ac_cv_use_splash='wxUSE_SPLASH=no'
11499 fi
11500
11501 else
11502
11503 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11504 if test "x$LINE" != x ; then
11505 eval "DEFAULT_$LINE"
11506 else
11507 no_cache=1
11508 fi
11509
11510 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11511
11512 fi
11513
11514
11515 eval "$ac_cv_use_splash"
11516 if test "$no_cache" != 1; then
11517 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11518 fi
11519
11520 if test "$wxUSE_SPLASH" = yes; then
11521 { echo "$as_me:$LINENO: result: yes" >&5
11522 echo "${ECHO_T}yes" >&6; }
11523 else
11524 { echo "$as_me:$LINENO: result: no" >&5
11525 echo "${ECHO_T}no" >&6; }
11526 fi
11527
11528
11529 enablestring=
11530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11531 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11532 no_cache=0
11533 # Check whether --enable-textdlg was given.
11534 if test "${enable_textdlg+set}" = set; then
11535 enableval=$enable_textdlg;
11536 if test "$enableval" = yes; then
11537 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11538 else
11539 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11540 fi
11541
11542 else
11543
11544 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11545 if test "x$LINE" != x ; then
11546 eval "DEFAULT_$LINE"
11547 else
11548 no_cache=1
11549 fi
11550
11551 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11552
11553 fi
11554
11555
11556 eval "$ac_cv_use_textdlg"
11557 if test "$no_cache" != 1; then
11558 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11559 fi
11560
11561 if test "$wxUSE_TEXTDLG" = yes; then
11562 { echo "$as_me:$LINENO: result: yes" >&5
11563 echo "${ECHO_T}yes" >&6; }
11564 else
11565 { echo "$as_me:$LINENO: result: no" >&5
11566 echo "${ECHO_T}no" >&6; }
11567 fi
11568
11569
11570 enablestring=
11571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11572 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11573 no_cache=0
11574 # Check whether --enable-tipdlg was given.
11575 if test "${enable_tipdlg+set}" = set; then
11576 enableval=$enable_tipdlg;
11577 if test "$enableval" = yes; then
11578 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11579 else
11580 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11581 fi
11582
11583 else
11584
11585 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11586 if test "x$LINE" != x ; then
11587 eval "DEFAULT_$LINE"
11588 else
11589 no_cache=1
11590 fi
11591
11592 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11593
11594 fi
11595
11596
11597 eval "$ac_cv_use_tipdlg"
11598 if test "$no_cache" != 1; then
11599 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11600 fi
11601
11602 if test "$wxUSE_STARTUP_TIPS" = yes; then
11603 { echo "$as_me:$LINENO: result: yes" >&5
11604 echo "${ECHO_T}yes" >&6; }
11605 else
11606 { echo "$as_me:$LINENO: result: no" >&5
11607 echo "${ECHO_T}no" >&6; }
11608 fi
11609
11610
11611 enablestring=
11612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11613 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11614 no_cache=0
11615 # Check whether --enable-progressdlg was given.
11616 if test "${enable_progressdlg+set}" = set; then
11617 enableval=$enable_progressdlg;
11618 if test "$enableval" = yes; then
11619 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11620 else
11621 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11622 fi
11623
11624 else
11625
11626 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11627 if test "x$LINE" != x ; then
11628 eval "DEFAULT_$LINE"
11629 else
11630 no_cache=1
11631 fi
11632
11633 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11634
11635 fi
11636
11637
11638 eval "$ac_cv_use_progressdlg"
11639 if test "$no_cache" != 1; then
11640 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11641 fi
11642
11643 if test "$wxUSE_PROGRESSDLG" = yes; then
11644 { echo "$as_me:$LINENO: result: yes" >&5
11645 echo "${ECHO_T}yes" >&6; }
11646 else
11647 { echo "$as_me:$LINENO: result: no" >&5
11648 echo "${ECHO_T}no" >&6; }
11649 fi
11650
11651
11652 enablestring=
11653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11654 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11655 no_cache=0
11656 # Check whether --enable-wizarddlg was given.
11657 if test "${enable_wizarddlg+set}" = set; then
11658 enableval=$enable_wizarddlg;
11659 if test "$enableval" = yes; then
11660 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11661 else
11662 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11663 fi
11664
11665 else
11666
11667 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11668 if test "x$LINE" != x ; then
11669 eval "DEFAULT_$LINE"
11670 else
11671 no_cache=1
11672 fi
11673
11674 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11675
11676 fi
11677
11678
11679 eval "$ac_cv_use_wizarddlg"
11680 if test "$no_cache" != 1; then
11681 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11682 fi
11683
11684 if test "$wxUSE_WIZARDDLG" = yes; then
11685 { echo "$as_me:$LINENO: result: yes" >&5
11686 echo "${ECHO_T}yes" >&6; }
11687 else
11688 { echo "$as_me:$LINENO: result: no" >&5
11689 echo "${ECHO_T}no" >&6; }
11690 fi
11691
11692
11693
11694
11695 enablestring=
11696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11697 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11698 no_cache=0
11699 # Check whether --enable-menus was given.
11700 if test "${enable_menus+set}" = set; then
11701 enableval=$enable_menus;
11702 if test "$enableval" = yes; then
11703 ac_cv_use_menus='wxUSE_MENUS=yes'
11704 else
11705 ac_cv_use_menus='wxUSE_MENUS=no'
11706 fi
11707
11708 else
11709
11710 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11711 if test "x$LINE" != x ; then
11712 eval "DEFAULT_$LINE"
11713 else
11714 no_cache=1
11715 fi
11716
11717 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11718
11719 fi
11720
11721
11722 eval "$ac_cv_use_menus"
11723 if test "$no_cache" != 1; then
11724 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11725 fi
11726
11727 if test "$wxUSE_MENUS" = yes; then
11728 { echo "$as_me:$LINENO: result: yes" >&5
11729 echo "${ECHO_T}yes" >&6; }
11730 else
11731 { echo "$as_me:$LINENO: result: no" >&5
11732 echo "${ECHO_T}no" >&6; }
11733 fi
11734
11735
11736 enablestring=
11737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11738 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11739 no_cache=0
11740 # Check whether --enable-miniframe was given.
11741 if test "${enable_miniframe+set}" = set; then
11742 enableval=$enable_miniframe;
11743 if test "$enableval" = yes; then
11744 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11745 else
11746 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11747 fi
11748
11749 else
11750
11751 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11752 if test "x$LINE" != x ; then
11753 eval "DEFAULT_$LINE"
11754 else
11755 no_cache=1
11756 fi
11757
11758 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11759
11760 fi
11761
11762
11763 eval "$ac_cv_use_miniframe"
11764 if test "$no_cache" != 1; then
11765 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11766 fi
11767
11768 if test "$wxUSE_MINIFRAME" = yes; then
11769 { echo "$as_me:$LINENO: result: yes" >&5
11770 echo "${ECHO_T}yes" >&6; }
11771 else
11772 { echo "$as_me:$LINENO: result: no" >&5
11773 echo "${ECHO_T}no" >&6; }
11774 fi
11775
11776
11777 enablestring=
11778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11779 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11780 no_cache=0
11781 # Check whether --enable-tooltips was given.
11782 if test "${enable_tooltips+set}" = set; then
11783 enableval=$enable_tooltips;
11784 if test "$enableval" = yes; then
11785 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11786 else
11787 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11788 fi
11789
11790 else
11791
11792 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11793 if test "x$LINE" != x ; then
11794 eval "DEFAULT_$LINE"
11795 else
11796 no_cache=1
11797 fi
11798
11799 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11800
11801 fi
11802
11803
11804 eval "$ac_cv_use_tooltips"
11805 if test "$no_cache" != 1; then
11806 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11807 fi
11808
11809 if test "$wxUSE_TOOLTIPS" = yes; then
11810 { echo "$as_me:$LINENO: result: yes" >&5
11811 echo "${ECHO_T}yes" >&6; }
11812 else
11813 { echo "$as_me:$LINENO: result: no" >&5
11814 echo "${ECHO_T}no" >&6; }
11815 fi
11816
11817
11818 enablestring=
11819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11820 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11821 no_cache=0
11822 # Check whether --enable-splines was given.
11823 if test "${enable_splines+set}" = set; then
11824 enableval=$enable_splines;
11825 if test "$enableval" = yes; then
11826 ac_cv_use_splines='wxUSE_SPLINES=yes'
11827 else
11828 ac_cv_use_splines='wxUSE_SPLINES=no'
11829 fi
11830
11831 else
11832
11833 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11834 if test "x$LINE" != x ; then
11835 eval "DEFAULT_$LINE"
11836 else
11837 no_cache=1
11838 fi
11839
11840 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11841
11842 fi
11843
11844
11845 eval "$ac_cv_use_splines"
11846 if test "$no_cache" != 1; then
11847 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11848 fi
11849
11850 if test "$wxUSE_SPLINES" = yes; then
11851 { echo "$as_me:$LINENO: result: yes" >&5
11852 echo "${ECHO_T}yes" >&6; }
11853 else
11854 { echo "$as_me:$LINENO: result: no" >&5
11855 echo "${ECHO_T}no" >&6; }
11856 fi
11857
11858
11859 enablestring=
11860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11861 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11862 no_cache=0
11863 # Check whether --enable-mousewheel was given.
11864 if test "${enable_mousewheel+set}" = set; then
11865 enableval=$enable_mousewheel;
11866 if test "$enableval" = yes; then
11867 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11868 else
11869 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11870 fi
11871
11872 else
11873
11874 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11875 if test "x$LINE" != x ; then
11876 eval "DEFAULT_$LINE"
11877 else
11878 no_cache=1
11879 fi
11880
11881 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11882
11883 fi
11884
11885
11886 eval "$ac_cv_use_mousewheel"
11887 if test "$no_cache" != 1; then
11888 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11889 fi
11890
11891 if test "$wxUSE_MOUSEWHEEL" = yes; then
11892 { echo "$as_me:$LINENO: result: yes" >&5
11893 echo "${ECHO_T}yes" >&6; }
11894 else
11895 { echo "$as_me:$LINENO: result: no" >&5
11896 echo "${ECHO_T}no" >&6; }
11897 fi
11898
11899
11900 enablestring=
11901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11902 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11903 no_cache=0
11904 # Check whether --enable-validators was given.
11905 if test "${enable_validators+set}" = set; then
11906 enableval=$enable_validators;
11907 if test "$enableval" = yes; then
11908 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11909 else
11910 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11911 fi
11912
11913 else
11914
11915 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11916 if test "x$LINE" != x ; then
11917 eval "DEFAULT_$LINE"
11918 else
11919 no_cache=1
11920 fi
11921
11922 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11923
11924 fi
11925
11926
11927 eval "$ac_cv_use_validators"
11928 if test "$no_cache" != 1; then
11929 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11930 fi
11931
11932 if test "$wxUSE_VALIDATORS" = yes; then
11933 { echo "$as_me:$LINENO: result: yes" >&5
11934 echo "${ECHO_T}yes" >&6; }
11935 else
11936 { echo "$as_me:$LINENO: result: no" >&5
11937 echo "${ECHO_T}no" >&6; }
11938 fi
11939
11940
11941 enablestring=
11942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11943 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11944 no_cache=0
11945 # Check whether --enable-busyinfo was given.
11946 if test "${enable_busyinfo+set}" = set; then
11947 enableval=$enable_busyinfo;
11948 if test "$enableval" = yes; then
11949 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11950 else
11951 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11952 fi
11953
11954 else
11955
11956 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11957 if test "x$LINE" != x ; then
11958 eval "DEFAULT_$LINE"
11959 else
11960 no_cache=1
11961 fi
11962
11963 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11964
11965 fi
11966
11967
11968 eval "$ac_cv_use_busyinfo"
11969 if test "$no_cache" != 1; then
11970 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11971 fi
11972
11973 if test "$wxUSE_BUSYINFO" = yes; then
11974 { echo "$as_me:$LINENO: result: yes" >&5
11975 echo "${ECHO_T}yes" >&6; }
11976 else
11977 { echo "$as_me:$LINENO: result: no" >&5
11978 echo "${ECHO_T}no" >&6; }
11979 fi
11980
11981
11982 enablestring=
11983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11984 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11985 no_cache=0
11986 # Check whether --enable-joystick was given.
11987 if test "${enable_joystick+set}" = set; then
11988 enableval=$enable_joystick;
11989 if test "$enableval" = yes; then
11990 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11991 else
11992 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11993 fi
11994
11995 else
11996
11997 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11998 if test "x$LINE" != x ; then
11999 eval "DEFAULT_$LINE"
12000 else
12001 no_cache=1
12002 fi
12003
12004 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12005
12006 fi
12007
12008
12009 eval "$ac_cv_use_joystick"
12010 if test "$no_cache" != 1; then
12011 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12012 fi
12013
12014 if test "$wxUSE_JOYSTICK" = yes; then
12015 { echo "$as_me:$LINENO: result: yes" >&5
12016 echo "${ECHO_T}yes" >&6; }
12017 else
12018 { echo "$as_me:$LINENO: result: no" >&5
12019 echo "${ECHO_T}no" >&6; }
12020 fi
12021
12022
12023 enablestring=
12024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12025 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12026 no_cache=0
12027 # Check whether --enable-metafile was given.
12028 if test "${enable_metafile+set}" = set; then
12029 enableval=$enable_metafile;
12030 if test "$enableval" = yes; then
12031 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12032 else
12033 ac_cv_use_metafile='wxUSE_METAFILE=no'
12034 fi
12035
12036 else
12037
12038 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12039 if test "x$LINE" != x ; then
12040 eval "DEFAULT_$LINE"
12041 else
12042 no_cache=1
12043 fi
12044
12045 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12046
12047 fi
12048
12049
12050 eval "$ac_cv_use_metafile"
12051 if test "$no_cache" != 1; then
12052 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12053 fi
12054
12055 if test "$wxUSE_METAFILE" = yes; then
12056 { echo "$as_me:$LINENO: result: yes" >&5
12057 echo "${ECHO_T}yes" >&6; }
12058 else
12059 { echo "$as_me:$LINENO: result: no" >&5
12060 echo "${ECHO_T}no" >&6; }
12061 fi
12062
12063
12064 enablestring=
12065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12066 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12067 no_cache=0
12068 # Check whether --enable-dragimage was given.
12069 if test "${enable_dragimage+set}" = set; then
12070 enableval=$enable_dragimage;
12071 if test "$enableval" = yes; then
12072 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12073 else
12074 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12075 fi
12076
12077 else
12078
12079 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12080 if test "x$LINE" != x ; then
12081 eval "DEFAULT_$LINE"
12082 else
12083 no_cache=1
12084 fi
12085
12086 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12087
12088 fi
12089
12090
12091 eval "$ac_cv_use_dragimage"
12092 if test "$no_cache" != 1; then
12093 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12094 fi
12095
12096 if test "$wxUSE_DRAGIMAGE" = yes; then
12097 { echo "$as_me:$LINENO: result: yes" >&5
12098 echo "${ECHO_T}yes" >&6; }
12099 else
12100 { echo "$as_me:$LINENO: result: no" >&5
12101 echo "${ECHO_T}no" >&6; }
12102 fi
12103
12104
12105 enablestring=
12106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12107 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12108 no_cache=0
12109 # Check whether --enable-accessibility was given.
12110 if test "${enable_accessibility+set}" = set; then
12111 enableval=$enable_accessibility;
12112 if test "$enableval" = yes; then
12113 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12114 else
12115 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12116 fi
12117
12118 else
12119
12120 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12121 if test "x$LINE" != x ; then
12122 eval "DEFAULT_$LINE"
12123 else
12124 no_cache=1
12125 fi
12126
12127 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12128
12129 fi
12130
12131
12132 eval "$ac_cv_use_accessibility"
12133 if test "$no_cache" != 1; then
12134 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12135 fi
12136
12137 if test "$wxUSE_ACCESSIBILITY" = yes; then
12138 { echo "$as_me:$LINENO: result: yes" >&5
12139 echo "${ECHO_T}yes" >&6; }
12140 else
12141 { echo "$as_me:$LINENO: result: no" >&5
12142 echo "${ECHO_T}no" >&6; }
12143 fi
12144
12145
12146 if test "$wxUSE_MSW" = "1"; then
12147
12148 enablestring=
12149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12150 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12151 no_cache=0
12152 # Check whether --enable-dccache was given.
12153 if test "${enable_dccache+set}" = set; then
12154 enableval=$enable_dccache;
12155 if test "$enableval" = yes; then
12156 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12157 else
12158 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12159 fi
12160
12161 else
12162
12163 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12164 if test "x$LINE" != x ; then
12165 eval "DEFAULT_$LINE"
12166 else
12167 no_cache=1
12168 fi
12169
12170 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12171
12172 fi
12173
12174
12175 eval "$ac_cv_use_dccache"
12176 if test "$no_cache" != 1; then
12177 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12178 fi
12179
12180 if test "$wxUSE_DC_CACHEING" = yes; then
12181 { echo "$as_me:$LINENO: result: yes" >&5
12182 echo "${ECHO_T}yes" >&6; }
12183 else
12184 { echo "$as_me:$LINENO: result: no" >&5
12185 echo "${ECHO_T}no" >&6; }
12186 fi
12187
12188 fi
12189
12190
12191
12192 enablestring=
12193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12194 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12195 no_cache=0
12196 # Check whether --enable-palette was given.
12197 if test "${enable_palette+set}" = set; then
12198 enableval=$enable_palette;
12199 if test "$enableval" = yes; then
12200 ac_cv_use_palette='wxUSE_PALETTE=yes'
12201 else
12202 ac_cv_use_palette='wxUSE_PALETTE=no'
12203 fi
12204
12205 else
12206
12207 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12208 if test "x$LINE" != x ; then
12209 eval "DEFAULT_$LINE"
12210 else
12211 no_cache=1
12212 fi
12213
12214 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12215
12216 fi
12217
12218
12219 eval "$ac_cv_use_palette"
12220 if test "$no_cache" != 1; then
12221 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12222 fi
12223
12224 if test "$wxUSE_PALETTE" = yes; then
12225 { echo "$as_me:$LINENO: result: yes" >&5
12226 echo "${ECHO_T}yes" >&6; }
12227 else
12228 { echo "$as_me:$LINENO: result: no" >&5
12229 echo "${ECHO_T}no" >&6; }
12230 fi
12231
12232
12233 enablestring=
12234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12235 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12236 no_cache=0
12237 # Check whether --enable-image was given.
12238 if test "${enable_image+set}" = set; then
12239 enableval=$enable_image;
12240 if test "$enableval" = yes; then
12241 ac_cv_use_image='wxUSE_IMAGE=yes'
12242 else
12243 ac_cv_use_image='wxUSE_IMAGE=no'
12244 fi
12245
12246 else
12247
12248 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12249 if test "x$LINE" != x ; then
12250 eval "DEFAULT_$LINE"
12251 else
12252 no_cache=1
12253 fi
12254
12255 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12256
12257 fi
12258
12259
12260 eval "$ac_cv_use_image"
12261 if test "$no_cache" != 1; then
12262 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12263 fi
12264
12265 if test "$wxUSE_IMAGE" = yes; then
12266 { echo "$as_me:$LINENO: result: yes" >&5
12267 echo "${ECHO_T}yes" >&6; }
12268 else
12269 { echo "$as_me:$LINENO: result: no" >&5
12270 echo "${ECHO_T}no" >&6; }
12271 fi
12272
12273
12274 enablestring=
12275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12276 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12277 no_cache=0
12278 # Check whether --enable-gif was given.
12279 if test "${enable_gif+set}" = set; then
12280 enableval=$enable_gif;
12281 if test "$enableval" = yes; then
12282 ac_cv_use_gif='wxUSE_GIF=yes'
12283 else
12284 ac_cv_use_gif='wxUSE_GIF=no'
12285 fi
12286
12287 else
12288
12289 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12290 if test "x$LINE" != x ; then
12291 eval "DEFAULT_$LINE"
12292 else
12293 no_cache=1
12294 fi
12295
12296 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12297
12298 fi
12299
12300
12301 eval "$ac_cv_use_gif"
12302 if test "$no_cache" != 1; then
12303 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12304 fi
12305
12306 if test "$wxUSE_GIF" = yes; then
12307 { echo "$as_me:$LINENO: result: yes" >&5
12308 echo "${ECHO_T}yes" >&6; }
12309 else
12310 { echo "$as_me:$LINENO: result: no" >&5
12311 echo "${ECHO_T}no" >&6; }
12312 fi
12313
12314
12315 enablestring=
12316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12317 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12318 no_cache=0
12319 # Check whether --enable-pcx was given.
12320 if test "${enable_pcx+set}" = set; then
12321 enableval=$enable_pcx;
12322 if test "$enableval" = yes; then
12323 ac_cv_use_pcx='wxUSE_PCX=yes'
12324 else
12325 ac_cv_use_pcx='wxUSE_PCX=no'
12326 fi
12327
12328 else
12329
12330 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12331 if test "x$LINE" != x ; then
12332 eval "DEFAULT_$LINE"
12333 else
12334 no_cache=1
12335 fi
12336
12337 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12338
12339 fi
12340
12341
12342 eval "$ac_cv_use_pcx"
12343 if test "$no_cache" != 1; then
12344 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12345 fi
12346
12347 if test "$wxUSE_PCX" = yes; then
12348 { echo "$as_me:$LINENO: result: yes" >&5
12349 echo "${ECHO_T}yes" >&6; }
12350 else
12351 { echo "$as_me:$LINENO: result: no" >&5
12352 echo "${ECHO_T}no" >&6; }
12353 fi
12354
12355
12356 enablestring=
12357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12358 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12359 no_cache=0
12360 # Check whether --enable-tga was given.
12361 if test "${enable_tga+set}" = set; then
12362 enableval=$enable_tga;
12363 if test "$enableval" = yes; then
12364 ac_cv_use_tga='wxUSE_TGA=yes'
12365 else
12366 ac_cv_use_tga='wxUSE_TGA=no'
12367 fi
12368
12369 else
12370
12371 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12372 if test "x$LINE" != x ; then
12373 eval "DEFAULT_$LINE"
12374 else
12375 no_cache=1
12376 fi
12377
12378 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12379
12380 fi
12381
12382
12383 eval "$ac_cv_use_tga"
12384 if test "$no_cache" != 1; then
12385 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12386 fi
12387
12388 if test "$wxUSE_TGA" = yes; then
12389 { echo "$as_me:$LINENO: result: yes" >&5
12390 echo "${ECHO_T}yes" >&6; }
12391 else
12392 { echo "$as_me:$LINENO: result: no" >&5
12393 echo "${ECHO_T}no" >&6; }
12394 fi
12395
12396
12397 enablestring=
12398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12399 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12400 no_cache=0
12401 # Check whether --enable-iff was given.
12402 if test "${enable_iff+set}" = set; then
12403 enableval=$enable_iff;
12404 if test "$enableval" = yes; then
12405 ac_cv_use_iff='wxUSE_IFF=yes'
12406 else
12407 ac_cv_use_iff='wxUSE_IFF=no'
12408 fi
12409
12410 else
12411
12412 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12413 if test "x$LINE" != x ; then
12414 eval "DEFAULT_$LINE"
12415 else
12416 no_cache=1
12417 fi
12418
12419 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12420
12421 fi
12422
12423
12424 eval "$ac_cv_use_iff"
12425 if test "$no_cache" != 1; then
12426 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12427 fi
12428
12429 if test "$wxUSE_IFF" = yes; then
12430 { echo "$as_me:$LINENO: result: yes" >&5
12431 echo "${ECHO_T}yes" >&6; }
12432 else
12433 { echo "$as_me:$LINENO: result: no" >&5
12434 echo "${ECHO_T}no" >&6; }
12435 fi
12436
12437
12438 enablestring=
12439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12440 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12441 no_cache=0
12442 # Check whether --enable-pnm was given.
12443 if test "${enable_pnm+set}" = set; then
12444 enableval=$enable_pnm;
12445 if test "$enableval" = yes; then
12446 ac_cv_use_pnm='wxUSE_PNM=yes'
12447 else
12448 ac_cv_use_pnm='wxUSE_PNM=no'
12449 fi
12450
12451 else
12452
12453 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12454 if test "x$LINE" != x ; then
12455 eval "DEFAULT_$LINE"
12456 else
12457 no_cache=1
12458 fi
12459
12460 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12461
12462 fi
12463
12464
12465 eval "$ac_cv_use_pnm"
12466 if test "$no_cache" != 1; then
12467 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12468 fi
12469
12470 if test "$wxUSE_PNM" = yes; then
12471 { echo "$as_me:$LINENO: result: yes" >&5
12472 echo "${ECHO_T}yes" >&6; }
12473 else
12474 { echo "$as_me:$LINENO: result: no" >&5
12475 echo "${ECHO_T}no" >&6; }
12476 fi
12477
12478
12479 enablestring=
12480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12481 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12482 no_cache=0
12483 # Check whether --enable-xpm was given.
12484 if test "${enable_xpm+set}" = set; then
12485 enableval=$enable_xpm;
12486 if test "$enableval" = yes; then
12487 ac_cv_use_xpm='wxUSE_XPM=yes'
12488 else
12489 ac_cv_use_xpm='wxUSE_XPM=no'
12490 fi
12491
12492 else
12493
12494 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12495 if test "x$LINE" != x ; then
12496 eval "DEFAULT_$LINE"
12497 else
12498 no_cache=1
12499 fi
12500
12501 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12502
12503 fi
12504
12505
12506 eval "$ac_cv_use_xpm"
12507 if test "$no_cache" != 1; then
12508 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12509 fi
12510
12511 if test "$wxUSE_XPM" = yes; then
12512 { echo "$as_me:$LINENO: result: yes" >&5
12513 echo "${ECHO_T}yes" >&6; }
12514 else
12515 { echo "$as_me:$LINENO: result: no" >&5
12516 echo "${ECHO_T}no" >&6; }
12517 fi
12518
12519
12520 enablestring=
12521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12522 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12523 no_cache=0
12524 # Check whether --enable-ico_cur was given.
12525 if test "${enable_ico_cur+set}" = set; then
12526 enableval=$enable_ico_cur;
12527 if test "$enableval" = yes; then
12528 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12529 else
12530 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12531 fi
12532
12533 else
12534
12535 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12536 if test "x$LINE" != x ; then
12537 eval "DEFAULT_$LINE"
12538 else
12539 no_cache=1
12540 fi
12541
12542 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12543
12544 fi
12545
12546
12547 eval "$ac_cv_use_ico_cur"
12548 if test "$no_cache" != 1; then
12549 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12550 fi
12551
12552 if test "$wxUSE_ICO_CUR" = yes; then
12553 { echo "$as_me:$LINENO: result: yes" >&5
12554 echo "${ECHO_T}yes" >&6; }
12555 else
12556 { echo "$as_me:$LINENO: result: no" >&5
12557 echo "${ECHO_T}no" >&6; }
12558 fi
12559
12560
12561 fi
12562
12563
12564
12565 # Check whether --with-flavour was given.
12566 if test "${with_flavour+set}" = set; then
12567 withval=$with_flavour; WX_FLAVOUR="$withval"
12568 fi
12569
12570
12571
12572
12573 enablestring=
12574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12575 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12576 no_cache=0
12577 # Check whether --enable-official_build was given.
12578 if test "${enable_official_build+set}" = set; then
12579 enableval=$enable_official_build;
12580 if test "$enableval" = yes; then
12581 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12582 else
12583 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12584 fi
12585
12586 else
12587
12588 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12589 if test "x$LINE" != x ; then
12590 eval "DEFAULT_$LINE"
12591 else
12592 no_cache=1
12593 fi
12594
12595 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12596
12597 fi
12598
12599
12600 eval "$ac_cv_use_official_build"
12601 if test "$no_cache" != 1; then
12602 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12603 fi
12604
12605 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12606 { echo "$as_me:$LINENO: result: yes" >&5
12607 echo "${ECHO_T}yes" >&6; }
12608 else
12609 { echo "$as_me:$LINENO: result: no" >&5
12610 echo "${ECHO_T}no" >&6; }
12611 fi
12612
12613 # Check whether --enable-vendor was given.
12614 if test "${enable_vendor+set}" = set; then
12615 enableval=$enable_vendor; VENDOR="$enableval"
12616 fi
12617
12618 if test "x$VENDOR" = "x"; then
12619 VENDOR="custom"
12620 fi
12621
12622
12623
12624
12625 echo "saving argument cache $wx_arg_cache_file"
12626 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12627
12628
12629
12630 { echo "$as_me:$LINENO: checking for toolkit" >&5
12631 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12632
12633 # In Wine, we need to default to MSW, not GTK or MOTIF
12634 if test "$wxUSE_WINE" = "yes"; then
12635 DEFAULT_DEFAULT_wxUSE_GTK=0
12636 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12637 DEFAULT_DEFAULT_wxUSE_MSW=1
12638 wxUSE_SHARED=no
12639 CC=${CC:-winegcc}
12640 CXX=${CXX:-wineg++}
12641 fi
12642
12643
12644 if test "$wxUSE_GUI" = "yes"; then
12645
12646 if test "$USE_BEOS" = 1; then
12647 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12648 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12649 { (exit 1); exit 1; }; }
12650 fi
12651
12652 if test "$TOOLKIT_GIVEN" = 1; then
12653 for toolkit in `echo $ALL_TOOLKITS`; do
12654 var=wxUSE_$toolkit
12655 eval "value=\$${var}"
12656 if test "x$value" = "xno"; then
12657 eval "$var=0"
12658 elif test "x$value" != "x"; then
12659 eval "$var=1"
12660 fi
12661
12662 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12663 eval "wx${toolkit}_VERSION=$value"
12664 fi
12665 done
12666 else
12667 for toolkit in `echo $ALL_TOOLKITS`; do
12668 if test "$has_toolkit_in_cache" != 1; then
12669 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12670 else
12671 var=DEFAULT_wxUSE_$toolkit
12672
12673 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12674 if test "x$version" != "x"; then
12675 eval "wx${toolkit}_VERSION=$version"
12676 fi
12677 fi
12678 eval "wxUSE_$toolkit=\$${var}"
12679 done
12680 fi
12681
12682 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12683 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12684 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12685
12686 case "${host}" in
12687 *-pc-os2_emx | *-pc-os2-emx )
12688 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12689 esac
12690
12691 case "$NUM_TOOLKITS" in
12692 1)
12693 ;;
12694 0)
12695 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12696 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12697 { (exit 1); exit 1; }; }
12698 ;;
12699 *)
12700 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12701 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12702 { (exit 1); exit 1; }; }
12703 esac
12704
12705 # to be removed when --disable-gtk2 isn't needed
12706 if test "x$wxUSE_GTK2" = "xyes"; then
12707 wxGTK_VERSION=2
12708 elif test "x$wxUSE_GTK2" = "xno"; then
12709 wxGTK_VERSION=1
12710 fi
12711
12712 for toolkit in `echo $ALL_TOOLKITS`; do
12713 var=wxUSE_$toolkit
12714 eval "value=\$${var}"
12715 if test "x$value" != x; then
12716 cache_var=CACHE_$toolkit
12717 eval "cache=\$${cache_var}"
12718 if test "$cache" = 1; then
12719 echo "$var=$value" >> ${wx_arg_cache_file}
12720 eval "version=\$wx${toolkit}_VERSION"
12721 if test "x$version" != "x"; then
12722 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12723 fi
12724 fi
12725 if test "$value" = 1; then
12726 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12727 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12728 echo "${ECHO_T}$toolkit_echo" >&6; }
12729 fi
12730 fi
12731 done
12732 else
12733 if test "x$host_alias" != "x"; then
12734 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12735 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12736 else
12737 { echo "$as_me:$LINENO: result: base only" >&5
12738 echo "${ECHO_T}base only" >&6; }
12739 fi
12740 fi
12741
12742
12743 cat >confcache <<\_ACEOF
12744 # This file is a shell script that caches the results of configure
12745 # tests run on this system so they can be shared between configure
12746 # scripts and configure runs, see configure's option --config-cache.
12747 # It is not useful on other systems. If it contains results you don't
12748 # want to keep, you may remove or edit it.
12749 #
12750 # config.status only pays attention to the cache file if you give it
12751 # the --recheck option to rerun configure.
12752 #
12753 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12754 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12755 # following values.
12756
12757 _ACEOF
12758
12759 # The following way of writing the cache mishandles newlines in values,
12760 # but we know of no workaround that is simple, portable, and efficient.
12761 # So, we kill variables containing newlines.
12762 # Ultrix sh set writes to stderr and can't be redirected directly,
12763 # and sets the high bit in the cache file unless we assign to the vars.
12764 (
12765 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12766 eval ac_val=\$$ac_var
12767 case $ac_val in #(
12768 *${as_nl}*)
12769 case $ac_var in #(
12770 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12771 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12772 esac
12773 case $ac_var in #(
12774 _ | IFS | as_nl) ;; #(
12775 *) $as_unset $ac_var ;;
12776 esac ;;
12777 esac
12778 done
12779
12780 (set) 2>&1 |
12781 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12782 *${as_nl}ac_space=\ *)
12783 # `set' does not quote correctly, so add quotes (double-quote
12784 # substitution turns \\\\ into \\, and sed turns \\ into \).
12785 sed -n \
12786 "s/'/'\\\\''/g;
12787 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12788 ;; #(
12789 *)
12790 # `set' quotes correctly as required by POSIX, so do not add quotes.
12791 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12792 ;;
12793 esac |
12794 sort
12795 ) |
12796 sed '
12797 /^ac_cv_env_/b end
12798 t clear
12799 :clear
12800 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12801 t end
12802 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12803 :end' >>confcache
12804 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12805 if test -w "$cache_file"; then
12806 test "x$cache_file" != "x/dev/null" &&
12807 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12808 echo "$as_me: updating cache $cache_file" >&6;}
12809 cat confcache >$cache_file
12810 else
12811 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12812 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12813 fi
12814 fi
12815 rm -f confcache
12816
12817 CFLAGS=${CFLAGS:=}
12818
12819
12820
12821 ac_ext=c
12822 ac_cpp='$CPP $CPPFLAGS'
12823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12826 if test -n "$ac_tool_prefix"; then
12827 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12828 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12831 if test "${ac_cv_prog_CC+set}" = set; then
12832 echo $ECHO_N "(cached) $ECHO_C" >&6
12833 else
12834 if test -n "$CC"; then
12835 ac_cv_prog_CC="$CC" # Let the user override the test.
12836 else
12837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12838 for as_dir in $PATH
12839 do
12840 IFS=$as_save_IFS
12841 test -z "$as_dir" && as_dir=.
12842 for ac_exec_ext in '' $ac_executable_extensions; do
12843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12844 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12846 break 2
12847 fi
12848 done
12849 done
12850 IFS=$as_save_IFS
12851
12852 fi
12853 fi
12854 CC=$ac_cv_prog_CC
12855 if test -n "$CC"; then
12856 { echo "$as_me:$LINENO: result: $CC" >&5
12857 echo "${ECHO_T}$CC" >&6; }
12858 else
12859 { echo "$as_me:$LINENO: result: no" >&5
12860 echo "${ECHO_T}no" >&6; }
12861 fi
12862
12863
12864 fi
12865 if test -z "$ac_cv_prog_CC"; then
12866 ac_ct_CC=$CC
12867 # Extract the first word of "gcc", so it can be a program name with args.
12868 set dummy gcc; ac_word=$2
12869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12872 echo $ECHO_N "(cached) $ECHO_C" >&6
12873 else
12874 if test -n "$ac_ct_CC"; then
12875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12876 else
12877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12878 for as_dir in $PATH
12879 do
12880 IFS=$as_save_IFS
12881 test -z "$as_dir" && as_dir=.
12882 for ac_exec_ext in '' $ac_executable_extensions; do
12883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12884 ac_cv_prog_ac_ct_CC="gcc"
12885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12886 break 2
12887 fi
12888 done
12889 done
12890 IFS=$as_save_IFS
12891
12892 fi
12893 fi
12894 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12895 if test -n "$ac_ct_CC"; then
12896 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12897 echo "${ECHO_T}$ac_ct_CC" >&6; }
12898 else
12899 { echo "$as_me:$LINENO: result: no" >&5
12900 echo "${ECHO_T}no" >&6; }
12901 fi
12902
12903 if test "x$ac_ct_CC" = x; then
12904 CC=""
12905 else
12906 case $cross_compiling:$ac_tool_warned in
12907 yes:)
12908 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12909 whose name does not start with the host triplet. If you think this
12910 configuration is useful to you, please write to autoconf@gnu.org." >&5
12911 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12912 whose name does not start with the host triplet. If you think this
12913 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12914 ac_tool_warned=yes ;;
12915 esac
12916 CC=$ac_ct_CC
12917 fi
12918 else
12919 CC="$ac_cv_prog_CC"
12920 fi
12921
12922 if test -z "$CC"; then
12923 if test -n "$ac_tool_prefix"; then
12924 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12925 set dummy ${ac_tool_prefix}cc; ac_word=$2
12926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12928 if test "${ac_cv_prog_CC+set}" = set; then
12929 echo $ECHO_N "(cached) $ECHO_C" >&6
12930 else
12931 if test -n "$CC"; then
12932 ac_cv_prog_CC="$CC" # Let the user override the test.
12933 else
12934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12935 for as_dir in $PATH
12936 do
12937 IFS=$as_save_IFS
12938 test -z "$as_dir" && as_dir=.
12939 for ac_exec_ext in '' $ac_executable_extensions; do
12940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12941 ac_cv_prog_CC="${ac_tool_prefix}cc"
12942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12943 break 2
12944 fi
12945 done
12946 done
12947 IFS=$as_save_IFS
12948
12949 fi
12950 fi
12951 CC=$ac_cv_prog_CC
12952 if test -n "$CC"; then
12953 { echo "$as_me:$LINENO: result: $CC" >&5
12954 echo "${ECHO_T}$CC" >&6; }
12955 else
12956 { echo "$as_me:$LINENO: result: no" >&5
12957 echo "${ECHO_T}no" >&6; }
12958 fi
12959
12960
12961 fi
12962 fi
12963 if test -z "$CC"; then
12964 # Extract the first word of "cc", so it can be a program name with args.
12965 set dummy cc; ac_word=$2
12966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12968 if test "${ac_cv_prog_CC+set}" = set; then
12969 echo $ECHO_N "(cached) $ECHO_C" >&6
12970 else
12971 if test -n "$CC"; then
12972 ac_cv_prog_CC="$CC" # Let the user override the test.
12973 else
12974 ac_prog_rejected=no
12975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12976 for as_dir in $PATH
12977 do
12978 IFS=$as_save_IFS
12979 test -z "$as_dir" && as_dir=.
12980 for ac_exec_ext in '' $ac_executable_extensions; do
12981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12982 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12983 ac_prog_rejected=yes
12984 continue
12985 fi
12986 ac_cv_prog_CC="cc"
12987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12988 break 2
12989 fi
12990 done
12991 done
12992 IFS=$as_save_IFS
12993
12994 if test $ac_prog_rejected = yes; then
12995 # We found a bogon in the path, so make sure we never use it.
12996 set dummy $ac_cv_prog_CC
12997 shift
12998 if test $# != 0; then
12999 # We chose a different compiler from the bogus one.
13000 # However, it has the same basename, so the bogon will be chosen
13001 # first if we set CC to just the basename; use the full file name.
13002 shift
13003 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13004 fi
13005 fi
13006 fi
13007 fi
13008 CC=$ac_cv_prog_CC
13009 if test -n "$CC"; then
13010 { echo "$as_me:$LINENO: result: $CC" >&5
13011 echo "${ECHO_T}$CC" >&6; }
13012 else
13013 { echo "$as_me:$LINENO: result: no" >&5
13014 echo "${ECHO_T}no" >&6; }
13015 fi
13016
13017
13018 fi
13019 if test -z "$CC"; then
13020 if test -n "$ac_tool_prefix"; then
13021 for ac_prog in cl.exe
13022 do
13023 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13024 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13027 if test "${ac_cv_prog_CC+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 else
13030 if test -n "$CC"; then
13031 ac_cv_prog_CC="$CC" # Let the user override the test.
13032 else
13033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13034 for as_dir in $PATH
13035 do
13036 IFS=$as_save_IFS
13037 test -z "$as_dir" && as_dir=.
13038 for ac_exec_ext in '' $ac_executable_extensions; do
13039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13040 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13042 break 2
13043 fi
13044 done
13045 done
13046 IFS=$as_save_IFS
13047
13048 fi
13049 fi
13050 CC=$ac_cv_prog_CC
13051 if test -n "$CC"; then
13052 { echo "$as_me:$LINENO: result: $CC" >&5
13053 echo "${ECHO_T}$CC" >&6; }
13054 else
13055 { echo "$as_me:$LINENO: result: no" >&5
13056 echo "${ECHO_T}no" >&6; }
13057 fi
13058
13059
13060 test -n "$CC" && break
13061 done
13062 fi
13063 if test -z "$CC"; then
13064 ac_ct_CC=$CC
13065 for ac_prog in cl.exe
13066 do
13067 # Extract the first word of "$ac_prog", so it can be a program name with args.
13068 set dummy $ac_prog; ac_word=$2
13069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13071 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 else
13074 if test -n "$ac_ct_CC"; then
13075 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13076 else
13077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13078 for as_dir in $PATH
13079 do
13080 IFS=$as_save_IFS
13081 test -z "$as_dir" && as_dir=.
13082 for ac_exec_ext in '' $ac_executable_extensions; do
13083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13084 ac_cv_prog_ac_ct_CC="$ac_prog"
13085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13086 break 2
13087 fi
13088 done
13089 done
13090 IFS=$as_save_IFS
13091
13092 fi
13093 fi
13094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13095 if test -n "$ac_ct_CC"; then
13096 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13097 echo "${ECHO_T}$ac_ct_CC" >&6; }
13098 else
13099 { echo "$as_me:$LINENO: result: no" >&5
13100 echo "${ECHO_T}no" >&6; }
13101 fi
13102
13103
13104 test -n "$ac_ct_CC" && break
13105 done
13106
13107 if test "x$ac_ct_CC" = x; then
13108 CC=""
13109 else
13110 case $cross_compiling:$ac_tool_warned in
13111 yes:)
13112 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13113 whose name does not start with the host triplet. If you think this
13114 configuration is useful to you, please write to autoconf@gnu.org." >&5
13115 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13116 whose name does not start with the host triplet. If you think this
13117 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13118 ac_tool_warned=yes ;;
13119 esac
13120 CC=$ac_ct_CC
13121 fi
13122 fi
13123
13124 fi
13125
13126
13127 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13128 See \`config.log' for more details." >&5
13129 echo "$as_me: error: no acceptable C compiler found in \$PATH
13130 See \`config.log' for more details." >&2;}
13131 { (exit 1); exit 1; }; }
13132
13133 # Provide some information about the compiler.
13134 echo "$as_me:$LINENO: checking for C compiler version" >&5
13135 ac_compiler=`set X $ac_compile; echo $2`
13136 { (ac_try="$ac_compiler --version >&5"
13137 case "(($ac_try" in
13138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13139 *) ac_try_echo=$ac_try;;
13140 esac
13141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13142 (eval "$ac_compiler --version >&5") 2>&5
13143 ac_status=$?
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); }
13146 { (ac_try="$ac_compiler -v >&5"
13147 case "(($ac_try" in
13148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13149 *) ac_try_echo=$ac_try;;
13150 esac
13151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13152 (eval "$ac_compiler -v >&5") 2>&5
13153 ac_status=$?
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }
13156 { (ac_try="$ac_compiler -V >&5"
13157 case "(($ac_try" in
13158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13159 *) ac_try_echo=$ac_try;;
13160 esac
13161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13162 (eval "$ac_compiler -V >&5") 2>&5
13163 ac_status=$?
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }
13166
13167 cat >conftest.$ac_ext <<_ACEOF
13168 /* confdefs.h. */
13169 _ACEOF
13170 cat confdefs.h >>conftest.$ac_ext
13171 cat >>conftest.$ac_ext <<_ACEOF
13172 /* end confdefs.h. */
13173
13174 int
13175 main ()
13176 {
13177
13178 ;
13179 return 0;
13180 }
13181 _ACEOF
13182 ac_clean_files_save=$ac_clean_files
13183 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13184 # Try to create an executable without -o first, disregard a.out.
13185 # It will help us diagnose broken compilers, and finding out an intuition
13186 # of exeext.
13187 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13188 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13189 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13190 #
13191 # List of possible output files, starting from the most likely.
13192 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13193 # only as a last resort. b.out is created by i960 compilers.
13194 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13195 #
13196 # The IRIX 6 linker writes into existing files which may not be
13197 # executable, retaining their permissions. Remove them first so a
13198 # subsequent execution test works.
13199 ac_rmfiles=
13200 for ac_file in $ac_files
13201 do
13202 case $ac_file in
13203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13204 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13205 esac
13206 done
13207 rm -f $ac_rmfiles
13208
13209 if { (ac_try="$ac_link_default"
13210 case "(($ac_try" in
13211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13212 *) ac_try_echo=$ac_try;;
13213 esac
13214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13215 (eval "$ac_link_default") 2>&5
13216 ac_status=$?
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; then
13219 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13220 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13221 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13222 # so that the user can short-circuit this test for compilers unknown to
13223 # Autoconf.
13224 for ac_file in $ac_files
13225 do
13226 test -f "$ac_file" || continue
13227 case $ac_file in
13228 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13229 ;;
13230 [ab].out )
13231 # We found the default executable, but exeext='' is most
13232 # certainly right.
13233 break;;
13234 *.* )
13235 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13236 then :; else
13237 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13238 fi
13239 # We set ac_cv_exeext here because the later test for it is not
13240 # safe: cross compilers may not add the suffix if given an `-o'
13241 # argument, so we may need to know it at that point already.
13242 # Even if this section looks crufty: it has the advantage of
13243 # actually working.
13244 break;;
13245 * )
13246 break;;
13247 esac
13248 done
13249 test "$ac_cv_exeext" = no && ac_cv_exeext=
13250
13251 else
13252 echo "$as_me: failed program was:" >&5
13253 sed 's/^/| /' conftest.$ac_ext >&5
13254
13255 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13256 See \`config.log' for more details." >&5
13257 echo "$as_me: error: C compiler cannot create executables
13258 See \`config.log' for more details." >&2;}
13259 { (exit 77); exit 77; }; }
13260 fi
13261
13262 ac_exeext=$ac_cv_exeext
13263 { echo "$as_me:$LINENO: result: $ac_file" >&5
13264 echo "${ECHO_T}$ac_file" >&6; }
13265
13266 # Check that the compiler produces executables we can run. If not, either
13267 # the compiler is broken, or we cross compile.
13268 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13269 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13270 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13271 # If not cross compiling, check that we can run a simple program.
13272 if test "$cross_compiling" != yes; then
13273 if { ac_try='./$ac_file'
13274 { (case "(($ac_try" in
13275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13276 *) ac_try_echo=$ac_try;;
13277 esac
13278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13279 (eval "$ac_try") 2>&5
13280 ac_status=$?
13281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13282 (exit $ac_status); }; }; then
13283 cross_compiling=no
13284 else
13285 if test "$cross_compiling" = maybe; then
13286 cross_compiling=yes
13287 else
13288 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13289 If you meant to cross compile, use \`--host'.
13290 See \`config.log' for more details." >&5
13291 echo "$as_me: error: cannot run C compiled programs.
13292 If you meant to cross compile, use \`--host'.
13293 See \`config.log' for more details." >&2;}
13294 { (exit 1); exit 1; }; }
13295 fi
13296 fi
13297 fi
13298 { echo "$as_me:$LINENO: result: yes" >&5
13299 echo "${ECHO_T}yes" >&6; }
13300
13301 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13302 ac_clean_files=$ac_clean_files_save
13303 # Check that the compiler produces executables we can run. If not, either
13304 # the compiler is broken, or we cross compile.
13305 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13306 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13307 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13308 echo "${ECHO_T}$cross_compiling" >&6; }
13309
13310 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13311 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13312 if { (ac_try="$ac_link"
13313 case "(($ac_try" in
13314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13315 *) ac_try_echo=$ac_try;;
13316 esac
13317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13318 (eval "$ac_link") 2>&5
13319 ac_status=$?
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); }; then
13322 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13323 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13324 # work properly (i.e., refer to `conftest.exe'), while it won't with
13325 # `rm'.
13326 for ac_file in conftest.exe conftest conftest.*; do
13327 test -f "$ac_file" || continue
13328 case $ac_file in
13329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13330 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13331 break;;
13332 * ) break;;
13333 esac
13334 done
13335 else
13336 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13337 See \`config.log' for more details." >&5
13338 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13339 See \`config.log' for more details." >&2;}
13340 { (exit 1); exit 1; }; }
13341 fi
13342
13343 rm -f conftest$ac_cv_exeext
13344 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13345 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13346
13347 rm -f conftest.$ac_ext
13348 EXEEXT=$ac_cv_exeext
13349 ac_exeext=$EXEEXT
13350 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13351 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13352 if test "${ac_cv_objext+set}" = set; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13354 else
13355 cat >conftest.$ac_ext <<_ACEOF
13356 /* confdefs.h. */
13357 _ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13361
13362 int
13363 main ()
13364 {
13365
13366 ;
13367 return 0;
13368 }
13369 _ACEOF
13370 rm -f conftest.o conftest.obj
13371 if { (ac_try="$ac_compile"
13372 case "(($ac_try" in
13373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13374 *) ac_try_echo=$ac_try;;
13375 esac
13376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13377 (eval "$ac_compile") 2>&5
13378 ac_status=$?
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); }; then
13381 for ac_file in conftest.o conftest.obj conftest.*; do
13382 test -f "$ac_file" || continue;
13383 case $ac_file in
13384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13385 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13386 break;;
13387 esac
13388 done
13389 else
13390 echo "$as_me: failed program was:" >&5
13391 sed 's/^/| /' conftest.$ac_ext >&5
13392
13393 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13394 See \`config.log' for more details." >&5
13395 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13396 See \`config.log' for more details." >&2;}
13397 { (exit 1); exit 1; }; }
13398 fi
13399
13400 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13401 fi
13402 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13403 echo "${ECHO_T}$ac_cv_objext" >&6; }
13404 OBJEXT=$ac_cv_objext
13405 ac_objext=$OBJEXT
13406 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13407 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13408 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13409 echo $ECHO_N "(cached) $ECHO_C" >&6
13410 else
13411 cat >conftest.$ac_ext <<_ACEOF
13412 /* confdefs.h. */
13413 _ACEOF
13414 cat confdefs.h >>conftest.$ac_ext
13415 cat >>conftest.$ac_ext <<_ACEOF
13416 /* end confdefs.h. */
13417
13418 int
13419 main ()
13420 {
13421 #ifndef __GNUC__
13422 choke me
13423 #endif
13424
13425 ;
13426 return 0;
13427 }
13428 _ACEOF
13429 rm -f conftest.$ac_objext
13430 if { (ac_try="$ac_compile"
13431 case "(($ac_try" in
13432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13433 *) ac_try_echo=$ac_try;;
13434 esac
13435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13436 (eval "$ac_compile") 2>conftest.er1
13437 ac_status=$?
13438 grep -v '^ *+' conftest.er1 >conftest.err
13439 rm -f conftest.er1
13440 cat conftest.err >&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); } &&
13443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13444 { (case "(($ac_try" in
13445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13446 *) ac_try_echo=$ac_try;;
13447 esac
13448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13449 (eval "$ac_try") 2>&5
13450 ac_status=$?
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; } &&
13453 { ac_try='test -s conftest.$ac_objext'
13454 { (case "(($ac_try" in
13455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13456 *) ac_try_echo=$ac_try;;
13457 esac
13458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13459 (eval "$ac_try") 2>&5
13460 ac_status=$?
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); }; }; then
13463 ac_compiler_gnu=yes
13464 else
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.$ac_ext >&5
13467
13468 ac_compiler_gnu=no
13469 fi
13470
13471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13472 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13473
13474 fi
13475 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13476 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13477 GCC=`test $ac_compiler_gnu = yes && echo yes`
13478 ac_test_CFLAGS=${CFLAGS+set}
13479 ac_save_CFLAGS=$CFLAGS
13480 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13481 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13482 if test "${ac_cv_prog_cc_g+set}" = set; then
13483 echo $ECHO_N "(cached) $ECHO_C" >&6
13484 else
13485 ac_save_c_werror_flag=$ac_c_werror_flag
13486 ac_c_werror_flag=yes
13487 ac_cv_prog_cc_g=no
13488 CFLAGS="-g"
13489 cat >conftest.$ac_ext <<_ACEOF
13490 /* confdefs.h. */
13491 _ACEOF
13492 cat confdefs.h >>conftest.$ac_ext
13493 cat >>conftest.$ac_ext <<_ACEOF
13494 /* end confdefs.h. */
13495
13496 int
13497 main ()
13498 {
13499
13500 ;
13501 return 0;
13502 }
13503 _ACEOF
13504 rm -f conftest.$ac_objext
13505 if { (ac_try="$ac_compile"
13506 case "(($ac_try" in
13507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13508 *) ac_try_echo=$ac_try;;
13509 esac
13510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13511 (eval "$ac_compile") 2>conftest.er1
13512 ac_status=$?
13513 grep -v '^ *+' conftest.er1 >conftest.err
13514 rm -f conftest.er1
13515 cat conftest.err >&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); } &&
13518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13519 { (case "(($ac_try" in
13520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13521 *) ac_try_echo=$ac_try;;
13522 esac
13523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13524 (eval "$ac_try") 2>&5
13525 ac_status=$?
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); }; } &&
13528 { ac_try='test -s conftest.$ac_objext'
13529 { (case "(($ac_try" in
13530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13531 *) ac_try_echo=$ac_try;;
13532 esac
13533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13534 (eval "$ac_try") 2>&5
13535 ac_status=$?
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); }; }; then
13538 ac_cv_prog_cc_g=yes
13539 else
13540 echo "$as_me: failed program was:" >&5
13541 sed 's/^/| /' conftest.$ac_ext >&5
13542
13543 CFLAGS=""
13544 cat >conftest.$ac_ext <<_ACEOF
13545 /* confdefs.h. */
13546 _ACEOF
13547 cat confdefs.h >>conftest.$ac_ext
13548 cat >>conftest.$ac_ext <<_ACEOF
13549 /* end confdefs.h. */
13550
13551 int
13552 main ()
13553 {
13554
13555 ;
13556 return 0;
13557 }
13558 _ACEOF
13559 rm -f conftest.$ac_objext
13560 if { (ac_try="$ac_compile"
13561 case "(($ac_try" in
13562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13563 *) ac_try_echo=$ac_try;;
13564 esac
13565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13566 (eval "$ac_compile") 2>conftest.er1
13567 ac_status=$?
13568 grep -v '^ *+' conftest.er1 >conftest.err
13569 rm -f conftest.er1
13570 cat conftest.err >&5
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); } &&
13573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13574 { (case "(($ac_try" in
13575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13576 *) ac_try_echo=$ac_try;;
13577 esac
13578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13579 (eval "$ac_try") 2>&5
13580 ac_status=$?
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); }; } &&
13583 { ac_try='test -s conftest.$ac_objext'
13584 { (case "(($ac_try" in
13585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13586 *) ac_try_echo=$ac_try;;
13587 esac
13588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13589 (eval "$ac_try") 2>&5
13590 ac_status=$?
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); }; }; then
13593 :
13594 else
13595 echo "$as_me: failed program was:" >&5
13596 sed 's/^/| /' conftest.$ac_ext >&5
13597
13598 ac_c_werror_flag=$ac_save_c_werror_flag
13599 CFLAGS="-g"
13600 cat >conftest.$ac_ext <<_ACEOF
13601 /* confdefs.h. */
13602 _ACEOF
13603 cat confdefs.h >>conftest.$ac_ext
13604 cat >>conftest.$ac_ext <<_ACEOF
13605 /* end confdefs.h. */
13606
13607 int
13608 main ()
13609 {
13610
13611 ;
13612 return 0;
13613 }
13614 _ACEOF
13615 rm -f conftest.$ac_objext
13616 if { (ac_try="$ac_compile"
13617 case "(($ac_try" in
13618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13619 *) ac_try_echo=$ac_try;;
13620 esac
13621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13622 (eval "$ac_compile") 2>conftest.er1
13623 ac_status=$?
13624 grep -v '^ *+' conftest.er1 >conftest.err
13625 rm -f conftest.er1
13626 cat conftest.err >&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); } &&
13629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13630 { (case "(($ac_try" in
13631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13632 *) ac_try_echo=$ac_try;;
13633 esac
13634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13635 (eval "$ac_try") 2>&5
13636 ac_status=$?
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); }; } &&
13639 { ac_try='test -s conftest.$ac_objext'
13640 { (case "(($ac_try" in
13641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13642 *) ac_try_echo=$ac_try;;
13643 esac
13644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13645 (eval "$ac_try") 2>&5
13646 ac_status=$?
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); }; }; then
13649 ac_cv_prog_cc_g=yes
13650 else
13651 echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.$ac_ext >&5
13653
13654
13655 fi
13656
13657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13658 fi
13659
13660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13661 fi
13662
13663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13664 ac_c_werror_flag=$ac_save_c_werror_flag
13665 fi
13666 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13667 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13668 if test "$ac_test_CFLAGS" = set; then
13669 CFLAGS=$ac_save_CFLAGS
13670 elif test $ac_cv_prog_cc_g = yes; then
13671 if test "$GCC" = yes; then
13672 CFLAGS="-g -O2"
13673 else
13674 CFLAGS="-g"
13675 fi
13676 else
13677 if test "$GCC" = yes; then
13678 CFLAGS="-O2"
13679 else
13680 CFLAGS=
13681 fi
13682 fi
13683 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13684 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13685 if test "${ac_cv_prog_cc_c89+set}" = set; then
13686 echo $ECHO_N "(cached) $ECHO_C" >&6
13687 else
13688 ac_cv_prog_cc_c89=no
13689 ac_save_CC=$CC
13690 cat >conftest.$ac_ext <<_ACEOF
13691 /* confdefs.h. */
13692 _ACEOF
13693 cat confdefs.h >>conftest.$ac_ext
13694 cat >>conftest.$ac_ext <<_ACEOF
13695 /* end confdefs.h. */
13696 #include <stdarg.h>
13697 #include <stdio.h>
13698 #include <sys/types.h>
13699 #include <sys/stat.h>
13700 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13701 struct buf { int x; };
13702 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13703 static char *e (p, i)
13704 char **p;
13705 int i;
13706 {
13707 return p[i];
13708 }
13709 static char *f (char * (*g) (char **, int), char **p, ...)
13710 {
13711 char *s;
13712 va_list v;
13713 va_start (v,p);
13714 s = g (p, va_arg (v,int));
13715 va_end (v);
13716 return s;
13717 }
13718
13719 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13720 function prototypes and stuff, but not '\xHH' hex character constants.
13721 These don't provoke an error unfortunately, instead are silently treated
13722 as 'x'. The following induces an error, until -std is added to get
13723 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13724 array size at least. It's necessary to write '\x00'==0 to get something
13725 that's true only with -std. */
13726 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13727
13728 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13729 inside strings and character constants. */
13730 #define FOO(x) 'x'
13731 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13732
13733 int test (int i, double x);
13734 struct s1 {int (*f) (int a);};
13735 struct s2 {int (*f) (double a);};
13736 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13737 int argc;
13738 char **argv;
13739 int
13740 main ()
13741 {
13742 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13743 ;
13744 return 0;
13745 }
13746 _ACEOF
13747 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13748 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13749 do
13750 CC="$ac_save_CC $ac_arg"
13751 rm -f conftest.$ac_objext
13752 if { (ac_try="$ac_compile"
13753 case "(($ac_try" in
13754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13755 *) ac_try_echo=$ac_try;;
13756 esac
13757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13758 (eval "$ac_compile") 2>conftest.er1
13759 ac_status=$?
13760 grep -v '^ *+' conftest.er1 >conftest.err
13761 rm -f conftest.er1
13762 cat conftest.err >&5
13763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13764 (exit $ac_status); } &&
13765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13766 { (case "(($ac_try" in
13767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13768 *) ac_try_echo=$ac_try;;
13769 esac
13770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13771 (eval "$ac_try") 2>&5
13772 ac_status=$?
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); }; } &&
13775 { ac_try='test -s conftest.$ac_objext'
13776 { (case "(($ac_try" in
13777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13778 *) ac_try_echo=$ac_try;;
13779 esac
13780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13781 (eval "$ac_try") 2>&5
13782 ac_status=$?
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); }; }; then
13785 ac_cv_prog_cc_c89=$ac_arg
13786 else
13787 echo "$as_me: failed program was:" >&5
13788 sed 's/^/| /' conftest.$ac_ext >&5
13789
13790
13791 fi
13792
13793 rm -f core conftest.err conftest.$ac_objext
13794 test "x$ac_cv_prog_cc_c89" != "xno" && break
13795 done
13796 rm -f conftest.$ac_ext
13797 CC=$ac_save_CC
13798
13799 fi
13800 # AC_CACHE_VAL
13801 case "x$ac_cv_prog_cc_c89" in
13802 x)
13803 { echo "$as_me:$LINENO: result: none needed" >&5
13804 echo "${ECHO_T}none needed" >&6; } ;;
13805 xno)
13806 { echo "$as_me:$LINENO: result: unsupported" >&5
13807 echo "${ECHO_T}unsupported" >&6; } ;;
13808 *)
13809 CC="$CC $ac_cv_prog_cc_c89"
13810 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13811 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13812 esac
13813
13814
13815 ac_ext=c
13816 ac_cpp='$CPP $CPPFLAGS'
13817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13820
13821
13822
13823 ac_ext=c
13824 ac_cpp='$CPP $CPPFLAGS'
13825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13828
13829 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13830 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13831 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 else
13834 cat >conftest.$ac_ext <<_ACEOF
13835 /* confdefs.h. */
13836 _ACEOF
13837 cat confdefs.h >>conftest.$ac_ext
13838 cat >>conftest.$ac_ext <<_ACEOF
13839 /* end confdefs.h. */
13840
13841 int
13842 main ()
13843 {
13844
13845 #ifndef __INTEL_COMPILER
13846 choke me
13847 #endif
13848
13849 ;
13850 return 0;
13851 }
13852 _ACEOF
13853 rm -f conftest.$ac_objext
13854 if { (ac_try="$ac_compile"
13855 case "(($ac_try" in
13856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13857 *) ac_try_echo=$ac_try;;
13858 esac
13859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13860 (eval "$ac_compile") 2>conftest.er1
13861 ac_status=$?
13862 grep -v '^ *+' conftest.er1 >conftest.err
13863 rm -f conftest.er1
13864 cat conftest.err >&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); } &&
13867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13868 { (case "(($ac_try" in
13869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13870 *) ac_try_echo=$ac_try;;
13871 esac
13872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13873 (eval "$ac_try") 2>&5
13874 ac_status=$?
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); }; } &&
13877 { ac_try='test -s conftest.$ac_objext'
13878 { (case "(($ac_try" in
13879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13880 *) ac_try_echo=$ac_try;;
13881 esac
13882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13883 (eval "$ac_try") 2>&5
13884 ac_status=$?
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); }; }; then
13887 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13888 else
13889 echo "$as_me: failed program was:" >&5
13890 sed 's/^/| /' conftest.$ac_ext >&5
13891
13892 bakefile_cv_c_compiler___INTEL_COMPILER=no
13893
13894 fi
13895
13896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13897
13898
13899 fi
13900 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13901 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13902 ac_ext=c
13903 ac_cpp='$CPP $CPPFLAGS'
13904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13907
13908 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13909 :; INTELCC=yes
13910 else
13911 :;
13912 fi
13913
13914
13915 if test "x$GCC" != "xyes"; then
13916 if test "xCC" = "xC"; then
13917 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13918 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13919 if test "${bakefile_cv_c_exto+set}" = set; then
13920 echo $ECHO_N "(cached) $ECHO_C" >&6
13921 else
13922 cat >conftest.$ac_ext <<_ACEOF
13923 /* confdefs.h. */
13924 _ACEOF
13925 cat confdefs.h >>conftest.$ac_ext
13926 cat >>conftest.$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13928
13929 int
13930 main ()
13931 {
13932
13933 ;
13934 return 0;
13935 }
13936 _ACEOF
13937 rm -f conftest.$ac_objext conftest.$ac_ext.o
13938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13939 (eval $ac_compile) 2>&5
13940 ac_status=$?
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); }; then
13943 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13944 case $ac_file in
13945 conftest.$ac_ext.o)
13946 bakefile_cv_c_exto="-ext o"
13947 ;;
13948 *)
13949 ;;
13950 esac
13951 done
13952 else
13953 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13954 See \`config.log' for more details." >&5
13955 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13956 See \`config.log' for more details." >&2;}
13957 { (exit 1); exit 1; }; }
13958
13959 fi
13960
13961 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13962
13963 fi
13964 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13965 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13966 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13967 if test "c" = "c"; then
13968 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13969 fi
13970 if test "c" = "cxx"; then
13971 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13972 fi
13973 fi
13974
13975 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13976 unset ac_cv_prog_cc_g
13977 ac_test_CFLAGS=${CFLAGS+set}
13978 ac_save_CFLAGS=$CFLAGS
13979 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13980 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13981 if test "${ac_cv_prog_cc_g+set}" = set; then
13982 echo $ECHO_N "(cached) $ECHO_C" >&6
13983 else
13984 ac_save_c_werror_flag=$ac_c_werror_flag
13985 ac_c_werror_flag=yes
13986 ac_cv_prog_cc_g=no
13987 CFLAGS="-g"
13988 cat >conftest.$ac_ext <<_ACEOF
13989 /* confdefs.h. */
13990 _ACEOF
13991 cat confdefs.h >>conftest.$ac_ext
13992 cat >>conftest.$ac_ext <<_ACEOF
13993 /* end confdefs.h. */
13994
13995 int
13996 main ()
13997 {
13998
13999 ;
14000 return 0;
14001 }
14002 _ACEOF
14003 rm -f conftest.$ac_objext
14004 if { (ac_try="$ac_compile"
14005 case "(($ac_try" in
14006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14007 *) ac_try_echo=$ac_try;;
14008 esac
14009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14010 (eval "$ac_compile") 2>conftest.er1
14011 ac_status=$?
14012 grep -v '^ *+' conftest.er1 >conftest.err
14013 rm -f conftest.er1
14014 cat conftest.err >&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); } &&
14017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14018 { (case "(($ac_try" in
14019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14020 *) ac_try_echo=$ac_try;;
14021 esac
14022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14023 (eval "$ac_try") 2>&5
14024 ac_status=$?
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; } &&
14027 { ac_try='test -s conftest.$ac_objext'
14028 { (case "(($ac_try" in
14029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14030 *) ac_try_echo=$ac_try;;
14031 esac
14032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14033 (eval "$ac_try") 2>&5
14034 ac_status=$?
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); }; }; then
14037 ac_cv_prog_cc_g=yes
14038 else
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.$ac_ext >&5
14041
14042 CFLAGS=""
14043 cat >conftest.$ac_ext <<_ACEOF
14044 /* confdefs.h. */
14045 _ACEOF
14046 cat confdefs.h >>conftest.$ac_ext
14047 cat >>conftest.$ac_ext <<_ACEOF
14048 /* end confdefs.h. */
14049
14050 int
14051 main ()
14052 {
14053
14054 ;
14055 return 0;
14056 }
14057 _ACEOF
14058 rm -f conftest.$ac_objext
14059 if { (ac_try="$ac_compile"
14060 case "(($ac_try" in
14061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14062 *) ac_try_echo=$ac_try;;
14063 esac
14064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14065 (eval "$ac_compile") 2>conftest.er1
14066 ac_status=$?
14067 grep -v '^ *+' conftest.er1 >conftest.err
14068 rm -f conftest.er1
14069 cat conftest.err >&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); } &&
14072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14073 { (case "(($ac_try" in
14074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14075 *) ac_try_echo=$ac_try;;
14076 esac
14077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14078 (eval "$ac_try") 2>&5
14079 ac_status=$?
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }; } &&
14082 { ac_try='test -s conftest.$ac_objext'
14083 { (case "(($ac_try" in
14084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14085 *) ac_try_echo=$ac_try;;
14086 esac
14087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14088 (eval "$ac_try") 2>&5
14089 ac_status=$?
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); }; }; then
14092 :
14093 else
14094 echo "$as_me: failed program was:" >&5
14095 sed 's/^/| /' conftest.$ac_ext >&5
14096
14097 ac_c_werror_flag=$ac_save_c_werror_flag
14098 CFLAGS="-g"
14099 cat >conftest.$ac_ext <<_ACEOF
14100 /* confdefs.h. */
14101 _ACEOF
14102 cat confdefs.h >>conftest.$ac_ext
14103 cat >>conftest.$ac_ext <<_ACEOF
14104 /* end confdefs.h. */
14105
14106 int
14107 main ()
14108 {
14109
14110 ;
14111 return 0;
14112 }
14113 _ACEOF
14114 rm -f conftest.$ac_objext
14115 if { (ac_try="$ac_compile"
14116 case "(($ac_try" in
14117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14118 *) ac_try_echo=$ac_try;;
14119 esac
14120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14121 (eval "$ac_compile") 2>conftest.er1
14122 ac_status=$?
14123 grep -v '^ *+' conftest.er1 >conftest.err
14124 rm -f conftest.er1
14125 cat conftest.err >&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); } &&
14128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14129 { (case "(($ac_try" in
14130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14131 *) ac_try_echo=$ac_try;;
14132 esac
14133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14134 (eval "$ac_try") 2>&5
14135 ac_status=$?
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); }; } &&
14138 { ac_try='test -s conftest.$ac_objext'
14139 { (case "(($ac_try" in
14140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14141 *) ac_try_echo=$ac_try;;
14142 esac
14143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14144 (eval "$ac_try") 2>&5
14145 ac_status=$?
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; }; then
14148 ac_cv_prog_cc_g=yes
14149 else
14150 echo "$as_me: failed program was:" >&5
14151 sed 's/^/| /' conftest.$ac_ext >&5
14152
14153
14154 fi
14155
14156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14157 fi
14158
14159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14160 fi
14161
14162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14163 ac_c_werror_flag=$ac_save_c_werror_flag
14164 fi
14165 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14166 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14167 if test "$ac_test_CFLAGS" = set; then
14168 CFLAGS=$ac_save_CFLAGS
14169 elif test $ac_cv_prog_cc_g = yes; then
14170 if test "$GCC" = yes; then
14171 CFLAGS="-g -O2"
14172 else
14173 CFLAGS="-g"
14174 fi
14175 else
14176 if test "$GCC" = yes; then
14177 CFLAGS="-O2"
14178 else
14179 CFLAGS=
14180 fi
14181 fi
14182 fi
14183 fi
14184
14185 case `uname -s` in
14186 AIX*)
14187 ac_ext=c
14188 ac_cpp='$CPP $CPPFLAGS'
14189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14192
14193 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14194 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14195 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14197 else
14198 cat >conftest.$ac_ext <<_ACEOF
14199 /* confdefs.h. */
14200 _ACEOF
14201 cat confdefs.h >>conftest.$ac_ext
14202 cat >>conftest.$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14204
14205 int
14206 main ()
14207 {
14208 #ifndef __xlC__
14209 choke me
14210 #endif
14211
14212 ;
14213 return 0;
14214 }
14215 _ACEOF
14216 rm -f conftest.$ac_objext
14217 if { (ac_try="$ac_compile"
14218 case "(($ac_try" in
14219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14220 *) ac_try_echo=$ac_try;;
14221 esac
14222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14223 (eval "$ac_compile") 2>conftest.er1
14224 ac_status=$?
14225 grep -v '^ *+' conftest.er1 >conftest.err
14226 rm -f conftest.er1
14227 cat conftest.err >&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } &&
14230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14231 { (case "(($ac_try" in
14232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14233 *) ac_try_echo=$ac_try;;
14234 esac
14235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14236 (eval "$ac_try") 2>&5
14237 ac_status=$?
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; } &&
14240 { ac_try='test -s conftest.$ac_objext'
14241 { (case "(($ac_try" in
14242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14243 *) ac_try_echo=$ac_try;;
14244 esac
14245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14246 (eval "$ac_try") 2>&5
14247 ac_status=$?
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; }; then
14250 bakefile_compiler_xlc=yes
14251 else
14252 echo "$as_me: failed program was:" >&5
14253 sed 's/^/| /' conftest.$ac_ext >&5
14254
14255 bakefile_compiler_xlc=no
14256 fi
14257
14258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14259 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14260
14261 fi
14262 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14263 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14264
14265 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14266 ac_ext=c
14267 ac_cpp='$CPP $CPPFLAGS'
14268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14271
14272
14273 ;;
14274
14275 Darwin)
14276 ac_ext=c
14277 ac_cpp='$CPP $CPPFLAGS'
14278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14281
14282 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14283 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14284 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14285 echo $ECHO_N "(cached) $ECHO_C" >&6
14286 else
14287 cat >conftest.$ac_ext <<_ACEOF
14288 /* confdefs.h. */
14289 _ACEOF
14290 cat confdefs.h >>conftest.$ac_ext
14291 cat >>conftest.$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14293
14294 int
14295 main ()
14296 {
14297 #ifndef __MWERKS__
14298 choke me
14299 #endif
14300
14301 ;
14302 return 0;
14303 }
14304 _ACEOF
14305 rm -f conftest.$ac_objext
14306 if { (ac_try="$ac_compile"
14307 case "(($ac_try" in
14308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14309 *) ac_try_echo=$ac_try;;
14310 esac
14311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14312 (eval "$ac_compile") 2>conftest.er1
14313 ac_status=$?
14314 grep -v '^ *+' conftest.er1 >conftest.err
14315 rm -f conftest.er1
14316 cat conftest.err >&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); } &&
14319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14320 { (case "(($ac_try" in
14321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14322 *) ac_try_echo=$ac_try;;
14323 esac
14324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14325 (eval "$ac_try") 2>&5
14326 ac_status=$?
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; } &&
14329 { ac_try='test -s conftest.$ac_objext'
14330 { (case "(($ac_try" in
14331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14332 *) ac_try_echo=$ac_try;;
14333 esac
14334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14335 (eval "$ac_try") 2>&5
14336 ac_status=$?
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); }; }; then
14339 bakefile_compiler_mwerks=yes
14340 else
14341 echo "$as_me: failed program was:" >&5
14342 sed 's/^/| /' conftest.$ac_ext >&5
14343
14344 bakefile_compiler_mwerks=no
14345 fi
14346
14347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14348 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14349
14350 fi
14351 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14352 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14353
14354 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14355 ac_ext=c
14356 ac_cpp='$CPP $CPPFLAGS'
14357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14360
14361
14362 ac_ext=c
14363 ac_cpp='$CPP $CPPFLAGS'
14364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14367
14368 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14369 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14370 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14371 echo $ECHO_N "(cached) $ECHO_C" >&6
14372 else
14373 cat >conftest.$ac_ext <<_ACEOF
14374 /* confdefs.h. */
14375 _ACEOF
14376 cat confdefs.h >>conftest.$ac_ext
14377 cat >>conftest.$ac_ext <<_ACEOF
14378 /* end confdefs.h. */
14379
14380 int
14381 main ()
14382 {
14383 #ifndef __xlC__
14384 choke me
14385 #endif
14386
14387 ;
14388 return 0;
14389 }
14390 _ACEOF
14391 rm -f conftest.$ac_objext
14392 if { (ac_try="$ac_compile"
14393 case "(($ac_try" in
14394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14395 *) ac_try_echo=$ac_try;;
14396 esac
14397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14398 (eval "$ac_compile") 2>conftest.er1
14399 ac_status=$?
14400 grep -v '^ *+' conftest.er1 >conftest.err
14401 rm -f conftest.er1
14402 cat conftest.err >&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); } &&
14405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14406 { (case "(($ac_try" in
14407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14408 *) ac_try_echo=$ac_try;;
14409 esac
14410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14411 (eval "$ac_try") 2>&5
14412 ac_status=$?
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; } &&
14415 { ac_try='test -s conftest.$ac_objext'
14416 { (case "(($ac_try" in
14417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14418 *) ac_try_echo=$ac_try;;
14419 esac
14420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14421 (eval "$ac_try") 2>&5
14422 ac_status=$?
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); }; }; then
14425 bakefile_compiler_xlc=yes
14426 else
14427 echo "$as_me: failed program was:" >&5
14428 sed 's/^/| /' conftest.$ac_ext >&5
14429
14430 bakefile_compiler_xlc=no
14431 fi
14432
14433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14434 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14435
14436 fi
14437 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14438 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14439
14440 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14441 ac_ext=c
14442 ac_cpp='$CPP $CPPFLAGS'
14443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14446
14447
14448 ;;
14449
14450 IRIX*)
14451
14452
14453 ac_ext=c
14454 ac_cpp='$CPP $CPPFLAGS'
14455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14458
14459 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14460 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14461 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14462 echo $ECHO_N "(cached) $ECHO_C" >&6
14463 else
14464 cat >conftest.$ac_ext <<_ACEOF
14465 /* confdefs.h. */
14466 _ACEOF
14467 cat confdefs.h >>conftest.$ac_ext
14468 cat >>conftest.$ac_ext <<_ACEOF
14469 /* end confdefs.h. */
14470
14471 int
14472 main ()
14473 {
14474
14475 #ifndef _SGI_COMPILER_VERSION
14476 choke me
14477 #endif
14478
14479 ;
14480 return 0;
14481 }
14482 _ACEOF
14483 rm -f conftest.$ac_objext
14484 if { (ac_try="$ac_compile"
14485 case "(($ac_try" in
14486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14487 *) ac_try_echo=$ac_try;;
14488 esac
14489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14490 (eval "$ac_compile") 2>conftest.er1
14491 ac_status=$?
14492 grep -v '^ *+' conftest.er1 >conftest.err
14493 rm -f conftest.er1
14494 cat conftest.err >&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); } &&
14497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14498 { (case "(($ac_try" in
14499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14500 *) ac_try_echo=$ac_try;;
14501 esac
14502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14503 (eval "$ac_try") 2>&5
14504 ac_status=$?
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; } &&
14507 { ac_try='test -s conftest.$ac_objext'
14508 { (case "(($ac_try" in
14509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14510 *) ac_try_echo=$ac_try;;
14511 esac
14512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14513 (eval "$ac_try") 2>&5
14514 ac_status=$?
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); }; }; then
14517 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14518 else
14519 echo "$as_me: failed program was:" >&5
14520 sed 's/^/| /' conftest.$ac_ext >&5
14521
14522 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14523
14524 fi
14525
14526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14527
14528
14529 fi
14530 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14531 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14532 ac_ext=c
14533 ac_cpp='$CPP $CPPFLAGS'
14534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14537
14538 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14539 :; SGICC=yes
14540 else
14541 :;
14542 fi
14543
14544
14545 ;;
14546
14547 HP-UX*)
14548
14549
14550 ac_ext=c
14551 ac_cpp='$CPP $CPPFLAGS'
14552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14555
14556 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14557 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14558 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14560 else
14561 cat >conftest.$ac_ext <<_ACEOF
14562 /* confdefs.h. */
14563 _ACEOF
14564 cat confdefs.h >>conftest.$ac_ext
14565 cat >>conftest.$ac_ext <<_ACEOF
14566 /* end confdefs.h. */
14567
14568 int
14569 main ()
14570 {
14571
14572 #ifndef __HP_cc
14573 choke me
14574 #endif
14575
14576 ;
14577 return 0;
14578 }
14579 _ACEOF
14580 rm -f conftest.$ac_objext
14581 if { (ac_try="$ac_compile"
14582 case "(($ac_try" in
14583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14584 *) ac_try_echo=$ac_try;;
14585 esac
14586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14587 (eval "$ac_compile") 2>conftest.er1
14588 ac_status=$?
14589 grep -v '^ *+' conftest.er1 >conftest.err
14590 rm -f conftest.er1
14591 cat conftest.err >&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } &&
14594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14595 { (case "(($ac_try" in
14596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14597 *) ac_try_echo=$ac_try;;
14598 esac
14599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14600 (eval "$ac_try") 2>&5
14601 ac_status=$?
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; } &&
14604 { ac_try='test -s conftest.$ac_objext'
14605 { (case "(($ac_try" in
14606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14607 *) ac_try_echo=$ac_try;;
14608 esac
14609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14610 (eval "$ac_try") 2>&5
14611 ac_status=$?
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); }; }; then
14614 bakefile_cv_c_compiler___HP_cc=yes
14615 else
14616 echo "$as_me: failed program was:" >&5
14617 sed 's/^/| /' conftest.$ac_ext >&5
14618
14619 bakefile_cv_c_compiler___HP_cc=no
14620
14621 fi
14622
14623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14624
14625
14626 fi
14627 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14628 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14629 ac_ext=c
14630 ac_cpp='$CPP $CPPFLAGS'
14631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14634
14635 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14636 :; HPCC=yes
14637 else
14638 :;
14639 fi
14640
14641
14642 ;;
14643
14644 OSF1)
14645
14646
14647 ac_ext=c
14648 ac_cpp='$CPP $CPPFLAGS'
14649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14652
14653 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14654 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14655 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14656 echo $ECHO_N "(cached) $ECHO_C" >&6
14657 else
14658 cat >conftest.$ac_ext <<_ACEOF
14659 /* confdefs.h. */
14660 _ACEOF
14661 cat confdefs.h >>conftest.$ac_ext
14662 cat >>conftest.$ac_ext <<_ACEOF
14663 /* end confdefs.h. */
14664
14665 int
14666 main ()
14667 {
14668
14669 #ifndef __DECC
14670 choke me
14671 #endif
14672
14673 ;
14674 return 0;
14675 }
14676 _ACEOF
14677 rm -f conftest.$ac_objext
14678 if { (ac_try="$ac_compile"
14679 case "(($ac_try" in
14680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14681 *) ac_try_echo=$ac_try;;
14682 esac
14683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14684 (eval "$ac_compile") 2>conftest.er1
14685 ac_status=$?
14686 grep -v '^ *+' conftest.er1 >conftest.err
14687 rm -f conftest.er1
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } &&
14691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14692 { (case "(($ac_try" in
14693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14694 *) ac_try_echo=$ac_try;;
14695 esac
14696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14697 (eval "$ac_try") 2>&5
14698 ac_status=$?
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); }; } &&
14701 { ac_try='test -s conftest.$ac_objext'
14702 { (case "(($ac_try" in
14703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14704 *) ac_try_echo=$ac_try;;
14705 esac
14706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14707 (eval "$ac_try") 2>&5
14708 ac_status=$?
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 bakefile_cv_c_compiler___DECC=yes
14712 else
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.$ac_ext >&5
14715
14716 bakefile_cv_c_compiler___DECC=no
14717
14718 fi
14719
14720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14721
14722
14723 fi
14724 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14725 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14726 ac_ext=c
14727 ac_cpp='$CPP $CPPFLAGS'
14728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14731
14732 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14733 :; COMPAQCC=yes
14734 else
14735 :;
14736 fi
14737
14738
14739 ;;
14740
14741 SunOS)
14742
14743
14744 ac_ext=c
14745 ac_cpp='$CPP $CPPFLAGS'
14746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14749
14750 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14751 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14752 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14753 echo $ECHO_N "(cached) $ECHO_C" >&6
14754 else
14755 cat >conftest.$ac_ext <<_ACEOF
14756 /* confdefs.h. */
14757 _ACEOF
14758 cat confdefs.h >>conftest.$ac_ext
14759 cat >>conftest.$ac_ext <<_ACEOF
14760 /* end confdefs.h. */
14761
14762 int
14763 main ()
14764 {
14765
14766 #ifndef __SUNPRO_C
14767 choke me
14768 #endif
14769
14770 ;
14771 return 0;
14772 }
14773 _ACEOF
14774 rm -f conftest.$ac_objext
14775 if { (ac_try="$ac_compile"
14776 case "(($ac_try" in
14777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14778 *) ac_try_echo=$ac_try;;
14779 esac
14780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14781 (eval "$ac_compile") 2>conftest.er1
14782 ac_status=$?
14783 grep -v '^ *+' conftest.er1 >conftest.err
14784 rm -f conftest.er1
14785 cat conftest.err >&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); } &&
14788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14789 { (case "(($ac_try" in
14790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14791 *) ac_try_echo=$ac_try;;
14792 esac
14793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14794 (eval "$ac_try") 2>&5
14795 ac_status=$?
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }; } &&
14798 { ac_try='test -s conftest.$ac_objext'
14799 { (case "(($ac_try" in
14800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14801 *) ac_try_echo=$ac_try;;
14802 esac
14803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14804 (eval "$ac_try") 2>&5
14805 ac_status=$?
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); }; }; then
14808 bakefile_cv_c_compiler___SUNPRO_C=yes
14809 else
14810 echo "$as_me: failed program was:" >&5
14811 sed 's/^/| /' conftest.$ac_ext >&5
14812
14813 bakefile_cv_c_compiler___SUNPRO_C=no
14814
14815 fi
14816
14817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14818
14819
14820 fi
14821 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14822 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14823 ac_ext=c
14824 ac_cpp='$CPP $CPPFLAGS'
14825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14828
14829 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14830 :; SUNCC=yes
14831 else
14832 :;
14833 fi
14834
14835
14836 ;;
14837 esac
14838 fi
14839
14840
14841
14842 ac_ext=c
14843 ac_cpp='$CPP $CPPFLAGS'
14844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14847 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14848 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14849 # On Suns, sometimes $CPP names a directory.
14850 if test -n "$CPP" && test -d "$CPP"; then
14851 CPP=
14852 fi
14853 if test -z "$CPP"; then
14854 if test "${ac_cv_prog_CPP+set}" = set; then
14855 echo $ECHO_N "(cached) $ECHO_C" >&6
14856 else
14857 # Double quotes because CPP needs to be expanded
14858 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14859 do
14860 ac_preproc_ok=false
14861 for ac_c_preproc_warn_flag in '' yes
14862 do
14863 # Use a header file that comes with gcc, so configuring glibc
14864 # with a fresh cross-compiler works.
14865 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14866 # <limits.h> exists even on freestanding compilers.
14867 # On the NeXT, cc -E runs the code through the compiler's parser,
14868 # not just through cpp. "Syntax error" is here to catch this case.
14869 cat >conftest.$ac_ext <<_ACEOF
14870 /* confdefs.h. */
14871 _ACEOF
14872 cat confdefs.h >>conftest.$ac_ext
14873 cat >>conftest.$ac_ext <<_ACEOF
14874 /* end confdefs.h. */
14875 #ifdef __STDC__
14876 # include <limits.h>
14877 #else
14878 # include <assert.h>
14879 #endif
14880 Syntax error
14881 _ACEOF
14882 if { (ac_try="$ac_cpp conftest.$ac_ext"
14883 case "(($ac_try" in
14884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14885 *) ac_try_echo=$ac_try;;
14886 esac
14887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14889 ac_status=$?
14890 grep -v '^ *+' conftest.er1 >conftest.err
14891 rm -f conftest.er1
14892 cat conftest.err >&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); } >/dev/null; then
14895 if test -s conftest.err; then
14896 ac_cpp_err=$ac_c_preproc_warn_flag
14897 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14898 else
14899 ac_cpp_err=
14900 fi
14901 else
14902 ac_cpp_err=yes
14903 fi
14904 if test -z "$ac_cpp_err"; then
14905 :
14906 else
14907 echo "$as_me: failed program was:" >&5
14908 sed 's/^/| /' conftest.$ac_ext >&5
14909
14910 # Broken: fails on valid input.
14911 continue
14912 fi
14913
14914 rm -f conftest.err conftest.$ac_ext
14915
14916 # OK, works on sane cases. Now check whether nonexistent headers
14917 # can be detected and how.
14918 cat >conftest.$ac_ext <<_ACEOF
14919 /* confdefs.h. */
14920 _ACEOF
14921 cat confdefs.h >>conftest.$ac_ext
14922 cat >>conftest.$ac_ext <<_ACEOF
14923 /* end confdefs.h. */
14924 #include <ac_nonexistent.h>
14925 _ACEOF
14926 if { (ac_try="$ac_cpp conftest.$ac_ext"
14927 case "(($ac_try" in
14928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14929 *) ac_try_echo=$ac_try;;
14930 esac
14931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14933 ac_status=$?
14934 grep -v '^ *+' conftest.er1 >conftest.err
14935 rm -f conftest.er1
14936 cat conftest.err >&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } >/dev/null; then
14939 if test -s conftest.err; then
14940 ac_cpp_err=$ac_c_preproc_warn_flag
14941 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14942 else
14943 ac_cpp_err=
14944 fi
14945 else
14946 ac_cpp_err=yes
14947 fi
14948 if test -z "$ac_cpp_err"; then
14949 # Broken: success on invalid input.
14950 continue
14951 else
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14954
14955 # Passes both tests.
14956 ac_preproc_ok=:
14957 break
14958 fi
14959
14960 rm -f conftest.err conftest.$ac_ext
14961
14962 done
14963 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14964 rm -f conftest.err conftest.$ac_ext
14965 if $ac_preproc_ok; then
14966 break
14967 fi
14968
14969 done
14970 ac_cv_prog_CPP=$CPP
14971
14972 fi
14973 CPP=$ac_cv_prog_CPP
14974 else
14975 ac_cv_prog_CPP=$CPP
14976 fi
14977 { echo "$as_me:$LINENO: result: $CPP" >&5
14978 echo "${ECHO_T}$CPP" >&6; }
14979 ac_preproc_ok=false
14980 for ac_c_preproc_warn_flag in '' yes
14981 do
14982 # Use a header file that comes with gcc, so configuring glibc
14983 # with a fresh cross-compiler works.
14984 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14985 # <limits.h> exists even on freestanding compilers.
14986 # On the NeXT, cc -E runs the code through the compiler's parser,
14987 # not just through cpp. "Syntax error" is here to catch this case.
14988 cat >conftest.$ac_ext <<_ACEOF
14989 /* confdefs.h. */
14990 _ACEOF
14991 cat confdefs.h >>conftest.$ac_ext
14992 cat >>conftest.$ac_ext <<_ACEOF
14993 /* end confdefs.h. */
14994 #ifdef __STDC__
14995 # include <limits.h>
14996 #else
14997 # include <assert.h>
14998 #endif
14999 Syntax error
15000 _ACEOF
15001 if { (ac_try="$ac_cpp conftest.$ac_ext"
15002 case "(($ac_try" in
15003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15004 *) ac_try_echo=$ac_try;;
15005 esac
15006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15008 ac_status=$?
15009 grep -v '^ *+' conftest.er1 >conftest.err
15010 rm -f conftest.er1
15011 cat conftest.err >&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); } >/dev/null; then
15014 if test -s conftest.err; then
15015 ac_cpp_err=$ac_c_preproc_warn_flag
15016 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15017 else
15018 ac_cpp_err=
15019 fi
15020 else
15021 ac_cpp_err=yes
15022 fi
15023 if test -z "$ac_cpp_err"; then
15024 :
15025 else
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15028
15029 # Broken: fails on valid input.
15030 continue
15031 fi
15032
15033 rm -f conftest.err conftest.$ac_ext
15034
15035 # OK, works on sane cases. Now check whether nonexistent headers
15036 # can be detected and how.
15037 cat >conftest.$ac_ext <<_ACEOF
15038 /* confdefs.h. */
15039 _ACEOF
15040 cat confdefs.h >>conftest.$ac_ext
15041 cat >>conftest.$ac_ext <<_ACEOF
15042 /* end confdefs.h. */
15043 #include <ac_nonexistent.h>
15044 _ACEOF
15045 if { (ac_try="$ac_cpp conftest.$ac_ext"
15046 case "(($ac_try" in
15047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15048 *) ac_try_echo=$ac_try;;
15049 esac
15050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15051 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15052 ac_status=$?
15053 grep -v '^ *+' conftest.er1 >conftest.err
15054 rm -f conftest.er1
15055 cat conftest.err >&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } >/dev/null; then
15058 if test -s conftest.err; then
15059 ac_cpp_err=$ac_c_preproc_warn_flag
15060 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15061 else
15062 ac_cpp_err=
15063 fi
15064 else
15065 ac_cpp_err=yes
15066 fi
15067 if test -z "$ac_cpp_err"; then
15068 # Broken: success on invalid input.
15069 continue
15070 else
15071 echo "$as_me: failed program was:" >&5
15072 sed 's/^/| /' conftest.$ac_ext >&5
15073
15074 # Passes both tests.
15075 ac_preproc_ok=:
15076 break
15077 fi
15078
15079 rm -f conftest.err conftest.$ac_ext
15080
15081 done
15082 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15083 rm -f conftest.err conftest.$ac_ext
15084 if $ac_preproc_ok; then
15085 :
15086 else
15087 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15088 See \`config.log' for more details." >&5
15089 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15090 See \`config.log' for more details." >&2;}
15091 { (exit 1); exit 1; }; }
15092 fi
15093
15094 ac_ext=c
15095 ac_cpp='$CPP $CPPFLAGS'
15096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15099
15100
15101 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15102 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15103 if test "${ac_cv_path_GREP+set}" = set; then
15104 echo $ECHO_N "(cached) $ECHO_C" >&6
15105 else
15106 # Extract the first word of "grep ggrep" to use in msg output
15107 if test -z "$GREP"; then
15108 set dummy grep ggrep; ac_prog_name=$2
15109 if test "${ac_cv_path_GREP+set}" = set; then
15110 echo $ECHO_N "(cached) $ECHO_C" >&6
15111 else
15112 ac_path_GREP_found=false
15113 # Loop through the user's path and test for each of PROGNAME-LIST
15114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15115 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15116 do
15117 IFS=$as_save_IFS
15118 test -z "$as_dir" && as_dir=.
15119 for ac_prog in grep ggrep; do
15120 for ac_exec_ext in '' $ac_executable_extensions; do
15121 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15122 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
15123 # Check for GNU ac_path_GREP and select it if it is found.
15124 # Check for GNU $ac_path_GREP
15125 case `"$ac_path_GREP" --version 2>&1` in
15126 *GNU*)
15127 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15128 *)
15129 ac_count=0
15130 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15131 while :
15132 do
15133 cat "conftest.in" "conftest.in" >"conftest.tmp"
15134 mv "conftest.tmp" "conftest.in"
15135 cp "conftest.in" "conftest.nl"
15136 echo 'GREP' >> "conftest.nl"
15137 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15138 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15139 ac_count=`expr $ac_count + 1`
15140 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15141 # Best one so far, save it but keep looking for a better one
15142 ac_cv_path_GREP="$ac_path_GREP"
15143 ac_path_GREP_max=$ac_count
15144 fi
15145 # 10*(2^10) chars as input seems more than enough
15146 test $ac_count -gt 10 && break
15147 done
15148 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15149 esac
15150
15151
15152 $ac_path_GREP_found && break 3
15153 done
15154 done
15155
15156 done
15157 IFS=$as_save_IFS
15158
15159
15160 fi
15161
15162 GREP="$ac_cv_path_GREP"
15163 if test -z "$GREP"; then
15164 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15165 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15166 { (exit 1); exit 1; }; }
15167 fi
15168
15169 else
15170 ac_cv_path_GREP=$GREP
15171 fi
15172
15173
15174 fi
15175 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15176 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15177 GREP="$ac_cv_path_GREP"
15178
15179
15180 { echo "$as_me:$LINENO: checking for egrep" >&5
15181 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15182 if test "${ac_cv_path_EGREP+set}" = set; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 else
15185 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15186 then ac_cv_path_EGREP="$GREP -E"
15187 else
15188 # Extract the first word of "egrep" to use in msg output
15189 if test -z "$EGREP"; then
15190 set dummy egrep; ac_prog_name=$2
15191 if test "${ac_cv_path_EGREP+set}" = set; then
15192 echo $ECHO_N "(cached) $ECHO_C" >&6
15193 else
15194 ac_path_EGREP_found=false
15195 # Loop through the user's path and test for each of PROGNAME-LIST
15196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15197 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15198 do
15199 IFS=$as_save_IFS
15200 test -z "$as_dir" && as_dir=.
15201 for ac_prog in egrep; do
15202 for ac_exec_ext in '' $ac_executable_extensions; do
15203 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15204 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
15205 # Check for GNU ac_path_EGREP and select it if it is found.
15206 # Check for GNU $ac_path_EGREP
15207 case `"$ac_path_EGREP" --version 2>&1` in
15208 *GNU*)
15209 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15210 *)
15211 ac_count=0
15212 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15213 while :
15214 do
15215 cat "conftest.in" "conftest.in" >"conftest.tmp"
15216 mv "conftest.tmp" "conftest.in"
15217 cp "conftest.in" "conftest.nl"
15218 echo 'EGREP' >> "conftest.nl"
15219 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15220 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15221 ac_count=`expr $ac_count + 1`
15222 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15223 # Best one so far, save it but keep looking for a better one
15224 ac_cv_path_EGREP="$ac_path_EGREP"
15225 ac_path_EGREP_max=$ac_count
15226 fi
15227 # 10*(2^10) chars as input seems more than enough
15228 test $ac_count -gt 10 && break
15229 done
15230 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15231 esac
15232
15233
15234 $ac_path_EGREP_found && break 3
15235 done
15236 done
15237
15238 done
15239 IFS=$as_save_IFS
15240
15241
15242 fi
15243
15244 EGREP="$ac_cv_path_EGREP"
15245 if test -z "$EGREP"; then
15246 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15247 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15248 { (exit 1); exit 1; }; }
15249 fi
15250
15251 else
15252 ac_cv_path_EGREP=$EGREP
15253 fi
15254
15255
15256 fi
15257 fi
15258 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15259 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15260 EGREP="$ac_cv_path_EGREP"
15261
15262
15263 if test $ac_cv_c_compiler_gnu = yes; then
15264 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15265 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15266 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15267 echo $ECHO_N "(cached) $ECHO_C" >&6
15268 else
15269 ac_pattern="Autoconf.*'x'"
15270 cat >conftest.$ac_ext <<_ACEOF
15271 /* confdefs.h. */
15272 _ACEOF
15273 cat confdefs.h >>conftest.$ac_ext
15274 cat >>conftest.$ac_ext <<_ACEOF
15275 /* end confdefs.h. */
15276 #include <sgtty.h>
15277 Autoconf TIOCGETP
15278 _ACEOF
15279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15280 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15281 ac_cv_prog_gcc_traditional=yes
15282 else
15283 ac_cv_prog_gcc_traditional=no
15284 fi
15285 rm -f conftest*
15286
15287
15288 if test $ac_cv_prog_gcc_traditional = no; then
15289 cat >conftest.$ac_ext <<_ACEOF
15290 /* confdefs.h. */
15291 _ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15295 #include <termio.h>
15296 Autoconf TCGETA
15297 _ACEOF
15298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15299 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15300 ac_cv_prog_gcc_traditional=yes
15301 fi
15302 rm -f conftest*
15303
15304 fi
15305 fi
15306 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15307 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15308 if test $ac_cv_prog_gcc_traditional = yes; then
15309 CC="$CC -traditional"
15310 fi
15311 fi
15312
15313
15314 CXXFLAGS=${CXXFLAGS:=}
15315
15316
15317
15318 ac_ext=cpp
15319 ac_cpp='$CXXCPP $CPPFLAGS'
15320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15323 if test -z "$CXX"; then
15324 if test -n "$CCC"; then
15325 CXX=$CCC
15326 else
15327 if test -n "$ac_tool_prefix"; then
15328 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15329 do
15330 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15331 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15334 if test "${ac_cv_prog_CXX+set}" = set; then
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
15336 else
15337 if test -n "$CXX"; then
15338 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15339 else
15340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15341 for as_dir in $PATH
15342 do
15343 IFS=$as_save_IFS
15344 test -z "$as_dir" && as_dir=.
15345 for ac_exec_ext in '' $ac_executable_extensions; do
15346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15347 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15349 break 2
15350 fi
15351 done
15352 done
15353 IFS=$as_save_IFS
15354
15355 fi
15356 fi
15357 CXX=$ac_cv_prog_CXX
15358 if test -n "$CXX"; then
15359 { echo "$as_me:$LINENO: result: $CXX" >&5
15360 echo "${ECHO_T}$CXX" >&6; }
15361 else
15362 { echo "$as_me:$LINENO: result: no" >&5
15363 echo "${ECHO_T}no" >&6; }
15364 fi
15365
15366
15367 test -n "$CXX" && break
15368 done
15369 fi
15370 if test -z "$CXX"; then
15371 ac_ct_CXX=$CXX
15372 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15373 do
15374 # Extract the first word of "$ac_prog", so it can be a program name with args.
15375 set dummy $ac_prog; ac_word=$2
15376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15378 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15379 echo $ECHO_N "(cached) $ECHO_C" >&6
15380 else
15381 if test -n "$ac_ct_CXX"; then
15382 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15383 else
15384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15385 for as_dir in $PATH
15386 do
15387 IFS=$as_save_IFS
15388 test -z "$as_dir" && as_dir=.
15389 for ac_exec_ext in '' $ac_executable_extensions; do
15390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15391 ac_cv_prog_ac_ct_CXX="$ac_prog"
15392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15393 break 2
15394 fi
15395 done
15396 done
15397 IFS=$as_save_IFS
15398
15399 fi
15400 fi
15401 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15402 if test -n "$ac_ct_CXX"; then
15403 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15404 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15405 else
15406 { echo "$as_me:$LINENO: result: no" >&5
15407 echo "${ECHO_T}no" >&6; }
15408 fi
15409
15410
15411 test -n "$ac_ct_CXX" && break
15412 done
15413
15414 if test "x$ac_ct_CXX" = x; then
15415 CXX="g++"
15416 else
15417 case $cross_compiling:$ac_tool_warned in
15418 yes:)
15419 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15420 whose name does not start with the host triplet. If you think this
15421 configuration is useful to you, please write to autoconf@gnu.org." >&5
15422 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15423 whose name does not start with the host triplet. If you think this
15424 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15425 ac_tool_warned=yes ;;
15426 esac
15427 CXX=$ac_ct_CXX
15428 fi
15429 fi
15430
15431 fi
15432 fi
15433 # Provide some information about the compiler.
15434 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15435 ac_compiler=`set X $ac_compile; echo $2`
15436 { (ac_try="$ac_compiler --version >&5"
15437 case "(($ac_try" in
15438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15439 *) ac_try_echo=$ac_try;;
15440 esac
15441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15442 (eval "$ac_compiler --version >&5") 2>&5
15443 ac_status=$?
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }
15446 { (ac_try="$ac_compiler -v >&5"
15447 case "(($ac_try" in
15448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15449 *) ac_try_echo=$ac_try;;
15450 esac
15451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15452 (eval "$ac_compiler -v >&5") 2>&5
15453 ac_status=$?
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }
15456 { (ac_try="$ac_compiler -V >&5"
15457 case "(($ac_try" in
15458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15459 *) ac_try_echo=$ac_try;;
15460 esac
15461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15462 (eval "$ac_compiler -V >&5") 2>&5
15463 ac_status=$?
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }
15466
15467 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15468 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15469 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15470 echo $ECHO_N "(cached) $ECHO_C" >&6
15471 else
15472 cat >conftest.$ac_ext <<_ACEOF
15473 /* confdefs.h. */
15474 _ACEOF
15475 cat confdefs.h >>conftest.$ac_ext
15476 cat >>conftest.$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15478
15479 int
15480 main ()
15481 {
15482 #ifndef __GNUC__
15483 choke me
15484 #endif
15485
15486 ;
15487 return 0;
15488 }
15489 _ACEOF
15490 rm -f conftest.$ac_objext
15491 if { (ac_try="$ac_compile"
15492 case "(($ac_try" in
15493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15494 *) ac_try_echo=$ac_try;;
15495 esac
15496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15497 (eval "$ac_compile") 2>conftest.er1
15498 ac_status=$?
15499 grep -v '^ *+' conftest.er1 >conftest.err
15500 rm -f conftest.er1
15501 cat conftest.err >&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); } &&
15504 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15505 { (case "(($ac_try" in
15506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15507 *) ac_try_echo=$ac_try;;
15508 esac
15509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15510 (eval "$ac_try") 2>&5
15511 ac_status=$?
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); }; } &&
15514 { ac_try='test -s conftest.$ac_objext'
15515 { (case "(($ac_try" in
15516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15517 *) ac_try_echo=$ac_try;;
15518 esac
15519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520 (eval "$ac_try") 2>&5
15521 ac_status=$?
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; }; then
15524 ac_compiler_gnu=yes
15525 else
15526 echo "$as_me: failed program was:" >&5
15527 sed 's/^/| /' conftest.$ac_ext >&5
15528
15529 ac_compiler_gnu=no
15530 fi
15531
15532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15533 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15534
15535 fi
15536 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15537 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15538 GXX=`test $ac_compiler_gnu = yes && echo yes`
15539 ac_test_CXXFLAGS=${CXXFLAGS+set}
15540 ac_save_CXXFLAGS=$CXXFLAGS
15541 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15542 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15543 if test "${ac_cv_prog_cxx_g+set}" = set; then
15544 echo $ECHO_N "(cached) $ECHO_C" >&6
15545 else
15546 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15547 ac_cxx_werror_flag=yes
15548 ac_cv_prog_cxx_g=no
15549 CXXFLAGS="-g"
15550 cat >conftest.$ac_ext <<_ACEOF
15551 /* confdefs.h. */
15552 _ACEOF
15553 cat confdefs.h >>conftest.$ac_ext
15554 cat >>conftest.$ac_ext <<_ACEOF
15555 /* end confdefs.h. */
15556
15557 int
15558 main ()
15559 {
15560
15561 ;
15562 return 0;
15563 }
15564 _ACEOF
15565 rm -f conftest.$ac_objext
15566 if { (ac_try="$ac_compile"
15567 case "(($ac_try" in
15568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15569 *) ac_try_echo=$ac_try;;
15570 esac
15571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15572 (eval "$ac_compile") 2>conftest.er1
15573 ac_status=$?
15574 grep -v '^ *+' conftest.er1 >conftest.err
15575 rm -f conftest.er1
15576 cat conftest.err >&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); } &&
15579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15580 { (case "(($ac_try" in
15581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15582 *) ac_try_echo=$ac_try;;
15583 esac
15584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15585 (eval "$ac_try") 2>&5
15586 ac_status=$?
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; } &&
15589 { ac_try='test -s conftest.$ac_objext'
15590 { (case "(($ac_try" in
15591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15592 *) ac_try_echo=$ac_try;;
15593 esac
15594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15595 (eval "$ac_try") 2>&5
15596 ac_status=$?
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); }; }; then
15599 ac_cv_prog_cxx_g=yes
15600 else
15601 echo "$as_me: failed program was:" >&5
15602 sed 's/^/| /' conftest.$ac_ext >&5
15603
15604 CXXFLAGS=""
15605 cat >conftest.$ac_ext <<_ACEOF
15606 /* confdefs.h. */
15607 _ACEOF
15608 cat confdefs.h >>conftest.$ac_ext
15609 cat >>conftest.$ac_ext <<_ACEOF
15610 /* end confdefs.h. */
15611
15612 int
15613 main ()
15614 {
15615
15616 ;
15617 return 0;
15618 }
15619 _ACEOF
15620 rm -f conftest.$ac_objext
15621 if { (ac_try="$ac_compile"
15622 case "(($ac_try" in
15623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15624 *) ac_try_echo=$ac_try;;
15625 esac
15626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15627 (eval "$ac_compile") 2>conftest.er1
15628 ac_status=$?
15629 grep -v '^ *+' conftest.er1 >conftest.err
15630 rm -f conftest.er1
15631 cat conftest.err >&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } &&
15634 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15635 { (case "(($ac_try" in
15636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15638 esac
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_try") 2>&5
15641 ac_status=$?
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; } &&
15644 { ac_try='test -s conftest.$ac_objext'
15645 { (case "(($ac_try" in
15646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15647 *) ac_try_echo=$ac_try;;
15648 esac
15649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15650 (eval "$ac_try") 2>&5
15651 ac_status=$?
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; }; then
15654 :
15655 else
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.$ac_ext >&5
15658
15659 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15660 CXXFLAGS="-g"
15661 cat >conftest.$ac_ext <<_ACEOF
15662 /* confdefs.h. */
15663 _ACEOF
15664 cat confdefs.h >>conftest.$ac_ext
15665 cat >>conftest.$ac_ext <<_ACEOF
15666 /* end confdefs.h. */
15667
15668 int
15669 main ()
15670 {
15671
15672 ;
15673 return 0;
15674 }
15675 _ACEOF
15676 rm -f conftest.$ac_objext
15677 if { (ac_try="$ac_compile"
15678 case "(($ac_try" in
15679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15680 *) ac_try_echo=$ac_try;;
15681 esac
15682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15683 (eval "$ac_compile") 2>conftest.er1
15684 ac_status=$?
15685 grep -v '^ *+' conftest.er1 >conftest.err
15686 rm -f conftest.er1
15687 cat conftest.err >&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } &&
15690 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15691 { (case "(($ac_try" in
15692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15693 *) ac_try_echo=$ac_try;;
15694 esac
15695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15696 (eval "$ac_try") 2>&5
15697 ac_status=$?
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); }; } &&
15700 { ac_try='test -s conftest.$ac_objext'
15701 { (case "(($ac_try" in
15702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15703 *) ac_try_echo=$ac_try;;
15704 esac
15705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15706 (eval "$ac_try") 2>&5
15707 ac_status=$?
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; }; then
15710 ac_cv_prog_cxx_g=yes
15711 else
15712 echo "$as_me: failed program was:" >&5
15713 sed 's/^/| /' conftest.$ac_ext >&5
15714
15715
15716 fi
15717
15718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15719 fi
15720
15721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15722 fi
15723
15724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15725 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15726 fi
15727 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15728 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15729 if test "$ac_test_CXXFLAGS" = set; then
15730 CXXFLAGS=$ac_save_CXXFLAGS
15731 elif test $ac_cv_prog_cxx_g = yes; then
15732 if test "$GXX" = yes; then
15733 CXXFLAGS="-g -O2"
15734 else
15735 CXXFLAGS="-g"
15736 fi
15737 else
15738 if test "$GXX" = yes; then
15739 CXXFLAGS="-O2"
15740 else
15741 CXXFLAGS=
15742 fi
15743 fi
15744 ac_ext=c
15745 ac_cpp='$CPP $CPPFLAGS'
15746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15749
15750
15751
15752 ac_ext=cpp
15753 ac_cpp='$CXXCPP $CPPFLAGS'
15754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15757
15758 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15759 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15760 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15761 echo $ECHO_N "(cached) $ECHO_C" >&6
15762 else
15763 cat >conftest.$ac_ext <<_ACEOF
15764 /* confdefs.h. */
15765 _ACEOF
15766 cat confdefs.h >>conftest.$ac_ext
15767 cat >>conftest.$ac_ext <<_ACEOF
15768 /* end confdefs.h. */
15769
15770 int
15771 main ()
15772 {
15773
15774 #ifndef __INTEL_COMPILER
15775 choke me
15776 #endif
15777
15778 ;
15779 return 0;
15780 }
15781 _ACEOF
15782 rm -f conftest.$ac_objext
15783 if { (ac_try="$ac_compile"
15784 case "(($ac_try" in
15785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15786 *) ac_try_echo=$ac_try;;
15787 esac
15788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15789 (eval "$ac_compile") 2>conftest.er1
15790 ac_status=$?
15791 grep -v '^ *+' conftest.er1 >conftest.err
15792 rm -f conftest.er1
15793 cat conftest.err >&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); } &&
15796 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15797 { (case "(($ac_try" in
15798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15799 *) ac_try_echo=$ac_try;;
15800 esac
15801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15802 (eval "$ac_try") 2>&5
15803 ac_status=$?
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); }; } &&
15806 { ac_try='test -s conftest.$ac_objext'
15807 { (case "(($ac_try" in
15808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15809 *) ac_try_echo=$ac_try;;
15810 esac
15811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15812 (eval "$ac_try") 2>&5
15813 ac_status=$?
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; }; then
15816 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15817 else
15818 echo "$as_me: failed program was:" >&5
15819 sed 's/^/| /' conftest.$ac_ext >&5
15820
15821 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15822
15823 fi
15824
15825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15826
15827
15828 fi
15829 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15830 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15831 ac_ext=c
15832 ac_cpp='$CPP $CPPFLAGS'
15833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15836
15837 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15838 :; INTELCXX=yes
15839 else
15840 :;
15841 fi
15842
15843
15844 if test "x$GCXX" != "xyes"; then
15845 if test "xCXX" = "xC"; then
15846 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15847 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15848 if test "${bakefile_cv_c_exto+set}" = set; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15850 else
15851 cat >conftest.$ac_ext <<_ACEOF
15852 /* confdefs.h. */
15853 _ACEOF
15854 cat confdefs.h >>conftest.$ac_ext
15855 cat >>conftest.$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15857
15858 int
15859 main ()
15860 {
15861
15862 ;
15863 return 0;
15864 }
15865 _ACEOF
15866 rm -f conftest.$ac_objext conftest.$ac_ext.o
15867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15868 (eval $ac_compile) 2>&5
15869 ac_status=$?
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); }; then
15872 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15873 case $ac_file in
15874 conftest.$ac_ext.o)
15875 bakefile_cv_c_exto="-ext o"
15876 ;;
15877 *)
15878 ;;
15879 esac
15880 done
15881 else
15882 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15883 See \`config.log' for more details." >&5
15884 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15885 See \`config.log' for more details." >&2;}
15886 { (exit 1); exit 1; }; }
15887
15888 fi
15889
15890 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15891
15892 fi
15893 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15894 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15895 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15896 if test "c" = "c"; then
15897 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15898 fi
15899 if test "c" = "cxx"; then
15900 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15901 fi
15902 fi
15903
15904 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15905 unset ac_cv_prog_cc_g
15906 ac_test_CFLAGS=${CFLAGS+set}
15907 ac_save_CFLAGS=$CFLAGS
15908 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15909 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15910 if test "${ac_cv_prog_cc_g+set}" = set; then
15911 echo $ECHO_N "(cached) $ECHO_C" >&6
15912 else
15913 ac_save_c_werror_flag=$ac_c_werror_flag
15914 ac_c_werror_flag=yes
15915 ac_cv_prog_cc_g=no
15916 CFLAGS="-g"
15917 cat >conftest.$ac_ext <<_ACEOF
15918 /* confdefs.h. */
15919 _ACEOF
15920 cat confdefs.h >>conftest.$ac_ext
15921 cat >>conftest.$ac_ext <<_ACEOF
15922 /* end confdefs.h. */
15923
15924 int
15925 main ()
15926 {
15927
15928 ;
15929 return 0;
15930 }
15931 _ACEOF
15932 rm -f conftest.$ac_objext
15933 if { (ac_try="$ac_compile"
15934 case "(($ac_try" in
15935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15936 *) ac_try_echo=$ac_try;;
15937 esac
15938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15939 (eval "$ac_compile") 2>conftest.er1
15940 ac_status=$?
15941 grep -v '^ *+' conftest.er1 >conftest.err
15942 rm -f conftest.er1
15943 cat conftest.err >&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } &&
15946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15947 { (case "(($ac_try" in
15948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15949 *) ac_try_echo=$ac_try;;
15950 esac
15951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15952 (eval "$ac_try") 2>&5
15953 ac_status=$?
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; } &&
15956 { ac_try='test -s conftest.$ac_objext'
15957 { (case "(($ac_try" in
15958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15959 *) ac_try_echo=$ac_try;;
15960 esac
15961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15962 (eval "$ac_try") 2>&5
15963 ac_status=$?
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); }; }; then
15966 ac_cv_prog_cc_g=yes
15967 else
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.$ac_ext >&5
15970
15971 CFLAGS=""
15972 cat >conftest.$ac_ext <<_ACEOF
15973 /* confdefs.h. */
15974 _ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978
15979 int
15980 main ()
15981 {
15982
15983 ;
15984 return 0;
15985 }
15986 _ACEOF
15987 rm -f conftest.$ac_objext
15988 if { (ac_try="$ac_compile"
15989 case "(($ac_try" in
15990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15991 *) ac_try_echo=$ac_try;;
15992 esac
15993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15994 (eval "$ac_compile") 2>conftest.er1
15995 ac_status=$?
15996 grep -v '^ *+' conftest.er1 >conftest.err
15997 rm -f conftest.er1
15998 cat conftest.err >&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); } &&
16001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16002 { (case "(($ac_try" in
16003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16004 *) ac_try_echo=$ac_try;;
16005 esac
16006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16007 (eval "$ac_try") 2>&5
16008 ac_status=$?
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); }; } &&
16011 { ac_try='test -s conftest.$ac_objext'
16012 { (case "(($ac_try" in
16013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16014 *) ac_try_echo=$ac_try;;
16015 esac
16016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16017 (eval "$ac_try") 2>&5
16018 ac_status=$?
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); }; }; then
16021 :
16022 else
16023 echo "$as_me: failed program was:" >&5
16024 sed 's/^/| /' conftest.$ac_ext >&5
16025
16026 ac_c_werror_flag=$ac_save_c_werror_flag
16027 CFLAGS="-g"
16028 cat >conftest.$ac_ext <<_ACEOF
16029 /* confdefs.h. */
16030 _ACEOF
16031 cat confdefs.h >>conftest.$ac_ext
16032 cat >>conftest.$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16034
16035 int
16036 main ()
16037 {
16038
16039 ;
16040 return 0;
16041 }
16042 _ACEOF
16043 rm -f conftest.$ac_objext
16044 if { (ac_try="$ac_compile"
16045 case "(($ac_try" in
16046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16047 *) ac_try_echo=$ac_try;;
16048 esac
16049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16050 (eval "$ac_compile") 2>conftest.er1
16051 ac_status=$?
16052 grep -v '^ *+' conftest.er1 >conftest.err
16053 rm -f conftest.er1
16054 cat conftest.err >&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); } &&
16057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16058 { (case "(($ac_try" in
16059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16060 *) ac_try_echo=$ac_try;;
16061 esac
16062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16063 (eval "$ac_try") 2>&5
16064 ac_status=$?
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; } &&
16067 { ac_try='test -s conftest.$ac_objext'
16068 { (case "(($ac_try" in
16069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16070 *) ac_try_echo=$ac_try;;
16071 esac
16072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16073 (eval "$ac_try") 2>&5
16074 ac_status=$?
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; }; then
16077 ac_cv_prog_cc_g=yes
16078 else
16079 echo "$as_me: failed program was:" >&5
16080 sed 's/^/| /' conftest.$ac_ext >&5
16081
16082
16083 fi
16084
16085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16086 fi
16087
16088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16089 fi
16090
16091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16092 ac_c_werror_flag=$ac_save_c_werror_flag
16093 fi
16094 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16095 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16096 if test "$ac_test_CFLAGS" = set; then
16097 CFLAGS=$ac_save_CFLAGS
16098 elif test $ac_cv_prog_cc_g = yes; then
16099 if test "$GCC" = yes; then
16100 CFLAGS="-g -O2"
16101 else
16102 CFLAGS="-g"
16103 fi
16104 else
16105 if test "$GCC" = yes; then
16106 CFLAGS="-O2"
16107 else
16108 CFLAGS=
16109 fi
16110 fi
16111 fi
16112 fi
16113
16114 case `uname -s` in
16115 AIX*)
16116 ac_ext=cpp
16117 ac_cpp='$CXXCPP $CPPFLAGS'
16118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16121
16122 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16123 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16124 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16125 echo $ECHO_N "(cached) $ECHO_C" >&6
16126 else
16127 cat >conftest.$ac_ext <<_ACEOF
16128 /* confdefs.h. */
16129 _ACEOF
16130 cat confdefs.h >>conftest.$ac_ext
16131 cat >>conftest.$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16133
16134 int
16135 main ()
16136 {
16137 #ifndef __xlC__
16138 choke me
16139 #endif
16140
16141 ;
16142 return 0;
16143 }
16144 _ACEOF
16145 rm -f conftest.$ac_objext
16146 if { (ac_try="$ac_compile"
16147 case "(($ac_try" in
16148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16149 *) ac_try_echo=$ac_try;;
16150 esac
16151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16152 (eval "$ac_compile") 2>conftest.er1
16153 ac_status=$?
16154 grep -v '^ *+' conftest.er1 >conftest.err
16155 rm -f conftest.er1
16156 cat conftest.err >&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); } &&
16159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16160 { (case "(($ac_try" in
16161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16162 *) ac_try_echo=$ac_try;;
16163 esac
16164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16165 (eval "$ac_try") 2>&5
16166 ac_status=$?
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; } &&
16169 { ac_try='test -s conftest.$ac_objext'
16170 { (case "(($ac_try" in
16171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16172 *) ac_try_echo=$ac_try;;
16173 esac
16174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16175 (eval "$ac_try") 2>&5
16176 ac_status=$?
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; }; then
16179 bakefile_compiler_xlc=yes
16180 else
16181 echo "$as_me: failed program was:" >&5
16182 sed 's/^/| /' conftest.$ac_ext >&5
16183
16184 bakefile_compiler_xlc=no
16185 fi
16186
16187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16188 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
16189
16190 fi
16191 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16192 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16193
16194 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16195 ac_ext=c
16196 ac_cpp='$CPP $CPPFLAGS'
16197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16200
16201
16202 ;;
16203
16204 Darwin)
16205 ac_ext=cpp
16206 ac_cpp='$CXXCPP $CPPFLAGS'
16207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16210
16211 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16212 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16213 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16215 else
16216 cat >conftest.$ac_ext <<_ACEOF
16217 /* confdefs.h. */
16218 _ACEOF
16219 cat confdefs.h >>conftest.$ac_ext
16220 cat >>conftest.$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16222
16223 int
16224 main ()
16225 {
16226 #ifndef __MWERKS__
16227 choke me
16228 #endif
16229
16230 ;
16231 return 0;
16232 }
16233 _ACEOF
16234 rm -f conftest.$ac_objext
16235 if { (ac_try="$ac_compile"
16236 case "(($ac_try" in
16237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16238 *) ac_try_echo=$ac_try;;
16239 esac
16240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16241 (eval "$ac_compile") 2>conftest.er1
16242 ac_status=$?
16243 grep -v '^ *+' conftest.er1 >conftest.err
16244 rm -f conftest.er1
16245 cat conftest.err >&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } &&
16248 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16249 { (case "(($ac_try" in
16250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16251 *) ac_try_echo=$ac_try;;
16252 esac
16253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16254 (eval "$ac_try") 2>&5
16255 ac_status=$?
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; } &&
16258 { ac_try='test -s conftest.$ac_objext'
16259 { (case "(($ac_try" in
16260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16261 *) ac_try_echo=$ac_try;;
16262 esac
16263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16264 (eval "$ac_try") 2>&5
16265 ac_status=$?
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; }; then
16268 bakefile_compiler_mwerks=yes
16269 else
16270 echo "$as_me: failed program was:" >&5
16271 sed 's/^/| /' conftest.$ac_ext >&5
16272
16273 bakefile_compiler_mwerks=no
16274 fi
16275
16276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16277 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
16278
16279 fi
16280 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
16281 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
16282
16283 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
16284 ac_ext=c
16285 ac_cpp='$CPP $CPPFLAGS'
16286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16289
16290
16291 ac_ext=cpp
16292 ac_cpp='$CXXCPP $CPPFLAGS'
16293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16296
16297 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16298 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16299 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16300 echo $ECHO_N "(cached) $ECHO_C" >&6
16301 else
16302 cat >conftest.$ac_ext <<_ACEOF
16303 /* confdefs.h. */
16304 _ACEOF
16305 cat confdefs.h >>conftest.$ac_ext
16306 cat >>conftest.$ac_ext <<_ACEOF
16307 /* end confdefs.h. */
16308
16309 int
16310 main ()
16311 {
16312 #ifndef __xlC__
16313 choke me
16314 #endif
16315
16316 ;
16317 return 0;
16318 }
16319 _ACEOF
16320 rm -f conftest.$ac_objext
16321 if { (ac_try="$ac_compile"
16322 case "(($ac_try" in
16323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16324 *) ac_try_echo=$ac_try;;
16325 esac
16326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16327 (eval "$ac_compile") 2>conftest.er1
16328 ac_status=$?
16329 grep -v '^ *+' conftest.er1 >conftest.err
16330 rm -f conftest.er1
16331 cat conftest.err >&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); } &&
16334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16335 { (case "(($ac_try" in
16336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16337 *) ac_try_echo=$ac_try;;
16338 esac
16339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16340 (eval "$ac_try") 2>&5
16341 ac_status=$?
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; } &&
16344 { ac_try='test -s conftest.$ac_objext'
16345 { (case "(($ac_try" in
16346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16347 *) ac_try_echo=$ac_try;;
16348 esac
16349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16350 (eval "$ac_try") 2>&5
16351 ac_status=$?
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; }; then
16354 bakefile_compiler_xlc=yes
16355 else
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.$ac_ext >&5
16358
16359 bakefile_compiler_xlc=no
16360 fi
16361
16362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16363 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
16364
16365 fi
16366 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16367 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16368
16369 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16370 ac_ext=c
16371 ac_cpp='$CPP $CPPFLAGS'
16372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16375
16376
16377 ;;
16378
16379 IRIX*)
16380
16381
16382 ac_ext=cpp
16383 ac_cpp='$CXXCPP $CPPFLAGS'
16384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16387
16388 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16389 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16390 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16391 echo $ECHO_N "(cached) $ECHO_C" >&6
16392 else
16393 cat >conftest.$ac_ext <<_ACEOF
16394 /* confdefs.h. */
16395 _ACEOF
16396 cat confdefs.h >>conftest.$ac_ext
16397 cat >>conftest.$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16399
16400 int
16401 main ()
16402 {
16403
16404 #ifndef _SGI_COMPILER_VERSION
16405 choke me
16406 #endif
16407
16408 ;
16409 return 0;
16410 }
16411 _ACEOF
16412 rm -f conftest.$ac_objext
16413 if { (ac_try="$ac_compile"
16414 case "(($ac_try" in
16415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16416 *) ac_try_echo=$ac_try;;
16417 esac
16418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16419 (eval "$ac_compile") 2>conftest.er1
16420 ac_status=$?
16421 grep -v '^ *+' conftest.er1 >conftest.err
16422 rm -f conftest.er1
16423 cat conftest.err >&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); } &&
16426 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16427 { (case "(($ac_try" in
16428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16429 *) ac_try_echo=$ac_try;;
16430 esac
16431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16432 (eval "$ac_try") 2>&5
16433 ac_status=$?
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); }; } &&
16436 { ac_try='test -s conftest.$ac_objext'
16437 { (case "(($ac_try" in
16438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16439 *) ac_try_echo=$ac_try;;
16440 esac
16441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16442 (eval "$ac_try") 2>&5
16443 ac_status=$?
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; }; then
16446 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16447 else
16448 echo "$as_me: failed program was:" >&5
16449 sed 's/^/| /' conftest.$ac_ext >&5
16450
16451 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16452
16453 fi
16454
16455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16456
16457
16458 fi
16459 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16460 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16461 ac_ext=c
16462 ac_cpp='$CPP $CPPFLAGS'
16463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16466
16467 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16468 :; SGICXX=yes
16469 else
16470 :;
16471 fi
16472
16473
16474 ;;
16475
16476 HP-UX*)
16477
16478
16479 ac_ext=cpp
16480 ac_cpp='$CXXCPP $CPPFLAGS'
16481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16484
16485 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16486 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16487 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16488 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 else
16490 cat >conftest.$ac_ext <<_ACEOF
16491 /* confdefs.h. */
16492 _ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16496
16497 int
16498 main ()
16499 {
16500
16501 #ifndef __HP_aCC
16502 choke me
16503 #endif
16504
16505 ;
16506 return 0;
16507 }
16508 _ACEOF
16509 rm -f conftest.$ac_objext
16510 if { (ac_try="$ac_compile"
16511 case "(($ac_try" in
16512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16513 *) ac_try_echo=$ac_try;;
16514 esac
16515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16516 (eval "$ac_compile") 2>conftest.er1
16517 ac_status=$?
16518 grep -v '^ *+' conftest.er1 >conftest.err
16519 rm -f conftest.er1
16520 cat conftest.err >&5
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); } &&
16523 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16524 { (case "(($ac_try" in
16525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16526 *) ac_try_echo=$ac_try;;
16527 esac
16528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16529 (eval "$ac_try") 2>&5
16530 ac_status=$?
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); }; } &&
16533 { ac_try='test -s conftest.$ac_objext'
16534 { (case "(($ac_try" in
16535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16536 *) ac_try_echo=$ac_try;;
16537 esac
16538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16539 (eval "$ac_try") 2>&5
16540 ac_status=$?
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; }; then
16543 bakefile_cv_cxx_compiler___HP_aCC=yes
16544 else
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.$ac_ext >&5
16547
16548 bakefile_cv_cxx_compiler___HP_aCC=no
16549
16550 fi
16551
16552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16553
16554
16555 fi
16556 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16557 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16558 ac_ext=c
16559 ac_cpp='$CPP $CPPFLAGS'
16560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16563
16564 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16565 :; HPCXX=yes
16566 else
16567 :;
16568 fi
16569
16570
16571 ;;
16572
16573 OSF1)
16574
16575
16576 ac_ext=cpp
16577 ac_cpp='$CXXCPP $CPPFLAGS'
16578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16581
16582 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16583 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16584 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16586 else
16587 cat >conftest.$ac_ext <<_ACEOF
16588 /* confdefs.h. */
16589 _ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593
16594 int
16595 main ()
16596 {
16597
16598 #ifndef __DECCXX
16599 choke me
16600 #endif
16601
16602 ;
16603 return 0;
16604 }
16605 _ACEOF
16606 rm -f conftest.$ac_objext
16607 if { (ac_try="$ac_compile"
16608 case "(($ac_try" in
16609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16610 *) ac_try_echo=$ac_try;;
16611 esac
16612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16613 (eval "$ac_compile") 2>conftest.er1
16614 ac_status=$?
16615 grep -v '^ *+' conftest.er1 >conftest.err
16616 rm -f conftest.er1
16617 cat conftest.err >&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } &&
16620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16621 { (case "(($ac_try" in
16622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16623 *) ac_try_echo=$ac_try;;
16624 esac
16625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16626 (eval "$ac_try") 2>&5
16627 ac_status=$?
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; } &&
16630 { ac_try='test -s conftest.$ac_objext'
16631 { (case "(($ac_try" in
16632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16633 *) ac_try_echo=$ac_try;;
16634 esac
16635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16636 (eval "$ac_try") 2>&5
16637 ac_status=$?
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }; }; then
16640 bakefile_cv_cxx_compiler___DECCXX=yes
16641 else
16642 echo "$as_me: failed program was:" >&5
16643 sed 's/^/| /' conftest.$ac_ext >&5
16644
16645 bakefile_cv_cxx_compiler___DECCXX=no
16646
16647 fi
16648
16649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16650
16651
16652 fi
16653 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16654 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16655 ac_ext=c
16656 ac_cpp='$CPP $CPPFLAGS'
16657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16660
16661 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16662 :; COMPAQCXX=yes
16663 else
16664 :;
16665 fi
16666
16667
16668 ;;
16669
16670 SunOS)
16671
16672
16673 ac_ext=cpp
16674 ac_cpp='$CXXCPP $CPPFLAGS'
16675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16678
16679 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16680 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16681 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16682 echo $ECHO_N "(cached) $ECHO_C" >&6
16683 else
16684 cat >conftest.$ac_ext <<_ACEOF
16685 /* confdefs.h. */
16686 _ACEOF
16687 cat confdefs.h >>conftest.$ac_ext
16688 cat >>conftest.$ac_ext <<_ACEOF
16689 /* end confdefs.h. */
16690
16691 int
16692 main ()
16693 {
16694
16695 #ifndef __SUNPRO_CC
16696 choke me
16697 #endif
16698
16699 ;
16700 return 0;
16701 }
16702 _ACEOF
16703 rm -f conftest.$ac_objext
16704 if { (ac_try="$ac_compile"
16705 case "(($ac_try" in
16706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16707 *) ac_try_echo=$ac_try;;
16708 esac
16709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16710 (eval "$ac_compile") 2>conftest.er1
16711 ac_status=$?
16712 grep -v '^ *+' conftest.er1 >conftest.err
16713 rm -f conftest.er1
16714 cat conftest.err >&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } &&
16717 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16718 { (case "(($ac_try" in
16719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16720 *) ac_try_echo=$ac_try;;
16721 esac
16722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16723 (eval "$ac_try") 2>&5
16724 ac_status=$?
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; } &&
16727 { ac_try='test -s conftest.$ac_objext'
16728 { (case "(($ac_try" in
16729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16730 *) ac_try_echo=$ac_try;;
16731 esac
16732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16733 (eval "$ac_try") 2>&5
16734 ac_status=$?
16735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); }; }; then
16737 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16738 else
16739 echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.$ac_ext >&5
16741
16742 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16743
16744 fi
16745
16746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16747
16748
16749 fi
16750 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16751 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16752 ac_ext=c
16753 ac_cpp='$CPP $CPPFLAGS'
16754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16757
16758 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16759 :; SUNCXX=yes
16760 else
16761 :;
16762 fi
16763
16764
16765 ;;
16766 esac
16767 fi
16768
16769
16770
16771 if test -n "$ac_tool_prefix"; then
16772 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16773 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16776 if test "${ac_cv_prog_RANLIB+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16778 else
16779 if test -n "$RANLIB"; then
16780 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16781 else
16782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16783 for as_dir in $PATH
16784 do
16785 IFS=$as_save_IFS
16786 test -z "$as_dir" && as_dir=.
16787 for ac_exec_ext in '' $ac_executable_extensions; do
16788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16789 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16791 break 2
16792 fi
16793 done
16794 done
16795 IFS=$as_save_IFS
16796
16797 fi
16798 fi
16799 RANLIB=$ac_cv_prog_RANLIB
16800 if test -n "$RANLIB"; then
16801 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16802 echo "${ECHO_T}$RANLIB" >&6; }
16803 else
16804 { echo "$as_me:$LINENO: result: no" >&5
16805 echo "${ECHO_T}no" >&6; }
16806 fi
16807
16808
16809 fi
16810 if test -z "$ac_cv_prog_RANLIB"; then
16811 ac_ct_RANLIB=$RANLIB
16812 # Extract the first word of "ranlib", so it can be a program name with args.
16813 set dummy ranlib; ac_word=$2
16814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16816 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16818 else
16819 if test -n "$ac_ct_RANLIB"; then
16820 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16821 else
16822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16823 for as_dir in $PATH
16824 do
16825 IFS=$as_save_IFS
16826 test -z "$as_dir" && as_dir=.
16827 for ac_exec_ext in '' $ac_executable_extensions; do
16828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16829 ac_cv_prog_ac_ct_RANLIB="ranlib"
16830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16831 break 2
16832 fi
16833 done
16834 done
16835 IFS=$as_save_IFS
16836
16837 fi
16838 fi
16839 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16840 if test -n "$ac_ct_RANLIB"; then
16841 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16842 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16843 else
16844 { echo "$as_me:$LINENO: result: no" >&5
16845 echo "${ECHO_T}no" >&6; }
16846 fi
16847
16848 if test "x$ac_ct_RANLIB" = x; then
16849 RANLIB=":"
16850 else
16851 case $cross_compiling:$ac_tool_warned in
16852 yes:)
16853 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16854 whose name does not start with the host triplet. If you think this
16855 configuration is useful to you, please write to autoconf@gnu.org." >&5
16856 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16857 whose name does not start with the host triplet. If you think this
16858 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16859 ac_tool_warned=yes ;;
16860 esac
16861 RANLIB=$ac_ct_RANLIB
16862 fi
16863 else
16864 RANLIB="$ac_cv_prog_RANLIB"
16865 fi
16866
16867
16868 if test "x$SUNCXX" != xyes; then
16869 if test -n "$ac_tool_prefix"; then
16870 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16871 set dummy ${ac_tool_prefix}ar; ac_word=$2
16872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16874 if test "${ac_cv_prog_AR+set}" = set; then
16875 echo $ECHO_N "(cached) $ECHO_C" >&6
16876 else
16877 if test -n "$AR"; then
16878 ac_cv_prog_AR="$AR" # Let the user override the test.
16879 else
16880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16881 for as_dir in $PATH
16882 do
16883 IFS=$as_save_IFS
16884 test -z "$as_dir" && as_dir=.
16885 for ac_exec_ext in '' $ac_executable_extensions; do
16886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16887 ac_cv_prog_AR="${ac_tool_prefix}ar"
16888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16889 break 2
16890 fi
16891 done
16892 done
16893 IFS=$as_save_IFS
16894
16895 fi
16896 fi
16897 AR=$ac_cv_prog_AR
16898 if test -n "$AR"; then
16899 { echo "$as_me:$LINENO: result: $AR" >&5
16900 echo "${ECHO_T}$AR" >&6; }
16901 else
16902 { echo "$as_me:$LINENO: result: no" >&5
16903 echo "${ECHO_T}no" >&6; }
16904 fi
16905
16906
16907 fi
16908 if test -z "$ac_cv_prog_AR"; then
16909 ac_ct_AR=$AR
16910 # Extract the first word of "ar", so it can be a program name with args.
16911 set dummy ar; ac_word=$2
16912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16914 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 else
16917 if test -n "$ac_ct_AR"; then
16918 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16919 else
16920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16921 for as_dir in $PATH
16922 do
16923 IFS=$as_save_IFS
16924 test -z "$as_dir" && as_dir=.
16925 for ac_exec_ext in '' $ac_executable_extensions; do
16926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16927 ac_cv_prog_ac_ct_AR="ar"
16928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16929 break 2
16930 fi
16931 done
16932 done
16933 IFS=$as_save_IFS
16934
16935 fi
16936 fi
16937 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16938 if test -n "$ac_ct_AR"; then
16939 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16940 echo "${ECHO_T}$ac_ct_AR" >&6; }
16941 else
16942 { echo "$as_me:$LINENO: result: no" >&5
16943 echo "${ECHO_T}no" >&6; }
16944 fi
16945
16946 if test "x$ac_ct_AR" = x; then
16947 AR=""
16948 else
16949 case $cross_compiling:$ac_tool_warned in
16950 yes:)
16951 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16952 whose name does not start with the host triplet. If you think this
16953 configuration is useful to you, please write to autoconf@gnu.org." >&5
16954 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16955 whose name does not start with the host triplet. If you think this
16956 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16957 ac_tool_warned=yes ;;
16958 esac
16959 AR=$ac_ct_AR
16960 fi
16961 else
16962 AR="$ac_cv_prog_AR"
16963 fi
16964
16965 if test "x$AR" = "x" ; then
16966 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16967 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16968 { (exit 1); exit 1; }; }
16969 fi
16970 fi
16971
16972 # Find a good install program. We prefer a C program (faster),
16973 # so one script is as good as another. But avoid the broken or
16974 # incompatible versions:
16975 # SysV /etc/install, /usr/sbin/install
16976 # SunOS /usr/etc/install
16977 # IRIX /sbin/install
16978 # AIX /bin/install
16979 # AmigaOS /C/install, which installs bootblocks on floppy discs
16980 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16981 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16982 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16983 # OS/2's system install, which has a completely different semantic
16984 # ./install, which can be erroneously created by make from ./install.sh.
16985 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16986 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16987 if test -z "$INSTALL"; then
16988 if test "${ac_cv_path_install+set}" = set; then
16989 echo $ECHO_N "(cached) $ECHO_C" >&6
16990 else
16991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16992 for as_dir in $PATH
16993 do
16994 IFS=$as_save_IFS
16995 test -z "$as_dir" && as_dir=.
16996 # Account for people who put trailing slashes in PATH elements.
16997 case $as_dir/ in
16998 ./ | .// | /cC/* | \
16999 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
17000 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
17001 /usr/ucb/* ) ;;
17002 *)
17003 # OSF1 and SCO ODT 3.0 have their own names for install.
17004 # Don't use installbsd from OSF since it installs stuff as root
17005 # by default.
17006 for ac_prog in ginstall scoinst install; do
17007 for ac_exec_ext in '' $ac_executable_extensions; do
17008 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
17009 if test $ac_prog = install &&
17010 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
17011 # AIX install. It has an incompatible calling convention.
17012 :
17013 elif test $ac_prog = install &&
17014 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
17015 # program-specific install script used by HP pwplus--don't use.
17016 :
17017 else
17018 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
17019 break 3
17020 fi
17021 fi
17022 done
17023 done
17024 ;;
17025 esac
17026 done
17027 IFS=$as_save_IFS
17028
17029
17030 fi
17031 if test "${ac_cv_path_install+set}" = set; then
17032 INSTALL=$ac_cv_path_install
17033 else
17034 # As a last resort, use the slow shell script. Don't cache a
17035 # value for INSTALL within a source directory, because that will
17036 # break other packages using the cache if that directory is
17037 # removed, or if the value is a relative name.
17038 INSTALL=$ac_install_sh
17039 fi
17040 fi
17041 { echo "$as_me:$LINENO: result: $INSTALL" >&5
17042 echo "${ECHO_T}$INSTALL" >&6; }
17043
17044 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
17045 # It thinks the first close brace ends the variable substitution.
17046 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
17047
17048 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
17049
17050 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
17051
17052
17053 case ${INSTALL} in
17054 /* ) # Absolute
17055 ;;
17056 ?:* ) # Drive letter, considered as absolute.
17057 ;;
17058 *)
17059 INSTALL=`pwd`/${INSTALL} ;;
17060 esac
17061
17062
17063 case "${host}" in
17064
17065 *-*-darwin* )
17066 INSTALL_PROGRAM="cp -fp"
17067 INSTALL_DATA="cp -fp"
17068 ;;
17069 *)
17070 ;;
17071 esac
17072
17073 if test -n "$ac_tool_prefix"; then
17074 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
17075 set dummy ${ac_tool_prefix}strip; ac_word=$2
17076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17078 if test "${ac_cv_prog_STRIP+set}" = set; then
17079 echo $ECHO_N "(cached) $ECHO_C" >&6
17080 else
17081 if test -n "$STRIP"; then
17082 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
17083 else
17084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17085 for as_dir in $PATH
17086 do
17087 IFS=$as_save_IFS
17088 test -z "$as_dir" && as_dir=.
17089 for ac_exec_ext in '' $ac_executable_extensions; do
17090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17091 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
17092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17093 break 2
17094 fi
17095 done
17096 done
17097 IFS=$as_save_IFS
17098
17099 fi
17100 fi
17101 STRIP=$ac_cv_prog_STRIP
17102 if test -n "$STRIP"; then
17103 { echo "$as_me:$LINENO: result: $STRIP" >&5
17104 echo "${ECHO_T}$STRIP" >&6; }
17105 else
17106 { echo "$as_me:$LINENO: result: no" >&5
17107 echo "${ECHO_T}no" >&6; }
17108 fi
17109
17110
17111 fi
17112 if test -z "$ac_cv_prog_STRIP"; then
17113 ac_ct_STRIP=$STRIP
17114 # Extract the first word of "strip", so it can be a program name with args.
17115 set dummy strip; ac_word=$2
17116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17118 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 else
17121 if test -n "$ac_ct_STRIP"; then
17122 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
17123 else
17124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17125 for as_dir in $PATH
17126 do
17127 IFS=$as_save_IFS
17128 test -z "$as_dir" && as_dir=.
17129 for ac_exec_ext in '' $ac_executable_extensions; do
17130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17131 ac_cv_prog_ac_ct_STRIP="strip"
17132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17133 break 2
17134 fi
17135 done
17136 done
17137 IFS=$as_save_IFS
17138
17139 fi
17140 fi
17141 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
17142 if test -n "$ac_ct_STRIP"; then
17143 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
17144 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
17145 else
17146 { echo "$as_me:$LINENO: result: no" >&5
17147 echo "${ECHO_T}no" >&6; }
17148 fi
17149
17150 if test "x$ac_ct_STRIP" = x; then
17151 STRIP="true"
17152 else
17153 case $cross_compiling:$ac_tool_warned in
17154 yes:)
17155 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17156 whose name does not start with the host triplet. If you think this
17157 configuration is useful to you, please write to autoconf@gnu.org." >&5
17158 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17159 whose name does not start with the host triplet. If you think this
17160 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17161 ac_tool_warned=yes ;;
17162 esac
17163 STRIP=$ac_ct_STRIP
17164 fi
17165 else
17166 STRIP="$ac_cv_prog_STRIP"
17167 fi
17168
17169
17170 if test "$wxUSE_WINE" = "yes"; then
17171 if test -n "$ac_tool_prefix"; then
17172 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
17173 set dummy ${ac_tool_prefix}wrc; ac_word=$2
17174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17176 if test "${ac_cv_prog_WINDRES+set}" = set; then
17177 echo $ECHO_N "(cached) $ECHO_C" >&6
17178 else
17179 if test -n "$WINDRES"; then
17180 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17181 else
17182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17183 for as_dir in $PATH
17184 do
17185 IFS=$as_save_IFS
17186 test -z "$as_dir" && as_dir=.
17187 for ac_exec_ext in '' $ac_executable_extensions; do
17188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17189 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
17190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17191 break 2
17192 fi
17193 done
17194 done
17195 IFS=$as_save_IFS
17196
17197 fi
17198 fi
17199 WINDRES=$ac_cv_prog_WINDRES
17200 if test -n "$WINDRES"; then
17201 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17202 echo "${ECHO_T}$WINDRES" >&6; }
17203 else
17204 { echo "$as_me:$LINENO: result: no" >&5
17205 echo "${ECHO_T}no" >&6; }
17206 fi
17207
17208
17209 fi
17210 if test -z "$ac_cv_prog_WINDRES"; then
17211 ac_ct_WINDRES=$WINDRES
17212 # Extract the first word of "wrc", so it can be a program name with args.
17213 set dummy wrc; ac_word=$2
17214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17216 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17217 echo $ECHO_N "(cached) $ECHO_C" >&6
17218 else
17219 if test -n "$ac_ct_WINDRES"; then
17220 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17221 else
17222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17223 for as_dir in $PATH
17224 do
17225 IFS=$as_save_IFS
17226 test -z "$as_dir" && as_dir=.
17227 for ac_exec_ext in '' $ac_executable_extensions; do
17228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17229 ac_cv_prog_ac_ct_WINDRES="wrc"
17230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17231 break 2
17232 fi
17233 done
17234 done
17235 IFS=$as_save_IFS
17236
17237 fi
17238 fi
17239 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17240 if test -n "$ac_ct_WINDRES"; then
17241 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17242 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17243 else
17244 { echo "$as_me:$LINENO: result: no" >&5
17245 echo "${ECHO_T}no" >&6; }
17246 fi
17247
17248 if test "x$ac_ct_WINDRES" = x; then
17249 WINDRES=""
17250 else
17251 case $cross_compiling:$ac_tool_warned in
17252 yes:)
17253 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17254 whose name does not start with the host triplet. If you think this
17255 configuration is useful to you, please write to autoconf@gnu.org." >&5
17256 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17257 whose name does not start with the host triplet. If you think this
17258 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17259 ac_tool_warned=yes ;;
17260 esac
17261 WINDRES=$ac_ct_WINDRES
17262 fi
17263 else
17264 WINDRES="$ac_cv_prog_WINDRES"
17265 fi
17266
17267 RESCOMP="$WINDRES"
17268 else
17269 case "${host}" in
17270 *-*-cygwin* | *-*-mingw32* )
17271 if test -n "$ac_tool_prefix"; then
17272 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17273 set dummy ${ac_tool_prefix}windres; ac_word=$2
17274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17276 if test "${ac_cv_prog_WINDRES+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17278 else
17279 if test -n "$WINDRES"; then
17280 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17281 else
17282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17283 for as_dir in $PATH
17284 do
17285 IFS=$as_save_IFS
17286 test -z "$as_dir" && as_dir=.
17287 for ac_exec_ext in '' $ac_executable_extensions; do
17288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17289 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
17290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17291 break 2
17292 fi
17293 done
17294 done
17295 IFS=$as_save_IFS
17296
17297 fi
17298 fi
17299 WINDRES=$ac_cv_prog_WINDRES
17300 if test -n "$WINDRES"; then
17301 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17302 echo "${ECHO_T}$WINDRES" >&6; }
17303 else
17304 { echo "$as_me:$LINENO: result: no" >&5
17305 echo "${ECHO_T}no" >&6; }
17306 fi
17307
17308
17309 fi
17310 if test -z "$ac_cv_prog_WINDRES"; then
17311 ac_ct_WINDRES=$WINDRES
17312 # Extract the first word of "windres", so it can be a program name with args.
17313 set dummy windres; ac_word=$2
17314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17316 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17317 echo $ECHO_N "(cached) $ECHO_C" >&6
17318 else
17319 if test -n "$ac_ct_WINDRES"; then
17320 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17321 else
17322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17323 for as_dir in $PATH
17324 do
17325 IFS=$as_save_IFS
17326 test -z "$as_dir" && as_dir=.
17327 for ac_exec_ext in '' $ac_executable_extensions; do
17328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17329 ac_cv_prog_ac_ct_WINDRES="windres"
17330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17331 break 2
17332 fi
17333 done
17334 done
17335 IFS=$as_save_IFS
17336
17337 fi
17338 fi
17339 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17340 if test -n "$ac_ct_WINDRES"; then
17341 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17342 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17343 else
17344 { echo "$as_me:$LINENO: result: no" >&5
17345 echo "${ECHO_T}no" >&6; }
17346 fi
17347
17348 if test "x$ac_ct_WINDRES" = x; then
17349 WINDRES=""
17350 else
17351 case $cross_compiling:$ac_tool_warned in
17352 yes:)
17353 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17354 whose name does not start with the host triplet. If you think this
17355 configuration is useful to you, please write to autoconf@gnu.org." >&5
17356 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17357 whose name does not start with the host triplet. If you think this
17358 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17359 ac_tool_warned=yes ;;
17360 esac
17361 WINDRES=$ac_ct_WINDRES
17362 fi
17363 else
17364 WINDRES="$ac_cv_prog_WINDRES"
17365 fi
17366
17367 RESCOMP="$WINDRES"
17368 if test -n "$ac_tool_prefix"; then
17369 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
17370 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
17371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17373 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17374 echo $ECHO_N "(cached) $ECHO_C" >&6
17375 else
17376 if test -n "$DLLTOOL"; then
17377 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17378 else
17379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17380 for as_dir in $PATH
17381 do
17382 IFS=$as_save_IFS
17383 test -z "$as_dir" && as_dir=.
17384 for ac_exec_ext in '' $ac_executable_extensions; do
17385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17386 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
17387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17388 break 2
17389 fi
17390 done
17391 done
17392 IFS=$as_save_IFS
17393
17394 fi
17395 fi
17396 DLLTOOL=$ac_cv_prog_DLLTOOL
17397 if test -n "$DLLTOOL"; then
17398 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17399 echo "${ECHO_T}$DLLTOOL" >&6; }
17400 else
17401 { echo "$as_me:$LINENO: result: no" >&5
17402 echo "${ECHO_T}no" >&6; }
17403 fi
17404
17405
17406 fi
17407 if test -z "$ac_cv_prog_DLLTOOL"; then
17408 ac_ct_DLLTOOL=$DLLTOOL
17409 # Extract the first word of "dlltool", so it can be a program name with args.
17410 set dummy dlltool; ac_word=$2
17411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17413 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
17414 echo $ECHO_N "(cached) $ECHO_C" >&6
17415 else
17416 if test -n "$ac_ct_DLLTOOL"; then
17417 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
17418 else
17419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17420 for as_dir in $PATH
17421 do
17422 IFS=$as_save_IFS
17423 test -z "$as_dir" && as_dir=.
17424 for ac_exec_ext in '' $ac_executable_extensions; do
17425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17426 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
17427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17428 break 2
17429 fi
17430 done
17431 done
17432 IFS=$as_save_IFS
17433
17434 fi
17435 fi
17436 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
17437 if test -n "$ac_ct_DLLTOOL"; then
17438 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
17439 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
17440 else
17441 { echo "$as_me:$LINENO: result: no" >&5
17442 echo "${ECHO_T}no" >&6; }
17443 fi
17444
17445 if test "x$ac_ct_DLLTOOL" = x; then
17446 DLLTOOL=""
17447 else
17448 case $cross_compiling:$ac_tool_warned in
17449 yes:)
17450 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17451 whose name does not start with the host triplet. If you think this
17452 configuration is useful to you, please write to autoconf@gnu.org." >&5
17453 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17454 whose name does not start with the host triplet. If you think this
17455 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17456 ac_tool_warned=yes ;;
17457 esac
17458 DLLTOOL=$ac_ct_DLLTOOL
17459 fi
17460 else
17461 DLLTOOL="$ac_cv_prog_DLLTOOL"
17462 fi
17463
17464 ;;
17465 esac
17466 fi
17467
17468 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17469 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17470 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17471 echo $ECHO_N "(cached) $ECHO_C" >&6
17472 else
17473
17474 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17475 $EGREP -s GNU > /dev/null); then
17476 wx_cv_prog_makeisgnu="yes"
17477 else
17478 wx_cv_prog_makeisgnu="no"
17479 fi
17480
17481 fi
17482 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17483 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17484
17485 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17486 IF_GNU_MAKE=""
17487 else
17488 IF_GNU_MAKE="#"
17489 fi
17490
17491
17492
17493 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17494 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17495 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17496 if test "${wx_cv_prog_makevpath+set}" = set; then
17497 echo $ECHO_N "(cached) $ECHO_C" >&6
17498 else
17499
17500 cat - << EOF > confMake
17501 check : file
17502 cp \$? \$@
17503 cp \$? final_file
17504 EOF
17505
17506 if test ! -d sub ; then
17507 mkdir sub
17508 fi
17509 echo dummy > sub/file
17510 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17511 RESULT=$?
17512 rm -f sub/file check final_file confMake
17513 rmdir sub
17514 if test "$RESULT" = 0; then
17515 wx_cv_prog_makevpath="yes"
17516 else
17517 wx_cv_prog_makevpath="no"
17518 fi
17519
17520 fi
17521 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17522 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17523
17524 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17525 { { echo "$as_me:$LINENO: error:
17526 You need a make-utility that is able to use the variable
17527 VPATH correctly.
17528 If your version of make does not support VPATH correctly,
17529 please install GNU-make (possibly as gmake), and start
17530 configure with the following command:
17531 export MAKE=gmake; ./configure for sh-type shells
17532 setenv MAKE gmake; ./configure for csh-type shells
17533 Also please do remember to use gmake in this case every time
17534 you are trying to compile.
17535 " >&5
17536 echo "$as_me: error:
17537 You need a make-utility that is able to use the variable
17538 VPATH correctly.
17539 If your version of make does not support VPATH correctly,
17540 please install GNU-make (possibly as gmake), and start
17541 configure with the following command:
17542 export MAKE=gmake; ./configure for sh-type shells
17543 setenv MAKE gmake; ./configure for csh-type shells
17544 Also please do remember to use gmake in this case every time
17545 you are trying to compile.
17546 " >&2;}
17547 { (exit 1); exit 1; }; }
17548 fi fi
17549 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17550 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17551 LN_S=$as_ln_s
17552 if test "$LN_S" = "ln -s"; then
17553 { echo "$as_me:$LINENO: result: yes" >&5
17554 echo "${ECHO_T}yes" >&6; }
17555 else
17556 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17557 echo "${ECHO_T}no, using $LN_S" >&6; }
17558 fi
17559
17560
17561
17562
17563 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17564 CXXFLAGS="-qunique $CXXFLAGS"
17565 fi
17566
17567 case "${host}" in
17568 powerpc-*-darwin* )
17569 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17570 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17571 cat >conftest.$ac_ext <<_ACEOF
17572 /* confdefs.h. */
17573 _ACEOF
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h. */
17577
17578 int
17579 main ()
17580 {
17581 #ifndef __POWERPC__
17582 choke me for lack of PowerPC
17583 #endif
17584
17585 ;
17586 return 0;
17587 }
17588 _ACEOF
17589 rm -f conftest.$ac_objext
17590 if { (ac_try="$ac_compile"
17591 case "(($ac_try" in
17592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17593 *) ac_try_echo=$ac_try;;
17594 esac
17595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17596 (eval "$ac_compile") 2>conftest.er1
17597 ac_status=$?
17598 grep -v '^ *+' conftest.er1 >conftest.err
17599 rm -f conftest.er1
17600 cat conftest.err >&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); } &&
17603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17604 { (case "(($ac_try" in
17605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17606 *) ac_try_echo=$ac_try;;
17607 esac
17608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17609 (eval "$ac_try") 2>&5
17610 ac_status=$?
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); }; } &&
17613 { ac_try='test -s conftest.$ac_objext'
17614 { (case "(($ac_try" in
17615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17616 *) ac_try_echo=$ac_try;;
17617 esac
17618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17619 (eval "$ac_try") 2>&5
17620 ac_status=$?
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; }; then
17623 { echo "$as_me:$LINENO: result: yes" >&5
17624 echo "${ECHO_T}yes" >&6; }
17625 else
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17628
17629 { echo "$as_me:$LINENO: result: no" >&5
17630 echo "${ECHO_T}no" >&6; }
17631 cat >>confdefs.h <<\_ACEOF
17632 #define __POWERPC__ 1
17633 _ACEOF
17634
17635
17636 fi
17637
17638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17639 ;;
17640 esac
17641
17642 case "${host}" in
17643 *-*-darwin* )
17644 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17645 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17646 cat >conftest.$ac_ext <<_ACEOF
17647 /* confdefs.h. */
17648 _ACEOF
17649 cat confdefs.h >>conftest.$ac_ext
17650 cat >>conftest.$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17652 #include <CoreFoundation/CFBase.h>
17653
17654 int
17655 main ()
17656 {
17657
17658 ;
17659 return 0;
17660 }
17661 _ACEOF
17662 rm -f conftest.$ac_objext
17663 if { (ac_try="$ac_compile"
17664 case "(($ac_try" in
17665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17666 *) ac_try_echo=$ac_try;;
17667 esac
17668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17669 (eval "$ac_compile") 2>conftest.er1
17670 ac_status=$?
17671 grep -v '^ *+' conftest.er1 >conftest.err
17672 rm -f conftest.er1
17673 cat conftest.err >&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } &&
17676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17677 { (case "(($ac_try" in
17678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17679 *) ac_try_echo=$ac_try;;
17680 esac
17681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17682 (eval "$ac_try") 2>&5
17683 ac_status=$?
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); }; } &&
17686 { ac_try='test -s conftest.$ac_objext'
17687 { (case "(($ac_try" in
17688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17689 *) ac_try_echo=$ac_try;;
17690 esac
17691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17692 (eval "$ac_try") 2>&5
17693 ac_status=$?
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; }; then
17696 { echo "$as_me:$LINENO: result: yes" >&5
17697 echo "${ECHO_T}yes" >&6; }
17698 else
17699 echo "$as_me: failed program was:" >&5
17700 sed 's/^/| /' conftest.$ac_ext >&5
17701
17702 { echo "$as_me:$LINENO: result: no" >&5
17703 echo "${ECHO_T}no" >&6; }
17704 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17705 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17706 cat >conftest.$ac_ext <<_ACEOF
17707 /* confdefs.h. */
17708 _ACEOF
17709 cat confdefs.h >>conftest.$ac_ext
17710 cat >>conftest.$ac_ext <<_ACEOF
17711 /* end confdefs.h. */
17712 #define __CF_USE_FRAMEWORK_INCLUDES__
17713 #include <CoreFoundation/CFBase.h>
17714
17715 int
17716 main ()
17717 {
17718
17719 ;
17720 return 0;
17721 }
17722 _ACEOF
17723 rm -f conftest.$ac_objext
17724 if { (ac_try="$ac_compile"
17725 case "(($ac_try" in
17726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17727 *) ac_try_echo=$ac_try;;
17728 esac
17729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17730 (eval "$ac_compile") 2>conftest.er1
17731 ac_status=$?
17732 grep -v '^ *+' conftest.er1 >conftest.err
17733 rm -f conftest.er1
17734 cat conftest.err >&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); } &&
17737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17738 { (case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17741 esac
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_try") 2>&5
17744 ac_status=$?
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); }; } &&
17747 { ac_try='test -s conftest.$ac_objext'
17748 { (case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17751 esac
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_try") 2>&5
17754 ac_status=$?
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757 { echo "$as_me:$LINENO: result: yes" >&5
17758 echo "${ECHO_T}yes" >&6; }
17759 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17760 else
17761 echo "$as_me: failed program was:" >&5
17762 sed 's/^/| /' conftest.$ac_ext >&5
17763
17764 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17765 See \`config.log' for more details." >&5
17766 echo "$as_me: error: no. CoreFoundation not available.
17767 See \`config.log' for more details." >&2;}
17768 { (exit 1); exit 1; }; }
17769
17770 fi
17771
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17773
17774
17775 fi
17776
17777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17778 ;;
17779 esac
17780
17781 wants_win32=0
17782 doesnt_want_win32=0
17783 case "${host}" in
17784 *-*-cygwin*)
17785 if test "$wxUSE_MSW" = 1 ; then
17786 wants_win32=1
17787 else
17788 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17789 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17790 if test "${wx_cv_nocygwin+set}" = set; then
17791 echo $ECHO_N "(cached) $ECHO_C" >&6
17792 else
17793
17794 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h. */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800
17801 int
17802 main ()
17803 {
17804
17805 #ifdef __MINGW32__
17806 choke me
17807 #endif
17808
17809 ;
17810 return 0;
17811 }
17812 _ACEOF
17813 rm -f conftest.$ac_objext
17814 if { (ac_try="$ac_compile"
17815 case "(($ac_try" in
17816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17817 *) ac_try_echo=$ac_try;;
17818 esac
17819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17820 (eval "$ac_compile") 2>conftest.er1
17821 ac_status=$?
17822 grep -v '^ *+' conftest.er1 >conftest.err
17823 rm -f conftest.er1
17824 cat conftest.err >&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } &&
17827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17828 { (case "(($ac_try" in
17829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17830 *) ac_try_echo=$ac_try;;
17831 esac
17832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17833 (eval "$ac_try") 2>&5
17834 ac_status=$?
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); }; } &&
17837 { ac_try='test -s conftest.$ac_objext'
17838 { (case "(($ac_try" in
17839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17840 *) ac_try_echo=$ac_try;;
17841 esac
17842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17843 (eval "$ac_try") 2>&5
17844 ac_status=$?
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); }; }; then
17847 wx_cv_nocygwin=no
17848 else
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.$ac_ext >&5
17851
17852 wx_cv_nocygwin=yes
17853
17854 fi
17855
17856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857
17858
17859 fi
17860 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17861 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17862
17863 if test "$wx_cv_nocygwin" = "yes"; then
17864 wants_win32=1
17865 else
17866 doesnt_want_win32=1
17867 fi
17868 fi
17869 if test "$wants_win32" = 1 ; then
17870 BAKEFILE_FORCE_PLATFORM=win32
17871 fi
17872 ;;
17873 *-*-mingw*)
17874 wants_win32=1
17875 ;;
17876 esac
17877
17878 if test "$wxUSE_WINE" = "yes"; then
17879 wants_win32=1
17880 LDFLAGS_GUI="-mwindows"
17881 fi
17882
17883 if test "$wants_win32" = 1 ; then
17884 USE_UNIX=0
17885 USE_WIN32=1
17886 cat >>confdefs.h <<\_ACEOF
17887 #define __WIN32__ 1
17888 _ACEOF
17889
17890 cat >>confdefs.h <<\_ACEOF
17891 #define __WIN95__ 1
17892 _ACEOF
17893
17894 cat >>confdefs.h <<\_ACEOF
17895 #define __WINDOWS__ 1
17896 _ACEOF
17897
17898 cat >>confdefs.h <<\_ACEOF
17899 #define __GNUWIN32__ 1
17900 _ACEOF
17901
17902 cat >>confdefs.h <<\_ACEOF
17903 #define STRICT 1
17904 _ACEOF
17905
17906 fi
17907 if test "$doesnt_want_win32" = 1 ; then
17908 USE_UNIX=1
17909 USE_WIN32=0
17910 fi
17911
17912 if test "$USE_UNIX" = 1 ; then
17913 wxUSE_UNIX=yes
17914 cat >>confdefs.h <<\_ACEOF
17915 #define __UNIX__ 1
17916 _ACEOF
17917
17918 fi
17919
17920 case "${host}" in
17921 *-pc-os2_emx | *-pc-os2-emx )
17922 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17923 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17924 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17925 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17926 echo $ECHO_N "(cached) $ECHO_C" >&6
17927 else
17928 ac_check_lib_save_LIBS=$LIBS
17929 LIBS="-lcExt $LIBS"
17930 cat >conftest.$ac_ext <<_ACEOF
17931 /* confdefs.h. */
17932 _ACEOF
17933 cat confdefs.h >>conftest.$ac_ext
17934 cat >>conftest.$ac_ext <<_ACEOF
17935 /* end confdefs.h. */
17936
17937 /* Override any GCC internal prototype to avoid an error.
17938 Use char because int might match the return type of a GCC
17939 builtin and then its argument prototype would still apply. */
17940 #ifdef __cplusplus
17941 extern "C"
17942 #endif
17943 char drand48 ();
17944 int
17945 main ()
17946 {
17947 return drand48 ();
17948 ;
17949 return 0;
17950 }
17951 _ACEOF
17952 rm -f conftest.$ac_objext conftest$ac_exeext
17953 if { (ac_try="$ac_link"
17954 case "(($ac_try" in
17955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17956 *) ac_try_echo=$ac_try;;
17957 esac
17958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_link") 2>conftest.er1
17960 ac_status=$?
17961 grep -v '^ *+' conftest.er1 >conftest.err
17962 rm -f conftest.er1
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } &&
17966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17967 { (case "(($ac_try" in
17968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17969 *) ac_try_echo=$ac_try;;
17970 esac
17971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17972 (eval "$ac_try") 2>&5
17973 ac_status=$?
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; } &&
17976 { ac_try='test -s conftest$ac_exeext'
17977 { (case "(($ac_try" in
17978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17979 *) ac_try_echo=$ac_try;;
17980 esac
17981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17982 (eval "$ac_try") 2>&5
17983 ac_status=$?
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; }; then
17986 ac_cv_lib_cExt_drand48=yes
17987 else
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.$ac_ext >&5
17990
17991 ac_cv_lib_cExt_drand48=no
17992 fi
17993
17994 rm -f core conftest.err conftest.$ac_objext \
17995 conftest$ac_exeext conftest.$ac_ext
17996 LIBS=$ac_check_lib_save_LIBS
17997 fi
17998 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17999 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18000 if test $ac_cv_lib_cExt_drand48 = yes; then
18001 LIBS="$LIBS -lcExt"
18002 fi
18003
18004 else
18005 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18006 fi
18007 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18008 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18009 if test "${wx_cv_gccversion+set}" = set; then
18010 echo $ECHO_N "(cached) $ECHO_C" >&6
18011 else
18012
18013 if test "$cross_compiling" = yes; then
18014 wx_cv_gccversion="EMX2"
18015
18016 else
18017 cat >conftest.$ac_ext <<_ACEOF
18018 /* confdefs.h. */
18019 _ACEOF
18020 cat confdefs.h >>conftest.$ac_ext
18021 cat >>conftest.$ac_ext <<_ACEOF
18022 /* end confdefs.h. */
18023
18024 #include <stdio.h>
18025
18026 int main()
18027 {
18028 FILE *f=fopen("conftestval", "w");
18029 if (!f) exit(1);
18030 fprintf(f,
18031 #if (__GNUC__ < 3)
18032 "EMX2"
18033 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18034 "EMX3"
18035 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18036 "Innotek5"
18037 #else
18038 "Innotek6"
18039 #endif
18040 );
18041 exit(0);
18042 }
18043
18044 _ACEOF
18045 rm -f conftest$ac_exeext
18046 if { (ac_try="$ac_link"
18047 case "(($ac_try" in
18048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18049 *) ac_try_echo=$ac_try;;
18050 esac
18051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18052 (eval "$ac_link") 2>&5
18053 ac_status=$?
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18056 { (case "(($ac_try" in
18057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18058 *) ac_try_echo=$ac_try;;
18059 esac
18060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18061 (eval "$ac_try") 2>&5
18062 ac_status=$?
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; }; then
18065 wx_cv_gccversion=`cat conftestval`
18066 else
18067 echo "$as_me: program exited with status $ac_status" >&5
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.$ac_ext >&5
18070
18071 ( exit $ac_status )
18072 wx_cv_gccversion="EMX2"
18073 fi
18074 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18075 fi
18076
18077
18078
18079 fi
18080 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18081 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18082 if test "$wx_cv_gccversion" = "EMX2"; then
18083 LIBS="$LIBS -lstdcpp"
18084 LDFLAGS="$LDFLAGS -Zsysv-signals"
18085 else
18086 if test "$wx_cv_gccversion" = "EMX3"; then
18087 LIBS="$LIBS -lstdcxx -lgcc"
18088 LDFLAGS="$LDFLAGS -Zsysv-signals"
18089 else
18090 LIBS="$LIBS -lstdc++"
18091 fi
18092 fi
18093 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18094 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18095 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18096 wxUSE_OMF=yes
18097 enable_omf=yes
18098 fi
18099 ;;
18100 *)
18101
18102 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18103 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18104 if test "${ac_cv_string_strcasecmp+set}" = set; then
18105 echo $ECHO_N "(cached) $ECHO_C" >&6
18106 else
18107
18108 cat >conftest.$ac_ext <<_ACEOF
18109 /* confdefs.h. */
18110 _ACEOF
18111 cat confdefs.h >>conftest.$ac_ext
18112 cat >>conftest.$ac_ext <<_ACEOF
18113 /* end confdefs.h. */
18114
18115 #include <string.h>
18116
18117 int
18118 main ()
18119 {
18120
18121 strcasecmp("foo", "bar");
18122
18123 ;
18124 return 0;
18125 }
18126 _ACEOF
18127 rm -f conftest.$ac_objext conftest$ac_exeext
18128 if { (ac_try="$ac_link"
18129 case "(($ac_try" in
18130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18131 *) ac_try_echo=$ac_try;;
18132 esac
18133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18134 (eval "$ac_link") 2>conftest.er1
18135 ac_status=$?
18136 grep -v '^ *+' conftest.er1 >conftest.err
18137 rm -f conftest.er1
18138 cat conftest.err >&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); } &&
18141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18142 { (case "(($ac_try" in
18143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18144 *) ac_try_echo=$ac_try;;
18145 esac
18146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18147 (eval "$ac_try") 2>&5
18148 ac_status=$?
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); }; } &&
18151 { ac_try='test -s conftest$ac_exeext'
18152 { (case "(($ac_try" in
18153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18154 *) ac_try_echo=$ac_try;;
18155 esac
18156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18157 (eval "$ac_try") 2>&5
18158 ac_status=$?
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; }; then
18161 ac_cv_string_strcasecmp=yes
18162 else
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18165
18166 ac_cv_string_strcasecmp=no
18167
18168 fi
18169
18170 rm -f core conftest.err conftest.$ac_objext \
18171 conftest$ac_exeext conftest.$ac_ext
18172
18173 fi
18174 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18175 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18176
18177 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18178 cat >>confdefs.h <<\_ACEOF
18179 #define HAVE_STRCASECMP_IN_STRING_H 1
18180 _ACEOF
18181
18182 else
18183 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18184 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18185 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18186 echo $ECHO_N "(cached) $ECHO_C" >&6
18187 else
18188
18189 cat >conftest.$ac_ext <<_ACEOF
18190 /* confdefs.h. */
18191 _ACEOF
18192 cat confdefs.h >>conftest.$ac_ext
18193 cat >>conftest.$ac_ext <<_ACEOF
18194 /* end confdefs.h. */
18195
18196 #include <strings.h>
18197
18198 int
18199 main ()
18200 {
18201
18202 strcasecmp("foo", "bar");
18203
18204 ;
18205 return 0;
18206 }
18207 _ACEOF
18208 rm -f conftest.$ac_objext conftest$ac_exeext
18209 if { (ac_try="$ac_link"
18210 case "(($ac_try" in
18211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18212 *) ac_try_echo=$ac_try;;
18213 esac
18214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18215 (eval "$ac_link") 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18223 { (case "(($ac_try" in
18224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18225 *) ac_try_echo=$ac_try;;
18226 esac
18227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18228 (eval "$ac_try") 2>&5
18229 ac_status=$?
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; } &&
18232 { ac_try='test -s conftest$ac_exeext'
18233 { (case "(($ac_try" in
18234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18235 *) ac_try_echo=$ac_try;;
18236 esac
18237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18238 (eval "$ac_try") 2>&5
18239 ac_status=$?
18240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18241 (exit $ac_status); }; }; then
18242 ac_cv_strings_strcasecmp=yes
18243 else
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18246
18247 ac_cv_strings_strcasecmp=no
18248
18249 fi
18250
18251 rm -f core conftest.err conftest.$ac_objext \
18252 conftest$ac_exeext conftest.$ac_ext
18253
18254 fi
18255 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18256 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18257
18258 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18259 cat >>confdefs.h <<\_ACEOF
18260 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18261 _ACEOF
18262
18263 else
18264 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18265 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18266 { (exit 1); exit 1; }; }
18267 fi
18268 fi
18269
18270 ;;
18271 esac
18272
18273
18274 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18275 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18276 if test "${ac_cv_header_stdc+set}" = set; then
18277 echo $ECHO_N "(cached) $ECHO_C" >&6
18278 else
18279 cat >conftest.$ac_ext <<_ACEOF
18280 /* confdefs.h. */
18281 _ACEOF
18282 cat confdefs.h >>conftest.$ac_ext
18283 cat >>conftest.$ac_ext <<_ACEOF
18284 /* end confdefs.h. */
18285 #include <stdlib.h>
18286 #include <stdarg.h>
18287 #include <string.h>
18288 #include <float.h>
18289
18290 int
18291 main ()
18292 {
18293
18294 ;
18295 return 0;
18296 }
18297 _ACEOF
18298 rm -f conftest.$ac_objext
18299 if { (ac_try="$ac_compile"
18300 case "(($ac_try" in
18301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18302 *) ac_try_echo=$ac_try;;
18303 esac
18304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18305 (eval "$ac_compile") 2>conftest.er1
18306 ac_status=$?
18307 grep -v '^ *+' conftest.er1 >conftest.err
18308 rm -f conftest.er1
18309 cat conftest.err >&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); } &&
18312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18313 { (case "(($ac_try" in
18314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18315 *) ac_try_echo=$ac_try;;
18316 esac
18317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18318 (eval "$ac_try") 2>&5
18319 ac_status=$?
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; } &&
18322 { ac_try='test -s conftest.$ac_objext'
18323 { (case "(($ac_try" in
18324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18325 *) ac_try_echo=$ac_try;;
18326 esac
18327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18328 (eval "$ac_try") 2>&5
18329 ac_status=$?
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); }; }; then
18332 ac_cv_header_stdc=yes
18333 else
18334 echo "$as_me: failed program was:" >&5
18335 sed 's/^/| /' conftest.$ac_ext >&5
18336
18337 ac_cv_header_stdc=no
18338 fi
18339
18340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18341
18342 if test $ac_cv_header_stdc = yes; then
18343 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18344 cat >conftest.$ac_ext <<_ACEOF
18345 /* confdefs.h. */
18346 _ACEOF
18347 cat confdefs.h >>conftest.$ac_ext
18348 cat >>conftest.$ac_ext <<_ACEOF
18349 /* end confdefs.h. */
18350 #include <string.h>
18351
18352 _ACEOF
18353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18354 $EGREP "memchr" >/dev/null 2>&1; then
18355 :
18356 else
18357 ac_cv_header_stdc=no
18358 fi
18359 rm -f conftest*
18360
18361 fi
18362
18363 if test $ac_cv_header_stdc = yes; then
18364 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18365 cat >conftest.$ac_ext <<_ACEOF
18366 /* confdefs.h. */
18367 _ACEOF
18368 cat confdefs.h >>conftest.$ac_ext
18369 cat >>conftest.$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18371 #include <stdlib.h>
18372
18373 _ACEOF
18374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18375 $EGREP "free" >/dev/null 2>&1; then
18376 :
18377 else
18378 ac_cv_header_stdc=no
18379 fi
18380 rm -f conftest*
18381
18382 fi
18383
18384 if test $ac_cv_header_stdc = yes; then
18385 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18386 if test "$cross_compiling" = yes; then
18387 :
18388 else
18389 cat >conftest.$ac_ext <<_ACEOF
18390 /* confdefs.h. */
18391 _ACEOF
18392 cat confdefs.h >>conftest.$ac_ext
18393 cat >>conftest.$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18395 #include <ctype.h>
18396 #include <stdlib.h>
18397 #if ((' ' & 0x0FF) == 0x020)
18398 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18399 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18400 #else
18401 # define ISLOWER(c) \
18402 (('a' <= (c) && (c) <= 'i') \
18403 || ('j' <= (c) && (c) <= 'r') \
18404 || ('s' <= (c) && (c) <= 'z'))
18405 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18406 #endif
18407
18408 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18409 int
18410 main ()
18411 {
18412 int i;
18413 for (i = 0; i < 256; i++)
18414 if (XOR (islower (i), ISLOWER (i))
18415 || toupper (i) != TOUPPER (i))
18416 return 2;
18417 return 0;
18418 }
18419 _ACEOF
18420 rm -f conftest$ac_exeext
18421 if { (ac_try="$ac_link"
18422 case "(($ac_try" in
18423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18424 *) ac_try_echo=$ac_try;;
18425 esac
18426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18427 (eval "$ac_link") 2>&5
18428 ac_status=$?
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18431 { (case "(($ac_try" in
18432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18433 *) ac_try_echo=$ac_try;;
18434 esac
18435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18436 (eval "$ac_try") 2>&5
18437 ac_status=$?
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }; }; then
18440 :
18441 else
18442 echo "$as_me: program exited with status $ac_status" >&5
18443 echo "$as_me: failed program was:" >&5
18444 sed 's/^/| /' conftest.$ac_ext >&5
18445
18446 ( exit $ac_status )
18447 ac_cv_header_stdc=no
18448 fi
18449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18450 fi
18451
18452
18453 fi
18454 fi
18455 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18456 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18457 if test $ac_cv_header_stdc = yes; then
18458
18459 cat >>confdefs.h <<\_ACEOF
18460 #define STDC_HEADERS 1
18461 _ACEOF
18462
18463 fi
18464
18465 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18476 inttypes.h stdint.h unistd.h
18477 do
18478 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18479 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18481 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18482 echo $ECHO_N "(cached) $ECHO_C" >&6
18483 else
18484 cat >conftest.$ac_ext <<_ACEOF
18485 /* confdefs.h. */
18486 _ACEOF
18487 cat confdefs.h >>conftest.$ac_ext
18488 cat >>conftest.$ac_ext <<_ACEOF
18489 /* end confdefs.h. */
18490 $ac_includes_default
18491
18492 #include <$ac_header>
18493 _ACEOF
18494 rm -f conftest.$ac_objext
18495 if { (ac_try="$ac_compile"
18496 case "(($ac_try" in
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18499 esac
18500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18501 (eval "$ac_compile") 2>conftest.er1
18502 ac_status=$?
18503 grep -v '^ *+' conftest.er1 >conftest.err
18504 rm -f conftest.er1
18505 cat conftest.err >&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); } &&
18508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18509 { (case "(($ac_try" in
18510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18511 *) ac_try_echo=$ac_try;;
18512 esac
18513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18514 (eval "$ac_try") 2>&5
18515 ac_status=$?
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); }; } &&
18518 { ac_try='test -s conftest.$ac_objext'
18519 { (case "(($ac_try" in
18520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18521 *) ac_try_echo=$ac_try;;
18522 esac
18523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18524 (eval "$ac_try") 2>&5
18525 ac_status=$?
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; }; then
18528 eval "$as_ac_Header=yes"
18529 else
18530 echo "$as_me: failed program was:" >&5
18531 sed 's/^/| /' conftest.$ac_ext >&5
18532
18533 eval "$as_ac_Header=no"
18534 fi
18535
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537 fi
18538 ac_res=`eval echo '${'$as_ac_Header'}'`
18539 { echo "$as_me:$LINENO: result: $ac_res" >&5
18540 echo "${ECHO_T}$ac_res" >&6; }
18541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18542 cat >>confdefs.h <<_ACEOF
18543 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18544 _ACEOF
18545
18546 fi
18547
18548 done
18549
18550
18551
18552
18553
18554
18555
18556
18557 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
18558 do
18559 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18560 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18562 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18563 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 else
18565 cat >conftest.$ac_ext <<_ACEOF
18566 /* confdefs.h. */
18567 _ACEOF
18568 cat confdefs.h >>conftest.$ac_ext
18569 cat >>conftest.$ac_ext <<_ACEOF
18570 /* end confdefs.h. */
18571 $ac_includes_default
18572
18573 #include <$ac_header>
18574 _ACEOF
18575 rm -f conftest.$ac_objext
18576 if { (ac_try="$ac_compile"
18577 case "(($ac_try" in
18578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18579 *) ac_try_echo=$ac_try;;
18580 esac
18581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18582 (eval "$ac_compile") 2>conftest.er1
18583 ac_status=$?
18584 grep -v '^ *+' conftest.er1 >conftest.err
18585 rm -f conftest.er1
18586 cat conftest.err >&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); } &&
18589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18590 { (case "(($ac_try" in
18591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18592 *) ac_try_echo=$ac_try;;
18593 esac
18594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18595 (eval "$ac_try") 2>&5
18596 ac_status=$?
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; } &&
18599 { ac_try='test -s conftest.$ac_objext'
18600 { (case "(($ac_try" in
18601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18602 *) ac_try_echo=$ac_try;;
18603 esac
18604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18605 (eval "$ac_try") 2>&5
18606 ac_status=$?
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; }; then
18609 eval "$as_ac_Header=yes"
18610 else
18611 echo "$as_me: failed program was:" >&5
18612 sed 's/^/| /' conftest.$ac_ext >&5
18613
18614 eval "$as_ac_Header=no"
18615 fi
18616
18617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18618 fi
18619 ac_res=`eval echo '${'$as_ac_Header'}'`
18620 { echo "$as_me:$LINENO: result: $ac_res" >&5
18621 echo "${ECHO_T}$ac_res" >&6; }
18622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18623 cat >>confdefs.h <<_ACEOF
18624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18625 _ACEOF
18626
18627 fi
18628
18629 done
18630
18631
18632 if test "$ac_cv_header_wchar_h" != "yes"; then
18633 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
18634 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
18635 if test "${ac_cv_header_wcstr_h+set}" = set; then
18636 echo $ECHO_N "(cached) $ECHO_C" >&6
18637 else
18638 cat >conftest.$ac_ext <<_ACEOF
18639 /* confdefs.h. */
18640 _ACEOF
18641 cat confdefs.h >>conftest.$ac_ext
18642 cat >>conftest.$ac_ext <<_ACEOF
18643 /* end confdefs.h. */
18644 $ac_includes_default
18645
18646 #include <wcstr.h>
18647 _ACEOF
18648 rm -f conftest.$ac_objext
18649 if { (ac_try="$ac_compile"
18650 case "(($ac_try" in
18651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18652 *) ac_try_echo=$ac_try;;
18653 esac
18654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18655 (eval "$ac_compile") 2>conftest.er1
18656 ac_status=$?
18657 grep -v '^ *+' conftest.er1 >conftest.err
18658 rm -f conftest.er1
18659 cat conftest.err >&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } &&
18662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18663 { (case "(($ac_try" in
18664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18665 *) ac_try_echo=$ac_try;;
18666 esac
18667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_try") 2>&5
18669 ac_status=$?
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); }; } &&
18672 { ac_try='test -s conftest.$ac_objext'
18673 { (case "(($ac_try" in
18674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18675 *) ac_try_echo=$ac_try;;
18676 esac
18677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18678 (eval "$ac_try") 2>&5
18679 ac_status=$?
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; }; then
18682 ac_cv_header_wcstr_h=yes
18683 else
18684 echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.$ac_ext >&5
18686
18687 ac_cv_header_wcstr_h=no
18688 fi
18689
18690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18691 fi
18692 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
18693 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18694
18695
18696 fi
18697
18698 case "${host}" in
18699 *-pc-os2_emx | *-pc-os2-emx )
18700 if test $ac_cv_header_langinfo_h = "yes" \
18701 -a \( "$wx_cv_gccversion" = "EMX2" \
18702 -o "$wx_cv_gccversion" = "EMX3" \
18703 -o "$wx_cv_gccversion" = "Innotek5" \); then
18704 LIBS="$LIBS -lintl"
18705 fi
18706 ;;
18707 esac
18708
18709 if test "$USE_UNIX" = 1 ; then
18710 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
18711 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
18712 if test "${ac_cv_header_sys_select_h+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18714 else
18715 cat >conftest.$ac_ext <<_ACEOF
18716 /* confdefs.h. */
18717 _ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 $ac_includes_default
18722
18723 #include <sys/select.h>
18724 _ACEOF
18725 rm -f conftest.$ac_objext
18726 if { (ac_try="$ac_compile"
18727 case "(($ac_try" in
18728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18729 *) ac_try_echo=$ac_try;;
18730 esac
18731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18732 (eval "$ac_compile") 2>conftest.er1
18733 ac_status=$?
18734 grep -v '^ *+' conftest.er1 >conftest.err
18735 rm -f conftest.er1
18736 cat conftest.err >&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); } &&
18739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18740 { (case "(($ac_try" in
18741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18742 *) ac_try_echo=$ac_try;;
18743 esac
18744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18745 (eval "$ac_try") 2>&5
18746 ac_status=$?
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); }; } &&
18749 { ac_try='test -s conftest.$ac_objext'
18750 { (case "(($ac_try" in
18751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18752 *) ac_try_echo=$ac_try;;
18753 esac
18754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18755 (eval "$ac_try") 2>&5
18756 ac_status=$?
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; }; then
18759 ac_cv_header_sys_select_h=yes
18760 else
18761 echo "$as_me: failed program was:" >&5
18762 sed 's/^/| /' conftest.$ac_ext >&5
18763
18764 ac_cv_header_sys_select_h=no
18765 fi
18766
18767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18768 fi
18769 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18770 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18771
18772
18773 fi
18774
18775
18776 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18777 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18778 if test "${ac_cv_c_const+set}" = set; then
18779 echo $ECHO_N "(cached) $ECHO_C" >&6
18780 else
18781 cat >conftest.$ac_ext <<_ACEOF
18782 /* confdefs.h. */
18783 _ACEOF
18784 cat confdefs.h >>conftest.$ac_ext
18785 cat >>conftest.$ac_ext <<_ACEOF
18786 /* end confdefs.h. */
18787
18788 int
18789 main ()
18790 {
18791 /* FIXME: Include the comments suggested by Paul. */
18792 #ifndef __cplusplus
18793 /* Ultrix mips cc rejects this. */
18794 typedef int charset[2];
18795 const charset x;
18796 /* SunOS 4.1.1 cc rejects this. */
18797 char const *const *ccp;
18798 char **p;
18799 /* NEC SVR4.0.2 mips cc rejects this. */
18800 struct point {int x, y;};
18801 static struct point const zero = {0,0};
18802 /* AIX XL C 1.02.0.0 rejects this.
18803 It does not let you subtract one const X* pointer from another in
18804 an arm of an if-expression whose if-part is not a constant
18805 expression */
18806 const char *g = "string";
18807 ccp = &g + (g ? g-g : 0);
18808 /* HPUX 7.0 cc rejects these. */
18809 ++ccp;
18810 p = (char**) ccp;
18811 ccp = (char const *const *) p;
18812 { /* SCO 3.2v4 cc rejects this. */
18813 char *t;
18814 char const *s = 0 ? (char *) 0 : (char const *) 0;
18815
18816 *t++ = 0;
18817 if (s) return 0;
18818 }
18819 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18820 int x[] = {25, 17};
18821 const int *foo = &x[0];
18822 ++foo;
18823 }
18824 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18825 typedef const int *iptr;
18826 iptr p = 0;
18827 ++p;
18828 }
18829 { /* AIX XL C 1.02.0.0 rejects this saying
18830 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18831 struct s { int j; const int *ap[3]; };
18832 struct s *b; b->j = 5;
18833 }
18834 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18835 const int foo = 10;
18836 if (!foo) return 0;
18837 }
18838 return !x[0] && !zero.x;
18839 #endif
18840
18841 ;
18842 return 0;
18843 }
18844 _ACEOF
18845 rm -f conftest.$ac_objext
18846 if { (ac_try="$ac_compile"
18847 case "(($ac_try" in
18848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18849 *) ac_try_echo=$ac_try;;
18850 esac
18851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18852 (eval "$ac_compile") 2>conftest.er1
18853 ac_status=$?
18854 grep -v '^ *+' conftest.er1 >conftest.err
18855 rm -f conftest.er1
18856 cat conftest.err >&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } &&
18859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18860 { (case "(($ac_try" in
18861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18862 *) ac_try_echo=$ac_try;;
18863 esac
18864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18865 (eval "$ac_try") 2>&5
18866 ac_status=$?
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; } &&
18869 { ac_try='test -s conftest.$ac_objext'
18870 { (case "(($ac_try" in
18871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18872 *) ac_try_echo=$ac_try;;
18873 esac
18874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18875 (eval "$ac_try") 2>&5
18876 ac_status=$?
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); }; }; then
18879 ac_cv_c_const=yes
18880 else
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.$ac_ext >&5
18883
18884 ac_cv_c_const=no
18885 fi
18886
18887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18888 fi
18889 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18890 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18891 if test $ac_cv_c_const = no; then
18892
18893 cat >>confdefs.h <<\_ACEOF
18894 #define const
18895 _ACEOF
18896
18897 fi
18898
18899 { echo "$as_me:$LINENO: checking for inline" >&5
18900 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18901 if test "${ac_cv_c_inline+set}" = set; then
18902 echo $ECHO_N "(cached) $ECHO_C" >&6
18903 else
18904 ac_cv_c_inline=no
18905 for ac_kw in inline __inline__ __inline; do
18906 cat >conftest.$ac_ext <<_ACEOF
18907 /* confdefs.h. */
18908 _ACEOF
18909 cat confdefs.h >>conftest.$ac_ext
18910 cat >>conftest.$ac_ext <<_ACEOF
18911 /* end confdefs.h. */
18912 #ifndef __cplusplus
18913 typedef int foo_t;
18914 static $ac_kw foo_t static_foo () {return 0; }
18915 $ac_kw foo_t foo () {return 0; }
18916 #endif
18917
18918 _ACEOF
18919 rm -f conftest.$ac_objext
18920 if { (ac_try="$ac_compile"
18921 case "(($ac_try" in
18922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18923 *) ac_try_echo=$ac_try;;
18924 esac
18925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18926 (eval "$ac_compile") 2>conftest.er1
18927 ac_status=$?
18928 grep -v '^ *+' conftest.er1 >conftest.err
18929 rm -f conftest.er1
18930 cat conftest.err >&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); } &&
18933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18934 { (case "(($ac_try" in
18935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18936 *) ac_try_echo=$ac_try;;
18937 esac
18938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18939 (eval "$ac_try") 2>&5
18940 ac_status=$?
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; } &&
18943 { ac_try='test -s conftest.$ac_objext'
18944 { (case "(($ac_try" in
18945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18946 *) ac_try_echo=$ac_try;;
18947 esac
18948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18949 (eval "$ac_try") 2>&5
18950 ac_status=$?
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); }; }; then
18953 ac_cv_c_inline=$ac_kw
18954 else
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18957
18958
18959 fi
18960
18961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18962 test "$ac_cv_c_inline" != no && break
18963 done
18964
18965 fi
18966 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18967 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18968
18969
18970 case $ac_cv_c_inline in
18971 inline | yes) ;;
18972 *)
18973 case $ac_cv_c_inline in
18974 no) ac_val=;;
18975 *) ac_val=$ac_cv_c_inline;;
18976 esac
18977 cat >>confdefs.h <<_ACEOF
18978 #ifndef __cplusplus
18979 #define inline $ac_val
18980 #endif
18981 _ACEOF
18982 ;;
18983 esac
18984
18985
18986 { echo "$as_me:$LINENO: checking for short" >&5
18987 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18988 if test "${ac_cv_type_short+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18990 else
18991 cat >conftest.$ac_ext <<_ACEOF
18992 /* confdefs.h. */
18993 _ACEOF
18994 cat confdefs.h >>conftest.$ac_ext
18995 cat >>conftest.$ac_ext <<_ACEOF
18996 /* end confdefs.h. */
18997 $ac_includes_default
18998 typedef short ac__type_new_;
18999 int
19000 main ()
19001 {
19002 if ((ac__type_new_ *) 0)
19003 return 0;
19004 if (sizeof (ac__type_new_))
19005 return 0;
19006 ;
19007 return 0;
19008 }
19009 _ACEOF
19010 rm -f conftest.$ac_objext
19011 if { (ac_try="$ac_compile"
19012 case "(($ac_try" in
19013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19014 *) ac_try_echo=$ac_try;;
19015 esac
19016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19017 (eval "$ac_compile") 2>conftest.er1
19018 ac_status=$?
19019 grep -v '^ *+' conftest.er1 >conftest.err
19020 rm -f conftest.er1
19021 cat conftest.err >&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); } &&
19024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19025 { (case "(($ac_try" in
19026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19027 *) ac_try_echo=$ac_try;;
19028 esac
19029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19030 (eval "$ac_try") 2>&5
19031 ac_status=$?
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; } &&
19034 { ac_try='test -s conftest.$ac_objext'
19035 { (case "(($ac_try" in
19036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19037 *) ac_try_echo=$ac_try;;
19038 esac
19039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19040 (eval "$ac_try") 2>&5
19041 ac_status=$?
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; }; then
19044 ac_cv_type_short=yes
19045 else
19046 echo "$as_me: failed program was:" >&5
19047 sed 's/^/| /' conftest.$ac_ext >&5
19048
19049 ac_cv_type_short=no
19050 fi
19051
19052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19053 fi
19054 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19055 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19056
19057 { echo "$as_me:$LINENO: checking size of short" >&5
19058 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19059 if test "${ac_cv_sizeof_short+set}" = set; then
19060 echo $ECHO_N "(cached) $ECHO_C" >&6
19061 else
19062 if test "$ac_cv_type_short" = yes; then
19063 # The cast to long int works around a bug in the HP C Compiler
19064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19066 # This bug is HP SR number 8606223364.
19067 if test "$cross_compiling" = yes; then
19068 # Depending upon the size, compute the lo and hi bounds.
19069 cat >conftest.$ac_ext <<_ACEOF
19070 /* confdefs.h. */
19071 _ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19075 $ac_includes_default
19076 typedef short ac__type_sizeof_;
19077 int
19078 main ()
19079 {
19080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19081 test_array [0] = 0
19082
19083 ;
19084 return 0;
19085 }
19086 _ACEOF
19087 rm -f conftest.$ac_objext
19088 if { (ac_try="$ac_compile"
19089 case "(($ac_try" in
19090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19091 *) ac_try_echo=$ac_try;;
19092 esac
19093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19094 (eval "$ac_compile") 2>conftest.er1
19095 ac_status=$?
19096 grep -v '^ *+' conftest.er1 >conftest.err
19097 rm -f conftest.er1
19098 cat conftest.err >&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19102 { (case "(($ac_try" in
19103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19104 *) ac_try_echo=$ac_try;;
19105 esac
19106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19107 (eval "$ac_try") 2>&5
19108 ac_status=$?
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; } &&
19111 { ac_try='test -s conftest.$ac_objext'
19112 { (case "(($ac_try" in
19113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19114 *) ac_try_echo=$ac_try;;
19115 esac
19116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19117 (eval "$ac_try") 2>&5
19118 ac_status=$?
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; }; then
19121 ac_lo=0 ac_mid=0
19122 while :; do
19123 cat >conftest.$ac_ext <<_ACEOF
19124 /* confdefs.h. */
19125 _ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 $ac_includes_default
19130 typedef short ac__type_sizeof_;
19131 int
19132 main ()
19133 {
19134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19135 test_array [0] = 0
19136
19137 ;
19138 return 0;
19139 }
19140 _ACEOF
19141 rm -f conftest.$ac_objext
19142 if { (ac_try="$ac_compile"
19143 case "(($ac_try" in
19144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19145 *) ac_try_echo=$ac_try;;
19146 esac
19147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19148 (eval "$ac_compile") 2>conftest.er1
19149 ac_status=$?
19150 grep -v '^ *+' conftest.er1 >conftest.err
19151 rm -f conftest.er1
19152 cat conftest.err >&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); } &&
19155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19156 { (case "(($ac_try" in
19157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19158 *) ac_try_echo=$ac_try;;
19159 esac
19160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19161 (eval "$ac_try") 2>&5
19162 ac_status=$?
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); }; } &&
19165 { ac_try='test -s conftest.$ac_objext'
19166 { (case "(($ac_try" in
19167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19168 *) ac_try_echo=$ac_try;;
19169 esac
19170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19171 (eval "$ac_try") 2>&5
19172 ac_status=$?
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; }; then
19175 ac_hi=$ac_mid; break
19176 else
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.$ac_ext >&5
19179
19180 ac_lo=`expr $ac_mid + 1`
19181 if test $ac_lo -le $ac_mid; then
19182 ac_lo= ac_hi=
19183 break
19184 fi
19185 ac_mid=`expr 2 '*' $ac_mid + 1`
19186 fi
19187
19188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19189 done
19190 else
19191 echo "$as_me: failed program was:" >&5
19192 sed 's/^/| /' conftest.$ac_ext >&5
19193
19194 cat >conftest.$ac_ext <<_ACEOF
19195 /* confdefs.h. */
19196 _ACEOF
19197 cat confdefs.h >>conftest.$ac_ext
19198 cat >>conftest.$ac_ext <<_ACEOF
19199 /* end confdefs.h. */
19200 $ac_includes_default
19201 typedef short ac__type_sizeof_;
19202 int
19203 main ()
19204 {
19205 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19206 test_array [0] = 0
19207
19208 ;
19209 return 0;
19210 }
19211 _ACEOF
19212 rm -f conftest.$ac_objext
19213 if { (ac_try="$ac_compile"
19214 case "(($ac_try" in
19215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19216 *) ac_try_echo=$ac_try;;
19217 esac
19218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19219 (eval "$ac_compile") 2>conftest.er1
19220 ac_status=$?
19221 grep -v '^ *+' conftest.er1 >conftest.err
19222 rm -f conftest.er1
19223 cat conftest.err >&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); } &&
19226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19227 { (case "(($ac_try" in
19228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19229 *) ac_try_echo=$ac_try;;
19230 esac
19231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19232 (eval "$ac_try") 2>&5
19233 ac_status=$?
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; } &&
19236 { ac_try='test -s conftest.$ac_objext'
19237 { (case "(($ac_try" in
19238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19239 *) ac_try_echo=$ac_try;;
19240 esac
19241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19242 (eval "$ac_try") 2>&5
19243 ac_status=$?
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; }; then
19246 ac_hi=-1 ac_mid=-1
19247 while :; do
19248 cat >conftest.$ac_ext <<_ACEOF
19249 /* confdefs.h. */
19250 _ACEOF
19251 cat confdefs.h >>conftest.$ac_ext
19252 cat >>conftest.$ac_ext <<_ACEOF
19253 /* end confdefs.h. */
19254 $ac_includes_default
19255 typedef short ac__type_sizeof_;
19256 int
19257 main ()
19258 {
19259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19260 test_array [0] = 0
19261
19262 ;
19263 return 0;
19264 }
19265 _ACEOF
19266 rm -f conftest.$ac_objext
19267 if { (ac_try="$ac_compile"
19268 case "(($ac_try" in
19269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19270 *) ac_try_echo=$ac_try;;
19271 esac
19272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19273 (eval "$ac_compile") 2>conftest.er1
19274 ac_status=$?
19275 grep -v '^ *+' conftest.er1 >conftest.err
19276 rm -f conftest.er1
19277 cat conftest.err >&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); } &&
19280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19281 { (case "(($ac_try" in
19282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19283 *) ac_try_echo=$ac_try;;
19284 esac
19285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19286 (eval "$ac_try") 2>&5
19287 ac_status=$?
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); }; } &&
19290 { ac_try='test -s conftest.$ac_objext'
19291 { (case "(($ac_try" in
19292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19294 esac
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_try") 2>&5
19297 ac_status=$?
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; }; then
19300 ac_lo=$ac_mid; break
19301 else
19302 echo "$as_me: failed program was:" >&5
19303 sed 's/^/| /' conftest.$ac_ext >&5
19304
19305 ac_hi=`expr '(' $ac_mid ')' - 1`
19306 if test $ac_mid -le $ac_hi; then
19307 ac_lo= ac_hi=
19308 break
19309 fi
19310 ac_mid=`expr 2 '*' $ac_mid`
19311 fi
19312
19313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19314 done
19315 else
19316 echo "$as_me: failed program was:" >&5
19317 sed 's/^/| /' conftest.$ac_ext >&5
19318
19319 ac_lo= ac_hi=
19320 fi
19321
19322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19323 fi
19324
19325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19326 # Binary search between lo and hi bounds.
19327 while test "x$ac_lo" != "x$ac_hi"; do
19328 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19329 cat >conftest.$ac_ext <<_ACEOF
19330 /* confdefs.h. */
19331 _ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19335 $ac_includes_default
19336 typedef short ac__type_sizeof_;
19337 int
19338 main ()
19339 {
19340 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19341 test_array [0] = 0
19342
19343 ;
19344 return 0;
19345 }
19346 _ACEOF
19347 rm -f conftest.$ac_objext
19348 if { (ac_try="$ac_compile"
19349 case "(($ac_try" in
19350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19351 *) ac_try_echo=$ac_try;;
19352 esac
19353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19354 (eval "$ac_compile") 2>conftest.er1
19355 ac_status=$?
19356 grep -v '^ *+' conftest.er1 >conftest.err
19357 rm -f conftest.er1
19358 cat conftest.err >&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19362 { (case "(($ac_try" in
19363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19364 *) ac_try_echo=$ac_try;;
19365 esac
19366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19367 (eval "$ac_try") 2>&5
19368 ac_status=$?
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; } &&
19371 { ac_try='test -s conftest.$ac_objext'
19372 { (case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19375 esac
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_try") 2>&5
19378 ac_status=$?
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; }; then
19381 ac_hi=$ac_mid
19382 else
19383 echo "$as_me: failed program was:" >&5
19384 sed 's/^/| /' conftest.$ac_ext >&5
19385
19386 ac_lo=`expr '(' $ac_mid ')' + 1`
19387 fi
19388
19389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19390 done
19391 case $ac_lo in
19392 ?*) ac_cv_sizeof_short=$ac_lo;;
19393 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19394 See \`config.log' for more details." >&5
19395 echo "$as_me: error: cannot compute sizeof (short)
19396 See \`config.log' for more details." >&2;}
19397 { (exit 77); exit 77; }; } ;;
19398 esac
19399 else
19400 cat >conftest.$ac_ext <<_ACEOF
19401 /* confdefs.h. */
19402 _ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19406 $ac_includes_default
19407 typedef short ac__type_sizeof_;
19408 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19409 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19410 #include <stdio.h>
19411 #include <stdlib.h>
19412 int
19413 main ()
19414 {
19415
19416 FILE *f = fopen ("conftest.val", "w");
19417 if (! f)
19418 return 1;
19419 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19420 {
19421 long int i = longval ();
19422 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19423 return 1;
19424 fprintf (f, "%ld\n", i);
19425 }
19426 else
19427 {
19428 unsigned long int i = ulongval ();
19429 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19430 return 1;
19431 fprintf (f, "%lu\n", i);
19432 }
19433 return ferror (f) || fclose (f) != 0;
19434
19435 ;
19436 return 0;
19437 }
19438 _ACEOF
19439 rm -f conftest$ac_exeext
19440 if { (ac_try="$ac_link"
19441 case "(($ac_try" in
19442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19443 *) ac_try_echo=$ac_try;;
19444 esac
19445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19446 (eval "$ac_link") 2>&5
19447 ac_status=$?
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19450 { (case "(($ac_try" in
19451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19452 *) ac_try_echo=$ac_try;;
19453 esac
19454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19455 (eval "$ac_try") 2>&5
19456 ac_status=$?
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; }; then
19459 ac_cv_sizeof_short=`cat conftest.val`
19460 else
19461 echo "$as_me: program exited with status $ac_status" >&5
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19464
19465 ( exit $ac_status )
19466 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19467 See \`config.log' for more details." >&5
19468 echo "$as_me: error: cannot compute sizeof (short)
19469 See \`config.log' for more details." >&2;}
19470 { (exit 77); exit 77; }; }
19471 fi
19472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19473 fi
19474 rm -f conftest.val
19475 else
19476 ac_cv_sizeof_short=0
19477 fi
19478 fi
19479 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19480 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19481 cat >>confdefs.h <<_ACEOF
19482 #define SIZEOF_SHORT $ac_cv_sizeof_short
19483 _ACEOF
19484
19485
19486 { echo "$as_me:$LINENO: checking for void *" >&5
19487 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19488 if test "${ac_cv_type_void_p+set}" = set; then
19489 echo $ECHO_N "(cached) $ECHO_C" >&6
19490 else
19491 cat >conftest.$ac_ext <<_ACEOF
19492 /* confdefs.h. */
19493 _ACEOF
19494 cat confdefs.h >>conftest.$ac_ext
19495 cat >>conftest.$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19497 $ac_includes_default
19498 typedef void * ac__type_new_;
19499 int
19500 main ()
19501 {
19502 if ((ac__type_new_ *) 0)
19503 return 0;
19504 if (sizeof (ac__type_new_))
19505 return 0;
19506 ;
19507 return 0;
19508 }
19509 _ACEOF
19510 rm -f conftest.$ac_objext
19511 if { (ac_try="$ac_compile"
19512 case "(($ac_try" in
19513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19514 *) ac_try_echo=$ac_try;;
19515 esac
19516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_compile") 2>conftest.er1
19518 ac_status=$?
19519 grep -v '^ *+' conftest.er1 >conftest.err
19520 rm -f conftest.er1
19521 cat conftest.err >&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } &&
19524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19525 { (case "(($ac_try" in
19526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19527 *) ac_try_echo=$ac_try;;
19528 esac
19529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19530 (eval "$ac_try") 2>&5
19531 ac_status=$?
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; } &&
19534 { ac_try='test -s conftest.$ac_objext'
19535 { (case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19538 esac
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_try") 2>&5
19541 ac_status=$?
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; }; then
19544 ac_cv_type_void_p=yes
19545 else
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.$ac_ext >&5
19548
19549 ac_cv_type_void_p=no
19550 fi
19551
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19553 fi
19554 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19555 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19556
19557 { echo "$as_me:$LINENO: checking size of void *" >&5
19558 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19559 if test "${ac_cv_sizeof_void_p+set}" = set; then
19560 echo $ECHO_N "(cached) $ECHO_C" >&6
19561 else
19562 if test "$ac_cv_type_void_p" = yes; then
19563 # The cast to long int works around a bug in the HP C Compiler
19564 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19565 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19566 # This bug is HP SR number 8606223364.
19567 if test "$cross_compiling" = yes; then
19568 # Depending upon the size, compute the lo and hi bounds.
19569 cat >conftest.$ac_ext <<_ACEOF
19570 /* confdefs.h. */
19571 _ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 $ac_includes_default
19576 typedef void * ac__type_sizeof_;
19577 int
19578 main ()
19579 {
19580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19581 test_array [0] = 0
19582
19583 ;
19584 return 0;
19585 }
19586 _ACEOF
19587 rm -f conftest.$ac_objext
19588 if { (ac_try="$ac_compile"
19589 case "(($ac_try" in
19590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19591 *) ac_try_echo=$ac_try;;
19592 esac
19593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19594 (eval "$ac_compile") 2>conftest.er1
19595 ac_status=$?
19596 grep -v '^ *+' conftest.er1 >conftest.err
19597 rm -f conftest.er1
19598 cat conftest.err >&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19602 { (case "(($ac_try" in
19603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19604 *) ac_try_echo=$ac_try;;
19605 esac
19606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19607 (eval "$ac_try") 2>&5
19608 ac_status=$?
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; } &&
19611 { ac_try='test -s conftest.$ac_objext'
19612 { (case "(($ac_try" in
19613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19614 *) ac_try_echo=$ac_try;;
19615 esac
19616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19617 (eval "$ac_try") 2>&5
19618 ac_status=$?
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; }; then
19621 ac_lo=0 ac_mid=0
19622 while :; do
19623 cat >conftest.$ac_ext <<_ACEOF
19624 /* confdefs.h. */
19625 _ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 $ac_includes_default
19630 typedef void * ac__type_sizeof_;
19631 int
19632 main ()
19633 {
19634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19635 test_array [0] = 0
19636
19637 ;
19638 return 0;
19639 }
19640 _ACEOF
19641 rm -f conftest.$ac_objext
19642 if { (ac_try="$ac_compile"
19643 case "(($ac_try" in
19644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19645 *) ac_try_echo=$ac_try;;
19646 esac
19647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19648 (eval "$ac_compile") 2>conftest.er1
19649 ac_status=$?
19650 grep -v '^ *+' conftest.er1 >conftest.err
19651 rm -f conftest.er1
19652 cat conftest.err >&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } &&
19655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19656 { (case "(($ac_try" in
19657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19658 *) ac_try_echo=$ac_try;;
19659 esac
19660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19661 (eval "$ac_try") 2>&5
19662 ac_status=$?
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); }; } &&
19665 { ac_try='test -s conftest.$ac_objext'
19666 { (case "(($ac_try" in
19667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19668 *) ac_try_echo=$ac_try;;
19669 esac
19670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19671 (eval "$ac_try") 2>&5
19672 ac_status=$?
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); }; }; then
19675 ac_hi=$ac_mid; break
19676 else
19677 echo "$as_me: failed program was:" >&5
19678 sed 's/^/| /' conftest.$ac_ext >&5
19679
19680 ac_lo=`expr $ac_mid + 1`
19681 if test $ac_lo -le $ac_mid; then
19682 ac_lo= ac_hi=
19683 break
19684 fi
19685 ac_mid=`expr 2 '*' $ac_mid + 1`
19686 fi
19687
19688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19689 done
19690 else
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.$ac_ext >&5
19693
19694 cat >conftest.$ac_ext <<_ACEOF
19695 /* confdefs.h. */
19696 _ACEOF
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19700 $ac_includes_default
19701 typedef void * ac__type_sizeof_;
19702 int
19703 main ()
19704 {
19705 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19706 test_array [0] = 0
19707
19708 ;
19709 return 0;
19710 }
19711 _ACEOF
19712 rm -f conftest.$ac_objext
19713 if { (ac_try="$ac_compile"
19714 case "(($ac_try" in
19715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19716 *) ac_try_echo=$ac_try;;
19717 esac
19718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19719 (eval "$ac_compile") 2>conftest.er1
19720 ac_status=$?
19721 grep -v '^ *+' conftest.er1 >conftest.err
19722 rm -f conftest.er1
19723 cat conftest.err >&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } &&
19726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19727 { (case "(($ac_try" in
19728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19729 *) ac_try_echo=$ac_try;;
19730 esac
19731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19732 (eval "$ac_try") 2>&5
19733 ac_status=$?
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; } &&
19736 { ac_try='test -s conftest.$ac_objext'
19737 { (case "(($ac_try" in
19738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19739 *) ac_try_echo=$ac_try;;
19740 esac
19741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19742 (eval "$ac_try") 2>&5
19743 ac_status=$?
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; }; then
19746 ac_hi=-1 ac_mid=-1
19747 while :; do
19748 cat >conftest.$ac_ext <<_ACEOF
19749 /* confdefs.h. */
19750 _ACEOF
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754 $ac_includes_default
19755 typedef void * ac__type_sizeof_;
19756 int
19757 main ()
19758 {
19759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19760 test_array [0] = 0
19761
19762 ;
19763 return 0;
19764 }
19765 _ACEOF
19766 rm -f conftest.$ac_objext
19767 if { (ac_try="$ac_compile"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19771 esac
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_compile") 2>conftest.er1
19774 ac_status=$?
19775 grep -v '^ *+' conftest.er1 >conftest.err
19776 rm -f conftest.er1
19777 cat conftest.err >&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19781 { (case "(($ac_try" in
19782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19783 *) ac_try_echo=$ac_try;;
19784 esac
19785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19786 (eval "$ac_try") 2>&5
19787 ac_status=$?
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); }; } &&
19790 { ac_try='test -s conftest.$ac_objext'
19791 { (case "(($ac_try" in
19792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19794 esac
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_try") 2>&5
19797 ac_status=$?
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); }; }; then
19800 ac_lo=$ac_mid; break
19801 else
19802 echo "$as_me: failed program was:" >&5
19803 sed 's/^/| /' conftest.$ac_ext >&5
19804
19805 ac_hi=`expr '(' $ac_mid ')' - 1`
19806 if test $ac_mid -le $ac_hi; then
19807 ac_lo= ac_hi=
19808 break
19809 fi
19810 ac_mid=`expr 2 '*' $ac_mid`
19811 fi
19812
19813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19814 done
19815 else
19816 echo "$as_me: failed program was:" >&5
19817 sed 's/^/| /' conftest.$ac_ext >&5
19818
19819 ac_lo= ac_hi=
19820 fi
19821
19822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19823 fi
19824
19825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19826 # Binary search between lo and hi bounds.
19827 while test "x$ac_lo" != "x$ac_hi"; do
19828 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19829 cat >conftest.$ac_ext <<_ACEOF
19830 /* confdefs.h. */
19831 _ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 $ac_includes_default
19836 typedef void * ac__type_sizeof_;
19837 int
19838 main ()
19839 {
19840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19841 test_array [0] = 0
19842
19843 ;
19844 return 0;
19845 }
19846 _ACEOF
19847 rm -f conftest.$ac_objext
19848 if { (ac_try="$ac_compile"
19849 case "(($ac_try" in
19850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19851 *) ac_try_echo=$ac_try;;
19852 esac
19853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19854 (eval "$ac_compile") 2>conftest.er1
19855 ac_status=$?
19856 grep -v '^ *+' conftest.er1 >conftest.err
19857 rm -f conftest.er1
19858 cat conftest.err >&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); } &&
19861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19862 { (case "(($ac_try" in
19863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864 *) ac_try_echo=$ac_try;;
19865 esac
19866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19867 (eval "$ac_try") 2>&5
19868 ac_status=$?
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); }; } &&
19871 { ac_try='test -s conftest.$ac_objext'
19872 { (case "(($ac_try" in
19873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19874 *) ac_try_echo=$ac_try;;
19875 esac
19876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19877 (eval "$ac_try") 2>&5
19878 ac_status=$?
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; }; then
19881 ac_hi=$ac_mid
19882 else
19883 echo "$as_me: failed program was:" >&5
19884 sed 's/^/| /' conftest.$ac_ext >&5
19885
19886 ac_lo=`expr '(' $ac_mid ')' + 1`
19887 fi
19888
19889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19890 done
19891 case $ac_lo in
19892 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19893 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19894 See \`config.log' for more details." >&5
19895 echo "$as_me: error: cannot compute sizeof (void *)
19896 See \`config.log' for more details." >&2;}
19897 { (exit 77); exit 77; }; } ;;
19898 esac
19899 else
19900 cat >conftest.$ac_ext <<_ACEOF
19901 /* confdefs.h. */
19902 _ACEOF
19903 cat confdefs.h >>conftest.$ac_ext
19904 cat >>conftest.$ac_ext <<_ACEOF
19905 /* end confdefs.h. */
19906 $ac_includes_default
19907 typedef void * ac__type_sizeof_;
19908 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19909 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19910 #include <stdio.h>
19911 #include <stdlib.h>
19912 int
19913 main ()
19914 {
19915
19916 FILE *f = fopen ("conftest.val", "w");
19917 if (! f)
19918 return 1;
19919 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19920 {
19921 long int i = longval ();
19922 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19923 return 1;
19924 fprintf (f, "%ld\n", i);
19925 }
19926 else
19927 {
19928 unsigned long int i = ulongval ();
19929 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19930 return 1;
19931 fprintf (f, "%lu\n", i);
19932 }
19933 return ferror (f) || fclose (f) != 0;
19934
19935 ;
19936 return 0;
19937 }
19938 _ACEOF
19939 rm -f conftest$ac_exeext
19940 if { (ac_try="$ac_link"
19941 case "(($ac_try" in
19942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19943 *) ac_try_echo=$ac_try;;
19944 esac
19945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19946 (eval "$ac_link") 2>&5
19947 ac_status=$?
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19950 { (case "(($ac_try" in
19951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19952 *) ac_try_echo=$ac_try;;
19953 esac
19954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19955 (eval "$ac_try") 2>&5
19956 ac_status=$?
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); }; }; then
19959 ac_cv_sizeof_void_p=`cat conftest.val`
19960 else
19961 echo "$as_me: program exited with status $ac_status" >&5
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.$ac_ext >&5
19964
19965 ( exit $ac_status )
19966 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19967 See \`config.log' for more details." >&5
19968 echo "$as_me: error: cannot compute sizeof (void *)
19969 See \`config.log' for more details." >&2;}
19970 { (exit 77); exit 77; }; }
19971 fi
19972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19973 fi
19974 rm -f conftest.val
19975 else
19976 ac_cv_sizeof_void_p=0
19977 fi
19978 fi
19979 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19980 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19981 cat >>confdefs.h <<_ACEOF
19982 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19983 _ACEOF
19984
19985
19986 { echo "$as_me:$LINENO: checking for int" >&5
19987 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19988 if test "${ac_cv_type_int+set}" = set; then
19989 echo $ECHO_N "(cached) $ECHO_C" >&6
19990 else
19991 cat >conftest.$ac_ext <<_ACEOF
19992 /* confdefs.h. */
19993 _ACEOF
19994 cat confdefs.h >>conftest.$ac_ext
19995 cat >>conftest.$ac_ext <<_ACEOF
19996 /* end confdefs.h. */
19997 $ac_includes_default
19998 typedef int ac__type_new_;
19999 int
20000 main ()
20001 {
20002 if ((ac__type_new_ *) 0)
20003 return 0;
20004 if (sizeof (ac__type_new_))
20005 return 0;
20006 ;
20007 return 0;
20008 }
20009 _ACEOF
20010 rm -f conftest.$ac_objext
20011 if { (ac_try="$ac_compile"
20012 case "(($ac_try" in
20013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20014 *) ac_try_echo=$ac_try;;
20015 esac
20016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20017 (eval "$ac_compile") 2>conftest.er1
20018 ac_status=$?
20019 grep -v '^ *+' conftest.er1 >conftest.err
20020 rm -f conftest.er1
20021 cat conftest.err >&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); } &&
20024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20025 { (case "(($ac_try" in
20026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20027 *) ac_try_echo=$ac_try;;
20028 esac
20029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20030 (eval "$ac_try") 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try='test -s conftest.$ac_objext'
20035 { (case "(($ac_try" in
20036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20037 *) ac_try_echo=$ac_try;;
20038 esac
20039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20040 (eval "$ac_try") 2>&5
20041 ac_status=$?
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; }; then
20044 ac_cv_type_int=yes
20045 else
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.$ac_ext >&5
20048
20049 ac_cv_type_int=no
20050 fi
20051
20052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20053 fi
20054 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20055 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20056
20057 { echo "$as_me:$LINENO: checking size of int" >&5
20058 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20059 if test "${ac_cv_sizeof_int+set}" = set; then
20060 echo $ECHO_N "(cached) $ECHO_C" >&6
20061 else
20062 if test "$ac_cv_type_int" = yes; then
20063 # The cast to long int works around a bug in the HP C Compiler
20064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20066 # This bug is HP SR number 8606223364.
20067 if test "$cross_compiling" = yes; then
20068 # Depending upon the size, compute the lo and hi bounds.
20069 cat >conftest.$ac_ext <<_ACEOF
20070 /* confdefs.h. */
20071 _ACEOF
20072 cat confdefs.h >>conftest.$ac_ext
20073 cat >>conftest.$ac_ext <<_ACEOF
20074 /* end confdefs.h. */
20075 $ac_includes_default
20076 typedef int ac__type_sizeof_;
20077 int
20078 main ()
20079 {
20080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20081 test_array [0] = 0
20082
20083 ;
20084 return 0;
20085 }
20086 _ACEOF
20087 rm -f conftest.$ac_objext
20088 if { (ac_try="$ac_compile"
20089 case "(($ac_try" in
20090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20091 *) ac_try_echo=$ac_try;;
20092 esac
20093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20094 (eval "$ac_compile") 2>conftest.er1
20095 ac_status=$?
20096 grep -v '^ *+' conftest.er1 >conftest.err
20097 rm -f conftest.er1
20098 cat conftest.err >&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } &&
20101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20102 { (case "(($ac_try" in
20103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20104 *) ac_try_echo=$ac_try;;
20105 esac
20106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20107 (eval "$ac_try") 2>&5
20108 ac_status=$?
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; } &&
20111 { ac_try='test -s conftest.$ac_objext'
20112 { (case "(($ac_try" in
20113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20114 *) ac_try_echo=$ac_try;;
20115 esac
20116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20117 (eval "$ac_try") 2>&5
20118 ac_status=$?
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); }; }; then
20121 ac_lo=0 ac_mid=0
20122 while :; do
20123 cat >conftest.$ac_ext <<_ACEOF
20124 /* confdefs.h. */
20125 _ACEOF
20126 cat confdefs.h >>conftest.$ac_ext
20127 cat >>conftest.$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20129 $ac_includes_default
20130 typedef int ac__type_sizeof_;
20131 int
20132 main ()
20133 {
20134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20135 test_array [0] = 0
20136
20137 ;
20138 return 0;
20139 }
20140 _ACEOF
20141 rm -f conftest.$ac_objext
20142 if { (ac_try="$ac_compile"
20143 case "(($ac_try" in
20144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20145 *) ac_try_echo=$ac_try;;
20146 esac
20147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20148 (eval "$ac_compile") 2>conftest.er1
20149 ac_status=$?
20150 grep -v '^ *+' conftest.er1 >conftest.err
20151 rm -f conftest.er1
20152 cat conftest.err >&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } &&
20155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20156 { (case "(($ac_try" in
20157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20158 *) ac_try_echo=$ac_try;;
20159 esac
20160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20161 (eval "$ac_try") 2>&5
20162 ac_status=$?
20163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); }; } &&
20165 { ac_try='test -s conftest.$ac_objext'
20166 { (case "(($ac_try" in
20167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20168 *) ac_try_echo=$ac_try;;
20169 esac
20170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20171 (eval "$ac_try") 2>&5
20172 ac_status=$?
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); }; }; then
20175 ac_hi=$ac_mid; break
20176 else
20177 echo "$as_me: failed program was:" >&5
20178 sed 's/^/| /' conftest.$ac_ext >&5
20179
20180 ac_lo=`expr $ac_mid + 1`
20181 if test $ac_lo -le $ac_mid; then
20182 ac_lo= ac_hi=
20183 break
20184 fi
20185 ac_mid=`expr 2 '*' $ac_mid + 1`
20186 fi
20187
20188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20189 done
20190 else
20191 echo "$as_me: failed program was:" >&5
20192 sed 's/^/| /' conftest.$ac_ext >&5
20193
20194 cat >conftest.$ac_ext <<_ACEOF
20195 /* confdefs.h. */
20196 _ACEOF
20197 cat confdefs.h >>conftest.$ac_ext
20198 cat >>conftest.$ac_ext <<_ACEOF
20199 /* end confdefs.h. */
20200 $ac_includes_default
20201 typedef int ac__type_sizeof_;
20202 int
20203 main ()
20204 {
20205 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20206 test_array [0] = 0
20207
20208 ;
20209 return 0;
20210 }
20211 _ACEOF
20212 rm -f conftest.$ac_objext
20213 if { (ac_try="$ac_compile"
20214 case "(($ac_try" in
20215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20216 *) ac_try_echo=$ac_try;;
20217 esac
20218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20219 (eval "$ac_compile") 2>conftest.er1
20220 ac_status=$?
20221 grep -v '^ *+' conftest.er1 >conftest.err
20222 rm -f conftest.er1
20223 cat conftest.err >&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); } &&
20226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20227 { (case "(($ac_try" in
20228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20229 *) ac_try_echo=$ac_try;;
20230 esac
20231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20232 (eval "$ac_try") 2>&5
20233 ac_status=$?
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); }; } &&
20236 { ac_try='test -s conftest.$ac_objext'
20237 { (case "(($ac_try" in
20238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20239 *) ac_try_echo=$ac_try;;
20240 esac
20241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20242 (eval "$ac_try") 2>&5
20243 ac_status=$?
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; }; then
20246 ac_hi=-1 ac_mid=-1
20247 while :; do
20248 cat >conftest.$ac_ext <<_ACEOF
20249 /* confdefs.h. */
20250 _ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 $ac_includes_default
20255 typedef int ac__type_sizeof_;
20256 int
20257 main ()
20258 {
20259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20260 test_array [0] = 0
20261
20262 ;
20263 return 0;
20264 }
20265 _ACEOF
20266 rm -f conftest.$ac_objext
20267 if { (ac_try="$ac_compile"
20268 case "(($ac_try" in
20269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20270 *) ac_try_echo=$ac_try;;
20271 esac
20272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20273 (eval "$ac_compile") 2>conftest.er1
20274 ac_status=$?
20275 grep -v '^ *+' conftest.er1 >conftest.err
20276 rm -f conftest.er1
20277 cat conftest.err >&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } &&
20280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20281 { (case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20283 *) ac_try_echo=$ac_try;;
20284 esac
20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_try") 2>&5
20287 ac_status=$?
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); }; } &&
20290 { ac_try='test -s conftest.$ac_objext'
20291 { (case "(($ac_try" in
20292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20293 *) ac_try_echo=$ac_try;;
20294 esac
20295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20296 (eval "$ac_try") 2>&5
20297 ac_status=$?
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; }; then
20300 ac_lo=$ac_mid; break
20301 else
20302 echo "$as_me: failed program was:" >&5
20303 sed 's/^/| /' conftest.$ac_ext >&5
20304
20305 ac_hi=`expr '(' $ac_mid ')' - 1`
20306 if test $ac_mid -le $ac_hi; then
20307 ac_lo= ac_hi=
20308 break
20309 fi
20310 ac_mid=`expr 2 '*' $ac_mid`
20311 fi
20312
20313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20314 done
20315 else
20316 echo "$as_me: failed program was:" >&5
20317 sed 's/^/| /' conftest.$ac_ext >&5
20318
20319 ac_lo= ac_hi=
20320 fi
20321
20322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20323 fi
20324
20325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20326 # Binary search between lo and hi bounds.
20327 while test "x$ac_lo" != "x$ac_hi"; do
20328 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20329 cat >conftest.$ac_ext <<_ACEOF
20330 /* confdefs.h. */
20331 _ACEOF
20332 cat confdefs.h >>conftest.$ac_ext
20333 cat >>conftest.$ac_ext <<_ACEOF
20334 /* end confdefs.h. */
20335 $ac_includes_default
20336 typedef int ac__type_sizeof_;
20337 int
20338 main ()
20339 {
20340 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20341 test_array [0] = 0
20342
20343 ;
20344 return 0;
20345 }
20346 _ACEOF
20347 rm -f conftest.$ac_objext
20348 if { (ac_try="$ac_compile"
20349 case "(($ac_try" in
20350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20351 *) ac_try_echo=$ac_try;;
20352 esac
20353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20354 (eval "$ac_compile") 2>conftest.er1
20355 ac_status=$?
20356 grep -v '^ *+' conftest.er1 >conftest.err
20357 rm -f conftest.er1
20358 cat conftest.err >&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); } &&
20361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20362 { (case "(($ac_try" in
20363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20364 *) ac_try_echo=$ac_try;;
20365 esac
20366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20367 (eval "$ac_try") 2>&5
20368 ac_status=$?
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); }; } &&
20371 { ac_try='test -s conftest.$ac_objext'
20372 { (case "(($ac_try" in
20373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20374 *) ac_try_echo=$ac_try;;
20375 esac
20376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20377 (eval "$ac_try") 2>&5
20378 ac_status=$?
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; }; then
20381 ac_hi=$ac_mid
20382 else
20383 echo "$as_me: failed program was:" >&5
20384 sed 's/^/| /' conftest.$ac_ext >&5
20385
20386 ac_lo=`expr '(' $ac_mid ')' + 1`
20387 fi
20388
20389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20390 done
20391 case $ac_lo in
20392 ?*) ac_cv_sizeof_int=$ac_lo;;
20393 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20394 See \`config.log' for more details." >&5
20395 echo "$as_me: error: cannot compute sizeof (int)
20396 See \`config.log' for more details." >&2;}
20397 { (exit 77); exit 77; }; } ;;
20398 esac
20399 else
20400 cat >conftest.$ac_ext <<_ACEOF
20401 /* confdefs.h. */
20402 _ACEOF
20403 cat confdefs.h >>conftest.$ac_ext
20404 cat >>conftest.$ac_ext <<_ACEOF
20405 /* end confdefs.h. */
20406 $ac_includes_default
20407 typedef int ac__type_sizeof_;
20408 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20409 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20410 #include <stdio.h>
20411 #include <stdlib.h>
20412 int
20413 main ()
20414 {
20415
20416 FILE *f = fopen ("conftest.val", "w");
20417 if (! f)
20418 return 1;
20419 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20420 {
20421 long int i = longval ();
20422 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20423 return 1;
20424 fprintf (f, "%ld\n", i);
20425 }
20426 else
20427 {
20428 unsigned long int i = ulongval ();
20429 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20430 return 1;
20431 fprintf (f, "%lu\n", i);
20432 }
20433 return ferror (f) || fclose (f) != 0;
20434
20435 ;
20436 return 0;
20437 }
20438 _ACEOF
20439 rm -f conftest$ac_exeext
20440 if { (ac_try="$ac_link"
20441 case "(($ac_try" in
20442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20443 *) ac_try_echo=$ac_try;;
20444 esac
20445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20446 (eval "$ac_link") 2>&5
20447 ac_status=$?
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20450 { (case "(($ac_try" in
20451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20452 *) ac_try_echo=$ac_try;;
20453 esac
20454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20455 (eval "$ac_try") 2>&5
20456 ac_status=$?
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); }; }; then
20459 ac_cv_sizeof_int=`cat conftest.val`
20460 else
20461 echo "$as_me: program exited with status $ac_status" >&5
20462 echo "$as_me: failed program was:" >&5
20463 sed 's/^/| /' conftest.$ac_ext >&5
20464
20465 ( exit $ac_status )
20466 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20467 See \`config.log' for more details." >&5
20468 echo "$as_me: error: cannot compute sizeof (int)
20469 See \`config.log' for more details." >&2;}
20470 { (exit 77); exit 77; }; }
20471 fi
20472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20473 fi
20474 rm -f conftest.val
20475 else
20476 ac_cv_sizeof_int=0
20477 fi
20478 fi
20479 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20480 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20481 cat >>confdefs.h <<_ACEOF
20482 #define SIZEOF_INT $ac_cv_sizeof_int
20483 _ACEOF
20484
20485
20486 { echo "$as_me:$LINENO: checking for long" >&5
20487 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20488 if test "${ac_cv_type_long+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20490 else
20491 cat >conftest.$ac_ext <<_ACEOF
20492 /* confdefs.h. */
20493 _ACEOF
20494 cat confdefs.h >>conftest.$ac_ext
20495 cat >>conftest.$ac_ext <<_ACEOF
20496 /* end confdefs.h. */
20497 $ac_includes_default
20498 typedef long ac__type_new_;
20499 int
20500 main ()
20501 {
20502 if ((ac__type_new_ *) 0)
20503 return 0;
20504 if (sizeof (ac__type_new_))
20505 return 0;
20506 ;
20507 return 0;
20508 }
20509 _ACEOF
20510 rm -f conftest.$ac_objext
20511 if { (ac_try="$ac_compile"
20512 case "(($ac_try" in
20513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20514 *) ac_try_echo=$ac_try;;
20515 esac
20516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20517 (eval "$ac_compile") 2>conftest.er1
20518 ac_status=$?
20519 grep -v '^ *+' conftest.er1 >conftest.err
20520 rm -f conftest.er1
20521 cat conftest.err >&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } &&
20524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20525 { (case "(($ac_try" in
20526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20527 *) ac_try_echo=$ac_try;;
20528 esac
20529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20530 (eval "$ac_try") 2>&5
20531 ac_status=$?
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); }; } &&
20534 { ac_try='test -s conftest.$ac_objext'
20535 { (case "(($ac_try" in
20536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20537 *) ac_try_echo=$ac_try;;
20538 esac
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_try") 2>&5
20541 ac_status=$?
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; }; then
20544 ac_cv_type_long=yes
20545 else
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.$ac_ext >&5
20548
20549 ac_cv_type_long=no
20550 fi
20551
20552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20553 fi
20554 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20555 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20556
20557 { echo "$as_me:$LINENO: checking size of long" >&5
20558 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20559 if test "${ac_cv_sizeof_long+set}" = set; then
20560 echo $ECHO_N "(cached) $ECHO_C" >&6
20561 else
20562 if test "$ac_cv_type_long" = yes; then
20563 # The cast to long int works around a bug in the HP C Compiler
20564 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20565 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20566 # This bug is HP SR number 8606223364.
20567 if test "$cross_compiling" = yes; then
20568 # Depending upon the size, compute the lo and hi bounds.
20569 cat >conftest.$ac_ext <<_ACEOF
20570 /* confdefs.h. */
20571 _ACEOF
20572 cat confdefs.h >>conftest.$ac_ext
20573 cat >>conftest.$ac_ext <<_ACEOF
20574 /* end confdefs.h. */
20575 $ac_includes_default
20576 typedef long ac__type_sizeof_;
20577 int
20578 main ()
20579 {
20580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20581 test_array [0] = 0
20582
20583 ;
20584 return 0;
20585 }
20586 _ACEOF
20587 rm -f conftest.$ac_objext
20588 if { (ac_try="$ac_compile"
20589 case "(($ac_try" in
20590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20591 *) ac_try_echo=$ac_try;;
20592 esac
20593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20594 (eval "$ac_compile") 2>conftest.er1
20595 ac_status=$?
20596 grep -v '^ *+' conftest.er1 >conftest.err
20597 rm -f conftest.er1
20598 cat conftest.err >&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } &&
20601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20602 { (case "(($ac_try" in
20603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20604 *) ac_try_echo=$ac_try;;
20605 esac
20606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20607 (eval "$ac_try") 2>&5
20608 ac_status=$?
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); }; } &&
20611 { ac_try='test -s conftest.$ac_objext'
20612 { (case "(($ac_try" in
20613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20614 *) ac_try_echo=$ac_try;;
20615 esac
20616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20617 (eval "$ac_try") 2>&5
20618 ac_status=$?
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; }; then
20621 ac_lo=0 ac_mid=0
20622 while :; do
20623 cat >conftest.$ac_ext <<_ACEOF
20624 /* confdefs.h. */
20625 _ACEOF
20626 cat confdefs.h >>conftest.$ac_ext
20627 cat >>conftest.$ac_ext <<_ACEOF
20628 /* end confdefs.h. */
20629 $ac_includes_default
20630 typedef long ac__type_sizeof_;
20631 int
20632 main ()
20633 {
20634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20635 test_array [0] = 0
20636
20637 ;
20638 return 0;
20639 }
20640 _ACEOF
20641 rm -f conftest.$ac_objext
20642 if { (ac_try="$ac_compile"
20643 case "(($ac_try" in
20644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20645 *) ac_try_echo=$ac_try;;
20646 esac
20647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20648 (eval "$ac_compile") 2>conftest.er1
20649 ac_status=$?
20650 grep -v '^ *+' conftest.er1 >conftest.err
20651 rm -f conftest.er1
20652 cat conftest.err >&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); } &&
20655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20656 { (case "(($ac_try" in
20657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20658 *) ac_try_echo=$ac_try;;
20659 esac
20660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20661 (eval "$ac_try") 2>&5
20662 ac_status=$?
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); }; } &&
20665 { ac_try='test -s conftest.$ac_objext'
20666 { (case "(($ac_try" in
20667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20668 *) ac_try_echo=$ac_try;;
20669 esac
20670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20671 (eval "$ac_try") 2>&5
20672 ac_status=$?
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; }; then
20675 ac_hi=$ac_mid; break
20676 else
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20679
20680 ac_lo=`expr $ac_mid + 1`
20681 if test $ac_lo -le $ac_mid; then
20682 ac_lo= ac_hi=
20683 break
20684 fi
20685 ac_mid=`expr 2 '*' $ac_mid + 1`
20686 fi
20687
20688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20689 done
20690 else
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.$ac_ext >&5
20693
20694 cat >conftest.$ac_ext <<_ACEOF
20695 /* confdefs.h. */
20696 _ACEOF
20697 cat confdefs.h >>conftest.$ac_ext
20698 cat >>conftest.$ac_ext <<_ACEOF
20699 /* end confdefs.h. */
20700 $ac_includes_default
20701 typedef long ac__type_sizeof_;
20702 int
20703 main ()
20704 {
20705 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20706 test_array [0] = 0
20707
20708 ;
20709 return 0;
20710 }
20711 _ACEOF
20712 rm -f conftest.$ac_objext
20713 if { (ac_try="$ac_compile"
20714 case "(($ac_try" in
20715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20716 *) ac_try_echo=$ac_try;;
20717 esac
20718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20719 (eval "$ac_compile") 2>conftest.er1
20720 ac_status=$?
20721 grep -v '^ *+' conftest.er1 >conftest.err
20722 rm -f conftest.er1
20723 cat conftest.err >&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); } &&
20726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20727 { (case "(($ac_try" in
20728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20729 *) ac_try_echo=$ac_try;;
20730 esac
20731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20732 (eval "$ac_try") 2>&5
20733 ac_status=$?
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); }; } &&
20736 { ac_try='test -s conftest.$ac_objext'
20737 { (case "(($ac_try" in
20738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20739 *) ac_try_echo=$ac_try;;
20740 esac
20741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20742 (eval "$ac_try") 2>&5
20743 ac_status=$?
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); }; }; then
20746 ac_hi=-1 ac_mid=-1
20747 while :; do
20748 cat >conftest.$ac_ext <<_ACEOF
20749 /* confdefs.h. */
20750 _ACEOF
20751 cat confdefs.h >>conftest.$ac_ext
20752 cat >>conftest.$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20754 $ac_includes_default
20755 typedef long ac__type_sizeof_;
20756 int
20757 main ()
20758 {
20759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20760 test_array [0] = 0
20761
20762 ;
20763 return 0;
20764 }
20765 _ACEOF
20766 rm -f conftest.$ac_objext
20767 if { (ac_try="$ac_compile"
20768 case "(($ac_try" in
20769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20770 *) ac_try_echo=$ac_try;;
20771 esac
20772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20773 (eval "$ac_compile") 2>conftest.er1
20774 ac_status=$?
20775 grep -v '^ *+' conftest.er1 >conftest.err
20776 rm -f conftest.er1
20777 cat conftest.err >&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); } &&
20780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20781 { (case "(($ac_try" in
20782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20783 *) ac_try_echo=$ac_try;;
20784 esac
20785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20786 (eval "$ac_try") 2>&5
20787 ac_status=$?
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); }; } &&
20790 { ac_try='test -s conftest.$ac_objext'
20791 { (case "(($ac_try" in
20792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20793 *) ac_try_echo=$ac_try;;
20794 esac
20795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20796 (eval "$ac_try") 2>&5
20797 ac_status=$?
20798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20799 (exit $ac_status); }; }; then
20800 ac_lo=$ac_mid; break
20801 else
20802 echo "$as_me: failed program was:" >&5
20803 sed 's/^/| /' conftest.$ac_ext >&5
20804
20805 ac_hi=`expr '(' $ac_mid ')' - 1`
20806 if test $ac_mid -le $ac_hi; then
20807 ac_lo= ac_hi=
20808 break
20809 fi
20810 ac_mid=`expr 2 '*' $ac_mid`
20811 fi
20812
20813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20814 done
20815 else
20816 echo "$as_me: failed program was:" >&5
20817 sed 's/^/| /' conftest.$ac_ext >&5
20818
20819 ac_lo= ac_hi=
20820 fi
20821
20822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20823 fi
20824
20825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20826 # Binary search between lo and hi bounds.
20827 while test "x$ac_lo" != "x$ac_hi"; do
20828 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20829 cat >conftest.$ac_ext <<_ACEOF
20830 /* confdefs.h. */
20831 _ACEOF
20832 cat confdefs.h >>conftest.$ac_ext
20833 cat >>conftest.$ac_ext <<_ACEOF
20834 /* end confdefs.h. */
20835 $ac_includes_default
20836 typedef long ac__type_sizeof_;
20837 int
20838 main ()
20839 {
20840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20841 test_array [0] = 0
20842
20843 ;
20844 return 0;
20845 }
20846 _ACEOF
20847 rm -f conftest.$ac_objext
20848 if { (ac_try="$ac_compile"
20849 case "(($ac_try" in
20850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20851 *) ac_try_echo=$ac_try;;
20852 esac
20853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20854 (eval "$ac_compile") 2>conftest.er1
20855 ac_status=$?
20856 grep -v '^ *+' conftest.er1 >conftest.err
20857 rm -f conftest.er1
20858 cat conftest.err >&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); } &&
20861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20862 { (case "(($ac_try" in
20863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20864 *) ac_try_echo=$ac_try;;
20865 esac
20866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20867 (eval "$ac_try") 2>&5
20868 ac_status=$?
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; } &&
20871 { ac_try='test -s conftest.$ac_objext'
20872 { (case "(($ac_try" in
20873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20874 *) ac_try_echo=$ac_try;;
20875 esac
20876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20877 (eval "$ac_try") 2>&5
20878 ac_status=$?
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); }; }; then
20881 ac_hi=$ac_mid
20882 else
20883 echo "$as_me: failed program was:" >&5
20884 sed 's/^/| /' conftest.$ac_ext >&5
20885
20886 ac_lo=`expr '(' $ac_mid ')' + 1`
20887 fi
20888
20889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20890 done
20891 case $ac_lo in
20892 ?*) ac_cv_sizeof_long=$ac_lo;;
20893 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20894 See \`config.log' for more details." >&5
20895 echo "$as_me: error: cannot compute sizeof (long)
20896 See \`config.log' for more details." >&2;}
20897 { (exit 77); exit 77; }; } ;;
20898 esac
20899 else
20900 cat >conftest.$ac_ext <<_ACEOF
20901 /* confdefs.h. */
20902 _ACEOF
20903 cat confdefs.h >>conftest.$ac_ext
20904 cat >>conftest.$ac_ext <<_ACEOF
20905 /* end confdefs.h. */
20906 $ac_includes_default
20907 typedef long ac__type_sizeof_;
20908 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20909 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20910 #include <stdio.h>
20911 #include <stdlib.h>
20912 int
20913 main ()
20914 {
20915
20916 FILE *f = fopen ("conftest.val", "w");
20917 if (! f)
20918 return 1;
20919 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20920 {
20921 long int i = longval ();
20922 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20923 return 1;
20924 fprintf (f, "%ld\n", i);
20925 }
20926 else
20927 {
20928 unsigned long int i = ulongval ();
20929 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20930 return 1;
20931 fprintf (f, "%lu\n", i);
20932 }
20933 return ferror (f) || fclose (f) != 0;
20934
20935 ;
20936 return 0;
20937 }
20938 _ACEOF
20939 rm -f conftest$ac_exeext
20940 if { (ac_try="$ac_link"
20941 case "(($ac_try" in
20942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20943 *) ac_try_echo=$ac_try;;
20944 esac
20945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20946 (eval "$ac_link") 2>&5
20947 ac_status=$?
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20950 { (case "(($ac_try" in
20951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20952 *) ac_try_echo=$ac_try;;
20953 esac
20954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20955 (eval "$ac_try") 2>&5
20956 ac_status=$?
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; }; then
20959 ac_cv_sizeof_long=`cat conftest.val`
20960 else
20961 echo "$as_me: program exited with status $ac_status" >&5
20962 echo "$as_me: failed program was:" >&5
20963 sed 's/^/| /' conftest.$ac_ext >&5
20964
20965 ( exit $ac_status )
20966 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20967 See \`config.log' for more details." >&5
20968 echo "$as_me: error: cannot compute sizeof (long)
20969 See \`config.log' for more details." >&2;}
20970 { (exit 77); exit 77; }; }
20971 fi
20972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20973 fi
20974 rm -f conftest.val
20975 else
20976 ac_cv_sizeof_long=0
20977 fi
20978 fi
20979 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20980 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20981 cat >>confdefs.h <<_ACEOF
20982 #define SIZEOF_LONG $ac_cv_sizeof_long
20983 _ACEOF
20984
20985
20986 { echo "$as_me:$LINENO: checking for size_t" >&5
20987 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20988 if test "${ac_cv_type_size_t+set}" = set; then
20989 echo $ECHO_N "(cached) $ECHO_C" >&6
20990 else
20991 cat >conftest.$ac_ext <<_ACEOF
20992 /* confdefs.h. */
20993 _ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 $ac_includes_default
20998 typedef size_t ac__type_new_;
20999 int
21000 main ()
21001 {
21002 if ((ac__type_new_ *) 0)
21003 return 0;
21004 if (sizeof (ac__type_new_))
21005 return 0;
21006 ;
21007 return 0;
21008 }
21009 _ACEOF
21010 rm -f conftest.$ac_objext
21011 if { (ac_try="$ac_compile"
21012 case "(($ac_try" in
21013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21014 *) ac_try_echo=$ac_try;;
21015 esac
21016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21017 (eval "$ac_compile") 2>conftest.er1
21018 ac_status=$?
21019 grep -v '^ *+' conftest.er1 >conftest.err
21020 rm -f conftest.er1
21021 cat conftest.err >&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } &&
21024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21025 { (case "(($ac_try" in
21026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21027 *) ac_try_echo=$ac_try;;
21028 esac
21029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21030 (eval "$ac_try") 2>&5
21031 ac_status=$?
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; } &&
21034 { ac_try='test -s conftest.$ac_objext'
21035 { (case "(($ac_try" in
21036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21037 *) ac_try_echo=$ac_try;;
21038 esac
21039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21040 (eval "$ac_try") 2>&5
21041 ac_status=$?
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; }; then
21044 ac_cv_type_size_t=yes
21045 else
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.$ac_ext >&5
21048
21049 ac_cv_type_size_t=no
21050 fi
21051
21052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21053 fi
21054 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21055 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21056
21057 { echo "$as_me:$LINENO: checking size of size_t" >&5
21058 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21059 if test "${ac_cv_sizeof_size_t+set}" = set; then
21060 echo $ECHO_N "(cached) $ECHO_C" >&6
21061 else
21062 if test "$ac_cv_type_size_t" = yes; then
21063 # The cast to long int works around a bug in the HP C Compiler
21064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21066 # This bug is HP SR number 8606223364.
21067 if test "$cross_compiling" = yes; then
21068 # Depending upon the size, compute the lo and hi bounds.
21069 cat >conftest.$ac_ext <<_ACEOF
21070 /* confdefs.h. */
21071 _ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075 $ac_includes_default
21076 typedef size_t ac__type_sizeof_;
21077 int
21078 main ()
21079 {
21080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21081 test_array [0] = 0
21082
21083 ;
21084 return 0;
21085 }
21086 _ACEOF
21087 rm -f conftest.$ac_objext
21088 if { (ac_try="$ac_compile"
21089 case "(($ac_try" in
21090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21091 *) ac_try_echo=$ac_try;;
21092 esac
21093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21094 (eval "$ac_compile") 2>conftest.er1
21095 ac_status=$?
21096 grep -v '^ *+' conftest.er1 >conftest.err
21097 rm -f conftest.er1
21098 cat conftest.err >&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); } &&
21101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21102 { (case "(($ac_try" in
21103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21104 *) ac_try_echo=$ac_try;;
21105 esac
21106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21107 (eval "$ac_try") 2>&5
21108 ac_status=$?
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); }; } &&
21111 { ac_try='test -s conftest.$ac_objext'
21112 { (case "(($ac_try" in
21113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21114 *) ac_try_echo=$ac_try;;
21115 esac
21116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21117 (eval "$ac_try") 2>&5
21118 ac_status=$?
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); }; }; then
21121 ac_lo=0 ac_mid=0
21122 while :; do
21123 cat >conftest.$ac_ext <<_ACEOF
21124 /* confdefs.h. */
21125 _ACEOF
21126 cat confdefs.h >>conftest.$ac_ext
21127 cat >>conftest.$ac_ext <<_ACEOF
21128 /* end confdefs.h. */
21129 $ac_includes_default
21130 typedef size_t ac__type_sizeof_;
21131 int
21132 main ()
21133 {
21134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21135 test_array [0] = 0
21136
21137 ;
21138 return 0;
21139 }
21140 _ACEOF
21141 rm -f conftest.$ac_objext
21142 if { (ac_try="$ac_compile"
21143 case "(($ac_try" in
21144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21145 *) ac_try_echo=$ac_try;;
21146 esac
21147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21148 (eval "$ac_compile") 2>conftest.er1
21149 ac_status=$?
21150 grep -v '^ *+' conftest.er1 >conftest.err
21151 rm -f conftest.er1
21152 cat conftest.err >&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); } &&
21155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21156 { (case "(($ac_try" in
21157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21158 *) ac_try_echo=$ac_try;;
21159 esac
21160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21161 (eval "$ac_try") 2>&5
21162 ac_status=$?
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); }; } &&
21165 { ac_try='test -s conftest.$ac_objext'
21166 { (case "(($ac_try" in
21167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21168 *) ac_try_echo=$ac_try;;
21169 esac
21170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21171 (eval "$ac_try") 2>&5
21172 ac_status=$?
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); }; }; then
21175 ac_hi=$ac_mid; break
21176 else
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.$ac_ext >&5
21179
21180 ac_lo=`expr $ac_mid + 1`
21181 if test $ac_lo -le $ac_mid; then
21182 ac_lo= ac_hi=
21183 break
21184 fi
21185 ac_mid=`expr 2 '*' $ac_mid + 1`
21186 fi
21187
21188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21189 done
21190 else
21191 echo "$as_me: failed program was:" >&5
21192 sed 's/^/| /' conftest.$ac_ext >&5
21193
21194 cat >conftest.$ac_ext <<_ACEOF
21195 /* confdefs.h. */
21196 _ACEOF
21197 cat confdefs.h >>conftest.$ac_ext
21198 cat >>conftest.$ac_ext <<_ACEOF
21199 /* end confdefs.h. */
21200 $ac_includes_default
21201 typedef size_t ac__type_sizeof_;
21202 int
21203 main ()
21204 {
21205 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21206 test_array [0] = 0
21207
21208 ;
21209 return 0;
21210 }
21211 _ACEOF
21212 rm -f conftest.$ac_objext
21213 if { (ac_try="$ac_compile"
21214 case "(($ac_try" in
21215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21216 *) ac_try_echo=$ac_try;;
21217 esac
21218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21219 (eval "$ac_compile") 2>conftest.er1
21220 ac_status=$?
21221 grep -v '^ *+' conftest.er1 >conftest.err
21222 rm -f conftest.er1
21223 cat conftest.err >&5
21224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225 (exit $ac_status); } &&
21226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21227 { (case "(($ac_try" in
21228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229 *) ac_try_echo=$ac_try;;
21230 esac
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_try") 2>&5
21233 ac_status=$?
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; } &&
21236 { ac_try='test -s conftest.$ac_objext'
21237 { (case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21240 esac
21241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_try") 2>&5
21243 ac_status=$?
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); }; }; then
21246 ac_hi=-1 ac_mid=-1
21247 while :; do
21248 cat >conftest.$ac_ext <<_ACEOF
21249 /* confdefs.h. */
21250 _ACEOF
21251 cat confdefs.h >>conftest.$ac_ext
21252 cat >>conftest.$ac_ext <<_ACEOF
21253 /* end confdefs.h. */
21254 $ac_includes_default
21255 typedef size_t ac__type_sizeof_;
21256 int
21257 main ()
21258 {
21259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21260 test_array [0] = 0
21261
21262 ;
21263 return 0;
21264 }
21265 _ACEOF
21266 rm -f conftest.$ac_objext
21267 if { (ac_try="$ac_compile"
21268 case "(($ac_try" in
21269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21270 *) ac_try_echo=$ac_try;;
21271 esac
21272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21273 (eval "$ac_compile") 2>conftest.er1
21274 ac_status=$?
21275 grep -v '^ *+' conftest.er1 >conftest.err
21276 rm -f conftest.er1
21277 cat conftest.err >&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); } &&
21280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21281 { (case "(($ac_try" in
21282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21283 *) ac_try_echo=$ac_try;;
21284 esac
21285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21286 (eval "$ac_try") 2>&5
21287 ac_status=$?
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); }; } &&
21290 { ac_try='test -s conftest.$ac_objext'
21291 { (case "(($ac_try" in
21292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21293 *) ac_try_echo=$ac_try;;
21294 esac
21295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21296 (eval "$ac_try") 2>&5
21297 ac_status=$?
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; }; then
21300 ac_lo=$ac_mid; break
21301 else
21302 echo "$as_me: failed program was:" >&5
21303 sed 's/^/| /' conftest.$ac_ext >&5
21304
21305 ac_hi=`expr '(' $ac_mid ')' - 1`
21306 if test $ac_mid -le $ac_hi; then
21307 ac_lo= ac_hi=
21308 break
21309 fi
21310 ac_mid=`expr 2 '*' $ac_mid`
21311 fi
21312
21313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21314 done
21315 else
21316 echo "$as_me: failed program was:" >&5
21317 sed 's/^/| /' conftest.$ac_ext >&5
21318
21319 ac_lo= ac_hi=
21320 fi
21321
21322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21323 fi
21324
21325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21326 # Binary search between lo and hi bounds.
21327 while test "x$ac_lo" != "x$ac_hi"; do
21328 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21329 cat >conftest.$ac_ext <<_ACEOF
21330 /* confdefs.h. */
21331 _ACEOF
21332 cat confdefs.h >>conftest.$ac_ext
21333 cat >>conftest.$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21335 $ac_includes_default
21336 typedef size_t ac__type_sizeof_;
21337 int
21338 main ()
21339 {
21340 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21341 test_array [0] = 0
21342
21343 ;
21344 return 0;
21345 }
21346 _ACEOF
21347 rm -f conftest.$ac_objext
21348 if { (ac_try="$ac_compile"
21349 case "(($ac_try" in
21350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21351 *) ac_try_echo=$ac_try;;
21352 esac
21353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21354 (eval "$ac_compile") 2>conftest.er1
21355 ac_status=$?
21356 grep -v '^ *+' conftest.er1 >conftest.err
21357 rm -f conftest.er1
21358 cat conftest.err >&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); } &&
21361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21362 { (case "(($ac_try" in
21363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21364 *) ac_try_echo=$ac_try;;
21365 esac
21366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21367 (eval "$ac_try") 2>&5
21368 ac_status=$?
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; } &&
21371 { ac_try='test -s conftest.$ac_objext'
21372 { (case "(($ac_try" in
21373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21374 *) ac_try_echo=$ac_try;;
21375 esac
21376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21377 (eval "$ac_try") 2>&5
21378 ac_status=$?
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; }; then
21381 ac_hi=$ac_mid
21382 else
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.$ac_ext >&5
21385
21386 ac_lo=`expr '(' $ac_mid ')' + 1`
21387 fi
21388
21389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21390 done
21391 case $ac_lo in
21392 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21393 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21394 See \`config.log' for more details." >&5
21395 echo "$as_me: error: cannot compute sizeof (size_t)
21396 See \`config.log' for more details." >&2;}
21397 { (exit 77); exit 77; }; } ;;
21398 esac
21399 else
21400 cat >conftest.$ac_ext <<_ACEOF
21401 /* confdefs.h. */
21402 _ACEOF
21403 cat confdefs.h >>conftest.$ac_ext
21404 cat >>conftest.$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21406 $ac_includes_default
21407 typedef size_t ac__type_sizeof_;
21408 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21409 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21410 #include <stdio.h>
21411 #include <stdlib.h>
21412 int
21413 main ()
21414 {
21415
21416 FILE *f = fopen ("conftest.val", "w");
21417 if (! f)
21418 return 1;
21419 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21420 {
21421 long int i = longval ();
21422 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21423 return 1;
21424 fprintf (f, "%ld\n", i);
21425 }
21426 else
21427 {
21428 unsigned long int i = ulongval ();
21429 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21430 return 1;
21431 fprintf (f, "%lu\n", i);
21432 }
21433 return ferror (f) || fclose (f) != 0;
21434
21435 ;
21436 return 0;
21437 }
21438 _ACEOF
21439 rm -f conftest$ac_exeext
21440 if { (ac_try="$ac_link"
21441 case "(($ac_try" in
21442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21443 *) ac_try_echo=$ac_try;;
21444 esac
21445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21446 (eval "$ac_link") 2>&5
21447 ac_status=$?
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21450 { (case "(($ac_try" in
21451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21452 *) ac_try_echo=$ac_try;;
21453 esac
21454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21455 (eval "$ac_try") 2>&5
21456 ac_status=$?
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); }; }; then
21459 ac_cv_sizeof_size_t=`cat conftest.val`
21460 else
21461 echo "$as_me: program exited with status $ac_status" >&5
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.$ac_ext >&5
21464
21465 ( exit $ac_status )
21466 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21467 See \`config.log' for more details." >&5
21468 echo "$as_me: error: cannot compute sizeof (size_t)
21469 See \`config.log' for more details." >&2;}
21470 { (exit 77); exit 77; }; }
21471 fi
21472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21473 fi
21474 rm -f conftest.val
21475 else
21476 ac_cv_sizeof_size_t=0
21477 fi
21478 fi
21479 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21480 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21481 cat >>confdefs.h <<_ACEOF
21482 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21483 _ACEOF
21484
21485
21486
21487 case "${host}" in
21488 arm-*-linux* )
21489 { echo "$as_me:$LINENO: checking for long long" >&5
21490 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21491 if test "${ac_cv_type_long_long+set}" = set; then
21492 echo $ECHO_N "(cached) $ECHO_C" >&6
21493 else
21494 cat >conftest.$ac_ext <<_ACEOF
21495 /* confdefs.h. */
21496 _ACEOF
21497 cat confdefs.h >>conftest.$ac_ext
21498 cat >>conftest.$ac_ext <<_ACEOF
21499 /* end confdefs.h. */
21500 $ac_includes_default
21501 typedef long long ac__type_new_;
21502 int
21503 main ()
21504 {
21505 if ((ac__type_new_ *) 0)
21506 return 0;
21507 if (sizeof (ac__type_new_))
21508 return 0;
21509 ;
21510 return 0;
21511 }
21512 _ACEOF
21513 rm -f conftest.$ac_objext
21514 if { (ac_try="$ac_compile"
21515 case "(($ac_try" in
21516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21517 *) ac_try_echo=$ac_try;;
21518 esac
21519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21520 (eval "$ac_compile") 2>conftest.er1
21521 ac_status=$?
21522 grep -v '^ *+' conftest.er1 >conftest.err
21523 rm -f conftest.er1
21524 cat conftest.err >&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); } &&
21527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21528 { (case "(($ac_try" in
21529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21530 *) ac_try_echo=$ac_try;;
21531 esac
21532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21533 (eval "$ac_try") 2>&5
21534 ac_status=$?
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; } &&
21537 { ac_try='test -s conftest.$ac_objext'
21538 { (case "(($ac_try" in
21539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21540 *) ac_try_echo=$ac_try;;
21541 esac
21542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21543 (eval "$ac_try") 2>&5
21544 ac_status=$?
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); }; }; then
21547 ac_cv_type_long_long=yes
21548 else
21549 echo "$as_me: failed program was:" >&5
21550 sed 's/^/| /' conftest.$ac_ext >&5
21551
21552 ac_cv_type_long_long=no
21553 fi
21554
21555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21556 fi
21557 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21558 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21559
21560 { echo "$as_me:$LINENO: checking size of long long" >&5
21561 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21562 if test "${ac_cv_sizeof_long_long+set}" = set; then
21563 echo $ECHO_N "(cached) $ECHO_C" >&6
21564 else
21565 if test "$ac_cv_type_long_long" = yes; then
21566 # The cast to long int works around a bug in the HP C Compiler
21567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21568 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21569 # This bug is HP SR number 8606223364.
21570 if test "$cross_compiling" = yes; then
21571 # Depending upon the size, compute the lo and hi bounds.
21572 cat >conftest.$ac_ext <<_ACEOF
21573 /* confdefs.h. */
21574 _ACEOF
21575 cat confdefs.h >>conftest.$ac_ext
21576 cat >>conftest.$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21578 $ac_includes_default
21579 typedef long long ac__type_sizeof_;
21580 int
21581 main ()
21582 {
21583 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21584 test_array [0] = 0
21585
21586 ;
21587 return 0;
21588 }
21589 _ACEOF
21590 rm -f conftest.$ac_objext
21591 if { (ac_try="$ac_compile"
21592 case "(($ac_try" in
21593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21594 *) ac_try_echo=$ac_try;;
21595 esac
21596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21597 (eval "$ac_compile") 2>conftest.er1
21598 ac_status=$?
21599 grep -v '^ *+' conftest.er1 >conftest.err
21600 rm -f conftest.er1
21601 cat conftest.err >&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); } &&
21604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21605 { (case "(($ac_try" in
21606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21607 *) ac_try_echo=$ac_try;;
21608 esac
21609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21610 (eval "$ac_try") 2>&5
21611 ac_status=$?
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); }; } &&
21614 { ac_try='test -s conftest.$ac_objext'
21615 { (case "(($ac_try" in
21616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21617 *) ac_try_echo=$ac_try;;
21618 esac
21619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21620 (eval "$ac_try") 2>&5
21621 ac_status=$?
21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623 (exit $ac_status); }; }; then
21624 ac_lo=0 ac_mid=0
21625 while :; do
21626 cat >conftest.$ac_ext <<_ACEOF
21627 /* confdefs.h. */
21628 _ACEOF
21629 cat confdefs.h >>conftest.$ac_ext
21630 cat >>conftest.$ac_ext <<_ACEOF
21631 /* end confdefs.h. */
21632 $ac_includes_default
21633 typedef long long ac__type_sizeof_;
21634 int
21635 main ()
21636 {
21637 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21638 test_array [0] = 0
21639
21640 ;
21641 return 0;
21642 }
21643 _ACEOF
21644 rm -f conftest.$ac_objext
21645 if { (ac_try="$ac_compile"
21646 case "(($ac_try" in
21647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21648 *) ac_try_echo=$ac_try;;
21649 esac
21650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21651 (eval "$ac_compile") 2>conftest.er1
21652 ac_status=$?
21653 grep -v '^ *+' conftest.er1 >conftest.err
21654 rm -f conftest.er1
21655 cat conftest.err >&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); } &&
21658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21659 { (case "(($ac_try" in
21660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21661 *) ac_try_echo=$ac_try;;
21662 esac
21663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21664 (eval "$ac_try") 2>&5
21665 ac_status=$?
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; } &&
21668 { ac_try='test -s conftest.$ac_objext'
21669 { (case "(($ac_try" in
21670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21671 *) ac_try_echo=$ac_try;;
21672 esac
21673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21674 (eval "$ac_try") 2>&5
21675 ac_status=$?
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); }; }; then
21678 ac_hi=$ac_mid; break
21679 else
21680 echo "$as_me: failed program was:" >&5
21681 sed 's/^/| /' conftest.$ac_ext >&5
21682
21683 ac_lo=`expr $ac_mid + 1`
21684 if test $ac_lo -le $ac_mid; then
21685 ac_lo= ac_hi=
21686 break
21687 fi
21688 ac_mid=`expr 2 '*' $ac_mid + 1`
21689 fi
21690
21691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21692 done
21693 else
21694 echo "$as_me: failed program was:" >&5
21695 sed 's/^/| /' conftest.$ac_ext >&5
21696
21697 cat >conftest.$ac_ext <<_ACEOF
21698 /* confdefs.h. */
21699 _ACEOF
21700 cat confdefs.h >>conftest.$ac_ext
21701 cat >>conftest.$ac_ext <<_ACEOF
21702 /* end confdefs.h. */
21703 $ac_includes_default
21704 typedef long long ac__type_sizeof_;
21705 int
21706 main ()
21707 {
21708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21709 test_array [0] = 0
21710
21711 ;
21712 return 0;
21713 }
21714 _ACEOF
21715 rm -f conftest.$ac_objext
21716 if { (ac_try="$ac_compile"
21717 case "(($ac_try" in
21718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21719 *) ac_try_echo=$ac_try;;
21720 esac
21721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21722 (eval "$ac_compile") 2>conftest.er1
21723 ac_status=$?
21724 grep -v '^ *+' conftest.er1 >conftest.err
21725 rm -f conftest.er1
21726 cat conftest.err >&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); } &&
21729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21730 { (case "(($ac_try" in
21731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21732 *) ac_try_echo=$ac_try;;
21733 esac
21734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21735 (eval "$ac_try") 2>&5
21736 ac_status=$?
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); }; } &&
21739 { ac_try='test -s conftest.$ac_objext'
21740 { (case "(($ac_try" in
21741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21742 *) ac_try_echo=$ac_try;;
21743 esac
21744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21745 (eval "$ac_try") 2>&5
21746 ac_status=$?
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; }; then
21749 ac_hi=-1 ac_mid=-1
21750 while :; do
21751 cat >conftest.$ac_ext <<_ACEOF
21752 /* confdefs.h. */
21753 _ACEOF
21754 cat confdefs.h >>conftest.$ac_ext
21755 cat >>conftest.$ac_ext <<_ACEOF
21756 /* end confdefs.h. */
21757 $ac_includes_default
21758 typedef long long ac__type_sizeof_;
21759 int
21760 main ()
21761 {
21762 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21763 test_array [0] = 0
21764
21765 ;
21766 return 0;
21767 }
21768 _ACEOF
21769 rm -f conftest.$ac_objext
21770 if { (ac_try="$ac_compile"
21771 case "(($ac_try" in
21772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21773 *) ac_try_echo=$ac_try;;
21774 esac
21775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21776 (eval "$ac_compile") 2>conftest.er1
21777 ac_status=$?
21778 grep -v '^ *+' conftest.er1 >conftest.err
21779 rm -f conftest.er1
21780 cat conftest.err >&5
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); } &&
21783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21784 { (case "(($ac_try" in
21785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21786 *) ac_try_echo=$ac_try;;
21787 esac
21788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21789 (eval "$ac_try") 2>&5
21790 ac_status=$?
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); }; } &&
21793 { ac_try='test -s conftest.$ac_objext'
21794 { (case "(($ac_try" in
21795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21796 *) ac_try_echo=$ac_try;;
21797 esac
21798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21799 (eval "$ac_try") 2>&5
21800 ac_status=$?
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); }; }; then
21803 ac_lo=$ac_mid; break
21804 else
21805 echo "$as_me: failed program was:" >&5
21806 sed 's/^/| /' conftest.$ac_ext >&5
21807
21808 ac_hi=`expr '(' $ac_mid ')' - 1`
21809 if test $ac_mid -le $ac_hi; then
21810 ac_lo= ac_hi=
21811 break
21812 fi
21813 ac_mid=`expr 2 '*' $ac_mid`
21814 fi
21815
21816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21817 done
21818 else
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21821
21822 ac_lo= ac_hi=
21823 fi
21824
21825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21826 fi
21827
21828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21829 # Binary search between lo and hi bounds.
21830 while test "x$ac_lo" != "x$ac_hi"; do
21831 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21832 cat >conftest.$ac_ext <<_ACEOF
21833 /* confdefs.h. */
21834 _ACEOF
21835 cat confdefs.h >>conftest.$ac_ext
21836 cat >>conftest.$ac_ext <<_ACEOF
21837 /* end confdefs.h. */
21838 $ac_includes_default
21839 typedef long long ac__type_sizeof_;
21840 int
21841 main ()
21842 {
21843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21844 test_array [0] = 0
21845
21846 ;
21847 return 0;
21848 }
21849 _ACEOF
21850 rm -f conftest.$ac_objext
21851 if { (ac_try="$ac_compile"
21852 case "(($ac_try" in
21853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21854 *) ac_try_echo=$ac_try;;
21855 esac
21856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21857 (eval "$ac_compile") 2>conftest.er1
21858 ac_status=$?
21859 grep -v '^ *+' conftest.er1 >conftest.err
21860 rm -f conftest.er1
21861 cat conftest.err >&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } &&
21864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21865 { (case "(($ac_try" in
21866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21867 *) ac_try_echo=$ac_try;;
21868 esac
21869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21870 (eval "$ac_try") 2>&5
21871 ac_status=$?
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; } &&
21874 { ac_try='test -s conftest.$ac_objext'
21875 { (case "(($ac_try" in
21876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21877 *) ac_try_echo=$ac_try;;
21878 esac
21879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21880 (eval "$ac_try") 2>&5
21881 ac_status=$?
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); }; }; then
21884 ac_hi=$ac_mid
21885 else
21886 echo "$as_me: failed program was:" >&5
21887 sed 's/^/| /' conftest.$ac_ext >&5
21888
21889 ac_lo=`expr '(' $ac_mid ')' + 1`
21890 fi
21891
21892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21893 done
21894 case $ac_lo in
21895 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21896 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21897 See \`config.log' for more details." >&5
21898 echo "$as_me: error: cannot compute sizeof (long long)
21899 See \`config.log' for more details." >&2;}
21900 { (exit 77); exit 77; }; } ;;
21901 esac
21902 else
21903 cat >conftest.$ac_ext <<_ACEOF
21904 /* confdefs.h. */
21905 _ACEOF
21906 cat confdefs.h >>conftest.$ac_ext
21907 cat >>conftest.$ac_ext <<_ACEOF
21908 /* end confdefs.h. */
21909 $ac_includes_default
21910 typedef long long ac__type_sizeof_;
21911 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21912 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21913 #include <stdio.h>
21914 #include <stdlib.h>
21915 int
21916 main ()
21917 {
21918
21919 FILE *f = fopen ("conftest.val", "w");
21920 if (! f)
21921 return 1;
21922 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21923 {
21924 long int i = longval ();
21925 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21926 return 1;
21927 fprintf (f, "%ld\n", i);
21928 }
21929 else
21930 {
21931 unsigned long int i = ulongval ();
21932 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21933 return 1;
21934 fprintf (f, "%lu\n", i);
21935 }
21936 return ferror (f) || fclose (f) != 0;
21937
21938 ;
21939 return 0;
21940 }
21941 _ACEOF
21942 rm -f conftest$ac_exeext
21943 if { (ac_try="$ac_link"
21944 case "(($ac_try" in
21945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21946 *) ac_try_echo=$ac_try;;
21947 esac
21948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21949 (eval "$ac_link") 2>&5
21950 ac_status=$?
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21953 { (case "(($ac_try" in
21954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21955 *) ac_try_echo=$ac_try;;
21956 esac
21957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21958 (eval "$ac_try") 2>&5
21959 ac_status=$?
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); }; }; then
21962 ac_cv_sizeof_long_long=`cat conftest.val`
21963 else
21964 echo "$as_me: program exited with status $ac_status" >&5
21965 echo "$as_me: failed program was:" >&5
21966 sed 's/^/| /' conftest.$ac_ext >&5
21967
21968 ( exit $ac_status )
21969 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21970 See \`config.log' for more details." >&5
21971 echo "$as_me: error: cannot compute sizeof (long long)
21972 See \`config.log' for more details." >&2;}
21973 { (exit 77); exit 77; }; }
21974 fi
21975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21976 fi
21977 rm -f conftest.val
21978 else
21979 ac_cv_sizeof_long_long=0
21980 fi
21981 fi
21982 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21983 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21984 cat >>confdefs.h <<_ACEOF
21985 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21986 _ACEOF
21987
21988
21989 ;;
21990 *-hp-hpux* )
21991 { echo "$as_me:$LINENO: checking for long long" >&5
21992 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21993 if test "${ac_cv_type_long_long+set}" = set; then
21994 echo $ECHO_N "(cached) $ECHO_C" >&6
21995 else
21996 cat >conftest.$ac_ext <<_ACEOF
21997 /* confdefs.h. */
21998 _ACEOF
21999 cat confdefs.h >>conftest.$ac_ext
22000 cat >>conftest.$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22002 $ac_includes_default
22003 typedef long long ac__type_new_;
22004 int
22005 main ()
22006 {
22007 if ((ac__type_new_ *) 0)
22008 return 0;
22009 if (sizeof (ac__type_new_))
22010 return 0;
22011 ;
22012 return 0;
22013 }
22014 _ACEOF
22015 rm -f conftest.$ac_objext
22016 if { (ac_try="$ac_compile"
22017 case "(($ac_try" in
22018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22019 *) ac_try_echo=$ac_try;;
22020 esac
22021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22022 (eval "$ac_compile") 2>conftest.er1
22023 ac_status=$?
22024 grep -v '^ *+' conftest.er1 >conftest.err
22025 rm -f conftest.er1
22026 cat conftest.err >&5
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); } &&
22029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22030 { (case "(($ac_try" in
22031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22032 *) ac_try_echo=$ac_try;;
22033 esac
22034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22035 (eval "$ac_try") 2>&5
22036 ac_status=$?
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); }; } &&
22039 { ac_try='test -s conftest.$ac_objext'
22040 { (case "(($ac_try" in
22041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22042 *) ac_try_echo=$ac_try;;
22043 esac
22044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22045 (eval "$ac_try") 2>&5
22046 ac_status=$?
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); }; }; then
22049 ac_cv_type_long_long=yes
22050 else
22051 echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.$ac_ext >&5
22053
22054 ac_cv_type_long_long=no
22055 fi
22056
22057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22058 fi
22059 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22060 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22061
22062 { echo "$as_me:$LINENO: checking size of long long" >&5
22063 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22064 if test "${ac_cv_sizeof_long_long+set}" = set; then
22065 echo $ECHO_N "(cached) $ECHO_C" >&6
22066 else
22067 if test "$ac_cv_type_long_long" = yes; then
22068 # The cast to long int works around a bug in the HP C Compiler
22069 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22071 # This bug is HP SR number 8606223364.
22072 if test "$cross_compiling" = yes; then
22073 # Depending upon the size, compute the lo and hi bounds.
22074 cat >conftest.$ac_ext <<_ACEOF
22075 /* confdefs.h. */
22076 _ACEOF
22077 cat confdefs.h >>conftest.$ac_ext
22078 cat >>conftest.$ac_ext <<_ACEOF
22079 /* end confdefs.h. */
22080 $ac_includes_default
22081 typedef long long ac__type_sizeof_;
22082 int
22083 main ()
22084 {
22085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22086 test_array [0] = 0
22087
22088 ;
22089 return 0;
22090 }
22091 _ACEOF
22092 rm -f conftest.$ac_objext
22093 if { (ac_try="$ac_compile"
22094 case "(($ac_try" in
22095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22096 *) ac_try_echo=$ac_try;;
22097 esac
22098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22099 (eval "$ac_compile") 2>conftest.er1
22100 ac_status=$?
22101 grep -v '^ *+' conftest.er1 >conftest.err
22102 rm -f conftest.er1
22103 cat conftest.err >&5
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); } &&
22106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22107 { (case "(($ac_try" in
22108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22109 *) ac_try_echo=$ac_try;;
22110 esac
22111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22112 (eval "$ac_try") 2>&5
22113 ac_status=$?
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); }; } &&
22116 { ac_try='test -s conftest.$ac_objext'
22117 { (case "(($ac_try" in
22118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22119 *) ac_try_echo=$ac_try;;
22120 esac
22121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22122 (eval "$ac_try") 2>&5
22123 ac_status=$?
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; }; then
22126 ac_lo=0 ac_mid=0
22127 while :; do
22128 cat >conftest.$ac_ext <<_ACEOF
22129 /* confdefs.h. */
22130 _ACEOF
22131 cat confdefs.h >>conftest.$ac_ext
22132 cat >>conftest.$ac_ext <<_ACEOF
22133 /* end confdefs.h. */
22134 $ac_includes_default
22135 typedef long long ac__type_sizeof_;
22136 int
22137 main ()
22138 {
22139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22140 test_array [0] = 0
22141
22142 ;
22143 return 0;
22144 }
22145 _ACEOF
22146 rm -f conftest.$ac_objext
22147 if { (ac_try="$ac_compile"
22148 case "(($ac_try" in
22149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22150 *) ac_try_echo=$ac_try;;
22151 esac
22152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22153 (eval "$ac_compile") 2>conftest.er1
22154 ac_status=$?
22155 grep -v '^ *+' conftest.er1 >conftest.err
22156 rm -f conftest.er1
22157 cat conftest.err >&5
22158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159 (exit $ac_status); } &&
22160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22161 { (case "(($ac_try" in
22162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22163 *) ac_try_echo=$ac_try;;
22164 esac
22165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22166 (eval "$ac_try") 2>&5
22167 ac_status=$?
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); }; } &&
22170 { ac_try='test -s conftest.$ac_objext'
22171 { (case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22174 esac
22175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_try") 2>&5
22177 ac_status=$?
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; }; then
22180 ac_hi=$ac_mid; break
22181 else
22182 echo "$as_me: failed program was:" >&5
22183 sed 's/^/| /' conftest.$ac_ext >&5
22184
22185 ac_lo=`expr $ac_mid + 1`
22186 if test $ac_lo -le $ac_mid; then
22187 ac_lo= ac_hi=
22188 break
22189 fi
22190 ac_mid=`expr 2 '*' $ac_mid + 1`
22191 fi
22192
22193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22194 done
22195 else
22196 echo "$as_me: failed program was:" >&5
22197 sed 's/^/| /' conftest.$ac_ext >&5
22198
22199 cat >conftest.$ac_ext <<_ACEOF
22200 /* confdefs.h. */
22201 _ACEOF
22202 cat confdefs.h >>conftest.$ac_ext
22203 cat >>conftest.$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22205 $ac_includes_default
22206 typedef long long ac__type_sizeof_;
22207 int
22208 main ()
22209 {
22210 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22211 test_array [0] = 0
22212
22213 ;
22214 return 0;
22215 }
22216 _ACEOF
22217 rm -f conftest.$ac_objext
22218 if { (ac_try="$ac_compile"
22219 case "(($ac_try" in
22220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22221 *) ac_try_echo=$ac_try;;
22222 esac
22223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22224 (eval "$ac_compile") 2>conftest.er1
22225 ac_status=$?
22226 grep -v '^ *+' conftest.er1 >conftest.err
22227 rm -f conftest.er1
22228 cat conftest.err >&5
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } &&
22231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22232 { (case "(($ac_try" in
22233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22234 *) ac_try_echo=$ac_try;;
22235 esac
22236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22237 (eval "$ac_try") 2>&5
22238 ac_status=$?
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); }; } &&
22241 { ac_try='test -s conftest.$ac_objext'
22242 { (case "(($ac_try" in
22243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22244 *) ac_try_echo=$ac_try;;
22245 esac
22246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22247 (eval "$ac_try") 2>&5
22248 ac_status=$?
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); }; }; then
22251 ac_hi=-1 ac_mid=-1
22252 while :; do
22253 cat >conftest.$ac_ext <<_ACEOF
22254 /* confdefs.h. */
22255 _ACEOF
22256 cat confdefs.h >>conftest.$ac_ext
22257 cat >>conftest.$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259 $ac_includes_default
22260 typedef long long ac__type_sizeof_;
22261 int
22262 main ()
22263 {
22264 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22265 test_array [0] = 0
22266
22267 ;
22268 return 0;
22269 }
22270 _ACEOF
22271 rm -f conftest.$ac_objext
22272 if { (ac_try="$ac_compile"
22273 case "(($ac_try" in
22274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22275 *) ac_try_echo=$ac_try;;
22276 esac
22277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22278 (eval "$ac_compile") 2>conftest.er1
22279 ac_status=$?
22280 grep -v '^ *+' conftest.er1 >conftest.err
22281 rm -f conftest.er1
22282 cat conftest.err >&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } &&
22285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22286 { (case "(($ac_try" in
22287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22288 *) ac_try_echo=$ac_try;;
22289 esac
22290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22291 (eval "$ac_try") 2>&5
22292 ac_status=$?
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; } &&
22295 { ac_try='test -s conftest.$ac_objext'
22296 { (case "(($ac_try" in
22297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22298 *) ac_try_echo=$ac_try;;
22299 esac
22300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301 (eval "$ac_try") 2>&5
22302 ac_status=$?
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); }; }; then
22305 ac_lo=$ac_mid; break
22306 else
22307 echo "$as_me: failed program was:" >&5
22308 sed 's/^/| /' conftest.$ac_ext >&5
22309
22310 ac_hi=`expr '(' $ac_mid ')' - 1`
22311 if test $ac_mid -le $ac_hi; then
22312 ac_lo= ac_hi=
22313 break
22314 fi
22315 ac_mid=`expr 2 '*' $ac_mid`
22316 fi
22317
22318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22319 done
22320 else
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.$ac_ext >&5
22323
22324 ac_lo= ac_hi=
22325 fi
22326
22327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22328 fi
22329
22330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22331 # Binary search between lo and hi bounds.
22332 while test "x$ac_lo" != "x$ac_hi"; do
22333 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22334 cat >conftest.$ac_ext <<_ACEOF
22335 /* confdefs.h. */
22336 _ACEOF
22337 cat confdefs.h >>conftest.$ac_ext
22338 cat >>conftest.$ac_ext <<_ACEOF
22339 /* end confdefs.h. */
22340 $ac_includes_default
22341 typedef long long ac__type_sizeof_;
22342 int
22343 main ()
22344 {
22345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22346 test_array [0] = 0
22347
22348 ;
22349 return 0;
22350 }
22351 _ACEOF
22352 rm -f conftest.$ac_objext
22353 if { (ac_try="$ac_compile"
22354 case "(($ac_try" in
22355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22356 *) ac_try_echo=$ac_try;;
22357 esac
22358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22359 (eval "$ac_compile") 2>conftest.er1
22360 ac_status=$?
22361 grep -v '^ *+' conftest.er1 >conftest.err
22362 rm -f conftest.er1
22363 cat conftest.err >&5
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); } &&
22366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22367 { (case "(($ac_try" in
22368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22369 *) ac_try_echo=$ac_try;;
22370 esac
22371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22372 (eval "$ac_try") 2>&5
22373 ac_status=$?
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); }; } &&
22376 { ac_try='test -s conftest.$ac_objext'
22377 { (case "(($ac_try" in
22378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22379 *) ac_try_echo=$ac_try;;
22380 esac
22381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22382 (eval "$ac_try") 2>&5
22383 ac_status=$?
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); }; }; then
22386 ac_hi=$ac_mid
22387 else
22388 echo "$as_me: failed program was:" >&5
22389 sed 's/^/| /' conftest.$ac_ext >&5
22390
22391 ac_lo=`expr '(' $ac_mid ')' + 1`
22392 fi
22393
22394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22395 done
22396 case $ac_lo in
22397 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22398 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22399 See \`config.log' for more details." >&5
22400 echo "$as_me: error: cannot compute sizeof (long long)
22401 See \`config.log' for more details." >&2;}
22402 { (exit 77); exit 77; }; } ;;
22403 esac
22404 else
22405 cat >conftest.$ac_ext <<_ACEOF
22406 /* confdefs.h. */
22407 _ACEOF
22408 cat confdefs.h >>conftest.$ac_ext
22409 cat >>conftest.$ac_ext <<_ACEOF
22410 /* end confdefs.h. */
22411 $ac_includes_default
22412 typedef long long ac__type_sizeof_;
22413 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22414 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22415 #include <stdio.h>
22416 #include <stdlib.h>
22417 int
22418 main ()
22419 {
22420
22421 FILE *f = fopen ("conftest.val", "w");
22422 if (! f)
22423 return 1;
22424 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22425 {
22426 long int i = longval ();
22427 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22428 return 1;
22429 fprintf (f, "%ld\n", i);
22430 }
22431 else
22432 {
22433 unsigned long int i = ulongval ();
22434 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22435 return 1;
22436 fprintf (f, "%lu\n", i);
22437 }
22438 return ferror (f) || fclose (f) != 0;
22439
22440 ;
22441 return 0;
22442 }
22443 _ACEOF
22444 rm -f conftest$ac_exeext
22445 if { (ac_try="$ac_link"
22446 case "(($ac_try" in
22447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22448 *) ac_try_echo=$ac_try;;
22449 esac
22450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22451 (eval "$ac_link") 2>&5
22452 ac_status=$?
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22455 { (case "(($ac_try" in
22456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22457 *) ac_try_echo=$ac_try;;
22458 esac
22459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22460 (eval "$ac_try") 2>&5
22461 ac_status=$?
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; }; then
22464 ac_cv_sizeof_long_long=`cat conftest.val`
22465 else
22466 echo "$as_me: program exited with status $ac_status" >&5
22467 echo "$as_me: failed program was:" >&5
22468 sed 's/^/| /' conftest.$ac_ext >&5
22469
22470 ( exit $ac_status )
22471 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22472 See \`config.log' for more details." >&5
22473 echo "$as_me: error: cannot compute sizeof (long long)
22474 See \`config.log' for more details." >&2;}
22475 { (exit 77); exit 77; }; }
22476 fi
22477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22478 fi
22479 rm -f conftest.val
22480 else
22481 ac_cv_sizeof_long_long=0
22482 fi
22483 fi
22484 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22485 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22486 cat >>confdefs.h <<_ACEOF
22487 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22488 _ACEOF
22489
22490
22491 if test "$ac_cv_sizeof_long_long" != "0"; then
22492 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22493 fi
22494 ;;
22495 * )
22496 { echo "$as_me:$LINENO: checking for long long" >&5
22497 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22498 if test "${ac_cv_type_long_long+set}" = set; then
22499 echo $ECHO_N "(cached) $ECHO_C" >&6
22500 else
22501 cat >conftest.$ac_ext <<_ACEOF
22502 /* confdefs.h. */
22503 _ACEOF
22504 cat confdefs.h >>conftest.$ac_ext
22505 cat >>conftest.$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22507 $ac_includes_default
22508 typedef long long ac__type_new_;
22509 int
22510 main ()
22511 {
22512 if ((ac__type_new_ *) 0)
22513 return 0;
22514 if (sizeof (ac__type_new_))
22515 return 0;
22516 ;
22517 return 0;
22518 }
22519 _ACEOF
22520 rm -f conftest.$ac_objext
22521 if { (ac_try="$ac_compile"
22522 case "(($ac_try" in
22523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22524 *) ac_try_echo=$ac_try;;
22525 esac
22526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22527 (eval "$ac_compile") 2>conftest.er1
22528 ac_status=$?
22529 grep -v '^ *+' conftest.er1 >conftest.err
22530 rm -f conftest.er1
22531 cat conftest.err >&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } &&
22534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22535 { (case "(($ac_try" in
22536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22537 *) ac_try_echo=$ac_try;;
22538 esac
22539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22540 (eval "$ac_try") 2>&5
22541 ac_status=$?
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); }; } &&
22544 { ac_try='test -s conftest.$ac_objext'
22545 { (case "(($ac_try" in
22546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22547 *) ac_try_echo=$ac_try;;
22548 esac
22549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22550 (eval "$ac_try") 2>&5
22551 ac_status=$?
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); }; }; then
22554 ac_cv_type_long_long=yes
22555 else
22556 echo "$as_me: failed program was:" >&5
22557 sed 's/^/| /' conftest.$ac_ext >&5
22558
22559 ac_cv_type_long_long=no
22560 fi
22561
22562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22563 fi
22564 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22565 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22566
22567 { echo "$as_me:$LINENO: checking size of long long" >&5
22568 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22569 if test "${ac_cv_sizeof_long_long+set}" = set; then
22570 echo $ECHO_N "(cached) $ECHO_C" >&6
22571 else
22572 if test "$ac_cv_type_long_long" = yes; then
22573 # The cast to long int works around a bug in the HP C Compiler
22574 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22575 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22576 # This bug is HP SR number 8606223364.
22577 if test "$cross_compiling" = yes; then
22578 # Depending upon the size, compute the lo and hi bounds.
22579 cat >conftest.$ac_ext <<_ACEOF
22580 /* confdefs.h. */
22581 _ACEOF
22582 cat confdefs.h >>conftest.$ac_ext
22583 cat >>conftest.$ac_ext <<_ACEOF
22584 /* end confdefs.h. */
22585 $ac_includes_default
22586 typedef long long ac__type_sizeof_;
22587 int
22588 main ()
22589 {
22590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22591 test_array [0] = 0
22592
22593 ;
22594 return 0;
22595 }
22596 _ACEOF
22597 rm -f conftest.$ac_objext
22598 if { (ac_try="$ac_compile"
22599 case "(($ac_try" in
22600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22601 *) ac_try_echo=$ac_try;;
22602 esac
22603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22604 (eval "$ac_compile") 2>conftest.er1
22605 ac_status=$?
22606 grep -v '^ *+' conftest.er1 >conftest.err
22607 rm -f conftest.er1
22608 cat conftest.err >&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } &&
22611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22612 { (case "(($ac_try" in
22613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22614 *) ac_try_echo=$ac_try;;
22615 esac
22616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617 (eval "$ac_try") 2>&5
22618 ac_status=$?
22619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22620 (exit $ac_status); }; } &&
22621 { ac_try='test -s conftest.$ac_objext'
22622 { (case "(($ac_try" in
22623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22624 *) ac_try_echo=$ac_try;;
22625 esac
22626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22627 (eval "$ac_try") 2>&5
22628 ac_status=$?
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; }; then
22631 ac_lo=0 ac_mid=0
22632 while :; do
22633 cat >conftest.$ac_ext <<_ACEOF
22634 /* confdefs.h. */
22635 _ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h. */
22639 $ac_includes_default
22640 typedef long long ac__type_sizeof_;
22641 int
22642 main ()
22643 {
22644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22645 test_array [0] = 0
22646
22647 ;
22648 return 0;
22649 }
22650 _ACEOF
22651 rm -f conftest.$ac_objext
22652 if { (ac_try="$ac_compile"
22653 case "(($ac_try" in
22654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22655 *) ac_try_echo=$ac_try;;
22656 esac
22657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22658 (eval "$ac_compile") 2>conftest.er1
22659 ac_status=$?
22660 grep -v '^ *+' conftest.er1 >conftest.err
22661 rm -f conftest.er1
22662 cat conftest.err >&5
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); } &&
22665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22666 { (case "(($ac_try" in
22667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22668 *) ac_try_echo=$ac_try;;
22669 esac
22670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22671 (eval "$ac_try") 2>&5
22672 ac_status=$?
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; } &&
22675 { ac_try='test -s conftest.$ac_objext'
22676 { (case "(($ac_try" in
22677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22678 *) ac_try_echo=$ac_try;;
22679 esac
22680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22681 (eval "$ac_try") 2>&5
22682 ac_status=$?
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); }; }; then
22685 ac_hi=$ac_mid; break
22686 else
22687 echo "$as_me: failed program was:" >&5
22688 sed 's/^/| /' conftest.$ac_ext >&5
22689
22690 ac_lo=`expr $ac_mid + 1`
22691 if test $ac_lo -le $ac_mid; then
22692 ac_lo= ac_hi=
22693 break
22694 fi
22695 ac_mid=`expr 2 '*' $ac_mid + 1`
22696 fi
22697
22698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22699 done
22700 else
22701 echo "$as_me: failed program was:" >&5
22702 sed 's/^/| /' conftest.$ac_ext >&5
22703
22704 cat >conftest.$ac_ext <<_ACEOF
22705 /* confdefs.h. */
22706 _ACEOF
22707 cat confdefs.h >>conftest.$ac_ext
22708 cat >>conftest.$ac_ext <<_ACEOF
22709 /* end confdefs.h. */
22710 $ac_includes_default
22711 typedef long long ac__type_sizeof_;
22712 int
22713 main ()
22714 {
22715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22716 test_array [0] = 0
22717
22718 ;
22719 return 0;
22720 }
22721 _ACEOF
22722 rm -f conftest.$ac_objext
22723 if { (ac_try="$ac_compile"
22724 case "(($ac_try" in
22725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22726 *) ac_try_echo=$ac_try;;
22727 esac
22728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22729 (eval "$ac_compile") 2>conftest.er1
22730 ac_status=$?
22731 grep -v '^ *+' conftest.er1 >conftest.err
22732 rm -f conftest.er1
22733 cat conftest.err >&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); } &&
22736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22737 { (case "(($ac_try" in
22738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22739 *) ac_try_echo=$ac_try;;
22740 esac
22741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22742 (eval "$ac_try") 2>&5
22743 ac_status=$?
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); }; } &&
22746 { ac_try='test -s conftest.$ac_objext'
22747 { (case "(($ac_try" in
22748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22749 *) ac_try_echo=$ac_try;;
22750 esac
22751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22752 (eval "$ac_try") 2>&5
22753 ac_status=$?
22754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755 (exit $ac_status); }; }; then
22756 ac_hi=-1 ac_mid=-1
22757 while :; do
22758 cat >conftest.$ac_ext <<_ACEOF
22759 /* confdefs.h. */
22760 _ACEOF
22761 cat confdefs.h >>conftest.$ac_ext
22762 cat >>conftest.$ac_ext <<_ACEOF
22763 /* end confdefs.h. */
22764 $ac_includes_default
22765 typedef long long ac__type_sizeof_;
22766 int
22767 main ()
22768 {
22769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22770 test_array [0] = 0
22771
22772 ;
22773 return 0;
22774 }
22775 _ACEOF
22776 rm -f conftest.$ac_objext
22777 if { (ac_try="$ac_compile"
22778 case "(($ac_try" in
22779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22780 *) ac_try_echo=$ac_try;;
22781 esac
22782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_compile") 2>conftest.er1
22784 ac_status=$?
22785 grep -v '^ *+' conftest.er1 >conftest.err
22786 rm -f conftest.er1
22787 cat conftest.err >&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } &&
22790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22791 { (case "(($ac_try" in
22792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22793 *) ac_try_echo=$ac_try;;
22794 esac
22795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22796 (eval "$ac_try") 2>&5
22797 ac_status=$?
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); }; } &&
22800 { ac_try='test -s conftest.$ac_objext'
22801 { (case "(($ac_try" in
22802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22803 *) ac_try_echo=$ac_try;;
22804 esac
22805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22806 (eval "$ac_try") 2>&5
22807 ac_status=$?
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); }; }; then
22810 ac_lo=$ac_mid; break
22811 else
22812 echo "$as_me: failed program was:" >&5
22813 sed 's/^/| /' conftest.$ac_ext >&5
22814
22815 ac_hi=`expr '(' $ac_mid ')' - 1`
22816 if test $ac_mid -le $ac_hi; then
22817 ac_lo= ac_hi=
22818 break
22819 fi
22820 ac_mid=`expr 2 '*' $ac_mid`
22821 fi
22822
22823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22824 done
22825 else
22826 echo "$as_me: failed program was:" >&5
22827 sed 's/^/| /' conftest.$ac_ext >&5
22828
22829 ac_lo= ac_hi=
22830 fi
22831
22832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22833 fi
22834
22835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22836 # Binary search between lo and hi bounds.
22837 while test "x$ac_lo" != "x$ac_hi"; do
22838 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22839 cat >conftest.$ac_ext <<_ACEOF
22840 /* confdefs.h. */
22841 _ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h. */
22845 $ac_includes_default
22846 typedef long long ac__type_sizeof_;
22847 int
22848 main ()
22849 {
22850 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22851 test_array [0] = 0
22852
22853 ;
22854 return 0;
22855 }
22856 _ACEOF
22857 rm -f conftest.$ac_objext
22858 if { (ac_try="$ac_compile"
22859 case "(($ac_try" in
22860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22861 *) ac_try_echo=$ac_try;;
22862 esac
22863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22864 (eval "$ac_compile") 2>conftest.er1
22865 ac_status=$?
22866 grep -v '^ *+' conftest.er1 >conftest.err
22867 rm -f conftest.er1
22868 cat conftest.err >&5
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); } &&
22871 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22872 { (case "(($ac_try" in
22873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22874 *) ac_try_echo=$ac_try;;
22875 esac
22876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22877 (eval "$ac_try") 2>&5
22878 ac_status=$?
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); }; } &&
22881 { ac_try='test -s conftest.$ac_objext'
22882 { (case "(($ac_try" in
22883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22884 *) ac_try_echo=$ac_try;;
22885 esac
22886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22887 (eval "$ac_try") 2>&5
22888 ac_status=$?
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); }; }; then
22891 ac_hi=$ac_mid
22892 else
22893 echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.$ac_ext >&5
22895
22896 ac_lo=`expr '(' $ac_mid ')' + 1`
22897 fi
22898
22899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22900 done
22901 case $ac_lo in
22902 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22903 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22904 See \`config.log' for more details." >&5
22905 echo "$as_me: error: cannot compute sizeof (long long)
22906 See \`config.log' for more details." >&2;}
22907 { (exit 77); exit 77; }; } ;;
22908 esac
22909 else
22910 cat >conftest.$ac_ext <<_ACEOF
22911 /* confdefs.h. */
22912 _ACEOF
22913 cat confdefs.h >>conftest.$ac_ext
22914 cat >>conftest.$ac_ext <<_ACEOF
22915 /* end confdefs.h. */
22916 $ac_includes_default
22917 typedef long long ac__type_sizeof_;
22918 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22919 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22920 #include <stdio.h>
22921 #include <stdlib.h>
22922 int
22923 main ()
22924 {
22925
22926 FILE *f = fopen ("conftest.val", "w");
22927 if (! f)
22928 return 1;
22929 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22930 {
22931 long int i = longval ();
22932 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22933 return 1;
22934 fprintf (f, "%ld\n", i);
22935 }
22936 else
22937 {
22938 unsigned long int i = ulongval ();
22939 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22940 return 1;
22941 fprintf (f, "%lu\n", i);
22942 }
22943 return ferror (f) || fclose (f) != 0;
22944
22945 ;
22946 return 0;
22947 }
22948 _ACEOF
22949 rm -f conftest$ac_exeext
22950 if { (ac_try="$ac_link"
22951 case "(($ac_try" in
22952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22953 *) ac_try_echo=$ac_try;;
22954 esac
22955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22956 (eval "$ac_link") 2>&5
22957 ac_status=$?
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22960 { (case "(($ac_try" in
22961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22962 *) ac_try_echo=$ac_try;;
22963 esac
22964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22965 (eval "$ac_try") 2>&5
22966 ac_status=$?
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); }; }; then
22969 ac_cv_sizeof_long_long=`cat conftest.val`
22970 else
22971 echo "$as_me: program exited with status $ac_status" >&5
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.$ac_ext >&5
22974
22975 ( exit $ac_status )
22976 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22977 See \`config.log' for more details." >&5
22978 echo "$as_me: error: cannot compute sizeof (long long)
22979 See \`config.log' for more details." >&2;}
22980 { (exit 77); exit 77; }; }
22981 fi
22982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22983 fi
22984 rm -f conftest.val
22985 else
22986 ac_cv_sizeof_long_long=0
22987 fi
22988 fi
22989 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22990 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22991 cat >>confdefs.h <<_ACEOF
22992 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22993 _ACEOF
22994
22995
22996 esac
22997
22998 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22999 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23000 if test "${ac_cv_type_wchar_t+set}" = set; then
23001 echo $ECHO_N "(cached) $ECHO_C" >&6
23002 else
23003 cat >conftest.$ac_ext <<_ACEOF
23004 /* confdefs.h. */
23005 _ACEOF
23006 cat confdefs.h >>conftest.$ac_ext
23007 cat >>conftest.$ac_ext <<_ACEOF
23008 /* end confdefs.h. */
23009
23010 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23011 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23012 # error "fake wchar_t"
23013 #endif
23014 #ifdef HAVE_WCHAR_H
23015 # ifdef __CYGWIN__
23016 # include <stddef.h>
23017 # endif
23018 # include <wchar.h>
23019 #endif
23020 #ifdef HAVE_STDLIB_H
23021 # include <stdlib.h>
23022 #endif
23023 #include <stdio.h>
23024
23025
23026
23027 typedef wchar_t ac__type_new_;
23028 int
23029 main ()
23030 {
23031 if ((ac__type_new_ *) 0)
23032 return 0;
23033 if (sizeof (ac__type_new_))
23034 return 0;
23035 ;
23036 return 0;
23037 }
23038 _ACEOF
23039 rm -f conftest.$ac_objext
23040 if { (ac_try="$ac_compile"
23041 case "(($ac_try" in
23042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23043 *) ac_try_echo=$ac_try;;
23044 esac
23045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23046 (eval "$ac_compile") 2>conftest.er1
23047 ac_status=$?
23048 grep -v '^ *+' conftest.er1 >conftest.err
23049 rm -f conftest.er1
23050 cat conftest.err >&5
23051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23052 (exit $ac_status); } &&
23053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23054 { (case "(($ac_try" in
23055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23056 *) ac_try_echo=$ac_try;;
23057 esac
23058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23059 (eval "$ac_try") 2>&5
23060 ac_status=$?
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); }; } &&
23063 { ac_try='test -s conftest.$ac_objext'
23064 { (case "(($ac_try" in
23065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23066 *) ac_try_echo=$ac_try;;
23067 esac
23068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23069 (eval "$ac_try") 2>&5
23070 ac_status=$?
23071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); }; }; then
23073 ac_cv_type_wchar_t=yes
23074 else
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23077
23078 ac_cv_type_wchar_t=no
23079 fi
23080
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082 fi
23083 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23084 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23085
23086 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23087 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23088 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23089 echo $ECHO_N "(cached) $ECHO_C" >&6
23090 else
23091 if test "$ac_cv_type_wchar_t" = yes; then
23092 # The cast to long int works around a bug in the HP C Compiler
23093 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23094 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23095 # This bug is HP SR number 8606223364.
23096 if test "$cross_compiling" = yes; then
23097 # Depending upon the size, compute the lo and hi bounds.
23098 cat >conftest.$ac_ext <<_ACEOF
23099 /* confdefs.h. */
23100 _ACEOF
23101 cat confdefs.h >>conftest.$ac_ext
23102 cat >>conftest.$ac_ext <<_ACEOF
23103 /* end confdefs.h. */
23104
23105 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23106 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23107 # error "fake wchar_t"
23108 #endif
23109 #ifdef HAVE_WCHAR_H
23110 # ifdef __CYGWIN__
23111 # include <stddef.h>
23112 # endif
23113 # include <wchar.h>
23114 #endif
23115 #ifdef HAVE_STDLIB_H
23116 # include <stdlib.h>
23117 #endif
23118 #include <stdio.h>
23119
23120
23121
23122 typedef wchar_t ac__type_sizeof_;
23123 int
23124 main ()
23125 {
23126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23127 test_array [0] = 0
23128
23129 ;
23130 return 0;
23131 }
23132 _ACEOF
23133 rm -f conftest.$ac_objext
23134 if { (ac_try="$ac_compile"
23135 case "(($ac_try" in
23136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23137 *) ac_try_echo=$ac_try;;
23138 esac
23139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23140 (eval "$ac_compile") 2>conftest.er1
23141 ac_status=$?
23142 grep -v '^ *+' conftest.er1 >conftest.err
23143 rm -f conftest.er1
23144 cat conftest.err >&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); } &&
23147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23148 { (case "(($ac_try" in
23149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23150 *) ac_try_echo=$ac_try;;
23151 esac
23152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23153 (eval "$ac_try") 2>&5
23154 ac_status=$?
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); }; } &&
23157 { ac_try='test -s conftest.$ac_objext'
23158 { (case "(($ac_try" in
23159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23160 *) ac_try_echo=$ac_try;;
23161 esac
23162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23163 (eval "$ac_try") 2>&5
23164 ac_status=$?
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); }; }; then
23167 ac_lo=0 ac_mid=0
23168 while :; do
23169 cat >conftest.$ac_ext <<_ACEOF
23170 /* confdefs.h. */
23171 _ACEOF
23172 cat confdefs.h >>conftest.$ac_ext
23173 cat >>conftest.$ac_ext <<_ACEOF
23174 /* end confdefs.h. */
23175
23176 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23177 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23178 # error "fake wchar_t"
23179 #endif
23180 #ifdef HAVE_WCHAR_H
23181 # ifdef __CYGWIN__
23182 # include <stddef.h>
23183 # endif
23184 # include <wchar.h>
23185 #endif
23186 #ifdef HAVE_STDLIB_H
23187 # include <stdlib.h>
23188 #endif
23189 #include <stdio.h>
23190
23191
23192
23193 typedef wchar_t ac__type_sizeof_;
23194 int
23195 main ()
23196 {
23197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23198 test_array [0] = 0
23199
23200 ;
23201 return 0;
23202 }
23203 _ACEOF
23204 rm -f conftest.$ac_objext
23205 if { (ac_try="$ac_compile"
23206 case "(($ac_try" in
23207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23208 *) ac_try_echo=$ac_try;;
23209 esac
23210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23211 (eval "$ac_compile") 2>conftest.er1
23212 ac_status=$?
23213 grep -v '^ *+' conftest.er1 >conftest.err
23214 rm -f conftest.er1
23215 cat conftest.err >&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); } &&
23218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23219 { (case "(($ac_try" in
23220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23221 *) ac_try_echo=$ac_try;;
23222 esac
23223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23224 (eval "$ac_try") 2>&5
23225 ac_status=$?
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); }; } &&
23228 { ac_try='test -s conftest.$ac_objext'
23229 { (case "(($ac_try" in
23230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23231 *) ac_try_echo=$ac_try;;
23232 esac
23233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23234 (eval "$ac_try") 2>&5
23235 ac_status=$?
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; }; then
23238 ac_hi=$ac_mid; break
23239 else
23240 echo "$as_me: failed program was:" >&5
23241 sed 's/^/| /' conftest.$ac_ext >&5
23242
23243 ac_lo=`expr $ac_mid + 1`
23244 if test $ac_lo -le $ac_mid; then
23245 ac_lo= ac_hi=
23246 break
23247 fi
23248 ac_mid=`expr 2 '*' $ac_mid + 1`
23249 fi
23250
23251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23252 done
23253 else
23254 echo "$as_me: failed program was:" >&5
23255 sed 's/^/| /' conftest.$ac_ext >&5
23256
23257 cat >conftest.$ac_ext <<_ACEOF
23258 /* confdefs.h. */
23259 _ACEOF
23260 cat confdefs.h >>conftest.$ac_ext
23261 cat >>conftest.$ac_ext <<_ACEOF
23262 /* end confdefs.h. */
23263
23264 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23265 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23266 # error "fake wchar_t"
23267 #endif
23268 #ifdef HAVE_WCHAR_H
23269 # ifdef __CYGWIN__
23270 # include <stddef.h>
23271 # endif
23272 # include <wchar.h>
23273 #endif
23274 #ifdef HAVE_STDLIB_H
23275 # include <stdlib.h>
23276 #endif
23277 #include <stdio.h>
23278
23279
23280
23281 typedef wchar_t ac__type_sizeof_;
23282 int
23283 main ()
23284 {
23285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23286 test_array [0] = 0
23287
23288 ;
23289 return 0;
23290 }
23291 _ACEOF
23292 rm -f conftest.$ac_objext
23293 if { (ac_try="$ac_compile"
23294 case "(($ac_try" in
23295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23296 *) ac_try_echo=$ac_try;;
23297 esac
23298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23299 (eval "$ac_compile") 2>conftest.er1
23300 ac_status=$?
23301 grep -v '^ *+' conftest.er1 >conftest.err
23302 rm -f conftest.er1
23303 cat conftest.err >&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); } &&
23306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23307 { (case "(($ac_try" in
23308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23309 *) ac_try_echo=$ac_try;;
23310 esac
23311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23312 (eval "$ac_try") 2>&5
23313 ac_status=$?
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); }; } &&
23316 { ac_try='test -s conftest.$ac_objext'
23317 { (case "(($ac_try" in
23318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23319 *) ac_try_echo=$ac_try;;
23320 esac
23321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23322 (eval "$ac_try") 2>&5
23323 ac_status=$?
23324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325 (exit $ac_status); }; }; then
23326 ac_hi=-1 ac_mid=-1
23327 while :; do
23328 cat >conftest.$ac_ext <<_ACEOF
23329 /* confdefs.h. */
23330 _ACEOF
23331 cat confdefs.h >>conftest.$ac_ext
23332 cat >>conftest.$ac_ext <<_ACEOF
23333 /* end confdefs.h. */
23334
23335 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23336 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23337 # error "fake wchar_t"
23338 #endif
23339 #ifdef HAVE_WCHAR_H
23340 # ifdef __CYGWIN__
23341 # include <stddef.h>
23342 # endif
23343 # include <wchar.h>
23344 #endif
23345 #ifdef HAVE_STDLIB_H
23346 # include <stdlib.h>
23347 #endif
23348 #include <stdio.h>
23349
23350
23351
23352 typedef wchar_t ac__type_sizeof_;
23353 int
23354 main ()
23355 {
23356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23357 test_array [0] = 0
23358
23359 ;
23360 return 0;
23361 }
23362 _ACEOF
23363 rm -f conftest.$ac_objext
23364 if { (ac_try="$ac_compile"
23365 case "(($ac_try" in
23366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23367 *) ac_try_echo=$ac_try;;
23368 esac
23369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23370 (eval "$ac_compile") 2>conftest.er1
23371 ac_status=$?
23372 grep -v '^ *+' conftest.er1 >conftest.err
23373 rm -f conftest.er1
23374 cat conftest.err >&5
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); } &&
23377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23378 { (case "(($ac_try" in
23379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23380 *) ac_try_echo=$ac_try;;
23381 esac
23382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23383 (eval "$ac_try") 2>&5
23384 ac_status=$?
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); }; } &&
23387 { ac_try='test -s conftest.$ac_objext'
23388 { (case "(($ac_try" in
23389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23390 *) ac_try_echo=$ac_try;;
23391 esac
23392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23393 (eval "$ac_try") 2>&5
23394 ac_status=$?
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); }; }; then
23397 ac_lo=$ac_mid; break
23398 else
23399 echo "$as_me: failed program was:" >&5
23400 sed 's/^/| /' conftest.$ac_ext >&5
23401
23402 ac_hi=`expr '(' $ac_mid ')' - 1`
23403 if test $ac_mid -le $ac_hi; then
23404 ac_lo= ac_hi=
23405 break
23406 fi
23407 ac_mid=`expr 2 '*' $ac_mid`
23408 fi
23409
23410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23411 done
23412 else
23413 echo "$as_me: failed program was:" >&5
23414 sed 's/^/| /' conftest.$ac_ext >&5
23415
23416 ac_lo= ac_hi=
23417 fi
23418
23419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23420 fi
23421
23422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23423 # Binary search between lo and hi bounds.
23424 while test "x$ac_lo" != "x$ac_hi"; do
23425 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23426 cat >conftest.$ac_ext <<_ACEOF
23427 /* confdefs.h. */
23428 _ACEOF
23429 cat confdefs.h >>conftest.$ac_ext
23430 cat >>conftest.$ac_ext <<_ACEOF
23431 /* end confdefs.h. */
23432
23433 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23434 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23435 # error "fake wchar_t"
23436 #endif
23437 #ifdef HAVE_WCHAR_H
23438 # ifdef __CYGWIN__
23439 # include <stddef.h>
23440 # endif
23441 # include <wchar.h>
23442 #endif
23443 #ifdef HAVE_STDLIB_H
23444 # include <stdlib.h>
23445 #endif
23446 #include <stdio.h>
23447
23448
23449
23450 typedef wchar_t ac__type_sizeof_;
23451 int
23452 main ()
23453 {
23454 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23455 test_array [0] = 0
23456
23457 ;
23458 return 0;
23459 }
23460 _ACEOF
23461 rm -f conftest.$ac_objext
23462 if { (ac_try="$ac_compile"
23463 case "(($ac_try" in
23464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23465 *) ac_try_echo=$ac_try;;
23466 esac
23467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23468 (eval "$ac_compile") 2>conftest.er1
23469 ac_status=$?
23470 grep -v '^ *+' conftest.er1 >conftest.err
23471 rm -f conftest.er1
23472 cat conftest.err >&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } &&
23475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23476 { (case "(($ac_try" in
23477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23478 *) ac_try_echo=$ac_try;;
23479 esac
23480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23481 (eval "$ac_try") 2>&5
23482 ac_status=$?
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; } &&
23485 { ac_try='test -s conftest.$ac_objext'
23486 { (case "(($ac_try" in
23487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23488 *) ac_try_echo=$ac_try;;
23489 esac
23490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23491 (eval "$ac_try") 2>&5
23492 ac_status=$?
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); }; }; then
23495 ac_hi=$ac_mid
23496 else
23497 echo "$as_me: failed program was:" >&5
23498 sed 's/^/| /' conftest.$ac_ext >&5
23499
23500 ac_lo=`expr '(' $ac_mid ')' + 1`
23501 fi
23502
23503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23504 done
23505 case $ac_lo in
23506 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23507 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23508 See \`config.log' for more details." >&5
23509 echo "$as_me: error: cannot compute sizeof (wchar_t)
23510 See \`config.log' for more details." >&2;}
23511 { (exit 77); exit 77; }; } ;;
23512 esac
23513 else
23514 cat >conftest.$ac_ext <<_ACEOF
23515 /* confdefs.h. */
23516 _ACEOF
23517 cat confdefs.h >>conftest.$ac_ext
23518 cat >>conftest.$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23520
23521 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23522 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23523 # error "fake wchar_t"
23524 #endif
23525 #ifdef HAVE_WCHAR_H
23526 # ifdef __CYGWIN__
23527 # include <stddef.h>
23528 # endif
23529 # include <wchar.h>
23530 #endif
23531 #ifdef HAVE_STDLIB_H
23532 # include <stdlib.h>
23533 #endif
23534 #include <stdio.h>
23535
23536
23537
23538 typedef wchar_t ac__type_sizeof_;
23539 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23540 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23541 #include <stdio.h>
23542 #include <stdlib.h>
23543 int
23544 main ()
23545 {
23546
23547 FILE *f = fopen ("conftest.val", "w");
23548 if (! f)
23549 return 1;
23550 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23551 {
23552 long int i = longval ();
23553 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23554 return 1;
23555 fprintf (f, "%ld\n", i);
23556 }
23557 else
23558 {
23559 unsigned long int i = ulongval ();
23560 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23561 return 1;
23562 fprintf (f, "%lu\n", i);
23563 }
23564 return ferror (f) || fclose (f) != 0;
23565
23566 ;
23567 return 0;
23568 }
23569 _ACEOF
23570 rm -f conftest$ac_exeext
23571 if { (ac_try="$ac_link"
23572 case "(($ac_try" in
23573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23574 *) ac_try_echo=$ac_try;;
23575 esac
23576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23577 (eval "$ac_link") 2>&5
23578 ac_status=$?
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23581 { (case "(($ac_try" in
23582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23583 *) ac_try_echo=$ac_try;;
23584 esac
23585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23586 (eval "$ac_try") 2>&5
23587 ac_status=$?
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; }; then
23590 ac_cv_sizeof_wchar_t=`cat conftest.val`
23591 else
23592 echo "$as_me: program exited with status $ac_status" >&5
23593 echo "$as_me: failed program was:" >&5
23594 sed 's/^/| /' conftest.$ac_ext >&5
23595
23596 ( exit $ac_status )
23597 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23598 See \`config.log' for more details." >&5
23599 echo "$as_me: error: cannot compute sizeof (wchar_t)
23600 See \`config.log' for more details." >&2;}
23601 { (exit 77); exit 77; }; }
23602 fi
23603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23604 fi
23605 rm -f conftest.val
23606 else
23607 ac_cv_sizeof_wchar_t=0
23608 fi
23609 fi
23610 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23611 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23612 cat >>confdefs.h <<_ACEOF
23613 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23614 _ACEOF
23615
23616
23617 if test "$ac_cv_sizeof_wchar_t" != "0"; then
23618 wxUSE_WCHAR_T=yes
23619 else
23620 wxUSE_WCHAR_T=no
23621 fi
23622
23623 { echo "$as_me:$LINENO: checking for va_copy" >&5
23624 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23625 if test "${wx_cv_func_va_copy+set}" = set; then
23626 echo $ECHO_N "(cached) $ECHO_C" >&6
23627 else
23628
23629 cat >conftest.$ac_ext <<_ACEOF
23630
23631 #include <stdarg.h>
23632 void foo(char *f, ...)
23633 {
23634 va_list ap1, ap2;
23635 va_start(ap1, f);
23636 va_copy(ap2, ap1);
23637 va_end(ap2);
23638 va_end(ap1);
23639 }
23640 int main()
23641 {
23642 foo("hi", 17);
23643 return 0;
23644 }
23645 _ACEOF
23646 rm -f conftest.$ac_objext conftest$ac_exeext
23647 if { (ac_try="$ac_link"
23648 case "(($ac_try" in
23649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23650 *) ac_try_echo=$ac_try;;
23651 esac
23652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23653 (eval "$ac_link") 2>conftest.er1
23654 ac_status=$?
23655 grep -v '^ *+' conftest.er1 >conftest.err
23656 rm -f conftest.er1
23657 cat conftest.err >&5
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); } &&
23660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23661 { (case "(($ac_try" in
23662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23663 *) ac_try_echo=$ac_try;;
23664 esac
23665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23666 (eval "$ac_try") 2>&5
23667 ac_status=$?
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); }; } &&
23670 { ac_try='test -s conftest$ac_exeext'
23671 { (case "(($ac_try" in
23672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23673 *) ac_try_echo=$ac_try;;
23674 esac
23675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23676 (eval "$ac_try") 2>&5
23677 ac_status=$?
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); }; }; then
23680 wx_cv_func_va_copy=yes
23681 else
23682 echo "$as_me: failed program was:" >&5
23683 sed 's/^/| /' conftest.$ac_ext >&5
23684
23685 wx_cv_func_va_copy=no
23686
23687 fi
23688
23689 rm -f core conftest.err conftest.$ac_objext \
23690 conftest$ac_exeext conftest.$ac_ext
23691
23692
23693 fi
23694 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23695 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23696
23697 if test $wx_cv_func_va_copy = "yes"; then
23698 cat >>confdefs.h <<\_ACEOF
23699 #define HAVE_VA_COPY 1
23700 _ACEOF
23701
23702 else
23703 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23704 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23705 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23706 echo $ECHO_N "(cached) $ECHO_C" >&6
23707 else
23708
23709 if test "$cross_compiling" = yes; then
23710 wx_cv_type_va_list_lvalue=yes
23711
23712 else
23713 cat >conftest.$ac_ext <<_ACEOF
23714
23715 #include <stdarg.h>
23716 int foo(char *f, ...)
23717 {
23718 va_list ap1, ap2;
23719 va_start(ap1, f);
23720 ap2 = ap1;
23721 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23722 return 1;
23723 va_end(ap2);
23724 va_end(ap1);
23725 return 0;
23726 }
23727 int main()
23728 {
23729 return foo("hi", 17);
23730 }
23731 _ACEOF
23732 rm -f conftest$ac_exeext
23733 if { (ac_try="$ac_link"
23734 case "(($ac_try" in
23735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23736 *) ac_try_echo=$ac_try;;
23737 esac
23738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23739 (eval "$ac_link") 2>&5
23740 ac_status=$?
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23743 { (case "(($ac_try" in
23744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23745 *) ac_try_echo=$ac_try;;
23746 esac
23747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23748 (eval "$ac_try") 2>&5
23749 ac_status=$?
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); }; }; then
23752 wx_cv_type_va_list_lvalue=yes
23753 else
23754 echo "$as_me: program exited with status $ac_status" >&5
23755 echo "$as_me: failed program was:" >&5
23756 sed 's/^/| /' conftest.$ac_ext >&5
23757
23758 ( exit $ac_status )
23759 wx_cv_type_va_list_lvalue=no
23760 fi
23761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23762 fi
23763
23764
23765
23766
23767 fi
23768 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23769 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23770
23771 if test $wx_cv_type_va_list_lvalue != "yes"; then
23772 cat >>confdefs.h <<\_ACEOF
23773 #define VA_LIST_IS_ARRAY 1
23774 _ACEOF
23775
23776 fi
23777 fi
23778
23779 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23780
23781 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23782 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23783 if test "${wx_cv_have_variadic_macros+set}" = set; then
23784 echo $ECHO_N "(cached) $ECHO_C" >&6
23785 else
23786
23787 ac_ext=cpp
23788 ac_cpp='$CXXCPP $CPPFLAGS'
23789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23792
23793 cat >conftest.$ac_ext <<_ACEOF
23794 /* confdefs.h. */
23795 _ACEOF
23796 cat confdefs.h >>conftest.$ac_ext
23797 cat >>conftest.$ac_ext <<_ACEOF
23798 /* end confdefs.h. */
23799
23800 #include <stdio.h>
23801 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23802
23803 int
23804 main ()
23805 {
23806
23807 test("%s %d %p", "test", 1, 0);
23808
23809
23810 ;
23811 return 0;
23812 }
23813 _ACEOF
23814 rm -f conftest.$ac_objext
23815 if { (ac_try="$ac_compile"
23816 case "(($ac_try" in
23817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23818 *) ac_try_echo=$ac_try;;
23819 esac
23820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23821 (eval "$ac_compile") 2>conftest.er1
23822 ac_status=$?
23823 grep -v '^ *+' conftest.er1 >conftest.err
23824 rm -f conftest.er1
23825 cat conftest.err >&5
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); } &&
23828 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23829 { (case "(($ac_try" in
23830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23831 *) ac_try_echo=$ac_try;;
23832 esac
23833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23834 (eval "$ac_try") 2>&5
23835 ac_status=$?
23836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23837 (exit $ac_status); }; } &&
23838 { ac_try='test -s conftest.$ac_objext'
23839 { (case "(($ac_try" in
23840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23841 *) ac_try_echo=$ac_try;;
23842 esac
23843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23844 (eval "$ac_try") 2>&5
23845 ac_status=$?
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); }; }; then
23848 wx_cv_have_variadic_macros=yes
23849 else
23850 echo "$as_me: failed program was:" >&5
23851 sed 's/^/| /' conftest.$ac_ext >&5
23852
23853 wx_cv_have_variadic_macros=no
23854
23855 fi
23856
23857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23858 ac_ext=c
23859 ac_cpp='$CPP $CPPFLAGS'
23860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23863
23864
23865
23866 fi
23867 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23868 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23869
23870 if test $wx_cv_have_variadic_macros = "yes"; then
23871 cat >>confdefs.h <<\_ACEOF
23872 #define HAVE_VARIADIC_MACROS 1
23873 _ACEOF
23874
23875 fi
23876
23877 fi
23878 # Check whether --enable-largefile was given.
23879 if test "${enable_largefile+set}" = set; then
23880 enableval=$enable_largefile;
23881 fi
23882
23883 if test "$enable_largefile" != no; then
23884 wx_largefile=no
23885
23886 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23887 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23888 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23889 echo $ECHO_N "(cached) $ECHO_C" >&6
23890 else
23891
23892 cat >conftest.$ac_ext <<_ACEOF
23893 /* confdefs.h. */
23894 _ACEOF
23895 cat confdefs.h >>conftest.$ac_ext
23896 cat >>conftest.$ac_ext <<_ACEOF
23897 /* end confdefs.h. */
23898 #define _FILE_OFFSET_BITS 64
23899 #include <sys/types.h>
23900 int
23901 main ()
23902 {
23903 typedef struct {
23904 unsigned int field: sizeof(off_t) == 8;
23905 } wxlf;
23906
23907 ;
23908 return 0;
23909 }
23910 _ACEOF
23911 rm -f conftest.$ac_objext
23912 if { (ac_try="$ac_compile"
23913 case "(($ac_try" in
23914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23915 *) ac_try_echo=$ac_try;;
23916 esac
23917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23918 (eval "$ac_compile") 2>conftest.er1
23919 ac_status=$?
23920 grep -v '^ *+' conftest.er1 >conftest.err
23921 rm -f conftest.er1
23922 cat conftest.err >&5
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); } &&
23925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23926 { (case "(($ac_try" in
23927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23928 *) ac_try_echo=$ac_try;;
23929 esac
23930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23931 (eval "$ac_try") 2>&5
23932 ac_status=$?
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); }; } &&
23935 { ac_try='test -s conftest.$ac_objext'
23936 { (case "(($ac_try" in
23937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23938 *) ac_try_echo=$ac_try;;
23939 esac
23940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23941 (eval "$ac_try") 2>&5
23942 ac_status=$?
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; }; then
23945 ac_cv_sys_file_offset_bits=64
23946 else
23947 echo "$as_me: failed program was:" >&5
23948 sed 's/^/| /' conftest.$ac_ext >&5
23949
23950 ac_cv_sys_file_offset_bits=no
23951 fi
23952
23953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23954
23955
23956 fi
23957 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23958 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23959
23960 if test "$ac_cv_sys_file_offset_bits" != no; then
23961 wx_largefile=yes
23962 cat >>confdefs.h <<_ACEOF
23963 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23964 _ACEOF
23965
23966 fi
23967
23968 if test "x$wx_largefile" != "xyes"; then
23969
23970 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23971 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23972 if test "${ac_cv_sys_large_files+set}" = set; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6
23974 else
23975
23976 cat >conftest.$ac_ext <<_ACEOF
23977 /* confdefs.h. */
23978 _ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 #define _LARGE_FILES 1
23983 #include <sys/types.h>
23984 int
23985 main ()
23986 {
23987 typedef struct {
23988 unsigned int field: sizeof(off_t) == 8;
23989 } wxlf;
23990
23991 ;
23992 return 0;
23993 }
23994 _ACEOF
23995 rm -f conftest.$ac_objext
23996 if { (ac_try="$ac_compile"
23997 case "(($ac_try" in
23998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23999 *) ac_try_echo=$ac_try;;
24000 esac
24001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24002 (eval "$ac_compile") 2>conftest.er1
24003 ac_status=$?
24004 grep -v '^ *+' conftest.er1 >conftest.err
24005 rm -f conftest.er1
24006 cat conftest.err >&5
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); } &&
24009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24010 { (case "(($ac_try" in
24011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24012 *) ac_try_echo=$ac_try;;
24013 esac
24014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24015 (eval "$ac_try") 2>&5
24016 ac_status=$?
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); }; } &&
24019 { ac_try='test -s conftest.$ac_objext'
24020 { (case "(($ac_try" in
24021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24022 *) ac_try_echo=$ac_try;;
24023 esac
24024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24025 (eval "$ac_try") 2>&5
24026 ac_status=$?
24027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); }; }; then
24029 ac_cv_sys_large_files=1
24030 else
24031 echo "$as_me: failed program was:" >&5
24032 sed 's/^/| /' conftest.$ac_ext >&5
24033
24034 ac_cv_sys_large_files=no
24035 fi
24036
24037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24038
24039
24040 fi
24041 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24042 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24043
24044 if test "$ac_cv_sys_large_files" != no; then
24045 wx_largefile=yes
24046 cat >>confdefs.h <<_ACEOF
24047 #define _LARGE_FILES $ac_cv_sys_large_files
24048 _ACEOF
24049
24050 fi
24051
24052 fi
24053
24054 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24055 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24056 if test "x$wx_largefile" = "xyes"; then
24057 cat >>confdefs.h <<\_ACEOF
24058 #define HAVE_LARGEFILE_SUPPORT 1
24059 _ACEOF
24060
24061 fi
24062 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24063 echo "${ECHO_T}$wx_largefile" >&6; }
24064 fi
24065
24066
24067 if test "x$wx_largefile" = "xyes"; then
24068 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
24069 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
24070
24071 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24072 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24073 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24074 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24075 echo $ECHO_N "(cached) $ECHO_C" >&6
24076 else
24077
24078 ac_ext=cpp
24079 ac_cpp='$CXXCPP $CPPFLAGS'
24080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24083
24084 cat >conftest.$ac_ext <<_ACEOF
24085 /* confdefs.h. */
24086 _ACEOF
24087 cat confdefs.h >>conftest.$ac_ext
24088 cat >>conftest.$ac_ext <<_ACEOF
24089 /* end confdefs.h. */
24090
24091 int
24092 main ()
24093 {
24094
24095 #ifndef __STDC_EXT__
24096 choke me
24097 #endif
24098
24099 ;
24100 return 0;
24101 }
24102 _ACEOF
24103 rm -f conftest.$ac_objext
24104 if { (ac_try="$ac_compile"
24105 case "(($ac_try" in
24106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24107 *) ac_try_echo=$ac_try;;
24108 esac
24109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24110 (eval "$ac_compile") 2>conftest.er1
24111 ac_status=$?
24112 grep -v '^ *+' conftest.er1 >conftest.err
24113 rm -f conftest.er1
24114 cat conftest.err >&5
24115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24116 (exit $ac_status); } &&
24117 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24118 { (case "(($ac_try" in
24119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24120 *) ac_try_echo=$ac_try;;
24121 esac
24122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24123 (eval "$ac_try") 2>&5
24124 ac_status=$?
24125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126 (exit $ac_status); }; } &&
24127 { ac_try='test -s conftest.$ac_objext'
24128 { (case "(($ac_try" in
24129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24130 *) ac_try_echo=$ac_try;;
24131 esac
24132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24133 (eval "$ac_try") 2>&5
24134 ac_status=$?
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); }; }; then
24137 wx_cv_STDC_EXT_required=no
24138 else
24139 echo "$as_me: failed program was:" >&5
24140 sed 's/^/| /' conftest.$ac_ext >&5
24141
24142 wx_cv_STDC_EXT_required=yes
24143
24144 fi
24145
24146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24147 ac_ext=c
24148 ac_cpp='$CPP $CPPFLAGS'
24149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24152
24153
24154
24155 fi
24156 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24157 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24158 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24159 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24160 fi
24161 fi
24162 else
24163 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
24164 fi
24165 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24166 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24167 if test "${ac_cv_sys_largefile_source+set}" = set; then
24168 echo $ECHO_N "(cached) $ECHO_C" >&6
24169 else
24170 while :; do
24171 ac_cv_sys_largefile_source=no
24172 cat >conftest.$ac_ext <<_ACEOF
24173 /* confdefs.h. */
24174 _ACEOF
24175 cat confdefs.h >>conftest.$ac_ext
24176 cat >>conftest.$ac_ext <<_ACEOF
24177 /* end confdefs.h. */
24178 #include <stdio.h>
24179 int
24180 main ()
24181 {
24182 return !fseeko;
24183 ;
24184 return 0;
24185 }
24186 _ACEOF
24187 rm -f conftest.$ac_objext
24188 if { (ac_try="$ac_compile"
24189 case "(($ac_try" in
24190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24191 *) ac_try_echo=$ac_try;;
24192 esac
24193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24194 (eval "$ac_compile") 2>conftest.er1
24195 ac_status=$?
24196 grep -v '^ *+' conftest.er1 >conftest.err
24197 rm -f conftest.er1
24198 cat conftest.err >&5
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); } &&
24201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24202 { (case "(($ac_try" in
24203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24204 *) ac_try_echo=$ac_try;;
24205 esac
24206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24207 (eval "$ac_try") 2>&5
24208 ac_status=$?
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); }; } &&
24211 { ac_try='test -s conftest.$ac_objext'
24212 { (case "(($ac_try" in
24213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24214 *) ac_try_echo=$ac_try;;
24215 esac
24216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24217 (eval "$ac_try") 2>&5
24218 ac_status=$?
24219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24220 (exit $ac_status); }; }; then
24221 break
24222 else
24223 echo "$as_me: failed program was:" >&5
24224 sed 's/^/| /' conftest.$ac_ext >&5
24225
24226
24227 fi
24228
24229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24230 cat >conftest.$ac_ext <<_ACEOF
24231 /* confdefs.h. */
24232 _ACEOF
24233 cat confdefs.h >>conftest.$ac_ext
24234 cat >>conftest.$ac_ext <<_ACEOF
24235 /* end confdefs.h. */
24236 #define _LARGEFILE_SOURCE 1
24237 #include <stdio.h>
24238 int
24239 main ()
24240 {
24241 return !fseeko;
24242 ;
24243 return 0;
24244 }
24245 _ACEOF
24246 rm -f conftest.$ac_objext
24247 if { (ac_try="$ac_compile"
24248 case "(($ac_try" in
24249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24250 *) ac_try_echo=$ac_try;;
24251 esac
24252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24253 (eval "$ac_compile") 2>conftest.er1
24254 ac_status=$?
24255 grep -v '^ *+' conftest.er1 >conftest.err
24256 rm -f conftest.er1
24257 cat conftest.err >&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); } &&
24260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24261 { (case "(($ac_try" in
24262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24263 *) ac_try_echo=$ac_try;;
24264 esac
24265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24266 (eval "$ac_try") 2>&5
24267 ac_status=$?
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); }; } &&
24270 { ac_try='test -s conftest.$ac_objext'
24271 { (case "(($ac_try" in
24272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24273 *) ac_try_echo=$ac_try;;
24274 esac
24275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24276 (eval "$ac_try") 2>&5
24277 ac_status=$?
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); }; }; then
24280 ac_cv_sys_largefile_source=1; break
24281 else
24282 echo "$as_me: failed program was:" >&5
24283 sed 's/^/| /' conftest.$ac_ext >&5
24284
24285
24286 fi
24287
24288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24289 break
24290 done
24291 fi
24292 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24293 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24294 if test "$ac_cv_sys_largefile_source" != no; then
24295
24296 cat >>confdefs.h <<_ACEOF
24297 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24298 _ACEOF
24299
24300 fi
24301 rm -f conftest*
24302
24303 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24304 # in glibc 2.1.3, but that breaks too many other things.
24305 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24306 { echo "$as_me:$LINENO: checking for fseeko" >&5
24307 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6; }
24308 if test "${ac_cv_func_fseeko+set}" = set; then
24309 echo $ECHO_N "(cached) $ECHO_C" >&6
24310 else
24311 cat >conftest.$ac_ext <<_ACEOF
24312 /* confdefs.h. */
24313 _ACEOF
24314 cat confdefs.h >>conftest.$ac_ext
24315 cat >>conftest.$ac_ext <<_ACEOF
24316 /* end confdefs.h. */
24317 #include <stdio.h>
24318 int
24319 main ()
24320 {
24321 return fseeko && fseeko (stdin, 0, 0);
24322 ;
24323 return 0;
24324 }
24325 _ACEOF
24326 rm -f conftest.$ac_objext conftest$ac_exeext
24327 if { (ac_try="$ac_link"
24328 case "(($ac_try" in
24329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24330 *) ac_try_echo=$ac_try;;
24331 esac
24332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24333 (eval "$ac_link") 2>conftest.er1
24334 ac_status=$?
24335 grep -v '^ *+' conftest.er1 >conftest.err
24336 rm -f conftest.er1
24337 cat conftest.err >&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); } &&
24340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24341 { (case "(($ac_try" in
24342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24343 *) ac_try_echo=$ac_try;;
24344 esac
24345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24346 (eval "$ac_try") 2>&5
24347 ac_status=$?
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); }; } &&
24350 { ac_try='test -s conftest$ac_exeext'
24351 { (case "(($ac_try" in
24352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24353 *) ac_try_echo=$ac_try;;
24354 esac
24355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24356 (eval "$ac_try") 2>&5
24357 ac_status=$?
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); }; }; then
24360 ac_cv_func_fseeko=yes
24361 else
24362 echo "$as_me: failed program was:" >&5
24363 sed 's/^/| /' conftest.$ac_ext >&5
24364
24365 ac_cv_func_fseeko=no
24366 fi
24367
24368 rm -f core conftest.err conftest.$ac_objext \
24369 conftest$ac_exeext conftest.$ac_ext
24370 fi
24371 { echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
24372 echo "${ECHO_T}$ac_cv_func_fseeko" >&6; }
24373 if test $ac_cv_func_fseeko = yes; then
24374
24375 cat >>confdefs.h <<\_ACEOF
24376 #define HAVE_FSEEKO 1
24377 _ACEOF
24378
24379 fi
24380
24381 if test "$ac_cv_sys_largefile_source" != no; then
24382 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24383 fi
24384 fi
24385
24386 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24387 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24388 if test "${ac_cv_c_bigendian+set}" = set; then
24389 echo $ECHO_N "(cached) $ECHO_C" >&6
24390 else
24391 ac_cv_c_bigendian=unknown
24392 # See if sys/param.h defines the BYTE_ORDER macro.
24393 cat >conftest.$ac_ext <<_ACEOF
24394 /* confdefs.h. */
24395 _ACEOF
24396 cat confdefs.h >>conftest.$ac_ext
24397 cat >>conftest.$ac_ext <<_ACEOF
24398 /* end confdefs.h. */
24399 #include <sys/types.h>
24400 #include <sys/param.h>
24401 int
24402 main ()
24403 {
24404
24405 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24406 bogus endian macros
24407 #endif
24408 ;
24409 return 0;
24410 }
24411 _ACEOF
24412 rm -f conftest.$ac_objext
24413 if { (ac_try="$ac_compile"
24414 case "(($ac_try" in
24415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24416 *) ac_try_echo=$ac_try;;
24417 esac
24418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24419 (eval "$ac_compile") 2>conftest.er1
24420 ac_status=$?
24421 grep -v '^ *+' conftest.er1 >conftest.err
24422 rm -f conftest.er1
24423 cat conftest.err >&5
24424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425 (exit $ac_status); } &&
24426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24427 { (case "(($ac_try" in
24428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24429 *) ac_try_echo=$ac_try;;
24430 esac
24431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24432 (eval "$ac_try") 2>&5
24433 ac_status=$?
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; } &&
24436 { ac_try='test -s conftest.$ac_objext'
24437 { (case "(($ac_try" in
24438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24439 *) ac_try_echo=$ac_try;;
24440 esac
24441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24442 (eval "$ac_try") 2>&5
24443 ac_status=$?
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); }; }; then
24446 # It does; now see whether it defined to BIG_ENDIAN or not.
24447 cat >conftest.$ac_ext <<_ACEOF
24448 /* confdefs.h. */
24449 _ACEOF
24450 cat confdefs.h >>conftest.$ac_ext
24451 cat >>conftest.$ac_ext <<_ACEOF
24452 /* end confdefs.h. */
24453 #include <sys/types.h>
24454 #include <sys/param.h>
24455 int
24456 main ()
24457 {
24458
24459 #if BYTE_ORDER != BIG_ENDIAN
24460 not big endian
24461 #endif
24462 ;
24463 return 0;
24464 }
24465 _ACEOF
24466 rm -f conftest.$ac_objext
24467 if { (ac_try="$ac_compile"
24468 case "(($ac_try" in
24469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24470 *) ac_try_echo=$ac_try;;
24471 esac
24472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24473 (eval "$ac_compile") 2>conftest.er1
24474 ac_status=$?
24475 grep -v '^ *+' conftest.er1 >conftest.err
24476 rm -f conftest.er1
24477 cat conftest.err >&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } &&
24480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24481 { (case "(($ac_try" in
24482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24483 *) ac_try_echo=$ac_try;;
24484 esac
24485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24486 (eval "$ac_try") 2>&5
24487 ac_status=$?
24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); }; } &&
24490 { ac_try='test -s conftest.$ac_objext'
24491 { (case "(($ac_try" in
24492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24493 *) ac_try_echo=$ac_try;;
24494 esac
24495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24496 (eval "$ac_try") 2>&5
24497 ac_status=$?
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); }; }; then
24500 ac_cv_c_bigendian=yes
24501 else
24502 echo "$as_me: failed program was:" >&5
24503 sed 's/^/| /' conftest.$ac_ext >&5
24504
24505 ac_cv_c_bigendian=no
24506 fi
24507
24508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24509 else
24510 echo "$as_me: failed program was:" >&5
24511 sed 's/^/| /' conftest.$ac_ext >&5
24512
24513
24514 fi
24515
24516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24517 if test $ac_cv_c_bigendian = unknown; then
24518 if test "$cross_compiling" = yes; then
24519 ac_cv_c_bigendian=unknown
24520 else
24521 cat >conftest.$ac_ext <<_ACEOF
24522 /* confdefs.h. */
24523 _ACEOF
24524 cat confdefs.h >>conftest.$ac_ext
24525 cat >>conftest.$ac_ext <<_ACEOF
24526 /* end confdefs.h. */
24527 main () {
24528 /* Are we little or big endian? From Harbison&Steele. */
24529 union
24530 {
24531 long l;
24532 char c[sizeof (long)];
24533 } u;
24534 u.l = 1;
24535 exit (u.c[sizeof (long) - 1] == 1);
24536 }
24537 _ACEOF
24538 rm -f conftest$ac_exeext
24539 if { (ac_try="$ac_link"
24540 case "(($ac_try" in
24541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24542 *) ac_try_echo=$ac_try;;
24543 esac
24544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24545 (eval "$ac_link") 2>&5
24546 ac_status=$?
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24549 { (case "(($ac_try" in
24550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24551 *) ac_try_echo=$ac_try;;
24552 esac
24553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24554 (eval "$ac_try") 2>&5
24555 ac_status=$?
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); }; }; then
24558 ac_cv_c_bigendian=no
24559 else
24560 echo "$as_me: program exited with status $ac_status" >&5
24561 echo "$as_me: failed program was:" >&5
24562 sed 's/^/| /' conftest.$ac_ext >&5
24563
24564 ( exit $ac_status )
24565 ac_cv_c_bigendian=yes
24566 fi
24567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24568 fi
24569
24570
24571 fi
24572 fi
24573 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24574 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24575 if test $ac_cv_c_bigendian = unknown; then
24576 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24577 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24578 fi
24579 if test $ac_cv_c_bigendian = yes; then
24580 cat >>confdefs.h <<\_ACEOF
24581 #define WORDS_BIGENDIAN 1
24582 _ACEOF
24583
24584 fi
24585
24586
24587
24588
24589 ac_ext=cpp
24590 ac_cpp='$CXXCPP $CPPFLAGS'
24591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24594
24595
24596 { echo "$as_me:$LINENO: checking for iostream" >&5
24597 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
24598 if test "${ac_cv_header_iostream+set}" = set; then
24599 echo $ECHO_N "(cached) $ECHO_C" >&6
24600 else
24601 cat >conftest.$ac_ext <<_ACEOF
24602 /* confdefs.h. */
24603 _ACEOF
24604 cat confdefs.h >>conftest.$ac_ext
24605 cat >>conftest.$ac_ext <<_ACEOF
24606 /* end confdefs.h. */
24607
24608
24609 #include <iostream>
24610 _ACEOF
24611 rm -f conftest.$ac_objext
24612 if { (ac_try="$ac_compile"
24613 case "(($ac_try" in
24614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24615 *) ac_try_echo=$ac_try;;
24616 esac
24617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24618 (eval "$ac_compile") 2>conftest.er1
24619 ac_status=$?
24620 grep -v '^ *+' conftest.er1 >conftest.err
24621 rm -f conftest.er1
24622 cat conftest.err >&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } &&
24625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24626 { (case "(($ac_try" in
24627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24628 *) ac_try_echo=$ac_try;;
24629 esac
24630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24631 (eval "$ac_try") 2>&5
24632 ac_status=$?
24633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634 (exit $ac_status); }; } &&
24635 { ac_try='test -s conftest.$ac_objext'
24636 { (case "(($ac_try" in
24637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24638 *) ac_try_echo=$ac_try;;
24639 esac
24640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24641 (eval "$ac_try") 2>&5
24642 ac_status=$?
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); }; }; then
24645 ac_cv_header_iostream=yes
24646 else
24647 echo "$as_me: failed program was:" >&5
24648 sed 's/^/| /' conftest.$ac_ext >&5
24649
24650 ac_cv_header_iostream=no
24651 fi
24652
24653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24654 fi
24655 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
24656 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
24657
24658
24659
24660 if test "$ac_cv_header_iostream" = "yes" ; then
24661 :
24662 else
24663 cat >>confdefs.h <<\_ACEOF
24664 #define wxUSE_IOSTREAMH 1
24665 _ACEOF
24666
24667 fi
24668
24669 ac_ext=c
24670 ac_cpp='$CPP $CPPFLAGS'
24671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24674
24675
24676
24677
24678 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
24679 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
24680 if test "${wx_cv_cpp_bool+set}" = set; then
24681 echo $ECHO_N "(cached) $ECHO_C" >&6
24682 else
24683
24684
24685 ac_ext=cpp
24686 ac_cpp='$CXXCPP $CPPFLAGS'
24687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24690
24691
24692 cat >conftest.$ac_ext <<_ACEOF
24693 /* confdefs.h. */
24694 _ACEOF
24695 cat confdefs.h >>conftest.$ac_ext
24696 cat >>conftest.$ac_ext <<_ACEOF
24697 /* end confdefs.h. */
24698
24699
24700 int
24701 main ()
24702 {
24703
24704 bool b = true;
24705
24706 return 0;
24707
24708 ;
24709 return 0;
24710 }
24711 _ACEOF
24712 rm -f conftest.$ac_objext
24713 if { (ac_try="$ac_compile"
24714 case "(($ac_try" in
24715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24716 *) ac_try_echo=$ac_try;;
24717 esac
24718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24719 (eval "$ac_compile") 2>conftest.er1
24720 ac_status=$?
24721 grep -v '^ *+' conftest.er1 >conftest.err
24722 rm -f conftest.er1
24723 cat conftest.err >&5
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } &&
24726 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24727 { (case "(($ac_try" in
24728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24729 *) ac_try_echo=$ac_try;;
24730 esac
24731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24732 (eval "$ac_try") 2>&5
24733 ac_status=$?
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; } &&
24736 { ac_try='test -s conftest.$ac_objext'
24737 { (case "(($ac_try" in
24738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24739 *) ac_try_echo=$ac_try;;
24740 esac
24741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24742 (eval "$ac_try") 2>&5
24743 ac_status=$?
24744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); }; }; then
24746
24747 wx_cv_cpp_bool=yes
24748
24749 else
24750 echo "$as_me: failed program was:" >&5
24751 sed 's/^/| /' conftest.$ac_ext >&5
24752
24753
24754 wx_cv_cpp_bool=no
24755
24756
24757 fi
24758
24759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24760
24761 ac_ext=c
24762 ac_cpp='$CPP $CPPFLAGS'
24763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24766
24767
24768 fi
24769 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
24770 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
24771
24772 if test "$wx_cv_cpp_bool" = "yes"; then
24773 cat >>confdefs.h <<\_ACEOF
24774 #define HAVE_BOOL 1
24775 _ACEOF
24776
24777 fi
24778
24779
24780
24781 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24782 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24783 if test "${wx_cv_explicit+set}" = set; then
24784 echo $ECHO_N "(cached) $ECHO_C" >&6
24785 else
24786
24787
24788 ac_ext=cpp
24789 ac_cpp='$CXXCPP $CPPFLAGS'
24790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24793
24794
24795 cat >conftest.$ac_ext <<_ACEOF
24796 /* confdefs.h. */
24797 _ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24801
24802 class Foo { public: explicit Foo(int) {} };
24803
24804 int
24805 main ()
24806 {
24807
24808 return 0;
24809
24810 ;
24811 return 0;
24812 }
24813 _ACEOF
24814 rm -f conftest.$ac_objext
24815 if { (ac_try="$ac_compile"
24816 case "(($ac_try" in
24817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24818 *) ac_try_echo=$ac_try;;
24819 esac
24820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24821 (eval "$ac_compile") 2>conftest.er1
24822 ac_status=$?
24823 grep -v '^ *+' conftest.er1 >conftest.err
24824 rm -f conftest.er1
24825 cat conftest.err >&5
24826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24827 (exit $ac_status); } &&
24828 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24829 { (case "(($ac_try" in
24830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24831 *) ac_try_echo=$ac_try;;
24832 esac
24833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24834 (eval "$ac_try") 2>&5
24835 ac_status=$?
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); }; } &&
24838 { ac_try='test -s conftest.$ac_objext'
24839 { (case "(($ac_try" in
24840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24841 *) ac_try_echo=$ac_try;;
24842 esac
24843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24844 (eval "$ac_try") 2>&5
24845 ac_status=$?
24846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847 (exit $ac_status); }; }; then
24848
24849 cat >conftest.$ac_ext <<_ACEOF
24850 /* confdefs.h. */
24851 _ACEOF
24852 cat confdefs.h >>conftest.$ac_ext
24853 cat >>conftest.$ac_ext <<_ACEOF
24854 /* end confdefs.h. */
24855
24856 class Foo { public: explicit Foo(int) {} };
24857 static void TakeFoo(const Foo& foo) { }
24858
24859 int
24860 main ()
24861 {
24862
24863 TakeFoo(17);
24864 return 0;
24865
24866 ;
24867 return 0;
24868 }
24869 _ACEOF
24870 rm -f conftest.$ac_objext
24871 if { (ac_try="$ac_compile"
24872 case "(($ac_try" in
24873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24874 *) ac_try_echo=$ac_try;;
24875 esac
24876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24877 (eval "$ac_compile") 2>conftest.er1
24878 ac_status=$?
24879 grep -v '^ *+' conftest.er1 >conftest.err
24880 rm -f conftest.er1
24881 cat conftest.err >&5
24882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24883 (exit $ac_status); } &&
24884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24885 { (case "(($ac_try" in
24886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24887 *) ac_try_echo=$ac_try;;
24888 esac
24889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24890 (eval "$ac_try") 2>&5
24891 ac_status=$?
24892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24893 (exit $ac_status); }; } &&
24894 { ac_try='test -s conftest.$ac_objext'
24895 { (case "(($ac_try" in
24896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24897 *) ac_try_echo=$ac_try;;
24898 esac
24899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24900 (eval "$ac_try") 2>&5
24901 ac_status=$?
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); }; }; then
24904 wx_cv_explicit=no
24905 else
24906 echo "$as_me: failed program was:" >&5
24907 sed 's/^/| /' conftest.$ac_ext >&5
24908
24909 wx_cv_explicit=yes
24910
24911 fi
24912
24913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24914
24915 else
24916 echo "$as_me: failed program was:" >&5
24917 sed 's/^/| /' conftest.$ac_ext >&5
24918
24919 wx_cv_explicit=no
24920
24921 fi
24922
24923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24924
24925 ac_ext=c
24926 ac_cpp='$CPP $CPPFLAGS'
24927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24930
24931
24932 fi
24933 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24934 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24935
24936 if test "$wx_cv_explicit" = "yes"; then
24937 cat >>confdefs.h <<\_ACEOF
24938 #define HAVE_EXPLICIT 1
24939 _ACEOF
24940
24941 fi
24942
24943
24944 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24945 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24946 if test "${ac_cv_cxx_const_cast+set}" = set; then
24947 echo $ECHO_N "(cached) $ECHO_C" >&6
24948 else
24949
24950 ac_ext=cpp
24951 ac_cpp='$CXXCPP $CPPFLAGS'
24952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24955
24956 cat >conftest.$ac_ext <<_ACEOF
24957 /* confdefs.h. */
24958 _ACEOF
24959 cat confdefs.h >>conftest.$ac_ext
24960 cat >>conftest.$ac_ext <<_ACEOF
24961 /* end confdefs.h. */
24962
24963 int
24964 main ()
24965 {
24966 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24967 ;
24968 return 0;
24969 }
24970 _ACEOF
24971 rm -f conftest.$ac_objext
24972 if { (ac_try="$ac_compile"
24973 case "(($ac_try" in
24974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24975 *) ac_try_echo=$ac_try;;
24976 esac
24977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24978 (eval "$ac_compile") 2>conftest.er1
24979 ac_status=$?
24980 grep -v '^ *+' conftest.er1 >conftest.err
24981 rm -f conftest.er1
24982 cat conftest.err >&5
24983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984 (exit $ac_status); } &&
24985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24986 { (case "(($ac_try" in
24987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24988 *) ac_try_echo=$ac_try;;
24989 esac
24990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24991 (eval "$ac_try") 2>&5
24992 ac_status=$?
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); }; } &&
24995 { ac_try='test -s conftest.$ac_objext'
24996 { (case "(($ac_try" in
24997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24998 *) ac_try_echo=$ac_try;;
24999 esac
25000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25001 (eval "$ac_try") 2>&5
25002 ac_status=$?
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); }; }; then
25005 ac_cv_cxx_const_cast=yes
25006 else
25007 echo "$as_me: failed program was:" >&5
25008 sed 's/^/| /' conftest.$ac_ext >&5
25009
25010 ac_cv_cxx_const_cast=no
25011 fi
25012
25013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25014 ac_ext=c
25015 ac_cpp='$CPP $CPPFLAGS'
25016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25019
25020
25021 fi
25022 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
25023 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
25024 if test "$ac_cv_cxx_const_cast" = yes; then
25025
25026 cat >>confdefs.h <<\_ACEOF
25027 #define HAVE_CONST_CAST
25028 _ACEOF
25029
25030 fi
25031
25032 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
25033 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
25034 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
25035 echo $ECHO_N "(cached) $ECHO_C" >&6
25036 else
25037
25038 ac_ext=cpp
25039 ac_cpp='$CXXCPP $CPPFLAGS'
25040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25043
25044 cat >conftest.$ac_ext <<_ACEOF
25045 /* confdefs.h. */
25046 _ACEOF
25047 cat confdefs.h >>conftest.$ac_ext
25048 cat >>conftest.$ac_ext <<_ACEOF
25049 /* end confdefs.h. */
25050 #include <typeinfo>
25051 class Base { public : Base () {} virtual void f () = 0;};
25052 class Derived : public Base { public : Derived () {} virtual void f () {} };
25053 class Unrelated { public : Unrelated () {} };
25054 int g (Unrelated&) { return 0; }
25055 int
25056 main ()
25057 {
25058
25059 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
25060 ;
25061 return 0;
25062 }
25063 _ACEOF
25064 rm -f conftest.$ac_objext
25065 if { (ac_try="$ac_compile"
25066 case "(($ac_try" in
25067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25068 *) ac_try_echo=$ac_try;;
25069 esac
25070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25071 (eval "$ac_compile") 2>conftest.er1
25072 ac_status=$?
25073 grep -v '^ *+' conftest.er1 >conftest.err
25074 rm -f conftest.er1
25075 cat conftest.err >&5
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); } &&
25078 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25079 { (case "(($ac_try" in
25080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25081 *) ac_try_echo=$ac_try;;
25082 esac
25083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25084 (eval "$ac_try") 2>&5
25085 ac_status=$?
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); }; } &&
25088 { ac_try='test -s conftest.$ac_objext'
25089 { (case "(($ac_try" in
25090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25091 *) ac_try_echo=$ac_try;;
25092 esac
25093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25094 (eval "$ac_try") 2>&5
25095 ac_status=$?
25096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097 (exit $ac_status); }; }; then
25098 ac_cv_cxx_reinterpret_cast=yes
25099 else
25100 echo "$as_me: failed program was:" >&5
25101 sed 's/^/| /' conftest.$ac_ext >&5
25102
25103 ac_cv_cxx_reinterpret_cast=no
25104 fi
25105
25106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25107 ac_ext=c
25108 ac_cpp='$CPP $CPPFLAGS'
25109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25112
25113
25114 fi
25115 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
25116 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
25117 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
25118
25119 cat >>confdefs.h <<\_ACEOF
25120 #define HAVE_REINTERPRET_CAST
25121 _ACEOF
25122
25123 fi
25124
25125 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
25126 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
25127 if test "${ac_cv_cxx_static_cast+set}" = set; then
25128 echo $ECHO_N "(cached) $ECHO_C" >&6
25129 else
25130
25131 ac_ext=cpp
25132 ac_cpp='$CXXCPP $CPPFLAGS'
25133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25136
25137 cat >conftest.$ac_ext <<_ACEOF
25138 /* confdefs.h. */
25139 _ACEOF
25140 cat confdefs.h >>conftest.$ac_ext
25141 cat >>conftest.$ac_ext <<_ACEOF
25142 /* end confdefs.h. */
25143 #include <typeinfo>
25144 class Base { public : Base () {} virtual void f () = 0; };
25145 class Derived : public Base { public : Derived () {} virtual void f () {} };
25146 int g (Derived&) { return 0; }
25147 int
25148 main ()
25149 {
25150
25151 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
25152 ;
25153 return 0;
25154 }
25155 _ACEOF
25156 rm -f conftest.$ac_objext
25157 if { (ac_try="$ac_compile"
25158 case "(($ac_try" in
25159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25160 *) ac_try_echo=$ac_try;;
25161 esac
25162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25163 (eval "$ac_compile") 2>conftest.er1
25164 ac_status=$?
25165 grep -v '^ *+' conftest.er1 >conftest.err
25166 rm -f conftest.er1
25167 cat conftest.err >&5
25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169 (exit $ac_status); } &&
25170 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25171 { (case "(($ac_try" in
25172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25173 *) ac_try_echo=$ac_try;;
25174 esac
25175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25176 (eval "$ac_try") 2>&5
25177 ac_status=$?
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); }; } &&
25180 { ac_try='test -s conftest.$ac_objext'
25181 { (case "(($ac_try" in
25182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25183 *) ac_try_echo=$ac_try;;
25184 esac
25185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25186 (eval "$ac_try") 2>&5
25187 ac_status=$?
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); }; }; then
25190 ac_cv_cxx_static_cast=yes
25191 else
25192 echo "$as_me: failed program was:" >&5
25193 sed 's/^/| /' conftest.$ac_ext >&5
25194
25195 ac_cv_cxx_static_cast=no
25196 fi
25197
25198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25199 ac_ext=c
25200 ac_cpp='$CPP $CPPFLAGS'
25201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25204
25205
25206 fi
25207 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
25208 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
25209 if test "$ac_cv_cxx_static_cast" = yes; then
25210
25211 cat >>confdefs.h <<\_ACEOF
25212 #define HAVE_STATIC_CAST
25213 _ACEOF
25214
25215 fi
25216
25217
25218 if test "x$SUNCXX" = xyes; then
25219 CXXFLAGS="-features=tmplife $CXXFLAGS"
25220 fi
25221
25222 if test "x$SUNCC" = xyes; then
25223 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25224 fi
25225
25226 if test "x$SGICC" = "xyes"; then
25227 CFLAGS="-woff 3970 $CFLAGS"
25228 fi
25229 if test "x$SGICXX" = "xyes"; then
25230 CXXFLAGS="-woff 3970 $CXXFLAGS"
25231 fi
25232
25233 if test "x$HPCC" = "xyes"; then
25234 CFLAGS="+W 2011,2450 $CFLAGS"
25235 fi
25236 if test "x$HPCXX" = "xyes"; then
25237 CXXFLAGS="+W 2340 $CXXFLAGS"
25238 fi
25239
25240 if test "x$COMPAQCXX" = "xyes"; then
25241 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25242 fi
25243
25244 ac_ext=cpp
25245 ac_cpp='$CXXCPP $CPPFLAGS'
25246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25249
25250
25251 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25252 if test "$wxUSE_UNICODE" = "yes"; then
25253 std_string="std::wstring"
25254 char_type="wchar_t"
25255 else
25256 std_string="std::string"
25257 char_type="char"
25258 fi
25259
25260 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25261 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25262 if test "${wx_cv_class_stdstring+set}" = set; then
25263 echo $ECHO_N "(cached) $ECHO_C" >&6
25264 else
25265
25266 cat >conftest.$ac_ext <<_ACEOF
25267 /* confdefs.h. */
25268 _ACEOF
25269 cat confdefs.h >>conftest.$ac_ext
25270 cat >>conftest.$ac_ext <<_ACEOF
25271 /* end confdefs.h. */
25272 #include <string>
25273 int
25274 main ()
25275 {
25276 $std_string foo;
25277 ;
25278 return 0;
25279 }
25280 _ACEOF
25281 rm -f conftest.$ac_objext
25282 if { (ac_try="$ac_compile"
25283 case "(($ac_try" in
25284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25285 *) ac_try_echo=$ac_try;;
25286 esac
25287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25288 (eval "$ac_compile") 2>conftest.er1
25289 ac_status=$?
25290 grep -v '^ *+' conftest.er1 >conftest.err
25291 rm -f conftest.er1
25292 cat conftest.err >&5
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); } &&
25295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25296 { (case "(($ac_try" in
25297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25298 *) ac_try_echo=$ac_try;;
25299 esac
25300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25301 (eval "$ac_try") 2>&5
25302 ac_status=$?
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); }; } &&
25305 { ac_try='test -s conftest.$ac_objext'
25306 { (case "(($ac_try" in
25307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25308 *) ac_try_echo=$ac_try;;
25309 esac
25310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25311 (eval "$ac_try") 2>&5
25312 ac_status=$?
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); }; }; then
25315 wx_cv_class_stdstring=yes
25316 else
25317 echo "$as_me: failed program was:" >&5
25318 sed 's/^/| /' conftest.$ac_ext >&5
25319
25320 wx_cv_class_stdstring=no
25321
25322 fi
25323
25324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25325
25326
25327 fi
25328 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25329 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25330
25331 if test "$wx_cv_class_stdstring" = yes; then
25332 if test "$wxUSE_UNICODE" = "yes"; then
25333 cat >>confdefs.h <<\_ACEOF
25334 #define HAVE_STD_WSTRING 1
25335 _ACEOF
25336
25337 fi
25338 else
25339 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25340 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25341 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25342 echo $ECHO_N "(cached) $ECHO_C" >&6
25343 else
25344
25345 cat >conftest.$ac_ext <<_ACEOF
25346 /* confdefs.h. */
25347 _ACEOF
25348 cat confdefs.h >>conftest.$ac_ext
25349 cat >>conftest.$ac_ext <<_ACEOF
25350 /* end confdefs.h. */
25351
25352 #ifdef HAVE_WCHAR_H
25353 # ifdef __CYGWIN__
25354 # include <stddef.h>
25355 # endif
25356 # include <wchar.h>
25357 #endif
25358 #ifdef HAVE_STDLIB_H
25359 # include <stdlib.h>
25360 #endif
25361 #include <stdio.h>
25362 #include <string>
25363
25364 int
25365 main ()
25366 {
25367 std::basic_string<$char_type> foo;
25368 const $char_type* dummy = foo.c_str();
25369 ;
25370 return 0;
25371 }
25372 _ACEOF
25373 rm -f conftest.$ac_objext
25374 if { (ac_try="$ac_compile"
25375 case "(($ac_try" in
25376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25377 *) ac_try_echo=$ac_try;;
25378 esac
25379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25380 (eval "$ac_compile") 2>conftest.er1
25381 ac_status=$?
25382 grep -v '^ *+' conftest.er1 >conftest.err
25383 rm -f conftest.er1
25384 cat conftest.err >&5
25385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386 (exit $ac_status); } &&
25387 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25388 { (case "(($ac_try" in
25389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25390 *) ac_try_echo=$ac_try;;
25391 esac
25392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25393 (eval "$ac_try") 2>&5
25394 ac_status=$?
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); }; } &&
25397 { ac_try='test -s conftest.$ac_objext'
25398 { (case "(($ac_try" in
25399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25400 *) ac_try_echo=$ac_try;;
25401 esac
25402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25403 (eval "$ac_try") 2>&5
25404 ac_status=$?
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); }; }; then
25407 wx_cv_class_stdbasicstring=yes
25408 else
25409 echo "$as_me: failed program was:" >&5
25410 sed 's/^/| /' conftest.$ac_ext >&5
25411
25412 wx_cv_class_stdbasicstring=no
25413
25414 fi
25415
25416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25417
25418
25419 fi
25420 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25421 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25422
25423 if test "$wx_cv_class_stdbasicstring" != yes; then
25424 if test "$wxUSE_STL" = "yes"; then
25425 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25426 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25427 { (exit 1); exit 1; }; }
25428 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
25429 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25430 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25431 { (exit 1); exit 1; }; }
25432 else
25433 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25434 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25435 wxUSE_STD_STRING=no
25436 fi
25437 fi
25438 fi
25439 fi
25440
25441 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25442 { echo "$as_me:$LINENO: checking for std::istream" >&5
25443 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25444 if test "${ac_cv_type_std__istream+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25446 else
25447 cat >conftest.$ac_ext <<_ACEOF
25448 /* confdefs.h. */
25449 _ACEOF
25450 cat confdefs.h >>conftest.$ac_ext
25451 cat >>conftest.$ac_ext <<_ACEOF
25452 /* end confdefs.h. */
25453 #include <iostream>
25454
25455 typedef std::istream ac__type_new_;
25456 int
25457 main ()
25458 {
25459 if ((ac__type_new_ *) 0)
25460 return 0;
25461 if (sizeof (ac__type_new_))
25462 return 0;
25463 ;
25464 return 0;
25465 }
25466 _ACEOF
25467 rm -f conftest.$ac_objext
25468 if { (ac_try="$ac_compile"
25469 case "(($ac_try" in
25470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25471 *) ac_try_echo=$ac_try;;
25472 esac
25473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25474 (eval "$ac_compile") 2>conftest.er1
25475 ac_status=$?
25476 grep -v '^ *+' conftest.er1 >conftest.err
25477 rm -f conftest.er1
25478 cat conftest.err >&5
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); } &&
25481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25482 { (case "(($ac_try" in
25483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25484 *) ac_try_echo=$ac_try;;
25485 esac
25486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25487 (eval "$ac_try") 2>&5
25488 ac_status=$?
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); }; } &&
25491 { ac_try='test -s conftest.$ac_objext'
25492 { (case "(($ac_try" in
25493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25494 *) ac_try_echo=$ac_try;;
25495 esac
25496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25497 (eval "$ac_try") 2>&5
25498 ac_status=$?
25499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25500 (exit $ac_status); }; }; then
25501 ac_cv_type_std__istream=yes
25502 else
25503 echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25505
25506 ac_cv_type_std__istream=no
25507 fi
25508
25509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25510 fi
25511 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25512 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25513 if test $ac_cv_type_std__istream = yes; then
25514
25515 cat >>confdefs.h <<_ACEOF
25516 #define HAVE_STD__ISTREAM 1
25517 _ACEOF
25518
25519
25520 else
25521 wxUSE_STD_IOSTREAM=no
25522 fi
25523 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25524 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25525 if test "${ac_cv_type_std__ostream+set}" = set; then
25526 echo $ECHO_N "(cached) $ECHO_C" >&6
25527 else
25528 cat >conftest.$ac_ext <<_ACEOF
25529 /* confdefs.h. */
25530 _ACEOF
25531 cat confdefs.h >>conftest.$ac_ext
25532 cat >>conftest.$ac_ext <<_ACEOF
25533 /* end confdefs.h. */
25534 #include <iostream>
25535
25536 typedef std::ostream ac__type_new_;
25537 int
25538 main ()
25539 {
25540 if ((ac__type_new_ *) 0)
25541 return 0;
25542 if (sizeof (ac__type_new_))
25543 return 0;
25544 ;
25545 return 0;
25546 }
25547 _ACEOF
25548 rm -f conftest.$ac_objext
25549 if { (ac_try="$ac_compile"
25550 case "(($ac_try" in
25551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25552 *) ac_try_echo=$ac_try;;
25553 esac
25554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25555 (eval "$ac_compile") 2>conftest.er1
25556 ac_status=$?
25557 grep -v '^ *+' conftest.er1 >conftest.err
25558 rm -f conftest.er1
25559 cat conftest.err >&5
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); } &&
25562 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25563 { (case "(($ac_try" in
25564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25565 *) ac_try_echo=$ac_try;;
25566 esac
25567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25568 (eval "$ac_try") 2>&5
25569 ac_status=$?
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); }; } &&
25572 { ac_try='test -s conftest.$ac_objext'
25573 { (case "(($ac_try" in
25574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25575 *) ac_try_echo=$ac_try;;
25576 esac
25577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25578 (eval "$ac_try") 2>&5
25579 ac_status=$?
25580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581 (exit $ac_status); }; }; then
25582 ac_cv_type_std__ostream=yes
25583 else
25584 echo "$as_me: failed program was:" >&5
25585 sed 's/^/| /' conftest.$ac_ext >&5
25586
25587 ac_cv_type_std__ostream=no
25588 fi
25589
25590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25591 fi
25592 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25593 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25594 if test $ac_cv_type_std__ostream = yes; then
25595
25596 cat >>confdefs.h <<_ACEOF
25597 #define HAVE_STD__OSTREAM 1
25598 _ACEOF
25599
25600
25601 else
25602 wxUSE_STD_IOSTREAM=no
25603 fi
25604
25605
25606 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25607 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
25608 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25609 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25610 { (exit 1); exit 1; }; }
25611 else
25612 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25613 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25614 fi
25615 fi
25616 fi
25617
25618 if test "$wxUSE_STL" = "yes"; then
25619 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25620 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25621 if test "${wx_cv_lib_stl+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25623 else
25624 cat >conftest.$ac_ext <<_ACEOF
25625 /* confdefs.h. */
25626 _ACEOF
25627 cat confdefs.h >>conftest.$ac_ext
25628 cat >>conftest.$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25630 #include <string>
25631 #include <functional>
25632 #include <algorithm>
25633 #include <vector>
25634 #include <list>
25635 int
25636 main ()
25637 {
25638 std::vector<int> moo;
25639 std::list<int> foo;
25640 std::vector<int>::iterator it =
25641 std::find_if(moo.begin(), moo.end(),
25642 std::bind2nd(std::less<int>(), 3));
25643 ;
25644 return 0;
25645 }
25646 _ACEOF
25647 rm -f conftest.$ac_objext
25648 if { (ac_try="$ac_compile"
25649 case "(($ac_try" in
25650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25651 *) ac_try_echo=$ac_try;;
25652 esac
25653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25654 (eval "$ac_compile") 2>conftest.er1
25655 ac_status=$?
25656 grep -v '^ *+' conftest.er1 >conftest.err
25657 rm -f conftest.er1
25658 cat conftest.err >&5
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); } &&
25661 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25662 { (case "(($ac_try" in
25663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25664 *) ac_try_echo=$ac_try;;
25665 esac
25666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25667 (eval "$ac_try") 2>&5
25668 ac_status=$?
25669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25670 (exit $ac_status); }; } &&
25671 { ac_try='test -s conftest.$ac_objext'
25672 { (case "(($ac_try" in
25673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25674 *) ac_try_echo=$ac_try;;
25675 esac
25676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25677 (eval "$ac_try") 2>&5
25678 ac_status=$?
25679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680 (exit $ac_status); }; }; then
25681 wx_cv_lib_stl=yes
25682 else
25683 echo "$as_me: failed program was:" >&5
25684 sed 's/^/| /' conftest.$ac_ext >&5
25685
25686 wx_cv_lib_stl=no
25687
25688 fi
25689
25690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25691
25692 fi
25693 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25694 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25695
25696 if test "$wx_cv_lib_stl" != yes; then
25697 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25698 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25699 { (exit 1); exit 1; }; }
25700 fi
25701
25702 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25703 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25704 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 else
25707 cat >conftest.$ac_ext <<_ACEOF
25708 /* confdefs.h. */
25709 _ACEOF
25710 cat confdefs.h >>conftest.$ac_ext
25711 cat >>conftest.$ac_ext <<_ACEOF
25712 /* end confdefs.h. */
25713 #include <string>
25714 int
25715 main ()
25716 {
25717 std::string foo, bar;
25718 foo.compare(bar);
25719 foo.compare(1, 1, bar);
25720 foo.compare(1, 1, bar, 1, 1);
25721 foo.compare("");
25722 foo.compare(1, 1, "");
25723 foo.compare(1, 1, "", 2);
25724 ;
25725 return 0;
25726 }
25727 _ACEOF
25728 rm -f conftest.$ac_objext
25729 if { (ac_try="$ac_compile"
25730 case "(($ac_try" in
25731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25732 *) ac_try_echo=$ac_try;;
25733 esac
25734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25735 (eval "$ac_compile") 2>conftest.er1
25736 ac_status=$?
25737 grep -v '^ *+' conftest.er1 >conftest.err
25738 rm -f conftest.er1
25739 cat conftest.err >&5
25740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25741 (exit $ac_status); } &&
25742 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25743 { (case "(($ac_try" in
25744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25745 *) ac_try_echo=$ac_try;;
25746 esac
25747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25748 (eval "$ac_try") 2>&5
25749 ac_status=$?
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); }; } &&
25752 { ac_try='test -s conftest.$ac_objext'
25753 { (case "(($ac_try" in
25754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25755 *) ac_try_echo=$ac_try;;
25756 esac
25757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25758 (eval "$ac_try") 2>&5
25759 ac_status=$?
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; }; then
25762 wx_cv_func_stdstring_compare=yes
25763 else
25764 echo "$as_me: failed program was:" >&5
25765 sed 's/^/| /' conftest.$ac_ext >&5
25766
25767 wx_cv_func_stdstring_compare=no
25768
25769 fi
25770
25771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25772
25773 fi
25774 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25775 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25776
25777 if test "$wx_cv_func_stdstring_compare" = yes; then
25778 cat >>confdefs.h <<\_ACEOF
25779 #define HAVE_STD_STRING_COMPARE 1
25780 _ACEOF
25781
25782 fi
25783
25784 { echo "$as_me:$LINENO: checking for hash_map" >&5
25785 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25786 if test "${ac_cv_header_hash_map+set}" = set; then
25787 echo $ECHO_N "(cached) $ECHO_C" >&6
25788 else
25789 cat >conftest.$ac_ext <<_ACEOF
25790 /* confdefs.h. */
25791 _ACEOF
25792 cat confdefs.h >>conftest.$ac_ext
25793 cat >>conftest.$ac_ext <<_ACEOF
25794 /* end confdefs.h. */
25795
25796
25797
25798 #include <hash_map>
25799 _ACEOF
25800 rm -f conftest.$ac_objext
25801 if { (ac_try="$ac_compile"
25802 case "(($ac_try" in
25803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25804 *) ac_try_echo=$ac_try;;
25805 esac
25806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25807 (eval "$ac_compile") 2>conftest.er1
25808 ac_status=$?
25809 grep -v '^ *+' conftest.er1 >conftest.err
25810 rm -f conftest.er1
25811 cat conftest.err >&5
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); } &&
25814 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25815 { (case "(($ac_try" in
25816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25817 *) ac_try_echo=$ac_try;;
25818 esac
25819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25820 (eval "$ac_try") 2>&5
25821 ac_status=$?
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); }; } &&
25824 { ac_try='test -s conftest.$ac_objext'
25825 { (case "(($ac_try" in
25826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25827 *) ac_try_echo=$ac_try;;
25828 esac
25829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25830 (eval "$ac_try") 2>&5
25831 ac_status=$?
25832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25833 (exit $ac_status); }; }; then
25834 ac_cv_header_hash_map=yes
25835 else
25836 echo "$as_me: failed program was:" >&5
25837 sed 's/^/| /' conftest.$ac_ext >&5
25838
25839 ac_cv_header_hash_map=no
25840 fi
25841
25842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25843 fi
25844 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25845 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25846 if test $ac_cv_header_hash_map = yes; then
25847 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
25848 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
25849 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25850 echo $ECHO_N "(cached) $ECHO_C" >&6
25851 else
25852 cat >conftest.$ac_ext <<_ACEOF
25853 /* confdefs.h. */
25854 _ACEOF
25855 cat confdefs.h >>conftest.$ac_ext
25856 cat >>conftest.$ac_ext <<_ACEOF
25857 /* end confdefs.h. */
25858 #include <hash_map>
25859 #include <hash_set>
25860 int
25861 main ()
25862 {
25863 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25864 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25865 ;
25866 return 0;
25867 }
25868 _ACEOF
25869 rm -f conftest.$ac_objext
25870 if { (ac_try="$ac_compile"
25871 case "(($ac_try" in
25872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25873 *) ac_try_echo=$ac_try;;
25874 esac
25875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25876 (eval "$ac_compile") 2>conftest.er1
25877 ac_status=$?
25878 grep -v '^ *+' conftest.er1 >conftest.err
25879 rm -f conftest.er1
25880 cat conftest.err >&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); } &&
25883 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25884 { (case "(($ac_try" in
25885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25886 *) ac_try_echo=$ac_try;;
25887 esac
25888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25889 (eval "$ac_try") 2>&5
25890 ac_status=$?
25891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25892 (exit $ac_status); }; } &&
25893 { ac_try='test -s conftest.$ac_objext'
25894 { (case "(($ac_try" in
25895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25896 *) ac_try_echo=$ac_try;;
25897 esac
25898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25899 (eval "$ac_try") 2>&5
25900 ac_status=$?
25901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902 (exit $ac_status); }; }; then
25903 wx_cv_class_stdhashmapset=yes
25904 else
25905 echo "$as_me: failed program was:" >&5
25906 sed 's/^/| /' conftest.$ac_ext >&5
25907
25908 wx_cv_class_stdhashmapset=no
25909 fi
25910
25911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25912
25913
25914 fi
25915 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25916 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25917 fi
25918
25919
25920
25921 if test "$wx_cv_class_stdhashmapset" = yes; then
25922 cat >>confdefs.h <<\_ACEOF
25923 #define HAVE_HASH_MAP 1
25924 _ACEOF
25925
25926 cat >>confdefs.h <<\_ACEOF
25927 #define HAVE_STD_HASH_MAP 1
25928 _ACEOF
25929
25930 fi
25931
25932 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25933 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25934 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25935 echo $ECHO_N "(cached) $ECHO_C" >&6
25936 else
25937 cat >conftest.$ac_ext <<_ACEOF
25938 /* confdefs.h. */
25939 _ACEOF
25940 cat confdefs.h >>conftest.$ac_ext
25941 cat >>conftest.$ac_ext <<_ACEOF
25942 /* end confdefs.h. */
25943
25944
25945
25946 #include <ext/hash_map>
25947 _ACEOF
25948 rm -f conftest.$ac_objext
25949 if { (ac_try="$ac_compile"
25950 case "(($ac_try" in
25951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25952 *) ac_try_echo=$ac_try;;
25953 esac
25954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25955 (eval "$ac_compile") 2>conftest.er1
25956 ac_status=$?
25957 grep -v '^ *+' conftest.er1 >conftest.err
25958 rm -f conftest.er1
25959 cat conftest.err >&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); } &&
25962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25963 { (case "(($ac_try" in
25964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25965 *) ac_try_echo=$ac_try;;
25966 esac
25967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25968 (eval "$ac_try") 2>&5
25969 ac_status=$?
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); }; } &&
25972 { ac_try='test -s conftest.$ac_objext'
25973 { (case "(($ac_try" in
25974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25975 *) ac_try_echo=$ac_try;;
25976 esac
25977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25978 (eval "$ac_try") 2>&5
25979 ac_status=$?
25980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25981 (exit $ac_status); }; }; then
25982 ac_cv_header_ext_hash_map=yes
25983 else
25984 echo "$as_me: failed program was:" >&5
25985 sed 's/^/| /' conftest.$ac_ext >&5
25986
25987 ac_cv_header_ext_hash_map=no
25988 fi
25989
25990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25991 fi
25992 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25993 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25994 if test $ac_cv_header_ext_hash_map = yes; then
25995 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25996 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25997 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25998 echo $ECHO_N "(cached) $ECHO_C" >&6
25999 else
26000 cat >conftest.$ac_ext <<_ACEOF
26001 /* confdefs.h. */
26002 _ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006 #include <ext/hash_map>
26007 #include <ext/hash_set>
26008 int
26009 main ()
26010 {
26011 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26012 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26013 ;
26014 return 0;
26015 }
26016 _ACEOF
26017 rm -f conftest.$ac_objext
26018 if { (ac_try="$ac_compile"
26019 case "(($ac_try" in
26020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26021 *) ac_try_echo=$ac_try;;
26022 esac
26023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26024 (eval "$ac_compile") 2>conftest.er1
26025 ac_status=$?
26026 grep -v '^ *+' conftest.er1 >conftest.err
26027 rm -f conftest.er1
26028 cat conftest.err >&5
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); } &&
26031 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26032 { (case "(($ac_try" in
26033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26034 *) ac_try_echo=$ac_try;;
26035 esac
26036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26037 (eval "$ac_try") 2>&5
26038 ac_status=$?
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); }; } &&
26041 { ac_try='test -s conftest.$ac_objext'
26042 { (case "(($ac_try" in
26043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26044 *) ac_try_echo=$ac_try;;
26045 esac
26046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26047 (eval "$ac_try") 2>&5
26048 ac_status=$?
26049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050 (exit $ac_status); }; }; then
26051 wx_cv_class_gnuhashmapset=yes
26052 else
26053 echo "$as_me: failed program was:" >&5
26054 sed 's/^/| /' conftest.$ac_ext >&5
26055
26056 wx_cv_class_gnuhashmapset=no
26057 fi
26058
26059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26060
26061
26062 fi
26063 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26064 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26065 fi
26066
26067
26068
26069 if test "$wx_cv_class_gnuhashmapset" = yes; then
26070 cat >>confdefs.h <<\_ACEOF
26071 #define HAVE_EXT_HASH_MAP 1
26072 _ACEOF
26073
26074 cat >>confdefs.h <<\_ACEOF
26075 #define HAVE_GNU_CXX_HASH_MAP 1
26076 _ACEOF
26077
26078 fi
26079 fi
26080
26081 ac_ext=c
26082 ac_cpp='$CPP $CPPFLAGS'
26083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26086
26087
26088
26089 SEARCH_INCLUDE="\
26090 /usr/local/include \
26091 \
26092 /usr/Motif-2.1/include \
26093 /usr/Motif-1.2/include \
26094 /usr/include/Motif1.2 \
26095 \
26096 /usr/dt/include \
26097 /usr/openwin/include \
26098 \
26099 /usr/include/Xm \
26100 \
26101 /usr/X11R6/include \
26102 /usr/X11R6.4/include \
26103 /usr/X11R5/include \
26104 /usr/X11R4/include \
26105 \
26106 /usr/include/X11R6 \
26107 /usr/include/X11R5 \
26108 /usr/include/X11R4 \
26109 \
26110 /usr/local/X11R6/include \
26111 /usr/local/X11R5/include \
26112 /usr/local/X11R4/include \
26113 \
26114 /usr/local/include/X11R6 \
26115 /usr/local/include/X11R5 \
26116 /usr/local/include/X11R4 \
26117 \
26118 /usr/X11/include \
26119 /usr/include/X11 \
26120 /usr/local/X11/include \
26121 /usr/local/include/X11 \
26122 \
26123 /usr/XFree86/include/X11 \
26124 /usr/pkg/include \
26125 \
26126 /usr/openwin/share/include"
26127
26128 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26129 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26130
26131 case "${host}" in
26132 *-*-irix6* )
26133 if test "${wx_cv_std_libpath+set}" = set; then
26134 echo $ECHO_N "(cached) $ECHO_C" >&6
26135 else
26136
26137 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26138 for e in a so sl dylib dll.a; do
26139 libc="$d/libc.$e"
26140 if test -f $libc; then
26141 save_LIBS="$LIBS"
26142 LIBS="$libc"
26143 cat >conftest.$ac_ext <<_ACEOF
26144 int main() { return 0; }
26145 _ACEOF
26146 rm -f conftest.$ac_objext conftest$ac_exeext
26147 if { (ac_try="$ac_link"
26148 case "(($ac_try" in
26149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26150 *) ac_try_echo=$ac_try;;
26151 esac
26152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26153 (eval "$ac_link") 2>conftest.er1
26154 ac_status=$?
26155 grep -v '^ *+' conftest.er1 >conftest.err
26156 rm -f conftest.er1
26157 cat conftest.err >&5
26158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159 (exit $ac_status); } &&
26160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26161 { (case "(($ac_try" in
26162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26163 *) ac_try_echo=$ac_try;;
26164 esac
26165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26166 (eval "$ac_try") 2>&5
26167 ac_status=$?
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); }; } &&
26170 { ac_try='test -s conftest$ac_exeext'
26171 { (case "(($ac_try" in
26172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26173 *) ac_try_echo=$ac_try;;
26174 esac
26175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26176 (eval "$ac_try") 2>&5
26177 ac_status=$?
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); }; }; then
26180 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26181 else
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26184
26185
26186 fi
26187
26188 rm -f core conftest.err conftest.$ac_objext \
26189 conftest$ac_exeext conftest.$ac_ext
26190 LIBS="$save_LIBS"
26191 if test "x$wx_cv_std_libpath" != "x"; then
26192 break 2
26193 fi
26194 fi
26195 done
26196 done
26197 if test "x$wx_cv_std_libpath" = "x"; then
26198 wx_cv_std_libpath="lib"
26199 fi
26200
26201
26202 fi
26203
26204 ;;
26205
26206 *-*-solaris2* )
26207 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26208 wx_cv_std_libpath="lib/64"
26209 else
26210 wx_cv_std_libpath="lib"
26211 fi
26212 ;;
26213
26214 *-*-linux* )
26215 if test "$ac_cv_sizeof_void_p" = 8 -a \
26216 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26217 wx_cv_std_libpath="lib64"
26218 else
26219 wx_cv_std_libpath="lib"
26220 fi
26221 ;;
26222
26223 *)
26224 wx_cv_std_libpath="lib";
26225 ;;
26226 esac
26227
26228 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26229 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26230
26231 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26232
26233 if test "$build" != "$host" -a "$GCC" = yes; then
26234 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26235 cross_root=`dirname $cross_root`
26236 cross_root=`dirname $cross_root`
26237
26238 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26239 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26240 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26241
26242 if test -z "$PKG_CONFIG_PATH"; then
26243 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26244 export PKG_CONFIG_PATH
26245 fi
26246
26247 if test -z "$x_includes" -o "$x_includes" = NONE; then
26248
26249 ac_find_includes=
26250 for ac_dir in $SEARCH_INCLUDE /usr/include;
26251 do
26252 if test -f "$ac_dir/X11/Intrinsic.h"; then
26253 ac_find_includes=$ac_dir
26254 break
26255 fi
26256 done
26257
26258 x_includes=$ac_find_includes
26259 fi
26260 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26261
26262 ac_find_libraries=
26263 for ac_dir in $SEARCH_LIB;
26264 do
26265 for ac_extension in a so sl dylib dll.a; do
26266 if test -f "$ac_dir/libXt.$ac_extension"; then
26267 ac_find_libraries=$ac_dir
26268 break 2
26269 fi
26270 done
26271 done
26272
26273 x_libraries=$ac_find_libraries
26274 fi
26275 fi
26276 fi
26277
26278
26279 cat >confcache <<\_ACEOF
26280 # This file is a shell script that caches the results of configure
26281 # tests run on this system so they can be shared between configure
26282 # scripts and configure runs, see configure's option --config-cache.
26283 # It is not useful on other systems. If it contains results you don't
26284 # want to keep, you may remove or edit it.
26285 #
26286 # config.status only pays attention to the cache file if you give it
26287 # the --recheck option to rerun configure.
26288 #
26289 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26290 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26291 # following values.
26292
26293 _ACEOF
26294
26295 # The following way of writing the cache mishandles newlines in values,
26296 # but we know of no workaround that is simple, portable, and efficient.
26297 # So, we kill variables containing newlines.
26298 # Ultrix sh set writes to stderr and can't be redirected directly,
26299 # and sets the high bit in the cache file unless we assign to the vars.
26300 (
26301 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26302 eval ac_val=\$$ac_var
26303 case $ac_val in #(
26304 *${as_nl}*)
26305 case $ac_var in #(
26306 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26307 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26308 esac
26309 case $ac_var in #(
26310 _ | IFS | as_nl) ;; #(
26311 *) $as_unset $ac_var ;;
26312 esac ;;
26313 esac
26314 done
26315
26316 (set) 2>&1 |
26317 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26318 *${as_nl}ac_space=\ *)
26319 # `set' does not quote correctly, so add quotes (double-quote
26320 # substitution turns \\\\ into \\, and sed turns \\ into \).
26321 sed -n \
26322 "s/'/'\\\\''/g;
26323 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26324 ;; #(
26325 *)
26326 # `set' quotes correctly as required by POSIX, so do not add quotes.
26327 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26328 ;;
26329 esac |
26330 sort
26331 ) |
26332 sed '
26333 /^ac_cv_env_/b end
26334 t clear
26335 :clear
26336 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26337 t end
26338 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26339 :end' >>confcache
26340 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26341 if test -w "$cache_file"; then
26342 test "x$cache_file" != "x/dev/null" &&
26343 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26344 echo "$as_me: updating cache $cache_file" >&6;}
26345 cat confcache >$cache_file
26346 else
26347 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26348 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26349 fi
26350 fi
26351 rm -f confcache
26352
26353 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26354 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26355 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26356 if test "${wx_cv_lib_glibc21+set}" = set; then
26357 echo $ECHO_N "(cached) $ECHO_C" >&6
26358 else
26359
26360 cat >conftest.$ac_ext <<_ACEOF
26361 /* confdefs.h. */
26362 _ACEOF
26363 cat confdefs.h >>conftest.$ac_ext
26364 cat >>conftest.$ac_ext <<_ACEOF
26365 /* end confdefs.h. */
26366 #include <features.h>
26367 int
26368 main ()
26369 {
26370
26371 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26372 not glibc 2.1
26373 #endif
26374
26375 ;
26376 return 0;
26377 }
26378 _ACEOF
26379 rm -f conftest.$ac_objext
26380 if { (ac_try="$ac_compile"
26381 case "(($ac_try" in
26382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26383 *) ac_try_echo=$ac_try;;
26384 esac
26385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26386 (eval "$ac_compile") 2>conftest.er1
26387 ac_status=$?
26388 grep -v '^ *+' conftest.er1 >conftest.err
26389 rm -f conftest.er1
26390 cat conftest.err >&5
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); } &&
26393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26394 { (case "(($ac_try" in
26395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26396 *) ac_try_echo=$ac_try;;
26397 esac
26398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26399 (eval "$ac_try") 2>&5
26400 ac_status=$?
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); }; } &&
26403 { ac_try='test -s conftest.$ac_objext'
26404 { (case "(($ac_try" in
26405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26406 *) ac_try_echo=$ac_try;;
26407 esac
26408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26409 (eval "$ac_try") 2>&5
26410 ac_status=$?
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); }; }; then
26413
26414 wx_cv_lib_glibc21=yes
26415
26416 else
26417 echo "$as_me: failed program was:" >&5
26418 sed 's/^/| /' conftest.$ac_ext >&5
26419
26420
26421 wx_cv_lib_glibc21=no
26422
26423
26424 fi
26425
26426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26427
26428 fi
26429 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26430 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26431 if test "$wx_cv_lib_glibc21" = "yes"; then
26432 cat >>confdefs.h <<\_ACEOF
26433 #define wxHAVE_GLIBC2 1
26434 _ACEOF
26435
26436 fi
26437 fi
26438
26439 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26440 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26441 cat >>confdefs.h <<\_ACEOF
26442 #define _GNU_SOURCE 1
26443 _ACEOF
26444
26445 fi
26446 fi
26447
26448 have_cos=0
26449 have_floor=0
26450
26451 for ac_func in cos
26452 do
26453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26454 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26456 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26458 else
26459 cat >conftest.$ac_ext <<_ACEOF
26460 /* confdefs.h. */
26461 _ACEOF
26462 cat confdefs.h >>conftest.$ac_ext
26463 cat >>conftest.$ac_ext <<_ACEOF
26464 /* end confdefs.h. */
26465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26467 #define $ac_func innocuous_$ac_func
26468
26469 /* System header to define __stub macros and hopefully few prototypes,
26470 which can conflict with char $ac_func (); below.
26471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26472 <limits.h> exists even on freestanding compilers. */
26473
26474 #ifdef __STDC__
26475 # include <limits.h>
26476 #else
26477 # include <assert.h>
26478 #endif
26479
26480 #undef $ac_func
26481
26482 /* Override any GCC internal prototype to avoid an error.
26483 Use char because int might match the return type of a GCC
26484 builtin and then its argument prototype would still apply. */
26485 #ifdef __cplusplus
26486 extern "C"
26487 #endif
26488 char $ac_func ();
26489 /* The GNU C library defines this for functions which it implements
26490 to always fail with ENOSYS. Some functions are actually named
26491 something starting with __ and the normal name is an alias. */
26492 #if defined __stub_$ac_func || defined __stub___$ac_func
26493 choke me
26494 #endif
26495
26496 int
26497 main ()
26498 {
26499 return $ac_func ();
26500 ;
26501 return 0;
26502 }
26503 _ACEOF
26504 rm -f conftest.$ac_objext conftest$ac_exeext
26505 if { (ac_try="$ac_link"
26506 case "(($ac_try" in
26507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26508 *) ac_try_echo=$ac_try;;
26509 esac
26510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26511 (eval "$ac_link") 2>conftest.er1
26512 ac_status=$?
26513 grep -v '^ *+' conftest.er1 >conftest.err
26514 rm -f conftest.er1
26515 cat conftest.err >&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); } &&
26518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26519 { (case "(($ac_try" in
26520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26521 *) ac_try_echo=$ac_try;;
26522 esac
26523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26524 (eval "$ac_try") 2>&5
26525 ac_status=$?
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); }; } &&
26528 { ac_try='test -s conftest$ac_exeext'
26529 { (case "(($ac_try" in
26530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26531 *) ac_try_echo=$ac_try;;
26532 esac
26533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26534 (eval "$ac_try") 2>&5
26535 ac_status=$?
26536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537 (exit $ac_status); }; }; then
26538 eval "$as_ac_var=yes"
26539 else
26540 echo "$as_me: failed program was:" >&5
26541 sed 's/^/| /' conftest.$ac_ext >&5
26542
26543 eval "$as_ac_var=no"
26544 fi
26545
26546 rm -f core conftest.err conftest.$ac_objext \
26547 conftest$ac_exeext conftest.$ac_ext
26548 fi
26549 ac_res=`eval echo '${'$as_ac_var'}'`
26550 { echo "$as_me:$LINENO: result: $ac_res" >&5
26551 echo "${ECHO_T}$ac_res" >&6; }
26552 if test `eval echo '${'$as_ac_var'}'` = yes; then
26553 cat >>confdefs.h <<_ACEOF
26554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26555 _ACEOF
26556 have_cos=1
26557 fi
26558 done
26559
26560
26561 for ac_func in floor
26562 do
26563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26564 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26567 echo $ECHO_N "(cached) $ECHO_C" >&6
26568 else
26569 cat >conftest.$ac_ext <<_ACEOF
26570 /* confdefs.h. */
26571 _ACEOF
26572 cat confdefs.h >>conftest.$ac_ext
26573 cat >>conftest.$ac_ext <<_ACEOF
26574 /* end confdefs.h. */
26575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26577 #define $ac_func innocuous_$ac_func
26578
26579 /* System header to define __stub macros and hopefully few prototypes,
26580 which can conflict with char $ac_func (); below.
26581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26582 <limits.h> exists even on freestanding compilers. */
26583
26584 #ifdef __STDC__
26585 # include <limits.h>
26586 #else
26587 # include <assert.h>
26588 #endif
26589
26590 #undef $ac_func
26591
26592 /* Override any GCC internal prototype to avoid an error.
26593 Use char because int might match the return type of a GCC
26594 builtin and then its argument prototype would still apply. */
26595 #ifdef __cplusplus
26596 extern "C"
26597 #endif
26598 char $ac_func ();
26599 /* The GNU C library defines this for functions which it implements
26600 to always fail with ENOSYS. Some functions are actually named
26601 something starting with __ and the normal name is an alias. */
26602 #if defined __stub_$ac_func || defined __stub___$ac_func
26603 choke me
26604 #endif
26605
26606 int
26607 main ()
26608 {
26609 return $ac_func ();
26610 ;
26611 return 0;
26612 }
26613 _ACEOF
26614 rm -f conftest.$ac_objext conftest$ac_exeext
26615 if { (ac_try="$ac_link"
26616 case "(($ac_try" in
26617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26618 *) ac_try_echo=$ac_try;;
26619 esac
26620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26621 (eval "$ac_link") 2>conftest.er1
26622 ac_status=$?
26623 grep -v '^ *+' conftest.er1 >conftest.err
26624 rm -f conftest.er1
26625 cat conftest.err >&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } &&
26628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26629 { (case "(($ac_try" in
26630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26631 *) ac_try_echo=$ac_try;;
26632 esac
26633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26634 (eval "$ac_try") 2>&5
26635 ac_status=$?
26636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26637 (exit $ac_status); }; } &&
26638 { ac_try='test -s conftest$ac_exeext'
26639 { (case "(($ac_try" in
26640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26641 *) ac_try_echo=$ac_try;;
26642 esac
26643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26644 (eval "$ac_try") 2>&5
26645 ac_status=$?
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; }; then
26648 eval "$as_ac_var=yes"
26649 else
26650 echo "$as_me: failed program was:" >&5
26651 sed 's/^/| /' conftest.$ac_ext >&5
26652
26653 eval "$as_ac_var=no"
26654 fi
26655
26656 rm -f core conftest.err conftest.$ac_objext \
26657 conftest$ac_exeext conftest.$ac_ext
26658 fi
26659 ac_res=`eval echo '${'$as_ac_var'}'`
26660 { echo "$as_me:$LINENO: result: $ac_res" >&5
26661 echo "${ECHO_T}$ac_res" >&6; }
26662 if test `eval echo '${'$as_ac_var'}'` = yes; then
26663 cat >>confdefs.h <<_ACEOF
26664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26665 _ACEOF
26666 have_floor=1
26667 fi
26668 done
26669
26670 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26671 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26672 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26673 { echo "$as_me:$LINENO: result: yes" >&5
26674 echo "${ECHO_T}yes" >&6; }
26675 else
26676 { echo "$as_me:$LINENO: result: no" >&5
26677 echo "${ECHO_T}no" >&6; }
26678 LIBS="$LIBS -lm"
26679 # use different functions to avoid configure caching
26680 have_sin=0
26681 have_ceil=0
26682
26683 for ac_func in sin
26684 do
26685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26686 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26688 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26689 echo $ECHO_N "(cached) $ECHO_C" >&6
26690 else
26691 cat >conftest.$ac_ext <<_ACEOF
26692 /* confdefs.h. */
26693 _ACEOF
26694 cat confdefs.h >>conftest.$ac_ext
26695 cat >>conftest.$ac_ext <<_ACEOF
26696 /* end confdefs.h. */
26697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26699 #define $ac_func innocuous_$ac_func
26700
26701 /* System header to define __stub macros and hopefully few prototypes,
26702 which can conflict with char $ac_func (); below.
26703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26704 <limits.h> exists even on freestanding compilers. */
26705
26706 #ifdef __STDC__
26707 # include <limits.h>
26708 #else
26709 # include <assert.h>
26710 #endif
26711
26712 #undef $ac_func
26713
26714 /* Override any GCC internal prototype to avoid an error.
26715 Use char because int might match the return type of a GCC
26716 builtin and then its argument prototype would still apply. */
26717 #ifdef __cplusplus
26718 extern "C"
26719 #endif
26720 char $ac_func ();
26721 /* The GNU C library defines this for functions which it implements
26722 to always fail with ENOSYS. Some functions are actually named
26723 something starting with __ and the normal name is an alias. */
26724 #if defined __stub_$ac_func || defined __stub___$ac_func
26725 choke me
26726 #endif
26727
26728 int
26729 main ()
26730 {
26731 return $ac_func ();
26732 ;
26733 return 0;
26734 }
26735 _ACEOF
26736 rm -f conftest.$ac_objext conftest$ac_exeext
26737 if { (ac_try="$ac_link"
26738 case "(($ac_try" in
26739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26740 *) ac_try_echo=$ac_try;;
26741 esac
26742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26743 (eval "$ac_link") 2>conftest.er1
26744 ac_status=$?
26745 grep -v '^ *+' conftest.er1 >conftest.err
26746 rm -f conftest.er1
26747 cat conftest.err >&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } &&
26750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26751 { (case "(($ac_try" in
26752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26753 *) ac_try_echo=$ac_try;;
26754 esac
26755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26756 (eval "$ac_try") 2>&5
26757 ac_status=$?
26758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759 (exit $ac_status); }; } &&
26760 { ac_try='test -s conftest$ac_exeext'
26761 { (case "(($ac_try" in
26762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26763 *) ac_try_echo=$ac_try;;
26764 esac
26765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26766 (eval "$ac_try") 2>&5
26767 ac_status=$?
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); }; }; then
26770 eval "$as_ac_var=yes"
26771 else
26772 echo "$as_me: failed program was:" >&5
26773 sed 's/^/| /' conftest.$ac_ext >&5
26774
26775 eval "$as_ac_var=no"
26776 fi
26777
26778 rm -f core conftest.err conftest.$ac_objext \
26779 conftest$ac_exeext conftest.$ac_ext
26780 fi
26781 ac_res=`eval echo '${'$as_ac_var'}'`
26782 { echo "$as_me:$LINENO: result: $ac_res" >&5
26783 echo "${ECHO_T}$ac_res" >&6; }
26784 if test `eval echo '${'$as_ac_var'}'` = yes; then
26785 cat >>confdefs.h <<_ACEOF
26786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26787 _ACEOF
26788 have_sin=1
26789 fi
26790 done
26791
26792
26793 for ac_func in ceil
26794 do
26795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26798 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26799 echo $ECHO_N "(cached) $ECHO_C" >&6
26800 else
26801 cat >conftest.$ac_ext <<_ACEOF
26802 /* confdefs.h. */
26803 _ACEOF
26804 cat confdefs.h >>conftest.$ac_ext
26805 cat >>conftest.$ac_ext <<_ACEOF
26806 /* end confdefs.h. */
26807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26809 #define $ac_func innocuous_$ac_func
26810
26811 /* System header to define __stub macros and hopefully few prototypes,
26812 which can conflict with char $ac_func (); below.
26813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26814 <limits.h> exists even on freestanding compilers. */
26815
26816 #ifdef __STDC__
26817 # include <limits.h>
26818 #else
26819 # include <assert.h>
26820 #endif
26821
26822 #undef $ac_func
26823
26824 /* Override any GCC internal prototype to avoid an error.
26825 Use char because int might match the return type of a GCC
26826 builtin and then its argument prototype would still apply. */
26827 #ifdef __cplusplus
26828 extern "C"
26829 #endif
26830 char $ac_func ();
26831 /* The GNU C library defines this for functions which it implements
26832 to always fail with ENOSYS. Some functions are actually named
26833 something starting with __ and the normal name is an alias. */
26834 #if defined __stub_$ac_func || defined __stub___$ac_func
26835 choke me
26836 #endif
26837
26838 int
26839 main ()
26840 {
26841 return $ac_func ();
26842 ;
26843 return 0;
26844 }
26845 _ACEOF
26846 rm -f conftest.$ac_objext conftest$ac_exeext
26847 if { (ac_try="$ac_link"
26848 case "(($ac_try" in
26849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26850 *) ac_try_echo=$ac_try;;
26851 esac
26852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26853 (eval "$ac_link") 2>conftest.er1
26854 ac_status=$?
26855 grep -v '^ *+' conftest.er1 >conftest.err
26856 rm -f conftest.er1
26857 cat conftest.err >&5
26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859 (exit $ac_status); } &&
26860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26861 { (case "(($ac_try" in
26862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26863 *) ac_try_echo=$ac_try;;
26864 esac
26865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26866 (eval "$ac_try") 2>&5
26867 ac_status=$?
26868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26869 (exit $ac_status); }; } &&
26870 { ac_try='test -s conftest$ac_exeext'
26871 { (case "(($ac_try" in
26872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26873 *) ac_try_echo=$ac_try;;
26874 esac
26875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26876 (eval "$ac_try") 2>&5
26877 ac_status=$?
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); }; }; then
26880 eval "$as_ac_var=yes"
26881 else
26882 echo "$as_me: failed program was:" >&5
26883 sed 's/^/| /' conftest.$ac_ext >&5
26884
26885 eval "$as_ac_var=no"
26886 fi
26887
26888 rm -f core conftest.err conftest.$ac_objext \
26889 conftest$ac_exeext conftest.$ac_ext
26890 fi
26891 ac_res=`eval echo '${'$as_ac_var'}'`
26892 { echo "$as_me:$LINENO: result: $ac_res" >&5
26893 echo "${ECHO_T}$ac_res" >&6; }
26894 if test `eval echo '${'$as_ac_var'}'` = yes; then
26895 cat >>confdefs.h <<_ACEOF
26896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26897 _ACEOF
26898 have_ceil=1
26899 fi
26900 done
26901
26902 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26903 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26904 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26905 { echo "$as_me:$LINENO: result: yes" >&5
26906 echo "${ECHO_T}yes" >&6; }
26907 else
26908 { echo "$as_me:$LINENO: result: no" >&5
26909 echo "${ECHO_T}no" >&6; }
26910 # not sure we should warn the user, crash, etc.
26911 fi
26912 fi
26913
26914 ac_ext=cpp
26915 ac_cpp='$CXXCPP $CPPFLAGS'
26916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26919
26920 if test "wxUSE_UNICODE" = "yes"; then
26921
26922 for wx_func in wcstoull
26923 do
26924 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26925 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26926 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 else
26929
26930 cat >conftest.$ac_ext <<_ACEOF
26931
26932 /* confdefs.h. */
26933 _ACEOF
26934 cat confdefs.h >>conftest.$ac_ext
26935 cat >>conftest.$ac_ext <<_ACEOF
26936 /* end confdefs.h. */
26937
26938
26939 $ac_includes_default
26940
26941 int
26942 main ()
26943 {
26944
26945 #ifndef $wx_func
26946 &$wx_func;
26947 #endif
26948
26949
26950 ;
26951 return 0;
26952 }
26953
26954 _ACEOF
26955 rm -f conftest.$ac_objext conftest$ac_exeext
26956 if { (ac_try="$ac_link"
26957 case "(($ac_try" in
26958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26959 *) ac_try_echo=$ac_try;;
26960 esac
26961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26962 (eval "$ac_link") 2>conftest.er1
26963 ac_status=$?
26964 grep -v '^ *+' conftest.er1 >conftest.err
26965 rm -f conftest.er1
26966 cat conftest.err >&5
26967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26968 (exit $ac_status); } &&
26969 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26970 { (case "(($ac_try" in
26971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26972 *) ac_try_echo=$ac_try;;
26973 esac
26974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26975 (eval "$ac_try") 2>&5
26976 ac_status=$?
26977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978 (exit $ac_status); }; } &&
26979 { ac_try='test -s conftest$ac_exeext'
26980 { (case "(($ac_try" in
26981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26982 *) ac_try_echo=$ac_try;;
26983 esac
26984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26985 (eval "$ac_try") 2>&5
26986 ac_status=$?
26987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988 (exit $ac_status); }; }; then
26989 eval wx_cv_func_$wx_func=yes
26990 else
26991 echo "$as_me: failed program was:" >&5
26992 sed 's/^/| /' conftest.$ac_ext >&5
26993
26994 eval wx_cv_func_$wx_func=no
26995 fi
26996
26997 rm -f core conftest.err conftest.$ac_objext \
26998 conftest$ac_exeext conftest.$ac_ext
26999
27000 fi
27001 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27002 { echo "$as_me:$LINENO: result: $ac_res" >&5
27003 echo "${ECHO_T}$ac_res" >&6; }
27004
27005 if eval test \$wx_cv_func_$wx_func = yes
27006 then
27007 cat >>confdefs.h <<_ACEOF
27008 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27009 _ACEOF
27010
27011
27012 else
27013 :
27014
27015 fi
27016 done
27017
27018 else
27019
27020 for wx_func in strtoull
27021 do
27022 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27023 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27024 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27025 echo $ECHO_N "(cached) $ECHO_C" >&6
27026 else
27027
27028 cat >conftest.$ac_ext <<_ACEOF
27029
27030 /* confdefs.h. */
27031 _ACEOF
27032 cat confdefs.h >>conftest.$ac_ext
27033 cat >>conftest.$ac_ext <<_ACEOF
27034 /* end confdefs.h. */
27035
27036
27037 $ac_includes_default
27038
27039 int
27040 main ()
27041 {
27042
27043 #ifndef $wx_func
27044 &$wx_func;
27045 #endif
27046
27047
27048 ;
27049 return 0;
27050 }
27051
27052 _ACEOF
27053 rm -f conftest.$ac_objext conftest$ac_exeext
27054 if { (ac_try="$ac_link"
27055 case "(($ac_try" in
27056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27057 *) ac_try_echo=$ac_try;;
27058 esac
27059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27060 (eval "$ac_link") 2>conftest.er1
27061 ac_status=$?
27062 grep -v '^ *+' conftest.er1 >conftest.err
27063 rm -f conftest.er1
27064 cat conftest.err >&5
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); } &&
27067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27068 { (case "(($ac_try" in
27069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27070 *) ac_try_echo=$ac_try;;
27071 esac
27072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27073 (eval "$ac_try") 2>&5
27074 ac_status=$?
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); }; } &&
27077 { ac_try='test -s conftest$ac_exeext'
27078 { (case "(($ac_try" in
27079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27080 *) ac_try_echo=$ac_try;;
27081 esac
27082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27083 (eval "$ac_try") 2>&5
27084 ac_status=$?
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); }; }; then
27087 eval wx_cv_func_$wx_func=yes
27088 else
27089 echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.$ac_ext >&5
27091
27092 eval wx_cv_func_$wx_func=no
27093 fi
27094
27095 rm -f core conftest.err conftest.$ac_objext \
27096 conftest$ac_exeext conftest.$ac_ext
27097
27098 fi
27099 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27100 { echo "$as_me:$LINENO: result: $ac_res" >&5
27101 echo "${ECHO_T}$ac_res" >&6; }
27102
27103 if eval test \$wx_cv_func_$wx_func = yes
27104 then
27105 cat >>confdefs.h <<_ACEOF
27106 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27107 _ACEOF
27108
27109
27110 else
27111 :
27112
27113 fi
27114 done
27115
27116 fi
27117 ac_ext=c
27118 ac_cpp='$CPP $CPPFLAGS'
27119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27122
27123
27124
27125
27126 if test "$wxUSE_REGEX" != "no"; then
27127 cat >>confdefs.h <<\_ACEOF
27128 #define wxUSE_REGEX 1
27129 _ACEOF
27130
27131
27132 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27133 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
27134 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
27135 wxUSE_REGEX=builtin
27136 fi
27137
27138 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27139 { echo "$as_me:$LINENO: checking for regex.h" >&5
27140 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27141 if test "${ac_cv_header_regex_h+set}" = set; then
27142 echo $ECHO_N "(cached) $ECHO_C" >&6
27143 else
27144 cat >conftest.$ac_ext <<_ACEOF
27145 /* confdefs.h. */
27146 _ACEOF
27147 cat confdefs.h >>conftest.$ac_ext
27148 cat >>conftest.$ac_ext <<_ACEOF
27149 /* end confdefs.h. */
27150
27151
27152 #include <regex.h>
27153 _ACEOF
27154 rm -f conftest.$ac_objext
27155 if { (ac_try="$ac_compile"
27156 case "(($ac_try" in
27157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27158 *) ac_try_echo=$ac_try;;
27159 esac
27160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27161 (eval "$ac_compile") 2>conftest.er1
27162 ac_status=$?
27163 grep -v '^ *+' conftest.er1 >conftest.err
27164 rm -f conftest.er1
27165 cat conftest.err >&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); } &&
27168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27169 { (case "(($ac_try" in
27170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27171 *) ac_try_echo=$ac_try;;
27172 esac
27173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27174 (eval "$ac_try") 2>&5
27175 ac_status=$?
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); }; } &&
27178 { ac_try='test -s conftest.$ac_objext'
27179 { (case "(($ac_try" in
27180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27181 *) ac_try_echo=$ac_try;;
27182 esac
27183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27184 (eval "$ac_try") 2>&5
27185 ac_status=$?
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); }; }; then
27188 ac_cv_header_regex_h=yes
27189 else
27190 echo "$as_me: failed program was:" >&5
27191 sed 's/^/| /' conftest.$ac_ext >&5
27192
27193 ac_cv_header_regex_h=no
27194 fi
27195
27196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27197 fi
27198 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27199 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27200 if test $ac_cv_header_regex_h = yes; then
27201
27202
27203 for ac_func in regcomp re_search
27204 do
27205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27206 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27208 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27209 echo $ECHO_N "(cached) $ECHO_C" >&6
27210 else
27211 cat >conftest.$ac_ext <<_ACEOF
27212 /* confdefs.h. */
27213 _ACEOF
27214 cat confdefs.h >>conftest.$ac_ext
27215 cat >>conftest.$ac_ext <<_ACEOF
27216 /* end confdefs.h. */
27217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27219 #define $ac_func innocuous_$ac_func
27220
27221 /* System header to define __stub macros and hopefully few prototypes,
27222 which can conflict with char $ac_func (); below.
27223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27224 <limits.h> exists even on freestanding compilers. */
27225
27226 #ifdef __STDC__
27227 # include <limits.h>
27228 #else
27229 # include <assert.h>
27230 #endif
27231
27232 #undef $ac_func
27233
27234 /* Override any GCC internal prototype to avoid an error.
27235 Use char because int might match the return type of a GCC
27236 builtin and then its argument prototype would still apply. */
27237 #ifdef __cplusplus
27238 extern "C"
27239 #endif
27240 char $ac_func ();
27241 /* The GNU C library defines this for functions which it implements
27242 to always fail with ENOSYS. Some functions are actually named
27243 something starting with __ and the normal name is an alias. */
27244 #if defined __stub_$ac_func || defined __stub___$ac_func
27245 choke me
27246 #endif
27247
27248 int
27249 main ()
27250 {
27251 return $ac_func ();
27252 ;
27253 return 0;
27254 }
27255 _ACEOF
27256 rm -f conftest.$ac_objext conftest$ac_exeext
27257 if { (ac_try="$ac_link"
27258 case "(($ac_try" in
27259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27260 *) ac_try_echo=$ac_try;;
27261 esac
27262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27263 (eval "$ac_link") 2>conftest.er1
27264 ac_status=$?
27265 grep -v '^ *+' conftest.er1 >conftest.err
27266 rm -f conftest.er1
27267 cat conftest.err >&5
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); } &&
27270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27271 { (case "(($ac_try" in
27272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27273 *) ac_try_echo=$ac_try;;
27274 esac
27275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27276 (eval "$ac_try") 2>&5
27277 ac_status=$?
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); }; } &&
27280 { ac_try='test -s conftest$ac_exeext'
27281 { (case "(($ac_try" in
27282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27283 *) ac_try_echo=$ac_try;;
27284 esac
27285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27286 (eval "$ac_try") 2>&5
27287 ac_status=$?
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); }; }; then
27290 eval "$as_ac_var=yes"
27291 else
27292 echo "$as_me: failed program was:" >&5
27293 sed 's/^/| /' conftest.$ac_ext >&5
27294
27295 eval "$as_ac_var=no"
27296 fi
27297
27298 rm -f core conftest.err conftest.$ac_objext \
27299 conftest$ac_exeext conftest.$ac_ext
27300 fi
27301 ac_res=`eval echo '${'$as_ac_var'}'`
27302 { echo "$as_me:$LINENO: result: $ac_res" >&5
27303 echo "${ECHO_T}$ac_res" >&6; }
27304 if test `eval echo '${'$as_ac_var'}'` = yes; then
27305 cat >>confdefs.h <<_ACEOF
27306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27307 _ACEOF
27308
27309 fi
27310 done
27311
27312 fi
27313
27314
27315
27316 if test "x$ac_cv_func_regcomp" != "xyes"; then
27317 if test "$wxUSE_REGEX" = "sys" ; then
27318 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27319 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27320 { (exit 1); exit 1; }; }
27321 else
27322 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27323 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27324 wxUSE_REGEX=builtin
27325 fi
27326 else
27327 wxUSE_REGEX=sys
27328 cat >>confdefs.h <<\_ACEOF
27329 #define WX_NO_REGEX_ADVANCED 1
27330 _ACEOF
27331
27332 fi
27333 fi
27334 fi
27335
27336
27337 ZLIB_LINK=
27338 if test "$wxUSE_ZLIB" != "no" ; then
27339 cat >>confdefs.h <<\_ACEOF
27340 #define wxUSE_ZLIB 1
27341 _ACEOF
27342
27343
27344 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27345 if test "$USE_DARWIN" = 1; then
27346 system_zlib_h_ok="yes"
27347 else
27348 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27349 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27350 if test "${ac_cv_header_zlib_h+set}" = set; then
27351 echo $ECHO_N "(cached) $ECHO_C" >&6
27352 else
27353 if test "$cross_compiling" = yes; then
27354 unset ac_cv_header_zlib_h
27355
27356 else
27357 cat >conftest.$ac_ext <<_ACEOF
27358 /* confdefs.h. */
27359 _ACEOF
27360 cat confdefs.h >>conftest.$ac_ext
27361 cat >>conftest.$ac_ext <<_ACEOF
27362 /* end confdefs.h. */
27363
27364 #include <zlib.h>
27365 #include <stdio.h>
27366
27367 int main()
27368 {
27369 FILE *f=fopen("conftestval", "w");
27370 if (!f) exit(1);
27371 fprintf(f, "%s",
27372 ZLIB_VERSION[0] == '1' &&
27373 (ZLIB_VERSION[2] > '1' ||
27374 (ZLIB_VERSION[2] == '1' &&
27375 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27376 exit(0);
27377 }
27378
27379 _ACEOF
27380 rm -f conftest$ac_exeext
27381 if { (ac_try="$ac_link"
27382 case "(($ac_try" in
27383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27384 *) ac_try_echo=$ac_try;;
27385 esac
27386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27387 (eval "$ac_link") 2>&5
27388 ac_status=$?
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27391 { (case "(($ac_try" in
27392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27393 *) ac_try_echo=$ac_try;;
27394 esac
27395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27396 (eval "$ac_try") 2>&5
27397 ac_status=$?
27398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27399 (exit $ac_status); }; }; then
27400 ac_cv_header_zlib_h=`cat conftestval`
27401 else
27402 echo "$as_me: program exited with status $ac_status" >&5
27403 echo "$as_me: failed program was:" >&5
27404 sed 's/^/| /' conftest.$ac_ext >&5
27405
27406 ( exit $ac_status )
27407 ac_cv_header_zlib_h=no
27408 fi
27409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27410 fi
27411
27412
27413
27414 fi
27415 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27416 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27417 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27418 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27419 if test "${ac_cv_header_zlib_h+set}" = set; then
27420 echo $ECHO_N "(cached) $ECHO_C" >&6
27421 else
27422 cat >conftest.$ac_ext <<_ACEOF
27423 /* confdefs.h. */
27424 _ACEOF
27425 cat confdefs.h >>conftest.$ac_ext
27426 cat >>conftest.$ac_ext <<_ACEOF
27427 /* end confdefs.h. */
27428
27429
27430 #include <zlib.h>
27431 _ACEOF
27432 rm -f conftest.$ac_objext
27433 if { (ac_try="$ac_compile"
27434 case "(($ac_try" in
27435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27436 *) ac_try_echo=$ac_try;;
27437 esac
27438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27439 (eval "$ac_compile") 2>conftest.er1
27440 ac_status=$?
27441 grep -v '^ *+' conftest.er1 >conftest.err
27442 rm -f conftest.er1
27443 cat conftest.err >&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); } &&
27446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27447 { (case "(($ac_try" in
27448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27449 *) ac_try_echo=$ac_try;;
27450 esac
27451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27452 (eval "$ac_try") 2>&5
27453 ac_status=$?
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); }; } &&
27456 { ac_try='test -s conftest.$ac_objext'
27457 { (case "(($ac_try" in
27458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27459 *) ac_try_echo=$ac_try;;
27460 esac
27461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27462 (eval "$ac_try") 2>&5
27463 ac_status=$?
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); }; }; then
27466 ac_cv_header_zlib_h=yes
27467 else
27468 echo "$as_me: failed program was:" >&5
27469 sed 's/^/| /' conftest.$ac_ext >&5
27470
27471 ac_cv_header_zlib_h=no
27472 fi
27473
27474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27475 fi
27476 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27477 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27478
27479
27480
27481 system_zlib_h_ok=$ac_cv_header_zlib_h
27482 fi
27483
27484 if test "$system_zlib_h_ok" = "yes"; then
27485 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27486 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27487 if test "${ac_cv_lib_z_deflate+set}" = set; then
27488 echo $ECHO_N "(cached) $ECHO_C" >&6
27489 else
27490 ac_check_lib_save_LIBS=$LIBS
27491 LIBS="-lz $LIBS"
27492 cat >conftest.$ac_ext <<_ACEOF
27493 /* confdefs.h. */
27494 _ACEOF
27495 cat confdefs.h >>conftest.$ac_ext
27496 cat >>conftest.$ac_ext <<_ACEOF
27497 /* end confdefs.h. */
27498
27499 /* Override any GCC internal prototype to avoid an error.
27500 Use char because int might match the return type of a GCC
27501 builtin and then its argument prototype would still apply. */
27502 #ifdef __cplusplus
27503 extern "C"
27504 #endif
27505 char deflate ();
27506 int
27507 main ()
27508 {
27509 return deflate ();
27510 ;
27511 return 0;
27512 }
27513 _ACEOF
27514 rm -f conftest.$ac_objext conftest$ac_exeext
27515 if { (ac_try="$ac_link"
27516 case "(($ac_try" in
27517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27518 *) ac_try_echo=$ac_try;;
27519 esac
27520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27521 (eval "$ac_link") 2>conftest.er1
27522 ac_status=$?
27523 grep -v '^ *+' conftest.er1 >conftest.err
27524 rm -f conftest.er1
27525 cat conftest.err >&5
27526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527 (exit $ac_status); } &&
27528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27529 { (case "(($ac_try" in
27530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27531 *) ac_try_echo=$ac_try;;
27532 esac
27533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27534 (eval "$ac_try") 2>&5
27535 ac_status=$?
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); }; } &&
27538 { ac_try='test -s conftest$ac_exeext'
27539 { (case "(($ac_try" in
27540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27541 *) ac_try_echo=$ac_try;;
27542 esac
27543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27544 (eval "$ac_try") 2>&5
27545 ac_status=$?
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); }; }; then
27548 ac_cv_lib_z_deflate=yes
27549 else
27550 echo "$as_me: failed program was:" >&5
27551 sed 's/^/| /' conftest.$ac_ext >&5
27552
27553 ac_cv_lib_z_deflate=no
27554 fi
27555
27556 rm -f core conftest.err conftest.$ac_objext \
27557 conftest$ac_exeext conftest.$ac_ext
27558 LIBS=$ac_check_lib_save_LIBS
27559 fi
27560 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27561 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27562 if test $ac_cv_lib_z_deflate = yes; then
27563 ZLIB_LINK=" -lz"
27564 fi
27565
27566 fi
27567
27568 if test "x$ZLIB_LINK" = "x" ; then
27569 if test "$wxUSE_ZLIB" = "sys" ; then
27570 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27571 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27572 { (exit 1); exit 1; }; }
27573 else
27574 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27575 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27576 wxUSE_ZLIB=builtin
27577 fi
27578 else
27579 wxUSE_ZLIB=sys
27580 fi
27581 fi
27582 fi
27583
27584
27585 PNG_LINK=
27586 if test "$wxUSE_LIBPNG" != "no" ; then
27587 cat >>confdefs.h <<\_ACEOF
27588 #define wxUSE_LIBPNG 1
27589 _ACEOF
27590
27591
27592 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27593 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27594 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27595 wxUSE_LIBPNG=sys
27596 fi
27597
27598 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27599 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27600 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27601 wxUSE_LIBPNG=builtin
27602 fi
27603
27604 if test "$wxUSE_MGL" != 1 ; then
27605 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27606 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27607 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27608 if test "${ac_cv_header_png_h+set}" = set; then
27609 echo $ECHO_N "(cached) $ECHO_C" >&6
27610 else
27611 if test "$cross_compiling" = yes; then
27612 unset ac_cv_header_png_h
27613
27614 else
27615 cat >conftest.$ac_ext <<_ACEOF
27616 /* confdefs.h. */
27617 _ACEOF
27618 cat confdefs.h >>conftest.$ac_ext
27619 cat >>conftest.$ac_ext <<_ACEOF
27620 /* end confdefs.h. */
27621
27622 #include <png.h>
27623 #include <stdio.h>
27624
27625 int main()
27626 {
27627 FILE *f=fopen("conftestval", "w");
27628 if (!f) exit(1);
27629 fprintf(f, "%s",
27630 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27631 exit(0);
27632 }
27633
27634 _ACEOF
27635 rm -f conftest$ac_exeext
27636 if { (ac_try="$ac_link"
27637 case "(($ac_try" in
27638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27639 *) ac_try_echo=$ac_try;;
27640 esac
27641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27642 (eval "$ac_link") 2>&5
27643 ac_status=$?
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27646 { (case "(($ac_try" in
27647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27648 *) ac_try_echo=$ac_try;;
27649 esac
27650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27651 (eval "$ac_try") 2>&5
27652 ac_status=$?
27653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27654 (exit $ac_status); }; }; then
27655 ac_cv_header_png_h=`cat conftestval`
27656 else
27657 echo "$as_me: program exited with status $ac_status" >&5
27658 echo "$as_me: failed program was:" >&5
27659 sed 's/^/| /' conftest.$ac_ext >&5
27660
27661 ( exit $ac_status )
27662 ac_cv_header_png_h=no
27663 fi
27664 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27665 fi
27666
27667
27668
27669 fi
27670 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27671 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27672 { echo "$as_me:$LINENO: checking for png.h" >&5
27673 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27674 if test "${ac_cv_header_png_h+set}" = set; then
27675 echo $ECHO_N "(cached) $ECHO_C" >&6
27676 else
27677 cat >conftest.$ac_ext <<_ACEOF
27678 /* confdefs.h. */
27679 _ACEOF
27680 cat confdefs.h >>conftest.$ac_ext
27681 cat >>conftest.$ac_ext <<_ACEOF
27682 /* end confdefs.h. */
27683
27684
27685 #include <png.h>
27686 _ACEOF
27687 rm -f conftest.$ac_objext
27688 if { (ac_try="$ac_compile"
27689 case "(($ac_try" in
27690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27691 *) ac_try_echo=$ac_try;;
27692 esac
27693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27694 (eval "$ac_compile") 2>conftest.er1
27695 ac_status=$?
27696 grep -v '^ *+' conftest.er1 >conftest.err
27697 rm -f conftest.er1
27698 cat conftest.err >&5
27699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27700 (exit $ac_status); } &&
27701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27702 { (case "(($ac_try" in
27703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27704 *) ac_try_echo=$ac_try;;
27705 esac
27706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27707 (eval "$ac_try") 2>&5
27708 ac_status=$?
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); }; } &&
27711 { ac_try='test -s conftest.$ac_objext'
27712 { (case "(($ac_try" in
27713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27714 *) ac_try_echo=$ac_try;;
27715 esac
27716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27717 (eval "$ac_try") 2>&5
27718 ac_status=$?
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); }; }; then
27721 ac_cv_header_png_h=yes
27722 else
27723 echo "$as_me: failed program was:" >&5
27724 sed 's/^/| /' conftest.$ac_ext >&5
27725
27726 ac_cv_header_png_h=no
27727 fi
27728
27729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27730 fi
27731 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27732 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27733
27734
27735
27736 if test "$ac_cv_header_png_h" = "yes"; then
27737 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27738 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
27739 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27740 echo $ECHO_N "(cached) $ECHO_C" >&6
27741 else
27742 ac_check_lib_save_LIBS=$LIBS
27743 LIBS="-lpng -lz -lm $LIBS"
27744 cat >conftest.$ac_ext <<_ACEOF
27745 /* confdefs.h. */
27746 _ACEOF
27747 cat confdefs.h >>conftest.$ac_ext
27748 cat >>conftest.$ac_ext <<_ACEOF
27749 /* end confdefs.h. */
27750
27751 /* Override any GCC internal prototype to avoid an error.
27752 Use char because int might match the return type of a GCC
27753 builtin and then its argument prototype would still apply. */
27754 #ifdef __cplusplus
27755 extern "C"
27756 #endif
27757 char png_check_sig ();
27758 int
27759 main ()
27760 {
27761 return png_check_sig ();
27762 ;
27763 return 0;
27764 }
27765 _ACEOF
27766 rm -f conftest.$ac_objext conftest$ac_exeext
27767 if { (ac_try="$ac_link"
27768 case "(($ac_try" in
27769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27770 *) ac_try_echo=$ac_try;;
27771 esac
27772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27773 (eval "$ac_link") 2>conftest.er1
27774 ac_status=$?
27775 grep -v '^ *+' conftest.er1 >conftest.err
27776 rm -f conftest.er1
27777 cat conftest.err >&5
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); } &&
27780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27781 { (case "(($ac_try" in
27782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27783 *) ac_try_echo=$ac_try;;
27784 esac
27785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27786 (eval "$ac_try") 2>&5
27787 ac_status=$?
27788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27789 (exit $ac_status); }; } &&
27790 { ac_try='test -s conftest$ac_exeext'
27791 { (case "(($ac_try" in
27792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27793 *) ac_try_echo=$ac_try;;
27794 esac
27795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27796 (eval "$ac_try") 2>&5
27797 ac_status=$?
27798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27799 (exit $ac_status); }; }; then
27800 ac_cv_lib_png_png_check_sig=yes
27801 else
27802 echo "$as_me: failed program was:" >&5
27803 sed 's/^/| /' conftest.$ac_ext >&5
27804
27805 ac_cv_lib_png_png_check_sig=no
27806 fi
27807
27808 rm -f core conftest.err conftest.$ac_objext \
27809 conftest$ac_exeext conftest.$ac_ext
27810 LIBS=$ac_check_lib_save_LIBS
27811 fi
27812 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27813 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27814 if test $ac_cv_lib_png_png_check_sig = yes; then
27815 PNG_LINK=" -lpng -lz"
27816 fi
27817
27818 fi
27819
27820 if test "x$PNG_LINK" = "x" ; then
27821 if test "$wxUSE_LIBPNG" = "sys" ; then
27822 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27823 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27824 { (exit 1); exit 1; }; }
27825 else
27826 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27827 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27828 wxUSE_LIBPNG=builtin
27829 fi
27830 else
27831 wxUSE_LIBPNG=sys
27832 fi
27833 fi
27834 fi
27835
27836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
27837 fi
27838
27839
27840 JPEG_LINK=
27841 if test "$wxUSE_LIBJPEG" != "no" ; then
27842 cat >>confdefs.h <<\_ACEOF
27843 #define wxUSE_LIBJPEG 1
27844 _ACEOF
27845
27846
27847 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27848 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27849 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27850 wxUSE_LIBJPEG=sys
27851 fi
27852
27853 if test "$wxUSE_MGL" != 1 ; then
27854 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27855 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27856 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27857 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27858 echo $ECHO_N "(cached) $ECHO_C" >&6
27859 else
27860 cat >conftest.$ac_ext <<_ACEOF
27861 /* confdefs.h. */
27862 _ACEOF
27863 cat confdefs.h >>conftest.$ac_ext
27864 cat >>conftest.$ac_ext <<_ACEOF
27865 /* end confdefs.h. */
27866
27867 #undef HAVE_STDLIB_H
27868 #include <stdio.h>
27869 #include <jpeglib.h>
27870
27871 int
27872 main ()
27873 {
27874
27875
27876 ;
27877 return 0;
27878 }
27879 _ACEOF
27880 rm -f conftest.$ac_objext
27881 if { (ac_try="$ac_compile"
27882 case "(($ac_try" in
27883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27884 *) ac_try_echo=$ac_try;;
27885 esac
27886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27887 (eval "$ac_compile") 2>conftest.er1
27888 ac_status=$?
27889 grep -v '^ *+' conftest.er1 >conftest.err
27890 rm -f conftest.er1
27891 cat conftest.err >&5
27892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27893 (exit $ac_status); } &&
27894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27895 { (case "(($ac_try" in
27896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27897 *) ac_try_echo=$ac_try;;
27898 esac
27899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27900 (eval "$ac_try") 2>&5
27901 ac_status=$?
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); }; } &&
27904 { ac_try='test -s conftest.$ac_objext'
27905 { (case "(($ac_try" in
27906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27907 *) ac_try_echo=$ac_try;;
27908 esac
27909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27910 (eval "$ac_try") 2>&5
27911 ac_status=$?
27912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913 (exit $ac_status); }; }; then
27914 ac_cv_header_jpeglib_h=yes
27915 else
27916 echo "$as_me: failed program was:" >&5
27917 sed 's/^/| /' conftest.$ac_ext >&5
27918
27919 ac_cv_header_jpeglib_h=no
27920
27921 fi
27922
27923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27924
27925 fi
27926
27927 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27928 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27929
27930 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27931 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27932 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27933 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27934 echo $ECHO_N "(cached) $ECHO_C" >&6
27935 else
27936 ac_check_lib_save_LIBS=$LIBS
27937 LIBS="-ljpeg $LIBS"
27938 cat >conftest.$ac_ext <<_ACEOF
27939 /* confdefs.h. */
27940 _ACEOF
27941 cat confdefs.h >>conftest.$ac_ext
27942 cat >>conftest.$ac_ext <<_ACEOF
27943 /* end confdefs.h. */
27944
27945 /* Override any GCC internal prototype to avoid an error.
27946 Use char because int might match the return type of a GCC
27947 builtin and then its argument prototype would still apply. */
27948 #ifdef __cplusplus
27949 extern "C"
27950 #endif
27951 char jpeg_read_header ();
27952 int
27953 main ()
27954 {
27955 return jpeg_read_header ();
27956 ;
27957 return 0;
27958 }
27959 _ACEOF
27960 rm -f conftest.$ac_objext conftest$ac_exeext
27961 if { (ac_try="$ac_link"
27962 case "(($ac_try" in
27963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27964 *) ac_try_echo=$ac_try;;
27965 esac
27966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27967 (eval "$ac_link") 2>conftest.er1
27968 ac_status=$?
27969 grep -v '^ *+' conftest.er1 >conftest.err
27970 rm -f conftest.er1
27971 cat conftest.err >&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); } &&
27974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27975 { (case "(($ac_try" in
27976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27977 *) ac_try_echo=$ac_try;;
27978 esac
27979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27980 (eval "$ac_try") 2>&5
27981 ac_status=$?
27982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27983 (exit $ac_status); }; } &&
27984 { ac_try='test -s conftest$ac_exeext'
27985 { (case "(($ac_try" in
27986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27987 *) ac_try_echo=$ac_try;;
27988 esac
27989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27990 (eval "$ac_try") 2>&5
27991 ac_status=$?
27992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27993 (exit $ac_status); }; }; then
27994 ac_cv_lib_jpeg_jpeg_read_header=yes
27995 else
27996 echo "$as_me: failed program was:" >&5
27997 sed 's/^/| /' conftest.$ac_ext >&5
27998
27999 ac_cv_lib_jpeg_jpeg_read_header=no
28000 fi
28001
28002 rm -f core conftest.err conftest.$ac_objext \
28003 conftest$ac_exeext conftest.$ac_ext
28004 LIBS=$ac_check_lib_save_LIBS
28005 fi
28006 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28007 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28008 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28009 JPEG_LINK=" -ljpeg"
28010 fi
28011
28012 fi
28013
28014 if test "x$JPEG_LINK" = "x" ; then
28015 if test "$wxUSE_LIBJPEG" = "sys" ; then
28016 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28017 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28018 { (exit 1); exit 1; }; }
28019 else
28020 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28021 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28022 wxUSE_LIBJPEG=builtin
28023 fi
28024 else
28025 wxUSE_LIBJPEG=sys
28026
28027 if test "$wxUSE_MSW" = 1; then
28028 { echo "$as_me:$LINENO: checking for boolean" >&5
28029 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28030 if test "${ac_cv_type_boolean+set}" = set; then
28031 echo $ECHO_N "(cached) $ECHO_C" >&6
28032 else
28033 cat >conftest.$ac_ext <<_ACEOF
28034 /* confdefs.h. */
28035 _ACEOF
28036 cat confdefs.h >>conftest.$ac_ext
28037 cat >>conftest.$ac_ext <<_ACEOF
28038 /* end confdefs.h. */
28039 #include <windows.h>
28040
28041 typedef boolean ac__type_new_;
28042 int
28043 main ()
28044 {
28045 if ((ac__type_new_ *) 0)
28046 return 0;
28047 if (sizeof (ac__type_new_))
28048 return 0;
28049 ;
28050 return 0;
28051 }
28052 _ACEOF
28053 rm -f conftest.$ac_objext
28054 if { (ac_try="$ac_compile"
28055 case "(($ac_try" in
28056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28057 *) ac_try_echo=$ac_try;;
28058 esac
28059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28060 (eval "$ac_compile") 2>conftest.er1
28061 ac_status=$?
28062 grep -v '^ *+' conftest.er1 >conftest.err
28063 rm -f conftest.er1
28064 cat conftest.err >&5
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); } &&
28067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28068 { (case "(($ac_try" in
28069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28070 *) ac_try_echo=$ac_try;;
28071 esac
28072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28073 (eval "$ac_try") 2>&5
28074 ac_status=$?
28075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28076 (exit $ac_status); }; } &&
28077 { ac_try='test -s conftest.$ac_objext'
28078 { (case "(($ac_try" in
28079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28080 *) ac_try_echo=$ac_try;;
28081 esac
28082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28083 (eval "$ac_try") 2>&5
28084 ac_status=$?
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); }; }; then
28087 ac_cv_type_boolean=yes
28088 else
28089 echo "$as_me: failed program was:" >&5
28090 sed 's/^/| /' conftest.$ac_ext >&5
28091
28092 ac_cv_type_boolean=no
28093 fi
28094
28095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28096 fi
28097 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28098 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28099 if test $ac_cv_type_boolean = yes; then
28100
28101 cat >>confdefs.h <<_ACEOF
28102 #define HAVE_BOOLEAN 1
28103 _ACEOF
28104
28105
28106 { echo "$as_me:$LINENO: checking for boolean" >&5
28107 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28108 if test "${ac_cv_type_boolean+set}" = set; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28110 else
28111 cat >conftest.$ac_ext <<_ACEOF
28112 /* confdefs.h. */
28113 _ACEOF
28114 cat confdefs.h >>conftest.$ac_ext
28115 cat >>conftest.$ac_ext <<_ACEOF
28116 /* end confdefs.h. */
28117
28118 #undef HAVE_BOOLEAN
28119 #include <stdio.h>
28120 #include <jpeglib.h>
28121
28122
28123 typedef boolean ac__type_new_;
28124 int
28125 main ()
28126 {
28127 if ((ac__type_new_ *) 0)
28128 return 0;
28129 if (sizeof (ac__type_new_))
28130 return 0;
28131 ;
28132 return 0;
28133 }
28134 _ACEOF
28135 rm -f conftest.$ac_objext
28136 if { (ac_try="$ac_compile"
28137 case "(($ac_try" in
28138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28139 *) ac_try_echo=$ac_try;;
28140 esac
28141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28142 (eval "$ac_compile") 2>conftest.er1
28143 ac_status=$?
28144 grep -v '^ *+' conftest.er1 >conftest.err
28145 rm -f conftest.er1
28146 cat conftest.err >&5
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); } &&
28149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28150 { (case "(($ac_try" in
28151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28152 *) ac_try_echo=$ac_try;;
28153 esac
28154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28155 (eval "$ac_try") 2>&5
28156 ac_status=$?
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); }; } &&
28159 { ac_try='test -s conftest.$ac_objext'
28160 { (case "(($ac_try" in
28161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28162 *) ac_try_echo=$ac_try;;
28163 esac
28164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28165 (eval "$ac_try") 2>&5
28166 ac_status=$?
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); }; }; then
28169 ac_cv_type_boolean=yes
28170 else
28171 echo "$as_me: failed program was:" >&5
28172 sed 's/^/| /' conftest.$ac_ext >&5
28173
28174 ac_cv_type_boolean=no
28175 fi
28176
28177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28178 fi
28179 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28180 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28181
28182 { echo "$as_me:$LINENO: checking size of boolean" >&5
28183 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28184 if test "${ac_cv_sizeof_boolean+set}" = set; then
28185 echo $ECHO_N "(cached) $ECHO_C" >&6
28186 else
28187 if test "$ac_cv_type_boolean" = yes; then
28188 # The cast to long int works around a bug in the HP C Compiler
28189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28190 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28191 # This bug is HP SR number 8606223364.
28192 if test "$cross_compiling" = yes; then
28193 # Depending upon the size, compute the lo and hi bounds.
28194 cat >conftest.$ac_ext <<_ACEOF
28195 /* confdefs.h. */
28196 _ACEOF
28197 cat confdefs.h >>conftest.$ac_ext
28198 cat >>conftest.$ac_ext <<_ACEOF
28199 /* end confdefs.h. */
28200
28201 #undef HAVE_BOOLEAN
28202 #include <stdio.h>
28203 #include <jpeglib.h>
28204
28205
28206 typedef boolean ac__type_sizeof_;
28207 int
28208 main ()
28209 {
28210 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28211 test_array [0] = 0
28212
28213 ;
28214 return 0;
28215 }
28216 _ACEOF
28217 rm -f conftest.$ac_objext
28218 if { (ac_try="$ac_compile"
28219 case "(($ac_try" in
28220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28221 *) ac_try_echo=$ac_try;;
28222 esac
28223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28224 (eval "$ac_compile") 2>conftest.er1
28225 ac_status=$?
28226 grep -v '^ *+' conftest.er1 >conftest.err
28227 rm -f conftest.er1
28228 cat conftest.err >&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); } &&
28231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28232 { (case "(($ac_try" in
28233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28234 *) ac_try_echo=$ac_try;;
28235 esac
28236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28237 (eval "$ac_try") 2>&5
28238 ac_status=$?
28239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28240 (exit $ac_status); }; } &&
28241 { ac_try='test -s conftest.$ac_objext'
28242 { (case "(($ac_try" in
28243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28244 *) ac_try_echo=$ac_try;;
28245 esac
28246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28247 (eval "$ac_try") 2>&5
28248 ac_status=$?
28249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28250 (exit $ac_status); }; }; then
28251 ac_lo=0 ac_mid=0
28252 while :; do
28253 cat >conftest.$ac_ext <<_ACEOF
28254 /* confdefs.h. */
28255 _ACEOF
28256 cat confdefs.h >>conftest.$ac_ext
28257 cat >>conftest.$ac_ext <<_ACEOF
28258 /* end confdefs.h. */
28259
28260 #undef HAVE_BOOLEAN
28261 #include <stdio.h>
28262 #include <jpeglib.h>
28263
28264
28265 typedef boolean ac__type_sizeof_;
28266 int
28267 main ()
28268 {
28269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28270 test_array [0] = 0
28271
28272 ;
28273 return 0;
28274 }
28275 _ACEOF
28276 rm -f conftest.$ac_objext
28277 if { (ac_try="$ac_compile"
28278 case "(($ac_try" in
28279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28280 *) ac_try_echo=$ac_try;;
28281 esac
28282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28283 (eval "$ac_compile") 2>conftest.er1
28284 ac_status=$?
28285 grep -v '^ *+' conftest.er1 >conftest.err
28286 rm -f conftest.er1
28287 cat conftest.err >&5
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); } &&
28290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28291 { (case "(($ac_try" in
28292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28293 *) ac_try_echo=$ac_try;;
28294 esac
28295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28296 (eval "$ac_try") 2>&5
28297 ac_status=$?
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); }; } &&
28300 { ac_try='test -s conftest.$ac_objext'
28301 { (case "(($ac_try" in
28302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28303 *) ac_try_echo=$ac_try;;
28304 esac
28305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28306 (eval "$ac_try") 2>&5
28307 ac_status=$?
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); }; }; then
28310 ac_hi=$ac_mid; break
28311 else
28312 echo "$as_me: failed program was:" >&5
28313 sed 's/^/| /' conftest.$ac_ext >&5
28314
28315 ac_lo=`expr $ac_mid + 1`
28316 if test $ac_lo -le $ac_mid; then
28317 ac_lo= ac_hi=
28318 break
28319 fi
28320 ac_mid=`expr 2 '*' $ac_mid + 1`
28321 fi
28322
28323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28324 done
28325 else
28326 echo "$as_me: failed program was:" >&5
28327 sed 's/^/| /' conftest.$ac_ext >&5
28328
28329 cat >conftest.$ac_ext <<_ACEOF
28330 /* confdefs.h. */
28331 _ACEOF
28332 cat confdefs.h >>conftest.$ac_ext
28333 cat >>conftest.$ac_ext <<_ACEOF
28334 /* end confdefs.h. */
28335
28336 #undef HAVE_BOOLEAN
28337 #include <stdio.h>
28338 #include <jpeglib.h>
28339
28340
28341 typedef boolean ac__type_sizeof_;
28342 int
28343 main ()
28344 {
28345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28346 test_array [0] = 0
28347
28348 ;
28349 return 0;
28350 }
28351 _ACEOF
28352 rm -f conftest.$ac_objext
28353 if { (ac_try="$ac_compile"
28354 case "(($ac_try" in
28355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28356 *) ac_try_echo=$ac_try;;
28357 esac
28358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28359 (eval "$ac_compile") 2>conftest.er1
28360 ac_status=$?
28361 grep -v '^ *+' conftest.er1 >conftest.err
28362 rm -f conftest.er1
28363 cat conftest.err >&5
28364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365 (exit $ac_status); } &&
28366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28367 { (case "(($ac_try" in
28368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28369 *) ac_try_echo=$ac_try;;
28370 esac
28371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28372 (eval "$ac_try") 2>&5
28373 ac_status=$?
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); }; } &&
28376 { ac_try='test -s conftest.$ac_objext'
28377 { (case "(($ac_try" in
28378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28379 *) ac_try_echo=$ac_try;;
28380 esac
28381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28382 (eval "$ac_try") 2>&5
28383 ac_status=$?
28384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28385 (exit $ac_status); }; }; then
28386 ac_hi=-1 ac_mid=-1
28387 while :; do
28388 cat >conftest.$ac_ext <<_ACEOF
28389 /* confdefs.h. */
28390 _ACEOF
28391 cat confdefs.h >>conftest.$ac_ext
28392 cat >>conftest.$ac_ext <<_ACEOF
28393 /* end confdefs.h. */
28394
28395 #undef HAVE_BOOLEAN
28396 #include <stdio.h>
28397 #include <jpeglib.h>
28398
28399
28400 typedef boolean ac__type_sizeof_;
28401 int
28402 main ()
28403 {
28404 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28405 test_array [0] = 0
28406
28407 ;
28408 return 0;
28409 }
28410 _ACEOF
28411 rm -f conftest.$ac_objext
28412 if { (ac_try="$ac_compile"
28413 case "(($ac_try" in
28414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28415 *) ac_try_echo=$ac_try;;
28416 esac
28417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28418 (eval "$ac_compile") 2>conftest.er1
28419 ac_status=$?
28420 grep -v '^ *+' conftest.er1 >conftest.err
28421 rm -f conftest.er1
28422 cat conftest.err >&5
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); } &&
28425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28426 { (case "(($ac_try" in
28427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28428 *) ac_try_echo=$ac_try;;
28429 esac
28430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28431 (eval "$ac_try") 2>&5
28432 ac_status=$?
28433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28434 (exit $ac_status); }; } &&
28435 { ac_try='test -s conftest.$ac_objext'
28436 { (case "(($ac_try" in
28437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28438 *) ac_try_echo=$ac_try;;
28439 esac
28440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28441 (eval "$ac_try") 2>&5
28442 ac_status=$?
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); }; }; then
28445 ac_lo=$ac_mid; break
28446 else
28447 echo "$as_me: failed program was:" >&5
28448 sed 's/^/| /' conftest.$ac_ext >&5
28449
28450 ac_hi=`expr '(' $ac_mid ')' - 1`
28451 if test $ac_mid -le $ac_hi; then
28452 ac_lo= ac_hi=
28453 break
28454 fi
28455 ac_mid=`expr 2 '*' $ac_mid`
28456 fi
28457
28458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28459 done
28460 else
28461 echo "$as_me: failed program was:" >&5
28462 sed 's/^/| /' conftest.$ac_ext >&5
28463
28464 ac_lo= ac_hi=
28465 fi
28466
28467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28468 fi
28469
28470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28471 # Binary search between lo and hi bounds.
28472 while test "x$ac_lo" != "x$ac_hi"; do
28473 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28474 cat >conftest.$ac_ext <<_ACEOF
28475 /* confdefs.h. */
28476 _ACEOF
28477 cat confdefs.h >>conftest.$ac_ext
28478 cat >>conftest.$ac_ext <<_ACEOF
28479 /* end confdefs.h. */
28480
28481 #undef HAVE_BOOLEAN
28482 #include <stdio.h>
28483 #include <jpeglib.h>
28484
28485
28486 typedef boolean ac__type_sizeof_;
28487 int
28488 main ()
28489 {
28490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28491 test_array [0] = 0
28492
28493 ;
28494 return 0;
28495 }
28496 _ACEOF
28497 rm -f conftest.$ac_objext
28498 if { (ac_try="$ac_compile"
28499 case "(($ac_try" in
28500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28501 *) ac_try_echo=$ac_try;;
28502 esac
28503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28504 (eval "$ac_compile") 2>conftest.er1
28505 ac_status=$?
28506 grep -v '^ *+' conftest.er1 >conftest.err
28507 rm -f conftest.er1
28508 cat conftest.err >&5
28509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510 (exit $ac_status); } &&
28511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28512 { (case "(($ac_try" in
28513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28514 *) ac_try_echo=$ac_try;;
28515 esac
28516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28517 (eval "$ac_try") 2>&5
28518 ac_status=$?
28519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520 (exit $ac_status); }; } &&
28521 { ac_try='test -s conftest.$ac_objext'
28522 { (case "(($ac_try" in
28523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28524 *) ac_try_echo=$ac_try;;
28525 esac
28526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28527 (eval "$ac_try") 2>&5
28528 ac_status=$?
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); }; }; then
28531 ac_hi=$ac_mid
28532 else
28533 echo "$as_me: failed program was:" >&5
28534 sed 's/^/| /' conftest.$ac_ext >&5
28535
28536 ac_lo=`expr '(' $ac_mid ')' + 1`
28537 fi
28538
28539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28540 done
28541 case $ac_lo in
28542 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28543 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28544 See \`config.log' for more details." >&5
28545 echo "$as_me: error: cannot compute sizeof (boolean)
28546 See \`config.log' for more details." >&2;}
28547 { (exit 77); exit 77; }; } ;;
28548 esac
28549 else
28550 cat >conftest.$ac_ext <<_ACEOF
28551 /* confdefs.h. */
28552 _ACEOF
28553 cat confdefs.h >>conftest.$ac_ext
28554 cat >>conftest.$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28556
28557 #undef HAVE_BOOLEAN
28558 #include <stdio.h>
28559 #include <jpeglib.h>
28560
28561
28562 typedef boolean ac__type_sizeof_;
28563 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28564 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28565 #include <stdio.h>
28566 #include <stdlib.h>
28567 int
28568 main ()
28569 {
28570
28571 FILE *f = fopen ("conftest.val", "w");
28572 if (! f)
28573 return 1;
28574 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28575 {
28576 long int i = longval ();
28577 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28578 return 1;
28579 fprintf (f, "%ld\n", i);
28580 }
28581 else
28582 {
28583 unsigned long int i = ulongval ();
28584 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28585 return 1;
28586 fprintf (f, "%lu\n", i);
28587 }
28588 return ferror (f) || fclose (f) != 0;
28589
28590 ;
28591 return 0;
28592 }
28593 _ACEOF
28594 rm -f conftest$ac_exeext
28595 if { (ac_try="$ac_link"
28596 case "(($ac_try" in
28597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28598 *) ac_try_echo=$ac_try;;
28599 esac
28600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28601 (eval "$ac_link") 2>&5
28602 ac_status=$?
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28605 { (case "(($ac_try" in
28606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28607 *) ac_try_echo=$ac_try;;
28608 esac
28609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28610 (eval "$ac_try") 2>&5
28611 ac_status=$?
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); }; }; then
28614 ac_cv_sizeof_boolean=`cat conftest.val`
28615 else
28616 echo "$as_me: program exited with status $ac_status" >&5
28617 echo "$as_me: failed program was:" >&5
28618 sed 's/^/| /' conftest.$ac_ext >&5
28619
28620 ( exit $ac_status )
28621 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28622 See \`config.log' for more details." >&5
28623 echo "$as_me: error: cannot compute sizeof (boolean)
28624 See \`config.log' for more details." >&2;}
28625 { (exit 77); exit 77; }; }
28626 fi
28627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28628 fi
28629 rm -f conftest.val
28630 else
28631 ac_cv_sizeof_boolean=0
28632 fi
28633 fi
28634 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28635 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28636 cat >>confdefs.h <<_ACEOF
28637 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28638 _ACEOF
28639
28640
28641 cat >>confdefs.h <<_ACEOF
28642 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28643 _ACEOF
28644
28645
28646 fi
28647
28648 fi
28649 fi
28650 fi
28651 fi
28652 fi
28653
28654
28655 TIFF_LINK=
28656 TIFF_PREREQ_LINKS=-lm
28657 if test "$wxUSE_LIBTIFF" != "no" ; then
28658 cat >>confdefs.h <<\_ACEOF
28659 #define wxUSE_LIBTIFF 1
28660 _ACEOF
28661
28662
28663 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28664 if test "$wxUSE_LIBJPEG" = "sys"; then
28665 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28666 fi
28667 if test "$wxUSE_ZLIB" = "sys"; then
28668 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28669 fi
28670 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28671 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28672 if test "${ac_cv_header_tiffio_h+set}" = set; then
28673 echo $ECHO_N "(cached) $ECHO_C" >&6
28674 else
28675 cat >conftest.$ac_ext <<_ACEOF
28676 /* confdefs.h. */
28677 _ACEOF
28678 cat confdefs.h >>conftest.$ac_ext
28679 cat >>conftest.$ac_ext <<_ACEOF
28680 /* end confdefs.h. */
28681
28682
28683
28684 #include <tiffio.h>
28685 _ACEOF
28686 rm -f conftest.$ac_objext
28687 if { (ac_try="$ac_compile"
28688 case "(($ac_try" in
28689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28690 *) ac_try_echo=$ac_try;;
28691 esac
28692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28693 (eval "$ac_compile") 2>conftest.er1
28694 ac_status=$?
28695 grep -v '^ *+' conftest.er1 >conftest.err
28696 rm -f conftest.er1
28697 cat conftest.err >&5
28698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699 (exit $ac_status); } &&
28700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28701 { (case "(($ac_try" in
28702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28703 *) ac_try_echo=$ac_try;;
28704 esac
28705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28706 (eval "$ac_try") 2>&5
28707 ac_status=$?
28708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28709 (exit $ac_status); }; } &&
28710 { ac_try='test -s conftest.$ac_objext'
28711 { (case "(($ac_try" in
28712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28713 *) ac_try_echo=$ac_try;;
28714 esac
28715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28716 (eval "$ac_try") 2>&5
28717 ac_status=$?
28718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719 (exit $ac_status); }; }; then
28720 ac_cv_header_tiffio_h=yes
28721 else
28722 echo "$as_me: failed program was:" >&5
28723 sed 's/^/| /' conftest.$ac_ext >&5
28724
28725 ac_cv_header_tiffio_h=no
28726 fi
28727
28728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28729 fi
28730 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28731 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28732 if test $ac_cv_header_tiffio_h = yes; then
28733
28734 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28735 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28736 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28737 echo $ECHO_N "(cached) $ECHO_C" >&6
28738 else
28739 ac_check_lib_save_LIBS=$LIBS
28740 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28741 cat >conftest.$ac_ext <<_ACEOF
28742 /* confdefs.h. */
28743 _ACEOF
28744 cat confdefs.h >>conftest.$ac_ext
28745 cat >>conftest.$ac_ext <<_ACEOF
28746 /* end confdefs.h. */
28747
28748 /* Override any GCC internal prototype to avoid an error.
28749 Use char because int might match the return type of a GCC
28750 builtin and then its argument prototype would still apply. */
28751 #ifdef __cplusplus
28752 extern "C"
28753 #endif
28754 char TIFFError ();
28755 int
28756 main ()
28757 {
28758 return TIFFError ();
28759 ;
28760 return 0;
28761 }
28762 _ACEOF
28763 rm -f conftest.$ac_objext conftest$ac_exeext
28764 if { (ac_try="$ac_link"
28765 case "(($ac_try" in
28766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28767 *) ac_try_echo=$ac_try;;
28768 esac
28769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28770 (eval "$ac_link") 2>conftest.er1
28771 ac_status=$?
28772 grep -v '^ *+' conftest.er1 >conftest.err
28773 rm -f conftest.er1
28774 cat conftest.err >&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); } &&
28777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28778 { (case "(($ac_try" in
28779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28780 *) ac_try_echo=$ac_try;;
28781 esac
28782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28783 (eval "$ac_try") 2>&5
28784 ac_status=$?
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); }; } &&
28787 { ac_try='test -s conftest$ac_exeext'
28788 { (case "(($ac_try" in
28789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28790 *) ac_try_echo=$ac_try;;
28791 esac
28792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28793 (eval "$ac_try") 2>&5
28794 ac_status=$?
28795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28796 (exit $ac_status); }; }; then
28797 ac_cv_lib_tiff_TIFFError=yes
28798 else
28799 echo "$as_me: failed program was:" >&5
28800 sed 's/^/| /' conftest.$ac_ext >&5
28801
28802 ac_cv_lib_tiff_TIFFError=no
28803 fi
28804
28805 rm -f core conftest.err conftest.$ac_objext \
28806 conftest$ac_exeext conftest.$ac_ext
28807 LIBS=$ac_check_lib_save_LIBS
28808 fi
28809 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28810 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28811 if test $ac_cv_lib_tiff_TIFFError = yes; then
28812 TIFF_LINK=" -ltiff"
28813 fi
28814
28815
28816 fi
28817
28818
28819
28820 if test "x$TIFF_LINK" = "x" ; then
28821 if test "$wxUSE_LIBTIFF" = "sys" ; then
28822 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28823 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28824 { (exit 1); exit 1; }; }
28825 else
28826 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28827 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28828 wxUSE_LIBTIFF=builtin
28829 fi
28830 else
28831 wxUSE_LIBTIFF=sys
28832 fi
28833 fi
28834 fi
28835
28836
28837 if test "$wxUSE_WCHAR_T" != "yes"; then
28838 if test "$wxUSE_EXPAT" != "no"; then
28839 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28840 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28841 wxUSE_EXPAT=no
28842 fi
28843 if test "$wxUSE_XML" != "no"; then
28844 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28845 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28846 wxUSE_XML=no
28847 fi
28848 fi
28849
28850 if test "$wxUSE_EXPAT" != "no"; then
28851 wxUSE_XML=yes
28852 cat >>confdefs.h <<\_ACEOF
28853 #define wxUSE_EXPAT 1
28854 _ACEOF
28855
28856 cat >>confdefs.h <<\_ACEOF
28857 #define wxUSE_XML 1
28858 _ACEOF
28859
28860
28861 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28862 { echo "$as_me:$LINENO: checking for expat.h" >&5
28863 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28864 if test "${ac_cv_header_expat_h+set}" = set; then
28865 echo $ECHO_N "(cached) $ECHO_C" >&6
28866 else
28867 cat >conftest.$ac_ext <<_ACEOF
28868 /* confdefs.h. */
28869 _ACEOF
28870 cat confdefs.h >>conftest.$ac_ext
28871 cat >>conftest.$ac_ext <<_ACEOF
28872 /* end confdefs.h. */
28873
28874
28875 #include <expat.h>
28876 _ACEOF
28877 rm -f conftest.$ac_objext
28878 if { (ac_try="$ac_compile"
28879 case "(($ac_try" in
28880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28881 *) ac_try_echo=$ac_try;;
28882 esac
28883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28884 (eval "$ac_compile") 2>conftest.er1
28885 ac_status=$?
28886 grep -v '^ *+' conftest.er1 >conftest.err
28887 rm -f conftest.er1
28888 cat conftest.err >&5
28889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28890 (exit $ac_status); } &&
28891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28892 { (case "(($ac_try" in
28893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28894 *) ac_try_echo=$ac_try;;
28895 esac
28896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28897 (eval "$ac_try") 2>&5
28898 ac_status=$?
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); }; } &&
28901 { ac_try='test -s conftest.$ac_objext'
28902 { (case "(($ac_try" in
28903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28904 *) ac_try_echo=$ac_try;;
28905 esac
28906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28907 (eval "$ac_try") 2>&5
28908 ac_status=$?
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); }; }; then
28911 ac_cv_header_expat_h=yes
28912 else
28913 echo "$as_me: failed program was:" >&5
28914 sed 's/^/| /' conftest.$ac_ext >&5
28915
28916 ac_cv_header_expat_h=no
28917 fi
28918
28919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28920 fi
28921 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28922 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28923 if test $ac_cv_header_expat_h = yes; then
28924 found_expat_h=1
28925 fi
28926
28927
28928 if test "x$found_expat_h" = "x1"; then
28929 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28930 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28931 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28932 echo $ECHO_N "(cached) $ECHO_C" >&6
28933 else
28934
28935 ac_ext=cpp
28936 ac_cpp='$CXXCPP $CPPFLAGS'
28937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28940
28941 cat >conftest.$ac_ext <<_ACEOF
28942 /* confdefs.h. */
28943 _ACEOF
28944 cat confdefs.h >>conftest.$ac_ext
28945 cat >>conftest.$ac_ext <<_ACEOF
28946 /* end confdefs.h. */
28947 #include <expat.h>
28948 int
28949 main ()
28950 {
28951
28952 ;
28953 return 0;
28954 }
28955 _ACEOF
28956 rm -f conftest.$ac_objext
28957 if { (ac_try="$ac_compile"
28958 case "(($ac_try" in
28959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28960 *) ac_try_echo=$ac_try;;
28961 esac
28962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28963 (eval "$ac_compile") 2>conftest.er1
28964 ac_status=$?
28965 grep -v '^ *+' conftest.er1 >conftest.err
28966 rm -f conftest.er1
28967 cat conftest.err >&5
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); } &&
28970 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28971 { (case "(($ac_try" in
28972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28973 *) ac_try_echo=$ac_try;;
28974 esac
28975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28976 (eval "$ac_try") 2>&5
28977 ac_status=$?
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; } &&
28980 { ac_try='test -s conftest.$ac_objext'
28981 { (case "(($ac_try" in
28982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28983 *) ac_try_echo=$ac_try;;
28984 esac
28985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28986 (eval "$ac_try") 2>&5
28987 ac_status=$?
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); }; }; then
28990 wx_cv_expat_is_not_broken=yes
28991 else
28992 echo "$as_me: failed program was:" >&5
28993 sed 's/^/| /' conftest.$ac_ext >&5
28994
28995 wx_cv_expat_is_not_broken=no
28996
28997 fi
28998
28999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29000 ac_ext=c
29001 ac_cpp='$CPP $CPPFLAGS'
29002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29005
29006
29007
29008 fi
29009 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29010 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29011 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29012 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29013 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29014 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29015 echo $ECHO_N "(cached) $ECHO_C" >&6
29016 else
29017 ac_check_lib_save_LIBS=$LIBS
29018 LIBS="-lexpat $LIBS"
29019 cat >conftest.$ac_ext <<_ACEOF
29020 /* confdefs.h. */
29021 _ACEOF
29022 cat confdefs.h >>conftest.$ac_ext
29023 cat >>conftest.$ac_ext <<_ACEOF
29024 /* end confdefs.h. */
29025
29026 /* Override any GCC internal prototype to avoid an error.
29027 Use char because int might match the return type of a GCC
29028 builtin and then its argument prototype would still apply. */
29029 #ifdef __cplusplus
29030 extern "C"
29031 #endif
29032 char XML_ParserCreate ();
29033 int
29034 main ()
29035 {
29036 return XML_ParserCreate ();
29037 ;
29038 return 0;
29039 }
29040 _ACEOF
29041 rm -f conftest.$ac_objext conftest$ac_exeext
29042 if { (ac_try="$ac_link"
29043 case "(($ac_try" in
29044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29045 *) ac_try_echo=$ac_try;;
29046 esac
29047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29048 (eval "$ac_link") 2>conftest.er1
29049 ac_status=$?
29050 grep -v '^ *+' conftest.er1 >conftest.err
29051 rm -f conftest.er1
29052 cat conftest.err >&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); } &&
29055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29056 { (case "(($ac_try" in
29057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29058 *) ac_try_echo=$ac_try;;
29059 esac
29060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29061 (eval "$ac_try") 2>&5
29062 ac_status=$?
29063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064 (exit $ac_status); }; } &&
29065 { ac_try='test -s conftest$ac_exeext'
29066 { (case "(($ac_try" in
29067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29068 *) ac_try_echo=$ac_try;;
29069 esac
29070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29071 (eval "$ac_try") 2>&5
29072 ac_status=$?
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); }; }; then
29075 ac_cv_lib_expat_XML_ParserCreate=yes
29076 else
29077 echo "$as_me: failed program was:" >&5
29078 sed 's/^/| /' conftest.$ac_ext >&5
29079
29080 ac_cv_lib_expat_XML_ParserCreate=no
29081 fi
29082
29083 rm -f core conftest.err conftest.$ac_objext \
29084 conftest$ac_exeext conftest.$ac_ext
29085 LIBS=$ac_check_lib_save_LIBS
29086 fi
29087 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29088 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29089 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29090 EXPAT_LINK=" -lexpat"
29091 fi
29092
29093 fi
29094 fi
29095 if test "x$EXPAT_LINK" = "x" ; then
29096 if test "$wxUSE_EXPAT" = "sys" ; then
29097 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29098 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29099 { (exit 1); exit 1; }; }
29100 else
29101 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29102 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29103 wxUSE_EXPAT=builtin
29104 fi
29105 else
29106 wxUSE_EXPAT=sys
29107 fi
29108 fi
29109 if test "$wxUSE_EXPAT" = "builtin" ; then
29110 subdirs="$subdirs src/expat"
29111
29112 fi
29113 fi
29114
29115
29116
29117 if test "$wxUSE_LIBMSPACK" != "no"; then
29118 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29119 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29120 if test "${ac_cv_header_mspack_h+set}" = set; then
29121 echo $ECHO_N "(cached) $ECHO_C" >&6
29122 else
29123 cat >conftest.$ac_ext <<_ACEOF
29124 /* confdefs.h. */
29125 _ACEOF
29126 cat confdefs.h >>conftest.$ac_ext
29127 cat >>conftest.$ac_ext <<_ACEOF
29128 /* end confdefs.h. */
29129
29130
29131 #include <mspack.h>
29132 _ACEOF
29133 rm -f conftest.$ac_objext
29134 if { (ac_try="$ac_compile"
29135 case "(($ac_try" in
29136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29137 *) ac_try_echo=$ac_try;;
29138 esac
29139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29140 (eval "$ac_compile") 2>conftest.er1
29141 ac_status=$?
29142 grep -v '^ *+' conftest.er1 >conftest.err
29143 rm -f conftest.er1
29144 cat conftest.err >&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } &&
29147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29148 { (case "(($ac_try" in
29149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29150 *) ac_try_echo=$ac_try;;
29151 esac
29152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29153 (eval "$ac_try") 2>&5
29154 ac_status=$?
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); }; } &&
29157 { ac_try='test -s conftest.$ac_objext'
29158 { (case "(($ac_try" in
29159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29160 *) ac_try_echo=$ac_try;;
29161 esac
29162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29163 (eval "$ac_try") 2>&5
29164 ac_status=$?
29165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29166 (exit $ac_status); }; }; then
29167 ac_cv_header_mspack_h=yes
29168 else
29169 echo "$as_me: failed program was:" >&5
29170 sed 's/^/| /' conftest.$ac_ext >&5
29171
29172 ac_cv_header_mspack_h=no
29173 fi
29174
29175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29176 fi
29177 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29178 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29179 if test $ac_cv_header_mspack_h = yes; then
29180 found_mspack_h=1
29181 fi
29182
29183
29184 if test "x$found_mspack_h" = "x1"; then
29185 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29186 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29187 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29188 echo $ECHO_N "(cached) $ECHO_C" >&6
29189 else
29190 ac_check_lib_save_LIBS=$LIBS
29191 LIBS="-lmspack $LIBS"
29192 cat >conftest.$ac_ext <<_ACEOF
29193 /* confdefs.h. */
29194 _ACEOF
29195 cat confdefs.h >>conftest.$ac_ext
29196 cat >>conftest.$ac_ext <<_ACEOF
29197 /* end confdefs.h. */
29198
29199 /* Override any GCC internal prototype to avoid an error.
29200 Use char because int might match the return type of a GCC
29201 builtin and then its argument prototype would still apply. */
29202 #ifdef __cplusplus
29203 extern "C"
29204 #endif
29205 char mspack_create_chm_decompressor ();
29206 int
29207 main ()
29208 {
29209 return mspack_create_chm_decompressor ();
29210 ;
29211 return 0;
29212 }
29213 _ACEOF
29214 rm -f conftest.$ac_objext conftest$ac_exeext
29215 if { (ac_try="$ac_link"
29216 case "(($ac_try" in
29217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29218 *) ac_try_echo=$ac_try;;
29219 esac
29220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29221 (eval "$ac_link") 2>conftest.er1
29222 ac_status=$?
29223 grep -v '^ *+' conftest.er1 >conftest.err
29224 rm -f conftest.er1
29225 cat conftest.err >&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); } &&
29228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29229 { (case "(($ac_try" in
29230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29231 *) ac_try_echo=$ac_try;;
29232 esac
29233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29234 (eval "$ac_try") 2>&5
29235 ac_status=$?
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); }; } &&
29238 { ac_try='test -s conftest$ac_exeext'
29239 { (case "(($ac_try" in
29240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29241 *) ac_try_echo=$ac_try;;
29242 esac
29243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29244 (eval "$ac_try") 2>&5
29245 ac_status=$?
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); }; }; then
29248 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29249 else
29250 echo "$as_me: failed program was:" >&5
29251 sed 's/^/| /' conftest.$ac_ext >&5
29252
29253 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29254 fi
29255
29256 rm -f core conftest.err conftest.$ac_objext \
29257 conftest$ac_exeext conftest.$ac_ext
29258 LIBS=$ac_check_lib_save_LIBS
29259 fi
29260 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29261 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29262 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29263 MSPACK_LINK=" -lmspack"
29264 fi
29265
29266 fi
29267 if test "x$MSPACK_LINK" = "x" ; then
29268 wxUSE_LIBMSPACK=no
29269 fi
29270 fi
29271
29272 if test "$wxUSE_LIBMSPACK" != "no"; then
29273 cat >>confdefs.h <<\_ACEOF
29274 #define wxUSE_LIBMSPACK 1
29275 _ACEOF
29276
29277 fi
29278
29279
29280
29281 AFMINSTALL=
29282 WIN32INSTALL=
29283
29284 TOOLKIT=
29285 TOOLKIT_INCLUDE=
29286 WIDGET_SET=
29287
29288 if test "$USE_WIN32" = 1 ; then
29289 { echo "$as_me:$LINENO: checking for w32api.h" >&5
29290 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
29291 if test "${ac_cv_header_w32api_h+set}" = set; then
29292 echo $ECHO_N "(cached) $ECHO_C" >&6
29293 else
29294 cat >conftest.$ac_ext <<_ACEOF
29295 /* confdefs.h. */
29296 _ACEOF
29297 cat confdefs.h >>conftest.$ac_ext
29298 cat >>conftest.$ac_ext <<_ACEOF
29299 /* end confdefs.h. */
29300
29301
29302 #include <w32api.h>
29303 _ACEOF
29304 rm -f conftest.$ac_objext
29305 if { (ac_try="$ac_compile"
29306 case "(($ac_try" in
29307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29308 *) ac_try_echo=$ac_try;;
29309 esac
29310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29311 (eval "$ac_compile") 2>conftest.er1
29312 ac_status=$?
29313 grep -v '^ *+' conftest.er1 >conftest.err
29314 rm -f conftest.er1
29315 cat conftest.err >&5
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); } &&
29318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29319 { (case "(($ac_try" in
29320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29321 *) ac_try_echo=$ac_try;;
29322 esac
29323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29324 (eval "$ac_try") 2>&5
29325 ac_status=$?
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); }; } &&
29328 { ac_try='test -s conftest.$ac_objext'
29329 { (case "(($ac_try" in
29330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29331 *) ac_try_echo=$ac_try;;
29332 esac
29333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29334 (eval "$ac_try") 2>&5
29335 ac_status=$?
29336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29337 (exit $ac_status); }; }; then
29338 ac_cv_header_w32api_h=yes
29339 else
29340 echo "$as_me: failed program was:" >&5
29341 sed 's/^/| /' conftest.$ac_ext >&5
29342
29343 ac_cv_header_w32api_h=no
29344 fi
29345
29346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29347 fi
29348 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
29349 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
29350
29351
29352 { echo "$as_me:$LINENO: checking for windows.h" >&5
29353 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29354 if test "${ac_cv_header_windows_h+set}" = set; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29356 else
29357 cat >conftest.$ac_ext <<_ACEOF
29358 /* confdefs.h. */
29359 _ACEOF
29360 cat confdefs.h >>conftest.$ac_ext
29361 cat >>conftest.$ac_ext <<_ACEOF
29362 /* end confdefs.h. */
29363
29364
29365 #include <windows.h>
29366 _ACEOF
29367 rm -f conftest.$ac_objext
29368 if { (ac_try="$ac_compile"
29369 case "(($ac_try" in
29370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29371 *) ac_try_echo=$ac_try;;
29372 esac
29373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29374 (eval "$ac_compile") 2>conftest.er1
29375 ac_status=$?
29376 grep -v '^ *+' conftest.er1 >conftest.err
29377 rm -f conftest.er1
29378 cat conftest.err >&5
29379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29380 (exit $ac_status); } &&
29381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29382 { (case "(($ac_try" in
29383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29384 *) ac_try_echo=$ac_try;;
29385 esac
29386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29387 (eval "$ac_try") 2>&5
29388 ac_status=$?
29389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29390 (exit $ac_status); }; } &&
29391 { ac_try='test -s conftest.$ac_objext'
29392 { (case "(($ac_try" in
29393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29394 *) ac_try_echo=$ac_try;;
29395 esac
29396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29397 (eval "$ac_try") 2>&5
29398 ac_status=$?
29399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29400 (exit $ac_status); }; }; then
29401 ac_cv_header_windows_h=yes
29402 else
29403 echo "$as_me: failed program was:" >&5
29404 sed 's/^/| /' conftest.$ac_ext >&5
29405
29406 ac_cv_header_windows_h=no
29407 fi
29408
29409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29410 fi
29411 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29412 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29413 if test $ac_cv_header_windows_h = yes; then
29414 :
29415 else
29416
29417 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29418 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29419 { (exit 1); exit 1; }; }
29420
29421 fi
29422
29423
29424
29425 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29426
29427 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29428 LIBS="$LIBS -loleacc"
29429 fi
29430
29431 case "${host}" in
29432 *-*-cygwin* )
29433 LIBS="$LIBS -lkernel32 -luser32"
29434 esac
29435
29436 if test "$wxUSE_ODBC" = "sys" ; then
29437 wxUSE_ODBC = "yes"
29438 fi
29439 if test "$wxUSE_ODBC" = "yes" ; then
29440 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29441 cat >>confdefs.h <<\_ACEOF
29442 #define wxUSE_ODBC 1
29443 _ACEOF
29444
29445 fi
29446
29447 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29448 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29449
29450 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29451
29452 WIN32INSTALL=win32install
29453
29454 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29455 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29456 if test "${ac_cv_header_pbt_h+set}" = set; then
29457 echo $ECHO_N "(cached) $ECHO_C" >&6
29458 else
29459 cat >conftest.$ac_ext <<_ACEOF
29460 /* confdefs.h. */
29461 _ACEOF
29462 cat confdefs.h >>conftest.$ac_ext
29463 cat >>conftest.$ac_ext <<_ACEOF
29464 /* end confdefs.h. */
29465
29466
29467 #include <pbt.h>
29468 _ACEOF
29469 rm -f conftest.$ac_objext
29470 if { (ac_try="$ac_compile"
29471 case "(($ac_try" in
29472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29473 *) ac_try_echo=$ac_try;;
29474 esac
29475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29476 (eval "$ac_compile") 2>conftest.er1
29477 ac_status=$?
29478 grep -v '^ *+' conftest.er1 >conftest.err
29479 rm -f conftest.er1
29480 cat conftest.err >&5
29481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29482 (exit $ac_status); } &&
29483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29484 { (case "(($ac_try" in
29485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29486 *) ac_try_echo=$ac_try;;
29487 esac
29488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29489 (eval "$ac_try") 2>&5
29490 ac_status=$?
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); }; } &&
29493 { ac_try='test -s conftest.$ac_objext'
29494 { (case "(($ac_try" in
29495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29496 *) ac_try_echo=$ac_try;;
29497 esac
29498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29499 (eval "$ac_try") 2>&5
29500 ac_status=$?
29501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502 (exit $ac_status); }; }; then
29503 ac_cv_header_pbt_h=yes
29504 else
29505 echo "$as_me: failed program was:" >&5
29506 sed 's/^/| /' conftest.$ac_ext >&5
29507
29508 ac_cv_header_pbt_h=no
29509 fi
29510
29511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29512 fi
29513 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29514 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29515 if test $ac_cv_header_pbt_h = yes; then
29516 :
29517 else
29518 cat >>confdefs.h <<\_ACEOF
29519 #define NEED_PBT_H 1
29520 _ACEOF
29521
29522 fi
29523
29524
29525 fi
29526
29527 if test "$wxUSE_GUI" = "yes"; then
29528 USE_GUI=1
29529
29530 GUI_TK_LIBRARY=
29531
29532 WXGTK12=
29533 WXGTK127=
29534 WXGTK20=
29535 WXGPE=
29536
29537 if test "$wxUSE_COCOA" = 1 ; then
29538 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29539 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29540 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29541 wxUSE_PRINTING_ARCHITECTURE=no
29542 fi
29543 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29544 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29545 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29546 wxUSE_DRAG_AND_DROP=no
29547 fi
29548 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29549 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29550 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29551 wxUSE_DRAGIMAGE=no
29552 fi
29553 fi
29554
29555 if test "$wxUSE_MSW" = 1 ; then
29556 TOOLKIT=MSW
29557 GUIDIST=MSW_DIST
29558
29559 case "${host}" in
29560 *-*-mingw32* )
29561 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29562 esac
29563 fi
29564
29565 if test "$wxUSE_GTK" = 1; then
29566 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29567 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29568
29569 gtk_version_cached=1
29570 if test "${wx_cv_lib_gtk+set}" = set; then
29571 echo $ECHO_N "(cached) $ECHO_C" >&6
29572 else
29573
29574 gtk_version_cached=0
29575 { echo "$as_me:$LINENO: result: " >&5
29576 echo "${ECHO_T}" >&6; }
29577
29578 GTK_MODULES=
29579 if test "$wxUSE_THREADS" = "yes"; then
29580 GTK_MODULES=gthread
29581 fi
29582
29583 wx_cv_lib_gtk=
29584 if test "x$wxGTK_VERSION" != "x1"
29585 then
29586 case "${host}" in
29587 *-*-solaris2* )
29588 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29589 enable_gtktest=no
29590 fi
29591 esac
29592
29593 # Check whether --enable-gtktest was given.
29594 if test "${enable_gtktest+set}" = set; then
29595 enableval=$enable_gtktest;
29596 else
29597 enable_gtktest=yes
29598 fi
29599
29600
29601 pkg_config_args=gtk+-2.0
29602 for module in . $GTK_MODULES
29603 do
29604 case "$module" in
29605 gthread)
29606 pkg_config_args="$pkg_config_args gthread-2.0"
29607 ;;
29608 esac
29609 done
29610
29611 no_gtk=""
29612
29613 # Extract the first word of "pkg-config", so it can be a program name with args.
29614 set dummy pkg-config; ac_word=$2
29615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29617 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29618 echo $ECHO_N "(cached) $ECHO_C" >&6
29619 else
29620 case $PKG_CONFIG in
29621 [\\/]* | ?:[\\/]*)
29622 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29623 ;;
29624 *)
29625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29626 for as_dir in $PATH
29627 do
29628 IFS=$as_save_IFS
29629 test -z "$as_dir" && as_dir=.
29630 for ac_exec_ext in '' $ac_executable_extensions; do
29631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29632 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29634 break 2
29635 fi
29636 done
29637 done
29638 IFS=$as_save_IFS
29639
29640 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29641 ;;
29642 esac
29643 fi
29644 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29645 if test -n "$PKG_CONFIG"; then
29646 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29647 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29648 else
29649 { echo "$as_me:$LINENO: result: no" >&5
29650 echo "${ECHO_T}no" >&6; }
29651 fi
29652
29653
29654
29655 if test x$PKG_CONFIG != xno ; then
29656 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29657 :
29658 else
29659 echo "*** pkg-config too old; version 0.7 or better required."
29660 no_gtk=yes
29661 PKG_CONFIG=no
29662 fi
29663 else
29664 no_gtk=yes
29665 fi
29666
29667 min_gtk_version=2.0.0
29668 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29669 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29670
29671 if test x$PKG_CONFIG != xno ; then
29672 ## don't try to run the test against uninstalled libtool libs
29673 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29674 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29675 enable_gtktest=no
29676 fi
29677
29678 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29679 :
29680 else
29681 no_gtk=yes
29682 fi
29683 fi
29684
29685 if test x"$no_gtk" = x ; then
29686 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29687 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29688 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29689 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29690 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29691 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29692 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29693 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29694 if test "x$enable_gtktest" = "xyes" ; then
29695 ac_save_CFLAGS="$CFLAGS"
29696 ac_save_LIBS="$LIBS"
29697 CFLAGS="$CFLAGS $GTK_CFLAGS"
29698 LIBS="$GTK_LIBS $LIBS"
29699 rm -f conf.gtktest
29700 if test "$cross_compiling" = yes; then
29701 echo $ac_n "cross compiling; assumed OK... $ac_c"
29702 else
29703 cat >conftest.$ac_ext <<_ACEOF
29704 /* confdefs.h. */
29705 _ACEOF
29706 cat confdefs.h >>conftest.$ac_ext
29707 cat >>conftest.$ac_ext <<_ACEOF
29708 /* end confdefs.h. */
29709
29710 #include <gtk/gtk.h>
29711 #include <stdio.h>
29712 #include <stdlib.h>
29713
29714 int
29715 main ()
29716 {
29717 int major, minor, micro;
29718 char *tmp_version;
29719
29720 system ("touch conf.gtktest");
29721
29722 /* HP/UX 9 (%@#!) writes to sscanf strings */
29723 tmp_version = g_strdup("$min_gtk_version");
29724 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29725 printf("%s, bad version string\n", "$min_gtk_version");
29726 exit(1);
29727 }
29728
29729 if ((gtk_major_version != $gtk_config_major_version) ||
29730 (gtk_minor_version != $gtk_config_minor_version) ||
29731 (gtk_micro_version != $gtk_config_micro_version))
29732 {
29733 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29734 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29735 gtk_major_version, gtk_minor_version, gtk_micro_version);
29736 printf ("*** was found! If pkg-config was correct, then it is best\n");
29737 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29738 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29739 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29740 printf("*** required on your system.\n");
29741 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29742 printf("*** to point to the correct configuration files\n");
29743 }
29744 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29745 (gtk_minor_version != GTK_MINOR_VERSION) ||
29746 (gtk_micro_version != GTK_MICRO_VERSION))
29747 {
29748 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29749 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29750 printf("*** library (version %d.%d.%d)\n",
29751 gtk_major_version, gtk_minor_version, gtk_micro_version);
29752 }
29753 else
29754 {
29755 if ((gtk_major_version > major) ||
29756 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29757 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29758 {
29759 return 0;
29760 }
29761 else
29762 {
29763 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29764 gtk_major_version, gtk_minor_version, gtk_micro_version);
29765 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29766 major, minor, micro);
29767 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29768 printf("***\n");
29769 printf("*** If you have already installed a sufficiently new version, this error\n");
29770 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29771 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29772 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29773 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29774 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29775 printf("*** so that the correct libraries are found at run-time))\n");
29776 }
29777 }
29778 return 1;
29779 }
29780
29781 _ACEOF
29782 rm -f conftest$ac_exeext
29783 if { (ac_try="$ac_link"
29784 case "(($ac_try" in
29785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29786 *) ac_try_echo=$ac_try;;
29787 esac
29788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29789 (eval "$ac_link") 2>&5
29790 ac_status=$?
29791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29792 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29793 { (case "(($ac_try" in
29794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29795 *) ac_try_echo=$ac_try;;
29796 esac
29797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29798 (eval "$ac_try") 2>&5
29799 ac_status=$?
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); }; }; then
29802 :
29803 else
29804 echo "$as_me: program exited with status $ac_status" >&5
29805 echo "$as_me: failed program was:" >&5
29806 sed 's/^/| /' conftest.$ac_ext >&5
29807
29808 ( exit $ac_status )
29809 no_gtk=yes
29810 fi
29811 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29812 fi
29813
29814
29815 CFLAGS="$ac_save_CFLAGS"
29816 LIBS="$ac_save_LIBS"
29817 fi
29818 fi
29819 if test "x$no_gtk" = x ; then
29820 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29821 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29822 wx_cv_lib_gtk=2.0
29823 else
29824 { echo "$as_me:$LINENO: result: no" >&5
29825 echo "${ECHO_T}no" >&6; }
29826 if test "$PKG_CONFIG" = "no" ; then
29827 echo "*** A new enough version of pkg-config was not found."
29828 echo "*** See http://pkgconfig.sourceforge.net"
29829 else
29830 if test -f conf.gtktest ; then
29831 :
29832 else
29833 echo "*** Could not run GTK+ test program, checking why..."
29834 ac_save_CFLAGS="$CFLAGS"
29835 ac_save_LIBS="$LIBS"
29836 CFLAGS="$CFLAGS $GTK_CFLAGS"
29837 LIBS="$LIBS $GTK_LIBS"
29838 cat >conftest.$ac_ext <<_ACEOF
29839 /* confdefs.h. */
29840 _ACEOF
29841 cat confdefs.h >>conftest.$ac_ext
29842 cat >>conftest.$ac_ext <<_ACEOF
29843 /* end confdefs.h. */
29844
29845 #include <gtk/gtk.h>
29846 #include <stdio.h>
29847
29848 int
29849 main ()
29850 {
29851 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29852 ;
29853 return 0;
29854 }
29855 _ACEOF
29856 rm -f conftest.$ac_objext conftest$ac_exeext
29857 if { (ac_try="$ac_link"
29858 case "(($ac_try" in
29859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29860 *) ac_try_echo=$ac_try;;
29861 esac
29862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29863 (eval "$ac_link") 2>conftest.er1
29864 ac_status=$?
29865 grep -v '^ *+' conftest.er1 >conftest.err
29866 rm -f conftest.er1
29867 cat conftest.err >&5
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); } &&
29870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29871 { (case "(($ac_try" in
29872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29873 *) ac_try_echo=$ac_try;;
29874 esac
29875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29876 (eval "$ac_try") 2>&5
29877 ac_status=$?
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); }; } &&
29880 { ac_try='test -s conftest$ac_exeext'
29881 { (case "(($ac_try" in
29882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29883 *) ac_try_echo=$ac_try;;
29884 esac
29885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29886 (eval "$ac_try") 2>&5
29887 ac_status=$?
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; }; then
29890 echo "*** The test program compiled, but did not run. This usually means"
29891 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29892 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29893 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29894 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29895 echo "*** is required on your system"
29896 echo "***"
29897 echo "*** If you have an old version installed, it is best to remove it, although"
29898 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29899 else
29900 echo "$as_me: failed program was:" >&5
29901 sed 's/^/| /' conftest.$ac_ext >&5
29902
29903 echo "*** The test program failed to compile or link. See the file config.log for the"
29904 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29905 fi
29906
29907 rm -f core conftest.err conftest.$ac_objext \
29908 conftest$ac_exeext conftest.$ac_ext
29909 CFLAGS="$ac_save_CFLAGS"
29910 LIBS="$ac_save_LIBS"
29911 fi
29912 fi
29913 GTK_CFLAGS=""
29914 GTK_LIBS=""
29915 :
29916 fi
29917
29918
29919 rm -f conf.gtktest
29920
29921
29922 case "${host}" in
29923 *-*-solaris2* )
29924 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29925 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
29926 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
29927 fi
29928 if test "$wxUSE_SHARED" != "yes"; then
29929 GTK_LIBS="$GTK_LIBS -lX11"
29930 fi
29931 esac
29932 fi
29933
29934 if test -z "$wx_cv_lib_gtk"; then
29935 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29936
29937 # Check whether --with-gtk-prefix was given.
29938 if test "${with_gtk_prefix+set}" = set; then
29939 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29940 else
29941 gtk_config_prefix=""
29942 fi
29943
29944
29945 # Check whether --with-gtk-exec-prefix was given.
29946 if test "${with_gtk_exec_prefix+set}" = set; then
29947 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29948 else
29949 gtk_config_exec_prefix=""
29950 fi
29951
29952 # Check whether --enable-gtktest was given.
29953 if test "${enable_gtktest+set}" = set; then
29954 enableval=$enable_gtktest;
29955 else
29956 enable_gtktest=yes
29957 fi
29958
29959
29960 for module in . $GTK_MODULES
29961 do
29962 case "$module" in
29963 gthread)
29964 gtk_config_args="$gtk_config_args gthread"
29965 ;;
29966 esac
29967 done
29968
29969 if test x$gtk_config_exec_prefix != x ; then
29970 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29971 if test x${GTK_CONFIG+set} != xset ; then
29972 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29973 fi
29974 fi
29975 if test x$gtk_config_prefix != x ; then
29976 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29977 if test x${GTK_CONFIG+set} != xset ; then
29978 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29979 fi
29980 fi
29981
29982 # Extract the first word of "gtk-config", so it can be a program name with args.
29983 set dummy gtk-config; ac_word=$2
29984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29986 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29987 echo $ECHO_N "(cached) $ECHO_C" >&6
29988 else
29989 case $GTK_CONFIG in
29990 [\\/]* | ?:[\\/]*)
29991 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29992 ;;
29993 *)
29994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29995 for as_dir in $PATH
29996 do
29997 IFS=$as_save_IFS
29998 test -z "$as_dir" && as_dir=.
29999 for ac_exec_ext in '' $ac_executable_extensions; do
30000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
30001 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30003 break 2
30004 fi
30005 done
30006 done
30007 IFS=$as_save_IFS
30008
30009 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30010 ;;
30011 esac
30012 fi
30013 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30014 if test -n "$GTK_CONFIG"; then
30015 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30016 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30017 else
30018 { echo "$as_me:$LINENO: result: no" >&5
30019 echo "${ECHO_T}no" >&6; }
30020 fi
30021
30022
30023 min_gtk_version=1.2.7
30024 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30025 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30026 no_gtk=""
30027 if test "$GTK_CONFIG" = "no" ; then
30028 no_gtk=yes
30029 else
30030 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30031 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30032 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30034 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30036 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30038 if test "x$enable_gtktest" = "xyes" ; then
30039 ac_save_CFLAGS="$CFLAGS"
30040 ac_save_LIBS="$LIBS"
30041 CFLAGS="$CFLAGS $GTK_CFLAGS"
30042 LIBS="$GTK_LIBS $LIBS"
30043 rm -f conf.gtktest
30044 if test "$cross_compiling" = yes; then
30045 echo $ac_n "cross compiling; assumed OK... $ac_c"
30046 else
30047 cat >conftest.$ac_ext <<_ACEOF
30048 /* confdefs.h. */
30049 _ACEOF
30050 cat confdefs.h >>conftest.$ac_ext
30051 cat >>conftest.$ac_ext <<_ACEOF
30052 /* end confdefs.h. */
30053
30054 #include <gtk/gtk.h>
30055 #include <stdio.h>
30056 #include <stdlib.h>
30057
30058 int
30059 main ()
30060 {
30061 int major, minor, micro;
30062 char *tmp_version;
30063
30064 system ("touch conf.gtktest");
30065
30066 /* HP/UX 9 (%@#!) writes to sscanf strings */
30067 tmp_version = g_strdup("$min_gtk_version");
30068 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30069 printf("%s, bad version string\n", "$min_gtk_version");
30070 exit(1);
30071 }
30072
30073 if ((gtk_major_version != $gtk_config_major_version) ||
30074 (gtk_minor_version != $gtk_config_minor_version) ||
30075 (gtk_micro_version != $gtk_config_micro_version))
30076 {
30077 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30078 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30079 gtk_major_version, gtk_minor_version, gtk_micro_version);
30080 printf ("*** was found! If gtk-config was correct, then it is best\n");
30081 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30082 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30083 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30084 printf("*** required on your system.\n");
30085 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30086 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30087 printf("*** before re-running configure\n");
30088 }
30089 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30090 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30091 (gtk_minor_version != GTK_MINOR_VERSION) ||
30092 (gtk_micro_version != GTK_MICRO_VERSION))
30093 {
30094 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30095 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30096 printf("*** library (version %d.%d.%d)\n",
30097 gtk_major_version, gtk_minor_version, gtk_micro_version);
30098 }
30099 #endif /* defined (GTK_MAJOR_VERSION) ... */
30100 else
30101 {
30102 if ((gtk_major_version > major) ||
30103 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30104 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30105 {
30106 return 0;
30107 }
30108 else
30109 {
30110 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30111 gtk_major_version, gtk_minor_version, gtk_micro_version);
30112 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30113 major, minor, micro);
30114 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30115 printf("***\n");
30116 printf("*** If you have already installed a sufficiently new version, this error\n");
30117 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30118 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30119 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30120 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30121 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30122 printf("*** so that the correct libraries are found at run-time))\n");
30123 }
30124 }
30125 return 1;
30126 }
30127
30128 _ACEOF
30129 rm -f conftest$ac_exeext
30130 if { (ac_try="$ac_link"
30131 case "(($ac_try" in
30132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30133 *) ac_try_echo=$ac_try;;
30134 esac
30135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30136 (eval "$ac_link") 2>&5
30137 ac_status=$?
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30140 { (case "(($ac_try" in
30141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30142 *) ac_try_echo=$ac_try;;
30143 esac
30144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30145 (eval "$ac_try") 2>&5
30146 ac_status=$?
30147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30148 (exit $ac_status); }; }; then
30149 :
30150 else
30151 echo "$as_me: program exited with status $ac_status" >&5
30152 echo "$as_me: failed program was:" >&5
30153 sed 's/^/| /' conftest.$ac_ext >&5
30154
30155 ( exit $ac_status )
30156 no_gtk=yes
30157 fi
30158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30159 fi
30160
30161
30162 CFLAGS="$ac_save_CFLAGS"
30163 LIBS="$ac_save_LIBS"
30164 fi
30165 fi
30166 if test "x$no_gtk" = x ; then
30167 { echo "$as_me:$LINENO: result: yes" >&5
30168 echo "${ECHO_T}yes" >&6; }
30169 wx_cv_lib_gtk=1.2.7
30170 else
30171 { echo "$as_me:$LINENO: result: no" >&5
30172 echo "${ECHO_T}no" >&6; }
30173 if test "$GTK_CONFIG" = "no" ; then
30174 echo "*** The gtk-config script installed by GTK could not be found"
30175 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30176 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30177 echo "*** full path to gtk-config."
30178 else
30179 if test -f conf.gtktest ; then
30180 :
30181 else
30182 echo "*** Could not run GTK test program, checking why..."
30183 CFLAGS="$CFLAGS $GTK_CFLAGS"
30184 LIBS="$LIBS $GTK_LIBS"
30185 cat >conftest.$ac_ext <<_ACEOF
30186 /* confdefs.h. */
30187 _ACEOF
30188 cat confdefs.h >>conftest.$ac_ext
30189 cat >>conftest.$ac_ext <<_ACEOF
30190 /* end confdefs.h. */
30191
30192 #include <gtk/gtk.h>
30193 #include <stdio.h>
30194
30195 int
30196 main ()
30197 {
30198 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30199 ;
30200 return 0;
30201 }
30202 _ACEOF
30203 rm -f conftest.$ac_objext conftest$ac_exeext
30204 if { (ac_try="$ac_link"
30205 case "(($ac_try" in
30206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30207 *) ac_try_echo=$ac_try;;
30208 esac
30209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30210 (eval "$ac_link") 2>conftest.er1
30211 ac_status=$?
30212 grep -v '^ *+' conftest.er1 >conftest.err
30213 rm -f conftest.er1
30214 cat conftest.err >&5
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); } &&
30217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30218 { (case "(($ac_try" in
30219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30220 *) ac_try_echo=$ac_try;;
30221 esac
30222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30223 (eval "$ac_try") 2>&5
30224 ac_status=$?
30225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30226 (exit $ac_status); }; } &&
30227 { ac_try='test -s conftest$ac_exeext'
30228 { (case "(($ac_try" in
30229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30230 *) ac_try_echo=$ac_try;;
30231 esac
30232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30233 (eval "$ac_try") 2>&5
30234 ac_status=$?
30235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236 (exit $ac_status); }; }; then
30237 echo "*** The test program compiled, but did not run. This usually means"
30238 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30239 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30240 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30241 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30242 echo "*** is required on your system"
30243 echo "***"
30244 echo "*** If you have an old version installed, it is best to remove it, although"
30245 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30246 echo "***"
30247 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30248 echo "*** came with the system with the command"
30249 echo "***"
30250 echo "*** rpm --erase --nodeps gtk gtk-devel"
30251 else
30252 echo "$as_me: failed program was:" >&5
30253 sed 's/^/| /' conftest.$ac_ext >&5
30254
30255 echo "*** The test program failed to compile or link. See the file config.log for the"
30256 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30257 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30258 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30259 fi
30260
30261 rm -f core conftest.err conftest.$ac_objext \
30262 conftest$ac_exeext conftest.$ac_ext
30263 CFLAGS="$ac_save_CFLAGS"
30264 LIBS="$ac_save_LIBS"
30265 fi
30266 fi
30267 GTK_CFLAGS=""
30268 GTK_LIBS=""
30269 :
30270 fi
30271
30272
30273 rm -f conf.gtktest
30274
30275
30276 if test -z "$wx_cv_lib_gtk"; then
30277
30278 # Check whether --with-gtk-prefix was given.
30279 if test "${with_gtk_prefix+set}" = set; then
30280 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30281 else
30282 gtk_config_prefix=""
30283 fi
30284
30285
30286 # Check whether --with-gtk-exec-prefix was given.
30287 if test "${with_gtk_exec_prefix+set}" = set; then
30288 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30289 else
30290 gtk_config_exec_prefix=""
30291 fi
30292
30293 # Check whether --enable-gtktest was given.
30294 if test "${enable_gtktest+set}" = set; then
30295 enableval=$enable_gtktest;
30296 else
30297 enable_gtktest=yes
30298 fi
30299
30300
30301 for module in . $GTK_MODULES
30302 do
30303 case "$module" in
30304 gthread)
30305 gtk_config_args="$gtk_config_args gthread"
30306 ;;
30307 esac
30308 done
30309
30310 if test x$gtk_config_exec_prefix != x ; then
30311 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30312 if test x${GTK_CONFIG+set} != xset ; then
30313 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30314 fi
30315 fi
30316 if test x$gtk_config_prefix != x ; then
30317 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30318 if test x${GTK_CONFIG+set} != xset ; then
30319 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30320 fi
30321 fi
30322
30323 # Extract the first word of "gtk-config", so it can be a program name with args.
30324 set dummy gtk-config; ac_word=$2
30325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30327 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30328 echo $ECHO_N "(cached) $ECHO_C" >&6
30329 else
30330 case $GTK_CONFIG in
30331 [\\/]* | ?:[\\/]*)
30332 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30333 ;;
30334 *)
30335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30336 for as_dir in $PATH
30337 do
30338 IFS=$as_save_IFS
30339 test -z "$as_dir" && as_dir=.
30340 for ac_exec_ext in '' $ac_executable_extensions; do
30341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
30342 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30344 break 2
30345 fi
30346 done
30347 done
30348 IFS=$as_save_IFS
30349
30350 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30351 ;;
30352 esac
30353 fi
30354 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30355 if test -n "$GTK_CONFIG"; then
30356 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30357 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30358 else
30359 { echo "$as_me:$LINENO: result: no" >&5
30360 echo "${ECHO_T}no" >&6; }
30361 fi
30362
30363
30364 min_gtk_version=1.2.3
30365 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30366 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30367 no_gtk=""
30368 if test "$GTK_CONFIG" = "no" ; then
30369 no_gtk=yes
30370 else
30371 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30372 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30373 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30375 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30377 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30379 if test "x$enable_gtktest" = "xyes" ; then
30380 ac_save_CFLAGS="$CFLAGS"
30381 ac_save_LIBS="$LIBS"
30382 CFLAGS="$CFLAGS $GTK_CFLAGS"
30383 LIBS="$GTK_LIBS $LIBS"
30384 rm -f conf.gtktest
30385 if test "$cross_compiling" = yes; then
30386 echo $ac_n "cross compiling; assumed OK... $ac_c"
30387 else
30388 cat >conftest.$ac_ext <<_ACEOF
30389 /* confdefs.h. */
30390 _ACEOF
30391 cat confdefs.h >>conftest.$ac_ext
30392 cat >>conftest.$ac_ext <<_ACEOF
30393 /* end confdefs.h. */
30394
30395 #include <gtk/gtk.h>
30396 #include <stdio.h>
30397 #include <stdlib.h>
30398
30399 int
30400 main ()
30401 {
30402 int major, minor, micro;
30403 char *tmp_version;
30404
30405 system ("touch conf.gtktest");
30406
30407 /* HP/UX 9 (%@#!) writes to sscanf strings */
30408 tmp_version = g_strdup("$min_gtk_version");
30409 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30410 printf("%s, bad version string\n", "$min_gtk_version");
30411 exit(1);
30412 }
30413
30414 if ((gtk_major_version != $gtk_config_major_version) ||
30415 (gtk_minor_version != $gtk_config_minor_version) ||
30416 (gtk_micro_version != $gtk_config_micro_version))
30417 {
30418 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30419 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30420 gtk_major_version, gtk_minor_version, gtk_micro_version);
30421 printf ("*** was found! If gtk-config was correct, then it is best\n");
30422 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30423 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30424 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30425 printf("*** required on your system.\n");
30426 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30427 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30428 printf("*** before re-running configure\n");
30429 }
30430 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30431 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30432 (gtk_minor_version != GTK_MINOR_VERSION) ||
30433 (gtk_micro_version != GTK_MICRO_VERSION))
30434 {
30435 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30436 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30437 printf("*** library (version %d.%d.%d)\n",
30438 gtk_major_version, gtk_minor_version, gtk_micro_version);
30439 }
30440 #endif /* defined (GTK_MAJOR_VERSION) ... */
30441 else
30442 {
30443 if ((gtk_major_version > major) ||
30444 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30445 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30446 {
30447 return 0;
30448 }
30449 else
30450 {
30451 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30452 gtk_major_version, gtk_minor_version, gtk_micro_version);
30453 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30454 major, minor, micro);
30455 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30456 printf("***\n");
30457 printf("*** If you have already installed a sufficiently new version, this error\n");
30458 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30459 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30460 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30461 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30462 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30463 printf("*** so that the correct libraries are found at run-time))\n");
30464 }
30465 }
30466 return 1;
30467 }
30468
30469 _ACEOF
30470 rm -f conftest$ac_exeext
30471 if { (ac_try="$ac_link"
30472 case "(($ac_try" in
30473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30474 *) ac_try_echo=$ac_try;;
30475 esac
30476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30477 (eval "$ac_link") 2>&5
30478 ac_status=$?
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30481 { (case "(($ac_try" in
30482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30483 *) ac_try_echo=$ac_try;;
30484 esac
30485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30486 (eval "$ac_try") 2>&5
30487 ac_status=$?
30488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30489 (exit $ac_status); }; }; then
30490 :
30491 else
30492 echo "$as_me: program exited with status $ac_status" >&5
30493 echo "$as_me: failed program was:" >&5
30494 sed 's/^/| /' conftest.$ac_ext >&5
30495
30496 ( exit $ac_status )
30497 no_gtk=yes
30498 fi
30499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30500 fi
30501
30502
30503 CFLAGS="$ac_save_CFLAGS"
30504 LIBS="$ac_save_LIBS"
30505 fi
30506 fi
30507 if test "x$no_gtk" = x ; then
30508 { echo "$as_me:$LINENO: result: yes" >&5
30509 echo "${ECHO_T}yes" >&6; }
30510 wx_cv_lib_gtk=1.2.3
30511 else
30512 { echo "$as_me:$LINENO: result: no" >&5
30513 echo "${ECHO_T}no" >&6; }
30514 if test "$GTK_CONFIG" = "no" ; then
30515 echo "*** The gtk-config script installed by GTK could not be found"
30516 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30517 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30518 echo "*** full path to gtk-config."
30519 else
30520 if test -f conf.gtktest ; then
30521 :
30522 else
30523 echo "*** Could not run GTK test program, checking why..."
30524 CFLAGS="$CFLAGS $GTK_CFLAGS"
30525 LIBS="$LIBS $GTK_LIBS"
30526 cat >conftest.$ac_ext <<_ACEOF
30527 /* confdefs.h. */
30528 _ACEOF
30529 cat confdefs.h >>conftest.$ac_ext
30530 cat >>conftest.$ac_ext <<_ACEOF
30531 /* end confdefs.h. */
30532
30533 #include <gtk/gtk.h>
30534 #include <stdio.h>
30535
30536 int
30537 main ()
30538 {
30539 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30540 ;
30541 return 0;
30542 }
30543 _ACEOF
30544 rm -f conftest.$ac_objext conftest$ac_exeext
30545 if { (ac_try="$ac_link"
30546 case "(($ac_try" in
30547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30548 *) ac_try_echo=$ac_try;;
30549 esac
30550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30551 (eval "$ac_link") 2>conftest.er1
30552 ac_status=$?
30553 grep -v '^ *+' conftest.er1 >conftest.err
30554 rm -f conftest.er1
30555 cat conftest.err >&5
30556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30557 (exit $ac_status); } &&
30558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30559 { (case "(($ac_try" in
30560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30561 *) ac_try_echo=$ac_try;;
30562 esac
30563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30564 (eval "$ac_try") 2>&5
30565 ac_status=$?
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); }; } &&
30568 { ac_try='test -s conftest$ac_exeext'
30569 { (case "(($ac_try" in
30570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30571 *) ac_try_echo=$ac_try;;
30572 esac
30573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30574 (eval "$ac_try") 2>&5
30575 ac_status=$?
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); }; }; then
30578 echo "*** The test program compiled, but did not run. This usually means"
30579 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30580 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30581 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30582 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30583 echo "*** is required on your system"
30584 echo "***"
30585 echo "*** If you have an old version installed, it is best to remove it, although"
30586 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30587 echo "***"
30588 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30589 echo "*** came with the system with the command"
30590 echo "***"
30591 echo "*** rpm --erase --nodeps gtk gtk-devel"
30592 else
30593 echo "$as_me: failed program was:" >&5
30594 sed 's/^/| /' conftest.$ac_ext >&5
30595
30596 echo "*** The test program failed to compile or link. See the file config.log for the"
30597 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30598 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30599 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30600 fi
30601
30602 rm -f core conftest.err conftest.$ac_objext \
30603 conftest$ac_exeext conftest.$ac_ext
30604 CFLAGS="$ac_save_CFLAGS"
30605 LIBS="$ac_save_LIBS"
30606 fi
30607 fi
30608 GTK_CFLAGS=""
30609 GTK_LIBS=""
30610 :
30611 fi
30612
30613
30614 rm -f conf.gtktest
30615
30616 fi
30617 fi
30618 fi
30619
30620 if test -z "$wx_cv_lib_gtk"; then
30621 wx_cv_lib_gtk=none
30622 else
30623 wx_cv_cflags_gtk=$GTK_CFLAGS
30624 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30625 fi
30626
30627
30628 fi
30629
30630
30631 if test "$gtk_version_cached" = 1; then
30632 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30633 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30634 fi
30635
30636 case "$wx_cv_lib_gtk" in
30637 2.0) WXGTK20=1
30638 TOOLKIT_VERSION=2
30639 ;;
30640 1.2.7) WXGTK127=1
30641 WXGTK12=1
30642 ;;
30643 1.2.3) WXGTK12=1
30644 ;;
30645 *) { { echo "$as_me:$LINENO: error:
30646 The development files for GTK+ were not found. For GTK+ 2, please
30647 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30648 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30649 and that the version is 1.2.3 or above. Also check that the
30650 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30651 --libs' are in the LD_LIBRARY_PATH or equivalent.
30652 " >&5
30653 echo "$as_me: error:
30654 The development files for GTK+ were not found. For GTK+ 2, please
30655 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30656 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30657 and that the version is 1.2.3 or above. Also check that the
30658 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30659 --libs' are in the LD_LIBRARY_PATH or equivalent.
30660 " >&2;}
30661 { (exit 1); exit 1; }; }
30662 ;;
30663 esac
30664
30665 if test "$WXGTK20" = 1; then
30666 save_CFLAGS="$CFLAGS"
30667 save_LIBS="$LIBS"
30668 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30669 LIBS="$LIBS $wx_cv_libs_gtk"
30670
30671 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
30672 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
30673 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
30674 echo $ECHO_N "(cached) $ECHO_C" >&6
30675 else
30676 cat >conftest.$ac_ext <<_ACEOF
30677 /* confdefs.h. */
30678 _ACEOF
30679 cat confdefs.h >>conftest.$ac_ext
30680 cat >>conftest.$ac_ext <<_ACEOF
30681 /* end confdefs.h. */
30682 #include <gtk/gtk.h>
30683
30684 int
30685 main ()
30686 {
30687 #ifndef gtk_icon_size_lookup
30688 char *p = (char *) gtk_icon_size_lookup;
30689 return !p;
30690 #endif
30691
30692 ;
30693 return 0;
30694 }
30695 _ACEOF
30696 rm -f conftest.$ac_objext
30697 if { (ac_try="$ac_compile"
30698 case "(($ac_try" in
30699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30700 *) ac_try_echo=$ac_try;;
30701 esac
30702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30703 (eval "$ac_compile") 2>conftest.er1
30704 ac_status=$?
30705 grep -v '^ *+' conftest.er1 >conftest.err
30706 rm -f conftest.er1
30707 cat conftest.err >&5
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); } &&
30710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30711 { (case "(($ac_try" in
30712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30713 *) ac_try_echo=$ac_try;;
30714 esac
30715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30716 (eval "$ac_try") 2>&5
30717 ac_status=$?
30718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30719 (exit $ac_status); }; } &&
30720 { ac_try='test -s conftest.$ac_objext'
30721 { (case "(($ac_try" in
30722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30723 *) ac_try_echo=$ac_try;;
30724 esac
30725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30726 (eval "$ac_try") 2>&5
30727 ac_status=$?
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); }; }; then
30730 ac_cv_have_decl_gtk_icon_size_lookup=yes
30731 else
30732 echo "$as_me: failed program was:" >&5
30733 sed 's/^/| /' conftest.$ac_ext >&5
30734
30735 ac_cv_have_decl_gtk_icon_size_lookup=no
30736 fi
30737
30738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30739 fi
30740 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
30741 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
30742 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
30743
30744 cat >>confdefs.h <<_ACEOF
30745 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
30746 _ACEOF
30747
30748
30749 else
30750 cat >>confdefs.h <<_ACEOF
30751 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
30752 _ACEOF
30753
30754 cat >>confdefs.h <<\_ACEOF
30755 #define NEED_GTK_ICON_SIZE_LOOKUP 1
30756 _ACEOF
30757
30758 fi
30759
30760
30761
30762
30763 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30764 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30765 cat >conftest.$ac_ext <<_ACEOF
30766 /* confdefs.h. */
30767 _ACEOF
30768 cat confdefs.h >>conftest.$ac_ext
30769 cat >>conftest.$ac_ext <<_ACEOF
30770 /* end confdefs.h. */
30771
30772 #include <gtk/gtk.h>
30773
30774 int
30775 main ()
30776 {
30777
30778 #if !GTK_CHECK_VERSION(2,10,0)
30779 Not GTK+ 2.10
30780 #endif
30781
30782 ;
30783 return 0;
30784 }
30785 _ACEOF
30786 rm -f conftest.$ac_objext
30787 if { (ac_try="$ac_compile"
30788 case "(($ac_try" in
30789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30790 *) ac_try_echo=$ac_try;;
30791 esac
30792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30793 (eval "$ac_compile") 2>conftest.er1
30794 ac_status=$?
30795 grep -v '^ *+' conftest.er1 >conftest.err
30796 rm -f conftest.er1
30797 cat conftest.err >&5
30798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30799 (exit $ac_status); } &&
30800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30801 { (case "(($ac_try" in
30802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30803 *) ac_try_echo=$ac_try;;
30804 esac
30805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30806 (eval "$ac_try") 2>&5
30807 ac_status=$?
30808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30809 (exit $ac_status); }; } &&
30810 { ac_try='test -s conftest.$ac_objext'
30811 { (case "(($ac_try" in
30812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30813 *) ac_try_echo=$ac_try;;
30814 esac
30815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30816 (eval "$ac_try") 2>&5
30817 ac_status=$?
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); }; }; then
30820
30821 cat >>confdefs.h <<\_ACEOF
30822 #define __WXGTK210__ 1
30823 _ACEOF
30824
30825 cat >>confdefs.h <<\_ACEOF
30826 #define __WXGTK26__ 1
30827 _ACEOF
30828
30829 cat >>confdefs.h <<\_ACEOF
30830 #define __WXGTK24__ 1
30831 _ACEOF
30832
30833 { echo "$as_me:$LINENO: result: yes" >&5
30834 echo "${ECHO_T}yes" >&6; }
30835 ac_wxgtk210=1
30836
30837 else
30838 echo "$as_me: failed program was:" >&5
30839 sed 's/^/| /' conftest.$ac_ext >&5
30840
30841
30842 { echo "$as_me:$LINENO: result: no" >&5
30843 echo "${ECHO_T}no" >&6; }
30844 ac_wxgtk210=0
30845
30846 fi
30847
30848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30849
30850 if test "$ac_wxgtk210" = 0; then
30851 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30852 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30853 cat >conftest.$ac_ext <<_ACEOF
30854 /* confdefs.h. */
30855 _ACEOF
30856 cat confdefs.h >>conftest.$ac_ext
30857 cat >>conftest.$ac_ext <<_ACEOF
30858 /* end confdefs.h. */
30859
30860 #include <gtk/gtk.h>
30861
30862 int
30863 main ()
30864 {
30865
30866 #if !GTK_CHECK_VERSION(2,6,0)
30867 Not GTK+ 2.6
30868 #endif
30869
30870 ;
30871 return 0;
30872 }
30873 _ACEOF
30874 rm -f conftest.$ac_objext
30875 if { (ac_try="$ac_compile"
30876 case "(($ac_try" in
30877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30878 *) ac_try_echo=$ac_try;;
30879 esac
30880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30881 (eval "$ac_compile") 2>conftest.er1
30882 ac_status=$?
30883 grep -v '^ *+' conftest.er1 >conftest.err
30884 rm -f conftest.er1
30885 cat conftest.err >&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } &&
30888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30889 { (case "(($ac_try" in
30890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30891 *) ac_try_echo=$ac_try;;
30892 esac
30893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30894 (eval "$ac_try") 2>&5
30895 ac_status=$?
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); }; } &&
30898 { ac_try='test -s conftest.$ac_objext'
30899 { (case "(($ac_try" in
30900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30901 *) ac_try_echo=$ac_try;;
30902 esac
30903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30904 (eval "$ac_try") 2>&5
30905 ac_status=$?
30906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30907 (exit $ac_status); }; }; then
30908
30909 cat >>confdefs.h <<\_ACEOF
30910 #define __WXGTK26__ 1
30911 _ACEOF
30912
30913 cat >>confdefs.h <<\_ACEOF
30914 #define __WXGTK24__ 1
30915 _ACEOF
30916
30917 { echo "$as_me:$LINENO: result: yes" >&5
30918 echo "${ECHO_T}yes" >&6; }
30919 ac_wxgtk26=1
30920
30921 else
30922 echo "$as_me: failed program was:" >&5
30923 sed 's/^/| /' conftest.$ac_ext >&5
30924
30925
30926 { echo "$as_me:$LINENO: result: no" >&5
30927 echo "${ECHO_T}no" >&6; }
30928 ac_wxgtk26=0
30929
30930 fi
30931
30932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30933 fi
30934
30935 if test "$ac_wxgtk26" = 0; then
30936 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
30937 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
30938 cat >conftest.$ac_ext <<_ACEOF
30939 /* confdefs.h. */
30940 _ACEOF
30941 cat confdefs.h >>conftest.$ac_ext
30942 cat >>conftest.$ac_ext <<_ACEOF
30943 /* end confdefs.h. */
30944
30945 #include <gtk/gtk.h>
30946
30947 int
30948 main ()
30949 {
30950
30951 #if !GTK_CHECK_VERSION(2,4,0)
30952 Not GTK+ 2.4
30953 #endif
30954
30955 ;
30956 return 0;
30957 }
30958 _ACEOF
30959 rm -f conftest.$ac_objext
30960 if { (ac_try="$ac_compile"
30961 case "(($ac_try" in
30962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30963 *) ac_try_echo=$ac_try;;
30964 esac
30965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30966 (eval "$ac_compile") 2>conftest.er1
30967 ac_status=$?
30968 grep -v '^ *+' conftest.er1 >conftest.err
30969 rm -f conftest.er1
30970 cat conftest.err >&5
30971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30972 (exit $ac_status); } &&
30973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30974 { (case "(($ac_try" in
30975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30976 *) ac_try_echo=$ac_try;;
30977 esac
30978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30979 (eval "$ac_try") 2>&5
30980 ac_status=$?
30981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30982 (exit $ac_status); }; } &&
30983 { ac_try='test -s conftest.$ac_objext'
30984 { (case "(($ac_try" in
30985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30986 *) ac_try_echo=$ac_try;;
30987 esac
30988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30989 (eval "$ac_try") 2>&5
30990 ac_status=$?
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); }; }; then
30993
30994 cat >>confdefs.h <<\_ACEOF
30995 #define __WXGTK24__ 1
30996 _ACEOF
30997
30998 { echo "$as_me:$LINENO: result: yes" >&5
30999 echo "${ECHO_T}yes" >&6; }
31000
31001 else
31002 echo "$as_me: failed program was:" >&5
31003 sed 's/^/| /' conftest.$ac_ext >&5
31004
31005
31006 { echo "$as_me:$LINENO: result: no" >&5
31007 echo "${ECHO_T}no" >&6; }
31008
31009 fi
31010
31011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31012 fi
31013
31014 CFLAGS="$save_CFLAGS"
31015 LIBS="$save_LIBS"
31016 else
31017 if test "$wxUSE_UNICODE" = "yes"; then
31018 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31019 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31020 wxUSE_UNICODE=no
31021 fi
31022
31023 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31024 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31025 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31026 echo $ECHO_N "(cached) $ECHO_C" >&6
31027 else
31028 ac_check_lib_save_LIBS=$LIBS
31029 LIBS="-lgdk $LIBS"
31030 cat >conftest.$ac_ext <<_ACEOF
31031 /* confdefs.h. */
31032 _ACEOF
31033 cat confdefs.h >>conftest.$ac_ext
31034 cat >>conftest.$ac_ext <<_ACEOF
31035 /* end confdefs.h. */
31036
31037 /* Override any GCC internal prototype to avoid an error.
31038 Use char because int might match the return type of a GCC
31039 builtin and then its argument prototype would still apply. */
31040 #ifdef __cplusplus
31041 extern "C"
31042 #endif
31043 char gdk_im_open ();
31044 int
31045 main ()
31046 {
31047 return gdk_im_open ();
31048 ;
31049 return 0;
31050 }
31051 _ACEOF
31052 rm -f conftest.$ac_objext conftest$ac_exeext
31053 if { (ac_try="$ac_link"
31054 case "(($ac_try" in
31055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31056 *) ac_try_echo=$ac_try;;
31057 esac
31058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31059 (eval "$ac_link") 2>conftest.er1
31060 ac_status=$?
31061 grep -v '^ *+' conftest.er1 >conftest.err
31062 rm -f conftest.er1
31063 cat conftest.err >&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); } &&
31066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31067 { (case "(($ac_try" in
31068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31069 *) ac_try_echo=$ac_try;;
31070 esac
31071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31072 (eval "$ac_try") 2>&5
31073 ac_status=$?
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); }; } &&
31076 { ac_try='test -s conftest$ac_exeext'
31077 { (case "(($ac_try" in
31078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31079 *) ac_try_echo=$ac_try;;
31080 esac
31081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31082 (eval "$ac_try") 2>&5
31083 ac_status=$?
31084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31085 (exit $ac_status); }; }; then
31086 ac_cv_lib_gdk_gdk_im_open=yes
31087 else
31088 echo "$as_me: failed program was:" >&5
31089 sed 's/^/| /' conftest.$ac_ext >&5
31090
31091 ac_cv_lib_gdk_gdk_im_open=no
31092 fi
31093
31094 rm -f core conftest.err conftest.$ac_objext \
31095 conftest$ac_exeext conftest.$ac_ext
31096 LIBS=$ac_check_lib_save_LIBS
31097 fi
31098 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31099 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31100 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31101 cat >>confdefs.h <<\_ACEOF
31102 #define HAVE_XIM 1
31103 _ACEOF
31104
31105 fi
31106
31107
31108 if test "$USE_DARWIN" != 1; then
31109
31110 for ac_func in poll
31111 do
31112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31113 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31115 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31116 echo $ECHO_N "(cached) $ECHO_C" >&6
31117 else
31118 cat >conftest.$ac_ext <<_ACEOF
31119 /* confdefs.h. */
31120 _ACEOF
31121 cat confdefs.h >>conftest.$ac_ext
31122 cat >>conftest.$ac_ext <<_ACEOF
31123 /* end confdefs.h. */
31124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31126 #define $ac_func innocuous_$ac_func
31127
31128 /* System header to define __stub macros and hopefully few prototypes,
31129 which can conflict with char $ac_func (); below.
31130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31131 <limits.h> exists even on freestanding compilers. */
31132
31133 #ifdef __STDC__
31134 # include <limits.h>
31135 #else
31136 # include <assert.h>
31137 #endif
31138
31139 #undef $ac_func
31140
31141 /* Override any GCC internal prototype to avoid an error.
31142 Use char because int might match the return type of a GCC
31143 builtin and then its argument prototype would still apply. */
31144 #ifdef __cplusplus
31145 extern "C"
31146 #endif
31147 char $ac_func ();
31148 /* The GNU C library defines this for functions which it implements
31149 to always fail with ENOSYS. Some functions are actually named
31150 something starting with __ and the normal name is an alias. */
31151 #if defined __stub_$ac_func || defined __stub___$ac_func
31152 choke me
31153 #endif
31154
31155 int
31156 main ()
31157 {
31158 return $ac_func ();
31159 ;
31160 return 0;
31161 }
31162 _ACEOF
31163 rm -f conftest.$ac_objext conftest$ac_exeext
31164 if { (ac_try="$ac_link"
31165 case "(($ac_try" in
31166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31167 *) ac_try_echo=$ac_try;;
31168 esac
31169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31170 (eval "$ac_link") 2>conftest.er1
31171 ac_status=$?
31172 grep -v '^ *+' conftest.er1 >conftest.err
31173 rm -f conftest.er1
31174 cat conftest.err >&5
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); } &&
31177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31178 { (case "(($ac_try" in
31179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31180 *) ac_try_echo=$ac_try;;
31181 esac
31182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31183 (eval "$ac_try") 2>&5
31184 ac_status=$?
31185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31186 (exit $ac_status); }; } &&
31187 { ac_try='test -s conftest$ac_exeext'
31188 { (case "(($ac_try" in
31189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31190 *) ac_try_echo=$ac_try;;
31191 esac
31192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31193 (eval "$ac_try") 2>&5
31194 ac_status=$?
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; }; then
31197 eval "$as_ac_var=yes"
31198 else
31199 echo "$as_me: failed program was:" >&5
31200 sed 's/^/| /' conftest.$ac_ext >&5
31201
31202 eval "$as_ac_var=no"
31203 fi
31204
31205 rm -f core conftest.err conftest.$ac_objext \
31206 conftest$ac_exeext conftest.$ac_ext
31207 fi
31208 ac_res=`eval echo '${'$as_ac_var'}'`
31209 { echo "$as_me:$LINENO: result: $ac_res" >&5
31210 echo "${ECHO_T}$ac_res" >&6; }
31211 if test `eval echo '${'$as_ac_var'}'` = yes; then
31212 cat >>confdefs.h <<_ACEOF
31213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31214 _ACEOF
31215
31216 fi
31217 done
31218
31219 fi
31220 fi
31221
31222 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31223 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31224
31225 AFMINSTALL=afminstall
31226 TOOLKIT=GTK
31227 GUIDIST=GTK_DIST
31228
31229 if test "$wxUSE_GPE" = "yes"; then
31230 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31231 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31232
31233 ac_find_libraries=
31234 for ac_dir in $SEARCH_LIB;
31235 do
31236 for ac_extension in a so sl dylib dll.a; do
31237 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31238 ac_find_libraries=$ac_dir
31239 break 2
31240 fi
31241 done
31242 done
31243
31244 if test "$ac_find_libraries" != "" ; then
31245
31246 if test "$ac_find_libraries" = "default location"; then
31247 ac_path_to_link=""
31248 else
31249 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31250 result=$?
31251 if test $result = 0; then
31252 ac_path_to_link=""
31253 else
31254 ac_path_to_link=" -L$ac_find_libraries"
31255 fi
31256 fi
31257
31258 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31259 WXGPE=1
31260 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31261 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31262 else
31263 { echo "$as_me:$LINENO: result: not found" >&5
31264 echo "${ECHO_T}not found" >&6; }
31265 fi
31266
31267 fi
31268 fi
31269
31270 if test "$wxUSE_MGL" = 1; then
31271 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31272 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31273 if test "x$MGL_ROOT" = x ; then
31274 { echo "$as_me:$LINENO: result: not found" >&5
31275 echo "${ECHO_T}not found" >&6; }
31276 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31277 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31278 { (exit 1); exit 1; }; }
31279 else
31280 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31281 echo "${ECHO_T}$MGL_ROOT" >&6; }
31282 fi
31283
31284 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31285 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31286 case "${host}" in
31287 *-*-linux* )
31288 if test "x$wxUSE_SHARED" = xyes ; then
31289 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31290 else
31291 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31292 fi
31293 ;;
31294 *-pc-msdosdjgpp )
31295 mgl_os_candidates="dos32/dj2"
31296 ;;
31297 *)
31298 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31299 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31300 { (exit 1); exit 1; }; }
31301 esac
31302
31303 mgl_lib_type=""
31304 mgl_os=""
31305
31306 for mgl_os_i in $mgl_os_candidates ; do
31307 if test "x$mgl_os" = x ; then
31308 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31309 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31310 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31311 mgl_lib_type=debug
31312 mgl_os=$mgl_os_i
31313 fi
31314 fi
31315 if test "x$mgl_lib_type" = x ; then
31316 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31317 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31318 mgl_lib_type=release
31319 mgl_os=$mgl_os_i
31320 fi
31321 fi
31322 fi
31323 done
31324
31325 if test "x$mgl_os" = x ; then
31326 { echo "$as_me:$LINENO: result: not found" >&5
31327 echo "${ECHO_T}not found" >&6; }
31328 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31329 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31330 { (exit 1); exit 1; }; }
31331 fi
31332 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31333 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31334
31335 wxUSE_UNIVERSAL="yes"
31336
31337 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31338 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31339
31340 AFMINSTALL=afminstall
31341 TOOLKIT=MGL
31342 GUIDIST=MGL_DIST
31343 fi
31344
31345 if test "$wxUSE_DFB" = 1; then
31346
31347
31348 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31349 if test -n "$ac_tool_prefix"; then
31350 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31351 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31354 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31355 echo $ECHO_N "(cached) $ECHO_C" >&6
31356 else
31357 case $PKG_CONFIG in
31358 [\\/]* | ?:[\\/]*)
31359 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31360 ;;
31361 *)
31362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31363 for as_dir in $PATH
31364 do
31365 IFS=$as_save_IFS
31366 test -z "$as_dir" && as_dir=.
31367 for ac_exec_ext in '' $ac_executable_extensions; do
31368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31369 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31371 break 2
31372 fi
31373 done
31374 done
31375 IFS=$as_save_IFS
31376
31377 ;;
31378 esac
31379 fi
31380 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31381 if test -n "$PKG_CONFIG"; then
31382 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31383 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31384 else
31385 { echo "$as_me:$LINENO: result: no" >&5
31386 echo "${ECHO_T}no" >&6; }
31387 fi
31388
31389
31390 fi
31391 if test -z "$ac_cv_path_PKG_CONFIG"; then
31392 ac_pt_PKG_CONFIG=$PKG_CONFIG
31393 # Extract the first word of "pkg-config", so it can be a program name with args.
31394 set dummy pkg-config; ac_word=$2
31395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31397 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31398 echo $ECHO_N "(cached) $ECHO_C" >&6
31399 else
31400 case $ac_pt_PKG_CONFIG in
31401 [\\/]* | ?:[\\/]*)
31402 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31403 ;;
31404 *)
31405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31406 for as_dir in $PATH
31407 do
31408 IFS=$as_save_IFS
31409 test -z "$as_dir" && as_dir=.
31410 for ac_exec_ext in '' $ac_executable_extensions; do
31411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31412 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31414 break 2
31415 fi
31416 done
31417 done
31418 IFS=$as_save_IFS
31419
31420 ;;
31421 esac
31422 fi
31423 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31424 if test -n "$ac_pt_PKG_CONFIG"; then
31425 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31426 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31427 else
31428 { echo "$as_me:$LINENO: result: no" >&5
31429 echo "${ECHO_T}no" >&6; }
31430 fi
31431
31432 if test "x$ac_pt_PKG_CONFIG" = x; then
31433 PKG_CONFIG=""
31434 else
31435 case $cross_compiling:$ac_tool_warned in
31436 yes:)
31437 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31438 whose name does not start with the host triplet. If you think this
31439 configuration is useful to you, please write to autoconf@gnu.org." >&5
31440 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31441 whose name does not start with the host triplet. If you think this
31442 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31443 ac_tool_warned=yes ;;
31444 esac
31445 PKG_CONFIG=$ac_pt_PKG_CONFIG
31446 fi
31447 else
31448 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31449 fi
31450
31451 fi
31452 if test -n "$PKG_CONFIG"; then
31453 _pkg_min_version=0.9.0
31454 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31455 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31456 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31457 { echo "$as_me:$LINENO: result: yes" >&5
31458 echo "${ECHO_T}yes" >&6; }
31459 else
31460 { echo "$as_me:$LINENO: result: no" >&5
31461 echo "${ECHO_T}no" >&6; }
31462 PKG_CONFIG=""
31463 fi
31464
31465 fi
31466
31467
31468 pkg_failed=no
31469 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31470 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31471
31472 if test -n "$PKG_CONFIG"; then
31473 if test -n "$DIRECTFB_CFLAGS"; then
31474 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31475 else
31476 if test -n "$PKG_CONFIG" && \
31477 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31478 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31479 ac_status=$?
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); }; then
31482 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31483 else
31484 pkg_failed=yes
31485 fi
31486 fi
31487 else
31488 pkg_failed=untried
31489 fi
31490 if test -n "$PKG_CONFIG"; then
31491 if test -n "$DIRECTFB_LIBS"; then
31492 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31493 else
31494 if test -n "$PKG_CONFIG" && \
31495 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31496 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31497 ac_status=$?
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); }; then
31500 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31501 else
31502 pkg_failed=yes
31503 fi
31504 fi
31505 else
31506 pkg_failed=untried
31507 fi
31508
31509
31510
31511 if test $pkg_failed = yes; then
31512
31513 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31514 _pkg_short_errors_supported=yes
31515 else
31516 _pkg_short_errors_supported=no
31517 fi
31518 if test $_pkg_short_errors_supported = yes; then
31519 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31520 else
31521 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31522 fi
31523 # Put the nasty error message in config.log where it belongs
31524 echo "$DIRECTFB_PKG_ERRORS" >&5
31525
31526
31527 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31528 echo "$as_me: error: DirectFB not found." >&2;}
31529 { (exit 1); exit 1; }; }
31530
31531
31532 elif test $pkg_failed = untried; then
31533
31534 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31535 echo "$as_me: error: DirectFB not found." >&2;}
31536 { (exit 1); exit 1; }; }
31537
31538
31539 else
31540 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31541 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31542 { echo "$as_me:$LINENO: result: yes" >&5
31543 echo "${ECHO_T}yes" >&6; }
31544
31545 wxUSE_UNIVERSAL="yes"
31546 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31547 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31548 TOOLKIT=DFB
31549 GUIDIST=DFB_DIST
31550
31551 fi
31552 fi
31553
31554 if test "$wxUSE_MICROWIN" = 1; then
31555 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31556 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31557 if test "x$MICROWINDOWS" = x ; then
31558 { echo "$as_me:$LINENO: result: not found" >&5
31559 echo "${ECHO_T}not found" >&6; }
31560 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31561 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31562 { (exit 1); exit 1; }; }
31563 else
31564 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31565 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31566 fi
31567
31568 if test -f $MICROWINDOWS/lib/libmwin.a; then
31569 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31570 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31571 else
31572 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31573 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31574 { (exit 1); exit 1; }; }
31575 fi
31576
31577 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31578 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31579
31580 wxUSE_UNIVERSAL="yes"
31581
31582 AFMINSTALL=afminstall
31583 TOOLKIT=MICROWIN
31584 GUIDIST=MICROWIN_DIST
31585
31586 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31587 fi
31588
31589 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31590 { echo "$as_me:$LINENO: checking for X" >&5
31591 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31592
31593
31594 # Check whether --with-x was given.
31595 if test "${with_x+set}" = set; then
31596 withval=$with_x;
31597 fi
31598
31599 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31600 if test "x$with_x" = xno; then
31601 # The user explicitly disabled X.
31602 have_x=disabled
31603 else
31604 case $x_includes,$x_libraries in #(
31605 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31606 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31607 { (exit 1); exit 1; }; };; #(
31608 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31609 echo $ECHO_N "(cached) $ECHO_C" >&6
31610 else
31611 # One or both of the vars are not set, and there is no cached value.
31612 ac_x_includes=no ac_x_libraries=no
31613 rm -f -r conftest.dir
31614 if mkdir conftest.dir; then
31615 cd conftest.dir
31616 cat >Imakefile <<'_ACEOF'
31617 incroot:
31618 @echo incroot='${INCROOT}'
31619 usrlibdir:
31620 @echo usrlibdir='${USRLIBDIR}'
31621 libdir:
31622 @echo libdir='${LIBDIR}'
31623 _ACEOF
31624 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31625 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31626 for ac_var in incroot usrlibdir libdir; do
31627 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31628 done
31629 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31630 for ac_extension in a so sl; do
31631 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31632 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31633 ac_im_usrlibdir=$ac_im_libdir; break
31634 fi
31635 done
31636 # Screen out bogus values from the imake configuration. They are
31637 # bogus both because they are the default anyway, and because
31638 # using them would break gcc on systems where it needs fixed includes.
31639 case $ac_im_incroot in
31640 /usr/include) ac_x_includes= ;;
31641 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31642 esac
31643 case $ac_im_usrlibdir in
31644 /usr/lib | /lib) ;;
31645 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31646 esac
31647 fi
31648 cd ..
31649 rm -f -r conftest.dir
31650 fi
31651
31652 # Standard set of common directories for X headers.
31653 # Check X11 before X11Rn because it is often a symlink to the current release.
31654 ac_x_header_dirs='
31655 /usr/X11/include
31656 /usr/X11R6/include
31657 /usr/X11R5/include
31658 /usr/X11R4/include
31659
31660 /usr/include/X11
31661 /usr/include/X11R6
31662 /usr/include/X11R5
31663 /usr/include/X11R4
31664
31665 /usr/local/X11/include
31666 /usr/local/X11R6/include
31667 /usr/local/X11R5/include
31668 /usr/local/X11R4/include
31669
31670 /usr/local/include/X11
31671 /usr/local/include/X11R6
31672 /usr/local/include/X11R5
31673 /usr/local/include/X11R4
31674
31675 /usr/X386/include
31676 /usr/x386/include
31677 /usr/XFree86/include/X11
31678
31679 /usr/include
31680 /usr/local/include
31681 /usr/unsupported/include
31682 /usr/athena/include
31683 /usr/local/x11r5/include
31684 /usr/lpp/Xamples/include
31685
31686 /usr/openwin/include
31687 /usr/openwin/share/include'
31688
31689 if test "$ac_x_includes" = no; then
31690 # Guess where to find include files, by looking for Xlib.h.
31691 # First, try using that file with no special directory specified.
31692 cat >conftest.$ac_ext <<_ACEOF
31693 /* confdefs.h. */
31694 _ACEOF
31695 cat confdefs.h >>conftest.$ac_ext
31696 cat >>conftest.$ac_ext <<_ACEOF
31697 /* end confdefs.h. */
31698 #include <X11/Xlib.h>
31699 _ACEOF
31700 if { (ac_try="$ac_cpp conftest.$ac_ext"
31701 case "(($ac_try" in
31702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31703 *) ac_try_echo=$ac_try;;
31704 esac
31705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31706 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31707 ac_status=$?
31708 grep -v '^ *+' conftest.er1 >conftest.err
31709 rm -f conftest.er1
31710 cat conftest.err >&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); } >/dev/null; then
31713 if test -s conftest.err; then
31714 ac_cpp_err=$ac_c_preproc_warn_flag
31715 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31716 else
31717 ac_cpp_err=
31718 fi
31719 else
31720 ac_cpp_err=yes
31721 fi
31722 if test -z "$ac_cpp_err"; then
31723 # We can compile using X headers with no special include directory.
31724 ac_x_includes=
31725 else
31726 echo "$as_me: failed program was:" >&5
31727 sed 's/^/| /' conftest.$ac_ext >&5
31728
31729 for ac_dir in $ac_x_header_dirs; do
31730 if test -r "$ac_dir/X11/Xlib.h"; then
31731 ac_x_includes=$ac_dir
31732 break
31733 fi
31734 done
31735 fi
31736
31737 rm -f conftest.err conftest.$ac_ext
31738 fi # $ac_x_includes = no
31739
31740 if test "$ac_x_libraries" = no; then
31741 # Check for the libraries.
31742 # See if we find them without any special options.
31743 # Don't add to $LIBS permanently.
31744 ac_save_LIBS=$LIBS
31745 LIBS="-lXt $LIBS"
31746 cat >conftest.$ac_ext <<_ACEOF
31747 /* confdefs.h. */
31748 _ACEOF
31749 cat confdefs.h >>conftest.$ac_ext
31750 cat >>conftest.$ac_ext <<_ACEOF
31751 /* end confdefs.h. */
31752 #include <X11/Xlib.h>
31753 int
31754 main ()
31755 {
31756 XrmInitialize ()
31757 ;
31758 return 0;
31759 }
31760 _ACEOF
31761 rm -f conftest.$ac_objext conftest$ac_exeext
31762 if { (ac_try="$ac_link"
31763 case "(($ac_try" in
31764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31765 *) ac_try_echo=$ac_try;;
31766 esac
31767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31768 (eval "$ac_link") 2>conftest.er1
31769 ac_status=$?
31770 grep -v '^ *+' conftest.er1 >conftest.err
31771 rm -f conftest.er1
31772 cat conftest.err >&5
31773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774 (exit $ac_status); } &&
31775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31776 { (case "(($ac_try" in
31777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31778 *) ac_try_echo=$ac_try;;
31779 esac
31780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31781 (eval "$ac_try") 2>&5
31782 ac_status=$?
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); }; } &&
31785 { ac_try='test -s conftest$ac_exeext'
31786 { (case "(($ac_try" in
31787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31788 *) ac_try_echo=$ac_try;;
31789 esac
31790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31791 (eval "$ac_try") 2>&5
31792 ac_status=$?
31793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794 (exit $ac_status); }; }; then
31795 LIBS=$ac_save_LIBS
31796 # We can link X programs with no special library path.
31797 ac_x_libraries=
31798 else
31799 echo "$as_me: failed program was:" >&5
31800 sed 's/^/| /' conftest.$ac_ext >&5
31801
31802 LIBS=$ac_save_LIBS
31803 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31804 do
31805 # Don't even attempt the hair of trying to link an X program!
31806 for ac_extension in a so sl; do
31807 if test -r "$ac_dir/libXt.$ac_extension"; then
31808 ac_x_libraries=$ac_dir
31809 break 2
31810 fi
31811 done
31812 done
31813 fi
31814
31815 rm -f core conftest.err conftest.$ac_objext \
31816 conftest$ac_exeext conftest.$ac_ext
31817 fi # $ac_x_libraries = no
31818
31819 case $ac_x_includes,$ac_x_libraries in #(
31820 no,* | *,no | *\'*)
31821 # Didn't find X, or a directory has "'" in its name.
31822 ac_cv_have_x="have_x=no";; #(
31823 *)
31824 # Record where we found X for the cache.
31825 ac_cv_have_x="have_x=yes\
31826 ac_x_includes='$ac_x_includes'\
31827 ac_x_libraries='$ac_x_libraries'"
31828 esac
31829 fi
31830 ;; #(
31831 *) have_x=yes;;
31832 esac
31833 eval "$ac_cv_have_x"
31834 fi # $with_x != no
31835
31836 if test "$have_x" != yes; then
31837 { echo "$as_me:$LINENO: result: $have_x" >&5
31838 echo "${ECHO_T}$have_x" >&6; }
31839 no_x=yes
31840 else
31841 # If each of the values was on the command line, it overrides each guess.
31842 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31843 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31844 # Update the cache value to reflect the command line values.
31845 ac_cv_have_x="have_x=yes\
31846 ac_x_includes='$x_includes'\
31847 ac_x_libraries='$x_libraries'"
31848 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31849 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31850 fi
31851
31852 if test "$no_x" = yes; then
31853 # Not all programs may use this symbol, but it does not hurt to define it.
31854
31855 cat >>confdefs.h <<\_ACEOF
31856 #define X_DISPLAY_MISSING 1
31857 _ACEOF
31858
31859 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31860 else
31861 if test -n "$x_includes"; then
31862 X_CFLAGS="$X_CFLAGS -I$x_includes"
31863 fi
31864
31865 # It would also be nice to do this for all -L options, not just this one.
31866 if test -n "$x_libraries"; then
31867 X_LIBS="$X_LIBS -L$x_libraries"
31868 # For Solaris; some versions of Sun CC require a space after -R and
31869 # others require no space. Words are not sufficient . . . .
31870 case `(uname -sr) 2>/dev/null` in
31871 "SunOS 5"*)
31872 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31873 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31874 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31875 cat >conftest.$ac_ext <<_ACEOF
31876 /* confdefs.h. */
31877 _ACEOF
31878 cat confdefs.h >>conftest.$ac_ext
31879 cat >>conftest.$ac_ext <<_ACEOF
31880 /* end confdefs.h. */
31881
31882 int
31883 main ()
31884 {
31885
31886 ;
31887 return 0;
31888 }
31889 _ACEOF
31890 rm -f conftest.$ac_objext conftest$ac_exeext
31891 if { (ac_try="$ac_link"
31892 case "(($ac_try" in
31893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31894 *) ac_try_echo=$ac_try;;
31895 esac
31896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31897 (eval "$ac_link") 2>conftest.er1
31898 ac_status=$?
31899 grep -v '^ *+' conftest.er1 >conftest.err
31900 rm -f conftest.er1
31901 cat conftest.err >&5
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); } &&
31904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31905 { (case "(($ac_try" in
31906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31907 *) ac_try_echo=$ac_try;;
31908 esac
31909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31910 (eval "$ac_try") 2>&5
31911 ac_status=$?
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); }; } &&
31914 { ac_try='test -s conftest$ac_exeext'
31915 { (case "(($ac_try" in
31916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31917 *) ac_try_echo=$ac_try;;
31918 esac
31919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31920 (eval "$ac_try") 2>&5
31921 ac_status=$?
31922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31923 (exit $ac_status); }; }; then
31924 ac_R_nospace=yes
31925 else
31926 echo "$as_me: failed program was:" >&5
31927 sed 's/^/| /' conftest.$ac_ext >&5
31928
31929 ac_R_nospace=no
31930 fi
31931
31932 rm -f core conftest.err conftest.$ac_objext \
31933 conftest$ac_exeext conftest.$ac_ext
31934 if test $ac_R_nospace = yes; then
31935 { echo "$as_me:$LINENO: result: no" >&5
31936 echo "${ECHO_T}no" >&6; }
31937 X_LIBS="$X_LIBS -R$x_libraries"
31938 else
31939 LIBS="$ac_xsave_LIBS -R $x_libraries"
31940 cat >conftest.$ac_ext <<_ACEOF
31941 /* confdefs.h. */
31942 _ACEOF
31943 cat confdefs.h >>conftest.$ac_ext
31944 cat >>conftest.$ac_ext <<_ACEOF
31945 /* end confdefs.h. */
31946
31947 int
31948 main ()
31949 {
31950
31951 ;
31952 return 0;
31953 }
31954 _ACEOF
31955 rm -f conftest.$ac_objext conftest$ac_exeext
31956 if { (ac_try="$ac_link"
31957 case "(($ac_try" in
31958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31959 *) ac_try_echo=$ac_try;;
31960 esac
31961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31962 (eval "$ac_link") 2>conftest.er1
31963 ac_status=$?
31964 grep -v '^ *+' conftest.er1 >conftest.err
31965 rm -f conftest.er1
31966 cat conftest.err >&5
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); } &&
31969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31970 { (case "(($ac_try" in
31971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31972 *) ac_try_echo=$ac_try;;
31973 esac
31974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31975 (eval "$ac_try") 2>&5
31976 ac_status=$?
31977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978 (exit $ac_status); }; } &&
31979 { ac_try='test -s conftest$ac_exeext'
31980 { (case "(($ac_try" in
31981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31982 *) ac_try_echo=$ac_try;;
31983 esac
31984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31985 (eval "$ac_try") 2>&5
31986 ac_status=$?
31987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988 (exit $ac_status); }; }; then
31989 ac_R_space=yes
31990 else
31991 echo "$as_me: failed program was:" >&5
31992 sed 's/^/| /' conftest.$ac_ext >&5
31993
31994 ac_R_space=no
31995 fi
31996
31997 rm -f core conftest.err conftest.$ac_objext \
31998 conftest$ac_exeext conftest.$ac_ext
31999 if test $ac_R_space = yes; then
32000 { echo "$as_me:$LINENO: result: yes" >&5
32001 echo "${ECHO_T}yes" >&6; }
32002 X_LIBS="$X_LIBS -R $x_libraries"
32003 else
32004 { echo "$as_me:$LINENO: result: neither works" >&5
32005 echo "${ECHO_T}neither works" >&6; }
32006 fi
32007 fi
32008 LIBS=$ac_xsave_LIBS
32009 esac
32010 fi
32011
32012 # Check for system-dependent libraries X programs must link with.
32013 # Do this before checking for the system-independent R6 libraries
32014 # (-lICE), since we may need -lsocket or whatever for X linking.
32015
32016 if test "$ISC" = yes; then
32017 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32018 else
32019 # Martyn Johnson says this is needed for Ultrix, if the X
32020 # libraries were built with DECnet support. And Karl Berry says
32021 # the Alpha needs dnet_stub (dnet does not exist).
32022 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32023 cat >conftest.$ac_ext <<_ACEOF
32024 /* confdefs.h. */
32025 _ACEOF
32026 cat confdefs.h >>conftest.$ac_ext
32027 cat >>conftest.$ac_ext <<_ACEOF
32028 /* end confdefs.h. */
32029
32030 /* Override any GCC internal prototype to avoid an error.
32031 Use char because int might match the return type of a GCC
32032 builtin and then its argument prototype would still apply. */
32033 #ifdef __cplusplus
32034 extern "C"
32035 #endif
32036 char XOpenDisplay ();
32037 int
32038 main ()
32039 {
32040 return XOpenDisplay ();
32041 ;
32042 return 0;
32043 }
32044 _ACEOF
32045 rm -f conftest.$ac_objext conftest$ac_exeext
32046 if { (ac_try="$ac_link"
32047 case "(($ac_try" in
32048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32049 *) ac_try_echo=$ac_try;;
32050 esac
32051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32052 (eval "$ac_link") 2>conftest.er1
32053 ac_status=$?
32054 grep -v '^ *+' conftest.er1 >conftest.err
32055 rm -f conftest.er1
32056 cat conftest.err >&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } &&
32059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32060 { (case "(($ac_try" in
32061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32062 *) ac_try_echo=$ac_try;;
32063 esac
32064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32065 (eval "$ac_try") 2>&5
32066 ac_status=$?
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); }; } &&
32069 { ac_try='test -s conftest$ac_exeext'
32070 { (case "(($ac_try" in
32071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32072 *) ac_try_echo=$ac_try;;
32073 esac
32074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32075 (eval "$ac_try") 2>&5
32076 ac_status=$?
32077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32078 (exit $ac_status); }; }; then
32079 :
32080 else
32081 echo "$as_me: failed program was:" >&5
32082 sed 's/^/| /' conftest.$ac_ext >&5
32083
32084 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32085 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32086 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32087 echo $ECHO_N "(cached) $ECHO_C" >&6
32088 else
32089 ac_check_lib_save_LIBS=$LIBS
32090 LIBS="-ldnet $LIBS"
32091 cat >conftest.$ac_ext <<_ACEOF
32092 /* confdefs.h. */
32093 _ACEOF
32094 cat confdefs.h >>conftest.$ac_ext
32095 cat >>conftest.$ac_ext <<_ACEOF
32096 /* end confdefs.h. */
32097
32098 /* Override any GCC internal prototype to avoid an error.
32099 Use char because int might match the return type of a GCC
32100 builtin and then its argument prototype would still apply. */
32101 #ifdef __cplusplus
32102 extern "C"
32103 #endif
32104 char dnet_ntoa ();
32105 int
32106 main ()
32107 {
32108 return dnet_ntoa ();
32109 ;
32110 return 0;
32111 }
32112 _ACEOF
32113 rm -f conftest.$ac_objext conftest$ac_exeext
32114 if { (ac_try="$ac_link"
32115 case "(($ac_try" in
32116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32117 *) ac_try_echo=$ac_try;;
32118 esac
32119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32120 (eval "$ac_link") 2>conftest.er1
32121 ac_status=$?
32122 grep -v '^ *+' conftest.er1 >conftest.err
32123 rm -f conftest.er1
32124 cat conftest.err >&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); } &&
32127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32128 { (case "(($ac_try" in
32129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32130 *) ac_try_echo=$ac_try;;
32131 esac
32132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32133 (eval "$ac_try") 2>&5
32134 ac_status=$?
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); }; } &&
32137 { ac_try='test -s conftest$ac_exeext'
32138 { (case "(($ac_try" in
32139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32140 *) ac_try_echo=$ac_try;;
32141 esac
32142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32143 (eval "$ac_try") 2>&5
32144 ac_status=$?
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); }; }; then
32147 ac_cv_lib_dnet_dnet_ntoa=yes
32148 else
32149 echo "$as_me: failed program was:" >&5
32150 sed 's/^/| /' conftest.$ac_ext >&5
32151
32152 ac_cv_lib_dnet_dnet_ntoa=no
32153 fi
32154
32155 rm -f core conftest.err conftest.$ac_objext \
32156 conftest$ac_exeext conftest.$ac_ext
32157 LIBS=$ac_check_lib_save_LIBS
32158 fi
32159 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32160 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32161 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32162 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32163 fi
32164
32165 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32166 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32167 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32168 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32170 else
32171 ac_check_lib_save_LIBS=$LIBS
32172 LIBS="-ldnet_stub $LIBS"
32173 cat >conftest.$ac_ext <<_ACEOF
32174 /* confdefs.h. */
32175 _ACEOF
32176 cat confdefs.h >>conftest.$ac_ext
32177 cat >>conftest.$ac_ext <<_ACEOF
32178 /* end confdefs.h. */
32179
32180 /* Override any GCC internal prototype to avoid an error.
32181 Use char because int might match the return type of a GCC
32182 builtin and then its argument prototype would still apply. */
32183 #ifdef __cplusplus
32184 extern "C"
32185 #endif
32186 char dnet_ntoa ();
32187 int
32188 main ()
32189 {
32190 return dnet_ntoa ();
32191 ;
32192 return 0;
32193 }
32194 _ACEOF
32195 rm -f conftest.$ac_objext conftest$ac_exeext
32196 if { (ac_try="$ac_link"
32197 case "(($ac_try" in
32198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32199 *) ac_try_echo=$ac_try;;
32200 esac
32201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32202 (eval "$ac_link") 2>conftest.er1
32203 ac_status=$?
32204 grep -v '^ *+' conftest.er1 >conftest.err
32205 rm -f conftest.er1
32206 cat conftest.err >&5
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); } &&
32209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32210 { (case "(($ac_try" in
32211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32212 *) ac_try_echo=$ac_try;;
32213 esac
32214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32215 (eval "$ac_try") 2>&5
32216 ac_status=$?
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); }; } &&
32219 { ac_try='test -s conftest$ac_exeext'
32220 { (case "(($ac_try" in
32221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32222 *) ac_try_echo=$ac_try;;
32223 esac
32224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32225 (eval "$ac_try") 2>&5
32226 ac_status=$?
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); }; }; then
32229 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32230 else
32231 echo "$as_me: failed program was:" >&5
32232 sed 's/^/| /' conftest.$ac_ext >&5
32233
32234 ac_cv_lib_dnet_stub_dnet_ntoa=no
32235 fi
32236
32237 rm -f core conftest.err conftest.$ac_objext \
32238 conftest$ac_exeext conftest.$ac_ext
32239 LIBS=$ac_check_lib_save_LIBS
32240 fi
32241 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32242 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32243 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32244 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32245 fi
32246
32247 fi
32248 fi
32249
32250 rm -f core conftest.err conftest.$ac_objext \
32251 conftest$ac_exeext conftest.$ac_ext
32252 LIBS="$ac_xsave_LIBS"
32253
32254 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32255 # to get the SysV transport functions.
32256 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32257 # needs -lnsl.
32258 # The nsl library prevents programs from opening the X display
32259 # on Irix 5.2, according to T.E. Dickey.
32260 # The functions gethostbyname, getservbyname, and inet_addr are
32261 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32262 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32263 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32264 if test "${ac_cv_func_gethostbyname+set}" = set; then
32265 echo $ECHO_N "(cached) $ECHO_C" >&6
32266 else
32267 cat >conftest.$ac_ext <<_ACEOF
32268 /* confdefs.h. */
32269 _ACEOF
32270 cat confdefs.h >>conftest.$ac_ext
32271 cat >>conftest.$ac_ext <<_ACEOF
32272 /* end confdefs.h. */
32273 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32275 #define gethostbyname innocuous_gethostbyname
32276
32277 /* System header to define __stub macros and hopefully few prototypes,
32278 which can conflict with char gethostbyname (); below.
32279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32280 <limits.h> exists even on freestanding compilers. */
32281
32282 #ifdef __STDC__
32283 # include <limits.h>
32284 #else
32285 # include <assert.h>
32286 #endif
32287
32288 #undef gethostbyname
32289
32290 /* Override any GCC internal prototype to avoid an error.
32291 Use char because int might match the return type of a GCC
32292 builtin and then its argument prototype would still apply. */
32293 #ifdef __cplusplus
32294 extern "C"
32295 #endif
32296 char gethostbyname ();
32297 /* The GNU C library defines this for functions which it implements
32298 to always fail with ENOSYS. Some functions are actually named
32299 something starting with __ and the normal name is an alias. */
32300 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32301 choke me
32302 #endif
32303
32304 int
32305 main ()
32306 {
32307 return gethostbyname ();
32308 ;
32309 return 0;
32310 }
32311 _ACEOF
32312 rm -f conftest.$ac_objext conftest$ac_exeext
32313 if { (ac_try="$ac_link"
32314 case "(($ac_try" in
32315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32316 *) ac_try_echo=$ac_try;;
32317 esac
32318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32319 (eval "$ac_link") 2>conftest.er1
32320 ac_status=$?
32321 grep -v '^ *+' conftest.er1 >conftest.err
32322 rm -f conftest.er1
32323 cat conftest.err >&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); } &&
32326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32327 { (case "(($ac_try" in
32328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32329 *) ac_try_echo=$ac_try;;
32330 esac
32331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32332 (eval "$ac_try") 2>&5
32333 ac_status=$?
32334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32335 (exit $ac_status); }; } &&
32336 { ac_try='test -s conftest$ac_exeext'
32337 { (case "(($ac_try" in
32338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32339 *) ac_try_echo=$ac_try;;
32340 esac
32341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32342 (eval "$ac_try") 2>&5
32343 ac_status=$?
32344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32345 (exit $ac_status); }; }; then
32346 ac_cv_func_gethostbyname=yes
32347 else
32348 echo "$as_me: failed program was:" >&5
32349 sed 's/^/| /' conftest.$ac_ext >&5
32350
32351 ac_cv_func_gethostbyname=no
32352 fi
32353
32354 rm -f core conftest.err conftest.$ac_objext \
32355 conftest$ac_exeext conftest.$ac_ext
32356 fi
32357 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32358 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32359
32360 if test $ac_cv_func_gethostbyname = no; then
32361 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32362 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32363 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32364 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 else
32366 ac_check_lib_save_LIBS=$LIBS
32367 LIBS="-lnsl $LIBS"
32368 cat >conftest.$ac_ext <<_ACEOF
32369 /* confdefs.h. */
32370 _ACEOF
32371 cat confdefs.h >>conftest.$ac_ext
32372 cat >>conftest.$ac_ext <<_ACEOF
32373 /* end confdefs.h. */
32374
32375 /* Override any GCC internal prototype to avoid an error.
32376 Use char because int might match the return type of a GCC
32377 builtin and then its argument prototype would still apply. */
32378 #ifdef __cplusplus
32379 extern "C"
32380 #endif
32381 char gethostbyname ();
32382 int
32383 main ()
32384 {
32385 return gethostbyname ();
32386 ;
32387 return 0;
32388 }
32389 _ACEOF
32390 rm -f conftest.$ac_objext conftest$ac_exeext
32391 if { (ac_try="$ac_link"
32392 case "(($ac_try" in
32393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32394 *) ac_try_echo=$ac_try;;
32395 esac
32396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32397 (eval "$ac_link") 2>conftest.er1
32398 ac_status=$?
32399 grep -v '^ *+' conftest.er1 >conftest.err
32400 rm -f conftest.er1
32401 cat conftest.err >&5
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); } &&
32404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32405 { (case "(($ac_try" in
32406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32407 *) ac_try_echo=$ac_try;;
32408 esac
32409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32410 (eval "$ac_try") 2>&5
32411 ac_status=$?
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); }; } &&
32414 { ac_try='test -s conftest$ac_exeext'
32415 { (case "(($ac_try" in
32416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32417 *) ac_try_echo=$ac_try;;
32418 esac
32419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32420 (eval "$ac_try") 2>&5
32421 ac_status=$?
32422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423 (exit $ac_status); }; }; then
32424 ac_cv_lib_nsl_gethostbyname=yes
32425 else
32426 echo "$as_me: failed program was:" >&5
32427 sed 's/^/| /' conftest.$ac_ext >&5
32428
32429 ac_cv_lib_nsl_gethostbyname=no
32430 fi
32431
32432 rm -f core conftest.err conftest.$ac_objext \
32433 conftest$ac_exeext conftest.$ac_ext
32434 LIBS=$ac_check_lib_save_LIBS
32435 fi
32436 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32437 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32438 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32439 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32440 fi
32441
32442 if test $ac_cv_lib_nsl_gethostbyname = no; then
32443 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32444 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32445 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32446 echo $ECHO_N "(cached) $ECHO_C" >&6
32447 else
32448 ac_check_lib_save_LIBS=$LIBS
32449 LIBS="-lbsd $LIBS"
32450 cat >conftest.$ac_ext <<_ACEOF
32451 /* confdefs.h. */
32452 _ACEOF
32453 cat confdefs.h >>conftest.$ac_ext
32454 cat >>conftest.$ac_ext <<_ACEOF
32455 /* end confdefs.h. */
32456
32457 /* Override any GCC internal prototype to avoid an error.
32458 Use char because int might match the return type of a GCC
32459 builtin and then its argument prototype would still apply. */
32460 #ifdef __cplusplus
32461 extern "C"
32462 #endif
32463 char gethostbyname ();
32464 int
32465 main ()
32466 {
32467 return gethostbyname ();
32468 ;
32469 return 0;
32470 }
32471 _ACEOF
32472 rm -f conftest.$ac_objext conftest$ac_exeext
32473 if { (ac_try="$ac_link"
32474 case "(($ac_try" in
32475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32476 *) ac_try_echo=$ac_try;;
32477 esac
32478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32479 (eval "$ac_link") 2>conftest.er1
32480 ac_status=$?
32481 grep -v '^ *+' conftest.er1 >conftest.err
32482 rm -f conftest.er1
32483 cat conftest.err >&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); } &&
32486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32487 { (case "(($ac_try" in
32488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32489 *) ac_try_echo=$ac_try;;
32490 esac
32491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32492 (eval "$ac_try") 2>&5
32493 ac_status=$?
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); }; } &&
32496 { ac_try='test -s conftest$ac_exeext'
32497 { (case "(($ac_try" in
32498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32499 *) ac_try_echo=$ac_try;;
32500 esac
32501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32502 (eval "$ac_try") 2>&5
32503 ac_status=$?
32504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505 (exit $ac_status); }; }; then
32506 ac_cv_lib_bsd_gethostbyname=yes
32507 else
32508 echo "$as_me: failed program was:" >&5
32509 sed 's/^/| /' conftest.$ac_ext >&5
32510
32511 ac_cv_lib_bsd_gethostbyname=no
32512 fi
32513
32514 rm -f core conftest.err conftest.$ac_objext \
32515 conftest$ac_exeext conftest.$ac_ext
32516 LIBS=$ac_check_lib_save_LIBS
32517 fi
32518 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32519 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32520 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32521 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32522 fi
32523
32524 fi
32525 fi
32526
32527 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32528 # socket/setsockopt and other routines are undefined under SCO ODT
32529 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32530 # on later versions), says Simon Leinen: it contains gethostby*
32531 # variants that don't use the name server (or something). -lsocket
32532 # must be given before -lnsl if both are needed. We assume that
32533 # if connect needs -lnsl, so does gethostbyname.
32534 { echo "$as_me:$LINENO: checking for connect" >&5
32535 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32536 if test "${ac_cv_func_connect+set}" = set; then
32537 echo $ECHO_N "(cached) $ECHO_C" >&6
32538 else
32539 cat >conftest.$ac_ext <<_ACEOF
32540 /* confdefs.h. */
32541 _ACEOF
32542 cat confdefs.h >>conftest.$ac_ext
32543 cat >>conftest.$ac_ext <<_ACEOF
32544 /* end confdefs.h. */
32545 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32547 #define connect innocuous_connect
32548
32549 /* System header to define __stub macros and hopefully few prototypes,
32550 which can conflict with char connect (); below.
32551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32552 <limits.h> exists even on freestanding compilers. */
32553
32554 #ifdef __STDC__
32555 # include <limits.h>
32556 #else
32557 # include <assert.h>
32558 #endif
32559
32560 #undef connect
32561
32562 /* Override any GCC internal prototype to avoid an error.
32563 Use char because int might match the return type of a GCC
32564 builtin and then its argument prototype would still apply. */
32565 #ifdef __cplusplus
32566 extern "C"
32567 #endif
32568 char connect ();
32569 /* The GNU C library defines this for functions which it implements
32570 to always fail with ENOSYS. Some functions are actually named
32571 something starting with __ and the normal name is an alias. */
32572 #if defined __stub_connect || defined __stub___connect
32573 choke me
32574 #endif
32575
32576 int
32577 main ()
32578 {
32579 return connect ();
32580 ;
32581 return 0;
32582 }
32583 _ACEOF
32584 rm -f conftest.$ac_objext conftest$ac_exeext
32585 if { (ac_try="$ac_link"
32586 case "(($ac_try" in
32587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32588 *) ac_try_echo=$ac_try;;
32589 esac
32590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32591 (eval "$ac_link") 2>conftest.er1
32592 ac_status=$?
32593 grep -v '^ *+' conftest.er1 >conftest.err
32594 rm -f conftest.er1
32595 cat conftest.err >&5
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); } &&
32598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32599 { (case "(($ac_try" in
32600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32601 *) ac_try_echo=$ac_try;;
32602 esac
32603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32604 (eval "$ac_try") 2>&5
32605 ac_status=$?
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); }; } &&
32608 { ac_try='test -s conftest$ac_exeext'
32609 { (case "(($ac_try" in
32610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32611 *) ac_try_echo=$ac_try;;
32612 esac
32613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32614 (eval "$ac_try") 2>&5
32615 ac_status=$?
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); }; }; then
32618 ac_cv_func_connect=yes
32619 else
32620 echo "$as_me: failed program was:" >&5
32621 sed 's/^/| /' conftest.$ac_ext >&5
32622
32623 ac_cv_func_connect=no
32624 fi
32625
32626 rm -f core conftest.err conftest.$ac_objext \
32627 conftest$ac_exeext conftest.$ac_ext
32628 fi
32629 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32630 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32631
32632 if test $ac_cv_func_connect = no; then
32633 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32634 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32635 if test "${ac_cv_lib_socket_connect+set}" = set; then
32636 echo $ECHO_N "(cached) $ECHO_C" >&6
32637 else
32638 ac_check_lib_save_LIBS=$LIBS
32639 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32640 cat >conftest.$ac_ext <<_ACEOF
32641 /* confdefs.h. */
32642 _ACEOF
32643 cat confdefs.h >>conftest.$ac_ext
32644 cat >>conftest.$ac_ext <<_ACEOF
32645 /* end confdefs.h. */
32646
32647 /* Override any GCC internal prototype to avoid an error.
32648 Use char because int might match the return type of a GCC
32649 builtin and then its argument prototype would still apply. */
32650 #ifdef __cplusplus
32651 extern "C"
32652 #endif
32653 char connect ();
32654 int
32655 main ()
32656 {
32657 return connect ();
32658 ;
32659 return 0;
32660 }
32661 _ACEOF
32662 rm -f conftest.$ac_objext conftest$ac_exeext
32663 if { (ac_try="$ac_link"
32664 case "(($ac_try" in
32665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32666 *) ac_try_echo=$ac_try;;
32667 esac
32668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32669 (eval "$ac_link") 2>conftest.er1
32670 ac_status=$?
32671 grep -v '^ *+' conftest.er1 >conftest.err
32672 rm -f conftest.er1
32673 cat conftest.err >&5
32674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675 (exit $ac_status); } &&
32676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32677 { (case "(($ac_try" in
32678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32679 *) ac_try_echo=$ac_try;;
32680 esac
32681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32682 (eval "$ac_try") 2>&5
32683 ac_status=$?
32684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32685 (exit $ac_status); }; } &&
32686 { ac_try='test -s conftest$ac_exeext'
32687 { (case "(($ac_try" in
32688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32689 *) ac_try_echo=$ac_try;;
32690 esac
32691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32692 (eval "$ac_try") 2>&5
32693 ac_status=$?
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); }; }; then
32696 ac_cv_lib_socket_connect=yes
32697 else
32698 echo "$as_me: failed program was:" >&5
32699 sed 's/^/| /' conftest.$ac_ext >&5
32700
32701 ac_cv_lib_socket_connect=no
32702 fi
32703
32704 rm -f core conftest.err conftest.$ac_objext \
32705 conftest$ac_exeext conftest.$ac_ext
32706 LIBS=$ac_check_lib_save_LIBS
32707 fi
32708 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32709 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32710 if test $ac_cv_lib_socket_connect = yes; then
32711 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32712 fi
32713
32714 fi
32715
32716 # Guillermo Gomez says -lposix is necessary on A/UX.
32717 { echo "$as_me:$LINENO: checking for remove" >&5
32718 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32719 if test "${ac_cv_func_remove+set}" = set; then
32720 echo $ECHO_N "(cached) $ECHO_C" >&6
32721 else
32722 cat >conftest.$ac_ext <<_ACEOF
32723 /* confdefs.h. */
32724 _ACEOF
32725 cat confdefs.h >>conftest.$ac_ext
32726 cat >>conftest.$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32728 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32730 #define remove innocuous_remove
32731
32732 /* System header to define __stub macros and hopefully few prototypes,
32733 which can conflict with char remove (); below.
32734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32735 <limits.h> exists even on freestanding compilers. */
32736
32737 #ifdef __STDC__
32738 # include <limits.h>
32739 #else
32740 # include <assert.h>
32741 #endif
32742
32743 #undef remove
32744
32745 /* Override any GCC internal prototype to avoid an error.
32746 Use char because int might match the return type of a GCC
32747 builtin and then its argument prototype would still apply. */
32748 #ifdef __cplusplus
32749 extern "C"
32750 #endif
32751 char remove ();
32752 /* The GNU C library defines this for functions which it implements
32753 to always fail with ENOSYS. Some functions are actually named
32754 something starting with __ and the normal name is an alias. */
32755 #if defined __stub_remove || defined __stub___remove
32756 choke me
32757 #endif
32758
32759 int
32760 main ()
32761 {
32762 return remove ();
32763 ;
32764 return 0;
32765 }
32766 _ACEOF
32767 rm -f conftest.$ac_objext conftest$ac_exeext
32768 if { (ac_try="$ac_link"
32769 case "(($ac_try" in
32770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32771 *) ac_try_echo=$ac_try;;
32772 esac
32773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32774 (eval "$ac_link") 2>conftest.er1
32775 ac_status=$?
32776 grep -v '^ *+' conftest.er1 >conftest.err
32777 rm -f conftest.er1
32778 cat conftest.err >&5
32779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32780 (exit $ac_status); } &&
32781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32782 { (case "(($ac_try" in
32783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32784 *) ac_try_echo=$ac_try;;
32785 esac
32786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32787 (eval "$ac_try") 2>&5
32788 ac_status=$?
32789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32790 (exit $ac_status); }; } &&
32791 { ac_try='test -s conftest$ac_exeext'
32792 { (case "(($ac_try" in
32793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32794 *) ac_try_echo=$ac_try;;
32795 esac
32796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32797 (eval "$ac_try") 2>&5
32798 ac_status=$?
32799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800 (exit $ac_status); }; }; then
32801 ac_cv_func_remove=yes
32802 else
32803 echo "$as_me: failed program was:" >&5
32804 sed 's/^/| /' conftest.$ac_ext >&5
32805
32806 ac_cv_func_remove=no
32807 fi
32808
32809 rm -f core conftest.err conftest.$ac_objext \
32810 conftest$ac_exeext conftest.$ac_ext
32811 fi
32812 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32813 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32814
32815 if test $ac_cv_func_remove = no; then
32816 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32817 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32818 if test "${ac_cv_lib_posix_remove+set}" = set; then
32819 echo $ECHO_N "(cached) $ECHO_C" >&6
32820 else
32821 ac_check_lib_save_LIBS=$LIBS
32822 LIBS="-lposix $LIBS"
32823 cat >conftest.$ac_ext <<_ACEOF
32824 /* confdefs.h. */
32825 _ACEOF
32826 cat confdefs.h >>conftest.$ac_ext
32827 cat >>conftest.$ac_ext <<_ACEOF
32828 /* end confdefs.h. */
32829
32830 /* Override any GCC internal prototype to avoid an error.
32831 Use char because int might match the return type of a GCC
32832 builtin and then its argument prototype would still apply. */
32833 #ifdef __cplusplus
32834 extern "C"
32835 #endif
32836 char remove ();
32837 int
32838 main ()
32839 {
32840 return remove ();
32841 ;
32842 return 0;
32843 }
32844 _ACEOF
32845 rm -f conftest.$ac_objext conftest$ac_exeext
32846 if { (ac_try="$ac_link"
32847 case "(($ac_try" in
32848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32849 *) ac_try_echo=$ac_try;;
32850 esac
32851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32852 (eval "$ac_link") 2>conftest.er1
32853 ac_status=$?
32854 grep -v '^ *+' conftest.er1 >conftest.err
32855 rm -f conftest.er1
32856 cat conftest.err >&5
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); } &&
32859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32860 { (case "(($ac_try" in
32861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32862 *) ac_try_echo=$ac_try;;
32863 esac
32864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32865 (eval "$ac_try") 2>&5
32866 ac_status=$?
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); }; } &&
32869 { ac_try='test -s conftest$ac_exeext'
32870 { (case "(($ac_try" in
32871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32872 *) ac_try_echo=$ac_try;;
32873 esac
32874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32875 (eval "$ac_try") 2>&5
32876 ac_status=$?
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); }; }; then
32879 ac_cv_lib_posix_remove=yes
32880 else
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.$ac_ext >&5
32883
32884 ac_cv_lib_posix_remove=no
32885 fi
32886
32887 rm -f core conftest.err conftest.$ac_objext \
32888 conftest$ac_exeext conftest.$ac_ext
32889 LIBS=$ac_check_lib_save_LIBS
32890 fi
32891 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32892 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32893 if test $ac_cv_lib_posix_remove = yes; then
32894 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32895 fi
32896
32897 fi
32898
32899 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32900 { echo "$as_me:$LINENO: checking for shmat" >&5
32901 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32902 if test "${ac_cv_func_shmat+set}" = set; then
32903 echo $ECHO_N "(cached) $ECHO_C" >&6
32904 else
32905 cat >conftest.$ac_ext <<_ACEOF
32906 /* confdefs.h. */
32907 _ACEOF
32908 cat confdefs.h >>conftest.$ac_ext
32909 cat >>conftest.$ac_ext <<_ACEOF
32910 /* end confdefs.h. */
32911 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32913 #define shmat innocuous_shmat
32914
32915 /* System header to define __stub macros and hopefully few prototypes,
32916 which can conflict with char shmat (); below.
32917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32918 <limits.h> exists even on freestanding compilers. */
32919
32920 #ifdef __STDC__
32921 # include <limits.h>
32922 #else
32923 # include <assert.h>
32924 #endif
32925
32926 #undef shmat
32927
32928 /* Override any GCC internal prototype to avoid an error.
32929 Use char because int might match the return type of a GCC
32930 builtin and then its argument prototype would still apply. */
32931 #ifdef __cplusplus
32932 extern "C"
32933 #endif
32934 char shmat ();
32935 /* The GNU C library defines this for functions which it implements
32936 to always fail with ENOSYS. Some functions are actually named
32937 something starting with __ and the normal name is an alias. */
32938 #if defined __stub_shmat || defined __stub___shmat
32939 choke me
32940 #endif
32941
32942 int
32943 main ()
32944 {
32945 return shmat ();
32946 ;
32947 return 0;
32948 }
32949 _ACEOF
32950 rm -f conftest.$ac_objext conftest$ac_exeext
32951 if { (ac_try="$ac_link"
32952 case "(($ac_try" in
32953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32954 *) ac_try_echo=$ac_try;;
32955 esac
32956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32957 (eval "$ac_link") 2>conftest.er1
32958 ac_status=$?
32959 grep -v '^ *+' conftest.er1 >conftest.err
32960 rm -f conftest.er1
32961 cat conftest.err >&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); } &&
32964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32965 { (case "(($ac_try" in
32966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32967 *) ac_try_echo=$ac_try;;
32968 esac
32969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32970 (eval "$ac_try") 2>&5
32971 ac_status=$?
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); }; } &&
32974 { ac_try='test -s conftest$ac_exeext'
32975 { (case "(($ac_try" in
32976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32977 *) ac_try_echo=$ac_try;;
32978 esac
32979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32980 (eval "$ac_try") 2>&5
32981 ac_status=$?
32982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983 (exit $ac_status); }; }; then
32984 ac_cv_func_shmat=yes
32985 else
32986 echo "$as_me: failed program was:" >&5
32987 sed 's/^/| /' conftest.$ac_ext >&5
32988
32989 ac_cv_func_shmat=no
32990 fi
32991
32992 rm -f core conftest.err conftest.$ac_objext \
32993 conftest$ac_exeext conftest.$ac_ext
32994 fi
32995 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32996 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32997
32998 if test $ac_cv_func_shmat = no; then
32999 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33000 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33001 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33002 echo $ECHO_N "(cached) $ECHO_C" >&6
33003 else
33004 ac_check_lib_save_LIBS=$LIBS
33005 LIBS="-lipc $LIBS"
33006 cat >conftest.$ac_ext <<_ACEOF
33007 /* confdefs.h. */
33008 _ACEOF
33009 cat confdefs.h >>conftest.$ac_ext
33010 cat >>conftest.$ac_ext <<_ACEOF
33011 /* end confdefs.h. */
33012
33013 /* Override any GCC internal prototype to avoid an error.
33014 Use char because int might match the return type of a GCC
33015 builtin and then its argument prototype would still apply. */
33016 #ifdef __cplusplus
33017 extern "C"
33018 #endif
33019 char shmat ();
33020 int
33021 main ()
33022 {
33023 return shmat ();
33024 ;
33025 return 0;
33026 }
33027 _ACEOF
33028 rm -f conftest.$ac_objext conftest$ac_exeext
33029 if { (ac_try="$ac_link"
33030 case "(($ac_try" in
33031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33032 *) ac_try_echo=$ac_try;;
33033 esac
33034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33035 (eval "$ac_link") 2>conftest.er1
33036 ac_status=$?
33037 grep -v '^ *+' conftest.er1 >conftest.err
33038 rm -f conftest.er1
33039 cat conftest.err >&5
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); } &&
33042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33043 { (case "(($ac_try" in
33044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33045 *) ac_try_echo=$ac_try;;
33046 esac
33047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33048 (eval "$ac_try") 2>&5
33049 ac_status=$?
33050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33051 (exit $ac_status); }; } &&
33052 { ac_try='test -s conftest$ac_exeext'
33053 { (case "(($ac_try" in
33054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33055 *) ac_try_echo=$ac_try;;
33056 esac
33057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33058 (eval "$ac_try") 2>&5
33059 ac_status=$?
33060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33061 (exit $ac_status); }; }; then
33062 ac_cv_lib_ipc_shmat=yes
33063 else
33064 echo "$as_me: failed program was:" >&5
33065 sed 's/^/| /' conftest.$ac_ext >&5
33066
33067 ac_cv_lib_ipc_shmat=no
33068 fi
33069
33070 rm -f core conftest.err conftest.$ac_objext \
33071 conftest$ac_exeext conftest.$ac_ext
33072 LIBS=$ac_check_lib_save_LIBS
33073 fi
33074 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33075 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33076 if test $ac_cv_lib_ipc_shmat = yes; then
33077 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33078 fi
33079
33080 fi
33081 fi
33082
33083 # Check for libraries that X11R6 Xt/Xaw programs need.
33084 ac_save_LDFLAGS=$LDFLAGS
33085 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33086 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33087 # check for ICE first), but we must link in the order -lSM -lICE or
33088 # we get undefined symbols. So assume we have SM if we have ICE.
33089 # These have to be linked with before -lX11, unlike the other
33090 # libraries we check for below, so use a different variable.
33091 # John Interrante, Karl Berry
33092 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33093 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33094 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33095 echo $ECHO_N "(cached) $ECHO_C" >&6
33096 else
33097 ac_check_lib_save_LIBS=$LIBS
33098 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33099 cat >conftest.$ac_ext <<_ACEOF
33100 /* confdefs.h. */
33101 _ACEOF
33102 cat confdefs.h >>conftest.$ac_ext
33103 cat >>conftest.$ac_ext <<_ACEOF
33104 /* end confdefs.h. */
33105
33106 /* Override any GCC internal prototype to avoid an error.
33107 Use char because int might match the return type of a GCC
33108 builtin and then its argument prototype would still apply. */
33109 #ifdef __cplusplus
33110 extern "C"
33111 #endif
33112 char IceConnectionNumber ();
33113 int
33114 main ()
33115 {
33116 return IceConnectionNumber ();
33117 ;
33118 return 0;
33119 }
33120 _ACEOF
33121 rm -f conftest.$ac_objext conftest$ac_exeext
33122 if { (ac_try="$ac_link"
33123 case "(($ac_try" in
33124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33125 *) ac_try_echo=$ac_try;;
33126 esac
33127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33128 (eval "$ac_link") 2>conftest.er1
33129 ac_status=$?
33130 grep -v '^ *+' conftest.er1 >conftest.err
33131 rm -f conftest.er1
33132 cat conftest.err >&5
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); } &&
33135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33136 { (case "(($ac_try" in
33137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33138 *) ac_try_echo=$ac_try;;
33139 esac
33140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33141 (eval "$ac_try") 2>&5
33142 ac_status=$?
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); }; } &&
33145 { ac_try='test -s conftest$ac_exeext'
33146 { (case "(($ac_try" in
33147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33148 *) ac_try_echo=$ac_try;;
33149 esac
33150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33151 (eval "$ac_try") 2>&5
33152 ac_status=$?
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); }; }; then
33155 ac_cv_lib_ICE_IceConnectionNumber=yes
33156 else
33157 echo "$as_me: failed program was:" >&5
33158 sed 's/^/| /' conftest.$ac_ext >&5
33159
33160 ac_cv_lib_ICE_IceConnectionNumber=no
33161 fi
33162
33163 rm -f core conftest.err conftest.$ac_objext \
33164 conftest$ac_exeext conftest.$ac_ext
33165 LIBS=$ac_check_lib_save_LIBS
33166 fi
33167 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33168 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33169 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33170 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33171 fi
33172
33173 LDFLAGS=$ac_save_LDFLAGS
33174
33175 fi
33176
33177
33178 if test "$no_x" = "yes"; then
33179 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33180 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33181 { (exit 1); exit 1; }; }
33182 fi
33183
33184 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33185 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33186 AFMINSTALL=afminstall
33187 COMPILED_X_PROGRAM=0
33188
33189 fi
33190
33191 if test "$wxUSE_X11" = 1; then
33192 if test "$wxUSE_NANOX" = "yes"; then
33193 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33194 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33195 if test "x$MICROWIN" = x ; then
33196 { echo "$as_me:$LINENO: result: not found" >&5
33197 echo "${ECHO_T}not found" >&6; }
33198 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33199 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33200 { (exit 1); exit 1; }; }
33201 else
33202 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33203 echo "${ECHO_T}$MICROWIN" >&6; }
33204 cat >>confdefs.h <<\_ACEOF
33205 #define wxUSE_NANOX 1
33206 _ACEOF
33207
33208 fi
33209 fi
33210
33211 if test "$wxUSE_UNICODE" = "yes"; then
33212
33213
33214 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33215 if test -n "$ac_tool_prefix"; then
33216 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33217 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33220 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33221 echo $ECHO_N "(cached) $ECHO_C" >&6
33222 else
33223 case $PKG_CONFIG in
33224 [\\/]* | ?:[\\/]*)
33225 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33226 ;;
33227 *)
33228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33229 for as_dir in $PATH
33230 do
33231 IFS=$as_save_IFS
33232 test -z "$as_dir" && as_dir=.
33233 for ac_exec_ext in '' $ac_executable_extensions; do
33234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33235 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33237 break 2
33238 fi
33239 done
33240 done
33241 IFS=$as_save_IFS
33242
33243 ;;
33244 esac
33245 fi
33246 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33247 if test -n "$PKG_CONFIG"; then
33248 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33249 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33250 else
33251 { echo "$as_me:$LINENO: result: no" >&5
33252 echo "${ECHO_T}no" >&6; }
33253 fi
33254
33255
33256 fi
33257 if test -z "$ac_cv_path_PKG_CONFIG"; then
33258 ac_pt_PKG_CONFIG=$PKG_CONFIG
33259 # Extract the first word of "pkg-config", so it can be a program name with args.
33260 set dummy pkg-config; ac_word=$2
33261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33263 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33264 echo $ECHO_N "(cached) $ECHO_C" >&6
33265 else
33266 case $ac_pt_PKG_CONFIG in
33267 [\\/]* | ?:[\\/]*)
33268 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33269 ;;
33270 *)
33271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33272 for as_dir in $PATH
33273 do
33274 IFS=$as_save_IFS
33275 test -z "$as_dir" && as_dir=.
33276 for ac_exec_ext in '' $ac_executable_extensions; do
33277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33278 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33280 break 2
33281 fi
33282 done
33283 done
33284 IFS=$as_save_IFS
33285
33286 ;;
33287 esac
33288 fi
33289 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33290 if test -n "$ac_pt_PKG_CONFIG"; then
33291 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33292 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33293 else
33294 { echo "$as_me:$LINENO: result: no" >&5
33295 echo "${ECHO_T}no" >&6; }
33296 fi
33297
33298 if test "x$ac_pt_PKG_CONFIG" = x; then
33299 PKG_CONFIG=""
33300 else
33301 case $cross_compiling:$ac_tool_warned in
33302 yes:)
33303 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33304 whose name does not start with the host triplet. If you think this
33305 configuration is useful to you, please write to autoconf@gnu.org." >&5
33306 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33307 whose name does not start with the host triplet. If you think this
33308 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33309 ac_tool_warned=yes ;;
33310 esac
33311 PKG_CONFIG=$ac_pt_PKG_CONFIG
33312 fi
33313 else
33314 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33315 fi
33316
33317 fi
33318 if test -n "$PKG_CONFIG"; then
33319 _pkg_min_version=0.9.0
33320 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33321 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33322 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33323 { echo "$as_me:$LINENO: result: yes" >&5
33324 echo "${ECHO_T}yes" >&6; }
33325 else
33326 { echo "$as_me:$LINENO: result: no" >&5
33327 echo "${ECHO_T}no" >&6; }
33328 PKG_CONFIG=""
33329 fi
33330
33331 fi
33332
33333
33334 pkg_failed=no
33335 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33336 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33337
33338 if test -n "$PKG_CONFIG"; then
33339 if test -n "$PANGOX_CFLAGS"; then
33340 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33341 else
33342 if test -n "$PKG_CONFIG" && \
33343 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33344 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33345 ac_status=$?
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); }; then
33348 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33349 else
33350 pkg_failed=yes
33351 fi
33352 fi
33353 else
33354 pkg_failed=untried
33355 fi
33356 if test -n "$PKG_CONFIG"; then
33357 if test -n "$PANGOX_LIBS"; then
33358 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33359 else
33360 if test -n "$PKG_CONFIG" && \
33361 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33362 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33363 ac_status=$?
33364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33365 (exit $ac_status); }; then
33366 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33367 else
33368 pkg_failed=yes
33369 fi
33370 fi
33371 else
33372 pkg_failed=untried
33373 fi
33374
33375
33376
33377 if test $pkg_failed = yes; then
33378
33379 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33380 _pkg_short_errors_supported=yes
33381 else
33382 _pkg_short_errors_supported=no
33383 fi
33384 if test $_pkg_short_errors_supported = yes; then
33385 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33386 else
33387 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33388 fi
33389 # Put the nasty error message in config.log where it belongs
33390 echo "$PANGOX_PKG_ERRORS" >&5
33391
33392
33393 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33394 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33395 { (exit 1); exit 1; }; }
33396
33397
33398 elif test $pkg_failed = untried; then
33399
33400 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33401 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33402 { (exit 1); exit 1; }; }
33403
33404
33405 else
33406 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33407 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33408 { echo "$as_me:$LINENO: result: yes" >&5
33409 echo "${ECHO_T}yes" >&6; }
33410
33411 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33412 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33413 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33414
33415 fi
33416
33417 pkg_failed=no
33418 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33419 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33420
33421 if test -n "$PKG_CONFIG"; then
33422 if test -n "$PANGOFT2_CFLAGS"; then
33423 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33424 else
33425 if test -n "$PKG_CONFIG" && \
33426 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33427 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33428 ac_status=$?
33429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33430 (exit $ac_status); }; then
33431 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33432 else
33433 pkg_failed=yes
33434 fi
33435 fi
33436 else
33437 pkg_failed=untried
33438 fi
33439 if test -n "$PKG_CONFIG"; then
33440 if test -n "$PANGOFT2_LIBS"; then
33441 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33442 else
33443 if test -n "$PKG_CONFIG" && \
33444 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33445 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33446 ac_status=$?
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); }; then
33449 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33450 else
33451 pkg_failed=yes
33452 fi
33453 fi
33454 else
33455 pkg_failed=untried
33456 fi
33457
33458
33459
33460 if test $pkg_failed = yes; then
33461
33462 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33463 _pkg_short_errors_supported=yes
33464 else
33465 _pkg_short_errors_supported=no
33466 fi
33467 if test $_pkg_short_errors_supported = yes; then
33468 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33469 else
33470 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33471 fi
33472 # Put the nasty error message in config.log where it belongs
33473 echo "$PANGOFT2_PKG_ERRORS" >&5
33474
33475
33476 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33477 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33478 wxUSE_PRINTING_ARCHITECTURE="no"
33479
33480
33481 elif test $pkg_failed = untried; then
33482
33483 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33484 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33485 wxUSE_PRINTING_ARCHITECTURE="no"
33486
33487
33488 else
33489 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33490 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33491 { echo "$as_me:$LINENO: result: yes" >&5
33492 echo "${ECHO_T}yes" >&6; }
33493
33494 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33495 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33496 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33497
33498 fi
33499
33500 pkg_failed=no
33501 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33502 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33503
33504 if test -n "$PKG_CONFIG"; then
33505 if test -n "$PANGOXFT_CFLAGS"; then
33506 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33507 else
33508 if test -n "$PKG_CONFIG" && \
33509 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33510 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33511 ac_status=$?
33512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33513 (exit $ac_status); }; then
33514 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33515 else
33516 pkg_failed=yes
33517 fi
33518 fi
33519 else
33520 pkg_failed=untried
33521 fi
33522 if test -n "$PKG_CONFIG"; then
33523 if test -n "$PANGOXFT_LIBS"; then
33524 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33525 else
33526 if test -n "$PKG_CONFIG" && \
33527 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33528 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33529 ac_status=$?
33530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33531 (exit $ac_status); }; then
33532 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33533 else
33534 pkg_failed=yes
33535 fi
33536 fi
33537 else
33538 pkg_failed=untried
33539 fi
33540
33541
33542
33543 if test $pkg_failed = yes; then
33544
33545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33546 _pkg_short_errors_supported=yes
33547 else
33548 _pkg_short_errors_supported=no
33549 fi
33550 if test $_pkg_short_errors_supported = yes; then
33551 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33552 else
33553 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33554 fi
33555 # Put the nasty error message in config.log where it belongs
33556 echo "$PANGOXFT_PKG_ERRORS" >&5
33557
33558
33559 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33560 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33561
33562
33563 elif test $pkg_failed = untried; then
33564
33565 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33566 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33567
33568
33569 else
33570 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33571 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33572 { echo "$as_me:$LINENO: result: yes" >&5
33573 echo "${ECHO_T}yes" >&6; }
33574
33575 cat >>confdefs.h <<\_ACEOF
33576 #define HAVE_PANGO_XFT 1
33577 _ACEOF
33578
33579 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33580 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33581 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33582
33583 fi
33584 save_LIBS="$LIBS"
33585 LIBS="$LIBS $PANGOX_LIBS"
33586
33587 for ac_func in pango_font_family_is_monospace
33588 do
33589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33590 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33592 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33593 echo $ECHO_N "(cached) $ECHO_C" >&6
33594 else
33595 cat >conftest.$ac_ext <<_ACEOF
33596 /* confdefs.h. */
33597 _ACEOF
33598 cat confdefs.h >>conftest.$ac_ext
33599 cat >>conftest.$ac_ext <<_ACEOF
33600 /* end confdefs.h. */
33601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33603 #define $ac_func innocuous_$ac_func
33604
33605 /* System header to define __stub macros and hopefully few prototypes,
33606 which can conflict with char $ac_func (); below.
33607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33608 <limits.h> exists even on freestanding compilers. */
33609
33610 #ifdef __STDC__
33611 # include <limits.h>
33612 #else
33613 # include <assert.h>
33614 #endif
33615
33616 #undef $ac_func
33617
33618 /* Override any GCC internal prototype to avoid an error.
33619 Use char because int might match the return type of a GCC
33620 builtin and then its argument prototype would still apply. */
33621 #ifdef __cplusplus
33622 extern "C"
33623 #endif
33624 char $ac_func ();
33625 /* The GNU C library defines this for functions which it implements
33626 to always fail with ENOSYS. Some functions are actually named
33627 something starting with __ and the normal name is an alias. */
33628 #if defined __stub_$ac_func || defined __stub___$ac_func
33629 choke me
33630 #endif
33631
33632 int
33633 main ()
33634 {
33635 return $ac_func ();
33636 ;
33637 return 0;
33638 }
33639 _ACEOF
33640 rm -f conftest.$ac_objext conftest$ac_exeext
33641 if { (ac_try="$ac_link"
33642 case "(($ac_try" in
33643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33644 *) ac_try_echo=$ac_try;;
33645 esac
33646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33647 (eval "$ac_link") 2>conftest.er1
33648 ac_status=$?
33649 grep -v '^ *+' conftest.er1 >conftest.err
33650 rm -f conftest.er1
33651 cat conftest.err >&5
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); } &&
33654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33655 { (case "(($ac_try" in
33656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33657 *) ac_try_echo=$ac_try;;
33658 esac
33659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33660 (eval "$ac_try") 2>&5
33661 ac_status=$?
33662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33663 (exit $ac_status); }; } &&
33664 { ac_try='test -s conftest$ac_exeext'
33665 { (case "(($ac_try" in
33666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33667 *) ac_try_echo=$ac_try;;
33668 esac
33669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33670 (eval "$ac_try") 2>&5
33671 ac_status=$?
33672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33673 (exit $ac_status); }; }; then
33674 eval "$as_ac_var=yes"
33675 else
33676 echo "$as_me: failed program was:" >&5
33677 sed 's/^/| /' conftest.$ac_ext >&5
33678
33679 eval "$as_ac_var=no"
33680 fi
33681
33682 rm -f core conftest.err conftest.$ac_objext \
33683 conftest$ac_exeext conftest.$ac_ext
33684 fi
33685 ac_res=`eval echo '${'$as_ac_var'}'`
33686 { echo "$as_me:$LINENO: result: $ac_res" >&5
33687 echo "${ECHO_T}$ac_res" >&6; }
33688 if test `eval echo '${'$as_ac_var'}'` = yes; then
33689 cat >>confdefs.h <<_ACEOF
33690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33691 _ACEOF
33692
33693 fi
33694 done
33695
33696 LIBS="$save_LIBS"
33697 fi
33698
33699 wxUSE_UNIVERSAL="yes"
33700
33701 if test "$wxUSE_NANOX" = "yes"; then
33702 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33703 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
33704 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33705 else
33706 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33707 fi
33708
33709 TOOLKIT=X11
33710 GUIDIST=X11_DIST
33711 fi
33712
33713 if test "$wxUSE_MOTIF" = 1; then
33714 if test "$wxUSE_UNICODE" = "yes"; then
33715 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33716 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33717 { (exit 1); exit 1; }; }
33718 fi
33719
33720 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33721 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33722
33723 ac_find_includes=
33724 for ac_dir in $SEARCH_INCLUDE /usr/include;
33725 do
33726 if test -f "$ac_dir/Xm/Xm.h"; then
33727 ac_find_includes=$ac_dir
33728 break
33729 fi
33730 done
33731
33732 if test "$ac_find_includes" != "" ; then
33733 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33734 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33735
33736 if test "x$ac_find_includes" = "x/usr/include"; then
33737 ac_path_to_include=""
33738 else
33739 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33740 result=$?
33741 if test $result = 0; then
33742 ac_path_to_include=""
33743 else
33744 ac_path_to_include=" -I$ac_find_includes"
33745 fi
33746 fi
33747
33748 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33749 else
33750 save_CFLAGS=$CFLAGS
33751 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33752
33753 cat >conftest.$ac_ext <<_ACEOF
33754 /* confdefs.h. */
33755 _ACEOF
33756 cat confdefs.h >>conftest.$ac_ext
33757 cat >>conftest.$ac_ext <<_ACEOF
33758 /* end confdefs.h. */
33759
33760 #include <Xm/Xm.h>
33761
33762 int
33763 main ()
33764 {
33765
33766 int version;
33767 version = xmUseVersion;
33768
33769 ;
33770 return 0;
33771 }
33772 _ACEOF
33773 rm -f conftest.$ac_objext
33774 if { (ac_try="$ac_compile"
33775 case "(($ac_try" in
33776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33777 *) ac_try_echo=$ac_try;;
33778 esac
33779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33780 (eval "$ac_compile") 2>conftest.er1
33781 ac_status=$?
33782 grep -v '^ *+' conftest.er1 >conftest.err
33783 rm -f conftest.er1
33784 cat conftest.err >&5
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); } &&
33787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33788 { (case "(($ac_try" in
33789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33790 *) ac_try_echo=$ac_try;;
33791 esac
33792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33793 (eval "$ac_try") 2>&5
33794 ac_status=$?
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); }; } &&
33797 { ac_try='test -s conftest.$ac_objext'
33798 { (case "(($ac_try" in
33799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33800 *) ac_try_echo=$ac_try;;
33801 esac
33802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33803 (eval "$ac_try") 2>&5
33804 ac_status=$?
33805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33806 (exit $ac_status); }; }; then
33807
33808 { echo "$as_me:$LINENO: result: found in default search path" >&5
33809 echo "${ECHO_T}found in default search path" >&6; }
33810 COMPILED_X_PROGRAM=1
33811
33812 else
33813 echo "$as_me: failed program was:" >&5
33814 sed 's/^/| /' conftest.$ac_ext >&5
33815
33816
33817 { echo "$as_me:$LINENO: result: no" >&5
33818 echo "${ECHO_T}no" >&6; }
33819 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33820 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33821 { (exit 1); exit 1; }; }
33822
33823
33824 fi
33825
33826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33827
33828 CFLAGS=$save_CFLAGS
33829 fi
33830
33831
33832 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33833 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33834
33835 ac_find_libraries=
33836 for ac_dir in $SEARCH_LIB;
33837 do
33838 for ac_extension in a so sl dylib dll.a; do
33839 if test -f "$ac_dir/libXm.$ac_extension"; then
33840 ac_find_libraries=$ac_dir
33841 break 2
33842 fi
33843 done
33844 done
33845
33846
33847 if test "x$ac_find_libraries" != "x" ; then
33848 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33849 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33850
33851
33852 if test "$ac_find_libraries" = "default location"; then
33853 ac_path_to_link=""
33854 else
33855 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33856 result=$?
33857 if test $result = 0; then
33858 ac_path_to_link=""
33859 else
33860 ac_path_to_link=" -L$ac_find_libraries"
33861 fi
33862 fi
33863
33864 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33865 else
33866 save_CFLAGS=$CFLAGS
33867 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33868 save_LIBS="$LIBS"
33869 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33870
33871 cat >conftest.$ac_ext <<_ACEOF
33872 /* confdefs.h. */
33873 _ACEOF
33874 cat confdefs.h >>conftest.$ac_ext
33875 cat >>conftest.$ac_ext <<_ACEOF
33876 /* end confdefs.h. */
33877
33878 #include <Xm/Xm.h>
33879
33880 int
33881 main ()
33882 {
33883
33884 int version;
33885 version = xmUseVersion;
33886
33887 ;
33888 return 0;
33889 }
33890 _ACEOF
33891 rm -f conftest.$ac_objext conftest$ac_exeext
33892 if { (ac_try="$ac_link"
33893 case "(($ac_try" in
33894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33895 *) ac_try_echo=$ac_try;;
33896 esac
33897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33898 (eval "$ac_link") 2>conftest.er1
33899 ac_status=$?
33900 grep -v '^ *+' conftest.er1 >conftest.err
33901 rm -f conftest.er1
33902 cat conftest.err >&5
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); } &&
33905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33906 { (case "(($ac_try" in
33907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33908 *) ac_try_echo=$ac_try;;
33909 esac
33910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33911 (eval "$ac_try") 2>&5
33912 ac_status=$?
33913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33914 (exit $ac_status); }; } &&
33915 { ac_try='test -s conftest$ac_exeext'
33916 { (case "(($ac_try" in
33917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33918 *) ac_try_echo=$ac_try;;
33919 esac
33920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33921 (eval "$ac_try") 2>&5
33922 ac_status=$?
33923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33924 (exit $ac_status); }; }; then
33925
33926 { echo "$as_me:$LINENO: result: found in default search path" >&5
33927 echo "${ECHO_T}found in default search path" >&6; }
33928 COMPILED_X_PROGRAM=1
33929
33930 else
33931 echo "$as_me: failed program was:" >&5
33932 sed 's/^/| /' conftest.$ac_ext >&5
33933
33934
33935 { echo "$as_me:$LINENO: result: no" >&5
33936 echo "${ECHO_T}no" >&6; }
33937 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33938 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33939 { (exit 1); exit 1; }; }
33940
33941
33942 fi
33943
33944 rm -f core conftest.err conftest.$ac_objext \
33945 conftest$ac_exeext conftest.$ac_ext
33946
33947 CFLAGS=$save_CFLAGS
33948 LIBS="$save_LIBS"
33949 fi
33950
33951 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33952 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33953 libp_link=""
33954 libsm_ice_link=""
33955 libs_found=0
33956 for libp in "" " -lXp"; do
33957 if test "$libs_found" = "0"; then
33958 for libsm_ice in "" " -lSM -lICE"; do
33959 if test "$libs_found" = "0"; then
33960 save_LIBS="$LIBS"
33961 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33962 save_CFLAGS=$CFLAGS
33963 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33964
33965 cat >conftest.$ac_ext <<_ACEOF
33966 /* confdefs.h. */
33967 _ACEOF
33968 cat confdefs.h >>conftest.$ac_ext
33969 cat >>conftest.$ac_ext <<_ACEOF
33970 /* end confdefs.h. */
33971
33972 #include <Xm/Xm.h>
33973 #include <Xm/List.h>
33974
33975 int
33976 main ()
33977 {
33978
33979 XmString string = NULL;
33980 Widget w = NULL;
33981 int position = 0;
33982 XmListAddItem(w, string, position);
33983
33984 ;
33985 return 0;
33986 }
33987 _ACEOF
33988 rm -f conftest.$ac_objext conftest$ac_exeext
33989 if { (ac_try="$ac_link"
33990 case "(($ac_try" in
33991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33992 *) ac_try_echo=$ac_try;;
33993 esac
33994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33995 (eval "$ac_link") 2>conftest.er1
33996 ac_status=$?
33997 grep -v '^ *+' conftest.er1 >conftest.err
33998 rm -f conftest.er1
33999 cat conftest.err >&5
34000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34001 (exit $ac_status); } &&
34002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34003 { (case "(($ac_try" in
34004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34005 *) ac_try_echo=$ac_try;;
34006 esac
34007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34008 (eval "$ac_try") 2>&5
34009 ac_status=$?
34010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34011 (exit $ac_status); }; } &&
34012 { ac_try='test -s conftest$ac_exeext'
34013 { (case "(($ac_try" in
34014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34015 *) ac_try_echo=$ac_try;;
34016 esac
34017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34018 (eval "$ac_try") 2>&5
34019 ac_status=$?
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; }; then
34022
34023 libp_link="$libp"
34024 libsm_ice_link="$libsm_ice"
34025 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34026 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34027 libs_found=1
34028
34029 else
34030 echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.$ac_ext >&5
34032
34033
34034
34035 fi
34036
34037 rm -f core conftest.err conftest.$ac_objext \
34038 conftest$ac_exeext conftest.$ac_ext
34039
34040 LIBS="$save_LIBS"
34041 CFLAGS=$save_CFLAGS
34042 fi
34043 done
34044 fi
34045 done
34046
34047 if test "$libs_found" = "0"; then
34048 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34049 echo "${ECHO_T}can't find the right libraries" >&6; }
34050 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34051 echo "$as_me: error: can't link a simple motif program" >&2;}
34052 { (exit 1); exit 1; }; }
34053 fi
34054
34055 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34056 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34057 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34058 echo $ECHO_N "(cached) $ECHO_C" >&6
34059 else
34060 ac_check_lib_save_LIBS=$LIBS
34061 LIBS="-lSgm $LIBS"
34062 cat >conftest.$ac_ext <<_ACEOF
34063 /* confdefs.h. */
34064 _ACEOF
34065 cat confdefs.h >>conftest.$ac_ext
34066 cat >>conftest.$ac_ext <<_ACEOF
34067 /* end confdefs.h. */
34068
34069 /* Override any GCC internal prototype to avoid an error.
34070 Use char because int might match the return type of a GCC
34071 builtin and then its argument prototype would still apply. */
34072 #ifdef __cplusplus
34073 extern "C"
34074 #endif
34075 char SgCreateList ();
34076 int
34077 main ()
34078 {
34079 return SgCreateList ();
34080 ;
34081 return 0;
34082 }
34083 _ACEOF
34084 rm -f conftest.$ac_objext conftest$ac_exeext
34085 if { (ac_try="$ac_link"
34086 case "(($ac_try" in
34087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34088 *) ac_try_echo=$ac_try;;
34089 esac
34090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34091 (eval "$ac_link") 2>conftest.er1
34092 ac_status=$?
34093 grep -v '^ *+' conftest.er1 >conftest.err
34094 rm -f conftest.er1
34095 cat conftest.err >&5
34096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34097 (exit $ac_status); } &&
34098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34099 { (case "(($ac_try" in
34100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34101 *) ac_try_echo=$ac_try;;
34102 esac
34103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34104 (eval "$ac_try") 2>&5
34105 ac_status=$?
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); }; } &&
34108 { ac_try='test -s conftest$ac_exeext'
34109 { (case "(($ac_try" in
34110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34111 *) ac_try_echo=$ac_try;;
34112 esac
34113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34114 (eval "$ac_try") 2>&5
34115 ac_status=$?
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); }; }; then
34118 ac_cv_lib_Sgm_SgCreateList=yes
34119 else
34120 echo "$as_me: failed program was:" >&5
34121 sed 's/^/| /' conftest.$ac_ext >&5
34122
34123 ac_cv_lib_Sgm_SgCreateList=no
34124 fi
34125
34126 rm -f core conftest.err conftest.$ac_objext \
34127 conftest$ac_exeext conftest.$ac_ext
34128 LIBS=$ac_check_lib_save_LIBS
34129 fi
34130 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34131 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34132 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34133 libsgm_link=" -lSgm"
34134 fi
34135
34136
34137 save_CFLAGS=$CFLAGS
34138 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34139
34140 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34141 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34142 if test "${wx_cv_lib_motif2+set}" = set; then
34143 echo $ECHO_N "(cached) $ECHO_C" >&6
34144 else
34145 cat >conftest.$ac_ext <<_ACEOF
34146 /* confdefs.h. */
34147 _ACEOF
34148 cat confdefs.h >>conftest.$ac_ext
34149 cat >>conftest.$ac_ext <<_ACEOF
34150 /* end confdefs.h. */
34151
34152 #include <Xm/Xm.h>
34153
34154 int
34155 main ()
34156 {
34157
34158 #if XmVersion < 2000
34159 Not Motif 2
34160 #endif
34161
34162 ;
34163 return 0;
34164 }
34165 _ACEOF
34166 rm -f conftest.$ac_objext
34167 if { (ac_try="$ac_compile"
34168 case "(($ac_try" in
34169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34170 *) ac_try_echo=$ac_try;;
34171 esac
34172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34173 (eval "$ac_compile") 2>conftest.er1
34174 ac_status=$?
34175 grep -v '^ *+' conftest.er1 >conftest.err
34176 rm -f conftest.er1
34177 cat conftest.err >&5
34178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34179 (exit $ac_status); } &&
34180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34181 { (case "(($ac_try" in
34182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34183 *) ac_try_echo=$ac_try;;
34184 esac
34185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34186 (eval "$ac_try") 2>&5
34187 ac_status=$?
34188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34189 (exit $ac_status); }; } &&
34190 { ac_try='test -s conftest.$ac_objext'
34191 { (case "(($ac_try" in
34192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34193 *) ac_try_echo=$ac_try;;
34194 esac
34195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34196 (eval "$ac_try") 2>&5
34197 ac_status=$?
34198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34199 (exit $ac_status); }; }; then
34200 wx_cv_lib_motif2="yes"
34201 else
34202 echo "$as_me: failed program was:" >&5
34203 sed 's/^/| /' conftest.$ac_ext >&5
34204
34205 wx_cv_lib_motif2="no"
34206 fi
34207
34208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34209 fi
34210 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34211 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34212 if test "$wx_cv_lib_motif2" = "yes"; then
34213 cat >>confdefs.h <<\_ACEOF
34214 #define __WXMOTIF20__ 1
34215 _ACEOF
34216
34217 else
34218 cat >>confdefs.h <<\_ACEOF
34219 #define __WXMOTIF20__ 0
34220 _ACEOF
34221
34222 fi
34223
34224 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34225 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34226 if test "${wx_cv_lib_lesstif+set}" = set; then
34227 echo $ECHO_N "(cached) $ECHO_C" >&6
34228 else
34229 cat >conftest.$ac_ext <<_ACEOF
34230 /* confdefs.h. */
34231 _ACEOF
34232 cat confdefs.h >>conftest.$ac_ext
34233 cat >>conftest.$ac_ext <<_ACEOF
34234 /* end confdefs.h. */
34235
34236 #include <Xm/Xm.h>
34237
34238 int
34239 main ()
34240 {
34241
34242 #if !defined(LesstifVersion) || LesstifVersion <= 0
34243 Not Lesstif
34244 #endif
34245
34246 ;
34247 return 0;
34248 }
34249 _ACEOF
34250 rm -f conftest.$ac_objext
34251 if { (ac_try="$ac_compile"
34252 case "(($ac_try" in
34253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34254 *) ac_try_echo=$ac_try;;
34255 esac
34256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34257 (eval "$ac_compile") 2>conftest.er1
34258 ac_status=$?
34259 grep -v '^ *+' conftest.er1 >conftest.err
34260 rm -f conftest.er1
34261 cat conftest.err >&5
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); } &&
34264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34265 { (case "(($ac_try" in
34266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34267 *) ac_try_echo=$ac_try;;
34268 esac
34269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34270 (eval "$ac_try") 2>&5
34271 ac_status=$?
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); }; } &&
34274 { ac_try='test -s conftest.$ac_objext'
34275 { (case "(($ac_try" in
34276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34277 *) ac_try_echo=$ac_try;;
34278 esac
34279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34280 (eval "$ac_try") 2>&5
34281 ac_status=$?
34282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34283 (exit $ac_status); }; }; then
34284 wx_cv_lib_lesstif="yes"
34285 else
34286 echo "$as_me: failed program was:" >&5
34287 sed 's/^/| /' conftest.$ac_ext >&5
34288
34289 wx_cv_lib_lesstif="no"
34290 fi
34291
34292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34293
34294 fi
34295 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34296 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34297 if test "$wx_cv_lib_lesstif" = "yes"; then
34298 cat >>confdefs.h <<\_ACEOF
34299 #define __WXLESSTIF__ 1
34300 _ACEOF
34301
34302 else
34303 cat >>confdefs.h <<\_ACEOF
34304 #define __WXLESSTIF__ 0
34305 _ACEOF
34306
34307 fi
34308
34309 CFLAGS=$save_CFLAGS
34310
34311 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34312 TOOLKIT=MOTIF
34313 GUIDIST=MOTIF_DIST
34314 fi
34315
34316 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34317 if test "$wxUSE_LIBXPM" = "sys"; then
34318 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34319 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34320
34321 ac_find_libraries=
34322 for ac_dir in $SEARCH_LIB;
34323 do
34324 for ac_extension in a so sl dylib dll.a; do
34325 if test -f "$ac_dir/libXpm.$ac_extension"; then
34326 ac_find_libraries=$ac_dir
34327 break 2
34328 fi
34329 done
34330 done
34331
34332 if test "$ac_find_libraries" != "" ; then
34333
34334 if test "$ac_find_libraries" = "default location"; then
34335 ac_path_to_link=""
34336 else
34337 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34338 result=$?
34339 if test $result = 0; then
34340 ac_path_to_link=""
34341 else
34342 ac_path_to_link=" -L$ac_find_libraries"
34343 fi
34344 fi
34345
34346 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34347 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34348 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34349
34350 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34351 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34352 if test "${wx_cv_x11_xpm_h+set}" = set; then
34353 echo $ECHO_N "(cached) $ECHO_C" >&6
34354 else
34355
34356 save_CFLAGS=$CFLAGS
34357 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34358
34359 cat >conftest.$ac_ext <<_ACEOF
34360 /* confdefs.h. */
34361 _ACEOF
34362 cat confdefs.h >>conftest.$ac_ext
34363 cat >>conftest.$ac_ext <<_ACEOF
34364 /* end confdefs.h. */
34365
34366 #include <X11/xpm.h>
34367
34368 int
34369 main ()
34370 {
34371
34372 int version;
34373 version = XpmLibraryVersion();
34374
34375 ;
34376 return 0;
34377 }
34378 _ACEOF
34379 rm -f conftest.$ac_objext
34380 if { (ac_try="$ac_compile"
34381 case "(($ac_try" in
34382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34383 *) ac_try_echo=$ac_try;;
34384 esac
34385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34386 (eval "$ac_compile") 2>conftest.er1
34387 ac_status=$?
34388 grep -v '^ *+' conftest.er1 >conftest.err
34389 rm -f conftest.er1
34390 cat conftest.err >&5
34391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34392 (exit $ac_status); } &&
34393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34394 { (case "(($ac_try" in
34395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34396 *) ac_try_echo=$ac_try;;
34397 esac
34398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34399 (eval "$ac_try") 2>&5
34400 ac_status=$?
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); }; } &&
34403 { ac_try='test -s conftest.$ac_objext'
34404 { (case "(($ac_try" in
34405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34406 *) ac_try_echo=$ac_try;;
34407 esac
34408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34409 (eval "$ac_try") 2>&5
34410 ac_status=$?
34411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34412 (exit $ac_status); }; }; then
34413 wx_cv_x11_xpm_h=yes
34414 else
34415 echo "$as_me: failed program was:" >&5
34416 sed 's/^/| /' conftest.$ac_ext >&5
34417
34418 wx_cv_x11_xpm_h=no
34419
34420 fi
34421
34422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34423
34424 CFLAGS=$save_CFLAGS
34425
34426
34427 fi
34428 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34429 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34430
34431 if test $wx_cv_x11_xpm_h = "yes"; then
34432 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34433 cat >>confdefs.h <<\_ACEOF
34434 #define wxHAVE_LIB_XPM 1
34435 _ACEOF
34436
34437 else
34438 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34439 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34440 fi
34441 fi
34442
34443 fi
34444
34445 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34446 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34447 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34448 echo $ECHO_N "(cached) $ECHO_C" >&6
34449 else
34450 ac_check_lib_save_LIBS=$LIBS
34451 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34452 cat >conftest.$ac_ext <<_ACEOF
34453 /* confdefs.h. */
34454 _ACEOF
34455 cat confdefs.h >>conftest.$ac_ext
34456 cat >>conftest.$ac_ext <<_ACEOF
34457 /* end confdefs.h. */
34458
34459 /* Override any GCC internal prototype to avoid an error.
34460 Use char because int might match the return type of a GCC
34461 builtin and then its argument prototype would still apply. */
34462 #ifdef __cplusplus
34463 extern "C"
34464 #endif
34465 char XShapeQueryExtension ();
34466 int
34467 main ()
34468 {
34469 return XShapeQueryExtension ();
34470 ;
34471 return 0;
34472 }
34473 _ACEOF
34474 rm -f conftest.$ac_objext conftest$ac_exeext
34475 if { (ac_try="$ac_link"
34476 case "(($ac_try" in
34477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34478 *) ac_try_echo=$ac_try;;
34479 esac
34480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34481 (eval "$ac_link") 2>conftest.er1
34482 ac_status=$?
34483 grep -v '^ *+' conftest.er1 >conftest.err
34484 rm -f conftest.er1
34485 cat conftest.err >&5
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); } &&
34488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34489 { (case "(($ac_try" in
34490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34491 *) ac_try_echo=$ac_try;;
34492 esac
34493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34494 (eval "$ac_try") 2>&5
34495 ac_status=$?
34496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34497 (exit $ac_status); }; } &&
34498 { ac_try='test -s conftest$ac_exeext'
34499 { (case "(($ac_try" in
34500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34501 *) ac_try_echo=$ac_try;;
34502 esac
34503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34504 (eval "$ac_try") 2>&5
34505 ac_status=$?
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); }; }; then
34508 ac_cv_lib_Xext_XShapeQueryExtension=yes
34509 else
34510 echo "$as_me: failed program was:" >&5
34511 sed 's/^/| /' conftest.$ac_ext >&5
34512
34513 ac_cv_lib_Xext_XShapeQueryExtension=no
34514 fi
34515
34516 rm -f core conftest.err conftest.$ac_objext \
34517 conftest$ac_exeext conftest.$ac_ext
34518 LIBS=$ac_check_lib_save_LIBS
34519 fi
34520 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34521 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34522 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34523
34524 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34525 wxHAVE_XEXT_LIB=1
34526
34527 fi
34528
34529
34530 if test "$wxHAVE_XEXT_LIB" = 1; then
34531 save_CFLAGS="$CFLAGS"
34532 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34533
34534 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34535 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34536 cat >conftest.$ac_ext <<_ACEOF
34537 /* confdefs.h. */
34538 _ACEOF
34539 cat confdefs.h >>conftest.$ac_ext
34540 cat >>conftest.$ac_ext <<_ACEOF
34541 /* end confdefs.h. */
34542
34543 #include <X11/Xlib.h>
34544 #include <X11/extensions/shape.h>
34545
34546 int
34547 main ()
34548 {
34549
34550 int dummy1, dummy2;
34551 XShapeQueryExtension((Display*)NULL,
34552 (int*)NULL, (int*)NULL);
34553
34554 ;
34555 return 0;
34556 }
34557 _ACEOF
34558 rm -f conftest.$ac_objext
34559 if { (ac_try="$ac_compile"
34560 case "(($ac_try" in
34561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34562 *) ac_try_echo=$ac_try;;
34563 esac
34564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34565 (eval "$ac_compile") 2>conftest.er1
34566 ac_status=$?
34567 grep -v '^ *+' conftest.er1 >conftest.err
34568 rm -f conftest.er1
34569 cat conftest.err >&5
34570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34571 (exit $ac_status); } &&
34572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34573 { (case "(($ac_try" in
34574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34575 *) ac_try_echo=$ac_try;;
34576 esac
34577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34578 (eval "$ac_try") 2>&5
34579 ac_status=$?
34580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34581 (exit $ac_status); }; } &&
34582 { ac_try='test -s conftest.$ac_objext'
34583 { (case "(($ac_try" in
34584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34585 *) ac_try_echo=$ac_try;;
34586 esac
34587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34588 (eval "$ac_try") 2>&5
34589 ac_status=$?
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); }; }; then
34592
34593 cat >>confdefs.h <<\_ACEOF
34594 #define HAVE_XSHAPE 1
34595 _ACEOF
34596
34597 { echo "$as_me:$LINENO: result: found" >&5
34598 echo "${ECHO_T}found" >&6; }
34599
34600 else
34601 echo "$as_me: failed program was:" >&5
34602 sed 's/^/| /' conftest.$ac_ext >&5
34603
34604
34605 { echo "$as_me:$LINENO: result: not found" >&5
34606 echo "${ECHO_T}not found" >&6; }
34607
34608 fi
34609
34610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34611 CFLAGS="$save_CFLAGS"
34612
34613 fi
34614 fi
34615
34616 if test "$wxUSE_MAC" = 1; then
34617 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34618 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34619 if test "$GCC" = yes; then
34620 { echo "$as_me:$LINENO: result: gcc" >&5
34621 echo "${ECHO_T}gcc" >&6; }
34622 CPPFLAGS_PASCAL="-fpascal-strings"
34623 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34624 { echo "$as_me:$LINENO: result: xlc" >&5
34625 echo "${ECHO_T}xlc" >&6; }
34626 CPPFLAGS_PASCAL="-qmacpstr"
34627 else
34628 { echo "$as_me:$LINENO: result: none" >&5
34629 echo "${ECHO_T}none" >&6; }
34630 fi
34631
34632 if test "x$wxUSE_UNIX" = "xyes"; then
34633 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34634 else
34635 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34636 fi
34637
34638 TOOLKIT=MAC
34639 GUIDIST=MACX_DIST
34640 WXBASEPORT="_carbon"
34641 fi
34642
34643 if test "$wxUSE_COCOA" = 1; then
34644 TOOLKIT=COCOA
34645 GUIDIST=COCOA_DIST
34646 fi
34647
34648 if test "$wxUSE_PM" = 1; then
34649 TOOLKIT=PM
34650 GUIDIST=PM_DIST
34651 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34652 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34653 if test "${wx_cv_spbcdata+set}" = set; then
34654 echo $ECHO_N "(cached) $ECHO_C" >&6
34655 else
34656
34657 cat >conftest.$ac_ext <<_ACEOF
34658 /* confdefs.h. */
34659 _ACEOF
34660 cat confdefs.h >>conftest.$ac_ext
34661 cat >>conftest.$ac_ext <<_ACEOF
34662 /* end confdefs.h. */
34663
34664 #define INCL_PM
34665 #include <os2.h>
34666
34667 int
34668 main ()
34669 {
34670
34671 SPBCDATA test;
34672
34673 ;
34674 return 0;
34675 }
34676 _ACEOF
34677 rm -f conftest.$ac_objext
34678 if { (ac_try="$ac_compile"
34679 case "(($ac_try" in
34680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34681 *) ac_try_echo=$ac_try;;
34682 esac
34683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34684 (eval "$ac_compile") 2>conftest.er1
34685 ac_status=$?
34686 grep -v '^ *+' conftest.er1 >conftest.err
34687 rm -f conftest.er1
34688 cat conftest.err >&5
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); } &&
34691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34692 { (case "(($ac_try" in
34693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34694 *) ac_try_echo=$ac_try;;
34695 esac
34696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34697 (eval "$ac_try") 2>&5
34698 ac_status=$?
34699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34700 (exit $ac_status); }; } &&
34701 { ac_try='test -s conftest.$ac_objext'
34702 { (case "(($ac_try" in
34703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34704 *) ac_try_echo=$ac_try;;
34705 esac
34706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34707 (eval "$ac_try") 2>&5
34708 ac_status=$?
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); }; }; then
34711 wx_cv_spbcdata=yes
34712 else
34713 echo "$as_me: failed program was:" >&5
34714 sed 's/^/| /' conftest.$ac_ext >&5
34715
34716 wx_cv_spbcdata=no
34717
34718 fi
34719
34720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34721
34722
34723 fi
34724 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34725 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34726
34727 if test $wx_cv_spbcdata = "yes"; then
34728 cat >>confdefs.h <<\_ACEOF
34729 #define HAVE_SPBCDATA 1
34730 _ACEOF
34731
34732 fi
34733 fi
34734
34735 if test "$TOOLKIT" = "PM" ; then
34736 TOOLKIT_DIR="os2"
34737 else
34738 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34739 fi
34740
34741 if test "$wxUSE_UNIVERSAL" = "yes"; then
34742 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34743 WIDGET_SET=univ
34744 fi
34745
34746 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34747 DISTDIR="wx\$(TOOLKIT)"
34748 else
34749 USE_GUI=0
34750
34751 TOOLKIT_DIR="base"
34752
34753 if test "$USE_WIN32" = 1 ; then
34754 TOOLKIT="MSW"
34755 fi
34756
34757 GUIDIST="BASE_DIST"
34758 DISTDIR="wxBase"
34759 fi
34760
34761
34762 if test "$wxUSE_GUI" = "yes"; then
34763 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34764 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34765 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34766 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34767 echo $ECHO_N "(cached) $ECHO_C" >&6
34768 else
34769 cat >conftest.$ac_ext <<_ACEOF
34770 /* confdefs.h. */
34771 _ACEOF
34772 cat confdefs.h >>conftest.$ac_ext
34773 cat >>conftest.$ac_ext <<_ACEOF
34774 /* end confdefs.h. */
34775
34776
34777 #include <X11/Xlib.h>
34778 _ACEOF
34779 rm -f conftest.$ac_objext
34780 if { (ac_try="$ac_compile"
34781 case "(($ac_try" in
34782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34783 *) ac_try_echo=$ac_try;;
34784 esac
34785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34786 (eval "$ac_compile") 2>conftest.er1
34787 ac_status=$?
34788 grep -v '^ *+' conftest.er1 >conftest.err
34789 rm -f conftest.er1
34790 cat conftest.err >&5
34791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34792 (exit $ac_status); } &&
34793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34794 { (case "(($ac_try" in
34795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34796 *) ac_try_echo=$ac_try;;
34797 esac
34798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34799 (eval "$ac_try") 2>&5
34800 ac_status=$?
34801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34802 (exit $ac_status); }; } &&
34803 { ac_try='test -s conftest.$ac_objext'
34804 { (case "(($ac_try" in
34805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34806 *) ac_try_echo=$ac_try;;
34807 esac
34808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34809 (eval "$ac_try") 2>&5
34810 ac_status=$?
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); }; }; then
34813 ac_cv_header_X11_Xlib_h=yes
34814 else
34815 echo "$as_me: failed program was:" >&5
34816 sed 's/^/| /' conftest.$ac_ext >&5
34817
34818 ac_cv_header_X11_Xlib_h=no
34819 fi
34820
34821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34822 fi
34823 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34824 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34825
34826
34827 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
34828 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
34829 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
34830 echo $ECHO_N "(cached) $ECHO_C" >&6
34831 else
34832 cat >conftest.$ac_ext <<_ACEOF
34833 /* confdefs.h. */
34834 _ACEOF
34835 cat confdefs.h >>conftest.$ac_ext
34836 cat >>conftest.$ac_ext <<_ACEOF
34837 /* end confdefs.h. */
34838
34839 #if HAVE_X11_XLIB_H
34840 #include <X11/Xlib.h>
34841 #endif
34842
34843
34844 #include <X11/XKBlib.h>
34845 _ACEOF
34846 rm -f conftest.$ac_objext
34847 if { (ac_try="$ac_compile"
34848 case "(($ac_try" in
34849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34850 *) ac_try_echo=$ac_try;;
34851 esac
34852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34853 (eval "$ac_compile") 2>conftest.er1
34854 ac_status=$?
34855 grep -v '^ *+' conftest.er1 >conftest.err
34856 rm -f conftest.er1
34857 cat conftest.err >&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } &&
34860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34861 { (case "(($ac_try" in
34862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34863 *) ac_try_echo=$ac_try;;
34864 esac
34865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34866 (eval "$ac_try") 2>&5
34867 ac_status=$?
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); }; } &&
34870 { ac_try='test -s conftest.$ac_objext'
34871 { (case "(($ac_try" in
34872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34873 *) ac_try_echo=$ac_try;;
34874 esac
34875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34876 (eval "$ac_try") 2>&5
34877 ac_status=$?
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); }; }; then
34880 ac_cv_header_X11_XKBlib_h=yes
34881 else
34882 echo "$as_me: failed program was:" >&5
34883 sed 's/^/| /' conftest.$ac_ext >&5
34884
34885 ac_cv_header_X11_XKBlib_h=no
34886 fi
34887
34888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34889 fi
34890 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
34891 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
34892
34893
34894 fi
34895 fi
34896
34897
34898
34899 IODBC_C_SRC=""
34900
34901
34902 if test "$TOOLKIT" != "MSW" ; then
34903
34904 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34905
34906 { echo "$as_me:$LINENO: checking for sql.h" >&5
34907 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34908 if test "${ac_cv_header_sql_h+set}" = set; then
34909 echo $ECHO_N "(cached) $ECHO_C" >&6
34910 else
34911 cat >conftest.$ac_ext <<_ACEOF
34912 /* confdefs.h. */
34913 _ACEOF
34914 cat confdefs.h >>conftest.$ac_ext
34915 cat >>conftest.$ac_ext <<_ACEOF
34916 /* end confdefs.h. */
34917
34918
34919 #include <sql.h>
34920 _ACEOF
34921 rm -f conftest.$ac_objext
34922 if { (ac_try="$ac_compile"
34923 case "(($ac_try" in
34924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34925 *) ac_try_echo=$ac_try;;
34926 esac
34927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34928 (eval "$ac_compile") 2>conftest.er1
34929 ac_status=$?
34930 grep -v '^ *+' conftest.er1 >conftest.err
34931 rm -f conftest.er1
34932 cat conftest.err >&5
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); } &&
34935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34936 { (case "(($ac_try" in
34937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34938 *) ac_try_echo=$ac_try;;
34939 esac
34940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34941 (eval "$ac_try") 2>&5
34942 ac_status=$?
34943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34944 (exit $ac_status); }; } &&
34945 { ac_try='test -s conftest.$ac_objext'
34946 { (case "(($ac_try" in
34947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34948 *) ac_try_echo=$ac_try;;
34949 esac
34950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34951 (eval "$ac_try") 2>&5
34952 ac_status=$?
34953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34954 (exit $ac_status); }; }; then
34955 ac_cv_header_sql_h=yes
34956 else
34957 echo "$as_me: failed program was:" >&5
34958 sed 's/^/| /' conftest.$ac_ext >&5
34959
34960 ac_cv_header_sql_h=no
34961 fi
34962
34963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34964 fi
34965 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34966 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34967 if test $ac_cv_header_sql_h = yes; then
34968 found_sql_h=1
34969 fi
34970
34971
34972 if test "x$found_sql_h" = "x1" ; then
34973 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34974 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34975 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34976 echo $ECHO_N "(cached) $ECHO_C" >&6
34977 else
34978 ac_check_lib_save_LIBS=$LIBS
34979 LIBS="-liodbc $LIBS"
34980 cat >conftest.$ac_ext <<_ACEOF
34981 /* confdefs.h. */
34982 _ACEOF
34983 cat confdefs.h >>conftest.$ac_ext
34984 cat >>conftest.$ac_ext <<_ACEOF
34985 /* end confdefs.h. */
34986
34987 /* Override any GCC internal prototype to avoid an error.
34988 Use char because int might match the return type of a GCC
34989 builtin and then its argument prototype would still apply. */
34990 #ifdef __cplusplus
34991 extern "C"
34992 #endif
34993 char SQLAllocEnv ();
34994 int
34995 main ()
34996 {
34997 return SQLAllocEnv ();
34998 ;
34999 return 0;
35000 }
35001 _ACEOF
35002 rm -f conftest.$ac_objext conftest$ac_exeext
35003 if { (ac_try="$ac_link"
35004 case "(($ac_try" in
35005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35006 *) ac_try_echo=$ac_try;;
35007 esac
35008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35009 (eval "$ac_link") 2>conftest.er1
35010 ac_status=$?
35011 grep -v '^ *+' conftest.er1 >conftest.err
35012 rm -f conftest.er1
35013 cat conftest.err >&5
35014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35015 (exit $ac_status); } &&
35016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35017 { (case "(($ac_try" in
35018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35019 *) ac_try_echo=$ac_try;;
35020 esac
35021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35022 (eval "$ac_try") 2>&5
35023 ac_status=$?
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); }; } &&
35026 { ac_try='test -s conftest$ac_exeext'
35027 { (case "(($ac_try" in
35028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35029 *) ac_try_echo=$ac_try;;
35030 esac
35031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35032 (eval "$ac_try") 2>&5
35033 ac_status=$?
35034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35035 (exit $ac_status); }; }; then
35036 ac_cv_lib_iodbc_SQLAllocEnv=yes
35037 else
35038 echo "$as_me: failed program was:" >&5
35039 sed 's/^/| /' conftest.$ac_ext >&5
35040
35041 ac_cv_lib_iodbc_SQLAllocEnv=no
35042 fi
35043
35044 rm -f core conftest.err conftest.$ac_objext \
35045 conftest$ac_exeext conftest.$ac_ext
35046 LIBS=$ac_check_lib_save_LIBS
35047 fi
35048 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35049 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35050 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35051 ODBC_LINK=" -liodbc"
35052 else
35053
35054 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35055 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35056 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35057 echo $ECHO_N "(cached) $ECHO_C" >&6
35058 else
35059 ac_check_lib_save_LIBS=$LIBS
35060 LIBS="-lunixodbc $LIBS"
35061 cat >conftest.$ac_ext <<_ACEOF
35062 /* confdefs.h. */
35063 _ACEOF
35064 cat confdefs.h >>conftest.$ac_ext
35065 cat >>conftest.$ac_ext <<_ACEOF
35066 /* end confdefs.h. */
35067
35068 /* Override any GCC internal prototype to avoid an error.
35069 Use char because int might match the return type of a GCC
35070 builtin and then its argument prototype would still apply. */
35071 #ifdef __cplusplus
35072 extern "C"
35073 #endif
35074 char SQLAllocEnv ();
35075 int
35076 main ()
35077 {
35078 return SQLAllocEnv ();
35079 ;
35080 return 0;
35081 }
35082 _ACEOF
35083 rm -f conftest.$ac_objext conftest$ac_exeext
35084 if { (ac_try="$ac_link"
35085 case "(($ac_try" in
35086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35087 *) ac_try_echo=$ac_try;;
35088 esac
35089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35090 (eval "$ac_link") 2>conftest.er1
35091 ac_status=$?
35092 grep -v '^ *+' conftest.er1 >conftest.err
35093 rm -f conftest.er1
35094 cat conftest.err >&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); } &&
35097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35098 { (case "(($ac_try" in
35099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35100 *) ac_try_echo=$ac_try;;
35101 esac
35102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35103 (eval "$ac_try") 2>&5
35104 ac_status=$?
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); }; } &&
35107 { ac_try='test -s conftest$ac_exeext'
35108 { (case "(($ac_try" in
35109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35110 *) ac_try_echo=$ac_try;;
35111 esac
35112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35113 (eval "$ac_try") 2>&5
35114 ac_status=$?
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; }; then
35117 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35118 else
35119 echo "$as_me: failed program was:" >&5
35120 sed 's/^/| /' conftest.$ac_ext >&5
35121
35122 ac_cv_lib_unixodbc_SQLAllocEnv=no
35123 fi
35124
35125 rm -f core conftest.err conftest.$ac_objext \
35126 conftest$ac_exeext conftest.$ac_ext
35127 LIBS=$ac_check_lib_save_LIBS
35128 fi
35129 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35130 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35131 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35132 ODBC_LINK=" -lunixodbc"
35133 else
35134
35135 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35136 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35137 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35139 else
35140 ac_check_lib_save_LIBS=$LIBS
35141 LIBS="-lodbc $LIBS"
35142 cat >conftest.$ac_ext <<_ACEOF
35143 /* confdefs.h. */
35144 _ACEOF
35145 cat confdefs.h >>conftest.$ac_ext
35146 cat >>conftest.$ac_ext <<_ACEOF
35147 /* end confdefs.h. */
35148
35149 /* Override any GCC internal prototype to avoid an error.
35150 Use char because int might match the return type of a GCC
35151 builtin and then its argument prototype would still apply. */
35152 #ifdef __cplusplus
35153 extern "C"
35154 #endif
35155 char SQLAllocEnv ();
35156 int
35157 main ()
35158 {
35159 return SQLAllocEnv ();
35160 ;
35161 return 0;
35162 }
35163 _ACEOF
35164 rm -f conftest.$ac_objext conftest$ac_exeext
35165 if { (ac_try="$ac_link"
35166 case "(($ac_try" in
35167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35168 *) ac_try_echo=$ac_try;;
35169 esac
35170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35171 (eval "$ac_link") 2>conftest.er1
35172 ac_status=$?
35173 grep -v '^ *+' conftest.er1 >conftest.err
35174 rm -f conftest.er1
35175 cat conftest.err >&5
35176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35177 (exit $ac_status); } &&
35178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35179 { (case "(($ac_try" in
35180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35181 *) ac_try_echo=$ac_try;;
35182 esac
35183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35184 (eval "$ac_try") 2>&5
35185 ac_status=$?
35186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187 (exit $ac_status); }; } &&
35188 { ac_try='test -s conftest$ac_exeext'
35189 { (case "(($ac_try" in
35190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35191 *) ac_try_echo=$ac_try;;
35192 esac
35193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35194 (eval "$ac_try") 2>&5
35195 ac_status=$?
35196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197 (exit $ac_status); }; }; then
35198 ac_cv_lib_odbc_SQLAllocEnv=yes
35199 else
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.$ac_ext >&5
35202
35203 ac_cv_lib_odbc_SQLAllocEnv=no
35204 fi
35205
35206 rm -f core conftest.err conftest.$ac_objext \
35207 conftest$ac_exeext conftest.$ac_ext
35208 LIBS=$ac_check_lib_save_LIBS
35209 fi
35210 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35211 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35212 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35213 ODBC_LINK=" -lodbc"
35214 fi
35215
35216
35217 fi
35218
35219
35220 fi
35221
35222 fi
35223 if test "x$ODBC_LINK" = "x" ; then
35224 if test "$wxUSE_ODBC" = "sys" ; then
35225 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35226 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35227 { (exit 1); exit 1; }; }
35228 else
35229 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35230 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35231 wxUSE_ODBC=builtin
35232 fi
35233 else
35234 wxUSE_ODBC=sys
35235 fi
35236 fi
35237
35238 if test "$wxUSE_ODBC" = "builtin" ; then
35239 cat >>confdefs.h <<\_ACEOF
35240 #define wxUSE_BUILTIN_IODBC 1
35241 _ACEOF
35242
35243 fi
35244 fi
35245
35246 if test "$wxUSE_ODBC" != "no" ; then
35247 cat >>confdefs.h <<\_ACEOF
35248 #define wxUSE_ODBC 1
35249 _ACEOF
35250
35251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35252
35253 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35254 fi
35255
35256
35257 if test "$wxUSE_DISPLAY" = "yes"; then
35258 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35259 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35260 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35261
35262 ac_find_libraries=
35263 for ac_dir in $SEARCH_LIB;
35264 do
35265 for ac_extension in a so sl dylib dll.a; do
35266 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35267 ac_find_libraries=$ac_dir
35268 break 2
35269 fi
35270 done
35271 done
35272
35273 if test "$ac_find_libraries" != "" ; then
35274
35275 if test "$ac_find_libraries" = "default location"; then
35276 ac_path_to_link=""
35277 else
35278 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35279 result=$?
35280 if test $result = 0; then
35281 ac_path_to_link=""
35282 else
35283 ac_path_to_link=" -L$ac_find_libraries"
35284 fi
35285 fi
35286
35287 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35288 LDFLAGS="$LDFLAGS $ac_path_to_link"
35289 fi
35290 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35291 { echo "$as_me:$LINENO: result: yes" >&5
35292 echo "${ECHO_T}yes" >&6; }
35293
35294 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35295 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35296
35297 ac_find_libraries=
35298 for ac_dir in $SEARCH_LIB;
35299 do
35300 for ac_extension in a so sl dylib dll.a; do
35301 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35302 ac_find_libraries=$ac_dir
35303 break 2
35304 fi
35305 done
35306 done
35307
35308 if test "$ac_find_libraries" != "" ; then
35309 { echo "$as_me:$LINENO: result: yes" >&5
35310 echo "${ECHO_T}yes" >&6; }
35311 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
35312 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
35313 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
35314 echo $ECHO_N "(cached) $ECHO_C" >&6
35315 else
35316 cat >conftest.$ac_ext <<_ACEOF
35317 /* confdefs.h. */
35318 _ACEOF
35319 cat confdefs.h >>conftest.$ac_ext
35320 cat >>conftest.$ac_ext <<_ACEOF
35321 /* end confdefs.h. */
35322
35323 #if HAVE_X11_XLIB_H
35324 #include <X11/Xlib.h>
35325 #endif
35326
35327
35328 #include <X11/extensions/xf86vmode.h>
35329 _ACEOF
35330 rm -f conftest.$ac_objext
35331 if { (ac_try="$ac_compile"
35332 case "(($ac_try" in
35333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35334 *) ac_try_echo=$ac_try;;
35335 esac
35336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35337 (eval "$ac_compile") 2>conftest.er1
35338 ac_status=$?
35339 grep -v '^ *+' conftest.er1 >conftest.err
35340 rm -f conftest.er1
35341 cat conftest.err >&5
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); } &&
35344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35345 { (case "(($ac_try" in
35346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35347 *) ac_try_echo=$ac_try;;
35348 esac
35349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35350 (eval "$ac_try") 2>&5
35351 ac_status=$?
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); }; } &&
35354 { ac_try='test -s conftest.$ac_objext'
35355 { (case "(($ac_try" in
35356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35357 *) ac_try_echo=$ac_try;;
35358 esac
35359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35360 (eval "$ac_try") 2>&5
35361 ac_status=$?
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); }; }; then
35364 ac_cv_header_X11_extensions_xf86vmode_h=yes
35365 else
35366 echo "$as_me: failed program was:" >&5
35367 sed 's/^/| /' conftest.$ac_ext >&5
35368
35369 ac_cv_header_X11_extensions_xf86vmode_h=no
35370 fi
35371
35372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35373 fi
35374 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
35375 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
35376 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
35377
35378 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35379
35380 fi
35381
35382
35383 else
35384 { echo "$as_me:$LINENO: result: no" >&5
35385 echo "${ECHO_T}no" >&6; }
35386 fi
35387
35388 else
35389 { echo "$as_me:$LINENO: result: no" >&5
35390 echo "${ECHO_T}no" >&6; }
35391 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35392 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35393 wxUSE_DISPLAY="no"
35394 fi
35395 elif test "$wxUSE_MSW" = 1; then
35396 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35397 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35398 if test "${ac_cv_header_ddraw_h+set}" = set; then
35399 echo $ECHO_N "(cached) $ECHO_C" >&6
35400 else
35401 cat >conftest.$ac_ext <<_ACEOF
35402 /* confdefs.h. */
35403 _ACEOF
35404 cat confdefs.h >>conftest.$ac_ext
35405 cat >>conftest.$ac_ext <<_ACEOF
35406 /* end confdefs.h. */
35407 #include <windows.h>
35408
35409 #include <ddraw.h>
35410 _ACEOF
35411 rm -f conftest.$ac_objext
35412 if { (ac_try="$ac_compile"
35413 case "(($ac_try" in
35414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35415 *) ac_try_echo=$ac_try;;
35416 esac
35417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35418 (eval "$ac_compile") 2>conftest.er1
35419 ac_status=$?
35420 grep -v '^ *+' conftest.er1 >conftest.err
35421 rm -f conftest.er1
35422 cat conftest.err >&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); } &&
35425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35426 { (case "(($ac_try" in
35427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35428 *) ac_try_echo=$ac_try;;
35429 esac
35430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35431 (eval "$ac_try") 2>&5
35432 ac_status=$?
35433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35434 (exit $ac_status); }; } &&
35435 { ac_try='test -s conftest.$ac_objext'
35436 { (case "(($ac_try" in
35437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35438 *) ac_try_echo=$ac_try;;
35439 esac
35440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35441 (eval "$ac_try") 2>&5
35442 ac_status=$?
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; }; then
35445 ac_cv_header_ddraw_h=yes
35446 else
35447 echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.$ac_ext >&5
35449
35450 ac_cv_header_ddraw_h=no
35451 fi
35452
35453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35454 fi
35455 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35456 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35457
35458
35459 fi
35460 fi
35461
35462 if test "$wxUSE_DETECT_SM" = "yes"; then
35463 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35464 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35465 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35466
35467 ac_find_libraries=
35468 for ac_dir in $SEARCH_LIB;
35469 do
35470 for ac_extension in a so sl dylib dll.a; do
35471 if test -f "$ac_dir/libSM.$ac_extension"; then
35472 ac_find_libraries=$ac_dir
35473 break 2
35474 fi
35475 done
35476 done
35477
35478 if test "$ac_find_libraries" != "" ; then
35479
35480 if test "$ac_find_libraries" = "default location"; then
35481 ac_path_to_link=""
35482 else
35483 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35484 result=$?
35485 if test $result = 0; then
35486 ac_path_to_link=""
35487 else
35488 ac_path_to_link=" -L$ac_find_libraries"
35489 fi
35490 fi
35491
35492 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35493 LDFLAGS="$LDFLAGS $ac_path_to_link"
35494 fi
35495 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35496 { echo "$as_me:$LINENO: result: yes" >&5
35497 echo "${ECHO_T}yes" >&6; }
35498 else
35499 { echo "$as_me:$LINENO: result: no" >&5
35500 echo "${ECHO_T}no" >&6; }
35501 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35502 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35503 wxUSE_DETECT_SM="no"
35504 fi
35505 else
35506 wxUSE_DETECT_SM="no"
35507 fi
35508 fi
35509
35510
35511
35512 USE_OPENGL=0
35513 if test "$wxUSE_OPENGL" = "yes"; then
35514 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35515 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35516 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35517 wxUSE_OPENGL="no"
35518 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35519 OPENGL_LIBS="-framework OpenGL -framework AGL"
35520 elif test "$wxUSE_MSW" = 1; then
35521 OPENGL_LIBS="-lopengl32 -lglu32"
35522 else
35523 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35524 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35525
35526 ac_find_includes=
35527 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35528 do
35529 if test -f "$ac_dir/GL/gl.h"; then
35530 ac_find_includes=$ac_dir
35531 break
35532 fi
35533 done
35534
35535 if test "$ac_find_includes" != "" ; then
35536 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35537 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35538
35539 if test "x$ac_find_includes" = "x/usr/include"; then
35540 ac_path_to_include=""
35541 else
35542 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35543 result=$?
35544 if test $result = 0; then
35545 ac_path_to_include=""
35546 else
35547 ac_path_to_include=" -I$ac_find_includes"
35548 fi
35549 fi
35550
35551 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35552 else
35553 { echo "$as_me:$LINENO: result: not found" >&5
35554 echo "${ECHO_T}not found" >&6; }
35555 fi
35556
35557 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35558 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35559 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35560 echo $ECHO_N "(cached) $ECHO_C" >&6
35561 else
35562 cat >conftest.$ac_ext <<_ACEOF
35563 /* confdefs.h. */
35564 _ACEOF
35565 cat confdefs.h >>conftest.$ac_ext
35566 cat >>conftest.$ac_ext <<_ACEOF
35567 /* end confdefs.h. */
35568
35569
35570 #include <GL/gl.h>
35571 _ACEOF
35572 rm -f conftest.$ac_objext
35573 if { (ac_try="$ac_compile"
35574 case "(($ac_try" in
35575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35576 *) ac_try_echo=$ac_try;;
35577 esac
35578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35579 (eval "$ac_compile") 2>conftest.er1
35580 ac_status=$?
35581 grep -v '^ *+' conftest.er1 >conftest.err
35582 rm -f conftest.er1
35583 cat conftest.err >&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); } &&
35586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35587 { (case "(($ac_try" in
35588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35589 *) ac_try_echo=$ac_try;;
35590 esac
35591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35592 (eval "$ac_try") 2>&5
35593 ac_status=$?
35594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35595 (exit $ac_status); }; } &&
35596 { ac_try='test -s conftest.$ac_objext'
35597 { (case "(($ac_try" in
35598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35599 *) ac_try_echo=$ac_try;;
35600 esac
35601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35602 (eval "$ac_try") 2>&5
35603 ac_status=$?
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); }; }; then
35606 ac_cv_header_GL_gl_h=yes
35607 else
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.$ac_ext >&5
35610
35611 ac_cv_header_GL_gl_h=no
35612 fi
35613
35614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35615 fi
35616 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35617 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35618 if test $ac_cv_header_GL_gl_h = yes; then
35619
35620 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35621 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35622 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35623 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35624 echo $ECHO_N "(cached) $ECHO_C" >&6
35625 fi
35626 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35627 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35628 else
35629 # Is the header compilable?
35630 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35631 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35632 cat >conftest.$ac_ext <<_ACEOF
35633 /* confdefs.h. */
35634 _ACEOF
35635 cat confdefs.h >>conftest.$ac_ext
35636 cat >>conftest.$ac_ext <<_ACEOF
35637 /* end confdefs.h. */
35638 $ac_includes_default
35639 #include <GL/glu.h>
35640 _ACEOF
35641 rm -f conftest.$ac_objext
35642 if { (ac_try="$ac_compile"
35643 case "(($ac_try" in
35644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35645 *) ac_try_echo=$ac_try;;
35646 esac
35647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35648 (eval "$ac_compile") 2>conftest.er1
35649 ac_status=$?
35650 grep -v '^ *+' conftest.er1 >conftest.err
35651 rm -f conftest.er1
35652 cat conftest.err >&5
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); } &&
35655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35656 { (case "(($ac_try" in
35657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35658 *) ac_try_echo=$ac_try;;
35659 esac
35660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35661 (eval "$ac_try") 2>&5
35662 ac_status=$?
35663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35664 (exit $ac_status); }; } &&
35665 { ac_try='test -s conftest.$ac_objext'
35666 { (case "(($ac_try" in
35667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35668 *) ac_try_echo=$ac_try;;
35669 esac
35670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35671 (eval "$ac_try") 2>&5
35672 ac_status=$?
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); }; }; then
35675 ac_header_compiler=yes
35676 else
35677 echo "$as_me: failed program was:" >&5
35678 sed 's/^/| /' conftest.$ac_ext >&5
35679
35680 ac_header_compiler=no
35681 fi
35682
35683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35684 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35685 echo "${ECHO_T}$ac_header_compiler" >&6; }
35686
35687 # Is the header present?
35688 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35689 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35690 cat >conftest.$ac_ext <<_ACEOF
35691 /* confdefs.h. */
35692 _ACEOF
35693 cat confdefs.h >>conftest.$ac_ext
35694 cat >>conftest.$ac_ext <<_ACEOF
35695 /* end confdefs.h. */
35696 #include <GL/glu.h>
35697 _ACEOF
35698 if { (ac_try="$ac_cpp conftest.$ac_ext"
35699 case "(($ac_try" in
35700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35701 *) ac_try_echo=$ac_try;;
35702 esac
35703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35704 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35705 ac_status=$?
35706 grep -v '^ *+' conftest.er1 >conftest.err
35707 rm -f conftest.er1
35708 cat conftest.err >&5
35709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35710 (exit $ac_status); } >/dev/null; then
35711 if test -s conftest.err; then
35712 ac_cpp_err=$ac_c_preproc_warn_flag
35713 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35714 else
35715 ac_cpp_err=
35716 fi
35717 else
35718 ac_cpp_err=yes
35719 fi
35720 if test -z "$ac_cpp_err"; then
35721 ac_header_preproc=yes
35722 else
35723 echo "$as_me: failed program was:" >&5
35724 sed 's/^/| /' conftest.$ac_ext >&5
35725
35726 ac_header_preproc=no
35727 fi
35728
35729 rm -f conftest.err conftest.$ac_ext
35730 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35731 echo "${ECHO_T}$ac_header_preproc" >&6; }
35732
35733 # So? What about this header?
35734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35735 yes:no: )
35736 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35737 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35738 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35739 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35740 ac_header_preproc=yes
35741 ;;
35742 no:yes:* )
35743 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35744 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35745 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35746 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35747 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35748 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35749 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35750 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35751 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35752 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35753 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35754 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35755 ( cat <<\_ASBOX
35756 ## ----------------------------------------- ##
35757 ## Report this to wx-dev@lists.wxwidgets.org ##
35758 ## ----------------------------------------- ##
35759 _ASBOX
35760 ) | sed "s/^/$as_me: WARNING: /" >&2
35761 ;;
35762 esac
35763 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35764 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35765 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35766 echo $ECHO_N "(cached) $ECHO_C" >&6
35767 else
35768 ac_cv_header_GL_glu_h=$ac_header_preproc
35769 fi
35770 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35771 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35772
35773 fi
35774 if test $ac_cv_header_GL_glu_h = yes; then
35775
35776 found_gl=0
35777
35778 { echo "$as_me:$LINENO: checking for -lGL" >&5
35779 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35780
35781 ac_find_libraries=
35782 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35783 do
35784 for ac_extension in a so sl dylib dll.a; do
35785 if test -f "$ac_dir/libGL.$ac_extension"; then
35786 ac_find_libraries=$ac_dir
35787 break 2
35788 fi
35789 done
35790 done
35791
35792 if test "$ac_find_libraries" != "" ; then
35793 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35794 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35795
35796
35797 if test "$ac_find_libraries" = "default location"; then
35798 ac_path_to_link=""
35799 else
35800 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35801 result=$?
35802 if test $result = 0; then
35803 ac_path_to_link=""
35804 else
35805 ac_path_to_link=" -L$ac_find_libraries"
35806 fi
35807 fi
35808
35809 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35810 LDFLAGS_GL="$ac_path_to_link"
35811 fi
35812
35813 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35814 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35815
35816 ac_find_libraries=
35817 for ac_dir in $SEARCH_LIB;
35818 do
35819 for ac_extension in a so sl dylib dll.a; do
35820 if test -f "$ac_dir/libGLU.$ac_extension"; then
35821 ac_find_libraries=$ac_dir
35822 break 2
35823 fi
35824 done
35825 done
35826
35827 if test "$ac_find_libraries" != "" ; then
35828
35829 if test "$ac_find_libraries" = "default location"; then
35830 ac_path_to_link=""
35831 else
35832 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35833 result=$?
35834 if test $result = 0; then
35835 ac_path_to_link=""
35836 else
35837 ac_path_to_link=" -L$ac_find_libraries"
35838 fi
35839 fi
35840
35841 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35842 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35843 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35844 fi
35845
35846 found_gl=1
35847 OPENGL_LIBS="-lGL -lGLU"
35848 { echo "$as_me:$LINENO: result: yes" >&5
35849 echo "${ECHO_T}yes" >&6; }
35850 else
35851 { echo "$as_me:$LINENO: result: no" >&5
35852 echo "${ECHO_T}no" >&6; }
35853 fi
35854 else
35855 { echo "$as_me:$LINENO: result: no" >&5
35856 echo "${ECHO_T}no" >&6; }
35857 fi
35858
35859 if test "$found_gl" != 1; then
35860 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35861 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35862
35863 ac_find_libraries=
35864 for ac_dir in $SEARCH_LIB;
35865 do
35866 for ac_extension in a so sl dylib dll.a; do
35867 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35868 ac_find_libraries=$ac_dir
35869 break 2
35870 fi
35871 done
35872 done
35873
35874 if test "$ac_find_libraries" != "" ; then
35875
35876 if test "$ac_find_libraries" = "default location"; then
35877 ac_path_to_link=""
35878 else
35879 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35880 result=$?
35881 if test $result = 0; then
35882 ac_path_to_link=""
35883 else
35884 ac_path_to_link=" -L$ac_find_libraries"
35885 fi
35886 fi
35887
35888 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35889 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35890 { echo "$as_me:$LINENO: result: yes" >&5
35891 echo "${ECHO_T}yes" >&6; }
35892 else
35893 { echo "$as_me:$LINENO: result: no" >&5
35894 echo "${ECHO_T}no" >&6; }
35895 fi
35896 fi
35897
35898 fi
35899
35900
35901
35902 fi
35903
35904
35905
35906 if test "x$OPENGL_LIBS" = "x"; then
35907 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35908 echo "$as_me: error: OpenGL libraries not available" >&2;}
35909 { (exit 1); exit 1; }; }
35910 fi
35911 fi
35912
35913 if test "$wxUSE_OPENGL" = "yes"; then
35914 USE_OPENGL=1
35915 cat >>confdefs.h <<\_ACEOF
35916 #define wxUSE_OPENGL 1
35917 _ACEOF
35918
35919 cat >>confdefs.h <<\_ACEOF
35920 #define wxUSE_GLCANVAS 1
35921 _ACEOF
35922
35923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35924 fi
35925 fi
35926
35927
35928 if test -n "$TOOLKIT" ; then
35929 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35930 fi
35931
35932
35933
35934 if test "$wxUSE_SHARED" = "yes"; then
35935 case "${host}" in
35936 *-pc-msdosdjgpp )
35937 wxUSE_SHARED=no
35938 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35939 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35940 ;;
35941 esac
35942 fi
35943
35944 if test "$wxUSE_SHARED" = "yes"; then
35945
35946
35947 case "${host}" in
35948 *-*-cygwin* | *-*-mingw* )
35949 wx_cv_version_script=no
35950 ;;
35951
35952 *)
35953 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35954 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35955 if test "${wx_cv_version_script+set}" = set; then
35956 echo $ECHO_N "(cached) $ECHO_C" >&6
35957 else
35958
35959 echo "VER_1 { *; };" >conftest.sym
35960 echo "int main() { return 0; }" >conftest.cpp
35961
35962 if { ac_try='
35963 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35964 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35966 (eval $ac_try) 2>&5
35967 ac_status=$?
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); }; } ; then
35970 if test -s conftest.stderr ; then
35971 wx_cv_version_script=no
35972 else
35973 wx_cv_version_script=yes
35974 fi
35975 else
35976 wx_cv_version_script=no
35977 fi
35978
35979 if test $wx_cv_version_script = yes
35980 then
35981 echo "struct B { virtual ~B() { } }; \
35982 struct D : public B { }; \
35983 void F() { D d; }" > conftest.cpp
35984
35985 if { ac_try='
35986 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35987 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35989 (eval $ac_try) 2>&5
35990 ac_status=$?
35991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35992 (exit $ac_status); }; } &&
35993 { ac_try='
35994 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35995 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35997 (eval $ac_try) 2>&5
35998 ac_status=$?
35999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36000 (exit $ac_status); }; }
36001 then
36002 if { ac_try='
36003 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36004 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36006 (eval $ac_try) 2>&5
36007 ac_status=$?
36008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36009 (exit $ac_status); }; }
36010 then
36011 wx_cv_version_script=yes
36012 else
36013 wx_cv_version_script=no
36014 fi
36015 fi
36016 fi
36017
36018 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36019 rm -f conftest1.output conftest2.output conftest3.output
36020
36021 fi
36022 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36023 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36024
36025 if test $wx_cv_version_script = yes ; then
36026 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36027 fi
36028 ;;
36029 esac
36030
36031
36032 case "${host}" in
36033 *-*-linux* | *-*-gnu* )
36034 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36035 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36036 ;;
36037
36038 *-*-solaris2* )
36039 if test "$GCC" = yes ; then
36040 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36041
36042 saveLdflags="$LDFLAGS"
36043 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36044 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36045 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36046 cat >conftest.$ac_ext <<_ACEOF
36047 /* confdefs.h. */
36048 _ACEOF
36049 cat confdefs.h >>conftest.$ac_ext
36050 cat >>conftest.$ac_ext <<_ACEOF
36051 /* end confdefs.h. */
36052
36053 int
36054 main ()
36055 {
36056
36057 ;
36058 return 0;
36059 }
36060 _ACEOF
36061 rm -f conftest.$ac_objext conftest$ac_exeext
36062 if { (ac_try="$ac_link"
36063 case "(($ac_try" in
36064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36065 *) ac_try_echo=$ac_try;;
36066 esac
36067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36068 (eval "$ac_link") 2>conftest.er1
36069 ac_status=$?
36070 grep -v '^ *+' conftest.er1 >conftest.err
36071 rm -f conftest.er1
36072 cat conftest.err >&5
36073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36074 (exit $ac_status); } &&
36075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36076 { (case "(($ac_try" in
36077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36078 *) ac_try_echo=$ac_try;;
36079 esac
36080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36081 (eval "$ac_try") 2>&5
36082 ac_status=$?
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); }; } &&
36085 { ac_try='test -s conftest$ac_exeext'
36086 { (case "(($ac_try" in
36087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36088 *) ac_try_echo=$ac_try;;
36089 esac
36090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36091 (eval "$ac_try") 2>&5
36092 ac_status=$?
36093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36094 (exit $ac_status); }; }; then
36095
36096 { echo "$as_me:$LINENO: result: yes" >&5
36097 echo "${ECHO_T}yes" >&6; }
36098 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36099 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36100
36101 else
36102 echo "$as_me: failed program was:" >&5
36103 sed 's/^/| /' conftest.$ac_ext >&5
36104
36105
36106 { echo "$as_me:$LINENO: result: no" >&5
36107 echo "${ECHO_T}no" >&6; }
36108 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36109 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36110 LDFLAGS="$saveLdflags -Wl,-R,/"
36111 cat >conftest.$ac_ext <<_ACEOF
36112 /* confdefs.h. */
36113 _ACEOF
36114 cat confdefs.h >>conftest.$ac_ext
36115 cat >>conftest.$ac_ext <<_ACEOF
36116 /* end confdefs.h. */
36117
36118 int
36119 main ()
36120 {
36121
36122 ;
36123 return 0;
36124 }
36125 _ACEOF
36126 rm -f conftest.$ac_objext conftest$ac_exeext
36127 if { (ac_try="$ac_link"
36128 case "(($ac_try" in
36129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36130 *) ac_try_echo=$ac_try;;
36131 esac
36132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36133 (eval "$ac_link") 2>conftest.er1
36134 ac_status=$?
36135 grep -v '^ *+' conftest.er1 >conftest.err
36136 rm -f conftest.er1
36137 cat conftest.err >&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); } &&
36140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36141 { (case "(($ac_try" in
36142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36143 *) ac_try_echo=$ac_try;;
36144 esac
36145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36146 (eval "$ac_try") 2>&5
36147 ac_status=$?
36148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36149 (exit $ac_status); }; } &&
36150 { ac_try='test -s conftest$ac_exeext'
36151 { (case "(($ac_try" in
36152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36153 *) ac_try_echo=$ac_try;;
36154 esac
36155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36156 (eval "$ac_try") 2>&5
36157 ac_status=$?
36158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159 (exit $ac_status); }; }; then
36160
36161 { echo "$as_me:$LINENO: result: yes" >&5
36162 echo "${ECHO_T}yes" >&6; }
36163 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36164 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36165
36166 else
36167 echo "$as_me: failed program was:" >&5
36168 sed 's/^/| /' conftest.$ac_ext >&5
36169
36170
36171 { echo "$as_me:$LINENO: result: no" >&5
36172 echo "${ECHO_T}no" >&6; }
36173
36174 fi
36175
36176 rm -f core conftest.err conftest.$ac_objext \
36177 conftest$ac_exeext conftest.$ac_ext
36178
36179 fi
36180
36181 rm -f core conftest.err conftest.$ac_objext \
36182 conftest$ac_exeext conftest.$ac_ext
36183 LDFLAGS="$saveLdflags"
36184 else
36185 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36186 WXCONFIG_RPATH="-R\$libdir"
36187 fi
36188 ;;
36189
36190 *-*-darwin* )
36191 install_name_tool=`which install_name_tool`
36192 if test "$install_name_tool" -a -x "$install_name_tool"; then
36193 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36194 cat <<EOF >change-install-names
36195 #!/bin/sh
36196 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36197 inst_cmd="install_name_tool "
36198 for i in \${libnames} ; do
36199 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36200 done
36201 \${inst_cmd} \${3}
36202 EOF
36203 chmod +x change-install-names
36204 fi
36205 ;;
36206
36207 *-*-cygwin* | *-*-mingw32* )
36208 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36209 ;;
36210
36211 *-*-hpux* )
36212 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36213 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36214 ;;
36215
36216 esac
36217
36218 if test $wxUSE_RPATH = "no"; then
36219 SAMPLES_RPATH_FLAG=''
36220 SAMPLES_RPATH_POSTLINK=''
36221 WXCONFIG_RPATH=''
36222 fi
36223
36224 SHARED=1
36225
36226 else
36227
36228 config_linkage_component="-static"
36229 SHARED=0
36230
36231 fi
36232
36233
36234 UNICODE=0
36235 lib_unicode_suffix=
36236 WX_CHARTYPE="ansi"
36237 if test "$wxUSE_UNICODE" = "yes"; then
36238 lib_unicode_suffix=u
36239 WX_CHARTYPE="unicode"
36240 UNICODE=1
36241 fi
36242
36243 lib_debug_suffix=
36244 WX_DEBUGTYPE="release"
36245 DEBUG_FLAG=0
36246 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36247 lib_debug_suffix=d
36248 WX_DEBUGTYPE="debug"
36249 DEBUG_FLAG=1
36250 fi
36251
36252 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36253 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36254
36255 DEBUG_INFO=0
36256 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36257 DEBUG_INFO=1
36258 fi
36259
36260 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36261
36262 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36263
36264 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36265
36266 if test "$cross_compiling" = "yes"; then
36267 HOST_SUFFIX="-$host_alias"
36268 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36269 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36270 fi
36271
36272 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36273 if test "${TOOLKIT_DIR}" = "os2"; then
36274 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36275 else
36276 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36277 fi
36278
36279
36280
36281 if test "$wxUSE_COCOA" = 1; then
36282
36283 ac_ext=c
36284 ac_cpp='$CPP $CPPFLAGS'
36285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36288
36289 ac_ext=m
36290
36291 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36292 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36293 cat >conftest.$ac_ext <<_ACEOF
36294 /* confdefs.h. */
36295 _ACEOF
36296 cat confdefs.h >>conftest.$ac_ext
36297 cat >>conftest.$ac_ext <<_ACEOF
36298 /* end confdefs.h. */
36299 #include <AppKit/NSEvent.h>
36300 #include <CoreFoundation/CoreFoundation.h>
36301
36302 int
36303 main ()
36304 {
36305
36306 ;
36307 return 0;
36308 }
36309 _ACEOF
36310 rm -f conftest.$ac_objext
36311 if { (ac_try="$ac_compile"
36312 case "(($ac_try" in
36313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36314 *) ac_try_echo=$ac_try;;
36315 esac
36316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36317 (eval "$ac_compile") 2>conftest.er1
36318 ac_status=$?
36319 grep -v '^ *+' conftest.er1 >conftest.err
36320 rm -f conftest.er1
36321 cat conftest.err >&5
36322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36323 (exit $ac_status); } &&
36324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36325 { (case "(($ac_try" in
36326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36327 *) ac_try_echo=$ac_try;;
36328 esac
36329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36330 (eval "$ac_try") 2>&5
36331 ac_status=$?
36332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36333 (exit $ac_status); }; } &&
36334 { ac_try='test -s conftest.$ac_objext'
36335 { (case "(($ac_try" in
36336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36337 *) ac_try_echo=$ac_try;;
36338 esac
36339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36340 (eval "$ac_try") 2>&5
36341 ac_status=$?
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); }; }; then
36344 { echo "$as_me:$LINENO: result: no" >&5
36345 echo "${ECHO_T}no" >&6; }
36346 else
36347 echo "$as_me: failed program was:" >&5
36348 sed 's/^/| /' conftest.$ac_ext >&5
36349
36350 { echo "$as_me:$LINENO: result: yes" >&5
36351 echo "${ECHO_T}yes" >&6; }
36352 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36353 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36354 cat >conftest.$ac_ext <<_ACEOF
36355 /* confdefs.h. */
36356 _ACEOF
36357 cat confdefs.h >>conftest.$ac_ext
36358 cat >>conftest.$ac_ext <<_ACEOF
36359 /* end confdefs.h. */
36360 #define __Point__ 1
36361 #include <AppKit/NSEvent.h>
36362 #include <CoreFoundation/CoreFoundation.h>
36363
36364 int
36365 main ()
36366 {
36367
36368 ;
36369 return 0;
36370 }
36371 _ACEOF
36372 rm -f conftest.$ac_objext
36373 if { (ac_try="$ac_compile"
36374 case "(($ac_try" in
36375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36376 *) ac_try_echo=$ac_try;;
36377 esac
36378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36379 (eval "$ac_compile") 2>conftest.er1
36380 ac_status=$?
36381 grep -v '^ *+' conftest.er1 >conftest.err
36382 rm -f conftest.er1
36383 cat conftest.err >&5
36384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36385 (exit $ac_status); } &&
36386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36387 { (case "(($ac_try" in
36388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36389 *) ac_try_echo=$ac_try;;
36390 esac
36391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36392 (eval "$ac_try") 2>&5
36393 ac_status=$?
36394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36395 (exit $ac_status); }; } &&
36396 { ac_try='test -s conftest.$ac_objext'
36397 { (case "(($ac_try" in
36398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36399 *) ac_try_echo=$ac_try;;
36400 esac
36401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36402 (eval "$ac_try") 2>&5
36403 ac_status=$?
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); }; }; then
36406 { echo "$as_me:$LINENO: result: yes" >&5
36407 echo "${ECHO_T}yes" >&6; }
36408 cat >>confdefs.h <<\_ACEOF
36409 #define __Point__ 1
36410 _ACEOF
36411
36412
36413 else
36414 echo "$as_me: failed program was:" >&5
36415 sed 's/^/| /' conftest.$ac_ext >&5
36416
36417 { { echo "$as_me:$LINENO: error: no
36418 See \`config.log' for more details." >&5
36419 echo "$as_me: error: no
36420 See \`config.log' for more details." >&2;}
36421 { (exit 1); exit 1; }; }
36422
36423 fi
36424
36425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36426
36427 fi
36428
36429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36430 ac_ext=c
36431 ac_cpp='$CPP $CPPFLAGS'
36432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36435
36436 fi
36437
36438 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36439 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36440 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36441
36442 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36443
36444 # Extract the first word of "Rez", so it can be a program name with args.
36445 set dummy Rez; ac_word=$2
36446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36448 if test "${ac_cv_prog_REZ+set}" = set; then
36449 echo $ECHO_N "(cached) $ECHO_C" >&6
36450 else
36451 if test -n "$REZ"; then
36452 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36453 else
36454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36455 for as_dir in $PATH
36456 do
36457 IFS=$as_save_IFS
36458 test -z "$as_dir" && as_dir=.
36459 for ac_exec_ext in '' $ac_executable_extensions; do
36460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
36461 ac_cv_prog_REZ="Rez"
36462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36463 break 2
36464 fi
36465 done
36466 done
36467 IFS=$as_save_IFS
36468
36469 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36470 fi
36471 fi
36472 REZ=$ac_cv_prog_REZ
36473 if test -n "$REZ"; then
36474 { echo "$as_me:$LINENO: result: $REZ" >&5
36475 echo "${ECHO_T}$REZ" >&6; }
36476 else
36477 { echo "$as_me:$LINENO: result: no" >&5
36478 echo "${ECHO_T}no" >&6; }
36479 fi
36480
36481
36482 # Extract the first word of "DeRez", so it can be a program name with args.
36483 set dummy DeRez; ac_word=$2
36484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36486 if test "${ac_cv_prog_DEREZ+set}" = set; then
36487 echo $ECHO_N "(cached) $ECHO_C" >&6
36488 else
36489 if test -n "$DEREZ"; then
36490 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36491 else
36492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36493 for as_dir in $PATH
36494 do
36495 IFS=$as_save_IFS
36496 test -z "$as_dir" && as_dir=.
36497 for ac_exec_ext in '' $ac_executable_extensions; do
36498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
36499 ac_cv_prog_DEREZ="DeRez"
36500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36501 break 2
36502 fi
36503 done
36504 done
36505 IFS=$as_save_IFS
36506
36507 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36508 fi
36509 fi
36510 DEREZ=$ac_cv_prog_DEREZ
36511 if test -n "$DEREZ"; then
36512 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36513 echo "${ECHO_T}$DEREZ" >&6; }
36514 else
36515 { echo "$as_me:$LINENO: result: no" >&5
36516 echo "${ECHO_T}no" >&6; }
36517 fi
36518
36519
36520 # Extract the first word of "SetFile", so it can be a program name with args.
36521 set dummy SetFile; ac_word=$2
36522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36524 if test "${ac_cv_prog_SETFILE+set}" = set; then
36525 echo $ECHO_N "(cached) $ECHO_C" >&6
36526 else
36527 if test -n "$SETFILE"; then
36528 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36529 else
36530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36531 for as_dir in $PATH
36532 do
36533 IFS=$as_save_IFS
36534 test -z "$as_dir" && as_dir=.
36535 for ac_exec_ext in '' $ac_executable_extensions; do
36536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
36537 ac_cv_prog_SETFILE="SetFile"
36538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36539 break 2
36540 fi
36541 done
36542 done
36543 IFS=$as_save_IFS
36544
36545 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36546 fi
36547 fi
36548 SETFILE=$ac_cv_prog_SETFILE
36549 if test -n "$SETFILE"; then
36550 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36551 echo "${ECHO_T}$SETFILE" >&6; }
36552 else
36553 { echo "$as_me:$LINENO: result: no" >&5
36554 echo "${ECHO_T}no" >&6; }
36555 fi
36556
36557
36558
36559 MACSETFILE="\$(SETFILE)"
36560
36561 if test "$wxUSE_MAC" = 1; then
36562 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36563 RESCOMP="$REZ"
36564 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36565 else
36566 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36567 RESCOMP="echo -n \| $REZ"
36568 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36569 fi
36570
36571 else
36572 MACSETFILE="@true"
36573
36574 if test "$wxUSE_PM" = 1; then
36575 RESCOMP="emxbind"
36576 WXCONFIG_RESFLAGS="-ep"
36577
36578 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36579 else
36580 POSTLINK_COMMAND="@true"
36581 fi
36582
36583 fi
36584
36585
36586
36587 { echo "$as_me:$LINENO: checking for mode_t" >&5
36588 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36589 if test "${ac_cv_type_mode_t+set}" = set; then
36590 echo $ECHO_N "(cached) $ECHO_C" >&6
36591 else
36592 cat >conftest.$ac_ext <<_ACEOF
36593 /* confdefs.h. */
36594 _ACEOF
36595 cat confdefs.h >>conftest.$ac_ext
36596 cat >>conftest.$ac_ext <<_ACEOF
36597 /* end confdefs.h. */
36598 $ac_includes_default
36599 typedef mode_t ac__type_new_;
36600 int
36601 main ()
36602 {
36603 if ((ac__type_new_ *) 0)
36604 return 0;
36605 if (sizeof (ac__type_new_))
36606 return 0;
36607 ;
36608 return 0;
36609 }
36610 _ACEOF
36611 rm -f conftest.$ac_objext
36612 if { (ac_try="$ac_compile"
36613 case "(($ac_try" in
36614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36615 *) ac_try_echo=$ac_try;;
36616 esac
36617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36618 (eval "$ac_compile") 2>conftest.er1
36619 ac_status=$?
36620 grep -v '^ *+' conftest.er1 >conftest.err
36621 rm -f conftest.er1
36622 cat conftest.err >&5
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); } &&
36625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36626 { (case "(($ac_try" in
36627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36628 *) ac_try_echo=$ac_try;;
36629 esac
36630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36631 (eval "$ac_try") 2>&5
36632 ac_status=$?
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); }; } &&
36635 { ac_try='test -s conftest.$ac_objext'
36636 { (case "(($ac_try" in
36637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36638 *) ac_try_echo=$ac_try;;
36639 esac
36640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36641 (eval "$ac_try") 2>&5
36642 ac_status=$?
36643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36644 (exit $ac_status); }; }; then
36645 ac_cv_type_mode_t=yes
36646 else
36647 echo "$as_me: failed program was:" >&5
36648 sed 's/^/| /' conftest.$ac_ext >&5
36649
36650 ac_cv_type_mode_t=no
36651 fi
36652
36653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36654 fi
36655 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36656 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36657 if test $ac_cv_type_mode_t = yes; then
36658 :
36659 else
36660
36661 cat >>confdefs.h <<_ACEOF
36662 #define mode_t int
36663 _ACEOF
36664
36665 fi
36666
36667 { echo "$as_me:$LINENO: checking for off_t" >&5
36668 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36669 if test "${ac_cv_type_off_t+set}" = set; then
36670 echo $ECHO_N "(cached) $ECHO_C" >&6
36671 else
36672 cat >conftest.$ac_ext <<_ACEOF
36673 /* confdefs.h. */
36674 _ACEOF
36675 cat confdefs.h >>conftest.$ac_ext
36676 cat >>conftest.$ac_ext <<_ACEOF
36677 /* end confdefs.h. */
36678 $ac_includes_default
36679 typedef off_t ac__type_new_;
36680 int
36681 main ()
36682 {
36683 if ((ac__type_new_ *) 0)
36684 return 0;
36685 if (sizeof (ac__type_new_))
36686 return 0;
36687 ;
36688 return 0;
36689 }
36690 _ACEOF
36691 rm -f conftest.$ac_objext
36692 if { (ac_try="$ac_compile"
36693 case "(($ac_try" in
36694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36695 *) ac_try_echo=$ac_try;;
36696 esac
36697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36698 (eval "$ac_compile") 2>conftest.er1
36699 ac_status=$?
36700 grep -v '^ *+' conftest.er1 >conftest.err
36701 rm -f conftest.er1
36702 cat conftest.err >&5
36703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36704 (exit $ac_status); } &&
36705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36706 { (case "(($ac_try" in
36707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36708 *) ac_try_echo=$ac_try;;
36709 esac
36710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36711 (eval "$ac_try") 2>&5
36712 ac_status=$?
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); }; } &&
36715 { ac_try='test -s conftest.$ac_objext'
36716 { (case "(($ac_try" in
36717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36718 *) ac_try_echo=$ac_try;;
36719 esac
36720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36721 (eval "$ac_try") 2>&5
36722 ac_status=$?
36723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36724 (exit $ac_status); }; }; then
36725 ac_cv_type_off_t=yes
36726 else
36727 echo "$as_me: failed program was:" >&5
36728 sed 's/^/| /' conftest.$ac_ext >&5
36729
36730 ac_cv_type_off_t=no
36731 fi
36732
36733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36734 fi
36735 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36736 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36737 if test $ac_cv_type_off_t = yes; then
36738 :
36739 else
36740
36741 cat >>confdefs.h <<_ACEOF
36742 #define off_t long int
36743 _ACEOF
36744
36745 fi
36746
36747 { echo "$as_me:$LINENO: checking for pid_t" >&5
36748 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36749 if test "${ac_cv_type_pid_t+set}" = set; then
36750 echo $ECHO_N "(cached) $ECHO_C" >&6
36751 else
36752 cat >conftest.$ac_ext <<_ACEOF
36753 /* confdefs.h. */
36754 _ACEOF
36755 cat confdefs.h >>conftest.$ac_ext
36756 cat >>conftest.$ac_ext <<_ACEOF
36757 /* end confdefs.h. */
36758 $ac_includes_default
36759 typedef pid_t ac__type_new_;
36760 int
36761 main ()
36762 {
36763 if ((ac__type_new_ *) 0)
36764 return 0;
36765 if (sizeof (ac__type_new_))
36766 return 0;
36767 ;
36768 return 0;
36769 }
36770 _ACEOF
36771 rm -f conftest.$ac_objext
36772 if { (ac_try="$ac_compile"
36773 case "(($ac_try" in
36774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36775 *) ac_try_echo=$ac_try;;
36776 esac
36777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36778 (eval "$ac_compile") 2>conftest.er1
36779 ac_status=$?
36780 grep -v '^ *+' conftest.er1 >conftest.err
36781 rm -f conftest.er1
36782 cat conftest.err >&5
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); } &&
36785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36786 { (case "(($ac_try" in
36787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36788 *) ac_try_echo=$ac_try;;
36789 esac
36790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36791 (eval "$ac_try") 2>&5
36792 ac_status=$?
36793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36794 (exit $ac_status); }; } &&
36795 { ac_try='test -s conftest.$ac_objext'
36796 { (case "(($ac_try" in
36797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36798 *) ac_try_echo=$ac_try;;
36799 esac
36800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36801 (eval "$ac_try") 2>&5
36802 ac_status=$?
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); }; }; then
36805 ac_cv_type_pid_t=yes
36806 else
36807 echo "$as_me: failed program was:" >&5
36808 sed 's/^/| /' conftest.$ac_ext >&5
36809
36810 ac_cv_type_pid_t=no
36811 fi
36812
36813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36814 fi
36815 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36816 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36817 if test $ac_cv_type_pid_t = yes; then
36818 :
36819 else
36820
36821 cat >>confdefs.h <<_ACEOF
36822 #define pid_t int
36823 _ACEOF
36824
36825 fi
36826
36827 { echo "$as_me:$LINENO: checking for size_t" >&5
36828 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36829 if test "${ac_cv_type_size_t+set}" = set; then
36830 echo $ECHO_N "(cached) $ECHO_C" >&6
36831 else
36832 cat >conftest.$ac_ext <<_ACEOF
36833 /* confdefs.h. */
36834 _ACEOF
36835 cat confdefs.h >>conftest.$ac_ext
36836 cat >>conftest.$ac_ext <<_ACEOF
36837 /* end confdefs.h. */
36838 $ac_includes_default
36839 typedef size_t ac__type_new_;
36840 int
36841 main ()
36842 {
36843 if ((ac__type_new_ *) 0)
36844 return 0;
36845 if (sizeof (ac__type_new_))
36846 return 0;
36847 ;
36848 return 0;
36849 }
36850 _ACEOF
36851 rm -f conftest.$ac_objext
36852 if { (ac_try="$ac_compile"
36853 case "(($ac_try" in
36854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36855 *) ac_try_echo=$ac_try;;
36856 esac
36857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36858 (eval "$ac_compile") 2>conftest.er1
36859 ac_status=$?
36860 grep -v '^ *+' conftest.er1 >conftest.err
36861 rm -f conftest.er1
36862 cat conftest.err >&5
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); } &&
36865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36866 { (case "(($ac_try" in
36867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36868 *) ac_try_echo=$ac_try;;
36869 esac
36870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36871 (eval "$ac_try") 2>&5
36872 ac_status=$?
36873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36874 (exit $ac_status); }; } &&
36875 { ac_try='test -s conftest.$ac_objext'
36876 { (case "(($ac_try" in
36877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36878 *) ac_try_echo=$ac_try;;
36879 esac
36880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36881 (eval "$ac_try") 2>&5
36882 ac_status=$?
36883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36884 (exit $ac_status); }; }; then
36885 ac_cv_type_size_t=yes
36886 else
36887 echo "$as_me: failed program was:" >&5
36888 sed 's/^/| /' conftest.$ac_ext >&5
36889
36890 ac_cv_type_size_t=no
36891 fi
36892
36893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36894 fi
36895 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36896 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36897 if test $ac_cv_type_size_t = yes; then
36898 :
36899 else
36900
36901 cat >>confdefs.h <<_ACEOF
36902 #define size_t unsigned int
36903 _ACEOF
36904
36905 fi
36906
36907 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36908 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36909 if test "${ac_cv_type_uid_t+set}" = set; then
36910 echo $ECHO_N "(cached) $ECHO_C" >&6
36911 else
36912 cat >conftest.$ac_ext <<_ACEOF
36913 /* confdefs.h. */
36914 _ACEOF
36915 cat confdefs.h >>conftest.$ac_ext
36916 cat >>conftest.$ac_ext <<_ACEOF
36917 /* end confdefs.h. */
36918 #include <sys/types.h>
36919
36920 _ACEOF
36921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36922 $EGREP "uid_t" >/dev/null 2>&1; then
36923 ac_cv_type_uid_t=yes
36924 else
36925 ac_cv_type_uid_t=no
36926 fi
36927 rm -f conftest*
36928
36929 fi
36930 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36931 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36932 if test $ac_cv_type_uid_t = no; then
36933
36934 cat >>confdefs.h <<\_ACEOF
36935 #define uid_t int
36936 _ACEOF
36937
36938
36939 cat >>confdefs.h <<\_ACEOF
36940 #define gid_t int
36941 _ACEOF
36942
36943 fi
36944
36945
36946 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36947 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36948 if test "${ac_cv_type_ssize_t+set}" = set; then
36949 echo $ECHO_N "(cached) $ECHO_C" >&6
36950 else
36951 cat >conftest.$ac_ext <<_ACEOF
36952 /* confdefs.h. */
36953 _ACEOF
36954 cat confdefs.h >>conftest.$ac_ext
36955 cat >>conftest.$ac_ext <<_ACEOF
36956 /* end confdefs.h. */
36957 $ac_includes_default
36958 typedef ssize_t ac__type_new_;
36959 int
36960 main ()
36961 {
36962 if ((ac__type_new_ *) 0)
36963 return 0;
36964 if (sizeof (ac__type_new_))
36965 return 0;
36966 ;
36967 return 0;
36968 }
36969 _ACEOF
36970 rm -f conftest.$ac_objext
36971 if { (ac_try="$ac_compile"
36972 case "(($ac_try" in
36973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36974 *) ac_try_echo=$ac_try;;
36975 esac
36976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36977 (eval "$ac_compile") 2>conftest.er1
36978 ac_status=$?
36979 grep -v '^ *+' conftest.er1 >conftest.err
36980 rm -f conftest.er1
36981 cat conftest.err >&5
36982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983 (exit $ac_status); } &&
36984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36985 { (case "(($ac_try" in
36986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36987 *) ac_try_echo=$ac_try;;
36988 esac
36989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36990 (eval "$ac_try") 2>&5
36991 ac_status=$?
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); }; } &&
36994 { ac_try='test -s conftest.$ac_objext'
36995 { (case "(($ac_try" in
36996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36997 *) ac_try_echo=$ac_try;;
36998 esac
36999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37000 (eval "$ac_try") 2>&5
37001 ac_status=$?
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); }; }; then
37004 ac_cv_type_ssize_t=yes
37005 else
37006 echo "$as_me: failed program was:" >&5
37007 sed 's/^/| /' conftest.$ac_ext >&5
37008
37009 ac_cv_type_ssize_t=no
37010 fi
37011
37012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37013 fi
37014 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37015 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37016 if test $ac_cv_type_ssize_t = yes; then
37017
37018 cat >>confdefs.h <<_ACEOF
37019 #define HAVE_SSIZE_T 1
37020 _ACEOF
37021
37022
37023 fi
37024
37025
37026 ac_ext=cpp
37027 ac_cpp='$CXXCPP $CPPFLAGS'
37028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37031 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37032 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37033 if test "${wx_cv_size_t_is_uint+set}" = set; then
37034 echo $ECHO_N "(cached) $ECHO_C" >&6
37035 else
37036
37037 cat >conftest.$ac_ext <<_ACEOF
37038 /* confdefs.h. */
37039 _ACEOF
37040 cat confdefs.h >>conftest.$ac_ext
37041 cat >>conftest.$ac_ext <<_ACEOF
37042 /* end confdefs.h. */
37043 #include <stddef.h>
37044 int
37045 main ()
37046 {
37047
37048 return 0; }
37049
37050 struct Foo { void foo(size_t); void foo(unsigned int); };
37051
37052 int bar() {
37053
37054 ;
37055 return 0;
37056 }
37057 _ACEOF
37058 rm -f conftest.$ac_objext
37059 if { (ac_try="$ac_compile"
37060 case "(($ac_try" in
37061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37062 *) ac_try_echo=$ac_try;;
37063 esac
37064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37065 (eval "$ac_compile") 2>conftest.er1
37066 ac_status=$?
37067 grep -v '^ *+' conftest.er1 >conftest.err
37068 rm -f conftest.er1
37069 cat conftest.err >&5
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); } &&
37072 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37073 { (case "(($ac_try" in
37074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37075 *) ac_try_echo=$ac_try;;
37076 esac
37077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37078 (eval "$ac_try") 2>&5
37079 ac_status=$?
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); }; } &&
37082 { ac_try='test -s conftest.$ac_objext'
37083 { (case "(($ac_try" in
37084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37085 *) ac_try_echo=$ac_try;;
37086 esac
37087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37088 (eval "$ac_try") 2>&5
37089 ac_status=$?
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); }; }; then
37092 wx_cv_size_t_is_uint=no
37093 else
37094 echo "$as_me: failed program was:" >&5
37095 sed 's/^/| /' conftest.$ac_ext >&5
37096
37097 wx_cv_size_t_is_uint=yes
37098
37099 fi
37100
37101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37102
37103
37104 fi
37105 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37106 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37107
37108 if test "$wx_cv_size_t_is_uint" = "yes"; then
37109 cat >>confdefs.h <<\_ACEOF
37110 #define wxSIZE_T_IS_UINT 1
37111 _ACEOF
37112
37113 else
37114 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37115 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37116 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37117 echo $ECHO_N "(cached) $ECHO_C" >&6
37118 else
37119 cat >conftest.$ac_ext <<_ACEOF
37120 /* confdefs.h. */
37121 _ACEOF
37122 cat confdefs.h >>conftest.$ac_ext
37123 cat >>conftest.$ac_ext <<_ACEOF
37124 /* end confdefs.h. */
37125 #include <stddef.h>
37126 int
37127 main ()
37128 {
37129
37130 return 0; }
37131
37132 struct Foo { void foo(size_t); void foo(unsigned long); };
37133
37134 int bar() {
37135
37136 ;
37137 return 0;
37138 }
37139 _ACEOF
37140 rm -f conftest.$ac_objext
37141 if { (ac_try="$ac_compile"
37142 case "(($ac_try" in
37143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37144 *) ac_try_echo=$ac_try;;
37145 esac
37146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37147 (eval "$ac_compile") 2>conftest.er1
37148 ac_status=$?
37149 grep -v '^ *+' conftest.er1 >conftest.err
37150 rm -f conftest.er1
37151 cat conftest.err >&5
37152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153 (exit $ac_status); } &&
37154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37155 { (case "(($ac_try" in
37156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37157 *) ac_try_echo=$ac_try;;
37158 esac
37159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37160 (eval "$ac_try") 2>&5
37161 ac_status=$?
37162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37163 (exit $ac_status); }; } &&
37164 { ac_try='test -s conftest.$ac_objext'
37165 { (case "(($ac_try" in
37166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37167 *) ac_try_echo=$ac_try;;
37168 esac
37169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37170 (eval "$ac_try") 2>&5
37171 ac_status=$?
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); }; }; then
37174 wx_cv_size_t_is_ulong=no
37175 else
37176 echo "$as_me: failed program was:" >&5
37177 sed 's/^/| /' conftest.$ac_ext >&5
37178
37179 wx_cv_size_t_is_ulong=yes
37180
37181 fi
37182
37183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37184
37185 fi
37186 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37187 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37188
37189 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37190 cat >>confdefs.h <<\_ACEOF
37191 #define wxSIZE_T_IS_ULONG 1
37192 _ACEOF
37193
37194 fi
37195 fi
37196
37197 ac_ext=c
37198 ac_cpp='$CPP $CPPFLAGS'
37199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37202
37203
37204 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37205 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37206 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37207 echo $ECHO_N "(cached) $ECHO_C" >&6
37208 else
37209
37210 cat >conftest.$ac_ext <<_ACEOF
37211 /* confdefs.h. */
37212 _ACEOF
37213 cat confdefs.h >>conftest.$ac_ext
37214 cat >>conftest.$ac_ext <<_ACEOF
37215 /* end confdefs.h. */
37216 #include <pwd.h>
37217 int
37218 main ()
37219 {
37220
37221 char *p;
37222 struct passwd *pw;
37223 p = pw->pw_gecos;
37224
37225 ;
37226 return 0;
37227 }
37228 _ACEOF
37229 rm -f conftest.$ac_objext
37230 if { (ac_try="$ac_compile"
37231 case "(($ac_try" in
37232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37233 *) ac_try_echo=$ac_try;;
37234 esac
37235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37236 (eval "$ac_compile") 2>conftest.er1
37237 ac_status=$?
37238 grep -v '^ *+' conftest.er1 >conftest.err
37239 rm -f conftest.er1
37240 cat conftest.err >&5
37241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37242 (exit $ac_status); } &&
37243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37244 { (case "(($ac_try" in
37245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37246 *) ac_try_echo=$ac_try;;
37247 esac
37248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37249 (eval "$ac_try") 2>&5
37250 ac_status=$?
37251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37252 (exit $ac_status); }; } &&
37253 { ac_try='test -s conftest.$ac_objext'
37254 { (case "(($ac_try" in
37255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37256 *) ac_try_echo=$ac_try;;
37257 esac
37258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37259 (eval "$ac_try") 2>&5
37260 ac_status=$?
37261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37262 (exit $ac_status); }; }; then
37263
37264 wx_cv_struct_pw_gecos=yes
37265
37266 else
37267 echo "$as_me: failed program was:" >&5
37268 sed 's/^/| /' conftest.$ac_ext >&5
37269
37270
37271 wx_cv_struct_pw_gecos=no
37272
37273
37274 fi
37275
37276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37277
37278
37279 fi
37280 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37281 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37282
37283 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37284 cat >>confdefs.h <<\_ACEOF
37285 #define HAVE_PW_GECOS 1
37286 _ACEOF
37287
37288 fi
37289
37290
37291 if test "$wxUSE_WCHAR_T" = "yes"; then
37292 cat >>confdefs.h <<\_ACEOF
37293 #define wxUSE_WCHAR_T 1
37294 _ACEOF
37295
37296
37297 WCSLEN_FOUND=0
37298 WCHAR_LINK=
37299
37300 for ac_func in wcslen
37301 do
37302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37303 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37305 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37306 echo $ECHO_N "(cached) $ECHO_C" >&6
37307 else
37308 cat >conftest.$ac_ext <<_ACEOF
37309 /* confdefs.h. */
37310 _ACEOF
37311 cat confdefs.h >>conftest.$ac_ext
37312 cat >>conftest.$ac_ext <<_ACEOF
37313 /* end confdefs.h. */
37314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37316 #define $ac_func innocuous_$ac_func
37317
37318 /* System header to define __stub macros and hopefully few prototypes,
37319 which can conflict with char $ac_func (); below.
37320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37321 <limits.h> exists even on freestanding compilers. */
37322
37323 #ifdef __STDC__
37324 # include <limits.h>
37325 #else
37326 # include <assert.h>
37327 #endif
37328
37329 #undef $ac_func
37330
37331 /* Override any GCC internal prototype to avoid an error.
37332 Use char because int might match the return type of a GCC
37333 builtin and then its argument prototype would still apply. */
37334 #ifdef __cplusplus
37335 extern "C"
37336 #endif
37337 char $ac_func ();
37338 /* The GNU C library defines this for functions which it implements
37339 to always fail with ENOSYS. Some functions are actually named
37340 something starting with __ and the normal name is an alias. */
37341 #if defined __stub_$ac_func || defined __stub___$ac_func
37342 choke me
37343 #endif
37344
37345 int
37346 main ()
37347 {
37348 return $ac_func ();
37349 ;
37350 return 0;
37351 }
37352 _ACEOF
37353 rm -f conftest.$ac_objext conftest$ac_exeext
37354 if { (ac_try="$ac_link"
37355 case "(($ac_try" in
37356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37357 *) ac_try_echo=$ac_try;;
37358 esac
37359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37360 (eval "$ac_link") 2>conftest.er1
37361 ac_status=$?
37362 grep -v '^ *+' conftest.er1 >conftest.err
37363 rm -f conftest.er1
37364 cat conftest.err >&5
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); } &&
37367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37368 { (case "(($ac_try" in
37369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37370 *) ac_try_echo=$ac_try;;
37371 esac
37372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37373 (eval "$ac_try") 2>&5
37374 ac_status=$?
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); }; } &&
37377 { ac_try='test -s conftest$ac_exeext'
37378 { (case "(($ac_try" in
37379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37380 *) ac_try_echo=$ac_try;;
37381 esac
37382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37383 (eval "$ac_try") 2>&5
37384 ac_status=$?
37385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37386 (exit $ac_status); }; }; then
37387 eval "$as_ac_var=yes"
37388 else
37389 echo "$as_me: failed program was:" >&5
37390 sed 's/^/| /' conftest.$ac_ext >&5
37391
37392 eval "$as_ac_var=no"
37393 fi
37394
37395 rm -f core conftest.err conftest.$ac_objext \
37396 conftest$ac_exeext conftest.$ac_ext
37397 fi
37398 ac_res=`eval echo '${'$as_ac_var'}'`
37399 { echo "$as_me:$LINENO: result: $ac_res" >&5
37400 echo "${ECHO_T}$ac_res" >&6; }
37401 if test `eval echo '${'$as_ac_var'}'` = yes; then
37402 cat >>confdefs.h <<_ACEOF
37403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37404 _ACEOF
37405 WCSLEN_FOUND=1
37406 fi
37407 done
37408
37409
37410 if test "$WCSLEN_FOUND" = 0; then
37411 if test "$TOOLKIT" = "MSW"; then
37412 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37413 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37414 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37415 echo $ECHO_N "(cached) $ECHO_C" >&6
37416 else
37417 ac_check_lib_save_LIBS=$LIBS
37418 LIBS="-lmsvcrt $LIBS"
37419 cat >conftest.$ac_ext <<_ACEOF
37420 /* confdefs.h. */
37421 _ACEOF
37422 cat confdefs.h >>conftest.$ac_ext
37423 cat >>conftest.$ac_ext <<_ACEOF
37424 /* end confdefs.h. */
37425
37426 /* Override any GCC internal prototype to avoid an error.
37427 Use char because int might match the return type of a GCC
37428 builtin and then its argument prototype would still apply. */
37429 #ifdef __cplusplus
37430 extern "C"
37431 #endif
37432 char wcslen ();
37433 int
37434 main ()
37435 {
37436 return wcslen ();
37437 ;
37438 return 0;
37439 }
37440 _ACEOF
37441 rm -f conftest.$ac_objext conftest$ac_exeext
37442 if { (ac_try="$ac_link"
37443 case "(($ac_try" in
37444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37445 *) ac_try_echo=$ac_try;;
37446 esac
37447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37448 (eval "$ac_link") 2>conftest.er1
37449 ac_status=$?
37450 grep -v '^ *+' conftest.er1 >conftest.err
37451 rm -f conftest.er1
37452 cat conftest.err >&5
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); } &&
37455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37456 { (case "(($ac_try" in
37457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37458 *) ac_try_echo=$ac_try;;
37459 esac
37460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37461 (eval "$ac_try") 2>&5
37462 ac_status=$?
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); }; } &&
37465 { ac_try='test -s conftest$ac_exeext'
37466 { (case "(($ac_try" in
37467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37468 *) ac_try_echo=$ac_try;;
37469 esac
37470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37471 (eval "$ac_try") 2>&5
37472 ac_status=$?
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); }; }; then
37475 ac_cv_lib_msvcrt_wcslen=yes
37476 else
37477 echo "$as_me: failed program was:" >&5
37478 sed 's/^/| /' conftest.$ac_ext >&5
37479
37480 ac_cv_lib_msvcrt_wcslen=no
37481 fi
37482
37483 rm -f core conftest.err conftest.$ac_objext \
37484 conftest$ac_exeext conftest.$ac_ext
37485 LIBS=$ac_check_lib_save_LIBS
37486 fi
37487 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37488 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37489 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37490 WCHAR_OK=1
37491 fi
37492
37493 else
37494 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37495 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37496 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37497 echo $ECHO_N "(cached) $ECHO_C" >&6
37498 else
37499 ac_check_lib_save_LIBS=$LIBS
37500 LIBS="-lw $LIBS"
37501 cat >conftest.$ac_ext <<_ACEOF
37502 /* confdefs.h. */
37503 _ACEOF
37504 cat confdefs.h >>conftest.$ac_ext
37505 cat >>conftest.$ac_ext <<_ACEOF
37506 /* end confdefs.h. */
37507
37508 /* Override any GCC internal prototype to avoid an error.
37509 Use char because int might match the return type of a GCC
37510 builtin and then its argument prototype would still apply. */
37511 #ifdef __cplusplus
37512 extern "C"
37513 #endif
37514 char wcslen ();
37515 int
37516 main ()
37517 {
37518 return wcslen ();
37519 ;
37520 return 0;
37521 }
37522 _ACEOF
37523 rm -f conftest.$ac_objext conftest$ac_exeext
37524 if { (ac_try="$ac_link"
37525 case "(($ac_try" in
37526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37527 *) ac_try_echo=$ac_try;;
37528 esac
37529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37530 (eval "$ac_link") 2>conftest.er1
37531 ac_status=$?
37532 grep -v '^ *+' conftest.er1 >conftest.err
37533 rm -f conftest.er1
37534 cat conftest.err >&5
37535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37536 (exit $ac_status); } &&
37537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37538 { (case "(($ac_try" in
37539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37540 *) ac_try_echo=$ac_try;;
37541 esac
37542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37543 (eval "$ac_try") 2>&5
37544 ac_status=$?
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); }; } &&
37547 { ac_try='test -s conftest$ac_exeext'
37548 { (case "(($ac_try" in
37549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37550 *) ac_try_echo=$ac_try;;
37551 esac
37552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37553 (eval "$ac_try") 2>&5
37554 ac_status=$?
37555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37556 (exit $ac_status); }; }; then
37557 ac_cv_lib_w_wcslen=yes
37558 else
37559 echo "$as_me: failed program was:" >&5
37560 sed 's/^/| /' conftest.$ac_ext >&5
37561
37562 ac_cv_lib_w_wcslen=no
37563 fi
37564
37565 rm -f core conftest.err conftest.$ac_objext \
37566 conftest$ac_exeext conftest.$ac_ext
37567 LIBS=$ac_check_lib_save_LIBS
37568 fi
37569 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37570 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37571 if test $ac_cv_lib_w_wcslen = yes; then
37572
37573 WCHAR_LINK=" -lw"
37574 WCSLEN_FOUND=1
37575
37576 fi
37577
37578 fi
37579 fi
37580
37581 if test "$WCSLEN_FOUND" = 1; then
37582 cat >>confdefs.h <<\_ACEOF
37583 #define HAVE_WCSLEN 1
37584 _ACEOF
37585
37586 fi
37587
37588 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37589 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37590 fi
37591
37592 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37593 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37594 if test "${ac_cv_type_mbstate_t+set}" = set; then
37595 echo $ECHO_N "(cached) $ECHO_C" >&6
37596 else
37597 cat >conftest.$ac_ext <<_ACEOF
37598 /* confdefs.h. */
37599 _ACEOF
37600 cat confdefs.h >>conftest.$ac_ext
37601 cat >>conftest.$ac_ext <<_ACEOF
37602 /* end confdefs.h. */
37603 #include <wchar.h>
37604
37605 typedef mbstate_t ac__type_new_;
37606 int
37607 main ()
37608 {
37609 if ((ac__type_new_ *) 0)
37610 return 0;
37611 if (sizeof (ac__type_new_))
37612 return 0;
37613 ;
37614 return 0;
37615 }
37616 _ACEOF
37617 rm -f conftest.$ac_objext
37618 if { (ac_try="$ac_compile"
37619 case "(($ac_try" in
37620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37621 *) ac_try_echo=$ac_try;;
37622 esac
37623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37624 (eval "$ac_compile") 2>conftest.er1
37625 ac_status=$?
37626 grep -v '^ *+' conftest.er1 >conftest.err
37627 rm -f conftest.er1
37628 cat conftest.err >&5
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); } &&
37631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37632 { (case "(($ac_try" in
37633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37634 *) ac_try_echo=$ac_try;;
37635 esac
37636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37637 (eval "$ac_try") 2>&5
37638 ac_status=$?
37639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37640 (exit $ac_status); }; } &&
37641 { ac_try='test -s conftest.$ac_objext'
37642 { (case "(($ac_try" in
37643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37644 *) ac_try_echo=$ac_try;;
37645 esac
37646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37647 (eval "$ac_try") 2>&5
37648 ac_status=$?
37649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650 (exit $ac_status); }; }; then
37651 ac_cv_type_mbstate_t=yes
37652 else
37653 echo "$as_me: failed program was:" >&5
37654 sed 's/^/| /' conftest.$ac_ext >&5
37655
37656 ac_cv_type_mbstate_t=no
37657 fi
37658
37659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37660 fi
37661 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37662 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37663 if test $ac_cv_type_mbstate_t = yes; then
37664
37665 cat >>confdefs.h <<_ACEOF
37666 #define HAVE_MBSTATE_T 1
37667 _ACEOF
37668
37669
37670 for ac_func in wcsrtombs
37671 do
37672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37673 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37675 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37676 echo $ECHO_N "(cached) $ECHO_C" >&6
37677 else
37678 cat >conftest.$ac_ext <<_ACEOF
37679 /* confdefs.h. */
37680 _ACEOF
37681 cat confdefs.h >>conftest.$ac_ext
37682 cat >>conftest.$ac_ext <<_ACEOF
37683 /* end confdefs.h. */
37684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37686 #define $ac_func innocuous_$ac_func
37687
37688 /* System header to define __stub macros and hopefully few prototypes,
37689 which can conflict with char $ac_func (); below.
37690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37691 <limits.h> exists even on freestanding compilers. */
37692
37693 #ifdef __STDC__
37694 # include <limits.h>
37695 #else
37696 # include <assert.h>
37697 #endif
37698
37699 #undef $ac_func
37700
37701 /* Override any GCC internal prototype to avoid an error.
37702 Use char because int might match the return type of a GCC
37703 builtin and then its argument prototype would still apply. */
37704 #ifdef __cplusplus
37705 extern "C"
37706 #endif
37707 char $ac_func ();
37708 /* The GNU C library defines this for functions which it implements
37709 to always fail with ENOSYS. Some functions are actually named
37710 something starting with __ and the normal name is an alias. */
37711 #if defined __stub_$ac_func || defined __stub___$ac_func
37712 choke me
37713 #endif
37714
37715 int
37716 main ()
37717 {
37718 return $ac_func ();
37719 ;
37720 return 0;
37721 }
37722 _ACEOF
37723 rm -f conftest.$ac_objext conftest$ac_exeext
37724 if { (ac_try="$ac_link"
37725 case "(($ac_try" in
37726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37727 *) ac_try_echo=$ac_try;;
37728 esac
37729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37730 (eval "$ac_link") 2>conftest.er1
37731 ac_status=$?
37732 grep -v '^ *+' conftest.er1 >conftest.err
37733 rm -f conftest.er1
37734 cat conftest.err >&5
37735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37736 (exit $ac_status); } &&
37737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37738 { (case "(($ac_try" in
37739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37740 *) ac_try_echo=$ac_try;;
37741 esac
37742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37743 (eval "$ac_try") 2>&5
37744 ac_status=$?
37745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37746 (exit $ac_status); }; } &&
37747 { ac_try='test -s conftest$ac_exeext'
37748 { (case "(($ac_try" in
37749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37750 *) ac_try_echo=$ac_try;;
37751 esac
37752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37753 (eval "$ac_try") 2>&5
37754 ac_status=$?
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); }; }; then
37757 eval "$as_ac_var=yes"
37758 else
37759 echo "$as_me: failed program was:" >&5
37760 sed 's/^/| /' conftest.$ac_ext >&5
37761
37762 eval "$as_ac_var=no"
37763 fi
37764
37765 rm -f core conftest.err conftest.$ac_objext \
37766 conftest$ac_exeext conftest.$ac_ext
37767 fi
37768 ac_res=`eval echo '${'$as_ac_var'}'`
37769 { echo "$as_me:$LINENO: result: $ac_res" >&5
37770 echo "${ECHO_T}$ac_res" >&6; }
37771 if test `eval echo '${'$as_ac_var'}'` = yes; then
37772 cat >>confdefs.h <<_ACEOF
37773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37774 _ACEOF
37775
37776 fi
37777 done
37778
37779 fi
37780
37781 else
37782 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37783 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37784 fi
37785
37786
37787
37788 for ac_func in snprintf vsnprintf
37789 do
37790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37791 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37793 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37794 echo $ECHO_N "(cached) $ECHO_C" >&6
37795 else
37796 cat >conftest.$ac_ext <<_ACEOF
37797 /* confdefs.h. */
37798 _ACEOF
37799 cat confdefs.h >>conftest.$ac_ext
37800 cat >>conftest.$ac_ext <<_ACEOF
37801 /* end confdefs.h. */
37802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37804 #define $ac_func innocuous_$ac_func
37805
37806 /* System header to define __stub macros and hopefully few prototypes,
37807 which can conflict with char $ac_func (); below.
37808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37809 <limits.h> exists even on freestanding compilers. */
37810
37811 #ifdef __STDC__
37812 # include <limits.h>
37813 #else
37814 # include <assert.h>
37815 #endif
37816
37817 #undef $ac_func
37818
37819 /* Override any GCC internal prototype to avoid an error.
37820 Use char because int might match the return type of a GCC
37821 builtin and then its argument prototype would still apply. */
37822 #ifdef __cplusplus
37823 extern "C"
37824 #endif
37825 char $ac_func ();
37826 /* The GNU C library defines this for functions which it implements
37827 to always fail with ENOSYS. Some functions are actually named
37828 something starting with __ and the normal name is an alias. */
37829 #if defined __stub_$ac_func || defined __stub___$ac_func
37830 choke me
37831 #endif
37832
37833 int
37834 main ()
37835 {
37836 return $ac_func ();
37837 ;
37838 return 0;
37839 }
37840 _ACEOF
37841 rm -f conftest.$ac_objext conftest$ac_exeext
37842 if { (ac_try="$ac_link"
37843 case "(($ac_try" in
37844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37845 *) ac_try_echo=$ac_try;;
37846 esac
37847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37848 (eval "$ac_link") 2>conftest.er1
37849 ac_status=$?
37850 grep -v '^ *+' conftest.er1 >conftest.err
37851 rm -f conftest.er1
37852 cat conftest.err >&5
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); } &&
37855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37856 { (case "(($ac_try" in
37857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37858 *) ac_try_echo=$ac_try;;
37859 esac
37860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37861 (eval "$ac_try") 2>&5
37862 ac_status=$?
37863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37864 (exit $ac_status); }; } &&
37865 { ac_try='test -s conftest$ac_exeext'
37866 { (case "(($ac_try" in
37867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37868 *) ac_try_echo=$ac_try;;
37869 esac
37870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37871 (eval "$ac_try") 2>&5
37872 ac_status=$?
37873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37874 (exit $ac_status); }; }; then
37875 eval "$as_ac_var=yes"
37876 else
37877 echo "$as_me: failed program was:" >&5
37878 sed 's/^/| /' conftest.$ac_ext >&5
37879
37880 eval "$as_ac_var=no"
37881 fi
37882
37883 rm -f core conftest.err conftest.$ac_objext \
37884 conftest$ac_exeext conftest.$ac_ext
37885 fi
37886 ac_res=`eval echo '${'$as_ac_var'}'`
37887 { echo "$as_me:$LINENO: result: $ac_res" >&5
37888 echo "${ECHO_T}$ac_res" >&6; }
37889 if test `eval echo '${'$as_ac_var'}'` = yes; then
37890 cat >>confdefs.h <<_ACEOF
37891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37892 _ACEOF
37893
37894 fi
37895 done
37896
37897
37898 if test "$ac_cv_func_vsnprintf" = "yes"; then
37899 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37900 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37901 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37902 echo $ECHO_N "(cached) $ECHO_C" >&6
37903 else
37904
37905 cat >conftest.$ac_ext <<_ACEOF
37906 /* confdefs.h. */
37907 _ACEOF
37908 cat confdefs.h >>conftest.$ac_ext
37909 cat >>conftest.$ac_ext <<_ACEOF
37910 /* end confdefs.h. */
37911
37912 #include <stdio.h>
37913 #include <stdarg.h>
37914 #ifdef __MSL__
37915 #if __MSL__ >= 0x6000
37916 namespace std {}
37917 using namespace std;
37918 #endif
37919 #endif
37920
37921 int
37922 main ()
37923 {
37924
37925 char *buf;
37926 va_list ap;
37927 vsnprintf(buf, 10u, "%s", ap);
37928
37929 ;
37930 return 0;
37931 }
37932 _ACEOF
37933 rm -f conftest.$ac_objext
37934 if { (ac_try="$ac_compile"
37935 case "(($ac_try" in
37936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37937 *) ac_try_echo=$ac_try;;
37938 esac
37939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37940 (eval "$ac_compile") 2>conftest.er1
37941 ac_status=$?
37942 grep -v '^ *+' conftest.er1 >conftest.err
37943 rm -f conftest.er1
37944 cat conftest.err >&5
37945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37946 (exit $ac_status); } &&
37947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37948 { (case "(($ac_try" in
37949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37950 *) ac_try_echo=$ac_try;;
37951 esac
37952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37953 (eval "$ac_try") 2>&5
37954 ac_status=$?
37955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37956 (exit $ac_status); }; } &&
37957 { ac_try='test -s conftest.$ac_objext'
37958 { (case "(($ac_try" in
37959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37960 *) ac_try_echo=$ac_try;;
37961 esac
37962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37963 (eval "$ac_try") 2>&5
37964 ac_status=$?
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); }; }; then
37967 wx_cv_func_vsnprintf_decl=yes
37968 else
37969 echo "$as_me: failed program was:" >&5
37970 sed 's/^/| /' conftest.$ac_ext >&5
37971
37972 wx_cv_func_vsnprintf_decl=no
37973
37974 fi
37975
37976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37977
37978
37979 fi
37980 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37981 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37982
37983 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37984 cat >>confdefs.h <<\_ACEOF
37985 #define HAVE_VSNPRINTF_DECL 1
37986 _ACEOF
37987
37988
37989 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37990 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37991 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37992 echo $ECHO_N "(cached) $ECHO_C" >&6
37993 else
37994
37995 cat >conftest.$ac_ext <<_ACEOF
37996 /* confdefs.h. */
37997 _ACEOF
37998 cat confdefs.h >>conftest.$ac_ext
37999 cat >>conftest.$ac_ext <<_ACEOF
38000 /* end confdefs.h. */
38001
38002 #include <stdio.h>
38003 #include <stdarg.h>
38004 #ifdef __MSL__
38005 #if __MSL__ >= 0x6000
38006 namespace std {}
38007 using namespace std;
38008 #endif
38009 #endif
38010
38011 int
38012 main ()
38013 {
38014
38015 char *buf;
38016 va_list ap;
38017 const char *fmt = "%s";
38018 vsnprintf(buf, 10u, fmt, ap);
38019
38020 ;
38021 return 0;
38022 }
38023 _ACEOF
38024 rm -f conftest.$ac_objext
38025 if { (ac_try="$ac_compile"
38026 case "(($ac_try" in
38027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38028 *) ac_try_echo=$ac_try;;
38029 esac
38030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38031 (eval "$ac_compile") 2>conftest.er1
38032 ac_status=$?
38033 grep -v '^ *+' conftest.er1 >conftest.err
38034 rm -f conftest.er1
38035 cat conftest.err >&5
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); } &&
38038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38039 { (case "(($ac_try" in
38040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38041 *) ac_try_echo=$ac_try;;
38042 esac
38043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38044 (eval "$ac_try") 2>&5
38045 ac_status=$?
38046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38047 (exit $ac_status); }; } &&
38048 { ac_try='test -s conftest.$ac_objext'
38049 { (case "(($ac_try" in
38050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38051 *) ac_try_echo=$ac_try;;
38052 esac
38053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38054 (eval "$ac_try") 2>&5
38055 ac_status=$?
38056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057 (exit $ac_status); }; }; then
38058 wx_cv_func_broken_vsnprintf_decl=no
38059 else
38060 echo "$as_me: failed program was:" >&5
38061 sed 's/^/| /' conftest.$ac_ext >&5
38062
38063 wx_cv_func_broken_vsnprintf_decl=yes
38064
38065 fi
38066
38067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38068
38069
38070 fi
38071 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38072 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38073
38074 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38075 cat >>confdefs.h <<\_ACEOF
38076 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38077 _ACEOF
38078
38079 fi
38080 fi
38081 fi
38082
38083 if test "$ac_cv_func_snprintf" = "yes"; then
38084 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38085 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38086 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38087 echo $ECHO_N "(cached) $ECHO_C" >&6
38088 else
38089
38090 cat >conftest.$ac_ext <<_ACEOF
38091 /* confdefs.h. */
38092 _ACEOF
38093 cat confdefs.h >>conftest.$ac_ext
38094 cat >>conftest.$ac_ext <<_ACEOF
38095 /* end confdefs.h. */
38096
38097 #include <stdio.h>
38098 #include <stdarg.h>
38099 #ifdef __MSL__
38100 #if __MSL__ >= 0x6000
38101 namespace std {}
38102 using namespace std;
38103 #endif
38104 #endif
38105
38106 int
38107 main ()
38108 {
38109
38110 char *buf;
38111 snprintf(buf, 10u, "%s", "wx");
38112
38113 ;
38114 return 0;
38115 }
38116 _ACEOF
38117 rm -f conftest.$ac_objext
38118 if { (ac_try="$ac_compile"
38119 case "(($ac_try" in
38120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38121 *) ac_try_echo=$ac_try;;
38122 esac
38123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38124 (eval "$ac_compile") 2>conftest.er1
38125 ac_status=$?
38126 grep -v '^ *+' conftest.er1 >conftest.err
38127 rm -f conftest.er1
38128 cat conftest.err >&5
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); } &&
38131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38132 { (case "(($ac_try" in
38133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38134 *) ac_try_echo=$ac_try;;
38135 esac
38136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38137 (eval "$ac_try") 2>&5
38138 ac_status=$?
38139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38140 (exit $ac_status); }; } &&
38141 { ac_try='test -s conftest.$ac_objext'
38142 { (case "(($ac_try" in
38143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38144 *) ac_try_echo=$ac_try;;
38145 esac
38146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38147 (eval "$ac_try") 2>&5
38148 ac_status=$?
38149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38150 (exit $ac_status); }; }; then
38151 wx_cv_func_snprintf_decl=yes
38152 else
38153 echo "$as_me: failed program was:" >&5
38154 sed 's/^/| /' conftest.$ac_ext >&5
38155
38156 wx_cv_func_snprintf_decl=no
38157
38158 fi
38159
38160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38161
38162
38163 fi
38164 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38165 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38166
38167 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38168 cat >>confdefs.h <<\_ACEOF
38169 #define HAVE_SNPRINTF_DECL 1
38170 _ACEOF
38171
38172
38173 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38174 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38175 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38176 echo $ECHO_N "(cached) $ECHO_C" >&6
38177 else
38178
38179 cat >conftest.$ac_ext <<_ACEOF
38180 /* confdefs.h. */
38181 _ACEOF
38182 cat confdefs.h >>conftest.$ac_ext
38183 cat >>conftest.$ac_ext <<_ACEOF
38184 /* end confdefs.h. */
38185
38186 #include <stdio.h>
38187 #include <stdarg.h>
38188 #ifdef __MSL__
38189 #if __MSL__ >= 0x6000
38190 namespace std {}
38191 using namespace std;
38192 #endif
38193 #endif
38194
38195 int
38196 main ()
38197 {
38198
38199 char *buf;
38200 const char *fmt = "%s";
38201 snprintf(buf, 10u, fmt, "wx");
38202
38203 ;
38204 return 0;
38205 }
38206 _ACEOF
38207 rm -f conftest.$ac_objext
38208 if { (ac_try="$ac_compile"
38209 case "(($ac_try" in
38210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38211 *) ac_try_echo=$ac_try;;
38212 esac
38213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38214 (eval "$ac_compile") 2>conftest.er1
38215 ac_status=$?
38216 grep -v '^ *+' conftest.er1 >conftest.err
38217 rm -f conftest.er1
38218 cat conftest.err >&5
38219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220 (exit $ac_status); } &&
38221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38222 { (case "(($ac_try" in
38223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38224 *) ac_try_echo=$ac_try;;
38225 esac
38226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38227 (eval "$ac_try") 2>&5
38228 ac_status=$?
38229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38230 (exit $ac_status); }; } &&
38231 { ac_try='test -s conftest.$ac_objext'
38232 { (case "(($ac_try" in
38233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38234 *) ac_try_echo=$ac_try;;
38235 esac
38236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38237 (eval "$ac_try") 2>&5
38238 ac_status=$?
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); }; }; then
38241 wx_cv_func_broken_snprintf_decl=no
38242 else
38243 echo "$as_me: failed program was:" >&5
38244 sed 's/^/| /' conftest.$ac_ext >&5
38245
38246 wx_cv_func_broken_snprintf_decl=yes
38247
38248 fi
38249
38250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38251
38252
38253 fi
38254 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38255 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38256
38257 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38258 cat >>confdefs.h <<\_ACEOF
38259 #define HAVE_BROKEN_SNPRINTF_DECL 1
38260 _ACEOF
38261
38262 fi
38263 fi
38264
38265 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38266
38267 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38268 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38269 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38270 echo $ECHO_N "(cached) $ECHO_C" >&6
38271 else
38272
38273 if test "$cross_compiling" = yes; then
38274
38275 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38276 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38277 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38278 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38279 wx_cv_func_snprintf_pos_params=no
38280
38281
38282 else
38283 cat >conftest.$ac_ext <<_ACEOF
38284 /* confdefs.h. */
38285 _ACEOF
38286 cat confdefs.h >>conftest.$ac_ext
38287 cat >>conftest.$ac_ext <<_ACEOF
38288 /* end confdefs.h. */
38289
38290 #include <stdio.h>
38291
38292 int main (void)
38293 {
38294 char buffer[128];
38295 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38296 if (strcmp ("2 3 1", buffer) == 0)
38297 exit (0);
38298 exit (1);
38299 }
38300
38301 _ACEOF
38302 rm -f conftest$ac_exeext
38303 if { (ac_try="$ac_link"
38304 case "(($ac_try" in
38305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38306 *) ac_try_echo=$ac_try;;
38307 esac
38308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38309 (eval "$ac_link") 2>&5
38310 ac_status=$?
38311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38313 { (case "(($ac_try" in
38314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38315 *) ac_try_echo=$ac_try;;
38316 esac
38317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38318 (eval "$ac_try") 2>&5
38319 ac_status=$?
38320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38321 (exit $ac_status); }; }; then
38322 wx_cv_func_snprintf_pos_params=no
38323 else
38324 echo "$as_me: program exited with status $ac_status" >&5
38325 echo "$as_me: failed program was:" >&5
38326 sed 's/^/| /' conftest.$ac_ext >&5
38327
38328 ( exit $ac_status )
38329 wx_cv_func_snprintf_pos_params=yes
38330 fi
38331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38332 fi
38333
38334
38335
38336
38337 fi
38338 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38339 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38340
38341 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38342 cat >>confdefs.h <<\_ACEOF
38343 #define HAVE_UNIX98_PRINTF 1
38344 _ACEOF
38345
38346 fi
38347 fi
38348 fi
38349
38350 if test "$wxUSE_UNICODE" = yes; then
38351
38352
38353 for ac_func in swprintf
38354 do
38355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38359 echo $ECHO_N "(cached) $ECHO_C" >&6
38360 else
38361 cat >conftest.$ac_ext <<_ACEOF
38362 /* confdefs.h. */
38363 _ACEOF
38364 cat confdefs.h >>conftest.$ac_ext
38365 cat >>conftest.$ac_ext <<_ACEOF
38366 /* end confdefs.h. */
38367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38369 #define $ac_func innocuous_$ac_func
38370
38371 /* System header to define __stub macros and hopefully few prototypes,
38372 which can conflict with char $ac_func (); below.
38373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38374 <limits.h> exists even on freestanding compilers. */
38375
38376 #ifdef __STDC__
38377 # include <limits.h>
38378 #else
38379 # include <assert.h>
38380 #endif
38381
38382 #undef $ac_func
38383
38384 /* Override any GCC internal prototype to avoid an error.
38385 Use char because int might match the return type of a GCC
38386 builtin and then its argument prototype would still apply. */
38387 #ifdef __cplusplus
38388 extern "C"
38389 #endif
38390 char $ac_func ();
38391 /* The GNU C library defines this for functions which it implements
38392 to always fail with ENOSYS. Some functions are actually named
38393 something starting with __ and the normal name is an alias. */
38394 #if defined __stub_$ac_func || defined __stub___$ac_func
38395 choke me
38396 #endif
38397
38398 int
38399 main ()
38400 {
38401 return $ac_func ();
38402 ;
38403 return 0;
38404 }
38405 _ACEOF
38406 rm -f conftest.$ac_objext conftest$ac_exeext
38407 if { (ac_try="$ac_link"
38408 case "(($ac_try" in
38409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38410 *) ac_try_echo=$ac_try;;
38411 esac
38412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38413 (eval "$ac_link") 2>conftest.er1
38414 ac_status=$?
38415 grep -v '^ *+' conftest.er1 >conftest.err
38416 rm -f conftest.er1
38417 cat conftest.err >&5
38418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38419 (exit $ac_status); } &&
38420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38421 { (case "(($ac_try" in
38422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38423 *) ac_try_echo=$ac_try;;
38424 esac
38425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38426 (eval "$ac_try") 2>&5
38427 ac_status=$?
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); }; } &&
38430 { ac_try='test -s conftest$ac_exeext'
38431 { (case "(($ac_try" in
38432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38433 *) ac_try_echo=$ac_try;;
38434 esac
38435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38436 (eval "$ac_try") 2>&5
38437 ac_status=$?
38438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38439 (exit $ac_status); }; }; then
38440 eval "$as_ac_var=yes"
38441 else
38442 echo "$as_me: failed program was:" >&5
38443 sed 's/^/| /' conftest.$ac_ext >&5
38444
38445 eval "$as_ac_var=no"
38446 fi
38447
38448 rm -f core conftest.err conftest.$ac_objext \
38449 conftest$ac_exeext conftest.$ac_ext
38450 fi
38451 ac_res=`eval echo '${'$as_ac_var'}'`
38452 { echo "$as_me:$LINENO: result: $ac_res" >&5
38453 echo "${ECHO_T}$ac_res" >&6; }
38454 if test `eval echo '${'$as_ac_var'}'` = yes; then
38455 cat >>confdefs.h <<_ACEOF
38456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38457 _ACEOF
38458
38459 fi
38460 done
38461
38462
38463 if test "$ac_cv_func_swprintf" = "yes"; then
38464 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38465 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38466 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38467 echo $ECHO_N "(cached) $ECHO_C" >&6
38468 else
38469
38470 cat >conftest.$ac_ext <<_ACEOF
38471 /* confdefs.h. */
38472 _ACEOF
38473 cat confdefs.h >>conftest.$ac_ext
38474 cat >>conftest.$ac_ext <<_ACEOF
38475 /* end confdefs.h. */
38476
38477 #include <stdio.h>
38478 #include <stdarg.h>
38479 #include <wchar.h>
38480
38481 int
38482 main ()
38483 {
38484
38485 wchar_t *buf;
38486 const wchar_t *fmt = L"test";
38487 swprintf(buf, 10u, fmt);
38488
38489 ;
38490 return 0;
38491 }
38492 _ACEOF
38493 rm -f conftest.$ac_objext
38494 if { (ac_try="$ac_compile"
38495 case "(($ac_try" in
38496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38497 *) ac_try_echo=$ac_try;;
38498 esac
38499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38500 (eval "$ac_compile") 2>conftest.er1
38501 ac_status=$?
38502 grep -v '^ *+' conftest.er1 >conftest.err
38503 rm -f conftest.er1
38504 cat conftest.err >&5
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); } &&
38507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38508 { (case "(($ac_try" in
38509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38510 *) ac_try_echo=$ac_try;;
38511 esac
38512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38513 (eval "$ac_try") 2>&5
38514 ac_status=$?
38515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516 (exit $ac_status); }; } &&
38517 { ac_try='test -s conftest.$ac_objext'
38518 { (case "(($ac_try" in
38519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38520 *) ac_try_echo=$ac_try;;
38521 esac
38522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38523 (eval "$ac_try") 2>&5
38524 ac_status=$?
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); }; }; then
38527 wx_cv_func_broken_swprintf_decl=no
38528 else
38529 echo "$as_me: failed program was:" >&5
38530 sed 's/^/| /' conftest.$ac_ext >&5
38531
38532 wx_cv_func_broken_swprintf_decl=yes
38533
38534 fi
38535
38536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38537
38538
38539 fi
38540 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38541 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38542
38543 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38544 cat >>confdefs.h <<\_ACEOF
38545 #define HAVE_BROKEN_SWPRINTF_DECL 1
38546 _ACEOF
38547
38548 fi
38549 fi
38550
38551 wchar_headers="#include <stdio.h>
38552 #include <wchar.h>"
38553 case "${host}" in
38554 *-*-solaris2* )
38555 { echo "$as_me:$LINENO: checking for widec.h" >&5
38556 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
38557 if test "${ac_cv_header_widec_h+set}" = set; then
38558 echo $ECHO_N "(cached) $ECHO_C" >&6
38559 else
38560 cat >conftest.$ac_ext <<_ACEOF
38561 /* confdefs.h. */
38562 _ACEOF
38563 cat confdefs.h >>conftest.$ac_ext
38564 cat >>conftest.$ac_ext <<_ACEOF
38565 /* end confdefs.h. */
38566 $ac_includes_default
38567
38568 #include <widec.h>
38569 _ACEOF
38570 rm -f conftest.$ac_objext
38571 if { (ac_try="$ac_compile"
38572 case "(($ac_try" in
38573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38574 *) ac_try_echo=$ac_try;;
38575 esac
38576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38577 (eval "$ac_compile") 2>conftest.er1
38578 ac_status=$?
38579 grep -v '^ *+' conftest.er1 >conftest.err
38580 rm -f conftest.er1
38581 cat conftest.err >&5
38582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583 (exit $ac_status); } &&
38584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38585 { (case "(($ac_try" in
38586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38587 *) ac_try_echo=$ac_try;;
38588 esac
38589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38590 (eval "$ac_try") 2>&5
38591 ac_status=$?
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); }; } &&
38594 { ac_try='test -s conftest.$ac_objext'
38595 { (case "(($ac_try" in
38596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38597 *) ac_try_echo=$ac_try;;
38598 esac
38599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38600 (eval "$ac_try") 2>&5
38601 ac_status=$?
38602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38603 (exit $ac_status); }; }; then
38604 ac_cv_header_widec_h=yes
38605 else
38606 echo "$as_me: failed program was:" >&5
38607 sed 's/^/| /' conftest.$ac_ext >&5
38608
38609 ac_cv_header_widec_h=no
38610 fi
38611
38612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38613 fi
38614 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
38615 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
38616
38617
38618 if test "$ac_cv_header_widec_h" = "yes"; then
38619 wchar_headers="$wchar_headers
38620 #include <widec.h>"
38621 fi
38622 esac
38623
38624
38625 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38626 do
38627 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38628 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38629 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38630 echo $ECHO_N "(cached) $ECHO_C" >&6
38631 else
38632
38633 cat >conftest.$ac_ext <<_ACEOF
38634
38635 /* confdefs.h. */
38636 _ACEOF
38637 cat confdefs.h >>conftest.$ac_ext
38638 cat >>conftest.$ac_ext <<_ACEOF
38639 /* end confdefs.h. */
38640
38641 $wchar_headers
38642 $ac_includes_default
38643
38644 int
38645 main ()
38646 {
38647
38648 #ifndef $wx_func
38649 &$wx_func;
38650 #endif
38651
38652
38653 ;
38654 return 0;
38655 }
38656
38657 _ACEOF
38658 rm -f conftest.$ac_objext conftest$ac_exeext
38659 if { (ac_try="$ac_link"
38660 case "(($ac_try" in
38661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38662 *) ac_try_echo=$ac_try;;
38663 esac
38664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38665 (eval "$ac_link") 2>conftest.er1
38666 ac_status=$?
38667 grep -v '^ *+' conftest.er1 >conftest.err
38668 rm -f conftest.er1
38669 cat conftest.err >&5
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); } &&
38672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38673 { (case "(($ac_try" in
38674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38675 *) ac_try_echo=$ac_try;;
38676 esac
38677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38678 (eval "$ac_try") 2>&5
38679 ac_status=$?
38680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38681 (exit $ac_status); }; } &&
38682 { ac_try='test -s conftest$ac_exeext'
38683 { (case "(($ac_try" in
38684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38685 *) ac_try_echo=$ac_try;;
38686 esac
38687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38688 (eval "$ac_try") 2>&5
38689 ac_status=$?
38690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38691 (exit $ac_status); }; }; then
38692 eval wx_cv_func_$wx_func=yes
38693 else
38694 echo "$as_me: failed program was:" >&5
38695 sed 's/^/| /' conftest.$ac_ext >&5
38696
38697 eval wx_cv_func_$wx_func=no
38698 fi
38699
38700 rm -f core conftest.err conftest.$ac_objext \
38701 conftest$ac_exeext conftest.$ac_ext
38702
38703 fi
38704 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38705 { echo "$as_me:$LINENO: result: $ac_res" >&5
38706 echo "${ECHO_T}$ac_res" >&6; }
38707
38708 if eval test \$wx_cv_func_$wx_func = yes
38709 then
38710 cat >>confdefs.h <<_ACEOF
38711 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38712 _ACEOF
38713
38714
38715 else
38716 :
38717
38718 fi
38719 done
38720
38721
38722 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38723 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38724 cat >conftest.$ac_ext <<_ACEOF
38725 /* confdefs.h. */
38726 _ACEOF
38727 cat confdefs.h >>conftest.$ac_ext
38728 cat >>conftest.$ac_ext <<_ACEOF
38729 /* end confdefs.h. */
38730 #include <wchar.h>
38731 int
38732 main ()
38733 {
38734 &_vsnwprintf;
38735 ;
38736 return 0;
38737 }
38738 _ACEOF
38739 rm -f conftest.$ac_objext
38740 if { (ac_try="$ac_compile"
38741 case "(($ac_try" in
38742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38743 *) ac_try_echo=$ac_try;;
38744 esac
38745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38746 (eval "$ac_compile") 2>conftest.er1
38747 ac_status=$?
38748 grep -v '^ *+' conftest.er1 >conftest.err
38749 rm -f conftest.er1
38750 cat conftest.err >&5
38751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38752 (exit $ac_status); } &&
38753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38754 { (case "(($ac_try" in
38755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38756 *) ac_try_echo=$ac_try;;
38757 esac
38758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38759 (eval "$ac_try") 2>&5
38760 ac_status=$?
38761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762 (exit $ac_status); }; } &&
38763 { ac_try='test -s conftest.$ac_objext'
38764 { (case "(($ac_try" in
38765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38766 *) ac_try_echo=$ac_try;;
38767 esac
38768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38769 (eval "$ac_try") 2>&5
38770 ac_status=$?
38771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38772 (exit $ac_status); }; }; then
38773 { echo "$as_me:$LINENO: result: yes" >&5
38774 echo "${ECHO_T}yes" >&6; }
38775 cat >>confdefs.h <<\_ACEOF
38776 #define HAVE__VSNWPRINTF 1
38777 _ACEOF
38778
38779 else
38780 echo "$as_me: failed program was:" >&5
38781 sed 's/^/| /' conftest.$ac_ext >&5
38782
38783 { echo "$as_me:$LINENO: result: no" >&5
38784 echo "${ECHO_T}no" >&6; }
38785 fi
38786
38787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38788 fi
38789
38790 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38791
38792 for wx_func in fnmatch
38793 do
38794 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38795 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38796 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38797 echo $ECHO_N "(cached) $ECHO_C" >&6
38798 else
38799
38800 cat >conftest.$ac_ext <<_ACEOF
38801
38802 /* confdefs.h. */
38803 _ACEOF
38804 cat confdefs.h >>conftest.$ac_ext
38805 cat >>conftest.$ac_ext <<_ACEOF
38806 /* end confdefs.h. */
38807
38808 #include <fnmatch.h>
38809 $ac_includes_default
38810
38811 int
38812 main ()
38813 {
38814
38815 #ifndef $wx_func
38816 &$wx_func;
38817 #endif
38818
38819
38820 ;
38821 return 0;
38822 }
38823
38824 _ACEOF
38825 rm -f conftest.$ac_objext conftest$ac_exeext
38826 if { (ac_try="$ac_link"
38827 case "(($ac_try" in
38828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38829 *) ac_try_echo=$ac_try;;
38830 esac
38831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38832 (eval "$ac_link") 2>conftest.er1
38833 ac_status=$?
38834 grep -v '^ *+' conftest.er1 >conftest.err
38835 rm -f conftest.er1
38836 cat conftest.err >&5
38837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38838 (exit $ac_status); } &&
38839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38840 { (case "(($ac_try" in
38841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38842 *) ac_try_echo=$ac_try;;
38843 esac
38844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38845 (eval "$ac_try") 2>&5
38846 ac_status=$?
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); }; } &&
38849 { ac_try='test -s conftest$ac_exeext'
38850 { (case "(($ac_try" in
38851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38852 *) ac_try_echo=$ac_try;;
38853 esac
38854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38855 (eval "$ac_try") 2>&5
38856 ac_status=$?
38857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38858 (exit $ac_status); }; }; then
38859 eval wx_cv_func_$wx_func=yes
38860 else
38861 echo "$as_me: failed program was:" >&5
38862 sed 's/^/| /' conftest.$ac_ext >&5
38863
38864 eval wx_cv_func_$wx_func=no
38865 fi
38866
38867 rm -f core conftest.err conftest.$ac_objext \
38868 conftest$ac_exeext conftest.$ac_ext
38869
38870 fi
38871 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38872 { echo "$as_me:$LINENO: result: $ac_res" >&5
38873 echo "${ECHO_T}$ac_res" >&6; }
38874
38875 if eval test \$wx_cv_func_$wx_func = yes
38876 then
38877 cat >>confdefs.h <<_ACEOF
38878 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38879 _ACEOF
38880
38881
38882 else
38883 :
38884
38885 fi
38886 done
38887
38888 fi
38889
38890 if test "$wxUSE_FILE" = "yes"; then
38891
38892 for wx_func in fsync
38893 do
38894 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38895 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38896 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38897 echo $ECHO_N "(cached) $ECHO_C" >&6
38898 else
38899
38900 cat >conftest.$ac_ext <<_ACEOF
38901
38902 /* confdefs.h. */
38903 _ACEOF
38904 cat confdefs.h >>conftest.$ac_ext
38905 cat >>conftest.$ac_ext <<_ACEOF
38906 /* end confdefs.h. */
38907
38908
38909 $ac_includes_default
38910
38911 int
38912 main ()
38913 {
38914
38915 #ifndef $wx_func
38916 &$wx_func;
38917 #endif
38918
38919
38920 ;
38921 return 0;
38922 }
38923
38924 _ACEOF
38925 rm -f conftest.$ac_objext conftest$ac_exeext
38926 if { (ac_try="$ac_link"
38927 case "(($ac_try" in
38928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38929 *) ac_try_echo=$ac_try;;
38930 esac
38931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38932 (eval "$ac_link") 2>conftest.er1
38933 ac_status=$?
38934 grep -v '^ *+' conftest.er1 >conftest.err
38935 rm -f conftest.er1
38936 cat conftest.err >&5
38937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38938 (exit $ac_status); } &&
38939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38940 { (case "(($ac_try" in
38941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38942 *) ac_try_echo=$ac_try;;
38943 esac
38944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38945 (eval "$ac_try") 2>&5
38946 ac_status=$?
38947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948 (exit $ac_status); }; } &&
38949 { ac_try='test -s conftest$ac_exeext'
38950 { (case "(($ac_try" in
38951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38952 *) ac_try_echo=$ac_try;;
38953 esac
38954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38955 (eval "$ac_try") 2>&5
38956 ac_status=$?
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); }; }; then
38959 eval wx_cv_func_$wx_func=yes
38960 else
38961 echo "$as_me: failed program was:" >&5
38962 sed 's/^/| /' conftest.$ac_ext >&5
38963
38964 eval wx_cv_func_$wx_func=no
38965 fi
38966
38967 rm -f core conftest.err conftest.$ac_objext \
38968 conftest$ac_exeext conftest.$ac_ext
38969
38970 fi
38971 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38972 { echo "$as_me:$LINENO: result: $ac_res" >&5
38973 echo "${ECHO_T}$ac_res" >&6; }
38974
38975 if eval test \$wx_cv_func_$wx_func = yes
38976 then
38977 cat >>confdefs.h <<_ACEOF
38978 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38979 _ACEOF
38980
38981
38982 else
38983 :
38984
38985 fi
38986 done
38987
38988 fi
38989
38990
38991 for wx_func in round
38992 do
38993 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38994 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38995 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38996 echo $ECHO_N "(cached) $ECHO_C" >&6
38997 else
38998
38999 cat >conftest.$ac_ext <<_ACEOF
39000
39001 /* confdefs.h. */
39002 _ACEOF
39003 cat confdefs.h >>conftest.$ac_ext
39004 cat >>conftest.$ac_ext <<_ACEOF
39005 /* end confdefs.h. */
39006
39007 #include <math.h>
39008 $ac_includes_default
39009
39010 int
39011 main ()
39012 {
39013
39014 #ifndef $wx_func
39015 &$wx_func;
39016 #endif
39017
39018
39019 ;
39020 return 0;
39021 }
39022
39023 _ACEOF
39024 rm -f conftest.$ac_objext conftest$ac_exeext
39025 if { (ac_try="$ac_link"
39026 case "(($ac_try" in
39027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39028 *) ac_try_echo=$ac_try;;
39029 esac
39030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39031 (eval "$ac_link") 2>conftest.er1
39032 ac_status=$?
39033 grep -v '^ *+' conftest.er1 >conftest.err
39034 rm -f conftest.er1
39035 cat conftest.err >&5
39036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39037 (exit $ac_status); } &&
39038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39039 { (case "(($ac_try" in
39040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39041 *) ac_try_echo=$ac_try;;
39042 esac
39043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39044 (eval "$ac_try") 2>&5
39045 ac_status=$?
39046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39047 (exit $ac_status); }; } &&
39048 { ac_try='test -s conftest$ac_exeext'
39049 { (case "(($ac_try" in
39050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39051 *) ac_try_echo=$ac_try;;
39052 esac
39053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39054 (eval "$ac_try") 2>&5
39055 ac_status=$?
39056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39057 (exit $ac_status); }; }; then
39058 eval wx_cv_func_$wx_func=yes
39059 else
39060 echo "$as_me: failed program was:" >&5
39061 sed 's/^/| /' conftest.$ac_ext >&5
39062
39063 eval wx_cv_func_$wx_func=no
39064 fi
39065
39066 rm -f core conftest.err conftest.$ac_objext \
39067 conftest$ac_exeext conftest.$ac_ext
39068
39069 fi
39070 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39071 { echo "$as_me:$LINENO: result: $ac_res" >&5
39072 echo "${ECHO_T}$ac_res" >&6; }
39073
39074 if eval test \$wx_cv_func_$wx_func = yes
39075 then
39076 cat >>confdefs.h <<_ACEOF
39077 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39078 _ACEOF
39079
39080
39081 else
39082 :
39083
39084 fi
39085 done
39086
39087
39088 if test "$TOOLKIT" != "MSW"; then
39089
39090
39091
39092
39093
39094 # Check whether --with-libiconv-prefix was given.
39095 if test "${with_libiconv_prefix+set}" = set; then
39096 withval=$with_libiconv_prefix;
39097 for dir in `echo "$withval" | tr : ' '`; do
39098 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
39099 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
39100 done
39101
39102 fi
39103
39104
39105 { echo "$as_me:$LINENO: checking for iconv" >&5
39106 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
39107 if test "${am_cv_func_iconv+set}" = set; then
39108 echo $ECHO_N "(cached) $ECHO_C" >&6
39109 else
39110
39111 am_cv_func_iconv="no, consider installing GNU libiconv"
39112 am_cv_lib_iconv=no
39113 cat >conftest.$ac_ext <<_ACEOF
39114 /* confdefs.h. */
39115 _ACEOF
39116 cat confdefs.h >>conftest.$ac_ext
39117 cat >>conftest.$ac_ext <<_ACEOF
39118 /* end confdefs.h. */
39119 #include <stdlib.h>
39120 #include <iconv.h>
39121 int
39122 main ()
39123 {
39124 iconv_t cd = iconv_open("","");
39125 iconv(cd,NULL,NULL,NULL,NULL);
39126 iconv_close(cd);
39127 ;
39128 return 0;
39129 }
39130 _ACEOF
39131 rm -f conftest.$ac_objext conftest$ac_exeext
39132 if { (ac_try="$ac_link"
39133 case "(($ac_try" in
39134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39135 *) ac_try_echo=$ac_try;;
39136 esac
39137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39138 (eval "$ac_link") 2>conftest.er1
39139 ac_status=$?
39140 grep -v '^ *+' conftest.er1 >conftest.err
39141 rm -f conftest.er1
39142 cat conftest.err >&5
39143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39144 (exit $ac_status); } &&
39145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39146 { (case "(($ac_try" in
39147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39148 *) ac_try_echo=$ac_try;;
39149 esac
39150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39151 (eval "$ac_try") 2>&5
39152 ac_status=$?
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); }; } &&
39155 { ac_try='test -s conftest$ac_exeext'
39156 { (case "(($ac_try" in
39157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39158 *) ac_try_echo=$ac_try;;
39159 esac
39160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39161 (eval "$ac_try") 2>&5
39162 ac_status=$?
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); }; }; then
39165 am_cv_func_iconv=yes
39166 else
39167 echo "$as_me: failed program was:" >&5
39168 sed 's/^/| /' conftest.$ac_ext >&5
39169
39170
39171 fi
39172
39173 rm -f core conftest.err conftest.$ac_objext \
39174 conftest$ac_exeext conftest.$ac_ext
39175 if test "$am_cv_func_iconv" != yes; then
39176 am_save_LIBS="$LIBS"
39177 LIBS="$LIBS -liconv"
39178 cat >conftest.$ac_ext <<_ACEOF
39179 /* confdefs.h. */
39180 _ACEOF
39181 cat confdefs.h >>conftest.$ac_ext
39182 cat >>conftest.$ac_ext <<_ACEOF
39183 /* end confdefs.h. */
39184 #include <stdlib.h>
39185 #include <iconv.h>
39186 int
39187 main ()
39188 {
39189 iconv_t cd = iconv_open("","");
39190 iconv(cd,NULL,NULL,NULL,NULL);
39191 iconv_close(cd);
39192 ;
39193 return 0;
39194 }
39195 _ACEOF
39196 rm -f conftest.$ac_objext conftest$ac_exeext
39197 if { (ac_try="$ac_link"
39198 case "(($ac_try" in
39199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39200 *) ac_try_echo=$ac_try;;
39201 esac
39202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39203 (eval "$ac_link") 2>conftest.er1
39204 ac_status=$?
39205 grep -v '^ *+' conftest.er1 >conftest.err
39206 rm -f conftest.er1
39207 cat conftest.err >&5
39208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209 (exit $ac_status); } &&
39210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39211 { (case "(($ac_try" in
39212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39213 *) ac_try_echo=$ac_try;;
39214 esac
39215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39216 (eval "$ac_try") 2>&5
39217 ac_status=$?
39218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39219 (exit $ac_status); }; } &&
39220 { ac_try='test -s conftest$ac_exeext'
39221 { (case "(($ac_try" in
39222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39223 *) ac_try_echo=$ac_try;;
39224 esac
39225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39226 (eval "$ac_try") 2>&5
39227 ac_status=$?
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); }; }; then
39230 am_cv_lib_iconv=yes
39231 am_cv_func_iconv=yes
39232 else
39233 echo "$as_me: failed program was:" >&5
39234 sed 's/^/| /' conftest.$ac_ext >&5
39235
39236
39237 fi
39238
39239 rm -f core conftest.err conftest.$ac_objext \
39240 conftest$ac_exeext conftest.$ac_ext
39241 LIBS="$am_save_LIBS"
39242 fi
39243
39244 fi
39245 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39246 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39247 if test "$am_cv_func_iconv" = yes; then
39248
39249 cat >>confdefs.h <<\_ACEOF
39250 #define HAVE_ICONV 1
39251 _ACEOF
39252
39253 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39254 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39255 if test "${wx_cv_func_iconv_const+set}" = set; then
39256 echo $ECHO_N "(cached) $ECHO_C" >&6
39257 else
39258 cat >conftest.$ac_ext <<_ACEOF
39259 /* confdefs.h. */
39260 _ACEOF
39261 cat confdefs.h >>conftest.$ac_ext
39262 cat >>conftest.$ac_ext <<_ACEOF
39263 /* end confdefs.h. */
39264
39265 #include <stdlib.h>
39266 #include <iconv.h>
39267 extern
39268 #ifdef __cplusplus
39269 "C"
39270 #endif
39271 #if defined(__STDC__) || defined(__cplusplus)
39272 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39273 #else
39274 size_t iconv();
39275 #endif
39276
39277 int
39278 main ()
39279 {
39280
39281 ;
39282 return 0;
39283 }
39284 _ACEOF
39285 rm -f conftest.$ac_objext
39286 if { (ac_try="$ac_compile"
39287 case "(($ac_try" in
39288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39289 *) ac_try_echo=$ac_try;;
39290 esac
39291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39292 (eval "$ac_compile") 2>conftest.er1
39293 ac_status=$?
39294 grep -v '^ *+' conftest.er1 >conftest.err
39295 rm -f conftest.er1
39296 cat conftest.err >&5
39297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39298 (exit $ac_status); } &&
39299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39300 { (case "(($ac_try" in
39301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39302 *) ac_try_echo=$ac_try;;
39303 esac
39304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39305 (eval "$ac_try") 2>&5
39306 ac_status=$?
39307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39308 (exit $ac_status); }; } &&
39309 { ac_try='test -s conftest.$ac_objext'
39310 { (case "(($ac_try" in
39311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39312 *) ac_try_echo=$ac_try;;
39313 esac
39314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39315 (eval "$ac_try") 2>&5
39316 ac_status=$?
39317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39318 (exit $ac_status); }; }; then
39319 wx_cv_func_iconv_const="no"
39320 else
39321 echo "$as_me: failed program was:" >&5
39322 sed 's/^/| /' conftest.$ac_ext >&5
39323
39324 wx_cv_func_iconv_const="yes"
39325
39326 fi
39327
39328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39329
39330 fi
39331 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39332 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39333
39334 iconv_const=
39335 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39336 iconv_const="const"
39337 fi
39338
39339
39340 cat >>confdefs.h <<_ACEOF
39341 #define ICONV_CONST $iconv_const
39342 _ACEOF
39343
39344 fi
39345 LIBICONV=
39346 if test "$am_cv_lib_iconv" = yes; then
39347 LIBICONV="-liconv"
39348 fi
39349
39350
39351 LIBS="$LIBICONV $LIBS"
39352
39353 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39354
39355 for ac_func in sigaction
39356 do
39357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39358 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39360 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39361 echo $ECHO_N "(cached) $ECHO_C" >&6
39362 else
39363 cat >conftest.$ac_ext <<_ACEOF
39364 /* confdefs.h. */
39365 _ACEOF
39366 cat confdefs.h >>conftest.$ac_ext
39367 cat >>conftest.$ac_ext <<_ACEOF
39368 /* end confdefs.h. */
39369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39371 #define $ac_func innocuous_$ac_func
39372
39373 /* System header to define __stub macros and hopefully few prototypes,
39374 which can conflict with char $ac_func (); below.
39375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39376 <limits.h> exists even on freestanding compilers. */
39377
39378 #ifdef __STDC__
39379 # include <limits.h>
39380 #else
39381 # include <assert.h>
39382 #endif
39383
39384 #undef $ac_func
39385
39386 /* Override any GCC internal prototype to avoid an error.
39387 Use char because int might match the return type of a GCC
39388 builtin and then its argument prototype would still apply. */
39389 #ifdef __cplusplus
39390 extern "C"
39391 #endif
39392 char $ac_func ();
39393 /* The GNU C library defines this for functions which it implements
39394 to always fail with ENOSYS. Some functions are actually named
39395 something starting with __ and the normal name is an alias. */
39396 #if defined __stub_$ac_func || defined __stub___$ac_func
39397 choke me
39398 #endif
39399
39400 int
39401 main ()
39402 {
39403 return $ac_func ();
39404 ;
39405 return 0;
39406 }
39407 _ACEOF
39408 rm -f conftest.$ac_objext conftest$ac_exeext
39409 if { (ac_try="$ac_link"
39410 case "(($ac_try" in
39411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39412 *) ac_try_echo=$ac_try;;
39413 esac
39414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39415 (eval "$ac_link") 2>conftest.er1
39416 ac_status=$?
39417 grep -v '^ *+' conftest.er1 >conftest.err
39418 rm -f conftest.er1
39419 cat conftest.err >&5
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); } &&
39422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39423 { (case "(($ac_try" in
39424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39425 *) ac_try_echo=$ac_try;;
39426 esac
39427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39428 (eval "$ac_try") 2>&5
39429 ac_status=$?
39430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39431 (exit $ac_status); }; } &&
39432 { ac_try='test -s conftest$ac_exeext'
39433 { (case "(($ac_try" in
39434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39435 *) ac_try_echo=$ac_try;;
39436 esac
39437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39438 (eval "$ac_try") 2>&5
39439 ac_status=$?
39440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39441 (exit $ac_status); }; }; then
39442 eval "$as_ac_var=yes"
39443 else
39444 echo "$as_me: failed program was:" >&5
39445 sed 's/^/| /' conftest.$ac_ext >&5
39446
39447 eval "$as_ac_var=no"
39448 fi
39449
39450 rm -f core conftest.err conftest.$ac_objext \
39451 conftest$ac_exeext conftest.$ac_ext
39452 fi
39453 ac_res=`eval echo '${'$as_ac_var'}'`
39454 { echo "$as_me:$LINENO: result: $ac_res" >&5
39455 echo "${ECHO_T}$ac_res" >&6; }
39456 if test `eval echo '${'$as_ac_var'}'` = yes; then
39457 cat >>confdefs.h <<_ACEOF
39458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39459 _ACEOF
39460
39461 fi
39462 done
39463
39464
39465 if test "$ac_cv_func_sigaction" = "no"; then
39466 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39467 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39468 wxUSE_ON_FATAL_EXCEPTION=no
39469 fi
39470
39471 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39472 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39473 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39474 if test "${wx_cv_type_sa_handler+set}" = set; then
39475 echo $ECHO_N "(cached) $ECHO_C" >&6
39476 else
39477
39478 ac_ext=cpp
39479 ac_cpp='$CXXCPP $CPPFLAGS'
39480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39483
39484 cat >conftest.$ac_ext <<_ACEOF
39485 /* confdefs.h. */
39486 _ACEOF
39487 cat confdefs.h >>conftest.$ac_ext
39488 cat >>conftest.$ac_ext <<_ACEOF
39489 /* end confdefs.h. */
39490 #include <signal.h>
39491 int
39492 main ()
39493 {
39494
39495 extern void testSigHandler(int);
39496
39497 struct sigaction sa;
39498 sa.sa_handler = testSigHandler;
39499
39500 ;
39501 return 0;
39502 }
39503 _ACEOF
39504 rm -f conftest.$ac_objext
39505 if { (ac_try="$ac_compile"
39506 case "(($ac_try" in
39507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39508 *) ac_try_echo=$ac_try;;
39509 esac
39510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39511 (eval "$ac_compile") 2>conftest.er1
39512 ac_status=$?
39513 grep -v '^ *+' conftest.er1 >conftest.err
39514 rm -f conftest.er1
39515 cat conftest.err >&5
39516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39517 (exit $ac_status); } &&
39518 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39519 { (case "(($ac_try" in
39520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39521 *) ac_try_echo=$ac_try;;
39522 esac
39523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39524 (eval "$ac_try") 2>&5
39525 ac_status=$?
39526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39527 (exit $ac_status); }; } &&
39528 { ac_try='test -s conftest.$ac_objext'
39529 { (case "(($ac_try" in
39530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39531 *) ac_try_echo=$ac_try;;
39532 esac
39533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39534 (eval "$ac_try") 2>&5
39535 ac_status=$?
39536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39537 (exit $ac_status); }; }; then
39538
39539 wx_cv_type_sa_handler=int
39540
39541 else
39542 echo "$as_me: failed program was:" >&5
39543 sed 's/^/| /' conftest.$ac_ext >&5
39544
39545
39546 wx_cv_type_sa_handler=void
39547
39548 fi
39549
39550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39551 ac_ext=c
39552 ac_cpp='$CPP $CPPFLAGS'
39553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39556
39557
39558 fi
39559 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39560 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39561
39562 cat >>confdefs.h <<_ACEOF
39563 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39564 _ACEOF
39565
39566 fi
39567 fi
39568
39569 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39570 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39571 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39572 if test "${wx_cv_func_backtrace+set}" = set; then
39573 echo $ECHO_N "(cached) $ECHO_C" >&6
39574 else
39575
39576 ac_ext=cpp
39577 ac_cpp='$CXXCPP $CPPFLAGS'
39578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39581
39582 cat >conftest.$ac_ext <<_ACEOF
39583 /* confdefs.h. */
39584 _ACEOF
39585 cat confdefs.h >>conftest.$ac_ext
39586 cat >>conftest.$ac_ext <<_ACEOF
39587 /* end confdefs.h. */
39588 #include <execinfo.h>
39589 int
39590 main ()
39591 {
39592
39593 void *trace[1];
39594 char **messages;
39595
39596 backtrace(trace, 1);
39597 messages = backtrace_symbols(trace, 1);
39598
39599 ;
39600 return 0;
39601 }
39602 _ACEOF
39603 rm -f conftest.$ac_objext
39604 if { (ac_try="$ac_compile"
39605 case "(($ac_try" in
39606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39607 *) ac_try_echo=$ac_try;;
39608 esac
39609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39610 (eval "$ac_compile") 2>conftest.er1
39611 ac_status=$?
39612 grep -v '^ *+' conftest.er1 >conftest.err
39613 rm -f conftest.er1
39614 cat conftest.err >&5
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); } &&
39617 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39618 { (case "(($ac_try" in
39619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39620 *) ac_try_echo=$ac_try;;
39621 esac
39622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39623 (eval "$ac_try") 2>&5
39624 ac_status=$?
39625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39626 (exit $ac_status); }; } &&
39627 { ac_try='test -s conftest.$ac_objext'
39628 { (case "(($ac_try" in
39629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39630 *) ac_try_echo=$ac_try;;
39631 esac
39632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39633 (eval "$ac_try") 2>&5
39634 ac_status=$?
39635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39636 (exit $ac_status); }; }; then
39637 wx_cv_func_backtrace=yes
39638 else
39639 echo "$as_me: failed program was:" >&5
39640 sed 's/^/| /' conftest.$ac_ext >&5
39641
39642 wx_cv_func_backtrace=no
39643
39644 fi
39645
39646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39647 ac_ext=c
39648 ac_cpp='$CPP $CPPFLAGS'
39649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39652
39653
39654
39655 fi
39656 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39657 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39658
39659
39660 if test "$wx_cv_func_backtrace" = "no"; then
39661 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39662 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39663 wxUSE_STACKWALKER=no
39664 else
39665 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39666 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39667 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39668 echo $ECHO_N "(cached) $ECHO_C" >&6
39669 else
39670
39671 ac_ext=cpp
39672 ac_cpp='$CXXCPP $CPPFLAGS'
39673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39676
39677 cat >conftest.$ac_ext <<_ACEOF
39678 /* confdefs.h. */
39679 _ACEOF
39680 cat confdefs.h >>conftest.$ac_ext
39681 cat >>conftest.$ac_ext <<_ACEOF
39682 /* end confdefs.h. */
39683 #include <cxxabi.h>
39684 int
39685 main ()
39686 {
39687
39688 int rc;
39689 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39690
39691 ;
39692 return 0;
39693 }
39694 _ACEOF
39695 rm -f conftest.$ac_objext conftest$ac_exeext
39696 if { (ac_try="$ac_link"
39697 case "(($ac_try" in
39698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39699 *) ac_try_echo=$ac_try;;
39700 esac
39701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39702 (eval "$ac_link") 2>conftest.er1
39703 ac_status=$?
39704 grep -v '^ *+' conftest.er1 >conftest.err
39705 rm -f conftest.er1
39706 cat conftest.err >&5
39707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39708 (exit $ac_status); } &&
39709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39710 { (case "(($ac_try" in
39711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39712 *) ac_try_echo=$ac_try;;
39713 esac
39714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39715 (eval "$ac_try") 2>&5
39716 ac_status=$?
39717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39718 (exit $ac_status); }; } &&
39719 { ac_try='test -s conftest$ac_exeext'
39720 { (case "(($ac_try" in
39721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39722 *) ac_try_echo=$ac_try;;
39723 esac
39724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39725 (eval "$ac_try") 2>&5
39726 ac_status=$?
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); }; }; then
39729 wx_cv_func_cxa_demangle=yes
39730 else
39731 echo "$as_me: failed program was:" >&5
39732 sed 's/^/| /' conftest.$ac_ext >&5
39733
39734 wx_cv_func_cxa_demangle=no
39735
39736 fi
39737
39738 rm -f core conftest.err conftest.$ac_objext \
39739 conftest$ac_exeext conftest.$ac_ext
39740 ac_ext=c
39741 ac_cpp='$CPP $CPPFLAGS'
39742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39745
39746
39747
39748 fi
39749 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39750 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39751
39752 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39753 cat >>confdefs.h <<\_ACEOF
39754 #define HAVE_CXA_DEMANGLE 1
39755 _ACEOF
39756
39757 fi
39758 fi
39759 fi
39760
39761 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39762 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39763 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39764 wxUSE_STACKWALKER=no
39765 fi
39766
39767
39768
39769
39770 for ac_func in mkstemp mktemp
39771 do
39772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39773 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39775 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39776 echo $ECHO_N "(cached) $ECHO_C" >&6
39777 else
39778 cat >conftest.$ac_ext <<_ACEOF
39779 /* confdefs.h. */
39780 _ACEOF
39781 cat confdefs.h >>conftest.$ac_ext
39782 cat >>conftest.$ac_ext <<_ACEOF
39783 /* end confdefs.h. */
39784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39786 #define $ac_func innocuous_$ac_func
39787
39788 /* System header to define __stub macros and hopefully few prototypes,
39789 which can conflict with char $ac_func (); below.
39790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39791 <limits.h> exists even on freestanding compilers. */
39792
39793 #ifdef __STDC__
39794 # include <limits.h>
39795 #else
39796 # include <assert.h>
39797 #endif
39798
39799 #undef $ac_func
39800
39801 /* Override any GCC internal prototype to avoid an error.
39802 Use char because int might match the return type of a GCC
39803 builtin and then its argument prototype would still apply. */
39804 #ifdef __cplusplus
39805 extern "C"
39806 #endif
39807 char $ac_func ();
39808 /* The GNU C library defines this for functions which it implements
39809 to always fail with ENOSYS. Some functions are actually named
39810 something starting with __ and the normal name is an alias. */
39811 #if defined __stub_$ac_func || defined __stub___$ac_func
39812 choke me
39813 #endif
39814
39815 int
39816 main ()
39817 {
39818 return $ac_func ();
39819 ;
39820 return 0;
39821 }
39822 _ACEOF
39823 rm -f conftest.$ac_objext conftest$ac_exeext
39824 if { (ac_try="$ac_link"
39825 case "(($ac_try" in
39826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39827 *) ac_try_echo=$ac_try;;
39828 esac
39829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39830 (eval "$ac_link") 2>conftest.er1
39831 ac_status=$?
39832 grep -v '^ *+' conftest.er1 >conftest.err
39833 rm -f conftest.er1
39834 cat conftest.err >&5
39835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39836 (exit $ac_status); } &&
39837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39838 { (case "(($ac_try" in
39839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39840 *) ac_try_echo=$ac_try;;
39841 esac
39842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39843 (eval "$ac_try") 2>&5
39844 ac_status=$?
39845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39846 (exit $ac_status); }; } &&
39847 { ac_try='test -s conftest$ac_exeext'
39848 { (case "(($ac_try" in
39849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39850 *) ac_try_echo=$ac_try;;
39851 esac
39852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39853 (eval "$ac_try") 2>&5
39854 ac_status=$?
39855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39856 (exit $ac_status); }; }; then
39857 eval "$as_ac_var=yes"
39858 else
39859 echo "$as_me: failed program was:" >&5
39860 sed 's/^/| /' conftest.$ac_ext >&5
39861
39862 eval "$as_ac_var=no"
39863 fi
39864
39865 rm -f core conftest.err conftest.$ac_objext \
39866 conftest$ac_exeext conftest.$ac_ext
39867 fi
39868 ac_res=`eval echo '${'$as_ac_var'}'`
39869 { echo "$as_me:$LINENO: result: $ac_res" >&5
39870 echo "${ECHO_T}$ac_res" >&6; }
39871 if test `eval echo '${'$as_ac_var'}'` = yes; then
39872 cat >>confdefs.h <<_ACEOF
39873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39874 _ACEOF
39875 break
39876 fi
39877 done
39878
39879
39880 { echo "$as_me:$LINENO: checking for statfs" >&5
39881 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39882 if test "${wx_cv_func_statfs+set}" = set; then
39883 echo $ECHO_N "(cached) $ECHO_C" >&6
39884 else
39885 cat >conftest.$ac_ext <<_ACEOF
39886 /* confdefs.h. */
39887 _ACEOF
39888 cat confdefs.h >>conftest.$ac_ext
39889 cat >>conftest.$ac_ext <<_ACEOF
39890 /* end confdefs.h. */
39891
39892 #if defined(__BSD__)
39893 #include <sys/param.h>
39894 #include <sys/mount.h>
39895 #else
39896 #include <sys/vfs.h>
39897 #endif
39898
39899 int
39900 main ()
39901 {
39902
39903 long l;
39904 struct statfs fs;
39905 statfs("/", &fs);
39906 l = fs.f_bsize;
39907 l += fs.f_blocks;
39908 l += fs.f_bavail;
39909
39910 ;
39911 return 0;
39912 }
39913 _ACEOF
39914 rm -f conftest.$ac_objext
39915 if { (ac_try="$ac_compile"
39916 case "(($ac_try" in
39917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39918 *) ac_try_echo=$ac_try;;
39919 esac
39920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39921 (eval "$ac_compile") 2>conftest.er1
39922 ac_status=$?
39923 grep -v '^ *+' conftest.er1 >conftest.err
39924 rm -f conftest.er1
39925 cat conftest.err >&5
39926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39927 (exit $ac_status); } &&
39928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39929 { (case "(($ac_try" in
39930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39931 *) ac_try_echo=$ac_try;;
39932 esac
39933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39934 (eval "$ac_try") 2>&5
39935 ac_status=$?
39936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39937 (exit $ac_status); }; } &&
39938 { ac_try='test -s conftest.$ac_objext'
39939 { (case "(($ac_try" in
39940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39941 *) ac_try_echo=$ac_try;;
39942 esac
39943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39944 (eval "$ac_try") 2>&5
39945 ac_status=$?
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); }; }; then
39948 wx_cv_func_statfs=yes
39949 else
39950 echo "$as_me: failed program was:" >&5
39951 sed 's/^/| /' conftest.$ac_ext >&5
39952
39953 wx_cv_func_statfs=no
39954
39955 fi
39956
39957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39958
39959 fi
39960 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39961 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39962
39963 if test "$wx_cv_func_statfs" = "yes"; then
39964 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39965 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39966 if test "${wx_cv_func_statfs_decl+set}" = set; then
39967 echo $ECHO_N "(cached) $ECHO_C" >&6
39968 else
39969 ac_ext=cpp
39970 ac_cpp='$CXXCPP $CPPFLAGS'
39971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39974
39975 cat >conftest.$ac_ext <<_ACEOF
39976 /* confdefs.h. */
39977 _ACEOF
39978 cat confdefs.h >>conftest.$ac_ext
39979 cat >>conftest.$ac_ext <<_ACEOF
39980 /* end confdefs.h. */
39981
39982 #if defined(__BSD__)
39983 #include <sys/param.h>
39984 #include <sys/mount.h>
39985 #else
39986 #include <sys/vfs.h>
39987 #endif
39988
39989 int
39990 main ()
39991 {
39992
39993 struct statfs fs;
39994 statfs("", &fs);
39995
39996 ;
39997 return 0;
39998 }
39999 _ACEOF
40000 rm -f conftest.$ac_objext
40001 if { (ac_try="$ac_compile"
40002 case "(($ac_try" in
40003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40004 *) ac_try_echo=$ac_try;;
40005 esac
40006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40007 (eval "$ac_compile") 2>conftest.er1
40008 ac_status=$?
40009 grep -v '^ *+' conftest.er1 >conftest.err
40010 rm -f conftest.er1
40011 cat conftest.err >&5
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); } &&
40014 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40015 { (case "(($ac_try" in
40016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40017 *) ac_try_echo=$ac_try;;
40018 esac
40019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40020 (eval "$ac_try") 2>&5
40021 ac_status=$?
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); }; } &&
40024 { ac_try='test -s conftest.$ac_objext'
40025 { (case "(($ac_try" in
40026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40027 *) ac_try_echo=$ac_try;;
40028 esac
40029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40030 (eval "$ac_try") 2>&5
40031 ac_status=$?
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); }; }; then
40034 wx_cv_func_statfs_decl=yes
40035 else
40036 echo "$as_me: failed program was:" >&5
40037 sed 's/^/| /' conftest.$ac_ext >&5
40038
40039 wx_cv_func_statfs_decl=no
40040
40041 fi
40042
40043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40044 ac_ext=c
40045 ac_cpp='$CPP $CPPFLAGS'
40046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40049
40050
40051 fi
40052 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40053 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40054
40055 if test "$wx_cv_func_statfs_decl" = "yes"; then
40056 cat >>confdefs.h <<\_ACEOF
40057 #define HAVE_STATFS_DECL 1
40058 _ACEOF
40059
40060 fi
40061
40062 wx_cv_type_statvfs_t="struct statfs"
40063 cat >>confdefs.h <<\_ACEOF
40064 #define HAVE_STATFS 1
40065 _ACEOF
40066
40067 else
40068 { echo "$as_me:$LINENO: checking for statvfs" >&5
40069 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40070 if test "${wx_cv_func_statvfs+set}" = set; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40072 else
40073 cat >conftest.$ac_ext <<_ACEOF
40074 /* confdefs.h. */
40075 _ACEOF
40076 cat confdefs.h >>conftest.$ac_ext
40077 cat >>conftest.$ac_ext <<_ACEOF
40078 /* end confdefs.h. */
40079
40080 #include <stddef.h>
40081 #include <sys/statvfs.h>
40082
40083 int
40084 main ()
40085 {
40086
40087 statvfs("/", NULL);
40088
40089 ;
40090 return 0;
40091 }
40092 _ACEOF
40093 rm -f conftest.$ac_objext
40094 if { (ac_try="$ac_compile"
40095 case "(($ac_try" in
40096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40097 *) ac_try_echo=$ac_try;;
40098 esac
40099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40100 (eval "$ac_compile") 2>conftest.er1
40101 ac_status=$?
40102 grep -v '^ *+' conftest.er1 >conftest.err
40103 rm -f conftest.er1
40104 cat conftest.err >&5
40105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40106 (exit $ac_status); } &&
40107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40108 { (case "(($ac_try" in
40109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40110 *) ac_try_echo=$ac_try;;
40111 esac
40112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40113 (eval "$ac_try") 2>&5
40114 ac_status=$?
40115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40116 (exit $ac_status); }; } &&
40117 { ac_try='test -s conftest.$ac_objext'
40118 { (case "(($ac_try" in
40119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40120 *) ac_try_echo=$ac_try;;
40121 esac
40122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40123 (eval "$ac_try") 2>&5
40124 ac_status=$?
40125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126 (exit $ac_status); }; }; then
40127 wx_cv_func_statvfs=yes
40128 else
40129 echo "$as_me: failed program was:" >&5
40130 sed 's/^/| /' conftest.$ac_ext >&5
40131
40132 wx_cv_func_statvfs=no
40133
40134 fi
40135
40136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40137
40138 fi
40139 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40140 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40141
40142 if test "$wx_cv_func_statvfs" = "yes"; then
40143 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40144 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40145 if test "${wx_cv_type_statvfs_t+set}" = set; then
40146 echo $ECHO_N "(cached) $ECHO_C" >&6
40147 else
40148 ac_ext=cpp
40149 ac_cpp='$CXXCPP $CPPFLAGS'
40150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40153
40154 cat >conftest.$ac_ext <<_ACEOF
40155 /* confdefs.h. */
40156 _ACEOF
40157 cat confdefs.h >>conftest.$ac_ext
40158 cat >>conftest.$ac_ext <<_ACEOF
40159 /* end confdefs.h. */
40160
40161 #include <sys/statvfs.h>
40162
40163 int
40164 main ()
40165 {
40166
40167 long l;
40168 statvfs_t fs;
40169 statvfs("/", &fs);
40170 l = fs.f_bsize;
40171 l += fs.f_blocks;
40172 l += fs.f_bavail;
40173
40174 ;
40175 return 0;
40176 }
40177 _ACEOF
40178 rm -f conftest.$ac_objext
40179 if { (ac_try="$ac_compile"
40180 case "(($ac_try" in
40181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40182 *) ac_try_echo=$ac_try;;
40183 esac
40184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40185 (eval "$ac_compile") 2>conftest.er1
40186 ac_status=$?
40187 grep -v '^ *+' conftest.er1 >conftest.err
40188 rm -f conftest.er1
40189 cat conftest.err >&5
40190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40191 (exit $ac_status); } &&
40192 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40193 { (case "(($ac_try" in
40194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40195 *) ac_try_echo=$ac_try;;
40196 esac
40197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40198 (eval "$ac_try") 2>&5
40199 ac_status=$?
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); }; } &&
40202 { ac_try='test -s conftest.$ac_objext'
40203 { (case "(($ac_try" in
40204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40205 *) ac_try_echo=$ac_try;;
40206 esac
40207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40208 (eval "$ac_try") 2>&5
40209 ac_status=$?
40210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40211 (exit $ac_status); }; }; then
40212 wx_cv_type_statvfs_t=statvfs_t
40213 else
40214 echo "$as_me: failed program was:" >&5
40215 sed 's/^/| /' conftest.$ac_ext >&5
40216
40217
40218 cat >conftest.$ac_ext <<_ACEOF
40219 /* confdefs.h. */
40220 _ACEOF
40221 cat confdefs.h >>conftest.$ac_ext
40222 cat >>conftest.$ac_ext <<_ACEOF
40223 /* end confdefs.h. */
40224
40225 #include <sys/statvfs.h>
40226
40227 int
40228 main ()
40229 {
40230
40231 long l;
40232 struct statvfs fs;
40233 statvfs("/", &fs);
40234 l = fs.f_bsize;
40235 l += fs.f_blocks;
40236 l += fs.f_bavail;
40237
40238 ;
40239 return 0;
40240 }
40241 _ACEOF
40242 rm -f conftest.$ac_objext
40243 if { (ac_try="$ac_compile"
40244 case "(($ac_try" in
40245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40246 *) ac_try_echo=$ac_try;;
40247 esac
40248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40249 (eval "$ac_compile") 2>conftest.er1
40250 ac_status=$?
40251 grep -v '^ *+' conftest.er1 >conftest.err
40252 rm -f conftest.er1
40253 cat conftest.err >&5
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); } &&
40256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40257 { (case "(($ac_try" in
40258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40259 *) ac_try_echo=$ac_try;;
40260 esac
40261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40262 (eval "$ac_try") 2>&5
40263 ac_status=$?
40264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40265 (exit $ac_status); }; } &&
40266 { ac_try='test -s conftest.$ac_objext'
40267 { (case "(($ac_try" in
40268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40269 *) ac_try_echo=$ac_try;;
40270 esac
40271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40272 (eval "$ac_try") 2>&5
40273 ac_status=$?
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); }; }; then
40276 wx_cv_type_statvfs_t="struct statvfs"
40277 else
40278 echo "$as_me: failed program was:" >&5
40279 sed 's/^/| /' conftest.$ac_ext >&5
40280
40281 wx_cv_type_statvfs_t="unknown"
40282
40283 fi
40284
40285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40286
40287
40288 fi
40289
40290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40291 ac_ext=c
40292 ac_cpp='$CPP $CPPFLAGS'
40293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40296
40297
40298 fi
40299 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
40300 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
40301
40302 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40303 cat >>confdefs.h <<\_ACEOF
40304 #define HAVE_STATVFS 1
40305 _ACEOF
40306
40307 fi
40308 else
40309 wx_cv_type_statvfs_t="unknown"
40310 fi
40311 fi
40312
40313 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40314 cat >>confdefs.h <<_ACEOF
40315 #define WX_STATFS_T $wx_cv_type_statvfs_t
40316 _ACEOF
40317
40318 else
40319 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40320 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40321 fi
40322
40323 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40324
40325
40326 for ac_func in fcntl flock
40327 do
40328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40329 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40331 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40332 echo $ECHO_N "(cached) $ECHO_C" >&6
40333 else
40334 cat >conftest.$ac_ext <<_ACEOF
40335 /* confdefs.h. */
40336 _ACEOF
40337 cat confdefs.h >>conftest.$ac_ext
40338 cat >>conftest.$ac_ext <<_ACEOF
40339 /* end confdefs.h. */
40340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40342 #define $ac_func innocuous_$ac_func
40343
40344 /* System header to define __stub macros and hopefully few prototypes,
40345 which can conflict with char $ac_func (); below.
40346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40347 <limits.h> exists even on freestanding compilers. */
40348
40349 #ifdef __STDC__
40350 # include <limits.h>
40351 #else
40352 # include <assert.h>
40353 #endif
40354
40355 #undef $ac_func
40356
40357 /* Override any GCC internal prototype to avoid an error.
40358 Use char because int might match the return type of a GCC
40359 builtin and then its argument prototype would still apply. */
40360 #ifdef __cplusplus
40361 extern "C"
40362 #endif
40363 char $ac_func ();
40364 /* The GNU C library defines this for functions which it implements
40365 to always fail with ENOSYS. Some functions are actually named
40366 something starting with __ and the normal name is an alias. */
40367 #if defined __stub_$ac_func || defined __stub___$ac_func
40368 choke me
40369 #endif
40370
40371 int
40372 main ()
40373 {
40374 return $ac_func ();
40375 ;
40376 return 0;
40377 }
40378 _ACEOF
40379 rm -f conftest.$ac_objext conftest$ac_exeext
40380 if { (ac_try="$ac_link"
40381 case "(($ac_try" in
40382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40383 *) ac_try_echo=$ac_try;;
40384 esac
40385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40386 (eval "$ac_link") 2>conftest.er1
40387 ac_status=$?
40388 grep -v '^ *+' conftest.er1 >conftest.err
40389 rm -f conftest.er1
40390 cat conftest.err >&5
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); } &&
40393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40394 { (case "(($ac_try" in
40395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40396 *) ac_try_echo=$ac_try;;
40397 esac
40398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40399 (eval "$ac_try") 2>&5
40400 ac_status=$?
40401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402 (exit $ac_status); }; } &&
40403 { ac_try='test -s conftest$ac_exeext'
40404 { (case "(($ac_try" in
40405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40406 *) ac_try_echo=$ac_try;;
40407 esac
40408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40409 (eval "$ac_try") 2>&5
40410 ac_status=$?
40411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40412 (exit $ac_status); }; }; then
40413 eval "$as_ac_var=yes"
40414 else
40415 echo "$as_me: failed program was:" >&5
40416 sed 's/^/| /' conftest.$ac_ext >&5
40417
40418 eval "$as_ac_var=no"
40419 fi
40420
40421 rm -f core conftest.err conftest.$ac_objext \
40422 conftest$ac_exeext conftest.$ac_ext
40423 fi
40424 ac_res=`eval echo '${'$as_ac_var'}'`
40425 { echo "$as_me:$LINENO: result: $ac_res" >&5
40426 echo "${ECHO_T}$ac_res" >&6; }
40427 if test `eval echo '${'$as_ac_var'}'` = yes; then
40428 cat >>confdefs.h <<_ACEOF
40429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40430 _ACEOF
40431 break
40432 fi
40433 done
40434
40435
40436 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40437 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40438 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40439 wxUSE_SNGLINST_CHECKER=no
40440 fi
40441 fi
40442
40443
40444 for ac_func in timegm
40445 do
40446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40447 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40449 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40450 echo $ECHO_N "(cached) $ECHO_C" >&6
40451 else
40452 cat >conftest.$ac_ext <<_ACEOF
40453 /* confdefs.h. */
40454 _ACEOF
40455 cat confdefs.h >>conftest.$ac_ext
40456 cat >>conftest.$ac_ext <<_ACEOF
40457 /* end confdefs.h. */
40458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40460 #define $ac_func innocuous_$ac_func
40461
40462 /* System header to define __stub macros and hopefully few prototypes,
40463 which can conflict with char $ac_func (); below.
40464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40465 <limits.h> exists even on freestanding compilers. */
40466
40467 #ifdef __STDC__
40468 # include <limits.h>
40469 #else
40470 # include <assert.h>
40471 #endif
40472
40473 #undef $ac_func
40474
40475 /* Override any GCC internal prototype to avoid an error.
40476 Use char because int might match the return type of a GCC
40477 builtin and then its argument prototype would still apply. */
40478 #ifdef __cplusplus
40479 extern "C"
40480 #endif
40481 char $ac_func ();
40482 /* The GNU C library defines this for functions which it implements
40483 to always fail with ENOSYS. Some functions are actually named
40484 something starting with __ and the normal name is an alias. */
40485 #if defined __stub_$ac_func || defined __stub___$ac_func
40486 choke me
40487 #endif
40488
40489 int
40490 main ()
40491 {
40492 return $ac_func ();
40493 ;
40494 return 0;
40495 }
40496 _ACEOF
40497 rm -f conftest.$ac_objext conftest$ac_exeext
40498 if { (ac_try="$ac_link"
40499 case "(($ac_try" in
40500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40501 *) ac_try_echo=$ac_try;;
40502 esac
40503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40504 (eval "$ac_link") 2>conftest.er1
40505 ac_status=$?
40506 grep -v '^ *+' conftest.er1 >conftest.err
40507 rm -f conftest.er1
40508 cat conftest.err >&5
40509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510 (exit $ac_status); } &&
40511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40512 { (case "(($ac_try" in
40513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40514 *) ac_try_echo=$ac_try;;
40515 esac
40516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40517 (eval "$ac_try") 2>&5
40518 ac_status=$?
40519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40520 (exit $ac_status); }; } &&
40521 { ac_try='test -s conftest$ac_exeext'
40522 { (case "(($ac_try" in
40523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40524 *) ac_try_echo=$ac_try;;
40525 esac
40526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40527 (eval "$ac_try") 2>&5
40528 ac_status=$?
40529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40530 (exit $ac_status); }; }; then
40531 eval "$as_ac_var=yes"
40532 else
40533 echo "$as_me: failed program was:" >&5
40534 sed 's/^/| /' conftest.$ac_ext >&5
40535
40536 eval "$as_ac_var=no"
40537 fi
40538
40539 rm -f core conftest.err conftest.$ac_objext \
40540 conftest$ac_exeext conftest.$ac_ext
40541 fi
40542 ac_res=`eval echo '${'$as_ac_var'}'`
40543 { echo "$as_me:$LINENO: result: $ac_res" >&5
40544 echo "${ECHO_T}$ac_res" >&6; }
40545 if test `eval echo '${'$as_ac_var'}'` = yes; then
40546 cat >>confdefs.h <<_ACEOF
40547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40548 _ACEOF
40549
40550 fi
40551 done
40552
40553
40554
40555
40556 for ac_func in putenv setenv
40557 do
40558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40559 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40561 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40562 echo $ECHO_N "(cached) $ECHO_C" >&6
40563 else
40564 cat >conftest.$ac_ext <<_ACEOF
40565 /* confdefs.h. */
40566 _ACEOF
40567 cat confdefs.h >>conftest.$ac_ext
40568 cat >>conftest.$ac_ext <<_ACEOF
40569 /* end confdefs.h. */
40570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40572 #define $ac_func innocuous_$ac_func
40573
40574 /* System header to define __stub macros and hopefully few prototypes,
40575 which can conflict with char $ac_func (); below.
40576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40577 <limits.h> exists even on freestanding compilers. */
40578
40579 #ifdef __STDC__
40580 # include <limits.h>
40581 #else
40582 # include <assert.h>
40583 #endif
40584
40585 #undef $ac_func
40586
40587 /* Override any GCC internal prototype to avoid an error.
40588 Use char because int might match the return type of a GCC
40589 builtin and then its argument prototype would still apply. */
40590 #ifdef __cplusplus
40591 extern "C"
40592 #endif
40593 char $ac_func ();
40594 /* The GNU C library defines this for functions which it implements
40595 to always fail with ENOSYS. Some functions are actually named
40596 something starting with __ and the normal name is an alias. */
40597 #if defined __stub_$ac_func || defined __stub___$ac_func
40598 choke me
40599 #endif
40600
40601 int
40602 main ()
40603 {
40604 return $ac_func ();
40605 ;
40606 return 0;
40607 }
40608 _ACEOF
40609 rm -f conftest.$ac_objext conftest$ac_exeext
40610 if { (ac_try="$ac_link"
40611 case "(($ac_try" in
40612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40613 *) ac_try_echo=$ac_try;;
40614 esac
40615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40616 (eval "$ac_link") 2>conftest.er1
40617 ac_status=$?
40618 grep -v '^ *+' conftest.er1 >conftest.err
40619 rm -f conftest.er1
40620 cat conftest.err >&5
40621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622 (exit $ac_status); } &&
40623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40624 { (case "(($ac_try" in
40625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40626 *) ac_try_echo=$ac_try;;
40627 esac
40628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40629 (eval "$ac_try") 2>&5
40630 ac_status=$?
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); }; } &&
40633 { ac_try='test -s conftest$ac_exeext'
40634 { (case "(($ac_try" in
40635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40636 *) ac_try_echo=$ac_try;;
40637 esac
40638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40639 (eval "$ac_try") 2>&5
40640 ac_status=$?
40641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40642 (exit $ac_status); }; }; then
40643 eval "$as_ac_var=yes"
40644 else
40645 echo "$as_me: failed program was:" >&5
40646 sed 's/^/| /' conftest.$ac_ext >&5
40647
40648 eval "$as_ac_var=no"
40649 fi
40650
40651 rm -f core conftest.err conftest.$ac_objext \
40652 conftest$ac_exeext conftest.$ac_ext
40653 fi
40654 ac_res=`eval echo '${'$as_ac_var'}'`
40655 { echo "$as_me:$LINENO: result: $ac_res" >&5
40656 echo "${ECHO_T}$ac_res" >&6; }
40657 if test `eval echo '${'$as_ac_var'}'` = yes; then
40658 cat >>confdefs.h <<_ACEOF
40659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40660 _ACEOF
40661 break
40662 fi
40663 done
40664
40665
40666 HAVE_SOME_SLEEP_FUNC=0
40667 if test "$USE_BEOS" = 1; then
40668 cat >>confdefs.h <<\_ACEOF
40669 #define HAVE_SLEEP 1
40670 _ACEOF
40671
40672 HAVE_SOME_SLEEP_FUNC=1
40673 fi
40674
40675 if test "$USE_DARWIN" = 1; then
40676 cat >>confdefs.h <<\_ACEOF
40677 #define HAVE_USLEEP 1
40678 _ACEOF
40679
40680 HAVE_SOME_SLEEP_FUNC=1
40681 fi
40682
40683 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40684 POSIX4_LINK=
40685
40686 for ac_func in nanosleep
40687 do
40688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40689 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40691 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40692 echo $ECHO_N "(cached) $ECHO_C" >&6
40693 else
40694 cat >conftest.$ac_ext <<_ACEOF
40695 /* confdefs.h. */
40696 _ACEOF
40697 cat confdefs.h >>conftest.$ac_ext
40698 cat >>conftest.$ac_ext <<_ACEOF
40699 /* end confdefs.h. */
40700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40702 #define $ac_func innocuous_$ac_func
40703
40704 /* System header to define __stub macros and hopefully few prototypes,
40705 which can conflict with char $ac_func (); below.
40706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40707 <limits.h> exists even on freestanding compilers. */
40708
40709 #ifdef __STDC__
40710 # include <limits.h>
40711 #else
40712 # include <assert.h>
40713 #endif
40714
40715 #undef $ac_func
40716
40717 /* Override any GCC internal prototype to avoid an error.
40718 Use char because int might match the return type of a GCC
40719 builtin and then its argument prototype would still apply. */
40720 #ifdef __cplusplus
40721 extern "C"
40722 #endif
40723 char $ac_func ();
40724 /* The GNU C library defines this for functions which it implements
40725 to always fail with ENOSYS. Some functions are actually named
40726 something starting with __ and the normal name is an alias. */
40727 #if defined __stub_$ac_func || defined __stub___$ac_func
40728 choke me
40729 #endif
40730
40731 int
40732 main ()
40733 {
40734 return $ac_func ();
40735 ;
40736 return 0;
40737 }
40738 _ACEOF
40739 rm -f conftest.$ac_objext conftest$ac_exeext
40740 if { (ac_try="$ac_link"
40741 case "(($ac_try" in
40742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40743 *) ac_try_echo=$ac_try;;
40744 esac
40745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40746 (eval "$ac_link") 2>conftest.er1
40747 ac_status=$?
40748 grep -v '^ *+' conftest.er1 >conftest.err
40749 rm -f conftest.er1
40750 cat conftest.err >&5
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); } &&
40753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40754 { (case "(($ac_try" in
40755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40756 *) ac_try_echo=$ac_try;;
40757 esac
40758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40759 (eval "$ac_try") 2>&5
40760 ac_status=$?
40761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40762 (exit $ac_status); }; } &&
40763 { ac_try='test -s conftest$ac_exeext'
40764 { (case "(($ac_try" in
40765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40766 *) ac_try_echo=$ac_try;;
40767 esac
40768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40769 (eval "$ac_try") 2>&5
40770 ac_status=$?
40771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40772 (exit $ac_status); }; }; then
40773 eval "$as_ac_var=yes"
40774 else
40775 echo "$as_me: failed program was:" >&5
40776 sed 's/^/| /' conftest.$ac_ext >&5
40777
40778 eval "$as_ac_var=no"
40779 fi
40780
40781 rm -f core conftest.err conftest.$ac_objext \
40782 conftest$ac_exeext conftest.$ac_ext
40783 fi
40784 ac_res=`eval echo '${'$as_ac_var'}'`
40785 { echo "$as_me:$LINENO: result: $ac_res" >&5
40786 echo "${ECHO_T}$ac_res" >&6; }
40787 if test `eval echo '${'$as_ac_var'}'` = yes; then
40788 cat >>confdefs.h <<_ACEOF
40789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40790 _ACEOF
40791 cat >>confdefs.h <<\_ACEOF
40792 #define HAVE_NANOSLEEP 1
40793 _ACEOF
40794
40795 else
40796
40797 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40798 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40799 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40800 echo $ECHO_N "(cached) $ECHO_C" >&6
40801 else
40802 ac_check_lib_save_LIBS=$LIBS
40803 LIBS="-lposix4 $LIBS"
40804 cat >conftest.$ac_ext <<_ACEOF
40805 /* confdefs.h. */
40806 _ACEOF
40807 cat confdefs.h >>conftest.$ac_ext
40808 cat >>conftest.$ac_ext <<_ACEOF
40809 /* end confdefs.h. */
40810
40811 /* Override any GCC internal prototype to avoid an error.
40812 Use char because int might match the return type of a GCC
40813 builtin and then its argument prototype would still apply. */
40814 #ifdef __cplusplus
40815 extern "C"
40816 #endif
40817 char nanosleep ();
40818 int
40819 main ()
40820 {
40821 return nanosleep ();
40822 ;
40823 return 0;
40824 }
40825 _ACEOF
40826 rm -f conftest.$ac_objext conftest$ac_exeext
40827 if { (ac_try="$ac_link"
40828 case "(($ac_try" in
40829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40830 *) ac_try_echo=$ac_try;;
40831 esac
40832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40833 (eval "$ac_link") 2>conftest.er1
40834 ac_status=$?
40835 grep -v '^ *+' conftest.er1 >conftest.err
40836 rm -f conftest.er1
40837 cat conftest.err >&5
40838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40839 (exit $ac_status); } &&
40840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40841 { (case "(($ac_try" in
40842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40843 *) ac_try_echo=$ac_try;;
40844 esac
40845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40846 (eval "$ac_try") 2>&5
40847 ac_status=$?
40848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40849 (exit $ac_status); }; } &&
40850 { ac_try='test -s conftest$ac_exeext'
40851 { (case "(($ac_try" in
40852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40853 *) ac_try_echo=$ac_try;;
40854 esac
40855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40856 (eval "$ac_try") 2>&5
40857 ac_status=$?
40858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40859 (exit $ac_status); }; }; then
40860 ac_cv_lib_posix4_nanosleep=yes
40861 else
40862 echo "$as_me: failed program was:" >&5
40863 sed 's/^/| /' conftest.$ac_ext >&5
40864
40865 ac_cv_lib_posix4_nanosleep=no
40866 fi
40867
40868 rm -f core conftest.err conftest.$ac_objext \
40869 conftest$ac_exeext conftest.$ac_ext
40870 LIBS=$ac_check_lib_save_LIBS
40871 fi
40872 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40873 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40874 if test $ac_cv_lib_posix4_nanosleep = yes; then
40875
40876 cat >>confdefs.h <<\_ACEOF
40877 #define HAVE_NANOSLEEP 1
40878 _ACEOF
40879
40880 POSIX4_LINK=" -lposix4"
40881
40882 else
40883
40884
40885 for wx_func in usleep
40886 do
40887 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40888 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40889 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40890 echo $ECHO_N "(cached) $ECHO_C" >&6
40891 else
40892
40893 cat >conftest.$ac_ext <<_ACEOF
40894
40895 /* confdefs.h. */
40896 _ACEOF
40897 cat confdefs.h >>conftest.$ac_ext
40898 cat >>conftest.$ac_ext <<_ACEOF
40899 /* end confdefs.h. */
40900
40901
40902 $ac_includes_default
40903
40904 int
40905 main ()
40906 {
40907
40908 #ifndef $wx_func
40909 &$wx_func;
40910 #endif
40911
40912
40913 ;
40914 return 0;
40915 }
40916
40917 _ACEOF
40918 rm -f conftest.$ac_objext conftest$ac_exeext
40919 if { (ac_try="$ac_link"
40920 case "(($ac_try" in
40921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40922 *) ac_try_echo=$ac_try;;
40923 esac
40924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40925 (eval "$ac_link") 2>conftest.er1
40926 ac_status=$?
40927 grep -v '^ *+' conftest.er1 >conftest.err
40928 rm -f conftest.er1
40929 cat conftest.err >&5
40930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40931 (exit $ac_status); } &&
40932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40933 { (case "(($ac_try" in
40934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40935 *) ac_try_echo=$ac_try;;
40936 esac
40937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40938 (eval "$ac_try") 2>&5
40939 ac_status=$?
40940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40941 (exit $ac_status); }; } &&
40942 { ac_try='test -s conftest$ac_exeext'
40943 { (case "(($ac_try" in
40944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40945 *) ac_try_echo=$ac_try;;
40946 esac
40947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40948 (eval "$ac_try") 2>&5
40949 ac_status=$?
40950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40951 (exit $ac_status); }; }; then
40952 eval wx_cv_func_$wx_func=yes
40953 else
40954 echo "$as_me: failed program was:" >&5
40955 sed 's/^/| /' conftest.$ac_ext >&5
40956
40957 eval wx_cv_func_$wx_func=no
40958 fi
40959
40960 rm -f core conftest.err conftest.$ac_objext \
40961 conftest$ac_exeext conftest.$ac_ext
40962
40963 fi
40964 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40965 { echo "$as_me:$LINENO: result: $ac_res" >&5
40966 echo "${ECHO_T}$ac_res" >&6; }
40967
40968 if eval test \$wx_cv_func_$wx_func = yes
40969 then
40970 cat >>confdefs.h <<_ACEOF
40971 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40972 _ACEOF
40973
40974
40975 else
40976 :
40977 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40978 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40979
40980 fi
40981 done
40982
40983
40984
40985 fi
40986
40987
40988
40989 fi
40990 done
40991
40992 fi
40993
40994
40995 for wx_func in uname
40996 do
40997 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40998 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40999 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41000 echo $ECHO_N "(cached) $ECHO_C" >&6
41001 else
41002
41003 cat >conftest.$ac_ext <<_ACEOF
41004
41005 /* confdefs.h. */
41006 _ACEOF
41007 cat confdefs.h >>conftest.$ac_ext
41008 cat >>conftest.$ac_ext <<_ACEOF
41009 /* end confdefs.h. */
41010
41011 #include <sys/utsname.h>
41012 $ac_includes_default
41013
41014 int
41015 main ()
41016 {
41017
41018 #ifndef $wx_func
41019 &$wx_func;
41020 #endif
41021
41022
41023 ;
41024 return 0;
41025 }
41026
41027 _ACEOF
41028 rm -f conftest.$ac_objext conftest$ac_exeext
41029 if { (ac_try="$ac_link"
41030 case "(($ac_try" in
41031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41032 *) ac_try_echo=$ac_try;;
41033 esac
41034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41035 (eval "$ac_link") 2>conftest.er1
41036 ac_status=$?
41037 grep -v '^ *+' conftest.er1 >conftest.err
41038 rm -f conftest.er1
41039 cat conftest.err >&5
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); } &&
41042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41043 { (case "(($ac_try" in
41044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41045 *) ac_try_echo=$ac_try;;
41046 esac
41047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41048 (eval "$ac_try") 2>&5
41049 ac_status=$?
41050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41051 (exit $ac_status); }; } &&
41052 { ac_try='test -s conftest$ac_exeext'
41053 { (case "(($ac_try" in
41054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41055 *) ac_try_echo=$ac_try;;
41056 esac
41057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41058 (eval "$ac_try") 2>&5
41059 ac_status=$?
41060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41061 (exit $ac_status); }; }; then
41062 eval wx_cv_func_$wx_func=yes
41063 else
41064 echo "$as_me: failed program was:" >&5
41065 sed 's/^/| /' conftest.$ac_ext >&5
41066
41067 eval wx_cv_func_$wx_func=no
41068 fi
41069
41070 rm -f core conftest.err conftest.$ac_objext \
41071 conftest$ac_exeext conftest.$ac_ext
41072
41073 fi
41074 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41075 { echo "$as_me:$LINENO: result: $ac_res" >&5
41076 echo "${ECHO_T}$ac_res" >&6; }
41077
41078 if eval test \$wx_cv_func_$wx_func = yes
41079 then
41080 cat >>confdefs.h <<_ACEOF
41081 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41082 _ACEOF
41083
41084
41085 else
41086 :
41087
41088 fi
41089 done
41090
41091 if test "$wx_cv_func_uname" != yes; then
41092
41093 for wx_func in gethostname
41094 do
41095 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41096 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41097 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41098 echo $ECHO_N "(cached) $ECHO_C" >&6
41099 else
41100
41101 cat >conftest.$ac_ext <<_ACEOF
41102
41103 /* confdefs.h. */
41104 _ACEOF
41105 cat confdefs.h >>conftest.$ac_ext
41106 cat >>conftest.$ac_ext <<_ACEOF
41107 /* end confdefs.h. */
41108
41109
41110 $ac_includes_default
41111
41112 int
41113 main ()
41114 {
41115
41116 #ifndef $wx_func
41117 &$wx_func;
41118 #endif
41119
41120
41121 ;
41122 return 0;
41123 }
41124
41125 _ACEOF
41126 rm -f conftest.$ac_objext conftest$ac_exeext
41127 if { (ac_try="$ac_link"
41128 case "(($ac_try" in
41129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41130 *) ac_try_echo=$ac_try;;
41131 esac
41132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41133 (eval "$ac_link") 2>conftest.er1
41134 ac_status=$?
41135 grep -v '^ *+' conftest.er1 >conftest.err
41136 rm -f conftest.er1
41137 cat conftest.err >&5
41138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41139 (exit $ac_status); } &&
41140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41141 { (case "(($ac_try" in
41142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41143 *) ac_try_echo=$ac_try;;
41144 esac
41145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41146 (eval "$ac_try") 2>&5
41147 ac_status=$?
41148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41149 (exit $ac_status); }; } &&
41150 { ac_try='test -s conftest$ac_exeext'
41151 { (case "(($ac_try" in
41152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41153 *) ac_try_echo=$ac_try;;
41154 esac
41155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41156 (eval "$ac_try") 2>&5
41157 ac_status=$?
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); }; }; then
41160 eval wx_cv_func_$wx_func=yes
41161 else
41162 echo "$as_me: failed program was:" >&5
41163 sed 's/^/| /' conftest.$ac_ext >&5
41164
41165 eval wx_cv_func_$wx_func=no
41166 fi
41167
41168 rm -f core conftest.err conftest.$ac_objext \
41169 conftest$ac_exeext conftest.$ac_ext
41170
41171 fi
41172 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41173 { echo "$as_me:$LINENO: result: $ac_res" >&5
41174 echo "${ECHO_T}$ac_res" >&6; }
41175
41176 if eval test \$wx_cv_func_$wx_func = yes
41177 then
41178 cat >>confdefs.h <<_ACEOF
41179 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41180 _ACEOF
41181
41182
41183 else
41184 :
41185
41186 fi
41187 done
41188
41189 fi
41190
41191
41192 for wx_func in strtok_r
41193 do
41194 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41195 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41196 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41197 echo $ECHO_N "(cached) $ECHO_C" >&6
41198 else
41199
41200 cat >conftest.$ac_ext <<_ACEOF
41201
41202 /* confdefs.h. */
41203 _ACEOF
41204 cat confdefs.h >>conftest.$ac_ext
41205 cat >>conftest.$ac_ext <<_ACEOF
41206 /* end confdefs.h. */
41207
41208 #define _REENTRANT
41209 $ac_includes_default
41210
41211 int
41212 main ()
41213 {
41214
41215 #ifndef $wx_func
41216 &$wx_func;
41217 #endif
41218
41219
41220 ;
41221 return 0;
41222 }
41223
41224 _ACEOF
41225 rm -f conftest.$ac_objext conftest$ac_exeext
41226 if { (ac_try="$ac_link"
41227 case "(($ac_try" in
41228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41229 *) ac_try_echo=$ac_try;;
41230 esac
41231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41232 (eval "$ac_link") 2>conftest.er1
41233 ac_status=$?
41234 grep -v '^ *+' conftest.er1 >conftest.err
41235 rm -f conftest.er1
41236 cat conftest.err >&5
41237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41238 (exit $ac_status); } &&
41239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41240 { (case "(($ac_try" in
41241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41242 *) ac_try_echo=$ac_try;;
41243 esac
41244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41245 (eval "$ac_try") 2>&5
41246 ac_status=$?
41247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41248 (exit $ac_status); }; } &&
41249 { ac_try='test -s conftest$ac_exeext'
41250 { (case "(($ac_try" in
41251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41252 *) ac_try_echo=$ac_try;;
41253 esac
41254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41255 (eval "$ac_try") 2>&5
41256 ac_status=$?
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); }; }; then
41259 eval wx_cv_func_$wx_func=yes
41260 else
41261 echo "$as_me: failed program was:" >&5
41262 sed 's/^/| /' conftest.$ac_ext >&5
41263
41264 eval wx_cv_func_$wx_func=no
41265 fi
41266
41267 rm -f core conftest.err conftest.$ac_objext \
41268 conftest$ac_exeext conftest.$ac_ext
41269
41270 fi
41271 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41272 { echo "$as_me:$LINENO: result: $ac_res" >&5
41273 echo "${ECHO_T}$ac_res" >&6; }
41274
41275 if eval test \$wx_cv_func_$wx_func = yes
41276 then
41277 cat >>confdefs.h <<_ACEOF
41278 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41279 _ACEOF
41280
41281
41282 else
41283 :
41284
41285 fi
41286 done
41287
41288
41289 INET_LINK=
41290
41291 for ac_func in inet_addr
41292 do
41293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41297 echo $ECHO_N "(cached) $ECHO_C" >&6
41298 else
41299 cat >conftest.$ac_ext <<_ACEOF
41300 /* confdefs.h. */
41301 _ACEOF
41302 cat confdefs.h >>conftest.$ac_ext
41303 cat >>conftest.$ac_ext <<_ACEOF
41304 /* end confdefs.h. */
41305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41307 #define $ac_func innocuous_$ac_func
41308
41309 /* System header to define __stub macros and hopefully few prototypes,
41310 which can conflict with char $ac_func (); below.
41311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41312 <limits.h> exists even on freestanding compilers. */
41313
41314 #ifdef __STDC__
41315 # include <limits.h>
41316 #else
41317 # include <assert.h>
41318 #endif
41319
41320 #undef $ac_func
41321
41322 /* Override any GCC internal prototype to avoid an error.
41323 Use char because int might match the return type of a GCC
41324 builtin and then its argument prototype would still apply. */
41325 #ifdef __cplusplus
41326 extern "C"
41327 #endif
41328 char $ac_func ();
41329 /* The GNU C library defines this for functions which it implements
41330 to always fail with ENOSYS. Some functions are actually named
41331 something starting with __ and the normal name is an alias. */
41332 #if defined __stub_$ac_func || defined __stub___$ac_func
41333 choke me
41334 #endif
41335
41336 int
41337 main ()
41338 {
41339 return $ac_func ();
41340 ;
41341 return 0;
41342 }
41343 _ACEOF
41344 rm -f conftest.$ac_objext conftest$ac_exeext
41345 if { (ac_try="$ac_link"
41346 case "(($ac_try" in
41347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41348 *) ac_try_echo=$ac_try;;
41349 esac
41350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41351 (eval "$ac_link") 2>conftest.er1
41352 ac_status=$?
41353 grep -v '^ *+' conftest.er1 >conftest.err
41354 rm -f conftest.er1
41355 cat conftest.err >&5
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); } &&
41358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41359 { (case "(($ac_try" in
41360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41361 *) ac_try_echo=$ac_try;;
41362 esac
41363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41364 (eval "$ac_try") 2>&5
41365 ac_status=$?
41366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41367 (exit $ac_status); }; } &&
41368 { ac_try='test -s conftest$ac_exeext'
41369 { (case "(($ac_try" in
41370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41371 *) ac_try_echo=$ac_try;;
41372 esac
41373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41374 (eval "$ac_try") 2>&5
41375 ac_status=$?
41376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41377 (exit $ac_status); }; }; then
41378 eval "$as_ac_var=yes"
41379 else
41380 echo "$as_me: failed program was:" >&5
41381 sed 's/^/| /' conftest.$ac_ext >&5
41382
41383 eval "$as_ac_var=no"
41384 fi
41385
41386 rm -f core conftest.err conftest.$ac_objext \
41387 conftest$ac_exeext conftest.$ac_ext
41388 fi
41389 ac_res=`eval echo '${'$as_ac_var'}'`
41390 { echo "$as_me:$LINENO: result: $ac_res" >&5
41391 echo "${ECHO_T}$ac_res" >&6; }
41392 if test `eval echo '${'$as_ac_var'}'` = yes; then
41393 cat >>confdefs.h <<_ACEOF
41394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41395 _ACEOF
41396 cat >>confdefs.h <<\_ACEOF
41397 #define HAVE_INET_ADDR 1
41398 _ACEOF
41399
41400 else
41401
41402 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41403 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41404 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41405 echo $ECHO_N "(cached) $ECHO_C" >&6
41406 else
41407 ac_check_lib_save_LIBS=$LIBS
41408 LIBS="-lnsl $LIBS"
41409 cat >conftest.$ac_ext <<_ACEOF
41410 /* confdefs.h. */
41411 _ACEOF
41412 cat confdefs.h >>conftest.$ac_ext
41413 cat >>conftest.$ac_ext <<_ACEOF
41414 /* end confdefs.h. */
41415
41416 /* Override any GCC internal prototype to avoid an error.
41417 Use char because int might match the return type of a GCC
41418 builtin and then its argument prototype would still apply. */
41419 #ifdef __cplusplus
41420 extern "C"
41421 #endif
41422 char inet_addr ();
41423 int
41424 main ()
41425 {
41426 return inet_addr ();
41427 ;
41428 return 0;
41429 }
41430 _ACEOF
41431 rm -f conftest.$ac_objext conftest$ac_exeext
41432 if { (ac_try="$ac_link"
41433 case "(($ac_try" in
41434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41435 *) ac_try_echo=$ac_try;;
41436 esac
41437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41438 (eval "$ac_link") 2>conftest.er1
41439 ac_status=$?
41440 grep -v '^ *+' conftest.er1 >conftest.err
41441 rm -f conftest.er1
41442 cat conftest.err >&5
41443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 (exit $ac_status); } &&
41445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41446 { (case "(($ac_try" in
41447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41448 *) ac_try_echo=$ac_try;;
41449 esac
41450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41451 (eval "$ac_try") 2>&5
41452 ac_status=$?
41453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41454 (exit $ac_status); }; } &&
41455 { ac_try='test -s conftest$ac_exeext'
41456 { (case "(($ac_try" in
41457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41458 *) ac_try_echo=$ac_try;;
41459 esac
41460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41461 (eval "$ac_try") 2>&5
41462 ac_status=$?
41463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41464 (exit $ac_status); }; }; then
41465 ac_cv_lib_nsl_inet_addr=yes
41466 else
41467 echo "$as_me: failed program was:" >&5
41468 sed 's/^/| /' conftest.$ac_ext >&5
41469
41470 ac_cv_lib_nsl_inet_addr=no
41471 fi
41472
41473 rm -f core conftest.err conftest.$ac_objext \
41474 conftest$ac_exeext conftest.$ac_ext
41475 LIBS=$ac_check_lib_save_LIBS
41476 fi
41477 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41478 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41479 if test $ac_cv_lib_nsl_inet_addr = yes; then
41480 INET_LINK="nsl"
41481 else
41482
41483 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41484 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41485 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41486 echo $ECHO_N "(cached) $ECHO_C" >&6
41487 else
41488 ac_check_lib_save_LIBS=$LIBS
41489 LIBS="-lresolv $LIBS"
41490 cat >conftest.$ac_ext <<_ACEOF
41491 /* confdefs.h. */
41492 _ACEOF
41493 cat confdefs.h >>conftest.$ac_ext
41494 cat >>conftest.$ac_ext <<_ACEOF
41495 /* end confdefs.h. */
41496
41497 /* Override any GCC internal prototype to avoid an error.
41498 Use char because int might match the return type of a GCC
41499 builtin and then its argument prototype would still apply. */
41500 #ifdef __cplusplus
41501 extern "C"
41502 #endif
41503 char inet_addr ();
41504 int
41505 main ()
41506 {
41507 return inet_addr ();
41508 ;
41509 return 0;
41510 }
41511 _ACEOF
41512 rm -f conftest.$ac_objext conftest$ac_exeext
41513 if { (ac_try="$ac_link"
41514 case "(($ac_try" in
41515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41516 *) ac_try_echo=$ac_try;;
41517 esac
41518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41519 (eval "$ac_link") 2>conftest.er1
41520 ac_status=$?
41521 grep -v '^ *+' conftest.er1 >conftest.err
41522 rm -f conftest.er1
41523 cat conftest.err >&5
41524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41525 (exit $ac_status); } &&
41526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41527 { (case "(($ac_try" in
41528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41529 *) ac_try_echo=$ac_try;;
41530 esac
41531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41532 (eval "$ac_try") 2>&5
41533 ac_status=$?
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); }; } &&
41536 { ac_try='test -s conftest$ac_exeext'
41537 { (case "(($ac_try" in
41538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41539 *) ac_try_echo=$ac_try;;
41540 esac
41541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41542 (eval "$ac_try") 2>&5
41543 ac_status=$?
41544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41545 (exit $ac_status); }; }; then
41546 ac_cv_lib_resolv_inet_addr=yes
41547 else
41548 echo "$as_me: failed program was:" >&5
41549 sed 's/^/| /' conftest.$ac_ext >&5
41550
41551 ac_cv_lib_resolv_inet_addr=no
41552 fi
41553
41554 rm -f core conftest.err conftest.$ac_objext \
41555 conftest$ac_exeext conftest.$ac_ext
41556 LIBS=$ac_check_lib_save_LIBS
41557 fi
41558 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41559 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41560 if test $ac_cv_lib_resolv_inet_addr = yes; then
41561 INET_LINK="resolv"
41562 else
41563
41564 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41565 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41566 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41567 echo $ECHO_N "(cached) $ECHO_C" >&6
41568 else
41569 ac_check_lib_save_LIBS=$LIBS
41570 LIBS="-lsocket $LIBS"
41571 cat >conftest.$ac_ext <<_ACEOF
41572 /* confdefs.h. */
41573 _ACEOF
41574 cat confdefs.h >>conftest.$ac_ext
41575 cat >>conftest.$ac_ext <<_ACEOF
41576 /* end confdefs.h. */
41577
41578 /* Override any GCC internal prototype to avoid an error.
41579 Use char because int might match the return type of a GCC
41580 builtin and then its argument prototype would still apply. */
41581 #ifdef __cplusplus
41582 extern "C"
41583 #endif
41584 char inet_addr ();
41585 int
41586 main ()
41587 {
41588 return inet_addr ();
41589 ;
41590 return 0;
41591 }
41592 _ACEOF
41593 rm -f conftest.$ac_objext conftest$ac_exeext
41594 if { (ac_try="$ac_link"
41595 case "(($ac_try" in
41596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41597 *) ac_try_echo=$ac_try;;
41598 esac
41599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41600 (eval "$ac_link") 2>conftest.er1
41601 ac_status=$?
41602 grep -v '^ *+' conftest.er1 >conftest.err
41603 rm -f conftest.er1
41604 cat conftest.err >&5
41605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41606 (exit $ac_status); } &&
41607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41608 { (case "(($ac_try" in
41609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41610 *) ac_try_echo=$ac_try;;
41611 esac
41612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41613 (eval "$ac_try") 2>&5
41614 ac_status=$?
41615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41616 (exit $ac_status); }; } &&
41617 { ac_try='test -s conftest$ac_exeext'
41618 { (case "(($ac_try" in
41619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41620 *) ac_try_echo=$ac_try;;
41621 esac
41622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41623 (eval "$ac_try") 2>&5
41624 ac_status=$?
41625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41626 (exit $ac_status); }; }; then
41627 ac_cv_lib_socket_inet_addr=yes
41628 else
41629 echo "$as_me: failed program was:" >&5
41630 sed 's/^/| /' conftest.$ac_ext >&5
41631
41632 ac_cv_lib_socket_inet_addr=no
41633 fi
41634
41635 rm -f core conftest.err conftest.$ac_objext \
41636 conftest$ac_exeext conftest.$ac_ext
41637 LIBS=$ac_check_lib_save_LIBS
41638 fi
41639 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41640 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41641 if test $ac_cv_lib_socket_inet_addr = yes; then
41642 INET_LINK="socket"
41643
41644 fi
41645
41646
41647
41648 fi
41649
41650
41651
41652 fi
41653
41654
41655
41656 fi
41657 done
41658
41659
41660
41661 for ac_func in inet_aton
41662 do
41663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41664 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41666 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41667 echo $ECHO_N "(cached) $ECHO_C" >&6
41668 else
41669 cat >conftest.$ac_ext <<_ACEOF
41670 /* confdefs.h. */
41671 _ACEOF
41672 cat confdefs.h >>conftest.$ac_ext
41673 cat >>conftest.$ac_ext <<_ACEOF
41674 /* end confdefs.h. */
41675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41677 #define $ac_func innocuous_$ac_func
41678
41679 /* System header to define __stub macros and hopefully few prototypes,
41680 which can conflict with char $ac_func (); below.
41681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41682 <limits.h> exists even on freestanding compilers. */
41683
41684 #ifdef __STDC__
41685 # include <limits.h>
41686 #else
41687 # include <assert.h>
41688 #endif
41689
41690 #undef $ac_func
41691
41692 /* Override any GCC internal prototype to avoid an error.
41693 Use char because int might match the return type of a GCC
41694 builtin and then its argument prototype would still apply. */
41695 #ifdef __cplusplus
41696 extern "C"
41697 #endif
41698 char $ac_func ();
41699 /* The GNU C library defines this for functions which it implements
41700 to always fail with ENOSYS. Some functions are actually named
41701 something starting with __ and the normal name is an alias. */
41702 #if defined __stub_$ac_func || defined __stub___$ac_func
41703 choke me
41704 #endif
41705
41706 int
41707 main ()
41708 {
41709 return $ac_func ();
41710 ;
41711 return 0;
41712 }
41713 _ACEOF
41714 rm -f conftest.$ac_objext conftest$ac_exeext
41715 if { (ac_try="$ac_link"
41716 case "(($ac_try" in
41717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41718 *) ac_try_echo=$ac_try;;
41719 esac
41720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41721 (eval "$ac_link") 2>conftest.er1
41722 ac_status=$?
41723 grep -v '^ *+' conftest.er1 >conftest.err
41724 rm -f conftest.er1
41725 cat conftest.err >&5
41726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41727 (exit $ac_status); } &&
41728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41729 { (case "(($ac_try" in
41730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41731 *) ac_try_echo=$ac_try;;
41732 esac
41733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41734 (eval "$ac_try") 2>&5
41735 ac_status=$?
41736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41737 (exit $ac_status); }; } &&
41738 { ac_try='test -s conftest$ac_exeext'
41739 { (case "(($ac_try" in
41740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41741 *) ac_try_echo=$ac_try;;
41742 esac
41743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41744 (eval "$ac_try") 2>&5
41745 ac_status=$?
41746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41747 (exit $ac_status); }; }; then
41748 eval "$as_ac_var=yes"
41749 else
41750 echo "$as_me: failed program was:" >&5
41751 sed 's/^/| /' conftest.$ac_ext >&5
41752
41753 eval "$as_ac_var=no"
41754 fi
41755
41756 rm -f core conftest.err conftest.$ac_objext \
41757 conftest$ac_exeext conftest.$ac_ext
41758 fi
41759 ac_res=`eval echo '${'$as_ac_var'}'`
41760 { echo "$as_me:$LINENO: result: $ac_res" >&5
41761 echo "${ECHO_T}$ac_res" >&6; }
41762 if test `eval echo '${'$as_ac_var'}'` = yes; then
41763 cat >>confdefs.h <<_ACEOF
41764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41765 _ACEOF
41766 cat >>confdefs.h <<\_ACEOF
41767 #define HAVE_INET_ATON 1
41768 _ACEOF
41769
41770 else
41771
41772 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41773 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41774 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41775 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41776 echo $ECHO_N "(cached) $ECHO_C" >&6
41777 else
41778 ac_check_lib_save_LIBS=$LIBS
41779 LIBS="-l$INET_LINK $LIBS"
41780 cat >conftest.$ac_ext <<_ACEOF
41781 /* confdefs.h. */
41782 _ACEOF
41783 cat confdefs.h >>conftest.$ac_ext
41784 cat >>conftest.$ac_ext <<_ACEOF
41785 /* end confdefs.h. */
41786
41787 /* Override any GCC internal prototype to avoid an error.
41788 Use char because int might match the return type of a GCC
41789 builtin and then its argument prototype would still apply. */
41790 #ifdef __cplusplus
41791 extern "C"
41792 #endif
41793 char inet_aton ();
41794 int
41795 main ()
41796 {
41797 return inet_aton ();
41798 ;
41799 return 0;
41800 }
41801 _ACEOF
41802 rm -f conftest.$ac_objext conftest$ac_exeext
41803 if { (ac_try="$ac_link"
41804 case "(($ac_try" in
41805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41806 *) ac_try_echo=$ac_try;;
41807 esac
41808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41809 (eval "$ac_link") 2>conftest.er1
41810 ac_status=$?
41811 grep -v '^ *+' conftest.er1 >conftest.err
41812 rm -f conftest.er1
41813 cat conftest.err >&5
41814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41815 (exit $ac_status); } &&
41816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41817 { (case "(($ac_try" in
41818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41819 *) ac_try_echo=$ac_try;;
41820 esac
41821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41822 (eval "$ac_try") 2>&5
41823 ac_status=$?
41824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41825 (exit $ac_status); }; } &&
41826 { ac_try='test -s conftest$ac_exeext'
41827 { (case "(($ac_try" in
41828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41829 *) ac_try_echo=$ac_try;;
41830 esac
41831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41832 (eval "$ac_try") 2>&5
41833 ac_status=$?
41834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41835 (exit $ac_status); }; }; then
41836 eval "$as_ac_Lib=yes"
41837 else
41838 echo "$as_me: failed program was:" >&5
41839 sed 's/^/| /' conftest.$ac_ext >&5
41840
41841 eval "$as_ac_Lib=no"
41842 fi
41843
41844 rm -f core conftest.err conftest.$ac_objext \
41845 conftest$ac_exeext conftest.$ac_ext
41846 LIBS=$ac_check_lib_save_LIBS
41847 fi
41848 ac_res=`eval echo '${'$as_ac_Lib'}'`
41849 { echo "$as_me:$LINENO: result: $ac_res" >&5
41850 echo "${ECHO_T}$ac_res" >&6; }
41851 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41852 cat >>confdefs.h <<\_ACEOF
41853 #define HAVE_INET_ATON 1
41854 _ACEOF
41855
41856 fi
41857
41858
41859 fi
41860 done
41861
41862
41863 if test "x$INET_LINK" != "x"; then
41864 cat >>confdefs.h <<\_ACEOF
41865 #define HAVE_INET_ADDR 1
41866 _ACEOF
41867
41868 INET_LINK=" -l$INET_LINK"
41869 fi
41870
41871
41872 for wx_func in fdopen
41873 do
41874 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41875 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41876 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41877 echo $ECHO_N "(cached) $ECHO_C" >&6
41878 else
41879
41880 cat >conftest.$ac_ext <<_ACEOF
41881
41882 /* confdefs.h. */
41883 _ACEOF
41884 cat confdefs.h >>conftest.$ac_ext
41885 cat >>conftest.$ac_ext <<_ACEOF
41886 /* end confdefs.h. */
41887
41888
41889 $ac_includes_default
41890
41891 int
41892 main ()
41893 {
41894
41895 #ifndef $wx_func
41896 &$wx_func;
41897 #endif
41898
41899
41900 ;
41901 return 0;
41902 }
41903
41904 _ACEOF
41905 rm -f conftest.$ac_objext conftest$ac_exeext
41906 if { (ac_try="$ac_link"
41907 case "(($ac_try" in
41908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41909 *) ac_try_echo=$ac_try;;
41910 esac
41911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41912 (eval "$ac_link") 2>conftest.er1
41913 ac_status=$?
41914 grep -v '^ *+' conftest.er1 >conftest.err
41915 rm -f conftest.er1
41916 cat conftest.err >&5
41917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41918 (exit $ac_status); } &&
41919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41920 { (case "(($ac_try" in
41921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41922 *) ac_try_echo=$ac_try;;
41923 esac
41924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41925 (eval "$ac_try") 2>&5
41926 ac_status=$?
41927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41928 (exit $ac_status); }; } &&
41929 { ac_try='test -s conftest$ac_exeext'
41930 { (case "(($ac_try" in
41931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41932 *) ac_try_echo=$ac_try;;
41933 esac
41934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41935 (eval "$ac_try") 2>&5
41936 ac_status=$?
41937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41938 (exit $ac_status); }; }; then
41939 eval wx_cv_func_$wx_func=yes
41940 else
41941 echo "$as_me: failed program was:" >&5
41942 sed 's/^/| /' conftest.$ac_ext >&5
41943
41944 eval wx_cv_func_$wx_func=no
41945 fi
41946
41947 rm -f core conftest.err conftest.$ac_objext \
41948 conftest$ac_exeext conftest.$ac_ext
41949
41950 fi
41951 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41952 { echo "$as_me:$LINENO: result: $ac_res" >&5
41953 echo "${ECHO_T}$ac_res" >&6; }
41954
41955 if eval test \$wx_cv_func_$wx_func = yes
41956 then
41957 cat >>confdefs.h <<_ACEOF
41958 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41959 _ACEOF
41960
41961
41962 else
41963 :
41964
41965 fi
41966 done
41967
41968
41969 fi
41970
41971
41972
41973
41974 EXTRALIBS_ESD=
41975 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
41976 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
41977 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
41978 echo $ECHO_N "(cached) $ECHO_C" >&6
41979 else
41980 ac_check_lib_save_LIBS=$LIBS
41981 LIBS="-lesd $LIBS"
41982 cat >conftest.$ac_ext <<_ACEOF
41983 /* confdefs.h. */
41984 _ACEOF
41985 cat confdefs.h >>conftest.$ac_ext
41986 cat >>conftest.$ac_ext <<_ACEOF
41987 /* end confdefs.h. */
41988
41989 /* Override any GCC internal prototype to avoid an error.
41990 Use char because int might match the return type of a GCC
41991 builtin and then its argument prototype would still apply. */
41992 #ifdef __cplusplus
41993 extern "C"
41994 #endif
41995 char esd_close ();
41996 int
41997 main ()
41998 {
41999 return esd_close ();
42000 ;
42001 return 0;
42002 }
42003 _ACEOF
42004 rm -f conftest.$ac_objext conftest$ac_exeext
42005 if { (ac_try="$ac_link"
42006 case "(($ac_try" in
42007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42008 *) ac_try_echo=$ac_try;;
42009 esac
42010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42011 (eval "$ac_link") 2>conftest.er1
42012 ac_status=$?
42013 grep -v '^ *+' conftest.er1 >conftest.err
42014 rm -f conftest.er1
42015 cat conftest.err >&5
42016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42017 (exit $ac_status); } &&
42018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42019 { (case "(($ac_try" in
42020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42021 *) ac_try_echo=$ac_try;;
42022 esac
42023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42024 (eval "$ac_try") 2>&5
42025 ac_status=$?
42026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42027 (exit $ac_status); }; } &&
42028 { ac_try='test -s conftest$ac_exeext'
42029 { (case "(($ac_try" in
42030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42031 *) ac_try_echo=$ac_try;;
42032 esac
42033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42034 (eval "$ac_try") 2>&5
42035 ac_status=$?
42036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42037 (exit $ac_status); }; }; then
42038 ac_cv_lib_esd_esd_close=yes
42039 else
42040 echo "$as_me: failed program was:" >&5
42041 sed 's/^/| /' conftest.$ac_ext >&5
42042
42043 ac_cv_lib_esd_esd_close=no
42044 fi
42045
42046 rm -f core conftest.err conftest.$ac_objext \
42047 conftest$ac_exeext conftest.$ac_ext
42048 LIBS=$ac_check_lib_save_LIBS
42049 fi
42050 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
42051 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
42052 if test $ac_cv_lib_esd_esd_close = yes; then
42053
42054 { echo "$as_me:$LINENO: checking for esd.h" >&5
42055 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6; }
42056 if test "${ac_cv_header_esd_h+set}" = set; then
42057 echo $ECHO_N "(cached) $ECHO_C" >&6
42058 else
42059 cat >conftest.$ac_ext <<_ACEOF
42060 /* confdefs.h. */
42061 _ACEOF
42062 cat confdefs.h >>conftest.$ac_ext
42063 cat >>conftest.$ac_ext <<_ACEOF
42064 /* end confdefs.h. */
42065
42066
42067 #include <esd.h>
42068 _ACEOF
42069 rm -f conftest.$ac_objext
42070 if { (ac_try="$ac_compile"
42071 case "(($ac_try" in
42072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42073 *) ac_try_echo=$ac_try;;
42074 esac
42075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42076 (eval "$ac_compile") 2>conftest.er1
42077 ac_status=$?
42078 grep -v '^ *+' conftest.er1 >conftest.err
42079 rm -f conftest.er1
42080 cat conftest.err >&5
42081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42082 (exit $ac_status); } &&
42083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42084 { (case "(($ac_try" in
42085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42086 *) ac_try_echo=$ac_try;;
42087 esac
42088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42089 (eval "$ac_try") 2>&5
42090 ac_status=$?
42091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42092 (exit $ac_status); }; } &&
42093 { ac_try='test -s conftest.$ac_objext'
42094 { (case "(($ac_try" in
42095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42096 *) ac_try_echo=$ac_try;;
42097 esac
42098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42099 (eval "$ac_try") 2>&5
42100 ac_status=$?
42101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102 (exit $ac_status); }; }; then
42103 ac_cv_header_esd_h=yes
42104 else
42105 echo "$as_me: failed program was:" >&5
42106 sed 's/^/| /' conftest.$ac_ext >&5
42107
42108 ac_cv_header_esd_h=no
42109 fi
42110
42111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42112 fi
42113 { echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
42114 echo "${ECHO_T}$ac_cv_header_esd_h" >&6; }
42115 if test $ac_cv_header_esd_h = yes; then
42116
42117 EXTRALIBS_ESD="-lesd"
42118
42119 fi
42120
42121
42122
42123 fi
42124
42125
42126
42127 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
42128 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
42129 cat >conftest.$ac_ext <<_ACEOF
42130 /* confdefs.h. */
42131 _ACEOF
42132 cat confdefs.h >>conftest.$ac_ext
42133 cat >>conftest.$ac_ext <<_ACEOF
42134 /* end confdefs.h. */
42135 #ifdef __linux__
42136 #include <linux/cdrom.h>
42137 #else
42138 /* For Solaris */
42139 #include <sys/cdio.h>
42140 #endif
42141
42142 int
42143 main ()
42144 {
42145 struct cdrom_tocentry entry, old_entry;
42146 ;
42147 return 0;
42148 }
42149 _ACEOF
42150 rm -f conftest.$ac_objext
42151 if { (ac_try="$ac_compile"
42152 case "(($ac_try" in
42153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42154 *) ac_try_echo=$ac_try;;
42155 esac
42156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42157 (eval "$ac_compile") 2>conftest.er1
42158 ac_status=$?
42159 grep -v '^ *+' conftest.er1 >conftest.err
42160 rm -f conftest.er1
42161 cat conftest.err >&5
42162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42163 (exit $ac_status); } &&
42164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42165 { (case "(($ac_try" in
42166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42167 *) ac_try_echo=$ac_try;;
42168 esac
42169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42170 (eval "$ac_try") 2>&5
42171 ac_status=$?
42172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42173 (exit $ac_status); }; } &&
42174 { ac_try='test -s conftest.$ac_objext'
42175 { (case "(($ac_try" in
42176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42177 *) ac_try_echo=$ac_try;;
42178 esac
42179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42180 (eval "$ac_try") 2>&5
42181 ac_status=$?
42182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42183 (exit $ac_status); }; }; then
42184 { echo "$as_me:$LINENO: result: yes" >&5
42185 echo "${ECHO_T}yes" >&6; }
42186 cat >>confdefs.h <<\_ACEOF
42187 #define HAVE_KNOWN_CDROM_INTERFACE 1
42188 _ACEOF
42189
42190 else
42191 echo "$as_me: failed program was:" >&5
42192 sed 's/^/| /' conftest.$ac_ext >&5
42193
42194 { echo "$as_me:$LINENO: result: no" >&5
42195 echo "${ECHO_T}no" >&6; }
42196 fi
42197
42198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42199
42200
42201 cat >confcache <<\_ACEOF
42202 # This file is a shell script that caches the results of configure
42203 # tests run on this system so they can be shared between configure
42204 # scripts and configure runs, see configure's option --config-cache.
42205 # It is not useful on other systems. If it contains results you don't
42206 # want to keep, you may remove or edit it.
42207 #
42208 # config.status only pays attention to the cache file if you give it
42209 # the --recheck option to rerun configure.
42210 #
42211 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42212 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42213 # following values.
42214
42215 _ACEOF
42216
42217 # The following way of writing the cache mishandles newlines in values,
42218 # but we know of no workaround that is simple, portable, and efficient.
42219 # So, we kill variables containing newlines.
42220 # Ultrix sh set writes to stderr and can't be redirected directly,
42221 # and sets the high bit in the cache file unless we assign to the vars.
42222 (
42223 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42224 eval ac_val=\$$ac_var
42225 case $ac_val in #(
42226 *${as_nl}*)
42227 case $ac_var in #(
42228 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42229 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42230 esac
42231 case $ac_var in #(
42232 _ | IFS | as_nl) ;; #(
42233 *) $as_unset $ac_var ;;
42234 esac ;;
42235 esac
42236 done
42237
42238 (set) 2>&1 |
42239 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42240 *${as_nl}ac_space=\ *)
42241 # `set' does not quote correctly, so add quotes (double-quote
42242 # substitution turns \\\\ into \\, and sed turns \\ into \).
42243 sed -n \
42244 "s/'/'\\\\''/g;
42245 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42246 ;; #(
42247 *)
42248 # `set' quotes correctly as required by POSIX, so do not add quotes.
42249 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42250 ;;
42251 esac |
42252 sort
42253 ) |
42254 sed '
42255 /^ac_cv_env_/b end
42256 t clear
42257 :clear
42258 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42259 t end
42260 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42261 :end' >>confcache
42262 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
42263 if test -w "$cache_file"; then
42264 test "x$cache_file" != "x/dev/null" &&
42265 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42266 echo "$as_me: updating cache $cache_file" >&6;}
42267 cat confcache >$cache_file
42268 else
42269 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42270 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42271 fi
42272 fi
42273 rm -f confcache
42274
42275
42276 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42277
42278
42279 THREADS_LINK=
42280 THREADS_CFLAGS=
42281
42282 if test "$wxUSE_THREADS" = "yes" ; then
42283 if test "$USE_BEOS" = 1; then
42284 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42285 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42286 wxUSE_THREADS="no"
42287 fi
42288 fi
42289
42290 if test "$wxUSE_THREADS" = "yes" ; then
42291
42292
42293 THREAD_OPTS="-pthread"
42294 case "${host}" in
42295 *-*-solaris2* | *-*-sunos4* )
42296 if test "x$GCC" = "xyes"; then
42297 THREAD_OPTS="-pthreads $THREAD_OPTS"
42298 else
42299 THREAD_OPTS="-mt $THREAD_OPTS"
42300 fi
42301 ;;
42302 *-*-freebsd*)
42303 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
42304 ;;
42305 *-*-darwin* | *-*-cygwin* )
42306 THREAD_OPTS=""
42307 ;;
42308 *-*-aix*)
42309 THREAD_OPTS="pthreads"
42310 ;;
42311 *-hp-hpux* )
42312 if test "x$GCC" = "xyes"; then
42313 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
42314 THREAD_OPTS=""
42315 else
42316 THREAD_OPTS="-mt"
42317 fi
42318 ;;
42319
42320 *-*-irix* )
42321 if test "x$GCC" = "xyes"; then
42322 THREAD_OPTS=""
42323 fi
42324 ;;
42325
42326 *-*-*UnixWare*)
42327 if test "x$GCC" != "xyes"; then
42328 THREAD_OPTS="-Ethread"
42329 fi
42330 ;;
42331 esac
42332
42333 THREAD_OPTS="$THREAD_OPTS pthread none"
42334
42335 THREADS_OK=no
42336 for flag in $THREAD_OPTS; do
42337 case $flag in
42338 none)
42339 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42340 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42341 ;;
42342
42343 -*)
42344 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42345 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42346 THREADS_CFLAGS="$flag"
42347 ;;
42348
42349 *)
42350 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42351 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42352 THREADS_LINK="-l$flag"
42353 ;;
42354 esac
42355
42356 save_LIBS="$LIBS"
42357 save_CFLAGS="$CFLAGS"
42358 LIBS="$THREADS_LINK $LIBS"
42359 CFLAGS="$THREADS_CFLAGS $CFLAGS"
42360
42361 cat >conftest.$ac_ext <<_ACEOF
42362 /* confdefs.h. */
42363 _ACEOF
42364 cat confdefs.h >>conftest.$ac_ext
42365 cat >>conftest.$ac_ext <<_ACEOF
42366 /* end confdefs.h. */
42367 #include <pthread.h>
42368 int
42369 main ()
42370 {
42371 pthread_create(0,0,0,0);
42372 ;
42373 return 0;
42374 }
42375 _ACEOF
42376 rm -f conftest.$ac_objext conftest$ac_exeext
42377 if { (ac_try="$ac_link"
42378 case "(($ac_try" in
42379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42380 *) ac_try_echo=$ac_try;;
42381 esac
42382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42383 (eval "$ac_link") 2>conftest.er1
42384 ac_status=$?
42385 grep -v '^ *+' conftest.er1 >conftest.err
42386 rm -f conftest.er1
42387 cat conftest.err >&5
42388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42389 (exit $ac_status); } &&
42390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42391 { (case "(($ac_try" in
42392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42393 *) ac_try_echo=$ac_try;;
42394 esac
42395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42396 (eval "$ac_try") 2>&5
42397 ac_status=$?
42398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42399 (exit $ac_status); }; } &&
42400 { ac_try='test -s conftest$ac_exeext'
42401 { (case "(($ac_try" in
42402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42403 *) ac_try_echo=$ac_try;;
42404 esac
42405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42406 (eval "$ac_try") 2>&5
42407 ac_status=$?
42408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42409 (exit $ac_status); }; }; then
42410 THREADS_OK=yes
42411 else
42412 echo "$as_me: failed program was:" >&5
42413 sed 's/^/| /' conftest.$ac_ext >&5
42414
42415
42416 fi
42417
42418 rm -f core conftest.err conftest.$ac_objext \
42419 conftest$ac_exeext conftest.$ac_ext
42420
42421 LIBS="$save_LIBS"
42422 CFLAGS="$save_CFLAGS"
42423
42424 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
42425 echo "${ECHO_T}$THREADS_OK" >&6; }
42426 if test "x$THREADS_OK" = "xyes"; then
42427 break;
42428 fi
42429
42430 THREADS_LINK=""
42431 THREADS_CFLAGS=""
42432 done
42433
42434 if test "x$THREADS_OK" != "xyes"; then
42435 wxUSE_THREADS=no
42436 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
42437 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
42438 else
42439 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
42440 LIBS="$THREADS_LINK $LIBS"
42441
42442 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
42443 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
42444 flag=no
42445 case "${host}" in
42446 *-aix*)
42447 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
42448 flag="-D_THREAD_SAFE"
42449 ;;
42450 *-freebsd*)
42451 flag="-D_THREAD_SAFE"
42452 ;;
42453 *-hp-hpux* )
42454 flag="-D_REENTRANT"
42455 if test "x$GCC" != "xyes"; then
42456 flag="$flag -D_RWSTD_MULTI_THREAD"
42457 fi
42458 ;;
42459 *solaris* | alpha*-osf*)
42460 flag="-D_REENTRANT"
42461 ;;
42462 esac
42463 { echo "$as_me:$LINENO: result: ${flag}" >&5
42464 echo "${ECHO_T}${flag}" >&6; }
42465 if test "x$flag" != xno; then
42466 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
42467 fi
42468
42469 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
42470 fi
42471 fi
42472
42473 if test "$wxUSE_THREADS" = "yes" ; then
42474
42475 for ac_func in thr_setconcurrency
42476 do
42477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42478 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42481 echo $ECHO_N "(cached) $ECHO_C" >&6
42482 else
42483 cat >conftest.$ac_ext <<_ACEOF
42484 /* confdefs.h. */
42485 _ACEOF
42486 cat confdefs.h >>conftest.$ac_ext
42487 cat >>conftest.$ac_ext <<_ACEOF
42488 /* end confdefs.h. */
42489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42491 #define $ac_func innocuous_$ac_func
42492
42493 /* System header to define __stub macros and hopefully few prototypes,
42494 which can conflict with char $ac_func (); below.
42495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42496 <limits.h> exists even on freestanding compilers. */
42497
42498 #ifdef __STDC__
42499 # include <limits.h>
42500 #else
42501 # include <assert.h>
42502 #endif
42503
42504 #undef $ac_func
42505
42506 /* Override any GCC internal prototype to avoid an error.
42507 Use char because int might match the return type of a GCC
42508 builtin and then its argument prototype would still apply. */
42509 #ifdef __cplusplus
42510 extern "C"
42511 #endif
42512 char $ac_func ();
42513 /* The GNU C library defines this for functions which it implements
42514 to always fail with ENOSYS. Some functions are actually named
42515 something starting with __ and the normal name is an alias. */
42516 #if defined __stub_$ac_func || defined __stub___$ac_func
42517 choke me
42518 #endif
42519
42520 int
42521 main ()
42522 {
42523 return $ac_func ();
42524 ;
42525 return 0;
42526 }
42527 _ACEOF
42528 rm -f conftest.$ac_objext conftest$ac_exeext
42529 if { (ac_try="$ac_link"
42530 case "(($ac_try" in
42531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42532 *) ac_try_echo=$ac_try;;
42533 esac
42534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42535 (eval "$ac_link") 2>conftest.er1
42536 ac_status=$?
42537 grep -v '^ *+' conftest.er1 >conftest.err
42538 rm -f conftest.er1
42539 cat conftest.err >&5
42540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541 (exit $ac_status); } &&
42542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42543 { (case "(($ac_try" in
42544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42545 *) ac_try_echo=$ac_try;;
42546 esac
42547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42548 (eval "$ac_try") 2>&5
42549 ac_status=$?
42550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42551 (exit $ac_status); }; } &&
42552 { ac_try='test -s conftest$ac_exeext'
42553 { (case "(($ac_try" in
42554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42555 *) ac_try_echo=$ac_try;;
42556 esac
42557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42558 (eval "$ac_try") 2>&5
42559 ac_status=$?
42560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42561 (exit $ac_status); }; }; then
42562 eval "$as_ac_var=yes"
42563 else
42564 echo "$as_me: failed program was:" >&5
42565 sed 's/^/| /' conftest.$ac_ext >&5
42566
42567 eval "$as_ac_var=no"
42568 fi
42569
42570 rm -f core conftest.err conftest.$ac_objext \
42571 conftest$ac_exeext conftest.$ac_ext
42572 fi
42573 ac_res=`eval echo '${'$as_ac_var'}'`
42574 { echo "$as_me:$LINENO: result: $ac_res" >&5
42575 echo "${ECHO_T}$ac_res" >&6; }
42576 if test `eval echo '${'$as_ac_var'}'` = yes; then
42577 cat >>confdefs.h <<_ACEOF
42578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42579 _ACEOF
42580
42581 fi
42582 done
42583
42584
42585 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
42586 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
42587 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
42588 echo $ECHO_N "(cached) $ECHO_C" >&6
42589 else
42590
42591 cat >conftest.$ac_ext <<_ACEOF
42592 /* confdefs.h. */
42593 _ACEOF
42594 cat confdefs.h >>conftest.$ac_ext
42595 cat >>conftest.$ac_ext <<_ACEOF
42596 /* end confdefs.h. */
42597 #include <pthread.h>
42598 void ThreadCleanupFunc(void *p);
42599
42600 int
42601 main ()
42602 {
42603
42604 void *p;
42605 pthread_cleanup_push(ThreadCleanupFunc, p);
42606 pthread_cleanup_pop(0);
42607
42608 ;
42609 return 0;
42610 }
42611 _ACEOF
42612 rm -f conftest.$ac_objext
42613 if { (ac_try="$ac_compile"
42614 case "(($ac_try" in
42615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42616 *) ac_try_echo=$ac_try;;
42617 esac
42618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42619 (eval "$ac_compile") 2>conftest.er1
42620 ac_status=$?
42621 grep -v '^ *+' conftest.er1 >conftest.err
42622 rm -f conftest.er1
42623 cat conftest.err >&5
42624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42625 (exit $ac_status); } &&
42626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42627 { (case "(($ac_try" in
42628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42629 *) ac_try_echo=$ac_try;;
42630 esac
42631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42632 (eval "$ac_try") 2>&5
42633 ac_status=$?
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); }; } &&
42636 { ac_try='test -s conftest.$ac_objext'
42637 { (case "(($ac_try" in
42638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42639 *) ac_try_echo=$ac_try;;
42640 esac
42641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42642 (eval "$ac_try") 2>&5
42643 ac_status=$?
42644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42645 (exit $ac_status); }; }; then
42646
42647 wx_cv_func_pthread_cleanup=yes
42648
42649 else
42650 echo "$as_me: failed program was:" >&5
42651 sed 's/^/| /' conftest.$ac_ext >&5
42652
42653
42654 wx_cv_func_pthread_cleanup=no
42655
42656
42657 fi
42658
42659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42660
42661 fi
42662 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
42663 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
42664 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
42665 cat >>confdefs.h <<\_ACEOF
42666 #define wxHAVE_PTHREAD_CLEANUP 1
42667 _ACEOF
42668
42669 fi
42670
42671 { echo "$as_me:$LINENO: checking for sched.h" >&5
42672 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
42673 if test "${ac_cv_header_sched_h+set}" = set; then
42674 echo $ECHO_N "(cached) $ECHO_C" >&6
42675 else
42676 cat >conftest.$ac_ext <<_ACEOF
42677 /* confdefs.h. */
42678 _ACEOF
42679 cat confdefs.h >>conftest.$ac_ext
42680 cat >>conftest.$ac_ext <<_ACEOF
42681 /* end confdefs.h. */
42682 $ac_includes_default
42683
42684 #include <sched.h>
42685 _ACEOF
42686 rm -f conftest.$ac_objext
42687 if { (ac_try="$ac_compile"
42688 case "(($ac_try" in
42689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42690 *) ac_try_echo=$ac_try;;
42691 esac
42692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42693 (eval "$ac_compile") 2>conftest.er1
42694 ac_status=$?
42695 grep -v '^ *+' conftest.er1 >conftest.err
42696 rm -f conftest.er1
42697 cat conftest.err >&5
42698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42699 (exit $ac_status); } &&
42700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42701 { (case "(($ac_try" in
42702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42703 *) ac_try_echo=$ac_try;;
42704 esac
42705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42706 (eval "$ac_try") 2>&5
42707 ac_status=$?
42708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42709 (exit $ac_status); }; } &&
42710 { ac_try='test -s conftest.$ac_objext'
42711 { (case "(($ac_try" in
42712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42713 *) ac_try_echo=$ac_try;;
42714 esac
42715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42716 (eval "$ac_try") 2>&5
42717 ac_status=$?
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); }; }; then
42720 ac_cv_header_sched_h=yes
42721 else
42722 echo "$as_me: failed program was:" >&5
42723 sed 's/^/| /' conftest.$ac_ext >&5
42724
42725 ac_cv_header_sched_h=no
42726 fi
42727
42728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42729 fi
42730 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
42731 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
42732
42733
42734 if test "$ac_cv_header_sched_h" = "yes"; then
42735 { echo "$as_me:$LINENO: checking for sched_yield" >&5
42736 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
42737 if test "${ac_cv_func_sched_yield+set}" = set; then
42738 echo $ECHO_N "(cached) $ECHO_C" >&6
42739 else
42740 cat >conftest.$ac_ext <<_ACEOF
42741 /* confdefs.h. */
42742 _ACEOF
42743 cat confdefs.h >>conftest.$ac_ext
42744 cat >>conftest.$ac_ext <<_ACEOF
42745 /* end confdefs.h. */
42746 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
42747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42748 #define sched_yield innocuous_sched_yield
42749
42750 /* System header to define __stub macros and hopefully few prototypes,
42751 which can conflict with char sched_yield (); below.
42752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42753 <limits.h> exists even on freestanding compilers. */
42754
42755 #ifdef __STDC__
42756 # include <limits.h>
42757 #else
42758 # include <assert.h>
42759 #endif
42760
42761 #undef sched_yield
42762
42763 /* Override any GCC internal prototype to avoid an error.
42764 Use char because int might match the return type of a GCC
42765 builtin and then its argument prototype would still apply. */
42766 #ifdef __cplusplus
42767 extern "C"
42768 #endif
42769 char sched_yield ();
42770 /* The GNU C library defines this for functions which it implements
42771 to always fail with ENOSYS. Some functions are actually named
42772 something starting with __ and the normal name is an alias. */
42773 #if defined __stub_sched_yield || defined __stub___sched_yield
42774 choke me
42775 #endif
42776
42777 int
42778 main ()
42779 {
42780 return sched_yield ();
42781 ;
42782 return 0;
42783 }
42784 _ACEOF
42785 rm -f conftest.$ac_objext conftest$ac_exeext
42786 if { (ac_try="$ac_link"
42787 case "(($ac_try" in
42788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42789 *) ac_try_echo=$ac_try;;
42790 esac
42791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42792 (eval "$ac_link") 2>conftest.er1
42793 ac_status=$?
42794 grep -v '^ *+' conftest.er1 >conftest.err
42795 rm -f conftest.er1
42796 cat conftest.err >&5
42797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42798 (exit $ac_status); } &&
42799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42800 { (case "(($ac_try" in
42801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42802 *) ac_try_echo=$ac_try;;
42803 esac
42804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42805 (eval "$ac_try") 2>&5
42806 ac_status=$?
42807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42808 (exit $ac_status); }; } &&
42809 { ac_try='test -s conftest$ac_exeext'
42810 { (case "(($ac_try" in
42811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42812 *) ac_try_echo=$ac_try;;
42813 esac
42814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42815 (eval "$ac_try") 2>&5
42816 ac_status=$?
42817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42818 (exit $ac_status); }; }; then
42819 ac_cv_func_sched_yield=yes
42820 else
42821 echo "$as_me: failed program was:" >&5
42822 sed 's/^/| /' conftest.$ac_ext >&5
42823
42824 ac_cv_func_sched_yield=no
42825 fi
42826
42827 rm -f core conftest.err conftest.$ac_objext \
42828 conftest$ac_exeext conftest.$ac_ext
42829 fi
42830 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
42831 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
42832 if test $ac_cv_func_sched_yield = yes; then
42833 cat >>confdefs.h <<\_ACEOF
42834 #define HAVE_SCHED_YIELD 1
42835 _ACEOF
42836
42837 else
42838
42839 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
42840 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
42841 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
42842 echo $ECHO_N "(cached) $ECHO_C" >&6
42843 else
42844 ac_check_lib_save_LIBS=$LIBS
42845 LIBS="-lposix4 $LIBS"
42846 cat >conftest.$ac_ext <<_ACEOF
42847 /* confdefs.h. */
42848 _ACEOF
42849 cat confdefs.h >>conftest.$ac_ext
42850 cat >>conftest.$ac_ext <<_ACEOF
42851 /* end confdefs.h. */
42852
42853 /* Override any GCC internal prototype to avoid an error.
42854 Use char because int might match the return type of a GCC
42855 builtin and then its argument prototype would still apply. */
42856 #ifdef __cplusplus
42857 extern "C"
42858 #endif
42859 char sched_yield ();
42860 int
42861 main ()
42862 {
42863 return sched_yield ();
42864 ;
42865 return 0;
42866 }
42867 _ACEOF
42868 rm -f conftest.$ac_objext conftest$ac_exeext
42869 if { (ac_try="$ac_link"
42870 case "(($ac_try" in
42871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42872 *) ac_try_echo=$ac_try;;
42873 esac
42874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42875 (eval "$ac_link") 2>conftest.er1
42876 ac_status=$?
42877 grep -v '^ *+' conftest.er1 >conftest.err
42878 rm -f conftest.er1
42879 cat conftest.err >&5
42880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42881 (exit $ac_status); } &&
42882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42883 { (case "(($ac_try" in
42884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42885 *) ac_try_echo=$ac_try;;
42886 esac
42887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42888 (eval "$ac_try") 2>&5
42889 ac_status=$?
42890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891 (exit $ac_status); }; } &&
42892 { ac_try='test -s conftest$ac_exeext'
42893 { (case "(($ac_try" in
42894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42895 *) ac_try_echo=$ac_try;;
42896 esac
42897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42898 (eval "$ac_try") 2>&5
42899 ac_status=$?
42900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42901 (exit $ac_status); }; }; then
42902 ac_cv_lib_posix4_sched_yield=yes
42903 else
42904 echo "$as_me: failed program was:" >&5
42905 sed 's/^/| /' conftest.$ac_ext >&5
42906
42907 ac_cv_lib_posix4_sched_yield=no
42908 fi
42909
42910 rm -f core conftest.err conftest.$ac_objext \
42911 conftest$ac_exeext conftest.$ac_ext
42912 LIBS=$ac_check_lib_save_LIBS
42913 fi
42914 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42915 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42916 if test $ac_cv_lib_posix4_sched_yield = yes; then
42917 cat >>confdefs.h <<\_ACEOF
42918 #define HAVE_SCHED_YIELD 1
42919 _ACEOF
42920 POSIX4_LINK=" -lposix4"
42921 else
42922 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42923 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42924
42925 fi
42926
42927
42928
42929 fi
42930
42931 fi
42932
42933 HAVE_PRIOR_FUNCS=0
42934 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42935 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42936 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42937 echo $ECHO_N "(cached) $ECHO_C" >&6
42938 else
42939 cat >conftest.$ac_ext <<_ACEOF
42940 /* confdefs.h. */
42941 _ACEOF
42942 cat confdefs.h >>conftest.$ac_ext
42943 cat >>conftest.$ac_ext <<_ACEOF
42944 /* end confdefs.h. */
42945 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42947 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42948
42949 /* System header to define __stub macros and hopefully few prototypes,
42950 which can conflict with char pthread_attr_getschedpolicy (); below.
42951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42952 <limits.h> exists even on freestanding compilers. */
42953
42954 #ifdef __STDC__
42955 # include <limits.h>
42956 #else
42957 # include <assert.h>
42958 #endif
42959
42960 #undef pthread_attr_getschedpolicy
42961
42962 /* Override any GCC internal prototype to avoid an error.
42963 Use char because int might match the return type of a GCC
42964 builtin and then its argument prototype would still apply. */
42965 #ifdef __cplusplus
42966 extern "C"
42967 #endif
42968 char pthread_attr_getschedpolicy ();
42969 /* The GNU C library defines this for functions which it implements
42970 to always fail with ENOSYS. Some functions are actually named
42971 something starting with __ and the normal name is an alias. */
42972 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42973 choke me
42974 #endif
42975
42976 int
42977 main ()
42978 {
42979 return pthread_attr_getschedpolicy ();
42980 ;
42981 return 0;
42982 }
42983 _ACEOF
42984 rm -f conftest.$ac_objext conftest$ac_exeext
42985 if { (ac_try="$ac_link"
42986 case "(($ac_try" in
42987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42988 *) ac_try_echo=$ac_try;;
42989 esac
42990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42991 (eval "$ac_link") 2>conftest.er1
42992 ac_status=$?
42993 grep -v '^ *+' conftest.er1 >conftest.err
42994 rm -f conftest.er1
42995 cat conftest.err >&5
42996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997 (exit $ac_status); } &&
42998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42999 { (case "(($ac_try" in
43000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43001 *) ac_try_echo=$ac_try;;
43002 esac
43003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43004 (eval "$ac_try") 2>&5
43005 ac_status=$?
43006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43007 (exit $ac_status); }; } &&
43008 { ac_try='test -s conftest$ac_exeext'
43009 { (case "(($ac_try" in
43010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43011 *) ac_try_echo=$ac_try;;
43012 esac
43013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43014 (eval "$ac_try") 2>&5
43015 ac_status=$?
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); }; }; then
43018 ac_cv_func_pthread_attr_getschedpolicy=yes
43019 else
43020 echo "$as_me: failed program was:" >&5
43021 sed 's/^/| /' conftest.$ac_ext >&5
43022
43023 ac_cv_func_pthread_attr_getschedpolicy=no
43024 fi
43025
43026 rm -f core conftest.err conftest.$ac_objext \
43027 conftest$ac_exeext conftest.$ac_ext
43028 fi
43029 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43030 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43031 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43032 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43033 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43034 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43035 echo $ECHO_N "(cached) $ECHO_C" >&6
43036 else
43037 cat >conftest.$ac_ext <<_ACEOF
43038 /* confdefs.h. */
43039 _ACEOF
43040 cat confdefs.h >>conftest.$ac_ext
43041 cat >>conftest.$ac_ext <<_ACEOF
43042 /* end confdefs.h. */
43043 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43045 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43046
43047 /* System header to define __stub macros and hopefully few prototypes,
43048 which can conflict with char pthread_attr_setschedparam (); below.
43049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43050 <limits.h> exists even on freestanding compilers. */
43051
43052 #ifdef __STDC__
43053 # include <limits.h>
43054 #else
43055 # include <assert.h>
43056 #endif
43057
43058 #undef pthread_attr_setschedparam
43059
43060 /* Override any GCC internal prototype to avoid an error.
43061 Use char because int might match the return type of a GCC
43062 builtin and then its argument prototype would still apply. */
43063 #ifdef __cplusplus
43064 extern "C"
43065 #endif
43066 char pthread_attr_setschedparam ();
43067 /* The GNU C library defines this for functions which it implements
43068 to always fail with ENOSYS. Some functions are actually named
43069 something starting with __ and the normal name is an alias. */
43070 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43071 choke me
43072 #endif
43073
43074 int
43075 main ()
43076 {
43077 return pthread_attr_setschedparam ();
43078 ;
43079 return 0;
43080 }
43081 _ACEOF
43082 rm -f conftest.$ac_objext conftest$ac_exeext
43083 if { (ac_try="$ac_link"
43084 case "(($ac_try" in
43085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43086 *) ac_try_echo=$ac_try;;
43087 esac
43088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43089 (eval "$ac_link") 2>conftest.er1
43090 ac_status=$?
43091 grep -v '^ *+' conftest.er1 >conftest.err
43092 rm -f conftest.er1
43093 cat conftest.err >&5
43094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43095 (exit $ac_status); } &&
43096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43097 { (case "(($ac_try" in
43098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43099 *) ac_try_echo=$ac_try;;
43100 esac
43101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43102 (eval "$ac_try") 2>&5
43103 ac_status=$?
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); }; } &&
43106 { ac_try='test -s conftest$ac_exeext'
43107 { (case "(($ac_try" in
43108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43109 *) ac_try_echo=$ac_try;;
43110 esac
43111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43112 (eval "$ac_try") 2>&5
43113 ac_status=$?
43114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43115 (exit $ac_status); }; }; then
43116 ac_cv_func_pthread_attr_setschedparam=yes
43117 else
43118 echo "$as_me: failed program was:" >&5
43119 sed 's/^/| /' conftest.$ac_ext >&5
43120
43121 ac_cv_func_pthread_attr_setschedparam=no
43122 fi
43123
43124 rm -f core conftest.err conftest.$ac_objext \
43125 conftest$ac_exeext conftest.$ac_ext
43126 fi
43127 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43128 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43129 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43130 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43131 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43132 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43133 echo $ECHO_N "(cached) $ECHO_C" >&6
43134 else
43135 cat >conftest.$ac_ext <<_ACEOF
43136 /* confdefs.h. */
43137 _ACEOF
43138 cat confdefs.h >>conftest.$ac_ext
43139 cat >>conftest.$ac_ext <<_ACEOF
43140 /* end confdefs.h. */
43141 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43143 #define sched_get_priority_max innocuous_sched_get_priority_max
43144
43145 /* System header to define __stub macros and hopefully few prototypes,
43146 which can conflict with char sched_get_priority_max (); below.
43147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43148 <limits.h> exists even on freestanding compilers. */
43149
43150 #ifdef __STDC__
43151 # include <limits.h>
43152 #else
43153 # include <assert.h>
43154 #endif
43155
43156 #undef sched_get_priority_max
43157
43158 /* Override any GCC internal prototype to avoid an error.
43159 Use char because int might match the return type of a GCC
43160 builtin and then its argument prototype would still apply. */
43161 #ifdef __cplusplus
43162 extern "C"
43163 #endif
43164 char sched_get_priority_max ();
43165 /* The GNU C library defines this for functions which it implements
43166 to always fail with ENOSYS. Some functions are actually named
43167 something starting with __ and the normal name is an alias. */
43168 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43169 choke me
43170 #endif
43171
43172 int
43173 main ()
43174 {
43175 return sched_get_priority_max ();
43176 ;
43177 return 0;
43178 }
43179 _ACEOF
43180 rm -f conftest.$ac_objext conftest$ac_exeext
43181 if { (ac_try="$ac_link"
43182 case "(($ac_try" in
43183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43184 *) ac_try_echo=$ac_try;;
43185 esac
43186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43187 (eval "$ac_link") 2>conftest.er1
43188 ac_status=$?
43189 grep -v '^ *+' conftest.er1 >conftest.err
43190 rm -f conftest.er1
43191 cat conftest.err >&5
43192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43193 (exit $ac_status); } &&
43194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43195 { (case "(($ac_try" in
43196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43197 *) ac_try_echo=$ac_try;;
43198 esac
43199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43200 (eval "$ac_try") 2>&5
43201 ac_status=$?
43202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43203 (exit $ac_status); }; } &&
43204 { ac_try='test -s conftest$ac_exeext'
43205 { (case "(($ac_try" in
43206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43207 *) ac_try_echo=$ac_try;;
43208 esac
43209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43210 (eval "$ac_try") 2>&5
43211 ac_status=$?
43212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43213 (exit $ac_status); }; }; then
43214 ac_cv_func_sched_get_priority_max=yes
43215 else
43216 echo "$as_me: failed program was:" >&5
43217 sed 's/^/| /' conftest.$ac_ext >&5
43218
43219 ac_cv_func_sched_get_priority_max=no
43220 fi
43221
43222 rm -f core conftest.err conftest.$ac_objext \
43223 conftest$ac_exeext conftest.$ac_ext
43224 fi
43225 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43226 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43227 if test $ac_cv_func_sched_get_priority_max = yes; then
43228 HAVE_PRIOR_FUNCS=1
43229 else
43230 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43231 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43232 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43233 echo $ECHO_N "(cached) $ECHO_C" >&6
43234 else
43235 ac_check_lib_save_LIBS=$LIBS
43236 LIBS="-lposix4 $LIBS"
43237 cat >conftest.$ac_ext <<_ACEOF
43238 /* confdefs.h. */
43239 _ACEOF
43240 cat confdefs.h >>conftest.$ac_ext
43241 cat >>conftest.$ac_ext <<_ACEOF
43242 /* end confdefs.h. */
43243
43244 /* Override any GCC internal prototype to avoid an error.
43245 Use char because int might match the return type of a GCC
43246 builtin and then its argument prototype would still apply. */
43247 #ifdef __cplusplus
43248 extern "C"
43249 #endif
43250 char sched_get_priority_max ();
43251 int
43252 main ()
43253 {
43254 return sched_get_priority_max ();
43255 ;
43256 return 0;
43257 }
43258 _ACEOF
43259 rm -f conftest.$ac_objext conftest$ac_exeext
43260 if { (ac_try="$ac_link"
43261 case "(($ac_try" in
43262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43263 *) ac_try_echo=$ac_try;;
43264 esac
43265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43266 (eval "$ac_link") 2>conftest.er1
43267 ac_status=$?
43268 grep -v '^ *+' conftest.er1 >conftest.err
43269 rm -f conftest.er1
43270 cat conftest.err >&5
43271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43272 (exit $ac_status); } &&
43273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43274 { (case "(($ac_try" in
43275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43276 *) ac_try_echo=$ac_try;;
43277 esac
43278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43279 (eval "$ac_try") 2>&5
43280 ac_status=$?
43281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43282 (exit $ac_status); }; } &&
43283 { ac_try='test -s conftest$ac_exeext'
43284 { (case "(($ac_try" in
43285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43286 *) ac_try_echo=$ac_try;;
43287 esac
43288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43289 (eval "$ac_try") 2>&5
43290 ac_status=$?
43291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43292 (exit $ac_status); }; }; then
43293 ac_cv_lib_posix4_sched_get_priority_max=yes
43294 else
43295 echo "$as_me: failed program was:" >&5
43296 sed 's/^/| /' conftest.$ac_ext >&5
43297
43298 ac_cv_lib_posix4_sched_get_priority_max=no
43299 fi
43300
43301 rm -f core conftest.err conftest.$ac_objext \
43302 conftest$ac_exeext conftest.$ac_ext
43303 LIBS=$ac_check_lib_save_LIBS
43304 fi
43305 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43306 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43307 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43308
43309 HAVE_PRIOR_FUNCS=1
43310 POSIX4_LINK=" -lposix4"
43311
43312 fi
43313
43314
43315 fi
43316
43317
43318 fi
43319
43320
43321 fi
43322
43323
43324 if test "$HAVE_PRIOR_FUNCS" = 1; then
43325 cat >>confdefs.h <<\_ACEOF
43326 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43327 _ACEOF
43328
43329 else
43330 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43331 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43332 fi
43333
43334 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43335 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43336 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43337 echo $ECHO_N "(cached) $ECHO_C" >&6
43338 else
43339 cat >conftest.$ac_ext <<_ACEOF
43340 /* confdefs.h. */
43341 _ACEOF
43342 cat confdefs.h >>conftest.$ac_ext
43343 cat >>conftest.$ac_ext <<_ACEOF
43344 /* end confdefs.h. */
43345 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43347 #define pthread_cancel innocuous_pthread_cancel
43348
43349 /* System header to define __stub macros and hopefully few prototypes,
43350 which can conflict with char pthread_cancel (); below.
43351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43352 <limits.h> exists even on freestanding compilers. */
43353
43354 #ifdef __STDC__
43355 # include <limits.h>
43356 #else
43357 # include <assert.h>
43358 #endif
43359
43360 #undef pthread_cancel
43361
43362 /* Override any GCC internal prototype to avoid an error.
43363 Use char because int might match the return type of a GCC
43364 builtin and then its argument prototype would still apply. */
43365 #ifdef __cplusplus
43366 extern "C"
43367 #endif
43368 char pthread_cancel ();
43369 /* The GNU C library defines this for functions which it implements
43370 to always fail with ENOSYS. Some functions are actually named
43371 something starting with __ and the normal name is an alias. */
43372 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43373 choke me
43374 #endif
43375
43376 int
43377 main ()
43378 {
43379 return pthread_cancel ();
43380 ;
43381 return 0;
43382 }
43383 _ACEOF
43384 rm -f conftest.$ac_objext conftest$ac_exeext
43385 if { (ac_try="$ac_link"
43386 case "(($ac_try" in
43387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43388 *) ac_try_echo=$ac_try;;
43389 esac
43390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43391 (eval "$ac_link") 2>conftest.er1
43392 ac_status=$?
43393 grep -v '^ *+' conftest.er1 >conftest.err
43394 rm -f conftest.er1
43395 cat conftest.err >&5
43396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43397 (exit $ac_status); } &&
43398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43399 { (case "(($ac_try" in
43400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43401 *) ac_try_echo=$ac_try;;
43402 esac
43403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43404 (eval "$ac_try") 2>&5
43405 ac_status=$?
43406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43407 (exit $ac_status); }; } &&
43408 { ac_try='test -s conftest$ac_exeext'
43409 { (case "(($ac_try" in
43410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43411 *) ac_try_echo=$ac_try;;
43412 esac
43413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43414 (eval "$ac_try") 2>&5
43415 ac_status=$?
43416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43417 (exit $ac_status); }; }; then
43418 ac_cv_func_pthread_cancel=yes
43419 else
43420 echo "$as_me: failed program was:" >&5
43421 sed 's/^/| /' conftest.$ac_ext >&5
43422
43423 ac_cv_func_pthread_cancel=no
43424 fi
43425
43426 rm -f core conftest.err conftest.$ac_objext \
43427 conftest$ac_exeext conftest.$ac_ext
43428 fi
43429 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43430 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43431 if test $ac_cv_func_pthread_cancel = yes; then
43432 cat >>confdefs.h <<\_ACEOF
43433 #define HAVE_PTHREAD_CANCEL 1
43434 _ACEOF
43435
43436 else
43437 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43438 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43439 fi
43440
43441
43442 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43443 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43444 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43445 echo $ECHO_N "(cached) $ECHO_C" >&6
43446 else
43447 cat >conftest.$ac_ext <<_ACEOF
43448 /* confdefs.h. */
43449 _ACEOF
43450 cat confdefs.h >>conftest.$ac_ext
43451 cat >>conftest.$ac_ext <<_ACEOF
43452 /* end confdefs.h. */
43453 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43455 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43456
43457 /* System header to define __stub macros and hopefully few prototypes,
43458 which can conflict with char pthread_mutex_timedlock (); below.
43459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43460 <limits.h> exists even on freestanding compilers. */
43461
43462 #ifdef __STDC__
43463 # include <limits.h>
43464 #else
43465 # include <assert.h>
43466 #endif
43467
43468 #undef pthread_mutex_timedlock
43469
43470 /* Override any GCC internal prototype to avoid an error.
43471 Use char because int might match the return type of a GCC
43472 builtin and then its argument prototype would still apply. */
43473 #ifdef __cplusplus
43474 extern "C"
43475 #endif
43476 char pthread_mutex_timedlock ();
43477 /* The GNU C library defines this for functions which it implements
43478 to always fail with ENOSYS. Some functions are actually named
43479 something starting with __ and the normal name is an alias. */
43480 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43481 choke me
43482 #endif
43483
43484 int
43485 main ()
43486 {
43487 return pthread_mutex_timedlock ();
43488 ;
43489 return 0;
43490 }
43491 _ACEOF
43492 rm -f conftest.$ac_objext conftest$ac_exeext
43493 if { (ac_try="$ac_link"
43494 case "(($ac_try" in
43495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43496 *) ac_try_echo=$ac_try;;
43497 esac
43498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43499 (eval "$ac_link") 2>conftest.er1
43500 ac_status=$?
43501 grep -v '^ *+' conftest.er1 >conftest.err
43502 rm -f conftest.er1
43503 cat conftest.err >&5
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); } &&
43506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43507 { (case "(($ac_try" in
43508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43509 *) ac_try_echo=$ac_try;;
43510 esac
43511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43512 (eval "$ac_try") 2>&5
43513 ac_status=$?
43514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43515 (exit $ac_status); }; } &&
43516 { ac_try='test -s conftest$ac_exeext'
43517 { (case "(($ac_try" in
43518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43519 *) ac_try_echo=$ac_try;;
43520 esac
43521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43522 (eval "$ac_try") 2>&5
43523 ac_status=$?
43524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43525 (exit $ac_status); }; }; then
43526 ac_cv_func_pthread_mutex_timedlock=yes
43527 else
43528 echo "$as_me: failed program was:" >&5
43529 sed 's/^/| /' conftest.$ac_ext >&5
43530
43531 ac_cv_func_pthread_mutex_timedlock=no
43532 fi
43533
43534 rm -f core conftest.err conftest.$ac_objext \
43535 conftest$ac_exeext conftest.$ac_ext
43536 fi
43537 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43538 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43539 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43540 cat >>confdefs.h <<\_ACEOF
43541 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43542 _ACEOF
43543
43544 else
43545 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43546 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43547 fi
43548
43549
43550 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43551 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43552 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43553 echo $ECHO_N "(cached) $ECHO_C" >&6
43554 else
43555 cat >conftest.$ac_ext <<_ACEOF
43556 /* confdefs.h. */
43557 _ACEOF
43558 cat confdefs.h >>conftest.$ac_ext
43559 cat >>conftest.$ac_ext <<_ACEOF
43560 /* end confdefs.h. */
43561 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43563 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43564
43565 /* System header to define __stub macros and hopefully few prototypes,
43566 which can conflict with char pthread_attr_setstacksize (); below.
43567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43568 <limits.h> exists even on freestanding compilers. */
43569
43570 #ifdef __STDC__
43571 # include <limits.h>
43572 #else
43573 # include <assert.h>
43574 #endif
43575
43576 #undef pthread_attr_setstacksize
43577
43578 /* Override any GCC internal prototype to avoid an error.
43579 Use char because int might match the return type of a GCC
43580 builtin and then its argument prototype would still apply. */
43581 #ifdef __cplusplus
43582 extern "C"
43583 #endif
43584 char pthread_attr_setstacksize ();
43585 /* The GNU C library defines this for functions which it implements
43586 to always fail with ENOSYS. Some functions are actually named
43587 something starting with __ and the normal name is an alias. */
43588 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
43589 choke me
43590 #endif
43591
43592 int
43593 main ()
43594 {
43595 return pthread_attr_setstacksize ();
43596 ;
43597 return 0;
43598 }
43599 _ACEOF
43600 rm -f conftest.$ac_objext conftest$ac_exeext
43601 if { (ac_try="$ac_link"
43602 case "(($ac_try" in
43603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43604 *) ac_try_echo=$ac_try;;
43605 esac
43606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43607 (eval "$ac_link") 2>conftest.er1
43608 ac_status=$?
43609 grep -v '^ *+' conftest.er1 >conftest.err
43610 rm -f conftest.er1
43611 cat conftest.err >&5
43612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43613 (exit $ac_status); } &&
43614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43615 { (case "(($ac_try" in
43616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43617 *) ac_try_echo=$ac_try;;
43618 esac
43619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43620 (eval "$ac_try") 2>&5
43621 ac_status=$?
43622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43623 (exit $ac_status); }; } &&
43624 { ac_try='test -s conftest$ac_exeext'
43625 { (case "(($ac_try" in
43626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43627 *) ac_try_echo=$ac_try;;
43628 esac
43629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43630 (eval "$ac_try") 2>&5
43631 ac_status=$?
43632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43633 (exit $ac_status); }; }; then
43634 ac_cv_func_pthread_attr_setstacksize=yes
43635 else
43636 echo "$as_me: failed program was:" >&5
43637 sed 's/^/| /' conftest.$ac_ext >&5
43638
43639 ac_cv_func_pthread_attr_setstacksize=no
43640 fi
43641
43642 rm -f core conftest.err conftest.$ac_objext \
43643 conftest$ac_exeext conftest.$ac_ext
43644 fi
43645 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
43646 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
43647 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
43648 cat >>confdefs.h <<\_ACEOF
43649 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
43650 _ACEOF
43651
43652 fi
43653
43654
43655
43656 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
43657 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
43658 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
43659 echo $ECHO_N "(cached) $ECHO_C" >&6
43660 else
43661
43662 cat >conftest.$ac_ext <<_ACEOF
43663 /* confdefs.h. */
43664 _ACEOF
43665 cat confdefs.h >>conftest.$ac_ext
43666 cat >>conftest.$ac_ext <<_ACEOF
43667 /* end confdefs.h. */
43668 #include <pthread.h>
43669 int
43670 main ()
43671 {
43672
43673 pthread_mutexattr_t attr;
43674 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43675
43676 ;
43677 return 0;
43678 }
43679 _ACEOF
43680 rm -f conftest.$ac_objext
43681 if { (ac_try="$ac_compile"
43682 case "(($ac_try" in
43683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43684 *) ac_try_echo=$ac_try;;
43685 esac
43686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43687 (eval "$ac_compile") 2>conftest.er1
43688 ac_status=$?
43689 grep -v '^ *+' conftest.er1 >conftest.err
43690 rm -f conftest.er1
43691 cat conftest.err >&5
43692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43693 (exit $ac_status); } &&
43694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43695 { (case "(($ac_try" in
43696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43697 *) ac_try_echo=$ac_try;;
43698 esac
43699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43700 (eval "$ac_try") 2>&5
43701 ac_status=$?
43702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43703 (exit $ac_status); }; } &&
43704 { ac_try='test -s conftest.$ac_objext'
43705 { (case "(($ac_try" in
43706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43707 *) ac_try_echo=$ac_try;;
43708 esac
43709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43710 (eval "$ac_try") 2>&5
43711 ac_status=$?
43712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43713 (exit $ac_status); }; }; then
43714 wx_cv_type_pthread_mutexattr_t=yes
43715 else
43716 echo "$as_me: failed program was:" >&5
43717 sed 's/^/| /' conftest.$ac_ext >&5
43718
43719 wx_cv_type_pthread_mutexattr_t=no
43720
43721 fi
43722
43723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43724
43725 fi
43726 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
43727 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
43728
43729 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
43730 cat >>confdefs.h <<\_ACEOF
43731 #define HAVE_PTHREAD_MUTEXATTR_T 1
43732 _ACEOF
43733
43734
43735 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
43736 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
43737 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
43738 echo $ECHO_N "(cached) $ECHO_C" >&6
43739 else
43740
43741 cat >conftest.$ac_ext <<_ACEOF
43742 /* confdefs.h. */
43743 _ACEOF
43744 cat confdefs.h >>conftest.$ac_ext
43745 cat >>conftest.$ac_ext <<_ACEOF
43746 /* end confdefs.h. */
43747 #include <pthread.h>
43748 int
43749 main ()
43750 {
43751
43752 pthread_mutexattr_t attr;
43753 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43754
43755 ;
43756 return 0;
43757 }
43758 _ACEOF
43759 rm -f conftest.$ac_objext
43760 if { (ac_try="$ac_compile"
43761 case "(($ac_try" in
43762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43763 *) ac_try_echo=$ac_try;;
43764 esac
43765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43766 (eval "$ac_compile") 2>conftest.er1
43767 ac_status=$?
43768 grep -v '^ *+' conftest.er1 >conftest.err
43769 rm -f conftest.er1
43770 cat conftest.err >&5
43771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43772 (exit $ac_status); } &&
43773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43774 { (case "(($ac_try" in
43775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43776 *) ac_try_echo=$ac_try;;
43777 esac
43778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43779 (eval "$ac_try") 2>&5
43780 ac_status=$?
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); }; } &&
43783 { ac_try='test -s conftest.$ac_objext'
43784 { (case "(($ac_try" in
43785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43786 *) ac_try_echo=$ac_try;;
43787 esac
43788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43789 (eval "$ac_try") 2>&5
43790 ac_status=$?
43791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43792 (exit $ac_status); }; }; then
43793 wx_cv_func_pthread_mutexattr_settype_decl=yes
43794 else
43795 echo "$as_me: failed program was:" >&5
43796 sed 's/^/| /' conftest.$ac_ext >&5
43797
43798 wx_cv_func_pthread_mutexattr_settype_decl=no
43799
43800 fi
43801
43802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43803
43804 fi
43805 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
43806 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
43807 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
43808 cat >>confdefs.h <<\_ACEOF
43809 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
43810 _ACEOF
43811
43812 fi
43813 else
43814 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
43815 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
43816 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
43817 echo $ECHO_N "(cached) $ECHO_C" >&6
43818 else
43819
43820 cat >conftest.$ac_ext <<_ACEOF
43821 /* confdefs.h. */
43822 _ACEOF
43823 cat confdefs.h >>conftest.$ac_ext
43824 cat >>conftest.$ac_ext <<_ACEOF
43825 /* end confdefs.h. */
43826 #include <pthread.h>
43827 int
43828 main ()
43829 {
43830
43831 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
43832
43833 ;
43834 return 0;
43835 }
43836 _ACEOF
43837 rm -f conftest.$ac_objext
43838 if { (ac_try="$ac_compile"
43839 case "(($ac_try" in
43840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43841 *) ac_try_echo=$ac_try;;
43842 esac
43843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43844 (eval "$ac_compile") 2>conftest.er1
43845 ac_status=$?
43846 grep -v '^ *+' conftest.er1 >conftest.err
43847 rm -f conftest.er1
43848 cat conftest.err >&5
43849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43850 (exit $ac_status); } &&
43851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43852 { (case "(($ac_try" in
43853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43854 *) ac_try_echo=$ac_try;;
43855 esac
43856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43857 (eval "$ac_try") 2>&5
43858 ac_status=$?
43859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43860 (exit $ac_status); }; } &&
43861 { ac_try='test -s conftest.$ac_objext'
43862 { (case "(($ac_try" in
43863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43864 *) ac_try_echo=$ac_try;;
43865 esac
43866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43867 (eval "$ac_try") 2>&5
43868 ac_status=$?
43869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870 (exit $ac_status); }; }; then
43871
43872 wx_cv_type_pthread_rec_mutex_init=yes
43873
43874 else
43875 echo "$as_me: failed program was:" >&5
43876 sed 's/^/| /' conftest.$ac_ext >&5
43877
43878
43879 wx_cv_type_pthread_rec_mutex_init=no
43880
43881
43882 fi
43883
43884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43885
43886 fi
43887 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
43888 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
43889 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
43890 cat >>confdefs.h <<\_ACEOF
43891 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
43892 _ACEOF
43893
43894 else
43895 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
43896 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
43897 fi
43898 fi
43899 fi
43900
43901 else
43902 if test "$wxUSE_THREADS" = "yes" ; then
43903 case "${host}" in
43904 *-*-mingw32* )
43905 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
43906 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
43907 if test "${wx_cv_cflags_mthread+set}" = set; then
43908 echo $ECHO_N "(cached) $ECHO_C" >&6
43909 else
43910
43911 CFLAGS_OLD="$CFLAGS"
43912 CFLAGS="-mthreads $CFLAGS"
43913 cat >conftest.$ac_ext <<_ACEOF
43914 /* confdefs.h. */
43915 _ACEOF
43916 cat confdefs.h >>conftest.$ac_ext
43917 cat >>conftest.$ac_ext <<_ACEOF
43918 /* end confdefs.h. */
43919
43920 int
43921 main ()
43922 {
43923
43924 ;
43925 return 0;
43926 }
43927 _ACEOF
43928 rm -f conftest.$ac_objext
43929 if { (ac_try="$ac_compile"
43930 case "(($ac_try" in
43931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43932 *) ac_try_echo=$ac_try;;
43933 esac
43934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43935 (eval "$ac_compile") 2>conftest.er1
43936 ac_status=$?
43937 grep -v '^ *+' conftest.er1 >conftest.err
43938 rm -f conftest.er1
43939 cat conftest.err >&5
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); } &&
43942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43943 { (case "(($ac_try" in
43944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43945 *) ac_try_echo=$ac_try;;
43946 esac
43947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43948 (eval "$ac_try") 2>&5
43949 ac_status=$?
43950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43951 (exit $ac_status); }; } &&
43952 { ac_try='test -s conftest.$ac_objext'
43953 { (case "(($ac_try" in
43954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43955 *) ac_try_echo=$ac_try;;
43956 esac
43957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43958 (eval "$ac_try") 2>&5
43959 ac_status=$?
43960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43961 (exit $ac_status); }; }; then
43962 wx_cv_cflags_mthread=yes
43963 else
43964 echo "$as_me: failed program was:" >&5
43965 sed 's/^/| /' conftest.$ac_ext >&5
43966
43967 wx_cv_cflags_mthread=no
43968
43969 fi
43970
43971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43972
43973
43974 fi
43975 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
43976 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
43977
43978 if test "$wx_cv_cflags_mthread" = "yes"; then
43979 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
43980 LDFLAGS="$LDFLAGS -mthreads"
43981 else
43982 CFLAGS="$CFLAGS_OLD"
43983 fi
43984 ;;
43985 *-pc-os2*emx )
43986 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
43987 LDFLAGS="$LDFLAGS -Zmt"
43988 ;;
43989 esac
43990 fi
43991 fi
43992
43993 { echo "$as_me:$LINENO: checking for localtime_r" >&5
43994 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
43995 if test "${ac_cv_func_localtime_r+set}" = set; then
43996 echo $ECHO_N "(cached) $ECHO_C" >&6
43997 else
43998 cat >conftest.$ac_ext <<_ACEOF
43999 /* confdefs.h. */
44000 _ACEOF
44001 cat confdefs.h >>conftest.$ac_ext
44002 cat >>conftest.$ac_ext <<_ACEOF
44003 /* end confdefs.h. */
44004 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44006 #define localtime_r innocuous_localtime_r
44007
44008 /* System header to define __stub macros and hopefully few prototypes,
44009 which can conflict with char localtime_r (); below.
44010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44011 <limits.h> exists even on freestanding compilers. */
44012
44013 #ifdef __STDC__
44014 # include <limits.h>
44015 #else
44016 # include <assert.h>
44017 #endif
44018
44019 #undef localtime_r
44020
44021 /* Override any GCC internal prototype to avoid an error.
44022 Use char because int might match the return type of a GCC
44023 builtin and then its argument prototype would still apply. */
44024 #ifdef __cplusplus
44025 extern "C"
44026 #endif
44027 char localtime_r ();
44028 /* The GNU C library defines this for functions which it implements
44029 to always fail with ENOSYS. Some functions are actually named
44030 something starting with __ and the normal name is an alias. */
44031 #if defined __stub_localtime_r || defined __stub___localtime_r
44032 choke me
44033 #endif
44034
44035 int
44036 main ()
44037 {
44038 return localtime_r ();
44039 ;
44040 return 0;
44041 }
44042 _ACEOF
44043 rm -f conftest.$ac_objext conftest$ac_exeext
44044 if { (ac_try="$ac_link"
44045 case "(($ac_try" in
44046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44047 *) ac_try_echo=$ac_try;;
44048 esac
44049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44050 (eval "$ac_link") 2>conftest.er1
44051 ac_status=$?
44052 grep -v '^ *+' conftest.er1 >conftest.err
44053 rm -f conftest.er1
44054 cat conftest.err >&5
44055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44056 (exit $ac_status); } &&
44057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44058 { (case "(($ac_try" in
44059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44060 *) ac_try_echo=$ac_try;;
44061 esac
44062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44063 (eval "$ac_try") 2>&5
44064 ac_status=$?
44065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44066 (exit $ac_status); }; } &&
44067 { ac_try='test -s conftest$ac_exeext'
44068 { (case "(($ac_try" in
44069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44070 *) ac_try_echo=$ac_try;;
44071 esac
44072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44073 (eval "$ac_try") 2>&5
44074 ac_status=$?
44075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44076 (exit $ac_status); }; }; then
44077 ac_cv_func_localtime_r=yes
44078 else
44079 echo "$as_me: failed program was:" >&5
44080 sed 's/^/| /' conftest.$ac_ext >&5
44081
44082 ac_cv_func_localtime_r=no
44083 fi
44084
44085 rm -f core conftest.err conftest.$ac_objext \
44086 conftest$ac_exeext conftest.$ac_ext
44087 fi
44088 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
44089 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44090 if test $ac_cv_func_localtime_r = yes; then
44091 cat >>confdefs.h <<\_ACEOF
44092 #define HAVE_LOCALTIME_R 1
44093 _ACEOF
44094
44095 fi
44096
44097 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44098 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44099 if test "${ac_cv_func_gmtime_r+set}" = set; then
44100 echo $ECHO_N "(cached) $ECHO_C" >&6
44101 else
44102 cat >conftest.$ac_ext <<_ACEOF
44103 /* confdefs.h. */
44104 _ACEOF
44105 cat confdefs.h >>conftest.$ac_ext
44106 cat >>conftest.$ac_ext <<_ACEOF
44107 /* end confdefs.h. */
44108 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44110 #define gmtime_r innocuous_gmtime_r
44111
44112 /* System header to define __stub macros and hopefully few prototypes,
44113 which can conflict with char gmtime_r (); below.
44114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44115 <limits.h> exists even on freestanding compilers. */
44116
44117 #ifdef __STDC__
44118 # include <limits.h>
44119 #else
44120 # include <assert.h>
44121 #endif
44122
44123 #undef gmtime_r
44124
44125 /* Override any GCC internal prototype to avoid an error.
44126 Use char because int might match the return type of a GCC
44127 builtin and then its argument prototype would still apply. */
44128 #ifdef __cplusplus
44129 extern "C"
44130 #endif
44131 char gmtime_r ();
44132 /* The GNU C library defines this for functions which it implements
44133 to always fail with ENOSYS. Some functions are actually named
44134 something starting with __ and the normal name is an alias. */
44135 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44136 choke me
44137 #endif
44138
44139 int
44140 main ()
44141 {
44142 return gmtime_r ();
44143 ;
44144 return 0;
44145 }
44146 _ACEOF
44147 rm -f conftest.$ac_objext conftest$ac_exeext
44148 if { (ac_try="$ac_link"
44149 case "(($ac_try" in
44150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44151 *) ac_try_echo=$ac_try;;
44152 esac
44153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44154 (eval "$ac_link") 2>conftest.er1
44155 ac_status=$?
44156 grep -v '^ *+' conftest.er1 >conftest.err
44157 rm -f conftest.er1
44158 cat conftest.err >&5
44159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44160 (exit $ac_status); } &&
44161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44162 { (case "(($ac_try" in
44163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44164 *) ac_try_echo=$ac_try;;
44165 esac
44166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44167 (eval "$ac_try") 2>&5
44168 ac_status=$?
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); }; } &&
44171 { ac_try='test -s conftest$ac_exeext'
44172 { (case "(($ac_try" in
44173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44174 *) ac_try_echo=$ac_try;;
44175 esac
44176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44177 (eval "$ac_try") 2>&5
44178 ac_status=$?
44179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44180 (exit $ac_status); }; }; then
44181 ac_cv_func_gmtime_r=yes
44182 else
44183 echo "$as_me: failed program was:" >&5
44184 sed 's/^/| /' conftest.$ac_ext >&5
44185
44186 ac_cv_func_gmtime_r=no
44187 fi
44188
44189 rm -f core conftest.err conftest.$ac_objext \
44190 conftest$ac_exeext conftest.$ac_ext
44191 fi
44192 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44193 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44194 if test $ac_cv_func_gmtime_r = yes; then
44195 cat >>confdefs.h <<\_ACEOF
44196 #define HAVE_GMTIME_R 1
44197 _ACEOF
44198
44199 fi
44200
44201 { echo "$as_me:$LINENO: checking for readdir_r" >&5
44202 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
44203 if test "${ac_cv_func_readdir_r+set}" = set; then
44204 echo $ECHO_N "(cached) $ECHO_C" >&6
44205 else
44206 cat >conftest.$ac_ext <<_ACEOF
44207 /* confdefs.h. */
44208 _ACEOF
44209 cat confdefs.h >>conftest.$ac_ext
44210 cat >>conftest.$ac_ext <<_ACEOF
44211 /* end confdefs.h. */
44212 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
44213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44214 #define readdir_r innocuous_readdir_r
44215
44216 /* System header to define __stub macros and hopefully few prototypes,
44217 which can conflict with char readdir_r (); below.
44218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44219 <limits.h> exists even on freestanding compilers. */
44220
44221 #ifdef __STDC__
44222 # include <limits.h>
44223 #else
44224 # include <assert.h>
44225 #endif
44226
44227 #undef readdir_r
44228
44229 /* Override any GCC internal prototype to avoid an error.
44230 Use char because int might match the return type of a GCC
44231 builtin and then its argument prototype would still apply. */
44232 #ifdef __cplusplus
44233 extern "C"
44234 #endif
44235 char readdir_r ();
44236 /* The GNU C library defines this for functions which it implements
44237 to always fail with ENOSYS. Some functions are actually named
44238 something starting with __ and the normal name is an alias. */
44239 #if defined __stub_readdir_r || defined __stub___readdir_r
44240 choke me
44241 #endif
44242
44243 int
44244 main ()
44245 {
44246 return readdir_r ();
44247 ;
44248 return 0;
44249 }
44250 _ACEOF
44251 rm -f conftest.$ac_objext conftest$ac_exeext
44252 if { (ac_try="$ac_link"
44253 case "(($ac_try" in
44254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44255 *) ac_try_echo=$ac_try;;
44256 esac
44257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44258 (eval "$ac_link") 2>conftest.er1
44259 ac_status=$?
44260 grep -v '^ *+' conftest.er1 >conftest.err
44261 rm -f conftest.er1
44262 cat conftest.err >&5
44263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44264 (exit $ac_status); } &&
44265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44266 { (case "(($ac_try" in
44267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44268 *) ac_try_echo=$ac_try;;
44269 esac
44270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44271 (eval "$ac_try") 2>&5
44272 ac_status=$?
44273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44274 (exit $ac_status); }; } &&
44275 { ac_try='test -s conftest$ac_exeext'
44276 { (case "(($ac_try" in
44277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44278 *) ac_try_echo=$ac_try;;
44279 esac
44280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44281 (eval "$ac_try") 2>&5
44282 ac_status=$?
44283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44284 (exit $ac_status); }; }; then
44285 ac_cv_func_readdir_r=yes
44286 else
44287 echo "$as_me: failed program was:" >&5
44288 sed 's/^/| /' conftest.$ac_ext >&5
44289
44290 ac_cv_func_readdir_r=no
44291 fi
44292
44293 rm -f core conftest.err conftest.$ac_objext \
44294 conftest$ac_exeext conftest.$ac_ext
44295 fi
44296 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
44297 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
44298 if test $ac_cv_func_readdir_r = yes; then
44299 cat >>confdefs.h <<\_ACEOF
44300 #define HAVE_READDIR_R 1
44301 _ACEOF
44302
44303 fi
44304
44305
44306
44307
44308 ac_ext=c
44309 ac_cpp='$CPP $CPPFLAGS'
44310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44313
44314 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44315 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44316
44317 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44318 echo $ECHO_N "(cached) $ECHO_C" >&6
44319 else
44320
44321
44322 ################################################################
44323
44324 ac_cv_func_which_gethostbyname_r=unknown
44325
44326 #
44327 # ONE ARGUMENT (sanity check)
44328 #
44329
44330 # This should fail, as there is no variant of gethostbyname_r() that takes
44331 # a single argument. If it actually compiles, then we can assume that
44332 # netdb.h is not declaring the function, and the compiler is thereby
44333 # assuming an implicit prototype. In which case, we're out of luck.
44334 #
44335 cat >conftest.$ac_ext <<_ACEOF
44336 /* confdefs.h. */
44337 _ACEOF
44338 cat confdefs.h >>conftest.$ac_ext
44339 cat >>conftest.$ac_ext <<_ACEOF
44340 /* end confdefs.h. */
44341 #include <netdb.h>
44342 int
44343 main ()
44344 {
44345
44346 char *name = "www.gnu.org";
44347 (void)gethostbyname_r(name) /* ; */
44348
44349 ;
44350 return 0;
44351 }
44352 _ACEOF
44353 rm -f conftest.$ac_objext
44354 if { (ac_try="$ac_compile"
44355 case "(($ac_try" in
44356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44357 *) ac_try_echo=$ac_try;;
44358 esac
44359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44360 (eval "$ac_compile") 2>conftest.er1
44361 ac_status=$?
44362 grep -v '^ *+' conftest.er1 >conftest.err
44363 rm -f conftest.er1
44364 cat conftest.err >&5
44365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44366 (exit $ac_status); } &&
44367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44368 { (case "(($ac_try" in
44369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44370 *) ac_try_echo=$ac_try;;
44371 esac
44372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44373 (eval "$ac_try") 2>&5
44374 ac_status=$?
44375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44376 (exit $ac_status); }; } &&
44377 { ac_try='test -s conftest.$ac_objext'
44378 { (case "(($ac_try" in
44379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44380 *) ac_try_echo=$ac_try;;
44381 esac
44382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44383 (eval "$ac_try") 2>&5
44384 ac_status=$?
44385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44386 (exit $ac_status); }; }; then
44387 ac_cv_func_which_gethostbyname_r=no
44388 else
44389 echo "$as_me: failed program was:" >&5
44390 sed 's/^/| /' conftest.$ac_ext >&5
44391
44392
44393 fi
44394
44395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44396
44397 #
44398 # SIX ARGUMENTS
44399 # (e.g. Linux)
44400 #
44401
44402 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44403
44404 cat >conftest.$ac_ext <<_ACEOF
44405 /* confdefs.h. */
44406 _ACEOF
44407 cat confdefs.h >>conftest.$ac_ext
44408 cat >>conftest.$ac_ext <<_ACEOF
44409 /* end confdefs.h. */
44410 #include <netdb.h>
44411 int
44412 main ()
44413 {
44414
44415 char *name = "www.gnu.org";
44416 struct hostent ret, *retp;
44417 char buf[1024];
44418 int buflen = 1024;
44419 int my_h_errno;
44420 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44421
44422 ;
44423 return 0;
44424 }
44425 _ACEOF
44426 rm -f conftest.$ac_objext
44427 if { (ac_try="$ac_compile"
44428 case "(($ac_try" in
44429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44430 *) ac_try_echo=$ac_try;;
44431 esac
44432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44433 (eval "$ac_compile") 2>conftest.er1
44434 ac_status=$?
44435 grep -v '^ *+' conftest.er1 >conftest.err
44436 rm -f conftest.er1
44437 cat conftest.err >&5
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); } &&
44440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44441 { (case "(($ac_try" in
44442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44443 *) ac_try_echo=$ac_try;;
44444 esac
44445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44446 (eval "$ac_try") 2>&5
44447 ac_status=$?
44448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44449 (exit $ac_status); }; } &&
44450 { ac_try='test -s conftest.$ac_objext'
44451 { (case "(($ac_try" in
44452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44453 *) ac_try_echo=$ac_try;;
44454 esac
44455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44456 (eval "$ac_try") 2>&5
44457 ac_status=$?
44458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44459 (exit $ac_status); }; }; then
44460 ac_cv_func_which_gethostbyname_r=six
44461 else
44462 echo "$as_me: failed program was:" >&5
44463 sed 's/^/| /' conftest.$ac_ext >&5
44464
44465
44466 fi
44467
44468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44469
44470 fi
44471
44472 #
44473 # FIVE ARGUMENTS
44474 # (e.g. Solaris)
44475 #
44476
44477 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44478
44479 cat >conftest.$ac_ext <<_ACEOF
44480 /* confdefs.h. */
44481 _ACEOF
44482 cat confdefs.h >>conftest.$ac_ext
44483 cat >>conftest.$ac_ext <<_ACEOF
44484 /* end confdefs.h. */
44485 #include <netdb.h>
44486 int
44487 main ()
44488 {
44489
44490 char *name = "www.gnu.org";
44491 struct hostent ret;
44492 char buf[1024];
44493 int buflen = 1024;
44494 int my_h_errno;
44495 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44496
44497 ;
44498 return 0;
44499 }
44500 _ACEOF
44501 rm -f conftest.$ac_objext
44502 if { (ac_try="$ac_compile"
44503 case "(($ac_try" in
44504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44505 *) ac_try_echo=$ac_try;;
44506 esac
44507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44508 (eval "$ac_compile") 2>conftest.er1
44509 ac_status=$?
44510 grep -v '^ *+' conftest.er1 >conftest.err
44511 rm -f conftest.er1
44512 cat conftest.err >&5
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); } &&
44515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44516 { (case "(($ac_try" in
44517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44518 *) ac_try_echo=$ac_try;;
44519 esac
44520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44521 (eval "$ac_try") 2>&5
44522 ac_status=$?
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); }; } &&
44525 { ac_try='test -s conftest.$ac_objext'
44526 { (case "(($ac_try" in
44527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44528 *) ac_try_echo=$ac_try;;
44529 esac
44530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44531 (eval "$ac_try") 2>&5
44532 ac_status=$?
44533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44534 (exit $ac_status); }; }; then
44535 ac_cv_func_which_gethostbyname_r=five
44536 else
44537 echo "$as_me: failed program was:" >&5
44538 sed 's/^/| /' conftest.$ac_ext >&5
44539
44540
44541 fi
44542
44543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44544
44545 fi
44546
44547 #
44548 # THREE ARGUMENTS
44549 # (e.g. AIX, HP-UX, Tru64)
44550 #
44551
44552 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44553
44554 cat >conftest.$ac_ext <<_ACEOF
44555 /* confdefs.h. */
44556 _ACEOF
44557 cat confdefs.h >>conftest.$ac_ext
44558 cat >>conftest.$ac_ext <<_ACEOF
44559 /* end confdefs.h. */
44560 #include <netdb.h>
44561 int
44562 main ()
44563 {
44564
44565 char *name = "www.gnu.org";
44566 struct hostent ret;
44567 struct hostent_data data;
44568 (void)gethostbyname_r(name, &ret, &data) /* ; */
44569
44570 ;
44571 return 0;
44572 }
44573 _ACEOF
44574 rm -f conftest.$ac_objext
44575 if { (ac_try="$ac_compile"
44576 case "(($ac_try" in
44577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44578 *) ac_try_echo=$ac_try;;
44579 esac
44580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44581 (eval "$ac_compile") 2>conftest.er1
44582 ac_status=$?
44583 grep -v '^ *+' conftest.er1 >conftest.err
44584 rm -f conftest.er1
44585 cat conftest.err >&5
44586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44587 (exit $ac_status); } &&
44588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44589 { (case "(($ac_try" in
44590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44591 *) ac_try_echo=$ac_try;;
44592 esac
44593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44594 (eval "$ac_try") 2>&5
44595 ac_status=$?
44596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44597 (exit $ac_status); }; } &&
44598 { ac_try='test -s conftest.$ac_objext'
44599 { (case "(($ac_try" in
44600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44601 *) ac_try_echo=$ac_try;;
44602 esac
44603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44604 (eval "$ac_try") 2>&5
44605 ac_status=$?
44606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44607 (exit $ac_status); }; }; then
44608 ac_cv_func_which_gethostbyname_r=three
44609 else
44610 echo "$as_me: failed program was:" >&5
44611 sed 's/^/| /' conftest.$ac_ext >&5
44612
44613
44614 fi
44615
44616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44617
44618 fi
44619
44620 ################################################################
44621
44622
44623 fi
44624
44625 case "$ac_cv_func_which_gethostbyname_r" in
44626 three)
44627 { echo "$as_me:$LINENO: result: three" >&5
44628 echo "${ECHO_T}three" >&6; }
44629 cat >>confdefs.h <<\_ACEOF
44630 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44631 _ACEOF
44632
44633 ;;
44634
44635 five)
44636 { echo "$as_me:$LINENO: result: five" >&5
44637 echo "${ECHO_T}five" >&6; }
44638 cat >>confdefs.h <<\_ACEOF
44639 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44640 _ACEOF
44641
44642 ;;
44643
44644 six)
44645 { echo "$as_me:$LINENO: result: six" >&5
44646 echo "${ECHO_T}six" >&6; }
44647 cat >>confdefs.h <<\_ACEOF
44648 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44649 _ACEOF
44650
44651 ;;
44652
44653 no)
44654 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44655 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44656 ;;
44657
44658 unknown)
44659 { echo "$as_me:$LINENO: result: can't tell" >&5
44660 echo "${ECHO_T}can't tell" >&6; }
44661 ;;
44662
44663 *)
44664 { { echo "$as_me:$LINENO: error: internal error" >&5
44665 echo "$as_me: error: internal error" >&2;}
44666 { (exit 1); exit 1; }; }
44667 ;;
44668 esac
44669
44670 ac_ext=c
44671 ac_cpp='$CPP $CPPFLAGS'
44672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44675
44676
44677
44678 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
44679 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
44680 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
44681 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
44682 if test "${ac_cv_func_gethostbyname+set}" = set; then
44683 echo $ECHO_N "(cached) $ECHO_C" >&6
44684 else
44685 cat >conftest.$ac_ext <<_ACEOF
44686 /* confdefs.h. */
44687 _ACEOF
44688 cat confdefs.h >>conftest.$ac_ext
44689 cat >>conftest.$ac_ext <<_ACEOF
44690 /* end confdefs.h. */
44691 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
44692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44693 #define gethostbyname innocuous_gethostbyname
44694
44695 /* System header to define __stub macros and hopefully few prototypes,
44696 which can conflict with char gethostbyname (); below.
44697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44698 <limits.h> exists even on freestanding compilers. */
44699
44700 #ifdef __STDC__
44701 # include <limits.h>
44702 #else
44703 # include <assert.h>
44704 #endif
44705
44706 #undef gethostbyname
44707
44708 /* Override any GCC internal prototype to avoid an error.
44709 Use char because int might match the return type of a GCC
44710 builtin and then its argument prototype would still apply. */
44711 #ifdef __cplusplus
44712 extern "C"
44713 #endif
44714 char gethostbyname ();
44715 /* The GNU C library defines this for functions which it implements
44716 to always fail with ENOSYS. Some functions are actually named
44717 something starting with __ and the normal name is an alias. */
44718 #if defined __stub_gethostbyname || defined __stub___gethostbyname
44719 choke me
44720 #endif
44721
44722 int
44723 main ()
44724 {
44725 return gethostbyname ();
44726 ;
44727 return 0;
44728 }
44729 _ACEOF
44730 rm -f conftest.$ac_objext conftest$ac_exeext
44731 if { (ac_try="$ac_link"
44732 case "(($ac_try" in
44733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44734 *) ac_try_echo=$ac_try;;
44735 esac
44736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44737 (eval "$ac_link") 2>conftest.er1
44738 ac_status=$?
44739 grep -v '^ *+' conftest.er1 >conftest.err
44740 rm -f conftest.er1
44741 cat conftest.err >&5
44742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44743 (exit $ac_status); } &&
44744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44745 { (case "(($ac_try" in
44746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44747 *) ac_try_echo=$ac_try;;
44748 esac
44749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44750 (eval "$ac_try") 2>&5
44751 ac_status=$?
44752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44753 (exit $ac_status); }; } &&
44754 { ac_try='test -s conftest$ac_exeext'
44755 { (case "(($ac_try" in
44756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44757 *) ac_try_echo=$ac_try;;
44758 esac
44759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44760 (eval "$ac_try") 2>&5
44761 ac_status=$?
44762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44763 (exit $ac_status); }; }; then
44764 ac_cv_func_gethostbyname=yes
44765 else
44766 echo "$as_me: failed program was:" >&5
44767 sed 's/^/| /' conftest.$ac_ext >&5
44768
44769 ac_cv_func_gethostbyname=no
44770 fi
44771
44772 rm -f core conftest.err conftest.$ac_objext \
44773 conftest$ac_exeext conftest.$ac_ext
44774 fi
44775 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
44776 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
44777 if test $ac_cv_func_gethostbyname = yes; then
44778 cat >>confdefs.h <<\_ACEOF
44779 #define HAVE_GETHOSTBYNAME 1
44780 _ACEOF
44781
44782 fi
44783
44784 fi
44785
44786 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
44787 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
44788 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
44789 echo $ECHO_N "(cached) $ECHO_C" >&6
44790 else
44791
44792 ac_ext=cpp
44793 ac_cpp='$CXXCPP $CPPFLAGS'
44794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44797
44798
44799 cat >conftest.$ac_ext <<_ACEOF
44800 /* confdefs.h. */
44801 _ACEOF
44802 cat confdefs.h >>conftest.$ac_ext
44803 cat >>conftest.$ac_ext <<_ACEOF
44804 /* end confdefs.h. */
44805 #include <netdb.h>
44806 int
44807 main ()
44808 {
44809
44810 char *name;
44811 char *proto;
44812 struct servent *se, *res;
44813 char buffer[2048];
44814 int buflen = 2048;
44815 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
44816
44817 ;
44818 return 0;
44819 }
44820 _ACEOF
44821 rm -f conftest.$ac_objext
44822 if { (ac_try="$ac_compile"
44823 case "(($ac_try" in
44824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44825 *) ac_try_echo=$ac_try;;
44826 esac
44827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44828 (eval "$ac_compile") 2>conftest.er1
44829 ac_status=$?
44830 grep -v '^ *+' conftest.er1 >conftest.err
44831 rm -f conftest.er1
44832 cat conftest.err >&5
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); } &&
44835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44836 { (case "(($ac_try" in
44837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44838 *) ac_try_echo=$ac_try;;
44839 esac
44840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44841 (eval "$ac_try") 2>&5
44842 ac_status=$?
44843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44844 (exit $ac_status); }; } &&
44845 { ac_try='test -s conftest.$ac_objext'
44846 { (case "(($ac_try" in
44847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44848 *) ac_try_echo=$ac_try;;
44849 esac
44850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44851 (eval "$ac_try") 2>&5
44852 ac_status=$?
44853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44854 (exit $ac_status); }; }; then
44855 ac_cv_func_which_getservbyname_r=six
44856 else
44857 echo "$as_me: failed program was:" >&5
44858 sed 's/^/| /' conftest.$ac_ext >&5
44859
44860
44861 cat >conftest.$ac_ext <<_ACEOF
44862 /* confdefs.h. */
44863 _ACEOF
44864 cat confdefs.h >>conftest.$ac_ext
44865 cat >>conftest.$ac_ext <<_ACEOF
44866 /* end confdefs.h. */
44867 #include <netdb.h>
44868 int
44869 main ()
44870 {
44871
44872 char *name;
44873 char *proto;
44874 struct servent *se;
44875 char buffer[2048];
44876 int buflen = 2048;
44877 (void) getservbyname_r(name, proto, se, buffer, buflen)
44878
44879 ;
44880 return 0;
44881 }
44882 _ACEOF
44883 rm -f conftest.$ac_objext
44884 if { (ac_try="$ac_compile"
44885 case "(($ac_try" in
44886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44887 *) ac_try_echo=$ac_try;;
44888 esac
44889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44890 (eval "$ac_compile") 2>conftest.er1
44891 ac_status=$?
44892 grep -v '^ *+' conftest.er1 >conftest.err
44893 rm -f conftest.er1
44894 cat conftest.err >&5
44895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44896 (exit $ac_status); } &&
44897 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44898 { (case "(($ac_try" in
44899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44900 *) ac_try_echo=$ac_try;;
44901 esac
44902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44903 (eval "$ac_try") 2>&5
44904 ac_status=$?
44905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44906 (exit $ac_status); }; } &&
44907 { ac_try='test -s conftest.$ac_objext'
44908 { (case "(($ac_try" in
44909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44910 *) ac_try_echo=$ac_try;;
44911 esac
44912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44913 (eval "$ac_try") 2>&5
44914 ac_status=$?
44915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44916 (exit $ac_status); }; }; then
44917 ac_cv_func_which_getservbyname_r=five
44918 else
44919 echo "$as_me: failed program was:" >&5
44920 sed 's/^/| /' conftest.$ac_ext >&5
44921
44922
44923 cat >conftest.$ac_ext <<_ACEOF
44924 /* confdefs.h. */
44925 _ACEOF
44926 cat confdefs.h >>conftest.$ac_ext
44927 cat >>conftest.$ac_ext <<_ACEOF
44928 /* end confdefs.h. */
44929 #include <netdb.h>
44930 int
44931 main ()
44932 {
44933
44934 char *name;
44935 char *proto;
44936 struct servent *se;
44937 struct servent_data data;
44938 (void) getservbyname_r(name, proto, se, &data);
44939
44940 ;
44941 return 0;
44942 }
44943 _ACEOF
44944 rm -f conftest.$ac_objext
44945 if { (ac_try="$ac_compile"
44946 case "(($ac_try" in
44947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44948 *) ac_try_echo=$ac_try;;
44949 esac
44950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44951 (eval "$ac_compile") 2>conftest.er1
44952 ac_status=$?
44953 grep -v '^ *+' conftest.er1 >conftest.err
44954 rm -f conftest.er1
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } &&
44958 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44959 { (case "(($ac_try" in
44960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44961 *) ac_try_echo=$ac_try;;
44962 esac
44963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44964 (eval "$ac_try") 2>&5
44965 ac_status=$?
44966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44967 (exit $ac_status); }; } &&
44968 { ac_try='test -s conftest.$ac_objext'
44969 { (case "(($ac_try" in
44970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44971 *) ac_try_echo=$ac_try;;
44972 esac
44973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44974 (eval "$ac_try") 2>&5
44975 ac_status=$?
44976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44977 (exit $ac_status); }; }; then
44978 ac_cv_func_which_getservbyname_r=four
44979 else
44980 echo "$as_me: failed program was:" >&5
44981 sed 's/^/| /' conftest.$ac_ext >&5
44982
44983 ac_cv_func_which_getservbyname_r=no
44984
44985 fi
44986
44987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44988
44989
44990 fi
44991
44992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44993
44994
44995 fi
44996
44997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44998 ac_ext=c
44999 ac_cpp='$CPP $CPPFLAGS'
45000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45003
45004
45005
45006 fi
45007 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45008 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45009
45010 if test $ac_cv_func_which_getservbyname_r = six; then
45011 cat >>confdefs.h <<\_ACEOF
45012 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45013 _ACEOF
45014
45015 elif test $ac_cv_func_which_getservbyname_r = five; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45018 _ACEOF
45019
45020 elif test $ac_cv_func_which_getservbyname_r = four; then
45021 cat >>confdefs.h <<\_ACEOF
45022 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45023 _ACEOF
45024
45025 fi
45026
45027
45028 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45029 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45030
45031 for ac_func in getservbyname
45032 do
45033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45034 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45036 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45037 echo $ECHO_N "(cached) $ECHO_C" >&6
45038 else
45039 cat >conftest.$ac_ext <<_ACEOF
45040 /* confdefs.h. */
45041 _ACEOF
45042 cat confdefs.h >>conftest.$ac_ext
45043 cat >>conftest.$ac_ext <<_ACEOF
45044 /* end confdefs.h. */
45045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45047 #define $ac_func innocuous_$ac_func
45048
45049 /* System header to define __stub macros and hopefully few prototypes,
45050 which can conflict with char $ac_func (); below.
45051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45052 <limits.h> exists even on freestanding compilers. */
45053
45054 #ifdef __STDC__
45055 # include <limits.h>
45056 #else
45057 # include <assert.h>
45058 #endif
45059
45060 #undef $ac_func
45061
45062 /* Override any GCC internal prototype to avoid an error.
45063 Use char because int might match the return type of a GCC
45064 builtin and then its argument prototype would still apply. */
45065 #ifdef __cplusplus
45066 extern "C"
45067 #endif
45068 char $ac_func ();
45069 /* The GNU C library defines this for functions which it implements
45070 to always fail with ENOSYS. Some functions are actually named
45071 something starting with __ and the normal name is an alias. */
45072 #if defined __stub_$ac_func || defined __stub___$ac_func
45073 choke me
45074 #endif
45075
45076 int
45077 main ()
45078 {
45079 return $ac_func ();
45080 ;
45081 return 0;
45082 }
45083 _ACEOF
45084 rm -f conftest.$ac_objext conftest$ac_exeext
45085 if { (ac_try="$ac_link"
45086 case "(($ac_try" in
45087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45088 *) ac_try_echo=$ac_try;;
45089 esac
45090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45091 (eval "$ac_link") 2>conftest.er1
45092 ac_status=$?
45093 grep -v '^ *+' conftest.er1 >conftest.err
45094 rm -f conftest.er1
45095 cat conftest.err >&5
45096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45097 (exit $ac_status); } &&
45098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45099 { (case "(($ac_try" in
45100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45101 *) ac_try_echo=$ac_try;;
45102 esac
45103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45104 (eval "$ac_try") 2>&5
45105 ac_status=$?
45106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45107 (exit $ac_status); }; } &&
45108 { ac_try='test -s conftest$ac_exeext'
45109 { (case "(($ac_try" in
45110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45111 *) ac_try_echo=$ac_try;;
45112 esac
45113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45114 (eval "$ac_try") 2>&5
45115 ac_status=$?
45116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45117 (exit $ac_status); }; }; then
45118 eval "$as_ac_var=yes"
45119 else
45120 echo "$as_me: failed program was:" >&5
45121 sed 's/^/| /' conftest.$ac_ext >&5
45122
45123 eval "$as_ac_var=no"
45124 fi
45125
45126 rm -f core conftest.err conftest.$ac_objext \
45127 conftest$ac_exeext conftest.$ac_ext
45128 fi
45129 ac_res=`eval echo '${'$as_ac_var'}'`
45130 { echo "$as_me:$LINENO: result: $ac_res" >&5
45131 echo "${ECHO_T}$ac_res" >&6; }
45132 if test `eval echo '${'$as_ac_var'}'` = yes; then
45133 cat >>confdefs.h <<_ACEOF
45134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45135 _ACEOF
45136 cat >>confdefs.h <<\_ACEOF
45137 #define HAVE_GETSERVBYNAME 1
45138 _ACEOF
45139
45140 fi
45141 done
45142
45143 fi
45144
45145 if test "$wxUSE_THREADS" = "yes"; then
45146 cat >>confdefs.h <<\_ACEOF
45147 #define wxUSE_THREADS 1
45148 _ACEOF
45149
45150
45151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
45152 else
45153 if test "$wx_cv_func_strtok_r" = "yes"; then
45154 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45155 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45156 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45157 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45158 { echo "$as_me:$LINENO: result: yes" >&5
45159 echo "${ECHO_T}yes" >&6; }
45160 else
45161 { echo "$as_me:$LINENO: result: no" >&5
45162 echo "${ECHO_T}no" >&6; }
45163 fi
45164 fi
45165 fi
45166
45167 if test "$WXGTK20" = 1 ; then
45168 cat >>confdefs.h <<_ACEOF
45169 #define __WXGTK20__ $WXGTK20
45170 _ACEOF
45171
45172 WXGTK12=1
45173 fi
45174
45175 if test "$WXGTK12" = 1 ; then
45176 cat >>confdefs.h <<_ACEOF
45177 #define __WXGTK12__ $WXGTK12
45178 _ACEOF
45179
45180 fi
45181
45182 if test "$WXGTK127" = 1 ; then
45183 cat >>confdefs.h <<_ACEOF
45184 #define __WXGTK127__ $WXGTK127
45185 _ACEOF
45186
45187 fi
45188
45189 if test "$WXGPE" = 1 ; then
45190 cat >>confdefs.h <<_ACEOF
45191 #define __WXGPE__ $WXGPE
45192 _ACEOF
45193
45194 fi
45195
45196 DEBUG_CFLAGS=
45197 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
45198 DEBUG_CFLAGS="-g"
45199 wxUSE_OPTIMISE=no
45200 fi
45201
45202 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45203 wxUSE_DEBUG_INFO=yes
45204 if test "$GCC" = yes; then
45205 DEBUG_CFLAGS="-ggdb"
45206 fi
45207 fi
45208
45209 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
45210 cat >>confdefs.h <<\_ACEOF
45211 #define WXDEBUG 1
45212 _ACEOF
45213
45214 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
45215 else
45216 if test "$wxUSE_GTK" = 1 ; then
45217 if test "x$wxGTK_VERSION" = "x1" ; then
45218 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45219 fi
45220 fi
45221 fi
45222
45223 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_MEMORY_TRACING 1
45226 _ACEOF
45227
45228 cat >>confdefs.h <<\_ACEOF
45229 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45230 _ACEOF
45231
45232 cat >>confdefs.h <<\_ACEOF
45233 #define wxUSE_DEBUG_NEW_ALWAYS 1
45234 _ACEOF
45235
45236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
45237 fi
45238
45239 if test "$wxUSE_DMALLOC" = "yes" ; then
45240 DMALLOC_LIBS="-ldmallocthcxx"
45241 fi
45242
45243 PROFILE_FLAGS=
45244 if test "$wxUSE_PROFILE" = "yes" ; then
45245 PROFILE_FLAGS=" -pg"
45246 fi
45247
45248 if test "$GCC" = "yes" ; then
45249 if test "$wxUSE_NO_RTTI" = "yes" ; then
45250 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
45251 fi
45252 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45253 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
45254 fi
45255 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45256 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
45257 fi
45258
45259 case "${host}" in
45260 powerpc*-*-aix* )
45261 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
45262 ;;
45263 *-hppa* )
45264 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
45265 ;;
45266 esac
45267 fi
45268
45269 OPTIMISE_CFLAGS=
45270 if test "$wxUSE_OPTIMISE" = "no" ; then
45271 if test "$GCC" = yes ; then
45272 OPTIMISE_CFLAGS="-O0"
45273 fi
45274 else
45275 if test "$GCC" = yes ; then
45276 case "${host}" in
45277 *-pc-os2_emx | *-pc-os2-emx )
45278 OPTIMISE_CFLAGS="-O2"
45279 ;;
45280 *)
45281 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
45282 ;;
45283 esac
45284 else
45285 OPTIMISE_CFLAGS="-O"
45286 fi
45287 fi
45288
45289
45290 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45291 cat >>confdefs.h <<\_ACEOF
45292 #define WXWIN_COMPATIBILITY_2_6 1
45293 _ACEOF
45294
45295
45296 WXWIN_COMPATIBILITY_2_8="yes"
45297 fi
45298
45299 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45300 cat >>confdefs.h <<\_ACEOF
45301 #define WXWIN_COMPATIBILITY_2_8 1
45302 _ACEOF
45303
45304 fi
45305
45306
45307 if test "$wxUSE_GUI" = "yes"; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_GUI 1
45310 _ACEOF
45311
45312
45313 fi
45314
45315
45316 if test "$wxUSE_UNIX" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_UNIX 1
45319 _ACEOF
45320
45321 fi
45322
45323
45324 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45325
45326 HAVE_DL_FUNCS=0
45327 HAVE_SHL_FUNCS=0
45328 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45329 if test "$USE_DARWIN" = 1; then
45330 HAVE_DL_FUNCS=1
45331 elif test "$USE_DOS" = 1; then
45332 HAVE_DL_FUNCS=0
45333 else
45334
45335 for ac_func in dlopen
45336 do
45337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45338 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45340 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45341 echo $ECHO_N "(cached) $ECHO_C" >&6
45342 else
45343 cat >conftest.$ac_ext <<_ACEOF
45344 /* confdefs.h. */
45345 _ACEOF
45346 cat confdefs.h >>conftest.$ac_ext
45347 cat >>conftest.$ac_ext <<_ACEOF
45348 /* end confdefs.h. */
45349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45351 #define $ac_func innocuous_$ac_func
45352
45353 /* System header to define __stub macros and hopefully few prototypes,
45354 which can conflict with char $ac_func (); below.
45355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45356 <limits.h> exists even on freestanding compilers. */
45357
45358 #ifdef __STDC__
45359 # include <limits.h>
45360 #else
45361 # include <assert.h>
45362 #endif
45363
45364 #undef $ac_func
45365
45366 /* Override any GCC internal prototype to avoid an error.
45367 Use char because int might match the return type of a GCC
45368 builtin and then its argument prototype would still apply. */
45369 #ifdef __cplusplus
45370 extern "C"
45371 #endif
45372 char $ac_func ();
45373 /* The GNU C library defines this for functions which it implements
45374 to always fail with ENOSYS. Some functions are actually named
45375 something starting with __ and the normal name is an alias. */
45376 #if defined __stub_$ac_func || defined __stub___$ac_func
45377 choke me
45378 #endif
45379
45380 int
45381 main ()
45382 {
45383 return $ac_func ();
45384 ;
45385 return 0;
45386 }
45387 _ACEOF
45388 rm -f conftest.$ac_objext conftest$ac_exeext
45389 if { (ac_try="$ac_link"
45390 case "(($ac_try" in
45391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45392 *) ac_try_echo=$ac_try;;
45393 esac
45394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45395 (eval "$ac_link") 2>conftest.er1
45396 ac_status=$?
45397 grep -v '^ *+' conftest.er1 >conftest.err
45398 rm -f conftest.er1
45399 cat conftest.err >&5
45400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45401 (exit $ac_status); } &&
45402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45403 { (case "(($ac_try" in
45404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45405 *) ac_try_echo=$ac_try;;
45406 esac
45407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45408 (eval "$ac_try") 2>&5
45409 ac_status=$?
45410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45411 (exit $ac_status); }; } &&
45412 { ac_try='test -s conftest$ac_exeext'
45413 { (case "(($ac_try" in
45414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45415 *) ac_try_echo=$ac_try;;
45416 esac
45417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45418 (eval "$ac_try") 2>&5
45419 ac_status=$?
45420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45421 (exit $ac_status); }; }; then
45422 eval "$as_ac_var=yes"
45423 else
45424 echo "$as_me: failed program was:" >&5
45425 sed 's/^/| /' conftest.$ac_ext >&5
45426
45427 eval "$as_ac_var=no"
45428 fi
45429
45430 rm -f core conftest.err conftest.$ac_objext \
45431 conftest$ac_exeext conftest.$ac_ext
45432 fi
45433 ac_res=`eval echo '${'$as_ac_var'}'`
45434 { echo "$as_me:$LINENO: result: $ac_res" >&5
45435 echo "${ECHO_T}$ac_res" >&6; }
45436 if test `eval echo '${'$as_ac_var'}'` = yes; then
45437 cat >>confdefs.h <<_ACEOF
45438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45439 _ACEOF
45440
45441 cat >>confdefs.h <<\_ACEOF
45442 #define HAVE_DLOPEN 1
45443 _ACEOF
45444
45445 HAVE_DL_FUNCS=1
45446
45447 else
45448
45449 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45450 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45451 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45452 echo $ECHO_N "(cached) $ECHO_C" >&6
45453 else
45454 ac_check_lib_save_LIBS=$LIBS
45455 LIBS="-ldl $LIBS"
45456 cat >conftest.$ac_ext <<_ACEOF
45457 /* confdefs.h. */
45458 _ACEOF
45459 cat confdefs.h >>conftest.$ac_ext
45460 cat >>conftest.$ac_ext <<_ACEOF
45461 /* end confdefs.h. */
45462
45463 /* Override any GCC internal prototype to avoid an error.
45464 Use char because int might match the return type of a GCC
45465 builtin and then its argument prototype would still apply. */
45466 #ifdef __cplusplus
45467 extern "C"
45468 #endif
45469 char dlopen ();
45470 int
45471 main ()
45472 {
45473 return dlopen ();
45474 ;
45475 return 0;
45476 }
45477 _ACEOF
45478 rm -f conftest.$ac_objext conftest$ac_exeext
45479 if { (ac_try="$ac_link"
45480 case "(($ac_try" in
45481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45482 *) ac_try_echo=$ac_try;;
45483 esac
45484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45485 (eval "$ac_link") 2>conftest.er1
45486 ac_status=$?
45487 grep -v '^ *+' conftest.er1 >conftest.err
45488 rm -f conftest.er1
45489 cat conftest.err >&5
45490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45491 (exit $ac_status); } &&
45492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45493 { (case "(($ac_try" in
45494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45495 *) ac_try_echo=$ac_try;;
45496 esac
45497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45498 (eval "$ac_try") 2>&5
45499 ac_status=$?
45500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45501 (exit $ac_status); }; } &&
45502 { ac_try='test -s conftest$ac_exeext'
45503 { (case "(($ac_try" in
45504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45505 *) ac_try_echo=$ac_try;;
45506 esac
45507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45508 (eval "$ac_try") 2>&5
45509 ac_status=$?
45510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45511 (exit $ac_status); }; }; then
45512 ac_cv_lib_dl_dlopen=yes
45513 else
45514 echo "$as_me: failed program was:" >&5
45515 sed 's/^/| /' conftest.$ac_ext >&5
45516
45517 ac_cv_lib_dl_dlopen=no
45518 fi
45519
45520 rm -f core conftest.err conftest.$ac_objext \
45521 conftest$ac_exeext conftest.$ac_ext
45522 LIBS=$ac_check_lib_save_LIBS
45523 fi
45524 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45525 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45526 if test $ac_cv_lib_dl_dlopen = yes; then
45527
45528 cat >>confdefs.h <<\_ACEOF
45529 #define HAVE_DLOPEN 1
45530 _ACEOF
45531
45532 HAVE_DL_FUNCS=1
45533 DL_LINK=" -ldl$DL_LINK"
45534
45535 else
45536
45537
45538 for ac_func in shl_load
45539 do
45540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45541 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45543 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45544 echo $ECHO_N "(cached) $ECHO_C" >&6
45545 else
45546 cat >conftest.$ac_ext <<_ACEOF
45547 /* confdefs.h. */
45548 _ACEOF
45549 cat confdefs.h >>conftest.$ac_ext
45550 cat >>conftest.$ac_ext <<_ACEOF
45551 /* end confdefs.h. */
45552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45554 #define $ac_func innocuous_$ac_func
45555
45556 /* System header to define __stub macros and hopefully few prototypes,
45557 which can conflict with char $ac_func (); below.
45558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45559 <limits.h> exists even on freestanding compilers. */
45560
45561 #ifdef __STDC__
45562 # include <limits.h>
45563 #else
45564 # include <assert.h>
45565 #endif
45566
45567 #undef $ac_func
45568
45569 /* Override any GCC internal prototype to avoid an error.
45570 Use char because int might match the return type of a GCC
45571 builtin and then its argument prototype would still apply. */
45572 #ifdef __cplusplus
45573 extern "C"
45574 #endif
45575 char $ac_func ();
45576 /* The GNU C library defines this for functions which it implements
45577 to always fail with ENOSYS. Some functions are actually named
45578 something starting with __ and the normal name is an alias. */
45579 #if defined __stub_$ac_func || defined __stub___$ac_func
45580 choke me
45581 #endif
45582
45583 int
45584 main ()
45585 {
45586 return $ac_func ();
45587 ;
45588 return 0;
45589 }
45590 _ACEOF
45591 rm -f conftest.$ac_objext conftest$ac_exeext
45592 if { (ac_try="$ac_link"
45593 case "(($ac_try" in
45594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45595 *) ac_try_echo=$ac_try;;
45596 esac
45597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45598 (eval "$ac_link") 2>conftest.er1
45599 ac_status=$?
45600 grep -v '^ *+' conftest.er1 >conftest.err
45601 rm -f conftest.er1
45602 cat conftest.err >&5
45603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45604 (exit $ac_status); } &&
45605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45606 { (case "(($ac_try" in
45607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45608 *) ac_try_echo=$ac_try;;
45609 esac
45610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45611 (eval "$ac_try") 2>&5
45612 ac_status=$?
45613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45614 (exit $ac_status); }; } &&
45615 { ac_try='test -s conftest$ac_exeext'
45616 { (case "(($ac_try" in
45617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45618 *) ac_try_echo=$ac_try;;
45619 esac
45620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45621 (eval "$ac_try") 2>&5
45622 ac_status=$?
45623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45624 (exit $ac_status); }; }; then
45625 eval "$as_ac_var=yes"
45626 else
45627 echo "$as_me: failed program was:" >&5
45628 sed 's/^/| /' conftest.$ac_ext >&5
45629
45630 eval "$as_ac_var=no"
45631 fi
45632
45633 rm -f core conftest.err conftest.$ac_objext \
45634 conftest$ac_exeext conftest.$ac_ext
45635 fi
45636 ac_res=`eval echo '${'$as_ac_var'}'`
45637 { echo "$as_me:$LINENO: result: $ac_res" >&5
45638 echo "${ECHO_T}$ac_res" >&6; }
45639 if test `eval echo '${'$as_ac_var'}'` = yes; then
45640 cat >>confdefs.h <<_ACEOF
45641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45642 _ACEOF
45643
45644 cat >>confdefs.h <<\_ACEOF
45645 #define HAVE_SHL_LOAD 1
45646 _ACEOF
45647
45648 HAVE_SHL_FUNCS=1
45649
45650 else
45651
45652 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45653 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45654 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45655 echo $ECHO_N "(cached) $ECHO_C" >&6
45656 else
45657 ac_check_lib_save_LIBS=$LIBS
45658 LIBS="-lshl_load $LIBS"
45659 cat >conftest.$ac_ext <<_ACEOF
45660 /* confdefs.h. */
45661 _ACEOF
45662 cat confdefs.h >>conftest.$ac_ext
45663 cat >>conftest.$ac_ext <<_ACEOF
45664 /* end confdefs.h. */
45665
45666 /* Override any GCC internal prototype to avoid an error.
45667 Use char because int might match the return type of a GCC
45668 builtin and then its argument prototype would still apply. */
45669 #ifdef __cplusplus
45670 extern "C"
45671 #endif
45672 char dld ();
45673 int
45674 main ()
45675 {
45676 return dld ();
45677 ;
45678 return 0;
45679 }
45680 _ACEOF
45681 rm -f conftest.$ac_objext conftest$ac_exeext
45682 if { (ac_try="$ac_link"
45683 case "(($ac_try" in
45684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45685 *) ac_try_echo=$ac_try;;
45686 esac
45687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45688 (eval "$ac_link") 2>conftest.er1
45689 ac_status=$?
45690 grep -v '^ *+' conftest.er1 >conftest.err
45691 rm -f conftest.er1
45692 cat conftest.err >&5
45693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45694 (exit $ac_status); } &&
45695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45696 { (case "(($ac_try" in
45697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45698 *) ac_try_echo=$ac_try;;
45699 esac
45700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45701 (eval "$ac_try") 2>&5
45702 ac_status=$?
45703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45704 (exit $ac_status); }; } &&
45705 { ac_try='test -s conftest$ac_exeext'
45706 { (case "(($ac_try" in
45707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45708 *) ac_try_echo=$ac_try;;
45709 esac
45710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45711 (eval "$ac_try") 2>&5
45712 ac_status=$?
45713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45714 (exit $ac_status); }; }; then
45715 ac_cv_lib_shl_load_dld=yes
45716 else
45717 echo "$as_me: failed program was:" >&5
45718 sed 's/^/| /' conftest.$ac_ext >&5
45719
45720 ac_cv_lib_shl_load_dld=no
45721 fi
45722
45723 rm -f core conftest.err conftest.$ac_objext \
45724 conftest$ac_exeext conftest.$ac_ext
45725 LIBS=$ac_check_lib_save_LIBS
45726 fi
45727 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45728 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45729 if test $ac_cv_lib_shl_load_dld = yes; then
45730
45731 HAVE_SHL_FUNCS=1
45732 DL_LINK=" -ldld$DL_LINK"
45733
45734 fi
45735
45736
45737 fi
45738 done
45739
45740
45741 fi
45742
45743
45744 fi
45745 done
45746
45747
45748 if test "$HAVE_DL_FUNCS" = 1; then
45749
45750 for ac_func in dlerror
45751 do
45752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45753 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45755 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45756 echo $ECHO_N "(cached) $ECHO_C" >&6
45757 else
45758 cat >conftest.$ac_ext <<_ACEOF
45759 /* confdefs.h. */
45760 _ACEOF
45761 cat confdefs.h >>conftest.$ac_ext
45762 cat >>conftest.$ac_ext <<_ACEOF
45763 /* end confdefs.h. */
45764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45766 #define $ac_func innocuous_$ac_func
45767
45768 /* System header to define __stub macros and hopefully few prototypes,
45769 which can conflict with char $ac_func (); below.
45770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45771 <limits.h> exists even on freestanding compilers. */
45772
45773 #ifdef __STDC__
45774 # include <limits.h>
45775 #else
45776 # include <assert.h>
45777 #endif
45778
45779 #undef $ac_func
45780
45781 /* Override any GCC internal prototype to avoid an error.
45782 Use char because int might match the return type of a GCC
45783 builtin and then its argument prototype would still apply. */
45784 #ifdef __cplusplus
45785 extern "C"
45786 #endif
45787 char $ac_func ();
45788 /* The GNU C library defines this for functions which it implements
45789 to always fail with ENOSYS. Some functions are actually named
45790 something starting with __ and the normal name is an alias. */
45791 #if defined __stub_$ac_func || defined __stub___$ac_func
45792 choke me
45793 #endif
45794
45795 int
45796 main ()
45797 {
45798 return $ac_func ();
45799 ;
45800 return 0;
45801 }
45802 _ACEOF
45803 rm -f conftest.$ac_objext conftest$ac_exeext
45804 if { (ac_try="$ac_link"
45805 case "(($ac_try" in
45806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45807 *) ac_try_echo=$ac_try;;
45808 esac
45809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45810 (eval "$ac_link") 2>conftest.er1
45811 ac_status=$?
45812 grep -v '^ *+' conftest.er1 >conftest.err
45813 rm -f conftest.er1
45814 cat conftest.err >&5
45815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45816 (exit $ac_status); } &&
45817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45818 { (case "(($ac_try" in
45819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45820 *) ac_try_echo=$ac_try;;
45821 esac
45822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45823 (eval "$ac_try") 2>&5
45824 ac_status=$?
45825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45826 (exit $ac_status); }; } &&
45827 { ac_try='test -s conftest$ac_exeext'
45828 { (case "(($ac_try" in
45829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45830 *) ac_try_echo=$ac_try;;
45831 esac
45832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45833 (eval "$ac_try") 2>&5
45834 ac_status=$?
45835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45836 (exit $ac_status); }; }; then
45837 eval "$as_ac_var=yes"
45838 else
45839 echo "$as_me: failed program was:" >&5
45840 sed 's/^/| /' conftest.$ac_ext >&5
45841
45842 eval "$as_ac_var=no"
45843 fi
45844
45845 rm -f core conftest.err conftest.$ac_objext \
45846 conftest$ac_exeext conftest.$ac_ext
45847 fi
45848 ac_res=`eval echo '${'$as_ac_var'}'`
45849 { echo "$as_me:$LINENO: result: $ac_res" >&5
45850 echo "${ECHO_T}$ac_res" >&6; }
45851 if test `eval echo '${'$as_ac_var'}'` = yes; then
45852 cat >>confdefs.h <<_ACEOF
45853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45854 _ACEOF
45855 cat >>confdefs.h <<\_ACEOF
45856 #define HAVE_DLERROR 1
45857 _ACEOF
45858
45859 else
45860
45861 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
45862 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
45863 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
45864 echo $ECHO_N "(cached) $ECHO_C" >&6
45865 else
45866 ac_check_lib_save_LIBS=$LIBS
45867 LIBS="-ldl $LIBS"
45868 cat >conftest.$ac_ext <<_ACEOF
45869 /* confdefs.h. */
45870 _ACEOF
45871 cat confdefs.h >>conftest.$ac_ext
45872 cat >>conftest.$ac_ext <<_ACEOF
45873 /* end confdefs.h. */
45874
45875 /* Override any GCC internal prototype to avoid an error.
45876 Use char because int might match the return type of a GCC
45877 builtin and then its argument prototype would still apply. */
45878 #ifdef __cplusplus
45879 extern "C"
45880 #endif
45881 char dlerror ();
45882 int
45883 main ()
45884 {
45885 return dlerror ();
45886 ;
45887 return 0;
45888 }
45889 _ACEOF
45890 rm -f conftest.$ac_objext conftest$ac_exeext
45891 if { (ac_try="$ac_link"
45892 case "(($ac_try" in
45893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45894 *) ac_try_echo=$ac_try;;
45895 esac
45896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45897 (eval "$ac_link") 2>conftest.er1
45898 ac_status=$?
45899 grep -v '^ *+' conftest.er1 >conftest.err
45900 rm -f conftest.er1
45901 cat conftest.err >&5
45902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45903 (exit $ac_status); } &&
45904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45905 { (case "(($ac_try" in
45906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45907 *) ac_try_echo=$ac_try;;
45908 esac
45909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45910 (eval "$ac_try") 2>&5
45911 ac_status=$?
45912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45913 (exit $ac_status); }; } &&
45914 { ac_try='test -s conftest$ac_exeext'
45915 { (case "(($ac_try" in
45916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45917 *) ac_try_echo=$ac_try;;
45918 esac
45919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45920 (eval "$ac_try") 2>&5
45921 ac_status=$?
45922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45923 (exit $ac_status); }; }; then
45924 ac_cv_lib_dl_dlerror=yes
45925 else
45926 echo "$as_me: failed program was:" >&5
45927 sed 's/^/| /' conftest.$ac_ext >&5
45928
45929 ac_cv_lib_dl_dlerror=no
45930 fi
45931
45932 rm -f core conftest.err conftest.$ac_objext \
45933 conftest$ac_exeext conftest.$ac_ext
45934 LIBS=$ac_check_lib_save_LIBS
45935 fi
45936 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
45937 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
45938 if test $ac_cv_lib_dl_dlerror = yes; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define HAVE_DLERROR 1
45941 _ACEOF
45942
45943 fi
45944
45945
45946
45947 fi
45948 done
45949
45950 fi
45951 fi
45952
45953 if test "$HAVE_DL_FUNCS" = 0; then
45954 if test "$HAVE_SHL_FUNCS" = 0; then
45955 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
45956 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
45957 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
45958 wxUSE_DYNAMIC_LOADER=no
45959 wxUSE_DYNLIB_CLASS=no
45960 else
45961 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
45962 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
45963 fi
45964 fi
45965 fi
45966 fi
45967 fi
45968
45969 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
45970 cat >>confdefs.h <<\_ACEOF
45971 #define wxUSE_DYNAMIC_LOADER 1
45972 _ACEOF
45973
45974 fi
45975 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45976 cat >>confdefs.h <<\_ACEOF
45977 #define wxUSE_DYNLIB_CLASS 1
45978 _ACEOF
45979
45980 fi
45981
45982
45983
45984 if test "$wxUSE_PLUGINS" = "yes" ; then
45985 if test "$wxUSE_SHARED" = "no" ; then
45986 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
45987 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
45988 wxUSE_PLUGINS=no
45989 fi
45990 if test "$wxUSE_MONOLITHIC" = "yes" ; then
45991 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
45992 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
45993 wxUSE_PLUGINS=no
45994 fi
45995 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
45996 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
45997 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
45998 wxUSE_PLUGINS=no
45999 fi
46000 if test "$wxUSE_PLUGINS" = "yes" ; then
46001 cat >>confdefs.h <<\_ACEOF
46002 #define wxUSE_PLUGINS 1
46003 _ACEOF
46004
46005 fi
46006 fi
46007
46008
46009 if test "$wxUSE_STL" = "yes"; then
46010 cat >>confdefs.h <<\_ACEOF
46011 #define wxUSE_STL 1
46012 _ACEOF
46013
46014 fi
46015
46016 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46017 cat >>confdefs.h <<\_ACEOF
46018 #define wxUSE_APPLE_IEEE 1
46019 _ACEOF
46020
46021 fi
46022
46023 if test "$wxUSE_TIMER" = "yes"; then
46024 cat >>confdefs.h <<\_ACEOF
46025 #define wxUSE_TIMER 1
46026 _ACEOF
46027
46028 fi
46029
46030 if test "$USE_UNIX" = "1" ; then
46031 if test "$wxUSE_MGL" != 1; then
46032 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46033 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46034 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46035 echo $ECHO_N "(cached) $ECHO_C" >&6
46036 else
46037
46038 cat >conftest.$ac_ext <<_ACEOF
46039 /* confdefs.h. */
46040 _ACEOF
46041 cat confdefs.h >>conftest.$ac_ext
46042 cat >>conftest.$ac_ext <<_ACEOF
46043 /* end confdefs.h. */
46044
46045 #include <sys/ioctl.h>
46046 #include <sys/soundcard.h>
46047
46048 int
46049 main ()
46050 {
46051
46052 ioctl(0, SNDCTL_DSP_SPEED, 0);
46053
46054 ;
46055 return 0;
46056 }
46057 _ACEOF
46058 rm -f conftest.$ac_objext conftest$ac_exeext
46059 if { (ac_try="$ac_link"
46060 case "(($ac_try" in
46061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46062 *) ac_try_echo=$ac_try;;
46063 esac
46064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46065 (eval "$ac_link") 2>conftest.er1
46066 ac_status=$?
46067 grep -v '^ *+' conftest.er1 >conftest.err
46068 rm -f conftest.er1
46069 cat conftest.err >&5
46070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46071 (exit $ac_status); } &&
46072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46073 { (case "(($ac_try" in
46074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46075 *) ac_try_echo=$ac_try;;
46076 esac
46077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46078 (eval "$ac_try") 2>&5
46079 ac_status=$?
46080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46081 (exit $ac_status); }; } &&
46082 { ac_try='test -s conftest$ac_exeext'
46083 { (case "(($ac_try" in
46084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46085 *) ac_try_echo=$ac_try;;
46086 esac
46087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46088 (eval "$ac_try") 2>&5
46089 ac_status=$?
46090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46091 (exit $ac_status); }; }; then
46092 ac_cv_header_sys_soundcard=yes
46093 else
46094 echo "$as_me: failed program was:" >&5
46095 sed 's/^/| /' conftest.$ac_ext >&5
46096
46097
46098 saveLibs="$LIBS"
46099 LIBS="$saveLibs -lossaudio"
46100 cat >conftest.$ac_ext <<_ACEOF
46101 /* confdefs.h. */
46102 _ACEOF
46103 cat confdefs.h >>conftest.$ac_ext
46104 cat >>conftest.$ac_ext <<_ACEOF
46105 /* end confdefs.h. */
46106
46107 #include <sys/ioctl.h>
46108 #include <sys/soundcard.h>
46109
46110 int
46111 main ()
46112 {
46113
46114 ioctl(0, SNDCTL_DSP_SPEED, 0);
46115
46116 ;
46117 return 0;
46118 }
46119 _ACEOF
46120 rm -f conftest.$ac_objext conftest$ac_exeext
46121 if { (ac_try="$ac_link"
46122 case "(($ac_try" in
46123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46124 *) ac_try_echo=$ac_try;;
46125 esac
46126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46127 (eval "$ac_link") 2>conftest.er1
46128 ac_status=$?
46129 grep -v '^ *+' conftest.er1 >conftest.err
46130 rm -f conftest.er1
46131 cat conftest.err >&5
46132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46133 (exit $ac_status); } &&
46134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46135 { (case "(($ac_try" in
46136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46137 *) ac_try_echo=$ac_try;;
46138 esac
46139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46140 (eval "$ac_try") 2>&5
46141 ac_status=$?
46142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46143 (exit $ac_status); }; } &&
46144 { ac_try='test -s conftest$ac_exeext'
46145 { (case "(($ac_try" in
46146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46147 *) ac_try_echo=$ac_try;;
46148 esac
46149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46150 (eval "$ac_try") 2>&5
46151 ac_status=$?
46152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46153 (exit $ac_status); }; }; then
46154 ac_cv_header_sys_soundcard=yes
46155 else
46156 echo "$as_me: failed program was:" >&5
46157 sed 's/^/| /' conftest.$ac_ext >&5
46158
46159
46160 LIBS="$saveLibs"
46161 ac_cv_header_sys_soundcard=no
46162
46163
46164 fi
46165
46166 rm -f core conftest.err conftest.$ac_objext \
46167 conftest$ac_exeext conftest.$ac_ext
46168
46169
46170 fi
46171
46172 rm -f core conftest.err conftest.$ac_objext \
46173 conftest$ac_exeext conftest.$ac_ext
46174
46175 fi
46176 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46177 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46178 fi
46179
46180 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46181 cat >>confdefs.h <<\_ACEOF
46182 #define HAVE_SYS_SOUNDCARD_H 1
46183 _ACEOF
46184
46185 else
46186 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
46187 fi
46188 fi
46189
46190 WITH_PLUGIN_SDL=0
46191 if test "$wxUSE_SOUND" = "yes"; then
46192 if test "$USE_UNIX" = "1" ; then
46193 if test "$wxUSE_LIBSDL" != "no"; then
46194
46195 # Check whether --with-sdl-prefix was given.
46196 if test "${with_sdl_prefix+set}" = set; then
46197 withval=$with_sdl_prefix; sdl_prefix="$withval"
46198 else
46199 sdl_prefix=""
46200 fi
46201
46202
46203 # Check whether --with-sdl-exec-prefix was given.
46204 if test "${with_sdl_exec_prefix+set}" = set; then
46205 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
46206 else
46207 sdl_exec_prefix=""
46208 fi
46209
46210 # Check whether --enable-sdltest was given.
46211 if test "${enable_sdltest+set}" = set; then
46212 enableval=$enable_sdltest;
46213 else
46214 enable_sdltest=yes
46215 fi
46216
46217
46218 if test x$sdl_exec_prefix != x ; then
46219 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
46220 if test x${SDL_CONFIG+set} != xset ; then
46221 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
46222 fi
46223 fi
46224 if test x$sdl_prefix != x ; then
46225 sdl_args="$sdl_args --prefix=$sdl_prefix"
46226 if test x${SDL_CONFIG+set} != xset ; then
46227 SDL_CONFIG=$sdl_prefix/bin/sdl-config
46228 fi
46229 fi
46230
46231 if test "x$prefix" != xNONE; then
46232 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
46233 fi
46234 # Extract the first word of "sdl-config", so it can be a program name with args.
46235 set dummy sdl-config; ac_word=$2
46236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46238 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46239 echo $ECHO_N "(cached) $ECHO_C" >&6
46240 else
46241 case $SDL_CONFIG in
46242 [\\/]* | ?:[\\/]*)
46243 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
46244 ;;
46245 *)
46246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46247 for as_dir in $PATH
46248 do
46249 IFS=$as_save_IFS
46250 test -z "$as_dir" && as_dir=.
46251 for ac_exec_ext in '' $ac_executable_extensions; do
46252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
46253 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46255 break 2
46256 fi
46257 done
46258 done
46259 IFS=$as_save_IFS
46260
46261 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
46262 ;;
46263 esac
46264 fi
46265 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
46266 if test -n "$SDL_CONFIG"; then
46267 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46268 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46269 else
46270 { echo "$as_me:$LINENO: result: no" >&5
46271 echo "${ECHO_T}no" >&6; }
46272 fi
46273
46274
46275 min_sdl_version=1.2.0
46276 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46277 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46278 no_sdl=""
46279 if test "$SDL_CONFIG" = "no" ; then
46280 no_sdl=yes
46281 else
46282 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
46283 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
46284
46285 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
46286 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46287 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
46288 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46289 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
46290 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46291 if test "x$enable_sdltest" = "xyes" ; then
46292 ac_save_CFLAGS="$CFLAGS"
46293 ac_save_CXXFLAGS="$CXXFLAGS"
46294 ac_save_LIBS="$LIBS"
46295 CFLAGS="$CFLAGS $SDL_CFLAGS"
46296 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46297 LIBS="$LIBS $SDL_LIBS"
46298 rm -f conf.sdltest
46299 if test "$cross_compiling" = yes; then
46300 echo $ac_n "cross compiling; assumed OK... $ac_c"
46301 else
46302 cat >conftest.$ac_ext <<_ACEOF
46303 /* confdefs.h. */
46304 _ACEOF
46305 cat confdefs.h >>conftest.$ac_ext
46306 cat >>conftest.$ac_ext <<_ACEOF
46307 /* end confdefs.h. */
46308
46309 #include <stdio.h>
46310 #include <stdlib.h>
46311 #include <string.h>
46312 #include "SDL.h"
46313
46314 char*
46315 my_strdup (char *str)
46316 {
46317 char *new_str;
46318
46319 if (str)
46320 {
46321 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46322 strcpy (new_str, str);
46323 }
46324 else
46325 new_str = NULL;
46326
46327 return new_str;
46328 }
46329
46330 int main (int argc, char *argv[])
46331 {
46332 int major, minor, micro;
46333 char *tmp_version;
46334
46335 /* This hangs on some systems (?)
46336 system ("touch conf.sdltest");
46337 */
46338 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46339
46340 /* HP/UX 9 (%@#!) writes to sscanf strings */
46341 tmp_version = my_strdup("$min_sdl_version");
46342 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
46343 printf("%s, bad version string\n", "$min_sdl_version");
46344 exit(1);
46345 }
46346
46347 if (($sdl_major_version > major) ||
46348 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46349 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46350 {
46351 return 0;
46352 }
46353 else
46354 {
46355 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46356 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46357 printf("*** best to upgrade to the required version.\n");
46358 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46359 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46360 printf("*** config.cache before re-running configure\n");
46361 return 1;
46362 }
46363 }
46364
46365
46366 _ACEOF
46367 rm -f conftest$ac_exeext
46368 if { (ac_try="$ac_link"
46369 case "(($ac_try" in
46370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46371 *) ac_try_echo=$ac_try;;
46372 esac
46373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46374 (eval "$ac_link") 2>&5
46375 ac_status=$?
46376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46378 { (case "(($ac_try" in
46379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46380 *) ac_try_echo=$ac_try;;
46381 esac
46382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46383 (eval "$ac_try") 2>&5
46384 ac_status=$?
46385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46386 (exit $ac_status); }; }; then
46387 :
46388 else
46389 echo "$as_me: program exited with status $ac_status" >&5
46390 echo "$as_me: failed program was:" >&5
46391 sed 's/^/| /' conftest.$ac_ext >&5
46392
46393 ( exit $ac_status )
46394 no_sdl=yes
46395 fi
46396 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46397 fi
46398
46399
46400 CFLAGS="$ac_save_CFLAGS"
46401 CXXFLAGS="$ac_save_CXXFLAGS"
46402 LIBS="$ac_save_LIBS"
46403 fi
46404 fi
46405 if test "x$no_sdl" = x ; then
46406 { echo "$as_me:$LINENO: result: yes" >&5
46407 echo "${ECHO_T}yes" >&6; }
46408
46409 EXTRALIBS_SDL="$SDL_LIBS"
46410 CFLAGS="$SDL_CFLAGS $CFLAGS"
46411 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46412 cat >>confdefs.h <<\_ACEOF
46413 #define wxUSE_LIBSDL 1
46414 _ACEOF
46415
46416
46417 else
46418 { echo "$as_me:$LINENO: result: no" >&5
46419 echo "${ECHO_T}no" >&6; }
46420 if test "$SDL_CONFIG" = "no" ; then
46421 echo "*** The sdl-config script installed by SDL could not be found"
46422 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46423 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46424 echo "*** full path to sdl-config."
46425 else
46426 if test -f conf.sdltest ; then
46427 :
46428 else
46429 echo "*** Could not run SDL test program, checking why..."
46430 CFLAGS="$CFLAGS $SDL_CFLAGS"
46431 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46432 LIBS="$LIBS $SDL_LIBS"
46433 cat >conftest.$ac_ext <<_ACEOF
46434 /* confdefs.h. */
46435 _ACEOF
46436 cat confdefs.h >>conftest.$ac_ext
46437 cat >>conftest.$ac_ext <<_ACEOF
46438 /* end confdefs.h. */
46439
46440 #include <stdio.h>
46441 #include "SDL.h"
46442
46443 int main(int argc, char *argv[])
46444 { return 0; }
46445 #undef main
46446 #define main K_and_R_C_main
46447
46448 int
46449 main ()
46450 {
46451 return 0;
46452 ;
46453 return 0;
46454 }
46455 _ACEOF
46456 rm -f conftest.$ac_objext conftest$ac_exeext
46457 if { (ac_try="$ac_link"
46458 case "(($ac_try" in
46459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46460 *) ac_try_echo=$ac_try;;
46461 esac
46462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46463 (eval "$ac_link") 2>conftest.er1
46464 ac_status=$?
46465 grep -v '^ *+' conftest.er1 >conftest.err
46466 rm -f conftest.er1
46467 cat conftest.err >&5
46468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46469 (exit $ac_status); } &&
46470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46471 { (case "(($ac_try" in
46472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46473 *) ac_try_echo=$ac_try;;
46474 esac
46475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46476 (eval "$ac_try") 2>&5
46477 ac_status=$?
46478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46479 (exit $ac_status); }; } &&
46480 { ac_try='test -s conftest$ac_exeext'
46481 { (case "(($ac_try" in
46482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46483 *) ac_try_echo=$ac_try;;
46484 esac
46485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46486 (eval "$ac_try") 2>&5
46487 ac_status=$?
46488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46489 (exit $ac_status); }; }; then
46490 echo "*** The test program compiled, but did not run. This usually means"
46491 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46492 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46493 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46494 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46495 echo "*** is required on your system"
46496 echo "***"
46497 echo "*** If you have an old version installed, it is best to remove it, although"
46498 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46499 else
46500 echo "$as_me: failed program was:" >&5
46501 sed 's/^/| /' conftest.$ac_ext >&5
46502
46503 echo "*** The test program failed to compile or link. See the file config.log for the"
46504 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
46505 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46506 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46507 fi
46508
46509 rm -f core conftest.err conftest.$ac_objext \
46510 conftest$ac_exeext conftest.$ac_ext
46511 CFLAGS="$ac_save_CFLAGS"
46512 CXXFLAGS="$ac_save_CXXFLAGS"
46513 LIBS="$ac_save_LIBS"
46514 fi
46515 fi
46516 SDL_CFLAGS=""
46517 SDL_LIBS=""
46518 wxUSE_LIBSDL="no"
46519 fi
46520
46521
46522 rm -f conf.sdltest
46523
46524 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46525 WITH_PLUGIN_SDL=1
46526 fi
46527 fi
46528 else
46529 if test "$wxUSE_MGL" = 1; then
46530 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
46531 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
46532 wxUSE_SOUND="no"
46533 fi
46534 fi
46535 fi
46536
46537 if test "$wxUSE_SOUND" = "yes"; then
46538 cat >>confdefs.h <<\_ACEOF
46539 #define wxUSE_SOUND 1
46540 _ACEOF
46541
46542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
46543 fi
46544
46545 if test "$WXGTK20" = 1; then
46546
46547
46548 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46549 if test -n "$ac_tool_prefix"; then
46550 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46551 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
46552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46554 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46555 echo $ECHO_N "(cached) $ECHO_C" >&6
46556 else
46557 case $PKG_CONFIG in
46558 [\\/]* | ?:[\\/]*)
46559 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
46560 ;;
46561 *)
46562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46563 for as_dir in $PATH
46564 do
46565 IFS=$as_save_IFS
46566 test -z "$as_dir" && as_dir=.
46567 for ac_exec_ext in '' $ac_executable_extensions; do
46568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
46569 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46571 break 2
46572 fi
46573 done
46574 done
46575 IFS=$as_save_IFS
46576
46577 ;;
46578 esac
46579 fi
46580 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
46581 if test -n "$PKG_CONFIG"; then
46582 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46583 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46584 else
46585 { echo "$as_me:$LINENO: result: no" >&5
46586 echo "${ECHO_T}no" >&6; }
46587 fi
46588
46589
46590 fi
46591 if test -z "$ac_cv_path_PKG_CONFIG"; then
46592 ac_pt_PKG_CONFIG=$PKG_CONFIG
46593 # Extract the first word of "pkg-config", so it can be a program name with args.
46594 set dummy pkg-config; ac_word=$2
46595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46597 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46598 echo $ECHO_N "(cached) $ECHO_C" >&6
46599 else
46600 case $ac_pt_PKG_CONFIG in
46601 [\\/]* | ?:[\\/]*)
46602 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46603 ;;
46604 *)
46605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46606 for as_dir in $PATH
46607 do
46608 IFS=$as_save_IFS
46609 test -z "$as_dir" && as_dir=.
46610 for ac_exec_ext in '' $ac_executable_extensions; do
46611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
46612 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46614 break 2
46615 fi
46616 done
46617 done
46618 IFS=$as_save_IFS
46619
46620 ;;
46621 esac
46622 fi
46623 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
46624 if test -n "$ac_pt_PKG_CONFIG"; then
46625 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46626 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46627 else
46628 { echo "$as_me:$LINENO: result: no" >&5
46629 echo "${ECHO_T}no" >&6; }
46630 fi
46631
46632 if test "x$ac_pt_PKG_CONFIG" = x; then
46633 PKG_CONFIG=""
46634 else
46635 case $cross_compiling:$ac_tool_warned in
46636 yes:)
46637 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46638 whose name does not start with the host triplet. If you think this
46639 configuration is useful to you, please write to autoconf@gnu.org." >&5
46640 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46641 whose name does not start with the host triplet. If you think this
46642 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46643 ac_tool_warned=yes ;;
46644 esac
46645 PKG_CONFIG=$ac_pt_PKG_CONFIG
46646 fi
46647 else
46648 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
46649 fi
46650
46651 fi
46652 if test -n "$PKG_CONFIG"; then
46653 _pkg_min_version=0.9.0
46654 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
46655 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
46656 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46657 { echo "$as_me:$LINENO: result: yes" >&5
46658 echo "${ECHO_T}yes" >&6; }
46659 else
46660 { echo "$as_me:$LINENO: result: no" >&5
46661 echo "${ECHO_T}no" >&6; }
46662 PKG_CONFIG=""
46663 fi
46664
46665 fi
46666
46667 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46668 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46669
46670
46671 pkg_failed=no
46672 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
46673 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
46674
46675 if test -n "$PKG_CONFIG"; then
46676 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
46677 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
46678 else
46679 if test -n "$PKG_CONFIG" && \
46680 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46681 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46682 ac_status=$?
46683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46684 (exit $ac_status); }; then
46685 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46686 else
46687 pkg_failed=yes
46688 fi
46689 fi
46690 else
46691 pkg_failed=untried
46692 fi
46693 if test -n "$PKG_CONFIG"; then
46694 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
46695 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
46696 else
46697 if test -n "$PKG_CONFIG" && \
46698 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46699 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46700 ac_status=$?
46701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46702 (exit $ac_status); }; then
46703 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46704 else
46705 pkg_failed=yes
46706 fi
46707 fi
46708 else
46709 pkg_failed=untried
46710 fi
46711
46712
46713
46714 if test $pkg_failed = yes; then
46715
46716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46717 _pkg_short_errors_supported=yes
46718 else
46719 _pkg_short_errors_supported=no
46720 fi
46721 if test $_pkg_short_errors_supported = yes; then
46722 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46723 else
46724 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46725 fi
46726 # Put the nasty error message in config.log where it belongs
46727 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
46728
46729
46730 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46731 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46732 wxUSE_LIBGNOMEPRINT="no"
46733
46734
46735 elif test $pkg_failed = untried; then
46736
46737 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46738 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46739 wxUSE_LIBGNOMEPRINT="no"
46740
46741
46742 else
46743 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
46744 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
46745 { echo "$as_me:$LINENO: result: yes" >&5
46746 echo "${ECHO_T}yes" >&6; }
46747
46748 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
46749 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
46750 cat >>confdefs.h <<\_ACEOF
46751 #define wxUSE_LIBGNOMEPRINT 1
46752 _ACEOF
46753
46754
46755 fi
46756 fi
46757 fi
46758
46759 if test "$wxUSE_MIMETYPE" = "yes" ; then
46760 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46761
46762
46763 pkg_failed=no
46764 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
46765 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
46766
46767 if test -n "$PKG_CONFIG"; then
46768 if test -n "$GNOMEVFS_CFLAGS"; then
46769 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
46770 else
46771 if test -n "$PKG_CONFIG" && \
46772 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
46773 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
46774 ac_status=$?
46775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46776 (exit $ac_status); }; then
46777 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
46778 else
46779 pkg_failed=yes
46780 fi
46781 fi
46782 else
46783 pkg_failed=untried
46784 fi
46785 if test -n "$PKG_CONFIG"; then
46786 if test -n "$GNOMEVFS_LIBS"; then
46787 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
46788 else
46789 if test -n "$PKG_CONFIG" && \
46790 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
46791 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
46792 ac_status=$?
46793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46794 (exit $ac_status); }; then
46795 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
46796 else
46797 pkg_failed=yes
46798 fi
46799 fi
46800 else
46801 pkg_failed=untried
46802 fi
46803
46804
46805
46806 if test $pkg_failed = yes; then
46807
46808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46809 _pkg_short_errors_supported=yes
46810 else
46811 _pkg_short_errors_supported=no
46812 fi
46813 if test $_pkg_short_errors_supported = yes; then
46814 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
46815 else
46816 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
46817 fi
46818 # Put the nasty error message in config.log where it belongs
46819 echo "$GNOMEVFS_PKG_ERRORS" >&5
46820
46821
46822 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
46823 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
46824 wxUSE_LIBGNOMEVFS="no"
46825
46826
46827 elif test $pkg_failed = untried; then
46828
46829 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
46830 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
46831 wxUSE_LIBGNOMEVFS="no"
46832
46833
46834 else
46835 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
46836 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
46837 { echo "$as_me:$LINENO: result: yes" >&5
46838 echo "${ECHO_T}yes" >&6; }
46839
46840 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
46841 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
46842 cat >>confdefs.h <<\_ACEOF
46843 #define wxUSE_LIBGNOMEVFS 1
46844 _ACEOF
46845
46846
46847 fi
46848 fi
46849 fi
46850
46851 if test "$wxUSE_LIBHILDON" = "yes" ; then
46852
46853 pkg_failed=no
46854 { echo "$as_me:$LINENO: checking for HILDON" >&5
46855 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
46856
46857 if test -n "$PKG_CONFIG"; then
46858 if test -n "$HILDON_CFLAGS"; then
46859 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
46860 else
46861 if test -n "$PKG_CONFIG" && \
46862 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
46863 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
46864 ac_status=$?
46865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46866 (exit $ac_status); }; then
46867 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
46868 else
46869 pkg_failed=yes
46870 fi
46871 fi
46872 else
46873 pkg_failed=untried
46874 fi
46875 if test -n "$PKG_CONFIG"; then
46876 if test -n "$HILDON_LIBS"; then
46877 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
46878 else
46879 if test -n "$PKG_CONFIG" && \
46880 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
46881 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
46882 ac_status=$?
46883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46884 (exit $ac_status); }; then
46885 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
46886 else
46887 pkg_failed=yes
46888 fi
46889 fi
46890 else
46891 pkg_failed=untried
46892 fi
46893
46894
46895
46896 if test $pkg_failed = yes; then
46897
46898 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46899 _pkg_short_errors_supported=yes
46900 else
46901 _pkg_short_errors_supported=no
46902 fi
46903 if test $_pkg_short_errors_supported = yes; then
46904 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
46905 else
46906 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
46907 fi
46908 # Put the nasty error message in config.log where it belongs
46909 echo "$HILDON_PKG_ERRORS" >&5
46910
46911
46912 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
46913 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
46914 wxUSE_LIBHILDON="no"
46915
46916
46917 elif test $pkg_failed = untried; then
46918
46919 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
46920 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
46921 wxUSE_LIBHILDON="no"
46922
46923
46924 else
46925 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
46926 HILDON_LIBS=$pkg_cv_HILDON_LIBS
46927 { echo "$as_me:$LINENO: result: yes" >&5
46928 echo "${ECHO_T}yes" >&6; }
46929
46930 EXTRALIBS_HILDON="$HILDON_LIBS"
46931 CFLAGS="$CFLAGS $HILDON_CFLAGS"
46932 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
46933 cat >>confdefs.h <<\_ACEOF
46934 #define wxUSE_LIBHILDON 1
46935 _ACEOF
46936
46937
46938 fi
46939 fi
46940 fi
46941
46942 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
46943 cat >>confdefs.h <<\_ACEOF
46944 #define wxUSE_CMDLINE_PARSER 1
46945 _ACEOF
46946
46947 fi
46948
46949 if test "$wxUSE_STOPWATCH" = "yes"; then
46950 cat >>confdefs.h <<\_ACEOF
46951 #define wxUSE_STOPWATCH 1
46952 _ACEOF
46953
46954 fi
46955
46956 if test "$wxUSE_DATETIME" = "yes"; then
46957 cat >>confdefs.h <<\_ACEOF
46958 #define wxUSE_DATETIME 1
46959 _ACEOF
46960
46961 fi
46962
46963 if test "$wxUSE_FILE" = "yes"; then
46964 cat >>confdefs.h <<\_ACEOF
46965 #define wxUSE_FILE 1
46966 _ACEOF
46967
46968 fi
46969
46970 if test "$wxUSE_FFILE" = "yes"; then
46971 cat >>confdefs.h <<\_ACEOF
46972 #define wxUSE_FFILE 1
46973 _ACEOF
46974
46975 fi
46976
46977 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
46978 if test "$wxUSE_STREAMS" != yes; then
46979 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
46980 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
46981 wxUSE_ARCHIVE_STREAMS=no
46982 else
46983 cat >>confdefs.h <<\_ACEOF
46984 #define wxUSE_ARCHIVE_STREAMS 1
46985 _ACEOF
46986
46987 fi
46988 fi
46989
46990 if test "$wxUSE_ZIPSTREAM" = "yes"; then
46991 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
46992 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
46993 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
46994 elif test "$wxUSE_ZLIB" = "no"; then
46995 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
46996 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
46997 else
46998 cat >>confdefs.h <<\_ACEOF
46999 #define wxUSE_ZIPSTREAM 1
47000 _ACEOF
47001
47002 fi
47003 fi
47004
47005 if test "$wxUSE_TARSTREAM" = "yes"; then
47006 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47007 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47008 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47009 else
47010 cat >>confdefs.h <<\_ACEOF
47011 #define wxUSE_TARSTREAM 1
47012 _ACEOF
47013
47014 fi
47015 fi
47016
47017 if test "$wxUSE_FILESYSTEM" = "yes"; then
47018 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
47019 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47020 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47021 wxUSE_FILESYSTEM=no
47022 else
47023 cat >>confdefs.h <<\_ACEOF
47024 #define wxUSE_FILESYSTEM 1
47025 _ACEOF
47026
47027 fi
47028 fi
47029
47030 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47031 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47032 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47033 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47034 else
47035 cat >>confdefs.h <<\_ACEOF
47036 #define wxUSE_FS_ARCHIVE 1
47037 _ACEOF
47038
47039 fi
47040 fi
47041
47042 if test "$wxUSE_FS_ZIP" = "yes"; then
47043 if test "$wxUSE_FS_ARCHIVE" != yes; then
47044 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47045 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47046 else
47047 cat >>confdefs.h <<\_ACEOF
47048 #define wxUSE_FS_ZIP 1
47049 _ACEOF
47050
47051 fi
47052 fi
47053
47054 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47055 if test "$USE_UNIX" != 1; then
47056 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47057 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47058 wxUSE_ON_FATAL_EXCEPTION=no
47059 else
47060 cat >>confdefs.h <<\_ACEOF
47061 #define wxUSE_ON_FATAL_EXCEPTION 1
47062 _ACEOF
47063
47064 fi
47065 fi
47066
47067 if test "$wxUSE_STACKWALKER" = "yes"; then
47068 cat >>confdefs.h <<\_ACEOF
47069 #define wxUSE_STACKWALKER 1
47070 _ACEOF
47071
47072 fi
47073
47074 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47075 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
47076 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47077 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47078 wxUSE_DEBUGREPORT=no
47079 else
47080 cat >>confdefs.h <<\_ACEOF
47081 #define wxUSE_DEBUGREPORT 1
47082 _ACEOF
47083
47084 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
47086 fi
47087 fi
47088 fi
47089
47090 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47091 cat >>confdefs.h <<\_ACEOF
47092 #define wxUSE_SNGLINST_CHECKER 1
47093 _ACEOF
47094
47095 fi
47096
47097 if test "$wxUSE_BUSYINFO" = "yes"; then
47098 cat >>confdefs.h <<\_ACEOF
47099 #define wxUSE_BUSYINFO 1
47100 _ACEOF
47101
47102 fi
47103
47104 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47105 cat >>confdefs.h <<\_ACEOF
47106 #define wxUSE_STD_IOSTREAM 1
47107 _ACEOF
47108
47109 fi
47110
47111 if test "$wxUSE_STD_STRING" = "yes"; then
47112 cat >>confdefs.h <<\_ACEOF
47113 #define wxUSE_STD_STRING 1
47114 _ACEOF
47115
47116 fi
47117
47118 if test "$wxUSE_STDPATHS" = "yes"; then
47119 cat >>confdefs.h <<\_ACEOF
47120 #define wxUSE_STDPATHS 1
47121 _ACEOF
47122
47123 fi
47124
47125 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47126 cat >>confdefs.h <<\_ACEOF
47127 #define wxUSE_TEXTBUFFER 1
47128 _ACEOF
47129
47130 fi
47131
47132 if test "$wxUSE_TEXTFILE" = "yes"; then
47133 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47134 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47135 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47136 else
47137 cat >>confdefs.h <<\_ACEOF
47138 #define wxUSE_TEXTFILE 1
47139 _ACEOF
47140
47141 fi
47142 fi
47143
47144 if test "$wxUSE_CONFIG" = "yes" ; then
47145 if test "$wxUSE_TEXTFILE" != "yes"; then
47146 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47147 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47148 else
47149 cat >>confdefs.h <<\_ACEOF
47150 #define wxUSE_CONFIG 1
47151 _ACEOF
47152
47153 cat >>confdefs.h <<\_ACEOF
47154 #define wxUSE_CONFIG_NATIVE 1
47155 _ACEOF
47156
47157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
47158 fi
47159 fi
47160
47161 if test "$wxUSE_INTL" = "yes" ; then
47162 if test "$wxUSE_FILE" != "yes"; then
47163 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47164 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47165 else
47166 cat >>confdefs.h <<\_ACEOF
47167 #define wxUSE_INTL 1
47168 _ACEOF
47169
47170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
47171 GUIDIST="$GUIDIST INTL_DIST"
47172 fi
47173 fi
47174
47175 if test "$wxUSE_LOG" = "yes"; then
47176 cat >>confdefs.h <<\_ACEOF
47177 #define wxUSE_LOG 1
47178 _ACEOF
47179
47180
47181 if test "$wxUSE_LOGGUI" = "yes"; then
47182 cat >>confdefs.h <<\_ACEOF
47183 #define wxUSE_LOGGUI 1
47184 _ACEOF
47185
47186 fi
47187
47188 if test "$wxUSE_LOGWINDOW" = "yes"; then
47189 cat >>confdefs.h <<\_ACEOF
47190 #define wxUSE_LOGWINDOW 1
47191 _ACEOF
47192
47193 fi
47194
47195 if test "$wxUSE_LOGDIALOG" = "yes"; then
47196 cat >>confdefs.h <<\_ACEOF
47197 #define wxUSE_LOG_DIALOG 1
47198 _ACEOF
47199
47200 fi
47201
47202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
47203 fi
47204
47205 if test "$wxUSE_LONGLONG" = "yes"; then
47206 cat >>confdefs.h <<\_ACEOF
47207 #define wxUSE_LONGLONG 1
47208 _ACEOF
47209
47210 fi
47211
47212 if test "$wxUSE_GEOMETRY" = "yes"; then
47213 cat >>confdefs.h <<\_ACEOF
47214 #define wxUSE_GEOMETRY 1
47215 _ACEOF
47216
47217 fi
47218
47219 if test "$wxUSE_STREAMS" = "yes" ; then
47220 cat >>confdefs.h <<\_ACEOF
47221 #define wxUSE_STREAMS 1
47222 _ACEOF
47223
47224 fi
47225
47226 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47227 cat >>confdefs.h <<\_ACEOF
47228 #define wxUSE_PRINTF_POS_PARAMS 1
47229 _ACEOF
47230
47231 fi
47232
47233
47234
47235 if test "$wxUSE_DATETIME" = "yes"; then
47236
47237 for ac_func in strptime
47238 do
47239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47240 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47242 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47243 echo $ECHO_N "(cached) $ECHO_C" >&6
47244 else
47245 cat >conftest.$ac_ext <<_ACEOF
47246 /* confdefs.h. */
47247 _ACEOF
47248 cat confdefs.h >>conftest.$ac_ext
47249 cat >>conftest.$ac_ext <<_ACEOF
47250 /* end confdefs.h. */
47251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47253 #define $ac_func innocuous_$ac_func
47254
47255 /* System header to define __stub macros and hopefully few prototypes,
47256 which can conflict with char $ac_func (); below.
47257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47258 <limits.h> exists even on freestanding compilers. */
47259
47260 #ifdef __STDC__
47261 # include <limits.h>
47262 #else
47263 # include <assert.h>
47264 #endif
47265
47266 #undef $ac_func
47267
47268 /* Override any GCC internal prototype to avoid an error.
47269 Use char because int might match the return type of a GCC
47270 builtin and then its argument prototype would still apply. */
47271 #ifdef __cplusplus
47272 extern "C"
47273 #endif
47274 char $ac_func ();
47275 /* The GNU C library defines this for functions which it implements
47276 to always fail with ENOSYS. Some functions are actually named
47277 something starting with __ and the normal name is an alias. */
47278 #if defined __stub_$ac_func || defined __stub___$ac_func
47279 choke me
47280 #endif
47281
47282 int
47283 main ()
47284 {
47285 return $ac_func ();
47286 ;
47287 return 0;
47288 }
47289 _ACEOF
47290 rm -f conftest.$ac_objext conftest$ac_exeext
47291 if { (ac_try="$ac_link"
47292 case "(($ac_try" in
47293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47294 *) ac_try_echo=$ac_try;;
47295 esac
47296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47297 (eval "$ac_link") 2>conftest.er1
47298 ac_status=$?
47299 grep -v '^ *+' conftest.er1 >conftest.err
47300 rm -f conftest.er1
47301 cat conftest.err >&5
47302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47303 (exit $ac_status); } &&
47304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47305 { (case "(($ac_try" in
47306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47307 *) ac_try_echo=$ac_try;;
47308 esac
47309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47310 (eval "$ac_try") 2>&5
47311 ac_status=$?
47312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47313 (exit $ac_status); }; } &&
47314 { ac_try='test -s conftest$ac_exeext'
47315 { (case "(($ac_try" in
47316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47317 *) ac_try_echo=$ac_try;;
47318 esac
47319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47320 (eval "$ac_try") 2>&5
47321 ac_status=$?
47322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47323 (exit $ac_status); }; }; then
47324 eval "$as_ac_var=yes"
47325 else
47326 echo "$as_me: failed program was:" >&5
47327 sed 's/^/| /' conftest.$ac_ext >&5
47328
47329 eval "$as_ac_var=no"
47330 fi
47331
47332 rm -f core conftest.err conftest.$ac_objext \
47333 conftest$ac_exeext conftest.$ac_ext
47334 fi
47335 ac_res=`eval echo '${'$as_ac_var'}'`
47336 { echo "$as_me:$LINENO: result: $ac_res" >&5
47337 echo "${ECHO_T}$ac_res" >&6; }
47338 if test `eval echo '${'$as_ac_var'}'` = yes; then
47339 cat >>confdefs.h <<_ACEOF
47340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47341 _ACEOF
47342
47343 fi
47344 done
47345
47346 if test "$ac_cv_func_strptime" = "yes"; then
47347 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
47348 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
47349 if test "${wx_cv_func_strptime_decl+set}" = set; then
47350 echo $ECHO_N "(cached) $ECHO_C" >&6
47351 else
47352
47353 ac_ext=cpp
47354 ac_cpp='$CXXCPP $CPPFLAGS'
47355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47358
47359 cat >conftest.$ac_ext <<_ACEOF
47360 /* confdefs.h. */
47361 _ACEOF
47362 cat confdefs.h >>conftest.$ac_ext
47363 cat >>conftest.$ac_ext <<_ACEOF
47364 /* end confdefs.h. */
47365
47366 #include <time.h>
47367
47368 int
47369 main ()
47370 {
47371
47372 struct tm t;
47373 strptime("foo", "bar", &t);
47374
47375 ;
47376 return 0;
47377 }
47378 _ACEOF
47379 rm -f conftest.$ac_objext
47380 if { (ac_try="$ac_compile"
47381 case "(($ac_try" in
47382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47383 *) ac_try_echo=$ac_try;;
47384 esac
47385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47386 (eval "$ac_compile") 2>conftest.er1
47387 ac_status=$?
47388 grep -v '^ *+' conftest.er1 >conftest.err
47389 rm -f conftest.er1
47390 cat conftest.err >&5
47391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47392 (exit $ac_status); } &&
47393 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47394 { (case "(($ac_try" in
47395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47396 *) ac_try_echo=$ac_try;;
47397 esac
47398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47399 (eval "$ac_try") 2>&5
47400 ac_status=$?
47401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47402 (exit $ac_status); }; } &&
47403 { ac_try='test -s conftest.$ac_objext'
47404 { (case "(($ac_try" in
47405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47406 *) ac_try_echo=$ac_try;;
47407 esac
47408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47409 (eval "$ac_try") 2>&5
47410 ac_status=$?
47411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47412 (exit $ac_status); }; }; then
47413 wx_cv_func_strptime_decl=yes
47414 else
47415 echo "$as_me: failed program was:" >&5
47416 sed 's/^/| /' conftest.$ac_ext >&5
47417
47418 wx_cv_func_strptime_decl=no
47419
47420 fi
47421
47422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47423 ac_ext=c
47424 ac_cpp='$CPP $CPPFLAGS'
47425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47428
47429
47430
47431 fi
47432 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
47433 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
47434 fi
47435 if test "$wx_cv_func_strptime_decl" = "yes"; then
47436 cat >>confdefs.h <<\_ACEOF
47437 #define HAVE_STRPTIME_DECL 1
47438 _ACEOF
47439
47440 fi
47441
47442 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
47443 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
47444 if test "${wx_cv_var_timezone+set}" = set; then
47445 echo $ECHO_N "(cached) $ECHO_C" >&6
47446 else
47447
47448 ac_ext=cpp
47449 ac_cpp='$CXXCPP $CPPFLAGS'
47450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47453
47454 cat >conftest.$ac_ext <<_ACEOF
47455 /* confdefs.h. */
47456 _ACEOF
47457 cat confdefs.h >>conftest.$ac_ext
47458 cat >>conftest.$ac_ext <<_ACEOF
47459 /* end confdefs.h. */
47460
47461 #include <time.h>
47462
47463 int
47464 main ()
47465 {
47466
47467 int tz;
47468 tz = timezone;
47469
47470 ;
47471 return 0;
47472 }
47473 _ACEOF
47474 rm -f conftest.$ac_objext
47475 if { (ac_try="$ac_compile"
47476 case "(($ac_try" in
47477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47478 *) ac_try_echo=$ac_try;;
47479 esac
47480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47481 (eval "$ac_compile") 2>conftest.er1
47482 ac_status=$?
47483 grep -v '^ *+' conftest.er1 >conftest.err
47484 rm -f conftest.er1
47485 cat conftest.err >&5
47486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47487 (exit $ac_status); } &&
47488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47489 { (case "(($ac_try" in
47490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47491 *) ac_try_echo=$ac_try;;
47492 esac
47493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47494 (eval "$ac_try") 2>&5
47495 ac_status=$?
47496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47497 (exit $ac_status); }; } &&
47498 { ac_try='test -s conftest.$ac_objext'
47499 { (case "(($ac_try" in
47500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47501 *) ac_try_echo=$ac_try;;
47502 esac
47503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47504 (eval "$ac_try") 2>&5
47505 ac_status=$?
47506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47507 (exit $ac_status); }; }; then
47508
47509 wx_cv_var_timezone=timezone
47510
47511 else
47512 echo "$as_me: failed program was:" >&5
47513 sed 's/^/| /' conftest.$ac_ext >&5
47514
47515
47516 cat >conftest.$ac_ext <<_ACEOF
47517 /* confdefs.h. */
47518 _ACEOF
47519 cat confdefs.h >>conftest.$ac_ext
47520 cat >>conftest.$ac_ext <<_ACEOF
47521 /* end confdefs.h. */
47522
47523 #include <time.h>
47524
47525 int
47526 main ()
47527 {
47528
47529 int tz;
47530 tz = _timezone;
47531
47532 ;
47533 return 0;
47534 }
47535 _ACEOF
47536 rm -f conftest.$ac_objext
47537 if { (ac_try="$ac_compile"
47538 case "(($ac_try" in
47539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47540 *) ac_try_echo=$ac_try;;
47541 esac
47542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47543 (eval "$ac_compile") 2>conftest.er1
47544 ac_status=$?
47545 grep -v '^ *+' conftest.er1 >conftest.err
47546 rm -f conftest.er1
47547 cat conftest.err >&5
47548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47549 (exit $ac_status); } &&
47550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47551 { (case "(($ac_try" in
47552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47553 *) ac_try_echo=$ac_try;;
47554 esac
47555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47556 (eval "$ac_try") 2>&5
47557 ac_status=$?
47558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47559 (exit $ac_status); }; } &&
47560 { ac_try='test -s conftest.$ac_objext'
47561 { (case "(($ac_try" in
47562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47563 *) ac_try_echo=$ac_try;;
47564 esac
47565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47566 (eval "$ac_try") 2>&5
47567 ac_status=$?
47568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47569 (exit $ac_status); }; }; then
47570
47571 wx_cv_var_timezone=_timezone
47572
47573 else
47574 echo "$as_me: failed program was:" >&5
47575 sed 's/^/| /' conftest.$ac_ext >&5
47576
47577
47578 cat >conftest.$ac_ext <<_ACEOF
47579 /* confdefs.h. */
47580 _ACEOF
47581 cat confdefs.h >>conftest.$ac_ext
47582 cat >>conftest.$ac_ext <<_ACEOF
47583 /* end confdefs.h. */
47584
47585 #include <time.h>
47586
47587 int
47588 main ()
47589 {
47590
47591 int tz;
47592 tz = __timezone;
47593
47594 ;
47595 return 0;
47596 }
47597 _ACEOF
47598 rm -f conftest.$ac_objext
47599 if { (ac_try="$ac_compile"
47600 case "(($ac_try" in
47601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47602 *) ac_try_echo=$ac_try;;
47603 esac
47604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47605 (eval "$ac_compile") 2>conftest.er1
47606 ac_status=$?
47607 grep -v '^ *+' conftest.er1 >conftest.err
47608 rm -f conftest.er1
47609 cat conftest.err >&5
47610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47611 (exit $ac_status); } &&
47612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47613 { (case "(($ac_try" in
47614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47615 *) ac_try_echo=$ac_try;;
47616 esac
47617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47618 (eval "$ac_try") 2>&5
47619 ac_status=$?
47620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47621 (exit $ac_status); }; } &&
47622 { ac_try='test -s conftest.$ac_objext'
47623 { (case "(($ac_try" in
47624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47625 *) ac_try_echo=$ac_try;;
47626 esac
47627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47628 (eval "$ac_try") 2>&5
47629 ac_status=$?
47630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47631 (exit $ac_status); }; }; then
47632
47633 wx_cv_var_timezone=__timezone
47634
47635 else
47636 echo "$as_me: failed program was:" >&5
47637 sed 's/^/| /' conftest.$ac_ext >&5
47638
47639
47640 if test "$USE_DOS" = 0 ; then
47641 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
47642 echo "$as_me: WARNING: no timezone variable" >&2;}
47643 fi
47644
47645
47646 fi
47647
47648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47649
47650
47651 fi
47652
47653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47654
47655
47656 fi
47657
47658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47659 ac_ext=c
47660 ac_cpp='$CPP $CPPFLAGS'
47661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47664
47665
47666
47667 fi
47668 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
47669 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
47670
47671 if test "x$wx_cv_var_timezone" != x ; then
47672 cat >>confdefs.h <<_ACEOF
47673 #define WX_TIMEZONE $wx_cv_var_timezone
47674 _ACEOF
47675
47676 fi
47677
47678
47679 for ac_func in localtime
47680 do
47681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47682 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47684 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47685 echo $ECHO_N "(cached) $ECHO_C" >&6
47686 else
47687 cat >conftest.$ac_ext <<_ACEOF
47688 /* confdefs.h. */
47689 _ACEOF
47690 cat confdefs.h >>conftest.$ac_ext
47691 cat >>conftest.$ac_ext <<_ACEOF
47692 /* end confdefs.h. */
47693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47695 #define $ac_func innocuous_$ac_func
47696
47697 /* System header to define __stub macros and hopefully few prototypes,
47698 which can conflict with char $ac_func (); below.
47699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47700 <limits.h> exists even on freestanding compilers. */
47701
47702 #ifdef __STDC__
47703 # include <limits.h>
47704 #else
47705 # include <assert.h>
47706 #endif
47707
47708 #undef $ac_func
47709
47710 /* Override any GCC internal prototype to avoid an error.
47711 Use char because int might match the return type of a GCC
47712 builtin and then its argument prototype would still apply. */
47713 #ifdef __cplusplus
47714 extern "C"
47715 #endif
47716 char $ac_func ();
47717 /* The GNU C library defines this for functions which it implements
47718 to always fail with ENOSYS. Some functions are actually named
47719 something starting with __ and the normal name is an alias. */
47720 #if defined __stub_$ac_func || defined __stub___$ac_func
47721 choke me
47722 #endif
47723
47724 int
47725 main ()
47726 {
47727 return $ac_func ();
47728 ;
47729 return 0;
47730 }
47731 _ACEOF
47732 rm -f conftest.$ac_objext conftest$ac_exeext
47733 if { (ac_try="$ac_link"
47734 case "(($ac_try" in
47735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47736 *) ac_try_echo=$ac_try;;
47737 esac
47738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47739 (eval "$ac_link") 2>conftest.er1
47740 ac_status=$?
47741 grep -v '^ *+' conftest.er1 >conftest.err
47742 rm -f conftest.er1
47743 cat conftest.err >&5
47744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47745 (exit $ac_status); } &&
47746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47747 { (case "(($ac_try" in
47748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47749 *) ac_try_echo=$ac_try;;
47750 esac
47751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47752 (eval "$ac_try") 2>&5
47753 ac_status=$?
47754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47755 (exit $ac_status); }; } &&
47756 { ac_try='test -s conftest$ac_exeext'
47757 { (case "(($ac_try" in
47758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47759 *) ac_try_echo=$ac_try;;
47760 esac
47761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47762 (eval "$ac_try") 2>&5
47763 ac_status=$?
47764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47765 (exit $ac_status); }; }; then
47766 eval "$as_ac_var=yes"
47767 else
47768 echo "$as_me: failed program was:" >&5
47769 sed 's/^/| /' conftest.$ac_ext >&5
47770
47771 eval "$as_ac_var=no"
47772 fi
47773
47774 rm -f core conftest.err conftest.$ac_objext \
47775 conftest$ac_exeext conftest.$ac_ext
47776 fi
47777 ac_res=`eval echo '${'$as_ac_var'}'`
47778 { echo "$as_me:$LINENO: result: $ac_res" >&5
47779 echo "${ECHO_T}$ac_res" >&6; }
47780 if test `eval echo '${'$as_ac_var'}'` = yes; then
47781 cat >>confdefs.h <<_ACEOF
47782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47783 _ACEOF
47784
47785 fi
47786 done
47787
47788
47789 if test "$ac_cv_func_localtime" = "yes"; then
47790 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
47791 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
47792 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
47793 echo $ECHO_N "(cached) $ECHO_C" >&6
47794 else
47795
47796 cat >conftest.$ac_ext <<_ACEOF
47797 /* confdefs.h. */
47798 _ACEOF
47799 cat confdefs.h >>conftest.$ac_ext
47800 cat >>conftest.$ac_ext <<_ACEOF
47801 /* end confdefs.h. */
47802
47803 #include <time.h>
47804
47805 int
47806 main ()
47807 {
47808
47809 struct tm tm;
47810 tm.tm_gmtoff++;
47811
47812 ;
47813 return 0;
47814 }
47815 _ACEOF
47816 rm -f conftest.$ac_objext
47817 if { (ac_try="$ac_compile"
47818 case "(($ac_try" in
47819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47820 *) ac_try_echo=$ac_try;;
47821 esac
47822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47823 (eval "$ac_compile") 2>conftest.er1
47824 ac_status=$?
47825 grep -v '^ *+' conftest.er1 >conftest.err
47826 rm -f conftest.er1
47827 cat conftest.err >&5
47828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47829 (exit $ac_status); } &&
47830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47831 { (case "(($ac_try" in
47832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47833 *) ac_try_echo=$ac_try;;
47834 esac
47835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47836 (eval "$ac_try") 2>&5
47837 ac_status=$?
47838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47839 (exit $ac_status); }; } &&
47840 { ac_try='test -s conftest.$ac_objext'
47841 { (case "(($ac_try" in
47842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47843 *) ac_try_echo=$ac_try;;
47844 esac
47845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47846 (eval "$ac_try") 2>&5
47847 ac_status=$?
47848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47849 (exit $ac_status); }; }; then
47850
47851 wx_cv_struct_tm_has_gmtoff=yes
47852
47853 else
47854 echo "$as_me: failed program was:" >&5
47855 sed 's/^/| /' conftest.$ac_ext >&5
47856
47857 wx_cv_struct_tm_has_gmtoff=no
47858
47859 fi
47860
47861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47862
47863 fi
47864 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
47865 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
47866 fi
47867
47868 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
47869 cat >>confdefs.h <<\_ACEOF
47870 #define WX_GMTOFF_IN_TM 1
47871 _ACEOF
47872
47873 fi
47874
47875
47876
47877 for ac_func in gettimeofday ftime
47878 do
47879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47880 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47882 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47883 echo $ECHO_N "(cached) $ECHO_C" >&6
47884 else
47885 cat >conftest.$ac_ext <<_ACEOF
47886 /* confdefs.h. */
47887 _ACEOF
47888 cat confdefs.h >>conftest.$ac_ext
47889 cat >>conftest.$ac_ext <<_ACEOF
47890 /* end confdefs.h. */
47891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47893 #define $ac_func innocuous_$ac_func
47894
47895 /* System header to define __stub macros and hopefully few prototypes,
47896 which can conflict with char $ac_func (); below.
47897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47898 <limits.h> exists even on freestanding compilers. */
47899
47900 #ifdef __STDC__
47901 # include <limits.h>
47902 #else
47903 # include <assert.h>
47904 #endif
47905
47906 #undef $ac_func
47907
47908 /* Override any GCC internal prototype to avoid an error.
47909 Use char because int might match the return type of a GCC
47910 builtin and then its argument prototype would still apply. */
47911 #ifdef __cplusplus
47912 extern "C"
47913 #endif
47914 char $ac_func ();
47915 /* The GNU C library defines this for functions which it implements
47916 to always fail with ENOSYS. Some functions are actually named
47917 something starting with __ and the normal name is an alias. */
47918 #if defined __stub_$ac_func || defined __stub___$ac_func
47919 choke me
47920 #endif
47921
47922 int
47923 main ()
47924 {
47925 return $ac_func ();
47926 ;
47927 return 0;
47928 }
47929 _ACEOF
47930 rm -f conftest.$ac_objext conftest$ac_exeext
47931 if { (ac_try="$ac_link"
47932 case "(($ac_try" in
47933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47934 *) ac_try_echo=$ac_try;;
47935 esac
47936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47937 (eval "$ac_link") 2>conftest.er1
47938 ac_status=$?
47939 grep -v '^ *+' conftest.er1 >conftest.err
47940 rm -f conftest.er1
47941 cat conftest.err >&5
47942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47943 (exit $ac_status); } &&
47944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47945 { (case "(($ac_try" in
47946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47947 *) ac_try_echo=$ac_try;;
47948 esac
47949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47950 (eval "$ac_try") 2>&5
47951 ac_status=$?
47952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47953 (exit $ac_status); }; } &&
47954 { ac_try='test -s conftest$ac_exeext'
47955 { (case "(($ac_try" in
47956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47957 *) ac_try_echo=$ac_try;;
47958 esac
47959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47960 (eval "$ac_try") 2>&5
47961 ac_status=$?
47962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47963 (exit $ac_status); }; }; then
47964 eval "$as_ac_var=yes"
47965 else
47966 echo "$as_me: failed program was:" >&5
47967 sed 's/^/| /' conftest.$ac_ext >&5
47968
47969 eval "$as_ac_var=no"
47970 fi
47971
47972 rm -f core conftest.err conftest.$ac_objext \
47973 conftest$ac_exeext conftest.$ac_ext
47974 fi
47975 ac_res=`eval echo '${'$as_ac_var'}'`
47976 { echo "$as_me:$LINENO: result: $ac_res" >&5
47977 echo "${ECHO_T}$ac_res" >&6; }
47978 if test `eval echo '${'$as_ac_var'}'` = yes; then
47979 cat >>confdefs.h <<_ACEOF
47980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47981 _ACEOF
47982 break
47983 fi
47984 done
47985
47986
47987 if test "$ac_cv_func_gettimeofday" = "yes"; then
47988 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
47989 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
47990 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
47991 echo $ECHO_N "(cached) $ECHO_C" >&6
47992 else
47993
47994 cat >conftest.$ac_ext <<_ACEOF
47995 /* confdefs.h. */
47996 _ACEOF
47997 cat confdefs.h >>conftest.$ac_ext
47998 cat >>conftest.$ac_ext <<_ACEOF
47999 /* end confdefs.h. */
48000
48001 #include <sys/time.h>
48002 #include <unistd.h>
48003
48004 int
48005 main ()
48006 {
48007
48008 struct timeval tv;
48009 gettimeofday(&tv, NULL);
48010
48011 ;
48012 return 0;
48013 }
48014 _ACEOF
48015 rm -f conftest.$ac_objext
48016 if { (ac_try="$ac_compile"
48017 case "(($ac_try" in
48018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48019 *) ac_try_echo=$ac_try;;
48020 esac
48021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48022 (eval "$ac_compile") 2>conftest.er1
48023 ac_status=$?
48024 grep -v '^ *+' conftest.er1 >conftest.err
48025 rm -f conftest.er1
48026 cat conftest.err >&5
48027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48028 (exit $ac_status); } &&
48029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48030 { (case "(($ac_try" in
48031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48032 *) ac_try_echo=$ac_try;;
48033 esac
48034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48035 (eval "$ac_try") 2>&5
48036 ac_status=$?
48037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48038 (exit $ac_status); }; } &&
48039 { ac_try='test -s conftest.$ac_objext'
48040 { (case "(($ac_try" in
48041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48042 *) ac_try_echo=$ac_try;;
48043 esac
48044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48045 (eval "$ac_try") 2>&5
48046 ac_status=$?
48047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48048 (exit $ac_status); }; }; then
48049 wx_cv_func_gettimeofday_has_2_args=yes
48050 else
48051 echo "$as_me: failed program was:" >&5
48052 sed 's/^/| /' conftest.$ac_ext >&5
48053
48054 cat >conftest.$ac_ext <<_ACEOF
48055 /* confdefs.h. */
48056 _ACEOF
48057 cat confdefs.h >>conftest.$ac_ext
48058 cat >>conftest.$ac_ext <<_ACEOF
48059 /* end confdefs.h. */
48060
48061 #include <sys/time.h>
48062 #include <unistd.h>
48063
48064 int
48065 main ()
48066 {
48067
48068 struct timeval tv;
48069 gettimeofday(&tv);
48070
48071 ;
48072 return 0;
48073 }
48074 _ACEOF
48075 rm -f conftest.$ac_objext
48076 if { (ac_try="$ac_compile"
48077 case "(($ac_try" in
48078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48079 *) ac_try_echo=$ac_try;;
48080 esac
48081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48082 (eval "$ac_compile") 2>conftest.er1
48083 ac_status=$?
48084 grep -v '^ *+' conftest.er1 >conftest.err
48085 rm -f conftest.er1
48086 cat conftest.err >&5
48087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48088 (exit $ac_status); } &&
48089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48090 { (case "(($ac_try" in
48091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48092 *) ac_try_echo=$ac_try;;
48093 esac
48094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48095 (eval "$ac_try") 2>&5
48096 ac_status=$?
48097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48098 (exit $ac_status); }; } &&
48099 { ac_try='test -s conftest.$ac_objext'
48100 { (case "(($ac_try" in
48101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48102 *) ac_try_echo=$ac_try;;
48103 esac
48104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48105 (eval "$ac_try") 2>&5
48106 ac_status=$?
48107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48108 (exit $ac_status); }; }; then
48109 wx_cv_func_gettimeofday_has_2_args=no
48110 else
48111 echo "$as_me: failed program was:" >&5
48112 sed 's/^/| /' conftest.$ac_ext >&5
48113
48114
48115 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
48116 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
48117 wx_cv_func_gettimeofday_has_2_args=unknown
48118
48119
48120 fi
48121
48122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48123
48124 fi
48125
48126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48127
48128 fi
48129 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48130 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48131
48132 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48133 cat >>confdefs.h <<\_ACEOF
48134 #define WX_GETTIMEOFDAY_NO_TZ 1
48135 _ACEOF
48136
48137 fi
48138 fi
48139
48140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
48141 fi
48142
48143
48144 if test "$wxUSE_SOCKETS" = "yes"; then
48145 if test "$wxUSE_MGL" = "1"; then
48146 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
48147 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
48148 wxUSE_SOCKETS="no"
48149 fi
48150 fi
48151
48152 if test "$wxUSE_SOCKETS" = "yes"; then
48153 if test "$TOOLKIT" != "MSW"; then
48154 { echo "$as_me:$LINENO: checking for socket" >&5
48155 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48156 if test "${ac_cv_func_socket+set}" = set; then
48157 echo $ECHO_N "(cached) $ECHO_C" >&6
48158 else
48159 cat >conftest.$ac_ext <<_ACEOF
48160 /* confdefs.h. */
48161 _ACEOF
48162 cat confdefs.h >>conftest.$ac_ext
48163 cat >>conftest.$ac_ext <<_ACEOF
48164 /* end confdefs.h. */
48165 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48167 #define socket innocuous_socket
48168
48169 /* System header to define __stub macros and hopefully few prototypes,
48170 which can conflict with char socket (); below.
48171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48172 <limits.h> exists even on freestanding compilers. */
48173
48174 #ifdef __STDC__
48175 # include <limits.h>
48176 #else
48177 # include <assert.h>
48178 #endif
48179
48180 #undef socket
48181
48182 /* Override any GCC internal prototype to avoid an error.
48183 Use char because int might match the return type of a GCC
48184 builtin and then its argument prototype would still apply. */
48185 #ifdef __cplusplus
48186 extern "C"
48187 #endif
48188 char socket ();
48189 /* The GNU C library defines this for functions which it implements
48190 to always fail with ENOSYS. Some functions are actually named
48191 something starting with __ and the normal name is an alias. */
48192 #if defined __stub_socket || defined __stub___socket
48193 choke me
48194 #endif
48195
48196 int
48197 main ()
48198 {
48199 return socket ();
48200 ;
48201 return 0;
48202 }
48203 _ACEOF
48204 rm -f conftest.$ac_objext conftest$ac_exeext
48205 if { (ac_try="$ac_link"
48206 case "(($ac_try" in
48207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48208 *) ac_try_echo=$ac_try;;
48209 esac
48210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48211 (eval "$ac_link") 2>conftest.er1
48212 ac_status=$?
48213 grep -v '^ *+' conftest.er1 >conftest.err
48214 rm -f conftest.er1
48215 cat conftest.err >&5
48216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48217 (exit $ac_status); } &&
48218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48219 { (case "(($ac_try" in
48220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48221 *) ac_try_echo=$ac_try;;
48222 esac
48223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48224 (eval "$ac_try") 2>&5
48225 ac_status=$?
48226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48227 (exit $ac_status); }; } &&
48228 { ac_try='test -s conftest$ac_exeext'
48229 { (case "(($ac_try" in
48230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48231 *) ac_try_echo=$ac_try;;
48232 esac
48233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48234 (eval "$ac_try") 2>&5
48235 ac_status=$?
48236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48237 (exit $ac_status); }; }; then
48238 ac_cv_func_socket=yes
48239 else
48240 echo "$as_me: failed program was:" >&5
48241 sed 's/^/| /' conftest.$ac_ext >&5
48242
48243 ac_cv_func_socket=no
48244 fi
48245
48246 rm -f core conftest.err conftest.$ac_objext \
48247 conftest$ac_exeext conftest.$ac_ext
48248 fi
48249 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48250 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48251 if test $ac_cv_func_socket = yes; then
48252 :
48253 else
48254
48255 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48256 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48257 if test "${ac_cv_lib_socket_socket+set}" = set; then
48258 echo $ECHO_N "(cached) $ECHO_C" >&6
48259 else
48260 ac_check_lib_save_LIBS=$LIBS
48261 LIBS="-lsocket $LIBS"
48262 cat >conftest.$ac_ext <<_ACEOF
48263 /* confdefs.h. */
48264 _ACEOF
48265 cat confdefs.h >>conftest.$ac_ext
48266 cat >>conftest.$ac_ext <<_ACEOF
48267 /* end confdefs.h. */
48268
48269 /* Override any GCC internal prototype to avoid an error.
48270 Use char because int might match the return type of a GCC
48271 builtin and then its argument prototype would still apply. */
48272 #ifdef __cplusplus
48273 extern "C"
48274 #endif
48275 char socket ();
48276 int
48277 main ()
48278 {
48279 return socket ();
48280 ;
48281 return 0;
48282 }
48283 _ACEOF
48284 rm -f conftest.$ac_objext conftest$ac_exeext
48285 if { (ac_try="$ac_link"
48286 case "(($ac_try" in
48287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48288 *) ac_try_echo=$ac_try;;
48289 esac
48290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48291 (eval "$ac_link") 2>conftest.er1
48292 ac_status=$?
48293 grep -v '^ *+' conftest.er1 >conftest.err
48294 rm -f conftest.er1
48295 cat conftest.err >&5
48296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48297 (exit $ac_status); } &&
48298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48299 { (case "(($ac_try" in
48300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48301 *) ac_try_echo=$ac_try;;
48302 esac
48303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48304 (eval "$ac_try") 2>&5
48305 ac_status=$?
48306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48307 (exit $ac_status); }; } &&
48308 { ac_try='test -s conftest$ac_exeext'
48309 { (case "(($ac_try" in
48310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48311 *) ac_try_echo=$ac_try;;
48312 esac
48313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48314 (eval "$ac_try") 2>&5
48315 ac_status=$?
48316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48317 (exit $ac_status); }; }; then
48318 ac_cv_lib_socket_socket=yes
48319 else
48320 echo "$as_me: failed program was:" >&5
48321 sed 's/^/| /' conftest.$ac_ext >&5
48322
48323 ac_cv_lib_socket_socket=no
48324 fi
48325
48326 rm -f core conftest.err conftest.$ac_objext \
48327 conftest$ac_exeext conftest.$ac_ext
48328 LIBS=$ac_check_lib_save_LIBS
48329 fi
48330 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48331 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48332 if test $ac_cv_lib_socket_socket = yes; then
48333 if test "$INET_LINK" != " -lsocket"; then
48334 INET_LINK="$INET_LINK -lsocket"
48335 fi
48336 else
48337
48338 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48339 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48340 wxUSE_SOCKETS=no
48341
48342
48343 fi
48344
48345
48346
48347 fi
48348
48349 fi
48350 fi
48351
48352 if test "$wxUSE_SOCKETS" = "yes" ; then
48353 if test "$TOOLKIT" != "MSW"; then
48354 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48355 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48356 if test "${wx_cv_type_getsockname3+set}" = set; then
48357 echo $ECHO_N "(cached) $ECHO_C" >&6
48358 else
48359
48360 ac_ext=cpp
48361 ac_cpp='$CXXCPP $CPPFLAGS'
48362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48365
48366 cat >conftest.$ac_ext <<_ACEOF
48367 /* confdefs.h. */
48368 _ACEOF
48369 cat confdefs.h >>conftest.$ac_ext
48370 cat >>conftest.$ac_ext <<_ACEOF
48371 /* end confdefs.h. */
48372
48373 #include <sys/types.h>
48374 #include <sys/socket.h>
48375
48376 int
48377 main ()
48378 {
48379
48380 socklen_t len;
48381 getsockname(0, 0, &len);
48382
48383 ;
48384 return 0;
48385 }
48386 _ACEOF
48387 rm -f conftest.$ac_objext
48388 if { (ac_try="$ac_compile"
48389 case "(($ac_try" in
48390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48391 *) ac_try_echo=$ac_try;;
48392 esac
48393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48394 (eval "$ac_compile") 2>conftest.er1
48395 ac_status=$?
48396 grep -v '^ *+' conftest.er1 >conftest.err
48397 rm -f conftest.er1
48398 cat conftest.err >&5
48399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48400 (exit $ac_status); } &&
48401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48402 { (case "(($ac_try" in
48403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48404 *) ac_try_echo=$ac_try;;
48405 esac
48406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48407 (eval "$ac_try") 2>&5
48408 ac_status=$?
48409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48410 (exit $ac_status); }; } &&
48411 { ac_try='test -s conftest.$ac_objext'
48412 { (case "(($ac_try" in
48413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48414 *) ac_try_echo=$ac_try;;
48415 esac
48416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48417 (eval "$ac_try") 2>&5
48418 ac_status=$?
48419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48420 (exit $ac_status); }; }; then
48421 wx_cv_type_getsockname3=socklen_t
48422 else
48423 echo "$as_me: failed program was:" >&5
48424 sed 's/^/| /' conftest.$ac_ext >&5
48425
48426
48427 CFLAGS_OLD="$CFLAGS"
48428 if test "$GCC" = yes ; then
48429 CFLAGS="-Werror $CFLAGS"
48430 fi
48431
48432 cat >conftest.$ac_ext <<_ACEOF
48433 /* confdefs.h. */
48434 _ACEOF
48435 cat confdefs.h >>conftest.$ac_ext
48436 cat >>conftest.$ac_ext <<_ACEOF
48437 /* end confdefs.h. */
48438
48439 #include <sys/types.h>
48440 #include <sys/socket.h>
48441
48442 int
48443 main ()
48444 {
48445
48446 size_t len;
48447 getsockname(0, 0, &len);
48448
48449 ;
48450 return 0;
48451 }
48452 _ACEOF
48453 rm -f conftest.$ac_objext
48454 if { (ac_try="$ac_compile"
48455 case "(($ac_try" in
48456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48457 *) ac_try_echo=$ac_try;;
48458 esac
48459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48460 (eval "$ac_compile") 2>conftest.er1
48461 ac_status=$?
48462 grep -v '^ *+' conftest.er1 >conftest.err
48463 rm -f conftest.er1
48464 cat conftest.err >&5
48465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48466 (exit $ac_status); } &&
48467 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48468 { (case "(($ac_try" in
48469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48470 *) ac_try_echo=$ac_try;;
48471 esac
48472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48473 (eval "$ac_try") 2>&5
48474 ac_status=$?
48475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48476 (exit $ac_status); }; } &&
48477 { ac_try='test -s conftest.$ac_objext'
48478 { (case "(($ac_try" in
48479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48480 *) ac_try_echo=$ac_try;;
48481 esac
48482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48483 (eval "$ac_try") 2>&5
48484 ac_status=$?
48485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48486 (exit $ac_status); }; }; then
48487 wx_cv_type_getsockname3=size_t
48488 else
48489 echo "$as_me: failed program was:" >&5
48490 sed 's/^/| /' conftest.$ac_ext >&5
48491
48492 cat >conftest.$ac_ext <<_ACEOF
48493 /* confdefs.h. */
48494 _ACEOF
48495 cat confdefs.h >>conftest.$ac_ext
48496 cat >>conftest.$ac_ext <<_ACEOF
48497 /* end confdefs.h. */
48498
48499 #include <sys/types.h>
48500 #include <sys/socket.h>
48501
48502 int
48503 main ()
48504 {
48505
48506 int len;
48507 getsockname(0, 0, &len);
48508
48509 ;
48510 return 0;
48511 }
48512 _ACEOF
48513 rm -f conftest.$ac_objext
48514 if { (ac_try="$ac_compile"
48515 case "(($ac_try" in
48516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48517 *) ac_try_echo=$ac_try;;
48518 esac
48519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48520 (eval "$ac_compile") 2>conftest.er1
48521 ac_status=$?
48522 grep -v '^ *+' conftest.er1 >conftest.err
48523 rm -f conftest.er1
48524 cat conftest.err >&5
48525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48526 (exit $ac_status); } &&
48527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48528 { (case "(($ac_try" in
48529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48530 *) ac_try_echo=$ac_try;;
48531 esac
48532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48533 (eval "$ac_try") 2>&5
48534 ac_status=$?
48535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48536 (exit $ac_status); }; } &&
48537 { ac_try='test -s conftest.$ac_objext'
48538 { (case "(($ac_try" in
48539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48540 *) ac_try_echo=$ac_try;;
48541 esac
48542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48543 (eval "$ac_try") 2>&5
48544 ac_status=$?
48545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48546 (exit $ac_status); }; }; then
48547 wx_cv_type_getsockname3=int
48548 else
48549 echo "$as_me: failed program was:" >&5
48550 sed 's/^/| /' conftest.$ac_ext >&5
48551
48552 wx_cv_type_getsockname3=unknown
48553
48554 fi
48555
48556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48557
48558 fi
48559
48560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48561
48562 CFLAGS="$CFLAGS_OLD"
48563
48564
48565 fi
48566
48567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48568 ac_ext=c
48569 ac_cpp='$CPP $CPPFLAGS'
48570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48573
48574
48575 fi
48576 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48577 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48578
48579 if test "$wx_cv_type_getsockname3" = "unknown"; then
48580 wxUSE_SOCKETS=no
48581 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48582 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48583 else
48584 cat >>confdefs.h <<_ACEOF
48585 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48586 _ACEOF
48587
48588 fi
48589 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48590 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48591 if test "${wx_cv_type_getsockopt5+set}" = set; then
48592 echo $ECHO_N "(cached) $ECHO_C" >&6
48593 else
48594
48595 cat >conftest.$ac_ext <<_ACEOF
48596 /* confdefs.h. */
48597 _ACEOF
48598 cat confdefs.h >>conftest.$ac_ext
48599 cat >>conftest.$ac_ext <<_ACEOF
48600 /* end confdefs.h. */
48601
48602 #include <sys/types.h>
48603 #include <sys/socket.h>
48604
48605 int
48606 main ()
48607 {
48608
48609 socklen_t len;
48610 getsockopt(0, 0, 0, 0, &len);
48611
48612 ;
48613 return 0;
48614 }
48615 _ACEOF
48616 rm -f conftest.$ac_objext
48617 if { (ac_try="$ac_compile"
48618 case "(($ac_try" in
48619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48620 *) ac_try_echo=$ac_try;;
48621 esac
48622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48623 (eval "$ac_compile") 2>conftest.er1
48624 ac_status=$?
48625 grep -v '^ *+' conftest.er1 >conftest.err
48626 rm -f conftest.er1
48627 cat conftest.err >&5
48628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48629 (exit $ac_status); } &&
48630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48631 { (case "(($ac_try" in
48632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48633 *) ac_try_echo=$ac_try;;
48634 esac
48635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48636 (eval "$ac_try") 2>&5
48637 ac_status=$?
48638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48639 (exit $ac_status); }; } &&
48640 { ac_try='test -s conftest.$ac_objext'
48641 { (case "(($ac_try" in
48642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48643 *) ac_try_echo=$ac_try;;
48644 esac
48645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48646 (eval "$ac_try") 2>&5
48647 ac_status=$?
48648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48649 (exit $ac_status); }; }; then
48650 wx_cv_type_getsockopt5=socklen_t
48651 else
48652 echo "$as_me: failed program was:" >&5
48653 sed 's/^/| /' conftest.$ac_ext >&5
48654
48655
48656 ac_ext=cpp
48657 ac_cpp='$CXXCPP $CPPFLAGS'
48658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48661
48662 cat >conftest.$ac_ext <<_ACEOF
48663 /* confdefs.h. */
48664 _ACEOF
48665 cat confdefs.h >>conftest.$ac_ext
48666 cat >>conftest.$ac_ext <<_ACEOF
48667 /* end confdefs.h. */
48668
48669 #include <sys/types.h>
48670 #include <sys/socket.h>
48671
48672 int
48673 main ()
48674 {
48675
48676 size_t len;
48677 getsockopt(0, 0, 0, 0, &len);
48678
48679 ;
48680 return 0;
48681 }
48682 _ACEOF
48683 rm -f conftest.$ac_objext
48684 if { (ac_try="$ac_compile"
48685 case "(($ac_try" in
48686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48687 *) ac_try_echo=$ac_try;;
48688 esac
48689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48690 (eval "$ac_compile") 2>conftest.er1
48691 ac_status=$?
48692 grep -v '^ *+' conftest.er1 >conftest.err
48693 rm -f conftest.er1
48694 cat conftest.err >&5
48695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48696 (exit $ac_status); } &&
48697 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48698 { (case "(($ac_try" in
48699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48700 *) ac_try_echo=$ac_try;;
48701 esac
48702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48703 (eval "$ac_try") 2>&5
48704 ac_status=$?
48705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48706 (exit $ac_status); }; } &&
48707 { ac_try='test -s conftest.$ac_objext'
48708 { (case "(($ac_try" in
48709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48710 *) ac_try_echo=$ac_try;;
48711 esac
48712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48713 (eval "$ac_try") 2>&5
48714 ac_status=$?
48715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48716 (exit $ac_status); }; }; then
48717 wx_cv_type_getsockopt5=size_t
48718 else
48719 echo "$as_me: failed program was:" >&5
48720 sed 's/^/| /' conftest.$ac_ext >&5
48721
48722 cat >conftest.$ac_ext <<_ACEOF
48723 /* confdefs.h. */
48724 _ACEOF
48725 cat confdefs.h >>conftest.$ac_ext
48726 cat >>conftest.$ac_ext <<_ACEOF
48727 /* end confdefs.h. */
48728
48729 #include <sys/types.h>
48730 #include <sys/socket.h>
48731
48732 int
48733 main ()
48734 {
48735
48736 int len;
48737 getsockopt(0, 0, 0, 0, &len);
48738
48739 ;
48740 return 0;
48741 }
48742 _ACEOF
48743 rm -f conftest.$ac_objext
48744 if { (ac_try="$ac_compile"
48745 case "(($ac_try" in
48746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48747 *) ac_try_echo=$ac_try;;
48748 esac
48749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48750 (eval "$ac_compile") 2>conftest.er1
48751 ac_status=$?
48752 grep -v '^ *+' conftest.er1 >conftest.err
48753 rm -f conftest.er1
48754 cat conftest.err >&5
48755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48756 (exit $ac_status); } &&
48757 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48758 { (case "(($ac_try" in
48759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48760 *) ac_try_echo=$ac_try;;
48761 esac
48762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48763 (eval "$ac_try") 2>&5
48764 ac_status=$?
48765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48766 (exit $ac_status); }; } &&
48767 { ac_try='test -s conftest.$ac_objext'
48768 { (case "(($ac_try" in
48769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48770 *) ac_try_echo=$ac_try;;
48771 esac
48772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48773 (eval "$ac_try") 2>&5
48774 ac_status=$?
48775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48776 (exit $ac_status); }; }; then
48777 wx_cv_type_getsockopt5=int
48778 else
48779 echo "$as_me: failed program was:" >&5
48780 sed 's/^/| /' conftest.$ac_ext >&5
48781
48782 wx_cv_type_getsockopt5=unknown
48783
48784 fi
48785
48786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48787
48788 fi
48789
48790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48791 ac_ext=c
48792 ac_cpp='$CPP $CPPFLAGS'
48793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48796
48797
48798
48799 fi
48800
48801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48802
48803 fi
48804 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
48805 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
48806
48807 if test "$wx_cv_type_getsockopt5" = "unknown"; then
48808 wxUSE_SOCKETS=no
48809 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48810 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48811 else
48812 cat >>confdefs.h <<_ACEOF
48813 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
48814 _ACEOF
48815
48816 fi
48817 fi
48818 fi
48819
48820 if test "$wxUSE_SOCKETS" = "yes" ; then
48821 cat >>confdefs.h <<\_ACEOF
48822 #define wxUSE_SOCKETS 1
48823 _ACEOF
48824
48825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48826 fi
48827
48828 if test "$wxUSE_PROTOCOL" = "yes"; then
48829 if test "$wxUSE_SOCKETS" != "yes"; then
48830 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
48831 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
48832 wxUSE_PROTOCOL=no
48833 fi
48834 fi
48835
48836 if test "$wxUSE_PROTOCOL" = "yes"; then
48837 cat >>confdefs.h <<\_ACEOF
48838 #define wxUSE_PROTOCOL 1
48839 _ACEOF
48840
48841
48842 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
48843 cat >>confdefs.h <<\_ACEOF
48844 #define wxUSE_PROTOCOL_HTTP 1
48845 _ACEOF
48846
48847 fi
48848 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
48849 cat >>confdefs.h <<\_ACEOF
48850 #define wxUSE_PROTOCOL_FTP 1
48851 _ACEOF
48852
48853 fi
48854 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
48855 cat >>confdefs.h <<\_ACEOF
48856 #define wxUSE_PROTOCOL_FILE 1
48857 _ACEOF
48858
48859 fi
48860 else
48861 if test "$wxUSE_FS_INET" = "yes"; then
48862 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
48863 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
48864 wxUSE_FS_INET="no"
48865 fi
48866 fi
48867
48868 if test "$wxUSE_URL" = "yes"; then
48869 if test "$wxUSE_PROTOCOL" != "yes"; then
48870 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
48871 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
48872 wxUSE_URL=no
48873 fi
48874 if test "$wxUSE_URL" = "yes"; then
48875 cat >>confdefs.h <<\_ACEOF
48876 #define wxUSE_URL 1
48877 _ACEOF
48878
48879 fi
48880 fi
48881
48882 if test "$wxUSE_VARIANT" = "yes"; then
48883 cat >>confdefs.h <<\_ACEOF
48884 #define wxUSE_VARIANT 1
48885 _ACEOF
48886
48887 fi
48888
48889 if test "$wxUSE_FS_INET" = "yes"; then
48890 cat >>confdefs.h <<\_ACEOF
48891 #define wxUSE_FS_INET 1
48892 _ACEOF
48893
48894 fi
48895
48896
48897 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
48898 wxUSE_JOYSTICK=no
48899
48900 if test "$TOOLKIT" = "MSW"; then
48901 wxUSE_JOYSTICK=yes
48902
48903 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
48904 if test "$USE_DARWIN" = 1; then
48905 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
48906 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
48907 ac_ext=cpp
48908 ac_cpp='$CXXCPP $CPPFLAGS'
48909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48912
48913 cat >conftest.$ac_ext <<_ACEOF
48914 /* confdefs.h. */
48915 _ACEOF
48916 cat confdefs.h >>conftest.$ac_ext
48917 cat >>conftest.$ac_ext <<_ACEOF
48918 /* end confdefs.h. */
48919 #include <IOKit/hid/IOHIDLib.h>
48920 int
48921 main ()
48922 {
48923 IOHIDQueueInterface *qi = NULL;
48924 IOHIDCallbackFunction cb = NULL;
48925 qi->setEventCallout(NULL, cb, NULL, NULL);
48926 ;
48927 return 0;
48928 }
48929 _ACEOF
48930 rm -f conftest.$ac_objext
48931 if { (ac_try="$ac_compile"
48932 case "(($ac_try" in
48933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48934 *) ac_try_echo=$ac_try;;
48935 esac
48936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48937 (eval "$ac_compile") 2>conftest.er1
48938 ac_status=$?
48939 grep -v '^ *+' conftest.er1 >conftest.err
48940 rm -f conftest.er1
48941 cat conftest.err >&5
48942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48943 (exit $ac_status); } &&
48944 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48945 { (case "(($ac_try" in
48946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48947 *) ac_try_echo=$ac_try;;
48948 esac
48949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48950 (eval "$ac_try") 2>&5
48951 ac_status=$?
48952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48953 (exit $ac_status); }; } &&
48954 { ac_try='test -s conftest.$ac_objext'
48955 { (case "(($ac_try" in
48956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48957 *) ac_try_echo=$ac_try;;
48958 esac
48959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48960 (eval "$ac_try") 2>&5
48961 ac_status=$?
48962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48963 (exit $ac_status); }; }; then
48964 wxUSE_JOYSTICK=yes
48965
48966 else
48967 echo "$as_me: failed program was:" >&5
48968 sed 's/^/| /' conftest.$ac_ext >&5
48969
48970
48971 fi
48972
48973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48974 ac_ext=c
48975 ac_cpp='$CPP $CPPFLAGS'
48976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48979
48980 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
48981 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
48982 fi
48983
48984 else
48985 if test "$wxUSE_MGL" != "1"; then
48986 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
48987 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
48988 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
48989 echo $ECHO_N "(cached) $ECHO_C" >&6
48990 else
48991 cat >conftest.$ac_ext <<_ACEOF
48992 /* confdefs.h. */
48993 _ACEOF
48994 cat confdefs.h >>conftest.$ac_ext
48995 cat >>conftest.$ac_ext <<_ACEOF
48996 /* end confdefs.h. */
48997 $ac_includes_default
48998
48999 #include <linux/joystick.h>
49000 _ACEOF
49001 rm -f conftest.$ac_objext
49002 if { (ac_try="$ac_compile"
49003 case "(($ac_try" in
49004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49005 *) ac_try_echo=$ac_try;;
49006 esac
49007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49008 (eval "$ac_compile") 2>conftest.er1
49009 ac_status=$?
49010 grep -v '^ *+' conftest.er1 >conftest.err
49011 rm -f conftest.er1
49012 cat conftest.err >&5
49013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49014 (exit $ac_status); } &&
49015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49016 { (case "(($ac_try" in
49017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49018 *) ac_try_echo=$ac_try;;
49019 esac
49020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49021 (eval "$ac_try") 2>&5
49022 ac_status=$?
49023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49024 (exit $ac_status); }; } &&
49025 { ac_try='test -s conftest.$ac_objext'
49026 { (case "(($ac_try" in
49027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49028 *) ac_try_echo=$ac_try;;
49029 esac
49030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49031 (eval "$ac_try") 2>&5
49032 ac_status=$?
49033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49034 (exit $ac_status); }; }; then
49035 ac_cv_header_linux_joystick_h=yes
49036 else
49037 echo "$as_me: failed program was:" >&5
49038 sed 's/^/| /' conftest.$ac_ext >&5
49039
49040 ac_cv_header_linux_joystick_h=no
49041 fi
49042
49043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49044 fi
49045 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
49046 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
49047 if test $ac_cv_header_linux_joystick_h = yes; then
49048 wxUSE_JOYSTICK=yes
49049 fi
49050
49051
49052 fi
49053 fi
49054
49055 if test "$wxUSE_JOYSTICK" = "yes"; then
49056 cat >>confdefs.h <<\_ACEOF
49057 #define wxUSE_JOYSTICK 1
49058 _ACEOF
49059
49060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
49061 else
49062 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49063 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49064 fi
49065 fi
49066
49067
49068
49069 if test "$wxUSE_FONTMAP" = "yes" ; then
49070 cat >>confdefs.h <<\_ACEOF
49071 #define wxUSE_FONTMAP 1
49072 _ACEOF
49073
49074 fi
49075
49076 if test "$wxUSE_UNICODE" = "yes" ; then
49077 cat >>confdefs.h <<\_ACEOF
49078 #define wxUSE_UNICODE 1
49079 _ACEOF
49080
49081
49082 if test "$USE_WIN32" != 1; then
49083 wxUSE_UNICODE_MSLU=no
49084 fi
49085
49086 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49087 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49088 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49089 if test "${ac_cv_lib_unicows_main+set}" = set; then
49090 echo $ECHO_N "(cached) $ECHO_C" >&6
49091 else
49092 ac_check_lib_save_LIBS=$LIBS
49093 LIBS="-lunicows $LIBS"
49094 cat >conftest.$ac_ext <<_ACEOF
49095 /* confdefs.h. */
49096 _ACEOF
49097 cat confdefs.h >>conftest.$ac_ext
49098 cat >>conftest.$ac_ext <<_ACEOF
49099 /* end confdefs.h. */
49100
49101
49102 int
49103 main ()
49104 {
49105 return main ();
49106 ;
49107 return 0;
49108 }
49109 _ACEOF
49110 rm -f conftest.$ac_objext conftest$ac_exeext
49111 if { (ac_try="$ac_link"
49112 case "(($ac_try" in
49113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49114 *) ac_try_echo=$ac_try;;
49115 esac
49116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49117 (eval "$ac_link") 2>conftest.er1
49118 ac_status=$?
49119 grep -v '^ *+' conftest.er1 >conftest.err
49120 rm -f conftest.er1
49121 cat conftest.err >&5
49122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49123 (exit $ac_status); } &&
49124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49125 { (case "(($ac_try" in
49126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49127 *) ac_try_echo=$ac_try;;
49128 esac
49129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49130 (eval "$ac_try") 2>&5
49131 ac_status=$?
49132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49133 (exit $ac_status); }; } &&
49134 { ac_try='test -s conftest$ac_exeext'
49135 { (case "(($ac_try" in
49136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49137 *) ac_try_echo=$ac_try;;
49138 esac
49139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49140 (eval "$ac_try") 2>&5
49141 ac_status=$?
49142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49143 (exit $ac_status); }; }; then
49144 ac_cv_lib_unicows_main=yes
49145 else
49146 echo "$as_me: failed program was:" >&5
49147 sed 's/^/| /' conftest.$ac_ext >&5
49148
49149 ac_cv_lib_unicows_main=no
49150 fi
49151
49152 rm -f core conftest.err conftest.$ac_objext \
49153 conftest$ac_exeext conftest.$ac_ext
49154 LIBS=$ac_check_lib_save_LIBS
49155 fi
49156 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49157 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49158 if test $ac_cv_lib_unicows_main = yes; then
49159
49160 cat >>confdefs.h <<\_ACEOF
49161 #define wxUSE_UNICODE_MSLU 1
49162 _ACEOF
49163
49164
49165 else
49166
49167 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49168 Applications will only run on Windows NT/2000/XP!" >&5
49169 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49170 Applications will only run on Windows NT/2000/XP!" >&2;}
49171 wxUSE_UNICODE_MSLU=no
49172
49173 fi
49174
49175 fi
49176 fi
49177
49178 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
49179 cat >>confdefs.h <<\_ACEOF
49180 #define wxUSE_EXPERIMENTAL_PRINTF 1
49181 _ACEOF
49182
49183 fi
49184
49185
49186 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49187 cat >>confdefs.h <<\_ACEOF
49188 #define wxUSE_POSTSCRIPT 1
49189 _ACEOF
49190
49191 fi
49192
49193 cat >>confdefs.h <<\_ACEOF
49194 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49195 _ACEOF
49196
49197
49198 cat >>confdefs.h <<\_ACEOF
49199 #define wxUSE_NORMALIZED_PS_FONTS 1
49200 _ACEOF
49201
49202
49203
49204 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49205 cat >>confdefs.h <<\_ACEOF
49206 #define wxUSE_CONSTRAINTS 1
49207 _ACEOF
49208
49209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
49210 fi
49211
49212 if test "$wxUSE_MDI" = "yes"; then
49213 cat >>confdefs.h <<\_ACEOF
49214 #define wxUSE_MDI 1
49215 _ACEOF
49216
49217
49218 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49219 cat >>confdefs.h <<\_ACEOF
49220 #define wxUSE_MDI_ARCHITECTURE 1
49221 _ACEOF
49222
49223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
49224 fi
49225 fi
49226
49227 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49228 cat >>confdefs.h <<\_ACEOF
49229 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49230 _ACEOF
49231
49232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
49233 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
49235 fi
49236 fi
49237
49238 if test "$wxUSE_HELP" = "yes"; then
49239 cat >>confdefs.h <<\_ACEOF
49240 #define wxUSE_HELP 1
49241 _ACEOF
49242
49243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
49244
49245 if test "$wxUSE_MSW" = 1; then
49246 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49247 cat >>confdefs.h <<\_ACEOF
49248 #define wxUSE_MS_HTML_HELP 1
49249 _ACEOF
49250
49251 fi
49252 fi
49253
49254 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49255 if test "$wxUSE_HTML" = "yes"; then
49256 cat >>confdefs.h <<\_ACEOF
49257 #define wxUSE_WXHTML_HELP 1
49258 _ACEOF
49259
49260 else
49261 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49262 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49263 wxUSE_WXHTML_HELP=no
49264 fi
49265 fi
49266 fi
49267
49268 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49269 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49270 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
49271 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
49272 else
49273 cat >>confdefs.h <<\_ACEOF
49274 #define wxUSE_PRINTING_ARCHITECTURE 1
49275 _ACEOF
49276
49277 fi
49278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
49279 fi
49280
49281 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
49282 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
49283 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
49284 { (exit 1); exit 1; }; }
49285 fi
49286
49287
49288 if test "$wxUSE_METAFILE" = "yes"; then
49289 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49290 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49291 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49292 wxUSE_METAFILE=no
49293 fi
49294 fi
49295
49296
49297 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
49298 -o "$wxUSE_CLIPBOARD" = "yes" \
49299 -o "$wxUSE_OLE" = "yes" \
49300 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
49301 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49302 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49303 if test "${ac_cv_header_ole2_h+set}" = set; then
49304 echo $ECHO_N "(cached) $ECHO_C" >&6
49305 else
49306 cat >conftest.$ac_ext <<_ACEOF
49307 /* confdefs.h. */
49308 _ACEOF
49309 cat confdefs.h >>conftest.$ac_ext
49310 cat >>conftest.$ac_ext <<_ACEOF
49311 /* end confdefs.h. */
49312
49313
49314 #include <ole2.h>
49315 _ACEOF
49316 rm -f conftest.$ac_objext
49317 if { (ac_try="$ac_compile"
49318 case "(($ac_try" in
49319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49320 *) ac_try_echo=$ac_try;;
49321 esac
49322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49323 (eval "$ac_compile") 2>conftest.er1
49324 ac_status=$?
49325 grep -v '^ *+' conftest.er1 >conftest.err
49326 rm -f conftest.er1
49327 cat conftest.err >&5
49328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49329 (exit $ac_status); } &&
49330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49331 { (case "(($ac_try" in
49332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49333 *) ac_try_echo=$ac_try;;
49334 esac
49335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49336 (eval "$ac_try") 2>&5
49337 ac_status=$?
49338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49339 (exit $ac_status); }; } &&
49340 { ac_try='test -s conftest.$ac_objext'
49341 { (case "(($ac_try" in
49342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49343 *) ac_try_echo=$ac_try;;
49344 esac
49345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49346 (eval "$ac_try") 2>&5
49347 ac_status=$?
49348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49349 (exit $ac_status); }; }; then
49350 ac_cv_header_ole2_h=yes
49351 else
49352 echo "$as_me: failed program was:" >&5
49353 sed 's/^/| /' conftest.$ac_ext >&5
49354
49355 ac_cv_header_ole2_h=no
49356 fi
49357
49358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49359 fi
49360 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49361 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49362
49363
49364
49365 if test "$ac_cv_header_ole2_h" = "yes" ; then
49366 if test "$GCC" = yes ; then
49367 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49368 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49369 cat >conftest.$ac_ext <<_ACEOF
49370 /* confdefs.h. */
49371 _ACEOF
49372 cat confdefs.h >>conftest.$ac_ext
49373 cat >>conftest.$ac_ext <<_ACEOF
49374 /* end confdefs.h. */
49375 #include <windows.h>
49376 #include <ole2.h>
49377 int
49378 main ()
49379 {
49380
49381 ;
49382 return 0;
49383 }
49384 _ACEOF
49385 rm -f conftest.$ac_objext
49386 if { (ac_try="$ac_compile"
49387 case "(($ac_try" in
49388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49389 *) ac_try_echo=$ac_try;;
49390 esac
49391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49392 (eval "$ac_compile") 2>conftest.er1
49393 ac_status=$?
49394 grep -v '^ *+' conftest.er1 >conftest.err
49395 rm -f conftest.er1
49396 cat conftest.err >&5
49397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49398 (exit $ac_status); } &&
49399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49400 { (case "(($ac_try" in
49401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49402 *) ac_try_echo=$ac_try;;
49403 esac
49404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49405 (eval "$ac_try") 2>&5
49406 ac_status=$?
49407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49408 (exit $ac_status); }; } &&
49409 { ac_try='test -s conftest.$ac_objext'
49410 { (case "(($ac_try" in
49411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49412 *) ac_try_echo=$ac_try;;
49413 esac
49414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49415 (eval "$ac_try") 2>&5
49416 ac_status=$?
49417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49418 (exit $ac_status); }; }; then
49419 { echo "$as_me:$LINENO: result: no" >&5
49420 echo "${ECHO_T}no" >&6; }
49421 else
49422 echo "$as_me: failed program was:" >&5
49423 sed 's/^/| /' conftest.$ac_ext >&5
49424
49425 { echo "$as_me:$LINENO: result: yes" >&5
49426 echo "${ECHO_T}yes" >&6; }
49427 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49428 fi
49429
49430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49431 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49432 if test "$wxUSE_OLE" = "yes" ; then
49433 cat >>confdefs.h <<\_ACEOF
49434 #define wxUSE_OLE 1
49435 _ACEOF
49436
49437 cat >>confdefs.h <<\_ACEOF
49438 #define wxUSE_OLE_AUTOMATION 1
49439 _ACEOF
49440
49441 cat >>confdefs.h <<\_ACEOF
49442 #define wxUSE_ACTIVEX 1
49443 _ACEOF
49444
49445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
49446 fi
49447 fi
49448
49449 if test "$wxUSE_DATAOBJ" = "yes" ; then
49450 cat >>confdefs.h <<\_ACEOF
49451 #define wxUSE_DATAOBJ 1
49452 _ACEOF
49453
49454 fi
49455 else
49456 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49457 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49458
49459 wxUSE_CLIPBOARD=no
49460 wxUSE_DRAG_AND_DROP=no
49461 wxUSE_DATAOBJ=no
49462 wxUSE_OLE=no
49463 fi
49464
49465 if test "$wxUSE_METAFILE" = "yes"; then
49466 cat >>confdefs.h <<\_ACEOF
49467 #define wxUSE_METAFILE 1
49468 _ACEOF
49469
49470
49471 cat >>confdefs.h <<\_ACEOF
49472 #define wxUSE_ENH_METAFILE 1
49473 _ACEOF
49474
49475 fi
49476 fi
49477
49478 if test "$wxUSE_IPC" = "yes"; then
49479 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49480 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49481 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49482 wxUSE_IPC=no
49483 fi
49484
49485 if test "$wxUSE_IPC" = "yes"; then
49486 cat >>confdefs.h <<\_ACEOF
49487 #define wxUSE_IPC 1
49488 _ACEOF
49489
49490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49491 fi
49492 fi
49493
49494 if test "$wxUSE_DATAOBJ" = "yes"; then
49495 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49496 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
49497 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
49498 wxUSE_DATAOBJ=no
49499 else
49500 cat >>confdefs.h <<\_ACEOF
49501 #define wxUSE_DATAOBJ 1
49502 _ACEOF
49503
49504 fi
49505 else
49506 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49507 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49508 wxUSE_CLIPBOARD=no
49509 wxUSE_DRAG_AND_DROP=no
49510 fi
49511
49512 if test "$wxUSE_CLIPBOARD" = "yes"; then
49513 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49514 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49515 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49516 wxUSE_CLIPBOARD=no
49517 fi
49518
49519 if test "$wxUSE_CLIPBOARD" = "yes"; then
49520 cat >>confdefs.h <<\_ACEOF
49521 #define wxUSE_CLIPBOARD 1
49522 _ACEOF
49523
49524 fi
49525 fi
49526
49527 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49528 if test "$wxUSE_GTK" = 1; then
49529 if test "$WXGTK12" != 1; then
49530 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
49531 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
49532 wxUSE_DRAG_AND_DROP=no
49533 fi
49534 fi
49535
49536 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
49537 "$wxUSE_DFB" = 1; then
49538 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49539 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49540 wxUSE_DRAG_AND_DROP=no
49541 fi
49542
49543 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49544 cat >>confdefs.h <<\_ACEOF
49545 #define wxUSE_DRAG_AND_DROP 1
49546 _ACEOF
49547
49548 fi
49549
49550 fi
49551
49552 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
49554 fi
49555
49556 if test "$wxUSE_SPLINES" = "yes" ; then
49557 cat >>confdefs.h <<\_ACEOF
49558 #define wxUSE_SPLINES 1
49559 _ACEOF
49560
49561 fi
49562
49563 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49564 cat >>confdefs.h <<\_ACEOF
49565 #define wxUSE_MOUSEWHEEL 1
49566 _ACEOF
49567
49568 fi
49569
49570
49571 USES_CONTROLS=0
49572 if test "$wxUSE_CONTROLS" = "yes"; then
49573 USES_CONTROLS=1
49574 fi
49575
49576 if test "$wxUSE_ACCEL" = "yes"; then
49577 cat >>confdefs.h <<\_ACEOF
49578 #define wxUSE_ACCEL 1
49579 _ACEOF
49580
49581 USES_CONTROLS=1
49582 fi
49583
49584 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49585 cat >>confdefs.h <<\_ACEOF
49586 #define wxUSE_ANIMATIONCTRL 1
49587 _ACEOF
49588
49589 USES_CONTROLS=1
49590 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
49591 fi
49592
49593 if test "$wxUSE_BUTTON" = "yes"; then
49594 cat >>confdefs.h <<\_ACEOF
49595 #define wxUSE_BUTTON 1
49596 _ACEOF
49597
49598 USES_CONTROLS=1
49599 fi
49600
49601 if test "$wxUSE_BMPBUTTON" = "yes"; then
49602 cat >>confdefs.h <<\_ACEOF
49603 #define wxUSE_BMPBUTTON 1
49604 _ACEOF
49605
49606 USES_CONTROLS=1
49607 fi
49608
49609 if test "$wxUSE_CALCTRL" = "yes"; then
49610 cat >>confdefs.h <<\_ACEOF
49611 #define wxUSE_CALENDARCTRL 1
49612 _ACEOF
49613
49614 USES_CONTROLS=1
49615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
49616 fi
49617
49618 if test "$wxUSE_CARET" = "yes"; then
49619 cat >>confdefs.h <<\_ACEOF
49620 #define wxUSE_CARET 1
49621 _ACEOF
49622
49623 USES_CONTROLS=1
49624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
49625 fi
49626
49627 if test "$wxUSE_COLLPANE" = "yes"; then
49628 cat >>confdefs.h <<\_ACEOF
49629 #define wxUSE_COLLPANE 1
49630 _ACEOF
49631
49632 USES_CONTROLS=1
49633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
49634 fi
49635
49636 if test "$wxUSE_COMBOBOX" = "yes"; then
49637 cat >>confdefs.h <<\_ACEOF
49638 #define wxUSE_COMBOBOX 1
49639 _ACEOF
49640
49641 USES_CONTROLS=1
49642 fi
49643
49644 if test "$wxUSE_COMBOCTRL" = "yes"; then
49645 cat >>confdefs.h <<\_ACEOF
49646 #define wxUSE_COMBOCTRL 1
49647 _ACEOF
49648
49649 USES_CONTROLS=1
49650 fi
49651
49652 if test "$wxUSE_CHOICE" = "yes"; then
49653 cat >>confdefs.h <<\_ACEOF
49654 #define wxUSE_CHOICE 1
49655 _ACEOF
49656
49657 USES_CONTROLS=1
49658 fi
49659
49660 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49661 cat >>confdefs.h <<\_ACEOF
49662 #define wxUSE_CHOICEBOOK 1
49663 _ACEOF
49664
49665 USES_CONTROLS=1
49666 fi
49667
49668 if test "$wxUSE_CHECKBOX" = "yes"; then
49669 cat >>confdefs.h <<\_ACEOF
49670 #define wxUSE_CHECKBOX 1
49671 _ACEOF
49672
49673 USES_CONTROLS=1
49674 fi
49675
49676 if test "$wxUSE_CHECKLST" = "yes"; then
49677 cat >>confdefs.h <<\_ACEOF
49678 #define wxUSE_CHECKLISTBOX 1
49679 _ACEOF
49680
49681 USES_CONTROLS=1
49682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
49683 fi
49684
49685 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49686 cat >>confdefs.h <<\_ACEOF
49687 #define wxUSE_COLOURPICKERCTRL 1
49688 _ACEOF
49689
49690 USES_CONTROLS=1
49691 fi
49692
49693 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
49694 cat >>confdefs.h <<\_ACEOF
49695 #define wxUSE_DATEPICKCTRL 1
49696 _ACEOF
49697
49698 USES_CONTROLS=1
49699 fi
49700
49701 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
49702 cat >>confdefs.h <<\_ACEOF
49703 #define wxUSE_DIRPICKERCTRL 1
49704 _ACEOF
49705
49706 USES_CONTROLS=1
49707 fi
49708
49709 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
49710 cat >>confdefs.h <<\_ACEOF
49711 #define wxUSE_FILEPICKERCTRL 1
49712 _ACEOF
49713
49714 USES_CONTROLS=1
49715 fi
49716
49717 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
49718 cat >>confdefs.h <<\_ACEOF
49719 #define wxUSE_FONTPICKERCTRL 1
49720 _ACEOF
49721
49722 USES_CONTROLS=1
49723 fi
49724
49725 if test "$wxUSE_DISPLAY" = "yes"; then
49726 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
49727 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
49728 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
49729 wxUSE_DISPLAY=no
49730 else
49731 cat >>confdefs.h <<\_ACEOF
49732 #define wxUSE_DISPLAY 1
49733 _ACEOF
49734
49735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
49736 fi
49737 fi
49738
49739 if test "$wxUSE_DETECT_SM" = "yes"; then
49740 cat >>confdefs.h <<\_ACEOF
49741 #define wxUSE_DETECT_SM 1
49742 _ACEOF
49743
49744 fi
49745
49746 if test "$wxUSE_GAUGE" = "yes"; then
49747 cat >>confdefs.h <<\_ACEOF
49748 #define wxUSE_GAUGE 1
49749 _ACEOF
49750
49751 USES_CONTROLS=1
49752 fi
49753
49754 if test "$wxUSE_GRID" = "yes"; then
49755 cat >>confdefs.h <<\_ACEOF
49756 #define wxUSE_GRID 1
49757 _ACEOF
49758
49759 USES_CONTROLS=1
49760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
49761 fi
49762
49763 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
49764 cat >>confdefs.h <<\_ACEOF
49765 #define wxUSE_HYPERLINKCTRL 1
49766 _ACEOF
49767
49768 USES_CONTROLS=1
49769 fi
49770
49771 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
49772 cat >>confdefs.h <<\_ACEOF
49773 #define wxUSE_BITMAPCOMBOBOX 1
49774 _ACEOF
49775
49776 USES_CONTROLS=1
49777 fi
49778
49779 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
49780 cat >>confdefs.h <<\_ACEOF
49781 #define wxUSE_DATAVIEWCTRL 1
49782 _ACEOF
49783
49784 USES_CONTROLS=1
49785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
49786 fi
49787
49788 if test "$wxUSE_IMAGLIST" = "yes"; then
49789 cat >>confdefs.h <<\_ACEOF
49790 #define wxUSE_IMAGLIST 1
49791 _ACEOF
49792
49793 fi
49794
49795 if test "$wxUSE_LISTBOOK" = "yes"; then
49796 cat >>confdefs.h <<\_ACEOF
49797 #define wxUSE_LISTBOOK 1
49798 _ACEOF
49799
49800 USES_CONTROLS=1
49801 fi
49802
49803 if test "$wxUSE_LISTBOX" = "yes"; then
49804 cat >>confdefs.h <<\_ACEOF
49805 #define wxUSE_LISTBOX 1
49806 _ACEOF
49807
49808 USES_CONTROLS=1
49809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
49810 fi
49811
49812 if test "$wxUSE_LISTCTRL" = "yes"; then
49813 if test "$wxUSE_IMAGLIST" = "yes"; then
49814 cat >>confdefs.h <<\_ACEOF
49815 #define wxUSE_LISTCTRL 1
49816 _ACEOF
49817
49818 USES_CONTROLS=1
49819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
49820 else
49821 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
49822 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
49823 fi
49824 fi
49825
49826 if test "$wxUSE_NOTEBOOK" = "yes"; then
49827 cat >>confdefs.h <<\_ACEOF
49828 #define wxUSE_NOTEBOOK 1
49829 _ACEOF
49830
49831 USES_CONTROLS=1
49832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
49833 fi
49834
49835 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
49836 cat >>confdefs.h <<\_ACEOF
49837 #define wxUSE_ODCOMBOBOX 1
49838 _ACEOF
49839
49840 USES_CONTROLS=1
49841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
49842 fi
49843
49844
49845 if test "$wxUSE_RADIOBOX" = "yes"; then
49846 cat >>confdefs.h <<\_ACEOF
49847 #define wxUSE_RADIOBOX 1
49848 _ACEOF
49849
49850 USES_CONTROLS=1
49851 fi
49852
49853 if test "$wxUSE_RADIOBTN" = "yes"; then
49854 cat >>confdefs.h <<\_ACEOF
49855 #define wxUSE_RADIOBTN 1
49856 _ACEOF
49857
49858 USES_CONTROLS=1
49859 fi
49860
49861 if test "$wxUSE_SASH" = "yes"; then
49862 cat >>confdefs.h <<\_ACEOF
49863 #define wxUSE_SASH 1
49864 _ACEOF
49865
49866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
49867 fi
49868
49869 if test "$wxUSE_SCROLLBAR" = "yes"; then
49870 cat >>confdefs.h <<\_ACEOF
49871 #define wxUSE_SCROLLBAR 1
49872 _ACEOF
49873
49874 USES_CONTROLS=1
49875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
49876 fi
49877
49878 if test "$wxUSE_SEARCHCTRL" = "yes"; then
49879 cat >>confdefs.h <<\_ACEOF
49880 #define wxUSE_SEARCHCTRL 1
49881 _ACEOF
49882
49883 USES_CONTROLS=1
49884 fi
49885
49886 if test "$wxUSE_SLIDER" = "yes"; then
49887 cat >>confdefs.h <<\_ACEOF
49888 #define wxUSE_SLIDER 1
49889 _ACEOF
49890
49891 USES_CONTROLS=1
49892 fi
49893
49894 if test "$wxUSE_SPINBTN" = "yes"; then
49895 cat >>confdefs.h <<\_ACEOF
49896 #define wxUSE_SPINBTN 1
49897 _ACEOF
49898
49899 USES_CONTROLS=1
49900 fi
49901
49902 if test "$wxUSE_SPINCTRL" = "yes"; then
49903 cat >>confdefs.h <<\_ACEOF
49904 #define wxUSE_SPINCTRL 1
49905 _ACEOF
49906
49907 USES_CONTROLS=1
49908 fi
49909
49910 if test "$wxUSE_SPLITTER" = "yes"; then
49911 cat >>confdefs.h <<\_ACEOF
49912 #define wxUSE_SPLITTER 1
49913 _ACEOF
49914
49915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
49916 fi
49917
49918 if test "$wxUSE_STATBMP" = "yes"; then
49919 cat >>confdefs.h <<\_ACEOF
49920 #define wxUSE_STATBMP 1
49921 _ACEOF
49922
49923 USES_CONTROLS=1
49924 fi
49925
49926 if test "$wxUSE_STATBOX" = "yes"; then
49927 cat >>confdefs.h <<\_ACEOF
49928 #define wxUSE_STATBOX 1
49929 _ACEOF
49930
49931 USES_CONTROLS=1
49932 fi
49933
49934 if test "$wxUSE_STATTEXT" = "yes"; then
49935 cat >>confdefs.h <<\_ACEOF
49936 #define wxUSE_STATTEXT 1
49937 _ACEOF
49938
49939 USES_CONTROLS=1
49940 fi
49941
49942 if test "$wxUSE_STATLINE" = "yes"; then
49943 cat >>confdefs.h <<\_ACEOF
49944 #define wxUSE_STATLINE 1
49945 _ACEOF
49946
49947 USES_CONTROLS=1
49948 fi
49949
49950 if test "$wxUSE_STATUSBAR" = "yes"; then
49951 cat >>confdefs.h <<\_ACEOF
49952 #define wxUSE_NATIVE_STATUSBAR 1
49953 _ACEOF
49954
49955 cat >>confdefs.h <<\_ACEOF
49956 #define wxUSE_STATUSBAR 1
49957 _ACEOF
49958
49959 USES_CONTROLS=1
49960
49961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
49962 fi
49963
49964 if test "$wxUSE_TAB_DIALOG" = "yes"; then
49965 cat >>confdefs.h <<\_ACEOF
49966 #define wxUSE_TAB_DIALOG 1
49967 _ACEOF
49968
49969 fi
49970
49971 if test "$wxUSE_TEXTCTRL" = "yes"; then
49972 cat >>confdefs.h <<\_ACEOF
49973 #define wxUSE_TEXTCTRL 1
49974 _ACEOF
49975
49976 USES_CONTROLS=1
49977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
49978 fi
49979
49980 if test "$wxUSE_TOGGLEBTN" = "yes"; then
49981 if test "$wxUSE_COCOA" = 1 ; then
49982 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
49983 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
49984 wxUSE_TOGGLEBTN=no
49985 fi
49986
49987 if test "$wxUSE_TOGGLEBTN" = "yes"; then
49988 cat >>confdefs.h <<\_ACEOF
49989 #define wxUSE_TOGGLEBTN 1
49990 _ACEOF
49991
49992 USES_CONTROLS=1
49993 fi
49994 fi
49995
49996 if test "$wxUSE_TOOLBAR" = "yes"; then
49997 cat >>confdefs.h <<\_ACEOF
49998 #define wxUSE_TOOLBAR 1
49999 _ACEOF
50000
50001 USES_CONTROLS=1
50002
50003 if test "$wxUSE_UNIVERSAL" = "yes"; then
50004 wxUSE_TOOLBAR_NATIVE="no"
50005 else
50006 wxUSE_TOOLBAR_NATIVE="yes"
50007 cat >>confdefs.h <<\_ACEOF
50008 #define wxUSE_TOOLBAR_NATIVE 1
50009 _ACEOF
50010
50011 fi
50012
50013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
50014 fi
50015
50016 if test "$wxUSE_TOOLTIPS" = "yes"; then
50017 if test "$wxUSE_MOTIF" = 1; then
50018 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50019 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50020 else
50021 if test "$wxUSE_UNIVERSAL" = "yes"; then
50022 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50023 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50024 else
50025 cat >>confdefs.h <<\_ACEOF
50026 #define wxUSE_TOOLTIPS 1
50027 _ACEOF
50028
50029 fi
50030 fi
50031 fi
50032
50033 if test "$wxUSE_TREEBOOK" = "yes"; then
50034 cat >>confdefs.h <<\_ACEOF
50035 #define wxUSE_TREEBOOK 1
50036 _ACEOF
50037
50038 USES_CONTROLS=1
50039 fi
50040
50041 if test "$wxUSE_TOOLBOOK" = "yes"; then
50042 cat >>confdefs.h <<\_ACEOF
50043 #define wxUSE_TOOLBOOK 1
50044 _ACEOF
50045
50046 USES_CONTROLS=1
50047 fi
50048
50049 if test "$wxUSE_TREECTRL" = "yes"; then
50050 if test "$wxUSE_IMAGLIST" = "yes"; then
50051 cat >>confdefs.h <<\_ACEOF
50052 #define wxUSE_TREECTRL 1
50053 _ACEOF
50054
50055 USES_CONTROLS=1
50056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
50057 else
50058 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50059 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50060 fi
50061 fi
50062
50063 if test "$wxUSE_POPUPWIN" = "yes"; then
50064 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
50065 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50066 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50067 else
50068 if test "$wxUSE_PM" = 1; then
50069 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50070 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50071 else
50072 cat >>confdefs.h <<\_ACEOF
50073 #define wxUSE_POPUPWIN 1
50074 _ACEOF
50075
50076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
50077
50078 USES_CONTROLS=1
50079 fi
50080 fi
50081 fi
50082
50083 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50084 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
50085 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50086 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50087 else
50088 cat >>confdefs.h <<\_ACEOF
50089 #define wxUSE_DIALUP_MANAGER 1
50090 _ACEOF
50091
50092 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
50093 fi
50094 fi
50095
50096 if test "$wxUSE_TIPWINDOW" = "yes"; then
50097 if test "$wxUSE_PM" = 1; then
50098 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50099 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50100 else
50101 cat >>confdefs.h <<\_ACEOF
50102 #define wxUSE_TIPWINDOW 1
50103 _ACEOF
50104
50105 fi
50106 fi
50107
50108 if test "$USES_CONTROLS" = 1; then
50109 cat >>confdefs.h <<\_ACEOF
50110 #define wxUSE_CONTROLS 1
50111 _ACEOF
50112
50113 fi
50114
50115
50116 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50117 cat >>confdefs.h <<\_ACEOF
50118 #define wxUSE_ACCESSIBILITY 1
50119 _ACEOF
50120
50121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
50122 fi
50123
50124 if test "$wxUSE_DC_CACHEING" = "yes"; then
50125 cat >>confdefs.h <<\_ACEOF
50126 #define wxUSE_DC_CACHEING 1
50127 _ACEOF
50128
50129 fi
50130
50131 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50132 cat >>confdefs.h <<\_ACEOF
50133 #define wxUSE_DRAGIMAGE 1
50134 _ACEOF
50135
50136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
50137 fi
50138
50139 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50140 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50141 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50142 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50143 else
50144 cat >>confdefs.h <<\_ACEOF
50145 #define wxUSE_EXCEPTIONS 1
50146 _ACEOF
50147
50148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
50149 fi
50150 fi
50151
50152 USE_HTML=0
50153 if test "$wxUSE_HTML" = "yes"; then
50154 cat >>confdefs.h <<\_ACEOF
50155 #define wxUSE_HTML 1
50156 _ACEOF
50157
50158 USE_HTML=1
50159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50160 if test "$wxUSE_MAC" = 1; then
50161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
50162 fi
50163 fi
50164 if test "$wxUSE_WEBKIT" = "yes"; then
50165 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50166 old_CPPFLAGS="$CPPFLAGS"
50167 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50168 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50169 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50170 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50171 echo $ECHO_N "(cached) $ECHO_C" >&6
50172 else
50173 cat >conftest.$ac_ext <<_ACEOF
50174 /* confdefs.h. */
50175 _ACEOF
50176 cat confdefs.h >>conftest.$ac_ext
50177 cat >>conftest.$ac_ext <<_ACEOF
50178 /* end confdefs.h. */
50179
50180 #include <Carbon/Carbon.h>
50181 #include <WebKit/WebKit.h>
50182
50183
50184 #include <WebKit/HIWebView.h>
50185 _ACEOF
50186 rm -f conftest.$ac_objext
50187 if { (ac_try="$ac_compile"
50188 case "(($ac_try" in
50189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50190 *) ac_try_echo=$ac_try;;
50191 esac
50192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50193 (eval "$ac_compile") 2>conftest.er1
50194 ac_status=$?
50195 grep -v '^ *+' conftest.er1 >conftest.err
50196 rm -f conftest.er1
50197 cat conftest.err >&5
50198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50199 (exit $ac_status); } &&
50200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50201 { (case "(($ac_try" in
50202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50203 *) ac_try_echo=$ac_try;;
50204 esac
50205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50206 (eval "$ac_try") 2>&5
50207 ac_status=$?
50208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50209 (exit $ac_status); }; } &&
50210 { ac_try='test -s conftest.$ac_objext'
50211 { (case "(($ac_try" in
50212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50213 *) ac_try_echo=$ac_try;;
50214 esac
50215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50216 (eval "$ac_try") 2>&5
50217 ac_status=$?
50218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50219 (exit $ac_status); }; }; then
50220 ac_cv_header_WebKit_HIWebView_h=yes
50221 else
50222 echo "$as_me: failed program was:" >&5
50223 sed 's/^/| /' conftest.$ac_ext >&5
50224
50225 ac_cv_header_WebKit_HIWebView_h=no
50226 fi
50227
50228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50229 fi
50230 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50231 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50232 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50233
50234 cat >>confdefs.h <<\_ACEOF
50235 #define wxUSE_WEBKIT 1
50236 _ACEOF
50237
50238 WEBKIT_LINK="-framework WebKit"
50239
50240 else
50241
50242 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50243 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50244 wxUSE_WEBKIT=no
50245
50246 fi
50247
50248
50249 CPPFLAGS="$old_CPPFLAGS"
50250 elif test "$wxUSE_COCOA" = 1; then
50251 cat >>confdefs.h <<\_ACEOF
50252 #define wxUSE_WEBKIT 1
50253 _ACEOF
50254
50255 else
50256 wxUSE_WEBKIT=no
50257 fi
50258 fi
50259
50260 USE_XRC=0
50261 if test "$wxUSE_XRC" = "yes"; then
50262 if test "$wxUSE_XML" != "yes"; then
50263 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50264 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50265 wxUSE_XRC=no
50266 else
50267 cat >>confdefs.h <<\_ACEOF
50268 #define wxUSE_XRC 1
50269 _ACEOF
50270
50271 USE_XRC=1
50272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
50273 fi
50274 fi
50275
50276 USE_AUI=0
50277 if test "$wxUSE_AUI" = "yes"; then
50278 cat >>confdefs.h <<\_ACEOF
50279 #define wxUSE_AUI 1
50280 _ACEOF
50281
50282 USE_AUI=1
50283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
50284 fi
50285
50286 USE_STC=0
50287 if test "$wxUSE_STC" = "yes"; then
50288 cat >>confdefs.h <<\_ACEOF
50289 #define wxUSE_STC 1
50290 _ACEOF
50291
50292 USE_STC=1
50293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
50294 fi
50295
50296 if test "$wxUSE_MENUS" = "yes"; then
50297 cat >>confdefs.h <<\_ACEOF
50298 #define wxUSE_MENUS 1
50299 _ACEOF
50300
50301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
50302 fi
50303
50304 if test "$wxUSE_METAFILE" = "yes"; then
50305 cat >>confdefs.h <<\_ACEOF
50306 #define wxUSE_METAFILE 1
50307 _ACEOF
50308
50309 fi
50310
50311 if test "$wxUSE_MIMETYPE" = "yes"; then
50312 cat >>confdefs.h <<\_ACEOF
50313 #define wxUSE_MIMETYPE 1
50314 _ACEOF
50315
50316 fi
50317
50318 if test "$wxUSE_MINIFRAME" = "yes"; then
50319 cat >>confdefs.h <<\_ACEOF
50320 #define wxUSE_MINIFRAME 1
50321 _ACEOF
50322
50323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
50324 fi
50325
50326 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50327 cat >>confdefs.h <<\_ACEOF
50328 #define wxUSE_SYSTEM_OPTIONS 1
50329 _ACEOF
50330
50331 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
50332 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
50333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50334 fi
50335 fi
50336
50337
50338 if test "$wxUSE_VALIDATORS" = "yes"; then
50339 cat >>confdefs.h <<\_ACEOF
50340 #define wxUSE_VALIDATORS 1
50341 _ACEOF
50342
50343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50344 fi
50345
50346 if test "$wxUSE_PALETTE" = "yes" ; then
50347 if test "$wxUSE_DFB" = 1; then
50348 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50349 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50350 wxUSE_PALETTE=no
50351 else
50352 cat >>confdefs.h <<\_ACEOF
50353 #define wxUSE_PALETTE 1
50354 _ACEOF
50355
50356 fi
50357 fi
50358
50359 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50360 LIBS=" -lunicows $LIBS"
50361 fi
50362
50363 USE_RICHTEXT=0
50364 if test "$wxUSE_RICHTEXT" = "yes"; then
50365 cat >>confdefs.h <<\_ACEOF
50366 #define wxUSE_RICHTEXT 1
50367 _ACEOF
50368
50369 USE_RICHTEXT=1
50370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50371 fi
50372
50373
50374 if test "$wxUSE_IMAGE" = "yes" ; then
50375 cat >>confdefs.h <<\_ACEOF
50376 #define wxUSE_IMAGE 1
50377 _ACEOF
50378
50379
50380 if test "$wxUSE_GIF" = "yes" ; then
50381 cat >>confdefs.h <<\_ACEOF
50382 #define wxUSE_GIF 1
50383 _ACEOF
50384
50385 fi
50386
50387 if test "$wxUSE_PCX" = "yes" ; then
50388 cat >>confdefs.h <<\_ACEOF
50389 #define wxUSE_PCX 1
50390 _ACEOF
50391
50392 fi
50393
50394 if test "$wxUSE_TGA" = "yes" ; then
50395 cat >>confdefs.h <<\_ACEOF
50396 #define wxUSE_TGA 1
50397 _ACEOF
50398
50399 fi
50400
50401 if test "$wxUSE_IFF" = "yes" ; then
50402 cat >>confdefs.h <<\_ACEOF
50403 #define wxUSE_IFF 1
50404 _ACEOF
50405
50406 fi
50407
50408 if test "$wxUSE_PNM" = "yes" ; then
50409 cat >>confdefs.h <<\_ACEOF
50410 #define wxUSE_PNM 1
50411 _ACEOF
50412
50413 fi
50414
50415 if test "$wxUSE_XPM" = "yes" ; then
50416 cat >>confdefs.h <<\_ACEOF
50417 #define wxUSE_XPM 1
50418 _ACEOF
50419
50420 fi
50421
50422 if test "$wxUSE_ICO_CUR" = "yes" ; then
50423 cat >>confdefs.h <<\_ACEOF
50424 #define wxUSE_ICO_CUR 1
50425 _ACEOF
50426
50427 fi
50428 fi
50429
50430
50431 if test "$wxUSE_ABOUTDLG" = "yes"; then
50432 cat >>confdefs.h <<\_ACEOF
50433 #define wxUSE_ABOUTDLG 1
50434 _ACEOF
50435
50436 fi
50437
50438 if test "$wxUSE_CHOICEDLG" = "yes"; then
50439 cat >>confdefs.h <<\_ACEOF
50440 #define wxUSE_CHOICEDLG 1
50441 _ACEOF
50442
50443 fi
50444
50445 if test "$wxUSE_COLOURDLG" = "yes"; then
50446 cat >>confdefs.h <<\_ACEOF
50447 #define wxUSE_COLOURDLG 1
50448 _ACEOF
50449
50450 fi
50451
50452 if test "$wxUSE_FILEDLG" = "yes"; then
50453 cat >>confdefs.h <<\_ACEOF
50454 #define wxUSE_FILEDLG 1
50455 _ACEOF
50456
50457 fi
50458
50459 if test "$wxUSE_FINDREPLDLG" = "yes"; then
50460 cat >>confdefs.h <<\_ACEOF
50461 #define wxUSE_FINDREPLDLG 1
50462 _ACEOF
50463
50464 fi
50465
50466 if test "$wxUSE_FONTDLG" = "yes"; then
50467 cat >>confdefs.h <<\_ACEOF
50468 #define wxUSE_FONTDLG 1
50469 _ACEOF
50470
50471 fi
50472
50473 if test "$wxUSE_DIRDLG" = "yes"; then
50474 if test "$wxUSE_TREECTRL" != "yes"; then
50475 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
50476 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
50477 else
50478 cat >>confdefs.h <<\_ACEOF
50479 #define wxUSE_DIRDLG 1
50480 _ACEOF
50481
50482 fi
50483 fi
50484
50485 if test "$wxUSE_MSGDLG" = "yes"; then
50486 cat >>confdefs.h <<\_ACEOF
50487 #define wxUSE_MSGDLG 1
50488 _ACEOF
50489
50490 fi
50491
50492 if test "$wxUSE_NUMBERDLG" = "yes"; then
50493 cat >>confdefs.h <<\_ACEOF
50494 #define wxUSE_NUMBERDLG 1
50495 _ACEOF
50496
50497 fi
50498
50499 if test "$wxUSE_PROGRESSDLG" = "yes"; then
50500 if test "$wxUSE_CONSTRAINTS" != "yes"; then
50501 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
50502 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
50503 else
50504 cat >>confdefs.h <<\_ACEOF
50505 #define wxUSE_PROGRESSDLG 1
50506 _ACEOF
50507
50508 fi
50509 fi
50510
50511 if test "$wxUSE_SPLASH" = "yes"; then
50512 cat >>confdefs.h <<\_ACEOF
50513 #define wxUSE_SPLASH 1
50514 _ACEOF
50515
50516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
50517 fi
50518
50519 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
50520 if test "$wxUSE_CONSTRAINTS" != "yes"; then
50521 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
50522 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
50523 else
50524 cat >>confdefs.h <<\_ACEOF
50525 #define wxUSE_STARTUP_TIPS 1
50526 _ACEOF
50527
50528 fi
50529 fi
50530
50531 if test "$wxUSE_TEXTDLG" = "yes"; then
50532 cat >>confdefs.h <<\_ACEOF
50533 #define wxUSE_TEXTDLG 1
50534 _ACEOF
50535
50536 fi
50537
50538 if test "$wxUSE_WIZARDDLG" = "yes"; then
50539 cat >>confdefs.h <<\_ACEOF
50540 #define wxUSE_WIZARDDLG 1
50541 _ACEOF
50542
50543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
50544 fi
50545
50546
50547 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
50548 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
50549 cat >>confdefs.h <<\_ACEOF
50550 #define wxUSE_GRAPHICS_CONTEXT 1
50551 _ACEOF
50552
50553 elif test "$wxUSE_GTK" != 1; then
50554 cat >>confdefs.h <<\_ACEOF
50555 #define wxUSE_GRAPHICS_CONTEXT 1
50556 _ACEOF
50557
50558 else
50559
50560 pkg_failed=no
50561 { echo "$as_me:$LINENO: checking for CAIRO" >&5
50562 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
50563
50564 if test -n "$PKG_CONFIG"; then
50565 if test -n "$CAIRO_CFLAGS"; then
50566 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
50567 else
50568 if test -n "$PKG_CONFIG" && \
50569 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
50570 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
50571 ac_status=$?
50572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50573 (exit $ac_status); }; then
50574 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
50575 else
50576 pkg_failed=yes
50577 fi
50578 fi
50579 else
50580 pkg_failed=untried
50581 fi
50582 if test -n "$PKG_CONFIG"; then
50583 if test -n "$CAIRO_LIBS"; then
50584 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
50585 else
50586 if test -n "$PKG_CONFIG" && \
50587 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
50588 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
50589 ac_status=$?
50590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50591 (exit $ac_status); }; then
50592 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
50593 else
50594 pkg_failed=yes
50595 fi
50596 fi
50597 else
50598 pkg_failed=untried
50599 fi
50600
50601
50602
50603 if test $pkg_failed = yes; then
50604
50605 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50606 _pkg_short_errors_supported=yes
50607 else
50608 _pkg_short_errors_supported=no
50609 fi
50610 if test $_pkg_short_errors_supported = yes; then
50611 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
50612 else
50613 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
50614 fi
50615 # Put the nasty error message in config.log where it belongs
50616 echo "$CAIRO_PKG_ERRORS" >&5
50617
50618 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
50619 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
50620
50621 elif test $pkg_failed = untried; then
50622 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
50623 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
50624
50625 else
50626 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
50627 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
50628 { echo "$as_me:$LINENO: result: yes" >&5
50629 echo "${ECHO_T}yes" >&6; }
50630 cat >>confdefs.h <<\_ACEOF
50631 #define wxUSE_GRAPHICS_CONTEXT 1
50632 _ACEOF
50633
50634 fi
50635 fi
50636 fi
50637
50638
50639 USE_MEDIA=0
50640
50641 if test "$wxUSE_MEDIACTRL" = "yes"; then
50642 USE_MEDIA=1
50643
50644 if test "$wxUSE_GTK" = 1; then
50645 wxUSE_GSTREAMER="no"
50646
50647 GST_VERSION_MAJOR=0
50648 GST_VERSION_MINOR=10
50649 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
50650
50651 if test "$wxUSE_GSTREAMER8" = "no"; then
50652
50653 pkg_failed=no
50654 { echo "$as_me:$LINENO: checking for GST" >&5
50655 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
50656
50657 if test -n "$PKG_CONFIG"; then
50658 if test -n "$GST_CFLAGS"; then
50659 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
50660 else
50661 if test -n "$PKG_CONFIG" && \
50662 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
50663 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
50664 ac_status=$?
50665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50666 (exit $ac_status); }; then
50667 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
50668 else
50669 pkg_failed=yes
50670 fi
50671 fi
50672 else
50673 pkg_failed=untried
50674 fi
50675 if test -n "$PKG_CONFIG"; then
50676 if test -n "$GST_LIBS"; then
50677 pkg_cv_GST_LIBS="$GST_LIBS"
50678 else
50679 if test -n "$PKG_CONFIG" && \
50680 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
50681 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
50682 ac_status=$?
50683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50684 (exit $ac_status); }; then
50685 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
50686 else
50687 pkg_failed=yes
50688 fi
50689 fi
50690 else
50691 pkg_failed=untried
50692 fi
50693
50694
50695
50696 if test $pkg_failed = yes; then
50697
50698 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50699 _pkg_short_errors_supported=yes
50700 else
50701 _pkg_short_errors_supported=no
50702 fi
50703 if test $_pkg_short_errors_supported = yes; then
50704 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
50705 else
50706 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
50707 fi
50708 # Put the nasty error message in config.log where it belongs
50709 echo "$GST_PKG_ERRORS" >&5
50710
50711
50712 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
50713 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
50714 GST_VERSION_MINOR=8
50715
50716
50717 elif test $pkg_failed = untried; then
50718
50719 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
50720 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
50721 GST_VERSION_MINOR=8
50722
50723
50724 else
50725 GST_CFLAGS=$pkg_cv_GST_CFLAGS
50726 GST_LIBS=$pkg_cv_GST_LIBS
50727 { echo "$as_me:$LINENO: result: yes" >&5
50728 echo "${ECHO_T}yes" >&6; }
50729
50730 wxUSE_GSTREAMER="yes"
50731 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
50732
50733 fi
50734 else
50735 GST_VERSION_MINOR=8
50736 fi
50737
50738 if test $GST_VERSION_MINOR = "8"; then
50739 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
50740
50741 pkg_failed=no
50742 { echo "$as_me:$LINENO: checking for GST" >&5
50743 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
50744
50745 if test -n "$PKG_CONFIG"; then
50746 if test -n "$GST_CFLAGS"; then
50747 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
50748 else
50749 if test -n "$PKG_CONFIG" && \
50750 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
50751 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
50752 ac_status=$?
50753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50754 (exit $ac_status); }; then
50755 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
50756 else
50757 pkg_failed=yes
50758 fi
50759 fi
50760 else
50761 pkg_failed=untried
50762 fi
50763 if test -n "$PKG_CONFIG"; then
50764 if test -n "$GST_LIBS"; then
50765 pkg_cv_GST_LIBS="$GST_LIBS"
50766 else
50767 if test -n "$PKG_CONFIG" && \
50768 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
50769 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
50770 ac_status=$?
50771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50772 (exit $ac_status); }; then
50773 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
50774 else
50775 pkg_failed=yes
50776 fi
50777 fi
50778 else
50779 pkg_failed=untried
50780 fi
50781
50782
50783
50784 if test $pkg_failed = yes; then
50785
50786 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50787 _pkg_short_errors_supported=yes
50788 else
50789 _pkg_short_errors_supported=no
50790 fi
50791 if test $_pkg_short_errors_supported = yes; then
50792 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
50793 else
50794 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
50795 fi
50796 # Put the nasty error message in config.log where it belongs
50797 echo "$GST_PKG_ERRORS" >&5
50798
50799
50800 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
50801 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
50802
50803 elif test $pkg_failed = untried; then
50804
50805 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
50806 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
50807
50808 else
50809 GST_CFLAGS=$pkg_cv_GST_CFLAGS
50810 GST_LIBS=$pkg_cv_GST_LIBS
50811 { echo "$as_me:$LINENO: result: yes" >&5
50812 echo "${ECHO_T}yes" >&6; }
50813 wxUSE_GSTREAMER="yes"
50814 fi
50815 fi
50816
50817
50818 if test "$wxUSE_GSTREAMER" = "yes"; then
50819 case "${host}" in
50820 *-*-solaris2* )
50821 if "$GCC" = yes; then
50822 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
50823 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
50824 fi
50825 esac
50826
50827 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
50828 LIBS="$GST_LIBS $LIBS"
50829
50830 cat >>confdefs.h <<\_ACEOF
50831 #define wxUSE_GSTREAMER 1
50832 _ACEOF
50833
50834 else
50835 USE_MEDIA=0
50836 fi
50837 fi
50838
50839 if test $USE_MEDIA = 1; then
50840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
50841 cat >>confdefs.h <<\_ACEOF
50842 #define wxUSE_MEDIACTRL 1
50843 _ACEOF
50844
50845 fi
50846 fi
50847
50848
50849 if test "$cross_compiling" = "yes"; then
50850 OSINFO="\"$host\""
50851 else
50852 OSINFO=`uname -s -r -m`
50853 OSINFO="\"$OSINFO\""
50854 fi
50855
50856 cat >>confdefs.h <<_ACEOF
50857 #define WXWIN_OS_DESCRIPTION $OSINFO
50858 _ACEOF
50859
50860
50861
50862 if test "x$prefix" != "xNONE"; then
50863 wxPREFIX=$prefix
50864 else
50865 wxPREFIX=$ac_default_prefix
50866 fi
50867
50868 cat >>confdefs.h <<_ACEOF
50869 #define wxINSTALL_PREFIX "$wxPREFIX"
50870 _ACEOF
50871
50872
50873
50874
50875 CORE_BASE_LIBS="net base"
50876 CORE_GUI_LIBS="adv core"
50877
50878 if test "$wxUSE_XML" = "yes" ; then
50879 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
50880 fi
50881 if test "$wxUSE_ODBC" != "no" ; then
50882 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
50883 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
50884 fi
50885 if test "$wxUSE_HTML" = "yes" ; then
50886 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
50887 fi
50888 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
50889 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
50890 fi
50891 if test "$wxUSE_XRC" = "yes" ; then
50892 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
50893 fi
50894 if test "$wxUSE_AUI" = "yes" ; then
50895 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
50896 fi
50897 if test "$wxUSE_STC" = "yes" ; then
50898 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
50899 fi
50900
50901 if test "$wxUSE_GUI" != "yes"; then
50902 CORE_GUI_LIBS=""
50903 fi
50904
50905
50906
50907
50908
50909
50910 if test "$wxUSE_MAC" = 1 ; then
50911 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
50912 if test "$USE_DARWIN" = 1; then
50913 LDFLAGS="$LDFLAGS -framework QuickTime"
50914 else
50915 LDFLAGS="$LDFLAGS -lQuickTimeLib"
50916 fi
50917 fi
50918 if test "$USE_DARWIN" = 1; then
50919 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
50920 else
50921 LDFLAGS="$LDFLAGS -lCarbonLib"
50922 fi
50923 fi
50924 if test "$wxUSE_COCOA" = 1 ; then
50925 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
50926 if test "$wxUSE_MEDIACTRL" = "yes"; then
50927 LDFLAGS="$LDFLAGS -framework QuickTime"
50928 fi
50929 fi
50930 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
50931 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
50932 fi
50933
50934 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
50935
50936 if test "$wxUSE_GUI" = "yes"; then
50937
50938
50939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
50940 dynamic erase event exec font image minimal mobile \
50941 mobile/wxedit mobile/styles propsize render \
50942 rotate shaped svg taborder vscroll widgets"
50943
50944 if test "$wxUSE_MONOLITHIC" != "yes"; then
50945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
50946 fi
50947 if test "$TOOLKIT" = "MSW"; then
50948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
50949 if test "$wxUSE_UNIVERSAL" != "yes"; then
50950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
50951 fi
50952 fi
50953 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
50954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
50955 fi
50956 else
50957 SAMPLES_SUBDIRS="console"
50958 fi
50959
50960
50961 if test "x$INTELCC" = "xyes" ; then
50962 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
50963 elif test "$GCC" = yes ; then
50964 CWARNINGS="-Wall -Wundef"
50965 fi
50966
50967 if test "x$INTELCXX" = "xyes" ; then
50968 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
50969 elif test "$GXX" = yes ; then
50970 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
50971 fi
50972
50973
50974 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
50975 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
50976
50977
50978 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
50979 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
50980 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
50981 $CPPFLAGS `
50982
50983 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
50984 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
50985 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
50986
50987 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
50988
50989
50990 if test "x$MWCC" = "xyes"; then
50991
50992 CC="$CC -cwd source -I-"
50993 CXX="$CXX -cwd source -I-"
50994 fi
50995
50996
50997 LIBS=`echo $LIBS`
50998 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
50999 EXTRALIBS_XML="$EXPAT_LINK"
51000 EXTRALIBS_HTML="$MSPACK_LINK"
51001 EXTRALIBS_ODBC="$ODBC_LINK"
51002 if test "$wxUSE_GUI" = "yes"; then
51003 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
51004 fi
51005 if test "$wxUSE_OPENGL" = "yes"; then
51006 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
51007 fi
51008
51009 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
51010
51011 WXCONFIG_LIBS="$LIBS"
51012
51013 if test "$wxUSE_REGEX" = "builtin" ; then
51014 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
51015 fi
51016 if test "$wxUSE_EXPAT" = "builtin" ; then
51017 wxconfig_3rdparty="expat $wxconfig_3rdparty"
51018 fi
51019 if test "$wxUSE_ODBC" = "builtin" ; then
51020 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
51021 fi
51022 if test "$wxUSE_LIBTIFF" = "builtin" ; then
51023 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
51024 fi
51025 if test "$wxUSE_LIBJPEG" = "builtin" ; then
51026 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
51027 fi
51028 if test "$wxUSE_LIBPNG" = "builtin" ; then
51029 wxconfig_3rdparty="png $wxconfig_3rdparty"
51030 fi
51031 if test "$wxUSE_ZLIB" = "builtin" ; then
51032 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
51033 fi
51034
51035 for i in $wxconfig_3rdparty ; do
51036 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
51037 done
51038
51039
51040 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
51041 WXUNIV=1
51042
51043 case "$wxUNIV_THEMES" in
51044 ''|all)
51045 cat >>confdefs.h <<\_ACEOF
51046 #define wxUSE_ALL_THEMES 1
51047 _ACEOF
51048
51049 ;;
51050
51051 *)
51052 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
51053 cat >>confdefs.h <<_ACEOF
51054 #define wxUSE_THEME_$t 1
51055 _ACEOF
51056
51057 done
51058 esac
51059 else
51060 WXUNIV=0
51061 fi
51062
51063
51064
51065
51066
51067
51068
51069
51070
51071 if test $wxUSE_MONOLITHIC = "yes" ; then
51072 MONOLITHIC=1
51073 else
51074 MONOLITHIC=0
51075 fi
51076
51077 if test $wxUSE_PLUGINS = "yes" ; then
51078 USE_PLUGINS=1
51079 else
51080 USE_PLUGINS=0
51081 fi
51082
51083 if test $wxUSE_ODBC != "no" ; then
51084 USE_ODBC=1
51085 else
51086 USE_ODBC=0
51087 fi
51088
51089 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51090 USE_QA=1
51091 else
51092 USE_QA=0
51093 fi
51094
51095 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
51096 OFFICIAL_BUILD=1
51097 else
51098 OFFICIAL_BUILD=0
51099 fi
51100
51101
51102
51103
51104
51105
51106
51107
51108
51109
51110
51111
51112
51113
51114
51115
51116
51117
51118
51119
51120
51121
51122
51123
51124
51125 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
51126
51127
51128
51129
51130
51131
51132
51133
51134 case "$TOOLKIT" in
51135 GTK)
51136 TOOLKIT_DESC="GTK+"
51137 if test "$WXGTK20" = 1; then
51138 TOOLKIT_DESC="$TOOLKIT_DESC 2"
51139 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
51140 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
51141 fi
51142 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
51143 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
51144 fi
51145 if test "$wxUSE_LIBHILDON" = "yes"; then
51146 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
51147 fi
51148
51149 if test "$TOOLKIT_EXTRA" != ""; then
51150 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
51151 fi
51152 fi
51153 ;;
51154
51155 ?*)
51156 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
51157 ;;
51158
51159 *)
51160 TOOLKIT_DESC="base only"
51161 ;;
51162 esac
51163
51164 if test "$wxUSE_WINE" = "yes"; then
51165 BAKEFILE_FORCE_PLATFORM=win32
51166 fi
51167
51168 if test "$wxUSE_MAC" = 1 ; then
51169 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
51170 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
51171 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
51172 else
51173 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
51174 fi
51175 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
51176 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
51177 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
51178 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
51179 bk_use_pch=no
51180 fi
51181 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
51182 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
51183 fi
51184
51185 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
51186 then
51187 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
51188 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
51189 if test "${wx_cv_gcc_pch_bug+set}" = set; then
51190 echo $ECHO_N "(cached) $ECHO_C" >&6
51191 else
51192
51193 echo '#include <stdio.h>
51194 const wchar_t test_var[] = L"awidetest";' > conftest.h
51195
51196 echo '#include "conftest.h"
51197 int main()
51198 {
51199 printf("%ls", test_var);
51200 return 0;
51201 }' > conftest.cpp
51202
51203 wx_cv_gcc_pch_bug="pch not supported"
51204
51205 if $CXX conftest.h >/dev/null 2>&1
51206 then
51207 wx_cv_gcc_pch_bug=
51208
51209 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
51210 then
51211 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
51212 grep awidetest >/dev/null
51213 then
51214 wx_cv_gcc_pch_bug=no
51215 else
51216 wx_cv_gcc_pch_bug=yes
51217 fi
51218 fi
51219 fi
51220
51221 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
51222
51223 fi
51224 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
51225 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
51226
51227 if test "$wx_cv_gcc_pch_bug" = yes; then
51228 bk_use_pch=no
51229 fi
51230 fi
51231
51232
51233
51234
51235 if test "x$BAKEFILE_HOST" = "x"; then
51236 if test "x${host}" = "x" ; then
51237 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
51238 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
51239 { (exit 1); exit 1; }; }
51240 fi
51241
51242 BAKEFILE_HOST="${host}"
51243 fi
51244
51245 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
51246
51247 if test -n "$ac_tool_prefix"; then
51248 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
51249 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
51250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51252 if test "${ac_cv_prog_RANLIB+set}" = set; then
51253 echo $ECHO_N "(cached) $ECHO_C" >&6
51254 else
51255 if test -n "$RANLIB"; then
51256 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
51257 else
51258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51259 for as_dir in $PATH
51260 do
51261 IFS=$as_save_IFS
51262 test -z "$as_dir" && as_dir=.
51263 for ac_exec_ext in '' $ac_executable_extensions; do
51264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51265 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
51266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51267 break 2
51268 fi
51269 done
51270 done
51271 IFS=$as_save_IFS
51272
51273 fi
51274 fi
51275 RANLIB=$ac_cv_prog_RANLIB
51276 if test -n "$RANLIB"; then
51277 { echo "$as_me:$LINENO: result: $RANLIB" >&5
51278 echo "${ECHO_T}$RANLIB" >&6; }
51279 else
51280 { echo "$as_me:$LINENO: result: no" >&5
51281 echo "${ECHO_T}no" >&6; }
51282 fi
51283
51284
51285 fi
51286 if test -z "$ac_cv_prog_RANLIB"; then
51287 ac_ct_RANLIB=$RANLIB
51288 # Extract the first word of "ranlib", so it can be a program name with args.
51289 set dummy ranlib; ac_word=$2
51290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51292 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
51293 echo $ECHO_N "(cached) $ECHO_C" >&6
51294 else
51295 if test -n "$ac_ct_RANLIB"; then
51296 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
51297 else
51298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51299 for as_dir in $PATH
51300 do
51301 IFS=$as_save_IFS
51302 test -z "$as_dir" && as_dir=.
51303 for ac_exec_ext in '' $ac_executable_extensions; do
51304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51305 ac_cv_prog_ac_ct_RANLIB="ranlib"
51306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51307 break 2
51308 fi
51309 done
51310 done
51311 IFS=$as_save_IFS
51312
51313 fi
51314 fi
51315 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
51316 if test -n "$ac_ct_RANLIB"; then
51317 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
51318 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
51319 else
51320 { echo "$as_me:$LINENO: result: no" >&5
51321 echo "${ECHO_T}no" >&6; }
51322 fi
51323
51324 if test "x$ac_ct_RANLIB" = x; then
51325 RANLIB=":"
51326 else
51327 case $cross_compiling:$ac_tool_warned in
51328 yes:)
51329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51330 whose name does not start with the host triplet. If you think this
51331 configuration is useful to you, please write to autoconf@gnu.org." >&5
51332 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51333 whose name does not start with the host triplet. If you think this
51334 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51335 ac_tool_warned=yes ;;
51336 esac
51337 RANLIB=$ac_ct_RANLIB
51338 fi
51339 else
51340 RANLIB="$ac_cv_prog_RANLIB"
51341 fi
51342
51343 # Find a good install program. We prefer a C program (faster),
51344 # so one script is as good as another. But avoid the broken or
51345 # incompatible versions:
51346 # SysV /etc/install, /usr/sbin/install
51347 # SunOS /usr/etc/install
51348 # IRIX /sbin/install
51349 # AIX /bin/install
51350 # AmigaOS /C/install, which installs bootblocks on floppy discs
51351 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
51352 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
51353 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
51354 # OS/2's system install, which has a completely different semantic
51355 # ./install, which can be erroneously created by make from ./install.sh.
51356 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
51357 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
51358 if test -z "$INSTALL"; then
51359 if test "${ac_cv_path_install+set}" = set; then
51360 echo $ECHO_N "(cached) $ECHO_C" >&6
51361 else
51362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51363 for as_dir in $PATH
51364 do
51365 IFS=$as_save_IFS
51366 test -z "$as_dir" && as_dir=.
51367 # Account for people who put trailing slashes in PATH elements.
51368 case $as_dir/ in
51369 ./ | .// | /cC/* | \
51370 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
51371 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
51372 /usr/ucb/* ) ;;
51373 *)
51374 # OSF1 and SCO ODT 3.0 have their own names for install.
51375 # Don't use installbsd from OSF since it installs stuff as root
51376 # by default.
51377 for ac_prog in ginstall scoinst install; do
51378 for ac_exec_ext in '' $ac_executable_extensions; do
51379 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
51380 if test $ac_prog = install &&
51381 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
51382 # AIX install. It has an incompatible calling convention.
51383 :
51384 elif test $ac_prog = install &&
51385 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
51386 # program-specific install script used by HP pwplus--don't use.
51387 :
51388 else
51389 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
51390 break 3
51391 fi
51392 fi
51393 done
51394 done
51395 ;;
51396 esac
51397 done
51398 IFS=$as_save_IFS
51399
51400
51401 fi
51402 if test "${ac_cv_path_install+set}" = set; then
51403 INSTALL=$ac_cv_path_install
51404 else
51405 # As a last resort, use the slow shell script. Don't cache a
51406 # value for INSTALL within a source directory, because that will
51407 # break other packages using the cache if that directory is
51408 # removed, or if the value is a relative name.
51409 INSTALL=$ac_install_sh
51410 fi
51411 fi
51412 { echo "$as_me:$LINENO: result: $INSTALL" >&5
51413 echo "${ECHO_T}$INSTALL" >&6; }
51414
51415 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
51416 # It thinks the first close brace ends the variable substitution.
51417 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
51418
51419 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
51420
51421 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
51422
51423 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
51424 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
51425 LN_S=$as_ln_s
51426 if test "$LN_S" = "ln -s"; then
51427 { echo "$as_me:$LINENO: result: yes" >&5
51428 echo "${ECHO_T}yes" >&6; }
51429 else
51430 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
51431 echo "${ECHO_T}no, using $LN_S" >&6; }
51432 fi
51433
51434
51435 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51436 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51437 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51438 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51439 echo $ECHO_N "(cached) $ECHO_C" >&6
51440 else
51441 cat >conftest.make <<\_ACEOF
51442 SHELL = /bin/sh
51443 all:
51444 @echo '@@@%%%=$(MAKE)=@@@%%%'
51445 _ACEOF
51446 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51447 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51448 *@@@%%%=?*=@@@%%%*)
51449 eval ac_cv_prog_make_${ac_make}_set=yes;;
51450 *)
51451 eval ac_cv_prog_make_${ac_make}_set=no;;
51452 esac
51453 rm -f conftest.make
51454 fi
51455 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51456 { echo "$as_me:$LINENO: result: yes" >&5
51457 echo "${ECHO_T}yes" >&6; }
51458 SET_MAKE=
51459 else
51460 { echo "$as_me:$LINENO: result: no" >&5
51461 echo "${ECHO_T}no" >&6; }
51462 SET_MAKE="MAKE=${MAKE-make}"
51463 fi
51464
51465
51466
51467 if test "x$SUNCXX" = "xyes"; then
51468 AR=$CXX
51469 AROPTIONS="-xar -o"
51470
51471 elif test "x$SGICC" = "xyes"; then
51472 AR=$CXX
51473 AROPTIONS="-ar -o"
51474
51475 else
51476 if test -n "$ac_tool_prefix"; then
51477 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
51478 set dummy ${ac_tool_prefix}ar; ac_word=$2
51479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51481 if test "${ac_cv_prog_AR+set}" = set; then
51482 echo $ECHO_N "(cached) $ECHO_C" >&6
51483 else
51484 if test -n "$AR"; then
51485 ac_cv_prog_AR="$AR" # Let the user override the test.
51486 else
51487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51488 for as_dir in $PATH
51489 do
51490 IFS=$as_save_IFS
51491 test -z "$as_dir" && as_dir=.
51492 for ac_exec_ext in '' $ac_executable_extensions; do
51493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51494 ac_cv_prog_AR="${ac_tool_prefix}ar"
51495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51496 break 2
51497 fi
51498 done
51499 done
51500 IFS=$as_save_IFS
51501
51502 fi
51503 fi
51504 AR=$ac_cv_prog_AR
51505 if test -n "$AR"; then
51506 { echo "$as_me:$LINENO: result: $AR" >&5
51507 echo "${ECHO_T}$AR" >&6; }
51508 else
51509 { echo "$as_me:$LINENO: result: no" >&5
51510 echo "${ECHO_T}no" >&6; }
51511 fi
51512
51513
51514 fi
51515 if test -z "$ac_cv_prog_AR"; then
51516 ac_ct_AR=$AR
51517 # Extract the first word of "ar", so it can be a program name with args.
51518 set dummy ar; ac_word=$2
51519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51521 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
51522 echo $ECHO_N "(cached) $ECHO_C" >&6
51523 else
51524 if test -n "$ac_ct_AR"; then
51525 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
51526 else
51527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51528 for as_dir in $PATH
51529 do
51530 IFS=$as_save_IFS
51531 test -z "$as_dir" && as_dir=.
51532 for ac_exec_ext in '' $ac_executable_extensions; do
51533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51534 ac_cv_prog_ac_ct_AR="ar"
51535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51536 break 2
51537 fi
51538 done
51539 done
51540 IFS=$as_save_IFS
51541
51542 fi
51543 fi
51544 ac_ct_AR=$ac_cv_prog_ac_ct_AR
51545 if test -n "$ac_ct_AR"; then
51546 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
51547 echo "${ECHO_T}$ac_ct_AR" >&6; }
51548 else
51549 { echo "$as_me:$LINENO: result: no" >&5
51550 echo "${ECHO_T}no" >&6; }
51551 fi
51552
51553 if test "x$ac_ct_AR" = x; then
51554 AR="ar"
51555 else
51556 case $cross_compiling:$ac_tool_warned in
51557 yes:)
51558 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51559 whose name does not start with the host triplet. If you think this
51560 configuration is useful to you, please write to autoconf@gnu.org." >&5
51561 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51562 whose name does not start with the host triplet. If you think this
51563 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51564 ac_tool_warned=yes ;;
51565 esac
51566 AR=$ac_ct_AR
51567 fi
51568 else
51569 AR="$ac_cv_prog_AR"
51570 fi
51571
51572 AROPTIONS=rcu
51573 fi
51574
51575
51576 if test -n "$ac_tool_prefix"; then
51577 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
51578 set dummy ${ac_tool_prefix}strip; ac_word=$2
51579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51581 if test "${ac_cv_prog_STRIP+set}" = set; then
51582 echo $ECHO_N "(cached) $ECHO_C" >&6
51583 else
51584 if test -n "$STRIP"; then
51585 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
51586 else
51587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51588 for as_dir in $PATH
51589 do
51590 IFS=$as_save_IFS
51591 test -z "$as_dir" && as_dir=.
51592 for ac_exec_ext in '' $ac_executable_extensions; do
51593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51594 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
51595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51596 break 2
51597 fi
51598 done
51599 done
51600 IFS=$as_save_IFS
51601
51602 fi
51603 fi
51604 STRIP=$ac_cv_prog_STRIP
51605 if test -n "$STRIP"; then
51606 { echo "$as_me:$LINENO: result: $STRIP" >&5
51607 echo "${ECHO_T}$STRIP" >&6; }
51608 else
51609 { echo "$as_me:$LINENO: result: no" >&5
51610 echo "${ECHO_T}no" >&6; }
51611 fi
51612
51613
51614 fi
51615 if test -z "$ac_cv_prog_STRIP"; then
51616 ac_ct_STRIP=$STRIP
51617 # Extract the first word of "strip", so it can be a program name with args.
51618 set dummy strip; ac_word=$2
51619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51621 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
51622 echo $ECHO_N "(cached) $ECHO_C" >&6
51623 else
51624 if test -n "$ac_ct_STRIP"; then
51625 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
51626 else
51627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51628 for as_dir in $PATH
51629 do
51630 IFS=$as_save_IFS
51631 test -z "$as_dir" && as_dir=.
51632 for ac_exec_ext in '' $ac_executable_extensions; do
51633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51634 ac_cv_prog_ac_ct_STRIP="strip"
51635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51636 break 2
51637 fi
51638 done
51639 done
51640 IFS=$as_save_IFS
51641
51642 fi
51643 fi
51644 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
51645 if test -n "$ac_ct_STRIP"; then
51646 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
51647 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
51648 else
51649 { echo "$as_me:$LINENO: result: no" >&5
51650 echo "${ECHO_T}no" >&6; }
51651 fi
51652
51653 if test "x$ac_ct_STRIP" = x; then
51654 STRIP=":"
51655 else
51656 case $cross_compiling:$ac_tool_warned in
51657 yes:)
51658 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51659 whose name does not start with the host triplet. If you think this
51660 configuration is useful to you, please write to autoconf@gnu.org." >&5
51661 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51662 whose name does not start with the host triplet. If you think this
51663 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51664 ac_tool_warned=yes ;;
51665 esac
51666 STRIP=$ac_ct_STRIP
51667 fi
51668 else
51669 STRIP="$ac_cv_prog_STRIP"
51670 fi
51671
51672 if test -n "$ac_tool_prefix"; then
51673 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
51674 set dummy ${ac_tool_prefix}nm; ac_word=$2
51675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51677 if test "${ac_cv_prog_NM+set}" = set; then
51678 echo $ECHO_N "(cached) $ECHO_C" >&6
51679 else
51680 if test -n "$NM"; then
51681 ac_cv_prog_NM="$NM" # Let the user override the test.
51682 else
51683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51684 for as_dir in $PATH
51685 do
51686 IFS=$as_save_IFS
51687 test -z "$as_dir" && as_dir=.
51688 for ac_exec_ext in '' $ac_executable_extensions; do
51689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51690 ac_cv_prog_NM="${ac_tool_prefix}nm"
51691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51692 break 2
51693 fi
51694 done
51695 done
51696 IFS=$as_save_IFS
51697
51698 fi
51699 fi
51700 NM=$ac_cv_prog_NM
51701 if test -n "$NM"; then
51702 { echo "$as_me:$LINENO: result: $NM" >&5
51703 echo "${ECHO_T}$NM" >&6; }
51704 else
51705 { echo "$as_me:$LINENO: result: no" >&5
51706 echo "${ECHO_T}no" >&6; }
51707 fi
51708
51709
51710 fi
51711 if test -z "$ac_cv_prog_NM"; then
51712 ac_ct_NM=$NM
51713 # Extract the first word of "nm", so it can be a program name with args.
51714 set dummy nm; ac_word=$2
51715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51717 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
51718 echo $ECHO_N "(cached) $ECHO_C" >&6
51719 else
51720 if test -n "$ac_ct_NM"; then
51721 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
51722 else
51723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51724 for as_dir in $PATH
51725 do
51726 IFS=$as_save_IFS
51727 test -z "$as_dir" && as_dir=.
51728 for ac_exec_ext in '' $ac_executable_extensions; do
51729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51730 ac_cv_prog_ac_ct_NM="nm"
51731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51732 break 2
51733 fi
51734 done
51735 done
51736 IFS=$as_save_IFS
51737
51738 fi
51739 fi
51740 ac_ct_NM=$ac_cv_prog_ac_ct_NM
51741 if test -n "$ac_ct_NM"; then
51742 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
51743 echo "${ECHO_T}$ac_ct_NM" >&6; }
51744 else
51745 { echo "$as_me:$LINENO: result: no" >&5
51746 echo "${ECHO_T}no" >&6; }
51747 fi
51748
51749 if test "x$ac_ct_NM" = x; then
51750 NM=":"
51751 else
51752 case $cross_compiling:$ac_tool_warned in
51753 yes:)
51754 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51755 whose name does not start with the host triplet. If you think this
51756 configuration is useful to you, please write to autoconf@gnu.org." >&5
51757 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51758 whose name does not start with the host triplet. If you think this
51759 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51760 ac_tool_warned=yes ;;
51761 esac
51762 NM=$ac_ct_NM
51763 fi
51764 else
51765 NM="$ac_cv_prog_NM"
51766 fi
51767
51768
51769 case ${BAKEFILE_HOST} in
51770 *-hp-hpux* )
51771 INSTALL_DIR="mkdir -p"
51772 ;;
51773 * )
51774 INSTALL_DIR='$(INSTALL) -d'
51775 ;;
51776 esac
51777
51778
51779 LDFLAGS_GUI=
51780 case ${BAKEFILE_HOST} in
51781 *-*-cygwin* | *-*-mingw32* )
51782 LDFLAGS_GUI="-mwindows"
51783 esac
51784
51785
51786 fi
51787
51788 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
51789 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
51790 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
51791 echo $ECHO_N "(cached) $ECHO_C" >&6
51792 else
51793
51794 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
51795 egrep -s GNU > /dev/null); then
51796 bakefile_cv_prog_makeisgnu="yes"
51797 else
51798 bakefile_cv_prog_makeisgnu="no"
51799 fi
51800
51801 fi
51802 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
51803 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
51804
51805 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
51806 IF_GNU_MAKE=""
51807 else
51808 IF_GNU_MAKE="#"
51809 fi
51810
51811
51812
51813 PLATFORM_UNIX=0
51814 PLATFORM_WIN32=0
51815 PLATFORM_MSDOS=0
51816 PLATFORM_MAC=0
51817 PLATFORM_MACOS=0
51818 PLATFORM_MACOSX=0
51819 PLATFORM_OS2=0
51820 PLATFORM_BEOS=0
51821
51822 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
51823 case "${BAKEFILE_HOST}" in
51824 *-*-mingw32* )
51825 PLATFORM_WIN32=1
51826 ;;
51827 *-pc-msdosdjgpp )
51828 PLATFORM_MSDOS=1
51829 ;;
51830 *-pc-os2_emx | *-pc-os2-emx )
51831 PLATFORM_OS2=1
51832 ;;
51833 *-*-darwin* )
51834 PLATFORM_MAC=1
51835 PLATFORM_MACOSX=1
51836 ;;
51837 *-*-beos* )
51838 PLATFORM_BEOS=1
51839 ;;
51840 powerpc-apple-macos* )
51841 PLATFORM_MAC=1
51842 PLATFORM_MACOS=1
51843 ;;
51844 * )
51845 PLATFORM_UNIX=1
51846 ;;
51847 esac
51848 else
51849 case "$BAKEFILE_FORCE_PLATFORM" in
51850 win32 )
51851 PLATFORM_WIN32=1
51852 ;;
51853 msdos )
51854 PLATFORM_MSDOS=1
51855 ;;
51856 os2 )
51857 PLATFORM_OS2=1
51858 ;;
51859 darwin )
51860 PLATFORM_MAC=1
51861 PLATFORM_MACOSX=1
51862 ;;
51863 unix )
51864 PLATFORM_UNIX=1
51865 ;;
51866 beos )
51867 PLATFORM_BEOS=1
51868 ;;
51869 * )
51870 ;;
51871 esac
51872 fi
51873
51874
51875
51876
51877
51878
51879
51880
51881
51882
51883
51884 # Check whether --enable-omf was given.
51885 if test "${enable_omf+set}" = set; then
51886 enableval=$enable_omf; bk_os2_use_omf="$enableval"
51887 fi
51888
51889
51890 case "${BAKEFILE_HOST}" in
51891 *-*-darwin* )
51892 if test "x$GCC" = "xyes"; then
51893 CFLAGS="$CFLAGS -fno-common"
51894 CXXFLAGS="$CXXFLAGS -fno-common"
51895 fi
51896 if test "x$XLCC" = "xyes"; then
51897 CFLAGS="$CFLAGS -qnocommon"
51898 CXXFLAGS="$CXXFLAGS -qnocommon"
51899 fi
51900 ;;
51901
51902 *-pc-os2_emx | *-pc-os2-emx )
51903 if test "x$bk_os2_use_omf" = "xyes" ; then
51904 AR=emxomfar
51905 RANLIB=:
51906 LDFLAGS="-Zomf $LDFLAGS"
51907 CFLAGS="-Zomf $CFLAGS"
51908 CXXFLAGS="-Zomf $CXXFLAGS"
51909 OS2_LIBEXT="lib"
51910 else
51911 OS2_LIBEXT="a"
51912 fi
51913 ;;
51914
51915 i*86-*-beos* )
51916 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
51917 ;;
51918 esac
51919
51920
51921 SO_SUFFIX="so"
51922 SO_SUFFIX_MODULE="so"
51923 EXEEXT=""
51924 LIBPREFIX="lib"
51925 LIBEXT=".a"
51926 DLLPREFIX="lib"
51927 DLLPREFIX_MODULE=""
51928 DLLIMP_SUFFIX=""
51929 dlldir="$libdir"
51930
51931 case "${BAKEFILE_HOST}" in
51932 *-hp-hpux* )
51933 SO_SUFFIX="sl"
51934 SO_SUFFIX_MODULE="sl"
51935 ;;
51936 *-*-aix* )
51937 SO_SUFFIX="a"
51938 SO_SUFFIX_MODULE="a"
51939 ;;
51940 *-*-cygwin* )
51941 SO_SUFFIX="dll"
51942 SO_SUFFIX_MODULE="dll"
51943 DLLIMP_SUFFIX="dll.a"
51944 EXEEXT=".exe"
51945 DLLPREFIX="cyg"
51946 dlldir="$bindir"
51947 ;;
51948 *-*-mingw32* )
51949 SO_SUFFIX="dll"
51950 SO_SUFFIX_MODULE="dll"
51951 DLLIMP_SUFFIX="dll.a"
51952 EXEEXT=".exe"
51953 DLLPREFIX=""
51954 dlldir="$bindir"
51955 ;;
51956 *-pc-msdosdjgpp )
51957 EXEEXT=".exe"
51958 DLLPREFIX=""
51959 dlldir="$bindir"
51960 ;;
51961 *-pc-os2_emx | *-pc-os2-emx )
51962 SO_SUFFIX="dll"
51963 SO_SUFFIX_MODULE="dll"
51964 DLLIMP_SUFFIX=$OS2_LIBEXT
51965 EXEEXT=".exe"
51966 DLLPREFIX=""
51967 LIBPREFIX=""
51968 LIBEXT=".$OS2_LIBEXT"
51969 dlldir="$bindir"
51970 ;;
51971 *-*-darwin* )
51972 SO_SUFFIX="dylib"
51973 SO_SUFFIX_MODULE="bundle"
51974 ;;
51975 esac
51976
51977 if test "x$DLLIMP_SUFFIX" = "x" ; then
51978 DLLIMP_SUFFIX="$SO_SUFFIX"
51979 fi
51980
51981
51982
51983
51984
51985
51986
51987
51988
51989
51990
51991
51992 PIC_FLAG=""
51993 if test "x$GCC" = "xyes"; then
51994 PIC_FLAG="-fPIC"
51995 fi
51996
51997 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
51998 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
51999 WINDOWS_IMPLIB=0
52000
52001 case "${BAKEFILE_HOST}" in
52002 *-hp-hpux* )
52003 if test "x$GCC" != "xyes"; then
52004 LDFLAGS="$LDFLAGS -L/usr/lib"
52005
52006 SHARED_LD_CC="${CC} -b -o"
52007 SHARED_LD_CXX="${CXX} -b -o"
52008 PIC_FLAG="+Z"
52009 fi
52010 ;;
52011
52012 *-*-linux* )
52013 if test "x$GCC" != "xyes"; then
52014 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
52015 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
52016 if test "${bakefile_cv_prog_icc+set}" = set; then
52017 echo $ECHO_N "(cached) $ECHO_C" >&6
52018 else
52019
52020 cat >conftest.$ac_ext <<_ACEOF
52021 /* confdefs.h. */
52022 _ACEOF
52023 cat confdefs.h >>conftest.$ac_ext
52024 cat >>conftest.$ac_ext <<_ACEOF
52025 /* end confdefs.h. */
52026
52027 int
52028 main ()
52029 {
52030
52031 #ifndef __INTEL_COMPILER
52032 This is not ICC
52033 #endif
52034
52035 ;
52036 return 0;
52037 }
52038 _ACEOF
52039 rm -f conftest.$ac_objext
52040 if { (ac_try="$ac_compile"
52041 case "(($ac_try" in
52042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52043 *) ac_try_echo=$ac_try;;
52044 esac
52045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52046 (eval "$ac_compile") 2>conftest.er1
52047 ac_status=$?
52048 grep -v '^ *+' conftest.er1 >conftest.err
52049 rm -f conftest.er1
52050 cat conftest.err >&5
52051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52052 (exit $ac_status); } &&
52053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52054 { (case "(($ac_try" in
52055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52056 *) ac_try_echo=$ac_try;;
52057 esac
52058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52059 (eval "$ac_try") 2>&5
52060 ac_status=$?
52061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52062 (exit $ac_status); }; } &&
52063 { ac_try='test -s conftest.$ac_objext'
52064 { (case "(($ac_try" in
52065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52066 *) ac_try_echo=$ac_try;;
52067 esac
52068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52069 (eval "$ac_try") 2>&5
52070 ac_status=$?
52071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52072 (exit $ac_status); }; }; then
52073 bakefile_cv_prog_icc=yes
52074 else
52075 echo "$as_me: failed program was:" >&5
52076 sed 's/^/| /' conftest.$ac_ext >&5
52077
52078 bakefile_cv_prog_icc=no
52079
52080 fi
52081
52082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52083
52084 fi
52085 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
52086 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
52087 if test "$bakefile_cv_prog_icc" = "yes"; then
52088 PIC_FLAG="-KPIC"
52089 fi
52090 fi
52091 ;;
52092
52093 *-*-solaris2* )
52094 if test "x$GCC" != xyes ; then
52095 SHARED_LD_CC="${CC} -G -o"
52096 SHARED_LD_CXX="${CXX} -G -o"
52097 PIC_FLAG="-KPIC"
52098 fi
52099 ;;
52100
52101 *-*-darwin* )
52102
52103 D='$'
52104 cat <<EOF >shared-ld-sh
52105 #!/bin/sh
52106 #-----------------------------------------------------------------------------
52107 #-- Name: distrib/mac/shared-ld-sh
52108 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
52109 #-- Author: Gilles Depeyrot
52110 #-- Copyright: (c) 2002 Gilles Depeyrot
52111 #-- Licence: any use permitted
52112 #-----------------------------------------------------------------------------
52113
52114 verbose=0
52115 args=""
52116 objects=""
52117 linking_flag="-dynamiclib"
52118 ldargs="-r -keep_private_externs -nostdlib"
52119
52120 while test ${D}# -gt 0; do
52121 case ${D}1 in
52122
52123 -v)
52124 verbose=1
52125 ;;
52126
52127 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
52128 # collect these options and values
52129 args="${D}{args} ${D}1 ${D}2"
52130 shift
52131 ;;
52132
52133 -s|-Wl,*)
52134 # collect these load args
52135 ldargs="${D}{ldargs} ${D}1"
52136 ;;
52137
52138 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
52139 # collect these options
52140 args="${D}{args} ${D}1"
52141 ;;
52142
52143 -dynamiclib|-bundle)
52144 linking_flag="${D}1"
52145 ;;
52146
52147 -*)
52148 echo "shared-ld: unhandled option '${D}1'"
52149 exit 1
52150 ;;
52151
52152 *.o | *.a | *.dylib)
52153 # collect object files
52154 objects="${D}{objects} ${D}1"
52155 ;;
52156
52157 *)
52158 echo "shared-ld: unhandled argument '${D}1'"
52159 exit 1
52160 ;;
52161
52162 esac
52163 shift
52164 done
52165
52166 status=0
52167
52168 #
52169 # Link one module containing all the others
52170 #
52171 if test ${D}{verbose} = 1; then
52172 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
52173 fi
52174 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
52175 status=${D}?
52176
52177 #
52178 # Link the shared library from the single module created, but only if the
52179 # previous command didn't fail:
52180 #
52181 if test ${D}{status} = 0; then
52182 if test ${D}{verbose} = 1; then
52183 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
52184 fi
52185 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
52186 status=${D}?
52187 fi
52188
52189 #
52190 # Remove intermediate module
52191 #
52192 rm -f master.${D}${D}.o
52193
52194 exit ${D}status
52195 EOF
52196
52197 chmod +x shared-ld-sh
52198
52199 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
52200 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
52201
52202
52203 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
52204 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
52205 if test "${bakefile_cv_gcc31+set}" = set; then
52206 echo $ECHO_N "(cached) $ECHO_C" >&6
52207 else
52208
52209 cat >conftest.$ac_ext <<_ACEOF
52210 /* confdefs.h. */
52211 _ACEOF
52212 cat confdefs.h >>conftest.$ac_ext
52213 cat >>conftest.$ac_ext <<_ACEOF
52214 /* end confdefs.h. */
52215
52216 int
52217 main ()
52218 {
52219
52220 #if (__GNUC__ < 3) || \
52221 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
52222 This is old gcc
52223 #endif
52224
52225 ;
52226 return 0;
52227 }
52228 _ACEOF
52229 rm -f conftest.$ac_objext
52230 if { (ac_try="$ac_compile"
52231 case "(($ac_try" in
52232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52233 *) ac_try_echo=$ac_try;;
52234 esac
52235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52236 (eval "$ac_compile") 2>conftest.er1
52237 ac_status=$?
52238 grep -v '^ *+' conftest.er1 >conftest.err
52239 rm -f conftest.er1
52240 cat conftest.err >&5
52241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52242 (exit $ac_status); } &&
52243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52244 { (case "(($ac_try" in
52245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52246 *) ac_try_echo=$ac_try;;
52247 esac
52248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52249 (eval "$ac_try") 2>&5
52250 ac_status=$?
52251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52252 (exit $ac_status); }; } &&
52253 { ac_try='test -s conftest.$ac_objext'
52254 { (case "(($ac_try" in
52255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52256 *) ac_try_echo=$ac_try;;
52257 esac
52258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52259 (eval "$ac_try") 2>&5
52260 ac_status=$?
52261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52262 (exit $ac_status); }; }; then
52263
52264 bakefile_cv_gcc31=yes
52265
52266 else
52267 echo "$as_me: failed program was:" >&5
52268 sed 's/^/| /' conftest.$ac_ext >&5
52269
52270
52271 bakefile_cv_gcc31=no
52272
52273
52274 fi
52275
52276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52277
52278 fi
52279 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
52280 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
52281 if test "$bakefile_cv_gcc31" = "no"; then
52282 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
52283 SHARED_LD_CXX="$SHARED_LD_CC"
52284 else
52285 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
52286 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
52287 fi
52288
52289 if test "x$GCC" == "xyes"; then
52290 PIC_FLAG="-dynamic -fPIC"
52291 fi
52292 if test "x$XLCC" = "xyes"; then
52293 PIC_FLAG="-dynamic -DPIC"
52294 fi
52295 ;;
52296
52297 *-*-aix* )
52298 if test "x$GCC" = "xyes"; then
52299 PIC_FLAG=""
52300
52301 case "${BAKEFILE_HOST}" in
52302 *-*-aix5* )
52303 LD_EXPFULL="-Wl,-bexpfull"
52304 ;;
52305 esac
52306
52307 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
52308 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
52309 else
52310 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
52311 set dummy makeC++SharedLib; ac_word=$2
52312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52314 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
52315 echo $ECHO_N "(cached) $ECHO_C" >&6
52316 else
52317 if test -n "$AIX_CXX_LD"; then
52318 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
52319 else
52320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52321 for as_dir in $PATH
52322 do
52323 IFS=$as_save_IFS
52324 test -z "$as_dir" && as_dir=.
52325 for ac_exec_ext in '' $ac_executable_extensions; do
52326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
52327 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
52328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52329 break 2
52330 fi
52331 done
52332 done
52333 IFS=$as_save_IFS
52334
52335 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
52336 fi
52337 fi
52338 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
52339 if test -n "$AIX_CXX_LD"; then
52340 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
52341 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
52342 else
52343 { echo "$as_me:$LINENO: result: no" >&5
52344 echo "${ECHO_T}no" >&6; }
52345 fi
52346
52347
52348 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
52349 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
52350 fi
52351 ;;
52352
52353 *-*-beos* )
52354 SHARED_LD_CC="${LD} -nostart -o"
52355 SHARED_LD_CXX="${LD} -nostart -o"
52356 ;;
52357
52358 *-*-irix* )
52359 if test "x$GCC" != "xyes"; then
52360 PIC_FLAG="-KPIC"
52361 fi
52362 ;;
52363
52364 *-*-cygwin* | *-*-mingw32* )
52365 PIC_FLAG=""
52366 SHARED_LD_CC="\$(CC) -shared -o"
52367 SHARED_LD_CXX="\$(CXX) -shared -o"
52368 WINDOWS_IMPLIB=1
52369 ;;
52370
52371 *-pc-os2_emx | *-pc-os2-emx )
52372 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52373 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52374 PIC_FLAG=""
52375
52376 D='$'
52377 cat <<EOF >dllar.sh
52378 #!/bin/sh
52379 #
52380 # dllar - a tool to build both a .dll and an .a file
52381 # from a set of object (.o) files for EMX/OS2.
52382 #
52383 # Written by Andrew Zabolotny, bit@freya.etu.ru
52384 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
52385 #
52386 # This script will accept a set of files on the command line.
52387 # All the public symbols from the .o files will be exported into
52388 # a .DEF file, then linker will be run (through gcc) against them to
52389 # build a shared library consisting of all given .o files. All libraries
52390 # (.a) will be first decompressed into component .o files then act as
52391 # described above. You can optionally give a description (-d "description")
52392 # which will be put into .DLL. To see the list of accepted options (as well
52393 # as command-line format) simply run this program without options. The .DLL
52394 # is built to be imported by name (there is no guarantee that new versions
52395 # of the library you build will have same ordinals for same symbols).
52396 #
52397 # dllar is free software; you can redistribute it and/or modify
52398 # it under the terms of the GNU General Public License as published by
52399 # the Free Software Foundation; either version 2, or (at your option)
52400 # any later version.
52401 #
52402 # dllar is distributed in the hope that it will be useful,
52403 # but WITHOUT ANY WARRANTY; without even the implied warranty of
52404 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
52405 # GNU General Public License for more details.
52406 #
52407 # You should have received a copy of the GNU General Public License
52408 # along with dllar; see the file COPYING. If not, write to the Free
52409 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
52410 # 02111-1307, USA.
52411
52412 # To successfuly run this program you will need:
52413 # - Current drive should have LFN support (HPFS, ext2, network, etc)
52414 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
52415 # - gcc
52416 # (used to build the .dll)
52417 # - emxexp
52418 # (used to create .def file from .o files)
52419 # - emximp
52420 # (used to create .a file from .def file)
52421 # - GNU text utilites (cat, sort, uniq)
52422 # used to process emxexp output
52423 # - GNU file utilities (mv, rm)
52424 # - GNU sed
52425 # - lxlite (optional, see flag below)
52426 # (used for general .dll cleanup)
52427 #
52428
52429 flag_USE_LXLITE=1;
52430
52431 #
52432 # helper functions
52433 # basnam, variant of basename, which does _not_ remove the path, _iff_
52434 # second argument (suffix to remove) is given
52435 basnam(){
52436 case ${D}# in
52437 1)
52438 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
52439 ;;
52440 2)
52441 echo ${D}1 | sed 's/'${D}2'${D}//'
52442 ;;
52443 *)
52444 echo "error in basnam ${D}*"
52445 exit 8
52446 ;;
52447 esac
52448 }
52449
52450 # Cleanup temporary files and output
52451 CleanUp() {
52452 cd ${D}curDir
52453 for i in ${D}inputFiles ; do
52454 case ${D}i in
52455 *!)
52456 rm -rf \`basnam ${D}i !\`
52457 ;;
52458 *)
52459 ;;
52460 esac
52461 done
52462
52463 # Kill result in case of failure as there is just to many stupid make/nmake
52464 # things out there which doesn't do this.
52465 if [ ${D}# -eq 0 ]; then
52466 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
52467 fi
52468 }
52469
52470 # Print usage and exit script with rc=1.
52471 PrintHelp() {
52472 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
52473 echo ' [-name-mangler-script script.sh]'
52474 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
52475 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
52476 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
52477 echo ' [*.o] [*.a]'
52478 echo '*> "output_file" should have no extension.'
52479 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
52480 echo ' The import library name is derived from this and is set to "name".a,'
52481 echo ' unless overridden by -import'
52482 echo '*> "importlib_name" should have no extension.'
52483 echo ' If it has the .o, or .a extension, it is automatically removed.'
52484 echo ' This name is used as the import library name and may be longer and'
52485 echo ' more descriptive than the DLL name which has to follow the old '
52486 echo ' 8.3 convention of FAT.'
52487 echo '*> "script.sh may be given to override the output_file name by a'
52488 echo ' different name. It is mainly useful if the regular make process'
52489 echo ' of some package does not take into account OS/2 restriction of'
52490 echo ' DLL name lengths. It takes the importlib name as input and is'
52491 echo ' supposed to procude a shorter name as output. The script should'
52492 echo ' expect to get importlib_name without extension and should produce'
52493 echo ' a (max.) 8 letter name without extension.'
52494 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
52495 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
52496 echo ' These flags will be put at the start of GCC command line.'
52497 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
52498 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
52499 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
52500 echo ' If the last character of a symbol is "*", all symbols beginning'
52501 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
52502 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
52503 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
52504 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
52505 echo ' C runtime DLLs.'
52506 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
52507 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
52508 echo ' unchanged to GCC at the end of command line.'
52509 echo '*> If you create a DLL from a library and you do not specify -o,'
52510 echo ' the basename for DLL and import library will be set to library name,'
52511 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
52512 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
52513 echo ' library will be renamed into gcc_s.a.'
52514 echo '--------'
52515 echo 'Example:'
52516 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
52517 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
52518 CleanUp
52519 exit 1
52520 }
52521
52522 # Execute a command.
52523 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
52524 # @Uses Whatever CleanUp() uses.
52525 doCommand() {
52526 echo "${D}*"
52527 eval ${D}*
52528 rcCmd=${D}?
52529
52530 if [ ${D}rcCmd -ne 0 ]; then
52531 echo "command failed, exit code="${D}rcCmd
52532 CleanUp
52533 exit ${D}rcCmd
52534 fi
52535 }
52536
52537 # main routine
52538 # setup globals
52539 cmdLine=${D}*
52540 outFile=""
52541 outimpFile=""
52542 inputFiles=""
52543 renameScript=""
52544 description=""
52545 CC=gcc.exe
52546 CFLAGS="-s -Zcrtdll"
52547 EXTRA_CFLAGS=""
52548 EXPORT_BY_ORDINALS=0
52549 exclude_symbols=""
52550 library_flags=""
52551 curDir=\`pwd\`
52552 curDirS=curDir
52553 case ${D}curDirS in
52554 */)
52555 ;;
52556 *)
52557 curDirS=${D}{curDirS}"/"
52558 ;;
52559 esac
52560 # Parse commandline
52561 libsToLink=0
52562 omfLinking=0
52563 while [ ${D}1 ]; do
52564 case ${D}1 in
52565 -ord*)
52566 EXPORT_BY_ORDINALS=1;
52567 ;;
52568 -o*)
52569 shift
52570 outFile=${D}1
52571 ;;
52572 -i*)
52573 shift
52574 outimpFile=${D}1
52575 ;;
52576 -name-mangler-script)
52577 shift
52578 renameScript=${D}1
52579 ;;
52580 -d*)
52581 shift
52582 description=${D}1
52583 ;;
52584 -f*)
52585 shift
52586 CFLAGS=${D}1
52587 ;;
52588 -c*)
52589 shift
52590 CC=${D}1
52591 ;;
52592 -h*)
52593 PrintHelp
52594 ;;
52595 -ex*)
52596 shift
52597 exclude_symbols=${D}{exclude_symbols}${D}1" "
52598 ;;
52599 -libf*)
52600 shift
52601 library_flags=${D}{library_flags}${D}1" "
52602 ;;
52603 -nocrt*)
52604 CFLAGS="-s"
52605 ;;
52606 -nolxl*)
52607 flag_USE_LXLITE=0
52608 ;;
52609 -* | /*)
52610 case ${D}1 in
52611 -L* | -l*)
52612 libsToLink=1
52613 ;;
52614 -Zomf)
52615 omfLinking=1
52616 ;;
52617 *)
52618 ;;
52619 esac
52620 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
52621 ;;
52622 *.dll)
52623 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
52624 if [ ${D}omfLinking -eq 1 ]; then
52625 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
52626 else
52627 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
52628 fi
52629 ;;
52630 *)
52631 found=0;
52632 if [ ${D}libsToLink -ne 0 ]; then
52633 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
52634 else
52635 for file in ${D}1 ; do
52636 if [ -f ${D}file ]; then
52637 inputFiles="${D}{inputFiles} ${D}file"
52638 found=1
52639 fi
52640 done
52641 if [ ${D}found -eq 0 ]; then
52642 echo "ERROR: No file(s) found: "${D}1
52643 exit 8
52644 fi
52645 fi
52646 ;;
52647 esac
52648 shift
52649 done # iterate cmdline words
52650
52651 #
52652 if [ -z "${D}inputFiles" ]; then
52653 echo "dllar: no input files"
52654 PrintHelp
52655 fi
52656
52657 # Now extract all .o files from .a files
52658 newInputFiles=""
52659 for file in ${D}inputFiles ; do
52660 case ${D}file in
52661 *.a | *.lib)
52662 case ${D}file in
52663 *.a)
52664 suffix=".a"
52665 AR="ar"
52666 ;;
52667 *.lib)
52668 suffix=".lib"
52669 AR="emxomfar"
52670 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
52671 ;;
52672 *)
52673 ;;
52674 esac
52675 dirname=\`basnam ${D}file ${D}suffix\`"_%"
52676 mkdir ${D}dirname
52677 if [ ${D}? -ne 0 ]; then
52678 echo "Failed to create subdirectory ./${D}dirname"
52679 CleanUp
52680 exit 8;
52681 fi
52682 # Append '!' to indicate archive
52683 newInputFiles="${D}newInputFiles ${D}{dirname}!"
52684 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
52685 cd ${D}curDir
52686 found=0;
52687 for subfile in ${D}dirname/*.o* ; do
52688 if [ -f ${D}subfile ]; then
52689 found=1
52690 if [ -s ${D}subfile ]; then
52691 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
52692 newInputFiles="${D}newInputFiles ${D}subfile"
52693 fi
52694 fi
52695 done
52696 if [ ${D}found -eq 0 ]; then
52697 echo "WARNING: there are no files in archive \\'${D}file\\'"
52698 fi
52699 ;;
52700 *)
52701 newInputFiles="${D}{newInputFiles} ${D}file"
52702 ;;
52703 esac
52704 done
52705 inputFiles="${D}newInputFiles"
52706
52707 # Output filename(s).
52708 do_backup=0;
52709 if [ -z ${D}outFile ]; then
52710 do_backup=1;
52711 set outFile ${D}inputFiles; outFile=${D}2
52712 fi
52713
52714 # If it is an archive, remove the '!' and the '_%' suffixes
52715 case ${D}outFile in
52716 *_%!)
52717 outFile=\`basnam ${D}outFile _%!\`
52718 ;;
52719 *)
52720 ;;
52721 esac
52722 case ${D}outFile in
52723 *.dll)
52724 outFile=\`basnam ${D}outFile .dll\`
52725 ;;
52726 *.DLL)
52727 outFile=\`basnam ${D}outFile .DLL\`
52728 ;;
52729 *.o)
52730 outFile=\`basnam ${D}outFile .o\`
52731 ;;
52732 *.obj)
52733 outFile=\`basnam ${D}outFile .obj\`
52734 ;;
52735 *.a)
52736 outFile=\`basnam ${D}outFile .a\`
52737 ;;
52738 *.lib)
52739 outFile=\`basnam ${D}outFile .lib\`
52740 ;;
52741 *)
52742 ;;
52743 esac
52744 case ${D}outimpFile in
52745 *.a)
52746 outimpFile=\`basnam ${D}outimpFile .a\`
52747 ;;
52748 *.lib)
52749 outimpFile=\`basnam ${D}outimpFile .lib\`
52750 ;;
52751 *)
52752 ;;
52753 esac
52754 if [ -z ${D}outimpFile ]; then
52755 outimpFile=${D}outFile
52756 fi
52757 defFile="${D}{outFile}.def"
52758 arcFile="${D}{outimpFile}.a"
52759 arcFile2="${D}{outimpFile}.lib"
52760
52761 #create ${D}dllFile as something matching 8.3 restrictions,
52762 if [ -z ${D}renameScript ] ; then
52763 dllFile="${D}outFile"
52764 else
52765 dllFile=\`${D}renameScript ${D}outimpFile\`
52766 fi
52767
52768 if [ ${D}do_backup -ne 0 ] ; then
52769 if [ -f ${D}arcFile ] ; then
52770 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
52771 fi
52772 if [ -f ${D}arcFile2 ] ; then
52773 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
52774 fi
52775 fi
52776
52777 # Extract public symbols from all the object files.
52778 tmpdefFile=${D}{defFile}_%
52779 rm -f ${D}tmpdefFile
52780 for file in ${D}inputFiles ; do
52781 case ${D}file in
52782 *!)
52783 ;;
52784 *)
52785 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
52786 ;;
52787 esac
52788 done
52789
52790 # Create the def file.
52791 rm -f ${D}defFile
52792 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
52793 dllFile="${D}{dllFile}.dll"
52794 if [ ! -z ${D}description ]; then
52795 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
52796 fi
52797 echo "EXPORTS" >> ${D}defFile
52798
52799 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
52800 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
52801
52802 # Checks if the export is ok or not.
52803 for word in ${D}exclude_symbols; do
52804 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
52805 mv ${D}{tmpdefFile}% ${D}tmpdefFile
52806 done
52807
52808
52809 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
52810 sed "=" < ${D}tmpdefFile | \\
52811 sed '
52812 N
52813 : loop
52814 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
52815 t loop
52816 ' > ${D}{tmpdefFile}%
52817 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
52818 else
52819 rm -f ${D}{tmpdefFile}%
52820 fi
52821 cat ${D}tmpdefFile >> ${D}defFile
52822 rm -f ${D}tmpdefFile
52823
52824 # Do linking, create implib, and apply lxlite.
52825 gccCmdl="";
52826 for file in ${D}inputFiles ; do
52827 case ${D}file in
52828 *!)
52829 ;;
52830 *)
52831 gccCmdl="${D}gccCmdl ${D}file"
52832 ;;
52833 esac
52834 done
52835 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
52836 touch "${D}{outFile}.dll"
52837
52838 doCommand "emximp -o ${D}arcFile ${D}defFile"
52839 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
52840 add_flags="";
52841 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
52842 add_flags="-ynd"
52843 fi
52844 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
52845 fi
52846 doCommand "emxomf -s -l ${D}arcFile"
52847
52848 # Successful exit.
52849 CleanUp 1
52850 exit 0
52851 EOF
52852
52853 chmod +x dllar.sh
52854 ;;
52855
52856 powerpc-apple-macos* | \
52857 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
52858 *-*-mirbsd* | \
52859 *-*-sunos4* | \
52860 *-*-osf* | \
52861 *-*-dgux5* | \
52862 *-*-sysv5* | \
52863 *-pc-msdosdjgpp )
52864 ;;
52865
52866 *)
52867 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
52868 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
52869 { (exit 1); exit 1; }; }
52870 esac
52871
52872 if test "x$PIC_FLAG" != "x" ; then
52873 PIC_FLAG="$PIC_FLAG -DPIC"
52874 fi
52875
52876 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
52877 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
52878 fi
52879 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
52880 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
52881 fi
52882
52883
52884
52885
52886
52887
52888
52889
52890
52891 USE_SOVERSION=0
52892 USE_SOVERLINUX=0
52893 USE_SOVERSOLARIS=0
52894 USE_SOVERCYGWIN=0
52895 USE_SOSYMLINKS=0
52896 USE_MACVERSION=0
52897 SONAME_FLAG=
52898
52899 case "${BAKEFILE_HOST}" in
52900 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
52901 SONAME_FLAG="-Wl,-soname,"
52902 USE_SOVERSION=1
52903 USE_SOVERLINUX=1
52904 USE_SOSYMLINKS=1
52905 ;;
52906
52907 *-*-solaris2* )
52908 SONAME_FLAG="-h "
52909 USE_SOVERSION=1
52910 USE_SOVERSOLARIS=1
52911 USE_SOSYMLINKS=1
52912 ;;
52913
52914 *-*-darwin* )
52915 USE_MACVERSION=1
52916 USE_SOVERSION=1
52917 USE_SOSYMLINKS=1
52918 ;;
52919
52920 *-*-cygwin* )
52921 USE_SOVERSION=1
52922 USE_SOVERCYGWIN=1
52923 ;;
52924 esac
52925
52926
52927
52928
52929
52930
52931
52932
52933
52934
52935 # Check whether --enable-dependency-tracking was given.
52936 if test "${enable_dependency_tracking+set}" = set; then
52937 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
52938 fi
52939
52940
52941 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
52942 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
52943
52944 BK_DEPS=""
52945 if test "x$bk_use_trackdeps" = "xno" ; then
52946 DEPS_TRACKING=0
52947 { echo "$as_me:$LINENO: result: disabled" >&5
52948 echo "${ECHO_T}disabled" >&6; }
52949 else
52950 DEPS_TRACKING=1
52951
52952 if test "x$GCC" = "xyes"; then
52953 DEPSMODE=gcc
52954 case "${BAKEFILE_HOST}" in
52955 *-*-darwin* )
52956 DEPSFLAG="-no-cpp-precomp -MMD"
52957 ;;
52958 * )
52959 DEPSFLAG="-MMD"
52960 ;;
52961 esac
52962 { echo "$as_me:$LINENO: result: gcc" >&5
52963 echo "${ECHO_T}gcc" >&6; }
52964 elif test "x$MWCC" = "xyes"; then
52965 DEPSMODE=mwcc
52966 DEPSFLAG="-MM"
52967 { echo "$as_me:$LINENO: result: mwcc" >&5
52968 echo "${ECHO_T}mwcc" >&6; }
52969 elif test "x$SUNCC" = "xyes"; then
52970 DEPSMODE=unixcc
52971 DEPSFLAG="-xM1"
52972 { echo "$as_me:$LINENO: result: Sun cc" >&5
52973 echo "${ECHO_T}Sun cc" >&6; }
52974 elif test "x$SGICC" = "xyes"; then
52975 DEPSMODE=unixcc
52976 DEPSFLAG="-M"
52977 { echo "$as_me:$LINENO: result: SGI cc" >&5
52978 echo "${ECHO_T}SGI cc" >&6; }
52979 elif test "x$HPCC" = "xyes"; then
52980 DEPSMODE=unixcc
52981 DEPSFLAG="+make"
52982 { echo "$as_me:$LINENO: result: HP cc" >&5
52983 echo "${ECHO_T}HP cc" >&6; }
52984 elif test "x$COMPAQCC" = "xyes"; then
52985 DEPSMODE=gcc
52986 DEPSFLAG="-MD"
52987 { echo "$as_me:$LINENO: result: Compaq cc" >&5
52988 echo "${ECHO_T}Compaq cc" >&6; }
52989 else
52990 DEPS_TRACKING=0
52991 { echo "$as_me:$LINENO: result: none" >&5
52992 echo "${ECHO_T}none" >&6; }
52993 fi
52994
52995 if test $DEPS_TRACKING = 1 ; then
52996
52997 D='$'
52998 cat <<EOF >bk-deps
52999 #!/bin/sh
53000
53001 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
53002 # script. It is used to track C/C++ files dependencies in portable way.
53003 #
53004 # Permission is given to use this file in any way.
53005
53006 DEPSMODE=${DEPSMODE}
53007 DEPSDIR=.deps
53008 DEPSFLAG="${DEPSFLAG}"
53009
53010 mkdir -p ${D}DEPSDIR
53011
53012 if test ${D}DEPSMODE = gcc ; then
53013 ${D}* ${D}{DEPSFLAG}
53014 status=${D}?
53015 if test ${D}{status} != 0 ; then
53016 exit ${D}{status}
53017 fi
53018 # move created file to the location we want it in:
53019 while test ${D}# -gt 0; do
53020 case "${D}1" in
53021 -o )
53022 shift
53023 objfile=${D}1
53024 ;;
53025 -* )
53026 ;;
53027 * )
53028 srcfile=${D}1
53029 ;;
53030 esac
53031 shift
53032 done
53033 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
53034 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
53035 if test -f ${D}depfile ; then
53036 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
53037 rm -f ${D}depfile
53038 else
53039 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
53040 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
53041 if test ! -f ${D}depfile ; then
53042 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
53043 depfile="${D}objfile.d"
53044 fi
53045 if test -f ${D}depfile ; then
53046 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
53047 rm -f ${D}depfile
53048 fi
53049 fi
53050 exit 0
53051 elif test ${D}DEPSMODE = mwcc ; then
53052 ${D}* || exit ${D}?
53053 # Run mwcc again with -MM and redirect into the dep file we want
53054 # NOTE: We can't use shift here because we need ${D}* to be valid
53055 prevarg=
53056 for arg in ${D}* ; do
53057 if test "${D}prevarg" = "-o"; then
53058 objfile=${D}arg
53059 else
53060 case "${D}arg" in
53061 -* )
53062 ;;
53063 * )
53064 srcfile=${D}arg
53065 ;;
53066 esac
53067 fi
53068 prevarg="${D}arg"
53069 done
53070 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
53071 exit 0
53072 elif test ${D}DEPSMODE = unixcc; then
53073 ${D}* || exit ${D}?
53074 # Run compiler again with deps flag and redirect into the dep file.
53075 # It doesn't work if the '-o FILE' option is used, but without it the
53076 # dependency file will contain the wrong name for the object. So it is
53077 # removed from the command line, and the dep file is fixed with sed.
53078 cmd=""
53079 while test ${D}# -gt 0; do
53080 case "${D}1" in
53081 -o )
53082 shift
53083 objfile=${D}1
53084 ;;
53085 * )
53086 eval arg${D}#=\\${D}1
53087 cmd="${D}cmd \\${D}arg${D}#"
53088 ;;
53089 esac
53090 shift
53091 done
53092 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
53093 exit 0
53094 else
53095 ${D}*
53096 exit ${D}?
53097 fi
53098 EOF
53099
53100 chmod +x bk-deps
53101 BK_DEPS="`pwd`/bk-deps"
53102 fi
53103 fi
53104
53105
53106
53107
53108
53109 case ${BAKEFILE_HOST} in
53110 *-*-cygwin* | *-*-mingw32* )
53111 if test -n "$ac_tool_prefix"; then
53112 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
53113 set dummy ${ac_tool_prefix}windres; ac_word=$2
53114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53116 if test "${ac_cv_prog_WINDRES+set}" = set; then
53117 echo $ECHO_N "(cached) $ECHO_C" >&6
53118 else
53119 if test -n "$WINDRES"; then
53120 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
53121 else
53122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53123 for as_dir in $PATH
53124 do
53125 IFS=$as_save_IFS
53126 test -z "$as_dir" && as_dir=.
53127 for ac_exec_ext in '' $ac_executable_extensions; do
53128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
53129 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
53130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53131 break 2
53132 fi
53133 done
53134 done
53135 IFS=$as_save_IFS
53136
53137 fi
53138 fi
53139 WINDRES=$ac_cv_prog_WINDRES
53140 if test -n "$WINDRES"; then
53141 { echo "$as_me:$LINENO: result: $WINDRES" >&5
53142 echo "${ECHO_T}$WINDRES" >&6; }
53143 else
53144 { echo "$as_me:$LINENO: result: no" >&5
53145 echo "${ECHO_T}no" >&6; }
53146 fi
53147
53148
53149 fi
53150 if test -z "$ac_cv_prog_WINDRES"; then
53151 ac_ct_WINDRES=$WINDRES
53152 # Extract the first word of "windres", so it can be a program name with args.
53153 set dummy windres; ac_word=$2
53154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53156 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
53157 echo $ECHO_N "(cached) $ECHO_C" >&6
53158 else
53159 if test -n "$ac_ct_WINDRES"; then
53160 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
53161 else
53162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53163 for as_dir in $PATH
53164 do
53165 IFS=$as_save_IFS
53166 test -z "$as_dir" && as_dir=.
53167 for ac_exec_ext in '' $ac_executable_extensions; do
53168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
53169 ac_cv_prog_ac_ct_WINDRES="windres"
53170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53171 break 2
53172 fi
53173 done
53174 done
53175 IFS=$as_save_IFS
53176
53177 fi
53178 fi
53179 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
53180 if test -n "$ac_ct_WINDRES"; then
53181 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
53182 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
53183 else
53184 { echo "$as_me:$LINENO: result: no" >&5
53185 echo "${ECHO_T}no" >&6; }
53186 fi
53187
53188 if test "x$ac_ct_WINDRES" = x; then
53189 WINDRES=""
53190 else
53191 case $cross_compiling:$ac_tool_warned in
53192 yes:)
53193 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
53194 whose name does not start with the host triplet. If you think this
53195 configuration is useful to you, please write to autoconf@gnu.org." >&5
53196 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
53197 whose name does not start with the host triplet. If you think this
53198 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
53199 ac_tool_warned=yes ;;
53200 esac
53201 WINDRES=$ac_ct_WINDRES
53202 fi
53203 else
53204 WINDRES="$ac_cv_prog_WINDRES"
53205 fi
53206
53207 ;;
53208
53209 *-*-darwin* | powerpc-apple-macos* )
53210 # Extract the first word of "Rez", so it can be a program name with args.
53211 set dummy Rez; ac_word=$2
53212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53214 if test "${ac_cv_prog_REZ+set}" = set; then
53215 echo $ECHO_N "(cached) $ECHO_C" >&6
53216 else
53217 if test -n "$REZ"; then
53218 ac_cv_prog_REZ="$REZ" # Let the user override the test.
53219 else
53220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53221 for as_dir in $PATH
53222 do
53223 IFS=$as_save_IFS
53224 test -z "$as_dir" && as_dir=.
53225 for ac_exec_ext in '' $ac_executable_extensions; do
53226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
53227 ac_cv_prog_REZ="Rez"
53228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53229 break 2
53230 fi
53231 done
53232 done
53233 IFS=$as_save_IFS
53234
53235 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
53236 fi
53237 fi
53238 REZ=$ac_cv_prog_REZ
53239 if test -n "$REZ"; then
53240 { echo "$as_me:$LINENO: result: $REZ" >&5
53241 echo "${ECHO_T}$REZ" >&6; }
53242 else
53243 { echo "$as_me:$LINENO: result: no" >&5
53244 echo "${ECHO_T}no" >&6; }
53245 fi
53246
53247
53248 # Extract the first word of "SetFile", so it can be a program name with args.
53249 set dummy SetFile; ac_word=$2
53250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53252 if test "${ac_cv_prog_SETFILE+set}" = set; then
53253 echo $ECHO_N "(cached) $ECHO_C" >&6
53254 else
53255 if test -n "$SETFILE"; then
53256 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
53257 else
53258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53259 for as_dir in $PATH
53260 do
53261 IFS=$as_save_IFS
53262 test -z "$as_dir" && as_dir=.
53263 for ac_exec_ext in '' $ac_executable_extensions; do
53264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
53265 ac_cv_prog_SETFILE="SetFile"
53266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53267 break 2
53268 fi
53269 done
53270 done
53271 IFS=$as_save_IFS
53272
53273 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
53274 fi
53275 fi
53276 SETFILE=$ac_cv_prog_SETFILE
53277 if test -n "$SETFILE"; then
53278 { echo "$as_me:$LINENO: result: $SETFILE" >&5
53279 echo "${ECHO_T}$SETFILE" >&6; }
53280 else
53281 { echo "$as_me:$LINENO: result: no" >&5
53282 echo "${ECHO_T}no" >&6; }
53283 fi
53284
53285
53286 ;;
53287 esac
53288
53289
53290
53291
53292
53293
53294 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
53295
53296
53297 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
53298
53299
53300
53301 # Check whether --enable-precomp-headers was given.
53302 if test "${enable_precomp_headers+set}" = set; then
53303 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
53304 fi
53305
53306
53307 GCC_PCH=0
53308 ICC_PCH=0
53309 USE_PCH=0
53310 BK_MAKE_PCH=""
53311
53312 case ${BAKEFILE_HOST} in
53313 *-*-cygwin* )
53314 bk_use_pch="no"
53315 ;;
53316 esac
53317
53318 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
53319 if test "x$GCC" = "xyes"; then
53320 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
53321 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
53322 cat >conftest.$ac_ext <<_ACEOF
53323 /* confdefs.h. */
53324 _ACEOF
53325 cat confdefs.h >>conftest.$ac_ext
53326 cat >>conftest.$ac_ext <<_ACEOF
53327 /* end confdefs.h. */
53328
53329 int
53330 main ()
53331 {
53332
53333 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
53334 There is no PCH support
53335 #endif
53336 #if (__GNUC__ < 3)
53337 There is no PCH support
53338 #endif
53339 #if (__GNUC__ == 3) && \
53340 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
53341 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
53342 ( defined(__INTEL_COMPILER) )
53343 There is no PCH support
53344 #endif
53345
53346 ;
53347 return 0;
53348 }
53349 _ACEOF
53350 rm -f conftest.$ac_objext
53351 if { (ac_try="$ac_compile"
53352 case "(($ac_try" in
53353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53354 *) ac_try_echo=$ac_try;;
53355 esac
53356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53357 (eval "$ac_compile") 2>conftest.er1
53358 ac_status=$?
53359 grep -v '^ *+' conftest.er1 >conftest.err
53360 rm -f conftest.er1
53361 cat conftest.err >&5
53362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53363 (exit $ac_status); } &&
53364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53365 { (case "(($ac_try" in
53366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53367 *) ac_try_echo=$ac_try;;
53368 esac
53369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53370 (eval "$ac_try") 2>&5
53371 ac_status=$?
53372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53373 (exit $ac_status); }; } &&
53374 { ac_try='test -s conftest.$ac_objext'
53375 { (case "(($ac_try" in
53376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53377 *) ac_try_echo=$ac_try;;
53378 esac
53379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53380 (eval "$ac_try") 2>&5
53381 ac_status=$?
53382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53383 (exit $ac_status); }; }; then
53384
53385 { echo "$as_me:$LINENO: result: yes" >&5
53386 echo "${ECHO_T}yes" >&6; }
53387 GCC_PCH=1
53388
53389 else
53390 echo "$as_me: failed program was:" >&5
53391 sed 's/^/| /' conftest.$ac_ext >&5
53392
53393
53394 cat >conftest.$ac_ext <<_ACEOF
53395 /* confdefs.h. */
53396 _ACEOF
53397 cat confdefs.h >>conftest.$ac_ext
53398 cat >>conftest.$ac_ext <<_ACEOF
53399 /* end confdefs.h. */
53400
53401 int
53402 main ()
53403 {
53404
53405 #if !defined(__INTEL_COMPILER) || \
53406 (__INTEL_COMPILER < 800)
53407 There is no PCH support
53408 #endif
53409
53410 ;
53411 return 0;
53412 }
53413 _ACEOF
53414 rm -f conftest.$ac_objext
53415 if { (ac_try="$ac_compile"
53416 case "(($ac_try" in
53417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53418 *) ac_try_echo=$ac_try;;
53419 esac
53420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53421 (eval "$ac_compile") 2>conftest.er1
53422 ac_status=$?
53423 grep -v '^ *+' conftest.er1 >conftest.err
53424 rm -f conftest.er1
53425 cat conftest.err >&5
53426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53427 (exit $ac_status); } &&
53428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53429 { (case "(($ac_try" in
53430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53431 *) ac_try_echo=$ac_try;;
53432 esac
53433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53434 (eval "$ac_try") 2>&5
53435 ac_status=$?
53436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53437 (exit $ac_status); }; } &&
53438 { ac_try='test -s conftest.$ac_objext'
53439 { (case "(($ac_try" in
53440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53441 *) ac_try_echo=$ac_try;;
53442 esac
53443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53444 (eval "$ac_try") 2>&5
53445 ac_status=$?
53446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53447 (exit $ac_status); }; }; then
53448
53449 { echo "$as_me:$LINENO: result: yes" >&5
53450 echo "${ECHO_T}yes" >&6; }
53451 ICC_PCH=1
53452
53453 else
53454 echo "$as_me: failed program was:" >&5
53455 sed 's/^/| /' conftest.$ac_ext >&5
53456
53457
53458 { echo "$as_me:$LINENO: result: no" >&5
53459 echo "${ECHO_T}no" >&6; }
53460
53461 fi
53462
53463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53464
53465 fi
53466
53467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53468 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
53469 USE_PCH=1
53470
53471 D='$'
53472 cat <<EOF >bk-make-pch
53473 #!/bin/sh
53474
53475 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
53476 # script. It is used to generated precompiled headers.
53477 #
53478 # Permission is given to use this file in any way.
53479
53480 outfile="${D}{1}"
53481 header="${D}{2}"
53482 shift
53483 shift
53484
53485 compiler=""
53486 headerfile=""
53487
53488 while test ${D}{#} -gt 0; do
53489 add_to_cmdline=1
53490 case "${D}{1}" in
53491 -I* )
53492 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
53493 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
53494 headerfile="${D}{incdir}/${D}{header}"
53495 fi
53496 ;;
53497 -use-pch|-use_pch )
53498 shift
53499 add_to_cmdline=0
53500 ;;
53501 esac
53502 if test ${D}add_to_cmdline = 1 ; then
53503 compiler="${D}{compiler} ${D}{1}"
53504 fi
53505 shift
53506 done
53507
53508 if test "x${D}{headerfile}" = "x" ; then
53509 echo "error: can't find header ${D}{header} in include paths" >&2
53510 else
53511 if test -f ${D}{outfile} ; then
53512 rm -f ${D}{outfile}
53513 else
53514 mkdir -p \`dirname ${D}{outfile}\`
53515 fi
53516 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
53517 mkdir -p .deps
53518 if test "x${GCC_PCH}" = "x1" ; then
53519 # can do this because gcc is >= 3.4:
53520 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
53521 elif test "x${ICC_PCH}" = "x1" ; then
53522 filename=pch_gen-${D}${D}
53523 file=${D}{filename}.c
53524 dfile=${D}{filename}.d
53525 cat > ${D}file <<EOT
53526 #include "${D}header"
53527 EOT
53528 # using -MF icc complains about differing command lines in creation/use
53529 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
53530 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
53531 rm -f ${D}file ${D}dfile ${D}{filename}.o
53532 fi
53533 exit ${D}{?}
53534 fi
53535 EOF
53536
53537 chmod +x bk-make-pch
53538 BK_MAKE_PCH="`pwd`/bk-make-pch"
53539 fi
53540 fi
53541 fi
53542
53543
53544
53545
53546
53547 COND_BUILD_DEBUG="#"
53548 if test "x$BUILD" = "xdebug" ; then
53549 COND_BUILD_DEBUG=""
53550 fi
53551
53552 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
53553 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
53554 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
53555 fi
53556
53557 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
53558 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
53559 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
53560 fi
53561
53562 COND_BUILD_DEBUG_UNICODE_0="#"
53563 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
53564 COND_BUILD_DEBUG_UNICODE_0=""
53565 fi
53566
53567 COND_BUILD_DEBUG_UNICODE_1="#"
53568 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
53569 COND_BUILD_DEBUG_UNICODE_1=""
53570 fi
53571
53572 COND_BUILD_RELEASE="#"
53573 if test "x$BUILD" = "xrelease" ; then
53574 COND_BUILD_RELEASE=""
53575 fi
53576
53577 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
53578 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
53579 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
53580 fi
53581
53582 COND_BUILD_RELEASE_UNICODE_0="#"
53583 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
53584 COND_BUILD_RELEASE_UNICODE_0=""
53585 fi
53586
53587 COND_BUILD_RELEASE_UNICODE_1="#"
53588 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
53589 COND_BUILD_RELEASE_UNICODE_1=""
53590 fi
53591
53592 COND_DEBUG_FLAG_1="#"
53593 if test "x$DEBUG_FLAG" = "x1" ; then
53594 COND_DEBUG_FLAG_1=""
53595 fi
53596
53597 COND_DEBUG_INFO_0="#"
53598 if test "x$DEBUG_INFO" = "x0" ; then
53599 COND_DEBUG_INFO_0=""
53600 fi
53601
53602 COND_DEBUG_INFO_1="#"
53603 if test "x$DEBUG_INFO" = "x1" ; then
53604 COND_DEBUG_INFO_1=""
53605 fi
53606
53607 COND_DEPS_TRACKING_0="#"
53608 if test "x$DEPS_TRACKING" = "x0" ; then
53609 COND_DEPS_TRACKING_0=""
53610 fi
53611
53612 COND_DEPS_TRACKING_1="#"
53613 if test "x$DEPS_TRACKING" = "x1" ; then
53614 COND_DEPS_TRACKING_1=""
53615 fi
53616
53617 COND_GCC_PCH_1="#"
53618 if test "x$GCC_PCH" = "x1" ; then
53619 COND_GCC_PCH_1=""
53620 fi
53621
53622 COND_ICC_PCH_1="#"
53623 if test "x$ICC_PCH" = "x1" ; then
53624 COND_ICC_PCH_1=""
53625 fi
53626
53627 COND_MONOLITHIC_0="#"
53628 if test "x$MONOLITHIC" = "x0" ; then
53629 COND_MONOLITHIC_0=""
53630 fi
53631
53632 COND_MONOLITHIC_0_SHARED_0="#"
53633 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
53634 COND_MONOLITHIC_0_SHARED_0=""
53635 fi
53636
53637 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
53638 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
53639 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
53640 fi
53641
53642 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
53643 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
53644 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
53645 fi
53646
53647 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
53648 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
53649 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
53650 fi
53651
53652 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
53653 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
53654 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
53655 fi
53656
53657 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
53658 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
53659 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
53660 fi
53661
53662 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
53663 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
53664 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
53665 fi
53666
53667 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
53668 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
53669 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
53670 fi
53671
53672 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
53673 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
53674 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
53675 fi
53676
53677 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
53678 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
53679 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
53680 fi
53681
53682 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
53683 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
53684 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
53685 fi
53686
53687 COND_MONOLITHIC_0_SHARED_1="#"
53688 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
53689 COND_MONOLITHIC_0_SHARED_1=""
53690 fi
53691
53692 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
53693 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
53694 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
53695 fi
53696
53697 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
53698 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
53699 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
53700 fi
53701
53702 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
53703 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
53704 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
53705 fi
53706
53707 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
53708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
53709 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
53710 fi
53711
53712 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
53713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
53714 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
53715 fi
53716
53717 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
53718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
53719 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
53720 fi
53721
53722 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
53723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
53724 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
53725 fi
53726
53727 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
53728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
53729 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
53730 fi
53731
53732 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
53733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
53734 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
53735 fi
53736
53737 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
53738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
53739 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
53740 fi
53741
53742 COND_MONOLITHIC_0_USE_AUI_1="#"
53743 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
53744 COND_MONOLITHIC_0_USE_AUI_1=""
53745 fi
53746
53747 COND_MONOLITHIC_0_USE_GUI_1="#"
53748 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
53749 COND_MONOLITHIC_0_USE_GUI_1=""
53750 fi
53751
53752 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
53753 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
53754 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
53755 fi
53756
53757 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
53758 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
53759 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
53760 fi
53761
53762 COND_MONOLITHIC_0_USE_HTML_1="#"
53763 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
53764 COND_MONOLITHIC_0_USE_HTML_1=""
53765 fi
53766
53767 COND_MONOLITHIC_0_USE_MEDIA_1="#"
53768 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
53769 COND_MONOLITHIC_0_USE_MEDIA_1=""
53770 fi
53771
53772 COND_MONOLITHIC_0_USE_ODBC_1="#"
53773 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
53774 COND_MONOLITHIC_0_USE_ODBC_1=""
53775 fi
53776
53777 COND_MONOLITHIC_0_USE_QA_1="#"
53778 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
53779 COND_MONOLITHIC_0_USE_QA_1=""
53780 fi
53781
53782 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
53783 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
53784 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
53785 fi
53786
53787 COND_MONOLITHIC_0_USE_STC_1="#"
53788 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
53789 COND_MONOLITHIC_0_USE_STC_1=""
53790 fi
53791
53792 COND_MONOLITHIC_0_USE_XRC_1="#"
53793 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
53794 COND_MONOLITHIC_0_USE_XRC_1=""
53795 fi
53796
53797 COND_MONOLITHIC_1="#"
53798 if test "x$MONOLITHIC" = "x1" ; then
53799 COND_MONOLITHIC_1=""
53800 fi
53801
53802 COND_MONOLITHIC_1_SHARED_0="#"
53803 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
53804 COND_MONOLITHIC_1_SHARED_0=""
53805 fi
53806
53807 COND_MONOLITHIC_1_SHARED_1="#"
53808 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
53809 COND_MONOLITHIC_1_SHARED_1=""
53810 fi
53811
53812 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
53813 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
53814 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
53815 fi
53816
53817 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
53818 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
53819 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
53820 fi
53821
53822 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
53823 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
53824 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
53825 fi
53826
53827 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
53828 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
53829 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
53830 fi
53831
53832 COND_PLATFORM_MACOSX_1="#"
53833 if test "x$PLATFORM_MACOSX" = "x1" ; then
53834 COND_PLATFORM_MACOSX_1=""
53835 fi
53836
53837 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
53838 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
53839 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
53840 fi
53841
53842 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
53843 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
53844 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
53845 fi
53846
53847 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
53848 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
53849 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
53850 fi
53851
53852 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
53853 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
53854 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
53855 fi
53856
53857 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
53858 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
53859 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
53860 fi
53861
53862 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
53863 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
53864 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
53865 fi
53866
53867 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
53868 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
53869 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
53870 fi
53871
53872 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
53873 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
53874 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
53875 fi
53876
53877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
53878 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
53879 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
53880 fi
53881
53882 COND_PLATFORM_MACOS_1="#"
53883 if test "x$PLATFORM_MACOS" = "x1" ; then
53884 COND_PLATFORM_MACOS_1=""
53885 fi
53886
53887 COND_PLATFORM_MAC_1="#"
53888 if test "x$PLATFORM_MAC" = "x1" ; then
53889 COND_PLATFORM_MAC_1=""
53890 fi
53891
53892 COND_PLATFORM_MSDOS_0="#"
53893 if test "x$PLATFORM_MSDOS" = "x0" ; then
53894 COND_PLATFORM_MSDOS_0=""
53895 fi
53896
53897 COND_PLATFORM_MSDOS_1="#"
53898 if test "x$PLATFORM_MSDOS" = "x1" ; then
53899 COND_PLATFORM_MSDOS_1=""
53900 fi
53901
53902 COND_PLATFORM_OS2_1="#"
53903 if test "x$PLATFORM_OS2" = "x1" ; then
53904 COND_PLATFORM_OS2_1=""
53905 fi
53906
53907 COND_PLATFORM_UNIX_0="#"
53908 if test "x$PLATFORM_UNIX" = "x0" ; then
53909 COND_PLATFORM_UNIX_0=""
53910 fi
53911
53912 COND_PLATFORM_UNIX_1="#"
53913 if test "x$PLATFORM_UNIX" = "x1" ; then
53914 COND_PLATFORM_UNIX_1=""
53915 fi
53916
53917 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
53918 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
53919 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
53920 fi
53921
53922 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
53923 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
53924 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
53925 fi
53926
53927 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
53928 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
53929 COND_PLATFORM_UNIX_1_USE_GUI_1=""
53930 fi
53931
53932 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
53933 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
53934 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
53935 fi
53936
53937 COND_PLATFORM_WIN32_0="#"
53938 if test "x$PLATFORM_WIN32" = "x0" ; then
53939 COND_PLATFORM_WIN32_0=""
53940 fi
53941
53942 COND_PLATFORM_WIN32_1="#"
53943 if test "x$PLATFORM_WIN32" = "x1" ; then
53944 COND_PLATFORM_WIN32_1=""
53945 fi
53946
53947 COND_SHARED_0="#"
53948 if test "x$SHARED" = "x0" ; then
53949 COND_SHARED_0=""
53950 fi
53951
53952 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
53953 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
53954 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
53955 fi
53956
53957 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
53958 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
53959 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
53960 fi
53961
53962 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
53963 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
53964 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
53965 fi
53966
53967 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
53968 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
53969 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
53970 fi
53971
53972 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
53973 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53974 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
53975 fi
53976
53977 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
53978 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53979 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
53980 fi
53981
53982 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
53983 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53984 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
53985 fi
53986
53987 COND_SHARED_0_USE_XRC_1="#"
53988 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
53989 COND_SHARED_0_USE_XRC_1=""
53990 fi
53991
53992 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
53993 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
53994 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
53995 fi
53996
53997 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
53998 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
53999 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
54000 fi
54001
54002 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
54003 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
54004 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
54005 fi
54006
54007 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
54008 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
54009 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
54010 fi
54011
54012 COND_SHARED_1="#"
54013 if test "x$SHARED" = "x1" ; then
54014 COND_SHARED_1=""
54015 fi
54016
54017 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
54018 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54019 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
54020 fi
54021
54022 COND_SHARED_1_USE_XRC_1="#"
54023 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54024 COND_SHARED_1_USE_XRC_1=""
54025 fi
54026
54027 COND_TOOLKIT_="#"
54028 if test "x$TOOLKIT" = "x" ; then
54029 COND_TOOLKIT_=""
54030 fi
54031
54032 COND_TOOLKIT_COCOA="#"
54033 if test "x$TOOLKIT" = "xCOCOA" ; then
54034 COND_TOOLKIT_COCOA=""
54035 fi
54036
54037 COND_TOOLKIT_COCOA_USE_GUI_1="#"
54038 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
54039 COND_TOOLKIT_COCOA_USE_GUI_1=""
54040 fi
54041
54042 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
54043 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54044 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
54045 fi
54046
54047 COND_TOOLKIT_DFB="#"
54048 if test "x$TOOLKIT" = "xDFB" ; then
54049 COND_TOOLKIT_DFB=""
54050 fi
54051
54052 COND_TOOLKIT_DFB_USE_GUI_1="#"
54053 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
54054 COND_TOOLKIT_DFB_USE_GUI_1=""
54055 fi
54056
54057 COND_TOOLKIT_GTK="#"
54058 if test "x$TOOLKIT" = "xGTK" ; then
54059 COND_TOOLKIT_GTK=""
54060 fi
54061
54062 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
54063 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
54064 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
54065 fi
54066
54067 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
54068 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
54069 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
54070 fi
54071
54072 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
54073 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
54074 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
54075 fi
54076
54077 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
54078 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54079 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
54080 fi
54081
54082 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
54083 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
54084 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
54085 fi
54086
54087 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
54088 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54089 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
54090 fi
54091
54092 COND_TOOLKIT_GTK_USE_GUI_1="#"
54093 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
54094 COND_TOOLKIT_GTK_USE_GUI_1=""
54095 fi
54096
54097 COND_TOOLKIT_MAC="#"
54098 if test "x$TOOLKIT" = "xMAC" ; then
54099 COND_TOOLKIT_MAC=""
54100 fi
54101
54102 COND_TOOLKIT_MAC_USE_GUI_1="#"
54103 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
54104 COND_TOOLKIT_MAC_USE_GUI_1=""
54105 fi
54106
54107 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
54108 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54109 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
54110 fi
54111
54112 COND_TOOLKIT_MGL="#"
54113 if test "x$TOOLKIT" = "xMGL" ; then
54114 COND_TOOLKIT_MGL=""
54115 fi
54116
54117 COND_TOOLKIT_MGL_USE_GUI_1="#"
54118 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
54119 COND_TOOLKIT_MGL_USE_GUI_1=""
54120 fi
54121
54122 COND_TOOLKIT_MOTIF="#"
54123 if test "x$TOOLKIT" = "xMOTIF" ; then
54124 COND_TOOLKIT_MOTIF=""
54125 fi
54126
54127 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
54128 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
54129 COND_TOOLKIT_MOTIF_USE_GUI_1=""
54130 fi
54131
54132 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
54133 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54134 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
54135 fi
54136
54137 COND_TOOLKIT_MSW="#"
54138 if test "x$TOOLKIT" = "xMSW" ; then
54139 COND_TOOLKIT_MSW=""
54140 fi
54141
54142 COND_TOOLKIT_MSW_USE_GUI_1="#"
54143 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
54144 COND_TOOLKIT_MSW_USE_GUI_1=""
54145 fi
54146
54147 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
54148 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54149 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
54150 fi
54151
54152 COND_TOOLKIT_MSW_WXUNIV_0="#"
54153 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54154 COND_TOOLKIT_MSW_WXUNIV_0=""
54155 fi
54156
54157 COND_TOOLKIT_PM="#"
54158 if test "x$TOOLKIT" = "xPM" ; then
54159 COND_TOOLKIT_PM=""
54160 fi
54161
54162 COND_TOOLKIT_PM_USE_GUI_1="#"
54163 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
54164 COND_TOOLKIT_PM_USE_GUI_1=""
54165 fi
54166
54167 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
54168 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54169 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
54170 fi
54171
54172 COND_TOOLKIT_WINCE="#"
54173 if test "x$TOOLKIT" = "xWINCE" ; then
54174 COND_TOOLKIT_WINCE=""
54175 fi
54176
54177 COND_TOOLKIT_WINCE_USE_GUI_1="#"
54178 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
54179 COND_TOOLKIT_WINCE_USE_GUI_1=""
54180 fi
54181
54182 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
54183 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54184 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
54185 fi
54186
54187 COND_TOOLKIT_WINCE_WXUNIV_0="#"
54188 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
54189 COND_TOOLKIT_WINCE_WXUNIV_0=""
54190 fi
54191
54192 COND_TOOLKIT_X11="#"
54193 if test "x$TOOLKIT" = "xX11" ; then
54194 COND_TOOLKIT_X11=""
54195 fi
54196
54197 COND_TOOLKIT_X11_USE_GUI_1="#"
54198 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
54199 COND_TOOLKIT_X11_USE_GUI_1=""
54200 fi
54201
54202 COND_UNICODE_1="#"
54203 if test "x$UNICODE" = "x1" ; then
54204 COND_UNICODE_1=""
54205 fi
54206
54207 COND_USE_EXCEPTIONS_0="#"
54208 if test "x$USE_EXCEPTIONS" = "x0" ; then
54209 COND_USE_EXCEPTIONS_0=""
54210 fi
54211
54212 COND_USE_EXCEPTIONS_1="#"
54213 if test "x$USE_EXCEPTIONS" = "x1" ; then
54214 COND_USE_EXCEPTIONS_1=""
54215 fi
54216
54217 COND_USE_GUI_0="#"
54218 if test "x$USE_GUI" = "x0" ; then
54219 COND_USE_GUI_0=""
54220 fi
54221
54222 COND_USE_GUI_1="#"
54223 if test "x$USE_GUI" = "x1" ; then
54224 COND_USE_GUI_1=""
54225 fi
54226
54227 COND_USE_GUI_1_WXUNIV_0="#"
54228 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54229 COND_USE_GUI_1_WXUNIV_0=""
54230 fi
54231
54232 COND_USE_GUI_1_WXUNIV_1="#"
54233 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
54234 COND_USE_GUI_1_WXUNIV_1=""
54235 fi
54236
54237 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
54238 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54239 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
54240 fi
54241
54242 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
54243 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54244 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
54245 fi
54246
54247 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
54248 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54249 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
54250 fi
54251
54252 COND_USE_ODBC_1="#"
54253 if test "x$USE_ODBC" = "x1" ; then
54254 COND_USE_ODBC_1=""
54255 fi
54256
54257 COND_USE_OPENGL_1="#"
54258 if test "x$USE_OPENGL" = "x1" ; then
54259 COND_USE_OPENGL_1=""
54260 fi
54261
54262 COND_USE_PCH_1="#"
54263 if test "x$USE_PCH" = "x1" ; then
54264 COND_USE_PCH_1=""
54265 fi
54266
54267 COND_USE_PLUGINS_0="#"
54268 if test "x$USE_PLUGINS" = "x0" ; then
54269 COND_USE_PLUGINS_0=""
54270 fi
54271
54272 COND_USE_RTTI_0="#"
54273 if test "x$USE_RTTI" = "x0" ; then
54274 COND_USE_RTTI_0=""
54275 fi
54276
54277 COND_USE_RTTI_1="#"
54278 if test "x$USE_RTTI" = "x1" ; then
54279 COND_USE_RTTI_1=""
54280 fi
54281
54282 COND_USE_SOSYMLINKS_1="#"
54283 if test "x$USE_SOSYMLINKS" = "x1" ; then
54284 COND_USE_SOSYMLINKS_1=""
54285 fi
54286
54287 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
54288 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54289 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
54290 fi
54291
54292 COND_USE_SOVERLINUX_1="#"
54293 if test "x$USE_SOVERLINUX" = "x1" ; then
54294 COND_USE_SOVERLINUX_1=""
54295 fi
54296
54297 COND_USE_SOVERSION_0="#"
54298 if test "x$USE_SOVERSION" = "x0" ; then
54299 COND_USE_SOVERSION_0=""
54300 fi
54301
54302 COND_USE_SOVERSOLARIS_1="#"
54303 if test "x$USE_SOVERSOLARIS" = "x1" ; then
54304 COND_USE_SOVERSOLARIS_1=""
54305 fi
54306
54307 COND_USE_THREADS_0="#"
54308 if test "x$USE_THREADS" = "x0" ; then
54309 COND_USE_THREADS_0=""
54310 fi
54311
54312 COND_USE_THREADS_1="#"
54313 if test "x$USE_THREADS" = "x1" ; then
54314 COND_USE_THREADS_1=""
54315 fi
54316
54317 COND_USE_XRC_1="#"
54318 if test "x$USE_XRC" = "x1" ; then
54319 COND_USE_XRC_1=""
54320 fi
54321
54322 COND_WINDOWS_IMPLIB_1="#"
54323 if test "x$WINDOWS_IMPLIB" = "x1" ; then
54324 COND_WINDOWS_IMPLIB_1=""
54325 fi
54326
54327 COND_WITH_PLUGIN_SDL_1="#"
54328 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
54329 COND_WITH_PLUGIN_SDL_1=""
54330 fi
54331
54332 COND_WXUNIV_0="#"
54333 if test "x$WXUNIV" = "x0" ; then
54334 COND_WXUNIV_0=""
54335 fi
54336
54337 COND_WXUNIV_1="#"
54338 if test "x$WXUNIV" = "x1" ; then
54339 COND_WXUNIV_1=""
54340 fi
54341
54342 COND_WXUSE_EXPAT_BUILTIN="#"
54343 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
54344 COND_WXUSE_EXPAT_BUILTIN=""
54345 fi
54346
54347 COND_WXUSE_LIBJPEG_BUILTIN="#"
54348 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54349 COND_WXUSE_LIBJPEG_BUILTIN=""
54350 fi
54351
54352 COND_WXUSE_LIBPNG_BUILTIN="#"
54353 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54354 COND_WXUSE_LIBPNG_BUILTIN=""
54355 fi
54356
54357 COND_WXUSE_LIBTIFF_BUILTIN="#"
54358 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54359 COND_WXUSE_LIBTIFF_BUILTIN=""
54360 fi
54361
54362 COND_WXUSE_ODBC_BUILTIN="#"
54363 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
54364 COND_WXUSE_ODBC_BUILTIN=""
54365 fi
54366
54367 COND_WXUSE_REGEX_BUILTIN="#"
54368 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
54369 COND_WXUSE_REGEX_BUILTIN=""
54370 fi
54371
54372 COND_WXUSE_ZLIB_BUILTIN="#"
54373 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
54374 COND_WXUSE_ZLIB_BUILTIN=""
54375 fi
54376
54377
54378
54379 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
54380 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
54381 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
54382 { (exit 1); exit 1; }; }
54383 fi
54384
54385 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
54386 { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
54387 echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
54388 { (exit 1); exit 1; }; }
54389 fi
54390
54391
54392 if test $GCC_PCH = 1
54393 then
54394 if test "$wx_cv_gcc_pch_bug" = yes; then
54395 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
54396 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
54397 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
54398 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
54399 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
54400 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
54401 fi
54402
54403 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
54404 fi
54405
54406
54407 if test "$wxUSE_MAC" = 1 ; then
54408 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
54409 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
54410 mv temp bk-deps
54411 chmod +x bk-deps
54412 fi
54413 fi
54414
54415 if test "$wxUSE_SHARED" = "yes"; then
54416
54417 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
54418 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
54419
54420 case "${host}" in
54421 *-pc-os2_emx | *-pc-os2-emx )
54422 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
54423 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
54424 cp -p ${srcdir}/src/os2/dllnames.sh .
54425 cp -p ${srcdir}/src/os2/dllar.sh .
54426 ;;
54427 esac
54428 else
54429
54430 EXE_LINKER="$CXX -o"
54431
54432 fi
54433 if test "$wxUSE_OMF" = "yes"; then
54434 case "${host}" in
54435 *-pc-os2_emx | *-pc-os2-emx )
54436 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
54437 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
54438 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
54439 ;;
54440 esac
54441 fi
54442
54443 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
54444
54445 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
54446
54447
54448
54449
54450
54451
54452
54453
54454
54455
54456
54457
54458
54459
54460
54461
54462
54463
54464
54465
54466
54467
54468
54469
54470
54471
54472
54473
54474
54475
54476
54477
54478
54479
54480
54481
54482
54483
54484
54485
54486
54487
54488
54489
54490
54491
54492
54493
54494
54495
54496
54497
54498
54499
54500
54501
54502
54503
54504
54505
54506
54507 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
54508 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
54509 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
54510 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
54511 echo $ECHO_N "(cached) $ECHO_C" >&6
54512 else
54513 cat >conftest.make <<\_ACEOF
54514 SHELL = /bin/sh
54515 all:
54516 @echo '@@@%%%=$(MAKE)=@@@%%%'
54517 _ACEOF
54518 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
54519 case `${MAKE-make} -f conftest.make 2>/dev/null` in
54520 *@@@%%%=?*=@@@%%%*)
54521 eval ac_cv_prog_make_${ac_make}_set=yes;;
54522 *)
54523 eval ac_cv_prog_make_${ac_make}_set=no;;
54524 esac
54525 rm -f conftest.make
54526 fi
54527 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
54528 { echo "$as_me:$LINENO: result: yes" >&5
54529 echo "${ECHO_T}yes" >&6; }
54530 SET_MAKE=
54531 else
54532 { echo "$as_me:$LINENO: result: no" >&5
54533 echo "${ECHO_T}no" >&6; }
54534 SET_MAKE="MAKE=${MAKE-make}"
54535 fi
54536
54537
54538
54539 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
54540
54541
54542 if test "$USE_WIN32" = 1; then
54543 ac_config_commands="$ac_config_commands
54544 rcdefs.h
54545 "
54546
54547 fi
54548
54549 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
54550
54551
54552 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
54553
54554
54555 if test "$wx_cv_version_script" = "yes"; then
54556 ac_config_files="$ac_config_files version-script"
54557
54558 fi
54559 ac_config_files="$ac_config_files Makefile"
54560
54561
54562 ac_config_commands="$ac_config_commands wx-config"
54563
54564
54565
54566 if test "$wxWITH_SUBDIRS" != "no"; then
54567 if test "$wxUSE_GUI" = "yes"; then
54568 SUBDIRS="samples demos utils contrib"
54569 else SUBDIRS="samples utils"
54570 fi
54571
54572
54573
54574 # Check whether --with-cppunit-prefix was given.
54575 if test "${with_cppunit_prefix+set}" = set; then
54576 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
54577 else
54578 cppunit_config_prefix=""
54579 fi
54580
54581
54582 # Check whether --with-cppunit-exec-prefix was given.
54583 if test "${with_cppunit_exec_prefix+set}" = set; then
54584 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
54585 else
54586 cppunit_config_exec_prefix=""
54587 fi
54588
54589
54590 if test x$cppunit_config_exec_prefix != x ; then
54591 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
54592 if test x${CPPUNIT_CONFIG+set} != xset ; then
54593 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
54594 fi
54595 fi
54596 if test x$cppunit_config_prefix != x ; then
54597 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
54598 if test x${CPPUNIT_CONFIG+set} != xset ; then
54599 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
54600 fi
54601 fi
54602
54603 # Extract the first word of "cppunit-config", so it can be a program name with args.
54604 set dummy cppunit-config; ac_word=$2
54605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54607 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
54608 echo $ECHO_N "(cached) $ECHO_C" >&6
54609 else
54610 case $CPPUNIT_CONFIG in
54611 [\\/]* | ?:[\\/]*)
54612 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
54613 ;;
54614 *)
54615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54616 for as_dir in $PATH
54617 do
54618 IFS=$as_save_IFS
54619 test -z "$as_dir" && as_dir=.
54620 for ac_exec_ext in '' $ac_executable_extensions; do
54621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54622 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
54623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54624 break 2
54625 fi
54626 done
54627 done
54628 IFS=$as_save_IFS
54629
54630 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
54631 ;;
54632 esac
54633 fi
54634 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
54635 if test -n "$CPPUNIT_CONFIG"; then
54636 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
54637 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
54638 else
54639 { echo "$as_me:$LINENO: result: no" >&5
54640 echo "${ECHO_T}no" >&6; }
54641 fi
54642
54643
54644 cppunit_version_min=1.8.0
54645
54646 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
54647 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
54648 no_cppunit=""
54649 if test "$CPPUNIT_CONFIG" = "no" ; then
54650 { echo "$as_me:$LINENO: result: no" >&5
54651 echo "${ECHO_T}no" >&6; }
54652 no_cppunit=yes
54653 else
54654 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
54655 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
54656 cppunit_version=`$CPPUNIT_CONFIG --version`
54657
54658 cppunit_major_version=`echo $cppunit_version | \
54659 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
54660 cppunit_minor_version=`echo $cppunit_version | \
54661 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
54662 cppunit_micro_version=`echo $cppunit_version | \
54663 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
54664
54665 cppunit_major_min=`echo $cppunit_version_min | \
54666 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
54667 cppunit_minor_min=`echo $cppunit_version_min | \
54668 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
54669 cppunit_micro_min=`echo $cppunit_version_min | \
54670 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
54671
54672 cppunit_version_proper=`expr \
54673 $cppunit_major_version \> $cppunit_major_min \| \
54674 $cppunit_major_version \= $cppunit_major_min \& \
54675 $cppunit_minor_version \> $cppunit_minor_min \| \
54676 $cppunit_major_version \= $cppunit_major_min \& \
54677 $cppunit_minor_version \= $cppunit_minor_min \& \
54678 $cppunit_micro_version \>= $cppunit_micro_min `
54679
54680 if test "$cppunit_version_proper" = "1" ; then
54681 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
54682 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
54683 else
54684 { echo "$as_me:$LINENO: result: no" >&5
54685 echo "${ECHO_T}no" >&6; }
54686 no_cppunit=yes
54687 fi
54688 fi
54689
54690 if test "x$no_cppunit" = x ; then
54691 SUBDIRS="$SUBDIRS tests"
54692 else
54693 CPPUNIT_CFLAGS=""
54694 CPPUNIT_LIBS=""
54695 :
54696 fi
54697
54698
54699
54700
54701
54702 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
54703 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
54704 fi
54705
54706 for subdir in `echo $SUBDIRS`; do
54707 if test -d ${srcdir}/${subdir} ; then
54708 if test "$wxUSE_GUI" = "yes"; then
54709 if test ${subdir} = "samples"; then
54710 makefiles="samples/Makefile.in $makefiles"
54711 for sample in `echo $SAMPLES_SUBDIRS`; do
54712 if test -d $srcdir/samples/$sample; then
54713 makefiles="samples/$sample/Makefile.in $makefiles"
54714 fi
54715 done
54716 else
54717 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
54718 eval "disabled=\$$disabled_var"
54719 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
54720 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
54721 fi
54722 else if test ${subdir} = "samples"; then
54723 makefiles="samples/Makefile.in samples/console/Makefile.in"
54724 elif test ${subdir} = "utils"; then
54725 makefiles=""
54726 for util in HelpGen tex2rtf ; do
54727 if test -d $srcdir/utils/$util ; then
54728 makefiles="utils/$util/Makefile.in \
54729 utils/$util/src/Makefile.in \
54730 $makefiles"
54731 fi
54732 done
54733 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
54734 fi
54735 fi
54736
54737 for mkin in $makefiles ; do
54738 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
54739 ac_config_files="$ac_config_files $mk"
54740
54741 done
54742 fi
54743 done
54744 fi
54745 cat >confcache <<\_ACEOF
54746 # This file is a shell script that caches the results of configure
54747 # tests run on this system so they can be shared between configure
54748 # scripts and configure runs, see configure's option --config-cache.
54749 # It is not useful on other systems. If it contains results you don't
54750 # want to keep, you may remove or edit it.
54751 #
54752 # config.status only pays attention to the cache file if you give it
54753 # the --recheck option to rerun configure.
54754 #
54755 # `ac_cv_env_foo' variables (set or unset) will be overridden when
54756 # loading this file, other *unset* `ac_cv_foo' will be assigned the
54757 # following values.
54758
54759 _ACEOF
54760
54761 # The following way of writing the cache mishandles newlines in values,
54762 # but we know of no workaround that is simple, portable, and efficient.
54763 # So, we kill variables containing newlines.
54764 # Ultrix sh set writes to stderr and can't be redirected directly,
54765 # and sets the high bit in the cache file unless we assign to the vars.
54766 (
54767 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
54768 eval ac_val=\$$ac_var
54769 case $ac_val in #(
54770 *${as_nl}*)
54771 case $ac_var in #(
54772 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
54773 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
54774 esac
54775 case $ac_var in #(
54776 _ | IFS | as_nl) ;; #(
54777 *) $as_unset $ac_var ;;
54778 esac ;;
54779 esac
54780 done
54781
54782 (set) 2>&1 |
54783 case $as_nl`(ac_space=' '; set) 2>&1` in #(
54784 *${as_nl}ac_space=\ *)
54785 # `set' does not quote correctly, so add quotes (double-quote
54786 # substitution turns \\\\ into \\, and sed turns \\ into \).
54787 sed -n \
54788 "s/'/'\\\\''/g;
54789 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
54790 ;; #(
54791 *)
54792 # `set' quotes correctly as required by POSIX, so do not add quotes.
54793 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
54794 ;;
54795 esac |
54796 sort
54797 ) |
54798 sed '
54799 /^ac_cv_env_/b end
54800 t clear
54801 :clear
54802 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
54803 t end
54804 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
54805 :end' >>confcache
54806 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
54807 if test -w "$cache_file"; then
54808 test "x$cache_file" != "x/dev/null" &&
54809 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
54810 echo "$as_me: updating cache $cache_file" >&6;}
54811 cat confcache >$cache_file
54812 else
54813 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
54814 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
54815 fi
54816 fi
54817 rm -f confcache
54818
54819 test "x$prefix" = xNONE && prefix=$ac_default_prefix
54820 # Let make expand exec_prefix.
54821 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
54822
54823 DEFS=-DHAVE_CONFIG_H
54824
54825 ac_libobjs=
54826 ac_ltlibobjs=
54827 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
54828 # 1. Remove the extension, and $U if already installed.
54829 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
54830 ac_i=`echo "$ac_i" | sed "$ac_script"`
54831 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
54832 # will be set to the directory where LIBOBJS objects are built.
54833 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
54834 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
54835 done
54836 LIBOBJS=$ac_libobjs
54837
54838 LTLIBOBJS=$ac_ltlibobjs
54839
54840
54841
54842 : ${CONFIG_STATUS=./config.status}
54843 ac_clean_files_save=$ac_clean_files
54844 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
54845 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
54846 echo "$as_me: creating $CONFIG_STATUS" >&6;}
54847 cat >$CONFIG_STATUS <<_ACEOF
54848 #! $SHELL
54849 # Generated by $as_me.
54850 # Run this file to recreate the current configuration.
54851 # Compiler output produced by configure, useful for debugging
54852 # configure, is in config.log if it exists.
54853
54854 debug=false
54855 ac_cs_recheck=false
54856 ac_cs_silent=false
54857 SHELL=\${CONFIG_SHELL-$SHELL}
54858 _ACEOF
54859
54860 cat >>$CONFIG_STATUS <<\_ACEOF
54861 ## --------------------- ##
54862 ## M4sh Initialization. ##
54863 ## --------------------- ##
54864
54865 # Be Bourne compatible
54866 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
54867 emulate sh
54868 NULLCMD=:
54869 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
54870 # is contrary to our usage. Disable this feature.
54871 alias -g '${1+"$@"}'='"$@"'
54872 setopt NO_GLOB_SUBST
54873 else
54874 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
54875 fi
54876 BIN_SH=xpg4; export BIN_SH # for Tru64
54877 DUALCASE=1; export DUALCASE # for MKS sh
54878
54879
54880 # PATH needs CR
54881 # Avoid depending upon Character Ranges.
54882 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
54883 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
54884 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
54885 as_cr_digits='0123456789'
54886 as_cr_alnum=$as_cr_Letters$as_cr_digits
54887
54888 # The user is always right.
54889 if test "${PATH_SEPARATOR+set}" != set; then
54890 echo "#! /bin/sh" >conf$$.sh
54891 echo "exit 0" >>conf$$.sh
54892 chmod +x conf$$.sh
54893 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
54894 PATH_SEPARATOR=';'
54895 else
54896 PATH_SEPARATOR=:
54897 fi
54898 rm -f conf$$.sh
54899 fi
54900
54901 # Support unset when possible.
54902 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54903 as_unset=unset
54904 else
54905 as_unset=false
54906 fi
54907
54908
54909 # IFS
54910 # We need space, tab and new line, in precisely that order. Quoting is
54911 # there to prevent editors from complaining about space-tab.
54912 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
54913 # splitting by setting IFS to empty value.)
54914 as_nl='
54915 '
54916 IFS=" "" $as_nl"
54917
54918 # Find who we are. Look in the path if we contain no directory separator.
54919 case $0 in
54920 *[\\/]* ) as_myself=$0 ;;
54921 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54922 for as_dir in $PATH
54923 do
54924 IFS=$as_save_IFS
54925 test -z "$as_dir" && as_dir=.
54926 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
54927 done
54928 IFS=$as_save_IFS
54929
54930 ;;
54931 esac
54932 # We did not find ourselves, most probably we were run as `sh COMMAND'
54933 # in which case we are not to be found in the path.
54934 if test "x$as_myself" = x; then
54935 as_myself=$0
54936 fi
54937 if test ! -f "$as_myself"; then
54938 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
54939 { (exit 1); exit 1; }
54940 fi
54941
54942 # Work around bugs in pre-3.0 UWIN ksh.
54943 for as_var in ENV MAIL MAILPATH
54944 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
54945 done
54946 PS1='$ '
54947 PS2='> '
54948 PS4='+ '
54949
54950 # NLS nuisances.
54951 for as_var in \
54952 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
54953 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
54954 LC_TELEPHONE LC_TIME
54955 do
54956 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
54957 eval $as_var=C; export $as_var
54958 else
54959 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
54960 fi
54961 done
54962
54963 # Required to use basename.
54964 if expr a : '\(a\)' >/dev/null 2>&1 &&
54965 test "X`expr 00001 : '.*\(...\)'`" = X001; then
54966 as_expr=expr
54967 else
54968 as_expr=false
54969 fi
54970
54971 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
54972 as_basename=basename
54973 else
54974 as_basename=false
54975 fi
54976
54977
54978 # Name of the executable.
54979 as_me=`$as_basename -- "$0" ||
54980 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
54981 X"$0" : 'X\(//\)$' \| \
54982 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
54983 echo X/"$0" |
54984 sed '/^.*\/\([^/][^/]*\)\/*$/{
54985 s//\1/
54986 q
54987 }
54988 /^X\/\(\/\/\)$/{
54989 s//\1/
54990 q
54991 }
54992 /^X\/\(\/\).*/{
54993 s//\1/
54994 q
54995 }
54996 s/.*/./; q'`
54997
54998 # CDPATH.
54999 $as_unset CDPATH
55000
55001
55002
55003 as_lineno_1=$LINENO
55004 as_lineno_2=$LINENO
55005 test "x$as_lineno_1" != "x$as_lineno_2" &&
55006 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
55007
55008 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
55009 # uniformly replaced by the line number. The first 'sed' inserts a
55010 # line-number line after each line using $LINENO; the second 'sed'
55011 # does the real work. The second script uses 'N' to pair each
55012 # line-number line with the line containing $LINENO, and appends
55013 # trailing '-' during substitution so that $LINENO is not a special
55014 # case at line end.
55015 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
55016 # scripts with optimization help from Paolo Bonzini. Blame Lee
55017 # E. McMahon (1931-1989) for sed's syntax. :-)
55018 sed -n '
55019 p
55020 /[$]LINENO/=
55021 ' <$as_myself |
55022 sed '
55023 s/[$]LINENO.*/&-/
55024 t lineno
55025 b
55026 :lineno
55027 N
55028 :loop
55029 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
55030 t loop
55031 s/-\n.*//
55032 ' >$as_me.lineno &&
55033 chmod +x "$as_me.lineno" ||
55034 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
55035 { (exit 1); exit 1; }; }
55036
55037 # Don't try to exec as it changes $[0], causing all sort of problems
55038 # (the dirname of $[0] is not the place where we might find the
55039 # original and so on. Autoconf is especially sensitive to this).
55040 . "./$as_me.lineno"
55041 # Exit status is that of the last command.
55042 exit
55043 }
55044
55045
55046 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
55047 as_dirname=dirname
55048 else
55049 as_dirname=false
55050 fi
55051
55052 ECHO_C= ECHO_N= ECHO_T=
55053 case `echo -n x` in
55054 -n*)
55055 case `echo 'x\c'` in
55056 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
55057 *) ECHO_C='\c';;
55058 esac;;
55059 *)
55060 ECHO_N='-n';;
55061 esac
55062
55063 if expr a : '\(a\)' >/dev/null 2>&1 &&
55064 test "X`expr 00001 : '.*\(...\)'`" = X001; then
55065 as_expr=expr
55066 else
55067 as_expr=false
55068 fi
55069
55070 rm -f conf$$ conf$$.exe conf$$.file
55071 if test -d conf$$.dir; then
55072 rm -f conf$$.dir/conf$$.file
55073 else
55074 rm -f conf$$.dir
55075 mkdir conf$$.dir
55076 fi
55077 echo >conf$$.file
55078 if ln -s conf$$.file conf$$ 2>/dev/null; then
55079 as_ln_s='ln -s'
55080 # ... but there are two gotchas:
55081 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
55082 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
55083 # In both cases, we have to default to `cp -p'.
55084 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
55085 as_ln_s='cp -p'
55086 elif ln conf$$.file conf$$ 2>/dev/null; then
55087 as_ln_s=ln
55088 else
55089 as_ln_s='cp -p'
55090 fi
55091 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
55092 rmdir conf$$.dir 2>/dev/null
55093
55094 if mkdir -p . 2>/dev/null; then
55095 as_mkdir_p=:
55096 else
55097 test -d ./-p && rmdir ./-p
55098 as_mkdir_p=false
55099 fi
55100
55101 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
55102 # systems may use methods other than mode bits to determine executability.
55103 cat >conf$$.file <<_ASEOF
55104 #! /bin/sh
55105 exit 0
55106 _ASEOF
55107 chmod +x conf$$.file
55108 if test -x conf$$.file >/dev/null 2>&1; then
55109 as_executable_p="test -x"
55110 else
55111 as_executable_p=:
55112 fi
55113 rm -f conf$$.file
55114
55115 # Sed expression to map a string onto a valid CPP name.
55116 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
55117
55118 # Sed expression to map a string onto a valid variable name.
55119 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
55120
55121
55122 exec 6>&1
55123
55124 # Save the log message, to keep $[0] and so on meaningful, and to
55125 # report actual input values of CONFIG_FILES etc. instead of their
55126 # values after options handling.
55127 ac_log="
55128 This file was extended by wxWidgets $as_me 2.9.0, which was
55129 generated by GNU Autoconf 2.60. Invocation command line was
55130
55131 CONFIG_FILES = $CONFIG_FILES
55132 CONFIG_HEADERS = $CONFIG_HEADERS
55133 CONFIG_LINKS = $CONFIG_LINKS
55134 CONFIG_COMMANDS = $CONFIG_COMMANDS
55135 $ $0 $@
55136
55137 on `(hostname || uname -n) 2>/dev/null | sed 1q`
55138 "
55139
55140 _ACEOF
55141
55142 cat >>$CONFIG_STATUS <<_ACEOF
55143 # Files that config.status was made for.
55144 config_files="$ac_config_files"
55145 config_headers="$ac_config_headers"
55146 config_commands="$ac_config_commands"
55147
55148 _ACEOF
55149
55150 cat >>$CONFIG_STATUS <<\_ACEOF
55151 ac_cs_usage="\
55152 \`$as_me' instantiates files from templates according to the
55153 current configuration.
55154
55155 Usage: $0 [OPTIONS] [FILE]...
55156
55157 -h, --help print this help, then exit
55158 -V, --version print version number, then exit
55159 -q, --quiet do not print progress messages
55160 -d, --debug don't remove temporary files
55161 --recheck update $as_me by reconfiguring in the same conditions
55162 --file=FILE[:TEMPLATE]
55163 instantiate the configuration file FILE
55164 --header=FILE[:TEMPLATE]
55165 instantiate the configuration header FILE
55166
55167 Configuration files:
55168 $config_files
55169
55170 Configuration headers:
55171 $config_headers
55172
55173 Configuration commands:
55174 $config_commands
55175
55176 Report bugs to <bug-autoconf@gnu.org>."
55177
55178 _ACEOF
55179 cat >>$CONFIG_STATUS <<_ACEOF
55180 ac_cs_version="\\
55181 wxWidgets config.status 2.9.0
55182 configured by $0, generated by GNU Autoconf 2.60,
55183 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
55184
55185 Copyright (C) 2006 Free Software Foundation, Inc.
55186 This config.status script is free software; the Free Software Foundation
55187 gives unlimited permission to copy, distribute and modify it."
55188
55189 ac_pwd='$ac_pwd'
55190 srcdir='$srcdir'
55191 INSTALL='$INSTALL'
55192 _ACEOF
55193
55194 cat >>$CONFIG_STATUS <<\_ACEOF
55195 # If no file are specified by the user, then we need to provide default
55196 # value. By we need to know if files were specified by the user.
55197 ac_need_defaults=:
55198 while test $# != 0
55199 do
55200 case $1 in
55201 --*=*)
55202 ac_option=`expr "X$1" : 'X\([^=]*\)='`
55203 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
55204 ac_shift=:
55205 ;;
55206 *)
55207 ac_option=$1
55208 ac_optarg=$2
55209 ac_shift=shift
55210 ;;
55211 esac
55212
55213 case $ac_option in
55214 # Handling of the options.
55215 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
55216 ac_cs_recheck=: ;;
55217 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
55218 echo "$ac_cs_version"; exit ;;
55219 --debug | --debu | --deb | --de | --d | -d )
55220 debug=: ;;
55221 --file | --fil | --fi | --f )
55222 $ac_shift
55223 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
55224 ac_need_defaults=false;;
55225 --header | --heade | --head | --hea )
55226 $ac_shift
55227 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
55228 ac_need_defaults=false;;
55229 --he | --h)
55230 # Conflict between --help and --header
55231 { echo "$as_me: error: ambiguous option: $1
55232 Try \`$0 --help' for more information." >&2
55233 { (exit 1); exit 1; }; };;
55234 --help | --hel | -h )
55235 echo "$ac_cs_usage"; exit ;;
55236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
55237 | -silent | --silent | --silen | --sile | --sil | --si | --s)
55238 ac_cs_silent=: ;;
55239
55240 # This is an error.
55241 -*) { echo "$as_me: error: unrecognized option: $1
55242 Try \`$0 --help' for more information." >&2
55243 { (exit 1); exit 1; }; } ;;
55244
55245 *) ac_config_targets="$ac_config_targets $1"
55246 ac_need_defaults=false ;;
55247
55248 esac
55249 shift
55250 done
55251
55252 ac_configure_extra_args=
55253
55254 if $ac_cs_silent; then
55255 exec 6>/dev/null
55256 ac_configure_extra_args="$ac_configure_extra_args --silent"
55257 fi
55258
55259 _ACEOF
55260 cat >>$CONFIG_STATUS <<_ACEOF
55261 if \$ac_cs_recheck; then
55262 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
55263 CONFIG_SHELL=$SHELL
55264 export CONFIG_SHELL
55265 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
55266 fi
55267
55268 _ACEOF
55269 cat >>$CONFIG_STATUS <<\_ACEOF
55270 exec 5>>config.log
55271 {
55272 echo
55273 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
55274 ## Running $as_me. ##
55275 _ASBOX
55276 echo "$ac_log"
55277 } >&5
55278
55279 _ACEOF
55280 cat >>$CONFIG_STATUS <<_ACEOF
55281 #
55282 # INIT-COMMANDS
55283 #
55284
55285 CPP="$CPP"
55286 infile="$srcdir/include/wx/msw/genrcdefs.h"
55287 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
55288
55289
55290 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
55291 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
55292 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
55293 LN_S="${LN_S}"
55294
55295
55296 _ACEOF
55297
55298 cat >>$CONFIG_STATUS <<\_ACEOF
55299
55300 # Handling of arguments.
55301 for ac_config_target in $ac_config_targets
55302 do
55303 case $ac_config_target in
55304 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
55305 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
55306 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
55307 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
55308 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
55309 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
55310 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
55311 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
55312
55313 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
55314 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
55315 { (exit 1); exit 1; }; };;
55316 esac
55317 done
55318
55319
55320 # If the user did not use the arguments to specify the items to instantiate,
55321 # then the envvar interface is used. Set only those that are not.
55322 # We use the long form for the default assignment because of an extremely
55323 # bizarre bug on SunOS 4.1.3.
55324 if $ac_need_defaults; then
55325 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
55326 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
55327 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
55328 fi
55329
55330 # Have a temporary directory for convenience. Make it in the build tree
55331 # simply because there is no reason against having it here, and in addition,
55332 # creating and moving files from /tmp can sometimes cause problems.
55333 # Hook for its removal unless debugging.
55334 # Note that there is a small window in which the directory will not be cleaned:
55335 # after its creation but before its name has been assigned to `$tmp'.
55336 $debug ||
55337 {
55338 tmp=
55339 trap 'exit_status=$?
55340 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
55341 ' 0
55342 trap '{ (exit 1); exit 1; }' 1 2 13 15
55343 }
55344 # Create a (secure) tmp directory for tmp files.
55345
55346 {
55347 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
55348 test -n "$tmp" && test -d "$tmp"
55349 } ||
55350 {
55351 tmp=./conf$$-$RANDOM
55352 (umask 077 && mkdir "$tmp")
55353 } ||
55354 {
55355 echo "$me: cannot create a temporary directory in ." >&2
55356 { (exit 1); exit 1; }
55357 }
55358
55359 #
55360 # Set up the sed scripts for CONFIG_FILES section.
55361 #
55362
55363 # No need to generate the scripts if there are no CONFIG_FILES.
55364 # This happens for instance when ./config.status config.h
55365 if test -n "$CONFIG_FILES"; then
55366
55367 _ACEOF
55368
55369
55370
55371 ac_delim='%!_!# '
55372 for ac_last_try in false false false false false :; do
55373 cat >conf$$subs.sed <<_ACEOF
55374 SHELL!$SHELL$ac_delim
55375 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
55376 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
55377 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
55378 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
55379 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
55380 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
55381 exec_prefix!$exec_prefix$ac_delim
55382 prefix!$prefix$ac_delim
55383 program_transform_name!$program_transform_name$ac_delim
55384 bindir!$bindir$ac_delim
55385 sbindir!$sbindir$ac_delim
55386 libexecdir!$libexecdir$ac_delim
55387 datarootdir!$datarootdir$ac_delim
55388 datadir!$datadir$ac_delim
55389 sysconfdir!$sysconfdir$ac_delim
55390 sharedstatedir!$sharedstatedir$ac_delim
55391 localstatedir!$localstatedir$ac_delim
55392 includedir!$includedir$ac_delim
55393 oldincludedir!$oldincludedir$ac_delim
55394 docdir!$docdir$ac_delim
55395 infodir!$infodir$ac_delim
55396 htmldir!$htmldir$ac_delim
55397 dvidir!$dvidir$ac_delim
55398 pdfdir!$pdfdir$ac_delim
55399 psdir!$psdir$ac_delim
55400 libdir!$libdir$ac_delim
55401 localedir!$localedir$ac_delim
55402 mandir!$mandir$ac_delim
55403 DEFS!$DEFS$ac_delim
55404 ECHO_C!$ECHO_C$ac_delim
55405 ECHO_N!$ECHO_N$ac_delim
55406 ECHO_T!$ECHO_T$ac_delim
55407 LIBS!$LIBS$ac_delim
55408 build_alias!$build_alias$ac_delim
55409 host_alias!$host_alias$ac_delim
55410 target_alias!$target_alias$ac_delim
55411 build!$build$ac_delim
55412 build_cpu!$build_cpu$ac_delim
55413 build_vendor!$build_vendor$ac_delim
55414 build_os!$build_os$ac_delim
55415 host!$host$ac_delim
55416 host_cpu!$host_cpu$ac_delim
55417 host_vendor!$host_vendor$ac_delim
55418 host_os!$host_os$ac_delim
55419 target!$target$ac_delim
55420 target_cpu!$target_cpu$ac_delim
55421 target_vendor!$target_vendor$ac_delim
55422 target_os!$target_os$ac_delim
55423 wx_top_builddir!$wx_top_builddir$ac_delim
55424 CC!$CC$ac_delim
55425 CFLAGS!$CFLAGS$ac_delim
55426 LDFLAGS!$LDFLAGS$ac_delim
55427 CPPFLAGS!$CPPFLAGS$ac_delim
55428 ac_ct_CC!$ac_ct_CC$ac_delim
55429 EXEEXT!$EXEEXT$ac_delim
55430 OBJEXT!$OBJEXT$ac_delim
55431 CPP!$CPP$ac_delim
55432 GREP!$GREP$ac_delim
55433 EGREP!$EGREP$ac_delim
55434 CXX!$CXX$ac_delim
55435 CXXFLAGS!$CXXFLAGS$ac_delim
55436 ac_ct_CXX!$ac_ct_CXX$ac_delim
55437 RANLIB!$RANLIB$ac_delim
55438 AR!$AR$ac_delim
55439 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
55440 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
55441 INSTALL_DATA!$INSTALL_DATA$ac_delim
55442 STRIP!$STRIP$ac_delim
55443 WINDRES!$WINDRES$ac_delim
55444 DLLTOOL!$DLLTOOL$ac_delim
55445 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
55446 LN_S!$LN_S$ac_delim
55447 subdirs!$subdirs$ac_delim
55448 PKG_CONFIG!$PKG_CONFIG$ac_delim
55449 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
55450 GTK_LIBS!$GTK_LIBS$ac_delim
55451 GTK_CONFIG!$GTK_CONFIG$ac_delim
55452 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
55453 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
55454 XMKMF!$XMKMF$ac_delim
55455 X_CFLAGS!$X_CFLAGS$ac_delim
55456 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
55457 X_LIBS!$X_LIBS$ac_delim
55458 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
55459 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
55460 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
55461 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
55462 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
55463 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
55464 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
55465 REZ!$REZ$ac_delim
55466 DEREZ!$DEREZ$ac_delim
55467 SETFILE!$SETFILE$ac_delim
55468 LIBICONV!$LIBICONV$ac_delim
55469 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
55470 SDL_CONFIG!$SDL_CONFIG$ac_delim
55471 _ACEOF
55472
55473 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55474 break
55475 elif $ac_last_try; then
55476 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55477 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55478 { (exit 1); exit 1; }; }
55479 else
55480 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55481 fi
55482 done
55483
55484 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55485 if test -n "$ac_eof"; then
55486 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55487 ac_eof=`expr $ac_eof + 1`
55488 fi
55489
55490 cat >>$CONFIG_STATUS <<_ACEOF
55491 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
55492 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55493 _ACEOF
55494 sed '
55495 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55496 s/^/s,@/; s/!/@,|#_!!_#|/
55497 :n
55498 t n
55499 s/'"$ac_delim"'$/,g/; t
55500 s/$/\\/; p
55501 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55502 ' >>$CONFIG_STATUS <conf$$subs.sed
55503 rm -f conf$$subs.sed
55504 cat >>$CONFIG_STATUS <<_ACEOF
55505 CEOF$ac_eof
55506 _ACEOF
55507
55508
55509 ac_delim='%!_!# '
55510 for ac_last_try in false false false false false :; do
55511 cat >conf$$subs.sed <<_ACEOF
55512 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
55513 SDL_LIBS!$SDL_LIBS$ac_delim
55514 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
55515 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
55516 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
55517 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
55518 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
55519 HILDON_LIBS!$HILDON_LIBS$ac_delim
55520 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
55521 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
55522 GST_CFLAGS!$GST_CFLAGS$ac_delim
55523 GST_LIBS!$GST_LIBS$ac_delim
55524 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
55525 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
55526 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
55527 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
55528 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
55529 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
55530 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
55531 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
55532 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
55533 VENDOR!$VENDOR$ac_delim
55534 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
55535 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
55536 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
55537 WXUNIV!$WXUNIV$ac_delim
55538 MONOLITHIC!$MONOLITHIC$ac_delim
55539 USE_PLUGINS!$USE_PLUGINS$ac_delim
55540 EXTRALIBS!$EXTRALIBS$ac_delim
55541 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
55542 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
55543 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
55544 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
55545 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
55546 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
55547 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
55548 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
55549 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
55550 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
55551 UNICODE!$UNICODE$ac_delim
55552 BUILD!$BUILD$ac_delim
55553 DEBUG_INFO!$DEBUG_INFO$ac_delim
55554 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
55555 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
55556 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
55557 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
55558 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
55559 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
55560 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
55561 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
55562 SET_MAKE!$SET_MAKE$ac_delim
55563 MAKE_SET!$MAKE_SET$ac_delim
55564 AROPTIONS!$AROPTIONS$ac_delim
55565 NM!$NM$ac_delim
55566 INSTALL_DIR!$INSTALL_DIR$ac_delim
55567 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
55568 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
55569 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
55570 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
55571 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
55572 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
55573 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
55574 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
55575 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
55576 SO_SUFFIX!$SO_SUFFIX$ac_delim
55577 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
55578 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
55579 LIBPREFIX!$LIBPREFIX$ac_delim
55580 LIBEXT!$LIBEXT$ac_delim
55581 DLLPREFIX!$DLLPREFIX$ac_delim
55582 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
55583 dlldir!$dlldir$ac_delim
55584 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
55585 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
55586 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
55587 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
55588 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
55589 PIC_FLAG!$PIC_FLAG$ac_delim
55590 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
55591 USE_SOVERSION!$USE_SOVERSION$ac_delim
55592 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
55593 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
55594 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
55595 USE_MACVERSION!$USE_MACVERSION$ac_delim
55596 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
55597 SONAME_FLAG!$SONAME_FLAG$ac_delim
55598 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
55599 BK_DEPS!$BK_DEPS$ac_delim
55600 GCC_PCH!$GCC_PCH$ac_delim
55601 ICC_PCH!$ICC_PCH$ac_delim
55602 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
55603 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
55604 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
55605 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
55606 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
55607 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
55608 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
55609 _ACEOF
55610
55611 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55612 break
55613 elif $ac_last_try; then
55614 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55615 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55616 { (exit 1); exit 1; }; }
55617 else
55618 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55619 fi
55620 done
55621
55622 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55623 if test -n "$ac_eof"; then
55624 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55625 ac_eof=`expr $ac_eof + 1`
55626 fi
55627
55628 cat >>$CONFIG_STATUS <<_ACEOF
55629 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
55630 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55631 _ACEOF
55632 sed '
55633 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55634 s/^/s,@/; s/!/@,|#_!!_#|/
55635 :n
55636 t n
55637 s/'"$ac_delim"'$/,g/; t
55638 s/$/\\/; p
55639 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55640 ' >>$CONFIG_STATUS <conf$$subs.sed
55641 rm -f conf$$subs.sed
55642 cat >>$CONFIG_STATUS <<_ACEOF
55643 CEOF$ac_eof
55644 _ACEOF
55645
55646
55647 ac_delim='%!_!# '
55648 for ac_last_try in false false false false false :; do
55649 cat >conf$$subs.sed <<_ACEOF
55650 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
55651 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
55652 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
55653 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
55654 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
55655 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
55656 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
55657 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
55658 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
55659 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
55660 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
55661 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
55662 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
55663 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
55664 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
55665 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
55666 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
55667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
55668 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
55669 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
55670 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
55671 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
55672 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
55673 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
55674 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
55675 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
55676 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
55677 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
55678 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
55679 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
55680 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
55681 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
55682 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
55683 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
55684 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
55685 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
55686 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
55687 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
55688 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
55689 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
55690 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
55691 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
55692 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
55693 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
55694 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
55695 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
55696 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
55697 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
55698 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
55699 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
55700 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
55701 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
55702 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
55703 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
55704 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
55705 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
55706 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
55707 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
55708 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
55709 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
55710 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
55711 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
55712 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
55713 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
55714 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
55715 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
55716 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
55717 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
55718 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
55719 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
55720 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
55721 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
55722 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
55723 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
55724 COND_SHARED_0!$COND_SHARED_0$ac_delim
55725 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
55726 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
55727 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
55728 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
55729 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
55730 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
55731 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
55732 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
55733 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
55734 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
55735 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
55736 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
55737 COND_SHARED_1!$COND_SHARED_1$ac_delim
55738 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
55739 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
55740 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
55741 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
55742 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
55743 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
55744 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
55745 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
55746 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
55747 _ACEOF
55748
55749 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55750 break
55751 elif $ac_last_try; then
55752 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55753 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55754 { (exit 1); exit 1; }; }
55755 else
55756 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55757 fi
55758 done
55759
55760 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55761 if test -n "$ac_eof"; then
55762 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55763 ac_eof=`expr $ac_eof + 1`
55764 fi
55765
55766 cat >>$CONFIG_STATUS <<_ACEOF
55767 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
55768 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55769 _ACEOF
55770 sed '
55771 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55772 s/^/s,@/; s/!/@,|#_!!_#|/
55773 :n
55774 t n
55775 s/'"$ac_delim"'$/,g/; t
55776 s/$/\\/; p
55777 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55778 ' >>$CONFIG_STATUS <conf$$subs.sed
55779 rm -f conf$$subs.sed
55780 cat >>$CONFIG_STATUS <<_ACEOF
55781 CEOF$ac_eof
55782 _ACEOF
55783
55784
55785 ac_delim='%!_!# '
55786 for ac_last_try in false false false false false :; do
55787 cat >conf$$subs.sed <<_ACEOF
55788 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
55789 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
55790 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
55791 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
55792 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
55793 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
55794 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
55795 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
55796 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
55797 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
55798 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
55799 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
55800 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
55801 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
55802 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
55803 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
55804 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
55805 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
55806 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
55807 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
55808 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
55809 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
55810 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
55811 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
55812 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
55813 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
55814 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
55815 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
55816 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
55817 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
55818 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
55819 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
55820 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
55821 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
55822 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
55823 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
55824 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
55825 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
55826 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
55827 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
55828 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
55829 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
55830 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
55831 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
55832 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
55833 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
55834 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
55835 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
55836 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
55837 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
55838 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
55839 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
55840 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
55841 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
55842 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
55843 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
55844 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
55845 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
55846 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
55847 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
55848 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
55849 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
55850 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
55851 SHARED!$SHARED$ac_delim
55852 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
55853 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
55854 USE_GUI!$USE_GUI$ac_delim
55855 AFMINSTALL!$AFMINSTALL$ac_delim
55856 WIN32INSTALL!$WIN32INSTALL$ac_delim
55857 TOOLKIT!$TOOLKIT$ac_delim
55858 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
55859 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
55860 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
55861 cross_compiling!$cross_compiling$ac_delim
55862 WIDGET_SET!$WIDGET_SET$ac_delim
55863 WX_RELEASE!$WX_RELEASE$ac_delim
55864 WX_VERSION!$WX_VERSION$ac_delim
55865 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
55866 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
55867 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
55868 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
55869 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
55870 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
55871 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
55872 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
55873 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
55874 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
55875 EXE_LINKER!$EXE_LINKER$ac_delim
55876 GUIDIST!$GUIDIST$ac_delim
55877 DISTDIR!$DISTDIR$ac_delim
55878 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
55879 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
55880 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
55881 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
55882 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
55883 RESCOMP!$RESCOMP$ac_delim
55884 RESFLAGS!$RESFLAGS$ac_delim
55885 _ACEOF
55886
55887 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55888 break
55889 elif $ac_last_try; then
55890 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55891 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55892 { (exit 1); exit 1; }; }
55893 else
55894 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55895 fi
55896 done
55897
55898 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55899 if test -n "$ac_eof"; then
55900 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55901 ac_eof=`expr $ac_eof + 1`
55902 fi
55903
55904 cat >>$CONFIG_STATUS <<_ACEOF
55905 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
55906 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55907 _ACEOF
55908 sed '
55909 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55910 s/^/s,@/; s/!/@,|#_!!_#|/
55911 :n
55912 t n
55913 s/'"$ac_delim"'$/,g/; t
55914 s/$/\\/; p
55915 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55916 ' >>$CONFIG_STATUS <conf$$subs.sed
55917 rm -f conf$$subs.sed
55918 cat >>$CONFIG_STATUS <<_ACEOF
55919 CEOF$ac_eof
55920 _ACEOF
55921
55922
55923 ac_delim='%!_!# '
55924 for ac_last_try in false false false false false :; do
55925 cat >conf$$subs.sed <<_ACEOF
55926 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
55927 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
55928 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
55929 LIBWXMACRES!$LIBWXMACRES$ac_delim
55930 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
55931 MACSETFILE!$MACSETFILE$ac_delim
55932 GCC!$GCC$ac_delim
55933 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
55934 LIBOBJS!$LIBOBJS$ac_delim
55935 LTLIBOBJS!$LTLIBOBJS$ac_delim
55936 _ACEOF
55937
55938 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
55939 break
55940 elif $ac_last_try; then
55941 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55942 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55943 { (exit 1); exit 1; }; }
55944 else
55945 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55946 fi
55947 done
55948
55949 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55950 if test -n "$ac_eof"; then
55951 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55952 ac_eof=`expr $ac_eof + 1`
55953 fi
55954
55955 cat >>$CONFIG_STATUS <<_ACEOF
55956 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
55957 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
55958 _ACEOF
55959 sed '
55960 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55961 s/^/s,@/; s/!/@,|#_!!_#|/
55962 :n
55963 t n
55964 s/'"$ac_delim"'$/,g/; t
55965 s/$/\\/; p
55966 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55967 ' >>$CONFIG_STATUS <conf$$subs.sed
55968 rm -f conf$$subs.sed
55969 cat >>$CONFIG_STATUS <<_ACEOF
55970 :end
55971 s/|#_!!_#|//g
55972 CEOF$ac_eof
55973 _ACEOF
55974
55975
55976 # VPATH may cause trouble with some makes, so we remove $(srcdir),
55977 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
55978 # trailing colons and then remove the whole line if VPATH becomes empty
55979 # (actually we leave an empty line to preserve line numbers).
55980 if test "x$srcdir" = x.; then
55981 ac_vpsub='/^[ ]*VPATH[ ]*=/{
55982 s/:*\$(srcdir):*/:/
55983 s/:*\${srcdir}:*/:/
55984 s/:*@srcdir@:*/:/
55985 s/^\([^=]*=[ ]*\):*/\1/
55986 s/:*$//
55987 s/^[^=]*=[ ]*$//
55988 }'
55989 fi
55990
55991 cat >>$CONFIG_STATUS <<\_ACEOF
55992 fi # test -n "$CONFIG_FILES"
55993
55994
55995 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
55996 do
55997 case $ac_tag in
55998 :[FHLC]) ac_mode=$ac_tag; continue;;
55999 esac
56000 case $ac_mode$ac_tag in
56001 :[FHL]*:*);;
56002 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
56003 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
56004 { (exit 1); exit 1; }; };;
56005 :[FH]-) ac_tag=-:-;;
56006 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
56007 esac
56008 ac_save_IFS=$IFS
56009 IFS=:
56010 set x $ac_tag
56011 IFS=$ac_save_IFS
56012 shift
56013 ac_file=$1
56014 shift
56015
56016 case $ac_mode in
56017 :L) ac_source=$1;;
56018 :[FH])
56019 ac_file_inputs=
56020 for ac_f
56021 do
56022 case $ac_f in
56023 -) ac_f="$tmp/stdin";;
56024 *) # Look for the file first in the build tree, then in the source tree
56025 # (if the path is not absolute). The absolute path cannot be DOS-style,
56026 # because $ac_f cannot contain `:'.
56027 test -f "$ac_f" ||
56028 case $ac_f in
56029 [\\/$]*) false;;
56030 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
56031 esac ||
56032 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
56033 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
56034 { (exit 1); exit 1; }; };;
56035 esac
56036 ac_file_inputs="$ac_file_inputs $ac_f"
56037 done
56038
56039 # Let's still pretend it is `configure' which instantiates (i.e., don't
56040 # use $as_me), people would be surprised to read:
56041 # /* config.h. Generated by config.status. */
56042 configure_input="Generated from "`IFS=:
56043 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
56044 if test x"$ac_file" != x-; then
56045 configure_input="$ac_file. $configure_input"
56046 { echo "$as_me:$LINENO: creating $ac_file" >&5
56047 echo "$as_me: creating $ac_file" >&6;}
56048 fi
56049
56050 case $ac_tag in
56051 *:-:* | *:-) cat >"$tmp/stdin";;
56052 esac
56053 ;;
56054 esac
56055
56056 ac_dir=`$as_dirname -- "$ac_file" ||
56057 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56058 X"$ac_file" : 'X\(//\)[^/]' \| \
56059 X"$ac_file" : 'X\(//\)$' \| \
56060 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
56061 echo X"$ac_file" |
56062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56063 s//\1/
56064 q
56065 }
56066 /^X\(\/\/\)[^/].*/{
56067 s//\1/
56068 q
56069 }
56070 /^X\(\/\/\)$/{
56071 s//\1/
56072 q
56073 }
56074 /^X\(\/\).*/{
56075 s//\1/
56076 q
56077 }
56078 s/.*/./; q'`
56079 { as_dir="$ac_dir"
56080 case $as_dir in #(
56081 -*) as_dir=./$as_dir;;
56082 esac
56083 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
56084 as_dirs=
56085 while :; do
56086 case $as_dir in #(
56087 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
56088 *) as_qdir=$as_dir;;
56089 esac
56090 as_dirs="'$as_qdir' $as_dirs"
56091 as_dir=`$as_dirname -- "$as_dir" ||
56092 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56093 X"$as_dir" : 'X\(//\)[^/]' \| \
56094 X"$as_dir" : 'X\(//\)$' \| \
56095 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
56096 echo X"$as_dir" |
56097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56098 s//\1/
56099 q
56100 }
56101 /^X\(\/\/\)[^/].*/{
56102 s//\1/
56103 q
56104 }
56105 /^X\(\/\/\)$/{
56106 s//\1/
56107 q
56108 }
56109 /^X\(\/\).*/{
56110 s//\1/
56111 q
56112 }
56113 s/.*/./; q'`
56114 test -d "$as_dir" && break
56115 done
56116 test -z "$as_dirs" || eval "mkdir $as_dirs"
56117 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
56118 echo "$as_me: error: cannot create directory $as_dir" >&2;}
56119 { (exit 1); exit 1; }; }; }
56120 ac_builddir=.
56121
56122 case "$ac_dir" in
56123 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
56124 *)
56125 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
56126 # A ".." for each directory in $ac_dir_suffix.
56127 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
56128 case $ac_top_builddir_sub in
56129 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
56130 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
56131 esac ;;
56132 esac
56133 ac_abs_top_builddir=$ac_pwd
56134 ac_abs_builddir=$ac_pwd$ac_dir_suffix
56135 # for backward compatibility:
56136 ac_top_builddir=$ac_top_build_prefix
56137
56138 case $srcdir in
56139 .) # We are building in place.
56140 ac_srcdir=.
56141 ac_top_srcdir=$ac_top_builddir_sub
56142 ac_abs_top_srcdir=$ac_pwd ;;
56143 [\\/]* | ?:[\\/]* ) # Absolute name.
56144 ac_srcdir=$srcdir$ac_dir_suffix;
56145 ac_top_srcdir=$srcdir
56146 ac_abs_top_srcdir=$srcdir ;;
56147 *) # Relative name.
56148 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
56149 ac_top_srcdir=$ac_top_build_prefix$srcdir
56150 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
56151 esac
56152 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
56153
56154
56155 case $ac_mode in
56156 :F)
56157 #
56158 # CONFIG_FILE
56159 #
56160
56161 case $INSTALL in
56162 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
56163 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
56164 esac
56165 _ACEOF
56166
56167 cat >>$CONFIG_STATUS <<\_ACEOF
56168 # If the template does not know about datarootdir, expand it.
56169 # FIXME: This hack should be removed a few years after 2.60.
56170 ac_datarootdir_hack=; ac_datarootdir_seen=
56171
56172 case `sed -n '/datarootdir/ {
56173 p
56174 q
56175 }
56176 /@datadir@/p
56177 /@docdir@/p
56178 /@infodir@/p
56179 /@localedir@/p
56180 /@mandir@/p
56181 ' $ac_file_inputs` in
56182 *datarootdir*) ac_datarootdir_seen=yes;;
56183 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
56184 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
56185 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
56186 _ACEOF
56187 cat >>$CONFIG_STATUS <<_ACEOF
56188 ac_datarootdir_hack='
56189 s&@datadir@&$datadir&g
56190 s&@docdir@&$docdir&g
56191 s&@infodir@&$infodir&g
56192 s&@localedir@&$localedir&g
56193 s&@mandir@&$mandir&g
56194 s&\\\${datarootdir}&$datarootdir&g' ;;
56195 esac
56196 _ACEOF
56197
56198 # Neutralize VPATH when `$srcdir' = `.'.
56199 # Shell code in configure.ac might set extrasub.
56200 # FIXME: do we really want to maintain this feature?
56201 cat >>$CONFIG_STATUS <<_ACEOF
56202 sed "$ac_vpsub
56203 $extrasub
56204 _ACEOF
56205 cat >>$CONFIG_STATUS <<\_ACEOF
56206 :t
56207 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56208 s&@configure_input@&$configure_input&;t t
56209 s&@top_builddir@&$ac_top_builddir_sub&;t t
56210 s&@srcdir@&$ac_srcdir&;t t
56211 s&@abs_srcdir@&$ac_abs_srcdir&;t t
56212 s&@top_srcdir@&$ac_top_srcdir&;t t
56213 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
56214 s&@builddir@&$ac_builddir&;t t
56215 s&@abs_builddir@&$ac_abs_builddir&;t t
56216 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
56217 s&@INSTALL@&$ac_INSTALL&;t t
56218 $ac_datarootdir_hack
56219 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" | sed -f "$tmp/subs-4.sed" | sed -f "$tmp/subs-5.sed" >$tmp/out
56220
56221 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
56222 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
56223 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
56224 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
56225 which seems to be undefined. Please make sure it is defined." >&5
56226 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
56227 which seems to be undefined. Please make sure it is defined." >&2;}
56228
56229 rm -f "$tmp/stdin"
56230 case $ac_file in
56231 -) cat "$tmp/out"; rm -f "$tmp/out";;
56232 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
56233 esac
56234 ;;
56235 :H)
56236 #
56237 # CONFIG_HEADER
56238 #
56239 _ACEOF
56240
56241 # Transform confdefs.h into a sed script `conftest.defines', that
56242 # substitutes the proper values into config.h.in to produce config.h.
56243 rm -f conftest.defines conftest.tail
56244 # First, append a space to every undef/define line, to ease matching.
56245 echo 's/$/ /' >conftest.defines
56246 # Then, protect against being on the right side of a sed subst, or in
56247 # an unquoted here document, in config.status. If some macros were
56248 # called several times there might be several #defines for the same
56249 # symbol, which is useless. But do not sort them, since the last
56250 # AC_DEFINE must be honored.
56251 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
56252 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
56253 # NAME is the cpp macro being defined, VALUE is the value it is being given.
56254 # PARAMS is the parameter list in the macro definition--in most cases, it's
56255 # just an empty string.
56256 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
56257 ac_dB='\\)[ (].*,\\1define\\2'
56258 ac_dC=' '
56259 ac_dD=' ,'
56260
56261 uniq confdefs.h |
56262 sed -n '
56263 t rset
56264 :rset
56265 s/^[ ]*#[ ]*define[ ][ ]*//
56266 t ok
56267 d
56268 :ok
56269 s/[\\&,]/\\&/g
56270 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
56271 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
56272 ' >>conftest.defines
56273
56274 # Remove the space that was appended to ease matching.
56275 # Then replace #undef with comments. This is necessary, for
56276 # example, in the case of _POSIX_SOURCE, which is predefined and required
56277 # on some systems where configure will not decide to define it.
56278 # (The regexp can be short, since the line contains either #define or #undef.)
56279 echo 's/ $//
56280 s,^[ #]*u.*,/* & */,' >>conftest.defines
56281
56282 # Break up conftest.defines:
56283 ac_max_sed_lines=50
56284
56285 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
56286 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
56287 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
56288 # et cetera.
56289 ac_in='$ac_file_inputs'
56290 ac_out='"$tmp/out1"'
56291 ac_nxt='"$tmp/out2"'
56292
56293 while :
56294 do
56295 # Write a here document:
56296 cat >>$CONFIG_STATUS <<_ACEOF
56297 # First, check the format of the line:
56298 cat >"\$tmp/defines.sed" <<\\CEOF
56299 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
56300 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
56301 b
56302 :def
56303 _ACEOF
56304 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
56305 echo 'CEOF
56306 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
56307 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
56308 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
56309 grep . conftest.tail >/dev/null || break
56310 rm -f conftest.defines
56311 mv conftest.tail conftest.defines
56312 done
56313 rm -f conftest.defines conftest.tail
56314
56315 echo "ac_result=$ac_in" >>$CONFIG_STATUS
56316 cat >>$CONFIG_STATUS <<\_ACEOF
56317 if test x"$ac_file" != x-; then
56318 echo "/* $configure_input */" >"$tmp/config.h"
56319 cat "$ac_result" >>"$tmp/config.h"
56320 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
56321 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
56322 echo "$as_me: $ac_file is unchanged" >&6;}
56323 else
56324 rm -f $ac_file
56325 mv "$tmp/config.h" $ac_file
56326 fi
56327 else
56328 echo "/* $configure_input */"
56329 cat "$ac_result"
56330 fi
56331 rm -f "$tmp/out12"
56332 ;;
56333
56334 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
56335 echo "$as_me: executing $ac_file commands" >&6;}
56336 ;;
56337 esac
56338
56339
56340 case $ac_file$ac_mode in
56341 "rcdefs.h":C)
56342 mkdir -p $outdir &&
56343 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
56344 ;;
56345 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
56346 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
56347 "wx-config":C) rm -f wx-config
56348 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
56349 ;;
56350
56351 esac
56352 done # for ac_tag
56353
56354
56355 { (exit 0); exit 0; }
56356 _ACEOF
56357 chmod +x $CONFIG_STATUS
56358 ac_clean_files=$ac_clean_files_save
56359
56360
56361 # configure is writing to config.log, and then calls config.status.
56362 # config.status does its own redirection, appending to config.log.
56363 # Unfortunately, on DOS this fails, as config.log is still kept open
56364 # by configure, so config.status won't be able to write to it; its
56365 # output is simply discarded. So we exec the FD to /dev/null,
56366 # effectively closing config.log, so it can be properly (re)opened and
56367 # appended to by config.status. When coming back to configure, we
56368 # need to make the FD available again.
56369 if test "$no_create" != yes; then
56370 ac_cs_success=:
56371 ac_config_status_args=
56372 test "$silent" = yes &&
56373 ac_config_status_args="$ac_config_status_args --quiet"
56374 exec 5>/dev/null
56375 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
56376 exec 5>>config.log
56377 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
56378 # would make configure fail if this is the last instruction.
56379 $ac_cs_success || { (exit 1); exit 1; }
56380 fi
56381
56382 #
56383 # CONFIG_SUBDIRS section.
56384 #
56385 if test "$no_recursion" != yes; then
56386
56387 # Remove --cache-file and --srcdir arguments so they do not pile up.
56388 ac_sub_configure_args=
56389 ac_prev=
56390 eval "set x $ac_configure_args"
56391 shift
56392 for ac_arg
56393 do
56394 if test -n "$ac_prev"; then
56395 ac_prev=
56396 continue
56397 fi
56398 case $ac_arg in
56399 -cache-file | --cache-file | --cache-fil | --cache-fi \
56400 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
56401 ac_prev=cache_file ;;
56402 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
56403 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
56404 | --c=*)
56405 ;;
56406 --config-cache | -C)
56407 ;;
56408 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
56409 ac_prev=srcdir ;;
56410 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
56411 ;;
56412 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
56413 ac_prev=prefix ;;
56414 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
56415 ;;
56416 *)
56417 case $ac_arg in
56418 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
56419 esac
56420 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
56421 esac
56422 done
56423
56424 # Always prepend --prefix to ensure using the same prefix
56425 # in subdir configurations.
56426 ac_arg="--prefix=$prefix"
56427 case $ac_arg in
56428 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
56429 esac
56430 ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
56431
56432 ac_popdir=`pwd`
56433 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
56434
56435 # Do not complain, so a configure script can configure whichever
56436 # parts of a large source tree are present.
56437 test -d "$srcdir/$ac_dir" || continue
56438
56439 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
56440 echo "$as_me:$LINENO: $ac_msg" >&5
56441 echo "$ac_msg" >&6
56442 { as_dir="$ac_dir"
56443 case $as_dir in #(
56444 -*) as_dir=./$as_dir;;
56445 esac
56446 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
56447 as_dirs=
56448 while :; do
56449 case $as_dir in #(
56450 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
56451 *) as_qdir=$as_dir;;
56452 esac
56453 as_dirs="'$as_qdir' $as_dirs"
56454 as_dir=`$as_dirname -- "$as_dir" ||
56455 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56456 X"$as_dir" : 'X\(//\)[^/]' \| \
56457 X"$as_dir" : 'X\(//\)$' \| \
56458 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
56459 echo X"$as_dir" |
56460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56461 s//\1/
56462 q
56463 }
56464 /^X\(\/\/\)[^/].*/{
56465 s//\1/
56466 q
56467 }
56468 /^X\(\/\/\)$/{
56469 s//\1/
56470 q
56471 }
56472 /^X\(\/\).*/{
56473 s//\1/
56474 q
56475 }
56476 s/.*/./; q'`
56477 test -d "$as_dir" && break
56478 done
56479 test -z "$as_dirs" || eval "mkdir $as_dirs"
56480 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
56481 echo "$as_me: error: cannot create directory $as_dir" >&2;}
56482 { (exit 1); exit 1; }; }; }
56483 ac_builddir=.
56484
56485 case "$ac_dir" in
56486 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
56487 *)
56488 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
56489 # A ".." for each directory in $ac_dir_suffix.
56490 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
56491 case $ac_top_builddir_sub in
56492 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
56493 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
56494 esac ;;
56495 esac
56496 ac_abs_top_builddir=$ac_pwd
56497 ac_abs_builddir=$ac_pwd$ac_dir_suffix
56498 # for backward compatibility:
56499 ac_top_builddir=$ac_top_build_prefix
56500
56501 case $srcdir in
56502 .) # We are building in place.
56503 ac_srcdir=.
56504 ac_top_srcdir=$ac_top_builddir_sub
56505 ac_abs_top_srcdir=$ac_pwd ;;
56506 [\\/]* | ?:[\\/]* ) # Absolute name.
56507 ac_srcdir=$srcdir$ac_dir_suffix;
56508 ac_top_srcdir=$srcdir
56509 ac_abs_top_srcdir=$srcdir ;;
56510 *) # Relative name.
56511 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
56512 ac_top_srcdir=$ac_top_build_prefix$srcdir
56513 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
56514 esac
56515 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
56516
56517
56518 cd "$ac_dir"
56519
56520 # Check for guested configure; otherwise get Cygnus style configure.
56521 if test -f "$ac_srcdir/configure.gnu"; then
56522 ac_sub_configure=$ac_srcdir/configure.gnu
56523 elif test -f "$ac_srcdir/configure"; then
56524 ac_sub_configure=$ac_srcdir/configure
56525 elif test -f "$ac_srcdir/configure.in"; then
56526 # This should be Cygnus configure.
56527 ac_sub_configure=$ac_aux_dir/configure
56528 else
56529 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
56530 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
56531 ac_sub_configure=
56532 fi
56533
56534 # The recursion is here.
56535 if test -n "$ac_sub_configure"; then
56536 # Make the cache file name correct relative to the subdirectory.
56537 case $cache_file in
56538 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
56539 *) # Relative name.
56540 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
56541 esac
56542
56543 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
56544 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
56545 # The eval makes quoting arguments work.
56546 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
56547 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
56548 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
56549 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
56550 { (exit 1); exit 1; }; }
56551 fi
56552
56553 cd "$ac_popdir"
56554 done
56555 fi
56556
56557
56558 echo
56559 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
56560 echo ""
56561 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
56562 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
56563
56564 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
56565 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
56566 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
56567
56568 echo " What level of wxWidgets compatibility should be enabled?"
56569 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
56570 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
56571
56572 echo " Which libraries should wxWidgets use?"
56573 echo " jpeg ${wxUSE_LIBJPEG-none}"
56574 echo " png ${wxUSE_LIBPNG-none}"
56575 echo " regex ${wxUSE_REGEX}"
56576 echo " tiff ${wxUSE_LIBTIFF-none}"
56577 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
56578 echo " xpm ${wxUSE_LIBXPM-none}"
56579 fi
56580 echo " zlib ${wxUSE_ZLIB}"
56581 echo " odbc ${wxUSE_ODBC}"
56582 echo " expat ${wxUSE_EXPAT}"
56583 echo " libmspack ${wxUSE_LIBMSPACK}"
56584 echo " sdl ${wxUSE_LIBSDL}"
56585
56586 echo ""
56587