]> git.saurik.com Git - wxWidgets.git/blob - configure
added wxMSW-specific wxEntryStart() overload taking WinMain-like parameters
[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.61 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 more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 REZ
711 DEREZ
712 SETFILE
713 LIBICONV
714 SDL_CONFIG
715 SDL_CFLAGS
716 SDL_LIBS
717 LIBGNOMEPRINTUI_CFLAGS
718 LIBGNOMEPRINTUI_LIBS
719 GNOMEVFS_CFLAGS
720 GNOMEVFS_LIBS
721 HILDON_CFLAGS
722 HILDON_LIBS
723 CAIRO_CFLAGS
724 CAIRO_LIBS
725 GST_CFLAGS
726 GST_LIBS
727 CORE_BASE_LIBS
728 CORE_GUI_LIBS
729 wxUSE_ZLIB
730 wxUSE_REGEX
731 wxUSE_EXPAT
732 wxUSE_ODBC
733 wxUSE_LIBJPEG
734 wxUSE_LIBPNG
735 wxUSE_LIBTIFF
736 VENDOR
737 OFFICIAL_BUILD
738 WX_FLAVOUR
739 WX_LIB_FLAVOUR
740 WXUNIV
741 MONOLITHIC
742 USE_PLUGINS
743 CXXWARNINGS
744 EXTRALIBS
745 EXTRALIBS_XML
746 EXTRALIBS_HTML
747 EXTRALIBS_ODBC
748 EXTRALIBS_GUI
749 EXTRALIBS_OPENGL
750 EXTRALIBS_SDL
751 WITH_PLUGIN_SDL
752 EXTRALIBS_GNOMEPRINT
753 EXTRALIBS_GNOMEVFS
754 EXTRALIBS_HILDON
755 UNICODE
756 BUILD
757 DEBUG_INFO
758 DEBUG_FLAG
759 TOOLKIT_LOWERCASE
760 TOOLKIT_VERSION
761 SAMPLES_RPATH_FLAG
762 SAMPLES_RPATH_POSTLINK
763 HOST_SUFFIX
764 CPPUNIT_CFLAGS
765 CPPUNIT_LIBS
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 GCC_PCH
805 ICC_PCH
806 BK_MAKE_PCH
807 COND_BUILD_DEBUG
808 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
809 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
810 COND_BUILD_DEBUG_UNICODE_0
811 COND_BUILD_DEBUG_UNICODE_1
812 COND_BUILD_RELEASE
813 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
814 COND_BUILD_RELEASE_UNICODE_0
815 COND_BUILD_RELEASE_UNICODE_1
816 COND_DEBUG_FLAG_1
817 COND_DEBUG_INFO_0
818 COND_DEBUG_INFO_1
819 COND_DEPS_TRACKING_0
820 COND_DEPS_TRACKING_1
821 COND_GCC_PCH_1
822 COND_ICC_PCH_1
823 COND_MONOLITHIC_0
824 COND_MONOLITHIC_0_SHARED_0
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
833 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_1
836 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_ODBC_1
853 COND_MONOLITHIC_0_USE_QA_1
854 COND_MONOLITHIC_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_USE_STC_1
856 COND_MONOLITHIC_0_USE_XRC_1
857 COND_MONOLITHIC_1
858 COND_MONOLITHIC_1_SHARED_0
859 COND_MONOLITHIC_1_SHARED_1
860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
861 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
864 COND_PLATFORM_MACOSX_1
865 COND_PLATFORM_MACOSX_1_TOOLKIT_
866 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
867 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
871 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
872 COND_PLATFORM_MACOSX_1_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
874 COND_PLATFORM_MACOS_1
875 COND_PLATFORM_MAC_1
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
878 COND_PLATFORM_OS2_1
879 COND_PLATFORM_UNIX_0
880 COND_PLATFORM_UNIX_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
887 COND_SHARED_0
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_USE_XRC_1
897 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
898 COND_SHARED_0_WXUSE_ODBC_BUILTIN
899 COND_SHARED_0_WXUSE_REGEX_BUILTIN
900 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
901 COND_SHARED_1
902 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
903 COND_SHARED_1_USE_XRC_1
904 COND_TOOLKIT_
905 COND_TOOLKIT_COCOA
906 COND_TOOLKIT_COCOA_USE_GUI_1
907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_DFB
909 COND_TOOLKIT_DFB_USE_GUI_1
910 COND_TOOLKIT_GTK
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_USE_GUI_1
918 COND_TOOLKIT_MAC
919 COND_TOOLKIT_MAC_USE_GUI_1
920 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MGL
922 COND_TOOLKIT_MGL_USE_GUI_1
923 COND_TOOLKIT_MOTIF
924 COND_TOOLKIT_MOTIF_USE_GUI_1
925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MSW
927 COND_TOOLKIT_MSW_USE_GUI_1
928 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_WXUNIV_0
930 COND_TOOLKIT_PM
931 COND_TOOLKIT_PM_USE_GUI_1
932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_WINCE
934 COND_TOOLKIT_WINCE_USE_GUI_1
935 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_WXUNIV_0
937 COND_TOOLKIT_X11
938 COND_TOOLKIT_X11_USE_GUI_1
939 COND_UNICODE_1
940 COND_USE_EXCEPTIONS_0
941 COND_USE_EXCEPTIONS_1
942 COND_USE_GUI_0
943 COND_USE_GUI_1
944 COND_USE_GUI_1_USE_OPENGL_1
945 COND_USE_GUI_1_WXUNIV_0
946 COND_USE_GUI_1_WXUNIV_1
947 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
949 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
950 COND_USE_ODBC_1
951 COND_USE_OPENGL_1
952 COND_USE_PCH_1
953 COND_USE_PLUGINS_0
954 COND_USE_RTTI_0
955 COND_USE_RTTI_1
956 COND_USE_SOSYMLINKS_1
957 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
958 COND_USE_SOVERLINUX_1
959 COND_USE_SOVERSION_0
960 COND_USE_SOVERSOLARIS_1
961 COND_USE_STC_1
962 COND_USE_THREADS_0
963 COND_USE_THREADS_1
964 COND_USE_XRC_1
965 COND_WINDOWS_IMPLIB_1
966 COND_WITH_PLUGIN_SDL_1
967 COND_WXUNIV_0
968 COND_WXUNIV_1
969 COND_WXUSE_EXPAT_BUILTIN
970 COND_WXUSE_LIBJPEG_BUILTIN
971 COND_WXUSE_LIBPNG_BUILTIN
972 COND_WXUSE_LIBTIFF_BUILTIN
973 COND_WXUSE_ODBC_BUILTIN
974 COND_WXUSE_REGEX_BUILTIN
975 COND_WXUSE_ZLIB_BUILTIN
976 SHARED
977 WX_LIBRARY_BASENAME_NOGUI
978 WX_LIBRARY_BASENAME_GUI
979 USE_GUI
980 AFMINSTALL
981 WIN32INSTALL
982 TOOLKIT
983 TOOLKIT_DIR
984 TOOLCHAIN_NAME
985 TOOLCHAIN_FULLNAME
986 cross_compiling
987 WIDGET_SET
988 WX_RELEASE
989 WX_VERSION
990 WX_SUBVERSION
991 WX_CHARTYPE
992 WX_DEBUGTYPE
993 WXCONFIG_CPPFLAGS
994 WXCONFIG_CFLAGS
995 WXCONFIG_CXXFLAGS
996 WXCONFIG_LIBS
997 WXCONFIG_RPATH
998 WXCONFIG_LDFLAGS_GUI
999 WXCONFIG_RESFLAGS
1000 EXE_LINKER
1001 GUIDIST
1002 DISTDIR
1003 SAMPLES_SUBDIRS
1004 LDFLAGS_GL
1005 OPENGL_LIBS
1006 DMALLOC_LIBS
1007 WX_VERSION_TAG
1008 RESCOMP
1009 RESFLAGS
1010 RESPROGRAMOBJ
1011 WX_RESOURCES_MACOSX_ASCII
1012 WX_RESOURCES_MACOSX_DATA
1013 LIBWXMACRES
1014 POSTLINK_COMMAND
1015 MACSETFILE
1016 GCC
1017 CPPUNIT_CONFIG
1018 LIBOBJS
1019 LTLIBOBJS'
1020 ac_subst_files=''
1021 ac_precious_vars='build_alias
1022 host_alias
1023 target_alias
1024 CC
1025 CFLAGS
1026 LDFLAGS
1027 LIBS
1028 CPPFLAGS
1029 CPP
1030 CXX
1031 CXXFLAGS
1032 CCC
1033 PKG_CONFIG
1034 DIRECTFB_CFLAGS
1035 DIRECTFB_LIBS
1036 XMKMF
1037 PANGOX_CFLAGS
1038 PANGOX_LIBS
1039 PANGOFT2_CFLAGS
1040 PANGOFT2_LIBS
1041 PANGOXFT_CFLAGS
1042 PANGOXFT_LIBS
1043 LIBGNOMEPRINTUI_CFLAGS
1044 LIBGNOMEPRINTUI_LIBS
1045 GNOMEVFS_CFLAGS
1046 GNOMEVFS_LIBS
1047 HILDON_CFLAGS
1048 HILDON_LIBS
1049 CAIRO_CFLAGS
1050 CAIRO_LIBS
1051 GST_CFLAGS
1052 GST_LIBS'
1053 ac_subdirs_all='src/expat'
1054
1055 # Initialize some variables set by options.
1056 ac_init_help=
1057 ac_init_version=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file=/dev/null
1061 exec_prefix=NONE
1062 no_create=
1063 no_recursion=
1064 prefix=NONE
1065 program_prefix=NONE
1066 program_suffix=NONE
1067 program_transform_name=s,x,x,
1068 silent=
1069 site=
1070 srcdir=
1071 verbose=
1072 x_includes=NONE
1073 x_libraries=NONE
1074
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir='${exec_prefix}/bin'
1082 sbindir='${exec_prefix}/sbin'
1083 libexecdir='${exec_prefix}/libexec'
1084 datarootdir='${prefix}/share'
1085 datadir='${datarootdir}'
1086 sysconfdir='${prefix}/etc'
1087 sharedstatedir='${prefix}/com'
1088 localstatedir='${prefix}/var'
1089 includedir='${prefix}/include'
1090 oldincludedir='/usr/include'
1091 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir='${datarootdir}/info'
1093 htmldir='${docdir}'
1094 dvidir='${docdir}'
1095 pdfdir='${docdir}'
1096 psdir='${docdir}'
1097 libdir='${exec_prefix}/lib'
1098 localedir='${datarootdir}/locale'
1099 mandir='${datarootdir}/man'
1100
1101 ac_prev=
1102 ac_dashdash=
1103 for ac_option
1104 do
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\$ac_option
1108 ac_prev=
1109 continue
1110 fi
1111
1112 case $ac_option in
1113 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1114 *) ac_optarg=yes ;;
1115 esac
1116
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1118
1119 case $ac_dashdash$ac_option in
1120 --)
1121 ac_dashdash=yes ;;
1122
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1124 ac_prev=bindir ;;
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir=$ac_optarg ;;
1127
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev=build_alias ;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias=$ac_optarg ;;
1132
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev=cache_file ;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file=$ac_optarg ;;
1139
1140 --config-cache | -C)
1141 cache_file=config.cache ;;
1142
1143 -datadir | --datadir | --datadi | --datad)
1144 ac_prev=datadir ;;
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir=$ac_optarg ;;
1147
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev=datarootdir ;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir=$ac_optarg ;;
1154
1155 -disable-* | --disable-*)
1156 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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=no ;;
1163
1164 -docdir | --docdir | --docdi | --doc | --do)
1165 ac_prev=docdir ;;
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir=$ac_optarg ;;
1168
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1170 ac_prev=dvidir ;;
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir=$ac_optarg ;;
1173
1174 -enable-* | --enable-*)
1175 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_$ac_feature=\$ac_optarg ;;
1182
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev=exec_prefix ;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix=$ac_optarg ;;
1191
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1194 with_gas=yes ;;
1195
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help=long ;;
1198 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1199 ac_init_help=recursive ;;
1200 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1201 ac_init_help=short ;;
1202
1203 -host | --host | --hos | --ho)
1204 ac_prev=host_alias ;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias=$ac_optarg ;;
1207
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 ac_prev=htmldir ;;
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 | --ht=*)
1212 htmldir=$ac_optarg ;;
1213
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev=includedir ;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir=$ac_optarg ;;
1220
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 ac_prev=infodir ;;
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir=$ac_optarg ;;
1225
1226 -libdir | --libdir | --libdi | --libd)
1227 ac_prev=libdir ;;
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir=$ac_optarg ;;
1230
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev=libexecdir ;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir=$ac_optarg ;;
1237
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev=localedir ;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir=$ac_optarg ;;
1242
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev=localstatedir ;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir=$ac_optarg ;;
1249
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 ac_prev=mandir ;;
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir=$ac_optarg ;;
1254
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1257 with_fp=no ;;
1258
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1261 no_create=yes ;;
1262
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265 no_recursion=yes ;;
1266
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev=oldincludedir ;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir=$ac_optarg ;;
1275
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 ac_prev=prefix ;;
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix=$ac_optarg ;;
1280
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev=program_prefix ;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix=$ac_optarg ;;
1287
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev=program_suffix ;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix=$ac_optarg ;;
1294
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev=program_transform_name ;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name=$ac_optarg ;;
1311
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 ac_prev=pdfdir ;;
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir=$ac_optarg ;;
1316
1317 -psdir | --psdir | --psdi | --psd | --ps)
1318 ac_prev=psdir ;;
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320 psdir=$ac_optarg ;;
1321
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1324 silent=yes ;;
1325
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 ac_prev=sbindir ;;
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 | --sbi=* | --sb=*)
1330 sbindir=$ac_optarg ;;
1331
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1335 | --sha | --sh)
1336 ac_prev=sharedstatedir ;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 | --sha=* | --sh=*)
1341 sharedstatedir=$ac_optarg ;;
1342
1343 -site | --site | --sit)
1344 ac_prev=site ;;
1345 -site=* | --site=* | --sit=*)
1346 site=$ac_optarg ;;
1347
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 ac_prev=srcdir ;;
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir=$ac_optarg ;;
1352
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev=sysconfdir ;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir=$ac_optarg ;;
1359
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev=target_alias ;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias=$ac_optarg ;;
1364
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366 verbose=yes ;;
1367
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version=: ;;
1370
1371 -with-* | --with-*)
1372 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_$ac_package=\$ac_optarg ;;
1379
1380 -without-* | --without-*)
1381 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=no ;;
1388
1389 --x)
1390 # Obsolete; use --with-x.
1391 with_x=yes ;;
1392
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev=x_includes ;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes=$ac_optarg ;;
1399
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev=x_libraries ;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries=$ac_optarg ;;
1406
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1410 ;;
1411
1412 *=*)
1413 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\$ac_optarg
1419 export $ac_envvar ;;
1420
1421 *)
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1427 ;;
1428
1429 esac
1430 done
1431
1432 if test -n "$ac_prev"; then
1433 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1436 fi
1437
1438 # Be sure to have absolute directory names.
1439 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1443 do
1444 eval ac_val=\$$ac_var
1445 case $ac_val in
1446 [\\/$]* | ?:[\\/]* ) continue;;
1447 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1448 esac
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1451 done
1452
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1456 build=$build_alias
1457 host=$host_alias
1458 target=$target_alias
1459
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x; then
1462 if test "x$build_alias" = x; then
1463 cross_compiling=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1467 cross_compiling=yes
1468 fi
1469 fi
1470
1471 ac_tool_prefix=
1472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1473
1474 test "$silent" = yes && exec 6>/dev/null
1475
1476
1477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di=`ls -di .` &&
1479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1485
1486
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1496 echo X"$0" |
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)[^/].*/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)$/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\).*/{
1510 s//\1/
1511 q
1512 }
1513 s/.*/./; q'`
1514 srcdir=$ac_confdir
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1516 srcdir=..
1517 fi
1518 else
1519 ac_srcdir_defaulted=no
1520 fi
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1525 fi
1526 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 ac_abs_confdir=`(
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1530 pwd)`
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 srcdir=.
1534 fi
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1538 case $srcdir in
1539 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1540 esac
1541 for ac_var in $ac_precious_vars; do
1542 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_env_${ac_var}_value=\$${ac_var}
1544 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1546 done
1547
1548 #
1549 # Report the --help message.
1550 #
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1554 cat <<_ACEOF
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1556
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1558
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1561
1562 Defaults for the options are specified in brackets.
1563
1564 Configuration:
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1574
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 [PREFIX]
1580
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1585
1586 For better control, use the options below.
1587
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1608 _ACEOF
1609
1610 cat <<\_ACEOF
1611
1612 X features:
1613 --x-includes=DIR X include files are in DIR
1614 --x-libraries=DIR X library files are in DIR
1615
1616 System types:
1617 --build=BUILD configure for building on BUILD [guessed]
1618 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1619 --target=TARGET configure for building compilers for TARGET [HOST]
1620 _ACEOF
1621 fi
1622
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1626 esac
1627 cat <<\_ACEOF
1628
1629 Optional Features:
1630 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1631 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1632 --enable-gui use GUI classes
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-universal use wxWidgets GUI controls instead of native ones
1636 --enable-nanox use NanoX
1637 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1638 --enable-gpe use GNOME PDA Environment features if possible
1639 --enable-shared create shared library code
1640 --enable-optimise create optimised code
1641 --enable-debug same as debug_flag and debug_info
1642 --enable-stl use STL for containers
1643 --enable-extended_rtti use extended RTTI (XTI)
1644 --enable-omf use OMF object format
1645 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1646 --enable-debug_info create code with debugging information
1647 --enable-debug_gdb create code with extra GDB debugging information
1648 --enable-debug_cntxt use wxDebugContext
1649 --enable-mem_tracing create code with memory tracing
1650 --enable-profile create code with profiling information
1651 --enable-no_rtti create code without RTTI information
1652 --enable-no_exceptions create code without C++ exceptions handling
1653 --enable-permissive compile code disregarding strict ANSI
1654 --enable-no_deps create code without dependency information
1655 --disable-vararg_macros don't use vararg macros, even if they are supported
1656 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1657 --enable-compat26 enable wxWidgets 2.6 compatibility
1658 --disable-compat28 disable wxWidgets 2.8 compatibility
1659 --disable-rpath disable use of rpath for uninstalled builds
1660 --enable-intl use internationalization system
1661 --enable-config use wxConfig (and derived) classes
1662 --enable-protocols use wxProtocol and derived classes
1663 --enable-ftp use wxFTP (requires wxProtocol
1664 --enable-http use wxHTTP (requires wxProtocol
1665 --enable-fileproto use wxFileProto class (requires wxProtocol
1666 --enable-sockets use socket/network classes
1667 --enable-ole use OLE classes (Win32 only)
1668 --enable-dataobj use data object classes
1669 --enable-ipc use interprocess communication (wxSocket etc.)
1670 --enable-apple_ieee use the Apple IEEE codec
1671 --enable-arcstream use wxArchive streams
1672 --enable-backtrace use wxStackWalker class for getting backtraces
1673 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1674 --enable-cmdline use wxCmdLineParser class
1675 --enable-datetime use wxDateTime class
1676 --enable-debugreport use wxDebugReport class
1677 --enable-dialupman use dialup network classes
1678 --enable-dynlib use wxLibrary class for DLL loading
1679 --enable-dynamicloader use (new) wxDynamicLibrary class
1680 --enable-exceptions build exception-safe library
1681 --enable-ffile use wxFFile class
1682 --enable-file use wxFile class
1683 --enable-filesystem use virtual file systems classes
1684 --enable-fontmap use font encodings conversion classes
1685 --enable-fs_archive use virtual archive filesystems
1686 --enable-fs_inet use virtual HTTP/FTP filesystems
1687 --enable-fs_zip now replaced by fs_archive
1688 --enable-geometry use geometry class
1689 --enable-log use logging system
1690 --enable-longlong use wxLongLong class
1691 --enable-mimetype use wxMimeTypesManager
1692 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1693 --enable-utf8 use UTF-8 representation for strings (Unix only)
1694 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1695 --enable-snglinst use wxSingleInstanceChecker class
1696 --enable-std_iostreams use standard C++ stream classes
1697 --enable-std_string use standard C++ string classes
1698 --enable-stdpaths use wxStandardPaths class
1699 --enable-stopwatch use wxStopWatch class
1700 --enable-streams use wxStream etc classes
1701 --enable-sysoptions use wxSystemOptions
1702 --enable-tarstream use wxTar streams
1703 --enable-textbuf use wxTextBuffer class
1704 --enable-textfile use wxTextFile class
1705 --enable-timer use wxTimer class
1706 --enable-unicode compile wxString with Unicode support
1707 --enable-sound use wxSound class
1708 --enable-mediactrl use wxMediaCtrl class
1709 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1710 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1711 --enable-zipstream use wxZip streams
1712 --enable-url use wxURL class
1713 --enable-variant use wxVariant class
1714 --enable-protocol use wxProtocol class
1715 --enable-protocol-http HTTP support in wxProtocol
1716 --enable-protocol-ftp FTP support in wxProtocol
1717 --enable-protocol-file FILE support in wxProtocol
1718 --enable-threads use threads
1719 --enable-docview use document view architecture
1720 --enable-help use help subsystem
1721 --enable-mshtmlhelp use MS HTML Help (win32)
1722 --enable-html use wxHTML sub-library
1723 --enable-htmlhelp use wxHTML-based help
1724 --enable-xrc use XRC resources sub-library
1725 --enable-aui use AUI docking library
1726 --enable-stc use wxStyledTextCtrl library
1727 --enable-constraints use layout-constraints system
1728 --enable-printarch use printing architecture
1729 --enable-mdi use multiple document interface architecture
1730 --enable-mdidoc use docview architecture with MDI
1731 --enable-loggui use standard GUI logger
1732 --enable-logwin use wxLogWindow
1733 --enable-logdialog use wxLogDialog
1734 --enable-webkit use wxWebKitCtrl (Mac)
1735 --enable-richtext use wxRichTextCtrl
1736 --enable-graphics_ctx use graphics context 2D drawing API
1737 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1738 --enable-clipboard use wxClipboard class
1739 --enable-dnd use Drag'n'Drop classes
1740 --enable-metafile use win32 metafiles
1741 --enable-controls use all usual controls
1742 --enable-accel use accelerators
1743 --enable-animatectrl use wxAnimationCtrl class
1744 --enable-button use wxButton class
1745 --enable-bmpbutton use wxBitmapButton class
1746 --enable-bmpcombobox use wxBitmapComboBox class
1747 --enable-calendar use wxCalendarCtrl class
1748 --enable-caret use wxCaret class
1749 --enable-checkbox use wxCheckBox class
1750 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1751 --enable-choice use wxChoice class
1752 --enable-choicebook use wxChoicebook class
1753 --enable-collpane use wxCollapsiblePane class
1754 --enable-colourpicker use wxColourPickerCtrl class
1755 --enable-combobox use wxComboBox class
1756 --enable-comboctrl use wxComboCtrl class
1757 --enable-datepick use wxDatePickerCtrl class
1758 --enable-dirpicker use wxDirPickerCtrl class
1759 --enable-display use wxDisplay class
1760 --enable-detect_sm use code to detect X11 session manager
1761 --enable-editablebox use wxEditableListBox class
1762 --enable-filepicker use wxFilePickerCtrl class
1763 --enable-fontpicker use wxFontPickerCtrl class
1764 --enable-gauge use wxGauge class
1765 --enable-grid use wxGrid class
1766 --enable-dataviewctrl use wxDataViewCtrl class
1767 --enable-hyperlink use wxHyperlinkCtrl class
1768 --enable-imaglist use wxImageList class
1769 --enable-listbook use wxListbook class
1770 --enable-listbox use wxListBox class
1771 --enable-listctrl use wxListCtrl class
1772 --enable-notebook use wxNotebook class
1773 --enable-odcombobox use wxOwnerDrawnComboBox class
1774 --enable-radiobox use wxRadioBox class
1775 --enable-radiobtn use wxRadioButton class
1776 --enable-sash use wxSashWindow class
1777 --enable-scrollbar use wxScrollBar class and scrollable windows
1778 --enable-searchctrl use wxSearchCtrl class
1779 --enable-slider use wxSlider class
1780 --enable-spinbtn use wxSpinButton class
1781 --enable-spinctrl use wxSpinCtrl class
1782 --enable-splitter use wxSplitterWindow class
1783 --enable-statbmp use wxStaticBitmap class
1784 --enable-statbox use wxStaticBox class
1785 --enable-statline use wxStaticLine class
1786 --enable-stattext use wxStaticText class
1787 --enable-statusbar use wxStatusBar class
1788 --enable-tabdialog use wxTabControl class
1789 --enable-textctrl use wxTextCtrl class
1790 --enable-togglebtn use wxToggleButton class
1791 --enable-toolbar use wxToolBar class
1792 --enable-tbarnative use native wxToolBar class
1793 --enable-treebook use wxTreebook class
1794 --enable-toolbook use wxToolbook class
1795 --enable-treectrl use wxTreeCtrl class
1796 --enable-tipwindow use wxTipWindow class
1797 --enable-popupwin use wxPopUpWindow class
1798 --enable-commondlg use all common dialogs
1799 --enable-aboutdlg use wxAboutBox
1800 --enable-choicedlg use wxChoiceDialog
1801 --enable-coldlg use wxColourDialog
1802 --enable-filedlg use wxFileDialog
1803 --enable-finddlg use wxFindReplaceDialog
1804 --enable-fontdlg use wxFontDialog
1805 --enable-dirdlg use wxDirDialog
1806 --enable-msgdlg use wxMessageDialog
1807 --enable-numberdlg use wxNumberEntryDialog
1808 --enable-splash use wxSplashScreen
1809 --enable-textdlg use wxTextDialog
1810 --enable-tipdlg use startup tips
1811 --enable-progressdlg use wxProgressDialog
1812 --enable-wizarddlg use wxWizard
1813 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1814 --enable-miniframe use wxMiniFrame class
1815 --enable-tooltips use wxToolTip class
1816 --enable-splines use spline drawing code
1817 --enable-mousewheel use mousewheel
1818 --enable-validators use wxValidator and derived classes
1819 --enable-busyinfo use wxBusyInfo
1820 --enable-joystick use wxJoystick
1821 --enable-metafiles use wxMetaFile (Win32 only)
1822 --enable-dragimage use wxDragImage
1823 --enable-accessibility enable accessibility support
1824 --enable-dccache cache temporary wxDC objects (Win32 only)
1825 --enable-palette use wxPalette class
1826 --enable-image use wxImage class
1827 --enable-gif use gif images (GIF file format)
1828 --enable-pcx use pcx images (PCX file format)
1829 --enable-tga use tga images (TGA file format)
1830 --enable-iff use iff images (IFF file format)
1831 --enable-pnm use pnm images (PNM file format)
1832 --enable-xpm use xpm images (XPM file format)
1833 --enable-icocur use Windows ICO and CUR formats
1834 --enable-official_build official build of wxWidgets (win32 DLL only)
1835 --enable-vendor=VENDOR vendor name (win32 DLL only)
1836 --disable-largefile omit support for large files
1837 --disable-gtktest do not try to compile and run a test GTK+ program
1838 --disable-gtktest Do not try to compile and run a test GTK program
1839 --disable-sdltest Do not try to compile and run a test SDL program
1840 --enable-omf use OMF object format (OS/2)
1841 --disable-dependency-tracking
1842 don't use dependency tracking even if the compiler
1843 can
1844 --disable-precomp-headers
1845 don't use precompiled headers even if compiler can
1846
1847 Optional Packages:
1848 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1849 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1850 --without-subdirs don't generate makefiles for samples/demos/...
1851 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1852 --with-motif use Motif/Lesstif
1853 --with-mac use Mac OS X
1854 --with-cocoa use Cocoa
1855 --with-wine use Wine
1856 --with-msw use MS-Windows
1857 --with-pm use OS/2 Presentation Manager
1858 --with-mgl use SciTech MGL
1859 --with-directfb use DirectFB
1860 --with-microwin use MicroWindows
1861 --with-x11 use X11
1862 --with-libpng use libpng (PNG image format)
1863 --with-libjpeg use libjpeg (JPEG file format)
1864 --with-libtiff use libtiff (TIFF file format)
1865 --with-libxpm use libxpm (XPM file format)
1866 --with-libmspack use libmspack (CHM help files loading)
1867 --with-sdl use SDL for audio on Unix
1868 --with-gnomeprint use GNOME print for printing under GNOME
1869 --with-gnomevfs use GNOME VFS for associating MIME types
1870 --with-hildon use Hildon framework for Nokia 770
1871 --with-opengl use OpenGL (or Mesa)
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1874 --with-regex enable support for wxRegEx class
1875 --with-zlib use zlib for LZW compression
1876 --with-odbc use the IODBC and wxODBC classes
1877 --with-expat enable XML support using expat parser
1878 --with-flavour=NAME specify a name to identify this build
1879 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1880 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1881 --with-x use the X Window System
1882 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1883 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1884 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1885 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1886 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1887
1888 Some influential environment variables:
1889 CC C compiler command
1890 CFLAGS C compiler flags
1891 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1892 nonstandard directory <lib dir>
1893 LIBS libraries to pass to the linker, e.g. -l<library>
1894 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1895 you have headers in a nonstandard directory <include dir>
1896 CPP C preprocessor
1897 CXX C++ compiler command
1898 CXXFLAGS C++ compiler flags
1899 PKG_CONFIG path to pkg-config utility
1900 DIRECTFB_CFLAGS
1901 C compiler flags for DIRECTFB, overriding pkg-config
1902 DIRECTFB_LIBS
1903 linker flags for DIRECTFB, overriding pkg-config
1904 XMKMF Path to xmkmf, Makefile generator for X Window System
1905 PANGOX_CFLAGS
1906 C compiler flags for PANGOX, overriding pkg-config
1907 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1908 PANGOFT2_CFLAGS
1909 C compiler flags for PANGOFT2, overriding pkg-config
1910 PANGOFT2_LIBS
1911 linker flags for PANGOFT2, overriding pkg-config
1912 PANGOXFT_CFLAGS
1913 C compiler flags for PANGOXFT, overriding pkg-config
1914 PANGOXFT_LIBS
1915 linker flags for PANGOXFT, overriding pkg-config
1916 LIBGNOMEPRINTUI_CFLAGS
1917 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1918 LIBGNOMEPRINTUI_LIBS
1919 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1920 GNOMEVFS_CFLAGS
1921 C compiler flags for GNOMEVFS, overriding pkg-config
1922 GNOMEVFS_LIBS
1923 linker flags for GNOMEVFS, overriding pkg-config
1924 HILDON_CFLAGS
1925 C compiler flags for HILDON, overriding pkg-config
1926 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1927 CAIRO_CFLAGS
1928 C compiler flags for CAIRO, overriding pkg-config
1929 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1930 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1931 GST_LIBS linker flags for GST, overriding pkg-config
1932
1933 Use these variables to override the choices made by `configure' or to help
1934 it to find libraries and programs with nonstandard names/locations.
1935
1936 Report bugs to <wx-dev@lists.wxwidgets.org>.
1937 _ACEOF
1938 ac_status=$?
1939 fi
1940
1941 if test "$ac_init_help" = "recursive"; then
1942 # If there are subdirs, report their specific --help.
1943 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1944 test -d "$ac_dir" || continue
1945 ac_builddir=.
1946
1947 case "$ac_dir" in
1948 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1949 *)
1950 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1951 # A ".." for each directory in $ac_dir_suffix.
1952 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1953 case $ac_top_builddir_sub in
1954 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1955 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1956 esac ;;
1957 esac
1958 ac_abs_top_builddir=$ac_pwd
1959 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1960 # for backward compatibility:
1961 ac_top_builddir=$ac_top_build_prefix
1962
1963 case $srcdir in
1964 .) # We are building in place.
1965 ac_srcdir=.
1966 ac_top_srcdir=$ac_top_builddir_sub
1967 ac_abs_top_srcdir=$ac_pwd ;;
1968 [\\/]* | ?:[\\/]* ) # Absolute name.
1969 ac_srcdir=$srcdir$ac_dir_suffix;
1970 ac_top_srcdir=$srcdir
1971 ac_abs_top_srcdir=$srcdir ;;
1972 *) # Relative name.
1973 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1974 ac_top_srcdir=$ac_top_build_prefix$srcdir
1975 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1976 esac
1977 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1978
1979 cd "$ac_dir" || { ac_status=$?; continue; }
1980 # Check for guested configure.
1981 if test -f "$ac_srcdir/configure.gnu"; then
1982 echo &&
1983 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1984 elif test -f "$ac_srcdir/configure"; then
1985 echo &&
1986 $SHELL "$ac_srcdir/configure" --help=recursive
1987 else
1988 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1989 fi || ac_status=$?
1990 cd "$ac_pwd" || { ac_status=$?; break; }
1991 done
1992 fi
1993
1994 test -n "$ac_init_help" && exit $ac_status
1995 if $ac_init_version; then
1996 cat <<\_ACEOF
1997 wxWidgets configure 2.9.0
1998 generated by GNU Autoconf 2.61
1999
2000 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2001 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2002 This configure script is free software; the Free Software Foundation
2003 gives unlimited permission to copy, distribute and modify it.
2004 _ACEOF
2005 exit
2006 fi
2007 cat >config.log <<_ACEOF
2008 This file contains any messages produced by compilers while
2009 running configure, to aid debugging if configure makes a mistake.
2010
2011 It was created by wxWidgets $as_me 2.9.0, which was
2012 generated by GNU Autoconf 2.61. Invocation command line was
2013
2014 $ $0 $@
2015
2016 _ACEOF
2017 exec 5>>config.log
2018 {
2019 cat <<_ASUNAME
2020 ## --------- ##
2021 ## Platform. ##
2022 ## --------- ##
2023
2024 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2025 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2026 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2027 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2028 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2029
2030 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2031 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2032
2033 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2034 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2035 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2036 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2037 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2038 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2039 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2040
2041 _ASUNAME
2042
2043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2044 for as_dir in $PATH
2045 do
2046 IFS=$as_save_IFS
2047 test -z "$as_dir" && as_dir=.
2048 echo "PATH: $as_dir"
2049 done
2050 IFS=$as_save_IFS
2051
2052 } >&5
2053
2054 cat >&5 <<_ACEOF
2055
2056
2057 ## ----------- ##
2058 ## Core tests. ##
2059 ## ----------- ##
2060
2061 _ACEOF
2062
2063
2064 # Keep a trace of the command line.
2065 # Strip out --no-create and --no-recursion so they do not pile up.
2066 # Strip out --silent because we don't want to record it for future runs.
2067 # Also quote any args containing shell meta-characters.
2068 # Make two passes to allow for proper duplicate-argument suppression.
2069 ac_configure_args=
2070 ac_configure_args0=
2071 ac_configure_args1=
2072 ac_must_keep_next=false
2073 for ac_pass in 1 2
2074 do
2075 for ac_arg
2076 do
2077 case $ac_arg in
2078 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2080 | -silent | --silent | --silen | --sile | --sil)
2081 continue ;;
2082 *\'*)
2083 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2084 esac
2085 case $ac_pass in
2086 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2087 2)
2088 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2089 if test $ac_must_keep_next = true; then
2090 ac_must_keep_next=false # Got value, back to normal.
2091 else
2092 case $ac_arg in
2093 *=* | --config-cache | -C | -disable-* | --disable-* \
2094 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2095 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2096 | -with-* | --with-* | -without-* | --without-* | --x)
2097 case "$ac_configure_args0 " in
2098 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2099 esac
2100 ;;
2101 -* ) ac_must_keep_next=true ;;
2102 esac
2103 fi
2104 ac_configure_args="$ac_configure_args '$ac_arg'"
2105 ;;
2106 esac
2107 done
2108 done
2109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2110 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2111
2112 # When interrupted or exit'd, cleanup temporary files, and complete
2113 # config.log. We remove comments because anyway the quotes in there
2114 # would cause problems or look ugly.
2115 # WARNING: Use '\'' to represent an apostrophe within the trap.
2116 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2117 trap 'exit_status=$?
2118 # Save into config.log some information that might help in debugging.
2119 {
2120 echo
2121
2122 cat <<\_ASBOX
2123 ## ---------------- ##
2124 ## Cache variables. ##
2125 ## ---------------- ##
2126 _ASBOX
2127 echo
2128 # The following way of writing the cache mishandles newlines in values,
2129 (
2130 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2131 eval ac_val=\$$ac_var
2132 case $ac_val in #(
2133 *${as_nl}*)
2134 case $ac_var in #(
2135 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2136 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2137 esac
2138 case $ac_var in #(
2139 _ | IFS | as_nl) ;; #(
2140 *) $as_unset $ac_var ;;
2141 esac ;;
2142 esac
2143 done
2144 (set) 2>&1 |
2145 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2146 *${as_nl}ac_space=\ *)
2147 sed -n \
2148 "s/'\''/'\''\\\\'\'''\''/g;
2149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2150 ;; #(
2151 *)
2152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2153 ;;
2154 esac |
2155 sort
2156 )
2157 echo
2158
2159 cat <<\_ASBOX
2160 ## ----------------- ##
2161 ## Output variables. ##
2162 ## ----------------- ##
2163 _ASBOX
2164 echo
2165 for ac_var in $ac_subst_vars
2166 do
2167 eval ac_val=\$$ac_var
2168 case $ac_val in
2169 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2170 esac
2171 echo "$ac_var='\''$ac_val'\''"
2172 done | sort
2173 echo
2174
2175 if test -n "$ac_subst_files"; then
2176 cat <<\_ASBOX
2177 ## ------------------- ##
2178 ## File substitutions. ##
2179 ## ------------------- ##
2180 _ASBOX
2181 echo
2182 for ac_var in $ac_subst_files
2183 do
2184 eval ac_val=\$$ac_var
2185 case $ac_val in
2186 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187 esac
2188 echo "$ac_var='\''$ac_val'\''"
2189 done | sort
2190 echo
2191 fi
2192
2193 if test -s confdefs.h; then
2194 cat <<\_ASBOX
2195 ## ----------- ##
2196 ## confdefs.h. ##
2197 ## ----------- ##
2198 _ASBOX
2199 echo
2200 cat confdefs.h
2201 echo
2202 fi
2203 test "$ac_signal" != 0 &&
2204 echo "$as_me: caught signal $ac_signal"
2205 echo "$as_me: exit $exit_status"
2206 } >&5
2207 rm -f core *.core core.conftest.* &&
2208 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2209 exit $exit_status
2210 ' 0
2211 for ac_signal in 1 2 13 15; do
2212 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2213 done
2214 ac_signal=0
2215
2216 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2217 rm -f -r conftest* confdefs.h
2218
2219 # Predefined preprocessor variables.
2220
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_NAME "$PACKAGE_NAME"
2223 _ACEOF
2224
2225
2226 cat >>confdefs.h <<_ACEOF
2227 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228 _ACEOF
2229
2230
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2233 _ACEOF
2234
2235
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_STRING "$PACKAGE_STRING"
2238 _ACEOF
2239
2240
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2243 _ACEOF
2244
2245
2246 # Let the site file select an alternate cache file if it wants to.
2247 # Prefer explicitly selected file to automatically selected ones.
2248 if test -n "$CONFIG_SITE"; then
2249 set x "$CONFIG_SITE"
2250 elif test "x$prefix" != xNONE; then
2251 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2252 else
2253 set x "$ac_default_prefix/share/config.site" \
2254 "$ac_default_prefix/etc/config.site"
2255 fi
2256 shift
2257 for ac_site_file
2258 do
2259 if test -r "$ac_site_file"; then
2260 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2261 echo "$as_me: loading site script $ac_site_file" >&6;}
2262 sed 's/^/| /' "$ac_site_file" >&5
2263 . "$ac_site_file"
2264 fi
2265 done
2266
2267 if test -r "$cache_file"; then
2268 # Some versions of bash will fail to source /dev/null (special
2269 # files actually), so we avoid doing that.
2270 if test -f "$cache_file"; then
2271 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2272 echo "$as_me: loading cache $cache_file" >&6;}
2273 case $cache_file in
2274 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2275 *) . "./$cache_file";;
2276 esac
2277 fi
2278 else
2279 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2280 echo "$as_me: creating cache $cache_file" >&6;}
2281 >$cache_file
2282 fi
2283
2284 # Check that the precious variables saved in the cache have kept the same
2285 # value.
2286 ac_cache_corrupted=false
2287 for ac_var in $ac_precious_vars; do
2288 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2289 eval ac_new_set=\$ac_env_${ac_var}_set
2290 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2291 eval ac_new_val=\$ac_env_${ac_var}_value
2292 case $ac_old_set,$ac_new_set in
2293 set,)
2294 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2295 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2296 ac_cache_corrupted=: ;;
2297 ,set)
2298 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2299 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2300 ac_cache_corrupted=: ;;
2301 ,);;
2302 *)
2303 if test "x$ac_old_val" != "x$ac_new_val"; then
2304 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2305 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2306 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2307 echo "$as_me: former value: $ac_old_val" >&2;}
2308 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2309 echo "$as_me: current value: $ac_new_val" >&2;}
2310 ac_cache_corrupted=:
2311 fi;;
2312 esac
2313 # Pass precious variables to config.status.
2314 if test "$ac_new_set" = set; then
2315 case $ac_new_val in
2316 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2317 *) ac_arg=$ac_var=$ac_new_val ;;
2318 esac
2319 case " $ac_configure_args " in
2320 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2321 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2322 esac
2323 fi
2324 done
2325 if $ac_cache_corrupted; then
2326 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2327 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2328 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2329 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2330 { (exit 1); exit 1; }; }
2331 fi
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357 ac_ext=c
2358 ac_cpp='$CPP $CPPFLAGS'
2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2362
2363
2364
2365
2366
2367 ac_aux_dir=
2368 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2369 if test -f "$ac_dir/install-sh"; then
2370 ac_aux_dir=$ac_dir
2371 ac_install_sh="$ac_aux_dir/install-sh -c"
2372 break
2373 elif test -f "$ac_dir/install.sh"; then
2374 ac_aux_dir=$ac_dir
2375 ac_install_sh="$ac_aux_dir/install.sh -c"
2376 break
2377 elif test -f "$ac_dir/shtool"; then
2378 ac_aux_dir=$ac_dir
2379 ac_install_sh="$ac_aux_dir/shtool install -c"
2380 break
2381 fi
2382 done
2383 if test -z "$ac_aux_dir"; then
2384 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2385 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2386 { (exit 1); exit 1; }; }
2387 fi
2388
2389 # These three variables are undocumented and unsupported,
2390 # and are intended to be withdrawn in a future Autoconf release.
2391 # They can cause serious problems if a builder's source tree is in a directory
2392 # whose full name contains unusual characters.
2393 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2394 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2395 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2396
2397
2398 # Make sure we can run config.sub.
2399 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2400 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2401 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2402 { (exit 1); exit 1; }; }
2403
2404 { echo "$as_me:$LINENO: checking build system type" >&5
2405 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2406 if test "${ac_cv_build+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409 ac_build_alias=$build_alias
2410 test "x$ac_build_alias" = x &&
2411 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2412 test "x$ac_build_alias" = x &&
2413 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2414 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2415 { (exit 1); exit 1; }; }
2416 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2417 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2418 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2419 { (exit 1); exit 1; }; }
2420
2421 fi
2422 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2423 echo "${ECHO_T}$ac_cv_build" >&6; }
2424 case $ac_cv_build in
2425 *-*-*) ;;
2426 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2427 echo "$as_me: error: invalid value of canonical build" >&2;}
2428 { (exit 1); exit 1; }; };;
2429 esac
2430 build=$ac_cv_build
2431 ac_save_IFS=$IFS; IFS='-'
2432 set x $ac_cv_build
2433 shift
2434 build_cpu=$1
2435 build_vendor=$2
2436 shift; shift
2437 # Remember, the first character of IFS is used to create $*,
2438 # except with old shells:
2439 build_os=$*
2440 IFS=$ac_save_IFS
2441 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2442
2443
2444 { echo "$as_me:$LINENO: checking host system type" >&5
2445 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2446 if test "${ac_cv_host+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 else
2449 if test "x$host_alias" = x; then
2450 ac_cv_host=$ac_cv_build
2451 else
2452 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2453 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2454 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2455 { (exit 1); exit 1; }; }
2456 fi
2457
2458 fi
2459 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2460 echo "${ECHO_T}$ac_cv_host" >&6; }
2461 case $ac_cv_host in
2462 *-*-*) ;;
2463 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2464 echo "$as_me: error: invalid value of canonical host" >&2;}
2465 { (exit 1); exit 1; }; };;
2466 esac
2467 host=$ac_cv_host
2468 ac_save_IFS=$IFS; IFS='-'
2469 set x $ac_cv_host
2470 shift
2471 host_cpu=$1
2472 host_vendor=$2
2473 shift; shift
2474 # Remember, the first character of IFS is used to create $*,
2475 # except with old shells:
2476 host_os=$*
2477 IFS=$ac_save_IFS
2478 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2479
2480
2481 { echo "$as_me:$LINENO: checking target system type" >&5
2482 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2483 if test "${ac_cv_target+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 else
2486 if test "x$target_alias" = x; then
2487 ac_cv_target=$ac_cv_host
2488 else
2489 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2490 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2491 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2492 { (exit 1); exit 1; }; }
2493 fi
2494
2495 fi
2496 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2497 echo "${ECHO_T}$ac_cv_target" >&6; }
2498 case $ac_cv_target in
2499 *-*-*) ;;
2500 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2501 echo "$as_me: error: invalid value of canonical target" >&2;}
2502 { (exit 1); exit 1; }; };;
2503 esac
2504 target=$ac_cv_target
2505 ac_save_IFS=$IFS; IFS='-'
2506 set x $ac_cv_target
2507 shift
2508 target_cpu=$1
2509 target_vendor=$2
2510 shift; shift
2511 # Remember, the first character of IFS is used to create $*,
2512 # except with old shells:
2513 target_os=$*
2514 IFS=$ac_save_IFS
2515 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2516
2517
2518 # The aliases save the names the user supplied, while $host etc.
2519 # will get canonicalized.
2520 test -n "$target_alias" &&
2521 test "$program_prefix$program_suffix$program_transform_name" = \
2522 NONENONEs,x,x, &&
2523 program_prefix=${target_alias}-
2524
2525
2526
2527 wx_major_version_number=2
2528 wx_minor_version_number=9
2529 wx_release_number=0
2530 wx_subrelease_number=0
2531
2532 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2533 WX_VERSION=$WX_RELEASE.$wx_release_number
2534 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2535
2536 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2537
2538
2539 wx_top_builddir="`pwd`"
2540
2541
2542
2543
2544 USE_UNIX=1
2545 USE_OS2=0
2546 USE_WIN32=0
2547 USE_DOS=0
2548 USE_BEOS=0
2549 USE_MAC=0
2550
2551 USE_AIX=
2552 USE_BSD= USE_DARWIN= USE_FREEBSD=
2553 USE_GNU= USE_HPUX=
2554 USE_LINUX=
2555 USE_NETBSD=
2556 USE_OPENBSD=
2557 USE_OSF= USE_SGI=
2558 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2559 USE_ULTRIX=
2560 USE_UNIXWARE=
2561
2562 USE_ALPHA=
2563
2564 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2565
2566 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2567
2568 DEFAULT_wxUSE_COCOA=0
2569 DEFAULT_wxUSE_GTK=0
2570 DEFAULT_wxUSE_MAC=0
2571 DEFAULT_wxUSE_MGL=0
2572 DEFAULT_wxUSE_MICROWIN=0
2573 DEFAULT_wxUSE_MOTIF=0
2574 DEFAULT_wxUSE_MSW=0
2575 DEFAULT_wxUSE_PM=0
2576 DEFAULT_wxUSE_X11=0
2577 DEFAULT_wxUSE_DFB=0
2578
2579 DEFAULT_DEFAULT_wxUSE_COCOA=0
2580 DEFAULT_DEFAULT_wxUSE_GTK=0
2581 DEFAULT_DEFAULT_wxUSE_MAC=0
2582 DEFAULT_DEFAULT_wxUSE_MGL=0
2583 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2584 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2585 DEFAULT_DEFAULT_wxUSE_MSW=0
2586 DEFAULT_DEFAULT_wxUSE_PM=0
2587 DEFAULT_DEFAULT_wxUSE_X11=0
2588 DEFAULT_DEFAULT_wxUSE_DFB=0
2589
2590 PROGRAM_EXT=
2591 SO_SUFFIX=so
2592 SAMPLES_RPATH_FLAG=
2593 SAMPLES_RPATH_POSTLINK=
2594
2595 DEFAULT_STD_FLAG=yes
2596
2597 case "${host}" in
2598 *-hp-hpux* )
2599 USE_HPUX=1
2600 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2601 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2602 SO_SUFFIX=sl
2603 cat >>confdefs.h <<\_ACEOF
2604 #define __HPUX__ 1
2605 _ACEOF
2606
2607
2608 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2609 ;;
2610 *-*-linux* )
2611 USE_LINUX=1
2612 cat >>confdefs.h <<\_ACEOF
2613 #define __LINUX__ 1
2614 _ACEOF
2615
2616 TMP=`uname -m`
2617 if test "x$TMP" = "xalpha"; then
2618 USE_ALPHA=1
2619 cat >>confdefs.h <<\_ACEOF
2620 #define __ALPHA__ 1
2621 _ACEOF
2622
2623 fi
2624 DEFAULT_DEFAULT_wxUSE_GTK=1
2625 ;;
2626 *-*-gnu* | *-*-k*bsd*-gnu )
2627 USE_GNU=1
2628 TMP=`uname -m`
2629 if test "x$TMP" = "xalpha"; then
2630 USE_ALPHA=1
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __ALPHA__ 1
2633 _ACEOF
2634
2635 fi
2636 DEFAULT_DEFAULT_wxUSE_GTK=1
2637 ;;
2638 *-*-irix5* | *-*-irix6* )
2639 USE_SGI=1
2640 USE_SVR4=1
2641 cat >>confdefs.h <<\_ACEOF
2642 #define __SGI__ 1
2643 _ACEOF
2644
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __SVR4__ 1
2647 _ACEOF
2648
2649 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2650 ;;
2651 *-*-solaris2* )
2652 USE_SUN=1
2653 USE_SOLARIS=1
2654 USE_SVR4=1
2655 cat >>confdefs.h <<\_ACEOF
2656 #define __SUN__ 1
2657 _ACEOF
2658
2659 cat >>confdefs.h <<\_ACEOF
2660 #define __SOLARIS__ 1
2661 _ACEOF
2662
2663 cat >>confdefs.h <<\_ACEOF
2664 #define __SVR4__ 1
2665 _ACEOF
2666
2667 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2668 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2669 ;;
2670 *-*-sunos4* )
2671 USE_SUN=1
2672 USE_SUNOS=1
2673 USE_BSD=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SUN__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SUNOS__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __BSD__ 1
2684 _ACEOF
2685
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2687 ;;
2688 *-*-freebsd*)
2689 USE_BSD=1
2690 USE_FREEBSD=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __FREEBSD__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __BSD__ 1
2697 _ACEOF
2698
2699 DEFAULT_DEFAULT_wxUSE_GTK=1
2700 ;;
2701 *-*-openbsd*|*-*-mirbsd*)
2702 USE_BSD=1
2703 USE_OPENBSD=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __OPENBSD__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __BSD__ 1
2710 _ACEOF
2711
2712 DEFAULT_DEFAULT_wxUSE_GTK=1
2713 ;;
2714 *-*-netbsd*)
2715 USE_BSD=1
2716 USE_NETBSD=1
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __NETBSD__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __BSD__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2727
2728 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2729 ;;
2730 *-*-osf* )
2731 USE_ALPHA=1
2732 USE_OSF=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __ALPHA__ 1
2735 _ACEOF
2736
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __OSF__ 1
2739 _ACEOF
2740
2741 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2742 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2743 ;;
2744 *-*-dgux5* )
2745 USE_ALPHA=1
2746 USE_SVR4=1
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __ALPHA__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __SVR4__ 1
2753 _ACEOF
2754
2755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2756 ;;
2757 *-*-sysv5* )
2758 USE_SYSV=1
2759 USE_SVR4=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __SYSV__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __SVR4__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 ;;
2770 *-*-aix* )
2771 USE_AIX=1
2772 USE_SYSV=1
2773 USE_SVR4=1
2774 SO_SUFFIX=a
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __AIX__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __SYSV__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SVR4__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 ;;
2789
2790 *-*-*UnixWare*)
2791 USE_SYSV=1
2792 USE_SVR4=1
2793 USE_UNIXWARE=1
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __UNIXWARE__ 1
2796 _ACEOF
2797
2798 ;;
2799
2800 *-*-cygwin* | *-*-mingw32* )
2801 SO_SUFFIX=dll
2802 PROGRAM_EXT=".exe"
2803 DEFAULT_DEFAULT_wxUSE_MSW=1
2804 ;;
2805
2806 *-pc-msdosdjgpp )
2807 USE_UNIX=0
2808 USE_DOS=1
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __DOS__ 1
2811 _ACEOF
2812
2813 PROGRAM_EXT=".exe"
2814 DEFAULT_DEFAULT_wxUSE_MGL=1
2815 ;;
2816
2817 *-pc-os2_emx | *-pc-os2-emx )
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __EMX__ 1
2820 _ACEOF
2821
2822 USE_OS2=1
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __OS2__ 1
2825 _ACEOF
2826
2827 PROGRAM_EXT=".exe"
2828 DEFAULT_DEFAULT_wxUSE_PM=1
2829 CXX=gcc
2830 LDFLAGS="$LDFLAGS -Zcrtdll"
2831 ac_executable_extensions=".exe"
2832 export ac_executable_extensions
2833 ac_save_IFS="$IFS"
2834 IFS='\\'
2835 ac_TEMP_PATH=
2836 for ac_dir in $PATH; do
2837 IFS=$ac_save_IFS
2838 if test -z "$ac_TEMP_PATH"; then
2839 ac_TEMP_PATH="$ac_dir"
2840 else
2841 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2842 fi
2843 done
2844 export PATH="$ac_TEMP_PATH"
2845 unset ac_TEMP_PATH
2846 DEFAULT_STD_FLAG=no
2847 ;;
2848
2849 *-*-darwin* )
2850 USE_BSD=1
2851 USE_DARWIN=1
2852 SO_SUFFIX=dylib
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __BSD__ 1
2855 _ACEOF
2856
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __DARWIN__ 1
2859 _ACEOF
2860
2861 cat >>confdefs.h <<\_ACEOF
2862 #define TARGET_CARBON 1
2863 _ACEOF
2864
2865 DEFAULT_DEFAULT_wxUSE_MAC=1
2866 DEFAULT_STD_FLAG=no
2867 ;;
2868 powerpc-apple-macos* )
2869 USE_UNIX=0
2870 ac_cv_c_bigendian=yes
2871 SO_SUFFIX=shlib
2872 DEFAULT_DEFAULT_wxUSE_MAC=1
2873 DEFAULT_STD_FLAG=no
2874 ;;
2875
2876 *-*-beos* )
2877 USE_BEOS=1
2878 cat >>confdefs.h <<\_ACEOF
2879 #define __BEOS__ 1
2880 _ACEOF
2881
2882 ;;
2883
2884 *)
2885 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2886 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2887 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2888 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2889
2890 DEFAULT_DEFAULT_wxUSE_X11=1
2891 DEFAULT_wxUSE_SHARED=no
2892 esac
2893
2894
2895
2896
2897 wx_arg_cache_file="configarg.cache"
2898 echo "loading argument cache $wx_arg_cache_file"
2899 rm -f ${wx_arg_cache_file}.tmp
2900 touch ${wx_arg_cache_file}.tmp
2901 touch ${wx_arg_cache_file}
2902
2903
2904 DEBUG_CONFIGURE=0
2905 if test $DEBUG_CONFIGURE = 1; then
2906 DEFAULT_wxUSE_UNIVERSAL=no
2907 DEFAULT_wxUSE_STL=no
2908 DEFAULT_wxUSE_EXTENDED_RTTI=no
2909
2910 DEFAULT_wxUSE_NANOX=no
2911
2912 DEFAULT_wxUSE_THREADS=yes
2913
2914 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2915 DEFAULT_wxUSE_OPTIMISE=no
2916 DEFAULT_wxUSE_PROFILE=no
2917 DEFAULT_wxUSE_NO_DEPS=no
2918 DEFAULT_wxUSE_VARARG_MACROS=no
2919 DEFAULT_wxUSE_NO_RTTI=no
2920 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2921 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2922 DEFAULT_wxUSE_RPATH=yes
2923 DEFAULT_wxUSE_PERMISSIVE=no
2924 DEFAULT_wxUSE_DEBUG_FLAG=yes
2925 DEFAULT_wxUSE_DEBUG_INFO=yes
2926 DEFAULT_wxUSE_DEBUG_GDB=yes
2927 DEFAULT_wxUSE_MEM_TRACING=no
2928 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2929 DEFAULT_wxUSE_DMALLOC=no
2930 DEFAULT_wxUSE_APPLE_IEEE=no
2931
2932 DEFAULT_wxUSE_EXCEPTIONS=no
2933 DEFAULT_wxUSE_LOG=yes
2934 DEFAULT_wxUSE_LOGWINDOW=no
2935 DEFAULT_wxUSE_LOGGUI=no
2936 DEFAULT_wxUSE_LOGDIALOG=no
2937
2938 DEFAULT_wxUSE_GUI=yes
2939 DEFAULT_wxUSE_CONTROLS=no
2940
2941 DEFAULT_wxUSE_REGEX=no
2942 DEFAULT_wxUSE_XML=no
2943 DEFAULT_wxUSE_EXPAT=no
2944 DEFAULT_wxUSE_ZLIB=no
2945 DEFAULT_wxUSE_LIBPNG=no
2946 DEFAULT_wxUSE_LIBJPEG=no
2947 DEFAULT_wxUSE_LIBTIFF=no
2948 DEFAULT_wxUSE_LIBXPM=no
2949 DEFAULT_wxUSE_LIBMSPACK=no
2950 DEFAULT_wxUSE_LIBSDL=no
2951 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2952 DEFAULT_wxUSE_LIBGNOMEVFS=no
2953 DEFAULT_wxUSE_LIBHILDON=no
2954 DEFAULT_wxUSE_ODBC=no
2955 DEFAULT_wxUSE_OPENGL=no
2956
2957 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2958 DEFAULT_wxUSE_STACKWALKER=no
2959 DEFAULT_wxUSE_DEBUGREPORT=no
2960 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2961 DEFAULT_wxUSE_STD_IOSTREAM=no
2962 DEFAULT_wxUSE_STD_STRING=no
2963 DEFAULT_wxUSE_CMDLINE_PARSER=no
2964 DEFAULT_wxUSE_DATETIME=no
2965 DEFAULT_wxUSE_TIMER=no
2966 DEFAULT_wxUSE_STOPWATCH=no
2967 DEFAULT_wxUSE_FILE=no
2968 DEFAULT_wxUSE_FFILE=no
2969 DEFAULT_wxUSE_STDPATHS=no
2970 DEFAULT_wxUSE_TEXTBUFFER=no
2971 DEFAULT_wxUSE_TEXTFILE=no
2972 DEFAULT_wxUSE_SOUND=no
2973 DEFAULT_wxUSE_MEDIACTRL=no
2974 DEFAULT_wxUSE_GSTREAMER8=no
2975 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2976 DEFAULT_wxUSE_INTL=no
2977 DEFAULT_wxUSE_CONFIG=no
2978 DEFAULT_wxUSE_FONTMAP=no
2979 DEFAULT_wxUSE_STREAMS=no
2980 DEFAULT_wxUSE_SOCKETS=no
2981 DEFAULT_wxUSE_OLE=no
2982 DEFAULT_wxUSE_DATAOBJ=no
2983 DEFAULT_wxUSE_DIALUP_MANAGER=no
2984 DEFAULT_wxUSE_JOYSTICK=no
2985 DEFAULT_wxUSE_DYNLIB_CLASS=no
2986 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2987 DEFAULT_wxUSE_LONGLONG=no
2988 DEFAULT_wxUSE_GEOMETRY=no
2989
2990 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2991 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2992 DEFAULT_wxUSE_POSTSCRIPT=no
2993
2994 DEFAULT_wxUSE_CLIPBOARD=no
2995 DEFAULT_wxUSE_TOOLTIPS=no
2996 DEFAULT_wxUSE_DRAG_AND_DROP=no
2997 DEFAULT_wxUSE_DRAGIMAGE=no
2998 DEFAULT_wxUSE_SPLINES=no
2999 DEFAULT_wxUSE_MOUSEWHEEL=no
3000
3001 DEFAULT_wxUSE_MDI=no
3002 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3003 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3004 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3005
3006 DEFAULT_wxUSE_CONSTRAINTS=no
3007 DEFAULT_wxUSE_IPC=no
3008 DEFAULT_wxUSE_HELP=no
3009 DEFAULT_wxUSE_MS_HTML_HELP=no
3010 DEFAULT_wxUSE_WXHTML_HELP=no
3011 DEFAULT_wxUSE_TREELAYOUT=no
3012 DEFAULT_wxUSE_METAFILE=no
3013 DEFAULT_wxUSE_MIMETYPE=no
3014 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3015 DEFAULT_wxUSE_PROTOCOL=no
3016 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3017 DEFAULT_wxUSE_PROTOCOL_FTP=no
3018 DEFAULT_wxUSE_PROTOCOL_FILE=no
3019 DEFAULT_wxUSE_URL=no
3020 DEFAULT_wxUSE_VARIANT=no
3021
3022 DEFAULT_wxUSE_ABOUTDLG=no
3023 DEFAULT_wxUSE_COMMONDLGS=no
3024 DEFAULT_wxUSE_CHOICEDLG=no
3025 DEFAULT_wxUSE_COLOURDLG=no
3026 DEFAULT_wxUSE_DIRDLG=no
3027 DEFAULT_wxUSE_FILEDLG=no
3028 DEFAULT_wxUSE_FINDREPLDLG=no
3029 DEFAULT_wxUSE_FONTDLG=no
3030 DEFAULT_wxUSE_MSGDLG=no
3031 DEFAULT_wxUSE_NUMBERDLG=no
3032 DEFAULT_wxUSE_TEXTDLG=no
3033 DEFAULT_wxUSE_SPLASH=no
3034 DEFAULT_wxUSE_STARTUP_TIPS=no
3035 DEFAULT_wxUSE_PROGRESSDLG=no
3036 DEFAULT_wxUSE_WIZARDDLG=no
3037
3038 DEFAULT_wxUSE_MENUS=no
3039 DEFAULT_wxUSE_MINIFRAME=no
3040 DEFAULT_wxUSE_HTML=no
3041 DEFAULT_wxUSE_RICHTEXT=no
3042 DEFAULT_wxUSE_XRC=no
3043 DEFAULT_wxUSE_AUI=no
3044 DEFAULT_wxUSE_STC=no
3045 DEFAULT_wxUSE_WEBKIT=no
3046 DEFAULT_wxUSE_FILESYSTEM=no
3047 DEFAULT_wxUSE_FS_INET=no
3048 DEFAULT_wxUSE_FS_ZIP=no
3049 DEFAULT_wxUSE_FS_ARCHIVE=no
3050 DEFAULT_wxUSE_BUSYINFO=no
3051 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3052 DEFAULT_wxUSE_ZIPSTREAM=no
3053 DEFAULT_wxUSE_TARSTREAM=no
3054 DEFAULT_wxUSE_VALIDATORS=no
3055
3056 DEFAULT_wxUSE_ACCEL=no
3057 DEFAULT_wxUSE_ANIMATIONCTRL=no
3058 DEFAULT_wxUSE_BUTTON=no
3059 DEFAULT_wxUSE_BMPBUTTON=no
3060 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3061 DEFAULT_wxUSE_CALCTRL=no
3062 DEFAULT_wxUSE_CARET=no
3063 DEFAULT_wxUSE_CHECKBOX=no
3064 DEFAULT_wxUSE_CHECKLST=no
3065 DEFAULT_wxUSE_CHOICE=no
3066 DEFAULT_wxUSE_CHOICEBOOK=no
3067 DEFAULT_wxUSE_COLLPANE=no
3068 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3069 DEFAULT_wxUSE_COMBOBOX=no
3070 DEFAULT_wxUSE_COMBOCTRL=no
3071 DEFAULT_wxUSE_DATEPICKCTRL=no
3072 DEFAULT_wxUSE_DISPLAY=no
3073 DEFAULT_wxUSE_DETECT_SM=no
3074 DEFAULT_wxUSE_DIRPICKERCTRL=no
3075 DEFAULT_wxUSE_EDITABLELISTBOX=no
3076 DEFAULT_wxUSE_FILEPICKERCTRL=no
3077 DEFAULT_wxUSE_FONTPICKERCTRL=no
3078 DEFAULT_wxUSE_GAUGE=no
3079 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3080 DEFAULT_wxUSE_GRID=no
3081 DEFAULT_wxUSE_HYPERLINKCTRL=no
3082 DEFAULT_wxUSE_DATAVIEWCTRL=no
3083 DEFAULT_wxUSE_IMAGLIST=no
3084 DEFAULT_wxUSE_LISTBOOK=no
3085 DEFAULT_wxUSE_LISTBOX=no
3086 DEFAULT_wxUSE_LISTCTRL=no
3087 DEFAULT_wxUSE_NOTEBOOK=no
3088 DEFAULT_wxUSE_ODCOMBOBOX=no
3089 DEFAULT_wxUSE_RADIOBOX=no
3090 DEFAULT_wxUSE_RADIOBTN=no
3091 DEFAULT_wxUSE_SASH=no
3092 DEFAULT_wxUSE_SCROLLBAR=no
3093 DEFAULT_wxUSE_SEARCHCTRL=no
3094 DEFAULT_wxUSE_SLIDER=no
3095 DEFAULT_wxUSE_SPINBTN=no
3096 DEFAULT_wxUSE_SPINCTRL=no
3097 DEFAULT_wxUSE_SPLITTER=no
3098 DEFAULT_wxUSE_STATBMP=no
3099 DEFAULT_wxUSE_STATBOX=no
3100 DEFAULT_wxUSE_STATLINE=no
3101 DEFAULT_wxUSE_STATTEXT=no
3102 DEFAULT_wxUSE_STATUSBAR=yes
3103 DEFAULT_wxUSE_TAB_DIALOG=no
3104 DEFAULT_wxUSE_TEXTCTRL=no
3105 DEFAULT_wxUSE_TOGGLEBTN=no
3106 DEFAULT_wxUSE_TOOLBAR=no
3107 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3108 DEFAULT_wxUSE_TREEBOOK=no
3109 DEFAULT_wxUSE_TOOLBOOK=no
3110 DEFAULT_wxUSE_TREECTRL=no
3111 DEFAULT_wxUSE_POPUPWIN=no
3112 DEFAULT_wxUSE_TIPWINDOW=no
3113
3114 DEFAULT_wxUSE_UNICODE=no
3115 DEFAULT_wxUSE_UNICODE_MSLU=no
3116 DEFAULT_wxUSE_UNICODE_UTF8=auto
3117 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3118 DEFAULT_wxUSE_WCSRTOMBS=no
3119
3120 DEFAULT_wxUSE_PALETTE=no
3121 DEFAULT_wxUSE_IMAGE=no
3122 DEFAULT_wxUSE_GIF=no
3123 DEFAULT_wxUSE_PCX=no
3124 DEFAULT_wxUSE_TGA=no
3125 DEFAULT_wxUSE_PNM=no
3126 DEFAULT_wxUSE_IFF=no
3127 DEFAULT_wxUSE_XPM=no
3128 DEFAULT_wxUSE_ICO_CUR=no
3129 DEFAULT_wxUSE_ACCESSIBILITY=no
3130
3131 DEFAULT_wxUSE_MONOLITHIC=no
3132 DEFAULT_wxUSE_PLUGINS=no
3133 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3134 else
3135 DEFAULT_wxUSE_UNIVERSAL=no
3136 DEFAULT_wxUSE_STL=no
3137 DEFAULT_wxUSE_EXTENDED_RTTI=no
3138
3139 DEFAULT_wxUSE_NANOX=no
3140
3141 DEFAULT_wxUSE_THREADS=yes
3142
3143 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3144 DEFAULT_wxUSE_OPTIMISE=yes
3145 DEFAULT_wxUSE_PROFILE=no
3146 DEFAULT_wxUSE_NO_DEPS=no
3147 DEFAULT_wxUSE_VARARG_MACROS=yes
3148 DEFAULT_wxUSE_NO_RTTI=no
3149 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3150 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3151 DEFAULT_wxUSE_RPATH=yes
3152 DEFAULT_wxUSE_PERMISSIVE=no
3153 DEFAULT_wxUSE_DEBUG_FLAG=no
3154 DEFAULT_wxUSE_DEBUG_INFO=no
3155 DEFAULT_wxUSE_DEBUG_GDB=no
3156 DEFAULT_wxUSE_MEM_TRACING=no
3157 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3158 DEFAULT_wxUSE_DMALLOC=no
3159 DEFAULT_wxUSE_APPLE_IEEE=yes
3160
3161 DEFAULT_wxUSE_EXCEPTIONS=yes
3162 DEFAULT_wxUSE_LOG=yes
3163 DEFAULT_wxUSE_LOGWINDOW=yes
3164 DEFAULT_wxUSE_LOGGUI=yes
3165 DEFAULT_wxUSE_LOGDIALOG=yes
3166
3167 DEFAULT_wxUSE_GUI=yes
3168
3169 DEFAULT_wxUSE_REGEX=yes
3170 DEFAULT_wxUSE_XML=yes
3171 DEFAULT_wxUSE_EXPAT=yes
3172 DEFAULT_wxUSE_ZLIB=yes
3173 DEFAULT_wxUSE_LIBPNG=yes
3174 DEFAULT_wxUSE_LIBJPEG=yes
3175 DEFAULT_wxUSE_LIBTIFF=yes
3176 DEFAULT_wxUSE_LIBXPM=yes
3177 DEFAULT_wxUSE_LIBMSPACK=yes
3178 DEFAULT_wxUSE_LIBSDL=no
3179 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3180 DEFAULT_wxUSE_LIBGNOMEVFS=no
3181 DEFAULT_wxUSE_LIBHILDON=no
3182 DEFAULT_wxUSE_ODBC=no
3183 DEFAULT_wxUSE_OPENGL=no
3184
3185 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3186 DEFAULT_wxUSE_STACKWALKER=yes
3187 DEFAULT_wxUSE_DEBUGREPORT=yes
3188 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3189 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3190 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3191 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3192 DEFAULT_wxUSE_DATETIME=yes
3193 DEFAULT_wxUSE_TIMER=yes
3194 DEFAULT_wxUSE_STOPWATCH=yes
3195 DEFAULT_wxUSE_FILE=yes
3196 DEFAULT_wxUSE_FFILE=yes
3197 DEFAULT_wxUSE_STDPATHS=yes
3198 DEFAULT_wxUSE_TEXTBUFFER=yes
3199 DEFAULT_wxUSE_TEXTFILE=yes
3200 DEFAULT_wxUSE_SOUND=yes
3201 DEFAULT_wxUSE_MEDIACTRL=no
3202 DEFAULT_wxUSE_GSTREAMER8=no
3203 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3204 DEFAULT_wxUSE_INTL=yes
3205 DEFAULT_wxUSE_CONFIG=yes
3206 DEFAULT_wxUSE_FONTMAP=yes
3207 DEFAULT_wxUSE_STREAMS=yes
3208 DEFAULT_wxUSE_SOCKETS=yes
3209 DEFAULT_wxUSE_OLE=yes
3210 DEFAULT_wxUSE_DATAOBJ=yes
3211 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3212 DEFAULT_wxUSE_JOYSTICK=yes
3213 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3214 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3215 DEFAULT_wxUSE_LONGLONG=yes
3216 DEFAULT_wxUSE_GEOMETRY=yes
3217
3218 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3219 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3220 DEFAULT_wxUSE_POSTSCRIPT=yes
3221
3222 DEFAULT_wxUSE_CLIPBOARD=yes
3223 DEFAULT_wxUSE_TOOLTIPS=yes
3224 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3225 DEFAULT_wxUSE_DRAGIMAGE=yes
3226 DEFAULT_wxUSE_SPLINES=yes
3227 DEFAULT_wxUSE_MOUSEWHEEL=yes
3228
3229 DEFAULT_wxUSE_MDI=yes
3230 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3231 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3232 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3233
3234 DEFAULT_wxUSE_CONSTRAINTS=yes
3235 DEFAULT_wxUSE_IPC=yes
3236 DEFAULT_wxUSE_HELP=yes
3237 DEFAULT_wxUSE_MS_HTML_HELP=yes
3238 DEFAULT_wxUSE_WXHTML_HELP=yes
3239 DEFAULT_wxUSE_TREELAYOUT=yes
3240 DEFAULT_wxUSE_METAFILE=yes
3241 DEFAULT_wxUSE_MIMETYPE=yes
3242 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3243 DEFAULT_wxUSE_PROTOCOL=yes
3244 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3245 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3246 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3247 DEFAULT_wxUSE_URL=yes
3248 DEFAULT_wxUSE_VARIANT=yes
3249
3250 DEFAULT_wxUSE_ABOUTDLG=yes
3251 DEFAULT_wxUSE_COMMONDLGS=yes
3252 DEFAULT_wxUSE_CHOICEDLG=yes
3253 DEFAULT_wxUSE_COLOURDLG=yes
3254 DEFAULT_wxUSE_DIRDLG=yes
3255 DEFAULT_wxUSE_FILEDLG=yes
3256 DEFAULT_wxUSE_FINDREPLDLG=yes
3257 DEFAULT_wxUSE_FONTDLG=yes
3258 DEFAULT_wxUSE_MSGDLG=yes
3259 DEFAULT_wxUSE_NUMBERDLG=yes
3260 DEFAULT_wxUSE_TEXTDLG=yes
3261 DEFAULT_wxUSE_SPLASH=yes
3262 DEFAULT_wxUSE_STARTUP_TIPS=yes
3263 DEFAULT_wxUSE_PROGRESSDLG=yes
3264 DEFAULT_wxUSE_WIZARDDLG=yes
3265
3266 DEFAULT_wxUSE_MENUS=yes
3267 DEFAULT_wxUSE_MINIFRAME=yes
3268 DEFAULT_wxUSE_HTML=yes
3269 DEFAULT_wxUSE_RICHTEXT=yes
3270 DEFAULT_wxUSE_XRC=yes
3271 DEFAULT_wxUSE_AUI=yes
3272 DEFAULT_wxUSE_STC=yes
3273 DEFAULT_wxUSE_WEBKIT=yes
3274 DEFAULT_wxUSE_FILESYSTEM=yes
3275 DEFAULT_wxUSE_FS_INET=yes
3276 DEFAULT_wxUSE_FS_ZIP=yes
3277 DEFAULT_wxUSE_FS_ARCHIVE=yes
3278 DEFAULT_wxUSE_BUSYINFO=yes
3279 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3280 DEFAULT_wxUSE_ZIPSTREAM=yes
3281 DEFAULT_wxUSE_TARSTREAM=yes
3282 DEFAULT_wxUSE_VALIDATORS=yes
3283
3284 DEFAULT_wxUSE_ACCEL=yes
3285 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3286 DEFAULT_wxUSE_BUTTON=yes
3287 DEFAULT_wxUSE_BMPBUTTON=yes
3288 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3289 DEFAULT_wxUSE_CALCTRL=yes
3290 DEFAULT_wxUSE_CARET=yes
3291 DEFAULT_wxUSE_CHECKBOX=yes
3292 DEFAULT_wxUSE_CHECKLST=yes
3293 DEFAULT_wxUSE_CHOICE=yes
3294 DEFAULT_wxUSE_CHOICEBOOK=yes
3295 DEFAULT_wxUSE_COLLPANE=yes
3296 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3297 DEFAULT_wxUSE_COMBOBOX=yes
3298 DEFAULT_wxUSE_COMBOCTRL=yes
3299 DEFAULT_wxUSE_DATEPICKCTRL=yes
3300 DEFAULT_wxUSE_DISPLAY=yes
3301 DEFAULT_wxUSE_DETECT_SM=yes
3302 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3303 DEFAULT_wxUSE_EDITABLELISTBOX=yes
3304 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3305 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3306 DEFAULT_wxUSE_GAUGE=yes
3307 DEFAULT_wxUSE_GRID=yes
3308 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3309 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3310 DEFAULT_wxUSE_DATAVIEWCTRL=no
3311 DEFAULT_wxUSE_IMAGLIST=yes
3312 DEFAULT_wxUSE_LISTBOOK=yes
3313 DEFAULT_wxUSE_LISTBOX=yes
3314 DEFAULT_wxUSE_LISTCTRL=yes
3315 DEFAULT_wxUSE_NOTEBOOK=yes
3316 DEFAULT_wxUSE_ODCOMBOBOX=yes
3317 DEFAULT_wxUSE_RADIOBOX=yes
3318 DEFAULT_wxUSE_RADIOBTN=yes
3319 DEFAULT_wxUSE_SASH=yes
3320 DEFAULT_wxUSE_SCROLLBAR=yes
3321 DEFAULT_wxUSE_SEARCHCTRL=yes
3322 DEFAULT_wxUSE_SLIDER=yes
3323 DEFAULT_wxUSE_SPINBTN=yes
3324 DEFAULT_wxUSE_SPINCTRL=yes
3325 DEFAULT_wxUSE_SPLITTER=yes
3326 DEFAULT_wxUSE_STATBMP=yes
3327 DEFAULT_wxUSE_STATBOX=yes
3328 DEFAULT_wxUSE_STATLINE=yes
3329 DEFAULT_wxUSE_STATTEXT=yes
3330 DEFAULT_wxUSE_STATUSBAR=yes
3331 DEFAULT_wxUSE_TAB_DIALOG=no
3332 DEFAULT_wxUSE_TEXTCTRL=yes
3333 DEFAULT_wxUSE_TOGGLEBTN=yes
3334 DEFAULT_wxUSE_TOOLBAR=yes
3335 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3336 DEFAULT_wxUSE_TREEBOOK=yes
3337 DEFAULT_wxUSE_TOOLBOOK=yes
3338 DEFAULT_wxUSE_TREECTRL=yes
3339 DEFAULT_wxUSE_POPUPWIN=yes
3340 DEFAULT_wxUSE_TIPWINDOW=yes
3341
3342 DEFAULT_wxUSE_UNICODE=no
3343 DEFAULT_wxUSE_UNICODE_MSLU=yes
3344 DEFAULT_wxUSE_UNICODE_UTF8=auto
3345 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3346 DEFAULT_wxUSE_WCSRTOMBS=no
3347
3348 DEFAULT_wxUSE_PALETTE=yes
3349 DEFAULT_wxUSE_IMAGE=yes
3350 DEFAULT_wxUSE_GIF=yes
3351 DEFAULT_wxUSE_PCX=yes
3352 DEFAULT_wxUSE_TGA=yes
3353 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3354 DEFAULT_wxUSE_XPM=yes
3355 DEFAULT_wxUSE_ICO_CUR=yes
3356 DEFAULT_wxUSE_ACCESSIBILITY=no
3357
3358 DEFAULT_wxUSE_MONOLITHIC=no
3359 DEFAULT_wxUSE_PLUGINS=no
3360 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3361
3362 DEFAULT_wxUSE_GTK2=yes
3363 fi
3364
3365
3366
3367
3368 for toolkit in `echo $ALL_TOOLKITS`; do
3369 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3370 if test "x$LINE" != "x" ; then
3371 has_toolkit_in_cache=1
3372 eval "DEFAULT_$LINE"
3373 eval "CACHE_$toolkit=1"
3374
3375 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3376 if test "x$LINE" != "x" ; then
3377 eval "DEFAULT_$LINE"
3378 fi
3379 fi
3380 done
3381
3382
3383
3384 enablestring=
3385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3386 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3387 no_cache=0
3388 # Check whether --enable-gui was given.
3389 if test "${enable_gui+set}" = set; then
3390 enableval=$enable_gui;
3391 if test "$enableval" = yes; then
3392 ac_cv_use_gui='wxUSE_GUI=yes'
3393 else
3394 ac_cv_use_gui='wxUSE_GUI=no'
3395 fi
3396
3397 else
3398
3399 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x ; then
3401 eval "DEFAULT_$LINE"
3402 else
3403 no_cache=1
3404 fi
3405
3406 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3407
3408 fi
3409
3410
3411 eval "$ac_cv_use_gui"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3414 fi
3415
3416 if test "$wxUSE_GUI" = yes; then
3417 { echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6; }
3419 else
3420 { echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6; }
3422 fi
3423
3424
3425 enablestring=
3426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3427 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3428 no_cache=0
3429 # Check whether --enable-monolithic was given.
3430 if test "${enable_monolithic+set}" = set; then
3431 enableval=$enable_monolithic;
3432 if test "$enableval" = yes; then
3433 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3434 else
3435 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3436 fi
3437
3438 else
3439
3440 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x ; then
3442 eval "DEFAULT_$LINE"
3443 else
3444 no_cache=1
3445 fi
3446
3447 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3448
3449 fi
3450
3451
3452 eval "$ac_cv_use_monolithic"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3455 fi
3456
3457 if test "$wxUSE_MONOLITHIC" = yes; then
3458 { echo "$as_me:$LINENO: result: yes" >&5
3459 echo "${ECHO_T}yes" >&6; }
3460 else
3461 { echo "$as_me:$LINENO: result: no" >&5
3462 echo "${ECHO_T}no" >&6; }
3463 fi
3464
3465
3466 enablestring=
3467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3469 no_cache=0
3470 # Check whether --enable-plugins was given.
3471 if test "${enable_plugins+set}" = set; then
3472 enableval=$enable_plugins;
3473 if test "$enableval" = yes; then
3474 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3475 else
3476 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3477 fi
3478
3479 else
3480
3481 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x ; then
3483 eval "DEFAULT_$LINE"
3484 else
3485 no_cache=1
3486 fi
3487
3488 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3489
3490 fi
3491
3492
3493 eval "$ac_cv_use_plugins"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3496 fi
3497
3498 if test "$wxUSE_PLUGINS" = yes; then
3499 { echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6; }
3501 else
3502 { echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6; }
3504 fi
3505
3506
3507 withstring=without
3508 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3509 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3510 no_cache=0
3511
3512 # Check whether --with-subdirs was given.
3513 if test "${with_subdirs+set}" = set; then
3514 withval=$with_subdirs;
3515 if test "$withval" = yes; then
3516 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3517 else
3518 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3519 fi
3520
3521 else
3522
3523 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x ; then
3525 eval "DEFAULT_$LINE"
3526 else
3527 no_cache=1
3528 fi
3529
3530 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3531
3532 fi
3533
3534
3535 eval "$ac_cv_use_subdirs"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3538 fi
3539
3540 if test "$wxWITH_SUBDIRS" = yes; then
3541 { echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6; }
3543 else
3544 { echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6; }
3546 fi
3547
3548
3549 if test "$wxUSE_GUI" = "yes"; then
3550
3551
3552 enablestring=
3553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3554 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3555 no_cache=0
3556 # Check whether --enable-universal was given.
3557 if test "${enable_universal+set}" = set; then
3558 enableval=$enable_universal;
3559 if test "$enableval" = yes; then
3560 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3561 else
3562 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3563 fi
3564
3565 else
3566
3567 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3568 if test "x$LINE" != x ; then
3569 eval "DEFAULT_$LINE"
3570 else
3571 no_cache=1
3572 fi
3573
3574 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3575
3576 fi
3577
3578
3579 eval "$ac_cv_use_universal"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3582 fi
3583
3584 if test "$wxUSE_UNIVERSAL" = yes; then
3585 { echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6; }
3587 else
3588 { echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6; }
3590 fi
3591
3592
3593 # Check whether --with-gtk was given.
3594 if test "${with_gtk+set}" = set; then
3595 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3596 fi
3597
3598
3599 # Check whether --with-motif was given.
3600 if test "${with_motif+set}" = set; then
3601 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3602 fi
3603
3604
3605 # Check whether --with-mac was given.
3606 if test "${with_mac+set}" = set; then
3607 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3608 fi
3609
3610
3611 # Check whether --with-cocoa was given.
3612 if test "${with_cocoa+set}" = set; then
3613 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3614 fi
3615
3616
3617 # Check whether --with-wine was given.
3618 if test "${with_wine+set}" = set; then
3619 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3620 fi
3621
3622
3623 # Check whether --with-msw was given.
3624 if test "${with_msw+set}" = set; then
3625 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3626 fi
3627
3628
3629 # Check whether --with-pm was given.
3630 if test "${with_pm+set}" = set; then
3631 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3632 fi
3633
3634
3635 # Check whether --with-mgl was given.
3636 if test "${with_mgl+set}" = set; then
3637 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3638 fi
3639
3640
3641 # Check whether --with-directfb was given.
3642 if test "${with_directfb+set}" = set; then
3643 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3644 fi
3645
3646
3647 # Check whether --with-microwin was given.
3648 if test "${with_microwin+set}" = set; then
3649 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3650 fi
3651
3652
3653 # Check whether --with-x11 was given.
3654 if test "${with_x11+set}" = set; then
3655 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3656 fi
3657
3658
3659 enablestring=
3660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3661 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3662 no_cache=0
3663 # Check whether --enable-nanox was given.
3664 if test "${enable_nanox+set}" = set; then
3665 enableval=$enable_nanox;
3666 if test "$enableval" = yes; then
3667 ac_cv_use_nanox='wxUSE_NANOX=yes'
3668 else
3669 ac_cv_use_nanox='wxUSE_NANOX=no'
3670 fi
3671
3672 else
3673
3674 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3677 else
3678 no_cache=1
3679 fi
3680
3681 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3682
3683 fi
3684
3685
3686 eval "$ac_cv_use_nanox"
3687 if test "$no_cache" != 1; then
3688 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3689 fi
3690
3691 if test "$wxUSE_NANOX" = yes; then
3692 { echo "$as_me:$LINENO: result: yes" >&5
3693 echo "${ECHO_T}yes" >&6; }
3694 else
3695 { echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6; }
3697 fi
3698
3699
3700 # Check whether --enable-gtk2 was given.
3701 if test "${enable_gtk2+set}" = set; then
3702 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3703 fi
3704
3705
3706 enablestring=
3707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3708 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3709 no_cache=0
3710 # Check whether --enable-gpe was given.
3711 if test "${enable_gpe+set}" = set; then
3712 enableval=$enable_gpe;
3713 if test "$enableval" = yes; then
3714 ac_cv_use_gpe='wxUSE_GPE=yes'
3715 else
3716 ac_cv_use_gpe='wxUSE_GPE=no'
3717 fi
3718
3719 else
3720
3721 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x ; then
3723 eval "DEFAULT_$LINE"
3724 else
3725 no_cache=1
3726 fi
3727
3728 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3729
3730 fi
3731
3732
3733 eval "$ac_cv_use_gpe"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3736 fi
3737
3738 if test "$wxUSE_GPE" = yes; then
3739 { echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6; }
3741 else
3742 { echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6; }
3744 fi
3745
3746
3747
3748 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3749 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3750 no_cache=0
3751
3752 # Check whether --with-libpng was given.
3753 if test "${with_libpng+set}" = set; then
3754 withval=$with_libpng;
3755 if test "$withval" = yes; then
3756 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3757 elif test "$withval" = no; then
3758 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3759 elif test "$withval" = sys; then
3760 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3761 elif test "$withval" = builtin; then
3762 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3763 else
3764 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3765 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3766 { (exit 1); exit 1; }; }
3767 fi
3768
3769 else
3770
3771 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3772 if test "x$LINE" != x ; then
3773 eval "DEFAULT_$LINE"
3774 else
3775 no_cache=1
3776 fi
3777
3778 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3779
3780 fi
3781
3782
3783 eval "$ac_cv_use_libpng"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3786 fi
3787
3788 if test "$wxUSE_LIBPNG" = yes; then
3789 { echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6; }
3791 elif test "$wxUSE_LIBPNG" = no; then
3792 { echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6; }
3794 elif test "$wxUSE_LIBPNG" = sys; then
3795 { echo "$as_me:$LINENO: result: system version" >&5
3796 echo "${ECHO_T}system version" >&6; }
3797 elif test "$wxUSE_LIBPNG" = builtin; then
3798 { echo "$as_me:$LINENO: result: builtin version" >&5
3799 echo "${ECHO_T}builtin version" >&6; }
3800 else
3801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3802 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3803 { (exit 1); exit 1; }; }
3804 fi
3805
3806
3807 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3808 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3809 no_cache=0
3810
3811 # Check whether --with-libjpeg was given.
3812 if test "${with_libjpeg+set}" = set; then
3813 withval=$with_libjpeg;
3814 if test "$withval" = yes; then
3815 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3816 elif test "$withval" = no; then
3817 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3818 elif test "$withval" = sys; then
3819 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3820 elif test "$withval" = builtin; then
3821 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3822 else
3823 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3824 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3825 { (exit 1); exit 1; }; }
3826 fi
3827
3828 else
3829
3830 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x ; then
3832 eval "DEFAULT_$LINE"
3833 else
3834 no_cache=1
3835 fi
3836
3837 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3838
3839 fi
3840
3841
3842 eval "$ac_cv_use_libjpeg"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3845 fi
3846
3847 if test "$wxUSE_LIBJPEG" = yes; then
3848 { echo "$as_me:$LINENO: result: yes" >&5
3849 echo "${ECHO_T}yes" >&6; }
3850 elif test "$wxUSE_LIBJPEG" = no; then
3851 { echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6; }
3853 elif test "$wxUSE_LIBJPEG" = sys; then
3854 { echo "$as_me:$LINENO: result: system version" >&5
3855 echo "${ECHO_T}system version" >&6; }
3856 elif test "$wxUSE_LIBJPEG" = builtin; then
3857 { echo "$as_me:$LINENO: result: builtin version" >&5
3858 echo "${ECHO_T}builtin version" >&6; }
3859 else
3860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3861 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3862 { (exit 1); exit 1; }; }
3863 fi
3864
3865
3866 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3867 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3868 no_cache=0
3869
3870 # Check whether --with-libtiff was given.
3871 if test "${with_libtiff+set}" = set; then
3872 withval=$with_libtiff;
3873 if test "$withval" = yes; then
3874 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3875 elif test "$withval" = no; then
3876 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3877 elif test "$withval" = sys; then
3878 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3879 elif test "$withval" = builtin; then
3880 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3881 else
3882 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3883 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3884 { (exit 1); exit 1; }; }
3885 fi
3886
3887 else
3888
3889 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x ; then
3891 eval "DEFAULT_$LINE"
3892 else
3893 no_cache=1
3894 fi
3895
3896 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3897
3898 fi
3899
3900
3901 eval "$ac_cv_use_libtiff"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$wxUSE_LIBTIFF" = yes; then
3907 { echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6; }
3909 elif test "$wxUSE_LIBTIFF" = no; then
3910 { echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6; }
3912 elif test "$wxUSE_LIBTIFF" = sys; then
3913 { echo "$as_me:$LINENO: result: system version" >&5
3914 echo "${ECHO_T}system version" >&6; }
3915 elif test "$wxUSE_LIBTIFF" = builtin; then
3916 { echo "$as_me:$LINENO: result: builtin version" >&5
3917 echo "${ECHO_T}builtin version" >&6; }
3918 else
3919 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3920 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3921 { (exit 1); exit 1; }; }
3922 fi
3923
3924
3925 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3926 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3927 no_cache=0
3928
3929 # Check whether --with-libxpm was given.
3930 if test "${with_libxpm+set}" = set; then
3931 withval=$with_libxpm;
3932 if test "$withval" = yes; then
3933 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3934 elif test "$withval" = no; then
3935 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3936 elif test "$withval" = sys; then
3937 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3938 elif test "$withval" = builtin; then
3939 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3940 else
3941 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3942 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3943 { (exit 1); exit 1; }; }
3944 fi
3945
3946 else
3947
3948 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x ; then
3950 eval "DEFAULT_$LINE"
3951 else
3952 no_cache=1
3953 fi
3954
3955 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3956
3957 fi
3958
3959
3960 eval "$ac_cv_use_libxpm"
3961 if test "$no_cache" != 1; then
3962 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3963 fi
3964
3965 if test "$wxUSE_LIBXPM" = yes; then
3966 { echo "$as_me:$LINENO: result: yes" >&5
3967 echo "${ECHO_T}yes" >&6; }
3968 elif test "$wxUSE_LIBXPM" = no; then
3969 { echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6; }
3971 elif test "$wxUSE_LIBXPM" = sys; then
3972 { echo "$as_me:$LINENO: result: system version" >&5
3973 echo "${ECHO_T}system version" >&6; }
3974 elif test "$wxUSE_LIBXPM" = builtin; then
3975 { echo "$as_me:$LINENO: result: builtin version" >&5
3976 echo "${ECHO_T}builtin version" >&6; }
3977 else
3978 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3979 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3980 { (exit 1); exit 1; }; }
3981 fi
3982
3983
3984 withstring=
3985 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3986 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3987 no_cache=0
3988
3989 # Check whether --with-libmspack was given.
3990 if test "${with_libmspack+set}" = set; then
3991 withval=$with_libmspack;
3992 if test "$withval" = yes; then
3993 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3994 else
3995 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3996 fi
3997
3998 else
3999
4000 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x ; then
4002 eval "DEFAULT_$LINE"
4003 else
4004 no_cache=1
4005 fi
4006
4007 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4008
4009 fi
4010
4011
4012 eval "$ac_cv_use_libmspack"
4013 if test "$no_cache" != 1; then
4014 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4015 fi
4016
4017 if test "$wxUSE_LIBMSPACK" = yes; then
4018 { echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6; }
4020 else
4021 { echo "$as_me:$LINENO: result: no" >&5
4022 echo "${ECHO_T}no" >&6; }
4023 fi
4024
4025
4026 withstring=
4027 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4028 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4029 no_cache=0
4030
4031 # Check whether --with-sdl was given.
4032 if test "${with_sdl+set}" = set; then
4033 withval=$with_sdl;
4034 if test "$withval" = yes; then
4035 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4036 else
4037 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4038 fi
4039
4040 else
4041
4042 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4043 if test "x$LINE" != x ; then
4044 eval "DEFAULT_$LINE"
4045 else
4046 no_cache=1
4047 fi
4048
4049 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4050
4051 fi
4052
4053
4054 eval "$ac_cv_use_sdl"
4055 if test "$no_cache" != 1; then
4056 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4057 fi
4058
4059 if test "$wxUSE_LIBSDL" = yes; then
4060 { echo "$as_me:$LINENO: result: yes" >&5
4061 echo "${ECHO_T}yes" >&6; }
4062 else
4063 { echo "$as_me:$LINENO: result: no" >&5
4064 echo "${ECHO_T}no" >&6; }
4065 fi
4066
4067
4068 withstring=
4069 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4070 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4071 no_cache=0
4072
4073 # Check whether --with-gnomeprint was given.
4074 if test "${with_gnomeprint+set}" = set; then
4075 withval=$with_gnomeprint;
4076 if test "$withval" = yes; then
4077 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4078 else
4079 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4080 fi
4081
4082 else
4083
4084 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
4085 if test "x$LINE" != x ; then
4086 eval "DEFAULT_$LINE"
4087 else
4088 no_cache=1
4089 fi
4090
4091 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4092
4093 fi
4094
4095
4096 eval "$ac_cv_use_gnomeprint"
4097 if test "$no_cache" != 1; then
4098 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4099 fi
4100
4101 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4102 { echo "$as_me:$LINENO: result: yes" >&5
4103 echo "${ECHO_T}yes" >&6; }
4104 else
4105 { echo "$as_me:$LINENO: result: no" >&5
4106 echo "${ECHO_T}no" >&6; }
4107 fi
4108
4109
4110 withstring=
4111 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4112 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4113 no_cache=0
4114
4115 # Check whether --with-gnomevfs was given.
4116 if test "${with_gnomevfs+set}" = set; then
4117 withval=$with_gnomevfs;
4118 if test "$withval" = yes; then
4119 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4120 else
4121 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4122 fi
4123
4124 else
4125
4126 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4127 if test "x$LINE" != x ; then
4128 eval "DEFAULT_$LINE"
4129 else
4130 no_cache=1
4131 fi
4132
4133 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4134
4135 fi
4136
4137
4138 eval "$ac_cv_use_gnomevfs"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4141 fi
4142
4143 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4144 { echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6; }
4146 else
4147 { echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6; }
4149 fi
4150
4151
4152 withstring=
4153 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4154 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4155 no_cache=0
4156
4157 # Check whether --with-hildon was given.
4158 if test "${with_hildon+set}" = set; then
4159 withval=$with_hildon;
4160 if test "$withval" = yes; then
4161 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4162 else
4163 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4164 fi
4165
4166 else
4167
4168 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4169 if test "x$LINE" != x ; then
4170 eval "DEFAULT_$LINE"
4171 else
4172 no_cache=1
4173 fi
4174
4175 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4176
4177 fi
4178
4179
4180 eval "$ac_cv_use_hildon"
4181 if test "$no_cache" != 1; then
4182 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4183 fi
4184
4185 if test "$wxUSE_LIBHILDON" = yes; then
4186 { echo "$as_me:$LINENO: result: yes" >&5
4187 echo "${ECHO_T}yes" >&6; }
4188 else
4189 { echo "$as_me:$LINENO: result: no" >&5
4190 echo "${ECHO_T}no" >&6; }
4191 fi
4192
4193
4194 withstring=
4195 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4196 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4197 no_cache=0
4198
4199 # Check whether --with-opengl was given.
4200 if test "${with_opengl+set}" = set; then
4201 withval=$with_opengl;
4202 if test "$withval" = yes; then
4203 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4204 else
4205 ac_cv_use_opengl='wxUSE_OPENGL=no'
4206 fi
4207
4208 else
4209
4210 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4211 if test "x$LINE" != x ; then
4212 eval "DEFAULT_$LINE"
4213 else
4214 no_cache=1
4215 fi
4216
4217 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4218
4219 fi
4220
4221
4222 eval "$ac_cv_use_opengl"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4225 fi
4226
4227 if test "$wxUSE_OPENGL" = yes; then
4228 { echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6; }
4230 else
4231 { echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6; }
4233 fi
4234
4235
4236 if test "$wxUSE_UNIVERSAL" = "yes"; then
4237
4238 # Check whether --with-themes was given.
4239 if test "${with_themes+set}" = set; then
4240 withval=$with_themes; wxUNIV_THEMES="$withval"
4241 fi
4242
4243 fi
4244
4245 fi
4246
4247
4248 withstring=
4249 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4250 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4251 no_cache=0
4252
4253 # Check whether --with-dmalloc was given.
4254 if test "${with_dmalloc+set}" = set; then
4255 withval=$with_dmalloc;
4256 if test "$withval" = yes; then
4257 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4258 else
4259 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4260 fi
4261
4262 else
4263
4264 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4265 if test "x$LINE" != x ; then
4266 eval "DEFAULT_$LINE"
4267 else
4268 no_cache=1
4269 fi
4270
4271 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4272
4273 fi
4274
4275
4276 eval "$ac_cv_use_dmalloc"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4279 fi
4280
4281 if test "$wxUSE_DMALLOC" = yes; then
4282 { echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6; }
4284 else
4285 { echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6; }
4287 fi
4288
4289
4290 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4291 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4292 no_cache=0
4293
4294 # Check whether --with-regex was given.
4295 if test "${with_regex+set}" = set; then
4296 withval=$with_regex;
4297 if test "$withval" = yes; then
4298 ac_cv_use_regex='wxUSE_REGEX=yes'
4299 elif test "$withval" = no; then
4300 ac_cv_use_regex='wxUSE_REGEX=no'
4301 elif test "$withval" = sys; then
4302 ac_cv_use_regex='wxUSE_REGEX=sys'
4303 elif test "$withval" = builtin; then
4304 ac_cv_use_regex='wxUSE_REGEX=builtin'
4305 else
4306 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4307 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4308 { (exit 1); exit 1; }; }
4309 fi
4310
4311 else
4312
4313 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x ; then
4315 eval "DEFAULT_$LINE"
4316 else
4317 no_cache=1
4318 fi
4319
4320 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4321
4322 fi
4323
4324
4325 eval "$ac_cv_use_regex"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4328 fi
4329
4330 if test "$wxUSE_REGEX" = yes; then
4331 { echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6; }
4333 elif test "$wxUSE_REGEX" = no; then
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4336 elif test "$wxUSE_REGEX" = sys; then
4337 { echo "$as_me:$LINENO: result: system version" >&5
4338 echo "${ECHO_T}system version" >&6; }
4339 elif test "$wxUSE_REGEX" = builtin; then
4340 { echo "$as_me:$LINENO: result: builtin version" >&5
4341 echo "${ECHO_T}builtin version" >&6; }
4342 else
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4346 fi
4347
4348
4349 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4350 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4351 no_cache=0
4352
4353 # Check whether --with-zlib was given.
4354 if test "${with_zlib+set}" = set; then
4355 withval=$with_zlib;
4356 if test "$withval" = yes; then
4357 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4358 elif test "$withval" = no; then
4359 ac_cv_use_zlib='wxUSE_ZLIB=no'
4360 elif test "$withval" = sys; then
4361 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4362 elif test "$withval" = builtin; then
4363 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4364 else
4365 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4366 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4367 { (exit 1); exit 1; }; }
4368 fi
4369
4370 else
4371
4372 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4373 if test "x$LINE" != x ; then
4374 eval "DEFAULT_$LINE"
4375 else
4376 no_cache=1
4377 fi
4378
4379 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4380
4381 fi
4382
4383
4384 eval "$ac_cv_use_zlib"
4385 if test "$no_cache" != 1; then
4386 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4387 fi
4388
4389 if test "$wxUSE_ZLIB" = yes; then
4390 { echo "$as_me:$LINENO: result: yes" >&5
4391 echo "${ECHO_T}yes" >&6; }
4392 elif test "$wxUSE_ZLIB" = no; then
4393 { echo "$as_me:$LINENO: result: no" >&5
4394 echo "${ECHO_T}no" >&6; }
4395 elif test "$wxUSE_ZLIB" = sys; then
4396 { echo "$as_me:$LINENO: result: system version" >&5
4397 echo "${ECHO_T}system version" >&6; }
4398 elif test "$wxUSE_ZLIB" = builtin; then
4399 { echo "$as_me:$LINENO: result: builtin version" >&5
4400 echo "${ECHO_T}builtin version" >&6; }
4401 else
4402 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4403 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4404 { (exit 1); exit 1; }; }
4405 fi
4406
4407
4408 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4409 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4410 no_cache=0
4411
4412 # Check whether --with-odbc was given.
4413 if test "${with_odbc+set}" = set; then
4414 withval=$with_odbc;
4415 if test "$withval" = yes; then
4416 ac_cv_use_odbc='wxUSE_ODBC=yes'
4417 elif test "$withval" = no; then
4418 ac_cv_use_odbc='wxUSE_ODBC=no'
4419 elif test "$withval" = sys; then
4420 ac_cv_use_odbc='wxUSE_ODBC=sys'
4421 elif test "$withval" = builtin; then
4422 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4423 else
4424 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4425 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4426 { (exit 1); exit 1; }; }
4427 fi
4428
4429 else
4430
4431 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4432 if test "x$LINE" != x ; then
4433 eval "DEFAULT_$LINE"
4434 else
4435 no_cache=1
4436 fi
4437
4438 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4439
4440 fi
4441
4442
4443 eval "$ac_cv_use_odbc"
4444 if test "$no_cache" != 1; then
4445 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4446 fi
4447
4448 if test "$wxUSE_ODBC" = yes; then
4449 { echo "$as_me:$LINENO: result: yes" >&5
4450 echo "${ECHO_T}yes" >&6; }
4451 elif test "$wxUSE_ODBC" = no; then
4452 { echo "$as_me:$LINENO: result: no" >&5
4453 echo "${ECHO_T}no" >&6; }
4454 elif test "$wxUSE_ODBC" = sys; then
4455 { echo "$as_me:$LINENO: result: system version" >&5
4456 echo "${ECHO_T}system version" >&6; }
4457 elif test "$wxUSE_ODBC" = builtin; then
4458 { echo "$as_me:$LINENO: result: builtin version" >&5
4459 echo "${ECHO_T}builtin version" >&6; }
4460 else
4461 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4462 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4463 { (exit 1); exit 1; }; }
4464 fi
4465
4466
4467 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4468 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4469 no_cache=0
4470
4471 # Check whether --with-expat was given.
4472 if test "${with_expat+set}" = set; then
4473 withval=$with_expat;
4474 if test "$withval" = yes; then
4475 ac_cv_use_expat='wxUSE_EXPAT=yes'
4476 elif test "$withval" = no; then
4477 ac_cv_use_expat='wxUSE_EXPAT=no'
4478 elif test "$withval" = sys; then
4479 ac_cv_use_expat='wxUSE_EXPAT=sys'
4480 elif test "$withval" = builtin; then
4481 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4482 else
4483 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4484 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4485 { (exit 1); exit 1; }; }
4486 fi
4487
4488 else
4489
4490 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x ; then
4492 eval "DEFAULT_$LINE"
4493 else
4494 no_cache=1
4495 fi
4496
4497 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4498
4499 fi
4500
4501
4502 eval "$ac_cv_use_expat"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4505 fi
4506
4507 if test "$wxUSE_EXPAT" = yes; then
4508 { echo "$as_me:$LINENO: result: yes" >&5
4509 echo "${ECHO_T}yes" >&6; }
4510 elif test "$wxUSE_EXPAT" = no; then
4511 { echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6; }
4513 elif test "$wxUSE_EXPAT" = sys; then
4514 { echo "$as_me:$LINENO: result: system version" >&5
4515 echo "${ECHO_T}system version" >&6; }
4516 elif test "$wxUSE_EXPAT" = builtin; then
4517 { echo "$as_me:$LINENO: result: builtin version" >&5
4518 echo "${ECHO_T}builtin version" >&6; }
4519 else
4520 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4521 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4522 { (exit 1); exit 1; }; }
4523 fi
4524
4525
4526
4527
4528 enablestring=
4529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4530 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4531 no_cache=0
4532 # Check whether --enable-shared was given.
4533 if test "${enable_shared+set}" = set; then
4534 enableval=$enable_shared;
4535 if test "$enableval" = yes; then
4536 ac_cv_use_shared='wxUSE_SHARED=yes'
4537 else
4538 ac_cv_use_shared='wxUSE_SHARED=no'
4539 fi
4540
4541 else
4542
4543 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4544 if test "x$LINE" != x ; then
4545 eval "DEFAULT_$LINE"
4546 else
4547 no_cache=1
4548 fi
4549
4550 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4551
4552 fi
4553
4554
4555 eval "$ac_cv_use_shared"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4558 fi
4559
4560 if test "$wxUSE_SHARED" = yes; then
4561 { echo "$as_me:$LINENO: result: yes" >&5
4562 echo "${ECHO_T}yes" >&6; }
4563 else
4564 { echo "$as_me:$LINENO: result: no" >&5
4565 echo "${ECHO_T}no" >&6; }
4566 fi
4567
4568
4569 enablestring=
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4572 no_cache=0
4573 # Check whether --enable-optimise was given.
4574 if test "${enable_optimise+set}" = set; then
4575 enableval=$enable_optimise;
4576 if test "$enableval" = yes; then
4577 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4578 else
4579 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4580 fi
4581
4582 else
4583
4584 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x ; then
4586 eval "DEFAULT_$LINE"
4587 else
4588 no_cache=1
4589 fi
4590
4591 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4592
4593 fi
4594
4595
4596 eval "$ac_cv_use_optimise"
4597 if test "$no_cache" != 1; then
4598 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4599 fi
4600
4601 if test "$wxUSE_OPTIMISE" = yes; then
4602 { echo "$as_me:$LINENO: result: yes" >&5
4603 echo "${ECHO_T}yes" >&6; }
4604 else
4605 { echo "$as_me:$LINENO: result: no" >&5
4606 echo "${ECHO_T}no" >&6; }
4607 fi
4608
4609
4610 enablestring=
4611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4612 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4613 no_cache=0
4614 # Check whether --enable-debug was given.
4615 if test "${enable_debug+set}" = set; then
4616 enableval=$enable_debug;
4617 if test "$enableval" = yes; then
4618 ac_cv_use_debug='wxUSE_DEBUG=yes'
4619 else
4620 ac_cv_use_debug='wxUSE_DEBUG=no'
4621 fi
4622
4623 else
4624
4625 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x ; then
4627 eval "DEFAULT_$LINE"
4628 else
4629 no_cache=1
4630 fi
4631
4632 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4633
4634 fi
4635
4636
4637 eval "$ac_cv_use_debug"
4638 if test "$no_cache" != 1; then
4639 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4640 fi
4641
4642 if test "$wxUSE_DEBUG" = yes; then
4643 { echo "$as_me:$LINENO: result: yes" >&5
4644 echo "${ECHO_T}yes" >&6; }
4645 else
4646 { echo "$as_me:$LINENO: result: no" >&5
4647 echo "${ECHO_T}no" >&6; }
4648 fi
4649
4650
4651 enablestring=
4652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4654 no_cache=0
4655 # Check whether --enable-stl was given.
4656 if test "${enable_stl+set}" = set; then
4657 enableval=$enable_stl;
4658 if test "$enableval" = yes; then
4659 ac_cv_use_stl='wxUSE_STL=yes'
4660 else
4661 ac_cv_use_stl='wxUSE_STL=no'
4662 fi
4663
4664 else
4665
4666 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x ; then
4668 eval "DEFAULT_$LINE"
4669 else
4670 no_cache=1
4671 fi
4672
4673 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4674
4675 fi
4676
4677
4678 eval "$ac_cv_use_stl"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4681 fi
4682
4683 if test "$wxUSE_STL" = yes; then
4684 { echo "$as_me:$LINENO: result: yes" >&5
4685 echo "${ECHO_T}yes" >&6; }
4686 else
4687 { echo "$as_me:$LINENO: result: no" >&5
4688 echo "${ECHO_T}no" >&6; }
4689 fi
4690
4691
4692 enablestring=
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4695 no_cache=0
4696 # Check whether --enable-extended_rtti was given.
4697 if test "${enable_extended_rtti+set}" = set; then
4698 enableval=$enable_extended_rtti;
4699 if test "$enableval" = yes; then
4700 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4701 else
4702 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4703 fi
4704
4705 else
4706
4707 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x ; then
4709 eval "DEFAULT_$LINE"
4710 else
4711 no_cache=1
4712 fi
4713
4714 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4715
4716 fi
4717
4718
4719 eval "$ac_cv_use_extended_rtti"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4722 fi
4723
4724 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4725 { echo "$as_me:$LINENO: result: yes" >&5
4726 echo "${ECHO_T}yes" >&6; }
4727 else
4728 { echo "$as_me:$LINENO: result: no" >&5
4729 echo "${ECHO_T}no" >&6; }
4730 fi
4731
4732 if test "$USE_OS2" = "1"; then
4733 DEFAULT_wxUSE_OMF=no
4734
4735 enablestring=
4736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4738 no_cache=0
4739 # Check whether --enable-omf was given.
4740 if test "${enable_omf+set}" = set; then
4741 enableval=$enable_omf;
4742 if test "$enableval" = yes; then
4743 ac_cv_use_omf='wxUSE_OMF=yes'
4744 else
4745 ac_cv_use_omf='wxUSE_OMF=no'
4746 fi
4747
4748 else
4749
4750 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x ; then
4752 eval "DEFAULT_$LINE"
4753 else
4754 no_cache=1
4755 fi
4756
4757 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4758
4759 fi
4760
4761
4762 eval "$ac_cv_use_omf"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4765 fi
4766
4767 if test "$wxUSE_OMF" = yes; then
4768 { echo "$as_me:$LINENO: result: yes" >&5
4769 echo "${ECHO_T}yes" >&6; }
4770 else
4771 { echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6; }
4773 fi
4774
4775 fi
4776
4777 if test "$wxUSE_DEBUG" = "yes"; then
4778 DEFAULT_wxUSE_DEBUG_FLAG=yes
4779 DEFAULT_wxUSE_DEBUG_INFO=yes
4780 BUILD=debug
4781 elif test "$wxUSE_DEBUG" = "no"; then
4782 DEFAULT_wxUSE_DEBUG_FLAG=no
4783 DEFAULT_wxUSE_DEBUG_INFO=no
4784 BUILD=release
4785 fi
4786
4787
4788 enablestring=
4789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4790 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4791 no_cache=0
4792 # Check whether --enable-debug_flag was given.
4793 if test "${enable_debug_flag+set}" = set; then
4794 enableval=$enable_debug_flag;
4795 if test "$enableval" = yes; then
4796 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4797 else
4798 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4799 fi
4800
4801 else
4802
4803 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4806 else
4807 no_cache=1
4808 fi
4809
4810 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4811
4812 fi
4813
4814
4815 eval "$ac_cv_use_debug_flag"
4816 if test "$no_cache" != 1; then
4817 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4818 fi
4819
4820 if test "$wxUSE_DEBUG_FLAG" = yes; then
4821 { echo "$as_me:$LINENO: result: yes" >&5
4822 echo "${ECHO_T}yes" >&6; }
4823 else
4824 { echo "$as_me:$LINENO: result: no" >&5
4825 echo "${ECHO_T}no" >&6; }
4826 fi
4827
4828
4829 enablestring=
4830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4831 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4832 no_cache=0
4833 # Check whether --enable-debug_info was given.
4834 if test "${enable_debug_info+set}" = set; then
4835 enableval=$enable_debug_info;
4836 if test "$enableval" = yes; then
4837 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4838 else
4839 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4840 fi
4841
4842 else
4843
4844 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4847 else
4848 no_cache=1
4849 fi
4850
4851 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4852
4853 fi
4854
4855
4856 eval "$ac_cv_use_debug_info"
4857 if test "$no_cache" != 1; then
4858 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4859 fi
4860
4861 if test "$wxUSE_DEBUG_INFO" = yes; then
4862 { echo "$as_me:$LINENO: result: yes" >&5
4863 echo "${ECHO_T}yes" >&6; }
4864 else
4865 { echo "$as_me:$LINENO: result: no" >&5
4866 echo "${ECHO_T}no" >&6; }
4867 fi
4868
4869
4870 enablestring=
4871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4872 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4873 no_cache=0
4874 # Check whether --enable-debug_gdb was given.
4875 if test "${enable_debug_gdb+set}" = set; then
4876 enableval=$enable_debug_gdb;
4877 if test "$enableval" = yes; then
4878 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4879 else
4880 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4881 fi
4882
4883 else
4884
4885 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x ; then
4887 eval "DEFAULT_$LINE"
4888 else
4889 no_cache=1
4890 fi
4891
4892 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4893
4894 fi
4895
4896
4897 eval "$ac_cv_use_debug_gdb"
4898 if test "$no_cache" != 1; then
4899 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4900 fi
4901
4902 if test "$wxUSE_DEBUG_GDB" = yes; then
4903 { echo "$as_me:$LINENO: result: yes" >&5
4904 echo "${ECHO_T}yes" >&6; }
4905 else
4906 { echo "$as_me:$LINENO: result: no" >&5
4907 echo "${ECHO_T}no" >&6; }
4908 fi
4909
4910
4911 enablestring=
4912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4913 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4914 no_cache=0
4915 # Check whether --enable-debug_cntxt was given.
4916 if test "${enable_debug_cntxt+set}" = set; then
4917 enableval=$enable_debug_cntxt;
4918 if test "$enableval" = yes; then
4919 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4920 else
4921 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4922 fi
4923
4924 else
4925
4926 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4929 else
4930 no_cache=1
4931 fi
4932
4933 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4934
4935 fi
4936
4937
4938 eval "$ac_cv_use_debug_cntxt"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4941 fi
4942
4943 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4944 { echo "$as_me:$LINENO: result: yes" >&5
4945 echo "${ECHO_T}yes" >&6; }
4946 else
4947 { echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6; }
4949 fi
4950
4951
4952 enablestring=
4953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4955 no_cache=0
4956 # Check whether --enable-mem_tracing was given.
4957 if test "${enable_mem_tracing+set}" = set; then
4958 enableval=$enable_mem_tracing;
4959 if test "$enableval" = yes; then
4960 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4961 else
4962 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4963 fi
4964
4965 else
4966
4967 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4968 if test "x$LINE" != x ; then
4969 eval "DEFAULT_$LINE"
4970 else
4971 no_cache=1
4972 fi
4973
4974 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4975
4976 fi
4977
4978
4979 eval "$ac_cv_use_mem_tracing"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4982 fi
4983
4984 if test "$wxUSE_MEM_TRACING" = yes; then
4985 { echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6; }
4987 else
4988 { echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6; }
4990 fi
4991
4992
4993 enablestring=
4994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4995 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4996 no_cache=0
4997 # Check whether --enable-profile was given.
4998 if test "${enable_profile+set}" = set; then
4999 enableval=$enable_profile;
5000 if test "$enableval" = yes; then
5001 ac_cv_use_profile='wxUSE_PROFILE=yes'
5002 else
5003 ac_cv_use_profile='wxUSE_PROFILE=no'
5004 fi
5005
5006 else
5007
5008 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5009 if test "x$LINE" != x ; then
5010 eval "DEFAULT_$LINE"
5011 else
5012 no_cache=1
5013 fi
5014
5015 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5016
5017 fi
5018
5019
5020 eval "$ac_cv_use_profile"
5021 if test "$no_cache" != 1; then
5022 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5023 fi
5024
5025 if test "$wxUSE_PROFILE" = yes; then
5026 { echo "$as_me:$LINENO: result: yes" >&5
5027 echo "${ECHO_T}yes" >&6; }
5028 else
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5031 fi
5032
5033
5034 enablestring=
5035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5036 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5037 no_cache=0
5038 # Check whether --enable-no_rtti was given.
5039 if test "${enable_no_rtti+set}" = set; then
5040 enableval=$enable_no_rtti;
5041 if test "$enableval" = yes; then
5042 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5043 else
5044 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5045 fi
5046
5047 else
5048
5049 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5050 if test "x$LINE" != x ; then
5051 eval "DEFAULT_$LINE"
5052 else
5053 no_cache=1
5054 fi
5055
5056 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5057
5058 fi
5059
5060
5061 eval "$ac_cv_use_no_rtti"
5062 if test "$no_cache" != 1; then
5063 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5064 fi
5065
5066 if test "$wxUSE_NO_RTTI" = yes; then
5067 { echo "$as_me:$LINENO: result: yes" >&5
5068 echo "${ECHO_T}yes" >&6; }
5069 else
5070 { echo "$as_me:$LINENO: result: no" >&5
5071 echo "${ECHO_T}no" >&6; }
5072 fi
5073
5074
5075 enablestring=
5076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5077 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5078 no_cache=0
5079 # Check whether --enable-no_exceptions was given.
5080 if test "${enable_no_exceptions+set}" = set; then
5081 enableval=$enable_no_exceptions;
5082 if test "$enableval" = yes; then
5083 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5084 else
5085 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5086 fi
5087
5088 else
5089
5090 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5091 if test "x$LINE" != x ; then
5092 eval "DEFAULT_$LINE"
5093 else
5094 no_cache=1
5095 fi
5096
5097 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5098
5099 fi
5100
5101
5102 eval "$ac_cv_use_no_exceptions"
5103 if test "$no_cache" != 1; then
5104 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5105 fi
5106
5107 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5108 { echo "$as_me:$LINENO: result: yes" >&5
5109 echo "${ECHO_T}yes" >&6; }
5110 else
5111 { echo "$as_me:$LINENO: result: no" >&5
5112 echo "${ECHO_T}no" >&6; }
5113 fi
5114
5115
5116 enablestring=
5117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5118 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5119 no_cache=0
5120 # Check whether --enable-permissive was given.
5121 if test "${enable_permissive+set}" = set; then
5122 enableval=$enable_permissive;
5123 if test "$enableval" = yes; then
5124 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5125 else
5126 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5127 fi
5128
5129 else
5130
5131 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x ; then
5133 eval "DEFAULT_$LINE"
5134 else
5135 no_cache=1
5136 fi
5137
5138 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5139
5140 fi
5141
5142
5143 eval "$ac_cv_use_permissive"
5144 if test "$no_cache" != 1; then
5145 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5146 fi
5147
5148 if test "$wxUSE_PERMISSIVE" = yes; then
5149 { echo "$as_me:$LINENO: result: yes" >&5
5150 echo "${ECHO_T}yes" >&6; }
5151 else
5152 { echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6; }
5154 fi
5155
5156
5157 enablestring=
5158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5159 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5160 no_cache=0
5161 # Check whether --enable-no_deps was given.
5162 if test "${enable_no_deps+set}" = set; then
5163 enableval=$enable_no_deps;
5164 if test "$enableval" = yes; then
5165 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5166 else
5167 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5168 fi
5169
5170 else
5171
5172 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5173 if test "x$LINE" != x ; then
5174 eval "DEFAULT_$LINE"
5175 else
5176 no_cache=1
5177 fi
5178
5179 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5180
5181 fi
5182
5183
5184 eval "$ac_cv_use_no_deps"
5185 if test "$no_cache" != 1; then
5186 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5187 fi
5188
5189 if test "$wxUSE_NO_DEPS" = yes; then
5190 { echo "$as_me:$LINENO: result: yes" >&5
5191 echo "${ECHO_T}yes" >&6; }
5192 else
5193 { echo "$as_me:$LINENO: result: no" >&5
5194 echo "${ECHO_T}no" >&6; }
5195 fi
5196
5197
5198 enablestring=
5199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5200 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5201 no_cache=0
5202 # Check whether --enable-vararg_macros was given.
5203 if test "${enable_vararg_macros+set}" = set; then
5204 enableval=$enable_vararg_macros;
5205 if test "$enableval" = yes; then
5206 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5207 else
5208 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5209 fi
5210
5211 else
5212
5213 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x ; then
5215 eval "DEFAULT_$LINE"
5216 else
5217 no_cache=1
5218 fi
5219
5220 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5221
5222 fi
5223
5224
5225 eval "$ac_cv_use_vararg_macros"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5228 fi
5229
5230 if test "$wxUSE_VARARG_MACROS" = yes; then
5231 { echo "$as_me:$LINENO: result: yes" >&5
5232 echo "${ECHO_T}yes" >&6; }
5233 else
5234 { echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6; }
5236 fi
5237
5238
5239 enablestring=
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5242 no_cache=0
5243 # Check whether --enable-universal_binary was given.
5244 if test "${enable_universal_binary+set}" = set; then
5245 enableval=$enable_universal_binary;
5246 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5247
5248 else
5249
5250 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x ; then
5252 eval "DEFAULT_$LINE"
5253 else
5254 no_cache=1
5255 fi
5256
5257 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5258
5259 fi
5260
5261
5262 eval "$wx_cv_use_universal_binary"
5263 if test "$no_cache" != 1; then
5264 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5265 fi
5266
5267 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5268 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5269
5270
5271
5272 enablestring=enable
5273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5275 no_cache=0
5276 # Check whether --enable-compat26 was given.
5277 if test "${enable_compat26+set}" = set; then
5278 enableval=$enable_compat26;
5279 if test "$enableval" = yes; then
5280 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5281 else
5282 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5283 fi
5284
5285 else
5286
5287 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5288 if test "x$LINE" != x ; then
5289 eval "DEFAULT_$LINE"
5290 else
5291 no_cache=1
5292 fi
5293
5294 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5295
5296 fi
5297
5298
5299 eval "$ac_cv_use_compat26"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5302 fi
5303
5304 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5305 { echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6; }
5307 else
5308 { echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6; }
5310 fi
5311
5312
5313 enablestring=disable
5314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5316 no_cache=0
5317 # Check whether --enable-compat28 was given.
5318 if test "${enable_compat28+set}" = set; then
5319 enableval=$enable_compat28;
5320 if test "$enableval" = yes; then
5321 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5322 else
5323 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5324 fi
5325
5326 else
5327
5328 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5329 if test "x$LINE" != x ; then
5330 eval "DEFAULT_$LINE"
5331 else
5332 no_cache=1
5333 fi
5334
5335 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5336
5337 fi
5338
5339
5340 eval "$ac_cv_use_compat28"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5343 fi
5344
5345 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5346 { echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6; }
5348 else
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5351 fi
5352
5353
5354
5355 enablestring=
5356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5358 no_cache=0
5359 # Check whether --enable-rpath was given.
5360 if test "${enable_rpath+set}" = set; then
5361 enableval=$enable_rpath;
5362 if test "$enableval" = yes; then
5363 ac_cv_use_rpath='wxUSE_RPATH=yes'
5364 else
5365 ac_cv_use_rpath='wxUSE_RPATH=no'
5366 fi
5367
5368 else
5369
5370 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5373 else
5374 no_cache=1
5375 fi
5376
5377 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5378
5379 fi
5380
5381
5382 eval "$ac_cv_use_rpath"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5385 fi
5386
5387 if test "$wxUSE_RPATH" = yes; then
5388 { echo "$as_me:$LINENO: result: yes" >&5
5389 echo "${ECHO_T}yes" >&6; }
5390 else
5391 { echo "$as_me:$LINENO: result: no" >&5
5392 echo "${ECHO_T}no" >&6; }
5393 fi
5394
5395
5396
5397
5398
5399 enablestring=
5400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5402 no_cache=0
5403 # Check whether --enable-intl was given.
5404 if test "${enable_intl+set}" = set; then
5405 enableval=$enable_intl;
5406 if test "$enableval" = yes; then
5407 ac_cv_use_intl='wxUSE_INTL=yes'
5408 else
5409 ac_cv_use_intl='wxUSE_INTL=no'
5410 fi
5411
5412 else
5413
5414 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x ; then
5416 eval "DEFAULT_$LINE"
5417 else
5418 no_cache=1
5419 fi
5420
5421 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5422
5423 fi
5424
5425
5426 eval "$ac_cv_use_intl"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5429 fi
5430
5431 if test "$wxUSE_INTL" = yes; then
5432 { echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6; }
5434 else
5435 { echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6; }
5437 fi
5438
5439
5440 enablestring=
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5443 no_cache=0
5444 # Check whether --enable-config was given.
5445 if test "${enable_config+set}" = set; then
5446 enableval=$enable_config;
5447 if test "$enableval" = yes; then
5448 ac_cv_use_config='wxUSE_CONFIG=yes'
5449 else
5450 ac_cv_use_config='wxUSE_CONFIG=no'
5451 fi
5452
5453 else
5454
5455 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x ; then
5457 eval "DEFAULT_$LINE"
5458 else
5459 no_cache=1
5460 fi
5461
5462 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5463
5464 fi
5465
5466
5467 eval "$ac_cv_use_config"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5470 fi
5471
5472 if test "$wxUSE_CONFIG" = yes; then
5473 { echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6; }
5475 else
5476 { echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6; }
5478 fi
5479
5480
5481
5482 enablestring=
5483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5484 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5485 no_cache=0
5486 # Check whether --enable-protocols was given.
5487 if test "${enable_protocols+set}" = set; then
5488 enableval=$enable_protocols;
5489 if test "$enableval" = yes; then
5490 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5491 else
5492 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5493 fi
5494
5495 else
5496
5497 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x ; then
5499 eval "DEFAULT_$LINE"
5500 else
5501 no_cache=1
5502 fi
5503
5504 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5505
5506 fi
5507
5508
5509 eval "$ac_cv_use_protocols"
5510 if test "$no_cache" != 1; then
5511 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5512 fi
5513
5514 if test "$wxUSE_PROTOCOL" = yes; then
5515 { echo "$as_me:$LINENO: result: yes" >&5
5516 echo "${ECHO_T}yes" >&6; }
5517 else
5518 { echo "$as_me:$LINENO: result: no" >&5
5519 echo "${ECHO_T}no" >&6; }
5520 fi
5521
5522
5523 enablestring=
5524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5525 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5526 no_cache=0
5527 # Check whether --enable-ftp was given.
5528 if test "${enable_ftp+set}" = set; then
5529 enableval=$enable_ftp;
5530 if test "$enableval" = yes; then
5531 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5532 else
5533 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5534 fi
5535
5536 else
5537
5538 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5541 else
5542 no_cache=1
5543 fi
5544
5545 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5546
5547 fi
5548
5549
5550 eval "$ac_cv_use_ftp"
5551 if test "$no_cache" != 1; then
5552 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5553 fi
5554
5555 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5556 { echo "$as_me:$LINENO: result: yes" >&5
5557 echo "${ECHO_T}yes" >&6; }
5558 else
5559 { echo "$as_me:$LINENO: result: no" >&5
5560 echo "${ECHO_T}no" >&6; }
5561 fi
5562
5563
5564 enablestring=
5565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5566 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5567 no_cache=0
5568 # Check whether --enable-http was given.
5569 if test "${enable_http+set}" = set; then
5570 enableval=$enable_http;
5571 if test "$enableval" = yes; then
5572 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5573 else
5574 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5575 fi
5576
5577 else
5578
5579 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5582 else
5583 no_cache=1
5584 fi
5585
5586 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5587
5588 fi
5589
5590
5591 eval "$ac_cv_use_http"
5592 if test "$no_cache" != 1; then
5593 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5594 fi
5595
5596 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5597 { echo "$as_me:$LINENO: result: yes" >&5
5598 echo "${ECHO_T}yes" >&6; }
5599 else
5600 { echo "$as_me:$LINENO: result: no" >&5
5601 echo "${ECHO_T}no" >&6; }
5602 fi
5603
5604
5605 enablestring=
5606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5607 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5608 no_cache=0
5609 # Check whether --enable-fileproto was given.
5610 if test "${enable_fileproto+set}" = set; then
5611 enableval=$enable_fileproto;
5612 if test "$enableval" = yes; then
5613 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5614 else
5615 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5616 fi
5617
5618 else
5619
5620 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x ; then
5622 eval "DEFAULT_$LINE"
5623 else
5624 no_cache=1
5625 fi
5626
5627 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5628
5629 fi
5630
5631
5632 eval "$ac_cv_use_fileproto"
5633 if test "$no_cache" != 1; then
5634 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5635 fi
5636
5637 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5638 { echo "$as_me:$LINENO: result: yes" >&5
5639 echo "${ECHO_T}yes" >&6; }
5640 else
5641 { echo "$as_me:$LINENO: result: no" >&5
5642 echo "${ECHO_T}no" >&6; }
5643 fi
5644
5645
5646 enablestring=
5647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5648 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5649 no_cache=0
5650 # Check whether --enable-sockets was given.
5651 if test "${enable_sockets+set}" = set; then
5652 enableval=$enable_sockets;
5653 if test "$enableval" = yes; then
5654 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5655 else
5656 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5657 fi
5658
5659 else
5660
5661 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5664 else
5665 no_cache=1
5666 fi
5667
5668 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5669
5670 fi
5671
5672
5673 eval "$ac_cv_use_sockets"
5674 if test "$no_cache" != 1; then
5675 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5676 fi
5677
5678 if test "$wxUSE_SOCKETS" = yes; then
5679 { echo "$as_me:$LINENO: result: yes" >&5
5680 echo "${ECHO_T}yes" >&6; }
5681 else
5682 { echo "$as_me:$LINENO: result: no" >&5
5683 echo "${ECHO_T}no" >&6; }
5684 fi
5685
5686
5687 enablestring=
5688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5689 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5690 no_cache=0
5691 # Check whether --enable-ole was given.
5692 if test "${enable_ole+set}" = set; then
5693 enableval=$enable_ole;
5694 if test "$enableval" = yes; then
5695 ac_cv_use_ole='wxUSE_OLE=yes'
5696 else
5697 ac_cv_use_ole='wxUSE_OLE=no'
5698 fi
5699
5700 else
5701
5702 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5705 else
5706 no_cache=1
5707 fi
5708
5709 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5710
5711 fi
5712
5713
5714 eval "$ac_cv_use_ole"
5715 if test "$no_cache" != 1; then
5716 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5717 fi
5718
5719 if test "$wxUSE_OLE" = yes; then
5720 { echo "$as_me:$LINENO: result: yes" >&5
5721 echo "${ECHO_T}yes" >&6; }
5722 else
5723 { echo "$as_me:$LINENO: result: no" >&5
5724 echo "${ECHO_T}no" >&6; }
5725 fi
5726
5727
5728 enablestring=
5729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5730 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5731 no_cache=0
5732 # Check whether --enable-dataobj was given.
5733 if test "${enable_dataobj+set}" = set; then
5734 enableval=$enable_dataobj;
5735 if test "$enableval" = yes; then
5736 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5737 else
5738 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5739 fi
5740
5741 else
5742
5743 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5746 else
5747 no_cache=1
5748 fi
5749
5750 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5751
5752 fi
5753
5754
5755 eval "$ac_cv_use_dataobj"
5756 if test "$no_cache" != 1; then
5757 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5758 fi
5759
5760 if test "$wxUSE_DATAOBJ" = yes; then
5761 { echo "$as_me:$LINENO: result: yes" >&5
5762 echo "${ECHO_T}yes" >&6; }
5763 else
5764 { echo "$as_me:$LINENO: result: no" >&5
5765 echo "${ECHO_T}no" >&6; }
5766 fi
5767
5768
5769
5770 enablestring=
5771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5773 no_cache=0
5774 # Check whether --enable-ipc was given.
5775 if test "${enable_ipc+set}" = set; then
5776 enableval=$enable_ipc;
5777 if test "$enableval" = yes; then
5778 ac_cv_use_ipc='wxUSE_IPC=yes'
5779 else
5780 ac_cv_use_ipc='wxUSE_IPC=no'
5781 fi
5782
5783 else
5784
5785 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5786 if test "x$LINE" != x ; then
5787 eval "DEFAULT_$LINE"
5788 else
5789 no_cache=1
5790 fi
5791
5792 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5793
5794 fi
5795
5796
5797 eval "$ac_cv_use_ipc"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5800 fi
5801
5802 if test "$wxUSE_IPC" = yes; then
5803 { echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6; }
5805 else
5806 { echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6; }
5808 fi
5809
5810
5811
5812 enablestring=
5813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5814 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5815 no_cache=0
5816 # Check whether --enable-apple_ieee was given.
5817 if test "${enable_apple_ieee+set}" = set; then
5818 enableval=$enable_apple_ieee;
5819 if test "$enableval" = yes; then
5820 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5821 else
5822 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5823 fi
5824
5825 else
5826
5827 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x ; then
5829 eval "DEFAULT_$LINE"
5830 else
5831 no_cache=1
5832 fi
5833
5834 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5835
5836 fi
5837
5838
5839 eval "$ac_cv_use_apple_ieee"
5840 if test "$no_cache" != 1; then
5841 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5842 fi
5843
5844 if test "$wxUSE_APPLE_IEEE" = yes; then
5845 { echo "$as_me:$LINENO: result: yes" >&5
5846 echo "${ECHO_T}yes" >&6; }
5847 else
5848 { echo "$as_me:$LINENO: result: no" >&5
5849 echo "${ECHO_T}no" >&6; }
5850 fi
5851
5852
5853 enablestring=
5854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5855 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5856 no_cache=0
5857 # Check whether --enable-arcstream was given.
5858 if test "${enable_arcstream+set}" = set; then
5859 enableval=$enable_arcstream;
5860 if test "$enableval" = yes; then
5861 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5862 else
5863 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5864 fi
5865
5866 else
5867
5868 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5871 else
5872 no_cache=1
5873 fi
5874
5875 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5876
5877 fi
5878
5879
5880 eval "$ac_cv_use_arcstream"
5881 if test "$no_cache" != 1; then
5882 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5883 fi
5884
5885 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5886 { echo "$as_me:$LINENO: result: yes" >&5
5887 echo "${ECHO_T}yes" >&6; }
5888 else
5889 { echo "$as_me:$LINENO: result: no" >&5
5890 echo "${ECHO_T}no" >&6; }
5891 fi
5892
5893
5894 enablestring=
5895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5896 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5897 no_cache=0
5898 # Check whether --enable-backtrace was given.
5899 if test "${enable_backtrace+set}" = set; then
5900 enableval=$enable_backtrace;
5901 if test "$enableval" = yes; then
5902 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5903 else
5904 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5905 fi
5906
5907 else
5908
5909 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x ; then
5911 eval "DEFAULT_$LINE"
5912 else
5913 no_cache=1
5914 fi
5915
5916 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5917
5918 fi
5919
5920
5921 eval "$ac_cv_use_backtrace"
5922 if test "$no_cache" != 1; then
5923 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5924 fi
5925
5926 if test "$wxUSE_STACKWALKER" = yes; then
5927 { echo "$as_me:$LINENO: result: yes" >&5
5928 echo "${ECHO_T}yes" >&6; }
5929 else
5930 { echo "$as_me:$LINENO: result: no" >&5
5931 echo "${ECHO_T}no" >&6; }
5932 fi
5933
5934
5935 enablestring=
5936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5937 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5938 no_cache=0
5939 # Check whether --enable-catch_segvs was given.
5940 if test "${enable_catch_segvs+set}" = set; then
5941 enableval=$enable_catch_segvs;
5942 if test "$enableval" = yes; then
5943 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5944 else
5945 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5946 fi
5947
5948 else
5949
5950 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x ; then
5952 eval "DEFAULT_$LINE"
5953 else
5954 no_cache=1
5955 fi
5956
5957 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5958
5959 fi
5960
5961
5962 eval "$ac_cv_use_catch_segvs"
5963 if test "$no_cache" != 1; then
5964 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5965 fi
5966
5967 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5968 { echo "$as_me:$LINENO: result: yes" >&5
5969 echo "${ECHO_T}yes" >&6; }
5970 else
5971 { echo "$as_me:$LINENO: result: no" >&5
5972 echo "${ECHO_T}no" >&6; }
5973 fi
5974
5975
5976 enablestring=
5977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5979 no_cache=0
5980 # Check whether --enable-cmdline was given.
5981 if test "${enable_cmdline+set}" = set; then
5982 enableval=$enable_cmdline;
5983 if test "$enableval" = yes; then
5984 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5985 else
5986 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5987 fi
5988
5989 else
5990
5991 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x ; then
5993 eval "DEFAULT_$LINE"
5994 else
5995 no_cache=1
5996 fi
5997
5998 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5999
6000 fi
6001
6002
6003 eval "$ac_cv_use_cmdline"
6004 if test "$no_cache" != 1; then
6005 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6006 fi
6007
6008 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6009 { echo "$as_me:$LINENO: result: yes" >&5
6010 echo "${ECHO_T}yes" >&6; }
6011 else
6012 { echo "$as_me:$LINENO: result: no" >&5
6013 echo "${ECHO_T}no" >&6; }
6014 fi
6015
6016
6017 enablestring=
6018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6019 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6020 no_cache=0
6021 # Check whether --enable-datetime was given.
6022 if test "${enable_datetime+set}" = set; then
6023 enableval=$enable_datetime;
6024 if test "$enableval" = yes; then
6025 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6026 else
6027 ac_cv_use_datetime='wxUSE_DATETIME=no'
6028 fi
6029
6030 else
6031
6032 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x ; then
6034 eval "DEFAULT_$LINE"
6035 else
6036 no_cache=1
6037 fi
6038
6039 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6040
6041 fi
6042
6043
6044 eval "$ac_cv_use_datetime"
6045 if test "$no_cache" != 1; then
6046 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6047 fi
6048
6049 if test "$wxUSE_DATETIME" = yes; then
6050 { echo "$as_me:$LINENO: result: yes" >&5
6051 echo "${ECHO_T}yes" >&6; }
6052 else
6053 { echo "$as_me:$LINENO: result: no" >&5
6054 echo "${ECHO_T}no" >&6; }
6055 fi
6056
6057
6058 enablestring=
6059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6060 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6061 no_cache=0
6062 # Check whether --enable-debugreport was given.
6063 if test "${enable_debugreport+set}" = set; then
6064 enableval=$enable_debugreport;
6065 if test "$enableval" = yes; then
6066 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6067 else
6068 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6069 fi
6070
6071 else
6072
6073 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x ; then
6075 eval "DEFAULT_$LINE"
6076 else
6077 no_cache=1
6078 fi
6079
6080 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6081
6082 fi
6083
6084
6085 eval "$ac_cv_use_debugreport"
6086 if test "$no_cache" != 1; then
6087 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6088 fi
6089
6090 if test "$wxUSE_DEBUGREPORT" = yes; then
6091 { echo "$as_me:$LINENO: result: yes" >&5
6092 echo "${ECHO_T}yes" >&6; }
6093 else
6094 { echo "$as_me:$LINENO: result: no" >&5
6095 echo "${ECHO_T}no" >&6; }
6096 fi
6097
6098
6099 enablestring=
6100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6101 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6102 no_cache=0
6103 # Check whether --enable-dialupman was given.
6104 if test "${enable_dialupman+set}" = set; then
6105 enableval=$enable_dialupman;
6106 if test "$enableval" = yes; then
6107 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6108 else
6109 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6110 fi
6111
6112 else
6113
6114 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x ; then
6116 eval "DEFAULT_$LINE"
6117 else
6118 no_cache=1
6119 fi
6120
6121 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6122
6123 fi
6124
6125
6126 eval "$ac_cv_use_dialupman"
6127 if test "$no_cache" != 1; then
6128 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6129 fi
6130
6131 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6132 { echo "$as_me:$LINENO: result: yes" >&5
6133 echo "${ECHO_T}yes" >&6; }
6134 else
6135 { echo "$as_me:$LINENO: result: no" >&5
6136 echo "${ECHO_T}no" >&6; }
6137 fi
6138
6139
6140 enablestring=
6141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6142 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6143 no_cache=0
6144 # Check whether --enable-dynlib was given.
6145 if test "${enable_dynlib+set}" = set; then
6146 enableval=$enable_dynlib;
6147 if test "$enableval" = yes; then
6148 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6149 else
6150 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6151 fi
6152
6153 else
6154
6155 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x ; then
6157 eval "DEFAULT_$LINE"
6158 else
6159 no_cache=1
6160 fi
6161
6162 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6163
6164 fi
6165
6166
6167 eval "$ac_cv_use_dynlib"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6170 fi
6171
6172 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6173 { echo "$as_me:$LINENO: result: yes" >&5
6174 echo "${ECHO_T}yes" >&6; }
6175 else
6176 { echo "$as_me:$LINENO: result: no" >&5
6177 echo "${ECHO_T}no" >&6; }
6178 fi
6179
6180
6181 enablestring=
6182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6183 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6184 no_cache=0
6185 # Check whether --enable-dynamicloader was given.
6186 if test "${enable_dynamicloader+set}" = set; then
6187 enableval=$enable_dynamicloader;
6188 if test "$enableval" = yes; then
6189 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6190 else
6191 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6192 fi
6193
6194 else
6195
6196 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x ; then
6198 eval "DEFAULT_$LINE"
6199 else
6200 no_cache=1
6201 fi
6202
6203 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6204
6205 fi
6206
6207
6208 eval "$ac_cv_use_dynamicloader"
6209 if test "$no_cache" != 1; then
6210 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6211 fi
6212
6213 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6214 { echo "$as_me:$LINENO: result: yes" >&5
6215 echo "${ECHO_T}yes" >&6; }
6216 else
6217 { echo "$as_me:$LINENO: result: no" >&5
6218 echo "${ECHO_T}no" >&6; }
6219 fi
6220
6221
6222 enablestring=
6223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6224 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6225 no_cache=0
6226 # Check whether --enable-exceptions was given.
6227 if test "${enable_exceptions+set}" = set; then
6228 enableval=$enable_exceptions;
6229 if test "$enableval" = yes; then
6230 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6231 else
6232 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6233 fi
6234
6235 else
6236
6237 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x ; then
6239 eval "DEFAULT_$LINE"
6240 else
6241 no_cache=1
6242 fi
6243
6244 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6245
6246 fi
6247
6248
6249 eval "$ac_cv_use_exceptions"
6250 if test "$no_cache" != 1; then
6251 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6252 fi
6253
6254 if test "$wxUSE_EXCEPTIONS" = yes; then
6255 { echo "$as_me:$LINENO: result: yes" >&5
6256 echo "${ECHO_T}yes" >&6; }
6257 else
6258 { echo "$as_me:$LINENO: result: no" >&5
6259 echo "${ECHO_T}no" >&6; }
6260 fi
6261
6262
6263 enablestring=
6264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6265 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6266 no_cache=0
6267 # Check whether --enable-ffile was given.
6268 if test "${enable_ffile+set}" = set; then
6269 enableval=$enable_ffile;
6270 if test "$enableval" = yes; then
6271 ac_cv_use_ffile='wxUSE_FFILE=yes'
6272 else
6273 ac_cv_use_ffile='wxUSE_FFILE=no'
6274 fi
6275
6276 else
6277
6278 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x ; then
6280 eval "DEFAULT_$LINE"
6281 else
6282 no_cache=1
6283 fi
6284
6285 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6286
6287 fi
6288
6289
6290 eval "$ac_cv_use_ffile"
6291 if test "$no_cache" != 1; then
6292 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6293 fi
6294
6295 if test "$wxUSE_FFILE" = yes; then
6296 { echo "$as_me:$LINENO: result: yes" >&5
6297 echo "${ECHO_T}yes" >&6; }
6298 else
6299 { echo "$as_me:$LINENO: result: no" >&5
6300 echo "${ECHO_T}no" >&6; }
6301 fi
6302
6303
6304 enablestring=
6305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6306 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6307 no_cache=0
6308 # Check whether --enable-file was given.
6309 if test "${enable_file+set}" = set; then
6310 enableval=$enable_file;
6311 if test "$enableval" = yes; then
6312 ac_cv_use_file='wxUSE_FILE=yes'
6313 else
6314 ac_cv_use_file='wxUSE_FILE=no'
6315 fi
6316
6317 else
6318
6319 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x ; then
6321 eval "DEFAULT_$LINE"
6322 else
6323 no_cache=1
6324 fi
6325
6326 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6327
6328 fi
6329
6330
6331 eval "$ac_cv_use_file"
6332 if test "$no_cache" != 1; then
6333 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6334 fi
6335
6336 if test "$wxUSE_FILE" = yes; then
6337 { echo "$as_me:$LINENO: result: yes" >&5
6338 echo "${ECHO_T}yes" >&6; }
6339 else
6340 { echo "$as_me:$LINENO: result: no" >&5
6341 echo "${ECHO_T}no" >&6; }
6342 fi
6343
6344
6345 enablestring=
6346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6347 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6348 no_cache=0
6349 # Check whether --enable-filesystem was given.
6350 if test "${enable_filesystem+set}" = set; then
6351 enableval=$enable_filesystem;
6352 if test "$enableval" = yes; then
6353 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6354 else
6355 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6356 fi
6357
6358 else
6359
6360 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x ; then
6362 eval "DEFAULT_$LINE"
6363 else
6364 no_cache=1
6365 fi
6366
6367 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6368
6369 fi
6370
6371
6372 eval "$ac_cv_use_filesystem"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6375 fi
6376
6377 if test "$wxUSE_FILESYSTEM" = yes; then
6378 { echo "$as_me:$LINENO: result: yes" >&5
6379 echo "${ECHO_T}yes" >&6; }
6380 else
6381 { echo "$as_me:$LINENO: result: no" >&5
6382 echo "${ECHO_T}no" >&6; }
6383 fi
6384
6385
6386 enablestring=
6387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6388 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6389 no_cache=0
6390 # Check whether --enable-fontmap was given.
6391 if test "${enable_fontmap+set}" = set; then
6392 enableval=$enable_fontmap;
6393 if test "$enableval" = yes; then
6394 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6395 else
6396 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6397 fi
6398
6399 else
6400
6401 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x ; then
6403 eval "DEFAULT_$LINE"
6404 else
6405 no_cache=1
6406 fi
6407
6408 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6409
6410 fi
6411
6412
6413 eval "$ac_cv_use_fontmap"
6414 if test "$no_cache" != 1; then
6415 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6416 fi
6417
6418 if test "$wxUSE_FONTMAP" = yes; then
6419 { echo "$as_me:$LINENO: result: yes" >&5
6420 echo "${ECHO_T}yes" >&6; }
6421 else
6422 { echo "$as_me:$LINENO: result: no" >&5
6423 echo "${ECHO_T}no" >&6; }
6424 fi
6425
6426
6427 enablestring=
6428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6429 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6430 no_cache=0
6431 # Check whether --enable-fs_archive was given.
6432 if test "${enable_fs_archive+set}" = set; then
6433 enableval=$enable_fs_archive;
6434 if test "$enableval" = yes; then
6435 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6436 else
6437 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6438 fi
6439
6440 else
6441
6442 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x ; then
6444 eval "DEFAULT_$LINE"
6445 else
6446 no_cache=1
6447 fi
6448
6449 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6450
6451 fi
6452
6453
6454 eval "$ac_cv_use_fs_archive"
6455 if test "$no_cache" != 1; then
6456 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6457 fi
6458
6459 if test "$wxUSE_FS_ARCHIVE" = yes; then
6460 { echo "$as_me:$LINENO: result: yes" >&5
6461 echo "${ECHO_T}yes" >&6; }
6462 else
6463 { echo "$as_me:$LINENO: result: no" >&5
6464 echo "${ECHO_T}no" >&6; }
6465 fi
6466
6467
6468 enablestring=
6469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6470 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6471 no_cache=0
6472 # Check whether --enable-fs_inet was given.
6473 if test "${enable_fs_inet+set}" = set; then
6474 enableval=$enable_fs_inet;
6475 if test "$enableval" = yes; then
6476 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6477 else
6478 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6479 fi
6480
6481 else
6482
6483 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x ; then
6485 eval "DEFAULT_$LINE"
6486 else
6487 no_cache=1
6488 fi
6489
6490 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6491
6492 fi
6493
6494
6495 eval "$ac_cv_use_fs_inet"
6496 if test "$no_cache" != 1; then
6497 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6498 fi
6499
6500 if test "$wxUSE_FS_INET" = yes; then
6501 { echo "$as_me:$LINENO: result: yes" >&5
6502 echo "${ECHO_T}yes" >&6; }
6503 else
6504 { echo "$as_me:$LINENO: result: no" >&5
6505 echo "${ECHO_T}no" >&6; }
6506 fi
6507
6508
6509 enablestring=
6510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6512 no_cache=0
6513 # Check whether --enable-fs_zip was given.
6514 if test "${enable_fs_zip+set}" = set; then
6515 enableval=$enable_fs_zip;
6516 if test "$enableval" = yes; then
6517 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6518 else
6519 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6520 fi
6521
6522 else
6523
6524 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x ; then
6526 eval "DEFAULT_$LINE"
6527 else
6528 no_cache=1
6529 fi
6530
6531 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6532
6533 fi
6534
6535
6536 eval "$ac_cv_use_fs_zip"
6537 if test "$no_cache" != 1; then
6538 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6539 fi
6540
6541 if test "$wxUSE_FS_ZIP" = yes; then
6542 { echo "$as_me:$LINENO: result: yes" >&5
6543 echo "${ECHO_T}yes" >&6; }
6544 else
6545 { echo "$as_me:$LINENO: result: no" >&5
6546 echo "${ECHO_T}no" >&6; }
6547 fi
6548
6549
6550 enablestring=
6551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6553 no_cache=0
6554 # Check whether --enable-geometry was given.
6555 if test "${enable_geometry+set}" = set; then
6556 enableval=$enable_geometry;
6557 if test "$enableval" = yes; then
6558 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6559 else
6560 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6561 fi
6562
6563 else
6564
6565 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x ; then
6567 eval "DEFAULT_$LINE"
6568 else
6569 no_cache=1
6570 fi
6571
6572 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6573
6574 fi
6575
6576
6577 eval "$ac_cv_use_geometry"
6578 if test "$no_cache" != 1; then
6579 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6580 fi
6581
6582 if test "$wxUSE_GEOMETRY" = yes; then
6583 { echo "$as_me:$LINENO: result: yes" >&5
6584 echo "${ECHO_T}yes" >&6; }
6585 else
6586 { echo "$as_me:$LINENO: result: no" >&5
6587 echo "${ECHO_T}no" >&6; }
6588 fi
6589
6590
6591 enablestring=
6592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6594 no_cache=0
6595 # Check whether --enable-log was given.
6596 if test "${enable_log+set}" = set; then
6597 enableval=$enable_log;
6598 if test "$enableval" = yes; then
6599 ac_cv_use_log='wxUSE_LOG=yes'
6600 else
6601 ac_cv_use_log='wxUSE_LOG=no'
6602 fi
6603
6604 else
6605
6606 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6609 else
6610 no_cache=1
6611 fi
6612
6613 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6614
6615 fi
6616
6617
6618 eval "$ac_cv_use_log"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6621 fi
6622
6623 if test "$wxUSE_LOG" = yes; then
6624 { echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6; }
6626 else
6627 { echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6; }
6629 fi
6630
6631
6632 enablestring=
6633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6635 no_cache=0
6636 # Check whether --enable-longlong was given.
6637 if test "${enable_longlong+set}" = set; then
6638 enableval=$enable_longlong;
6639 if test "$enableval" = yes; then
6640 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6641 else
6642 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6643 fi
6644
6645 else
6646
6647 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x ; then
6649 eval "DEFAULT_$LINE"
6650 else
6651 no_cache=1
6652 fi
6653
6654 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6655
6656 fi
6657
6658
6659 eval "$ac_cv_use_longlong"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6662 fi
6663
6664 if test "$wxUSE_LONGLONG" = yes; then
6665 { echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6; }
6667 else
6668 { echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6; }
6670 fi
6671
6672
6673 enablestring=
6674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6676 no_cache=0
6677 # Check whether --enable-mimetype was given.
6678 if test "${enable_mimetype+set}" = set; then
6679 enableval=$enable_mimetype;
6680 if test "$enableval" = yes; then
6681 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6682 else
6683 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6684 fi
6685
6686 else
6687
6688 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x ; then
6690 eval "DEFAULT_$LINE"
6691 else
6692 no_cache=1
6693 fi
6694
6695 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6696
6697 fi
6698
6699
6700 eval "$ac_cv_use_mimetype"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6703 fi
6704
6705 if test "$wxUSE_MIMETYPE" = yes; then
6706 { echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6; }
6708 else
6709 { echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6; }
6711 fi
6712
6713
6714 enablestring=
6715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6717 no_cache=0
6718 # Check whether --enable-mslu was given.
6719 if test "${enable_mslu+set}" = set; then
6720 enableval=$enable_mslu;
6721 if test "$enableval" = yes; then
6722 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6723 else
6724 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6725 fi
6726
6727 else
6728
6729 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x ; then
6731 eval "DEFAULT_$LINE"
6732 else
6733 no_cache=1
6734 fi
6735
6736 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6737
6738 fi
6739
6740
6741 eval "$ac_cv_use_mslu"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6744 fi
6745
6746 if test "$wxUSE_UNICODE_MSLU" = yes; then
6747 { echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6; }
6749 else
6750 { echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6; }
6752 fi
6753
6754
6755 enablestring=
6756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6758 no_cache=0
6759 # Check whether --enable-utf8 was given.
6760 if test "${enable_utf8+set}" = set; then
6761 enableval=$enable_utf8;
6762 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6763
6764 else
6765
6766 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
6767 if test "x$LINE" != x ; then
6768 eval "DEFAULT_$LINE"
6769 else
6770 no_cache=1
6771 fi
6772
6773 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6774
6775 fi
6776
6777
6778 eval "$wx_cv_use_utf8"
6779 if test "$no_cache" != 1; then
6780 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6781 fi
6782
6783 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6784 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
6785
6786
6787 enablestring=
6788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6789 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
6790 no_cache=0
6791 # Check whether --enable-utf8only was given.
6792 if test "${enable_utf8only+set}" = set; then
6793 enableval=$enable_utf8only;
6794 if test "$enableval" = yes; then
6795 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6796 else
6797 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6798 fi
6799
6800 else
6801
6802 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
6803 if test "x$LINE" != x ; then
6804 eval "DEFAULT_$LINE"
6805 else
6806 no_cache=1
6807 fi
6808
6809 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6810
6811 fi
6812
6813
6814 eval "$ac_cv_use_utf8only"
6815 if test "$no_cache" != 1; then
6816 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6817 fi
6818
6819 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6820 { echo "$as_me:$LINENO: result: yes" >&5
6821 echo "${ECHO_T}yes" >&6; }
6822 else
6823 { echo "$as_me:$LINENO: result: no" >&5
6824 echo "${ECHO_T}no" >&6; }
6825 fi
6826
6827
6828 enablestring=
6829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6831 no_cache=0
6832 # Check whether --enable-snglinst was given.
6833 if test "${enable_snglinst+set}" = set; then
6834 enableval=$enable_snglinst;
6835 if test "$enableval" = yes; then
6836 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6837 else
6838 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6839 fi
6840
6841 else
6842
6843 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
6844 if test "x$LINE" != x ; then
6845 eval "DEFAULT_$LINE"
6846 else
6847 no_cache=1
6848 fi
6849
6850 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6851
6852 fi
6853
6854
6855 eval "$ac_cv_use_snglinst"
6856 if test "$no_cache" != 1; then
6857 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6858 fi
6859
6860 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6861 { echo "$as_me:$LINENO: result: yes" >&5
6862 echo "${ECHO_T}yes" >&6; }
6863 else
6864 { echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6; }
6866 fi
6867
6868
6869 enablestring=
6870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6872 no_cache=0
6873 # Check whether --enable-std_iostreams was given.
6874 if test "${enable_std_iostreams+set}" = set; then
6875 enableval=$enable_std_iostreams;
6876 if test "$enableval" = yes; then
6877 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6878 else
6879 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6880 fi
6881
6882 else
6883
6884 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
6885 if test "x$LINE" != x ; then
6886 eval "DEFAULT_$LINE"
6887 else
6888 no_cache=1
6889 fi
6890
6891 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6892
6893 fi
6894
6895
6896 eval "$ac_cv_use_std_iostreams"
6897 if test "$no_cache" != 1; then
6898 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6899 fi
6900
6901 if test "$wxUSE_STD_IOSTREAM" = yes; then
6902 { echo "$as_me:$LINENO: result: yes" >&5
6903 echo "${ECHO_T}yes" >&6; }
6904 else
6905 { echo "$as_me:$LINENO: result: no" >&5
6906 echo "${ECHO_T}no" >&6; }
6907 fi
6908
6909
6910 enablestring=
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6913 no_cache=0
6914 # Check whether --enable-std_string was given.
6915 if test "${enable_std_string+set}" = set; then
6916 enableval=$enable_std_string;
6917 if test "$enableval" = yes; then
6918 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6919 else
6920 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6921 fi
6922
6923 else
6924
6925 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
6926 if test "x$LINE" != x ; then
6927 eval "DEFAULT_$LINE"
6928 else
6929 no_cache=1
6930 fi
6931
6932 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6933
6934 fi
6935
6936
6937 eval "$ac_cv_use_std_string"
6938 if test "$no_cache" != 1; then
6939 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6940 fi
6941
6942 if test "$wxUSE_STD_STRING" = yes; then
6943 { echo "$as_me:$LINENO: result: yes" >&5
6944 echo "${ECHO_T}yes" >&6; }
6945 else
6946 { echo "$as_me:$LINENO: result: no" >&5
6947 echo "${ECHO_T}no" >&6; }
6948 fi
6949
6950
6951 enablestring=
6952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6953 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6954 no_cache=0
6955 # Check whether --enable-stdpaths was given.
6956 if test "${enable_stdpaths+set}" = set; then
6957 enableval=$enable_stdpaths;
6958 if test "$enableval" = yes; then
6959 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6960 else
6961 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6962 fi
6963
6964 else
6965
6966 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
6967 if test "x$LINE" != x ; then
6968 eval "DEFAULT_$LINE"
6969 else
6970 no_cache=1
6971 fi
6972
6973 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6974
6975 fi
6976
6977
6978 eval "$ac_cv_use_stdpaths"
6979 if test "$no_cache" != 1; then
6980 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6981 fi
6982
6983 if test "$wxUSE_STDPATHS" = yes; then
6984 { echo "$as_me:$LINENO: result: yes" >&5
6985 echo "${ECHO_T}yes" >&6; }
6986 else
6987 { echo "$as_me:$LINENO: result: no" >&5
6988 echo "${ECHO_T}no" >&6; }
6989 fi
6990
6991
6992 enablestring=
6993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6995 no_cache=0
6996 # Check whether --enable-stopwatch was given.
6997 if test "${enable_stopwatch+set}" = set; then
6998 enableval=$enable_stopwatch;
6999 if test "$enableval" = yes; then
7000 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7001 else
7002 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7003 fi
7004
7005 else
7006
7007 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7008 if test "x$LINE" != x ; then
7009 eval "DEFAULT_$LINE"
7010 else
7011 no_cache=1
7012 fi
7013
7014 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
7015
7016 fi
7017
7018
7019 eval "$ac_cv_use_stopwatch"
7020 if test "$no_cache" != 1; then
7021 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7022 fi
7023
7024 if test "$wxUSE_STOPWATCH" = yes; then
7025 { echo "$as_me:$LINENO: result: yes" >&5
7026 echo "${ECHO_T}yes" >&6; }
7027 else
7028 { echo "$as_me:$LINENO: result: no" >&5
7029 echo "${ECHO_T}no" >&6; }
7030 fi
7031
7032
7033 enablestring=
7034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7035 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7036 no_cache=0
7037 # Check whether --enable-streams was given.
7038 if test "${enable_streams+set}" = set; then
7039 enableval=$enable_streams;
7040 if test "$enableval" = yes; then
7041 ac_cv_use_streams='wxUSE_STREAMS=yes'
7042 else
7043 ac_cv_use_streams='wxUSE_STREAMS=no'
7044 fi
7045
7046 else
7047
7048 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7049 if test "x$LINE" != x ; then
7050 eval "DEFAULT_$LINE"
7051 else
7052 no_cache=1
7053 fi
7054
7055 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7056
7057 fi
7058
7059
7060 eval "$ac_cv_use_streams"
7061 if test "$no_cache" != 1; then
7062 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7063 fi
7064
7065 if test "$wxUSE_STREAMS" = yes; then
7066 { echo "$as_me:$LINENO: result: yes" >&5
7067 echo "${ECHO_T}yes" >&6; }
7068 else
7069 { echo "$as_me:$LINENO: result: no" >&5
7070 echo "${ECHO_T}no" >&6; }
7071 fi
7072
7073
7074 enablestring=
7075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7077 no_cache=0
7078 # Check whether --enable-system_options was given.
7079 if test "${enable_system_options+set}" = set; then
7080 enableval=$enable_system_options;
7081 if test "$enableval" = yes; then
7082 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7083 else
7084 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7085 fi
7086
7087 else
7088
7089 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7092 else
7093 no_cache=1
7094 fi
7095
7096 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7097
7098 fi
7099
7100
7101 eval "$ac_cv_use_system_options"
7102 if test "$no_cache" != 1; then
7103 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7104 fi
7105
7106 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7107 { echo "$as_me:$LINENO: result: yes" >&5
7108 echo "${ECHO_T}yes" >&6; }
7109 else
7110 { echo "$as_me:$LINENO: result: no" >&5
7111 echo "${ECHO_T}no" >&6; }
7112 fi
7113
7114
7115 enablestring=
7116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7117 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7118 no_cache=0
7119 # Check whether --enable-tarstream was given.
7120 if test "${enable_tarstream+set}" = set; then
7121 enableval=$enable_tarstream;
7122 if test "$enableval" = yes; then
7123 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7124 else
7125 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7126 fi
7127
7128 else
7129
7130 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7131 if test "x$LINE" != x ; then
7132 eval "DEFAULT_$LINE"
7133 else
7134 no_cache=1
7135 fi
7136
7137 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7138
7139 fi
7140
7141
7142 eval "$ac_cv_use_tarstream"
7143 if test "$no_cache" != 1; then
7144 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7145 fi
7146
7147 if test "$wxUSE_TARSTREAM" = yes; then
7148 { echo "$as_me:$LINENO: result: yes" >&5
7149 echo "${ECHO_T}yes" >&6; }
7150 else
7151 { echo "$as_me:$LINENO: result: no" >&5
7152 echo "${ECHO_T}no" >&6; }
7153 fi
7154
7155
7156 enablestring=
7157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7158 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7159 no_cache=0
7160 # Check whether --enable-textbuf was given.
7161 if test "${enable_textbuf+set}" = set; then
7162 enableval=$enable_textbuf;
7163 if test "$enableval" = yes; then
7164 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7165 else
7166 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7167 fi
7168
7169 else
7170
7171 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7172 if test "x$LINE" != x ; then
7173 eval "DEFAULT_$LINE"
7174 else
7175 no_cache=1
7176 fi
7177
7178 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7179
7180 fi
7181
7182
7183 eval "$ac_cv_use_textbuf"
7184 if test "$no_cache" != 1; then
7185 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7186 fi
7187
7188 if test "$wxUSE_TEXTBUFFER" = yes; then
7189 { echo "$as_me:$LINENO: result: yes" >&5
7190 echo "${ECHO_T}yes" >&6; }
7191 else
7192 { echo "$as_me:$LINENO: result: no" >&5
7193 echo "${ECHO_T}no" >&6; }
7194 fi
7195
7196
7197 enablestring=
7198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7200 no_cache=0
7201 # Check whether --enable-textfile was given.
7202 if test "${enable_textfile+set}" = set; then
7203 enableval=$enable_textfile;
7204 if test "$enableval" = yes; then
7205 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7206 else
7207 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7208 fi
7209
7210 else
7211
7212 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x ; then
7214 eval "DEFAULT_$LINE"
7215 else
7216 no_cache=1
7217 fi
7218
7219 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7220
7221 fi
7222
7223
7224 eval "$ac_cv_use_textfile"
7225 if test "$no_cache" != 1; then
7226 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7227 fi
7228
7229 if test "$wxUSE_TEXTFILE" = yes; then
7230 { echo "$as_me:$LINENO: result: yes" >&5
7231 echo "${ECHO_T}yes" >&6; }
7232 else
7233 { echo "$as_me:$LINENO: result: no" >&5
7234 echo "${ECHO_T}no" >&6; }
7235 fi
7236
7237
7238 enablestring=
7239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7240 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7241 no_cache=0
7242 # Check whether --enable-timer was given.
7243 if test "${enable_timer+set}" = set; then
7244 enableval=$enable_timer;
7245 if test "$enableval" = yes; then
7246 ac_cv_use_timer='wxUSE_TIMER=yes'
7247 else
7248 ac_cv_use_timer='wxUSE_TIMER=no'
7249 fi
7250
7251 else
7252
7253 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
7254 if test "x$LINE" != x ; then
7255 eval "DEFAULT_$LINE"
7256 else
7257 no_cache=1
7258 fi
7259
7260 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7261
7262 fi
7263
7264
7265 eval "$ac_cv_use_timer"
7266 if test "$no_cache" != 1; then
7267 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7268 fi
7269
7270 if test "$wxUSE_TIMER" = yes; then
7271 { echo "$as_me:$LINENO: result: yes" >&5
7272 echo "${ECHO_T}yes" >&6; }
7273 else
7274 { echo "$as_me:$LINENO: result: no" >&5
7275 echo "${ECHO_T}no" >&6; }
7276 fi
7277
7278
7279 enablestring=
7280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7281 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7282 no_cache=0
7283 # Check whether --enable-unicode was given.
7284 if test "${enable_unicode+set}" = set; then
7285 enableval=$enable_unicode;
7286 if test "$enableval" = yes; then
7287 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7288 else
7289 ac_cv_use_unicode='wxUSE_UNICODE=no'
7290 fi
7291
7292 else
7293
7294 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x ; then
7296 eval "DEFAULT_$LINE"
7297 else
7298 no_cache=1
7299 fi
7300
7301 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7302
7303 fi
7304
7305
7306 eval "$ac_cv_use_unicode"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7309 fi
7310
7311 if test "$wxUSE_UNICODE" = yes; then
7312 { echo "$as_me:$LINENO: result: yes" >&5
7313 echo "${ECHO_T}yes" >&6; }
7314 else
7315 { echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6; }
7317 fi
7318
7319
7320 enablestring=
7321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7323 no_cache=0
7324 # Check whether --enable-sound was given.
7325 if test "${enable_sound+set}" = set; then
7326 enableval=$enable_sound;
7327 if test "$enableval" = yes; then
7328 ac_cv_use_sound='wxUSE_SOUND=yes'
7329 else
7330 ac_cv_use_sound='wxUSE_SOUND=no'
7331 fi
7332
7333 else
7334
7335 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7338 else
7339 no_cache=1
7340 fi
7341
7342 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7343
7344 fi
7345
7346
7347 eval "$ac_cv_use_sound"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7350 fi
7351
7352 if test "$wxUSE_SOUND" = yes; then
7353 { echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6; }
7355 else
7356 { echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6; }
7358 fi
7359
7360
7361 enablestring=
7362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7364 no_cache=0
7365 # Check whether --enable-mediactrl was given.
7366 if test "${enable_mediactrl+set}" = set; then
7367 enableval=$enable_mediactrl;
7368 if test "$enableval" = yes; then
7369 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7370 else
7371 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7372 fi
7373
7374 else
7375
7376 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x ; then
7378 eval "DEFAULT_$LINE"
7379 else
7380 no_cache=1
7381 fi
7382
7383 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7384
7385 fi
7386
7387
7388 eval "$ac_cv_use_mediactrl"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7391 fi
7392
7393 if test "$wxUSE_MEDIACTRL" = yes; then
7394 { echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6; }
7396 else
7397 { echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6; }
7399 fi
7400
7401
7402 enablestring=
7403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7405 no_cache=0
7406 # Check whether --enable-gstreamer8 was given.
7407 if test "${enable_gstreamer8+set}" = set; then
7408 enableval=$enable_gstreamer8;
7409 if test "$enableval" = yes; then
7410 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7411 else
7412 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7413 fi
7414
7415 else
7416
7417 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7420 else
7421 no_cache=1
7422 fi
7423
7424 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7425
7426 fi
7427
7428
7429 eval "$ac_cv_use_gstreamer8"
7430 if test "$no_cache" != 1; then
7431 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7432 fi
7433
7434 if test "$wxUSE_GSTREAMER8" = yes; then
7435 { echo "$as_me:$LINENO: result: yes" >&5
7436 echo "${ECHO_T}yes" >&6; }
7437 else
7438 { echo "$as_me:$LINENO: result: no" >&5
7439 echo "${ECHO_T}no" >&6; }
7440 fi
7441
7442
7443 enablestring=
7444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7445 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7446 no_cache=0
7447 # Check whether --enable-printfposparam was given.
7448 if test "${enable_printfposparam+set}" = set; then
7449 enableval=$enable_printfposparam;
7450 if test "$enableval" = yes; then
7451 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7452 else
7453 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7454 fi
7455
7456 else
7457
7458 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7461 else
7462 no_cache=1
7463 fi
7464
7465 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7466
7467 fi
7468
7469
7470 eval "$ac_cv_use_printfposparam"
7471 if test "$no_cache" != 1; then
7472 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7473 fi
7474
7475 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7476 { echo "$as_me:$LINENO: result: yes" >&5
7477 echo "${ECHO_T}yes" >&6; }
7478 else
7479 { echo "$as_me:$LINENO: result: no" >&5
7480 echo "${ECHO_T}no" >&6; }
7481 fi
7482
7483
7484 enablestring=
7485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7487 no_cache=0
7488 # Check whether --enable-zipstream was given.
7489 if test "${enable_zipstream+set}" = set; then
7490 enableval=$enable_zipstream;
7491 if test "$enableval" = yes; then
7492 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7493 else
7494 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7495 fi
7496
7497 else
7498
7499 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7502 else
7503 no_cache=1
7504 fi
7505
7506 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7507
7508 fi
7509
7510
7511 eval "$ac_cv_use_zipstream"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7514 fi
7515
7516 if test "$wxUSE_ZIPSTREAM" = yes; then
7517 { echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6; }
7519 else
7520 { echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6; }
7522 fi
7523
7524
7525
7526 enablestring=
7527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7528 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7529 no_cache=0
7530 # Check whether --enable-url was given.
7531 if test "${enable_url+set}" = set; then
7532 enableval=$enable_url;
7533 if test "$enableval" = yes; then
7534 ac_cv_use_url='wxUSE_URL=yes'
7535 else
7536 ac_cv_use_url='wxUSE_URL=no'
7537 fi
7538
7539 else
7540
7541 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x ; then
7543 eval "DEFAULT_$LINE"
7544 else
7545 no_cache=1
7546 fi
7547
7548 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7549
7550 fi
7551
7552
7553 eval "$ac_cv_use_url"
7554 if test "$no_cache" != 1; then
7555 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7556 fi
7557
7558 if test "$wxUSE_URL" = yes; then
7559 { echo "$as_me:$LINENO: result: yes" >&5
7560 echo "${ECHO_T}yes" >&6; }
7561 else
7562 { echo "$as_me:$LINENO: result: no" >&5
7563 echo "${ECHO_T}no" >&6; }
7564 fi
7565
7566
7567 enablestring=
7568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7569 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7570 no_cache=0
7571 # Check whether --enable-variant was given.
7572 if test "${enable_variant+set}" = set; then
7573 enableval=$enable_variant;
7574 if test "$enableval" = yes; then
7575 ac_cv_use_variant='wxUSE_VARIANT=yes'
7576 else
7577 ac_cv_use_variant='wxUSE_VARIANT=no'
7578 fi
7579
7580 else
7581
7582 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x ; then
7584 eval "DEFAULT_$LINE"
7585 else
7586 no_cache=1
7587 fi
7588
7589 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7590
7591 fi
7592
7593
7594 eval "$ac_cv_use_variant"
7595 if test "$no_cache" != 1; then
7596 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7597 fi
7598
7599 if test "$wxUSE_VARIANT" = yes; then
7600 { echo "$as_me:$LINENO: result: yes" >&5
7601 echo "${ECHO_T}yes" >&6; }
7602 else
7603 { echo "$as_me:$LINENO: result: no" >&5
7604 echo "${ECHO_T}no" >&6; }
7605 fi
7606
7607
7608 enablestring=
7609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7610 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7611 no_cache=0
7612 # Check whether --enable-protocol was given.
7613 if test "${enable_protocol+set}" = set; then
7614 enableval=$enable_protocol;
7615 if test "$enableval" = yes; then
7616 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7617 else
7618 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7619 fi
7620
7621 else
7622
7623 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
7624 if test "x$LINE" != x ; then
7625 eval "DEFAULT_$LINE"
7626 else
7627 no_cache=1
7628 fi
7629
7630 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7631
7632 fi
7633
7634
7635 eval "$ac_cv_use_protocol"
7636 if test "$no_cache" != 1; then
7637 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7638 fi
7639
7640 if test "$wxUSE_PROTOCOL" = yes; then
7641 { echo "$as_me:$LINENO: result: yes" >&5
7642 echo "${ECHO_T}yes" >&6; }
7643 else
7644 { echo "$as_me:$LINENO: result: no" >&5
7645 echo "${ECHO_T}no" >&6; }
7646 fi
7647
7648
7649 enablestring=
7650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7651 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7652 no_cache=0
7653 # Check whether --enable-protocol_http was given.
7654 if test "${enable_protocol_http+set}" = set; then
7655 enableval=$enable_protocol_http;
7656 if test "$enableval" = yes; then
7657 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7658 else
7659 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7660 fi
7661
7662 else
7663
7664 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x ; then
7666 eval "DEFAULT_$LINE"
7667 else
7668 no_cache=1
7669 fi
7670
7671 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7672
7673 fi
7674
7675
7676 eval "$ac_cv_use_protocol_http"
7677 if test "$no_cache" != 1; then
7678 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7679 fi
7680
7681 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7682 { echo "$as_me:$LINENO: result: yes" >&5
7683 echo "${ECHO_T}yes" >&6; }
7684 else
7685 { echo "$as_me:$LINENO: result: no" >&5
7686 echo "${ECHO_T}no" >&6; }
7687 fi
7688
7689
7690 enablestring=
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7693 no_cache=0
7694 # Check whether --enable-protocol_ftp was given.
7695 if test "${enable_protocol_ftp+set}" = set; then
7696 enableval=$enable_protocol_ftp;
7697 if test "$enableval" = yes; then
7698 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7699 else
7700 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7701 fi
7702
7703 else
7704
7705 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7708 else
7709 no_cache=1
7710 fi
7711
7712 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7713
7714 fi
7715
7716
7717 eval "$ac_cv_use_protocol_ftp"
7718 if test "$no_cache" != 1; then
7719 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7720 fi
7721
7722 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7723 { echo "$as_me:$LINENO: result: yes" >&5
7724 echo "${ECHO_T}yes" >&6; }
7725 else
7726 { echo "$as_me:$LINENO: result: no" >&5
7727 echo "${ECHO_T}no" >&6; }
7728 fi
7729
7730
7731 enablestring=
7732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7733 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7734 no_cache=0
7735 # Check whether --enable-protocol_file was given.
7736 if test "${enable_protocol_file+set}" = set; then
7737 enableval=$enable_protocol_file;
7738 if test "$enableval" = yes; then
7739 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7740 else
7741 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7742 fi
7743
7744 else
7745
7746 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x ; then
7748 eval "DEFAULT_$LINE"
7749 else
7750 no_cache=1
7751 fi
7752
7753 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7754
7755 fi
7756
7757
7758 eval "$ac_cv_use_protocol_file"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7761 fi
7762
7763 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7764 { echo "$as_me:$LINENO: result: yes" >&5
7765 echo "${ECHO_T}yes" >&6; }
7766 else
7767 { echo "$as_me:$LINENO: result: no" >&5
7768 echo "${ECHO_T}no" >&6; }
7769 fi
7770
7771
7772
7773
7774
7775 enablestring=
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7778 no_cache=0
7779 # Check whether --enable-threads was given.
7780 if test "${enable_threads+set}" = set; then
7781 enableval=$enable_threads;
7782 if test "$enableval" = yes; then
7783 ac_cv_use_threads='wxUSE_THREADS=yes'
7784 else
7785 ac_cv_use_threads='wxUSE_THREADS=no'
7786 fi
7787
7788 else
7789
7790 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x ; then
7792 eval "DEFAULT_$LINE"
7793 else
7794 no_cache=1
7795 fi
7796
7797 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7798
7799 fi
7800
7801
7802 eval "$ac_cv_use_threads"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7805 fi
7806
7807 if test "$wxUSE_THREADS" = yes; then
7808 { echo "$as_me:$LINENO: result: yes" >&5
7809 echo "${ECHO_T}yes" >&6; }
7810 else
7811 { echo "$as_me:$LINENO: result: no" >&5
7812 echo "${ECHO_T}no" >&6; }
7813 fi
7814
7815
7816 if test "$wxUSE_GUI" = "yes"; then
7817
7818
7819
7820 enablestring=
7821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7822 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7823 no_cache=0
7824 # Check whether --enable-docview was given.
7825 if test "${enable_docview+set}" = set; then
7826 enableval=$enable_docview;
7827 if test "$enableval" = yes; then
7828 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7829 else
7830 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7831 fi
7832
7833 else
7834
7835 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
7836 if test "x$LINE" != x ; then
7837 eval "DEFAULT_$LINE"
7838 else
7839 no_cache=1
7840 fi
7841
7842 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7843
7844 fi
7845
7846
7847 eval "$ac_cv_use_docview"
7848 if test "$no_cache" != 1; then
7849 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7850 fi
7851
7852 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7853 { echo "$as_me:$LINENO: result: yes" >&5
7854 echo "${ECHO_T}yes" >&6; }
7855 else
7856 { echo "$as_me:$LINENO: result: no" >&5
7857 echo "${ECHO_T}no" >&6; }
7858 fi
7859
7860
7861 enablestring=
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7864 no_cache=0
7865 # Check whether --enable-help was given.
7866 if test "${enable_help+set}" = set; then
7867 enableval=$enable_help;
7868 if test "$enableval" = yes; then
7869 ac_cv_use_help='wxUSE_HELP=yes'
7870 else
7871 ac_cv_use_help='wxUSE_HELP=no'
7872 fi
7873
7874 else
7875
7876 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
7877 if test "x$LINE" != x ; then
7878 eval "DEFAULT_$LINE"
7879 else
7880 no_cache=1
7881 fi
7882
7883 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7884
7885 fi
7886
7887
7888 eval "$ac_cv_use_help"
7889 if test "$no_cache" != 1; then
7890 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7891 fi
7892
7893 if test "$wxUSE_HELP" = yes; then
7894 { echo "$as_me:$LINENO: result: yes" >&5
7895 echo "${ECHO_T}yes" >&6; }
7896 else
7897 { echo "$as_me:$LINENO: result: no" >&5
7898 echo "${ECHO_T}no" >&6; }
7899 fi
7900
7901
7902 enablestring=
7903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7905 no_cache=0
7906 # Check whether --enable-mshtmlhelp was given.
7907 if test "${enable_mshtmlhelp+set}" = set; then
7908 enableval=$enable_mshtmlhelp;
7909 if test "$enableval" = yes; then
7910 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7911 else
7912 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7913 fi
7914
7915 else
7916
7917 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
7918 if test "x$LINE" != x ; then
7919 eval "DEFAULT_$LINE"
7920 else
7921 no_cache=1
7922 fi
7923
7924 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7925
7926 fi
7927
7928
7929 eval "$ac_cv_use_mshtmlhelp"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7932 fi
7933
7934 if test "$wxUSE_MS_HTML_HELP" = yes; then
7935 { echo "$as_me:$LINENO: result: yes" >&5
7936 echo "${ECHO_T}yes" >&6; }
7937 else
7938 { echo "$as_me:$LINENO: result: no" >&5
7939 echo "${ECHO_T}no" >&6; }
7940 fi
7941
7942
7943 enablestring=
7944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7946 no_cache=0
7947 # Check whether --enable-html was given.
7948 if test "${enable_html+set}" = set; then
7949 enableval=$enable_html;
7950 if test "$enableval" = yes; then
7951 ac_cv_use_html='wxUSE_HTML=yes'
7952 else
7953 ac_cv_use_html='wxUSE_HTML=no'
7954 fi
7955
7956 else
7957
7958 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
7959 if test "x$LINE" != x ; then
7960 eval "DEFAULT_$LINE"
7961 else
7962 no_cache=1
7963 fi
7964
7965 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7966
7967 fi
7968
7969
7970 eval "$ac_cv_use_html"
7971 if test "$no_cache" != 1; then
7972 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7973 fi
7974
7975 if test "$wxUSE_HTML" = yes; then
7976 { echo "$as_me:$LINENO: result: yes" >&5
7977 echo "${ECHO_T}yes" >&6; }
7978 else
7979 { echo "$as_me:$LINENO: result: no" >&5
7980 echo "${ECHO_T}no" >&6; }
7981 fi
7982
7983
7984 enablestring=
7985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7986 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7987 no_cache=0
7988 # Check whether --enable-htmlhelp was given.
7989 if test "${enable_htmlhelp+set}" = set; then
7990 enableval=$enable_htmlhelp;
7991 if test "$enableval" = yes; then
7992 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7993 else
7994 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7995 fi
7996
7997 else
7998
7999 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x ; then
8001 eval "DEFAULT_$LINE"
8002 else
8003 no_cache=1
8004 fi
8005
8006 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
8007
8008 fi
8009
8010
8011 eval "$ac_cv_use_htmlhelp"
8012 if test "$no_cache" != 1; then
8013 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8014 fi
8015
8016 if test "$wxUSE_WXHTML_HELP" = yes; then
8017 { echo "$as_me:$LINENO: result: yes" >&5
8018 echo "${ECHO_T}yes" >&6; }
8019 else
8020 { echo "$as_me:$LINENO: result: no" >&5
8021 echo "${ECHO_T}no" >&6; }
8022 fi
8023
8024
8025 enablestring=
8026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8027 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8028 no_cache=0
8029 # Check whether --enable-xrc was given.
8030 if test "${enable_xrc+set}" = set; then
8031 enableval=$enable_xrc;
8032 if test "$enableval" = yes; then
8033 ac_cv_use_xrc='wxUSE_XRC=yes'
8034 else
8035 ac_cv_use_xrc='wxUSE_XRC=no'
8036 fi
8037
8038 else
8039
8040 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
8041 if test "x$LINE" != x ; then
8042 eval "DEFAULT_$LINE"
8043 else
8044 no_cache=1
8045 fi
8046
8047 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8048
8049 fi
8050
8051
8052 eval "$ac_cv_use_xrc"
8053 if test "$no_cache" != 1; then
8054 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8055 fi
8056
8057 if test "$wxUSE_XRC" = yes; then
8058 { echo "$as_me:$LINENO: result: yes" >&5
8059 echo "${ECHO_T}yes" >&6; }
8060 else
8061 { echo "$as_me:$LINENO: result: no" >&5
8062 echo "${ECHO_T}no" >&6; }
8063 fi
8064
8065
8066 enablestring=
8067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8068 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8069 no_cache=0
8070 # Check whether --enable-aui was given.
8071 if test "${enable_aui+set}" = set; then
8072 enableval=$enable_aui;
8073 if test "$enableval" = yes; then
8074 ac_cv_use_aui='wxUSE_AUI=yes'
8075 else
8076 ac_cv_use_aui='wxUSE_AUI=no'
8077 fi
8078
8079 else
8080
8081 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
8082 if test "x$LINE" != x ; then
8083 eval "DEFAULT_$LINE"
8084 else
8085 no_cache=1
8086 fi
8087
8088 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8089
8090 fi
8091
8092
8093 eval "$ac_cv_use_aui"
8094 if test "$no_cache" != 1; then
8095 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8096 fi
8097
8098 if test "$wxUSE_AUI" = yes; then
8099 { echo "$as_me:$LINENO: result: yes" >&5
8100 echo "${ECHO_T}yes" >&6; }
8101 else
8102 { echo "$as_me:$LINENO: result: no" >&5
8103 echo "${ECHO_T}no" >&6; }
8104 fi
8105
8106
8107 enablestring=
8108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8109 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8110 no_cache=0
8111 # Check whether --enable-stc was given.
8112 if test "${enable_stc+set}" = set; then
8113 enableval=$enable_stc;
8114 if test "$enableval" = yes; then
8115 ac_cv_use_stc='wxUSE_STC=yes'
8116 else
8117 ac_cv_use_stc='wxUSE_STC=no'
8118 fi
8119
8120 else
8121
8122 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
8123 if test "x$LINE" != x ; then
8124 eval "DEFAULT_$LINE"
8125 else
8126 no_cache=1
8127 fi
8128
8129 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8130
8131 fi
8132
8133
8134 eval "$ac_cv_use_stc"
8135 if test "$no_cache" != 1; then
8136 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8137 fi
8138
8139 if test "$wxUSE_STC" = yes; then
8140 { echo "$as_me:$LINENO: result: yes" >&5
8141 echo "${ECHO_T}yes" >&6; }
8142 else
8143 { echo "$as_me:$LINENO: result: no" >&5
8144 echo "${ECHO_T}no" >&6; }
8145 fi
8146
8147
8148 enablestring=
8149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8150 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8151 no_cache=0
8152 # Check whether --enable-constraints was given.
8153 if test "${enable_constraints+set}" = set; then
8154 enableval=$enable_constraints;
8155 if test "$enableval" = yes; then
8156 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8157 else
8158 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8159 fi
8160
8161 else
8162
8163 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
8164 if test "x$LINE" != x ; then
8165 eval "DEFAULT_$LINE"
8166 else
8167 no_cache=1
8168 fi
8169
8170 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8171
8172 fi
8173
8174
8175 eval "$ac_cv_use_constraints"
8176 if test "$no_cache" != 1; then
8177 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8178 fi
8179
8180 if test "$wxUSE_CONSTRAINTS" = yes; then
8181 { echo "$as_me:$LINENO: result: yes" >&5
8182 echo "${ECHO_T}yes" >&6; }
8183 else
8184 { echo "$as_me:$LINENO: result: no" >&5
8185 echo "${ECHO_T}no" >&6; }
8186 fi
8187
8188
8189 enablestring=
8190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8191 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8192 no_cache=0
8193 # Check whether --enable-printarch was given.
8194 if test "${enable_printarch+set}" = set; then
8195 enableval=$enable_printarch;
8196 if test "$enableval" = yes; then
8197 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8198 else
8199 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8200 fi
8201
8202 else
8203
8204 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
8205 if test "x$LINE" != x ; then
8206 eval "DEFAULT_$LINE"
8207 else
8208 no_cache=1
8209 fi
8210
8211 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8212
8213 fi
8214
8215
8216 eval "$ac_cv_use_printarch"
8217 if test "$no_cache" != 1; then
8218 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8219 fi
8220
8221 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8222 { echo "$as_me:$LINENO: result: yes" >&5
8223 echo "${ECHO_T}yes" >&6; }
8224 else
8225 { echo "$as_me:$LINENO: result: no" >&5
8226 echo "${ECHO_T}no" >&6; }
8227 fi
8228
8229
8230 enablestring=
8231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8233 no_cache=0
8234 # Check whether --enable-mdi was given.
8235 if test "${enable_mdi+set}" = set; then
8236 enableval=$enable_mdi;
8237 if test "$enableval" = yes; then
8238 ac_cv_use_mdi='wxUSE_MDI=yes'
8239 else
8240 ac_cv_use_mdi='wxUSE_MDI=no'
8241 fi
8242
8243 else
8244
8245 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
8246 if test "x$LINE" != x ; then
8247 eval "DEFAULT_$LINE"
8248 else
8249 no_cache=1
8250 fi
8251
8252 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8253
8254 fi
8255
8256
8257 eval "$ac_cv_use_mdi"
8258 if test "$no_cache" != 1; then
8259 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8260 fi
8261
8262 if test "$wxUSE_MDI" = yes; then
8263 { echo "$as_me:$LINENO: result: yes" >&5
8264 echo "${ECHO_T}yes" >&6; }
8265 else
8266 { echo "$as_me:$LINENO: result: no" >&5
8267 echo "${ECHO_T}no" >&6; }
8268 fi
8269
8270
8271 enablestring=
8272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8273 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8274 no_cache=0
8275 # Check whether --enable-mdidoc was given.
8276 if test "${enable_mdidoc+set}" = set; then
8277 enableval=$enable_mdidoc;
8278 if test "$enableval" = yes; then
8279 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8280 else
8281 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8282 fi
8283
8284 else
8285
8286 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
8287 if test "x$LINE" != x ; then
8288 eval "DEFAULT_$LINE"
8289 else
8290 no_cache=1
8291 fi
8292
8293 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8294
8295 fi
8296
8297
8298 eval "$ac_cv_use_mdidoc"
8299 if test "$no_cache" != 1; then
8300 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8301 fi
8302
8303 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8304 { echo "$as_me:$LINENO: result: yes" >&5
8305 echo "${ECHO_T}yes" >&6; }
8306 else
8307 { echo "$as_me:$LINENO: result: no" >&5
8308 echo "${ECHO_T}no" >&6; }
8309 fi
8310
8311
8312 enablestring=
8313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8315 no_cache=0
8316 # Check whether --enable-loggui was given.
8317 if test "${enable_loggui+set}" = set; then
8318 enableval=$enable_loggui;
8319 if test "$enableval" = yes; then
8320 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8321 else
8322 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8323 fi
8324
8325 else
8326
8327 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
8328 if test "x$LINE" != x ; then
8329 eval "DEFAULT_$LINE"
8330 else
8331 no_cache=1
8332 fi
8333
8334 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8335
8336 fi
8337
8338
8339 eval "$ac_cv_use_loggui"
8340 if test "$no_cache" != 1; then
8341 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8342 fi
8343
8344 if test "$wxUSE_LOGGUI" = yes; then
8345 { echo "$as_me:$LINENO: result: yes" >&5
8346 echo "${ECHO_T}yes" >&6; }
8347 else
8348 { echo "$as_me:$LINENO: result: no" >&5
8349 echo "${ECHO_T}no" >&6; }
8350 fi
8351
8352
8353 enablestring=
8354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8355 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8356 no_cache=0
8357 # Check whether --enable-logwin was given.
8358 if test "${enable_logwin+set}" = set; then
8359 enableval=$enable_logwin;
8360 if test "$enableval" = yes; then
8361 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8362 else
8363 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8364 fi
8365
8366 else
8367
8368 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
8369 if test "x$LINE" != x ; then
8370 eval "DEFAULT_$LINE"
8371 else
8372 no_cache=1
8373 fi
8374
8375 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8376
8377 fi
8378
8379
8380 eval "$ac_cv_use_logwin"
8381 if test "$no_cache" != 1; then
8382 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8383 fi
8384
8385 if test "$wxUSE_LOGWINDOW" = yes; then
8386 { echo "$as_me:$LINENO: result: yes" >&5
8387 echo "${ECHO_T}yes" >&6; }
8388 else
8389 { echo "$as_me:$LINENO: result: no" >&5
8390 echo "${ECHO_T}no" >&6; }
8391 fi
8392
8393
8394 enablestring=
8395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8397 no_cache=0
8398 # Check whether --enable-logdialog was given.
8399 if test "${enable_logdialog+set}" = set; then
8400 enableval=$enable_logdialog;
8401 if test "$enableval" = yes; then
8402 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8403 else
8404 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8405 fi
8406
8407 else
8408
8409 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
8410 if test "x$LINE" != x ; then
8411 eval "DEFAULT_$LINE"
8412 else
8413 no_cache=1
8414 fi
8415
8416 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8417
8418 fi
8419
8420
8421 eval "$ac_cv_use_logdialog"
8422 if test "$no_cache" != 1; then
8423 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8424 fi
8425
8426 if test "$wxUSE_LOGDIALOG" = yes; then
8427 { echo "$as_me:$LINENO: result: yes" >&5
8428 echo "${ECHO_T}yes" >&6; }
8429 else
8430 { echo "$as_me:$LINENO: result: no" >&5
8431 echo "${ECHO_T}no" >&6; }
8432 fi
8433
8434
8435 enablestring=
8436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8437 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8438 no_cache=0
8439 # Check whether --enable-webkit was given.
8440 if test "${enable_webkit+set}" = set; then
8441 enableval=$enable_webkit;
8442 if test "$enableval" = yes; then
8443 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8444 else
8445 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8446 fi
8447
8448 else
8449
8450 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
8451 if test "x$LINE" != x ; then
8452 eval "DEFAULT_$LINE"
8453 else
8454 no_cache=1
8455 fi
8456
8457 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8458
8459 fi
8460
8461
8462 eval "$ac_cv_use_webkit"
8463 if test "$no_cache" != 1; then
8464 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8465 fi
8466
8467 if test "$wxUSE_WEBKIT" = yes; then
8468 { echo "$as_me:$LINENO: result: yes" >&5
8469 echo "${ECHO_T}yes" >&6; }
8470 else
8471 { echo "$as_me:$LINENO: result: no" >&5
8472 echo "${ECHO_T}no" >&6; }
8473 fi
8474
8475
8476 enablestring=
8477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8479 no_cache=0
8480 # Check whether --enable-richtext was given.
8481 if test "${enable_richtext+set}" = set; then
8482 enableval=$enable_richtext;
8483 if test "$enableval" = yes; then
8484 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8485 else
8486 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8487 fi
8488
8489 else
8490
8491 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
8492 if test "x$LINE" != x ; then
8493 eval "DEFAULT_$LINE"
8494 else
8495 no_cache=1
8496 fi
8497
8498 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8499
8500 fi
8501
8502
8503 eval "$ac_cv_use_richtext"
8504 if test "$no_cache" != 1; then
8505 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8506 fi
8507
8508 if test "$wxUSE_RICHTEXT" = yes; then
8509 { echo "$as_me:$LINENO: result: yes" >&5
8510 echo "${ECHO_T}yes" >&6; }
8511 else
8512 { echo "$as_me:$LINENO: result: no" >&5
8513 echo "${ECHO_T}no" >&6; }
8514 fi
8515
8516
8517 enablestring=
8518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8519 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8520 no_cache=0
8521 # Check whether --enable-graphics_ctx was given.
8522 if test "${enable_graphics_ctx+set}" = set; then
8523 enableval=$enable_graphics_ctx;
8524 if test "$enableval" = yes; then
8525 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8526 else
8527 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8528 fi
8529
8530 else
8531
8532 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
8533 if test "x$LINE" != x ; then
8534 eval "DEFAULT_$LINE"
8535 else
8536 no_cache=1
8537 fi
8538
8539 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8540
8541 fi
8542
8543
8544 eval "$ac_cv_use_graphics_ctx"
8545 if test "$no_cache" != 1; then
8546 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8547 fi
8548
8549 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8550 { echo "$as_me:$LINENO: result: yes" >&5
8551 echo "${ECHO_T}yes" >&6; }
8552 else
8553 { echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6; }
8555 fi
8556
8557
8558
8559 enablestring=
8560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8561 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8562 no_cache=0
8563 # Check whether --enable-postscript was given.
8564 if test "${enable_postscript+set}" = set; then
8565 enableval=$enable_postscript;
8566 if test "$enableval" = yes; then
8567 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8568 else
8569 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8570 fi
8571
8572 else
8573
8574 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
8575 if test "x$LINE" != x ; then
8576 eval "DEFAULT_$LINE"
8577 else
8578 no_cache=1
8579 fi
8580
8581 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8582
8583 fi
8584
8585
8586 eval "$ac_cv_use_postscript"
8587 if test "$no_cache" != 1; then
8588 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8589 fi
8590
8591 if test "$wxUSE_POSTSCRIPT" = yes; then
8592 { echo "$as_me:$LINENO: result: yes" >&5
8593 echo "${ECHO_T}yes" >&6; }
8594 else
8595 { echo "$as_me:$LINENO: result: no" >&5
8596 echo "${ECHO_T}no" >&6; }
8597 fi
8598
8599
8600
8601
8602
8603 enablestring=
8604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8606 no_cache=0
8607 # Check whether --enable-clipboard was given.
8608 if test "${enable_clipboard+set}" = set; then
8609 enableval=$enable_clipboard;
8610 if test "$enableval" = yes; then
8611 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8612 else
8613 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8614 fi
8615
8616 else
8617
8618 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x ; then
8620 eval "DEFAULT_$LINE"
8621 else
8622 no_cache=1
8623 fi
8624
8625 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8626
8627 fi
8628
8629
8630 eval "$ac_cv_use_clipboard"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_CLIPBOARD" = yes; then
8636 { echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6; }
8638 else
8639 { echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6; }
8641 fi
8642
8643
8644 enablestring=
8645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8647 no_cache=0
8648 # Check whether --enable-dnd was given.
8649 if test "${enable_dnd+set}" = set; then
8650 enableval=$enable_dnd;
8651 if test "$enableval" = yes; then
8652 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8653 else
8654 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8655 fi
8656
8657 else
8658
8659 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
8660 if test "x$LINE" != x ; then
8661 eval "DEFAULT_$LINE"
8662 else
8663 no_cache=1
8664 fi
8665
8666 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8667
8668 fi
8669
8670
8671 eval "$ac_cv_use_dnd"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8677 { echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6; }
8679 else
8680 { echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6; }
8682 fi
8683
8684
8685 enablestring=
8686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8688 no_cache=0
8689 # Check whether --enable-metafile was given.
8690 if test "${enable_metafile+set}" = set; then
8691 enableval=$enable_metafile;
8692 if test "$enableval" = yes; then
8693 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8694 else
8695 ac_cv_use_metafile='wxUSE_METAFILE=no'
8696 fi
8697
8698 else
8699
8700 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
8701 if test "x$LINE" != x ; then
8702 eval "DEFAULT_$LINE"
8703 else
8704 no_cache=1
8705 fi
8706
8707 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8708
8709 fi
8710
8711
8712 eval "$ac_cv_use_metafile"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_METAFILE" = yes; then
8718 { echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6; }
8720 else
8721 { echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6; }
8723 fi
8724
8725
8726
8727
8728
8729 enablestring=
8730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8732 no_cache=0
8733 # Check whether --enable-controls was given.
8734 if test "${enable_controls+set}" = set; then
8735 enableval=$enable_controls;
8736 if test "$enableval" = yes; then
8737 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8738 else
8739 ac_cv_use_controls='wxUSE_CONTROLS=no'
8740 fi
8741
8742 else
8743
8744 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
8745 if test "x$LINE" != x ; then
8746 eval "DEFAULT_$LINE"
8747 else
8748 no_cache=1
8749 fi
8750
8751 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8752
8753 fi
8754
8755
8756 eval "$ac_cv_use_controls"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8759 fi
8760
8761 if test "$wxUSE_CONTROLS" = yes; then
8762 { echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6; }
8764 else
8765 { echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6; }
8767 fi
8768
8769
8770 if test "$wxUSE_CONTROLS" = "yes"; then
8771 DEFAULT_wxUSE_ACCEL=yes
8772 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8773 DEFAULT_wxUSE_BMPBUTTON=yes
8774 DEFAULT_wxUSE_BUTTON=yes
8775 DEFAULT_wxUSE_CALCTRL=yes
8776 DEFAULT_wxUSE_CARET=yes
8777 DEFAULT_wxUSE_COMBOBOX=yes
8778 DEFAULT_wxUSE_CHECKBOX=yes
8779 DEFAULT_wxUSE_CHECKLISTBOX=yes
8780 DEFAULT_wxUSE_CHOICE=yes
8781 DEFAULT_wxUSE_CHOICEBOOK=yes
8782 DEFAULT_wxUSE_COLLPANE=yes
8783 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8784 DEFAULT_wxUSE_COMBOBOX=yes
8785 DEFAULT_wxUSE_DATEPICKCTRL=yes
8786 DEFAULT_wxUSE_DISPLAY=yes
8787 DEFAULT_wxUSE_DETECT_SM=yes
8788 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8789 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8790 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8791 DEFAULT_wxUSE_GAUGE=yes
8792 DEFAULT_wxUSE_GRID=yes
8793 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8794 DEFAULT_wxUSE_DATAVIEWCTRL=no
8795 DEFAULT_wxUSE_IMAGLIST=yes
8796 DEFAULT_wxUSE_LISTBOOK=yes
8797 DEFAULT_wxUSE_LISTBOX=yes
8798 DEFAULT_wxUSE_LISTCTRL=yes
8799 DEFAULT_wxUSE_NOTEBOOK=yes
8800 DEFAULT_wxUSE_RADIOBOX=yes
8801 DEFAULT_wxUSE_RADIOBTN=yes
8802 DEFAULT_wxUSE_SASH=yes
8803 DEFAULT_wxUSE_SCROLLBAR=yes
8804 DEFAULT_wxUSE_SEARCHCTRL=yes
8805 DEFAULT_wxUSE_SLIDER=yes
8806 DEFAULT_wxUSE_SPINBTN=yes
8807 DEFAULT_wxUSE_SPINCTRL=yes
8808 DEFAULT_wxUSE_SPLITTER=yes
8809 DEFAULT_wxUSE_STATBMP=yes
8810 DEFAULT_wxUSE_STATBOX=yes
8811 DEFAULT_wxUSE_STATLINE=yes
8812 DEFAULT_wxUSE_STATUSBAR=yes
8813 DEFAULT_wxUSE_TAB_DIALOG=yes
8814 DEFAULT_wxUSE_TOGGLEBTN=yes
8815 DEFAULT_wxUSE_TOOLBAR=yes
8816 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8817 DEFAULT_wxUSE_TOOLTIPS=yes
8818 DEFAULT_wxUSE_TREEBOOK=yes
8819 DEFAULT_wxUSE_TOOLBOOK=yes
8820 DEFAULT_wxUSE_TREECTRL=yes
8821 DEFAULT_wxUSE_POPUPWIN=yes
8822 DEFAULT_wxUSE_TIPWINDOW=yes
8823 elif test "$wxUSE_CONTROLS" = "no"; then
8824 DEFAULT_wxUSE_ACCEL=no
8825 DEFAULT_wxUSE_ANIMATIONCTRL=no
8826 DEFAULT_wxUSE_BMPBUTTON=no
8827 DEFAULT_wxUSE_BUTTON=no
8828 DEFAULT_wxUSE_CALCTRL=no
8829 DEFAULT_wxUSE_CARET=no
8830 DEFAULT_wxUSE_COLLPANE=no
8831 DEFAULT_wxUSE_COMBOBOX=no
8832 DEFAULT_wxUSE_CHECKBOX=no
8833 DEFAULT_wxUSE_CHECKLISTBOX=no
8834 DEFAULT_wxUSE_CHOICE=no
8835 DEFAULT_wxUSE_CHOICEBOOK=no
8836 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8837 DEFAULT_wxUSE_COMBOBOX=no
8838 DEFAULT_wxUSE_DATEPICKCTRL=no
8839 DEFAULT_wxUSE_DISPLAY=no
8840 DEFAULT_wxUSE_DETECT_SM=no
8841 DEFAULT_wxUSE_DIRPICKERCTRL=no
8842 DEFAULT_wxUSE_FILEPICKERCTRL=no
8843 DEFAULT_wxUSE_FONTPICKERCTRL=no
8844 DEFAULT_wxUSE_GAUGE=no
8845 DEFAULT_wxUSE_GRID=no
8846 DEFAULT_wxUSE_HYPERLINKCTRL=no
8847 DEFAULT_wxUSE_DATAVIEWCTRL=no
8848 DEFAULT_wxUSE_IMAGLIST=no
8849 DEFAULT_wxUSE_LISTBOOK=no
8850 DEFAULT_wxUSE_LISTBOX=no
8851 DEFAULT_wxUSE_LISTCTRL=no
8852 DEFAULT_wxUSE_NOTEBOOK=no
8853 DEFAULT_wxUSE_RADIOBOX=no
8854 DEFAULT_wxUSE_RADIOBTN=no
8855 DEFAULT_wxUSE_SASH=no
8856 DEFAULT_wxUSE_SCROLLBAR=no
8857 DEFAULT_wxUSE_SEARCHCTRL=no
8858 DEFAULT_wxUSE_SLIDER=no
8859 DEFAULT_wxUSE_SPINBTN=no
8860 DEFAULT_wxUSE_SPINCTRL=no
8861 DEFAULT_wxUSE_SPLITTER=no
8862 DEFAULT_wxUSE_STATBMP=no
8863 DEFAULT_wxUSE_STATBOX=no
8864 DEFAULT_wxUSE_STATLINE=no
8865 DEFAULT_wxUSE_STATUSBAR=no
8866 DEFAULT_wxUSE_TAB_DIALOG=no
8867 DEFAULT_wxUSE_TOGGLEBTN=no
8868 DEFAULT_wxUSE_TOOLBAR=no
8869 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8870 DEFAULT_wxUSE_TOOLTIPS=no
8871 DEFAULT_wxUSE_TREEBOOK=no
8872 DEFAULT_wxUSE_TOOLBOOK=no
8873 DEFAULT_wxUSE_TREECTRL=no
8874 DEFAULT_wxUSE_POPUPWIN=no
8875 DEFAULT_wxUSE_TIPWINDOW=no
8876 fi
8877
8878
8879 enablestring=
8880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8882 no_cache=0
8883 # Check whether --enable-accel was given.
8884 if test "${enable_accel+set}" = set; then
8885 enableval=$enable_accel;
8886 if test "$enableval" = yes; then
8887 ac_cv_use_accel='wxUSE_ACCEL=yes'
8888 else
8889 ac_cv_use_accel='wxUSE_ACCEL=no'
8890 fi
8891
8892 else
8893
8894 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
8895 if test "x$LINE" != x ; then
8896 eval "DEFAULT_$LINE"
8897 else
8898 no_cache=1
8899 fi
8900
8901 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8902
8903 fi
8904
8905
8906 eval "$ac_cv_use_accel"
8907 if test "$no_cache" != 1; then
8908 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8909 fi
8910
8911 if test "$wxUSE_ACCEL" = yes; then
8912 { echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6; }
8914 else
8915 { echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6; }
8917 fi
8918
8919
8920 enablestring=
8921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8922 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8923 no_cache=0
8924 # Check whether --enable-animatectrl was given.
8925 if test "${enable_animatectrl+set}" = set; then
8926 enableval=$enable_animatectrl;
8927 if test "$enableval" = yes; then
8928 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8929 else
8930 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8931 fi
8932
8933 else
8934
8935 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
8936 if test "x$LINE" != x ; then
8937 eval "DEFAULT_$LINE"
8938 else
8939 no_cache=1
8940 fi
8941
8942 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8943
8944 fi
8945
8946
8947 eval "$ac_cv_use_animatectrl"
8948 if test "$no_cache" != 1; then
8949 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8950 fi
8951
8952 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8953 { echo "$as_me:$LINENO: result: yes" >&5
8954 echo "${ECHO_T}yes" >&6; }
8955 else
8956 { echo "$as_me:$LINENO: result: no" >&5
8957 echo "${ECHO_T}no" >&6; }
8958 fi
8959
8960
8961 enablestring=
8962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8964 no_cache=0
8965 # Check whether --enable-button was given.
8966 if test "${enable_button+set}" = set; then
8967 enableval=$enable_button;
8968 if test "$enableval" = yes; then
8969 ac_cv_use_button='wxUSE_BUTTON=yes'
8970 else
8971 ac_cv_use_button='wxUSE_BUTTON=no'
8972 fi
8973
8974 else
8975
8976 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
8977 if test "x$LINE" != x ; then
8978 eval "DEFAULT_$LINE"
8979 else
8980 no_cache=1
8981 fi
8982
8983 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8984
8985 fi
8986
8987
8988 eval "$ac_cv_use_button"
8989 if test "$no_cache" != 1; then
8990 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8991 fi
8992
8993 if test "$wxUSE_BUTTON" = yes; then
8994 { echo "$as_me:$LINENO: result: yes" >&5
8995 echo "${ECHO_T}yes" >&6; }
8996 else
8997 { echo "$as_me:$LINENO: result: no" >&5
8998 echo "${ECHO_T}no" >&6; }
8999 fi
9000
9001
9002 enablestring=
9003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9005 no_cache=0
9006 # Check whether --enable-bmpbutton was given.
9007 if test "${enable_bmpbutton+set}" = set; then
9008 enableval=$enable_bmpbutton;
9009 if test "$enableval" = yes; then
9010 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9011 else
9012 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9013 fi
9014
9015 else
9016
9017 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
9018 if test "x$LINE" != x ; then
9019 eval "DEFAULT_$LINE"
9020 else
9021 no_cache=1
9022 fi
9023
9024 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
9025
9026 fi
9027
9028
9029 eval "$ac_cv_use_bmpbutton"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9032 fi
9033
9034 if test "$wxUSE_BMPBUTTON" = yes; then
9035 { echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6; }
9037 else
9038 { echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6; }
9040 fi
9041
9042
9043 enablestring=
9044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9046 no_cache=0
9047 # Check whether --enable-bmpcombobox was given.
9048 if test "${enable_bmpcombobox+set}" = set; then
9049 enableval=$enable_bmpcombobox;
9050 if test "$enableval" = yes; then
9051 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9052 else
9053 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9054 fi
9055
9056 else
9057
9058 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
9059 if test "x$LINE" != x ; then
9060 eval "DEFAULT_$LINE"
9061 else
9062 no_cache=1
9063 fi
9064
9065 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9066
9067 fi
9068
9069
9070 eval "$ac_cv_use_bmpcombobox"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9073 fi
9074
9075 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9076 { echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6; }
9078 else
9079 { echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6; }
9081 fi
9082
9083
9084 enablestring=
9085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9087 no_cache=0
9088 # Check whether --enable-calendar was given.
9089 if test "${enable_calendar+set}" = set; then
9090 enableval=$enable_calendar;
9091 if test "$enableval" = yes; then
9092 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9093 else
9094 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9095 fi
9096
9097 else
9098
9099 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
9100 if test "x$LINE" != x ; then
9101 eval "DEFAULT_$LINE"
9102 else
9103 no_cache=1
9104 fi
9105
9106 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9107
9108 fi
9109
9110
9111 eval "$ac_cv_use_calendar"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9114 fi
9115
9116 if test "$wxUSE_CALCTRL" = yes; then
9117 { echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6; }
9119 else
9120 { echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6; }
9122 fi
9123
9124
9125 enablestring=
9126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9128 no_cache=0
9129 # Check whether --enable-caret was given.
9130 if test "${enable_caret+set}" = set; then
9131 enableval=$enable_caret;
9132 if test "$enableval" = yes; then
9133 ac_cv_use_caret='wxUSE_CARET=yes'
9134 else
9135 ac_cv_use_caret='wxUSE_CARET=no'
9136 fi
9137
9138 else
9139
9140 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
9141 if test "x$LINE" != x ; then
9142 eval "DEFAULT_$LINE"
9143 else
9144 no_cache=1
9145 fi
9146
9147 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9148
9149 fi
9150
9151
9152 eval "$ac_cv_use_caret"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9155 fi
9156
9157 if test "$wxUSE_CARET" = yes; then
9158 { echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6; }
9160 else
9161 { echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6; }
9163 fi
9164
9165
9166 enablestring=
9167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9169 no_cache=0
9170 # Check whether --enable-checkbox was given.
9171 if test "${enable_checkbox+set}" = set; then
9172 enableval=$enable_checkbox;
9173 if test "$enableval" = yes; then
9174 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9175 else
9176 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9177 fi
9178
9179 else
9180
9181 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
9182 if test "x$LINE" != x ; then
9183 eval "DEFAULT_$LINE"
9184 else
9185 no_cache=1
9186 fi
9187
9188 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9189
9190 fi
9191
9192
9193 eval "$ac_cv_use_checkbox"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9196 fi
9197
9198 if test "$wxUSE_CHECKBOX" = yes; then
9199 { echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6; }
9201 else
9202 { echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6; }
9204 fi
9205
9206
9207 enablestring=
9208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9210 no_cache=0
9211 # Check whether --enable-checklst was given.
9212 if test "${enable_checklst+set}" = set; then
9213 enableval=$enable_checklst;
9214 if test "$enableval" = yes; then
9215 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9216 else
9217 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9218 fi
9219
9220 else
9221
9222 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
9223 if test "x$LINE" != x ; then
9224 eval "DEFAULT_$LINE"
9225 else
9226 no_cache=1
9227 fi
9228
9229 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9230
9231 fi
9232
9233
9234 eval "$ac_cv_use_checklst"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9237 fi
9238
9239 if test "$wxUSE_CHECKLST" = yes; then
9240 { echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6; }
9242 else
9243 { echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6; }
9245 fi
9246
9247
9248 enablestring=
9249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9251 no_cache=0
9252 # Check whether --enable-choice was given.
9253 if test "${enable_choice+set}" = set; then
9254 enableval=$enable_choice;
9255 if test "$enableval" = yes; then
9256 ac_cv_use_choice='wxUSE_CHOICE=yes'
9257 else
9258 ac_cv_use_choice='wxUSE_CHOICE=no'
9259 fi
9260
9261 else
9262
9263 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
9264 if test "x$LINE" != x ; then
9265 eval "DEFAULT_$LINE"
9266 else
9267 no_cache=1
9268 fi
9269
9270 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9271
9272 fi
9273
9274
9275 eval "$ac_cv_use_choice"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9278 fi
9279
9280 if test "$wxUSE_CHOICE" = yes; then
9281 { echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6; }
9283 else
9284 { echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6; }
9286 fi
9287
9288
9289 enablestring=
9290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9292 no_cache=0
9293 # Check whether --enable-choicebook was given.
9294 if test "${enable_choicebook+set}" = set; then
9295 enableval=$enable_choicebook;
9296 if test "$enableval" = yes; then
9297 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9298 else
9299 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9300 fi
9301
9302 else
9303
9304 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
9305 if test "x$LINE" != x ; then
9306 eval "DEFAULT_$LINE"
9307 else
9308 no_cache=1
9309 fi
9310
9311 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9312
9313 fi
9314
9315
9316 eval "$ac_cv_use_choicebook"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9319 fi
9320
9321 if test "$wxUSE_CHOICEBOOK" = yes; then
9322 { echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6; }
9324 else
9325 { echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6; }
9327 fi
9328
9329
9330 enablestring=
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9333 no_cache=0
9334 # Check whether --enable-collpane was given.
9335 if test "${enable_collpane+set}" = set; then
9336 enableval=$enable_collpane;
9337 if test "$enableval" = yes; then
9338 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9339 else
9340 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9341 fi
9342
9343 else
9344
9345 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
9346 if test "x$LINE" != x ; then
9347 eval "DEFAULT_$LINE"
9348 else
9349 no_cache=1
9350 fi
9351
9352 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9353
9354 fi
9355
9356
9357 eval "$ac_cv_use_collpane"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9360 fi
9361
9362 if test "$wxUSE_COLLPANE" = yes; then
9363 { echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6; }
9365 else
9366 { echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6; }
9368 fi
9369
9370
9371 enablestring=
9372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9374 no_cache=0
9375 # Check whether --enable-colourpicker was given.
9376 if test "${enable_colourpicker+set}" = set; then
9377 enableval=$enable_colourpicker;
9378 if test "$enableval" = yes; then
9379 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9380 else
9381 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9382 fi
9383
9384 else
9385
9386 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
9387 if test "x$LINE" != x ; then
9388 eval "DEFAULT_$LINE"
9389 else
9390 no_cache=1
9391 fi
9392
9393 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9394
9395 fi
9396
9397
9398 eval "$ac_cv_use_colourpicker"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9401 fi
9402
9403 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9404 { echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6; }
9406 else
9407 { echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6; }
9409 fi
9410
9411
9412 enablestring=
9413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9415 no_cache=0
9416 # Check whether --enable-combobox was given.
9417 if test "${enable_combobox+set}" = set; then
9418 enableval=$enable_combobox;
9419 if test "$enableval" = yes; then
9420 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9421 else
9422 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9423 fi
9424
9425 else
9426
9427 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
9428 if test "x$LINE" != x ; then
9429 eval "DEFAULT_$LINE"
9430 else
9431 no_cache=1
9432 fi
9433
9434 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9435
9436 fi
9437
9438
9439 eval "$ac_cv_use_combobox"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9442 fi
9443
9444 if test "$wxUSE_COMBOBOX" = yes; then
9445 { echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6; }
9447 else
9448 { echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6; }
9450 fi
9451
9452
9453 enablestring=
9454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9456 no_cache=0
9457 # Check whether --enable-comboctrl was given.
9458 if test "${enable_comboctrl+set}" = set; then
9459 enableval=$enable_comboctrl;
9460 if test "$enableval" = yes; then
9461 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9462 else
9463 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9464 fi
9465
9466 else
9467
9468 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
9469 if test "x$LINE" != x ; then
9470 eval "DEFAULT_$LINE"
9471 else
9472 no_cache=1
9473 fi
9474
9475 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9476
9477 fi
9478
9479
9480 eval "$ac_cv_use_comboctrl"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9483 fi
9484
9485 if test "$wxUSE_COMBOCTRL" = yes; then
9486 { echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6; }
9488 else
9489 { echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6; }
9491 fi
9492
9493
9494 enablestring=
9495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9497 no_cache=0
9498 # Check whether --enable-datepick was given.
9499 if test "${enable_datepick+set}" = set; then
9500 enableval=$enable_datepick;
9501 if test "$enableval" = yes; then
9502 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9503 else
9504 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9505 fi
9506
9507 else
9508
9509 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
9510 if test "x$LINE" != x ; then
9511 eval "DEFAULT_$LINE"
9512 else
9513 no_cache=1
9514 fi
9515
9516 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9517
9518 fi
9519
9520
9521 eval "$ac_cv_use_datepick"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9524 fi
9525
9526 if test "$wxUSE_DATEPICKCTRL" = yes; then
9527 { echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6; }
9529 else
9530 { echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6; }
9532 fi
9533
9534
9535 enablestring=
9536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9538 no_cache=0
9539 # Check whether --enable-dirpicker was given.
9540 if test "${enable_dirpicker+set}" = set; then
9541 enableval=$enable_dirpicker;
9542 if test "$enableval" = yes; then
9543 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9544 else
9545 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9546 fi
9547
9548 else
9549
9550 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
9551 if test "x$LINE" != x ; then
9552 eval "DEFAULT_$LINE"
9553 else
9554 no_cache=1
9555 fi
9556
9557 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9558
9559 fi
9560
9561
9562 eval "$ac_cv_use_dirpicker"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9565 fi
9566
9567 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9568 { echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6; }
9570 else
9571 { echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6; }
9573 fi
9574
9575
9576 enablestring=
9577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9578 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9579 no_cache=0
9580 # Check whether --enable-display was given.
9581 if test "${enable_display+set}" = set; then
9582 enableval=$enable_display;
9583 if test "$enableval" = yes; then
9584 ac_cv_use_display='wxUSE_DISPLAY=yes'
9585 else
9586 ac_cv_use_display='wxUSE_DISPLAY=no'
9587 fi
9588
9589 else
9590
9591 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
9592 if test "x$LINE" != x ; then
9593 eval "DEFAULT_$LINE"
9594 else
9595 no_cache=1
9596 fi
9597
9598 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9599
9600 fi
9601
9602
9603 eval "$ac_cv_use_display"
9604 if test "$no_cache" != 1; then
9605 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9606 fi
9607
9608 if test "$wxUSE_DISPLAY" = yes; then
9609 { echo "$as_me:$LINENO: result: yes" >&5
9610 echo "${ECHO_T}yes" >&6; }
9611 else
9612 { echo "$as_me:$LINENO: result: no" >&5
9613 echo "${ECHO_T}no" >&6; }
9614 fi
9615
9616
9617 enablestring=
9618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9619 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9620 no_cache=0
9621 # Check whether --enable-detect_sm was given.
9622 if test "${enable_detect_sm+set}" = set; then
9623 enableval=$enable_detect_sm;
9624 if test "$enableval" = yes; then
9625 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9626 else
9627 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9628 fi
9629
9630 else
9631
9632 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
9633 if test "x$LINE" != x ; then
9634 eval "DEFAULT_$LINE"
9635 else
9636 no_cache=1
9637 fi
9638
9639 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9640
9641 fi
9642
9643
9644 eval "$ac_cv_use_detect_sm"
9645 if test "$no_cache" != 1; then
9646 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9647 fi
9648
9649 if test "$wxUSE_DETECT_SM" = yes; then
9650 { echo "$as_me:$LINENO: result: yes" >&5
9651 echo "${ECHO_T}yes" >&6; }
9652 else
9653 { echo "$as_me:$LINENO: result: no" >&5
9654 echo "${ECHO_T}no" >&6; }
9655 fi
9656
9657
9658 enablestring=
9659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
9660 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
9661 no_cache=0
9662 # Check whether --enable-editablebox was given.
9663 if test "${enable_editablebox+set}" = set; then
9664 enableval=$enable_editablebox;
9665 if test "$enableval" = yes; then
9666 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
9667 else
9668 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
9669 fi
9670
9671 else
9672
9673 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
9674 if test "x$LINE" != x ; then
9675 eval "DEFAULT_$LINE"
9676 else
9677 no_cache=1
9678 fi
9679
9680 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
9681
9682 fi
9683
9684
9685 eval "$ac_cv_use_editablebox"
9686 if test "$no_cache" != 1; then
9687 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
9688 fi
9689
9690 if test "$wxUSE_EDITABLELISTBOX" = yes; then
9691 { echo "$as_me:$LINENO: result: yes" >&5
9692 echo "${ECHO_T}yes" >&6; }
9693 else
9694 { echo "$as_me:$LINENO: result: no" >&5
9695 echo "${ECHO_T}no" >&6; }
9696 fi
9697
9698
9699 enablestring=
9700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9701 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9702 no_cache=0
9703 # Check whether --enable-filepicker was given.
9704 if test "${enable_filepicker+set}" = set; then
9705 enableval=$enable_filepicker;
9706 if test "$enableval" = yes; then
9707 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9708 else
9709 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9710 fi
9711
9712 else
9713
9714 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
9715 if test "x$LINE" != x ; then
9716 eval "DEFAULT_$LINE"
9717 else
9718 no_cache=1
9719 fi
9720
9721 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9722
9723 fi
9724
9725
9726 eval "$ac_cv_use_filepicker"
9727 if test "$no_cache" != 1; then
9728 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9729 fi
9730
9731 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9732 { echo "$as_me:$LINENO: result: yes" >&5
9733 echo "${ECHO_T}yes" >&6; }
9734 else
9735 { echo "$as_me:$LINENO: result: no" >&5
9736 echo "${ECHO_T}no" >&6; }
9737 fi
9738
9739
9740 enablestring=
9741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9742 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9743 no_cache=0
9744 # Check whether --enable-fontpicker was given.
9745 if test "${enable_fontpicker+set}" = set; then
9746 enableval=$enable_fontpicker;
9747 if test "$enableval" = yes; then
9748 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9749 else
9750 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9751 fi
9752
9753 else
9754
9755 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
9756 if test "x$LINE" != x ; then
9757 eval "DEFAULT_$LINE"
9758 else
9759 no_cache=1
9760 fi
9761
9762 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9763
9764 fi
9765
9766
9767 eval "$ac_cv_use_fontpicker"
9768 if test "$no_cache" != 1; then
9769 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9770 fi
9771
9772 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9773 { echo "$as_me:$LINENO: result: yes" >&5
9774 echo "${ECHO_T}yes" >&6; }
9775 else
9776 { echo "$as_me:$LINENO: result: no" >&5
9777 echo "${ECHO_T}no" >&6; }
9778 fi
9779
9780
9781 enablestring=
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9784 no_cache=0
9785 # Check whether --enable-gauge was given.
9786 if test "${enable_gauge+set}" = set; then
9787 enableval=$enable_gauge;
9788 if test "$enableval" = yes; then
9789 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9790 else
9791 ac_cv_use_gauge='wxUSE_GAUGE=no'
9792 fi
9793
9794 else
9795
9796 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
9797 if test "x$LINE" != x ; then
9798 eval "DEFAULT_$LINE"
9799 else
9800 no_cache=1
9801 fi
9802
9803 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9804
9805 fi
9806
9807
9808 eval "$ac_cv_use_gauge"
9809 if test "$no_cache" != 1; then
9810 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9811 fi
9812
9813 if test "$wxUSE_GAUGE" = yes; then
9814 { echo "$as_me:$LINENO: result: yes" >&5
9815 echo "${ECHO_T}yes" >&6; }
9816 else
9817 { echo "$as_me:$LINENO: result: no" >&5
9818 echo "${ECHO_T}no" >&6; }
9819 fi
9820
9821
9822 enablestring=
9823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9824 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9825 no_cache=0
9826 # Check whether --enable-grid was given.
9827 if test "${enable_grid+set}" = set; then
9828 enableval=$enable_grid;
9829 if test "$enableval" = yes; then
9830 ac_cv_use_grid='wxUSE_GRID=yes'
9831 else
9832 ac_cv_use_grid='wxUSE_GRID=no'
9833 fi
9834
9835 else
9836
9837 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
9838 if test "x$LINE" != x ; then
9839 eval "DEFAULT_$LINE"
9840 else
9841 no_cache=1
9842 fi
9843
9844 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9845
9846 fi
9847
9848
9849 eval "$ac_cv_use_grid"
9850 if test "$no_cache" != 1; then
9851 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9852 fi
9853
9854 if test "$wxUSE_GRID" = yes; then
9855 { echo "$as_me:$LINENO: result: yes" >&5
9856 echo "${ECHO_T}yes" >&6; }
9857 else
9858 { echo "$as_me:$LINENO: result: no" >&5
9859 echo "${ECHO_T}no" >&6; }
9860 fi
9861
9862
9863 enablestring=
9864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9865 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9866 no_cache=0
9867 # Check whether --enable-dataviewctrl was given.
9868 if test "${enable_dataviewctrl+set}" = set; then
9869 enableval=$enable_dataviewctrl;
9870 if test "$enableval" = yes; then
9871 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9872 else
9873 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9874 fi
9875
9876 else
9877
9878 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
9879 if test "x$LINE" != x ; then
9880 eval "DEFAULT_$LINE"
9881 else
9882 no_cache=1
9883 fi
9884
9885 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9886
9887 fi
9888
9889
9890 eval "$ac_cv_use_dataviewctrl"
9891 if test "$no_cache" != 1; then
9892 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9893 fi
9894
9895 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9896 { echo "$as_me:$LINENO: result: yes" >&5
9897 echo "${ECHO_T}yes" >&6; }
9898 else
9899 { echo "$as_me:$LINENO: result: no" >&5
9900 echo "${ECHO_T}no" >&6; }
9901 fi
9902
9903
9904 enablestring=
9905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9906 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9907 no_cache=0
9908 # Check whether --enable-hyperlink was given.
9909 if test "${enable_hyperlink+set}" = set; then
9910 enableval=$enable_hyperlink;
9911 if test "$enableval" = yes; then
9912 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9913 else
9914 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9915 fi
9916
9917 else
9918
9919 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
9920 if test "x$LINE" != x ; then
9921 eval "DEFAULT_$LINE"
9922 else
9923 no_cache=1
9924 fi
9925
9926 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9927
9928 fi
9929
9930
9931 eval "$ac_cv_use_hyperlink"
9932 if test "$no_cache" != 1; then
9933 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9934 fi
9935
9936 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9937 { echo "$as_me:$LINENO: result: yes" >&5
9938 echo "${ECHO_T}yes" >&6; }
9939 else
9940 { echo "$as_me:$LINENO: result: no" >&5
9941 echo "${ECHO_T}no" >&6; }
9942 fi
9943
9944
9945 enablestring=
9946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9947 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9948 no_cache=0
9949 # Check whether --enable-imaglist was given.
9950 if test "${enable_imaglist+set}" = set; then
9951 enableval=$enable_imaglist;
9952 if test "$enableval" = yes; then
9953 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9954 else
9955 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9956 fi
9957
9958 else
9959
9960 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
9961 if test "x$LINE" != x ; then
9962 eval "DEFAULT_$LINE"
9963 else
9964 no_cache=1
9965 fi
9966
9967 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9968
9969 fi
9970
9971
9972 eval "$ac_cv_use_imaglist"
9973 if test "$no_cache" != 1; then
9974 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9975 fi
9976
9977 if test "$wxUSE_IMAGLIST" = yes; then
9978 { echo "$as_me:$LINENO: result: yes" >&5
9979 echo "${ECHO_T}yes" >&6; }
9980 else
9981 { echo "$as_me:$LINENO: result: no" >&5
9982 echo "${ECHO_T}no" >&6; }
9983 fi
9984
9985
9986 enablestring=
9987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9988 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9989 no_cache=0
9990 # Check whether --enable-listbook was given.
9991 if test "${enable_listbook+set}" = set; then
9992 enableval=$enable_listbook;
9993 if test "$enableval" = yes; then
9994 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9995 else
9996 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9997 fi
9998
9999 else
10000
10001 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
10002 if test "x$LINE" != x ; then
10003 eval "DEFAULT_$LINE"
10004 else
10005 no_cache=1
10006 fi
10007
10008 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
10009
10010 fi
10011
10012
10013 eval "$ac_cv_use_listbook"
10014 if test "$no_cache" != 1; then
10015 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
10016 fi
10017
10018 if test "$wxUSE_LISTBOOK" = yes; then
10019 { echo "$as_me:$LINENO: result: yes" >&5
10020 echo "${ECHO_T}yes" >&6; }
10021 else
10022 { echo "$as_me:$LINENO: result: no" >&5
10023 echo "${ECHO_T}no" >&6; }
10024 fi
10025
10026
10027 enablestring=
10028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10029 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10030 no_cache=0
10031 # Check whether --enable-listbox was given.
10032 if test "${enable_listbox+set}" = set; then
10033 enableval=$enable_listbox;
10034 if test "$enableval" = yes; then
10035 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
10036 else
10037 ac_cv_use_listbox='wxUSE_LISTBOX=no'
10038 fi
10039
10040 else
10041
10042 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
10043 if test "x$LINE" != x ; then
10044 eval "DEFAULT_$LINE"
10045 else
10046 no_cache=1
10047 fi
10048
10049 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
10050
10051 fi
10052
10053
10054 eval "$ac_cv_use_listbox"
10055 if test "$no_cache" != 1; then
10056 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
10057 fi
10058
10059 if test "$wxUSE_LISTBOX" = yes; then
10060 { echo "$as_me:$LINENO: result: yes" >&5
10061 echo "${ECHO_T}yes" >&6; }
10062 else
10063 { echo "$as_me:$LINENO: result: no" >&5
10064 echo "${ECHO_T}no" >&6; }
10065 fi
10066
10067
10068 enablestring=
10069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10070 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10071 no_cache=0
10072 # Check whether --enable-listctrl was given.
10073 if test "${enable_listctrl+set}" = set; then
10074 enableval=$enable_listctrl;
10075 if test "$enableval" = yes; then
10076 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10077 else
10078 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10079 fi
10080
10081 else
10082
10083 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
10084 if test "x$LINE" != x ; then
10085 eval "DEFAULT_$LINE"
10086 else
10087 no_cache=1
10088 fi
10089
10090 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10091
10092 fi
10093
10094
10095 eval "$ac_cv_use_listctrl"
10096 if test "$no_cache" != 1; then
10097 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10098 fi
10099
10100 if test "$wxUSE_LISTCTRL" = yes; then
10101 { echo "$as_me:$LINENO: result: yes" >&5
10102 echo "${ECHO_T}yes" >&6; }
10103 else
10104 { echo "$as_me:$LINENO: result: no" >&5
10105 echo "${ECHO_T}no" >&6; }
10106 fi
10107
10108
10109 enablestring=
10110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10111 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10112 no_cache=0
10113 # Check whether --enable-notebook was given.
10114 if test "${enable_notebook+set}" = set; then
10115 enableval=$enable_notebook;
10116 if test "$enableval" = yes; then
10117 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10118 else
10119 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10120 fi
10121
10122 else
10123
10124 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
10125 if test "x$LINE" != x ; then
10126 eval "DEFAULT_$LINE"
10127 else
10128 no_cache=1
10129 fi
10130
10131 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10132
10133 fi
10134
10135
10136 eval "$ac_cv_use_notebook"
10137 if test "$no_cache" != 1; then
10138 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10139 fi
10140
10141 if test "$wxUSE_NOTEBOOK" = yes; then
10142 { echo "$as_me:$LINENO: result: yes" >&5
10143 echo "${ECHO_T}yes" >&6; }
10144 else
10145 { echo "$as_me:$LINENO: result: no" >&5
10146 echo "${ECHO_T}no" >&6; }
10147 fi
10148
10149
10150 enablestring=
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10153 no_cache=0
10154 # Check whether --enable-odcombobox was given.
10155 if test "${enable_odcombobox+set}" = set; then
10156 enableval=$enable_odcombobox;
10157 if test "$enableval" = yes; then
10158 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10159 else
10160 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10161 fi
10162
10163 else
10164
10165 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
10166 if test "x$LINE" != x ; then
10167 eval "DEFAULT_$LINE"
10168 else
10169 no_cache=1
10170 fi
10171
10172 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10173
10174 fi
10175
10176
10177 eval "$ac_cv_use_odcombobox"
10178 if test "$no_cache" != 1; then
10179 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10180 fi
10181
10182 if test "$wxUSE_ODCOMBOBOX" = yes; then
10183 { echo "$as_me:$LINENO: result: yes" >&5
10184 echo "${ECHO_T}yes" >&6; }
10185 else
10186 { echo "$as_me:$LINENO: result: no" >&5
10187 echo "${ECHO_T}no" >&6; }
10188 fi
10189
10190
10191 enablestring=
10192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10193 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10194 no_cache=0
10195 # Check whether --enable-radiobox was given.
10196 if test "${enable_radiobox+set}" = set; then
10197 enableval=$enable_radiobox;
10198 if test "$enableval" = yes; then
10199 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10200 else
10201 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10202 fi
10203
10204 else
10205
10206 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
10207 if test "x$LINE" != x ; then
10208 eval "DEFAULT_$LINE"
10209 else
10210 no_cache=1
10211 fi
10212
10213 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10214
10215 fi
10216
10217
10218 eval "$ac_cv_use_radiobox"
10219 if test "$no_cache" != 1; then
10220 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10221 fi
10222
10223 if test "$wxUSE_RADIOBOX" = yes; then
10224 { echo "$as_me:$LINENO: result: yes" >&5
10225 echo "${ECHO_T}yes" >&6; }
10226 else
10227 { echo "$as_me:$LINENO: result: no" >&5
10228 echo "${ECHO_T}no" >&6; }
10229 fi
10230
10231
10232 enablestring=
10233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10234 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10235 no_cache=0
10236 # Check whether --enable-radiobtn was given.
10237 if test "${enable_radiobtn+set}" = set; then
10238 enableval=$enable_radiobtn;
10239 if test "$enableval" = yes; then
10240 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10241 else
10242 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10243 fi
10244
10245 else
10246
10247 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
10248 if test "x$LINE" != x ; then
10249 eval "DEFAULT_$LINE"
10250 else
10251 no_cache=1
10252 fi
10253
10254 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10255
10256 fi
10257
10258
10259 eval "$ac_cv_use_radiobtn"
10260 if test "$no_cache" != 1; then
10261 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10262 fi
10263
10264 if test "$wxUSE_RADIOBTN" = yes; then
10265 { echo "$as_me:$LINENO: result: yes" >&5
10266 echo "${ECHO_T}yes" >&6; }
10267 else
10268 { echo "$as_me:$LINENO: result: no" >&5
10269 echo "${ECHO_T}no" >&6; }
10270 fi
10271
10272
10273 enablestring=
10274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10276 no_cache=0
10277 # Check whether --enable-sash was given.
10278 if test "${enable_sash+set}" = set; then
10279 enableval=$enable_sash;
10280 if test "$enableval" = yes; then
10281 ac_cv_use_sash='wxUSE_SASH=yes'
10282 else
10283 ac_cv_use_sash='wxUSE_SASH=no'
10284 fi
10285
10286 else
10287
10288 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
10289 if test "x$LINE" != x ; then
10290 eval "DEFAULT_$LINE"
10291 else
10292 no_cache=1
10293 fi
10294
10295 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10296
10297 fi
10298
10299
10300 eval "$ac_cv_use_sash"
10301 if test "$no_cache" != 1; then
10302 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10303 fi
10304
10305 if test "$wxUSE_SASH" = yes; then
10306 { echo "$as_me:$LINENO: result: yes" >&5
10307 echo "${ECHO_T}yes" >&6; }
10308 else
10309 { echo "$as_me:$LINENO: result: no" >&5
10310 echo "${ECHO_T}no" >&6; }
10311 fi
10312
10313
10314 enablestring=
10315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10317 no_cache=0
10318 # Check whether --enable-scrollbar was given.
10319 if test "${enable_scrollbar+set}" = set; then
10320 enableval=$enable_scrollbar;
10321 if test "$enableval" = yes; then
10322 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10323 else
10324 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10325 fi
10326
10327 else
10328
10329 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
10330 if test "x$LINE" != x ; then
10331 eval "DEFAULT_$LINE"
10332 else
10333 no_cache=1
10334 fi
10335
10336 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10337
10338 fi
10339
10340
10341 eval "$ac_cv_use_scrollbar"
10342 if test "$no_cache" != 1; then
10343 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10344 fi
10345
10346 if test "$wxUSE_SCROLLBAR" = yes; then
10347 { echo "$as_me:$LINENO: result: yes" >&5
10348 echo "${ECHO_T}yes" >&6; }
10349 else
10350 { echo "$as_me:$LINENO: result: no" >&5
10351 echo "${ECHO_T}no" >&6; }
10352 fi
10353
10354
10355 enablestring=
10356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10357 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10358 no_cache=0
10359 # Check whether --enable-searchctrl was given.
10360 if test "${enable_searchctrl+set}" = set; then
10361 enableval=$enable_searchctrl;
10362 if test "$enableval" = yes; then
10363 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10364 else
10365 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10366 fi
10367
10368 else
10369
10370 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
10371 if test "x$LINE" != x ; then
10372 eval "DEFAULT_$LINE"
10373 else
10374 no_cache=1
10375 fi
10376
10377 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10378
10379 fi
10380
10381
10382 eval "$ac_cv_use_searchctrl"
10383 if test "$no_cache" != 1; then
10384 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10385 fi
10386
10387 if test "$wxUSE_SEARCHCTRL" = yes; then
10388 { echo "$as_me:$LINENO: result: yes" >&5
10389 echo "${ECHO_T}yes" >&6; }
10390 else
10391 { echo "$as_me:$LINENO: result: no" >&5
10392 echo "${ECHO_T}no" >&6; }
10393 fi
10394
10395
10396 enablestring=
10397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10399 no_cache=0
10400 # Check whether --enable-slider was given.
10401 if test "${enable_slider+set}" = set; then
10402 enableval=$enable_slider;
10403 if test "$enableval" = yes; then
10404 ac_cv_use_slider='wxUSE_SLIDER=yes'
10405 else
10406 ac_cv_use_slider='wxUSE_SLIDER=no'
10407 fi
10408
10409 else
10410
10411 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
10412 if test "x$LINE" != x ; then
10413 eval "DEFAULT_$LINE"
10414 else
10415 no_cache=1
10416 fi
10417
10418 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10419
10420 fi
10421
10422
10423 eval "$ac_cv_use_slider"
10424 if test "$no_cache" != 1; then
10425 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10426 fi
10427
10428 if test "$wxUSE_SLIDER" = yes; then
10429 { echo "$as_me:$LINENO: result: yes" >&5
10430 echo "${ECHO_T}yes" >&6; }
10431 else
10432 { echo "$as_me:$LINENO: result: no" >&5
10433 echo "${ECHO_T}no" >&6; }
10434 fi
10435
10436
10437 enablestring=
10438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10439 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10440 no_cache=0
10441 # Check whether --enable-spinbtn was given.
10442 if test "${enable_spinbtn+set}" = set; then
10443 enableval=$enable_spinbtn;
10444 if test "$enableval" = yes; then
10445 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10446 else
10447 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10448 fi
10449
10450 else
10451
10452 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
10453 if test "x$LINE" != x ; then
10454 eval "DEFAULT_$LINE"
10455 else
10456 no_cache=1
10457 fi
10458
10459 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10460
10461 fi
10462
10463
10464 eval "$ac_cv_use_spinbtn"
10465 if test "$no_cache" != 1; then
10466 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10467 fi
10468
10469 if test "$wxUSE_SPINBTN" = yes; then
10470 { echo "$as_me:$LINENO: result: yes" >&5
10471 echo "${ECHO_T}yes" >&6; }
10472 else
10473 { echo "$as_me:$LINENO: result: no" >&5
10474 echo "${ECHO_T}no" >&6; }
10475 fi
10476
10477
10478 enablestring=
10479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10480 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10481 no_cache=0
10482 # Check whether --enable-spinctrl was given.
10483 if test "${enable_spinctrl+set}" = set; then
10484 enableval=$enable_spinctrl;
10485 if test "$enableval" = yes; then
10486 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10487 else
10488 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10489 fi
10490
10491 else
10492
10493 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
10494 if test "x$LINE" != x ; then
10495 eval "DEFAULT_$LINE"
10496 else
10497 no_cache=1
10498 fi
10499
10500 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10501
10502 fi
10503
10504
10505 eval "$ac_cv_use_spinctrl"
10506 if test "$no_cache" != 1; then
10507 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10508 fi
10509
10510 if test "$wxUSE_SPINCTRL" = yes; then
10511 { echo "$as_me:$LINENO: result: yes" >&5
10512 echo "${ECHO_T}yes" >&6; }
10513 else
10514 { echo "$as_me:$LINENO: result: no" >&5
10515 echo "${ECHO_T}no" >&6; }
10516 fi
10517
10518
10519 enablestring=
10520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10521 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10522 no_cache=0
10523 # Check whether --enable-splitter was given.
10524 if test "${enable_splitter+set}" = set; then
10525 enableval=$enable_splitter;
10526 if test "$enableval" = yes; then
10527 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10528 else
10529 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10530 fi
10531
10532 else
10533
10534 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
10535 if test "x$LINE" != x ; then
10536 eval "DEFAULT_$LINE"
10537 else
10538 no_cache=1
10539 fi
10540
10541 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10542
10543 fi
10544
10545
10546 eval "$ac_cv_use_splitter"
10547 if test "$no_cache" != 1; then
10548 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10549 fi
10550
10551 if test "$wxUSE_SPLITTER" = yes; then
10552 { echo "$as_me:$LINENO: result: yes" >&5
10553 echo "${ECHO_T}yes" >&6; }
10554 else
10555 { echo "$as_me:$LINENO: result: no" >&5
10556 echo "${ECHO_T}no" >&6; }
10557 fi
10558
10559
10560 enablestring=
10561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10562 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10563 no_cache=0
10564 # Check whether --enable-statbmp was given.
10565 if test "${enable_statbmp+set}" = set; then
10566 enableval=$enable_statbmp;
10567 if test "$enableval" = yes; then
10568 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10569 else
10570 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10571 fi
10572
10573 else
10574
10575 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
10576 if test "x$LINE" != x ; then
10577 eval "DEFAULT_$LINE"
10578 else
10579 no_cache=1
10580 fi
10581
10582 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10583
10584 fi
10585
10586
10587 eval "$ac_cv_use_statbmp"
10588 if test "$no_cache" != 1; then
10589 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10590 fi
10591
10592 if test "$wxUSE_STATBMP" = yes; then
10593 { echo "$as_me:$LINENO: result: yes" >&5
10594 echo "${ECHO_T}yes" >&6; }
10595 else
10596 { echo "$as_me:$LINENO: result: no" >&5
10597 echo "${ECHO_T}no" >&6; }
10598 fi
10599
10600
10601 enablestring=
10602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10603 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10604 no_cache=0
10605 # Check whether --enable-statbox was given.
10606 if test "${enable_statbox+set}" = set; then
10607 enableval=$enable_statbox;
10608 if test "$enableval" = yes; then
10609 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10610 else
10611 ac_cv_use_statbox='wxUSE_STATBOX=no'
10612 fi
10613
10614 else
10615
10616 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
10617 if test "x$LINE" != x ; then
10618 eval "DEFAULT_$LINE"
10619 else
10620 no_cache=1
10621 fi
10622
10623 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10624
10625 fi
10626
10627
10628 eval "$ac_cv_use_statbox"
10629 if test "$no_cache" != 1; then
10630 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10631 fi
10632
10633 if test "$wxUSE_STATBOX" = yes; then
10634 { echo "$as_me:$LINENO: result: yes" >&5
10635 echo "${ECHO_T}yes" >&6; }
10636 else
10637 { echo "$as_me:$LINENO: result: no" >&5
10638 echo "${ECHO_T}no" >&6; }
10639 fi
10640
10641
10642 enablestring=
10643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10644 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10645 no_cache=0
10646 # Check whether --enable-statline was given.
10647 if test "${enable_statline+set}" = set; then
10648 enableval=$enable_statline;
10649 if test "$enableval" = yes; then
10650 ac_cv_use_statline='wxUSE_STATLINE=yes'
10651 else
10652 ac_cv_use_statline='wxUSE_STATLINE=no'
10653 fi
10654
10655 else
10656
10657 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
10658 if test "x$LINE" != x ; then
10659 eval "DEFAULT_$LINE"
10660 else
10661 no_cache=1
10662 fi
10663
10664 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10665
10666 fi
10667
10668
10669 eval "$ac_cv_use_statline"
10670 if test "$no_cache" != 1; then
10671 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10672 fi
10673
10674 if test "$wxUSE_STATLINE" = yes; then
10675 { echo "$as_me:$LINENO: result: yes" >&5
10676 echo "${ECHO_T}yes" >&6; }
10677 else
10678 { echo "$as_me:$LINENO: result: no" >&5
10679 echo "${ECHO_T}no" >&6; }
10680 fi
10681
10682
10683 enablestring=
10684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10685 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10686 no_cache=0
10687 # Check whether --enable-stattext was given.
10688 if test "${enable_stattext+set}" = set; then
10689 enableval=$enable_stattext;
10690 if test "$enableval" = yes; then
10691 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10692 else
10693 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10694 fi
10695
10696 else
10697
10698 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
10699 if test "x$LINE" != x ; then
10700 eval "DEFAULT_$LINE"
10701 else
10702 no_cache=1
10703 fi
10704
10705 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10706
10707 fi
10708
10709
10710 eval "$ac_cv_use_stattext"
10711 if test "$no_cache" != 1; then
10712 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10713 fi
10714
10715 if test "$wxUSE_STATTEXT" = yes; then
10716 { echo "$as_me:$LINENO: result: yes" >&5
10717 echo "${ECHO_T}yes" >&6; }
10718 else
10719 { echo "$as_me:$LINENO: result: no" >&5
10720 echo "${ECHO_T}no" >&6; }
10721 fi
10722
10723
10724 enablestring=
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10727 no_cache=0
10728 # Check whether --enable-statusbar was given.
10729 if test "${enable_statusbar+set}" = set; then
10730 enableval=$enable_statusbar;
10731 if test "$enableval" = yes; then
10732 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10733 else
10734 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10735 fi
10736
10737 else
10738
10739 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
10740 if test "x$LINE" != x ; then
10741 eval "DEFAULT_$LINE"
10742 else
10743 no_cache=1
10744 fi
10745
10746 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10747
10748 fi
10749
10750
10751 eval "$ac_cv_use_statusbar"
10752 if test "$no_cache" != 1; then
10753 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10754 fi
10755
10756 if test "$wxUSE_STATUSBAR" = yes; then
10757 { echo "$as_me:$LINENO: result: yes" >&5
10758 echo "${ECHO_T}yes" >&6; }
10759 else
10760 { echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6; }
10762 fi
10763
10764
10765 enablestring=
10766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10767 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10768 no_cache=0
10769 # Check whether --enable-tabdialog was given.
10770 if test "${enable_tabdialog+set}" = set; then
10771 enableval=$enable_tabdialog;
10772 if test "$enableval" = yes; then
10773 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10774 else
10775 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10776 fi
10777
10778 else
10779
10780 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
10781 if test "x$LINE" != x ; then
10782 eval "DEFAULT_$LINE"
10783 else
10784 no_cache=1
10785 fi
10786
10787 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10788
10789 fi
10790
10791
10792 eval "$ac_cv_use_tabdialog"
10793 if test "$no_cache" != 1; then
10794 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10795 fi
10796
10797 if test "$wxUSE_TAB_DIALOG" = yes; then
10798 { echo "$as_me:$LINENO: result: yes" >&5
10799 echo "${ECHO_T}yes" >&6; }
10800 else
10801 { echo "$as_me:$LINENO: result: no" >&5
10802 echo "${ECHO_T}no" >&6; }
10803 fi
10804
10805
10806 enablestring=
10807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10809 no_cache=0
10810 # Check whether --enable-textctrl was given.
10811 if test "${enable_textctrl+set}" = set; then
10812 enableval=$enable_textctrl;
10813 if test "$enableval" = yes; then
10814 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10815 else
10816 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10817 fi
10818
10819 else
10820
10821 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
10822 if test "x$LINE" != x ; then
10823 eval "DEFAULT_$LINE"
10824 else
10825 no_cache=1
10826 fi
10827
10828 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10829
10830 fi
10831
10832
10833 eval "$ac_cv_use_textctrl"
10834 if test "$no_cache" != 1; then
10835 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10836 fi
10837
10838 if test "$wxUSE_TEXTCTRL" = yes; then
10839 { echo "$as_me:$LINENO: result: yes" >&5
10840 echo "${ECHO_T}yes" >&6; }
10841 else
10842 { echo "$as_me:$LINENO: result: no" >&5
10843 echo "${ECHO_T}no" >&6; }
10844 fi
10845
10846
10847 enablestring=
10848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10849 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10850 no_cache=0
10851 # Check whether --enable-togglebtn was given.
10852 if test "${enable_togglebtn+set}" = set; then
10853 enableval=$enable_togglebtn;
10854 if test "$enableval" = yes; then
10855 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10856 else
10857 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10858 fi
10859
10860 else
10861
10862 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
10863 if test "x$LINE" != x ; then
10864 eval "DEFAULT_$LINE"
10865 else
10866 no_cache=1
10867 fi
10868
10869 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10870
10871 fi
10872
10873
10874 eval "$ac_cv_use_togglebtn"
10875 if test "$no_cache" != 1; then
10876 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10877 fi
10878
10879 if test "$wxUSE_TOGGLEBTN" = yes; then
10880 { echo "$as_me:$LINENO: result: yes" >&5
10881 echo "${ECHO_T}yes" >&6; }
10882 else
10883 { echo "$as_me:$LINENO: result: no" >&5
10884 echo "${ECHO_T}no" >&6; }
10885 fi
10886
10887
10888 enablestring=
10889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10891 no_cache=0
10892 # Check whether --enable-toolbar was given.
10893 if test "${enable_toolbar+set}" = set; then
10894 enableval=$enable_toolbar;
10895 if test "$enableval" = yes; then
10896 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10897 else
10898 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10899 fi
10900
10901 else
10902
10903 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
10904 if test "x$LINE" != x ; then
10905 eval "DEFAULT_$LINE"
10906 else
10907 no_cache=1
10908 fi
10909
10910 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10911
10912 fi
10913
10914
10915 eval "$ac_cv_use_toolbar"
10916 if test "$no_cache" != 1; then
10917 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10918 fi
10919
10920 if test "$wxUSE_TOOLBAR" = yes; then
10921 { echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6; }
10923 else
10924 { echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6; }
10926 fi
10927
10928
10929 enablestring=
10930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10931 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10932 no_cache=0
10933 # Check whether --enable-tbarnative was given.
10934 if test "${enable_tbarnative+set}" = set; then
10935 enableval=$enable_tbarnative;
10936 if test "$enableval" = yes; then
10937 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10938 else
10939 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10940 fi
10941
10942 else
10943
10944 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
10945 if test "x$LINE" != x ; then
10946 eval "DEFAULT_$LINE"
10947 else
10948 no_cache=1
10949 fi
10950
10951 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10952
10953 fi
10954
10955
10956 eval "$ac_cv_use_tbarnative"
10957 if test "$no_cache" != 1; then
10958 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10959 fi
10960
10961 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10962 { echo "$as_me:$LINENO: result: yes" >&5
10963 echo "${ECHO_T}yes" >&6; }
10964 else
10965 { echo "$as_me:$LINENO: result: no" >&5
10966 echo "${ECHO_T}no" >&6; }
10967 fi
10968
10969
10970 enablestring=
10971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10972 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10973 no_cache=0
10974 # Check whether --enable-treebook was given.
10975 if test "${enable_treebook+set}" = set; then
10976 enableval=$enable_treebook;
10977 if test "$enableval" = yes; then
10978 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10979 else
10980 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10981 fi
10982
10983 else
10984
10985 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
10986 if test "x$LINE" != x ; then
10987 eval "DEFAULT_$LINE"
10988 else
10989 no_cache=1
10990 fi
10991
10992 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10993
10994 fi
10995
10996
10997 eval "$ac_cv_use_treebook"
10998 if test "$no_cache" != 1; then
10999 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
11000 fi
11001
11002 if test "$wxUSE_TREEBOOK" = yes; then
11003 { echo "$as_me:$LINENO: result: yes" >&5
11004 echo "${ECHO_T}yes" >&6; }
11005 else
11006 { echo "$as_me:$LINENO: result: no" >&5
11007 echo "${ECHO_T}no" >&6; }
11008 fi
11009
11010
11011 enablestring=
11012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11013 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11014 no_cache=0
11015 # Check whether --enable-toolbook was given.
11016 if test "${enable_toolbook+set}" = set; then
11017 enableval=$enable_toolbook;
11018 if test "$enableval" = yes; then
11019 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11020 else
11021 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11022 fi
11023
11024 else
11025
11026 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
11027 if test "x$LINE" != x ; then
11028 eval "DEFAULT_$LINE"
11029 else
11030 no_cache=1
11031 fi
11032
11033 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
11034
11035 fi
11036
11037
11038 eval "$ac_cv_use_toolbook"
11039 if test "$no_cache" != 1; then
11040 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
11041 fi
11042
11043 if test "$wxUSE_TOOLBOOK" = yes; then
11044 { echo "$as_me:$LINENO: result: yes" >&5
11045 echo "${ECHO_T}yes" >&6; }
11046 else
11047 { echo "$as_me:$LINENO: result: no" >&5
11048 echo "${ECHO_T}no" >&6; }
11049 fi
11050
11051
11052 enablestring=
11053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11054 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11055 no_cache=0
11056 # Check whether --enable-treectrl was given.
11057 if test "${enable_treectrl+set}" = set; then
11058 enableval=$enable_treectrl;
11059 if test "$enableval" = yes; then
11060 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
11061 else
11062 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
11063 fi
11064
11065 else
11066
11067 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
11068 if test "x$LINE" != x ; then
11069 eval "DEFAULT_$LINE"
11070 else
11071 no_cache=1
11072 fi
11073
11074 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
11075
11076 fi
11077
11078
11079 eval "$ac_cv_use_treectrl"
11080 if test "$no_cache" != 1; then
11081 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11082 fi
11083
11084 if test "$wxUSE_TREECTRL" = yes; then
11085 { echo "$as_me:$LINENO: result: yes" >&5
11086 echo "${ECHO_T}yes" >&6; }
11087 else
11088 { echo "$as_me:$LINENO: result: no" >&5
11089 echo "${ECHO_T}no" >&6; }
11090 fi
11091
11092
11093 enablestring=
11094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11095 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11096 no_cache=0
11097 # Check whether --enable-tipwindow was given.
11098 if test "${enable_tipwindow+set}" = set; then
11099 enableval=$enable_tipwindow;
11100 if test "$enableval" = yes; then
11101 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11102 else
11103 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11104 fi
11105
11106 else
11107
11108 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
11109 if test "x$LINE" != x ; then
11110 eval "DEFAULT_$LINE"
11111 else
11112 no_cache=1
11113 fi
11114
11115 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11116
11117 fi
11118
11119
11120 eval "$ac_cv_use_tipwindow"
11121 if test "$no_cache" != 1; then
11122 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11123 fi
11124
11125 if test "$wxUSE_TIPWINDOW" = yes; then
11126 { echo "$as_me:$LINENO: result: yes" >&5
11127 echo "${ECHO_T}yes" >&6; }
11128 else
11129 { echo "$as_me:$LINENO: result: no" >&5
11130 echo "${ECHO_T}no" >&6; }
11131 fi
11132
11133
11134 enablestring=
11135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11136 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11137 no_cache=0
11138 # Check whether --enable-popupwin was given.
11139 if test "${enable_popupwin+set}" = set; then
11140 enableval=$enable_popupwin;
11141 if test "$enableval" = yes; then
11142 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11143 else
11144 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11145 fi
11146
11147 else
11148
11149 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
11150 if test "x$LINE" != x ; then
11151 eval "DEFAULT_$LINE"
11152 else
11153 no_cache=1
11154 fi
11155
11156 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11157
11158 fi
11159
11160
11161 eval "$ac_cv_use_popupwin"
11162 if test "$no_cache" != 1; then
11163 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11164 fi
11165
11166 if test "$wxUSE_POPUPWIN" = yes; then
11167 { echo "$as_me:$LINENO: result: yes" >&5
11168 echo "${ECHO_T}yes" >&6; }
11169 else
11170 { echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6; }
11172 fi
11173
11174
11175
11176
11177 enablestring=
11178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11179 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11180 no_cache=0
11181 # Check whether --enable-commondlg was given.
11182 if test "${enable_commondlg+set}" = set; then
11183 enableval=$enable_commondlg;
11184 if test "$enableval" = yes; then
11185 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11186 else
11187 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11188 fi
11189
11190 else
11191
11192 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
11193 if test "x$LINE" != x ; then
11194 eval "DEFAULT_$LINE"
11195 else
11196 no_cache=1
11197 fi
11198
11199 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11200
11201 fi
11202
11203
11204 eval "$ac_cv_use_commondlg"
11205 if test "$no_cache" != 1; then
11206 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11207 fi
11208
11209 if test "$wxUSE_COMMONDLGS" = yes; then
11210 { echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6; }
11212 else
11213 { echo "$as_me:$LINENO: result: no" >&5
11214 echo "${ECHO_T}no" >&6; }
11215 fi
11216
11217
11218 enablestring=
11219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11220 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11221 no_cache=0
11222 # Check whether --enable-aboutdlg was given.
11223 if test "${enable_aboutdlg+set}" = set; then
11224 enableval=$enable_aboutdlg;
11225 if test "$enableval" = yes; then
11226 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11227 else
11228 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11229 fi
11230
11231 else
11232
11233 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
11234 if test "x$LINE" != x ; then
11235 eval "DEFAULT_$LINE"
11236 else
11237 no_cache=1
11238 fi
11239
11240 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11241
11242 fi
11243
11244
11245 eval "$ac_cv_use_aboutdlg"
11246 if test "$no_cache" != 1; then
11247 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11248 fi
11249
11250 if test "$wxUSE_ABOUTDLG" = yes; then
11251 { echo "$as_me:$LINENO: result: yes" >&5
11252 echo "${ECHO_T}yes" >&6; }
11253 else
11254 { echo "$as_me:$LINENO: result: no" >&5
11255 echo "${ECHO_T}no" >&6; }
11256 fi
11257
11258
11259 enablestring=
11260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11261 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11262 no_cache=0
11263 # Check whether --enable-choicedlg was given.
11264 if test "${enable_choicedlg+set}" = set; then
11265 enableval=$enable_choicedlg;
11266 if test "$enableval" = yes; then
11267 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11268 else
11269 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11270 fi
11271
11272 else
11273
11274 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
11275 if test "x$LINE" != x ; then
11276 eval "DEFAULT_$LINE"
11277 else
11278 no_cache=1
11279 fi
11280
11281 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11282
11283 fi
11284
11285
11286 eval "$ac_cv_use_choicedlg"
11287 if test "$no_cache" != 1; then
11288 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11289 fi
11290
11291 if test "$wxUSE_CHOICEDLG" = yes; then
11292 { echo "$as_me:$LINENO: result: yes" >&5
11293 echo "${ECHO_T}yes" >&6; }
11294 else
11295 { echo "$as_me:$LINENO: result: no" >&5
11296 echo "${ECHO_T}no" >&6; }
11297 fi
11298
11299
11300 enablestring=
11301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11302 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11303 no_cache=0
11304 # Check whether --enable-coldlg was given.
11305 if test "${enable_coldlg+set}" = set; then
11306 enableval=$enable_coldlg;
11307 if test "$enableval" = yes; then
11308 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11309 else
11310 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11311 fi
11312
11313 else
11314
11315 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
11316 if test "x$LINE" != x ; then
11317 eval "DEFAULT_$LINE"
11318 else
11319 no_cache=1
11320 fi
11321
11322 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11323
11324 fi
11325
11326
11327 eval "$ac_cv_use_coldlg"
11328 if test "$no_cache" != 1; then
11329 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11330 fi
11331
11332 if test "$wxUSE_COLOURDLG" = yes; then
11333 { echo "$as_me:$LINENO: result: yes" >&5
11334 echo "${ECHO_T}yes" >&6; }
11335 else
11336 { echo "$as_me:$LINENO: result: no" >&5
11337 echo "${ECHO_T}no" >&6; }
11338 fi
11339
11340
11341 enablestring=
11342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11343 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11344 no_cache=0
11345 # Check whether --enable-filedlg was given.
11346 if test "${enable_filedlg+set}" = set; then
11347 enableval=$enable_filedlg;
11348 if test "$enableval" = yes; then
11349 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11350 else
11351 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11352 fi
11353
11354 else
11355
11356 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
11357 if test "x$LINE" != x ; then
11358 eval "DEFAULT_$LINE"
11359 else
11360 no_cache=1
11361 fi
11362
11363 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11364
11365 fi
11366
11367
11368 eval "$ac_cv_use_filedlg"
11369 if test "$no_cache" != 1; then
11370 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11371 fi
11372
11373 if test "$wxUSE_FILEDLG" = yes; then
11374 { echo "$as_me:$LINENO: result: yes" >&5
11375 echo "${ECHO_T}yes" >&6; }
11376 else
11377 { echo "$as_me:$LINENO: result: no" >&5
11378 echo "${ECHO_T}no" >&6; }
11379 fi
11380
11381
11382 enablestring=
11383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11385 no_cache=0
11386 # Check whether --enable-finddlg was given.
11387 if test "${enable_finddlg+set}" = set; then
11388 enableval=$enable_finddlg;
11389 if test "$enableval" = yes; then
11390 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11391 else
11392 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11393 fi
11394
11395 else
11396
11397 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
11398 if test "x$LINE" != x ; then
11399 eval "DEFAULT_$LINE"
11400 else
11401 no_cache=1
11402 fi
11403
11404 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11405
11406 fi
11407
11408
11409 eval "$ac_cv_use_finddlg"
11410 if test "$no_cache" != 1; then
11411 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11412 fi
11413
11414 if test "$wxUSE_FINDREPLDLG" = yes; then
11415 { echo "$as_me:$LINENO: result: yes" >&5
11416 echo "${ECHO_T}yes" >&6; }
11417 else
11418 { echo "$as_me:$LINENO: result: no" >&5
11419 echo "${ECHO_T}no" >&6; }
11420 fi
11421
11422
11423 enablestring=
11424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11425 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11426 no_cache=0
11427 # Check whether --enable-fontdlg was given.
11428 if test "${enable_fontdlg+set}" = set; then
11429 enableval=$enable_fontdlg;
11430 if test "$enableval" = yes; then
11431 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11432 else
11433 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11434 fi
11435
11436 else
11437
11438 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
11439 if test "x$LINE" != x ; then
11440 eval "DEFAULT_$LINE"
11441 else
11442 no_cache=1
11443 fi
11444
11445 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11446
11447 fi
11448
11449
11450 eval "$ac_cv_use_fontdlg"
11451 if test "$no_cache" != 1; then
11452 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11453 fi
11454
11455 if test "$wxUSE_FONTDLG" = yes; then
11456 { echo "$as_me:$LINENO: result: yes" >&5
11457 echo "${ECHO_T}yes" >&6; }
11458 else
11459 { echo "$as_me:$LINENO: result: no" >&5
11460 echo "${ECHO_T}no" >&6; }
11461 fi
11462
11463
11464 enablestring=
11465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11467 no_cache=0
11468 # Check whether --enable-dirdlg was given.
11469 if test "${enable_dirdlg+set}" = set; then
11470 enableval=$enable_dirdlg;
11471 if test "$enableval" = yes; then
11472 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11473 else
11474 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11475 fi
11476
11477 else
11478
11479 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
11480 if test "x$LINE" != x ; then
11481 eval "DEFAULT_$LINE"
11482 else
11483 no_cache=1
11484 fi
11485
11486 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11487
11488 fi
11489
11490
11491 eval "$ac_cv_use_dirdlg"
11492 if test "$no_cache" != 1; then
11493 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11494 fi
11495
11496 if test "$wxUSE_DIRDLG" = yes; then
11497 { echo "$as_me:$LINENO: result: yes" >&5
11498 echo "${ECHO_T}yes" >&6; }
11499 else
11500 { echo "$as_me:$LINENO: result: no" >&5
11501 echo "${ECHO_T}no" >&6; }
11502 fi
11503
11504
11505 enablestring=
11506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11507 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11508 no_cache=0
11509 # Check whether --enable-msgdlg was given.
11510 if test "${enable_msgdlg+set}" = set; then
11511 enableval=$enable_msgdlg;
11512 if test "$enableval" = yes; then
11513 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11514 else
11515 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11516 fi
11517
11518 else
11519
11520 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
11521 if test "x$LINE" != x ; then
11522 eval "DEFAULT_$LINE"
11523 else
11524 no_cache=1
11525 fi
11526
11527 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11528
11529 fi
11530
11531
11532 eval "$ac_cv_use_msgdlg"
11533 if test "$no_cache" != 1; then
11534 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11535 fi
11536
11537 if test "$wxUSE_MSGDLG" = yes; then
11538 { echo "$as_me:$LINENO: result: yes" >&5
11539 echo "${ECHO_T}yes" >&6; }
11540 else
11541 { echo "$as_me:$LINENO: result: no" >&5
11542 echo "${ECHO_T}no" >&6; }
11543 fi
11544
11545
11546 enablestring=
11547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11548 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11549 no_cache=0
11550 # Check whether --enable-numberdlg was given.
11551 if test "${enable_numberdlg+set}" = set; then
11552 enableval=$enable_numberdlg;
11553 if test "$enableval" = yes; then
11554 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11555 else
11556 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11557 fi
11558
11559 else
11560
11561 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
11562 if test "x$LINE" != x ; then
11563 eval "DEFAULT_$LINE"
11564 else
11565 no_cache=1
11566 fi
11567
11568 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11569
11570 fi
11571
11572
11573 eval "$ac_cv_use_numberdlg"
11574 if test "$no_cache" != 1; then
11575 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11576 fi
11577
11578 if test "$wxUSE_NUMBERDLG" = yes; then
11579 { echo "$as_me:$LINENO: result: yes" >&5
11580 echo "${ECHO_T}yes" >&6; }
11581 else
11582 { echo "$as_me:$LINENO: result: no" >&5
11583 echo "${ECHO_T}no" >&6; }
11584 fi
11585
11586
11587 enablestring=
11588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11589 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11590 no_cache=0
11591 # Check whether --enable-splash was given.
11592 if test "${enable_splash+set}" = set; then
11593 enableval=$enable_splash;
11594 if test "$enableval" = yes; then
11595 ac_cv_use_splash='wxUSE_SPLASH=yes'
11596 else
11597 ac_cv_use_splash='wxUSE_SPLASH=no'
11598 fi
11599
11600 else
11601
11602 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
11603 if test "x$LINE" != x ; then
11604 eval "DEFAULT_$LINE"
11605 else
11606 no_cache=1
11607 fi
11608
11609 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11610
11611 fi
11612
11613
11614 eval "$ac_cv_use_splash"
11615 if test "$no_cache" != 1; then
11616 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11617 fi
11618
11619 if test "$wxUSE_SPLASH" = yes; then
11620 { echo "$as_me:$LINENO: result: yes" >&5
11621 echo "${ECHO_T}yes" >&6; }
11622 else
11623 { echo "$as_me:$LINENO: result: no" >&5
11624 echo "${ECHO_T}no" >&6; }
11625 fi
11626
11627
11628 enablestring=
11629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11630 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11631 no_cache=0
11632 # Check whether --enable-textdlg was given.
11633 if test "${enable_textdlg+set}" = set; then
11634 enableval=$enable_textdlg;
11635 if test "$enableval" = yes; then
11636 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11637 else
11638 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11639 fi
11640
11641 else
11642
11643 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
11644 if test "x$LINE" != x ; then
11645 eval "DEFAULT_$LINE"
11646 else
11647 no_cache=1
11648 fi
11649
11650 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11651
11652 fi
11653
11654
11655 eval "$ac_cv_use_textdlg"
11656 if test "$no_cache" != 1; then
11657 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11658 fi
11659
11660 if test "$wxUSE_TEXTDLG" = yes; then
11661 { echo "$as_me:$LINENO: result: yes" >&5
11662 echo "${ECHO_T}yes" >&6; }
11663 else
11664 { echo "$as_me:$LINENO: result: no" >&5
11665 echo "${ECHO_T}no" >&6; }
11666 fi
11667
11668
11669 enablestring=
11670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11671 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11672 no_cache=0
11673 # Check whether --enable-tipdlg was given.
11674 if test "${enable_tipdlg+set}" = set; then
11675 enableval=$enable_tipdlg;
11676 if test "$enableval" = yes; then
11677 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11678 else
11679 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11680 fi
11681
11682 else
11683
11684 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
11685 if test "x$LINE" != x ; then
11686 eval "DEFAULT_$LINE"
11687 else
11688 no_cache=1
11689 fi
11690
11691 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11692
11693 fi
11694
11695
11696 eval "$ac_cv_use_tipdlg"
11697 if test "$no_cache" != 1; then
11698 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11699 fi
11700
11701 if test "$wxUSE_STARTUP_TIPS" = yes; then
11702 { echo "$as_me:$LINENO: result: yes" >&5
11703 echo "${ECHO_T}yes" >&6; }
11704 else
11705 { echo "$as_me:$LINENO: result: no" >&5
11706 echo "${ECHO_T}no" >&6; }
11707 fi
11708
11709
11710 enablestring=
11711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11712 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11713 no_cache=0
11714 # Check whether --enable-progressdlg was given.
11715 if test "${enable_progressdlg+set}" = set; then
11716 enableval=$enable_progressdlg;
11717 if test "$enableval" = yes; then
11718 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11719 else
11720 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11721 fi
11722
11723 else
11724
11725 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
11726 if test "x$LINE" != x ; then
11727 eval "DEFAULT_$LINE"
11728 else
11729 no_cache=1
11730 fi
11731
11732 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11733
11734 fi
11735
11736
11737 eval "$ac_cv_use_progressdlg"
11738 if test "$no_cache" != 1; then
11739 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11740 fi
11741
11742 if test "$wxUSE_PROGRESSDLG" = yes; then
11743 { echo "$as_me:$LINENO: result: yes" >&5
11744 echo "${ECHO_T}yes" >&6; }
11745 else
11746 { echo "$as_me:$LINENO: result: no" >&5
11747 echo "${ECHO_T}no" >&6; }
11748 fi
11749
11750
11751 enablestring=
11752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11753 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11754 no_cache=0
11755 # Check whether --enable-wizarddlg was given.
11756 if test "${enable_wizarddlg+set}" = set; then
11757 enableval=$enable_wizarddlg;
11758 if test "$enableval" = yes; then
11759 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11760 else
11761 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11762 fi
11763
11764 else
11765
11766 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
11767 if test "x$LINE" != x ; then
11768 eval "DEFAULT_$LINE"
11769 else
11770 no_cache=1
11771 fi
11772
11773 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11774
11775 fi
11776
11777
11778 eval "$ac_cv_use_wizarddlg"
11779 if test "$no_cache" != 1; then
11780 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11781 fi
11782
11783 if test "$wxUSE_WIZARDDLG" = yes; then
11784 { echo "$as_me:$LINENO: result: yes" >&5
11785 echo "${ECHO_T}yes" >&6; }
11786 else
11787 { echo "$as_me:$LINENO: result: no" >&5
11788 echo "${ECHO_T}no" >&6; }
11789 fi
11790
11791
11792
11793
11794 enablestring=
11795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11796 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11797 no_cache=0
11798 # Check whether --enable-menus was given.
11799 if test "${enable_menus+set}" = set; then
11800 enableval=$enable_menus;
11801 if test "$enableval" = yes; then
11802 ac_cv_use_menus='wxUSE_MENUS=yes'
11803 else
11804 ac_cv_use_menus='wxUSE_MENUS=no'
11805 fi
11806
11807 else
11808
11809 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
11810 if test "x$LINE" != x ; then
11811 eval "DEFAULT_$LINE"
11812 else
11813 no_cache=1
11814 fi
11815
11816 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11817
11818 fi
11819
11820
11821 eval "$ac_cv_use_menus"
11822 if test "$no_cache" != 1; then
11823 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11824 fi
11825
11826 if test "$wxUSE_MENUS" = yes; then
11827 { echo "$as_me:$LINENO: result: yes" >&5
11828 echo "${ECHO_T}yes" >&6; }
11829 else
11830 { echo "$as_me:$LINENO: result: no" >&5
11831 echo "${ECHO_T}no" >&6; }
11832 fi
11833
11834
11835 enablestring=
11836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11837 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11838 no_cache=0
11839 # Check whether --enable-miniframe was given.
11840 if test "${enable_miniframe+set}" = set; then
11841 enableval=$enable_miniframe;
11842 if test "$enableval" = yes; then
11843 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11844 else
11845 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11846 fi
11847
11848 else
11849
11850 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
11851 if test "x$LINE" != x ; then
11852 eval "DEFAULT_$LINE"
11853 else
11854 no_cache=1
11855 fi
11856
11857 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11858
11859 fi
11860
11861
11862 eval "$ac_cv_use_miniframe"
11863 if test "$no_cache" != 1; then
11864 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11865 fi
11866
11867 if test "$wxUSE_MINIFRAME" = yes; then
11868 { echo "$as_me:$LINENO: result: yes" >&5
11869 echo "${ECHO_T}yes" >&6; }
11870 else
11871 { echo "$as_me:$LINENO: result: no" >&5
11872 echo "${ECHO_T}no" >&6; }
11873 fi
11874
11875
11876 enablestring=
11877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11878 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11879 no_cache=0
11880 # Check whether --enable-tooltips was given.
11881 if test "${enable_tooltips+set}" = set; then
11882 enableval=$enable_tooltips;
11883 if test "$enableval" = yes; then
11884 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11885 else
11886 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11887 fi
11888
11889 else
11890
11891 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
11892 if test "x$LINE" != x ; then
11893 eval "DEFAULT_$LINE"
11894 else
11895 no_cache=1
11896 fi
11897
11898 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11899
11900 fi
11901
11902
11903 eval "$ac_cv_use_tooltips"
11904 if test "$no_cache" != 1; then
11905 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11906 fi
11907
11908 if test "$wxUSE_TOOLTIPS" = yes; then
11909 { echo "$as_me:$LINENO: result: yes" >&5
11910 echo "${ECHO_T}yes" >&6; }
11911 else
11912 { echo "$as_me:$LINENO: result: no" >&5
11913 echo "${ECHO_T}no" >&6; }
11914 fi
11915
11916
11917 enablestring=
11918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11920 no_cache=0
11921 # Check whether --enable-splines was given.
11922 if test "${enable_splines+set}" = set; then
11923 enableval=$enable_splines;
11924 if test "$enableval" = yes; then
11925 ac_cv_use_splines='wxUSE_SPLINES=yes'
11926 else
11927 ac_cv_use_splines='wxUSE_SPLINES=no'
11928 fi
11929
11930 else
11931
11932 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
11933 if test "x$LINE" != x ; then
11934 eval "DEFAULT_$LINE"
11935 else
11936 no_cache=1
11937 fi
11938
11939 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11940
11941 fi
11942
11943
11944 eval "$ac_cv_use_splines"
11945 if test "$no_cache" != 1; then
11946 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11947 fi
11948
11949 if test "$wxUSE_SPLINES" = yes; then
11950 { echo "$as_me:$LINENO: result: yes" >&5
11951 echo "${ECHO_T}yes" >&6; }
11952 else
11953 { echo "$as_me:$LINENO: result: no" >&5
11954 echo "${ECHO_T}no" >&6; }
11955 fi
11956
11957
11958 enablestring=
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11961 no_cache=0
11962 # Check whether --enable-mousewheel was given.
11963 if test "${enable_mousewheel+set}" = set; then
11964 enableval=$enable_mousewheel;
11965 if test "$enableval" = yes; then
11966 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11967 else
11968 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11969 fi
11970
11971 else
11972
11973 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
11974 if test "x$LINE" != x ; then
11975 eval "DEFAULT_$LINE"
11976 else
11977 no_cache=1
11978 fi
11979
11980 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11981
11982 fi
11983
11984
11985 eval "$ac_cv_use_mousewheel"
11986 if test "$no_cache" != 1; then
11987 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11988 fi
11989
11990 if test "$wxUSE_MOUSEWHEEL" = yes; then
11991 { echo "$as_me:$LINENO: result: yes" >&5
11992 echo "${ECHO_T}yes" >&6; }
11993 else
11994 { echo "$as_me:$LINENO: result: no" >&5
11995 echo "${ECHO_T}no" >&6; }
11996 fi
11997
11998
11999 enablestring=
12000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12001 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12002 no_cache=0
12003 # Check whether --enable-validators was given.
12004 if test "${enable_validators+set}" = set; then
12005 enableval=$enable_validators;
12006 if test "$enableval" = yes; then
12007 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
12008 else
12009 ac_cv_use_validators='wxUSE_VALIDATORS=no'
12010 fi
12011
12012 else
12013
12014 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
12015 if test "x$LINE" != x ; then
12016 eval "DEFAULT_$LINE"
12017 else
12018 no_cache=1
12019 fi
12020
12021 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
12022
12023 fi
12024
12025
12026 eval "$ac_cv_use_validators"
12027 if test "$no_cache" != 1; then
12028 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
12029 fi
12030
12031 if test "$wxUSE_VALIDATORS" = yes; then
12032 { echo "$as_me:$LINENO: result: yes" >&5
12033 echo "${ECHO_T}yes" >&6; }
12034 else
12035 { echo "$as_me:$LINENO: result: no" >&5
12036 echo "${ECHO_T}no" >&6; }
12037 fi
12038
12039
12040 enablestring=
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12043 no_cache=0
12044 # Check whether --enable-busyinfo was given.
12045 if test "${enable_busyinfo+set}" = set; then
12046 enableval=$enable_busyinfo;
12047 if test "$enableval" = yes; then
12048 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12049 else
12050 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12051 fi
12052
12053 else
12054
12055 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
12056 if test "x$LINE" != x ; then
12057 eval "DEFAULT_$LINE"
12058 else
12059 no_cache=1
12060 fi
12061
12062 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
12063
12064 fi
12065
12066
12067 eval "$ac_cv_use_busyinfo"
12068 if test "$no_cache" != 1; then
12069 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
12070 fi
12071
12072 if test "$wxUSE_BUSYINFO" = yes; then
12073 { echo "$as_me:$LINENO: result: yes" >&5
12074 echo "${ECHO_T}yes" >&6; }
12075 else
12076 { echo "$as_me:$LINENO: result: no" >&5
12077 echo "${ECHO_T}no" >&6; }
12078 fi
12079
12080
12081 enablestring=
12082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12083 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12084 no_cache=0
12085 # Check whether --enable-joystick was given.
12086 if test "${enable_joystick+set}" = set; then
12087 enableval=$enable_joystick;
12088 if test "$enableval" = yes; then
12089 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12090 else
12091 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12092 fi
12093
12094 else
12095
12096 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
12097 if test "x$LINE" != x ; then
12098 eval "DEFAULT_$LINE"
12099 else
12100 no_cache=1
12101 fi
12102
12103 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12104
12105 fi
12106
12107
12108 eval "$ac_cv_use_joystick"
12109 if test "$no_cache" != 1; then
12110 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12111 fi
12112
12113 if test "$wxUSE_JOYSTICK" = yes; then
12114 { echo "$as_me:$LINENO: result: yes" >&5
12115 echo "${ECHO_T}yes" >&6; }
12116 else
12117 { echo "$as_me:$LINENO: result: no" >&5
12118 echo "${ECHO_T}no" >&6; }
12119 fi
12120
12121
12122 enablestring=
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12125 no_cache=0
12126 # Check whether --enable-metafile was given.
12127 if test "${enable_metafile+set}" = set; then
12128 enableval=$enable_metafile;
12129 if test "$enableval" = yes; then
12130 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12131 else
12132 ac_cv_use_metafile='wxUSE_METAFILE=no'
12133 fi
12134
12135 else
12136
12137 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
12138 if test "x$LINE" != x ; then
12139 eval "DEFAULT_$LINE"
12140 else
12141 no_cache=1
12142 fi
12143
12144 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12145
12146 fi
12147
12148
12149 eval "$ac_cv_use_metafile"
12150 if test "$no_cache" != 1; then
12151 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12152 fi
12153
12154 if test "$wxUSE_METAFILE" = yes; then
12155 { echo "$as_me:$LINENO: result: yes" >&5
12156 echo "${ECHO_T}yes" >&6; }
12157 else
12158 { echo "$as_me:$LINENO: result: no" >&5
12159 echo "${ECHO_T}no" >&6; }
12160 fi
12161
12162
12163 enablestring=
12164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12165 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12166 no_cache=0
12167 # Check whether --enable-dragimage was given.
12168 if test "${enable_dragimage+set}" = set; then
12169 enableval=$enable_dragimage;
12170 if test "$enableval" = yes; then
12171 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12172 else
12173 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12174 fi
12175
12176 else
12177
12178 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
12179 if test "x$LINE" != x ; then
12180 eval "DEFAULT_$LINE"
12181 else
12182 no_cache=1
12183 fi
12184
12185 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12186
12187 fi
12188
12189
12190 eval "$ac_cv_use_dragimage"
12191 if test "$no_cache" != 1; then
12192 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12193 fi
12194
12195 if test "$wxUSE_DRAGIMAGE" = yes; then
12196 { echo "$as_me:$LINENO: result: yes" >&5
12197 echo "${ECHO_T}yes" >&6; }
12198 else
12199 { echo "$as_me:$LINENO: result: no" >&5
12200 echo "${ECHO_T}no" >&6; }
12201 fi
12202
12203
12204 enablestring=
12205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12206 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12207 no_cache=0
12208 # Check whether --enable-accessibility was given.
12209 if test "${enable_accessibility+set}" = set; then
12210 enableval=$enable_accessibility;
12211 if test "$enableval" = yes; then
12212 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12213 else
12214 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12215 fi
12216
12217 else
12218
12219 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
12220 if test "x$LINE" != x ; then
12221 eval "DEFAULT_$LINE"
12222 else
12223 no_cache=1
12224 fi
12225
12226 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12227
12228 fi
12229
12230
12231 eval "$ac_cv_use_accessibility"
12232 if test "$no_cache" != 1; then
12233 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12234 fi
12235
12236 if test "$wxUSE_ACCESSIBILITY" = yes; then
12237 { echo "$as_me:$LINENO: result: yes" >&5
12238 echo "${ECHO_T}yes" >&6; }
12239 else
12240 { echo "$as_me:$LINENO: result: no" >&5
12241 echo "${ECHO_T}no" >&6; }
12242 fi
12243
12244
12245 if test "$wxUSE_MSW" = "1"; then
12246
12247 enablestring=
12248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12250 no_cache=0
12251 # Check whether --enable-dccache was given.
12252 if test "${enable_dccache+set}" = set; then
12253 enableval=$enable_dccache;
12254 if test "$enableval" = yes; then
12255 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12256 else
12257 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12258 fi
12259
12260 else
12261
12262 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
12263 if test "x$LINE" != x ; then
12264 eval "DEFAULT_$LINE"
12265 else
12266 no_cache=1
12267 fi
12268
12269 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12270
12271 fi
12272
12273
12274 eval "$ac_cv_use_dccache"
12275 if test "$no_cache" != 1; then
12276 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12277 fi
12278
12279 if test "$wxUSE_DC_CACHEING" = yes; then
12280 { echo "$as_me:$LINENO: result: yes" >&5
12281 echo "${ECHO_T}yes" >&6; }
12282 else
12283 { echo "$as_me:$LINENO: result: no" >&5
12284 echo "${ECHO_T}no" >&6; }
12285 fi
12286
12287 fi
12288
12289
12290
12291 enablestring=
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12294 no_cache=0
12295 # Check whether --enable-palette was given.
12296 if test "${enable_palette+set}" = set; then
12297 enableval=$enable_palette;
12298 if test "$enableval" = yes; then
12299 ac_cv_use_palette='wxUSE_PALETTE=yes'
12300 else
12301 ac_cv_use_palette='wxUSE_PALETTE=no'
12302 fi
12303
12304 else
12305
12306 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12309 else
12310 no_cache=1
12311 fi
12312
12313 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12314
12315 fi
12316
12317
12318 eval "$ac_cv_use_palette"
12319 if test "$no_cache" != 1; then
12320 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12321 fi
12322
12323 if test "$wxUSE_PALETTE" = yes; then
12324 { echo "$as_me:$LINENO: result: yes" >&5
12325 echo "${ECHO_T}yes" >&6; }
12326 else
12327 { echo "$as_me:$LINENO: result: no" >&5
12328 echo "${ECHO_T}no" >&6; }
12329 fi
12330
12331
12332 enablestring=
12333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12334 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12335 no_cache=0
12336 # Check whether --enable-image was given.
12337 if test "${enable_image+set}" = set; then
12338 enableval=$enable_image;
12339 if test "$enableval" = yes; then
12340 ac_cv_use_image='wxUSE_IMAGE=yes'
12341 else
12342 ac_cv_use_image='wxUSE_IMAGE=no'
12343 fi
12344
12345 else
12346
12347 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
12348 if test "x$LINE" != x ; then
12349 eval "DEFAULT_$LINE"
12350 else
12351 no_cache=1
12352 fi
12353
12354 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12355
12356 fi
12357
12358
12359 eval "$ac_cv_use_image"
12360 if test "$no_cache" != 1; then
12361 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12362 fi
12363
12364 if test "$wxUSE_IMAGE" = yes; then
12365 { echo "$as_me:$LINENO: result: yes" >&5
12366 echo "${ECHO_T}yes" >&6; }
12367 else
12368 { echo "$as_me:$LINENO: result: no" >&5
12369 echo "${ECHO_T}no" >&6; }
12370 fi
12371
12372
12373 enablestring=
12374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12375 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12376 no_cache=0
12377 # Check whether --enable-gif was given.
12378 if test "${enable_gif+set}" = set; then
12379 enableval=$enable_gif;
12380 if test "$enableval" = yes; then
12381 ac_cv_use_gif='wxUSE_GIF=yes'
12382 else
12383 ac_cv_use_gif='wxUSE_GIF=no'
12384 fi
12385
12386 else
12387
12388 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
12389 if test "x$LINE" != x ; then
12390 eval "DEFAULT_$LINE"
12391 else
12392 no_cache=1
12393 fi
12394
12395 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12396
12397 fi
12398
12399
12400 eval "$ac_cv_use_gif"
12401 if test "$no_cache" != 1; then
12402 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12403 fi
12404
12405 if test "$wxUSE_GIF" = yes; then
12406 { echo "$as_me:$LINENO: result: yes" >&5
12407 echo "${ECHO_T}yes" >&6; }
12408 else
12409 { echo "$as_me:$LINENO: result: no" >&5
12410 echo "${ECHO_T}no" >&6; }
12411 fi
12412
12413
12414 enablestring=
12415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12416 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12417 no_cache=0
12418 # Check whether --enable-pcx was given.
12419 if test "${enable_pcx+set}" = set; then
12420 enableval=$enable_pcx;
12421 if test "$enableval" = yes; then
12422 ac_cv_use_pcx='wxUSE_PCX=yes'
12423 else
12424 ac_cv_use_pcx='wxUSE_PCX=no'
12425 fi
12426
12427 else
12428
12429 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
12430 if test "x$LINE" != x ; then
12431 eval "DEFAULT_$LINE"
12432 else
12433 no_cache=1
12434 fi
12435
12436 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12437
12438 fi
12439
12440
12441 eval "$ac_cv_use_pcx"
12442 if test "$no_cache" != 1; then
12443 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12444 fi
12445
12446 if test "$wxUSE_PCX" = yes; then
12447 { echo "$as_me:$LINENO: result: yes" >&5
12448 echo "${ECHO_T}yes" >&6; }
12449 else
12450 { echo "$as_me:$LINENO: result: no" >&5
12451 echo "${ECHO_T}no" >&6; }
12452 fi
12453
12454
12455 enablestring=
12456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12457 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12458 no_cache=0
12459 # Check whether --enable-tga was given.
12460 if test "${enable_tga+set}" = set; then
12461 enableval=$enable_tga;
12462 if test "$enableval" = yes; then
12463 ac_cv_use_tga='wxUSE_TGA=yes'
12464 else
12465 ac_cv_use_tga='wxUSE_TGA=no'
12466 fi
12467
12468 else
12469
12470 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
12471 if test "x$LINE" != x ; then
12472 eval "DEFAULT_$LINE"
12473 else
12474 no_cache=1
12475 fi
12476
12477 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12478
12479 fi
12480
12481
12482 eval "$ac_cv_use_tga"
12483 if test "$no_cache" != 1; then
12484 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12485 fi
12486
12487 if test "$wxUSE_TGA" = yes; then
12488 { echo "$as_me:$LINENO: result: yes" >&5
12489 echo "${ECHO_T}yes" >&6; }
12490 else
12491 { echo "$as_me:$LINENO: result: no" >&5
12492 echo "${ECHO_T}no" >&6; }
12493 fi
12494
12495
12496 enablestring=
12497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12498 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12499 no_cache=0
12500 # Check whether --enable-iff was given.
12501 if test "${enable_iff+set}" = set; then
12502 enableval=$enable_iff;
12503 if test "$enableval" = yes; then
12504 ac_cv_use_iff='wxUSE_IFF=yes'
12505 else
12506 ac_cv_use_iff='wxUSE_IFF=no'
12507 fi
12508
12509 else
12510
12511 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
12512 if test "x$LINE" != x ; then
12513 eval "DEFAULT_$LINE"
12514 else
12515 no_cache=1
12516 fi
12517
12518 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12519
12520 fi
12521
12522
12523 eval "$ac_cv_use_iff"
12524 if test "$no_cache" != 1; then
12525 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12526 fi
12527
12528 if test "$wxUSE_IFF" = yes; then
12529 { echo "$as_me:$LINENO: result: yes" >&5
12530 echo "${ECHO_T}yes" >&6; }
12531 else
12532 { echo "$as_me:$LINENO: result: no" >&5
12533 echo "${ECHO_T}no" >&6; }
12534 fi
12535
12536
12537 enablestring=
12538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12539 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12540 no_cache=0
12541 # Check whether --enable-pnm was given.
12542 if test "${enable_pnm+set}" = set; then
12543 enableval=$enable_pnm;
12544 if test "$enableval" = yes; then
12545 ac_cv_use_pnm='wxUSE_PNM=yes'
12546 else
12547 ac_cv_use_pnm='wxUSE_PNM=no'
12548 fi
12549
12550 else
12551
12552 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
12553 if test "x$LINE" != x ; then
12554 eval "DEFAULT_$LINE"
12555 else
12556 no_cache=1
12557 fi
12558
12559 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12560
12561 fi
12562
12563
12564 eval "$ac_cv_use_pnm"
12565 if test "$no_cache" != 1; then
12566 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12567 fi
12568
12569 if test "$wxUSE_PNM" = yes; then
12570 { echo "$as_me:$LINENO: result: yes" >&5
12571 echo "${ECHO_T}yes" >&6; }
12572 else
12573 { echo "$as_me:$LINENO: result: no" >&5
12574 echo "${ECHO_T}no" >&6; }
12575 fi
12576
12577
12578 enablestring=
12579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12580 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12581 no_cache=0
12582 # Check whether --enable-xpm was given.
12583 if test "${enable_xpm+set}" = set; then
12584 enableval=$enable_xpm;
12585 if test "$enableval" = yes; then
12586 ac_cv_use_xpm='wxUSE_XPM=yes'
12587 else
12588 ac_cv_use_xpm='wxUSE_XPM=no'
12589 fi
12590
12591 else
12592
12593 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
12594 if test "x$LINE" != x ; then
12595 eval "DEFAULT_$LINE"
12596 else
12597 no_cache=1
12598 fi
12599
12600 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12601
12602 fi
12603
12604
12605 eval "$ac_cv_use_xpm"
12606 if test "$no_cache" != 1; then
12607 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12608 fi
12609
12610 if test "$wxUSE_XPM" = yes; then
12611 { echo "$as_me:$LINENO: result: yes" >&5
12612 echo "${ECHO_T}yes" >&6; }
12613 else
12614 { echo "$as_me:$LINENO: result: no" >&5
12615 echo "${ECHO_T}no" >&6; }
12616 fi
12617
12618
12619 enablestring=
12620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12621 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12622 no_cache=0
12623 # Check whether --enable-ico_cur was given.
12624 if test "${enable_ico_cur+set}" = set; then
12625 enableval=$enable_ico_cur;
12626 if test "$enableval" = yes; then
12627 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12628 else
12629 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12630 fi
12631
12632 else
12633
12634 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
12635 if test "x$LINE" != x ; then
12636 eval "DEFAULT_$LINE"
12637 else
12638 no_cache=1
12639 fi
12640
12641 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12642
12643 fi
12644
12645
12646 eval "$ac_cv_use_ico_cur"
12647 if test "$no_cache" != 1; then
12648 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12649 fi
12650
12651 if test "$wxUSE_ICO_CUR" = yes; then
12652 { echo "$as_me:$LINENO: result: yes" >&5
12653 echo "${ECHO_T}yes" >&6; }
12654 else
12655 { echo "$as_me:$LINENO: result: no" >&5
12656 echo "${ECHO_T}no" >&6; }
12657 fi
12658
12659
12660 fi
12661
12662
12663
12664 # Check whether --with-flavour was given.
12665 if test "${with_flavour+set}" = set; then
12666 withval=$with_flavour; WX_FLAVOUR="$withval"
12667 fi
12668
12669
12670
12671
12672 enablestring=
12673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12674 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12675 no_cache=0
12676 # Check whether --enable-official_build was given.
12677 if test "${enable_official_build+set}" = set; then
12678 enableval=$enable_official_build;
12679 if test "$enableval" = yes; then
12680 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12681 else
12682 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12683 fi
12684
12685 else
12686
12687 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
12688 if test "x$LINE" != x ; then
12689 eval "DEFAULT_$LINE"
12690 else
12691 no_cache=1
12692 fi
12693
12694 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12695
12696 fi
12697
12698
12699 eval "$ac_cv_use_official_build"
12700 if test "$no_cache" != 1; then
12701 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12702 fi
12703
12704 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12705 { echo "$as_me:$LINENO: result: yes" >&5
12706 echo "${ECHO_T}yes" >&6; }
12707 else
12708 { echo "$as_me:$LINENO: result: no" >&5
12709 echo "${ECHO_T}no" >&6; }
12710 fi
12711
12712 # Check whether --enable-vendor was given.
12713 if test "${enable_vendor+set}" = set; then
12714 enableval=$enable_vendor; VENDOR="$enableval"
12715 fi
12716
12717 if test "x$VENDOR" = "x"; then
12718 VENDOR="custom"
12719 fi
12720
12721
12722
12723
12724 echo "saving argument cache $wx_arg_cache_file"
12725 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12726
12727
12728
12729 { echo "$as_me:$LINENO: checking for toolkit" >&5
12730 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12731
12732 # In Wine, we need to default to MSW, not GTK or MOTIF
12733 if test "$wxUSE_WINE" = "yes"; then
12734 DEFAULT_DEFAULT_wxUSE_GTK=0
12735 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12736 DEFAULT_DEFAULT_wxUSE_MSW=1
12737 wxUSE_SHARED=no
12738 CC=${CC:-winegcc}
12739 CXX=${CXX:-wineg++}
12740 fi
12741
12742
12743 if test "$wxUSE_GUI" = "yes"; then
12744
12745 if test "$USE_BEOS" = 1; then
12746 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12747 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12748 { (exit 1); exit 1; }; }
12749 fi
12750
12751 if test "$TOOLKIT_GIVEN" = 1; then
12752 for toolkit in `echo $ALL_TOOLKITS`; do
12753 var=wxUSE_$toolkit
12754 eval "value=\$${var}"
12755 if test "x$value" = "xno"; then
12756 eval "$var=0"
12757 elif test "x$value" != "x"; then
12758 eval "$var=1"
12759 fi
12760
12761 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12762 eval "wx${toolkit}_VERSION=$value"
12763 fi
12764 done
12765 else
12766 for toolkit in `echo $ALL_TOOLKITS`; do
12767 if test "$has_toolkit_in_cache" != 1; then
12768 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12769 else
12770 var=DEFAULT_wxUSE_$toolkit
12771
12772 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12773 if test "x$version" != "x"; then
12774 eval "wx${toolkit}_VERSION=$version"
12775 fi
12776 fi
12777 eval "wxUSE_$toolkit=\$${var}"
12778 done
12779 fi
12780
12781 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12782 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12783 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12784
12785 case "${host}" in
12786 *-pc-os2_emx | *-pc-os2-emx )
12787 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12788 esac
12789
12790 case "$NUM_TOOLKITS" in
12791 1)
12792 ;;
12793 0)
12794 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12795 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12796 { (exit 1); exit 1; }; }
12797 ;;
12798 *)
12799 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12800 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12801 { (exit 1); exit 1; }; }
12802 esac
12803
12804 # to be removed when --disable-gtk2 isn't needed
12805 if test "x$wxUSE_GTK2" = "xyes"; then
12806 wxGTK_VERSION=2
12807 elif test "x$wxUSE_GTK2" = "xno"; then
12808 wxGTK_VERSION=1
12809 fi
12810
12811 for toolkit in `echo $ALL_TOOLKITS`; do
12812 var=wxUSE_$toolkit
12813 eval "value=\$${var}"
12814 if test "x$value" != x; then
12815 cache_var=CACHE_$toolkit
12816 eval "cache=\$${cache_var}"
12817 if test "$cache" = 1; then
12818 echo "$var=$value" >> ${wx_arg_cache_file}
12819 eval "version=\$wx${toolkit}_VERSION"
12820 if test "x$version" != "x"; then
12821 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12822 fi
12823 fi
12824 if test "$value" = 1; then
12825 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12826 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12827 echo "${ECHO_T}$toolkit_echo" >&6; }
12828 fi
12829 fi
12830 done
12831 else
12832 if test "x$host_alias" != "x"; then
12833 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12834 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12835 else
12836 { echo "$as_me:$LINENO: result: base only" >&5
12837 echo "${ECHO_T}base only" >&6; }
12838 fi
12839 fi
12840
12841
12842 cat >confcache <<\_ACEOF
12843 # This file is a shell script that caches the results of configure
12844 # tests run on this system so they can be shared between configure
12845 # scripts and configure runs, see configure's option --config-cache.
12846 # It is not useful on other systems. If it contains results you don't
12847 # want to keep, you may remove or edit it.
12848 #
12849 # config.status only pays attention to the cache file if you give it
12850 # the --recheck option to rerun configure.
12851 #
12852 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12853 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12854 # following values.
12855
12856 _ACEOF
12857
12858 # The following way of writing the cache mishandles newlines in values,
12859 # but we know of no workaround that is simple, portable, and efficient.
12860 # So, we kill variables containing newlines.
12861 # Ultrix sh set writes to stderr and can't be redirected directly,
12862 # and sets the high bit in the cache file unless we assign to the vars.
12863 (
12864 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12865 eval ac_val=\$$ac_var
12866 case $ac_val in #(
12867 *${as_nl}*)
12868 case $ac_var in #(
12869 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12870 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12871 esac
12872 case $ac_var in #(
12873 _ | IFS | as_nl) ;; #(
12874 *) $as_unset $ac_var ;;
12875 esac ;;
12876 esac
12877 done
12878
12879 (set) 2>&1 |
12880 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12881 *${as_nl}ac_space=\ *)
12882 # `set' does not quote correctly, so add quotes (double-quote
12883 # substitution turns \\\\ into \\, and sed turns \\ into \).
12884 sed -n \
12885 "s/'/'\\\\''/g;
12886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12887 ;; #(
12888 *)
12889 # `set' quotes correctly as required by POSIX, so do not add quotes.
12890 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12891 ;;
12892 esac |
12893 sort
12894 ) |
12895 sed '
12896 /^ac_cv_env_/b end
12897 t clear
12898 :clear
12899 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12900 t end
12901 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12902 :end' >>confcache
12903 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12904 if test -w "$cache_file"; then
12905 test "x$cache_file" != "x/dev/null" &&
12906 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12907 echo "$as_me: updating cache $cache_file" >&6;}
12908 cat confcache >$cache_file
12909 else
12910 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12911 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12912 fi
12913 fi
12914 rm -f confcache
12915
12916 CFLAGS=${CFLAGS:=}
12917
12918
12919
12920 ac_ext=c
12921 ac_cpp='$CPP $CPPFLAGS'
12922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12925 if test -n "$ac_tool_prefix"; then
12926 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12927 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12930 if test "${ac_cv_prog_CC+set}" = set; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12932 else
12933 if test -n "$CC"; then
12934 ac_cv_prog_CC="$CC" # Let the user override the test.
12935 else
12936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12937 for as_dir in $PATH
12938 do
12939 IFS=$as_save_IFS
12940 test -z "$as_dir" && as_dir=.
12941 for ac_exec_ext in '' $ac_executable_extensions; do
12942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12943 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12945 break 2
12946 fi
12947 done
12948 done
12949 IFS=$as_save_IFS
12950
12951 fi
12952 fi
12953 CC=$ac_cv_prog_CC
12954 if test -n "$CC"; then
12955 { echo "$as_me:$LINENO: result: $CC" >&5
12956 echo "${ECHO_T}$CC" >&6; }
12957 else
12958 { echo "$as_me:$LINENO: result: no" >&5
12959 echo "${ECHO_T}no" >&6; }
12960 fi
12961
12962
12963 fi
12964 if test -z "$ac_cv_prog_CC"; then
12965 ac_ct_CC=$CC
12966 # Extract the first word of "gcc", so it can be a program name with args.
12967 set dummy gcc; ac_word=$2
12968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12970 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12971 echo $ECHO_N "(cached) $ECHO_C" >&6
12972 else
12973 if test -n "$ac_ct_CC"; then
12974 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12975 else
12976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12977 for as_dir in $PATH
12978 do
12979 IFS=$as_save_IFS
12980 test -z "$as_dir" && as_dir=.
12981 for ac_exec_ext in '' $ac_executable_extensions; do
12982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12983 ac_cv_prog_ac_ct_CC="gcc"
12984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12985 break 2
12986 fi
12987 done
12988 done
12989 IFS=$as_save_IFS
12990
12991 fi
12992 fi
12993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12994 if test -n "$ac_ct_CC"; then
12995 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12996 echo "${ECHO_T}$ac_ct_CC" >&6; }
12997 else
12998 { echo "$as_me:$LINENO: result: no" >&5
12999 echo "${ECHO_T}no" >&6; }
13000 fi
13001
13002 if test "x$ac_ct_CC" = x; then
13003 CC=""
13004 else
13005 case $cross_compiling:$ac_tool_warned in
13006 yes:)
13007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13008 whose name does not start with the host triplet. If you think this
13009 configuration is useful to you, please write to autoconf@gnu.org." >&5
13010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13011 whose name does not start with the host triplet. If you think this
13012 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13013 ac_tool_warned=yes ;;
13014 esac
13015 CC=$ac_ct_CC
13016 fi
13017 else
13018 CC="$ac_cv_prog_CC"
13019 fi
13020
13021 if test -z "$CC"; then
13022 if test -n "$ac_tool_prefix"; then
13023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13024 set dummy ${ac_tool_prefix}cc; 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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13040 ac_cv_prog_CC="${ac_tool_prefix}cc"
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 fi
13061 fi
13062 if test -z "$CC"; then
13063 # Extract the first word of "cc", so it can be a program name with args.
13064 set dummy cc; ac_word=$2
13065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13067 if test "${ac_cv_prog_CC+set}" = set; then
13068 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 else
13070 if test -n "$CC"; then
13071 ac_cv_prog_CC="$CC" # Let the user override the test.
13072 else
13073 ac_prog_rejected=no
13074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13075 for as_dir in $PATH
13076 do
13077 IFS=$as_save_IFS
13078 test -z "$as_dir" && as_dir=.
13079 for ac_exec_ext in '' $ac_executable_extensions; do
13080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13082 ac_prog_rejected=yes
13083 continue
13084 fi
13085 ac_cv_prog_CC="cc"
13086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13087 break 2
13088 fi
13089 done
13090 done
13091 IFS=$as_save_IFS
13092
13093 if test $ac_prog_rejected = yes; then
13094 # We found a bogon in the path, so make sure we never use it.
13095 set dummy $ac_cv_prog_CC
13096 shift
13097 if test $# != 0; then
13098 # We chose a different compiler from the bogus one.
13099 # However, it has the same basename, so the bogon will be chosen
13100 # first if we set CC to just the basename; use the full file name.
13101 shift
13102 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13103 fi
13104 fi
13105 fi
13106 fi
13107 CC=$ac_cv_prog_CC
13108 if test -n "$CC"; then
13109 { echo "$as_me:$LINENO: result: $CC" >&5
13110 echo "${ECHO_T}$CC" >&6; }
13111 else
13112 { echo "$as_me:$LINENO: result: no" >&5
13113 echo "${ECHO_T}no" >&6; }
13114 fi
13115
13116
13117 fi
13118 if test -z "$CC"; then
13119 if test -n "$ac_tool_prefix"; then
13120 for ac_prog in cl.exe
13121 do
13122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13126 if test "${ac_cv_prog_CC+set}" = set; then
13127 echo $ECHO_N "(cached) $ECHO_C" >&6
13128 else
13129 if test -n "$CC"; then
13130 ac_cv_prog_CC="$CC" # Let the user override the test.
13131 else
13132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13133 for as_dir in $PATH
13134 do
13135 IFS=$as_save_IFS
13136 test -z "$as_dir" && as_dir=.
13137 for ac_exec_ext in '' $ac_executable_extensions; do
13138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13139 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13141 break 2
13142 fi
13143 done
13144 done
13145 IFS=$as_save_IFS
13146
13147 fi
13148 fi
13149 CC=$ac_cv_prog_CC
13150 if test -n "$CC"; then
13151 { echo "$as_me:$LINENO: result: $CC" >&5
13152 echo "${ECHO_T}$CC" >&6; }
13153 else
13154 { echo "$as_me:$LINENO: result: no" >&5
13155 echo "${ECHO_T}no" >&6; }
13156 fi
13157
13158
13159 test -n "$CC" && break
13160 done
13161 fi
13162 if test -z "$CC"; then
13163 ac_ct_CC=$CC
13164 for ac_prog in cl.exe
13165 do
13166 # Extract the first word of "$ac_prog", so it can be a program name with args.
13167 set dummy $ac_prog; ac_word=$2
13168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 else
13173 if test -n "$ac_ct_CC"; then
13174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13175 else
13176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13177 for as_dir in $PATH
13178 do
13179 IFS=$as_save_IFS
13180 test -z "$as_dir" && as_dir=.
13181 for ac_exec_ext in '' $ac_executable_extensions; do
13182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13183 ac_cv_prog_ac_ct_CC="$ac_prog"
13184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13185 break 2
13186 fi
13187 done
13188 done
13189 IFS=$as_save_IFS
13190
13191 fi
13192 fi
13193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13194 if test -n "$ac_ct_CC"; then
13195 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13196 echo "${ECHO_T}$ac_ct_CC" >&6; }
13197 else
13198 { echo "$as_me:$LINENO: result: no" >&5
13199 echo "${ECHO_T}no" >&6; }
13200 fi
13201
13202
13203 test -n "$ac_ct_CC" && break
13204 done
13205
13206 if test "x$ac_ct_CC" = x; then
13207 CC=""
13208 else
13209 case $cross_compiling:$ac_tool_warned in
13210 yes:)
13211 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13212 whose name does not start with the host triplet. If you think this
13213 configuration is useful to you, please write to autoconf@gnu.org." >&5
13214 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13215 whose name does not start with the host triplet. If you think this
13216 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13217 ac_tool_warned=yes ;;
13218 esac
13219 CC=$ac_ct_CC
13220 fi
13221 fi
13222
13223 fi
13224
13225
13226 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13227 See \`config.log' for more details." >&5
13228 echo "$as_me: error: no acceptable C compiler found in \$PATH
13229 See \`config.log' for more details." >&2;}
13230 { (exit 1); exit 1; }; }
13231
13232 # Provide some information about the compiler.
13233 echo "$as_me:$LINENO: checking for C compiler version" >&5
13234 ac_compiler=`set X $ac_compile; echo $2`
13235 { (ac_try="$ac_compiler --version >&5"
13236 case "(($ac_try" in
13237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13238 *) ac_try_echo=$ac_try;;
13239 esac
13240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13241 (eval "$ac_compiler --version >&5") 2>&5
13242 ac_status=$?
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); }
13245 { (ac_try="$ac_compiler -v >&5"
13246 case "(($ac_try" in
13247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13248 *) ac_try_echo=$ac_try;;
13249 esac
13250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13251 (eval "$ac_compiler -v >&5") 2>&5
13252 ac_status=$?
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }
13255 { (ac_try="$ac_compiler -V >&5"
13256 case "(($ac_try" in
13257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13258 *) ac_try_echo=$ac_try;;
13259 esac
13260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13261 (eval "$ac_compiler -V >&5") 2>&5
13262 ac_status=$?
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }
13265
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272
13273 int
13274 main ()
13275 {
13276
13277 ;
13278 return 0;
13279 }
13280 _ACEOF
13281 ac_clean_files_save=$ac_clean_files
13282 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13283 # Try to create an executable without -o first, disregard a.out.
13284 # It will help us diagnose broken compilers, and finding out an intuition
13285 # of exeext.
13286 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13287 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13288 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13289 #
13290 # List of possible output files, starting from the most likely.
13291 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13292 # only as a last resort. b.out is created by i960 compilers.
13293 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13294 #
13295 # The IRIX 6 linker writes into existing files which may not be
13296 # executable, retaining their permissions. Remove them first so a
13297 # subsequent execution test works.
13298 ac_rmfiles=
13299 for ac_file in $ac_files
13300 do
13301 case $ac_file in
13302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13303 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13304 esac
13305 done
13306 rm -f $ac_rmfiles
13307
13308 if { (ac_try="$ac_link_default"
13309 case "(($ac_try" in
13310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13311 *) ac_try_echo=$ac_try;;
13312 esac
13313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13314 (eval "$ac_link_default") 2>&5
13315 ac_status=$?
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); }; then
13318 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13319 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13320 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13321 # so that the user can short-circuit this test for compilers unknown to
13322 # Autoconf.
13323 for ac_file in $ac_files ''
13324 do
13325 test -f "$ac_file" || continue
13326 case $ac_file in
13327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13328 ;;
13329 [ab].out )
13330 # We found the default executable, but exeext='' is most
13331 # certainly right.
13332 break;;
13333 *.* )
13334 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13335 then :; else
13336 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13337 fi
13338 # We set ac_cv_exeext here because the later test for it is not
13339 # safe: cross compilers may not add the suffix if given an `-o'
13340 # argument, so we may need to know it at that point already.
13341 # Even if this section looks crufty: it has the advantage of
13342 # actually working.
13343 break;;
13344 * )
13345 break;;
13346 esac
13347 done
13348 test "$ac_cv_exeext" = no && ac_cv_exeext=
13349
13350 else
13351 ac_file=''
13352 fi
13353
13354 { echo "$as_me:$LINENO: result: $ac_file" >&5
13355 echo "${ECHO_T}$ac_file" >&6; }
13356 if test -z "$ac_file"; then
13357 echo "$as_me: failed program was:" >&5
13358 sed 's/^/| /' conftest.$ac_ext >&5
13359
13360 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13361 See \`config.log' for more details." >&5
13362 echo "$as_me: error: C compiler cannot create executables
13363 See \`config.log' for more details." >&2;}
13364 { (exit 77); exit 77; }; }
13365 fi
13366
13367 ac_exeext=$ac_cv_exeext
13368
13369 # Check that the compiler produces executables we can run. If not, either
13370 # the compiler is broken, or we cross compile.
13371 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13372 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13373 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13374 # If not cross compiling, check that we can run a simple program.
13375 if test "$cross_compiling" != yes; then
13376 if { ac_try='./$ac_file'
13377 { (case "(($ac_try" in
13378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13379 *) ac_try_echo=$ac_try;;
13380 esac
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 (eval "$ac_try") 2>&5
13383 ac_status=$?
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 cross_compiling=no
13387 else
13388 if test "$cross_compiling" = maybe; then
13389 cross_compiling=yes
13390 else
13391 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13392 If you meant to cross compile, use \`--host'.
13393 See \`config.log' for more details." >&5
13394 echo "$as_me: error: cannot run C compiled programs.
13395 If you meant to cross compile, use \`--host'.
13396 See \`config.log' for more details." >&2;}
13397 { (exit 1); exit 1; }; }
13398 fi
13399 fi
13400 fi
13401 { echo "$as_me:$LINENO: result: yes" >&5
13402 echo "${ECHO_T}yes" >&6; }
13403
13404 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13405 ac_clean_files=$ac_clean_files_save
13406 # Check that the compiler produces executables we can run. If not, either
13407 # the compiler is broken, or we cross compile.
13408 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13409 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13410 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13411 echo "${ECHO_T}$cross_compiling" >&6; }
13412
13413 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13414 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13415 if { (ac_try="$ac_link"
13416 case "(($ac_try" in
13417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13418 *) ac_try_echo=$ac_try;;
13419 esac
13420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13421 (eval "$ac_link") 2>&5
13422 ac_status=$?
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; then
13425 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13426 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13427 # work properly (i.e., refer to `conftest.exe'), while it won't with
13428 # `rm'.
13429 for ac_file in conftest.exe conftest conftest.*; do
13430 test -f "$ac_file" || continue
13431 case $ac_file in
13432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13433 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13434 break;;
13435 * ) break;;
13436 esac
13437 done
13438 else
13439 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13440 See \`config.log' for more details." >&5
13441 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13442 See \`config.log' for more details." >&2;}
13443 { (exit 1); exit 1; }; }
13444 fi
13445
13446 rm -f conftest$ac_cv_exeext
13447 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13448 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13449
13450 rm -f conftest.$ac_ext
13451 EXEEXT=$ac_cv_exeext
13452 ac_exeext=$EXEEXT
13453 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13455 if test "${ac_cv_objext+set}" = set; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13457 else
13458 cat >conftest.$ac_ext <<_ACEOF
13459 /* confdefs.h. */
13460 _ACEOF
13461 cat confdefs.h >>conftest.$ac_ext
13462 cat >>conftest.$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13464
13465 int
13466 main ()
13467 {
13468
13469 ;
13470 return 0;
13471 }
13472 _ACEOF
13473 rm -f conftest.o conftest.obj
13474 if { (ac_try="$ac_compile"
13475 case "(($ac_try" in
13476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13477 *) ac_try_echo=$ac_try;;
13478 esac
13479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13480 (eval "$ac_compile") 2>&5
13481 ac_status=$?
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; then
13484 for ac_file in conftest.o conftest.obj conftest.*; do
13485 test -f "$ac_file" || continue;
13486 case $ac_file in
13487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13488 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13489 break;;
13490 esac
13491 done
13492 else
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.$ac_ext >&5
13495
13496 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13497 See \`config.log' for more details." >&5
13498 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13499 See \`config.log' for more details." >&2;}
13500 { (exit 1); exit 1; }; }
13501 fi
13502
13503 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13504 fi
13505 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13506 echo "${ECHO_T}$ac_cv_objext" >&6; }
13507 OBJEXT=$ac_cv_objext
13508 ac_objext=$OBJEXT
13509 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13510 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13511 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13512 echo $ECHO_N "(cached) $ECHO_C" >&6
13513 else
13514 cat >conftest.$ac_ext <<_ACEOF
13515 /* confdefs.h. */
13516 _ACEOF
13517 cat confdefs.h >>conftest.$ac_ext
13518 cat >>conftest.$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13520
13521 int
13522 main ()
13523 {
13524 #ifndef __GNUC__
13525 choke me
13526 #endif
13527
13528 ;
13529 return 0;
13530 }
13531 _ACEOF
13532 rm -f conftest.$ac_objext
13533 if { (ac_try="$ac_compile"
13534 case "(($ac_try" in
13535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13536 *) ac_try_echo=$ac_try;;
13537 esac
13538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13539 (eval "$ac_compile") 2>conftest.er1
13540 ac_status=$?
13541 grep -v '^ *+' conftest.er1 >conftest.err
13542 rm -f conftest.er1
13543 cat conftest.err >&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); } && {
13546 test -z "$ac_c_werror_flag" ||
13547 test ! -s conftest.err
13548 } && test -s conftest.$ac_objext; then
13549 ac_compiler_gnu=yes
13550 else
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13553
13554 ac_compiler_gnu=no
13555 fi
13556
13557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13558 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13559
13560 fi
13561 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13562 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13563 GCC=`test $ac_compiler_gnu = yes && echo yes`
13564 ac_test_CFLAGS=${CFLAGS+set}
13565 ac_save_CFLAGS=$CFLAGS
13566 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13567 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13568 if test "${ac_cv_prog_cc_g+set}" = set; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13570 else
13571 ac_save_c_werror_flag=$ac_c_werror_flag
13572 ac_c_werror_flag=yes
13573 ac_cv_prog_cc_g=no
13574 CFLAGS="-g"
13575 cat >conftest.$ac_ext <<_ACEOF
13576 /* confdefs.h. */
13577 _ACEOF
13578 cat confdefs.h >>conftest.$ac_ext
13579 cat >>conftest.$ac_ext <<_ACEOF
13580 /* end confdefs.h. */
13581
13582 int
13583 main ()
13584 {
13585
13586 ;
13587 return 0;
13588 }
13589 _ACEOF
13590 rm -f conftest.$ac_objext
13591 if { (ac_try="$ac_compile"
13592 case "(($ac_try" in
13593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13594 *) ac_try_echo=$ac_try;;
13595 esac
13596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13597 (eval "$ac_compile") 2>conftest.er1
13598 ac_status=$?
13599 grep -v '^ *+' conftest.er1 >conftest.err
13600 rm -f conftest.er1
13601 cat conftest.err >&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } && {
13604 test -z "$ac_c_werror_flag" ||
13605 test ! -s conftest.err
13606 } && test -s conftest.$ac_objext; then
13607 ac_cv_prog_cc_g=yes
13608 else
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.$ac_ext >&5
13611
13612 CFLAGS=""
13613 cat >conftest.$ac_ext <<_ACEOF
13614 /* confdefs.h. */
13615 _ACEOF
13616 cat confdefs.h >>conftest.$ac_ext
13617 cat >>conftest.$ac_ext <<_ACEOF
13618 /* end confdefs.h. */
13619
13620 int
13621 main ()
13622 {
13623
13624 ;
13625 return 0;
13626 }
13627 _ACEOF
13628 rm -f conftest.$ac_objext
13629 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
13636 ac_status=$?
13637 grep -v '^ *+' conftest.er1 >conftest.err
13638 rm -f conftest.er1
13639 cat conftest.err >&5
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); } && {
13642 test -z "$ac_c_werror_flag" ||
13643 test ! -s conftest.err
13644 } && test -s conftest.$ac_objext; then
13645 :
13646 else
13647 echo "$as_me: failed program was:" >&5
13648 sed 's/^/| /' conftest.$ac_ext >&5
13649
13650 ac_c_werror_flag=$ac_save_c_werror_flag
13651 CFLAGS="-g"
13652 cat >conftest.$ac_ext <<_ACEOF
13653 /* confdefs.h. */
13654 _ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13658
13659 int
13660 main ()
13661 {
13662
13663 ;
13664 return 0;
13665 }
13666 _ACEOF
13667 rm -f conftest.$ac_objext
13668 if { (ac_try="$ac_compile"
13669 case "(($ac_try" in
13670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13671 *) ac_try_echo=$ac_try;;
13672 esac
13673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13674 (eval "$ac_compile") 2>conftest.er1
13675 ac_status=$?
13676 grep -v '^ *+' conftest.er1 >conftest.err
13677 rm -f conftest.er1
13678 cat conftest.err >&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } && {
13681 test -z "$ac_c_werror_flag" ||
13682 test ! -s conftest.err
13683 } && test -s conftest.$ac_objext; then
13684 ac_cv_prog_cc_g=yes
13685 else
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.$ac_ext >&5
13688
13689
13690 fi
13691
13692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13693 fi
13694
13695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13696 fi
13697
13698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13699 ac_c_werror_flag=$ac_save_c_werror_flag
13700 fi
13701 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13702 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13703 if test "$ac_test_CFLAGS" = set; then
13704 CFLAGS=$ac_save_CFLAGS
13705 elif test $ac_cv_prog_cc_g = yes; then
13706 if test "$GCC" = yes; then
13707 CFLAGS="-g -O2"
13708 else
13709 CFLAGS="-g"
13710 fi
13711 else
13712 if test "$GCC" = yes; then
13713 CFLAGS="-O2"
13714 else
13715 CFLAGS=
13716 fi
13717 fi
13718 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13719 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13720 if test "${ac_cv_prog_cc_c89+set}" = set; then
13721 echo $ECHO_N "(cached) $ECHO_C" >&6
13722 else
13723 ac_cv_prog_cc_c89=no
13724 ac_save_CC=$CC
13725 cat >conftest.$ac_ext <<_ACEOF
13726 /* confdefs.h. */
13727 _ACEOF
13728 cat confdefs.h >>conftest.$ac_ext
13729 cat >>conftest.$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 #include <stdarg.h>
13732 #include <stdio.h>
13733 #include <sys/types.h>
13734 #include <sys/stat.h>
13735 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13736 struct buf { int x; };
13737 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13738 static char *e (p, i)
13739 char **p;
13740 int i;
13741 {
13742 return p[i];
13743 }
13744 static char *f (char * (*g) (char **, int), char **p, ...)
13745 {
13746 char *s;
13747 va_list v;
13748 va_start (v,p);
13749 s = g (p, va_arg (v,int));
13750 va_end (v);
13751 return s;
13752 }
13753
13754 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13755 function prototypes and stuff, but not '\xHH' hex character constants.
13756 These don't provoke an error unfortunately, instead are silently treated
13757 as 'x'. The following induces an error, until -std is added to get
13758 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13759 array size at least. It's necessary to write '\x00'==0 to get something
13760 that's true only with -std. */
13761 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13762
13763 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13764 inside strings and character constants. */
13765 #define FOO(x) 'x'
13766 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13767
13768 int test (int i, double x);
13769 struct s1 {int (*f) (int a);};
13770 struct s2 {int (*f) (double a);};
13771 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13772 int argc;
13773 char **argv;
13774 int
13775 main ()
13776 {
13777 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13778 ;
13779 return 0;
13780 }
13781 _ACEOF
13782 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13783 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13784 do
13785 CC="$ac_save_CC $ac_arg"
13786 rm -f conftest.$ac_objext
13787 if { (ac_try="$ac_compile"
13788 case "(($ac_try" in
13789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13790 *) ac_try_echo=$ac_try;;
13791 esac
13792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13793 (eval "$ac_compile") 2>conftest.er1
13794 ac_status=$?
13795 grep -v '^ *+' conftest.er1 >conftest.err
13796 rm -f conftest.er1
13797 cat conftest.err >&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); } && {
13800 test -z "$ac_c_werror_flag" ||
13801 test ! -s conftest.err
13802 } && test -s conftest.$ac_objext; then
13803 ac_cv_prog_cc_c89=$ac_arg
13804 else
13805 echo "$as_me: failed program was:" >&5
13806 sed 's/^/| /' conftest.$ac_ext >&5
13807
13808
13809 fi
13810
13811 rm -f core conftest.err conftest.$ac_objext
13812 test "x$ac_cv_prog_cc_c89" != "xno" && break
13813 done
13814 rm -f conftest.$ac_ext
13815 CC=$ac_save_CC
13816
13817 fi
13818 # AC_CACHE_VAL
13819 case "x$ac_cv_prog_cc_c89" in
13820 x)
13821 { echo "$as_me:$LINENO: result: none needed" >&5
13822 echo "${ECHO_T}none needed" >&6; } ;;
13823 xno)
13824 { echo "$as_me:$LINENO: result: unsupported" >&5
13825 echo "${ECHO_T}unsupported" >&6; } ;;
13826 *)
13827 CC="$CC $ac_cv_prog_cc_c89"
13828 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13829 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13830 esac
13831
13832
13833 ac_ext=c
13834 ac_cpp='$CPP $CPPFLAGS'
13835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13838
13839
13840
13841 ac_ext=c
13842 ac_cpp='$CPP $CPPFLAGS'
13843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13846
13847 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13848 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13849 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13850 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 else
13852 cat >conftest.$ac_ext <<_ACEOF
13853 /* confdefs.h. */
13854 _ACEOF
13855 cat confdefs.h >>conftest.$ac_ext
13856 cat >>conftest.$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13858
13859 int
13860 main ()
13861 {
13862
13863 #ifndef __INTEL_COMPILER
13864 choke me
13865 #endif
13866
13867 ;
13868 return 0;
13869 }
13870 _ACEOF
13871 rm -f conftest.$ac_objext
13872 if { (ac_try="$ac_compile"
13873 case "(($ac_try" in
13874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13875 *) ac_try_echo=$ac_try;;
13876 esac
13877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13878 (eval "$ac_compile") 2>conftest.er1
13879 ac_status=$?
13880 grep -v '^ *+' conftest.er1 >conftest.err
13881 rm -f conftest.er1
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); } && {
13885 test -z "$ac_c_werror_flag" ||
13886 test ! -s conftest.err
13887 } && test -s conftest.$ac_objext; then
13888 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13889 else
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13892
13893 bakefile_cv_c_compiler___INTEL_COMPILER=no
13894
13895 fi
13896
13897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13898
13899
13900 fi
13901 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13902 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13903 ac_ext=c
13904 ac_cpp='$CPP $CPPFLAGS'
13905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13908
13909 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13910 :; INTELCC=yes
13911 else
13912 :;
13913 fi
13914
13915
13916 if test "x$GCC" != "xyes"; then
13917 if test "xCC" = "xC"; then
13918 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13919 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13920 if test "${bakefile_cv_c_exto+set}" = set; then
13921 echo $ECHO_N "(cached) $ECHO_C" >&6
13922 else
13923 cat >conftest.$ac_ext <<_ACEOF
13924 /* confdefs.h. */
13925 _ACEOF
13926 cat confdefs.h >>conftest.$ac_ext
13927 cat >>conftest.$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13929
13930 int
13931 main ()
13932 {
13933
13934 ;
13935 return 0;
13936 }
13937 _ACEOF
13938 rm -f conftest.$ac_objext conftest.$ac_ext.o
13939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13940 (eval $ac_compile) 2>&5
13941 ac_status=$?
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); }; then
13944 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13945 case $ac_file in
13946 conftest.$ac_ext.o)
13947 bakefile_cv_c_exto="-ext o"
13948 ;;
13949 *)
13950 ;;
13951 esac
13952 done
13953 else
13954 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13955 See \`config.log' for more details." >&5
13956 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13957 See \`config.log' for more details." >&2;}
13958 { (exit 1); exit 1; }; }
13959
13960 fi
13961
13962 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13963
13964 fi
13965 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13966 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13967 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13968 if test "c" = "c"; then
13969 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13970 fi
13971 if test "c" = "cxx"; then
13972 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13973 fi
13974 fi
13975
13976 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13977 unset ac_cv_prog_cc_g
13978 ac_test_CFLAGS=${CFLAGS+set}
13979 ac_save_CFLAGS=$CFLAGS
13980 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13981 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13982 if test "${ac_cv_prog_cc_g+set}" = set; then
13983 echo $ECHO_N "(cached) $ECHO_C" >&6
13984 else
13985 ac_save_c_werror_flag=$ac_c_werror_flag
13986 ac_c_werror_flag=yes
13987 ac_cv_prog_cc_g=no
13988 CFLAGS="-g"
13989 cat >conftest.$ac_ext <<_ACEOF
13990 /* confdefs.h. */
13991 _ACEOF
13992 cat confdefs.h >>conftest.$ac_ext
13993 cat >>conftest.$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13995
13996 int
13997 main ()
13998 {
13999
14000 ;
14001 return 0;
14002 }
14003 _ACEOF
14004 rm -f conftest.$ac_objext
14005 if { (ac_try="$ac_compile"
14006 case "(($ac_try" in
14007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14008 *) ac_try_echo=$ac_try;;
14009 esac
14010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14011 (eval "$ac_compile") 2>conftest.er1
14012 ac_status=$?
14013 grep -v '^ *+' conftest.er1 >conftest.err
14014 rm -f conftest.er1
14015 cat conftest.err >&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } && {
14018 test -z "$ac_c_werror_flag" ||
14019 test ! -s conftest.err
14020 } && test -s conftest.$ac_objext; then
14021 ac_cv_prog_cc_g=yes
14022 else
14023 echo "$as_me: failed program was:" >&5
14024 sed 's/^/| /' conftest.$ac_ext >&5
14025
14026 CFLAGS=""
14027 cat >conftest.$ac_ext <<_ACEOF
14028 /* confdefs.h. */
14029 _ACEOF
14030 cat confdefs.h >>conftest.$ac_ext
14031 cat >>conftest.$ac_ext <<_ACEOF
14032 /* end confdefs.h. */
14033
14034 int
14035 main ()
14036 {
14037
14038 ;
14039 return 0;
14040 }
14041 _ACEOF
14042 rm -f conftest.$ac_objext
14043 if { (ac_try="$ac_compile"
14044 case "(($ac_try" in
14045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14046 *) ac_try_echo=$ac_try;;
14047 esac
14048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14049 (eval "$ac_compile") 2>conftest.er1
14050 ac_status=$?
14051 grep -v '^ *+' conftest.er1 >conftest.err
14052 rm -f conftest.er1
14053 cat conftest.err >&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); } && {
14056 test -z "$ac_c_werror_flag" ||
14057 test ! -s conftest.err
14058 } && test -s conftest.$ac_objext; then
14059 :
14060 else
14061 echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.$ac_ext >&5
14063
14064 ac_c_werror_flag=$ac_save_c_werror_flag
14065 CFLAGS="-g"
14066 cat >conftest.$ac_ext <<_ACEOF
14067 /* confdefs.h. */
14068 _ACEOF
14069 cat confdefs.h >>conftest.$ac_ext
14070 cat >>conftest.$ac_ext <<_ACEOF
14071 /* end confdefs.h. */
14072
14073 int
14074 main ()
14075 {
14076
14077 ;
14078 return 0;
14079 }
14080 _ACEOF
14081 rm -f conftest.$ac_objext
14082 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
14089 ac_status=$?
14090 grep -v '^ *+' conftest.er1 >conftest.err
14091 rm -f conftest.er1
14092 cat conftest.err >&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } && {
14095 test -z "$ac_c_werror_flag" ||
14096 test ! -s conftest.err
14097 } && test -s conftest.$ac_objext; then
14098 ac_cv_prog_cc_g=yes
14099 else
14100 echo "$as_me: failed program was:" >&5
14101 sed 's/^/| /' conftest.$ac_ext >&5
14102
14103
14104 fi
14105
14106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14107 fi
14108
14109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14110 fi
14111
14112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14113 ac_c_werror_flag=$ac_save_c_werror_flag
14114 fi
14115 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14116 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14117 if test "$ac_test_CFLAGS" = set; then
14118 CFLAGS=$ac_save_CFLAGS
14119 elif test $ac_cv_prog_cc_g = yes; then
14120 if test "$GCC" = yes; then
14121 CFLAGS="-g -O2"
14122 else
14123 CFLAGS="-g"
14124 fi
14125 else
14126 if test "$GCC" = yes; then
14127 CFLAGS="-O2"
14128 else
14129 CFLAGS=
14130 fi
14131 fi
14132 fi
14133 fi
14134
14135 case `uname -s` in
14136 AIX*)
14137 ac_ext=c
14138 ac_cpp='$CPP $CPPFLAGS'
14139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14142
14143 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14144 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14145 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 else
14148 cat >conftest.$ac_ext <<_ACEOF
14149 /* confdefs.h. */
14150 _ACEOF
14151 cat confdefs.h >>conftest.$ac_ext
14152 cat >>conftest.$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14154
14155 int
14156 main ()
14157 {
14158 #ifndef __xlC__
14159 choke me
14160 #endif
14161
14162 ;
14163 return 0;
14164 }
14165 _ACEOF
14166 rm -f conftest.$ac_objext
14167 if { (ac_try="$ac_compile"
14168 case "(($ac_try" in
14169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14170 *) ac_try_echo=$ac_try;;
14171 esac
14172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14173 (eval "$ac_compile") 2>conftest.er1
14174 ac_status=$?
14175 grep -v '^ *+' conftest.er1 >conftest.err
14176 rm -f conftest.er1
14177 cat conftest.err >&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } && {
14180 test -z "$ac_c_werror_flag" ||
14181 test ! -s conftest.err
14182 } && test -s conftest.$ac_objext; then
14183 bakefile_compiler_xlc=yes
14184 else
14185 echo "$as_me: failed program was:" >&5
14186 sed 's/^/| /' conftest.$ac_ext >&5
14187
14188 bakefile_compiler_xlc=no
14189 fi
14190
14191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14192 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14193
14194 fi
14195 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14196 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14197
14198 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14199 ac_ext=c
14200 ac_cpp='$CPP $CPPFLAGS'
14201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14204
14205
14206 ;;
14207
14208 Darwin)
14209 ac_ext=c
14210 ac_cpp='$CPP $CPPFLAGS'
14211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14214
14215 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14216 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14217 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14218 echo $ECHO_N "(cached) $ECHO_C" >&6
14219 else
14220 cat >conftest.$ac_ext <<_ACEOF
14221 /* confdefs.h. */
14222 _ACEOF
14223 cat confdefs.h >>conftest.$ac_ext
14224 cat >>conftest.$ac_ext <<_ACEOF
14225 /* end confdefs.h. */
14226
14227 int
14228 main ()
14229 {
14230 #ifndef __MWERKS__
14231 choke me
14232 #endif
14233
14234 ;
14235 return 0;
14236 }
14237 _ACEOF
14238 rm -f conftest.$ac_objext
14239 if { (ac_try="$ac_compile"
14240 case "(($ac_try" in
14241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14242 *) ac_try_echo=$ac_try;;
14243 esac
14244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14245 (eval "$ac_compile") 2>conftest.er1
14246 ac_status=$?
14247 grep -v '^ *+' conftest.er1 >conftest.err
14248 rm -f conftest.er1
14249 cat conftest.err >&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } && {
14252 test -z "$ac_c_werror_flag" ||
14253 test ! -s conftest.err
14254 } && test -s conftest.$ac_objext; then
14255 bakefile_compiler_mwerks=yes
14256 else
14257 echo "$as_me: failed program was:" >&5
14258 sed 's/^/| /' conftest.$ac_ext >&5
14259
14260 bakefile_compiler_mwerks=no
14261 fi
14262
14263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14264 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14265
14266 fi
14267 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14268 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14269
14270 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14271 ac_ext=c
14272 ac_cpp='$CPP $CPPFLAGS'
14273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14276
14277
14278 ac_ext=c
14279 ac_cpp='$CPP $CPPFLAGS'
14280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14283
14284 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14285 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14286 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14287 echo $ECHO_N "(cached) $ECHO_C" >&6
14288 else
14289 cat >conftest.$ac_ext <<_ACEOF
14290 /* confdefs.h. */
14291 _ACEOF
14292 cat confdefs.h >>conftest.$ac_ext
14293 cat >>conftest.$ac_ext <<_ACEOF
14294 /* end confdefs.h. */
14295
14296 int
14297 main ()
14298 {
14299 #ifndef __xlC__
14300 choke me
14301 #endif
14302
14303 ;
14304 return 0;
14305 }
14306 _ACEOF
14307 rm -f conftest.$ac_objext
14308 if { (ac_try="$ac_compile"
14309 case "(($ac_try" in
14310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14311 *) ac_try_echo=$ac_try;;
14312 esac
14313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14314 (eval "$ac_compile") 2>conftest.er1
14315 ac_status=$?
14316 grep -v '^ *+' conftest.er1 >conftest.err
14317 rm -f conftest.er1
14318 cat conftest.err >&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } && {
14321 test -z "$ac_c_werror_flag" ||
14322 test ! -s conftest.err
14323 } && test -s conftest.$ac_objext; then
14324 bakefile_compiler_xlc=yes
14325 else
14326 echo "$as_me: failed program was:" >&5
14327 sed 's/^/| /' conftest.$ac_ext >&5
14328
14329 bakefile_compiler_xlc=no
14330 fi
14331
14332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14333 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14334
14335 fi
14336 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14337 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14338
14339 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14340 ac_ext=c
14341 ac_cpp='$CPP $CPPFLAGS'
14342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14345
14346
14347 ;;
14348
14349 IRIX*)
14350
14351
14352 ac_ext=c
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14357
14358 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14359 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14360 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14362 else
14363 cat >conftest.$ac_ext <<_ACEOF
14364 /* confdefs.h. */
14365 _ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14369
14370 int
14371 main ()
14372 {
14373
14374 #ifndef _SGI_COMPILER_VERSION
14375 choke me
14376 #endif
14377
14378 ;
14379 return 0;
14380 }
14381 _ACEOF
14382 rm -f conftest.$ac_objext
14383 if { (ac_try="$ac_compile"
14384 case "(($ac_try" in
14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14386 *) ac_try_echo=$ac_try;;
14387 esac
14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14389 (eval "$ac_compile") 2>conftest.er1
14390 ac_status=$?
14391 grep -v '^ *+' conftest.er1 >conftest.err
14392 rm -f conftest.er1
14393 cat conftest.err >&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); } && {
14396 test -z "$ac_c_werror_flag" ||
14397 test ! -s conftest.err
14398 } && test -s conftest.$ac_objext; then
14399 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14400 else
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.$ac_ext >&5
14403
14404 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14405
14406 fi
14407
14408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14409
14410
14411 fi
14412 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14413 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14414 ac_ext=c
14415 ac_cpp='$CPP $CPPFLAGS'
14416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14419
14420 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14421 :; SGICC=yes
14422 else
14423 :;
14424 fi
14425
14426
14427 ;;
14428
14429 HP-UX*)
14430
14431
14432 ac_ext=c
14433 ac_cpp='$CPP $CPPFLAGS'
14434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14437
14438 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14439 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14440 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14441 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 else
14443 cat >conftest.$ac_ext <<_ACEOF
14444 /* confdefs.h. */
14445 _ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449
14450 int
14451 main ()
14452 {
14453
14454 #ifndef __HP_cc
14455 choke me
14456 #endif
14457
14458 ;
14459 return 0;
14460 }
14461 _ACEOF
14462 rm -f conftest.$ac_objext
14463 if { (ac_try="$ac_compile"
14464 case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14467 esac
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469 (eval "$ac_compile") 2>conftest.er1
14470 ac_status=$?
14471 grep -v '^ *+' conftest.er1 >conftest.err
14472 rm -f conftest.er1
14473 cat conftest.err >&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } && {
14476 test -z "$ac_c_werror_flag" ||
14477 test ! -s conftest.err
14478 } && test -s conftest.$ac_objext; then
14479 bakefile_cv_c_compiler___HP_cc=yes
14480 else
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14483
14484 bakefile_cv_c_compiler___HP_cc=no
14485
14486 fi
14487
14488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14489
14490
14491 fi
14492 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14493 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14494 ac_ext=c
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14499
14500 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14501 :; HPCC=yes
14502 else
14503 :;
14504 fi
14505
14506
14507 ;;
14508
14509 OSF1)
14510
14511
14512 ac_ext=c
14513 ac_cpp='$CPP $CPPFLAGS'
14514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14517
14518 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14519 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14520 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14521 echo $ECHO_N "(cached) $ECHO_C" >&6
14522 else
14523 cat >conftest.$ac_ext <<_ACEOF
14524 /* confdefs.h. */
14525 _ACEOF
14526 cat confdefs.h >>conftest.$ac_ext
14527 cat >>conftest.$ac_ext <<_ACEOF
14528 /* end confdefs.h. */
14529
14530 int
14531 main ()
14532 {
14533
14534 #ifndef __DECC
14535 choke me
14536 #endif
14537
14538 ;
14539 return 0;
14540 }
14541 _ACEOF
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14547 esac
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 bakefile_cv_c_compiler___DECC=yes
14560 else
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14563
14564 bakefile_cv_c_compiler___DECC=no
14565
14566 fi
14567
14568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14569
14570
14571 fi
14572 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14573 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14574 ac_ext=c
14575 ac_cpp='$CPP $CPPFLAGS'
14576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14579
14580 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14581 :; COMPAQCC=yes
14582 else
14583 :;
14584 fi
14585
14586
14587 ;;
14588
14589 SunOS)
14590
14591
14592 ac_ext=c
14593 ac_cpp='$CPP $CPPFLAGS'
14594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14597
14598 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14599 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14600 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14602 else
14603 cat >conftest.$ac_ext <<_ACEOF
14604 /* confdefs.h. */
14605 _ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14609
14610 int
14611 main ()
14612 {
14613
14614 #ifndef __SUNPRO_C
14615 choke me
14616 #endif
14617
14618 ;
14619 return 0;
14620 }
14621 _ACEOF
14622 rm -f conftest.$ac_objext
14623 if { (ac_try="$ac_compile"
14624 case "(($ac_try" in
14625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14626 *) ac_try_echo=$ac_try;;
14627 esac
14628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14629 (eval "$ac_compile") 2>conftest.er1
14630 ac_status=$?
14631 grep -v '^ *+' conftest.er1 >conftest.err
14632 rm -f conftest.er1
14633 cat conftest.err >&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } && {
14636 test -z "$ac_c_werror_flag" ||
14637 test ! -s conftest.err
14638 } && test -s conftest.$ac_objext; then
14639 bakefile_cv_c_compiler___SUNPRO_C=yes
14640 else
14641 echo "$as_me: failed program was:" >&5
14642 sed 's/^/| /' conftest.$ac_ext >&5
14643
14644 bakefile_cv_c_compiler___SUNPRO_C=no
14645
14646 fi
14647
14648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14649
14650
14651 fi
14652 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14653 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14654 ac_ext=c
14655 ac_cpp='$CPP $CPPFLAGS'
14656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14659
14660 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14661 :; SUNCC=yes
14662 else
14663 :;
14664 fi
14665
14666
14667 ;;
14668 esac
14669 fi
14670
14671
14672
14673 ac_ext=c
14674 ac_cpp='$CPP $CPPFLAGS'
14675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14678 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14679 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14680 # On Suns, sometimes $CPP names a directory.
14681 if test -n "$CPP" && test -d "$CPP"; then
14682 CPP=
14683 fi
14684 if test -z "$CPP"; then
14685 if test "${ac_cv_prog_CPP+set}" = set; then
14686 echo $ECHO_N "(cached) $ECHO_C" >&6
14687 else
14688 # Double quotes because CPP needs to be expanded
14689 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14690 do
14691 ac_preproc_ok=false
14692 for ac_c_preproc_warn_flag in '' yes
14693 do
14694 # Use a header file that comes with gcc, so configuring glibc
14695 # with a fresh cross-compiler works.
14696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14697 # <limits.h> exists even on freestanding compilers.
14698 # On the NeXT, cc -E runs the code through the compiler's parser,
14699 # not just through cpp. "Syntax error" is here to catch this case.
14700 cat >conftest.$ac_ext <<_ACEOF
14701 /* confdefs.h. */
14702 _ACEOF
14703 cat confdefs.h >>conftest.$ac_ext
14704 cat >>conftest.$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14706 #ifdef __STDC__
14707 # include <limits.h>
14708 #else
14709 # include <assert.h>
14710 #endif
14711 Syntax error
14712 _ACEOF
14713 if { (ac_try="$ac_cpp conftest.$ac_ext"
14714 case "(($ac_try" in
14715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14716 *) ac_try_echo=$ac_try;;
14717 esac
14718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14720 ac_status=$?
14721 grep -v '^ *+' conftest.er1 >conftest.err
14722 rm -f conftest.er1
14723 cat conftest.err >&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); } >/dev/null && {
14726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14727 test ! -s conftest.err
14728 }; then
14729 :
14730 else
14731 echo "$as_me: failed program was:" >&5
14732 sed 's/^/| /' conftest.$ac_ext >&5
14733
14734 # Broken: fails on valid input.
14735 continue
14736 fi
14737
14738 rm -f conftest.err conftest.$ac_ext
14739
14740 # OK, works on sane cases. Now check whether nonexistent headers
14741 # can be detected and how.
14742 cat >conftest.$ac_ext <<_ACEOF
14743 /* confdefs.h. */
14744 _ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748 #include <ac_nonexistent.h>
14749 _ACEOF
14750 if { (ac_try="$ac_cpp conftest.$ac_ext"
14751 case "(($ac_try" in
14752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14753 *) ac_try_echo=$ac_try;;
14754 esac
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14757 ac_status=$?
14758 grep -v '^ *+' conftest.er1 >conftest.err
14759 rm -f conftest.er1
14760 cat conftest.err >&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } >/dev/null && {
14763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14764 test ! -s conftest.err
14765 }; then
14766 # Broken: success on invalid input.
14767 continue
14768 else
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.$ac_ext >&5
14771
14772 # Passes both tests.
14773 ac_preproc_ok=:
14774 break
14775 fi
14776
14777 rm -f conftest.err conftest.$ac_ext
14778
14779 done
14780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14781 rm -f conftest.err conftest.$ac_ext
14782 if $ac_preproc_ok; then
14783 break
14784 fi
14785
14786 done
14787 ac_cv_prog_CPP=$CPP
14788
14789 fi
14790 CPP=$ac_cv_prog_CPP
14791 else
14792 ac_cv_prog_CPP=$CPP
14793 fi
14794 { echo "$as_me:$LINENO: result: $CPP" >&5
14795 echo "${ECHO_T}$CPP" >&6; }
14796 ac_preproc_ok=false
14797 for ac_c_preproc_warn_flag in '' yes
14798 do
14799 # Use a header file that comes with gcc, so configuring glibc
14800 # with a fresh cross-compiler works.
14801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14802 # <limits.h> exists even on freestanding compilers.
14803 # On the NeXT, cc -E runs the code through the compiler's parser,
14804 # not just through cpp. "Syntax error" is here to catch this case.
14805 cat >conftest.$ac_ext <<_ACEOF
14806 /* confdefs.h. */
14807 _ACEOF
14808 cat confdefs.h >>conftest.$ac_ext
14809 cat >>conftest.$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14811 #ifdef __STDC__
14812 # include <limits.h>
14813 #else
14814 # include <assert.h>
14815 #endif
14816 Syntax error
14817 _ACEOF
14818 if { (ac_try="$ac_cpp conftest.$ac_ext"
14819 case "(($ac_try" in
14820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14821 *) ac_try_echo=$ac_try;;
14822 esac
14823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14825 ac_status=$?
14826 grep -v '^ *+' conftest.er1 >conftest.err
14827 rm -f conftest.er1
14828 cat conftest.err >&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } >/dev/null && {
14831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14832 test ! -s conftest.err
14833 }; then
14834 :
14835 else
14836 echo "$as_me: failed program was:" >&5
14837 sed 's/^/| /' conftest.$ac_ext >&5
14838
14839 # Broken: fails on valid input.
14840 continue
14841 fi
14842
14843 rm -f conftest.err conftest.$ac_ext
14844
14845 # OK, works on sane cases. Now check whether nonexistent headers
14846 # can be detected and how.
14847 cat >conftest.$ac_ext <<_ACEOF
14848 /* confdefs.h. */
14849 _ACEOF
14850 cat confdefs.h >>conftest.$ac_ext
14851 cat >>conftest.$ac_ext <<_ACEOF
14852 /* end confdefs.h. */
14853 #include <ac_nonexistent.h>
14854 _ACEOF
14855 if { (ac_try="$ac_cpp conftest.$ac_ext"
14856 case "(($ac_try" in
14857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14858 *) ac_try_echo=$ac_try;;
14859 esac
14860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14862 ac_status=$?
14863 grep -v '^ *+' conftest.er1 >conftest.err
14864 rm -f conftest.er1
14865 cat conftest.err >&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } >/dev/null && {
14868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14869 test ! -s conftest.err
14870 }; then
14871 # Broken: success on invalid input.
14872 continue
14873 else
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14876
14877 # Passes both tests.
14878 ac_preproc_ok=:
14879 break
14880 fi
14881
14882 rm -f conftest.err conftest.$ac_ext
14883
14884 done
14885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14886 rm -f conftest.err conftest.$ac_ext
14887 if $ac_preproc_ok; then
14888 :
14889 else
14890 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14891 See \`config.log' for more details." >&5
14892 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14893 See \`config.log' for more details." >&2;}
14894 { (exit 1); exit 1; }; }
14895 fi
14896
14897 ac_ext=c
14898 ac_cpp='$CPP $CPPFLAGS'
14899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14902
14903
14904 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14905 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14906 if test "${ac_cv_path_GREP+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 else
14909 # Extract the first word of "grep ggrep" to use in msg output
14910 if test -z "$GREP"; then
14911 set dummy grep ggrep; ac_prog_name=$2
14912 if test "${ac_cv_path_GREP+set}" = set; then
14913 echo $ECHO_N "(cached) $ECHO_C" >&6
14914 else
14915 ac_path_GREP_found=false
14916 # Loop through the user's path and test for each of PROGNAME-LIST
14917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14918 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14919 do
14920 IFS=$as_save_IFS
14921 test -z "$as_dir" && as_dir=.
14922 for ac_prog in grep ggrep; do
14923 for ac_exec_ext in '' $ac_executable_extensions; do
14924 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14925 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14926 # Check for GNU ac_path_GREP and select it if it is found.
14927 # Check for GNU $ac_path_GREP
14928 case `"$ac_path_GREP" --version 2>&1` in
14929 *GNU*)
14930 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14931 *)
14932 ac_count=0
14933 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14934 while :
14935 do
14936 cat "conftest.in" "conftest.in" >"conftest.tmp"
14937 mv "conftest.tmp" "conftest.in"
14938 cp "conftest.in" "conftest.nl"
14939 echo 'GREP' >> "conftest.nl"
14940 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14941 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14942 ac_count=`expr $ac_count + 1`
14943 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14944 # Best one so far, save it but keep looking for a better one
14945 ac_cv_path_GREP="$ac_path_GREP"
14946 ac_path_GREP_max=$ac_count
14947 fi
14948 # 10*(2^10) chars as input seems more than enough
14949 test $ac_count -gt 10 && break
14950 done
14951 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14952 esac
14953
14954
14955 $ac_path_GREP_found && break 3
14956 done
14957 done
14958
14959 done
14960 IFS=$as_save_IFS
14961
14962
14963 fi
14964
14965 GREP="$ac_cv_path_GREP"
14966 if test -z "$GREP"; then
14967 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14968 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14969 { (exit 1); exit 1; }; }
14970 fi
14971
14972 else
14973 ac_cv_path_GREP=$GREP
14974 fi
14975
14976
14977 fi
14978 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14979 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14980 GREP="$ac_cv_path_GREP"
14981
14982
14983 { echo "$as_me:$LINENO: checking for egrep" >&5
14984 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14985 if test "${ac_cv_path_EGREP+set}" = set; then
14986 echo $ECHO_N "(cached) $ECHO_C" >&6
14987 else
14988 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14989 then ac_cv_path_EGREP="$GREP -E"
14990 else
14991 # Extract the first word of "egrep" to use in msg output
14992 if test -z "$EGREP"; then
14993 set dummy egrep; ac_prog_name=$2
14994 if test "${ac_cv_path_EGREP+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 else
14997 ac_path_EGREP_found=false
14998 # Loop through the user's path and test for each of PROGNAME-LIST
14999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15000 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15001 do
15002 IFS=$as_save_IFS
15003 test -z "$as_dir" && as_dir=.
15004 for ac_prog in egrep; do
15005 for ac_exec_ext in '' $ac_executable_extensions; do
15006 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15007 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15008 # Check for GNU ac_path_EGREP and select it if it is found.
15009 # Check for GNU $ac_path_EGREP
15010 case `"$ac_path_EGREP" --version 2>&1` in
15011 *GNU*)
15012 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15013 *)
15014 ac_count=0
15015 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15016 while :
15017 do
15018 cat "conftest.in" "conftest.in" >"conftest.tmp"
15019 mv "conftest.tmp" "conftest.in"
15020 cp "conftest.in" "conftest.nl"
15021 echo 'EGREP' >> "conftest.nl"
15022 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15023 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15024 ac_count=`expr $ac_count + 1`
15025 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15026 # Best one so far, save it but keep looking for a better one
15027 ac_cv_path_EGREP="$ac_path_EGREP"
15028 ac_path_EGREP_max=$ac_count
15029 fi
15030 # 10*(2^10) chars as input seems more than enough
15031 test $ac_count -gt 10 && break
15032 done
15033 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15034 esac
15035
15036
15037 $ac_path_EGREP_found && break 3
15038 done
15039 done
15040
15041 done
15042 IFS=$as_save_IFS
15043
15044
15045 fi
15046
15047 EGREP="$ac_cv_path_EGREP"
15048 if test -z "$EGREP"; then
15049 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15050 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15051 { (exit 1); exit 1; }; }
15052 fi
15053
15054 else
15055 ac_cv_path_EGREP=$EGREP
15056 fi
15057
15058
15059 fi
15060 fi
15061 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15062 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15063 EGREP="$ac_cv_path_EGREP"
15064
15065
15066 if test $ac_cv_c_compiler_gnu = yes; then
15067 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15068 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15069 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 else
15072 ac_pattern="Autoconf.*'x'"
15073 cat >conftest.$ac_ext <<_ACEOF
15074 /* confdefs.h. */
15075 _ACEOF
15076 cat confdefs.h >>conftest.$ac_ext
15077 cat >>conftest.$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15079 #include <sgtty.h>
15080 Autoconf TIOCGETP
15081 _ACEOF
15082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15083 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15084 ac_cv_prog_gcc_traditional=yes
15085 else
15086 ac_cv_prog_gcc_traditional=no
15087 fi
15088 rm -f conftest*
15089
15090
15091 if test $ac_cv_prog_gcc_traditional = no; then
15092 cat >conftest.$ac_ext <<_ACEOF
15093 /* confdefs.h. */
15094 _ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098 #include <termio.h>
15099 Autoconf TCGETA
15100 _ACEOF
15101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15102 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15103 ac_cv_prog_gcc_traditional=yes
15104 fi
15105 rm -f conftest*
15106
15107 fi
15108 fi
15109 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15110 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15111 if test $ac_cv_prog_gcc_traditional = yes; then
15112 CC="$CC -traditional"
15113 fi
15114 fi
15115
15116
15117 CXXFLAGS=${CXXFLAGS:=}
15118
15119
15120
15121 ac_ext=cpp
15122 ac_cpp='$CXXCPP $CPPFLAGS'
15123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15126 if test -z "$CXX"; then
15127 if test -n "$CCC"; then
15128 CXX=$CCC
15129 else
15130 if test -n "$ac_tool_prefix"; then
15131 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15132 do
15133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15134 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15137 if test "${ac_cv_prog_CXX+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 else
15140 if test -n "$CXX"; then
15141 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15142 else
15143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15144 for as_dir in $PATH
15145 do
15146 IFS=$as_save_IFS
15147 test -z "$as_dir" && as_dir=.
15148 for ac_exec_ext in '' $ac_executable_extensions; do
15149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15150 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15152 break 2
15153 fi
15154 done
15155 done
15156 IFS=$as_save_IFS
15157
15158 fi
15159 fi
15160 CXX=$ac_cv_prog_CXX
15161 if test -n "$CXX"; then
15162 { echo "$as_me:$LINENO: result: $CXX" >&5
15163 echo "${ECHO_T}$CXX" >&6; }
15164 else
15165 { echo "$as_me:$LINENO: result: no" >&5
15166 echo "${ECHO_T}no" >&6; }
15167 fi
15168
15169
15170 test -n "$CXX" && break
15171 done
15172 fi
15173 if test -z "$CXX"; then
15174 ac_ct_CXX=$CXX
15175 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15176 do
15177 # Extract the first word of "$ac_prog", so it can be a program name with args.
15178 set dummy $ac_prog; ac_word=$2
15179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15181 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 if test -n "$ac_ct_CXX"; then
15185 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15186 else
15187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15188 for as_dir in $PATH
15189 do
15190 IFS=$as_save_IFS
15191 test -z "$as_dir" && as_dir=.
15192 for ac_exec_ext in '' $ac_executable_extensions; do
15193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15194 ac_cv_prog_ac_ct_CXX="$ac_prog"
15195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15196 break 2
15197 fi
15198 done
15199 done
15200 IFS=$as_save_IFS
15201
15202 fi
15203 fi
15204 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15205 if test -n "$ac_ct_CXX"; then
15206 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15207 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15208 else
15209 { echo "$as_me:$LINENO: result: no" >&5
15210 echo "${ECHO_T}no" >&6; }
15211 fi
15212
15213
15214 test -n "$ac_ct_CXX" && break
15215 done
15216
15217 if test "x$ac_ct_CXX" = x; then
15218 CXX="g++"
15219 else
15220 case $cross_compiling:$ac_tool_warned in
15221 yes:)
15222 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15223 whose name does not start with the host triplet. If you think this
15224 configuration is useful to you, please write to autoconf@gnu.org." >&5
15225 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15226 whose name does not start with the host triplet. If you think this
15227 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15228 ac_tool_warned=yes ;;
15229 esac
15230 CXX=$ac_ct_CXX
15231 fi
15232 fi
15233
15234 fi
15235 fi
15236 # Provide some information about the compiler.
15237 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15238 ac_compiler=`set X $ac_compile; echo $2`
15239 { (ac_try="$ac_compiler --version >&5"
15240 case "(($ac_try" in
15241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15242 *) ac_try_echo=$ac_try;;
15243 esac
15244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15245 (eval "$ac_compiler --version >&5") 2>&5
15246 ac_status=$?
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }
15249 { (ac_try="$ac_compiler -v >&5"
15250 case "(($ac_try" in
15251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15252 *) ac_try_echo=$ac_try;;
15253 esac
15254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15255 (eval "$ac_compiler -v >&5") 2>&5
15256 ac_status=$?
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); }
15259 { (ac_try="$ac_compiler -V >&5"
15260 case "(($ac_try" in
15261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15262 *) ac_try_echo=$ac_try;;
15263 esac
15264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15265 (eval "$ac_compiler -V >&5") 2>&5
15266 ac_status=$?
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); }
15269
15270 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15271 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15272 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15273 echo $ECHO_N "(cached) $ECHO_C" >&6
15274 else
15275 cat >conftest.$ac_ext <<_ACEOF
15276 /* confdefs.h. */
15277 _ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15281
15282 int
15283 main ()
15284 {
15285 #ifndef __GNUC__
15286 choke me
15287 #endif
15288
15289 ;
15290 return 0;
15291 }
15292 _ACEOF
15293 rm -f conftest.$ac_objext
15294 if { (ac_try="$ac_compile"
15295 case "(($ac_try" in
15296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15297 *) ac_try_echo=$ac_try;;
15298 esac
15299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15300 (eval "$ac_compile") 2>conftest.er1
15301 ac_status=$?
15302 grep -v '^ *+' conftest.er1 >conftest.err
15303 rm -f conftest.er1
15304 cat conftest.err >&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } && {
15307 test -z "$ac_cxx_werror_flag" ||
15308 test ! -s conftest.err
15309 } && test -s conftest.$ac_objext; then
15310 ac_compiler_gnu=yes
15311 else
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15314
15315 ac_compiler_gnu=no
15316 fi
15317
15318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15319 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15320
15321 fi
15322 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15323 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15324 GXX=`test $ac_compiler_gnu = yes && echo yes`
15325 ac_test_CXXFLAGS=${CXXFLAGS+set}
15326 ac_save_CXXFLAGS=$CXXFLAGS
15327 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15328 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15329 if test "${ac_cv_prog_cxx_g+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15331 else
15332 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15333 ac_cxx_werror_flag=yes
15334 ac_cv_prog_cxx_g=no
15335 CXXFLAGS="-g"
15336 cat >conftest.$ac_ext <<_ACEOF
15337 /* confdefs.h. */
15338 _ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15342
15343 int
15344 main ()
15345 {
15346
15347 ;
15348 return 0;
15349 }
15350 _ACEOF
15351 rm -f conftest.$ac_objext
15352 if { (ac_try="$ac_compile"
15353 case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15356 esac
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_compile") 2>conftest.er1
15359 ac_status=$?
15360 grep -v '^ *+' conftest.er1 >conftest.err
15361 rm -f conftest.er1
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_cxx_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest.$ac_objext; then
15368 ac_cv_prog_cxx_g=yes
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15372
15373 CXXFLAGS=""
15374 cat >conftest.$ac_ext <<_ACEOF
15375 /* confdefs.h. */
15376 _ACEOF
15377 cat confdefs.h >>conftest.$ac_ext
15378 cat >>conftest.$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15380
15381 int
15382 main ()
15383 {
15384
15385 ;
15386 return 0;
15387 }
15388 _ACEOF
15389 rm -f conftest.$ac_objext
15390 if { (ac_try="$ac_compile"
15391 case "(($ac_try" in
15392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15393 *) ac_try_echo=$ac_try;;
15394 esac
15395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15396 (eval "$ac_compile") 2>conftest.er1
15397 ac_status=$?
15398 grep -v '^ *+' conftest.er1 >conftest.err
15399 rm -f conftest.er1
15400 cat conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } && {
15403 test -z "$ac_cxx_werror_flag" ||
15404 test ! -s conftest.err
15405 } && test -s conftest.$ac_objext; then
15406 :
15407 else
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15410
15411 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15412 CXXFLAGS="-g"
15413 cat >conftest.$ac_ext <<_ACEOF
15414 /* confdefs.h. */
15415 _ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419
15420 int
15421 main ()
15422 {
15423
15424 ;
15425 return 0;
15426 }
15427 _ACEOF
15428 rm -f conftest.$ac_objext
15429 if { (ac_try="$ac_compile"
15430 case "(($ac_try" in
15431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15432 *) ac_try_echo=$ac_try;;
15433 esac
15434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15435 (eval "$ac_compile") 2>conftest.er1
15436 ac_status=$?
15437 grep -v '^ *+' conftest.er1 >conftest.err
15438 rm -f conftest.er1
15439 cat conftest.err >&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); } && {
15442 test -z "$ac_cxx_werror_flag" ||
15443 test ! -s conftest.err
15444 } && test -s conftest.$ac_objext; then
15445 ac_cv_prog_cxx_g=yes
15446 else
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15449
15450
15451 fi
15452
15453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15454 fi
15455
15456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15457 fi
15458
15459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15460 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15461 fi
15462 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15463 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15464 if test "$ac_test_CXXFLAGS" = set; then
15465 CXXFLAGS=$ac_save_CXXFLAGS
15466 elif test $ac_cv_prog_cxx_g = yes; then
15467 if test "$GXX" = yes; then
15468 CXXFLAGS="-g -O2"
15469 else
15470 CXXFLAGS="-g"
15471 fi
15472 else
15473 if test "$GXX" = yes; then
15474 CXXFLAGS="-O2"
15475 else
15476 CXXFLAGS=
15477 fi
15478 fi
15479 ac_ext=c
15480 ac_cpp='$CPP $CPPFLAGS'
15481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15484
15485
15486
15487 ac_ext=cpp
15488 ac_cpp='$CXXCPP $CPPFLAGS'
15489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15492
15493 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15494 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15495 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15496 echo $ECHO_N "(cached) $ECHO_C" >&6
15497 else
15498 cat >conftest.$ac_ext <<_ACEOF
15499 /* confdefs.h. */
15500 _ACEOF
15501 cat confdefs.h >>conftest.$ac_ext
15502 cat >>conftest.$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504
15505 int
15506 main ()
15507 {
15508
15509 #ifndef __INTEL_COMPILER
15510 choke me
15511 #endif
15512
15513 ;
15514 return 0;
15515 }
15516 _ACEOF
15517 rm -f conftest.$ac_objext
15518 if { (ac_try="$ac_compile"
15519 case "(($ac_try" in
15520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15521 *) ac_try_echo=$ac_try;;
15522 esac
15523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15524 (eval "$ac_compile") 2>conftest.er1
15525 ac_status=$?
15526 grep -v '^ *+' conftest.er1 >conftest.err
15527 rm -f conftest.er1
15528 cat conftest.err >&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && {
15531 test -z "$ac_cxx_werror_flag" ||
15532 test ! -s conftest.err
15533 } && test -s conftest.$ac_objext; then
15534 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15535 else
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.$ac_ext >&5
15538
15539 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15540
15541 fi
15542
15543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15544
15545
15546 fi
15547 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15548 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15549 ac_ext=c
15550 ac_cpp='$CPP $CPPFLAGS'
15551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15554
15555 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15556 :; INTELCXX=yes
15557 else
15558 :;
15559 fi
15560
15561
15562 if test "x$GCXX" != "xyes"; then
15563 if test "xCXX" = "xC"; then
15564 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15565 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15566 if test "${bakefile_cv_c_exto+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 else
15569 cat >conftest.$ac_ext <<_ACEOF
15570 /* confdefs.h. */
15571 _ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575
15576 int
15577 main ()
15578 {
15579
15580 ;
15581 return 0;
15582 }
15583 _ACEOF
15584 rm -f conftest.$ac_objext conftest.$ac_ext.o
15585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15586 (eval $ac_compile) 2>&5
15587 ac_status=$?
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; then
15590 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15591 case $ac_file in
15592 conftest.$ac_ext.o)
15593 bakefile_cv_c_exto="-ext o"
15594 ;;
15595 *)
15596 ;;
15597 esac
15598 done
15599 else
15600 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15601 See \`config.log' for more details." >&5
15602 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15603 See \`config.log' for more details." >&2;}
15604 { (exit 1); exit 1; }; }
15605
15606 fi
15607
15608 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15609
15610 fi
15611 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15612 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15613 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15614 if test "c" = "c"; then
15615 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15616 fi
15617 if test "c" = "cxx"; then
15618 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15619 fi
15620 fi
15621
15622 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15623 unset ac_cv_prog_cc_g
15624 ac_test_CFLAGS=${CFLAGS+set}
15625 ac_save_CFLAGS=$CFLAGS
15626 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15628 if test "${ac_cv_prog_cc_g+set}" = set; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15630 else
15631 ac_save_c_werror_flag=$ac_c_werror_flag
15632 ac_c_werror_flag=yes
15633 ac_cv_prog_cc_g=no
15634 CFLAGS="-g"
15635 cat >conftest.$ac_ext <<_ACEOF
15636 /* confdefs.h. */
15637 _ACEOF
15638 cat confdefs.h >>conftest.$ac_ext
15639 cat >>conftest.$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15641
15642 int
15643 main ()
15644 {
15645
15646 ;
15647 return 0;
15648 }
15649 _ACEOF
15650 rm -f conftest.$ac_objext
15651 if { (ac_try="$ac_compile"
15652 case "(($ac_try" in
15653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15654 *) ac_try_echo=$ac_try;;
15655 esac
15656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15657 (eval "$ac_compile") 2>conftest.er1
15658 ac_status=$?
15659 grep -v '^ *+' conftest.er1 >conftest.err
15660 rm -f conftest.er1
15661 cat conftest.err >&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } && {
15664 test -z "$ac_c_werror_flag" ||
15665 test ! -s conftest.err
15666 } && test -s conftest.$ac_objext; then
15667 ac_cv_prog_cc_g=yes
15668 else
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.$ac_ext >&5
15671
15672 CFLAGS=""
15673 cat >conftest.$ac_ext <<_ACEOF
15674 /* confdefs.h. */
15675 _ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15679
15680 int
15681 main ()
15682 {
15683
15684 ;
15685 return 0;
15686 }
15687 _ACEOF
15688 rm -f conftest.$ac_objext
15689 if { (ac_try="$ac_compile"
15690 case "(($ac_try" in
15691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15692 *) ac_try_echo=$ac_try;;
15693 esac
15694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15695 (eval "$ac_compile") 2>conftest.er1
15696 ac_status=$?
15697 grep -v '^ *+' conftest.er1 >conftest.err
15698 rm -f conftest.er1
15699 cat conftest.err >&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } && {
15702 test -z "$ac_c_werror_flag" ||
15703 test ! -s conftest.err
15704 } && test -s conftest.$ac_objext; then
15705 :
15706 else
15707 echo "$as_me: failed program was:" >&5
15708 sed 's/^/| /' conftest.$ac_ext >&5
15709
15710 ac_c_werror_flag=$ac_save_c_werror_flag
15711 CFLAGS="-g"
15712 cat >conftest.$ac_ext <<_ACEOF
15713 /* confdefs.h. */
15714 _ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718
15719 int
15720 main ()
15721 {
15722
15723 ;
15724 return 0;
15725 }
15726 _ACEOF
15727 rm -f conftest.$ac_objext
15728 if { (ac_try="$ac_compile"
15729 case "(($ac_try" in
15730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15731 *) ac_try_echo=$ac_try;;
15732 esac
15733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15734 (eval "$ac_compile") 2>conftest.er1
15735 ac_status=$?
15736 grep -v '^ *+' conftest.er1 >conftest.err
15737 rm -f conftest.er1
15738 cat conftest.err >&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } && {
15741 test -z "$ac_c_werror_flag" ||
15742 test ! -s conftest.err
15743 } && test -s conftest.$ac_objext; then
15744 ac_cv_prog_cc_g=yes
15745 else
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.$ac_ext >&5
15748
15749
15750 fi
15751
15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15753 fi
15754
15755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15756 fi
15757
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 ac_c_werror_flag=$ac_save_c_werror_flag
15760 fi
15761 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15762 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15763 if test "$ac_test_CFLAGS" = set; then
15764 CFLAGS=$ac_save_CFLAGS
15765 elif test $ac_cv_prog_cc_g = yes; then
15766 if test "$GCC" = yes; then
15767 CFLAGS="-g -O2"
15768 else
15769 CFLAGS="-g"
15770 fi
15771 else
15772 if test "$GCC" = yes; then
15773 CFLAGS="-O2"
15774 else
15775 CFLAGS=
15776 fi
15777 fi
15778 fi
15779 fi
15780
15781 case `uname -s` in
15782 AIX*)
15783 ac_ext=cpp
15784 ac_cpp='$CXXCPP $CPPFLAGS'
15785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15788
15789 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15790 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15791 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6
15793 else
15794 cat >conftest.$ac_ext <<_ACEOF
15795 /* confdefs.h. */
15796 _ACEOF
15797 cat confdefs.h >>conftest.$ac_ext
15798 cat >>conftest.$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800
15801 int
15802 main ()
15803 {
15804 #ifndef __xlC__
15805 choke me
15806 #endif
15807
15808 ;
15809 return 0;
15810 }
15811 _ACEOF
15812 rm -f conftest.$ac_objext
15813 if { (ac_try="$ac_compile"
15814 case "(($ac_try" in
15815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15816 *) ac_try_echo=$ac_try;;
15817 esac
15818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15819 (eval "$ac_compile") 2>conftest.er1
15820 ac_status=$?
15821 grep -v '^ *+' conftest.er1 >conftest.err
15822 rm -f conftest.er1
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && {
15826 test -z "$ac_cxx_werror_flag" ||
15827 test ! -s conftest.err
15828 } && test -s conftest.$ac_objext; then
15829 bakefile_compiler_xlc=yes
15830 else
15831 echo "$as_me: failed program was:" >&5
15832 sed 's/^/| /' conftest.$ac_ext >&5
15833
15834 bakefile_compiler_xlc=no
15835 fi
15836
15837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15838 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15839
15840 fi
15841 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15842 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15843
15844 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15845 ac_ext=c
15846 ac_cpp='$CPP $CPPFLAGS'
15847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15850
15851
15852 ;;
15853
15854 Darwin)
15855 ac_ext=cpp
15856 ac_cpp='$CXXCPP $CPPFLAGS'
15857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15860
15861 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15862 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15863 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15865 else
15866 cat >conftest.$ac_ext <<_ACEOF
15867 /* confdefs.h. */
15868 _ACEOF
15869 cat confdefs.h >>conftest.$ac_ext
15870 cat >>conftest.$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15872
15873 int
15874 main ()
15875 {
15876 #ifndef __MWERKS__
15877 choke me
15878 #endif
15879
15880 ;
15881 return 0;
15882 }
15883 _ACEOF
15884 rm -f conftest.$ac_objext
15885 if { (ac_try="$ac_compile"
15886 case "(($ac_try" in
15887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15888 *) ac_try_echo=$ac_try;;
15889 esac
15890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15891 (eval "$ac_compile") 2>conftest.er1
15892 ac_status=$?
15893 grep -v '^ *+' conftest.er1 >conftest.err
15894 rm -f conftest.er1
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } && {
15898 test -z "$ac_cxx_werror_flag" ||
15899 test ! -s conftest.err
15900 } && test -s conftest.$ac_objext; then
15901 bakefile_compiler_mwerks=yes
15902 else
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15905
15906 bakefile_compiler_mwerks=no
15907 fi
15908
15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15911
15912 fi
15913 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15914 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15915
15916 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15917 ac_ext=c
15918 ac_cpp='$CPP $CPPFLAGS'
15919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15922
15923
15924 ac_ext=cpp
15925 ac_cpp='$CXXCPP $CPPFLAGS'
15926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15929
15930 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15931 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15932 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15934 else
15935 cat >conftest.$ac_ext <<_ACEOF
15936 /* confdefs.h. */
15937 _ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15941
15942 int
15943 main ()
15944 {
15945 #ifndef __xlC__
15946 choke me
15947 #endif
15948
15949 ;
15950 return 0;
15951 }
15952 _ACEOF
15953 rm -f conftest.$ac_objext
15954 if { (ac_try="$ac_compile"
15955 case "(($ac_try" in
15956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15957 *) ac_try_echo=$ac_try;;
15958 esac
15959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15960 (eval "$ac_compile") 2>conftest.er1
15961 ac_status=$?
15962 grep -v '^ *+' conftest.er1 >conftest.err
15963 rm -f conftest.er1
15964 cat conftest.err >&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } && {
15967 test -z "$ac_cxx_werror_flag" ||
15968 test ! -s conftest.err
15969 } && test -s conftest.$ac_objext; then
15970 bakefile_compiler_xlc=yes
15971 else
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.$ac_ext >&5
15974
15975 bakefile_compiler_xlc=no
15976 fi
15977
15978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15979 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15980
15981 fi
15982 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15983 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15984
15985 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15986 ac_ext=c
15987 ac_cpp='$CPP $CPPFLAGS'
15988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15991
15992
15993 ;;
15994
15995 IRIX*)
15996
15997
15998 ac_ext=cpp
15999 ac_cpp='$CXXCPP $CPPFLAGS'
16000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16003
16004 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16005 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16006 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 else
16009 cat >conftest.$ac_ext <<_ACEOF
16010 /* confdefs.h. */
16011 _ACEOF
16012 cat confdefs.h >>conftest.$ac_ext
16013 cat >>conftest.$ac_ext <<_ACEOF
16014 /* end confdefs.h. */
16015
16016 int
16017 main ()
16018 {
16019
16020 #ifndef _SGI_COMPILER_VERSION
16021 choke me
16022 #endif
16023
16024 ;
16025 return 0;
16026 }
16027 _ACEOF
16028 rm -f conftest.$ac_objext
16029 if { (ac_try="$ac_compile"
16030 case "(($ac_try" in
16031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16032 *) ac_try_echo=$ac_try;;
16033 esac
16034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16035 (eval "$ac_compile") 2>conftest.er1
16036 ac_status=$?
16037 grep -v '^ *+' conftest.er1 >conftest.err
16038 rm -f conftest.er1
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } && {
16042 test -z "$ac_cxx_werror_flag" ||
16043 test ! -s conftest.err
16044 } && test -s conftest.$ac_objext; then
16045 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16046 else
16047 echo "$as_me: failed program was:" >&5
16048 sed 's/^/| /' conftest.$ac_ext >&5
16049
16050 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16051
16052 fi
16053
16054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16055
16056
16057 fi
16058 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16059 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16060 ac_ext=c
16061 ac_cpp='$CPP $CPPFLAGS'
16062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16065
16066 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16067 :; SGICXX=yes
16068 else
16069 :;
16070 fi
16071
16072
16073 ;;
16074
16075 HP-UX*)
16076
16077
16078 ac_ext=cpp
16079 ac_cpp='$CXXCPP $CPPFLAGS'
16080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16083
16084 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16085 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16086 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16088 else
16089 cat >conftest.$ac_ext <<_ACEOF
16090 /* confdefs.h. */
16091 _ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095
16096 int
16097 main ()
16098 {
16099
16100 #ifndef __HP_aCC
16101 choke me
16102 #endif
16103
16104 ;
16105 return 0;
16106 }
16107 _ACEOF
16108 rm -f conftest.$ac_objext
16109 if { (ac_try="$ac_compile"
16110 case "(($ac_try" in
16111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16112 *) ac_try_echo=$ac_try;;
16113 esac
16114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16115 (eval "$ac_compile") 2>conftest.er1
16116 ac_status=$?
16117 grep -v '^ *+' conftest.er1 >conftest.err
16118 rm -f conftest.er1
16119 cat conftest.err >&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } && {
16122 test -z "$ac_cxx_werror_flag" ||
16123 test ! -s conftest.err
16124 } && test -s conftest.$ac_objext; then
16125 bakefile_cv_cxx_compiler___HP_aCC=yes
16126 else
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.$ac_ext >&5
16129
16130 bakefile_cv_cxx_compiler___HP_aCC=no
16131
16132 fi
16133
16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16135
16136
16137 fi
16138 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16140 ac_ext=c
16141 ac_cpp='$CPP $CPPFLAGS'
16142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16145
16146 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16147 :; HPCXX=yes
16148 else
16149 :;
16150 fi
16151
16152
16153 ;;
16154
16155 OSF1)
16156
16157
16158 ac_ext=cpp
16159 ac_cpp='$CXXCPP $CPPFLAGS'
16160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16163
16164 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16165 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16166 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16167 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 else
16169 cat >conftest.$ac_ext <<_ACEOF
16170 /* confdefs.h. */
16171 _ACEOF
16172 cat confdefs.h >>conftest.$ac_ext
16173 cat >>conftest.$ac_ext <<_ACEOF
16174 /* end confdefs.h. */
16175
16176 int
16177 main ()
16178 {
16179
16180 #ifndef __DECCXX
16181 choke me
16182 #endif
16183
16184 ;
16185 return 0;
16186 }
16187 _ACEOF
16188 rm -f conftest.$ac_objext
16189 if { (ac_try="$ac_compile"
16190 case "(($ac_try" in
16191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16193 esac
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_compile") 2>conftest.er1
16196 ac_status=$?
16197 grep -v '^ *+' conftest.er1 >conftest.err
16198 rm -f conftest.er1
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } && {
16202 test -z "$ac_cxx_werror_flag" ||
16203 test ! -s conftest.err
16204 } && test -s conftest.$ac_objext; then
16205 bakefile_cv_cxx_compiler___DECCXX=yes
16206 else
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16209
16210 bakefile_cv_cxx_compiler___DECCXX=no
16211
16212 fi
16213
16214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16215
16216
16217 fi
16218 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16219 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16220 ac_ext=c
16221 ac_cpp='$CPP $CPPFLAGS'
16222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16225
16226 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16227 :; COMPAQCXX=yes
16228 else
16229 :;
16230 fi
16231
16232
16233 ;;
16234
16235 SunOS)
16236
16237
16238 ac_ext=cpp
16239 ac_cpp='$CXXCPP $CPPFLAGS'
16240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16243
16244 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16245 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16246 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 else
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h. */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16255
16256 int
16257 main ()
16258 {
16259
16260 #ifndef __SUNPRO_CC
16261 choke me
16262 #endif
16263
16264 ;
16265 return 0;
16266 }
16267 _ACEOF
16268 rm -f conftest.$ac_objext
16269 if { (ac_try="$ac_compile"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16272 *) ac_try_echo=$ac_try;;
16273 esac
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_compile") 2>conftest.er1
16276 ac_status=$?
16277 grep -v '^ *+' conftest.er1 >conftest.err
16278 rm -f conftest.er1
16279 cat conftest.err >&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } && {
16282 test -z "$ac_cxx_werror_flag" ||
16283 test ! -s conftest.err
16284 } && test -s conftest.$ac_objext; then
16285 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16286 else
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.$ac_ext >&5
16289
16290 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16291
16292 fi
16293
16294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16295
16296
16297 fi
16298 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16299 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16300 ac_ext=c
16301 ac_cpp='$CPP $CPPFLAGS'
16302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16305
16306 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16307 :; SUNCXX=yes
16308 else
16309 :;
16310 fi
16311
16312
16313 ;;
16314 esac
16315 fi
16316
16317
16318
16319 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
16320 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
16321 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
16322 { (exit 1); exit 1; }; }
16323 fi
16324
16325 if test -n "$ac_tool_prefix"; then
16326 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16327 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16330 if test "${ac_cv_prog_RANLIB+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 else
16333 if test -n "$RANLIB"; then
16334 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16335 else
16336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16337 for as_dir in $PATH
16338 do
16339 IFS=$as_save_IFS
16340 test -z "$as_dir" && as_dir=.
16341 for ac_exec_ext in '' $ac_executable_extensions; do
16342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16343 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16345 break 2
16346 fi
16347 done
16348 done
16349 IFS=$as_save_IFS
16350
16351 fi
16352 fi
16353 RANLIB=$ac_cv_prog_RANLIB
16354 if test -n "$RANLIB"; then
16355 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16356 echo "${ECHO_T}$RANLIB" >&6; }
16357 else
16358 { echo "$as_me:$LINENO: result: no" >&5
16359 echo "${ECHO_T}no" >&6; }
16360 fi
16361
16362
16363 fi
16364 if test -z "$ac_cv_prog_RANLIB"; then
16365 ac_ct_RANLIB=$RANLIB
16366 # Extract the first word of "ranlib", so it can be a program name with args.
16367 set dummy ranlib; ac_word=$2
16368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16370 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16372 else
16373 if test -n "$ac_ct_RANLIB"; then
16374 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16375 else
16376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16377 for as_dir in $PATH
16378 do
16379 IFS=$as_save_IFS
16380 test -z "$as_dir" && as_dir=.
16381 for ac_exec_ext in '' $ac_executable_extensions; do
16382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16383 ac_cv_prog_ac_ct_RANLIB="ranlib"
16384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16385 break 2
16386 fi
16387 done
16388 done
16389 IFS=$as_save_IFS
16390
16391 fi
16392 fi
16393 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16394 if test -n "$ac_ct_RANLIB"; then
16395 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16396 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16397 else
16398 { echo "$as_me:$LINENO: result: no" >&5
16399 echo "${ECHO_T}no" >&6; }
16400 fi
16401
16402 if test "x$ac_ct_RANLIB" = x; then
16403 RANLIB=":"
16404 else
16405 case $cross_compiling:$ac_tool_warned in
16406 yes:)
16407 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16408 whose name does not start with the host triplet. If you think this
16409 configuration is useful to you, please write to autoconf@gnu.org." >&5
16410 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16411 whose name does not start with the host triplet. If you think this
16412 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16413 ac_tool_warned=yes ;;
16414 esac
16415 RANLIB=$ac_ct_RANLIB
16416 fi
16417 else
16418 RANLIB="$ac_cv_prog_RANLIB"
16419 fi
16420
16421
16422 if test "x$SUNCXX" != xyes; then
16423 if test -n "$ac_tool_prefix"; then
16424 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16425 set dummy ${ac_tool_prefix}ar; ac_word=$2
16426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16428 if test "${ac_cv_prog_AR+set}" = set; then
16429 echo $ECHO_N "(cached) $ECHO_C" >&6
16430 else
16431 if test -n "$AR"; then
16432 ac_cv_prog_AR="$AR" # Let the user override the test.
16433 else
16434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16435 for as_dir in $PATH
16436 do
16437 IFS=$as_save_IFS
16438 test -z "$as_dir" && as_dir=.
16439 for ac_exec_ext in '' $ac_executable_extensions; do
16440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16441 ac_cv_prog_AR="${ac_tool_prefix}ar"
16442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16443 break 2
16444 fi
16445 done
16446 done
16447 IFS=$as_save_IFS
16448
16449 fi
16450 fi
16451 AR=$ac_cv_prog_AR
16452 if test -n "$AR"; then
16453 { echo "$as_me:$LINENO: result: $AR" >&5
16454 echo "${ECHO_T}$AR" >&6; }
16455 else
16456 { echo "$as_me:$LINENO: result: no" >&5
16457 echo "${ECHO_T}no" >&6; }
16458 fi
16459
16460
16461 fi
16462 if test -z "$ac_cv_prog_AR"; then
16463 ac_ct_AR=$AR
16464 # Extract the first word of "ar", so it can be a program name with args.
16465 set dummy ar; ac_word=$2
16466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16468 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16469 echo $ECHO_N "(cached) $ECHO_C" >&6
16470 else
16471 if test -n "$ac_ct_AR"; then
16472 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16473 else
16474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16475 for as_dir in $PATH
16476 do
16477 IFS=$as_save_IFS
16478 test -z "$as_dir" && as_dir=.
16479 for ac_exec_ext in '' $ac_executable_extensions; do
16480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16481 ac_cv_prog_ac_ct_AR="ar"
16482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16483 break 2
16484 fi
16485 done
16486 done
16487 IFS=$as_save_IFS
16488
16489 fi
16490 fi
16491 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16492 if test -n "$ac_ct_AR"; then
16493 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16494 echo "${ECHO_T}$ac_ct_AR" >&6; }
16495 else
16496 { echo "$as_me:$LINENO: result: no" >&5
16497 echo "${ECHO_T}no" >&6; }
16498 fi
16499
16500 if test "x$ac_ct_AR" = x; then
16501 AR=""
16502 else
16503 case $cross_compiling:$ac_tool_warned in
16504 yes:)
16505 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16506 whose name does not start with the host triplet. If you think this
16507 configuration is useful to you, please write to autoconf@gnu.org." >&5
16508 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16509 whose name does not start with the host triplet. If you think this
16510 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16511 ac_tool_warned=yes ;;
16512 esac
16513 AR=$ac_ct_AR
16514 fi
16515 else
16516 AR="$ac_cv_prog_AR"
16517 fi
16518
16519 if test "x$AR" = "x" ; then
16520 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16521 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16522 { (exit 1); exit 1; }; }
16523 fi
16524 fi
16525
16526 # Find a good install program. We prefer a C program (faster),
16527 # so one script is as good as another. But avoid the broken or
16528 # incompatible versions:
16529 # SysV /etc/install, /usr/sbin/install
16530 # SunOS /usr/etc/install
16531 # IRIX /sbin/install
16532 # AIX /bin/install
16533 # AmigaOS /C/install, which installs bootblocks on floppy discs
16534 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16535 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16536 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16537 # OS/2's system install, which has a completely different semantic
16538 # ./install, which can be erroneously created by make from ./install.sh.
16539 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16540 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16541 if test -z "$INSTALL"; then
16542 if test "${ac_cv_path_install+set}" = set; then
16543 echo $ECHO_N "(cached) $ECHO_C" >&6
16544 else
16545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16546 for as_dir in $PATH
16547 do
16548 IFS=$as_save_IFS
16549 test -z "$as_dir" && as_dir=.
16550 # Account for people who put trailing slashes in PATH elements.
16551 case $as_dir/ in
16552 ./ | .// | /cC/* | \
16553 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16554 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16555 /usr/ucb/* ) ;;
16556 *)
16557 # OSF1 and SCO ODT 3.0 have their own names for install.
16558 # Don't use installbsd from OSF since it installs stuff as root
16559 # by default.
16560 for ac_prog in ginstall scoinst install; do
16561 for ac_exec_ext in '' $ac_executable_extensions; do
16562 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16563 if test $ac_prog = install &&
16564 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16565 # AIX install. It has an incompatible calling convention.
16566 :
16567 elif test $ac_prog = install &&
16568 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16569 # program-specific install script used by HP pwplus--don't use.
16570 :
16571 else
16572 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16573 break 3
16574 fi
16575 fi
16576 done
16577 done
16578 ;;
16579 esac
16580 done
16581 IFS=$as_save_IFS
16582
16583
16584 fi
16585 if test "${ac_cv_path_install+set}" = set; then
16586 INSTALL=$ac_cv_path_install
16587 else
16588 # As a last resort, use the slow shell script. Don't cache a
16589 # value for INSTALL within a source directory, because that will
16590 # break other packages using the cache if that directory is
16591 # removed, or if the value is a relative name.
16592 INSTALL=$ac_install_sh
16593 fi
16594 fi
16595 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16596 echo "${ECHO_T}$INSTALL" >&6; }
16597
16598 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16599 # It thinks the first close brace ends the variable substitution.
16600 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16601
16602 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16603
16604 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16605
16606
16607 case ${INSTALL} in
16608 /* ) # Absolute
16609 ;;
16610 ?:* ) # Drive letter, considered as absolute.
16611 ;;
16612 *)
16613 INSTALL=`pwd`/${INSTALL} ;;
16614 esac
16615
16616
16617 case "${host}" in
16618
16619 *-*-darwin* )
16620 INSTALL_PROGRAM="cp -fp"
16621 INSTALL_DATA="cp -fp"
16622 ;;
16623 *)
16624 ;;
16625 esac
16626
16627 if test -n "$ac_tool_prefix"; then
16628 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16629 set dummy ${ac_tool_prefix}strip; ac_word=$2
16630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16632 if test "${ac_cv_prog_STRIP+set}" = set; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16634 else
16635 if test -n "$STRIP"; then
16636 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16637 else
16638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16639 for as_dir in $PATH
16640 do
16641 IFS=$as_save_IFS
16642 test -z "$as_dir" && as_dir=.
16643 for ac_exec_ext in '' $ac_executable_extensions; do
16644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16645 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16647 break 2
16648 fi
16649 done
16650 done
16651 IFS=$as_save_IFS
16652
16653 fi
16654 fi
16655 STRIP=$ac_cv_prog_STRIP
16656 if test -n "$STRIP"; then
16657 { echo "$as_me:$LINENO: result: $STRIP" >&5
16658 echo "${ECHO_T}$STRIP" >&6; }
16659 else
16660 { echo "$as_me:$LINENO: result: no" >&5
16661 echo "${ECHO_T}no" >&6; }
16662 fi
16663
16664
16665 fi
16666 if test -z "$ac_cv_prog_STRIP"; then
16667 ac_ct_STRIP=$STRIP
16668 # Extract the first word of "strip", so it can be a program name with args.
16669 set dummy strip; ac_word=$2
16670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16672 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16674 else
16675 if test -n "$ac_ct_STRIP"; then
16676 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16677 else
16678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16679 for as_dir in $PATH
16680 do
16681 IFS=$as_save_IFS
16682 test -z "$as_dir" && as_dir=.
16683 for ac_exec_ext in '' $ac_executable_extensions; do
16684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16685 ac_cv_prog_ac_ct_STRIP="strip"
16686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16687 break 2
16688 fi
16689 done
16690 done
16691 IFS=$as_save_IFS
16692
16693 fi
16694 fi
16695 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16696 if test -n "$ac_ct_STRIP"; then
16697 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16698 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16699 else
16700 { echo "$as_me:$LINENO: result: no" >&5
16701 echo "${ECHO_T}no" >&6; }
16702 fi
16703
16704 if test "x$ac_ct_STRIP" = x; then
16705 STRIP="true"
16706 else
16707 case $cross_compiling:$ac_tool_warned in
16708 yes:)
16709 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16710 whose name does not start with the host triplet. If you think this
16711 configuration is useful to you, please write to autoconf@gnu.org." >&5
16712 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16713 whose name does not start with the host triplet. If you think this
16714 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16715 ac_tool_warned=yes ;;
16716 esac
16717 STRIP=$ac_ct_STRIP
16718 fi
16719 else
16720 STRIP="$ac_cv_prog_STRIP"
16721 fi
16722
16723
16724 if test "$wxUSE_WINE" = "yes"; then
16725 if test -n "$ac_tool_prefix"; then
16726 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16727 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16730 if test "${ac_cv_prog_WINDRES+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16732 else
16733 if test -n "$WINDRES"; then
16734 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16735 else
16736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16737 for as_dir in $PATH
16738 do
16739 IFS=$as_save_IFS
16740 test -z "$as_dir" && as_dir=.
16741 for ac_exec_ext in '' $ac_executable_extensions; do
16742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16743 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16745 break 2
16746 fi
16747 done
16748 done
16749 IFS=$as_save_IFS
16750
16751 fi
16752 fi
16753 WINDRES=$ac_cv_prog_WINDRES
16754 if test -n "$WINDRES"; then
16755 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16756 echo "${ECHO_T}$WINDRES" >&6; }
16757 else
16758 { echo "$as_me:$LINENO: result: no" >&5
16759 echo "${ECHO_T}no" >&6; }
16760 fi
16761
16762
16763 fi
16764 if test -z "$ac_cv_prog_WINDRES"; then
16765 ac_ct_WINDRES=$WINDRES
16766 # Extract the first word of "wrc", so it can be a program name with args.
16767 set dummy wrc; ac_word=$2
16768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16770 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16772 else
16773 if test -n "$ac_ct_WINDRES"; then
16774 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16775 else
16776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16777 for as_dir in $PATH
16778 do
16779 IFS=$as_save_IFS
16780 test -z "$as_dir" && as_dir=.
16781 for ac_exec_ext in '' $ac_executable_extensions; do
16782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16783 ac_cv_prog_ac_ct_WINDRES="wrc"
16784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16785 break 2
16786 fi
16787 done
16788 done
16789 IFS=$as_save_IFS
16790
16791 fi
16792 fi
16793 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16794 if test -n "$ac_ct_WINDRES"; then
16795 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16796 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16797 else
16798 { echo "$as_me:$LINENO: result: no" >&5
16799 echo "${ECHO_T}no" >&6; }
16800 fi
16801
16802 if test "x$ac_ct_WINDRES" = x; then
16803 WINDRES=""
16804 else
16805 case $cross_compiling:$ac_tool_warned in
16806 yes:)
16807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16808 whose name does not start with the host triplet. If you think this
16809 configuration is useful to you, please write to autoconf@gnu.org." >&5
16810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16811 whose name does not start with the host triplet. If you think this
16812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16813 ac_tool_warned=yes ;;
16814 esac
16815 WINDRES=$ac_ct_WINDRES
16816 fi
16817 else
16818 WINDRES="$ac_cv_prog_WINDRES"
16819 fi
16820
16821 RESCOMP="$WINDRES"
16822 else
16823 case "${host}" in
16824 *-*-cygwin* | *-*-mingw32* )
16825 if test -n "$ac_tool_prefix"; then
16826 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16827 set dummy ${ac_tool_prefix}windres; ac_word=$2
16828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16830 if test "${ac_cv_prog_WINDRES+set}" = set; then
16831 echo $ECHO_N "(cached) $ECHO_C" >&6
16832 else
16833 if test -n "$WINDRES"; then
16834 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16835 else
16836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16837 for as_dir in $PATH
16838 do
16839 IFS=$as_save_IFS
16840 test -z "$as_dir" && as_dir=.
16841 for ac_exec_ext in '' $ac_executable_extensions; do
16842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16843 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16845 break 2
16846 fi
16847 done
16848 done
16849 IFS=$as_save_IFS
16850
16851 fi
16852 fi
16853 WINDRES=$ac_cv_prog_WINDRES
16854 if test -n "$WINDRES"; then
16855 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16856 echo "${ECHO_T}$WINDRES" >&6; }
16857 else
16858 { echo "$as_me:$LINENO: result: no" >&5
16859 echo "${ECHO_T}no" >&6; }
16860 fi
16861
16862
16863 fi
16864 if test -z "$ac_cv_prog_WINDRES"; then
16865 ac_ct_WINDRES=$WINDRES
16866 # Extract the first word of "windres", so it can be a program name with args.
16867 set dummy windres; ac_word=$2
16868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16870 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16871 echo $ECHO_N "(cached) $ECHO_C" >&6
16872 else
16873 if test -n "$ac_ct_WINDRES"; then
16874 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16875 else
16876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16877 for as_dir in $PATH
16878 do
16879 IFS=$as_save_IFS
16880 test -z "$as_dir" && as_dir=.
16881 for ac_exec_ext in '' $ac_executable_extensions; do
16882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16883 ac_cv_prog_ac_ct_WINDRES="windres"
16884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16885 break 2
16886 fi
16887 done
16888 done
16889 IFS=$as_save_IFS
16890
16891 fi
16892 fi
16893 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16894 if test -n "$ac_ct_WINDRES"; then
16895 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16896 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16897 else
16898 { echo "$as_me:$LINENO: result: no" >&5
16899 echo "${ECHO_T}no" >&6; }
16900 fi
16901
16902 if test "x$ac_ct_WINDRES" = x; then
16903 WINDRES=""
16904 else
16905 case $cross_compiling:$ac_tool_warned in
16906 yes:)
16907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16908 whose name does not start with the host triplet. If you think this
16909 configuration is useful to you, please write to autoconf@gnu.org." >&5
16910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16911 whose name does not start with the host triplet. If you think this
16912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16913 ac_tool_warned=yes ;;
16914 esac
16915 WINDRES=$ac_ct_WINDRES
16916 fi
16917 else
16918 WINDRES="$ac_cv_prog_WINDRES"
16919 fi
16920
16921 RESCOMP="$WINDRES"
16922 if test -n "$ac_tool_prefix"; then
16923 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16924 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16927 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16928 echo $ECHO_N "(cached) $ECHO_C" >&6
16929 else
16930 if test -n "$DLLTOOL"; then
16931 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16932 else
16933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16934 for as_dir in $PATH
16935 do
16936 IFS=$as_save_IFS
16937 test -z "$as_dir" && as_dir=.
16938 for ac_exec_ext in '' $ac_executable_extensions; do
16939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16940 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16942 break 2
16943 fi
16944 done
16945 done
16946 IFS=$as_save_IFS
16947
16948 fi
16949 fi
16950 DLLTOOL=$ac_cv_prog_DLLTOOL
16951 if test -n "$DLLTOOL"; then
16952 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16953 echo "${ECHO_T}$DLLTOOL" >&6; }
16954 else
16955 { echo "$as_me:$LINENO: result: no" >&5
16956 echo "${ECHO_T}no" >&6; }
16957 fi
16958
16959
16960 fi
16961 if test -z "$ac_cv_prog_DLLTOOL"; then
16962 ac_ct_DLLTOOL=$DLLTOOL
16963 # Extract the first word of "dlltool", so it can be a program name with args.
16964 set dummy dlltool; ac_word=$2
16965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16967 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16968 echo $ECHO_N "(cached) $ECHO_C" >&6
16969 else
16970 if test -n "$ac_ct_DLLTOOL"; then
16971 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16972 else
16973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16974 for as_dir in $PATH
16975 do
16976 IFS=$as_save_IFS
16977 test -z "$as_dir" && as_dir=.
16978 for ac_exec_ext in '' $ac_executable_extensions; do
16979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16980 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16982 break 2
16983 fi
16984 done
16985 done
16986 IFS=$as_save_IFS
16987
16988 fi
16989 fi
16990 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16991 if test -n "$ac_ct_DLLTOOL"; then
16992 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16993 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16994 else
16995 { echo "$as_me:$LINENO: result: no" >&5
16996 echo "${ECHO_T}no" >&6; }
16997 fi
16998
16999 if test "x$ac_ct_DLLTOOL" = x; then
17000 DLLTOOL=""
17001 else
17002 case $cross_compiling:$ac_tool_warned in
17003 yes:)
17004 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17005 whose name does not start with the host triplet. If you think this
17006 configuration is useful to you, please write to autoconf@gnu.org." >&5
17007 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17008 whose name does not start with the host triplet. If you think this
17009 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17010 ac_tool_warned=yes ;;
17011 esac
17012 DLLTOOL=$ac_ct_DLLTOOL
17013 fi
17014 else
17015 DLLTOOL="$ac_cv_prog_DLLTOOL"
17016 fi
17017
17018 ;;
17019 esac
17020 fi
17021
17022 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17023 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17024 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 else
17027
17028 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17029 $EGREP -s GNU > /dev/null); then
17030 wx_cv_prog_makeisgnu="yes"
17031 else
17032 wx_cv_prog_makeisgnu="no"
17033 fi
17034
17035 fi
17036 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17037 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17038
17039 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17040 IF_GNU_MAKE=""
17041 else
17042 IF_GNU_MAKE="#"
17043 fi
17044
17045
17046
17047 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17048 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17049 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17050 if test "${wx_cv_prog_makevpath+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 else
17053
17054 cat - << EOF > confMake
17055 check : file
17056 cp \$? \$@
17057 cp \$? final_file
17058 EOF
17059
17060 if test ! -d sub ; then
17061 mkdir sub
17062 fi
17063 echo dummy > sub/file
17064 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17065 RESULT=$?
17066 rm -f sub/file check final_file confMake
17067 rmdir sub
17068 if test "$RESULT" = 0; then
17069 wx_cv_prog_makevpath="yes"
17070 else
17071 wx_cv_prog_makevpath="no"
17072 fi
17073
17074 fi
17075 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17076 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17077
17078 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17079 { { echo "$as_me:$LINENO: error:
17080 You need a make-utility that is able to use the variable
17081 VPATH correctly.
17082 If your version of make does not support VPATH correctly,
17083 please install GNU-make (possibly as gmake), and start
17084 configure with the following command:
17085 export MAKE=gmake; ./configure for sh-type shells
17086 setenv MAKE gmake; ./configure for csh-type shells
17087 Also please do remember to use gmake in this case every time
17088 you are trying to compile.
17089 " >&5
17090 echo "$as_me: error:
17091 You need a make-utility that is able to use the variable
17092 VPATH correctly.
17093 If your version of make does not support VPATH correctly,
17094 please install GNU-make (possibly as gmake), and start
17095 configure with the following command:
17096 export MAKE=gmake; ./configure for sh-type shells
17097 setenv MAKE gmake; ./configure for csh-type shells
17098 Also please do remember to use gmake in this case every time
17099 you are trying to compile.
17100 " >&2;}
17101 { (exit 1); exit 1; }; }
17102 fi fi
17103 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17104 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17105 LN_S=$as_ln_s
17106 if test "$LN_S" = "ln -s"; then
17107 { echo "$as_me:$LINENO: result: yes" >&5
17108 echo "${ECHO_T}yes" >&6; }
17109 else
17110 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17111 echo "${ECHO_T}no, using $LN_S" >&6; }
17112 fi
17113
17114
17115
17116
17117 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17118 CXXFLAGS="-qunique $CXXFLAGS"
17119 fi
17120
17121 case "${host}" in
17122 powerpc-*-darwin* )
17123 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17124 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17125 cat >conftest.$ac_ext <<_ACEOF
17126 /* confdefs.h. */
17127 _ACEOF
17128 cat confdefs.h >>conftest.$ac_ext
17129 cat >>conftest.$ac_ext <<_ACEOF
17130 /* end confdefs.h. */
17131
17132 int
17133 main ()
17134 {
17135 #ifndef __POWERPC__
17136 choke me for lack of PowerPC
17137 #endif
17138
17139 ;
17140 return 0;
17141 }
17142 _ACEOF
17143 rm -f conftest.$ac_objext
17144 if { (ac_try="$ac_compile"
17145 case "(($ac_try" in
17146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17147 *) ac_try_echo=$ac_try;;
17148 esac
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_compile") 2>conftest.er1
17151 ac_status=$?
17152 grep -v '^ *+' conftest.er1 >conftest.err
17153 rm -f conftest.er1
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } && {
17157 test -z "$ac_c_werror_flag" ||
17158 test ! -s conftest.err
17159 } && test -s conftest.$ac_objext; then
17160 { echo "$as_me:$LINENO: result: yes" >&5
17161 echo "${ECHO_T}yes" >&6; }
17162 else
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17165
17166 { echo "$as_me:$LINENO: result: no" >&5
17167 echo "${ECHO_T}no" >&6; }
17168 cat >>confdefs.h <<\_ACEOF
17169 #define __POWERPC__ 1
17170 _ACEOF
17171
17172
17173 fi
17174
17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17176 ;;
17177 esac
17178
17179 case "${host}" in
17180 *-*-darwin* )
17181 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17182 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17183 cat >conftest.$ac_ext <<_ACEOF
17184 /* confdefs.h. */
17185 _ACEOF
17186 cat confdefs.h >>conftest.$ac_ext
17187 cat >>conftest.$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 #include <CoreFoundation/CFBase.h>
17190
17191 int
17192 main ()
17193 {
17194
17195 ;
17196 return 0;
17197 }
17198 _ACEOF
17199 rm -f conftest.$ac_objext
17200 if { (ac_try="$ac_compile"
17201 case "(($ac_try" in
17202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17203 *) ac_try_echo=$ac_try;;
17204 esac
17205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17206 (eval "$ac_compile") 2>conftest.er1
17207 ac_status=$?
17208 grep -v '^ *+' conftest.er1 >conftest.err
17209 rm -f conftest.er1
17210 cat conftest.err >&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); } && {
17213 test -z "$ac_c_werror_flag" ||
17214 test ! -s conftest.err
17215 } && test -s conftest.$ac_objext; then
17216 { echo "$as_me:$LINENO: result: yes" >&5
17217 echo "${ECHO_T}yes" >&6; }
17218 else
17219 echo "$as_me: failed program was:" >&5
17220 sed 's/^/| /' conftest.$ac_ext >&5
17221
17222 { echo "$as_me:$LINENO: result: no" >&5
17223 echo "${ECHO_T}no" >&6; }
17224 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17225 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17226 cat >conftest.$ac_ext <<_ACEOF
17227 /* confdefs.h. */
17228 _ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 #define __CF_USE_FRAMEWORK_INCLUDES__
17233 #include <CoreFoundation/CFBase.h>
17234
17235 int
17236 main ()
17237 {
17238
17239 ;
17240 return 0;
17241 }
17242 _ACEOF
17243 rm -f conftest.$ac_objext
17244 if { (ac_try="$ac_compile"
17245 case "(($ac_try" in
17246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17247 *) ac_try_echo=$ac_try;;
17248 esac
17249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17250 (eval "$ac_compile") 2>conftest.er1
17251 ac_status=$?
17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } && {
17257 test -z "$ac_c_werror_flag" ||
17258 test ! -s conftest.err
17259 } && test -s conftest.$ac_objext; then
17260 { echo "$as_me:$LINENO: result: yes" >&5
17261 echo "${ECHO_T}yes" >&6; }
17262 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17263 else
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.$ac_ext >&5
17266
17267 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17268 See \`config.log' for more details." >&5
17269 echo "$as_me: error: no. CoreFoundation not available.
17270 See \`config.log' for more details." >&2;}
17271 { (exit 1); exit 1; }; }
17272
17273 fi
17274
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276
17277
17278 fi
17279
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281 ;;
17282 esac
17283
17284 wants_win32=0
17285 doesnt_want_win32=0
17286 case "${host}" in
17287 *-*-cygwin*)
17288 if test "$wxUSE_MSW" = 1 ; then
17289 wants_win32=1
17290 else
17291 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17292 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17293 if test "${wx_cv_nocygwin+set}" = set; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17295 else
17296
17297 cat >conftest.$ac_ext <<_ACEOF
17298 /* confdefs.h. */
17299 _ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17303
17304 int
17305 main ()
17306 {
17307
17308 #ifdef __MINGW32__
17309 choke me
17310 #endif
17311
17312 ;
17313 return 0;
17314 }
17315 _ACEOF
17316 rm -f conftest.$ac_objext
17317 if { (ac_try="$ac_compile"
17318 case "(($ac_try" in
17319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17320 *) ac_try_echo=$ac_try;;
17321 esac
17322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17323 (eval "$ac_compile") 2>conftest.er1
17324 ac_status=$?
17325 grep -v '^ *+' conftest.er1 >conftest.err
17326 rm -f conftest.er1
17327 cat conftest.err >&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); } && {
17330 test -z "$ac_c_werror_flag" ||
17331 test ! -s conftest.err
17332 } && test -s conftest.$ac_objext; then
17333 wx_cv_nocygwin=no
17334 else
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17337
17338 wx_cv_nocygwin=yes
17339
17340 fi
17341
17342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17343
17344
17345 fi
17346 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17347 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17348
17349 if test "$wx_cv_nocygwin" = "yes"; then
17350 wants_win32=1
17351 else
17352 doesnt_want_win32=1
17353 fi
17354 fi
17355 if test "$wants_win32" = 1 ; then
17356 BAKEFILE_FORCE_PLATFORM=win32
17357 fi
17358 ;;
17359 *-*-mingw*)
17360 wants_win32=1
17361 ;;
17362 esac
17363
17364 if test "$wxUSE_WINE" = "yes"; then
17365 wants_win32=1
17366 LDFLAGS_GUI="-mwindows"
17367 fi
17368
17369 if test "$wants_win32" = 1 ; then
17370 USE_UNIX=0
17371 USE_WIN32=1
17372 cat >>confdefs.h <<\_ACEOF
17373 #define __WIN32__ 1
17374 _ACEOF
17375
17376 cat >>confdefs.h <<\_ACEOF
17377 #define __WIN95__ 1
17378 _ACEOF
17379
17380 cat >>confdefs.h <<\_ACEOF
17381 #define __WINDOWS__ 1
17382 _ACEOF
17383
17384 cat >>confdefs.h <<\_ACEOF
17385 #define __GNUWIN32__ 1
17386 _ACEOF
17387
17388 cat >>confdefs.h <<\_ACEOF
17389 #define STRICT 1
17390 _ACEOF
17391
17392 fi
17393 if test "$doesnt_want_win32" = 1 ; then
17394 USE_UNIX=1
17395 USE_WIN32=0
17396 fi
17397
17398 if test "$USE_UNIX" = 1 ; then
17399 wxUSE_UNIX=yes
17400 cat >>confdefs.h <<\_ACEOF
17401 #define __UNIX__ 1
17402 _ACEOF
17403
17404 fi
17405
17406 case "${host}" in
17407 *-pc-os2_emx | *-pc-os2-emx )
17408 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17409 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17410 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17411 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17413 else
17414 ac_check_lib_save_LIBS=$LIBS
17415 LIBS="-lcExt $LIBS"
17416 cat >conftest.$ac_ext <<_ACEOF
17417 /* confdefs.h. */
17418 _ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17422
17423 /* Override any GCC internal prototype to avoid an error.
17424 Use char because int might match the return type of a GCC
17425 builtin and then its argument prototype would still apply. */
17426 #ifdef __cplusplus
17427 extern "C"
17428 #endif
17429 char drand48 ();
17430 int
17431 main ()
17432 {
17433 return drand48 ();
17434 ;
17435 return 0;
17436 }
17437 _ACEOF
17438 rm -f conftest.$ac_objext conftest$ac_exeext
17439 if { (ac_try="$ac_link"
17440 case "(($ac_try" in
17441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17442 *) ac_try_echo=$ac_try;;
17443 esac
17444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17445 (eval "$ac_link") 2>conftest.er1
17446 ac_status=$?
17447 grep -v '^ *+' conftest.er1 >conftest.err
17448 rm -f conftest.er1
17449 cat conftest.err >&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); } && {
17452 test -z "$ac_c_werror_flag" ||
17453 test ! -s conftest.err
17454 } && test -s conftest$ac_exeext &&
17455 $as_test_x conftest$ac_exeext; then
17456 ac_cv_lib_cExt_drand48=yes
17457 else
17458 echo "$as_me: failed program was:" >&5
17459 sed 's/^/| /' conftest.$ac_ext >&5
17460
17461 ac_cv_lib_cExt_drand48=no
17462 fi
17463
17464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17465 conftest$ac_exeext conftest.$ac_ext
17466 LIBS=$ac_check_lib_save_LIBS
17467 fi
17468 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17469 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17470 if test $ac_cv_lib_cExt_drand48 = yes; then
17471 LIBS="$LIBS -lcExt"
17472 fi
17473
17474 else
17475 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17476 fi
17477 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17478 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17479 if test "${wx_cv_gccversion+set}" = set; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17481 else
17482
17483 if test "$cross_compiling" = yes; then
17484 wx_cv_gccversion="EMX2"
17485
17486 else
17487 cat >conftest.$ac_ext <<_ACEOF
17488 /* confdefs.h. */
17489 _ACEOF
17490 cat confdefs.h >>conftest.$ac_ext
17491 cat >>conftest.$ac_ext <<_ACEOF
17492 /* end confdefs.h. */
17493
17494 #include <stdio.h>
17495
17496 int main()
17497 {
17498 FILE *f=fopen("conftestval", "w");
17499 if (!f) exit(1);
17500 fprintf(f,
17501 #if (__GNUC__ < 3)
17502 "EMX2"
17503 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17504 "EMX3"
17505 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17506 "Innotek5"
17507 #else
17508 "Innotek6"
17509 #endif
17510 );
17511 exit(0);
17512 }
17513
17514 _ACEOF
17515 rm -f conftest$ac_exeext
17516 if { (ac_try="$ac_link"
17517 case "(($ac_try" in
17518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17519 *) ac_try_echo=$ac_try;;
17520 esac
17521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17522 (eval "$ac_link") 2>&5
17523 ac_status=$?
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17526 { (case "(($ac_try" in
17527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17528 *) ac_try_echo=$ac_try;;
17529 esac
17530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17531 (eval "$ac_try") 2>&5
17532 ac_status=$?
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 wx_cv_gccversion=`cat conftestval`
17536 else
17537 echo "$as_me: program exited with status $ac_status" >&5
17538 echo "$as_me: failed program was:" >&5
17539 sed 's/^/| /' conftest.$ac_ext >&5
17540
17541 ( exit $ac_status )
17542 wx_cv_gccversion="EMX2"
17543 fi
17544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17545 fi
17546
17547
17548
17549 fi
17550 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17551 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17552 if test "$wx_cv_gccversion" = "EMX2"; then
17553 LIBS="$LIBS -lstdcpp"
17554 LDFLAGS="$LDFLAGS -Zsysv-signals"
17555 else
17556 if test "$wx_cv_gccversion" = "EMX3"; then
17557 LIBS="$LIBS -lstdcxx -lgcc"
17558 LDFLAGS="$LDFLAGS -Zsysv-signals"
17559 else
17560 LIBS="$LIBS -lstdc++"
17561 fi
17562 fi
17563 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17564 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17565 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17566 wxUSE_OMF=yes
17567 enable_omf=yes
17568 fi
17569 ;;
17570 *)
17571
17572 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17573 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17574 if test "${ac_cv_string_strcasecmp+set}" = set; then
17575 echo $ECHO_N "(cached) $ECHO_C" >&6
17576 else
17577
17578 cat >conftest.$ac_ext <<_ACEOF
17579 /* confdefs.h. */
17580 _ACEOF
17581 cat confdefs.h >>conftest.$ac_ext
17582 cat >>conftest.$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17584
17585 #include <string.h>
17586
17587 int
17588 main ()
17589 {
17590
17591 strcasecmp("foo", "bar");
17592
17593 ;
17594 return 0;
17595 }
17596 _ACEOF
17597 rm -f conftest.$ac_objext conftest$ac_exeext
17598 if { (ac_try="$ac_link"
17599 case "(($ac_try" in
17600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17601 *) ac_try_echo=$ac_try;;
17602 esac
17603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17604 (eval "$ac_link") 2>conftest.er1
17605 ac_status=$?
17606 grep -v '^ *+' conftest.er1 >conftest.err
17607 rm -f conftest.er1
17608 cat conftest.err >&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } && {
17611 test -z "$ac_c_werror_flag" ||
17612 test ! -s conftest.err
17613 } && test -s conftest$ac_exeext &&
17614 $as_test_x conftest$ac_exeext; then
17615 ac_cv_string_strcasecmp=yes
17616 else
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17619
17620 ac_cv_string_strcasecmp=no
17621
17622 fi
17623
17624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17625 conftest$ac_exeext conftest.$ac_ext
17626
17627 fi
17628 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17629 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17630
17631 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17632 cat >>confdefs.h <<\_ACEOF
17633 #define HAVE_STRCASECMP_IN_STRING_H 1
17634 _ACEOF
17635
17636 else
17637 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17638 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17639 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17640 echo $ECHO_N "(cached) $ECHO_C" >&6
17641 else
17642
17643 cat >conftest.$ac_ext <<_ACEOF
17644 /* confdefs.h. */
17645 _ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649
17650 #include <strings.h>
17651
17652 int
17653 main ()
17654 {
17655
17656 strcasecmp("foo", "bar");
17657
17658 ;
17659 return 0;
17660 }
17661 _ACEOF
17662 rm -f conftest.$ac_objext conftest$ac_exeext
17663 if { (ac_try="$ac_link"
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_link") 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 test -z "$ac_c_werror_flag" ||
17677 test ! -s conftest.err
17678 } && test -s conftest$ac_exeext &&
17679 $as_test_x conftest$ac_exeext; then
17680 ac_cv_strings_strcasecmp=yes
17681 else
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.$ac_ext >&5
17684
17685 ac_cv_strings_strcasecmp=no
17686
17687 fi
17688
17689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17690 conftest$ac_exeext conftest.$ac_ext
17691
17692 fi
17693 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17694 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17695
17696 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17697 cat >>confdefs.h <<\_ACEOF
17698 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17699 _ACEOF
17700
17701 else
17702 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17703 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17704 { (exit 1); exit 1; }; }
17705 fi
17706 fi
17707
17708 ;;
17709 esac
17710
17711
17712 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17713 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17714 if test "${ac_cv_header_stdc+set}" = set; then
17715 echo $ECHO_N "(cached) $ECHO_C" >&6
17716 else
17717 cat >conftest.$ac_ext <<_ACEOF
17718 /* confdefs.h. */
17719 _ACEOF
17720 cat confdefs.h >>conftest.$ac_ext
17721 cat >>conftest.$ac_ext <<_ACEOF
17722 /* end confdefs.h. */
17723 #include <stdlib.h>
17724 #include <stdarg.h>
17725 #include <string.h>
17726 #include <float.h>
17727
17728 int
17729 main ()
17730 {
17731
17732 ;
17733 return 0;
17734 }
17735 _ACEOF
17736 rm -f conftest.$ac_objext
17737 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17744 ac_status=$?
17745 grep -v '^ *+' conftest.er1 >conftest.err
17746 rm -f conftest.er1
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } && {
17750 test -z "$ac_c_werror_flag" ||
17751 test ! -s conftest.err
17752 } && test -s conftest.$ac_objext; then
17753 ac_cv_header_stdc=yes
17754 else
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17757
17758 ac_cv_header_stdc=no
17759 fi
17760
17761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17762
17763 if test $ac_cv_header_stdc = yes; then
17764 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17765 cat >conftest.$ac_ext <<_ACEOF
17766 /* confdefs.h. */
17767 _ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 #include <string.h>
17772
17773 _ACEOF
17774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17775 $EGREP "memchr" >/dev/null 2>&1; then
17776 :
17777 else
17778 ac_cv_header_stdc=no
17779 fi
17780 rm -f conftest*
17781
17782 fi
17783
17784 if test $ac_cv_header_stdc = yes; then
17785 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17786 cat >conftest.$ac_ext <<_ACEOF
17787 /* confdefs.h. */
17788 _ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 #include <stdlib.h>
17793
17794 _ACEOF
17795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17796 $EGREP "free" >/dev/null 2>&1; then
17797 :
17798 else
17799 ac_cv_header_stdc=no
17800 fi
17801 rm -f conftest*
17802
17803 fi
17804
17805 if test $ac_cv_header_stdc = yes; then
17806 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17807 if test "$cross_compiling" = yes; then
17808 :
17809 else
17810 cat >conftest.$ac_ext <<_ACEOF
17811 /* confdefs.h. */
17812 _ACEOF
17813 cat confdefs.h >>conftest.$ac_ext
17814 cat >>conftest.$ac_ext <<_ACEOF
17815 /* end confdefs.h. */
17816 #include <ctype.h>
17817 #include <stdlib.h>
17818 #if ((' ' & 0x0FF) == 0x020)
17819 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17820 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17821 #else
17822 # define ISLOWER(c) \
17823 (('a' <= (c) && (c) <= 'i') \
17824 || ('j' <= (c) && (c) <= 'r') \
17825 || ('s' <= (c) && (c) <= 'z'))
17826 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17827 #endif
17828
17829 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17830 int
17831 main ()
17832 {
17833 int i;
17834 for (i = 0; i < 256; i++)
17835 if (XOR (islower (i), ISLOWER (i))
17836 || toupper (i) != TOUPPER (i))
17837 return 2;
17838 return 0;
17839 }
17840 _ACEOF
17841 rm -f conftest$ac_exeext
17842 if { (ac_try="$ac_link"
17843 case "(($ac_try" in
17844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17845 *) ac_try_echo=$ac_try;;
17846 esac
17847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17848 (eval "$ac_link") 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17852 { (case "(($ac_try" in
17853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17854 *) ac_try_echo=$ac_try;;
17855 esac
17856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17857 (eval "$ac_try") 2>&5
17858 ac_status=$?
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17861 :
17862 else
17863 echo "$as_me: program exited with status $ac_status" >&5
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17866
17867 ( exit $ac_status )
17868 ac_cv_header_stdc=no
17869 fi
17870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17871 fi
17872
17873
17874 fi
17875 fi
17876 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17877 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17878 if test $ac_cv_header_stdc = yes; then
17879
17880 cat >>confdefs.h <<\_ACEOF
17881 #define STDC_HEADERS 1
17882 _ACEOF
17883
17884 fi
17885
17886 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17897 inttypes.h stdint.h unistd.h
17898 do
17899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17900 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17903 echo $ECHO_N "(cached) $ECHO_C" >&6
17904 else
17905 cat >conftest.$ac_ext <<_ACEOF
17906 /* confdefs.h. */
17907 _ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 $ac_includes_default
17912
17913 #include <$ac_header>
17914 _ACEOF
17915 rm -f conftest.$ac_objext
17916 if { (ac_try="$ac_compile"
17917 case "(($ac_try" in
17918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17919 *) ac_try_echo=$ac_try;;
17920 esac
17921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17922 (eval "$ac_compile") 2>conftest.er1
17923 ac_status=$?
17924 grep -v '^ *+' conftest.er1 >conftest.err
17925 rm -f conftest.er1
17926 cat conftest.err >&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } && {
17929 test -z "$ac_c_werror_flag" ||
17930 test ! -s conftest.err
17931 } && test -s conftest.$ac_objext; then
17932 eval "$as_ac_Header=yes"
17933 else
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.$ac_ext >&5
17936
17937 eval "$as_ac_Header=no"
17938 fi
17939
17940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17941 fi
17942 ac_res=`eval echo '${'$as_ac_Header'}'`
17943 { echo "$as_me:$LINENO: result: $ac_res" >&5
17944 echo "${ECHO_T}$ac_res" >&6; }
17945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17946 cat >>confdefs.h <<_ACEOF
17947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17948 _ACEOF
17949
17950 fi
17951
17952 done
17953
17954
17955
17956
17957
17958
17959
17960
17961 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17962 do
17963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17964 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17966 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17967 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 else
17969 cat >conftest.$ac_ext <<_ACEOF
17970 /* confdefs.h. */
17971 _ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17975 $ac_includes_default
17976
17977 #include <$ac_header>
17978 _ACEOF
17979 rm -f conftest.$ac_objext
17980 if { (ac_try="$ac_compile"
17981 case "(($ac_try" in
17982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17983 *) ac_try_echo=$ac_try;;
17984 esac
17985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17986 (eval "$ac_compile") 2>conftest.er1
17987 ac_status=$?
17988 grep -v '^ *+' conftest.er1 >conftest.err
17989 rm -f conftest.er1
17990 cat conftest.err >&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); } && {
17993 test -z "$ac_c_werror_flag" ||
17994 test ! -s conftest.err
17995 } && test -s conftest.$ac_objext; then
17996 eval "$as_ac_Header=yes"
17997 else
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18000
18001 eval "$as_ac_Header=no"
18002 fi
18003
18004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18005 fi
18006 ac_res=`eval echo '${'$as_ac_Header'}'`
18007 { echo "$as_me:$LINENO: result: $ac_res" >&5
18008 echo "${ECHO_T}$ac_res" >&6; }
18009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18010 cat >>confdefs.h <<_ACEOF
18011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18012 _ACEOF
18013
18014 fi
18015
18016 done
18017
18018
18019 if test "$ac_cv_header_wchar_h" != "yes"; then
18020 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
18021 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
18022 if test "${ac_cv_header_wcstr_h+set}" = set; then
18023 echo $ECHO_N "(cached) $ECHO_C" >&6
18024 else
18025 cat >conftest.$ac_ext <<_ACEOF
18026 /* confdefs.h. */
18027 _ACEOF
18028 cat confdefs.h >>conftest.$ac_ext
18029 cat >>conftest.$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18031 $ac_includes_default
18032
18033 #include <wcstr.h>
18034 _ACEOF
18035 rm -f conftest.$ac_objext
18036 if { (ac_try="$ac_compile"
18037 case "(($ac_try" in
18038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18039 *) ac_try_echo=$ac_try;;
18040 esac
18041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18042 (eval "$ac_compile") 2>conftest.er1
18043 ac_status=$?
18044 grep -v '^ *+' conftest.er1 >conftest.err
18045 rm -f conftest.er1
18046 cat conftest.err >&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } && {
18049 test -z "$ac_c_werror_flag" ||
18050 test ! -s conftest.err
18051 } && test -s conftest.$ac_objext; then
18052 ac_cv_header_wcstr_h=yes
18053 else
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18056
18057 ac_cv_header_wcstr_h=no
18058 fi
18059
18060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061 fi
18062 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
18063 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18064
18065
18066 fi
18067
18068 case "${host}" in
18069 *-pc-os2_emx | *-pc-os2-emx )
18070 if test $ac_cv_header_langinfo_h = "yes" \
18071 -a \( "$wx_cv_gccversion" = "EMX2" \
18072 -o "$wx_cv_gccversion" = "EMX3" \
18073 -o "$wx_cv_gccversion" = "Innotek5" \); then
18074 LIBS="$LIBS -lintl"
18075 fi
18076 ;;
18077 esac
18078
18079 if test "$USE_UNIX" = 1 ; then
18080 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
18081 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
18082 if test "${ac_cv_header_sys_select_h+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 else
18085 cat >conftest.$ac_ext <<_ACEOF
18086 /* confdefs.h. */
18087 _ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18091 $ac_includes_default
18092
18093 #include <sys/select.h>
18094 _ACEOF
18095 rm -f conftest.$ac_objext
18096 if { (ac_try="$ac_compile"
18097 case "(($ac_try" in
18098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18099 *) ac_try_echo=$ac_try;;
18100 esac
18101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18102 (eval "$ac_compile") 2>conftest.er1
18103 ac_status=$?
18104 grep -v '^ *+' conftest.er1 >conftest.err
18105 rm -f conftest.er1
18106 cat conftest.err >&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } && {
18109 test -z "$ac_c_werror_flag" ||
18110 test ! -s conftest.err
18111 } && test -s conftest.$ac_objext; then
18112 ac_cv_header_sys_select_h=yes
18113 else
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.$ac_ext >&5
18116
18117 ac_cv_header_sys_select_h=no
18118 fi
18119
18120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18121 fi
18122 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18123 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18124
18125
18126 fi
18127
18128
18129 for ac_header in sys/epoll.h
18130 do
18131 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18132 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18136 echo $ECHO_N "(cached) $ECHO_C" >&6
18137 fi
18138 ac_res=`eval echo '${'$as_ac_Header'}'`
18139 { echo "$as_me:$LINENO: result: $ac_res" >&5
18140 echo "${ECHO_T}$ac_res" >&6; }
18141 else
18142 # Is the header compilable?
18143 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18145 cat >conftest.$ac_ext <<_ACEOF
18146 /* confdefs.h. */
18147 _ACEOF
18148 cat confdefs.h >>conftest.$ac_ext
18149 cat >>conftest.$ac_ext <<_ACEOF
18150 /* end confdefs.h. */
18151 $ac_includes_default
18152 #include <$ac_header>
18153 _ACEOF
18154 rm -f conftest.$ac_objext
18155 if { (ac_try="$ac_compile"
18156 case "(($ac_try" in
18157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18158 *) ac_try_echo=$ac_try;;
18159 esac
18160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18161 (eval "$ac_compile") 2>conftest.er1
18162 ac_status=$?
18163 grep -v '^ *+' conftest.er1 >conftest.err
18164 rm -f conftest.er1
18165 cat conftest.err >&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); } && {
18168 test -z "$ac_c_werror_flag" ||
18169 test ! -s conftest.err
18170 } && test -s conftest.$ac_objext; then
18171 ac_header_compiler=yes
18172 else
18173 echo "$as_me: failed program was:" >&5
18174 sed 's/^/| /' conftest.$ac_ext >&5
18175
18176 ac_header_compiler=no
18177 fi
18178
18179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18180 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18181 echo "${ECHO_T}$ac_header_compiler" >&6; }
18182
18183 # Is the header present?
18184 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18185 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18186 cat >conftest.$ac_ext <<_ACEOF
18187 /* confdefs.h. */
18188 _ACEOF
18189 cat confdefs.h >>conftest.$ac_ext
18190 cat >>conftest.$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18192 #include <$ac_header>
18193 _ACEOF
18194 if { (ac_try="$ac_cpp conftest.$ac_ext"
18195 case "(($ac_try" in
18196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18197 *) ac_try_echo=$ac_try;;
18198 esac
18199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18200 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18201 ac_status=$?
18202 grep -v '^ *+' conftest.er1 >conftest.err
18203 rm -f conftest.er1
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } >/dev/null && {
18207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18208 test ! -s conftest.err
18209 }; then
18210 ac_header_preproc=yes
18211 else
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.$ac_ext >&5
18214
18215 ac_header_preproc=no
18216 fi
18217
18218 rm -f conftest.err conftest.$ac_ext
18219 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18220 echo "${ECHO_T}$ac_header_preproc" >&6; }
18221
18222 # So? What about this header?
18223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18224 yes:no: )
18225 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18226 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18228 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18229 ac_header_preproc=yes
18230 ;;
18231 no:yes:* )
18232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18236 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18237 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18238 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18239 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18242 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18243 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18244 ( cat <<\_ASBOX
18245 ## ----------------------------------------- ##
18246 ## Report this to wx-dev@lists.wxwidgets.org ##
18247 ## ----------------------------------------- ##
18248 _ASBOX
18249 ) | sed "s/^/$as_me: WARNING: /" >&2
18250 ;;
18251 esac
18252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18255 echo $ECHO_N "(cached) $ECHO_C" >&6
18256 else
18257 eval "$as_ac_Header=\$ac_header_preproc"
18258 fi
18259 ac_res=`eval echo '${'$as_ac_Header'}'`
18260 { echo "$as_me:$LINENO: result: $ac_res" >&5
18261 echo "${ECHO_T}$ac_res" >&6; }
18262
18263 fi
18264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18265 cat >>confdefs.h <<_ACEOF
18266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18267 _ACEOF
18268
18269 fi
18270
18271 done
18272
18273
18274
18275 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18276 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18277 if test "${ac_cv_c_const+set}" = set; then
18278 echo $ECHO_N "(cached) $ECHO_C" >&6
18279 else
18280 cat >conftest.$ac_ext <<_ACEOF
18281 /* confdefs.h. */
18282 _ACEOF
18283 cat confdefs.h >>conftest.$ac_ext
18284 cat >>conftest.$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18286
18287 int
18288 main ()
18289 {
18290 /* FIXME: Include the comments suggested by Paul. */
18291 #ifndef __cplusplus
18292 /* Ultrix mips cc rejects this. */
18293 typedef int charset[2];
18294 const charset cs;
18295 /* SunOS 4.1.1 cc rejects this. */
18296 char const *const *pcpcc;
18297 char **ppc;
18298 /* NEC SVR4.0.2 mips cc rejects this. */
18299 struct point {int x, y;};
18300 static struct point const zero = {0,0};
18301 /* AIX XL C 1.02.0.0 rejects this.
18302 It does not let you subtract one const X* pointer from another in
18303 an arm of an if-expression whose if-part is not a constant
18304 expression */
18305 const char *g = "string";
18306 pcpcc = &g + (g ? g-g : 0);
18307 /* HPUX 7.0 cc rejects these. */
18308 ++pcpcc;
18309 ppc = (char**) pcpcc;
18310 pcpcc = (char const *const *) ppc;
18311 { /* SCO 3.2v4 cc rejects this. */
18312 char *t;
18313 char const *s = 0 ? (char *) 0 : (char const *) 0;
18314
18315 *t++ = 0;
18316 if (s) return 0;
18317 }
18318 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18319 int x[] = {25, 17};
18320 const int *foo = &x[0];
18321 ++foo;
18322 }
18323 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18324 typedef const int *iptr;
18325 iptr p = 0;
18326 ++p;
18327 }
18328 { /* AIX XL C 1.02.0.0 rejects this saying
18329 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18330 struct s { int j; const int *ap[3]; };
18331 struct s *b; b->j = 5;
18332 }
18333 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18334 const int foo = 10;
18335 if (!foo) return 0;
18336 }
18337 return !cs[0] && !zero.x;
18338 #endif
18339
18340 ;
18341 return 0;
18342 }
18343 _ACEOF
18344 rm -f conftest.$ac_objext
18345 if { (ac_try="$ac_compile"
18346 case "(($ac_try" in
18347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18348 *) ac_try_echo=$ac_try;;
18349 esac
18350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18351 (eval "$ac_compile") 2>conftest.er1
18352 ac_status=$?
18353 grep -v '^ *+' conftest.er1 >conftest.err
18354 rm -f conftest.er1
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } && {
18358 test -z "$ac_c_werror_flag" ||
18359 test ! -s conftest.err
18360 } && test -s conftest.$ac_objext; then
18361 ac_cv_c_const=yes
18362 else
18363 echo "$as_me: failed program was:" >&5
18364 sed 's/^/| /' conftest.$ac_ext >&5
18365
18366 ac_cv_c_const=no
18367 fi
18368
18369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18370 fi
18371 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18372 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18373 if test $ac_cv_c_const = no; then
18374
18375 cat >>confdefs.h <<\_ACEOF
18376 #define const
18377 _ACEOF
18378
18379 fi
18380
18381 { echo "$as_me:$LINENO: checking for inline" >&5
18382 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18383 if test "${ac_cv_c_inline+set}" = set; then
18384 echo $ECHO_N "(cached) $ECHO_C" >&6
18385 else
18386 ac_cv_c_inline=no
18387 for ac_kw in inline __inline__ __inline; do
18388 cat >conftest.$ac_ext <<_ACEOF
18389 /* confdefs.h. */
18390 _ACEOF
18391 cat confdefs.h >>conftest.$ac_ext
18392 cat >>conftest.$ac_ext <<_ACEOF
18393 /* end confdefs.h. */
18394 #ifndef __cplusplus
18395 typedef int foo_t;
18396 static $ac_kw foo_t static_foo () {return 0; }
18397 $ac_kw foo_t foo () {return 0; }
18398 #endif
18399
18400 _ACEOF
18401 rm -f conftest.$ac_objext
18402 if { (ac_try="$ac_compile"
18403 case "(($ac_try" in
18404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18405 *) ac_try_echo=$ac_try;;
18406 esac
18407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18408 (eval "$ac_compile") 2>conftest.er1
18409 ac_status=$?
18410 grep -v '^ *+' conftest.er1 >conftest.err
18411 rm -f conftest.er1
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } && {
18415 test -z "$ac_c_werror_flag" ||
18416 test ! -s conftest.err
18417 } && test -s conftest.$ac_objext; then
18418 ac_cv_c_inline=$ac_kw
18419 else
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.$ac_ext >&5
18422
18423
18424 fi
18425
18426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18427 test "$ac_cv_c_inline" != no && break
18428 done
18429
18430 fi
18431 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18432 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18433
18434
18435 case $ac_cv_c_inline in
18436 inline | yes) ;;
18437 *)
18438 case $ac_cv_c_inline in
18439 no) ac_val=;;
18440 *) ac_val=$ac_cv_c_inline;;
18441 esac
18442 cat >>confdefs.h <<_ACEOF
18443 #ifndef __cplusplus
18444 #define inline $ac_val
18445 #endif
18446 _ACEOF
18447 ;;
18448 esac
18449
18450
18451 { echo "$as_me:$LINENO: checking for short" >&5
18452 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18453 if test "${ac_cv_type_short+set}" = set; then
18454 echo $ECHO_N "(cached) $ECHO_C" >&6
18455 else
18456 cat >conftest.$ac_ext <<_ACEOF
18457 /* confdefs.h. */
18458 _ACEOF
18459 cat confdefs.h >>conftest.$ac_ext
18460 cat >>conftest.$ac_ext <<_ACEOF
18461 /* end confdefs.h. */
18462 $ac_includes_default
18463 typedef short ac__type_new_;
18464 int
18465 main ()
18466 {
18467 if ((ac__type_new_ *) 0)
18468 return 0;
18469 if (sizeof (ac__type_new_))
18470 return 0;
18471 ;
18472 return 0;
18473 }
18474 _ACEOF
18475 rm -f conftest.$ac_objext
18476 if { (ac_try="$ac_compile"
18477 case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18480 esac
18481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18482 (eval "$ac_compile") 2>conftest.er1
18483 ac_status=$?
18484 grep -v '^ *+' conftest.er1 >conftest.err
18485 rm -f conftest.er1
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } && {
18489 test -z "$ac_c_werror_flag" ||
18490 test ! -s conftest.err
18491 } && test -s conftest.$ac_objext; then
18492 ac_cv_type_short=yes
18493 else
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18496
18497 ac_cv_type_short=no
18498 fi
18499
18500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18501 fi
18502 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18503 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18504
18505 # The cast to long int works around a bug in the HP C Compiler
18506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18508 # This bug is HP SR number 8606223364.
18509 { echo "$as_me:$LINENO: checking size of short" >&5
18510 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18511 if test "${ac_cv_sizeof_short+set}" = set; then
18512 echo $ECHO_N "(cached) $ECHO_C" >&6
18513 else
18514 if test "$cross_compiling" = yes; then
18515 # Depending upon the size, compute the lo and hi bounds.
18516 cat >conftest.$ac_ext <<_ACEOF
18517 /* confdefs.h. */
18518 _ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 $ac_includes_default
18523 typedef short ac__type_sizeof_;
18524 int
18525 main ()
18526 {
18527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18528 test_array [0] = 0
18529
18530 ;
18531 return 0;
18532 }
18533 _ACEOF
18534 rm -f conftest.$ac_objext
18535 if { (ac_try="$ac_compile"
18536 case "(($ac_try" in
18537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18538 *) ac_try_echo=$ac_try;;
18539 esac
18540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18541 (eval "$ac_compile") 2>conftest.er1
18542 ac_status=$?
18543 grep -v '^ *+' conftest.er1 >conftest.err
18544 rm -f conftest.er1
18545 cat conftest.err >&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); } && {
18548 test -z "$ac_c_werror_flag" ||
18549 test ! -s conftest.err
18550 } && test -s conftest.$ac_objext; then
18551 ac_lo=0 ac_mid=0
18552 while :; do
18553 cat >conftest.$ac_ext <<_ACEOF
18554 /* confdefs.h. */
18555 _ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 $ac_includes_default
18560 typedef short ac__type_sizeof_;
18561 int
18562 main ()
18563 {
18564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18565 test_array [0] = 0
18566
18567 ;
18568 return 0;
18569 }
18570 _ACEOF
18571 rm -f conftest.$ac_objext
18572 if { (ac_try="$ac_compile"
18573 case "(($ac_try" in
18574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18575 *) ac_try_echo=$ac_try;;
18576 esac
18577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18578 (eval "$ac_compile") 2>conftest.er1
18579 ac_status=$?
18580 grep -v '^ *+' conftest.er1 >conftest.err
18581 rm -f conftest.er1
18582 cat conftest.err >&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); } && {
18585 test -z "$ac_c_werror_flag" ||
18586 test ! -s conftest.err
18587 } && test -s conftest.$ac_objext; then
18588 ac_hi=$ac_mid; break
18589 else
18590 echo "$as_me: failed program was:" >&5
18591 sed 's/^/| /' conftest.$ac_ext >&5
18592
18593 ac_lo=`expr $ac_mid + 1`
18594 if test $ac_lo -le $ac_mid; then
18595 ac_lo= ac_hi=
18596 break
18597 fi
18598 ac_mid=`expr 2 '*' $ac_mid + 1`
18599 fi
18600
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602 done
18603 else
18604 echo "$as_me: failed program was:" >&5
18605 sed 's/^/| /' conftest.$ac_ext >&5
18606
18607 cat >conftest.$ac_ext <<_ACEOF
18608 /* confdefs.h. */
18609 _ACEOF
18610 cat confdefs.h >>conftest.$ac_ext
18611 cat >>conftest.$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18613 $ac_includes_default
18614 typedef short ac__type_sizeof_;
18615 int
18616 main ()
18617 {
18618 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18619 test_array [0] = 0
18620
18621 ;
18622 return 0;
18623 }
18624 _ACEOF
18625 rm -f conftest.$ac_objext
18626 if { (ac_try="$ac_compile"
18627 case "(($ac_try" in
18628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18629 *) ac_try_echo=$ac_try;;
18630 esac
18631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18632 (eval "$ac_compile") 2>conftest.er1
18633 ac_status=$?
18634 grep -v '^ *+' conftest.er1 >conftest.err
18635 rm -f conftest.er1
18636 cat conftest.err >&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); } && {
18639 test -z "$ac_c_werror_flag" ||
18640 test ! -s conftest.err
18641 } && test -s conftest.$ac_objext; then
18642 ac_hi=-1 ac_mid=-1
18643 while :; do
18644 cat >conftest.$ac_ext <<_ACEOF
18645 /* confdefs.h. */
18646 _ACEOF
18647 cat confdefs.h >>conftest.$ac_ext
18648 cat >>conftest.$ac_ext <<_ACEOF
18649 /* end confdefs.h. */
18650 $ac_includes_default
18651 typedef short ac__type_sizeof_;
18652 int
18653 main ()
18654 {
18655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18656 test_array [0] = 0
18657
18658 ;
18659 return 0;
18660 }
18661 _ACEOF
18662 rm -f conftest.$ac_objext
18663 if { (ac_try="$ac_compile"
18664 case "(($ac_try" in
18665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18666 *) ac_try_echo=$ac_try;;
18667 esac
18668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18669 (eval "$ac_compile") 2>conftest.er1
18670 ac_status=$?
18671 grep -v '^ *+' conftest.er1 >conftest.err
18672 rm -f conftest.er1
18673 cat conftest.err >&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } && {
18676 test -z "$ac_c_werror_flag" ||
18677 test ! -s conftest.err
18678 } && test -s conftest.$ac_objext; then
18679 ac_lo=$ac_mid; break
18680 else
18681 echo "$as_me: failed program was:" >&5
18682 sed 's/^/| /' conftest.$ac_ext >&5
18683
18684 ac_hi=`expr '(' $ac_mid ')' - 1`
18685 if test $ac_mid -le $ac_hi; then
18686 ac_lo= ac_hi=
18687 break
18688 fi
18689 ac_mid=`expr 2 '*' $ac_mid`
18690 fi
18691
18692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18693 done
18694 else
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.$ac_ext >&5
18697
18698 ac_lo= ac_hi=
18699 fi
18700
18701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18702 fi
18703
18704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18705 # Binary search between lo and hi bounds.
18706 while test "x$ac_lo" != "x$ac_hi"; do
18707 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18708 cat >conftest.$ac_ext <<_ACEOF
18709 /* confdefs.h. */
18710 _ACEOF
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 $ac_includes_default
18715 typedef short ac__type_sizeof_;
18716 int
18717 main ()
18718 {
18719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18720 test_array [0] = 0
18721
18722 ;
18723 return 0;
18724 }
18725 _ACEOF
18726 rm -f conftest.$ac_objext
18727 if { (ac_try="$ac_compile"
18728 case "(($ac_try" in
18729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18730 *) ac_try_echo=$ac_try;;
18731 esac
18732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18733 (eval "$ac_compile") 2>conftest.er1
18734 ac_status=$?
18735 grep -v '^ *+' conftest.er1 >conftest.err
18736 rm -f conftest.er1
18737 cat conftest.err >&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); } && {
18740 test -z "$ac_c_werror_flag" ||
18741 test ! -s conftest.err
18742 } && test -s conftest.$ac_objext; then
18743 ac_hi=$ac_mid
18744 else
18745 echo "$as_me: failed program was:" >&5
18746 sed 's/^/| /' conftest.$ac_ext >&5
18747
18748 ac_lo=`expr '(' $ac_mid ')' + 1`
18749 fi
18750
18751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18752 done
18753 case $ac_lo in
18754 ?*) ac_cv_sizeof_short=$ac_lo;;
18755 '') if test "$ac_cv_type_short" = yes; then
18756 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18757 See \`config.log' for more details." >&5
18758 echo "$as_me: error: cannot compute sizeof (short)
18759 See \`config.log' for more details." >&2;}
18760 { (exit 77); exit 77; }; }
18761 else
18762 ac_cv_sizeof_short=0
18763 fi ;;
18764 esac
18765 else
18766 cat >conftest.$ac_ext <<_ACEOF
18767 /* confdefs.h. */
18768 _ACEOF
18769 cat confdefs.h >>conftest.$ac_ext
18770 cat >>conftest.$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18772 $ac_includes_default
18773 typedef short ac__type_sizeof_;
18774 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18775 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18776 #include <stdio.h>
18777 #include <stdlib.h>
18778 int
18779 main ()
18780 {
18781
18782 FILE *f = fopen ("conftest.val", "w");
18783 if (! f)
18784 return 1;
18785 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18786 {
18787 long int i = longval ();
18788 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18789 return 1;
18790 fprintf (f, "%ld\n", i);
18791 }
18792 else
18793 {
18794 unsigned long int i = ulongval ();
18795 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18796 return 1;
18797 fprintf (f, "%lu\n", i);
18798 }
18799 return ferror (f) || fclose (f) != 0;
18800
18801 ;
18802 return 0;
18803 }
18804 _ACEOF
18805 rm -f conftest$ac_exeext
18806 if { (ac_try="$ac_link"
18807 case "(($ac_try" in
18808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18809 *) ac_try_echo=$ac_try;;
18810 esac
18811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18812 (eval "$ac_link") 2>&5
18813 ac_status=$?
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18816 { (case "(($ac_try" in
18817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18818 *) ac_try_echo=$ac_try;;
18819 esac
18820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18821 (eval "$ac_try") 2>&5
18822 ac_status=$?
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); }; }; then
18825 ac_cv_sizeof_short=`cat conftest.val`
18826 else
18827 echo "$as_me: program exited with status $ac_status" >&5
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.$ac_ext >&5
18830
18831 ( exit $ac_status )
18832 if test "$ac_cv_type_short" = yes; then
18833 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18834 See \`config.log' for more details." >&5
18835 echo "$as_me: error: cannot compute sizeof (short)
18836 See \`config.log' for more details." >&2;}
18837 { (exit 77); exit 77; }; }
18838 else
18839 ac_cv_sizeof_short=0
18840 fi
18841 fi
18842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18843 fi
18844 rm -f conftest.val
18845 fi
18846 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18847 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18848
18849
18850
18851 cat >>confdefs.h <<_ACEOF
18852 #define SIZEOF_SHORT $ac_cv_sizeof_short
18853 _ACEOF
18854
18855
18856 { echo "$as_me:$LINENO: checking for void *" >&5
18857 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18858 if test "${ac_cv_type_void_p+set}" = set; then
18859 echo $ECHO_N "(cached) $ECHO_C" >&6
18860 else
18861 cat >conftest.$ac_ext <<_ACEOF
18862 /* confdefs.h. */
18863 _ACEOF
18864 cat confdefs.h >>conftest.$ac_ext
18865 cat >>conftest.$ac_ext <<_ACEOF
18866 /* end confdefs.h. */
18867 $ac_includes_default
18868 typedef void * ac__type_new_;
18869 int
18870 main ()
18871 {
18872 if ((ac__type_new_ *) 0)
18873 return 0;
18874 if (sizeof (ac__type_new_))
18875 return 0;
18876 ;
18877 return 0;
18878 }
18879 _ACEOF
18880 rm -f conftest.$ac_objext
18881 if { (ac_try="$ac_compile"
18882 case "(($ac_try" in
18883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18884 *) ac_try_echo=$ac_try;;
18885 esac
18886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18887 (eval "$ac_compile") 2>conftest.er1
18888 ac_status=$?
18889 grep -v '^ *+' conftest.er1 >conftest.err
18890 rm -f conftest.er1
18891 cat conftest.err >&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } && {
18894 test -z "$ac_c_werror_flag" ||
18895 test ! -s conftest.err
18896 } && test -s conftest.$ac_objext; then
18897 ac_cv_type_void_p=yes
18898 else
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.$ac_ext >&5
18901
18902 ac_cv_type_void_p=no
18903 fi
18904
18905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18906 fi
18907 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18908 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18909
18910 # The cast to long int works around a bug in the HP C Compiler
18911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18913 # This bug is HP SR number 8606223364.
18914 { echo "$as_me:$LINENO: checking size of void *" >&5
18915 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18916 if test "${ac_cv_sizeof_void_p+set}" = set; then
18917 echo $ECHO_N "(cached) $ECHO_C" >&6
18918 else
18919 if test "$cross_compiling" = yes; then
18920 # Depending upon the size, compute the lo and hi bounds.
18921 cat >conftest.$ac_ext <<_ACEOF
18922 /* confdefs.h. */
18923 _ACEOF
18924 cat confdefs.h >>conftest.$ac_ext
18925 cat >>conftest.$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 $ac_includes_default
18928 typedef void * ac__type_sizeof_;
18929 int
18930 main ()
18931 {
18932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18933 test_array [0] = 0
18934
18935 ;
18936 return 0;
18937 }
18938 _ACEOF
18939 rm -f conftest.$ac_objext
18940 if { (ac_try="$ac_compile"
18941 case "(($ac_try" in
18942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18943 *) ac_try_echo=$ac_try;;
18944 esac
18945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18946 (eval "$ac_compile") 2>conftest.er1
18947 ac_status=$?
18948 grep -v '^ *+' conftest.er1 >conftest.err
18949 rm -f conftest.er1
18950 cat conftest.err >&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } && {
18953 test -z "$ac_c_werror_flag" ||
18954 test ! -s conftest.err
18955 } && test -s conftest.$ac_objext; then
18956 ac_lo=0 ac_mid=0
18957 while :; do
18958 cat >conftest.$ac_ext <<_ACEOF
18959 /* confdefs.h. */
18960 _ACEOF
18961 cat confdefs.h >>conftest.$ac_ext
18962 cat >>conftest.$ac_ext <<_ACEOF
18963 /* end confdefs.h. */
18964 $ac_includes_default
18965 typedef void * ac__type_sizeof_;
18966 int
18967 main ()
18968 {
18969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18970 test_array [0] = 0
18971
18972 ;
18973 return 0;
18974 }
18975 _ACEOF
18976 rm -f conftest.$ac_objext
18977 if { (ac_try="$ac_compile"
18978 case "(($ac_try" in
18979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18980 *) ac_try_echo=$ac_try;;
18981 esac
18982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18983 (eval "$ac_compile") 2>conftest.er1
18984 ac_status=$?
18985 grep -v '^ *+' conftest.er1 >conftest.err
18986 rm -f conftest.er1
18987 cat conftest.err >&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && {
18990 test -z "$ac_c_werror_flag" ||
18991 test ! -s conftest.err
18992 } && test -s conftest.$ac_objext; then
18993 ac_hi=$ac_mid; break
18994 else
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.$ac_ext >&5
18997
18998 ac_lo=`expr $ac_mid + 1`
18999 if test $ac_lo -le $ac_mid; then
19000 ac_lo= ac_hi=
19001 break
19002 fi
19003 ac_mid=`expr 2 '*' $ac_mid + 1`
19004 fi
19005
19006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19007 done
19008 else
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19011
19012 cat >conftest.$ac_ext <<_ACEOF
19013 /* confdefs.h. */
19014 _ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19019 typedef void * ac__type_sizeof_;
19020 int
19021 main ()
19022 {
19023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19024 test_array [0] = 0
19025
19026 ;
19027 return 0;
19028 }
19029 _ACEOF
19030 rm -f conftest.$ac_objext
19031 if { (ac_try="$ac_compile"
19032 case "(($ac_try" in
19033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19034 *) ac_try_echo=$ac_try;;
19035 esac
19036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19037 (eval "$ac_compile") 2>conftest.er1
19038 ac_status=$?
19039 grep -v '^ *+' conftest.er1 >conftest.err
19040 rm -f conftest.er1
19041 cat conftest.err >&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } && {
19044 test -z "$ac_c_werror_flag" ||
19045 test ! -s conftest.err
19046 } && test -s conftest.$ac_objext; then
19047 ac_hi=-1 ac_mid=-1
19048 while :; do
19049 cat >conftest.$ac_ext <<_ACEOF
19050 /* confdefs.h. */
19051 _ACEOF
19052 cat confdefs.h >>conftest.$ac_ext
19053 cat >>conftest.$ac_ext <<_ACEOF
19054 /* end confdefs.h. */
19055 $ac_includes_default
19056 typedef void * ac__type_sizeof_;
19057 int
19058 main ()
19059 {
19060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19061 test_array [0] = 0
19062
19063 ;
19064 return 0;
19065 }
19066 _ACEOF
19067 rm -f conftest.$ac_objext
19068 if { (ac_try="$ac_compile"
19069 case "(($ac_try" in
19070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19071 *) ac_try_echo=$ac_try;;
19072 esac
19073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_compile") 2>conftest.er1
19075 ac_status=$?
19076 grep -v '^ *+' conftest.er1 >conftest.err
19077 rm -f conftest.er1
19078 cat conftest.err >&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); } && {
19081 test -z "$ac_c_werror_flag" ||
19082 test ! -s conftest.err
19083 } && test -s conftest.$ac_objext; then
19084 ac_lo=$ac_mid; break
19085 else
19086 echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.$ac_ext >&5
19088
19089 ac_hi=`expr '(' $ac_mid ')' - 1`
19090 if test $ac_mid -le $ac_hi; then
19091 ac_lo= ac_hi=
19092 break
19093 fi
19094 ac_mid=`expr 2 '*' $ac_mid`
19095 fi
19096
19097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19098 done
19099 else
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19102
19103 ac_lo= ac_hi=
19104 fi
19105
19106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19107 fi
19108
19109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19110 # Binary search between lo and hi bounds.
19111 while test "x$ac_lo" != "x$ac_hi"; do
19112 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19113 cat >conftest.$ac_ext <<_ACEOF
19114 /* confdefs.h. */
19115 _ACEOF
19116 cat confdefs.h >>conftest.$ac_ext
19117 cat >>conftest.$ac_ext <<_ACEOF
19118 /* end confdefs.h. */
19119 $ac_includes_default
19120 typedef void * ac__type_sizeof_;
19121 int
19122 main ()
19123 {
19124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19125 test_array [0] = 0
19126
19127 ;
19128 return 0;
19129 }
19130 _ACEOF
19131 rm -f conftest.$ac_objext
19132 if { (ac_try="$ac_compile"
19133 case "(($ac_try" in
19134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19135 *) ac_try_echo=$ac_try;;
19136 esac
19137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19138 (eval "$ac_compile") 2>conftest.er1
19139 ac_status=$?
19140 grep -v '^ *+' conftest.er1 >conftest.err
19141 rm -f conftest.er1
19142 cat conftest.err >&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } && {
19145 test -z "$ac_c_werror_flag" ||
19146 test ! -s conftest.err
19147 } && test -s conftest.$ac_objext; then
19148 ac_hi=$ac_mid
19149 else
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19152
19153 ac_lo=`expr '(' $ac_mid ')' + 1`
19154 fi
19155
19156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19157 done
19158 case $ac_lo in
19159 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19160 '') if test "$ac_cv_type_void_p" = yes; then
19161 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19162 See \`config.log' for more details." >&5
19163 echo "$as_me: error: cannot compute sizeof (void *)
19164 See \`config.log' for more details." >&2;}
19165 { (exit 77); exit 77; }; }
19166 else
19167 ac_cv_sizeof_void_p=0
19168 fi ;;
19169 esac
19170 else
19171 cat >conftest.$ac_ext <<_ACEOF
19172 /* confdefs.h. */
19173 _ACEOF
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 $ac_includes_default
19178 typedef void * ac__type_sizeof_;
19179 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19180 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19181 #include <stdio.h>
19182 #include <stdlib.h>
19183 int
19184 main ()
19185 {
19186
19187 FILE *f = fopen ("conftest.val", "w");
19188 if (! f)
19189 return 1;
19190 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19191 {
19192 long int i = longval ();
19193 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19194 return 1;
19195 fprintf (f, "%ld\n", i);
19196 }
19197 else
19198 {
19199 unsigned long int i = ulongval ();
19200 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19201 return 1;
19202 fprintf (f, "%lu\n", i);
19203 }
19204 return ferror (f) || fclose (f) != 0;
19205
19206 ;
19207 return 0;
19208 }
19209 _ACEOF
19210 rm -f conftest$ac_exeext
19211 if { (ac_try="$ac_link"
19212 case "(($ac_try" in
19213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19214 *) ac_try_echo=$ac_try;;
19215 esac
19216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19217 (eval "$ac_link") 2>&5
19218 ac_status=$?
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19221 { (case "(($ac_try" in
19222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19223 *) ac_try_echo=$ac_try;;
19224 esac
19225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19226 (eval "$ac_try") 2>&5
19227 ac_status=$?
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; }; then
19230 ac_cv_sizeof_void_p=`cat conftest.val`
19231 else
19232 echo "$as_me: program exited with status $ac_status" >&5
19233 echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.$ac_ext >&5
19235
19236 ( exit $ac_status )
19237 if test "$ac_cv_type_void_p" = yes; then
19238 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19239 See \`config.log' for more details." >&5
19240 echo "$as_me: error: cannot compute sizeof (void *)
19241 See \`config.log' for more details." >&2;}
19242 { (exit 77); exit 77; }; }
19243 else
19244 ac_cv_sizeof_void_p=0
19245 fi
19246 fi
19247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19248 fi
19249 rm -f conftest.val
19250 fi
19251 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19252 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19253
19254
19255
19256 cat >>confdefs.h <<_ACEOF
19257 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19258 _ACEOF
19259
19260
19261 { echo "$as_me:$LINENO: checking for int" >&5
19262 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19263 if test "${ac_cv_type_int+set}" = set; then
19264 echo $ECHO_N "(cached) $ECHO_C" >&6
19265 else
19266 cat >conftest.$ac_ext <<_ACEOF
19267 /* confdefs.h. */
19268 _ACEOF
19269 cat confdefs.h >>conftest.$ac_ext
19270 cat >>conftest.$ac_ext <<_ACEOF
19271 /* end confdefs.h. */
19272 $ac_includes_default
19273 typedef int ac__type_new_;
19274 int
19275 main ()
19276 {
19277 if ((ac__type_new_ *) 0)
19278 return 0;
19279 if (sizeof (ac__type_new_))
19280 return 0;
19281 ;
19282 return 0;
19283 }
19284 _ACEOF
19285 rm -f conftest.$ac_objext
19286 if { (ac_try="$ac_compile"
19287 case "(($ac_try" in
19288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19289 *) ac_try_echo=$ac_try;;
19290 esac
19291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19292 (eval "$ac_compile") 2>conftest.er1
19293 ac_status=$?
19294 grep -v '^ *+' conftest.er1 >conftest.err
19295 rm -f conftest.er1
19296 cat conftest.err >&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } && {
19299 test -z "$ac_c_werror_flag" ||
19300 test ! -s conftest.err
19301 } && test -s conftest.$ac_objext; then
19302 ac_cv_type_int=yes
19303 else
19304 echo "$as_me: failed program was:" >&5
19305 sed 's/^/| /' conftest.$ac_ext >&5
19306
19307 ac_cv_type_int=no
19308 fi
19309
19310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19311 fi
19312 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19313 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19314
19315 # The cast to long int works around a bug in the HP C Compiler
19316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19318 # This bug is HP SR number 8606223364.
19319 { echo "$as_me:$LINENO: checking size of int" >&5
19320 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19321 if test "${ac_cv_sizeof_int+set}" = set; then
19322 echo $ECHO_N "(cached) $ECHO_C" >&6
19323 else
19324 if test "$cross_compiling" = yes; then
19325 # Depending upon the size, compute the lo and hi bounds.
19326 cat >conftest.$ac_ext <<_ACEOF
19327 /* confdefs.h. */
19328 _ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 $ac_includes_default
19333 typedef int ac__type_sizeof_;
19334 int
19335 main ()
19336 {
19337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19338 test_array [0] = 0
19339
19340 ;
19341 return 0;
19342 }
19343 _ACEOF
19344 rm -f conftest.$ac_objext
19345 if { (ac_try="$ac_compile"
19346 case "(($ac_try" in
19347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19348 *) ac_try_echo=$ac_try;;
19349 esac
19350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19351 (eval "$ac_compile") 2>conftest.er1
19352 ac_status=$?
19353 grep -v '^ *+' conftest.er1 >conftest.err
19354 rm -f conftest.er1
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } && {
19358 test -z "$ac_c_werror_flag" ||
19359 test ! -s conftest.err
19360 } && test -s conftest.$ac_objext; then
19361 ac_lo=0 ac_mid=0
19362 while :; do
19363 cat >conftest.$ac_ext <<_ACEOF
19364 /* confdefs.h. */
19365 _ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 $ac_includes_default
19370 typedef int ac__type_sizeof_;
19371 int
19372 main ()
19373 {
19374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19375 test_array [0] = 0
19376
19377 ;
19378 return 0;
19379 }
19380 _ACEOF
19381 rm -f conftest.$ac_objext
19382 if { (ac_try="$ac_compile"
19383 case "(($ac_try" in
19384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19385 *) ac_try_echo=$ac_try;;
19386 esac
19387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_compile") 2>conftest.er1
19389 ac_status=$?
19390 grep -v '^ *+' conftest.er1 >conftest.err
19391 rm -f conftest.er1
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest.$ac_objext; then
19398 ac_hi=$ac_mid; break
19399 else
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19402
19403 ac_lo=`expr $ac_mid + 1`
19404 if test $ac_lo -le $ac_mid; then
19405 ac_lo= ac_hi=
19406 break
19407 fi
19408 ac_mid=`expr 2 '*' $ac_mid + 1`
19409 fi
19410
19411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19412 done
19413 else
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19416
19417 cat >conftest.$ac_ext <<_ACEOF
19418 /* confdefs.h. */
19419 _ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19424 typedef int ac__type_sizeof_;
19425 int
19426 main ()
19427 {
19428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19429 test_array [0] = 0
19430
19431 ;
19432 return 0;
19433 }
19434 _ACEOF
19435 rm -f conftest.$ac_objext
19436 if { (ac_try="$ac_compile"
19437 case "(($ac_try" in
19438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19439 *) ac_try_echo=$ac_try;;
19440 esac
19441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19442 (eval "$ac_compile") 2>conftest.er1
19443 ac_status=$?
19444 grep -v '^ *+' conftest.er1 >conftest.err
19445 rm -f conftest.er1
19446 cat conftest.err >&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } && {
19449 test -z "$ac_c_werror_flag" ||
19450 test ! -s conftest.err
19451 } && test -s conftest.$ac_objext; then
19452 ac_hi=-1 ac_mid=-1
19453 while :; do
19454 cat >conftest.$ac_ext <<_ACEOF
19455 /* confdefs.h. */
19456 _ACEOF
19457 cat confdefs.h >>conftest.$ac_ext
19458 cat >>conftest.$ac_ext <<_ACEOF
19459 /* end confdefs.h. */
19460 $ac_includes_default
19461 typedef int ac__type_sizeof_;
19462 int
19463 main ()
19464 {
19465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19466 test_array [0] = 0
19467
19468 ;
19469 return 0;
19470 }
19471 _ACEOF
19472 rm -f conftest.$ac_objext
19473 if { (ac_try="$ac_compile"
19474 case "(($ac_try" in
19475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19476 *) ac_try_echo=$ac_try;;
19477 esac
19478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19479 (eval "$ac_compile") 2>conftest.er1
19480 ac_status=$?
19481 grep -v '^ *+' conftest.er1 >conftest.err
19482 rm -f conftest.er1
19483 cat conftest.err >&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } && {
19486 test -z "$ac_c_werror_flag" ||
19487 test ! -s conftest.err
19488 } && test -s conftest.$ac_objext; then
19489 ac_lo=$ac_mid; break
19490 else
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.$ac_ext >&5
19493
19494 ac_hi=`expr '(' $ac_mid ')' - 1`
19495 if test $ac_mid -le $ac_hi; then
19496 ac_lo= ac_hi=
19497 break
19498 fi
19499 ac_mid=`expr 2 '*' $ac_mid`
19500 fi
19501
19502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19503 done
19504 else
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19507
19508 ac_lo= ac_hi=
19509 fi
19510
19511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19512 fi
19513
19514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19515 # Binary search between lo and hi bounds.
19516 while test "x$ac_lo" != "x$ac_hi"; do
19517 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19518 cat >conftest.$ac_ext <<_ACEOF
19519 /* confdefs.h. */
19520 _ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524 $ac_includes_default
19525 typedef int ac__type_sizeof_;
19526 int
19527 main ()
19528 {
19529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19530 test_array [0] = 0
19531
19532 ;
19533 return 0;
19534 }
19535 _ACEOF
19536 rm -f conftest.$ac_objext
19537 if { (ac_try="$ac_compile"
19538 case "(($ac_try" in
19539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19540 *) ac_try_echo=$ac_try;;
19541 esac
19542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19543 (eval "$ac_compile") 2>conftest.er1
19544 ac_status=$?
19545 grep -v '^ *+' conftest.er1 >conftest.err
19546 rm -f conftest.er1
19547 cat conftest.err >&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); } && {
19550 test -z "$ac_c_werror_flag" ||
19551 test ! -s conftest.err
19552 } && test -s conftest.$ac_objext; then
19553 ac_hi=$ac_mid
19554 else
19555 echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.$ac_ext >&5
19557
19558 ac_lo=`expr '(' $ac_mid ')' + 1`
19559 fi
19560
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19562 done
19563 case $ac_lo in
19564 ?*) ac_cv_sizeof_int=$ac_lo;;
19565 '') if test "$ac_cv_type_int" = yes; then
19566 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19567 See \`config.log' for more details." >&5
19568 echo "$as_me: error: cannot compute sizeof (int)
19569 See \`config.log' for more details." >&2;}
19570 { (exit 77); exit 77; }; }
19571 else
19572 ac_cv_sizeof_int=0
19573 fi ;;
19574 esac
19575 else
19576 cat >conftest.$ac_ext <<_ACEOF
19577 /* confdefs.h. */
19578 _ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 $ac_includes_default
19583 typedef int ac__type_sizeof_;
19584 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19585 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19586 #include <stdio.h>
19587 #include <stdlib.h>
19588 int
19589 main ()
19590 {
19591
19592 FILE *f = fopen ("conftest.val", "w");
19593 if (! f)
19594 return 1;
19595 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19596 {
19597 long int i = longval ();
19598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19599 return 1;
19600 fprintf (f, "%ld\n", i);
19601 }
19602 else
19603 {
19604 unsigned long int i = ulongval ();
19605 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19606 return 1;
19607 fprintf (f, "%lu\n", i);
19608 }
19609 return ferror (f) || fclose (f) != 0;
19610
19611 ;
19612 return 0;
19613 }
19614 _ACEOF
19615 rm -f conftest$ac_exeext
19616 if { (ac_try="$ac_link"
19617 case "(($ac_try" in
19618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19619 *) ac_try_echo=$ac_try;;
19620 esac
19621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19622 (eval "$ac_link") 2>&5
19623 ac_status=$?
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19626 { (case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19629 esac
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_try") 2>&5
19632 ac_status=$?
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 ac_cv_sizeof_int=`cat conftest.val`
19636 else
19637 echo "$as_me: program exited with status $ac_status" >&5
19638 echo "$as_me: failed program was:" >&5
19639 sed 's/^/| /' conftest.$ac_ext >&5
19640
19641 ( exit $ac_status )
19642 if test "$ac_cv_type_int" = yes; then
19643 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19644 See \`config.log' for more details." >&5
19645 echo "$as_me: error: cannot compute sizeof (int)
19646 See \`config.log' for more details." >&2;}
19647 { (exit 77); exit 77; }; }
19648 else
19649 ac_cv_sizeof_int=0
19650 fi
19651 fi
19652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19653 fi
19654 rm -f conftest.val
19655 fi
19656 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19657 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19658
19659
19660
19661 cat >>confdefs.h <<_ACEOF
19662 #define SIZEOF_INT $ac_cv_sizeof_int
19663 _ACEOF
19664
19665
19666 { echo "$as_me:$LINENO: checking for long" >&5
19667 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19668 if test "${ac_cv_type_long+set}" = set; then
19669 echo $ECHO_N "(cached) $ECHO_C" >&6
19670 else
19671 cat >conftest.$ac_ext <<_ACEOF
19672 /* confdefs.h. */
19673 _ACEOF
19674 cat confdefs.h >>conftest.$ac_ext
19675 cat >>conftest.$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 $ac_includes_default
19678 typedef long ac__type_new_;
19679 int
19680 main ()
19681 {
19682 if ((ac__type_new_ *) 0)
19683 return 0;
19684 if (sizeof (ac__type_new_))
19685 return 0;
19686 ;
19687 return 0;
19688 }
19689 _ACEOF
19690 rm -f conftest.$ac_objext
19691 if { (ac_try="$ac_compile"
19692 case "(($ac_try" in
19693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19694 *) ac_try_echo=$ac_try;;
19695 esac
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_compile") 2>conftest.er1
19698 ac_status=$?
19699 grep -v '^ *+' conftest.er1 >conftest.err
19700 rm -f conftest.er1
19701 cat conftest.err >&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && {
19704 test -z "$ac_c_werror_flag" ||
19705 test ! -s conftest.err
19706 } && test -s conftest.$ac_objext; then
19707 ac_cv_type_long=yes
19708 else
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.$ac_ext >&5
19711
19712 ac_cv_type_long=no
19713 fi
19714
19715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19716 fi
19717 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19718 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19719
19720 # The cast to long int works around a bug in the HP C Compiler
19721 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19722 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19723 # This bug is HP SR number 8606223364.
19724 { echo "$as_me:$LINENO: checking size of long" >&5
19725 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19726 if test "${ac_cv_sizeof_long+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 else
19729 if test "$cross_compiling" = yes; then
19730 # Depending upon the size, compute the lo and hi bounds.
19731 cat >conftest.$ac_ext <<_ACEOF
19732 /* confdefs.h. */
19733 _ACEOF
19734 cat confdefs.h >>conftest.$ac_ext
19735 cat >>conftest.$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 $ac_includes_default
19738 typedef long ac__type_sizeof_;
19739 int
19740 main ()
19741 {
19742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19743 test_array [0] = 0
19744
19745 ;
19746 return 0;
19747 }
19748 _ACEOF
19749 rm -f conftest.$ac_objext
19750 if { (ac_try="$ac_compile"
19751 case "(($ac_try" in
19752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19753 *) ac_try_echo=$ac_try;;
19754 esac
19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19756 (eval "$ac_compile") 2>conftest.er1
19757 ac_status=$?
19758 grep -v '^ *+' conftest.er1 >conftest.err
19759 rm -f conftest.er1
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } && {
19763 test -z "$ac_c_werror_flag" ||
19764 test ! -s conftest.err
19765 } && test -s conftest.$ac_objext; then
19766 ac_lo=0 ac_mid=0
19767 while :; do
19768 cat >conftest.$ac_ext <<_ACEOF
19769 /* confdefs.h. */
19770 _ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 $ac_includes_default
19775 typedef long ac__type_sizeof_;
19776 int
19777 main ()
19778 {
19779 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19780 test_array [0] = 0
19781
19782 ;
19783 return 0;
19784 }
19785 _ACEOF
19786 rm -f conftest.$ac_objext
19787 if { (ac_try="$ac_compile"
19788 case "(($ac_try" in
19789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19790 *) ac_try_echo=$ac_try;;
19791 esac
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_compile") 2>conftest.er1
19794 ac_status=$?
19795 grep -v '^ *+' conftest.er1 >conftest.err
19796 rm -f conftest.er1
19797 cat conftest.err >&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } && {
19800 test -z "$ac_c_werror_flag" ||
19801 test ! -s conftest.err
19802 } && test -s conftest.$ac_objext; then
19803 ac_hi=$ac_mid; break
19804 else
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.$ac_ext >&5
19807
19808 ac_lo=`expr $ac_mid + 1`
19809 if test $ac_lo -le $ac_mid; then
19810 ac_lo= ac_hi=
19811 break
19812 fi
19813 ac_mid=`expr 2 '*' $ac_mid + 1`
19814 fi
19815
19816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817 done
19818 else
19819 echo "$as_me: failed program was:" >&5
19820 sed 's/^/| /' conftest.$ac_ext >&5
19821
19822 cat >conftest.$ac_ext <<_ACEOF
19823 /* confdefs.h. */
19824 _ACEOF
19825 cat confdefs.h >>conftest.$ac_ext
19826 cat >>conftest.$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 $ac_includes_default
19829 typedef long ac__type_sizeof_;
19830 int
19831 main ()
19832 {
19833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19834 test_array [0] = 0
19835
19836 ;
19837 return 0;
19838 }
19839 _ACEOF
19840 rm -f conftest.$ac_objext
19841 if { (ac_try="$ac_compile"
19842 case "(($ac_try" in
19843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19844 *) ac_try_echo=$ac_try;;
19845 esac
19846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19847 (eval "$ac_compile") 2>conftest.er1
19848 ac_status=$?
19849 grep -v '^ *+' conftest.er1 >conftest.err
19850 rm -f conftest.er1
19851 cat conftest.err >&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } && {
19854 test -z "$ac_c_werror_flag" ||
19855 test ! -s conftest.err
19856 } && test -s conftest.$ac_objext; then
19857 ac_hi=-1 ac_mid=-1
19858 while :; do
19859 cat >conftest.$ac_ext <<_ACEOF
19860 /* confdefs.h. */
19861 _ACEOF
19862 cat confdefs.h >>conftest.$ac_ext
19863 cat >>conftest.$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 $ac_includes_default
19866 typedef long ac__type_sizeof_;
19867 int
19868 main ()
19869 {
19870 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19871 test_array [0] = 0
19872
19873 ;
19874 return 0;
19875 }
19876 _ACEOF
19877 rm -f conftest.$ac_objext
19878 if { (ac_try="$ac_compile"
19879 case "(($ac_try" in
19880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19881 *) ac_try_echo=$ac_try;;
19882 esac
19883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19884 (eval "$ac_compile") 2>conftest.er1
19885 ac_status=$?
19886 grep -v '^ *+' conftest.er1 >conftest.err
19887 rm -f conftest.er1
19888 cat conftest.err >&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); } && {
19891 test -z "$ac_c_werror_flag" ||
19892 test ! -s conftest.err
19893 } && test -s conftest.$ac_objext; then
19894 ac_lo=$ac_mid; break
19895 else
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.$ac_ext >&5
19898
19899 ac_hi=`expr '(' $ac_mid ')' - 1`
19900 if test $ac_mid -le $ac_hi; then
19901 ac_lo= ac_hi=
19902 break
19903 fi
19904 ac_mid=`expr 2 '*' $ac_mid`
19905 fi
19906
19907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19908 done
19909 else
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19912
19913 ac_lo= ac_hi=
19914 fi
19915
19916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19917 fi
19918
19919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19920 # Binary search between lo and hi bounds.
19921 while test "x$ac_lo" != "x$ac_hi"; do
19922 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19923 cat >conftest.$ac_ext <<_ACEOF
19924 /* confdefs.h. */
19925 _ACEOF
19926 cat confdefs.h >>conftest.$ac_ext
19927 cat >>conftest.$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929 $ac_includes_default
19930 typedef long ac__type_sizeof_;
19931 int
19932 main ()
19933 {
19934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19935 test_array [0] = 0
19936
19937 ;
19938 return 0;
19939 }
19940 _ACEOF
19941 rm -f conftest.$ac_objext
19942 if { (ac_try="$ac_compile"
19943 case "(($ac_try" in
19944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19945 *) ac_try_echo=$ac_try;;
19946 esac
19947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19948 (eval "$ac_compile") 2>conftest.er1
19949 ac_status=$?
19950 grep -v '^ *+' conftest.er1 >conftest.err
19951 rm -f conftest.er1
19952 cat conftest.err >&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } && {
19955 test -z "$ac_c_werror_flag" ||
19956 test ! -s conftest.err
19957 } && test -s conftest.$ac_objext; then
19958 ac_hi=$ac_mid
19959 else
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19962
19963 ac_lo=`expr '(' $ac_mid ')' + 1`
19964 fi
19965
19966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19967 done
19968 case $ac_lo in
19969 ?*) ac_cv_sizeof_long=$ac_lo;;
19970 '') if test "$ac_cv_type_long" = yes; then
19971 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19972 See \`config.log' for more details." >&5
19973 echo "$as_me: error: cannot compute sizeof (long)
19974 See \`config.log' for more details." >&2;}
19975 { (exit 77); exit 77; }; }
19976 else
19977 ac_cv_sizeof_long=0
19978 fi ;;
19979 esac
19980 else
19981 cat >conftest.$ac_ext <<_ACEOF
19982 /* confdefs.h. */
19983 _ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 $ac_includes_default
19988 typedef long ac__type_sizeof_;
19989 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19990 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19991 #include <stdio.h>
19992 #include <stdlib.h>
19993 int
19994 main ()
19995 {
19996
19997 FILE *f = fopen ("conftest.val", "w");
19998 if (! f)
19999 return 1;
20000 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20001 {
20002 long int i = longval ();
20003 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20004 return 1;
20005 fprintf (f, "%ld\n", i);
20006 }
20007 else
20008 {
20009 unsigned long int i = ulongval ();
20010 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20011 return 1;
20012 fprintf (f, "%lu\n", i);
20013 }
20014 return ferror (f) || fclose (f) != 0;
20015
20016 ;
20017 return 0;
20018 }
20019 _ACEOF
20020 rm -f conftest$ac_exeext
20021 if { (ac_try="$ac_link"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20025 esac
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_link") 2>&5
20028 ac_status=$?
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20031 { (case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20034 esac
20035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_try") 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_sizeof_long=`cat conftest.val`
20041 else
20042 echo "$as_me: program exited with status $ac_status" >&5
20043 echo "$as_me: failed program was:" >&5
20044 sed 's/^/| /' conftest.$ac_ext >&5
20045
20046 ( exit $ac_status )
20047 if test "$ac_cv_type_long" = yes; then
20048 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20049 See \`config.log' for more details." >&5
20050 echo "$as_me: error: cannot compute sizeof (long)
20051 See \`config.log' for more details." >&2;}
20052 { (exit 77); exit 77; }; }
20053 else
20054 ac_cv_sizeof_long=0
20055 fi
20056 fi
20057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20058 fi
20059 rm -f conftest.val
20060 fi
20061 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20062 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20063
20064
20065
20066 cat >>confdefs.h <<_ACEOF
20067 #define SIZEOF_LONG $ac_cv_sizeof_long
20068 _ACEOF
20069
20070
20071 { echo "$as_me:$LINENO: checking for size_t" >&5
20072 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20073 if test "${ac_cv_type_size_t+set}" = set; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 else
20076 cat >conftest.$ac_ext <<_ACEOF
20077 /* confdefs.h. */
20078 _ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 $ac_includes_default
20083 typedef size_t ac__type_new_;
20084 int
20085 main ()
20086 {
20087 if ((ac__type_new_ *) 0)
20088 return 0;
20089 if (sizeof (ac__type_new_))
20090 return 0;
20091 ;
20092 return 0;
20093 }
20094 _ACEOF
20095 rm -f conftest.$ac_objext
20096 if { (ac_try="$ac_compile"
20097 case "(($ac_try" in
20098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099 *) ac_try_echo=$ac_try;;
20100 esac
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_compile") 2>conftest.er1
20103 ac_status=$?
20104 grep -v '^ *+' conftest.er1 >conftest.err
20105 rm -f conftest.er1
20106 cat conftest.err >&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } && {
20109 test -z "$ac_c_werror_flag" ||
20110 test ! -s conftest.err
20111 } && test -s conftest.$ac_objext; then
20112 ac_cv_type_size_t=yes
20113 else
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.$ac_ext >&5
20116
20117 ac_cv_type_size_t=no
20118 fi
20119
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 fi
20122 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20123 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20124
20125 # The cast to long int works around a bug in the HP C Compiler
20126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20128 # This bug is HP SR number 8606223364.
20129 { echo "$as_me:$LINENO: checking size of size_t" >&5
20130 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20131 if test "${ac_cv_sizeof_size_t+set}" = set; then
20132 echo $ECHO_N "(cached) $ECHO_C" >&6
20133 else
20134 if test "$cross_compiling" = yes; then
20135 # Depending upon the size, compute the lo and hi bounds.
20136 cat >conftest.$ac_ext <<_ACEOF
20137 /* confdefs.h. */
20138 _ACEOF
20139 cat confdefs.h >>conftest.$ac_ext
20140 cat >>conftest.$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142 $ac_includes_default
20143 typedef size_t ac__type_sizeof_;
20144 int
20145 main ()
20146 {
20147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20148 test_array [0] = 0
20149
20150 ;
20151 return 0;
20152 }
20153 _ACEOF
20154 rm -f conftest.$ac_objext
20155 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
20162 ac_status=$?
20163 grep -v '^ *+' conftest.er1 >conftest.err
20164 rm -f conftest.er1
20165 cat conftest.err >&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } && {
20168 test -z "$ac_c_werror_flag" ||
20169 test ! -s conftest.err
20170 } && test -s conftest.$ac_objext; then
20171 ac_lo=0 ac_mid=0
20172 while :; do
20173 cat >conftest.$ac_ext <<_ACEOF
20174 /* confdefs.h. */
20175 _ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 typedef size_t ac__type_sizeof_;
20181 int
20182 main ()
20183 {
20184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20185 test_array [0] = 0
20186
20187 ;
20188 return 0;
20189 }
20190 _ACEOF
20191 rm -f conftest.$ac_objext
20192 if { (ac_try="$ac_compile"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20195 *) ac_try_echo=$ac_try;;
20196 esac
20197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_compile") 2>conftest.er1
20199 ac_status=$?
20200 grep -v '^ *+' conftest.er1 >conftest.err
20201 rm -f conftest.er1
20202 cat conftest.err >&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_c_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest.$ac_objext; then
20208 ac_hi=$ac_mid; break
20209 else
20210 echo "$as_me: failed program was:" >&5
20211 sed 's/^/| /' conftest.$ac_ext >&5
20212
20213 ac_lo=`expr $ac_mid + 1`
20214 if test $ac_lo -le $ac_mid; then
20215 ac_lo= ac_hi=
20216 break
20217 fi
20218 ac_mid=`expr 2 '*' $ac_mid + 1`
20219 fi
20220
20221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20222 done
20223 else
20224 echo "$as_me: failed program was:" >&5
20225 sed 's/^/| /' conftest.$ac_ext >&5
20226
20227 cat >conftest.$ac_ext <<_ACEOF
20228 /* confdefs.h. */
20229 _ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 typedef size_t ac__type_sizeof_;
20235 int
20236 main ()
20237 {
20238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20239 test_array [0] = 0
20240
20241 ;
20242 return 0;
20243 }
20244 _ACEOF
20245 rm -f conftest.$ac_objext
20246 if { (ac_try="$ac_compile"
20247 case "(($ac_try" in
20248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20249 *) ac_try_echo=$ac_try;;
20250 esac
20251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20252 (eval "$ac_compile") 2>conftest.er1
20253 ac_status=$?
20254 grep -v '^ *+' conftest.er1 >conftest.err
20255 rm -f conftest.er1
20256 cat conftest.err >&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } && {
20259 test -z "$ac_c_werror_flag" ||
20260 test ! -s conftest.err
20261 } && test -s conftest.$ac_objext; then
20262 ac_hi=-1 ac_mid=-1
20263 while :; do
20264 cat >conftest.$ac_ext <<_ACEOF
20265 /* confdefs.h. */
20266 _ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 $ac_includes_default
20271 typedef size_t ac__type_sizeof_;
20272 int
20273 main ()
20274 {
20275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20276 test_array [0] = 0
20277
20278 ;
20279 return 0;
20280 }
20281 _ACEOF
20282 rm -f conftest.$ac_objext
20283 if { (ac_try="$ac_compile"
20284 case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20287 esac
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_compile") 2>conftest.er1
20290 ac_status=$?
20291 grep -v '^ *+' conftest.er1 >conftest.err
20292 rm -f conftest.er1
20293 cat conftest.err >&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } && {
20296 test -z "$ac_c_werror_flag" ||
20297 test ! -s conftest.err
20298 } && test -s conftest.$ac_objext; then
20299 ac_lo=$ac_mid; break
20300 else
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.$ac_ext >&5
20303
20304 ac_hi=`expr '(' $ac_mid ')' - 1`
20305 if test $ac_mid -le $ac_hi; then
20306 ac_lo= ac_hi=
20307 break
20308 fi
20309 ac_mid=`expr 2 '*' $ac_mid`
20310 fi
20311
20312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20313 done
20314 else
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20317
20318 ac_lo= ac_hi=
20319 fi
20320
20321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20322 fi
20323
20324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20325 # Binary search between lo and hi bounds.
20326 while test "x$ac_lo" != "x$ac_hi"; do
20327 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20328 cat >conftest.$ac_ext <<_ACEOF
20329 /* confdefs.h. */
20330 _ACEOF
20331 cat confdefs.h >>conftest.$ac_ext
20332 cat >>conftest.$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20334 $ac_includes_default
20335 typedef size_t ac__type_sizeof_;
20336 int
20337 main ()
20338 {
20339 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20340 test_array [0] = 0
20341
20342 ;
20343 return 0;
20344 }
20345 _ACEOF
20346 rm -f conftest.$ac_objext
20347 if { (ac_try="$ac_compile"
20348 case "(($ac_try" in
20349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20350 *) ac_try_echo=$ac_try;;
20351 esac
20352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20353 (eval "$ac_compile") 2>conftest.er1
20354 ac_status=$?
20355 grep -v '^ *+' conftest.er1 >conftest.err
20356 rm -f conftest.er1
20357 cat conftest.err >&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); } && {
20360 test -z "$ac_c_werror_flag" ||
20361 test ! -s conftest.err
20362 } && test -s conftest.$ac_objext; then
20363 ac_hi=$ac_mid
20364 else
20365 echo "$as_me: failed program was:" >&5
20366 sed 's/^/| /' conftest.$ac_ext >&5
20367
20368 ac_lo=`expr '(' $ac_mid ')' + 1`
20369 fi
20370
20371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20372 done
20373 case $ac_lo in
20374 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20375 '') if test "$ac_cv_type_size_t" = yes; then
20376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20377 See \`config.log' for more details." >&5
20378 echo "$as_me: error: cannot compute sizeof (size_t)
20379 See \`config.log' for more details." >&2;}
20380 { (exit 77); exit 77; }; }
20381 else
20382 ac_cv_sizeof_size_t=0
20383 fi ;;
20384 esac
20385 else
20386 cat >conftest.$ac_ext <<_ACEOF
20387 /* confdefs.h. */
20388 _ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 $ac_includes_default
20393 typedef size_t ac__type_sizeof_;
20394 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20395 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20396 #include <stdio.h>
20397 #include <stdlib.h>
20398 int
20399 main ()
20400 {
20401
20402 FILE *f = fopen ("conftest.val", "w");
20403 if (! f)
20404 return 1;
20405 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20406 {
20407 long int i = longval ();
20408 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20409 return 1;
20410 fprintf (f, "%ld\n", i);
20411 }
20412 else
20413 {
20414 unsigned long int i = ulongval ();
20415 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20416 return 1;
20417 fprintf (f, "%lu\n", i);
20418 }
20419 return ferror (f) || fclose (f) != 0;
20420
20421 ;
20422 return 0;
20423 }
20424 _ACEOF
20425 rm -f conftest$ac_exeext
20426 if { (ac_try="$ac_link"
20427 case "(($ac_try" in
20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20429 *) ac_try_echo=$ac_try;;
20430 esac
20431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20432 (eval "$ac_link") 2>&5
20433 ac_status=$?
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20436 { (case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20439 esac
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_try") 2>&5
20442 ac_status=$?
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); }; }; then
20445 ac_cv_sizeof_size_t=`cat conftest.val`
20446 else
20447 echo "$as_me: program exited with status $ac_status" >&5
20448 echo "$as_me: failed program was:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20450
20451 ( exit $ac_status )
20452 if test "$ac_cv_type_size_t" = yes; then
20453 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20454 See \`config.log' for more details." >&5
20455 echo "$as_me: error: cannot compute sizeof (size_t)
20456 See \`config.log' for more details." >&2;}
20457 { (exit 77); exit 77; }; }
20458 else
20459 ac_cv_sizeof_size_t=0
20460 fi
20461 fi
20462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20463 fi
20464 rm -f conftest.val
20465 fi
20466 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20467 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20468
20469
20470
20471 cat >>confdefs.h <<_ACEOF
20472 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20473 _ACEOF
20474
20475
20476
20477 case "${host}" in
20478 arm-*-linux* )
20479 { echo "$as_me:$LINENO: checking for long long" >&5
20480 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20481 if test "${ac_cv_type_long_long+set}" = set; then
20482 echo $ECHO_N "(cached) $ECHO_C" >&6
20483 else
20484 cat >conftest.$ac_ext <<_ACEOF
20485 /* confdefs.h. */
20486 _ACEOF
20487 cat confdefs.h >>conftest.$ac_ext
20488 cat >>conftest.$ac_ext <<_ACEOF
20489 /* end confdefs.h. */
20490 $ac_includes_default
20491 typedef long long ac__type_new_;
20492 int
20493 main ()
20494 {
20495 if ((ac__type_new_ *) 0)
20496 return 0;
20497 if (sizeof (ac__type_new_))
20498 return 0;
20499 ;
20500 return 0;
20501 }
20502 _ACEOF
20503 rm -f conftest.$ac_objext
20504 if { (ac_try="$ac_compile"
20505 case "(($ac_try" in
20506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20507 *) ac_try_echo=$ac_try;;
20508 esac
20509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20510 (eval "$ac_compile") 2>conftest.er1
20511 ac_status=$?
20512 grep -v '^ *+' conftest.er1 >conftest.err
20513 rm -f conftest.er1
20514 cat conftest.err >&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); } && {
20517 test -z "$ac_c_werror_flag" ||
20518 test ! -s conftest.err
20519 } && test -s conftest.$ac_objext; then
20520 ac_cv_type_long_long=yes
20521 else
20522 echo "$as_me: failed program was:" >&5
20523 sed 's/^/| /' conftest.$ac_ext >&5
20524
20525 ac_cv_type_long_long=no
20526 fi
20527
20528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20529 fi
20530 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20531 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20532
20533 # The cast to long int works around a bug in the HP C Compiler
20534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20536 # This bug is HP SR number 8606223364.
20537 { echo "$as_me:$LINENO: checking size of long long" >&5
20538 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20539 if test "${ac_cv_sizeof_long_long+set}" = set; then
20540 echo $ECHO_N "(cached) $ECHO_C" >&6
20541 else
20542 if test "$cross_compiling" = yes; then
20543 # Depending upon the size, compute the lo and hi bounds.
20544 cat >conftest.$ac_ext <<_ACEOF
20545 /* confdefs.h. */
20546 _ACEOF
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20550 $ac_includes_default
20551 typedef long long ac__type_sizeof_;
20552 int
20553 main ()
20554 {
20555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20556 test_array [0] = 0
20557
20558 ;
20559 return 0;
20560 }
20561 _ACEOF
20562 rm -f conftest.$ac_objext
20563 if { (ac_try="$ac_compile"
20564 case "(($ac_try" in
20565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20566 *) ac_try_echo=$ac_try;;
20567 esac
20568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20569 (eval "$ac_compile") 2>conftest.er1
20570 ac_status=$?
20571 grep -v '^ *+' conftest.er1 >conftest.err
20572 rm -f conftest.er1
20573 cat conftest.err >&5
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); } && {
20576 test -z "$ac_c_werror_flag" ||
20577 test ! -s conftest.err
20578 } && test -s conftest.$ac_objext; then
20579 ac_lo=0 ac_mid=0
20580 while :; do
20581 cat >conftest.$ac_ext <<_ACEOF
20582 /* confdefs.h. */
20583 _ACEOF
20584 cat confdefs.h >>conftest.$ac_ext
20585 cat >>conftest.$ac_ext <<_ACEOF
20586 /* end confdefs.h. */
20587 $ac_includes_default
20588 typedef long long ac__type_sizeof_;
20589 int
20590 main ()
20591 {
20592 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20593 test_array [0] = 0
20594
20595 ;
20596 return 0;
20597 }
20598 _ACEOF
20599 rm -f conftest.$ac_objext
20600 if { (ac_try="$ac_compile"
20601 case "(($ac_try" in
20602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20603 *) ac_try_echo=$ac_try;;
20604 esac
20605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20606 (eval "$ac_compile") 2>conftest.er1
20607 ac_status=$?
20608 grep -v '^ *+' conftest.er1 >conftest.err
20609 rm -f conftest.er1
20610 cat conftest.err >&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } && {
20613 test -z "$ac_c_werror_flag" ||
20614 test ! -s conftest.err
20615 } && test -s conftest.$ac_objext; then
20616 ac_hi=$ac_mid; break
20617 else
20618 echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.$ac_ext >&5
20620
20621 ac_lo=`expr $ac_mid + 1`
20622 if test $ac_lo -le $ac_mid; then
20623 ac_lo= ac_hi=
20624 break
20625 fi
20626 ac_mid=`expr 2 '*' $ac_mid + 1`
20627 fi
20628
20629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20630 done
20631 else
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.$ac_ext >&5
20634
20635 cat >conftest.$ac_ext <<_ACEOF
20636 /* confdefs.h. */
20637 _ACEOF
20638 cat confdefs.h >>conftest.$ac_ext
20639 cat >>conftest.$ac_ext <<_ACEOF
20640 /* end confdefs.h. */
20641 $ac_includes_default
20642 typedef long long ac__type_sizeof_;
20643 int
20644 main ()
20645 {
20646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20647 test_array [0] = 0
20648
20649 ;
20650 return 0;
20651 }
20652 _ACEOF
20653 rm -f conftest.$ac_objext
20654 if { (ac_try="$ac_compile"
20655 case "(($ac_try" in
20656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20657 *) ac_try_echo=$ac_try;;
20658 esac
20659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20660 (eval "$ac_compile") 2>conftest.er1
20661 ac_status=$?
20662 grep -v '^ *+' conftest.er1 >conftest.err
20663 rm -f conftest.er1
20664 cat conftest.err >&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } && {
20667 test -z "$ac_c_werror_flag" ||
20668 test ! -s conftest.err
20669 } && test -s conftest.$ac_objext; then
20670 ac_hi=-1 ac_mid=-1
20671 while :; do
20672 cat >conftest.$ac_ext <<_ACEOF
20673 /* confdefs.h. */
20674 _ACEOF
20675 cat confdefs.h >>conftest.$ac_ext
20676 cat >>conftest.$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678 $ac_includes_default
20679 typedef long long ac__type_sizeof_;
20680 int
20681 main ()
20682 {
20683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20684 test_array [0] = 0
20685
20686 ;
20687 return 0;
20688 }
20689 _ACEOF
20690 rm -f conftest.$ac_objext
20691 if { (ac_try="$ac_compile"
20692 case "(($ac_try" in
20693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20694 *) ac_try_echo=$ac_try;;
20695 esac
20696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20697 (eval "$ac_compile") 2>conftest.er1
20698 ac_status=$?
20699 grep -v '^ *+' conftest.er1 >conftest.err
20700 rm -f conftest.er1
20701 cat conftest.err >&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); } && {
20704 test -z "$ac_c_werror_flag" ||
20705 test ! -s conftest.err
20706 } && test -s conftest.$ac_objext; then
20707 ac_lo=$ac_mid; break
20708 else
20709 echo "$as_me: failed program was:" >&5
20710 sed 's/^/| /' conftest.$ac_ext >&5
20711
20712 ac_hi=`expr '(' $ac_mid ')' - 1`
20713 if test $ac_mid -le $ac_hi; then
20714 ac_lo= ac_hi=
20715 break
20716 fi
20717 ac_mid=`expr 2 '*' $ac_mid`
20718 fi
20719
20720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20721 done
20722 else
20723 echo "$as_me: failed program was:" >&5
20724 sed 's/^/| /' conftest.$ac_ext >&5
20725
20726 ac_lo= ac_hi=
20727 fi
20728
20729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20730 fi
20731
20732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20733 # Binary search between lo and hi bounds.
20734 while test "x$ac_lo" != "x$ac_hi"; do
20735 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20736 cat >conftest.$ac_ext <<_ACEOF
20737 /* confdefs.h. */
20738 _ACEOF
20739 cat confdefs.h >>conftest.$ac_ext
20740 cat >>conftest.$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20742 $ac_includes_default
20743 typedef long long ac__type_sizeof_;
20744 int
20745 main ()
20746 {
20747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20748 test_array [0] = 0
20749
20750 ;
20751 return 0;
20752 }
20753 _ACEOF
20754 rm -f conftest.$ac_objext
20755 if { (ac_try="$ac_compile"
20756 case "(($ac_try" in
20757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20758 *) ac_try_echo=$ac_try;;
20759 esac
20760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20761 (eval "$ac_compile") 2>conftest.er1
20762 ac_status=$?
20763 grep -v '^ *+' conftest.er1 >conftest.err
20764 rm -f conftest.er1
20765 cat conftest.err >&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } && {
20768 test -z "$ac_c_werror_flag" ||
20769 test ! -s conftest.err
20770 } && test -s conftest.$ac_objext; then
20771 ac_hi=$ac_mid
20772 else
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.$ac_ext >&5
20775
20776 ac_lo=`expr '(' $ac_mid ')' + 1`
20777 fi
20778
20779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20780 done
20781 case $ac_lo in
20782 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20783 '') if test "$ac_cv_type_long_long" = yes; then
20784 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20785 See \`config.log' for more details." >&5
20786 echo "$as_me: error: cannot compute sizeof (long long)
20787 See \`config.log' for more details." >&2;}
20788 { (exit 77); exit 77; }; }
20789 else
20790 ac_cv_sizeof_long_long=0
20791 fi ;;
20792 esac
20793 else
20794 cat >conftest.$ac_ext <<_ACEOF
20795 /* confdefs.h. */
20796 _ACEOF
20797 cat confdefs.h >>conftest.$ac_ext
20798 cat >>conftest.$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20800 $ac_includes_default
20801 typedef long long ac__type_sizeof_;
20802 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20803 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20804 #include <stdio.h>
20805 #include <stdlib.h>
20806 int
20807 main ()
20808 {
20809
20810 FILE *f = fopen ("conftest.val", "w");
20811 if (! f)
20812 return 1;
20813 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20814 {
20815 long int i = longval ();
20816 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20817 return 1;
20818 fprintf (f, "%ld\n", i);
20819 }
20820 else
20821 {
20822 unsigned long int i = ulongval ();
20823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20824 return 1;
20825 fprintf (f, "%lu\n", i);
20826 }
20827 return ferror (f) || fclose (f) != 0;
20828
20829 ;
20830 return 0;
20831 }
20832 _ACEOF
20833 rm -f conftest$ac_exeext
20834 if { (ac_try="$ac_link"
20835 case "(($ac_try" in
20836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20837 *) ac_try_echo=$ac_try;;
20838 esac
20839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20840 (eval "$ac_link") 2>&5
20841 ac_status=$?
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20844 { (case "(($ac_try" in
20845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20846 *) ac_try_echo=$ac_try;;
20847 esac
20848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20849 (eval "$ac_try") 2>&5
20850 ac_status=$?
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); }; }; then
20853 ac_cv_sizeof_long_long=`cat conftest.val`
20854 else
20855 echo "$as_me: program exited with status $ac_status" >&5
20856 echo "$as_me: failed program was:" >&5
20857 sed 's/^/| /' conftest.$ac_ext >&5
20858
20859 ( exit $ac_status )
20860 if test "$ac_cv_type_long_long" = yes; then
20861 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20862 See \`config.log' for more details." >&5
20863 echo "$as_me: error: cannot compute sizeof (long long)
20864 See \`config.log' for more details." >&2;}
20865 { (exit 77); exit 77; }; }
20866 else
20867 ac_cv_sizeof_long_long=0
20868 fi
20869 fi
20870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20871 fi
20872 rm -f conftest.val
20873 fi
20874 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20875 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20876
20877
20878
20879 cat >>confdefs.h <<_ACEOF
20880 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20881 _ACEOF
20882
20883
20884 ;;
20885 *-hp-hpux* )
20886 { echo "$as_me:$LINENO: checking for long long" >&5
20887 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20888 if test "${ac_cv_type_long_long+set}" = set; then
20889 echo $ECHO_N "(cached) $ECHO_C" >&6
20890 else
20891 cat >conftest.$ac_ext <<_ACEOF
20892 /* confdefs.h. */
20893 _ACEOF
20894 cat confdefs.h >>conftest.$ac_ext
20895 cat >>conftest.$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 $ac_includes_default
20898 typedef long long ac__type_new_;
20899 int
20900 main ()
20901 {
20902 if ((ac__type_new_ *) 0)
20903 return 0;
20904 if (sizeof (ac__type_new_))
20905 return 0;
20906 ;
20907 return 0;
20908 }
20909 _ACEOF
20910 rm -f conftest.$ac_objext
20911 if { (ac_try="$ac_compile"
20912 case "(($ac_try" in
20913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20914 *) ac_try_echo=$ac_try;;
20915 esac
20916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20917 (eval "$ac_compile") 2>conftest.er1
20918 ac_status=$?
20919 grep -v '^ *+' conftest.er1 >conftest.err
20920 rm -f conftest.er1
20921 cat conftest.err >&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); } && {
20924 test -z "$ac_c_werror_flag" ||
20925 test ! -s conftest.err
20926 } && test -s conftest.$ac_objext; then
20927 ac_cv_type_long_long=yes
20928 else
20929 echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.$ac_ext >&5
20931
20932 ac_cv_type_long_long=no
20933 fi
20934
20935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20936 fi
20937 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20938 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20939
20940 # The cast to long int works around a bug in the HP C Compiler
20941 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20942 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20943 # This bug is HP SR number 8606223364.
20944 { echo "$as_me:$LINENO: checking size of long long" >&5
20945 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20946 if test "${ac_cv_sizeof_long_long+set}" = set; then
20947 echo $ECHO_N "(cached) $ECHO_C" >&6
20948 else
20949 if test "$cross_compiling" = yes; then
20950 # Depending upon the size, compute the lo and hi bounds.
20951 cat >conftest.$ac_ext <<_ACEOF
20952 /* confdefs.h. */
20953 _ACEOF
20954 cat confdefs.h >>conftest.$ac_ext
20955 cat >>conftest.$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20957 $ac_includes_default
20958 typedef long long ac__type_sizeof_;
20959 int
20960 main ()
20961 {
20962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20963 test_array [0] = 0
20964
20965 ;
20966 return 0;
20967 }
20968 _ACEOF
20969 rm -f conftest.$ac_objext
20970 if { (ac_try="$ac_compile"
20971 case "(($ac_try" in
20972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20973 *) ac_try_echo=$ac_try;;
20974 esac
20975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20976 (eval "$ac_compile") 2>conftest.er1
20977 ac_status=$?
20978 grep -v '^ *+' conftest.er1 >conftest.err
20979 rm -f conftest.er1
20980 cat conftest.err >&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } && {
20983 test -z "$ac_c_werror_flag" ||
20984 test ! -s conftest.err
20985 } && test -s conftest.$ac_objext; then
20986 ac_lo=0 ac_mid=0
20987 while :; do
20988 cat >conftest.$ac_ext <<_ACEOF
20989 /* confdefs.h. */
20990 _ACEOF
20991 cat confdefs.h >>conftest.$ac_ext
20992 cat >>conftest.$ac_ext <<_ACEOF
20993 /* end confdefs.h. */
20994 $ac_includes_default
20995 typedef long long ac__type_sizeof_;
20996 int
20997 main ()
20998 {
20999 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21000 test_array [0] = 0
21001
21002 ;
21003 return 0;
21004 }
21005 _ACEOF
21006 rm -f conftest.$ac_objext
21007 if { (ac_try="$ac_compile"
21008 case "(($ac_try" in
21009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21010 *) ac_try_echo=$ac_try;;
21011 esac
21012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21013 (eval "$ac_compile") 2>conftest.er1
21014 ac_status=$?
21015 grep -v '^ *+' conftest.er1 >conftest.err
21016 rm -f conftest.er1
21017 cat conftest.err >&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } && {
21020 test -z "$ac_c_werror_flag" ||
21021 test ! -s conftest.err
21022 } && test -s conftest.$ac_objext; then
21023 ac_hi=$ac_mid; break
21024 else
21025 echo "$as_me: failed program was:" >&5
21026 sed 's/^/| /' conftest.$ac_ext >&5
21027
21028 ac_lo=`expr $ac_mid + 1`
21029 if test $ac_lo -le $ac_mid; then
21030 ac_lo= ac_hi=
21031 break
21032 fi
21033 ac_mid=`expr 2 '*' $ac_mid + 1`
21034 fi
21035
21036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21037 done
21038 else
21039 echo "$as_me: failed program was:" >&5
21040 sed 's/^/| /' conftest.$ac_ext >&5
21041
21042 cat >conftest.$ac_ext <<_ACEOF
21043 /* confdefs.h. */
21044 _ACEOF
21045 cat confdefs.h >>conftest.$ac_ext
21046 cat >>conftest.$ac_ext <<_ACEOF
21047 /* end confdefs.h. */
21048 $ac_includes_default
21049 typedef long long ac__type_sizeof_;
21050 int
21051 main ()
21052 {
21053 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21054 test_array [0] = 0
21055
21056 ;
21057 return 0;
21058 }
21059 _ACEOF
21060 rm -f conftest.$ac_objext
21061 if { (ac_try="$ac_compile"
21062 case "(($ac_try" in
21063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21064 *) ac_try_echo=$ac_try;;
21065 esac
21066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21067 (eval "$ac_compile") 2>conftest.er1
21068 ac_status=$?
21069 grep -v '^ *+' conftest.er1 >conftest.err
21070 rm -f conftest.er1
21071 cat conftest.err >&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); } && {
21074 test -z "$ac_c_werror_flag" ||
21075 test ! -s conftest.err
21076 } && test -s conftest.$ac_objext; then
21077 ac_hi=-1 ac_mid=-1
21078 while :; do
21079 cat >conftest.$ac_ext <<_ACEOF
21080 /* confdefs.h. */
21081 _ACEOF
21082 cat confdefs.h >>conftest.$ac_ext
21083 cat >>conftest.$ac_ext <<_ACEOF
21084 /* end confdefs.h. */
21085 $ac_includes_default
21086 typedef long long ac__type_sizeof_;
21087 int
21088 main ()
21089 {
21090 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21091 test_array [0] = 0
21092
21093 ;
21094 return 0;
21095 }
21096 _ACEOF
21097 rm -f conftest.$ac_objext
21098 if { (ac_try="$ac_compile"
21099 case "(($ac_try" in
21100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21101 *) ac_try_echo=$ac_try;;
21102 esac
21103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21104 (eval "$ac_compile") 2>conftest.er1
21105 ac_status=$?
21106 grep -v '^ *+' conftest.er1 >conftest.err
21107 rm -f conftest.er1
21108 cat conftest.err >&5
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); } && {
21111 test -z "$ac_c_werror_flag" ||
21112 test ! -s conftest.err
21113 } && test -s conftest.$ac_objext; then
21114 ac_lo=$ac_mid; break
21115 else
21116 echo "$as_me: failed program was:" >&5
21117 sed 's/^/| /' conftest.$ac_ext >&5
21118
21119 ac_hi=`expr '(' $ac_mid ')' - 1`
21120 if test $ac_mid -le $ac_hi; then
21121 ac_lo= ac_hi=
21122 break
21123 fi
21124 ac_mid=`expr 2 '*' $ac_mid`
21125 fi
21126
21127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21128 done
21129 else
21130 echo "$as_me: failed program was:" >&5
21131 sed 's/^/| /' conftest.$ac_ext >&5
21132
21133 ac_lo= ac_hi=
21134 fi
21135
21136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21137 fi
21138
21139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21140 # Binary search between lo and hi bounds.
21141 while test "x$ac_lo" != "x$ac_hi"; do
21142 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21143 cat >conftest.$ac_ext <<_ACEOF
21144 /* confdefs.h. */
21145 _ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 $ac_includes_default
21150 typedef long long ac__type_sizeof_;
21151 int
21152 main ()
21153 {
21154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21155 test_array [0] = 0
21156
21157 ;
21158 return 0;
21159 }
21160 _ACEOF
21161 rm -f conftest.$ac_objext
21162 if { (ac_try="$ac_compile"
21163 case "(($ac_try" in
21164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21165 *) ac_try_echo=$ac_try;;
21166 esac
21167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_compile") 2>conftest.er1
21169 ac_status=$?
21170 grep -v '^ *+' conftest.er1 >conftest.err
21171 rm -f conftest.er1
21172 cat conftest.err >&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } && {
21175 test -z "$ac_c_werror_flag" ||
21176 test ! -s conftest.err
21177 } && test -s conftest.$ac_objext; then
21178 ac_hi=$ac_mid
21179 else
21180 echo "$as_me: failed program was:" >&5
21181 sed 's/^/| /' conftest.$ac_ext >&5
21182
21183 ac_lo=`expr '(' $ac_mid ')' + 1`
21184 fi
21185
21186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21187 done
21188 case $ac_lo in
21189 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21190 '') if test "$ac_cv_type_long_long" = yes; then
21191 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21192 See \`config.log' for more details." >&5
21193 echo "$as_me: error: cannot compute sizeof (long long)
21194 See \`config.log' for more details." >&2;}
21195 { (exit 77); exit 77; }; }
21196 else
21197 ac_cv_sizeof_long_long=0
21198 fi ;;
21199 esac
21200 else
21201 cat >conftest.$ac_ext <<_ACEOF
21202 /* confdefs.h. */
21203 _ACEOF
21204 cat confdefs.h >>conftest.$ac_ext
21205 cat >>conftest.$ac_ext <<_ACEOF
21206 /* end confdefs.h. */
21207 $ac_includes_default
21208 typedef long long ac__type_sizeof_;
21209 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21210 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21211 #include <stdio.h>
21212 #include <stdlib.h>
21213 int
21214 main ()
21215 {
21216
21217 FILE *f = fopen ("conftest.val", "w");
21218 if (! f)
21219 return 1;
21220 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21221 {
21222 long int i = longval ();
21223 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21224 return 1;
21225 fprintf (f, "%ld\n", i);
21226 }
21227 else
21228 {
21229 unsigned long int i = ulongval ();
21230 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21231 return 1;
21232 fprintf (f, "%lu\n", i);
21233 }
21234 return ferror (f) || fclose (f) != 0;
21235
21236 ;
21237 return 0;
21238 }
21239 _ACEOF
21240 rm -f conftest$ac_exeext
21241 if { (ac_try="$ac_link"
21242 case "(($ac_try" in
21243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21244 *) ac_try_echo=$ac_try;;
21245 esac
21246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21247 (eval "$ac_link") 2>&5
21248 ac_status=$?
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21251 { (case "(($ac_try" in
21252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21253 *) ac_try_echo=$ac_try;;
21254 esac
21255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21256 (eval "$ac_try") 2>&5
21257 ac_status=$?
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); }; }; then
21260 ac_cv_sizeof_long_long=`cat conftest.val`
21261 else
21262 echo "$as_me: program exited with status $ac_status" >&5
21263 echo "$as_me: failed program was:" >&5
21264 sed 's/^/| /' conftest.$ac_ext >&5
21265
21266 ( exit $ac_status )
21267 if test "$ac_cv_type_long_long" = yes; then
21268 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21269 See \`config.log' for more details." >&5
21270 echo "$as_me: error: cannot compute sizeof (long long)
21271 See \`config.log' for more details." >&2;}
21272 { (exit 77); exit 77; }; }
21273 else
21274 ac_cv_sizeof_long_long=0
21275 fi
21276 fi
21277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21278 fi
21279 rm -f conftest.val
21280 fi
21281 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21282 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21283
21284
21285
21286 cat >>confdefs.h <<_ACEOF
21287 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21288 _ACEOF
21289
21290
21291 if test "$ac_cv_sizeof_long_long" != "0"; then
21292 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21293 fi
21294 ;;
21295 * )
21296 { echo "$as_me:$LINENO: checking for long long" >&5
21297 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21298 if test "${ac_cv_type_long_long+set}" = set; then
21299 echo $ECHO_N "(cached) $ECHO_C" >&6
21300 else
21301 cat >conftest.$ac_ext <<_ACEOF
21302 /* confdefs.h. */
21303 _ACEOF
21304 cat confdefs.h >>conftest.$ac_ext
21305 cat >>conftest.$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 $ac_includes_default
21308 typedef long long ac__type_new_;
21309 int
21310 main ()
21311 {
21312 if ((ac__type_new_ *) 0)
21313 return 0;
21314 if (sizeof (ac__type_new_))
21315 return 0;
21316 ;
21317 return 0;
21318 }
21319 _ACEOF
21320 rm -f conftest.$ac_objext
21321 if { (ac_try="$ac_compile"
21322 case "(($ac_try" in
21323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21324 *) ac_try_echo=$ac_try;;
21325 esac
21326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21327 (eval "$ac_compile") 2>conftest.er1
21328 ac_status=$?
21329 grep -v '^ *+' conftest.er1 >conftest.err
21330 rm -f conftest.er1
21331 cat conftest.err >&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } && {
21334 test -z "$ac_c_werror_flag" ||
21335 test ! -s conftest.err
21336 } && test -s conftest.$ac_objext; then
21337 ac_cv_type_long_long=yes
21338 else
21339 echo "$as_me: failed program was:" >&5
21340 sed 's/^/| /' conftest.$ac_ext >&5
21341
21342 ac_cv_type_long_long=no
21343 fi
21344
21345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21346 fi
21347 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21348 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21349
21350 # The cast to long int works around a bug in the HP C Compiler
21351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21353 # This bug is HP SR number 8606223364.
21354 { echo "$as_me:$LINENO: checking size of long long" >&5
21355 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21356 if test "${ac_cv_sizeof_long_long+set}" = set; then
21357 echo $ECHO_N "(cached) $ECHO_C" >&6
21358 else
21359 if test "$cross_compiling" = yes; then
21360 # Depending upon the size, compute the lo and hi bounds.
21361 cat >conftest.$ac_ext <<_ACEOF
21362 /* confdefs.h. */
21363 _ACEOF
21364 cat confdefs.h >>conftest.$ac_ext
21365 cat >>conftest.$ac_ext <<_ACEOF
21366 /* end confdefs.h. */
21367 $ac_includes_default
21368 typedef long long ac__type_sizeof_;
21369 int
21370 main ()
21371 {
21372 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21373 test_array [0] = 0
21374
21375 ;
21376 return 0;
21377 }
21378 _ACEOF
21379 rm -f conftest.$ac_objext
21380 if { (ac_try="$ac_compile"
21381 case "(($ac_try" in
21382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21383 *) ac_try_echo=$ac_try;;
21384 esac
21385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21386 (eval "$ac_compile") 2>conftest.er1
21387 ac_status=$?
21388 grep -v '^ *+' conftest.er1 >conftest.err
21389 rm -f conftest.er1
21390 cat conftest.err >&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } && {
21393 test -z "$ac_c_werror_flag" ||
21394 test ! -s conftest.err
21395 } && test -s conftest.$ac_objext; then
21396 ac_lo=0 ac_mid=0
21397 while :; do
21398 cat >conftest.$ac_ext <<_ACEOF
21399 /* confdefs.h. */
21400 _ACEOF
21401 cat confdefs.h >>conftest.$ac_ext
21402 cat >>conftest.$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21404 $ac_includes_default
21405 typedef long long ac__type_sizeof_;
21406 int
21407 main ()
21408 {
21409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21410 test_array [0] = 0
21411
21412 ;
21413 return 0;
21414 }
21415 _ACEOF
21416 rm -f conftest.$ac_objext
21417 if { (ac_try="$ac_compile"
21418 case "(($ac_try" in
21419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21420 *) ac_try_echo=$ac_try;;
21421 esac
21422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21423 (eval "$ac_compile") 2>conftest.er1
21424 ac_status=$?
21425 grep -v '^ *+' conftest.er1 >conftest.err
21426 rm -f conftest.er1
21427 cat conftest.err >&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } && {
21430 test -z "$ac_c_werror_flag" ||
21431 test ! -s conftest.err
21432 } && test -s conftest.$ac_objext; then
21433 ac_hi=$ac_mid; break
21434 else
21435 echo "$as_me: failed program was:" >&5
21436 sed 's/^/| /' conftest.$ac_ext >&5
21437
21438 ac_lo=`expr $ac_mid + 1`
21439 if test $ac_lo -le $ac_mid; then
21440 ac_lo= ac_hi=
21441 break
21442 fi
21443 ac_mid=`expr 2 '*' $ac_mid + 1`
21444 fi
21445
21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447 done
21448 else
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.$ac_ext >&5
21451
21452 cat >conftest.$ac_ext <<_ACEOF
21453 /* confdefs.h. */
21454 _ACEOF
21455 cat confdefs.h >>conftest.$ac_ext
21456 cat >>conftest.$ac_ext <<_ACEOF
21457 /* end confdefs.h. */
21458 $ac_includes_default
21459 typedef long long ac__type_sizeof_;
21460 int
21461 main ()
21462 {
21463 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21464 test_array [0] = 0
21465
21466 ;
21467 return 0;
21468 }
21469 _ACEOF
21470 rm -f conftest.$ac_objext
21471 if { (ac_try="$ac_compile"
21472 case "(($ac_try" in
21473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21474 *) ac_try_echo=$ac_try;;
21475 esac
21476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21477 (eval "$ac_compile") 2>conftest.er1
21478 ac_status=$?
21479 grep -v '^ *+' conftest.er1 >conftest.err
21480 rm -f conftest.er1
21481 cat conftest.err >&5
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); } && {
21484 test -z "$ac_c_werror_flag" ||
21485 test ! -s conftest.err
21486 } && test -s conftest.$ac_objext; then
21487 ac_hi=-1 ac_mid=-1
21488 while :; do
21489 cat >conftest.$ac_ext <<_ACEOF
21490 /* confdefs.h. */
21491 _ACEOF
21492 cat confdefs.h >>conftest.$ac_ext
21493 cat >>conftest.$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 $ac_includes_default
21496 typedef long long ac__type_sizeof_;
21497 int
21498 main ()
21499 {
21500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21501 test_array [0] = 0
21502
21503 ;
21504 return 0;
21505 }
21506 _ACEOF
21507 rm -f conftest.$ac_objext
21508 if { (ac_try="$ac_compile"
21509 case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21512 esac
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_compile") 2>conftest.er1
21515 ac_status=$?
21516 grep -v '^ *+' conftest.er1 >conftest.err
21517 rm -f conftest.er1
21518 cat conftest.err >&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } && {
21521 test -z "$ac_c_werror_flag" ||
21522 test ! -s conftest.err
21523 } && test -s conftest.$ac_objext; then
21524 ac_lo=$ac_mid; break
21525 else
21526 echo "$as_me: failed program was:" >&5
21527 sed 's/^/| /' conftest.$ac_ext >&5
21528
21529 ac_hi=`expr '(' $ac_mid ')' - 1`
21530 if test $ac_mid -le $ac_hi; then
21531 ac_lo= ac_hi=
21532 break
21533 fi
21534 ac_mid=`expr 2 '*' $ac_mid`
21535 fi
21536
21537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21538 done
21539 else
21540 echo "$as_me: failed program was:" >&5
21541 sed 's/^/| /' conftest.$ac_ext >&5
21542
21543 ac_lo= ac_hi=
21544 fi
21545
21546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21547 fi
21548
21549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21550 # Binary search between lo and hi bounds.
21551 while test "x$ac_lo" != "x$ac_hi"; do
21552 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21553 cat >conftest.$ac_ext <<_ACEOF
21554 /* confdefs.h. */
21555 _ACEOF
21556 cat confdefs.h >>conftest.$ac_ext
21557 cat >>conftest.$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559 $ac_includes_default
21560 typedef long long ac__type_sizeof_;
21561 int
21562 main ()
21563 {
21564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21565 test_array [0] = 0
21566
21567 ;
21568 return 0;
21569 }
21570 _ACEOF
21571 rm -f conftest.$ac_objext
21572 if { (ac_try="$ac_compile"
21573 case "(($ac_try" in
21574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21575 *) ac_try_echo=$ac_try;;
21576 esac
21577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21578 (eval "$ac_compile") 2>conftest.er1
21579 ac_status=$?
21580 grep -v '^ *+' conftest.er1 >conftest.err
21581 rm -f conftest.er1
21582 cat conftest.err >&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); } && {
21585 test -z "$ac_c_werror_flag" ||
21586 test ! -s conftest.err
21587 } && test -s conftest.$ac_objext; then
21588 ac_hi=$ac_mid
21589 else
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.$ac_ext >&5
21592
21593 ac_lo=`expr '(' $ac_mid ')' + 1`
21594 fi
21595
21596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21597 done
21598 case $ac_lo in
21599 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21600 '') if test "$ac_cv_type_long_long" = yes; then
21601 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21602 See \`config.log' for more details." >&5
21603 echo "$as_me: error: cannot compute sizeof (long long)
21604 See \`config.log' for more details." >&2;}
21605 { (exit 77); exit 77; }; }
21606 else
21607 ac_cv_sizeof_long_long=0
21608 fi ;;
21609 esac
21610 else
21611 cat >conftest.$ac_ext <<_ACEOF
21612 /* confdefs.h. */
21613 _ACEOF
21614 cat confdefs.h >>conftest.$ac_ext
21615 cat >>conftest.$ac_ext <<_ACEOF
21616 /* end confdefs.h. */
21617 $ac_includes_default
21618 typedef long long ac__type_sizeof_;
21619 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21620 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21621 #include <stdio.h>
21622 #include <stdlib.h>
21623 int
21624 main ()
21625 {
21626
21627 FILE *f = fopen ("conftest.val", "w");
21628 if (! f)
21629 return 1;
21630 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21631 {
21632 long int i = longval ();
21633 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21634 return 1;
21635 fprintf (f, "%ld\n", i);
21636 }
21637 else
21638 {
21639 unsigned long int i = ulongval ();
21640 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21641 return 1;
21642 fprintf (f, "%lu\n", i);
21643 }
21644 return ferror (f) || fclose (f) != 0;
21645
21646 ;
21647 return 0;
21648 }
21649 _ACEOF
21650 rm -f conftest$ac_exeext
21651 if { (ac_try="$ac_link"
21652 case "(($ac_try" in
21653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21654 *) ac_try_echo=$ac_try;;
21655 esac
21656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21657 (eval "$ac_link") 2>&5
21658 ac_status=$?
21659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21661 { (case "(($ac_try" in
21662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21663 *) ac_try_echo=$ac_try;;
21664 esac
21665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21666 (eval "$ac_try") 2>&5
21667 ac_status=$?
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; }; then
21670 ac_cv_sizeof_long_long=`cat conftest.val`
21671 else
21672 echo "$as_me: program exited with status $ac_status" >&5
21673 echo "$as_me: failed program was:" >&5
21674 sed 's/^/| /' conftest.$ac_ext >&5
21675
21676 ( exit $ac_status )
21677 if test "$ac_cv_type_long_long" = yes; then
21678 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21679 See \`config.log' for more details." >&5
21680 echo "$as_me: error: cannot compute sizeof (long long)
21681 See \`config.log' for more details." >&2;}
21682 { (exit 77); exit 77; }; }
21683 else
21684 ac_cv_sizeof_long_long=0
21685 fi
21686 fi
21687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21688 fi
21689 rm -f conftest.val
21690 fi
21691 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21692 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21693
21694
21695
21696 cat >>confdefs.h <<_ACEOF
21697 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21698 _ACEOF
21699
21700
21701 esac
21702
21703 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21704 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21705 if test "${ac_cv_type_wchar_t+set}" = set; then
21706 echo $ECHO_N "(cached) $ECHO_C" >&6
21707 else
21708 cat >conftest.$ac_ext <<_ACEOF
21709 /* confdefs.h. */
21710 _ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714
21715 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21716 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21717 # error "fake wchar_t"
21718 #endif
21719 #ifdef HAVE_WCHAR_H
21720 # ifdef __CYGWIN__
21721 # include <stddef.h>
21722 # endif
21723 # include <wchar.h>
21724 #endif
21725 #ifdef HAVE_STDLIB_H
21726 # include <stdlib.h>
21727 #endif
21728 #include <stdio.h>
21729
21730
21731
21732 typedef wchar_t ac__type_new_;
21733 int
21734 main ()
21735 {
21736 if ((ac__type_new_ *) 0)
21737 return 0;
21738 if (sizeof (ac__type_new_))
21739 return 0;
21740 ;
21741 return 0;
21742 }
21743 _ACEOF
21744 rm -f conftest.$ac_objext
21745 if { (ac_try="$ac_compile"
21746 case "(($ac_try" in
21747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21748 *) ac_try_echo=$ac_try;;
21749 esac
21750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751 (eval "$ac_compile") 2>conftest.er1
21752 ac_status=$?
21753 grep -v '^ *+' conftest.er1 >conftest.err
21754 rm -f conftest.er1
21755 cat conftest.err >&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } && {
21758 test -z "$ac_c_werror_flag" ||
21759 test ! -s conftest.err
21760 } && test -s conftest.$ac_objext; then
21761 ac_cv_type_wchar_t=yes
21762 else
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21765
21766 ac_cv_type_wchar_t=no
21767 fi
21768
21769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21770 fi
21771 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21772 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21773
21774 # The cast to long int works around a bug in the HP C Compiler
21775 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21776 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21777 # This bug is HP SR number 8606223364.
21778 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21779 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21780 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21781 echo $ECHO_N "(cached) $ECHO_C" >&6
21782 else
21783 if test "$cross_compiling" = yes; then
21784 # Depending upon the size, compute the lo and hi bounds.
21785 cat >conftest.$ac_ext <<_ACEOF
21786 /* confdefs.h. */
21787 _ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21791
21792 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21793 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21794 # error "fake wchar_t"
21795 #endif
21796 #ifdef HAVE_WCHAR_H
21797 # ifdef __CYGWIN__
21798 # include <stddef.h>
21799 # endif
21800 # include <wchar.h>
21801 #endif
21802 #ifdef HAVE_STDLIB_H
21803 # include <stdlib.h>
21804 #endif
21805 #include <stdio.h>
21806
21807
21808
21809 typedef wchar_t ac__type_sizeof_;
21810 int
21811 main ()
21812 {
21813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21814 test_array [0] = 0
21815
21816 ;
21817 return 0;
21818 }
21819 _ACEOF
21820 rm -f conftest.$ac_objext
21821 if { (ac_try="$ac_compile"
21822 case "(($ac_try" in
21823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21824 *) ac_try_echo=$ac_try;;
21825 esac
21826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21827 (eval "$ac_compile") 2>conftest.er1
21828 ac_status=$?
21829 grep -v '^ *+' conftest.er1 >conftest.err
21830 rm -f conftest.er1
21831 cat conftest.err >&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } && {
21834 test -z "$ac_c_werror_flag" ||
21835 test ! -s conftest.err
21836 } && test -s conftest.$ac_objext; then
21837 ac_lo=0 ac_mid=0
21838 while :; do
21839 cat >conftest.$ac_ext <<_ACEOF
21840 /* confdefs.h. */
21841 _ACEOF
21842 cat confdefs.h >>conftest.$ac_ext
21843 cat >>conftest.$ac_ext <<_ACEOF
21844 /* end confdefs.h. */
21845
21846 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21847 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21848 # error "fake wchar_t"
21849 #endif
21850 #ifdef HAVE_WCHAR_H
21851 # ifdef __CYGWIN__
21852 # include <stddef.h>
21853 # endif
21854 # include <wchar.h>
21855 #endif
21856 #ifdef HAVE_STDLIB_H
21857 # include <stdlib.h>
21858 #endif
21859 #include <stdio.h>
21860
21861
21862
21863 typedef wchar_t ac__type_sizeof_;
21864 int
21865 main ()
21866 {
21867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21868 test_array [0] = 0
21869
21870 ;
21871 return 0;
21872 }
21873 _ACEOF
21874 rm -f conftest.$ac_objext
21875 if { (ac_try="$ac_compile"
21876 case "(($ac_try" in
21877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21878 *) ac_try_echo=$ac_try;;
21879 esac
21880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21881 (eval "$ac_compile") 2>conftest.er1
21882 ac_status=$?
21883 grep -v '^ *+' conftest.er1 >conftest.err
21884 rm -f conftest.er1
21885 cat conftest.err >&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } && {
21888 test -z "$ac_c_werror_flag" ||
21889 test ! -s conftest.err
21890 } && test -s conftest.$ac_objext; then
21891 ac_hi=$ac_mid; break
21892 else
21893 echo "$as_me: failed program was:" >&5
21894 sed 's/^/| /' conftest.$ac_ext >&5
21895
21896 ac_lo=`expr $ac_mid + 1`
21897 if test $ac_lo -le $ac_mid; then
21898 ac_lo= ac_hi=
21899 break
21900 fi
21901 ac_mid=`expr 2 '*' $ac_mid + 1`
21902 fi
21903
21904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21905 done
21906 else
21907 echo "$as_me: failed program was:" >&5
21908 sed 's/^/| /' conftest.$ac_ext >&5
21909
21910 cat >conftest.$ac_ext <<_ACEOF
21911 /* confdefs.h. */
21912 _ACEOF
21913 cat confdefs.h >>conftest.$ac_ext
21914 cat >>conftest.$ac_ext <<_ACEOF
21915 /* end confdefs.h. */
21916
21917 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21918 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21919 # error "fake wchar_t"
21920 #endif
21921 #ifdef HAVE_WCHAR_H
21922 # ifdef __CYGWIN__
21923 # include <stddef.h>
21924 # endif
21925 # include <wchar.h>
21926 #endif
21927 #ifdef HAVE_STDLIB_H
21928 # include <stdlib.h>
21929 #endif
21930 #include <stdio.h>
21931
21932
21933
21934 typedef wchar_t ac__type_sizeof_;
21935 int
21936 main ()
21937 {
21938 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21939 test_array [0] = 0
21940
21941 ;
21942 return 0;
21943 }
21944 _ACEOF
21945 rm -f conftest.$ac_objext
21946 if { (ac_try="$ac_compile"
21947 case "(($ac_try" in
21948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21949 *) ac_try_echo=$ac_try;;
21950 esac
21951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21952 (eval "$ac_compile") 2>conftest.er1
21953 ac_status=$?
21954 grep -v '^ *+' conftest.er1 >conftest.err
21955 rm -f conftest.er1
21956 cat conftest.err >&5
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); } && {
21959 test -z "$ac_c_werror_flag" ||
21960 test ! -s conftest.err
21961 } && test -s conftest.$ac_objext; then
21962 ac_hi=-1 ac_mid=-1
21963 while :; do
21964 cat >conftest.$ac_ext <<_ACEOF
21965 /* confdefs.h. */
21966 _ACEOF
21967 cat confdefs.h >>conftest.$ac_ext
21968 cat >>conftest.$ac_ext <<_ACEOF
21969 /* end confdefs.h. */
21970
21971 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21972 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21973 # error "fake wchar_t"
21974 #endif
21975 #ifdef HAVE_WCHAR_H
21976 # ifdef __CYGWIN__
21977 # include <stddef.h>
21978 # endif
21979 # include <wchar.h>
21980 #endif
21981 #ifdef HAVE_STDLIB_H
21982 # include <stdlib.h>
21983 #endif
21984 #include <stdio.h>
21985
21986
21987
21988 typedef wchar_t ac__type_sizeof_;
21989 int
21990 main ()
21991 {
21992 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21993 test_array [0] = 0
21994
21995 ;
21996 return 0;
21997 }
21998 _ACEOF
21999 rm -f conftest.$ac_objext
22000 if { (ac_try="$ac_compile"
22001 case "(($ac_try" in
22002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22003 *) ac_try_echo=$ac_try;;
22004 esac
22005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22006 (eval "$ac_compile") 2>conftest.er1
22007 ac_status=$?
22008 grep -v '^ *+' conftest.er1 >conftest.err
22009 rm -f conftest.er1
22010 cat conftest.err >&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); } && {
22013 test -z "$ac_c_werror_flag" ||
22014 test ! -s conftest.err
22015 } && test -s conftest.$ac_objext; then
22016 ac_lo=$ac_mid; break
22017 else
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.$ac_ext >&5
22020
22021 ac_hi=`expr '(' $ac_mid ')' - 1`
22022 if test $ac_mid -le $ac_hi; then
22023 ac_lo= ac_hi=
22024 break
22025 fi
22026 ac_mid=`expr 2 '*' $ac_mid`
22027 fi
22028
22029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22030 done
22031 else
22032 echo "$as_me: failed program was:" >&5
22033 sed 's/^/| /' conftest.$ac_ext >&5
22034
22035 ac_lo= ac_hi=
22036 fi
22037
22038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22039 fi
22040
22041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22042 # Binary search between lo and hi bounds.
22043 while test "x$ac_lo" != "x$ac_hi"; do
22044 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22045 cat >conftest.$ac_ext <<_ACEOF
22046 /* confdefs.h. */
22047 _ACEOF
22048 cat confdefs.h >>conftest.$ac_ext
22049 cat >>conftest.$ac_ext <<_ACEOF
22050 /* end confdefs.h. */
22051
22052 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22053 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22054 # error "fake wchar_t"
22055 #endif
22056 #ifdef HAVE_WCHAR_H
22057 # ifdef __CYGWIN__
22058 # include <stddef.h>
22059 # endif
22060 # include <wchar.h>
22061 #endif
22062 #ifdef HAVE_STDLIB_H
22063 # include <stdlib.h>
22064 #endif
22065 #include <stdio.h>
22066
22067
22068
22069 typedef wchar_t ac__type_sizeof_;
22070 int
22071 main ()
22072 {
22073 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22074 test_array [0] = 0
22075
22076 ;
22077 return 0;
22078 }
22079 _ACEOF
22080 rm -f conftest.$ac_objext
22081 if { (ac_try="$ac_compile"
22082 case "(($ac_try" in
22083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22084 *) ac_try_echo=$ac_try;;
22085 esac
22086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22087 (eval "$ac_compile") 2>conftest.er1
22088 ac_status=$?
22089 grep -v '^ *+' conftest.er1 >conftest.err
22090 rm -f conftest.er1
22091 cat conftest.err >&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); } && {
22094 test -z "$ac_c_werror_flag" ||
22095 test ! -s conftest.err
22096 } && test -s conftest.$ac_objext; then
22097 ac_hi=$ac_mid
22098 else
22099 echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.$ac_ext >&5
22101
22102 ac_lo=`expr '(' $ac_mid ')' + 1`
22103 fi
22104
22105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22106 done
22107 case $ac_lo in
22108 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22109 '') if test "$ac_cv_type_wchar_t" = yes; then
22110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22111 See \`config.log' for more details." >&5
22112 echo "$as_me: error: cannot compute sizeof (wchar_t)
22113 See \`config.log' for more details." >&2;}
22114 { (exit 77); exit 77; }; }
22115 else
22116 ac_cv_sizeof_wchar_t=0
22117 fi ;;
22118 esac
22119 else
22120 cat >conftest.$ac_ext <<_ACEOF
22121 /* confdefs.h. */
22122 _ACEOF
22123 cat confdefs.h >>conftest.$ac_ext
22124 cat >>conftest.$ac_ext <<_ACEOF
22125 /* end confdefs.h. */
22126
22127 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22128 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22129 # error "fake wchar_t"
22130 #endif
22131 #ifdef HAVE_WCHAR_H
22132 # ifdef __CYGWIN__
22133 # include <stddef.h>
22134 # endif
22135 # include <wchar.h>
22136 #endif
22137 #ifdef HAVE_STDLIB_H
22138 # include <stdlib.h>
22139 #endif
22140 #include <stdio.h>
22141
22142
22143
22144 typedef wchar_t ac__type_sizeof_;
22145 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22146 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22147 #include <stdio.h>
22148 #include <stdlib.h>
22149 int
22150 main ()
22151 {
22152
22153 FILE *f = fopen ("conftest.val", "w");
22154 if (! f)
22155 return 1;
22156 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22157 {
22158 long int i = longval ();
22159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22160 return 1;
22161 fprintf (f, "%ld\n", i);
22162 }
22163 else
22164 {
22165 unsigned long int i = ulongval ();
22166 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22167 return 1;
22168 fprintf (f, "%lu\n", i);
22169 }
22170 return ferror (f) || fclose (f) != 0;
22171
22172 ;
22173 return 0;
22174 }
22175 _ACEOF
22176 rm -f conftest$ac_exeext
22177 if { (ac_try="$ac_link"
22178 case "(($ac_try" in
22179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22180 *) ac_try_echo=$ac_try;;
22181 esac
22182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22183 (eval "$ac_link") 2>&5
22184 ac_status=$?
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22187 { (case "(($ac_try" in
22188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22189 *) ac_try_echo=$ac_try;;
22190 esac
22191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22192 (eval "$ac_try") 2>&5
22193 ac_status=$?
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); }; }; then
22196 ac_cv_sizeof_wchar_t=`cat conftest.val`
22197 else
22198 echo "$as_me: program exited with status $ac_status" >&5
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.$ac_ext >&5
22201
22202 ( exit $ac_status )
22203 if test "$ac_cv_type_wchar_t" = yes; then
22204 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22205 See \`config.log' for more details." >&5
22206 echo "$as_me: error: cannot compute sizeof (wchar_t)
22207 See \`config.log' for more details." >&2;}
22208 { (exit 77); exit 77; }; }
22209 else
22210 ac_cv_sizeof_wchar_t=0
22211 fi
22212 fi
22213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22214 fi
22215 rm -f conftest.val
22216 fi
22217 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22218 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22219
22220
22221
22222 cat >>confdefs.h <<_ACEOF
22223 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22224 _ACEOF
22225
22226
22227 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22228 wxUSE_WCHAR_T=yes
22229 else
22230 wxUSE_WCHAR_T=no
22231 fi
22232
22233 { echo "$as_me:$LINENO: checking for va_copy" >&5
22234 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22235 if test "${wx_cv_func_va_copy+set}" = set; then
22236 echo $ECHO_N "(cached) $ECHO_C" >&6
22237 else
22238
22239 ac_ext=cpp
22240 ac_cpp='$CXXCPP $CPPFLAGS'
22241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22244
22245 cat >conftest.$ac_ext <<_ACEOF
22246
22247 #include <stdarg.h>
22248 void foo(char *f, ...)
22249 {
22250 va_list ap1, ap2;
22251 va_start(ap1, f);
22252 va_copy(ap2, ap1);
22253 va_end(ap2);
22254 va_end(ap1);
22255 }
22256 int main()
22257 {
22258 foo("hi", 17);
22259 return 0;
22260 }
22261 _ACEOF
22262 rm -f conftest.$ac_objext conftest$ac_exeext
22263 if { (ac_try="$ac_link"
22264 case "(($ac_try" in
22265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22266 *) ac_try_echo=$ac_try;;
22267 esac
22268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22269 (eval "$ac_link") 2>conftest.er1
22270 ac_status=$?
22271 grep -v '^ *+' conftest.er1 >conftest.err
22272 rm -f conftest.er1
22273 cat conftest.err >&5
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); } && {
22276 test -z "$ac_cxx_werror_flag" ||
22277 test ! -s conftest.err
22278 } && test -s conftest$ac_exeext &&
22279 $as_test_x conftest$ac_exeext; then
22280 wx_cv_func_va_copy=yes
22281 else
22282 echo "$as_me: failed program was:" >&5
22283 sed 's/^/| /' conftest.$ac_ext >&5
22284
22285 wx_cv_func_va_copy=no
22286
22287 fi
22288
22289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22290 conftest$ac_exeext conftest.$ac_ext
22291 ac_ext=c
22292 ac_cpp='$CPP $CPPFLAGS'
22293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22296
22297
22298
22299 fi
22300 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22301 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22302
22303 if test $wx_cv_func_va_copy = "yes"; then
22304 cat >>confdefs.h <<\_ACEOF
22305 #define HAVE_VA_COPY 1
22306 _ACEOF
22307
22308 else
22309 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22310 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22311 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22312 echo $ECHO_N "(cached) $ECHO_C" >&6
22313 else
22314
22315 if test "$cross_compiling" = yes; then
22316 wx_cv_type_va_list_lvalue=yes
22317
22318 else
22319 cat >conftest.$ac_ext <<_ACEOF
22320
22321 #include <stdarg.h>
22322 int foo(char *f, ...)
22323 {
22324 va_list ap1, ap2;
22325 va_start(ap1, f);
22326 ap2 = ap1;
22327 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22328 return 1;
22329 va_end(ap2);
22330 va_end(ap1);
22331 return 0;
22332 }
22333 int main()
22334 {
22335 return foo("hi", 17);
22336 }
22337 _ACEOF
22338 rm -f conftest$ac_exeext
22339 if { (ac_try="$ac_link"
22340 case "(($ac_try" in
22341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22342 *) ac_try_echo=$ac_try;;
22343 esac
22344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22345 (eval "$ac_link") 2>&5
22346 ac_status=$?
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22349 { (case "(($ac_try" in
22350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22351 *) ac_try_echo=$ac_try;;
22352 esac
22353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22354 (eval "$ac_try") 2>&5
22355 ac_status=$?
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 wx_cv_type_va_list_lvalue=yes
22359 else
22360 echo "$as_me: program exited with status $ac_status" >&5
22361 echo "$as_me: failed program was:" >&5
22362 sed 's/^/| /' conftest.$ac_ext >&5
22363
22364 ( exit $ac_status )
22365 wx_cv_type_va_list_lvalue=no
22366 fi
22367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22368 fi
22369
22370
22371
22372
22373 fi
22374 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22375 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22376
22377 if test $wx_cv_type_va_list_lvalue != "yes"; then
22378 cat >>confdefs.h <<\_ACEOF
22379 #define VA_LIST_IS_ARRAY 1
22380 _ACEOF
22381
22382 fi
22383 fi
22384
22385 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22386
22387 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22388 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22389 if test "${wx_cv_have_variadic_macros+set}" = set; then
22390 echo $ECHO_N "(cached) $ECHO_C" >&6
22391 else
22392
22393 ac_ext=cpp
22394 ac_cpp='$CXXCPP $CPPFLAGS'
22395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22398
22399 cat >conftest.$ac_ext <<_ACEOF
22400 /* confdefs.h. */
22401 _ACEOF
22402 cat confdefs.h >>conftest.$ac_ext
22403 cat >>conftest.$ac_ext <<_ACEOF
22404 /* end confdefs.h. */
22405
22406 #include <stdio.h>
22407 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22408
22409 int
22410 main ()
22411 {
22412
22413 test("%s %d %p", "test", 1, 0);
22414
22415
22416 ;
22417 return 0;
22418 }
22419 _ACEOF
22420 rm -f conftest.$ac_objext
22421 if { (ac_try="$ac_compile"
22422 case "(($ac_try" in
22423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22424 *) ac_try_echo=$ac_try;;
22425 esac
22426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22427 (eval "$ac_compile") 2>conftest.er1
22428 ac_status=$?
22429 grep -v '^ *+' conftest.er1 >conftest.err
22430 rm -f conftest.er1
22431 cat conftest.err >&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); } && {
22434 test -z "$ac_cxx_werror_flag" ||
22435 test ! -s conftest.err
22436 } && test -s conftest.$ac_objext; then
22437 wx_cv_have_variadic_macros=yes
22438 else
22439 echo "$as_me: failed program was:" >&5
22440 sed 's/^/| /' conftest.$ac_ext >&5
22441
22442 wx_cv_have_variadic_macros=no
22443
22444 fi
22445
22446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22447 ac_ext=c
22448 ac_cpp='$CPP $CPPFLAGS'
22449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22452
22453
22454
22455 fi
22456 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22457 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22458
22459 if test $wx_cv_have_variadic_macros = "yes"; then
22460 cat >>confdefs.h <<\_ACEOF
22461 #define HAVE_VARIADIC_MACROS 1
22462 _ACEOF
22463
22464 fi
22465
22466 fi
22467 # Check whether --enable-largefile was given.
22468 if test "${enable_largefile+set}" = set; then
22469 enableval=$enable_largefile;
22470 fi
22471
22472 if test "$enable_largefile" != no; then
22473 wx_largefile=no
22474
22475 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22476 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22477 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22478 echo $ECHO_N "(cached) $ECHO_C" >&6
22479 else
22480
22481 cat >conftest.$ac_ext <<_ACEOF
22482 /* confdefs.h. */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 #define _FILE_OFFSET_BITS 64
22488 #include <sys/types.h>
22489 int
22490 main ()
22491 {
22492 typedef struct {
22493 unsigned int field: sizeof(off_t) == 8;
22494 } wxlf;
22495
22496 ;
22497 return 0;
22498 }
22499 _ACEOF
22500 rm -f conftest.$ac_objext
22501 if { (ac_try="$ac_compile"
22502 case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22505 esac
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_compile") 2>conftest.er1
22508 ac_status=$?
22509 grep -v '^ *+' conftest.er1 >conftest.err
22510 rm -f conftest.er1
22511 cat conftest.err >&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } && {
22514 test -z "$ac_c_werror_flag" ||
22515 test ! -s conftest.err
22516 } && test -s conftest.$ac_objext; then
22517 ac_cv_sys_file_offset_bits=64
22518 else
22519 echo "$as_me: failed program was:" >&5
22520 sed 's/^/| /' conftest.$ac_ext >&5
22521
22522 ac_cv_sys_file_offset_bits=no
22523 fi
22524
22525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22526
22527
22528 fi
22529 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22530 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22531
22532 if test "$ac_cv_sys_file_offset_bits" != no; then
22533 wx_largefile=yes
22534 cat >>confdefs.h <<_ACEOF
22535 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22536 _ACEOF
22537
22538 fi
22539
22540 if test "x$wx_largefile" != "xyes"; then
22541
22542 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22543 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22544 if test "${ac_cv_sys_large_files+set}" = set; then
22545 echo $ECHO_N "(cached) $ECHO_C" >&6
22546 else
22547
22548 cat >conftest.$ac_ext <<_ACEOF
22549 /* confdefs.h. */
22550 _ACEOF
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 #define _LARGE_FILES 1
22555 #include <sys/types.h>
22556 int
22557 main ()
22558 {
22559 typedef struct {
22560 unsigned int field: sizeof(off_t) == 8;
22561 } wxlf;
22562
22563 ;
22564 return 0;
22565 }
22566 _ACEOF
22567 rm -f conftest.$ac_objext
22568 if { (ac_try="$ac_compile"
22569 case "(($ac_try" in
22570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22571 *) ac_try_echo=$ac_try;;
22572 esac
22573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22574 (eval "$ac_compile") 2>conftest.er1
22575 ac_status=$?
22576 grep -v '^ *+' conftest.er1 >conftest.err
22577 rm -f conftest.er1
22578 cat conftest.err >&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); } && {
22581 test -z "$ac_c_werror_flag" ||
22582 test ! -s conftest.err
22583 } && test -s conftest.$ac_objext; then
22584 ac_cv_sys_large_files=1
22585 else
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.$ac_ext >&5
22588
22589 ac_cv_sys_large_files=no
22590 fi
22591
22592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22593
22594
22595 fi
22596 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22597 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22598
22599 if test "$ac_cv_sys_large_files" != no; then
22600 wx_largefile=yes
22601 cat >>confdefs.h <<_ACEOF
22602 #define _LARGE_FILES $ac_cv_sys_large_files
22603 _ACEOF
22604
22605 fi
22606
22607 fi
22608
22609 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22610 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22611 if test "x$wx_largefile" = "xyes"; then
22612 cat >>confdefs.h <<\_ACEOF
22613 #define HAVE_LARGEFILE_SUPPORT 1
22614 _ACEOF
22615
22616 fi
22617 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22618 echo "${ECHO_T}$wx_largefile" >&6; }
22619 fi
22620
22621
22622 if test "x$wx_largefile" = "xyes"; then
22623 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22624 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22625
22626 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22627 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22628 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22629 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22630 echo $ECHO_N "(cached) $ECHO_C" >&6
22631 else
22632
22633 ac_ext=cpp
22634 ac_cpp='$CXXCPP $CPPFLAGS'
22635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22638
22639 cat >conftest.$ac_ext <<_ACEOF
22640 /* confdefs.h. */
22641 _ACEOF
22642 cat confdefs.h >>conftest.$ac_ext
22643 cat >>conftest.$ac_ext <<_ACEOF
22644 /* end confdefs.h. */
22645
22646 int
22647 main ()
22648 {
22649
22650 #ifndef __STDC_EXT__
22651 choke me
22652 #endif
22653
22654 ;
22655 return 0;
22656 }
22657 _ACEOF
22658 rm -f conftest.$ac_objext
22659 if { (ac_try="$ac_compile"
22660 case "(($ac_try" in
22661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22662 *) ac_try_echo=$ac_try;;
22663 esac
22664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22665 (eval "$ac_compile") 2>conftest.er1
22666 ac_status=$?
22667 grep -v '^ *+' conftest.er1 >conftest.err
22668 rm -f conftest.er1
22669 cat conftest.err >&5
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); } && {
22672 test -z "$ac_cxx_werror_flag" ||
22673 test ! -s conftest.err
22674 } && test -s conftest.$ac_objext; then
22675 wx_cv_STDC_EXT_required=no
22676 else
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.$ac_ext >&5
22679
22680 wx_cv_STDC_EXT_required=yes
22681
22682 fi
22683
22684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22685 ac_ext=c
22686 ac_cpp='$CPP $CPPFLAGS'
22687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22690
22691
22692
22693 fi
22694 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22695 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22696 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22697 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22698 fi
22699 fi
22700 else
22701 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22702 fi
22703 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22704 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22705 if test "${ac_cv_sys_largefile_source+set}" = set; then
22706 echo $ECHO_N "(cached) $ECHO_C" >&6
22707 else
22708 while :; do
22709 cat >conftest.$ac_ext <<_ACEOF
22710 /* confdefs.h. */
22711 _ACEOF
22712 cat confdefs.h >>conftest.$ac_ext
22713 cat >>conftest.$ac_ext <<_ACEOF
22714 /* end confdefs.h. */
22715 #include <sys/types.h> /* for off_t */
22716 #include <stdio.h>
22717 int
22718 main ()
22719 {
22720 int (*fp) (FILE *, off_t, int) = fseeko;
22721 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22722 ;
22723 return 0;
22724 }
22725 _ACEOF
22726 rm -f conftest.$ac_objext conftest$ac_exeext
22727 if { (ac_try="$ac_link"
22728 case "(($ac_try" in
22729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22730 *) ac_try_echo=$ac_try;;
22731 esac
22732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22733 (eval "$ac_link") 2>conftest.er1
22734 ac_status=$?
22735 grep -v '^ *+' conftest.er1 >conftest.err
22736 rm -f conftest.er1
22737 cat conftest.err >&5
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); } && {
22740 test -z "$ac_c_werror_flag" ||
22741 test ! -s conftest.err
22742 } && test -s conftest$ac_exeext &&
22743 $as_test_x conftest$ac_exeext; then
22744 ac_cv_sys_largefile_source=no; break
22745 else
22746 echo "$as_me: failed program was:" >&5
22747 sed 's/^/| /' conftest.$ac_ext >&5
22748
22749
22750 fi
22751
22752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22753 conftest$ac_exeext conftest.$ac_ext
22754 cat >conftest.$ac_ext <<_ACEOF
22755 /* confdefs.h. */
22756 _ACEOF
22757 cat confdefs.h >>conftest.$ac_ext
22758 cat >>conftest.$ac_ext <<_ACEOF
22759 /* end confdefs.h. */
22760 #define _LARGEFILE_SOURCE 1
22761 #include <sys/types.h> /* for off_t */
22762 #include <stdio.h>
22763 int
22764 main ()
22765 {
22766 int (*fp) (FILE *, off_t, int) = fseeko;
22767 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22768 ;
22769 return 0;
22770 }
22771 _ACEOF
22772 rm -f conftest.$ac_objext conftest$ac_exeext
22773 if { (ac_try="$ac_link"
22774 case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22777 esac
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_link") 2>conftest.er1
22780 ac_status=$?
22781 grep -v '^ *+' conftest.er1 >conftest.err
22782 rm -f conftest.er1
22783 cat conftest.err >&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); } && {
22786 test -z "$ac_c_werror_flag" ||
22787 test ! -s conftest.err
22788 } && test -s conftest$ac_exeext &&
22789 $as_test_x conftest$ac_exeext; then
22790 ac_cv_sys_largefile_source=1; break
22791 else
22792 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.$ac_ext >&5
22794
22795
22796 fi
22797
22798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22799 conftest$ac_exeext conftest.$ac_ext
22800 ac_cv_sys_largefile_source=unknown
22801 break
22802 done
22803 fi
22804 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22805 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22806 case $ac_cv_sys_largefile_source in #(
22807 no | unknown) ;;
22808 *)
22809 cat >>confdefs.h <<_ACEOF
22810 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22811 _ACEOF
22812 ;;
22813 esac
22814 rm -f conftest*
22815
22816 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22817 # in glibc 2.1.3, but that breaks too many other things.
22818 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22819 if test $ac_cv_sys_largefile_source != unknown; then
22820
22821 cat >>confdefs.h <<\_ACEOF
22822 #define HAVE_FSEEKO 1
22823 _ACEOF
22824
22825 fi
22826
22827 if test "$ac_cv_sys_largefile_source" != no; then
22828 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22829 fi
22830 fi
22831
22832 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22833 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22834 if test "${ac_cv_c_bigendian+set}" = set; then
22835 echo $ECHO_N "(cached) $ECHO_C" >&6
22836 else
22837 ac_cv_c_bigendian=unknown
22838 # See if sys/param.h defines the BYTE_ORDER macro.
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 #include <sys/types.h>
22846 #include <sys/param.h>
22847 int
22848 main ()
22849 {
22850
22851 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22852 bogus endian macros
22853 #endif
22854 ;
22855 return 0;
22856 }
22857 _ACEOF
22858 rm -f conftest.$ac_objext
22859 if { (ac_try="$ac_compile"
22860 case "(($ac_try" in
22861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22862 *) ac_try_echo=$ac_try;;
22863 esac
22864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22865 (eval "$ac_compile") 2>conftest.er1
22866 ac_status=$?
22867 grep -v '^ *+' conftest.er1 >conftest.err
22868 rm -f conftest.er1
22869 cat conftest.err >&5
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); } && {
22872 test -z "$ac_c_werror_flag" ||
22873 test ! -s conftest.err
22874 } && test -s conftest.$ac_objext; then
22875 # It does; now see whether it defined to BIG_ENDIAN or not.
22876 cat >conftest.$ac_ext <<_ACEOF
22877 /* confdefs.h. */
22878 _ACEOF
22879 cat confdefs.h >>conftest.$ac_ext
22880 cat >>conftest.$ac_ext <<_ACEOF
22881 /* end confdefs.h. */
22882 #include <sys/types.h>
22883 #include <sys/param.h>
22884 int
22885 main ()
22886 {
22887
22888 #if BYTE_ORDER != BIG_ENDIAN
22889 not big endian
22890 #endif
22891 ;
22892 return 0;
22893 }
22894 _ACEOF
22895 rm -f conftest.$ac_objext
22896 if { (ac_try="$ac_compile"
22897 case "(($ac_try" in
22898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22899 *) ac_try_echo=$ac_try;;
22900 esac
22901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22902 (eval "$ac_compile") 2>conftest.er1
22903 ac_status=$?
22904 grep -v '^ *+' conftest.er1 >conftest.err
22905 rm -f conftest.er1
22906 cat conftest.err >&5
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); } && {
22909 test -z "$ac_c_werror_flag" ||
22910 test ! -s conftest.err
22911 } && test -s conftest.$ac_objext; then
22912 ac_cv_c_bigendian=yes
22913 else
22914 echo "$as_me: failed program was:" >&5
22915 sed 's/^/| /' conftest.$ac_ext >&5
22916
22917 ac_cv_c_bigendian=no
22918 fi
22919
22920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22921 else
22922 echo "$as_me: failed program was:" >&5
22923 sed 's/^/| /' conftest.$ac_ext >&5
22924
22925
22926 fi
22927
22928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22929 if test $ac_cv_c_bigendian = unknown; then
22930 if test "$cross_compiling" = yes; then
22931 ac_cv_c_bigendian=unknown
22932 else
22933 cat >conftest.$ac_ext <<_ACEOF
22934 /* confdefs.h. */
22935 _ACEOF
22936 cat confdefs.h >>conftest.$ac_ext
22937 cat >>conftest.$ac_ext <<_ACEOF
22938 /* end confdefs.h. */
22939 main () {
22940 /* Are we little or big endian? From Harbison&Steele. */
22941 union
22942 {
22943 long l;
22944 char c[sizeof (long)];
22945 } u;
22946 u.l = 1;
22947 exit (u.c[sizeof (long) - 1] == 1);
22948 }
22949 _ACEOF
22950 rm -f conftest$ac_exeext
22951 if { (ac_try="$ac_link"
22952 case "(($ac_try" in
22953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22954 *) ac_try_echo=$ac_try;;
22955 esac
22956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22957 (eval "$ac_link") 2>&5
22958 ac_status=$?
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22961 { (case "(($ac_try" in
22962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22963 *) ac_try_echo=$ac_try;;
22964 esac
22965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22966 (eval "$ac_try") 2>&5
22967 ac_status=$?
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); }; }; then
22970 ac_cv_c_bigendian=no
22971 else
22972 echo "$as_me: program exited with status $ac_status" >&5
22973 echo "$as_me: failed program was:" >&5
22974 sed 's/^/| /' conftest.$ac_ext >&5
22975
22976 ( exit $ac_status )
22977 ac_cv_c_bigendian=yes
22978 fi
22979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22980 fi
22981
22982
22983 fi
22984 fi
22985 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22986 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22987 if test $ac_cv_c_bigendian = unknown; then
22988 { 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
22989 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;}
22990 fi
22991 if test $ac_cv_c_bigendian = yes; then
22992 cat >>confdefs.h <<\_ACEOF
22993 #define WORDS_BIGENDIAN 1
22994 _ACEOF
22995
22996 fi
22997
22998
22999
23000
23001 ac_ext=cpp
23002 ac_cpp='$CXXCPP $CPPFLAGS'
23003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23006
23007
23008 { echo "$as_me:$LINENO: checking for iostream" >&5
23009 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
23010 if test "${ac_cv_header_iostream+set}" = set; then
23011 echo $ECHO_N "(cached) $ECHO_C" >&6
23012 else
23013 cat >conftest.$ac_ext <<_ACEOF
23014 /* confdefs.h. */
23015 _ACEOF
23016 cat confdefs.h >>conftest.$ac_ext
23017 cat >>conftest.$ac_ext <<_ACEOF
23018 /* end confdefs.h. */
23019
23020
23021 #include <iostream>
23022 _ACEOF
23023 rm -f conftest.$ac_objext
23024 if { (ac_try="$ac_compile"
23025 case "(($ac_try" in
23026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23027 *) ac_try_echo=$ac_try;;
23028 esac
23029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23030 (eval "$ac_compile") 2>conftest.er1
23031 ac_status=$?
23032 grep -v '^ *+' conftest.er1 >conftest.err
23033 rm -f conftest.er1
23034 cat conftest.err >&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } && {
23037 test -z "$ac_cxx_werror_flag" ||
23038 test ! -s conftest.err
23039 } && test -s conftest.$ac_objext; then
23040 ac_cv_header_iostream=yes
23041 else
23042 echo "$as_me: failed program was:" >&5
23043 sed 's/^/| /' conftest.$ac_ext >&5
23044
23045 ac_cv_header_iostream=no
23046 fi
23047
23048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23049 fi
23050 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
23051 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
23052
23053
23054
23055 if test "$ac_cv_header_iostream" = "yes" ; then
23056 :
23057 else
23058 cat >>confdefs.h <<\_ACEOF
23059 #define wxUSE_IOSTREAMH 1
23060 _ACEOF
23061
23062 fi
23063
23064 ac_ext=c
23065 ac_cpp='$CPP $CPPFLAGS'
23066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23069
23070
23071
23072
23073 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23074 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23075 if test "${wx_cv_cpp_bool+set}" = set; then
23076 echo $ECHO_N "(cached) $ECHO_C" >&6
23077 else
23078
23079
23080 ac_ext=cpp
23081 ac_cpp='$CXXCPP $CPPFLAGS'
23082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23085
23086
23087 cat >conftest.$ac_ext <<_ACEOF
23088 /* confdefs.h. */
23089 _ACEOF
23090 cat confdefs.h >>conftest.$ac_ext
23091 cat >>conftest.$ac_ext <<_ACEOF
23092 /* end confdefs.h. */
23093
23094
23095 int
23096 main ()
23097 {
23098
23099 bool b = true;
23100
23101 return 0;
23102
23103 ;
23104 return 0;
23105 }
23106 _ACEOF
23107 rm -f conftest.$ac_objext
23108 if { (ac_try="$ac_compile"
23109 case "(($ac_try" in
23110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23111 *) ac_try_echo=$ac_try;;
23112 esac
23113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23114 (eval "$ac_compile") 2>conftest.er1
23115 ac_status=$?
23116 grep -v '^ *+' conftest.er1 >conftest.err
23117 rm -f conftest.er1
23118 cat conftest.err >&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } && {
23121 test -z "$ac_cxx_werror_flag" ||
23122 test ! -s conftest.err
23123 } && test -s conftest.$ac_objext; then
23124
23125 wx_cv_cpp_bool=yes
23126
23127 else
23128 echo "$as_me: failed program was:" >&5
23129 sed 's/^/| /' conftest.$ac_ext >&5
23130
23131
23132 wx_cv_cpp_bool=no
23133
23134
23135 fi
23136
23137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23138
23139 ac_ext=c
23140 ac_cpp='$CPP $CPPFLAGS'
23141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23144
23145
23146 fi
23147 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23148 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23149
23150 if test "$wx_cv_cpp_bool" = "yes"; then
23151 cat >>confdefs.h <<\_ACEOF
23152 #define HAVE_BOOL 1
23153 _ACEOF
23154
23155 fi
23156
23157
23158
23159 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23160 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23161 if test "${wx_cv_explicit+set}" = set; then
23162 echo $ECHO_N "(cached) $ECHO_C" >&6
23163 else
23164
23165
23166 ac_ext=cpp
23167 ac_cpp='$CXXCPP $CPPFLAGS'
23168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23171
23172
23173 cat >conftest.$ac_ext <<_ACEOF
23174 /* confdefs.h. */
23175 _ACEOF
23176 cat confdefs.h >>conftest.$ac_ext
23177 cat >>conftest.$ac_ext <<_ACEOF
23178 /* end confdefs.h. */
23179
23180 class Foo { public: explicit Foo(int) {} };
23181
23182 int
23183 main ()
23184 {
23185
23186 return 0;
23187
23188 ;
23189 return 0;
23190 }
23191 _ACEOF
23192 rm -f conftest.$ac_objext
23193 if { (ac_try="$ac_compile"
23194 case "(($ac_try" in
23195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23196 *) ac_try_echo=$ac_try;;
23197 esac
23198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23199 (eval "$ac_compile") 2>conftest.er1
23200 ac_status=$?
23201 grep -v '^ *+' conftest.er1 >conftest.err
23202 rm -f conftest.er1
23203 cat conftest.err >&5
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); } && {
23206 test -z "$ac_cxx_werror_flag" ||
23207 test ! -s conftest.err
23208 } && test -s conftest.$ac_objext; then
23209
23210 cat >conftest.$ac_ext <<_ACEOF
23211 /* confdefs.h. */
23212 _ACEOF
23213 cat confdefs.h >>conftest.$ac_ext
23214 cat >>conftest.$ac_ext <<_ACEOF
23215 /* end confdefs.h. */
23216
23217 class Foo { public: explicit Foo(int) {} };
23218 static void TakeFoo(const Foo& foo) { }
23219
23220 int
23221 main ()
23222 {
23223
23224 TakeFoo(17);
23225 return 0;
23226
23227 ;
23228 return 0;
23229 }
23230 _ACEOF
23231 rm -f conftest.$ac_objext
23232 if { (ac_try="$ac_compile"
23233 case "(($ac_try" in
23234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23235 *) ac_try_echo=$ac_try;;
23236 esac
23237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23238 (eval "$ac_compile") 2>conftest.er1
23239 ac_status=$?
23240 grep -v '^ *+' conftest.er1 >conftest.err
23241 rm -f conftest.er1
23242 cat conftest.err >&5
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); } && {
23245 test -z "$ac_cxx_werror_flag" ||
23246 test ! -s conftest.err
23247 } && test -s conftest.$ac_objext; then
23248 wx_cv_explicit=no
23249 else
23250 echo "$as_me: failed program was:" >&5
23251 sed 's/^/| /' conftest.$ac_ext >&5
23252
23253 wx_cv_explicit=yes
23254
23255 fi
23256
23257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23258
23259 else
23260 echo "$as_me: failed program was:" >&5
23261 sed 's/^/| /' conftest.$ac_ext >&5
23262
23263 wx_cv_explicit=no
23264
23265 fi
23266
23267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23268
23269 ac_ext=c
23270 ac_cpp='$CPP $CPPFLAGS'
23271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23274
23275
23276 fi
23277 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23278 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23279
23280 if test "$wx_cv_explicit" = "yes"; then
23281 cat >>confdefs.h <<\_ACEOF
23282 #define HAVE_EXPLICIT 1
23283 _ACEOF
23284
23285 fi
23286
23287
23288 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23289 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23290 if test "${ac_cv_cxx_const_cast+set}" = set; then
23291 echo $ECHO_N "(cached) $ECHO_C" >&6
23292 else
23293
23294 ac_ext=cpp
23295 ac_cpp='$CXXCPP $CPPFLAGS'
23296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23299
23300 cat >conftest.$ac_ext <<_ACEOF
23301 /* confdefs.h. */
23302 _ACEOF
23303 cat confdefs.h >>conftest.$ac_ext
23304 cat >>conftest.$ac_ext <<_ACEOF
23305 /* end confdefs.h. */
23306
23307 int
23308 main ()
23309 {
23310 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23311 ;
23312 return 0;
23313 }
23314 _ACEOF
23315 rm -f conftest.$ac_objext
23316 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23323 ac_status=$?
23324 grep -v '^ *+' conftest.er1 >conftest.err
23325 rm -f conftest.er1
23326 cat conftest.err >&5
23327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328 (exit $ac_status); } && {
23329 test -z "$ac_cxx_werror_flag" ||
23330 test ! -s conftest.err
23331 } && test -s conftest.$ac_objext; then
23332 ac_cv_cxx_const_cast=yes
23333 else
23334 echo "$as_me: failed program was:" >&5
23335 sed 's/^/| /' conftest.$ac_ext >&5
23336
23337 ac_cv_cxx_const_cast=no
23338 fi
23339
23340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23341 ac_ext=c
23342 ac_cpp='$CPP $CPPFLAGS'
23343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23346
23347
23348 fi
23349 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23350 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23351 if test "$ac_cv_cxx_const_cast" = yes; then
23352
23353 cat >>confdefs.h <<\_ACEOF
23354 #define HAVE_CONST_CAST
23355 _ACEOF
23356
23357 fi
23358
23359 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23360 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23361 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23362 echo $ECHO_N "(cached) $ECHO_C" >&6
23363 else
23364
23365 ac_ext=cpp
23366 ac_cpp='$CXXCPP $CPPFLAGS'
23367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23370
23371 cat >conftest.$ac_ext <<_ACEOF
23372 /* confdefs.h. */
23373 _ACEOF
23374 cat confdefs.h >>conftest.$ac_ext
23375 cat >>conftest.$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23377 #include <typeinfo>
23378 class Base { public : Base () {} virtual void f () = 0;};
23379 class Derived : public Base { public : Derived () {} virtual void f () {} };
23380 class Unrelated { public : Unrelated () {} };
23381 int g (Unrelated&) { return 0; }
23382 int
23383 main ()
23384 {
23385
23386 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23387 ;
23388 return 0;
23389 }
23390 _ACEOF
23391 rm -f conftest.$ac_objext
23392 if { (ac_try="$ac_compile"
23393 case "(($ac_try" in
23394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23395 *) ac_try_echo=$ac_try;;
23396 esac
23397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23398 (eval "$ac_compile") 2>conftest.er1
23399 ac_status=$?
23400 grep -v '^ *+' conftest.er1 >conftest.err
23401 rm -f conftest.er1
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } && {
23405 test -z "$ac_cxx_werror_flag" ||
23406 test ! -s conftest.err
23407 } && test -s conftest.$ac_objext; then
23408 ac_cv_cxx_reinterpret_cast=yes
23409 else
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.$ac_ext >&5
23412
23413 ac_cv_cxx_reinterpret_cast=no
23414 fi
23415
23416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23417 ac_ext=c
23418 ac_cpp='$CPP $CPPFLAGS'
23419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23422
23423
23424 fi
23425 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23426 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23427 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23428
23429 cat >>confdefs.h <<\_ACEOF
23430 #define HAVE_REINTERPRET_CAST
23431 _ACEOF
23432
23433 fi
23434
23435 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23436 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23437 if test "${ac_cv_cxx_static_cast+set}" = set; then
23438 echo $ECHO_N "(cached) $ECHO_C" >&6
23439 else
23440
23441 ac_ext=cpp
23442 ac_cpp='$CXXCPP $CPPFLAGS'
23443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23446
23447 cat >conftest.$ac_ext <<_ACEOF
23448 /* confdefs.h. */
23449 _ACEOF
23450 cat confdefs.h >>conftest.$ac_ext
23451 cat >>conftest.$ac_ext <<_ACEOF
23452 /* end confdefs.h. */
23453 #include <typeinfo>
23454 class Base { public : Base () {} virtual void f () = 0; };
23455 class Derived : public Base { public : Derived () {} virtual void f () {} };
23456 int g (Derived&) { return 0; }
23457 int
23458 main ()
23459 {
23460
23461 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23462 ;
23463 return 0;
23464 }
23465 _ACEOF
23466 rm -f conftest.$ac_objext
23467 if { (ac_try="$ac_compile"
23468 case "(($ac_try" in
23469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23470 *) ac_try_echo=$ac_try;;
23471 esac
23472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23473 (eval "$ac_compile") 2>conftest.er1
23474 ac_status=$?
23475 grep -v '^ *+' conftest.er1 >conftest.err
23476 rm -f conftest.er1
23477 cat conftest.err >&5
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); } && {
23480 test -z "$ac_cxx_werror_flag" ||
23481 test ! -s conftest.err
23482 } && test -s conftest.$ac_objext; then
23483 ac_cv_cxx_static_cast=yes
23484 else
23485 echo "$as_me: failed program was:" >&5
23486 sed 's/^/| /' conftest.$ac_ext >&5
23487
23488 ac_cv_cxx_static_cast=no
23489 fi
23490
23491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23492 ac_ext=c
23493 ac_cpp='$CPP $CPPFLAGS'
23494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23497
23498
23499 fi
23500 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23501 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23502 if test "$ac_cv_cxx_static_cast" = yes; then
23503
23504 cat >>confdefs.h <<\_ACEOF
23505 #define HAVE_STATIC_CAST
23506 _ACEOF
23507
23508 fi
23509
23510
23511 if test "x$SUNCXX" = xyes; then
23512 CXXFLAGS="-features=tmplife $CXXFLAGS"
23513 fi
23514
23515 if test "x$SUNCC" = xyes; then
23516 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23517 fi
23518
23519 if test "x$SGICC" = "xyes"; then
23520 CFLAGS="-woff 3970 $CFLAGS"
23521 fi
23522 if test "x$SGICXX" = "xyes"; then
23523 CXXFLAGS="-woff 3970 $CXXFLAGS"
23524 fi
23525
23526 if test "x$HPCC" = "xyes"; then
23527 CFLAGS="+W 2011,2450 $CFLAGS"
23528 fi
23529 if test "x$HPCXX" = "xyes"; then
23530 CXXFLAGS="+W 2340 $CXXFLAGS"
23531 fi
23532
23533 if test "x$COMPAQCXX" = "xyes"; then
23534 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23535 fi
23536
23537 ac_ext=cpp
23538 ac_cpp='$CXXCPP $CPPFLAGS'
23539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23542
23543
23544 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23545 if test "$wxUSE_UNICODE" = "yes"; then
23546 std_string="std::wstring"
23547 char_type="wchar_t"
23548 else
23549 std_string="std::string"
23550 char_type="char"
23551 fi
23552
23553 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23554 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23555 if test "${wx_cv_class_stdstring+set}" = set; then
23556 echo $ECHO_N "(cached) $ECHO_C" >&6
23557 else
23558
23559 cat >conftest.$ac_ext <<_ACEOF
23560 /* confdefs.h. */
23561 _ACEOF
23562 cat confdefs.h >>conftest.$ac_ext
23563 cat >>conftest.$ac_ext <<_ACEOF
23564 /* end confdefs.h. */
23565 #include <string>
23566 int
23567 main ()
23568 {
23569 $std_string foo;
23570 ;
23571 return 0;
23572 }
23573 _ACEOF
23574 rm -f conftest.$ac_objext
23575 if { (ac_try="$ac_compile"
23576 case "(($ac_try" in
23577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23578 *) ac_try_echo=$ac_try;;
23579 esac
23580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23581 (eval "$ac_compile") 2>conftest.er1
23582 ac_status=$?
23583 grep -v '^ *+' conftest.er1 >conftest.err
23584 rm -f conftest.er1
23585 cat conftest.err >&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); } && {
23588 test -z "$ac_cxx_werror_flag" ||
23589 test ! -s conftest.err
23590 } && test -s conftest.$ac_objext; then
23591 wx_cv_class_stdstring=yes
23592 else
23593 echo "$as_me: failed program was:" >&5
23594 sed 's/^/| /' conftest.$ac_ext >&5
23595
23596 wx_cv_class_stdstring=no
23597
23598 fi
23599
23600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23601
23602
23603 fi
23604 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23605 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23606
23607 if test "$wx_cv_class_stdstring" = yes; then
23608 if test "$wxUSE_UNICODE" = "yes"; then
23609 cat >>confdefs.h <<\_ACEOF
23610 #define HAVE_STD_WSTRING 1
23611 _ACEOF
23612
23613 fi
23614 else
23615 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23616 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23617 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23618 echo $ECHO_N "(cached) $ECHO_C" >&6
23619 else
23620
23621 cat >conftest.$ac_ext <<_ACEOF
23622 /* confdefs.h. */
23623 _ACEOF
23624 cat confdefs.h >>conftest.$ac_ext
23625 cat >>conftest.$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23627
23628 #ifdef HAVE_WCHAR_H
23629 # ifdef __CYGWIN__
23630 # include <stddef.h>
23631 # endif
23632 # include <wchar.h>
23633 #endif
23634 #ifdef HAVE_STDLIB_H
23635 # include <stdlib.h>
23636 #endif
23637 #include <stdio.h>
23638 #include <string>
23639
23640 int
23641 main ()
23642 {
23643 std::basic_string<$char_type> foo;
23644 const $char_type* dummy = foo.c_str();
23645 ;
23646 return 0;
23647 }
23648 _ACEOF
23649 rm -f conftest.$ac_objext
23650 if { (ac_try="$ac_compile"
23651 case "(($ac_try" in
23652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23653 *) ac_try_echo=$ac_try;;
23654 esac
23655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23656 (eval "$ac_compile") 2>conftest.er1
23657 ac_status=$?
23658 grep -v '^ *+' conftest.er1 >conftest.err
23659 rm -f conftest.er1
23660 cat conftest.err >&5
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); } && {
23663 test -z "$ac_cxx_werror_flag" ||
23664 test ! -s conftest.err
23665 } && test -s conftest.$ac_objext; then
23666 wx_cv_class_stdbasicstring=yes
23667 else
23668 echo "$as_me: failed program was:" >&5
23669 sed 's/^/| /' conftest.$ac_ext >&5
23670
23671 wx_cv_class_stdbasicstring=no
23672
23673 fi
23674
23675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23676
23677
23678 fi
23679 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23680 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23681
23682 if test "$wx_cv_class_stdbasicstring" != yes; then
23683 if test "$wxUSE_STL" = "yes"; then
23684 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23685 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23686 { (exit 1); exit 1; }; }
23687 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23688 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23689 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23690 { (exit 1); exit 1; }; }
23691 else
23692 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23693 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23694 wxUSE_STD_STRING=no
23695 fi
23696 fi
23697 fi
23698 fi
23699
23700 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23701 { echo "$as_me:$LINENO: checking for std::istream" >&5
23702 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23703 if test "${ac_cv_type_std__istream+set}" = set; then
23704 echo $ECHO_N "(cached) $ECHO_C" >&6
23705 else
23706 cat >conftest.$ac_ext <<_ACEOF
23707 /* confdefs.h. */
23708 _ACEOF
23709 cat confdefs.h >>conftest.$ac_ext
23710 cat >>conftest.$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23712 #include <iostream>
23713
23714 typedef std::istream ac__type_new_;
23715 int
23716 main ()
23717 {
23718 if ((ac__type_new_ *) 0)
23719 return 0;
23720 if (sizeof (ac__type_new_))
23721 return 0;
23722 ;
23723 return 0;
23724 }
23725 _ACEOF
23726 rm -f conftest.$ac_objext
23727 if { (ac_try="$ac_compile"
23728 case "(($ac_try" in
23729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23730 *) ac_try_echo=$ac_try;;
23731 esac
23732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23733 (eval "$ac_compile") 2>conftest.er1
23734 ac_status=$?
23735 grep -v '^ *+' conftest.er1 >conftest.err
23736 rm -f conftest.er1
23737 cat conftest.err >&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); } && {
23740 test -z "$ac_cxx_werror_flag" ||
23741 test ! -s conftest.err
23742 } && test -s conftest.$ac_objext; then
23743 ac_cv_type_std__istream=yes
23744 else
23745 echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.$ac_ext >&5
23747
23748 ac_cv_type_std__istream=no
23749 fi
23750
23751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23752 fi
23753 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23754 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23755 if test $ac_cv_type_std__istream = yes; then
23756
23757 cat >>confdefs.h <<_ACEOF
23758 #define HAVE_STD__ISTREAM 1
23759 _ACEOF
23760
23761
23762 else
23763 wxUSE_STD_IOSTREAM=no
23764 fi
23765 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23766 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23767 if test "${ac_cv_type_std__ostream+set}" = set; then
23768 echo $ECHO_N "(cached) $ECHO_C" >&6
23769 else
23770 cat >conftest.$ac_ext <<_ACEOF
23771 /* confdefs.h. */
23772 _ACEOF
23773 cat confdefs.h >>conftest.$ac_ext
23774 cat >>conftest.$ac_ext <<_ACEOF
23775 /* end confdefs.h. */
23776 #include <iostream>
23777
23778 typedef std::ostream ac__type_new_;
23779 int
23780 main ()
23781 {
23782 if ((ac__type_new_ *) 0)
23783 return 0;
23784 if (sizeof (ac__type_new_))
23785 return 0;
23786 ;
23787 return 0;
23788 }
23789 _ACEOF
23790 rm -f conftest.$ac_objext
23791 if { (ac_try="$ac_compile"
23792 case "(($ac_try" in
23793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23794 *) ac_try_echo=$ac_try;;
23795 esac
23796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23797 (eval "$ac_compile") 2>conftest.er1
23798 ac_status=$?
23799 grep -v '^ *+' conftest.er1 >conftest.err
23800 rm -f conftest.er1
23801 cat conftest.err >&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } && {
23804 test -z "$ac_cxx_werror_flag" ||
23805 test ! -s conftest.err
23806 } && test -s conftest.$ac_objext; then
23807 ac_cv_type_std__ostream=yes
23808 else
23809 echo "$as_me: failed program was:" >&5
23810 sed 's/^/| /' conftest.$ac_ext >&5
23811
23812 ac_cv_type_std__ostream=no
23813 fi
23814
23815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23816 fi
23817 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23818 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23819 if test $ac_cv_type_std__ostream = yes; then
23820
23821 cat >>confdefs.h <<_ACEOF
23822 #define HAVE_STD__OSTREAM 1
23823 _ACEOF
23824
23825
23826 else
23827 wxUSE_STD_IOSTREAM=no
23828 fi
23829
23830
23831 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23832 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23833 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23834 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23835 { (exit 1); exit 1; }; }
23836 else
23837 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23838 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23839 fi
23840 fi
23841 fi
23842
23843 if test "$wxUSE_STL" = "yes"; then
23844 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23845 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23846 if test "${wx_cv_lib_stl+set}" = set; then
23847 echo $ECHO_N "(cached) $ECHO_C" >&6
23848 else
23849 cat >conftest.$ac_ext <<_ACEOF
23850 /* confdefs.h. */
23851 _ACEOF
23852 cat confdefs.h >>conftest.$ac_ext
23853 cat >>conftest.$ac_ext <<_ACEOF
23854 /* end confdefs.h. */
23855 #include <string>
23856 #include <functional>
23857 #include <algorithm>
23858 #include <vector>
23859 #include <list>
23860 int
23861 main ()
23862 {
23863 std::vector<int> moo;
23864 std::list<int> foo;
23865 std::vector<int>::iterator it =
23866 std::find_if(moo.begin(), moo.end(),
23867 std::bind2nd(std::less<int>(), 3));
23868 ;
23869 return 0;
23870 }
23871 _ACEOF
23872 rm -f conftest.$ac_objext
23873 if { (ac_try="$ac_compile"
23874 case "(($ac_try" in
23875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23876 *) ac_try_echo=$ac_try;;
23877 esac
23878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23879 (eval "$ac_compile") 2>conftest.er1
23880 ac_status=$?
23881 grep -v '^ *+' conftest.er1 >conftest.err
23882 rm -f conftest.er1
23883 cat conftest.err >&5
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); } && {
23886 test -z "$ac_cxx_werror_flag" ||
23887 test ! -s conftest.err
23888 } && test -s conftest.$ac_objext; then
23889 wx_cv_lib_stl=yes
23890 else
23891 echo "$as_me: failed program was:" >&5
23892 sed 's/^/| /' conftest.$ac_ext >&5
23893
23894 wx_cv_lib_stl=no
23895
23896 fi
23897
23898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23899
23900 fi
23901 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23902 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23903
23904 if test "$wx_cv_lib_stl" != yes; then
23905 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23906 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23907 { (exit 1); exit 1; }; }
23908 fi
23909
23910 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23911 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23912 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23913 echo $ECHO_N "(cached) $ECHO_C" >&6
23914 else
23915 cat >conftest.$ac_ext <<_ACEOF
23916 /* confdefs.h. */
23917 _ACEOF
23918 cat confdefs.h >>conftest.$ac_ext
23919 cat >>conftest.$ac_ext <<_ACEOF
23920 /* end confdefs.h. */
23921 #include <string>
23922 int
23923 main ()
23924 {
23925 std::string foo, bar;
23926 foo.compare(bar);
23927 foo.compare(1, 1, bar);
23928 foo.compare(1, 1, bar, 1, 1);
23929 foo.compare("");
23930 foo.compare(1, 1, "");
23931 foo.compare(1, 1, "", 2);
23932 ;
23933 return 0;
23934 }
23935 _ACEOF
23936 rm -f conftest.$ac_objext
23937 if { (ac_try="$ac_compile"
23938 case "(($ac_try" in
23939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23940 *) ac_try_echo=$ac_try;;
23941 esac
23942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23943 (eval "$ac_compile") 2>conftest.er1
23944 ac_status=$?
23945 grep -v '^ *+' conftest.er1 >conftest.err
23946 rm -f conftest.er1
23947 cat conftest.err >&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); } && {
23950 test -z "$ac_cxx_werror_flag" ||
23951 test ! -s conftest.err
23952 } && test -s conftest.$ac_objext; then
23953 wx_cv_func_stdstring_compare=yes
23954 else
23955 echo "$as_me: failed program was:" >&5
23956 sed 's/^/| /' conftest.$ac_ext >&5
23957
23958 wx_cv_func_stdstring_compare=no
23959
23960 fi
23961
23962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23963
23964 fi
23965 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23966 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23967
23968 if test "$wx_cv_func_stdstring_compare" = yes; then
23969 cat >>confdefs.h <<\_ACEOF
23970 #define HAVE_STD_STRING_COMPARE 1
23971 _ACEOF
23972
23973 fi
23974
23975 { echo "$as_me:$LINENO: checking for hash_map" >&5
23976 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23977 if test "${ac_cv_header_hash_map+set}" = set; then
23978 echo $ECHO_N "(cached) $ECHO_C" >&6
23979 else
23980 cat >conftest.$ac_ext <<_ACEOF
23981 /* confdefs.h. */
23982 _ACEOF
23983 cat confdefs.h >>conftest.$ac_ext
23984 cat >>conftest.$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23986
23987
23988
23989 #include <hash_map>
23990 _ACEOF
23991 rm -f conftest.$ac_objext
23992 if { (ac_try="$ac_compile"
23993 case "(($ac_try" in
23994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23995 *) ac_try_echo=$ac_try;;
23996 esac
23997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23998 (eval "$ac_compile") 2>conftest.er1
23999 ac_status=$?
24000 grep -v '^ *+' conftest.er1 >conftest.err
24001 rm -f conftest.er1
24002 cat conftest.err >&5
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); } && {
24005 test -z "$ac_cxx_werror_flag" ||
24006 test ! -s conftest.err
24007 } && test -s conftest.$ac_objext; then
24008 ac_cv_header_hash_map=yes
24009 else
24010 echo "$as_me: failed program was:" >&5
24011 sed 's/^/| /' conftest.$ac_ext >&5
24012
24013 ac_cv_header_hash_map=no
24014 fi
24015
24016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24017 fi
24018 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24019 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24020 if test $ac_cv_header_hash_map = yes; then
24021 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24022 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24023 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24024 echo $ECHO_N "(cached) $ECHO_C" >&6
24025 else
24026 cat >conftest.$ac_ext <<_ACEOF
24027 /* confdefs.h. */
24028 _ACEOF
24029 cat confdefs.h >>conftest.$ac_ext
24030 cat >>conftest.$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24032 #include <hash_map>
24033 #include <hash_set>
24034 int
24035 main ()
24036 {
24037 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24038 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24039 ;
24040 return 0;
24041 }
24042 _ACEOF
24043 rm -f conftest.$ac_objext
24044 if { (ac_try="$ac_compile"
24045 case "(($ac_try" in
24046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24047 *) ac_try_echo=$ac_try;;
24048 esac
24049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24050 (eval "$ac_compile") 2>conftest.er1
24051 ac_status=$?
24052 grep -v '^ *+' conftest.er1 >conftest.err
24053 rm -f conftest.er1
24054 cat conftest.err >&5
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); } && {
24057 test -z "$ac_cxx_werror_flag" ||
24058 test ! -s conftest.err
24059 } && test -s conftest.$ac_objext; then
24060 wx_cv_class_stdhashmapset=yes
24061 else
24062 echo "$as_me: failed program was:" >&5
24063 sed 's/^/| /' conftest.$ac_ext >&5
24064
24065 wx_cv_class_stdhashmapset=no
24066 fi
24067
24068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24069
24070
24071 fi
24072 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24073 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24074 fi
24075
24076
24077
24078 if test "$wx_cv_class_stdhashmapset" = yes; then
24079 cat >>confdefs.h <<\_ACEOF
24080 #define HAVE_HASH_MAP 1
24081 _ACEOF
24082
24083 cat >>confdefs.h <<\_ACEOF
24084 #define HAVE_STD_HASH_MAP 1
24085 _ACEOF
24086
24087 fi
24088
24089 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24090 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24091 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24092 echo $ECHO_N "(cached) $ECHO_C" >&6
24093 else
24094 cat >conftest.$ac_ext <<_ACEOF
24095 /* confdefs.h. */
24096 _ACEOF
24097 cat confdefs.h >>conftest.$ac_ext
24098 cat >>conftest.$ac_ext <<_ACEOF
24099 /* end confdefs.h. */
24100
24101
24102
24103 #include <ext/hash_map>
24104 _ACEOF
24105 rm -f conftest.$ac_objext
24106 if { (ac_try="$ac_compile"
24107 case "(($ac_try" in
24108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24109 *) ac_try_echo=$ac_try;;
24110 esac
24111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24112 (eval "$ac_compile") 2>conftest.er1
24113 ac_status=$?
24114 grep -v '^ *+' conftest.er1 >conftest.err
24115 rm -f conftest.er1
24116 cat conftest.err >&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } && {
24119 test -z "$ac_cxx_werror_flag" ||
24120 test ! -s conftest.err
24121 } && test -s conftest.$ac_objext; then
24122 ac_cv_header_ext_hash_map=yes
24123 else
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.$ac_ext >&5
24126
24127 ac_cv_header_ext_hash_map=no
24128 fi
24129
24130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24131 fi
24132 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24133 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24134 if test $ac_cv_header_ext_hash_map = yes; then
24135 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24136 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24137 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24139 else
24140 cat >conftest.$ac_ext <<_ACEOF
24141 /* confdefs.h. */
24142 _ACEOF
24143 cat confdefs.h >>conftest.$ac_ext
24144 cat >>conftest.$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24146 #include <ext/hash_map>
24147 #include <ext/hash_set>
24148 int
24149 main ()
24150 {
24151 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24152 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24153 ;
24154 return 0;
24155 }
24156 _ACEOF
24157 rm -f conftest.$ac_objext
24158 if { (ac_try="$ac_compile"
24159 case "(($ac_try" in
24160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24161 *) ac_try_echo=$ac_try;;
24162 esac
24163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24164 (eval "$ac_compile") 2>conftest.er1
24165 ac_status=$?
24166 grep -v '^ *+' conftest.er1 >conftest.err
24167 rm -f conftest.er1
24168 cat conftest.err >&5
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); } && {
24171 test -z "$ac_cxx_werror_flag" ||
24172 test ! -s conftest.err
24173 } && test -s conftest.$ac_objext; then
24174 wx_cv_class_gnuhashmapset=yes
24175 else
24176 echo "$as_me: failed program was:" >&5
24177 sed 's/^/| /' conftest.$ac_ext >&5
24178
24179 wx_cv_class_gnuhashmapset=no
24180 fi
24181
24182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24183
24184
24185 fi
24186 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24187 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24188 fi
24189
24190
24191
24192 if test "$wx_cv_class_gnuhashmapset" = yes; then
24193 cat >>confdefs.h <<\_ACEOF
24194 #define HAVE_EXT_HASH_MAP 1
24195 _ACEOF
24196
24197 cat >>confdefs.h <<\_ACEOF
24198 #define HAVE_GNU_CXX_HASH_MAP 1
24199 _ACEOF
24200
24201 fi
24202 fi
24203
24204 ac_ext=c
24205 ac_cpp='$CPP $CPPFLAGS'
24206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24209
24210
24211
24212 SEARCH_INCLUDE="\
24213 /usr/local/include \
24214 \
24215 /usr/Motif-2.1/include \
24216 /usr/Motif-1.2/include \
24217 /usr/include/Motif1.2 \
24218 \
24219 /usr/dt/include \
24220 /usr/openwin/include \
24221 \
24222 /usr/include/Xm \
24223 \
24224 /usr/X11R6/include \
24225 /usr/X11R6.4/include \
24226 /usr/X11R5/include \
24227 /usr/X11R4/include \
24228 \
24229 /usr/include/X11R6 \
24230 /usr/include/X11R5 \
24231 /usr/include/X11R4 \
24232 \
24233 /usr/local/X11R6/include \
24234 /usr/local/X11R5/include \
24235 /usr/local/X11R4/include \
24236 \
24237 /usr/local/include/X11R6 \
24238 /usr/local/include/X11R5 \
24239 /usr/local/include/X11R4 \
24240 \
24241 /usr/X11/include \
24242 /usr/include/X11 \
24243 /usr/local/X11/include \
24244 /usr/local/include/X11 \
24245 \
24246 /usr/XFree86/include/X11 \
24247 /usr/pkg/include \
24248 \
24249 /usr/openwin/share/include"
24250
24251 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24252 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24253
24254 case "${host}" in
24255 *-*-irix6* )
24256 if test "${wx_cv_std_libpath+set}" = set; then
24257 echo $ECHO_N "(cached) $ECHO_C" >&6
24258 else
24259
24260 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24261 for e in a so sl dylib dll.a; do
24262 libc="$d/libc.$e"
24263 if test -f $libc; then
24264 save_LIBS="$LIBS"
24265 LIBS="$libc"
24266 cat >conftest.$ac_ext <<_ACEOF
24267 int main() { return 0; }
24268 _ACEOF
24269 rm -f conftest.$ac_objext conftest$ac_exeext
24270 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
24277 ac_status=$?
24278 grep -v '^ *+' conftest.er1 >conftest.err
24279 rm -f conftest.er1
24280 cat conftest.err >&5
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); } && {
24283 test -z "$ac_c_werror_flag" ||
24284 test ! -s conftest.err
24285 } && test -s conftest$ac_exeext &&
24286 $as_test_x conftest$ac_exeext; then
24287 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24288 else
24289 echo "$as_me: failed program was:" >&5
24290 sed 's/^/| /' conftest.$ac_ext >&5
24291
24292
24293 fi
24294
24295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24296 conftest$ac_exeext conftest.$ac_ext
24297 LIBS="$save_LIBS"
24298 if test "x$wx_cv_std_libpath" != "x"; then
24299 break 2
24300 fi
24301 fi
24302 done
24303 done
24304 if test "x$wx_cv_std_libpath" = "x"; then
24305 wx_cv_std_libpath="lib"
24306 fi
24307
24308
24309 fi
24310
24311 ;;
24312
24313 *-*-solaris2* )
24314 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24315 wx_cv_std_libpath="lib/64"
24316 else
24317 wx_cv_std_libpath="lib"
24318 fi
24319 ;;
24320
24321 *-*-linux* )
24322 if test "$ac_cv_sizeof_void_p" = 8 -a \
24323 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24324 wx_cv_std_libpath="lib64"
24325 else
24326 wx_cv_std_libpath="lib"
24327 fi
24328 ;;
24329
24330 *)
24331 wx_cv_std_libpath="lib";
24332 ;;
24333 esac
24334
24335 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24336 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24337
24338 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24339
24340 if test "$build" != "$host" -a "$GCC" = yes; then
24341 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24342 cross_root=`dirname $cross_root`
24343 cross_root=`dirname $cross_root`
24344
24345 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24346 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24347 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24348
24349 if test -z "$PKG_CONFIG_PATH"; then
24350 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24351 export PKG_CONFIG_PATH
24352 fi
24353
24354 if test -z "$x_includes" -o "$x_includes" = NONE; then
24355
24356 ac_find_includes=
24357 for ac_dir in $SEARCH_INCLUDE /usr/include;
24358 do
24359 if test -f "$ac_dir/X11/Intrinsic.h"; then
24360 ac_find_includes=$ac_dir
24361 break
24362 fi
24363 done
24364
24365 x_includes=$ac_find_includes
24366 fi
24367 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24368
24369 ac_find_libraries=
24370 for ac_dir in $SEARCH_LIB;
24371 do
24372 for ac_extension in a so sl dylib dll.a; do
24373 if test -f "$ac_dir/libXt.$ac_extension"; then
24374 ac_find_libraries=$ac_dir
24375 break 2
24376 fi
24377 done
24378 done
24379
24380 x_libraries=$ac_find_libraries
24381 fi
24382 fi
24383 fi
24384
24385
24386 cat >confcache <<\_ACEOF
24387 # This file is a shell script that caches the results of configure
24388 # tests run on this system so they can be shared between configure
24389 # scripts and configure runs, see configure's option --config-cache.
24390 # It is not useful on other systems. If it contains results you don't
24391 # want to keep, you may remove or edit it.
24392 #
24393 # config.status only pays attention to the cache file if you give it
24394 # the --recheck option to rerun configure.
24395 #
24396 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24397 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24398 # following values.
24399
24400 _ACEOF
24401
24402 # The following way of writing the cache mishandles newlines in values,
24403 # but we know of no workaround that is simple, portable, and efficient.
24404 # So, we kill variables containing newlines.
24405 # Ultrix sh set writes to stderr and can't be redirected directly,
24406 # and sets the high bit in the cache file unless we assign to the vars.
24407 (
24408 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24409 eval ac_val=\$$ac_var
24410 case $ac_val in #(
24411 *${as_nl}*)
24412 case $ac_var in #(
24413 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24414 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24415 esac
24416 case $ac_var in #(
24417 _ | IFS | as_nl) ;; #(
24418 *) $as_unset $ac_var ;;
24419 esac ;;
24420 esac
24421 done
24422
24423 (set) 2>&1 |
24424 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24425 *${as_nl}ac_space=\ *)
24426 # `set' does not quote correctly, so add quotes (double-quote
24427 # substitution turns \\\\ into \\, and sed turns \\ into \).
24428 sed -n \
24429 "s/'/'\\\\''/g;
24430 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24431 ;; #(
24432 *)
24433 # `set' quotes correctly as required by POSIX, so do not add quotes.
24434 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24435 ;;
24436 esac |
24437 sort
24438 ) |
24439 sed '
24440 /^ac_cv_env_/b end
24441 t clear
24442 :clear
24443 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24444 t end
24445 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24446 :end' >>confcache
24447 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24448 if test -w "$cache_file"; then
24449 test "x$cache_file" != "x/dev/null" &&
24450 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24451 echo "$as_me: updating cache $cache_file" >&6;}
24452 cat confcache >$cache_file
24453 else
24454 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24455 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24456 fi
24457 fi
24458 rm -f confcache
24459
24460 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24461 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24462 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24463 if test "${wx_cv_lib_glibc21+set}" = set; then
24464 echo $ECHO_N "(cached) $ECHO_C" >&6
24465 else
24466
24467 cat >conftest.$ac_ext <<_ACEOF
24468 /* confdefs.h. */
24469 _ACEOF
24470 cat confdefs.h >>conftest.$ac_ext
24471 cat >>conftest.$ac_ext <<_ACEOF
24472 /* end confdefs.h. */
24473 #include <features.h>
24474 int
24475 main ()
24476 {
24477
24478 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24479 not glibc 2.1
24480 #endif
24481
24482 ;
24483 return 0;
24484 }
24485 _ACEOF
24486 rm -f conftest.$ac_objext
24487 if { (ac_try="$ac_compile"
24488 case "(($ac_try" in
24489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24490 *) ac_try_echo=$ac_try;;
24491 esac
24492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24493 (eval "$ac_compile") 2>conftest.er1
24494 ac_status=$?
24495 grep -v '^ *+' conftest.er1 >conftest.err
24496 rm -f conftest.er1
24497 cat conftest.err >&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); } && {
24500 test -z "$ac_c_werror_flag" ||
24501 test ! -s conftest.err
24502 } && test -s conftest.$ac_objext; then
24503
24504 wx_cv_lib_glibc21=yes
24505
24506 else
24507 echo "$as_me: failed program was:" >&5
24508 sed 's/^/| /' conftest.$ac_ext >&5
24509
24510
24511 wx_cv_lib_glibc21=no
24512
24513
24514 fi
24515
24516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24517
24518 fi
24519 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24520 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24521 if test "$wx_cv_lib_glibc21" = "yes"; then
24522 cat >>confdefs.h <<\_ACEOF
24523 #define wxHAVE_GLIBC2 1
24524 _ACEOF
24525
24526 fi
24527 fi
24528
24529 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24530 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24531 cat >>confdefs.h <<\_ACEOF
24532 #define _GNU_SOURCE 1
24533 _ACEOF
24534
24535 fi
24536 fi
24537
24538 have_cos=0
24539 have_floor=0
24540
24541 for ac_func in cos
24542 do
24543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24544 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24546 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24547 echo $ECHO_N "(cached) $ECHO_C" >&6
24548 else
24549 cat >conftest.$ac_ext <<_ACEOF
24550 /* confdefs.h. */
24551 _ACEOF
24552 cat confdefs.h >>conftest.$ac_ext
24553 cat >>conftest.$ac_ext <<_ACEOF
24554 /* end confdefs.h. */
24555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24557 #define $ac_func innocuous_$ac_func
24558
24559 /* System header to define __stub macros and hopefully few prototypes,
24560 which can conflict with char $ac_func (); below.
24561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24562 <limits.h> exists even on freestanding compilers. */
24563
24564 #ifdef __STDC__
24565 # include <limits.h>
24566 #else
24567 # include <assert.h>
24568 #endif
24569
24570 #undef $ac_func
24571
24572 /* Override any GCC internal prototype to avoid an error.
24573 Use char because int might match the return type of a GCC
24574 builtin and then its argument prototype would still apply. */
24575 #ifdef __cplusplus
24576 extern "C"
24577 #endif
24578 char $ac_func ();
24579 /* The GNU C library defines this for functions which it implements
24580 to always fail with ENOSYS. Some functions are actually named
24581 something starting with __ and the normal name is an alias. */
24582 #if defined __stub_$ac_func || defined __stub___$ac_func
24583 choke me
24584 #endif
24585
24586 int
24587 main ()
24588 {
24589 return $ac_func ();
24590 ;
24591 return 0;
24592 }
24593 _ACEOF
24594 rm -f conftest.$ac_objext conftest$ac_exeext
24595 if { (ac_try="$ac_link"
24596 case "(($ac_try" in
24597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24598 *) ac_try_echo=$ac_try;;
24599 esac
24600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24601 (eval "$ac_link") 2>conftest.er1
24602 ac_status=$?
24603 grep -v '^ *+' conftest.er1 >conftest.err
24604 rm -f conftest.er1
24605 cat conftest.err >&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); } && {
24608 test -z "$ac_c_werror_flag" ||
24609 test ! -s conftest.err
24610 } && test -s conftest$ac_exeext &&
24611 $as_test_x conftest$ac_exeext; then
24612 eval "$as_ac_var=yes"
24613 else
24614 echo "$as_me: failed program was:" >&5
24615 sed 's/^/| /' conftest.$ac_ext >&5
24616
24617 eval "$as_ac_var=no"
24618 fi
24619
24620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24621 conftest$ac_exeext conftest.$ac_ext
24622 fi
24623 ac_res=`eval echo '${'$as_ac_var'}'`
24624 { echo "$as_me:$LINENO: result: $ac_res" >&5
24625 echo "${ECHO_T}$ac_res" >&6; }
24626 if test `eval echo '${'$as_ac_var'}'` = yes; then
24627 cat >>confdefs.h <<_ACEOF
24628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24629 _ACEOF
24630 have_cos=1
24631 fi
24632 done
24633
24634
24635 for ac_func in floor
24636 do
24637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24638 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24640 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24641 echo $ECHO_N "(cached) $ECHO_C" >&6
24642 else
24643 cat >conftest.$ac_ext <<_ACEOF
24644 /* confdefs.h. */
24645 _ACEOF
24646 cat confdefs.h >>conftest.$ac_ext
24647 cat >>conftest.$ac_ext <<_ACEOF
24648 /* end confdefs.h. */
24649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24651 #define $ac_func innocuous_$ac_func
24652
24653 /* System header to define __stub macros and hopefully few prototypes,
24654 which can conflict with char $ac_func (); below.
24655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24656 <limits.h> exists even on freestanding compilers. */
24657
24658 #ifdef __STDC__
24659 # include <limits.h>
24660 #else
24661 # include <assert.h>
24662 #endif
24663
24664 #undef $ac_func
24665
24666 /* Override any GCC internal prototype to avoid an error.
24667 Use char because int might match the return type of a GCC
24668 builtin and then its argument prototype would still apply. */
24669 #ifdef __cplusplus
24670 extern "C"
24671 #endif
24672 char $ac_func ();
24673 /* The GNU C library defines this for functions which it implements
24674 to always fail with ENOSYS. Some functions are actually named
24675 something starting with __ and the normal name is an alias. */
24676 #if defined __stub_$ac_func || defined __stub___$ac_func
24677 choke me
24678 #endif
24679
24680 int
24681 main ()
24682 {
24683 return $ac_func ();
24684 ;
24685 return 0;
24686 }
24687 _ACEOF
24688 rm -f conftest.$ac_objext conftest$ac_exeext
24689 if { (ac_try="$ac_link"
24690 case "(($ac_try" in
24691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24692 *) ac_try_echo=$ac_try;;
24693 esac
24694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24695 (eval "$ac_link") 2>conftest.er1
24696 ac_status=$?
24697 grep -v '^ *+' conftest.er1 >conftest.err
24698 rm -f conftest.er1
24699 cat conftest.err >&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); } && {
24702 test -z "$ac_c_werror_flag" ||
24703 test ! -s conftest.err
24704 } && test -s conftest$ac_exeext &&
24705 $as_test_x conftest$ac_exeext; then
24706 eval "$as_ac_var=yes"
24707 else
24708 echo "$as_me: failed program was:" >&5
24709 sed 's/^/| /' conftest.$ac_ext >&5
24710
24711 eval "$as_ac_var=no"
24712 fi
24713
24714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24715 conftest$ac_exeext conftest.$ac_ext
24716 fi
24717 ac_res=`eval echo '${'$as_ac_var'}'`
24718 { echo "$as_me:$LINENO: result: $ac_res" >&5
24719 echo "${ECHO_T}$ac_res" >&6; }
24720 if test `eval echo '${'$as_ac_var'}'` = yes; then
24721 cat >>confdefs.h <<_ACEOF
24722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24723 _ACEOF
24724 have_floor=1
24725 fi
24726 done
24727
24728 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24729 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24730 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24731 { echo "$as_me:$LINENO: result: yes" >&5
24732 echo "${ECHO_T}yes" >&6; }
24733 else
24734 { echo "$as_me:$LINENO: result: no" >&5
24735 echo "${ECHO_T}no" >&6; }
24736 LIBS="$LIBS -lm"
24737 # use different functions to avoid configure caching
24738 have_sin=0
24739 have_ceil=0
24740
24741 for ac_func in sin
24742 do
24743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24746 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24747 echo $ECHO_N "(cached) $ECHO_C" >&6
24748 else
24749 cat >conftest.$ac_ext <<_ACEOF
24750 /* confdefs.h. */
24751 _ACEOF
24752 cat confdefs.h >>conftest.$ac_ext
24753 cat >>conftest.$ac_ext <<_ACEOF
24754 /* end confdefs.h. */
24755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24757 #define $ac_func innocuous_$ac_func
24758
24759 /* System header to define __stub macros and hopefully few prototypes,
24760 which can conflict with char $ac_func (); below.
24761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24762 <limits.h> exists even on freestanding compilers. */
24763
24764 #ifdef __STDC__
24765 # include <limits.h>
24766 #else
24767 # include <assert.h>
24768 #endif
24769
24770 #undef $ac_func
24771
24772 /* Override any GCC internal prototype to avoid an error.
24773 Use char because int might match the return type of a GCC
24774 builtin and then its argument prototype would still apply. */
24775 #ifdef __cplusplus
24776 extern "C"
24777 #endif
24778 char $ac_func ();
24779 /* The GNU C library defines this for functions which it implements
24780 to always fail with ENOSYS. Some functions are actually named
24781 something starting with __ and the normal name is an alias. */
24782 #if defined __stub_$ac_func || defined __stub___$ac_func
24783 choke me
24784 #endif
24785
24786 int
24787 main ()
24788 {
24789 return $ac_func ();
24790 ;
24791 return 0;
24792 }
24793 _ACEOF
24794 rm -f conftest.$ac_objext conftest$ac_exeext
24795 if { (ac_try="$ac_link"
24796 case "(($ac_try" in
24797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24798 *) ac_try_echo=$ac_try;;
24799 esac
24800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24801 (eval "$ac_link") 2>conftest.er1
24802 ac_status=$?
24803 grep -v '^ *+' conftest.er1 >conftest.err
24804 rm -f conftest.er1
24805 cat conftest.err >&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); } && {
24808 test -z "$ac_c_werror_flag" ||
24809 test ! -s conftest.err
24810 } && test -s conftest$ac_exeext &&
24811 $as_test_x conftest$ac_exeext; then
24812 eval "$as_ac_var=yes"
24813 else
24814 echo "$as_me: failed program was:" >&5
24815 sed 's/^/| /' conftest.$ac_ext >&5
24816
24817 eval "$as_ac_var=no"
24818 fi
24819
24820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24821 conftest$ac_exeext conftest.$ac_ext
24822 fi
24823 ac_res=`eval echo '${'$as_ac_var'}'`
24824 { echo "$as_me:$LINENO: result: $ac_res" >&5
24825 echo "${ECHO_T}$ac_res" >&6; }
24826 if test `eval echo '${'$as_ac_var'}'` = yes; then
24827 cat >>confdefs.h <<_ACEOF
24828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24829 _ACEOF
24830 have_sin=1
24831 fi
24832 done
24833
24834
24835 for ac_func in ceil
24836 do
24837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24838 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24840 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24841 echo $ECHO_N "(cached) $ECHO_C" >&6
24842 else
24843 cat >conftest.$ac_ext <<_ACEOF
24844 /* confdefs.h. */
24845 _ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24851 #define $ac_func innocuous_$ac_func
24852
24853 /* System header to define __stub macros and hopefully few prototypes,
24854 which can conflict with char $ac_func (); below.
24855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24856 <limits.h> exists even on freestanding compilers. */
24857
24858 #ifdef __STDC__
24859 # include <limits.h>
24860 #else
24861 # include <assert.h>
24862 #endif
24863
24864 #undef $ac_func
24865
24866 /* Override any GCC internal prototype to avoid an error.
24867 Use char because int might match the return type of a GCC
24868 builtin and then its argument prototype would still apply. */
24869 #ifdef __cplusplus
24870 extern "C"
24871 #endif
24872 char $ac_func ();
24873 /* The GNU C library defines this for functions which it implements
24874 to always fail with ENOSYS. Some functions are actually named
24875 something starting with __ and the normal name is an alias. */
24876 #if defined __stub_$ac_func || defined __stub___$ac_func
24877 choke me
24878 #endif
24879
24880 int
24881 main ()
24882 {
24883 return $ac_func ();
24884 ;
24885 return 0;
24886 }
24887 _ACEOF
24888 rm -f conftest.$ac_objext conftest$ac_exeext
24889 if { (ac_try="$ac_link"
24890 case "(($ac_try" in
24891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24892 *) ac_try_echo=$ac_try;;
24893 esac
24894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24895 (eval "$ac_link") 2>conftest.er1
24896 ac_status=$?
24897 grep -v '^ *+' conftest.er1 >conftest.err
24898 rm -f conftest.er1
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } && {
24902 test -z "$ac_c_werror_flag" ||
24903 test ! -s conftest.err
24904 } && test -s conftest$ac_exeext &&
24905 $as_test_x conftest$ac_exeext; then
24906 eval "$as_ac_var=yes"
24907 else
24908 echo "$as_me: failed program was:" >&5
24909 sed 's/^/| /' conftest.$ac_ext >&5
24910
24911 eval "$as_ac_var=no"
24912 fi
24913
24914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24915 conftest$ac_exeext conftest.$ac_ext
24916 fi
24917 ac_res=`eval echo '${'$as_ac_var'}'`
24918 { echo "$as_me:$LINENO: result: $ac_res" >&5
24919 echo "${ECHO_T}$ac_res" >&6; }
24920 if test `eval echo '${'$as_ac_var'}'` = yes; then
24921 cat >>confdefs.h <<_ACEOF
24922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24923 _ACEOF
24924 have_ceil=1
24925 fi
24926 done
24927
24928 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24929 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24930 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24931 { echo "$as_me:$LINENO: result: yes" >&5
24932 echo "${ECHO_T}yes" >&6; }
24933 else
24934 { echo "$as_me:$LINENO: result: no" >&5
24935 echo "${ECHO_T}no" >&6; }
24936 # not sure we should warn the user, crash, etc.
24937 fi
24938 fi
24939
24940 ac_ext=cpp
24941 ac_cpp='$CXXCPP $CPPFLAGS'
24942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24945
24946 if test "wxUSE_UNICODE" = "yes"; then
24947
24948 for wx_func in wcstoull
24949 do
24950 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24951 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24952 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 else
24955
24956 cat >conftest.$ac_ext <<_ACEOF
24957
24958 /* confdefs.h. */
24959 _ACEOF
24960 cat confdefs.h >>conftest.$ac_ext
24961 cat >>conftest.$ac_ext <<_ACEOF
24962 /* end confdefs.h. */
24963
24964
24965 $ac_includes_default
24966
24967 int
24968 main ()
24969 {
24970
24971 #ifndef $wx_func
24972 &$wx_func;
24973 #endif
24974
24975
24976 ;
24977 return 0;
24978 }
24979
24980 _ACEOF
24981 rm -f conftest.$ac_objext conftest$ac_exeext
24982 if { (ac_try="$ac_link"
24983 case "(($ac_try" in
24984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24985 *) ac_try_echo=$ac_try;;
24986 esac
24987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24988 (eval "$ac_link") 2>conftest.er1
24989 ac_status=$?
24990 grep -v '^ *+' conftest.er1 >conftest.err
24991 rm -f conftest.er1
24992 cat conftest.err >&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); } && {
24995 test -z "$ac_cxx_werror_flag" ||
24996 test ! -s conftest.err
24997 } && test -s conftest$ac_exeext &&
24998 $as_test_x conftest$ac_exeext; then
24999 eval wx_cv_func_$wx_func=yes
25000 else
25001 echo "$as_me: failed program was:" >&5
25002 sed 's/^/| /' conftest.$ac_ext >&5
25003
25004 eval wx_cv_func_$wx_func=no
25005 fi
25006
25007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25008 conftest$ac_exeext conftest.$ac_ext
25009
25010 fi
25011 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25012 { echo "$as_me:$LINENO: result: $ac_res" >&5
25013 echo "${ECHO_T}$ac_res" >&6; }
25014
25015 if eval test \$wx_cv_func_$wx_func = yes
25016 then
25017 cat >>confdefs.h <<_ACEOF
25018 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25019 _ACEOF
25020
25021
25022 else
25023 :
25024
25025 fi
25026 done
25027
25028 else
25029
25030 for wx_func in strtoull
25031 do
25032 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25033 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25034 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25035 echo $ECHO_N "(cached) $ECHO_C" >&6
25036 else
25037
25038 cat >conftest.$ac_ext <<_ACEOF
25039
25040 /* confdefs.h. */
25041 _ACEOF
25042 cat confdefs.h >>conftest.$ac_ext
25043 cat >>conftest.$ac_ext <<_ACEOF
25044 /* end confdefs.h. */
25045
25046
25047 $ac_includes_default
25048
25049 int
25050 main ()
25051 {
25052
25053 #ifndef $wx_func
25054 &$wx_func;
25055 #endif
25056
25057
25058 ;
25059 return 0;
25060 }
25061
25062 _ACEOF
25063 rm -f conftest.$ac_objext conftest$ac_exeext
25064 if { (ac_try="$ac_link"
25065 case "(($ac_try" in
25066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25067 *) ac_try_echo=$ac_try;;
25068 esac
25069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25070 (eval "$ac_link") 2>conftest.er1
25071 ac_status=$?
25072 grep -v '^ *+' conftest.er1 >conftest.err
25073 rm -f conftest.er1
25074 cat conftest.err >&5
25075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25076 (exit $ac_status); } && {
25077 test -z "$ac_cxx_werror_flag" ||
25078 test ! -s conftest.err
25079 } && test -s conftest$ac_exeext &&
25080 $as_test_x conftest$ac_exeext; then
25081 eval wx_cv_func_$wx_func=yes
25082 else
25083 echo "$as_me: failed program was:" >&5
25084 sed 's/^/| /' conftest.$ac_ext >&5
25085
25086 eval wx_cv_func_$wx_func=no
25087 fi
25088
25089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25090 conftest$ac_exeext conftest.$ac_ext
25091
25092 fi
25093 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25094 { echo "$as_me:$LINENO: result: $ac_res" >&5
25095 echo "${ECHO_T}$ac_res" >&6; }
25096
25097 if eval test \$wx_cv_func_$wx_func = yes
25098 then
25099 cat >>confdefs.h <<_ACEOF
25100 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25101 _ACEOF
25102
25103
25104 else
25105 :
25106
25107 fi
25108 done
25109
25110 fi
25111 ac_ext=c
25112 ac_cpp='$CPP $CPPFLAGS'
25113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25116
25117
25118
25119
25120 if test "$wxUSE_REGEX" != "no"; then
25121 cat >>confdefs.h <<\_ACEOF
25122 #define wxUSE_REGEX 1
25123 _ACEOF
25124
25125
25126 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25127 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25128 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25129 wxUSE_REGEX=builtin
25130 fi
25131
25132 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25133 { echo "$as_me:$LINENO: checking for regex.h" >&5
25134 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25135 if test "${ac_cv_header_regex_h+set}" = set; then
25136 echo $ECHO_N "(cached) $ECHO_C" >&6
25137 else
25138 cat >conftest.$ac_ext <<_ACEOF
25139 /* confdefs.h. */
25140 _ACEOF
25141 cat confdefs.h >>conftest.$ac_ext
25142 cat >>conftest.$ac_ext <<_ACEOF
25143 /* end confdefs.h. */
25144
25145
25146 #include <regex.h>
25147 _ACEOF
25148 rm -f conftest.$ac_objext
25149 if { (ac_try="$ac_compile"
25150 case "(($ac_try" in
25151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25152 *) ac_try_echo=$ac_try;;
25153 esac
25154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25155 (eval "$ac_compile") 2>conftest.er1
25156 ac_status=$?
25157 grep -v '^ *+' conftest.er1 >conftest.err
25158 rm -f conftest.er1
25159 cat conftest.err >&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); } && {
25162 test -z "$ac_c_werror_flag" ||
25163 test ! -s conftest.err
25164 } && test -s conftest.$ac_objext; then
25165 ac_cv_header_regex_h=yes
25166 else
25167 echo "$as_me: failed program was:" >&5
25168 sed 's/^/| /' conftest.$ac_ext >&5
25169
25170 ac_cv_header_regex_h=no
25171 fi
25172
25173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25174 fi
25175 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25176 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25177 if test $ac_cv_header_regex_h = yes; then
25178
25179
25180 for ac_func in regcomp re_search
25181 do
25182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25183 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25185 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25186 echo $ECHO_N "(cached) $ECHO_C" >&6
25187 else
25188 cat >conftest.$ac_ext <<_ACEOF
25189 /* confdefs.h. */
25190 _ACEOF
25191 cat confdefs.h >>conftest.$ac_ext
25192 cat >>conftest.$ac_ext <<_ACEOF
25193 /* end confdefs.h. */
25194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25196 #define $ac_func innocuous_$ac_func
25197
25198 /* System header to define __stub macros and hopefully few prototypes,
25199 which can conflict with char $ac_func (); below.
25200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25201 <limits.h> exists even on freestanding compilers. */
25202
25203 #ifdef __STDC__
25204 # include <limits.h>
25205 #else
25206 # include <assert.h>
25207 #endif
25208
25209 #undef $ac_func
25210
25211 /* Override any GCC internal prototype to avoid an error.
25212 Use char because int might match the return type of a GCC
25213 builtin and then its argument prototype would still apply. */
25214 #ifdef __cplusplus
25215 extern "C"
25216 #endif
25217 char $ac_func ();
25218 /* The GNU C library defines this for functions which it implements
25219 to always fail with ENOSYS. Some functions are actually named
25220 something starting with __ and the normal name is an alias. */
25221 #if defined __stub_$ac_func || defined __stub___$ac_func
25222 choke me
25223 #endif
25224
25225 int
25226 main ()
25227 {
25228 return $ac_func ();
25229 ;
25230 return 0;
25231 }
25232 _ACEOF
25233 rm -f conftest.$ac_objext conftest$ac_exeext
25234 if { (ac_try="$ac_link"
25235 case "(($ac_try" in
25236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25237 *) ac_try_echo=$ac_try;;
25238 esac
25239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25240 (eval "$ac_link") 2>conftest.er1
25241 ac_status=$?
25242 grep -v '^ *+' conftest.er1 >conftest.err
25243 rm -f conftest.er1
25244 cat conftest.err >&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); } && {
25247 test -z "$ac_c_werror_flag" ||
25248 test ! -s conftest.err
25249 } && test -s conftest$ac_exeext &&
25250 $as_test_x conftest$ac_exeext; then
25251 eval "$as_ac_var=yes"
25252 else
25253 echo "$as_me: failed program was:" >&5
25254 sed 's/^/| /' conftest.$ac_ext >&5
25255
25256 eval "$as_ac_var=no"
25257 fi
25258
25259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25260 conftest$ac_exeext conftest.$ac_ext
25261 fi
25262 ac_res=`eval echo '${'$as_ac_var'}'`
25263 { echo "$as_me:$LINENO: result: $ac_res" >&5
25264 echo "${ECHO_T}$ac_res" >&6; }
25265 if test `eval echo '${'$as_ac_var'}'` = yes; then
25266 cat >>confdefs.h <<_ACEOF
25267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25268 _ACEOF
25269
25270 fi
25271 done
25272
25273 fi
25274
25275
25276
25277 if test "x$ac_cv_func_regcomp" != "xyes"; then
25278 if test "$wxUSE_REGEX" = "sys" ; then
25279 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25280 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25281 { (exit 1); exit 1; }; }
25282 else
25283 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25284 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25285 wxUSE_REGEX=builtin
25286 fi
25287 else
25288 wxUSE_REGEX=sys
25289 cat >>confdefs.h <<\_ACEOF
25290 #define WX_NO_REGEX_ADVANCED 1
25291 _ACEOF
25292
25293 fi
25294 fi
25295 fi
25296
25297
25298 ZLIB_LINK=
25299 if test "$wxUSE_ZLIB" != "no" ; then
25300 cat >>confdefs.h <<\_ACEOF
25301 #define wxUSE_ZLIB 1
25302 _ACEOF
25303
25304
25305 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25306 if test "$USE_DARWIN" = 1; then
25307 system_zlib_h_ok="yes"
25308 else
25309 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25310 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25311 if test "${ac_cv_header_zlib_h+set}" = set; then
25312 echo $ECHO_N "(cached) $ECHO_C" >&6
25313 else
25314 if test "$cross_compiling" = yes; then
25315 unset ac_cv_header_zlib_h
25316
25317 else
25318 cat >conftest.$ac_ext <<_ACEOF
25319 /* confdefs.h. */
25320 _ACEOF
25321 cat confdefs.h >>conftest.$ac_ext
25322 cat >>conftest.$ac_ext <<_ACEOF
25323 /* end confdefs.h. */
25324
25325 #include <zlib.h>
25326 #include <stdio.h>
25327
25328 int main()
25329 {
25330 FILE *f=fopen("conftestval", "w");
25331 if (!f) exit(1);
25332 fprintf(f, "%s",
25333 ZLIB_VERSION[0] == '1' &&
25334 (ZLIB_VERSION[2] > '1' ||
25335 (ZLIB_VERSION[2] == '1' &&
25336 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25337 exit(0);
25338 }
25339
25340 _ACEOF
25341 rm -f conftest$ac_exeext
25342 if { (ac_try="$ac_link"
25343 case "(($ac_try" in
25344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25345 *) ac_try_echo=$ac_try;;
25346 esac
25347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25348 (eval "$ac_link") 2>&5
25349 ac_status=$?
25350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25352 { (case "(($ac_try" in
25353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25354 *) ac_try_echo=$ac_try;;
25355 esac
25356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25357 (eval "$ac_try") 2>&5
25358 ac_status=$?
25359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25360 (exit $ac_status); }; }; then
25361 ac_cv_header_zlib_h=`cat conftestval`
25362 else
25363 echo "$as_me: program exited with status $ac_status" >&5
25364 echo "$as_me: failed program was:" >&5
25365 sed 's/^/| /' conftest.$ac_ext >&5
25366
25367 ( exit $ac_status )
25368 ac_cv_header_zlib_h=no
25369 fi
25370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25371 fi
25372
25373
25374
25375 fi
25376 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25377 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25378 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25379 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25380 if test "${ac_cv_header_zlib_h+set}" = set; then
25381 echo $ECHO_N "(cached) $ECHO_C" >&6
25382 else
25383 cat >conftest.$ac_ext <<_ACEOF
25384 /* confdefs.h. */
25385 _ACEOF
25386 cat confdefs.h >>conftest.$ac_ext
25387 cat >>conftest.$ac_ext <<_ACEOF
25388 /* end confdefs.h. */
25389
25390
25391 #include <zlib.h>
25392 _ACEOF
25393 rm -f conftest.$ac_objext
25394 if { (ac_try="$ac_compile"
25395 case "(($ac_try" in
25396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25397 *) ac_try_echo=$ac_try;;
25398 esac
25399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25400 (eval "$ac_compile") 2>conftest.er1
25401 ac_status=$?
25402 grep -v '^ *+' conftest.er1 >conftest.err
25403 rm -f conftest.er1
25404 cat conftest.err >&5
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); } && {
25407 test -z "$ac_c_werror_flag" ||
25408 test ! -s conftest.err
25409 } && test -s conftest.$ac_objext; then
25410 ac_cv_header_zlib_h=yes
25411 else
25412 echo "$as_me: failed program was:" >&5
25413 sed 's/^/| /' conftest.$ac_ext >&5
25414
25415 ac_cv_header_zlib_h=no
25416 fi
25417
25418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25419 fi
25420 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25421 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25422
25423
25424
25425 system_zlib_h_ok=$ac_cv_header_zlib_h
25426 fi
25427
25428 if test "$system_zlib_h_ok" = "yes"; then
25429 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25430 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25431 if test "${ac_cv_lib_z_deflate+set}" = set; then
25432 echo $ECHO_N "(cached) $ECHO_C" >&6
25433 else
25434 ac_check_lib_save_LIBS=$LIBS
25435 LIBS="-lz $LIBS"
25436 cat >conftest.$ac_ext <<_ACEOF
25437 /* confdefs.h. */
25438 _ACEOF
25439 cat confdefs.h >>conftest.$ac_ext
25440 cat >>conftest.$ac_ext <<_ACEOF
25441 /* end confdefs.h. */
25442
25443 /* Override any GCC internal prototype to avoid an error.
25444 Use char because int might match the return type of a GCC
25445 builtin and then its argument prototype would still apply. */
25446 #ifdef __cplusplus
25447 extern "C"
25448 #endif
25449 char deflate ();
25450 int
25451 main ()
25452 {
25453 return deflate ();
25454 ;
25455 return 0;
25456 }
25457 _ACEOF
25458 rm -f conftest.$ac_objext conftest$ac_exeext
25459 if { (ac_try="$ac_link"
25460 case "(($ac_try" in
25461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25462 *) ac_try_echo=$ac_try;;
25463 esac
25464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25465 (eval "$ac_link") 2>conftest.er1
25466 ac_status=$?
25467 grep -v '^ *+' conftest.er1 >conftest.err
25468 rm -f conftest.er1
25469 cat conftest.err >&5
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); } && {
25472 test -z "$ac_c_werror_flag" ||
25473 test ! -s conftest.err
25474 } && test -s conftest$ac_exeext &&
25475 $as_test_x conftest$ac_exeext; then
25476 ac_cv_lib_z_deflate=yes
25477 else
25478 echo "$as_me: failed program was:" >&5
25479 sed 's/^/| /' conftest.$ac_ext >&5
25480
25481 ac_cv_lib_z_deflate=no
25482 fi
25483
25484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25485 conftest$ac_exeext conftest.$ac_ext
25486 LIBS=$ac_check_lib_save_LIBS
25487 fi
25488 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25489 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25490 if test $ac_cv_lib_z_deflate = yes; then
25491 ZLIB_LINK=" -lz"
25492 fi
25493
25494 fi
25495
25496 if test "x$ZLIB_LINK" = "x" ; then
25497 if test "$wxUSE_ZLIB" = "sys" ; then
25498 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25499 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25500 { (exit 1); exit 1; }; }
25501 else
25502 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25503 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25504 wxUSE_ZLIB=builtin
25505 fi
25506 else
25507 wxUSE_ZLIB=sys
25508 fi
25509 fi
25510 fi
25511
25512
25513 PNG_LINK=
25514 if test "$wxUSE_LIBPNG" != "no" ; then
25515 cat >>confdefs.h <<\_ACEOF
25516 #define wxUSE_LIBPNG 1
25517 _ACEOF
25518
25519
25520 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25521 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25522 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25523 wxUSE_LIBPNG=sys
25524 fi
25525
25526 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25527 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25528 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25529 wxUSE_LIBPNG=builtin
25530 fi
25531
25532 if test "$wxUSE_MGL" != 1 ; then
25533 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25534 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25535 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25536 if test "${ac_cv_header_png_h+set}" = set; then
25537 echo $ECHO_N "(cached) $ECHO_C" >&6
25538 else
25539 if test "$cross_compiling" = yes; then
25540 unset ac_cv_header_png_h
25541
25542 else
25543 cat >conftest.$ac_ext <<_ACEOF
25544 /* confdefs.h. */
25545 _ACEOF
25546 cat confdefs.h >>conftest.$ac_ext
25547 cat >>conftest.$ac_ext <<_ACEOF
25548 /* end confdefs.h. */
25549
25550 #include <png.h>
25551 #include <stdio.h>
25552
25553 int main()
25554 {
25555 FILE *f=fopen("conftestval", "w");
25556 if (!f) exit(1);
25557 fprintf(f, "%s",
25558 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25559 exit(0);
25560 }
25561
25562 _ACEOF
25563 rm -f conftest$ac_exeext
25564 if { (ac_try="$ac_link"
25565 case "(($ac_try" in
25566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25567 *) ac_try_echo=$ac_try;;
25568 esac
25569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25570 (eval "$ac_link") 2>&5
25571 ac_status=$?
25572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25574 { (case "(($ac_try" in
25575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25576 *) ac_try_echo=$ac_try;;
25577 esac
25578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25579 (eval "$ac_try") 2>&5
25580 ac_status=$?
25581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25582 (exit $ac_status); }; }; then
25583 ac_cv_header_png_h=`cat conftestval`
25584 else
25585 echo "$as_me: program exited with status $ac_status" >&5
25586 echo "$as_me: failed program was:" >&5
25587 sed 's/^/| /' conftest.$ac_ext >&5
25588
25589 ( exit $ac_status )
25590 ac_cv_header_png_h=no
25591 fi
25592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25593 fi
25594
25595
25596
25597 fi
25598 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25599 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25600 { echo "$as_me:$LINENO: checking for png.h" >&5
25601 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25602 if test "${ac_cv_header_png_h+set}" = set; then
25603 echo $ECHO_N "(cached) $ECHO_C" >&6
25604 else
25605 cat >conftest.$ac_ext <<_ACEOF
25606 /* confdefs.h. */
25607 _ACEOF
25608 cat confdefs.h >>conftest.$ac_ext
25609 cat >>conftest.$ac_ext <<_ACEOF
25610 /* end confdefs.h. */
25611
25612
25613 #include <png.h>
25614 _ACEOF
25615 rm -f conftest.$ac_objext
25616 if { (ac_try="$ac_compile"
25617 case "(($ac_try" in
25618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25619 *) ac_try_echo=$ac_try;;
25620 esac
25621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25622 (eval "$ac_compile") 2>conftest.er1
25623 ac_status=$?
25624 grep -v '^ *+' conftest.er1 >conftest.err
25625 rm -f conftest.er1
25626 cat conftest.err >&5
25627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25628 (exit $ac_status); } && {
25629 test -z "$ac_c_werror_flag" ||
25630 test ! -s conftest.err
25631 } && test -s conftest.$ac_objext; then
25632 ac_cv_header_png_h=yes
25633 else
25634 echo "$as_me: failed program was:" >&5
25635 sed 's/^/| /' conftest.$ac_ext >&5
25636
25637 ac_cv_header_png_h=no
25638 fi
25639
25640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25641 fi
25642 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25643 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25644
25645
25646
25647 if test "$ac_cv_header_png_h" = "yes"; then
25648 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25649 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25650 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25651 echo $ECHO_N "(cached) $ECHO_C" >&6
25652 else
25653 ac_check_lib_save_LIBS=$LIBS
25654 LIBS="-lpng -lz -lm $LIBS"
25655 cat >conftest.$ac_ext <<_ACEOF
25656 /* confdefs.h. */
25657 _ACEOF
25658 cat confdefs.h >>conftest.$ac_ext
25659 cat >>conftest.$ac_ext <<_ACEOF
25660 /* end confdefs.h. */
25661
25662 /* Override any GCC internal prototype to avoid an error.
25663 Use char because int might match the return type of a GCC
25664 builtin and then its argument prototype would still apply. */
25665 #ifdef __cplusplus
25666 extern "C"
25667 #endif
25668 char png_check_sig ();
25669 int
25670 main ()
25671 {
25672 return png_check_sig ();
25673 ;
25674 return 0;
25675 }
25676 _ACEOF
25677 rm -f conftest.$ac_objext conftest$ac_exeext
25678 if { (ac_try="$ac_link"
25679 case "(($ac_try" in
25680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25681 *) ac_try_echo=$ac_try;;
25682 esac
25683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25684 (eval "$ac_link") 2>conftest.er1
25685 ac_status=$?
25686 grep -v '^ *+' conftest.er1 >conftest.err
25687 rm -f conftest.er1
25688 cat conftest.err >&5
25689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690 (exit $ac_status); } && {
25691 test -z "$ac_c_werror_flag" ||
25692 test ! -s conftest.err
25693 } && test -s conftest$ac_exeext &&
25694 $as_test_x conftest$ac_exeext; then
25695 ac_cv_lib_png_png_check_sig=yes
25696 else
25697 echo "$as_me: failed program was:" >&5
25698 sed 's/^/| /' conftest.$ac_ext >&5
25699
25700 ac_cv_lib_png_png_check_sig=no
25701 fi
25702
25703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25704 conftest$ac_exeext conftest.$ac_ext
25705 LIBS=$ac_check_lib_save_LIBS
25706 fi
25707 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25708 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25709 if test $ac_cv_lib_png_png_check_sig = yes; then
25710 PNG_LINK=" -lpng -lz"
25711 fi
25712
25713 fi
25714
25715 if test "x$PNG_LINK" = "x" ; then
25716 if test "$wxUSE_LIBPNG" = "sys" ; then
25717 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25718 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25719 { (exit 1); exit 1; }; }
25720 else
25721 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25722 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25723 wxUSE_LIBPNG=builtin
25724 fi
25725 else
25726 wxUSE_LIBPNG=sys
25727 fi
25728 fi
25729 fi
25730
25731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25732 fi
25733
25734
25735 JPEG_LINK=
25736 if test "$wxUSE_LIBJPEG" != "no" ; then
25737 cat >>confdefs.h <<\_ACEOF
25738 #define wxUSE_LIBJPEG 1
25739 _ACEOF
25740
25741
25742 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25743 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25744 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25745 wxUSE_LIBJPEG=sys
25746 fi
25747
25748 if test "$wxUSE_MGL" != 1 ; then
25749 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25750 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25751 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25752 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25753 echo $ECHO_N "(cached) $ECHO_C" >&6
25754 else
25755 cat >conftest.$ac_ext <<_ACEOF
25756 /* confdefs.h. */
25757 _ACEOF
25758 cat confdefs.h >>conftest.$ac_ext
25759 cat >>conftest.$ac_ext <<_ACEOF
25760 /* end confdefs.h. */
25761
25762 #undef HAVE_STDLIB_H
25763 #include <stdio.h>
25764 #include <jpeglib.h>
25765
25766 int
25767 main ()
25768 {
25769
25770
25771 ;
25772 return 0;
25773 }
25774 _ACEOF
25775 rm -f conftest.$ac_objext
25776 if { (ac_try="$ac_compile"
25777 case "(($ac_try" in
25778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25779 *) ac_try_echo=$ac_try;;
25780 esac
25781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25782 (eval "$ac_compile") 2>conftest.er1
25783 ac_status=$?
25784 grep -v '^ *+' conftest.er1 >conftest.err
25785 rm -f conftest.er1
25786 cat conftest.err >&5
25787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788 (exit $ac_status); } && {
25789 test -z "$ac_c_werror_flag" ||
25790 test ! -s conftest.err
25791 } && test -s conftest.$ac_objext; then
25792 ac_cv_header_jpeglib_h=yes
25793 else
25794 echo "$as_me: failed program was:" >&5
25795 sed 's/^/| /' conftest.$ac_ext >&5
25796
25797 ac_cv_header_jpeglib_h=no
25798
25799 fi
25800
25801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25802
25803 fi
25804
25805 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25806 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25807
25808 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25809 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25810 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25811 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25812 echo $ECHO_N "(cached) $ECHO_C" >&6
25813 else
25814 ac_check_lib_save_LIBS=$LIBS
25815 LIBS="-ljpeg $LIBS"
25816 cat >conftest.$ac_ext <<_ACEOF
25817 /* confdefs.h. */
25818 _ACEOF
25819 cat confdefs.h >>conftest.$ac_ext
25820 cat >>conftest.$ac_ext <<_ACEOF
25821 /* end confdefs.h. */
25822
25823 /* Override any GCC internal prototype to avoid an error.
25824 Use char because int might match the return type of a GCC
25825 builtin and then its argument prototype would still apply. */
25826 #ifdef __cplusplus
25827 extern "C"
25828 #endif
25829 char jpeg_read_header ();
25830 int
25831 main ()
25832 {
25833 return jpeg_read_header ();
25834 ;
25835 return 0;
25836 }
25837 _ACEOF
25838 rm -f conftest.$ac_objext conftest$ac_exeext
25839 if { (ac_try="$ac_link"
25840 case "(($ac_try" in
25841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25842 *) ac_try_echo=$ac_try;;
25843 esac
25844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25845 (eval "$ac_link") 2>conftest.er1
25846 ac_status=$?
25847 grep -v '^ *+' conftest.er1 >conftest.err
25848 rm -f conftest.er1
25849 cat conftest.err >&5
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); } && {
25852 test -z "$ac_c_werror_flag" ||
25853 test ! -s conftest.err
25854 } && test -s conftest$ac_exeext &&
25855 $as_test_x conftest$ac_exeext; then
25856 ac_cv_lib_jpeg_jpeg_read_header=yes
25857 else
25858 echo "$as_me: failed program was:" >&5
25859 sed 's/^/| /' conftest.$ac_ext >&5
25860
25861 ac_cv_lib_jpeg_jpeg_read_header=no
25862 fi
25863
25864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25865 conftest$ac_exeext conftest.$ac_ext
25866 LIBS=$ac_check_lib_save_LIBS
25867 fi
25868 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25869 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25870 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25871 JPEG_LINK=" -ljpeg"
25872 fi
25873
25874 fi
25875
25876 if test "x$JPEG_LINK" = "x" ; then
25877 if test "$wxUSE_LIBJPEG" = "sys" ; then
25878 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25879 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25880 { (exit 1); exit 1; }; }
25881 else
25882 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25883 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25884 wxUSE_LIBJPEG=builtin
25885 fi
25886 else
25887 wxUSE_LIBJPEG=sys
25888
25889 if test "$wxUSE_MSW" = 1; then
25890 { echo "$as_me:$LINENO: checking for boolean" >&5
25891 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25892 if test "${ac_cv_type_boolean+set}" = set; then
25893 echo $ECHO_N "(cached) $ECHO_C" >&6
25894 else
25895 cat >conftest.$ac_ext <<_ACEOF
25896 /* confdefs.h. */
25897 _ACEOF
25898 cat confdefs.h >>conftest.$ac_ext
25899 cat >>conftest.$ac_ext <<_ACEOF
25900 /* end confdefs.h. */
25901 #include <windows.h>
25902
25903 typedef boolean ac__type_new_;
25904 int
25905 main ()
25906 {
25907 if ((ac__type_new_ *) 0)
25908 return 0;
25909 if (sizeof (ac__type_new_))
25910 return 0;
25911 ;
25912 return 0;
25913 }
25914 _ACEOF
25915 rm -f conftest.$ac_objext
25916 if { (ac_try="$ac_compile"
25917 case "(($ac_try" in
25918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25919 *) ac_try_echo=$ac_try;;
25920 esac
25921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25922 (eval "$ac_compile") 2>conftest.er1
25923 ac_status=$?
25924 grep -v '^ *+' conftest.er1 >conftest.err
25925 rm -f conftest.er1
25926 cat conftest.err >&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } && {
25929 test -z "$ac_c_werror_flag" ||
25930 test ! -s conftest.err
25931 } && test -s conftest.$ac_objext; then
25932 ac_cv_type_boolean=yes
25933 else
25934 echo "$as_me: failed program was:" >&5
25935 sed 's/^/| /' conftest.$ac_ext >&5
25936
25937 ac_cv_type_boolean=no
25938 fi
25939
25940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25941 fi
25942 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25943 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25944 if test $ac_cv_type_boolean = yes; then
25945
25946 cat >>confdefs.h <<_ACEOF
25947 #define HAVE_BOOLEAN 1
25948 _ACEOF
25949
25950
25951 { echo "$as_me:$LINENO: checking for boolean" >&5
25952 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25953 if test "${ac_cv_type_boolean+set}" = set; then
25954 echo $ECHO_N "(cached) $ECHO_C" >&6
25955 else
25956 cat >conftest.$ac_ext <<_ACEOF
25957 /* confdefs.h. */
25958 _ACEOF
25959 cat confdefs.h >>conftest.$ac_ext
25960 cat >>conftest.$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25962
25963 #undef HAVE_BOOLEAN
25964 #include <stdio.h>
25965 #include <jpeglib.h>
25966
25967
25968 typedef boolean ac__type_new_;
25969 int
25970 main ()
25971 {
25972 if ((ac__type_new_ *) 0)
25973 return 0;
25974 if (sizeof (ac__type_new_))
25975 return 0;
25976 ;
25977 return 0;
25978 }
25979 _ACEOF
25980 rm -f conftest.$ac_objext
25981 if { (ac_try="$ac_compile"
25982 case "(($ac_try" in
25983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25984 *) ac_try_echo=$ac_try;;
25985 esac
25986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25987 (eval "$ac_compile") 2>conftest.er1
25988 ac_status=$?
25989 grep -v '^ *+' conftest.er1 >conftest.err
25990 rm -f conftest.er1
25991 cat conftest.err >&5
25992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25993 (exit $ac_status); } && {
25994 test -z "$ac_c_werror_flag" ||
25995 test ! -s conftest.err
25996 } && test -s conftest.$ac_objext; then
25997 ac_cv_type_boolean=yes
25998 else
25999 echo "$as_me: failed program was:" >&5
26000 sed 's/^/| /' conftest.$ac_ext >&5
26001
26002 ac_cv_type_boolean=no
26003 fi
26004
26005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26006 fi
26007 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26008 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26009
26010 # The cast to long int works around a bug in the HP C Compiler
26011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26013 # This bug is HP SR number 8606223364.
26014 { echo "$as_me:$LINENO: checking size of boolean" >&5
26015 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26016 if test "${ac_cv_sizeof_boolean+set}" = set; then
26017 echo $ECHO_N "(cached) $ECHO_C" >&6
26018 else
26019 if test "$cross_compiling" = yes; then
26020 # Depending upon the size, compute the lo and hi bounds.
26021 cat >conftest.$ac_ext <<_ACEOF
26022 /* confdefs.h. */
26023 _ACEOF
26024 cat confdefs.h >>conftest.$ac_ext
26025 cat >>conftest.$ac_ext <<_ACEOF
26026 /* end confdefs.h. */
26027
26028 #undef HAVE_BOOLEAN
26029 #include <stdio.h>
26030 #include <jpeglib.h>
26031
26032
26033 typedef boolean ac__type_sizeof_;
26034 int
26035 main ()
26036 {
26037 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26038 test_array [0] = 0
26039
26040 ;
26041 return 0;
26042 }
26043 _ACEOF
26044 rm -f conftest.$ac_objext
26045 if { (ac_try="$ac_compile"
26046 case "(($ac_try" in
26047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26048 *) ac_try_echo=$ac_try;;
26049 esac
26050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26051 (eval "$ac_compile") 2>conftest.er1
26052 ac_status=$?
26053 grep -v '^ *+' conftest.er1 >conftest.err
26054 rm -f conftest.er1
26055 cat conftest.err >&5
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); } && {
26058 test -z "$ac_c_werror_flag" ||
26059 test ! -s conftest.err
26060 } && test -s conftest.$ac_objext; then
26061 ac_lo=0 ac_mid=0
26062 while :; do
26063 cat >conftest.$ac_ext <<_ACEOF
26064 /* confdefs.h. */
26065 _ACEOF
26066 cat confdefs.h >>conftest.$ac_ext
26067 cat >>conftest.$ac_ext <<_ACEOF
26068 /* end confdefs.h. */
26069
26070 #undef HAVE_BOOLEAN
26071 #include <stdio.h>
26072 #include <jpeglib.h>
26073
26074
26075 typedef boolean ac__type_sizeof_;
26076 int
26077 main ()
26078 {
26079 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26080 test_array [0] = 0
26081
26082 ;
26083 return 0;
26084 }
26085 _ACEOF
26086 rm -f conftest.$ac_objext
26087 if { (ac_try="$ac_compile"
26088 case "(($ac_try" in
26089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26090 *) ac_try_echo=$ac_try;;
26091 esac
26092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26093 (eval "$ac_compile") 2>conftest.er1
26094 ac_status=$?
26095 grep -v '^ *+' conftest.er1 >conftest.err
26096 rm -f conftest.er1
26097 cat conftest.err >&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } && {
26100 test -z "$ac_c_werror_flag" ||
26101 test ! -s conftest.err
26102 } && test -s conftest.$ac_objext; then
26103 ac_hi=$ac_mid; break
26104 else
26105 echo "$as_me: failed program was:" >&5
26106 sed 's/^/| /' conftest.$ac_ext >&5
26107
26108 ac_lo=`expr $ac_mid + 1`
26109 if test $ac_lo -le $ac_mid; then
26110 ac_lo= ac_hi=
26111 break
26112 fi
26113 ac_mid=`expr 2 '*' $ac_mid + 1`
26114 fi
26115
26116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26117 done
26118 else
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.$ac_ext >&5
26121
26122 cat >conftest.$ac_ext <<_ACEOF
26123 /* confdefs.h. */
26124 _ACEOF
26125 cat confdefs.h >>conftest.$ac_ext
26126 cat >>conftest.$ac_ext <<_ACEOF
26127 /* end confdefs.h. */
26128
26129 #undef HAVE_BOOLEAN
26130 #include <stdio.h>
26131 #include <jpeglib.h>
26132
26133
26134 typedef boolean ac__type_sizeof_;
26135 int
26136 main ()
26137 {
26138 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26139 test_array [0] = 0
26140
26141 ;
26142 return 0;
26143 }
26144 _ACEOF
26145 rm -f conftest.$ac_objext
26146 if { (ac_try="$ac_compile"
26147 case "(($ac_try" in
26148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26149 *) ac_try_echo=$ac_try;;
26150 esac
26151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26152 (eval "$ac_compile") 2>conftest.er1
26153 ac_status=$?
26154 grep -v '^ *+' conftest.er1 >conftest.err
26155 rm -f conftest.er1
26156 cat conftest.err >&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } && {
26159 test -z "$ac_c_werror_flag" ||
26160 test ! -s conftest.err
26161 } && test -s conftest.$ac_objext; then
26162 ac_hi=-1 ac_mid=-1
26163 while :; do
26164 cat >conftest.$ac_ext <<_ACEOF
26165 /* confdefs.h. */
26166 _ACEOF
26167 cat confdefs.h >>conftest.$ac_ext
26168 cat >>conftest.$ac_ext <<_ACEOF
26169 /* end confdefs.h. */
26170
26171 #undef HAVE_BOOLEAN
26172 #include <stdio.h>
26173 #include <jpeglib.h>
26174
26175
26176 typedef boolean ac__type_sizeof_;
26177 int
26178 main ()
26179 {
26180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26181 test_array [0] = 0
26182
26183 ;
26184 return 0;
26185 }
26186 _ACEOF
26187 rm -f conftest.$ac_objext
26188 if { (ac_try="$ac_compile"
26189 case "(($ac_try" in
26190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26191 *) ac_try_echo=$ac_try;;
26192 esac
26193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26194 (eval "$ac_compile") 2>conftest.er1
26195 ac_status=$?
26196 grep -v '^ *+' conftest.er1 >conftest.err
26197 rm -f conftest.er1
26198 cat conftest.err >&5
26199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26200 (exit $ac_status); } && {
26201 test -z "$ac_c_werror_flag" ||
26202 test ! -s conftest.err
26203 } && test -s conftest.$ac_objext; then
26204 ac_lo=$ac_mid; break
26205 else
26206 echo "$as_me: failed program was:" >&5
26207 sed 's/^/| /' conftest.$ac_ext >&5
26208
26209 ac_hi=`expr '(' $ac_mid ')' - 1`
26210 if test $ac_mid -le $ac_hi; then
26211 ac_lo= ac_hi=
26212 break
26213 fi
26214 ac_mid=`expr 2 '*' $ac_mid`
26215 fi
26216
26217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26218 done
26219 else
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.$ac_ext >&5
26222
26223 ac_lo= ac_hi=
26224 fi
26225
26226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26227 fi
26228
26229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26230 # Binary search between lo and hi bounds.
26231 while test "x$ac_lo" != "x$ac_hi"; do
26232 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26233 cat >conftest.$ac_ext <<_ACEOF
26234 /* confdefs.h. */
26235 _ACEOF
26236 cat confdefs.h >>conftest.$ac_ext
26237 cat >>conftest.$ac_ext <<_ACEOF
26238 /* end confdefs.h. */
26239
26240 #undef HAVE_BOOLEAN
26241 #include <stdio.h>
26242 #include <jpeglib.h>
26243
26244
26245 typedef boolean ac__type_sizeof_;
26246 int
26247 main ()
26248 {
26249 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26250 test_array [0] = 0
26251
26252 ;
26253 return 0;
26254 }
26255 _ACEOF
26256 rm -f conftest.$ac_objext
26257 if { (ac_try="$ac_compile"
26258 case "(($ac_try" in
26259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26260 *) ac_try_echo=$ac_try;;
26261 esac
26262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26263 (eval "$ac_compile") 2>conftest.er1
26264 ac_status=$?
26265 grep -v '^ *+' conftest.er1 >conftest.err
26266 rm -f conftest.er1
26267 cat conftest.err >&5
26268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269 (exit $ac_status); } && {
26270 test -z "$ac_c_werror_flag" ||
26271 test ! -s conftest.err
26272 } && test -s conftest.$ac_objext; then
26273 ac_hi=$ac_mid
26274 else
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.$ac_ext >&5
26277
26278 ac_lo=`expr '(' $ac_mid ')' + 1`
26279 fi
26280
26281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26282 done
26283 case $ac_lo in
26284 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26285 '') if test "$ac_cv_type_boolean" = yes; then
26286 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26287 See \`config.log' for more details." >&5
26288 echo "$as_me: error: cannot compute sizeof (boolean)
26289 See \`config.log' for more details." >&2;}
26290 { (exit 77); exit 77; }; }
26291 else
26292 ac_cv_sizeof_boolean=0
26293 fi ;;
26294 esac
26295 else
26296 cat >conftest.$ac_ext <<_ACEOF
26297 /* confdefs.h. */
26298 _ACEOF
26299 cat confdefs.h >>conftest.$ac_ext
26300 cat >>conftest.$ac_ext <<_ACEOF
26301 /* end confdefs.h. */
26302
26303 #undef HAVE_BOOLEAN
26304 #include <stdio.h>
26305 #include <jpeglib.h>
26306
26307
26308 typedef boolean ac__type_sizeof_;
26309 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26310 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26311 #include <stdio.h>
26312 #include <stdlib.h>
26313 int
26314 main ()
26315 {
26316
26317 FILE *f = fopen ("conftest.val", "w");
26318 if (! f)
26319 return 1;
26320 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26321 {
26322 long int i = longval ();
26323 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26324 return 1;
26325 fprintf (f, "%ld\n", i);
26326 }
26327 else
26328 {
26329 unsigned long int i = ulongval ();
26330 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26331 return 1;
26332 fprintf (f, "%lu\n", i);
26333 }
26334 return ferror (f) || fclose (f) != 0;
26335
26336 ;
26337 return 0;
26338 }
26339 _ACEOF
26340 rm -f conftest$ac_exeext
26341 if { (ac_try="$ac_link"
26342 case "(($ac_try" in
26343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26344 *) ac_try_echo=$ac_try;;
26345 esac
26346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26347 (eval "$ac_link") 2>&5
26348 ac_status=$?
26349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26351 { (case "(($ac_try" in
26352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26353 *) ac_try_echo=$ac_try;;
26354 esac
26355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26356 (eval "$ac_try") 2>&5
26357 ac_status=$?
26358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359 (exit $ac_status); }; }; then
26360 ac_cv_sizeof_boolean=`cat conftest.val`
26361 else
26362 echo "$as_me: program exited with status $ac_status" >&5
26363 echo "$as_me: failed program was:" >&5
26364 sed 's/^/| /' conftest.$ac_ext >&5
26365
26366 ( exit $ac_status )
26367 if test "$ac_cv_type_boolean" = yes; then
26368 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26369 See \`config.log' for more details." >&5
26370 echo "$as_me: error: cannot compute sizeof (boolean)
26371 See \`config.log' for more details." >&2;}
26372 { (exit 77); exit 77; }; }
26373 else
26374 ac_cv_sizeof_boolean=0
26375 fi
26376 fi
26377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26378 fi
26379 rm -f conftest.val
26380 fi
26381 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26382 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26383
26384
26385
26386 cat >>confdefs.h <<_ACEOF
26387 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26388 _ACEOF
26389
26390
26391 cat >>confdefs.h <<_ACEOF
26392 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26393 _ACEOF
26394
26395
26396 fi
26397
26398 fi
26399 fi
26400 fi
26401 fi
26402 fi
26403
26404
26405 TIFF_LINK=
26406 TIFF_PREREQ_LINKS=-lm
26407 if test "$wxUSE_LIBTIFF" != "no" ; then
26408 cat >>confdefs.h <<\_ACEOF
26409 #define wxUSE_LIBTIFF 1
26410 _ACEOF
26411
26412
26413 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26414 if test "$wxUSE_LIBJPEG" = "sys"; then
26415 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26416 fi
26417 if test "$wxUSE_ZLIB" = "sys"; then
26418 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26419 fi
26420 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26421 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26422 if test "${ac_cv_header_tiffio_h+set}" = set; then
26423 echo $ECHO_N "(cached) $ECHO_C" >&6
26424 else
26425 cat >conftest.$ac_ext <<_ACEOF
26426 /* confdefs.h. */
26427 _ACEOF
26428 cat confdefs.h >>conftest.$ac_ext
26429 cat >>conftest.$ac_ext <<_ACEOF
26430 /* end confdefs.h. */
26431
26432
26433
26434 #include <tiffio.h>
26435 _ACEOF
26436 rm -f conftest.$ac_objext
26437 if { (ac_try="$ac_compile"
26438 case "(($ac_try" in
26439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26440 *) ac_try_echo=$ac_try;;
26441 esac
26442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26443 (eval "$ac_compile") 2>conftest.er1
26444 ac_status=$?
26445 grep -v '^ *+' conftest.er1 >conftest.err
26446 rm -f conftest.er1
26447 cat conftest.err >&5
26448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26449 (exit $ac_status); } && {
26450 test -z "$ac_c_werror_flag" ||
26451 test ! -s conftest.err
26452 } && test -s conftest.$ac_objext; then
26453 ac_cv_header_tiffio_h=yes
26454 else
26455 echo "$as_me: failed program was:" >&5
26456 sed 's/^/| /' conftest.$ac_ext >&5
26457
26458 ac_cv_header_tiffio_h=no
26459 fi
26460
26461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26462 fi
26463 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26464 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26465 if test $ac_cv_header_tiffio_h = yes; then
26466
26467 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26468 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26469 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26470 echo $ECHO_N "(cached) $ECHO_C" >&6
26471 else
26472 ac_check_lib_save_LIBS=$LIBS
26473 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26474 cat >conftest.$ac_ext <<_ACEOF
26475 /* confdefs.h. */
26476 _ACEOF
26477 cat confdefs.h >>conftest.$ac_ext
26478 cat >>conftest.$ac_ext <<_ACEOF
26479 /* end confdefs.h. */
26480
26481 /* Override any GCC internal prototype to avoid an error.
26482 Use char because int might match the return type of a GCC
26483 builtin and then its argument prototype would still apply. */
26484 #ifdef __cplusplus
26485 extern "C"
26486 #endif
26487 char TIFFError ();
26488 int
26489 main ()
26490 {
26491 return TIFFError ();
26492 ;
26493 return 0;
26494 }
26495 _ACEOF
26496 rm -f conftest.$ac_objext conftest$ac_exeext
26497 if { (ac_try="$ac_link"
26498 case "(($ac_try" in
26499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26500 *) ac_try_echo=$ac_try;;
26501 esac
26502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26503 (eval "$ac_link") 2>conftest.er1
26504 ac_status=$?
26505 grep -v '^ *+' conftest.er1 >conftest.err
26506 rm -f conftest.er1
26507 cat conftest.err >&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); } && {
26510 test -z "$ac_c_werror_flag" ||
26511 test ! -s conftest.err
26512 } && test -s conftest$ac_exeext &&
26513 $as_test_x conftest$ac_exeext; then
26514 ac_cv_lib_tiff_TIFFError=yes
26515 else
26516 echo "$as_me: failed program was:" >&5
26517 sed 's/^/| /' conftest.$ac_ext >&5
26518
26519 ac_cv_lib_tiff_TIFFError=no
26520 fi
26521
26522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26523 conftest$ac_exeext conftest.$ac_ext
26524 LIBS=$ac_check_lib_save_LIBS
26525 fi
26526 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26527 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26528 if test $ac_cv_lib_tiff_TIFFError = yes; then
26529 TIFF_LINK=" -ltiff"
26530 fi
26531
26532
26533 fi
26534
26535
26536
26537 if test "x$TIFF_LINK" = "x" ; then
26538 if test "$wxUSE_LIBTIFF" = "sys" ; then
26539 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26540 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26541 { (exit 1); exit 1; }; }
26542 else
26543 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26544 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26545 wxUSE_LIBTIFF=builtin
26546 fi
26547 else
26548 wxUSE_LIBTIFF=sys
26549 fi
26550 fi
26551 fi
26552
26553
26554 if test "$wxUSE_WCHAR_T" != "yes"; then
26555 if test "$wxUSE_EXPAT" != "no"; then
26556 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26557 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26558 wxUSE_EXPAT=no
26559 fi
26560 if test "$wxUSE_XML" != "no"; then
26561 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26562 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26563 wxUSE_XML=no
26564 fi
26565 fi
26566
26567 if test "$wxUSE_EXPAT" != "no"; then
26568 wxUSE_XML=yes
26569 cat >>confdefs.h <<\_ACEOF
26570 #define wxUSE_EXPAT 1
26571 _ACEOF
26572
26573 cat >>confdefs.h <<\_ACEOF
26574 #define wxUSE_XML 1
26575 _ACEOF
26576
26577
26578 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26579 { echo "$as_me:$LINENO: checking for expat.h" >&5
26580 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26581 if test "${ac_cv_header_expat_h+set}" = set; then
26582 echo $ECHO_N "(cached) $ECHO_C" >&6
26583 else
26584 cat >conftest.$ac_ext <<_ACEOF
26585 /* confdefs.h. */
26586 _ACEOF
26587 cat confdefs.h >>conftest.$ac_ext
26588 cat >>conftest.$ac_ext <<_ACEOF
26589 /* end confdefs.h. */
26590
26591
26592 #include <expat.h>
26593 _ACEOF
26594 rm -f conftest.$ac_objext
26595 if { (ac_try="$ac_compile"
26596 case "(($ac_try" in
26597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26598 *) ac_try_echo=$ac_try;;
26599 esac
26600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26601 (eval "$ac_compile") 2>conftest.er1
26602 ac_status=$?
26603 grep -v '^ *+' conftest.er1 >conftest.err
26604 rm -f conftest.er1
26605 cat conftest.err >&5
26606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607 (exit $ac_status); } && {
26608 test -z "$ac_c_werror_flag" ||
26609 test ! -s conftest.err
26610 } && test -s conftest.$ac_objext; then
26611 ac_cv_header_expat_h=yes
26612 else
26613 echo "$as_me: failed program was:" >&5
26614 sed 's/^/| /' conftest.$ac_ext >&5
26615
26616 ac_cv_header_expat_h=no
26617 fi
26618
26619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26620 fi
26621 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26622 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26623 if test $ac_cv_header_expat_h = yes; then
26624 found_expat_h=1
26625 fi
26626
26627
26628 if test "x$found_expat_h" = "x1"; then
26629 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26630 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26631 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26632 echo $ECHO_N "(cached) $ECHO_C" >&6
26633 else
26634
26635 ac_ext=cpp
26636 ac_cpp='$CXXCPP $CPPFLAGS'
26637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26640
26641 cat >conftest.$ac_ext <<_ACEOF
26642 /* confdefs.h. */
26643 _ACEOF
26644 cat confdefs.h >>conftest.$ac_ext
26645 cat >>conftest.$ac_ext <<_ACEOF
26646 /* end confdefs.h. */
26647 #include <expat.h>
26648 int
26649 main ()
26650 {
26651
26652 ;
26653 return 0;
26654 }
26655 _ACEOF
26656 rm -f conftest.$ac_objext
26657 if { (ac_try="$ac_compile"
26658 case "(($ac_try" in
26659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26660 *) ac_try_echo=$ac_try;;
26661 esac
26662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26663 (eval "$ac_compile") 2>conftest.er1
26664 ac_status=$?
26665 grep -v '^ *+' conftest.er1 >conftest.err
26666 rm -f conftest.er1
26667 cat conftest.err >&5
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); } && {
26670 test -z "$ac_cxx_werror_flag" ||
26671 test ! -s conftest.err
26672 } && test -s conftest.$ac_objext; then
26673 wx_cv_expat_is_not_broken=yes
26674 else
26675 echo "$as_me: failed program was:" >&5
26676 sed 's/^/| /' conftest.$ac_ext >&5
26677
26678 wx_cv_expat_is_not_broken=no
26679
26680 fi
26681
26682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26683 ac_ext=c
26684 ac_cpp='$CPP $CPPFLAGS'
26685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26688
26689
26690
26691 fi
26692 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26693 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26694 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26695 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26696 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26697 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26699 else
26700 ac_check_lib_save_LIBS=$LIBS
26701 LIBS="-lexpat $LIBS"
26702 cat >conftest.$ac_ext <<_ACEOF
26703 /* confdefs.h. */
26704 _ACEOF
26705 cat confdefs.h >>conftest.$ac_ext
26706 cat >>conftest.$ac_ext <<_ACEOF
26707 /* end confdefs.h. */
26708
26709 /* Override any GCC internal prototype to avoid an error.
26710 Use char because int might match the return type of a GCC
26711 builtin and then its argument prototype would still apply. */
26712 #ifdef __cplusplus
26713 extern "C"
26714 #endif
26715 char XML_ParserCreate ();
26716 int
26717 main ()
26718 {
26719 return XML_ParserCreate ();
26720 ;
26721 return 0;
26722 }
26723 _ACEOF
26724 rm -f conftest.$ac_objext conftest$ac_exeext
26725 if { (ac_try="$ac_link"
26726 case "(($ac_try" in
26727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26728 *) ac_try_echo=$ac_try;;
26729 esac
26730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26731 (eval "$ac_link") 2>conftest.er1
26732 ac_status=$?
26733 grep -v '^ *+' conftest.er1 >conftest.err
26734 rm -f conftest.er1
26735 cat conftest.err >&5
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); } && {
26738 test -z "$ac_c_werror_flag" ||
26739 test ! -s conftest.err
26740 } && test -s conftest$ac_exeext &&
26741 $as_test_x conftest$ac_exeext; then
26742 ac_cv_lib_expat_XML_ParserCreate=yes
26743 else
26744 echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.$ac_ext >&5
26746
26747 ac_cv_lib_expat_XML_ParserCreate=no
26748 fi
26749
26750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26751 conftest$ac_exeext conftest.$ac_ext
26752 LIBS=$ac_check_lib_save_LIBS
26753 fi
26754 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26755 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26756 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26757 EXPAT_LINK=" -lexpat"
26758 fi
26759
26760 fi
26761 fi
26762 if test "x$EXPAT_LINK" = "x" ; then
26763 if test "$wxUSE_EXPAT" = "sys" ; then
26764 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26765 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26766 { (exit 1); exit 1; }; }
26767 else
26768 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26769 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26770 wxUSE_EXPAT=builtin
26771 fi
26772 else
26773 wxUSE_EXPAT=sys
26774 fi
26775 fi
26776 if test "$wxUSE_EXPAT" = "builtin" ; then
26777 subdirs="$subdirs src/expat"
26778
26779 fi
26780 fi
26781
26782
26783
26784 if test "$wxUSE_LIBMSPACK" != "no"; then
26785 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26786 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26787 if test "${ac_cv_header_mspack_h+set}" = set; then
26788 echo $ECHO_N "(cached) $ECHO_C" >&6
26789 else
26790 cat >conftest.$ac_ext <<_ACEOF
26791 /* confdefs.h. */
26792 _ACEOF
26793 cat confdefs.h >>conftest.$ac_ext
26794 cat >>conftest.$ac_ext <<_ACEOF
26795 /* end confdefs.h. */
26796
26797
26798 #include <mspack.h>
26799 _ACEOF
26800 rm -f conftest.$ac_objext
26801 if { (ac_try="$ac_compile"
26802 case "(($ac_try" in
26803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26804 *) ac_try_echo=$ac_try;;
26805 esac
26806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26807 (eval "$ac_compile") 2>conftest.er1
26808 ac_status=$?
26809 grep -v '^ *+' conftest.er1 >conftest.err
26810 rm -f conftest.er1
26811 cat conftest.err >&5
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); } && {
26814 test -z "$ac_c_werror_flag" ||
26815 test ! -s conftest.err
26816 } && test -s conftest.$ac_objext; then
26817 ac_cv_header_mspack_h=yes
26818 else
26819 echo "$as_me: failed program was:" >&5
26820 sed 's/^/| /' conftest.$ac_ext >&5
26821
26822 ac_cv_header_mspack_h=no
26823 fi
26824
26825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26826 fi
26827 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26828 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26829 if test $ac_cv_header_mspack_h = yes; then
26830 found_mspack_h=1
26831 fi
26832
26833
26834 if test "x$found_mspack_h" = "x1"; then
26835 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26836 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26837 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26838 echo $ECHO_N "(cached) $ECHO_C" >&6
26839 else
26840 ac_check_lib_save_LIBS=$LIBS
26841 LIBS="-lmspack $LIBS"
26842 cat >conftest.$ac_ext <<_ACEOF
26843 /* confdefs.h. */
26844 _ACEOF
26845 cat confdefs.h >>conftest.$ac_ext
26846 cat >>conftest.$ac_ext <<_ACEOF
26847 /* end confdefs.h. */
26848
26849 /* Override any GCC internal prototype to avoid an error.
26850 Use char because int might match the return type of a GCC
26851 builtin and then its argument prototype would still apply. */
26852 #ifdef __cplusplus
26853 extern "C"
26854 #endif
26855 char mspack_create_chm_decompressor ();
26856 int
26857 main ()
26858 {
26859 return mspack_create_chm_decompressor ();
26860 ;
26861 return 0;
26862 }
26863 _ACEOF
26864 rm -f conftest.$ac_objext conftest$ac_exeext
26865 if { (ac_try="$ac_link"
26866 case "(($ac_try" in
26867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26868 *) ac_try_echo=$ac_try;;
26869 esac
26870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26871 (eval "$ac_link") 2>conftest.er1
26872 ac_status=$?
26873 grep -v '^ *+' conftest.er1 >conftest.err
26874 rm -f conftest.er1
26875 cat conftest.err >&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); } && {
26878 test -z "$ac_c_werror_flag" ||
26879 test ! -s conftest.err
26880 } && test -s conftest$ac_exeext &&
26881 $as_test_x conftest$ac_exeext; then
26882 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26883 else
26884 echo "$as_me: failed program was:" >&5
26885 sed 's/^/| /' conftest.$ac_ext >&5
26886
26887 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26888 fi
26889
26890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26891 conftest$ac_exeext conftest.$ac_ext
26892 LIBS=$ac_check_lib_save_LIBS
26893 fi
26894 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26895 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26896 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26897 MSPACK_LINK=" -lmspack"
26898 fi
26899
26900 fi
26901 if test "x$MSPACK_LINK" = "x" ; then
26902 wxUSE_LIBMSPACK=no
26903 fi
26904 fi
26905
26906 if test "$wxUSE_LIBMSPACK" != "no"; then
26907 cat >>confdefs.h <<\_ACEOF
26908 #define wxUSE_LIBMSPACK 1
26909 _ACEOF
26910
26911 fi
26912
26913
26914
26915 AFMINSTALL=
26916 WIN32INSTALL=
26917
26918 TOOLKIT=
26919 TOOLKIT_INCLUDE=
26920 WIDGET_SET=
26921
26922 if test "$USE_WIN32" = 1 ; then
26923 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26924 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26925 if test "${ac_cv_header_w32api_h+set}" = set; then
26926 echo $ECHO_N "(cached) $ECHO_C" >&6
26927 else
26928 cat >conftest.$ac_ext <<_ACEOF
26929 /* confdefs.h. */
26930 _ACEOF
26931 cat confdefs.h >>conftest.$ac_ext
26932 cat >>conftest.$ac_ext <<_ACEOF
26933 /* end confdefs.h. */
26934
26935
26936 #include <w32api.h>
26937 _ACEOF
26938 rm -f conftest.$ac_objext
26939 if { (ac_try="$ac_compile"
26940 case "(($ac_try" in
26941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26942 *) ac_try_echo=$ac_try;;
26943 esac
26944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26945 (eval "$ac_compile") 2>conftest.er1
26946 ac_status=$?
26947 grep -v '^ *+' conftest.er1 >conftest.err
26948 rm -f conftest.er1
26949 cat conftest.err >&5
26950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26951 (exit $ac_status); } && {
26952 test -z "$ac_c_werror_flag" ||
26953 test ! -s conftest.err
26954 } && test -s conftest.$ac_objext; then
26955 ac_cv_header_w32api_h=yes
26956 else
26957 echo "$as_me: failed program was:" >&5
26958 sed 's/^/| /' conftest.$ac_ext >&5
26959
26960 ac_cv_header_w32api_h=no
26961 fi
26962
26963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26964 fi
26965 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26966 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26967
26968
26969 { echo "$as_me:$LINENO: checking for windows.h" >&5
26970 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26971 if test "${ac_cv_header_windows_h+set}" = set; then
26972 echo $ECHO_N "(cached) $ECHO_C" >&6
26973 else
26974 cat >conftest.$ac_ext <<_ACEOF
26975 /* confdefs.h. */
26976 _ACEOF
26977 cat confdefs.h >>conftest.$ac_ext
26978 cat >>conftest.$ac_ext <<_ACEOF
26979 /* end confdefs.h. */
26980
26981
26982 #include <windows.h>
26983 _ACEOF
26984 rm -f conftest.$ac_objext
26985 if { (ac_try="$ac_compile"
26986 case "(($ac_try" in
26987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26988 *) ac_try_echo=$ac_try;;
26989 esac
26990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26991 (eval "$ac_compile") 2>conftest.er1
26992 ac_status=$?
26993 grep -v '^ *+' conftest.er1 >conftest.err
26994 rm -f conftest.er1
26995 cat conftest.err >&5
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); } && {
26998 test -z "$ac_c_werror_flag" ||
26999 test ! -s conftest.err
27000 } && test -s conftest.$ac_objext; then
27001 ac_cv_header_windows_h=yes
27002 else
27003 echo "$as_me: failed program was:" >&5
27004 sed 's/^/| /' conftest.$ac_ext >&5
27005
27006 ac_cv_header_windows_h=no
27007 fi
27008
27009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27010 fi
27011 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27012 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27013 if test $ac_cv_header_windows_h = yes; then
27014 :
27015 else
27016
27017 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27018 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27019 { (exit 1); exit 1; }; }
27020
27021 fi
27022
27023
27024
27025 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27026
27027 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27028 LIBS="$LIBS -loleacc"
27029 fi
27030
27031 case "${host}" in
27032 *-*-cygwin* )
27033 LIBS="$LIBS -lkernel32 -luser32"
27034 esac
27035
27036 if test "$wxUSE_ODBC" = "sys" ; then
27037 wxUSE_ODBC = "yes"
27038 fi
27039 if test "$wxUSE_ODBC" = "yes" ; then
27040 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27041 cat >>confdefs.h <<\_ACEOF
27042 #define wxUSE_ODBC 1
27043 _ACEOF
27044
27045 fi
27046
27047 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27048 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27049
27050 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27051
27052 WIN32INSTALL=win32install
27053
27054 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27055 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27056 if test "${ac_cv_header_pbt_h+set}" = set; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27058 else
27059 cat >conftest.$ac_ext <<_ACEOF
27060 /* confdefs.h. */
27061 _ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065
27066
27067 #include <pbt.h>
27068 _ACEOF
27069 rm -f conftest.$ac_objext
27070 if { (ac_try="$ac_compile"
27071 case "(($ac_try" in
27072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27073 *) ac_try_echo=$ac_try;;
27074 esac
27075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27076 (eval "$ac_compile") 2>conftest.er1
27077 ac_status=$?
27078 grep -v '^ *+' conftest.er1 >conftest.err
27079 rm -f conftest.er1
27080 cat conftest.err >&5
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); } && {
27083 test -z "$ac_c_werror_flag" ||
27084 test ! -s conftest.err
27085 } && test -s conftest.$ac_objext; then
27086 ac_cv_header_pbt_h=yes
27087 else
27088 echo "$as_me: failed program was:" >&5
27089 sed 's/^/| /' conftest.$ac_ext >&5
27090
27091 ac_cv_header_pbt_h=no
27092 fi
27093
27094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27095 fi
27096 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27097 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27098 if test $ac_cv_header_pbt_h = yes; then
27099 :
27100 else
27101 cat >>confdefs.h <<\_ACEOF
27102 #define NEED_PBT_H 1
27103 _ACEOF
27104
27105 fi
27106
27107
27108 fi
27109
27110 if test "$wxUSE_GUI" = "yes"; then
27111 USE_GUI=1
27112
27113 GUI_TK_LIBRARY=
27114
27115 WXGTK12=
27116 WXGTK127=
27117 WXGTK20=
27118 WXGPE=
27119
27120 if test "$wxUSE_COCOA" = 1 ; then
27121 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27122 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27123 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27124 wxUSE_PRINTING_ARCHITECTURE=no
27125 fi
27126 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27127 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27128 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27129 wxUSE_DRAG_AND_DROP=no
27130 fi
27131 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27132 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27133 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27134 wxUSE_DRAGIMAGE=no
27135 fi
27136 fi
27137
27138 if test "$wxUSE_MSW" = 1 ; then
27139 TOOLKIT=MSW
27140 GUIDIST=MSW_DIST
27141
27142 case "${host}" in
27143 *-*-mingw32* )
27144 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27145 esac
27146 fi
27147
27148 if test "$wxUSE_GTK" = 1; then
27149 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27150 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27151
27152 gtk_version_cached=1
27153 if test "${wx_cv_lib_gtk+set}" = set; then
27154 echo $ECHO_N "(cached) $ECHO_C" >&6
27155 else
27156
27157 gtk_version_cached=0
27158 { echo "$as_me:$LINENO: result: " >&5
27159 echo "${ECHO_T}" >&6; }
27160
27161 GTK_MODULES=
27162 if test "$wxUSE_THREADS" = "yes"; then
27163 GTK_MODULES=gthread
27164 fi
27165
27166 wx_cv_lib_gtk=
27167 if test "x$wxGTK_VERSION" != "x1"
27168 then
27169 case "${host}" in
27170 *-*-solaris2* )
27171 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27172 enable_gtktest=no
27173 fi
27174 esac
27175
27176 # Check whether --enable-gtktest was given.
27177 if test "${enable_gtktest+set}" = set; then
27178 enableval=$enable_gtktest;
27179 else
27180 enable_gtktest=yes
27181 fi
27182
27183
27184 pkg_config_args=gtk+-2.0
27185 for module in . $GTK_MODULES
27186 do
27187 case "$module" in
27188 gthread)
27189 pkg_config_args="$pkg_config_args gthread-2.0"
27190 ;;
27191 esac
27192 done
27193
27194 no_gtk=""
27195
27196 # Extract the first word of "pkg-config", so it can be a program name with args.
27197 set dummy pkg-config; ac_word=$2
27198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27200 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27201 echo $ECHO_N "(cached) $ECHO_C" >&6
27202 else
27203 case $PKG_CONFIG in
27204 [\\/]* | ?:[\\/]*)
27205 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27206 ;;
27207 *)
27208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27209 for as_dir in $PATH
27210 do
27211 IFS=$as_save_IFS
27212 test -z "$as_dir" && as_dir=.
27213 for ac_exec_ext in '' $ac_executable_extensions; do
27214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27215 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27217 break 2
27218 fi
27219 done
27220 done
27221 IFS=$as_save_IFS
27222
27223 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27224 ;;
27225 esac
27226 fi
27227 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27228 if test -n "$PKG_CONFIG"; then
27229 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27230 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27231 else
27232 { echo "$as_me:$LINENO: result: no" >&5
27233 echo "${ECHO_T}no" >&6; }
27234 fi
27235
27236
27237
27238 if test x$PKG_CONFIG != xno ; then
27239 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27240 :
27241 else
27242 echo "*** pkg-config too old; version 0.7 or better required."
27243 no_gtk=yes
27244 PKG_CONFIG=no
27245 fi
27246 else
27247 no_gtk=yes
27248 fi
27249
27250 min_gtk_version=2.0.0
27251 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27252 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27253
27254 if test x$PKG_CONFIG != xno ; then
27255 ## don't try to run the test against uninstalled libtool libs
27256 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27257 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27258 enable_gtktest=no
27259 fi
27260
27261 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27262 :
27263 else
27264 no_gtk=yes
27265 fi
27266 fi
27267
27268 if test x"$no_gtk" = x ; then
27269 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27270 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27271 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27272 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27273 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27274 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27275 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27276 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27277 if test "x$enable_gtktest" = "xyes" ; then
27278 ac_save_CFLAGS="$CFLAGS"
27279 ac_save_LIBS="$LIBS"
27280 CFLAGS="$CFLAGS $GTK_CFLAGS"
27281 LIBS="$GTK_LIBS $LIBS"
27282 rm -f conf.gtktest
27283 if test "$cross_compiling" = yes; then
27284 echo $ac_n "cross compiling; assumed OK... $ac_c"
27285 else
27286 cat >conftest.$ac_ext <<_ACEOF
27287 /* confdefs.h. */
27288 _ACEOF
27289 cat confdefs.h >>conftest.$ac_ext
27290 cat >>conftest.$ac_ext <<_ACEOF
27291 /* end confdefs.h. */
27292
27293 #include <gtk/gtk.h>
27294 #include <stdio.h>
27295 #include <stdlib.h>
27296
27297 int
27298 main ()
27299 {
27300 int major, minor, micro;
27301 char *tmp_version;
27302
27303 system ("touch conf.gtktest");
27304
27305 /* HP/UX 9 (%@#!) writes to sscanf strings */
27306 tmp_version = g_strdup("$min_gtk_version");
27307 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27308 printf("%s, bad version string\n", "$min_gtk_version");
27309 exit(1);
27310 }
27311
27312 if ((gtk_major_version != $gtk_config_major_version) ||
27313 (gtk_minor_version != $gtk_config_minor_version) ||
27314 (gtk_micro_version != $gtk_config_micro_version))
27315 {
27316 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27317 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27318 gtk_major_version, gtk_minor_version, gtk_micro_version);
27319 printf ("*** was found! If pkg-config was correct, then it is best\n");
27320 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27321 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27322 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27323 printf("*** required on your system.\n");
27324 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27325 printf("*** to point to the correct configuration files\n");
27326 }
27327 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27328 (gtk_minor_version != GTK_MINOR_VERSION) ||
27329 (gtk_micro_version != GTK_MICRO_VERSION))
27330 {
27331 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27332 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27333 printf("*** library (version %d.%d.%d)\n",
27334 gtk_major_version, gtk_minor_version, gtk_micro_version);
27335 }
27336 else
27337 {
27338 if ((gtk_major_version > major) ||
27339 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27340 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27341 {
27342 return 0;
27343 }
27344 else
27345 {
27346 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27347 gtk_major_version, gtk_minor_version, gtk_micro_version);
27348 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27349 major, minor, micro);
27350 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27351 printf("***\n");
27352 printf("*** If you have already installed a sufficiently new version, this error\n");
27353 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27354 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27355 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27356 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27357 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27358 printf("*** so that the correct libraries are found at run-time))\n");
27359 }
27360 }
27361 return 1;
27362 }
27363
27364 _ACEOF
27365 rm -f conftest$ac_exeext
27366 if { (ac_try="$ac_link"
27367 case "(($ac_try" in
27368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27369 *) ac_try_echo=$ac_try;;
27370 esac
27371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27372 (eval "$ac_link") 2>&5
27373 ac_status=$?
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27376 { (case "(($ac_try" in
27377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27378 *) ac_try_echo=$ac_try;;
27379 esac
27380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27381 (eval "$ac_try") 2>&5
27382 ac_status=$?
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); }; }; then
27385 :
27386 else
27387 echo "$as_me: program exited with status $ac_status" >&5
27388 echo "$as_me: failed program was:" >&5
27389 sed 's/^/| /' conftest.$ac_ext >&5
27390
27391 ( exit $ac_status )
27392 no_gtk=yes
27393 fi
27394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27395 fi
27396
27397
27398 CFLAGS="$ac_save_CFLAGS"
27399 LIBS="$ac_save_LIBS"
27400 fi
27401 fi
27402 if test "x$no_gtk" = x ; then
27403 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27404 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27405 wx_cv_lib_gtk=2.0
27406 else
27407 { echo "$as_me:$LINENO: result: no" >&5
27408 echo "${ECHO_T}no" >&6; }
27409 if test "$PKG_CONFIG" = "no" ; then
27410 echo "*** A new enough version of pkg-config was not found."
27411 echo "*** See http://pkgconfig.sourceforge.net"
27412 else
27413 if test -f conf.gtktest ; then
27414 :
27415 else
27416 echo "*** Could not run GTK+ test program, checking why..."
27417 ac_save_CFLAGS="$CFLAGS"
27418 ac_save_LIBS="$LIBS"
27419 CFLAGS="$CFLAGS $GTK_CFLAGS"
27420 LIBS="$LIBS $GTK_LIBS"
27421 cat >conftest.$ac_ext <<_ACEOF
27422 /* confdefs.h. */
27423 _ACEOF
27424 cat confdefs.h >>conftest.$ac_ext
27425 cat >>conftest.$ac_ext <<_ACEOF
27426 /* end confdefs.h. */
27427
27428 #include <gtk/gtk.h>
27429 #include <stdio.h>
27430
27431 int
27432 main ()
27433 {
27434 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27435 ;
27436 return 0;
27437 }
27438 _ACEOF
27439 rm -f conftest.$ac_objext conftest$ac_exeext
27440 if { (ac_try="$ac_link"
27441 case "(($ac_try" in
27442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27443 *) ac_try_echo=$ac_try;;
27444 esac
27445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27446 (eval "$ac_link") 2>conftest.er1
27447 ac_status=$?
27448 grep -v '^ *+' conftest.er1 >conftest.err
27449 rm -f conftest.er1
27450 cat conftest.err >&5
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); } && {
27453 test -z "$ac_c_werror_flag" ||
27454 test ! -s conftest.err
27455 } && test -s conftest$ac_exeext &&
27456 $as_test_x conftest$ac_exeext; then
27457 echo "*** The test program compiled, but did not run. This usually means"
27458 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27459 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27460 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27461 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27462 echo "*** is required on your system"
27463 echo "***"
27464 echo "*** If you have an old version installed, it is best to remove it, although"
27465 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27466 else
27467 echo "$as_me: failed program was:" >&5
27468 sed 's/^/| /' conftest.$ac_ext >&5
27469
27470 echo "*** The test program failed to compile or link. See the file config.log for the"
27471 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27472 fi
27473
27474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27475 conftest$ac_exeext conftest.$ac_ext
27476 CFLAGS="$ac_save_CFLAGS"
27477 LIBS="$ac_save_LIBS"
27478 fi
27479 fi
27480 GTK_CFLAGS=""
27481 GTK_LIBS=""
27482 :
27483 fi
27484
27485
27486 rm -f conf.gtktest
27487
27488
27489 case "${host}" in
27490 *-*-solaris2* )
27491 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27492 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27493 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27494 fi
27495 if test "$wxUSE_SHARED" != "yes"; then
27496 GTK_LIBS="$GTK_LIBS -lX11"
27497 fi
27498 esac
27499 fi
27500
27501 if test -z "$wx_cv_lib_gtk"; then
27502 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27503
27504 # Check whether --with-gtk-prefix was given.
27505 if test "${with_gtk_prefix+set}" = set; then
27506 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27507 else
27508 gtk_config_prefix=""
27509 fi
27510
27511
27512 # Check whether --with-gtk-exec-prefix was given.
27513 if test "${with_gtk_exec_prefix+set}" = set; then
27514 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27515 else
27516 gtk_config_exec_prefix=""
27517 fi
27518
27519 # Check whether --enable-gtktest was given.
27520 if test "${enable_gtktest+set}" = set; then
27521 enableval=$enable_gtktest;
27522 else
27523 enable_gtktest=yes
27524 fi
27525
27526
27527 for module in . $GTK_MODULES
27528 do
27529 case "$module" in
27530 gthread)
27531 gtk_config_args="$gtk_config_args gthread"
27532 ;;
27533 esac
27534 done
27535
27536 if test x$gtk_config_exec_prefix != x ; then
27537 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27538 if test x${GTK_CONFIG+set} != xset ; then
27539 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27540 fi
27541 fi
27542 if test x$gtk_config_prefix != x ; then
27543 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27544 if test x${GTK_CONFIG+set} != xset ; then
27545 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27546 fi
27547 fi
27548
27549 # Extract the first word of "gtk-config", so it can be a program name with args.
27550 set dummy gtk-config; ac_word=$2
27551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27553 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27554 echo $ECHO_N "(cached) $ECHO_C" >&6
27555 else
27556 case $GTK_CONFIG in
27557 [\\/]* | ?:[\\/]*)
27558 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27559 ;;
27560 *)
27561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27562 for as_dir in $PATH
27563 do
27564 IFS=$as_save_IFS
27565 test -z "$as_dir" && as_dir=.
27566 for ac_exec_ext in '' $ac_executable_extensions; do
27567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27568 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27570 break 2
27571 fi
27572 done
27573 done
27574 IFS=$as_save_IFS
27575
27576 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27577 ;;
27578 esac
27579 fi
27580 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27581 if test -n "$GTK_CONFIG"; then
27582 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27583 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27584 else
27585 { echo "$as_me:$LINENO: result: no" >&5
27586 echo "${ECHO_T}no" >&6; }
27587 fi
27588
27589
27590 min_gtk_version=1.2.7
27591 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27592 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27593 no_gtk=""
27594 if test "$GTK_CONFIG" = "no" ; then
27595 no_gtk=yes
27596 else
27597 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27598 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27599 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27600 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27601 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27603 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27605 if test "x$enable_gtktest" = "xyes" ; then
27606 ac_save_CFLAGS="$CFLAGS"
27607 ac_save_LIBS="$LIBS"
27608 CFLAGS="$CFLAGS $GTK_CFLAGS"
27609 LIBS="$GTK_LIBS $LIBS"
27610 rm -f conf.gtktest
27611 if test "$cross_compiling" = yes; then
27612 echo $ac_n "cross compiling; assumed OK... $ac_c"
27613 else
27614 cat >conftest.$ac_ext <<_ACEOF
27615 /* confdefs.h. */
27616 _ACEOF
27617 cat confdefs.h >>conftest.$ac_ext
27618 cat >>conftest.$ac_ext <<_ACEOF
27619 /* end confdefs.h. */
27620
27621 #include <gtk/gtk.h>
27622 #include <stdio.h>
27623 #include <stdlib.h>
27624
27625 int
27626 main ()
27627 {
27628 int major, minor, micro;
27629 char *tmp_version;
27630
27631 system ("touch conf.gtktest");
27632
27633 /* HP/UX 9 (%@#!) writes to sscanf strings */
27634 tmp_version = g_strdup("$min_gtk_version");
27635 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27636 printf("%s, bad version string\n", "$min_gtk_version");
27637 exit(1);
27638 }
27639
27640 if ((gtk_major_version != $gtk_config_major_version) ||
27641 (gtk_minor_version != $gtk_config_minor_version) ||
27642 (gtk_micro_version != $gtk_config_micro_version))
27643 {
27644 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27645 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27646 gtk_major_version, gtk_minor_version, gtk_micro_version);
27647 printf ("*** was found! If gtk-config was correct, then it is best\n");
27648 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27649 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27650 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27651 printf("*** required on your system.\n");
27652 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27653 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27654 printf("*** before re-running configure\n");
27655 }
27656 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27657 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27658 (gtk_minor_version != GTK_MINOR_VERSION) ||
27659 (gtk_micro_version != GTK_MICRO_VERSION))
27660 {
27661 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27662 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27663 printf("*** library (version %d.%d.%d)\n",
27664 gtk_major_version, gtk_minor_version, gtk_micro_version);
27665 }
27666 #endif /* defined (GTK_MAJOR_VERSION) ... */
27667 else
27668 {
27669 if ((gtk_major_version > major) ||
27670 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27671 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27672 {
27673 return 0;
27674 }
27675 else
27676 {
27677 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27678 gtk_major_version, gtk_minor_version, gtk_micro_version);
27679 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27680 major, minor, micro);
27681 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27682 printf("***\n");
27683 printf("*** If you have already installed a sufficiently new version, this error\n");
27684 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27685 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27686 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27687 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27688 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27689 printf("*** so that the correct libraries are found at run-time))\n");
27690 }
27691 }
27692 return 1;
27693 }
27694
27695 _ACEOF
27696 rm -f conftest$ac_exeext
27697 if { (ac_try="$ac_link"
27698 case "(($ac_try" in
27699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27700 *) ac_try_echo=$ac_try;;
27701 esac
27702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27703 (eval "$ac_link") 2>&5
27704 ac_status=$?
27705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27707 { (case "(($ac_try" in
27708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27709 *) ac_try_echo=$ac_try;;
27710 esac
27711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27712 (eval "$ac_try") 2>&5
27713 ac_status=$?
27714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715 (exit $ac_status); }; }; then
27716 :
27717 else
27718 echo "$as_me: program exited with status $ac_status" >&5
27719 echo "$as_me: failed program was:" >&5
27720 sed 's/^/| /' conftest.$ac_ext >&5
27721
27722 ( exit $ac_status )
27723 no_gtk=yes
27724 fi
27725 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27726 fi
27727
27728
27729 CFLAGS="$ac_save_CFLAGS"
27730 LIBS="$ac_save_LIBS"
27731 fi
27732 fi
27733 if test "x$no_gtk" = x ; then
27734 { echo "$as_me:$LINENO: result: yes" >&5
27735 echo "${ECHO_T}yes" >&6; }
27736 wx_cv_lib_gtk=1.2.7
27737 else
27738 { echo "$as_me:$LINENO: result: no" >&5
27739 echo "${ECHO_T}no" >&6; }
27740 if test "$GTK_CONFIG" = "no" ; then
27741 echo "*** The gtk-config script installed by GTK could not be found"
27742 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27743 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27744 echo "*** full path to gtk-config."
27745 else
27746 if test -f conf.gtktest ; then
27747 :
27748 else
27749 echo "*** Could not run GTK test program, checking why..."
27750 CFLAGS="$CFLAGS $GTK_CFLAGS"
27751 LIBS="$LIBS $GTK_LIBS"
27752 cat >conftest.$ac_ext <<_ACEOF
27753 /* confdefs.h. */
27754 _ACEOF
27755 cat confdefs.h >>conftest.$ac_ext
27756 cat >>conftest.$ac_ext <<_ACEOF
27757 /* end confdefs.h. */
27758
27759 #include <gtk/gtk.h>
27760 #include <stdio.h>
27761
27762 int
27763 main ()
27764 {
27765 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27766 ;
27767 return 0;
27768 }
27769 _ACEOF
27770 rm -f conftest.$ac_objext conftest$ac_exeext
27771 if { (ac_try="$ac_link"
27772 case "(($ac_try" in
27773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27774 *) ac_try_echo=$ac_try;;
27775 esac
27776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27777 (eval "$ac_link") 2>conftest.er1
27778 ac_status=$?
27779 grep -v '^ *+' conftest.er1 >conftest.err
27780 rm -f conftest.er1
27781 cat conftest.err >&5
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); } && {
27784 test -z "$ac_c_werror_flag" ||
27785 test ! -s conftest.err
27786 } && test -s conftest$ac_exeext &&
27787 $as_test_x conftest$ac_exeext; then
27788 echo "*** The test program compiled, but did not run. This usually means"
27789 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27790 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27791 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27792 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27793 echo "*** is required on your system"
27794 echo "***"
27795 echo "*** If you have an old version installed, it is best to remove it, although"
27796 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27797 echo "***"
27798 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27799 echo "*** came with the system with the command"
27800 echo "***"
27801 echo "*** rpm --erase --nodeps gtk gtk-devel"
27802 else
27803 echo "$as_me: failed program was:" >&5
27804 sed 's/^/| /' conftest.$ac_ext >&5
27805
27806 echo "*** The test program failed to compile or link. See the file config.log for the"
27807 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27808 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27809 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27810 fi
27811
27812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27813 conftest$ac_exeext conftest.$ac_ext
27814 CFLAGS="$ac_save_CFLAGS"
27815 LIBS="$ac_save_LIBS"
27816 fi
27817 fi
27818 GTK_CFLAGS=""
27819 GTK_LIBS=""
27820 :
27821 fi
27822
27823
27824 rm -f conf.gtktest
27825
27826
27827 if test -z "$wx_cv_lib_gtk"; then
27828
27829 # Check whether --with-gtk-prefix was given.
27830 if test "${with_gtk_prefix+set}" = set; then
27831 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27832 else
27833 gtk_config_prefix=""
27834 fi
27835
27836
27837 # Check whether --with-gtk-exec-prefix was given.
27838 if test "${with_gtk_exec_prefix+set}" = set; then
27839 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27840 else
27841 gtk_config_exec_prefix=""
27842 fi
27843
27844 # Check whether --enable-gtktest was given.
27845 if test "${enable_gtktest+set}" = set; then
27846 enableval=$enable_gtktest;
27847 else
27848 enable_gtktest=yes
27849 fi
27850
27851
27852 for module in . $GTK_MODULES
27853 do
27854 case "$module" in
27855 gthread)
27856 gtk_config_args="$gtk_config_args gthread"
27857 ;;
27858 esac
27859 done
27860
27861 if test x$gtk_config_exec_prefix != x ; then
27862 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27863 if test x${GTK_CONFIG+set} != xset ; then
27864 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27865 fi
27866 fi
27867 if test x$gtk_config_prefix != x ; then
27868 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27869 if test x${GTK_CONFIG+set} != xset ; then
27870 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27871 fi
27872 fi
27873
27874 # Extract the first word of "gtk-config", so it can be a program name with args.
27875 set dummy gtk-config; ac_word=$2
27876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27878 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27879 echo $ECHO_N "(cached) $ECHO_C" >&6
27880 else
27881 case $GTK_CONFIG in
27882 [\\/]* | ?:[\\/]*)
27883 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27884 ;;
27885 *)
27886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27887 for as_dir in $PATH
27888 do
27889 IFS=$as_save_IFS
27890 test -z "$as_dir" && as_dir=.
27891 for ac_exec_ext in '' $ac_executable_extensions; do
27892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27893 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27895 break 2
27896 fi
27897 done
27898 done
27899 IFS=$as_save_IFS
27900
27901 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27902 ;;
27903 esac
27904 fi
27905 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27906 if test -n "$GTK_CONFIG"; then
27907 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27908 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27909 else
27910 { echo "$as_me:$LINENO: result: no" >&5
27911 echo "${ECHO_T}no" >&6; }
27912 fi
27913
27914
27915 min_gtk_version=1.2.3
27916 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27917 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27918 no_gtk=""
27919 if test "$GTK_CONFIG" = "no" ; then
27920 no_gtk=yes
27921 else
27922 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27923 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27924 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27926 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27928 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27930 if test "x$enable_gtktest" = "xyes" ; then
27931 ac_save_CFLAGS="$CFLAGS"
27932 ac_save_LIBS="$LIBS"
27933 CFLAGS="$CFLAGS $GTK_CFLAGS"
27934 LIBS="$GTK_LIBS $LIBS"
27935 rm -f conf.gtktest
27936 if test "$cross_compiling" = yes; then
27937 echo $ac_n "cross compiling; assumed OK... $ac_c"
27938 else
27939 cat >conftest.$ac_ext <<_ACEOF
27940 /* confdefs.h. */
27941 _ACEOF
27942 cat confdefs.h >>conftest.$ac_ext
27943 cat >>conftest.$ac_ext <<_ACEOF
27944 /* end confdefs.h. */
27945
27946 #include <gtk/gtk.h>
27947 #include <stdio.h>
27948 #include <stdlib.h>
27949
27950 int
27951 main ()
27952 {
27953 int major, minor, micro;
27954 char *tmp_version;
27955
27956 system ("touch conf.gtktest");
27957
27958 /* HP/UX 9 (%@#!) writes to sscanf strings */
27959 tmp_version = g_strdup("$min_gtk_version");
27960 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27961 printf("%s, bad version string\n", "$min_gtk_version");
27962 exit(1);
27963 }
27964
27965 if ((gtk_major_version != $gtk_config_major_version) ||
27966 (gtk_minor_version != $gtk_config_minor_version) ||
27967 (gtk_micro_version != $gtk_config_micro_version))
27968 {
27969 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27970 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27971 gtk_major_version, gtk_minor_version, gtk_micro_version);
27972 printf ("*** was found! If gtk-config was correct, then it is best\n");
27973 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27974 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27975 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27976 printf("*** required on your system.\n");
27977 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27978 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27979 printf("*** before re-running configure\n");
27980 }
27981 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27982 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27983 (gtk_minor_version != GTK_MINOR_VERSION) ||
27984 (gtk_micro_version != GTK_MICRO_VERSION))
27985 {
27986 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27987 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27988 printf("*** library (version %d.%d.%d)\n",
27989 gtk_major_version, gtk_minor_version, gtk_micro_version);
27990 }
27991 #endif /* defined (GTK_MAJOR_VERSION) ... */
27992 else
27993 {
27994 if ((gtk_major_version > major) ||
27995 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27996 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27997 {
27998 return 0;
27999 }
28000 else
28001 {
28002 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28003 gtk_major_version, gtk_minor_version, gtk_micro_version);
28004 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28005 major, minor, micro);
28006 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28007 printf("***\n");
28008 printf("*** If you have already installed a sufficiently new version, this error\n");
28009 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28010 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28011 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28012 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28013 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28014 printf("*** so that the correct libraries are found at run-time))\n");
28015 }
28016 }
28017 return 1;
28018 }
28019
28020 _ACEOF
28021 rm -f conftest$ac_exeext
28022 if { (ac_try="$ac_link"
28023 case "(($ac_try" in
28024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28025 *) ac_try_echo=$ac_try;;
28026 esac
28027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28028 (eval "$ac_link") 2>&5
28029 ac_status=$?
28030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28032 { (case "(($ac_try" in
28033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28034 *) ac_try_echo=$ac_try;;
28035 esac
28036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28037 (eval "$ac_try") 2>&5
28038 ac_status=$?
28039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28040 (exit $ac_status); }; }; then
28041 :
28042 else
28043 echo "$as_me: program exited with status $ac_status" >&5
28044 echo "$as_me: failed program was:" >&5
28045 sed 's/^/| /' conftest.$ac_ext >&5
28046
28047 ( exit $ac_status )
28048 no_gtk=yes
28049 fi
28050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28051 fi
28052
28053
28054 CFLAGS="$ac_save_CFLAGS"
28055 LIBS="$ac_save_LIBS"
28056 fi
28057 fi
28058 if test "x$no_gtk" = x ; then
28059 { echo "$as_me:$LINENO: result: yes" >&5
28060 echo "${ECHO_T}yes" >&6; }
28061 wx_cv_lib_gtk=1.2.3
28062 else
28063 { echo "$as_me:$LINENO: result: no" >&5
28064 echo "${ECHO_T}no" >&6; }
28065 if test "$GTK_CONFIG" = "no" ; then
28066 echo "*** The gtk-config script installed by GTK could not be found"
28067 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28068 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28069 echo "*** full path to gtk-config."
28070 else
28071 if test -f conf.gtktest ; then
28072 :
28073 else
28074 echo "*** Could not run GTK test program, checking why..."
28075 CFLAGS="$CFLAGS $GTK_CFLAGS"
28076 LIBS="$LIBS $GTK_LIBS"
28077 cat >conftest.$ac_ext <<_ACEOF
28078 /* confdefs.h. */
28079 _ACEOF
28080 cat confdefs.h >>conftest.$ac_ext
28081 cat >>conftest.$ac_ext <<_ACEOF
28082 /* end confdefs.h. */
28083
28084 #include <gtk/gtk.h>
28085 #include <stdio.h>
28086
28087 int
28088 main ()
28089 {
28090 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28091 ;
28092 return 0;
28093 }
28094 _ACEOF
28095 rm -f conftest.$ac_objext conftest$ac_exeext
28096 if { (ac_try="$ac_link"
28097 case "(($ac_try" in
28098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28099 *) ac_try_echo=$ac_try;;
28100 esac
28101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28102 (eval "$ac_link") 2>conftest.er1
28103 ac_status=$?
28104 grep -v '^ *+' conftest.er1 >conftest.err
28105 rm -f conftest.er1
28106 cat conftest.err >&5
28107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28108 (exit $ac_status); } && {
28109 test -z "$ac_c_werror_flag" ||
28110 test ! -s conftest.err
28111 } && test -s conftest$ac_exeext &&
28112 $as_test_x conftest$ac_exeext; then
28113 echo "*** The test program compiled, but did not run. This usually means"
28114 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28115 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28116 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28117 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28118 echo "*** is required on your system"
28119 echo "***"
28120 echo "*** If you have an old version installed, it is best to remove it, although"
28121 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28122 echo "***"
28123 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28124 echo "*** came with the system with the command"
28125 echo "***"
28126 echo "*** rpm --erase --nodeps gtk gtk-devel"
28127 else
28128 echo "$as_me: failed program was:" >&5
28129 sed 's/^/| /' conftest.$ac_ext >&5
28130
28131 echo "*** The test program failed to compile or link. See the file config.log for the"
28132 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28133 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28134 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28135 fi
28136
28137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28138 conftest$ac_exeext conftest.$ac_ext
28139 CFLAGS="$ac_save_CFLAGS"
28140 LIBS="$ac_save_LIBS"
28141 fi
28142 fi
28143 GTK_CFLAGS=""
28144 GTK_LIBS=""
28145 :
28146 fi
28147
28148
28149 rm -f conf.gtktest
28150
28151 fi
28152 fi
28153 fi
28154
28155 if test -z "$wx_cv_lib_gtk"; then
28156 wx_cv_lib_gtk=none
28157 else
28158 wx_cv_cflags_gtk=$GTK_CFLAGS
28159 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28160 fi
28161
28162
28163 fi
28164
28165
28166 if test "$gtk_version_cached" = 1; then
28167 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28168 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28169 fi
28170
28171 case "$wx_cv_lib_gtk" in
28172 2.0) WXGTK20=1
28173 TOOLKIT_VERSION=2
28174 ;;
28175 1.2.7) WXGTK127=1
28176 WXGTK12=1
28177 ;;
28178 1.2.3) WXGTK12=1
28179 ;;
28180 *) { { echo "$as_me:$LINENO: error:
28181 The development files for GTK+ were not found. For GTK+ 2, please
28182 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28183 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28184 and that the version is 1.2.3 or above. Also check that the
28185 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28186 --libs' are in the LD_LIBRARY_PATH or equivalent.
28187 " >&5
28188 echo "$as_me: error:
28189 The development files for GTK+ were not found. For GTK+ 2, please
28190 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28191 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28192 and that the version is 1.2.3 or above. Also check that the
28193 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28194 --libs' are in the LD_LIBRARY_PATH or equivalent.
28195 " >&2;}
28196 { (exit 1); exit 1; }; }
28197 ;;
28198 esac
28199
28200 if test "$WXGTK20" = 1; then
28201 save_CFLAGS="$CFLAGS"
28202 save_LIBS="$LIBS"
28203 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28204 LIBS="$LIBS $wx_cv_libs_gtk"
28205
28206 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28207 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28208 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28209 echo $ECHO_N "(cached) $ECHO_C" >&6
28210 else
28211 cat >conftest.$ac_ext <<_ACEOF
28212 /* confdefs.h. */
28213 _ACEOF
28214 cat confdefs.h >>conftest.$ac_ext
28215 cat >>conftest.$ac_ext <<_ACEOF
28216 /* end confdefs.h. */
28217 #include <gtk/gtk.h>
28218
28219 int
28220 main ()
28221 {
28222 #ifndef gtk_icon_size_lookup
28223 (void) gtk_icon_size_lookup;
28224 #endif
28225
28226 ;
28227 return 0;
28228 }
28229 _ACEOF
28230 rm -f conftest.$ac_objext
28231 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
28238 ac_status=$?
28239 grep -v '^ *+' conftest.er1 >conftest.err
28240 rm -f conftest.er1
28241 cat conftest.err >&5
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); } && {
28244 test -z "$ac_c_werror_flag" ||
28245 test ! -s conftest.err
28246 } && test -s conftest.$ac_objext; then
28247 ac_cv_have_decl_gtk_icon_size_lookup=yes
28248 else
28249 echo "$as_me: failed program was:" >&5
28250 sed 's/^/| /' conftest.$ac_ext >&5
28251
28252 ac_cv_have_decl_gtk_icon_size_lookup=no
28253 fi
28254
28255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28256 fi
28257 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28258 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28259 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28260
28261 cat >>confdefs.h <<_ACEOF
28262 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28263 _ACEOF
28264
28265
28266 else
28267 cat >>confdefs.h <<_ACEOF
28268 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28269 _ACEOF
28270
28271 cat >>confdefs.h <<\_ACEOF
28272 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28273 _ACEOF
28274
28275 fi
28276
28277
28278
28279
28280 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28281 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28282 cat >conftest.$ac_ext <<_ACEOF
28283 /* confdefs.h. */
28284 _ACEOF
28285 cat confdefs.h >>conftest.$ac_ext
28286 cat >>conftest.$ac_ext <<_ACEOF
28287 /* end confdefs.h. */
28288
28289 #include <gtk/gtk.h>
28290
28291 int
28292 main ()
28293 {
28294
28295 #if !GTK_CHECK_VERSION(2,10,0)
28296 Not GTK+ 2.10
28297 #endif
28298
28299 ;
28300 return 0;
28301 }
28302 _ACEOF
28303 rm -f conftest.$ac_objext
28304 if { (ac_try="$ac_compile"
28305 case "(($ac_try" in
28306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28307 *) ac_try_echo=$ac_try;;
28308 esac
28309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28310 (eval "$ac_compile") 2>conftest.er1
28311 ac_status=$?
28312 grep -v '^ *+' conftest.er1 >conftest.err
28313 rm -f conftest.er1
28314 cat conftest.err >&5
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); } && {
28317 test -z "$ac_c_werror_flag" ||
28318 test ! -s conftest.err
28319 } && test -s conftest.$ac_objext; then
28320
28321 cat >>confdefs.h <<\_ACEOF
28322 #define __WXGTK210__ 1
28323 _ACEOF
28324
28325 cat >>confdefs.h <<\_ACEOF
28326 #define __WXGTK26__ 1
28327 _ACEOF
28328
28329 cat >>confdefs.h <<\_ACEOF
28330 #define __WXGTK24__ 1
28331 _ACEOF
28332
28333 { echo "$as_me:$LINENO: result: yes" >&5
28334 echo "${ECHO_T}yes" >&6; }
28335 ac_wxgtk210=1
28336
28337 else
28338 echo "$as_me: failed program was:" >&5
28339 sed 's/^/| /' conftest.$ac_ext >&5
28340
28341
28342 { echo "$as_me:$LINENO: result: no" >&5
28343 echo "${ECHO_T}no" >&6; }
28344 ac_wxgtk210=0
28345
28346 fi
28347
28348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28349
28350 if test "$ac_wxgtk210" = 0; then
28351 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28352 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28353 cat >conftest.$ac_ext <<_ACEOF
28354 /* confdefs.h. */
28355 _ACEOF
28356 cat confdefs.h >>conftest.$ac_ext
28357 cat >>conftest.$ac_ext <<_ACEOF
28358 /* end confdefs.h. */
28359
28360 #include <gtk/gtk.h>
28361
28362 int
28363 main ()
28364 {
28365
28366 #if !GTK_CHECK_VERSION(2,6,0)
28367 Not GTK+ 2.6
28368 #endif
28369
28370 ;
28371 return 0;
28372 }
28373 _ACEOF
28374 rm -f conftest.$ac_objext
28375 if { (ac_try="$ac_compile"
28376 case "(($ac_try" in
28377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28378 *) ac_try_echo=$ac_try;;
28379 esac
28380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28381 (eval "$ac_compile") 2>conftest.er1
28382 ac_status=$?
28383 grep -v '^ *+' conftest.er1 >conftest.err
28384 rm -f conftest.er1
28385 cat conftest.err >&5
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); } && {
28388 test -z "$ac_c_werror_flag" ||
28389 test ! -s conftest.err
28390 } && test -s conftest.$ac_objext; then
28391
28392 cat >>confdefs.h <<\_ACEOF
28393 #define __WXGTK26__ 1
28394 _ACEOF
28395
28396 cat >>confdefs.h <<\_ACEOF
28397 #define __WXGTK24__ 1
28398 _ACEOF
28399
28400 { echo "$as_me:$LINENO: result: yes" >&5
28401 echo "${ECHO_T}yes" >&6; }
28402 ac_wxgtk26=1
28403
28404 else
28405 echo "$as_me: failed program was:" >&5
28406 sed 's/^/| /' conftest.$ac_ext >&5
28407
28408
28409 { echo "$as_me:$LINENO: result: no" >&5
28410 echo "${ECHO_T}no" >&6; }
28411 ac_wxgtk26=0
28412
28413 fi
28414
28415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28416 fi
28417
28418 if test "$ac_wxgtk26" = 0; then
28419 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28420 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28421 cat >conftest.$ac_ext <<_ACEOF
28422 /* confdefs.h. */
28423 _ACEOF
28424 cat confdefs.h >>conftest.$ac_ext
28425 cat >>conftest.$ac_ext <<_ACEOF
28426 /* end confdefs.h. */
28427
28428 #include <gtk/gtk.h>
28429
28430 int
28431 main ()
28432 {
28433
28434 #if !GTK_CHECK_VERSION(2,4,0)
28435 Not GTK+ 2.4
28436 #endif
28437
28438 ;
28439 return 0;
28440 }
28441 _ACEOF
28442 rm -f conftest.$ac_objext
28443 if { (ac_try="$ac_compile"
28444 case "(($ac_try" in
28445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28446 *) ac_try_echo=$ac_try;;
28447 esac
28448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28449 (eval "$ac_compile") 2>conftest.er1
28450 ac_status=$?
28451 grep -v '^ *+' conftest.er1 >conftest.err
28452 rm -f conftest.er1
28453 cat conftest.err >&5
28454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28455 (exit $ac_status); } && {
28456 test -z "$ac_c_werror_flag" ||
28457 test ! -s conftest.err
28458 } && test -s conftest.$ac_objext; then
28459
28460 cat >>confdefs.h <<\_ACEOF
28461 #define __WXGTK24__ 1
28462 _ACEOF
28463
28464 { echo "$as_me:$LINENO: result: yes" >&5
28465 echo "${ECHO_T}yes" >&6; }
28466
28467 else
28468 echo "$as_me: failed program was:" >&5
28469 sed 's/^/| /' conftest.$ac_ext >&5
28470
28471
28472 { echo "$as_me:$LINENO: result: no" >&5
28473 echo "${ECHO_T}no" >&6; }
28474
28475 fi
28476
28477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28478 fi
28479
28480 CFLAGS="$save_CFLAGS"
28481 LIBS="$save_LIBS"
28482 else
28483 if test "$wxUSE_UNICODE" = "yes"; then
28484 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28485 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28486 wxUSE_UNICODE=no
28487 fi
28488
28489 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28490 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28491 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28492 echo $ECHO_N "(cached) $ECHO_C" >&6
28493 else
28494 ac_check_lib_save_LIBS=$LIBS
28495 LIBS="-lgdk $LIBS"
28496 cat >conftest.$ac_ext <<_ACEOF
28497 /* confdefs.h. */
28498 _ACEOF
28499 cat confdefs.h >>conftest.$ac_ext
28500 cat >>conftest.$ac_ext <<_ACEOF
28501 /* end confdefs.h. */
28502
28503 /* Override any GCC internal prototype to avoid an error.
28504 Use char because int might match the return type of a GCC
28505 builtin and then its argument prototype would still apply. */
28506 #ifdef __cplusplus
28507 extern "C"
28508 #endif
28509 char gdk_im_open ();
28510 int
28511 main ()
28512 {
28513 return gdk_im_open ();
28514 ;
28515 return 0;
28516 }
28517 _ACEOF
28518 rm -f conftest.$ac_objext conftest$ac_exeext
28519 if { (ac_try="$ac_link"
28520 case "(($ac_try" in
28521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28522 *) ac_try_echo=$ac_try;;
28523 esac
28524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28525 (eval "$ac_link") 2>conftest.er1
28526 ac_status=$?
28527 grep -v '^ *+' conftest.er1 >conftest.err
28528 rm -f conftest.er1
28529 cat conftest.err >&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); } && {
28532 test -z "$ac_c_werror_flag" ||
28533 test ! -s conftest.err
28534 } && test -s conftest$ac_exeext &&
28535 $as_test_x conftest$ac_exeext; then
28536 ac_cv_lib_gdk_gdk_im_open=yes
28537 else
28538 echo "$as_me: failed program was:" >&5
28539 sed 's/^/| /' conftest.$ac_ext >&5
28540
28541 ac_cv_lib_gdk_gdk_im_open=no
28542 fi
28543
28544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28545 conftest$ac_exeext conftest.$ac_ext
28546 LIBS=$ac_check_lib_save_LIBS
28547 fi
28548 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28549 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28550 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28551 cat >>confdefs.h <<\_ACEOF
28552 #define HAVE_XIM 1
28553 _ACEOF
28554
28555 fi
28556
28557
28558 if test "$USE_DARWIN" != 1; then
28559
28560 for ac_func in poll
28561 do
28562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28563 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28565 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28566 echo $ECHO_N "(cached) $ECHO_C" >&6
28567 else
28568 cat >conftest.$ac_ext <<_ACEOF
28569 /* confdefs.h. */
28570 _ACEOF
28571 cat confdefs.h >>conftest.$ac_ext
28572 cat >>conftest.$ac_ext <<_ACEOF
28573 /* end confdefs.h. */
28574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28576 #define $ac_func innocuous_$ac_func
28577
28578 /* System header to define __stub macros and hopefully few prototypes,
28579 which can conflict with char $ac_func (); below.
28580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28581 <limits.h> exists even on freestanding compilers. */
28582
28583 #ifdef __STDC__
28584 # include <limits.h>
28585 #else
28586 # include <assert.h>
28587 #endif
28588
28589 #undef $ac_func
28590
28591 /* Override any GCC internal prototype to avoid an error.
28592 Use char because int might match the return type of a GCC
28593 builtin and then its argument prototype would still apply. */
28594 #ifdef __cplusplus
28595 extern "C"
28596 #endif
28597 char $ac_func ();
28598 /* The GNU C library defines this for functions which it implements
28599 to always fail with ENOSYS. Some functions are actually named
28600 something starting with __ and the normal name is an alias. */
28601 #if defined __stub_$ac_func || defined __stub___$ac_func
28602 choke me
28603 #endif
28604
28605 int
28606 main ()
28607 {
28608 return $ac_func ();
28609 ;
28610 return 0;
28611 }
28612 _ACEOF
28613 rm -f conftest.$ac_objext conftest$ac_exeext
28614 if { (ac_try="$ac_link"
28615 case "(($ac_try" in
28616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28617 *) ac_try_echo=$ac_try;;
28618 esac
28619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28620 (eval "$ac_link") 2>conftest.er1
28621 ac_status=$?
28622 grep -v '^ *+' conftest.er1 >conftest.err
28623 rm -f conftest.er1
28624 cat conftest.err >&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); } && {
28627 test -z "$ac_c_werror_flag" ||
28628 test ! -s conftest.err
28629 } && test -s conftest$ac_exeext &&
28630 $as_test_x conftest$ac_exeext; then
28631 eval "$as_ac_var=yes"
28632 else
28633 echo "$as_me: failed program was:" >&5
28634 sed 's/^/| /' conftest.$ac_ext >&5
28635
28636 eval "$as_ac_var=no"
28637 fi
28638
28639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28640 conftest$ac_exeext conftest.$ac_ext
28641 fi
28642 ac_res=`eval echo '${'$as_ac_var'}'`
28643 { echo "$as_me:$LINENO: result: $ac_res" >&5
28644 echo "${ECHO_T}$ac_res" >&6; }
28645 if test `eval echo '${'$as_ac_var'}'` = yes; then
28646 cat >>confdefs.h <<_ACEOF
28647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28648 _ACEOF
28649
28650 fi
28651 done
28652
28653 fi
28654 fi
28655
28656 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28657 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28658
28659 AFMINSTALL=afminstall
28660 TOOLKIT=GTK
28661 GUIDIST=GTK_DIST
28662
28663 if test "$wxUSE_GPE" = "yes"; then
28664 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28665 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28666
28667 ac_find_libraries=
28668 for ac_dir in $SEARCH_LIB;
28669 do
28670 for ac_extension in a so sl dylib dll.a; do
28671 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28672 ac_find_libraries=$ac_dir
28673 break 2
28674 fi
28675 done
28676 done
28677
28678 if test "$ac_find_libraries" != "" ; then
28679
28680 if test "$ac_find_libraries" = "default location"; then
28681 ac_path_to_link=""
28682 else
28683 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28684 result=$?
28685 if test $result = 0; then
28686 ac_path_to_link=""
28687 else
28688 ac_path_to_link=" -L$ac_find_libraries"
28689 fi
28690 fi
28691
28692 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28693 WXGPE=1
28694 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28695 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28696 else
28697 { echo "$as_me:$LINENO: result: not found" >&5
28698 echo "${ECHO_T}not found" >&6; }
28699 fi
28700
28701 fi
28702 fi
28703
28704 if test "$wxUSE_MGL" = 1; then
28705 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28706 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28707 if test "x$MGL_ROOT" = x ; then
28708 { echo "$as_me:$LINENO: result: not found" >&5
28709 echo "${ECHO_T}not found" >&6; }
28710 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28711 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28712 { (exit 1); exit 1; }; }
28713 else
28714 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28715 echo "${ECHO_T}$MGL_ROOT" >&6; }
28716 fi
28717
28718 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28719 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28720 case "${host}" in
28721 *-*-linux* )
28722 if test "x$wxUSE_SHARED" = xyes ; then
28723 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28724 else
28725 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28726 fi
28727 ;;
28728 *-pc-msdosdjgpp )
28729 mgl_os_candidates="dos32/dj2"
28730 ;;
28731 *)
28732 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28733 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28734 { (exit 1); exit 1; }; }
28735 esac
28736
28737 mgl_lib_type=""
28738 mgl_os=""
28739
28740 for mgl_os_i in $mgl_os_candidates ; do
28741 if test "x$mgl_os" = x ; then
28742 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28743 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28744 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28745 mgl_lib_type=debug
28746 mgl_os=$mgl_os_i
28747 fi
28748 fi
28749 if test "x$mgl_lib_type" = x ; then
28750 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28751 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28752 mgl_lib_type=release
28753 mgl_os=$mgl_os_i
28754 fi
28755 fi
28756 fi
28757 done
28758
28759 if test "x$mgl_os" = x ; then
28760 { echo "$as_me:$LINENO: result: not found" >&5
28761 echo "${ECHO_T}not found" >&6; }
28762 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28763 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28764 { (exit 1); exit 1; }; }
28765 fi
28766 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28767 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28768
28769 wxUSE_UNIVERSAL="yes"
28770
28771 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28772 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28773
28774 AFMINSTALL=afminstall
28775 TOOLKIT=MGL
28776 GUIDIST=MGL_DIST
28777 fi
28778
28779 if test "$wxUSE_DFB" = 1; then
28780
28781
28782 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28783 if test -n "$ac_tool_prefix"; then
28784 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28785 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28786 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28788 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28789 echo $ECHO_N "(cached) $ECHO_C" >&6
28790 else
28791 case $PKG_CONFIG in
28792 [\\/]* | ?:[\\/]*)
28793 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28794 ;;
28795 *)
28796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28797 for as_dir in $PATH
28798 do
28799 IFS=$as_save_IFS
28800 test -z "$as_dir" && as_dir=.
28801 for ac_exec_ext in '' $ac_executable_extensions; do
28802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28803 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28805 break 2
28806 fi
28807 done
28808 done
28809 IFS=$as_save_IFS
28810
28811 ;;
28812 esac
28813 fi
28814 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28815 if test -n "$PKG_CONFIG"; then
28816 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28817 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28818 else
28819 { echo "$as_me:$LINENO: result: no" >&5
28820 echo "${ECHO_T}no" >&6; }
28821 fi
28822
28823
28824 fi
28825 if test -z "$ac_cv_path_PKG_CONFIG"; then
28826 ac_pt_PKG_CONFIG=$PKG_CONFIG
28827 # Extract the first word of "pkg-config", so it can be a program name with args.
28828 set dummy pkg-config; ac_word=$2
28829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28831 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28832 echo $ECHO_N "(cached) $ECHO_C" >&6
28833 else
28834 case $ac_pt_PKG_CONFIG in
28835 [\\/]* | ?:[\\/]*)
28836 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28837 ;;
28838 *)
28839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28840 for as_dir in $PATH
28841 do
28842 IFS=$as_save_IFS
28843 test -z "$as_dir" && as_dir=.
28844 for ac_exec_ext in '' $ac_executable_extensions; do
28845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28846 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28848 break 2
28849 fi
28850 done
28851 done
28852 IFS=$as_save_IFS
28853
28854 ;;
28855 esac
28856 fi
28857 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28858 if test -n "$ac_pt_PKG_CONFIG"; then
28859 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28860 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28861 else
28862 { echo "$as_me:$LINENO: result: no" >&5
28863 echo "${ECHO_T}no" >&6; }
28864 fi
28865
28866 if test "x$ac_pt_PKG_CONFIG" = x; then
28867 PKG_CONFIG=""
28868 else
28869 case $cross_compiling:$ac_tool_warned in
28870 yes:)
28871 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28872 whose name does not start with the host triplet. If you think this
28873 configuration is useful to you, please write to autoconf@gnu.org." >&5
28874 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28875 whose name does not start with the host triplet. If you think this
28876 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28877 ac_tool_warned=yes ;;
28878 esac
28879 PKG_CONFIG=$ac_pt_PKG_CONFIG
28880 fi
28881 else
28882 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28883 fi
28884
28885 fi
28886 if test -n "$PKG_CONFIG"; then
28887 _pkg_min_version=0.9.0
28888 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28889 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28890 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28891 { echo "$as_me:$LINENO: result: yes" >&5
28892 echo "${ECHO_T}yes" >&6; }
28893 else
28894 { echo "$as_me:$LINENO: result: no" >&5
28895 echo "${ECHO_T}no" >&6; }
28896 PKG_CONFIG=""
28897 fi
28898
28899 fi
28900
28901
28902 pkg_failed=no
28903 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28904 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28905
28906 if test -n "$PKG_CONFIG"; then
28907 if test -n "$DIRECTFB_CFLAGS"; then
28908 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28909 else
28910 if test -n "$PKG_CONFIG" && \
28911 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28912 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28913 ac_status=$?
28914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915 (exit $ac_status); }; then
28916 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28917 else
28918 pkg_failed=yes
28919 fi
28920 fi
28921 else
28922 pkg_failed=untried
28923 fi
28924 if test -n "$PKG_CONFIG"; then
28925 if test -n "$DIRECTFB_LIBS"; then
28926 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28927 else
28928 if test -n "$PKG_CONFIG" && \
28929 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28930 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28931 ac_status=$?
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); }; then
28934 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28935 else
28936 pkg_failed=yes
28937 fi
28938 fi
28939 else
28940 pkg_failed=untried
28941 fi
28942
28943
28944
28945 if test $pkg_failed = yes; then
28946
28947 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28948 _pkg_short_errors_supported=yes
28949 else
28950 _pkg_short_errors_supported=no
28951 fi
28952 if test $_pkg_short_errors_supported = yes; then
28953 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28954 else
28955 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28956 fi
28957 # Put the nasty error message in config.log where it belongs
28958 echo "$DIRECTFB_PKG_ERRORS" >&5
28959
28960
28961 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28962 echo "$as_me: error: DirectFB not found." >&2;}
28963 { (exit 1); exit 1; }; }
28964
28965
28966 elif test $pkg_failed = untried; then
28967
28968 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28969 echo "$as_me: error: DirectFB not found." >&2;}
28970 { (exit 1); exit 1; }; }
28971
28972
28973 else
28974 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28975 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28976 { echo "$as_me:$LINENO: result: yes" >&5
28977 echo "${ECHO_T}yes" >&6; }
28978
28979 wxUSE_UNIVERSAL="yes"
28980 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28981 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28982 TOOLKIT=DFB
28983 GUIDIST=DFB_DIST
28984
28985 fi
28986 fi
28987
28988 if test "$wxUSE_MICROWIN" = 1; then
28989 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28990 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28991 if test "x$MICROWINDOWS" = x ; then
28992 { echo "$as_me:$LINENO: result: not found" >&5
28993 echo "${ECHO_T}not found" >&6; }
28994 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28995 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28996 { (exit 1); exit 1; }; }
28997 else
28998 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28999 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29000 fi
29001
29002 if test -f $MICROWINDOWS/lib/libmwin.a; then
29003 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29004 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29005 else
29006 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29007 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29008 { (exit 1); exit 1; }; }
29009 fi
29010
29011 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29012 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29013
29014 wxUSE_UNIVERSAL="yes"
29015
29016 AFMINSTALL=afminstall
29017 TOOLKIT=MICROWIN
29018 GUIDIST=MICROWIN_DIST
29019
29020 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29021 fi
29022
29023 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29024 { echo "$as_me:$LINENO: checking for X" >&5
29025 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29026
29027
29028 # Check whether --with-x was given.
29029 if test "${with_x+set}" = set; then
29030 withval=$with_x;
29031 fi
29032
29033 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29034 if test "x$with_x" = xno; then
29035 # The user explicitly disabled X.
29036 have_x=disabled
29037 else
29038 case $x_includes,$x_libraries in #(
29039 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29040 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29041 { (exit 1); exit 1; }; };; #(
29042 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29043 echo $ECHO_N "(cached) $ECHO_C" >&6
29044 else
29045 # One or both of the vars are not set, and there is no cached value.
29046 ac_x_includes=no ac_x_libraries=no
29047 rm -f -r conftest.dir
29048 if mkdir conftest.dir; then
29049 cd conftest.dir
29050 cat >Imakefile <<'_ACEOF'
29051 incroot:
29052 @echo incroot='${INCROOT}'
29053 usrlibdir:
29054 @echo usrlibdir='${USRLIBDIR}'
29055 libdir:
29056 @echo libdir='${LIBDIR}'
29057 _ACEOF
29058 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29059 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29060 for ac_var in incroot usrlibdir libdir; do
29061 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29062 done
29063 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29064 for ac_extension in a so sl; do
29065 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29066 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29067 ac_im_usrlibdir=$ac_im_libdir; break
29068 fi
29069 done
29070 # Screen out bogus values from the imake configuration. They are
29071 # bogus both because they are the default anyway, and because
29072 # using them would break gcc on systems where it needs fixed includes.
29073 case $ac_im_incroot in
29074 /usr/include) ac_x_includes= ;;
29075 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29076 esac
29077 case $ac_im_usrlibdir in
29078 /usr/lib | /lib) ;;
29079 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29080 esac
29081 fi
29082 cd ..
29083 rm -f -r conftest.dir
29084 fi
29085
29086 # Standard set of common directories for X headers.
29087 # Check X11 before X11Rn because it is often a symlink to the current release.
29088 ac_x_header_dirs='
29089 /usr/X11/include
29090 /usr/X11R6/include
29091 /usr/X11R5/include
29092 /usr/X11R4/include
29093
29094 /usr/include/X11
29095 /usr/include/X11R6
29096 /usr/include/X11R5
29097 /usr/include/X11R4
29098
29099 /usr/local/X11/include
29100 /usr/local/X11R6/include
29101 /usr/local/X11R5/include
29102 /usr/local/X11R4/include
29103
29104 /usr/local/include/X11
29105 /usr/local/include/X11R6
29106 /usr/local/include/X11R5
29107 /usr/local/include/X11R4
29108
29109 /usr/X386/include
29110 /usr/x386/include
29111 /usr/XFree86/include/X11
29112
29113 /usr/include
29114 /usr/local/include
29115 /usr/unsupported/include
29116 /usr/athena/include
29117 /usr/local/x11r5/include
29118 /usr/lpp/Xamples/include
29119
29120 /usr/openwin/include
29121 /usr/openwin/share/include'
29122
29123 if test "$ac_x_includes" = no; then
29124 # Guess where to find include files, by looking for Xlib.h.
29125 # First, try using that file with no special directory specified.
29126 cat >conftest.$ac_ext <<_ACEOF
29127 /* confdefs.h. */
29128 _ACEOF
29129 cat confdefs.h >>conftest.$ac_ext
29130 cat >>conftest.$ac_ext <<_ACEOF
29131 /* end confdefs.h. */
29132 #include <X11/Xlib.h>
29133 _ACEOF
29134 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
29147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29148 test ! -s conftest.err
29149 }; then
29150 # We can compile using X headers with no special include directory.
29151 ac_x_includes=
29152 else
29153 echo "$as_me: failed program was:" >&5
29154 sed 's/^/| /' conftest.$ac_ext >&5
29155
29156 for ac_dir in $ac_x_header_dirs; do
29157 if test -r "$ac_dir/X11/Xlib.h"; then
29158 ac_x_includes=$ac_dir
29159 break
29160 fi
29161 done
29162 fi
29163
29164 rm -f conftest.err conftest.$ac_ext
29165 fi # $ac_x_includes = no
29166
29167 if test "$ac_x_libraries" = no; then
29168 # Check for the libraries.
29169 # See if we find them without any special options.
29170 # Don't add to $LIBS permanently.
29171 ac_save_LIBS=$LIBS
29172 LIBS="-lX11 $LIBS"
29173 cat >conftest.$ac_ext <<_ACEOF
29174 /* confdefs.h. */
29175 _ACEOF
29176 cat confdefs.h >>conftest.$ac_ext
29177 cat >>conftest.$ac_ext <<_ACEOF
29178 /* end confdefs.h. */
29179 #include <X11/Xlib.h>
29180 int
29181 main ()
29182 {
29183 XrmInitialize ()
29184 ;
29185 return 0;
29186 }
29187 _ACEOF
29188 rm -f conftest.$ac_objext conftest$ac_exeext
29189 if { (ac_try="$ac_link"
29190 case "(($ac_try" in
29191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29192 *) ac_try_echo=$ac_try;;
29193 esac
29194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29195 (eval "$ac_link") 2>conftest.er1
29196 ac_status=$?
29197 grep -v '^ *+' conftest.er1 >conftest.err
29198 rm -f conftest.er1
29199 cat conftest.err >&5
29200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29201 (exit $ac_status); } && {
29202 test -z "$ac_c_werror_flag" ||
29203 test ! -s conftest.err
29204 } && test -s conftest$ac_exeext &&
29205 $as_test_x conftest$ac_exeext; then
29206 LIBS=$ac_save_LIBS
29207 # We can link X programs with no special library path.
29208 ac_x_libraries=
29209 else
29210 echo "$as_me: failed program was:" >&5
29211 sed 's/^/| /' conftest.$ac_ext >&5
29212
29213 LIBS=$ac_save_LIBS
29214 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29215 do
29216 # Don't even attempt the hair of trying to link an X program!
29217 for ac_extension in a so sl; do
29218 if test -r "$ac_dir/libX11.$ac_extension"; then
29219 ac_x_libraries=$ac_dir
29220 break 2
29221 fi
29222 done
29223 done
29224 fi
29225
29226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29227 conftest$ac_exeext conftest.$ac_ext
29228 fi # $ac_x_libraries = no
29229
29230 case $ac_x_includes,$ac_x_libraries in #(
29231 no,* | *,no | *\'*)
29232 # Didn't find X, or a directory has "'" in its name.
29233 ac_cv_have_x="have_x=no";; #(
29234 *)
29235 # Record where we found X for the cache.
29236 ac_cv_have_x="have_x=yes\
29237 ac_x_includes='$ac_x_includes'\
29238 ac_x_libraries='$ac_x_libraries'"
29239 esac
29240 fi
29241 ;; #(
29242 *) have_x=yes;;
29243 esac
29244 eval "$ac_cv_have_x"
29245 fi # $with_x != no
29246
29247 if test "$have_x" != yes; then
29248 { echo "$as_me:$LINENO: result: $have_x" >&5
29249 echo "${ECHO_T}$have_x" >&6; }
29250 no_x=yes
29251 else
29252 # If each of the values was on the command line, it overrides each guess.
29253 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29254 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29255 # Update the cache value to reflect the command line values.
29256 ac_cv_have_x="have_x=yes\
29257 ac_x_includes='$x_includes'\
29258 ac_x_libraries='$x_libraries'"
29259 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29260 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29261 fi
29262
29263 if test "$no_x" = yes; then
29264 # Not all programs may use this symbol, but it does not hurt to define it.
29265
29266 cat >>confdefs.h <<\_ACEOF
29267 #define X_DISPLAY_MISSING 1
29268 _ACEOF
29269
29270 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29271 else
29272 if test -n "$x_includes"; then
29273 X_CFLAGS="$X_CFLAGS -I$x_includes"
29274 fi
29275
29276 # It would also be nice to do this for all -L options, not just this one.
29277 if test -n "$x_libraries"; then
29278 X_LIBS="$X_LIBS -L$x_libraries"
29279 # For Solaris; some versions of Sun CC require a space after -R and
29280 # others require no space. Words are not sufficient . . . .
29281 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29282 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29283 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29284 ac_xsave_c_werror_flag=$ac_c_werror_flag
29285 ac_c_werror_flag=yes
29286 cat >conftest.$ac_ext <<_ACEOF
29287 /* confdefs.h. */
29288 _ACEOF
29289 cat confdefs.h >>conftest.$ac_ext
29290 cat >>conftest.$ac_ext <<_ACEOF
29291 /* end confdefs.h. */
29292
29293 int
29294 main ()
29295 {
29296
29297 ;
29298 return 0;
29299 }
29300 _ACEOF
29301 rm -f conftest.$ac_objext conftest$ac_exeext
29302 if { (ac_try="$ac_link"
29303 case "(($ac_try" in
29304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29305 *) ac_try_echo=$ac_try;;
29306 esac
29307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29308 (eval "$ac_link") 2>conftest.er1
29309 ac_status=$?
29310 grep -v '^ *+' conftest.er1 >conftest.err
29311 rm -f conftest.er1
29312 cat conftest.err >&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); } && {
29315 test -z "$ac_c_werror_flag" ||
29316 test ! -s conftest.err
29317 } && test -s conftest$ac_exeext &&
29318 $as_test_x conftest$ac_exeext; then
29319 { echo "$as_me:$LINENO: result: no" >&5
29320 echo "${ECHO_T}no" >&6; }
29321 X_LIBS="$X_LIBS -R$x_libraries"
29322 else
29323 echo "$as_me: failed program was:" >&5
29324 sed 's/^/| /' conftest.$ac_ext >&5
29325
29326 LIBS="$ac_xsave_LIBS -R $x_libraries"
29327 cat >conftest.$ac_ext <<_ACEOF
29328 /* confdefs.h. */
29329 _ACEOF
29330 cat confdefs.h >>conftest.$ac_ext
29331 cat >>conftest.$ac_ext <<_ACEOF
29332 /* end confdefs.h. */
29333
29334 int
29335 main ()
29336 {
29337
29338 ;
29339 return 0;
29340 }
29341 _ACEOF
29342 rm -f conftest.$ac_objext conftest$ac_exeext
29343 if { (ac_try="$ac_link"
29344 case "(($ac_try" in
29345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29346 *) ac_try_echo=$ac_try;;
29347 esac
29348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29349 (eval "$ac_link") 2>conftest.er1
29350 ac_status=$?
29351 grep -v '^ *+' conftest.er1 >conftest.err
29352 rm -f conftest.er1
29353 cat conftest.err >&5
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); } && {
29356 test -z "$ac_c_werror_flag" ||
29357 test ! -s conftest.err
29358 } && test -s conftest$ac_exeext &&
29359 $as_test_x conftest$ac_exeext; then
29360 { echo "$as_me:$LINENO: result: yes" >&5
29361 echo "${ECHO_T}yes" >&6; }
29362 X_LIBS="$X_LIBS -R $x_libraries"
29363 else
29364 echo "$as_me: failed program was:" >&5
29365 sed 's/^/| /' conftest.$ac_ext >&5
29366
29367 { echo "$as_me:$LINENO: result: neither works" >&5
29368 echo "${ECHO_T}neither works" >&6; }
29369 fi
29370
29371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29372 conftest$ac_exeext conftest.$ac_ext
29373 fi
29374
29375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29376 conftest$ac_exeext conftest.$ac_ext
29377 ac_c_werror_flag=$ac_xsave_c_werror_flag
29378 LIBS=$ac_xsave_LIBS
29379 fi
29380
29381 # Check for system-dependent libraries X programs must link with.
29382 # Do this before checking for the system-independent R6 libraries
29383 # (-lICE), since we may need -lsocket or whatever for X linking.
29384
29385 if test "$ISC" = yes; then
29386 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29387 else
29388 # Martyn Johnson says this is needed for Ultrix, if the X
29389 # libraries were built with DECnet support. And Karl Berry says
29390 # the Alpha needs dnet_stub (dnet does not exist).
29391 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29392 cat >conftest.$ac_ext <<_ACEOF
29393 /* confdefs.h. */
29394 _ACEOF
29395 cat confdefs.h >>conftest.$ac_ext
29396 cat >>conftest.$ac_ext <<_ACEOF
29397 /* end confdefs.h. */
29398
29399 /* Override any GCC internal prototype to avoid an error.
29400 Use char because int might match the return type of a GCC
29401 builtin and then its argument prototype would still apply. */
29402 #ifdef __cplusplus
29403 extern "C"
29404 #endif
29405 char XOpenDisplay ();
29406 int
29407 main ()
29408 {
29409 return XOpenDisplay ();
29410 ;
29411 return 0;
29412 }
29413 _ACEOF
29414 rm -f conftest.$ac_objext conftest$ac_exeext
29415 if { (ac_try="$ac_link"
29416 case "(($ac_try" in
29417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29418 *) ac_try_echo=$ac_try;;
29419 esac
29420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29421 (eval "$ac_link") 2>conftest.er1
29422 ac_status=$?
29423 grep -v '^ *+' conftest.er1 >conftest.err
29424 rm -f conftest.er1
29425 cat conftest.err >&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } && {
29428 test -z "$ac_c_werror_flag" ||
29429 test ! -s conftest.err
29430 } && test -s conftest$ac_exeext &&
29431 $as_test_x conftest$ac_exeext; then
29432 :
29433 else
29434 echo "$as_me: failed program was:" >&5
29435 sed 's/^/| /' conftest.$ac_ext >&5
29436
29437 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29438 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29439 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29440 echo $ECHO_N "(cached) $ECHO_C" >&6
29441 else
29442 ac_check_lib_save_LIBS=$LIBS
29443 LIBS="-ldnet $LIBS"
29444 cat >conftest.$ac_ext <<_ACEOF
29445 /* confdefs.h. */
29446 _ACEOF
29447 cat confdefs.h >>conftest.$ac_ext
29448 cat >>conftest.$ac_ext <<_ACEOF
29449 /* end confdefs.h. */
29450
29451 /* Override any GCC internal prototype to avoid an error.
29452 Use char because int might match the return type of a GCC
29453 builtin and then its argument prototype would still apply. */
29454 #ifdef __cplusplus
29455 extern "C"
29456 #endif
29457 char dnet_ntoa ();
29458 int
29459 main ()
29460 {
29461 return dnet_ntoa ();
29462 ;
29463 return 0;
29464 }
29465 _ACEOF
29466 rm -f conftest.$ac_objext conftest$ac_exeext
29467 if { (ac_try="$ac_link"
29468 case "(($ac_try" in
29469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29470 *) ac_try_echo=$ac_try;;
29471 esac
29472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29473 (eval "$ac_link") 2>conftest.er1
29474 ac_status=$?
29475 grep -v '^ *+' conftest.er1 >conftest.err
29476 rm -f conftest.er1
29477 cat conftest.err >&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } && {
29480 test -z "$ac_c_werror_flag" ||
29481 test ! -s conftest.err
29482 } && test -s conftest$ac_exeext &&
29483 $as_test_x conftest$ac_exeext; then
29484 ac_cv_lib_dnet_dnet_ntoa=yes
29485 else
29486 echo "$as_me: failed program was:" >&5
29487 sed 's/^/| /' conftest.$ac_ext >&5
29488
29489 ac_cv_lib_dnet_dnet_ntoa=no
29490 fi
29491
29492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29493 conftest$ac_exeext conftest.$ac_ext
29494 LIBS=$ac_check_lib_save_LIBS
29495 fi
29496 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29497 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29498 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29499 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29500 fi
29501
29502 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29503 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29504 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29505 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29506 echo $ECHO_N "(cached) $ECHO_C" >&6
29507 else
29508 ac_check_lib_save_LIBS=$LIBS
29509 LIBS="-ldnet_stub $LIBS"
29510 cat >conftest.$ac_ext <<_ACEOF
29511 /* confdefs.h. */
29512 _ACEOF
29513 cat confdefs.h >>conftest.$ac_ext
29514 cat >>conftest.$ac_ext <<_ACEOF
29515 /* end confdefs.h. */
29516
29517 /* Override any GCC internal prototype to avoid an error.
29518 Use char because int might match the return type of a GCC
29519 builtin and then its argument prototype would still apply. */
29520 #ifdef __cplusplus
29521 extern "C"
29522 #endif
29523 char dnet_ntoa ();
29524 int
29525 main ()
29526 {
29527 return dnet_ntoa ();
29528 ;
29529 return 0;
29530 }
29531 _ACEOF
29532 rm -f conftest.$ac_objext conftest$ac_exeext
29533 if { (ac_try="$ac_link"
29534 case "(($ac_try" in
29535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29536 *) ac_try_echo=$ac_try;;
29537 esac
29538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29539 (eval "$ac_link") 2>conftest.er1
29540 ac_status=$?
29541 grep -v '^ *+' conftest.er1 >conftest.err
29542 rm -f conftest.er1
29543 cat conftest.err >&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); } && {
29546 test -z "$ac_c_werror_flag" ||
29547 test ! -s conftest.err
29548 } && test -s conftest$ac_exeext &&
29549 $as_test_x conftest$ac_exeext; then
29550 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29551 else
29552 echo "$as_me: failed program was:" >&5
29553 sed 's/^/| /' conftest.$ac_ext >&5
29554
29555 ac_cv_lib_dnet_stub_dnet_ntoa=no
29556 fi
29557
29558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29559 conftest$ac_exeext conftest.$ac_ext
29560 LIBS=$ac_check_lib_save_LIBS
29561 fi
29562 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29563 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29564 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29565 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29566 fi
29567
29568 fi
29569 fi
29570
29571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29572 conftest$ac_exeext conftest.$ac_ext
29573 LIBS="$ac_xsave_LIBS"
29574
29575 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29576 # to get the SysV transport functions.
29577 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29578 # needs -lnsl.
29579 # The nsl library prevents programs from opening the X display
29580 # on Irix 5.2, according to T.E. Dickey.
29581 # The functions gethostbyname, getservbyname, and inet_addr are
29582 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29583 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29584 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29585 if test "${ac_cv_func_gethostbyname+set}" = set; then
29586 echo $ECHO_N "(cached) $ECHO_C" >&6
29587 else
29588 cat >conftest.$ac_ext <<_ACEOF
29589 /* confdefs.h. */
29590 _ACEOF
29591 cat confdefs.h >>conftest.$ac_ext
29592 cat >>conftest.$ac_ext <<_ACEOF
29593 /* end confdefs.h. */
29594 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29596 #define gethostbyname innocuous_gethostbyname
29597
29598 /* System header to define __stub macros and hopefully few prototypes,
29599 which can conflict with char gethostbyname (); below.
29600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29601 <limits.h> exists even on freestanding compilers. */
29602
29603 #ifdef __STDC__
29604 # include <limits.h>
29605 #else
29606 # include <assert.h>
29607 #endif
29608
29609 #undef gethostbyname
29610
29611 /* Override any GCC internal prototype to avoid an error.
29612 Use char because int might match the return type of a GCC
29613 builtin and then its argument prototype would still apply. */
29614 #ifdef __cplusplus
29615 extern "C"
29616 #endif
29617 char gethostbyname ();
29618 /* The GNU C library defines this for functions which it implements
29619 to always fail with ENOSYS. Some functions are actually named
29620 something starting with __ and the normal name is an alias. */
29621 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29622 choke me
29623 #endif
29624
29625 int
29626 main ()
29627 {
29628 return gethostbyname ();
29629 ;
29630 return 0;
29631 }
29632 _ACEOF
29633 rm -f conftest.$ac_objext conftest$ac_exeext
29634 if { (ac_try="$ac_link"
29635 case "(($ac_try" in
29636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29637 *) ac_try_echo=$ac_try;;
29638 esac
29639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29640 (eval "$ac_link") 2>conftest.er1
29641 ac_status=$?
29642 grep -v '^ *+' conftest.er1 >conftest.err
29643 rm -f conftest.er1
29644 cat conftest.err >&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); } && {
29647 test -z "$ac_c_werror_flag" ||
29648 test ! -s conftest.err
29649 } && test -s conftest$ac_exeext &&
29650 $as_test_x conftest$ac_exeext; then
29651 ac_cv_func_gethostbyname=yes
29652 else
29653 echo "$as_me: failed program was:" >&5
29654 sed 's/^/| /' conftest.$ac_ext >&5
29655
29656 ac_cv_func_gethostbyname=no
29657 fi
29658
29659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29660 conftest$ac_exeext conftest.$ac_ext
29661 fi
29662 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29663 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29664
29665 if test $ac_cv_func_gethostbyname = no; then
29666 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29667 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29668 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29669 echo $ECHO_N "(cached) $ECHO_C" >&6
29670 else
29671 ac_check_lib_save_LIBS=$LIBS
29672 LIBS="-lnsl $LIBS"
29673 cat >conftest.$ac_ext <<_ACEOF
29674 /* confdefs.h. */
29675 _ACEOF
29676 cat confdefs.h >>conftest.$ac_ext
29677 cat >>conftest.$ac_ext <<_ACEOF
29678 /* end confdefs.h. */
29679
29680 /* Override any GCC internal prototype to avoid an error.
29681 Use char because int might match the return type of a GCC
29682 builtin and then its argument prototype would still apply. */
29683 #ifdef __cplusplus
29684 extern "C"
29685 #endif
29686 char gethostbyname ();
29687 int
29688 main ()
29689 {
29690 return gethostbyname ();
29691 ;
29692 return 0;
29693 }
29694 _ACEOF
29695 rm -f conftest.$ac_objext conftest$ac_exeext
29696 if { (ac_try="$ac_link"
29697 case "(($ac_try" in
29698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29699 *) ac_try_echo=$ac_try;;
29700 esac
29701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29702 (eval "$ac_link") 2>conftest.er1
29703 ac_status=$?
29704 grep -v '^ *+' conftest.er1 >conftest.err
29705 rm -f conftest.er1
29706 cat conftest.err >&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); } && {
29709 test -z "$ac_c_werror_flag" ||
29710 test ! -s conftest.err
29711 } && test -s conftest$ac_exeext &&
29712 $as_test_x conftest$ac_exeext; then
29713 ac_cv_lib_nsl_gethostbyname=yes
29714 else
29715 echo "$as_me: failed program was:" >&5
29716 sed 's/^/| /' conftest.$ac_ext >&5
29717
29718 ac_cv_lib_nsl_gethostbyname=no
29719 fi
29720
29721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29722 conftest$ac_exeext conftest.$ac_ext
29723 LIBS=$ac_check_lib_save_LIBS
29724 fi
29725 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29726 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29727 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29728 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29729 fi
29730
29731 if test $ac_cv_lib_nsl_gethostbyname = no; then
29732 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29733 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29734 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29735 echo $ECHO_N "(cached) $ECHO_C" >&6
29736 else
29737 ac_check_lib_save_LIBS=$LIBS
29738 LIBS="-lbsd $LIBS"
29739 cat >conftest.$ac_ext <<_ACEOF
29740 /* confdefs.h. */
29741 _ACEOF
29742 cat confdefs.h >>conftest.$ac_ext
29743 cat >>conftest.$ac_ext <<_ACEOF
29744 /* end confdefs.h. */
29745
29746 /* Override any GCC internal prototype to avoid an error.
29747 Use char because int might match the return type of a GCC
29748 builtin and then its argument prototype would still apply. */
29749 #ifdef __cplusplus
29750 extern "C"
29751 #endif
29752 char gethostbyname ();
29753 int
29754 main ()
29755 {
29756 return gethostbyname ();
29757 ;
29758 return 0;
29759 }
29760 _ACEOF
29761 rm -f conftest.$ac_objext conftest$ac_exeext
29762 if { (ac_try="$ac_link"
29763 case "(($ac_try" in
29764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29765 *) ac_try_echo=$ac_try;;
29766 esac
29767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29768 (eval "$ac_link") 2>conftest.er1
29769 ac_status=$?
29770 grep -v '^ *+' conftest.er1 >conftest.err
29771 rm -f conftest.er1
29772 cat conftest.err >&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); } && {
29775 test -z "$ac_c_werror_flag" ||
29776 test ! -s conftest.err
29777 } && test -s conftest$ac_exeext &&
29778 $as_test_x conftest$ac_exeext; then
29779 ac_cv_lib_bsd_gethostbyname=yes
29780 else
29781 echo "$as_me: failed program was:" >&5
29782 sed 's/^/| /' conftest.$ac_ext >&5
29783
29784 ac_cv_lib_bsd_gethostbyname=no
29785 fi
29786
29787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29788 conftest$ac_exeext conftest.$ac_ext
29789 LIBS=$ac_check_lib_save_LIBS
29790 fi
29791 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29792 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29793 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29794 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29795 fi
29796
29797 fi
29798 fi
29799
29800 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29801 # socket/setsockopt and other routines are undefined under SCO ODT
29802 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29803 # on later versions), says Simon Leinen: it contains gethostby*
29804 # variants that don't use the name server (or something). -lsocket
29805 # must be given before -lnsl if both are needed. We assume that
29806 # if connect needs -lnsl, so does gethostbyname.
29807 { echo "$as_me:$LINENO: checking for connect" >&5
29808 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29809 if test "${ac_cv_func_connect+set}" = set; then
29810 echo $ECHO_N "(cached) $ECHO_C" >&6
29811 else
29812 cat >conftest.$ac_ext <<_ACEOF
29813 /* confdefs.h. */
29814 _ACEOF
29815 cat confdefs.h >>conftest.$ac_ext
29816 cat >>conftest.$ac_ext <<_ACEOF
29817 /* end confdefs.h. */
29818 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29820 #define connect innocuous_connect
29821
29822 /* System header to define __stub macros and hopefully few prototypes,
29823 which can conflict with char connect (); below.
29824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29825 <limits.h> exists even on freestanding compilers. */
29826
29827 #ifdef __STDC__
29828 # include <limits.h>
29829 #else
29830 # include <assert.h>
29831 #endif
29832
29833 #undef connect
29834
29835 /* Override any GCC internal prototype to avoid an error.
29836 Use char because int might match the return type of a GCC
29837 builtin and then its argument prototype would still apply. */
29838 #ifdef __cplusplus
29839 extern "C"
29840 #endif
29841 char connect ();
29842 /* The GNU C library defines this for functions which it implements
29843 to always fail with ENOSYS. Some functions are actually named
29844 something starting with __ and the normal name is an alias. */
29845 #if defined __stub_connect || defined __stub___connect
29846 choke me
29847 #endif
29848
29849 int
29850 main ()
29851 {
29852 return connect ();
29853 ;
29854 return 0;
29855 }
29856 _ACEOF
29857 rm -f conftest.$ac_objext conftest$ac_exeext
29858 if { (ac_try="$ac_link"
29859 case "(($ac_try" in
29860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29861 *) ac_try_echo=$ac_try;;
29862 esac
29863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29864 (eval "$ac_link") 2>conftest.er1
29865 ac_status=$?
29866 grep -v '^ *+' conftest.er1 >conftest.err
29867 rm -f conftest.er1
29868 cat conftest.err >&5
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); } && {
29871 test -z "$ac_c_werror_flag" ||
29872 test ! -s conftest.err
29873 } && test -s conftest$ac_exeext &&
29874 $as_test_x conftest$ac_exeext; then
29875 ac_cv_func_connect=yes
29876 else
29877 echo "$as_me: failed program was:" >&5
29878 sed 's/^/| /' conftest.$ac_ext >&5
29879
29880 ac_cv_func_connect=no
29881 fi
29882
29883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29884 conftest$ac_exeext conftest.$ac_ext
29885 fi
29886 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29887 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29888
29889 if test $ac_cv_func_connect = no; then
29890 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29891 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29892 if test "${ac_cv_lib_socket_connect+set}" = set; then
29893 echo $ECHO_N "(cached) $ECHO_C" >&6
29894 else
29895 ac_check_lib_save_LIBS=$LIBS
29896 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29897 cat >conftest.$ac_ext <<_ACEOF
29898 /* confdefs.h. */
29899 _ACEOF
29900 cat confdefs.h >>conftest.$ac_ext
29901 cat >>conftest.$ac_ext <<_ACEOF
29902 /* end confdefs.h. */
29903
29904 /* Override any GCC internal prototype to avoid an error.
29905 Use char because int might match the return type of a GCC
29906 builtin and then its argument prototype would still apply. */
29907 #ifdef __cplusplus
29908 extern "C"
29909 #endif
29910 char connect ();
29911 int
29912 main ()
29913 {
29914 return connect ();
29915 ;
29916 return 0;
29917 }
29918 _ACEOF
29919 rm -f conftest.$ac_objext conftest$ac_exeext
29920 if { (ac_try="$ac_link"
29921 case "(($ac_try" in
29922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29923 *) ac_try_echo=$ac_try;;
29924 esac
29925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29926 (eval "$ac_link") 2>conftest.er1
29927 ac_status=$?
29928 grep -v '^ *+' conftest.er1 >conftest.err
29929 rm -f conftest.er1
29930 cat conftest.err >&5
29931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29932 (exit $ac_status); } && {
29933 test -z "$ac_c_werror_flag" ||
29934 test ! -s conftest.err
29935 } && test -s conftest$ac_exeext &&
29936 $as_test_x conftest$ac_exeext; then
29937 ac_cv_lib_socket_connect=yes
29938 else
29939 echo "$as_me: failed program was:" >&5
29940 sed 's/^/| /' conftest.$ac_ext >&5
29941
29942 ac_cv_lib_socket_connect=no
29943 fi
29944
29945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29946 conftest$ac_exeext conftest.$ac_ext
29947 LIBS=$ac_check_lib_save_LIBS
29948 fi
29949 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29950 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29951 if test $ac_cv_lib_socket_connect = yes; then
29952 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29953 fi
29954
29955 fi
29956
29957 # Guillermo Gomez says -lposix is necessary on A/UX.
29958 { echo "$as_me:$LINENO: checking for remove" >&5
29959 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29960 if test "${ac_cv_func_remove+set}" = set; then
29961 echo $ECHO_N "(cached) $ECHO_C" >&6
29962 else
29963 cat >conftest.$ac_ext <<_ACEOF
29964 /* confdefs.h. */
29965 _ACEOF
29966 cat confdefs.h >>conftest.$ac_ext
29967 cat >>conftest.$ac_ext <<_ACEOF
29968 /* end confdefs.h. */
29969 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29971 #define remove innocuous_remove
29972
29973 /* System header to define __stub macros and hopefully few prototypes,
29974 which can conflict with char remove (); below.
29975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29976 <limits.h> exists even on freestanding compilers. */
29977
29978 #ifdef __STDC__
29979 # include <limits.h>
29980 #else
29981 # include <assert.h>
29982 #endif
29983
29984 #undef remove
29985
29986 /* Override any GCC internal prototype to avoid an error.
29987 Use char because int might match the return type of a GCC
29988 builtin and then its argument prototype would still apply. */
29989 #ifdef __cplusplus
29990 extern "C"
29991 #endif
29992 char remove ();
29993 /* The GNU C library defines this for functions which it implements
29994 to always fail with ENOSYS. Some functions are actually named
29995 something starting with __ and the normal name is an alias. */
29996 #if defined __stub_remove || defined __stub___remove
29997 choke me
29998 #endif
29999
30000 int
30001 main ()
30002 {
30003 return remove ();
30004 ;
30005 return 0;
30006 }
30007 _ACEOF
30008 rm -f conftest.$ac_objext conftest$ac_exeext
30009 if { (ac_try="$ac_link"
30010 case "(($ac_try" in
30011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30012 *) ac_try_echo=$ac_try;;
30013 esac
30014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30015 (eval "$ac_link") 2>conftest.er1
30016 ac_status=$?
30017 grep -v '^ *+' conftest.er1 >conftest.err
30018 rm -f conftest.er1
30019 cat conftest.err >&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); } && {
30022 test -z "$ac_c_werror_flag" ||
30023 test ! -s conftest.err
30024 } && test -s conftest$ac_exeext &&
30025 $as_test_x conftest$ac_exeext; then
30026 ac_cv_func_remove=yes
30027 else
30028 echo "$as_me: failed program was:" >&5
30029 sed 's/^/| /' conftest.$ac_ext >&5
30030
30031 ac_cv_func_remove=no
30032 fi
30033
30034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30035 conftest$ac_exeext conftest.$ac_ext
30036 fi
30037 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30038 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30039
30040 if test $ac_cv_func_remove = no; then
30041 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30042 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30043 if test "${ac_cv_lib_posix_remove+set}" = set; then
30044 echo $ECHO_N "(cached) $ECHO_C" >&6
30045 else
30046 ac_check_lib_save_LIBS=$LIBS
30047 LIBS="-lposix $LIBS"
30048 cat >conftest.$ac_ext <<_ACEOF
30049 /* confdefs.h. */
30050 _ACEOF
30051 cat confdefs.h >>conftest.$ac_ext
30052 cat >>conftest.$ac_ext <<_ACEOF
30053 /* end confdefs.h. */
30054
30055 /* Override any GCC internal prototype to avoid an error.
30056 Use char because int might match the return type of a GCC
30057 builtin and then its argument prototype would still apply. */
30058 #ifdef __cplusplus
30059 extern "C"
30060 #endif
30061 char remove ();
30062 int
30063 main ()
30064 {
30065 return remove ();
30066 ;
30067 return 0;
30068 }
30069 _ACEOF
30070 rm -f conftest.$ac_objext conftest$ac_exeext
30071 if { (ac_try="$ac_link"
30072 case "(($ac_try" in
30073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30074 *) ac_try_echo=$ac_try;;
30075 esac
30076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30077 (eval "$ac_link") 2>conftest.er1
30078 ac_status=$?
30079 grep -v '^ *+' conftest.er1 >conftest.err
30080 rm -f conftest.er1
30081 cat conftest.err >&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); } && {
30084 test -z "$ac_c_werror_flag" ||
30085 test ! -s conftest.err
30086 } && test -s conftest$ac_exeext &&
30087 $as_test_x conftest$ac_exeext; then
30088 ac_cv_lib_posix_remove=yes
30089 else
30090 echo "$as_me: failed program was:" >&5
30091 sed 's/^/| /' conftest.$ac_ext >&5
30092
30093 ac_cv_lib_posix_remove=no
30094 fi
30095
30096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30097 conftest$ac_exeext conftest.$ac_ext
30098 LIBS=$ac_check_lib_save_LIBS
30099 fi
30100 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30101 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30102 if test $ac_cv_lib_posix_remove = yes; then
30103 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30104 fi
30105
30106 fi
30107
30108 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30109 { echo "$as_me:$LINENO: checking for shmat" >&5
30110 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30111 if test "${ac_cv_func_shmat+set}" = set; then
30112 echo $ECHO_N "(cached) $ECHO_C" >&6
30113 else
30114 cat >conftest.$ac_ext <<_ACEOF
30115 /* confdefs.h. */
30116 _ACEOF
30117 cat confdefs.h >>conftest.$ac_ext
30118 cat >>conftest.$ac_ext <<_ACEOF
30119 /* end confdefs.h. */
30120 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30122 #define shmat innocuous_shmat
30123
30124 /* System header to define __stub macros and hopefully few prototypes,
30125 which can conflict with char shmat (); below.
30126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30127 <limits.h> exists even on freestanding compilers. */
30128
30129 #ifdef __STDC__
30130 # include <limits.h>
30131 #else
30132 # include <assert.h>
30133 #endif
30134
30135 #undef shmat
30136
30137 /* Override any GCC internal prototype to avoid an error.
30138 Use char because int might match the return type of a GCC
30139 builtin and then its argument prototype would still apply. */
30140 #ifdef __cplusplus
30141 extern "C"
30142 #endif
30143 char shmat ();
30144 /* The GNU C library defines this for functions which it implements
30145 to always fail with ENOSYS. Some functions are actually named
30146 something starting with __ and the normal name is an alias. */
30147 #if defined __stub_shmat || defined __stub___shmat
30148 choke me
30149 #endif
30150
30151 int
30152 main ()
30153 {
30154 return shmat ();
30155 ;
30156 return 0;
30157 }
30158 _ACEOF
30159 rm -f conftest.$ac_objext conftest$ac_exeext
30160 if { (ac_try="$ac_link"
30161 case "(($ac_try" in
30162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30163 *) ac_try_echo=$ac_try;;
30164 esac
30165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30166 (eval "$ac_link") 2>conftest.er1
30167 ac_status=$?
30168 grep -v '^ *+' conftest.er1 >conftest.err
30169 rm -f conftest.er1
30170 cat conftest.err >&5
30171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172 (exit $ac_status); } && {
30173 test -z "$ac_c_werror_flag" ||
30174 test ! -s conftest.err
30175 } && test -s conftest$ac_exeext &&
30176 $as_test_x conftest$ac_exeext; then
30177 ac_cv_func_shmat=yes
30178 else
30179 echo "$as_me: failed program was:" >&5
30180 sed 's/^/| /' conftest.$ac_ext >&5
30181
30182 ac_cv_func_shmat=no
30183 fi
30184
30185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30186 conftest$ac_exeext conftest.$ac_ext
30187 fi
30188 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30189 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30190
30191 if test $ac_cv_func_shmat = no; then
30192 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30193 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30194 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30195 echo $ECHO_N "(cached) $ECHO_C" >&6
30196 else
30197 ac_check_lib_save_LIBS=$LIBS
30198 LIBS="-lipc $LIBS"
30199 cat >conftest.$ac_ext <<_ACEOF
30200 /* confdefs.h. */
30201 _ACEOF
30202 cat confdefs.h >>conftest.$ac_ext
30203 cat >>conftest.$ac_ext <<_ACEOF
30204 /* end confdefs.h. */
30205
30206 /* Override any GCC internal prototype to avoid an error.
30207 Use char because int might match the return type of a GCC
30208 builtin and then its argument prototype would still apply. */
30209 #ifdef __cplusplus
30210 extern "C"
30211 #endif
30212 char shmat ();
30213 int
30214 main ()
30215 {
30216 return shmat ();
30217 ;
30218 return 0;
30219 }
30220 _ACEOF
30221 rm -f conftest.$ac_objext conftest$ac_exeext
30222 if { (ac_try="$ac_link"
30223 case "(($ac_try" in
30224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30225 *) ac_try_echo=$ac_try;;
30226 esac
30227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30228 (eval "$ac_link") 2>conftest.er1
30229 ac_status=$?
30230 grep -v '^ *+' conftest.er1 >conftest.err
30231 rm -f conftest.er1
30232 cat conftest.err >&5
30233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30234 (exit $ac_status); } && {
30235 test -z "$ac_c_werror_flag" ||
30236 test ! -s conftest.err
30237 } && test -s conftest$ac_exeext &&
30238 $as_test_x conftest$ac_exeext; then
30239 ac_cv_lib_ipc_shmat=yes
30240 else
30241 echo "$as_me: failed program was:" >&5
30242 sed 's/^/| /' conftest.$ac_ext >&5
30243
30244 ac_cv_lib_ipc_shmat=no
30245 fi
30246
30247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30248 conftest$ac_exeext conftest.$ac_ext
30249 LIBS=$ac_check_lib_save_LIBS
30250 fi
30251 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30252 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30253 if test $ac_cv_lib_ipc_shmat = yes; then
30254 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30255 fi
30256
30257 fi
30258 fi
30259
30260 # Check for libraries that X11R6 Xt/Xaw programs need.
30261 ac_save_LDFLAGS=$LDFLAGS
30262 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30263 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30264 # check for ICE first), but we must link in the order -lSM -lICE or
30265 # we get undefined symbols. So assume we have SM if we have ICE.
30266 # These have to be linked with before -lX11, unlike the other
30267 # libraries we check for below, so use a different variable.
30268 # John Interrante, Karl Berry
30269 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30270 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30271 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30272 echo $ECHO_N "(cached) $ECHO_C" >&6
30273 else
30274 ac_check_lib_save_LIBS=$LIBS
30275 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30276 cat >conftest.$ac_ext <<_ACEOF
30277 /* confdefs.h. */
30278 _ACEOF
30279 cat confdefs.h >>conftest.$ac_ext
30280 cat >>conftest.$ac_ext <<_ACEOF
30281 /* end confdefs.h. */
30282
30283 /* Override any GCC internal prototype to avoid an error.
30284 Use char because int might match the return type of a GCC
30285 builtin and then its argument prototype would still apply. */
30286 #ifdef __cplusplus
30287 extern "C"
30288 #endif
30289 char IceConnectionNumber ();
30290 int
30291 main ()
30292 {
30293 return IceConnectionNumber ();
30294 ;
30295 return 0;
30296 }
30297 _ACEOF
30298 rm -f conftest.$ac_objext conftest$ac_exeext
30299 if { (ac_try="$ac_link"
30300 case "(($ac_try" in
30301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30302 *) ac_try_echo=$ac_try;;
30303 esac
30304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30305 (eval "$ac_link") 2>conftest.er1
30306 ac_status=$?
30307 grep -v '^ *+' conftest.er1 >conftest.err
30308 rm -f conftest.er1
30309 cat conftest.err >&5
30310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311 (exit $ac_status); } && {
30312 test -z "$ac_c_werror_flag" ||
30313 test ! -s conftest.err
30314 } && test -s conftest$ac_exeext &&
30315 $as_test_x conftest$ac_exeext; then
30316 ac_cv_lib_ICE_IceConnectionNumber=yes
30317 else
30318 echo "$as_me: failed program was:" >&5
30319 sed 's/^/| /' conftest.$ac_ext >&5
30320
30321 ac_cv_lib_ICE_IceConnectionNumber=no
30322 fi
30323
30324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30325 conftest$ac_exeext conftest.$ac_ext
30326 LIBS=$ac_check_lib_save_LIBS
30327 fi
30328 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30329 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30330 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30331 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30332 fi
30333
30334 LDFLAGS=$ac_save_LDFLAGS
30335
30336 fi
30337
30338
30339 if test "$no_x" = "yes"; then
30340 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30341 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30342 { (exit 1); exit 1; }; }
30343 fi
30344
30345 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30346 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30347 AFMINSTALL=afminstall
30348 COMPILED_X_PROGRAM=0
30349
30350 fi
30351
30352 if test "$wxUSE_X11" = 1; then
30353 if test "$wxUSE_NANOX" = "yes"; then
30354 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30355 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30356 if test "x$MICROWIN" = x ; then
30357 { echo "$as_me:$LINENO: result: not found" >&5
30358 echo "${ECHO_T}not found" >&6; }
30359 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30360 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30361 { (exit 1); exit 1; }; }
30362 else
30363 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30364 echo "${ECHO_T}$MICROWIN" >&6; }
30365 cat >>confdefs.h <<\_ACEOF
30366 #define wxUSE_NANOX 1
30367 _ACEOF
30368
30369 fi
30370 fi
30371
30372 if test "$wxUSE_UNICODE" = "yes"; then
30373
30374
30375 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30376 if test -n "$ac_tool_prefix"; then
30377 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30378 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30381 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30382 echo $ECHO_N "(cached) $ECHO_C" >&6
30383 else
30384 case $PKG_CONFIG in
30385 [\\/]* | ?:[\\/]*)
30386 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30387 ;;
30388 *)
30389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30390 for as_dir in $PATH
30391 do
30392 IFS=$as_save_IFS
30393 test -z "$as_dir" && as_dir=.
30394 for ac_exec_ext in '' $ac_executable_extensions; do
30395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30396 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30398 break 2
30399 fi
30400 done
30401 done
30402 IFS=$as_save_IFS
30403
30404 ;;
30405 esac
30406 fi
30407 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30408 if test -n "$PKG_CONFIG"; then
30409 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30410 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30411 else
30412 { echo "$as_me:$LINENO: result: no" >&5
30413 echo "${ECHO_T}no" >&6; }
30414 fi
30415
30416
30417 fi
30418 if test -z "$ac_cv_path_PKG_CONFIG"; then
30419 ac_pt_PKG_CONFIG=$PKG_CONFIG
30420 # Extract the first word of "pkg-config", so it can be a program name with args.
30421 set dummy pkg-config; ac_word=$2
30422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30424 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30425 echo $ECHO_N "(cached) $ECHO_C" >&6
30426 else
30427 case $ac_pt_PKG_CONFIG in
30428 [\\/]* | ?:[\\/]*)
30429 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30430 ;;
30431 *)
30432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30433 for as_dir in $PATH
30434 do
30435 IFS=$as_save_IFS
30436 test -z "$as_dir" && as_dir=.
30437 for ac_exec_ext in '' $ac_executable_extensions; do
30438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30439 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30441 break 2
30442 fi
30443 done
30444 done
30445 IFS=$as_save_IFS
30446
30447 ;;
30448 esac
30449 fi
30450 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30451 if test -n "$ac_pt_PKG_CONFIG"; then
30452 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30453 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30454 else
30455 { echo "$as_me:$LINENO: result: no" >&5
30456 echo "${ECHO_T}no" >&6; }
30457 fi
30458
30459 if test "x$ac_pt_PKG_CONFIG" = x; then
30460 PKG_CONFIG=""
30461 else
30462 case $cross_compiling:$ac_tool_warned in
30463 yes:)
30464 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30465 whose name does not start with the host triplet. If you think this
30466 configuration is useful to you, please write to autoconf@gnu.org." >&5
30467 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30468 whose name does not start with the host triplet. If you think this
30469 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30470 ac_tool_warned=yes ;;
30471 esac
30472 PKG_CONFIG=$ac_pt_PKG_CONFIG
30473 fi
30474 else
30475 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30476 fi
30477
30478 fi
30479 if test -n "$PKG_CONFIG"; then
30480 _pkg_min_version=0.9.0
30481 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30482 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30483 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30484 { echo "$as_me:$LINENO: result: yes" >&5
30485 echo "${ECHO_T}yes" >&6; }
30486 else
30487 { echo "$as_me:$LINENO: result: no" >&5
30488 echo "${ECHO_T}no" >&6; }
30489 PKG_CONFIG=""
30490 fi
30491
30492 fi
30493
30494
30495 pkg_failed=no
30496 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30497 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30498
30499 if test -n "$PKG_CONFIG"; then
30500 if test -n "$PANGOX_CFLAGS"; then
30501 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30502 else
30503 if test -n "$PKG_CONFIG" && \
30504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30505 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30506 ac_status=$?
30507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 (exit $ac_status); }; then
30509 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30510 else
30511 pkg_failed=yes
30512 fi
30513 fi
30514 else
30515 pkg_failed=untried
30516 fi
30517 if test -n "$PKG_CONFIG"; then
30518 if test -n "$PANGOX_LIBS"; then
30519 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30520 else
30521 if test -n "$PKG_CONFIG" && \
30522 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30523 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30524 ac_status=$?
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; then
30527 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30528 else
30529 pkg_failed=yes
30530 fi
30531 fi
30532 else
30533 pkg_failed=untried
30534 fi
30535
30536
30537
30538 if test $pkg_failed = yes; then
30539
30540 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30541 _pkg_short_errors_supported=yes
30542 else
30543 _pkg_short_errors_supported=no
30544 fi
30545 if test $_pkg_short_errors_supported = yes; then
30546 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30547 else
30548 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30549 fi
30550 # Put the nasty error message in config.log where it belongs
30551 echo "$PANGOX_PKG_ERRORS" >&5
30552
30553
30554 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30555 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30556 { (exit 1); exit 1; }; }
30557
30558
30559 elif test $pkg_failed = untried; then
30560
30561 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30562 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30563 { (exit 1); exit 1; }; }
30564
30565
30566 else
30567 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30568 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30569 { echo "$as_me:$LINENO: result: yes" >&5
30570 echo "${ECHO_T}yes" >&6; }
30571
30572 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30573 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30574 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30575
30576 fi
30577
30578 pkg_failed=no
30579 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30580 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30581
30582 if test -n "$PKG_CONFIG"; then
30583 if test -n "$PANGOFT2_CFLAGS"; then
30584 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30585 else
30586 if test -n "$PKG_CONFIG" && \
30587 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30588 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30589 ac_status=$?
30590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30591 (exit $ac_status); }; then
30592 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30593 else
30594 pkg_failed=yes
30595 fi
30596 fi
30597 else
30598 pkg_failed=untried
30599 fi
30600 if test -n "$PKG_CONFIG"; then
30601 if test -n "$PANGOFT2_LIBS"; then
30602 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30603 else
30604 if test -n "$PKG_CONFIG" && \
30605 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30606 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30607 ac_status=$?
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); }; then
30610 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30611 else
30612 pkg_failed=yes
30613 fi
30614 fi
30615 else
30616 pkg_failed=untried
30617 fi
30618
30619
30620
30621 if test $pkg_failed = yes; then
30622
30623 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30624 _pkg_short_errors_supported=yes
30625 else
30626 _pkg_short_errors_supported=no
30627 fi
30628 if test $_pkg_short_errors_supported = yes; then
30629 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30630 else
30631 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30632 fi
30633 # Put the nasty error message in config.log where it belongs
30634 echo "$PANGOFT2_PKG_ERRORS" >&5
30635
30636
30637 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30638 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30639 wxUSE_PRINTING_ARCHITECTURE="no"
30640
30641
30642 elif test $pkg_failed = untried; then
30643
30644 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30645 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30646 wxUSE_PRINTING_ARCHITECTURE="no"
30647
30648
30649 else
30650 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30651 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30652 { echo "$as_me:$LINENO: result: yes" >&5
30653 echo "${ECHO_T}yes" >&6; }
30654
30655 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30656 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30657 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30658
30659 fi
30660
30661 pkg_failed=no
30662 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30663 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30664
30665 if test -n "$PKG_CONFIG"; then
30666 if test -n "$PANGOXFT_CFLAGS"; then
30667 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30668 else
30669 if test -n "$PKG_CONFIG" && \
30670 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30671 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30672 ac_status=$?
30673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30674 (exit $ac_status); }; then
30675 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30676 else
30677 pkg_failed=yes
30678 fi
30679 fi
30680 else
30681 pkg_failed=untried
30682 fi
30683 if test -n "$PKG_CONFIG"; then
30684 if test -n "$PANGOXFT_LIBS"; then
30685 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30686 else
30687 if test -n "$PKG_CONFIG" && \
30688 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30689 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30690 ac_status=$?
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); }; then
30693 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30694 else
30695 pkg_failed=yes
30696 fi
30697 fi
30698 else
30699 pkg_failed=untried
30700 fi
30701
30702
30703
30704 if test $pkg_failed = yes; then
30705
30706 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30707 _pkg_short_errors_supported=yes
30708 else
30709 _pkg_short_errors_supported=no
30710 fi
30711 if test $_pkg_short_errors_supported = yes; then
30712 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30713 else
30714 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30715 fi
30716 # Put the nasty error message in config.log where it belongs
30717 echo "$PANGOXFT_PKG_ERRORS" >&5
30718
30719
30720 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30721 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30722
30723
30724 elif test $pkg_failed = untried; then
30725
30726 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30727 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30728
30729
30730 else
30731 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30732 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30733 { echo "$as_me:$LINENO: result: yes" >&5
30734 echo "${ECHO_T}yes" >&6; }
30735
30736 cat >>confdefs.h <<\_ACEOF
30737 #define HAVE_PANGO_XFT 1
30738 _ACEOF
30739
30740 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30741 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30742 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30743
30744 fi
30745 save_LIBS="$LIBS"
30746 LIBS="$LIBS $PANGOX_LIBS"
30747
30748 for ac_func in pango_font_family_is_monospace
30749 do
30750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30751 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30753 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30754 echo $ECHO_N "(cached) $ECHO_C" >&6
30755 else
30756 cat >conftest.$ac_ext <<_ACEOF
30757 /* confdefs.h. */
30758 _ACEOF
30759 cat confdefs.h >>conftest.$ac_ext
30760 cat >>conftest.$ac_ext <<_ACEOF
30761 /* end confdefs.h. */
30762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30764 #define $ac_func innocuous_$ac_func
30765
30766 /* System header to define __stub macros and hopefully few prototypes,
30767 which can conflict with char $ac_func (); below.
30768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30769 <limits.h> exists even on freestanding compilers. */
30770
30771 #ifdef __STDC__
30772 # include <limits.h>
30773 #else
30774 # include <assert.h>
30775 #endif
30776
30777 #undef $ac_func
30778
30779 /* Override any GCC internal prototype to avoid an error.
30780 Use char because int might match the return type of a GCC
30781 builtin and then its argument prototype would still apply. */
30782 #ifdef __cplusplus
30783 extern "C"
30784 #endif
30785 char $ac_func ();
30786 /* The GNU C library defines this for functions which it implements
30787 to always fail with ENOSYS. Some functions are actually named
30788 something starting with __ and the normal name is an alias. */
30789 #if defined __stub_$ac_func || defined __stub___$ac_func
30790 choke me
30791 #endif
30792
30793 int
30794 main ()
30795 {
30796 return $ac_func ();
30797 ;
30798 return 0;
30799 }
30800 _ACEOF
30801 rm -f conftest.$ac_objext conftest$ac_exeext
30802 if { (ac_try="$ac_link"
30803 case "(($ac_try" in
30804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30805 *) ac_try_echo=$ac_try;;
30806 esac
30807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30808 (eval "$ac_link") 2>conftest.er1
30809 ac_status=$?
30810 grep -v '^ *+' conftest.er1 >conftest.err
30811 rm -f conftest.er1
30812 cat conftest.err >&5
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); } && {
30815 test -z "$ac_c_werror_flag" ||
30816 test ! -s conftest.err
30817 } && test -s conftest$ac_exeext &&
30818 $as_test_x conftest$ac_exeext; then
30819 eval "$as_ac_var=yes"
30820 else
30821 echo "$as_me: failed program was:" >&5
30822 sed 's/^/| /' conftest.$ac_ext >&5
30823
30824 eval "$as_ac_var=no"
30825 fi
30826
30827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30828 conftest$ac_exeext conftest.$ac_ext
30829 fi
30830 ac_res=`eval echo '${'$as_ac_var'}'`
30831 { echo "$as_me:$LINENO: result: $ac_res" >&5
30832 echo "${ECHO_T}$ac_res" >&6; }
30833 if test `eval echo '${'$as_ac_var'}'` = yes; then
30834 cat >>confdefs.h <<_ACEOF
30835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30836 _ACEOF
30837
30838 fi
30839 done
30840
30841 LIBS="$save_LIBS"
30842 fi
30843
30844 wxUSE_UNIVERSAL="yes"
30845
30846 if test "$wxUSE_NANOX" = "yes"; then
30847 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30848 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"
30849 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30850 else
30851 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30852 fi
30853
30854 TOOLKIT=X11
30855 GUIDIST=X11_DIST
30856 fi
30857
30858 if test "$wxUSE_MOTIF" = 1; then
30859 if test "$wxUSE_UNICODE" = "yes"; then
30860 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30861 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30862 { (exit 1); exit 1; }; }
30863 fi
30864
30865 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30866 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30867
30868 ac_find_includes=
30869 for ac_dir in $SEARCH_INCLUDE /usr/include;
30870 do
30871 if test -f "$ac_dir/Xm/Xm.h"; then
30872 ac_find_includes=$ac_dir
30873 break
30874 fi
30875 done
30876
30877 if test "$ac_find_includes" != "" ; then
30878 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30879 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30880
30881 if test "x$ac_find_includes" = "x/usr/include"; then
30882 ac_path_to_include=""
30883 else
30884 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30885 result=$?
30886 if test $result = 0; then
30887 ac_path_to_include=""
30888 else
30889 ac_path_to_include=" -I$ac_find_includes"
30890 fi
30891 fi
30892
30893 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30894 else
30895 save_CFLAGS=$CFLAGS
30896 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30897
30898 cat >conftest.$ac_ext <<_ACEOF
30899 /* confdefs.h. */
30900 _ACEOF
30901 cat confdefs.h >>conftest.$ac_ext
30902 cat >>conftest.$ac_ext <<_ACEOF
30903 /* end confdefs.h. */
30904
30905 #include <Xm/Xm.h>
30906
30907 int
30908 main ()
30909 {
30910
30911 int version;
30912 version = xmUseVersion;
30913
30914 ;
30915 return 0;
30916 }
30917 _ACEOF
30918 rm -f conftest.$ac_objext
30919 if { (ac_try="$ac_compile"
30920 case "(($ac_try" in
30921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30922 *) ac_try_echo=$ac_try;;
30923 esac
30924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30925 (eval "$ac_compile") 2>conftest.er1
30926 ac_status=$?
30927 grep -v '^ *+' conftest.er1 >conftest.err
30928 rm -f conftest.er1
30929 cat conftest.err >&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } && {
30932 test -z "$ac_c_werror_flag" ||
30933 test ! -s conftest.err
30934 } && test -s conftest.$ac_objext; then
30935
30936 { echo "$as_me:$LINENO: result: found in default search path" >&5
30937 echo "${ECHO_T}found in default search path" >&6; }
30938 COMPILED_X_PROGRAM=1
30939
30940 else
30941 echo "$as_me: failed program was:" >&5
30942 sed 's/^/| /' conftest.$ac_ext >&5
30943
30944
30945 { echo "$as_me:$LINENO: result: no" >&5
30946 echo "${ECHO_T}no" >&6; }
30947 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30948 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30949 { (exit 1); exit 1; }; }
30950
30951
30952 fi
30953
30954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30955
30956 CFLAGS=$save_CFLAGS
30957 fi
30958
30959
30960 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30961 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30962
30963 ac_find_libraries=
30964 for ac_dir in $SEARCH_LIB;
30965 do
30966 for ac_extension in a so sl dylib dll.a; do
30967 if test -f "$ac_dir/libXm.$ac_extension"; then
30968 ac_find_libraries=$ac_dir
30969 break 2
30970 fi
30971 done
30972 done
30973
30974
30975 if test "x$ac_find_libraries" != "x" ; then
30976 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30977 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30978
30979
30980 if test "$ac_find_libraries" = "default location"; then
30981 ac_path_to_link=""
30982 else
30983 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30984 result=$?
30985 if test $result = 0; then
30986 ac_path_to_link=""
30987 else
30988 ac_path_to_link=" -L$ac_find_libraries"
30989 fi
30990 fi
30991
30992 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30993 else
30994 save_CFLAGS=$CFLAGS
30995 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30996 save_LIBS="$LIBS"
30997 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30998
30999 cat >conftest.$ac_ext <<_ACEOF
31000 /* confdefs.h. */
31001 _ACEOF
31002 cat confdefs.h >>conftest.$ac_ext
31003 cat >>conftest.$ac_ext <<_ACEOF
31004 /* end confdefs.h. */
31005
31006 #include <Xm/Xm.h>
31007
31008 int
31009 main ()
31010 {
31011
31012 int version;
31013 version = xmUseVersion;
31014
31015 ;
31016 return 0;
31017 }
31018 _ACEOF
31019 rm -f conftest.$ac_objext conftest$ac_exeext
31020 if { (ac_try="$ac_link"
31021 case "(($ac_try" in
31022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31023 *) ac_try_echo=$ac_try;;
31024 esac
31025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31026 (eval "$ac_link") 2>conftest.er1
31027 ac_status=$?
31028 grep -v '^ *+' conftest.er1 >conftest.err
31029 rm -f conftest.er1
31030 cat conftest.err >&5
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); } && {
31033 test -z "$ac_c_werror_flag" ||
31034 test ! -s conftest.err
31035 } && test -s conftest$ac_exeext &&
31036 $as_test_x conftest$ac_exeext; then
31037
31038 { echo "$as_me:$LINENO: result: found in default search path" >&5
31039 echo "${ECHO_T}found in default search path" >&6; }
31040 COMPILED_X_PROGRAM=1
31041
31042 else
31043 echo "$as_me: failed program was:" >&5
31044 sed 's/^/| /' conftest.$ac_ext >&5
31045
31046
31047 { echo "$as_me:$LINENO: result: no" >&5
31048 echo "${ECHO_T}no" >&6; }
31049 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31050 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31051 { (exit 1); exit 1; }; }
31052
31053
31054 fi
31055
31056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31057 conftest$ac_exeext conftest.$ac_ext
31058
31059 CFLAGS=$save_CFLAGS
31060 LIBS="$save_LIBS"
31061 fi
31062
31063 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31064 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31065 libp_link=""
31066 libsm_ice_link=""
31067 libs_found=0
31068 for libp in "" " -lXp"; do
31069 if test "$libs_found" = "0"; then
31070 for libsm_ice in "" " -lSM -lICE"; do
31071 if test "$libs_found" = "0"; then
31072 save_LIBS="$LIBS"
31073 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31074 save_CFLAGS=$CFLAGS
31075 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31076
31077 cat >conftest.$ac_ext <<_ACEOF
31078 /* confdefs.h. */
31079 _ACEOF
31080 cat confdefs.h >>conftest.$ac_ext
31081 cat >>conftest.$ac_ext <<_ACEOF
31082 /* end confdefs.h. */
31083
31084 #include <Xm/Xm.h>
31085 #include <Xm/List.h>
31086
31087 int
31088 main ()
31089 {
31090
31091 XmString string = NULL;
31092 Widget w = NULL;
31093 int position = 0;
31094 XmListAddItem(w, string, position);
31095
31096 ;
31097 return 0;
31098 }
31099 _ACEOF
31100 rm -f conftest.$ac_objext conftest$ac_exeext
31101 if { (ac_try="$ac_link"
31102 case "(($ac_try" in
31103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31104 *) ac_try_echo=$ac_try;;
31105 esac
31106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31107 (eval "$ac_link") 2>conftest.er1
31108 ac_status=$?
31109 grep -v '^ *+' conftest.er1 >conftest.err
31110 rm -f conftest.er1
31111 cat conftest.err >&5
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); } && {
31114 test -z "$ac_c_werror_flag" ||
31115 test ! -s conftest.err
31116 } && test -s conftest$ac_exeext &&
31117 $as_test_x conftest$ac_exeext; then
31118
31119 libp_link="$libp"
31120 libsm_ice_link="$libsm_ice"
31121 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31122 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31123 libs_found=1
31124
31125 else
31126 echo "$as_me: failed program was:" >&5
31127 sed 's/^/| /' conftest.$ac_ext >&5
31128
31129
31130
31131 fi
31132
31133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31134 conftest$ac_exeext conftest.$ac_ext
31135
31136 LIBS="$save_LIBS"
31137 CFLAGS=$save_CFLAGS
31138 fi
31139 done
31140 fi
31141 done
31142
31143 if test "$libs_found" = "0"; then
31144 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31145 echo "${ECHO_T}can't find the right libraries" >&6; }
31146 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31147 echo "$as_me: error: can't link a simple motif program" >&2;}
31148 { (exit 1); exit 1; }; }
31149 fi
31150
31151 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31152 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31153 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31154 echo $ECHO_N "(cached) $ECHO_C" >&6
31155 else
31156 ac_check_lib_save_LIBS=$LIBS
31157 LIBS="-lSgm $LIBS"
31158 cat >conftest.$ac_ext <<_ACEOF
31159 /* confdefs.h. */
31160 _ACEOF
31161 cat confdefs.h >>conftest.$ac_ext
31162 cat >>conftest.$ac_ext <<_ACEOF
31163 /* end confdefs.h. */
31164
31165 /* Override any GCC internal prototype to avoid an error.
31166 Use char because int might match the return type of a GCC
31167 builtin and then its argument prototype would still apply. */
31168 #ifdef __cplusplus
31169 extern "C"
31170 #endif
31171 char SgCreateList ();
31172 int
31173 main ()
31174 {
31175 return SgCreateList ();
31176 ;
31177 return 0;
31178 }
31179 _ACEOF
31180 rm -f conftest.$ac_objext conftest$ac_exeext
31181 if { (ac_try="$ac_link"
31182 case "(($ac_try" in
31183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31184 *) ac_try_echo=$ac_try;;
31185 esac
31186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31187 (eval "$ac_link") 2>conftest.er1
31188 ac_status=$?
31189 grep -v '^ *+' conftest.er1 >conftest.err
31190 rm -f conftest.er1
31191 cat conftest.err >&5
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); } && {
31194 test -z "$ac_c_werror_flag" ||
31195 test ! -s conftest.err
31196 } && test -s conftest$ac_exeext &&
31197 $as_test_x conftest$ac_exeext; then
31198 ac_cv_lib_Sgm_SgCreateList=yes
31199 else
31200 echo "$as_me: failed program was:" >&5
31201 sed 's/^/| /' conftest.$ac_ext >&5
31202
31203 ac_cv_lib_Sgm_SgCreateList=no
31204 fi
31205
31206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31207 conftest$ac_exeext conftest.$ac_ext
31208 LIBS=$ac_check_lib_save_LIBS
31209 fi
31210 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31211 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31212 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31213 libsgm_link=" -lSgm"
31214 fi
31215
31216
31217 save_CFLAGS=$CFLAGS
31218 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31219
31220 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31221 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31222 if test "${wx_cv_lib_motif2+set}" = set; then
31223 echo $ECHO_N "(cached) $ECHO_C" >&6
31224 else
31225 cat >conftest.$ac_ext <<_ACEOF
31226 /* confdefs.h. */
31227 _ACEOF
31228 cat confdefs.h >>conftest.$ac_ext
31229 cat >>conftest.$ac_ext <<_ACEOF
31230 /* end confdefs.h. */
31231
31232 #include <Xm/Xm.h>
31233
31234 int
31235 main ()
31236 {
31237
31238 #if XmVersion < 2000
31239 Not Motif 2
31240 #endif
31241
31242 ;
31243 return 0;
31244 }
31245 _ACEOF
31246 rm -f conftest.$ac_objext
31247 if { (ac_try="$ac_compile"
31248 case "(($ac_try" in
31249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31250 *) ac_try_echo=$ac_try;;
31251 esac
31252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31253 (eval "$ac_compile") 2>conftest.er1
31254 ac_status=$?
31255 grep -v '^ *+' conftest.er1 >conftest.err
31256 rm -f conftest.er1
31257 cat conftest.err >&5
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); } && {
31260 test -z "$ac_c_werror_flag" ||
31261 test ! -s conftest.err
31262 } && test -s conftest.$ac_objext; then
31263 wx_cv_lib_motif2="yes"
31264 else
31265 echo "$as_me: failed program was:" >&5
31266 sed 's/^/| /' conftest.$ac_ext >&5
31267
31268 wx_cv_lib_motif2="no"
31269 fi
31270
31271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31272 fi
31273 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31274 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31275 if test "$wx_cv_lib_motif2" = "yes"; then
31276 cat >>confdefs.h <<\_ACEOF
31277 #define __WXMOTIF20__ 1
31278 _ACEOF
31279
31280 else
31281 cat >>confdefs.h <<\_ACEOF
31282 #define __WXMOTIF20__ 0
31283 _ACEOF
31284
31285 fi
31286
31287 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31288 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31289 if test "${wx_cv_lib_lesstif+set}" = set; then
31290 echo $ECHO_N "(cached) $ECHO_C" >&6
31291 else
31292 cat >conftest.$ac_ext <<_ACEOF
31293 /* confdefs.h. */
31294 _ACEOF
31295 cat confdefs.h >>conftest.$ac_ext
31296 cat >>conftest.$ac_ext <<_ACEOF
31297 /* end confdefs.h. */
31298
31299 #include <Xm/Xm.h>
31300
31301 int
31302 main ()
31303 {
31304
31305 #if !defined(LesstifVersion) || LesstifVersion <= 0
31306 Not Lesstif
31307 #endif
31308
31309 ;
31310 return 0;
31311 }
31312 _ACEOF
31313 rm -f conftest.$ac_objext
31314 if { (ac_try="$ac_compile"
31315 case "(($ac_try" in
31316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31317 *) ac_try_echo=$ac_try;;
31318 esac
31319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31320 (eval "$ac_compile") 2>conftest.er1
31321 ac_status=$?
31322 grep -v '^ *+' conftest.er1 >conftest.err
31323 rm -f conftest.er1
31324 cat conftest.err >&5
31325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31326 (exit $ac_status); } && {
31327 test -z "$ac_c_werror_flag" ||
31328 test ! -s conftest.err
31329 } && test -s conftest.$ac_objext; then
31330 wx_cv_lib_lesstif="yes"
31331 else
31332 echo "$as_me: failed program was:" >&5
31333 sed 's/^/| /' conftest.$ac_ext >&5
31334
31335 wx_cv_lib_lesstif="no"
31336 fi
31337
31338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31339
31340 fi
31341 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31342 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31343 if test "$wx_cv_lib_lesstif" = "yes"; then
31344 cat >>confdefs.h <<\_ACEOF
31345 #define __WXLESSTIF__ 1
31346 _ACEOF
31347
31348 else
31349 cat >>confdefs.h <<\_ACEOF
31350 #define __WXLESSTIF__ 0
31351 _ACEOF
31352
31353 fi
31354
31355 CFLAGS=$save_CFLAGS
31356
31357 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31358 TOOLKIT=MOTIF
31359 GUIDIST=MOTIF_DIST
31360 fi
31361
31362 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31363 if test "$wxUSE_LIBXPM" = "sys"; then
31364 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31365 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31366
31367 ac_find_libraries=
31368 for ac_dir in $SEARCH_LIB;
31369 do
31370 for ac_extension in a so sl dylib dll.a; do
31371 if test -f "$ac_dir/libXpm.$ac_extension"; then
31372 ac_find_libraries=$ac_dir
31373 break 2
31374 fi
31375 done
31376 done
31377
31378 if test "$ac_find_libraries" != "" ; then
31379
31380 if test "$ac_find_libraries" = "default location"; then
31381 ac_path_to_link=""
31382 else
31383 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31384 result=$?
31385 if test $result = 0; then
31386 ac_path_to_link=""
31387 else
31388 ac_path_to_link=" -L$ac_find_libraries"
31389 fi
31390 fi
31391
31392 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31393 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31394 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31395
31396 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31397 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31398 if test "${wx_cv_x11_xpm_h+set}" = set; then
31399 echo $ECHO_N "(cached) $ECHO_C" >&6
31400 else
31401
31402 save_CFLAGS=$CFLAGS
31403 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31404
31405 cat >conftest.$ac_ext <<_ACEOF
31406 /* confdefs.h. */
31407 _ACEOF
31408 cat confdefs.h >>conftest.$ac_ext
31409 cat >>conftest.$ac_ext <<_ACEOF
31410 /* end confdefs.h. */
31411
31412 #include <X11/xpm.h>
31413
31414 int
31415 main ()
31416 {
31417
31418 int version;
31419 version = XpmLibraryVersion();
31420
31421 ;
31422 return 0;
31423 }
31424 _ACEOF
31425 rm -f conftest.$ac_objext
31426 if { (ac_try="$ac_compile"
31427 case "(($ac_try" in
31428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31429 *) ac_try_echo=$ac_try;;
31430 esac
31431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31432 (eval "$ac_compile") 2>conftest.er1
31433 ac_status=$?
31434 grep -v '^ *+' conftest.er1 >conftest.err
31435 rm -f conftest.er1
31436 cat conftest.err >&5
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); } && {
31439 test -z "$ac_c_werror_flag" ||
31440 test ! -s conftest.err
31441 } && test -s conftest.$ac_objext; then
31442 wx_cv_x11_xpm_h=yes
31443 else
31444 echo "$as_me: failed program was:" >&5
31445 sed 's/^/| /' conftest.$ac_ext >&5
31446
31447 wx_cv_x11_xpm_h=no
31448
31449 fi
31450
31451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31452
31453 CFLAGS=$save_CFLAGS
31454
31455
31456 fi
31457 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31458 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31459
31460 if test $wx_cv_x11_xpm_h = "yes"; then
31461 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31462 cat >>confdefs.h <<\_ACEOF
31463 #define wxHAVE_LIB_XPM 1
31464 _ACEOF
31465
31466 else
31467 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31468 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31469 fi
31470 fi
31471
31472 fi
31473
31474 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31475 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31476 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31477 echo $ECHO_N "(cached) $ECHO_C" >&6
31478 else
31479 ac_check_lib_save_LIBS=$LIBS
31480 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31481 cat >conftest.$ac_ext <<_ACEOF
31482 /* confdefs.h. */
31483 _ACEOF
31484 cat confdefs.h >>conftest.$ac_ext
31485 cat >>conftest.$ac_ext <<_ACEOF
31486 /* end confdefs.h. */
31487
31488 /* Override any GCC internal prototype to avoid an error.
31489 Use char because int might match the return type of a GCC
31490 builtin and then its argument prototype would still apply. */
31491 #ifdef __cplusplus
31492 extern "C"
31493 #endif
31494 char XShapeQueryExtension ();
31495 int
31496 main ()
31497 {
31498 return XShapeQueryExtension ();
31499 ;
31500 return 0;
31501 }
31502 _ACEOF
31503 rm -f conftest.$ac_objext conftest$ac_exeext
31504 if { (ac_try="$ac_link"
31505 case "(($ac_try" in
31506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31507 *) ac_try_echo=$ac_try;;
31508 esac
31509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31510 (eval "$ac_link") 2>conftest.er1
31511 ac_status=$?
31512 grep -v '^ *+' conftest.er1 >conftest.err
31513 rm -f conftest.er1
31514 cat conftest.err >&5
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); } && {
31517 test -z "$ac_c_werror_flag" ||
31518 test ! -s conftest.err
31519 } && test -s conftest$ac_exeext &&
31520 $as_test_x conftest$ac_exeext; then
31521 ac_cv_lib_Xext_XShapeQueryExtension=yes
31522 else
31523 echo "$as_me: failed program was:" >&5
31524 sed 's/^/| /' conftest.$ac_ext >&5
31525
31526 ac_cv_lib_Xext_XShapeQueryExtension=no
31527 fi
31528
31529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31530 conftest$ac_exeext conftest.$ac_ext
31531 LIBS=$ac_check_lib_save_LIBS
31532 fi
31533 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31534 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31535 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31536
31537 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31538 wxHAVE_XEXT_LIB=1
31539
31540 fi
31541
31542
31543 if test "$wxHAVE_XEXT_LIB" = 1; then
31544 save_CFLAGS="$CFLAGS"
31545 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31546
31547 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31548 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31549 cat >conftest.$ac_ext <<_ACEOF
31550 /* confdefs.h. */
31551 _ACEOF
31552 cat confdefs.h >>conftest.$ac_ext
31553 cat >>conftest.$ac_ext <<_ACEOF
31554 /* end confdefs.h. */
31555
31556 #include <X11/Xlib.h>
31557 #include <X11/extensions/shape.h>
31558
31559 int
31560 main ()
31561 {
31562
31563 int dummy1, dummy2;
31564 XShapeQueryExtension((Display*)NULL,
31565 (int*)NULL, (int*)NULL);
31566
31567 ;
31568 return 0;
31569 }
31570 _ACEOF
31571 rm -f conftest.$ac_objext
31572 if { (ac_try="$ac_compile"
31573 case "(($ac_try" in
31574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31575 *) ac_try_echo=$ac_try;;
31576 esac
31577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31578 (eval "$ac_compile") 2>conftest.er1
31579 ac_status=$?
31580 grep -v '^ *+' conftest.er1 >conftest.err
31581 rm -f conftest.er1
31582 cat conftest.err >&5
31583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584 (exit $ac_status); } && {
31585 test -z "$ac_c_werror_flag" ||
31586 test ! -s conftest.err
31587 } && test -s conftest.$ac_objext; then
31588
31589 cat >>confdefs.h <<\_ACEOF
31590 #define HAVE_XSHAPE 1
31591 _ACEOF
31592
31593 { echo "$as_me:$LINENO: result: found" >&5
31594 echo "${ECHO_T}found" >&6; }
31595
31596 else
31597 echo "$as_me: failed program was:" >&5
31598 sed 's/^/| /' conftest.$ac_ext >&5
31599
31600
31601 { echo "$as_me:$LINENO: result: not found" >&5
31602 echo "${ECHO_T}not found" >&6; }
31603
31604 fi
31605
31606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31607 CFLAGS="$save_CFLAGS"
31608
31609 fi
31610 fi
31611
31612 if test "$wxUSE_MAC" = 1; then
31613 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31614 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31615 if test "$GCC" = yes; then
31616 { echo "$as_me:$LINENO: result: gcc" >&5
31617 echo "${ECHO_T}gcc" >&6; }
31618 CPPFLAGS_PASCAL="-fpascal-strings"
31619 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31620 { echo "$as_me:$LINENO: result: xlc" >&5
31621 echo "${ECHO_T}xlc" >&6; }
31622 CPPFLAGS_PASCAL="-qmacpstr"
31623 else
31624 { echo "$as_me:$LINENO: result: none" >&5
31625 echo "${ECHO_T}none" >&6; }
31626 fi
31627
31628 if test "x$wxUSE_UNIX" = "xyes"; then
31629 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31630 else
31631 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31632 fi
31633
31634 TOOLKIT=MAC
31635 GUIDIST=MACX_DIST
31636 WXBASEPORT="_carbon"
31637 fi
31638
31639 if test "$wxUSE_COCOA" = 1; then
31640 TOOLKIT=COCOA
31641 GUIDIST=COCOA_DIST
31642 fi
31643
31644 if test "$wxUSE_PM" = 1; then
31645 TOOLKIT=PM
31646 GUIDIST=PM_DIST
31647 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31648 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31649 if test "${wx_cv_spbcdata+set}" = set; then
31650 echo $ECHO_N "(cached) $ECHO_C" >&6
31651 else
31652
31653 cat >conftest.$ac_ext <<_ACEOF
31654 /* confdefs.h. */
31655 _ACEOF
31656 cat confdefs.h >>conftest.$ac_ext
31657 cat >>conftest.$ac_ext <<_ACEOF
31658 /* end confdefs.h. */
31659
31660 #define INCL_PM
31661 #include <os2.h>
31662
31663 int
31664 main ()
31665 {
31666
31667 SPBCDATA test;
31668
31669 ;
31670 return 0;
31671 }
31672 _ACEOF
31673 rm -f conftest.$ac_objext
31674 if { (ac_try="$ac_compile"
31675 case "(($ac_try" in
31676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31677 *) ac_try_echo=$ac_try;;
31678 esac
31679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31680 (eval "$ac_compile") 2>conftest.er1
31681 ac_status=$?
31682 grep -v '^ *+' conftest.er1 >conftest.err
31683 rm -f conftest.er1
31684 cat conftest.err >&5
31685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686 (exit $ac_status); } && {
31687 test -z "$ac_c_werror_flag" ||
31688 test ! -s conftest.err
31689 } && test -s conftest.$ac_objext; then
31690 wx_cv_spbcdata=yes
31691 else
31692 echo "$as_me: failed program was:" >&5
31693 sed 's/^/| /' conftest.$ac_ext >&5
31694
31695 wx_cv_spbcdata=no
31696
31697 fi
31698
31699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31700
31701
31702 fi
31703 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31704 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31705
31706 if test $wx_cv_spbcdata = "yes"; then
31707 cat >>confdefs.h <<\_ACEOF
31708 #define HAVE_SPBCDATA 1
31709 _ACEOF
31710
31711 fi
31712 fi
31713
31714 if test "$TOOLKIT" = "PM" ; then
31715 TOOLKIT_DIR="os2"
31716 else
31717 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31718 fi
31719
31720 if test "$wxUSE_UNIVERSAL" = "yes"; then
31721 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31722 WIDGET_SET=univ
31723 fi
31724
31725 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31726 DISTDIR="wx\$(TOOLKIT)"
31727 else
31728 USE_GUI=0
31729
31730 TOOLKIT_DIR="base"
31731
31732 if test "$USE_WIN32" = 1 ; then
31733 TOOLKIT="MSW"
31734 fi
31735
31736 GUIDIST="BASE_DIST"
31737 DISTDIR="wxBase"
31738 fi
31739
31740
31741
31742 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31743 if test "$TOOLKIT" = "DFB" ; then
31744 wxUSE_UNICODE_UTF8=yes
31745 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31746 wxUSE_UNICODE_UTF8=yes
31747 else
31748 wxUSE_UNICODE_UTF8=no
31749 fi
31750 fi
31751
31752
31753 if test "$wxUSE_GUI" = "yes"; then
31754 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31755 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31756 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31757 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31758 echo $ECHO_N "(cached) $ECHO_C" >&6
31759 else
31760 cat >conftest.$ac_ext <<_ACEOF
31761 /* confdefs.h. */
31762 _ACEOF
31763 cat confdefs.h >>conftest.$ac_ext
31764 cat >>conftest.$ac_ext <<_ACEOF
31765 /* end confdefs.h. */
31766
31767
31768 #include <X11/Xlib.h>
31769 _ACEOF
31770 rm -f conftest.$ac_objext
31771 if { (ac_try="$ac_compile"
31772 case "(($ac_try" in
31773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31774 *) ac_try_echo=$ac_try;;
31775 esac
31776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31777 (eval "$ac_compile") 2>conftest.er1
31778 ac_status=$?
31779 grep -v '^ *+' conftest.er1 >conftest.err
31780 rm -f conftest.er1
31781 cat conftest.err >&5
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); } && {
31784 test -z "$ac_c_werror_flag" ||
31785 test ! -s conftest.err
31786 } && test -s conftest.$ac_objext; then
31787 ac_cv_header_X11_Xlib_h=yes
31788 else
31789 echo "$as_me: failed program was:" >&5
31790 sed 's/^/| /' conftest.$ac_ext >&5
31791
31792 ac_cv_header_X11_Xlib_h=no
31793 fi
31794
31795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31796 fi
31797 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31798 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31799
31800
31801 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31802 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31803 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31804 echo $ECHO_N "(cached) $ECHO_C" >&6
31805 else
31806 cat >conftest.$ac_ext <<_ACEOF
31807 /* confdefs.h. */
31808 _ACEOF
31809 cat confdefs.h >>conftest.$ac_ext
31810 cat >>conftest.$ac_ext <<_ACEOF
31811 /* end confdefs.h. */
31812
31813 #if HAVE_X11_XLIB_H
31814 #include <X11/Xlib.h>
31815 #endif
31816
31817
31818 #include <X11/XKBlib.h>
31819 _ACEOF
31820 rm -f conftest.$ac_objext
31821 if { (ac_try="$ac_compile"
31822 case "(($ac_try" in
31823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31824 *) ac_try_echo=$ac_try;;
31825 esac
31826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31827 (eval "$ac_compile") 2>conftest.er1
31828 ac_status=$?
31829 grep -v '^ *+' conftest.er1 >conftest.err
31830 rm -f conftest.er1
31831 cat conftest.err >&5
31832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31833 (exit $ac_status); } && {
31834 test -z "$ac_c_werror_flag" ||
31835 test ! -s conftest.err
31836 } && test -s conftest.$ac_objext; then
31837 ac_cv_header_X11_XKBlib_h=yes
31838 else
31839 echo "$as_me: failed program was:" >&5
31840 sed 's/^/| /' conftest.$ac_ext >&5
31841
31842 ac_cv_header_X11_XKBlib_h=no
31843 fi
31844
31845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31846 fi
31847 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31848 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31849
31850
31851 fi
31852 fi
31853
31854
31855
31856 IODBC_C_SRC=""
31857
31858
31859 if test "$TOOLKIT" != "MSW" ; then
31860
31861 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31862
31863 { echo "$as_me:$LINENO: checking for sql.h" >&5
31864 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31865 if test "${ac_cv_header_sql_h+set}" = set; then
31866 echo $ECHO_N "(cached) $ECHO_C" >&6
31867 else
31868 cat >conftest.$ac_ext <<_ACEOF
31869 /* confdefs.h. */
31870 _ACEOF
31871 cat confdefs.h >>conftest.$ac_ext
31872 cat >>conftest.$ac_ext <<_ACEOF
31873 /* end confdefs.h. */
31874
31875
31876 #include <sql.h>
31877 _ACEOF
31878 rm -f conftest.$ac_objext
31879 if { (ac_try="$ac_compile"
31880 case "(($ac_try" in
31881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31882 *) ac_try_echo=$ac_try;;
31883 esac
31884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31885 (eval "$ac_compile") 2>conftest.er1
31886 ac_status=$?
31887 grep -v '^ *+' conftest.er1 >conftest.err
31888 rm -f conftest.er1
31889 cat conftest.err >&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); } && {
31892 test -z "$ac_c_werror_flag" ||
31893 test ! -s conftest.err
31894 } && test -s conftest.$ac_objext; then
31895 ac_cv_header_sql_h=yes
31896 else
31897 echo "$as_me: failed program was:" >&5
31898 sed 's/^/| /' conftest.$ac_ext >&5
31899
31900 ac_cv_header_sql_h=no
31901 fi
31902
31903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31904 fi
31905 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31906 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31907 if test $ac_cv_header_sql_h = yes; then
31908 found_sql_h=1
31909 fi
31910
31911
31912 if test "x$found_sql_h" = "x1" ; then
31913 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31914 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31915 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31916 echo $ECHO_N "(cached) $ECHO_C" >&6
31917 else
31918 ac_check_lib_save_LIBS=$LIBS
31919 LIBS="-liodbc $LIBS"
31920 cat >conftest.$ac_ext <<_ACEOF
31921 /* confdefs.h. */
31922 _ACEOF
31923 cat confdefs.h >>conftest.$ac_ext
31924 cat >>conftest.$ac_ext <<_ACEOF
31925 /* end confdefs.h. */
31926
31927 /* Override any GCC internal prototype to avoid an error.
31928 Use char because int might match the return type of a GCC
31929 builtin and then its argument prototype would still apply. */
31930 #ifdef __cplusplus
31931 extern "C"
31932 #endif
31933 char SQLAllocEnv ();
31934 int
31935 main ()
31936 {
31937 return SQLAllocEnv ();
31938 ;
31939 return 0;
31940 }
31941 _ACEOF
31942 rm -f conftest.$ac_objext conftest$ac_exeext
31943 if { (ac_try="$ac_link"
31944 case "(($ac_try" in
31945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31946 *) ac_try_echo=$ac_try;;
31947 esac
31948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31949 (eval "$ac_link") 2>conftest.er1
31950 ac_status=$?
31951 grep -v '^ *+' conftest.er1 >conftest.err
31952 rm -f conftest.er1
31953 cat conftest.err >&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); } && {
31956 test -z "$ac_c_werror_flag" ||
31957 test ! -s conftest.err
31958 } && test -s conftest$ac_exeext &&
31959 $as_test_x conftest$ac_exeext; then
31960 ac_cv_lib_iodbc_SQLAllocEnv=yes
31961 else
31962 echo "$as_me: failed program was:" >&5
31963 sed 's/^/| /' conftest.$ac_ext >&5
31964
31965 ac_cv_lib_iodbc_SQLAllocEnv=no
31966 fi
31967
31968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31969 conftest$ac_exeext conftest.$ac_ext
31970 LIBS=$ac_check_lib_save_LIBS
31971 fi
31972 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31973 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31974 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31975 ODBC_LINK=" -liodbc"
31976 else
31977
31978 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31979 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31980 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31981 echo $ECHO_N "(cached) $ECHO_C" >&6
31982 else
31983 ac_check_lib_save_LIBS=$LIBS
31984 LIBS="-lunixodbc $LIBS"
31985 cat >conftest.$ac_ext <<_ACEOF
31986 /* confdefs.h. */
31987 _ACEOF
31988 cat confdefs.h >>conftest.$ac_ext
31989 cat >>conftest.$ac_ext <<_ACEOF
31990 /* end confdefs.h. */
31991
31992 /* Override any GCC internal prototype to avoid an error.
31993 Use char because int might match the return type of a GCC
31994 builtin and then its argument prototype would still apply. */
31995 #ifdef __cplusplus
31996 extern "C"
31997 #endif
31998 char SQLAllocEnv ();
31999 int
32000 main ()
32001 {
32002 return SQLAllocEnv ();
32003 ;
32004 return 0;
32005 }
32006 _ACEOF
32007 rm -f conftest.$ac_objext conftest$ac_exeext
32008 if { (ac_try="$ac_link"
32009 case "(($ac_try" in
32010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32011 *) ac_try_echo=$ac_try;;
32012 esac
32013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32014 (eval "$ac_link") 2>conftest.er1
32015 ac_status=$?
32016 grep -v '^ *+' conftest.er1 >conftest.err
32017 rm -f conftest.er1
32018 cat conftest.err >&5
32019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32020 (exit $ac_status); } && {
32021 test -z "$ac_c_werror_flag" ||
32022 test ! -s conftest.err
32023 } && test -s conftest$ac_exeext &&
32024 $as_test_x conftest$ac_exeext; then
32025 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32026 else
32027 echo "$as_me: failed program was:" >&5
32028 sed 's/^/| /' conftest.$ac_ext >&5
32029
32030 ac_cv_lib_unixodbc_SQLAllocEnv=no
32031 fi
32032
32033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32034 conftest$ac_exeext conftest.$ac_ext
32035 LIBS=$ac_check_lib_save_LIBS
32036 fi
32037 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32038 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
32039 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32040 ODBC_LINK=" -lunixodbc"
32041 else
32042
32043 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32044 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
32045 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32046 echo $ECHO_N "(cached) $ECHO_C" >&6
32047 else
32048 ac_check_lib_save_LIBS=$LIBS
32049 LIBS="-lodbc $LIBS"
32050 cat >conftest.$ac_ext <<_ACEOF
32051 /* confdefs.h. */
32052 _ACEOF
32053 cat confdefs.h >>conftest.$ac_ext
32054 cat >>conftest.$ac_ext <<_ACEOF
32055 /* end confdefs.h. */
32056
32057 /* Override any GCC internal prototype to avoid an error.
32058 Use char because int might match the return type of a GCC
32059 builtin and then its argument prototype would still apply. */
32060 #ifdef __cplusplus
32061 extern "C"
32062 #endif
32063 char SQLAllocEnv ();
32064 int
32065 main ()
32066 {
32067 return SQLAllocEnv ();
32068 ;
32069 return 0;
32070 }
32071 _ACEOF
32072 rm -f conftest.$ac_objext conftest$ac_exeext
32073 if { (ac_try="$ac_link"
32074 case "(($ac_try" in
32075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32076 *) ac_try_echo=$ac_try;;
32077 esac
32078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32079 (eval "$ac_link") 2>conftest.er1
32080 ac_status=$?
32081 grep -v '^ *+' conftest.er1 >conftest.err
32082 rm -f conftest.er1
32083 cat conftest.err >&5
32084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 (exit $ac_status); } && {
32086 test -z "$ac_c_werror_flag" ||
32087 test ! -s conftest.err
32088 } && test -s conftest$ac_exeext &&
32089 $as_test_x conftest$ac_exeext; then
32090 ac_cv_lib_odbc_SQLAllocEnv=yes
32091 else
32092 echo "$as_me: failed program was:" >&5
32093 sed 's/^/| /' conftest.$ac_ext >&5
32094
32095 ac_cv_lib_odbc_SQLAllocEnv=no
32096 fi
32097
32098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32099 conftest$ac_exeext conftest.$ac_ext
32100 LIBS=$ac_check_lib_save_LIBS
32101 fi
32102 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32103 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
32104 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32105 ODBC_LINK=" -lodbc"
32106 fi
32107
32108
32109 fi
32110
32111
32112 fi
32113
32114 fi
32115 if test "x$ODBC_LINK" = "x" ; then
32116 if test "$wxUSE_ODBC" = "sys" ; then
32117 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32118 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32119 { (exit 1); exit 1; }; }
32120 else
32121 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32122 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32123 wxUSE_ODBC=builtin
32124 fi
32125 else
32126 wxUSE_ODBC=sys
32127 fi
32128 fi
32129
32130 if test "$wxUSE_ODBC" = "builtin" ; then
32131 cat >>confdefs.h <<\_ACEOF
32132 #define wxUSE_BUILTIN_IODBC 1
32133 _ACEOF
32134
32135 fi
32136 fi
32137
32138 if test "$wxUSE_ODBC" != "no" ; then
32139 cat >>confdefs.h <<\_ACEOF
32140 #define wxUSE_ODBC 1
32141 _ACEOF
32142
32143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32144
32145 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32146 fi
32147
32148
32149 if test "$wxUSE_DISPLAY" = "yes"; then
32150 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32151 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32152 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32153
32154 ac_find_libraries=
32155 for ac_dir in $SEARCH_LIB;
32156 do
32157 for ac_extension in a so sl dylib dll.a; do
32158 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32159 ac_find_libraries=$ac_dir
32160 break 2
32161 fi
32162 done
32163 done
32164
32165 if test "$ac_find_libraries" != "" ; then
32166
32167 if test "$ac_find_libraries" = "default location"; then
32168 ac_path_to_link=""
32169 else
32170 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32171 result=$?
32172 if test $result = 0; then
32173 ac_path_to_link=""
32174 else
32175 ac_path_to_link=" -L$ac_find_libraries"
32176 fi
32177 fi
32178
32179 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32180 LDFLAGS="$LDFLAGS $ac_path_to_link"
32181 fi
32182 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32183 { echo "$as_me:$LINENO: result: yes" >&5
32184 echo "${ECHO_T}yes" >&6; }
32185
32186 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32187 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32188
32189 ac_find_libraries=
32190 for ac_dir in $SEARCH_LIB;
32191 do
32192 for ac_extension in a so sl dylib dll.a; do
32193 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32194 ac_find_libraries=$ac_dir
32195 break 2
32196 fi
32197 done
32198 done
32199
32200 if test "$ac_find_libraries" != "" ; then
32201 { echo "$as_me:$LINENO: result: yes" >&5
32202 echo "${ECHO_T}yes" >&6; }
32203 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32204 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32205 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32206 echo $ECHO_N "(cached) $ECHO_C" >&6
32207 else
32208 cat >conftest.$ac_ext <<_ACEOF
32209 /* confdefs.h. */
32210 _ACEOF
32211 cat confdefs.h >>conftest.$ac_ext
32212 cat >>conftest.$ac_ext <<_ACEOF
32213 /* end confdefs.h. */
32214
32215 #if HAVE_X11_XLIB_H
32216 #include <X11/Xlib.h>
32217 #endif
32218
32219
32220 #include <X11/extensions/xf86vmode.h>
32221 _ACEOF
32222 rm -f conftest.$ac_objext
32223 if { (ac_try="$ac_compile"
32224 case "(($ac_try" in
32225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32226 *) ac_try_echo=$ac_try;;
32227 esac
32228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32229 (eval "$ac_compile") 2>conftest.er1
32230 ac_status=$?
32231 grep -v '^ *+' conftest.er1 >conftest.err
32232 rm -f conftest.er1
32233 cat conftest.err >&5
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); } && {
32236 test -z "$ac_c_werror_flag" ||
32237 test ! -s conftest.err
32238 } && test -s conftest.$ac_objext; then
32239 ac_cv_header_X11_extensions_xf86vmode_h=yes
32240 else
32241 echo "$as_me: failed program was:" >&5
32242 sed 's/^/| /' conftest.$ac_ext >&5
32243
32244 ac_cv_header_X11_extensions_xf86vmode_h=no
32245 fi
32246
32247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32248 fi
32249 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32250 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32251 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32252
32253 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32254
32255 fi
32256
32257
32258 else
32259 { echo "$as_me:$LINENO: result: no" >&5
32260 echo "${ECHO_T}no" >&6; }
32261 fi
32262
32263 else
32264 { echo "$as_me:$LINENO: result: no" >&5
32265 echo "${ECHO_T}no" >&6; }
32266 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32267 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32268 wxUSE_DISPLAY="no"
32269 fi
32270 elif test "$wxUSE_MSW" = 1; then
32271 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32272 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32273 if test "${ac_cv_header_ddraw_h+set}" = set; then
32274 echo $ECHO_N "(cached) $ECHO_C" >&6
32275 else
32276 cat >conftest.$ac_ext <<_ACEOF
32277 /* confdefs.h. */
32278 _ACEOF
32279 cat confdefs.h >>conftest.$ac_ext
32280 cat >>conftest.$ac_ext <<_ACEOF
32281 /* end confdefs.h. */
32282 #include <windows.h>
32283
32284 #include <ddraw.h>
32285 _ACEOF
32286 rm -f conftest.$ac_objext
32287 if { (ac_try="$ac_compile"
32288 case "(($ac_try" in
32289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32290 *) ac_try_echo=$ac_try;;
32291 esac
32292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32293 (eval "$ac_compile") 2>conftest.er1
32294 ac_status=$?
32295 grep -v '^ *+' conftest.er1 >conftest.err
32296 rm -f conftest.er1
32297 cat conftest.err >&5
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); } && {
32300 test -z "$ac_c_werror_flag" ||
32301 test ! -s conftest.err
32302 } && test -s conftest.$ac_objext; then
32303 ac_cv_header_ddraw_h=yes
32304 else
32305 echo "$as_me: failed program was:" >&5
32306 sed 's/^/| /' conftest.$ac_ext >&5
32307
32308 ac_cv_header_ddraw_h=no
32309 fi
32310
32311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32312 fi
32313 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32314 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32315
32316
32317 fi
32318 fi
32319
32320 if test "$wxUSE_DETECT_SM" = "yes"; then
32321 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32322 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32323 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32324
32325 ac_find_libraries=
32326 for ac_dir in $SEARCH_LIB;
32327 do
32328 for ac_extension in a so sl dylib dll.a; do
32329 if test -f "$ac_dir/libSM.$ac_extension"; then
32330 ac_find_libraries=$ac_dir
32331 break 2
32332 fi
32333 done
32334 done
32335
32336 if test "$ac_find_libraries" != "" ; then
32337
32338 if test "$ac_find_libraries" = "default location"; then
32339 ac_path_to_link=""
32340 else
32341 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32342 result=$?
32343 if test $result = 0; then
32344 ac_path_to_link=""
32345 else
32346 ac_path_to_link=" -L$ac_find_libraries"
32347 fi
32348 fi
32349
32350 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32351 LDFLAGS="$LDFLAGS $ac_path_to_link"
32352 fi
32353 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32354 { echo "$as_me:$LINENO: result: yes" >&5
32355 echo "${ECHO_T}yes" >&6; }
32356 else
32357 { echo "$as_me:$LINENO: result: no" >&5
32358 echo "${ECHO_T}no" >&6; }
32359 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32360 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32361 wxUSE_DETECT_SM="no"
32362 fi
32363 else
32364 wxUSE_DETECT_SM="no"
32365 fi
32366 fi
32367
32368
32369
32370 USE_OPENGL=0
32371 if test "$wxUSE_OPENGL" = "yes"; then
32372 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32373 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32374 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32375 wxUSE_OPENGL="no"
32376 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32377 OPENGL_LIBS="-framework OpenGL -framework AGL"
32378 elif test "$wxUSE_MSW" = 1; then
32379 OPENGL_LIBS="-lopengl32 -lglu32"
32380 else
32381 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32382 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32383
32384 ac_find_includes=
32385 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32386 do
32387 if test -f "$ac_dir/GL/gl.h"; then
32388 ac_find_includes=$ac_dir
32389 break
32390 fi
32391 done
32392
32393 if test "$ac_find_includes" != "" ; then
32394 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32395 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32396
32397 if test "x$ac_find_includes" = "x/usr/include"; then
32398 ac_path_to_include=""
32399 else
32400 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32401 result=$?
32402 if test $result = 0; then
32403 ac_path_to_include=""
32404 else
32405 ac_path_to_include=" -I$ac_find_includes"
32406 fi
32407 fi
32408
32409 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32410 else
32411 { echo "$as_me:$LINENO: result: not found" >&5
32412 echo "${ECHO_T}not found" >&6; }
32413 fi
32414
32415 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32416 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32417 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32418 echo $ECHO_N "(cached) $ECHO_C" >&6
32419 else
32420 cat >conftest.$ac_ext <<_ACEOF
32421 /* confdefs.h. */
32422 _ACEOF
32423 cat confdefs.h >>conftest.$ac_ext
32424 cat >>conftest.$ac_ext <<_ACEOF
32425 /* end confdefs.h. */
32426
32427
32428 #include <GL/gl.h>
32429 _ACEOF
32430 rm -f conftest.$ac_objext
32431 if { (ac_try="$ac_compile"
32432 case "(($ac_try" in
32433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32434 *) ac_try_echo=$ac_try;;
32435 esac
32436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32437 (eval "$ac_compile") 2>conftest.er1
32438 ac_status=$?
32439 grep -v '^ *+' conftest.er1 >conftest.err
32440 rm -f conftest.er1
32441 cat conftest.err >&5
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); } && {
32444 test -z "$ac_c_werror_flag" ||
32445 test ! -s conftest.err
32446 } && test -s conftest.$ac_objext; then
32447 ac_cv_header_GL_gl_h=yes
32448 else
32449 echo "$as_me: failed program was:" >&5
32450 sed 's/^/| /' conftest.$ac_ext >&5
32451
32452 ac_cv_header_GL_gl_h=no
32453 fi
32454
32455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32456 fi
32457 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32458 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32459 if test $ac_cv_header_GL_gl_h = yes; then
32460
32461 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32462 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32463 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32464 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32465 echo $ECHO_N "(cached) $ECHO_C" >&6
32466 fi
32467 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32468 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32469 else
32470 # Is the header compilable?
32471 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32472 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32473 cat >conftest.$ac_ext <<_ACEOF
32474 /* confdefs.h. */
32475 _ACEOF
32476 cat confdefs.h >>conftest.$ac_ext
32477 cat >>conftest.$ac_ext <<_ACEOF
32478 /* end confdefs.h. */
32479 $ac_includes_default
32480 #include <GL/glu.h>
32481 _ACEOF
32482 rm -f conftest.$ac_objext
32483 if { (ac_try="$ac_compile"
32484 case "(($ac_try" in
32485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32486 *) ac_try_echo=$ac_try;;
32487 esac
32488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32489 (eval "$ac_compile") 2>conftest.er1
32490 ac_status=$?
32491 grep -v '^ *+' conftest.er1 >conftest.err
32492 rm -f conftest.er1
32493 cat conftest.err >&5
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); } && {
32496 test -z "$ac_c_werror_flag" ||
32497 test ! -s conftest.err
32498 } && test -s conftest.$ac_objext; then
32499 ac_header_compiler=yes
32500 else
32501 echo "$as_me: failed program was:" >&5
32502 sed 's/^/| /' conftest.$ac_ext >&5
32503
32504 ac_header_compiler=no
32505 fi
32506
32507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32508 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32509 echo "${ECHO_T}$ac_header_compiler" >&6; }
32510
32511 # Is the header present?
32512 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32513 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32514 cat >conftest.$ac_ext <<_ACEOF
32515 /* confdefs.h. */
32516 _ACEOF
32517 cat confdefs.h >>conftest.$ac_ext
32518 cat >>conftest.$ac_ext <<_ACEOF
32519 /* end confdefs.h. */
32520 #include <GL/glu.h>
32521 _ACEOF
32522 if { (ac_try="$ac_cpp conftest.$ac_ext"
32523 case "(($ac_try" in
32524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32525 *) ac_try_echo=$ac_try;;
32526 esac
32527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32528 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32529 ac_status=$?
32530 grep -v '^ *+' conftest.er1 >conftest.err
32531 rm -f conftest.er1
32532 cat conftest.err >&5
32533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32534 (exit $ac_status); } >/dev/null && {
32535 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32536 test ! -s conftest.err
32537 }; then
32538 ac_header_preproc=yes
32539 else
32540 echo "$as_me: failed program was:" >&5
32541 sed 's/^/| /' conftest.$ac_ext >&5
32542
32543 ac_header_preproc=no
32544 fi
32545
32546 rm -f conftest.err conftest.$ac_ext
32547 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32548 echo "${ECHO_T}$ac_header_preproc" >&6; }
32549
32550 # So? What about this header?
32551 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32552 yes:no: )
32553 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32554 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32555 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32556 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32557 ac_header_preproc=yes
32558 ;;
32559 no:yes:* )
32560 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32561 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32562 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32563 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32564 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32565 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32566 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32567 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32568 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32569 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32570 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32571 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32572 ( cat <<\_ASBOX
32573 ## ----------------------------------------- ##
32574 ## Report this to wx-dev@lists.wxwidgets.org ##
32575 ## ----------------------------------------- ##
32576 _ASBOX
32577 ) | sed "s/^/$as_me: WARNING: /" >&2
32578 ;;
32579 esac
32580 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32581 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32582 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32583 echo $ECHO_N "(cached) $ECHO_C" >&6
32584 else
32585 ac_cv_header_GL_glu_h=$ac_header_preproc
32586 fi
32587 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32588 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32589
32590 fi
32591 if test $ac_cv_header_GL_glu_h = yes; then
32592
32593 found_gl=0
32594
32595 { echo "$as_me:$LINENO: checking for -lGL" >&5
32596 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32597
32598 ac_find_libraries=
32599 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32600 do
32601 for ac_extension in a so sl dylib dll.a; do
32602 if test -f "$ac_dir/libGL.$ac_extension"; then
32603 ac_find_libraries=$ac_dir
32604 break 2
32605 fi
32606 done
32607 done
32608
32609 if test "$ac_find_libraries" != "" ; then
32610 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32611 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32612
32613
32614 if test "$ac_find_libraries" = "default location"; then
32615 ac_path_to_link=""
32616 else
32617 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32618 result=$?
32619 if test $result = 0; then
32620 ac_path_to_link=""
32621 else
32622 ac_path_to_link=" -L$ac_find_libraries"
32623 fi
32624 fi
32625
32626 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32627 LDFLAGS_GL="$ac_path_to_link"
32628 fi
32629
32630 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32631 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32632
32633 ac_find_libraries=
32634 for ac_dir in $SEARCH_LIB;
32635 do
32636 for ac_extension in a so sl dylib dll.a; do
32637 if test -f "$ac_dir/libGLU.$ac_extension"; then
32638 ac_find_libraries=$ac_dir
32639 break 2
32640 fi
32641 done
32642 done
32643
32644 if test "$ac_find_libraries" != "" ; then
32645
32646 if test "$ac_find_libraries" = "default location"; then
32647 ac_path_to_link=""
32648 else
32649 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32650 result=$?
32651 if test $result = 0; then
32652 ac_path_to_link=""
32653 else
32654 ac_path_to_link=" -L$ac_find_libraries"
32655 fi
32656 fi
32657
32658 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32659 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32660 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32661 fi
32662
32663 found_gl=1
32664 OPENGL_LIBS="-lGL -lGLU"
32665 { echo "$as_me:$LINENO: result: yes" >&5
32666 echo "${ECHO_T}yes" >&6; }
32667 else
32668 { echo "$as_me:$LINENO: result: no" >&5
32669 echo "${ECHO_T}no" >&6; }
32670 fi
32671 else
32672 { echo "$as_me:$LINENO: result: no" >&5
32673 echo "${ECHO_T}no" >&6; }
32674 fi
32675
32676 if test "$found_gl" != 1; then
32677 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32678 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32679
32680 ac_find_libraries=
32681 for ac_dir in $SEARCH_LIB;
32682 do
32683 for ac_extension in a so sl dylib dll.a; do
32684 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32685 ac_find_libraries=$ac_dir
32686 break 2
32687 fi
32688 done
32689 done
32690
32691 if test "$ac_find_libraries" != "" ; then
32692
32693 if test "$ac_find_libraries" = "default location"; then
32694 ac_path_to_link=""
32695 else
32696 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32697 result=$?
32698 if test $result = 0; then
32699 ac_path_to_link=""
32700 else
32701 ac_path_to_link=" -L$ac_find_libraries"
32702 fi
32703 fi
32704
32705 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32706 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32707 { echo "$as_me:$LINENO: result: yes" >&5
32708 echo "${ECHO_T}yes" >&6; }
32709 else
32710 { echo "$as_me:$LINENO: result: no" >&5
32711 echo "${ECHO_T}no" >&6; }
32712 fi
32713 fi
32714
32715 fi
32716
32717
32718
32719 fi
32720
32721
32722
32723 if test "x$OPENGL_LIBS" = "x"; then
32724 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32725 echo "$as_me: error: OpenGL libraries not available" >&2;}
32726 { (exit 1); exit 1; }; }
32727 fi
32728 fi
32729
32730 if test "$wxUSE_OPENGL" = "yes"; then
32731 USE_OPENGL=1
32732 cat >>confdefs.h <<\_ACEOF
32733 #define wxUSE_OPENGL 1
32734 _ACEOF
32735
32736 cat >>confdefs.h <<\_ACEOF
32737 #define wxUSE_GLCANVAS 1
32738 _ACEOF
32739
32740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32741 fi
32742 fi
32743
32744
32745 if test -n "$TOOLKIT" ; then
32746 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32747 fi
32748
32749
32750
32751 if test "$wxUSE_SHARED" = "yes"; then
32752 case "${host}" in
32753 *-pc-msdosdjgpp )
32754 wxUSE_SHARED=no
32755 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32756 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32757 ;;
32758 esac
32759 fi
32760
32761 if test "$wxUSE_SHARED" = "yes"; then
32762
32763
32764 case "${host}" in
32765 *-*-cygwin* | *-*-mingw* )
32766 wx_cv_version_script=no
32767 ;;
32768
32769 *)
32770 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32771 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32772 if test "${wx_cv_version_script+set}" = set; then
32773 echo $ECHO_N "(cached) $ECHO_C" >&6
32774 else
32775
32776 echo "VER_1 { *; };" >conftest.sym
32777 echo "int main() { return 0; }" >conftest.cpp
32778
32779 if { ac_try='
32780 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32781 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32783 (eval $ac_try) 2>&5
32784 ac_status=$?
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); }; } ; then
32787 if test -s conftest.stderr ; then
32788 wx_cv_version_script=no
32789 else
32790 wx_cv_version_script=yes
32791 fi
32792 else
32793 wx_cv_version_script=no
32794 fi
32795
32796 if test $wx_cv_version_script = yes
32797 then
32798 echo "struct B { virtual ~B() { } }; \
32799 struct D : public B { }; \
32800 void F() { D d; }" > conftest.cpp
32801
32802 if { ac_try='
32803 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32804 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32806 (eval $ac_try) 2>&5
32807 ac_status=$?
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); }; } &&
32810 { ac_try='
32811 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32812 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32814 (eval $ac_try) 2>&5
32815 ac_status=$?
32816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32817 (exit $ac_status); }; }
32818 then
32819 if { ac_try='
32820 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32821 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32823 (eval $ac_try) 2>&5
32824 ac_status=$?
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); }; }
32827 then
32828 wx_cv_version_script=yes
32829 else
32830 wx_cv_version_script=no
32831 fi
32832 fi
32833 fi
32834
32835 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32836 rm -f conftest1.output conftest2.output conftest3.output
32837
32838 fi
32839 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32840 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32841
32842 if test $wx_cv_version_script = yes ; then
32843 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32844 fi
32845 ;;
32846 esac
32847
32848
32849 case "${host}" in
32850 *-*-linux* | *-*-gnu* )
32851 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32852 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32853 ;;
32854
32855 *-*-solaris2* )
32856 if test "$GCC" = yes ; then
32857 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32858
32859 saveLdflags="$LDFLAGS"
32860 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32861 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32862 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32863 cat >conftest.$ac_ext <<_ACEOF
32864 /* confdefs.h. */
32865 _ACEOF
32866 cat confdefs.h >>conftest.$ac_ext
32867 cat >>conftest.$ac_ext <<_ACEOF
32868 /* end confdefs.h. */
32869
32870 int
32871 main ()
32872 {
32873
32874 ;
32875 return 0;
32876 }
32877 _ACEOF
32878 rm -f conftest.$ac_objext conftest$ac_exeext
32879 if { (ac_try="$ac_link"
32880 case "(($ac_try" in
32881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32882 *) ac_try_echo=$ac_try;;
32883 esac
32884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32885 (eval "$ac_link") 2>conftest.er1
32886 ac_status=$?
32887 grep -v '^ *+' conftest.er1 >conftest.err
32888 rm -f conftest.er1
32889 cat conftest.err >&5
32890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32891 (exit $ac_status); } && {
32892 test -z "$ac_c_werror_flag" ||
32893 test ! -s conftest.err
32894 } && test -s conftest$ac_exeext &&
32895 $as_test_x conftest$ac_exeext; then
32896
32897 { echo "$as_me:$LINENO: result: yes" >&5
32898 echo "${ECHO_T}yes" >&6; }
32899 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32900 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32901
32902 else
32903 echo "$as_me: failed program was:" >&5
32904 sed 's/^/| /' conftest.$ac_ext >&5
32905
32906
32907 { echo "$as_me:$LINENO: result: no" >&5
32908 echo "${ECHO_T}no" >&6; }
32909 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32910 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32911 LDFLAGS="$saveLdflags -Wl,-R,/"
32912 cat >conftest.$ac_ext <<_ACEOF
32913 /* confdefs.h. */
32914 _ACEOF
32915 cat confdefs.h >>conftest.$ac_ext
32916 cat >>conftest.$ac_ext <<_ACEOF
32917 /* end confdefs.h. */
32918
32919 int
32920 main ()
32921 {
32922
32923 ;
32924 return 0;
32925 }
32926 _ACEOF
32927 rm -f conftest.$ac_objext conftest$ac_exeext
32928 if { (ac_try="$ac_link"
32929 case "(($ac_try" in
32930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32931 *) ac_try_echo=$ac_try;;
32932 esac
32933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32934 (eval "$ac_link") 2>conftest.er1
32935 ac_status=$?
32936 grep -v '^ *+' conftest.er1 >conftest.err
32937 rm -f conftest.er1
32938 cat conftest.err >&5
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); } && {
32941 test -z "$ac_c_werror_flag" ||
32942 test ! -s conftest.err
32943 } && test -s conftest$ac_exeext &&
32944 $as_test_x conftest$ac_exeext; then
32945
32946 { echo "$as_me:$LINENO: result: yes" >&5
32947 echo "${ECHO_T}yes" >&6; }
32948 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32949 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32950
32951 else
32952 echo "$as_me: failed program was:" >&5
32953 sed 's/^/| /' conftest.$ac_ext >&5
32954
32955
32956 { echo "$as_me:$LINENO: result: no" >&5
32957 echo "${ECHO_T}no" >&6; }
32958
32959 fi
32960
32961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32962 conftest$ac_exeext conftest.$ac_ext
32963
32964 fi
32965
32966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32967 conftest$ac_exeext conftest.$ac_ext
32968 LDFLAGS="$saveLdflags"
32969 else
32970 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32971 WXCONFIG_RPATH="-R\$libdir"
32972 fi
32973 ;;
32974
32975 *-*-darwin* )
32976 install_name_tool=`which install_name_tool`
32977 if test "$install_name_tool" -a -x "$install_name_tool"; then
32978 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32979 cat <<EOF >change-install-names
32980 #!/bin/sh
32981 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32982 inst_cmd="install_name_tool "
32983 for i in \${libnames} ; do
32984 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32985 done
32986 \${inst_cmd} \${3}
32987 EOF
32988 chmod +x change-install-names
32989 fi
32990 ;;
32991
32992 *-*-cygwin* | *-*-mingw32* )
32993 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32994 ;;
32995
32996 *-*-hpux* )
32997 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32998 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32999 ;;
33000
33001 esac
33002
33003 if test $wxUSE_RPATH = "no"; then
33004 SAMPLES_RPATH_FLAG=''
33005 SAMPLES_RPATH_POSTLINK=''
33006 WXCONFIG_RPATH=''
33007 fi
33008
33009 SHARED=1
33010
33011 else
33012
33013 config_linkage_component="-static"
33014 SHARED=0
33015
33016 fi
33017
33018
33019 UNICODE=0
33020 lib_unicode_suffix=
33021 WX_CHARTYPE="ansi"
33022 if test "$wxUSE_UNICODE" = "yes"; then
33023 lib_unicode_suffix=u
33024 WX_CHARTYPE="unicode"
33025 UNICODE=1
33026 fi
33027
33028 lib_debug_suffix=
33029 WX_DEBUGTYPE="release"
33030 DEBUG_FLAG=0
33031 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33032 lib_debug_suffix=d
33033 WX_DEBUGTYPE="debug"
33034 DEBUG_FLAG=1
33035 fi
33036
33037 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33038 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33039
33040 DEBUG_INFO=0
33041 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33042 DEBUG_INFO=1
33043 fi
33044
33045 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33046
33047 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33048
33049 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33050
33051 if test "$cross_compiling" = "yes"; then
33052 HOST_SUFFIX="-$host_alias"
33053 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33054 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33055 fi
33056
33057 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33058 if test "${TOOLKIT_DIR}" = "os2"; then
33059 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33060 else
33061 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33062 fi
33063
33064
33065
33066 if test "$wxUSE_COCOA" = 1; then
33067
33068 ac_ext=c
33069 ac_cpp='$CPP $CPPFLAGS'
33070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33073
33074 ac_ext=m
33075
33076 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33077 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33078 cat >conftest.$ac_ext <<_ACEOF
33079 /* confdefs.h. */
33080 _ACEOF
33081 cat confdefs.h >>conftest.$ac_ext
33082 cat >>conftest.$ac_ext <<_ACEOF
33083 /* end confdefs.h. */
33084 #include <AppKit/NSEvent.h>
33085 #include <CoreFoundation/CoreFoundation.h>
33086
33087 int
33088 main ()
33089 {
33090
33091 ;
33092 return 0;
33093 }
33094 _ACEOF
33095 rm -f conftest.$ac_objext
33096 if { (ac_try="$ac_compile"
33097 case "(($ac_try" in
33098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33099 *) ac_try_echo=$ac_try;;
33100 esac
33101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33102 (eval "$ac_compile") 2>conftest.er1
33103 ac_status=$?
33104 grep -v '^ *+' conftest.er1 >conftest.err
33105 rm -f conftest.er1
33106 cat conftest.err >&5
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); } && {
33109 test -z "$ac_c_werror_flag" ||
33110 test ! -s conftest.err
33111 } && test -s conftest.$ac_objext; then
33112 { echo "$as_me:$LINENO: result: no" >&5
33113 echo "${ECHO_T}no" >&6; }
33114 else
33115 echo "$as_me: failed program was:" >&5
33116 sed 's/^/| /' conftest.$ac_ext >&5
33117
33118 { echo "$as_me:$LINENO: result: yes" >&5
33119 echo "${ECHO_T}yes" >&6; }
33120 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33121 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33122 cat >conftest.$ac_ext <<_ACEOF
33123 /* confdefs.h. */
33124 _ACEOF
33125 cat confdefs.h >>conftest.$ac_ext
33126 cat >>conftest.$ac_ext <<_ACEOF
33127 /* end confdefs.h. */
33128 #define __Point__ 1
33129 #include <AppKit/NSEvent.h>
33130 #include <CoreFoundation/CoreFoundation.h>
33131
33132 int
33133 main ()
33134 {
33135
33136 ;
33137 return 0;
33138 }
33139 _ACEOF
33140 rm -f conftest.$ac_objext
33141 if { (ac_try="$ac_compile"
33142 case "(($ac_try" in
33143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33144 *) ac_try_echo=$ac_try;;
33145 esac
33146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33147 (eval "$ac_compile") 2>conftest.er1
33148 ac_status=$?
33149 grep -v '^ *+' conftest.er1 >conftest.err
33150 rm -f conftest.er1
33151 cat conftest.err >&5
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); } && {
33154 test -z "$ac_c_werror_flag" ||
33155 test ! -s conftest.err
33156 } && test -s conftest.$ac_objext; then
33157 { echo "$as_me:$LINENO: result: yes" >&5
33158 echo "${ECHO_T}yes" >&6; }
33159 cat >>confdefs.h <<\_ACEOF
33160 #define __Point__ 1
33161 _ACEOF
33162
33163
33164 else
33165 echo "$as_me: failed program was:" >&5
33166 sed 's/^/| /' conftest.$ac_ext >&5
33167
33168 { { echo "$as_me:$LINENO: error: no
33169 See \`config.log' for more details." >&5
33170 echo "$as_me: error: no
33171 See \`config.log' for more details." >&2;}
33172 { (exit 1); exit 1; }; }
33173
33174 fi
33175
33176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33177
33178 fi
33179
33180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33181 ac_ext=c
33182 ac_cpp='$CPP $CPPFLAGS'
33183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33186
33187 fi
33188
33189 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33190 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33191 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33192
33193 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33194
33195 # Extract the first word of "Rez", so it can be a program name with args.
33196 set dummy Rez; ac_word=$2
33197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33199 if test "${ac_cv_prog_REZ+set}" = set; then
33200 echo $ECHO_N "(cached) $ECHO_C" >&6
33201 else
33202 if test -n "$REZ"; then
33203 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33204 else
33205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33206 for as_dir in $PATH
33207 do
33208 IFS=$as_save_IFS
33209 test -z "$as_dir" && as_dir=.
33210 for ac_exec_ext in '' $ac_executable_extensions; do
33211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33212 ac_cv_prog_REZ="Rez"
33213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33214 break 2
33215 fi
33216 done
33217 done
33218 IFS=$as_save_IFS
33219
33220 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33221 fi
33222 fi
33223 REZ=$ac_cv_prog_REZ
33224 if test -n "$REZ"; then
33225 { echo "$as_me:$LINENO: result: $REZ" >&5
33226 echo "${ECHO_T}$REZ" >&6; }
33227 else
33228 { echo "$as_me:$LINENO: result: no" >&5
33229 echo "${ECHO_T}no" >&6; }
33230 fi
33231
33232
33233 # Extract the first word of "DeRez", so it can be a program name with args.
33234 set dummy DeRez; ac_word=$2
33235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33237 if test "${ac_cv_prog_DEREZ+set}" = set; then
33238 echo $ECHO_N "(cached) $ECHO_C" >&6
33239 else
33240 if test -n "$DEREZ"; then
33241 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33242 else
33243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33244 for as_dir in $PATH
33245 do
33246 IFS=$as_save_IFS
33247 test -z "$as_dir" && as_dir=.
33248 for ac_exec_ext in '' $ac_executable_extensions; do
33249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33250 ac_cv_prog_DEREZ="DeRez"
33251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33252 break 2
33253 fi
33254 done
33255 done
33256 IFS=$as_save_IFS
33257
33258 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33259 fi
33260 fi
33261 DEREZ=$ac_cv_prog_DEREZ
33262 if test -n "$DEREZ"; then
33263 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33264 echo "${ECHO_T}$DEREZ" >&6; }
33265 else
33266 { echo "$as_me:$LINENO: result: no" >&5
33267 echo "${ECHO_T}no" >&6; }
33268 fi
33269
33270
33271 # Extract the first word of "SetFile", so it can be a program name with args.
33272 set dummy SetFile; ac_word=$2
33273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33275 if test "${ac_cv_prog_SETFILE+set}" = set; then
33276 echo $ECHO_N "(cached) $ECHO_C" >&6
33277 else
33278 if test -n "$SETFILE"; then
33279 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33280 else
33281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33282 for as_dir in $PATH
33283 do
33284 IFS=$as_save_IFS
33285 test -z "$as_dir" && as_dir=.
33286 for ac_exec_ext in '' $ac_executable_extensions; do
33287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33288 ac_cv_prog_SETFILE="SetFile"
33289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33290 break 2
33291 fi
33292 done
33293 done
33294 IFS=$as_save_IFS
33295
33296 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33297 fi
33298 fi
33299 SETFILE=$ac_cv_prog_SETFILE
33300 if test -n "$SETFILE"; then
33301 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33302 echo "${ECHO_T}$SETFILE" >&6; }
33303 else
33304 { echo "$as_me:$LINENO: result: no" >&5
33305 echo "${ECHO_T}no" >&6; }
33306 fi
33307
33308
33309
33310 MACSETFILE="\$(SETFILE)"
33311
33312 if test "$wxUSE_MAC" = 1; then
33313 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33314 RESCOMP="$REZ"
33315 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33316 else
33317 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33318 RESCOMP="echo -n \| $REZ"
33319 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33320 fi
33321
33322 else
33323 MACSETFILE="@true"
33324
33325 if test "$wxUSE_PM" = 1; then
33326 RESCOMP="emxbind"
33327 WXCONFIG_RESFLAGS="-ep"
33328
33329 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33330 else
33331 POSTLINK_COMMAND="@true"
33332 fi
33333
33334 fi
33335
33336
33337
33338 { echo "$as_me:$LINENO: checking for mode_t" >&5
33339 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33340 if test "${ac_cv_type_mode_t+set}" = set; then
33341 echo $ECHO_N "(cached) $ECHO_C" >&6
33342 else
33343 cat >conftest.$ac_ext <<_ACEOF
33344 /* confdefs.h. */
33345 _ACEOF
33346 cat confdefs.h >>conftest.$ac_ext
33347 cat >>conftest.$ac_ext <<_ACEOF
33348 /* end confdefs.h. */
33349 $ac_includes_default
33350 typedef mode_t ac__type_new_;
33351 int
33352 main ()
33353 {
33354 if ((ac__type_new_ *) 0)
33355 return 0;
33356 if (sizeof (ac__type_new_))
33357 return 0;
33358 ;
33359 return 0;
33360 }
33361 _ACEOF
33362 rm -f conftest.$ac_objext
33363 if { (ac_try="$ac_compile"
33364 case "(($ac_try" in
33365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33366 *) ac_try_echo=$ac_try;;
33367 esac
33368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33369 (eval "$ac_compile") 2>conftest.er1
33370 ac_status=$?
33371 grep -v '^ *+' conftest.er1 >conftest.err
33372 rm -f conftest.er1
33373 cat conftest.err >&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); } && {
33376 test -z "$ac_c_werror_flag" ||
33377 test ! -s conftest.err
33378 } && test -s conftest.$ac_objext; then
33379 ac_cv_type_mode_t=yes
33380 else
33381 echo "$as_me: failed program was:" >&5
33382 sed 's/^/| /' conftest.$ac_ext >&5
33383
33384 ac_cv_type_mode_t=no
33385 fi
33386
33387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33388 fi
33389 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33390 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33391 if test $ac_cv_type_mode_t = yes; then
33392 :
33393 else
33394
33395 cat >>confdefs.h <<_ACEOF
33396 #define mode_t int
33397 _ACEOF
33398
33399 fi
33400
33401 { echo "$as_me:$LINENO: checking for off_t" >&5
33402 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33403 if test "${ac_cv_type_off_t+set}" = set; then
33404 echo $ECHO_N "(cached) $ECHO_C" >&6
33405 else
33406 cat >conftest.$ac_ext <<_ACEOF
33407 /* confdefs.h. */
33408 _ACEOF
33409 cat confdefs.h >>conftest.$ac_ext
33410 cat >>conftest.$ac_ext <<_ACEOF
33411 /* end confdefs.h. */
33412 $ac_includes_default
33413 typedef off_t ac__type_new_;
33414 int
33415 main ()
33416 {
33417 if ((ac__type_new_ *) 0)
33418 return 0;
33419 if (sizeof (ac__type_new_))
33420 return 0;
33421 ;
33422 return 0;
33423 }
33424 _ACEOF
33425 rm -f conftest.$ac_objext
33426 if { (ac_try="$ac_compile"
33427 case "(($ac_try" in
33428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33429 *) ac_try_echo=$ac_try;;
33430 esac
33431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33432 (eval "$ac_compile") 2>conftest.er1
33433 ac_status=$?
33434 grep -v '^ *+' conftest.er1 >conftest.err
33435 rm -f conftest.er1
33436 cat conftest.err >&5
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); } && {
33439 test -z "$ac_c_werror_flag" ||
33440 test ! -s conftest.err
33441 } && test -s conftest.$ac_objext; then
33442 ac_cv_type_off_t=yes
33443 else
33444 echo "$as_me: failed program was:" >&5
33445 sed 's/^/| /' conftest.$ac_ext >&5
33446
33447 ac_cv_type_off_t=no
33448 fi
33449
33450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33451 fi
33452 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33453 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33454 if test $ac_cv_type_off_t = yes; then
33455 :
33456 else
33457
33458 cat >>confdefs.h <<_ACEOF
33459 #define off_t long int
33460 _ACEOF
33461
33462 fi
33463
33464 { echo "$as_me:$LINENO: checking for pid_t" >&5
33465 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33466 if test "${ac_cv_type_pid_t+set}" = set; then
33467 echo $ECHO_N "(cached) $ECHO_C" >&6
33468 else
33469 cat >conftest.$ac_ext <<_ACEOF
33470 /* confdefs.h. */
33471 _ACEOF
33472 cat confdefs.h >>conftest.$ac_ext
33473 cat >>conftest.$ac_ext <<_ACEOF
33474 /* end confdefs.h. */
33475 $ac_includes_default
33476 typedef pid_t ac__type_new_;
33477 int
33478 main ()
33479 {
33480 if ((ac__type_new_ *) 0)
33481 return 0;
33482 if (sizeof (ac__type_new_))
33483 return 0;
33484 ;
33485 return 0;
33486 }
33487 _ACEOF
33488 rm -f conftest.$ac_objext
33489 if { (ac_try="$ac_compile"
33490 case "(($ac_try" in
33491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33492 *) ac_try_echo=$ac_try;;
33493 esac
33494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33495 (eval "$ac_compile") 2>conftest.er1
33496 ac_status=$?
33497 grep -v '^ *+' conftest.er1 >conftest.err
33498 rm -f conftest.er1
33499 cat conftest.err >&5
33500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33501 (exit $ac_status); } && {
33502 test -z "$ac_c_werror_flag" ||
33503 test ! -s conftest.err
33504 } && test -s conftest.$ac_objext; then
33505 ac_cv_type_pid_t=yes
33506 else
33507 echo "$as_me: failed program was:" >&5
33508 sed 's/^/| /' conftest.$ac_ext >&5
33509
33510 ac_cv_type_pid_t=no
33511 fi
33512
33513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33514 fi
33515 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33516 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33517 if test $ac_cv_type_pid_t = yes; then
33518 :
33519 else
33520
33521 cat >>confdefs.h <<_ACEOF
33522 #define pid_t int
33523 _ACEOF
33524
33525 fi
33526
33527 { echo "$as_me:$LINENO: checking for size_t" >&5
33528 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33529 if test "${ac_cv_type_size_t+set}" = set; then
33530 echo $ECHO_N "(cached) $ECHO_C" >&6
33531 else
33532 cat >conftest.$ac_ext <<_ACEOF
33533 /* confdefs.h. */
33534 _ACEOF
33535 cat confdefs.h >>conftest.$ac_ext
33536 cat >>conftest.$ac_ext <<_ACEOF
33537 /* end confdefs.h. */
33538 $ac_includes_default
33539 typedef size_t ac__type_new_;
33540 int
33541 main ()
33542 {
33543 if ((ac__type_new_ *) 0)
33544 return 0;
33545 if (sizeof (ac__type_new_))
33546 return 0;
33547 ;
33548 return 0;
33549 }
33550 _ACEOF
33551 rm -f conftest.$ac_objext
33552 if { (ac_try="$ac_compile"
33553 case "(($ac_try" in
33554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33555 *) ac_try_echo=$ac_try;;
33556 esac
33557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33558 (eval "$ac_compile") 2>conftest.er1
33559 ac_status=$?
33560 grep -v '^ *+' conftest.er1 >conftest.err
33561 rm -f conftest.er1
33562 cat conftest.err >&5
33563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33564 (exit $ac_status); } && {
33565 test -z "$ac_c_werror_flag" ||
33566 test ! -s conftest.err
33567 } && test -s conftest.$ac_objext; then
33568 ac_cv_type_size_t=yes
33569 else
33570 echo "$as_me: failed program was:" >&5
33571 sed 's/^/| /' conftest.$ac_ext >&5
33572
33573 ac_cv_type_size_t=no
33574 fi
33575
33576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33577 fi
33578 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33579 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33580 if test $ac_cv_type_size_t = yes; then
33581 :
33582 else
33583
33584 cat >>confdefs.h <<_ACEOF
33585 #define size_t unsigned int
33586 _ACEOF
33587
33588 fi
33589
33590 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33591 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33592 if test "${ac_cv_type_uid_t+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 #include <sys/types.h>
33602
33603 _ACEOF
33604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33605 $EGREP "uid_t" >/dev/null 2>&1; then
33606 ac_cv_type_uid_t=yes
33607 else
33608 ac_cv_type_uid_t=no
33609 fi
33610 rm -f conftest*
33611
33612 fi
33613 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33614 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33615 if test $ac_cv_type_uid_t = no; then
33616
33617 cat >>confdefs.h <<\_ACEOF
33618 #define uid_t int
33619 _ACEOF
33620
33621
33622 cat >>confdefs.h <<\_ACEOF
33623 #define gid_t int
33624 _ACEOF
33625
33626 fi
33627
33628
33629 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33630 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33631 if test "${ac_cv_type_ssize_t+set}" = set; then
33632 echo $ECHO_N "(cached) $ECHO_C" >&6
33633 else
33634 cat >conftest.$ac_ext <<_ACEOF
33635 /* confdefs.h. */
33636 _ACEOF
33637 cat confdefs.h >>conftest.$ac_ext
33638 cat >>conftest.$ac_ext <<_ACEOF
33639 /* end confdefs.h. */
33640 $ac_includes_default
33641 typedef ssize_t ac__type_new_;
33642 int
33643 main ()
33644 {
33645 if ((ac__type_new_ *) 0)
33646 return 0;
33647 if (sizeof (ac__type_new_))
33648 return 0;
33649 ;
33650 return 0;
33651 }
33652 _ACEOF
33653 rm -f conftest.$ac_objext
33654 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
33661 ac_status=$?
33662 grep -v '^ *+' conftest.er1 >conftest.err
33663 rm -f conftest.er1
33664 cat conftest.err >&5
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); } && {
33667 test -z "$ac_c_werror_flag" ||
33668 test ! -s conftest.err
33669 } && test -s conftest.$ac_objext; then
33670 ac_cv_type_ssize_t=yes
33671 else
33672 echo "$as_me: failed program was:" >&5
33673 sed 's/^/| /' conftest.$ac_ext >&5
33674
33675 ac_cv_type_ssize_t=no
33676 fi
33677
33678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33679 fi
33680 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33681 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33682 if test $ac_cv_type_ssize_t = yes; then
33683
33684 cat >>confdefs.h <<_ACEOF
33685 #define HAVE_SSIZE_T 1
33686 _ACEOF
33687
33688
33689 fi
33690
33691
33692 ac_ext=cpp
33693 ac_cpp='$CXXCPP $CPPFLAGS'
33694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33697 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33698 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33699 if test "${wx_cv_size_t_is_uint+set}" = set; then
33700 echo $ECHO_N "(cached) $ECHO_C" >&6
33701 else
33702
33703 cat >conftest.$ac_ext <<_ACEOF
33704 /* confdefs.h. */
33705 _ACEOF
33706 cat confdefs.h >>conftest.$ac_ext
33707 cat >>conftest.$ac_ext <<_ACEOF
33708 /* end confdefs.h. */
33709 #include <stddef.h>
33710 int
33711 main ()
33712 {
33713
33714 return 0; }
33715
33716 struct Foo { void foo(size_t); void foo(unsigned int); };
33717
33718 int bar() {
33719
33720 ;
33721 return 0;
33722 }
33723 _ACEOF
33724 rm -f conftest.$ac_objext
33725 if { (ac_try="$ac_compile"
33726 case "(($ac_try" in
33727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33728 *) ac_try_echo=$ac_try;;
33729 esac
33730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33731 (eval "$ac_compile") 2>conftest.er1
33732 ac_status=$?
33733 grep -v '^ *+' conftest.er1 >conftest.err
33734 rm -f conftest.er1
33735 cat conftest.err >&5
33736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33737 (exit $ac_status); } && {
33738 test -z "$ac_cxx_werror_flag" ||
33739 test ! -s conftest.err
33740 } && test -s conftest.$ac_objext; then
33741 wx_cv_size_t_is_uint=no
33742 else
33743 echo "$as_me: failed program was:" >&5
33744 sed 's/^/| /' conftest.$ac_ext >&5
33745
33746 wx_cv_size_t_is_uint=yes
33747
33748 fi
33749
33750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33751
33752
33753 fi
33754 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33755 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33756
33757 if test "$wx_cv_size_t_is_uint" = "yes"; then
33758 cat >>confdefs.h <<\_ACEOF
33759 #define wxSIZE_T_IS_UINT 1
33760 _ACEOF
33761
33762 else
33763 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33764 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33765 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33766 echo $ECHO_N "(cached) $ECHO_C" >&6
33767 else
33768 cat >conftest.$ac_ext <<_ACEOF
33769 /* confdefs.h. */
33770 _ACEOF
33771 cat confdefs.h >>conftest.$ac_ext
33772 cat >>conftest.$ac_ext <<_ACEOF
33773 /* end confdefs.h. */
33774 #include <stddef.h>
33775 int
33776 main ()
33777 {
33778
33779 return 0; }
33780
33781 struct Foo { void foo(size_t); void foo(unsigned long); };
33782
33783 int bar() {
33784
33785 ;
33786 return 0;
33787 }
33788 _ACEOF
33789 rm -f conftest.$ac_objext
33790 if { (ac_try="$ac_compile"
33791 case "(($ac_try" in
33792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33793 *) ac_try_echo=$ac_try;;
33794 esac
33795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33796 (eval "$ac_compile") 2>conftest.er1
33797 ac_status=$?
33798 grep -v '^ *+' conftest.er1 >conftest.err
33799 rm -f conftest.er1
33800 cat conftest.err >&5
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); } && {
33803 test -z "$ac_cxx_werror_flag" ||
33804 test ! -s conftest.err
33805 } && test -s conftest.$ac_objext; then
33806 wx_cv_size_t_is_ulong=no
33807 else
33808 echo "$as_me: failed program was:" >&5
33809 sed 's/^/| /' conftest.$ac_ext >&5
33810
33811 wx_cv_size_t_is_ulong=yes
33812
33813 fi
33814
33815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33816
33817 fi
33818 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33819 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33820
33821 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33822 cat >>confdefs.h <<\_ACEOF
33823 #define wxSIZE_T_IS_ULONG 1
33824 _ACEOF
33825
33826 fi
33827 fi
33828
33829 ac_ext=c
33830 ac_cpp='$CPP $CPPFLAGS'
33831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33834
33835
33836 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33837 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33838 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33839 echo $ECHO_N "(cached) $ECHO_C" >&6
33840 else
33841
33842 cat >conftest.$ac_ext <<_ACEOF
33843 /* confdefs.h. */
33844 _ACEOF
33845 cat confdefs.h >>conftest.$ac_ext
33846 cat >>conftest.$ac_ext <<_ACEOF
33847 /* end confdefs.h. */
33848 #include <pwd.h>
33849 int
33850 main ()
33851 {
33852
33853 char *p;
33854 struct passwd *pw;
33855 p = pw->pw_gecos;
33856
33857 ;
33858 return 0;
33859 }
33860 _ACEOF
33861 rm -f conftest.$ac_objext
33862 if { (ac_try="$ac_compile"
33863 case "(($ac_try" in
33864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33865 *) ac_try_echo=$ac_try;;
33866 esac
33867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33868 (eval "$ac_compile") 2>conftest.er1
33869 ac_status=$?
33870 grep -v '^ *+' conftest.er1 >conftest.err
33871 rm -f conftest.er1
33872 cat conftest.err >&5
33873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33874 (exit $ac_status); } && {
33875 test -z "$ac_c_werror_flag" ||
33876 test ! -s conftest.err
33877 } && test -s conftest.$ac_objext; then
33878
33879 wx_cv_struct_pw_gecos=yes
33880
33881 else
33882 echo "$as_me: failed program was:" >&5
33883 sed 's/^/| /' conftest.$ac_ext >&5
33884
33885
33886 wx_cv_struct_pw_gecos=no
33887
33888
33889 fi
33890
33891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33892
33893
33894 fi
33895 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33896 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33897
33898 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33899 cat >>confdefs.h <<\_ACEOF
33900 #define HAVE_PW_GECOS 1
33901 _ACEOF
33902
33903 fi
33904
33905
33906 if test "$wxUSE_WCHAR_T" = "yes"; then
33907 cat >>confdefs.h <<\_ACEOF
33908 #define wxUSE_WCHAR_T 1
33909 _ACEOF
33910
33911
33912 WCSLEN_FOUND=0
33913 WCHAR_LINK=
33914
33915 for ac_func in wcslen
33916 do
33917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33918 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33920 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33921 echo $ECHO_N "(cached) $ECHO_C" >&6
33922 else
33923 cat >conftest.$ac_ext <<_ACEOF
33924 /* confdefs.h. */
33925 _ACEOF
33926 cat confdefs.h >>conftest.$ac_ext
33927 cat >>conftest.$ac_ext <<_ACEOF
33928 /* end confdefs.h. */
33929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33931 #define $ac_func innocuous_$ac_func
33932
33933 /* System header to define __stub macros and hopefully few prototypes,
33934 which can conflict with char $ac_func (); below.
33935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33936 <limits.h> exists even on freestanding compilers. */
33937
33938 #ifdef __STDC__
33939 # include <limits.h>
33940 #else
33941 # include <assert.h>
33942 #endif
33943
33944 #undef $ac_func
33945
33946 /* Override any GCC internal prototype to avoid an error.
33947 Use char because int might match the return type of a GCC
33948 builtin and then its argument prototype would still apply. */
33949 #ifdef __cplusplus
33950 extern "C"
33951 #endif
33952 char $ac_func ();
33953 /* The GNU C library defines this for functions which it implements
33954 to always fail with ENOSYS. Some functions are actually named
33955 something starting with __ and the normal name is an alias. */
33956 #if defined __stub_$ac_func || defined __stub___$ac_func
33957 choke me
33958 #endif
33959
33960 int
33961 main ()
33962 {
33963 return $ac_func ();
33964 ;
33965 return 0;
33966 }
33967 _ACEOF
33968 rm -f conftest.$ac_objext conftest$ac_exeext
33969 if { (ac_try="$ac_link"
33970 case "(($ac_try" in
33971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33972 *) ac_try_echo=$ac_try;;
33973 esac
33974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33975 (eval "$ac_link") 2>conftest.er1
33976 ac_status=$?
33977 grep -v '^ *+' conftest.er1 >conftest.err
33978 rm -f conftest.er1
33979 cat conftest.err >&5
33980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33981 (exit $ac_status); } && {
33982 test -z "$ac_c_werror_flag" ||
33983 test ! -s conftest.err
33984 } && test -s conftest$ac_exeext &&
33985 $as_test_x conftest$ac_exeext; then
33986 eval "$as_ac_var=yes"
33987 else
33988 echo "$as_me: failed program was:" >&5
33989 sed 's/^/| /' conftest.$ac_ext >&5
33990
33991 eval "$as_ac_var=no"
33992 fi
33993
33994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33995 conftest$ac_exeext conftest.$ac_ext
33996 fi
33997 ac_res=`eval echo '${'$as_ac_var'}'`
33998 { echo "$as_me:$LINENO: result: $ac_res" >&5
33999 echo "${ECHO_T}$ac_res" >&6; }
34000 if test `eval echo '${'$as_ac_var'}'` = yes; then
34001 cat >>confdefs.h <<_ACEOF
34002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34003 _ACEOF
34004 WCSLEN_FOUND=1
34005 fi
34006 done
34007
34008
34009 if test "$WCSLEN_FOUND" = 0; then
34010 if test "$TOOLKIT" = "MSW"; then
34011 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34012 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34013 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34014 echo $ECHO_N "(cached) $ECHO_C" >&6
34015 else
34016 ac_check_lib_save_LIBS=$LIBS
34017 LIBS="-lmsvcrt $LIBS"
34018 cat >conftest.$ac_ext <<_ACEOF
34019 /* confdefs.h. */
34020 _ACEOF
34021 cat confdefs.h >>conftest.$ac_ext
34022 cat >>conftest.$ac_ext <<_ACEOF
34023 /* end confdefs.h. */
34024
34025 /* Override any GCC internal prototype to avoid an error.
34026 Use char because int might match the return type of a GCC
34027 builtin and then its argument prototype would still apply. */
34028 #ifdef __cplusplus
34029 extern "C"
34030 #endif
34031 char wcslen ();
34032 int
34033 main ()
34034 {
34035 return wcslen ();
34036 ;
34037 return 0;
34038 }
34039 _ACEOF
34040 rm -f conftest.$ac_objext conftest$ac_exeext
34041 if { (ac_try="$ac_link"
34042 case "(($ac_try" in
34043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34044 *) ac_try_echo=$ac_try;;
34045 esac
34046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34047 (eval "$ac_link") 2>conftest.er1
34048 ac_status=$?
34049 grep -v '^ *+' conftest.er1 >conftest.err
34050 rm -f conftest.er1
34051 cat conftest.err >&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); } && {
34054 test -z "$ac_c_werror_flag" ||
34055 test ! -s conftest.err
34056 } && test -s conftest$ac_exeext &&
34057 $as_test_x conftest$ac_exeext; then
34058 ac_cv_lib_msvcrt_wcslen=yes
34059 else
34060 echo "$as_me: failed program was:" >&5
34061 sed 's/^/| /' conftest.$ac_ext >&5
34062
34063 ac_cv_lib_msvcrt_wcslen=no
34064 fi
34065
34066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34067 conftest$ac_exeext conftest.$ac_ext
34068 LIBS=$ac_check_lib_save_LIBS
34069 fi
34070 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34071 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34072 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34073 WCHAR_OK=1
34074 fi
34075
34076 else
34077 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34078 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34079 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34080 echo $ECHO_N "(cached) $ECHO_C" >&6
34081 else
34082 ac_check_lib_save_LIBS=$LIBS
34083 LIBS="-lw $LIBS"
34084 cat >conftest.$ac_ext <<_ACEOF
34085 /* confdefs.h. */
34086 _ACEOF
34087 cat confdefs.h >>conftest.$ac_ext
34088 cat >>conftest.$ac_ext <<_ACEOF
34089 /* end confdefs.h. */
34090
34091 /* Override any GCC internal prototype to avoid an error.
34092 Use char because int might match the return type of a GCC
34093 builtin and then its argument prototype would still apply. */
34094 #ifdef __cplusplus
34095 extern "C"
34096 #endif
34097 char wcslen ();
34098 int
34099 main ()
34100 {
34101 return wcslen ();
34102 ;
34103 return 0;
34104 }
34105 _ACEOF
34106 rm -f conftest.$ac_objext conftest$ac_exeext
34107 if { (ac_try="$ac_link"
34108 case "(($ac_try" in
34109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34110 *) ac_try_echo=$ac_try;;
34111 esac
34112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34113 (eval "$ac_link") 2>conftest.er1
34114 ac_status=$?
34115 grep -v '^ *+' conftest.er1 >conftest.err
34116 rm -f conftest.er1
34117 cat conftest.err >&5
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); } && {
34120 test -z "$ac_c_werror_flag" ||
34121 test ! -s conftest.err
34122 } && test -s conftest$ac_exeext &&
34123 $as_test_x conftest$ac_exeext; then
34124 ac_cv_lib_w_wcslen=yes
34125 else
34126 echo "$as_me: failed program was:" >&5
34127 sed 's/^/| /' conftest.$ac_ext >&5
34128
34129 ac_cv_lib_w_wcslen=no
34130 fi
34131
34132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34133 conftest$ac_exeext conftest.$ac_ext
34134 LIBS=$ac_check_lib_save_LIBS
34135 fi
34136 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34137 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34138 if test $ac_cv_lib_w_wcslen = yes; then
34139
34140 WCHAR_LINK=" -lw"
34141 WCSLEN_FOUND=1
34142
34143 fi
34144
34145 fi
34146 fi
34147
34148 if test "$WCSLEN_FOUND" = 1; then
34149 cat >>confdefs.h <<\_ACEOF
34150 #define HAVE_WCSLEN 1
34151 _ACEOF
34152
34153 fi
34154
34155 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34156 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34157 fi
34158
34159 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34160 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34161 if test "${ac_cv_type_mbstate_t+set}" = set; then
34162 echo $ECHO_N "(cached) $ECHO_C" >&6
34163 else
34164 cat >conftest.$ac_ext <<_ACEOF
34165 /* confdefs.h. */
34166 _ACEOF
34167 cat confdefs.h >>conftest.$ac_ext
34168 cat >>conftest.$ac_ext <<_ACEOF
34169 /* end confdefs.h. */
34170 #include <wchar.h>
34171
34172 typedef mbstate_t ac__type_new_;
34173 int
34174 main ()
34175 {
34176 if ((ac__type_new_ *) 0)
34177 return 0;
34178 if (sizeof (ac__type_new_))
34179 return 0;
34180 ;
34181 return 0;
34182 }
34183 _ACEOF
34184 rm -f conftest.$ac_objext
34185 if { (ac_try="$ac_compile"
34186 case "(($ac_try" in
34187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34188 *) ac_try_echo=$ac_try;;
34189 esac
34190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34191 (eval "$ac_compile") 2>conftest.er1
34192 ac_status=$?
34193 grep -v '^ *+' conftest.er1 >conftest.err
34194 rm -f conftest.er1
34195 cat conftest.err >&5
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); } && {
34198 test -z "$ac_c_werror_flag" ||
34199 test ! -s conftest.err
34200 } && test -s conftest.$ac_objext; then
34201 ac_cv_type_mbstate_t=yes
34202 else
34203 echo "$as_me: failed program was:" >&5
34204 sed 's/^/| /' conftest.$ac_ext >&5
34205
34206 ac_cv_type_mbstate_t=no
34207 fi
34208
34209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34210 fi
34211 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34212 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34213 if test $ac_cv_type_mbstate_t = yes; then
34214
34215 cat >>confdefs.h <<_ACEOF
34216 #define HAVE_MBSTATE_T 1
34217 _ACEOF
34218
34219
34220 for ac_func in wcsrtombs
34221 do
34222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34223 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34225 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34226 echo $ECHO_N "(cached) $ECHO_C" >&6
34227 else
34228 cat >conftest.$ac_ext <<_ACEOF
34229 /* confdefs.h. */
34230 _ACEOF
34231 cat confdefs.h >>conftest.$ac_ext
34232 cat >>conftest.$ac_ext <<_ACEOF
34233 /* end confdefs.h. */
34234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34236 #define $ac_func innocuous_$ac_func
34237
34238 /* System header to define __stub macros and hopefully few prototypes,
34239 which can conflict with char $ac_func (); below.
34240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34241 <limits.h> exists even on freestanding compilers. */
34242
34243 #ifdef __STDC__
34244 # include <limits.h>
34245 #else
34246 # include <assert.h>
34247 #endif
34248
34249 #undef $ac_func
34250
34251 /* Override any GCC internal prototype to avoid an error.
34252 Use char because int might match the return type of a GCC
34253 builtin and then its argument prototype would still apply. */
34254 #ifdef __cplusplus
34255 extern "C"
34256 #endif
34257 char $ac_func ();
34258 /* The GNU C library defines this for functions which it implements
34259 to always fail with ENOSYS. Some functions are actually named
34260 something starting with __ and the normal name is an alias. */
34261 #if defined __stub_$ac_func || defined __stub___$ac_func
34262 choke me
34263 #endif
34264
34265 int
34266 main ()
34267 {
34268 return $ac_func ();
34269 ;
34270 return 0;
34271 }
34272 _ACEOF
34273 rm -f conftest.$ac_objext conftest$ac_exeext
34274 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
34281 ac_status=$?
34282 grep -v '^ *+' conftest.er1 >conftest.err
34283 rm -f conftest.er1
34284 cat conftest.err >&5
34285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34286 (exit $ac_status); } && {
34287 test -z "$ac_c_werror_flag" ||
34288 test ! -s conftest.err
34289 } && test -s conftest$ac_exeext &&
34290 $as_test_x conftest$ac_exeext; then
34291 eval "$as_ac_var=yes"
34292 else
34293 echo "$as_me: failed program was:" >&5
34294 sed 's/^/| /' conftest.$ac_ext >&5
34295
34296 eval "$as_ac_var=no"
34297 fi
34298
34299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34300 conftest$ac_exeext conftest.$ac_ext
34301 fi
34302 ac_res=`eval echo '${'$as_ac_var'}'`
34303 { echo "$as_me:$LINENO: result: $ac_res" >&5
34304 echo "${ECHO_T}$ac_res" >&6; }
34305 if test `eval echo '${'$as_ac_var'}'` = yes; then
34306 cat >>confdefs.h <<_ACEOF
34307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34308 _ACEOF
34309
34310 fi
34311 done
34312
34313 fi
34314
34315 else
34316 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34317 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34318 fi
34319
34320
34321
34322 for ac_func in snprintf vsnprintf
34323 do
34324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34328 echo $ECHO_N "(cached) $ECHO_C" >&6
34329 else
34330 cat >conftest.$ac_ext <<_ACEOF
34331 /* confdefs.h. */
34332 _ACEOF
34333 cat confdefs.h >>conftest.$ac_ext
34334 cat >>conftest.$ac_ext <<_ACEOF
34335 /* end confdefs.h. */
34336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34338 #define $ac_func innocuous_$ac_func
34339
34340 /* System header to define __stub macros and hopefully few prototypes,
34341 which can conflict with char $ac_func (); below.
34342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34343 <limits.h> exists even on freestanding compilers. */
34344
34345 #ifdef __STDC__
34346 # include <limits.h>
34347 #else
34348 # include <assert.h>
34349 #endif
34350
34351 #undef $ac_func
34352
34353 /* Override any GCC internal prototype to avoid an error.
34354 Use char because int might match the return type of a GCC
34355 builtin and then its argument prototype would still apply. */
34356 #ifdef __cplusplus
34357 extern "C"
34358 #endif
34359 char $ac_func ();
34360 /* The GNU C library defines this for functions which it implements
34361 to always fail with ENOSYS. Some functions are actually named
34362 something starting with __ and the normal name is an alias. */
34363 #if defined __stub_$ac_func || defined __stub___$ac_func
34364 choke me
34365 #endif
34366
34367 int
34368 main ()
34369 {
34370 return $ac_func ();
34371 ;
34372 return 0;
34373 }
34374 _ACEOF
34375 rm -f conftest.$ac_objext conftest$ac_exeext
34376 if { (ac_try="$ac_link"
34377 case "(($ac_try" in
34378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34379 *) ac_try_echo=$ac_try;;
34380 esac
34381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34382 (eval "$ac_link") 2>conftest.er1
34383 ac_status=$?
34384 grep -v '^ *+' conftest.er1 >conftest.err
34385 rm -f conftest.er1
34386 cat conftest.err >&5
34387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34388 (exit $ac_status); } && {
34389 test -z "$ac_c_werror_flag" ||
34390 test ! -s conftest.err
34391 } && test -s conftest$ac_exeext &&
34392 $as_test_x conftest$ac_exeext; then
34393 eval "$as_ac_var=yes"
34394 else
34395 echo "$as_me: failed program was:" >&5
34396 sed 's/^/| /' conftest.$ac_ext >&5
34397
34398 eval "$as_ac_var=no"
34399 fi
34400
34401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34402 conftest$ac_exeext conftest.$ac_ext
34403 fi
34404 ac_res=`eval echo '${'$as_ac_var'}'`
34405 { echo "$as_me:$LINENO: result: $ac_res" >&5
34406 echo "${ECHO_T}$ac_res" >&6; }
34407 if test `eval echo '${'$as_ac_var'}'` = yes; then
34408 cat >>confdefs.h <<_ACEOF
34409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34410 _ACEOF
34411
34412 fi
34413 done
34414
34415
34416 if test "$ac_cv_func_vsnprintf" = "yes"; then
34417 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34418 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34419 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34420 echo $ECHO_N "(cached) $ECHO_C" >&6
34421 else
34422
34423 cat >conftest.$ac_ext <<_ACEOF
34424 /* confdefs.h. */
34425 _ACEOF
34426 cat confdefs.h >>conftest.$ac_ext
34427 cat >>conftest.$ac_ext <<_ACEOF
34428 /* end confdefs.h. */
34429
34430 #include <stdio.h>
34431 #include <stdarg.h>
34432 #ifdef __MSL__
34433 #if __MSL__ >= 0x6000
34434 namespace std {}
34435 using namespace std;
34436 #endif
34437 #endif
34438
34439 int
34440 main ()
34441 {
34442
34443 char *buf;
34444 va_list ap;
34445 vsnprintf(buf, 10u, "%s", ap);
34446
34447 ;
34448 return 0;
34449 }
34450 _ACEOF
34451 rm -f conftest.$ac_objext
34452 if { (ac_try="$ac_compile"
34453 case "(($ac_try" in
34454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34455 *) ac_try_echo=$ac_try;;
34456 esac
34457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34458 (eval "$ac_compile") 2>conftest.er1
34459 ac_status=$?
34460 grep -v '^ *+' conftest.er1 >conftest.err
34461 rm -f conftest.er1
34462 cat conftest.err >&5
34463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34464 (exit $ac_status); } && {
34465 test -z "$ac_c_werror_flag" ||
34466 test ! -s conftest.err
34467 } && test -s conftest.$ac_objext; then
34468 wx_cv_func_vsnprintf_decl=yes
34469 else
34470 echo "$as_me: failed program was:" >&5
34471 sed 's/^/| /' conftest.$ac_ext >&5
34472
34473 wx_cv_func_vsnprintf_decl=no
34474
34475 fi
34476
34477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34478
34479
34480 fi
34481 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34482 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34483
34484 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34485 cat >>confdefs.h <<\_ACEOF
34486 #define HAVE_VSNPRINTF_DECL 1
34487 _ACEOF
34488
34489
34490 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34491 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34492 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34493 echo $ECHO_N "(cached) $ECHO_C" >&6
34494 else
34495
34496 cat >conftest.$ac_ext <<_ACEOF
34497 /* confdefs.h. */
34498 _ACEOF
34499 cat confdefs.h >>conftest.$ac_ext
34500 cat >>conftest.$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34502
34503 #include <stdio.h>
34504 #include <stdarg.h>
34505 #ifdef __MSL__
34506 #if __MSL__ >= 0x6000
34507 namespace std {}
34508 using namespace std;
34509 #endif
34510 #endif
34511
34512 int
34513 main ()
34514 {
34515
34516 char *buf;
34517 va_list ap;
34518 const char *fmt = "%s";
34519 vsnprintf(buf, 10u, fmt, ap);
34520
34521 ;
34522 return 0;
34523 }
34524 _ACEOF
34525 rm -f conftest.$ac_objext
34526 if { (ac_try="$ac_compile"
34527 case "(($ac_try" in
34528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34529 *) ac_try_echo=$ac_try;;
34530 esac
34531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34532 (eval "$ac_compile") 2>conftest.er1
34533 ac_status=$?
34534 grep -v '^ *+' conftest.er1 >conftest.err
34535 rm -f conftest.er1
34536 cat conftest.err >&5
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); } && {
34539 test -z "$ac_c_werror_flag" ||
34540 test ! -s conftest.err
34541 } && test -s conftest.$ac_objext; then
34542 wx_cv_func_broken_vsnprintf_decl=no
34543 else
34544 echo "$as_me: failed program was:" >&5
34545 sed 's/^/| /' conftest.$ac_ext >&5
34546
34547 wx_cv_func_broken_vsnprintf_decl=yes
34548
34549 fi
34550
34551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34552
34553
34554 fi
34555 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34556 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34557
34558 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34559 cat >>confdefs.h <<\_ACEOF
34560 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34561 _ACEOF
34562
34563 fi
34564 fi
34565 fi
34566
34567 if test "$ac_cv_func_snprintf" = "yes"; then
34568 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34569 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34570 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34571 echo $ECHO_N "(cached) $ECHO_C" >&6
34572 else
34573
34574 cat >conftest.$ac_ext <<_ACEOF
34575 /* confdefs.h. */
34576 _ACEOF
34577 cat confdefs.h >>conftest.$ac_ext
34578 cat >>conftest.$ac_ext <<_ACEOF
34579 /* end confdefs.h. */
34580
34581 #include <stdio.h>
34582 #include <stdarg.h>
34583 #ifdef __MSL__
34584 #if __MSL__ >= 0x6000
34585 namespace std {}
34586 using namespace std;
34587 #endif
34588 #endif
34589
34590 int
34591 main ()
34592 {
34593
34594 char *buf;
34595 snprintf(buf, 10u, "%s", "wx");
34596
34597 ;
34598 return 0;
34599 }
34600 _ACEOF
34601 rm -f conftest.$ac_objext
34602 if { (ac_try="$ac_compile"
34603 case "(($ac_try" in
34604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34605 *) ac_try_echo=$ac_try;;
34606 esac
34607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34608 (eval "$ac_compile") 2>conftest.er1
34609 ac_status=$?
34610 grep -v '^ *+' conftest.er1 >conftest.err
34611 rm -f conftest.er1
34612 cat conftest.err >&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } && {
34615 test -z "$ac_c_werror_flag" ||
34616 test ! -s conftest.err
34617 } && test -s conftest.$ac_objext; then
34618 wx_cv_func_snprintf_decl=yes
34619 else
34620 echo "$as_me: failed program was:" >&5
34621 sed 's/^/| /' conftest.$ac_ext >&5
34622
34623 wx_cv_func_snprintf_decl=no
34624
34625 fi
34626
34627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34628
34629
34630 fi
34631 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34632 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34633
34634 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34635 cat >>confdefs.h <<\_ACEOF
34636 #define HAVE_SNPRINTF_DECL 1
34637 _ACEOF
34638
34639
34640 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34641 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34642 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34643 echo $ECHO_N "(cached) $ECHO_C" >&6
34644 else
34645
34646 cat >conftest.$ac_ext <<_ACEOF
34647 /* confdefs.h. */
34648 _ACEOF
34649 cat confdefs.h >>conftest.$ac_ext
34650 cat >>conftest.$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34652
34653 #include <stdio.h>
34654 #include <stdarg.h>
34655 #ifdef __MSL__
34656 #if __MSL__ >= 0x6000
34657 namespace std {}
34658 using namespace std;
34659 #endif
34660 #endif
34661
34662 int
34663 main ()
34664 {
34665
34666 char *buf;
34667 const char *fmt = "%s";
34668 snprintf(buf, 10u, fmt, "wx");
34669
34670 ;
34671 return 0;
34672 }
34673 _ACEOF
34674 rm -f conftest.$ac_objext
34675 if { (ac_try="$ac_compile"
34676 case "(($ac_try" in
34677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34678 *) ac_try_echo=$ac_try;;
34679 esac
34680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34681 (eval "$ac_compile") 2>conftest.er1
34682 ac_status=$?
34683 grep -v '^ *+' conftest.er1 >conftest.err
34684 rm -f conftest.er1
34685 cat conftest.err >&5
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); } && {
34688 test -z "$ac_c_werror_flag" ||
34689 test ! -s conftest.err
34690 } && test -s conftest.$ac_objext; then
34691 wx_cv_func_broken_snprintf_decl=no
34692 else
34693 echo "$as_me: failed program was:" >&5
34694 sed 's/^/| /' conftest.$ac_ext >&5
34695
34696 wx_cv_func_broken_snprintf_decl=yes
34697
34698 fi
34699
34700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34701
34702
34703 fi
34704 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34705 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34706
34707 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34708 cat >>confdefs.h <<\_ACEOF
34709 #define HAVE_BROKEN_SNPRINTF_DECL 1
34710 _ACEOF
34711
34712 fi
34713 fi
34714
34715 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34716
34717 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34718 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34719 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34720 echo $ECHO_N "(cached) $ECHO_C" >&6
34721 else
34722
34723 if test "$cross_compiling" = yes; then
34724
34725 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34726 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34727 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34728 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34729 wx_cv_func_snprintf_pos_params=no
34730
34731
34732 else
34733 cat >conftest.$ac_ext <<_ACEOF
34734 /* confdefs.h. */
34735 _ACEOF
34736 cat confdefs.h >>conftest.$ac_ext
34737 cat >>conftest.$ac_ext <<_ACEOF
34738 /* end confdefs.h. */
34739
34740 #include <stdio.h>
34741
34742 int main (void)
34743 {
34744 char buffer[128];
34745 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34746 if (strcmp ("2 3 1", buffer) == 0)
34747 exit (0);
34748 exit (1);
34749 }
34750
34751 _ACEOF
34752 rm -f conftest$ac_exeext
34753 if { (ac_try="$ac_link"
34754 case "(($ac_try" in
34755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34756 *) ac_try_echo=$ac_try;;
34757 esac
34758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34759 (eval "$ac_link") 2>&5
34760 ac_status=$?
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34763 { (case "(($ac_try" in
34764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34765 *) ac_try_echo=$ac_try;;
34766 esac
34767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34768 (eval "$ac_try") 2>&5
34769 ac_status=$?
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); }; }; then
34772 wx_cv_func_snprintf_pos_params=no
34773 else
34774 echo "$as_me: program exited with status $ac_status" >&5
34775 echo "$as_me: failed program was:" >&5
34776 sed 's/^/| /' conftest.$ac_ext >&5
34777
34778 ( exit $ac_status )
34779 wx_cv_func_snprintf_pos_params=yes
34780 fi
34781 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34782 fi
34783
34784
34785
34786
34787 fi
34788 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34789 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34790
34791 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34792 cat >>confdefs.h <<\_ACEOF
34793 #define HAVE_UNIX98_PRINTF 1
34794 _ACEOF
34795
34796 fi
34797 fi
34798 fi
34799
34800 if test "$wxUSE_UNICODE" = yes; then
34801
34802
34803 for ac_func in swprintf
34804 do
34805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34808 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34809 echo $ECHO_N "(cached) $ECHO_C" >&6
34810 else
34811 cat >conftest.$ac_ext <<_ACEOF
34812 /* confdefs.h. */
34813 _ACEOF
34814 cat confdefs.h >>conftest.$ac_ext
34815 cat >>conftest.$ac_ext <<_ACEOF
34816 /* end confdefs.h. */
34817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34819 #define $ac_func innocuous_$ac_func
34820
34821 /* System header to define __stub macros and hopefully few prototypes,
34822 which can conflict with char $ac_func (); below.
34823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34824 <limits.h> exists even on freestanding compilers. */
34825
34826 #ifdef __STDC__
34827 # include <limits.h>
34828 #else
34829 # include <assert.h>
34830 #endif
34831
34832 #undef $ac_func
34833
34834 /* Override any GCC internal prototype to avoid an error.
34835 Use char because int might match the return type of a GCC
34836 builtin and then its argument prototype would still apply. */
34837 #ifdef __cplusplus
34838 extern "C"
34839 #endif
34840 char $ac_func ();
34841 /* The GNU C library defines this for functions which it implements
34842 to always fail with ENOSYS. Some functions are actually named
34843 something starting with __ and the normal name is an alias. */
34844 #if defined __stub_$ac_func || defined __stub___$ac_func
34845 choke me
34846 #endif
34847
34848 int
34849 main ()
34850 {
34851 return $ac_func ();
34852 ;
34853 return 0;
34854 }
34855 _ACEOF
34856 rm -f conftest.$ac_objext conftest$ac_exeext
34857 if { (ac_try="$ac_link"
34858 case "(($ac_try" in
34859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34860 *) ac_try_echo=$ac_try;;
34861 esac
34862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34863 (eval "$ac_link") 2>conftest.er1
34864 ac_status=$?
34865 grep -v '^ *+' conftest.er1 >conftest.err
34866 rm -f conftest.er1
34867 cat conftest.err >&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); } && {
34870 test -z "$ac_c_werror_flag" ||
34871 test ! -s conftest.err
34872 } && test -s conftest$ac_exeext &&
34873 $as_test_x conftest$ac_exeext; then
34874 eval "$as_ac_var=yes"
34875 else
34876 echo "$as_me: failed program was:" >&5
34877 sed 's/^/| /' conftest.$ac_ext >&5
34878
34879 eval "$as_ac_var=no"
34880 fi
34881
34882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34883 conftest$ac_exeext conftest.$ac_ext
34884 fi
34885 ac_res=`eval echo '${'$as_ac_var'}'`
34886 { echo "$as_me:$LINENO: result: $ac_res" >&5
34887 echo "${ECHO_T}$ac_res" >&6; }
34888 if test `eval echo '${'$as_ac_var'}'` = yes; then
34889 cat >>confdefs.h <<_ACEOF
34890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34891 _ACEOF
34892
34893 fi
34894 done
34895
34896
34897 if test "$ac_cv_func_swprintf" = "yes"; then
34898 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34899 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34900 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34901 echo $ECHO_N "(cached) $ECHO_C" >&6
34902 else
34903
34904 cat >conftest.$ac_ext <<_ACEOF
34905 /* confdefs.h. */
34906 _ACEOF
34907 cat confdefs.h >>conftest.$ac_ext
34908 cat >>conftest.$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34910
34911 #include <stdio.h>
34912 #include <stdarg.h>
34913 #include <wchar.h>
34914
34915 int
34916 main ()
34917 {
34918
34919 wchar_t *buf;
34920 const wchar_t *fmt = L"test";
34921 swprintf(buf, 10u, fmt);
34922
34923 ;
34924 return 0;
34925 }
34926 _ACEOF
34927 rm -f conftest.$ac_objext
34928 if { (ac_try="$ac_compile"
34929 case "(($ac_try" in
34930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34931 *) ac_try_echo=$ac_try;;
34932 esac
34933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34934 (eval "$ac_compile") 2>conftest.er1
34935 ac_status=$?
34936 grep -v '^ *+' conftest.er1 >conftest.err
34937 rm -f conftest.er1
34938 cat conftest.err >&5
34939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940 (exit $ac_status); } && {
34941 test -z "$ac_c_werror_flag" ||
34942 test ! -s conftest.err
34943 } && test -s conftest.$ac_objext; then
34944 wx_cv_func_broken_swprintf_decl=no
34945 else
34946 echo "$as_me: failed program was:" >&5
34947 sed 's/^/| /' conftest.$ac_ext >&5
34948
34949 wx_cv_func_broken_swprintf_decl=yes
34950
34951 fi
34952
34953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34954
34955
34956 fi
34957 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34958 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34959
34960 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34961 cat >>confdefs.h <<\_ACEOF
34962 #define HAVE_BROKEN_SWPRINTF_DECL 1
34963 _ACEOF
34964
34965 fi
34966 fi
34967
34968 wchar_headers="#include <stdio.h>
34969 #include <wchar.h>"
34970 case "${host}" in
34971 *-*-solaris2* )
34972 { echo "$as_me:$LINENO: checking for widec.h" >&5
34973 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34974 if test "${ac_cv_header_widec_h+set}" = set; then
34975 echo $ECHO_N "(cached) $ECHO_C" >&6
34976 else
34977 cat >conftest.$ac_ext <<_ACEOF
34978 /* confdefs.h. */
34979 _ACEOF
34980 cat confdefs.h >>conftest.$ac_ext
34981 cat >>conftest.$ac_ext <<_ACEOF
34982 /* end confdefs.h. */
34983 $ac_includes_default
34984
34985 #include <widec.h>
34986 _ACEOF
34987 rm -f conftest.$ac_objext
34988 if { (ac_try="$ac_compile"
34989 case "(($ac_try" in
34990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34991 *) ac_try_echo=$ac_try;;
34992 esac
34993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34994 (eval "$ac_compile") 2>conftest.er1
34995 ac_status=$?
34996 grep -v '^ *+' conftest.er1 >conftest.err
34997 rm -f conftest.er1
34998 cat conftest.err >&5
34999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000 (exit $ac_status); } && {
35001 test -z "$ac_c_werror_flag" ||
35002 test ! -s conftest.err
35003 } && test -s conftest.$ac_objext; then
35004 ac_cv_header_widec_h=yes
35005 else
35006 echo "$as_me: failed program was:" >&5
35007 sed 's/^/| /' conftest.$ac_ext >&5
35008
35009 ac_cv_header_widec_h=no
35010 fi
35011
35012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35013 fi
35014 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
35015 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
35016
35017
35018 if test "$ac_cv_header_widec_h" = "yes"; then
35019 wchar_headers="$wchar_headers
35020 #include <widec.h>"
35021 fi
35022 esac
35023
35024
35025 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35026 do
35027 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35028 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35029 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35030 echo $ECHO_N "(cached) $ECHO_C" >&6
35031 else
35032
35033 cat >conftest.$ac_ext <<_ACEOF
35034
35035 /* confdefs.h. */
35036 _ACEOF
35037 cat confdefs.h >>conftest.$ac_ext
35038 cat >>conftest.$ac_ext <<_ACEOF
35039 /* end confdefs.h. */
35040
35041 $wchar_headers
35042 $ac_includes_default
35043
35044 int
35045 main ()
35046 {
35047
35048 #ifndef $wx_func
35049 &$wx_func;
35050 #endif
35051
35052
35053 ;
35054 return 0;
35055 }
35056
35057 _ACEOF
35058 rm -f conftest.$ac_objext conftest$ac_exeext
35059 if { (ac_try="$ac_link"
35060 case "(($ac_try" in
35061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35062 *) ac_try_echo=$ac_try;;
35063 esac
35064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35065 (eval "$ac_link") 2>conftest.er1
35066 ac_status=$?
35067 grep -v '^ *+' conftest.er1 >conftest.err
35068 rm -f conftest.er1
35069 cat conftest.err >&5
35070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35071 (exit $ac_status); } && {
35072 test -z "$ac_c_werror_flag" ||
35073 test ! -s conftest.err
35074 } && test -s conftest$ac_exeext &&
35075 $as_test_x conftest$ac_exeext; then
35076 eval wx_cv_func_$wx_func=yes
35077 else
35078 echo "$as_me: failed program was:" >&5
35079 sed 's/^/| /' conftest.$ac_ext >&5
35080
35081 eval wx_cv_func_$wx_func=no
35082 fi
35083
35084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35085 conftest$ac_exeext conftest.$ac_ext
35086
35087 fi
35088 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35089 { echo "$as_me:$LINENO: result: $ac_res" >&5
35090 echo "${ECHO_T}$ac_res" >&6; }
35091
35092 if eval test \$wx_cv_func_$wx_func = yes
35093 then
35094 cat >>confdefs.h <<_ACEOF
35095 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35096 _ACEOF
35097
35098
35099 else
35100 :
35101
35102 fi
35103 done
35104
35105
35106 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35107 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35108 cat >conftest.$ac_ext <<_ACEOF
35109 /* confdefs.h. */
35110 _ACEOF
35111 cat confdefs.h >>conftest.$ac_ext
35112 cat >>conftest.$ac_ext <<_ACEOF
35113 /* end confdefs.h. */
35114 #include <wchar.h>
35115 int
35116 main ()
35117 {
35118 &_vsnwprintf;
35119 ;
35120 return 0;
35121 }
35122 _ACEOF
35123 rm -f conftest.$ac_objext
35124 if { (ac_try="$ac_compile"
35125 case "(($ac_try" in
35126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35127 *) ac_try_echo=$ac_try;;
35128 esac
35129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35130 (eval "$ac_compile") 2>conftest.er1
35131 ac_status=$?
35132 grep -v '^ *+' conftest.er1 >conftest.err
35133 rm -f conftest.er1
35134 cat conftest.err >&5
35135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136 (exit $ac_status); } && {
35137 test -z "$ac_c_werror_flag" ||
35138 test ! -s conftest.err
35139 } && test -s conftest.$ac_objext; then
35140 { echo "$as_me:$LINENO: result: yes" >&5
35141 echo "${ECHO_T}yes" >&6; }
35142 cat >>confdefs.h <<\_ACEOF
35143 #define HAVE__VSNWPRINTF 1
35144 _ACEOF
35145
35146 else
35147 echo "$as_me: failed program was:" >&5
35148 sed 's/^/| /' conftest.$ac_ext >&5
35149
35150 { echo "$as_me:$LINENO: result: no" >&5
35151 echo "${ECHO_T}no" >&6; }
35152 fi
35153
35154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35155 fi
35156
35157 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35158
35159 for wx_func in fnmatch
35160 do
35161 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35162 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35163 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35164 echo $ECHO_N "(cached) $ECHO_C" >&6
35165 else
35166
35167 cat >conftest.$ac_ext <<_ACEOF
35168
35169 /* confdefs.h. */
35170 _ACEOF
35171 cat confdefs.h >>conftest.$ac_ext
35172 cat >>conftest.$ac_ext <<_ACEOF
35173 /* end confdefs.h. */
35174
35175 #include <fnmatch.h>
35176 $ac_includes_default
35177
35178 int
35179 main ()
35180 {
35181
35182 #ifndef $wx_func
35183 &$wx_func;
35184 #endif
35185
35186
35187 ;
35188 return 0;
35189 }
35190
35191 _ACEOF
35192 rm -f conftest.$ac_objext conftest$ac_exeext
35193 if { (ac_try="$ac_link"
35194 case "(($ac_try" in
35195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35196 *) ac_try_echo=$ac_try;;
35197 esac
35198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35199 (eval "$ac_link") 2>conftest.er1
35200 ac_status=$?
35201 grep -v '^ *+' conftest.er1 >conftest.err
35202 rm -f conftest.er1
35203 cat conftest.err >&5
35204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35205 (exit $ac_status); } && {
35206 test -z "$ac_c_werror_flag" ||
35207 test ! -s conftest.err
35208 } && test -s conftest$ac_exeext &&
35209 $as_test_x conftest$ac_exeext; then
35210 eval wx_cv_func_$wx_func=yes
35211 else
35212 echo "$as_me: failed program was:" >&5
35213 sed 's/^/| /' conftest.$ac_ext >&5
35214
35215 eval wx_cv_func_$wx_func=no
35216 fi
35217
35218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35219 conftest$ac_exeext conftest.$ac_ext
35220
35221 fi
35222 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35223 { echo "$as_me:$LINENO: result: $ac_res" >&5
35224 echo "${ECHO_T}$ac_res" >&6; }
35225
35226 if eval test \$wx_cv_func_$wx_func = yes
35227 then
35228 cat >>confdefs.h <<_ACEOF
35229 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35230 _ACEOF
35231
35232
35233 else
35234 :
35235
35236 fi
35237 done
35238
35239 fi
35240
35241 if test "$wxUSE_FILE" = "yes"; then
35242
35243 for wx_func in fsync
35244 do
35245 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35246 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35247 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35248 echo $ECHO_N "(cached) $ECHO_C" >&6
35249 else
35250
35251 cat >conftest.$ac_ext <<_ACEOF
35252
35253 /* confdefs.h. */
35254 _ACEOF
35255 cat confdefs.h >>conftest.$ac_ext
35256 cat >>conftest.$ac_ext <<_ACEOF
35257 /* end confdefs.h. */
35258
35259
35260 $ac_includes_default
35261
35262 int
35263 main ()
35264 {
35265
35266 #ifndef $wx_func
35267 &$wx_func;
35268 #endif
35269
35270
35271 ;
35272 return 0;
35273 }
35274
35275 _ACEOF
35276 rm -f conftest.$ac_objext conftest$ac_exeext
35277 if { (ac_try="$ac_link"
35278 case "(($ac_try" in
35279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35280 *) ac_try_echo=$ac_try;;
35281 esac
35282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35283 (eval "$ac_link") 2>conftest.er1
35284 ac_status=$?
35285 grep -v '^ *+' conftest.er1 >conftest.err
35286 rm -f conftest.er1
35287 cat conftest.err >&5
35288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35289 (exit $ac_status); } && {
35290 test -z "$ac_c_werror_flag" ||
35291 test ! -s conftest.err
35292 } && test -s conftest$ac_exeext &&
35293 $as_test_x conftest$ac_exeext; then
35294 eval wx_cv_func_$wx_func=yes
35295 else
35296 echo "$as_me: failed program was:" >&5
35297 sed 's/^/| /' conftest.$ac_ext >&5
35298
35299 eval wx_cv_func_$wx_func=no
35300 fi
35301
35302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35303 conftest$ac_exeext conftest.$ac_ext
35304
35305 fi
35306 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35307 { echo "$as_me:$LINENO: result: $ac_res" >&5
35308 echo "${ECHO_T}$ac_res" >&6; }
35309
35310 if eval test \$wx_cv_func_$wx_func = yes
35311 then
35312 cat >>confdefs.h <<_ACEOF
35313 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35314 _ACEOF
35315
35316
35317 else
35318 :
35319
35320 fi
35321 done
35322
35323 fi
35324
35325 ac_ext=cpp
35326 ac_cpp='$CXXCPP $CPPFLAGS'
35327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35330
35331
35332 for wx_func in round
35333 do
35334 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35335 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35336 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35337 echo $ECHO_N "(cached) $ECHO_C" >&6
35338 else
35339
35340 cat >conftest.$ac_ext <<_ACEOF
35341
35342 /* confdefs.h. */
35343 _ACEOF
35344 cat confdefs.h >>conftest.$ac_ext
35345 cat >>conftest.$ac_ext <<_ACEOF
35346 /* end confdefs.h. */
35347
35348 #include <math.h>
35349 $ac_includes_default
35350
35351 int
35352 main ()
35353 {
35354
35355 #ifndef $wx_func
35356 &$wx_func;
35357 #endif
35358
35359
35360 ;
35361 return 0;
35362 }
35363
35364 _ACEOF
35365 rm -f conftest.$ac_objext conftest$ac_exeext
35366 if { (ac_try="$ac_link"
35367 case "(($ac_try" in
35368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35369 *) ac_try_echo=$ac_try;;
35370 esac
35371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35372 (eval "$ac_link") 2>conftest.er1
35373 ac_status=$?
35374 grep -v '^ *+' conftest.er1 >conftest.err
35375 rm -f conftest.er1
35376 cat conftest.err >&5
35377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35378 (exit $ac_status); } && {
35379 test -z "$ac_cxx_werror_flag" ||
35380 test ! -s conftest.err
35381 } && test -s conftest$ac_exeext &&
35382 $as_test_x conftest$ac_exeext; then
35383 eval wx_cv_func_$wx_func=yes
35384 else
35385 echo "$as_me: failed program was:" >&5
35386 sed 's/^/| /' conftest.$ac_ext >&5
35387
35388 eval wx_cv_func_$wx_func=no
35389 fi
35390
35391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35392 conftest$ac_exeext conftest.$ac_ext
35393
35394 fi
35395 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35396 { echo "$as_me:$LINENO: result: $ac_res" >&5
35397 echo "${ECHO_T}$ac_res" >&6; }
35398
35399 if eval test \$wx_cv_func_$wx_func = yes
35400 then
35401 cat >>confdefs.h <<_ACEOF
35402 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35403 _ACEOF
35404
35405
35406 else
35407 :
35408
35409 fi
35410 done
35411
35412 ac_ext=c
35413 ac_cpp='$CPP $CPPFLAGS'
35414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35417
35418
35419 if test "$TOOLKIT" != "MSW"; then
35420
35421
35422
35423
35424
35425 # Check whether --with-libiconv-prefix was given.
35426 if test "${with_libiconv_prefix+set}" = set; then
35427 withval=$with_libiconv_prefix;
35428 for dir in `echo "$withval" | tr : ' '`; do
35429 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35430 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35431 done
35432
35433 fi
35434
35435
35436 { echo "$as_me:$LINENO: checking for iconv" >&5
35437 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35438 if test "${am_cv_func_iconv+set}" = set; then
35439 echo $ECHO_N "(cached) $ECHO_C" >&6
35440 else
35441
35442 am_cv_func_iconv="no, consider installing GNU libiconv"
35443 am_cv_lib_iconv=no
35444 cat >conftest.$ac_ext <<_ACEOF
35445 /* confdefs.h. */
35446 _ACEOF
35447 cat confdefs.h >>conftest.$ac_ext
35448 cat >>conftest.$ac_ext <<_ACEOF
35449 /* end confdefs.h. */
35450 #include <stdlib.h>
35451 #include <iconv.h>
35452 int
35453 main ()
35454 {
35455 iconv_t cd = iconv_open("","");
35456 iconv(cd,NULL,NULL,NULL,NULL);
35457 iconv_close(cd);
35458 ;
35459 return 0;
35460 }
35461 _ACEOF
35462 rm -f conftest.$ac_objext conftest$ac_exeext
35463 if { (ac_try="$ac_link"
35464 case "(($ac_try" in
35465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35466 *) ac_try_echo=$ac_try;;
35467 esac
35468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35469 (eval "$ac_link") 2>conftest.er1
35470 ac_status=$?
35471 grep -v '^ *+' conftest.er1 >conftest.err
35472 rm -f conftest.er1
35473 cat conftest.err >&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); } && {
35476 test -z "$ac_c_werror_flag" ||
35477 test ! -s conftest.err
35478 } && test -s conftest$ac_exeext &&
35479 $as_test_x conftest$ac_exeext; then
35480 am_cv_func_iconv=yes
35481 else
35482 echo "$as_me: failed program was:" >&5
35483 sed 's/^/| /' conftest.$ac_ext >&5
35484
35485
35486 fi
35487
35488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35489 conftest$ac_exeext conftest.$ac_ext
35490 if test "$am_cv_func_iconv" != yes; then
35491 am_save_LIBS="$LIBS"
35492 LIBS="$LIBS -liconv"
35493 cat >conftest.$ac_ext <<_ACEOF
35494 /* confdefs.h. */
35495 _ACEOF
35496 cat confdefs.h >>conftest.$ac_ext
35497 cat >>conftest.$ac_ext <<_ACEOF
35498 /* end confdefs.h. */
35499 #include <stdlib.h>
35500 #include <iconv.h>
35501 int
35502 main ()
35503 {
35504 iconv_t cd = iconv_open("","");
35505 iconv(cd,NULL,NULL,NULL,NULL);
35506 iconv_close(cd);
35507 ;
35508 return 0;
35509 }
35510 _ACEOF
35511 rm -f conftest.$ac_objext conftest$ac_exeext
35512 if { (ac_try="$ac_link"
35513 case "(($ac_try" in
35514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35515 *) ac_try_echo=$ac_try;;
35516 esac
35517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35518 (eval "$ac_link") 2>conftest.er1
35519 ac_status=$?
35520 grep -v '^ *+' conftest.er1 >conftest.err
35521 rm -f conftest.er1
35522 cat conftest.err >&5
35523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35524 (exit $ac_status); } && {
35525 test -z "$ac_c_werror_flag" ||
35526 test ! -s conftest.err
35527 } && test -s conftest$ac_exeext &&
35528 $as_test_x conftest$ac_exeext; then
35529 am_cv_lib_iconv=yes
35530 am_cv_func_iconv=yes
35531 else
35532 echo "$as_me: failed program was:" >&5
35533 sed 's/^/| /' conftest.$ac_ext >&5
35534
35535
35536 fi
35537
35538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35539 conftest$ac_exeext conftest.$ac_ext
35540 LIBS="$am_save_LIBS"
35541 fi
35542
35543 fi
35544 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35545 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35546 if test "$am_cv_func_iconv" = yes; then
35547
35548 cat >>confdefs.h <<\_ACEOF
35549 #define HAVE_ICONV 1
35550 _ACEOF
35551
35552 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35553 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35554 if test "${wx_cv_func_iconv_const+set}" = set; then
35555 echo $ECHO_N "(cached) $ECHO_C" >&6
35556 else
35557 cat >conftest.$ac_ext <<_ACEOF
35558 /* confdefs.h. */
35559 _ACEOF
35560 cat confdefs.h >>conftest.$ac_ext
35561 cat >>conftest.$ac_ext <<_ACEOF
35562 /* end confdefs.h. */
35563
35564 #include <stdlib.h>
35565 #include <iconv.h>
35566 extern
35567 #ifdef __cplusplus
35568 "C"
35569 #endif
35570 #if defined(__STDC__) || defined(__cplusplus)
35571 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35572 #else
35573 size_t iconv();
35574 #endif
35575
35576 int
35577 main ()
35578 {
35579
35580 ;
35581 return 0;
35582 }
35583 _ACEOF
35584 rm -f conftest.$ac_objext
35585 if { (ac_try="$ac_compile"
35586 case "(($ac_try" in
35587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35588 *) ac_try_echo=$ac_try;;
35589 esac
35590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35591 (eval "$ac_compile") 2>conftest.er1
35592 ac_status=$?
35593 grep -v '^ *+' conftest.er1 >conftest.err
35594 rm -f conftest.er1
35595 cat conftest.err >&5
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); } && {
35598 test -z "$ac_c_werror_flag" ||
35599 test ! -s conftest.err
35600 } && test -s conftest.$ac_objext; then
35601 wx_cv_func_iconv_const="no"
35602 else
35603 echo "$as_me: failed program was:" >&5
35604 sed 's/^/| /' conftest.$ac_ext >&5
35605
35606 wx_cv_func_iconv_const="yes"
35607
35608 fi
35609
35610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35611
35612 fi
35613 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35614 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35615
35616 iconv_const=
35617 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35618 iconv_const="const"
35619 fi
35620
35621
35622 cat >>confdefs.h <<_ACEOF
35623 #define ICONV_CONST $iconv_const
35624 _ACEOF
35625
35626 fi
35627 LIBICONV=
35628 if test "$am_cv_lib_iconv" = yes; then
35629 LIBICONV="-liconv"
35630 fi
35631
35632
35633 LIBS="$LIBICONV $LIBS"
35634
35635 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35636
35637 for ac_func in sigaction
35638 do
35639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35640 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35642 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35643 echo $ECHO_N "(cached) $ECHO_C" >&6
35644 else
35645 cat >conftest.$ac_ext <<_ACEOF
35646 /* confdefs.h. */
35647 _ACEOF
35648 cat confdefs.h >>conftest.$ac_ext
35649 cat >>conftest.$ac_ext <<_ACEOF
35650 /* end confdefs.h. */
35651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35653 #define $ac_func innocuous_$ac_func
35654
35655 /* System header to define __stub macros and hopefully few prototypes,
35656 which can conflict with char $ac_func (); below.
35657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35658 <limits.h> exists even on freestanding compilers. */
35659
35660 #ifdef __STDC__
35661 # include <limits.h>
35662 #else
35663 # include <assert.h>
35664 #endif
35665
35666 #undef $ac_func
35667
35668 /* Override any GCC internal prototype to avoid an error.
35669 Use char because int might match the return type of a GCC
35670 builtin and then its argument prototype would still apply. */
35671 #ifdef __cplusplus
35672 extern "C"
35673 #endif
35674 char $ac_func ();
35675 /* The GNU C library defines this for functions which it implements
35676 to always fail with ENOSYS. Some functions are actually named
35677 something starting with __ and the normal name is an alias. */
35678 #if defined __stub_$ac_func || defined __stub___$ac_func
35679 choke me
35680 #endif
35681
35682 int
35683 main ()
35684 {
35685 return $ac_func ();
35686 ;
35687 return 0;
35688 }
35689 _ACEOF
35690 rm -f conftest.$ac_objext conftest$ac_exeext
35691 if { (ac_try="$ac_link"
35692 case "(($ac_try" in
35693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35694 *) ac_try_echo=$ac_try;;
35695 esac
35696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35697 (eval "$ac_link") 2>conftest.er1
35698 ac_status=$?
35699 grep -v '^ *+' conftest.er1 >conftest.err
35700 rm -f conftest.er1
35701 cat conftest.err >&5
35702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35703 (exit $ac_status); } && {
35704 test -z "$ac_c_werror_flag" ||
35705 test ! -s conftest.err
35706 } && test -s conftest$ac_exeext &&
35707 $as_test_x conftest$ac_exeext; then
35708 eval "$as_ac_var=yes"
35709 else
35710 echo "$as_me: failed program was:" >&5
35711 sed 's/^/| /' conftest.$ac_ext >&5
35712
35713 eval "$as_ac_var=no"
35714 fi
35715
35716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35717 conftest$ac_exeext conftest.$ac_ext
35718 fi
35719 ac_res=`eval echo '${'$as_ac_var'}'`
35720 { echo "$as_me:$LINENO: result: $ac_res" >&5
35721 echo "${ECHO_T}$ac_res" >&6; }
35722 if test `eval echo '${'$as_ac_var'}'` = yes; then
35723 cat >>confdefs.h <<_ACEOF
35724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35725 _ACEOF
35726
35727 fi
35728 done
35729
35730
35731 if test "$ac_cv_func_sigaction" = "no"; then
35732 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35733 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35734 wxUSE_ON_FATAL_EXCEPTION=no
35735 fi
35736
35737 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35738 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35739 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35740 if test "${wx_cv_type_sa_handler+set}" = set; then
35741 echo $ECHO_N "(cached) $ECHO_C" >&6
35742 else
35743
35744 ac_ext=cpp
35745 ac_cpp='$CXXCPP $CPPFLAGS'
35746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35749
35750 cat >conftest.$ac_ext <<_ACEOF
35751 /* confdefs.h. */
35752 _ACEOF
35753 cat confdefs.h >>conftest.$ac_ext
35754 cat >>conftest.$ac_ext <<_ACEOF
35755 /* end confdefs.h. */
35756 #include <signal.h>
35757 int
35758 main ()
35759 {
35760
35761 extern void testSigHandler(int);
35762
35763 struct sigaction sa;
35764 sa.sa_handler = testSigHandler;
35765
35766 ;
35767 return 0;
35768 }
35769 _ACEOF
35770 rm -f conftest.$ac_objext
35771 if { (ac_try="$ac_compile"
35772 case "(($ac_try" in
35773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35774 *) ac_try_echo=$ac_try;;
35775 esac
35776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35777 (eval "$ac_compile") 2>conftest.er1
35778 ac_status=$?
35779 grep -v '^ *+' conftest.er1 >conftest.err
35780 rm -f conftest.er1
35781 cat conftest.err >&5
35782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35783 (exit $ac_status); } && {
35784 test -z "$ac_cxx_werror_flag" ||
35785 test ! -s conftest.err
35786 } && test -s conftest.$ac_objext; then
35787
35788 wx_cv_type_sa_handler=int
35789
35790 else
35791 echo "$as_me: failed program was:" >&5
35792 sed 's/^/| /' conftest.$ac_ext >&5
35793
35794
35795 wx_cv_type_sa_handler=void
35796
35797 fi
35798
35799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35800 ac_ext=c
35801 ac_cpp='$CPP $CPPFLAGS'
35802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35805
35806
35807 fi
35808 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35809 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35810
35811 cat >>confdefs.h <<_ACEOF
35812 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35813 _ACEOF
35814
35815 fi
35816 fi
35817
35818 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35819 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35820 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35821 if test "${wx_cv_func_backtrace+set}" = set; then
35822 echo $ECHO_N "(cached) $ECHO_C" >&6
35823 else
35824
35825 ac_ext=cpp
35826 ac_cpp='$CXXCPP $CPPFLAGS'
35827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35830
35831 cat >conftest.$ac_ext <<_ACEOF
35832 /* confdefs.h. */
35833 _ACEOF
35834 cat confdefs.h >>conftest.$ac_ext
35835 cat >>conftest.$ac_ext <<_ACEOF
35836 /* end confdefs.h. */
35837 #include <execinfo.h>
35838 int
35839 main ()
35840 {
35841
35842 void *trace[1];
35843 char **messages;
35844
35845 backtrace(trace, 1);
35846 messages = backtrace_symbols(trace, 1);
35847
35848 ;
35849 return 0;
35850 }
35851 _ACEOF
35852 rm -f conftest.$ac_objext
35853 if { (ac_try="$ac_compile"
35854 case "(($ac_try" in
35855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35856 *) ac_try_echo=$ac_try;;
35857 esac
35858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35859 (eval "$ac_compile") 2>conftest.er1
35860 ac_status=$?
35861 grep -v '^ *+' conftest.er1 >conftest.err
35862 rm -f conftest.er1
35863 cat conftest.err >&5
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); } && {
35866 test -z "$ac_cxx_werror_flag" ||
35867 test ! -s conftest.err
35868 } && test -s conftest.$ac_objext; then
35869 wx_cv_func_backtrace=yes
35870 else
35871 echo "$as_me: failed program was:" >&5
35872 sed 's/^/| /' conftest.$ac_ext >&5
35873
35874 wx_cv_func_backtrace=no
35875
35876 fi
35877
35878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35879 ac_ext=c
35880 ac_cpp='$CPP $CPPFLAGS'
35881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35884
35885
35886
35887 fi
35888 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35889 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35890
35891
35892 if test "$wx_cv_func_backtrace" = "no"; then
35893 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35894 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35895 wxUSE_STACKWALKER=no
35896 else
35897 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35898 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35899 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35900 echo $ECHO_N "(cached) $ECHO_C" >&6
35901 else
35902
35903 ac_ext=cpp
35904 ac_cpp='$CXXCPP $CPPFLAGS'
35905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35908
35909 cat >conftest.$ac_ext <<_ACEOF
35910 /* confdefs.h. */
35911 _ACEOF
35912 cat confdefs.h >>conftest.$ac_ext
35913 cat >>conftest.$ac_ext <<_ACEOF
35914 /* end confdefs.h. */
35915 #include <cxxabi.h>
35916 int
35917 main ()
35918 {
35919
35920 int rc;
35921 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35922
35923 ;
35924 return 0;
35925 }
35926 _ACEOF
35927 rm -f conftest.$ac_objext conftest$ac_exeext
35928 if { (ac_try="$ac_link"
35929 case "(($ac_try" in
35930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35931 *) ac_try_echo=$ac_try;;
35932 esac
35933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35934 (eval "$ac_link") 2>conftest.er1
35935 ac_status=$?
35936 grep -v '^ *+' conftest.er1 >conftest.err
35937 rm -f conftest.er1
35938 cat conftest.err >&5
35939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35940 (exit $ac_status); } && {
35941 test -z "$ac_cxx_werror_flag" ||
35942 test ! -s conftest.err
35943 } && test -s conftest$ac_exeext &&
35944 $as_test_x conftest$ac_exeext; then
35945 wx_cv_func_cxa_demangle=yes
35946 else
35947 echo "$as_me: failed program was:" >&5
35948 sed 's/^/| /' conftest.$ac_ext >&5
35949
35950 wx_cv_func_cxa_demangle=no
35951
35952 fi
35953
35954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35955 conftest$ac_exeext conftest.$ac_ext
35956 ac_ext=c
35957 ac_cpp='$CPP $CPPFLAGS'
35958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35961
35962
35963
35964 fi
35965 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35966 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35967
35968 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35969 cat >>confdefs.h <<\_ACEOF
35970 #define HAVE_CXA_DEMANGLE 1
35971 _ACEOF
35972
35973 fi
35974 fi
35975 fi
35976
35977 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35978 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35979 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35980 wxUSE_STACKWALKER=no
35981 fi
35982
35983
35984
35985
35986 for ac_func in mkstemp mktemp
35987 do
35988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35989 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35991 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35992 echo $ECHO_N "(cached) $ECHO_C" >&6
35993 else
35994 cat >conftest.$ac_ext <<_ACEOF
35995 /* confdefs.h. */
35996 _ACEOF
35997 cat confdefs.h >>conftest.$ac_ext
35998 cat >>conftest.$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36002 #define $ac_func innocuous_$ac_func
36003
36004 /* System header to define __stub macros and hopefully few prototypes,
36005 which can conflict with char $ac_func (); below.
36006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36007 <limits.h> exists even on freestanding compilers. */
36008
36009 #ifdef __STDC__
36010 # include <limits.h>
36011 #else
36012 # include <assert.h>
36013 #endif
36014
36015 #undef $ac_func
36016
36017 /* Override any GCC internal prototype to avoid an error.
36018 Use char because int might match the return type of a GCC
36019 builtin and then its argument prototype would still apply. */
36020 #ifdef __cplusplus
36021 extern "C"
36022 #endif
36023 char $ac_func ();
36024 /* The GNU C library defines this for functions which it implements
36025 to always fail with ENOSYS. Some functions are actually named
36026 something starting with __ and the normal name is an alias. */
36027 #if defined __stub_$ac_func || defined __stub___$ac_func
36028 choke me
36029 #endif
36030
36031 int
36032 main ()
36033 {
36034 return $ac_func ();
36035 ;
36036 return 0;
36037 }
36038 _ACEOF
36039 rm -f conftest.$ac_objext conftest$ac_exeext
36040 if { (ac_try="$ac_link"
36041 case "(($ac_try" in
36042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36043 *) ac_try_echo=$ac_try;;
36044 esac
36045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36046 (eval "$ac_link") 2>conftest.er1
36047 ac_status=$?
36048 grep -v '^ *+' conftest.er1 >conftest.err
36049 rm -f conftest.er1
36050 cat conftest.err >&5
36051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36052 (exit $ac_status); } && {
36053 test -z "$ac_c_werror_flag" ||
36054 test ! -s conftest.err
36055 } && test -s conftest$ac_exeext &&
36056 $as_test_x conftest$ac_exeext; then
36057 eval "$as_ac_var=yes"
36058 else
36059 echo "$as_me: failed program was:" >&5
36060 sed 's/^/| /' conftest.$ac_ext >&5
36061
36062 eval "$as_ac_var=no"
36063 fi
36064
36065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36066 conftest$ac_exeext conftest.$ac_ext
36067 fi
36068 ac_res=`eval echo '${'$as_ac_var'}'`
36069 { echo "$as_me:$LINENO: result: $ac_res" >&5
36070 echo "${ECHO_T}$ac_res" >&6; }
36071 if test `eval echo '${'$as_ac_var'}'` = yes; then
36072 cat >>confdefs.h <<_ACEOF
36073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36074 _ACEOF
36075 break
36076 fi
36077 done
36078
36079
36080 { echo "$as_me:$LINENO: checking for statfs" >&5
36081 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36082 if test "${wx_cv_func_statfs+set}" = set; then
36083 echo $ECHO_N "(cached) $ECHO_C" >&6
36084 else
36085 cat >conftest.$ac_ext <<_ACEOF
36086 /* confdefs.h. */
36087 _ACEOF
36088 cat confdefs.h >>conftest.$ac_ext
36089 cat >>conftest.$ac_ext <<_ACEOF
36090 /* end confdefs.h. */
36091
36092 #if defined(__BSD__)
36093 #include <sys/param.h>
36094 #include <sys/mount.h>
36095 #else
36096 #include <sys/vfs.h>
36097 #endif
36098
36099 int
36100 main ()
36101 {
36102
36103 long l;
36104 struct statfs fs;
36105 statfs("/", &fs);
36106 l = fs.f_bsize;
36107 l += fs.f_blocks;
36108 l += fs.f_bavail;
36109
36110 ;
36111 return 0;
36112 }
36113 _ACEOF
36114 rm -f conftest.$ac_objext
36115 if { (ac_try="$ac_compile"
36116 case "(($ac_try" in
36117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36118 *) ac_try_echo=$ac_try;;
36119 esac
36120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36121 (eval "$ac_compile") 2>conftest.er1
36122 ac_status=$?
36123 grep -v '^ *+' conftest.er1 >conftest.err
36124 rm -f conftest.er1
36125 cat conftest.err >&5
36126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36127 (exit $ac_status); } && {
36128 test -z "$ac_c_werror_flag" ||
36129 test ! -s conftest.err
36130 } && test -s conftest.$ac_objext; then
36131 wx_cv_func_statfs=yes
36132 else
36133 echo "$as_me: failed program was:" >&5
36134 sed 's/^/| /' conftest.$ac_ext >&5
36135
36136 wx_cv_func_statfs=no
36137
36138 fi
36139
36140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36141
36142 fi
36143 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36144 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36145
36146 if test "$wx_cv_func_statfs" = "yes"; then
36147 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36148 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36149 if test "${wx_cv_func_statfs_decl+set}" = set; then
36150 echo $ECHO_N "(cached) $ECHO_C" >&6
36151 else
36152 ac_ext=cpp
36153 ac_cpp='$CXXCPP $CPPFLAGS'
36154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36157
36158 cat >conftest.$ac_ext <<_ACEOF
36159 /* confdefs.h. */
36160 _ACEOF
36161 cat confdefs.h >>conftest.$ac_ext
36162 cat >>conftest.$ac_ext <<_ACEOF
36163 /* end confdefs.h. */
36164
36165 #if defined(__BSD__)
36166 #include <sys/param.h>
36167 #include <sys/mount.h>
36168 #else
36169 #include <sys/vfs.h>
36170 #endif
36171
36172 int
36173 main ()
36174 {
36175
36176 struct statfs fs;
36177 statfs("", &fs);
36178
36179 ;
36180 return 0;
36181 }
36182 _ACEOF
36183 rm -f conftest.$ac_objext
36184 if { (ac_try="$ac_compile"
36185 case "(($ac_try" in
36186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36187 *) ac_try_echo=$ac_try;;
36188 esac
36189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36190 (eval "$ac_compile") 2>conftest.er1
36191 ac_status=$?
36192 grep -v '^ *+' conftest.er1 >conftest.err
36193 rm -f conftest.er1
36194 cat conftest.err >&5
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); } && {
36197 test -z "$ac_cxx_werror_flag" ||
36198 test ! -s conftest.err
36199 } && test -s conftest.$ac_objext; then
36200 wx_cv_func_statfs_decl=yes
36201 else
36202 echo "$as_me: failed program was:" >&5
36203 sed 's/^/| /' conftest.$ac_ext >&5
36204
36205 wx_cv_func_statfs_decl=no
36206
36207 fi
36208
36209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36210 ac_ext=c
36211 ac_cpp='$CPP $CPPFLAGS'
36212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36215
36216
36217 fi
36218 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36219 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36220
36221 if test "$wx_cv_func_statfs_decl" = "yes"; then
36222 cat >>confdefs.h <<\_ACEOF
36223 #define HAVE_STATFS_DECL 1
36224 _ACEOF
36225
36226 fi
36227
36228 wx_cv_type_statvfs_t="struct statfs"
36229 cat >>confdefs.h <<\_ACEOF
36230 #define HAVE_STATFS 1
36231 _ACEOF
36232
36233 else
36234 { echo "$as_me:$LINENO: checking for statvfs" >&5
36235 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36236 if test "${wx_cv_func_statvfs+set}" = set; then
36237 echo $ECHO_N "(cached) $ECHO_C" >&6
36238 else
36239 cat >conftest.$ac_ext <<_ACEOF
36240 /* confdefs.h. */
36241 _ACEOF
36242 cat confdefs.h >>conftest.$ac_ext
36243 cat >>conftest.$ac_ext <<_ACEOF
36244 /* end confdefs.h. */
36245
36246 #include <stddef.h>
36247 #include <sys/statvfs.h>
36248
36249 int
36250 main ()
36251 {
36252
36253 statvfs("/", NULL);
36254
36255 ;
36256 return 0;
36257 }
36258 _ACEOF
36259 rm -f conftest.$ac_objext
36260 if { (ac_try="$ac_compile"
36261 case "(($ac_try" in
36262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36263 *) ac_try_echo=$ac_try;;
36264 esac
36265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36266 (eval "$ac_compile") 2>conftest.er1
36267 ac_status=$?
36268 grep -v '^ *+' conftest.er1 >conftest.err
36269 rm -f conftest.er1
36270 cat conftest.err >&5
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); } && {
36273 test -z "$ac_c_werror_flag" ||
36274 test ! -s conftest.err
36275 } && test -s conftest.$ac_objext; then
36276 wx_cv_func_statvfs=yes
36277 else
36278 echo "$as_me: failed program was:" >&5
36279 sed 's/^/| /' conftest.$ac_ext >&5
36280
36281 wx_cv_func_statvfs=no
36282
36283 fi
36284
36285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36286
36287 fi
36288 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36289 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36290
36291 if test "$wx_cv_func_statvfs" = "yes"; then
36292 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36293 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36294 if test "${wx_cv_type_statvfs_t+set}" = set; then
36295 echo $ECHO_N "(cached) $ECHO_C" >&6
36296 else
36297 ac_ext=cpp
36298 ac_cpp='$CXXCPP $CPPFLAGS'
36299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36302
36303 cat >conftest.$ac_ext <<_ACEOF
36304 /* confdefs.h. */
36305 _ACEOF
36306 cat confdefs.h >>conftest.$ac_ext
36307 cat >>conftest.$ac_ext <<_ACEOF
36308 /* end confdefs.h. */
36309
36310 #include <sys/statvfs.h>
36311
36312 int
36313 main ()
36314 {
36315
36316 long l;
36317 statvfs_t fs;
36318 statvfs("/", &fs);
36319 l = fs.f_bsize;
36320 l += fs.f_blocks;
36321 l += fs.f_bavail;
36322
36323 ;
36324 return 0;
36325 }
36326 _ACEOF
36327 rm -f conftest.$ac_objext
36328 if { (ac_try="$ac_compile"
36329 case "(($ac_try" in
36330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36331 *) ac_try_echo=$ac_try;;
36332 esac
36333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36334 (eval "$ac_compile") 2>conftest.er1
36335 ac_status=$?
36336 grep -v '^ *+' conftest.er1 >conftest.err
36337 rm -f conftest.er1
36338 cat conftest.err >&5
36339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36340 (exit $ac_status); } && {
36341 test -z "$ac_cxx_werror_flag" ||
36342 test ! -s conftest.err
36343 } && test -s conftest.$ac_objext; then
36344 wx_cv_type_statvfs_t=statvfs_t
36345 else
36346 echo "$as_me: failed program was:" >&5
36347 sed 's/^/| /' conftest.$ac_ext >&5
36348
36349
36350 cat >conftest.$ac_ext <<_ACEOF
36351 /* confdefs.h. */
36352 _ACEOF
36353 cat confdefs.h >>conftest.$ac_ext
36354 cat >>conftest.$ac_ext <<_ACEOF
36355 /* end confdefs.h. */
36356
36357 #include <sys/statvfs.h>
36358
36359 int
36360 main ()
36361 {
36362
36363 long l;
36364 struct statvfs fs;
36365 statvfs("/", &fs);
36366 l = fs.f_bsize;
36367 l += fs.f_blocks;
36368 l += fs.f_bavail;
36369
36370 ;
36371 return 0;
36372 }
36373 _ACEOF
36374 rm -f conftest.$ac_objext
36375 if { (ac_try="$ac_compile"
36376 case "(($ac_try" in
36377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36378 *) ac_try_echo=$ac_try;;
36379 esac
36380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36381 (eval "$ac_compile") 2>conftest.er1
36382 ac_status=$?
36383 grep -v '^ *+' conftest.er1 >conftest.err
36384 rm -f conftest.er1
36385 cat conftest.err >&5
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); } && {
36388 test -z "$ac_cxx_werror_flag" ||
36389 test ! -s conftest.err
36390 } && test -s conftest.$ac_objext; then
36391 wx_cv_type_statvfs_t="struct statvfs"
36392 else
36393 echo "$as_me: failed program was:" >&5
36394 sed 's/^/| /' conftest.$ac_ext >&5
36395
36396 wx_cv_type_statvfs_t="unknown"
36397
36398 fi
36399
36400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36401
36402
36403 fi
36404
36405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36406 ac_ext=c
36407 ac_cpp='$CPP $CPPFLAGS'
36408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36411
36412
36413 fi
36414 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36415 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36416
36417 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36418 cat >>confdefs.h <<\_ACEOF
36419 #define HAVE_STATVFS 1
36420 _ACEOF
36421
36422 fi
36423 else
36424 wx_cv_type_statvfs_t="unknown"
36425 fi
36426 fi
36427
36428 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36429 cat >>confdefs.h <<_ACEOF
36430 #define WX_STATFS_T $wx_cv_type_statvfs_t
36431 _ACEOF
36432
36433 else
36434 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36435 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36436 fi
36437
36438 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36439
36440
36441 for ac_func in fcntl flock
36442 do
36443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36444 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36446 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36447 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 else
36449 cat >conftest.$ac_ext <<_ACEOF
36450 /* confdefs.h. */
36451 _ACEOF
36452 cat confdefs.h >>conftest.$ac_ext
36453 cat >>conftest.$ac_ext <<_ACEOF
36454 /* end confdefs.h. */
36455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36457 #define $ac_func innocuous_$ac_func
36458
36459 /* System header to define __stub macros and hopefully few prototypes,
36460 which can conflict with char $ac_func (); below.
36461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36462 <limits.h> exists even on freestanding compilers. */
36463
36464 #ifdef __STDC__
36465 # include <limits.h>
36466 #else
36467 # include <assert.h>
36468 #endif
36469
36470 #undef $ac_func
36471
36472 /* Override any GCC internal prototype to avoid an error.
36473 Use char because int might match the return type of a GCC
36474 builtin and then its argument prototype would still apply. */
36475 #ifdef __cplusplus
36476 extern "C"
36477 #endif
36478 char $ac_func ();
36479 /* The GNU C library defines this for functions which it implements
36480 to always fail with ENOSYS. Some functions are actually named
36481 something starting with __ and the normal name is an alias. */
36482 #if defined __stub_$ac_func || defined __stub___$ac_func
36483 choke me
36484 #endif
36485
36486 int
36487 main ()
36488 {
36489 return $ac_func ();
36490 ;
36491 return 0;
36492 }
36493 _ACEOF
36494 rm -f conftest.$ac_objext conftest$ac_exeext
36495 if { (ac_try="$ac_link"
36496 case "(($ac_try" in
36497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36498 *) ac_try_echo=$ac_try;;
36499 esac
36500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36501 (eval "$ac_link") 2>conftest.er1
36502 ac_status=$?
36503 grep -v '^ *+' conftest.er1 >conftest.err
36504 rm -f conftest.er1
36505 cat conftest.err >&5
36506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507 (exit $ac_status); } && {
36508 test -z "$ac_c_werror_flag" ||
36509 test ! -s conftest.err
36510 } && test -s conftest$ac_exeext &&
36511 $as_test_x conftest$ac_exeext; then
36512 eval "$as_ac_var=yes"
36513 else
36514 echo "$as_me: failed program was:" >&5
36515 sed 's/^/| /' conftest.$ac_ext >&5
36516
36517 eval "$as_ac_var=no"
36518 fi
36519
36520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36521 conftest$ac_exeext conftest.$ac_ext
36522 fi
36523 ac_res=`eval echo '${'$as_ac_var'}'`
36524 { echo "$as_me:$LINENO: result: $ac_res" >&5
36525 echo "${ECHO_T}$ac_res" >&6; }
36526 if test `eval echo '${'$as_ac_var'}'` = yes; then
36527 cat >>confdefs.h <<_ACEOF
36528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36529 _ACEOF
36530 break
36531 fi
36532 done
36533
36534
36535 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36536 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36537 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36538 wxUSE_SNGLINST_CHECKER=no
36539 fi
36540 fi
36541
36542
36543 for ac_func in timegm
36544 do
36545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36546 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36548 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36549 echo $ECHO_N "(cached) $ECHO_C" >&6
36550 else
36551 cat >conftest.$ac_ext <<_ACEOF
36552 /* confdefs.h. */
36553 _ACEOF
36554 cat confdefs.h >>conftest.$ac_ext
36555 cat >>conftest.$ac_ext <<_ACEOF
36556 /* end confdefs.h. */
36557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36559 #define $ac_func innocuous_$ac_func
36560
36561 /* System header to define __stub macros and hopefully few prototypes,
36562 which can conflict with char $ac_func (); below.
36563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36564 <limits.h> exists even on freestanding compilers. */
36565
36566 #ifdef __STDC__
36567 # include <limits.h>
36568 #else
36569 # include <assert.h>
36570 #endif
36571
36572 #undef $ac_func
36573
36574 /* Override any GCC internal prototype to avoid an error.
36575 Use char because int might match the return type of a GCC
36576 builtin and then its argument prototype would still apply. */
36577 #ifdef __cplusplus
36578 extern "C"
36579 #endif
36580 char $ac_func ();
36581 /* The GNU C library defines this for functions which it implements
36582 to always fail with ENOSYS. Some functions are actually named
36583 something starting with __ and the normal name is an alias. */
36584 #if defined __stub_$ac_func || defined __stub___$ac_func
36585 choke me
36586 #endif
36587
36588 int
36589 main ()
36590 {
36591 return $ac_func ();
36592 ;
36593 return 0;
36594 }
36595 _ACEOF
36596 rm -f conftest.$ac_objext conftest$ac_exeext
36597 if { (ac_try="$ac_link"
36598 case "(($ac_try" in
36599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36600 *) ac_try_echo=$ac_try;;
36601 esac
36602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36603 (eval "$ac_link") 2>conftest.er1
36604 ac_status=$?
36605 grep -v '^ *+' conftest.er1 >conftest.err
36606 rm -f conftest.er1
36607 cat conftest.err >&5
36608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36609 (exit $ac_status); } && {
36610 test -z "$ac_c_werror_flag" ||
36611 test ! -s conftest.err
36612 } && test -s conftest$ac_exeext &&
36613 $as_test_x conftest$ac_exeext; then
36614 eval "$as_ac_var=yes"
36615 else
36616 echo "$as_me: failed program was:" >&5
36617 sed 's/^/| /' conftest.$ac_ext >&5
36618
36619 eval "$as_ac_var=no"
36620 fi
36621
36622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36623 conftest$ac_exeext conftest.$ac_ext
36624 fi
36625 ac_res=`eval echo '${'$as_ac_var'}'`
36626 { echo "$as_me:$LINENO: result: $ac_res" >&5
36627 echo "${ECHO_T}$ac_res" >&6; }
36628 if test `eval echo '${'$as_ac_var'}'` = yes; then
36629 cat >>confdefs.h <<_ACEOF
36630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36631 _ACEOF
36632
36633 fi
36634 done
36635
36636
36637
36638
36639 for ac_func in putenv setenv
36640 do
36641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36645 echo $ECHO_N "(cached) $ECHO_C" >&6
36646 else
36647 cat >conftest.$ac_ext <<_ACEOF
36648 /* confdefs.h. */
36649 _ACEOF
36650 cat confdefs.h >>conftest.$ac_ext
36651 cat >>conftest.$ac_ext <<_ACEOF
36652 /* end confdefs.h. */
36653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36655 #define $ac_func innocuous_$ac_func
36656
36657 /* System header to define __stub macros and hopefully few prototypes,
36658 which can conflict with char $ac_func (); below.
36659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36660 <limits.h> exists even on freestanding compilers. */
36661
36662 #ifdef __STDC__
36663 # include <limits.h>
36664 #else
36665 # include <assert.h>
36666 #endif
36667
36668 #undef $ac_func
36669
36670 /* Override any GCC internal prototype to avoid an error.
36671 Use char because int might match the return type of a GCC
36672 builtin and then its argument prototype would still apply. */
36673 #ifdef __cplusplus
36674 extern "C"
36675 #endif
36676 char $ac_func ();
36677 /* The GNU C library defines this for functions which it implements
36678 to always fail with ENOSYS. Some functions are actually named
36679 something starting with __ and the normal name is an alias. */
36680 #if defined __stub_$ac_func || defined __stub___$ac_func
36681 choke me
36682 #endif
36683
36684 int
36685 main ()
36686 {
36687 return $ac_func ();
36688 ;
36689 return 0;
36690 }
36691 _ACEOF
36692 rm -f conftest.$ac_objext conftest$ac_exeext
36693 if { (ac_try="$ac_link"
36694 case "(($ac_try" in
36695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36696 *) ac_try_echo=$ac_try;;
36697 esac
36698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36699 (eval "$ac_link") 2>conftest.er1
36700 ac_status=$?
36701 grep -v '^ *+' conftest.er1 >conftest.err
36702 rm -f conftest.er1
36703 cat conftest.err >&5
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); } && {
36706 test -z "$ac_c_werror_flag" ||
36707 test ! -s conftest.err
36708 } && test -s conftest$ac_exeext &&
36709 $as_test_x conftest$ac_exeext; then
36710 eval "$as_ac_var=yes"
36711 else
36712 echo "$as_me: failed program was:" >&5
36713 sed 's/^/| /' conftest.$ac_ext >&5
36714
36715 eval "$as_ac_var=no"
36716 fi
36717
36718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36719 conftest$ac_exeext conftest.$ac_ext
36720 fi
36721 ac_res=`eval echo '${'$as_ac_var'}'`
36722 { echo "$as_me:$LINENO: result: $ac_res" >&5
36723 echo "${ECHO_T}$ac_res" >&6; }
36724 if test `eval echo '${'$as_ac_var'}'` = yes; then
36725 cat >>confdefs.h <<_ACEOF
36726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36727 _ACEOF
36728 break
36729 fi
36730 done
36731
36732
36733 HAVE_SOME_SLEEP_FUNC=0
36734 if test "$USE_BEOS" = 1; then
36735 cat >>confdefs.h <<\_ACEOF
36736 #define HAVE_SLEEP 1
36737 _ACEOF
36738
36739 HAVE_SOME_SLEEP_FUNC=1
36740 fi
36741
36742 if test "$USE_DARWIN" = 1; then
36743 cat >>confdefs.h <<\_ACEOF
36744 #define HAVE_USLEEP 1
36745 _ACEOF
36746
36747 HAVE_SOME_SLEEP_FUNC=1
36748 fi
36749
36750 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36751 POSIX4_LINK=
36752
36753 for ac_func in nanosleep
36754 do
36755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36756 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36758 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36759 echo $ECHO_N "(cached) $ECHO_C" >&6
36760 else
36761 cat >conftest.$ac_ext <<_ACEOF
36762 /* confdefs.h. */
36763 _ACEOF
36764 cat confdefs.h >>conftest.$ac_ext
36765 cat >>conftest.$ac_ext <<_ACEOF
36766 /* end confdefs.h. */
36767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36769 #define $ac_func innocuous_$ac_func
36770
36771 /* System header to define __stub macros and hopefully few prototypes,
36772 which can conflict with char $ac_func (); below.
36773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36774 <limits.h> exists even on freestanding compilers. */
36775
36776 #ifdef __STDC__
36777 # include <limits.h>
36778 #else
36779 # include <assert.h>
36780 #endif
36781
36782 #undef $ac_func
36783
36784 /* Override any GCC internal prototype to avoid an error.
36785 Use char because int might match the return type of a GCC
36786 builtin and then its argument prototype would still apply. */
36787 #ifdef __cplusplus
36788 extern "C"
36789 #endif
36790 char $ac_func ();
36791 /* The GNU C library defines this for functions which it implements
36792 to always fail with ENOSYS. Some functions are actually named
36793 something starting with __ and the normal name is an alias. */
36794 #if defined __stub_$ac_func || defined __stub___$ac_func
36795 choke me
36796 #endif
36797
36798 int
36799 main ()
36800 {
36801 return $ac_func ();
36802 ;
36803 return 0;
36804 }
36805 _ACEOF
36806 rm -f conftest.$ac_objext conftest$ac_exeext
36807 if { (ac_try="$ac_link"
36808 case "(($ac_try" in
36809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36810 *) ac_try_echo=$ac_try;;
36811 esac
36812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36813 (eval "$ac_link") 2>conftest.er1
36814 ac_status=$?
36815 grep -v '^ *+' conftest.er1 >conftest.err
36816 rm -f conftest.er1
36817 cat conftest.err >&5
36818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36819 (exit $ac_status); } && {
36820 test -z "$ac_c_werror_flag" ||
36821 test ! -s conftest.err
36822 } && test -s conftest$ac_exeext &&
36823 $as_test_x conftest$ac_exeext; then
36824 eval "$as_ac_var=yes"
36825 else
36826 echo "$as_me: failed program was:" >&5
36827 sed 's/^/| /' conftest.$ac_ext >&5
36828
36829 eval "$as_ac_var=no"
36830 fi
36831
36832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36833 conftest$ac_exeext conftest.$ac_ext
36834 fi
36835 ac_res=`eval echo '${'$as_ac_var'}'`
36836 { echo "$as_me:$LINENO: result: $ac_res" >&5
36837 echo "${ECHO_T}$ac_res" >&6; }
36838 if test `eval echo '${'$as_ac_var'}'` = yes; then
36839 cat >>confdefs.h <<_ACEOF
36840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36841 _ACEOF
36842 cat >>confdefs.h <<\_ACEOF
36843 #define HAVE_NANOSLEEP 1
36844 _ACEOF
36845
36846 else
36847
36848 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36849 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36850 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36851 echo $ECHO_N "(cached) $ECHO_C" >&6
36852 else
36853 ac_check_lib_save_LIBS=$LIBS
36854 LIBS="-lposix4 $LIBS"
36855 cat >conftest.$ac_ext <<_ACEOF
36856 /* confdefs.h. */
36857 _ACEOF
36858 cat confdefs.h >>conftest.$ac_ext
36859 cat >>conftest.$ac_ext <<_ACEOF
36860 /* end confdefs.h. */
36861
36862 /* Override any GCC internal prototype to avoid an error.
36863 Use char because int might match the return type of a GCC
36864 builtin and then its argument prototype would still apply. */
36865 #ifdef __cplusplus
36866 extern "C"
36867 #endif
36868 char nanosleep ();
36869 int
36870 main ()
36871 {
36872 return nanosleep ();
36873 ;
36874 return 0;
36875 }
36876 _ACEOF
36877 rm -f conftest.$ac_objext conftest$ac_exeext
36878 if { (ac_try="$ac_link"
36879 case "(($ac_try" in
36880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36881 *) ac_try_echo=$ac_try;;
36882 esac
36883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36884 (eval "$ac_link") 2>conftest.er1
36885 ac_status=$?
36886 grep -v '^ *+' conftest.er1 >conftest.err
36887 rm -f conftest.er1
36888 cat conftest.err >&5
36889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36890 (exit $ac_status); } && {
36891 test -z "$ac_c_werror_flag" ||
36892 test ! -s conftest.err
36893 } && test -s conftest$ac_exeext &&
36894 $as_test_x conftest$ac_exeext; then
36895 ac_cv_lib_posix4_nanosleep=yes
36896 else
36897 echo "$as_me: failed program was:" >&5
36898 sed 's/^/| /' conftest.$ac_ext >&5
36899
36900 ac_cv_lib_posix4_nanosleep=no
36901 fi
36902
36903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36904 conftest$ac_exeext conftest.$ac_ext
36905 LIBS=$ac_check_lib_save_LIBS
36906 fi
36907 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36908 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36909 if test $ac_cv_lib_posix4_nanosleep = yes; then
36910
36911 cat >>confdefs.h <<\_ACEOF
36912 #define HAVE_NANOSLEEP 1
36913 _ACEOF
36914
36915 POSIX4_LINK=" -lposix4"
36916
36917 else
36918
36919
36920 for wx_func in usleep
36921 do
36922 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36923 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36924 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36925 echo $ECHO_N "(cached) $ECHO_C" >&6
36926 else
36927
36928 cat >conftest.$ac_ext <<_ACEOF
36929
36930 /* confdefs.h. */
36931 _ACEOF
36932 cat confdefs.h >>conftest.$ac_ext
36933 cat >>conftest.$ac_ext <<_ACEOF
36934 /* end confdefs.h. */
36935
36936
36937 $ac_includes_default
36938
36939 int
36940 main ()
36941 {
36942
36943 #ifndef $wx_func
36944 &$wx_func;
36945 #endif
36946
36947
36948 ;
36949 return 0;
36950 }
36951
36952 _ACEOF
36953 rm -f conftest.$ac_objext conftest$ac_exeext
36954 if { (ac_try="$ac_link"
36955 case "(($ac_try" in
36956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36957 *) ac_try_echo=$ac_try;;
36958 esac
36959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36960 (eval "$ac_link") 2>conftest.er1
36961 ac_status=$?
36962 grep -v '^ *+' conftest.er1 >conftest.err
36963 rm -f conftest.er1
36964 cat conftest.err >&5
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); } && {
36967 test -z "$ac_c_werror_flag" ||
36968 test ! -s conftest.err
36969 } && test -s conftest$ac_exeext &&
36970 $as_test_x conftest$ac_exeext; then
36971 eval wx_cv_func_$wx_func=yes
36972 else
36973 echo "$as_me: failed program was:" >&5
36974 sed 's/^/| /' conftest.$ac_ext >&5
36975
36976 eval wx_cv_func_$wx_func=no
36977 fi
36978
36979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36980 conftest$ac_exeext conftest.$ac_ext
36981
36982 fi
36983 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36984 { echo "$as_me:$LINENO: result: $ac_res" >&5
36985 echo "${ECHO_T}$ac_res" >&6; }
36986
36987 if eval test \$wx_cv_func_$wx_func = yes
36988 then
36989 cat >>confdefs.h <<_ACEOF
36990 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36991 _ACEOF
36992
36993
36994 else
36995 :
36996 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36997 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36998
36999 fi
37000 done
37001
37002
37003
37004 fi
37005
37006
37007
37008 fi
37009 done
37010
37011 fi
37012
37013
37014 for wx_func in uname
37015 do
37016 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37017 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37018 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37019 echo $ECHO_N "(cached) $ECHO_C" >&6
37020 else
37021
37022 cat >conftest.$ac_ext <<_ACEOF
37023
37024 /* confdefs.h. */
37025 _ACEOF
37026 cat confdefs.h >>conftest.$ac_ext
37027 cat >>conftest.$ac_ext <<_ACEOF
37028 /* end confdefs.h. */
37029
37030 #include <sys/utsname.h>
37031 $ac_includes_default
37032
37033 int
37034 main ()
37035 {
37036
37037 #ifndef $wx_func
37038 &$wx_func;
37039 #endif
37040
37041
37042 ;
37043 return 0;
37044 }
37045
37046 _ACEOF
37047 rm -f conftest.$ac_objext conftest$ac_exeext
37048 if { (ac_try="$ac_link"
37049 case "(($ac_try" in
37050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37051 *) ac_try_echo=$ac_try;;
37052 esac
37053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37054 (eval "$ac_link") 2>conftest.er1
37055 ac_status=$?
37056 grep -v '^ *+' conftest.er1 >conftest.err
37057 rm -f conftest.er1
37058 cat conftest.err >&5
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); } && {
37061 test -z "$ac_c_werror_flag" ||
37062 test ! -s conftest.err
37063 } && test -s conftest$ac_exeext &&
37064 $as_test_x conftest$ac_exeext; then
37065 eval wx_cv_func_$wx_func=yes
37066 else
37067 echo "$as_me: failed program was:" >&5
37068 sed 's/^/| /' conftest.$ac_ext >&5
37069
37070 eval wx_cv_func_$wx_func=no
37071 fi
37072
37073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37074 conftest$ac_exeext conftest.$ac_ext
37075
37076 fi
37077 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37078 { echo "$as_me:$LINENO: result: $ac_res" >&5
37079 echo "${ECHO_T}$ac_res" >&6; }
37080
37081 if eval test \$wx_cv_func_$wx_func = yes
37082 then
37083 cat >>confdefs.h <<_ACEOF
37084 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37085 _ACEOF
37086
37087
37088 else
37089 :
37090
37091 fi
37092 done
37093
37094 if test "$wx_cv_func_uname" != yes; then
37095
37096 for wx_func in gethostname
37097 do
37098 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37099 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37100 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37101 echo $ECHO_N "(cached) $ECHO_C" >&6
37102 else
37103
37104 cat >conftest.$ac_ext <<_ACEOF
37105
37106 /* confdefs.h. */
37107 _ACEOF
37108 cat confdefs.h >>conftest.$ac_ext
37109 cat >>conftest.$ac_ext <<_ACEOF
37110 /* end confdefs.h. */
37111
37112
37113 $ac_includes_default
37114
37115 int
37116 main ()
37117 {
37118
37119 #ifndef $wx_func
37120 &$wx_func;
37121 #endif
37122
37123
37124 ;
37125 return 0;
37126 }
37127
37128 _ACEOF
37129 rm -f conftest.$ac_objext conftest$ac_exeext
37130 if { (ac_try="$ac_link"
37131 case "(($ac_try" in
37132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37133 *) ac_try_echo=$ac_try;;
37134 esac
37135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37136 (eval "$ac_link") 2>conftest.er1
37137 ac_status=$?
37138 grep -v '^ *+' conftest.er1 >conftest.err
37139 rm -f conftest.er1
37140 cat conftest.err >&5
37141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37142 (exit $ac_status); } && {
37143 test -z "$ac_c_werror_flag" ||
37144 test ! -s conftest.err
37145 } && test -s conftest$ac_exeext &&
37146 $as_test_x conftest$ac_exeext; then
37147 eval wx_cv_func_$wx_func=yes
37148 else
37149 echo "$as_me: failed program was:" >&5
37150 sed 's/^/| /' conftest.$ac_ext >&5
37151
37152 eval wx_cv_func_$wx_func=no
37153 fi
37154
37155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37156 conftest$ac_exeext conftest.$ac_ext
37157
37158 fi
37159 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37160 { echo "$as_me:$LINENO: result: $ac_res" >&5
37161 echo "${ECHO_T}$ac_res" >&6; }
37162
37163 if eval test \$wx_cv_func_$wx_func = yes
37164 then
37165 cat >>confdefs.h <<_ACEOF
37166 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37167 _ACEOF
37168
37169
37170 else
37171 :
37172
37173 fi
37174 done
37175
37176 fi
37177
37178
37179 for wx_func in strtok_r
37180 do
37181 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37182 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37183 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37184 echo $ECHO_N "(cached) $ECHO_C" >&6
37185 else
37186
37187 cat >conftest.$ac_ext <<_ACEOF
37188
37189 /* confdefs.h. */
37190 _ACEOF
37191 cat confdefs.h >>conftest.$ac_ext
37192 cat >>conftest.$ac_ext <<_ACEOF
37193 /* end confdefs.h. */
37194
37195 #define _REENTRANT
37196 $ac_includes_default
37197
37198 int
37199 main ()
37200 {
37201
37202 #ifndef $wx_func
37203 &$wx_func;
37204 #endif
37205
37206
37207 ;
37208 return 0;
37209 }
37210
37211 _ACEOF
37212 rm -f conftest.$ac_objext conftest$ac_exeext
37213 if { (ac_try="$ac_link"
37214 case "(($ac_try" in
37215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37216 *) ac_try_echo=$ac_try;;
37217 esac
37218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37219 (eval "$ac_link") 2>conftest.er1
37220 ac_status=$?
37221 grep -v '^ *+' conftest.er1 >conftest.err
37222 rm -f conftest.er1
37223 cat conftest.err >&5
37224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37225 (exit $ac_status); } && {
37226 test -z "$ac_c_werror_flag" ||
37227 test ! -s conftest.err
37228 } && test -s conftest$ac_exeext &&
37229 $as_test_x conftest$ac_exeext; then
37230 eval wx_cv_func_$wx_func=yes
37231 else
37232 echo "$as_me: failed program was:" >&5
37233 sed 's/^/| /' conftest.$ac_ext >&5
37234
37235 eval wx_cv_func_$wx_func=no
37236 fi
37237
37238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37239 conftest$ac_exeext conftest.$ac_ext
37240
37241 fi
37242 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37243 { echo "$as_me:$LINENO: result: $ac_res" >&5
37244 echo "${ECHO_T}$ac_res" >&6; }
37245
37246 if eval test \$wx_cv_func_$wx_func = yes
37247 then
37248 cat >>confdefs.h <<_ACEOF
37249 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37250 _ACEOF
37251
37252
37253 else
37254 :
37255
37256 fi
37257 done
37258
37259
37260 INET_LINK=
37261
37262 for ac_func in inet_addr
37263 do
37264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37265 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37267 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37268 echo $ECHO_N "(cached) $ECHO_C" >&6
37269 else
37270 cat >conftest.$ac_ext <<_ACEOF
37271 /* confdefs.h. */
37272 _ACEOF
37273 cat confdefs.h >>conftest.$ac_ext
37274 cat >>conftest.$ac_ext <<_ACEOF
37275 /* end confdefs.h. */
37276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37278 #define $ac_func innocuous_$ac_func
37279
37280 /* System header to define __stub macros and hopefully few prototypes,
37281 which can conflict with char $ac_func (); below.
37282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37283 <limits.h> exists even on freestanding compilers. */
37284
37285 #ifdef __STDC__
37286 # include <limits.h>
37287 #else
37288 # include <assert.h>
37289 #endif
37290
37291 #undef $ac_func
37292
37293 /* Override any GCC internal prototype to avoid an error.
37294 Use char because int might match the return type of a GCC
37295 builtin and then its argument prototype would still apply. */
37296 #ifdef __cplusplus
37297 extern "C"
37298 #endif
37299 char $ac_func ();
37300 /* The GNU C library defines this for functions which it implements
37301 to always fail with ENOSYS. Some functions are actually named
37302 something starting with __ and the normal name is an alias. */
37303 #if defined __stub_$ac_func || defined __stub___$ac_func
37304 choke me
37305 #endif
37306
37307 int
37308 main ()
37309 {
37310 return $ac_func ();
37311 ;
37312 return 0;
37313 }
37314 _ACEOF
37315 rm -f conftest.$ac_objext conftest$ac_exeext
37316 if { (ac_try="$ac_link"
37317 case "(($ac_try" in
37318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37319 *) ac_try_echo=$ac_try;;
37320 esac
37321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37322 (eval "$ac_link") 2>conftest.er1
37323 ac_status=$?
37324 grep -v '^ *+' conftest.er1 >conftest.err
37325 rm -f conftest.er1
37326 cat conftest.err >&5
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); } && {
37329 test -z "$ac_c_werror_flag" ||
37330 test ! -s conftest.err
37331 } && test -s conftest$ac_exeext &&
37332 $as_test_x conftest$ac_exeext; then
37333 eval "$as_ac_var=yes"
37334 else
37335 echo "$as_me: failed program was:" >&5
37336 sed 's/^/| /' conftest.$ac_ext >&5
37337
37338 eval "$as_ac_var=no"
37339 fi
37340
37341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37342 conftest$ac_exeext conftest.$ac_ext
37343 fi
37344 ac_res=`eval echo '${'$as_ac_var'}'`
37345 { echo "$as_me:$LINENO: result: $ac_res" >&5
37346 echo "${ECHO_T}$ac_res" >&6; }
37347 if test `eval echo '${'$as_ac_var'}'` = yes; then
37348 cat >>confdefs.h <<_ACEOF
37349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37350 _ACEOF
37351 cat >>confdefs.h <<\_ACEOF
37352 #define HAVE_INET_ADDR 1
37353 _ACEOF
37354
37355 else
37356
37357 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37358 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37359 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37360 echo $ECHO_N "(cached) $ECHO_C" >&6
37361 else
37362 ac_check_lib_save_LIBS=$LIBS
37363 LIBS="-lnsl $LIBS"
37364 cat >conftest.$ac_ext <<_ACEOF
37365 /* confdefs.h. */
37366 _ACEOF
37367 cat confdefs.h >>conftest.$ac_ext
37368 cat >>conftest.$ac_ext <<_ACEOF
37369 /* end confdefs.h. */
37370
37371 /* Override any GCC internal prototype to avoid an error.
37372 Use char because int might match the return type of a GCC
37373 builtin and then its argument prototype would still apply. */
37374 #ifdef __cplusplus
37375 extern "C"
37376 #endif
37377 char inet_addr ();
37378 int
37379 main ()
37380 {
37381 return inet_addr ();
37382 ;
37383 return 0;
37384 }
37385 _ACEOF
37386 rm -f conftest.$ac_objext conftest$ac_exeext
37387 if { (ac_try="$ac_link"
37388 case "(($ac_try" in
37389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37390 *) ac_try_echo=$ac_try;;
37391 esac
37392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37393 (eval "$ac_link") 2>conftest.er1
37394 ac_status=$?
37395 grep -v '^ *+' conftest.er1 >conftest.err
37396 rm -f conftest.er1
37397 cat conftest.err >&5
37398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37399 (exit $ac_status); } && {
37400 test -z "$ac_c_werror_flag" ||
37401 test ! -s conftest.err
37402 } && test -s conftest$ac_exeext &&
37403 $as_test_x conftest$ac_exeext; then
37404 ac_cv_lib_nsl_inet_addr=yes
37405 else
37406 echo "$as_me: failed program was:" >&5
37407 sed 's/^/| /' conftest.$ac_ext >&5
37408
37409 ac_cv_lib_nsl_inet_addr=no
37410 fi
37411
37412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37413 conftest$ac_exeext conftest.$ac_ext
37414 LIBS=$ac_check_lib_save_LIBS
37415 fi
37416 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37417 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37418 if test $ac_cv_lib_nsl_inet_addr = yes; then
37419 INET_LINK="nsl"
37420 else
37421
37422 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37423 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37424 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37425 echo $ECHO_N "(cached) $ECHO_C" >&6
37426 else
37427 ac_check_lib_save_LIBS=$LIBS
37428 LIBS="-lresolv $LIBS"
37429 cat >conftest.$ac_ext <<_ACEOF
37430 /* confdefs.h. */
37431 _ACEOF
37432 cat confdefs.h >>conftest.$ac_ext
37433 cat >>conftest.$ac_ext <<_ACEOF
37434 /* end confdefs.h. */
37435
37436 /* Override any GCC internal prototype to avoid an error.
37437 Use char because int might match the return type of a GCC
37438 builtin and then its argument prototype would still apply. */
37439 #ifdef __cplusplus
37440 extern "C"
37441 #endif
37442 char inet_addr ();
37443 int
37444 main ()
37445 {
37446 return inet_addr ();
37447 ;
37448 return 0;
37449 }
37450 _ACEOF
37451 rm -f conftest.$ac_objext conftest$ac_exeext
37452 if { (ac_try="$ac_link"
37453 case "(($ac_try" in
37454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37455 *) ac_try_echo=$ac_try;;
37456 esac
37457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37458 (eval "$ac_link") 2>conftest.er1
37459 ac_status=$?
37460 grep -v '^ *+' conftest.er1 >conftest.err
37461 rm -f conftest.er1
37462 cat conftest.err >&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } && {
37465 test -z "$ac_c_werror_flag" ||
37466 test ! -s conftest.err
37467 } && test -s conftest$ac_exeext &&
37468 $as_test_x conftest$ac_exeext; then
37469 ac_cv_lib_resolv_inet_addr=yes
37470 else
37471 echo "$as_me: failed program was:" >&5
37472 sed 's/^/| /' conftest.$ac_ext >&5
37473
37474 ac_cv_lib_resolv_inet_addr=no
37475 fi
37476
37477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37478 conftest$ac_exeext conftest.$ac_ext
37479 LIBS=$ac_check_lib_save_LIBS
37480 fi
37481 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37482 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37483 if test $ac_cv_lib_resolv_inet_addr = yes; then
37484 INET_LINK="resolv"
37485 else
37486
37487 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37488 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37489 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37490 echo $ECHO_N "(cached) $ECHO_C" >&6
37491 else
37492 ac_check_lib_save_LIBS=$LIBS
37493 LIBS="-lsocket $LIBS"
37494 cat >conftest.$ac_ext <<_ACEOF
37495 /* confdefs.h. */
37496 _ACEOF
37497 cat confdefs.h >>conftest.$ac_ext
37498 cat >>conftest.$ac_ext <<_ACEOF
37499 /* end confdefs.h. */
37500
37501 /* Override any GCC internal prototype to avoid an error.
37502 Use char because int might match the return type of a GCC
37503 builtin and then its argument prototype would still apply. */
37504 #ifdef __cplusplus
37505 extern "C"
37506 #endif
37507 char inet_addr ();
37508 int
37509 main ()
37510 {
37511 return inet_addr ();
37512 ;
37513 return 0;
37514 }
37515 _ACEOF
37516 rm -f conftest.$ac_objext conftest$ac_exeext
37517 if { (ac_try="$ac_link"
37518 case "(($ac_try" in
37519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37520 *) ac_try_echo=$ac_try;;
37521 esac
37522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37523 (eval "$ac_link") 2>conftest.er1
37524 ac_status=$?
37525 grep -v '^ *+' conftest.er1 >conftest.err
37526 rm -f conftest.er1
37527 cat conftest.err >&5
37528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37529 (exit $ac_status); } && {
37530 test -z "$ac_c_werror_flag" ||
37531 test ! -s conftest.err
37532 } && test -s conftest$ac_exeext &&
37533 $as_test_x conftest$ac_exeext; then
37534 ac_cv_lib_socket_inet_addr=yes
37535 else
37536 echo "$as_me: failed program was:" >&5
37537 sed 's/^/| /' conftest.$ac_ext >&5
37538
37539 ac_cv_lib_socket_inet_addr=no
37540 fi
37541
37542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37543 conftest$ac_exeext conftest.$ac_ext
37544 LIBS=$ac_check_lib_save_LIBS
37545 fi
37546 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37547 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37548 if test $ac_cv_lib_socket_inet_addr = yes; then
37549 INET_LINK="socket"
37550
37551 fi
37552
37553
37554
37555 fi
37556
37557
37558
37559 fi
37560
37561
37562
37563 fi
37564 done
37565
37566
37567
37568 for ac_func in inet_aton
37569 do
37570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37571 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37573 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37574 echo $ECHO_N "(cached) $ECHO_C" >&6
37575 else
37576 cat >conftest.$ac_ext <<_ACEOF
37577 /* confdefs.h. */
37578 _ACEOF
37579 cat confdefs.h >>conftest.$ac_ext
37580 cat >>conftest.$ac_ext <<_ACEOF
37581 /* end confdefs.h. */
37582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37584 #define $ac_func innocuous_$ac_func
37585
37586 /* System header to define __stub macros and hopefully few prototypes,
37587 which can conflict with char $ac_func (); below.
37588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37589 <limits.h> exists even on freestanding compilers. */
37590
37591 #ifdef __STDC__
37592 # include <limits.h>
37593 #else
37594 # include <assert.h>
37595 #endif
37596
37597 #undef $ac_func
37598
37599 /* Override any GCC internal prototype to avoid an error.
37600 Use char because int might match the return type of a GCC
37601 builtin and then its argument prototype would still apply. */
37602 #ifdef __cplusplus
37603 extern "C"
37604 #endif
37605 char $ac_func ();
37606 /* The GNU C library defines this for functions which it implements
37607 to always fail with ENOSYS. Some functions are actually named
37608 something starting with __ and the normal name is an alias. */
37609 #if defined __stub_$ac_func || defined __stub___$ac_func
37610 choke me
37611 #endif
37612
37613 int
37614 main ()
37615 {
37616 return $ac_func ();
37617 ;
37618 return 0;
37619 }
37620 _ACEOF
37621 rm -f conftest.$ac_objext conftest$ac_exeext
37622 if { (ac_try="$ac_link"
37623 case "(($ac_try" in
37624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37625 *) ac_try_echo=$ac_try;;
37626 esac
37627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37628 (eval "$ac_link") 2>conftest.er1
37629 ac_status=$?
37630 grep -v '^ *+' conftest.er1 >conftest.err
37631 rm -f conftest.er1
37632 cat conftest.err >&5
37633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634 (exit $ac_status); } && {
37635 test -z "$ac_c_werror_flag" ||
37636 test ! -s conftest.err
37637 } && test -s conftest$ac_exeext &&
37638 $as_test_x conftest$ac_exeext; then
37639 eval "$as_ac_var=yes"
37640 else
37641 echo "$as_me: failed program was:" >&5
37642 sed 's/^/| /' conftest.$ac_ext >&5
37643
37644 eval "$as_ac_var=no"
37645 fi
37646
37647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37648 conftest$ac_exeext conftest.$ac_ext
37649 fi
37650 ac_res=`eval echo '${'$as_ac_var'}'`
37651 { echo "$as_me:$LINENO: result: $ac_res" >&5
37652 echo "${ECHO_T}$ac_res" >&6; }
37653 if test `eval echo '${'$as_ac_var'}'` = yes; then
37654 cat >>confdefs.h <<_ACEOF
37655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37656 _ACEOF
37657 cat >>confdefs.h <<\_ACEOF
37658 #define HAVE_INET_ATON 1
37659 _ACEOF
37660
37661 else
37662
37663 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37664 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37665 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37666 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37667 echo $ECHO_N "(cached) $ECHO_C" >&6
37668 else
37669 ac_check_lib_save_LIBS=$LIBS
37670 LIBS="-l$INET_LINK $LIBS"
37671 cat >conftest.$ac_ext <<_ACEOF
37672 /* confdefs.h. */
37673 _ACEOF
37674 cat confdefs.h >>conftest.$ac_ext
37675 cat >>conftest.$ac_ext <<_ACEOF
37676 /* end confdefs.h. */
37677
37678 /* Override any GCC internal prototype to avoid an error.
37679 Use char because int might match the return type of a GCC
37680 builtin and then its argument prototype would still apply. */
37681 #ifdef __cplusplus
37682 extern "C"
37683 #endif
37684 char inet_aton ();
37685 int
37686 main ()
37687 {
37688 return inet_aton ();
37689 ;
37690 return 0;
37691 }
37692 _ACEOF
37693 rm -f conftest.$ac_objext conftest$ac_exeext
37694 if { (ac_try="$ac_link"
37695 case "(($ac_try" in
37696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37697 *) ac_try_echo=$ac_try;;
37698 esac
37699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37700 (eval "$ac_link") 2>conftest.er1
37701 ac_status=$?
37702 grep -v '^ *+' conftest.er1 >conftest.err
37703 rm -f conftest.er1
37704 cat conftest.err >&5
37705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37706 (exit $ac_status); } && {
37707 test -z "$ac_c_werror_flag" ||
37708 test ! -s conftest.err
37709 } && test -s conftest$ac_exeext &&
37710 $as_test_x conftest$ac_exeext; then
37711 eval "$as_ac_Lib=yes"
37712 else
37713 echo "$as_me: failed program was:" >&5
37714 sed 's/^/| /' conftest.$ac_ext >&5
37715
37716 eval "$as_ac_Lib=no"
37717 fi
37718
37719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37720 conftest$ac_exeext conftest.$ac_ext
37721 LIBS=$ac_check_lib_save_LIBS
37722 fi
37723 ac_res=`eval echo '${'$as_ac_Lib'}'`
37724 { echo "$as_me:$LINENO: result: $ac_res" >&5
37725 echo "${ECHO_T}$ac_res" >&6; }
37726 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37727 cat >>confdefs.h <<\_ACEOF
37728 #define HAVE_INET_ATON 1
37729 _ACEOF
37730
37731 fi
37732
37733
37734 fi
37735 done
37736
37737
37738 if test "x$INET_LINK" != "x"; then
37739 cat >>confdefs.h <<\_ACEOF
37740 #define HAVE_INET_ADDR 1
37741 _ACEOF
37742
37743 INET_LINK=" -l$INET_LINK"
37744 fi
37745
37746
37747 for wx_func in fdopen
37748 do
37749 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37750 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37751 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37752 echo $ECHO_N "(cached) $ECHO_C" >&6
37753 else
37754
37755 cat >conftest.$ac_ext <<_ACEOF
37756
37757 /* confdefs.h. */
37758 _ACEOF
37759 cat confdefs.h >>conftest.$ac_ext
37760 cat >>conftest.$ac_ext <<_ACEOF
37761 /* end confdefs.h. */
37762
37763
37764 $ac_includes_default
37765
37766 int
37767 main ()
37768 {
37769
37770 #ifndef $wx_func
37771 &$wx_func;
37772 #endif
37773
37774
37775 ;
37776 return 0;
37777 }
37778
37779 _ACEOF
37780 rm -f conftest.$ac_objext conftest$ac_exeext
37781 if { (ac_try="$ac_link"
37782 case "(($ac_try" in
37783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37784 *) ac_try_echo=$ac_try;;
37785 esac
37786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37787 (eval "$ac_link") 2>conftest.er1
37788 ac_status=$?
37789 grep -v '^ *+' conftest.er1 >conftest.err
37790 rm -f conftest.er1
37791 cat conftest.err >&5
37792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37793 (exit $ac_status); } && {
37794 test -z "$ac_c_werror_flag" ||
37795 test ! -s conftest.err
37796 } && test -s conftest$ac_exeext &&
37797 $as_test_x conftest$ac_exeext; then
37798 eval wx_cv_func_$wx_func=yes
37799 else
37800 echo "$as_me: failed program was:" >&5
37801 sed 's/^/| /' conftest.$ac_ext >&5
37802
37803 eval wx_cv_func_$wx_func=no
37804 fi
37805
37806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37807 conftest$ac_exeext conftest.$ac_ext
37808
37809 fi
37810 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37811 { echo "$as_me:$LINENO: result: $ac_res" >&5
37812 echo "${ECHO_T}$ac_res" >&6; }
37813
37814 if eval test \$wx_cv_func_$wx_func = yes
37815 then
37816 cat >>confdefs.h <<_ACEOF
37817 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37818 _ACEOF
37819
37820
37821 else
37822 :
37823
37824 fi
37825 done
37826
37827
37828 fi
37829
37830
37831
37832 cat >confcache <<\_ACEOF
37833 # This file is a shell script that caches the results of configure
37834 # tests run on this system so they can be shared between configure
37835 # scripts and configure runs, see configure's option --config-cache.
37836 # It is not useful on other systems. If it contains results you don't
37837 # want to keep, you may remove or edit it.
37838 #
37839 # config.status only pays attention to the cache file if you give it
37840 # the --recheck option to rerun configure.
37841 #
37842 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37843 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37844 # following values.
37845
37846 _ACEOF
37847
37848 # The following way of writing the cache mishandles newlines in values,
37849 # but we know of no workaround that is simple, portable, and efficient.
37850 # So, we kill variables containing newlines.
37851 # Ultrix sh set writes to stderr and can't be redirected directly,
37852 # and sets the high bit in the cache file unless we assign to the vars.
37853 (
37854 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37855 eval ac_val=\$$ac_var
37856 case $ac_val in #(
37857 *${as_nl}*)
37858 case $ac_var in #(
37859 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37860 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37861 esac
37862 case $ac_var in #(
37863 _ | IFS | as_nl) ;; #(
37864 *) $as_unset $ac_var ;;
37865 esac ;;
37866 esac
37867 done
37868
37869 (set) 2>&1 |
37870 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37871 *${as_nl}ac_space=\ *)
37872 # `set' does not quote correctly, so add quotes (double-quote
37873 # substitution turns \\\\ into \\, and sed turns \\ into \).
37874 sed -n \
37875 "s/'/'\\\\''/g;
37876 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37877 ;; #(
37878 *)
37879 # `set' quotes correctly as required by POSIX, so do not add quotes.
37880 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37881 ;;
37882 esac |
37883 sort
37884 ) |
37885 sed '
37886 /^ac_cv_env_/b end
37887 t clear
37888 :clear
37889 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37890 t end
37891 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37892 :end' >>confcache
37893 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37894 if test -w "$cache_file"; then
37895 test "x$cache_file" != "x/dev/null" &&
37896 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37897 echo "$as_me: updating cache $cache_file" >&6;}
37898 cat confcache >$cache_file
37899 else
37900 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37901 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37902 fi
37903 fi
37904 rm -f confcache
37905
37906
37907 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37908
37909
37910 THREADS_LINK=
37911 THREADS_CFLAGS=
37912
37913 if test "$wxUSE_THREADS" = "yes" ; then
37914 if test "$USE_BEOS" = 1; then
37915 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37916 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37917 wxUSE_THREADS="no"
37918 fi
37919 fi
37920
37921 if test "$wxUSE_THREADS" = "yes" ; then
37922
37923
37924 THREAD_OPTS="-pthread"
37925 case "${host}" in
37926 *-*-solaris2* | *-*-sunos4* )
37927 if test "x$GCC" = "xyes"; then
37928 THREAD_OPTS="-pthreads $THREAD_OPTS"
37929 else
37930 THREAD_OPTS="-mt $THREAD_OPTS"
37931 fi
37932 ;;
37933 *-*-freebsd*)
37934 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37935 ;;
37936 *-*-darwin* | *-*-cygwin* )
37937 THREAD_OPTS=""
37938 ;;
37939 *-*-aix*)
37940 THREAD_OPTS="pthreads"
37941 ;;
37942 *-hp-hpux* )
37943 if test "x$GCC" = "xyes"; then
37944 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37945 THREAD_OPTS=""
37946 else
37947 THREAD_OPTS="-mt"
37948 fi
37949 ;;
37950
37951 *-*-irix* )
37952 if test "x$GCC" = "xyes"; then
37953 THREAD_OPTS=""
37954 fi
37955 ;;
37956
37957 *-*-*UnixWare*)
37958 if test "x$GCC" != "xyes"; then
37959 THREAD_OPTS="-Ethread"
37960 fi
37961 ;;
37962 esac
37963
37964 THREAD_OPTS="$THREAD_OPTS pthread none"
37965
37966 THREADS_OK=no
37967 for flag in $THREAD_OPTS; do
37968 case $flag in
37969 none)
37970 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37971 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37972 ;;
37973
37974 -*)
37975 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37976 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37977 THREADS_CFLAGS="$flag"
37978 ;;
37979
37980 *)
37981 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37982 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37983 THREADS_LINK="-l$flag"
37984 ;;
37985 esac
37986
37987 save_LIBS="$LIBS"
37988 save_CFLAGS="$CFLAGS"
37989 LIBS="$THREADS_LINK $LIBS"
37990 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37991
37992 cat >conftest.$ac_ext <<_ACEOF
37993 /* confdefs.h. */
37994 _ACEOF
37995 cat confdefs.h >>conftest.$ac_ext
37996 cat >>conftest.$ac_ext <<_ACEOF
37997 /* end confdefs.h. */
37998 #include <pthread.h>
37999 int
38000 main ()
38001 {
38002 pthread_create(0,0,0,0);
38003 ;
38004 return 0;
38005 }
38006 _ACEOF
38007 rm -f conftest.$ac_objext conftest$ac_exeext
38008 if { (ac_try="$ac_link"
38009 case "(($ac_try" in
38010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38011 *) ac_try_echo=$ac_try;;
38012 esac
38013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38014 (eval "$ac_link") 2>conftest.er1
38015 ac_status=$?
38016 grep -v '^ *+' conftest.er1 >conftest.err
38017 rm -f conftest.er1
38018 cat conftest.err >&5
38019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38020 (exit $ac_status); } && {
38021 test -z "$ac_c_werror_flag" ||
38022 test ! -s conftest.err
38023 } && test -s conftest$ac_exeext &&
38024 $as_test_x conftest$ac_exeext; then
38025 THREADS_OK=yes
38026 else
38027 echo "$as_me: failed program was:" >&5
38028 sed 's/^/| /' conftest.$ac_ext >&5
38029
38030
38031 fi
38032
38033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38034 conftest$ac_exeext conftest.$ac_ext
38035
38036 LIBS="$save_LIBS"
38037 CFLAGS="$save_CFLAGS"
38038
38039 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38040 echo "${ECHO_T}$THREADS_OK" >&6; }
38041 if test "x$THREADS_OK" = "xyes"; then
38042 break;
38043 fi
38044
38045 THREADS_LINK=""
38046 THREADS_CFLAGS=""
38047 done
38048
38049 if test "x$THREADS_OK" != "xyes"; then
38050 wxUSE_THREADS=no
38051 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38052 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38053 else
38054 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38055 LIBS="$THREADS_LINK $LIBS"
38056
38057 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38058 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38059 flag=no
38060 case "${host}" in
38061 *-aix*)
38062 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38063 flag="-D_THREAD_SAFE"
38064 ;;
38065 *-freebsd*)
38066 flag="-D_THREAD_SAFE"
38067 ;;
38068 *-hp-hpux* )
38069 flag="-D_REENTRANT"
38070 if test "x$GCC" != "xyes"; then
38071 flag="$flag -D_RWSTD_MULTI_THREAD"
38072 fi
38073 ;;
38074 *solaris* | alpha*-osf*)
38075 flag="-D_REENTRANT"
38076 ;;
38077 esac
38078 { echo "$as_me:$LINENO: result: ${flag}" >&5
38079 echo "${ECHO_T}${flag}" >&6; }
38080 if test "x$flag" != xno; then
38081 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38082 fi
38083
38084 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38085 fi
38086 fi
38087
38088 if test "$wxUSE_THREADS" = "yes" ; then
38089
38090 for ac_func in thr_setconcurrency
38091 do
38092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38093 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38095 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38096 echo $ECHO_N "(cached) $ECHO_C" >&6
38097 else
38098 cat >conftest.$ac_ext <<_ACEOF
38099 /* confdefs.h. */
38100 _ACEOF
38101 cat confdefs.h >>conftest.$ac_ext
38102 cat >>conftest.$ac_ext <<_ACEOF
38103 /* end confdefs.h. */
38104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38106 #define $ac_func innocuous_$ac_func
38107
38108 /* System header to define __stub macros and hopefully few prototypes,
38109 which can conflict with char $ac_func (); below.
38110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38111 <limits.h> exists even on freestanding compilers. */
38112
38113 #ifdef __STDC__
38114 # include <limits.h>
38115 #else
38116 # include <assert.h>
38117 #endif
38118
38119 #undef $ac_func
38120
38121 /* Override any GCC internal prototype to avoid an error.
38122 Use char because int might match the return type of a GCC
38123 builtin and then its argument prototype would still apply. */
38124 #ifdef __cplusplus
38125 extern "C"
38126 #endif
38127 char $ac_func ();
38128 /* The GNU C library defines this for functions which it implements
38129 to always fail with ENOSYS. Some functions are actually named
38130 something starting with __ and the normal name is an alias. */
38131 #if defined __stub_$ac_func || defined __stub___$ac_func
38132 choke me
38133 #endif
38134
38135 int
38136 main ()
38137 {
38138 return $ac_func ();
38139 ;
38140 return 0;
38141 }
38142 _ACEOF
38143 rm -f conftest.$ac_objext conftest$ac_exeext
38144 if { (ac_try="$ac_link"
38145 case "(($ac_try" in
38146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38147 *) ac_try_echo=$ac_try;;
38148 esac
38149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38150 (eval "$ac_link") 2>conftest.er1
38151 ac_status=$?
38152 grep -v '^ *+' conftest.er1 >conftest.err
38153 rm -f conftest.er1
38154 cat conftest.err >&5
38155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38156 (exit $ac_status); } && {
38157 test -z "$ac_c_werror_flag" ||
38158 test ! -s conftest.err
38159 } && test -s conftest$ac_exeext &&
38160 $as_test_x conftest$ac_exeext; then
38161 eval "$as_ac_var=yes"
38162 else
38163 echo "$as_me: failed program was:" >&5
38164 sed 's/^/| /' conftest.$ac_ext >&5
38165
38166 eval "$as_ac_var=no"
38167 fi
38168
38169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38170 conftest$ac_exeext conftest.$ac_ext
38171 fi
38172 ac_res=`eval echo '${'$as_ac_var'}'`
38173 { echo "$as_me:$LINENO: result: $ac_res" >&5
38174 echo "${ECHO_T}$ac_res" >&6; }
38175 if test `eval echo '${'$as_ac_var'}'` = yes; then
38176 cat >>confdefs.h <<_ACEOF
38177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38178 _ACEOF
38179
38180 fi
38181 done
38182
38183
38184 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38185 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38186 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38187 echo $ECHO_N "(cached) $ECHO_C" >&6
38188 else
38189
38190 cat >conftest.$ac_ext <<_ACEOF
38191 /* confdefs.h. */
38192 _ACEOF
38193 cat confdefs.h >>conftest.$ac_ext
38194 cat >>conftest.$ac_ext <<_ACEOF
38195 /* end confdefs.h. */
38196 #include <pthread.h>
38197 void ThreadCleanupFunc(void *p);
38198
38199 int
38200 main ()
38201 {
38202
38203 void *p;
38204 pthread_cleanup_push(ThreadCleanupFunc, p);
38205 pthread_cleanup_pop(0);
38206
38207 ;
38208 return 0;
38209 }
38210 _ACEOF
38211 rm -f conftest.$ac_objext
38212 if { (ac_try="$ac_compile"
38213 case "(($ac_try" in
38214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38215 *) ac_try_echo=$ac_try;;
38216 esac
38217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38218 (eval "$ac_compile") 2>conftest.er1
38219 ac_status=$?
38220 grep -v '^ *+' conftest.er1 >conftest.err
38221 rm -f conftest.er1
38222 cat conftest.err >&5
38223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38224 (exit $ac_status); } && {
38225 test -z "$ac_c_werror_flag" ||
38226 test ! -s conftest.err
38227 } && test -s conftest.$ac_objext; then
38228
38229 wx_cv_func_pthread_cleanup=yes
38230
38231 else
38232 echo "$as_me: failed program was:" >&5
38233 sed 's/^/| /' conftest.$ac_ext >&5
38234
38235
38236 wx_cv_func_pthread_cleanup=no
38237
38238
38239 fi
38240
38241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38242
38243 fi
38244 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38245 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38246 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38247 cat >>confdefs.h <<\_ACEOF
38248 #define wxHAVE_PTHREAD_CLEANUP 1
38249 _ACEOF
38250
38251 fi
38252
38253 { echo "$as_me:$LINENO: checking for sched.h" >&5
38254 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38255 if test "${ac_cv_header_sched_h+set}" = set; then
38256 echo $ECHO_N "(cached) $ECHO_C" >&6
38257 else
38258 cat >conftest.$ac_ext <<_ACEOF
38259 /* confdefs.h. */
38260 _ACEOF
38261 cat confdefs.h >>conftest.$ac_ext
38262 cat >>conftest.$ac_ext <<_ACEOF
38263 /* end confdefs.h. */
38264 $ac_includes_default
38265
38266 #include <sched.h>
38267 _ACEOF
38268 rm -f conftest.$ac_objext
38269 if { (ac_try="$ac_compile"
38270 case "(($ac_try" in
38271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38272 *) ac_try_echo=$ac_try;;
38273 esac
38274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38275 (eval "$ac_compile") 2>conftest.er1
38276 ac_status=$?
38277 grep -v '^ *+' conftest.er1 >conftest.err
38278 rm -f conftest.er1
38279 cat conftest.err >&5
38280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38281 (exit $ac_status); } && {
38282 test -z "$ac_c_werror_flag" ||
38283 test ! -s conftest.err
38284 } && test -s conftest.$ac_objext; then
38285 ac_cv_header_sched_h=yes
38286 else
38287 echo "$as_me: failed program was:" >&5
38288 sed 's/^/| /' conftest.$ac_ext >&5
38289
38290 ac_cv_header_sched_h=no
38291 fi
38292
38293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38294 fi
38295 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38296 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38297
38298
38299 if test "$ac_cv_header_sched_h" = "yes"; then
38300 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38301 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38302 if test "${ac_cv_func_sched_yield+set}" = set; then
38303 echo $ECHO_N "(cached) $ECHO_C" >&6
38304 else
38305 cat >conftest.$ac_ext <<_ACEOF
38306 /* confdefs.h. */
38307 _ACEOF
38308 cat confdefs.h >>conftest.$ac_ext
38309 cat >>conftest.$ac_ext <<_ACEOF
38310 /* end confdefs.h. */
38311 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38313 #define sched_yield innocuous_sched_yield
38314
38315 /* System header to define __stub macros and hopefully few prototypes,
38316 which can conflict with char sched_yield (); below.
38317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38318 <limits.h> exists even on freestanding compilers. */
38319
38320 #ifdef __STDC__
38321 # include <limits.h>
38322 #else
38323 # include <assert.h>
38324 #endif
38325
38326 #undef sched_yield
38327
38328 /* Override any GCC internal prototype to avoid an error.
38329 Use char because int might match the return type of a GCC
38330 builtin and then its argument prototype would still apply. */
38331 #ifdef __cplusplus
38332 extern "C"
38333 #endif
38334 char sched_yield ();
38335 /* The GNU C library defines this for functions which it implements
38336 to always fail with ENOSYS. Some functions are actually named
38337 something starting with __ and the normal name is an alias. */
38338 #if defined __stub_sched_yield || defined __stub___sched_yield
38339 choke me
38340 #endif
38341
38342 int
38343 main ()
38344 {
38345 return sched_yield ();
38346 ;
38347 return 0;
38348 }
38349 _ACEOF
38350 rm -f conftest.$ac_objext conftest$ac_exeext
38351 if { (ac_try="$ac_link"
38352 case "(($ac_try" in
38353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38354 *) ac_try_echo=$ac_try;;
38355 esac
38356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38357 (eval "$ac_link") 2>conftest.er1
38358 ac_status=$?
38359 grep -v '^ *+' conftest.er1 >conftest.err
38360 rm -f conftest.er1
38361 cat conftest.err >&5
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); } && {
38364 test -z "$ac_c_werror_flag" ||
38365 test ! -s conftest.err
38366 } && test -s conftest$ac_exeext &&
38367 $as_test_x conftest$ac_exeext; then
38368 ac_cv_func_sched_yield=yes
38369 else
38370 echo "$as_me: failed program was:" >&5
38371 sed 's/^/| /' conftest.$ac_ext >&5
38372
38373 ac_cv_func_sched_yield=no
38374 fi
38375
38376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38377 conftest$ac_exeext conftest.$ac_ext
38378 fi
38379 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38380 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38381 if test $ac_cv_func_sched_yield = yes; then
38382 cat >>confdefs.h <<\_ACEOF
38383 #define HAVE_SCHED_YIELD 1
38384 _ACEOF
38385
38386 else
38387
38388 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38389 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38390 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38391 echo $ECHO_N "(cached) $ECHO_C" >&6
38392 else
38393 ac_check_lib_save_LIBS=$LIBS
38394 LIBS="-lposix4 $LIBS"
38395 cat >conftest.$ac_ext <<_ACEOF
38396 /* confdefs.h. */
38397 _ACEOF
38398 cat confdefs.h >>conftest.$ac_ext
38399 cat >>conftest.$ac_ext <<_ACEOF
38400 /* end confdefs.h. */
38401
38402 /* Override any GCC internal prototype to avoid an error.
38403 Use char because int might match the return type of a GCC
38404 builtin and then its argument prototype would still apply. */
38405 #ifdef __cplusplus
38406 extern "C"
38407 #endif
38408 char sched_yield ();
38409 int
38410 main ()
38411 {
38412 return sched_yield ();
38413 ;
38414 return 0;
38415 }
38416 _ACEOF
38417 rm -f conftest.$ac_objext conftest$ac_exeext
38418 if { (ac_try="$ac_link"
38419 case "(($ac_try" in
38420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38421 *) ac_try_echo=$ac_try;;
38422 esac
38423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38424 (eval "$ac_link") 2>conftest.er1
38425 ac_status=$?
38426 grep -v '^ *+' conftest.er1 >conftest.err
38427 rm -f conftest.er1
38428 cat conftest.err >&5
38429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38430 (exit $ac_status); } && {
38431 test -z "$ac_c_werror_flag" ||
38432 test ! -s conftest.err
38433 } && test -s conftest$ac_exeext &&
38434 $as_test_x conftest$ac_exeext; then
38435 ac_cv_lib_posix4_sched_yield=yes
38436 else
38437 echo "$as_me: failed program was:" >&5
38438 sed 's/^/| /' conftest.$ac_ext >&5
38439
38440 ac_cv_lib_posix4_sched_yield=no
38441 fi
38442
38443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38444 conftest$ac_exeext conftest.$ac_ext
38445 LIBS=$ac_check_lib_save_LIBS
38446 fi
38447 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38448 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38449 if test $ac_cv_lib_posix4_sched_yield = yes; then
38450 cat >>confdefs.h <<\_ACEOF
38451 #define HAVE_SCHED_YIELD 1
38452 _ACEOF
38453 POSIX4_LINK=" -lposix4"
38454 else
38455 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38456 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38457
38458 fi
38459
38460
38461
38462 fi
38463
38464 fi
38465
38466 HAVE_PRIOR_FUNCS=0
38467 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38468 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38469 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38470 echo $ECHO_N "(cached) $ECHO_C" >&6
38471 else
38472 cat >conftest.$ac_ext <<_ACEOF
38473 /* confdefs.h. */
38474 _ACEOF
38475 cat confdefs.h >>conftest.$ac_ext
38476 cat >>conftest.$ac_ext <<_ACEOF
38477 /* end confdefs.h. */
38478 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38480 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38481
38482 /* System header to define __stub macros and hopefully few prototypes,
38483 which can conflict with char pthread_attr_getschedpolicy (); below.
38484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38485 <limits.h> exists even on freestanding compilers. */
38486
38487 #ifdef __STDC__
38488 # include <limits.h>
38489 #else
38490 # include <assert.h>
38491 #endif
38492
38493 #undef pthread_attr_getschedpolicy
38494
38495 /* Override any GCC internal prototype to avoid an error.
38496 Use char because int might match the return type of a GCC
38497 builtin and then its argument prototype would still apply. */
38498 #ifdef __cplusplus
38499 extern "C"
38500 #endif
38501 char pthread_attr_getschedpolicy ();
38502 /* The GNU C library defines this for functions which it implements
38503 to always fail with ENOSYS. Some functions are actually named
38504 something starting with __ and the normal name is an alias. */
38505 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38506 choke me
38507 #endif
38508
38509 int
38510 main ()
38511 {
38512 return pthread_attr_getschedpolicy ();
38513 ;
38514 return 0;
38515 }
38516 _ACEOF
38517 rm -f conftest.$ac_objext conftest$ac_exeext
38518 if { (ac_try="$ac_link"
38519 case "(($ac_try" in
38520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38521 *) ac_try_echo=$ac_try;;
38522 esac
38523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38524 (eval "$ac_link") 2>conftest.er1
38525 ac_status=$?
38526 grep -v '^ *+' conftest.er1 >conftest.err
38527 rm -f conftest.er1
38528 cat conftest.err >&5
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); } && {
38531 test -z "$ac_c_werror_flag" ||
38532 test ! -s conftest.err
38533 } && test -s conftest$ac_exeext &&
38534 $as_test_x conftest$ac_exeext; then
38535 ac_cv_func_pthread_attr_getschedpolicy=yes
38536 else
38537 echo "$as_me: failed program was:" >&5
38538 sed 's/^/| /' conftest.$ac_ext >&5
38539
38540 ac_cv_func_pthread_attr_getschedpolicy=no
38541 fi
38542
38543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38544 conftest$ac_exeext conftest.$ac_ext
38545 fi
38546 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38547 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38548 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38549 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38550 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38551 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38552 echo $ECHO_N "(cached) $ECHO_C" >&6
38553 else
38554 cat >conftest.$ac_ext <<_ACEOF
38555 /* confdefs.h. */
38556 _ACEOF
38557 cat confdefs.h >>conftest.$ac_ext
38558 cat >>conftest.$ac_ext <<_ACEOF
38559 /* end confdefs.h. */
38560 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38562 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38563
38564 /* System header to define __stub macros and hopefully few prototypes,
38565 which can conflict with char pthread_attr_setschedparam (); below.
38566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38567 <limits.h> exists even on freestanding compilers. */
38568
38569 #ifdef __STDC__
38570 # include <limits.h>
38571 #else
38572 # include <assert.h>
38573 #endif
38574
38575 #undef pthread_attr_setschedparam
38576
38577 /* Override any GCC internal prototype to avoid an error.
38578 Use char because int might match the return type of a GCC
38579 builtin and then its argument prototype would still apply. */
38580 #ifdef __cplusplus
38581 extern "C"
38582 #endif
38583 char pthread_attr_setschedparam ();
38584 /* The GNU C library defines this for functions which it implements
38585 to always fail with ENOSYS. Some functions are actually named
38586 something starting with __ and the normal name is an alias. */
38587 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38588 choke me
38589 #endif
38590
38591 int
38592 main ()
38593 {
38594 return pthread_attr_setschedparam ();
38595 ;
38596 return 0;
38597 }
38598 _ACEOF
38599 rm -f conftest.$ac_objext conftest$ac_exeext
38600 if { (ac_try="$ac_link"
38601 case "(($ac_try" in
38602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38603 *) ac_try_echo=$ac_try;;
38604 esac
38605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38606 (eval "$ac_link") 2>conftest.er1
38607 ac_status=$?
38608 grep -v '^ *+' conftest.er1 >conftest.err
38609 rm -f conftest.er1
38610 cat conftest.err >&5
38611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38612 (exit $ac_status); } && {
38613 test -z "$ac_c_werror_flag" ||
38614 test ! -s conftest.err
38615 } && test -s conftest$ac_exeext &&
38616 $as_test_x conftest$ac_exeext; then
38617 ac_cv_func_pthread_attr_setschedparam=yes
38618 else
38619 echo "$as_me: failed program was:" >&5
38620 sed 's/^/| /' conftest.$ac_ext >&5
38621
38622 ac_cv_func_pthread_attr_setschedparam=no
38623 fi
38624
38625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38626 conftest$ac_exeext conftest.$ac_ext
38627 fi
38628 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38629 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38630 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38631 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38632 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38633 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38634 echo $ECHO_N "(cached) $ECHO_C" >&6
38635 else
38636 cat >conftest.$ac_ext <<_ACEOF
38637 /* confdefs.h. */
38638 _ACEOF
38639 cat confdefs.h >>conftest.$ac_ext
38640 cat >>conftest.$ac_ext <<_ACEOF
38641 /* end confdefs.h. */
38642 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38644 #define sched_get_priority_max innocuous_sched_get_priority_max
38645
38646 /* System header to define __stub macros and hopefully few prototypes,
38647 which can conflict with char sched_get_priority_max (); below.
38648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38649 <limits.h> exists even on freestanding compilers. */
38650
38651 #ifdef __STDC__
38652 # include <limits.h>
38653 #else
38654 # include <assert.h>
38655 #endif
38656
38657 #undef sched_get_priority_max
38658
38659 /* Override any GCC internal prototype to avoid an error.
38660 Use char because int might match the return type of a GCC
38661 builtin and then its argument prototype would still apply. */
38662 #ifdef __cplusplus
38663 extern "C"
38664 #endif
38665 char sched_get_priority_max ();
38666 /* The GNU C library defines this for functions which it implements
38667 to always fail with ENOSYS. Some functions are actually named
38668 something starting with __ and the normal name is an alias. */
38669 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38670 choke me
38671 #endif
38672
38673 int
38674 main ()
38675 {
38676 return sched_get_priority_max ();
38677 ;
38678 return 0;
38679 }
38680 _ACEOF
38681 rm -f conftest.$ac_objext conftest$ac_exeext
38682 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
38689 ac_status=$?
38690 grep -v '^ *+' conftest.er1 >conftest.err
38691 rm -f conftest.er1
38692 cat conftest.err >&5
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); } && {
38695 test -z "$ac_c_werror_flag" ||
38696 test ! -s conftest.err
38697 } && test -s conftest$ac_exeext &&
38698 $as_test_x conftest$ac_exeext; then
38699 ac_cv_func_sched_get_priority_max=yes
38700 else
38701 echo "$as_me: failed program was:" >&5
38702 sed 's/^/| /' conftest.$ac_ext >&5
38703
38704 ac_cv_func_sched_get_priority_max=no
38705 fi
38706
38707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38708 conftest$ac_exeext conftest.$ac_ext
38709 fi
38710 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38711 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38712 if test $ac_cv_func_sched_get_priority_max = yes; then
38713 HAVE_PRIOR_FUNCS=1
38714 else
38715 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38716 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38717 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38718 echo $ECHO_N "(cached) $ECHO_C" >&6
38719 else
38720 ac_check_lib_save_LIBS=$LIBS
38721 LIBS="-lposix4 $LIBS"
38722 cat >conftest.$ac_ext <<_ACEOF
38723 /* confdefs.h. */
38724 _ACEOF
38725 cat confdefs.h >>conftest.$ac_ext
38726 cat >>conftest.$ac_ext <<_ACEOF
38727 /* end confdefs.h. */
38728
38729 /* Override any GCC internal prototype to avoid an error.
38730 Use char because int might match the return type of a GCC
38731 builtin and then its argument prototype would still apply. */
38732 #ifdef __cplusplus
38733 extern "C"
38734 #endif
38735 char sched_get_priority_max ();
38736 int
38737 main ()
38738 {
38739 return sched_get_priority_max ();
38740 ;
38741 return 0;
38742 }
38743 _ACEOF
38744 rm -f conftest.$ac_objext conftest$ac_exeext
38745 if { (ac_try="$ac_link"
38746 case "(($ac_try" in
38747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38748 *) ac_try_echo=$ac_try;;
38749 esac
38750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38751 (eval "$ac_link") 2>conftest.er1
38752 ac_status=$?
38753 grep -v '^ *+' conftest.er1 >conftest.err
38754 rm -f conftest.er1
38755 cat conftest.err >&5
38756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757 (exit $ac_status); } && {
38758 test -z "$ac_c_werror_flag" ||
38759 test ! -s conftest.err
38760 } && test -s conftest$ac_exeext &&
38761 $as_test_x conftest$ac_exeext; then
38762 ac_cv_lib_posix4_sched_get_priority_max=yes
38763 else
38764 echo "$as_me: failed program was:" >&5
38765 sed 's/^/| /' conftest.$ac_ext >&5
38766
38767 ac_cv_lib_posix4_sched_get_priority_max=no
38768 fi
38769
38770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38771 conftest$ac_exeext conftest.$ac_ext
38772 LIBS=$ac_check_lib_save_LIBS
38773 fi
38774 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38775 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38776 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38777
38778 HAVE_PRIOR_FUNCS=1
38779 POSIX4_LINK=" -lposix4"
38780
38781 fi
38782
38783
38784 fi
38785
38786
38787 fi
38788
38789
38790 fi
38791
38792
38793 if test "$HAVE_PRIOR_FUNCS" = 1; then
38794 cat >>confdefs.h <<\_ACEOF
38795 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38796 _ACEOF
38797
38798 else
38799 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38800 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38801 fi
38802
38803 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38804 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38805 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38806 echo $ECHO_N "(cached) $ECHO_C" >&6
38807 else
38808 cat >conftest.$ac_ext <<_ACEOF
38809 /* confdefs.h. */
38810 _ACEOF
38811 cat confdefs.h >>conftest.$ac_ext
38812 cat >>conftest.$ac_ext <<_ACEOF
38813 /* end confdefs.h. */
38814 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38816 #define pthread_cancel innocuous_pthread_cancel
38817
38818 /* System header to define __stub macros and hopefully few prototypes,
38819 which can conflict with char pthread_cancel (); below.
38820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38821 <limits.h> exists even on freestanding compilers. */
38822
38823 #ifdef __STDC__
38824 # include <limits.h>
38825 #else
38826 # include <assert.h>
38827 #endif
38828
38829 #undef pthread_cancel
38830
38831 /* Override any GCC internal prototype to avoid an error.
38832 Use char because int might match the return type of a GCC
38833 builtin and then its argument prototype would still apply. */
38834 #ifdef __cplusplus
38835 extern "C"
38836 #endif
38837 char pthread_cancel ();
38838 /* The GNU C library defines this for functions which it implements
38839 to always fail with ENOSYS. Some functions are actually named
38840 something starting with __ and the normal name is an alias. */
38841 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38842 choke me
38843 #endif
38844
38845 int
38846 main ()
38847 {
38848 return pthread_cancel ();
38849 ;
38850 return 0;
38851 }
38852 _ACEOF
38853 rm -f conftest.$ac_objext conftest$ac_exeext
38854 if { (ac_try="$ac_link"
38855 case "(($ac_try" in
38856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38857 *) ac_try_echo=$ac_try;;
38858 esac
38859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38860 (eval "$ac_link") 2>conftest.er1
38861 ac_status=$?
38862 grep -v '^ *+' conftest.er1 >conftest.err
38863 rm -f conftest.er1
38864 cat conftest.err >&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); } && {
38867 test -z "$ac_c_werror_flag" ||
38868 test ! -s conftest.err
38869 } && test -s conftest$ac_exeext &&
38870 $as_test_x conftest$ac_exeext; then
38871 ac_cv_func_pthread_cancel=yes
38872 else
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.$ac_ext >&5
38875
38876 ac_cv_func_pthread_cancel=no
38877 fi
38878
38879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38880 conftest$ac_exeext conftest.$ac_ext
38881 fi
38882 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38883 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38884 if test $ac_cv_func_pthread_cancel = yes; then
38885 cat >>confdefs.h <<\_ACEOF
38886 #define HAVE_PTHREAD_CANCEL 1
38887 _ACEOF
38888
38889 else
38890 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38891 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38892 fi
38893
38894
38895 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38896 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38897 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38898 echo $ECHO_N "(cached) $ECHO_C" >&6
38899 else
38900 cat >conftest.$ac_ext <<_ACEOF
38901 /* confdefs.h. */
38902 _ACEOF
38903 cat confdefs.h >>conftest.$ac_ext
38904 cat >>conftest.$ac_ext <<_ACEOF
38905 /* end confdefs.h. */
38906 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38908 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38909
38910 /* System header to define __stub macros and hopefully few prototypes,
38911 which can conflict with char pthread_mutex_timedlock (); below.
38912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38913 <limits.h> exists even on freestanding compilers. */
38914
38915 #ifdef __STDC__
38916 # include <limits.h>
38917 #else
38918 # include <assert.h>
38919 #endif
38920
38921 #undef pthread_mutex_timedlock
38922
38923 /* Override any GCC internal prototype to avoid an error.
38924 Use char because int might match the return type of a GCC
38925 builtin and then its argument prototype would still apply. */
38926 #ifdef __cplusplus
38927 extern "C"
38928 #endif
38929 char pthread_mutex_timedlock ();
38930 /* The GNU C library defines this for functions which it implements
38931 to always fail with ENOSYS. Some functions are actually named
38932 something starting with __ and the normal name is an alias. */
38933 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38934 choke me
38935 #endif
38936
38937 int
38938 main ()
38939 {
38940 return pthread_mutex_timedlock ();
38941 ;
38942 return 0;
38943 }
38944 _ACEOF
38945 rm -f conftest.$ac_objext conftest$ac_exeext
38946 if { (ac_try="$ac_link"
38947 case "(($ac_try" in
38948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38949 *) ac_try_echo=$ac_try;;
38950 esac
38951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38952 (eval "$ac_link") 2>conftest.er1
38953 ac_status=$?
38954 grep -v '^ *+' conftest.er1 >conftest.err
38955 rm -f conftest.er1
38956 cat conftest.err >&5
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); } && {
38959 test -z "$ac_c_werror_flag" ||
38960 test ! -s conftest.err
38961 } && test -s conftest$ac_exeext &&
38962 $as_test_x conftest$ac_exeext; then
38963 ac_cv_func_pthread_mutex_timedlock=yes
38964 else
38965 echo "$as_me: failed program was:" >&5
38966 sed 's/^/| /' conftest.$ac_ext >&5
38967
38968 ac_cv_func_pthread_mutex_timedlock=no
38969 fi
38970
38971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38972 conftest$ac_exeext conftest.$ac_ext
38973 fi
38974 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38975 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38976 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38977 cat >>confdefs.h <<\_ACEOF
38978 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38979 _ACEOF
38980
38981 else
38982 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38983 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38984 fi
38985
38986
38987 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38988 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38989 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38990 echo $ECHO_N "(cached) $ECHO_C" >&6
38991 else
38992 cat >conftest.$ac_ext <<_ACEOF
38993 /* confdefs.h. */
38994 _ACEOF
38995 cat confdefs.h >>conftest.$ac_ext
38996 cat >>conftest.$ac_ext <<_ACEOF
38997 /* end confdefs.h. */
38998 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39000 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39001
39002 /* System header to define __stub macros and hopefully few prototypes,
39003 which can conflict with char pthread_attr_setstacksize (); below.
39004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39005 <limits.h> exists even on freestanding compilers. */
39006
39007 #ifdef __STDC__
39008 # include <limits.h>
39009 #else
39010 # include <assert.h>
39011 #endif
39012
39013 #undef pthread_attr_setstacksize
39014
39015 /* Override any GCC internal prototype to avoid an error.
39016 Use char because int might match the return type of a GCC
39017 builtin and then its argument prototype would still apply. */
39018 #ifdef __cplusplus
39019 extern "C"
39020 #endif
39021 char pthread_attr_setstacksize ();
39022 /* The GNU C library defines this for functions which it implements
39023 to always fail with ENOSYS. Some functions are actually named
39024 something starting with __ and the normal name is an alias. */
39025 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39026 choke me
39027 #endif
39028
39029 int
39030 main ()
39031 {
39032 return pthread_attr_setstacksize ();
39033 ;
39034 return 0;
39035 }
39036 _ACEOF
39037 rm -f conftest.$ac_objext conftest$ac_exeext
39038 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
39045 ac_status=$?
39046 grep -v '^ *+' conftest.er1 >conftest.err
39047 rm -f conftest.er1
39048 cat conftest.err >&5
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); } && {
39051 test -z "$ac_c_werror_flag" ||
39052 test ! -s conftest.err
39053 } && test -s conftest$ac_exeext &&
39054 $as_test_x conftest$ac_exeext; then
39055 ac_cv_func_pthread_attr_setstacksize=yes
39056 else
39057 echo "$as_me: failed program was:" >&5
39058 sed 's/^/| /' conftest.$ac_ext >&5
39059
39060 ac_cv_func_pthread_attr_setstacksize=no
39061 fi
39062
39063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39064 conftest$ac_exeext conftest.$ac_ext
39065 fi
39066 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39067 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39068 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39069 cat >>confdefs.h <<\_ACEOF
39070 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39071 _ACEOF
39072
39073 fi
39074
39075
39076
39077 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39078 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39079 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39080 echo $ECHO_N "(cached) $ECHO_C" >&6
39081 else
39082
39083 cat >conftest.$ac_ext <<_ACEOF
39084 /* confdefs.h. */
39085 _ACEOF
39086 cat confdefs.h >>conftest.$ac_ext
39087 cat >>conftest.$ac_ext <<_ACEOF
39088 /* end confdefs.h. */
39089 #include <pthread.h>
39090 int
39091 main ()
39092 {
39093
39094 pthread_mutexattr_t attr;
39095 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39096
39097 ;
39098 return 0;
39099 }
39100 _ACEOF
39101 rm -f conftest.$ac_objext
39102 if { (ac_try="$ac_compile"
39103 case "(($ac_try" in
39104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39105 *) ac_try_echo=$ac_try;;
39106 esac
39107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39108 (eval "$ac_compile") 2>conftest.er1
39109 ac_status=$?
39110 grep -v '^ *+' conftest.er1 >conftest.err
39111 rm -f conftest.er1
39112 cat conftest.err >&5
39113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39114 (exit $ac_status); } && {
39115 test -z "$ac_c_werror_flag" ||
39116 test ! -s conftest.err
39117 } && test -s conftest.$ac_objext; then
39118 wx_cv_type_pthread_mutexattr_t=yes
39119 else
39120 echo "$as_me: failed program was:" >&5
39121 sed 's/^/| /' conftest.$ac_ext >&5
39122
39123 wx_cv_type_pthread_mutexattr_t=no
39124
39125 fi
39126
39127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39128
39129 fi
39130 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39131 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39132
39133 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39134 cat >>confdefs.h <<\_ACEOF
39135 #define HAVE_PTHREAD_MUTEXATTR_T 1
39136 _ACEOF
39137
39138
39139 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39140 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39141 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39142 echo $ECHO_N "(cached) $ECHO_C" >&6
39143 else
39144
39145 cat >conftest.$ac_ext <<_ACEOF
39146 /* confdefs.h. */
39147 _ACEOF
39148 cat confdefs.h >>conftest.$ac_ext
39149 cat >>conftest.$ac_ext <<_ACEOF
39150 /* end confdefs.h. */
39151 #include <pthread.h>
39152 int
39153 main ()
39154 {
39155
39156 pthread_mutexattr_t attr;
39157 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39158
39159 ;
39160 return 0;
39161 }
39162 _ACEOF
39163 rm -f conftest.$ac_objext
39164 if { (ac_try="$ac_compile"
39165 case "(($ac_try" in
39166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39167 *) ac_try_echo=$ac_try;;
39168 esac
39169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39170 (eval "$ac_compile") 2>conftest.er1
39171 ac_status=$?
39172 grep -v '^ *+' conftest.er1 >conftest.err
39173 rm -f conftest.er1
39174 cat conftest.err >&5
39175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39176 (exit $ac_status); } && {
39177 test -z "$ac_c_werror_flag" ||
39178 test ! -s conftest.err
39179 } && test -s conftest.$ac_objext; then
39180 wx_cv_func_pthread_mutexattr_settype_decl=yes
39181 else
39182 echo "$as_me: failed program was:" >&5
39183 sed 's/^/| /' conftest.$ac_ext >&5
39184
39185 wx_cv_func_pthread_mutexattr_settype_decl=no
39186
39187 fi
39188
39189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39190
39191 fi
39192 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39193 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39194 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39195 cat >>confdefs.h <<\_ACEOF
39196 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39197 _ACEOF
39198
39199 fi
39200 else
39201 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39202 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39203 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39204 echo $ECHO_N "(cached) $ECHO_C" >&6
39205 else
39206
39207 cat >conftest.$ac_ext <<_ACEOF
39208 /* confdefs.h. */
39209 _ACEOF
39210 cat confdefs.h >>conftest.$ac_ext
39211 cat >>conftest.$ac_ext <<_ACEOF
39212 /* end confdefs.h. */
39213 #include <pthread.h>
39214 int
39215 main ()
39216 {
39217
39218 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39219
39220 ;
39221 return 0;
39222 }
39223 _ACEOF
39224 rm -f conftest.$ac_objext
39225 if { (ac_try="$ac_compile"
39226 case "(($ac_try" in
39227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39228 *) ac_try_echo=$ac_try;;
39229 esac
39230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39231 (eval "$ac_compile") 2>conftest.er1
39232 ac_status=$?
39233 grep -v '^ *+' conftest.er1 >conftest.err
39234 rm -f conftest.er1
39235 cat conftest.err >&5
39236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39237 (exit $ac_status); } && {
39238 test -z "$ac_c_werror_flag" ||
39239 test ! -s conftest.err
39240 } && test -s conftest.$ac_objext; then
39241
39242 wx_cv_type_pthread_rec_mutex_init=yes
39243
39244 else
39245 echo "$as_me: failed program was:" >&5
39246 sed 's/^/| /' conftest.$ac_ext >&5
39247
39248
39249 wx_cv_type_pthread_rec_mutex_init=no
39250
39251
39252 fi
39253
39254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39255
39256 fi
39257 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39258 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39259 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39260 cat >>confdefs.h <<\_ACEOF
39261 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39262 _ACEOF
39263
39264 else
39265 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39266 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39267 fi
39268 fi
39269 fi
39270
39271 else
39272 if test "$wxUSE_THREADS" = "yes" ; then
39273 case "${host}" in
39274 *-*-mingw32* )
39275 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39276 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39277 if test "${wx_cv_cflags_mthread+set}" = set; then
39278 echo $ECHO_N "(cached) $ECHO_C" >&6
39279 else
39280
39281 CFLAGS_OLD="$CFLAGS"
39282 CFLAGS="-mthreads $CFLAGS"
39283 cat >conftest.$ac_ext <<_ACEOF
39284 /* confdefs.h. */
39285 _ACEOF
39286 cat confdefs.h >>conftest.$ac_ext
39287 cat >>conftest.$ac_ext <<_ACEOF
39288 /* end confdefs.h. */
39289
39290 int
39291 main ()
39292 {
39293
39294 ;
39295 return 0;
39296 }
39297 _ACEOF
39298 rm -f conftest.$ac_objext
39299 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
39306 ac_status=$?
39307 grep -v '^ *+' conftest.er1 >conftest.err
39308 rm -f conftest.er1
39309 cat conftest.err >&5
39310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39311 (exit $ac_status); } && {
39312 test -z "$ac_c_werror_flag" ||
39313 test ! -s conftest.err
39314 } && test -s conftest.$ac_objext; then
39315 wx_cv_cflags_mthread=yes
39316 else
39317 echo "$as_me: failed program was:" >&5
39318 sed 's/^/| /' conftest.$ac_ext >&5
39319
39320 wx_cv_cflags_mthread=no
39321
39322 fi
39323
39324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39325
39326
39327 fi
39328 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39329 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39330
39331 if test "$wx_cv_cflags_mthread" = "yes"; then
39332 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39333 LDFLAGS="$LDFLAGS -mthreads"
39334 else
39335 CFLAGS="$CFLAGS_OLD"
39336 fi
39337 ;;
39338 *-pc-os2*emx )
39339 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39340 LDFLAGS="$LDFLAGS -Zmt"
39341 ;;
39342 esac
39343 fi
39344 fi
39345
39346 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39347 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39348 if test "${ac_cv_func_localtime_r+set}" = set; then
39349 echo $ECHO_N "(cached) $ECHO_C" >&6
39350 else
39351 cat >conftest.$ac_ext <<_ACEOF
39352 /* confdefs.h. */
39353 _ACEOF
39354 cat confdefs.h >>conftest.$ac_ext
39355 cat >>conftest.$ac_ext <<_ACEOF
39356 /* end confdefs.h. */
39357 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39359 #define localtime_r innocuous_localtime_r
39360
39361 /* System header to define __stub macros and hopefully few prototypes,
39362 which can conflict with char localtime_r (); below.
39363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39364 <limits.h> exists even on freestanding compilers. */
39365
39366 #ifdef __STDC__
39367 # include <limits.h>
39368 #else
39369 # include <assert.h>
39370 #endif
39371
39372 #undef localtime_r
39373
39374 /* Override any GCC internal prototype to avoid an error.
39375 Use char because int might match the return type of a GCC
39376 builtin and then its argument prototype would still apply. */
39377 #ifdef __cplusplus
39378 extern "C"
39379 #endif
39380 char localtime_r ();
39381 /* The GNU C library defines this for functions which it implements
39382 to always fail with ENOSYS. Some functions are actually named
39383 something starting with __ and the normal name is an alias. */
39384 #if defined __stub_localtime_r || defined __stub___localtime_r
39385 choke me
39386 #endif
39387
39388 int
39389 main ()
39390 {
39391 return localtime_r ();
39392 ;
39393 return 0;
39394 }
39395 _ACEOF
39396 rm -f conftest.$ac_objext conftest$ac_exeext
39397 if { (ac_try="$ac_link"
39398 case "(($ac_try" in
39399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39400 *) ac_try_echo=$ac_try;;
39401 esac
39402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39403 (eval "$ac_link") 2>conftest.er1
39404 ac_status=$?
39405 grep -v '^ *+' conftest.er1 >conftest.err
39406 rm -f conftest.er1
39407 cat conftest.err >&5
39408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39409 (exit $ac_status); } && {
39410 test -z "$ac_c_werror_flag" ||
39411 test ! -s conftest.err
39412 } && test -s conftest$ac_exeext &&
39413 $as_test_x conftest$ac_exeext; then
39414 ac_cv_func_localtime_r=yes
39415 else
39416 echo "$as_me: failed program was:" >&5
39417 sed 's/^/| /' conftest.$ac_ext >&5
39418
39419 ac_cv_func_localtime_r=no
39420 fi
39421
39422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39423 conftest$ac_exeext conftest.$ac_ext
39424 fi
39425 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39426 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39427 if test $ac_cv_func_localtime_r = yes; then
39428 cat >>confdefs.h <<\_ACEOF
39429 #define HAVE_LOCALTIME_R 1
39430 _ACEOF
39431
39432 fi
39433
39434 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39435 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39436 if test "${ac_cv_func_gmtime_r+set}" = set; then
39437 echo $ECHO_N "(cached) $ECHO_C" >&6
39438 else
39439 cat >conftest.$ac_ext <<_ACEOF
39440 /* confdefs.h. */
39441 _ACEOF
39442 cat confdefs.h >>conftest.$ac_ext
39443 cat >>conftest.$ac_ext <<_ACEOF
39444 /* end confdefs.h. */
39445 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39447 #define gmtime_r innocuous_gmtime_r
39448
39449 /* System header to define __stub macros and hopefully few prototypes,
39450 which can conflict with char gmtime_r (); below.
39451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39452 <limits.h> exists even on freestanding compilers. */
39453
39454 #ifdef __STDC__
39455 # include <limits.h>
39456 #else
39457 # include <assert.h>
39458 #endif
39459
39460 #undef gmtime_r
39461
39462 /* Override any GCC internal prototype to avoid an error.
39463 Use char because int might match the return type of a GCC
39464 builtin and then its argument prototype would still apply. */
39465 #ifdef __cplusplus
39466 extern "C"
39467 #endif
39468 char gmtime_r ();
39469 /* The GNU C library defines this for functions which it implements
39470 to always fail with ENOSYS. Some functions are actually named
39471 something starting with __ and the normal name is an alias. */
39472 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39473 choke me
39474 #endif
39475
39476 int
39477 main ()
39478 {
39479 return gmtime_r ();
39480 ;
39481 return 0;
39482 }
39483 _ACEOF
39484 rm -f conftest.$ac_objext conftest$ac_exeext
39485 if { (ac_try="$ac_link"
39486 case "(($ac_try" in
39487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39488 *) ac_try_echo=$ac_try;;
39489 esac
39490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39491 (eval "$ac_link") 2>conftest.er1
39492 ac_status=$?
39493 grep -v '^ *+' conftest.er1 >conftest.err
39494 rm -f conftest.er1
39495 cat conftest.err >&5
39496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39497 (exit $ac_status); } && {
39498 test -z "$ac_c_werror_flag" ||
39499 test ! -s conftest.err
39500 } && test -s conftest$ac_exeext &&
39501 $as_test_x conftest$ac_exeext; then
39502 ac_cv_func_gmtime_r=yes
39503 else
39504 echo "$as_me: failed program was:" >&5
39505 sed 's/^/| /' conftest.$ac_ext >&5
39506
39507 ac_cv_func_gmtime_r=no
39508 fi
39509
39510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39511 conftest$ac_exeext conftest.$ac_ext
39512 fi
39513 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39514 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39515 if test $ac_cv_func_gmtime_r = yes; then
39516 cat >>confdefs.h <<\_ACEOF
39517 #define HAVE_GMTIME_R 1
39518 _ACEOF
39519
39520 fi
39521
39522 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39523 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39524 if test "${ac_cv_func_readdir_r+set}" = set; then
39525 echo $ECHO_N "(cached) $ECHO_C" >&6
39526 else
39527 cat >conftest.$ac_ext <<_ACEOF
39528 /* confdefs.h. */
39529 _ACEOF
39530 cat confdefs.h >>conftest.$ac_ext
39531 cat >>conftest.$ac_ext <<_ACEOF
39532 /* end confdefs.h. */
39533 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39535 #define readdir_r innocuous_readdir_r
39536
39537 /* System header to define __stub macros and hopefully few prototypes,
39538 which can conflict with char readdir_r (); below.
39539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39540 <limits.h> exists even on freestanding compilers. */
39541
39542 #ifdef __STDC__
39543 # include <limits.h>
39544 #else
39545 # include <assert.h>
39546 #endif
39547
39548 #undef readdir_r
39549
39550 /* Override any GCC internal prototype to avoid an error.
39551 Use char because int might match the return type of a GCC
39552 builtin and then its argument prototype would still apply. */
39553 #ifdef __cplusplus
39554 extern "C"
39555 #endif
39556 char readdir_r ();
39557 /* The GNU C library defines this for functions which it implements
39558 to always fail with ENOSYS. Some functions are actually named
39559 something starting with __ and the normal name is an alias. */
39560 #if defined __stub_readdir_r || defined __stub___readdir_r
39561 choke me
39562 #endif
39563
39564 int
39565 main ()
39566 {
39567 return readdir_r ();
39568 ;
39569 return 0;
39570 }
39571 _ACEOF
39572 rm -f conftest.$ac_objext conftest$ac_exeext
39573 if { (ac_try="$ac_link"
39574 case "(($ac_try" in
39575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39576 *) ac_try_echo=$ac_try;;
39577 esac
39578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39579 (eval "$ac_link") 2>conftest.er1
39580 ac_status=$?
39581 grep -v '^ *+' conftest.er1 >conftest.err
39582 rm -f conftest.er1
39583 cat conftest.err >&5
39584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39585 (exit $ac_status); } && {
39586 test -z "$ac_c_werror_flag" ||
39587 test ! -s conftest.err
39588 } && test -s conftest$ac_exeext &&
39589 $as_test_x conftest$ac_exeext; then
39590 ac_cv_func_readdir_r=yes
39591 else
39592 echo "$as_me: failed program was:" >&5
39593 sed 's/^/| /' conftest.$ac_ext >&5
39594
39595 ac_cv_func_readdir_r=no
39596 fi
39597
39598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39599 conftest$ac_exeext conftest.$ac_ext
39600 fi
39601 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39602 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39603 if test $ac_cv_func_readdir_r = yes; then
39604 cat >>confdefs.h <<\_ACEOF
39605 #define HAVE_READDIR_R 1
39606 _ACEOF
39607
39608 fi
39609
39610
39611
39612
39613 ac_ext=c
39614 ac_cpp='$CPP $CPPFLAGS'
39615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39618
39619 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39620 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39621
39622 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39623 echo $ECHO_N "(cached) $ECHO_C" >&6
39624 else
39625
39626
39627 ################################################################
39628
39629 ac_cv_func_which_gethostbyname_r=unknown
39630
39631 #
39632 # ONE ARGUMENT (sanity check)
39633 #
39634
39635 # This should fail, as there is no variant of gethostbyname_r() that takes
39636 # a single argument. If it actually compiles, then we can assume that
39637 # netdb.h is not declaring the function, and the compiler is thereby
39638 # assuming an implicit prototype. In which case, we're out of luck.
39639 #
39640 cat >conftest.$ac_ext <<_ACEOF
39641 /* confdefs.h. */
39642 _ACEOF
39643 cat confdefs.h >>conftest.$ac_ext
39644 cat >>conftest.$ac_ext <<_ACEOF
39645 /* end confdefs.h. */
39646 #include <netdb.h>
39647 int
39648 main ()
39649 {
39650
39651 char *name = "www.gnu.org";
39652 (void)gethostbyname_r(name) /* ; */
39653
39654 ;
39655 return 0;
39656 }
39657 _ACEOF
39658 rm -f conftest.$ac_objext
39659 if { (ac_try="$ac_compile"
39660 case "(($ac_try" in
39661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39662 *) ac_try_echo=$ac_try;;
39663 esac
39664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39665 (eval "$ac_compile") 2>conftest.er1
39666 ac_status=$?
39667 grep -v '^ *+' conftest.er1 >conftest.err
39668 rm -f conftest.er1
39669 cat conftest.err >&5
39670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39671 (exit $ac_status); } && {
39672 test -z "$ac_c_werror_flag" ||
39673 test ! -s conftest.err
39674 } && test -s conftest.$ac_objext; then
39675 ac_cv_func_which_gethostbyname_r=no
39676 else
39677 echo "$as_me: failed program was:" >&5
39678 sed 's/^/| /' conftest.$ac_ext >&5
39679
39680
39681 fi
39682
39683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39684
39685 #
39686 # SIX ARGUMENTS
39687 # (e.g. Linux)
39688 #
39689
39690 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39691
39692 cat >conftest.$ac_ext <<_ACEOF
39693 /* confdefs.h. */
39694 _ACEOF
39695 cat confdefs.h >>conftest.$ac_ext
39696 cat >>conftest.$ac_ext <<_ACEOF
39697 /* end confdefs.h. */
39698 #include <netdb.h>
39699 int
39700 main ()
39701 {
39702
39703 char *name = "www.gnu.org";
39704 struct hostent ret, *retp;
39705 char buf[1024];
39706 int buflen = 1024;
39707 int my_h_errno;
39708 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39709
39710 ;
39711 return 0;
39712 }
39713 _ACEOF
39714 rm -f conftest.$ac_objext
39715 if { (ac_try="$ac_compile"
39716 case "(($ac_try" in
39717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39718 *) ac_try_echo=$ac_try;;
39719 esac
39720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39721 (eval "$ac_compile") 2>conftest.er1
39722 ac_status=$?
39723 grep -v '^ *+' conftest.er1 >conftest.err
39724 rm -f conftest.er1
39725 cat conftest.err >&5
39726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39727 (exit $ac_status); } && {
39728 test -z "$ac_c_werror_flag" ||
39729 test ! -s conftest.err
39730 } && test -s conftest.$ac_objext; then
39731 ac_cv_func_which_gethostbyname_r=six
39732 else
39733 echo "$as_me: failed program was:" >&5
39734 sed 's/^/| /' conftest.$ac_ext >&5
39735
39736
39737 fi
39738
39739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39740
39741 fi
39742
39743 #
39744 # FIVE ARGUMENTS
39745 # (e.g. Solaris)
39746 #
39747
39748 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39749
39750 cat >conftest.$ac_ext <<_ACEOF
39751 /* confdefs.h. */
39752 _ACEOF
39753 cat confdefs.h >>conftest.$ac_ext
39754 cat >>conftest.$ac_ext <<_ACEOF
39755 /* end confdefs.h. */
39756 #include <netdb.h>
39757 int
39758 main ()
39759 {
39760
39761 char *name = "www.gnu.org";
39762 struct hostent ret;
39763 char buf[1024];
39764 int buflen = 1024;
39765 int my_h_errno;
39766 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39767
39768 ;
39769 return 0;
39770 }
39771 _ACEOF
39772 rm -f conftest.$ac_objext
39773 if { (ac_try="$ac_compile"
39774 case "(($ac_try" in
39775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39776 *) ac_try_echo=$ac_try;;
39777 esac
39778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39779 (eval "$ac_compile") 2>conftest.er1
39780 ac_status=$?
39781 grep -v '^ *+' conftest.er1 >conftest.err
39782 rm -f conftest.er1
39783 cat conftest.err >&5
39784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39785 (exit $ac_status); } && {
39786 test -z "$ac_c_werror_flag" ||
39787 test ! -s conftest.err
39788 } && test -s conftest.$ac_objext; then
39789 ac_cv_func_which_gethostbyname_r=five
39790 else
39791 echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.$ac_ext >&5
39793
39794
39795 fi
39796
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39798
39799 fi
39800
39801 #
39802 # THREE ARGUMENTS
39803 # (e.g. AIX, HP-UX, Tru64)
39804 #
39805
39806 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39807
39808 cat >conftest.$ac_ext <<_ACEOF
39809 /* confdefs.h. */
39810 _ACEOF
39811 cat confdefs.h >>conftest.$ac_ext
39812 cat >>conftest.$ac_ext <<_ACEOF
39813 /* end confdefs.h. */
39814 #include <netdb.h>
39815 int
39816 main ()
39817 {
39818
39819 char *name = "www.gnu.org";
39820 struct hostent ret;
39821 struct hostent_data data;
39822 (void)gethostbyname_r(name, &ret, &data) /* ; */
39823
39824 ;
39825 return 0;
39826 }
39827 _ACEOF
39828 rm -f conftest.$ac_objext
39829 if { (ac_try="$ac_compile"
39830 case "(($ac_try" in
39831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39832 *) ac_try_echo=$ac_try;;
39833 esac
39834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39835 (eval "$ac_compile") 2>conftest.er1
39836 ac_status=$?
39837 grep -v '^ *+' conftest.er1 >conftest.err
39838 rm -f conftest.er1
39839 cat conftest.err >&5
39840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39841 (exit $ac_status); } && {
39842 test -z "$ac_c_werror_flag" ||
39843 test ! -s conftest.err
39844 } && test -s conftest.$ac_objext; then
39845 ac_cv_func_which_gethostbyname_r=three
39846 else
39847 echo "$as_me: failed program was:" >&5
39848 sed 's/^/| /' conftest.$ac_ext >&5
39849
39850
39851 fi
39852
39853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39854
39855 fi
39856
39857 ################################################################
39858
39859
39860 fi
39861
39862 case "$ac_cv_func_which_gethostbyname_r" in
39863 three)
39864 { echo "$as_me:$LINENO: result: three" >&5
39865 echo "${ECHO_T}three" >&6; }
39866 cat >>confdefs.h <<\_ACEOF
39867 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39868 _ACEOF
39869
39870 ;;
39871
39872 five)
39873 { echo "$as_me:$LINENO: result: five" >&5
39874 echo "${ECHO_T}five" >&6; }
39875 cat >>confdefs.h <<\_ACEOF
39876 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39877 _ACEOF
39878
39879 ;;
39880
39881 six)
39882 { echo "$as_me:$LINENO: result: six" >&5
39883 echo "${ECHO_T}six" >&6; }
39884 cat >>confdefs.h <<\_ACEOF
39885 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39886 _ACEOF
39887
39888 ;;
39889
39890 no)
39891 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39892 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39893 ;;
39894
39895 unknown)
39896 { echo "$as_me:$LINENO: result: can't tell" >&5
39897 echo "${ECHO_T}can't tell" >&6; }
39898 ;;
39899
39900 *)
39901 { { echo "$as_me:$LINENO: error: internal error" >&5
39902 echo "$as_me: error: internal error" >&2;}
39903 { (exit 1); exit 1; }; }
39904 ;;
39905 esac
39906
39907 ac_ext=c
39908 ac_cpp='$CPP $CPPFLAGS'
39909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39912
39913
39914
39915 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39916 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39917 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39918 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39919 if test "${ac_cv_func_gethostbyname+set}" = set; then
39920 echo $ECHO_N "(cached) $ECHO_C" >&6
39921 else
39922 cat >conftest.$ac_ext <<_ACEOF
39923 /* confdefs.h. */
39924 _ACEOF
39925 cat confdefs.h >>conftest.$ac_ext
39926 cat >>conftest.$ac_ext <<_ACEOF
39927 /* end confdefs.h. */
39928 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39930 #define gethostbyname innocuous_gethostbyname
39931
39932 /* System header to define __stub macros and hopefully few prototypes,
39933 which can conflict with char gethostbyname (); below.
39934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39935 <limits.h> exists even on freestanding compilers. */
39936
39937 #ifdef __STDC__
39938 # include <limits.h>
39939 #else
39940 # include <assert.h>
39941 #endif
39942
39943 #undef gethostbyname
39944
39945 /* Override any GCC internal prototype to avoid an error.
39946 Use char because int might match the return type of a GCC
39947 builtin and then its argument prototype would still apply. */
39948 #ifdef __cplusplus
39949 extern "C"
39950 #endif
39951 char gethostbyname ();
39952 /* The GNU C library defines this for functions which it implements
39953 to always fail with ENOSYS. Some functions are actually named
39954 something starting with __ and the normal name is an alias. */
39955 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39956 choke me
39957 #endif
39958
39959 int
39960 main ()
39961 {
39962 return gethostbyname ();
39963 ;
39964 return 0;
39965 }
39966 _ACEOF
39967 rm -f conftest.$ac_objext conftest$ac_exeext
39968 if { (ac_try="$ac_link"
39969 case "(($ac_try" in
39970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39971 *) ac_try_echo=$ac_try;;
39972 esac
39973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39974 (eval "$ac_link") 2>conftest.er1
39975 ac_status=$?
39976 grep -v '^ *+' conftest.er1 >conftest.err
39977 rm -f conftest.er1
39978 cat conftest.err >&5
39979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39980 (exit $ac_status); } && {
39981 test -z "$ac_c_werror_flag" ||
39982 test ! -s conftest.err
39983 } && test -s conftest$ac_exeext &&
39984 $as_test_x conftest$ac_exeext; then
39985 ac_cv_func_gethostbyname=yes
39986 else
39987 echo "$as_me: failed program was:" >&5
39988 sed 's/^/| /' conftest.$ac_ext >&5
39989
39990 ac_cv_func_gethostbyname=no
39991 fi
39992
39993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39994 conftest$ac_exeext conftest.$ac_ext
39995 fi
39996 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39997 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39998 if test $ac_cv_func_gethostbyname = yes; then
39999 cat >>confdefs.h <<\_ACEOF
40000 #define HAVE_GETHOSTBYNAME 1
40001 _ACEOF
40002
40003 fi
40004
40005 fi
40006
40007 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40008 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40009 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40010 echo $ECHO_N "(cached) $ECHO_C" >&6
40011 else
40012
40013 ac_ext=cpp
40014 ac_cpp='$CXXCPP $CPPFLAGS'
40015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40018
40019
40020 cat >conftest.$ac_ext <<_ACEOF
40021 /* confdefs.h. */
40022 _ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40026 #include <netdb.h>
40027 int
40028 main ()
40029 {
40030
40031 char *name;
40032 char *proto;
40033 struct servent *se, *res;
40034 char buffer[2048];
40035 int buflen = 2048;
40036 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40037
40038 ;
40039 return 0;
40040 }
40041 _ACEOF
40042 rm -f conftest.$ac_objext
40043 if { (ac_try="$ac_compile"
40044 case "(($ac_try" in
40045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40046 *) ac_try_echo=$ac_try;;
40047 esac
40048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40049 (eval "$ac_compile") 2>conftest.er1
40050 ac_status=$?
40051 grep -v '^ *+' conftest.er1 >conftest.err
40052 rm -f conftest.er1
40053 cat conftest.err >&5
40054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40055 (exit $ac_status); } && {
40056 test -z "$ac_cxx_werror_flag" ||
40057 test ! -s conftest.err
40058 } && test -s conftest.$ac_objext; then
40059 ac_cv_func_which_getservbyname_r=six
40060 else
40061 echo "$as_me: failed program was:" >&5
40062 sed 's/^/| /' conftest.$ac_ext >&5
40063
40064
40065 cat >conftest.$ac_ext <<_ACEOF
40066 /* confdefs.h. */
40067 _ACEOF
40068 cat confdefs.h >>conftest.$ac_ext
40069 cat >>conftest.$ac_ext <<_ACEOF
40070 /* end confdefs.h. */
40071 #include <netdb.h>
40072 int
40073 main ()
40074 {
40075
40076 char *name;
40077 char *proto;
40078 struct servent *se;
40079 char buffer[2048];
40080 int buflen = 2048;
40081 (void) getservbyname_r(name, proto, se, buffer, buflen)
40082
40083 ;
40084 return 0;
40085 }
40086 _ACEOF
40087 rm -f conftest.$ac_objext
40088 if { (ac_try="$ac_compile"
40089 case "(($ac_try" in
40090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40091 *) ac_try_echo=$ac_try;;
40092 esac
40093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40094 (eval "$ac_compile") 2>conftest.er1
40095 ac_status=$?
40096 grep -v '^ *+' conftest.er1 >conftest.err
40097 rm -f conftest.er1
40098 cat conftest.err >&5
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); } && {
40101 test -z "$ac_cxx_werror_flag" ||
40102 test ! -s conftest.err
40103 } && test -s conftest.$ac_objext; then
40104 ac_cv_func_which_getservbyname_r=five
40105 else
40106 echo "$as_me: failed program was:" >&5
40107 sed 's/^/| /' conftest.$ac_ext >&5
40108
40109
40110 cat >conftest.$ac_ext <<_ACEOF
40111 /* confdefs.h. */
40112 _ACEOF
40113 cat confdefs.h >>conftest.$ac_ext
40114 cat >>conftest.$ac_ext <<_ACEOF
40115 /* end confdefs.h. */
40116 #include <netdb.h>
40117 int
40118 main ()
40119 {
40120
40121 char *name;
40122 char *proto;
40123 struct servent *se;
40124 struct servent_data data;
40125 (void) getservbyname_r(name, proto, se, &data);
40126
40127 ;
40128 return 0;
40129 }
40130 _ACEOF
40131 rm -f conftest.$ac_objext
40132 if { (ac_try="$ac_compile"
40133 case "(($ac_try" in
40134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40135 *) ac_try_echo=$ac_try;;
40136 esac
40137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40138 (eval "$ac_compile") 2>conftest.er1
40139 ac_status=$?
40140 grep -v '^ *+' conftest.er1 >conftest.err
40141 rm -f conftest.er1
40142 cat conftest.err >&5
40143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40144 (exit $ac_status); } && {
40145 test -z "$ac_cxx_werror_flag" ||
40146 test ! -s conftest.err
40147 } && test -s conftest.$ac_objext; then
40148 ac_cv_func_which_getservbyname_r=four
40149 else
40150 echo "$as_me: failed program was:" >&5
40151 sed 's/^/| /' conftest.$ac_ext >&5
40152
40153 ac_cv_func_which_getservbyname_r=no
40154
40155 fi
40156
40157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40158
40159
40160 fi
40161
40162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40163
40164
40165 fi
40166
40167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40168 ac_ext=c
40169 ac_cpp='$CPP $CPPFLAGS'
40170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40173
40174
40175
40176 fi
40177 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40178 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40179
40180 if test $ac_cv_func_which_getservbyname_r = six; then
40181 cat >>confdefs.h <<\_ACEOF
40182 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40183 _ACEOF
40184
40185 elif test $ac_cv_func_which_getservbyname_r = five; then
40186 cat >>confdefs.h <<\_ACEOF
40187 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40188 _ACEOF
40189
40190 elif test $ac_cv_func_which_getservbyname_r = four; then
40191 cat >>confdefs.h <<\_ACEOF
40192 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40193 _ACEOF
40194
40195 fi
40196
40197
40198 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40199 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40200
40201 for ac_func in getservbyname
40202 do
40203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40204 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40206 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40207 echo $ECHO_N "(cached) $ECHO_C" >&6
40208 else
40209 cat >conftest.$ac_ext <<_ACEOF
40210 /* confdefs.h. */
40211 _ACEOF
40212 cat confdefs.h >>conftest.$ac_ext
40213 cat >>conftest.$ac_ext <<_ACEOF
40214 /* end confdefs.h. */
40215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40217 #define $ac_func innocuous_$ac_func
40218
40219 /* System header to define __stub macros and hopefully few prototypes,
40220 which can conflict with char $ac_func (); below.
40221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40222 <limits.h> exists even on freestanding compilers. */
40223
40224 #ifdef __STDC__
40225 # include <limits.h>
40226 #else
40227 # include <assert.h>
40228 #endif
40229
40230 #undef $ac_func
40231
40232 /* Override any GCC internal prototype to avoid an error.
40233 Use char because int might match the return type of a GCC
40234 builtin and then its argument prototype would still apply. */
40235 #ifdef __cplusplus
40236 extern "C"
40237 #endif
40238 char $ac_func ();
40239 /* The GNU C library defines this for functions which it implements
40240 to always fail with ENOSYS. Some functions are actually named
40241 something starting with __ and the normal name is an alias. */
40242 #if defined __stub_$ac_func || defined __stub___$ac_func
40243 choke me
40244 #endif
40245
40246 int
40247 main ()
40248 {
40249 return $ac_func ();
40250 ;
40251 return 0;
40252 }
40253 _ACEOF
40254 rm -f conftest.$ac_objext conftest$ac_exeext
40255 if { (ac_try="$ac_link"
40256 case "(($ac_try" in
40257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40258 *) ac_try_echo=$ac_try;;
40259 esac
40260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40261 (eval "$ac_link") 2>conftest.er1
40262 ac_status=$?
40263 grep -v '^ *+' conftest.er1 >conftest.err
40264 rm -f conftest.er1
40265 cat conftest.err >&5
40266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40267 (exit $ac_status); } && {
40268 test -z "$ac_c_werror_flag" ||
40269 test ! -s conftest.err
40270 } && test -s conftest$ac_exeext &&
40271 $as_test_x conftest$ac_exeext; then
40272 eval "$as_ac_var=yes"
40273 else
40274 echo "$as_me: failed program was:" >&5
40275 sed 's/^/| /' conftest.$ac_ext >&5
40276
40277 eval "$as_ac_var=no"
40278 fi
40279
40280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40281 conftest$ac_exeext conftest.$ac_ext
40282 fi
40283 ac_res=`eval echo '${'$as_ac_var'}'`
40284 { echo "$as_me:$LINENO: result: $ac_res" >&5
40285 echo "${ECHO_T}$ac_res" >&6; }
40286 if test `eval echo '${'$as_ac_var'}'` = yes; then
40287 cat >>confdefs.h <<_ACEOF
40288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40289 _ACEOF
40290 cat >>confdefs.h <<\_ACEOF
40291 #define HAVE_GETSERVBYNAME 1
40292 _ACEOF
40293
40294 fi
40295 done
40296
40297 fi
40298
40299 if test "$wxUSE_THREADS" = "yes"; then
40300 cat >>confdefs.h <<\_ACEOF
40301 #define wxUSE_THREADS 1
40302 _ACEOF
40303
40304
40305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40306 else
40307 if test "$wx_cv_func_strtok_r" = "yes"; then
40308 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40309 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40310 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40311 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40312 { echo "$as_me:$LINENO: result: yes" >&5
40313 echo "${ECHO_T}yes" >&6; }
40314 else
40315 { echo "$as_me:$LINENO: result: no" >&5
40316 echo "${ECHO_T}no" >&6; }
40317 fi
40318 fi
40319 fi
40320
40321 if test "$WXGTK20" = 1 ; then
40322 cat >>confdefs.h <<_ACEOF
40323 #define __WXGTK20__ $WXGTK20
40324 _ACEOF
40325
40326 WXGTK12=1
40327 fi
40328
40329 if test "$WXGTK12" = 1 ; then
40330 cat >>confdefs.h <<_ACEOF
40331 #define __WXGTK12__ $WXGTK12
40332 _ACEOF
40333
40334 fi
40335
40336 if test "$WXGTK127" = 1 ; then
40337 cat >>confdefs.h <<_ACEOF
40338 #define __WXGTK127__ $WXGTK127
40339 _ACEOF
40340
40341 fi
40342
40343 if test "$WXGPE" = 1 ; then
40344 cat >>confdefs.h <<_ACEOF
40345 #define __WXGPE__ $WXGPE
40346 _ACEOF
40347
40348 fi
40349
40350 DEBUG_CFLAGS=
40351 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40352 DEBUG_CFLAGS="-g"
40353 wxUSE_OPTIMISE=no
40354 fi
40355
40356 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40357 wxUSE_DEBUG_INFO=yes
40358 if test "$GCC" = yes; then
40359 DEBUG_CFLAGS="-ggdb"
40360 fi
40361 fi
40362
40363 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40364 cat >>confdefs.h <<\_ACEOF
40365 #define WXDEBUG 1
40366 _ACEOF
40367
40368 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40369 else
40370 if test "$wxUSE_GTK" = 1 ; then
40371 if test "x$wxGTK_VERSION" = "x1" ; then
40372 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40373 fi
40374 fi
40375 fi
40376
40377 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40378 cat >>confdefs.h <<\_ACEOF
40379 #define wxUSE_MEMORY_TRACING 1
40380 _ACEOF
40381
40382 cat >>confdefs.h <<\_ACEOF
40383 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40384 _ACEOF
40385
40386 cat >>confdefs.h <<\_ACEOF
40387 #define wxUSE_DEBUG_NEW_ALWAYS 1
40388 _ACEOF
40389
40390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40391 fi
40392
40393 if test "$wxUSE_DMALLOC" = "yes" ; then
40394 DMALLOC_LIBS="-ldmallocthcxx"
40395 fi
40396
40397 PROFILE_FLAGS=
40398 if test "$wxUSE_PROFILE" = "yes" ; then
40399 PROFILE_FLAGS=" -pg"
40400 fi
40401
40402 if test "$GCC" = "yes" ; then
40403 if test "$wxUSE_NO_RTTI" = "yes" ; then
40404 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40405 fi
40406 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40407 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40408 fi
40409 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40410 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40411 fi
40412
40413 case "${host}" in
40414 powerpc*-*-aix* )
40415 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40416 ;;
40417 *-hppa* )
40418 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40419 ;;
40420 esac
40421 fi
40422
40423 OPTIMISE_CFLAGS=
40424 if test "$wxUSE_OPTIMISE" = "no" ; then
40425 if test "$GCC" = yes ; then
40426 OPTIMISE_CFLAGS="-O0"
40427 fi
40428 else
40429 if test "$GCC" = yes ; then
40430 case "${host}" in
40431 *-pc-os2_emx | *-pc-os2-emx )
40432 OPTIMISE_CFLAGS="-O2"
40433 ;;
40434 *)
40435 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40436 ;;
40437 esac
40438 else
40439 OPTIMISE_CFLAGS="-O"
40440 fi
40441 fi
40442
40443
40444 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40445 cat >>confdefs.h <<\_ACEOF
40446 #define WXWIN_COMPATIBILITY_2_6 1
40447 _ACEOF
40448
40449
40450 WXWIN_COMPATIBILITY_2_8="yes"
40451 fi
40452
40453 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40454 cat >>confdefs.h <<\_ACEOF
40455 #define WXWIN_COMPATIBILITY_2_8 1
40456 _ACEOF
40457
40458 fi
40459
40460
40461 if test "$wxUSE_GUI" = "yes"; then
40462 cat >>confdefs.h <<\_ACEOF
40463 #define wxUSE_GUI 1
40464 _ACEOF
40465
40466
40467 fi
40468
40469
40470 if test "$wxUSE_UNIX" = "yes"; then
40471 cat >>confdefs.h <<\_ACEOF
40472 #define wxUSE_UNIX 1
40473 _ACEOF
40474
40475 fi
40476
40477
40478 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40479
40480 HAVE_DL_FUNCS=0
40481 HAVE_SHL_FUNCS=0
40482 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40483 if test "$USE_DARWIN" = 1; then
40484 HAVE_DL_FUNCS=1
40485 elif test "$USE_DOS" = 1; then
40486 HAVE_DL_FUNCS=0
40487 else
40488
40489 for ac_func in dlopen
40490 do
40491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40492 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40494 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40495 echo $ECHO_N "(cached) $ECHO_C" >&6
40496 else
40497 cat >conftest.$ac_ext <<_ACEOF
40498 /* confdefs.h. */
40499 _ACEOF
40500 cat confdefs.h >>conftest.$ac_ext
40501 cat >>conftest.$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40505 #define $ac_func innocuous_$ac_func
40506
40507 /* System header to define __stub macros and hopefully few prototypes,
40508 which can conflict with char $ac_func (); below.
40509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40510 <limits.h> exists even on freestanding compilers. */
40511
40512 #ifdef __STDC__
40513 # include <limits.h>
40514 #else
40515 # include <assert.h>
40516 #endif
40517
40518 #undef $ac_func
40519
40520 /* Override any GCC internal prototype to avoid an error.
40521 Use char because int might match the return type of a GCC
40522 builtin and then its argument prototype would still apply. */
40523 #ifdef __cplusplus
40524 extern "C"
40525 #endif
40526 char $ac_func ();
40527 /* The GNU C library defines this for functions which it implements
40528 to always fail with ENOSYS. Some functions are actually named
40529 something starting with __ and the normal name is an alias. */
40530 #if defined __stub_$ac_func || defined __stub___$ac_func
40531 choke me
40532 #endif
40533
40534 int
40535 main ()
40536 {
40537 return $ac_func ();
40538 ;
40539 return 0;
40540 }
40541 _ACEOF
40542 rm -f conftest.$ac_objext conftest$ac_exeext
40543 if { (ac_try="$ac_link"
40544 case "(($ac_try" in
40545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40546 *) ac_try_echo=$ac_try;;
40547 esac
40548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40549 (eval "$ac_link") 2>conftest.er1
40550 ac_status=$?
40551 grep -v '^ *+' conftest.er1 >conftest.err
40552 rm -f conftest.er1
40553 cat conftest.err >&5
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); } && {
40556 test -z "$ac_c_werror_flag" ||
40557 test ! -s conftest.err
40558 } && test -s conftest$ac_exeext &&
40559 $as_test_x conftest$ac_exeext; then
40560 eval "$as_ac_var=yes"
40561 else
40562 echo "$as_me: failed program was:" >&5
40563 sed 's/^/| /' conftest.$ac_ext >&5
40564
40565 eval "$as_ac_var=no"
40566 fi
40567
40568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40569 conftest$ac_exeext conftest.$ac_ext
40570 fi
40571 ac_res=`eval echo '${'$as_ac_var'}'`
40572 { echo "$as_me:$LINENO: result: $ac_res" >&5
40573 echo "${ECHO_T}$ac_res" >&6; }
40574 if test `eval echo '${'$as_ac_var'}'` = yes; then
40575 cat >>confdefs.h <<_ACEOF
40576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40577 _ACEOF
40578
40579 cat >>confdefs.h <<\_ACEOF
40580 #define HAVE_DLOPEN 1
40581 _ACEOF
40582
40583 HAVE_DL_FUNCS=1
40584
40585 else
40586
40587 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40588 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40589 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40590 echo $ECHO_N "(cached) $ECHO_C" >&6
40591 else
40592 ac_check_lib_save_LIBS=$LIBS
40593 LIBS="-ldl $LIBS"
40594 cat >conftest.$ac_ext <<_ACEOF
40595 /* confdefs.h. */
40596 _ACEOF
40597 cat confdefs.h >>conftest.$ac_ext
40598 cat >>conftest.$ac_ext <<_ACEOF
40599 /* end confdefs.h. */
40600
40601 /* Override any GCC internal prototype to avoid an error.
40602 Use char because int might match the return type of a GCC
40603 builtin and then its argument prototype would still apply. */
40604 #ifdef __cplusplus
40605 extern "C"
40606 #endif
40607 char dlopen ();
40608 int
40609 main ()
40610 {
40611 return dlopen ();
40612 ;
40613 return 0;
40614 }
40615 _ACEOF
40616 rm -f conftest.$ac_objext conftest$ac_exeext
40617 if { (ac_try="$ac_link"
40618 case "(($ac_try" in
40619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40620 *) ac_try_echo=$ac_try;;
40621 esac
40622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40623 (eval "$ac_link") 2>conftest.er1
40624 ac_status=$?
40625 grep -v '^ *+' conftest.er1 >conftest.err
40626 rm -f conftest.er1
40627 cat conftest.err >&5
40628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40629 (exit $ac_status); } && {
40630 test -z "$ac_c_werror_flag" ||
40631 test ! -s conftest.err
40632 } && test -s conftest$ac_exeext &&
40633 $as_test_x conftest$ac_exeext; then
40634 ac_cv_lib_dl_dlopen=yes
40635 else
40636 echo "$as_me: failed program was:" >&5
40637 sed 's/^/| /' conftest.$ac_ext >&5
40638
40639 ac_cv_lib_dl_dlopen=no
40640 fi
40641
40642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40643 conftest$ac_exeext conftest.$ac_ext
40644 LIBS=$ac_check_lib_save_LIBS
40645 fi
40646 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40647 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40648 if test $ac_cv_lib_dl_dlopen = yes; then
40649
40650 cat >>confdefs.h <<\_ACEOF
40651 #define HAVE_DLOPEN 1
40652 _ACEOF
40653
40654 HAVE_DL_FUNCS=1
40655 DL_LINK=" -ldl$DL_LINK"
40656
40657 else
40658
40659
40660 for ac_func in shl_load
40661 do
40662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40663 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40665 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40666 echo $ECHO_N "(cached) $ECHO_C" >&6
40667 else
40668 cat >conftest.$ac_ext <<_ACEOF
40669 /* confdefs.h. */
40670 _ACEOF
40671 cat confdefs.h >>conftest.$ac_ext
40672 cat >>conftest.$ac_ext <<_ACEOF
40673 /* end confdefs.h. */
40674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40676 #define $ac_func innocuous_$ac_func
40677
40678 /* System header to define __stub macros and hopefully few prototypes,
40679 which can conflict with char $ac_func (); below.
40680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40681 <limits.h> exists even on freestanding compilers. */
40682
40683 #ifdef __STDC__
40684 # include <limits.h>
40685 #else
40686 # include <assert.h>
40687 #endif
40688
40689 #undef $ac_func
40690
40691 /* Override any GCC internal prototype to avoid an error.
40692 Use char because int might match the return type of a GCC
40693 builtin and then its argument prototype would still apply. */
40694 #ifdef __cplusplus
40695 extern "C"
40696 #endif
40697 char $ac_func ();
40698 /* The GNU C library defines this for functions which it implements
40699 to always fail with ENOSYS. Some functions are actually named
40700 something starting with __ and the normal name is an alias. */
40701 #if defined __stub_$ac_func || defined __stub___$ac_func
40702 choke me
40703 #endif
40704
40705 int
40706 main ()
40707 {
40708 return $ac_func ();
40709 ;
40710 return 0;
40711 }
40712 _ACEOF
40713 rm -f conftest.$ac_objext conftest$ac_exeext
40714 if { (ac_try="$ac_link"
40715 case "(($ac_try" in
40716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40717 *) ac_try_echo=$ac_try;;
40718 esac
40719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40720 (eval "$ac_link") 2>conftest.er1
40721 ac_status=$?
40722 grep -v '^ *+' conftest.er1 >conftest.err
40723 rm -f conftest.er1
40724 cat conftest.err >&5
40725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726 (exit $ac_status); } && {
40727 test -z "$ac_c_werror_flag" ||
40728 test ! -s conftest.err
40729 } && test -s conftest$ac_exeext &&
40730 $as_test_x conftest$ac_exeext; then
40731 eval "$as_ac_var=yes"
40732 else
40733 echo "$as_me: failed program was:" >&5
40734 sed 's/^/| /' conftest.$ac_ext >&5
40735
40736 eval "$as_ac_var=no"
40737 fi
40738
40739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40740 conftest$ac_exeext conftest.$ac_ext
40741 fi
40742 ac_res=`eval echo '${'$as_ac_var'}'`
40743 { echo "$as_me:$LINENO: result: $ac_res" >&5
40744 echo "${ECHO_T}$ac_res" >&6; }
40745 if test `eval echo '${'$as_ac_var'}'` = yes; then
40746 cat >>confdefs.h <<_ACEOF
40747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40748 _ACEOF
40749
40750 cat >>confdefs.h <<\_ACEOF
40751 #define HAVE_SHL_LOAD 1
40752 _ACEOF
40753
40754 HAVE_SHL_FUNCS=1
40755
40756 else
40757
40758 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40759 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40760 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40761 echo $ECHO_N "(cached) $ECHO_C" >&6
40762 else
40763 ac_check_lib_save_LIBS=$LIBS
40764 LIBS="-lshl_load $LIBS"
40765 cat >conftest.$ac_ext <<_ACEOF
40766 /* confdefs.h. */
40767 _ACEOF
40768 cat confdefs.h >>conftest.$ac_ext
40769 cat >>conftest.$ac_ext <<_ACEOF
40770 /* end confdefs.h. */
40771
40772 /* Override any GCC internal prototype to avoid an error.
40773 Use char because int might match the return type of a GCC
40774 builtin and then its argument prototype would still apply. */
40775 #ifdef __cplusplus
40776 extern "C"
40777 #endif
40778 char dld ();
40779 int
40780 main ()
40781 {
40782 return dld ();
40783 ;
40784 return 0;
40785 }
40786 _ACEOF
40787 rm -f conftest.$ac_objext conftest$ac_exeext
40788 if { (ac_try="$ac_link"
40789 case "(($ac_try" in
40790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40791 *) ac_try_echo=$ac_try;;
40792 esac
40793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40794 (eval "$ac_link") 2>conftest.er1
40795 ac_status=$?
40796 grep -v '^ *+' conftest.er1 >conftest.err
40797 rm -f conftest.er1
40798 cat conftest.err >&5
40799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40800 (exit $ac_status); } && {
40801 test -z "$ac_c_werror_flag" ||
40802 test ! -s conftest.err
40803 } && test -s conftest$ac_exeext &&
40804 $as_test_x conftest$ac_exeext; then
40805 ac_cv_lib_shl_load_dld=yes
40806 else
40807 echo "$as_me: failed program was:" >&5
40808 sed 's/^/| /' conftest.$ac_ext >&5
40809
40810 ac_cv_lib_shl_load_dld=no
40811 fi
40812
40813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40814 conftest$ac_exeext conftest.$ac_ext
40815 LIBS=$ac_check_lib_save_LIBS
40816 fi
40817 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40818 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40819 if test $ac_cv_lib_shl_load_dld = yes; then
40820
40821 HAVE_SHL_FUNCS=1
40822 DL_LINK=" -ldld$DL_LINK"
40823
40824 fi
40825
40826
40827 fi
40828 done
40829
40830
40831 fi
40832
40833
40834 fi
40835 done
40836
40837
40838 if test "$HAVE_DL_FUNCS" = 1; then
40839
40840 for ac_func in dlerror
40841 do
40842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40843 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40845 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40846 echo $ECHO_N "(cached) $ECHO_C" >&6
40847 else
40848 cat >conftest.$ac_ext <<_ACEOF
40849 /* confdefs.h. */
40850 _ACEOF
40851 cat confdefs.h >>conftest.$ac_ext
40852 cat >>conftest.$ac_ext <<_ACEOF
40853 /* end confdefs.h. */
40854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40856 #define $ac_func innocuous_$ac_func
40857
40858 /* System header to define __stub macros and hopefully few prototypes,
40859 which can conflict with char $ac_func (); below.
40860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40861 <limits.h> exists even on freestanding compilers. */
40862
40863 #ifdef __STDC__
40864 # include <limits.h>
40865 #else
40866 # include <assert.h>
40867 #endif
40868
40869 #undef $ac_func
40870
40871 /* Override any GCC internal prototype to avoid an error.
40872 Use char because int might match the return type of a GCC
40873 builtin and then its argument prototype would still apply. */
40874 #ifdef __cplusplus
40875 extern "C"
40876 #endif
40877 char $ac_func ();
40878 /* The GNU C library defines this for functions which it implements
40879 to always fail with ENOSYS. Some functions are actually named
40880 something starting with __ and the normal name is an alias. */
40881 #if defined __stub_$ac_func || defined __stub___$ac_func
40882 choke me
40883 #endif
40884
40885 int
40886 main ()
40887 {
40888 return $ac_func ();
40889 ;
40890 return 0;
40891 }
40892 _ACEOF
40893 rm -f conftest.$ac_objext conftest$ac_exeext
40894 if { (ac_try="$ac_link"
40895 case "(($ac_try" in
40896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40897 *) ac_try_echo=$ac_try;;
40898 esac
40899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40900 (eval "$ac_link") 2>conftest.er1
40901 ac_status=$?
40902 grep -v '^ *+' conftest.er1 >conftest.err
40903 rm -f conftest.er1
40904 cat conftest.err >&5
40905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40906 (exit $ac_status); } && {
40907 test -z "$ac_c_werror_flag" ||
40908 test ! -s conftest.err
40909 } && test -s conftest$ac_exeext &&
40910 $as_test_x conftest$ac_exeext; then
40911 eval "$as_ac_var=yes"
40912 else
40913 echo "$as_me: failed program was:" >&5
40914 sed 's/^/| /' conftest.$ac_ext >&5
40915
40916 eval "$as_ac_var=no"
40917 fi
40918
40919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40920 conftest$ac_exeext conftest.$ac_ext
40921 fi
40922 ac_res=`eval echo '${'$as_ac_var'}'`
40923 { echo "$as_me:$LINENO: result: $ac_res" >&5
40924 echo "${ECHO_T}$ac_res" >&6; }
40925 if test `eval echo '${'$as_ac_var'}'` = yes; then
40926 cat >>confdefs.h <<_ACEOF
40927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40928 _ACEOF
40929 cat >>confdefs.h <<\_ACEOF
40930 #define HAVE_DLERROR 1
40931 _ACEOF
40932
40933 else
40934
40935 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40936 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40937 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40938 echo $ECHO_N "(cached) $ECHO_C" >&6
40939 else
40940 ac_check_lib_save_LIBS=$LIBS
40941 LIBS="-ldl $LIBS"
40942 cat >conftest.$ac_ext <<_ACEOF
40943 /* confdefs.h. */
40944 _ACEOF
40945 cat confdefs.h >>conftest.$ac_ext
40946 cat >>conftest.$ac_ext <<_ACEOF
40947 /* end confdefs.h. */
40948
40949 /* Override any GCC internal prototype to avoid an error.
40950 Use char because int might match the return type of a GCC
40951 builtin and then its argument prototype would still apply. */
40952 #ifdef __cplusplus
40953 extern "C"
40954 #endif
40955 char dlerror ();
40956 int
40957 main ()
40958 {
40959 return dlerror ();
40960 ;
40961 return 0;
40962 }
40963 _ACEOF
40964 rm -f conftest.$ac_objext conftest$ac_exeext
40965 if { (ac_try="$ac_link"
40966 case "(($ac_try" in
40967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40968 *) ac_try_echo=$ac_try;;
40969 esac
40970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40971 (eval "$ac_link") 2>conftest.er1
40972 ac_status=$?
40973 grep -v '^ *+' conftest.er1 >conftest.err
40974 rm -f conftest.er1
40975 cat conftest.err >&5
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); } && {
40978 test -z "$ac_c_werror_flag" ||
40979 test ! -s conftest.err
40980 } && test -s conftest$ac_exeext &&
40981 $as_test_x conftest$ac_exeext; then
40982 ac_cv_lib_dl_dlerror=yes
40983 else
40984 echo "$as_me: failed program was:" >&5
40985 sed 's/^/| /' conftest.$ac_ext >&5
40986
40987 ac_cv_lib_dl_dlerror=no
40988 fi
40989
40990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40991 conftest$ac_exeext conftest.$ac_ext
40992 LIBS=$ac_check_lib_save_LIBS
40993 fi
40994 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40995 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40996 if test $ac_cv_lib_dl_dlerror = yes; then
40997 cat >>confdefs.h <<\_ACEOF
40998 #define HAVE_DLERROR 1
40999 _ACEOF
41000
41001 fi
41002
41003
41004
41005 fi
41006 done
41007
41008 fi
41009 fi
41010
41011 if test "$HAVE_DL_FUNCS" = 0; then
41012 if test "$HAVE_SHL_FUNCS" = 0; then
41013 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41014 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41015 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41016 wxUSE_DYNAMIC_LOADER=no
41017 wxUSE_DYNLIB_CLASS=no
41018 else
41019 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41020 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41021 fi
41022 fi
41023 fi
41024 fi
41025 fi
41026
41027 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41028 cat >>confdefs.h <<\_ACEOF
41029 #define wxUSE_DYNAMIC_LOADER 1
41030 _ACEOF
41031
41032 fi
41033 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41034 cat >>confdefs.h <<\_ACEOF
41035 #define wxUSE_DYNLIB_CLASS 1
41036 _ACEOF
41037
41038 fi
41039
41040
41041
41042 if test "$wxUSE_PLUGINS" = "yes" ; then
41043 if test "$wxUSE_SHARED" = "no" ; then
41044 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41045 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41046 wxUSE_PLUGINS=no
41047 fi
41048 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41049 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41050 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41051 wxUSE_PLUGINS=no
41052 fi
41053 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41054 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41055 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41056 wxUSE_PLUGINS=no
41057 fi
41058 if test "$wxUSE_PLUGINS" = "yes" ; then
41059 cat >>confdefs.h <<\_ACEOF
41060 #define wxUSE_PLUGINS 1
41061 _ACEOF
41062
41063 fi
41064 fi
41065
41066
41067 if test "$wxUSE_STL" = "yes"; then
41068 cat >>confdefs.h <<\_ACEOF
41069 #define wxUSE_STL 1
41070 _ACEOF
41071
41072 fi
41073
41074 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41075 cat >>confdefs.h <<\_ACEOF
41076 #define wxUSE_EXTENDED_RTTI 1
41077 _ACEOF
41078
41079 fi
41080
41081 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41082 cat >>confdefs.h <<\_ACEOF
41083 #define wxUSE_APPLE_IEEE 1
41084 _ACEOF
41085
41086 fi
41087
41088 if test "$wxUSE_TIMER" = "yes"; then
41089 cat >>confdefs.h <<\_ACEOF
41090 #define wxUSE_TIMER 1
41091 _ACEOF
41092
41093 fi
41094
41095 if test "$USE_UNIX" = "1" ; then
41096 if test "$wxUSE_MGL" != 1; then
41097 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41098 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41099 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41100 echo $ECHO_N "(cached) $ECHO_C" >&6
41101 else
41102
41103 cat >conftest.$ac_ext <<_ACEOF
41104 /* confdefs.h. */
41105 _ACEOF
41106 cat confdefs.h >>conftest.$ac_ext
41107 cat >>conftest.$ac_ext <<_ACEOF
41108 /* end confdefs.h. */
41109
41110 #include <sys/ioctl.h>
41111 #include <sys/soundcard.h>
41112
41113 int
41114 main ()
41115 {
41116
41117 ioctl(0, SNDCTL_DSP_SPEED, 0);
41118
41119 ;
41120 return 0;
41121 }
41122 _ACEOF
41123 rm -f conftest.$ac_objext conftest$ac_exeext
41124 if { (ac_try="$ac_link"
41125 case "(($ac_try" in
41126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41127 *) ac_try_echo=$ac_try;;
41128 esac
41129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41130 (eval "$ac_link") 2>conftest.er1
41131 ac_status=$?
41132 grep -v '^ *+' conftest.er1 >conftest.err
41133 rm -f conftest.er1
41134 cat conftest.err >&5
41135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41136 (exit $ac_status); } && {
41137 test -z "$ac_c_werror_flag" ||
41138 test ! -s conftest.err
41139 } && test -s conftest$ac_exeext &&
41140 $as_test_x conftest$ac_exeext; then
41141 ac_cv_header_sys_soundcard=yes
41142 else
41143 echo "$as_me: failed program was:" >&5
41144 sed 's/^/| /' conftest.$ac_ext >&5
41145
41146
41147 saveLibs="$LIBS"
41148 LIBS="$saveLibs -lossaudio"
41149 cat >conftest.$ac_ext <<_ACEOF
41150 /* confdefs.h. */
41151 _ACEOF
41152 cat confdefs.h >>conftest.$ac_ext
41153 cat >>conftest.$ac_ext <<_ACEOF
41154 /* end confdefs.h. */
41155
41156 #include <sys/ioctl.h>
41157 #include <sys/soundcard.h>
41158
41159 int
41160 main ()
41161 {
41162
41163 ioctl(0, SNDCTL_DSP_SPEED, 0);
41164
41165 ;
41166 return 0;
41167 }
41168 _ACEOF
41169 rm -f conftest.$ac_objext conftest$ac_exeext
41170 if { (ac_try="$ac_link"
41171 case "(($ac_try" in
41172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41173 *) ac_try_echo=$ac_try;;
41174 esac
41175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41176 (eval "$ac_link") 2>conftest.er1
41177 ac_status=$?
41178 grep -v '^ *+' conftest.er1 >conftest.err
41179 rm -f conftest.er1
41180 cat conftest.err >&5
41181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41182 (exit $ac_status); } && {
41183 test -z "$ac_c_werror_flag" ||
41184 test ! -s conftest.err
41185 } && test -s conftest$ac_exeext &&
41186 $as_test_x conftest$ac_exeext; then
41187 ac_cv_header_sys_soundcard=yes
41188 else
41189 echo "$as_me: failed program was:" >&5
41190 sed 's/^/| /' conftest.$ac_ext >&5
41191
41192
41193 LIBS="$saveLibs"
41194 ac_cv_header_sys_soundcard=no
41195
41196
41197 fi
41198
41199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41200 conftest$ac_exeext conftest.$ac_ext
41201
41202
41203 fi
41204
41205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41206 conftest$ac_exeext conftest.$ac_ext
41207
41208 fi
41209 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41210 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41211 fi
41212
41213 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41214 cat >>confdefs.h <<\_ACEOF
41215 #define HAVE_SYS_SOUNDCARD_H 1
41216 _ACEOF
41217
41218 fi
41219 fi
41220
41221 WITH_PLUGIN_SDL=0
41222 if test "$wxUSE_SOUND" = "yes"; then
41223 if test "$USE_UNIX" = "1" ; then
41224 if test "$wxUSE_LIBSDL" != "no"; then
41225
41226 # Check whether --with-sdl-prefix was given.
41227 if test "${with_sdl_prefix+set}" = set; then
41228 withval=$with_sdl_prefix; sdl_prefix="$withval"
41229 else
41230 sdl_prefix=""
41231 fi
41232
41233
41234 # Check whether --with-sdl-exec-prefix was given.
41235 if test "${with_sdl_exec_prefix+set}" = set; then
41236 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41237 else
41238 sdl_exec_prefix=""
41239 fi
41240
41241 # Check whether --enable-sdltest was given.
41242 if test "${enable_sdltest+set}" = set; then
41243 enableval=$enable_sdltest;
41244 else
41245 enable_sdltest=yes
41246 fi
41247
41248
41249 if test x$sdl_exec_prefix != x ; then
41250 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41251 if test x${SDL_CONFIG+set} != xset ; then
41252 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41253 fi
41254 fi
41255 if test x$sdl_prefix != x ; then
41256 sdl_args="$sdl_args --prefix=$sdl_prefix"
41257 if test x${SDL_CONFIG+set} != xset ; then
41258 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41259 fi
41260 fi
41261
41262 if test "x$prefix" != xNONE; then
41263 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41264 fi
41265 # Extract the first word of "sdl-config", so it can be a program name with args.
41266 set dummy sdl-config; ac_word=$2
41267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41269 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41270 echo $ECHO_N "(cached) $ECHO_C" >&6
41271 else
41272 case $SDL_CONFIG in
41273 [\\/]* | ?:[\\/]*)
41274 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41275 ;;
41276 *)
41277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41278 for as_dir in $PATH
41279 do
41280 IFS=$as_save_IFS
41281 test -z "$as_dir" && as_dir=.
41282 for ac_exec_ext in '' $ac_executable_extensions; do
41283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41284 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41286 break 2
41287 fi
41288 done
41289 done
41290 IFS=$as_save_IFS
41291
41292 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41293 ;;
41294 esac
41295 fi
41296 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41297 if test -n "$SDL_CONFIG"; then
41298 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41299 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41300 else
41301 { echo "$as_me:$LINENO: result: no" >&5
41302 echo "${ECHO_T}no" >&6; }
41303 fi
41304
41305
41306 min_sdl_version=1.2.0
41307 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41308 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41309 no_sdl=""
41310 if test "$SDL_CONFIG" = "no" ; then
41311 no_sdl=yes
41312 else
41313 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41314 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41315
41316 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41317 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41318 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41319 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41320 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41322 if test "x$enable_sdltest" = "xyes" ; then
41323 ac_save_CFLAGS="$CFLAGS"
41324 ac_save_CXXFLAGS="$CXXFLAGS"
41325 ac_save_LIBS="$LIBS"
41326 CFLAGS="$CFLAGS $SDL_CFLAGS"
41327 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41328 LIBS="$LIBS $SDL_LIBS"
41329 rm -f conf.sdltest
41330 if test "$cross_compiling" = yes; then
41331 echo $ac_n "cross compiling; assumed OK... $ac_c"
41332 else
41333 cat >conftest.$ac_ext <<_ACEOF
41334 /* confdefs.h. */
41335 _ACEOF
41336 cat confdefs.h >>conftest.$ac_ext
41337 cat >>conftest.$ac_ext <<_ACEOF
41338 /* end confdefs.h. */
41339
41340 #include <stdio.h>
41341 #include <stdlib.h>
41342 #include <string.h>
41343 #include "SDL.h"
41344
41345 char*
41346 my_strdup (char *str)
41347 {
41348 char *new_str;
41349
41350 if (str)
41351 {
41352 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41353 strcpy (new_str, str);
41354 }
41355 else
41356 new_str = NULL;
41357
41358 return new_str;
41359 }
41360
41361 int main (int argc, char *argv[])
41362 {
41363 int major, minor, micro;
41364 char *tmp_version;
41365
41366 /* This hangs on some systems (?)
41367 system ("touch conf.sdltest");
41368 */
41369 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41370
41371 /* HP/UX 9 (%@#!) writes to sscanf strings */
41372 tmp_version = my_strdup("$min_sdl_version");
41373 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41374 printf("%s, bad version string\n", "$min_sdl_version");
41375 exit(1);
41376 }
41377
41378 if (($sdl_major_version > major) ||
41379 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41380 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41381 {
41382 return 0;
41383 }
41384 else
41385 {
41386 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41387 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41388 printf("*** best to upgrade to the required version.\n");
41389 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41390 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41391 printf("*** config.cache before re-running configure\n");
41392 return 1;
41393 }
41394 }
41395
41396
41397 _ACEOF
41398 rm -f conftest$ac_exeext
41399 if { (ac_try="$ac_link"
41400 case "(($ac_try" in
41401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41402 *) ac_try_echo=$ac_try;;
41403 esac
41404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41405 (eval "$ac_link") 2>&5
41406 ac_status=$?
41407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41409 { (case "(($ac_try" in
41410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41411 *) ac_try_echo=$ac_try;;
41412 esac
41413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41414 (eval "$ac_try") 2>&5
41415 ac_status=$?
41416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41417 (exit $ac_status); }; }; then
41418 :
41419 else
41420 echo "$as_me: program exited with status $ac_status" >&5
41421 echo "$as_me: failed program was:" >&5
41422 sed 's/^/| /' conftest.$ac_ext >&5
41423
41424 ( exit $ac_status )
41425 no_sdl=yes
41426 fi
41427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41428 fi
41429
41430
41431 CFLAGS="$ac_save_CFLAGS"
41432 CXXFLAGS="$ac_save_CXXFLAGS"
41433 LIBS="$ac_save_LIBS"
41434 fi
41435 fi
41436 if test "x$no_sdl" = x ; then
41437 { echo "$as_me:$LINENO: result: yes" >&5
41438 echo "${ECHO_T}yes" >&6; }
41439
41440 EXTRALIBS_SDL="$SDL_LIBS"
41441 CFLAGS="$SDL_CFLAGS $CFLAGS"
41442 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41443 cat >>confdefs.h <<\_ACEOF
41444 #define wxUSE_LIBSDL 1
41445 _ACEOF
41446
41447
41448 else
41449 { echo "$as_me:$LINENO: result: no" >&5
41450 echo "${ECHO_T}no" >&6; }
41451 if test "$SDL_CONFIG" = "no" ; then
41452 echo "*** The sdl-config script installed by SDL could not be found"
41453 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41454 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41455 echo "*** full path to sdl-config."
41456 else
41457 if test -f conf.sdltest ; then
41458 :
41459 else
41460 echo "*** Could not run SDL test program, checking why..."
41461 CFLAGS="$CFLAGS $SDL_CFLAGS"
41462 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41463 LIBS="$LIBS $SDL_LIBS"
41464 cat >conftest.$ac_ext <<_ACEOF
41465 /* confdefs.h. */
41466 _ACEOF
41467 cat confdefs.h >>conftest.$ac_ext
41468 cat >>conftest.$ac_ext <<_ACEOF
41469 /* end confdefs.h. */
41470
41471 #include <stdio.h>
41472 #include "SDL.h"
41473
41474 int main(int argc, char *argv[])
41475 { return 0; }
41476 #undef main
41477 #define main K_and_R_C_main
41478
41479 int
41480 main ()
41481 {
41482 return 0;
41483 ;
41484 return 0;
41485 }
41486 _ACEOF
41487 rm -f conftest.$ac_objext conftest$ac_exeext
41488 if { (ac_try="$ac_link"
41489 case "(($ac_try" in
41490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41491 *) ac_try_echo=$ac_try;;
41492 esac
41493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41494 (eval "$ac_link") 2>conftest.er1
41495 ac_status=$?
41496 grep -v '^ *+' conftest.er1 >conftest.err
41497 rm -f conftest.er1
41498 cat conftest.err >&5
41499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41500 (exit $ac_status); } && {
41501 test -z "$ac_c_werror_flag" ||
41502 test ! -s conftest.err
41503 } && test -s conftest$ac_exeext &&
41504 $as_test_x conftest$ac_exeext; then
41505 echo "*** The test program compiled, but did not run. This usually means"
41506 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41507 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41508 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41509 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41510 echo "*** is required on your system"
41511 echo "***"
41512 echo "*** If you have an old version installed, it is best to remove it, although"
41513 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41514 else
41515 echo "$as_me: failed program was:" >&5
41516 sed 's/^/| /' conftest.$ac_ext >&5
41517
41518 echo "*** The test program failed to compile or link. See the file config.log for the"
41519 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41520 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41521 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41522 fi
41523
41524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41525 conftest$ac_exeext conftest.$ac_ext
41526 CFLAGS="$ac_save_CFLAGS"
41527 CXXFLAGS="$ac_save_CXXFLAGS"
41528 LIBS="$ac_save_LIBS"
41529 fi
41530 fi
41531 SDL_CFLAGS=""
41532 SDL_LIBS=""
41533 wxUSE_LIBSDL="no"
41534 fi
41535
41536
41537 rm -f conf.sdltest
41538
41539 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41540 WITH_PLUGIN_SDL=1
41541 fi
41542 fi
41543 else
41544 if test "$wxUSE_MGL" = 1; then
41545 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41546 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41547 wxUSE_SOUND="no"
41548 fi
41549 fi
41550 fi
41551
41552 if test "$wxUSE_SOUND" = "yes"; then
41553 cat >>confdefs.h <<\_ACEOF
41554 #define wxUSE_SOUND 1
41555 _ACEOF
41556
41557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41558 fi
41559
41560 if test "$WXGTK20" = 1; then
41561
41562
41563 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41564 if test -n "$ac_tool_prefix"; then
41565 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41566 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41569 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41570 echo $ECHO_N "(cached) $ECHO_C" >&6
41571 else
41572 case $PKG_CONFIG in
41573 [\\/]* | ?:[\\/]*)
41574 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41575 ;;
41576 *)
41577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41578 for as_dir in $PATH
41579 do
41580 IFS=$as_save_IFS
41581 test -z "$as_dir" && as_dir=.
41582 for ac_exec_ext in '' $ac_executable_extensions; do
41583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41584 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41586 break 2
41587 fi
41588 done
41589 done
41590 IFS=$as_save_IFS
41591
41592 ;;
41593 esac
41594 fi
41595 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41596 if test -n "$PKG_CONFIG"; then
41597 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41598 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41599 else
41600 { echo "$as_me:$LINENO: result: no" >&5
41601 echo "${ECHO_T}no" >&6; }
41602 fi
41603
41604
41605 fi
41606 if test -z "$ac_cv_path_PKG_CONFIG"; then
41607 ac_pt_PKG_CONFIG=$PKG_CONFIG
41608 # Extract the first word of "pkg-config", so it can be a program name with args.
41609 set dummy pkg-config; ac_word=$2
41610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41612 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41613 echo $ECHO_N "(cached) $ECHO_C" >&6
41614 else
41615 case $ac_pt_PKG_CONFIG in
41616 [\\/]* | ?:[\\/]*)
41617 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41618 ;;
41619 *)
41620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41621 for as_dir in $PATH
41622 do
41623 IFS=$as_save_IFS
41624 test -z "$as_dir" && as_dir=.
41625 for ac_exec_ext in '' $ac_executable_extensions; do
41626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41627 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41629 break 2
41630 fi
41631 done
41632 done
41633 IFS=$as_save_IFS
41634
41635 ;;
41636 esac
41637 fi
41638 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41639 if test -n "$ac_pt_PKG_CONFIG"; then
41640 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41641 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41642 else
41643 { echo "$as_me:$LINENO: result: no" >&5
41644 echo "${ECHO_T}no" >&6; }
41645 fi
41646
41647 if test "x$ac_pt_PKG_CONFIG" = x; then
41648 PKG_CONFIG=""
41649 else
41650 case $cross_compiling:$ac_tool_warned in
41651 yes:)
41652 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41653 whose name does not start with the host triplet. If you think this
41654 configuration is useful to you, please write to autoconf@gnu.org." >&5
41655 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41656 whose name does not start with the host triplet. If you think this
41657 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41658 ac_tool_warned=yes ;;
41659 esac
41660 PKG_CONFIG=$ac_pt_PKG_CONFIG
41661 fi
41662 else
41663 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41664 fi
41665
41666 fi
41667 if test -n "$PKG_CONFIG"; then
41668 _pkg_min_version=0.9.0
41669 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41670 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41671 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41672 { echo "$as_me:$LINENO: result: yes" >&5
41673 echo "${ECHO_T}yes" >&6; }
41674 else
41675 { echo "$as_me:$LINENO: result: no" >&5
41676 echo "${ECHO_T}no" >&6; }
41677 PKG_CONFIG=""
41678 fi
41679
41680 fi
41681
41682 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41683 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41684
41685
41686 pkg_failed=no
41687 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41688 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41689
41690 if test -n "$PKG_CONFIG"; then
41691 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41692 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41693 else
41694 if test -n "$PKG_CONFIG" && \
41695 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41696 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41697 ac_status=$?
41698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41699 (exit $ac_status); }; then
41700 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41701 else
41702 pkg_failed=yes
41703 fi
41704 fi
41705 else
41706 pkg_failed=untried
41707 fi
41708 if test -n "$PKG_CONFIG"; then
41709 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41710 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41711 else
41712 if test -n "$PKG_CONFIG" && \
41713 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41714 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41715 ac_status=$?
41716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41717 (exit $ac_status); }; then
41718 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41719 else
41720 pkg_failed=yes
41721 fi
41722 fi
41723 else
41724 pkg_failed=untried
41725 fi
41726
41727
41728
41729 if test $pkg_failed = yes; then
41730
41731 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41732 _pkg_short_errors_supported=yes
41733 else
41734 _pkg_short_errors_supported=no
41735 fi
41736 if test $_pkg_short_errors_supported = yes; then
41737 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41738 else
41739 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41740 fi
41741 # Put the nasty error message in config.log where it belongs
41742 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41743
41744
41745 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41746 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41747 wxUSE_LIBGNOMEPRINT="no"
41748
41749
41750 elif test $pkg_failed = untried; then
41751
41752 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41753 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41754 wxUSE_LIBGNOMEPRINT="no"
41755
41756
41757 else
41758 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41759 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41760 { echo "$as_me:$LINENO: result: yes" >&5
41761 echo "${ECHO_T}yes" >&6; }
41762
41763 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41764 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41765 cat >>confdefs.h <<\_ACEOF
41766 #define wxUSE_LIBGNOMEPRINT 1
41767 _ACEOF
41768
41769
41770 fi
41771 fi
41772 fi
41773
41774 if test "$wxUSE_MIMETYPE" = "yes" ; then
41775 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41776
41777
41778 pkg_failed=no
41779 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41780 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41781
41782 if test -n "$PKG_CONFIG"; then
41783 if test -n "$GNOMEVFS_CFLAGS"; then
41784 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41785 else
41786 if test -n "$PKG_CONFIG" && \
41787 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41788 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41789 ac_status=$?
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); }; then
41792 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41793 else
41794 pkg_failed=yes
41795 fi
41796 fi
41797 else
41798 pkg_failed=untried
41799 fi
41800 if test -n "$PKG_CONFIG"; then
41801 if test -n "$GNOMEVFS_LIBS"; then
41802 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41803 else
41804 if test -n "$PKG_CONFIG" && \
41805 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41806 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41807 ac_status=$?
41808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41809 (exit $ac_status); }; then
41810 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41811 else
41812 pkg_failed=yes
41813 fi
41814 fi
41815 else
41816 pkg_failed=untried
41817 fi
41818
41819
41820
41821 if test $pkg_failed = yes; then
41822
41823 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41824 _pkg_short_errors_supported=yes
41825 else
41826 _pkg_short_errors_supported=no
41827 fi
41828 if test $_pkg_short_errors_supported = yes; then
41829 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41830 else
41831 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41832 fi
41833 # Put the nasty error message in config.log where it belongs
41834 echo "$GNOMEVFS_PKG_ERRORS" >&5
41835
41836
41837 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41838 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41839 wxUSE_LIBGNOMEVFS="no"
41840
41841
41842 elif test $pkg_failed = untried; then
41843
41844 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41845 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41846 wxUSE_LIBGNOMEVFS="no"
41847
41848
41849 else
41850 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41851 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41852 { echo "$as_me:$LINENO: result: yes" >&5
41853 echo "${ECHO_T}yes" >&6; }
41854
41855 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41856 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41857 cat >>confdefs.h <<\_ACEOF
41858 #define wxUSE_LIBGNOMEVFS 1
41859 _ACEOF
41860
41861
41862 fi
41863 fi
41864 fi
41865
41866 if test "$wxUSE_LIBHILDON" = "yes" ; then
41867
41868 pkg_failed=no
41869 { echo "$as_me:$LINENO: checking for HILDON" >&5
41870 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41871
41872 if test -n "$PKG_CONFIG"; then
41873 if test -n "$HILDON_CFLAGS"; then
41874 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41875 else
41876 if test -n "$PKG_CONFIG" && \
41877 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41878 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41879 ac_status=$?
41880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41881 (exit $ac_status); }; then
41882 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41883 else
41884 pkg_failed=yes
41885 fi
41886 fi
41887 else
41888 pkg_failed=untried
41889 fi
41890 if test -n "$PKG_CONFIG"; then
41891 if test -n "$HILDON_LIBS"; then
41892 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41893 else
41894 if test -n "$PKG_CONFIG" && \
41895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41896 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41897 ac_status=$?
41898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41899 (exit $ac_status); }; then
41900 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41901 else
41902 pkg_failed=yes
41903 fi
41904 fi
41905 else
41906 pkg_failed=untried
41907 fi
41908
41909
41910
41911 if test $pkg_failed = yes; then
41912
41913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41914 _pkg_short_errors_supported=yes
41915 else
41916 _pkg_short_errors_supported=no
41917 fi
41918 if test $_pkg_short_errors_supported = yes; then
41919 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41920 else
41921 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41922 fi
41923 # Put the nasty error message in config.log where it belongs
41924 echo "$HILDON_PKG_ERRORS" >&5
41925
41926
41927 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41928 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41929 wxUSE_LIBHILDON="no"
41930
41931
41932 elif test $pkg_failed = untried; then
41933
41934 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41935 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41936 wxUSE_LIBHILDON="no"
41937
41938
41939 else
41940 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41941 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41942 { echo "$as_me:$LINENO: result: yes" >&5
41943 echo "${ECHO_T}yes" >&6; }
41944
41945 EXTRALIBS_HILDON="$HILDON_LIBS"
41946 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41947 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41948 cat >>confdefs.h <<\_ACEOF
41949 #define wxUSE_LIBHILDON 1
41950 _ACEOF
41951
41952
41953 fi
41954 fi
41955 fi
41956
41957 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41958 cat >>confdefs.h <<\_ACEOF
41959 #define wxUSE_CMDLINE_PARSER 1
41960 _ACEOF
41961
41962 fi
41963
41964 if test "$wxUSE_STOPWATCH" = "yes"; then
41965 cat >>confdefs.h <<\_ACEOF
41966 #define wxUSE_STOPWATCH 1
41967 _ACEOF
41968
41969 fi
41970
41971 if test "$wxUSE_DATETIME" = "yes"; then
41972 cat >>confdefs.h <<\_ACEOF
41973 #define wxUSE_DATETIME 1
41974 _ACEOF
41975
41976 fi
41977
41978 if test "$wxUSE_FILE" = "yes"; then
41979 cat >>confdefs.h <<\_ACEOF
41980 #define wxUSE_FILE 1
41981 _ACEOF
41982
41983 fi
41984
41985 if test "$wxUSE_FFILE" = "yes"; then
41986 cat >>confdefs.h <<\_ACEOF
41987 #define wxUSE_FFILE 1
41988 _ACEOF
41989
41990 fi
41991
41992 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41993 if test "$wxUSE_STREAMS" != yes; then
41994 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41995 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41996 wxUSE_ARCHIVE_STREAMS=no
41997 else
41998 cat >>confdefs.h <<\_ACEOF
41999 #define wxUSE_ARCHIVE_STREAMS 1
42000 _ACEOF
42001
42002 fi
42003 fi
42004
42005 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42006 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42007 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42008 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42009 elif test "$wxUSE_ZLIB" = "no"; then
42010 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42011 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42012 else
42013 cat >>confdefs.h <<\_ACEOF
42014 #define wxUSE_ZIPSTREAM 1
42015 _ACEOF
42016
42017 fi
42018 fi
42019
42020 if test "$wxUSE_TARSTREAM" = "yes"; then
42021 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42022 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42023 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42024 else
42025 cat >>confdefs.h <<\_ACEOF
42026 #define wxUSE_TARSTREAM 1
42027 _ACEOF
42028
42029 fi
42030 fi
42031
42032 if test "$wxUSE_FILESYSTEM" = "yes"; then
42033 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42034 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42035 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42036 wxUSE_FILESYSTEM=no
42037 else
42038 cat >>confdefs.h <<\_ACEOF
42039 #define wxUSE_FILESYSTEM 1
42040 _ACEOF
42041
42042 fi
42043 fi
42044
42045 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42046 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42047 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42048 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42049 else
42050 cat >>confdefs.h <<\_ACEOF
42051 #define wxUSE_FS_ARCHIVE 1
42052 _ACEOF
42053
42054 fi
42055 fi
42056
42057 if test "$wxUSE_FS_ZIP" = "yes"; then
42058 if test "$wxUSE_FS_ARCHIVE" != yes; then
42059 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42060 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42061 else
42062 cat >>confdefs.h <<\_ACEOF
42063 #define wxUSE_FS_ZIP 1
42064 _ACEOF
42065
42066 fi
42067 fi
42068
42069 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42070 if test "$USE_UNIX" != 1; then
42071 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42072 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42073 wxUSE_ON_FATAL_EXCEPTION=no
42074 else
42075 cat >>confdefs.h <<\_ACEOF
42076 #define wxUSE_ON_FATAL_EXCEPTION 1
42077 _ACEOF
42078
42079 fi
42080 fi
42081
42082 if test "$wxUSE_STACKWALKER" = "yes"; then
42083 cat >>confdefs.h <<\_ACEOF
42084 #define wxUSE_STACKWALKER 1
42085 _ACEOF
42086
42087 fi
42088
42089 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42090 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42091 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42092 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42093 wxUSE_DEBUGREPORT=no
42094 else
42095 cat >>confdefs.h <<\_ACEOF
42096 #define wxUSE_DEBUGREPORT 1
42097 _ACEOF
42098
42099 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42101 fi
42102 fi
42103 fi
42104
42105 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42106 cat >>confdefs.h <<\_ACEOF
42107 #define wxUSE_SNGLINST_CHECKER 1
42108 _ACEOF
42109
42110 fi
42111
42112 if test "$wxUSE_BUSYINFO" = "yes"; then
42113 cat >>confdefs.h <<\_ACEOF
42114 #define wxUSE_BUSYINFO 1
42115 _ACEOF
42116
42117 fi
42118
42119 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42120 cat >>confdefs.h <<\_ACEOF
42121 #define wxUSE_STD_IOSTREAM 1
42122 _ACEOF
42123
42124 fi
42125
42126 if test "$wxUSE_STD_STRING" = "yes"; then
42127 cat >>confdefs.h <<\_ACEOF
42128 #define wxUSE_STD_STRING 1
42129 _ACEOF
42130
42131 fi
42132
42133 if test "$wxUSE_STDPATHS" = "yes"; then
42134 cat >>confdefs.h <<\_ACEOF
42135 #define wxUSE_STDPATHS 1
42136 _ACEOF
42137
42138 fi
42139
42140 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42141 cat >>confdefs.h <<\_ACEOF
42142 #define wxUSE_TEXTBUFFER 1
42143 _ACEOF
42144
42145 fi
42146
42147 if test "$wxUSE_TEXTFILE" = "yes"; then
42148 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42149 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42150 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42151 else
42152 cat >>confdefs.h <<\_ACEOF
42153 #define wxUSE_TEXTFILE 1
42154 _ACEOF
42155
42156 fi
42157 fi
42158
42159 if test "$wxUSE_CONFIG" = "yes" ; then
42160 if test "$wxUSE_TEXTFILE" != "yes"; then
42161 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42162 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42163 else
42164 cat >>confdefs.h <<\_ACEOF
42165 #define wxUSE_CONFIG 1
42166 _ACEOF
42167
42168 cat >>confdefs.h <<\_ACEOF
42169 #define wxUSE_CONFIG_NATIVE 1
42170 _ACEOF
42171
42172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42173 fi
42174 fi
42175
42176 if test "$wxUSE_INTL" = "yes" ; then
42177 if test "$wxUSE_FILE" != "yes"; then
42178 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42179 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42180 else
42181 cat >>confdefs.h <<\_ACEOF
42182 #define wxUSE_INTL 1
42183 _ACEOF
42184
42185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42186 GUIDIST="$GUIDIST INTL_DIST"
42187 fi
42188 fi
42189
42190 if test "$wxUSE_LOG" = "yes"; then
42191 cat >>confdefs.h <<\_ACEOF
42192 #define wxUSE_LOG 1
42193 _ACEOF
42194
42195
42196 if test "$wxUSE_LOGGUI" = "yes"; then
42197 cat >>confdefs.h <<\_ACEOF
42198 #define wxUSE_LOGGUI 1
42199 _ACEOF
42200
42201 fi
42202
42203 if test "$wxUSE_LOGWINDOW" = "yes"; then
42204 cat >>confdefs.h <<\_ACEOF
42205 #define wxUSE_LOGWINDOW 1
42206 _ACEOF
42207
42208 fi
42209
42210 if test "$wxUSE_LOGDIALOG" = "yes"; then
42211 cat >>confdefs.h <<\_ACEOF
42212 #define wxUSE_LOG_DIALOG 1
42213 _ACEOF
42214
42215 fi
42216
42217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42218 fi
42219
42220 if test "$wxUSE_LONGLONG" = "yes"; then
42221 cat >>confdefs.h <<\_ACEOF
42222 #define wxUSE_LONGLONG 1
42223 _ACEOF
42224
42225 fi
42226
42227 if test "$wxUSE_GEOMETRY" = "yes"; then
42228 cat >>confdefs.h <<\_ACEOF
42229 #define wxUSE_GEOMETRY 1
42230 _ACEOF
42231
42232 fi
42233
42234 if test "$wxUSE_STREAMS" = "yes" ; then
42235 cat >>confdefs.h <<\_ACEOF
42236 #define wxUSE_STREAMS 1
42237 _ACEOF
42238
42239 fi
42240
42241 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42242 cat >>confdefs.h <<\_ACEOF
42243 #define wxUSE_PRINTF_POS_PARAMS 1
42244 _ACEOF
42245
42246 fi
42247
42248
42249
42250 if test "$wxUSE_DATETIME" = "yes"; then
42251
42252 for ac_func in strptime
42253 do
42254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42255 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42257 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42258 echo $ECHO_N "(cached) $ECHO_C" >&6
42259 else
42260 cat >conftest.$ac_ext <<_ACEOF
42261 /* confdefs.h. */
42262 _ACEOF
42263 cat confdefs.h >>conftest.$ac_ext
42264 cat >>conftest.$ac_ext <<_ACEOF
42265 /* end confdefs.h. */
42266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42268 #define $ac_func innocuous_$ac_func
42269
42270 /* System header to define __stub macros and hopefully few prototypes,
42271 which can conflict with char $ac_func (); below.
42272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42273 <limits.h> exists even on freestanding compilers. */
42274
42275 #ifdef __STDC__
42276 # include <limits.h>
42277 #else
42278 # include <assert.h>
42279 #endif
42280
42281 #undef $ac_func
42282
42283 /* Override any GCC internal prototype to avoid an error.
42284 Use char because int might match the return type of a GCC
42285 builtin and then its argument prototype would still apply. */
42286 #ifdef __cplusplus
42287 extern "C"
42288 #endif
42289 char $ac_func ();
42290 /* The GNU C library defines this for functions which it implements
42291 to always fail with ENOSYS. Some functions are actually named
42292 something starting with __ and the normal name is an alias. */
42293 #if defined __stub_$ac_func || defined __stub___$ac_func
42294 choke me
42295 #endif
42296
42297 int
42298 main ()
42299 {
42300 return $ac_func ();
42301 ;
42302 return 0;
42303 }
42304 _ACEOF
42305 rm -f conftest.$ac_objext conftest$ac_exeext
42306 if { (ac_try="$ac_link"
42307 case "(($ac_try" in
42308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42309 *) ac_try_echo=$ac_try;;
42310 esac
42311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42312 (eval "$ac_link") 2>conftest.er1
42313 ac_status=$?
42314 grep -v '^ *+' conftest.er1 >conftest.err
42315 rm -f conftest.er1
42316 cat conftest.err >&5
42317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318 (exit $ac_status); } && {
42319 test -z "$ac_c_werror_flag" ||
42320 test ! -s conftest.err
42321 } && test -s conftest$ac_exeext &&
42322 $as_test_x conftest$ac_exeext; then
42323 eval "$as_ac_var=yes"
42324 else
42325 echo "$as_me: failed program was:" >&5
42326 sed 's/^/| /' conftest.$ac_ext >&5
42327
42328 eval "$as_ac_var=no"
42329 fi
42330
42331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42332 conftest$ac_exeext conftest.$ac_ext
42333 fi
42334 ac_res=`eval echo '${'$as_ac_var'}'`
42335 { echo "$as_me:$LINENO: result: $ac_res" >&5
42336 echo "${ECHO_T}$ac_res" >&6; }
42337 if test `eval echo '${'$as_ac_var'}'` = yes; then
42338 cat >>confdefs.h <<_ACEOF
42339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42340 _ACEOF
42341
42342 fi
42343 done
42344
42345 if test "$ac_cv_func_strptime" = "yes"; then
42346 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42347 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42348 if test "${wx_cv_func_strptime_decl+set}" = set; then
42349 echo $ECHO_N "(cached) $ECHO_C" >&6
42350 else
42351
42352 ac_ext=cpp
42353 ac_cpp='$CXXCPP $CPPFLAGS'
42354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42357
42358 cat >conftest.$ac_ext <<_ACEOF
42359 /* confdefs.h. */
42360 _ACEOF
42361 cat confdefs.h >>conftest.$ac_ext
42362 cat >>conftest.$ac_ext <<_ACEOF
42363 /* end confdefs.h. */
42364
42365 #include <time.h>
42366
42367 int
42368 main ()
42369 {
42370
42371 struct tm t;
42372 strptime("foo", "bar", &t);
42373
42374 ;
42375 return 0;
42376 }
42377 _ACEOF
42378 rm -f conftest.$ac_objext
42379 if { (ac_try="$ac_compile"
42380 case "(($ac_try" in
42381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42382 *) ac_try_echo=$ac_try;;
42383 esac
42384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42385 (eval "$ac_compile") 2>conftest.er1
42386 ac_status=$?
42387 grep -v '^ *+' conftest.er1 >conftest.err
42388 rm -f conftest.er1
42389 cat conftest.err >&5
42390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42391 (exit $ac_status); } && {
42392 test -z "$ac_cxx_werror_flag" ||
42393 test ! -s conftest.err
42394 } && test -s conftest.$ac_objext; then
42395 wx_cv_func_strptime_decl=yes
42396 else
42397 echo "$as_me: failed program was:" >&5
42398 sed 's/^/| /' conftest.$ac_ext >&5
42399
42400 wx_cv_func_strptime_decl=no
42401
42402 fi
42403
42404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42405 ac_ext=c
42406 ac_cpp='$CPP $CPPFLAGS'
42407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42410
42411
42412
42413 fi
42414 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42415 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42416 fi
42417 if test "$wx_cv_func_strptime_decl" = "yes"; then
42418 cat >>confdefs.h <<\_ACEOF
42419 #define HAVE_STRPTIME_DECL 1
42420 _ACEOF
42421
42422 fi
42423
42424 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42425 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42426 if test "${wx_cv_var_timezone+set}" = set; then
42427 echo $ECHO_N "(cached) $ECHO_C" >&6
42428 else
42429
42430 ac_ext=cpp
42431 ac_cpp='$CXXCPP $CPPFLAGS'
42432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42435
42436 cat >conftest.$ac_ext <<_ACEOF
42437 /* confdefs.h. */
42438 _ACEOF
42439 cat confdefs.h >>conftest.$ac_ext
42440 cat >>conftest.$ac_ext <<_ACEOF
42441 /* end confdefs.h. */
42442
42443 #include <time.h>
42444
42445 int
42446 main ()
42447 {
42448
42449 int tz;
42450 tz = timezone;
42451
42452 ;
42453 return 0;
42454 }
42455 _ACEOF
42456 rm -f conftest.$ac_objext
42457 if { (ac_try="$ac_compile"
42458 case "(($ac_try" in
42459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42460 *) ac_try_echo=$ac_try;;
42461 esac
42462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42463 (eval "$ac_compile") 2>conftest.er1
42464 ac_status=$?
42465 grep -v '^ *+' conftest.er1 >conftest.err
42466 rm -f conftest.er1
42467 cat conftest.err >&5
42468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42469 (exit $ac_status); } && {
42470 test -z "$ac_cxx_werror_flag" ||
42471 test ! -s conftest.err
42472 } && test -s conftest.$ac_objext; then
42473
42474 wx_cv_var_timezone=timezone
42475
42476 else
42477 echo "$as_me: failed program was:" >&5
42478 sed 's/^/| /' conftest.$ac_ext >&5
42479
42480
42481 cat >conftest.$ac_ext <<_ACEOF
42482 /* confdefs.h. */
42483 _ACEOF
42484 cat confdefs.h >>conftest.$ac_ext
42485 cat >>conftest.$ac_ext <<_ACEOF
42486 /* end confdefs.h. */
42487
42488 #include <time.h>
42489
42490 int
42491 main ()
42492 {
42493
42494 int tz;
42495 tz = _timezone;
42496
42497 ;
42498 return 0;
42499 }
42500 _ACEOF
42501 rm -f conftest.$ac_objext
42502 if { (ac_try="$ac_compile"
42503 case "(($ac_try" in
42504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42505 *) ac_try_echo=$ac_try;;
42506 esac
42507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42508 (eval "$ac_compile") 2>conftest.er1
42509 ac_status=$?
42510 grep -v '^ *+' conftest.er1 >conftest.err
42511 rm -f conftest.er1
42512 cat conftest.err >&5
42513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42514 (exit $ac_status); } && {
42515 test -z "$ac_cxx_werror_flag" ||
42516 test ! -s conftest.err
42517 } && test -s conftest.$ac_objext; then
42518
42519 wx_cv_var_timezone=_timezone
42520
42521 else
42522 echo "$as_me: failed program was:" >&5
42523 sed 's/^/| /' conftest.$ac_ext >&5
42524
42525
42526 cat >conftest.$ac_ext <<_ACEOF
42527 /* confdefs.h. */
42528 _ACEOF
42529 cat confdefs.h >>conftest.$ac_ext
42530 cat >>conftest.$ac_ext <<_ACEOF
42531 /* end confdefs.h. */
42532
42533 #include <time.h>
42534
42535 int
42536 main ()
42537 {
42538
42539 int tz;
42540 tz = __timezone;
42541
42542 ;
42543 return 0;
42544 }
42545 _ACEOF
42546 rm -f conftest.$ac_objext
42547 if { (ac_try="$ac_compile"
42548 case "(($ac_try" in
42549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42550 *) ac_try_echo=$ac_try;;
42551 esac
42552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42553 (eval "$ac_compile") 2>conftest.er1
42554 ac_status=$?
42555 grep -v '^ *+' conftest.er1 >conftest.err
42556 rm -f conftest.er1
42557 cat conftest.err >&5
42558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42559 (exit $ac_status); } && {
42560 test -z "$ac_cxx_werror_flag" ||
42561 test ! -s conftest.err
42562 } && test -s conftest.$ac_objext; then
42563
42564 wx_cv_var_timezone=__timezone
42565
42566 else
42567 echo "$as_me: failed program was:" >&5
42568 sed 's/^/| /' conftest.$ac_ext >&5
42569
42570
42571 if test "$USE_DOS" = 0 ; then
42572 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42573 echo "$as_me: WARNING: no timezone variable" >&2;}
42574 fi
42575
42576
42577 fi
42578
42579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42580
42581
42582 fi
42583
42584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42585
42586
42587 fi
42588
42589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42590 ac_ext=c
42591 ac_cpp='$CPP $CPPFLAGS'
42592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42595
42596
42597
42598 fi
42599 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42600 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42601
42602 if test "x$wx_cv_var_timezone" != x ; then
42603 cat >>confdefs.h <<_ACEOF
42604 #define WX_TIMEZONE $wx_cv_var_timezone
42605 _ACEOF
42606
42607 fi
42608
42609
42610 for ac_func in localtime
42611 do
42612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42613 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42615 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42616 echo $ECHO_N "(cached) $ECHO_C" >&6
42617 else
42618 cat >conftest.$ac_ext <<_ACEOF
42619 /* confdefs.h. */
42620 _ACEOF
42621 cat confdefs.h >>conftest.$ac_ext
42622 cat >>conftest.$ac_ext <<_ACEOF
42623 /* end confdefs.h. */
42624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42626 #define $ac_func innocuous_$ac_func
42627
42628 /* System header to define __stub macros and hopefully few prototypes,
42629 which can conflict with char $ac_func (); below.
42630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42631 <limits.h> exists even on freestanding compilers. */
42632
42633 #ifdef __STDC__
42634 # include <limits.h>
42635 #else
42636 # include <assert.h>
42637 #endif
42638
42639 #undef $ac_func
42640
42641 /* Override any GCC internal prototype to avoid an error.
42642 Use char because int might match the return type of a GCC
42643 builtin and then its argument prototype would still apply. */
42644 #ifdef __cplusplus
42645 extern "C"
42646 #endif
42647 char $ac_func ();
42648 /* The GNU C library defines this for functions which it implements
42649 to always fail with ENOSYS. Some functions are actually named
42650 something starting with __ and the normal name is an alias. */
42651 #if defined __stub_$ac_func || defined __stub___$ac_func
42652 choke me
42653 #endif
42654
42655 int
42656 main ()
42657 {
42658 return $ac_func ();
42659 ;
42660 return 0;
42661 }
42662 _ACEOF
42663 rm -f conftest.$ac_objext conftest$ac_exeext
42664 if { (ac_try="$ac_link"
42665 case "(($ac_try" in
42666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42667 *) ac_try_echo=$ac_try;;
42668 esac
42669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42670 (eval "$ac_link") 2>conftest.er1
42671 ac_status=$?
42672 grep -v '^ *+' conftest.er1 >conftest.err
42673 rm -f conftest.er1
42674 cat conftest.err >&5
42675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42676 (exit $ac_status); } && {
42677 test -z "$ac_c_werror_flag" ||
42678 test ! -s conftest.err
42679 } && test -s conftest$ac_exeext &&
42680 $as_test_x conftest$ac_exeext; then
42681 eval "$as_ac_var=yes"
42682 else
42683 echo "$as_me: failed program was:" >&5
42684 sed 's/^/| /' conftest.$ac_ext >&5
42685
42686 eval "$as_ac_var=no"
42687 fi
42688
42689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42690 conftest$ac_exeext conftest.$ac_ext
42691 fi
42692 ac_res=`eval echo '${'$as_ac_var'}'`
42693 { echo "$as_me:$LINENO: result: $ac_res" >&5
42694 echo "${ECHO_T}$ac_res" >&6; }
42695 if test `eval echo '${'$as_ac_var'}'` = yes; then
42696 cat >>confdefs.h <<_ACEOF
42697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42698 _ACEOF
42699
42700 fi
42701 done
42702
42703
42704 if test "$ac_cv_func_localtime" = "yes"; then
42705 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42706 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42707 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42708 echo $ECHO_N "(cached) $ECHO_C" >&6
42709 else
42710
42711 cat >conftest.$ac_ext <<_ACEOF
42712 /* confdefs.h. */
42713 _ACEOF
42714 cat confdefs.h >>conftest.$ac_ext
42715 cat >>conftest.$ac_ext <<_ACEOF
42716 /* end confdefs.h. */
42717
42718 #include <time.h>
42719
42720 int
42721 main ()
42722 {
42723
42724 struct tm tm;
42725 tm.tm_gmtoff++;
42726
42727 ;
42728 return 0;
42729 }
42730 _ACEOF
42731 rm -f conftest.$ac_objext
42732 if { (ac_try="$ac_compile"
42733 case "(($ac_try" in
42734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42735 *) ac_try_echo=$ac_try;;
42736 esac
42737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42738 (eval "$ac_compile") 2>conftest.er1
42739 ac_status=$?
42740 grep -v '^ *+' conftest.er1 >conftest.err
42741 rm -f conftest.er1
42742 cat conftest.err >&5
42743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42744 (exit $ac_status); } && {
42745 test -z "$ac_c_werror_flag" ||
42746 test ! -s conftest.err
42747 } && test -s conftest.$ac_objext; then
42748
42749 wx_cv_struct_tm_has_gmtoff=yes
42750
42751 else
42752 echo "$as_me: failed program was:" >&5
42753 sed 's/^/| /' conftest.$ac_ext >&5
42754
42755 wx_cv_struct_tm_has_gmtoff=no
42756
42757 fi
42758
42759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42760
42761 fi
42762 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42763 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42764 fi
42765
42766 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42767 cat >>confdefs.h <<\_ACEOF
42768 #define WX_GMTOFF_IN_TM 1
42769 _ACEOF
42770
42771 fi
42772
42773
42774
42775 for ac_func in gettimeofday ftime
42776 do
42777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42778 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42780 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42781 echo $ECHO_N "(cached) $ECHO_C" >&6
42782 else
42783 cat >conftest.$ac_ext <<_ACEOF
42784 /* confdefs.h. */
42785 _ACEOF
42786 cat confdefs.h >>conftest.$ac_ext
42787 cat >>conftest.$ac_ext <<_ACEOF
42788 /* end confdefs.h. */
42789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42791 #define $ac_func innocuous_$ac_func
42792
42793 /* System header to define __stub macros and hopefully few prototypes,
42794 which can conflict with char $ac_func (); below.
42795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42796 <limits.h> exists even on freestanding compilers. */
42797
42798 #ifdef __STDC__
42799 # include <limits.h>
42800 #else
42801 # include <assert.h>
42802 #endif
42803
42804 #undef $ac_func
42805
42806 /* Override any GCC internal prototype to avoid an error.
42807 Use char because int might match the return type of a GCC
42808 builtin and then its argument prototype would still apply. */
42809 #ifdef __cplusplus
42810 extern "C"
42811 #endif
42812 char $ac_func ();
42813 /* The GNU C library defines this for functions which it implements
42814 to always fail with ENOSYS. Some functions are actually named
42815 something starting with __ and the normal name is an alias. */
42816 #if defined __stub_$ac_func || defined __stub___$ac_func
42817 choke me
42818 #endif
42819
42820 int
42821 main ()
42822 {
42823 return $ac_func ();
42824 ;
42825 return 0;
42826 }
42827 _ACEOF
42828 rm -f conftest.$ac_objext conftest$ac_exeext
42829 if { (ac_try="$ac_link"
42830 case "(($ac_try" in
42831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42832 *) ac_try_echo=$ac_try;;
42833 esac
42834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42835 (eval "$ac_link") 2>conftest.er1
42836 ac_status=$?
42837 grep -v '^ *+' conftest.er1 >conftest.err
42838 rm -f conftest.er1
42839 cat conftest.err >&5
42840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42841 (exit $ac_status); } && {
42842 test -z "$ac_c_werror_flag" ||
42843 test ! -s conftest.err
42844 } && test -s conftest$ac_exeext &&
42845 $as_test_x conftest$ac_exeext; then
42846 eval "$as_ac_var=yes"
42847 else
42848 echo "$as_me: failed program was:" >&5
42849 sed 's/^/| /' conftest.$ac_ext >&5
42850
42851 eval "$as_ac_var=no"
42852 fi
42853
42854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42855 conftest$ac_exeext conftest.$ac_ext
42856 fi
42857 ac_res=`eval echo '${'$as_ac_var'}'`
42858 { echo "$as_me:$LINENO: result: $ac_res" >&5
42859 echo "${ECHO_T}$ac_res" >&6; }
42860 if test `eval echo '${'$as_ac_var'}'` = yes; then
42861 cat >>confdefs.h <<_ACEOF
42862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42863 _ACEOF
42864 break
42865 fi
42866 done
42867
42868
42869 if test "$ac_cv_func_gettimeofday" = "yes"; then
42870 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42871 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42872 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42873 echo $ECHO_N "(cached) $ECHO_C" >&6
42874 else
42875
42876 cat >conftest.$ac_ext <<_ACEOF
42877 /* confdefs.h. */
42878 _ACEOF
42879 cat confdefs.h >>conftest.$ac_ext
42880 cat >>conftest.$ac_ext <<_ACEOF
42881 /* end confdefs.h. */
42882
42883 #include <sys/time.h>
42884 #include <unistd.h>
42885
42886 int
42887 main ()
42888 {
42889
42890 struct timeval tv;
42891 gettimeofday(&tv, NULL);
42892
42893 ;
42894 return 0;
42895 }
42896 _ACEOF
42897 rm -f conftest.$ac_objext
42898 if { (ac_try="$ac_compile"
42899 case "(($ac_try" in
42900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42901 *) ac_try_echo=$ac_try;;
42902 esac
42903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42904 (eval "$ac_compile") 2>conftest.er1
42905 ac_status=$?
42906 grep -v '^ *+' conftest.er1 >conftest.err
42907 rm -f conftest.er1
42908 cat conftest.err >&5
42909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42910 (exit $ac_status); } && {
42911 test -z "$ac_c_werror_flag" ||
42912 test ! -s conftest.err
42913 } && test -s conftest.$ac_objext; then
42914 wx_cv_func_gettimeofday_has_2_args=yes
42915 else
42916 echo "$as_me: failed program was:" >&5
42917 sed 's/^/| /' conftest.$ac_ext >&5
42918
42919 cat >conftest.$ac_ext <<_ACEOF
42920 /* confdefs.h. */
42921 _ACEOF
42922 cat confdefs.h >>conftest.$ac_ext
42923 cat >>conftest.$ac_ext <<_ACEOF
42924 /* end confdefs.h. */
42925
42926 #include <sys/time.h>
42927 #include <unistd.h>
42928
42929 int
42930 main ()
42931 {
42932
42933 struct timeval tv;
42934 gettimeofday(&tv);
42935
42936 ;
42937 return 0;
42938 }
42939 _ACEOF
42940 rm -f conftest.$ac_objext
42941 if { (ac_try="$ac_compile"
42942 case "(($ac_try" in
42943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42944 *) ac_try_echo=$ac_try;;
42945 esac
42946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42947 (eval "$ac_compile") 2>conftest.er1
42948 ac_status=$?
42949 grep -v '^ *+' conftest.er1 >conftest.err
42950 rm -f conftest.er1
42951 cat conftest.err >&5
42952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42953 (exit $ac_status); } && {
42954 test -z "$ac_c_werror_flag" ||
42955 test ! -s conftest.err
42956 } && test -s conftest.$ac_objext; then
42957 wx_cv_func_gettimeofday_has_2_args=no
42958 else
42959 echo "$as_me: failed program was:" >&5
42960 sed 's/^/| /' conftest.$ac_ext >&5
42961
42962
42963 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42964 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42965 wx_cv_func_gettimeofday_has_2_args=unknown
42966
42967
42968 fi
42969
42970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42971
42972 fi
42973
42974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42975
42976 fi
42977 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42978 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42979
42980 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42981 cat >>confdefs.h <<\_ACEOF
42982 #define WX_GETTIMEOFDAY_NO_TZ 1
42983 _ACEOF
42984
42985 fi
42986 fi
42987
42988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42989 fi
42990
42991
42992 if test "$wxUSE_SOCKETS" = "yes"; then
42993 if test "$wxUSE_MGL" = "1"; then
42994 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42995 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42996 wxUSE_SOCKETS="no"
42997 fi
42998 fi
42999
43000 if test "$wxUSE_SOCKETS" = "yes"; then
43001 if test "$TOOLKIT" != "MSW"; then
43002 { echo "$as_me:$LINENO: checking for socket" >&5
43003 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43004 if test "${ac_cv_func_socket+set}" = set; then
43005 echo $ECHO_N "(cached) $ECHO_C" >&6
43006 else
43007 cat >conftest.$ac_ext <<_ACEOF
43008 /* confdefs.h. */
43009 _ACEOF
43010 cat confdefs.h >>conftest.$ac_ext
43011 cat >>conftest.$ac_ext <<_ACEOF
43012 /* end confdefs.h. */
43013 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43015 #define socket innocuous_socket
43016
43017 /* System header to define __stub macros and hopefully few prototypes,
43018 which can conflict with char socket (); below.
43019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43020 <limits.h> exists even on freestanding compilers. */
43021
43022 #ifdef __STDC__
43023 # include <limits.h>
43024 #else
43025 # include <assert.h>
43026 #endif
43027
43028 #undef socket
43029
43030 /* Override any GCC internal prototype to avoid an error.
43031 Use char because int might match the return type of a GCC
43032 builtin and then its argument prototype would still apply. */
43033 #ifdef __cplusplus
43034 extern "C"
43035 #endif
43036 char socket ();
43037 /* The GNU C library defines this for functions which it implements
43038 to always fail with ENOSYS. Some functions are actually named
43039 something starting with __ and the normal name is an alias. */
43040 #if defined __stub_socket || defined __stub___socket
43041 choke me
43042 #endif
43043
43044 int
43045 main ()
43046 {
43047 return socket ();
43048 ;
43049 return 0;
43050 }
43051 _ACEOF
43052 rm -f conftest.$ac_objext conftest$ac_exeext
43053 if { (ac_try="$ac_link"
43054 case "(($ac_try" in
43055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43056 *) ac_try_echo=$ac_try;;
43057 esac
43058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43059 (eval "$ac_link") 2>conftest.er1
43060 ac_status=$?
43061 grep -v '^ *+' conftest.er1 >conftest.err
43062 rm -f conftest.er1
43063 cat conftest.err >&5
43064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43065 (exit $ac_status); } && {
43066 test -z "$ac_c_werror_flag" ||
43067 test ! -s conftest.err
43068 } && test -s conftest$ac_exeext &&
43069 $as_test_x conftest$ac_exeext; then
43070 ac_cv_func_socket=yes
43071 else
43072 echo "$as_me: failed program was:" >&5
43073 sed 's/^/| /' conftest.$ac_ext >&5
43074
43075 ac_cv_func_socket=no
43076 fi
43077
43078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43079 conftest$ac_exeext conftest.$ac_ext
43080 fi
43081 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43082 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43083 if test $ac_cv_func_socket = yes; then
43084 :
43085 else
43086
43087 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43088 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43089 if test "${ac_cv_lib_socket_socket+set}" = set; then
43090 echo $ECHO_N "(cached) $ECHO_C" >&6
43091 else
43092 ac_check_lib_save_LIBS=$LIBS
43093 LIBS="-lsocket $LIBS"
43094 cat >conftest.$ac_ext <<_ACEOF
43095 /* confdefs.h. */
43096 _ACEOF
43097 cat confdefs.h >>conftest.$ac_ext
43098 cat >>conftest.$ac_ext <<_ACEOF
43099 /* end confdefs.h. */
43100
43101 /* Override any GCC internal prototype to avoid an error.
43102 Use char because int might match the return type of a GCC
43103 builtin and then its argument prototype would still apply. */
43104 #ifdef __cplusplus
43105 extern "C"
43106 #endif
43107 char socket ();
43108 int
43109 main ()
43110 {
43111 return socket ();
43112 ;
43113 return 0;
43114 }
43115 _ACEOF
43116 rm -f conftest.$ac_objext conftest$ac_exeext
43117 if { (ac_try="$ac_link"
43118 case "(($ac_try" in
43119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43120 *) ac_try_echo=$ac_try;;
43121 esac
43122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43123 (eval "$ac_link") 2>conftest.er1
43124 ac_status=$?
43125 grep -v '^ *+' conftest.er1 >conftest.err
43126 rm -f conftest.er1
43127 cat conftest.err >&5
43128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43129 (exit $ac_status); } && {
43130 test -z "$ac_c_werror_flag" ||
43131 test ! -s conftest.err
43132 } && test -s conftest$ac_exeext &&
43133 $as_test_x conftest$ac_exeext; then
43134 ac_cv_lib_socket_socket=yes
43135 else
43136 echo "$as_me: failed program was:" >&5
43137 sed 's/^/| /' conftest.$ac_ext >&5
43138
43139 ac_cv_lib_socket_socket=no
43140 fi
43141
43142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43143 conftest$ac_exeext conftest.$ac_ext
43144 LIBS=$ac_check_lib_save_LIBS
43145 fi
43146 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43147 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43148 if test $ac_cv_lib_socket_socket = yes; then
43149 if test "$INET_LINK" != " -lsocket"; then
43150 INET_LINK="$INET_LINK -lsocket"
43151 fi
43152 else
43153
43154 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43155 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43156 wxUSE_SOCKETS=no
43157
43158
43159 fi
43160
43161
43162
43163 fi
43164
43165 fi
43166 fi
43167
43168 if test "$wxUSE_SOCKETS" = "yes" ; then
43169 if test "$TOOLKIT" != "MSW"; then
43170 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43171 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43172 if test "${wx_cv_type_getsockname3+set}" = set; then
43173 echo $ECHO_N "(cached) $ECHO_C" >&6
43174 else
43175
43176 ac_ext=cpp
43177 ac_cpp='$CXXCPP $CPPFLAGS'
43178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43181
43182 cat >conftest.$ac_ext <<_ACEOF
43183 /* confdefs.h. */
43184 _ACEOF
43185 cat confdefs.h >>conftest.$ac_ext
43186 cat >>conftest.$ac_ext <<_ACEOF
43187 /* end confdefs.h. */
43188
43189 #include <sys/types.h>
43190 #include <sys/socket.h>
43191
43192 int
43193 main ()
43194 {
43195
43196 socklen_t len;
43197 getsockname(0, 0, &len);
43198
43199 ;
43200 return 0;
43201 }
43202 _ACEOF
43203 rm -f conftest.$ac_objext
43204 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
43211 ac_status=$?
43212 grep -v '^ *+' conftest.er1 >conftest.err
43213 rm -f conftest.er1
43214 cat conftest.err >&5
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); } && {
43217 test -z "$ac_cxx_werror_flag" ||
43218 test ! -s conftest.err
43219 } && test -s conftest.$ac_objext; then
43220 wx_cv_type_getsockname3=socklen_t
43221 else
43222 echo "$as_me: failed program was:" >&5
43223 sed 's/^/| /' conftest.$ac_ext >&5
43224
43225
43226 CFLAGS_OLD="$CFLAGS"
43227 if test "$GCC" = yes ; then
43228 CFLAGS="-Werror $CFLAGS"
43229 fi
43230
43231 cat >conftest.$ac_ext <<_ACEOF
43232 /* confdefs.h. */
43233 _ACEOF
43234 cat confdefs.h >>conftest.$ac_ext
43235 cat >>conftest.$ac_ext <<_ACEOF
43236 /* end confdefs.h. */
43237
43238 #include <sys/types.h>
43239 #include <sys/socket.h>
43240
43241 int
43242 main ()
43243 {
43244
43245 size_t len;
43246 getsockname(0, 0, &len);
43247
43248 ;
43249 return 0;
43250 }
43251 _ACEOF
43252 rm -f conftest.$ac_objext
43253 if { (ac_try="$ac_compile"
43254 case "(($ac_try" in
43255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43256 *) ac_try_echo=$ac_try;;
43257 esac
43258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43259 (eval "$ac_compile") 2>conftest.er1
43260 ac_status=$?
43261 grep -v '^ *+' conftest.er1 >conftest.err
43262 rm -f conftest.er1
43263 cat conftest.err >&5
43264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43265 (exit $ac_status); } && {
43266 test -z "$ac_cxx_werror_flag" ||
43267 test ! -s conftest.err
43268 } && test -s conftest.$ac_objext; then
43269 wx_cv_type_getsockname3=size_t
43270 else
43271 echo "$as_me: failed program was:" >&5
43272 sed 's/^/| /' conftest.$ac_ext >&5
43273
43274 cat >conftest.$ac_ext <<_ACEOF
43275 /* confdefs.h. */
43276 _ACEOF
43277 cat confdefs.h >>conftest.$ac_ext
43278 cat >>conftest.$ac_ext <<_ACEOF
43279 /* end confdefs.h. */
43280
43281 #include <sys/types.h>
43282 #include <sys/socket.h>
43283
43284 int
43285 main ()
43286 {
43287
43288 int len;
43289 getsockname(0, 0, &len);
43290
43291 ;
43292 return 0;
43293 }
43294 _ACEOF
43295 rm -f conftest.$ac_objext
43296 if { (ac_try="$ac_compile"
43297 case "(($ac_try" in
43298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43299 *) ac_try_echo=$ac_try;;
43300 esac
43301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43302 (eval "$ac_compile") 2>conftest.er1
43303 ac_status=$?
43304 grep -v '^ *+' conftest.er1 >conftest.err
43305 rm -f conftest.er1
43306 cat conftest.err >&5
43307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43308 (exit $ac_status); } && {
43309 test -z "$ac_cxx_werror_flag" ||
43310 test ! -s conftest.err
43311 } && test -s conftest.$ac_objext; then
43312 wx_cv_type_getsockname3=int
43313 else
43314 echo "$as_me: failed program was:" >&5
43315 sed 's/^/| /' conftest.$ac_ext >&5
43316
43317 wx_cv_type_getsockname3=unknown
43318
43319 fi
43320
43321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43322
43323 fi
43324
43325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43326
43327 CFLAGS="$CFLAGS_OLD"
43328
43329
43330 fi
43331
43332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43333 ac_ext=c
43334 ac_cpp='$CPP $CPPFLAGS'
43335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43338
43339
43340 fi
43341 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43342 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43343
43344 if test "$wx_cv_type_getsockname3" = "unknown"; then
43345 wxUSE_SOCKETS=no
43346 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43347 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43348 else
43349 cat >>confdefs.h <<_ACEOF
43350 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43351 _ACEOF
43352
43353 fi
43354 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43355 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43356 if test "${wx_cv_type_getsockopt5+set}" = set; then
43357 echo $ECHO_N "(cached) $ECHO_C" >&6
43358 else
43359
43360 ac_ext=cpp
43361 ac_cpp='$CXXCPP $CPPFLAGS'
43362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43365
43366 cat >conftest.$ac_ext <<_ACEOF
43367 /* confdefs.h. */
43368 _ACEOF
43369 cat confdefs.h >>conftest.$ac_ext
43370 cat >>conftest.$ac_ext <<_ACEOF
43371 /* end confdefs.h. */
43372
43373 #include <sys/types.h>
43374 #include <sys/socket.h>
43375
43376 int
43377 main ()
43378 {
43379
43380 socklen_t len;
43381 getsockopt(0, 0, 0, 0, &len);
43382
43383 ;
43384 return 0;
43385 }
43386 _ACEOF
43387 rm -f conftest.$ac_objext
43388 if { (ac_try="$ac_compile"
43389 case "(($ac_try" in
43390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43391 *) ac_try_echo=$ac_try;;
43392 esac
43393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43394 (eval "$ac_compile") 2>conftest.er1
43395 ac_status=$?
43396 grep -v '^ *+' conftest.er1 >conftest.err
43397 rm -f conftest.er1
43398 cat conftest.err >&5
43399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43400 (exit $ac_status); } && {
43401 test -z "$ac_cxx_werror_flag" ||
43402 test ! -s conftest.err
43403 } && test -s conftest.$ac_objext; then
43404 wx_cv_type_getsockopt5=socklen_t
43405 else
43406 echo "$as_me: failed program was:" >&5
43407 sed 's/^/| /' conftest.$ac_ext >&5
43408
43409
43410 cat >conftest.$ac_ext <<_ACEOF
43411 /* confdefs.h. */
43412 _ACEOF
43413 cat confdefs.h >>conftest.$ac_ext
43414 cat >>conftest.$ac_ext <<_ACEOF
43415 /* end confdefs.h. */
43416
43417 #include <sys/types.h>
43418 #include <sys/socket.h>
43419
43420 int
43421 main ()
43422 {
43423
43424 size_t len;
43425 getsockopt(0, 0, 0, 0, &len);
43426
43427 ;
43428 return 0;
43429 }
43430 _ACEOF
43431 rm -f conftest.$ac_objext
43432 if { (ac_try="$ac_compile"
43433 case "(($ac_try" in
43434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43435 *) ac_try_echo=$ac_try;;
43436 esac
43437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43438 (eval "$ac_compile") 2>conftest.er1
43439 ac_status=$?
43440 grep -v '^ *+' conftest.er1 >conftest.err
43441 rm -f conftest.er1
43442 cat conftest.err >&5
43443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43444 (exit $ac_status); } && {
43445 test -z "$ac_cxx_werror_flag" ||
43446 test ! -s conftest.err
43447 } && test -s conftest.$ac_objext; then
43448 wx_cv_type_getsockopt5=size_t
43449 else
43450 echo "$as_me: failed program was:" >&5
43451 sed 's/^/| /' conftest.$ac_ext >&5
43452
43453 cat >conftest.$ac_ext <<_ACEOF
43454 /* confdefs.h. */
43455 _ACEOF
43456 cat confdefs.h >>conftest.$ac_ext
43457 cat >>conftest.$ac_ext <<_ACEOF
43458 /* end confdefs.h. */
43459
43460 #include <sys/types.h>
43461 #include <sys/socket.h>
43462
43463 int
43464 main ()
43465 {
43466
43467 int len;
43468 getsockopt(0, 0, 0, 0, &len);
43469
43470 ;
43471 return 0;
43472 }
43473 _ACEOF
43474 rm -f conftest.$ac_objext
43475 if { (ac_try="$ac_compile"
43476 case "(($ac_try" in
43477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43478 *) ac_try_echo=$ac_try;;
43479 esac
43480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43481 (eval "$ac_compile") 2>conftest.er1
43482 ac_status=$?
43483 grep -v '^ *+' conftest.er1 >conftest.err
43484 rm -f conftest.er1
43485 cat conftest.err >&5
43486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43487 (exit $ac_status); } && {
43488 test -z "$ac_cxx_werror_flag" ||
43489 test ! -s conftest.err
43490 } && test -s conftest.$ac_objext; then
43491 wx_cv_type_getsockopt5=int
43492 else
43493 echo "$as_me: failed program was:" >&5
43494 sed 's/^/| /' conftest.$ac_ext >&5
43495
43496 wx_cv_type_getsockopt5=unknown
43497
43498 fi
43499
43500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43501
43502 fi
43503
43504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43505
43506
43507 fi
43508
43509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43510 ac_ext=c
43511 ac_cpp='$CPP $CPPFLAGS'
43512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43515
43516
43517 fi
43518 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43519 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43520
43521 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43522 wxUSE_SOCKETS=no
43523 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43524 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43525 else
43526 cat >>confdefs.h <<_ACEOF
43527 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43528 _ACEOF
43529
43530 fi
43531 fi
43532 fi
43533
43534 if test "$wxUSE_SOCKETS" = "yes" ; then
43535 cat >>confdefs.h <<\_ACEOF
43536 #define wxUSE_SOCKETS 1
43537 _ACEOF
43538
43539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43540 fi
43541
43542 if test "$wxUSE_PROTOCOL" = "yes"; then
43543 if test "$wxUSE_SOCKETS" != "yes"; then
43544 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43545 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43546 wxUSE_PROTOCOL=no
43547 fi
43548 fi
43549
43550 if test "$wxUSE_PROTOCOL" = "yes"; then
43551 cat >>confdefs.h <<\_ACEOF
43552 #define wxUSE_PROTOCOL 1
43553 _ACEOF
43554
43555
43556 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43557 cat >>confdefs.h <<\_ACEOF
43558 #define wxUSE_PROTOCOL_HTTP 1
43559 _ACEOF
43560
43561 fi
43562 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43563 cat >>confdefs.h <<\_ACEOF
43564 #define wxUSE_PROTOCOL_FTP 1
43565 _ACEOF
43566
43567 fi
43568 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43569 cat >>confdefs.h <<\_ACEOF
43570 #define wxUSE_PROTOCOL_FILE 1
43571 _ACEOF
43572
43573 fi
43574 else
43575 if test "$wxUSE_FS_INET" = "yes"; then
43576 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43577 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43578 wxUSE_FS_INET="no"
43579 fi
43580 fi
43581
43582 if test "$wxUSE_URL" = "yes"; then
43583 if test "$wxUSE_PROTOCOL" != "yes"; then
43584 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43585 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43586 wxUSE_URL=no
43587 fi
43588 if test "$wxUSE_URL" = "yes"; then
43589 cat >>confdefs.h <<\_ACEOF
43590 #define wxUSE_URL 1
43591 _ACEOF
43592
43593 fi
43594 fi
43595
43596 if test "$wxUSE_VARIANT" = "yes"; then
43597 cat >>confdefs.h <<\_ACEOF
43598 #define wxUSE_VARIANT 1
43599 _ACEOF
43600
43601 fi
43602
43603 if test "$wxUSE_FS_INET" = "yes"; then
43604 cat >>confdefs.h <<\_ACEOF
43605 #define wxUSE_FS_INET 1
43606 _ACEOF
43607
43608 fi
43609
43610
43611 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43612 wxUSE_JOYSTICK=no
43613
43614 if test "$TOOLKIT" = "MSW"; then
43615 wxUSE_JOYSTICK=yes
43616
43617 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43618 if test "$USE_DARWIN" = 1; then
43619 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43620 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43621 ac_ext=cpp
43622 ac_cpp='$CXXCPP $CPPFLAGS'
43623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43626
43627 cat >conftest.$ac_ext <<_ACEOF
43628 /* confdefs.h. */
43629 _ACEOF
43630 cat confdefs.h >>conftest.$ac_ext
43631 cat >>conftest.$ac_ext <<_ACEOF
43632 /* end confdefs.h. */
43633 #include <IOKit/hid/IOHIDLib.h>
43634 int
43635 main ()
43636 {
43637 IOHIDQueueInterface *qi = NULL;
43638 IOHIDCallbackFunction cb = NULL;
43639 qi->setEventCallout(NULL, cb, NULL, NULL);
43640 ;
43641 return 0;
43642 }
43643 _ACEOF
43644 rm -f conftest.$ac_objext
43645 if { (ac_try="$ac_compile"
43646 case "(($ac_try" in
43647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43648 *) ac_try_echo=$ac_try;;
43649 esac
43650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43651 (eval "$ac_compile") 2>conftest.er1
43652 ac_status=$?
43653 grep -v '^ *+' conftest.er1 >conftest.err
43654 rm -f conftest.er1
43655 cat conftest.err >&5
43656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43657 (exit $ac_status); } && {
43658 test -z "$ac_cxx_werror_flag" ||
43659 test ! -s conftest.err
43660 } && test -s conftest.$ac_objext; then
43661 wxUSE_JOYSTICK=yes
43662
43663 else
43664 echo "$as_me: failed program was:" >&5
43665 sed 's/^/| /' conftest.$ac_ext >&5
43666
43667
43668 fi
43669
43670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43671 ac_ext=c
43672 ac_cpp='$CPP $CPPFLAGS'
43673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43676
43677 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43678 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43679 fi
43680
43681 else
43682 if test "$wxUSE_MGL" != "1"; then
43683 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43684 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43685 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43686 echo $ECHO_N "(cached) $ECHO_C" >&6
43687 else
43688 cat >conftest.$ac_ext <<_ACEOF
43689 /* confdefs.h. */
43690 _ACEOF
43691 cat confdefs.h >>conftest.$ac_ext
43692 cat >>conftest.$ac_ext <<_ACEOF
43693 /* end confdefs.h. */
43694 $ac_includes_default
43695
43696 #include <linux/joystick.h>
43697 _ACEOF
43698 rm -f conftest.$ac_objext
43699 if { (ac_try="$ac_compile"
43700 case "(($ac_try" in
43701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43702 *) ac_try_echo=$ac_try;;
43703 esac
43704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43705 (eval "$ac_compile") 2>conftest.er1
43706 ac_status=$?
43707 grep -v '^ *+' conftest.er1 >conftest.err
43708 rm -f conftest.er1
43709 cat conftest.err >&5
43710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43711 (exit $ac_status); } && {
43712 test -z "$ac_c_werror_flag" ||
43713 test ! -s conftest.err
43714 } && test -s conftest.$ac_objext; then
43715 ac_cv_header_linux_joystick_h=yes
43716 else
43717 echo "$as_me: failed program was:" >&5
43718 sed 's/^/| /' conftest.$ac_ext >&5
43719
43720 ac_cv_header_linux_joystick_h=no
43721 fi
43722
43723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43724 fi
43725 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43726 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43727 if test $ac_cv_header_linux_joystick_h = yes; then
43728 wxUSE_JOYSTICK=yes
43729 fi
43730
43731
43732 fi
43733 fi
43734
43735 if test "$wxUSE_JOYSTICK" = "yes"; then
43736 cat >>confdefs.h <<\_ACEOF
43737 #define wxUSE_JOYSTICK 1
43738 _ACEOF
43739
43740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43741 else
43742 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43743 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43744 fi
43745 fi
43746
43747
43748
43749 if test "$wxUSE_FONTMAP" = "yes" ; then
43750 cat >>confdefs.h <<\_ACEOF
43751 #define wxUSE_FONTMAP 1
43752 _ACEOF
43753
43754 fi
43755
43756 if test "$wxUSE_UNICODE" = "yes" ; then
43757 cat >>confdefs.h <<\_ACEOF
43758 #define wxUSE_UNICODE 1
43759 _ACEOF
43760
43761
43762 if test "$USE_WIN32" != 1; then
43763 wxUSE_UNICODE_MSLU=no
43764 fi
43765
43766 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43767 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43768 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43769 if test "${ac_cv_lib_unicows_main+set}" = set; then
43770 echo $ECHO_N "(cached) $ECHO_C" >&6
43771 else
43772 ac_check_lib_save_LIBS=$LIBS
43773 LIBS="-lunicows $LIBS"
43774 cat >conftest.$ac_ext <<_ACEOF
43775 /* confdefs.h. */
43776 _ACEOF
43777 cat confdefs.h >>conftest.$ac_ext
43778 cat >>conftest.$ac_ext <<_ACEOF
43779 /* end confdefs.h. */
43780
43781
43782 int
43783 main ()
43784 {
43785 return main ();
43786 ;
43787 return 0;
43788 }
43789 _ACEOF
43790 rm -f conftest.$ac_objext conftest$ac_exeext
43791 if { (ac_try="$ac_link"
43792 case "(($ac_try" in
43793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43794 *) ac_try_echo=$ac_try;;
43795 esac
43796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43797 (eval "$ac_link") 2>conftest.er1
43798 ac_status=$?
43799 grep -v '^ *+' conftest.er1 >conftest.err
43800 rm -f conftest.er1
43801 cat conftest.err >&5
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); } && {
43804 test -z "$ac_c_werror_flag" ||
43805 test ! -s conftest.err
43806 } && test -s conftest$ac_exeext &&
43807 $as_test_x conftest$ac_exeext; then
43808 ac_cv_lib_unicows_main=yes
43809 else
43810 echo "$as_me: failed program was:" >&5
43811 sed 's/^/| /' conftest.$ac_ext >&5
43812
43813 ac_cv_lib_unicows_main=no
43814 fi
43815
43816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43817 conftest$ac_exeext conftest.$ac_ext
43818 LIBS=$ac_check_lib_save_LIBS
43819 fi
43820 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43821 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43822 if test $ac_cv_lib_unicows_main = yes; then
43823
43824 cat >>confdefs.h <<\_ACEOF
43825 #define wxUSE_UNICODE_MSLU 1
43826 _ACEOF
43827
43828
43829 else
43830
43831 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43832 Applications will only run on Windows NT/2000/XP!" >&5
43833 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43834 Applications will only run on Windows NT/2000/XP!" >&2;}
43835 wxUSE_UNICODE_MSLU=no
43836
43837 fi
43838
43839 fi
43840 fi
43841
43842 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43843 cat >>confdefs.h <<\_ACEOF
43844 #define wxUSE_UNICODE_UTF8 1
43845 _ACEOF
43846
43847
43848 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43849 cat >>confdefs.h <<\_ACEOF
43850 #define wxUSE_UTF8_LOCALE_ONLY 1
43851 _ACEOF
43852
43853 fi
43854 fi
43855
43856 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43857 cat >>confdefs.h <<\_ACEOF
43858 #define wxUSE_EXPERIMENTAL_PRINTF 1
43859 _ACEOF
43860
43861 fi
43862
43863
43864 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43865 cat >>confdefs.h <<\_ACEOF
43866 #define wxUSE_POSTSCRIPT 1
43867 _ACEOF
43868
43869 fi
43870
43871 cat >>confdefs.h <<\_ACEOF
43872 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43873 _ACEOF
43874
43875
43876 cat >>confdefs.h <<\_ACEOF
43877 #define wxUSE_NORMALIZED_PS_FONTS 1
43878 _ACEOF
43879
43880
43881
43882 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43883 cat >>confdefs.h <<\_ACEOF
43884 #define wxUSE_CONSTRAINTS 1
43885 _ACEOF
43886
43887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43888 fi
43889
43890 if test "$wxUSE_MDI" = "yes"; then
43891 cat >>confdefs.h <<\_ACEOF
43892 #define wxUSE_MDI 1
43893 _ACEOF
43894
43895
43896 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43897 cat >>confdefs.h <<\_ACEOF
43898 #define wxUSE_MDI_ARCHITECTURE 1
43899 _ACEOF
43900
43901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43902 fi
43903 fi
43904
43905 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43906 cat >>confdefs.h <<\_ACEOF
43907 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43908 _ACEOF
43909
43910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43911 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43913 fi
43914 fi
43915
43916 if test "$wxUSE_HELP" = "yes"; then
43917 cat >>confdefs.h <<\_ACEOF
43918 #define wxUSE_HELP 1
43919 _ACEOF
43920
43921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43922
43923 if test "$wxUSE_MSW" = 1; then
43924 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43925 cat >>confdefs.h <<\_ACEOF
43926 #define wxUSE_MS_HTML_HELP 1
43927 _ACEOF
43928
43929 fi
43930 fi
43931
43932 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43933 if test "$wxUSE_HTML" = "yes"; then
43934 cat >>confdefs.h <<\_ACEOF
43935 #define wxUSE_WXHTML_HELP 1
43936 _ACEOF
43937
43938 else
43939 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43940 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43941 wxUSE_WXHTML_HELP=no
43942 fi
43943 fi
43944 fi
43945
43946 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43947 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43948 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43949 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43950 else
43951 cat >>confdefs.h <<\_ACEOF
43952 #define wxUSE_PRINTING_ARCHITECTURE 1
43953 _ACEOF
43954
43955 fi
43956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43957 fi
43958
43959
43960
43961 if test "$wxUSE_METAFILE" = "yes"; then
43962 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43963 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43964 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43965 wxUSE_METAFILE=no
43966 fi
43967 fi
43968
43969
43970 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43971 -o "$wxUSE_CLIPBOARD" = "yes" \
43972 -o "$wxUSE_OLE" = "yes" \
43973 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43974 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43975 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43976 if test "${ac_cv_header_ole2_h+set}" = set; then
43977 echo $ECHO_N "(cached) $ECHO_C" >&6
43978 else
43979 cat >conftest.$ac_ext <<_ACEOF
43980 /* confdefs.h. */
43981 _ACEOF
43982 cat confdefs.h >>conftest.$ac_ext
43983 cat >>conftest.$ac_ext <<_ACEOF
43984 /* end confdefs.h. */
43985
43986
43987 #include <ole2.h>
43988 _ACEOF
43989 rm -f conftest.$ac_objext
43990 if { (ac_try="$ac_compile"
43991 case "(($ac_try" in
43992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43993 *) ac_try_echo=$ac_try;;
43994 esac
43995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43996 (eval "$ac_compile") 2>conftest.er1
43997 ac_status=$?
43998 grep -v '^ *+' conftest.er1 >conftest.err
43999 rm -f conftest.er1
44000 cat conftest.err >&5
44001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44002 (exit $ac_status); } && {
44003 test -z "$ac_c_werror_flag" ||
44004 test ! -s conftest.err
44005 } && test -s conftest.$ac_objext; then
44006 ac_cv_header_ole2_h=yes
44007 else
44008 echo "$as_me: failed program was:" >&5
44009 sed 's/^/| /' conftest.$ac_ext >&5
44010
44011 ac_cv_header_ole2_h=no
44012 fi
44013
44014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44015 fi
44016 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44017 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44018
44019
44020
44021 if test "$ac_cv_header_ole2_h" = "yes" ; then
44022 if test "$GCC" = yes ; then
44023 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44024 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44025 cat >conftest.$ac_ext <<_ACEOF
44026 /* confdefs.h. */
44027 _ACEOF
44028 cat confdefs.h >>conftest.$ac_ext
44029 cat >>conftest.$ac_ext <<_ACEOF
44030 /* end confdefs.h. */
44031 #include <windows.h>
44032 #include <ole2.h>
44033 int
44034 main ()
44035 {
44036
44037 ;
44038 return 0;
44039 }
44040 _ACEOF
44041 rm -f conftest.$ac_objext
44042 if { (ac_try="$ac_compile"
44043 case "(($ac_try" in
44044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44045 *) ac_try_echo=$ac_try;;
44046 esac
44047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44048 (eval "$ac_compile") 2>conftest.er1
44049 ac_status=$?
44050 grep -v '^ *+' conftest.er1 >conftest.err
44051 rm -f conftest.er1
44052 cat conftest.err >&5
44053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44054 (exit $ac_status); } && {
44055 test -z "$ac_c_werror_flag" ||
44056 test ! -s conftest.err
44057 } && test -s conftest.$ac_objext; then
44058 { echo "$as_me:$LINENO: result: no" >&5
44059 echo "${ECHO_T}no" >&6; }
44060 else
44061 echo "$as_me: failed program was:" >&5
44062 sed 's/^/| /' conftest.$ac_ext >&5
44063
44064 { echo "$as_me:$LINENO: result: yes" >&5
44065 echo "${ECHO_T}yes" >&6; }
44066 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44067 fi
44068
44069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44070 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44071 if test "$wxUSE_OLE" = "yes" ; then
44072 cat >>confdefs.h <<\_ACEOF
44073 #define wxUSE_OLE 1
44074 _ACEOF
44075
44076 cat >>confdefs.h <<\_ACEOF
44077 #define wxUSE_OLE_AUTOMATION 1
44078 _ACEOF
44079
44080 cat >>confdefs.h <<\_ACEOF
44081 #define wxUSE_ACTIVEX 1
44082 _ACEOF
44083
44084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44085 fi
44086 fi
44087
44088 if test "$wxUSE_DATAOBJ" = "yes" ; then
44089 cat >>confdefs.h <<\_ACEOF
44090 #define wxUSE_DATAOBJ 1
44091 _ACEOF
44092
44093 fi
44094 else
44095 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44096 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44097
44098 wxUSE_CLIPBOARD=no
44099 wxUSE_DRAG_AND_DROP=no
44100 wxUSE_DATAOBJ=no
44101 wxUSE_OLE=no
44102 fi
44103
44104 if test "$wxUSE_METAFILE" = "yes"; then
44105 cat >>confdefs.h <<\_ACEOF
44106 #define wxUSE_METAFILE 1
44107 _ACEOF
44108
44109
44110 cat >>confdefs.h <<\_ACEOF
44111 #define wxUSE_ENH_METAFILE 1
44112 _ACEOF
44113
44114 fi
44115 fi
44116
44117 if test "$wxUSE_IPC" = "yes"; then
44118 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44119 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44120 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44121 wxUSE_IPC=no
44122 fi
44123
44124 if test "$wxUSE_IPC" = "yes"; then
44125 cat >>confdefs.h <<\_ACEOF
44126 #define wxUSE_IPC 1
44127 _ACEOF
44128
44129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44130 fi
44131 fi
44132
44133 if test "$wxUSE_DATAOBJ" = "yes"; then
44134 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44135 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44136 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44137 wxUSE_DATAOBJ=no
44138 else
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_DATAOBJ 1
44141 _ACEOF
44142
44143 fi
44144 else
44145 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44146 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44147 wxUSE_CLIPBOARD=no
44148 wxUSE_DRAG_AND_DROP=no
44149 fi
44150
44151 if test "$wxUSE_CLIPBOARD" = "yes"; then
44152 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44153 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44154 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44155 wxUSE_CLIPBOARD=no
44156 fi
44157
44158 if test "$wxUSE_CLIPBOARD" = "yes"; then
44159 cat >>confdefs.h <<\_ACEOF
44160 #define wxUSE_CLIPBOARD 1
44161 _ACEOF
44162
44163 fi
44164 fi
44165
44166 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44167 if test "$wxUSE_GTK" = 1; then
44168 if test "$WXGTK12" != 1; then
44169 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44170 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44171 wxUSE_DRAG_AND_DROP=no
44172 fi
44173 fi
44174
44175 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44176 "$wxUSE_DFB" = 1; then
44177 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44178 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44179 wxUSE_DRAG_AND_DROP=no
44180 fi
44181
44182 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define wxUSE_DRAG_AND_DROP 1
44185 _ACEOF
44186
44187 fi
44188
44189 fi
44190
44191 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44193 fi
44194
44195 if test "$wxUSE_SPLINES" = "yes" ; then
44196 cat >>confdefs.h <<\_ACEOF
44197 #define wxUSE_SPLINES 1
44198 _ACEOF
44199
44200 fi
44201
44202 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44203 cat >>confdefs.h <<\_ACEOF
44204 #define wxUSE_MOUSEWHEEL 1
44205 _ACEOF
44206
44207 fi
44208
44209
44210 USES_CONTROLS=0
44211 if test "$wxUSE_CONTROLS" = "yes"; then
44212 USES_CONTROLS=1
44213 fi
44214
44215 if test "$wxUSE_ACCEL" = "yes"; then
44216 cat >>confdefs.h <<\_ACEOF
44217 #define wxUSE_ACCEL 1
44218 _ACEOF
44219
44220 USES_CONTROLS=1
44221 fi
44222
44223 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44224 cat >>confdefs.h <<\_ACEOF
44225 #define wxUSE_ANIMATIONCTRL 1
44226 _ACEOF
44227
44228 USES_CONTROLS=1
44229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44230 fi
44231
44232 if test "$wxUSE_BUTTON" = "yes"; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define wxUSE_BUTTON 1
44235 _ACEOF
44236
44237 USES_CONTROLS=1
44238 fi
44239
44240 if test "$wxUSE_BMPBUTTON" = "yes"; then
44241 cat >>confdefs.h <<\_ACEOF
44242 #define wxUSE_BMPBUTTON 1
44243 _ACEOF
44244
44245 USES_CONTROLS=1
44246 fi
44247
44248 if test "$wxUSE_CALCTRL" = "yes"; then
44249 cat >>confdefs.h <<\_ACEOF
44250 #define wxUSE_CALENDARCTRL 1
44251 _ACEOF
44252
44253 USES_CONTROLS=1
44254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44255 fi
44256
44257 if test "$wxUSE_CARET" = "yes"; then
44258 cat >>confdefs.h <<\_ACEOF
44259 #define wxUSE_CARET 1
44260 _ACEOF
44261
44262 USES_CONTROLS=1
44263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44264 fi
44265
44266 if test "$wxUSE_COLLPANE" = "yes"; then
44267 cat >>confdefs.h <<\_ACEOF
44268 #define wxUSE_COLLPANE 1
44269 _ACEOF
44270
44271 USES_CONTROLS=1
44272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44273 fi
44274
44275 if test "$wxUSE_COMBOBOX" = "yes"; then
44276 cat >>confdefs.h <<\_ACEOF
44277 #define wxUSE_COMBOBOX 1
44278 _ACEOF
44279
44280 USES_CONTROLS=1
44281 fi
44282
44283 if test "$wxUSE_COMBOCTRL" = "yes"; then
44284 cat >>confdefs.h <<\_ACEOF
44285 #define wxUSE_COMBOCTRL 1
44286 _ACEOF
44287
44288 USES_CONTROLS=1
44289 fi
44290
44291 if test "$wxUSE_CHOICE" = "yes"; then
44292 cat >>confdefs.h <<\_ACEOF
44293 #define wxUSE_CHOICE 1
44294 _ACEOF
44295
44296 USES_CONTROLS=1
44297 fi
44298
44299 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44300 cat >>confdefs.h <<\_ACEOF
44301 #define wxUSE_CHOICEBOOK 1
44302 _ACEOF
44303
44304 USES_CONTROLS=1
44305 fi
44306
44307 if test "$wxUSE_CHECKBOX" = "yes"; then
44308 cat >>confdefs.h <<\_ACEOF
44309 #define wxUSE_CHECKBOX 1
44310 _ACEOF
44311
44312 USES_CONTROLS=1
44313 fi
44314
44315 if test "$wxUSE_CHECKLST" = "yes"; then
44316 cat >>confdefs.h <<\_ACEOF
44317 #define wxUSE_CHECKLISTBOX 1
44318 _ACEOF
44319
44320 USES_CONTROLS=1
44321 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44322 fi
44323
44324 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44325 cat >>confdefs.h <<\_ACEOF
44326 #define wxUSE_COLOURPICKERCTRL 1
44327 _ACEOF
44328
44329 USES_CONTROLS=1
44330 fi
44331
44332 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44333 cat >>confdefs.h <<\_ACEOF
44334 #define wxUSE_DATEPICKCTRL 1
44335 _ACEOF
44336
44337 USES_CONTROLS=1
44338 fi
44339
44340 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44341 cat >>confdefs.h <<\_ACEOF
44342 #define wxUSE_DIRPICKERCTRL 1
44343 _ACEOF
44344
44345 USES_CONTROLS=1
44346 fi
44347
44348 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44349 cat >>confdefs.h <<\_ACEOF
44350 #define wxUSE_FILEPICKERCTRL 1
44351 _ACEOF
44352
44353 USES_CONTROLS=1
44354 fi
44355
44356 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44357 cat >>confdefs.h <<\_ACEOF
44358 #define wxUSE_FONTPICKERCTRL 1
44359 _ACEOF
44360
44361 USES_CONTROLS=1
44362 fi
44363
44364 if test "$wxUSE_DISPLAY" = "yes"; then
44365 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44366 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44367 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44368 wxUSE_DISPLAY=no
44369 else
44370 cat >>confdefs.h <<\_ACEOF
44371 #define wxUSE_DISPLAY 1
44372 _ACEOF
44373
44374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44375 fi
44376 fi
44377
44378 if test "$wxUSE_DETECT_SM" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_DETECT_SM 1
44381 _ACEOF
44382
44383 fi
44384
44385 if test "$wxUSE_GAUGE" = "yes"; then
44386 cat >>confdefs.h <<\_ACEOF
44387 #define wxUSE_GAUGE 1
44388 _ACEOF
44389
44390 USES_CONTROLS=1
44391 fi
44392
44393 if test "$wxUSE_GRID" = "yes"; then
44394 cat >>confdefs.h <<\_ACEOF
44395 #define wxUSE_GRID 1
44396 _ACEOF
44397
44398 USES_CONTROLS=1
44399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44400 fi
44401
44402 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44403 cat >>confdefs.h <<\_ACEOF
44404 #define wxUSE_HYPERLINKCTRL 1
44405 _ACEOF
44406
44407 USES_CONTROLS=1
44408 fi
44409
44410 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44411 cat >>confdefs.h <<\_ACEOF
44412 #define wxUSE_BITMAPCOMBOBOX 1
44413 _ACEOF
44414
44415 USES_CONTROLS=1
44416 fi
44417
44418 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44419 cat >>confdefs.h <<\_ACEOF
44420 #define wxUSE_DATAVIEWCTRL 1
44421 _ACEOF
44422
44423 USES_CONTROLS=1
44424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44425 fi
44426
44427 if test "$wxUSE_IMAGLIST" = "yes"; then
44428 cat >>confdefs.h <<\_ACEOF
44429 #define wxUSE_IMAGLIST 1
44430 _ACEOF
44431
44432 fi
44433
44434 if test "$wxUSE_LISTBOOK" = "yes"; then
44435 cat >>confdefs.h <<\_ACEOF
44436 #define wxUSE_LISTBOOK 1
44437 _ACEOF
44438
44439 USES_CONTROLS=1
44440 fi
44441
44442 if test "$wxUSE_LISTBOX" = "yes"; then
44443 cat >>confdefs.h <<\_ACEOF
44444 #define wxUSE_LISTBOX 1
44445 _ACEOF
44446
44447 USES_CONTROLS=1
44448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44449 fi
44450
44451 if test "$wxUSE_LISTCTRL" = "yes"; then
44452 if test "$wxUSE_IMAGLIST" = "yes"; then
44453 cat >>confdefs.h <<\_ACEOF
44454 #define wxUSE_LISTCTRL 1
44455 _ACEOF
44456
44457 USES_CONTROLS=1
44458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44459 else
44460 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44461 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44462 fi
44463 fi
44464
44465 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44466 cat >>confdefs.h <<\_ACEOF
44467 #define wxUSE_EDITABLELISTBOX 1
44468 _ACEOF
44469
44470 USES_CONTROLS=1
44471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44472 fi
44473
44474 if test "$wxUSE_NOTEBOOK" = "yes"; then
44475 cat >>confdefs.h <<\_ACEOF
44476 #define wxUSE_NOTEBOOK 1
44477 _ACEOF
44478
44479 USES_CONTROLS=1
44480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44481 fi
44482
44483 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44484 cat >>confdefs.h <<\_ACEOF
44485 #define wxUSE_ODCOMBOBOX 1
44486 _ACEOF
44487
44488 USES_CONTROLS=1
44489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44490 fi
44491
44492
44493 if test "$wxUSE_RADIOBOX" = "yes"; then
44494 cat >>confdefs.h <<\_ACEOF
44495 #define wxUSE_RADIOBOX 1
44496 _ACEOF
44497
44498 USES_CONTROLS=1
44499 fi
44500
44501 if test "$wxUSE_RADIOBTN" = "yes"; then
44502 cat >>confdefs.h <<\_ACEOF
44503 #define wxUSE_RADIOBTN 1
44504 _ACEOF
44505
44506 USES_CONTROLS=1
44507 fi
44508
44509 if test "$wxUSE_SASH" = "yes"; then
44510 cat >>confdefs.h <<\_ACEOF
44511 #define wxUSE_SASH 1
44512 _ACEOF
44513
44514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44515 fi
44516
44517 if test "$wxUSE_SCROLLBAR" = "yes"; then
44518 cat >>confdefs.h <<\_ACEOF
44519 #define wxUSE_SCROLLBAR 1
44520 _ACEOF
44521
44522 USES_CONTROLS=1
44523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44524 fi
44525
44526 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44527 cat >>confdefs.h <<\_ACEOF
44528 #define wxUSE_SEARCHCTRL 1
44529 _ACEOF
44530
44531 USES_CONTROLS=1
44532 fi
44533
44534 if test "$wxUSE_SLIDER" = "yes"; then
44535 cat >>confdefs.h <<\_ACEOF
44536 #define wxUSE_SLIDER 1
44537 _ACEOF
44538
44539 USES_CONTROLS=1
44540 fi
44541
44542 if test "$wxUSE_SPINBTN" = "yes"; then
44543 cat >>confdefs.h <<\_ACEOF
44544 #define wxUSE_SPINBTN 1
44545 _ACEOF
44546
44547 USES_CONTROLS=1
44548 fi
44549
44550 if test "$wxUSE_SPINCTRL" = "yes"; then
44551 cat >>confdefs.h <<\_ACEOF
44552 #define wxUSE_SPINCTRL 1
44553 _ACEOF
44554
44555 USES_CONTROLS=1
44556 fi
44557
44558 if test "$wxUSE_SPLITTER" = "yes"; then
44559 cat >>confdefs.h <<\_ACEOF
44560 #define wxUSE_SPLITTER 1
44561 _ACEOF
44562
44563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44564 fi
44565
44566 if test "$wxUSE_STATBMP" = "yes"; then
44567 cat >>confdefs.h <<\_ACEOF
44568 #define wxUSE_STATBMP 1
44569 _ACEOF
44570
44571 USES_CONTROLS=1
44572 fi
44573
44574 if test "$wxUSE_STATBOX" = "yes"; then
44575 cat >>confdefs.h <<\_ACEOF
44576 #define wxUSE_STATBOX 1
44577 _ACEOF
44578
44579 USES_CONTROLS=1
44580 fi
44581
44582 if test "$wxUSE_STATTEXT" = "yes"; then
44583 cat >>confdefs.h <<\_ACEOF
44584 #define wxUSE_STATTEXT 1
44585 _ACEOF
44586
44587 USES_CONTROLS=1
44588 fi
44589
44590 if test "$wxUSE_STATLINE" = "yes"; then
44591 cat >>confdefs.h <<\_ACEOF
44592 #define wxUSE_STATLINE 1
44593 _ACEOF
44594
44595 USES_CONTROLS=1
44596 fi
44597
44598 if test "$wxUSE_STATUSBAR" = "yes"; then
44599 cat >>confdefs.h <<\_ACEOF
44600 #define wxUSE_NATIVE_STATUSBAR 1
44601 _ACEOF
44602
44603 cat >>confdefs.h <<\_ACEOF
44604 #define wxUSE_STATUSBAR 1
44605 _ACEOF
44606
44607 USES_CONTROLS=1
44608
44609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44610 fi
44611
44612 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44613 cat >>confdefs.h <<\_ACEOF
44614 #define wxUSE_TAB_DIALOG 1
44615 _ACEOF
44616
44617 fi
44618
44619 if test "$wxUSE_TEXTCTRL" = "yes"; then
44620 cat >>confdefs.h <<\_ACEOF
44621 #define wxUSE_TEXTCTRL 1
44622 _ACEOF
44623
44624 USES_CONTROLS=1
44625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44626 fi
44627
44628 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44629 if test "$wxUSE_COCOA" = 1 ; then
44630 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44631 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44632 wxUSE_TOGGLEBTN=no
44633 fi
44634
44635 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44636 cat >>confdefs.h <<\_ACEOF
44637 #define wxUSE_TOGGLEBTN 1
44638 _ACEOF
44639
44640 USES_CONTROLS=1
44641 fi
44642 fi
44643
44644 if test "$wxUSE_TOOLBAR" = "yes"; then
44645 cat >>confdefs.h <<\_ACEOF
44646 #define wxUSE_TOOLBAR 1
44647 _ACEOF
44648
44649 USES_CONTROLS=1
44650
44651 if test "$wxUSE_UNIVERSAL" = "yes"; then
44652 wxUSE_TOOLBAR_NATIVE="no"
44653 else
44654 wxUSE_TOOLBAR_NATIVE="yes"
44655 cat >>confdefs.h <<\_ACEOF
44656 #define wxUSE_TOOLBAR_NATIVE 1
44657 _ACEOF
44658
44659 fi
44660
44661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44662 fi
44663
44664 if test "$wxUSE_TOOLTIPS" = "yes"; then
44665 if test "$wxUSE_MOTIF" = 1; then
44666 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44667 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44668 else
44669 if test "$wxUSE_UNIVERSAL" = "yes"; then
44670 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44671 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44672 else
44673 cat >>confdefs.h <<\_ACEOF
44674 #define wxUSE_TOOLTIPS 1
44675 _ACEOF
44676
44677 fi
44678 fi
44679 fi
44680
44681 if test "$wxUSE_TREEBOOK" = "yes"; then
44682 cat >>confdefs.h <<\_ACEOF
44683 #define wxUSE_TREEBOOK 1
44684 _ACEOF
44685
44686 USES_CONTROLS=1
44687 fi
44688
44689 if test "$wxUSE_TOOLBOOK" = "yes"; then
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_TOOLBOOK 1
44692 _ACEOF
44693
44694 USES_CONTROLS=1
44695 fi
44696
44697 if test "$wxUSE_TREECTRL" = "yes"; then
44698 if test "$wxUSE_IMAGLIST" = "yes"; then
44699 cat >>confdefs.h <<\_ACEOF
44700 #define wxUSE_TREECTRL 1
44701 _ACEOF
44702
44703 USES_CONTROLS=1
44704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44705 else
44706 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44707 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44708 fi
44709 fi
44710
44711 if test "$wxUSE_POPUPWIN" = "yes"; then
44712 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44713 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44714 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44715 else
44716 if test "$wxUSE_PM" = 1; then
44717 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44718 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44719 else
44720 cat >>confdefs.h <<\_ACEOF
44721 #define wxUSE_POPUPWIN 1
44722 _ACEOF
44723
44724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44725
44726 USES_CONTROLS=1
44727 fi
44728 fi
44729 fi
44730
44731 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44732 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44733 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44734 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44735 else
44736 cat >>confdefs.h <<\_ACEOF
44737 #define wxUSE_DIALUP_MANAGER 1
44738 _ACEOF
44739
44740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44741 fi
44742 fi
44743
44744 if test "$wxUSE_TIPWINDOW" = "yes"; then
44745 if test "$wxUSE_PM" = 1; then
44746 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44747 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44748 else
44749 cat >>confdefs.h <<\_ACEOF
44750 #define wxUSE_TIPWINDOW 1
44751 _ACEOF
44752
44753 fi
44754 fi
44755
44756 if test "$USES_CONTROLS" = 1; then
44757 cat >>confdefs.h <<\_ACEOF
44758 #define wxUSE_CONTROLS 1
44759 _ACEOF
44760
44761 fi
44762
44763
44764 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44765 cat >>confdefs.h <<\_ACEOF
44766 #define wxUSE_ACCESSIBILITY 1
44767 _ACEOF
44768
44769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44770 fi
44771
44772 if test "$wxUSE_DC_CACHEING" = "yes"; then
44773 cat >>confdefs.h <<\_ACEOF
44774 #define wxUSE_DC_CACHEING 1
44775 _ACEOF
44776
44777 fi
44778
44779 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44780 cat >>confdefs.h <<\_ACEOF
44781 #define wxUSE_DRAGIMAGE 1
44782 _ACEOF
44783
44784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44785 fi
44786
44787 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44788 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44789 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44790 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44791 else
44792 cat >>confdefs.h <<\_ACEOF
44793 #define wxUSE_EXCEPTIONS 1
44794 _ACEOF
44795
44796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44797 fi
44798 fi
44799
44800 USE_HTML=0
44801 if test "$wxUSE_HTML" = "yes"; then
44802 cat >>confdefs.h <<\_ACEOF
44803 #define wxUSE_HTML 1
44804 _ACEOF
44805
44806 USE_HTML=1
44807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44808 if test "$wxUSE_MAC" = 1; then
44809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44810 fi
44811 fi
44812 if test "$wxUSE_WEBKIT" = "yes"; then
44813 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44814 old_CPPFLAGS="$CPPFLAGS"
44815 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44816 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44817 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44818 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44819 echo $ECHO_N "(cached) $ECHO_C" >&6
44820 else
44821 cat >conftest.$ac_ext <<_ACEOF
44822 /* confdefs.h. */
44823 _ACEOF
44824 cat confdefs.h >>conftest.$ac_ext
44825 cat >>conftest.$ac_ext <<_ACEOF
44826 /* end confdefs.h. */
44827
44828 #include <Carbon/Carbon.h>
44829 #include <WebKit/WebKit.h>
44830
44831
44832 #include <WebKit/HIWebView.h>
44833 _ACEOF
44834 rm -f conftest.$ac_objext
44835 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
44842 ac_status=$?
44843 grep -v '^ *+' conftest.er1 >conftest.err
44844 rm -f conftest.er1
44845 cat conftest.err >&5
44846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44847 (exit $ac_status); } && {
44848 test -z "$ac_c_werror_flag" ||
44849 test ! -s conftest.err
44850 } && test -s conftest.$ac_objext; then
44851 ac_cv_header_WebKit_HIWebView_h=yes
44852 else
44853 echo "$as_me: failed program was:" >&5
44854 sed 's/^/| /' conftest.$ac_ext >&5
44855
44856 ac_cv_header_WebKit_HIWebView_h=no
44857 fi
44858
44859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44860 fi
44861 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44862 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44863 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44864
44865 cat >>confdefs.h <<\_ACEOF
44866 #define wxUSE_WEBKIT 1
44867 _ACEOF
44868
44869 WEBKIT_LINK="-framework WebKit"
44870
44871 else
44872
44873 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44874 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44875 wxUSE_WEBKIT=no
44876
44877 fi
44878
44879
44880 CPPFLAGS="$old_CPPFLAGS"
44881 elif test "$wxUSE_COCOA" = 1; then
44882 cat >>confdefs.h <<\_ACEOF
44883 #define wxUSE_WEBKIT 1
44884 _ACEOF
44885
44886 else
44887 wxUSE_WEBKIT=no
44888 fi
44889 fi
44890
44891 USE_XRC=0
44892 if test "$wxUSE_XRC" = "yes"; then
44893 if test "$wxUSE_XML" != "yes"; then
44894 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44895 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44896 wxUSE_XRC=no
44897 else
44898 cat >>confdefs.h <<\_ACEOF
44899 #define wxUSE_XRC 1
44900 _ACEOF
44901
44902 USE_XRC=1
44903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44904 fi
44905 fi
44906
44907 USE_AUI=0
44908 if test "$wxUSE_AUI" = "yes"; then
44909 cat >>confdefs.h <<\_ACEOF
44910 #define wxUSE_AUI 1
44911 _ACEOF
44912
44913 USE_AUI=1
44914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44915 fi
44916
44917 USE_STC=0
44918 if test "$wxUSE_STC" = "yes"; then
44919 cat >>confdefs.h <<\_ACEOF
44920 #define wxUSE_STC 1
44921 _ACEOF
44922
44923 USE_STC=1
44924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44925 fi
44926
44927 if test "$wxUSE_MENUS" = "yes"; then
44928 cat >>confdefs.h <<\_ACEOF
44929 #define wxUSE_MENUS 1
44930 _ACEOF
44931
44932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44933 fi
44934
44935 if test "$wxUSE_METAFILE" = "yes"; then
44936 cat >>confdefs.h <<\_ACEOF
44937 #define wxUSE_METAFILE 1
44938 _ACEOF
44939
44940 fi
44941
44942 if test "$wxUSE_MIMETYPE" = "yes"; then
44943 cat >>confdefs.h <<\_ACEOF
44944 #define wxUSE_MIMETYPE 1
44945 _ACEOF
44946
44947 fi
44948
44949 if test "$wxUSE_MINIFRAME" = "yes"; then
44950 cat >>confdefs.h <<\_ACEOF
44951 #define wxUSE_MINIFRAME 1
44952 _ACEOF
44953
44954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44955 fi
44956
44957 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44958 cat >>confdefs.h <<\_ACEOF
44959 #define wxUSE_SYSTEM_OPTIONS 1
44960 _ACEOF
44961
44962 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44963 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44965 fi
44966 fi
44967
44968
44969 if test "$wxUSE_VALIDATORS" = "yes"; then
44970 cat >>confdefs.h <<\_ACEOF
44971 #define wxUSE_VALIDATORS 1
44972 _ACEOF
44973
44974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44975 fi
44976
44977 if test "$wxUSE_PALETTE" = "yes" ; then
44978 if test "$wxUSE_DFB" = 1; then
44979 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44980 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44981 wxUSE_PALETTE=no
44982 else
44983 cat >>confdefs.h <<\_ACEOF
44984 #define wxUSE_PALETTE 1
44985 _ACEOF
44986
44987 fi
44988 fi
44989
44990 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44991 LIBS=" -lunicows $LIBS"
44992 fi
44993
44994 USE_RICHTEXT=0
44995 if test "$wxUSE_RICHTEXT" = "yes"; then
44996 cat >>confdefs.h <<\_ACEOF
44997 #define wxUSE_RICHTEXT 1
44998 _ACEOF
44999
45000 USE_RICHTEXT=1
45001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45002 fi
45003
45004
45005 if test "$wxUSE_IMAGE" = "yes" ; then
45006 cat >>confdefs.h <<\_ACEOF
45007 #define wxUSE_IMAGE 1
45008 _ACEOF
45009
45010
45011 if test "$wxUSE_GIF" = "yes" ; then
45012 cat >>confdefs.h <<\_ACEOF
45013 #define wxUSE_GIF 1
45014 _ACEOF
45015
45016 fi
45017
45018 if test "$wxUSE_PCX" = "yes" ; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_PCX 1
45021 _ACEOF
45022
45023 fi
45024
45025 if test "$wxUSE_TGA" = "yes" ; then
45026 cat >>confdefs.h <<\_ACEOF
45027 #define wxUSE_TGA 1
45028 _ACEOF
45029
45030 fi
45031
45032 if test "$wxUSE_IFF" = "yes" ; then
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_IFF 1
45035 _ACEOF
45036
45037 fi
45038
45039 if test "$wxUSE_PNM" = "yes" ; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_PNM 1
45042 _ACEOF
45043
45044 fi
45045
45046 if test "$wxUSE_XPM" = "yes" ; then
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_XPM 1
45049 _ACEOF
45050
45051 fi
45052
45053 if test "$wxUSE_ICO_CUR" = "yes" ; then
45054 cat >>confdefs.h <<\_ACEOF
45055 #define wxUSE_ICO_CUR 1
45056 _ACEOF
45057
45058 fi
45059 fi
45060
45061
45062 if test "$wxUSE_ABOUTDLG" = "yes"; then
45063 cat >>confdefs.h <<\_ACEOF
45064 #define wxUSE_ABOUTDLG 1
45065 _ACEOF
45066
45067 fi
45068
45069 if test "$wxUSE_CHOICEDLG" = "yes"; then
45070 cat >>confdefs.h <<\_ACEOF
45071 #define wxUSE_CHOICEDLG 1
45072 _ACEOF
45073
45074 fi
45075
45076 if test "$wxUSE_COLOURDLG" = "yes"; then
45077 cat >>confdefs.h <<\_ACEOF
45078 #define wxUSE_COLOURDLG 1
45079 _ACEOF
45080
45081 fi
45082
45083 if test "$wxUSE_FILEDLG" = "yes"; then
45084 cat >>confdefs.h <<\_ACEOF
45085 #define wxUSE_FILEDLG 1
45086 _ACEOF
45087
45088 fi
45089
45090 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45091 cat >>confdefs.h <<\_ACEOF
45092 #define wxUSE_FINDREPLDLG 1
45093 _ACEOF
45094
45095 fi
45096
45097 if test "$wxUSE_FONTDLG" = "yes"; then
45098 cat >>confdefs.h <<\_ACEOF
45099 #define wxUSE_FONTDLG 1
45100 _ACEOF
45101
45102 fi
45103
45104 if test "$wxUSE_DIRDLG" = "yes"; then
45105 if test "$wxUSE_TREECTRL" != "yes"; then
45106 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45107 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45108 else
45109 cat >>confdefs.h <<\_ACEOF
45110 #define wxUSE_DIRDLG 1
45111 _ACEOF
45112
45113 fi
45114 fi
45115
45116 if test "$wxUSE_MSGDLG" = "yes"; then
45117 cat >>confdefs.h <<\_ACEOF
45118 #define wxUSE_MSGDLG 1
45119 _ACEOF
45120
45121 fi
45122
45123 if test "$wxUSE_NUMBERDLG" = "yes"; then
45124 cat >>confdefs.h <<\_ACEOF
45125 #define wxUSE_NUMBERDLG 1
45126 _ACEOF
45127
45128 fi
45129
45130 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45131 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45132 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45133 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45134 else
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_PROGRESSDLG 1
45137 _ACEOF
45138
45139 fi
45140 fi
45141
45142 if test "$wxUSE_SPLASH" = "yes"; then
45143 cat >>confdefs.h <<\_ACEOF
45144 #define wxUSE_SPLASH 1
45145 _ACEOF
45146
45147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45148 fi
45149
45150 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45151 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45152 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45153 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45154 else
45155 cat >>confdefs.h <<\_ACEOF
45156 #define wxUSE_STARTUP_TIPS 1
45157 _ACEOF
45158
45159 fi
45160 fi
45161
45162 if test "$wxUSE_TEXTDLG" = "yes"; then
45163 cat >>confdefs.h <<\_ACEOF
45164 #define wxUSE_TEXTDLG 1
45165 _ACEOF
45166
45167 fi
45168
45169 if test "$wxUSE_WIZARDDLG" = "yes"; then
45170 cat >>confdefs.h <<\_ACEOF
45171 #define wxUSE_WIZARDDLG 1
45172 _ACEOF
45173
45174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45175 fi
45176
45177
45178 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45179 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45180 cat >>confdefs.h <<\_ACEOF
45181 #define wxUSE_GRAPHICS_CONTEXT 1
45182 _ACEOF
45183
45184 elif test "$wxUSE_GTK" != 1; then
45185 cat >>confdefs.h <<\_ACEOF
45186 #define wxUSE_GRAPHICS_CONTEXT 1
45187 _ACEOF
45188
45189 else
45190
45191 pkg_failed=no
45192 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45193 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45194
45195 if test -n "$PKG_CONFIG"; then
45196 if test -n "$CAIRO_CFLAGS"; then
45197 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45198 else
45199 if test -n "$PKG_CONFIG" && \
45200 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45201 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45202 ac_status=$?
45203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45204 (exit $ac_status); }; then
45205 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45206 else
45207 pkg_failed=yes
45208 fi
45209 fi
45210 else
45211 pkg_failed=untried
45212 fi
45213 if test -n "$PKG_CONFIG"; then
45214 if test -n "$CAIRO_LIBS"; then
45215 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45216 else
45217 if test -n "$PKG_CONFIG" && \
45218 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45219 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45220 ac_status=$?
45221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45222 (exit $ac_status); }; then
45223 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45224 else
45225 pkg_failed=yes
45226 fi
45227 fi
45228 else
45229 pkg_failed=untried
45230 fi
45231
45232
45233
45234 if test $pkg_failed = yes; then
45235
45236 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45237 _pkg_short_errors_supported=yes
45238 else
45239 _pkg_short_errors_supported=no
45240 fi
45241 if test $_pkg_short_errors_supported = yes; then
45242 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45243 else
45244 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45245 fi
45246 # Put the nasty error message in config.log where it belongs
45247 echo "$CAIRO_PKG_ERRORS" >&5
45248
45249 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45250 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45251
45252 elif test $pkg_failed = untried; then
45253 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45254 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45255
45256 else
45257 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45258 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45259 { echo "$as_me:$LINENO: result: yes" >&5
45260 echo "${ECHO_T}yes" >&6; }
45261 cat >>confdefs.h <<\_ACEOF
45262 #define wxUSE_GRAPHICS_CONTEXT 1
45263 _ACEOF
45264
45265 fi
45266 fi
45267 fi
45268
45269
45270 USE_MEDIA=0
45271
45272 if test "$wxUSE_MEDIACTRL" = "yes"; then
45273 USE_MEDIA=1
45274
45275 if test "$wxUSE_GTK" = 1; then
45276 wxUSE_GSTREAMER="no"
45277
45278 GST_VERSION_MAJOR=0
45279 GST_VERSION_MINOR=10
45280 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45281
45282 if test "$wxUSE_GSTREAMER8" = "no"; then
45283
45284 pkg_failed=no
45285 { echo "$as_me:$LINENO: checking for GST" >&5
45286 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45287
45288 if test -n "$PKG_CONFIG"; then
45289 if test -n "$GST_CFLAGS"; then
45290 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45291 else
45292 if test -n "$PKG_CONFIG" && \
45293 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45294 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45295 ac_status=$?
45296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45297 (exit $ac_status); }; then
45298 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45299 else
45300 pkg_failed=yes
45301 fi
45302 fi
45303 else
45304 pkg_failed=untried
45305 fi
45306 if test -n "$PKG_CONFIG"; then
45307 if test -n "$GST_LIBS"; then
45308 pkg_cv_GST_LIBS="$GST_LIBS"
45309 else
45310 if test -n "$PKG_CONFIG" && \
45311 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45312 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45313 ac_status=$?
45314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45315 (exit $ac_status); }; then
45316 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45317 else
45318 pkg_failed=yes
45319 fi
45320 fi
45321 else
45322 pkg_failed=untried
45323 fi
45324
45325
45326
45327 if test $pkg_failed = yes; then
45328
45329 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45330 _pkg_short_errors_supported=yes
45331 else
45332 _pkg_short_errors_supported=no
45333 fi
45334 if test $_pkg_short_errors_supported = yes; then
45335 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45336 else
45337 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45338 fi
45339 # Put the nasty error message in config.log where it belongs
45340 echo "$GST_PKG_ERRORS" >&5
45341
45342
45343 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45344 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45345 GST_VERSION_MINOR=8
45346
45347
45348 elif test $pkg_failed = untried; then
45349
45350 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45351 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45352 GST_VERSION_MINOR=8
45353
45354
45355 else
45356 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45357 GST_LIBS=$pkg_cv_GST_LIBS
45358 { echo "$as_me:$LINENO: result: yes" >&5
45359 echo "${ECHO_T}yes" >&6; }
45360
45361 wxUSE_GSTREAMER="yes"
45362 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45363
45364 fi
45365 else
45366 GST_VERSION_MINOR=8
45367 fi
45368
45369 if test $GST_VERSION_MINOR = "8"; then
45370 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45371
45372 pkg_failed=no
45373 { echo "$as_me:$LINENO: checking for GST" >&5
45374 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45375
45376 if test -n "$PKG_CONFIG"; then
45377 if test -n "$GST_CFLAGS"; then
45378 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45379 else
45380 if test -n "$PKG_CONFIG" && \
45381 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45382 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45383 ac_status=$?
45384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45385 (exit $ac_status); }; then
45386 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45387 else
45388 pkg_failed=yes
45389 fi
45390 fi
45391 else
45392 pkg_failed=untried
45393 fi
45394 if test -n "$PKG_CONFIG"; then
45395 if test -n "$GST_LIBS"; then
45396 pkg_cv_GST_LIBS="$GST_LIBS"
45397 else
45398 if test -n "$PKG_CONFIG" && \
45399 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45400 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45401 ac_status=$?
45402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45403 (exit $ac_status); }; then
45404 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45405 else
45406 pkg_failed=yes
45407 fi
45408 fi
45409 else
45410 pkg_failed=untried
45411 fi
45412
45413
45414
45415 if test $pkg_failed = yes; then
45416
45417 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45418 _pkg_short_errors_supported=yes
45419 else
45420 _pkg_short_errors_supported=no
45421 fi
45422 if test $_pkg_short_errors_supported = yes; then
45423 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45424 else
45425 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45426 fi
45427 # Put the nasty error message in config.log where it belongs
45428 echo "$GST_PKG_ERRORS" >&5
45429
45430
45431 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45432 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45433
45434 elif test $pkg_failed = untried; then
45435
45436 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45437 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45438
45439 else
45440 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45441 GST_LIBS=$pkg_cv_GST_LIBS
45442 { echo "$as_me:$LINENO: result: yes" >&5
45443 echo "${ECHO_T}yes" >&6; }
45444 wxUSE_GSTREAMER="yes"
45445 fi
45446 fi
45447
45448
45449 if test "$wxUSE_GSTREAMER" = "yes"; then
45450 case "${host}" in
45451 *-*-solaris2* )
45452 if "$GCC" = yes; then
45453 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45454 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45455 fi
45456 esac
45457
45458 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45459 LIBS="$GST_LIBS $LIBS"
45460
45461 cat >>confdefs.h <<\_ACEOF
45462 #define wxUSE_GSTREAMER 1
45463 _ACEOF
45464
45465 else
45466 USE_MEDIA=0
45467 fi
45468 fi
45469
45470 if test $USE_MEDIA = 1; then
45471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45472 cat >>confdefs.h <<\_ACEOF
45473 #define wxUSE_MEDIACTRL 1
45474 _ACEOF
45475
45476 fi
45477 fi
45478
45479
45480 if test "$cross_compiling" = "yes"; then
45481 OSINFO="\"$host\""
45482 else
45483 OSINFO=`uname -s -r -m`
45484 OSINFO="\"$OSINFO\""
45485 fi
45486
45487 cat >>confdefs.h <<_ACEOF
45488 #define WXWIN_OS_DESCRIPTION $OSINFO
45489 _ACEOF
45490
45491
45492
45493 if test "x$prefix" != "xNONE"; then
45494 wxPREFIX=$prefix
45495 else
45496 wxPREFIX=$ac_default_prefix
45497 fi
45498
45499 cat >>confdefs.h <<_ACEOF
45500 #define wxINSTALL_PREFIX "$wxPREFIX"
45501 _ACEOF
45502
45503
45504
45505
45506 CORE_BASE_LIBS="net base"
45507 CORE_GUI_LIBS="adv core"
45508
45509 if test "$wxUSE_XML" = "yes" ; then
45510 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45511 fi
45512 if test "$wxUSE_ODBC" != "no" ; then
45513 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45514 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45515 fi
45516 if test "$wxUSE_HTML" = "yes" ; then
45517 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45518 fi
45519 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45520 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45521 fi
45522 if test "$wxUSE_XRC" = "yes" ; then
45523 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45524 fi
45525 if test "$wxUSE_AUI" = "yes" ; then
45526 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45527 fi
45528 if test "$wxUSE_STC" = "yes" ; then
45529 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45530 fi
45531
45532 if test "$wxUSE_GUI" != "yes"; then
45533 CORE_GUI_LIBS=""
45534 fi
45535
45536
45537
45538
45539
45540
45541 if test "$wxUSE_MAC" = 1 ; then
45542 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45543 if test "$USE_DARWIN" = 1; then
45544 LDFLAGS="$LDFLAGS -framework QuickTime"
45545 else
45546 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45547 fi
45548 fi
45549 if test "$USE_DARWIN" = 1; then
45550 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45551 else
45552 LDFLAGS="$LDFLAGS -lCarbonLib"
45553 fi
45554 fi
45555 if test "$wxUSE_COCOA" = 1 ; then
45556 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45557 if test "$wxUSE_MEDIACTRL" = "yes"; then
45558 LDFLAGS="$LDFLAGS -framework QuickTime"
45559 fi
45560 fi
45561 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45562 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45563 fi
45564
45565 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45566
45567 if test "$wxUSE_GUI" = "yes"; then
45568
45569
45570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45571 dynamic erase event exec font image minimal mobile \
45572 mobile/wxedit mobile/styles propsize render \
45573 rotate shaped svg taborder vscroll widgets"
45574
45575 if test "$wxUSE_MONOLITHIC" != "yes"; then
45576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45577 fi
45578 if test "$TOOLKIT" = "MSW"; then
45579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45580 if test "$wxUSE_UNIVERSAL" != "yes"; then
45581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45582 fi
45583 fi
45584 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45586 fi
45587 else
45588 SAMPLES_SUBDIRS="console"
45589 fi
45590
45591
45592 if test "x$INTELCC" = "xyes" ; then
45593 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45594 elif test "$GCC" = yes ; then
45595 CWARNINGS="-Wall -Wundef"
45596 fi
45597
45598 if test "x$INTELCXX" = "xyes" ; then
45599 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45600 elif test "$GXX" = yes ; then
45601 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45602 fi
45603
45604
45605 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45606 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45607
45608
45609 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45610 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45611 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45612 $CPPFLAGS `
45613
45614 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45615 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45616 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45617
45618 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45619
45620
45621 if test "x$MWCC" = "xyes"; then
45622
45623 CC="$CC -cwd source -I-"
45624 CXX="$CXX -cwd source -I-"
45625 fi
45626
45627
45628 LIBS=`echo $LIBS`
45629 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45630 EXTRALIBS_XML="$EXPAT_LINK"
45631 EXTRALIBS_HTML="$MSPACK_LINK"
45632 EXTRALIBS_ODBC="$ODBC_LINK"
45633 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45634 if test "$wxUSE_GUI" = "yes"; then
45635 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45636 fi
45637 if test "$wxUSE_OPENGL" = "yes"; then
45638 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45639 fi
45640
45641 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45642
45643 WXCONFIG_LIBS="$LIBS"
45644
45645 if test "$wxUSE_REGEX" = "builtin" ; then
45646 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45647 fi
45648 if test "$wxUSE_EXPAT" = "builtin" ; then
45649 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45650 fi
45651 if test "$wxUSE_ODBC" = "builtin" ; then
45652 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45653 fi
45654 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45655 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45656 fi
45657 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45658 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45659 fi
45660 if test "$wxUSE_LIBPNG" = "builtin" ; then
45661 wxconfig_3rdparty="png $wxconfig_3rdparty"
45662 fi
45663 if test "$wxUSE_ZLIB" = "builtin" ; then
45664 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45665 fi
45666
45667 for i in $wxconfig_3rdparty ; do
45668 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45669 done
45670
45671
45672 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45673 WXUNIV=1
45674
45675 case "$wxUNIV_THEMES" in
45676 ''|all)
45677 cat >>confdefs.h <<\_ACEOF
45678 #define wxUSE_ALL_THEMES 1
45679 _ACEOF
45680
45681 ;;
45682
45683 *)
45684 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45685 cat >>confdefs.h <<_ACEOF
45686 #define wxUSE_THEME_$t 1
45687 _ACEOF
45688
45689 done
45690 esac
45691 else
45692 WXUNIV=0
45693 fi
45694
45695
45696
45697
45698
45699
45700
45701
45702
45703 if test $wxUSE_MONOLITHIC = "yes" ; then
45704 MONOLITHIC=1
45705 else
45706 MONOLITHIC=0
45707 fi
45708
45709 if test $wxUSE_PLUGINS = "yes" ; then
45710 USE_PLUGINS=1
45711 else
45712 USE_PLUGINS=0
45713 fi
45714
45715 if test $wxUSE_ODBC != "no" ; then
45716 USE_ODBC=1
45717 else
45718 USE_ODBC=0
45719 fi
45720
45721 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45722 USE_QA=1
45723 else
45724 USE_QA=0
45725 fi
45726
45727 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45728 OFFICIAL_BUILD=1
45729 else
45730 OFFICIAL_BUILD=0
45731 fi
45732
45733
45734
45735
45736
45737
45738
45739
45740
45741
45742
45743
45744
45745
45746
45747
45748
45749
45750
45751
45752
45753
45754
45755
45756
45757
45758 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45759
45760
45761
45762
45763
45764
45765
45766
45767 case "$TOOLKIT" in
45768 GTK)
45769 TOOLKIT_DESC="GTK+"
45770 if test "$WXGTK20" = 1; then
45771 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45772 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45773 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45774 fi
45775 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45776 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45777 fi
45778 if test "$wxUSE_LIBHILDON" = "yes"; then
45779 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45780 fi
45781
45782 if test "$TOOLKIT_EXTRA" != ""; then
45783 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45784 fi
45785 fi
45786 ;;
45787
45788 ?*)
45789 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45790 ;;
45791
45792 *)
45793 TOOLKIT_DESC="base only"
45794 ;;
45795 esac
45796
45797 if test "$wxUSE_WINE" = "yes"; then
45798 BAKEFILE_FORCE_PLATFORM=win32
45799 fi
45800
45801 if test "$wxUSE_MAC" = 1 ; then
45802 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45803 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45804 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45805 else
45806 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45807 fi
45808 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45809 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45810 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45811 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45812 bk_use_pch=no
45813 fi
45814 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45815 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45816 fi
45817
45818 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45819 then
45820 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45821 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45822 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45823 echo $ECHO_N "(cached) $ECHO_C" >&6
45824 else
45825
45826 echo '#include <stdio.h>
45827 const wchar_t test_var[] = L"awidetest";' > conftest.h
45828
45829 echo '#include "conftest.h"
45830 int main()
45831 {
45832 printf("%ls", test_var);
45833 return 0;
45834 }' > conftest.cpp
45835
45836 wx_cv_gcc_pch_bug="pch not supported"
45837
45838 if $CXX conftest.h >/dev/null 2>&1
45839 then
45840 wx_cv_gcc_pch_bug=
45841
45842 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45843 then
45844 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45845 grep awidetest >/dev/null
45846 then
45847 wx_cv_gcc_pch_bug=no
45848 else
45849 wx_cv_gcc_pch_bug=yes
45850 fi
45851 fi
45852 fi
45853
45854 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45855
45856 fi
45857 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45858 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45859
45860 if test "$wx_cv_gcc_pch_bug" = yes; then
45861 bk_use_pch=no
45862 fi
45863 fi
45864
45865
45866
45867
45868 if test "x$BAKEFILE_HOST" = "x"; then
45869 if test "x${host}" = "x" ; then
45870 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45871 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45872 { (exit 1); exit 1; }; }
45873 fi
45874
45875 BAKEFILE_HOST="${host}"
45876 fi
45877
45878 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45879
45880 if test -n "$ac_tool_prefix"; then
45881 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45882 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45885 if test "${ac_cv_prog_RANLIB+set}" = set; then
45886 echo $ECHO_N "(cached) $ECHO_C" >&6
45887 else
45888 if test -n "$RANLIB"; then
45889 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45890 else
45891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45892 for as_dir in $PATH
45893 do
45894 IFS=$as_save_IFS
45895 test -z "$as_dir" && as_dir=.
45896 for ac_exec_ext in '' $ac_executable_extensions; do
45897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45898 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45900 break 2
45901 fi
45902 done
45903 done
45904 IFS=$as_save_IFS
45905
45906 fi
45907 fi
45908 RANLIB=$ac_cv_prog_RANLIB
45909 if test -n "$RANLIB"; then
45910 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45911 echo "${ECHO_T}$RANLIB" >&6; }
45912 else
45913 { echo "$as_me:$LINENO: result: no" >&5
45914 echo "${ECHO_T}no" >&6; }
45915 fi
45916
45917
45918 fi
45919 if test -z "$ac_cv_prog_RANLIB"; then
45920 ac_ct_RANLIB=$RANLIB
45921 # Extract the first word of "ranlib", so it can be a program name with args.
45922 set dummy ranlib; ac_word=$2
45923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45925 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45926 echo $ECHO_N "(cached) $ECHO_C" >&6
45927 else
45928 if test -n "$ac_ct_RANLIB"; then
45929 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45930 else
45931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45932 for as_dir in $PATH
45933 do
45934 IFS=$as_save_IFS
45935 test -z "$as_dir" && as_dir=.
45936 for ac_exec_ext in '' $ac_executable_extensions; do
45937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45938 ac_cv_prog_ac_ct_RANLIB="ranlib"
45939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45940 break 2
45941 fi
45942 done
45943 done
45944 IFS=$as_save_IFS
45945
45946 fi
45947 fi
45948 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45949 if test -n "$ac_ct_RANLIB"; then
45950 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45951 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45952 else
45953 { echo "$as_me:$LINENO: result: no" >&5
45954 echo "${ECHO_T}no" >&6; }
45955 fi
45956
45957 if test "x$ac_ct_RANLIB" = x; then
45958 RANLIB=":"
45959 else
45960 case $cross_compiling:$ac_tool_warned in
45961 yes:)
45962 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45963 whose name does not start with the host triplet. If you think this
45964 configuration is useful to you, please write to autoconf@gnu.org." >&5
45965 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45966 whose name does not start with the host triplet. If you think this
45967 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45968 ac_tool_warned=yes ;;
45969 esac
45970 RANLIB=$ac_ct_RANLIB
45971 fi
45972 else
45973 RANLIB="$ac_cv_prog_RANLIB"
45974 fi
45975
45976 # Find a good install program. We prefer a C program (faster),
45977 # so one script is as good as another. But avoid the broken or
45978 # incompatible versions:
45979 # SysV /etc/install, /usr/sbin/install
45980 # SunOS /usr/etc/install
45981 # IRIX /sbin/install
45982 # AIX /bin/install
45983 # AmigaOS /C/install, which installs bootblocks on floppy discs
45984 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45985 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45986 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45987 # OS/2's system install, which has a completely different semantic
45988 # ./install, which can be erroneously created by make from ./install.sh.
45989 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45990 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45991 if test -z "$INSTALL"; then
45992 if test "${ac_cv_path_install+set}" = set; then
45993 echo $ECHO_N "(cached) $ECHO_C" >&6
45994 else
45995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45996 for as_dir in $PATH
45997 do
45998 IFS=$as_save_IFS
45999 test -z "$as_dir" && as_dir=.
46000 # Account for people who put trailing slashes in PATH elements.
46001 case $as_dir/ in
46002 ./ | .// | /cC/* | \
46003 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46004 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46005 /usr/ucb/* ) ;;
46006 *)
46007 # OSF1 and SCO ODT 3.0 have their own names for install.
46008 # Don't use installbsd from OSF since it installs stuff as root
46009 # by default.
46010 for ac_prog in ginstall scoinst install; do
46011 for ac_exec_ext in '' $ac_executable_extensions; do
46012 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46013 if test $ac_prog = install &&
46014 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46015 # AIX install. It has an incompatible calling convention.
46016 :
46017 elif test $ac_prog = install &&
46018 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46019 # program-specific install script used by HP pwplus--don't use.
46020 :
46021 else
46022 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46023 break 3
46024 fi
46025 fi
46026 done
46027 done
46028 ;;
46029 esac
46030 done
46031 IFS=$as_save_IFS
46032
46033
46034 fi
46035 if test "${ac_cv_path_install+set}" = set; then
46036 INSTALL=$ac_cv_path_install
46037 else
46038 # As a last resort, use the slow shell script. Don't cache a
46039 # value for INSTALL within a source directory, because that will
46040 # break other packages using the cache if that directory is
46041 # removed, or if the value is a relative name.
46042 INSTALL=$ac_install_sh
46043 fi
46044 fi
46045 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46046 echo "${ECHO_T}$INSTALL" >&6; }
46047
46048 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46049 # It thinks the first close brace ends the variable substitution.
46050 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46051
46052 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46053
46054 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46055
46056 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46057 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46058 LN_S=$as_ln_s
46059 if test "$LN_S" = "ln -s"; then
46060 { echo "$as_me:$LINENO: result: yes" >&5
46061 echo "${ECHO_T}yes" >&6; }
46062 else
46063 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46064 echo "${ECHO_T}no, using $LN_S" >&6; }
46065 fi
46066
46067
46068 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46069 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46070 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46071 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46072 echo $ECHO_N "(cached) $ECHO_C" >&6
46073 else
46074 cat >conftest.make <<\_ACEOF
46075 SHELL = /bin/sh
46076 all:
46077 @echo '@@@%%%=$(MAKE)=@@@%%%'
46078 _ACEOF
46079 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46080 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46081 *@@@%%%=?*=@@@%%%*)
46082 eval ac_cv_prog_make_${ac_make}_set=yes;;
46083 *)
46084 eval ac_cv_prog_make_${ac_make}_set=no;;
46085 esac
46086 rm -f conftest.make
46087 fi
46088 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46089 { echo "$as_me:$LINENO: result: yes" >&5
46090 echo "${ECHO_T}yes" >&6; }
46091 SET_MAKE=
46092 else
46093 { echo "$as_me:$LINENO: result: no" >&5
46094 echo "${ECHO_T}no" >&6; }
46095 SET_MAKE="MAKE=${MAKE-make}"
46096 fi
46097
46098
46099
46100 if test "x$SUNCXX" = "xyes"; then
46101 AR=$CXX
46102 AROPTIONS="-xar -o"
46103
46104 elif test "x$SGICC" = "xyes"; then
46105 AR=$CXX
46106 AROPTIONS="-ar -o"
46107
46108 else
46109 if test -n "$ac_tool_prefix"; then
46110 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46111 set dummy ${ac_tool_prefix}ar; ac_word=$2
46112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46114 if test "${ac_cv_prog_AR+set}" = set; then
46115 echo $ECHO_N "(cached) $ECHO_C" >&6
46116 else
46117 if test -n "$AR"; then
46118 ac_cv_prog_AR="$AR" # Let the user override the test.
46119 else
46120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46121 for as_dir in $PATH
46122 do
46123 IFS=$as_save_IFS
46124 test -z "$as_dir" && as_dir=.
46125 for ac_exec_ext in '' $ac_executable_extensions; do
46126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46127 ac_cv_prog_AR="${ac_tool_prefix}ar"
46128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46129 break 2
46130 fi
46131 done
46132 done
46133 IFS=$as_save_IFS
46134
46135 fi
46136 fi
46137 AR=$ac_cv_prog_AR
46138 if test -n "$AR"; then
46139 { echo "$as_me:$LINENO: result: $AR" >&5
46140 echo "${ECHO_T}$AR" >&6; }
46141 else
46142 { echo "$as_me:$LINENO: result: no" >&5
46143 echo "${ECHO_T}no" >&6; }
46144 fi
46145
46146
46147 fi
46148 if test -z "$ac_cv_prog_AR"; then
46149 ac_ct_AR=$AR
46150 # Extract the first word of "ar", so it can be a program name with args.
46151 set dummy ar; ac_word=$2
46152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46154 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46155 echo $ECHO_N "(cached) $ECHO_C" >&6
46156 else
46157 if test -n "$ac_ct_AR"; then
46158 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46159 else
46160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46161 for as_dir in $PATH
46162 do
46163 IFS=$as_save_IFS
46164 test -z "$as_dir" && as_dir=.
46165 for ac_exec_ext in '' $ac_executable_extensions; do
46166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46167 ac_cv_prog_ac_ct_AR="ar"
46168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46169 break 2
46170 fi
46171 done
46172 done
46173 IFS=$as_save_IFS
46174
46175 fi
46176 fi
46177 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46178 if test -n "$ac_ct_AR"; then
46179 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46180 echo "${ECHO_T}$ac_ct_AR" >&6; }
46181 else
46182 { echo "$as_me:$LINENO: result: no" >&5
46183 echo "${ECHO_T}no" >&6; }
46184 fi
46185
46186 if test "x$ac_ct_AR" = x; then
46187 AR="ar"
46188 else
46189 case $cross_compiling:$ac_tool_warned in
46190 yes:)
46191 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46192 whose name does not start with the host triplet. If you think this
46193 configuration is useful to you, please write to autoconf@gnu.org." >&5
46194 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46195 whose name does not start with the host triplet. If you think this
46196 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46197 ac_tool_warned=yes ;;
46198 esac
46199 AR=$ac_ct_AR
46200 fi
46201 else
46202 AR="$ac_cv_prog_AR"
46203 fi
46204
46205 AROPTIONS=rcu
46206 fi
46207
46208
46209 if test -n "$ac_tool_prefix"; then
46210 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46211 set dummy ${ac_tool_prefix}strip; ac_word=$2
46212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46214 if test "${ac_cv_prog_STRIP+set}" = set; then
46215 echo $ECHO_N "(cached) $ECHO_C" >&6
46216 else
46217 if test -n "$STRIP"; then
46218 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46219 else
46220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46221 for as_dir in $PATH
46222 do
46223 IFS=$as_save_IFS
46224 test -z "$as_dir" && as_dir=.
46225 for ac_exec_ext in '' $ac_executable_extensions; do
46226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46227 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46229 break 2
46230 fi
46231 done
46232 done
46233 IFS=$as_save_IFS
46234
46235 fi
46236 fi
46237 STRIP=$ac_cv_prog_STRIP
46238 if test -n "$STRIP"; then
46239 { echo "$as_me:$LINENO: result: $STRIP" >&5
46240 echo "${ECHO_T}$STRIP" >&6; }
46241 else
46242 { echo "$as_me:$LINENO: result: no" >&5
46243 echo "${ECHO_T}no" >&6; }
46244 fi
46245
46246
46247 fi
46248 if test -z "$ac_cv_prog_STRIP"; then
46249 ac_ct_STRIP=$STRIP
46250 # Extract the first word of "strip", so it can be a program name with args.
46251 set dummy strip; ac_word=$2
46252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46254 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46255 echo $ECHO_N "(cached) $ECHO_C" >&6
46256 else
46257 if test -n "$ac_ct_STRIP"; then
46258 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46259 else
46260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46261 for as_dir in $PATH
46262 do
46263 IFS=$as_save_IFS
46264 test -z "$as_dir" && as_dir=.
46265 for ac_exec_ext in '' $ac_executable_extensions; do
46266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46267 ac_cv_prog_ac_ct_STRIP="strip"
46268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46269 break 2
46270 fi
46271 done
46272 done
46273 IFS=$as_save_IFS
46274
46275 fi
46276 fi
46277 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46278 if test -n "$ac_ct_STRIP"; then
46279 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46280 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46281 else
46282 { echo "$as_me:$LINENO: result: no" >&5
46283 echo "${ECHO_T}no" >&6; }
46284 fi
46285
46286 if test "x$ac_ct_STRIP" = x; then
46287 STRIP=":"
46288 else
46289 case $cross_compiling:$ac_tool_warned in
46290 yes:)
46291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46292 whose name does not start with the host triplet. If you think this
46293 configuration is useful to you, please write to autoconf@gnu.org." >&5
46294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46295 whose name does not start with the host triplet. If you think this
46296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46297 ac_tool_warned=yes ;;
46298 esac
46299 STRIP=$ac_ct_STRIP
46300 fi
46301 else
46302 STRIP="$ac_cv_prog_STRIP"
46303 fi
46304
46305 if test -n "$ac_tool_prefix"; then
46306 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46307 set dummy ${ac_tool_prefix}nm; ac_word=$2
46308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46310 if test "${ac_cv_prog_NM+set}" = set; then
46311 echo $ECHO_N "(cached) $ECHO_C" >&6
46312 else
46313 if test -n "$NM"; then
46314 ac_cv_prog_NM="$NM" # Let the user override the test.
46315 else
46316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46317 for as_dir in $PATH
46318 do
46319 IFS=$as_save_IFS
46320 test -z "$as_dir" && as_dir=.
46321 for ac_exec_ext in '' $ac_executable_extensions; do
46322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46323 ac_cv_prog_NM="${ac_tool_prefix}nm"
46324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46325 break 2
46326 fi
46327 done
46328 done
46329 IFS=$as_save_IFS
46330
46331 fi
46332 fi
46333 NM=$ac_cv_prog_NM
46334 if test -n "$NM"; then
46335 { echo "$as_me:$LINENO: result: $NM" >&5
46336 echo "${ECHO_T}$NM" >&6; }
46337 else
46338 { echo "$as_me:$LINENO: result: no" >&5
46339 echo "${ECHO_T}no" >&6; }
46340 fi
46341
46342
46343 fi
46344 if test -z "$ac_cv_prog_NM"; then
46345 ac_ct_NM=$NM
46346 # Extract the first word of "nm", so it can be a program name with args.
46347 set dummy nm; ac_word=$2
46348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46350 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46351 echo $ECHO_N "(cached) $ECHO_C" >&6
46352 else
46353 if test -n "$ac_ct_NM"; then
46354 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46355 else
46356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46357 for as_dir in $PATH
46358 do
46359 IFS=$as_save_IFS
46360 test -z "$as_dir" && as_dir=.
46361 for ac_exec_ext in '' $ac_executable_extensions; do
46362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46363 ac_cv_prog_ac_ct_NM="nm"
46364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46365 break 2
46366 fi
46367 done
46368 done
46369 IFS=$as_save_IFS
46370
46371 fi
46372 fi
46373 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46374 if test -n "$ac_ct_NM"; then
46375 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46376 echo "${ECHO_T}$ac_ct_NM" >&6; }
46377 else
46378 { echo "$as_me:$LINENO: result: no" >&5
46379 echo "${ECHO_T}no" >&6; }
46380 fi
46381
46382 if test "x$ac_ct_NM" = x; then
46383 NM=":"
46384 else
46385 case $cross_compiling:$ac_tool_warned in
46386 yes:)
46387 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46388 whose name does not start with the host triplet. If you think this
46389 configuration is useful to you, please write to autoconf@gnu.org." >&5
46390 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46391 whose name does not start with the host triplet. If you think this
46392 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46393 ac_tool_warned=yes ;;
46394 esac
46395 NM=$ac_ct_NM
46396 fi
46397 else
46398 NM="$ac_cv_prog_NM"
46399 fi
46400
46401
46402 case ${BAKEFILE_HOST} in
46403 *-hp-hpux* )
46404 INSTALL_DIR="mkdir -p"
46405 ;;
46406 * )
46407 INSTALL_DIR='$(INSTALL) -d'
46408 ;;
46409 esac
46410
46411
46412 LDFLAGS_GUI=
46413 case ${BAKEFILE_HOST} in
46414 *-*-cygwin* | *-*-mingw32* )
46415 LDFLAGS_GUI="-mwindows"
46416 esac
46417
46418
46419 fi
46420
46421 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46422 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46423 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46424 echo $ECHO_N "(cached) $ECHO_C" >&6
46425 else
46426
46427 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46428 egrep -s GNU > /dev/null); then
46429 bakefile_cv_prog_makeisgnu="yes"
46430 else
46431 bakefile_cv_prog_makeisgnu="no"
46432 fi
46433
46434 fi
46435 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46436 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46437
46438 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46439 IF_GNU_MAKE=""
46440 else
46441 IF_GNU_MAKE="#"
46442 fi
46443
46444
46445
46446 PLATFORM_UNIX=0
46447 PLATFORM_WIN32=0
46448 PLATFORM_MSDOS=0
46449 PLATFORM_MAC=0
46450 PLATFORM_MACOS=0
46451 PLATFORM_MACOSX=0
46452 PLATFORM_OS2=0
46453 PLATFORM_BEOS=0
46454
46455 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46456 case "${BAKEFILE_HOST}" in
46457 *-*-mingw32* )
46458 PLATFORM_WIN32=1
46459 ;;
46460 *-pc-msdosdjgpp )
46461 PLATFORM_MSDOS=1
46462 ;;
46463 *-pc-os2_emx | *-pc-os2-emx )
46464 PLATFORM_OS2=1
46465 ;;
46466 *-*-darwin* )
46467 PLATFORM_MAC=1
46468 PLATFORM_MACOSX=1
46469 ;;
46470 *-*-beos* )
46471 PLATFORM_BEOS=1
46472 ;;
46473 powerpc-apple-macos* )
46474 PLATFORM_MAC=1
46475 PLATFORM_MACOS=1
46476 ;;
46477 * )
46478 PLATFORM_UNIX=1
46479 ;;
46480 esac
46481 else
46482 case "$BAKEFILE_FORCE_PLATFORM" in
46483 win32 )
46484 PLATFORM_WIN32=1
46485 ;;
46486 msdos )
46487 PLATFORM_MSDOS=1
46488 ;;
46489 os2 )
46490 PLATFORM_OS2=1
46491 ;;
46492 darwin )
46493 PLATFORM_MAC=1
46494 PLATFORM_MACOSX=1
46495 ;;
46496 unix )
46497 PLATFORM_UNIX=1
46498 ;;
46499 beos )
46500 PLATFORM_BEOS=1
46501 ;;
46502 * )
46503 ;;
46504 esac
46505 fi
46506
46507
46508
46509
46510
46511
46512
46513
46514
46515
46516
46517 # Check whether --enable-omf was given.
46518 if test "${enable_omf+set}" = set; then
46519 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46520 fi
46521
46522
46523 case "${BAKEFILE_HOST}" in
46524 *-*-darwin* )
46525 if test "x$GCC" = "xyes"; then
46526 CFLAGS="$CFLAGS -fno-common"
46527 CXXFLAGS="$CXXFLAGS -fno-common"
46528 fi
46529 if test "x$XLCC" = "xyes"; then
46530 CFLAGS="$CFLAGS -qnocommon"
46531 CXXFLAGS="$CXXFLAGS -qnocommon"
46532 fi
46533 ;;
46534
46535 *-pc-os2_emx | *-pc-os2-emx )
46536 if test "x$bk_os2_use_omf" = "xyes" ; then
46537 AR=emxomfar
46538 RANLIB=:
46539 LDFLAGS="-Zomf $LDFLAGS"
46540 CFLAGS="-Zomf $CFLAGS"
46541 CXXFLAGS="-Zomf $CXXFLAGS"
46542 OS2_LIBEXT="lib"
46543 else
46544 OS2_LIBEXT="a"
46545 fi
46546 ;;
46547
46548 i*86-*-beos* )
46549 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46550 ;;
46551 esac
46552
46553
46554 SO_SUFFIX="so"
46555 SO_SUFFIX_MODULE="so"
46556 EXEEXT=""
46557 LIBPREFIX="lib"
46558 LIBEXT=".a"
46559 DLLPREFIX="lib"
46560 DLLPREFIX_MODULE=""
46561 DLLIMP_SUFFIX=""
46562 dlldir="$libdir"
46563
46564 case "${BAKEFILE_HOST}" in
46565 *-hp-hpux* )
46566 SO_SUFFIX="sl"
46567 SO_SUFFIX_MODULE="sl"
46568 ;;
46569 *-*-aix* )
46570 SO_SUFFIX="a"
46571 SO_SUFFIX_MODULE="a"
46572 ;;
46573 *-*-cygwin* )
46574 SO_SUFFIX="dll"
46575 SO_SUFFIX_MODULE="dll"
46576 DLLIMP_SUFFIX="dll.a"
46577 EXEEXT=".exe"
46578 DLLPREFIX="cyg"
46579 dlldir="$bindir"
46580 ;;
46581 *-*-mingw32* )
46582 SO_SUFFIX="dll"
46583 SO_SUFFIX_MODULE="dll"
46584 DLLIMP_SUFFIX="dll.a"
46585 EXEEXT=".exe"
46586 DLLPREFIX=""
46587 dlldir="$bindir"
46588 ;;
46589 *-pc-msdosdjgpp )
46590 EXEEXT=".exe"
46591 DLLPREFIX=""
46592 dlldir="$bindir"
46593 ;;
46594 *-pc-os2_emx | *-pc-os2-emx )
46595 SO_SUFFIX="dll"
46596 SO_SUFFIX_MODULE="dll"
46597 DLLIMP_SUFFIX=$OS2_LIBEXT
46598 EXEEXT=".exe"
46599 DLLPREFIX=""
46600 LIBPREFIX=""
46601 LIBEXT=".$OS2_LIBEXT"
46602 dlldir="$bindir"
46603 ;;
46604 *-*-darwin* )
46605 SO_SUFFIX="dylib"
46606 SO_SUFFIX_MODULE="bundle"
46607 ;;
46608 esac
46609
46610 if test "x$DLLIMP_SUFFIX" = "x" ; then
46611 DLLIMP_SUFFIX="$SO_SUFFIX"
46612 fi
46613
46614
46615
46616
46617
46618
46619
46620
46621
46622
46623
46624
46625 PIC_FLAG=""
46626 if test "x$GCC" = "xyes"; then
46627 PIC_FLAG="-fPIC"
46628 fi
46629
46630 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46631 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46632 WINDOWS_IMPLIB=0
46633
46634 case "${BAKEFILE_HOST}" in
46635 *-hp-hpux* )
46636 if test "x$GCC" != "xyes"; then
46637 LDFLAGS="$LDFLAGS -L/usr/lib"
46638
46639 SHARED_LD_CC="${CC} -b -o"
46640 SHARED_LD_CXX="${CXX} -b -o"
46641 PIC_FLAG="+Z"
46642 fi
46643 ;;
46644
46645 *-*-linux* )
46646 if test "x$GCC" != "xyes"; then
46647 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46648 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46649 if test "${bakefile_cv_prog_icc+set}" = set; then
46650 echo $ECHO_N "(cached) $ECHO_C" >&6
46651 else
46652
46653 cat >conftest.$ac_ext <<_ACEOF
46654 /* confdefs.h. */
46655 _ACEOF
46656 cat confdefs.h >>conftest.$ac_ext
46657 cat >>conftest.$ac_ext <<_ACEOF
46658 /* end confdefs.h. */
46659
46660 int
46661 main ()
46662 {
46663
46664 #ifndef __INTEL_COMPILER
46665 This is not ICC
46666 #endif
46667
46668 ;
46669 return 0;
46670 }
46671 _ACEOF
46672 rm -f conftest.$ac_objext
46673 if { (ac_try="$ac_compile"
46674 case "(($ac_try" in
46675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46676 *) ac_try_echo=$ac_try;;
46677 esac
46678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46679 (eval "$ac_compile") 2>conftest.er1
46680 ac_status=$?
46681 grep -v '^ *+' conftest.er1 >conftest.err
46682 rm -f conftest.er1
46683 cat conftest.err >&5
46684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46685 (exit $ac_status); } && {
46686 test -z "$ac_c_werror_flag" ||
46687 test ! -s conftest.err
46688 } && test -s conftest.$ac_objext; then
46689 bakefile_cv_prog_icc=yes
46690 else
46691 echo "$as_me: failed program was:" >&5
46692 sed 's/^/| /' conftest.$ac_ext >&5
46693
46694 bakefile_cv_prog_icc=no
46695
46696 fi
46697
46698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46699
46700 fi
46701 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46702 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46703 if test "$bakefile_cv_prog_icc" = "yes"; then
46704 PIC_FLAG="-KPIC"
46705 fi
46706 fi
46707 ;;
46708
46709 *-*-solaris2* )
46710 if test "x$GCC" != xyes ; then
46711 SHARED_LD_CC="${CC} -G -o"
46712 SHARED_LD_CXX="${CXX} -G -o"
46713 PIC_FLAG="-KPIC"
46714 fi
46715 ;;
46716
46717 *-*-darwin* )
46718
46719 D='$'
46720 cat <<EOF >shared-ld-sh
46721 #!/bin/sh
46722 #-----------------------------------------------------------------------------
46723 #-- Name: distrib/mac/shared-ld-sh
46724 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46725 #-- Author: Gilles Depeyrot
46726 #-- Copyright: (c) 2002 Gilles Depeyrot
46727 #-- Licence: any use permitted
46728 #-----------------------------------------------------------------------------
46729
46730 verbose=0
46731 args=""
46732 objects=""
46733 linking_flag="-dynamiclib"
46734 ldargs="-r -keep_private_externs -nostdlib"
46735
46736 while test ${D}# -gt 0; do
46737 case ${D}1 in
46738
46739 -v)
46740 verbose=1
46741 ;;
46742
46743 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46744 # collect these options and values
46745 args="${D}{args} ${D}1 ${D}2"
46746 shift
46747 ;;
46748
46749 -s|-Wl,*)
46750 # collect these load args
46751 ldargs="${D}{ldargs} ${D}1"
46752 ;;
46753
46754 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46755 # collect these options
46756 args="${D}{args} ${D}1"
46757 ;;
46758
46759 -dynamiclib|-bundle)
46760 linking_flag="${D}1"
46761 ;;
46762
46763 -*)
46764 echo "shared-ld: unhandled option '${D}1'"
46765 exit 1
46766 ;;
46767
46768 *.o | *.a | *.dylib)
46769 # collect object files
46770 objects="${D}{objects} ${D}1"
46771 ;;
46772
46773 *)
46774 echo "shared-ld: unhandled argument '${D}1'"
46775 exit 1
46776 ;;
46777
46778 esac
46779 shift
46780 done
46781
46782 status=0
46783
46784 #
46785 # Link one module containing all the others
46786 #
46787 if test ${D}{verbose} = 1; then
46788 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46789 fi
46790 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46791 status=${D}?
46792
46793 #
46794 # Link the shared library from the single module created, but only if the
46795 # previous command didn't fail:
46796 #
46797 if test ${D}{status} = 0; then
46798 if test ${D}{verbose} = 1; then
46799 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46800 fi
46801 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46802 status=${D}?
46803 fi
46804
46805 #
46806 # Remove intermediate module
46807 #
46808 rm -f master.${D}${D}.o
46809
46810 exit ${D}status
46811 EOF
46812
46813 chmod +x shared-ld-sh
46814
46815 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46816 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46817
46818
46819 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46820 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46821 if test "${bakefile_cv_gcc31+set}" = set; then
46822 echo $ECHO_N "(cached) $ECHO_C" >&6
46823 else
46824
46825 cat >conftest.$ac_ext <<_ACEOF
46826 /* confdefs.h. */
46827 _ACEOF
46828 cat confdefs.h >>conftest.$ac_ext
46829 cat >>conftest.$ac_ext <<_ACEOF
46830 /* end confdefs.h. */
46831
46832 int
46833 main ()
46834 {
46835
46836 #if (__GNUC__ < 3) || \
46837 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46838 This is old gcc
46839 #endif
46840
46841 ;
46842 return 0;
46843 }
46844 _ACEOF
46845 rm -f conftest.$ac_objext
46846 if { (ac_try="$ac_compile"
46847 case "(($ac_try" in
46848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46849 *) ac_try_echo=$ac_try;;
46850 esac
46851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46852 (eval "$ac_compile") 2>conftest.er1
46853 ac_status=$?
46854 grep -v '^ *+' conftest.er1 >conftest.err
46855 rm -f conftest.er1
46856 cat conftest.err >&5
46857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46858 (exit $ac_status); } && {
46859 test -z "$ac_c_werror_flag" ||
46860 test ! -s conftest.err
46861 } && test -s conftest.$ac_objext; then
46862
46863 bakefile_cv_gcc31=yes
46864
46865 else
46866 echo "$as_me: failed program was:" >&5
46867 sed 's/^/| /' conftest.$ac_ext >&5
46868
46869
46870 bakefile_cv_gcc31=no
46871
46872
46873 fi
46874
46875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46876
46877 fi
46878 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46879 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46880 if test "$bakefile_cv_gcc31" = "no"; then
46881 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46882 SHARED_LD_CXX="$SHARED_LD_CC"
46883 else
46884 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46885 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46886 fi
46887
46888 if test "x$GCC" == "xyes"; then
46889 PIC_FLAG="-dynamic -fPIC"
46890 fi
46891 if test "x$XLCC" = "xyes"; then
46892 PIC_FLAG="-dynamic -DPIC"
46893 fi
46894 ;;
46895
46896 *-*-aix* )
46897 if test "x$GCC" = "xyes"; then
46898 PIC_FLAG=""
46899
46900 case "${BAKEFILE_HOST}" in
46901 *-*-aix5* )
46902 LD_EXPFULL="-Wl,-bexpfull"
46903 ;;
46904 esac
46905
46906 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46907 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46908 else
46909 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46910 set dummy makeC++SharedLib; ac_word=$2
46911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46913 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46914 echo $ECHO_N "(cached) $ECHO_C" >&6
46915 else
46916 if test -n "$AIX_CXX_LD"; then
46917 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46918 else
46919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46920 for as_dir in $PATH
46921 do
46922 IFS=$as_save_IFS
46923 test -z "$as_dir" && as_dir=.
46924 for ac_exec_ext in '' $ac_executable_extensions; do
46925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46926 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46928 break 2
46929 fi
46930 done
46931 done
46932 IFS=$as_save_IFS
46933
46934 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46935 fi
46936 fi
46937 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46938 if test -n "$AIX_CXX_LD"; then
46939 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46940 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46941 else
46942 { echo "$as_me:$LINENO: result: no" >&5
46943 echo "${ECHO_T}no" >&6; }
46944 fi
46945
46946
46947 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46948 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46949 fi
46950 ;;
46951
46952 *-*-beos* )
46953 SHARED_LD_CC="${LD} -nostart -o"
46954 SHARED_LD_CXX="${LD} -nostart -o"
46955 ;;
46956
46957 *-*-irix* )
46958 if test "x$GCC" != "xyes"; then
46959 PIC_FLAG="-KPIC"
46960 fi
46961 ;;
46962
46963 *-*-cygwin* | *-*-mingw32* )
46964 PIC_FLAG=""
46965 SHARED_LD_CC="\$(CC) -shared -o"
46966 SHARED_LD_CXX="\$(CXX) -shared -o"
46967 WINDOWS_IMPLIB=1
46968 ;;
46969
46970 *-pc-os2_emx | *-pc-os2-emx )
46971 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46972 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46973 PIC_FLAG=""
46974
46975 D='$'
46976 cat <<EOF >dllar.sh
46977 #!/bin/sh
46978 #
46979 # dllar - a tool to build both a .dll and an .a file
46980 # from a set of object (.o) files for EMX/OS2.
46981 #
46982 # Written by Andrew Zabolotny, bit@freya.etu.ru
46983 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46984 #
46985 # This script will accept a set of files on the command line.
46986 # All the public symbols from the .o files will be exported into
46987 # a .DEF file, then linker will be run (through gcc) against them to
46988 # build a shared library consisting of all given .o files. All libraries
46989 # (.a) will be first decompressed into component .o files then act as
46990 # described above. You can optionally give a description (-d "description")
46991 # which will be put into .DLL. To see the list of accepted options (as well
46992 # as command-line format) simply run this program without options. The .DLL
46993 # is built to be imported by name (there is no guarantee that new versions
46994 # of the library you build will have same ordinals for same symbols).
46995 #
46996 # dllar is free software; you can redistribute it and/or modify
46997 # it under the terms of the GNU General Public License as published by
46998 # the Free Software Foundation; either version 2, or (at your option)
46999 # any later version.
47000 #
47001 # dllar is distributed in the hope that it will be useful,
47002 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47003 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47004 # GNU General Public License for more details.
47005 #
47006 # You should have received a copy of the GNU General Public License
47007 # along with dllar; see the file COPYING. If not, write to the Free
47008 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47009 # 02111-1307, USA.
47010
47011 # To successfuly run this program you will need:
47012 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47013 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47014 # - gcc
47015 # (used to build the .dll)
47016 # - emxexp
47017 # (used to create .def file from .o files)
47018 # - emximp
47019 # (used to create .a file from .def file)
47020 # - GNU text utilites (cat, sort, uniq)
47021 # used to process emxexp output
47022 # - GNU file utilities (mv, rm)
47023 # - GNU sed
47024 # - lxlite (optional, see flag below)
47025 # (used for general .dll cleanup)
47026 #
47027
47028 flag_USE_LXLITE=1;
47029
47030 #
47031 # helper functions
47032 # basnam, variant of basename, which does _not_ remove the path, _iff_
47033 # second argument (suffix to remove) is given
47034 basnam(){
47035 case ${D}# in
47036 1)
47037 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47038 ;;
47039 2)
47040 echo ${D}1 | sed 's/'${D}2'${D}//'
47041 ;;
47042 *)
47043 echo "error in basnam ${D}*"
47044 exit 8
47045 ;;
47046 esac
47047 }
47048
47049 # Cleanup temporary files and output
47050 CleanUp() {
47051 cd ${D}curDir
47052 for i in ${D}inputFiles ; do
47053 case ${D}i in
47054 *!)
47055 rm -rf \`basnam ${D}i !\`
47056 ;;
47057 *)
47058 ;;
47059 esac
47060 done
47061
47062 # Kill result in case of failure as there is just to many stupid make/nmake
47063 # things out there which doesn't do this.
47064 if [ ${D}# -eq 0 ]; then
47065 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47066 fi
47067 }
47068
47069 # Print usage and exit script with rc=1.
47070 PrintHelp() {
47071 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47072 echo ' [-name-mangler-script script.sh]'
47073 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47074 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47075 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47076 echo ' [*.o] [*.a]'
47077 echo '*> "output_file" should have no extension.'
47078 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47079 echo ' The import library name is derived from this and is set to "name".a,'
47080 echo ' unless overridden by -import'
47081 echo '*> "importlib_name" should have no extension.'
47082 echo ' If it has the .o, or .a extension, it is automatically removed.'
47083 echo ' This name is used as the import library name and may be longer and'
47084 echo ' more descriptive than the DLL name which has to follow the old '
47085 echo ' 8.3 convention of FAT.'
47086 echo '*> "script.sh may be given to override the output_file name by a'
47087 echo ' different name. It is mainly useful if the regular make process'
47088 echo ' of some package does not take into account OS/2 restriction of'
47089 echo ' DLL name lengths. It takes the importlib name as input and is'
47090 echo ' supposed to procude a shorter name as output. The script should'
47091 echo ' expect to get importlib_name without extension and should produce'
47092 echo ' a (max.) 8 letter name without extension.'
47093 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47094 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47095 echo ' These flags will be put at the start of GCC command line.'
47096 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47097 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47098 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47099 echo ' If the last character of a symbol is "*", all symbols beginning'
47100 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47101 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47102 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47103 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47104 echo ' C runtime DLLs.'
47105 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47106 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47107 echo ' unchanged to GCC at the end of command line.'
47108 echo '*> If you create a DLL from a library and you do not specify -o,'
47109 echo ' the basename for DLL and import library will be set to library name,'
47110 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47111 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47112 echo ' library will be renamed into gcc_s.a.'
47113 echo '--------'
47114 echo 'Example:'
47115 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47116 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47117 CleanUp
47118 exit 1
47119 }
47120
47121 # Execute a command.
47122 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47123 # @Uses Whatever CleanUp() uses.
47124 doCommand() {
47125 echo "${D}*"
47126 eval ${D}*
47127 rcCmd=${D}?
47128
47129 if [ ${D}rcCmd -ne 0 ]; then
47130 echo "command failed, exit code="${D}rcCmd
47131 CleanUp
47132 exit ${D}rcCmd
47133 fi
47134 }
47135
47136 # main routine
47137 # setup globals
47138 cmdLine=${D}*
47139 outFile=""
47140 outimpFile=""
47141 inputFiles=""
47142 renameScript=""
47143 description=""
47144 CC=gcc.exe
47145 CFLAGS="-s -Zcrtdll"
47146 EXTRA_CFLAGS=""
47147 EXPORT_BY_ORDINALS=0
47148 exclude_symbols=""
47149 library_flags=""
47150 curDir=\`pwd\`
47151 curDirS=curDir
47152 case ${D}curDirS in
47153 */)
47154 ;;
47155 *)
47156 curDirS=${D}{curDirS}"/"
47157 ;;
47158 esac
47159 # Parse commandline
47160 libsToLink=0
47161 omfLinking=0
47162 while [ ${D}1 ]; do
47163 case ${D}1 in
47164 -ord*)
47165 EXPORT_BY_ORDINALS=1;
47166 ;;
47167 -o*)
47168 shift
47169 outFile=${D}1
47170 ;;
47171 -i*)
47172 shift
47173 outimpFile=${D}1
47174 ;;
47175 -name-mangler-script)
47176 shift
47177 renameScript=${D}1
47178 ;;
47179 -d*)
47180 shift
47181 description=${D}1
47182 ;;
47183 -f*)
47184 shift
47185 CFLAGS=${D}1
47186 ;;
47187 -c*)
47188 shift
47189 CC=${D}1
47190 ;;
47191 -h*)
47192 PrintHelp
47193 ;;
47194 -ex*)
47195 shift
47196 exclude_symbols=${D}{exclude_symbols}${D}1" "
47197 ;;
47198 -libf*)
47199 shift
47200 library_flags=${D}{library_flags}${D}1" "
47201 ;;
47202 -nocrt*)
47203 CFLAGS="-s"
47204 ;;
47205 -nolxl*)
47206 flag_USE_LXLITE=0
47207 ;;
47208 -* | /*)
47209 case ${D}1 in
47210 -L* | -l*)
47211 libsToLink=1
47212 ;;
47213 -Zomf)
47214 omfLinking=1
47215 ;;
47216 *)
47217 ;;
47218 esac
47219 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47220 ;;
47221 *.dll)
47222 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47223 if [ ${D}omfLinking -eq 1 ]; then
47224 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47225 else
47226 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47227 fi
47228 ;;
47229 *)
47230 found=0;
47231 if [ ${D}libsToLink -ne 0 ]; then
47232 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47233 else
47234 for file in ${D}1 ; do
47235 if [ -f ${D}file ]; then
47236 inputFiles="${D}{inputFiles} ${D}file"
47237 found=1
47238 fi
47239 done
47240 if [ ${D}found -eq 0 ]; then
47241 echo "ERROR: No file(s) found: "${D}1
47242 exit 8
47243 fi
47244 fi
47245 ;;
47246 esac
47247 shift
47248 done # iterate cmdline words
47249
47250 #
47251 if [ -z "${D}inputFiles" ]; then
47252 echo "dllar: no input files"
47253 PrintHelp
47254 fi
47255
47256 # Now extract all .o files from .a files
47257 newInputFiles=""
47258 for file in ${D}inputFiles ; do
47259 case ${D}file in
47260 *.a | *.lib)
47261 case ${D}file in
47262 *.a)
47263 suffix=".a"
47264 AR="ar"
47265 ;;
47266 *.lib)
47267 suffix=".lib"
47268 AR="emxomfar"
47269 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47270 ;;
47271 *)
47272 ;;
47273 esac
47274 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47275 mkdir ${D}dirname
47276 if [ ${D}? -ne 0 ]; then
47277 echo "Failed to create subdirectory ./${D}dirname"
47278 CleanUp
47279 exit 8;
47280 fi
47281 # Append '!' to indicate archive
47282 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47283 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47284 cd ${D}curDir
47285 found=0;
47286 for subfile in ${D}dirname/*.o* ; do
47287 if [ -f ${D}subfile ]; then
47288 found=1
47289 if [ -s ${D}subfile ]; then
47290 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47291 newInputFiles="${D}newInputFiles ${D}subfile"
47292 fi
47293 fi
47294 done
47295 if [ ${D}found -eq 0 ]; then
47296 echo "WARNING: there are no files in archive \\'${D}file\\'"
47297 fi
47298 ;;
47299 *)
47300 newInputFiles="${D}{newInputFiles} ${D}file"
47301 ;;
47302 esac
47303 done
47304 inputFiles="${D}newInputFiles"
47305
47306 # Output filename(s).
47307 do_backup=0;
47308 if [ -z ${D}outFile ]; then
47309 do_backup=1;
47310 set outFile ${D}inputFiles; outFile=${D}2
47311 fi
47312
47313 # If it is an archive, remove the '!' and the '_%' suffixes
47314 case ${D}outFile in
47315 *_%!)
47316 outFile=\`basnam ${D}outFile _%!\`
47317 ;;
47318 *)
47319 ;;
47320 esac
47321 case ${D}outFile in
47322 *.dll)
47323 outFile=\`basnam ${D}outFile .dll\`
47324 ;;
47325 *.DLL)
47326 outFile=\`basnam ${D}outFile .DLL\`
47327 ;;
47328 *.o)
47329 outFile=\`basnam ${D}outFile .o\`
47330 ;;
47331 *.obj)
47332 outFile=\`basnam ${D}outFile .obj\`
47333 ;;
47334 *.a)
47335 outFile=\`basnam ${D}outFile .a\`
47336 ;;
47337 *.lib)
47338 outFile=\`basnam ${D}outFile .lib\`
47339 ;;
47340 *)
47341 ;;
47342 esac
47343 case ${D}outimpFile in
47344 *.a)
47345 outimpFile=\`basnam ${D}outimpFile .a\`
47346 ;;
47347 *.lib)
47348 outimpFile=\`basnam ${D}outimpFile .lib\`
47349 ;;
47350 *)
47351 ;;
47352 esac
47353 if [ -z ${D}outimpFile ]; then
47354 outimpFile=${D}outFile
47355 fi
47356 defFile="${D}{outFile}.def"
47357 arcFile="${D}{outimpFile}.a"
47358 arcFile2="${D}{outimpFile}.lib"
47359
47360 #create ${D}dllFile as something matching 8.3 restrictions,
47361 if [ -z ${D}renameScript ] ; then
47362 dllFile="${D}outFile"
47363 else
47364 dllFile=\`${D}renameScript ${D}outimpFile\`
47365 fi
47366
47367 if [ ${D}do_backup -ne 0 ] ; then
47368 if [ -f ${D}arcFile ] ; then
47369 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47370 fi
47371 if [ -f ${D}arcFile2 ] ; then
47372 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47373 fi
47374 fi
47375
47376 # Extract public symbols from all the object files.
47377 tmpdefFile=${D}{defFile}_%
47378 rm -f ${D}tmpdefFile
47379 for file in ${D}inputFiles ; do
47380 case ${D}file in
47381 *!)
47382 ;;
47383 *)
47384 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47385 ;;
47386 esac
47387 done
47388
47389 # Create the def file.
47390 rm -f ${D}defFile
47391 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47392 dllFile="${D}{dllFile}.dll"
47393 if [ ! -z ${D}description ]; then
47394 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47395 fi
47396 echo "EXPORTS" >> ${D}defFile
47397
47398 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47399 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47400
47401 # Checks if the export is ok or not.
47402 for word in ${D}exclude_symbols; do
47403 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47404 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47405 done
47406
47407
47408 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47409 sed "=" < ${D}tmpdefFile | \\
47410 sed '
47411 N
47412 : loop
47413 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47414 t loop
47415 ' > ${D}{tmpdefFile}%
47416 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47417 else
47418 rm -f ${D}{tmpdefFile}%
47419 fi
47420 cat ${D}tmpdefFile >> ${D}defFile
47421 rm -f ${D}tmpdefFile
47422
47423 # Do linking, create implib, and apply lxlite.
47424 gccCmdl="";
47425 for file in ${D}inputFiles ; do
47426 case ${D}file in
47427 *!)
47428 ;;
47429 *)
47430 gccCmdl="${D}gccCmdl ${D}file"
47431 ;;
47432 esac
47433 done
47434 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47435 touch "${D}{outFile}.dll"
47436
47437 doCommand "emximp -o ${D}arcFile ${D}defFile"
47438 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47439 add_flags="";
47440 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47441 add_flags="-ynd"
47442 fi
47443 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47444 fi
47445 doCommand "emxomf -s -l ${D}arcFile"
47446
47447 # Successful exit.
47448 CleanUp 1
47449 exit 0
47450 EOF
47451
47452 chmod +x dllar.sh
47453 ;;
47454
47455 powerpc-apple-macos* | \
47456 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47457 *-*-mirbsd* | \
47458 *-*-sunos4* | \
47459 *-*-osf* | \
47460 *-*-dgux5* | \
47461 *-*-sysv5* | \
47462 *-pc-msdosdjgpp )
47463 ;;
47464
47465 *)
47466 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47467 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47468 { (exit 1); exit 1; }; }
47469 esac
47470
47471 if test "x$PIC_FLAG" != "x" ; then
47472 PIC_FLAG="$PIC_FLAG -DPIC"
47473 fi
47474
47475 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47476 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47477 fi
47478 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47479 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47480 fi
47481
47482
47483
47484
47485
47486
47487
47488
47489
47490 USE_SOVERSION=0
47491 USE_SOVERLINUX=0
47492 USE_SOVERSOLARIS=0
47493 USE_SOVERCYGWIN=0
47494 USE_SOSYMLINKS=0
47495 USE_MACVERSION=0
47496 SONAME_FLAG=
47497
47498 case "${BAKEFILE_HOST}" in
47499 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47500 SONAME_FLAG="-Wl,-soname,"
47501 USE_SOVERSION=1
47502 USE_SOVERLINUX=1
47503 USE_SOSYMLINKS=1
47504 ;;
47505
47506 *-*-solaris2* )
47507 SONAME_FLAG="-h "
47508 USE_SOVERSION=1
47509 USE_SOVERSOLARIS=1
47510 USE_SOSYMLINKS=1
47511 ;;
47512
47513 *-*-darwin* )
47514 USE_MACVERSION=1
47515 USE_SOVERSION=1
47516 USE_SOSYMLINKS=1
47517 ;;
47518
47519 *-*-cygwin* )
47520 USE_SOVERSION=1
47521 USE_SOVERCYGWIN=1
47522 ;;
47523 esac
47524
47525
47526
47527
47528
47529
47530
47531
47532
47533
47534 # Check whether --enable-dependency-tracking was given.
47535 if test "${enable_dependency_tracking+set}" = set; then
47536 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47537 fi
47538
47539
47540 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47541 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47542
47543 BK_DEPS=""
47544 if test "x$bk_use_trackdeps" = "xno" ; then
47545 DEPS_TRACKING=0
47546 { echo "$as_me:$LINENO: result: disabled" >&5
47547 echo "${ECHO_T}disabled" >&6; }
47548 else
47549 DEPS_TRACKING=1
47550
47551 if test "x$GCC" = "xyes"; then
47552 DEPSMODE=gcc
47553 case "${BAKEFILE_HOST}" in
47554 *-*-darwin* )
47555 DEPSFLAG="-no-cpp-precomp -MMD"
47556 ;;
47557 * )
47558 DEPSFLAG="-MMD"
47559 ;;
47560 esac
47561 { echo "$as_me:$LINENO: result: gcc" >&5
47562 echo "${ECHO_T}gcc" >&6; }
47563 elif test "x$MWCC" = "xyes"; then
47564 DEPSMODE=mwcc
47565 DEPSFLAG="-MM"
47566 { echo "$as_me:$LINENO: result: mwcc" >&5
47567 echo "${ECHO_T}mwcc" >&6; }
47568 elif test "x$SUNCC" = "xyes"; then
47569 DEPSMODE=unixcc
47570 DEPSFLAG="-xM1"
47571 { echo "$as_me:$LINENO: result: Sun cc" >&5
47572 echo "${ECHO_T}Sun cc" >&6; }
47573 elif test "x$SGICC" = "xyes"; then
47574 DEPSMODE=unixcc
47575 DEPSFLAG="-M"
47576 { echo "$as_me:$LINENO: result: SGI cc" >&5
47577 echo "${ECHO_T}SGI cc" >&6; }
47578 elif test "x$HPCC" = "xyes"; then
47579 DEPSMODE=unixcc
47580 DEPSFLAG="+make"
47581 { echo "$as_me:$LINENO: result: HP cc" >&5
47582 echo "${ECHO_T}HP cc" >&6; }
47583 elif test "x$COMPAQCC" = "xyes"; then
47584 DEPSMODE=gcc
47585 DEPSFLAG="-MD"
47586 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47587 echo "${ECHO_T}Compaq cc" >&6; }
47588 else
47589 DEPS_TRACKING=0
47590 { echo "$as_me:$LINENO: result: none" >&5
47591 echo "${ECHO_T}none" >&6; }
47592 fi
47593
47594 if test $DEPS_TRACKING = 1 ; then
47595
47596 D='$'
47597 cat <<EOF >bk-deps
47598 #!/bin/sh
47599
47600 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47601 # script. It is used to track C/C++ files dependencies in portable way.
47602 #
47603 # Permission is given to use this file in any way.
47604
47605 DEPSMODE=${DEPSMODE}
47606 DEPSDIR=.deps
47607 DEPSFLAG="${DEPSFLAG}"
47608
47609 mkdir -p ${D}DEPSDIR
47610
47611 if test ${D}DEPSMODE = gcc ; then
47612 ${D}* ${D}{DEPSFLAG}
47613 status=${D}?
47614 if test ${D}{status} != 0 ; then
47615 exit ${D}{status}
47616 fi
47617 # move created file to the location we want it in:
47618 while test ${D}# -gt 0; do
47619 case "${D}1" in
47620 -o )
47621 shift
47622 objfile=${D}1
47623 ;;
47624 -* )
47625 ;;
47626 * )
47627 srcfile=${D}1
47628 ;;
47629 esac
47630 shift
47631 done
47632 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47633 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47634 if test -f ${D}depfile ; then
47635 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47636 rm -f ${D}depfile
47637 else
47638 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47639 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47640 if test ! -f ${D}depfile ; then
47641 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47642 depfile="${D}objfile.d"
47643 fi
47644 if test -f ${D}depfile ; then
47645 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47646 rm -f ${D}depfile
47647 fi
47648 fi
47649 exit 0
47650 elif test ${D}DEPSMODE = mwcc ; then
47651 ${D}* || exit ${D}?
47652 # Run mwcc again with -MM and redirect into the dep file we want
47653 # NOTE: We can't use shift here because we need ${D}* to be valid
47654 prevarg=
47655 for arg in ${D}* ; do
47656 if test "${D}prevarg" = "-o"; then
47657 objfile=${D}arg
47658 else
47659 case "${D}arg" in
47660 -* )
47661 ;;
47662 * )
47663 srcfile=${D}arg
47664 ;;
47665 esac
47666 fi
47667 prevarg="${D}arg"
47668 done
47669 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47670 exit 0
47671 elif test ${D}DEPSMODE = unixcc; then
47672 ${D}* || exit ${D}?
47673 # Run compiler again with deps flag and redirect into the dep file.
47674 # It doesn't work if the '-o FILE' option is used, but without it the
47675 # dependency file will contain the wrong name for the object. So it is
47676 # removed from the command line, and the dep file is fixed with sed.
47677 cmd=""
47678 while test ${D}# -gt 0; do
47679 case "${D}1" in
47680 -o )
47681 shift
47682 objfile=${D}1
47683 ;;
47684 * )
47685 eval arg${D}#=\\${D}1
47686 cmd="${D}cmd \\${D}arg${D}#"
47687 ;;
47688 esac
47689 shift
47690 done
47691 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47692 exit 0
47693 else
47694 ${D}*
47695 exit ${D}?
47696 fi
47697 EOF
47698
47699 chmod +x bk-deps
47700 BK_DEPS="`pwd`/bk-deps"
47701 fi
47702 fi
47703
47704
47705
47706
47707
47708 case ${BAKEFILE_HOST} in
47709 *-*-cygwin* | *-*-mingw32* )
47710 if test -n "$ac_tool_prefix"; then
47711 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47712 set dummy ${ac_tool_prefix}windres; ac_word=$2
47713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47715 if test "${ac_cv_prog_WINDRES+set}" = set; then
47716 echo $ECHO_N "(cached) $ECHO_C" >&6
47717 else
47718 if test -n "$WINDRES"; then
47719 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47720 else
47721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47722 for as_dir in $PATH
47723 do
47724 IFS=$as_save_IFS
47725 test -z "$as_dir" && as_dir=.
47726 for ac_exec_ext in '' $ac_executable_extensions; do
47727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47728 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47730 break 2
47731 fi
47732 done
47733 done
47734 IFS=$as_save_IFS
47735
47736 fi
47737 fi
47738 WINDRES=$ac_cv_prog_WINDRES
47739 if test -n "$WINDRES"; then
47740 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47741 echo "${ECHO_T}$WINDRES" >&6; }
47742 else
47743 { echo "$as_me:$LINENO: result: no" >&5
47744 echo "${ECHO_T}no" >&6; }
47745 fi
47746
47747
47748 fi
47749 if test -z "$ac_cv_prog_WINDRES"; then
47750 ac_ct_WINDRES=$WINDRES
47751 # Extract the first word of "windres", so it can be a program name with args.
47752 set dummy windres; ac_word=$2
47753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47755 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47756 echo $ECHO_N "(cached) $ECHO_C" >&6
47757 else
47758 if test -n "$ac_ct_WINDRES"; then
47759 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47760 else
47761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47762 for as_dir in $PATH
47763 do
47764 IFS=$as_save_IFS
47765 test -z "$as_dir" && as_dir=.
47766 for ac_exec_ext in '' $ac_executable_extensions; do
47767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47768 ac_cv_prog_ac_ct_WINDRES="windres"
47769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47770 break 2
47771 fi
47772 done
47773 done
47774 IFS=$as_save_IFS
47775
47776 fi
47777 fi
47778 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47779 if test -n "$ac_ct_WINDRES"; then
47780 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47781 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47782 else
47783 { echo "$as_me:$LINENO: result: no" >&5
47784 echo "${ECHO_T}no" >&6; }
47785 fi
47786
47787 if test "x$ac_ct_WINDRES" = x; then
47788 WINDRES=""
47789 else
47790 case $cross_compiling:$ac_tool_warned in
47791 yes:)
47792 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47793 whose name does not start with the host triplet. If you think this
47794 configuration is useful to you, please write to autoconf@gnu.org." >&5
47795 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47796 whose name does not start with the host triplet. If you think this
47797 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47798 ac_tool_warned=yes ;;
47799 esac
47800 WINDRES=$ac_ct_WINDRES
47801 fi
47802 else
47803 WINDRES="$ac_cv_prog_WINDRES"
47804 fi
47805
47806 ;;
47807
47808 *-*-darwin* | powerpc-apple-macos* )
47809 # Extract the first word of "Rez", so it can be a program name with args.
47810 set dummy Rez; ac_word=$2
47811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47813 if test "${ac_cv_prog_REZ+set}" = set; then
47814 echo $ECHO_N "(cached) $ECHO_C" >&6
47815 else
47816 if test -n "$REZ"; then
47817 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47818 else
47819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47820 for as_dir in $PATH
47821 do
47822 IFS=$as_save_IFS
47823 test -z "$as_dir" && as_dir=.
47824 for ac_exec_ext in '' $ac_executable_extensions; do
47825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47826 ac_cv_prog_REZ="Rez"
47827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47828 break 2
47829 fi
47830 done
47831 done
47832 IFS=$as_save_IFS
47833
47834 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47835 fi
47836 fi
47837 REZ=$ac_cv_prog_REZ
47838 if test -n "$REZ"; then
47839 { echo "$as_me:$LINENO: result: $REZ" >&5
47840 echo "${ECHO_T}$REZ" >&6; }
47841 else
47842 { echo "$as_me:$LINENO: result: no" >&5
47843 echo "${ECHO_T}no" >&6; }
47844 fi
47845
47846
47847 # Extract the first word of "SetFile", so it can be a program name with args.
47848 set dummy SetFile; ac_word=$2
47849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47851 if test "${ac_cv_prog_SETFILE+set}" = set; then
47852 echo $ECHO_N "(cached) $ECHO_C" >&6
47853 else
47854 if test -n "$SETFILE"; then
47855 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47856 else
47857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47858 for as_dir in $PATH
47859 do
47860 IFS=$as_save_IFS
47861 test -z "$as_dir" && as_dir=.
47862 for ac_exec_ext in '' $ac_executable_extensions; do
47863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47864 ac_cv_prog_SETFILE="SetFile"
47865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47866 break 2
47867 fi
47868 done
47869 done
47870 IFS=$as_save_IFS
47871
47872 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47873 fi
47874 fi
47875 SETFILE=$ac_cv_prog_SETFILE
47876 if test -n "$SETFILE"; then
47877 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47878 echo "${ECHO_T}$SETFILE" >&6; }
47879 else
47880 { echo "$as_me:$LINENO: result: no" >&5
47881 echo "${ECHO_T}no" >&6; }
47882 fi
47883
47884
47885 ;;
47886 esac
47887
47888
47889
47890
47891
47892
47893 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47894
47895
47896 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47897
47898
47899
47900 # Check whether --enable-precomp-headers was given.
47901 if test "${enable_precomp_headers+set}" = set; then
47902 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47903 fi
47904
47905
47906 GCC_PCH=0
47907 ICC_PCH=0
47908 USE_PCH=0
47909 BK_MAKE_PCH=""
47910
47911 case ${BAKEFILE_HOST} in
47912 *-*-cygwin* )
47913 bk_use_pch="no"
47914 ;;
47915 esac
47916
47917 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47918 if test "x$GCC" = "xyes"; then
47919 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47920 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47921 cat >conftest.$ac_ext <<_ACEOF
47922 /* confdefs.h. */
47923 _ACEOF
47924 cat confdefs.h >>conftest.$ac_ext
47925 cat >>conftest.$ac_ext <<_ACEOF
47926 /* end confdefs.h. */
47927
47928 int
47929 main ()
47930 {
47931
47932 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47933 There is no PCH support
47934 #endif
47935 #if (__GNUC__ < 3)
47936 There is no PCH support
47937 #endif
47938 #if (__GNUC__ == 3) && \
47939 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47940 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47941 ( defined(__INTEL_COMPILER) )
47942 There is no PCH support
47943 #endif
47944
47945 ;
47946 return 0;
47947 }
47948 _ACEOF
47949 rm -f conftest.$ac_objext
47950 if { (ac_try="$ac_compile"
47951 case "(($ac_try" in
47952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47953 *) ac_try_echo=$ac_try;;
47954 esac
47955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47956 (eval "$ac_compile") 2>conftest.er1
47957 ac_status=$?
47958 grep -v '^ *+' conftest.er1 >conftest.err
47959 rm -f conftest.er1
47960 cat conftest.err >&5
47961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47962 (exit $ac_status); } && {
47963 test -z "$ac_c_werror_flag" ||
47964 test ! -s conftest.err
47965 } && test -s conftest.$ac_objext; then
47966
47967 { echo "$as_me:$LINENO: result: yes" >&5
47968 echo "${ECHO_T}yes" >&6; }
47969 GCC_PCH=1
47970
47971 else
47972 echo "$as_me: failed program was:" >&5
47973 sed 's/^/| /' conftest.$ac_ext >&5
47974
47975
47976 cat >conftest.$ac_ext <<_ACEOF
47977 /* confdefs.h. */
47978 _ACEOF
47979 cat confdefs.h >>conftest.$ac_ext
47980 cat >>conftest.$ac_ext <<_ACEOF
47981 /* end confdefs.h. */
47982
47983 int
47984 main ()
47985 {
47986
47987 #if !defined(__INTEL_COMPILER) || \
47988 (__INTEL_COMPILER < 800)
47989 There is no PCH support
47990 #endif
47991
47992 ;
47993 return 0;
47994 }
47995 _ACEOF
47996 rm -f conftest.$ac_objext
47997 if { (ac_try="$ac_compile"
47998 case "(($ac_try" in
47999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48000 *) ac_try_echo=$ac_try;;
48001 esac
48002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48003 (eval "$ac_compile") 2>conftest.er1
48004 ac_status=$?
48005 grep -v '^ *+' conftest.er1 >conftest.err
48006 rm -f conftest.er1
48007 cat conftest.err >&5
48008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48009 (exit $ac_status); } && {
48010 test -z "$ac_c_werror_flag" ||
48011 test ! -s conftest.err
48012 } && test -s conftest.$ac_objext; then
48013
48014 { echo "$as_me:$LINENO: result: yes" >&5
48015 echo "${ECHO_T}yes" >&6; }
48016 ICC_PCH=1
48017
48018 else
48019 echo "$as_me: failed program was:" >&5
48020 sed 's/^/| /' conftest.$ac_ext >&5
48021
48022
48023 { echo "$as_me:$LINENO: result: no" >&5
48024 echo "${ECHO_T}no" >&6; }
48025
48026 fi
48027
48028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48029
48030 fi
48031
48032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48033 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48034 USE_PCH=1
48035
48036 D='$'
48037 cat <<EOF >bk-make-pch
48038 #!/bin/sh
48039
48040 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48041 # script. It is used to generated precompiled headers.
48042 #
48043 # Permission is given to use this file in any way.
48044
48045 outfile="${D}{1}"
48046 header="${D}{2}"
48047 shift
48048 shift
48049
48050 compiler=""
48051 headerfile=""
48052
48053 while test ${D}{#} -gt 0; do
48054 add_to_cmdline=1
48055 case "${D}{1}" in
48056 -I* )
48057 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48058 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48059 headerfile="${D}{incdir}/${D}{header}"
48060 fi
48061 ;;
48062 -use-pch|-use_pch )
48063 shift
48064 add_to_cmdline=0
48065 ;;
48066 esac
48067 if test ${D}add_to_cmdline = 1 ; then
48068 compiler="${D}{compiler} ${D}{1}"
48069 fi
48070 shift
48071 done
48072
48073 if test "x${D}{headerfile}" = "x" ; then
48074 echo "error: can't find header ${D}{header} in include paths" >&2
48075 else
48076 if test -f ${D}{outfile} ; then
48077 rm -f ${D}{outfile}
48078 else
48079 mkdir -p \`dirname ${D}{outfile}\`
48080 fi
48081 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48082 mkdir -p .deps
48083 if test "x${GCC_PCH}" = "x1" ; then
48084 # can do this because gcc is >= 3.4:
48085 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48086 elif test "x${ICC_PCH}" = "x1" ; then
48087 filename=pch_gen-${D}${D}
48088 file=${D}{filename}.c
48089 dfile=${D}{filename}.d
48090 cat > ${D}file <<EOT
48091 #include "${D}header"
48092 EOT
48093 # using -MF icc complains about differing command lines in creation/use
48094 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48095 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48096 rm -f ${D}file ${D}dfile ${D}{filename}.o
48097 fi
48098 exit ${D}{?}
48099 fi
48100 EOF
48101
48102 chmod +x bk-make-pch
48103 BK_MAKE_PCH="`pwd`/bk-make-pch"
48104 fi
48105 fi
48106 fi
48107
48108
48109
48110
48111
48112 COND_BUILD_DEBUG="#"
48113 if test "x$BUILD" = "xdebug" ; then
48114 COND_BUILD_DEBUG=""
48115 fi
48116
48117 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48118 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48119 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48120 fi
48121
48122 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48123 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48124 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48125 fi
48126
48127 COND_BUILD_DEBUG_UNICODE_0="#"
48128 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48129 COND_BUILD_DEBUG_UNICODE_0=""
48130 fi
48131
48132 COND_BUILD_DEBUG_UNICODE_1="#"
48133 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48134 COND_BUILD_DEBUG_UNICODE_1=""
48135 fi
48136
48137 COND_BUILD_RELEASE="#"
48138 if test "x$BUILD" = "xrelease" ; then
48139 COND_BUILD_RELEASE=""
48140 fi
48141
48142 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48143 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48144 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48145 fi
48146
48147 COND_BUILD_RELEASE_UNICODE_0="#"
48148 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48149 COND_BUILD_RELEASE_UNICODE_0=""
48150 fi
48151
48152 COND_BUILD_RELEASE_UNICODE_1="#"
48153 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48154 COND_BUILD_RELEASE_UNICODE_1=""
48155 fi
48156
48157 COND_DEBUG_FLAG_1="#"
48158 if test "x$DEBUG_FLAG" = "x1" ; then
48159 COND_DEBUG_FLAG_1=""
48160 fi
48161
48162 COND_DEBUG_INFO_0="#"
48163 if test "x$DEBUG_INFO" = "x0" ; then
48164 COND_DEBUG_INFO_0=""
48165 fi
48166
48167 COND_DEBUG_INFO_1="#"
48168 if test "x$DEBUG_INFO" = "x1" ; then
48169 COND_DEBUG_INFO_1=""
48170 fi
48171
48172 COND_DEPS_TRACKING_0="#"
48173 if test "x$DEPS_TRACKING" = "x0" ; then
48174 COND_DEPS_TRACKING_0=""
48175 fi
48176
48177 COND_DEPS_TRACKING_1="#"
48178 if test "x$DEPS_TRACKING" = "x1" ; then
48179 COND_DEPS_TRACKING_1=""
48180 fi
48181
48182 COND_GCC_PCH_1="#"
48183 if test "x$GCC_PCH" = "x1" ; then
48184 COND_GCC_PCH_1=""
48185 fi
48186
48187 COND_ICC_PCH_1="#"
48188 if test "x$ICC_PCH" = "x1" ; then
48189 COND_ICC_PCH_1=""
48190 fi
48191
48192 COND_MONOLITHIC_0="#"
48193 if test "x$MONOLITHIC" = "x0" ; then
48194 COND_MONOLITHIC_0=""
48195 fi
48196
48197 COND_MONOLITHIC_0_SHARED_0="#"
48198 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48199 COND_MONOLITHIC_0_SHARED_0=""
48200 fi
48201
48202 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48203 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48204 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48205 fi
48206
48207 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48208 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48209 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48210 fi
48211
48212 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48213 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48214 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48215 fi
48216
48217 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48218 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48219 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48220 fi
48221
48222 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48223 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48224 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48225 fi
48226
48227 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48228 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48229 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48230 fi
48231
48232 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48233 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48234 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48235 fi
48236
48237 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48238 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48239 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48240 fi
48241
48242 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48243 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48244 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48245 fi
48246
48247 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48248 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48249 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48250 fi
48251
48252 COND_MONOLITHIC_0_SHARED_1="#"
48253 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48254 COND_MONOLITHIC_0_SHARED_1=""
48255 fi
48256
48257 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48258 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48259 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48260 fi
48261
48262 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48263 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48264 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48265 fi
48266
48267 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48268 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48269 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48270 fi
48271
48272 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48274 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48275 fi
48276
48277 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48278 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48279 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48280 fi
48281
48282 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48283 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48284 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48285 fi
48286
48287 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48288 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48289 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48290 fi
48291
48292 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48293 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48294 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48295 fi
48296
48297 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48298 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48299 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48300 fi
48301
48302 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48303 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48304 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48305 fi
48306
48307 COND_MONOLITHIC_0_USE_AUI_1="#"
48308 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48309 COND_MONOLITHIC_0_USE_AUI_1=""
48310 fi
48311
48312 COND_MONOLITHIC_0_USE_GUI_1="#"
48313 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48314 COND_MONOLITHIC_0_USE_GUI_1=""
48315 fi
48316
48317 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48318 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48319 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48320 fi
48321
48322 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48323 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48324 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48325 fi
48326
48327 COND_MONOLITHIC_0_USE_HTML_1="#"
48328 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48329 COND_MONOLITHIC_0_USE_HTML_1=""
48330 fi
48331
48332 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48333 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48334 COND_MONOLITHIC_0_USE_MEDIA_1=""
48335 fi
48336
48337 COND_MONOLITHIC_0_USE_ODBC_1="#"
48338 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48339 COND_MONOLITHIC_0_USE_ODBC_1=""
48340 fi
48341
48342 COND_MONOLITHIC_0_USE_QA_1="#"
48343 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48344 COND_MONOLITHIC_0_USE_QA_1=""
48345 fi
48346
48347 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48348 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48349 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48350 fi
48351
48352 COND_MONOLITHIC_0_USE_STC_1="#"
48353 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48354 COND_MONOLITHIC_0_USE_STC_1=""
48355 fi
48356
48357 COND_MONOLITHIC_0_USE_XRC_1="#"
48358 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48359 COND_MONOLITHIC_0_USE_XRC_1=""
48360 fi
48361
48362 COND_MONOLITHIC_1="#"
48363 if test "x$MONOLITHIC" = "x1" ; then
48364 COND_MONOLITHIC_1=""
48365 fi
48366
48367 COND_MONOLITHIC_1_SHARED_0="#"
48368 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48369 COND_MONOLITHIC_1_SHARED_0=""
48370 fi
48371
48372 COND_MONOLITHIC_1_SHARED_1="#"
48373 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48374 COND_MONOLITHIC_1_SHARED_1=""
48375 fi
48376
48377 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48378 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48379 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48380 fi
48381
48382 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48383 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48384 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48385 fi
48386
48387 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48388 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48389 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48390 fi
48391
48392 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48393 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48394 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48395 fi
48396
48397 COND_PLATFORM_MACOSX_1="#"
48398 if test "x$PLATFORM_MACOSX" = "x1" ; then
48399 COND_PLATFORM_MACOSX_1=""
48400 fi
48401
48402 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48403 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48404 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48405 fi
48406
48407 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48408 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48409 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48410 fi
48411
48412 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48413 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48414 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48415 fi
48416
48417 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48418 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48419 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48420 fi
48421
48422 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48423 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48424 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48425 fi
48426
48427 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48428 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48429 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48430 fi
48431
48432 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48433 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48434 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48435 fi
48436
48437 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48438 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48439 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48440 fi
48441
48442 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48443 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48444 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48445 fi
48446
48447 COND_PLATFORM_MACOS_1="#"
48448 if test "x$PLATFORM_MACOS" = "x1" ; then
48449 COND_PLATFORM_MACOS_1=""
48450 fi
48451
48452 COND_PLATFORM_MAC_1="#"
48453 if test "x$PLATFORM_MAC" = "x1" ; then
48454 COND_PLATFORM_MAC_1=""
48455 fi
48456
48457 COND_PLATFORM_MSDOS_0="#"
48458 if test "x$PLATFORM_MSDOS" = "x0" ; then
48459 COND_PLATFORM_MSDOS_0=""
48460 fi
48461
48462 COND_PLATFORM_MSDOS_1="#"
48463 if test "x$PLATFORM_MSDOS" = "x1" ; then
48464 COND_PLATFORM_MSDOS_1=""
48465 fi
48466
48467 COND_PLATFORM_OS2_1="#"
48468 if test "x$PLATFORM_OS2" = "x1" ; then
48469 COND_PLATFORM_OS2_1=""
48470 fi
48471
48472 COND_PLATFORM_UNIX_0="#"
48473 if test "x$PLATFORM_UNIX" = "x0" ; then
48474 COND_PLATFORM_UNIX_0=""
48475 fi
48476
48477 COND_PLATFORM_UNIX_1="#"
48478 if test "x$PLATFORM_UNIX" = "x1" ; then
48479 COND_PLATFORM_UNIX_1=""
48480 fi
48481
48482 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48483 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48484 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48485 fi
48486
48487 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48488 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48489 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48490 fi
48491
48492 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48493 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48494 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48495 fi
48496
48497 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48498 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48499 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48500 fi
48501
48502 COND_PLATFORM_WIN32_0="#"
48503 if test "x$PLATFORM_WIN32" = "x0" ; then
48504 COND_PLATFORM_WIN32_0=""
48505 fi
48506
48507 COND_PLATFORM_WIN32_1="#"
48508 if test "x$PLATFORM_WIN32" = "x1" ; then
48509 COND_PLATFORM_WIN32_1=""
48510 fi
48511
48512 COND_SHARED_0="#"
48513 if test "x$SHARED" = "x0" ; then
48514 COND_SHARED_0=""
48515 fi
48516
48517 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48518 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48519 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48520 fi
48521
48522 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48523 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48524 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48525 fi
48526
48527 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48528 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48529 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48530 fi
48531
48532 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48533 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48534 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48535 fi
48536
48537 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48538 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48539 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48540 fi
48541
48542 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48543 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48544 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48545 fi
48546
48547 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48548 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48549 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48550 fi
48551
48552 COND_SHARED_0_USE_STC_1="#"
48553 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48554 COND_SHARED_0_USE_STC_1=""
48555 fi
48556
48557 COND_SHARED_0_USE_XRC_1="#"
48558 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48559 COND_SHARED_0_USE_XRC_1=""
48560 fi
48561
48562 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48563 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48564 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48565 fi
48566
48567 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48568 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48569 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48570 fi
48571
48572 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48573 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48574 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48575 fi
48576
48577 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48578 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48579 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48580 fi
48581
48582 COND_SHARED_1="#"
48583 if test "x$SHARED" = "x1" ; then
48584 COND_SHARED_1=""
48585 fi
48586
48587 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48588 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48589 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48590 fi
48591
48592 COND_SHARED_1_USE_XRC_1="#"
48593 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48594 COND_SHARED_1_USE_XRC_1=""
48595 fi
48596
48597 COND_TOOLKIT_="#"
48598 if test "x$TOOLKIT" = "x" ; then
48599 COND_TOOLKIT_=""
48600 fi
48601
48602 COND_TOOLKIT_COCOA="#"
48603 if test "x$TOOLKIT" = "xCOCOA" ; then
48604 COND_TOOLKIT_COCOA=""
48605 fi
48606
48607 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48608 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48609 COND_TOOLKIT_COCOA_USE_GUI_1=""
48610 fi
48611
48612 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48613 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48614 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48615 fi
48616
48617 COND_TOOLKIT_DFB="#"
48618 if test "x$TOOLKIT" = "xDFB" ; then
48619 COND_TOOLKIT_DFB=""
48620 fi
48621
48622 COND_TOOLKIT_DFB_USE_GUI_1="#"
48623 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48624 COND_TOOLKIT_DFB_USE_GUI_1=""
48625 fi
48626
48627 COND_TOOLKIT_GTK="#"
48628 if test "x$TOOLKIT" = "xGTK" ; then
48629 COND_TOOLKIT_GTK=""
48630 fi
48631
48632 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48633 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48634 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48635 fi
48636
48637 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48638 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48639 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48640 fi
48641
48642 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48643 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48644 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48645 fi
48646
48647 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48648 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48649 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48650 fi
48651
48652 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48653 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48654 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48655 fi
48656
48657 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48658 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48659 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48660 fi
48661
48662 COND_TOOLKIT_GTK_USE_GUI_1="#"
48663 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48664 COND_TOOLKIT_GTK_USE_GUI_1=""
48665 fi
48666
48667 COND_TOOLKIT_MAC="#"
48668 if test "x$TOOLKIT" = "xMAC" ; then
48669 COND_TOOLKIT_MAC=""
48670 fi
48671
48672 COND_TOOLKIT_MAC_USE_GUI_1="#"
48673 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48674 COND_TOOLKIT_MAC_USE_GUI_1=""
48675 fi
48676
48677 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48678 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48679 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48680 fi
48681
48682 COND_TOOLKIT_MGL="#"
48683 if test "x$TOOLKIT" = "xMGL" ; then
48684 COND_TOOLKIT_MGL=""
48685 fi
48686
48687 COND_TOOLKIT_MGL_USE_GUI_1="#"
48688 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48689 COND_TOOLKIT_MGL_USE_GUI_1=""
48690 fi
48691
48692 COND_TOOLKIT_MOTIF="#"
48693 if test "x$TOOLKIT" = "xMOTIF" ; then
48694 COND_TOOLKIT_MOTIF=""
48695 fi
48696
48697 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48698 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48699 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48700 fi
48701
48702 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48703 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48704 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48705 fi
48706
48707 COND_TOOLKIT_MSW="#"
48708 if test "x$TOOLKIT" = "xMSW" ; then
48709 COND_TOOLKIT_MSW=""
48710 fi
48711
48712 COND_TOOLKIT_MSW_USE_GUI_1="#"
48713 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48714 COND_TOOLKIT_MSW_USE_GUI_1=""
48715 fi
48716
48717 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48718 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48719 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48720 fi
48721
48722 COND_TOOLKIT_MSW_WXUNIV_0="#"
48723 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48724 COND_TOOLKIT_MSW_WXUNIV_0=""
48725 fi
48726
48727 COND_TOOLKIT_PM="#"
48728 if test "x$TOOLKIT" = "xPM" ; then
48729 COND_TOOLKIT_PM=""
48730 fi
48731
48732 COND_TOOLKIT_PM_USE_GUI_1="#"
48733 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48734 COND_TOOLKIT_PM_USE_GUI_1=""
48735 fi
48736
48737 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48738 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48739 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48740 fi
48741
48742 COND_TOOLKIT_WINCE="#"
48743 if test "x$TOOLKIT" = "xWINCE" ; then
48744 COND_TOOLKIT_WINCE=""
48745 fi
48746
48747 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48748 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48749 COND_TOOLKIT_WINCE_USE_GUI_1=""
48750 fi
48751
48752 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48753 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48754 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48755 fi
48756
48757 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48758 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48759 COND_TOOLKIT_WINCE_WXUNIV_0=""
48760 fi
48761
48762 COND_TOOLKIT_X11="#"
48763 if test "x$TOOLKIT" = "xX11" ; then
48764 COND_TOOLKIT_X11=""
48765 fi
48766
48767 COND_TOOLKIT_X11_USE_GUI_1="#"
48768 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48769 COND_TOOLKIT_X11_USE_GUI_1=""
48770 fi
48771
48772 COND_UNICODE_1="#"
48773 if test "x$UNICODE" = "x1" ; then
48774 COND_UNICODE_1=""
48775 fi
48776
48777 COND_USE_EXCEPTIONS_0="#"
48778 if test "x$USE_EXCEPTIONS" = "x0" ; then
48779 COND_USE_EXCEPTIONS_0=""
48780 fi
48781
48782 COND_USE_EXCEPTIONS_1="#"
48783 if test "x$USE_EXCEPTIONS" = "x1" ; then
48784 COND_USE_EXCEPTIONS_1=""
48785 fi
48786
48787 COND_USE_GUI_0="#"
48788 if test "x$USE_GUI" = "x0" ; then
48789 COND_USE_GUI_0=""
48790 fi
48791
48792 COND_USE_GUI_1="#"
48793 if test "x$USE_GUI" = "x1" ; then
48794 COND_USE_GUI_1=""
48795 fi
48796
48797 COND_USE_GUI_1_USE_OPENGL_1="#"
48798 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48799 COND_USE_GUI_1_USE_OPENGL_1=""
48800 fi
48801
48802 COND_USE_GUI_1_WXUNIV_0="#"
48803 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48804 COND_USE_GUI_1_WXUNIV_0=""
48805 fi
48806
48807 COND_USE_GUI_1_WXUNIV_1="#"
48808 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48809 COND_USE_GUI_1_WXUNIV_1=""
48810 fi
48811
48812 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48813 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48814 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48815 fi
48816
48817 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48818 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48819 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48820 fi
48821
48822 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48823 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48824 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48825 fi
48826
48827 COND_USE_ODBC_1="#"
48828 if test "x$USE_ODBC" = "x1" ; then
48829 COND_USE_ODBC_1=""
48830 fi
48831
48832 COND_USE_OPENGL_1="#"
48833 if test "x$USE_OPENGL" = "x1" ; then
48834 COND_USE_OPENGL_1=""
48835 fi
48836
48837 COND_USE_PCH_1="#"
48838 if test "x$USE_PCH" = "x1" ; then
48839 COND_USE_PCH_1=""
48840 fi
48841
48842 COND_USE_PLUGINS_0="#"
48843 if test "x$USE_PLUGINS" = "x0" ; then
48844 COND_USE_PLUGINS_0=""
48845 fi
48846
48847 COND_USE_RTTI_0="#"
48848 if test "x$USE_RTTI" = "x0" ; then
48849 COND_USE_RTTI_0=""
48850 fi
48851
48852 COND_USE_RTTI_1="#"
48853 if test "x$USE_RTTI" = "x1" ; then
48854 COND_USE_RTTI_1=""
48855 fi
48856
48857 COND_USE_SOSYMLINKS_1="#"
48858 if test "x$USE_SOSYMLINKS" = "x1" ; then
48859 COND_USE_SOSYMLINKS_1=""
48860 fi
48861
48862 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48863 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48864 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48865 fi
48866
48867 COND_USE_SOVERLINUX_1="#"
48868 if test "x$USE_SOVERLINUX" = "x1" ; then
48869 COND_USE_SOVERLINUX_1=""
48870 fi
48871
48872 COND_USE_SOVERSION_0="#"
48873 if test "x$USE_SOVERSION" = "x0" ; then
48874 COND_USE_SOVERSION_0=""
48875 fi
48876
48877 COND_USE_SOVERSOLARIS_1="#"
48878 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48879 COND_USE_SOVERSOLARIS_1=""
48880 fi
48881
48882 COND_USE_STC_1="#"
48883 if test "x$USE_STC" = "x1" ; then
48884 COND_USE_STC_1=""
48885 fi
48886
48887 COND_USE_THREADS_0="#"
48888 if test "x$USE_THREADS" = "x0" ; then
48889 COND_USE_THREADS_0=""
48890 fi
48891
48892 COND_USE_THREADS_1="#"
48893 if test "x$USE_THREADS" = "x1" ; then
48894 COND_USE_THREADS_1=""
48895 fi
48896
48897 COND_USE_XRC_1="#"
48898 if test "x$USE_XRC" = "x1" ; then
48899 COND_USE_XRC_1=""
48900 fi
48901
48902 COND_WINDOWS_IMPLIB_1="#"
48903 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48904 COND_WINDOWS_IMPLIB_1=""
48905 fi
48906
48907 COND_WITH_PLUGIN_SDL_1="#"
48908 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48909 COND_WITH_PLUGIN_SDL_1=""
48910 fi
48911
48912 COND_WXUNIV_0="#"
48913 if test "x$WXUNIV" = "x0" ; then
48914 COND_WXUNIV_0=""
48915 fi
48916
48917 COND_WXUNIV_1="#"
48918 if test "x$WXUNIV" = "x1" ; then
48919 COND_WXUNIV_1=""
48920 fi
48921
48922 COND_WXUSE_EXPAT_BUILTIN="#"
48923 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48924 COND_WXUSE_EXPAT_BUILTIN=""
48925 fi
48926
48927 COND_WXUSE_LIBJPEG_BUILTIN="#"
48928 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48929 COND_WXUSE_LIBJPEG_BUILTIN=""
48930 fi
48931
48932 COND_WXUSE_LIBPNG_BUILTIN="#"
48933 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48934 COND_WXUSE_LIBPNG_BUILTIN=""
48935 fi
48936
48937 COND_WXUSE_LIBTIFF_BUILTIN="#"
48938 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48939 COND_WXUSE_LIBTIFF_BUILTIN=""
48940 fi
48941
48942 COND_WXUSE_ODBC_BUILTIN="#"
48943 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48944 COND_WXUSE_ODBC_BUILTIN=""
48945 fi
48946
48947 COND_WXUSE_REGEX_BUILTIN="#"
48948 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48949 COND_WXUSE_REGEX_BUILTIN=""
48950 fi
48951
48952 COND_WXUSE_ZLIB_BUILTIN="#"
48953 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48954 COND_WXUSE_ZLIB_BUILTIN=""
48955 fi
48956
48957
48958
48959 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48960 { { 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
48961 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;}
48962 { (exit 1); exit 1; }; }
48963 fi
48964
48965 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48966 { { 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
48967 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;}
48968 { (exit 1); exit 1; }; }
48969 fi
48970
48971
48972 if test $GCC_PCH = 1
48973 then
48974 if test "$wx_cv_gcc_pch_bug" = yes; then
48975 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48976 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48977 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48978 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48979 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48980 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48981 fi
48982
48983 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48984 fi
48985
48986
48987 if test "$wxUSE_MAC" = 1 ; then
48988 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48989 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48990 mv temp bk-deps
48991 chmod +x bk-deps
48992 fi
48993 fi
48994
48995 if test "$wxUSE_SHARED" = "yes"; then
48996
48997 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48998 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48999
49000 case "${host}" in
49001 *-pc-os2_emx | *-pc-os2-emx )
49002 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49003 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49004 cp -p ${srcdir}/src/os2/dllnames.sh .
49005 cp -p ${srcdir}/src/os2/dllar.sh .
49006 ;;
49007 esac
49008 else
49009
49010 EXE_LINKER="$CXX -o"
49011
49012 fi
49013 if test "$wxUSE_OMF" = "yes"; then
49014 case "${host}" in
49015 *-pc-os2_emx | *-pc-os2-emx )
49016 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49017 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49018 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49019 ;;
49020 esac
49021 fi
49022
49023 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49024
49025 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49026
49027
49028
49029
49030
49031
49032
49033
49034
49035
49036
49037
49038
49039
49040
49041
49042
49043
49044
49045
49046
49047
49048
49049
49050
49051
49052
49053
49054
49055
49056
49057
49058
49059
49060
49061
49062
49063
49064
49065
49066
49067
49068
49069
49070
49071
49072
49073
49074
49075
49076
49077
49078
49079
49080
49081
49082
49083
49084
49085
49086
49087 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49088 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49089 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49090 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49091 echo $ECHO_N "(cached) $ECHO_C" >&6
49092 else
49093 cat >conftest.make <<\_ACEOF
49094 SHELL = /bin/sh
49095 all:
49096 @echo '@@@%%%=$(MAKE)=@@@%%%'
49097 _ACEOF
49098 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49099 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49100 *@@@%%%=?*=@@@%%%*)
49101 eval ac_cv_prog_make_${ac_make}_set=yes;;
49102 *)
49103 eval ac_cv_prog_make_${ac_make}_set=no;;
49104 esac
49105 rm -f conftest.make
49106 fi
49107 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49108 { echo "$as_me:$LINENO: result: yes" >&5
49109 echo "${ECHO_T}yes" >&6; }
49110 SET_MAKE=
49111 else
49112 { echo "$as_me:$LINENO: result: no" >&5
49113 echo "${ECHO_T}no" >&6; }
49114 SET_MAKE="MAKE=${MAKE-make}"
49115 fi
49116
49117
49118
49119 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49120
49121
49122 if test "$USE_WIN32" = 1; then
49123 ac_config_commands="$ac_config_commands
49124 rcdefs.h
49125 "
49126
49127 fi
49128
49129 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49130
49131
49132 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49133
49134
49135 if test "$wx_cv_version_script" = "yes"; then
49136 ac_config_files="$ac_config_files version-script"
49137
49138 fi
49139 ac_config_files="$ac_config_files Makefile"
49140
49141
49142 ac_config_commands="$ac_config_commands wx-config"
49143
49144
49145
49146 if test "$wxWITH_SUBDIRS" != "no"; then
49147 if test "$wxUSE_GUI" = "yes"; then
49148 SUBDIRS="samples demos utils"
49149 else SUBDIRS="samples utils"
49150 fi
49151
49152
49153
49154 # Check whether --with-cppunit-prefix was given.
49155 if test "${with_cppunit_prefix+set}" = set; then
49156 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49157 else
49158 cppunit_config_prefix=""
49159 fi
49160
49161
49162 # Check whether --with-cppunit-exec-prefix was given.
49163 if test "${with_cppunit_exec_prefix+set}" = set; then
49164 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49165 else
49166 cppunit_config_exec_prefix=""
49167 fi
49168
49169
49170 if test x$cppunit_config_exec_prefix != x ; then
49171 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49172 if test x${CPPUNIT_CONFIG+set} != xset ; then
49173 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49174 fi
49175 fi
49176 if test x$cppunit_config_prefix != x ; then
49177 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49178 if test x${CPPUNIT_CONFIG+set} != xset ; then
49179 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49180 fi
49181 fi
49182
49183 # Extract the first word of "cppunit-config", so it can be a program name with args.
49184 set dummy cppunit-config; ac_word=$2
49185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49187 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49188 echo $ECHO_N "(cached) $ECHO_C" >&6
49189 else
49190 case $CPPUNIT_CONFIG in
49191 [\\/]* | ?:[\\/]*)
49192 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49193 ;;
49194 *)
49195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49196 for as_dir in $PATH
49197 do
49198 IFS=$as_save_IFS
49199 test -z "$as_dir" && as_dir=.
49200 for ac_exec_ext in '' $ac_executable_extensions; do
49201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49202 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49204 break 2
49205 fi
49206 done
49207 done
49208 IFS=$as_save_IFS
49209
49210 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49211 ;;
49212 esac
49213 fi
49214 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49215 if test -n "$CPPUNIT_CONFIG"; then
49216 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49217 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49218 else
49219 { echo "$as_me:$LINENO: result: no" >&5
49220 echo "${ECHO_T}no" >&6; }
49221 fi
49222
49223
49224 cppunit_version_min=1.8.0
49225
49226 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49227 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49228 no_cppunit=""
49229 if test "$CPPUNIT_CONFIG" = "no" ; then
49230 { echo "$as_me:$LINENO: result: no" >&5
49231 echo "${ECHO_T}no" >&6; }
49232 no_cppunit=yes
49233 else
49234 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49235 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49236 cppunit_version=`$CPPUNIT_CONFIG --version`
49237
49238 cppunit_major_version=`echo $cppunit_version | \
49239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49240 cppunit_minor_version=`echo $cppunit_version | \
49241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49242 cppunit_micro_version=`echo $cppunit_version | \
49243 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49244
49245 cppunit_major_min=`echo $cppunit_version_min | \
49246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49247 cppunit_minor_min=`echo $cppunit_version_min | \
49248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49249 cppunit_micro_min=`echo $cppunit_version_min | \
49250 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49251
49252 cppunit_version_proper=`expr \
49253 $cppunit_major_version \> $cppunit_major_min \| \
49254 $cppunit_major_version \= $cppunit_major_min \& \
49255 $cppunit_minor_version \> $cppunit_minor_min \| \
49256 $cppunit_major_version \= $cppunit_major_min \& \
49257 $cppunit_minor_version \= $cppunit_minor_min \& \
49258 $cppunit_micro_version \>= $cppunit_micro_min `
49259
49260 if test "$cppunit_version_proper" = "1" ; then
49261 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49262 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49263 else
49264 { echo "$as_me:$LINENO: result: no" >&5
49265 echo "${ECHO_T}no" >&6; }
49266 no_cppunit=yes
49267 fi
49268 fi
49269
49270 if test "x$no_cppunit" = x ; then
49271 SUBDIRS="$SUBDIRS tests"
49272 else
49273 CPPUNIT_CFLAGS=""
49274 CPPUNIT_LIBS=""
49275 :
49276 fi
49277
49278
49279
49280
49281
49282 for subdir in `echo $SUBDIRS`; do
49283 if test -d ${srcdir}/${subdir} ; then
49284 if test "$wxUSE_GUI" = "yes"; then
49285 if test ${subdir} = "samples"; then
49286 makefiles="samples/Makefile.in $makefiles"
49287 for sample in `echo $SAMPLES_SUBDIRS`; do
49288 if test -d $srcdir/samples/$sample; then
49289 makefiles="samples/$sample/Makefile.in $makefiles"
49290 fi
49291 done
49292 else
49293 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49294 eval "disabled=\$$disabled_var"
49295 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49296 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49297 fi
49298 else if test ${subdir} = "samples"; then
49299 makefiles="samples/Makefile.in samples/console/Makefile.in"
49300 elif test ${subdir} = "utils"; then
49301 makefiles=""
49302 for util in HelpGen tex2rtf ; do
49303 if test -d $srcdir/utils/$util ; then
49304 makefiles="utils/$util/Makefile.in \
49305 utils/$util/src/Makefile.in \
49306 $makefiles"
49307 fi
49308 done
49309 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49310 fi
49311 fi
49312
49313 for mkin in $makefiles ; do
49314 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49315 ac_config_files="$ac_config_files $mk"
49316
49317 done
49318 fi
49319 done
49320 fi
49321 cat >confcache <<\_ACEOF
49322 # This file is a shell script that caches the results of configure
49323 # tests run on this system so they can be shared between configure
49324 # scripts and configure runs, see configure's option --config-cache.
49325 # It is not useful on other systems. If it contains results you don't
49326 # want to keep, you may remove or edit it.
49327 #
49328 # config.status only pays attention to the cache file if you give it
49329 # the --recheck option to rerun configure.
49330 #
49331 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49332 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49333 # following values.
49334
49335 _ACEOF
49336
49337 # The following way of writing the cache mishandles newlines in values,
49338 # but we know of no workaround that is simple, portable, and efficient.
49339 # So, we kill variables containing newlines.
49340 # Ultrix sh set writes to stderr and can't be redirected directly,
49341 # and sets the high bit in the cache file unless we assign to the vars.
49342 (
49343 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49344 eval ac_val=\$$ac_var
49345 case $ac_val in #(
49346 *${as_nl}*)
49347 case $ac_var in #(
49348 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49349 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49350 esac
49351 case $ac_var in #(
49352 _ | IFS | as_nl) ;; #(
49353 *) $as_unset $ac_var ;;
49354 esac ;;
49355 esac
49356 done
49357
49358 (set) 2>&1 |
49359 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49360 *${as_nl}ac_space=\ *)
49361 # `set' does not quote correctly, so add quotes (double-quote
49362 # substitution turns \\\\ into \\, and sed turns \\ into \).
49363 sed -n \
49364 "s/'/'\\\\''/g;
49365 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49366 ;; #(
49367 *)
49368 # `set' quotes correctly as required by POSIX, so do not add quotes.
49369 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49370 ;;
49371 esac |
49372 sort
49373 ) |
49374 sed '
49375 /^ac_cv_env_/b end
49376 t clear
49377 :clear
49378 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49379 t end
49380 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49381 :end' >>confcache
49382 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49383 if test -w "$cache_file"; then
49384 test "x$cache_file" != "x/dev/null" &&
49385 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49386 echo "$as_me: updating cache $cache_file" >&6;}
49387 cat confcache >$cache_file
49388 else
49389 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49390 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49391 fi
49392 fi
49393 rm -f confcache
49394
49395 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49396 # Let make expand exec_prefix.
49397 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49398
49399 DEFS=-DHAVE_CONFIG_H
49400
49401 ac_libobjs=
49402 ac_ltlibobjs=
49403 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49404 # 1. Remove the extension, and $U if already installed.
49405 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49406 ac_i=`echo "$ac_i" | sed "$ac_script"`
49407 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49408 # will be set to the directory where LIBOBJS objects are built.
49409 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49410 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49411 done
49412 LIBOBJS=$ac_libobjs
49413
49414 LTLIBOBJS=$ac_ltlibobjs
49415
49416
49417
49418 : ${CONFIG_STATUS=./config.status}
49419 ac_clean_files_save=$ac_clean_files
49420 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49421 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49422 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49423 cat >$CONFIG_STATUS <<_ACEOF
49424 #! $SHELL
49425 # Generated by $as_me.
49426 # Run this file to recreate the current configuration.
49427 # Compiler output produced by configure, useful for debugging
49428 # configure, is in config.log if it exists.
49429
49430 debug=false
49431 ac_cs_recheck=false
49432 ac_cs_silent=false
49433 SHELL=\${CONFIG_SHELL-$SHELL}
49434 _ACEOF
49435
49436 cat >>$CONFIG_STATUS <<\_ACEOF
49437 ## --------------------- ##
49438 ## M4sh Initialization. ##
49439 ## --------------------- ##
49440
49441 # Be more Bourne compatible
49442 DUALCASE=1; export DUALCASE # for MKS sh
49443 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49444 emulate sh
49445 NULLCMD=:
49446 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49447 # is contrary to our usage. Disable this feature.
49448 alias -g '${1+"$@"}'='"$@"'
49449 setopt NO_GLOB_SUBST
49450 else
49451 case `(set -o) 2>/dev/null` in
49452 *posix*) set -o posix ;;
49453 esac
49454
49455 fi
49456
49457
49458
49459
49460 # PATH needs CR
49461 # Avoid depending upon Character Ranges.
49462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49465 as_cr_digits='0123456789'
49466 as_cr_alnum=$as_cr_Letters$as_cr_digits
49467
49468 # The user is always right.
49469 if test "${PATH_SEPARATOR+set}" != set; then
49470 echo "#! /bin/sh" >conf$$.sh
49471 echo "exit 0" >>conf$$.sh
49472 chmod +x conf$$.sh
49473 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49474 PATH_SEPARATOR=';'
49475 else
49476 PATH_SEPARATOR=:
49477 fi
49478 rm -f conf$$.sh
49479 fi
49480
49481 # Support unset when possible.
49482 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49483 as_unset=unset
49484 else
49485 as_unset=false
49486 fi
49487
49488
49489 # IFS
49490 # We need space, tab and new line, in precisely that order. Quoting is
49491 # there to prevent editors from complaining about space-tab.
49492 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49493 # splitting by setting IFS to empty value.)
49494 as_nl='
49495 '
49496 IFS=" "" $as_nl"
49497
49498 # Find who we are. Look in the path if we contain no directory separator.
49499 case $0 in
49500 *[\\/]* ) as_myself=$0 ;;
49501 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49502 for as_dir in $PATH
49503 do
49504 IFS=$as_save_IFS
49505 test -z "$as_dir" && as_dir=.
49506 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49507 done
49508 IFS=$as_save_IFS
49509
49510 ;;
49511 esac
49512 # We did not find ourselves, most probably we were run as `sh COMMAND'
49513 # in which case we are not to be found in the path.
49514 if test "x$as_myself" = x; then
49515 as_myself=$0
49516 fi
49517 if test ! -f "$as_myself"; then
49518 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49519 { (exit 1); exit 1; }
49520 fi
49521
49522 # Work around bugs in pre-3.0 UWIN ksh.
49523 for as_var in ENV MAIL MAILPATH
49524 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49525 done
49526 PS1='$ '
49527 PS2='> '
49528 PS4='+ '
49529
49530 # NLS nuisances.
49531 for as_var in \
49532 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49533 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49534 LC_TELEPHONE LC_TIME
49535 do
49536 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49537 eval $as_var=C; export $as_var
49538 else
49539 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49540 fi
49541 done
49542
49543 # Required to use basename.
49544 if expr a : '\(a\)' >/dev/null 2>&1 &&
49545 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49546 as_expr=expr
49547 else
49548 as_expr=false
49549 fi
49550
49551 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49552 as_basename=basename
49553 else
49554 as_basename=false
49555 fi
49556
49557
49558 # Name of the executable.
49559 as_me=`$as_basename -- "$0" ||
49560 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49561 X"$0" : 'X\(//\)$' \| \
49562 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49563 echo X/"$0" |
49564 sed '/^.*\/\([^/][^/]*\)\/*$/{
49565 s//\1/
49566 q
49567 }
49568 /^X\/\(\/\/\)$/{
49569 s//\1/
49570 q
49571 }
49572 /^X\/\(\/\).*/{
49573 s//\1/
49574 q
49575 }
49576 s/.*/./; q'`
49577
49578 # CDPATH.
49579 $as_unset CDPATH
49580
49581
49582
49583 as_lineno_1=$LINENO
49584 as_lineno_2=$LINENO
49585 test "x$as_lineno_1" != "x$as_lineno_2" &&
49586 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49587
49588 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49589 # uniformly replaced by the line number. The first 'sed' inserts a
49590 # line-number line after each line using $LINENO; the second 'sed'
49591 # does the real work. The second script uses 'N' to pair each
49592 # line-number line with the line containing $LINENO, and appends
49593 # trailing '-' during substitution so that $LINENO is not a special
49594 # case at line end.
49595 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49596 # scripts with optimization help from Paolo Bonzini. Blame Lee
49597 # E. McMahon (1931-1989) for sed's syntax. :-)
49598 sed -n '
49599 p
49600 /[$]LINENO/=
49601 ' <$as_myself |
49602 sed '
49603 s/[$]LINENO.*/&-/
49604 t lineno
49605 b
49606 :lineno
49607 N
49608 :loop
49609 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49610 t loop
49611 s/-\n.*//
49612 ' >$as_me.lineno &&
49613 chmod +x "$as_me.lineno" ||
49614 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49615 { (exit 1); exit 1; }; }
49616
49617 # Don't try to exec as it changes $[0], causing all sort of problems
49618 # (the dirname of $[0] is not the place where we might find the
49619 # original and so on. Autoconf is especially sensitive to this).
49620 . "./$as_me.lineno"
49621 # Exit status is that of the last command.
49622 exit
49623 }
49624
49625
49626 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49627 as_dirname=dirname
49628 else
49629 as_dirname=false
49630 fi
49631
49632 ECHO_C= ECHO_N= ECHO_T=
49633 case `echo -n x` in
49634 -n*)
49635 case `echo 'x\c'` in
49636 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49637 *) ECHO_C='\c';;
49638 esac;;
49639 *)
49640 ECHO_N='-n';;
49641 esac
49642
49643 if expr a : '\(a\)' >/dev/null 2>&1 &&
49644 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49645 as_expr=expr
49646 else
49647 as_expr=false
49648 fi
49649
49650 rm -f conf$$ conf$$.exe conf$$.file
49651 if test -d conf$$.dir; then
49652 rm -f conf$$.dir/conf$$.file
49653 else
49654 rm -f conf$$.dir
49655 mkdir conf$$.dir
49656 fi
49657 echo >conf$$.file
49658 if ln -s conf$$.file conf$$ 2>/dev/null; then
49659 as_ln_s='ln -s'
49660 # ... but there are two gotchas:
49661 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49662 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49663 # In both cases, we have to default to `cp -p'.
49664 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49665 as_ln_s='cp -p'
49666 elif ln conf$$.file conf$$ 2>/dev/null; then
49667 as_ln_s=ln
49668 else
49669 as_ln_s='cp -p'
49670 fi
49671 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49672 rmdir conf$$.dir 2>/dev/null
49673
49674 if mkdir -p . 2>/dev/null; then
49675 as_mkdir_p=:
49676 else
49677 test -d ./-p && rmdir ./-p
49678 as_mkdir_p=false
49679 fi
49680
49681 if test -x / >/dev/null 2>&1; then
49682 as_test_x='test -x'
49683 else
49684 if ls -dL / >/dev/null 2>&1; then
49685 as_ls_L_option=L
49686 else
49687 as_ls_L_option=
49688 fi
49689 as_test_x='
49690 eval sh -c '\''
49691 if test -d "$1"; then
49692 test -d "$1/.";
49693 else
49694 case $1 in
49695 -*)set "./$1";;
49696 esac;
49697 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49698 ???[sx]*):;;*)false;;esac;fi
49699 '\'' sh
49700 '
49701 fi
49702 as_executable_p=$as_test_x
49703
49704 # Sed expression to map a string onto a valid CPP name.
49705 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49706
49707 # Sed expression to map a string onto a valid variable name.
49708 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49709
49710
49711 exec 6>&1
49712
49713 # Save the log message, to keep $[0] and so on meaningful, and to
49714 # report actual input values of CONFIG_FILES etc. instead of their
49715 # values after options handling.
49716 ac_log="
49717 This file was extended by wxWidgets $as_me 2.9.0, which was
49718 generated by GNU Autoconf 2.61. Invocation command line was
49719
49720 CONFIG_FILES = $CONFIG_FILES
49721 CONFIG_HEADERS = $CONFIG_HEADERS
49722 CONFIG_LINKS = $CONFIG_LINKS
49723 CONFIG_COMMANDS = $CONFIG_COMMANDS
49724 $ $0 $@
49725
49726 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49727 "
49728
49729 _ACEOF
49730
49731 cat >>$CONFIG_STATUS <<_ACEOF
49732 # Files that config.status was made for.
49733 config_files="$ac_config_files"
49734 config_headers="$ac_config_headers"
49735 config_commands="$ac_config_commands"
49736
49737 _ACEOF
49738
49739 cat >>$CONFIG_STATUS <<\_ACEOF
49740 ac_cs_usage="\
49741 \`$as_me' instantiates files from templates according to the
49742 current configuration.
49743
49744 Usage: $0 [OPTIONS] [FILE]...
49745
49746 -h, --help print this help, then exit
49747 -V, --version print version number and configuration settings, then exit
49748 -q, --quiet do not print progress messages
49749 -d, --debug don't remove temporary files
49750 --recheck update $as_me by reconfiguring in the same conditions
49751 --file=FILE[:TEMPLATE]
49752 instantiate the configuration file FILE
49753 --header=FILE[:TEMPLATE]
49754 instantiate the configuration header FILE
49755
49756 Configuration files:
49757 $config_files
49758
49759 Configuration headers:
49760 $config_headers
49761
49762 Configuration commands:
49763 $config_commands
49764
49765 Report bugs to <bug-autoconf@gnu.org>."
49766
49767 _ACEOF
49768 cat >>$CONFIG_STATUS <<_ACEOF
49769 ac_cs_version="\\
49770 wxWidgets config.status 2.9.0
49771 configured by $0, generated by GNU Autoconf 2.61,
49772 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49773
49774 Copyright (C) 2006 Free Software Foundation, Inc.
49775 This config.status script is free software; the Free Software Foundation
49776 gives unlimited permission to copy, distribute and modify it."
49777
49778 ac_pwd='$ac_pwd'
49779 srcdir='$srcdir'
49780 INSTALL='$INSTALL'
49781 _ACEOF
49782
49783 cat >>$CONFIG_STATUS <<\_ACEOF
49784 # If no file are specified by the user, then we need to provide default
49785 # value. By we need to know if files were specified by the user.
49786 ac_need_defaults=:
49787 while test $# != 0
49788 do
49789 case $1 in
49790 --*=*)
49791 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49792 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49793 ac_shift=:
49794 ;;
49795 *)
49796 ac_option=$1
49797 ac_optarg=$2
49798 ac_shift=shift
49799 ;;
49800 esac
49801
49802 case $ac_option in
49803 # Handling of the options.
49804 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49805 ac_cs_recheck=: ;;
49806 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49807 echo "$ac_cs_version"; exit ;;
49808 --debug | --debu | --deb | --de | --d | -d )
49809 debug=: ;;
49810 --file | --fil | --fi | --f )
49811 $ac_shift
49812 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49813 ac_need_defaults=false;;
49814 --header | --heade | --head | --hea )
49815 $ac_shift
49816 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49817 ac_need_defaults=false;;
49818 --he | --h)
49819 # Conflict between --help and --header
49820 { echo "$as_me: error: ambiguous option: $1
49821 Try \`$0 --help' for more information." >&2
49822 { (exit 1); exit 1; }; };;
49823 --help | --hel | -h )
49824 echo "$ac_cs_usage"; exit ;;
49825 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49826 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49827 ac_cs_silent=: ;;
49828
49829 # This is an error.
49830 -*) { echo "$as_me: error: unrecognized option: $1
49831 Try \`$0 --help' for more information." >&2
49832 { (exit 1); exit 1; }; } ;;
49833
49834 *) ac_config_targets="$ac_config_targets $1"
49835 ac_need_defaults=false ;;
49836
49837 esac
49838 shift
49839 done
49840
49841 ac_configure_extra_args=
49842
49843 if $ac_cs_silent; then
49844 exec 6>/dev/null
49845 ac_configure_extra_args="$ac_configure_extra_args --silent"
49846 fi
49847
49848 _ACEOF
49849 cat >>$CONFIG_STATUS <<_ACEOF
49850 if \$ac_cs_recheck; then
49851 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49852 CONFIG_SHELL=$SHELL
49853 export CONFIG_SHELL
49854 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49855 fi
49856
49857 _ACEOF
49858 cat >>$CONFIG_STATUS <<\_ACEOF
49859 exec 5>>config.log
49860 {
49861 echo
49862 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49863 ## Running $as_me. ##
49864 _ASBOX
49865 echo "$ac_log"
49866 } >&5
49867
49868 _ACEOF
49869 cat >>$CONFIG_STATUS <<_ACEOF
49870 #
49871 # INIT-COMMANDS
49872 #
49873
49874 CPP="$CPP"
49875 infile="$srcdir/include/wx/msw/genrcdefs.h"
49876 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49877
49878
49879 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49880 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49881 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49882 LN_S="${LN_S}"
49883
49884
49885 _ACEOF
49886
49887 cat >>$CONFIG_STATUS <<\_ACEOF
49888
49889 # Handling of arguments.
49890 for ac_config_target in $ac_config_targets
49891 do
49892 case $ac_config_target in
49893 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49894 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49895 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49896 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49897 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49898 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49899 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49900 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49901
49902 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49903 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49904 { (exit 1); exit 1; }; };;
49905 esac
49906 done
49907
49908
49909 # If the user did not use the arguments to specify the items to instantiate,
49910 # then the envvar interface is used. Set only those that are not.
49911 # We use the long form for the default assignment because of an extremely
49912 # bizarre bug on SunOS 4.1.3.
49913 if $ac_need_defaults; then
49914 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49915 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49916 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49917 fi
49918
49919 # Have a temporary directory for convenience. Make it in the build tree
49920 # simply because there is no reason against having it here, and in addition,
49921 # creating and moving files from /tmp can sometimes cause problems.
49922 # Hook for its removal unless debugging.
49923 # Note that there is a small window in which the directory will not be cleaned:
49924 # after its creation but before its name has been assigned to `$tmp'.
49925 $debug ||
49926 {
49927 tmp=
49928 trap 'exit_status=$?
49929 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49930 ' 0
49931 trap '{ (exit 1); exit 1; }' 1 2 13 15
49932 }
49933 # Create a (secure) tmp directory for tmp files.
49934
49935 {
49936 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49937 test -n "$tmp" && test -d "$tmp"
49938 } ||
49939 {
49940 tmp=./conf$$-$RANDOM
49941 (umask 077 && mkdir "$tmp")
49942 } ||
49943 {
49944 echo "$me: cannot create a temporary directory in ." >&2
49945 { (exit 1); exit 1; }
49946 }
49947
49948 #
49949 # Set up the sed scripts for CONFIG_FILES section.
49950 #
49951
49952 # No need to generate the scripts if there are no CONFIG_FILES.
49953 # This happens for instance when ./config.status config.h
49954 if test -n "$CONFIG_FILES"; then
49955
49956 _ACEOF
49957
49958
49959
49960 ac_delim='%!_!# '
49961 for ac_last_try in false false false false false :; do
49962 cat >conf$$subs.sed <<_ACEOF
49963 SHELL!$SHELL$ac_delim
49964 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49965 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49966 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49967 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49968 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49969 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49970 exec_prefix!$exec_prefix$ac_delim
49971 prefix!$prefix$ac_delim
49972 program_transform_name!$program_transform_name$ac_delim
49973 bindir!$bindir$ac_delim
49974 sbindir!$sbindir$ac_delim
49975 libexecdir!$libexecdir$ac_delim
49976 datarootdir!$datarootdir$ac_delim
49977 datadir!$datadir$ac_delim
49978 sysconfdir!$sysconfdir$ac_delim
49979 sharedstatedir!$sharedstatedir$ac_delim
49980 localstatedir!$localstatedir$ac_delim
49981 includedir!$includedir$ac_delim
49982 oldincludedir!$oldincludedir$ac_delim
49983 docdir!$docdir$ac_delim
49984 infodir!$infodir$ac_delim
49985 htmldir!$htmldir$ac_delim
49986 dvidir!$dvidir$ac_delim
49987 pdfdir!$pdfdir$ac_delim
49988 psdir!$psdir$ac_delim
49989 libdir!$libdir$ac_delim
49990 localedir!$localedir$ac_delim
49991 mandir!$mandir$ac_delim
49992 DEFS!$DEFS$ac_delim
49993 ECHO_C!$ECHO_C$ac_delim
49994 ECHO_N!$ECHO_N$ac_delim
49995 ECHO_T!$ECHO_T$ac_delim
49996 LIBS!$LIBS$ac_delim
49997 build_alias!$build_alias$ac_delim
49998 host_alias!$host_alias$ac_delim
49999 target_alias!$target_alias$ac_delim
50000 build!$build$ac_delim
50001 build_cpu!$build_cpu$ac_delim
50002 build_vendor!$build_vendor$ac_delim
50003 build_os!$build_os$ac_delim
50004 host!$host$ac_delim
50005 host_cpu!$host_cpu$ac_delim
50006 host_vendor!$host_vendor$ac_delim
50007 host_os!$host_os$ac_delim
50008 target!$target$ac_delim
50009 target_cpu!$target_cpu$ac_delim
50010 target_vendor!$target_vendor$ac_delim
50011 target_os!$target_os$ac_delim
50012 wx_top_builddir!$wx_top_builddir$ac_delim
50013 CC!$CC$ac_delim
50014 CFLAGS!$CFLAGS$ac_delim
50015 LDFLAGS!$LDFLAGS$ac_delim
50016 CPPFLAGS!$CPPFLAGS$ac_delim
50017 ac_ct_CC!$ac_ct_CC$ac_delim
50018 EXEEXT!$EXEEXT$ac_delim
50019 OBJEXT!$OBJEXT$ac_delim
50020 CPP!$CPP$ac_delim
50021 GREP!$GREP$ac_delim
50022 EGREP!$EGREP$ac_delim
50023 CXX!$CXX$ac_delim
50024 CXXFLAGS!$CXXFLAGS$ac_delim
50025 ac_ct_CXX!$ac_ct_CXX$ac_delim
50026 RANLIB!$RANLIB$ac_delim
50027 AR!$AR$ac_delim
50028 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50029 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50030 INSTALL_DATA!$INSTALL_DATA$ac_delim
50031 STRIP!$STRIP$ac_delim
50032 WINDRES!$WINDRES$ac_delim
50033 DLLTOOL!$DLLTOOL$ac_delim
50034 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50035 LN_S!$LN_S$ac_delim
50036 subdirs!$subdirs$ac_delim
50037 PKG_CONFIG!$PKG_CONFIG$ac_delim
50038 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50039 GTK_LIBS!$GTK_LIBS$ac_delim
50040 GTK_CONFIG!$GTK_CONFIG$ac_delim
50041 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50042 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50043 XMKMF!$XMKMF$ac_delim
50044 X_CFLAGS!$X_CFLAGS$ac_delim
50045 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50046 X_LIBS!$X_LIBS$ac_delim
50047 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50048 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50049 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50050 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50051 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50052 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50053 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50054 REZ!$REZ$ac_delim
50055 DEREZ!$DEREZ$ac_delim
50056 SETFILE!$SETFILE$ac_delim
50057 LIBICONV!$LIBICONV$ac_delim
50058 SDL_CONFIG!$SDL_CONFIG$ac_delim
50059 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50060 _ACEOF
50061
50062 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50063 break
50064 elif $ac_last_try; then
50065 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50066 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50067 { (exit 1); exit 1; }; }
50068 else
50069 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50070 fi
50071 done
50072
50073 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50074 if test -n "$ac_eof"; then
50075 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50076 ac_eof=`expr $ac_eof + 1`
50077 fi
50078
50079 cat >>$CONFIG_STATUS <<_ACEOF
50080 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50081 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50082 _ACEOF
50083 sed '
50084 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50085 s/^/s,@/; s/!/@,|#_!!_#|/
50086 :n
50087 t n
50088 s/'"$ac_delim"'$/,g/; t
50089 s/$/\\/; p
50090 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50091 ' >>$CONFIG_STATUS <conf$$subs.sed
50092 rm -f conf$$subs.sed
50093 cat >>$CONFIG_STATUS <<_ACEOF
50094 CEOF$ac_eof
50095 _ACEOF
50096
50097
50098 ac_delim='%!_!# '
50099 for ac_last_try in false false false false false :; do
50100 cat >conf$$subs.sed <<_ACEOF
50101 SDL_LIBS!$SDL_LIBS$ac_delim
50102 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50103 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50104 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50105 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50106 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50107 HILDON_LIBS!$HILDON_LIBS$ac_delim
50108 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50109 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50110 GST_CFLAGS!$GST_CFLAGS$ac_delim
50111 GST_LIBS!$GST_LIBS$ac_delim
50112 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
50113 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
50114 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50115 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50116 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50117 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
50118 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50119 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50120 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50121 VENDOR!$VENDOR$ac_delim
50122 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50123 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50124 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50125 WXUNIV!$WXUNIV$ac_delim
50126 MONOLITHIC!$MONOLITHIC$ac_delim
50127 USE_PLUGINS!$USE_PLUGINS$ac_delim
50128 CXXWARNINGS!$CXXWARNINGS$ac_delim
50129 EXTRALIBS!$EXTRALIBS$ac_delim
50130 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50131 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50132 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
50133 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50134 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50135 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50136 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50137 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50138 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50139 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50140 UNICODE!$UNICODE$ac_delim
50141 BUILD!$BUILD$ac_delim
50142 DEBUG_INFO!$DEBUG_INFO$ac_delim
50143 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50144 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50145 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50146 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50147 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50148 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50149 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50150 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50151 SET_MAKE!$SET_MAKE$ac_delim
50152 MAKE_SET!$MAKE_SET$ac_delim
50153 AROPTIONS!$AROPTIONS$ac_delim
50154 NM!$NM$ac_delim
50155 INSTALL_DIR!$INSTALL_DIR$ac_delim
50156 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50157 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50158 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50159 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50160 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50161 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50162 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50163 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50164 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50165 SO_SUFFIX!$SO_SUFFIX$ac_delim
50166 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50167 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50168 LIBPREFIX!$LIBPREFIX$ac_delim
50169 LIBEXT!$LIBEXT$ac_delim
50170 DLLPREFIX!$DLLPREFIX$ac_delim
50171 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50172 dlldir!$dlldir$ac_delim
50173 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50174 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50175 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50176 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50177 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50178 PIC_FLAG!$PIC_FLAG$ac_delim
50179 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50180 USE_SOVERSION!$USE_SOVERSION$ac_delim
50181 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50182 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50183 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50184 USE_MACVERSION!$USE_MACVERSION$ac_delim
50185 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50186 SONAME_FLAG!$SONAME_FLAG$ac_delim
50187 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50188 BK_DEPS!$BK_DEPS$ac_delim
50189 GCC_PCH!$GCC_PCH$ac_delim
50190 ICC_PCH!$ICC_PCH$ac_delim
50191 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50192 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50193 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50194 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50195 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50196 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50197 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50198 _ACEOF
50199
50200 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50201 break
50202 elif $ac_last_try; then
50203 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50204 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50205 { (exit 1); exit 1; }; }
50206 else
50207 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50208 fi
50209 done
50210
50211 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50212 if test -n "$ac_eof"; then
50213 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50214 ac_eof=`expr $ac_eof + 1`
50215 fi
50216
50217 cat >>$CONFIG_STATUS <<_ACEOF
50218 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50219 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50220 _ACEOF
50221 sed '
50222 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50223 s/^/s,@/; s/!/@,|#_!!_#|/
50224 :n
50225 t n
50226 s/'"$ac_delim"'$/,g/; t
50227 s/$/\\/; p
50228 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50229 ' >>$CONFIG_STATUS <conf$$subs.sed
50230 rm -f conf$$subs.sed
50231 cat >>$CONFIG_STATUS <<_ACEOF
50232 CEOF$ac_eof
50233 _ACEOF
50234
50235
50236 ac_delim='%!_!# '
50237 for ac_last_try in false false false false false :; do
50238 cat >conf$$subs.sed <<_ACEOF
50239 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50240 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50241 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50242 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50243 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50244 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50245 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50246 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50247 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50248 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50249 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50250 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50251 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50252 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50253 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50254 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50255 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50256 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50257 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50258 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50259 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50260 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50261 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50262 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50263 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50264 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50265 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50266 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50267 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50268 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50269 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50270 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50271 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50272 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50273 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50274 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50275 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50276 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50277 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50278 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50279 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50280 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50281 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50282 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50283 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50284 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50285 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50286 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50287 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50288 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50289 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50290 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50291 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50292 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50293 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50294 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50295 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50296 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50297 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50298 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50299 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50300 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50301 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50302 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50303 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50304 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50305 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50306 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50307 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50308 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50309 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50310 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50311 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50312 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50313 COND_SHARED_0!$COND_SHARED_0$ac_delim
50314 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50315 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50316 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50317 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50318 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50319 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50320 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50321 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50322 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50323 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50324 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50325 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50326 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50327 COND_SHARED_1!$COND_SHARED_1$ac_delim
50328 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50329 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50330 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50331 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50332 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50333 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50334 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50335 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50336 _ACEOF
50337
50338 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50339 break
50340 elif $ac_last_try; then
50341 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50342 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50343 { (exit 1); exit 1; }; }
50344 else
50345 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50346 fi
50347 done
50348
50349 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50350 if test -n "$ac_eof"; then
50351 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50352 ac_eof=`expr $ac_eof + 1`
50353 fi
50354
50355 cat >>$CONFIG_STATUS <<_ACEOF
50356 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50357 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50358 _ACEOF
50359 sed '
50360 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50361 s/^/s,@/; s/!/@,|#_!!_#|/
50362 :n
50363 t n
50364 s/'"$ac_delim"'$/,g/; t
50365 s/$/\\/; p
50366 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50367 ' >>$CONFIG_STATUS <conf$$subs.sed
50368 rm -f conf$$subs.sed
50369 cat >>$CONFIG_STATUS <<_ACEOF
50370 CEOF$ac_eof
50371 _ACEOF
50372
50373
50374 ac_delim='%!_!# '
50375 for ac_last_try in false false false false false :; do
50376 cat >conf$$subs.sed <<_ACEOF
50377 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50378 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50379 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50380 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50381 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50382 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50383 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50384 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50385 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50386 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50387 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50388 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50389 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50390 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50391 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50392 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50393 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50394 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50395 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50396 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50397 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50398 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50399 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50400 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50401 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50402 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50403 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50404 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50405 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50406 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50407 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50408 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50409 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50410 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50411 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50412 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50413 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50414 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50415 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50416 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50417 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50418 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50419 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50420 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50421 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50422 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50423 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50424 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50425 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50426 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50427 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50428 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50429 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50430 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50431 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50432 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50433 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50434 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50435 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50436 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50437 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50438 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50439 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50440 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50441 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50442 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50443 SHARED!$SHARED$ac_delim
50444 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50445 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50446 USE_GUI!$USE_GUI$ac_delim
50447 AFMINSTALL!$AFMINSTALL$ac_delim
50448 WIN32INSTALL!$WIN32INSTALL$ac_delim
50449 TOOLKIT!$TOOLKIT$ac_delim
50450 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50451 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50452 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50453 cross_compiling!$cross_compiling$ac_delim
50454 WIDGET_SET!$WIDGET_SET$ac_delim
50455 WX_RELEASE!$WX_RELEASE$ac_delim
50456 WX_VERSION!$WX_VERSION$ac_delim
50457 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50458 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50459 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50460 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50461 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50462 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50463 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50464 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50465 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50466 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50467 EXE_LINKER!$EXE_LINKER$ac_delim
50468 GUIDIST!$GUIDIST$ac_delim
50469 DISTDIR!$DISTDIR$ac_delim
50470 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50471 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50472 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50473 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50474 _ACEOF
50475
50476 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50477 break
50478 elif $ac_last_try; then
50479 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50480 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50481 { (exit 1); exit 1; }; }
50482 else
50483 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50484 fi
50485 done
50486
50487 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50488 if test -n "$ac_eof"; then
50489 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50490 ac_eof=`expr $ac_eof + 1`
50491 fi
50492
50493 cat >>$CONFIG_STATUS <<_ACEOF
50494 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50495 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50496 _ACEOF
50497 sed '
50498 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50499 s/^/s,@/; s/!/@,|#_!!_#|/
50500 :n
50501 t n
50502 s/'"$ac_delim"'$/,g/; t
50503 s/$/\\/; p
50504 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50505 ' >>$CONFIG_STATUS <conf$$subs.sed
50506 rm -f conf$$subs.sed
50507 cat >>$CONFIG_STATUS <<_ACEOF
50508 CEOF$ac_eof
50509 _ACEOF
50510
50511
50512 ac_delim='%!_!# '
50513 for ac_last_try in false false false false false :; do
50514 cat >conf$$subs.sed <<_ACEOF
50515 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50516 RESCOMP!$RESCOMP$ac_delim
50517 RESFLAGS!$RESFLAGS$ac_delim
50518 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50519 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50520 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50521 LIBWXMACRES!$LIBWXMACRES$ac_delim
50522 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50523 MACSETFILE!$MACSETFILE$ac_delim
50524 GCC!$GCC$ac_delim
50525 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50526 LIBOBJS!$LIBOBJS$ac_delim
50527 LTLIBOBJS!$LTLIBOBJS$ac_delim
50528 _ACEOF
50529
50530 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50531 break
50532 elif $ac_last_try; then
50533 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50534 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50535 { (exit 1); exit 1; }; }
50536 else
50537 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50538 fi
50539 done
50540
50541 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50542 if test -n "$ac_eof"; then
50543 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50544 ac_eof=`expr $ac_eof + 1`
50545 fi
50546
50547 cat >>$CONFIG_STATUS <<_ACEOF
50548 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50549 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50550 _ACEOF
50551 sed '
50552 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50553 s/^/s,@/; s/!/@,|#_!!_#|/
50554 :n
50555 t n
50556 s/'"$ac_delim"'$/,g/; t
50557 s/$/\\/; p
50558 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50559 ' >>$CONFIG_STATUS <conf$$subs.sed
50560 rm -f conf$$subs.sed
50561 cat >>$CONFIG_STATUS <<_ACEOF
50562 :end
50563 s/|#_!!_#|//g
50564 CEOF$ac_eof
50565 _ACEOF
50566
50567
50568 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50569 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50570 # trailing colons and then remove the whole line if VPATH becomes empty
50571 # (actually we leave an empty line to preserve line numbers).
50572 if test "x$srcdir" = x.; then
50573 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50574 s/:*\$(srcdir):*/:/
50575 s/:*\${srcdir}:*/:/
50576 s/:*@srcdir@:*/:/
50577 s/^\([^=]*=[ ]*\):*/\1/
50578 s/:*$//
50579 s/^[^=]*=[ ]*$//
50580 }'
50581 fi
50582
50583 cat >>$CONFIG_STATUS <<\_ACEOF
50584 fi # test -n "$CONFIG_FILES"
50585
50586
50587 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50588 do
50589 case $ac_tag in
50590 :[FHLC]) ac_mode=$ac_tag; continue;;
50591 esac
50592 case $ac_mode$ac_tag in
50593 :[FHL]*:*);;
50594 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50595 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50596 { (exit 1); exit 1; }; };;
50597 :[FH]-) ac_tag=-:-;;
50598 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50599 esac
50600 ac_save_IFS=$IFS
50601 IFS=:
50602 set x $ac_tag
50603 IFS=$ac_save_IFS
50604 shift
50605 ac_file=$1
50606 shift
50607
50608 case $ac_mode in
50609 :L) ac_source=$1;;
50610 :[FH])
50611 ac_file_inputs=
50612 for ac_f
50613 do
50614 case $ac_f in
50615 -) ac_f="$tmp/stdin";;
50616 *) # Look for the file first in the build tree, then in the source tree
50617 # (if the path is not absolute). The absolute path cannot be DOS-style,
50618 # because $ac_f cannot contain `:'.
50619 test -f "$ac_f" ||
50620 case $ac_f in
50621 [\\/$]*) false;;
50622 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50623 esac ||
50624 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50625 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50626 { (exit 1); exit 1; }; };;
50627 esac
50628 ac_file_inputs="$ac_file_inputs $ac_f"
50629 done
50630
50631 # Let's still pretend it is `configure' which instantiates (i.e., don't
50632 # use $as_me), people would be surprised to read:
50633 # /* config.h. Generated by config.status. */
50634 configure_input="Generated from "`IFS=:
50635 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50636 if test x"$ac_file" != x-; then
50637 configure_input="$ac_file. $configure_input"
50638 { echo "$as_me:$LINENO: creating $ac_file" >&5
50639 echo "$as_me: creating $ac_file" >&6;}
50640 fi
50641
50642 case $ac_tag in
50643 *:-:* | *:-) cat >"$tmp/stdin";;
50644 esac
50645 ;;
50646 esac
50647
50648 ac_dir=`$as_dirname -- "$ac_file" ||
50649 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50650 X"$ac_file" : 'X\(//\)[^/]' \| \
50651 X"$ac_file" : 'X\(//\)$' \| \
50652 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50653 echo X"$ac_file" |
50654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50655 s//\1/
50656 q
50657 }
50658 /^X\(\/\/\)[^/].*/{
50659 s//\1/
50660 q
50661 }
50662 /^X\(\/\/\)$/{
50663 s//\1/
50664 q
50665 }
50666 /^X\(\/\).*/{
50667 s//\1/
50668 q
50669 }
50670 s/.*/./; q'`
50671 { as_dir="$ac_dir"
50672 case $as_dir in #(
50673 -*) as_dir=./$as_dir;;
50674 esac
50675 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50676 as_dirs=
50677 while :; do
50678 case $as_dir in #(
50679 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50680 *) as_qdir=$as_dir;;
50681 esac
50682 as_dirs="'$as_qdir' $as_dirs"
50683 as_dir=`$as_dirname -- "$as_dir" ||
50684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50685 X"$as_dir" : 'X\(//\)[^/]' \| \
50686 X"$as_dir" : 'X\(//\)$' \| \
50687 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50688 echo X"$as_dir" |
50689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50690 s//\1/
50691 q
50692 }
50693 /^X\(\/\/\)[^/].*/{
50694 s//\1/
50695 q
50696 }
50697 /^X\(\/\/\)$/{
50698 s//\1/
50699 q
50700 }
50701 /^X\(\/\).*/{
50702 s//\1/
50703 q
50704 }
50705 s/.*/./; q'`
50706 test -d "$as_dir" && break
50707 done
50708 test -z "$as_dirs" || eval "mkdir $as_dirs"
50709 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50710 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50711 { (exit 1); exit 1; }; }; }
50712 ac_builddir=.
50713
50714 case "$ac_dir" in
50715 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50716 *)
50717 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50718 # A ".." for each directory in $ac_dir_suffix.
50719 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50720 case $ac_top_builddir_sub in
50721 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50722 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50723 esac ;;
50724 esac
50725 ac_abs_top_builddir=$ac_pwd
50726 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50727 # for backward compatibility:
50728 ac_top_builddir=$ac_top_build_prefix
50729
50730 case $srcdir in
50731 .) # We are building in place.
50732 ac_srcdir=.
50733 ac_top_srcdir=$ac_top_builddir_sub
50734 ac_abs_top_srcdir=$ac_pwd ;;
50735 [\\/]* | ?:[\\/]* ) # Absolute name.
50736 ac_srcdir=$srcdir$ac_dir_suffix;
50737 ac_top_srcdir=$srcdir
50738 ac_abs_top_srcdir=$srcdir ;;
50739 *) # Relative name.
50740 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50741 ac_top_srcdir=$ac_top_build_prefix$srcdir
50742 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50743 esac
50744 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50745
50746
50747 case $ac_mode in
50748 :F)
50749 #
50750 # CONFIG_FILE
50751 #
50752
50753 case $INSTALL in
50754 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50755 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50756 esac
50757 _ACEOF
50758
50759 cat >>$CONFIG_STATUS <<\_ACEOF
50760 # If the template does not know about datarootdir, expand it.
50761 # FIXME: This hack should be removed a few years after 2.60.
50762 ac_datarootdir_hack=; ac_datarootdir_seen=
50763
50764 case `sed -n '/datarootdir/ {
50765 p
50766 q
50767 }
50768 /@datadir@/p
50769 /@docdir@/p
50770 /@infodir@/p
50771 /@localedir@/p
50772 /@mandir@/p
50773 ' $ac_file_inputs` in
50774 *datarootdir*) ac_datarootdir_seen=yes;;
50775 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50776 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50777 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50778 _ACEOF
50779 cat >>$CONFIG_STATUS <<_ACEOF
50780 ac_datarootdir_hack='
50781 s&@datadir@&$datadir&g
50782 s&@docdir@&$docdir&g
50783 s&@infodir@&$infodir&g
50784 s&@localedir@&$localedir&g
50785 s&@mandir@&$mandir&g
50786 s&\\\${datarootdir}&$datarootdir&g' ;;
50787 esac
50788 _ACEOF
50789
50790 # Neutralize VPATH when `$srcdir' = `.'.
50791 # Shell code in configure.ac might set extrasub.
50792 # FIXME: do we really want to maintain this feature?
50793 cat >>$CONFIG_STATUS <<_ACEOF
50794 sed "$ac_vpsub
50795 $extrasub
50796 _ACEOF
50797 cat >>$CONFIG_STATUS <<\_ACEOF
50798 :t
50799 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50800 s&@configure_input@&$configure_input&;t t
50801 s&@top_builddir@&$ac_top_builddir_sub&;t t
50802 s&@srcdir@&$ac_srcdir&;t t
50803 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50804 s&@top_srcdir@&$ac_top_srcdir&;t t
50805 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50806 s&@builddir@&$ac_builddir&;t t
50807 s&@abs_builddir@&$ac_abs_builddir&;t t
50808 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50809 s&@INSTALL@&$ac_INSTALL&;t t
50810 $ac_datarootdir_hack
50811 " $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
50812
50813 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50814 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50815 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50816 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50817 which seems to be undefined. Please make sure it is defined." >&5
50818 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50819 which seems to be undefined. Please make sure it is defined." >&2;}
50820
50821 rm -f "$tmp/stdin"
50822 case $ac_file in
50823 -) cat "$tmp/out"; rm -f "$tmp/out";;
50824 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50825 esac
50826 ;;
50827 :H)
50828 #
50829 # CONFIG_HEADER
50830 #
50831 _ACEOF
50832
50833 # Transform confdefs.h into a sed script `conftest.defines', that
50834 # substitutes the proper values into config.h.in to produce config.h.
50835 rm -f conftest.defines conftest.tail
50836 # First, append a space to every undef/define line, to ease matching.
50837 echo 's/$/ /' >conftest.defines
50838 # Then, protect against being on the right side of a sed subst, or in
50839 # an unquoted here document, in config.status. If some macros were
50840 # called several times there might be several #defines for the same
50841 # symbol, which is useless. But do not sort them, since the last
50842 # AC_DEFINE must be honored.
50843 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50844 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50845 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50846 # PARAMS is the parameter list in the macro definition--in most cases, it's
50847 # just an empty string.
50848 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50849 ac_dB='\\)[ (].*,\\1define\\2'
50850 ac_dC=' '
50851 ac_dD=' ,'
50852
50853 uniq confdefs.h |
50854 sed -n '
50855 t rset
50856 :rset
50857 s/^[ ]*#[ ]*define[ ][ ]*//
50858 t ok
50859 d
50860 :ok
50861 s/[\\&,]/\\&/g
50862 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50863 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50864 ' >>conftest.defines
50865
50866 # Remove the space that was appended to ease matching.
50867 # Then replace #undef with comments. This is necessary, for
50868 # example, in the case of _POSIX_SOURCE, which is predefined and required
50869 # on some systems where configure will not decide to define it.
50870 # (The regexp can be short, since the line contains either #define or #undef.)
50871 echo 's/ $//
50872 s,^[ #]*u.*,/* & */,' >>conftest.defines
50873
50874 # Break up conftest.defines:
50875 ac_max_sed_lines=50
50876
50877 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50878 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50879 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50880 # et cetera.
50881 ac_in='$ac_file_inputs'
50882 ac_out='"$tmp/out1"'
50883 ac_nxt='"$tmp/out2"'
50884
50885 while :
50886 do
50887 # Write a here document:
50888 cat >>$CONFIG_STATUS <<_ACEOF
50889 # First, check the format of the line:
50890 cat >"\$tmp/defines.sed" <<\\CEOF
50891 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50892 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50893 b
50894 :def
50895 _ACEOF
50896 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50897 echo 'CEOF
50898 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50899 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50900 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50901 grep . conftest.tail >/dev/null || break
50902 rm -f conftest.defines
50903 mv conftest.tail conftest.defines
50904 done
50905 rm -f conftest.defines conftest.tail
50906
50907 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50908 cat >>$CONFIG_STATUS <<\_ACEOF
50909 if test x"$ac_file" != x-; then
50910 echo "/* $configure_input */" >"$tmp/config.h"
50911 cat "$ac_result" >>"$tmp/config.h"
50912 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50913 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50914 echo "$as_me: $ac_file is unchanged" >&6;}
50915 else
50916 rm -f $ac_file
50917 mv "$tmp/config.h" $ac_file
50918 fi
50919 else
50920 echo "/* $configure_input */"
50921 cat "$ac_result"
50922 fi
50923 rm -f "$tmp/out12"
50924 ;;
50925
50926 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50927 echo "$as_me: executing $ac_file commands" >&6;}
50928 ;;
50929 esac
50930
50931
50932 case $ac_file$ac_mode in
50933 "rcdefs.h":C)
50934 mkdir -p $outdir &&
50935 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50936 ;;
50937 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50938 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50939 "wx-config":C) rm -f wx-config
50940 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50941 ;;
50942
50943 esac
50944 done # for ac_tag
50945
50946
50947 { (exit 0); exit 0; }
50948 _ACEOF
50949 chmod +x $CONFIG_STATUS
50950 ac_clean_files=$ac_clean_files_save
50951
50952
50953 # configure is writing to config.log, and then calls config.status.
50954 # config.status does its own redirection, appending to config.log.
50955 # Unfortunately, on DOS this fails, as config.log is still kept open
50956 # by configure, so config.status won't be able to write to it; its
50957 # output is simply discarded. So we exec the FD to /dev/null,
50958 # effectively closing config.log, so it can be properly (re)opened and
50959 # appended to by config.status. When coming back to configure, we
50960 # need to make the FD available again.
50961 if test "$no_create" != yes; then
50962 ac_cs_success=:
50963 ac_config_status_args=
50964 test "$silent" = yes &&
50965 ac_config_status_args="$ac_config_status_args --quiet"
50966 exec 5>/dev/null
50967 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50968 exec 5>>config.log
50969 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50970 # would make configure fail if this is the last instruction.
50971 $ac_cs_success || { (exit 1); exit 1; }
50972 fi
50973
50974 #
50975 # CONFIG_SUBDIRS section.
50976 #
50977 if test "$no_recursion" != yes; then
50978
50979 # Remove --cache-file and --srcdir arguments so they do not pile up.
50980 ac_sub_configure_args=
50981 ac_prev=
50982 eval "set x $ac_configure_args"
50983 shift
50984 for ac_arg
50985 do
50986 if test -n "$ac_prev"; then
50987 ac_prev=
50988 continue
50989 fi
50990 case $ac_arg in
50991 -cache-file | --cache-file | --cache-fil | --cache-fi \
50992 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50993 ac_prev=cache_file ;;
50994 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50995 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50996 | --c=*)
50997 ;;
50998 --config-cache | -C)
50999 ;;
51000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51001 ac_prev=srcdir ;;
51002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51003 ;;
51004 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51005 ac_prev=prefix ;;
51006 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51007 ;;
51008 *)
51009 case $ac_arg in
51010 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51011 esac
51012 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51013 esac
51014 done
51015
51016 # Always prepend --prefix to ensure using the same prefix
51017 # in subdir configurations.
51018 ac_arg="--prefix=$prefix"
51019 case $ac_arg in
51020 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51021 esac
51022 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51023
51024 # Pass --silent
51025 if test "$silent" = yes; then
51026 ac_sub_configure_args="--silent $ac_sub_configure_args"
51027 fi
51028
51029 ac_popdir=`pwd`
51030 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51031
51032 # Do not complain, so a configure script can configure whichever
51033 # parts of a large source tree are present.
51034 test -d "$srcdir/$ac_dir" || continue
51035
51036 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51037 echo "$as_me:$LINENO: $ac_msg" >&5
51038 echo "$ac_msg" >&6
51039 { as_dir="$ac_dir"
51040 case $as_dir in #(
51041 -*) as_dir=./$as_dir;;
51042 esac
51043 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51044 as_dirs=
51045 while :; do
51046 case $as_dir in #(
51047 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51048 *) as_qdir=$as_dir;;
51049 esac
51050 as_dirs="'$as_qdir' $as_dirs"
51051 as_dir=`$as_dirname -- "$as_dir" ||
51052 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51053 X"$as_dir" : 'X\(//\)[^/]' \| \
51054 X"$as_dir" : 'X\(//\)$' \| \
51055 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51056 echo X"$as_dir" |
51057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51058 s//\1/
51059 q
51060 }
51061 /^X\(\/\/\)[^/].*/{
51062 s//\1/
51063 q
51064 }
51065 /^X\(\/\/\)$/{
51066 s//\1/
51067 q
51068 }
51069 /^X\(\/\).*/{
51070 s//\1/
51071 q
51072 }
51073 s/.*/./; q'`
51074 test -d "$as_dir" && break
51075 done
51076 test -z "$as_dirs" || eval "mkdir $as_dirs"
51077 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51078 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51079 { (exit 1); exit 1; }; }; }
51080 ac_builddir=.
51081
51082 case "$ac_dir" in
51083 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51084 *)
51085 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51086 # A ".." for each directory in $ac_dir_suffix.
51087 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51088 case $ac_top_builddir_sub in
51089 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51090 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51091 esac ;;
51092 esac
51093 ac_abs_top_builddir=$ac_pwd
51094 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51095 # for backward compatibility:
51096 ac_top_builddir=$ac_top_build_prefix
51097
51098 case $srcdir in
51099 .) # We are building in place.
51100 ac_srcdir=.
51101 ac_top_srcdir=$ac_top_builddir_sub
51102 ac_abs_top_srcdir=$ac_pwd ;;
51103 [\\/]* | ?:[\\/]* ) # Absolute name.
51104 ac_srcdir=$srcdir$ac_dir_suffix;
51105 ac_top_srcdir=$srcdir
51106 ac_abs_top_srcdir=$srcdir ;;
51107 *) # Relative name.
51108 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51109 ac_top_srcdir=$ac_top_build_prefix$srcdir
51110 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51111 esac
51112 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51113
51114
51115 cd "$ac_dir"
51116
51117 # Check for guested configure; otherwise get Cygnus style configure.
51118 if test -f "$ac_srcdir/configure.gnu"; then
51119 ac_sub_configure=$ac_srcdir/configure.gnu
51120 elif test -f "$ac_srcdir/configure"; then
51121 ac_sub_configure=$ac_srcdir/configure
51122 elif test -f "$ac_srcdir/configure.in"; then
51123 # This should be Cygnus configure.
51124 ac_sub_configure=$ac_aux_dir/configure
51125 else
51126 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51127 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51128 ac_sub_configure=
51129 fi
51130
51131 # The recursion is here.
51132 if test -n "$ac_sub_configure"; then
51133 # Make the cache file name correct relative to the subdirectory.
51134 case $cache_file in
51135 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51136 *) # Relative name.
51137 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51138 esac
51139
51140 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51141 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51142 # The eval makes quoting arguments work.
51143 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51144 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51145 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51146 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51147 { (exit 1); exit 1; }; }
51148 fi
51149
51150 cd "$ac_popdir"
51151 done
51152 fi
51153
51154
51155 echo
51156 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51157 echo ""
51158 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51159 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51160
51161 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51162 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51163 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
51164 if test "$wxUSE_UNICODE" = "yes"; then
51165 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51166 echo " (using UTF-8)"
51167 else
51168 echo " (using wchar_t)"
51169 fi
51170 else
51171 echo
51172 fi
51173
51174 echo " What level of wxWidgets compatibility should be enabled?"
51175 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51176 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51177
51178 echo " Which libraries should wxWidgets use?"
51179 echo " jpeg ${wxUSE_LIBJPEG-none}"
51180 echo " png ${wxUSE_LIBPNG-none}"
51181 echo " regex ${wxUSE_REGEX}"
51182 echo " tiff ${wxUSE_LIBTIFF-none}"
51183 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51184 echo " xpm ${wxUSE_LIBXPM-none}"
51185 fi
51186 echo " zlib ${wxUSE_ZLIB}"
51187 echo " odbc ${wxUSE_ODBC}"
51188 echo " expat ${wxUSE_EXPAT}"
51189 echo " libmspack ${wxUSE_LIBMSPACK}"
51190 echo " sdl ${wxUSE_LIBSDL}"
51191
51192 echo ""
51193