]> git.saurik.com Git - wxWidgets.git/blob - configure
return wxString from wxDynamicLibrary::GetDllExt()
[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-objc_uniquifying enable Objective-C class name uniquifying
1661 --enable-intl use internationalization system
1662 --enable-config use wxConfig (and derived) classes
1663 --enable-protocols use wxProtocol and derived classes
1664 --enable-ftp use wxFTP (requires wxProtocol
1665 --enable-http use wxHTTP (requires wxProtocol
1666 --enable-fileproto use wxFileProto class (requires wxProtocol
1667 --enable-sockets use socket/network classes
1668 --enable-ole use OLE classes (Win32 only)
1669 --enable-dataobj use data object classes
1670 --enable-ipc use interprocess communication (wxSocket etc.)
1671 --enable-apple_ieee use the Apple IEEE codec
1672 --enable-arcstream use wxArchive streams
1673 --enable-backtrace use wxStackWalker class for getting backtraces
1674 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1675 --enable-cmdline use wxCmdLineParser class
1676 --enable-datetime use wxDateTime class
1677 --enable-debugreport use wxDebugReport class
1678 --enable-dialupman use dialup network classes
1679 --enable-dynlib use wxLibrary class for DLL loading
1680 --enable-dynamicloader use (new) wxDynamicLibrary class
1681 --enable-exceptions build exception-safe library
1682 --enable-ffile use wxFFile class
1683 --enable-file use wxFile class
1684 --enable-filesystem use virtual file systems classes
1685 --enable-fontmap use font encodings conversion classes
1686 --enable-fs_archive use virtual archive filesystems
1687 --enable-fs_inet use virtual HTTP/FTP filesystems
1688 --enable-fs_zip now replaced by fs_archive
1689 --enable-geometry use geometry class
1690 --enable-log use logging system
1691 --enable-longlong use wxLongLong class
1692 --enable-mimetype use wxMimeTypesManager
1693 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1694 --enable-utf8 use UTF-8 representation for strings (Unix only)
1695 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1696 --enable-snglinst use wxSingleInstanceChecker class
1697 --enable-std_iostreams use standard C++ stream classes
1698 --enable-std_string use standard C++ string classes
1699 --enable-stdpaths use wxStandardPaths class
1700 --enable-stopwatch use wxStopWatch class
1701 --enable-streams use wxStream etc classes
1702 --enable-sysoptions use wxSystemOptions
1703 --enable-tarstream use wxTar streams
1704 --enable-textbuf use wxTextBuffer class
1705 --enable-textfile use wxTextFile class
1706 --enable-timer use wxTimer class
1707 --enable-unicode compile wxString with Unicode support
1708 --enable-sound use wxSound class
1709 --enable-mediactrl use wxMediaCtrl class
1710 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1711 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1712 --enable-zipstream use wxZip streams
1713 --enable-url use wxURL class
1714 --enable-variant use wxVariant class
1715 --enable-protocol use wxProtocol class
1716 --enable-protocol-http HTTP support in wxProtocol
1717 --enable-protocol-ftp FTP support in wxProtocol
1718 --enable-protocol-file FILE support in wxProtocol
1719 --enable-threads use threads
1720 --enable-docview use document view architecture
1721 --enable-help use help subsystem
1722 --enable-mshtmlhelp use MS HTML Help (win32)
1723 --enable-html use wxHTML sub-library
1724 --enable-htmlhelp use wxHTML-based help
1725 --enable-xrc use XRC resources sub-library
1726 --enable-aui use AUI docking library
1727 --enable-stc use wxStyledTextCtrl library
1728 --enable-constraints use layout-constraints system
1729 --enable-printarch use printing architecture
1730 --enable-mdi use multiple document interface architecture
1731 --enable-mdidoc use docview architecture with MDI
1732 --enable-loggui use standard GUI logger
1733 --enable-logwin use wxLogWindow
1734 --enable-logdialog use wxLogDialog
1735 --enable-webkit use wxWebKitCtrl (Mac)
1736 --enable-richtext use wxRichTextCtrl
1737 --enable-graphics_ctx use graphics context 2D drawing API
1738 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1739 --enable-clipboard use wxClipboard class
1740 --enable-dnd use Drag'n'Drop classes
1741 --enable-metafile use win32 metafiles
1742 --enable-controls use all usual controls
1743 --enable-accel use accelerators
1744 --enable-animatectrl use wxAnimationCtrl class
1745 --enable-button use wxButton class
1746 --enable-bmpbutton use wxBitmapButton class
1747 --enable-bmpcombobox use wxBitmapComboBox class
1748 --enable-calendar use wxCalendarCtrl class
1749 --enable-caret use wxCaret class
1750 --enable-checkbox use wxCheckBox class
1751 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1752 --enable-choice use wxChoice class
1753 --enable-choicebook use wxChoicebook class
1754 --enable-collpane use wxCollapsiblePane class
1755 --enable-colourpicker use wxColourPickerCtrl class
1756 --enable-combobox use wxComboBox class
1757 --enable-comboctrl use wxComboCtrl class
1758 --enable-datepick use wxDatePickerCtrl class
1759 --enable-dirpicker use wxDirPickerCtrl class
1760 --enable-display use wxDisplay class
1761 --enable-detect_sm use code to detect X11 session manager
1762 --enable-editablebox use wxEditableListBox class
1763 --enable-filepicker use wxFilePickerCtrl class
1764 --enable-fontpicker use wxFontPickerCtrl class
1765 --enable-gauge use wxGauge class
1766 --enable-grid use wxGrid class
1767 --enable-dataviewctrl use wxDataViewCtrl class
1768 --enable-hyperlink use wxHyperlinkCtrl class
1769 --enable-imaglist use wxImageList class
1770 --enable-listbook use wxListbook class
1771 --enable-listbox use wxListBox class
1772 --enable-listctrl use wxListCtrl class
1773 --enable-notebook use wxNotebook class
1774 --enable-odcombobox use wxOwnerDrawnComboBox class
1775 --enable-radiobox use wxRadioBox class
1776 --enable-radiobtn use wxRadioButton class
1777 --enable-sash use wxSashWindow class
1778 --enable-scrollbar use wxScrollBar class and scrollable windows
1779 --enable-searchctrl use wxSearchCtrl class
1780 --enable-slider use wxSlider class
1781 --enable-spinbtn use wxSpinButton class
1782 --enable-spinctrl use wxSpinCtrl class
1783 --enable-splitter use wxSplitterWindow class
1784 --enable-statbmp use wxStaticBitmap class
1785 --enable-statbox use wxStaticBox class
1786 --enable-statline use wxStaticLine class
1787 --enable-stattext use wxStaticText class
1788 --enable-statusbar use wxStatusBar class
1789 --enable-tabdialog use wxTabControl class
1790 --enable-textctrl use wxTextCtrl class
1791 --enable-togglebtn use wxToggleButton class
1792 --enable-toolbar use wxToolBar class
1793 --enable-tbarnative use native wxToolBar class
1794 --enable-treebook use wxTreebook class
1795 --enable-toolbook use wxToolbook class
1796 --enable-treectrl use wxTreeCtrl class
1797 --enable-tipwindow use wxTipWindow class
1798 --enable-popupwin use wxPopUpWindow class
1799 --enable-commondlg use all common dialogs
1800 --enable-aboutdlg use wxAboutBox
1801 --enable-choicedlg use wxChoiceDialog
1802 --enable-coldlg use wxColourDialog
1803 --enable-filedlg use wxFileDialog
1804 --enable-finddlg use wxFindReplaceDialog
1805 --enable-fontdlg use wxFontDialog
1806 --enable-dirdlg use wxDirDialog
1807 --enable-msgdlg use wxMessageDialog
1808 --enable-numberdlg use wxNumberEntryDialog
1809 --enable-splash use wxSplashScreen
1810 --enable-textdlg use wxTextDialog
1811 --enable-tipdlg use startup tips
1812 --enable-progressdlg use wxProgressDialog
1813 --enable-wizarddlg use wxWizard
1814 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1815 --enable-miniframe use wxMiniFrame class
1816 --enable-tooltips use wxToolTip class
1817 --enable-splines use spline drawing code
1818 --enable-mousewheel use mousewheel
1819 --enable-validators use wxValidator and derived classes
1820 --enable-busyinfo use wxBusyInfo
1821 --enable-joystick use wxJoystick
1822 --enable-metafiles use wxMetaFile (Win32 only)
1823 --enable-dragimage use wxDragImage
1824 --enable-accessibility enable accessibility support
1825 --enable-dccache cache temporary wxDC objects (Win32 only)
1826 --enable-palette use wxPalette class
1827 --enable-image use wxImage class
1828 --enable-gif use gif images (GIF file format)
1829 --enable-pcx use pcx images (PCX file format)
1830 --enable-tga use tga images (TGA file format)
1831 --enable-iff use iff images (IFF file format)
1832 --enable-pnm use pnm images (PNM file format)
1833 --enable-xpm use xpm images (XPM file format)
1834 --enable-icocur use Windows ICO and CUR formats
1835 --enable-official_build official build of wxWidgets (win32 DLL only)
1836 --enable-vendor=VENDOR vendor name (win32 DLL only)
1837 --disable-largefile omit support for large files
1838 --disable-gtktest do not try to compile and run a test GTK+ program
1839 --disable-gtktest Do not try to compile and run a test GTK program
1840 --disable-sdltest Do not try to compile and run a test SDL program
1841 --enable-omf use OMF object format (OS/2)
1842 --disable-dependency-tracking
1843 don't use dependency tracking even if the compiler
1844 can
1845 --disable-precomp-headers
1846 don't use precompiled headers even if compiler can
1847
1848 Optional Packages:
1849 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1850 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1851 --without-subdirs don't generate makefiles for samples/demos/...
1852 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1853 --with-motif use Motif/Lesstif
1854 --with-mac use Mac OS X
1855 --with-cocoa use Cocoa
1856 --with-wine use Wine
1857 --with-msw use MS-Windows
1858 --with-pm use OS/2 Presentation Manager
1859 --with-mgl use SciTech MGL
1860 --with-directfb use DirectFB
1861 --with-microwin use MicroWindows
1862 --with-x11 use X11
1863 --with-libpng use libpng (PNG image format)
1864 --with-libjpeg use libjpeg (JPEG file format)
1865 --with-libtiff use libtiff (TIFF file format)
1866 --with-libxpm use libxpm (XPM file format)
1867 --with-libmspack use libmspack (CHM help files loading)
1868 --with-sdl use SDL for audio on Unix
1869 --with-gnomeprint use GNOME print for printing under GNOME
1870 --with-gnomevfs use GNOME VFS for associating MIME types
1871 --with-hildon use Hildon framework for Nokia 770
1872 --with-opengl use OpenGL (or Mesa)
1873 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1874 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1875 --with-regex enable support for wxRegEx class
1876 --with-zlib use zlib for LZW compression
1877 --with-odbc use the IODBC and wxODBC classes
1878 --with-expat enable XML support using expat parser
1879 --with-flavour=NAME specify a name to identify this build
1880 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1881 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1882 --with-x use the X Window System
1883 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1884 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1885 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1886 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1887 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1888
1889 Some influential environment variables:
1890 CC C compiler command
1891 CFLAGS C compiler flags
1892 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1893 nonstandard directory <lib dir>
1894 LIBS libraries to pass to the linker, e.g. -l<library>
1895 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1896 you have headers in a nonstandard directory <include dir>
1897 CPP C preprocessor
1898 CXX C++ compiler command
1899 CXXFLAGS C++ compiler flags
1900 PKG_CONFIG path to pkg-config utility
1901 DIRECTFB_CFLAGS
1902 C compiler flags for DIRECTFB, overriding pkg-config
1903 DIRECTFB_LIBS
1904 linker flags for DIRECTFB, overriding pkg-config
1905 XMKMF Path to xmkmf, Makefile generator for X Window System
1906 PANGOX_CFLAGS
1907 C compiler flags for PANGOX, overriding pkg-config
1908 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1909 PANGOFT2_CFLAGS
1910 C compiler flags for PANGOFT2, overriding pkg-config
1911 PANGOFT2_LIBS
1912 linker flags for PANGOFT2, overriding pkg-config
1913 PANGOXFT_CFLAGS
1914 C compiler flags for PANGOXFT, overriding pkg-config
1915 PANGOXFT_LIBS
1916 linker flags for PANGOXFT, overriding pkg-config
1917 LIBGNOMEPRINTUI_CFLAGS
1918 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1919 LIBGNOMEPRINTUI_LIBS
1920 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1921 GNOMEVFS_CFLAGS
1922 C compiler flags for GNOMEVFS, overriding pkg-config
1923 GNOMEVFS_LIBS
1924 linker flags for GNOMEVFS, overriding pkg-config
1925 HILDON_CFLAGS
1926 C compiler flags for HILDON, overriding pkg-config
1927 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1928 CAIRO_CFLAGS
1929 C compiler flags for CAIRO, overriding pkg-config
1930 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1931 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1932 GST_LIBS linker flags for GST, overriding pkg-config
1933
1934 Use these variables to override the choices made by `configure' or to help
1935 it to find libraries and programs with nonstandard names/locations.
1936
1937 Report bugs to <wx-dev@lists.wxwidgets.org>.
1938 _ACEOF
1939 ac_status=$?
1940 fi
1941
1942 if test "$ac_init_help" = "recursive"; then
1943 # If there are subdirs, report their specific --help.
1944 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1945 test -d "$ac_dir" || continue
1946 ac_builddir=.
1947
1948 case "$ac_dir" in
1949 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1950 *)
1951 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1952 # A ".." for each directory in $ac_dir_suffix.
1953 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1954 case $ac_top_builddir_sub in
1955 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1956 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1957 esac ;;
1958 esac
1959 ac_abs_top_builddir=$ac_pwd
1960 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1961 # for backward compatibility:
1962 ac_top_builddir=$ac_top_build_prefix
1963
1964 case $srcdir in
1965 .) # We are building in place.
1966 ac_srcdir=.
1967 ac_top_srcdir=$ac_top_builddir_sub
1968 ac_abs_top_srcdir=$ac_pwd ;;
1969 [\\/]* | ?:[\\/]* ) # Absolute name.
1970 ac_srcdir=$srcdir$ac_dir_suffix;
1971 ac_top_srcdir=$srcdir
1972 ac_abs_top_srcdir=$srcdir ;;
1973 *) # Relative name.
1974 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1975 ac_top_srcdir=$ac_top_build_prefix$srcdir
1976 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1977 esac
1978 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1979
1980 cd "$ac_dir" || { ac_status=$?; continue; }
1981 # Check for guested configure.
1982 if test -f "$ac_srcdir/configure.gnu"; then
1983 echo &&
1984 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1985 elif test -f "$ac_srcdir/configure"; then
1986 echo &&
1987 $SHELL "$ac_srcdir/configure" --help=recursive
1988 else
1989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1990 fi || ac_status=$?
1991 cd "$ac_pwd" || { ac_status=$?; break; }
1992 done
1993 fi
1994
1995 test -n "$ac_init_help" && exit $ac_status
1996 if $ac_init_version; then
1997 cat <<\_ACEOF
1998 wxWidgets configure 2.9.0
1999 generated by GNU Autoconf 2.61
2000
2001 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2003 This configure script is free software; the Free Software Foundation
2004 gives unlimited permission to copy, distribute and modify it.
2005 _ACEOF
2006 exit
2007 fi
2008 cat >config.log <<_ACEOF
2009 This file contains any messages produced by compilers while
2010 running configure, to aid debugging if configure makes a mistake.
2011
2012 It was created by wxWidgets $as_me 2.9.0, which was
2013 generated by GNU Autoconf 2.61. Invocation command line was
2014
2015 $ $0 $@
2016
2017 _ACEOF
2018 exec 5>>config.log
2019 {
2020 cat <<_ASUNAME
2021 ## --------- ##
2022 ## Platform. ##
2023 ## --------- ##
2024
2025 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2026 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2027 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2028 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2029 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2030
2031 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2032 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2033
2034 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2035 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2036 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2037 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2038 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2039 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2040 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2041
2042 _ASUNAME
2043
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045 for as_dir in $PATH
2046 do
2047 IFS=$as_save_IFS
2048 test -z "$as_dir" && as_dir=.
2049 echo "PATH: $as_dir"
2050 done
2051 IFS=$as_save_IFS
2052
2053 } >&5
2054
2055 cat >&5 <<_ACEOF
2056
2057
2058 ## ----------- ##
2059 ## Core tests. ##
2060 ## ----------- ##
2061
2062 _ACEOF
2063
2064
2065 # Keep a trace of the command line.
2066 # Strip out --no-create and --no-recursion so they do not pile up.
2067 # Strip out --silent because we don't want to record it for future runs.
2068 # Also quote any args containing shell meta-characters.
2069 # Make two passes to allow for proper duplicate-argument suppression.
2070 ac_configure_args=
2071 ac_configure_args0=
2072 ac_configure_args1=
2073 ac_must_keep_next=false
2074 for ac_pass in 1 2
2075 do
2076 for ac_arg
2077 do
2078 case $ac_arg in
2079 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2081 | -silent | --silent | --silen | --sile | --sil)
2082 continue ;;
2083 *\'*)
2084 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2085 esac
2086 case $ac_pass in
2087 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2088 2)
2089 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2090 if test $ac_must_keep_next = true; then
2091 ac_must_keep_next=false # Got value, back to normal.
2092 else
2093 case $ac_arg in
2094 *=* | --config-cache | -C | -disable-* | --disable-* \
2095 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2096 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2097 | -with-* | --with-* | -without-* | --without-* | --x)
2098 case "$ac_configure_args0 " in
2099 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2100 esac
2101 ;;
2102 -* ) ac_must_keep_next=true ;;
2103 esac
2104 fi
2105 ac_configure_args="$ac_configure_args '$ac_arg'"
2106 ;;
2107 esac
2108 done
2109 done
2110 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2111 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2112
2113 # When interrupted or exit'd, cleanup temporary files, and complete
2114 # config.log. We remove comments because anyway the quotes in there
2115 # would cause problems or look ugly.
2116 # WARNING: Use '\'' to represent an apostrophe within the trap.
2117 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2118 trap 'exit_status=$?
2119 # Save into config.log some information that might help in debugging.
2120 {
2121 echo
2122
2123 cat <<\_ASBOX
2124 ## ---------------- ##
2125 ## Cache variables. ##
2126 ## ---------------- ##
2127 _ASBOX
2128 echo
2129 # The following way of writing the cache mishandles newlines in values,
2130 (
2131 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2132 eval ac_val=\$$ac_var
2133 case $ac_val in #(
2134 *${as_nl}*)
2135 case $ac_var in #(
2136 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2137 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2138 esac
2139 case $ac_var in #(
2140 _ | IFS | as_nl) ;; #(
2141 *) $as_unset $ac_var ;;
2142 esac ;;
2143 esac
2144 done
2145 (set) 2>&1 |
2146 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2147 *${as_nl}ac_space=\ *)
2148 sed -n \
2149 "s/'\''/'\''\\\\'\'''\''/g;
2150 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2151 ;; #(
2152 *)
2153 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2154 ;;
2155 esac |
2156 sort
2157 )
2158 echo
2159
2160 cat <<\_ASBOX
2161 ## ----------------- ##
2162 ## Output variables. ##
2163 ## ----------------- ##
2164 _ASBOX
2165 echo
2166 for ac_var in $ac_subst_vars
2167 do
2168 eval ac_val=\$$ac_var
2169 case $ac_val in
2170 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171 esac
2172 echo "$ac_var='\''$ac_val'\''"
2173 done | sort
2174 echo
2175
2176 if test -n "$ac_subst_files"; then
2177 cat <<\_ASBOX
2178 ## ------------------- ##
2179 ## File substitutions. ##
2180 ## ------------------- ##
2181 _ASBOX
2182 echo
2183 for ac_var in $ac_subst_files
2184 do
2185 eval ac_val=\$$ac_var
2186 case $ac_val in
2187 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188 esac
2189 echo "$ac_var='\''$ac_val'\''"
2190 done | sort
2191 echo
2192 fi
2193
2194 if test -s confdefs.h; then
2195 cat <<\_ASBOX
2196 ## ----------- ##
2197 ## confdefs.h. ##
2198 ## ----------- ##
2199 _ASBOX
2200 echo
2201 cat confdefs.h
2202 echo
2203 fi
2204 test "$ac_signal" != 0 &&
2205 echo "$as_me: caught signal $ac_signal"
2206 echo "$as_me: exit $exit_status"
2207 } >&5
2208 rm -f core *.core core.conftest.* &&
2209 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2210 exit $exit_status
2211 ' 0
2212 for ac_signal in 1 2 13 15; do
2213 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2214 done
2215 ac_signal=0
2216
2217 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2218 rm -f -r conftest* confdefs.h
2219
2220 # Predefined preprocessor variables.
2221
2222 cat >>confdefs.h <<_ACEOF
2223 #define PACKAGE_NAME "$PACKAGE_NAME"
2224 _ACEOF
2225
2226
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2229 _ACEOF
2230
2231
2232 cat >>confdefs.h <<_ACEOF
2233 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2234 _ACEOF
2235
2236
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_STRING "$PACKAGE_STRING"
2239 _ACEOF
2240
2241
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2244 _ACEOF
2245
2246
2247 # Let the site file select an alternate cache file if it wants to.
2248 # Prefer explicitly selected file to automatically selected ones.
2249 if test -n "$CONFIG_SITE"; then
2250 set x "$CONFIG_SITE"
2251 elif test "x$prefix" != xNONE; then
2252 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2253 else
2254 set x "$ac_default_prefix/share/config.site" \
2255 "$ac_default_prefix/etc/config.site"
2256 fi
2257 shift
2258 for ac_site_file
2259 do
2260 if test -r "$ac_site_file"; then
2261 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2262 echo "$as_me: loading site script $ac_site_file" >&6;}
2263 sed 's/^/| /' "$ac_site_file" >&5
2264 . "$ac_site_file"
2265 fi
2266 done
2267
2268 if test -r "$cache_file"; then
2269 # Some versions of bash will fail to source /dev/null (special
2270 # files actually), so we avoid doing that.
2271 if test -f "$cache_file"; then
2272 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2273 echo "$as_me: loading cache $cache_file" >&6;}
2274 case $cache_file in
2275 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2276 *) . "./$cache_file";;
2277 esac
2278 fi
2279 else
2280 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2281 echo "$as_me: creating cache $cache_file" >&6;}
2282 >$cache_file
2283 fi
2284
2285 # Check that the precious variables saved in the cache have kept the same
2286 # value.
2287 ac_cache_corrupted=false
2288 for ac_var in $ac_precious_vars; do
2289 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2290 eval ac_new_set=\$ac_env_${ac_var}_set
2291 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2292 eval ac_new_val=\$ac_env_${ac_var}_value
2293 case $ac_old_set,$ac_new_set in
2294 set,)
2295 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2296 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2297 ac_cache_corrupted=: ;;
2298 ,set)
2299 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2300 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2301 ac_cache_corrupted=: ;;
2302 ,);;
2303 *)
2304 if test "x$ac_old_val" != "x$ac_new_val"; then
2305 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2306 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2307 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2308 echo "$as_me: former value: $ac_old_val" >&2;}
2309 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2310 echo "$as_me: current value: $ac_new_val" >&2;}
2311 ac_cache_corrupted=:
2312 fi;;
2313 esac
2314 # Pass precious variables to config.status.
2315 if test "$ac_new_set" = set; then
2316 case $ac_new_val in
2317 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2318 *) ac_arg=$ac_var=$ac_new_val ;;
2319 esac
2320 case " $ac_configure_args " in
2321 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2322 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2323 esac
2324 fi
2325 done
2326 if $ac_cache_corrupted; then
2327 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2328 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2329 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2330 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2331 { (exit 1); exit 1; }; }
2332 fi
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
2358 ac_ext=c
2359 ac_cpp='$CPP $CPPFLAGS'
2360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2363
2364
2365
2366
2367
2368 ac_aux_dir=
2369 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2370 if test -f "$ac_dir/install-sh"; then
2371 ac_aux_dir=$ac_dir
2372 ac_install_sh="$ac_aux_dir/install-sh -c"
2373 break
2374 elif test -f "$ac_dir/install.sh"; then
2375 ac_aux_dir=$ac_dir
2376 ac_install_sh="$ac_aux_dir/install.sh -c"
2377 break
2378 elif test -f "$ac_dir/shtool"; then
2379 ac_aux_dir=$ac_dir
2380 ac_install_sh="$ac_aux_dir/shtool install -c"
2381 break
2382 fi
2383 done
2384 if test -z "$ac_aux_dir"; then
2385 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2386 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2387 { (exit 1); exit 1; }; }
2388 fi
2389
2390 # These three variables are undocumented and unsupported,
2391 # and are intended to be withdrawn in a future Autoconf release.
2392 # They can cause serious problems if a builder's source tree is in a directory
2393 # whose full name contains unusual characters.
2394 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2395 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2396 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2397
2398
2399 # Make sure we can run config.sub.
2400 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2401 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2402 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2403 { (exit 1); exit 1; }; }
2404
2405 { echo "$as_me:$LINENO: checking build system type" >&5
2406 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2407 if test "${ac_cv_build+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
2409 else
2410 ac_build_alias=$build_alias
2411 test "x$ac_build_alias" = x &&
2412 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2413 test "x$ac_build_alias" = x &&
2414 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2415 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2416 { (exit 1); exit 1; }; }
2417 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2418 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2419 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2420 { (exit 1); exit 1; }; }
2421
2422 fi
2423 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2424 echo "${ECHO_T}$ac_cv_build" >&6; }
2425 case $ac_cv_build in
2426 *-*-*) ;;
2427 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2428 echo "$as_me: error: invalid value of canonical build" >&2;}
2429 { (exit 1); exit 1; }; };;
2430 esac
2431 build=$ac_cv_build
2432 ac_save_IFS=$IFS; IFS='-'
2433 set x $ac_cv_build
2434 shift
2435 build_cpu=$1
2436 build_vendor=$2
2437 shift; shift
2438 # Remember, the first character of IFS is used to create $*,
2439 # except with old shells:
2440 build_os=$*
2441 IFS=$ac_save_IFS
2442 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2443
2444
2445 { echo "$as_me:$LINENO: checking host system type" >&5
2446 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2447 if test "${ac_cv_host+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 else
2450 if test "x$host_alias" = x; then
2451 ac_cv_host=$ac_cv_build
2452 else
2453 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2454 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2455 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2456 { (exit 1); exit 1; }; }
2457 fi
2458
2459 fi
2460 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2461 echo "${ECHO_T}$ac_cv_host" >&6; }
2462 case $ac_cv_host in
2463 *-*-*) ;;
2464 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2465 echo "$as_me: error: invalid value of canonical host" >&2;}
2466 { (exit 1); exit 1; }; };;
2467 esac
2468 host=$ac_cv_host
2469 ac_save_IFS=$IFS; IFS='-'
2470 set x $ac_cv_host
2471 shift
2472 host_cpu=$1
2473 host_vendor=$2
2474 shift; shift
2475 # Remember, the first character of IFS is used to create $*,
2476 # except with old shells:
2477 host_os=$*
2478 IFS=$ac_save_IFS
2479 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2480
2481
2482 { echo "$as_me:$LINENO: checking target system type" >&5
2483 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2484 if test "${ac_cv_target+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2486 else
2487 if test "x$target_alias" = x; then
2488 ac_cv_target=$ac_cv_host
2489 else
2490 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2491 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2492 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2493 { (exit 1); exit 1; }; }
2494 fi
2495
2496 fi
2497 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2498 echo "${ECHO_T}$ac_cv_target" >&6; }
2499 case $ac_cv_target in
2500 *-*-*) ;;
2501 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2502 echo "$as_me: error: invalid value of canonical target" >&2;}
2503 { (exit 1); exit 1; }; };;
2504 esac
2505 target=$ac_cv_target
2506 ac_save_IFS=$IFS; IFS='-'
2507 set x $ac_cv_target
2508 shift
2509 target_cpu=$1
2510 target_vendor=$2
2511 shift; shift
2512 # Remember, the first character of IFS is used to create $*,
2513 # except with old shells:
2514 target_os=$*
2515 IFS=$ac_save_IFS
2516 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2517
2518
2519 # The aliases save the names the user supplied, while $host etc.
2520 # will get canonicalized.
2521 test -n "$target_alias" &&
2522 test "$program_prefix$program_suffix$program_transform_name" = \
2523 NONENONEs,x,x, &&
2524 program_prefix=${target_alias}-
2525
2526
2527
2528 wx_major_version_number=2
2529 wx_minor_version_number=9
2530 wx_release_number=0
2531 wx_subrelease_number=0
2532
2533 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2534 WX_VERSION=$WX_RELEASE.$wx_release_number
2535 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2536
2537 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2538
2539
2540 wx_top_builddir="`pwd`"
2541
2542
2543
2544
2545 USE_UNIX=1
2546 USE_OS2=0
2547 USE_WIN32=0
2548 USE_DOS=0
2549 USE_BEOS=0
2550 USE_MAC=0
2551
2552 USE_AIX=
2553 USE_BSD= USE_DARWIN= USE_FREEBSD=
2554 USE_GNU= USE_HPUX=
2555 USE_LINUX=
2556 USE_NETBSD=
2557 USE_OPENBSD=
2558 USE_OSF= USE_SGI=
2559 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2560 USE_ULTRIX=
2561 USE_UNIXWARE=
2562
2563 USE_ALPHA=
2564
2565 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2566
2567 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2568
2569 DEFAULT_wxUSE_COCOA=0
2570 DEFAULT_wxUSE_GTK=0
2571 DEFAULT_wxUSE_MAC=0
2572 DEFAULT_wxUSE_MGL=0
2573 DEFAULT_wxUSE_MICROWIN=0
2574 DEFAULT_wxUSE_MOTIF=0
2575 DEFAULT_wxUSE_MSW=0
2576 DEFAULT_wxUSE_PM=0
2577 DEFAULT_wxUSE_X11=0
2578 DEFAULT_wxUSE_DFB=0
2579
2580 DEFAULT_DEFAULT_wxUSE_COCOA=0
2581 DEFAULT_DEFAULT_wxUSE_GTK=0
2582 DEFAULT_DEFAULT_wxUSE_MAC=0
2583 DEFAULT_DEFAULT_wxUSE_MGL=0
2584 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2585 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2586 DEFAULT_DEFAULT_wxUSE_MSW=0
2587 DEFAULT_DEFAULT_wxUSE_PM=0
2588 DEFAULT_DEFAULT_wxUSE_X11=0
2589 DEFAULT_DEFAULT_wxUSE_DFB=0
2590
2591 PROGRAM_EXT=
2592 SO_SUFFIX=so
2593 SAMPLES_RPATH_FLAG=
2594 SAMPLES_RPATH_POSTLINK=
2595
2596 DEFAULT_STD_FLAG=yes
2597
2598 case "${host}" in
2599 *-hp-hpux* )
2600 USE_HPUX=1
2601 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2602 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2603 SO_SUFFIX=sl
2604 cat >>confdefs.h <<\_ACEOF
2605 #define __HPUX__ 1
2606 _ACEOF
2607
2608
2609 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2610 ;;
2611 *-*-linux* )
2612 USE_LINUX=1
2613 cat >>confdefs.h <<\_ACEOF
2614 #define __LINUX__ 1
2615 _ACEOF
2616
2617 TMP=`uname -m`
2618 if test "x$TMP" = "xalpha"; then
2619 USE_ALPHA=1
2620 cat >>confdefs.h <<\_ACEOF
2621 #define __ALPHA__ 1
2622 _ACEOF
2623
2624 fi
2625 DEFAULT_DEFAULT_wxUSE_GTK=1
2626 ;;
2627 *-*-gnu* | *-*-k*bsd*-gnu )
2628 USE_GNU=1
2629 TMP=`uname -m`
2630 if test "x$TMP" = "xalpha"; then
2631 USE_ALPHA=1
2632 cat >>confdefs.h <<\_ACEOF
2633 #define __ALPHA__ 1
2634 _ACEOF
2635
2636 fi
2637 DEFAULT_DEFAULT_wxUSE_GTK=1
2638 ;;
2639 *-*-irix5* | *-*-irix6* )
2640 USE_SGI=1
2641 USE_SVR4=1
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __SGI__ 1
2644 _ACEOF
2645
2646 cat >>confdefs.h <<\_ACEOF
2647 #define __SVR4__ 1
2648 _ACEOF
2649
2650 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2651 ;;
2652 *-*-solaris2* )
2653 USE_SUN=1
2654 USE_SOLARIS=1
2655 USE_SVR4=1
2656 cat >>confdefs.h <<\_ACEOF
2657 #define __SUN__ 1
2658 _ACEOF
2659
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SOLARIS__ 1
2662 _ACEOF
2663
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SVR4__ 1
2666 _ACEOF
2667
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2669 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2670 ;;
2671 *-*-sunos4* )
2672 USE_SUN=1
2673 USE_SUNOS=1
2674 USE_BSD=1
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SUN__ 1
2677 _ACEOF
2678
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __SUNOS__ 1
2681 _ACEOF
2682
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __BSD__ 1
2685 _ACEOF
2686
2687 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2688 ;;
2689 *-*-freebsd*)
2690 USE_BSD=1
2691 USE_FREEBSD=1
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __FREEBSD__ 1
2694 _ACEOF
2695
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __BSD__ 1
2698 _ACEOF
2699
2700 DEFAULT_DEFAULT_wxUSE_GTK=1
2701 ;;
2702 *-*-openbsd*|*-*-mirbsd*)
2703 USE_BSD=1
2704 USE_OPENBSD=1
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __OPENBSD__ 1
2707 _ACEOF
2708
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __BSD__ 1
2711 _ACEOF
2712
2713 DEFAULT_DEFAULT_wxUSE_GTK=1
2714 ;;
2715 *-*-netbsd*)
2716 USE_BSD=1
2717 USE_NETBSD=1
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __NETBSD__ 1
2720 _ACEOF
2721
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __BSD__ 1
2724 _ACEOF
2725
2726 DEFAULT_DEFAULT_wxUSE_GTK=1
2727 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2728
2729 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2730 ;;
2731 *-*-osf* )
2732 USE_ALPHA=1
2733 USE_OSF=1
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __ALPHA__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __OSF__ 1
2740 _ACEOF
2741
2742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2744 ;;
2745 *-*-dgux5* )
2746 USE_ALPHA=1
2747 USE_SVR4=1
2748 cat >>confdefs.h <<\_ACEOF
2749 #define __ALPHA__ 1
2750 _ACEOF
2751
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __SVR4__ 1
2754 _ACEOF
2755
2756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2757 ;;
2758 *-*-sysv5* )
2759 USE_SYSV=1
2760 USE_SVR4=1
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __SYSV__ 1
2763 _ACEOF
2764
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __SVR4__ 1
2767 _ACEOF
2768
2769 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2770 ;;
2771 *-*-aix* )
2772 USE_AIX=1
2773 USE_SYSV=1
2774 USE_SVR4=1
2775 SO_SUFFIX=a
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __AIX__ 1
2778 _ACEOF
2779
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __SYSV__ 1
2782 _ACEOF
2783
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __SVR4__ 1
2786 _ACEOF
2787
2788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2789 ;;
2790
2791 *-*-*UnixWare*)
2792 USE_SYSV=1
2793 USE_SVR4=1
2794 USE_UNIXWARE=1
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __UNIXWARE__ 1
2797 _ACEOF
2798
2799 ;;
2800
2801 *-*-cygwin* | *-*-mingw32* )
2802 SO_SUFFIX=dll
2803 PROGRAM_EXT=".exe"
2804 DEFAULT_DEFAULT_wxUSE_MSW=1
2805 ;;
2806
2807 *-pc-msdosdjgpp )
2808 USE_UNIX=0
2809 USE_DOS=1
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __DOS__ 1
2812 _ACEOF
2813
2814 PROGRAM_EXT=".exe"
2815 DEFAULT_DEFAULT_wxUSE_MGL=1
2816 ;;
2817
2818 *-pc-os2_emx | *-pc-os2-emx )
2819 cat >>confdefs.h <<\_ACEOF
2820 #define __EMX__ 1
2821 _ACEOF
2822
2823 USE_OS2=1
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __OS2__ 1
2826 _ACEOF
2827
2828 PROGRAM_EXT=".exe"
2829 DEFAULT_DEFAULT_wxUSE_PM=1
2830 CXX=gcc
2831 LDFLAGS="$LDFLAGS -Zcrtdll"
2832 ac_executable_extensions=".exe"
2833 export ac_executable_extensions
2834 ac_save_IFS="$IFS"
2835 IFS='\\'
2836 ac_TEMP_PATH=
2837 for ac_dir in $PATH; do
2838 IFS=$ac_save_IFS
2839 if test -z "$ac_TEMP_PATH"; then
2840 ac_TEMP_PATH="$ac_dir"
2841 else
2842 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2843 fi
2844 done
2845 export PATH="$ac_TEMP_PATH"
2846 unset ac_TEMP_PATH
2847 DEFAULT_STD_FLAG=no
2848 ;;
2849
2850 *-*-darwin* )
2851 USE_BSD=1
2852 USE_DARWIN=1
2853 SO_SUFFIX=dylib
2854 cat >>confdefs.h <<\_ACEOF
2855 #define __BSD__ 1
2856 _ACEOF
2857
2858 cat >>confdefs.h <<\_ACEOF
2859 #define __DARWIN__ 1
2860 _ACEOF
2861
2862 cat >>confdefs.h <<\_ACEOF
2863 #define TARGET_CARBON 1
2864 _ACEOF
2865
2866 DEFAULT_DEFAULT_wxUSE_MAC=1
2867 DEFAULT_STD_FLAG=no
2868 ;;
2869 powerpc-apple-macos* )
2870 USE_UNIX=0
2871 ac_cv_c_bigendian=yes
2872 SO_SUFFIX=shlib
2873 DEFAULT_DEFAULT_wxUSE_MAC=1
2874 DEFAULT_STD_FLAG=no
2875 ;;
2876
2877 *-*-beos* )
2878 USE_BEOS=1
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __BEOS__ 1
2881 _ACEOF
2882
2883 ;;
2884
2885 *)
2886 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2887 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2888 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2889 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2890
2891 DEFAULT_DEFAULT_wxUSE_X11=1
2892 DEFAULT_wxUSE_SHARED=no
2893 esac
2894
2895
2896
2897
2898 wx_arg_cache_file="configarg.cache"
2899 echo "loading argument cache $wx_arg_cache_file"
2900 rm -f ${wx_arg_cache_file}.tmp
2901 touch ${wx_arg_cache_file}.tmp
2902 touch ${wx_arg_cache_file}
2903
2904
2905 DEBUG_CONFIGURE=0
2906 if test $DEBUG_CONFIGURE = 1; then
2907 DEFAULT_wxUSE_UNIVERSAL=no
2908 DEFAULT_wxUSE_STL=no
2909 DEFAULT_wxUSE_EXTENDED_RTTI=no
2910
2911 DEFAULT_wxUSE_NANOX=no
2912
2913 DEFAULT_wxUSE_THREADS=yes
2914
2915 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2916 DEFAULT_wxUSE_OPTIMISE=no
2917 DEFAULT_wxUSE_PROFILE=no
2918 DEFAULT_wxUSE_NO_DEPS=no
2919 DEFAULT_wxUSE_VARARG_MACROS=no
2920 DEFAULT_wxUSE_NO_RTTI=no
2921 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2922 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2923 DEFAULT_wxUSE_RPATH=yes
2924 DEFAULT_wxUSE_PERMISSIVE=no
2925 DEFAULT_wxUSE_DEBUG_FLAG=yes
2926 DEFAULT_wxUSE_DEBUG_INFO=yes
2927 DEFAULT_wxUSE_DEBUG_GDB=yes
2928 DEFAULT_wxUSE_MEM_TRACING=no
2929 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2930 DEFAULT_wxUSE_DMALLOC=no
2931 DEFAULT_wxUSE_APPLE_IEEE=no
2932
2933 DEFAULT_wxUSE_EXCEPTIONS=no
2934 DEFAULT_wxUSE_LOG=yes
2935 DEFAULT_wxUSE_LOGWINDOW=no
2936 DEFAULT_wxUSE_LOGGUI=no
2937 DEFAULT_wxUSE_LOGDIALOG=no
2938
2939 DEFAULT_wxUSE_GUI=yes
2940 DEFAULT_wxUSE_CONTROLS=no
2941
2942 DEFAULT_wxUSE_REGEX=no
2943 DEFAULT_wxUSE_XML=no
2944 DEFAULT_wxUSE_EXPAT=no
2945 DEFAULT_wxUSE_ZLIB=no
2946 DEFAULT_wxUSE_LIBPNG=no
2947 DEFAULT_wxUSE_LIBJPEG=no
2948 DEFAULT_wxUSE_LIBTIFF=no
2949 DEFAULT_wxUSE_LIBXPM=no
2950 DEFAULT_wxUSE_LIBMSPACK=no
2951 DEFAULT_wxUSE_LIBSDL=no
2952 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2953 DEFAULT_wxUSE_LIBGNOMEVFS=no
2954 DEFAULT_wxUSE_LIBHILDON=no
2955 DEFAULT_wxUSE_ODBC=no
2956 DEFAULT_wxUSE_OPENGL=no
2957
2958 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2959 DEFAULT_wxUSE_STACKWALKER=no
2960 DEFAULT_wxUSE_DEBUGREPORT=no
2961 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2962 DEFAULT_wxUSE_STD_IOSTREAM=no
2963 DEFAULT_wxUSE_STD_STRING=no
2964 DEFAULT_wxUSE_CMDLINE_PARSER=no
2965 DEFAULT_wxUSE_DATETIME=no
2966 DEFAULT_wxUSE_TIMER=no
2967 DEFAULT_wxUSE_STOPWATCH=no
2968 DEFAULT_wxUSE_FILE=no
2969 DEFAULT_wxUSE_FFILE=no
2970 DEFAULT_wxUSE_STDPATHS=no
2971 DEFAULT_wxUSE_TEXTBUFFER=no
2972 DEFAULT_wxUSE_TEXTFILE=no
2973 DEFAULT_wxUSE_SOUND=no
2974 DEFAULT_wxUSE_MEDIACTRL=no
2975 DEFAULT_wxUSE_GSTREAMER8=no
2976 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2977 DEFAULT_wxUSE_INTL=no
2978 DEFAULT_wxUSE_CONFIG=no
2979 DEFAULT_wxUSE_FONTMAP=no
2980 DEFAULT_wxUSE_STREAMS=no
2981 DEFAULT_wxUSE_SOCKETS=no
2982 DEFAULT_wxUSE_OLE=no
2983 DEFAULT_wxUSE_DATAOBJ=no
2984 DEFAULT_wxUSE_DIALUP_MANAGER=no
2985 DEFAULT_wxUSE_JOYSTICK=no
2986 DEFAULT_wxUSE_DYNLIB_CLASS=no
2987 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2988 DEFAULT_wxUSE_LONGLONG=no
2989 DEFAULT_wxUSE_GEOMETRY=no
2990
2991 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2992 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2993 DEFAULT_wxUSE_POSTSCRIPT=no
2994
2995 DEFAULT_wxUSE_CLIPBOARD=no
2996 DEFAULT_wxUSE_TOOLTIPS=no
2997 DEFAULT_wxUSE_DRAG_AND_DROP=no
2998 DEFAULT_wxUSE_DRAGIMAGE=no
2999 DEFAULT_wxUSE_SPLINES=no
3000 DEFAULT_wxUSE_MOUSEWHEEL=no
3001
3002 DEFAULT_wxUSE_MDI=no
3003 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3004 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3005 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3006
3007 DEFAULT_wxUSE_CONSTRAINTS=no
3008 DEFAULT_wxUSE_IPC=no
3009 DEFAULT_wxUSE_HELP=no
3010 DEFAULT_wxUSE_MS_HTML_HELP=no
3011 DEFAULT_wxUSE_WXHTML_HELP=no
3012 DEFAULT_wxUSE_TREELAYOUT=no
3013 DEFAULT_wxUSE_METAFILE=no
3014 DEFAULT_wxUSE_MIMETYPE=no
3015 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3016 DEFAULT_wxUSE_PROTOCOL=no
3017 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3018 DEFAULT_wxUSE_PROTOCOL_FTP=no
3019 DEFAULT_wxUSE_PROTOCOL_FILE=no
3020 DEFAULT_wxUSE_URL=no
3021 DEFAULT_wxUSE_VARIANT=no
3022
3023 DEFAULT_wxUSE_ABOUTDLG=no
3024 DEFAULT_wxUSE_COMMONDLGS=no
3025 DEFAULT_wxUSE_CHOICEDLG=no
3026 DEFAULT_wxUSE_COLOURDLG=no
3027 DEFAULT_wxUSE_DIRDLG=no
3028 DEFAULT_wxUSE_FILEDLG=no
3029 DEFAULT_wxUSE_FINDREPLDLG=no
3030 DEFAULT_wxUSE_FONTDLG=no
3031 DEFAULT_wxUSE_MSGDLG=no
3032 DEFAULT_wxUSE_NUMBERDLG=no
3033 DEFAULT_wxUSE_TEXTDLG=no
3034 DEFAULT_wxUSE_SPLASH=no
3035 DEFAULT_wxUSE_STARTUP_TIPS=no
3036 DEFAULT_wxUSE_PROGRESSDLG=no
3037 DEFAULT_wxUSE_WIZARDDLG=no
3038
3039 DEFAULT_wxUSE_MENUS=no
3040 DEFAULT_wxUSE_MINIFRAME=no
3041 DEFAULT_wxUSE_HTML=no
3042 DEFAULT_wxUSE_RICHTEXT=no
3043 DEFAULT_wxUSE_XRC=no
3044 DEFAULT_wxUSE_AUI=no
3045 DEFAULT_wxUSE_STC=no
3046 DEFAULT_wxUSE_WEBKIT=no
3047 DEFAULT_wxUSE_FILESYSTEM=no
3048 DEFAULT_wxUSE_FS_INET=no
3049 DEFAULT_wxUSE_FS_ZIP=no
3050 DEFAULT_wxUSE_FS_ARCHIVE=no
3051 DEFAULT_wxUSE_BUSYINFO=no
3052 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3053 DEFAULT_wxUSE_ZIPSTREAM=no
3054 DEFAULT_wxUSE_TARSTREAM=no
3055 DEFAULT_wxUSE_VALIDATORS=no
3056
3057 DEFAULT_wxUSE_ACCEL=no
3058 DEFAULT_wxUSE_ANIMATIONCTRL=no
3059 DEFAULT_wxUSE_BUTTON=no
3060 DEFAULT_wxUSE_BMPBUTTON=no
3061 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3062 DEFAULT_wxUSE_CALCTRL=no
3063 DEFAULT_wxUSE_CARET=no
3064 DEFAULT_wxUSE_CHECKBOX=no
3065 DEFAULT_wxUSE_CHECKLST=no
3066 DEFAULT_wxUSE_CHOICE=no
3067 DEFAULT_wxUSE_CHOICEBOOK=no
3068 DEFAULT_wxUSE_COLLPANE=no
3069 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3070 DEFAULT_wxUSE_COMBOBOX=no
3071 DEFAULT_wxUSE_COMBOCTRL=no
3072 DEFAULT_wxUSE_DATEPICKCTRL=no
3073 DEFAULT_wxUSE_DISPLAY=no
3074 DEFAULT_wxUSE_DETECT_SM=no
3075 DEFAULT_wxUSE_DIRPICKERCTRL=no
3076 DEFAULT_wxUSE_EDITABLELISTBOX=no
3077 DEFAULT_wxUSE_FILEPICKERCTRL=no
3078 DEFAULT_wxUSE_FONTPICKERCTRL=no
3079 DEFAULT_wxUSE_GAUGE=no
3080 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3081 DEFAULT_wxUSE_GRID=no
3082 DEFAULT_wxUSE_HYPERLINKCTRL=no
3083 DEFAULT_wxUSE_DATAVIEWCTRL=no
3084 DEFAULT_wxUSE_IMAGLIST=no
3085 DEFAULT_wxUSE_LISTBOOK=no
3086 DEFAULT_wxUSE_LISTBOX=no
3087 DEFAULT_wxUSE_LISTCTRL=no
3088 DEFAULT_wxUSE_NOTEBOOK=no
3089 DEFAULT_wxUSE_ODCOMBOBOX=no
3090 DEFAULT_wxUSE_RADIOBOX=no
3091 DEFAULT_wxUSE_RADIOBTN=no
3092 DEFAULT_wxUSE_SASH=no
3093 DEFAULT_wxUSE_SCROLLBAR=no
3094 DEFAULT_wxUSE_SEARCHCTRL=no
3095 DEFAULT_wxUSE_SLIDER=no
3096 DEFAULT_wxUSE_SPINBTN=no
3097 DEFAULT_wxUSE_SPINCTRL=no
3098 DEFAULT_wxUSE_SPLITTER=no
3099 DEFAULT_wxUSE_STATBMP=no
3100 DEFAULT_wxUSE_STATBOX=no
3101 DEFAULT_wxUSE_STATLINE=no
3102 DEFAULT_wxUSE_STATTEXT=no
3103 DEFAULT_wxUSE_STATUSBAR=yes
3104 DEFAULT_wxUSE_TAB_DIALOG=no
3105 DEFAULT_wxUSE_TEXTCTRL=no
3106 DEFAULT_wxUSE_TOGGLEBTN=no
3107 DEFAULT_wxUSE_TOOLBAR=no
3108 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3109 DEFAULT_wxUSE_TREEBOOK=no
3110 DEFAULT_wxUSE_TOOLBOOK=no
3111 DEFAULT_wxUSE_TREECTRL=no
3112 DEFAULT_wxUSE_POPUPWIN=no
3113 DEFAULT_wxUSE_TIPWINDOW=no
3114
3115 DEFAULT_wxUSE_UNICODE=no
3116 DEFAULT_wxUSE_UNICODE_MSLU=no
3117 DEFAULT_wxUSE_UNICODE_UTF8=auto
3118 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3119 DEFAULT_wxUSE_WCSRTOMBS=no
3120
3121 DEFAULT_wxUSE_PALETTE=no
3122 DEFAULT_wxUSE_IMAGE=no
3123 DEFAULT_wxUSE_GIF=no
3124 DEFAULT_wxUSE_PCX=no
3125 DEFAULT_wxUSE_TGA=no
3126 DEFAULT_wxUSE_PNM=no
3127 DEFAULT_wxUSE_IFF=no
3128 DEFAULT_wxUSE_XPM=no
3129 DEFAULT_wxUSE_ICO_CUR=no
3130 DEFAULT_wxUSE_ACCESSIBILITY=no
3131
3132 DEFAULT_wxUSE_MONOLITHIC=no
3133 DEFAULT_wxUSE_PLUGINS=no
3134 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3135 else
3136 DEFAULT_wxUSE_UNIVERSAL=no
3137 DEFAULT_wxUSE_STL=no
3138 DEFAULT_wxUSE_EXTENDED_RTTI=no
3139
3140 DEFAULT_wxUSE_NANOX=no
3141
3142 DEFAULT_wxUSE_THREADS=yes
3143
3144 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3145 DEFAULT_wxUSE_OPTIMISE=yes
3146 DEFAULT_wxUSE_PROFILE=no
3147 DEFAULT_wxUSE_NO_DEPS=no
3148 DEFAULT_wxUSE_VARARG_MACROS=yes
3149 DEFAULT_wxUSE_NO_RTTI=no
3150 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3151 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3152 DEFAULT_wxUSE_RPATH=yes
3153 DEFAULT_wxUSE_PERMISSIVE=no
3154 DEFAULT_wxUSE_DEBUG_FLAG=no
3155 DEFAULT_wxUSE_DEBUG_INFO=no
3156 DEFAULT_wxUSE_DEBUG_GDB=no
3157 DEFAULT_wxUSE_MEM_TRACING=no
3158 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3159 DEFAULT_wxUSE_DMALLOC=no
3160 DEFAULT_wxUSE_APPLE_IEEE=yes
3161
3162 DEFAULT_wxUSE_EXCEPTIONS=yes
3163 DEFAULT_wxUSE_LOG=yes
3164 DEFAULT_wxUSE_LOGWINDOW=yes
3165 DEFAULT_wxUSE_LOGGUI=yes
3166 DEFAULT_wxUSE_LOGDIALOG=yes
3167
3168 DEFAULT_wxUSE_GUI=yes
3169
3170 DEFAULT_wxUSE_REGEX=yes
3171 DEFAULT_wxUSE_XML=yes
3172 DEFAULT_wxUSE_EXPAT=yes
3173 DEFAULT_wxUSE_ZLIB=yes
3174 DEFAULT_wxUSE_LIBPNG=yes
3175 DEFAULT_wxUSE_LIBJPEG=yes
3176 DEFAULT_wxUSE_LIBTIFF=yes
3177 DEFAULT_wxUSE_LIBXPM=yes
3178 DEFAULT_wxUSE_LIBMSPACK=yes
3179 DEFAULT_wxUSE_LIBSDL=no
3180 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3181 DEFAULT_wxUSE_LIBGNOMEVFS=no
3182 DEFAULT_wxUSE_LIBHILDON=no
3183 DEFAULT_wxUSE_ODBC=no
3184 DEFAULT_wxUSE_OPENGL=no
3185
3186 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3187 DEFAULT_wxUSE_STACKWALKER=yes
3188 DEFAULT_wxUSE_DEBUGREPORT=yes
3189 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3190 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3191 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3192 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3193 DEFAULT_wxUSE_DATETIME=yes
3194 DEFAULT_wxUSE_TIMER=yes
3195 DEFAULT_wxUSE_STOPWATCH=yes
3196 DEFAULT_wxUSE_FILE=yes
3197 DEFAULT_wxUSE_FFILE=yes
3198 DEFAULT_wxUSE_STDPATHS=yes
3199 DEFAULT_wxUSE_TEXTBUFFER=yes
3200 DEFAULT_wxUSE_TEXTFILE=yes
3201 DEFAULT_wxUSE_SOUND=yes
3202 DEFAULT_wxUSE_MEDIACTRL=no
3203 DEFAULT_wxUSE_GSTREAMER8=no
3204 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3205 DEFAULT_wxUSE_INTL=yes
3206 DEFAULT_wxUSE_CONFIG=yes
3207 DEFAULT_wxUSE_FONTMAP=yes
3208 DEFAULT_wxUSE_STREAMS=yes
3209 DEFAULT_wxUSE_SOCKETS=yes
3210 DEFAULT_wxUSE_OLE=yes
3211 DEFAULT_wxUSE_DATAOBJ=yes
3212 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3213 DEFAULT_wxUSE_JOYSTICK=yes
3214 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3215 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3216 DEFAULT_wxUSE_LONGLONG=yes
3217 DEFAULT_wxUSE_GEOMETRY=yes
3218
3219 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3220 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3221 DEFAULT_wxUSE_POSTSCRIPT=yes
3222
3223 DEFAULT_wxUSE_CLIPBOARD=yes
3224 DEFAULT_wxUSE_TOOLTIPS=yes
3225 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3226 DEFAULT_wxUSE_DRAGIMAGE=yes
3227 DEFAULT_wxUSE_SPLINES=yes
3228 DEFAULT_wxUSE_MOUSEWHEEL=yes
3229
3230 DEFAULT_wxUSE_MDI=yes
3231 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3232 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3233 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3234
3235 DEFAULT_wxUSE_CONSTRAINTS=yes
3236 DEFAULT_wxUSE_IPC=yes
3237 DEFAULT_wxUSE_HELP=yes
3238 DEFAULT_wxUSE_MS_HTML_HELP=yes
3239 DEFAULT_wxUSE_WXHTML_HELP=yes
3240 DEFAULT_wxUSE_TREELAYOUT=yes
3241 DEFAULT_wxUSE_METAFILE=yes
3242 DEFAULT_wxUSE_MIMETYPE=yes
3243 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3244 DEFAULT_wxUSE_PROTOCOL=yes
3245 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3246 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3247 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3248 DEFAULT_wxUSE_URL=yes
3249 DEFAULT_wxUSE_VARIANT=yes
3250
3251 DEFAULT_wxUSE_ABOUTDLG=yes
3252 DEFAULT_wxUSE_COMMONDLGS=yes
3253 DEFAULT_wxUSE_CHOICEDLG=yes
3254 DEFAULT_wxUSE_COLOURDLG=yes
3255 DEFAULT_wxUSE_DIRDLG=yes
3256 DEFAULT_wxUSE_FILEDLG=yes
3257 DEFAULT_wxUSE_FINDREPLDLG=yes
3258 DEFAULT_wxUSE_FONTDLG=yes
3259 DEFAULT_wxUSE_MSGDLG=yes
3260 DEFAULT_wxUSE_NUMBERDLG=yes
3261 DEFAULT_wxUSE_TEXTDLG=yes
3262 DEFAULT_wxUSE_SPLASH=yes
3263 DEFAULT_wxUSE_STARTUP_TIPS=yes
3264 DEFAULT_wxUSE_PROGRESSDLG=yes
3265 DEFAULT_wxUSE_WIZARDDLG=yes
3266
3267 DEFAULT_wxUSE_MENUS=yes
3268 DEFAULT_wxUSE_MINIFRAME=yes
3269 DEFAULT_wxUSE_HTML=yes
3270 DEFAULT_wxUSE_RICHTEXT=yes
3271 DEFAULT_wxUSE_XRC=yes
3272 DEFAULT_wxUSE_AUI=yes
3273 DEFAULT_wxUSE_STC=yes
3274 DEFAULT_wxUSE_WEBKIT=yes
3275 DEFAULT_wxUSE_FILESYSTEM=yes
3276 DEFAULT_wxUSE_FS_INET=yes
3277 DEFAULT_wxUSE_FS_ZIP=yes
3278 DEFAULT_wxUSE_FS_ARCHIVE=yes
3279 DEFAULT_wxUSE_BUSYINFO=yes
3280 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3281 DEFAULT_wxUSE_ZIPSTREAM=yes
3282 DEFAULT_wxUSE_TARSTREAM=yes
3283 DEFAULT_wxUSE_VALIDATORS=yes
3284
3285 DEFAULT_wxUSE_ACCEL=yes
3286 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3287 DEFAULT_wxUSE_BUTTON=yes
3288 DEFAULT_wxUSE_BMPBUTTON=yes
3289 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3290 DEFAULT_wxUSE_CALCTRL=yes
3291 DEFAULT_wxUSE_CARET=yes
3292 DEFAULT_wxUSE_CHECKBOX=yes
3293 DEFAULT_wxUSE_CHECKLST=yes
3294 DEFAULT_wxUSE_CHOICE=yes
3295 DEFAULT_wxUSE_CHOICEBOOK=yes
3296 DEFAULT_wxUSE_COLLPANE=yes
3297 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3298 DEFAULT_wxUSE_COMBOBOX=yes
3299 DEFAULT_wxUSE_COMBOCTRL=yes
3300 DEFAULT_wxUSE_DATEPICKCTRL=yes
3301 DEFAULT_wxUSE_DISPLAY=yes
3302 DEFAULT_wxUSE_DETECT_SM=yes
3303 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3304 DEFAULT_wxUSE_EDITABLELISTBOX=yes
3305 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3306 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3307 DEFAULT_wxUSE_GAUGE=yes
3308 DEFAULT_wxUSE_GRID=yes
3309 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3310 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3311 DEFAULT_wxUSE_DATAVIEWCTRL=no
3312 DEFAULT_wxUSE_IMAGLIST=yes
3313 DEFAULT_wxUSE_LISTBOOK=yes
3314 DEFAULT_wxUSE_LISTBOX=yes
3315 DEFAULT_wxUSE_LISTCTRL=yes
3316 DEFAULT_wxUSE_NOTEBOOK=yes
3317 DEFAULT_wxUSE_ODCOMBOBOX=yes
3318 DEFAULT_wxUSE_RADIOBOX=yes
3319 DEFAULT_wxUSE_RADIOBTN=yes
3320 DEFAULT_wxUSE_SASH=yes
3321 DEFAULT_wxUSE_SCROLLBAR=yes
3322 DEFAULT_wxUSE_SEARCHCTRL=yes
3323 DEFAULT_wxUSE_SLIDER=yes
3324 DEFAULT_wxUSE_SPINBTN=yes
3325 DEFAULT_wxUSE_SPINCTRL=yes
3326 DEFAULT_wxUSE_SPLITTER=yes
3327 DEFAULT_wxUSE_STATBMP=yes
3328 DEFAULT_wxUSE_STATBOX=yes
3329 DEFAULT_wxUSE_STATLINE=yes
3330 DEFAULT_wxUSE_STATTEXT=yes
3331 DEFAULT_wxUSE_STATUSBAR=yes
3332 DEFAULT_wxUSE_TAB_DIALOG=no
3333 DEFAULT_wxUSE_TEXTCTRL=yes
3334 DEFAULT_wxUSE_TOGGLEBTN=yes
3335 DEFAULT_wxUSE_TOOLBAR=yes
3336 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3337 DEFAULT_wxUSE_TREEBOOK=yes
3338 DEFAULT_wxUSE_TOOLBOOK=yes
3339 DEFAULT_wxUSE_TREECTRL=yes
3340 DEFAULT_wxUSE_POPUPWIN=yes
3341 DEFAULT_wxUSE_TIPWINDOW=yes
3342
3343 DEFAULT_wxUSE_UNICODE=no
3344 DEFAULT_wxUSE_UNICODE_MSLU=yes
3345 DEFAULT_wxUSE_UNICODE_UTF8=auto
3346 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3347 DEFAULT_wxUSE_WCSRTOMBS=no
3348
3349 DEFAULT_wxUSE_PALETTE=yes
3350 DEFAULT_wxUSE_IMAGE=yes
3351 DEFAULT_wxUSE_GIF=yes
3352 DEFAULT_wxUSE_PCX=yes
3353 DEFAULT_wxUSE_TGA=yes
3354 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3355 DEFAULT_wxUSE_XPM=yes
3356 DEFAULT_wxUSE_ICO_CUR=yes
3357 DEFAULT_wxUSE_ACCESSIBILITY=no
3358
3359 DEFAULT_wxUSE_MONOLITHIC=no
3360 DEFAULT_wxUSE_PLUGINS=no
3361 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3362
3363 DEFAULT_wxUSE_GTK2=yes
3364 fi
3365
3366 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3367
3368
3369
3370
3371 for toolkit in `echo $ALL_TOOLKITS`; do
3372 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3373 if test "x$LINE" != "x" ; then
3374 has_toolkit_in_cache=1
3375 eval "DEFAULT_$LINE"
3376 eval "CACHE_$toolkit=1"
3377
3378 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3379 if test "x$LINE" != "x" ; then
3380 eval "DEFAULT_$LINE"
3381 fi
3382 fi
3383 done
3384
3385
3386
3387 enablestring=
3388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3389 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3390 no_cache=0
3391 # Check whether --enable-gui was given.
3392 if test "${enable_gui+set}" = set; then
3393 enableval=$enable_gui;
3394 if test "$enableval" = yes; then
3395 ac_cv_use_gui='wxUSE_GUI=yes'
3396 else
3397 ac_cv_use_gui='wxUSE_GUI=no'
3398 fi
3399
3400 else
3401
3402 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3403 if test "x$LINE" != x ; then
3404 eval "DEFAULT_$LINE"
3405 else
3406 no_cache=1
3407 fi
3408
3409 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3410
3411 fi
3412
3413
3414 eval "$ac_cv_use_gui"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3417 fi
3418
3419 if test "$wxUSE_GUI" = yes; then
3420 { echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6; }
3422 else
3423 { echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6; }
3425 fi
3426
3427
3428 enablestring=
3429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3430 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3431 no_cache=0
3432 # Check whether --enable-monolithic was given.
3433 if test "${enable_monolithic+set}" = set; then
3434 enableval=$enable_monolithic;
3435 if test "$enableval" = yes; then
3436 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3437 else
3438 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3439 fi
3440
3441 else
3442
3443 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3444 if test "x$LINE" != x ; then
3445 eval "DEFAULT_$LINE"
3446 else
3447 no_cache=1
3448 fi
3449
3450 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3451
3452 fi
3453
3454
3455 eval "$ac_cv_use_monolithic"
3456 if test "$no_cache" != 1; then
3457 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3458 fi
3459
3460 if test "$wxUSE_MONOLITHIC" = yes; then
3461 { echo "$as_me:$LINENO: result: yes" >&5
3462 echo "${ECHO_T}yes" >&6; }
3463 else
3464 { echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6; }
3466 fi
3467
3468
3469 enablestring=
3470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3471 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3472 no_cache=0
3473 # Check whether --enable-plugins was given.
3474 if test "${enable_plugins+set}" = set; then
3475 enableval=$enable_plugins;
3476 if test "$enableval" = yes; then
3477 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3478 else
3479 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3480 fi
3481
3482 else
3483
3484 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3485 if test "x$LINE" != x ; then
3486 eval "DEFAULT_$LINE"
3487 else
3488 no_cache=1
3489 fi
3490
3491 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3492
3493 fi
3494
3495
3496 eval "$ac_cv_use_plugins"
3497 if test "$no_cache" != 1; then
3498 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3499 fi
3500
3501 if test "$wxUSE_PLUGINS" = yes; then
3502 { echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6; }
3504 else
3505 { echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6; }
3507 fi
3508
3509
3510 withstring=without
3511 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3512 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3513 no_cache=0
3514
3515 # Check whether --with-subdirs was given.
3516 if test "${with_subdirs+set}" = set; then
3517 withval=$with_subdirs;
3518 if test "$withval" = yes; then
3519 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3520 else
3521 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3522 fi
3523
3524 else
3525
3526 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x ; then
3528 eval "DEFAULT_$LINE"
3529 else
3530 no_cache=1
3531 fi
3532
3533 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3534
3535 fi
3536
3537
3538 eval "$ac_cv_use_subdirs"
3539 if test "$no_cache" != 1; then
3540 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3541 fi
3542
3543 if test "$wxWITH_SUBDIRS" = yes; then
3544 { echo "$as_me:$LINENO: result: yes" >&5
3545 echo "${ECHO_T}yes" >&6; }
3546 else
3547 { echo "$as_me:$LINENO: result: no" >&5
3548 echo "${ECHO_T}no" >&6; }
3549 fi
3550
3551
3552 if test "$wxUSE_GUI" = "yes"; then
3553
3554
3555 enablestring=
3556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3557 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3558 no_cache=0
3559 # Check whether --enable-universal was given.
3560 if test "${enable_universal+set}" = set; then
3561 enableval=$enable_universal;
3562 if test "$enableval" = yes; then
3563 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3564 else
3565 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3566 fi
3567
3568 else
3569
3570 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x ; then
3572 eval "DEFAULT_$LINE"
3573 else
3574 no_cache=1
3575 fi
3576
3577 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3578
3579 fi
3580
3581
3582 eval "$ac_cv_use_universal"
3583 if test "$no_cache" != 1; then
3584 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3585 fi
3586
3587 if test "$wxUSE_UNIVERSAL" = yes; then
3588 { echo "$as_me:$LINENO: result: yes" >&5
3589 echo "${ECHO_T}yes" >&6; }
3590 else
3591 { echo "$as_me:$LINENO: result: no" >&5
3592 echo "${ECHO_T}no" >&6; }
3593 fi
3594
3595
3596 # Check whether --with-gtk was given.
3597 if test "${with_gtk+set}" = set; then
3598 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3599 fi
3600
3601
3602 # Check whether --with-motif was given.
3603 if test "${with_motif+set}" = set; then
3604 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3605 fi
3606
3607
3608 # Check whether --with-mac was given.
3609 if test "${with_mac+set}" = set; then
3610 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3611 fi
3612
3613
3614 # Check whether --with-cocoa was given.
3615 if test "${with_cocoa+set}" = set; then
3616 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3617 fi
3618
3619
3620 # Check whether --with-wine was given.
3621 if test "${with_wine+set}" = set; then
3622 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3623 fi
3624
3625
3626 # Check whether --with-msw was given.
3627 if test "${with_msw+set}" = set; then
3628 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3629 fi
3630
3631
3632 # Check whether --with-pm was given.
3633 if test "${with_pm+set}" = set; then
3634 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3635 fi
3636
3637
3638 # Check whether --with-mgl was given.
3639 if test "${with_mgl+set}" = set; then
3640 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3641 fi
3642
3643
3644 # Check whether --with-directfb was given.
3645 if test "${with_directfb+set}" = set; then
3646 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3647 fi
3648
3649
3650 # Check whether --with-microwin was given.
3651 if test "${with_microwin+set}" = set; then
3652 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3653 fi
3654
3655
3656 # Check whether --with-x11 was given.
3657 if test "${with_x11+set}" = set; then
3658 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3659 fi
3660
3661
3662 enablestring=
3663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3664 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3665 no_cache=0
3666 # Check whether --enable-nanox was given.
3667 if test "${enable_nanox+set}" = set; then
3668 enableval=$enable_nanox;
3669 if test "$enableval" = yes; then
3670 ac_cv_use_nanox='wxUSE_NANOX=yes'
3671 else
3672 ac_cv_use_nanox='wxUSE_NANOX=no'
3673 fi
3674
3675 else
3676
3677 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3678 if test "x$LINE" != x ; then
3679 eval "DEFAULT_$LINE"
3680 else
3681 no_cache=1
3682 fi
3683
3684 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3685
3686 fi
3687
3688
3689 eval "$ac_cv_use_nanox"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3692 fi
3693
3694 if test "$wxUSE_NANOX" = yes; then
3695 { echo "$as_me:$LINENO: result: yes" >&5
3696 echo "${ECHO_T}yes" >&6; }
3697 else
3698 { echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6; }
3700 fi
3701
3702
3703 # Check whether --enable-gtk2 was given.
3704 if test "${enable_gtk2+set}" = set; then
3705 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3706 fi
3707
3708
3709 enablestring=
3710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3711 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3712 no_cache=0
3713 # Check whether --enable-gpe was given.
3714 if test "${enable_gpe+set}" = set; then
3715 enableval=$enable_gpe;
3716 if test "$enableval" = yes; then
3717 ac_cv_use_gpe='wxUSE_GPE=yes'
3718 else
3719 ac_cv_use_gpe='wxUSE_GPE=no'
3720 fi
3721
3722 else
3723
3724 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x ; then
3726 eval "DEFAULT_$LINE"
3727 else
3728 no_cache=1
3729 fi
3730
3731 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3732
3733 fi
3734
3735
3736 eval "$ac_cv_use_gpe"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3739 fi
3740
3741 if test "$wxUSE_GPE" = yes; then
3742 { echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6; }
3744 else
3745 { echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6; }
3747 fi
3748
3749
3750
3751 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3752 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3753 no_cache=0
3754
3755 # Check whether --with-libpng was given.
3756 if test "${with_libpng+set}" = set; then
3757 withval=$with_libpng;
3758 if test "$withval" = yes; then
3759 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3760 elif test "$withval" = no; then
3761 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3762 elif test "$withval" = sys; then
3763 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3764 elif test "$withval" = builtin; then
3765 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3766 else
3767 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3768 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3769 { (exit 1); exit 1; }; }
3770 fi
3771
3772 else
3773
3774 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3775 if test "x$LINE" != x ; then
3776 eval "DEFAULT_$LINE"
3777 else
3778 no_cache=1
3779 fi
3780
3781 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3782
3783 fi
3784
3785
3786 eval "$ac_cv_use_libpng"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3789 fi
3790
3791 if test "$wxUSE_LIBPNG" = yes; then
3792 { echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6; }
3794 elif test "$wxUSE_LIBPNG" = no; then
3795 { echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6; }
3797 elif test "$wxUSE_LIBPNG" = sys; then
3798 { echo "$as_me:$LINENO: result: system version" >&5
3799 echo "${ECHO_T}system version" >&6; }
3800 elif test "$wxUSE_LIBPNG" = builtin; then
3801 { echo "$as_me:$LINENO: result: builtin version" >&5
3802 echo "${ECHO_T}builtin version" >&6; }
3803 else
3804 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3805 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3806 { (exit 1); exit 1; }; }
3807 fi
3808
3809
3810 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3811 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3812 no_cache=0
3813
3814 # Check whether --with-libjpeg was given.
3815 if test "${with_libjpeg+set}" = set; then
3816 withval=$with_libjpeg;
3817 if test "$withval" = yes; then
3818 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3819 elif test "$withval" = no; then
3820 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3821 elif test "$withval" = sys; then
3822 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3823 elif test "$withval" = builtin; then
3824 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3825 else
3826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3827 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3829 fi
3830
3831 else
3832
3833 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x ; then
3835 eval "DEFAULT_$LINE"
3836 else
3837 no_cache=1
3838 fi
3839
3840 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3841
3842 fi
3843
3844
3845 eval "$ac_cv_use_libjpeg"
3846 if test "$no_cache" != 1; then
3847 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3848 fi
3849
3850 if test "$wxUSE_LIBJPEG" = yes; then
3851 { echo "$as_me:$LINENO: result: yes" >&5
3852 echo "${ECHO_T}yes" >&6; }
3853 elif test "$wxUSE_LIBJPEG" = no; then
3854 { echo "$as_me:$LINENO: result: no" >&5
3855 echo "${ECHO_T}no" >&6; }
3856 elif test "$wxUSE_LIBJPEG" = sys; then
3857 { echo "$as_me:$LINENO: result: system version" >&5
3858 echo "${ECHO_T}system version" >&6; }
3859 elif test "$wxUSE_LIBJPEG" = builtin; then
3860 { echo "$as_me:$LINENO: result: builtin version" >&5
3861 echo "${ECHO_T}builtin version" >&6; }
3862 else
3863 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3864 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3865 { (exit 1); exit 1; }; }
3866 fi
3867
3868
3869 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3870 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3871 no_cache=0
3872
3873 # Check whether --with-libtiff was given.
3874 if test "${with_libtiff+set}" = set; then
3875 withval=$with_libtiff;
3876 if test "$withval" = yes; then
3877 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3878 elif test "$withval" = no; then
3879 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3880 elif test "$withval" = sys; then
3881 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3882 elif test "$withval" = builtin; then
3883 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3884 else
3885 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3886 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3887 { (exit 1); exit 1; }; }
3888 fi
3889
3890 else
3891
3892 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x ; then
3894 eval "DEFAULT_$LINE"
3895 else
3896 no_cache=1
3897 fi
3898
3899 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3900
3901 fi
3902
3903
3904 eval "$ac_cv_use_libtiff"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3907 fi
3908
3909 if test "$wxUSE_LIBTIFF" = yes; then
3910 { echo "$as_me:$LINENO: result: yes" >&5
3911 echo "${ECHO_T}yes" >&6; }
3912 elif test "$wxUSE_LIBTIFF" = no; then
3913 { echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6; }
3915 elif test "$wxUSE_LIBTIFF" = sys; then
3916 { echo "$as_me:$LINENO: result: system version" >&5
3917 echo "${ECHO_T}system version" >&6; }
3918 elif test "$wxUSE_LIBTIFF" = builtin; then
3919 { echo "$as_me:$LINENO: result: builtin version" >&5
3920 echo "${ECHO_T}builtin version" >&6; }
3921 else
3922 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3923 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3924 { (exit 1); exit 1; }; }
3925 fi
3926
3927
3928 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3929 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3930 no_cache=0
3931
3932 # Check whether --with-libxpm was given.
3933 if test "${with_libxpm+set}" = set; then
3934 withval=$with_libxpm;
3935 if test "$withval" = yes; then
3936 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3937 elif test "$withval" = no; then
3938 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3939 elif test "$withval" = sys; then
3940 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3941 elif test "$withval" = builtin; then
3942 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3943 else
3944 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3945 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3946 { (exit 1); exit 1; }; }
3947 fi
3948
3949 else
3950
3951 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x ; then
3953 eval "DEFAULT_$LINE"
3954 else
3955 no_cache=1
3956 fi
3957
3958 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3959
3960 fi
3961
3962
3963 eval "$ac_cv_use_libxpm"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3966 fi
3967
3968 if test "$wxUSE_LIBXPM" = yes; then
3969 { echo "$as_me:$LINENO: result: yes" >&5
3970 echo "${ECHO_T}yes" >&6; }
3971 elif test "$wxUSE_LIBXPM" = no; then
3972 { echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6; }
3974 elif test "$wxUSE_LIBXPM" = sys; then
3975 { echo "$as_me:$LINENO: result: system version" >&5
3976 echo "${ECHO_T}system version" >&6; }
3977 elif test "$wxUSE_LIBXPM" = builtin; then
3978 { echo "$as_me:$LINENO: result: builtin version" >&5
3979 echo "${ECHO_T}builtin version" >&6; }
3980 else
3981 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3982 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3983 { (exit 1); exit 1; }; }
3984 fi
3985
3986
3987 withstring=
3988 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3989 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3990 no_cache=0
3991
3992 # Check whether --with-libmspack was given.
3993 if test "${with_libmspack+set}" = set; then
3994 withval=$with_libmspack;
3995 if test "$withval" = yes; then
3996 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3997 else
3998 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3999 fi
4000
4001 else
4002
4003 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
4004 if test "x$LINE" != x ; then
4005 eval "DEFAULT_$LINE"
4006 else
4007 no_cache=1
4008 fi
4009
4010 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4011
4012 fi
4013
4014
4015 eval "$ac_cv_use_libmspack"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4018 fi
4019
4020 if test "$wxUSE_LIBMSPACK" = yes; then
4021 { echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6; }
4023 else
4024 { echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6; }
4026 fi
4027
4028
4029 withstring=
4030 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4031 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4032 no_cache=0
4033
4034 # Check whether --with-sdl was given.
4035 if test "${with_sdl+set}" = set; then
4036 withval=$with_sdl;
4037 if test "$withval" = yes; then
4038 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4039 else
4040 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4041 fi
4042
4043 else
4044
4045 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4048 else
4049 no_cache=1
4050 fi
4051
4052 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4053
4054 fi
4055
4056
4057 eval "$ac_cv_use_sdl"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4060 fi
4061
4062 if test "$wxUSE_LIBSDL" = yes; then
4063 { echo "$as_me:$LINENO: result: yes" >&5
4064 echo "${ECHO_T}yes" >&6; }
4065 else
4066 { echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6; }
4068 fi
4069
4070
4071 withstring=
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4074 no_cache=0
4075
4076 # Check whether --with-gnomeprint was given.
4077 if test "${with_gnomeprint+set}" = set; then
4078 withval=$with_gnomeprint;
4079 if test "$withval" = yes; then
4080 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4081 else
4082 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4083 fi
4084
4085 else
4086
4087 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x ; then
4089 eval "DEFAULT_$LINE"
4090 else
4091 no_cache=1
4092 fi
4093
4094 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4095
4096 fi
4097
4098
4099 eval "$ac_cv_use_gnomeprint"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4102 fi
4103
4104 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4105 { echo "$as_me:$LINENO: result: yes" >&5
4106 echo "${ECHO_T}yes" >&6; }
4107 else
4108 { echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6; }
4110 fi
4111
4112
4113 withstring=
4114 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4115 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4116 no_cache=0
4117
4118 # Check whether --with-gnomevfs was given.
4119 if test "${with_gnomevfs+set}" = set; then
4120 withval=$with_gnomevfs;
4121 if test "$withval" = yes; then
4122 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4123 else
4124 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4125 fi
4126
4127 else
4128
4129 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x ; then
4131 eval "DEFAULT_$LINE"
4132 else
4133 no_cache=1
4134 fi
4135
4136 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4137
4138 fi
4139
4140
4141 eval "$ac_cv_use_gnomevfs"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4144 fi
4145
4146 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4147 { echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6; }
4149 else
4150 { echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6; }
4152 fi
4153
4154
4155 withstring=
4156 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4157 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4158 no_cache=0
4159
4160 # Check whether --with-hildon was given.
4161 if test "${with_hildon+set}" = set; then
4162 withval=$with_hildon;
4163 if test "$withval" = yes; then
4164 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4165 else
4166 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4167 fi
4168
4169 else
4170
4171 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x ; then
4173 eval "DEFAULT_$LINE"
4174 else
4175 no_cache=1
4176 fi
4177
4178 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4179
4180 fi
4181
4182
4183 eval "$ac_cv_use_hildon"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4186 fi
4187
4188 if test "$wxUSE_LIBHILDON" = yes; then
4189 { echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6; }
4191 else
4192 { echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6; }
4194 fi
4195
4196
4197 withstring=
4198 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4199 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4200 no_cache=0
4201
4202 # Check whether --with-opengl was given.
4203 if test "${with_opengl+set}" = set; then
4204 withval=$with_opengl;
4205 if test "$withval" = yes; then
4206 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4207 else
4208 ac_cv_use_opengl='wxUSE_OPENGL=no'
4209 fi
4210
4211 else
4212
4213 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4214 if test "x$LINE" != x ; then
4215 eval "DEFAULT_$LINE"
4216 else
4217 no_cache=1
4218 fi
4219
4220 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4221
4222 fi
4223
4224
4225 eval "$ac_cv_use_opengl"
4226 if test "$no_cache" != 1; then
4227 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4228 fi
4229
4230 if test "$wxUSE_OPENGL" = yes; then
4231 { echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6; }
4233 else
4234 { echo "$as_me:$LINENO: result: no" >&5
4235 echo "${ECHO_T}no" >&6; }
4236 fi
4237
4238
4239 if test "$wxUSE_UNIVERSAL" = "yes"; then
4240
4241 # Check whether --with-themes was given.
4242 if test "${with_themes+set}" = set; then
4243 withval=$with_themes; wxUNIV_THEMES="$withval"
4244 fi
4245
4246 fi
4247
4248 fi
4249
4250
4251 withstring=
4252 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4253 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4254 no_cache=0
4255
4256 # Check whether --with-dmalloc was given.
4257 if test "${with_dmalloc+set}" = set; then
4258 withval=$with_dmalloc;
4259 if test "$withval" = yes; then
4260 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4261 else
4262 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4263 fi
4264
4265 else
4266
4267 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4268 if test "x$LINE" != x ; then
4269 eval "DEFAULT_$LINE"
4270 else
4271 no_cache=1
4272 fi
4273
4274 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4275
4276 fi
4277
4278
4279 eval "$ac_cv_use_dmalloc"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4282 fi
4283
4284 if test "$wxUSE_DMALLOC" = yes; then
4285 { echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6; }
4287 else
4288 { echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6; }
4290 fi
4291
4292
4293 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4294 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4295 no_cache=0
4296
4297 # Check whether --with-regex was given.
4298 if test "${with_regex+set}" = set; then
4299 withval=$with_regex;
4300 if test "$withval" = yes; then
4301 ac_cv_use_regex='wxUSE_REGEX=yes'
4302 elif test "$withval" = no; then
4303 ac_cv_use_regex='wxUSE_REGEX=no'
4304 elif test "$withval" = sys; then
4305 ac_cv_use_regex='wxUSE_REGEX=sys'
4306 elif test "$withval" = builtin; then
4307 ac_cv_use_regex='wxUSE_REGEX=builtin'
4308 else
4309 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4310 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4311 { (exit 1); exit 1; }; }
4312 fi
4313
4314 else
4315
4316 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x ; then
4318 eval "DEFAULT_$LINE"
4319 else
4320 no_cache=1
4321 fi
4322
4323 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4324
4325 fi
4326
4327
4328 eval "$ac_cv_use_regex"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4331 fi
4332
4333 if test "$wxUSE_REGEX" = yes; then
4334 { echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6; }
4336 elif test "$wxUSE_REGEX" = no; then
4337 { echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6; }
4339 elif test "$wxUSE_REGEX" = sys; then
4340 { echo "$as_me:$LINENO: result: system version" >&5
4341 echo "${ECHO_T}system version" >&6; }
4342 elif test "$wxUSE_REGEX" = builtin; then
4343 { echo "$as_me:$LINENO: result: builtin version" >&5
4344 echo "${ECHO_T}builtin version" >&6; }
4345 else
4346 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4347 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4348 { (exit 1); exit 1; }; }
4349 fi
4350
4351
4352 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4353 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4354 no_cache=0
4355
4356 # Check whether --with-zlib was given.
4357 if test "${with_zlib+set}" = set; then
4358 withval=$with_zlib;
4359 if test "$withval" = yes; then
4360 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4361 elif test "$withval" = no; then
4362 ac_cv_use_zlib='wxUSE_ZLIB=no'
4363 elif test "$withval" = sys; then
4364 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4365 elif test "$withval" = builtin; then
4366 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4367 else
4368 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4369 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4370 { (exit 1); exit 1; }; }
4371 fi
4372
4373 else
4374
4375 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4376 if test "x$LINE" != x ; then
4377 eval "DEFAULT_$LINE"
4378 else
4379 no_cache=1
4380 fi
4381
4382 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4383
4384 fi
4385
4386
4387 eval "$ac_cv_use_zlib"
4388 if test "$no_cache" != 1; then
4389 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4390 fi
4391
4392 if test "$wxUSE_ZLIB" = yes; then
4393 { echo "$as_me:$LINENO: result: yes" >&5
4394 echo "${ECHO_T}yes" >&6; }
4395 elif test "$wxUSE_ZLIB" = no; then
4396 { echo "$as_me:$LINENO: result: no" >&5
4397 echo "${ECHO_T}no" >&6; }
4398 elif test "$wxUSE_ZLIB" = sys; then
4399 { echo "$as_me:$LINENO: result: system version" >&5
4400 echo "${ECHO_T}system version" >&6; }
4401 elif test "$wxUSE_ZLIB" = builtin; then
4402 { echo "$as_me:$LINENO: result: builtin version" >&5
4403 echo "${ECHO_T}builtin version" >&6; }
4404 else
4405 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4406 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4407 { (exit 1); exit 1; }; }
4408 fi
4409
4410
4411 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4412 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4413 no_cache=0
4414
4415 # Check whether --with-odbc was given.
4416 if test "${with_odbc+set}" = set; then
4417 withval=$with_odbc;
4418 if test "$withval" = yes; then
4419 ac_cv_use_odbc='wxUSE_ODBC=yes'
4420 elif test "$withval" = no; then
4421 ac_cv_use_odbc='wxUSE_ODBC=no'
4422 elif test "$withval" = sys; then
4423 ac_cv_use_odbc='wxUSE_ODBC=sys'
4424 elif test "$withval" = builtin; then
4425 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4426 else
4427 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4428 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4429 { (exit 1); exit 1; }; }
4430 fi
4431
4432 else
4433
4434 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x ; then
4436 eval "DEFAULT_$LINE"
4437 else
4438 no_cache=1
4439 fi
4440
4441 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4442
4443 fi
4444
4445
4446 eval "$ac_cv_use_odbc"
4447 if test "$no_cache" != 1; then
4448 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4449 fi
4450
4451 if test "$wxUSE_ODBC" = yes; then
4452 { echo "$as_me:$LINENO: result: yes" >&5
4453 echo "${ECHO_T}yes" >&6; }
4454 elif test "$wxUSE_ODBC" = no; then
4455 { echo "$as_me:$LINENO: result: no" >&5
4456 echo "${ECHO_T}no" >&6; }
4457 elif test "$wxUSE_ODBC" = sys; then
4458 { echo "$as_me:$LINENO: result: system version" >&5
4459 echo "${ECHO_T}system version" >&6; }
4460 elif test "$wxUSE_ODBC" = builtin; then
4461 { echo "$as_me:$LINENO: result: builtin version" >&5
4462 echo "${ECHO_T}builtin version" >&6; }
4463 else
4464 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4465 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4466 { (exit 1); exit 1; }; }
4467 fi
4468
4469
4470 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4471 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4472 no_cache=0
4473
4474 # Check whether --with-expat was given.
4475 if test "${with_expat+set}" = set; then
4476 withval=$with_expat;
4477 if test "$withval" = yes; then
4478 ac_cv_use_expat='wxUSE_EXPAT=yes'
4479 elif test "$withval" = no; then
4480 ac_cv_use_expat='wxUSE_EXPAT=no'
4481 elif test "$withval" = sys; then
4482 ac_cv_use_expat='wxUSE_EXPAT=sys'
4483 elif test "$withval" = builtin; then
4484 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4485 else
4486 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4487 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4488 { (exit 1); exit 1; }; }
4489 fi
4490
4491 else
4492
4493 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4494 if test "x$LINE" != x ; then
4495 eval "DEFAULT_$LINE"
4496 else
4497 no_cache=1
4498 fi
4499
4500 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4501
4502 fi
4503
4504
4505 eval "$ac_cv_use_expat"
4506 if test "$no_cache" != 1; then
4507 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4508 fi
4509
4510 if test "$wxUSE_EXPAT" = yes; then
4511 { echo "$as_me:$LINENO: result: yes" >&5
4512 echo "${ECHO_T}yes" >&6; }
4513 elif test "$wxUSE_EXPAT" = no; then
4514 { echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6; }
4516 elif test "$wxUSE_EXPAT" = sys; then
4517 { echo "$as_me:$LINENO: result: system version" >&5
4518 echo "${ECHO_T}system version" >&6; }
4519 elif test "$wxUSE_EXPAT" = builtin; then
4520 { echo "$as_me:$LINENO: result: builtin version" >&5
4521 echo "${ECHO_T}builtin version" >&6; }
4522 else
4523 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4524 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4525 { (exit 1); exit 1; }; }
4526 fi
4527
4528
4529
4530
4531 enablestring=
4532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4533 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4534 no_cache=0
4535 # Check whether --enable-shared was given.
4536 if test "${enable_shared+set}" = set; then
4537 enableval=$enable_shared;
4538 if test "$enableval" = yes; then
4539 ac_cv_use_shared='wxUSE_SHARED=yes'
4540 else
4541 ac_cv_use_shared='wxUSE_SHARED=no'
4542 fi
4543
4544 else
4545
4546 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x ; then
4548 eval "DEFAULT_$LINE"
4549 else
4550 no_cache=1
4551 fi
4552
4553 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4554
4555 fi
4556
4557
4558 eval "$ac_cv_use_shared"
4559 if test "$no_cache" != 1; then
4560 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4561 fi
4562
4563 if test "$wxUSE_SHARED" = yes; then
4564 { echo "$as_me:$LINENO: result: yes" >&5
4565 echo "${ECHO_T}yes" >&6; }
4566 else
4567 { echo "$as_me:$LINENO: result: no" >&5
4568 echo "${ECHO_T}no" >&6; }
4569 fi
4570
4571
4572 enablestring=
4573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4574 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4575 no_cache=0
4576 # Check whether --enable-optimise was given.
4577 if test "${enable_optimise+set}" = set; then
4578 enableval=$enable_optimise;
4579 if test "$enableval" = yes; then
4580 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4581 else
4582 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4583 fi
4584
4585 else
4586
4587 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4588 if test "x$LINE" != x ; then
4589 eval "DEFAULT_$LINE"
4590 else
4591 no_cache=1
4592 fi
4593
4594 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4595
4596 fi
4597
4598
4599 eval "$ac_cv_use_optimise"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4602 fi
4603
4604 if test "$wxUSE_OPTIMISE" = yes; then
4605 { echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6; }
4607 else
4608 { echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6; }
4610 fi
4611
4612
4613 enablestring=
4614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4616 no_cache=0
4617 # Check whether --enable-debug was given.
4618 if test "${enable_debug+set}" = set; then
4619 enableval=$enable_debug;
4620 if test "$enableval" = yes; then
4621 ac_cv_use_debug='wxUSE_DEBUG=yes'
4622 else
4623 ac_cv_use_debug='wxUSE_DEBUG=no'
4624 fi
4625
4626 else
4627
4628 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4629 if test "x$LINE" != x ; then
4630 eval "DEFAULT_$LINE"
4631 else
4632 no_cache=1
4633 fi
4634
4635 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4636
4637 fi
4638
4639
4640 eval "$ac_cv_use_debug"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4643 fi
4644
4645 if test "$wxUSE_DEBUG" = yes; then
4646 { echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6; }
4648 else
4649 { echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6; }
4651 fi
4652
4653
4654 enablestring=
4655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4657 no_cache=0
4658 # Check whether --enable-stl was given.
4659 if test "${enable_stl+set}" = set; then
4660 enableval=$enable_stl;
4661 if test "$enableval" = yes; then
4662 ac_cv_use_stl='wxUSE_STL=yes'
4663 else
4664 ac_cv_use_stl='wxUSE_STL=no'
4665 fi
4666
4667 else
4668
4669 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x ; then
4671 eval "DEFAULT_$LINE"
4672 else
4673 no_cache=1
4674 fi
4675
4676 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4677
4678 fi
4679
4680
4681 eval "$ac_cv_use_stl"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4684 fi
4685
4686 if test "$wxUSE_STL" = yes; then
4687 { echo "$as_me:$LINENO: result: yes" >&5
4688 echo "${ECHO_T}yes" >&6; }
4689 else
4690 { echo "$as_me:$LINENO: result: no" >&5
4691 echo "${ECHO_T}no" >&6; }
4692 fi
4693
4694
4695 enablestring=
4696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4698 no_cache=0
4699 # Check whether --enable-extended_rtti was given.
4700 if test "${enable_extended_rtti+set}" = set; then
4701 enableval=$enable_extended_rtti;
4702 if test "$enableval" = yes; then
4703 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4704 else
4705 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4706 fi
4707
4708 else
4709
4710 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4711 if test "x$LINE" != x ; then
4712 eval "DEFAULT_$LINE"
4713 else
4714 no_cache=1
4715 fi
4716
4717 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4718
4719 fi
4720
4721
4722 eval "$ac_cv_use_extended_rtti"
4723 if test "$no_cache" != 1; then
4724 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4725 fi
4726
4727 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4728 { echo "$as_me:$LINENO: result: yes" >&5
4729 echo "${ECHO_T}yes" >&6; }
4730 else
4731 { echo "$as_me:$LINENO: result: no" >&5
4732 echo "${ECHO_T}no" >&6; }
4733 fi
4734
4735 if test "$USE_OS2" = "1"; then
4736 DEFAULT_wxUSE_OMF=no
4737
4738 enablestring=
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4741 no_cache=0
4742 # Check whether --enable-omf was given.
4743 if test "${enable_omf+set}" = set; then
4744 enableval=$enable_omf;
4745 if test "$enableval" = yes; then
4746 ac_cv_use_omf='wxUSE_OMF=yes'
4747 else
4748 ac_cv_use_omf='wxUSE_OMF=no'
4749 fi
4750
4751 else
4752
4753 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x ; then
4755 eval "DEFAULT_$LINE"
4756 else
4757 no_cache=1
4758 fi
4759
4760 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4761
4762 fi
4763
4764
4765 eval "$ac_cv_use_omf"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4768 fi
4769
4770 if test "$wxUSE_OMF" = yes; then
4771 { echo "$as_me:$LINENO: result: yes" >&5
4772 echo "${ECHO_T}yes" >&6; }
4773 else
4774 { echo "$as_me:$LINENO: result: no" >&5
4775 echo "${ECHO_T}no" >&6; }
4776 fi
4777
4778 fi
4779
4780 if test "$wxUSE_DEBUG" = "yes"; then
4781 DEFAULT_wxUSE_DEBUG_FLAG=yes
4782 DEFAULT_wxUSE_DEBUG_INFO=yes
4783 BUILD=debug
4784 elif test "$wxUSE_DEBUG" = "no"; then
4785 DEFAULT_wxUSE_DEBUG_FLAG=no
4786 DEFAULT_wxUSE_DEBUG_INFO=no
4787 BUILD=release
4788 fi
4789
4790
4791 enablestring=
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4794 no_cache=0
4795 # Check whether --enable-debug_flag was given.
4796 if test "${enable_debug_flag+set}" = set; then
4797 enableval=$enable_debug_flag;
4798 if test "$enableval" = yes; then
4799 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4800 else
4801 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4802 fi
4803
4804 else
4805
4806 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4809 else
4810 no_cache=1
4811 fi
4812
4813 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4814
4815 fi
4816
4817
4818 eval "$ac_cv_use_debug_flag"
4819 if test "$no_cache" != 1; then
4820 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4821 fi
4822
4823 if test "$wxUSE_DEBUG_FLAG" = yes; then
4824 { echo "$as_me:$LINENO: result: yes" >&5
4825 echo "${ECHO_T}yes" >&6; }
4826 else
4827 { echo "$as_me:$LINENO: result: no" >&5
4828 echo "${ECHO_T}no" >&6; }
4829 fi
4830
4831
4832 enablestring=
4833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4834 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4835 no_cache=0
4836 # Check whether --enable-debug_info was given.
4837 if test "${enable_debug_info+set}" = set; then
4838 enableval=$enable_debug_info;
4839 if test "$enableval" = yes; then
4840 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4841 else
4842 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4843 fi
4844
4845 else
4846
4847 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4848 if test "x$LINE" != x ; then
4849 eval "DEFAULT_$LINE"
4850 else
4851 no_cache=1
4852 fi
4853
4854 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4855
4856 fi
4857
4858
4859 eval "$ac_cv_use_debug_info"
4860 if test "$no_cache" != 1; then
4861 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4862 fi
4863
4864 if test "$wxUSE_DEBUG_INFO" = yes; then
4865 { echo "$as_me:$LINENO: result: yes" >&5
4866 echo "${ECHO_T}yes" >&6; }
4867 else
4868 { echo "$as_me:$LINENO: result: no" >&5
4869 echo "${ECHO_T}no" >&6; }
4870 fi
4871
4872
4873 enablestring=
4874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4875 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4876 no_cache=0
4877 # Check whether --enable-debug_gdb was given.
4878 if test "${enable_debug_gdb+set}" = set; then
4879 enableval=$enable_debug_gdb;
4880 if test "$enableval" = yes; then
4881 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4882 else
4883 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4884 fi
4885
4886 else
4887
4888 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4889 if test "x$LINE" != x ; then
4890 eval "DEFAULT_$LINE"
4891 else
4892 no_cache=1
4893 fi
4894
4895 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4896
4897 fi
4898
4899
4900 eval "$ac_cv_use_debug_gdb"
4901 if test "$no_cache" != 1; then
4902 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4903 fi
4904
4905 if test "$wxUSE_DEBUG_GDB" = yes; then
4906 { echo "$as_me:$LINENO: result: yes" >&5
4907 echo "${ECHO_T}yes" >&6; }
4908 else
4909 { echo "$as_me:$LINENO: result: no" >&5
4910 echo "${ECHO_T}no" >&6; }
4911 fi
4912
4913
4914 enablestring=
4915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4916 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4917 no_cache=0
4918 # Check whether --enable-debug_cntxt was given.
4919 if test "${enable_debug_cntxt+set}" = set; then
4920 enableval=$enable_debug_cntxt;
4921 if test "$enableval" = yes; then
4922 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4923 else
4924 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4925 fi
4926
4927 else
4928
4929 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x ; then
4931 eval "DEFAULT_$LINE"
4932 else
4933 no_cache=1
4934 fi
4935
4936 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4937
4938 fi
4939
4940
4941 eval "$ac_cv_use_debug_cntxt"
4942 if test "$no_cache" != 1; then
4943 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4944 fi
4945
4946 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4947 { echo "$as_me:$LINENO: result: yes" >&5
4948 echo "${ECHO_T}yes" >&6; }
4949 else
4950 { echo "$as_me:$LINENO: result: no" >&5
4951 echo "${ECHO_T}no" >&6; }
4952 fi
4953
4954
4955 enablestring=
4956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4957 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4958 no_cache=0
4959 # Check whether --enable-mem_tracing was given.
4960 if test "${enable_mem_tracing+set}" = set; then
4961 enableval=$enable_mem_tracing;
4962 if test "$enableval" = yes; then
4963 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4964 else
4965 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4966 fi
4967
4968 else
4969
4970 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4973 else
4974 no_cache=1
4975 fi
4976
4977 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4978
4979 fi
4980
4981
4982 eval "$ac_cv_use_mem_tracing"
4983 if test "$no_cache" != 1; then
4984 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4985 fi
4986
4987 if test "$wxUSE_MEM_TRACING" = yes; then
4988 { echo "$as_me:$LINENO: result: yes" >&5
4989 echo "${ECHO_T}yes" >&6; }
4990 else
4991 { echo "$as_me:$LINENO: result: no" >&5
4992 echo "${ECHO_T}no" >&6; }
4993 fi
4994
4995
4996 enablestring=
4997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4998 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4999 no_cache=0
5000 # Check whether --enable-profile was given.
5001 if test "${enable_profile+set}" = set; then
5002 enableval=$enable_profile;
5003 if test "$enableval" = yes; then
5004 ac_cv_use_profile='wxUSE_PROFILE=yes'
5005 else
5006 ac_cv_use_profile='wxUSE_PROFILE=no'
5007 fi
5008
5009 else
5010
5011 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5012 if test "x$LINE" != x ; then
5013 eval "DEFAULT_$LINE"
5014 else
5015 no_cache=1
5016 fi
5017
5018 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5019
5020 fi
5021
5022
5023 eval "$ac_cv_use_profile"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5026 fi
5027
5028 if test "$wxUSE_PROFILE" = yes; then
5029 { echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6; }
5031 else
5032 { echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6; }
5034 fi
5035
5036
5037 enablestring=
5038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5039 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5040 no_cache=0
5041 # Check whether --enable-no_rtti was given.
5042 if test "${enable_no_rtti+set}" = set; then
5043 enableval=$enable_no_rtti;
5044 if test "$enableval" = yes; then
5045 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5046 else
5047 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5048 fi
5049
5050 else
5051
5052 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5053 if test "x$LINE" != x ; then
5054 eval "DEFAULT_$LINE"
5055 else
5056 no_cache=1
5057 fi
5058
5059 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5060
5061 fi
5062
5063
5064 eval "$ac_cv_use_no_rtti"
5065 if test "$no_cache" != 1; then
5066 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5067 fi
5068
5069 if test "$wxUSE_NO_RTTI" = yes; then
5070 { echo "$as_me:$LINENO: result: yes" >&5
5071 echo "${ECHO_T}yes" >&6; }
5072 else
5073 { echo "$as_me:$LINENO: result: no" >&5
5074 echo "${ECHO_T}no" >&6; }
5075 fi
5076
5077
5078 enablestring=
5079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5080 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5081 no_cache=0
5082 # Check whether --enable-no_exceptions was given.
5083 if test "${enable_no_exceptions+set}" = set; then
5084 enableval=$enable_no_exceptions;
5085 if test "$enableval" = yes; then
5086 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5087 else
5088 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5089 fi
5090
5091 else
5092
5093 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5094 if test "x$LINE" != x ; then
5095 eval "DEFAULT_$LINE"
5096 else
5097 no_cache=1
5098 fi
5099
5100 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5101
5102 fi
5103
5104
5105 eval "$ac_cv_use_no_exceptions"
5106 if test "$no_cache" != 1; then
5107 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5108 fi
5109
5110 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5111 { echo "$as_me:$LINENO: result: yes" >&5
5112 echo "${ECHO_T}yes" >&6; }
5113 else
5114 { echo "$as_me:$LINENO: result: no" >&5
5115 echo "${ECHO_T}no" >&6; }
5116 fi
5117
5118
5119 enablestring=
5120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5122 no_cache=0
5123 # Check whether --enable-permissive was given.
5124 if test "${enable_permissive+set}" = set; then
5125 enableval=$enable_permissive;
5126 if test "$enableval" = yes; then
5127 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5128 else
5129 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5130 fi
5131
5132 else
5133
5134 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5135 if test "x$LINE" != x ; then
5136 eval "DEFAULT_$LINE"
5137 else
5138 no_cache=1
5139 fi
5140
5141 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5142
5143 fi
5144
5145
5146 eval "$ac_cv_use_permissive"
5147 if test "$no_cache" != 1; then
5148 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5149 fi
5150
5151 if test "$wxUSE_PERMISSIVE" = yes; then
5152 { echo "$as_me:$LINENO: result: yes" >&5
5153 echo "${ECHO_T}yes" >&6; }
5154 else
5155 { echo "$as_me:$LINENO: result: no" >&5
5156 echo "${ECHO_T}no" >&6; }
5157 fi
5158
5159
5160 enablestring=
5161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5162 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5163 no_cache=0
5164 # Check whether --enable-no_deps was given.
5165 if test "${enable_no_deps+set}" = set; then
5166 enableval=$enable_no_deps;
5167 if test "$enableval" = yes; then
5168 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5169 else
5170 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5171 fi
5172
5173 else
5174
5175 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5176 if test "x$LINE" != x ; then
5177 eval "DEFAULT_$LINE"
5178 else
5179 no_cache=1
5180 fi
5181
5182 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5183
5184 fi
5185
5186
5187 eval "$ac_cv_use_no_deps"
5188 if test "$no_cache" != 1; then
5189 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5190 fi
5191
5192 if test "$wxUSE_NO_DEPS" = yes; then
5193 { echo "$as_me:$LINENO: result: yes" >&5
5194 echo "${ECHO_T}yes" >&6; }
5195 else
5196 { echo "$as_me:$LINENO: result: no" >&5
5197 echo "${ECHO_T}no" >&6; }
5198 fi
5199
5200
5201 enablestring=
5202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5203 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5204 no_cache=0
5205 # Check whether --enable-vararg_macros was given.
5206 if test "${enable_vararg_macros+set}" = set; then
5207 enableval=$enable_vararg_macros;
5208 if test "$enableval" = yes; then
5209 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5210 else
5211 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5212 fi
5213
5214 else
5215
5216 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5217 if test "x$LINE" != x ; then
5218 eval "DEFAULT_$LINE"
5219 else
5220 no_cache=1
5221 fi
5222
5223 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5224
5225 fi
5226
5227
5228 eval "$ac_cv_use_vararg_macros"
5229 if test "$no_cache" != 1; then
5230 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5231 fi
5232
5233 if test "$wxUSE_VARARG_MACROS" = yes; then
5234 { echo "$as_me:$LINENO: result: yes" >&5
5235 echo "${ECHO_T}yes" >&6; }
5236 else
5237 { echo "$as_me:$LINENO: result: no" >&5
5238 echo "${ECHO_T}no" >&6; }
5239 fi
5240
5241
5242 enablestring=
5243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5244 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5245 no_cache=0
5246 # Check whether --enable-universal_binary was given.
5247 if test "${enable_universal_binary+set}" = set; then
5248 enableval=$enable_universal_binary;
5249 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5250
5251 else
5252
5253 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x ; then
5255 eval "DEFAULT_$LINE"
5256 else
5257 no_cache=1
5258 fi
5259
5260 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5261
5262 fi
5263
5264
5265 eval "$wx_cv_use_universal_binary"
5266 if test "$no_cache" != 1; then
5267 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5268 fi
5269
5270 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5271 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5272
5273
5274
5275 enablestring=enable
5276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5278 no_cache=0
5279 # Check whether --enable-compat26 was given.
5280 if test "${enable_compat26+set}" = set; then
5281 enableval=$enable_compat26;
5282 if test "$enableval" = yes; then
5283 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5284 else
5285 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5286 fi
5287
5288 else
5289
5290 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5293 else
5294 no_cache=1
5295 fi
5296
5297 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5298
5299 fi
5300
5301
5302 eval "$ac_cv_use_compat26"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5305 fi
5306
5307 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5308 { echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6; }
5310 else
5311 { echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6; }
5313 fi
5314
5315
5316 enablestring=disable
5317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5318 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5319 no_cache=0
5320 # Check whether --enable-compat28 was given.
5321 if test "${enable_compat28+set}" = set; then
5322 enableval=$enable_compat28;
5323 if test "$enableval" = yes; then
5324 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5325 else
5326 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5327 fi
5328
5329 else
5330
5331 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x ; then
5333 eval "DEFAULT_$LINE"
5334 else
5335 no_cache=1
5336 fi
5337
5338 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5339
5340 fi
5341
5342
5343 eval "$ac_cv_use_compat28"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5346 fi
5347
5348 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5349 { echo "$as_me:$LINENO: result: yes" >&5
5350 echo "${ECHO_T}yes" >&6; }
5351 else
5352 { echo "$as_me:$LINENO: result: no" >&5
5353 echo "${ECHO_T}no" >&6; }
5354 fi
5355
5356
5357
5358 enablestring=
5359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5361 no_cache=0
5362 # Check whether --enable-rpath was given.
5363 if test "${enable_rpath+set}" = set; then
5364 enableval=$enable_rpath;
5365 if test "$enableval" = yes; then
5366 ac_cv_use_rpath='wxUSE_RPATH=yes'
5367 else
5368 ac_cv_use_rpath='wxUSE_RPATH=no'
5369 fi
5370
5371 else
5372
5373 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x ; then
5375 eval "DEFAULT_$LINE"
5376 else
5377 no_cache=1
5378 fi
5379
5380 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5381
5382 fi
5383
5384
5385 eval "$ac_cv_use_rpath"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5388 fi
5389
5390 if test "$wxUSE_RPATH" = yes; then
5391 { echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6; }
5393 else
5394 { echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6; }
5396 fi
5397
5398
5399
5400 enablestring=
5401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5402 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5403 no_cache=0
5404 # Check whether --enable-objc_uniquifying was given.
5405 if test "${enable_objc_uniquifying+set}" = set; then
5406 enableval=$enable_objc_uniquifying;
5407 if test "$enableval" = yes; then
5408 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5409 else
5410 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5411 fi
5412
5413 else
5414
5415 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5418 else
5419 no_cache=1
5420 fi
5421
5422 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING='$DEFAULT_wxUSE_OBJC_UNIQUIFYING
5423
5424 fi
5425
5426
5427 eval "$ac_cv_use_objc_uniquifying"
5428 if test "$no_cache" != 1; then
5429 echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5430 fi
5431
5432 if test "$wxUSE_OBJC_UNIQUIFYING" = yes; then
5433 { echo "$as_me:$LINENO: result: yes" >&5
5434 echo "${ECHO_T}yes" >&6; }
5435 else
5436 { echo "$as_me:$LINENO: result: no" >&5
5437 echo "${ECHO_T}no" >&6; }
5438 fi
5439
5440
5441
5442
5443 enablestring=
5444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5445 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5446 no_cache=0
5447 # Check whether --enable-intl was given.
5448 if test "${enable_intl+set}" = set; then
5449 enableval=$enable_intl;
5450 if test "$enableval" = yes; then
5451 ac_cv_use_intl='wxUSE_INTL=yes'
5452 else
5453 ac_cv_use_intl='wxUSE_INTL=no'
5454 fi
5455
5456 else
5457
5458 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x ; then
5460 eval "DEFAULT_$LINE"
5461 else
5462 no_cache=1
5463 fi
5464
5465 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5466
5467 fi
5468
5469
5470 eval "$ac_cv_use_intl"
5471 if test "$no_cache" != 1; then
5472 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5473 fi
5474
5475 if test "$wxUSE_INTL" = yes; then
5476 { echo "$as_me:$LINENO: result: yes" >&5
5477 echo "${ECHO_T}yes" >&6; }
5478 else
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5481 fi
5482
5483
5484 enablestring=
5485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5486 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5487 no_cache=0
5488 # Check whether --enable-config was given.
5489 if test "${enable_config+set}" = set; then
5490 enableval=$enable_config;
5491 if test "$enableval" = yes; then
5492 ac_cv_use_config='wxUSE_CONFIG=yes'
5493 else
5494 ac_cv_use_config='wxUSE_CONFIG=no'
5495 fi
5496
5497 else
5498
5499 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x ; then
5501 eval "DEFAULT_$LINE"
5502 else
5503 no_cache=1
5504 fi
5505
5506 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5507
5508 fi
5509
5510
5511 eval "$ac_cv_use_config"
5512 if test "$no_cache" != 1; then
5513 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5514 fi
5515
5516 if test "$wxUSE_CONFIG" = yes; then
5517 { echo "$as_me:$LINENO: result: yes" >&5
5518 echo "${ECHO_T}yes" >&6; }
5519 else
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5522 fi
5523
5524
5525
5526 enablestring=
5527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5528 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5529 no_cache=0
5530 # Check whether --enable-protocols was given.
5531 if test "${enable_protocols+set}" = set; then
5532 enableval=$enable_protocols;
5533 if test "$enableval" = yes; then
5534 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5535 else
5536 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5537 fi
5538
5539 else
5540
5541 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
5542 if test "x$LINE" != x ; then
5543 eval "DEFAULT_$LINE"
5544 else
5545 no_cache=1
5546 fi
5547
5548 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5549
5550 fi
5551
5552
5553 eval "$ac_cv_use_protocols"
5554 if test "$no_cache" != 1; then
5555 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5556 fi
5557
5558 if test "$wxUSE_PROTOCOL" = yes; then
5559 { echo "$as_me:$LINENO: result: yes" >&5
5560 echo "${ECHO_T}yes" >&6; }
5561 else
5562 { echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6; }
5564 fi
5565
5566
5567 enablestring=
5568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5569 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5570 no_cache=0
5571 # Check whether --enable-ftp was given.
5572 if test "${enable_ftp+set}" = set; then
5573 enableval=$enable_ftp;
5574 if test "$enableval" = yes; then
5575 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5576 else
5577 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5578 fi
5579
5580 else
5581
5582 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5583 if test "x$LINE" != x ; then
5584 eval "DEFAULT_$LINE"
5585 else
5586 no_cache=1
5587 fi
5588
5589 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5590
5591 fi
5592
5593
5594 eval "$ac_cv_use_ftp"
5595 if test "$no_cache" != 1; then
5596 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5597 fi
5598
5599 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5600 { echo "$as_me:$LINENO: result: yes" >&5
5601 echo "${ECHO_T}yes" >&6; }
5602 else
5603 { echo "$as_me:$LINENO: result: no" >&5
5604 echo "${ECHO_T}no" >&6; }
5605 fi
5606
5607
5608 enablestring=
5609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5610 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5611 no_cache=0
5612 # Check whether --enable-http was given.
5613 if test "${enable_http+set}" = set; then
5614 enableval=$enable_http;
5615 if test "$enableval" = yes; then
5616 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5617 else
5618 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5619 fi
5620
5621 else
5622
5623 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
5624 if test "x$LINE" != x ; then
5625 eval "DEFAULT_$LINE"
5626 else
5627 no_cache=1
5628 fi
5629
5630 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5631
5632 fi
5633
5634
5635 eval "$ac_cv_use_http"
5636 if test "$no_cache" != 1; then
5637 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5638 fi
5639
5640 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5641 { echo "$as_me:$LINENO: result: yes" >&5
5642 echo "${ECHO_T}yes" >&6; }
5643 else
5644 { echo "$as_me:$LINENO: result: no" >&5
5645 echo "${ECHO_T}no" >&6; }
5646 fi
5647
5648
5649 enablestring=
5650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5651 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5652 no_cache=0
5653 # Check whether --enable-fileproto was given.
5654 if test "${enable_fileproto+set}" = set; then
5655 enableval=$enable_fileproto;
5656 if test "$enableval" = yes; then
5657 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5658 else
5659 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5660 fi
5661
5662 else
5663
5664 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
5665 if test "x$LINE" != x ; then
5666 eval "DEFAULT_$LINE"
5667 else
5668 no_cache=1
5669 fi
5670
5671 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5672
5673 fi
5674
5675
5676 eval "$ac_cv_use_fileproto"
5677 if test "$no_cache" != 1; then
5678 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5679 fi
5680
5681 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5682 { echo "$as_me:$LINENO: result: yes" >&5
5683 echo "${ECHO_T}yes" >&6; }
5684 else
5685 { echo "$as_me:$LINENO: result: no" >&5
5686 echo "${ECHO_T}no" >&6; }
5687 fi
5688
5689
5690 enablestring=
5691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5692 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5693 no_cache=0
5694 # Check whether --enable-sockets was given.
5695 if test "${enable_sockets+set}" = set; then
5696 enableval=$enable_sockets;
5697 if test "$enableval" = yes; then
5698 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5699 else
5700 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5701 fi
5702
5703 else
5704
5705 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5706 if test "x$LINE" != x ; then
5707 eval "DEFAULT_$LINE"
5708 else
5709 no_cache=1
5710 fi
5711
5712 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5713
5714 fi
5715
5716
5717 eval "$ac_cv_use_sockets"
5718 if test "$no_cache" != 1; then
5719 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5720 fi
5721
5722 if test "$wxUSE_SOCKETS" = yes; then
5723 { echo "$as_me:$LINENO: result: yes" >&5
5724 echo "${ECHO_T}yes" >&6; }
5725 else
5726 { echo "$as_me:$LINENO: result: no" >&5
5727 echo "${ECHO_T}no" >&6; }
5728 fi
5729
5730
5731 enablestring=
5732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5733 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5734 no_cache=0
5735 # Check whether --enable-ole was given.
5736 if test "${enable_ole+set}" = set; then
5737 enableval=$enable_ole;
5738 if test "$enableval" = yes; then
5739 ac_cv_use_ole='wxUSE_OLE=yes'
5740 else
5741 ac_cv_use_ole='wxUSE_OLE=no'
5742 fi
5743
5744 else
5745
5746 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5747 if test "x$LINE" != x ; then
5748 eval "DEFAULT_$LINE"
5749 else
5750 no_cache=1
5751 fi
5752
5753 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5754
5755 fi
5756
5757
5758 eval "$ac_cv_use_ole"
5759 if test "$no_cache" != 1; then
5760 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5761 fi
5762
5763 if test "$wxUSE_OLE" = yes; then
5764 { echo "$as_me:$LINENO: result: yes" >&5
5765 echo "${ECHO_T}yes" >&6; }
5766 else
5767 { echo "$as_me:$LINENO: result: no" >&5
5768 echo "${ECHO_T}no" >&6; }
5769 fi
5770
5771
5772 enablestring=
5773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5774 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5775 no_cache=0
5776 # Check whether --enable-dataobj was given.
5777 if test "${enable_dataobj+set}" = set; then
5778 enableval=$enable_dataobj;
5779 if test "$enableval" = yes; then
5780 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5781 else
5782 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5783 fi
5784
5785 else
5786
5787 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
5788 if test "x$LINE" != x ; then
5789 eval "DEFAULT_$LINE"
5790 else
5791 no_cache=1
5792 fi
5793
5794 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5795
5796 fi
5797
5798
5799 eval "$ac_cv_use_dataobj"
5800 if test "$no_cache" != 1; then
5801 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5802 fi
5803
5804 if test "$wxUSE_DATAOBJ" = yes; then
5805 { echo "$as_me:$LINENO: result: yes" >&5
5806 echo "${ECHO_T}yes" >&6; }
5807 else
5808 { echo "$as_me:$LINENO: result: no" >&5
5809 echo "${ECHO_T}no" >&6; }
5810 fi
5811
5812
5813
5814 enablestring=
5815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5817 no_cache=0
5818 # Check whether --enable-ipc was given.
5819 if test "${enable_ipc+set}" = set; then
5820 enableval=$enable_ipc;
5821 if test "$enableval" = yes; then
5822 ac_cv_use_ipc='wxUSE_IPC=yes'
5823 else
5824 ac_cv_use_ipc='wxUSE_IPC=no'
5825 fi
5826
5827 else
5828
5829 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5830 if test "x$LINE" != x ; then
5831 eval "DEFAULT_$LINE"
5832 else
5833 no_cache=1
5834 fi
5835
5836 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5837
5838 fi
5839
5840
5841 eval "$ac_cv_use_ipc"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5844 fi
5845
5846 if test "$wxUSE_IPC" = yes; then
5847 { echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6; }
5849 else
5850 { echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6; }
5852 fi
5853
5854
5855
5856 enablestring=
5857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5858 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5859 no_cache=0
5860 # Check whether --enable-apple_ieee was given.
5861 if test "${enable_apple_ieee+set}" = set; then
5862 enableval=$enable_apple_ieee;
5863 if test "$enableval" = yes; then
5864 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5865 else
5866 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5867 fi
5868
5869 else
5870
5871 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5874 else
5875 no_cache=1
5876 fi
5877
5878 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5879
5880 fi
5881
5882
5883 eval "$ac_cv_use_apple_ieee"
5884 if test "$no_cache" != 1; then
5885 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5886 fi
5887
5888 if test "$wxUSE_APPLE_IEEE" = yes; then
5889 { echo "$as_me:$LINENO: result: yes" >&5
5890 echo "${ECHO_T}yes" >&6; }
5891 else
5892 { echo "$as_me:$LINENO: result: no" >&5
5893 echo "${ECHO_T}no" >&6; }
5894 fi
5895
5896
5897 enablestring=
5898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5899 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5900 no_cache=0
5901 # Check whether --enable-arcstream was given.
5902 if test "${enable_arcstream+set}" = set; then
5903 enableval=$enable_arcstream;
5904 if test "$enableval" = yes; then
5905 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5906 else
5907 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5908 fi
5909
5910 else
5911
5912 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5915 else
5916 no_cache=1
5917 fi
5918
5919 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5920
5921 fi
5922
5923
5924 eval "$ac_cv_use_arcstream"
5925 if test "$no_cache" != 1; then
5926 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5927 fi
5928
5929 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5930 { echo "$as_me:$LINENO: result: yes" >&5
5931 echo "${ECHO_T}yes" >&6; }
5932 else
5933 { echo "$as_me:$LINENO: result: no" >&5
5934 echo "${ECHO_T}no" >&6; }
5935 fi
5936
5937
5938 enablestring=
5939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5941 no_cache=0
5942 # Check whether --enable-backtrace was given.
5943 if test "${enable_backtrace+set}" = set; then
5944 enableval=$enable_backtrace;
5945 if test "$enableval" = yes; then
5946 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5947 else
5948 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5949 fi
5950
5951 else
5952
5953 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x ; then
5955 eval "DEFAULT_$LINE"
5956 else
5957 no_cache=1
5958 fi
5959
5960 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5961
5962 fi
5963
5964
5965 eval "$ac_cv_use_backtrace"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5968 fi
5969
5970 if test "$wxUSE_STACKWALKER" = yes; then
5971 { echo "$as_me:$LINENO: result: yes" >&5
5972 echo "${ECHO_T}yes" >&6; }
5973 else
5974 { echo "$as_me:$LINENO: result: no" >&5
5975 echo "${ECHO_T}no" >&6; }
5976 fi
5977
5978
5979 enablestring=
5980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5981 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5982 no_cache=0
5983 # Check whether --enable-catch_segvs was given.
5984 if test "${enable_catch_segvs+set}" = set; then
5985 enableval=$enable_catch_segvs;
5986 if test "$enableval" = yes; then
5987 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5988 else
5989 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5990 fi
5991
5992 else
5993
5994 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x ; then
5996 eval "DEFAULT_$LINE"
5997 else
5998 no_cache=1
5999 fi
6000
6001 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
6002
6003 fi
6004
6005
6006 eval "$ac_cv_use_catch_segvs"
6007 if test "$no_cache" != 1; then
6008 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6009 fi
6010
6011 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
6012 { echo "$as_me:$LINENO: result: yes" >&5
6013 echo "${ECHO_T}yes" >&6; }
6014 else
6015 { echo "$as_me:$LINENO: result: no" >&5
6016 echo "${ECHO_T}no" >&6; }
6017 fi
6018
6019
6020 enablestring=
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6023 no_cache=0
6024 # Check whether --enable-cmdline was given.
6025 if test "${enable_cmdline+set}" = set; then
6026 enableval=$enable_cmdline;
6027 if test "$enableval" = yes; then
6028 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6029 else
6030 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6031 fi
6032
6033 else
6034
6035 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x ; then
6037 eval "DEFAULT_$LINE"
6038 else
6039 no_cache=1
6040 fi
6041
6042 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
6043
6044 fi
6045
6046
6047 eval "$ac_cv_use_cmdline"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6050 fi
6051
6052 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6053 { echo "$as_me:$LINENO: result: yes" >&5
6054 echo "${ECHO_T}yes" >&6; }
6055 else
6056 { echo "$as_me:$LINENO: result: no" >&5
6057 echo "${ECHO_T}no" >&6; }
6058 fi
6059
6060
6061 enablestring=
6062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6064 no_cache=0
6065 # Check whether --enable-datetime was given.
6066 if test "${enable_datetime+set}" = set; then
6067 enableval=$enable_datetime;
6068 if test "$enableval" = yes; then
6069 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6070 else
6071 ac_cv_use_datetime='wxUSE_DATETIME=no'
6072 fi
6073
6074 else
6075
6076 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6079 else
6080 no_cache=1
6081 fi
6082
6083 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6084
6085 fi
6086
6087
6088 eval "$ac_cv_use_datetime"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6091 fi
6092
6093 if test "$wxUSE_DATETIME" = yes; then
6094 { echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6; }
6096 else
6097 { echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6; }
6099 fi
6100
6101
6102 enablestring=
6103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6105 no_cache=0
6106 # Check whether --enable-debugreport was given.
6107 if test "${enable_debugreport+set}" = set; then
6108 enableval=$enable_debugreport;
6109 if test "$enableval" = yes; then
6110 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6111 else
6112 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6113 fi
6114
6115 else
6116
6117 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6120 else
6121 no_cache=1
6122 fi
6123
6124 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6125
6126 fi
6127
6128
6129 eval "$ac_cv_use_debugreport"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6132 fi
6133
6134 if test "$wxUSE_DEBUGREPORT" = yes; then
6135 { echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6; }
6137 else
6138 { echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6; }
6140 fi
6141
6142
6143 enablestring=
6144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6146 no_cache=0
6147 # Check whether --enable-dialupman was given.
6148 if test "${enable_dialupman+set}" = set; then
6149 enableval=$enable_dialupman;
6150 if test "$enableval" = yes; then
6151 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6152 else
6153 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6154 fi
6155
6156 else
6157
6158 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x ; then
6160 eval "DEFAULT_$LINE"
6161 else
6162 no_cache=1
6163 fi
6164
6165 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6166
6167 fi
6168
6169
6170 eval "$ac_cv_use_dialupman"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6173 fi
6174
6175 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6176 { echo "$as_me:$LINENO: result: yes" >&5
6177 echo "${ECHO_T}yes" >&6; }
6178 else
6179 { echo "$as_me:$LINENO: result: no" >&5
6180 echo "${ECHO_T}no" >&6; }
6181 fi
6182
6183
6184 enablestring=
6185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6187 no_cache=0
6188 # Check whether --enable-dynlib was given.
6189 if test "${enable_dynlib+set}" = set; then
6190 enableval=$enable_dynlib;
6191 if test "$enableval" = yes; then
6192 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6193 else
6194 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6195 fi
6196
6197 else
6198
6199 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x ; then
6201 eval "DEFAULT_$LINE"
6202 else
6203 no_cache=1
6204 fi
6205
6206 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6207
6208 fi
6209
6210
6211 eval "$ac_cv_use_dynlib"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6214 fi
6215
6216 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6217 { echo "$as_me:$LINENO: result: yes" >&5
6218 echo "${ECHO_T}yes" >&6; }
6219 else
6220 { echo "$as_me:$LINENO: result: no" >&5
6221 echo "${ECHO_T}no" >&6; }
6222 fi
6223
6224
6225 enablestring=
6226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6228 no_cache=0
6229 # Check whether --enable-dynamicloader was given.
6230 if test "${enable_dynamicloader+set}" = set; then
6231 enableval=$enable_dynamicloader;
6232 if test "$enableval" = yes; then
6233 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6234 else
6235 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6236 fi
6237
6238 else
6239
6240 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6248
6249 fi
6250
6251
6252 eval "$ac_cv_use_dynamicloader"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6255 fi
6256
6257 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6258 { echo "$as_me:$LINENO: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6; }
6260 else
6261 { echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6; }
6263 fi
6264
6265
6266 enablestring=
6267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6268 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6269 no_cache=0
6270 # Check whether --enable-exceptions was given.
6271 if test "${enable_exceptions+set}" = set; then
6272 enableval=$enable_exceptions;
6273 if test "$enableval" = yes; then
6274 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6275 else
6276 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6277 fi
6278
6279 else
6280
6281 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x ; then
6283 eval "DEFAULT_$LINE"
6284 else
6285 no_cache=1
6286 fi
6287
6288 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6289
6290 fi
6291
6292
6293 eval "$ac_cv_use_exceptions"
6294 if test "$no_cache" != 1; then
6295 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6296 fi
6297
6298 if test "$wxUSE_EXCEPTIONS" = yes; then
6299 { echo "$as_me:$LINENO: result: yes" >&5
6300 echo "${ECHO_T}yes" >&6; }
6301 else
6302 { echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6; }
6304 fi
6305
6306
6307 enablestring=
6308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6309 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6310 no_cache=0
6311 # Check whether --enable-ffile was given.
6312 if test "${enable_ffile+set}" = set; then
6313 enableval=$enable_ffile;
6314 if test "$enableval" = yes; then
6315 ac_cv_use_ffile='wxUSE_FFILE=yes'
6316 else
6317 ac_cv_use_ffile='wxUSE_FFILE=no'
6318 fi
6319
6320 else
6321
6322 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6325 else
6326 no_cache=1
6327 fi
6328
6329 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6330
6331 fi
6332
6333
6334 eval "$ac_cv_use_ffile"
6335 if test "$no_cache" != 1; then
6336 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6337 fi
6338
6339 if test "$wxUSE_FFILE" = yes; then
6340 { echo "$as_me:$LINENO: result: yes" >&5
6341 echo "${ECHO_T}yes" >&6; }
6342 else
6343 { echo "$as_me:$LINENO: result: no" >&5
6344 echo "${ECHO_T}no" >&6; }
6345 fi
6346
6347
6348 enablestring=
6349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6350 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6351 no_cache=0
6352 # Check whether --enable-file was given.
6353 if test "${enable_file+set}" = set; then
6354 enableval=$enable_file;
6355 if test "$enableval" = yes; then
6356 ac_cv_use_file='wxUSE_FILE=yes'
6357 else
6358 ac_cv_use_file='wxUSE_FILE=no'
6359 fi
6360
6361 else
6362
6363 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x ; then
6365 eval "DEFAULT_$LINE"
6366 else
6367 no_cache=1
6368 fi
6369
6370 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6371
6372 fi
6373
6374
6375 eval "$ac_cv_use_file"
6376 if test "$no_cache" != 1; then
6377 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6378 fi
6379
6380 if test "$wxUSE_FILE" = yes; then
6381 { echo "$as_me:$LINENO: result: yes" >&5
6382 echo "${ECHO_T}yes" >&6; }
6383 else
6384 { echo "$as_me:$LINENO: result: no" >&5
6385 echo "${ECHO_T}no" >&6; }
6386 fi
6387
6388
6389 enablestring=
6390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6392 no_cache=0
6393 # Check whether --enable-filesystem was given.
6394 if test "${enable_filesystem+set}" = set; then
6395 enableval=$enable_filesystem;
6396 if test "$enableval" = yes; then
6397 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6398 else
6399 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6400 fi
6401
6402 else
6403
6404 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x ; then
6406 eval "DEFAULT_$LINE"
6407 else
6408 no_cache=1
6409 fi
6410
6411 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6412
6413 fi
6414
6415
6416 eval "$ac_cv_use_filesystem"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6419 fi
6420
6421 if test "$wxUSE_FILESYSTEM" = yes; then
6422 { echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6; }
6424 else
6425 { echo "$as_me:$LINENO: result: no" >&5
6426 echo "${ECHO_T}no" >&6; }
6427 fi
6428
6429
6430 enablestring=
6431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6433 no_cache=0
6434 # Check whether --enable-fontmap was given.
6435 if test "${enable_fontmap+set}" = set; then
6436 enableval=$enable_fontmap;
6437 if test "$enableval" = yes; then
6438 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6439 else
6440 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6441 fi
6442
6443 else
6444
6445 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6448 else
6449 no_cache=1
6450 fi
6451
6452 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6453
6454 fi
6455
6456
6457 eval "$ac_cv_use_fontmap"
6458 if test "$no_cache" != 1; then
6459 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6460 fi
6461
6462 if test "$wxUSE_FONTMAP" = yes; then
6463 { echo "$as_me:$LINENO: result: yes" >&5
6464 echo "${ECHO_T}yes" >&6; }
6465 else
6466 { echo "$as_me:$LINENO: result: no" >&5
6467 echo "${ECHO_T}no" >&6; }
6468 fi
6469
6470
6471 enablestring=
6472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6474 no_cache=0
6475 # Check whether --enable-fs_archive was given.
6476 if test "${enable_fs_archive+set}" = set; then
6477 enableval=$enable_fs_archive;
6478 if test "$enableval" = yes; then
6479 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6480 else
6481 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6482 fi
6483
6484 else
6485
6486 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6489 else
6490 no_cache=1
6491 fi
6492
6493 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6494
6495 fi
6496
6497
6498 eval "$ac_cv_use_fs_archive"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6501 fi
6502
6503 if test "$wxUSE_FS_ARCHIVE" = yes; then
6504 { echo "$as_me:$LINENO: result: yes" >&5
6505 echo "${ECHO_T}yes" >&6; }
6506 else
6507 { echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6; }
6509 fi
6510
6511
6512 enablestring=
6513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6514 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6515 no_cache=0
6516 # Check whether --enable-fs_inet was given.
6517 if test "${enable_fs_inet+set}" = set; then
6518 enableval=$enable_fs_inet;
6519 if test "$enableval" = yes; then
6520 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6521 else
6522 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6523 fi
6524
6525 else
6526
6527 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x ; then
6529 eval "DEFAULT_$LINE"
6530 else
6531 no_cache=1
6532 fi
6533
6534 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6535
6536 fi
6537
6538
6539 eval "$ac_cv_use_fs_inet"
6540 if test "$no_cache" != 1; then
6541 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6542 fi
6543
6544 if test "$wxUSE_FS_INET" = yes; then
6545 { echo "$as_me:$LINENO: result: yes" >&5
6546 echo "${ECHO_T}yes" >&6; }
6547 else
6548 { echo "$as_me:$LINENO: result: no" >&5
6549 echo "${ECHO_T}no" >&6; }
6550 fi
6551
6552
6553 enablestring=
6554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6556 no_cache=0
6557 # Check whether --enable-fs_zip was given.
6558 if test "${enable_fs_zip+set}" = set; then
6559 enableval=$enable_fs_zip;
6560 if test "$enableval" = yes; then
6561 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6562 else
6563 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6564 fi
6565
6566 else
6567
6568 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x ; then
6570 eval "DEFAULT_$LINE"
6571 else
6572 no_cache=1
6573 fi
6574
6575 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6576
6577 fi
6578
6579
6580 eval "$ac_cv_use_fs_zip"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6583 fi
6584
6585 if test "$wxUSE_FS_ZIP" = yes; then
6586 { echo "$as_me:$LINENO: result: yes" >&5
6587 echo "${ECHO_T}yes" >&6; }
6588 else
6589 { echo "$as_me:$LINENO: result: no" >&5
6590 echo "${ECHO_T}no" >&6; }
6591 fi
6592
6593
6594 enablestring=
6595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6597 no_cache=0
6598 # Check whether --enable-geometry was given.
6599 if test "${enable_geometry+set}" = set; then
6600 enableval=$enable_geometry;
6601 if test "$enableval" = yes; then
6602 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6603 else
6604 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6605 fi
6606
6607 else
6608
6609 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6612 else
6613 no_cache=1
6614 fi
6615
6616 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6617
6618 fi
6619
6620
6621 eval "$ac_cv_use_geometry"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6624 fi
6625
6626 if test "$wxUSE_GEOMETRY" = yes; then
6627 { echo "$as_me:$LINENO: result: yes" >&5
6628 echo "${ECHO_T}yes" >&6; }
6629 else
6630 { echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6; }
6632 fi
6633
6634
6635 enablestring=
6636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6638 no_cache=0
6639 # Check whether --enable-log was given.
6640 if test "${enable_log+set}" = set; then
6641 enableval=$enable_log;
6642 if test "$enableval" = yes; then
6643 ac_cv_use_log='wxUSE_LOG=yes'
6644 else
6645 ac_cv_use_log='wxUSE_LOG=no'
6646 fi
6647
6648 else
6649
6650 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
6651 if test "x$LINE" != x ; then
6652 eval "DEFAULT_$LINE"
6653 else
6654 no_cache=1
6655 fi
6656
6657 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6658
6659 fi
6660
6661
6662 eval "$ac_cv_use_log"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6665 fi
6666
6667 if test "$wxUSE_LOG" = yes; then
6668 { echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6; }
6670 else
6671 { echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6; }
6673 fi
6674
6675
6676 enablestring=
6677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6679 no_cache=0
6680 # Check whether --enable-longlong was given.
6681 if test "${enable_longlong+set}" = set; then
6682 enableval=$enable_longlong;
6683 if test "$enableval" = yes; then
6684 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6685 else
6686 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6687 fi
6688
6689 else
6690
6691 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x ; then
6693 eval "DEFAULT_$LINE"
6694 else
6695 no_cache=1
6696 fi
6697
6698 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6699
6700 fi
6701
6702
6703 eval "$ac_cv_use_longlong"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6706 fi
6707
6708 if test "$wxUSE_LONGLONG" = yes; then
6709 { echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6; }
6711 else
6712 { echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6; }
6714 fi
6715
6716
6717 enablestring=
6718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6720 no_cache=0
6721 # Check whether --enable-mimetype was given.
6722 if test "${enable_mimetype+set}" = set; then
6723 enableval=$enable_mimetype;
6724 if test "$enableval" = yes; then
6725 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6726 else
6727 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6728 fi
6729
6730 else
6731
6732 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
6733 if test "x$LINE" != x ; then
6734 eval "DEFAULT_$LINE"
6735 else
6736 no_cache=1
6737 fi
6738
6739 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6740
6741 fi
6742
6743
6744 eval "$ac_cv_use_mimetype"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6747 fi
6748
6749 if test "$wxUSE_MIMETYPE" = yes; then
6750 { echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6; }
6752 else
6753 { echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6; }
6755 fi
6756
6757
6758 enablestring=
6759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6761 no_cache=0
6762 # Check whether --enable-mslu was given.
6763 if test "${enable_mslu+set}" = set; then
6764 enableval=$enable_mslu;
6765 if test "$enableval" = yes; then
6766 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6767 else
6768 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6769 fi
6770
6771 else
6772
6773 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
6774 if test "x$LINE" != x ; then
6775 eval "DEFAULT_$LINE"
6776 else
6777 no_cache=1
6778 fi
6779
6780 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6781
6782 fi
6783
6784
6785 eval "$ac_cv_use_mslu"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6788 fi
6789
6790 if test "$wxUSE_UNICODE_MSLU" = yes; then
6791 { echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6; }
6793 else
6794 { echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6; }
6796 fi
6797
6798
6799 enablestring=
6800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6802 no_cache=0
6803 # Check whether --enable-utf8 was given.
6804 if test "${enable_utf8+set}" = set; then
6805 enableval=$enable_utf8;
6806 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6807
6808 else
6809
6810 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x ; then
6812 eval "DEFAULT_$LINE"
6813 else
6814 no_cache=1
6815 fi
6816
6817 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6818
6819 fi
6820
6821
6822 eval "$wx_cv_use_utf8"
6823 if test "$no_cache" != 1; then
6824 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6825 fi
6826
6827 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6828 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
6829
6830
6831 enablestring=
6832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6833 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
6834 no_cache=0
6835 # Check whether --enable-utf8only was given.
6836 if test "${enable_utf8only+set}" = set; then
6837 enableval=$enable_utf8only;
6838 if test "$enableval" = yes; then
6839 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6840 else
6841 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6842 fi
6843
6844 else
6845
6846 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
6847 if test "x$LINE" != x ; then
6848 eval "DEFAULT_$LINE"
6849 else
6850 no_cache=1
6851 fi
6852
6853 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6854
6855 fi
6856
6857
6858 eval "$ac_cv_use_utf8only"
6859 if test "$no_cache" != 1; then
6860 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6861 fi
6862
6863 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6864 { echo "$as_me:$LINENO: result: yes" >&5
6865 echo "${ECHO_T}yes" >&6; }
6866 else
6867 { echo "$as_me:$LINENO: result: no" >&5
6868 echo "${ECHO_T}no" >&6; }
6869 fi
6870
6871
6872 enablestring=
6873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6875 no_cache=0
6876 # Check whether --enable-snglinst was given.
6877 if test "${enable_snglinst+set}" = set; then
6878 enableval=$enable_snglinst;
6879 if test "$enableval" = yes; then
6880 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6881 else
6882 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6883 fi
6884
6885 else
6886
6887 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
6888 if test "x$LINE" != x ; then
6889 eval "DEFAULT_$LINE"
6890 else
6891 no_cache=1
6892 fi
6893
6894 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6895
6896 fi
6897
6898
6899 eval "$ac_cv_use_snglinst"
6900 if test "$no_cache" != 1; then
6901 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6902 fi
6903
6904 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6905 { echo "$as_me:$LINENO: result: yes" >&5
6906 echo "${ECHO_T}yes" >&6; }
6907 else
6908 { echo "$as_me:$LINENO: result: no" >&5
6909 echo "${ECHO_T}no" >&6; }
6910 fi
6911
6912
6913 enablestring=
6914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6916 no_cache=0
6917 # Check whether --enable-std_iostreams was given.
6918 if test "${enable_std_iostreams+set}" = set; then
6919 enableval=$enable_std_iostreams;
6920 if test "$enableval" = yes; then
6921 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6922 else
6923 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6924 fi
6925
6926 else
6927
6928 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
6929 if test "x$LINE" != x ; then
6930 eval "DEFAULT_$LINE"
6931 else
6932 no_cache=1
6933 fi
6934
6935 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6936
6937 fi
6938
6939
6940 eval "$ac_cv_use_std_iostreams"
6941 if test "$no_cache" != 1; then
6942 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6943 fi
6944
6945 if test "$wxUSE_STD_IOSTREAM" = yes; then
6946 { echo "$as_me:$LINENO: result: yes" >&5
6947 echo "${ECHO_T}yes" >&6; }
6948 else
6949 { echo "$as_me:$LINENO: result: no" >&5
6950 echo "${ECHO_T}no" >&6; }
6951 fi
6952
6953
6954 enablestring=
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6957 no_cache=0
6958 # Check whether --enable-std_string was given.
6959 if test "${enable_std_string+set}" = set; then
6960 enableval=$enable_std_string;
6961 if test "$enableval" = yes; then
6962 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6963 else
6964 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6965 fi
6966
6967 else
6968
6969 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
6970 if test "x$LINE" != x ; then
6971 eval "DEFAULT_$LINE"
6972 else
6973 no_cache=1
6974 fi
6975
6976 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6977
6978 fi
6979
6980
6981 eval "$ac_cv_use_std_string"
6982 if test "$no_cache" != 1; then
6983 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6984 fi
6985
6986 if test "$wxUSE_STD_STRING" = yes; then
6987 { echo "$as_me:$LINENO: result: yes" >&5
6988 echo "${ECHO_T}yes" >&6; }
6989 else
6990 { echo "$as_me:$LINENO: result: no" >&5
6991 echo "${ECHO_T}no" >&6; }
6992 fi
6993
6994
6995 enablestring=
6996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6998 no_cache=0
6999 # Check whether --enable-stdpaths was given.
7000 if test "${enable_stdpaths+set}" = set; then
7001 enableval=$enable_stdpaths;
7002 if test "$enableval" = yes; then
7003 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7004 else
7005 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
7006 fi
7007
7008 else
7009
7010 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7011 if test "x$LINE" != x ; then
7012 eval "DEFAULT_$LINE"
7013 else
7014 no_cache=1
7015 fi
7016
7017 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
7018
7019 fi
7020
7021
7022 eval "$ac_cv_use_stdpaths"
7023 if test "$no_cache" != 1; then
7024 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
7025 fi
7026
7027 if test "$wxUSE_STDPATHS" = yes; then
7028 { echo "$as_me:$LINENO: result: yes" >&5
7029 echo "${ECHO_T}yes" >&6; }
7030 else
7031 { echo "$as_me:$LINENO: result: no" >&5
7032 echo "${ECHO_T}no" >&6; }
7033 fi
7034
7035
7036 enablestring=
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7039 no_cache=0
7040 # Check whether --enable-stopwatch was given.
7041 if test "${enable_stopwatch+set}" = set; then
7042 enableval=$enable_stopwatch;
7043 if test "$enableval" = yes; then
7044 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7045 else
7046 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7047 fi
7048
7049 else
7050
7051 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x ; then
7053 eval "DEFAULT_$LINE"
7054 else
7055 no_cache=1
7056 fi
7057
7058 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
7059
7060 fi
7061
7062
7063 eval "$ac_cv_use_stopwatch"
7064 if test "$no_cache" != 1; then
7065 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7066 fi
7067
7068 if test "$wxUSE_STOPWATCH" = yes; then
7069 { echo "$as_me:$LINENO: result: yes" >&5
7070 echo "${ECHO_T}yes" >&6; }
7071 else
7072 { echo "$as_me:$LINENO: result: no" >&5
7073 echo "${ECHO_T}no" >&6; }
7074 fi
7075
7076
7077 enablestring=
7078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7079 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7080 no_cache=0
7081 # Check whether --enable-streams was given.
7082 if test "${enable_streams+set}" = set; then
7083 enableval=$enable_streams;
7084 if test "$enableval" = yes; then
7085 ac_cv_use_streams='wxUSE_STREAMS=yes'
7086 else
7087 ac_cv_use_streams='wxUSE_STREAMS=no'
7088 fi
7089
7090 else
7091
7092 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7093 if test "x$LINE" != x ; then
7094 eval "DEFAULT_$LINE"
7095 else
7096 no_cache=1
7097 fi
7098
7099 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7100
7101 fi
7102
7103
7104 eval "$ac_cv_use_streams"
7105 if test "$no_cache" != 1; then
7106 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7107 fi
7108
7109 if test "$wxUSE_STREAMS" = yes; then
7110 { echo "$as_me:$LINENO: result: yes" >&5
7111 echo "${ECHO_T}yes" >&6; }
7112 else
7113 { echo "$as_me:$LINENO: result: no" >&5
7114 echo "${ECHO_T}no" >&6; }
7115 fi
7116
7117
7118 enablestring=
7119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7120 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7121 no_cache=0
7122 # Check whether --enable-system_options was given.
7123 if test "${enable_system_options+set}" = set; then
7124 enableval=$enable_system_options;
7125 if test "$enableval" = yes; then
7126 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7127 else
7128 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7129 fi
7130
7131 else
7132
7133 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7134 if test "x$LINE" != x ; then
7135 eval "DEFAULT_$LINE"
7136 else
7137 no_cache=1
7138 fi
7139
7140 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7141
7142 fi
7143
7144
7145 eval "$ac_cv_use_system_options"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7148 fi
7149
7150 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7151 { echo "$as_me:$LINENO: result: yes" >&5
7152 echo "${ECHO_T}yes" >&6; }
7153 else
7154 { echo "$as_me:$LINENO: result: no" >&5
7155 echo "${ECHO_T}no" >&6; }
7156 fi
7157
7158
7159 enablestring=
7160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7161 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7162 no_cache=0
7163 # Check whether --enable-tarstream was given.
7164 if test "${enable_tarstream+set}" = set; then
7165 enableval=$enable_tarstream;
7166 if test "$enableval" = yes; then
7167 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7168 else
7169 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7170 fi
7171
7172 else
7173
7174 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7175 if test "x$LINE" != x ; then
7176 eval "DEFAULT_$LINE"
7177 else
7178 no_cache=1
7179 fi
7180
7181 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7182
7183 fi
7184
7185
7186 eval "$ac_cv_use_tarstream"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7189 fi
7190
7191 if test "$wxUSE_TARSTREAM" = yes; then
7192 { echo "$as_me:$LINENO: result: yes" >&5
7193 echo "${ECHO_T}yes" >&6; }
7194 else
7195 { echo "$as_me:$LINENO: result: no" >&5
7196 echo "${ECHO_T}no" >&6; }
7197 fi
7198
7199
7200 enablestring=
7201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7202 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7203 no_cache=0
7204 # Check whether --enable-textbuf was given.
7205 if test "${enable_textbuf+set}" = set; then
7206 enableval=$enable_textbuf;
7207 if test "$enableval" = yes; then
7208 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7209 else
7210 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7211 fi
7212
7213 else
7214
7215 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7216 if test "x$LINE" != x ; then
7217 eval "DEFAULT_$LINE"
7218 else
7219 no_cache=1
7220 fi
7221
7222 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7223
7224 fi
7225
7226
7227 eval "$ac_cv_use_textbuf"
7228 if test "$no_cache" != 1; then
7229 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7230 fi
7231
7232 if test "$wxUSE_TEXTBUFFER" = yes; then
7233 { echo "$as_me:$LINENO: result: yes" >&5
7234 echo "${ECHO_T}yes" >&6; }
7235 else
7236 { echo "$as_me:$LINENO: result: no" >&5
7237 echo "${ECHO_T}no" >&6; }
7238 fi
7239
7240
7241 enablestring=
7242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7243 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7244 no_cache=0
7245 # Check whether --enable-textfile was given.
7246 if test "${enable_textfile+set}" = set; then
7247 enableval=$enable_textfile;
7248 if test "$enableval" = yes; then
7249 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7250 else
7251 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7252 fi
7253
7254 else
7255
7256 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
7257 if test "x$LINE" != x ; then
7258 eval "DEFAULT_$LINE"
7259 else
7260 no_cache=1
7261 fi
7262
7263 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7264
7265 fi
7266
7267
7268 eval "$ac_cv_use_textfile"
7269 if test "$no_cache" != 1; then
7270 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7271 fi
7272
7273 if test "$wxUSE_TEXTFILE" = yes; then
7274 { echo "$as_me:$LINENO: result: yes" >&5
7275 echo "${ECHO_T}yes" >&6; }
7276 else
7277 { echo "$as_me:$LINENO: result: no" >&5
7278 echo "${ECHO_T}no" >&6; }
7279 fi
7280
7281
7282 enablestring=
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7285 no_cache=0
7286 # Check whether --enable-timer was given.
7287 if test "${enable_timer+set}" = set; then
7288 enableval=$enable_timer;
7289 if test "$enableval" = yes; then
7290 ac_cv_use_timer='wxUSE_TIMER=yes'
7291 else
7292 ac_cv_use_timer='wxUSE_TIMER=no'
7293 fi
7294
7295 else
7296
7297 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
7298 if test "x$LINE" != x ; then
7299 eval "DEFAULT_$LINE"
7300 else
7301 no_cache=1
7302 fi
7303
7304 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7305
7306 fi
7307
7308
7309 eval "$ac_cv_use_timer"
7310 if test "$no_cache" != 1; then
7311 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7312 fi
7313
7314 if test "$wxUSE_TIMER" = yes; then
7315 { echo "$as_me:$LINENO: result: yes" >&5
7316 echo "${ECHO_T}yes" >&6; }
7317 else
7318 { echo "$as_me:$LINENO: result: no" >&5
7319 echo "${ECHO_T}no" >&6; }
7320 fi
7321
7322
7323 enablestring=
7324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7325 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7326 no_cache=0
7327 # Check whether --enable-unicode was given.
7328 if test "${enable_unicode+set}" = set; then
7329 enableval=$enable_unicode;
7330 if test "$enableval" = yes; then
7331 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7332 else
7333 ac_cv_use_unicode='wxUSE_UNICODE=no'
7334 fi
7335
7336 else
7337
7338 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
7339 if test "x$LINE" != x ; then
7340 eval "DEFAULT_$LINE"
7341 else
7342 no_cache=1
7343 fi
7344
7345 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7346
7347 fi
7348
7349
7350 eval "$ac_cv_use_unicode"
7351 if test "$no_cache" != 1; then
7352 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7353 fi
7354
7355 if test "$wxUSE_UNICODE" = yes; then
7356 { echo "$as_me:$LINENO: result: yes" >&5
7357 echo "${ECHO_T}yes" >&6; }
7358 else
7359 { echo "$as_me:$LINENO: result: no" >&5
7360 echo "${ECHO_T}no" >&6; }
7361 fi
7362
7363
7364 enablestring=
7365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7367 no_cache=0
7368 # Check whether --enable-sound was given.
7369 if test "${enable_sound+set}" = set; then
7370 enableval=$enable_sound;
7371 if test "$enableval" = yes; then
7372 ac_cv_use_sound='wxUSE_SOUND=yes'
7373 else
7374 ac_cv_use_sound='wxUSE_SOUND=no'
7375 fi
7376
7377 else
7378
7379 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
7380 if test "x$LINE" != x ; then
7381 eval "DEFAULT_$LINE"
7382 else
7383 no_cache=1
7384 fi
7385
7386 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7387
7388 fi
7389
7390
7391 eval "$ac_cv_use_sound"
7392 if test "$no_cache" != 1; then
7393 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7394 fi
7395
7396 if test "$wxUSE_SOUND" = yes; then
7397 { echo "$as_me:$LINENO: result: yes" >&5
7398 echo "${ECHO_T}yes" >&6; }
7399 else
7400 { echo "$as_me:$LINENO: result: no" >&5
7401 echo "${ECHO_T}no" >&6; }
7402 fi
7403
7404
7405 enablestring=
7406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7407 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7408 no_cache=0
7409 # Check whether --enable-mediactrl was given.
7410 if test "${enable_mediactrl+set}" = set; then
7411 enableval=$enable_mediactrl;
7412 if test "$enableval" = yes; then
7413 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7414 else
7415 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7416 fi
7417
7418 else
7419
7420 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
7421 if test "x$LINE" != x ; then
7422 eval "DEFAULT_$LINE"
7423 else
7424 no_cache=1
7425 fi
7426
7427 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7428
7429 fi
7430
7431
7432 eval "$ac_cv_use_mediactrl"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7435 fi
7436
7437 if test "$wxUSE_MEDIACTRL" = yes; then
7438 { echo "$as_me:$LINENO: result: yes" >&5
7439 echo "${ECHO_T}yes" >&6; }
7440 else
7441 { echo "$as_me:$LINENO: result: no" >&5
7442 echo "${ECHO_T}no" >&6; }
7443 fi
7444
7445
7446 enablestring=
7447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7448 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7449 no_cache=0
7450 # Check whether --enable-gstreamer8 was given.
7451 if test "${enable_gstreamer8+set}" = set; then
7452 enableval=$enable_gstreamer8;
7453 if test "$enableval" = yes; then
7454 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7455 else
7456 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7457 fi
7458
7459 else
7460
7461 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
7462 if test "x$LINE" != x ; then
7463 eval "DEFAULT_$LINE"
7464 else
7465 no_cache=1
7466 fi
7467
7468 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7469
7470 fi
7471
7472
7473 eval "$ac_cv_use_gstreamer8"
7474 if test "$no_cache" != 1; then
7475 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7476 fi
7477
7478 if test "$wxUSE_GSTREAMER8" = yes; then
7479 { echo "$as_me:$LINENO: result: yes" >&5
7480 echo "${ECHO_T}yes" >&6; }
7481 else
7482 { echo "$as_me:$LINENO: result: no" >&5
7483 echo "${ECHO_T}no" >&6; }
7484 fi
7485
7486
7487 enablestring=
7488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7489 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7490 no_cache=0
7491 # Check whether --enable-printfposparam was given.
7492 if test "${enable_printfposparam+set}" = set; then
7493 enableval=$enable_printfposparam;
7494 if test "$enableval" = yes; then
7495 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7496 else
7497 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7498 fi
7499
7500 else
7501
7502 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
7503 if test "x$LINE" != x ; then
7504 eval "DEFAULT_$LINE"
7505 else
7506 no_cache=1
7507 fi
7508
7509 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7510
7511 fi
7512
7513
7514 eval "$ac_cv_use_printfposparam"
7515 if test "$no_cache" != 1; then
7516 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7517 fi
7518
7519 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7520 { echo "$as_me:$LINENO: result: yes" >&5
7521 echo "${ECHO_T}yes" >&6; }
7522 else
7523 { echo "$as_me:$LINENO: result: no" >&5
7524 echo "${ECHO_T}no" >&6; }
7525 fi
7526
7527
7528 enablestring=
7529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7530 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7531 no_cache=0
7532 # Check whether --enable-zipstream was given.
7533 if test "${enable_zipstream+set}" = set; then
7534 enableval=$enable_zipstream;
7535 if test "$enableval" = yes; then
7536 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7537 else
7538 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7539 fi
7540
7541 else
7542
7543 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
7544 if test "x$LINE" != x ; then
7545 eval "DEFAULT_$LINE"
7546 else
7547 no_cache=1
7548 fi
7549
7550 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7551
7552 fi
7553
7554
7555 eval "$ac_cv_use_zipstream"
7556 if test "$no_cache" != 1; then
7557 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7558 fi
7559
7560 if test "$wxUSE_ZIPSTREAM" = yes; then
7561 { echo "$as_me:$LINENO: result: yes" >&5
7562 echo "${ECHO_T}yes" >&6; }
7563 else
7564 { echo "$as_me:$LINENO: result: no" >&5
7565 echo "${ECHO_T}no" >&6; }
7566 fi
7567
7568
7569
7570 enablestring=
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7573 no_cache=0
7574 # Check whether --enable-url was given.
7575 if test "${enable_url+set}" = set; then
7576 enableval=$enable_url;
7577 if test "$enableval" = yes; then
7578 ac_cv_use_url='wxUSE_URL=yes'
7579 else
7580 ac_cv_use_url='wxUSE_URL=no'
7581 fi
7582
7583 else
7584
7585 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
7586 if test "x$LINE" != x ; then
7587 eval "DEFAULT_$LINE"
7588 else
7589 no_cache=1
7590 fi
7591
7592 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7593
7594 fi
7595
7596
7597 eval "$ac_cv_use_url"
7598 if test "$no_cache" != 1; then
7599 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7600 fi
7601
7602 if test "$wxUSE_URL" = yes; then
7603 { echo "$as_me:$LINENO: result: yes" >&5
7604 echo "${ECHO_T}yes" >&6; }
7605 else
7606 { echo "$as_me:$LINENO: result: no" >&5
7607 echo "${ECHO_T}no" >&6; }
7608 fi
7609
7610
7611 enablestring=
7612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7613 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7614 no_cache=0
7615 # Check whether --enable-variant was given.
7616 if test "${enable_variant+set}" = set; then
7617 enableval=$enable_variant;
7618 if test "$enableval" = yes; then
7619 ac_cv_use_variant='wxUSE_VARIANT=yes'
7620 else
7621 ac_cv_use_variant='wxUSE_VARIANT=no'
7622 fi
7623
7624 else
7625
7626 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
7627 if test "x$LINE" != x ; then
7628 eval "DEFAULT_$LINE"
7629 else
7630 no_cache=1
7631 fi
7632
7633 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7634
7635 fi
7636
7637
7638 eval "$ac_cv_use_variant"
7639 if test "$no_cache" != 1; then
7640 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7641 fi
7642
7643 if test "$wxUSE_VARIANT" = yes; then
7644 { echo "$as_me:$LINENO: result: yes" >&5
7645 echo "${ECHO_T}yes" >&6; }
7646 else
7647 { echo "$as_me:$LINENO: result: no" >&5
7648 echo "${ECHO_T}no" >&6; }
7649 fi
7650
7651
7652 enablestring=
7653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7654 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7655 no_cache=0
7656 # Check whether --enable-protocol was given.
7657 if test "${enable_protocol+set}" = set; then
7658 enableval=$enable_protocol;
7659 if test "$enableval" = yes; then
7660 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7661 else
7662 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7663 fi
7664
7665 else
7666
7667 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
7668 if test "x$LINE" != x ; then
7669 eval "DEFAULT_$LINE"
7670 else
7671 no_cache=1
7672 fi
7673
7674 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7675
7676 fi
7677
7678
7679 eval "$ac_cv_use_protocol"
7680 if test "$no_cache" != 1; then
7681 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7682 fi
7683
7684 if test "$wxUSE_PROTOCOL" = yes; then
7685 { echo "$as_me:$LINENO: result: yes" >&5
7686 echo "${ECHO_T}yes" >&6; }
7687 else
7688 { echo "$as_me:$LINENO: result: no" >&5
7689 echo "${ECHO_T}no" >&6; }
7690 fi
7691
7692
7693 enablestring=
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7696 no_cache=0
7697 # Check whether --enable-protocol_http was given.
7698 if test "${enable_protocol_http+set}" = set; then
7699 enableval=$enable_protocol_http;
7700 if test "$enableval" = yes; then
7701 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7702 else
7703 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7704 fi
7705
7706 else
7707
7708 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
7709 if test "x$LINE" != x ; then
7710 eval "DEFAULT_$LINE"
7711 else
7712 no_cache=1
7713 fi
7714
7715 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7716
7717 fi
7718
7719
7720 eval "$ac_cv_use_protocol_http"
7721 if test "$no_cache" != 1; then
7722 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7723 fi
7724
7725 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7726 { echo "$as_me:$LINENO: result: yes" >&5
7727 echo "${ECHO_T}yes" >&6; }
7728 else
7729 { echo "$as_me:$LINENO: result: no" >&5
7730 echo "${ECHO_T}no" >&6; }
7731 fi
7732
7733
7734 enablestring=
7735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7736 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7737 no_cache=0
7738 # Check whether --enable-protocol_ftp was given.
7739 if test "${enable_protocol_ftp+set}" = set; then
7740 enableval=$enable_protocol_ftp;
7741 if test "$enableval" = yes; then
7742 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7743 else
7744 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7745 fi
7746
7747 else
7748
7749 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
7750 if test "x$LINE" != x ; then
7751 eval "DEFAULT_$LINE"
7752 else
7753 no_cache=1
7754 fi
7755
7756 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7757
7758 fi
7759
7760
7761 eval "$ac_cv_use_protocol_ftp"
7762 if test "$no_cache" != 1; then
7763 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7764 fi
7765
7766 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7767 { echo "$as_me:$LINENO: result: yes" >&5
7768 echo "${ECHO_T}yes" >&6; }
7769 else
7770 { echo "$as_me:$LINENO: result: no" >&5
7771 echo "${ECHO_T}no" >&6; }
7772 fi
7773
7774
7775 enablestring=
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7778 no_cache=0
7779 # Check whether --enable-protocol_file was given.
7780 if test "${enable_protocol_file+set}" = set; then
7781 enableval=$enable_protocol_file;
7782 if test "$enableval" = yes; then
7783 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7784 else
7785 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7786 fi
7787
7788 else
7789
7790 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${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_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7798
7799 fi
7800
7801
7802 eval "$ac_cv_use_protocol_file"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7805 fi
7806
7807 if test "$wxUSE_PROTOCOL_FILE" = 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
7817
7818
7819 enablestring=
7820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7821 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7822 no_cache=0
7823 # Check whether --enable-threads was given.
7824 if test "${enable_threads+set}" = set; then
7825 enableval=$enable_threads;
7826 if test "$enableval" = yes; then
7827 ac_cv_use_threads='wxUSE_THREADS=yes'
7828 else
7829 ac_cv_use_threads='wxUSE_THREADS=no'
7830 fi
7831
7832 else
7833
7834 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
7835 if test "x$LINE" != x ; then
7836 eval "DEFAULT_$LINE"
7837 else
7838 no_cache=1
7839 fi
7840
7841 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7842
7843 fi
7844
7845
7846 eval "$ac_cv_use_threads"
7847 if test "$no_cache" != 1; then
7848 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7849 fi
7850
7851 if test "$wxUSE_THREADS" = yes; then
7852 { echo "$as_me:$LINENO: result: yes" >&5
7853 echo "${ECHO_T}yes" >&6; }
7854 else
7855 { echo "$as_me:$LINENO: result: no" >&5
7856 echo "${ECHO_T}no" >&6; }
7857 fi
7858
7859
7860 if test "$wxUSE_GUI" = "yes"; then
7861
7862
7863
7864 enablestring=
7865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7867 no_cache=0
7868 # Check whether --enable-docview was given.
7869 if test "${enable_docview+set}" = set; then
7870 enableval=$enable_docview;
7871 if test "$enableval" = yes; then
7872 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7873 else
7874 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7875 fi
7876
7877 else
7878
7879 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7882 else
7883 no_cache=1
7884 fi
7885
7886 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7887
7888 fi
7889
7890
7891 eval "$ac_cv_use_docview"
7892 if test "$no_cache" != 1; then
7893 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7894 fi
7895
7896 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7897 { echo "$as_me:$LINENO: result: yes" >&5
7898 echo "${ECHO_T}yes" >&6; }
7899 else
7900 { echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6; }
7902 fi
7903
7904
7905 enablestring=
7906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7908 no_cache=0
7909 # Check whether --enable-help was given.
7910 if test "${enable_help+set}" = set; then
7911 enableval=$enable_help;
7912 if test "$enableval" = yes; then
7913 ac_cv_use_help='wxUSE_HELP=yes'
7914 else
7915 ac_cv_use_help='wxUSE_HELP=no'
7916 fi
7917
7918 else
7919
7920 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7923 else
7924 no_cache=1
7925 fi
7926
7927 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7928
7929 fi
7930
7931
7932 eval "$ac_cv_use_help"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7935 fi
7936
7937 if test "$wxUSE_HELP" = yes; then
7938 { echo "$as_me:$LINENO: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6; }
7940 else
7941 { echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6; }
7943 fi
7944
7945
7946 enablestring=
7947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7949 no_cache=0
7950 # Check whether --enable-mshtmlhelp was given.
7951 if test "${enable_mshtmlhelp+set}" = set; then
7952 enableval=$enable_mshtmlhelp;
7953 if test "$enableval" = yes; then
7954 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7955 else
7956 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7957 fi
7958
7959 else
7960
7961 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x ; then
7963 eval "DEFAULT_$LINE"
7964 else
7965 no_cache=1
7966 fi
7967
7968 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7969
7970 fi
7971
7972
7973 eval "$ac_cv_use_mshtmlhelp"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7976 fi
7977
7978 if test "$wxUSE_MS_HTML_HELP" = yes; then
7979 { echo "$as_me:$LINENO: result: yes" >&5
7980 echo "${ECHO_T}yes" >&6; }
7981 else
7982 { echo "$as_me:$LINENO: result: no" >&5
7983 echo "${ECHO_T}no" >&6; }
7984 fi
7985
7986
7987 enablestring=
7988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7990 no_cache=0
7991 # Check whether --enable-html was given.
7992 if test "${enable_html+set}" = set; then
7993 enableval=$enable_html;
7994 if test "$enableval" = yes; then
7995 ac_cv_use_html='wxUSE_HTML=yes'
7996 else
7997 ac_cv_use_html='wxUSE_HTML=no'
7998 fi
7999
8000 else
8001
8002 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x ; then
8004 eval "DEFAULT_$LINE"
8005 else
8006 no_cache=1
8007 fi
8008
8009 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
8010
8011 fi
8012
8013
8014 eval "$ac_cv_use_html"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
8017 fi
8018
8019 if test "$wxUSE_HTML" = yes; then
8020 { echo "$as_me:$LINENO: result: yes" >&5
8021 echo "${ECHO_T}yes" >&6; }
8022 else
8023 { echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6; }
8025 fi
8026
8027
8028 enablestring=
8029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8031 no_cache=0
8032 # Check whether --enable-htmlhelp was given.
8033 if test "${enable_htmlhelp+set}" = set; then
8034 enableval=$enable_htmlhelp;
8035 if test "$enableval" = yes; then
8036 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8037 else
8038 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8039 fi
8040
8041 else
8042
8043 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x ; then
8045 eval "DEFAULT_$LINE"
8046 else
8047 no_cache=1
8048 fi
8049
8050 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
8051
8052 fi
8053
8054
8055 eval "$ac_cv_use_htmlhelp"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8058 fi
8059
8060 if test "$wxUSE_WXHTML_HELP" = yes; then
8061 { echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6; }
8063 else
8064 { echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6; }
8066 fi
8067
8068
8069 enablestring=
8070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8072 no_cache=0
8073 # Check whether --enable-xrc was given.
8074 if test "${enable_xrc+set}" = set; then
8075 enableval=$enable_xrc;
8076 if test "$enableval" = yes; then
8077 ac_cv_use_xrc='wxUSE_XRC=yes'
8078 else
8079 ac_cv_use_xrc='wxUSE_XRC=no'
8080 fi
8081
8082 else
8083
8084 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8087 else
8088 no_cache=1
8089 fi
8090
8091 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8092
8093 fi
8094
8095
8096 eval "$ac_cv_use_xrc"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8099 fi
8100
8101 if test "$wxUSE_XRC" = yes; then
8102 { echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6; }
8104 else
8105 { echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6; }
8107 fi
8108
8109
8110 enablestring=
8111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8113 no_cache=0
8114 # Check whether --enable-aui was given.
8115 if test "${enable_aui+set}" = set; then
8116 enableval=$enable_aui;
8117 if test "$enableval" = yes; then
8118 ac_cv_use_aui='wxUSE_AUI=yes'
8119 else
8120 ac_cv_use_aui='wxUSE_AUI=no'
8121 fi
8122
8123 else
8124
8125 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
8126 if test "x$LINE" != x ; then
8127 eval "DEFAULT_$LINE"
8128 else
8129 no_cache=1
8130 fi
8131
8132 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8133
8134 fi
8135
8136
8137 eval "$ac_cv_use_aui"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8140 fi
8141
8142 if test "$wxUSE_AUI" = yes; then
8143 { echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6; }
8145 else
8146 { echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6; }
8148 fi
8149
8150
8151 enablestring=
8152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8154 no_cache=0
8155 # Check whether --enable-stc was given.
8156 if test "${enable_stc+set}" = set; then
8157 enableval=$enable_stc;
8158 if test "$enableval" = yes; then
8159 ac_cv_use_stc='wxUSE_STC=yes'
8160 else
8161 ac_cv_use_stc='wxUSE_STC=no'
8162 fi
8163
8164 else
8165
8166 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x ; then
8168 eval "DEFAULT_$LINE"
8169 else
8170 no_cache=1
8171 fi
8172
8173 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8174
8175 fi
8176
8177
8178 eval "$ac_cv_use_stc"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8181 fi
8182
8183 if test "$wxUSE_STC" = yes; then
8184 { echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6; }
8186 else
8187 { echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6; }
8189 fi
8190
8191
8192 enablestring=
8193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8195 no_cache=0
8196 # Check whether --enable-constraints was given.
8197 if test "${enable_constraints+set}" = set; then
8198 enableval=$enable_constraints;
8199 if test "$enableval" = yes; then
8200 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8201 else
8202 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8203 fi
8204
8205 else
8206
8207 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x ; then
8209 eval "DEFAULT_$LINE"
8210 else
8211 no_cache=1
8212 fi
8213
8214 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8215
8216 fi
8217
8218
8219 eval "$ac_cv_use_constraints"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8222 fi
8223
8224 if test "$wxUSE_CONSTRAINTS" = yes; then
8225 { echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6; }
8227 else
8228 { echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6; }
8230 fi
8231
8232
8233 enablestring=
8234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8236 no_cache=0
8237 # Check whether --enable-printarch was given.
8238 if test "${enable_printarch+set}" = set; then
8239 enableval=$enable_printarch;
8240 if test "$enableval" = yes; then
8241 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8242 else
8243 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8244 fi
8245
8246 else
8247
8248 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x ; then
8250 eval "DEFAULT_$LINE"
8251 else
8252 no_cache=1
8253 fi
8254
8255 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8256
8257 fi
8258
8259
8260 eval "$ac_cv_use_printarch"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8263 fi
8264
8265 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8266 { echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6; }
8268 else
8269 { echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6; }
8271 fi
8272
8273
8274 enablestring=
8275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8277 no_cache=0
8278 # Check whether --enable-mdi was given.
8279 if test "${enable_mdi+set}" = set; then
8280 enableval=$enable_mdi;
8281 if test "$enableval" = yes; then
8282 ac_cv_use_mdi='wxUSE_MDI=yes'
8283 else
8284 ac_cv_use_mdi='wxUSE_MDI=no'
8285 fi
8286
8287 else
8288
8289 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x ; then
8291 eval "DEFAULT_$LINE"
8292 else
8293 no_cache=1
8294 fi
8295
8296 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8297
8298 fi
8299
8300
8301 eval "$ac_cv_use_mdi"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8304 fi
8305
8306 if test "$wxUSE_MDI" = yes; then
8307 { echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6; }
8309 else
8310 { echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6; }
8312 fi
8313
8314
8315 enablestring=
8316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8318 no_cache=0
8319 # Check whether --enable-mdidoc was given.
8320 if test "${enable_mdidoc+set}" = set; then
8321 enableval=$enable_mdidoc;
8322 if test "$enableval" = yes; then
8323 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8324 else
8325 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8326 fi
8327
8328 else
8329
8330 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
8331 if test "x$LINE" != x ; then
8332 eval "DEFAULT_$LINE"
8333 else
8334 no_cache=1
8335 fi
8336
8337 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8338
8339 fi
8340
8341
8342 eval "$ac_cv_use_mdidoc"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8345 fi
8346
8347 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8348 { echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6; }
8350 else
8351 { echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6; }
8353 fi
8354
8355
8356 enablestring=
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8359 no_cache=0
8360 # Check whether --enable-loggui was given.
8361 if test "${enable_loggui+set}" = set; then
8362 enableval=$enable_loggui;
8363 if test "$enableval" = yes; then
8364 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8365 else
8366 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8367 fi
8368
8369 else
8370
8371 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x ; then
8373 eval "DEFAULT_$LINE"
8374 else
8375 no_cache=1
8376 fi
8377
8378 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8379
8380 fi
8381
8382
8383 eval "$ac_cv_use_loggui"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8386 fi
8387
8388 if test "$wxUSE_LOGGUI" = yes; then
8389 { echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6; }
8391 else
8392 { echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6; }
8394 fi
8395
8396
8397 enablestring=
8398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8400 no_cache=0
8401 # Check whether --enable-logwin was given.
8402 if test "${enable_logwin+set}" = set; then
8403 enableval=$enable_logwin;
8404 if test "$enableval" = yes; then
8405 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8406 else
8407 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8408 fi
8409
8410 else
8411
8412 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
8413 if test "x$LINE" != x ; then
8414 eval "DEFAULT_$LINE"
8415 else
8416 no_cache=1
8417 fi
8418
8419 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8420
8421 fi
8422
8423
8424 eval "$ac_cv_use_logwin"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8427 fi
8428
8429 if test "$wxUSE_LOGWINDOW" = yes; then
8430 { echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6; }
8432 else
8433 { echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6; }
8435 fi
8436
8437
8438 enablestring=
8439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8441 no_cache=0
8442 # Check whether --enable-logdialog was given.
8443 if test "${enable_logdialog+set}" = set; then
8444 enableval=$enable_logdialog;
8445 if test "$enableval" = yes; then
8446 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8447 else
8448 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8449 fi
8450
8451 else
8452
8453 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
8454 if test "x$LINE" != x ; then
8455 eval "DEFAULT_$LINE"
8456 else
8457 no_cache=1
8458 fi
8459
8460 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8461
8462 fi
8463
8464
8465 eval "$ac_cv_use_logdialog"
8466 if test "$no_cache" != 1; then
8467 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8468 fi
8469
8470 if test "$wxUSE_LOGDIALOG" = yes; then
8471 { echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6; }
8473 else
8474 { echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6; }
8476 fi
8477
8478
8479 enablestring=
8480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8482 no_cache=0
8483 # Check whether --enable-webkit was given.
8484 if test "${enable_webkit+set}" = set; then
8485 enableval=$enable_webkit;
8486 if test "$enableval" = yes; then
8487 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8488 else
8489 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8490 fi
8491
8492 else
8493
8494 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
8495 if test "x$LINE" != x ; then
8496 eval "DEFAULT_$LINE"
8497 else
8498 no_cache=1
8499 fi
8500
8501 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8502
8503 fi
8504
8505
8506 eval "$ac_cv_use_webkit"
8507 if test "$no_cache" != 1; then
8508 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8509 fi
8510
8511 if test "$wxUSE_WEBKIT" = yes; then
8512 { echo "$as_me:$LINENO: result: yes" >&5
8513 echo "${ECHO_T}yes" >&6; }
8514 else
8515 { echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6; }
8517 fi
8518
8519
8520 enablestring=
8521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8523 no_cache=0
8524 # Check whether --enable-richtext was given.
8525 if test "${enable_richtext+set}" = set; then
8526 enableval=$enable_richtext;
8527 if test "$enableval" = yes; then
8528 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8529 else
8530 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8531 fi
8532
8533 else
8534
8535 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
8536 if test "x$LINE" != x ; then
8537 eval "DEFAULT_$LINE"
8538 else
8539 no_cache=1
8540 fi
8541
8542 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8543
8544 fi
8545
8546
8547 eval "$ac_cv_use_richtext"
8548 if test "$no_cache" != 1; then
8549 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8550 fi
8551
8552 if test "$wxUSE_RICHTEXT" = yes; then
8553 { echo "$as_me:$LINENO: result: yes" >&5
8554 echo "${ECHO_T}yes" >&6; }
8555 else
8556 { echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6; }
8558 fi
8559
8560
8561 enablestring=
8562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8563 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8564 no_cache=0
8565 # Check whether --enable-graphics_ctx was given.
8566 if test "${enable_graphics_ctx+set}" = set; then
8567 enableval=$enable_graphics_ctx;
8568 if test "$enableval" = yes; then
8569 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8570 else
8571 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8572 fi
8573
8574 else
8575
8576 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
8577 if test "x$LINE" != x ; then
8578 eval "DEFAULT_$LINE"
8579 else
8580 no_cache=1
8581 fi
8582
8583 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8584
8585 fi
8586
8587
8588 eval "$ac_cv_use_graphics_ctx"
8589 if test "$no_cache" != 1; then
8590 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8591 fi
8592
8593 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8594 { echo "$as_me:$LINENO: result: yes" >&5
8595 echo "${ECHO_T}yes" >&6; }
8596 else
8597 { echo "$as_me:$LINENO: result: no" >&5
8598 echo "${ECHO_T}no" >&6; }
8599 fi
8600
8601
8602
8603 enablestring=
8604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8606 no_cache=0
8607 # Check whether --enable-postscript was given.
8608 if test "${enable_postscript+set}" = set; then
8609 enableval=$enable_postscript;
8610 if test "$enableval" = yes; then
8611 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8612 else
8613 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8614 fi
8615
8616 else
8617
8618 LINE=`grep "^wxUSE_POSTSCRIPT=" ${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_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8626
8627 fi
8628
8629
8630 eval "$ac_cv_use_postscript"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_POSTSCRIPT" = 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
8645
8646
8647 enablestring=
8648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8650 no_cache=0
8651 # Check whether --enable-clipboard was given.
8652 if test "${enable_clipboard+set}" = set; then
8653 enableval=$enable_clipboard;
8654 if test "$enableval" = yes; then
8655 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8656 else
8657 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8658 fi
8659
8660 else
8661
8662 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
8663 if test "x$LINE" != x ; then
8664 eval "DEFAULT_$LINE"
8665 else
8666 no_cache=1
8667 fi
8668
8669 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8670
8671 fi
8672
8673
8674 eval "$ac_cv_use_clipboard"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8677 fi
8678
8679 if test "$wxUSE_CLIPBOARD" = yes; then
8680 { echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6; }
8682 else
8683 { echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6; }
8685 fi
8686
8687
8688 enablestring=
8689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8691 no_cache=0
8692 # Check whether --enable-dnd was given.
8693 if test "${enable_dnd+set}" = set; then
8694 enableval=$enable_dnd;
8695 if test "$enableval" = yes; then
8696 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8697 else
8698 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8699 fi
8700
8701 else
8702
8703 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
8704 if test "x$LINE" != x ; then
8705 eval "DEFAULT_$LINE"
8706 else
8707 no_cache=1
8708 fi
8709
8710 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8711
8712 fi
8713
8714
8715 eval "$ac_cv_use_dnd"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8718 fi
8719
8720 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8721 { echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6; }
8723 else
8724 { echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6; }
8726 fi
8727
8728
8729 enablestring=
8730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8732 no_cache=0
8733 # Check whether --enable-metafile was given.
8734 if test "${enable_metafile+set}" = set; then
8735 enableval=$enable_metafile;
8736 if test "$enableval" = yes; then
8737 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8738 else
8739 ac_cv_use_metafile='wxUSE_METAFILE=no'
8740 fi
8741
8742 else
8743
8744 LINE=`grep "^wxUSE_METAFILE=" ${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_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8752
8753 fi
8754
8755
8756 eval "$ac_cv_use_metafile"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8759 fi
8760
8761 if test "$wxUSE_METAFILE" = 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
8771
8772
8773 enablestring=
8774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8776 no_cache=0
8777 # Check whether --enable-controls was given.
8778 if test "${enable_controls+set}" = set; then
8779 enableval=$enable_controls;
8780 if test "$enableval" = yes; then
8781 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8782 else
8783 ac_cv_use_controls='wxUSE_CONTROLS=no'
8784 fi
8785
8786 else
8787
8788 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x ; then
8790 eval "DEFAULT_$LINE"
8791 else
8792 no_cache=1
8793 fi
8794
8795 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8796
8797 fi
8798
8799
8800 eval "$ac_cv_use_controls"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8803 fi
8804
8805 if test "$wxUSE_CONTROLS" = yes; then
8806 { echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6; }
8808 else
8809 { echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6; }
8811 fi
8812
8813
8814 if test "$wxUSE_CONTROLS" = "yes"; then
8815 DEFAULT_wxUSE_ACCEL=yes
8816 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8817 DEFAULT_wxUSE_BMPBUTTON=yes
8818 DEFAULT_wxUSE_BUTTON=yes
8819 DEFAULT_wxUSE_CALCTRL=yes
8820 DEFAULT_wxUSE_CARET=yes
8821 DEFAULT_wxUSE_COMBOBOX=yes
8822 DEFAULT_wxUSE_CHECKBOX=yes
8823 DEFAULT_wxUSE_CHECKLISTBOX=yes
8824 DEFAULT_wxUSE_CHOICE=yes
8825 DEFAULT_wxUSE_CHOICEBOOK=yes
8826 DEFAULT_wxUSE_COLLPANE=yes
8827 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8828 DEFAULT_wxUSE_COMBOBOX=yes
8829 DEFAULT_wxUSE_DATEPICKCTRL=yes
8830 DEFAULT_wxUSE_DISPLAY=yes
8831 DEFAULT_wxUSE_DETECT_SM=yes
8832 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8833 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8834 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8835 DEFAULT_wxUSE_GAUGE=yes
8836 DEFAULT_wxUSE_GRID=yes
8837 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8838 DEFAULT_wxUSE_DATAVIEWCTRL=no
8839 DEFAULT_wxUSE_IMAGLIST=yes
8840 DEFAULT_wxUSE_LISTBOOK=yes
8841 DEFAULT_wxUSE_LISTBOX=yes
8842 DEFAULT_wxUSE_LISTCTRL=yes
8843 DEFAULT_wxUSE_NOTEBOOK=yes
8844 DEFAULT_wxUSE_RADIOBOX=yes
8845 DEFAULT_wxUSE_RADIOBTN=yes
8846 DEFAULT_wxUSE_SASH=yes
8847 DEFAULT_wxUSE_SCROLLBAR=yes
8848 DEFAULT_wxUSE_SEARCHCTRL=yes
8849 DEFAULT_wxUSE_SLIDER=yes
8850 DEFAULT_wxUSE_SPINBTN=yes
8851 DEFAULT_wxUSE_SPINCTRL=yes
8852 DEFAULT_wxUSE_SPLITTER=yes
8853 DEFAULT_wxUSE_STATBMP=yes
8854 DEFAULT_wxUSE_STATBOX=yes
8855 DEFAULT_wxUSE_STATLINE=yes
8856 DEFAULT_wxUSE_STATUSBAR=yes
8857 DEFAULT_wxUSE_TAB_DIALOG=yes
8858 DEFAULT_wxUSE_TOGGLEBTN=yes
8859 DEFAULT_wxUSE_TOOLBAR=yes
8860 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8861 DEFAULT_wxUSE_TOOLTIPS=yes
8862 DEFAULT_wxUSE_TREEBOOK=yes
8863 DEFAULT_wxUSE_TOOLBOOK=yes
8864 DEFAULT_wxUSE_TREECTRL=yes
8865 DEFAULT_wxUSE_POPUPWIN=yes
8866 DEFAULT_wxUSE_TIPWINDOW=yes
8867 elif test "$wxUSE_CONTROLS" = "no"; then
8868 DEFAULT_wxUSE_ACCEL=no
8869 DEFAULT_wxUSE_ANIMATIONCTRL=no
8870 DEFAULT_wxUSE_BMPBUTTON=no
8871 DEFAULT_wxUSE_BUTTON=no
8872 DEFAULT_wxUSE_CALCTRL=no
8873 DEFAULT_wxUSE_CARET=no
8874 DEFAULT_wxUSE_COLLPANE=no
8875 DEFAULT_wxUSE_COMBOBOX=no
8876 DEFAULT_wxUSE_CHECKBOX=no
8877 DEFAULT_wxUSE_CHECKLISTBOX=no
8878 DEFAULT_wxUSE_CHOICE=no
8879 DEFAULT_wxUSE_CHOICEBOOK=no
8880 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8881 DEFAULT_wxUSE_COMBOBOX=no
8882 DEFAULT_wxUSE_DATEPICKCTRL=no
8883 DEFAULT_wxUSE_DISPLAY=no
8884 DEFAULT_wxUSE_DETECT_SM=no
8885 DEFAULT_wxUSE_DIRPICKERCTRL=no
8886 DEFAULT_wxUSE_FILEPICKERCTRL=no
8887 DEFAULT_wxUSE_FONTPICKERCTRL=no
8888 DEFAULT_wxUSE_GAUGE=no
8889 DEFAULT_wxUSE_GRID=no
8890 DEFAULT_wxUSE_HYPERLINKCTRL=no
8891 DEFAULT_wxUSE_DATAVIEWCTRL=no
8892 DEFAULT_wxUSE_IMAGLIST=no
8893 DEFAULT_wxUSE_LISTBOOK=no
8894 DEFAULT_wxUSE_LISTBOX=no
8895 DEFAULT_wxUSE_LISTCTRL=no
8896 DEFAULT_wxUSE_NOTEBOOK=no
8897 DEFAULT_wxUSE_RADIOBOX=no
8898 DEFAULT_wxUSE_RADIOBTN=no
8899 DEFAULT_wxUSE_SASH=no
8900 DEFAULT_wxUSE_SCROLLBAR=no
8901 DEFAULT_wxUSE_SEARCHCTRL=no
8902 DEFAULT_wxUSE_SLIDER=no
8903 DEFAULT_wxUSE_SPINBTN=no
8904 DEFAULT_wxUSE_SPINCTRL=no
8905 DEFAULT_wxUSE_SPLITTER=no
8906 DEFAULT_wxUSE_STATBMP=no
8907 DEFAULT_wxUSE_STATBOX=no
8908 DEFAULT_wxUSE_STATLINE=no
8909 DEFAULT_wxUSE_STATUSBAR=no
8910 DEFAULT_wxUSE_TAB_DIALOG=no
8911 DEFAULT_wxUSE_TOGGLEBTN=no
8912 DEFAULT_wxUSE_TOOLBAR=no
8913 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8914 DEFAULT_wxUSE_TOOLTIPS=no
8915 DEFAULT_wxUSE_TREEBOOK=no
8916 DEFAULT_wxUSE_TOOLBOOK=no
8917 DEFAULT_wxUSE_TREECTRL=no
8918 DEFAULT_wxUSE_POPUPWIN=no
8919 DEFAULT_wxUSE_TIPWINDOW=no
8920 fi
8921
8922
8923 enablestring=
8924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8925 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8926 no_cache=0
8927 # Check whether --enable-accel was given.
8928 if test "${enable_accel+set}" = set; then
8929 enableval=$enable_accel;
8930 if test "$enableval" = yes; then
8931 ac_cv_use_accel='wxUSE_ACCEL=yes'
8932 else
8933 ac_cv_use_accel='wxUSE_ACCEL=no'
8934 fi
8935
8936 else
8937
8938 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
8939 if test "x$LINE" != x ; then
8940 eval "DEFAULT_$LINE"
8941 else
8942 no_cache=1
8943 fi
8944
8945 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8946
8947 fi
8948
8949
8950 eval "$ac_cv_use_accel"
8951 if test "$no_cache" != 1; then
8952 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8953 fi
8954
8955 if test "$wxUSE_ACCEL" = yes; then
8956 { echo "$as_me:$LINENO: result: yes" >&5
8957 echo "${ECHO_T}yes" >&6; }
8958 else
8959 { echo "$as_me:$LINENO: result: no" >&5
8960 echo "${ECHO_T}no" >&6; }
8961 fi
8962
8963
8964 enablestring=
8965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8966 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8967 no_cache=0
8968 # Check whether --enable-animatectrl was given.
8969 if test "${enable_animatectrl+set}" = set; then
8970 enableval=$enable_animatectrl;
8971 if test "$enableval" = yes; then
8972 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8973 else
8974 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8975 fi
8976
8977 else
8978
8979 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
8980 if test "x$LINE" != x ; then
8981 eval "DEFAULT_$LINE"
8982 else
8983 no_cache=1
8984 fi
8985
8986 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8987
8988 fi
8989
8990
8991 eval "$ac_cv_use_animatectrl"
8992 if test "$no_cache" != 1; then
8993 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8994 fi
8995
8996 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8997 { echo "$as_me:$LINENO: result: yes" >&5
8998 echo "${ECHO_T}yes" >&6; }
8999 else
9000 { echo "$as_me:$LINENO: result: no" >&5
9001 echo "${ECHO_T}no" >&6; }
9002 fi
9003
9004
9005 enablestring=
9006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9007 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9008 no_cache=0
9009 # Check whether --enable-button was given.
9010 if test "${enable_button+set}" = set; then
9011 enableval=$enable_button;
9012 if test "$enableval" = yes; then
9013 ac_cv_use_button='wxUSE_BUTTON=yes'
9014 else
9015 ac_cv_use_button='wxUSE_BUTTON=no'
9016 fi
9017
9018 else
9019
9020 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
9021 if test "x$LINE" != x ; then
9022 eval "DEFAULT_$LINE"
9023 else
9024 no_cache=1
9025 fi
9026
9027 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
9028
9029 fi
9030
9031
9032 eval "$ac_cv_use_button"
9033 if test "$no_cache" != 1; then
9034 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
9035 fi
9036
9037 if test "$wxUSE_BUTTON" = yes; then
9038 { echo "$as_me:$LINENO: result: yes" >&5
9039 echo "${ECHO_T}yes" >&6; }
9040 else
9041 { echo "$as_me:$LINENO: result: no" >&5
9042 echo "${ECHO_T}no" >&6; }
9043 fi
9044
9045
9046 enablestring=
9047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9048 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9049 no_cache=0
9050 # Check whether --enable-bmpbutton was given.
9051 if test "${enable_bmpbutton+set}" = set; then
9052 enableval=$enable_bmpbutton;
9053 if test "$enableval" = yes; then
9054 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9055 else
9056 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9057 fi
9058
9059 else
9060
9061 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x ; then
9063 eval "DEFAULT_$LINE"
9064 else
9065 no_cache=1
9066 fi
9067
9068 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
9069
9070 fi
9071
9072
9073 eval "$ac_cv_use_bmpbutton"
9074 if test "$no_cache" != 1; then
9075 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9076 fi
9077
9078 if test "$wxUSE_BMPBUTTON" = yes; then
9079 { echo "$as_me:$LINENO: result: yes" >&5
9080 echo "${ECHO_T}yes" >&6; }
9081 else
9082 { echo "$as_me:$LINENO: result: no" >&5
9083 echo "${ECHO_T}no" >&6; }
9084 fi
9085
9086
9087 enablestring=
9088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9090 no_cache=0
9091 # Check whether --enable-bmpcombobox was given.
9092 if test "${enable_bmpcombobox+set}" = set; then
9093 enableval=$enable_bmpcombobox;
9094 if test "$enableval" = yes; then
9095 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9096 else
9097 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9098 fi
9099
9100 else
9101
9102 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
9103 if test "x$LINE" != x ; then
9104 eval "DEFAULT_$LINE"
9105 else
9106 no_cache=1
9107 fi
9108
9109 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9110
9111 fi
9112
9113
9114 eval "$ac_cv_use_bmpcombobox"
9115 if test "$no_cache" != 1; then
9116 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9117 fi
9118
9119 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9120 { echo "$as_me:$LINENO: result: yes" >&5
9121 echo "${ECHO_T}yes" >&6; }
9122 else
9123 { echo "$as_me:$LINENO: result: no" >&5
9124 echo "${ECHO_T}no" >&6; }
9125 fi
9126
9127
9128 enablestring=
9129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9130 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9131 no_cache=0
9132 # Check whether --enable-calendar was given.
9133 if test "${enable_calendar+set}" = set; then
9134 enableval=$enable_calendar;
9135 if test "$enableval" = yes; then
9136 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9137 else
9138 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9139 fi
9140
9141 else
9142
9143 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
9144 if test "x$LINE" != x ; then
9145 eval "DEFAULT_$LINE"
9146 else
9147 no_cache=1
9148 fi
9149
9150 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9151
9152 fi
9153
9154
9155 eval "$ac_cv_use_calendar"
9156 if test "$no_cache" != 1; then
9157 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9158 fi
9159
9160 if test "$wxUSE_CALCTRL" = yes; then
9161 { echo "$as_me:$LINENO: result: yes" >&5
9162 echo "${ECHO_T}yes" >&6; }
9163 else
9164 { echo "$as_me:$LINENO: result: no" >&5
9165 echo "${ECHO_T}no" >&6; }
9166 fi
9167
9168
9169 enablestring=
9170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9171 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9172 no_cache=0
9173 # Check whether --enable-caret was given.
9174 if test "${enable_caret+set}" = set; then
9175 enableval=$enable_caret;
9176 if test "$enableval" = yes; then
9177 ac_cv_use_caret='wxUSE_CARET=yes'
9178 else
9179 ac_cv_use_caret='wxUSE_CARET=no'
9180 fi
9181
9182 else
9183
9184 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
9185 if test "x$LINE" != x ; then
9186 eval "DEFAULT_$LINE"
9187 else
9188 no_cache=1
9189 fi
9190
9191 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9192
9193 fi
9194
9195
9196 eval "$ac_cv_use_caret"
9197 if test "$no_cache" != 1; then
9198 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9199 fi
9200
9201 if test "$wxUSE_CARET" = yes; then
9202 { echo "$as_me:$LINENO: result: yes" >&5
9203 echo "${ECHO_T}yes" >&6; }
9204 else
9205 { echo "$as_me:$LINENO: result: no" >&5
9206 echo "${ECHO_T}no" >&6; }
9207 fi
9208
9209
9210 enablestring=
9211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9212 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9213 no_cache=0
9214 # Check whether --enable-checkbox was given.
9215 if test "${enable_checkbox+set}" = set; then
9216 enableval=$enable_checkbox;
9217 if test "$enableval" = yes; then
9218 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9219 else
9220 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9221 fi
9222
9223 else
9224
9225 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
9226 if test "x$LINE" != x ; then
9227 eval "DEFAULT_$LINE"
9228 else
9229 no_cache=1
9230 fi
9231
9232 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9233
9234 fi
9235
9236
9237 eval "$ac_cv_use_checkbox"
9238 if test "$no_cache" != 1; then
9239 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9240 fi
9241
9242 if test "$wxUSE_CHECKBOX" = yes; then
9243 { echo "$as_me:$LINENO: result: yes" >&5
9244 echo "${ECHO_T}yes" >&6; }
9245 else
9246 { echo "$as_me:$LINENO: result: no" >&5
9247 echo "${ECHO_T}no" >&6; }
9248 fi
9249
9250
9251 enablestring=
9252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9254 no_cache=0
9255 # Check whether --enable-checklst was given.
9256 if test "${enable_checklst+set}" = set; then
9257 enableval=$enable_checklst;
9258 if test "$enableval" = yes; then
9259 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9260 else
9261 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9262 fi
9263
9264 else
9265
9266 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
9267 if test "x$LINE" != x ; then
9268 eval "DEFAULT_$LINE"
9269 else
9270 no_cache=1
9271 fi
9272
9273 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9274
9275 fi
9276
9277
9278 eval "$ac_cv_use_checklst"
9279 if test "$no_cache" != 1; then
9280 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9281 fi
9282
9283 if test "$wxUSE_CHECKLST" = yes; then
9284 { echo "$as_me:$LINENO: result: yes" >&5
9285 echo "${ECHO_T}yes" >&6; }
9286 else
9287 { echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6; }
9289 fi
9290
9291
9292 enablestring=
9293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9295 no_cache=0
9296 # Check whether --enable-choice was given.
9297 if test "${enable_choice+set}" = set; then
9298 enableval=$enable_choice;
9299 if test "$enableval" = yes; then
9300 ac_cv_use_choice='wxUSE_CHOICE=yes'
9301 else
9302 ac_cv_use_choice='wxUSE_CHOICE=no'
9303 fi
9304
9305 else
9306
9307 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
9308 if test "x$LINE" != x ; then
9309 eval "DEFAULT_$LINE"
9310 else
9311 no_cache=1
9312 fi
9313
9314 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9315
9316 fi
9317
9318
9319 eval "$ac_cv_use_choice"
9320 if test "$no_cache" != 1; then
9321 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9322 fi
9323
9324 if test "$wxUSE_CHOICE" = yes; then
9325 { echo "$as_me:$LINENO: result: yes" >&5
9326 echo "${ECHO_T}yes" >&6; }
9327 else
9328 { echo "$as_me:$LINENO: result: no" >&5
9329 echo "${ECHO_T}no" >&6; }
9330 fi
9331
9332
9333 enablestring=
9334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9336 no_cache=0
9337 # Check whether --enable-choicebook was given.
9338 if test "${enable_choicebook+set}" = set; then
9339 enableval=$enable_choicebook;
9340 if test "$enableval" = yes; then
9341 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9342 else
9343 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9344 fi
9345
9346 else
9347
9348 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
9349 if test "x$LINE" != x ; then
9350 eval "DEFAULT_$LINE"
9351 else
9352 no_cache=1
9353 fi
9354
9355 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9356
9357 fi
9358
9359
9360 eval "$ac_cv_use_choicebook"
9361 if test "$no_cache" != 1; then
9362 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9363 fi
9364
9365 if test "$wxUSE_CHOICEBOOK" = yes; then
9366 { echo "$as_me:$LINENO: result: yes" >&5
9367 echo "${ECHO_T}yes" >&6; }
9368 else
9369 { echo "$as_me:$LINENO: result: no" >&5
9370 echo "${ECHO_T}no" >&6; }
9371 fi
9372
9373
9374 enablestring=
9375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9377 no_cache=0
9378 # Check whether --enable-collpane was given.
9379 if test "${enable_collpane+set}" = set; then
9380 enableval=$enable_collpane;
9381 if test "$enableval" = yes; then
9382 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9383 else
9384 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9385 fi
9386
9387 else
9388
9389 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
9390 if test "x$LINE" != x ; then
9391 eval "DEFAULT_$LINE"
9392 else
9393 no_cache=1
9394 fi
9395
9396 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9397
9398 fi
9399
9400
9401 eval "$ac_cv_use_collpane"
9402 if test "$no_cache" != 1; then
9403 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9404 fi
9405
9406 if test "$wxUSE_COLLPANE" = yes; then
9407 { echo "$as_me:$LINENO: result: yes" >&5
9408 echo "${ECHO_T}yes" >&6; }
9409 else
9410 { echo "$as_me:$LINENO: result: no" >&5
9411 echo "${ECHO_T}no" >&6; }
9412 fi
9413
9414
9415 enablestring=
9416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9418 no_cache=0
9419 # Check whether --enable-colourpicker was given.
9420 if test "${enable_colourpicker+set}" = set; then
9421 enableval=$enable_colourpicker;
9422 if test "$enableval" = yes; then
9423 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9424 else
9425 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9426 fi
9427
9428 else
9429
9430 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
9431 if test "x$LINE" != x ; then
9432 eval "DEFAULT_$LINE"
9433 else
9434 no_cache=1
9435 fi
9436
9437 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9438
9439 fi
9440
9441
9442 eval "$ac_cv_use_colourpicker"
9443 if test "$no_cache" != 1; then
9444 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9445 fi
9446
9447 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9448 { echo "$as_me:$LINENO: result: yes" >&5
9449 echo "${ECHO_T}yes" >&6; }
9450 else
9451 { echo "$as_me:$LINENO: result: no" >&5
9452 echo "${ECHO_T}no" >&6; }
9453 fi
9454
9455
9456 enablestring=
9457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9458 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9459 no_cache=0
9460 # Check whether --enable-combobox was given.
9461 if test "${enable_combobox+set}" = set; then
9462 enableval=$enable_combobox;
9463 if test "$enableval" = yes; then
9464 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9465 else
9466 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9467 fi
9468
9469 else
9470
9471 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
9472 if test "x$LINE" != x ; then
9473 eval "DEFAULT_$LINE"
9474 else
9475 no_cache=1
9476 fi
9477
9478 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9479
9480 fi
9481
9482
9483 eval "$ac_cv_use_combobox"
9484 if test "$no_cache" != 1; then
9485 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9486 fi
9487
9488 if test "$wxUSE_COMBOBOX" = yes; then
9489 { echo "$as_me:$LINENO: result: yes" >&5
9490 echo "${ECHO_T}yes" >&6; }
9491 else
9492 { echo "$as_me:$LINENO: result: no" >&5
9493 echo "${ECHO_T}no" >&6; }
9494 fi
9495
9496
9497 enablestring=
9498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9500 no_cache=0
9501 # Check whether --enable-comboctrl was given.
9502 if test "${enable_comboctrl+set}" = set; then
9503 enableval=$enable_comboctrl;
9504 if test "$enableval" = yes; then
9505 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9506 else
9507 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9508 fi
9509
9510 else
9511
9512 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
9513 if test "x$LINE" != x ; then
9514 eval "DEFAULT_$LINE"
9515 else
9516 no_cache=1
9517 fi
9518
9519 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9520
9521 fi
9522
9523
9524 eval "$ac_cv_use_comboctrl"
9525 if test "$no_cache" != 1; then
9526 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9527 fi
9528
9529 if test "$wxUSE_COMBOCTRL" = yes; then
9530 { echo "$as_me:$LINENO: result: yes" >&5
9531 echo "${ECHO_T}yes" >&6; }
9532 else
9533 { echo "$as_me:$LINENO: result: no" >&5
9534 echo "${ECHO_T}no" >&6; }
9535 fi
9536
9537
9538 enablestring=
9539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9540 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9541 no_cache=0
9542 # Check whether --enable-datepick was given.
9543 if test "${enable_datepick+set}" = set; then
9544 enableval=$enable_datepick;
9545 if test "$enableval" = yes; then
9546 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9547 else
9548 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9549 fi
9550
9551 else
9552
9553 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
9554 if test "x$LINE" != x ; then
9555 eval "DEFAULT_$LINE"
9556 else
9557 no_cache=1
9558 fi
9559
9560 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9561
9562 fi
9563
9564
9565 eval "$ac_cv_use_datepick"
9566 if test "$no_cache" != 1; then
9567 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9568 fi
9569
9570 if test "$wxUSE_DATEPICKCTRL" = yes; then
9571 { echo "$as_me:$LINENO: result: yes" >&5
9572 echo "${ECHO_T}yes" >&6; }
9573 else
9574 { echo "$as_me:$LINENO: result: no" >&5
9575 echo "${ECHO_T}no" >&6; }
9576 fi
9577
9578
9579 enablestring=
9580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9582 no_cache=0
9583 # Check whether --enable-dirpicker was given.
9584 if test "${enable_dirpicker+set}" = set; then
9585 enableval=$enable_dirpicker;
9586 if test "$enableval" = yes; then
9587 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9588 else
9589 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9590 fi
9591
9592 else
9593
9594 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
9595 if test "x$LINE" != x ; then
9596 eval "DEFAULT_$LINE"
9597 else
9598 no_cache=1
9599 fi
9600
9601 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9602
9603 fi
9604
9605
9606 eval "$ac_cv_use_dirpicker"
9607 if test "$no_cache" != 1; then
9608 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9609 fi
9610
9611 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9612 { echo "$as_me:$LINENO: result: yes" >&5
9613 echo "${ECHO_T}yes" >&6; }
9614 else
9615 { echo "$as_me:$LINENO: result: no" >&5
9616 echo "${ECHO_T}no" >&6; }
9617 fi
9618
9619
9620 enablestring=
9621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9623 no_cache=0
9624 # Check whether --enable-display was given.
9625 if test "${enable_display+set}" = set; then
9626 enableval=$enable_display;
9627 if test "$enableval" = yes; then
9628 ac_cv_use_display='wxUSE_DISPLAY=yes'
9629 else
9630 ac_cv_use_display='wxUSE_DISPLAY=no'
9631 fi
9632
9633 else
9634
9635 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x ; then
9637 eval "DEFAULT_$LINE"
9638 else
9639 no_cache=1
9640 fi
9641
9642 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9643
9644 fi
9645
9646
9647 eval "$ac_cv_use_display"
9648 if test "$no_cache" != 1; then
9649 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9650 fi
9651
9652 if test "$wxUSE_DISPLAY" = yes; then
9653 { echo "$as_me:$LINENO: result: yes" >&5
9654 echo "${ECHO_T}yes" >&6; }
9655 else
9656 { echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6; }
9658 fi
9659
9660
9661 enablestring=
9662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9663 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9664 no_cache=0
9665 # Check whether --enable-detect_sm was given.
9666 if test "${enable_detect_sm+set}" = set; then
9667 enableval=$enable_detect_sm;
9668 if test "$enableval" = yes; then
9669 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9670 else
9671 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9672 fi
9673
9674 else
9675
9676 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
9677 if test "x$LINE" != x ; then
9678 eval "DEFAULT_$LINE"
9679 else
9680 no_cache=1
9681 fi
9682
9683 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9684
9685 fi
9686
9687
9688 eval "$ac_cv_use_detect_sm"
9689 if test "$no_cache" != 1; then
9690 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9691 fi
9692
9693 if test "$wxUSE_DETECT_SM" = yes; then
9694 { echo "$as_me:$LINENO: result: yes" >&5
9695 echo "${ECHO_T}yes" >&6; }
9696 else
9697 { echo "$as_me:$LINENO: result: no" >&5
9698 echo "${ECHO_T}no" >&6; }
9699 fi
9700
9701
9702 enablestring=
9703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
9704 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
9705 no_cache=0
9706 # Check whether --enable-editablebox was given.
9707 if test "${enable_editablebox+set}" = set; then
9708 enableval=$enable_editablebox;
9709 if test "$enableval" = yes; then
9710 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
9711 else
9712 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
9713 fi
9714
9715 else
9716
9717 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
9718 if test "x$LINE" != x ; then
9719 eval "DEFAULT_$LINE"
9720 else
9721 no_cache=1
9722 fi
9723
9724 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
9725
9726 fi
9727
9728
9729 eval "$ac_cv_use_editablebox"
9730 if test "$no_cache" != 1; then
9731 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
9732 fi
9733
9734 if test "$wxUSE_EDITABLELISTBOX" = yes; then
9735 { echo "$as_me:$LINENO: result: yes" >&5
9736 echo "${ECHO_T}yes" >&6; }
9737 else
9738 { echo "$as_me:$LINENO: result: no" >&5
9739 echo "${ECHO_T}no" >&6; }
9740 fi
9741
9742
9743 enablestring=
9744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9745 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9746 no_cache=0
9747 # Check whether --enable-filepicker was given.
9748 if test "${enable_filepicker+set}" = set; then
9749 enableval=$enable_filepicker;
9750 if test "$enableval" = yes; then
9751 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9752 else
9753 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9754 fi
9755
9756 else
9757
9758 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
9759 if test "x$LINE" != x ; then
9760 eval "DEFAULT_$LINE"
9761 else
9762 no_cache=1
9763 fi
9764
9765 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9766
9767 fi
9768
9769
9770 eval "$ac_cv_use_filepicker"
9771 if test "$no_cache" != 1; then
9772 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9773 fi
9774
9775 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9776 { echo "$as_me:$LINENO: result: yes" >&5
9777 echo "${ECHO_T}yes" >&6; }
9778 else
9779 { echo "$as_me:$LINENO: result: no" >&5
9780 echo "${ECHO_T}no" >&6; }
9781 fi
9782
9783
9784 enablestring=
9785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9786 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9787 no_cache=0
9788 # Check whether --enable-fontpicker was given.
9789 if test "${enable_fontpicker+set}" = set; then
9790 enableval=$enable_fontpicker;
9791 if test "$enableval" = yes; then
9792 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9793 else
9794 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9795 fi
9796
9797 else
9798
9799 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
9800 if test "x$LINE" != x ; then
9801 eval "DEFAULT_$LINE"
9802 else
9803 no_cache=1
9804 fi
9805
9806 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9807
9808 fi
9809
9810
9811 eval "$ac_cv_use_fontpicker"
9812 if test "$no_cache" != 1; then
9813 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9814 fi
9815
9816 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9817 { echo "$as_me:$LINENO: result: yes" >&5
9818 echo "${ECHO_T}yes" >&6; }
9819 else
9820 { echo "$as_me:$LINENO: result: no" >&5
9821 echo "${ECHO_T}no" >&6; }
9822 fi
9823
9824
9825 enablestring=
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9828 no_cache=0
9829 # Check whether --enable-gauge was given.
9830 if test "${enable_gauge+set}" = set; then
9831 enableval=$enable_gauge;
9832 if test "$enableval" = yes; then
9833 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9834 else
9835 ac_cv_use_gauge='wxUSE_GAUGE=no'
9836 fi
9837
9838 else
9839
9840 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9843 else
9844 no_cache=1
9845 fi
9846
9847 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9848
9849 fi
9850
9851
9852 eval "$ac_cv_use_gauge"
9853 if test "$no_cache" != 1; then
9854 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9855 fi
9856
9857 if test "$wxUSE_GAUGE" = yes; then
9858 { echo "$as_me:$LINENO: result: yes" >&5
9859 echo "${ECHO_T}yes" >&6; }
9860 else
9861 { echo "$as_me:$LINENO: result: no" >&5
9862 echo "${ECHO_T}no" >&6; }
9863 fi
9864
9865
9866 enablestring=
9867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9868 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9869 no_cache=0
9870 # Check whether --enable-grid was given.
9871 if test "${enable_grid+set}" = set; then
9872 enableval=$enable_grid;
9873 if test "$enableval" = yes; then
9874 ac_cv_use_grid='wxUSE_GRID=yes'
9875 else
9876 ac_cv_use_grid='wxUSE_GRID=no'
9877 fi
9878
9879 else
9880
9881 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
9882 if test "x$LINE" != x ; then
9883 eval "DEFAULT_$LINE"
9884 else
9885 no_cache=1
9886 fi
9887
9888 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9889
9890 fi
9891
9892
9893 eval "$ac_cv_use_grid"
9894 if test "$no_cache" != 1; then
9895 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9896 fi
9897
9898 if test "$wxUSE_GRID" = yes; then
9899 { echo "$as_me:$LINENO: result: yes" >&5
9900 echo "${ECHO_T}yes" >&6; }
9901 else
9902 { echo "$as_me:$LINENO: result: no" >&5
9903 echo "${ECHO_T}no" >&6; }
9904 fi
9905
9906
9907 enablestring=
9908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9909 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9910 no_cache=0
9911 # Check whether --enable-dataviewctrl was given.
9912 if test "${enable_dataviewctrl+set}" = set; then
9913 enableval=$enable_dataviewctrl;
9914 if test "$enableval" = yes; then
9915 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9916 else
9917 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9918 fi
9919
9920 else
9921
9922 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x ; then
9924 eval "DEFAULT_$LINE"
9925 else
9926 no_cache=1
9927 fi
9928
9929 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9930
9931 fi
9932
9933
9934 eval "$ac_cv_use_dataviewctrl"
9935 if test "$no_cache" != 1; then
9936 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9937 fi
9938
9939 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9940 { echo "$as_me:$LINENO: result: yes" >&5
9941 echo "${ECHO_T}yes" >&6; }
9942 else
9943 { echo "$as_me:$LINENO: result: no" >&5
9944 echo "${ECHO_T}no" >&6; }
9945 fi
9946
9947
9948 enablestring=
9949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9950 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9951 no_cache=0
9952 # Check whether --enable-hyperlink was given.
9953 if test "${enable_hyperlink+set}" = set; then
9954 enableval=$enable_hyperlink;
9955 if test "$enableval" = yes; then
9956 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9957 else
9958 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9959 fi
9960
9961 else
9962
9963 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9966 else
9967 no_cache=1
9968 fi
9969
9970 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9971
9972 fi
9973
9974
9975 eval "$ac_cv_use_hyperlink"
9976 if test "$no_cache" != 1; then
9977 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9978 fi
9979
9980 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9981 { echo "$as_me:$LINENO: result: yes" >&5
9982 echo "${ECHO_T}yes" >&6; }
9983 else
9984 { echo "$as_me:$LINENO: result: no" >&5
9985 echo "${ECHO_T}no" >&6; }
9986 fi
9987
9988
9989 enablestring=
9990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9991 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9992 no_cache=0
9993 # Check whether --enable-imaglist was given.
9994 if test "${enable_imaglist+set}" = set; then
9995 enableval=$enable_imaglist;
9996 if test "$enableval" = yes; then
9997 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9998 else
9999 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
10000 fi
10001
10002 else
10003
10004 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
10005 if test "x$LINE" != x ; then
10006 eval "DEFAULT_$LINE"
10007 else
10008 no_cache=1
10009 fi
10010
10011 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
10012
10013 fi
10014
10015
10016 eval "$ac_cv_use_imaglist"
10017 if test "$no_cache" != 1; then
10018 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
10019 fi
10020
10021 if test "$wxUSE_IMAGLIST" = yes; then
10022 { echo "$as_me:$LINENO: result: yes" >&5
10023 echo "${ECHO_T}yes" >&6; }
10024 else
10025 { echo "$as_me:$LINENO: result: no" >&5
10026 echo "${ECHO_T}no" >&6; }
10027 fi
10028
10029
10030 enablestring=
10031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10032 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10033 no_cache=0
10034 # Check whether --enable-listbook was given.
10035 if test "${enable_listbook+set}" = set; then
10036 enableval=$enable_listbook;
10037 if test "$enableval" = yes; then
10038 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
10039 else
10040 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
10041 fi
10042
10043 else
10044
10045 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
10046 if test "x$LINE" != x ; then
10047 eval "DEFAULT_$LINE"
10048 else
10049 no_cache=1
10050 fi
10051
10052 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
10053
10054 fi
10055
10056
10057 eval "$ac_cv_use_listbook"
10058 if test "$no_cache" != 1; then
10059 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
10060 fi
10061
10062 if test "$wxUSE_LISTBOOK" = yes; then
10063 { echo "$as_me:$LINENO: result: yes" >&5
10064 echo "${ECHO_T}yes" >&6; }
10065 else
10066 { echo "$as_me:$LINENO: result: no" >&5
10067 echo "${ECHO_T}no" >&6; }
10068 fi
10069
10070
10071 enablestring=
10072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10073 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10074 no_cache=0
10075 # Check whether --enable-listbox was given.
10076 if test "${enable_listbox+set}" = set; then
10077 enableval=$enable_listbox;
10078 if test "$enableval" = yes; then
10079 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
10080 else
10081 ac_cv_use_listbox='wxUSE_LISTBOX=no'
10082 fi
10083
10084 else
10085
10086 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
10087 if test "x$LINE" != x ; then
10088 eval "DEFAULT_$LINE"
10089 else
10090 no_cache=1
10091 fi
10092
10093 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
10094
10095 fi
10096
10097
10098 eval "$ac_cv_use_listbox"
10099 if test "$no_cache" != 1; then
10100 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
10101 fi
10102
10103 if test "$wxUSE_LISTBOX" = yes; then
10104 { echo "$as_me:$LINENO: result: yes" >&5
10105 echo "${ECHO_T}yes" >&6; }
10106 else
10107 { echo "$as_me:$LINENO: result: no" >&5
10108 echo "${ECHO_T}no" >&6; }
10109 fi
10110
10111
10112 enablestring=
10113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10114 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10115 no_cache=0
10116 # Check whether --enable-listctrl was given.
10117 if test "${enable_listctrl+set}" = set; then
10118 enableval=$enable_listctrl;
10119 if test "$enableval" = yes; then
10120 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10121 else
10122 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10123 fi
10124
10125 else
10126
10127 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
10128 if test "x$LINE" != x ; then
10129 eval "DEFAULT_$LINE"
10130 else
10131 no_cache=1
10132 fi
10133
10134 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10135
10136 fi
10137
10138
10139 eval "$ac_cv_use_listctrl"
10140 if test "$no_cache" != 1; then
10141 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10142 fi
10143
10144 if test "$wxUSE_LISTCTRL" = yes; then
10145 { echo "$as_me:$LINENO: result: yes" >&5
10146 echo "${ECHO_T}yes" >&6; }
10147 else
10148 { echo "$as_me:$LINENO: result: no" >&5
10149 echo "${ECHO_T}no" >&6; }
10150 fi
10151
10152
10153 enablestring=
10154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10155 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10156 no_cache=0
10157 # Check whether --enable-notebook was given.
10158 if test "${enable_notebook+set}" = set; then
10159 enableval=$enable_notebook;
10160 if test "$enableval" = yes; then
10161 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10162 else
10163 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10164 fi
10165
10166 else
10167
10168 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x ; then
10170 eval "DEFAULT_$LINE"
10171 else
10172 no_cache=1
10173 fi
10174
10175 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10176
10177 fi
10178
10179
10180 eval "$ac_cv_use_notebook"
10181 if test "$no_cache" != 1; then
10182 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10183 fi
10184
10185 if test "$wxUSE_NOTEBOOK" = yes; then
10186 { echo "$as_me:$LINENO: result: yes" >&5
10187 echo "${ECHO_T}yes" >&6; }
10188 else
10189 { echo "$as_me:$LINENO: result: no" >&5
10190 echo "${ECHO_T}no" >&6; }
10191 fi
10192
10193
10194 enablestring=
10195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10197 no_cache=0
10198 # Check whether --enable-odcombobox was given.
10199 if test "${enable_odcombobox+set}" = set; then
10200 enableval=$enable_odcombobox;
10201 if test "$enableval" = yes; then
10202 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10203 else
10204 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10205 fi
10206
10207 else
10208
10209 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
10210 if test "x$LINE" != x ; then
10211 eval "DEFAULT_$LINE"
10212 else
10213 no_cache=1
10214 fi
10215
10216 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10217
10218 fi
10219
10220
10221 eval "$ac_cv_use_odcombobox"
10222 if test "$no_cache" != 1; then
10223 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10224 fi
10225
10226 if test "$wxUSE_ODCOMBOBOX" = yes; then
10227 { echo "$as_me:$LINENO: result: yes" >&5
10228 echo "${ECHO_T}yes" >&6; }
10229 else
10230 { echo "$as_me:$LINENO: result: no" >&5
10231 echo "${ECHO_T}no" >&6; }
10232 fi
10233
10234
10235 enablestring=
10236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10237 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10238 no_cache=0
10239 # Check whether --enable-radiobox was given.
10240 if test "${enable_radiobox+set}" = set; then
10241 enableval=$enable_radiobox;
10242 if test "$enableval" = yes; then
10243 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10244 else
10245 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10246 fi
10247
10248 else
10249
10250 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
10251 if test "x$LINE" != x ; then
10252 eval "DEFAULT_$LINE"
10253 else
10254 no_cache=1
10255 fi
10256
10257 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10258
10259 fi
10260
10261
10262 eval "$ac_cv_use_radiobox"
10263 if test "$no_cache" != 1; then
10264 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10265 fi
10266
10267 if test "$wxUSE_RADIOBOX" = yes; then
10268 { echo "$as_me:$LINENO: result: yes" >&5
10269 echo "${ECHO_T}yes" >&6; }
10270 else
10271 { echo "$as_me:$LINENO: result: no" >&5
10272 echo "${ECHO_T}no" >&6; }
10273 fi
10274
10275
10276 enablestring=
10277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10278 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10279 no_cache=0
10280 # Check whether --enable-radiobtn was given.
10281 if test "${enable_radiobtn+set}" = set; then
10282 enableval=$enable_radiobtn;
10283 if test "$enableval" = yes; then
10284 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10285 else
10286 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10287 fi
10288
10289 else
10290
10291 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
10292 if test "x$LINE" != x ; then
10293 eval "DEFAULT_$LINE"
10294 else
10295 no_cache=1
10296 fi
10297
10298 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10299
10300 fi
10301
10302
10303 eval "$ac_cv_use_radiobtn"
10304 if test "$no_cache" != 1; then
10305 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10306 fi
10307
10308 if test "$wxUSE_RADIOBTN" = yes; then
10309 { echo "$as_me:$LINENO: result: yes" >&5
10310 echo "${ECHO_T}yes" >&6; }
10311 else
10312 { echo "$as_me:$LINENO: result: no" >&5
10313 echo "${ECHO_T}no" >&6; }
10314 fi
10315
10316
10317 enablestring=
10318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10319 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10320 no_cache=0
10321 # Check whether --enable-sash was given.
10322 if test "${enable_sash+set}" = set; then
10323 enableval=$enable_sash;
10324 if test "$enableval" = yes; then
10325 ac_cv_use_sash='wxUSE_SASH=yes'
10326 else
10327 ac_cv_use_sash='wxUSE_SASH=no'
10328 fi
10329
10330 else
10331
10332 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
10333 if test "x$LINE" != x ; then
10334 eval "DEFAULT_$LINE"
10335 else
10336 no_cache=1
10337 fi
10338
10339 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10340
10341 fi
10342
10343
10344 eval "$ac_cv_use_sash"
10345 if test "$no_cache" != 1; then
10346 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10347 fi
10348
10349 if test "$wxUSE_SASH" = yes; then
10350 { echo "$as_me:$LINENO: result: yes" >&5
10351 echo "${ECHO_T}yes" >&6; }
10352 else
10353 { echo "$as_me:$LINENO: result: no" >&5
10354 echo "${ECHO_T}no" >&6; }
10355 fi
10356
10357
10358 enablestring=
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10361 no_cache=0
10362 # Check whether --enable-scrollbar was given.
10363 if test "${enable_scrollbar+set}" = set; then
10364 enableval=$enable_scrollbar;
10365 if test "$enableval" = yes; then
10366 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10367 else
10368 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10369 fi
10370
10371 else
10372
10373 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
10374 if test "x$LINE" != x ; then
10375 eval "DEFAULT_$LINE"
10376 else
10377 no_cache=1
10378 fi
10379
10380 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10381
10382 fi
10383
10384
10385 eval "$ac_cv_use_scrollbar"
10386 if test "$no_cache" != 1; then
10387 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10388 fi
10389
10390 if test "$wxUSE_SCROLLBAR" = yes; then
10391 { echo "$as_me:$LINENO: result: yes" >&5
10392 echo "${ECHO_T}yes" >&6; }
10393 else
10394 { echo "$as_me:$LINENO: result: no" >&5
10395 echo "${ECHO_T}no" >&6; }
10396 fi
10397
10398
10399 enablestring=
10400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10401 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10402 no_cache=0
10403 # Check whether --enable-searchctrl was given.
10404 if test "${enable_searchctrl+set}" = set; then
10405 enableval=$enable_searchctrl;
10406 if test "$enableval" = yes; then
10407 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10408 else
10409 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10410 fi
10411
10412 else
10413
10414 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
10415 if test "x$LINE" != x ; then
10416 eval "DEFAULT_$LINE"
10417 else
10418 no_cache=1
10419 fi
10420
10421 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10422
10423 fi
10424
10425
10426 eval "$ac_cv_use_searchctrl"
10427 if test "$no_cache" != 1; then
10428 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10429 fi
10430
10431 if test "$wxUSE_SEARCHCTRL" = yes; then
10432 { echo "$as_me:$LINENO: result: yes" >&5
10433 echo "${ECHO_T}yes" >&6; }
10434 else
10435 { echo "$as_me:$LINENO: result: no" >&5
10436 echo "${ECHO_T}no" >&6; }
10437 fi
10438
10439
10440 enablestring=
10441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10443 no_cache=0
10444 # Check whether --enable-slider was given.
10445 if test "${enable_slider+set}" = set; then
10446 enableval=$enable_slider;
10447 if test "$enableval" = yes; then
10448 ac_cv_use_slider='wxUSE_SLIDER=yes'
10449 else
10450 ac_cv_use_slider='wxUSE_SLIDER=no'
10451 fi
10452
10453 else
10454
10455 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
10456 if test "x$LINE" != x ; then
10457 eval "DEFAULT_$LINE"
10458 else
10459 no_cache=1
10460 fi
10461
10462 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10463
10464 fi
10465
10466
10467 eval "$ac_cv_use_slider"
10468 if test "$no_cache" != 1; then
10469 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10470 fi
10471
10472 if test "$wxUSE_SLIDER" = yes; then
10473 { echo "$as_me:$LINENO: result: yes" >&5
10474 echo "${ECHO_T}yes" >&6; }
10475 else
10476 { echo "$as_me:$LINENO: result: no" >&5
10477 echo "${ECHO_T}no" >&6; }
10478 fi
10479
10480
10481 enablestring=
10482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10483 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10484 no_cache=0
10485 # Check whether --enable-spinbtn was given.
10486 if test "${enable_spinbtn+set}" = set; then
10487 enableval=$enable_spinbtn;
10488 if test "$enableval" = yes; then
10489 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10490 else
10491 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10492 fi
10493
10494 else
10495
10496 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
10497 if test "x$LINE" != x ; then
10498 eval "DEFAULT_$LINE"
10499 else
10500 no_cache=1
10501 fi
10502
10503 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10504
10505 fi
10506
10507
10508 eval "$ac_cv_use_spinbtn"
10509 if test "$no_cache" != 1; then
10510 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10511 fi
10512
10513 if test "$wxUSE_SPINBTN" = yes; then
10514 { echo "$as_me:$LINENO: result: yes" >&5
10515 echo "${ECHO_T}yes" >&6; }
10516 else
10517 { echo "$as_me:$LINENO: result: no" >&5
10518 echo "${ECHO_T}no" >&6; }
10519 fi
10520
10521
10522 enablestring=
10523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10524 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10525 no_cache=0
10526 # Check whether --enable-spinctrl was given.
10527 if test "${enable_spinctrl+set}" = set; then
10528 enableval=$enable_spinctrl;
10529 if test "$enableval" = yes; then
10530 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10531 else
10532 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10533 fi
10534
10535 else
10536
10537 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
10538 if test "x$LINE" != x ; then
10539 eval "DEFAULT_$LINE"
10540 else
10541 no_cache=1
10542 fi
10543
10544 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10545
10546 fi
10547
10548
10549 eval "$ac_cv_use_spinctrl"
10550 if test "$no_cache" != 1; then
10551 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10552 fi
10553
10554 if test "$wxUSE_SPINCTRL" = yes; then
10555 { echo "$as_me:$LINENO: result: yes" >&5
10556 echo "${ECHO_T}yes" >&6; }
10557 else
10558 { echo "$as_me:$LINENO: result: no" >&5
10559 echo "${ECHO_T}no" >&6; }
10560 fi
10561
10562
10563 enablestring=
10564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10565 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10566 no_cache=0
10567 # Check whether --enable-splitter was given.
10568 if test "${enable_splitter+set}" = set; then
10569 enableval=$enable_splitter;
10570 if test "$enableval" = yes; then
10571 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10572 else
10573 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10574 fi
10575
10576 else
10577
10578 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
10579 if test "x$LINE" != x ; then
10580 eval "DEFAULT_$LINE"
10581 else
10582 no_cache=1
10583 fi
10584
10585 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10586
10587 fi
10588
10589
10590 eval "$ac_cv_use_splitter"
10591 if test "$no_cache" != 1; then
10592 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10593 fi
10594
10595 if test "$wxUSE_SPLITTER" = yes; then
10596 { echo "$as_me:$LINENO: result: yes" >&5
10597 echo "${ECHO_T}yes" >&6; }
10598 else
10599 { echo "$as_me:$LINENO: result: no" >&5
10600 echo "${ECHO_T}no" >&6; }
10601 fi
10602
10603
10604 enablestring=
10605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10606 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10607 no_cache=0
10608 # Check whether --enable-statbmp was given.
10609 if test "${enable_statbmp+set}" = set; then
10610 enableval=$enable_statbmp;
10611 if test "$enableval" = yes; then
10612 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10613 else
10614 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10615 fi
10616
10617 else
10618
10619 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
10620 if test "x$LINE" != x ; then
10621 eval "DEFAULT_$LINE"
10622 else
10623 no_cache=1
10624 fi
10625
10626 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10627
10628 fi
10629
10630
10631 eval "$ac_cv_use_statbmp"
10632 if test "$no_cache" != 1; then
10633 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10634 fi
10635
10636 if test "$wxUSE_STATBMP" = yes; then
10637 { echo "$as_me:$LINENO: result: yes" >&5
10638 echo "${ECHO_T}yes" >&6; }
10639 else
10640 { echo "$as_me:$LINENO: result: no" >&5
10641 echo "${ECHO_T}no" >&6; }
10642 fi
10643
10644
10645 enablestring=
10646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10647 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10648 no_cache=0
10649 # Check whether --enable-statbox was given.
10650 if test "${enable_statbox+set}" = set; then
10651 enableval=$enable_statbox;
10652 if test "$enableval" = yes; then
10653 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10654 else
10655 ac_cv_use_statbox='wxUSE_STATBOX=no'
10656 fi
10657
10658 else
10659
10660 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
10661 if test "x$LINE" != x ; then
10662 eval "DEFAULT_$LINE"
10663 else
10664 no_cache=1
10665 fi
10666
10667 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10668
10669 fi
10670
10671
10672 eval "$ac_cv_use_statbox"
10673 if test "$no_cache" != 1; then
10674 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10675 fi
10676
10677 if test "$wxUSE_STATBOX" = yes; then
10678 { echo "$as_me:$LINENO: result: yes" >&5
10679 echo "${ECHO_T}yes" >&6; }
10680 else
10681 { echo "$as_me:$LINENO: result: no" >&5
10682 echo "${ECHO_T}no" >&6; }
10683 fi
10684
10685
10686 enablestring=
10687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10689 no_cache=0
10690 # Check whether --enable-statline was given.
10691 if test "${enable_statline+set}" = set; then
10692 enableval=$enable_statline;
10693 if test "$enableval" = yes; then
10694 ac_cv_use_statline='wxUSE_STATLINE=yes'
10695 else
10696 ac_cv_use_statline='wxUSE_STATLINE=no'
10697 fi
10698
10699 else
10700
10701 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
10702 if test "x$LINE" != x ; then
10703 eval "DEFAULT_$LINE"
10704 else
10705 no_cache=1
10706 fi
10707
10708 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10709
10710 fi
10711
10712
10713 eval "$ac_cv_use_statline"
10714 if test "$no_cache" != 1; then
10715 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10716 fi
10717
10718 if test "$wxUSE_STATLINE" = yes; then
10719 { echo "$as_me:$LINENO: result: yes" >&5
10720 echo "${ECHO_T}yes" >&6; }
10721 else
10722 { echo "$as_me:$LINENO: result: no" >&5
10723 echo "${ECHO_T}no" >&6; }
10724 fi
10725
10726
10727 enablestring=
10728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10729 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10730 no_cache=0
10731 # Check whether --enable-stattext was given.
10732 if test "${enable_stattext+set}" = set; then
10733 enableval=$enable_stattext;
10734 if test "$enableval" = yes; then
10735 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10736 else
10737 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10738 fi
10739
10740 else
10741
10742 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
10743 if test "x$LINE" != x ; then
10744 eval "DEFAULT_$LINE"
10745 else
10746 no_cache=1
10747 fi
10748
10749 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10750
10751 fi
10752
10753
10754 eval "$ac_cv_use_stattext"
10755 if test "$no_cache" != 1; then
10756 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10757 fi
10758
10759 if test "$wxUSE_STATTEXT" = yes; then
10760 { echo "$as_me:$LINENO: result: yes" >&5
10761 echo "${ECHO_T}yes" >&6; }
10762 else
10763 { echo "$as_me:$LINENO: result: no" >&5
10764 echo "${ECHO_T}no" >&6; }
10765 fi
10766
10767
10768 enablestring=
10769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10770 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10771 no_cache=0
10772 # Check whether --enable-statusbar was given.
10773 if test "${enable_statusbar+set}" = set; then
10774 enableval=$enable_statusbar;
10775 if test "$enableval" = yes; then
10776 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10777 else
10778 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10779 fi
10780
10781 else
10782
10783 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
10784 if test "x$LINE" != x ; then
10785 eval "DEFAULT_$LINE"
10786 else
10787 no_cache=1
10788 fi
10789
10790 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10791
10792 fi
10793
10794
10795 eval "$ac_cv_use_statusbar"
10796 if test "$no_cache" != 1; then
10797 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10798 fi
10799
10800 if test "$wxUSE_STATUSBAR" = yes; then
10801 { echo "$as_me:$LINENO: result: yes" >&5
10802 echo "${ECHO_T}yes" >&6; }
10803 else
10804 { echo "$as_me:$LINENO: result: no" >&5
10805 echo "${ECHO_T}no" >&6; }
10806 fi
10807
10808
10809 enablestring=
10810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10811 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10812 no_cache=0
10813 # Check whether --enable-tabdialog was given.
10814 if test "${enable_tabdialog+set}" = set; then
10815 enableval=$enable_tabdialog;
10816 if test "$enableval" = yes; then
10817 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10818 else
10819 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10820 fi
10821
10822 else
10823
10824 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
10825 if test "x$LINE" != x ; then
10826 eval "DEFAULT_$LINE"
10827 else
10828 no_cache=1
10829 fi
10830
10831 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10832
10833 fi
10834
10835
10836 eval "$ac_cv_use_tabdialog"
10837 if test "$no_cache" != 1; then
10838 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10839 fi
10840
10841 if test "$wxUSE_TAB_DIALOG" = yes; then
10842 { echo "$as_me:$LINENO: result: yes" >&5
10843 echo "${ECHO_T}yes" >&6; }
10844 else
10845 { echo "$as_me:$LINENO: result: no" >&5
10846 echo "${ECHO_T}no" >&6; }
10847 fi
10848
10849
10850 enablestring=
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10853 no_cache=0
10854 # Check whether --enable-textctrl was given.
10855 if test "${enable_textctrl+set}" = set; then
10856 enableval=$enable_textctrl;
10857 if test "$enableval" = yes; then
10858 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10859 else
10860 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10861 fi
10862
10863 else
10864
10865 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
10866 if test "x$LINE" != x ; then
10867 eval "DEFAULT_$LINE"
10868 else
10869 no_cache=1
10870 fi
10871
10872 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10873
10874 fi
10875
10876
10877 eval "$ac_cv_use_textctrl"
10878 if test "$no_cache" != 1; then
10879 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10880 fi
10881
10882 if test "$wxUSE_TEXTCTRL" = yes; then
10883 { echo "$as_me:$LINENO: result: yes" >&5
10884 echo "${ECHO_T}yes" >&6; }
10885 else
10886 { echo "$as_me:$LINENO: result: no" >&5
10887 echo "${ECHO_T}no" >&6; }
10888 fi
10889
10890
10891 enablestring=
10892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10893 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10894 no_cache=0
10895 # Check whether --enable-togglebtn was given.
10896 if test "${enable_togglebtn+set}" = set; then
10897 enableval=$enable_togglebtn;
10898 if test "$enableval" = yes; then
10899 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10900 else
10901 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10902 fi
10903
10904 else
10905
10906 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
10907 if test "x$LINE" != x ; then
10908 eval "DEFAULT_$LINE"
10909 else
10910 no_cache=1
10911 fi
10912
10913 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10914
10915 fi
10916
10917
10918 eval "$ac_cv_use_togglebtn"
10919 if test "$no_cache" != 1; then
10920 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10921 fi
10922
10923 if test "$wxUSE_TOGGLEBTN" = yes; then
10924 { echo "$as_me:$LINENO: result: yes" >&5
10925 echo "${ECHO_T}yes" >&6; }
10926 else
10927 { echo "$as_me:$LINENO: result: no" >&5
10928 echo "${ECHO_T}no" >&6; }
10929 fi
10930
10931
10932 enablestring=
10933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10935 no_cache=0
10936 # Check whether --enable-toolbar was given.
10937 if test "${enable_toolbar+set}" = set; then
10938 enableval=$enable_toolbar;
10939 if test "$enableval" = yes; then
10940 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10941 else
10942 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10943 fi
10944
10945 else
10946
10947 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
10948 if test "x$LINE" != x ; then
10949 eval "DEFAULT_$LINE"
10950 else
10951 no_cache=1
10952 fi
10953
10954 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10955
10956 fi
10957
10958
10959 eval "$ac_cv_use_toolbar"
10960 if test "$no_cache" != 1; then
10961 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10962 fi
10963
10964 if test "$wxUSE_TOOLBAR" = yes; then
10965 { echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6; }
10967 else
10968 { echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6; }
10970 fi
10971
10972
10973 enablestring=
10974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10975 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10976 no_cache=0
10977 # Check whether --enable-tbarnative was given.
10978 if test "${enable_tbarnative+set}" = set; then
10979 enableval=$enable_tbarnative;
10980 if test "$enableval" = yes; then
10981 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10982 else
10983 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10984 fi
10985
10986 else
10987
10988 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
10989 if test "x$LINE" != x ; then
10990 eval "DEFAULT_$LINE"
10991 else
10992 no_cache=1
10993 fi
10994
10995 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10996
10997 fi
10998
10999
11000 eval "$ac_cv_use_tbarnative"
11001 if test "$no_cache" != 1; then
11002 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
11003 fi
11004
11005 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
11006 { echo "$as_me:$LINENO: result: yes" >&5
11007 echo "${ECHO_T}yes" >&6; }
11008 else
11009 { echo "$as_me:$LINENO: result: no" >&5
11010 echo "${ECHO_T}no" >&6; }
11011 fi
11012
11013
11014 enablestring=
11015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11016 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11017 no_cache=0
11018 # Check whether --enable-treebook was given.
11019 if test "${enable_treebook+set}" = set; then
11020 enableval=$enable_treebook;
11021 if test "$enableval" = yes; then
11022 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
11023 else
11024 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
11025 fi
11026
11027 else
11028
11029 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
11030 if test "x$LINE" != x ; then
11031 eval "DEFAULT_$LINE"
11032 else
11033 no_cache=1
11034 fi
11035
11036 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
11037
11038 fi
11039
11040
11041 eval "$ac_cv_use_treebook"
11042 if test "$no_cache" != 1; then
11043 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
11044 fi
11045
11046 if test "$wxUSE_TREEBOOK" = yes; then
11047 { echo "$as_me:$LINENO: result: yes" >&5
11048 echo "${ECHO_T}yes" >&6; }
11049 else
11050 { echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6; }
11052 fi
11053
11054
11055 enablestring=
11056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11058 no_cache=0
11059 # Check whether --enable-toolbook was given.
11060 if test "${enable_toolbook+set}" = set; then
11061 enableval=$enable_toolbook;
11062 if test "$enableval" = yes; then
11063 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11064 else
11065 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11066 fi
11067
11068 else
11069
11070 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
11071 if test "x$LINE" != x ; then
11072 eval "DEFAULT_$LINE"
11073 else
11074 no_cache=1
11075 fi
11076
11077 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
11078
11079 fi
11080
11081
11082 eval "$ac_cv_use_toolbook"
11083 if test "$no_cache" != 1; then
11084 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
11085 fi
11086
11087 if test "$wxUSE_TOOLBOOK" = yes; then
11088 { echo "$as_me:$LINENO: result: yes" >&5
11089 echo "${ECHO_T}yes" >&6; }
11090 else
11091 { echo "$as_me:$LINENO: result: no" >&5
11092 echo "${ECHO_T}no" >&6; }
11093 fi
11094
11095
11096 enablestring=
11097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11098 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11099 no_cache=0
11100 # Check whether --enable-treectrl was given.
11101 if test "${enable_treectrl+set}" = set; then
11102 enableval=$enable_treectrl;
11103 if test "$enableval" = yes; then
11104 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
11105 else
11106 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
11107 fi
11108
11109 else
11110
11111 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
11112 if test "x$LINE" != x ; then
11113 eval "DEFAULT_$LINE"
11114 else
11115 no_cache=1
11116 fi
11117
11118 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
11119
11120 fi
11121
11122
11123 eval "$ac_cv_use_treectrl"
11124 if test "$no_cache" != 1; then
11125 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11126 fi
11127
11128 if test "$wxUSE_TREECTRL" = yes; then
11129 { echo "$as_me:$LINENO: result: yes" >&5
11130 echo "${ECHO_T}yes" >&6; }
11131 else
11132 { echo "$as_me:$LINENO: result: no" >&5
11133 echo "${ECHO_T}no" >&6; }
11134 fi
11135
11136
11137 enablestring=
11138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11139 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11140 no_cache=0
11141 # Check whether --enable-tipwindow was given.
11142 if test "${enable_tipwindow+set}" = set; then
11143 enableval=$enable_tipwindow;
11144 if test "$enableval" = yes; then
11145 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11146 else
11147 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11148 fi
11149
11150 else
11151
11152 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
11153 if test "x$LINE" != x ; then
11154 eval "DEFAULT_$LINE"
11155 else
11156 no_cache=1
11157 fi
11158
11159 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11160
11161 fi
11162
11163
11164 eval "$ac_cv_use_tipwindow"
11165 if test "$no_cache" != 1; then
11166 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11167 fi
11168
11169 if test "$wxUSE_TIPWINDOW" = yes; then
11170 { echo "$as_me:$LINENO: result: yes" >&5
11171 echo "${ECHO_T}yes" >&6; }
11172 else
11173 { echo "$as_me:$LINENO: result: no" >&5
11174 echo "${ECHO_T}no" >&6; }
11175 fi
11176
11177
11178 enablestring=
11179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11180 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11181 no_cache=0
11182 # Check whether --enable-popupwin was given.
11183 if test "${enable_popupwin+set}" = set; then
11184 enableval=$enable_popupwin;
11185 if test "$enableval" = yes; then
11186 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11187 else
11188 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11189 fi
11190
11191 else
11192
11193 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
11194 if test "x$LINE" != x ; then
11195 eval "DEFAULT_$LINE"
11196 else
11197 no_cache=1
11198 fi
11199
11200 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11201
11202 fi
11203
11204
11205 eval "$ac_cv_use_popupwin"
11206 if test "$no_cache" != 1; then
11207 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11208 fi
11209
11210 if test "$wxUSE_POPUPWIN" = yes; then
11211 { echo "$as_me:$LINENO: result: yes" >&5
11212 echo "${ECHO_T}yes" >&6; }
11213 else
11214 { echo "$as_me:$LINENO: result: no" >&5
11215 echo "${ECHO_T}no" >&6; }
11216 fi
11217
11218
11219
11220
11221 enablestring=
11222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11223 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11224 no_cache=0
11225 # Check whether --enable-commondlg was given.
11226 if test "${enable_commondlg+set}" = set; then
11227 enableval=$enable_commondlg;
11228 if test "$enableval" = yes; then
11229 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11230 else
11231 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11232 fi
11233
11234 else
11235
11236 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
11237 if test "x$LINE" != x ; then
11238 eval "DEFAULT_$LINE"
11239 else
11240 no_cache=1
11241 fi
11242
11243 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11244
11245 fi
11246
11247
11248 eval "$ac_cv_use_commondlg"
11249 if test "$no_cache" != 1; then
11250 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11251 fi
11252
11253 if test "$wxUSE_COMMONDLGS" = yes; then
11254 { echo "$as_me:$LINENO: result: yes" >&5
11255 echo "${ECHO_T}yes" >&6; }
11256 else
11257 { echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6; }
11259 fi
11260
11261
11262 enablestring=
11263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11264 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11265 no_cache=0
11266 # Check whether --enable-aboutdlg was given.
11267 if test "${enable_aboutdlg+set}" = set; then
11268 enableval=$enable_aboutdlg;
11269 if test "$enableval" = yes; then
11270 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11271 else
11272 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11273 fi
11274
11275 else
11276
11277 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
11278 if test "x$LINE" != x ; then
11279 eval "DEFAULT_$LINE"
11280 else
11281 no_cache=1
11282 fi
11283
11284 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11285
11286 fi
11287
11288
11289 eval "$ac_cv_use_aboutdlg"
11290 if test "$no_cache" != 1; then
11291 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11292 fi
11293
11294 if test "$wxUSE_ABOUTDLG" = yes; then
11295 { echo "$as_me:$LINENO: result: yes" >&5
11296 echo "${ECHO_T}yes" >&6; }
11297 else
11298 { echo "$as_me:$LINENO: result: no" >&5
11299 echo "${ECHO_T}no" >&6; }
11300 fi
11301
11302
11303 enablestring=
11304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11306 no_cache=0
11307 # Check whether --enable-choicedlg was given.
11308 if test "${enable_choicedlg+set}" = set; then
11309 enableval=$enable_choicedlg;
11310 if test "$enableval" = yes; then
11311 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11312 else
11313 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11314 fi
11315
11316 else
11317
11318 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
11319 if test "x$LINE" != x ; then
11320 eval "DEFAULT_$LINE"
11321 else
11322 no_cache=1
11323 fi
11324
11325 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11326
11327 fi
11328
11329
11330 eval "$ac_cv_use_choicedlg"
11331 if test "$no_cache" != 1; then
11332 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11333 fi
11334
11335 if test "$wxUSE_CHOICEDLG" = yes; then
11336 { echo "$as_me:$LINENO: result: yes" >&5
11337 echo "${ECHO_T}yes" >&6; }
11338 else
11339 { echo "$as_me:$LINENO: result: no" >&5
11340 echo "${ECHO_T}no" >&6; }
11341 fi
11342
11343
11344 enablestring=
11345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11347 no_cache=0
11348 # Check whether --enable-coldlg was given.
11349 if test "${enable_coldlg+set}" = set; then
11350 enableval=$enable_coldlg;
11351 if test "$enableval" = yes; then
11352 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11353 else
11354 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11355 fi
11356
11357 else
11358
11359 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
11360 if test "x$LINE" != x ; then
11361 eval "DEFAULT_$LINE"
11362 else
11363 no_cache=1
11364 fi
11365
11366 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11367
11368 fi
11369
11370
11371 eval "$ac_cv_use_coldlg"
11372 if test "$no_cache" != 1; then
11373 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11374 fi
11375
11376 if test "$wxUSE_COLOURDLG" = yes; then
11377 { echo "$as_me:$LINENO: result: yes" >&5
11378 echo "${ECHO_T}yes" >&6; }
11379 else
11380 { echo "$as_me:$LINENO: result: no" >&5
11381 echo "${ECHO_T}no" >&6; }
11382 fi
11383
11384
11385 enablestring=
11386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11387 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11388 no_cache=0
11389 # Check whether --enable-filedlg was given.
11390 if test "${enable_filedlg+set}" = set; then
11391 enableval=$enable_filedlg;
11392 if test "$enableval" = yes; then
11393 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11394 else
11395 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11396 fi
11397
11398 else
11399
11400 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
11401 if test "x$LINE" != x ; then
11402 eval "DEFAULT_$LINE"
11403 else
11404 no_cache=1
11405 fi
11406
11407 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11408
11409 fi
11410
11411
11412 eval "$ac_cv_use_filedlg"
11413 if test "$no_cache" != 1; then
11414 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11415 fi
11416
11417 if test "$wxUSE_FILEDLG" = yes; then
11418 { echo "$as_me:$LINENO: result: yes" >&5
11419 echo "${ECHO_T}yes" >&6; }
11420 else
11421 { echo "$as_me:$LINENO: result: no" >&5
11422 echo "${ECHO_T}no" >&6; }
11423 fi
11424
11425
11426 enablestring=
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11429 no_cache=0
11430 # Check whether --enable-finddlg was given.
11431 if test "${enable_finddlg+set}" = set; then
11432 enableval=$enable_finddlg;
11433 if test "$enableval" = yes; then
11434 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11435 else
11436 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11437 fi
11438
11439 else
11440
11441 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
11442 if test "x$LINE" != x ; then
11443 eval "DEFAULT_$LINE"
11444 else
11445 no_cache=1
11446 fi
11447
11448 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11449
11450 fi
11451
11452
11453 eval "$ac_cv_use_finddlg"
11454 if test "$no_cache" != 1; then
11455 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11456 fi
11457
11458 if test "$wxUSE_FINDREPLDLG" = yes; then
11459 { echo "$as_me:$LINENO: result: yes" >&5
11460 echo "${ECHO_T}yes" >&6; }
11461 else
11462 { echo "$as_me:$LINENO: result: no" >&5
11463 echo "${ECHO_T}no" >&6; }
11464 fi
11465
11466
11467 enablestring=
11468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11469 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11470 no_cache=0
11471 # Check whether --enable-fontdlg was given.
11472 if test "${enable_fontdlg+set}" = set; then
11473 enableval=$enable_fontdlg;
11474 if test "$enableval" = yes; then
11475 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11476 else
11477 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11478 fi
11479
11480 else
11481
11482 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
11483 if test "x$LINE" != x ; then
11484 eval "DEFAULT_$LINE"
11485 else
11486 no_cache=1
11487 fi
11488
11489 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11490
11491 fi
11492
11493
11494 eval "$ac_cv_use_fontdlg"
11495 if test "$no_cache" != 1; then
11496 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11497 fi
11498
11499 if test "$wxUSE_FONTDLG" = yes; then
11500 { echo "$as_me:$LINENO: result: yes" >&5
11501 echo "${ECHO_T}yes" >&6; }
11502 else
11503 { echo "$as_me:$LINENO: result: no" >&5
11504 echo "${ECHO_T}no" >&6; }
11505 fi
11506
11507
11508 enablestring=
11509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11510 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11511 no_cache=0
11512 # Check whether --enable-dirdlg was given.
11513 if test "${enable_dirdlg+set}" = set; then
11514 enableval=$enable_dirdlg;
11515 if test "$enableval" = yes; then
11516 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11517 else
11518 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11519 fi
11520
11521 else
11522
11523 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
11524 if test "x$LINE" != x ; then
11525 eval "DEFAULT_$LINE"
11526 else
11527 no_cache=1
11528 fi
11529
11530 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11531
11532 fi
11533
11534
11535 eval "$ac_cv_use_dirdlg"
11536 if test "$no_cache" != 1; then
11537 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11538 fi
11539
11540 if test "$wxUSE_DIRDLG" = yes; then
11541 { echo "$as_me:$LINENO: result: yes" >&5
11542 echo "${ECHO_T}yes" >&6; }
11543 else
11544 { echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6; }
11546 fi
11547
11548
11549 enablestring=
11550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11551 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11552 no_cache=0
11553 # Check whether --enable-msgdlg was given.
11554 if test "${enable_msgdlg+set}" = set; then
11555 enableval=$enable_msgdlg;
11556 if test "$enableval" = yes; then
11557 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11558 else
11559 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11560 fi
11561
11562 else
11563
11564 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
11565 if test "x$LINE" != x ; then
11566 eval "DEFAULT_$LINE"
11567 else
11568 no_cache=1
11569 fi
11570
11571 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11572
11573 fi
11574
11575
11576 eval "$ac_cv_use_msgdlg"
11577 if test "$no_cache" != 1; then
11578 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11579 fi
11580
11581 if test "$wxUSE_MSGDLG" = yes; then
11582 { echo "$as_me:$LINENO: result: yes" >&5
11583 echo "${ECHO_T}yes" >&6; }
11584 else
11585 { echo "$as_me:$LINENO: result: no" >&5
11586 echo "${ECHO_T}no" >&6; }
11587 fi
11588
11589
11590 enablestring=
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11593 no_cache=0
11594 # Check whether --enable-numberdlg was given.
11595 if test "${enable_numberdlg+set}" = set; then
11596 enableval=$enable_numberdlg;
11597 if test "$enableval" = yes; then
11598 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11599 else
11600 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11601 fi
11602
11603 else
11604
11605 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
11606 if test "x$LINE" != x ; then
11607 eval "DEFAULT_$LINE"
11608 else
11609 no_cache=1
11610 fi
11611
11612 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11613
11614 fi
11615
11616
11617 eval "$ac_cv_use_numberdlg"
11618 if test "$no_cache" != 1; then
11619 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11620 fi
11621
11622 if test "$wxUSE_NUMBERDLG" = yes; then
11623 { echo "$as_me:$LINENO: result: yes" >&5
11624 echo "${ECHO_T}yes" >&6; }
11625 else
11626 { echo "$as_me:$LINENO: result: no" >&5
11627 echo "${ECHO_T}no" >&6; }
11628 fi
11629
11630
11631 enablestring=
11632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11633 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11634 no_cache=0
11635 # Check whether --enable-splash was given.
11636 if test "${enable_splash+set}" = set; then
11637 enableval=$enable_splash;
11638 if test "$enableval" = yes; then
11639 ac_cv_use_splash='wxUSE_SPLASH=yes'
11640 else
11641 ac_cv_use_splash='wxUSE_SPLASH=no'
11642 fi
11643
11644 else
11645
11646 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
11647 if test "x$LINE" != x ; then
11648 eval "DEFAULT_$LINE"
11649 else
11650 no_cache=1
11651 fi
11652
11653 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11654
11655 fi
11656
11657
11658 eval "$ac_cv_use_splash"
11659 if test "$no_cache" != 1; then
11660 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11661 fi
11662
11663 if test "$wxUSE_SPLASH" = yes; then
11664 { echo "$as_me:$LINENO: result: yes" >&5
11665 echo "${ECHO_T}yes" >&6; }
11666 else
11667 { echo "$as_me:$LINENO: result: no" >&5
11668 echo "${ECHO_T}no" >&6; }
11669 fi
11670
11671
11672 enablestring=
11673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11674 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11675 no_cache=0
11676 # Check whether --enable-textdlg was given.
11677 if test "${enable_textdlg+set}" = set; then
11678 enableval=$enable_textdlg;
11679 if test "$enableval" = yes; then
11680 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11681 else
11682 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11683 fi
11684
11685 else
11686
11687 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
11688 if test "x$LINE" != x ; then
11689 eval "DEFAULT_$LINE"
11690 else
11691 no_cache=1
11692 fi
11693
11694 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11695
11696 fi
11697
11698
11699 eval "$ac_cv_use_textdlg"
11700 if test "$no_cache" != 1; then
11701 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11702 fi
11703
11704 if test "$wxUSE_TEXTDLG" = yes; then
11705 { echo "$as_me:$LINENO: result: yes" >&5
11706 echo "${ECHO_T}yes" >&6; }
11707 else
11708 { echo "$as_me:$LINENO: result: no" >&5
11709 echo "${ECHO_T}no" >&6; }
11710 fi
11711
11712
11713 enablestring=
11714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11715 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11716 no_cache=0
11717 # Check whether --enable-tipdlg was given.
11718 if test "${enable_tipdlg+set}" = set; then
11719 enableval=$enable_tipdlg;
11720 if test "$enableval" = yes; then
11721 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11722 else
11723 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11724 fi
11725
11726 else
11727
11728 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
11729 if test "x$LINE" != x ; then
11730 eval "DEFAULT_$LINE"
11731 else
11732 no_cache=1
11733 fi
11734
11735 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11736
11737 fi
11738
11739
11740 eval "$ac_cv_use_tipdlg"
11741 if test "$no_cache" != 1; then
11742 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11743 fi
11744
11745 if test "$wxUSE_STARTUP_TIPS" = yes; then
11746 { echo "$as_me:$LINENO: result: yes" >&5
11747 echo "${ECHO_T}yes" >&6; }
11748 else
11749 { echo "$as_me:$LINENO: result: no" >&5
11750 echo "${ECHO_T}no" >&6; }
11751 fi
11752
11753
11754 enablestring=
11755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11756 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11757 no_cache=0
11758 # Check whether --enable-progressdlg was given.
11759 if test "${enable_progressdlg+set}" = set; then
11760 enableval=$enable_progressdlg;
11761 if test "$enableval" = yes; then
11762 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11763 else
11764 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11765 fi
11766
11767 else
11768
11769 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
11770 if test "x$LINE" != x ; then
11771 eval "DEFAULT_$LINE"
11772 else
11773 no_cache=1
11774 fi
11775
11776 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11777
11778 fi
11779
11780
11781 eval "$ac_cv_use_progressdlg"
11782 if test "$no_cache" != 1; then
11783 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11784 fi
11785
11786 if test "$wxUSE_PROGRESSDLG" = yes; then
11787 { echo "$as_me:$LINENO: result: yes" >&5
11788 echo "${ECHO_T}yes" >&6; }
11789 else
11790 { echo "$as_me:$LINENO: result: no" >&5
11791 echo "${ECHO_T}no" >&6; }
11792 fi
11793
11794
11795 enablestring=
11796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11797 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11798 no_cache=0
11799 # Check whether --enable-wizarddlg was given.
11800 if test "${enable_wizarddlg+set}" = set; then
11801 enableval=$enable_wizarddlg;
11802 if test "$enableval" = yes; then
11803 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11804 else
11805 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11806 fi
11807
11808 else
11809
11810 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
11811 if test "x$LINE" != x ; then
11812 eval "DEFAULT_$LINE"
11813 else
11814 no_cache=1
11815 fi
11816
11817 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11818
11819 fi
11820
11821
11822 eval "$ac_cv_use_wizarddlg"
11823 if test "$no_cache" != 1; then
11824 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11825 fi
11826
11827 if test "$wxUSE_WIZARDDLG" = yes; then
11828 { echo "$as_me:$LINENO: result: yes" >&5
11829 echo "${ECHO_T}yes" >&6; }
11830 else
11831 { echo "$as_me:$LINENO: result: no" >&5
11832 echo "${ECHO_T}no" >&6; }
11833 fi
11834
11835
11836
11837
11838 enablestring=
11839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11840 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11841 no_cache=0
11842 # Check whether --enable-menus was given.
11843 if test "${enable_menus+set}" = set; then
11844 enableval=$enable_menus;
11845 if test "$enableval" = yes; then
11846 ac_cv_use_menus='wxUSE_MENUS=yes'
11847 else
11848 ac_cv_use_menus='wxUSE_MENUS=no'
11849 fi
11850
11851 else
11852
11853 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
11854 if test "x$LINE" != x ; then
11855 eval "DEFAULT_$LINE"
11856 else
11857 no_cache=1
11858 fi
11859
11860 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11861
11862 fi
11863
11864
11865 eval "$ac_cv_use_menus"
11866 if test "$no_cache" != 1; then
11867 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11868 fi
11869
11870 if test "$wxUSE_MENUS" = yes; then
11871 { echo "$as_me:$LINENO: result: yes" >&5
11872 echo "${ECHO_T}yes" >&6; }
11873 else
11874 { echo "$as_me:$LINENO: result: no" >&5
11875 echo "${ECHO_T}no" >&6; }
11876 fi
11877
11878
11879 enablestring=
11880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11881 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11882 no_cache=0
11883 # Check whether --enable-miniframe was given.
11884 if test "${enable_miniframe+set}" = set; then
11885 enableval=$enable_miniframe;
11886 if test "$enableval" = yes; then
11887 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11888 else
11889 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11890 fi
11891
11892 else
11893
11894 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
11895 if test "x$LINE" != x ; then
11896 eval "DEFAULT_$LINE"
11897 else
11898 no_cache=1
11899 fi
11900
11901 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11902
11903 fi
11904
11905
11906 eval "$ac_cv_use_miniframe"
11907 if test "$no_cache" != 1; then
11908 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11909 fi
11910
11911 if test "$wxUSE_MINIFRAME" = yes; then
11912 { echo "$as_me:$LINENO: result: yes" >&5
11913 echo "${ECHO_T}yes" >&6; }
11914 else
11915 { echo "$as_me:$LINENO: result: no" >&5
11916 echo "${ECHO_T}no" >&6; }
11917 fi
11918
11919
11920 enablestring=
11921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11922 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11923 no_cache=0
11924 # Check whether --enable-tooltips was given.
11925 if test "${enable_tooltips+set}" = set; then
11926 enableval=$enable_tooltips;
11927 if test "$enableval" = yes; then
11928 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11929 else
11930 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11931 fi
11932
11933 else
11934
11935 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
11936 if test "x$LINE" != x ; then
11937 eval "DEFAULT_$LINE"
11938 else
11939 no_cache=1
11940 fi
11941
11942 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11943
11944 fi
11945
11946
11947 eval "$ac_cv_use_tooltips"
11948 if test "$no_cache" != 1; then
11949 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11950 fi
11951
11952 if test "$wxUSE_TOOLTIPS" = yes; then
11953 { echo "$as_me:$LINENO: result: yes" >&5
11954 echo "${ECHO_T}yes" >&6; }
11955 else
11956 { echo "$as_me:$LINENO: result: no" >&5
11957 echo "${ECHO_T}no" >&6; }
11958 fi
11959
11960
11961 enablestring=
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11964 no_cache=0
11965 # Check whether --enable-splines was given.
11966 if test "${enable_splines+set}" = set; then
11967 enableval=$enable_splines;
11968 if test "$enableval" = yes; then
11969 ac_cv_use_splines='wxUSE_SPLINES=yes'
11970 else
11971 ac_cv_use_splines='wxUSE_SPLINES=no'
11972 fi
11973
11974 else
11975
11976 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
11977 if test "x$LINE" != x ; then
11978 eval "DEFAULT_$LINE"
11979 else
11980 no_cache=1
11981 fi
11982
11983 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11984
11985 fi
11986
11987
11988 eval "$ac_cv_use_splines"
11989 if test "$no_cache" != 1; then
11990 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11991 fi
11992
11993 if test "$wxUSE_SPLINES" = yes; then
11994 { echo "$as_me:$LINENO: result: yes" >&5
11995 echo "${ECHO_T}yes" >&6; }
11996 else
11997 { echo "$as_me:$LINENO: result: no" >&5
11998 echo "${ECHO_T}no" >&6; }
11999 fi
12000
12001
12002 enablestring=
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12005 no_cache=0
12006 # Check whether --enable-mousewheel was given.
12007 if test "${enable_mousewheel+set}" = set; then
12008 enableval=$enable_mousewheel;
12009 if test "$enableval" = yes; then
12010 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12011 else
12012 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12013 fi
12014
12015 else
12016
12017 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
12018 if test "x$LINE" != x ; then
12019 eval "DEFAULT_$LINE"
12020 else
12021 no_cache=1
12022 fi
12023
12024 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
12025
12026 fi
12027
12028
12029 eval "$ac_cv_use_mousewheel"
12030 if test "$no_cache" != 1; then
12031 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
12032 fi
12033
12034 if test "$wxUSE_MOUSEWHEEL" = yes; then
12035 { echo "$as_me:$LINENO: result: yes" >&5
12036 echo "${ECHO_T}yes" >&6; }
12037 else
12038 { echo "$as_me:$LINENO: result: no" >&5
12039 echo "${ECHO_T}no" >&6; }
12040 fi
12041
12042
12043 enablestring=
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12046 no_cache=0
12047 # Check whether --enable-validators was given.
12048 if test "${enable_validators+set}" = set; then
12049 enableval=$enable_validators;
12050 if test "$enableval" = yes; then
12051 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
12052 else
12053 ac_cv_use_validators='wxUSE_VALIDATORS=no'
12054 fi
12055
12056 else
12057
12058 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
12059 if test "x$LINE" != x ; then
12060 eval "DEFAULT_$LINE"
12061 else
12062 no_cache=1
12063 fi
12064
12065 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
12066
12067 fi
12068
12069
12070 eval "$ac_cv_use_validators"
12071 if test "$no_cache" != 1; then
12072 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
12073 fi
12074
12075 if test "$wxUSE_VALIDATORS" = yes; then
12076 { echo "$as_me:$LINENO: result: yes" >&5
12077 echo "${ECHO_T}yes" >&6; }
12078 else
12079 { echo "$as_me:$LINENO: result: no" >&5
12080 echo "${ECHO_T}no" >&6; }
12081 fi
12082
12083
12084 enablestring=
12085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12086 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12087 no_cache=0
12088 # Check whether --enable-busyinfo was given.
12089 if test "${enable_busyinfo+set}" = set; then
12090 enableval=$enable_busyinfo;
12091 if test "$enableval" = yes; then
12092 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12093 else
12094 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12095 fi
12096
12097 else
12098
12099 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
12100 if test "x$LINE" != x ; then
12101 eval "DEFAULT_$LINE"
12102 else
12103 no_cache=1
12104 fi
12105
12106 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
12107
12108 fi
12109
12110
12111 eval "$ac_cv_use_busyinfo"
12112 if test "$no_cache" != 1; then
12113 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
12114 fi
12115
12116 if test "$wxUSE_BUSYINFO" = yes; then
12117 { echo "$as_me:$LINENO: result: yes" >&5
12118 echo "${ECHO_T}yes" >&6; }
12119 else
12120 { echo "$as_me:$LINENO: result: no" >&5
12121 echo "${ECHO_T}no" >&6; }
12122 fi
12123
12124
12125 enablestring=
12126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12127 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12128 no_cache=0
12129 # Check whether --enable-joystick was given.
12130 if test "${enable_joystick+set}" = set; then
12131 enableval=$enable_joystick;
12132 if test "$enableval" = yes; then
12133 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12134 else
12135 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12136 fi
12137
12138 else
12139
12140 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
12141 if test "x$LINE" != x ; then
12142 eval "DEFAULT_$LINE"
12143 else
12144 no_cache=1
12145 fi
12146
12147 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12148
12149 fi
12150
12151
12152 eval "$ac_cv_use_joystick"
12153 if test "$no_cache" != 1; then
12154 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12155 fi
12156
12157 if test "$wxUSE_JOYSTICK" = yes; then
12158 { echo "$as_me:$LINENO: result: yes" >&5
12159 echo "${ECHO_T}yes" >&6; }
12160 else
12161 { echo "$as_me:$LINENO: result: no" >&5
12162 echo "${ECHO_T}no" >&6; }
12163 fi
12164
12165
12166 enablestring=
12167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12168 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12169 no_cache=0
12170 # Check whether --enable-metafile was given.
12171 if test "${enable_metafile+set}" = set; then
12172 enableval=$enable_metafile;
12173 if test "$enableval" = yes; then
12174 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12175 else
12176 ac_cv_use_metafile='wxUSE_METAFILE=no'
12177 fi
12178
12179 else
12180
12181 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
12182 if test "x$LINE" != x ; then
12183 eval "DEFAULT_$LINE"
12184 else
12185 no_cache=1
12186 fi
12187
12188 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12189
12190 fi
12191
12192
12193 eval "$ac_cv_use_metafile"
12194 if test "$no_cache" != 1; then
12195 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12196 fi
12197
12198 if test "$wxUSE_METAFILE" = yes; then
12199 { echo "$as_me:$LINENO: result: yes" >&5
12200 echo "${ECHO_T}yes" >&6; }
12201 else
12202 { echo "$as_me:$LINENO: result: no" >&5
12203 echo "${ECHO_T}no" >&6; }
12204 fi
12205
12206
12207 enablestring=
12208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12209 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12210 no_cache=0
12211 # Check whether --enable-dragimage was given.
12212 if test "${enable_dragimage+set}" = set; then
12213 enableval=$enable_dragimage;
12214 if test "$enableval" = yes; then
12215 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12216 else
12217 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12218 fi
12219
12220 else
12221
12222 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
12223 if test "x$LINE" != x ; then
12224 eval "DEFAULT_$LINE"
12225 else
12226 no_cache=1
12227 fi
12228
12229 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12230
12231 fi
12232
12233
12234 eval "$ac_cv_use_dragimage"
12235 if test "$no_cache" != 1; then
12236 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12237 fi
12238
12239 if test "$wxUSE_DRAGIMAGE" = yes; then
12240 { echo "$as_me:$LINENO: result: yes" >&5
12241 echo "${ECHO_T}yes" >&6; }
12242 else
12243 { echo "$as_me:$LINENO: result: no" >&5
12244 echo "${ECHO_T}no" >&6; }
12245 fi
12246
12247
12248 enablestring=
12249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12250 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12251 no_cache=0
12252 # Check whether --enable-accessibility was given.
12253 if test "${enable_accessibility+set}" = set; then
12254 enableval=$enable_accessibility;
12255 if test "$enableval" = yes; then
12256 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12257 else
12258 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12259 fi
12260
12261 else
12262
12263 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
12264 if test "x$LINE" != x ; then
12265 eval "DEFAULT_$LINE"
12266 else
12267 no_cache=1
12268 fi
12269
12270 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12271
12272 fi
12273
12274
12275 eval "$ac_cv_use_accessibility"
12276 if test "$no_cache" != 1; then
12277 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12278 fi
12279
12280 if test "$wxUSE_ACCESSIBILITY" = yes; then
12281 { echo "$as_me:$LINENO: result: yes" >&5
12282 echo "${ECHO_T}yes" >&6; }
12283 else
12284 { echo "$as_me:$LINENO: result: no" >&5
12285 echo "${ECHO_T}no" >&6; }
12286 fi
12287
12288
12289 if test "$wxUSE_MSW" = "1"; then
12290
12291 enablestring=
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12294 no_cache=0
12295 # Check whether --enable-dccache was given.
12296 if test "${enable_dccache+set}" = set; then
12297 enableval=$enable_dccache;
12298 if test "$enableval" = yes; then
12299 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12300 else
12301 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12302 fi
12303
12304 else
12305
12306 LINE=`grep "^wxUSE_DC_CACHEING=" ${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_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12314
12315 fi
12316
12317
12318 eval "$ac_cv_use_dccache"
12319 if test "$no_cache" != 1; then
12320 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12321 fi
12322
12323 if test "$wxUSE_DC_CACHEING" = 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 fi
12332
12333
12334
12335 enablestring=
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12338 no_cache=0
12339 # Check whether --enable-palette was given.
12340 if test "${enable_palette+set}" = set; then
12341 enableval=$enable_palette;
12342 if test "$enableval" = yes; then
12343 ac_cv_use_palette='wxUSE_PALETTE=yes'
12344 else
12345 ac_cv_use_palette='wxUSE_PALETTE=no'
12346 fi
12347
12348 else
12349
12350 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
12351 if test "x$LINE" != x ; then
12352 eval "DEFAULT_$LINE"
12353 else
12354 no_cache=1
12355 fi
12356
12357 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12358
12359 fi
12360
12361
12362 eval "$ac_cv_use_palette"
12363 if test "$no_cache" != 1; then
12364 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12365 fi
12366
12367 if test "$wxUSE_PALETTE" = yes; then
12368 { echo "$as_me:$LINENO: result: yes" >&5
12369 echo "${ECHO_T}yes" >&6; }
12370 else
12371 { echo "$as_me:$LINENO: result: no" >&5
12372 echo "${ECHO_T}no" >&6; }
12373 fi
12374
12375
12376 enablestring=
12377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12378 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12379 no_cache=0
12380 # Check whether --enable-image was given.
12381 if test "${enable_image+set}" = set; then
12382 enableval=$enable_image;
12383 if test "$enableval" = yes; then
12384 ac_cv_use_image='wxUSE_IMAGE=yes'
12385 else
12386 ac_cv_use_image='wxUSE_IMAGE=no'
12387 fi
12388
12389 else
12390
12391 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
12392 if test "x$LINE" != x ; then
12393 eval "DEFAULT_$LINE"
12394 else
12395 no_cache=1
12396 fi
12397
12398 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12399
12400 fi
12401
12402
12403 eval "$ac_cv_use_image"
12404 if test "$no_cache" != 1; then
12405 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12406 fi
12407
12408 if test "$wxUSE_IMAGE" = yes; then
12409 { echo "$as_me:$LINENO: result: yes" >&5
12410 echo "${ECHO_T}yes" >&6; }
12411 else
12412 { echo "$as_me:$LINENO: result: no" >&5
12413 echo "${ECHO_T}no" >&6; }
12414 fi
12415
12416
12417 enablestring=
12418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12419 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12420 no_cache=0
12421 # Check whether --enable-gif was given.
12422 if test "${enable_gif+set}" = set; then
12423 enableval=$enable_gif;
12424 if test "$enableval" = yes; then
12425 ac_cv_use_gif='wxUSE_GIF=yes'
12426 else
12427 ac_cv_use_gif='wxUSE_GIF=no'
12428 fi
12429
12430 else
12431
12432 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
12433 if test "x$LINE" != x ; then
12434 eval "DEFAULT_$LINE"
12435 else
12436 no_cache=1
12437 fi
12438
12439 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12440
12441 fi
12442
12443
12444 eval "$ac_cv_use_gif"
12445 if test "$no_cache" != 1; then
12446 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12447 fi
12448
12449 if test "$wxUSE_GIF" = yes; then
12450 { echo "$as_me:$LINENO: result: yes" >&5
12451 echo "${ECHO_T}yes" >&6; }
12452 else
12453 { echo "$as_me:$LINENO: result: no" >&5
12454 echo "${ECHO_T}no" >&6; }
12455 fi
12456
12457
12458 enablestring=
12459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12460 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12461 no_cache=0
12462 # Check whether --enable-pcx was given.
12463 if test "${enable_pcx+set}" = set; then
12464 enableval=$enable_pcx;
12465 if test "$enableval" = yes; then
12466 ac_cv_use_pcx='wxUSE_PCX=yes'
12467 else
12468 ac_cv_use_pcx='wxUSE_PCX=no'
12469 fi
12470
12471 else
12472
12473 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
12474 if test "x$LINE" != x ; then
12475 eval "DEFAULT_$LINE"
12476 else
12477 no_cache=1
12478 fi
12479
12480 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12481
12482 fi
12483
12484
12485 eval "$ac_cv_use_pcx"
12486 if test "$no_cache" != 1; then
12487 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12488 fi
12489
12490 if test "$wxUSE_PCX" = yes; then
12491 { echo "$as_me:$LINENO: result: yes" >&5
12492 echo "${ECHO_T}yes" >&6; }
12493 else
12494 { echo "$as_me:$LINENO: result: no" >&5
12495 echo "${ECHO_T}no" >&6; }
12496 fi
12497
12498
12499 enablestring=
12500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12501 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12502 no_cache=0
12503 # Check whether --enable-tga was given.
12504 if test "${enable_tga+set}" = set; then
12505 enableval=$enable_tga;
12506 if test "$enableval" = yes; then
12507 ac_cv_use_tga='wxUSE_TGA=yes'
12508 else
12509 ac_cv_use_tga='wxUSE_TGA=no'
12510 fi
12511
12512 else
12513
12514 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
12515 if test "x$LINE" != x ; then
12516 eval "DEFAULT_$LINE"
12517 else
12518 no_cache=1
12519 fi
12520
12521 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12522
12523 fi
12524
12525
12526 eval "$ac_cv_use_tga"
12527 if test "$no_cache" != 1; then
12528 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12529 fi
12530
12531 if test "$wxUSE_TGA" = yes; then
12532 { echo "$as_me:$LINENO: result: yes" >&5
12533 echo "${ECHO_T}yes" >&6; }
12534 else
12535 { echo "$as_me:$LINENO: result: no" >&5
12536 echo "${ECHO_T}no" >&6; }
12537 fi
12538
12539
12540 enablestring=
12541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12542 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12543 no_cache=0
12544 # Check whether --enable-iff was given.
12545 if test "${enable_iff+set}" = set; then
12546 enableval=$enable_iff;
12547 if test "$enableval" = yes; then
12548 ac_cv_use_iff='wxUSE_IFF=yes'
12549 else
12550 ac_cv_use_iff='wxUSE_IFF=no'
12551 fi
12552
12553 else
12554
12555 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
12556 if test "x$LINE" != x ; then
12557 eval "DEFAULT_$LINE"
12558 else
12559 no_cache=1
12560 fi
12561
12562 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12563
12564 fi
12565
12566
12567 eval "$ac_cv_use_iff"
12568 if test "$no_cache" != 1; then
12569 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12570 fi
12571
12572 if test "$wxUSE_IFF" = yes; then
12573 { echo "$as_me:$LINENO: result: yes" >&5
12574 echo "${ECHO_T}yes" >&6; }
12575 else
12576 { echo "$as_me:$LINENO: result: no" >&5
12577 echo "${ECHO_T}no" >&6; }
12578 fi
12579
12580
12581 enablestring=
12582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12583 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12584 no_cache=0
12585 # Check whether --enable-pnm was given.
12586 if test "${enable_pnm+set}" = set; then
12587 enableval=$enable_pnm;
12588 if test "$enableval" = yes; then
12589 ac_cv_use_pnm='wxUSE_PNM=yes'
12590 else
12591 ac_cv_use_pnm='wxUSE_PNM=no'
12592 fi
12593
12594 else
12595
12596 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
12597 if test "x$LINE" != x ; then
12598 eval "DEFAULT_$LINE"
12599 else
12600 no_cache=1
12601 fi
12602
12603 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12604
12605 fi
12606
12607
12608 eval "$ac_cv_use_pnm"
12609 if test "$no_cache" != 1; then
12610 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12611 fi
12612
12613 if test "$wxUSE_PNM" = yes; then
12614 { echo "$as_me:$LINENO: result: yes" >&5
12615 echo "${ECHO_T}yes" >&6; }
12616 else
12617 { echo "$as_me:$LINENO: result: no" >&5
12618 echo "${ECHO_T}no" >&6; }
12619 fi
12620
12621
12622 enablestring=
12623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12624 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12625 no_cache=0
12626 # Check whether --enable-xpm was given.
12627 if test "${enable_xpm+set}" = set; then
12628 enableval=$enable_xpm;
12629 if test "$enableval" = yes; then
12630 ac_cv_use_xpm='wxUSE_XPM=yes'
12631 else
12632 ac_cv_use_xpm='wxUSE_XPM=no'
12633 fi
12634
12635 else
12636
12637 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
12638 if test "x$LINE" != x ; then
12639 eval "DEFAULT_$LINE"
12640 else
12641 no_cache=1
12642 fi
12643
12644 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12645
12646 fi
12647
12648
12649 eval "$ac_cv_use_xpm"
12650 if test "$no_cache" != 1; then
12651 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12652 fi
12653
12654 if test "$wxUSE_XPM" = yes; then
12655 { echo "$as_me:$LINENO: result: yes" >&5
12656 echo "${ECHO_T}yes" >&6; }
12657 else
12658 { echo "$as_me:$LINENO: result: no" >&5
12659 echo "${ECHO_T}no" >&6; }
12660 fi
12661
12662
12663 enablestring=
12664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12665 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12666 no_cache=0
12667 # Check whether --enable-ico_cur was given.
12668 if test "${enable_ico_cur+set}" = set; then
12669 enableval=$enable_ico_cur;
12670 if test "$enableval" = yes; then
12671 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12672 else
12673 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12674 fi
12675
12676 else
12677
12678 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
12679 if test "x$LINE" != x ; then
12680 eval "DEFAULT_$LINE"
12681 else
12682 no_cache=1
12683 fi
12684
12685 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12686
12687 fi
12688
12689
12690 eval "$ac_cv_use_ico_cur"
12691 if test "$no_cache" != 1; then
12692 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12693 fi
12694
12695 if test "$wxUSE_ICO_CUR" = yes; then
12696 { echo "$as_me:$LINENO: result: yes" >&5
12697 echo "${ECHO_T}yes" >&6; }
12698 else
12699 { echo "$as_me:$LINENO: result: no" >&5
12700 echo "${ECHO_T}no" >&6; }
12701 fi
12702
12703
12704 fi
12705
12706
12707
12708 # Check whether --with-flavour was given.
12709 if test "${with_flavour+set}" = set; then
12710 withval=$with_flavour; WX_FLAVOUR="$withval"
12711 fi
12712
12713
12714
12715
12716 enablestring=
12717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12718 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12719 no_cache=0
12720 # Check whether --enable-official_build was given.
12721 if test "${enable_official_build+set}" = set; then
12722 enableval=$enable_official_build;
12723 if test "$enableval" = yes; then
12724 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12725 else
12726 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12727 fi
12728
12729 else
12730
12731 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
12732 if test "x$LINE" != x ; then
12733 eval "DEFAULT_$LINE"
12734 else
12735 no_cache=1
12736 fi
12737
12738 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12739
12740 fi
12741
12742
12743 eval "$ac_cv_use_official_build"
12744 if test "$no_cache" != 1; then
12745 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12746 fi
12747
12748 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12749 { echo "$as_me:$LINENO: result: yes" >&5
12750 echo "${ECHO_T}yes" >&6; }
12751 else
12752 { echo "$as_me:$LINENO: result: no" >&5
12753 echo "${ECHO_T}no" >&6; }
12754 fi
12755
12756 # Check whether --enable-vendor was given.
12757 if test "${enable_vendor+set}" = set; then
12758 enableval=$enable_vendor; VENDOR="$enableval"
12759 fi
12760
12761 if test "x$VENDOR" = "x"; then
12762 VENDOR="custom"
12763 fi
12764
12765
12766
12767
12768 echo "saving argument cache $wx_arg_cache_file"
12769 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12770
12771
12772
12773 { echo "$as_me:$LINENO: checking for toolkit" >&5
12774 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12775
12776 # In Wine, we need to default to MSW, not GTK or MOTIF
12777 if test "$wxUSE_WINE" = "yes"; then
12778 DEFAULT_DEFAULT_wxUSE_GTK=0
12779 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12780 DEFAULT_DEFAULT_wxUSE_MSW=1
12781 wxUSE_SHARED=no
12782 CC=${CC:-winegcc}
12783 CXX=${CXX:-wineg++}
12784 fi
12785
12786
12787 if test "$wxUSE_GUI" = "yes"; then
12788
12789 if test "$USE_BEOS" = 1; then
12790 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12791 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12792 { (exit 1); exit 1; }; }
12793 fi
12794
12795 if test "$TOOLKIT_GIVEN" = 1; then
12796 for toolkit in `echo $ALL_TOOLKITS`; do
12797 var=wxUSE_$toolkit
12798 eval "value=\$${var}"
12799 if test "x$value" = "xno"; then
12800 eval "$var=0"
12801 elif test "x$value" != "x"; then
12802 eval "$var=1"
12803 fi
12804
12805 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12806 eval "wx${toolkit}_VERSION=$value"
12807 fi
12808 done
12809 else
12810 for toolkit in `echo $ALL_TOOLKITS`; do
12811 if test "$has_toolkit_in_cache" != 1; then
12812 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12813 else
12814 var=DEFAULT_wxUSE_$toolkit
12815
12816 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12817 if test "x$version" != "x"; then
12818 eval "wx${toolkit}_VERSION=$version"
12819 fi
12820 fi
12821 eval "wxUSE_$toolkit=\$${var}"
12822 done
12823 fi
12824
12825 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12826 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12827 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12828
12829 case "${host}" in
12830 *-pc-os2_emx | *-pc-os2-emx )
12831 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12832 esac
12833
12834 case "$NUM_TOOLKITS" in
12835 1)
12836 ;;
12837 0)
12838 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12839 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12840 { (exit 1); exit 1; }; }
12841 ;;
12842 *)
12843 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12844 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12845 { (exit 1); exit 1; }; }
12846 esac
12847
12848 # to be removed when --disable-gtk2 isn't needed
12849 if test "x$wxUSE_GTK2" = "xyes"; then
12850 wxGTK_VERSION=2
12851 elif test "x$wxUSE_GTK2" = "xno"; then
12852 wxGTK_VERSION=1
12853 fi
12854
12855 for toolkit in `echo $ALL_TOOLKITS`; do
12856 var=wxUSE_$toolkit
12857 eval "value=\$${var}"
12858 if test "x$value" != x; then
12859 cache_var=CACHE_$toolkit
12860 eval "cache=\$${cache_var}"
12861 if test "$cache" = 1; then
12862 echo "$var=$value" >> ${wx_arg_cache_file}
12863 eval "version=\$wx${toolkit}_VERSION"
12864 if test "x$version" != "x"; then
12865 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12866 fi
12867 fi
12868 if test "$value" = 1; then
12869 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12870 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12871 echo "${ECHO_T}$toolkit_echo" >&6; }
12872 fi
12873 fi
12874 done
12875 else
12876 if test "x$host_alias" != "x"; then
12877 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12878 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12879 else
12880 { echo "$as_me:$LINENO: result: base only" >&5
12881 echo "${ECHO_T}base only" >&6; }
12882 fi
12883 fi
12884
12885
12886 cat >confcache <<\_ACEOF
12887 # This file is a shell script that caches the results of configure
12888 # tests run on this system so they can be shared between configure
12889 # scripts and configure runs, see configure's option --config-cache.
12890 # It is not useful on other systems. If it contains results you don't
12891 # want to keep, you may remove or edit it.
12892 #
12893 # config.status only pays attention to the cache file if you give it
12894 # the --recheck option to rerun configure.
12895 #
12896 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12897 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12898 # following values.
12899
12900 _ACEOF
12901
12902 # The following way of writing the cache mishandles newlines in values,
12903 # but we know of no workaround that is simple, portable, and efficient.
12904 # So, we kill variables containing newlines.
12905 # Ultrix sh set writes to stderr and can't be redirected directly,
12906 # and sets the high bit in the cache file unless we assign to the vars.
12907 (
12908 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12909 eval ac_val=\$$ac_var
12910 case $ac_val in #(
12911 *${as_nl}*)
12912 case $ac_var in #(
12913 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12914 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12915 esac
12916 case $ac_var in #(
12917 _ | IFS | as_nl) ;; #(
12918 *) $as_unset $ac_var ;;
12919 esac ;;
12920 esac
12921 done
12922
12923 (set) 2>&1 |
12924 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12925 *${as_nl}ac_space=\ *)
12926 # `set' does not quote correctly, so add quotes (double-quote
12927 # substitution turns \\\\ into \\, and sed turns \\ into \).
12928 sed -n \
12929 "s/'/'\\\\''/g;
12930 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12931 ;; #(
12932 *)
12933 # `set' quotes correctly as required by POSIX, so do not add quotes.
12934 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12935 ;;
12936 esac |
12937 sort
12938 ) |
12939 sed '
12940 /^ac_cv_env_/b end
12941 t clear
12942 :clear
12943 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12944 t end
12945 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12946 :end' >>confcache
12947 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12948 if test -w "$cache_file"; then
12949 test "x$cache_file" != "x/dev/null" &&
12950 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12951 echo "$as_me: updating cache $cache_file" >&6;}
12952 cat confcache >$cache_file
12953 else
12954 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12955 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12956 fi
12957 fi
12958 rm -f confcache
12959
12960 CFLAGS=${CFLAGS:=}
12961
12962
12963
12964 ac_ext=c
12965 ac_cpp='$CPP $CPPFLAGS'
12966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12969 if test -n "$ac_tool_prefix"; then
12970 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12971 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12974 if test "${ac_cv_prog_CC+set}" = set; then
12975 echo $ECHO_N "(cached) $ECHO_C" >&6
12976 else
12977 if test -n "$CC"; then
12978 ac_cv_prog_CC="$CC" # Let the user override the test.
12979 else
12980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12981 for as_dir in $PATH
12982 do
12983 IFS=$as_save_IFS
12984 test -z "$as_dir" && as_dir=.
12985 for ac_exec_ext in '' $ac_executable_extensions; do
12986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12987 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12989 break 2
12990 fi
12991 done
12992 done
12993 IFS=$as_save_IFS
12994
12995 fi
12996 fi
12997 CC=$ac_cv_prog_CC
12998 if test -n "$CC"; then
12999 { echo "$as_me:$LINENO: result: $CC" >&5
13000 echo "${ECHO_T}$CC" >&6; }
13001 else
13002 { echo "$as_me:$LINENO: result: no" >&5
13003 echo "${ECHO_T}no" >&6; }
13004 fi
13005
13006
13007 fi
13008 if test -z "$ac_cv_prog_CC"; then
13009 ac_ct_CC=$CC
13010 # Extract the first word of "gcc", so it can be a program name with args.
13011 set dummy gcc; ac_word=$2
13012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13014 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13015 echo $ECHO_N "(cached) $ECHO_C" >&6
13016 else
13017 if test -n "$ac_ct_CC"; then
13018 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13019 else
13020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13021 for as_dir in $PATH
13022 do
13023 IFS=$as_save_IFS
13024 test -z "$as_dir" && as_dir=.
13025 for ac_exec_ext in '' $ac_executable_extensions; do
13026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13027 ac_cv_prog_ac_ct_CC="gcc"
13028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13029 break 2
13030 fi
13031 done
13032 done
13033 IFS=$as_save_IFS
13034
13035 fi
13036 fi
13037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13038 if test -n "$ac_ct_CC"; then
13039 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13040 echo "${ECHO_T}$ac_ct_CC" >&6; }
13041 else
13042 { echo "$as_me:$LINENO: result: no" >&5
13043 echo "${ECHO_T}no" >&6; }
13044 fi
13045
13046 if test "x$ac_ct_CC" = x; then
13047 CC=""
13048 else
13049 case $cross_compiling:$ac_tool_warned in
13050 yes:)
13051 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13052 whose name does not start with the host triplet. If you think this
13053 configuration is useful to you, please write to autoconf@gnu.org." >&5
13054 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13055 whose name does not start with the host triplet. If you think this
13056 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13057 ac_tool_warned=yes ;;
13058 esac
13059 CC=$ac_ct_CC
13060 fi
13061 else
13062 CC="$ac_cv_prog_CC"
13063 fi
13064
13065 if test -z "$CC"; then
13066 if test -n "$ac_tool_prefix"; then
13067 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13068 set dummy ${ac_tool_prefix}cc; ac_word=$2
13069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13071 if test "${ac_cv_prog_CC+set}" = set; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 else
13074 if test -n "$CC"; then
13075 ac_cv_prog_CC="$CC" # Let the user override the test.
13076 else
13077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13078 for as_dir in $PATH
13079 do
13080 IFS=$as_save_IFS
13081 test -z "$as_dir" && as_dir=.
13082 for ac_exec_ext in '' $ac_executable_extensions; do
13083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13084 ac_cv_prog_CC="${ac_tool_prefix}cc"
13085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13086 break 2
13087 fi
13088 done
13089 done
13090 IFS=$as_save_IFS
13091
13092 fi
13093 fi
13094 CC=$ac_cv_prog_CC
13095 if test -n "$CC"; then
13096 { echo "$as_me:$LINENO: result: $CC" >&5
13097 echo "${ECHO_T}$CC" >&6; }
13098 else
13099 { echo "$as_me:$LINENO: result: no" >&5
13100 echo "${ECHO_T}no" >&6; }
13101 fi
13102
13103
13104 fi
13105 fi
13106 if test -z "$CC"; then
13107 # Extract the first word of "cc", so it can be a program name with args.
13108 set dummy cc; ac_word=$2
13109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13111 if test "${ac_cv_prog_CC+set}" = set; then
13112 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 else
13114 if test -n "$CC"; then
13115 ac_cv_prog_CC="$CC" # Let the user override the test.
13116 else
13117 ac_prog_rejected=no
13118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13119 for as_dir in $PATH
13120 do
13121 IFS=$as_save_IFS
13122 test -z "$as_dir" && as_dir=.
13123 for ac_exec_ext in '' $ac_executable_extensions; do
13124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13125 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13126 ac_prog_rejected=yes
13127 continue
13128 fi
13129 ac_cv_prog_CC="cc"
13130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13131 break 2
13132 fi
13133 done
13134 done
13135 IFS=$as_save_IFS
13136
13137 if test $ac_prog_rejected = yes; then
13138 # We found a bogon in the path, so make sure we never use it.
13139 set dummy $ac_cv_prog_CC
13140 shift
13141 if test $# != 0; then
13142 # We chose a different compiler from the bogus one.
13143 # However, it has the same basename, so the bogon will be chosen
13144 # first if we set CC to just the basename; use the full file name.
13145 shift
13146 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13147 fi
13148 fi
13149 fi
13150 fi
13151 CC=$ac_cv_prog_CC
13152 if test -n "$CC"; then
13153 { echo "$as_me:$LINENO: result: $CC" >&5
13154 echo "${ECHO_T}$CC" >&6; }
13155 else
13156 { echo "$as_me:$LINENO: result: no" >&5
13157 echo "${ECHO_T}no" >&6; }
13158 fi
13159
13160
13161 fi
13162 if test -z "$CC"; then
13163 if test -n "$ac_tool_prefix"; then
13164 for ac_prog in cl.exe
13165 do
13166 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13167 set dummy $ac_tool_prefix$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_CC+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 else
13173 if test -n "$CC"; then
13174 ac_cv_prog_CC="$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_CC="$ac_tool_prefix$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 CC=$ac_cv_prog_CC
13194 if test -n "$CC"; then
13195 { echo "$as_me:$LINENO: result: $CC" >&5
13196 echo "${ECHO_T}$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 "$CC" && break
13204 done
13205 fi
13206 if test -z "$CC"; then
13207 ac_ct_CC=$CC
13208 for ac_prog in cl.exe
13209 do
13210 # Extract the first word of "$ac_prog", so it can be a program name with args.
13211 set dummy $ac_prog; ac_word=$2
13212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13214 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13215 echo $ECHO_N "(cached) $ECHO_C" >&6
13216 else
13217 if test -n "$ac_ct_CC"; then
13218 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13219 else
13220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13221 for as_dir in $PATH
13222 do
13223 IFS=$as_save_IFS
13224 test -z "$as_dir" && as_dir=.
13225 for ac_exec_ext in '' $ac_executable_extensions; do
13226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13227 ac_cv_prog_ac_ct_CC="$ac_prog"
13228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13229 break 2
13230 fi
13231 done
13232 done
13233 IFS=$as_save_IFS
13234
13235 fi
13236 fi
13237 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13238 if test -n "$ac_ct_CC"; then
13239 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13240 echo "${ECHO_T}$ac_ct_CC" >&6; }
13241 else
13242 { echo "$as_me:$LINENO: result: no" >&5
13243 echo "${ECHO_T}no" >&6; }
13244 fi
13245
13246
13247 test -n "$ac_ct_CC" && break
13248 done
13249
13250 if test "x$ac_ct_CC" = x; then
13251 CC=""
13252 else
13253 case $cross_compiling:$ac_tool_warned in
13254 yes:)
13255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13256 whose name does not start with the host triplet. If you think this
13257 configuration is useful to you, please write to autoconf@gnu.org." >&5
13258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13259 whose name does not start with the host triplet. If you think this
13260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13261 ac_tool_warned=yes ;;
13262 esac
13263 CC=$ac_ct_CC
13264 fi
13265 fi
13266
13267 fi
13268
13269
13270 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13271 See \`config.log' for more details." >&5
13272 echo "$as_me: error: no acceptable C compiler found in \$PATH
13273 See \`config.log' for more details." >&2;}
13274 { (exit 1); exit 1; }; }
13275
13276 # Provide some information about the compiler.
13277 echo "$as_me:$LINENO: checking for C compiler version" >&5
13278 ac_compiler=`set X $ac_compile; echo $2`
13279 { (ac_try="$ac_compiler --version >&5"
13280 case "(($ac_try" in
13281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13282 *) ac_try_echo=$ac_try;;
13283 esac
13284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13285 (eval "$ac_compiler --version >&5") 2>&5
13286 ac_status=$?
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); }
13289 { (ac_try="$ac_compiler -v >&5"
13290 case "(($ac_try" in
13291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13292 *) ac_try_echo=$ac_try;;
13293 esac
13294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13295 (eval "$ac_compiler -v >&5") 2>&5
13296 ac_status=$?
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }
13299 { (ac_try="$ac_compiler -V >&5"
13300 case "(($ac_try" in
13301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13302 *) ac_try_echo=$ac_try;;
13303 esac
13304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13305 (eval "$ac_compiler -V >&5") 2>&5
13306 ac_status=$?
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); }
13309
13310 cat >conftest.$ac_ext <<_ACEOF
13311 /* confdefs.h. */
13312 _ACEOF
13313 cat confdefs.h >>conftest.$ac_ext
13314 cat >>conftest.$ac_ext <<_ACEOF
13315 /* end confdefs.h. */
13316
13317 int
13318 main ()
13319 {
13320
13321 ;
13322 return 0;
13323 }
13324 _ACEOF
13325 ac_clean_files_save=$ac_clean_files
13326 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13327 # Try to create an executable without -o first, disregard a.out.
13328 # It will help us diagnose broken compilers, and finding out an intuition
13329 # of exeext.
13330 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13331 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13332 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13333 #
13334 # List of possible output files, starting from the most likely.
13335 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13336 # only as a last resort. b.out is created by i960 compilers.
13337 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13338 #
13339 # The IRIX 6 linker writes into existing files which may not be
13340 # executable, retaining their permissions. Remove them first so a
13341 # subsequent execution test works.
13342 ac_rmfiles=
13343 for ac_file in $ac_files
13344 do
13345 case $ac_file in
13346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13347 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13348 esac
13349 done
13350 rm -f $ac_rmfiles
13351
13352 if { (ac_try="$ac_link_default"
13353 case "(($ac_try" in
13354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13355 *) ac_try_echo=$ac_try;;
13356 esac
13357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13358 (eval "$ac_link_default") 2>&5
13359 ac_status=$?
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; then
13362 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13363 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13364 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13365 # so that the user can short-circuit this test for compilers unknown to
13366 # Autoconf.
13367 for ac_file in $ac_files ''
13368 do
13369 test -f "$ac_file" || continue
13370 case $ac_file in
13371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13372 ;;
13373 [ab].out )
13374 # We found the default executable, but exeext='' is most
13375 # certainly right.
13376 break;;
13377 *.* )
13378 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13379 then :; else
13380 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13381 fi
13382 # We set ac_cv_exeext here because the later test for it is not
13383 # safe: cross compilers may not add the suffix if given an `-o'
13384 # argument, so we may need to know it at that point already.
13385 # Even if this section looks crufty: it has the advantage of
13386 # actually working.
13387 break;;
13388 * )
13389 break;;
13390 esac
13391 done
13392 test "$ac_cv_exeext" = no && ac_cv_exeext=
13393
13394 else
13395 ac_file=''
13396 fi
13397
13398 { echo "$as_me:$LINENO: result: $ac_file" >&5
13399 echo "${ECHO_T}$ac_file" >&6; }
13400 if test -z "$ac_file"; then
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.$ac_ext >&5
13403
13404 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13405 See \`config.log' for more details." >&5
13406 echo "$as_me: error: C compiler cannot create executables
13407 See \`config.log' for more details." >&2;}
13408 { (exit 77); exit 77; }; }
13409 fi
13410
13411 ac_exeext=$ac_cv_exeext
13412
13413 # Check that the compiler produces executables we can run. If not, either
13414 # the compiler is broken, or we cross compile.
13415 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13416 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13417 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13418 # If not cross compiling, check that we can run a simple program.
13419 if test "$cross_compiling" != yes; then
13420 if { ac_try='./$ac_file'
13421 { (case "(($ac_try" in
13422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13423 *) ac_try_echo=$ac_try;;
13424 esac
13425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13426 (eval "$ac_try") 2>&5
13427 ac_status=$?
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; }; then
13430 cross_compiling=no
13431 else
13432 if test "$cross_compiling" = maybe; then
13433 cross_compiling=yes
13434 else
13435 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13436 If you meant to cross compile, use \`--host'.
13437 See \`config.log' for more details." >&5
13438 echo "$as_me: error: cannot run C compiled programs.
13439 If you meant to cross compile, use \`--host'.
13440 See \`config.log' for more details." >&2;}
13441 { (exit 1); exit 1; }; }
13442 fi
13443 fi
13444 fi
13445 { echo "$as_me:$LINENO: result: yes" >&5
13446 echo "${ECHO_T}yes" >&6; }
13447
13448 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13449 ac_clean_files=$ac_clean_files_save
13450 # Check that the compiler produces executables we can run. If not, either
13451 # the compiler is broken, or we cross compile.
13452 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13453 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13454 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13455 echo "${ECHO_T}$cross_compiling" >&6; }
13456
13457 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13458 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13459 if { (ac_try="$ac_link"
13460 case "(($ac_try" in
13461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13462 *) ac_try_echo=$ac_try;;
13463 esac
13464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13465 (eval "$ac_link") 2>&5
13466 ac_status=$?
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); }; then
13469 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13470 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13471 # work properly (i.e., refer to `conftest.exe'), while it won't with
13472 # `rm'.
13473 for ac_file in conftest.exe conftest conftest.*; do
13474 test -f "$ac_file" || continue
13475 case $ac_file in
13476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13477 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13478 break;;
13479 * ) break;;
13480 esac
13481 done
13482 else
13483 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13484 See \`config.log' for more details." >&5
13485 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13486 See \`config.log' for more details." >&2;}
13487 { (exit 1); exit 1; }; }
13488 fi
13489
13490 rm -f conftest$ac_cv_exeext
13491 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13492 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13493
13494 rm -f conftest.$ac_ext
13495 EXEEXT=$ac_cv_exeext
13496 ac_exeext=$EXEEXT
13497 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13498 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13499 if test "${ac_cv_objext+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 else
13502 cat >conftest.$ac_ext <<_ACEOF
13503 /* confdefs.h. */
13504 _ACEOF
13505 cat confdefs.h >>conftest.$ac_ext
13506 cat >>conftest.$ac_ext <<_ACEOF
13507 /* end confdefs.h. */
13508
13509 int
13510 main ()
13511 {
13512
13513 ;
13514 return 0;
13515 }
13516 _ACEOF
13517 rm -f conftest.o conftest.obj
13518 if { (ac_try="$ac_compile"
13519 case "(($ac_try" in
13520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13521 *) ac_try_echo=$ac_try;;
13522 esac
13523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13524 (eval "$ac_compile") 2>&5
13525 ac_status=$?
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); }; then
13528 for ac_file in conftest.o conftest.obj conftest.*; do
13529 test -f "$ac_file" || continue;
13530 case $ac_file in
13531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13532 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13533 break;;
13534 esac
13535 done
13536 else
13537 echo "$as_me: failed program was:" >&5
13538 sed 's/^/| /' conftest.$ac_ext >&5
13539
13540 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13541 See \`config.log' for more details." >&5
13542 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13543 See \`config.log' for more details." >&2;}
13544 { (exit 1); exit 1; }; }
13545 fi
13546
13547 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13548 fi
13549 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13550 echo "${ECHO_T}$ac_cv_objext" >&6; }
13551 OBJEXT=$ac_cv_objext
13552 ac_objext=$OBJEXT
13553 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13554 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13555 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13556 echo $ECHO_N "(cached) $ECHO_C" >&6
13557 else
13558 cat >conftest.$ac_ext <<_ACEOF
13559 /* confdefs.h. */
13560 _ACEOF
13561 cat confdefs.h >>conftest.$ac_ext
13562 cat >>conftest.$ac_ext <<_ACEOF
13563 /* end confdefs.h. */
13564
13565 int
13566 main ()
13567 {
13568 #ifndef __GNUC__
13569 choke me
13570 #endif
13571
13572 ;
13573 return 0;
13574 }
13575 _ACEOF
13576 rm -f conftest.$ac_objext
13577 if { (ac_try="$ac_compile"
13578 case "(($ac_try" in
13579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13580 *) ac_try_echo=$ac_try;;
13581 esac
13582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13583 (eval "$ac_compile") 2>conftest.er1
13584 ac_status=$?
13585 grep -v '^ *+' conftest.er1 >conftest.err
13586 rm -f conftest.er1
13587 cat conftest.err >&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); } && {
13590 test -z "$ac_c_werror_flag" ||
13591 test ! -s conftest.err
13592 } && test -s conftest.$ac_objext; then
13593 ac_compiler_gnu=yes
13594 else
13595 echo "$as_me: failed program was:" >&5
13596 sed 's/^/| /' conftest.$ac_ext >&5
13597
13598 ac_compiler_gnu=no
13599 fi
13600
13601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13602 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13603
13604 fi
13605 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13606 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13607 GCC=`test $ac_compiler_gnu = yes && echo yes`
13608 ac_test_CFLAGS=${CFLAGS+set}
13609 ac_save_CFLAGS=$CFLAGS
13610 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13611 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13612 if test "${ac_cv_prog_cc_g+set}" = set; then
13613 echo $ECHO_N "(cached) $ECHO_C" >&6
13614 else
13615 ac_save_c_werror_flag=$ac_c_werror_flag
13616 ac_c_werror_flag=yes
13617 ac_cv_prog_cc_g=no
13618 CFLAGS="-g"
13619 cat >conftest.$ac_ext <<_ACEOF
13620 /* confdefs.h. */
13621 _ACEOF
13622 cat confdefs.h >>conftest.$ac_ext
13623 cat >>conftest.$ac_ext <<_ACEOF
13624 /* end confdefs.h. */
13625
13626 int
13627 main ()
13628 {
13629
13630 ;
13631 return 0;
13632 }
13633 _ACEOF
13634 rm -f conftest.$ac_objext
13635 if { (ac_try="$ac_compile"
13636 case "(($ac_try" in
13637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13638 *) ac_try_echo=$ac_try;;
13639 esac
13640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13641 (eval "$ac_compile") 2>conftest.er1
13642 ac_status=$?
13643 grep -v '^ *+' conftest.er1 >conftest.err
13644 rm -f conftest.er1
13645 cat conftest.err >&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); } && {
13648 test -z "$ac_c_werror_flag" ||
13649 test ! -s conftest.err
13650 } && test -s conftest.$ac_objext; then
13651 ac_cv_prog_cc_g=yes
13652 else
13653 echo "$as_me: failed program was:" >&5
13654 sed 's/^/| /' conftest.$ac_ext >&5
13655
13656 CFLAGS=""
13657 cat >conftest.$ac_ext <<_ACEOF
13658 /* confdefs.h. */
13659 _ACEOF
13660 cat confdefs.h >>conftest.$ac_ext
13661 cat >>conftest.$ac_ext <<_ACEOF
13662 /* end confdefs.h. */
13663
13664 int
13665 main ()
13666 {
13667
13668 ;
13669 return 0;
13670 }
13671 _ACEOF
13672 rm -f conftest.$ac_objext
13673 if { (ac_try="$ac_compile"
13674 case "(($ac_try" in
13675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13676 *) ac_try_echo=$ac_try;;
13677 esac
13678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13679 (eval "$ac_compile") 2>conftest.er1
13680 ac_status=$?
13681 grep -v '^ *+' conftest.er1 >conftest.err
13682 rm -f conftest.er1
13683 cat conftest.err >&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); } && {
13686 test -z "$ac_c_werror_flag" ||
13687 test ! -s conftest.err
13688 } && test -s conftest.$ac_objext; then
13689 :
13690 else
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13693
13694 ac_c_werror_flag=$ac_save_c_werror_flag
13695 CFLAGS="-g"
13696 cat >conftest.$ac_ext <<_ACEOF
13697 /* confdefs.h. */
13698 _ACEOF
13699 cat confdefs.h >>conftest.$ac_ext
13700 cat >>conftest.$ac_ext <<_ACEOF
13701 /* end confdefs.h. */
13702
13703 int
13704 main ()
13705 {
13706
13707 ;
13708 return 0;
13709 }
13710 _ACEOF
13711 rm -f conftest.$ac_objext
13712 if { (ac_try="$ac_compile"
13713 case "(($ac_try" in
13714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13715 *) ac_try_echo=$ac_try;;
13716 esac
13717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13718 (eval "$ac_compile") 2>conftest.er1
13719 ac_status=$?
13720 grep -v '^ *+' conftest.er1 >conftest.err
13721 rm -f conftest.er1
13722 cat conftest.err >&5
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); } && {
13725 test -z "$ac_c_werror_flag" ||
13726 test ! -s conftest.err
13727 } && test -s conftest.$ac_objext; then
13728 ac_cv_prog_cc_g=yes
13729 else
13730 echo "$as_me: failed program was:" >&5
13731 sed 's/^/| /' conftest.$ac_ext >&5
13732
13733
13734 fi
13735
13736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13737 fi
13738
13739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13740 fi
13741
13742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13743 ac_c_werror_flag=$ac_save_c_werror_flag
13744 fi
13745 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13746 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13747 if test "$ac_test_CFLAGS" = set; then
13748 CFLAGS=$ac_save_CFLAGS
13749 elif test $ac_cv_prog_cc_g = yes; then
13750 if test "$GCC" = yes; then
13751 CFLAGS="-g -O2"
13752 else
13753 CFLAGS="-g"
13754 fi
13755 else
13756 if test "$GCC" = yes; then
13757 CFLAGS="-O2"
13758 else
13759 CFLAGS=
13760 fi
13761 fi
13762 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13763 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13764 if test "${ac_cv_prog_cc_c89+set}" = set; then
13765 echo $ECHO_N "(cached) $ECHO_C" >&6
13766 else
13767 ac_cv_prog_cc_c89=no
13768 ac_save_CC=$CC
13769 cat >conftest.$ac_ext <<_ACEOF
13770 /* confdefs.h. */
13771 _ACEOF
13772 cat confdefs.h >>conftest.$ac_ext
13773 cat >>conftest.$ac_ext <<_ACEOF
13774 /* end confdefs.h. */
13775 #include <stdarg.h>
13776 #include <stdio.h>
13777 #include <sys/types.h>
13778 #include <sys/stat.h>
13779 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13780 struct buf { int x; };
13781 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13782 static char *e (p, i)
13783 char **p;
13784 int i;
13785 {
13786 return p[i];
13787 }
13788 static char *f (char * (*g) (char **, int), char **p, ...)
13789 {
13790 char *s;
13791 va_list v;
13792 va_start (v,p);
13793 s = g (p, va_arg (v,int));
13794 va_end (v);
13795 return s;
13796 }
13797
13798 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13799 function prototypes and stuff, but not '\xHH' hex character constants.
13800 These don't provoke an error unfortunately, instead are silently treated
13801 as 'x'. The following induces an error, until -std is added to get
13802 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13803 array size at least. It's necessary to write '\x00'==0 to get something
13804 that's true only with -std. */
13805 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13806
13807 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13808 inside strings and character constants. */
13809 #define FOO(x) 'x'
13810 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13811
13812 int test (int i, double x);
13813 struct s1 {int (*f) (int a);};
13814 struct s2 {int (*f) (double a);};
13815 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13816 int argc;
13817 char **argv;
13818 int
13819 main ()
13820 {
13821 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13822 ;
13823 return 0;
13824 }
13825 _ACEOF
13826 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13827 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13828 do
13829 CC="$ac_save_CC $ac_arg"
13830 rm -f conftest.$ac_objext
13831 if { (ac_try="$ac_compile"
13832 case "(($ac_try" in
13833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13834 *) ac_try_echo=$ac_try;;
13835 esac
13836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13837 (eval "$ac_compile") 2>conftest.er1
13838 ac_status=$?
13839 grep -v '^ *+' conftest.er1 >conftest.err
13840 rm -f conftest.er1
13841 cat conftest.err >&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } && {
13844 test -z "$ac_c_werror_flag" ||
13845 test ! -s conftest.err
13846 } && test -s conftest.$ac_objext; then
13847 ac_cv_prog_cc_c89=$ac_arg
13848 else
13849 echo "$as_me: failed program was:" >&5
13850 sed 's/^/| /' conftest.$ac_ext >&5
13851
13852
13853 fi
13854
13855 rm -f core conftest.err conftest.$ac_objext
13856 test "x$ac_cv_prog_cc_c89" != "xno" && break
13857 done
13858 rm -f conftest.$ac_ext
13859 CC=$ac_save_CC
13860
13861 fi
13862 # AC_CACHE_VAL
13863 case "x$ac_cv_prog_cc_c89" in
13864 x)
13865 { echo "$as_me:$LINENO: result: none needed" >&5
13866 echo "${ECHO_T}none needed" >&6; } ;;
13867 xno)
13868 { echo "$as_me:$LINENO: result: unsupported" >&5
13869 echo "${ECHO_T}unsupported" >&6; } ;;
13870 *)
13871 CC="$CC $ac_cv_prog_cc_c89"
13872 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13873 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13874 esac
13875
13876
13877 ac_ext=c
13878 ac_cpp='$CPP $CPPFLAGS'
13879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13882
13883
13884
13885 ac_ext=c
13886 ac_cpp='$CPP $CPPFLAGS'
13887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13890
13891 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13892 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13893 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13895 else
13896 cat >conftest.$ac_ext <<_ACEOF
13897 /* confdefs.h. */
13898 _ACEOF
13899 cat confdefs.h >>conftest.$ac_ext
13900 cat >>conftest.$ac_ext <<_ACEOF
13901 /* end confdefs.h. */
13902
13903 int
13904 main ()
13905 {
13906
13907 #ifndef __INTEL_COMPILER
13908 choke me
13909 #endif
13910
13911 ;
13912 return 0;
13913 }
13914 _ACEOF
13915 rm -f conftest.$ac_objext
13916 if { (ac_try="$ac_compile"
13917 case "(($ac_try" in
13918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13919 *) ac_try_echo=$ac_try;;
13920 esac
13921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13922 (eval "$ac_compile") 2>conftest.er1
13923 ac_status=$?
13924 grep -v '^ *+' conftest.er1 >conftest.err
13925 rm -f conftest.er1
13926 cat conftest.err >&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); } && {
13929 test -z "$ac_c_werror_flag" ||
13930 test ! -s conftest.err
13931 } && test -s conftest.$ac_objext; then
13932 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13933 else
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.$ac_ext >&5
13936
13937 bakefile_cv_c_compiler___INTEL_COMPILER=no
13938
13939 fi
13940
13941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13942
13943
13944 fi
13945 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13946 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13947 ac_ext=c
13948 ac_cpp='$CPP $CPPFLAGS'
13949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13952
13953 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13954 :; INTELCC=yes
13955 else
13956 :;
13957 fi
13958
13959
13960 if test "x$GCC" != "xyes"; then
13961 if test "xCC" = "xC"; then
13962 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13963 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13964 if test "${bakefile_cv_c_exto+set}" = set; then
13965 echo $ECHO_N "(cached) $ECHO_C" >&6
13966 else
13967 cat >conftest.$ac_ext <<_ACEOF
13968 /* confdefs.h. */
13969 _ACEOF
13970 cat confdefs.h >>conftest.$ac_ext
13971 cat >>conftest.$ac_ext <<_ACEOF
13972 /* end confdefs.h. */
13973
13974 int
13975 main ()
13976 {
13977
13978 ;
13979 return 0;
13980 }
13981 _ACEOF
13982 rm -f conftest.$ac_objext conftest.$ac_ext.o
13983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13984 (eval $ac_compile) 2>&5
13985 ac_status=$?
13986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 (exit $ac_status); }; then
13988 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13989 case $ac_file in
13990 conftest.$ac_ext.o)
13991 bakefile_cv_c_exto="-ext o"
13992 ;;
13993 *)
13994 ;;
13995 esac
13996 done
13997 else
13998 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13999 See \`config.log' for more details." >&5
14000 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14001 See \`config.log' for more details." >&2;}
14002 { (exit 1); exit 1; }; }
14003
14004 fi
14005
14006 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14007
14008 fi
14009 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14010 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14011 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14012 if test "c" = "c"; then
14013 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14014 fi
14015 if test "c" = "cxx"; then
14016 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14017 fi
14018 fi
14019
14020 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14021 unset ac_cv_prog_cc_g
14022 ac_test_CFLAGS=${CFLAGS+set}
14023 ac_save_CFLAGS=$CFLAGS
14024 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14025 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14026 if test "${ac_cv_prog_cc_g+set}" = set; then
14027 echo $ECHO_N "(cached) $ECHO_C" >&6
14028 else
14029 ac_save_c_werror_flag=$ac_c_werror_flag
14030 ac_c_werror_flag=yes
14031 ac_cv_prog_cc_g=no
14032 CFLAGS="-g"
14033 cat >conftest.$ac_ext <<_ACEOF
14034 /* confdefs.h. */
14035 _ACEOF
14036 cat confdefs.h >>conftest.$ac_ext
14037 cat >>conftest.$ac_ext <<_ACEOF
14038 /* end confdefs.h. */
14039
14040 int
14041 main ()
14042 {
14043
14044 ;
14045 return 0;
14046 }
14047 _ACEOF
14048 rm -f conftest.$ac_objext
14049 if { (ac_try="$ac_compile"
14050 case "(($ac_try" in
14051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14052 *) ac_try_echo=$ac_try;;
14053 esac
14054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14055 (eval "$ac_compile") 2>conftest.er1
14056 ac_status=$?
14057 grep -v '^ *+' conftest.er1 >conftest.err
14058 rm -f conftest.er1
14059 cat conftest.err >&5
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); } && {
14062 test -z "$ac_c_werror_flag" ||
14063 test ! -s conftest.err
14064 } && test -s conftest.$ac_objext; then
14065 ac_cv_prog_cc_g=yes
14066 else
14067 echo "$as_me: failed program was:" >&5
14068 sed 's/^/| /' conftest.$ac_ext >&5
14069
14070 CFLAGS=""
14071 cat >conftest.$ac_ext <<_ACEOF
14072 /* confdefs.h. */
14073 _ACEOF
14074 cat confdefs.h >>conftest.$ac_ext
14075 cat >>conftest.$ac_ext <<_ACEOF
14076 /* end confdefs.h. */
14077
14078 int
14079 main ()
14080 {
14081
14082 ;
14083 return 0;
14084 }
14085 _ACEOF
14086 rm -f conftest.$ac_objext
14087 if { (ac_try="$ac_compile"
14088 case "(($ac_try" in
14089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14090 *) ac_try_echo=$ac_try;;
14091 esac
14092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14093 (eval "$ac_compile") 2>conftest.er1
14094 ac_status=$?
14095 grep -v '^ *+' conftest.er1 >conftest.err
14096 rm -f conftest.er1
14097 cat conftest.err >&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); } && {
14100 test -z "$ac_c_werror_flag" ||
14101 test ! -s conftest.err
14102 } && test -s conftest.$ac_objext; then
14103 :
14104 else
14105 echo "$as_me: failed program was:" >&5
14106 sed 's/^/| /' conftest.$ac_ext >&5
14107
14108 ac_c_werror_flag=$ac_save_c_werror_flag
14109 CFLAGS="-g"
14110 cat >conftest.$ac_ext <<_ACEOF
14111 /* confdefs.h. */
14112 _ACEOF
14113 cat confdefs.h >>conftest.$ac_ext
14114 cat >>conftest.$ac_ext <<_ACEOF
14115 /* end confdefs.h. */
14116
14117 int
14118 main ()
14119 {
14120
14121 ;
14122 return 0;
14123 }
14124 _ACEOF
14125 rm -f conftest.$ac_objext
14126 if { (ac_try="$ac_compile"
14127 case "(($ac_try" in
14128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14129 *) ac_try_echo=$ac_try;;
14130 esac
14131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14132 (eval "$ac_compile") 2>conftest.er1
14133 ac_status=$?
14134 grep -v '^ *+' conftest.er1 >conftest.err
14135 rm -f conftest.er1
14136 cat conftest.err >&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); } && {
14139 test -z "$ac_c_werror_flag" ||
14140 test ! -s conftest.err
14141 } && test -s conftest.$ac_objext; then
14142 ac_cv_prog_cc_g=yes
14143 else
14144 echo "$as_me: failed program was:" >&5
14145 sed 's/^/| /' conftest.$ac_ext >&5
14146
14147
14148 fi
14149
14150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14151 fi
14152
14153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14154 fi
14155
14156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14157 ac_c_werror_flag=$ac_save_c_werror_flag
14158 fi
14159 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14160 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14161 if test "$ac_test_CFLAGS" = set; then
14162 CFLAGS=$ac_save_CFLAGS
14163 elif test $ac_cv_prog_cc_g = yes; then
14164 if test "$GCC" = yes; then
14165 CFLAGS="-g -O2"
14166 else
14167 CFLAGS="-g"
14168 fi
14169 else
14170 if test "$GCC" = yes; then
14171 CFLAGS="-O2"
14172 else
14173 CFLAGS=
14174 fi
14175 fi
14176 fi
14177 fi
14178
14179 case `uname -s` in
14180 AIX*)
14181 ac_ext=c
14182 ac_cpp='$CPP $CPPFLAGS'
14183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14186
14187 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14188 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14189 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14191 else
14192 cat >conftest.$ac_ext <<_ACEOF
14193 /* confdefs.h. */
14194 _ACEOF
14195 cat confdefs.h >>conftest.$ac_ext
14196 cat >>conftest.$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14198
14199 int
14200 main ()
14201 {
14202 #ifndef __xlC__
14203 choke me
14204 #endif
14205
14206 ;
14207 return 0;
14208 }
14209 _ACEOF
14210 rm -f conftest.$ac_objext
14211 if { (ac_try="$ac_compile"
14212 case "(($ac_try" in
14213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14214 *) ac_try_echo=$ac_try;;
14215 esac
14216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14217 (eval "$ac_compile") 2>conftest.er1
14218 ac_status=$?
14219 grep -v '^ *+' conftest.er1 >conftest.err
14220 rm -f conftest.er1
14221 cat conftest.err >&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); } && {
14224 test -z "$ac_c_werror_flag" ||
14225 test ! -s conftest.err
14226 } && test -s conftest.$ac_objext; then
14227 bakefile_compiler_xlc=yes
14228 else
14229 echo "$as_me: failed program was:" >&5
14230 sed 's/^/| /' conftest.$ac_ext >&5
14231
14232 bakefile_compiler_xlc=no
14233 fi
14234
14235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14236 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14237
14238 fi
14239 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14240 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14241
14242 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14243 ac_ext=c
14244 ac_cpp='$CPP $CPPFLAGS'
14245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14248
14249
14250 ;;
14251
14252 Darwin)
14253 ac_ext=c
14254 ac_cpp='$CPP $CPPFLAGS'
14255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14258
14259 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14260 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14261 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 else
14264 cat >conftest.$ac_ext <<_ACEOF
14265 /* confdefs.h. */
14266 _ACEOF
14267 cat confdefs.h >>conftest.$ac_ext
14268 cat >>conftest.$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14270
14271 int
14272 main ()
14273 {
14274 #ifndef __MWERKS__
14275 choke me
14276 #endif
14277
14278 ;
14279 return 0;
14280 }
14281 _ACEOF
14282 rm -f conftest.$ac_objext
14283 if { (ac_try="$ac_compile"
14284 case "(($ac_try" in
14285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14286 *) ac_try_echo=$ac_try;;
14287 esac
14288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14289 (eval "$ac_compile") 2>conftest.er1
14290 ac_status=$?
14291 grep -v '^ *+' conftest.er1 >conftest.err
14292 rm -f conftest.er1
14293 cat conftest.err >&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); } && {
14296 test -z "$ac_c_werror_flag" ||
14297 test ! -s conftest.err
14298 } && test -s conftest.$ac_objext; then
14299 bakefile_compiler_mwerks=yes
14300 else
14301 echo "$as_me: failed program was:" >&5
14302 sed 's/^/| /' conftest.$ac_ext >&5
14303
14304 bakefile_compiler_mwerks=no
14305 fi
14306
14307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14308 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14309
14310 fi
14311 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14312 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14313
14314 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14315 ac_ext=c
14316 ac_cpp='$CPP $CPPFLAGS'
14317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14320
14321
14322 ac_ext=c
14323 ac_cpp='$CPP $CPPFLAGS'
14324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14327
14328 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14329 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14330 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14331 echo $ECHO_N "(cached) $ECHO_C" >&6
14332 else
14333 cat >conftest.$ac_ext <<_ACEOF
14334 /* confdefs.h. */
14335 _ACEOF
14336 cat confdefs.h >>conftest.$ac_ext
14337 cat >>conftest.$ac_ext <<_ACEOF
14338 /* end confdefs.h. */
14339
14340 int
14341 main ()
14342 {
14343 #ifndef __xlC__
14344 choke me
14345 #endif
14346
14347 ;
14348 return 0;
14349 }
14350 _ACEOF
14351 rm -f conftest.$ac_objext
14352 if { (ac_try="$ac_compile"
14353 case "(($ac_try" in
14354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14355 *) ac_try_echo=$ac_try;;
14356 esac
14357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14358 (eval "$ac_compile") 2>conftest.er1
14359 ac_status=$?
14360 grep -v '^ *+' conftest.er1 >conftest.err
14361 rm -f conftest.er1
14362 cat conftest.err >&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); } && {
14365 test -z "$ac_c_werror_flag" ||
14366 test ! -s conftest.err
14367 } && test -s conftest.$ac_objext; then
14368 bakefile_compiler_xlc=yes
14369 else
14370 echo "$as_me: failed program was:" >&5
14371 sed 's/^/| /' conftest.$ac_ext >&5
14372
14373 bakefile_compiler_xlc=no
14374 fi
14375
14376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14377 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14378
14379 fi
14380 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14381 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14382
14383 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14384 ac_ext=c
14385 ac_cpp='$CPP $CPPFLAGS'
14386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14389
14390
14391 ;;
14392
14393 IRIX*)
14394
14395
14396 ac_ext=c
14397 ac_cpp='$CPP $CPPFLAGS'
14398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14401
14402 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14403 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14404 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14405 echo $ECHO_N "(cached) $ECHO_C" >&6
14406 else
14407 cat >conftest.$ac_ext <<_ACEOF
14408 /* confdefs.h. */
14409 _ACEOF
14410 cat confdefs.h >>conftest.$ac_ext
14411 cat >>conftest.$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14413
14414 int
14415 main ()
14416 {
14417
14418 #ifndef _SGI_COMPILER_VERSION
14419 choke me
14420 #endif
14421
14422 ;
14423 return 0;
14424 }
14425 _ACEOF
14426 rm -f conftest.$ac_objext
14427 if { (ac_try="$ac_compile"
14428 case "(($ac_try" in
14429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14430 *) ac_try_echo=$ac_try;;
14431 esac
14432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14433 (eval "$ac_compile") 2>conftest.er1
14434 ac_status=$?
14435 grep -v '^ *+' conftest.er1 >conftest.err
14436 rm -f conftest.er1
14437 cat conftest.err >&5
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); } && {
14440 test -z "$ac_c_werror_flag" ||
14441 test ! -s conftest.err
14442 } && test -s conftest.$ac_objext; then
14443 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14444 else
14445 echo "$as_me: failed program was:" >&5
14446 sed 's/^/| /' conftest.$ac_ext >&5
14447
14448 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14449
14450 fi
14451
14452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14453
14454
14455 fi
14456 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14457 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14458 ac_ext=c
14459 ac_cpp='$CPP $CPPFLAGS'
14460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14463
14464 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14465 :; SGICC=yes
14466 else
14467 :;
14468 fi
14469
14470
14471 ;;
14472
14473 HP-UX*)
14474
14475
14476 ac_ext=c
14477 ac_cpp='$CPP $CPPFLAGS'
14478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14481
14482 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14483 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14484 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14485 echo $ECHO_N "(cached) $ECHO_C" >&6
14486 else
14487 cat >conftest.$ac_ext <<_ACEOF
14488 /* confdefs.h. */
14489 _ACEOF
14490 cat confdefs.h >>conftest.$ac_ext
14491 cat >>conftest.$ac_ext <<_ACEOF
14492 /* end confdefs.h. */
14493
14494 int
14495 main ()
14496 {
14497
14498 #ifndef __HP_cc
14499 choke me
14500 #endif
14501
14502 ;
14503 return 0;
14504 }
14505 _ACEOF
14506 rm -f conftest.$ac_objext
14507 if { (ac_try="$ac_compile"
14508 case "(($ac_try" in
14509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14510 *) ac_try_echo=$ac_try;;
14511 esac
14512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14513 (eval "$ac_compile") 2>conftest.er1
14514 ac_status=$?
14515 grep -v '^ *+' conftest.er1 >conftest.err
14516 rm -f conftest.er1
14517 cat conftest.err >&5
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); } && {
14520 test -z "$ac_c_werror_flag" ||
14521 test ! -s conftest.err
14522 } && test -s conftest.$ac_objext; then
14523 bakefile_cv_c_compiler___HP_cc=yes
14524 else
14525 echo "$as_me: failed program was:" >&5
14526 sed 's/^/| /' conftest.$ac_ext >&5
14527
14528 bakefile_cv_c_compiler___HP_cc=no
14529
14530 fi
14531
14532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14533
14534
14535 fi
14536 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14537 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14538 ac_ext=c
14539 ac_cpp='$CPP $CPPFLAGS'
14540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14543
14544 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14545 :; HPCC=yes
14546 else
14547 :;
14548 fi
14549
14550
14551 ;;
14552
14553 OSF1)
14554
14555
14556 ac_ext=c
14557 ac_cpp='$CPP $CPPFLAGS'
14558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14561
14562 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14563 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14564 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 else
14567 cat >conftest.$ac_ext <<_ACEOF
14568 /* confdefs.h. */
14569 _ACEOF
14570 cat confdefs.h >>conftest.$ac_ext
14571 cat >>conftest.$ac_ext <<_ACEOF
14572 /* end confdefs.h. */
14573
14574 int
14575 main ()
14576 {
14577
14578 #ifndef __DECC
14579 choke me
14580 #endif
14581
14582 ;
14583 return 0;
14584 }
14585 _ACEOF
14586 rm -f conftest.$ac_objext
14587 if { (ac_try="$ac_compile"
14588 case "(($ac_try" in
14589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14590 *) ac_try_echo=$ac_try;;
14591 esac
14592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14593 (eval "$ac_compile") 2>conftest.er1
14594 ac_status=$?
14595 grep -v '^ *+' conftest.er1 >conftest.err
14596 rm -f conftest.er1
14597 cat conftest.err >&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); } && {
14600 test -z "$ac_c_werror_flag" ||
14601 test ! -s conftest.err
14602 } && test -s conftest.$ac_objext; then
14603 bakefile_cv_c_compiler___DECC=yes
14604 else
14605 echo "$as_me: failed program was:" >&5
14606 sed 's/^/| /' conftest.$ac_ext >&5
14607
14608 bakefile_cv_c_compiler___DECC=no
14609
14610 fi
14611
14612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14613
14614
14615 fi
14616 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14617 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14618 ac_ext=c
14619 ac_cpp='$CPP $CPPFLAGS'
14620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14623
14624 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14625 :; COMPAQCC=yes
14626 else
14627 :;
14628 fi
14629
14630
14631 ;;
14632
14633 SunOS)
14634
14635
14636 ac_ext=c
14637 ac_cpp='$CPP $CPPFLAGS'
14638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14641
14642 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14643 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14644 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14645 echo $ECHO_N "(cached) $ECHO_C" >&6
14646 else
14647 cat >conftest.$ac_ext <<_ACEOF
14648 /* confdefs.h. */
14649 _ACEOF
14650 cat confdefs.h >>conftest.$ac_ext
14651 cat >>conftest.$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14653
14654 int
14655 main ()
14656 {
14657
14658 #ifndef __SUNPRO_C
14659 choke me
14660 #endif
14661
14662 ;
14663 return 0;
14664 }
14665 _ACEOF
14666 rm -f conftest.$ac_objext
14667 if { (ac_try="$ac_compile"
14668 case "(($ac_try" in
14669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14670 *) ac_try_echo=$ac_try;;
14671 esac
14672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14673 (eval "$ac_compile") 2>conftest.er1
14674 ac_status=$?
14675 grep -v '^ *+' conftest.er1 >conftest.err
14676 rm -f conftest.er1
14677 cat conftest.err >&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); } && {
14680 test -z "$ac_c_werror_flag" ||
14681 test ! -s conftest.err
14682 } && test -s conftest.$ac_objext; then
14683 bakefile_cv_c_compiler___SUNPRO_C=yes
14684 else
14685 echo "$as_me: failed program was:" >&5
14686 sed 's/^/| /' conftest.$ac_ext >&5
14687
14688 bakefile_cv_c_compiler___SUNPRO_C=no
14689
14690 fi
14691
14692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14693
14694
14695 fi
14696 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14697 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14698 ac_ext=c
14699 ac_cpp='$CPP $CPPFLAGS'
14700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14703
14704 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14705 :; SUNCC=yes
14706 else
14707 :;
14708 fi
14709
14710
14711 ;;
14712 esac
14713 fi
14714
14715
14716
14717 ac_ext=c
14718 ac_cpp='$CPP $CPPFLAGS'
14719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14722 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14723 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14724 # On Suns, sometimes $CPP names a directory.
14725 if test -n "$CPP" && test -d "$CPP"; then
14726 CPP=
14727 fi
14728 if test -z "$CPP"; then
14729 if test "${ac_cv_prog_CPP+set}" = set; then
14730 echo $ECHO_N "(cached) $ECHO_C" >&6
14731 else
14732 # Double quotes because CPP needs to be expanded
14733 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14734 do
14735 ac_preproc_ok=false
14736 for ac_c_preproc_warn_flag in '' yes
14737 do
14738 # Use a header file that comes with gcc, so configuring glibc
14739 # with a fresh cross-compiler works.
14740 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14741 # <limits.h> exists even on freestanding compilers.
14742 # On the NeXT, cc -E runs the code through the compiler's parser,
14743 # not just through cpp. "Syntax error" is here to catch this case.
14744 cat >conftest.$ac_ext <<_ACEOF
14745 /* confdefs.h. */
14746 _ACEOF
14747 cat confdefs.h >>conftest.$ac_ext
14748 cat >>conftest.$ac_ext <<_ACEOF
14749 /* end confdefs.h. */
14750 #ifdef __STDC__
14751 # include <limits.h>
14752 #else
14753 # include <assert.h>
14754 #endif
14755 Syntax error
14756 _ACEOF
14757 if { (ac_try="$ac_cpp conftest.$ac_ext"
14758 case "(($ac_try" in
14759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14760 *) ac_try_echo=$ac_try;;
14761 esac
14762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14764 ac_status=$?
14765 grep -v '^ *+' conftest.er1 >conftest.err
14766 rm -f conftest.er1
14767 cat conftest.err >&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } >/dev/null && {
14770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14771 test ! -s conftest.err
14772 }; then
14773 :
14774 else
14775 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.$ac_ext >&5
14777
14778 # Broken: fails on valid input.
14779 continue
14780 fi
14781
14782 rm -f conftest.err conftest.$ac_ext
14783
14784 # OK, works on sane cases. Now check whether nonexistent headers
14785 # can be detected and how.
14786 cat >conftest.$ac_ext <<_ACEOF
14787 /* confdefs.h. */
14788 _ACEOF
14789 cat confdefs.h >>conftest.$ac_ext
14790 cat >>conftest.$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14792 #include <ac_nonexistent.h>
14793 _ACEOF
14794 if { (ac_try="$ac_cpp conftest.$ac_ext"
14795 case "(($ac_try" in
14796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14797 *) ac_try_echo=$ac_try;;
14798 esac
14799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14801 ac_status=$?
14802 grep -v '^ *+' conftest.er1 >conftest.err
14803 rm -f conftest.er1
14804 cat conftest.err >&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } >/dev/null && {
14807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14808 test ! -s conftest.err
14809 }; then
14810 # Broken: success on invalid input.
14811 continue
14812 else
14813 echo "$as_me: failed program was:" >&5
14814 sed 's/^/| /' conftest.$ac_ext >&5
14815
14816 # Passes both tests.
14817 ac_preproc_ok=:
14818 break
14819 fi
14820
14821 rm -f conftest.err conftest.$ac_ext
14822
14823 done
14824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14825 rm -f conftest.err conftest.$ac_ext
14826 if $ac_preproc_ok; then
14827 break
14828 fi
14829
14830 done
14831 ac_cv_prog_CPP=$CPP
14832
14833 fi
14834 CPP=$ac_cv_prog_CPP
14835 else
14836 ac_cv_prog_CPP=$CPP
14837 fi
14838 { echo "$as_me:$LINENO: result: $CPP" >&5
14839 echo "${ECHO_T}$CPP" >&6; }
14840 ac_preproc_ok=false
14841 for ac_c_preproc_warn_flag in '' yes
14842 do
14843 # Use a header file that comes with gcc, so configuring glibc
14844 # with a fresh cross-compiler works.
14845 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14846 # <limits.h> exists even on freestanding compilers.
14847 # On the NeXT, cc -E runs the code through the compiler's parser,
14848 # not just through cpp. "Syntax error" is here to catch this case.
14849 cat >conftest.$ac_ext <<_ACEOF
14850 /* confdefs.h. */
14851 _ACEOF
14852 cat confdefs.h >>conftest.$ac_ext
14853 cat >>conftest.$ac_ext <<_ACEOF
14854 /* end confdefs.h. */
14855 #ifdef __STDC__
14856 # include <limits.h>
14857 #else
14858 # include <assert.h>
14859 #endif
14860 Syntax error
14861 _ACEOF
14862 if { (ac_try="$ac_cpp conftest.$ac_ext"
14863 case "(($ac_try" in
14864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14865 *) ac_try_echo=$ac_try;;
14866 esac
14867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14868 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14869 ac_status=$?
14870 grep -v '^ *+' conftest.er1 >conftest.err
14871 rm -f conftest.er1
14872 cat conftest.err >&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } >/dev/null && {
14875 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14876 test ! -s conftest.err
14877 }; then
14878 :
14879 else
14880 echo "$as_me: failed program was:" >&5
14881 sed 's/^/| /' conftest.$ac_ext >&5
14882
14883 # Broken: fails on valid input.
14884 continue
14885 fi
14886
14887 rm -f conftest.err conftest.$ac_ext
14888
14889 # OK, works on sane cases. Now check whether nonexistent headers
14890 # can be detected and how.
14891 cat >conftest.$ac_ext <<_ACEOF
14892 /* confdefs.h. */
14893 _ACEOF
14894 cat confdefs.h >>conftest.$ac_ext
14895 cat >>conftest.$ac_ext <<_ACEOF
14896 /* end confdefs.h. */
14897 #include <ac_nonexistent.h>
14898 _ACEOF
14899 if { (ac_try="$ac_cpp conftest.$ac_ext"
14900 case "(($ac_try" in
14901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14902 *) ac_try_echo=$ac_try;;
14903 esac
14904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14905 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14906 ac_status=$?
14907 grep -v '^ *+' conftest.er1 >conftest.err
14908 rm -f conftest.er1
14909 cat conftest.err >&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } >/dev/null && {
14912 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14913 test ! -s conftest.err
14914 }; then
14915 # Broken: success on invalid input.
14916 continue
14917 else
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.$ac_ext >&5
14920
14921 # Passes both tests.
14922 ac_preproc_ok=:
14923 break
14924 fi
14925
14926 rm -f conftest.err conftest.$ac_ext
14927
14928 done
14929 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14930 rm -f conftest.err conftest.$ac_ext
14931 if $ac_preproc_ok; then
14932 :
14933 else
14934 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14935 See \`config.log' for more details." >&5
14936 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14937 See \`config.log' for more details." >&2;}
14938 { (exit 1); exit 1; }; }
14939 fi
14940
14941 ac_ext=c
14942 ac_cpp='$CPP $CPPFLAGS'
14943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14946
14947
14948 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14949 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14950 if test "${ac_cv_path_GREP+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14952 else
14953 # Extract the first word of "grep ggrep" to use in msg output
14954 if test -z "$GREP"; then
14955 set dummy grep ggrep; ac_prog_name=$2
14956 if test "${ac_cv_path_GREP+set}" = set; then
14957 echo $ECHO_N "(cached) $ECHO_C" >&6
14958 else
14959 ac_path_GREP_found=false
14960 # Loop through the user's path and test for each of PROGNAME-LIST
14961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14962 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14963 do
14964 IFS=$as_save_IFS
14965 test -z "$as_dir" && as_dir=.
14966 for ac_prog in grep ggrep; do
14967 for ac_exec_ext in '' $ac_executable_extensions; do
14968 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14969 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14970 # Check for GNU ac_path_GREP and select it if it is found.
14971 # Check for GNU $ac_path_GREP
14972 case `"$ac_path_GREP" --version 2>&1` in
14973 *GNU*)
14974 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14975 *)
14976 ac_count=0
14977 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14978 while :
14979 do
14980 cat "conftest.in" "conftest.in" >"conftest.tmp"
14981 mv "conftest.tmp" "conftest.in"
14982 cp "conftest.in" "conftest.nl"
14983 echo 'GREP' >> "conftest.nl"
14984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14986 ac_count=`expr $ac_count + 1`
14987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14988 # Best one so far, save it but keep looking for a better one
14989 ac_cv_path_GREP="$ac_path_GREP"
14990 ac_path_GREP_max=$ac_count
14991 fi
14992 # 10*(2^10) chars as input seems more than enough
14993 test $ac_count -gt 10 && break
14994 done
14995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14996 esac
14997
14998
14999 $ac_path_GREP_found && break 3
15000 done
15001 done
15002
15003 done
15004 IFS=$as_save_IFS
15005
15006
15007 fi
15008
15009 GREP="$ac_cv_path_GREP"
15010 if test -z "$GREP"; then
15011 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15012 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15013 { (exit 1); exit 1; }; }
15014 fi
15015
15016 else
15017 ac_cv_path_GREP=$GREP
15018 fi
15019
15020
15021 fi
15022 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15023 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15024 GREP="$ac_cv_path_GREP"
15025
15026
15027 { echo "$as_me:$LINENO: checking for egrep" >&5
15028 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15029 if test "${ac_cv_path_EGREP+set}" = set; then
15030 echo $ECHO_N "(cached) $ECHO_C" >&6
15031 else
15032 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15033 then ac_cv_path_EGREP="$GREP -E"
15034 else
15035 # Extract the first word of "egrep" to use in msg output
15036 if test -z "$EGREP"; then
15037 set dummy egrep; ac_prog_name=$2
15038 if test "${ac_cv_path_EGREP+set}" = set; then
15039 echo $ECHO_N "(cached) $ECHO_C" >&6
15040 else
15041 ac_path_EGREP_found=false
15042 # Loop through the user's path and test for each of PROGNAME-LIST
15043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15044 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15045 do
15046 IFS=$as_save_IFS
15047 test -z "$as_dir" && as_dir=.
15048 for ac_prog in egrep; do
15049 for ac_exec_ext in '' $ac_executable_extensions; do
15050 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15051 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15052 # Check for GNU ac_path_EGREP and select it if it is found.
15053 # Check for GNU $ac_path_EGREP
15054 case `"$ac_path_EGREP" --version 2>&1` in
15055 *GNU*)
15056 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15057 *)
15058 ac_count=0
15059 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15060 while :
15061 do
15062 cat "conftest.in" "conftest.in" >"conftest.tmp"
15063 mv "conftest.tmp" "conftest.in"
15064 cp "conftest.in" "conftest.nl"
15065 echo 'EGREP' >> "conftest.nl"
15066 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15067 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15068 ac_count=`expr $ac_count + 1`
15069 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15070 # Best one so far, save it but keep looking for a better one
15071 ac_cv_path_EGREP="$ac_path_EGREP"
15072 ac_path_EGREP_max=$ac_count
15073 fi
15074 # 10*(2^10) chars as input seems more than enough
15075 test $ac_count -gt 10 && break
15076 done
15077 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15078 esac
15079
15080
15081 $ac_path_EGREP_found && break 3
15082 done
15083 done
15084
15085 done
15086 IFS=$as_save_IFS
15087
15088
15089 fi
15090
15091 EGREP="$ac_cv_path_EGREP"
15092 if test -z "$EGREP"; then
15093 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15094 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15095 { (exit 1); exit 1; }; }
15096 fi
15097
15098 else
15099 ac_cv_path_EGREP=$EGREP
15100 fi
15101
15102
15103 fi
15104 fi
15105 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15106 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15107 EGREP="$ac_cv_path_EGREP"
15108
15109
15110 if test $ac_cv_c_compiler_gnu = yes; then
15111 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15112 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15113 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15114 echo $ECHO_N "(cached) $ECHO_C" >&6
15115 else
15116 ac_pattern="Autoconf.*'x'"
15117 cat >conftest.$ac_ext <<_ACEOF
15118 /* confdefs.h. */
15119 _ACEOF
15120 cat confdefs.h >>conftest.$ac_ext
15121 cat >>conftest.$ac_ext <<_ACEOF
15122 /* end confdefs.h. */
15123 #include <sgtty.h>
15124 Autoconf TIOCGETP
15125 _ACEOF
15126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15127 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15128 ac_cv_prog_gcc_traditional=yes
15129 else
15130 ac_cv_prog_gcc_traditional=no
15131 fi
15132 rm -f conftest*
15133
15134
15135 if test $ac_cv_prog_gcc_traditional = no; then
15136 cat >conftest.$ac_ext <<_ACEOF
15137 /* confdefs.h. */
15138 _ACEOF
15139 cat confdefs.h >>conftest.$ac_ext
15140 cat >>conftest.$ac_ext <<_ACEOF
15141 /* end confdefs.h. */
15142 #include <termio.h>
15143 Autoconf TCGETA
15144 _ACEOF
15145 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15146 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15147 ac_cv_prog_gcc_traditional=yes
15148 fi
15149 rm -f conftest*
15150
15151 fi
15152 fi
15153 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15154 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15155 if test $ac_cv_prog_gcc_traditional = yes; then
15156 CC="$CC -traditional"
15157 fi
15158 fi
15159
15160
15161 CXXFLAGS=${CXXFLAGS:=}
15162
15163
15164
15165 ac_ext=cpp
15166 ac_cpp='$CXXCPP $CPPFLAGS'
15167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15170 if test -z "$CXX"; then
15171 if test -n "$CCC"; then
15172 CXX=$CCC
15173 else
15174 if test -n "$ac_tool_prefix"; then
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_tool_prefix$ac_prog", so it can be a program name with args.
15178 set dummy $ac_tool_prefix$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_CXX+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 if test -n "$CXX"; then
15185 ac_cv_prog_CXX="$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_CXX="$ac_tool_prefix$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 CXX=$ac_cv_prog_CXX
15205 if test -n "$CXX"; then
15206 { echo "$as_me:$LINENO: result: $CXX" >&5
15207 echo "${ECHO_T}$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 "$CXX" && break
15215 done
15216 fi
15217 if test -z "$CXX"; then
15218 ac_ct_CXX=$CXX
15219 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15220 do
15221 # Extract the first word of "$ac_prog", so it can be a program name with args.
15222 set dummy $ac_prog; ac_word=$2
15223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15225 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15226 echo $ECHO_N "(cached) $ECHO_C" >&6
15227 else
15228 if test -n "$ac_ct_CXX"; then
15229 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15230 else
15231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15232 for as_dir in $PATH
15233 do
15234 IFS=$as_save_IFS
15235 test -z "$as_dir" && as_dir=.
15236 for ac_exec_ext in '' $ac_executable_extensions; do
15237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15238 ac_cv_prog_ac_ct_CXX="$ac_prog"
15239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15240 break 2
15241 fi
15242 done
15243 done
15244 IFS=$as_save_IFS
15245
15246 fi
15247 fi
15248 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15249 if test -n "$ac_ct_CXX"; then
15250 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15251 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15252 else
15253 { echo "$as_me:$LINENO: result: no" >&5
15254 echo "${ECHO_T}no" >&6; }
15255 fi
15256
15257
15258 test -n "$ac_ct_CXX" && break
15259 done
15260
15261 if test "x$ac_ct_CXX" = x; then
15262 CXX="g++"
15263 else
15264 case $cross_compiling:$ac_tool_warned in
15265 yes:)
15266 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15267 whose name does not start with the host triplet. If you think this
15268 configuration is useful to you, please write to autoconf@gnu.org." >&5
15269 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15270 whose name does not start with the host triplet. If you think this
15271 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15272 ac_tool_warned=yes ;;
15273 esac
15274 CXX=$ac_ct_CXX
15275 fi
15276 fi
15277
15278 fi
15279 fi
15280 # Provide some information about the compiler.
15281 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15282 ac_compiler=`set X $ac_compile; echo $2`
15283 { (ac_try="$ac_compiler --version >&5"
15284 case "(($ac_try" in
15285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15286 *) ac_try_echo=$ac_try;;
15287 esac
15288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15289 (eval "$ac_compiler --version >&5") 2>&5
15290 ac_status=$?
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }
15293 { (ac_try="$ac_compiler -v >&5"
15294 case "(($ac_try" in
15295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15296 *) ac_try_echo=$ac_try;;
15297 esac
15298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15299 (eval "$ac_compiler -v >&5") 2>&5
15300 ac_status=$?
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); }
15303 { (ac_try="$ac_compiler -V >&5"
15304 case "(($ac_try" in
15305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15306 *) ac_try_echo=$ac_try;;
15307 esac
15308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15309 (eval "$ac_compiler -V >&5") 2>&5
15310 ac_status=$?
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }
15313
15314 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15315 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15316 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15318 else
15319 cat >conftest.$ac_ext <<_ACEOF
15320 /* confdefs.h. */
15321 _ACEOF
15322 cat confdefs.h >>conftest.$ac_ext
15323 cat >>conftest.$ac_ext <<_ACEOF
15324 /* end confdefs.h. */
15325
15326 int
15327 main ()
15328 {
15329 #ifndef __GNUC__
15330 choke me
15331 #endif
15332
15333 ;
15334 return 0;
15335 }
15336 _ACEOF
15337 rm -f conftest.$ac_objext
15338 if { (ac_try="$ac_compile"
15339 case "(($ac_try" in
15340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15341 *) ac_try_echo=$ac_try;;
15342 esac
15343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15344 (eval "$ac_compile") 2>conftest.er1
15345 ac_status=$?
15346 grep -v '^ *+' conftest.er1 >conftest.err
15347 rm -f conftest.er1
15348 cat conftest.err >&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); } && {
15351 test -z "$ac_cxx_werror_flag" ||
15352 test ! -s conftest.err
15353 } && test -s conftest.$ac_objext; then
15354 ac_compiler_gnu=yes
15355 else
15356 echo "$as_me: failed program was:" >&5
15357 sed 's/^/| /' conftest.$ac_ext >&5
15358
15359 ac_compiler_gnu=no
15360 fi
15361
15362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15363 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15364
15365 fi
15366 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15367 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15368 GXX=`test $ac_compiler_gnu = yes && echo yes`
15369 ac_test_CXXFLAGS=${CXXFLAGS+set}
15370 ac_save_CXXFLAGS=$CXXFLAGS
15371 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15372 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15373 if test "${ac_cv_prog_cxx_g+set}" = set; then
15374 echo $ECHO_N "(cached) $ECHO_C" >&6
15375 else
15376 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15377 ac_cxx_werror_flag=yes
15378 ac_cv_prog_cxx_g=no
15379 CXXFLAGS="-g"
15380 cat >conftest.$ac_ext <<_ACEOF
15381 /* confdefs.h. */
15382 _ACEOF
15383 cat confdefs.h >>conftest.$ac_ext
15384 cat >>conftest.$ac_ext <<_ACEOF
15385 /* end confdefs.h. */
15386
15387 int
15388 main ()
15389 {
15390
15391 ;
15392 return 0;
15393 }
15394 _ACEOF
15395 rm -f conftest.$ac_objext
15396 if { (ac_try="$ac_compile"
15397 case "(($ac_try" in
15398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15399 *) ac_try_echo=$ac_try;;
15400 esac
15401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15402 (eval "$ac_compile") 2>conftest.er1
15403 ac_status=$?
15404 grep -v '^ *+' conftest.er1 >conftest.err
15405 rm -f conftest.er1
15406 cat conftest.err >&5
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); } && {
15409 test -z "$ac_cxx_werror_flag" ||
15410 test ! -s conftest.err
15411 } && test -s conftest.$ac_objext; then
15412 ac_cv_prog_cxx_g=yes
15413 else
15414 echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.$ac_ext >&5
15416
15417 CXXFLAGS=""
15418 cat >conftest.$ac_ext <<_ACEOF
15419 /* confdefs.h. */
15420 _ACEOF
15421 cat confdefs.h >>conftest.$ac_ext
15422 cat >>conftest.$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15424
15425 int
15426 main ()
15427 {
15428
15429 ;
15430 return 0;
15431 }
15432 _ACEOF
15433 rm -f conftest.$ac_objext
15434 if { (ac_try="$ac_compile"
15435 case "(($ac_try" in
15436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15437 *) ac_try_echo=$ac_try;;
15438 esac
15439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15440 (eval "$ac_compile") 2>conftest.er1
15441 ac_status=$?
15442 grep -v '^ *+' conftest.er1 >conftest.err
15443 rm -f conftest.er1
15444 cat conftest.err >&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); } && {
15447 test -z "$ac_cxx_werror_flag" ||
15448 test ! -s conftest.err
15449 } && test -s conftest.$ac_objext; then
15450 :
15451 else
15452 echo "$as_me: failed program was:" >&5
15453 sed 's/^/| /' conftest.$ac_ext >&5
15454
15455 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15456 CXXFLAGS="-g"
15457 cat >conftest.$ac_ext <<_ACEOF
15458 /* confdefs.h. */
15459 _ACEOF
15460 cat confdefs.h >>conftest.$ac_ext
15461 cat >>conftest.$ac_ext <<_ACEOF
15462 /* end confdefs.h. */
15463
15464 int
15465 main ()
15466 {
15467
15468 ;
15469 return 0;
15470 }
15471 _ACEOF
15472 rm -f conftest.$ac_objext
15473 if { (ac_try="$ac_compile"
15474 case "(($ac_try" in
15475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15476 *) ac_try_echo=$ac_try;;
15477 esac
15478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15479 (eval "$ac_compile") 2>conftest.er1
15480 ac_status=$?
15481 grep -v '^ *+' conftest.er1 >conftest.err
15482 rm -f conftest.er1
15483 cat conftest.err >&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } && {
15486 test -z "$ac_cxx_werror_flag" ||
15487 test ! -s conftest.err
15488 } && test -s conftest.$ac_objext; then
15489 ac_cv_prog_cxx_g=yes
15490 else
15491 echo "$as_me: failed program was:" >&5
15492 sed 's/^/| /' conftest.$ac_ext >&5
15493
15494
15495 fi
15496
15497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15498 fi
15499
15500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15501 fi
15502
15503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15504 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15505 fi
15506 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15507 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15508 if test "$ac_test_CXXFLAGS" = set; then
15509 CXXFLAGS=$ac_save_CXXFLAGS
15510 elif test $ac_cv_prog_cxx_g = yes; then
15511 if test "$GXX" = yes; then
15512 CXXFLAGS="-g -O2"
15513 else
15514 CXXFLAGS="-g"
15515 fi
15516 else
15517 if test "$GXX" = yes; then
15518 CXXFLAGS="-O2"
15519 else
15520 CXXFLAGS=
15521 fi
15522 fi
15523 ac_ext=c
15524 ac_cpp='$CPP $CPPFLAGS'
15525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15528
15529
15530
15531 ac_ext=cpp
15532 ac_cpp='$CXXCPP $CPPFLAGS'
15533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15536
15537 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15538 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15539 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15540 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 else
15542 cat >conftest.$ac_ext <<_ACEOF
15543 /* confdefs.h. */
15544 _ACEOF
15545 cat confdefs.h >>conftest.$ac_ext
15546 cat >>conftest.$ac_ext <<_ACEOF
15547 /* end confdefs.h. */
15548
15549 int
15550 main ()
15551 {
15552
15553 #ifndef __INTEL_COMPILER
15554 choke me
15555 #endif
15556
15557 ;
15558 return 0;
15559 }
15560 _ACEOF
15561 rm -f conftest.$ac_objext
15562 if { (ac_try="$ac_compile"
15563 case "(($ac_try" in
15564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15565 *) ac_try_echo=$ac_try;;
15566 esac
15567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15568 (eval "$ac_compile") 2>conftest.er1
15569 ac_status=$?
15570 grep -v '^ *+' conftest.er1 >conftest.err
15571 rm -f conftest.er1
15572 cat conftest.err >&5
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); } && {
15575 test -z "$ac_cxx_werror_flag" ||
15576 test ! -s conftest.err
15577 } && test -s conftest.$ac_objext; then
15578 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15579 else
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.$ac_ext >&5
15582
15583 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15584
15585 fi
15586
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15588
15589
15590 fi
15591 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15592 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15593 ac_ext=c
15594 ac_cpp='$CPP $CPPFLAGS'
15595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15598
15599 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15600 :; INTELCXX=yes
15601 else
15602 :;
15603 fi
15604
15605
15606 if test "x$GCXX" != "xyes"; then
15607 if test "xCXX" = "xC"; then
15608 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15609 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15610 if test "${bakefile_cv_c_exto+set}" = set; then
15611 echo $ECHO_N "(cached) $ECHO_C" >&6
15612 else
15613 cat >conftest.$ac_ext <<_ACEOF
15614 /* confdefs.h. */
15615 _ACEOF
15616 cat confdefs.h >>conftest.$ac_ext
15617 cat >>conftest.$ac_ext <<_ACEOF
15618 /* end confdefs.h. */
15619
15620 int
15621 main ()
15622 {
15623
15624 ;
15625 return 0;
15626 }
15627 _ACEOF
15628 rm -f conftest.$ac_objext conftest.$ac_ext.o
15629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15630 (eval $ac_compile) 2>&5
15631 ac_status=$?
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; then
15634 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15635 case $ac_file in
15636 conftest.$ac_ext.o)
15637 bakefile_cv_c_exto="-ext o"
15638 ;;
15639 *)
15640 ;;
15641 esac
15642 done
15643 else
15644 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15645 See \`config.log' for more details." >&5
15646 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15647 See \`config.log' for more details." >&2;}
15648 { (exit 1); exit 1; }; }
15649
15650 fi
15651
15652 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15653
15654 fi
15655 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15656 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15657 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15658 if test "c" = "c"; then
15659 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15660 fi
15661 if test "c" = "cxx"; then
15662 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15663 fi
15664 fi
15665
15666 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15667 unset ac_cv_prog_cc_g
15668 ac_test_CFLAGS=${CFLAGS+set}
15669 ac_save_CFLAGS=$CFLAGS
15670 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15671 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15672 if test "${ac_cv_prog_cc_g+set}" = set; then
15673 echo $ECHO_N "(cached) $ECHO_C" >&6
15674 else
15675 ac_save_c_werror_flag=$ac_c_werror_flag
15676 ac_c_werror_flag=yes
15677 ac_cv_prog_cc_g=no
15678 CFLAGS="-g"
15679 cat >conftest.$ac_ext <<_ACEOF
15680 /* confdefs.h. */
15681 _ACEOF
15682 cat confdefs.h >>conftest.$ac_ext
15683 cat >>conftest.$ac_ext <<_ACEOF
15684 /* end confdefs.h. */
15685
15686 int
15687 main ()
15688 {
15689
15690 ;
15691 return 0;
15692 }
15693 _ACEOF
15694 rm -f conftest.$ac_objext
15695 if { (ac_try="$ac_compile"
15696 case "(($ac_try" in
15697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15698 *) ac_try_echo=$ac_try;;
15699 esac
15700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15701 (eval "$ac_compile") 2>conftest.er1
15702 ac_status=$?
15703 grep -v '^ *+' conftest.er1 >conftest.err
15704 rm -f conftest.er1
15705 cat conftest.err >&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } && {
15708 test -z "$ac_c_werror_flag" ||
15709 test ! -s conftest.err
15710 } && test -s conftest.$ac_objext; then
15711 ac_cv_prog_cc_g=yes
15712 else
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15715
15716 CFLAGS=""
15717 cat >conftest.$ac_ext <<_ACEOF
15718 /* confdefs.h. */
15719 _ACEOF
15720 cat confdefs.h >>conftest.$ac_ext
15721 cat >>conftest.$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15723
15724 int
15725 main ()
15726 {
15727
15728 ;
15729 return 0;
15730 }
15731 _ACEOF
15732 rm -f conftest.$ac_objext
15733 if { (ac_try="$ac_compile"
15734 case "(($ac_try" in
15735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15736 *) ac_try_echo=$ac_try;;
15737 esac
15738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15739 (eval "$ac_compile") 2>conftest.er1
15740 ac_status=$?
15741 grep -v '^ *+' conftest.er1 >conftest.err
15742 rm -f conftest.er1
15743 cat conftest.err >&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); } && {
15746 test -z "$ac_c_werror_flag" ||
15747 test ! -s conftest.err
15748 } && test -s conftest.$ac_objext; then
15749 :
15750 else
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15753
15754 ac_c_werror_flag=$ac_save_c_werror_flag
15755 CFLAGS="-g"
15756 cat >conftest.$ac_ext <<_ACEOF
15757 /* confdefs.h. */
15758 _ACEOF
15759 cat confdefs.h >>conftest.$ac_ext
15760 cat >>conftest.$ac_ext <<_ACEOF
15761 /* end confdefs.h. */
15762
15763 int
15764 main ()
15765 {
15766
15767 ;
15768 return 0;
15769 }
15770 _ACEOF
15771 rm -f conftest.$ac_objext
15772 if { (ac_try="$ac_compile"
15773 case "(($ac_try" in
15774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15775 *) ac_try_echo=$ac_try;;
15776 esac
15777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15778 (eval "$ac_compile") 2>conftest.er1
15779 ac_status=$?
15780 grep -v '^ *+' conftest.er1 >conftest.err
15781 rm -f conftest.er1
15782 cat conftest.err >&5
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); } && {
15785 test -z "$ac_c_werror_flag" ||
15786 test ! -s conftest.err
15787 } && test -s conftest.$ac_objext; then
15788 ac_cv_prog_cc_g=yes
15789 else
15790 echo "$as_me: failed program was:" >&5
15791 sed 's/^/| /' conftest.$ac_ext >&5
15792
15793
15794 fi
15795
15796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15797 fi
15798
15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15800 fi
15801
15802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15803 ac_c_werror_flag=$ac_save_c_werror_flag
15804 fi
15805 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15806 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15807 if test "$ac_test_CFLAGS" = set; then
15808 CFLAGS=$ac_save_CFLAGS
15809 elif test $ac_cv_prog_cc_g = yes; then
15810 if test "$GCC" = yes; then
15811 CFLAGS="-g -O2"
15812 else
15813 CFLAGS="-g"
15814 fi
15815 else
15816 if test "$GCC" = yes; then
15817 CFLAGS="-O2"
15818 else
15819 CFLAGS=
15820 fi
15821 fi
15822 fi
15823 fi
15824
15825 case `uname -s` in
15826 AIX*)
15827 ac_ext=cpp
15828 ac_cpp='$CXXCPP $CPPFLAGS'
15829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15832
15833 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15834 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15835 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15836 echo $ECHO_N "(cached) $ECHO_C" >&6
15837 else
15838 cat >conftest.$ac_ext <<_ACEOF
15839 /* confdefs.h. */
15840 _ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15844
15845 int
15846 main ()
15847 {
15848 #ifndef __xlC__
15849 choke me
15850 #endif
15851
15852 ;
15853 return 0;
15854 }
15855 _ACEOF
15856 rm -f conftest.$ac_objext
15857 if { (ac_try="$ac_compile"
15858 case "(($ac_try" in
15859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15860 *) ac_try_echo=$ac_try;;
15861 esac
15862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15863 (eval "$ac_compile") 2>conftest.er1
15864 ac_status=$?
15865 grep -v '^ *+' conftest.er1 >conftest.err
15866 rm -f conftest.er1
15867 cat conftest.err >&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); } && {
15870 test -z "$ac_cxx_werror_flag" ||
15871 test ! -s conftest.err
15872 } && test -s conftest.$ac_objext; then
15873 bakefile_compiler_xlc=yes
15874 else
15875 echo "$as_me: failed program was:" >&5
15876 sed 's/^/| /' conftest.$ac_ext >&5
15877
15878 bakefile_compiler_xlc=no
15879 fi
15880
15881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15882 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15883
15884 fi
15885 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15886 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15887
15888 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15889 ac_ext=c
15890 ac_cpp='$CPP $CPPFLAGS'
15891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15894
15895
15896 ;;
15897
15898 Darwin)
15899 ac_ext=cpp
15900 ac_cpp='$CXXCPP $CPPFLAGS'
15901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15904
15905 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15906 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15907 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15908 echo $ECHO_N "(cached) $ECHO_C" >&6
15909 else
15910 cat >conftest.$ac_ext <<_ACEOF
15911 /* confdefs.h. */
15912 _ACEOF
15913 cat confdefs.h >>conftest.$ac_ext
15914 cat >>conftest.$ac_ext <<_ACEOF
15915 /* end confdefs.h. */
15916
15917 int
15918 main ()
15919 {
15920 #ifndef __MWERKS__
15921 choke me
15922 #endif
15923
15924 ;
15925 return 0;
15926 }
15927 _ACEOF
15928 rm -f conftest.$ac_objext
15929 if { (ac_try="$ac_compile"
15930 case "(($ac_try" in
15931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15932 *) ac_try_echo=$ac_try;;
15933 esac
15934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15935 (eval "$ac_compile") 2>conftest.er1
15936 ac_status=$?
15937 grep -v '^ *+' conftest.er1 >conftest.err
15938 rm -f conftest.er1
15939 cat conftest.err >&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } && {
15942 test -z "$ac_cxx_werror_flag" ||
15943 test ! -s conftest.err
15944 } && test -s conftest.$ac_objext; then
15945 bakefile_compiler_mwerks=yes
15946 else
15947 echo "$as_me: failed program was:" >&5
15948 sed 's/^/| /' conftest.$ac_ext >&5
15949
15950 bakefile_compiler_mwerks=no
15951 fi
15952
15953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15954 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15955
15956 fi
15957 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15958 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15959
15960 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15961 ac_ext=c
15962 ac_cpp='$CPP $CPPFLAGS'
15963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15966
15967
15968 ac_ext=cpp
15969 ac_cpp='$CXXCPP $CPPFLAGS'
15970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15973
15974 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15975 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15976 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 else
15979 cat >conftest.$ac_ext <<_ACEOF
15980 /* confdefs.h. */
15981 _ACEOF
15982 cat confdefs.h >>conftest.$ac_ext
15983 cat >>conftest.$ac_ext <<_ACEOF
15984 /* end confdefs.h. */
15985
15986 int
15987 main ()
15988 {
15989 #ifndef __xlC__
15990 choke me
15991 #endif
15992
15993 ;
15994 return 0;
15995 }
15996 _ACEOF
15997 rm -f conftest.$ac_objext
15998 if { (ac_try="$ac_compile"
15999 case "(($ac_try" in
16000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16001 *) ac_try_echo=$ac_try;;
16002 esac
16003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16004 (eval "$ac_compile") 2>conftest.er1
16005 ac_status=$?
16006 grep -v '^ *+' conftest.er1 >conftest.err
16007 rm -f conftest.er1
16008 cat conftest.err >&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); } && {
16011 test -z "$ac_cxx_werror_flag" ||
16012 test ! -s conftest.err
16013 } && test -s conftest.$ac_objext; then
16014 bakefile_compiler_xlc=yes
16015 else
16016 echo "$as_me: failed program was:" >&5
16017 sed 's/^/| /' conftest.$ac_ext >&5
16018
16019 bakefile_compiler_xlc=no
16020 fi
16021
16022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16023 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
16024
16025 fi
16026 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16027 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16028
16029 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16030 ac_ext=c
16031 ac_cpp='$CPP $CPPFLAGS'
16032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16035
16036
16037 ;;
16038
16039 IRIX*)
16040
16041
16042 ac_ext=cpp
16043 ac_cpp='$CXXCPP $CPPFLAGS'
16044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16047
16048 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16049 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16050 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16051 echo $ECHO_N "(cached) $ECHO_C" >&6
16052 else
16053 cat >conftest.$ac_ext <<_ACEOF
16054 /* confdefs.h. */
16055 _ACEOF
16056 cat confdefs.h >>conftest.$ac_ext
16057 cat >>conftest.$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16059
16060 int
16061 main ()
16062 {
16063
16064 #ifndef _SGI_COMPILER_VERSION
16065 choke me
16066 #endif
16067
16068 ;
16069 return 0;
16070 }
16071 _ACEOF
16072 rm -f conftest.$ac_objext
16073 if { (ac_try="$ac_compile"
16074 case "(($ac_try" in
16075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16076 *) ac_try_echo=$ac_try;;
16077 esac
16078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16079 (eval "$ac_compile") 2>conftest.er1
16080 ac_status=$?
16081 grep -v '^ *+' conftest.er1 >conftest.err
16082 rm -f conftest.er1
16083 cat conftest.err >&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); } && {
16086 test -z "$ac_cxx_werror_flag" ||
16087 test ! -s conftest.err
16088 } && test -s conftest.$ac_objext; then
16089 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16090 else
16091 echo "$as_me: failed program was:" >&5
16092 sed 's/^/| /' conftest.$ac_ext >&5
16093
16094 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16095
16096 fi
16097
16098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16099
16100
16101 fi
16102 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16103 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16104 ac_ext=c
16105 ac_cpp='$CPP $CPPFLAGS'
16106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16109
16110 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16111 :; SGICXX=yes
16112 else
16113 :;
16114 fi
16115
16116
16117 ;;
16118
16119 HP-UX*)
16120
16121
16122 ac_ext=cpp
16123 ac_cpp='$CXXCPP $CPPFLAGS'
16124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16127
16128 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16129 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16130 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16131 echo $ECHO_N "(cached) $ECHO_C" >&6
16132 else
16133 cat >conftest.$ac_ext <<_ACEOF
16134 /* confdefs.h. */
16135 _ACEOF
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16139
16140 int
16141 main ()
16142 {
16143
16144 #ifndef __HP_aCC
16145 choke me
16146 #endif
16147
16148 ;
16149 return 0;
16150 }
16151 _ACEOF
16152 rm -f conftest.$ac_objext
16153 if { (ac_try="$ac_compile"
16154 case "(($ac_try" in
16155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16156 *) ac_try_echo=$ac_try;;
16157 esac
16158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16159 (eval "$ac_compile") 2>conftest.er1
16160 ac_status=$?
16161 grep -v '^ *+' conftest.er1 >conftest.err
16162 rm -f conftest.er1
16163 cat conftest.err >&5
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); } && {
16166 test -z "$ac_cxx_werror_flag" ||
16167 test ! -s conftest.err
16168 } && test -s conftest.$ac_objext; then
16169 bakefile_cv_cxx_compiler___HP_aCC=yes
16170 else
16171 echo "$as_me: failed program was:" >&5
16172 sed 's/^/| /' conftest.$ac_ext >&5
16173
16174 bakefile_cv_cxx_compiler___HP_aCC=no
16175
16176 fi
16177
16178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16179
16180
16181 fi
16182 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16183 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16184 ac_ext=c
16185 ac_cpp='$CPP $CPPFLAGS'
16186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16189
16190 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16191 :; HPCXX=yes
16192 else
16193 :;
16194 fi
16195
16196
16197 ;;
16198
16199 OSF1)
16200
16201
16202 ac_ext=cpp
16203 ac_cpp='$CXXCPP $CPPFLAGS'
16204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16207
16208 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16209 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16210 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16211 echo $ECHO_N "(cached) $ECHO_C" >&6
16212 else
16213 cat >conftest.$ac_ext <<_ACEOF
16214 /* confdefs.h. */
16215 _ACEOF
16216 cat confdefs.h >>conftest.$ac_ext
16217 cat >>conftest.$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16219
16220 int
16221 main ()
16222 {
16223
16224 #ifndef __DECCXX
16225 choke me
16226 #endif
16227
16228 ;
16229 return 0;
16230 }
16231 _ACEOF
16232 rm -f conftest.$ac_objext
16233 if { (ac_try="$ac_compile"
16234 case "(($ac_try" in
16235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16236 *) ac_try_echo=$ac_try;;
16237 esac
16238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16239 (eval "$ac_compile") 2>conftest.er1
16240 ac_status=$?
16241 grep -v '^ *+' conftest.er1 >conftest.err
16242 rm -f conftest.er1
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } && {
16246 test -z "$ac_cxx_werror_flag" ||
16247 test ! -s conftest.err
16248 } && test -s conftest.$ac_objext; then
16249 bakefile_cv_cxx_compiler___DECCXX=yes
16250 else
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.$ac_ext >&5
16253
16254 bakefile_cv_cxx_compiler___DECCXX=no
16255
16256 fi
16257
16258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16259
16260
16261 fi
16262 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16263 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16264 ac_ext=c
16265 ac_cpp='$CPP $CPPFLAGS'
16266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16269
16270 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16271 :; COMPAQCXX=yes
16272 else
16273 :;
16274 fi
16275
16276
16277 ;;
16278
16279 SunOS)
16280
16281
16282 ac_ext=cpp
16283 ac_cpp='$CXXCPP $CPPFLAGS'
16284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16287
16288 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16289 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16290 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 else
16293 cat >conftest.$ac_ext <<_ACEOF
16294 /* confdefs.h. */
16295 _ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16299
16300 int
16301 main ()
16302 {
16303
16304 #ifndef __SUNPRO_CC
16305 choke me
16306 #endif
16307
16308 ;
16309 return 0;
16310 }
16311 _ACEOF
16312 rm -f conftest.$ac_objext
16313 if { (ac_try="$ac_compile"
16314 case "(($ac_try" in
16315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316 *) ac_try_echo=$ac_try;;
16317 esac
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_compile") 2>conftest.er1
16320 ac_status=$?
16321 grep -v '^ *+' conftest.er1 >conftest.err
16322 rm -f conftest.er1
16323 cat conftest.err >&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } && {
16326 test -z "$ac_cxx_werror_flag" ||
16327 test ! -s conftest.err
16328 } && test -s conftest.$ac_objext; then
16329 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16330 else
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.$ac_ext >&5
16333
16334 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16335
16336 fi
16337
16338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16339
16340
16341 fi
16342 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16343 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16344 ac_ext=c
16345 ac_cpp='$CPP $CPPFLAGS'
16346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16349
16350 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16351 :; SUNCXX=yes
16352 else
16353 :;
16354 fi
16355
16356
16357 ;;
16358 esac
16359 fi
16360
16361
16362
16363 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
16364 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
16365 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
16366 { (exit 1); exit 1; }; }
16367 fi
16368
16369 if test -n "$ac_tool_prefix"; then
16370 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16371 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16372 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16374 if test "${ac_cv_prog_RANLIB+set}" = set; then
16375 echo $ECHO_N "(cached) $ECHO_C" >&6
16376 else
16377 if test -n "$RANLIB"; then
16378 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16379 else
16380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16381 for as_dir in $PATH
16382 do
16383 IFS=$as_save_IFS
16384 test -z "$as_dir" && as_dir=.
16385 for ac_exec_ext in '' $ac_executable_extensions; do
16386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16387 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16389 break 2
16390 fi
16391 done
16392 done
16393 IFS=$as_save_IFS
16394
16395 fi
16396 fi
16397 RANLIB=$ac_cv_prog_RANLIB
16398 if test -n "$RANLIB"; then
16399 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16400 echo "${ECHO_T}$RANLIB" >&6; }
16401 else
16402 { echo "$as_me:$LINENO: result: no" >&5
16403 echo "${ECHO_T}no" >&6; }
16404 fi
16405
16406
16407 fi
16408 if test -z "$ac_cv_prog_RANLIB"; then
16409 ac_ct_RANLIB=$RANLIB
16410 # Extract the first word of "ranlib", so it can be a program name with args.
16411 set dummy ranlib; ac_word=$2
16412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16414 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16415 echo $ECHO_N "(cached) $ECHO_C" >&6
16416 else
16417 if test -n "$ac_ct_RANLIB"; then
16418 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16419 else
16420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16421 for as_dir in $PATH
16422 do
16423 IFS=$as_save_IFS
16424 test -z "$as_dir" && as_dir=.
16425 for ac_exec_ext in '' $ac_executable_extensions; do
16426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16427 ac_cv_prog_ac_ct_RANLIB="ranlib"
16428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16429 break 2
16430 fi
16431 done
16432 done
16433 IFS=$as_save_IFS
16434
16435 fi
16436 fi
16437 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16438 if test -n "$ac_ct_RANLIB"; then
16439 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16440 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16441 else
16442 { echo "$as_me:$LINENO: result: no" >&5
16443 echo "${ECHO_T}no" >&6; }
16444 fi
16445
16446 if test "x$ac_ct_RANLIB" = x; then
16447 RANLIB=":"
16448 else
16449 case $cross_compiling:$ac_tool_warned in
16450 yes:)
16451 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16452 whose name does not start with the host triplet. If you think this
16453 configuration is useful to you, please write to autoconf@gnu.org." >&5
16454 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16455 whose name does not start with the host triplet. If you think this
16456 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16457 ac_tool_warned=yes ;;
16458 esac
16459 RANLIB=$ac_ct_RANLIB
16460 fi
16461 else
16462 RANLIB="$ac_cv_prog_RANLIB"
16463 fi
16464
16465
16466 if test "x$SUNCXX" != xyes; then
16467 if test -n "$ac_tool_prefix"; then
16468 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16469 set dummy ${ac_tool_prefix}ar; ac_word=$2
16470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16472 if test "${ac_cv_prog_AR+set}" = set; then
16473 echo $ECHO_N "(cached) $ECHO_C" >&6
16474 else
16475 if test -n "$AR"; then
16476 ac_cv_prog_AR="$AR" # Let the user override the test.
16477 else
16478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16479 for as_dir in $PATH
16480 do
16481 IFS=$as_save_IFS
16482 test -z "$as_dir" && as_dir=.
16483 for ac_exec_ext in '' $ac_executable_extensions; do
16484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16485 ac_cv_prog_AR="${ac_tool_prefix}ar"
16486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16487 break 2
16488 fi
16489 done
16490 done
16491 IFS=$as_save_IFS
16492
16493 fi
16494 fi
16495 AR=$ac_cv_prog_AR
16496 if test -n "$AR"; then
16497 { echo "$as_me:$LINENO: result: $AR" >&5
16498 echo "${ECHO_T}$AR" >&6; }
16499 else
16500 { echo "$as_me:$LINENO: result: no" >&5
16501 echo "${ECHO_T}no" >&6; }
16502 fi
16503
16504
16505 fi
16506 if test -z "$ac_cv_prog_AR"; then
16507 ac_ct_AR=$AR
16508 # Extract the first word of "ar", so it can be a program name with args.
16509 set dummy ar; ac_word=$2
16510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16512 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16513 echo $ECHO_N "(cached) $ECHO_C" >&6
16514 else
16515 if test -n "$ac_ct_AR"; then
16516 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16517 else
16518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16519 for as_dir in $PATH
16520 do
16521 IFS=$as_save_IFS
16522 test -z "$as_dir" && as_dir=.
16523 for ac_exec_ext in '' $ac_executable_extensions; do
16524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16525 ac_cv_prog_ac_ct_AR="ar"
16526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16527 break 2
16528 fi
16529 done
16530 done
16531 IFS=$as_save_IFS
16532
16533 fi
16534 fi
16535 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16536 if test -n "$ac_ct_AR"; then
16537 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16538 echo "${ECHO_T}$ac_ct_AR" >&6; }
16539 else
16540 { echo "$as_me:$LINENO: result: no" >&5
16541 echo "${ECHO_T}no" >&6; }
16542 fi
16543
16544 if test "x$ac_ct_AR" = x; then
16545 AR=""
16546 else
16547 case $cross_compiling:$ac_tool_warned in
16548 yes:)
16549 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16550 whose name does not start with the host triplet. If you think this
16551 configuration is useful to you, please write to autoconf@gnu.org." >&5
16552 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16553 whose name does not start with the host triplet. If you think this
16554 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16555 ac_tool_warned=yes ;;
16556 esac
16557 AR=$ac_ct_AR
16558 fi
16559 else
16560 AR="$ac_cv_prog_AR"
16561 fi
16562
16563 if test "x$AR" = "x" ; then
16564 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16565 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16566 { (exit 1); exit 1; }; }
16567 fi
16568 fi
16569
16570 # Find a good install program. We prefer a C program (faster),
16571 # so one script is as good as another. But avoid the broken or
16572 # incompatible versions:
16573 # SysV /etc/install, /usr/sbin/install
16574 # SunOS /usr/etc/install
16575 # IRIX /sbin/install
16576 # AIX /bin/install
16577 # AmigaOS /C/install, which installs bootblocks on floppy discs
16578 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16579 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16580 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16581 # OS/2's system install, which has a completely different semantic
16582 # ./install, which can be erroneously created by make from ./install.sh.
16583 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16584 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16585 if test -z "$INSTALL"; then
16586 if test "${ac_cv_path_install+set}" = set; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16588 else
16589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16590 for as_dir in $PATH
16591 do
16592 IFS=$as_save_IFS
16593 test -z "$as_dir" && as_dir=.
16594 # Account for people who put trailing slashes in PATH elements.
16595 case $as_dir/ in
16596 ./ | .// | /cC/* | \
16597 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16598 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16599 /usr/ucb/* ) ;;
16600 *)
16601 # OSF1 and SCO ODT 3.0 have their own names for install.
16602 # Don't use installbsd from OSF since it installs stuff as root
16603 # by default.
16604 for ac_prog in ginstall scoinst install; do
16605 for ac_exec_ext in '' $ac_executable_extensions; do
16606 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16607 if test $ac_prog = install &&
16608 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16609 # AIX install. It has an incompatible calling convention.
16610 :
16611 elif test $ac_prog = install &&
16612 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16613 # program-specific install script used by HP pwplus--don't use.
16614 :
16615 else
16616 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16617 break 3
16618 fi
16619 fi
16620 done
16621 done
16622 ;;
16623 esac
16624 done
16625 IFS=$as_save_IFS
16626
16627
16628 fi
16629 if test "${ac_cv_path_install+set}" = set; then
16630 INSTALL=$ac_cv_path_install
16631 else
16632 # As a last resort, use the slow shell script. Don't cache a
16633 # value for INSTALL within a source directory, because that will
16634 # break other packages using the cache if that directory is
16635 # removed, or if the value is a relative name.
16636 INSTALL=$ac_install_sh
16637 fi
16638 fi
16639 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16640 echo "${ECHO_T}$INSTALL" >&6; }
16641
16642 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16643 # It thinks the first close brace ends the variable substitution.
16644 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16645
16646 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16647
16648 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16649
16650
16651 case ${INSTALL} in
16652 /* ) # Absolute
16653 ;;
16654 ?:* ) # Drive letter, considered as absolute.
16655 ;;
16656 *)
16657 INSTALL=`pwd`/${INSTALL} ;;
16658 esac
16659
16660
16661 case "${host}" in
16662
16663 *-*-darwin* )
16664 INSTALL_PROGRAM="cp -fp"
16665 INSTALL_DATA="cp -fp"
16666 ;;
16667 *)
16668 ;;
16669 esac
16670
16671 if test -n "$ac_tool_prefix"; then
16672 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16673 set dummy ${ac_tool_prefix}strip; ac_word=$2
16674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16676 if test "${ac_cv_prog_STRIP+set}" = set; then
16677 echo $ECHO_N "(cached) $ECHO_C" >&6
16678 else
16679 if test -n "$STRIP"; then
16680 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16681 else
16682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16683 for as_dir in $PATH
16684 do
16685 IFS=$as_save_IFS
16686 test -z "$as_dir" && as_dir=.
16687 for ac_exec_ext in '' $ac_executable_extensions; do
16688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16689 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16691 break 2
16692 fi
16693 done
16694 done
16695 IFS=$as_save_IFS
16696
16697 fi
16698 fi
16699 STRIP=$ac_cv_prog_STRIP
16700 if test -n "$STRIP"; then
16701 { echo "$as_me:$LINENO: result: $STRIP" >&5
16702 echo "${ECHO_T}$STRIP" >&6; }
16703 else
16704 { echo "$as_me:$LINENO: result: no" >&5
16705 echo "${ECHO_T}no" >&6; }
16706 fi
16707
16708
16709 fi
16710 if test -z "$ac_cv_prog_STRIP"; then
16711 ac_ct_STRIP=$STRIP
16712 # Extract the first word of "strip", so it can be a program name with args.
16713 set dummy strip; ac_word=$2
16714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16716 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16717 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 else
16719 if test -n "$ac_ct_STRIP"; then
16720 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16721 else
16722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16723 for as_dir in $PATH
16724 do
16725 IFS=$as_save_IFS
16726 test -z "$as_dir" && as_dir=.
16727 for ac_exec_ext in '' $ac_executable_extensions; do
16728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16729 ac_cv_prog_ac_ct_STRIP="strip"
16730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16731 break 2
16732 fi
16733 done
16734 done
16735 IFS=$as_save_IFS
16736
16737 fi
16738 fi
16739 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16740 if test -n "$ac_ct_STRIP"; then
16741 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16742 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16743 else
16744 { echo "$as_me:$LINENO: result: no" >&5
16745 echo "${ECHO_T}no" >&6; }
16746 fi
16747
16748 if test "x$ac_ct_STRIP" = x; then
16749 STRIP="true"
16750 else
16751 case $cross_compiling:$ac_tool_warned in
16752 yes:)
16753 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16754 whose name does not start with the host triplet. If you think this
16755 configuration is useful to you, please write to autoconf@gnu.org." >&5
16756 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16757 whose name does not start with the host triplet. If you think this
16758 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16759 ac_tool_warned=yes ;;
16760 esac
16761 STRIP=$ac_ct_STRIP
16762 fi
16763 else
16764 STRIP="$ac_cv_prog_STRIP"
16765 fi
16766
16767
16768 if test "$wxUSE_WINE" = "yes"; then
16769 if test -n "$ac_tool_prefix"; then
16770 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16771 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16774 if test "${ac_cv_prog_WINDRES+set}" = set; then
16775 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 else
16777 if test -n "$WINDRES"; then
16778 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16779 else
16780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16781 for as_dir in $PATH
16782 do
16783 IFS=$as_save_IFS
16784 test -z "$as_dir" && as_dir=.
16785 for ac_exec_ext in '' $ac_executable_extensions; do
16786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16787 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16789 break 2
16790 fi
16791 done
16792 done
16793 IFS=$as_save_IFS
16794
16795 fi
16796 fi
16797 WINDRES=$ac_cv_prog_WINDRES
16798 if test -n "$WINDRES"; then
16799 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16800 echo "${ECHO_T}$WINDRES" >&6; }
16801 else
16802 { echo "$as_me:$LINENO: result: no" >&5
16803 echo "${ECHO_T}no" >&6; }
16804 fi
16805
16806
16807 fi
16808 if test -z "$ac_cv_prog_WINDRES"; then
16809 ac_ct_WINDRES=$WINDRES
16810 # Extract the first word of "wrc", so it can be a program name with args.
16811 set dummy wrc; ac_word=$2
16812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16814 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16815 echo $ECHO_N "(cached) $ECHO_C" >&6
16816 else
16817 if test -n "$ac_ct_WINDRES"; then
16818 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16819 else
16820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16821 for as_dir in $PATH
16822 do
16823 IFS=$as_save_IFS
16824 test -z "$as_dir" && as_dir=.
16825 for ac_exec_ext in '' $ac_executable_extensions; do
16826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16827 ac_cv_prog_ac_ct_WINDRES="wrc"
16828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16829 break 2
16830 fi
16831 done
16832 done
16833 IFS=$as_save_IFS
16834
16835 fi
16836 fi
16837 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16838 if test -n "$ac_ct_WINDRES"; then
16839 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16840 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16841 else
16842 { echo "$as_me:$LINENO: result: no" >&5
16843 echo "${ECHO_T}no" >&6; }
16844 fi
16845
16846 if test "x$ac_ct_WINDRES" = x; then
16847 WINDRES=""
16848 else
16849 case $cross_compiling:$ac_tool_warned in
16850 yes:)
16851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16852 whose name does not start with the host triplet. If you think this
16853 configuration is useful to you, please write to autoconf@gnu.org." >&5
16854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16855 whose name does not start with the host triplet. If you think this
16856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16857 ac_tool_warned=yes ;;
16858 esac
16859 WINDRES=$ac_ct_WINDRES
16860 fi
16861 else
16862 WINDRES="$ac_cv_prog_WINDRES"
16863 fi
16864
16865 RESCOMP="$WINDRES"
16866 else
16867 case "${host}" in
16868 *-*-cygwin* | *-*-mingw32* )
16869 if test -n "$ac_tool_prefix"; then
16870 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16871 set dummy ${ac_tool_prefix}windres; ac_word=$2
16872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16874 if test "${ac_cv_prog_WINDRES+set}" = set; then
16875 echo $ECHO_N "(cached) $ECHO_C" >&6
16876 else
16877 if test -n "$WINDRES"; then
16878 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16879 else
16880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16881 for as_dir in $PATH
16882 do
16883 IFS=$as_save_IFS
16884 test -z "$as_dir" && as_dir=.
16885 for ac_exec_ext in '' $ac_executable_extensions; do
16886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16887 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16889 break 2
16890 fi
16891 done
16892 done
16893 IFS=$as_save_IFS
16894
16895 fi
16896 fi
16897 WINDRES=$ac_cv_prog_WINDRES
16898 if test -n "$WINDRES"; then
16899 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16900 echo "${ECHO_T}$WINDRES" >&6; }
16901 else
16902 { echo "$as_me:$LINENO: result: no" >&5
16903 echo "${ECHO_T}no" >&6; }
16904 fi
16905
16906
16907 fi
16908 if test -z "$ac_cv_prog_WINDRES"; then
16909 ac_ct_WINDRES=$WINDRES
16910 # Extract the first word of "windres", so it can be a program name with args.
16911 set dummy windres; ac_word=$2
16912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16914 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 else
16917 if test -n "$ac_ct_WINDRES"; then
16918 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16919 else
16920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16921 for as_dir in $PATH
16922 do
16923 IFS=$as_save_IFS
16924 test -z "$as_dir" && as_dir=.
16925 for ac_exec_ext in '' $ac_executable_extensions; do
16926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16927 ac_cv_prog_ac_ct_WINDRES="windres"
16928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16929 break 2
16930 fi
16931 done
16932 done
16933 IFS=$as_save_IFS
16934
16935 fi
16936 fi
16937 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16938 if test -n "$ac_ct_WINDRES"; then
16939 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16940 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16941 else
16942 { echo "$as_me:$LINENO: result: no" >&5
16943 echo "${ECHO_T}no" >&6; }
16944 fi
16945
16946 if test "x$ac_ct_WINDRES" = x; then
16947 WINDRES=""
16948 else
16949 case $cross_compiling:$ac_tool_warned in
16950 yes:)
16951 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16952 whose name does not start with the host triplet. If you think this
16953 configuration is useful to you, please write to autoconf@gnu.org." >&5
16954 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16955 whose name does not start with the host triplet. If you think this
16956 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16957 ac_tool_warned=yes ;;
16958 esac
16959 WINDRES=$ac_ct_WINDRES
16960 fi
16961 else
16962 WINDRES="$ac_cv_prog_WINDRES"
16963 fi
16964
16965 RESCOMP="$WINDRES"
16966 if test -n "$ac_tool_prefix"; then
16967 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16968 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16971 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16972 echo $ECHO_N "(cached) $ECHO_C" >&6
16973 else
16974 if test -n "$DLLTOOL"; then
16975 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16976 else
16977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16978 for as_dir in $PATH
16979 do
16980 IFS=$as_save_IFS
16981 test -z "$as_dir" && as_dir=.
16982 for ac_exec_ext in '' $ac_executable_extensions; do
16983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16984 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16986 break 2
16987 fi
16988 done
16989 done
16990 IFS=$as_save_IFS
16991
16992 fi
16993 fi
16994 DLLTOOL=$ac_cv_prog_DLLTOOL
16995 if test -n "$DLLTOOL"; then
16996 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16997 echo "${ECHO_T}$DLLTOOL" >&6; }
16998 else
16999 { echo "$as_me:$LINENO: result: no" >&5
17000 echo "${ECHO_T}no" >&6; }
17001 fi
17002
17003
17004 fi
17005 if test -z "$ac_cv_prog_DLLTOOL"; then
17006 ac_ct_DLLTOOL=$DLLTOOL
17007 # Extract the first word of "dlltool", so it can be a program name with args.
17008 set dummy dlltool; ac_word=$2
17009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17011 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
17012 echo $ECHO_N "(cached) $ECHO_C" >&6
17013 else
17014 if test -n "$ac_ct_DLLTOOL"; then
17015 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
17016 else
17017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17018 for as_dir in $PATH
17019 do
17020 IFS=$as_save_IFS
17021 test -z "$as_dir" && as_dir=.
17022 for ac_exec_ext in '' $ac_executable_extensions; do
17023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17024 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
17025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17026 break 2
17027 fi
17028 done
17029 done
17030 IFS=$as_save_IFS
17031
17032 fi
17033 fi
17034 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
17035 if test -n "$ac_ct_DLLTOOL"; then
17036 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
17037 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
17038 else
17039 { echo "$as_me:$LINENO: result: no" >&5
17040 echo "${ECHO_T}no" >&6; }
17041 fi
17042
17043 if test "x$ac_ct_DLLTOOL" = x; then
17044 DLLTOOL=""
17045 else
17046 case $cross_compiling:$ac_tool_warned in
17047 yes:)
17048 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17049 whose name does not start with the host triplet. If you think this
17050 configuration is useful to you, please write to autoconf@gnu.org." >&5
17051 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17052 whose name does not start with the host triplet. If you think this
17053 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17054 ac_tool_warned=yes ;;
17055 esac
17056 DLLTOOL=$ac_ct_DLLTOOL
17057 fi
17058 else
17059 DLLTOOL="$ac_cv_prog_DLLTOOL"
17060 fi
17061
17062 ;;
17063 esac
17064 fi
17065
17066 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17067 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17068 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 else
17071
17072 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17073 $EGREP -s GNU > /dev/null); then
17074 wx_cv_prog_makeisgnu="yes"
17075 else
17076 wx_cv_prog_makeisgnu="no"
17077 fi
17078
17079 fi
17080 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17081 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17082
17083 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17084 IF_GNU_MAKE=""
17085 else
17086 IF_GNU_MAKE="#"
17087 fi
17088
17089
17090
17091 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17092 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17093 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17094 if test "${wx_cv_prog_makevpath+set}" = set; then
17095 echo $ECHO_N "(cached) $ECHO_C" >&6
17096 else
17097
17098 cat - << EOF > confMake
17099 check : file
17100 cp \$? \$@
17101 cp \$? final_file
17102 EOF
17103
17104 if test ! -d sub ; then
17105 mkdir sub
17106 fi
17107 echo dummy > sub/file
17108 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17109 RESULT=$?
17110 rm -f sub/file check final_file confMake
17111 rmdir sub
17112 if test "$RESULT" = 0; then
17113 wx_cv_prog_makevpath="yes"
17114 else
17115 wx_cv_prog_makevpath="no"
17116 fi
17117
17118 fi
17119 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17120 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17121
17122 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17123 { { echo "$as_me:$LINENO: error:
17124 You need a make-utility that is able to use the variable
17125 VPATH correctly.
17126 If your version of make does not support VPATH correctly,
17127 please install GNU-make (possibly as gmake), and start
17128 configure with the following command:
17129 export MAKE=gmake; ./configure for sh-type shells
17130 setenv MAKE gmake; ./configure for csh-type shells
17131 Also please do remember to use gmake in this case every time
17132 you are trying to compile.
17133 " >&5
17134 echo "$as_me: error:
17135 You need a make-utility that is able to use the variable
17136 VPATH correctly.
17137 If your version of make does not support VPATH correctly,
17138 please install GNU-make (possibly as gmake), and start
17139 configure with the following command:
17140 export MAKE=gmake; ./configure for sh-type shells
17141 setenv MAKE gmake; ./configure for csh-type shells
17142 Also please do remember to use gmake in this case every time
17143 you are trying to compile.
17144 " >&2;}
17145 { (exit 1); exit 1; }; }
17146 fi fi
17147 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17148 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17149 LN_S=$as_ln_s
17150 if test "$LN_S" = "ln -s"; then
17151 { echo "$as_me:$LINENO: result: yes" >&5
17152 echo "${ECHO_T}yes" >&6; }
17153 else
17154 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17155 echo "${ECHO_T}no, using $LN_S" >&6; }
17156 fi
17157
17158
17159
17160
17161 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17162 CXXFLAGS="-qunique $CXXFLAGS"
17163 fi
17164
17165 case "${host}" in
17166 powerpc-*-darwin* )
17167 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17168 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17169 cat >conftest.$ac_ext <<_ACEOF
17170 /* confdefs.h. */
17171 _ACEOF
17172 cat confdefs.h >>conftest.$ac_ext
17173 cat >>conftest.$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17175
17176 int
17177 main ()
17178 {
17179 #ifndef __POWERPC__
17180 choke me for lack of PowerPC
17181 #endif
17182
17183 ;
17184 return 0;
17185 }
17186 _ACEOF
17187 rm -f conftest.$ac_objext
17188 if { (ac_try="$ac_compile"
17189 case "(($ac_try" in
17190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17191 *) ac_try_echo=$ac_try;;
17192 esac
17193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17194 (eval "$ac_compile") 2>conftest.er1
17195 ac_status=$?
17196 grep -v '^ *+' conftest.er1 >conftest.err
17197 rm -f conftest.er1
17198 cat conftest.err >&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } && {
17201 test -z "$ac_c_werror_flag" ||
17202 test ! -s conftest.err
17203 } && test -s conftest.$ac_objext; then
17204 { echo "$as_me:$LINENO: result: yes" >&5
17205 echo "${ECHO_T}yes" >&6; }
17206 else
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17209
17210 { echo "$as_me:$LINENO: result: no" >&5
17211 echo "${ECHO_T}no" >&6; }
17212 cat >>confdefs.h <<\_ACEOF
17213 #define __POWERPC__ 1
17214 _ACEOF
17215
17216
17217 fi
17218
17219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17220 ;;
17221 esac
17222
17223 case "${host}" in
17224 *-*-darwin* )
17225 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17226 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17227 cat >conftest.$ac_ext <<_ACEOF
17228 /* confdefs.h. */
17229 _ACEOF
17230 cat confdefs.h >>conftest.$ac_ext
17231 cat >>conftest.$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
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 else
17263 echo "$as_me: failed program was:" >&5
17264 sed 's/^/| /' conftest.$ac_ext >&5
17265
17266 { echo "$as_me:$LINENO: result: no" >&5
17267 echo "${ECHO_T}no" >&6; }
17268 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17269 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h. */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 #define __CF_USE_FRAMEWORK_INCLUDES__
17277 #include <CoreFoundation/CFBase.h>
17278
17279 int
17280 main ()
17281 {
17282
17283 ;
17284 return 0;
17285 }
17286 _ACEOF
17287 rm -f conftest.$ac_objext
17288 if { (ac_try="$ac_compile"
17289 case "(($ac_try" in
17290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17291 *) ac_try_echo=$ac_try;;
17292 esac
17293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17294 (eval "$ac_compile") 2>conftest.er1
17295 ac_status=$?
17296 grep -v '^ *+' conftest.er1 >conftest.err
17297 rm -f conftest.er1
17298 cat conftest.err >&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); } && {
17301 test -z "$ac_c_werror_flag" ||
17302 test ! -s conftest.err
17303 } && test -s conftest.$ac_objext; then
17304 { echo "$as_me:$LINENO: result: yes" >&5
17305 echo "${ECHO_T}yes" >&6; }
17306 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17307 else
17308 echo "$as_me: failed program was:" >&5
17309 sed 's/^/| /' conftest.$ac_ext >&5
17310
17311 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17312 See \`config.log' for more details." >&5
17313 echo "$as_me: error: no. CoreFoundation not available.
17314 See \`config.log' for more details." >&2;}
17315 { (exit 1); exit 1; }; }
17316
17317 fi
17318
17319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17320
17321
17322 fi
17323
17324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17325 ;;
17326 esac
17327
17328 wants_win32=0
17329 doesnt_want_win32=0
17330 case "${host}" in
17331 *-*-cygwin*)
17332 if test "$wxUSE_MSW" = 1 ; then
17333 wants_win32=1
17334 else
17335 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17336 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17337 if test "${wx_cv_nocygwin+set}" = set; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17339 else
17340
17341 cat >conftest.$ac_ext <<_ACEOF
17342 /* confdefs.h. */
17343 _ACEOF
17344 cat confdefs.h >>conftest.$ac_ext
17345 cat >>conftest.$ac_ext <<_ACEOF
17346 /* end confdefs.h. */
17347
17348 int
17349 main ()
17350 {
17351
17352 #ifdef __MINGW32__
17353 choke me
17354 #endif
17355
17356 ;
17357 return 0;
17358 }
17359 _ACEOF
17360 rm -f conftest.$ac_objext
17361 if { (ac_try="$ac_compile"
17362 case "(($ac_try" in
17363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17364 *) ac_try_echo=$ac_try;;
17365 esac
17366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17367 (eval "$ac_compile") 2>conftest.er1
17368 ac_status=$?
17369 grep -v '^ *+' conftest.er1 >conftest.err
17370 rm -f conftest.er1
17371 cat conftest.err >&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); } && {
17374 test -z "$ac_c_werror_flag" ||
17375 test ! -s conftest.err
17376 } && test -s conftest.$ac_objext; then
17377 wx_cv_nocygwin=no
17378 else
17379 echo "$as_me: failed program was:" >&5
17380 sed 's/^/| /' conftest.$ac_ext >&5
17381
17382 wx_cv_nocygwin=yes
17383
17384 fi
17385
17386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17387
17388
17389 fi
17390 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17391 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17392
17393 if test "$wx_cv_nocygwin" = "yes"; then
17394 wants_win32=1
17395 else
17396 doesnt_want_win32=1
17397 fi
17398 fi
17399 if test "$wants_win32" = 1 ; then
17400 BAKEFILE_FORCE_PLATFORM=win32
17401 fi
17402 ;;
17403 *-*-mingw*)
17404 wants_win32=1
17405 ;;
17406 esac
17407
17408 if test "$wxUSE_WINE" = "yes"; then
17409 wants_win32=1
17410 LDFLAGS_GUI="-mwindows"
17411 fi
17412
17413 if test "$wants_win32" = 1 ; then
17414 USE_UNIX=0
17415 USE_WIN32=1
17416 cat >>confdefs.h <<\_ACEOF
17417 #define __WIN32__ 1
17418 _ACEOF
17419
17420 cat >>confdefs.h <<\_ACEOF
17421 #define __WIN95__ 1
17422 _ACEOF
17423
17424 cat >>confdefs.h <<\_ACEOF
17425 #define __WINDOWS__ 1
17426 _ACEOF
17427
17428 cat >>confdefs.h <<\_ACEOF
17429 #define __GNUWIN32__ 1
17430 _ACEOF
17431
17432 cat >>confdefs.h <<\_ACEOF
17433 #define STRICT 1
17434 _ACEOF
17435
17436 fi
17437 if test "$doesnt_want_win32" = 1 ; then
17438 USE_UNIX=1
17439 USE_WIN32=0
17440 fi
17441
17442 if test "$USE_UNIX" = 1 ; then
17443 wxUSE_UNIX=yes
17444 cat >>confdefs.h <<\_ACEOF
17445 #define __UNIX__ 1
17446 _ACEOF
17447
17448 fi
17449
17450 case "${host}" in
17451 *-pc-os2_emx | *-pc-os2-emx )
17452 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17453 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17454 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17455 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17456 echo $ECHO_N "(cached) $ECHO_C" >&6
17457 else
17458 ac_check_lib_save_LIBS=$LIBS
17459 LIBS="-lcExt $LIBS"
17460 cat >conftest.$ac_ext <<_ACEOF
17461 /* confdefs.h. */
17462 _ACEOF
17463 cat confdefs.h >>conftest.$ac_ext
17464 cat >>conftest.$ac_ext <<_ACEOF
17465 /* end confdefs.h. */
17466
17467 /* Override any GCC internal prototype to avoid an error.
17468 Use char because int might match the return type of a GCC
17469 builtin and then its argument prototype would still apply. */
17470 #ifdef __cplusplus
17471 extern "C"
17472 #endif
17473 char drand48 ();
17474 int
17475 main ()
17476 {
17477 return drand48 ();
17478 ;
17479 return 0;
17480 }
17481 _ACEOF
17482 rm -f conftest.$ac_objext conftest$ac_exeext
17483 if { (ac_try="$ac_link"
17484 case "(($ac_try" in
17485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17486 *) ac_try_echo=$ac_try;;
17487 esac
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17489 (eval "$ac_link") 2>conftest.er1
17490 ac_status=$?
17491 grep -v '^ *+' conftest.er1 >conftest.err
17492 rm -f conftest.er1
17493 cat conftest.err >&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } && {
17496 test -z "$ac_c_werror_flag" ||
17497 test ! -s conftest.err
17498 } && test -s conftest$ac_exeext &&
17499 $as_test_x conftest$ac_exeext; then
17500 ac_cv_lib_cExt_drand48=yes
17501 else
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.$ac_ext >&5
17504
17505 ac_cv_lib_cExt_drand48=no
17506 fi
17507
17508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17509 conftest$ac_exeext conftest.$ac_ext
17510 LIBS=$ac_check_lib_save_LIBS
17511 fi
17512 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17513 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17514 if test $ac_cv_lib_cExt_drand48 = yes; then
17515 LIBS="$LIBS -lcExt"
17516 fi
17517
17518 else
17519 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17520 fi
17521 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17522 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17523 if test "${wx_cv_gccversion+set}" = set; then
17524 echo $ECHO_N "(cached) $ECHO_C" >&6
17525 else
17526
17527 if test "$cross_compiling" = yes; then
17528 wx_cv_gccversion="EMX2"
17529
17530 else
17531 cat >conftest.$ac_ext <<_ACEOF
17532 /* confdefs.h. */
17533 _ACEOF
17534 cat confdefs.h >>conftest.$ac_ext
17535 cat >>conftest.$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17537
17538 #include <stdio.h>
17539
17540 int main()
17541 {
17542 FILE *f=fopen("conftestval", "w");
17543 if (!f) exit(1);
17544 fprintf(f,
17545 #if (__GNUC__ < 3)
17546 "EMX2"
17547 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17548 "EMX3"
17549 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17550 "Innotek5"
17551 #else
17552 "Innotek6"
17553 #endif
17554 );
17555 exit(0);
17556 }
17557
17558 _ACEOF
17559 rm -f conftest$ac_exeext
17560 if { (ac_try="$ac_link"
17561 case "(($ac_try" in
17562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17563 *) ac_try_echo=$ac_try;;
17564 esac
17565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17566 (eval "$ac_link") 2>&5
17567 ac_status=$?
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17570 { (case "(($ac_try" in
17571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17573 esac
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_try") 2>&5
17576 ac_status=$?
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); }; }; then
17579 wx_cv_gccversion=`cat conftestval`
17580 else
17581 echo "$as_me: program exited with status $ac_status" >&5
17582 echo "$as_me: failed program was:" >&5
17583 sed 's/^/| /' conftest.$ac_ext >&5
17584
17585 ( exit $ac_status )
17586 wx_cv_gccversion="EMX2"
17587 fi
17588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17589 fi
17590
17591
17592
17593 fi
17594 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17595 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17596 if test "$wx_cv_gccversion" = "EMX2"; then
17597 LIBS="$LIBS -lstdcpp"
17598 LDFLAGS="$LDFLAGS -Zsysv-signals"
17599 else
17600 if test "$wx_cv_gccversion" = "EMX3"; then
17601 LIBS="$LIBS -lstdcxx -lgcc"
17602 LDFLAGS="$LDFLAGS -Zsysv-signals"
17603 else
17604 LIBS="$LIBS -lstdc++"
17605 fi
17606 fi
17607 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17608 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17609 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17610 wxUSE_OMF=yes
17611 enable_omf=yes
17612 fi
17613 ;;
17614 *)
17615
17616 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17617 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17618 if test "${ac_cv_string_strcasecmp+set}" = set; then
17619 echo $ECHO_N "(cached) $ECHO_C" >&6
17620 else
17621
17622 cat >conftest.$ac_ext <<_ACEOF
17623 /* confdefs.h. */
17624 _ACEOF
17625 cat confdefs.h >>conftest.$ac_ext
17626 cat >>conftest.$ac_ext <<_ACEOF
17627 /* end confdefs.h. */
17628
17629 #include <string.h>
17630
17631 int
17632 main ()
17633 {
17634
17635 strcasecmp("foo", "bar");
17636
17637 ;
17638 return 0;
17639 }
17640 _ACEOF
17641 rm -f conftest.$ac_objext conftest$ac_exeext
17642 if { (ac_try="$ac_link"
17643 case "(($ac_try" in
17644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17645 *) ac_try_echo=$ac_try;;
17646 esac
17647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17648 (eval "$ac_link") 2>conftest.er1
17649 ac_status=$?
17650 grep -v '^ *+' conftest.er1 >conftest.err
17651 rm -f conftest.er1
17652 cat conftest.err >&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); } && {
17655 test -z "$ac_c_werror_flag" ||
17656 test ! -s conftest.err
17657 } && test -s conftest$ac_exeext &&
17658 $as_test_x conftest$ac_exeext; then
17659 ac_cv_string_strcasecmp=yes
17660 else
17661 echo "$as_me: failed program was:" >&5
17662 sed 's/^/| /' conftest.$ac_ext >&5
17663
17664 ac_cv_string_strcasecmp=no
17665
17666 fi
17667
17668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17669 conftest$ac_exeext conftest.$ac_ext
17670
17671 fi
17672 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17673 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17674
17675 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17676 cat >>confdefs.h <<\_ACEOF
17677 #define HAVE_STRCASECMP_IN_STRING_H 1
17678 _ACEOF
17679
17680 else
17681 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17682 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17683 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17684 echo $ECHO_N "(cached) $ECHO_C" >&6
17685 else
17686
17687 cat >conftest.$ac_ext <<_ACEOF
17688 /* confdefs.h. */
17689 _ACEOF
17690 cat confdefs.h >>conftest.$ac_ext
17691 cat >>conftest.$ac_ext <<_ACEOF
17692 /* end confdefs.h. */
17693
17694 #include <strings.h>
17695
17696 int
17697 main ()
17698 {
17699
17700 strcasecmp("foo", "bar");
17701
17702 ;
17703 return 0;
17704 }
17705 _ACEOF
17706 rm -f conftest.$ac_objext conftest$ac_exeext
17707 if { (ac_try="$ac_link"
17708 case "(($ac_try" in
17709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17710 *) ac_try_echo=$ac_try;;
17711 esac
17712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17713 (eval "$ac_link") 2>conftest.er1
17714 ac_status=$?
17715 grep -v '^ *+' conftest.er1 >conftest.err
17716 rm -f conftest.er1
17717 cat conftest.err >&5
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); } && {
17720 test -z "$ac_c_werror_flag" ||
17721 test ! -s conftest.err
17722 } && test -s conftest$ac_exeext &&
17723 $as_test_x conftest$ac_exeext; then
17724 ac_cv_strings_strcasecmp=yes
17725 else
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.$ac_ext >&5
17728
17729 ac_cv_strings_strcasecmp=no
17730
17731 fi
17732
17733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17734 conftest$ac_exeext conftest.$ac_ext
17735
17736 fi
17737 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17738 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17739
17740 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17741 cat >>confdefs.h <<\_ACEOF
17742 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17743 _ACEOF
17744
17745 else
17746 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17747 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17748 { (exit 1); exit 1; }; }
17749 fi
17750 fi
17751
17752 ;;
17753 esac
17754
17755
17756 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17757 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17758 if test "${ac_cv_header_stdc+set}" = set; then
17759 echo $ECHO_N "(cached) $ECHO_C" >&6
17760 else
17761 cat >conftest.$ac_ext <<_ACEOF
17762 /* confdefs.h. */
17763 _ACEOF
17764 cat confdefs.h >>conftest.$ac_ext
17765 cat >>conftest.$ac_ext <<_ACEOF
17766 /* end confdefs.h. */
17767 #include <stdlib.h>
17768 #include <stdarg.h>
17769 #include <string.h>
17770 #include <float.h>
17771
17772 int
17773 main ()
17774 {
17775
17776 ;
17777 return 0;
17778 }
17779 _ACEOF
17780 rm -f conftest.$ac_objext
17781 if { (ac_try="$ac_compile"
17782 case "(($ac_try" in
17783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17784 *) ac_try_echo=$ac_try;;
17785 esac
17786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17787 (eval "$ac_compile") 2>conftest.er1
17788 ac_status=$?
17789 grep -v '^ *+' conftest.er1 >conftest.err
17790 rm -f conftest.er1
17791 cat conftest.err >&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); } && {
17794 test -z "$ac_c_werror_flag" ||
17795 test ! -s conftest.err
17796 } && test -s conftest.$ac_objext; then
17797 ac_cv_header_stdc=yes
17798 else
17799 echo "$as_me: failed program was:" >&5
17800 sed 's/^/| /' conftest.$ac_ext >&5
17801
17802 ac_cv_header_stdc=no
17803 fi
17804
17805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806
17807 if test $ac_cv_header_stdc = yes; then
17808 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17809 cat >conftest.$ac_ext <<_ACEOF
17810 /* confdefs.h. */
17811 _ACEOF
17812 cat confdefs.h >>conftest.$ac_ext
17813 cat >>conftest.$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17815 #include <string.h>
17816
17817 _ACEOF
17818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17819 $EGREP "memchr" >/dev/null 2>&1; then
17820 :
17821 else
17822 ac_cv_header_stdc=no
17823 fi
17824 rm -f conftest*
17825
17826 fi
17827
17828 if test $ac_cv_header_stdc = yes; then
17829 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17830 cat >conftest.$ac_ext <<_ACEOF
17831 /* confdefs.h. */
17832 _ACEOF
17833 cat confdefs.h >>conftest.$ac_ext
17834 cat >>conftest.$ac_ext <<_ACEOF
17835 /* end confdefs.h. */
17836 #include <stdlib.h>
17837
17838 _ACEOF
17839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17840 $EGREP "free" >/dev/null 2>&1; then
17841 :
17842 else
17843 ac_cv_header_stdc=no
17844 fi
17845 rm -f conftest*
17846
17847 fi
17848
17849 if test $ac_cv_header_stdc = yes; then
17850 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17851 if test "$cross_compiling" = yes; then
17852 :
17853 else
17854 cat >conftest.$ac_ext <<_ACEOF
17855 /* confdefs.h. */
17856 _ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17860 #include <ctype.h>
17861 #include <stdlib.h>
17862 #if ((' ' & 0x0FF) == 0x020)
17863 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17864 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17865 #else
17866 # define ISLOWER(c) \
17867 (('a' <= (c) && (c) <= 'i') \
17868 || ('j' <= (c) && (c) <= 'r') \
17869 || ('s' <= (c) && (c) <= 'z'))
17870 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17871 #endif
17872
17873 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17874 int
17875 main ()
17876 {
17877 int i;
17878 for (i = 0; i < 256; i++)
17879 if (XOR (islower (i), ISLOWER (i))
17880 || toupper (i) != TOUPPER (i))
17881 return 2;
17882 return 0;
17883 }
17884 _ACEOF
17885 rm -f conftest$ac_exeext
17886 if { (ac_try="$ac_link"
17887 case "(($ac_try" in
17888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17889 *) ac_try_echo=$ac_try;;
17890 esac
17891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17892 (eval "$ac_link") 2>&5
17893 ac_status=$?
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17896 { (case "(($ac_try" in
17897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17898 *) ac_try_echo=$ac_try;;
17899 esac
17900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17901 (eval "$ac_try") 2>&5
17902 ac_status=$?
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; }; then
17905 :
17906 else
17907 echo "$as_me: program exited with status $ac_status" >&5
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.$ac_ext >&5
17910
17911 ( exit $ac_status )
17912 ac_cv_header_stdc=no
17913 fi
17914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17915 fi
17916
17917
17918 fi
17919 fi
17920 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17921 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17922 if test $ac_cv_header_stdc = yes; then
17923
17924 cat >>confdefs.h <<\_ACEOF
17925 #define STDC_HEADERS 1
17926 _ACEOF
17927
17928 fi
17929
17930 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17941 inttypes.h stdint.h unistd.h
17942 do
17943 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17944 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17946 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17947 echo $ECHO_N "(cached) $ECHO_C" >&6
17948 else
17949 cat >conftest.$ac_ext <<_ACEOF
17950 /* confdefs.h. */
17951 _ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955 $ac_includes_default
17956
17957 #include <$ac_header>
17958 _ACEOF
17959 rm -f conftest.$ac_objext
17960 if { (ac_try="$ac_compile"
17961 case "(($ac_try" in
17962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17963 *) ac_try_echo=$ac_try;;
17964 esac
17965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17966 (eval "$ac_compile") 2>conftest.er1
17967 ac_status=$?
17968 grep -v '^ *+' conftest.er1 >conftest.err
17969 rm -f conftest.er1
17970 cat conftest.err >&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); } && {
17973 test -z "$ac_c_werror_flag" ||
17974 test ! -s conftest.err
17975 } && test -s conftest.$ac_objext; then
17976 eval "$as_ac_Header=yes"
17977 else
17978 echo "$as_me: failed program was:" >&5
17979 sed 's/^/| /' conftest.$ac_ext >&5
17980
17981 eval "$as_ac_Header=no"
17982 fi
17983
17984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17985 fi
17986 ac_res=`eval echo '${'$as_ac_Header'}'`
17987 { echo "$as_me:$LINENO: result: $ac_res" >&5
17988 echo "${ECHO_T}$ac_res" >&6; }
17989 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17990 cat >>confdefs.h <<_ACEOF
17991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17992 _ACEOF
17993
17994 fi
17995
17996 done
17997
17998
17999
18000
18001
18002
18003
18004
18005 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
18006 do
18007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18011 echo $ECHO_N "(cached) $ECHO_C" >&6
18012 else
18013 cat >conftest.$ac_ext <<_ACEOF
18014 /* confdefs.h. */
18015 _ACEOF
18016 cat confdefs.h >>conftest.$ac_ext
18017 cat >>conftest.$ac_ext <<_ACEOF
18018 /* end confdefs.h. */
18019 $ac_includes_default
18020
18021 #include <$ac_header>
18022 _ACEOF
18023 rm -f conftest.$ac_objext
18024 if { (ac_try="$ac_compile"
18025 case "(($ac_try" in
18026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18027 *) ac_try_echo=$ac_try;;
18028 esac
18029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18030 (eval "$ac_compile") 2>conftest.er1
18031 ac_status=$?
18032 grep -v '^ *+' conftest.er1 >conftest.err
18033 rm -f conftest.er1
18034 cat conftest.err >&5
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); } && {
18037 test -z "$ac_c_werror_flag" ||
18038 test ! -s conftest.err
18039 } && test -s conftest.$ac_objext; then
18040 eval "$as_ac_Header=yes"
18041 else
18042 echo "$as_me: failed program was:" >&5
18043 sed 's/^/| /' conftest.$ac_ext >&5
18044
18045 eval "$as_ac_Header=no"
18046 fi
18047
18048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18049 fi
18050 ac_res=`eval echo '${'$as_ac_Header'}'`
18051 { echo "$as_me:$LINENO: result: $ac_res" >&5
18052 echo "${ECHO_T}$ac_res" >&6; }
18053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18054 cat >>confdefs.h <<_ACEOF
18055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18056 _ACEOF
18057
18058 fi
18059
18060 done
18061
18062
18063 if test "$ac_cv_header_wchar_h" != "yes"; then
18064 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
18065 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
18066 if test "${ac_cv_header_wcstr_h+set}" = set; then
18067 echo $ECHO_N "(cached) $ECHO_C" >&6
18068 else
18069 cat >conftest.$ac_ext <<_ACEOF
18070 /* confdefs.h. */
18071 _ACEOF
18072 cat confdefs.h >>conftest.$ac_ext
18073 cat >>conftest.$ac_ext <<_ACEOF
18074 /* end confdefs.h. */
18075 $ac_includes_default
18076
18077 #include <wcstr.h>
18078 _ACEOF
18079 rm -f conftest.$ac_objext
18080 if { (ac_try="$ac_compile"
18081 case "(($ac_try" in
18082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18083 *) ac_try_echo=$ac_try;;
18084 esac
18085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18086 (eval "$ac_compile") 2>conftest.er1
18087 ac_status=$?
18088 grep -v '^ *+' conftest.er1 >conftest.err
18089 rm -f conftest.er1
18090 cat conftest.err >&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); } && {
18093 test -z "$ac_c_werror_flag" ||
18094 test ! -s conftest.err
18095 } && test -s conftest.$ac_objext; then
18096 ac_cv_header_wcstr_h=yes
18097 else
18098 echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.$ac_ext >&5
18100
18101 ac_cv_header_wcstr_h=no
18102 fi
18103
18104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18105 fi
18106 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
18107 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18108
18109
18110 fi
18111
18112 case "${host}" in
18113 *-pc-os2_emx | *-pc-os2-emx )
18114 if test $ac_cv_header_langinfo_h = "yes" \
18115 -a \( "$wx_cv_gccversion" = "EMX2" \
18116 -o "$wx_cv_gccversion" = "EMX3" \
18117 -o "$wx_cv_gccversion" = "Innotek5" \); then
18118 LIBS="$LIBS -lintl"
18119 fi
18120 ;;
18121 esac
18122
18123 if test "$USE_UNIX" = 1 ; then
18124 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
18125 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
18126 if test "${ac_cv_header_sys_select_h+set}" = set; then
18127 echo $ECHO_N "(cached) $ECHO_C" >&6
18128 else
18129 cat >conftest.$ac_ext <<_ACEOF
18130 /* confdefs.h. */
18131 _ACEOF
18132 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18135 $ac_includes_default
18136
18137 #include <sys/select.h>
18138 _ACEOF
18139 rm -f conftest.$ac_objext
18140 if { (ac_try="$ac_compile"
18141 case "(($ac_try" in
18142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18143 *) ac_try_echo=$ac_try;;
18144 esac
18145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18146 (eval "$ac_compile") 2>conftest.er1
18147 ac_status=$?
18148 grep -v '^ *+' conftest.er1 >conftest.err
18149 rm -f conftest.er1
18150 cat conftest.err >&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } && {
18153 test -z "$ac_c_werror_flag" ||
18154 test ! -s conftest.err
18155 } && test -s conftest.$ac_objext; then
18156 ac_cv_header_sys_select_h=yes
18157 else
18158 echo "$as_me: failed program was:" >&5
18159 sed 's/^/| /' conftest.$ac_ext >&5
18160
18161 ac_cv_header_sys_select_h=no
18162 fi
18163
18164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18165 fi
18166 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18167 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18168
18169
18170 fi
18171
18172
18173 for ac_header in sys/epoll.h
18174 do
18175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18177 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18180 echo $ECHO_N "(cached) $ECHO_C" >&6
18181 fi
18182 ac_res=`eval echo '${'$as_ac_Header'}'`
18183 { echo "$as_me:$LINENO: result: $ac_res" >&5
18184 echo "${ECHO_T}$ac_res" >&6; }
18185 else
18186 # Is the header compilable?
18187 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18189 cat >conftest.$ac_ext <<_ACEOF
18190 /* confdefs.h. */
18191 _ACEOF
18192 cat confdefs.h >>conftest.$ac_ext
18193 cat >>conftest.$ac_ext <<_ACEOF
18194 /* end confdefs.h. */
18195 $ac_includes_default
18196 #include <$ac_header>
18197 _ACEOF
18198 rm -f conftest.$ac_objext
18199 if { (ac_try="$ac_compile"
18200 case "(($ac_try" in
18201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18202 *) ac_try_echo=$ac_try;;
18203 esac
18204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18205 (eval "$ac_compile") 2>conftest.er1
18206 ac_status=$?
18207 grep -v '^ *+' conftest.er1 >conftest.err
18208 rm -f conftest.er1
18209 cat conftest.err >&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); } && {
18212 test -z "$ac_c_werror_flag" ||
18213 test ! -s conftest.err
18214 } && test -s conftest.$ac_objext; then
18215 ac_header_compiler=yes
18216 else
18217 echo "$as_me: failed program was:" >&5
18218 sed 's/^/| /' conftest.$ac_ext >&5
18219
18220 ac_header_compiler=no
18221 fi
18222
18223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18224 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18225 echo "${ECHO_T}$ac_header_compiler" >&6; }
18226
18227 # Is the header present?
18228 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18229 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18230 cat >conftest.$ac_ext <<_ACEOF
18231 /* confdefs.h. */
18232 _ACEOF
18233 cat confdefs.h >>conftest.$ac_ext
18234 cat >>conftest.$ac_ext <<_ACEOF
18235 /* end confdefs.h. */
18236 #include <$ac_header>
18237 _ACEOF
18238 if { (ac_try="$ac_cpp conftest.$ac_ext"
18239 case "(($ac_try" in
18240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18241 *) ac_try_echo=$ac_try;;
18242 esac
18243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18244 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18245 ac_status=$?
18246 grep -v '^ *+' conftest.er1 >conftest.err
18247 rm -f conftest.er1
18248 cat conftest.err >&5
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); } >/dev/null && {
18251 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18252 test ! -s conftest.err
18253 }; then
18254 ac_header_preproc=yes
18255 else
18256 echo "$as_me: failed program was:" >&5
18257 sed 's/^/| /' conftest.$ac_ext >&5
18258
18259 ac_header_preproc=no
18260 fi
18261
18262 rm -f conftest.err conftest.$ac_ext
18263 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18264 echo "${ECHO_T}$ac_header_preproc" >&6; }
18265
18266 # So? What about this header?
18267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18268 yes:no: )
18269 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18270 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18272 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18273 ac_header_preproc=yes
18274 ;;
18275 no:yes:* )
18276 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18277 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18278 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18279 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18280 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18281 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18282 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18283 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18286 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18287 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18288 ( cat <<\_ASBOX
18289 ## ----------------------------------------- ##
18290 ## Report this to wx-dev@lists.wxwidgets.org ##
18291 ## ----------------------------------------- ##
18292 _ASBOX
18293 ) | sed "s/^/$as_me: WARNING: /" >&2
18294 ;;
18295 esac
18296 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18299 echo $ECHO_N "(cached) $ECHO_C" >&6
18300 else
18301 eval "$as_ac_Header=\$ac_header_preproc"
18302 fi
18303 ac_res=`eval echo '${'$as_ac_Header'}'`
18304 { echo "$as_me:$LINENO: result: $ac_res" >&5
18305 echo "${ECHO_T}$ac_res" >&6; }
18306
18307 fi
18308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18309 cat >>confdefs.h <<_ACEOF
18310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18311 _ACEOF
18312
18313 fi
18314
18315 done
18316
18317
18318
18319 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18320 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18321 if test "${ac_cv_c_const+set}" = set; then
18322 echo $ECHO_N "(cached) $ECHO_C" >&6
18323 else
18324 cat >conftest.$ac_ext <<_ACEOF
18325 /* confdefs.h. */
18326 _ACEOF
18327 cat confdefs.h >>conftest.$ac_ext
18328 cat >>conftest.$ac_ext <<_ACEOF
18329 /* end confdefs.h. */
18330
18331 int
18332 main ()
18333 {
18334 /* FIXME: Include the comments suggested by Paul. */
18335 #ifndef __cplusplus
18336 /* Ultrix mips cc rejects this. */
18337 typedef int charset[2];
18338 const charset cs;
18339 /* SunOS 4.1.1 cc rejects this. */
18340 char const *const *pcpcc;
18341 char **ppc;
18342 /* NEC SVR4.0.2 mips cc rejects this. */
18343 struct point {int x, y;};
18344 static struct point const zero = {0,0};
18345 /* AIX XL C 1.02.0.0 rejects this.
18346 It does not let you subtract one const X* pointer from another in
18347 an arm of an if-expression whose if-part is not a constant
18348 expression */
18349 const char *g = "string";
18350 pcpcc = &g + (g ? g-g : 0);
18351 /* HPUX 7.0 cc rejects these. */
18352 ++pcpcc;
18353 ppc = (char**) pcpcc;
18354 pcpcc = (char const *const *) ppc;
18355 { /* SCO 3.2v4 cc rejects this. */
18356 char *t;
18357 char const *s = 0 ? (char *) 0 : (char const *) 0;
18358
18359 *t++ = 0;
18360 if (s) return 0;
18361 }
18362 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18363 int x[] = {25, 17};
18364 const int *foo = &x[0];
18365 ++foo;
18366 }
18367 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18368 typedef const int *iptr;
18369 iptr p = 0;
18370 ++p;
18371 }
18372 { /* AIX XL C 1.02.0.0 rejects this saying
18373 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18374 struct s { int j; const int *ap[3]; };
18375 struct s *b; b->j = 5;
18376 }
18377 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18378 const int foo = 10;
18379 if (!foo) return 0;
18380 }
18381 return !cs[0] && !zero.x;
18382 #endif
18383
18384 ;
18385 return 0;
18386 }
18387 _ACEOF
18388 rm -f conftest.$ac_objext
18389 if { (ac_try="$ac_compile"
18390 case "(($ac_try" in
18391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18392 *) ac_try_echo=$ac_try;;
18393 esac
18394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18395 (eval "$ac_compile") 2>conftest.er1
18396 ac_status=$?
18397 grep -v '^ *+' conftest.er1 >conftest.err
18398 rm -f conftest.er1
18399 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } && {
18402 test -z "$ac_c_werror_flag" ||
18403 test ! -s conftest.err
18404 } && test -s conftest.$ac_objext; then
18405 ac_cv_c_const=yes
18406 else
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5
18409
18410 ac_cv_c_const=no
18411 fi
18412
18413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18414 fi
18415 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18416 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18417 if test $ac_cv_c_const = no; then
18418
18419 cat >>confdefs.h <<\_ACEOF
18420 #define const
18421 _ACEOF
18422
18423 fi
18424
18425 { echo "$as_me:$LINENO: checking for inline" >&5
18426 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18427 if test "${ac_cv_c_inline+set}" = set; then
18428 echo $ECHO_N "(cached) $ECHO_C" >&6
18429 else
18430 ac_cv_c_inline=no
18431 for ac_kw in inline __inline__ __inline; do
18432 cat >conftest.$ac_ext <<_ACEOF
18433 /* confdefs.h. */
18434 _ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 #ifndef __cplusplus
18439 typedef int foo_t;
18440 static $ac_kw foo_t static_foo () {return 0; }
18441 $ac_kw foo_t foo () {return 0; }
18442 #endif
18443
18444 _ACEOF
18445 rm -f conftest.$ac_objext
18446 if { (ac_try="$ac_compile"
18447 case "(($ac_try" in
18448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18449 *) ac_try_echo=$ac_try;;
18450 esac
18451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18452 (eval "$ac_compile") 2>conftest.er1
18453 ac_status=$?
18454 grep -v '^ *+' conftest.er1 >conftest.err
18455 rm -f conftest.er1
18456 cat conftest.err >&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); } && {
18459 test -z "$ac_c_werror_flag" ||
18460 test ! -s conftest.err
18461 } && test -s conftest.$ac_objext; then
18462 ac_cv_c_inline=$ac_kw
18463 else
18464 echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.$ac_ext >&5
18466
18467
18468 fi
18469
18470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18471 test "$ac_cv_c_inline" != no && break
18472 done
18473
18474 fi
18475 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18476 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18477
18478
18479 case $ac_cv_c_inline in
18480 inline | yes) ;;
18481 *)
18482 case $ac_cv_c_inline in
18483 no) ac_val=;;
18484 *) ac_val=$ac_cv_c_inline;;
18485 esac
18486 cat >>confdefs.h <<_ACEOF
18487 #ifndef __cplusplus
18488 #define inline $ac_val
18489 #endif
18490 _ACEOF
18491 ;;
18492 esac
18493
18494
18495 { echo "$as_me:$LINENO: checking for short" >&5
18496 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18497 if test "${ac_cv_type_short+set}" = set; then
18498 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 else
18500 cat >conftest.$ac_ext <<_ACEOF
18501 /* confdefs.h. */
18502 _ACEOF
18503 cat confdefs.h >>conftest.$ac_ext
18504 cat >>conftest.$ac_ext <<_ACEOF
18505 /* end confdefs.h. */
18506 $ac_includes_default
18507 typedef short ac__type_new_;
18508 int
18509 main ()
18510 {
18511 if ((ac__type_new_ *) 0)
18512 return 0;
18513 if (sizeof (ac__type_new_))
18514 return 0;
18515 ;
18516 return 0;
18517 }
18518 _ACEOF
18519 rm -f conftest.$ac_objext
18520 if { (ac_try="$ac_compile"
18521 case "(($ac_try" in
18522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18523 *) ac_try_echo=$ac_try;;
18524 esac
18525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18526 (eval "$ac_compile") 2>conftest.er1
18527 ac_status=$?
18528 grep -v '^ *+' conftest.er1 >conftest.err
18529 rm -f conftest.er1
18530 cat conftest.err >&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } && {
18533 test -z "$ac_c_werror_flag" ||
18534 test ! -s conftest.err
18535 } && test -s conftest.$ac_objext; then
18536 ac_cv_type_short=yes
18537 else
18538 echo "$as_me: failed program was:" >&5
18539 sed 's/^/| /' conftest.$ac_ext >&5
18540
18541 ac_cv_type_short=no
18542 fi
18543
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18545 fi
18546 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18547 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18548
18549 # The cast to long int works around a bug in the HP C Compiler
18550 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18551 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18552 # This bug is HP SR number 8606223364.
18553 { echo "$as_me:$LINENO: checking size of short" >&5
18554 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18555 if test "${ac_cv_sizeof_short+set}" = set; then
18556 echo $ECHO_N "(cached) $ECHO_C" >&6
18557 else
18558 if test "$cross_compiling" = yes; then
18559 # Depending upon the size, compute the lo and hi bounds.
18560 cat >conftest.$ac_ext <<_ACEOF
18561 /* confdefs.h. */
18562 _ACEOF
18563 cat confdefs.h >>conftest.$ac_ext
18564 cat >>conftest.$ac_ext <<_ACEOF
18565 /* end confdefs.h. */
18566 $ac_includes_default
18567 typedef short ac__type_sizeof_;
18568 int
18569 main ()
18570 {
18571 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18572 test_array [0] = 0
18573
18574 ;
18575 return 0;
18576 }
18577 _ACEOF
18578 rm -f conftest.$ac_objext
18579 if { (ac_try="$ac_compile"
18580 case "(($ac_try" in
18581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18582 *) ac_try_echo=$ac_try;;
18583 esac
18584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18585 (eval "$ac_compile") 2>conftest.er1
18586 ac_status=$?
18587 grep -v '^ *+' conftest.er1 >conftest.err
18588 rm -f conftest.er1
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } && {
18592 test -z "$ac_c_werror_flag" ||
18593 test ! -s conftest.err
18594 } && test -s conftest.$ac_objext; then
18595 ac_lo=0 ac_mid=0
18596 while :; do
18597 cat >conftest.$ac_ext <<_ACEOF
18598 /* confdefs.h. */
18599 _ACEOF
18600 cat confdefs.h >>conftest.$ac_ext
18601 cat >>conftest.$ac_ext <<_ACEOF
18602 /* end confdefs.h. */
18603 $ac_includes_default
18604 typedef short ac__type_sizeof_;
18605 int
18606 main ()
18607 {
18608 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18609 test_array [0] = 0
18610
18611 ;
18612 return 0;
18613 }
18614 _ACEOF
18615 rm -f conftest.$ac_objext
18616 if { (ac_try="$ac_compile"
18617 case "(($ac_try" in
18618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18619 *) ac_try_echo=$ac_try;;
18620 esac
18621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18622 (eval "$ac_compile") 2>conftest.er1
18623 ac_status=$?
18624 grep -v '^ *+' conftest.er1 >conftest.err
18625 rm -f conftest.er1
18626 cat conftest.err >&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); } && {
18629 test -z "$ac_c_werror_flag" ||
18630 test ! -s conftest.err
18631 } && test -s conftest.$ac_objext; then
18632 ac_hi=$ac_mid; break
18633 else
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.$ac_ext >&5
18636
18637 ac_lo=`expr $ac_mid + 1`
18638 if test $ac_lo -le $ac_mid; then
18639 ac_lo= ac_hi=
18640 break
18641 fi
18642 ac_mid=`expr 2 '*' $ac_mid + 1`
18643 fi
18644
18645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18646 done
18647 else
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.$ac_ext >&5
18650
18651 cat >conftest.$ac_ext <<_ACEOF
18652 /* confdefs.h. */
18653 _ACEOF
18654 cat confdefs.h >>conftest.$ac_ext
18655 cat >>conftest.$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18657 $ac_includes_default
18658 typedef short ac__type_sizeof_;
18659 int
18660 main ()
18661 {
18662 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18663 test_array [0] = 0
18664
18665 ;
18666 return 0;
18667 }
18668 _ACEOF
18669 rm -f conftest.$ac_objext
18670 if { (ac_try="$ac_compile"
18671 case "(($ac_try" in
18672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18673 *) ac_try_echo=$ac_try;;
18674 esac
18675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18676 (eval "$ac_compile") 2>conftest.er1
18677 ac_status=$?
18678 grep -v '^ *+' conftest.er1 >conftest.err
18679 rm -f conftest.er1
18680 cat conftest.err >&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } && {
18683 test -z "$ac_c_werror_flag" ||
18684 test ! -s conftest.err
18685 } && test -s conftest.$ac_objext; then
18686 ac_hi=-1 ac_mid=-1
18687 while :; do
18688 cat >conftest.$ac_ext <<_ACEOF
18689 /* confdefs.h. */
18690 _ACEOF
18691 cat confdefs.h >>conftest.$ac_ext
18692 cat >>conftest.$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 $ac_includes_default
18695 typedef short ac__type_sizeof_;
18696 int
18697 main ()
18698 {
18699 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18700 test_array [0] = 0
18701
18702 ;
18703 return 0;
18704 }
18705 _ACEOF
18706 rm -f conftest.$ac_objext
18707 if { (ac_try="$ac_compile"
18708 case "(($ac_try" in
18709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18710 *) ac_try_echo=$ac_try;;
18711 esac
18712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18713 (eval "$ac_compile") 2>conftest.er1
18714 ac_status=$?
18715 grep -v '^ *+' conftest.er1 >conftest.err
18716 rm -f conftest.er1
18717 cat conftest.err >&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } && {
18720 test -z "$ac_c_werror_flag" ||
18721 test ! -s conftest.err
18722 } && test -s conftest.$ac_objext; then
18723 ac_lo=$ac_mid; break
18724 else
18725 echo "$as_me: failed program was:" >&5
18726 sed 's/^/| /' conftest.$ac_ext >&5
18727
18728 ac_hi=`expr '(' $ac_mid ')' - 1`
18729 if test $ac_mid -le $ac_hi; then
18730 ac_lo= ac_hi=
18731 break
18732 fi
18733 ac_mid=`expr 2 '*' $ac_mid`
18734 fi
18735
18736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18737 done
18738 else
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.$ac_ext >&5
18741
18742 ac_lo= ac_hi=
18743 fi
18744
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18746 fi
18747
18748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18749 # Binary search between lo and hi bounds.
18750 while test "x$ac_lo" != "x$ac_hi"; do
18751 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18752 cat >conftest.$ac_ext <<_ACEOF
18753 /* confdefs.h. */
18754 _ACEOF
18755 cat confdefs.h >>conftest.$ac_ext
18756 cat >>conftest.$ac_ext <<_ACEOF
18757 /* end confdefs.h. */
18758 $ac_includes_default
18759 typedef short ac__type_sizeof_;
18760 int
18761 main ()
18762 {
18763 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18764 test_array [0] = 0
18765
18766 ;
18767 return 0;
18768 }
18769 _ACEOF
18770 rm -f conftest.$ac_objext
18771 if { (ac_try="$ac_compile"
18772 case "(($ac_try" in
18773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18774 *) ac_try_echo=$ac_try;;
18775 esac
18776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18777 (eval "$ac_compile") 2>conftest.er1
18778 ac_status=$?
18779 grep -v '^ *+' conftest.er1 >conftest.err
18780 rm -f conftest.er1
18781 cat conftest.err >&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } && {
18784 test -z "$ac_c_werror_flag" ||
18785 test ! -s conftest.err
18786 } && test -s conftest.$ac_objext; then
18787 ac_hi=$ac_mid
18788 else
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.$ac_ext >&5
18791
18792 ac_lo=`expr '(' $ac_mid ')' + 1`
18793 fi
18794
18795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796 done
18797 case $ac_lo in
18798 ?*) ac_cv_sizeof_short=$ac_lo;;
18799 '') if test "$ac_cv_type_short" = yes; then
18800 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18801 See \`config.log' for more details." >&5
18802 echo "$as_me: error: cannot compute sizeof (short)
18803 See \`config.log' for more details." >&2;}
18804 { (exit 77); exit 77; }; }
18805 else
18806 ac_cv_sizeof_short=0
18807 fi ;;
18808 esac
18809 else
18810 cat >conftest.$ac_ext <<_ACEOF
18811 /* confdefs.h. */
18812 _ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18816 $ac_includes_default
18817 typedef short ac__type_sizeof_;
18818 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18819 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18820 #include <stdio.h>
18821 #include <stdlib.h>
18822 int
18823 main ()
18824 {
18825
18826 FILE *f = fopen ("conftest.val", "w");
18827 if (! f)
18828 return 1;
18829 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18830 {
18831 long int i = longval ();
18832 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18833 return 1;
18834 fprintf (f, "%ld\n", i);
18835 }
18836 else
18837 {
18838 unsigned long int i = ulongval ();
18839 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18840 return 1;
18841 fprintf (f, "%lu\n", i);
18842 }
18843 return ferror (f) || fclose (f) != 0;
18844
18845 ;
18846 return 0;
18847 }
18848 _ACEOF
18849 rm -f conftest$ac_exeext
18850 if { (ac_try="$ac_link"
18851 case "(($ac_try" in
18852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18853 *) ac_try_echo=$ac_try;;
18854 esac
18855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18856 (eval "$ac_link") 2>&5
18857 ac_status=$?
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18860 { (case "(($ac_try" in
18861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18862 *) ac_try_echo=$ac_try;;
18863 esac
18864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18865 (eval "$ac_try") 2>&5
18866 ac_status=$?
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; }; then
18869 ac_cv_sizeof_short=`cat conftest.val`
18870 else
18871 echo "$as_me: program exited with status $ac_status" >&5
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18874
18875 ( exit $ac_status )
18876 if test "$ac_cv_type_short" = yes; then
18877 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18878 See \`config.log' for more details." >&5
18879 echo "$as_me: error: cannot compute sizeof (short)
18880 See \`config.log' for more details." >&2;}
18881 { (exit 77); exit 77; }; }
18882 else
18883 ac_cv_sizeof_short=0
18884 fi
18885 fi
18886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18887 fi
18888 rm -f conftest.val
18889 fi
18890 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18891 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18892
18893
18894
18895 cat >>confdefs.h <<_ACEOF
18896 #define SIZEOF_SHORT $ac_cv_sizeof_short
18897 _ACEOF
18898
18899
18900 { echo "$as_me:$LINENO: checking for void *" >&5
18901 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18902 if test "${ac_cv_type_void_p+set}" = set; then
18903 echo $ECHO_N "(cached) $ECHO_C" >&6
18904 else
18905 cat >conftest.$ac_ext <<_ACEOF
18906 /* confdefs.h. */
18907 _ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 $ac_includes_default
18912 typedef void * ac__type_new_;
18913 int
18914 main ()
18915 {
18916 if ((ac__type_new_ *) 0)
18917 return 0;
18918 if (sizeof (ac__type_new_))
18919 return 0;
18920 ;
18921 return 0;
18922 }
18923 _ACEOF
18924 rm -f conftest.$ac_objext
18925 if { (ac_try="$ac_compile"
18926 case "(($ac_try" in
18927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18928 *) ac_try_echo=$ac_try;;
18929 esac
18930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18931 (eval "$ac_compile") 2>conftest.er1
18932 ac_status=$?
18933 grep -v '^ *+' conftest.er1 >conftest.err
18934 rm -f conftest.er1
18935 cat conftest.err >&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } && {
18938 test -z "$ac_c_werror_flag" ||
18939 test ! -s conftest.err
18940 } && test -s conftest.$ac_objext; then
18941 ac_cv_type_void_p=yes
18942 else
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.$ac_ext >&5
18945
18946 ac_cv_type_void_p=no
18947 fi
18948
18949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18950 fi
18951 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18952 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18953
18954 # The cast to long int works around a bug in the HP C Compiler
18955 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18956 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18957 # This bug is HP SR number 8606223364.
18958 { echo "$as_me:$LINENO: checking size of void *" >&5
18959 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18960 if test "${ac_cv_sizeof_void_p+set}" = set; then
18961 echo $ECHO_N "(cached) $ECHO_C" >&6
18962 else
18963 if test "$cross_compiling" = yes; then
18964 # Depending upon the size, compute the lo and hi bounds.
18965 cat >conftest.$ac_ext <<_ACEOF
18966 /* confdefs.h. */
18967 _ACEOF
18968 cat confdefs.h >>conftest.$ac_ext
18969 cat >>conftest.$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18971 $ac_includes_default
18972 typedef void * ac__type_sizeof_;
18973 int
18974 main ()
18975 {
18976 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18977 test_array [0] = 0
18978
18979 ;
18980 return 0;
18981 }
18982 _ACEOF
18983 rm -f conftest.$ac_objext
18984 if { (ac_try="$ac_compile"
18985 case "(($ac_try" in
18986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18987 *) ac_try_echo=$ac_try;;
18988 esac
18989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18990 (eval "$ac_compile") 2>conftest.er1
18991 ac_status=$?
18992 grep -v '^ *+' conftest.er1 >conftest.err
18993 rm -f conftest.er1
18994 cat conftest.err >&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } && {
18997 test -z "$ac_c_werror_flag" ||
18998 test ! -s conftest.err
18999 } && test -s conftest.$ac_objext; then
19000 ac_lo=0 ac_mid=0
19001 while :; do
19002 cat >conftest.$ac_ext <<_ACEOF
19003 /* confdefs.h. */
19004 _ACEOF
19005 cat confdefs.h >>conftest.$ac_ext
19006 cat >>conftest.$ac_ext <<_ACEOF
19007 /* end confdefs.h. */
19008 $ac_includes_default
19009 typedef void * ac__type_sizeof_;
19010 int
19011 main ()
19012 {
19013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19014 test_array [0] = 0
19015
19016 ;
19017 return 0;
19018 }
19019 _ACEOF
19020 rm -f conftest.$ac_objext
19021 if { (ac_try="$ac_compile"
19022 case "(($ac_try" in
19023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19024 *) ac_try_echo=$ac_try;;
19025 esac
19026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19027 (eval "$ac_compile") 2>conftest.er1
19028 ac_status=$?
19029 grep -v '^ *+' conftest.er1 >conftest.err
19030 rm -f conftest.er1
19031 cat conftest.err >&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); } && {
19034 test -z "$ac_c_werror_flag" ||
19035 test ! -s conftest.err
19036 } && test -s conftest.$ac_objext; then
19037 ac_hi=$ac_mid; break
19038 else
19039 echo "$as_me: failed program was:" >&5
19040 sed 's/^/| /' conftest.$ac_ext >&5
19041
19042 ac_lo=`expr $ac_mid + 1`
19043 if test $ac_lo -le $ac_mid; then
19044 ac_lo= ac_hi=
19045 break
19046 fi
19047 ac_mid=`expr 2 '*' $ac_mid + 1`
19048 fi
19049
19050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19051 done
19052 else
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.$ac_ext >&5
19055
19056 cat >conftest.$ac_ext <<_ACEOF
19057 /* confdefs.h. */
19058 _ACEOF
19059 cat confdefs.h >>conftest.$ac_ext
19060 cat >>conftest.$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19062 $ac_includes_default
19063 typedef void * ac__type_sizeof_;
19064 int
19065 main ()
19066 {
19067 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19068 test_array [0] = 0
19069
19070 ;
19071 return 0;
19072 }
19073 _ACEOF
19074 rm -f conftest.$ac_objext
19075 if { (ac_try="$ac_compile"
19076 case "(($ac_try" in
19077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19078 *) ac_try_echo=$ac_try;;
19079 esac
19080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19081 (eval "$ac_compile") 2>conftest.er1
19082 ac_status=$?
19083 grep -v '^ *+' conftest.er1 >conftest.err
19084 rm -f conftest.er1
19085 cat conftest.err >&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); } && {
19088 test -z "$ac_c_werror_flag" ||
19089 test ! -s conftest.err
19090 } && test -s conftest.$ac_objext; then
19091 ac_hi=-1 ac_mid=-1
19092 while :; do
19093 cat >conftest.$ac_ext <<_ACEOF
19094 /* confdefs.h. */
19095 _ACEOF
19096 cat confdefs.h >>conftest.$ac_ext
19097 cat >>conftest.$ac_ext <<_ACEOF
19098 /* end confdefs.h. */
19099 $ac_includes_default
19100 typedef void * ac__type_sizeof_;
19101 int
19102 main ()
19103 {
19104 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19105 test_array [0] = 0
19106
19107 ;
19108 return 0;
19109 }
19110 _ACEOF
19111 rm -f conftest.$ac_objext
19112 if { (ac_try="$ac_compile"
19113 case "(($ac_try" in
19114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19115 *) ac_try_echo=$ac_try;;
19116 esac
19117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19118 (eval "$ac_compile") 2>conftest.er1
19119 ac_status=$?
19120 grep -v '^ *+' conftest.er1 >conftest.err
19121 rm -f conftest.er1
19122 cat conftest.err >&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); } && {
19125 test -z "$ac_c_werror_flag" ||
19126 test ! -s conftest.err
19127 } && test -s conftest.$ac_objext; then
19128 ac_lo=$ac_mid; break
19129 else
19130 echo "$as_me: failed program was:" >&5
19131 sed 's/^/| /' conftest.$ac_ext >&5
19132
19133 ac_hi=`expr '(' $ac_mid ')' - 1`
19134 if test $ac_mid -le $ac_hi; then
19135 ac_lo= ac_hi=
19136 break
19137 fi
19138 ac_mid=`expr 2 '*' $ac_mid`
19139 fi
19140
19141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19142 done
19143 else
19144 echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.$ac_ext >&5
19146
19147 ac_lo= ac_hi=
19148 fi
19149
19150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19151 fi
19152
19153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19154 # Binary search between lo and hi bounds.
19155 while test "x$ac_lo" != "x$ac_hi"; do
19156 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19157 cat >conftest.$ac_ext <<_ACEOF
19158 /* confdefs.h. */
19159 _ACEOF
19160 cat confdefs.h >>conftest.$ac_ext
19161 cat >>conftest.$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19163 $ac_includes_default
19164 typedef void * ac__type_sizeof_;
19165 int
19166 main ()
19167 {
19168 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19169 test_array [0] = 0
19170
19171 ;
19172 return 0;
19173 }
19174 _ACEOF
19175 rm -f conftest.$ac_objext
19176 if { (ac_try="$ac_compile"
19177 case "(($ac_try" in
19178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19179 *) ac_try_echo=$ac_try;;
19180 esac
19181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19182 (eval "$ac_compile") 2>conftest.er1
19183 ac_status=$?
19184 grep -v '^ *+' conftest.er1 >conftest.err
19185 rm -f conftest.er1
19186 cat conftest.err >&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } && {
19189 test -z "$ac_c_werror_flag" ||
19190 test ! -s conftest.err
19191 } && test -s conftest.$ac_objext; then
19192 ac_hi=$ac_mid
19193 else
19194 echo "$as_me: failed program was:" >&5
19195 sed 's/^/| /' conftest.$ac_ext >&5
19196
19197 ac_lo=`expr '(' $ac_mid ')' + 1`
19198 fi
19199
19200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19201 done
19202 case $ac_lo in
19203 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19204 '') if test "$ac_cv_type_void_p" = yes; then
19205 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19206 See \`config.log' for more details." >&5
19207 echo "$as_me: error: cannot compute sizeof (void *)
19208 See \`config.log' for more details." >&2;}
19209 { (exit 77); exit 77; }; }
19210 else
19211 ac_cv_sizeof_void_p=0
19212 fi ;;
19213 esac
19214 else
19215 cat >conftest.$ac_ext <<_ACEOF
19216 /* confdefs.h. */
19217 _ACEOF
19218 cat confdefs.h >>conftest.$ac_ext
19219 cat >>conftest.$ac_ext <<_ACEOF
19220 /* end confdefs.h. */
19221 $ac_includes_default
19222 typedef void * ac__type_sizeof_;
19223 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19224 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19225 #include <stdio.h>
19226 #include <stdlib.h>
19227 int
19228 main ()
19229 {
19230
19231 FILE *f = fopen ("conftest.val", "w");
19232 if (! f)
19233 return 1;
19234 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19235 {
19236 long int i = longval ();
19237 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19238 return 1;
19239 fprintf (f, "%ld\n", i);
19240 }
19241 else
19242 {
19243 unsigned long int i = ulongval ();
19244 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19245 return 1;
19246 fprintf (f, "%lu\n", i);
19247 }
19248 return ferror (f) || fclose (f) != 0;
19249
19250 ;
19251 return 0;
19252 }
19253 _ACEOF
19254 rm -f conftest$ac_exeext
19255 if { (ac_try="$ac_link"
19256 case "(($ac_try" in
19257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19258 *) ac_try_echo=$ac_try;;
19259 esac
19260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19261 (eval "$ac_link") 2>&5
19262 ac_status=$?
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19265 { (case "(($ac_try" in
19266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19267 *) ac_try_echo=$ac_try;;
19268 esac
19269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19270 (eval "$ac_try") 2>&5
19271 ac_status=$?
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; }; then
19274 ac_cv_sizeof_void_p=`cat conftest.val`
19275 else
19276 echo "$as_me: program exited with status $ac_status" >&5
19277 echo "$as_me: failed program was:" >&5
19278 sed 's/^/| /' conftest.$ac_ext >&5
19279
19280 ( exit $ac_status )
19281 if test "$ac_cv_type_void_p" = yes; then
19282 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19283 See \`config.log' for more details." >&5
19284 echo "$as_me: error: cannot compute sizeof (void *)
19285 See \`config.log' for more details." >&2;}
19286 { (exit 77); exit 77; }; }
19287 else
19288 ac_cv_sizeof_void_p=0
19289 fi
19290 fi
19291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19292 fi
19293 rm -f conftest.val
19294 fi
19295 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19296 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19297
19298
19299
19300 cat >>confdefs.h <<_ACEOF
19301 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19302 _ACEOF
19303
19304
19305 { echo "$as_me:$LINENO: checking for int" >&5
19306 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19307 if test "${ac_cv_type_int+set}" = set; then
19308 echo $ECHO_N "(cached) $ECHO_C" >&6
19309 else
19310 cat >conftest.$ac_ext <<_ACEOF
19311 /* confdefs.h. */
19312 _ACEOF
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 $ac_includes_default
19317 typedef int ac__type_new_;
19318 int
19319 main ()
19320 {
19321 if ((ac__type_new_ *) 0)
19322 return 0;
19323 if (sizeof (ac__type_new_))
19324 return 0;
19325 ;
19326 return 0;
19327 }
19328 _ACEOF
19329 rm -f conftest.$ac_objext
19330 if { (ac_try="$ac_compile"
19331 case "(($ac_try" in
19332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19333 *) ac_try_echo=$ac_try;;
19334 esac
19335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19336 (eval "$ac_compile") 2>conftest.er1
19337 ac_status=$?
19338 grep -v '^ *+' conftest.er1 >conftest.err
19339 rm -f conftest.er1
19340 cat conftest.err >&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } && {
19343 test -z "$ac_c_werror_flag" ||
19344 test ! -s conftest.err
19345 } && test -s conftest.$ac_objext; then
19346 ac_cv_type_int=yes
19347 else
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19350
19351 ac_cv_type_int=no
19352 fi
19353
19354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19355 fi
19356 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19357 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19358
19359 # The cast to long int works around a bug in the HP C Compiler
19360 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19361 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19362 # This bug is HP SR number 8606223364.
19363 { echo "$as_me:$LINENO: checking size of int" >&5
19364 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19365 if test "${ac_cv_sizeof_int+set}" = set; then
19366 echo $ECHO_N "(cached) $ECHO_C" >&6
19367 else
19368 if test "$cross_compiling" = yes; then
19369 # Depending upon the size, compute the lo and hi bounds.
19370 cat >conftest.$ac_ext <<_ACEOF
19371 /* confdefs.h. */
19372 _ACEOF
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376 $ac_includes_default
19377 typedef int ac__type_sizeof_;
19378 int
19379 main ()
19380 {
19381 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19382 test_array [0] = 0
19383
19384 ;
19385 return 0;
19386 }
19387 _ACEOF
19388 rm -f conftest.$ac_objext
19389 if { (ac_try="$ac_compile"
19390 case "(($ac_try" in
19391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19392 *) ac_try_echo=$ac_try;;
19393 esac
19394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19395 (eval "$ac_compile") 2>conftest.er1
19396 ac_status=$?
19397 grep -v '^ *+' conftest.er1 >conftest.err
19398 rm -f conftest.er1
19399 cat conftest.err >&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } && {
19402 test -z "$ac_c_werror_flag" ||
19403 test ! -s conftest.err
19404 } && test -s conftest.$ac_objext; then
19405 ac_lo=0 ac_mid=0
19406 while :; do
19407 cat >conftest.$ac_ext <<_ACEOF
19408 /* confdefs.h. */
19409 _ACEOF
19410 cat confdefs.h >>conftest.$ac_ext
19411 cat >>conftest.$ac_ext <<_ACEOF
19412 /* end confdefs.h. */
19413 $ac_includes_default
19414 typedef int ac__type_sizeof_;
19415 int
19416 main ()
19417 {
19418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19419 test_array [0] = 0
19420
19421 ;
19422 return 0;
19423 }
19424 _ACEOF
19425 rm -f conftest.$ac_objext
19426 if { (ac_try="$ac_compile"
19427 case "(($ac_try" in
19428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19429 *) ac_try_echo=$ac_try;;
19430 esac
19431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19432 (eval "$ac_compile") 2>conftest.er1
19433 ac_status=$?
19434 grep -v '^ *+' conftest.er1 >conftest.err
19435 rm -f conftest.er1
19436 cat conftest.err >&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } && {
19439 test -z "$ac_c_werror_flag" ||
19440 test ! -s conftest.err
19441 } && test -s conftest.$ac_objext; then
19442 ac_hi=$ac_mid; break
19443 else
19444 echo "$as_me: failed program was:" >&5
19445 sed 's/^/| /' conftest.$ac_ext >&5
19446
19447 ac_lo=`expr $ac_mid + 1`
19448 if test $ac_lo -le $ac_mid; then
19449 ac_lo= ac_hi=
19450 break
19451 fi
19452 ac_mid=`expr 2 '*' $ac_mid + 1`
19453 fi
19454
19455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19456 done
19457 else
19458 echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.$ac_ext >&5
19460
19461 cat >conftest.$ac_ext <<_ACEOF
19462 /* confdefs.h. */
19463 _ACEOF
19464 cat confdefs.h >>conftest.$ac_ext
19465 cat >>conftest.$ac_ext <<_ACEOF
19466 /* end confdefs.h. */
19467 $ac_includes_default
19468 typedef int ac__type_sizeof_;
19469 int
19470 main ()
19471 {
19472 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19473 test_array [0] = 0
19474
19475 ;
19476 return 0;
19477 }
19478 _ACEOF
19479 rm -f conftest.$ac_objext
19480 if { (ac_try="$ac_compile"
19481 case "(($ac_try" in
19482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19483 *) ac_try_echo=$ac_try;;
19484 esac
19485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19486 (eval "$ac_compile") 2>conftest.er1
19487 ac_status=$?
19488 grep -v '^ *+' conftest.er1 >conftest.err
19489 rm -f conftest.er1
19490 cat conftest.err >&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); } && {
19493 test -z "$ac_c_werror_flag" ||
19494 test ! -s conftest.err
19495 } && test -s conftest.$ac_objext; then
19496 ac_hi=-1 ac_mid=-1
19497 while :; do
19498 cat >conftest.$ac_ext <<_ACEOF
19499 /* confdefs.h. */
19500 _ACEOF
19501 cat confdefs.h >>conftest.$ac_ext
19502 cat >>conftest.$ac_ext <<_ACEOF
19503 /* end confdefs.h. */
19504 $ac_includes_default
19505 typedef int ac__type_sizeof_;
19506 int
19507 main ()
19508 {
19509 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19510 test_array [0] = 0
19511
19512 ;
19513 return 0;
19514 }
19515 _ACEOF
19516 rm -f conftest.$ac_objext
19517 if { (ac_try="$ac_compile"
19518 case "(($ac_try" in
19519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19520 *) ac_try_echo=$ac_try;;
19521 esac
19522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19523 (eval "$ac_compile") 2>conftest.er1
19524 ac_status=$?
19525 grep -v '^ *+' conftest.er1 >conftest.err
19526 rm -f conftest.er1
19527 cat conftest.err >&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } && {
19530 test -z "$ac_c_werror_flag" ||
19531 test ! -s conftest.err
19532 } && test -s conftest.$ac_objext; then
19533 ac_lo=$ac_mid; break
19534 else
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19537
19538 ac_hi=`expr '(' $ac_mid ')' - 1`
19539 if test $ac_mid -le $ac_hi; then
19540 ac_lo= ac_hi=
19541 break
19542 fi
19543 ac_mid=`expr 2 '*' $ac_mid`
19544 fi
19545
19546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19547 done
19548 else
19549 echo "$as_me: failed program was:" >&5
19550 sed 's/^/| /' conftest.$ac_ext >&5
19551
19552 ac_lo= ac_hi=
19553 fi
19554
19555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19556 fi
19557
19558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19559 # Binary search between lo and hi bounds.
19560 while test "x$ac_lo" != "x$ac_hi"; do
19561 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19562 cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h. */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 $ac_includes_default
19569 typedef int ac__type_sizeof_;
19570 int
19571 main ()
19572 {
19573 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19574 test_array [0] = 0
19575
19576 ;
19577 return 0;
19578 }
19579 _ACEOF
19580 rm -f conftest.$ac_objext
19581 if { (ac_try="$ac_compile"
19582 case "(($ac_try" in
19583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19584 *) ac_try_echo=$ac_try;;
19585 esac
19586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19587 (eval "$ac_compile") 2>conftest.er1
19588 ac_status=$?
19589 grep -v '^ *+' conftest.er1 >conftest.err
19590 rm -f conftest.er1
19591 cat conftest.err >&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } && {
19594 test -z "$ac_c_werror_flag" ||
19595 test ! -s conftest.err
19596 } && test -s conftest.$ac_objext; then
19597 ac_hi=$ac_mid
19598 else
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.$ac_ext >&5
19601
19602 ac_lo=`expr '(' $ac_mid ')' + 1`
19603 fi
19604
19605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19606 done
19607 case $ac_lo in
19608 ?*) ac_cv_sizeof_int=$ac_lo;;
19609 '') if test "$ac_cv_type_int" = yes; then
19610 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19611 See \`config.log' for more details." >&5
19612 echo "$as_me: error: cannot compute sizeof (int)
19613 See \`config.log' for more details." >&2;}
19614 { (exit 77); exit 77; }; }
19615 else
19616 ac_cv_sizeof_int=0
19617 fi ;;
19618 esac
19619 else
19620 cat >conftest.$ac_ext <<_ACEOF
19621 /* confdefs.h. */
19622 _ACEOF
19623 cat confdefs.h >>conftest.$ac_ext
19624 cat >>conftest.$ac_ext <<_ACEOF
19625 /* end confdefs.h. */
19626 $ac_includes_default
19627 typedef int ac__type_sizeof_;
19628 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19629 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19630 #include <stdio.h>
19631 #include <stdlib.h>
19632 int
19633 main ()
19634 {
19635
19636 FILE *f = fopen ("conftest.val", "w");
19637 if (! f)
19638 return 1;
19639 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19640 {
19641 long int i = longval ();
19642 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19643 return 1;
19644 fprintf (f, "%ld\n", i);
19645 }
19646 else
19647 {
19648 unsigned long int i = ulongval ();
19649 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19650 return 1;
19651 fprintf (f, "%lu\n", i);
19652 }
19653 return ferror (f) || fclose (f) != 0;
19654
19655 ;
19656 return 0;
19657 }
19658 _ACEOF
19659 rm -f conftest$ac_exeext
19660 if { (ac_try="$ac_link"
19661 case "(($ac_try" in
19662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19663 *) ac_try_echo=$ac_try;;
19664 esac
19665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19666 (eval "$ac_link") 2>&5
19667 ac_status=$?
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19670 { (case "(($ac_try" in
19671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19672 *) ac_try_echo=$ac_try;;
19673 esac
19674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19675 (eval "$ac_try") 2>&5
19676 ac_status=$?
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }; }; then
19679 ac_cv_sizeof_int=`cat conftest.val`
19680 else
19681 echo "$as_me: program exited with status $ac_status" >&5
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.$ac_ext >&5
19684
19685 ( exit $ac_status )
19686 if test "$ac_cv_type_int" = yes; then
19687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19688 See \`config.log' for more details." >&5
19689 echo "$as_me: error: cannot compute sizeof (int)
19690 See \`config.log' for more details." >&2;}
19691 { (exit 77); exit 77; }; }
19692 else
19693 ac_cv_sizeof_int=0
19694 fi
19695 fi
19696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19697 fi
19698 rm -f conftest.val
19699 fi
19700 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19701 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19702
19703
19704
19705 cat >>confdefs.h <<_ACEOF
19706 #define SIZEOF_INT $ac_cv_sizeof_int
19707 _ACEOF
19708
19709
19710 { echo "$as_me:$LINENO: checking for long" >&5
19711 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19712 if test "${ac_cv_type_long+set}" = set; then
19713 echo $ECHO_N "(cached) $ECHO_C" >&6
19714 else
19715 cat >conftest.$ac_ext <<_ACEOF
19716 /* confdefs.h. */
19717 _ACEOF
19718 cat confdefs.h >>conftest.$ac_ext
19719 cat >>conftest.$ac_ext <<_ACEOF
19720 /* end confdefs.h. */
19721 $ac_includes_default
19722 typedef long ac__type_new_;
19723 int
19724 main ()
19725 {
19726 if ((ac__type_new_ *) 0)
19727 return 0;
19728 if (sizeof (ac__type_new_))
19729 return 0;
19730 ;
19731 return 0;
19732 }
19733 _ACEOF
19734 rm -f conftest.$ac_objext
19735 if { (ac_try="$ac_compile"
19736 case "(($ac_try" in
19737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19738 *) ac_try_echo=$ac_try;;
19739 esac
19740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19741 (eval "$ac_compile") 2>conftest.er1
19742 ac_status=$?
19743 grep -v '^ *+' conftest.er1 >conftest.err
19744 rm -f conftest.er1
19745 cat conftest.err >&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); } && {
19748 test -z "$ac_c_werror_flag" ||
19749 test ! -s conftest.err
19750 } && test -s conftest.$ac_objext; then
19751 ac_cv_type_long=yes
19752 else
19753 echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.$ac_ext >&5
19755
19756 ac_cv_type_long=no
19757 fi
19758
19759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19760 fi
19761 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19762 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19763
19764 # The cast to long int works around a bug in the HP C Compiler
19765 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19766 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19767 # This bug is HP SR number 8606223364.
19768 { echo "$as_me:$LINENO: checking size of long" >&5
19769 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19770 if test "${ac_cv_sizeof_long+set}" = set; then
19771 echo $ECHO_N "(cached) $ECHO_C" >&6
19772 else
19773 if test "$cross_compiling" = yes; then
19774 # Depending upon the size, compute the lo and hi bounds.
19775 cat >conftest.$ac_ext <<_ACEOF
19776 /* confdefs.h. */
19777 _ACEOF
19778 cat confdefs.h >>conftest.$ac_ext
19779 cat >>conftest.$ac_ext <<_ACEOF
19780 /* end confdefs.h. */
19781 $ac_includes_default
19782 typedef long ac__type_sizeof_;
19783 int
19784 main ()
19785 {
19786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19787 test_array [0] = 0
19788
19789 ;
19790 return 0;
19791 }
19792 _ACEOF
19793 rm -f conftest.$ac_objext
19794 if { (ac_try="$ac_compile"
19795 case "(($ac_try" in
19796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19797 *) ac_try_echo=$ac_try;;
19798 esac
19799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19800 (eval "$ac_compile") 2>conftest.er1
19801 ac_status=$?
19802 grep -v '^ *+' conftest.er1 >conftest.err
19803 rm -f conftest.er1
19804 cat conftest.err >&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); } && {
19807 test -z "$ac_c_werror_flag" ||
19808 test ! -s conftest.err
19809 } && test -s conftest.$ac_objext; then
19810 ac_lo=0 ac_mid=0
19811 while :; do
19812 cat >conftest.$ac_ext <<_ACEOF
19813 /* confdefs.h. */
19814 _ACEOF
19815 cat confdefs.h >>conftest.$ac_ext
19816 cat >>conftest.$ac_ext <<_ACEOF
19817 /* end confdefs.h. */
19818 $ac_includes_default
19819 typedef long ac__type_sizeof_;
19820 int
19821 main ()
19822 {
19823 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19824 test_array [0] = 0
19825
19826 ;
19827 return 0;
19828 }
19829 _ACEOF
19830 rm -f conftest.$ac_objext
19831 if { (ac_try="$ac_compile"
19832 case "(($ac_try" in
19833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19834 *) ac_try_echo=$ac_try;;
19835 esac
19836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19837 (eval "$ac_compile") 2>conftest.er1
19838 ac_status=$?
19839 grep -v '^ *+' conftest.er1 >conftest.err
19840 rm -f conftest.er1
19841 cat conftest.err >&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } && {
19844 test -z "$ac_c_werror_flag" ||
19845 test ! -s conftest.err
19846 } && test -s conftest.$ac_objext; then
19847 ac_hi=$ac_mid; break
19848 else
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19851
19852 ac_lo=`expr $ac_mid + 1`
19853 if test $ac_lo -le $ac_mid; then
19854 ac_lo= ac_hi=
19855 break
19856 fi
19857 ac_mid=`expr 2 '*' $ac_mid + 1`
19858 fi
19859
19860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19861 done
19862 else
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.$ac_ext >&5
19865
19866 cat >conftest.$ac_ext <<_ACEOF
19867 /* confdefs.h. */
19868 _ACEOF
19869 cat confdefs.h >>conftest.$ac_ext
19870 cat >>conftest.$ac_ext <<_ACEOF
19871 /* end confdefs.h. */
19872 $ac_includes_default
19873 typedef long ac__type_sizeof_;
19874 int
19875 main ()
19876 {
19877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19878 test_array [0] = 0
19879
19880 ;
19881 return 0;
19882 }
19883 _ACEOF
19884 rm -f conftest.$ac_objext
19885 if { (ac_try="$ac_compile"
19886 case "(($ac_try" in
19887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19888 *) ac_try_echo=$ac_try;;
19889 esac
19890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19891 (eval "$ac_compile") 2>conftest.er1
19892 ac_status=$?
19893 grep -v '^ *+' conftest.er1 >conftest.err
19894 rm -f conftest.er1
19895 cat conftest.err >&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); } && {
19898 test -z "$ac_c_werror_flag" ||
19899 test ! -s conftest.err
19900 } && test -s conftest.$ac_objext; then
19901 ac_hi=-1 ac_mid=-1
19902 while :; do
19903 cat >conftest.$ac_ext <<_ACEOF
19904 /* confdefs.h. */
19905 _ACEOF
19906 cat confdefs.h >>conftest.$ac_ext
19907 cat >>conftest.$ac_ext <<_ACEOF
19908 /* end confdefs.h. */
19909 $ac_includes_default
19910 typedef long ac__type_sizeof_;
19911 int
19912 main ()
19913 {
19914 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19915 test_array [0] = 0
19916
19917 ;
19918 return 0;
19919 }
19920 _ACEOF
19921 rm -f conftest.$ac_objext
19922 if { (ac_try="$ac_compile"
19923 case "(($ac_try" in
19924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19925 *) ac_try_echo=$ac_try;;
19926 esac
19927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19928 (eval "$ac_compile") 2>conftest.er1
19929 ac_status=$?
19930 grep -v '^ *+' conftest.er1 >conftest.err
19931 rm -f conftest.er1
19932 cat conftest.err >&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); } && {
19935 test -z "$ac_c_werror_flag" ||
19936 test ! -s conftest.err
19937 } && test -s conftest.$ac_objext; then
19938 ac_lo=$ac_mid; break
19939 else
19940 echo "$as_me: failed program was:" >&5
19941 sed 's/^/| /' conftest.$ac_ext >&5
19942
19943 ac_hi=`expr '(' $ac_mid ')' - 1`
19944 if test $ac_mid -le $ac_hi; then
19945 ac_lo= ac_hi=
19946 break
19947 fi
19948 ac_mid=`expr 2 '*' $ac_mid`
19949 fi
19950
19951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19952 done
19953 else
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19956
19957 ac_lo= ac_hi=
19958 fi
19959
19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19961 fi
19962
19963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19964 # Binary search between lo and hi bounds.
19965 while test "x$ac_lo" != "x$ac_hi"; do
19966 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19967 cat >conftest.$ac_ext <<_ACEOF
19968 /* confdefs.h. */
19969 _ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 $ac_includes_default
19974 typedef long ac__type_sizeof_;
19975 int
19976 main ()
19977 {
19978 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19979 test_array [0] = 0
19980
19981 ;
19982 return 0;
19983 }
19984 _ACEOF
19985 rm -f conftest.$ac_objext
19986 if { (ac_try="$ac_compile"
19987 case "(($ac_try" in
19988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19989 *) ac_try_echo=$ac_try;;
19990 esac
19991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19992 (eval "$ac_compile") 2>conftest.er1
19993 ac_status=$?
19994 grep -v '^ *+' conftest.er1 >conftest.err
19995 rm -f conftest.er1
19996 cat conftest.err >&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); } && {
19999 test -z "$ac_c_werror_flag" ||
20000 test ! -s conftest.err
20001 } && test -s conftest.$ac_objext; then
20002 ac_hi=$ac_mid
20003 else
20004 echo "$as_me: failed program was:" >&5
20005 sed 's/^/| /' conftest.$ac_ext >&5
20006
20007 ac_lo=`expr '(' $ac_mid ')' + 1`
20008 fi
20009
20010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20011 done
20012 case $ac_lo in
20013 ?*) ac_cv_sizeof_long=$ac_lo;;
20014 '') if test "$ac_cv_type_long" = yes; then
20015 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20016 See \`config.log' for more details." >&5
20017 echo "$as_me: error: cannot compute sizeof (long)
20018 See \`config.log' for more details." >&2;}
20019 { (exit 77); exit 77; }; }
20020 else
20021 ac_cv_sizeof_long=0
20022 fi ;;
20023 esac
20024 else
20025 cat >conftest.$ac_ext <<_ACEOF
20026 /* confdefs.h. */
20027 _ACEOF
20028 cat confdefs.h >>conftest.$ac_ext
20029 cat >>conftest.$ac_ext <<_ACEOF
20030 /* end confdefs.h. */
20031 $ac_includes_default
20032 typedef long ac__type_sizeof_;
20033 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20034 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20035 #include <stdio.h>
20036 #include <stdlib.h>
20037 int
20038 main ()
20039 {
20040
20041 FILE *f = fopen ("conftest.val", "w");
20042 if (! f)
20043 return 1;
20044 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20045 {
20046 long int i = longval ();
20047 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20048 return 1;
20049 fprintf (f, "%ld\n", i);
20050 }
20051 else
20052 {
20053 unsigned long int i = ulongval ();
20054 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20055 return 1;
20056 fprintf (f, "%lu\n", i);
20057 }
20058 return ferror (f) || fclose (f) != 0;
20059
20060 ;
20061 return 0;
20062 }
20063 _ACEOF
20064 rm -f conftest$ac_exeext
20065 if { (ac_try="$ac_link"
20066 case "(($ac_try" in
20067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20068 *) ac_try_echo=$ac_try;;
20069 esac
20070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20071 (eval "$ac_link") 2>&5
20072 ac_status=$?
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20075 { (case "(($ac_try" in
20076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20077 *) ac_try_echo=$ac_try;;
20078 esac
20079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20080 (eval "$ac_try") 2>&5
20081 ac_status=$?
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; }; then
20084 ac_cv_sizeof_long=`cat conftest.val`
20085 else
20086 echo "$as_me: program exited with status $ac_status" >&5
20087 echo "$as_me: failed program was:" >&5
20088 sed 's/^/| /' conftest.$ac_ext >&5
20089
20090 ( exit $ac_status )
20091 if test "$ac_cv_type_long" = yes; then
20092 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20093 See \`config.log' for more details." >&5
20094 echo "$as_me: error: cannot compute sizeof (long)
20095 See \`config.log' for more details." >&2;}
20096 { (exit 77); exit 77; }; }
20097 else
20098 ac_cv_sizeof_long=0
20099 fi
20100 fi
20101 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20102 fi
20103 rm -f conftest.val
20104 fi
20105 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20106 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20107
20108
20109
20110 cat >>confdefs.h <<_ACEOF
20111 #define SIZEOF_LONG $ac_cv_sizeof_long
20112 _ACEOF
20113
20114
20115 { echo "$as_me:$LINENO: checking for size_t" >&5
20116 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20117 if test "${ac_cv_type_size_t+set}" = set; then
20118 echo $ECHO_N "(cached) $ECHO_C" >&6
20119 else
20120 cat >conftest.$ac_ext <<_ACEOF
20121 /* confdefs.h. */
20122 _ACEOF
20123 cat confdefs.h >>conftest.$ac_ext
20124 cat >>conftest.$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126 $ac_includes_default
20127 typedef size_t ac__type_new_;
20128 int
20129 main ()
20130 {
20131 if ((ac__type_new_ *) 0)
20132 return 0;
20133 if (sizeof (ac__type_new_))
20134 return 0;
20135 ;
20136 return 0;
20137 }
20138 _ACEOF
20139 rm -f conftest.$ac_objext
20140 if { (ac_try="$ac_compile"
20141 case "(($ac_try" in
20142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20143 *) ac_try_echo=$ac_try;;
20144 esac
20145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20146 (eval "$ac_compile") 2>conftest.er1
20147 ac_status=$?
20148 grep -v '^ *+' conftest.er1 >conftest.err
20149 rm -f conftest.er1
20150 cat conftest.err >&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); } && {
20153 test -z "$ac_c_werror_flag" ||
20154 test ! -s conftest.err
20155 } && test -s conftest.$ac_objext; then
20156 ac_cv_type_size_t=yes
20157 else
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.$ac_ext >&5
20160
20161 ac_cv_type_size_t=no
20162 fi
20163
20164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20165 fi
20166 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20167 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20168
20169 # The cast to long int works around a bug in the HP C Compiler
20170 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20171 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20172 # This bug is HP SR number 8606223364.
20173 { echo "$as_me:$LINENO: checking size of size_t" >&5
20174 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20175 if test "${ac_cv_sizeof_size_t+set}" = set; then
20176 echo $ECHO_N "(cached) $ECHO_C" >&6
20177 else
20178 if test "$cross_compiling" = yes; then
20179 # Depending upon the size, compute the lo and hi bounds.
20180 cat >conftest.$ac_ext <<_ACEOF
20181 /* confdefs.h. */
20182 _ACEOF
20183 cat confdefs.h >>conftest.$ac_ext
20184 cat >>conftest.$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20186 $ac_includes_default
20187 typedef size_t ac__type_sizeof_;
20188 int
20189 main ()
20190 {
20191 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20192 test_array [0] = 0
20193
20194 ;
20195 return 0;
20196 }
20197 _ACEOF
20198 rm -f conftest.$ac_objext
20199 if { (ac_try="$ac_compile"
20200 case "(($ac_try" in
20201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20202 *) ac_try_echo=$ac_try;;
20203 esac
20204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20205 (eval "$ac_compile") 2>conftest.er1
20206 ac_status=$?
20207 grep -v '^ *+' conftest.er1 >conftest.err
20208 rm -f conftest.er1
20209 cat conftest.err >&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); } && {
20212 test -z "$ac_c_werror_flag" ||
20213 test ! -s conftest.err
20214 } && test -s conftest.$ac_objext; then
20215 ac_lo=0 ac_mid=0
20216 while :; do
20217 cat >conftest.$ac_ext <<_ACEOF
20218 /* confdefs.h. */
20219 _ACEOF
20220 cat confdefs.h >>conftest.$ac_ext
20221 cat >>conftest.$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20223 $ac_includes_default
20224 typedef size_t ac__type_sizeof_;
20225 int
20226 main ()
20227 {
20228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20229 test_array [0] = 0
20230
20231 ;
20232 return 0;
20233 }
20234 _ACEOF
20235 rm -f conftest.$ac_objext
20236 if { (ac_try="$ac_compile"
20237 case "(($ac_try" in
20238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20239 *) ac_try_echo=$ac_try;;
20240 esac
20241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20242 (eval "$ac_compile") 2>conftest.er1
20243 ac_status=$?
20244 grep -v '^ *+' conftest.er1 >conftest.err
20245 rm -f conftest.er1
20246 cat conftest.err >&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } && {
20249 test -z "$ac_c_werror_flag" ||
20250 test ! -s conftest.err
20251 } && test -s conftest.$ac_objext; then
20252 ac_hi=$ac_mid; break
20253 else
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.$ac_ext >&5
20256
20257 ac_lo=`expr $ac_mid + 1`
20258 if test $ac_lo -le $ac_mid; then
20259 ac_lo= ac_hi=
20260 break
20261 fi
20262 ac_mid=`expr 2 '*' $ac_mid + 1`
20263 fi
20264
20265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20266 done
20267 else
20268 echo "$as_me: failed program was:" >&5
20269 sed 's/^/| /' conftest.$ac_ext >&5
20270
20271 cat >conftest.$ac_ext <<_ACEOF
20272 /* confdefs.h. */
20273 _ACEOF
20274 cat confdefs.h >>conftest.$ac_ext
20275 cat >>conftest.$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20277 $ac_includes_default
20278 typedef size_t ac__type_sizeof_;
20279 int
20280 main ()
20281 {
20282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20283 test_array [0] = 0
20284
20285 ;
20286 return 0;
20287 }
20288 _ACEOF
20289 rm -f conftest.$ac_objext
20290 if { (ac_try="$ac_compile"
20291 case "(($ac_try" in
20292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20293 *) ac_try_echo=$ac_try;;
20294 esac
20295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20296 (eval "$ac_compile") 2>conftest.er1
20297 ac_status=$?
20298 grep -v '^ *+' conftest.er1 >conftest.err
20299 rm -f conftest.er1
20300 cat conftest.err >&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); } && {
20303 test -z "$ac_c_werror_flag" ||
20304 test ! -s conftest.err
20305 } && test -s conftest.$ac_objext; then
20306 ac_hi=-1 ac_mid=-1
20307 while :; do
20308 cat >conftest.$ac_ext <<_ACEOF
20309 /* confdefs.h. */
20310 _ACEOF
20311 cat confdefs.h >>conftest.$ac_ext
20312 cat >>conftest.$ac_ext <<_ACEOF
20313 /* end confdefs.h. */
20314 $ac_includes_default
20315 typedef size_t ac__type_sizeof_;
20316 int
20317 main ()
20318 {
20319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20320 test_array [0] = 0
20321
20322 ;
20323 return 0;
20324 }
20325 _ACEOF
20326 rm -f conftest.$ac_objext
20327 if { (ac_try="$ac_compile"
20328 case "(($ac_try" in
20329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20330 *) ac_try_echo=$ac_try;;
20331 esac
20332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20333 (eval "$ac_compile") 2>conftest.er1
20334 ac_status=$?
20335 grep -v '^ *+' conftest.er1 >conftest.err
20336 rm -f conftest.er1
20337 cat conftest.err >&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } && {
20340 test -z "$ac_c_werror_flag" ||
20341 test ! -s conftest.err
20342 } && test -s conftest.$ac_objext; then
20343 ac_lo=$ac_mid; break
20344 else
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.$ac_ext >&5
20347
20348 ac_hi=`expr '(' $ac_mid ')' - 1`
20349 if test $ac_mid -le $ac_hi; then
20350 ac_lo= ac_hi=
20351 break
20352 fi
20353 ac_mid=`expr 2 '*' $ac_mid`
20354 fi
20355
20356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20357 done
20358 else
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20361
20362 ac_lo= ac_hi=
20363 fi
20364
20365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20366 fi
20367
20368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20369 # Binary search between lo and hi bounds.
20370 while test "x$ac_lo" != "x$ac_hi"; do
20371 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20372 cat >conftest.$ac_ext <<_ACEOF
20373 /* confdefs.h. */
20374 _ACEOF
20375 cat confdefs.h >>conftest.$ac_ext
20376 cat >>conftest.$ac_ext <<_ACEOF
20377 /* end confdefs.h. */
20378 $ac_includes_default
20379 typedef size_t ac__type_sizeof_;
20380 int
20381 main ()
20382 {
20383 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20384 test_array [0] = 0
20385
20386 ;
20387 return 0;
20388 }
20389 _ACEOF
20390 rm -f conftest.$ac_objext
20391 if { (ac_try="$ac_compile"
20392 case "(($ac_try" in
20393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20394 *) ac_try_echo=$ac_try;;
20395 esac
20396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20397 (eval "$ac_compile") 2>conftest.er1
20398 ac_status=$?
20399 grep -v '^ *+' conftest.er1 >conftest.err
20400 rm -f conftest.er1
20401 cat conftest.err >&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); } && {
20404 test -z "$ac_c_werror_flag" ||
20405 test ! -s conftest.err
20406 } && test -s conftest.$ac_objext; then
20407 ac_hi=$ac_mid
20408 else
20409 echo "$as_me: failed program was:" >&5
20410 sed 's/^/| /' conftest.$ac_ext >&5
20411
20412 ac_lo=`expr '(' $ac_mid ')' + 1`
20413 fi
20414
20415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20416 done
20417 case $ac_lo in
20418 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20419 '') if test "$ac_cv_type_size_t" = yes; then
20420 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20421 See \`config.log' for more details." >&5
20422 echo "$as_me: error: cannot compute sizeof (size_t)
20423 See \`config.log' for more details." >&2;}
20424 { (exit 77); exit 77; }; }
20425 else
20426 ac_cv_sizeof_size_t=0
20427 fi ;;
20428 esac
20429 else
20430 cat >conftest.$ac_ext <<_ACEOF
20431 /* confdefs.h. */
20432 _ACEOF
20433 cat confdefs.h >>conftest.$ac_ext
20434 cat >>conftest.$ac_ext <<_ACEOF
20435 /* end confdefs.h. */
20436 $ac_includes_default
20437 typedef size_t ac__type_sizeof_;
20438 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20439 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20440 #include <stdio.h>
20441 #include <stdlib.h>
20442 int
20443 main ()
20444 {
20445
20446 FILE *f = fopen ("conftest.val", "w");
20447 if (! f)
20448 return 1;
20449 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20450 {
20451 long int i = longval ();
20452 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20453 return 1;
20454 fprintf (f, "%ld\n", i);
20455 }
20456 else
20457 {
20458 unsigned long int i = ulongval ();
20459 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20460 return 1;
20461 fprintf (f, "%lu\n", i);
20462 }
20463 return ferror (f) || fclose (f) != 0;
20464
20465 ;
20466 return 0;
20467 }
20468 _ACEOF
20469 rm -f conftest$ac_exeext
20470 if { (ac_try="$ac_link"
20471 case "(($ac_try" in
20472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20473 *) ac_try_echo=$ac_try;;
20474 esac
20475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20476 (eval "$ac_link") 2>&5
20477 ac_status=$?
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20480 { (case "(($ac_try" in
20481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20482 *) ac_try_echo=$ac_try;;
20483 esac
20484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20485 (eval "$ac_try") 2>&5
20486 ac_status=$?
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; }; then
20489 ac_cv_sizeof_size_t=`cat conftest.val`
20490 else
20491 echo "$as_me: program exited with status $ac_status" >&5
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.$ac_ext >&5
20494
20495 ( exit $ac_status )
20496 if test "$ac_cv_type_size_t" = yes; then
20497 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20498 See \`config.log' for more details." >&5
20499 echo "$as_me: error: cannot compute sizeof (size_t)
20500 See \`config.log' for more details." >&2;}
20501 { (exit 77); exit 77; }; }
20502 else
20503 ac_cv_sizeof_size_t=0
20504 fi
20505 fi
20506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20507 fi
20508 rm -f conftest.val
20509 fi
20510 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20511 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20512
20513
20514
20515 cat >>confdefs.h <<_ACEOF
20516 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20517 _ACEOF
20518
20519
20520
20521 case "${host}" in
20522 arm-*-linux* )
20523 { echo "$as_me:$LINENO: checking for long long" >&5
20524 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20525 if test "${ac_cv_type_long_long+set}" = set; then
20526 echo $ECHO_N "(cached) $ECHO_C" >&6
20527 else
20528 cat >conftest.$ac_ext <<_ACEOF
20529 /* confdefs.h. */
20530 _ACEOF
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 $ac_includes_default
20535 typedef long long ac__type_new_;
20536 int
20537 main ()
20538 {
20539 if ((ac__type_new_ *) 0)
20540 return 0;
20541 if (sizeof (ac__type_new_))
20542 return 0;
20543 ;
20544 return 0;
20545 }
20546 _ACEOF
20547 rm -f conftest.$ac_objext
20548 if { (ac_try="$ac_compile"
20549 case "(($ac_try" in
20550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20551 *) ac_try_echo=$ac_try;;
20552 esac
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_compile") 2>conftest.er1
20555 ac_status=$?
20556 grep -v '^ *+' conftest.er1 >conftest.err
20557 rm -f conftest.er1
20558 cat conftest.err >&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } && {
20561 test -z "$ac_c_werror_flag" ||
20562 test ! -s conftest.err
20563 } && test -s conftest.$ac_objext; then
20564 ac_cv_type_long_long=yes
20565 else
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.$ac_ext >&5
20568
20569 ac_cv_type_long_long=no
20570 fi
20571
20572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20573 fi
20574 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20575 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20576
20577 # The cast to long int works around a bug in the HP C Compiler
20578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20580 # This bug is HP SR number 8606223364.
20581 { echo "$as_me:$LINENO: checking size of long long" >&5
20582 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20583 if test "${ac_cv_sizeof_long_long+set}" = set; then
20584 echo $ECHO_N "(cached) $ECHO_C" >&6
20585 else
20586 if test "$cross_compiling" = yes; then
20587 # Depending upon the size, compute the lo and hi bounds.
20588 cat >conftest.$ac_ext <<_ACEOF
20589 /* confdefs.h. */
20590 _ACEOF
20591 cat confdefs.h >>conftest.$ac_ext
20592 cat >>conftest.$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20594 $ac_includes_default
20595 typedef long long ac__type_sizeof_;
20596 int
20597 main ()
20598 {
20599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20600 test_array [0] = 0
20601
20602 ;
20603 return 0;
20604 }
20605 _ACEOF
20606 rm -f conftest.$ac_objext
20607 if { (ac_try="$ac_compile"
20608 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20611 esac
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_compile") 2>conftest.er1
20614 ac_status=$?
20615 grep -v '^ *+' conftest.er1 >conftest.err
20616 rm -f conftest.er1
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } && {
20620 test -z "$ac_c_werror_flag" ||
20621 test ! -s conftest.err
20622 } && test -s conftest.$ac_objext; then
20623 ac_lo=0 ac_mid=0
20624 while :; do
20625 cat >conftest.$ac_ext <<_ACEOF
20626 /* confdefs.h. */
20627 _ACEOF
20628 cat confdefs.h >>conftest.$ac_ext
20629 cat >>conftest.$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 $ac_includes_default
20632 typedef long long ac__type_sizeof_;
20633 int
20634 main ()
20635 {
20636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20637 test_array [0] = 0
20638
20639 ;
20640 return 0;
20641 }
20642 _ACEOF
20643 rm -f conftest.$ac_objext
20644 if { (ac_try="$ac_compile"
20645 case "(($ac_try" in
20646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20647 *) ac_try_echo=$ac_try;;
20648 esac
20649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20650 (eval "$ac_compile") 2>conftest.er1
20651 ac_status=$?
20652 grep -v '^ *+' conftest.er1 >conftest.err
20653 rm -f conftest.er1
20654 cat conftest.err >&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } && {
20657 test -z "$ac_c_werror_flag" ||
20658 test ! -s conftest.err
20659 } && test -s conftest.$ac_objext; then
20660 ac_hi=$ac_mid; break
20661 else
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20664
20665 ac_lo=`expr $ac_mid + 1`
20666 if test $ac_lo -le $ac_mid; then
20667 ac_lo= ac_hi=
20668 break
20669 fi
20670 ac_mid=`expr 2 '*' $ac_mid + 1`
20671 fi
20672
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20674 done
20675 else
20676 echo "$as_me: failed program was:" >&5
20677 sed 's/^/| /' conftest.$ac_ext >&5
20678
20679 cat >conftest.$ac_ext <<_ACEOF
20680 /* confdefs.h. */
20681 _ACEOF
20682 cat confdefs.h >>conftest.$ac_ext
20683 cat >>conftest.$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 $ac_includes_default
20686 typedef long long ac__type_sizeof_;
20687 int
20688 main ()
20689 {
20690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20691 test_array [0] = 0
20692
20693 ;
20694 return 0;
20695 }
20696 _ACEOF
20697 rm -f conftest.$ac_objext
20698 if { (ac_try="$ac_compile"
20699 case "(($ac_try" in
20700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20701 *) ac_try_echo=$ac_try;;
20702 esac
20703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20704 (eval "$ac_compile") 2>conftest.er1
20705 ac_status=$?
20706 grep -v '^ *+' conftest.er1 >conftest.err
20707 rm -f conftest.er1
20708 cat conftest.err >&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } && {
20711 test -z "$ac_c_werror_flag" ||
20712 test ! -s conftest.err
20713 } && test -s conftest.$ac_objext; then
20714 ac_hi=-1 ac_mid=-1
20715 while :; do
20716 cat >conftest.$ac_ext <<_ACEOF
20717 /* confdefs.h. */
20718 _ACEOF
20719 cat confdefs.h >>conftest.$ac_ext
20720 cat >>conftest.$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 $ac_includes_default
20723 typedef long long ac__type_sizeof_;
20724 int
20725 main ()
20726 {
20727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20728 test_array [0] = 0
20729
20730 ;
20731 return 0;
20732 }
20733 _ACEOF
20734 rm -f conftest.$ac_objext
20735 if { (ac_try="$ac_compile"
20736 case "(($ac_try" in
20737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20738 *) ac_try_echo=$ac_try;;
20739 esac
20740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20741 (eval "$ac_compile") 2>conftest.er1
20742 ac_status=$?
20743 grep -v '^ *+' conftest.er1 >conftest.err
20744 rm -f conftest.er1
20745 cat conftest.err >&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } && {
20748 test -z "$ac_c_werror_flag" ||
20749 test ! -s conftest.err
20750 } && test -s conftest.$ac_objext; then
20751 ac_lo=$ac_mid; break
20752 else
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20755
20756 ac_hi=`expr '(' $ac_mid ')' - 1`
20757 if test $ac_mid -le $ac_hi; then
20758 ac_lo= ac_hi=
20759 break
20760 fi
20761 ac_mid=`expr 2 '*' $ac_mid`
20762 fi
20763
20764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20765 done
20766 else
20767 echo "$as_me: failed program was:" >&5
20768 sed 's/^/| /' conftest.$ac_ext >&5
20769
20770 ac_lo= ac_hi=
20771 fi
20772
20773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20774 fi
20775
20776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20777 # Binary search between lo and hi bounds.
20778 while test "x$ac_lo" != "x$ac_hi"; do
20779 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20780 cat >conftest.$ac_ext <<_ACEOF
20781 /* confdefs.h. */
20782 _ACEOF
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20786 $ac_includes_default
20787 typedef long long ac__type_sizeof_;
20788 int
20789 main ()
20790 {
20791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20792 test_array [0] = 0
20793
20794 ;
20795 return 0;
20796 }
20797 _ACEOF
20798 rm -f conftest.$ac_objext
20799 if { (ac_try="$ac_compile"
20800 case "(($ac_try" in
20801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20802 *) ac_try_echo=$ac_try;;
20803 esac
20804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20805 (eval "$ac_compile") 2>conftest.er1
20806 ac_status=$?
20807 grep -v '^ *+' conftest.er1 >conftest.err
20808 rm -f conftest.er1
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } && {
20812 test -z "$ac_c_werror_flag" ||
20813 test ! -s conftest.err
20814 } && test -s conftest.$ac_objext; then
20815 ac_hi=$ac_mid
20816 else
20817 echo "$as_me: failed program was:" >&5
20818 sed 's/^/| /' conftest.$ac_ext >&5
20819
20820 ac_lo=`expr '(' $ac_mid ')' + 1`
20821 fi
20822
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20824 done
20825 case $ac_lo in
20826 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20827 '') if test "$ac_cv_type_long_long" = yes; then
20828 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20829 See \`config.log' for more details." >&5
20830 echo "$as_me: error: cannot compute sizeof (long long)
20831 See \`config.log' for more details." >&2;}
20832 { (exit 77); exit 77; }; }
20833 else
20834 ac_cv_sizeof_long_long=0
20835 fi ;;
20836 esac
20837 else
20838 cat >conftest.$ac_ext <<_ACEOF
20839 /* confdefs.h. */
20840 _ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20844 $ac_includes_default
20845 typedef long long ac__type_sizeof_;
20846 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20847 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20848 #include <stdio.h>
20849 #include <stdlib.h>
20850 int
20851 main ()
20852 {
20853
20854 FILE *f = fopen ("conftest.val", "w");
20855 if (! f)
20856 return 1;
20857 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20858 {
20859 long int i = longval ();
20860 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20861 return 1;
20862 fprintf (f, "%ld\n", i);
20863 }
20864 else
20865 {
20866 unsigned long int i = ulongval ();
20867 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20868 return 1;
20869 fprintf (f, "%lu\n", i);
20870 }
20871 return ferror (f) || fclose (f) != 0;
20872
20873 ;
20874 return 0;
20875 }
20876 _ACEOF
20877 rm -f conftest$ac_exeext
20878 if { (ac_try="$ac_link"
20879 case "(($ac_try" in
20880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20881 *) ac_try_echo=$ac_try;;
20882 esac
20883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20884 (eval "$ac_link") 2>&5
20885 ac_status=$?
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20888 { (case "(($ac_try" in
20889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20890 *) ac_try_echo=$ac_try;;
20891 esac
20892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20893 (eval "$ac_try") 2>&5
20894 ac_status=$?
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; }; then
20897 ac_cv_sizeof_long_long=`cat conftest.val`
20898 else
20899 echo "$as_me: program exited with status $ac_status" >&5
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20902
20903 ( exit $ac_status )
20904 if test "$ac_cv_type_long_long" = yes; then
20905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20906 See \`config.log' for more details." >&5
20907 echo "$as_me: error: cannot compute sizeof (long long)
20908 See \`config.log' for more details." >&2;}
20909 { (exit 77); exit 77; }; }
20910 else
20911 ac_cv_sizeof_long_long=0
20912 fi
20913 fi
20914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20915 fi
20916 rm -f conftest.val
20917 fi
20918 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20919 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20920
20921
20922
20923 cat >>confdefs.h <<_ACEOF
20924 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20925 _ACEOF
20926
20927
20928 ;;
20929 *-hp-hpux* )
20930 { echo "$as_me:$LINENO: checking for long long" >&5
20931 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20932 if test "${ac_cv_type_long_long+set}" = set; then
20933 echo $ECHO_N "(cached) $ECHO_C" >&6
20934 else
20935 cat >conftest.$ac_ext <<_ACEOF
20936 /* confdefs.h. */
20937 _ACEOF
20938 cat confdefs.h >>conftest.$ac_ext
20939 cat >>conftest.$ac_ext <<_ACEOF
20940 /* end confdefs.h. */
20941 $ac_includes_default
20942 typedef long long ac__type_new_;
20943 int
20944 main ()
20945 {
20946 if ((ac__type_new_ *) 0)
20947 return 0;
20948 if (sizeof (ac__type_new_))
20949 return 0;
20950 ;
20951 return 0;
20952 }
20953 _ACEOF
20954 rm -f conftest.$ac_objext
20955 if { (ac_try="$ac_compile"
20956 case "(($ac_try" in
20957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20958 *) ac_try_echo=$ac_try;;
20959 esac
20960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20961 (eval "$ac_compile") 2>conftest.er1
20962 ac_status=$?
20963 grep -v '^ *+' conftest.er1 >conftest.err
20964 rm -f conftest.er1
20965 cat conftest.err >&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); } && {
20968 test -z "$ac_c_werror_flag" ||
20969 test ! -s conftest.err
20970 } && test -s conftest.$ac_objext; then
20971 ac_cv_type_long_long=yes
20972 else
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.$ac_ext >&5
20975
20976 ac_cv_type_long_long=no
20977 fi
20978
20979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20980 fi
20981 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20982 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20983
20984 # The cast to long int works around a bug in the HP C Compiler
20985 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20986 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20987 # This bug is HP SR number 8606223364.
20988 { echo "$as_me:$LINENO: checking size of long long" >&5
20989 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20990 if test "${ac_cv_sizeof_long_long+set}" = set; then
20991 echo $ECHO_N "(cached) $ECHO_C" >&6
20992 else
20993 if test "$cross_compiling" = yes; then
20994 # Depending upon the size, compute the lo and hi bounds.
20995 cat >conftest.$ac_ext <<_ACEOF
20996 /* confdefs.h. */
20997 _ACEOF
20998 cat confdefs.h >>conftest.$ac_ext
20999 cat >>conftest.$ac_ext <<_ACEOF
21000 /* end confdefs.h. */
21001 $ac_includes_default
21002 typedef long long ac__type_sizeof_;
21003 int
21004 main ()
21005 {
21006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21007 test_array [0] = 0
21008
21009 ;
21010 return 0;
21011 }
21012 _ACEOF
21013 rm -f conftest.$ac_objext
21014 if { (ac_try="$ac_compile"
21015 case "(($ac_try" in
21016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21017 *) ac_try_echo=$ac_try;;
21018 esac
21019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21020 (eval "$ac_compile") 2>conftest.er1
21021 ac_status=$?
21022 grep -v '^ *+' conftest.er1 >conftest.err
21023 rm -f conftest.er1
21024 cat conftest.err >&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); } && {
21027 test -z "$ac_c_werror_flag" ||
21028 test ! -s conftest.err
21029 } && test -s conftest.$ac_objext; then
21030 ac_lo=0 ac_mid=0
21031 while :; do
21032 cat >conftest.$ac_ext <<_ACEOF
21033 /* confdefs.h. */
21034 _ACEOF
21035 cat confdefs.h >>conftest.$ac_ext
21036 cat >>conftest.$ac_ext <<_ACEOF
21037 /* end confdefs.h. */
21038 $ac_includes_default
21039 typedef long long ac__type_sizeof_;
21040 int
21041 main ()
21042 {
21043 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21044 test_array [0] = 0
21045
21046 ;
21047 return 0;
21048 }
21049 _ACEOF
21050 rm -f conftest.$ac_objext
21051 if { (ac_try="$ac_compile"
21052 case "(($ac_try" in
21053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21054 *) ac_try_echo=$ac_try;;
21055 esac
21056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21057 (eval "$ac_compile") 2>conftest.er1
21058 ac_status=$?
21059 grep -v '^ *+' conftest.er1 >conftest.err
21060 rm -f conftest.er1
21061 cat conftest.err >&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); } && {
21064 test -z "$ac_c_werror_flag" ||
21065 test ! -s conftest.err
21066 } && test -s conftest.$ac_objext; then
21067 ac_hi=$ac_mid; break
21068 else
21069 echo "$as_me: failed program was:" >&5
21070 sed 's/^/| /' conftest.$ac_ext >&5
21071
21072 ac_lo=`expr $ac_mid + 1`
21073 if test $ac_lo -le $ac_mid; then
21074 ac_lo= ac_hi=
21075 break
21076 fi
21077 ac_mid=`expr 2 '*' $ac_mid + 1`
21078 fi
21079
21080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21081 done
21082 else
21083 echo "$as_me: failed program was:" >&5
21084 sed 's/^/| /' conftest.$ac_ext >&5
21085
21086 cat >conftest.$ac_ext <<_ACEOF
21087 /* confdefs.h. */
21088 _ACEOF
21089 cat confdefs.h >>conftest.$ac_ext
21090 cat >>conftest.$ac_ext <<_ACEOF
21091 /* end confdefs.h. */
21092 $ac_includes_default
21093 typedef long long ac__type_sizeof_;
21094 int
21095 main ()
21096 {
21097 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21098 test_array [0] = 0
21099
21100 ;
21101 return 0;
21102 }
21103 _ACEOF
21104 rm -f conftest.$ac_objext
21105 if { (ac_try="$ac_compile"
21106 case "(($ac_try" in
21107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21108 *) ac_try_echo=$ac_try;;
21109 esac
21110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21111 (eval "$ac_compile") 2>conftest.er1
21112 ac_status=$?
21113 grep -v '^ *+' conftest.er1 >conftest.err
21114 rm -f conftest.er1
21115 cat conftest.err >&5
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); } && {
21118 test -z "$ac_c_werror_flag" ||
21119 test ! -s conftest.err
21120 } && test -s conftest.$ac_objext; then
21121 ac_hi=-1 ac_mid=-1
21122 while :; do
21123 cat >conftest.$ac_ext <<_ACEOF
21124 /* confdefs.h. */
21125 _ACEOF
21126 cat confdefs.h >>conftest.$ac_ext
21127 cat >>conftest.$ac_ext <<_ACEOF
21128 /* end confdefs.h. */
21129 $ac_includes_default
21130 typedef long long ac__type_sizeof_;
21131 int
21132 main ()
21133 {
21134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21135 test_array [0] = 0
21136
21137 ;
21138 return 0;
21139 }
21140 _ACEOF
21141 rm -f conftest.$ac_objext
21142 if { (ac_try="$ac_compile"
21143 case "(($ac_try" in
21144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21145 *) ac_try_echo=$ac_try;;
21146 esac
21147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21148 (eval "$ac_compile") 2>conftest.er1
21149 ac_status=$?
21150 grep -v '^ *+' conftest.er1 >conftest.err
21151 rm -f conftest.er1
21152 cat conftest.err >&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); } && {
21155 test -z "$ac_c_werror_flag" ||
21156 test ! -s conftest.err
21157 } && test -s conftest.$ac_objext; then
21158 ac_lo=$ac_mid; break
21159 else
21160 echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.$ac_ext >&5
21162
21163 ac_hi=`expr '(' $ac_mid ')' - 1`
21164 if test $ac_mid -le $ac_hi; then
21165 ac_lo= ac_hi=
21166 break
21167 fi
21168 ac_mid=`expr 2 '*' $ac_mid`
21169 fi
21170
21171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21172 done
21173 else
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21176
21177 ac_lo= ac_hi=
21178 fi
21179
21180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21181 fi
21182
21183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21184 # Binary search between lo and hi bounds.
21185 while test "x$ac_lo" != "x$ac_hi"; do
21186 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21187 cat >conftest.$ac_ext <<_ACEOF
21188 /* confdefs.h. */
21189 _ACEOF
21190 cat confdefs.h >>conftest.$ac_ext
21191 cat >>conftest.$ac_ext <<_ACEOF
21192 /* end confdefs.h. */
21193 $ac_includes_default
21194 typedef long long ac__type_sizeof_;
21195 int
21196 main ()
21197 {
21198 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21199 test_array [0] = 0
21200
21201 ;
21202 return 0;
21203 }
21204 _ACEOF
21205 rm -f conftest.$ac_objext
21206 if { (ac_try="$ac_compile"
21207 case "(($ac_try" in
21208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21209 *) ac_try_echo=$ac_try;;
21210 esac
21211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21212 (eval "$ac_compile") 2>conftest.er1
21213 ac_status=$?
21214 grep -v '^ *+' conftest.er1 >conftest.err
21215 rm -f conftest.er1
21216 cat conftest.err >&5
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); } && {
21219 test -z "$ac_c_werror_flag" ||
21220 test ! -s conftest.err
21221 } && test -s conftest.$ac_objext; then
21222 ac_hi=$ac_mid
21223 else
21224 echo "$as_me: failed program was:" >&5
21225 sed 's/^/| /' conftest.$ac_ext >&5
21226
21227 ac_lo=`expr '(' $ac_mid ')' + 1`
21228 fi
21229
21230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21231 done
21232 case $ac_lo in
21233 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21234 '') if test "$ac_cv_type_long_long" = yes; then
21235 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21236 See \`config.log' for more details." >&5
21237 echo "$as_me: error: cannot compute sizeof (long long)
21238 See \`config.log' for more details." >&2;}
21239 { (exit 77); exit 77; }; }
21240 else
21241 ac_cv_sizeof_long_long=0
21242 fi ;;
21243 esac
21244 else
21245 cat >conftest.$ac_ext <<_ACEOF
21246 /* confdefs.h. */
21247 _ACEOF
21248 cat confdefs.h >>conftest.$ac_ext
21249 cat >>conftest.$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251 $ac_includes_default
21252 typedef long long ac__type_sizeof_;
21253 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21254 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21255 #include <stdio.h>
21256 #include <stdlib.h>
21257 int
21258 main ()
21259 {
21260
21261 FILE *f = fopen ("conftest.val", "w");
21262 if (! f)
21263 return 1;
21264 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21265 {
21266 long int i = longval ();
21267 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21268 return 1;
21269 fprintf (f, "%ld\n", i);
21270 }
21271 else
21272 {
21273 unsigned long int i = ulongval ();
21274 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21275 return 1;
21276 fprintf (f, "%lu\n", i);
21277 }
21278 return ferror (f) || fclose (f) != 0;
21279
21280 ;
21281 return 0;
21282 }
21283 _ACEOF
21284 rm -f conftest$ac_exeext
21285 if { (ac_try="$ac_link"
21286 case "(($ac_try" in
21287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21288 *) ac_try_echo=$ac_try;;
21289 esac
21290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21291 (eval "$ac_link") 2>&5
21292 ac_status=$?
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21295 { (case "(($ac_try" in
21296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21297 *) ac_try_echo=$ac_try;;
21298 esac
21299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21300 (eval "$ac_try") 2>&5
21301 ac_status=$?
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); }; }; then
21304 ac_cv_sizeof_long_long=`cat conftest.val`
21305 else
21306 echo "$as_me: program exited with status $ac_status" >&5
21307 echo "$as_me: failed program was:" >&5
21308 sed 's/^/| /' conftest.$ac_ext >&5
21309
21310 ( exit $ac_status )
21311 if test "$ac_cv_type_long_long" = yes; then
21312 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21313 See \`config.log' for more details." >&5
21314 echo "$as_me: error: cannot compute sizeof (long long)
21315 See \`config.log' for more details." >&2;}
21316 { (exit 77); exit 77; }; }
21317 else
21318 ac_cv_sizeof_long_long=0
21319 fi
21320 fi
21321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21322 fi
21323 rm -f conftest.val
21324 fi
21325 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21326 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21327
21328
21329
21330 cat >>confdefs.h <<_ACEOF
21331 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21332 _ACEOF
21333
21334
21335 if test "$ac_cv_sizeof_long_long" != "0"; then
21336 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21337 fi
21338 ;;
21339 * )
21340 { echo "$as_me:$LINENO: checking for long long" >&5
21341 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21342 if test "${ac_cv_type_long_long+set}" = set; then
21343 echo $ECHO_N "(cached) $ECHO_C" >&6
21344 else
21345 cat >conftest.$ac_ext <<_ACEOF
21346 /* confdefs.h. */
21347 _ACEOF
21348 cat confdefs.h >>conftest.$ac_ext
21349 cat >>conftest.$ac_ext <<_ACEOF
21350 /* end confdefs.h. */
21351 $ac_includes_default
21352 typedef long long ac__type_new_;
21353 int
21354 main ()
21355 {
21356 if ((ac__type_new_ *) 0)
21357 return 0;
21358 if (sizeof (ac__type_new_))
21359 return 0;
21360 ;
21361 return 0;
21362 }
21363 _ACEOF
21364 rm -f conftest.$ac_objext
21365 if { (ac_try="$ac_compile"
21366 case "(($ac_try" in
21367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21368 *) ac_try_echo=$ac_try;;
21369 esac
21370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21371 (eval "$ac_compile") 2>conftest.er1
21372 ac_status=$?
21373 grep -v '^ *+' conftest.er1 >conftest.err
21374 rm -f conftest.er1
21375 cat conftest.err >&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } && {
21378 test -z "$ac_c_werror_flag" ||
21379 test ! -s conftest.err
21380 } && test -s conftest.$ac_objext; then
21381 ac_cv_type_long_long=yes
21382 else
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.$ac_ext >&5
21385
21386 ac_cv_type_long_long=no
21387 fi
21388
21389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21390 fi
21391 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21392 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21393
21394 # The cast to long int works around a bug in the HP C Compiler
21395 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21396 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21397 # This bug is HP SR number 8606223364.
21398 { echo "$as_me:$LINENO: checking size of long long" >&5
21399 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21400 if test "${ac_cv_sizeof_long_long+set}" = set; then
21401 echo $ECHO_N "(cached) $ECHO_C" >&6
21402 else
21403 if test "$cross_compiling" = yes; then
21404 # Depending upon the size, compute the lo and hi bounds.
21405 cat >conftest.$ac_ext <<_ACEOF
21406 /* confdefs.h. */
21407 _ACEOF
21408 cat confdefs.h >>conftest.$ac_ext
21409 cat >>conftest.$ac_ext <<_ACEOF
21410 /* end confdefs.h. */
21411 $ac_includes_default
21412 typedef long long ac__type_sizeof_;
21413 int
21414 main ()
21415 {
21416 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21417 test_array [0] = 0
21418
21419 ;
21420 return 0;
21421 }
21422 _ACEOF
21423 rm -f conftest.$ac_objext
21424 if { (ac_try="$ac_compile"
21425 case "(($ac_try" in
21426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21427 *) ac_try_echo=$ac_try;;
21428 esac
21429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21430 (eval "$ac_compile") 2>conftest.er1
21431 ac_status=$?
21432 grep -v '^ *+' conftest.er1 >conftest.err
21433 rm -f conftest.er1
21434 cat conftest.err >&5
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); } && {
21437 test -z "$ac_c_werror_flag" ||
21438 test ! -s conftest.err
21439 } && test -s conftest.$ac_objext; then
21440 ac_lo=0 ac_mid=0
21441 while :; do
21442 cat >conftest.$ac_ext <<_ACEOF
21443 /* confdefs.h. */
21444 _ACEOF
21445 cat confdefs.h >>conftest.$ac_ext
21446 cat >>conftest.$ac_ext <<_ACEOF
21447 /* end confdefs.h. */
21448 $ac_includes_default
21449 typedef long long ac__type_sizeof_;
21450 int
21451 main ()
21452 {
21453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21454 test_array [0] = 0
21455
21456 ;
21457 return 0;
21458 }
21459 _ACEOF
21460 rm -f conftest.$ac_objext
21461 if { (ac_try="$ac_compile"
21462 case "(($ac_try" in
21463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21464 *) ac_try_echo=$ac_try;;
21465 esac
21466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21467 (eval "$ac_compile") 2>conftest.er1
21468 ac_status=$?
21469 grep -v '^ *+' conftest.er1 >conftest.err
21470 rm -f conftest.er1
21471 cat conftest.err >&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); } && {
21474 test -z "$ac_c_werror_flag" ||
21475 test ! -s conftest.err
21476 } && test -s conftest.$ac_objext; then
21477 ac_hi=$ac_mid; break
21478 else
21479 echo "$as_me: failed program was:" >&5
21480 sed 's/^/| /' conftest.$ac_ext >&5
21481
21482 ac_lo=`expr $ac_mid + 1`
21483 if test $ac_lo -le $ac_mid; then
21484 ac_lo= ac_hi=
21485 break
21486 fi
21487 ac_mid=`expr 2 '*' $ac_mid + 1`
21488 fi
21489
21490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21491 done
21492 else
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.$ac_ext >&5
21495
21496 cat >conftest.$ac_ext <<_ACEOF
21497 /* confdefs.h. */
21498 _ACEOF
21499 cat confdefs.h >>conftest.$ac_ext
21500 cat >>conftest.$ac_ext <<_ACEOF
21501 /* end confdefs.h. */
21502 $ac_includes_default
21503 typedef long long ac__type_sizeof_;
21504 int
21505 main ()
21506 {
21507 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21508 test_array [0] = 0
21509
21510 ;
21511 return 0;
21512 }
21513 _ACEOF
21514 rm -f conftest.$ac_objext
21515 if { (ac_try="$ac_compile"
21516 case "(($ac_try" in
21517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21518 *) ac_try_echo=$ac_try;;
21519 esac
21520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21521 (eval "$ac_compile") 2>conftest.er1
21522 ac_status=$?
21523 grep -v '^ *+' conftest.er1 >conftest.err
21524 rm -f conftest.er1
21525 cat conftest.err >&5
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); } && {
21528 test -z "$ac_c_werror_flag" ||
21529 test ! -s conftest.err
21530 } && test -s conftest.$ac_objext; then
21531 ac_hi=-1 ac_mid=-1
21532 while :; do
21533 cat >conftest.$ac_ext <<_ACEOF
21534 /* confdefs.h. */
21535 _ACEOF
21536 cat confdefs.h >>conftest.$ac_ext
21537 cat >>conftest.$ac_ext <<_ACEOF
21538 /* end confdefs.h. */
21539 $ac_includes_default
21540 typedef long long ac__type_sizeof_;
21541 int
21542 main ()
21543 {
21544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21545 test_array [0] = 0
21546
21547 ;
21548 return 0;
21549 }
21550 _ACEOF
21551 rm -f conftest.$ac_objext
21552 if { (ac_try="$ac_compile"
21553 case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21556 esac
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_compile") 2>conftest.er1
21559 ac_status=$?
21560 grep -v '^ *+' conftest.er1 >conftest.err
21561 rm -f conftest.er1
21562 cat conftest.err >&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } && {
21565 test -z "$ac_c_werror_flag" ||
21566 test ! -s conftest.err
21567 } && test -s conftest.$ac_objext; then
21568 ac_lo=$ac_mid; break
21569 else
21570 echo "$as_me: failed program was:" >&5
21571 sed 's/^/| /' conftest.$ac_ext >&5
21572
21573 ac_hi=`expr '(' $ac_mid ')' - 1`
21574 if test $ac_mid -le $ac_hi; then
21575 ac_lo= ac_hi=
21576 break
21577 fi
21578 ac_mid=`expr 2 '*' $ac_mid`
21579 fi
21580
21581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21582 done
21583 else
21584 echo "$as_me: failed program was:" >&5
21585 sed 's/^/| /' conftest.$ac_ext >&5
21586
21587 ac_lo= ac_hi=
21588 fi
21589
21590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21591 fi
21592
21593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21594 # Binary search between lo and hi bounds.
21595 while test "x$ac_lo" != "x$ac_hi"; do
21596 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21597 cat >conftest.$ac_ext <<_ACEOF
21598 /* confdefs.h. */
21599 _ACEOF
21600 cat confdefs.h >>conftest.$ac_ext
21601 cat >>conftest.$ac_ext <<_ACEOF
21602 /* end confdefs.h. */
21603 $ac_includes_default
21604 typedef long long ac__type_sizeof_;
21605 int
21606 main ()
21607 {
21608 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21609 test_array [0] = 0
21610
21611 ;
21612 return 0;
21613 }
21614 _ACEOF
21615 rm -f conftest.$ac_objext
21616 if { (ac_try="$ac_compile"
21617 case "(($ac_try" in
21618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21619 *) ac_try_echo=$ac_try;;
21620 esac
21621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21622 (eval "$ac_compile") 2>conftest.er1
21623 ac_status=$?
21624 grep -v '^ *+' conftest.er1 >conftest.err
21625 rm -f conftest.er1
21626 cat conftest.err >&5
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); } && {
21629 test -z "$ac_c_werror_flag" ||
21630 test ! -s conftest.err
21631 } && test -s conftest.$ac_objext; then
21632 ac_hi=$ac_mid
21633 else
21634 echo "$as_me: failed program was:" >&5
21635 sed 's/^/| /' conftest.$ac_ext >&5
21636
21637 ac_lo=`expr '(' $ac_mid ')' + 1`
21638 fi
21639
21640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21641 done
21642 case $ac_lo in
21643 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21644 '') if test "$ac_cv_type_long_long" = yes; then
21645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21646 See \`config.log' for more details." >&5
21647 echo "$as_me: error: cannot compute sizeof (long long)
21648 See \`config.log' for more details." >&2;}
21649 { (exit 77); exit 77; }; }
21650 else
21651 ac_cv_sizeof_long_long=0
21652 fi ;;
21653 esac
21654 else
21655 cat >conftest.$ac_ext <<_ACEOF
21656 /* confdefs.h. */
21657 _ACEOF
21658 cat confdefs.h >>conftest.$ac_ext
21659 cat >>conftest.$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21661 $ac_includes_default
21662 typedef long long ac__type_sizeof_;
21663 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21664 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21665 #include <stdio.h>
21666 #include <stdlib.h>
21667 int
21668 main ()
21669 {
21670
21671 FILE *f = fopen ("conftest.val", "w");
21672 if (! f)
21673 return 1;
21674 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21675 {
21676 long int i = longval ();
21677 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21678 return 1;
21679 fprintf (f, "%ld\n", i);
21680 }
21681 else
21682 {
21683 unsigned long int i = ulongval ();
21684 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21685 return 1;
21686 fprintf (f, "%lu\n", i);
21687 }
21688 return ferror (f) || fclose (f) != 0;
21689
21690 ;
21691 return 0;
21692 }
21693 _ACEOF
21694 rm -f conftest$ac_exeext
21695 if { (ac_try="$ac_link"
21696 case "(($ac_try" in
21697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21698 *) ac_try_echo=$ac_try;;
21699 esac
21700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21701 (eval "$ac_link") 2>&5
21702 ac_status=$?
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21705 { (case "(($ac_try" in
21706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21707 *) ac_try_echo=$ac_try;;
21708 esac
21709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21710 (eval "$ac_try") 2>&5
21711 ac_status=$?
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21714 ac_cv_sizeof_long_long=`cat conftest.val`
21715 else
21716 echo "$as_me: program exited with status $ac_status" >&5
21717 echo "$as_me: failed program was:" >&5
21718 sed 's/^/| /' conftest.$ac_ext >&5
21719
21720 ( exit $ac_status )
21721 if test "$ac_cv_type_long_long" = yes; then
21722 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21723 See \`config.log' for more details." >&5
21724 echo "$as_me: error: cannot compute sizeof (long long)
21725 See \`config.log' for more details." >&2;}
21726 { (exit 77); exit 77; }; }
21727 else
21728 ac_cv_sizeof_long_long=0
21729 fi
21730 fi
21731 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21732 fi
21733 rm -f conftest.val
21734 fi
21735 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21736 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21737
21738
21739
21740 cat >>confdefs.h <<_ACEOF
21741 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21742 _ACEOF
21743
21744
21745 esac
21746
21747 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21748 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21749 if test "${ac_cv_type_wchar_t+set}" = set; then
21750 echo $ECHO_N "(cached) $ECHO_C" >&6
21751 else
21752 cat >conftest.$ac_ext <<_ACEOF
21753 /* confdefs.h. */
21754 _ACEOF
21755 cat confdefs.h >>conftest.$ac_ext
21756 cat >>conftest.$ac_ext <<_ACEOF
21757 /* end confdefs.h. */
21758
21759 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21760 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21761 # error "fake wchar_t"
21762 #endif
21763 #ifdef HAVE_WCHAR_H
21764 # ifdef __CYGWIN__
21765 # include <stddef.h>
21766 # endif
21767 # include <wchar.h>
21768 #endif
21769 #ifdef HAVE_STDLIB_H
21770 # include <stdlib.h>
21771 #endif
21772 #include <stdio.h>
21773
21774
21775
21776 typedef wchar_t ac__type_new_;
21777 int
21778 main ()
21779 {
21780 if ((ac__type_new_ *) 0)
21781 return 0;
21782 if (sizeof (ac__type_new_))
21783 return 0;
21784 ;
21785 return 0;
21786 }
21787 _ACEOF
21788 rm -f conftest.$ac_objext
21789 if { (ac_try="$ac_compile"
21790 case "(($ac_try" in
21791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21792 *) ac_try_echo=$ac_try;;
21793 esac
21794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21795 (eval "$ac_compile") 2>conftest.er1
21796 ac_status=$?
21797 grep -v '^ *+' conftest.er1 >conftest.err
21798 rm -f conftest.er1
21799 cat conftest.err >&5
21800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801 (exit $ac_status); } && {
21802 test -z "$ac_c_werror_flag" ||
21803 test ! -s conftest.err
21804 } && test -s conftest.$ac_objext; then
21805 ac_cv_type_wchar_t=yes
21806 else
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.$ac_ext >&5
21809
21810 ac_cv_type_wchar_t=no
21811 fi
21812
21813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21814 fi
21815 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21816 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21817
21818 # The cast to long int works around a bug in the HP C Compiler
21819 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21820 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21821 # This bug is HP SR number 8606223364.
21822 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21823 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21824 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21825 echo $ECHO_N "(cached) $ECHO_C" >&6
21826 else
21827 if test "$cross_compiling" = yes; then
21828 # Depending upon the size, compute the lo and hi bounds.
21829 cat >conftest.$ac_ext <<_ACEOF
21830 /* confdefs.h. */
21831 _ACEOF
21832 cat confdefs.h >>conftest.$ac_ext
21833 cat >>conftest.$ac_ext <<_ACEOF
21834 /* end confdefs.h. */
21835
21836 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21837 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21838 # error "fake wchar_t"
21839 #endif
21840 #ifdef HAVE_WCHAR_H
21841 # ifdef __CYGWIN__
21842 # include <stddef.h>
21843 # endif
21844 # include <wchar.h>
21845 #endif
21846 #ifdef HAVE_STDLIB_H
21847 # include <stdlib.h>
21848 #endif
21849 #include <stdio.h>
21850
21851
21852
21853 typedef wchar_t ac__type_sizeof_;
21854 int
21855 main ()
21856 {
21857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21858 test_array [0] = 0
21859
21860 ;
21861 return 0;
21862 }
21863 _ACEOF
21864 rm -f conftest.$ac_objext
21865 if { (ac_try="$ac_compile"
21866 case "(($ac_try" in
21867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21868 *) ac_try_echo=$ac_try;;
21869 esac
21870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21871 (eval "$ac_compile") 2>conftest.er1
21872 ac_status=$?
21873 grep -v '^ *+' conftest.er1 >conftest.err
21874 rm -f conftest.er1
21875 cat conftest.err >&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } && {
21878 test -z "$ac_c_werror_flag" ||
21879 test ! -s conftest.err
21880 } && test -s conftest.$ac_objext; then
21881 ac_lo=0 ac_mid=0
21882 while :; do
21883 cat >conftest.$ac_ext <<_ACEOF
21884 /* confdefs.h. */
21885 _ACEOF
21886 cat confdefs.h >>conftest.$ac_ext
21887 cat >>conftest.$ac_ext <<_ACEOF
21888 /* end confdefs.h. */
21889
21890 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21891 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21892 # error "fake wchar_t"
21893 #endif
21894 #ifdef HAVE_WCHAR_H
21895 # ifdef __CYGWIN__
21896 # include <stddef.h>
21897 # endif
21898 # include <wchar.h>
21899 #endif
21900 #ifdef HAVE_STDLIB_H
21901 # include <stdlib.h>
21902 #endif
21903 #include <stdio.h>
21904
21905
21906
21907 typedef wchar_t ac__type_sizeof_;
21908 int
21909 main ()
21910 {
21911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21912 test_array [0] = 0
21913
21914 ;
21915 return 0;
21916 }
21917 _ACEOF
21918 rm -f conftest.$ac_objext
21919 if { (ac_try="$ac_compile"
21920 case "(($ac_try" in
21921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21922 *) ac_try_echo=$ac_try;;
21923 esac
21924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21925 (eval "$ac_compile") 2>conftest.er1
21926 ac_status=$?
21927 grep -v '^ *+' conftest.er1 >conftest.err
21928 rm -f conftest.er1
21929 cat conftest.err >&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); } && {
21932 test -z "$ac_c_werror_flag" ||
21933 test ! -s conftest.err
21934 } && test -s conftest.$ac_objext; then
21935 ac_hi=$ac_mid; break
21936 else
21937 echo "$as_me: failed program was:" >&5
21938 sed 's/^/| /' conftest.$ac_ext >&5
21939
21940 ac_lo=`expr $ac_mid + 1`
21941 if test $ac_lo -le $ac_mid; then
21942 ac_lo= ac_hi=
21943 break
21944 fi
21945 ac_mid=`expr 2 '*' $ac_mid + 1`
21946 fi
21947
21948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21949 done
21950 else
21951 echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.$ac_ext >&5
21953
21954 cat >conftest.$ac_ext <<_ACEOF
21955 /* confdefs.h. */
21956 _ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960
21961 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21962 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21963 # error "fake wchar_t"
21964 #endif
21965 #ifdef HAVE_WCHAR_H
21966 # ifdef __CYGWIN__
21967 # include <stddef.h>
21968 # endif
21969 # include <wchar.h>
21970 #endif
21971 #ifdef HAVE_STDLIB_H
21972 # include <stdlib.h>
21973 #endif
21974 #include <stdio.h>
21975
21976
21977
21978 typedef wchar_t ac__type_sizeof_;
21979 int
21980 main ()
21981 {
21982 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21983 test_array [0] = 0
21984
21985 ;
21986 return 0;
21987 }
21988 _ACEOF
21989 rm -f conftest.$ac_objext
21990 if { (ac_try="$ac_compile"
21991 case "(($ac_try" in
21992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21994 esac
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_compile") 2>conftest.er1
21997 ac_status=$?
21998 grep -v '^ *+' conftest.er1 >conftest.err
21999 rm -f conftest.er1
22000 cat conftest.err >&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } && {
22003 test -z "$ac_c_werror_flag" ||
22004 test ! -s conftest.err
22005 } && test -s conftest.$ac_objext; then
22006 ac_hi=-1 ac_mid=-1
22007 while :; do
22008 cat >conftest.$ac_ext <<_ACEOF
22009 /* confdefs.h. */
22010 _ACEOF
22011 cat confdefs.h >>conftest.$ac_ext
22012 cat >>conftest.$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014
22015 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22016 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22017 # error "fake wchar_t"
22018 #endif
22019 #ifdef HAVE_WCHAR_H
22020 # ifdef __CYGWIN__
22021 # include <stddef.h>
22022 # endif
22023 # include <wchar.h>
22024 #endif
22025 #ifdef HAVE_STDLIB_H
22026 # include <stdlib.h>
22027 #endif
22028 #include <stdio.h>
22029
22030
22031
22032 typedef wchar_t ac__type_sizeof_;
22033 int
22034 main ()
22035 {
22036 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22037 test_array [0] = 0
22038
22039 ;
22040 return 0;
22041 }
22042 _ACEOF
22043 rm -f conftest.$ac_objext
22044 if { (ac_try="$ac_compile"
22045 case "(($ac_try" in
22046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22047 *) ac_try_echo=$ac_try;;
22048 esac
22049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22050 (eval "$ac_compile") 2>conftest.er1
22051 ac_status=$?
22052 grep -v '^ *+' conftest.er1 >conftest.err
22053 rm -f conftest.er1
22054 cat conftest.err >&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } && {
22057 test -z "$ac_c_werror_flag" ||
22058 test ! -s conftest.err
22059 } && test -s conftest.$ac_objext; then
22060 ac_lo=$ac_mid; break
22061 else
22062 echo "$as_me: failed program was:" >&5
22063 sed 's/^/| /' conftest.$ac_ext >&5
22064
22065 ac_hi=`expr '(' $ac_mid ')' - 1`
22066 if test $ac_mid -le $ac_hi; then
22067 ac_lo= ac_hi=
22068 break
22069 fi
22070 ac_mid=`expr 2 '*' $ac_mid`
22071 fi
22072
22073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22074 done
22075 else
22076 echo "$as_me: failed program was:" >&5
22077 sed 's/^/| /' conftest.$ac_ext >&5
22078
22079 ac_lo= ac_hi=
22080 fi
22081
22082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22083 fi
22084
22085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22086 # Binary search between lo and hi bounds.
22087 while test "x$ac_lo" != "x$ac_hi"; do
22088 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22089 cat >conftest.$ac_ext <<_ACEOF
22090 /* confdefs.h. */
22091 _ACEOF
22092 cat confdefs.h >>conftest.$ac_ext
22093 cat >>conftest.$ac_ext <<_ACEOF
22094 /* end confdefs.h. */
22095
22096 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22097 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22098 # error "fake wchar_t"
22099 #endif
22100 #ifdef HAVE_WCHAR_H
22101 # ifdef __CYGWIN__
22102 # include <stddef.h>
22103 # endif
22104 # include <wchar.h>
22105 #endif
22106 #ifdef HAVE_STDLIB_H
22107 # include <stdlib.h>
22108 #endif
22109 #include <stdio.h>
22110
22111
22112
22113 typedef wchar_t ac__type_sizeof_;
22114 int
22115 main ()
22116 {
22117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22118 test_array [0] = 0
22119
22120 ;
22121 return 0;
22122 }
22123 _ACEOF
22124 rm -f conftest.$ac_objext
22125 if { (ac_try="$ac_compile"
22126 case "(($ac_try" in
22127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22128 *) ac_try_echo=$ac_try;;
22129 esac
22130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22131 (eval "$ac_compile") 2>conftest.er1
22132 ac_status=$?
22133 grep -v '^ *+' conftest.er1 >conftest.err
22134 rm -f conftest.er1
22135 cat conftest.err >&5
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); } && {
22138 test -z "$ac_c_werror_flag" ||
22139 test ! -s conftest.err
22140 } && test -s conftest.$ac_objext; then
22141 ac_hi=$ac_mid
22142 else
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.$ac_ext >&5
22145
22146 ac_lo=`expr '(' $ac_mid ')' + 1`
22147 fi
22148
22149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22150 done
22151 case $ac_lo in
22152 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22153 '') if test "$ac_cv_type_wchar_t" = yes; then
22154 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22155 See \`config.log' for more details." >&5
22156 echo "$as_me: error: cannot compute sizeof (wchar_t)
22157 See \`config.log' for more details." >&2;}
22158 { (exit 77); exit 77; }; }
22159 else
22160 ac_cv_sizeof_wchar_t=0
22161 fi ;;
22162 esac
22163 else
22164 cat >conftest.$ac_ext <<_ACEOF
22165 /* confdefs.h. */
22166 _ACEOF
22167 cat confdefs.h >>conftest.$ac_ext
22168 cat >>conftest.$ac_ext <<_ACEOF
22169 /* end confdefs.h. */
22170
22171 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22172 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22173 # error "fake wchar_t"
22174 #endif
22175 #ifdef HAVE_WCHAR_H
22176 # ifdef __CYGWIN__
22177 # include <stddef.h>
22178 # endif
22179 # include <wchar.h>
22180 #endif
22181 #ifdef HAVE_STDLIB_H
22182 # include <stdlib.h>
22183 #endif
22184 #include <stdio.h>
22185
22186
22187
22188 typedef wchar_t ac__type_sizeof_;
22189 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22190 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22191 #include <stdio.h>
22192 #include <stdlib.h>
22193 int
22194 main ()
22195 {
22196
22197 FILE *f = fopen ("conftest.val", "w");
22198 if (! f)
22199 return 1;
22200 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22201 {
22202 long int i = longval ();
22203 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22204 return 1;
22205 fprintf (f, "%ld\n", i);
22206 }
22207 else
22208 {
22209 unsigned long int i = ulongval ();
22210 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22211 return 1;
22212 fprintf (f, "%lu\n", i);
22213 }
22214 return ferror (f) || fclose (f) != 0;
22215
22216 ;
22217 return 0;
22218 }
22219 _ACEOF
22220 rm -f conftest$ac_exeext
22221 if { (ac_try="$ac_link"
22222 case "(($ac_try" in
22223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22224 *) ac_try_echo=$ac_try;;
22225 esac
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22227 (eval "$ac_link") 2>&5
22228 ac_status=$?
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22231 { (case "(($ac_try" in
22232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22233 *) ac_try_echo=$ac_try;;
22234 esac
22235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22236 (eval "$ac_try") 2>&5
22237 ac_status=$?
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; }; then
22240 ac_cv_sizeof_wchar_t=`cat conftest.val`
22241 else
22242 echo "$as_me: program exited with status $ac_status" >&5
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22245
22246 ( exit $ac_status )
22247 if test "$ac_cv_type_wchar_t" = yes; then
22248 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22249 See \`config.log' for more details." >&5
22250 echo "$as_me: error: cannot compute sizeof (wchar_t)
22251 See \`config.log' for more details." >&2;}
22252 { (exit 77); exit 77; }; }
22253 else
22254 ac_cv_sizeof_wchar_t=0
22255 fi
22256 fi
22257 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22258 fi
22259 rm -f conftest.val
22260 fi
22261 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22262 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22263
22264
22265
22266 cat >>confdefs.h <<_ACEOF
22267 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22268 _ACEOF
22269
22270
22271 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22272 wxUSE_WCHAR_T=yes
22273 else
22274 wxUSE_WCHAR_T=no
22275 fi
22276
22277 { echo "$as_me:$LINENO: checking for va_copy" >&5
22278 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22279 if test "${wx_cv_func_va_copy+set}" = set; then
22280 echo $ECHO_N "(cached) $ECHO_C" >&6
22281 else
22282
22283 ac_ext=cpp
22284 ac_cpp='$CXXCPP $CPPFLAGS'
22285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22288
22289 cat >conftest.$ac_ext <<_ACEOF
22290
22291 #include <stdarg.h>
22292 void foo(char *f, ...)
22293 {
22294 va_list ap1, ap2;
22295 va_start(ap1, f);
22296 va_copy(ap2, ap1);
22297 va_end(ap2);
22298 va_end(ap1);
22299 }
22300 int main()
22301 {
22302 foo("hi", 17);
22303 return 0;
22304 }
22305 _ACEOF
22306 rm -f conftest.$ac_objext conftest$ac_exeext
22307 if { (ac_try="$ac_link"
22308 case "(($ac_try" in
22309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22310 *) ac_try_echo=$ac_try;;
22311 esac
22312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22313 (eval "$ac_link") 2>conftest.er1
22314 ac_status=$?
22315 grep -v '^ *+' conftest.er1 >conftest.err
22316 rm -f conftest.er1
22317 cat conftest.err >&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } && {
22320 test -z "$ac_cxx_werror_flag" ||
22321 test ! -s conftest.err
22322 } && test -s conftest$ac_exeext &&
22323 $as_test_x conftest$ac_exeext; then
22324 wx_cv_func_va_copy=yes
22325 else
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22328
22329 wx_cv_func_va_copy=no
22330
22331 fi
22332
22333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22334 conftest$ac_exeext conftest.$ac_ext
22335 ac_ext=c
22336 ac_cpp='$CPP $CPPFLAGS'
22337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22340
22341
22342
22343 fi
22344 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22345 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22346
22347 if test $wx_cv_func_va_copy = "yes"; then
22348 cat >>confdefs.h <<\_ACEOF
22349 #define HAVE_VA_COPY 1
22350 _ACEOF
22351
22352 else
22353 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22354 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22355 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22356 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 else
22358
22359 if test "$cross_compiling" = yes; then
22360 wx_cv_type_va_list_lvalue=yes
22361
22362 else
22363 cat >conftest.$ac_ext <<_ACEOF
22364
22365 #include <stdarg.h>
22366 int foo(char *f, ...)
22367 {
22368 va_list ap1, ap2;
22369 va_start(ap1, f);
22370 ap2 = ap1;
22371 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22372 return 1;
22373 va_end(ap2);
22374 va_end(ap1);
22375 return 0;
22376 }
22377 int main()
22378 {
22379 return foo("hi", 17);
22380 }
22381 _ACEOF
22382 rm -f conftest$ac_exeext
22383 if { (ac_try="$ac_link"
22384 case "(($ac_try" in
22385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22386 *) ac_try_echo=$ac_try;;
22387 esac
22388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22389 (eval "$ac_link") 2>&5
22390 ac_status=$?
22391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22393 { (case "(($ac_try" in
22394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22395 *) ac_try_echo=$ac_try;;
22396 esac
22397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22398 (eval "$ac_try") 2>&5
22399 ac_status=$?
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); }; }; then
22402 wx_cv_type_va_list_lvalue=yes
22403 else
22404 echo "$as_me: program exited with status $ac_status" >&5
22405 echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.$ac_ext >&5
22407
22408 ( exit $ac_status )
22409 wx_cv_type_va_list_lvalue=no
22410 fi
22411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22412 fi
22413
22414
22415
22416
22417 fi
22418 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22419 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22420
22421 if test $wx_cv_type_va_list_lvalue != "yes"; then
22422 cat >>confdefs.h <<\_ACEOF
22423 #define VA_LIST_IS_ARRAY 1
22424 _ACEOF
22425
22426 fi
22427 fi
22428
22429 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22430
22431 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22432 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22433 if test "${wx_cv_have_variadic_macros+set}" = set; then
22434 echo $ECHO_N "(cached) $ECHO_C" >&6
22435 else
22436
22437 ac_ext=cpp
22438 ac_cpp='$CXXCPP $CPPFLAGS'
22439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22442
22443 cat >conftest.$ac_ext <<_ACEOF
22444 /* confdefs.h. */
22445 _ACEOF
22446 cat confdefs.h >>conftest.$ac_ext
22447 cat >>conftest.$ac_ext <<_ACEOF
22448 /* end confdefs.h. */
22449
22450 #include <stdio.h>
22451 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22452
22453 int
22454 main ()
22455 {
22456
22457 test("%s %d %p", "test", 1, 0);
22458
22459
22460 ;
22461 return 0;
22462 }
22463 _ACEOF
22464 rm -f conftest.$ac_objext
22465 if { (ac_try="$ac_compile"
22466 case "(($ac_try" in
22467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22468 *) ac_try_echo=$ac_try;;
22469 esac
22470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22471 (eval "$ac_compile") 2>conftest.er1
22472 ac_status=$?
22473 grep -v '^ *+' conftest.er1 >conftest.err
22474 rm -f conftest.er1
22475 cat conftest.err >&5
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); } && {
22478 test -z "$ac_cxx_werror_flag" ||
22479 test ! -s conftest.err
22480 } && test -s conftest.$ac_objext; then
22481 wx_cv_have_variadic_macros=yes
22482 else
22483 echo "$as_me: failed program was:" >&5
22484 sed 's/^/| /' conftest.$ac_ext >&5
22485
22486 wx_cv_have_variadic_macros=no
22487
22488 fi
22489
22490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22491 ac_ext=c
22492 ac_cpp='$CPP $CPPFLAGS'
22493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22496
22497
22498
22499 fi
22500 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22501 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22502
22503 if test $wx_cv_have_variadic_macros = "yes"; then
22504 cat >>confdefs.h <<\_ACEOF
22505 #define HAVE_VARIADIC_MACROS 1
22506 _ACEOF
22507
22508 fi
22509
22510 fi
22511 # Check whether --enable-largefile was given.
22512 if test "${enable_largefile+set}" = set; then
22513 enableval=$enable_largefile;
22514 fi
22515
22516 if test "$enable_largefile" != no; then
22517 wx_largefile=no
22518
22519 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22520 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22521 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22522 echo $ECHO_N "(cached) $ECHO_C" >&6
22523 else
22524
22525 cat >conftest.$ac_ext <<_ACEOF
22526 /* confdefs.h. */
22527 _ACEOF
22528 cat confdefs.h >>conftest.$ac_ext
22529 cat >>conftest.$ac_ext <<_ACEOF
22530 /* end confdefs.h. */
22531 #define _FILE_OFFSET_BITS 64
22532 #include <sys/types.h>
22533 int
22534 main ()
22535 {
22536 typedef struct {
22537 unsigned int field: sizeof(off_t) == 8;
22538 } wxlf;
22539
22540 ;
22541 return 0;
22542 }
22543 _ACEOF
22544 rm -f conftest.$ac_objext
22545 if { (ac_try="$ac_compile"
22546 case "(($ac_try" in
22547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22548 *) ac_try_echo=$ac_try;;
22549 esac
22550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22551 (eval "$ac_compile") 2>conftest.er1
22552 ac_status=$?
22553 grep -v '^ *+' conftest.er1 >conftest.err
22554 rm -f conftest.er1
22555 cat conftest.err >&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } && {
22558 test -z "$ac_c_werror_flag" ||
22559 test ! -s conftest.err
22560 } && test -s conftest.$ac_objext; then
22561 ac_cv_sys_file_offset_bits=64
22562 else
22563 echo "$as_me: failed program was:" >&5
22564 sed 's/^/| /' conftest.$ac_ext >&5
22565
22566 ac_cv_sys_file_offset_bits=no
22567 fi
22568
22569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22570
22571
22572 fi
22573 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22574 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22575
22576 if test "$ac_cv_sys_file_offset_bits" != no; then
22577 wx_largefile=yes
22578 cat >>confdefs.h <<_ACEOF
22579 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22580 _ACEOF
22581
22582 fi
22583
22584 if test "x$wx_largefile" != "xyes"; then
22585
22586 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22587 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22588 if test "${ac_cv_sys_large_files+set}" = set; then
22589 echo $ECHO_N "(cached) $ECHO_C" >&6
22590 else
22591
22592 cat >conftest.$ac_ext <<_ACEOF
22593 /* confdefs.h. */
22594 _ACEOF
22595 cat confdefs.h >>conftest.$ac_ext
22596 cat >>conftest.$ac_ext <<_ACEOF
22597 /* end confdefs.h. */
22598 #define _LARGE_FILES 1
22599 #include <sys/types.h>
22600 int
22601 main ()
22602 {
22603 typedef struct {
22604 unsigned int field: sizeof(off_t) == 8;
22605 } wxlf;
22606
22607 ;
22608 return 0;
22609 }
22610 _ACEOF
22611 rm -f conftest.$ac_objext
22612 if { (ac_try="$ac_compile"
22613 case "(($ac_try" in
22614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22615 *) ac_try_echo=$ac_try;;
22616 esac
22617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22618 (eval "$ac_compile") 2>conftest.er1
22619 ac_status=$?
22620 grep -v '^ *+' conftest.er1 >conftest.err
22621 rm -f conftest.er1
22622 cat conftest.err >&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } && {
22625 test -z "$ac_c_werror_flag" ||
22626 test ! -s conftest.err
22627 } && test -s conftest.$ac_objext; then
22628 ac_cv_sys_large_files=1
22629 else
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.$ac_ext >&5
22632
22633 ac_cv_sys_large_files=no
22634 fi
22635
22636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637
22638
22639 fi
22640 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22641 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22642
22643 if test "$ac_cv_sys_large_files" != no; then
22644 wx_largefile=yes
22645 cat >>confdefs.h <<_ACEOF
22646 #define _LARGE_FILES $ac_cv_sys_large_files
22647 _ACEOF
22648
22649 fi
22650
22651 fi
22652
22653 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22654 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22655 if test "x$wx_largefile" = "xyes"; then
22656 cat >>confdefs.h <<\_ACEOF
22657 #define HAVE_LARGEFILE_SUPPORT 1
22658 _ACEOF
22659
22660 fi
22661 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22662 echo "${ECHO_T}$wx_largefile" >&6; }
22663 fi
22664
22665
22666 if test "x$wx_largefile" = "xyes"; then
22667 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22668 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22669
22670 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22671 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22672 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22673 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22674 echo $ECHO_N "(cached) $ECHO_C" >&6
22675 else
22676
22677 ac_ext=cpp
22678 ac_cpp='$CXXCPP $CPPFLAGS'
22679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22682
22683 cat >conftest.$ac_ext <<_ACEOF
22684 /* confdefs.h. */
22685 _ACEOF
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689
22690 int
22691 main ()
22692 {
22693
22694 #ifndef __STDC_EXT__
22695 choke me
22696 #endif
22697
22698 ;
22699 return 0;
22700 }
22701 _ACEOF
22702 rm -f conftest.$ac_objext
22703 if { (ac_try="$ac_compile"
22704 case "(($ac_try" in
22705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22706 *) ac_try_echo=$ac_try;;
22707 esac
22708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709 (eval "$ac_compile") 2>conftest.er1
22710 ac_status=$?
22711 grep -v '^ *+' conftest.er1 >conftest.err
22712 rm -f conftest.er1
22713 cat conftest.err >&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } && {
22716 test -z "$ac_cxx_werror_flag" ||
22717 test ! -s conftest.err
22718 } && test -s conftest.$ac_objext; then
22719 wx_cv_STDC_EXT_required=no
22720 else
22721 echo "$as_me: failed program was:" >&5
22722 sed 's/^/| /' conftest.$ac_ext >&5
22723
22724 wx_cv_STDC_EXT_required=yes
22725
22726 fi
22727
22728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22729 ac_ext=c
22730 ac_cpp='$CPP $CPPFLAGS'
22731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22734
22735
22736
22737 fi
22738 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22739 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22740 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22741 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22742 fi
22743 fi
22744 else
22745 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22746 fi
22747 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22748 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22749 if test "${ac_cv_sys_largefile_source+set}" = set; then
22750 echo $ECHO_N "(cached) $ECHO_C" >&6
22751 else
22752 while :; do
22753 cat >conftest.$ac_ext <<_ACEOF
22754 /* confdefs.h. */
22755 _ACEOF
22756 cat confdefs.h >>conftest.$ac_ext
22757 cat >>conftest.$ac_ext <<_ACEOF
22758 /* end confdefs.h. */
22759 #include <sys/types.h> /* for off_t */
22760 #include <stdio.h>
22761 int
22762 main ()
22763 {
22764 int (*fp) (FILE *, off_t, int) = fseeko;
22765 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22766 ;
22767 return 0;
22768 }
22769 _ACEOF
22770 rm -f conftest.$ac_objext conftest$ac_exeext
22771 if { (ac_try="$ac_link"
22772 case "(($ac_try" in
22773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22774 *) ac_try_echo=$ac_try;;
22775 esac
22776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22777 (eval "$ac_link") 2>conftest.er1
22778 ac_status=$?
22779 grep -v '^ *+' conftest.er1 >conftest.err
22780 rm -f conftest.er1
22781 cat conftest.err >&5
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); } && {
22784 test -z "$ac_c_werror_flag" ||
22785 test ! -s conftest.err
22786 } && test -s conftest$ac_exeext &&
22787 $as_test_x conftest$ac_exeext; then
22788 ac_cv_sys_largefile_source=no; break
22789 else
22790 echo "$as_me: failed program was:" >&5
22791 sed 's/^/| /' conftest.$ac_ext >&5
22792
22793
22794 fi
22795
22796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22797 conftest$ac_exeext conftest.$ac_ext
22798 cat >conftest.$ac_ext <<_ACEOF
22799 /* confdefs.h. */
22800 _ACEOF
22801 cat confdefs.h >>conftest.$ac_ext
22802 cat >>conftest.$ac_ext <<_ACEOF
22803 /* end confdefs.h. */
22804 #define _LARGEFILE_SOURCE 1
22805 #include <sys/types.h> /* for off_t */
22806 #include <stdio.h>
22807 int
22808 main ()
22809 {
22810 int (*fp) (FILE *, off_t, int) = fseeko;
22811 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22812 ;
22813 return 0;
22814 }
22815 _ACEOF
22816 rm -f conftest.$ac_objext conftest$ac_exeext
22817 if { (ac_try="$ac_link"
22818 case "(($ac_try" in
22819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22820 *) ac_try_echo=$ac_try;;
22821 esac
22822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22823 (eval "$ac_link") 2>conftest.er1
22824 ac_status=$?
22825 grep -v '^ *+' conftest.er1 >conftest.err
22826 rm -f conftest.er1
22827 cat conftest.err >&5
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); } && {
22830 test -z "$ac_c_werror_flag" ||
22831 test ! -s conftest.err
22832 } && test -s conftest$ac_exeext &&
22833 $as_test_x conftest$ac_exeext; then
22834 ac_cv_sys_largefile_source=1; break
22835 else
22836 echo "$as_me: failed program was:" >&5
22837 sed 's/^/| /' conftest.$ac_ext >&5
22838
22839
22840 fi
22841
22842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22843 conftest$ac_exeext conftest.$ac_ext
22844 ac_cv_sys_largefile_source=unknown
22845 break
22846 done
22847 fi
22848 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22849 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22850 case $ac_cv_sys_largefile_source in #(
22851 no | unknown) ;;
22852 *)
22853 cat >>confdefs.h <<_ACEOF
22854 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22855 _ACEOF
22856 ;;
22857 esac
22858 rm -f conftest*
22859
22860 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22861 # in glibc 2.1.3, but that breaks too many other things.
22862 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22863 if test $ac_cv_sys_largefile_source != unknown; then
22864
22865 cat >>confdefs.h <<\_ACEOF
22866 #define HAVE_FSEEKO 1
22867 _ACEOF
22868
22869 fi
22870
22871 if test "$ac_cv_sys_largefile_source" != no; then
22872 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22873 fi
22874 fi
22875
22876 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22877 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22878 if test "${ac_cv_c_bigendian+set}" = set; then
22879 echo $ECHO_N "(cached) $ECHO_C" >&6
22880 else
22881 ac_cv_c_bigendian=unknown
22882 # See if sys/param.h defines the BYTE_ORDER macro.
22883 cat >conftest.$ac_ext <<_ACEOF
22884 /* confdefs.h. */
22885 _ACEOF
22886 cat confdefs.h >>conftest.$ac_ext
22887 cat >>conftest.$ac_ext <<_ACEOF
22888 /* end confdefs.h. */
22889 #include <sys/types.h>
22890 #include <sys/param.h>
22891 int
22892 main ()
22893 {
22894
22895 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22896 bogus endian macros
22897 #endif
22898 ;
22899 return 0;
22900 }
22901 _ACEOF
22902 rm -f conftest.$ac_objext
22903 if { (ac_try="$ac_compile"
22904 case "(($ac_try" in
22905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22906 *) ac_try_echo=$ac_try;;
22907 esac
22908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22909 (eval "$ac_compile") 2>conftest.er1
22910 ac_status=$?
22911 grep -v '^ *+' conftest.er1 >conftest.err
22912 rm -f conftest.er1
22913 cat conftest.err >&5
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); } && {
22916 test -z "$ac_c_werror_flag" ||
22917 test ! -s conftest.err
22918 } && test -s conftest.$ac_objext; then
22919 # It does; now see whether it defined to BIG_ENDIAN or not.
22920 cat >conftest.$ac_ext <<_ACEOF
22921 /* confdefs.h. */
22922 _ACEOF
22923 cat confdefs.h >>conftest.$ac_ext
22924 cat >>conftest.$ac_ext <<_ACEOF
22925 /* end confdefs.h. */
22926 #include <sys/types.h>
22927 #include <sys/param.h>
22928 int
22929 main ()
22930 {
22931
22932 #if BYTE_ORDER != BIG_ENDIAN
22933 not big endian
22934 #endif
22935 ;
22936 return 0;
22937 }
22938 _ACEOF
22939 rm -f conftest.$ac_objext
22940 if { (ac_try="$ac_compile"
22941 case "(($ac_try" in
22942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22943 *) ac_try_echo=$ac_try;;
22944 esac
22945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22946 (eval "$ac_compile") 2>conftest.er1
22947 ac_status=$?
22948 grep -v '^ *+' conftest.er1 >conftest.err
22949 rm -f conftest.er1
22950 cat conftest.err >&5
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); } && {
22953 test -z "$ac_c_werror_flag" ||
22954 test ! -s conftest.err
22955 } && test -s conftest.$ac_objext; then
22956 ac_cv_c_bigendian=yes
22957 else
22958 echo "$as_me: failed program was:" >&5
22959 sed 's/^/| /' conftest.$ac_ext >&5
22960
22961 ac_cv_c_bigendian=no
22962 fi
22963
22964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22965 else
22966 echo "$as_me: failed program was:" >&5
22967 sed 's/^/| /' conftest.$ac_ext >&5
22968
22969
22970 fi
22971
22972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22973 if test $ac_cv_c_bigendian = unknown; then
22974 if test "$cross_compiling" = yes; then
22975 ac_cv_c_bigendian=unknown
22976 else
22977 cat >conftest.$ac_ext <<_ACEOF
22978 /* confdefs.h. */
22979 _ACEOF
22980 cat confdefs.h >>conftest.$ac_ext
22981 cat >>conftest.$ac_ext <<_ACEOF
22982 /* end confdefs.h. */
22983 main () {
22984 /* Are we little or big endian? From Harbison&Steele. */
22985 union
22986 {
22987 long l;
22988 char c[sizeof (long)];
22989 } u;
22990 u.l = 1;
22991 exit (u.c[sizeof (long) - 1] == 1);
22992 }
22993 _ACEOF
22994 rm -f conftest$ac_exeext
22995 if { (ac_try="$ac_link"
22996 case "(($ac_try" in
22997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22998 *) ac_try_echo=$ac_try;;
22999 esac
23000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23001 (eval "$ac_link") 2>&5
23002 ac_status=$?
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23005 { (case "(($ac_try" in
23006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23007 *) ac_try_echo=$ac_try;;
23008 esac
23009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23010 (eval "$ac_try") 2>&5
23011 ac_status=$?
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); }; }; then
23014 ac_cv_c_bigendian=no
23015 else
23016 echo "$as_me: program exited with status $ac_status" >&5
23017 echo "$as_me: failed program was:" >&5
23018 sed 's/^/| /' conftest.$ac_ext >&5
23019
23020 ( exit $ac_status )
23021 ac_cv_c_bigendian=yes
23022 fi
23023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23024 fi
23025
23026
23027 fi
23028 fi
23029 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23030 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23031 if test $ac_cv_c_bigendian = unknown; then
23032 { 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
23033 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;}
23034 fi
23035 if test $ac_cv_c_bigendian = yes; then
23036 cat >>confdefs.h <<\_ACEOF
23037 #define WORDS_BIGENDIAN 1
23038 _ACEOF
23039
23040 fi
23041
23042
23043
23044
23045 ac_ext=cpp
23046 ac_cpp='$CXXCPP $CPPFLAGS'
23047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23050
23051
23052 { echo "$as_me:$LINENO: checking for iostream" >&5
23053 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
23054 if test "${ac_cv_header_iostream+set}" = set; then
23055 echo $ECHO_N "(cached) $ECHO_C" >&6
23056 else
23057 cat >conftest.$ac_ext <<_ACEOF
23058 /* confdefs.h. */
23059 _ACEOF
23060 cat confdefs.h >>conftest.$ac_ext
23061 cat >>conftest.$ac_ext <<_ACEOF
23062 /* end confdefs.h. */
23063
23064
23065 #include <iostream>
23066 _ACEOF
23067 rm -f conftest.$ac_objext
23068 if { (ac_try="$ac_compile"
23069 case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23072 esac
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_compile") 2>conftest.er1
23075 ac_status=$?
23076 grep -v '^ *+' conftest.er1 >conftest.err
23077 rm -f conftest.er1
23078 cat conftest.err >&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } && {
23081 test -z "$ac_cxx_werror_flag" ||
23082 test ! -s conftest.err
23083 } && test -s conftest.$ac_objext; then
23084 ac_cv_header_iostream=yes
23085 else
23086 echo "$as_me: failed program was:" >&5
23087 sed 's/^/| /' conftest.$ac_ext >&5
23088
23089 ac_cv_header_iostream=no
23090 fi
23091
23092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23093 fi
23094 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
23095 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
23096
23097
23098
23099 if test "$ac_cv_header_iostream" = "yes" ; then
23100 :
23101 else
23102 cat >>confdefs.h <<\_ACEOF
23103 #define wxUSE_IOSTREAMH 1
23104 _ACEOF
23105
23106 fi
23107
23108 ac_ext=c
23109 ac_cpp='$CPP $CPPFLAGS'
23110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23113
23114
23115
23116
23117 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23118 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23119 if test "${wx_cv_cpp_bool+set}" = set; then
23120 echo $ECHO_N "(cached) $ECHO_C" >&6
23121 else
23122
23123
23124 ac_ext=cpp
23125 ac_cpp='$CXXCPP $CPPFLAGS'
23126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23129
23130
23131 cat >conftest.$ac_ext <<_ACEOF
23132 /* confdefs.h. */
23133 _ACEOF
23134 cat confdefs.h >>conftest.$ac_ext
23135 cat >>conftest.$ac_ext <<_ACEOF
23136 /* end confdefs.h. */
23137
23138
23139 int
23140 main ()
23141 {
23142
23143 bool b = true;
23144
23145 return 0;
23146
23147 ;
23148 return 0;
23149 }
23150 _ACEOF
23151 rm -f conftest.$ac_objext
23152 if { (ac_try="$ac_compile"
23153 case "(($ac_try" in
23154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23155 *) ac_try_echo=$ac_try;;
23156 esac
23157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23158 (eval "$ac_compile") 2>conftest.er1
23159 ac_status=$?
23160 grep -v '^ *+' conftest.er1 >conftest.err
23161 rm -f conftest.er1
23162 cat conftest.err >&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); } && {
23165 test -z "$ac_cxx_werror_flag" ||
23166 test ! -s conftest.err
23167 } && test -s conftest.$ac_objext; then
23168
23169 wx_cv_cpp_bool=yes
23170
23171 else
23172 echo "$as_me: failed program was:" >&5
23173 sed 's/^/| /' conftest.$ac_ext >&5
23174
23175
23176 wx_cv_cpp_bool=no
23177
23178
23179 fi
23180
23181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23182
23183 ac_ext=c
23184 ac_cpp='$CPP $CPPFLAGS'
23185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23188
23189
23190 fi
23191 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23192 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23193
23194 if test "$wx_cv_cpp_bool" = "yes"; then
23195 cat >>confdefs.h <<\_ACEOF
23196 #define HAVE_BOOL 1
23197 _ACEOF
23198
23199 fi
23200
23201
23202
23203 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23204 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23205 if test "${wx_cv_explicit+set}" = set; then
23206 echo $ECHO_N "(cached) $ECHO_C" >&6
23207 else
23208
23209
23210 ac_ext=cpp
23211 ac_cpp='$CXXCPP $CPPFLAGS'
23212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23215
23216
23217 cat >conftest.$ac_ext <<_ACEOF
23218 /* confdefs.h. */
23219 _ACEOF
23220 cat confdefs.h >>conftest.$ac_ext
23221 cat >>conftest.$ac_ext <<_ACEOF
23222 /* end confdefs.h. */
23223
23224 class Foo { public: explicit Foo(int) {} };
23225
23226 int
23227 main ()
23228 {
23229
23230 return 0;
23231
23232 ;
23233 return 0;
23234 }
23235 _ACEOF
23236 rm -f conftest.$ac_objext
23237 if { (ac_try="$ac_compile"
23238 case "(($ac_try" in
23239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23240 *) ac_try_echo=$ac_try;;
23241 esac
23242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23243 (eval "$ac_compile") 2>conftest.er1
23244 ac_status=$?
23245 grep -v '^ *+' conftest.er1 >conftest.err
23246 rm -f conftest.er1
23247 cat conftest.err >&5
23248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23249 (exit $ac_status); } && {
23250 test -z "$ac_cxx_werror_flag" ||
23251 test ! -s conftest.err
23252 } && test -s conftest.$ac_objext; then
23253
23254 cat >conftest.$ac_ext <<_ACEOF
23255 /* confdefs.h. */
23256 _ACEOF
23257 cat confdefs.h >>conftest.$ac_ext
23258 cat >>conftest.$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23260
23261 class Foo { public: explicit Foo(int) {} };
23262 static void TakeFoo(const Foo& foo) { }
23263
23264 int
23265 main ()
23266 {
23267
23268 TakeFoo(17);
23269 return 0;
23270
23271 ;
23272 return 0;
23273 }
23274 _ACEOF
23275 rm -f conftest.$ac_objext
23276 if { (ac_try="$ac_compile"
23277 case "(($ac_try" in
23278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23279 *) ac_try_echo=$ac_try;;
23280 esac
23281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23282 (eval "$ac_compile") 2>conftest.er1
23283 ac_status=$?
23284 grep -v '^ *+' conftest.er1 >conftest.err
23285 rm -f conftest.er1
23286 cat conftest.err >&5
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); } && {
23289 test -z "$ac_cxx_werror_flag" ||
23290 test ! -s conftest.err
23291 } && test -s conftest.$ac_objext; then
23292 wx_cv_explicit=no
23293 else
23294 echo "$as_me: failed program was:" >&5
23295 sed 's/^/| /' conftest.$ac_ext >&5
23296
23297 wx_cv_explicit=yes
23298
23299 fi
23300
23301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23302
23303 else
23304 echo "$as_me: failed program was:" >&5
23305 sed 's/^/| /' conftest.$ac_ext >&5
23306
23307 wx_cv_explicit=no
23308
23309 fi
23310
23311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23312
23313 ac_ext=c
23314 ac_cpp='$CPP $CPPFLAGS'
23315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23318
23319
23320 fi
23321 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23322 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23323
23324 if test "$wx_cv_explicit" = "yes"; then
23325 cat >>confdefs.h <<\_ACEOF
23326 #define HAVE_EXPLICIT 1
23327 _ACEOF
23328
23329 fi
23330
23331
23332 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23333 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23334 if test "${ac_cv_cxx_const_cast+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23336 else
23337
23338 ac_ext=cpp
23339 ac_cpp='$CXXCPP $CPPFLAGS'
23340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23343
23344 cat >conftest.$ac_ext <<_ACEOF
23345 /* confdefs.h. */
23346 _ACEOF
23347 cat confdefs.h >>conftest.$ac_ext
23348 cat >>conftest.$ac_ext <<_ACEOF
23349 /* end confdefs.h. */
23350
23351 int
23352 main ()
23353 {
23354 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23355 ;
23356 return 0;
23357 }
23358 _ACEOF
23359 rm -f conftest.$ac_objext
23360 if { (ac_try="$ac_compile"
23361 case "(($ac_try" in
23362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23363 *) ac_try_echo=$ac_try;;
23364 esac
23365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23366 (eval "$ac_compile") 2>conftest.er1
23367 ac_status=$?
23368 grep -v '^ *+' conftest.er1 >conftest.err
23369 rm -f conftest.er1
23370 cat conftest.err >&5
23371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); } && {
23373 test -z "$ac_cxx_werror_flag" ||
23374 test ! -s conftest.err
23375 } && test -s conftest.$ac_objext; then
23376 ac_cv_cxx_const_cast=yes
23377 else
23378 echo "$as_me: failed program was:" >&5
23379 sed 's/^/| /' conftest.$ac_ext >&5
23380
23381 ac_cv_cxx_const_cast=no
23382 fi
23383
23384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23385 ac_ext=c
23386 ac_cpp='$CPP $CPPFLAGS'
23387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23390
23391
23392 fi
23393 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23394 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23395 if test "$ac_cv_cxx_const_cast" = yes; then
23396
23397 cat >>confdefs.h <<\_ACEOF
23398 #define HAVE_CONST_CAST
23399 _ACEOF
23400
23401 fi
23402
23403 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23404 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23405 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23406 echo $ECHO_N "(cached) $ECHO_C" >&6
23407 else
23408
23409 ac_ext=cpp
23410 ac_cpp='$CXXCPP $CPPFLAGS'
23411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23414
23415 cat >conftest.$ac_ext <<_ACEOF
23416 /* confdefs.h. */
23417 _ACEOF
23418 cat confdefs.h >>conftest.$ac_ext
23419 cat >>conftest.$ac_ext <<_ACEOF
23420 /* end confdefs.h. */
23421 #include <typeinfo>
23422 class Base { public : Base () {} virtual void f () = 0;};
23423 class Derived : public Base { public : Derived () {} virtual void f () {} };
23424 class Unrelated { public : Unrelated () {} };
23425 int g (Unrelated&) { return 0; }
23426 int
23427 main ()
23428 {
23429
23430 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23431 ;
23432 return 0;
23433 }
23434 _ACEOF
23435 rm -f conftest.$ac_objext
23436 if { (ac_try="$ac_compile"
23437 case "(($ac_try" in
23438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23439 *) ac_try_echo=$ac_try;;
23440 esac
23441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23442 (eval "$ac_compile") 2>conftest.er1
23443 ac_status=$?
23444 grep -v '^ *+' conftest.er1 >conftest.err
23445 rm -f conftest.er1
23446 cat conftest.err >&5
23447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23448 (exit $ac_status); } && {
23449 test -z "$ac_cxx_werror_flag" ||
23450 test ! -s conftest.err
23451 } && test -s conftest.$ac_objext; then
23452 ac_cv_cxx_reinterpret_cast=yes
23453 else
23454 echo "$as_me: failed program was:" >&5
23455 sed 's/^/| /' conftest.$ac_ext >&5
23456
23457 ac_cv_cxx_reinterpret_cast=no
23458 fi
23459
23460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23461 ac_ext=c
23462 ac_cpp='$CPP $CPPFLAGS'
23463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23466
23467
23468 fi
23469 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23470 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23471 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23472
23473 cat >>confdefs.h <<\_ACEOF
23474 #define HAVE_REINTERPRET_CAST
23475 _ACEOF
23476
23477 fi
23478
23479 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23480 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23481 if test "${ac_cv_cxx_static_cast+set}" = set; then
23482 echo $ECHO_N "(cached) $ECHO_C" >&6
23483 else
23484
23485 ac_ext=cpp
23486 ac_cpp='$CXXCPP $CPPFLAGS'
23487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23490
23491 cat >conftest.$ac_ext <<_ACEOF
23492 /* confdefs.h. */
23493 _ACEOF
23494 cat confdefs.h >>conftest.$ac_ext
23495 cat >>conftest.$ac_ext <<_ACEOF
23496 /* end confdefs.h. */
23497 #include <typeinfo>
23498 class Base { public : Base () {} virtual void f () = 0; };
23499 class Derived : public Base { public : Derived () {} virtual void f () {} };
23500 int g (Derived&) { return 0; }
23501 int
23502 main ()
23503 {
23504
23505 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23506 ;
23507 return 0;
23508 }
23509 _ACEOF
23510 rm -f conftest.$ac_objext
23511 if { (ac_try="$ac_compile"
23512 case "(($ac_try" in
23513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23514 *) ac_try_echo=$ac_try;;
23515 esac
23516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23517 (eval "$ac_compile") 2>conftest.er1
23518 ac_status=$?
23519 grep -v '^ *+' conftest.er1 >conftest.err
23520 rm -f conftest.er1
23521 cat conftest.err >&5
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); } && {
23524 test -z "$ac_cxx_werror_flag" ||
23525 test ! -s conftest.err
23526 } && test -s conftest.$ac_objext; then
23527 ac_cv_cxx_static_cast=yes
23528 else
23529 echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.$ac_ext >&5
23531
23532 ac_cv_cxx_static_cast=no
23533 fi
23534
23535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23536 ac_ext=c
23537 ac_cpp='$CPP $CPPFLAGS'
23538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23541
23542
23543 fi
23544 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23545 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23546 if test "$ac_cv_cxx_static_cast" = yes; then
23547
23548 cat >>confdefs.h <<\_ACEOF
23549 #define HAVE_STATIC_CAST
23550 _ACEOF
23551
23552 fi
23553
23554
23555 if test "x$SUNCXX" = xyes; then
23556 CXXFLAGS="-features=tmplife $CXXFLAGS"
23557 fi
23558
23559 if test "x$SUNCC" = xyes; then
23560 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23561 fi
23562
23563 if test "x$SGICC" = "xyes"; then
23564 CFLAGS="-woff 3970 $CFLAGS"
23565 fi
23566 if test "x$SGICXX" = "xyes"; then
23567 CXXFLAGS="-woff 3970 $CXXFLAGS"
23568 fi
23569
23570 if test "x$HPCC" = "xyes"; then
23571 CFLAGS="+W 2011,2450 $CFLAGS"
23572 fi
23573 if test "x$HPCXX" = "xyes"; then
23574 CXXFLAGS="+W 2340 $CXXFLAGS"
23575 fi
23576
23577 if test "x$COMPAQCXX" = "xyes"; then
23578 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23579 fi
23580
23581 ac_ext=cpp
23582 ac_cpp='$CXXCPP $CPPFLAGS'
23583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23586
23587
23588 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23589 if test "$wxUSE_UNICODE" = "yes"; then
23590 std_string="std::wstring"
23591 char_type="wchar_t"
23592 else
23593 std_string="std::string"
23594 char_type="char"
23595 fi
23596
23597 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23598 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23599 if test "${wx_cv_class_stdstring+set}" = set; then
23600 echo $ECHO_N "(cached) $ECHO_C" >&6
23601 else
23602
23603 cat >conftest.$ac_ext <<_ACEOF
23604 /* confdefs.h. */
23605 _ACEOF
23606 cat confdefs.h >>conftest.$ac_ext
23607 cat >>conftest.$ac_ext <<_ACEOF
23608 /* end confdefs.h. */
23609 #include <string>
23610 int
23611 main ()
23612 {
23613 $std_string foo;
23614 ;
23615 return 0;
23616 }
23617 _ACEOF
23618 rm -f conftest.$ac_objext
23619 if { (ac_try="$ac_compile"
23620 case "(($ac_try" in
23621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23622 *) ac_try_echo=$ac_try;;
23623 esac
23624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23625 (eval "$ac_compile") 2>conftest.er1
23626 ac_status=$?
23627 grep -v '^ *+' conftest.er1 >conftest.err
23628 rm -f conftest.er1
23629 cat conftest.err >&5
23630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631 (exit $ac_status); } && {
23632 test -z "$ac_cxx_werror_flag" ||
23633 test ! -s conftest.err
23634 } && test -s conftest.$ac_objext; then
23635 wx_cv_class_stdstring=yes
23636 else
23637 echo "$as_me: failed program was:" >&5
23638 sed 's/^/| /' conftest.$ac_ext >&5
23639
23640 wx_cv_class_stdstring=no
23641
23642 fi
23643
23644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23645
23646
23647 fi
23648 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23649 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23650
23651 if test "$wx_cv_class_stdstring" = yes; then
23652 if test "$wxUSE_UNICODE" = "yes"; then
23653 cat >>confdefs.h <<\_ACEOF
23654 #define HAVE_STD_WSTRING 1
23655 _ACEOF
23656
23657 fi
23658 else
23659 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23660 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23661 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23662 echo $ECHO_N "(cached) $ECHO_C" >&6
23663 else
23664
23665 cat >conftest.$ac_ext <<_ACEOF
23666 /* confdefs.h. */
23667 _ACEOF
23668 cat confdefs.h >>conftest.$ac_ext
23669 cat >>conftest.$ac_ext <<_ACEOF
23670 /* end confdefs.h. */
23671
23672 #ifdef HAVE_WCHAR_H
23673 # ifdef __CYGWIN__
23674 # include <stddef.h>
23675 # endif
23676 # include <wchar.h>
23677 #endif
23678 #ifdef HAVE_STDLIB_H
23679 # include <stdlib.h>
23680 #endif
23681 #include <stdio.h>
23682 #include <string>
23683
23684 int
23685 main ()
23686 {
23687 std::basic_string<$char_type> foo;
23688 const $char_type* dummy = foo.c_str();
23689 ;
23690 return 0;
23691 }
23692 _ACEOF
23693 rm -f conftest.$ac_objext
23694 if { (ac_try="$ac_compile"
23695 case "(($ac_try" in
23696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23697 *) ac_try_echo=$ac_try;;
23698 esac
23699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23700 (eval "$ac_compile") 2>conftest.er1
23701 ac_status=$?
23702 grep -v '^ *+' conftest.er1 >conftest.err
23703 rm -f conftest.er1
23704 cat conftest.err >&5
23705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23706 (exit $ac_status); } && {
23707 test -z "$ac_cxx_werror_flag" ||
23708 test ! -s conftest.err
23709 } && test -s conftest.$ac_objext; then
23710 wx_cv_class_stdbasicstring=yes
23711 else
23712 echo "$as_me: failed program was:" >&5
23713 sed 's/^/| /' conftest.$ac_ext >&5
23714
23715 wx_cv_class_stdbasicstring=no
23716
23717 fi
23718
23719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23720
23721
23722 fi
23723 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23724 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23725
23726 if test "$wx_cv_class_stdbasicstring" != yes; then
23727 if test "$wxUSE_STL" = "yes"; then
23728 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23729 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23730 { (exit 1); exit 1; }; }
23731 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23732 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23733 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23734 { (exit 1); exit 1; }; }
23735 else
23736 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23737 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23738 wxUSE_STD_STRING=no
23739 fi
23740 fi
23741 fi
23742 fi
23743
23744 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23745 { echo "$as_me:$LINENO: checking for std::istream" >&5
23746 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23747 if test "${ac_cv_type_std__istream+set}" = set; then
23748 echo $ECHO_N "(cached) $ECHO_C" >&6
23749 else
23750 cat >conftest.$ac_ext <<_ACEOF
23751 /* confdefs.h. */
23752 _ACEOF
23753 cat confdefs.h >>conftest.$ac_ext
23754 cat >>conftest.$ac_ext <<_ACEOF
23755 /* end confdefs.h. */
23756 #include <iostream>
23757
23758 typedef std::istream ac__type_new_;
23759 int
23760 main ()
23761 {
23762 if ((ac__type_new_ *) 0)
23763 return 0;
23764 if (sizeof (ac__type_new_))
23765 return 0;
23766 ;
23767 return 0;
23768 }
23769 _ACEOF
23770 rm -f conftest.$ac_objext
23771 if { (ac_try="$ac_compile"
23772 case "(($ac_try" in
23773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23774 *) ac_try_echo=$ac_try;;
23775 esac
23776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23777 (eval "$ac_compile") 2>conftest.er1
23778 ac_status=$?
23779 grep -v '^ *+' conftest.er1 >conftest.err
23780 rm -f conftest.er1
23781 cat conftest.err >&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } && {
23784 test -z "$ac_cxx_werror_flag" ||
23785 test ! -s conftest.err
23786 } && test -s conftest.$ac_objext; then
23787 ac_cv_type_std__istream=yes
23788 else
23789 echo "$as_me: failed program was:" >&5
23790 sed 's/^/| /' conftest.$ac_ext >&5
23791
23792 ac_cv_type_std__istream=no
23793 fi
23794
23795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23796 fi
23797 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23798 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23799 if test $ac_cv_type_std__istream = yes; then
23800
23801 cat >>confdefs.h <<_ACEOF
23802 #define HAVE_STD__ISTREAM 1
23803 _ACEOF
23804
23805
23806 else
23807 wxUSE_STD_IOSTREAM=no
23808 fi
23809 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23810 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23811 if test "${ac_cv_type_std__ostream+set}" = set; then
23812 echo $ECHO_N "(cached) $ECHO_C" >&6
23813 else
23814 cat >conftest.$ac_ext <<_ACEOF
23815 /* confdefs.h. */
23816 _ACEOF
23817 cat confdefs.h >>conftest.$ac_ext
23818 cat >>conftest.$ac_ext <<_ACEOF
23819 /* end confdefs.h. */
23820 #include <iostream>
23821
23822 typedef std::ostream ac__type_new_;
23823 int
23824 main ()
23825 {
23826 if ((ac__type_new_ *) 0)
23827 return 0;
23828 if (sizeof (ac__type_new_))
23829 return 0;
23830 ;
23831 return 0;
23832 }
23833 _ACEOF
23834 rm -f conftest.$ac_objext
23835 if { (ac_try="$ac_compile"
23836 case "(($ac_try" in
23837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23838 *) ac_try_echo=$ac_try;;
23839 esac
23840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23841 (eval "$ac_compile") 2>conftest.er1
23842 ac_status=$?
23843 grep -v '^ *+' conftest.er1 >conftest.err
23844 rm -f conftest.er1
23845 cat conftest.err >&5
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); } && {
23848 test -z "$ac_cxx_werror_flag" ||
23849 test ! -s conftest.err
23850 } && test -s conftest.$ac_objext; then
23851 ac_cv_type_std__ostream=yes
23852 else
23853 echo "$as_me: failed program was:" >&5
23854 sed 's/^/| /' conftest.$ac_ext >&5
23855
23856 ac_cv_type_std__ostream=no
23857 fi
23858
23859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23860 fi
23861 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23862 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23863 if test $ac_cv_type_std__ostream = yes; then
23864
23865 cat >>confdefs.h <<_ACEOF
23866 #define HAVE_STD__OSTREAM 1
23867 _ACEOF
23868
23869
23870 else
23871 wxUSE_STD_IOSTREAM=no
23872 fi
23873
23874
23875 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23876 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23877 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23878 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23879 { (exit 1); exit 1; }; }
23880 else
23881 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23882 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23883 fi
23884 fi
23885 fi
23886
23887 if test "$wxUSE_STL" = "yes"; then
23888 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23889 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23890 if test "${wx_cv_lib_stl+set}" = set; then
23891 echo $ECHO_N "(cached) $ECHO_C" >&6
23892 else
23893 cat >conftest.$ac_ext <<_ACEOF
23894 /* confdefs.h. */
23895 _ACEOF
23896 cat confdefs.h >>conftest.$ac_ext
23897 cat >>conftest.$ac_ext <<_ACEOF
23898 /* end confdefs.h. */
23899 #include <string>
23900 #include <functional>
23901 #include <algorithm>
23902 #include <vector>
23903 #include <list>
23904 int
23905 main ()
23906 {
23907 std::vector<int> moo;
23908 std::list<int> foo;
23909 std::vector<int>::iterator it =
23910 std::find_if(moo.begin(), moo.end(),
23911 std::bind2nd(std::less<int>(), 3));
23912 ;
23913 return 0;
23914 }
23915 _ACEOF
23916 rm -f conftest.$ac_objext
23917 if { (ac_try="$ac_compile"
23918 case "(($ac_try" in
23919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23920 *) ac_try_echo=$ac_try;;
23921 esac
23922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23923 (eval "$ac_compile") 2>conftest.er1
23924 ac_status=$?
23925 grep -v '^ *+' conftest.er1 >conftest.err
23926 rm -f conftest.er1
23927 cat conftest.err >&5
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); } && {
23930 test -z "$ac_cxx_werror_flag" ||
23931 test ! -s conftest.err
23932 } && test -s conftest.$ac_objext; then
23933 wx_cv_lib_stl=yes
23934 else
23935 echo "$as_me: failed program was:" >&5
23936 sed 's/^/| /' conftest.$ac_ext >&5
23937
23938 wx_cv_lib_stl=no
23939
23940 fi
23941
23942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23943
23944 fi
23945 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23946 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23947
23948 if test "$wx_cv_lib_stl" != yes; then
23949 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23950 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23951 { (exit 1); exit 1; }; }
23952 fi
23953
23954 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23955 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23956 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23957 echo $ECHO_N "(cached) $ECHO_C" >&6
23958 else
23959 cat >conftest.$ac_ext <<_ACEOF
23960 /* confdefs.h. */
23961 _ACEOF
23962 cat confdefs.h >>conftest.$ac_ext
23963 cat >>conftest.$ac_ext <<_ACEOF
23964 /* end confdefs.h. */
23965 #include <string>
23966 int
23967 main ()
23968 {
23969 std::string foo, bar;
23970 foo.compare(bar);
23971 foo.compare(1, 1, bar);
23972 foo.compare(1, 1, bar, 1, 1);
23973 foo.compare("");
23974 foo.compare(1, 1, "");
23975 foo.compare(1, 1, "", 2);
23976 ;
23977 return 0;
23978 }
23979 _ACEOF
23980 rm -f conftest.$ac_objext
23981 if { (ac_try="$ac_compile"
23982 case "(($ac_try" in
23983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23984 *) ac_try_echo=$ac_try;;
23985 esac
23986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23987 (eval "$ac_compile") 2>conftest.er1
23988 ac_status=$?
23989 grep -v '^ *+' conftest.er1 >conftest.err
23990 rm -f conftest.er1
23991 cat conftest.err >&5
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); } && {
23994 test -z "$ac_cxx_werror_flag" ||
23995 test ! -s conftest.err
23996 } && test -s conftest.$ac_objext; then
23997 wx_cv_func_stdstring_compare=yes
23998 else
23999 echo "$as_me: failed program was:" >&5
24000 sed 's/^/| /' conftest.$ac_ext >&5
24001
24002 wx_cv_func_stdstring_compare=no
24003
24004 fi
24005
24006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24007
24008 fi
24009 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24010 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24011
24012 if test "$wx_cv_func_stdstring_compare" = yes; then
24013 cat >>confdefs.h <<\_ACEOF
24014 #define HAVE_STD_STRING_COMPARE 1
24015 _ACEOF
24016
24017 fi
24018
24019 { echo "$as_me:$LINENO: checking for hash_map" >&5
24020 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24021 if test "${ac_cv_header_hash_map+set}" = set; then
24022 echo $ECHO_N "(cached) $ECHO_C" >&6
24023 else
24024 cat >conftest.$ac_ext <<_ACEOF
24025 /* confdefs.h. */
24026 _ACEOF
24027 cat confdefs.h >>conftest.$ac_ext
24028 cat >>conftest.$ac_ext <<_ACEOF
24029 /* end confdefs.h. */
24030
24031
24032
24033 #include <hash_map>
24034 _ACEOF
24035 rm -f conftest.$ac_objext
24036 if { (ac_try="$ac_compile"
24037 case "(($ac_try" in
24038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24039 *) ac_try_echo=$ac_try;;
24040 esac
24041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24042 (eval "$ac_compile") 2>conftest.er1
24043 ac_status=$?
24044 grep -v '^ *+' conftest.er1 >conftest.err
24045 rm -f conftest.er1
24046 cat conftest.err >&5
24047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048 (exit $ac_status); } && {
24049 test -z "$ac_cxx_werror_flag" ||
24050 test ! -s conftest.err
24051 } && test -s conftest.$ac_objext; then
24052 ac_cv_header_hash_map=yes
24053 else
24054 echo "$as_me: failed program was:" >&5
24055 sed 's/^/| /' conftest.$ac_ext >&5
24056
24057 ac_cv_header_hash_map=no
24058 fi
24059
24060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24061 fi
24062 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24063 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24064 if test $ac_cv_header_hash_map = yes; then
24065 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24066 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24067 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24068 echo $ECHO_N "(cached) $ECHO_C" >&6
24069 else
24070 cat >conftest.$ac_ext <<_ACEOF
24071 /* confdefs.h. */
24072 _ACEOF
24073 cat confdefs.h >>conftest.$ac_ext
24074 cat >>conftest.$ac_ext <<_ACEOF
24075 /* end confdefs.h. */
24076 #include <hash_map>
24077 #include <hash_set>
24078 int
24079 main ()
24080 {
24081 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24082 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24083 ;
24084 return 0;
24085 }
24086 _ACEOF
24087 rm -f conftest.$ac_objext
24088 if { (ac_try="$ac_compile"
24089 case "(($ac_try" in
24090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24091 *) ac_try_echo=$ac_try;;
24092 esac
24093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24094 (eval "$ac_compile") 2>conftest.er1
24095 ac_status=$?
24096 grep -v '^ *+' conftest.er1 >conftest.err
24097 rm -f conftest.er1
24098 cat conftest.err >&5
24099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24100 (exit $ac_status); } && {
24101 test -z "$ac_cxx_werror_flag" ||
24102 test ! -s conftest.err
24103 } && test -s conftest.$ac_objext; then
24104 wx_cv_class_stdhashmapset=yes
24105 else
24106 echo "$as_me: failed program was:" >&5
24107 sed 's/^/| /' conftest.$ac_ext >&5
24108
24109 wx_cv_class_stdhashmapset=no
24110 fi
24111
24112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24113
24114
24115 fi
24116 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24117 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24118 fi
24119
24120
24121
24122 if test "$wx_cv_class_stdhashmapset" = yes; then
24123 cat >>confdefs.h <<\_ACEOF
24124 #define HAVE_HASH_MAP 1
24125 _ACEOF
24126
24127 cat >>confdefs.h <<\_ACEOF
24128 #define HAVE_STD_HASH_MAP 1
24129 _ACEOF
24130
24131 fi
24132
24133 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24134 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24135 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24136 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 else
24138 cat >conftest.$ac_ext <<_ACEOF
24139 /* confdefs.h. */
24140 _ACEOF
24141 cat confdefs.h >>conftest.$ac_ext
24142 cat >>conftest.$ac_ext <<_ACEOF
24143 /* end confdefs.h. */
24144
24145
24146
24147 #include <ext/hash_map>
24148 _ACEOF
24149 rm -f conftest.$ac_objext
24150 if { (ac_try="$ac_compile"
24151 case "(($ac_try" in
24152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24153 *) ac_try_echo=$ac_try;;
24154 esac
24155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24156 (eval "$ac_compile") 2>conftest.er1
24157 ac_status=$?
24158 grep -v '^ *+' conftest.er1 >conftest.err
24159 rm -f conftest.er1
24160 cat conftest.err >&5
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); } && {
24163 test -z "$ac_cxx_werror_flag" ||
24164 test ! -s conftest.err
24165 } && test -s conftest.$ac_objext; then
24166 ac_cv_header_ext_hash_map=yes
24167 else
24168 echo "$as_me: failed program was:" >&5
24169 sed 's/^/| /' conftest.$ac_ext >&5
24170
24171 ac_cv_header_ext_hash_map=no
24172 fi
24173
24174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24175 fi
24176 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24177 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24178 if test $ac_cv_header_ext_hash_map = yes; then
24179 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24180 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24181 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24182 echo $ECHO_N "(cached) $ECHO_C" >&6
24183 else
24184 cat >conftest.$ac_ext <<_ACEOF
24185 /* confdefs.h. */
24186 _ACEOF
24187 cat confdefs.h >>conftest.$ac_ext
24188 cat >>conftest.$ac_ext <<_ACEOF
24189 /* end confdefs.h. */
24190 #include <ext/hash_map>
24191 #include <ext/hash_set>
24192 int
24193 main ()
24194 {
24195 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24196 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24197 ;
24198 return 0;
24199 }
24200 _ACEOF
24201 rm -f conftest.$ac_objext
24202 if { (ac_try="$ac_compile"
24203 case "(($ac_try" in
24204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24205 *) ac_try_echo=$ac_try;;
24206 esac
24207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24208 (eval "$ac_compile") 2>conftest.er1
24209 ac_status=$?
24210 grep -v '^ *+' conftest.er1 >conftest.err
24211 rm -f conftest.er1
24212 cat conftest.err >&5
24213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214 (exit $ac_status); } && {
24215 test -z "$ac_cxx_werror_flag" ||
24216 test ! -s conftest.err
24217 } && test -s conftest.$ac_objext; then
24218 wx_cv_class_gnuhashmapset=yes
24219 else
24220 echo "$as_me: failed program was:" >&5
24221 sed 's/^/| /' conftest.$ac_ext >&5
24222
24223 wx_cv_class_gnuhashmapset=no
24224 fi
24225
24226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24227
24228
24229 fi
24230 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24231 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24232 fi
24233
24234
24235
24236 if test "$wx_cv_class_gnuhashmapset" = yes; then
24237 cat >>confdefs.h <<\_ACEOF
24238 #define HAVE_EXT_HASH_MAP 1
24239 _ACEOF
24240
24241 cat >>confdefs.h <<\_ACEOF
24242 #define HAVE_GNU_CXX_HASH_MAP 1
24243 _ACEOF
24244
24245 fi
24246 fi
24247
24248 ac_ext=c
24249 ac_cpp='$CPP $CPPFLAGS'
24250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24253
24254
24255
24256 SEARCH_INCLUDE="\
24257 /usr/local/include \
24258 \
24259 /usr/Motif-2.1/include \
24260 /usr/Motif-1.2/include \
24261 /usr/include/Motif1.2 \
24262 \
24263 /usr/dt/include \
24264 /usr/openwin/include \
24265 \
24266 /usr/include/Xm \
24267 \
24268 /usr/X11R6/include \
24269 /usr/X11R6.4/include \
24270 /usr/X11R5/include \
24271 /usr/X11R4/include \
24272 \
24273 /usr/include/X11R6 \
24274 /usr/include/X11R5 \
24275 /usr/include/X11R4 \
24276 \
24277 /usr/local/X11R6/include \
24278 /usr/local/X11R5/include \
24279 /usr/local/X11R4/include \
24280 \
24281 /usr/local/include/X11R6 \
24282 /usr/local/include/X11R5 \
24283 /usr/local/include/X11R4 \
24284 \
24285 /usr/X11/include \
24286 /usr/include/X11 \
24287 /usr/local/X11/include \
24288 /usr/local/include/X11 \
24289 \
24290 /usr/XFree86/include/X11 \
24291 /usr/pkg/include \
24292 \
24293 /usr/openwin/share/include"
24294
24295 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24296 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24297
24298 case "${host}" in
24299 *-*-irix6* )
24300 if test "${wx_cv_std_libpath+set}" = set; then
24301 echo $ECHO_N "(cached) $ECHO_C" >&6
24302 else
24303
24304 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24305 for e in a so sl dylib dll.a; do
24306 libc="$d/libc.$e"
24307 if test -f $libc; then
24308 save_LIBS="$LIBS"
24309 LIBS="$libc"
24310 cat >conftest.$ac_ext <<_ACEOF
24311 int main() { return 0; }
24312 _ACEOF
24313 rm -f conftest.$ac_objext conftest$ac_exeext
24314 if { (ac_try="$ac_link"
24315 case "(($ac_try" in
24316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24317 *) ac_try_echo=$ac_try;;
24318 esac
24319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24320 (eval "$ac_link") 2>conftest.er1
24321 ac_status=$?
24322 grep -v '^ *+' conftest.er1 >conftest.err
24323 rm -f conftest.er1
24324 cat conftest.err >&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); } && {
24327 test -z "$ac_c_werror_flag" ||
24328 test ! -s conftest.err
24329 } && test -s conftest$ac_exeext &&
24330 $as_test_x conftest$ac_exeext; then
24331 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24332 else
24333 echo "$as_me: failed program was:" >&5
24334 sed 's/^/| /' conftest.$ac_ext >&5
24335
24336
24337 fi
24338
24339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24340 conftest$ac_exeext conftest.$ac_ext
24341 LIBS="$save_LIBS"
24342 if test "x$wx_cv_std_libpath" != "x"; then
24343 break 2
24344 fi
24345 fi
24346 done
24347 done
24348 if test "x$wx_cv_std_libpath" = "x"; then
24349 wx_cv_std_libpath="lib"
24350 fi
24351
24352
24353 fi
24354
24355 ;;
24356
24357 *-*-solaris2* )
24358 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24359 wx_cv_std_libpath="lib/64"
24360 else
24361 wx_cv_std_libpath="lib"
24362 fi
24363 ;;
24364
24365 *-*-linux* )
24366 if test "$ac_cv_sizeof_void_p" = 8 -a \
24367 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24368 wx_cv_std_libpath="lib64"
24369 else
24370 wx_cv_std_libpath="lib"
24371 fi
24372 ;;
24373
24374 *)
24375 wx_cv_std_libpath="lib";
24376 ;;
24377 esac
24378
24379 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24380 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24381
24382 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24383
24384 if test "$build" != "$host" -a "$GCC" = yes; then
24385 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24386 cross_root=`dirname $cross_root`
24387 cross_root=`dirname $cross_root`
24388
24389 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24390 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24391 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24392
24393 if test -z "$PKG_CONFIG_PATH"; then
24394 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24395 export PKG_CONFIG_PATH
24396 fi
24397
24398 if test -z "$x_includes" -o "$x_includes" = NONE; then
24399
24400 ac_find_includes=
24401 for ac_dir in $SEARCH_INCLUDE /usr/include;
24402 do
24403 if test -f "$ac_dir/X11/Intrinsic.h"; then
24404 ac_find_includes=$ac_dir
24405 break
24406 fi
24407 done
24408
24409 x_includes=$ac_find_includes
24410 fi
24411 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24412
24413 ac_find_libraries=
24414 for ac_dir in $SEARCH_LIB;
24415 do
24416 for ac_extension in a so sl dylib dll.a; do
24417 if test -f "$ac_dir/libXt.$ac_extension"; then
24418 ac_find_libraries=$ac_dir
24419 break 2
24420 fi
24421 done
24422 done
24423
24424 x_libraries=$ac_find_libraries
24425 fi
24426 fi
24427 fi
24428
24429
24430 cat >confcache <<\_ACEOF
24431 # This file is a shell script that caches the results of configure
24432 # tests run on this system so they can be shared between configure
24433 # scripts and configure runs, see configure's option --config-cache.
24434 # It is not useful on other systems. If it contains results you don't
24435 # want to keep, you may remove or edit it.
24436 #
24437 # config.status only pays attention to the cache file if you give it
24438 # the --recheck option to rerun configure.
24439 #
24440 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24441 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24442 # following values.
24443
24444 _ACEOF
24445
24446 # The following way of writing the cache mishandles newlines in values,
24447 # but we know of no workaround that is simple, portable, and efficient.
24448 # So, we kill variables containing newlines.
24449 # Ultrix sh set writes to stderr and can't be redirected directly,
24450 # and sets the high bit in the cache file unless we assign to the vars.
24451 (
24452 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24453 eval ac_val=\$$ac_var
24454 case $ac_val in #(
24455 *${as_nl}*)
24456 case $ac_var in #(
24457 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24458 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24459 esac
24460 case $ac_var in #(
24461 _ | IFS | as_nl) ;; #(
24462 *) $as_unset $ac_var ;;
24463 esac ;;
24464 esac
24465 done
24466
24467 (set) 2>&1 |
24468 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24469 *${as_nl}ac_space=\ *)
24470 # `set' does not quote correctly, so add quotes (double-quote
24471 # substitution turns \\\\ into \\, and sed turns \\ into \).
24472 sed -n \
24473 "s/'/'\\\\''/g;
24474 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24475 ;; #(
24476 *)
24477 # `set' quotes correctly as required by POSIX, so do not add quotes.
24478 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24479 ;;
24480 esac |
24481 sort
24482 ) |
24483 sed '
24484 /^ac_cv_env_/b end
24485 t clear
24486 :clear
24487 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24488 t end
24489 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24490 :end' >>confcache
24491 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24492 if test -w "$cache_file"; then
24493 test "x$cache_file" != "x/dev/null" &&
24494 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24495 echo "$as_me: updating cache $cache_file" >&6;}
24496 cat confcache >$cache_file
24497 else
24498 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24499 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24500 fi
24501 fi
24502 rm -f confcache
24503
24504 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24505 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24506 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24507 if test "${wx_cv_lib_glibc21+set}" = set; then
24508 echo $ECHO_N "(cached) $ECHO_C" >&6
24509 else
24510
24511 cat >conftest.$ac_ext <<_ACEOF
24512 /* confdefs.h. */
24513 _ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 #include <features.h>
24518 int
24519 main ()
24520 {
24521
24522 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24523 not glibc 2.1
24524 #endif
24525
24526 ;
24527 return 0;
24528 }
24529 _ACEOF
24530 rm -f conftest.$ac_objext
24531 if { (ac_try="$ac_compile"
24532 case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24535 esac
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_compile") 2>conftest.er1
24538 ac_status=$?
24539 grep -v '^ *+' conftest.er1 >conftest.err
24540 rm -f conftest.er1
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } && {
24544 test -z "$ac_c_werror_flag" ||
24545 test ! -s conftest.err
24546 } && test -s conftest.$ac_objext; then
24547
24548 wx_cv_lib_glibc21=yes
24549
24550 else
24551 echo "$as_me: failed program was:" >&5
24552 sed 's/^/| /' conftest.$ac_ext >&5
24553
24554
24555 wx_cv_lib_glibc21=no
24556
24557
24558 fi
24559
24560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24561
24562 fi
24563 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24564 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24565 if test "$wx_cv_lib_glibc21" = "yes"; then
24566 cat >>confdefs.h <<\_ACEOF
24567 #define wxHAVE_GLIBC2 1
24568 _ACEOF
24569
24570 fi
24571 fi
24572
24573 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24574 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24575 cat >>confdefs.h <<\_ACEOF
24576 #define _GNU_SOURCE 1
24577 _ACEOF
24578
24579 fi
24580 fi
24581
24582 have_cos=0
24583 have_floor=0
24584
24585 for ac_func in cos
24586 do
24587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24588 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24590 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24591 echo $ECHO_N "(cached) $ECHO_C" >&6
24592 else
24593 cat >conftest.$ac_ext <<_ACEOF
24594 /* confdefs.h. */
24595 _ACEOF
24596 cat confdefs.h >>conftest.$ac_ext
24597 cat >>conftest.$ac_ext <<_ACEOF
24598 /* end confdefs.h. */
24599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24601 #define $ac_func innocuous_$ac_func
24602
24603 /* System header to define __stub macros and hopefully few prototypes,
24604 which can conflict with char $ac_func (); below.
24605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24606 <limits.h> exists even on freestanding compilers. */
24607
24608 #ifdef __STDC__
24609 # include <limits.h>
24610 #else
24611 # include <assert.h>
24612 #endif
24613
24614 #undef $ac_func
24615
24616 /* Override any GCC internal prototype to avoid an error.
24617 Use char because int might match the return type of a GCC
24618 builtin and then its argument prototype would still apply. */
24619 #ifdef __cplusplus
24620 extern "C"
24621 #endif
24622 char $ac_func ();
24623 /* The GNU C library defines this for functions which it implements
24624 to always fail with ENOSYS. Some functions are actually named
24625 something starting with __ and the normal name is an alias. */
24626 #if defined __stub_$ac_func || defined __stub___$ac_func
24627 choke me
24628 #endif
24629
24630 int
24631 main ()
24632 {
24633 return $ac_func ();
24634 ;
24635 return 0;
24636 }
24637 _ACEOF
24638 rm -f conftest.$ac_objext conftest$ac_exeext
24639 if { (ac_try="$ac_link"
24640 case "(($ac_try" in
24641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24642 *) ac_try_echo=$ac_try;;
24643 esac
24644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24645 (eval "$ac_link") 2>conftest.er1
24646 ac_status=$?
24647 grep -v '^ *+' conftest.er1 >conftest.err
24648 rm -f conftest.er1
24649 cat conftest.err >&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } && {
24652 test -z "$ac_c_werror_flag" ||
24653 test ! -s conftest.err
24654 } && test -s conftest$ac_exeext &&
24655 $as_test_x conftest$ac_exeext; then
24656 eval "$as_ac_var=yes"
24657 else
24658 echo "$as_me: failed program was:" >&5
24659 sed 's/^/| /' conftest.$ac_ext >&5
24660
24661 eval "$as_ac_var=no"
24662 fi
24663
24664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24665 conftest$ac_exeext conftest.$ac_ext
24666 fi
24667 ac_res=`eval echo '${'$as_ac_var'}'`
24668 { echo "$as_me:$LINENO: result: $ac_res" >&5
24669 echo "${ECHO_T}$ac_res" >&6; }
24670 if test `eval echo '${'$as_ac_var'}'` = yes; then
24671 cat >>confdefs.h <<_ACEOF
24672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24673 _ACEOF
24674 have_cos=1
24675 fi
24676 done
24677
24678
24679 for ac_func in floor
24680 do
24681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24682 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24684 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24685 echo $ECHO_N "(cached) $ECHO_C" >&6
24686 else
24687 cat >conftest.$ac_ext <<_ACEOF
24688 /* confdefs.h. */
24689 _ACEOF
24690 cat confdefs.h >>conftest.$ac_ext
24691 cat >>conftest.$ac_ext <<_ACEOF
24692 /* end confdefs.h. */
24693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24695 #define $ac_func innocuous_$ac_func
24696
24697 /* System header to define __stub macros and hopefully few prototypes,
24698 which can conflict with char $ac_func (); below.
24699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24700 <limits.h> exists even on freestanding compilers. */
24701
24702 #ifdef __STDC__
24703 # include <limits.h>
24704 #else
24705 # include <assert.h>
24706 #endif
24707
24708 #undef $ac_func
24709
24710 /* Override any GCC internal prototype to avoid an error.
24711 Use char because int might match the return type of a GCC
24712 builtin and then its argument prototype would still apply. */
24713 #ifdef __cplusplus
24714 extern "C"
24715 #endif
24716 char $ac_func ();
24717 /* The GNU C library defines this for functions which it implements
24718 to always fail with ENOSYS. Some functions are actually named
24719 something starting with __ and the normal name is an alias. */
24720 #if defined __stub_$ac_func || defined __stub___$ac_func
24721 choke me
24722 #endif
24723
24724 int
24725 main ()
24726 {
24727 return $ac_func ();
24728 ;
24729 return 0;
24730 }
24731 _ACEOF
24732 rm -f conftest.$ac_objext conftest$ac_exeext
24733 if { (ac_try="$ac_link"
24734 case "(($ac_try" in
24735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24736 *) ac_try_echo=$ac_try;;
24737 esac
24738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24739 (eval "$ac_link") 2>conftest.er1
24740 ac_status=$?
24741 grep -v '^ *+' conftest.er1 >conftest.err
24742 rm -f conftest.er1
24743 cat conftest.err >&5
24744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); } && {
24746 test -z "$ac_c_werror_flag" ||
24747 test ! -s conftest.err
24748 } && test -s conftest$ac_exeext &&
24749 $as_test_x conftest$ac_exeext; then
24750 eval "$as_ac_var=yes"
24751 else
24752 echo "$as_me: failed program was:" >&5
24753 sed 's/^/| /' conftest.$ac_ext >&5
24754
24755 eval "$as_ac_var=no"
24756 fi
24757
24758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24759 conftest$ac_exeext conftest.$ac_ext
24760 fi
24761 ac_res=`eval echo '${'$as_ac_var'}'`
24762 { echo "$as_me:$LINENO: result: $ac_res" >&5
24763 echo "${ECHO_T}$ac_res" >&6; }
24764 if test `eval echo '${'$as_ac_var'}'` = yes; then
24765 cat >>confdefs.h <<_ACEOF
24766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24767 _ACEOF
24768 have_floor=1
24769 fi
24770 done
24771
24772 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24773 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24774 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24775 { echo "$as_me:$LINENO: result: yes" >&5
24776 echo "${ECHO_T}yes" >&6; }
24777 else
24778 { echo "$as_me:$LINENO: result: no" >&5
24779 echo "${ECHO_T}no" >&6; }
24780 LIBS="$LIBS -lm"
24781 # use different functions to avoid configure caching
24782 have_sin=0
24783 have_ceil=0
24784
24785 for ac_func in sin
24786 do
24787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24788 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24790 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24791 echo $ECHO_N "(cached) $ECHO_C" >&6
24792 else
24793 cat >conftest.$ac_ext <<_ACEOF
24794 /* confdefs.h. */
24795 _ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24801 #define $ac_func innocuous_$ac_func
24802
24803 /* System header to define __stub macros and hopefully few prototypes,
24804 which can conflict with char $ac_func (); below.
24805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24806 <limits.h> exists even on freestanding compilers. */
24807
24808 #ifdef __STDC__
24809 # include <limits.h>
24810 #else
24811 # include <assert.h>
24812 #endif
24813
24814 #undef $ac_func
24815
24816 /* Override any GCC internal prototype to avoid an error.
24817 Use char because int might match the return type of a GCC
24818 builtin and then its argument prototype would still apply. */
24819 #ifdef __cplusplus
24820 extern "C"
24821 #endif
24822 char $ac_func ();
24823 /* The GNU C library defines this for functions which it implements
24824 to always fail with ENOSYS. Some functions are actually named
24825 something starting with __ and the normal name is an alias. */
24826 #if defined __stub_$ac_func || defined __stub___$ac_func
24827 choke me
24828 #endif
24829
24830 int
24831 main ()
24832 {
24833 return $ac_func ();
24834 ;
24835 return 0;
24836 }
24837 _ACEOF
24838 rm -f conftest.$ac_objext conftest$ac_exeext
24839 if { (ac_try="$ac_link"
24840 case "(($ac_try" in
24841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24842 *) ac_try_echo=$ac_try;;
24843 esac
24844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24845 (eval "$ac_link") 2>conftest.er1
24846 ac_status=$?
24847 grep -v '^ *+' conftest.er1 >conftest.err
24848 rm -f conftest.er1
24849 cat conftest.err >&5
24850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 (exit $ac_status); } && {
24852 test -z "$ac_c_werror_flag" ||
24853 test ! -s conftest.err
24854 } && test -s conftest$ac_exeext &&
24855 $as_test_x conftest$ac_exeext; then
24856 eval "$as_ac_var=yes"
24857 else
24858 echo "$as_me: failed program was:" >&5
24859 sed 's/^/| /' conftest.$ac_ext >&5
24860
24861 eval "$as_ac_var=no"
24862 fi
24863
24864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24865 conftest$ac_exeext conftest.$ac_ext
24866 fi
24867 ac_res=`eval echo '${'$as_ac_var'}'`
24868 { echo "$as_me:$LINENO: result: $ac_res" >&5
24869 echo "${ECHO_T}$ac_res" >&6; }
24870 if test `eval echo '${'$as_ac_var'}'` = yes; then
24871 cat >>confdefs.h <<_ACEOF
24872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24873 _ACEOF
24874 have_sin=1
24875 fi
24876 done
24877
24878
24879 for ac_func in ceil
24880 do
24881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24882 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24884 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24885 echo $ECHO_N "(cached) $ECHO_C" >&6
24886 else
24887 cat >conftest.$ac_ext <<_ACEOF
24888 /* confdefs.h. */
24889 _ACEOF
24890 cat confdefs.h >>conftest.$ac_ext
24891 cat >>conftest.$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24895 #define $ac_func innocuous_$ac_func
24896
24897 /* System header to define __stub macros and hopefully few prototypes,
24898 which can conflict with char $ac_func (); below.
24899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24900 <limits.h> exists even on freestanding compilers. */
24901
24902 #ifdef __STDC__
24903 # include <limits.h>
24904 #else
24905 # include <assert.h>
24906 #endif
24907
24908 #undef $ac_func
24909
24910 /* Override any GCC internal prototype to avoid an error.
24911 Use char because int might match the return type of a GCC
24912 builtin and then its argument prototype would still apply. */
24913 #ifdef __cplusplus
24914 extern "C"
24915 #endif
24916 char $ac_func ();
24917 /* The GNU C library defines this for functions which it implements
24918 to always fail with ENOSYS. Some functions are actually named
24919 something starting with __ and the normal name is an alias. */
24920 #if defined __stub_$ac_func || defined __stub___$ac_func
24921 choke me
24922 #endif
24923
24924 int
24925 main ()
24926 {
24927 return $ac_func ();
24928 ;
24929 return 0;
24930 }
24931 _ACEOF
24932 rm -f conftest.$ac_objext conftest$ac_exeext
24933 if { (ac_try="$ac_link"
24934 case "(($ac_try" in
24935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24936 *) ac_try_echo=$ac_try;;
24937 esac
24938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24939 (eval "$ac_link") 2>conftest.er1
24940 ac_status=$?
24941 grep -v '^ *+' conftest.er1 >conftest.err
24942 rm -f conftest.er1
24943 cat conftest.err >&5
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); } && {
24946 test -z "$ac_c_werror_flag" ||
24947 test ! -s conftest.err
24948 } && test -s conftest$ac_exeext &&
24949 $as_test_x conftest$ac_exeext; then
24950 eval "$as_ac_var=yes"
24951 else
24952 echo "$as_me: failed program was:" >&5
24953 sed 's/^/| /' conftest.$ac_ext >&5
24954
24955 eval "$as_ac_var=no"
24956 fi
24957
24958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24959 conftest$ac_exeext conftest.$ac_ext
24960 fi
24961 ac_res=`eval echo '${'$as_ac_var'}'`
24962 { echo "$as_me:$LINENO: result: $ac_res" >&5
24963 echo "${ECHO_T}$ac_res" >&6; }
24964 if test `eval echo '${'$as_ac_var'}'` = yes; then
24965 cat >>confdefs.h <<_ACEOF
24966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24967 _ACEOF
24968 have_ceil=1
24969 fi
24970 done
24971
24972 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24973 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24974 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24975 { echo "$as_me:$LINENO: result: yes" >&5
24976 echo "${ECHO_T}yes" >&6; }
24977 else
24978 { echo "$as_me:$LINENO: result: no" >&5
24979 echo "${ECHO_T}no" >&6; }
24980 # not sure we should warn the user, crash, etc.
24981 fi
24982 fi
24983
24984 ac_ext=cpp
24985 ac_cpp='$CXXCPP $CPPFLAGS'
24986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24989
24990 if test "wxUSE_UNICODE" = "yes"; then
24991
24992 for wx_func in wcstoull
24993 do
24994 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24995 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24996 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24997 echo $ECHO_N "(cached) $ECHO_C" >&6
24998 else
24999
25000 cat >conftest.$ac_ext <<_ACEOF
25001
25002 /* confdefs.h. */
25003 _ACEOF
25004 cat confdefs.h >>conftest.$ac_ext
25005 cat >>conftest.$ac_ext <<_ACEOF
25006 /* end confdefs.h. */
25007
25008
25009 $ac_includes_default
25010
25011 int
25012 main ()
25013 {
25014
25015 #ifndef $wx_func
25016 &$wx_func;
25017 #endif
25018
25019
25020 ;
25021 return 0;
25022 }
25023
25024 _ACEOF
25025 rm -f conftest.$ac_objext conftest$ac_exeext
25026 if { (ac_try="$ac_link"
25027 case "(($ac_try" in
25028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25029 *) ac_try_echo=$ac_try;;
25030 esac
25031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25032 (eval "$ac_link") 2>conftest.er1
25033 ac_status=$?
25034 grep -v '^ *+' conftest.er1 >conftest.err
25035 rm -f conftest.er1
25036 cat conftest.err >&5
25037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25038 (exit $ac_status); } && {
25039 test -z "$ac_cxx_werror_flag" ||
25040 test ! -s conftest.err
25041 } && test -s conftest$ac_exeext &&
25042 $as_test_x conftest$ac_exeext; then
25043 eval wx_cv_func_$wx_func=yes
25044 else
25045 echo "$as_me: failed program was:" >&5
25046 sed 's/^/| /' conftest.$ac_ext >&5
25047
25048 eval wx_cv_func_$wx_func=no
25049 fi
25050
25051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25052 conftest$ac_exeext conftest.$ac_ext
25053
25054 fi
25055 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25056 { echo "$as_me:$LINENO: result: $ac_res" >&5
25057 echo "${ECHO_T}$ac_res" >&6; }
25058
25059 if eval test \$wx_cv_func_$wx_func = yes
25060 then
25061 cat >>confdefs.h <<_ACEOF
25062 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25063 _ACEOF
25064
25065
25066 else
25067 :
25068
25069 fi
25070 done
25071
25072 else
25073
25074 for wx_func in strtoull
25075 do
25076 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25077 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25078 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25079 echo $ECHO_N "(cached) $ECHO_C" >&6
25080 else
25081
25082 cat >conftest.$ac_ext <<_ACEOF
25083
25084 /* confdefs.h. */
25085 _ACEOF
25086 cat confdefs.h >>conftest.$ac_ext
25087 cat >>conftest.$ac_ext <<_ACEOF
25088 /* end confdefs.h. */
25089
25090
25091 $ac_includes_default
25092
25093 int
25094 main ()
25095 {
25096
25097 #ifndef $wx_func
25098 &$wx_func;
25099 #endif
25100
25101
25102 ;
25103 return 0;
25104 }
25105
25106 _ACEOF
25107 rm -f conftest.$ac_objext conftest$ac_exeext
25108 if { (ac_try="$ac_link"
25109 case "(($ac_try" in
25110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25111 *) ac_try_echo=$ac_try;;
25112 esac
25113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25114 (eval "$ac_link") 2>conftest.er1
25115 ac_status=$?
25116 grep -v '^ *+' conftest.er1 >conftest.err
25117 rm -f conftest.er1
25118 cat conftest.err >&5
25119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25120 (exit $ac_status); } && {
25121 test -z "$ac_cxx_werror_flag" ||
25122 test ! -s conftest.err
25123 } && test -s conftest$ac_exeext &&
25124 $as_test_x conftest$ac_exeext; then
25125 eval wx_cv_func_$wx_func=yes
25126 else
25127 echo "$as_me: failed program was:" >&5
25128 sed 's/^/| /' conftest.$ac_ext >&5
25129
25130 eval wx_cv_func_$wx_func=no
25131 fi
25132
25133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25134 conftest$ac_exeext conftest.$ac_ext
25135
25136 fi
25137 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25138 { echo "$as_me:$LINENO: result: $ac_res" >&5
25139 echo "${ECHO_T}$ac_res" >&6; }
25140
25141 if eval test \$wx_cv_func_$wx_func = yes
25142 then
25143 cat >>confdefs.h <<_ACEOF
25144 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25145 _ACEOF
25146
25147
25148 else
25149 :
25150
25151 fi
25152 done
25153
25154 fi
25155 ac_ext=c
25156 ac_cpp='$CPP $CPPFLAGS'
25157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25160
25161
25162
25163
25164 if test "$wxUSE_REGEX" != "no"; then
25165 cat >>confdefs.h <<\_ACEOF
25166 #define wxUSE_REGEX 1
25167 _ACEOF
25168
25169
25170 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25171 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25172 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25173 wxUSE_REGEX=builtin
25174 fi
25175
25176 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25177 { echo "$as_me:$LINENO: checking for regex.h" >&5
25178 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25179 if test "${ac_cv_header_regex_h+set}" = set; then
25180 echo $ECHO_N "(cached) $ECHO_C" >&6
25181 else
25182 cat >conftest.$ac_ext <<_ACEOF
25183 /* confdefs.h. */
25184 _ACEOF
25185 cat confdefs.h >>conftest.$ac_ext
25186 cat >>conftest.$ac_ext <<_ACEOF
25187 /* end confdefs.h. */
25188
25189
25190 #include <regex.h>
25191 _ACEOF
25192 rm -f conftest.$ac_objext
25193 if { (ac_try="$ac_compile"
25194 case "(($ac_try" in
25195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25196 *) ac_try_echo=$ac_try;;
25197 esac
25198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25199 (eval "$ac_compile") 2>conftest.er1
25200 ac_status=$?
25201 grep -v '^ *+' conftest.er1 >conftest.err
25202 rm -f conftest.er1
25203 cat conftest.err >&5
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); } && {
25206 test -z "$ac_c_werror_flag" ||
25207 test ! -s conftest.err
25208 } && test -s conftest.$ac_objext; then
25209 ac_cv_header_regex_h=yes
25210 else
25211 echo "$as_me: failed program was:" >&5
25212 sed 's/^/| /' conftest.$ac_ext >&5
25213
25214 ac_cv_header_regex_h=no
25215 fi
25216
25217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25218 fi
25219 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25220 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25221 if test $ac_cv_header_regex_h = yes; then
25222
25223
25224 for ac_func in regcomp re_search
25225 do
25226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25230 echo $ECHO_N "(cached) $ECHO_C" >&6
25231 else
25232 cat >conftest.$ac_ext <<_ACEOF
25233 /* confdefs.h. */
25234 _ACEOF
25235 cat confdefs.h >>conftest.$ac_ext
25236 cat >>conftest.$ac_ext <<_ACEOF
25237 /* end confdefs.h. */
25238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25240 #define $ac_func innocuous_$ac_func
25241
25242 /* System header to define __stub macros and hopefully few prototypes,
25243 which can conflict with char $ac_func (); below.
25244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25245 <limits.h> exists even on freestanding compilers. */
25246
25247 #ifdef __STDC__
25248 # include <limits.h>
25249 #else
25250 # include <assert.h>
25251 #endif
25252
25253 #undef $ac_func
25254
25255 /* Override any GCC internal prototype to avoid an error.
25256 Use char because int might match the return type of a GCC
25257 builtin and then its argument prototype would still apply. */
25258 #ifdef __cplusplus
25259 extern "C"
25260 #endif
25261 char $ac_func ();
25262 /* The GNU C library defines this for functions which it implements
25263 to always fail with ENOSYS. Some functions are actually named
25264 something starting with __ and the normal name is an alias. */
25265 #if defined __stub_$ac_func || defined __stub___$ac_func
25266 choke me
25267 #endif
25268
25269 int
25270 main ()
25271 {
25272 return $ac_func ();
25273 ;
25274 return 0;
25275 }
25276 _ACEOF
25277 rm -f conftest.$ac_objext conftest$ac_exeext
25278 if { (ac_try="$ac_link"
25279 case "(($ac_try" in
25280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25281 *) ac_try_echo=$ac_try;;
25282 esac
25283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25284 (eval "$ac_link") 2>conftest.er1
25285 ac_status=$?
25286 grep -v '^ *+' conftest.er1 >conftest.err
25287 rm -f conftest.er1
25288 cat conftest.err >&5
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); } && {
25291 test -z "$ac_c_werror_flag" ||
25292 test ! -s conftest.err
25293 } && test -s conftest$ac_exeext &&
25294 $as_test_x conftest$ac_exeext; then
25295 eval "$as_ac_var=yes"
25296 else
25297 echo "$as_me: failed program was:" >&5
25298 sed 's/^/| /' conftest.$ac_ext >&5
25299
25300 eval "$as_ac_var=no"
25301 fi
25302
25303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25304 conftest$ac_exeext conftest.$ac_ext
25305 fi
25306 ac_res=`eval echo '${'$as_ac_var'}'`
25307 { echo "$as_me:$LINENO: result: $ac_res" >&5
25308 echo "${ECHO_T}$ac_res" >&6; }
25309 if test `eval echo '${'$as_ac_var'}'` = yes; then
25310 cat >>confdefs.h <<_ACEOF
25311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25312 _ACEOF
25313
25314 fi
25315 done
25316
25317 fi
25318
25319
25320
25321 if test "x$ac_cv_func_regcomp" != "xyes"; then
25322 if test "$wxUSE_REGEX" = "sys" ; then
25323 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25324 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25325 { (exit 1); exit 1; }; }
25326 else
25327 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25328 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25329 wxUSE_REGEX=builtin
25330 fi
25331 else
25332 wxUSE_REGEX=sys
25333 cat >>confdefs.h <<\_ACEOF
25334 #define WX_NO_REGEX_ADVANCED 1
25335 _ACEOF
25336
25337 fi
25338 fi
25339 fi
25340
25341
25342 ZLIB_LINK=
25343 if test "$wxUSE_ZLIB" != "no" ; then
25344 cat >>confdefs.h <<\_ACEOF
25345 #define wxUSE_ZLIB 1
25346 _ACEOF
25347
25348
25349 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25350 if test "$USE_DARWIN" = 1; then
25351 system_zlib_h_ok="yes"
25352 else
25353 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25354 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25355 if test "${ac_cv_header_zlib_h+set}" = set; then
25356 echo $ECHO_N "(cached) $ECHO_C" >&6
25357 else
25358 if test "$cross_compiling" = yes; then
25359 unset ac_cv_header_zlib_h
25360
25361 else
25362 cat >conftest.$ac_ext <<_ACEOF
25363 /* confdefs.h. */
25364 _ACEOF
25365 cat confdefs.h >>conftest.$ac_ext
25366 cat >>conftest.$ac_ext <<_ACEOF
25367 /* end confdefs.h. */
25368
25369 #include <zlib.h>
25370 #include <stdio.h>
25371
25372 int main()
25373 {
25374 FILE *f=fopen("conftestval", "w");
25375 if (!f) exit(1);
25376 fprintf(f, "%s",
25377 ZLIB_VERSION[0] == '1' &&
25378 (ZLIB_VERSION[2] > '1' ||
25379 (ZLIB_VERSION[2] == '1' &&
25380 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25381 exit(0);
25382 }
25383
25384 _ACEOF
25385 rm -f conftest$ac_exeext
25386 if { (ac_try="$ac_link"
25387 case "(($ac_try" in
25388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25389 *) ac_try_echo=$ac_try;;
25390 esac
25391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25392 (eval "$ac_link") 2>&5
25393 ac_status=$?
25394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25395 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25396 { (case "(($ac_try" in
25397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25398 *) ac_try_echo=$ac_try;;
25399 esac
25400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25401 (eval "$ac_try") 2>&5
25402 ac_status=$?
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); }; }; then
25405 ac_cv_header_zlib_h=`cat conftestval`
25406 else
25407 echo "$as_me: program exited with status $ac_status" >&5
25408 echo "$as_me: failed program was:" >&5
25409 sed 's/^/| /' conftest.$ac_ext >&5
25410
25411 ( exit $ac_status )
25412 ac_cv_header_zlib_h=no
25413 fi
25414 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25415 fi
25416
25417
25418
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 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25423 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25424 if test "${ac_cv_header_zlib_h+set}" = set; then
25425 echo $ECHO_N "(cached) $ECHO_C" >&6
25426 else
25427 cat >conftest.$ac_ext <<_ACEOF
25428 /* confdefs.h. */
25429 _ACEOF
25430 cat confdefs.h >>conftest.$ac_ext
25431 cat >>conftest.$ac_ext <<_ACEOF
25432 /* end confdefs.h. */
25433
25434
25435 #include <zlib.h>
25436 _ACEOF
25437 rm -f conftest.$ac_objext
25438 if { (ac_try="$ac_compile"
25439 case "(($ac_try" in
25440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25441 *) ac_try_echo=$ac_try;;
25442 esac
25443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25444 (eval "$ac_compile") 2>conftest.er1
25445 ac_status=$?
25446 grep -v '^ *+' conftest.er1 >conftest.err
25447 rm -f conftest.er1
25448 cat conftest.err >&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); } && {
25451 test -z "$ac_c_werror_flag" ||
25452 test ! -s conftest.err
25453 } && test -s conftest.$ac_objext; then
25454 ac_cv_header_zlib_h=yes
25455 else
25456 echo "$as_me: failed program was:" >&5
25457 sed 's/^/| /' conftest.$ac_ext >&5
25458
25459 ac_cv_header_zlib_h=no
25460 fi
25461
25462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25463 fi
25464 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25465 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25466
25467
25468
25469 system_zlib_h_ok=$ac_cv_header_zlib_h
25470 fi
25471
25472 if test "$system_zlib_h_ok" = "yes"; then
25473 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25474 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25475 if test "${ac_cv_lib_z_deflate+set}" = set; then
25476 echo $ECHO_N "(cached) $ECHO_C" >&6
25477 else
25478 ac_check_lib_save_LIBS=$LIBS
25479 LIBS="-lz $LIBS"
25480 cat >conftest.$ac_ext <<_ACEOF
25481 /* confdefs.h. */
25482 _ACEOF
25483 cat confdefs.h >>conftest.$ac_ext
25484 cat >>conftest.$ac_ext <<_ACEOF
25485 /* end confdefs.h. */
25486
25487 /* Override any GCC internal prototype to avoid an error.
25488 Use char because int might match the return type of a GCC
25489 builtin and then its argument prototype would still apply. */
25490 #ifdef __cplusplus
25491 extern "C"
25492 #endif
25493 char deflate ();
25494 int
25495 main ()
25496 {
25497 return deflate ();
25498 ;
25499 return 0;
25500 }
25501 _ACEOF
25502 rm -f conftest.$ac_objext conftest$ac_exeext
25503 if { (ac_try="$ac_link"
25504 case "(($ac_try" in
25505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25506 *) ac_try_echo=$ac_try;;
25507 esac
25508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25509 (eval "$ac_link") 2>conftest.er1
25510 ac_status=$?
25511 grep -v '^ *+' conftest.er1 >conftest.err
25512 rm -f conftest.er1
25513 cat conftest.err >&5
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); } && {
25516 test -z "$ac_c_werror_flag" ||
25517 test ! -s conftest.err
25518 } && test -s conftest$ac_exeext &&
25519 $as_test_x conftest$ac_exeext; then
25520 ac_cv_lib_z_deflate=yes
25521 else
25522 echo "$as_me: failed program was:" >&5
25523 sed 's/^/| /' conftest.$ac_ext >&5
25524
25525 ac_cv_lib_z_deflate=no
25526 fi
25527
25528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25529 conftest$ac_exeext conftest.$ac_ext
25530 LIBS=$ac_check_lib_save_LIBS
25531 fi
25532 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25533 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25534 if test $ac_cv_lib_z_deflate = yes; then
25535 ZLIB_LINK=" -lz"
25536 fi
25537
25538 fi
25539
25540 if test "x$ZLIB_LINK" = "x" ; then
25541 if test "$wxUSE_ZLIB" = "sys" ; then
25542 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25543 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25544 { (exit 1); exit 1; }; }
25545 else
25546 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25547 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25548 wxUSE_ZLIB=builtin
25549 fi
25550 else
25551 wxUSE_ZLIB=sys
25552 fi
25553 fi
25554 fi
25555
25556
25557 PNG_LINK=
25558 if test "$wxUSE_LIBPNG" != "no" ; then
25559 cat >>confdefs.h <<\_ACEOF
25560 #define wxUSE_LIBPNG 1
25561 _ACEOF
25562
25563
25564 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25565 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25566 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25567 wxUSE_LIBPNG=sys
25568 fi
25569
25570 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25571 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25572 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25573 wxUSE_LIBPNG=builtin
25574 fi
25575
25576 if test "$wxUSE_MGL" != 1 ; then
25577 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25578 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25579 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25580 if test "${ac_cv_header_png_h+set}" = set; then
25581 echo $ECHO_N "(cached) $ECHO_C" >&6
25582 else
25583 if test "$cross_compiling" = yes; then
25584 unset ac_cv_header_png_h
25585
25586 else
25587 cat >conftest.$ac_ext <<_ACEOF
25588 /* confdefs.h. */
25589 _ACEOF
25590 cat confdefs.h >>conftest.$ac_ext
25591 cat >>conftest.$ac_ext <<_ACEOF
25592 /* end confdefs.h. */
25593
25594 #include <png.h>
25595 #include <stdio.h>
25596
25597 int main()
25598 {
25599 FILE *f=fopen("conftestval", "w");
25600 if (!f) exit(1);
25601 fprintf(f, "%s",
25602 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25603 exit(0);
25604 }
25605
25606 _ACEOF
25607 rm -f conftest$ac_exeext
25608 if { (ac_try="$ac_link"
25609 case "(($ac_try" in
25610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25611 *) ac_try_echo=$ac_try;;
25612 esac
25613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25614 (eval "$ac_link") 2>&5
25615 ac_status=$?
25616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25617 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25618 { (case "(($ac_try" in
25619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25620 *) ac_try_echo=$ac_try;;
25621 esac
25622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25623 (eval "$ac_try") 2>&5
25624 ac_status=$?
25625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25626 (exit $ac_status); }; }; then
25627 ac_cv_header_png_h=`cat conftestval`
25628 else
25629 echo "$as_me: program exited with status $ac_status" >&5
25630 echo "$as_me: failed program was:" >&5
25631 sed 's/^/| /' conftest.$ac_ext >&5
25632
25633 ( exit $ac_status )
25634 ac_cv_header_png_h=no
25635 fi
25636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25637 fi
25638
25639
25640
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 { echo "$as_me:$LINENO: checking for png.h" >&5
25645 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25646 if test "${ac_cv_header_png_h+set}" = set; then
25647 echo $ECHO_N "(cached) $ECHO_C" >&6
25648 else
25649 cat >conftest.$ac_ext <<_ACEOF
25650 /* confdefs.h. */
25651 _ACEOF
25652 cat confdefs.h >>conftest.$ac_ext
25653 cat >>conftest.$ac_ext <<_ACEOF
25654 /* end confdefs.h. */
25655
25656
25657 #include <png.h>
25658 _ACEOF
25659 rm -f conftest.$ac_objext
25660 if { (ac_try="$ac_compile"
25661 case "(($ac_try" in
25662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25663 *) ac_try_echo=$ac_try;;
25664 esac
25665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25666 (eval "$ac_compile") 2>conftest.er1
25667 ac_status=$?
25668 grep -v '^ *+' conftest.er1 >conftest.err
25669 rm -f conftest.er1
25670 cat conftest.err >&5
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); } && {
25673 test -z "$ac_c_werror_flag" ||
25674 test ! -s conftest.err
25675 } && test -s conftest.$ac_objext; then
25676 ac_cv_header_png_h=yes
25677 else
25678 echo "$as_me: failed program was:" >&5
25679 sed 's/^/| /' conftest.$ac_ext >&5
25680
25681 ac_cv_header_png_h=no
25682 fi
25683
25684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25685 fi
25686 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25687 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25688
25689
25690
25691 if test "$ac_cv_header_png_h" = "yes"; then
25692 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25693 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25694 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25695 echo $ECHO_N "(cached) $ECHO_C" >&6
25696 else
25697 ac_check_lib_save_LIBS=$LIBS
25698 LIBS="-lpng -lz -lm $LIBS"
25699 cat >conftest.$ac_ext <<_ACEOF
25700 /* confdefs.h. */
25701 _ACEOF
25702 cat confdefs.h >>conftest.$ac_ext
25703 cat >>conftest.$ac_ext <<_ACEOF
25704 /* end confdefs.h. */
25705
25706 /* Override any GCC internal prototype to avoid an error.
25707 Use char because int might match the return type of a GCC
25708 builtin and then its argument prototype would still apply. */
25709 #ifdef __cplusplus
25710 extern "C"
25711 #endif
25712 char png_check_sig ();
25713 int
25714 main ()
25715 {
25716 return png_check_sig ();
25717 ;
25718 return 0;
25719 }
25720 _ACEOF
25721 rm -f conftest.$ac_objext conftest$ac_exeext
25722 if { (ac_try="$ac_link"
25723 case "(($ac_try" in
25724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25725 *) ac_try_echo=$ac_try;;
25726 esac
25727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25728 (eval "$ac_link") 2>conftest.er1
25729 ac_status=$?
25730 grep -v '^ *+' conftest.er1 >conftest.err
25731 rm -f conftest.er1
25732 cat conftest.err >&5
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); } && {
25735 test -z "$ac_c_werror_flag" ||
25736 test ! -s conftest.err
25737 } && test -s conftest$ac_exeext &&
25738 $as_test_x conftest$ac_exeext; then
25739 ac_cv_lib_png_png_check_sig=yes
25740 else
25741 echo "$as_me: failed program was:" >&5
25742 sed 's/^/| /' conftest.$ac_ext >&5
25743
25744 ac_cv_lib_png_png_check_sig=no
25745 fi
25746
25747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25748 conftest$ac_exeext conftest.$ac_ext
25749 LIBS=$ac_check_lib_save_LIBS
25750 fi
25751 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25752 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25753 if test $ac_cv_lib_png_png_check_sig = yes; then
25754 PNG_LINK=" -lpng -lz"
25755 fi
25756
25757 fi
25758
25759 if test "x$PNG_LINK" = "x" ; then
25760 if test "$wxUSE_LIBPNG" = "sys" ; then
25761 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25762 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25763 { (exit 1); exit 1; }; }
25764 else
25765 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25766 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25767 wxUSE_LIBPNG=builtin
25768 fi
25769 else
25770 wxUSE_LIBPNG=sys
25771 fi
25772 fi
25773 fi
25774
25775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25776 fi
25777
25778
25779 JPEG_LINK=
25780 if test "$wxUSE_LIBJPEG" != "no" ; then
25781 cat >>confdefs.h <<\_ACEOF
25782 #define wxUSE_LIBJPEG 1
25783 _ACEOF
25784
25785
25786 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25787 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25788 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25789 wxUSE_LIBJPEG=sys
25790 fi
25791
25792 if test "$wxUSE_MGL" != 1 ; then
25793 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25794 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25795 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25796 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25797 echo $ECHO_N "(cached) $ECHO_C" >&6
25798 else
25799 cat >conftest.$ac_ext <<_ACEOF
25800 /* confdefs.h. */
25801 _ACEOF
25802 cat confdefs.h >>conftest.$ac_ext
25803 cat >>conftest.$ac_ext <<_ACEOF
25804 /* end confdefs.h. */
25805
25806 #undef HAVE_STDLIB_H
25807 #include <stdio.h>
25808 #include <jpeglib.h>
25809
25810 int
25811 main ()
25812 {
25813
25814
25815 ;
25816 return 0;
25817 }
25818 _ACEOF
25819 rm -f conftest.$ac_objext
25820 if { (ac_try="$ac_compile"
25821 case "(($ac_try" in
25822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25823 *) ac_try_echo=$ac_try;;
25824 esac
25825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25826 (eval "$ac_compile") 2>conftest.er1
25827 ac_status=$?
25828 grep -v '^ *+' conftest.er1 >conftest.err
25829 rm -f conftest.er1
25830 cat conftest.err >&5
25831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25832 (exit $ac_status); } && {
25833 test -z "$ac_c_werror_flag" ||
25834 test ! -s conftest.err
25835 } && test -s conftest.$ac_objext; then
25836 ac_cv_header_jpeglib_h=yes
25837 else
25838 echo "$as_me: failed program was:" >&5
25839 sed 's/^/| /' conftest.$ac_ext >&5
25840
25841 ac_cv_header_jpeglib_h=no
25842
25843 fi
25844
25845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25846
25847 fi
25848
25849 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25850 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25851
25852 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25853 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25854 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25855 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25857 else
25858 ac_check_lib_save_LIBS=$LIBS
25859 LIBS="-ljpeg $LIBS"
25860 cat >conftest.$ac_ext <<_ACEOF
25861 /* confdefs.h. */
25862 _ACEOF
25863 cat confdefs.h >>conftest.$ac_ext
25864 cat >>conftest.$ac_ext <<_ACEOF
25865 /* end confdefs.h. */
25866
25867 /* Override any GCC internal prototype to avoid an error.
25868 Use char because int might match the return type of a GCC
25869 builtin and then its argument prototype would still apply. */
25870 #ifdef __cplusplus
25871 extern "C"
25872 #endif
25873 char jpeg_read_header ();
25874 int
25875 main ()
25876 {
25877 return jpeg_read_header ();
25878 ;
25879 return 0;
25880 }
25881 _ACEOF
25882 rm -f conftest.$ac_objext conftest$ac_exeext
25883 if { (ac_try="$ac_link"
25884 case "(($ac_try" in
25885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25886 *) ac_try_echo=$ac_try;;
25887 esac
25888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25889 (eval "$ac_link") 2>conftest.er1
25890 ac_status=$?
25891 grep -v '^ *+' conftest.er1 >conftest.err
25892 rm -f conftest.er1
25893 cat conftest.err >&5
25894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895 (exit $ac_status); } && {
25896 test -z "$ac_c_werror_flag" ||
25897 test ! -s conftest.err
25898 } && test -s conftest$ac_exeext &&
25899 $as_test_x conftest$ac_exeext; then
25900 ac_cv_lib_jpeg_jpeg_read_header=yes
25901 else
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.$ac_ext >&5
25904
25905 ac_cv_lib_jpeg_jpeg_read_header=no
25906 fi
25907
25908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25909 conftest$ac_exeext conftest.$ac_ext
25910 LIBS=$ac_check_lib_save_LIBS
25911 fi
25912 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25913 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25914 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25915 JPEG_LINK=" -ljpeg"
25916 fi
25917
25918 fi
25919
25920 if test "x$JPEG_LINK" = "x" ; then
25921 if test "$wxUSE_LIBJPEG" = "sys" ; then
25922 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25923 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25924 { (exit 1); exit 1; }; }
25925 else
25926 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25927 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25928 wxUSE_LIBJPEG=builtin
25929 fi
25930 else
25931 wxUSE_LIBJPEG=sys
25932
25933 if test "$wxUSE_MSW" = 1; then
25934 { echo "$as_me:$LINENO: checking for boolean" >&5
25935 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25936 if test "${ac_cv_type_boolean+set}" = set; then
25937 echo $ECHO_N "(cached) $ECHO_C" >&6
25938 else
25939 cat >conftest.$ac_ext <<_ACEOF
25940 /* confdefs.h. */
25941 _ACEOF
25942 cat confdefs.h >>conftest.$ac_ext
25943 cat >>conftest.$ac_ext <<_ACEOF
25944 /* end confdefs.h. */
25945 #include <windows.h>
25946
25947 typedef boolean ac__type_new_;
25948 int
25949 main ()
25950 {
25951 if ((ac__type_new_ *) 0)
25952 return 0;
25953 if (sizeof (ac__type_new_))
25954 return 0;
25955 ;
25956 return 0;
25957 }
25958 _ACEOF
25959 rm -f conftest.$ac_objext
25960 if { (ac_try="$ac_compile"
25961 case "(($ac_try" in
25962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25963 *) ac_try_echo=$ac_try;;
25964 esac
25965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25966 (eval "$ac_compile") 2>conftest.er1
25967 ac_status=$?
25968 grep -v '^ *+' conftest.er1 >conftest.err
25969 rm -f conftest.er1
25970 cat conftest.err >&5
25971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25972 (exit $ac_status); } && {
25973 test -z "$ac_c_werror_flag" ||
25974 test ! -s conftest.err
25975 } && test -s conftest.$ac_objext; then
25976 ac_cv_type_boolean=yes
25977 else
25978 echo "$as_me: failed program was:" >&5
25979 sed 's/^/| /' conftest.$ac_ext >&5
25980
25981 ac_cv_type_boolean=no
25982 fi
25983
25984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25985 fi
25986 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25987 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25988 if test $ac_cv_type_boolean = yes; then
25989
25990 cat >>confdefs.h <<_ACEOF
25991 #define HAVE_BOOLEAN 1
25992 _ACEOF
25993
25994
25995 { echo "$as_me:$LINENO: checking for boolean" >&5
25996 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25997 if test "${ac_cv_type_boolean+set}" = set; then
25998 echo $ECHO_N "(cached) $ECHO_C" >&6
25999 else
26000 cat >conftest.$ac_ext <<_ACEOF
26001 /* confdefs.h. */
26002 _ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006
26007 #undef HAVE_BOOLEAN
26008 #include <stdio.h>
26009 #include <jpeglib.h>
26010
26011
26012 typedef boolean ac__type_new_;
26013 int
26014 main ()
26015 {
26016 if ((ac__type_new_ *) 0)
26017 return 0;
26018 if (sizeof (ac__type_new_))
26019 return 0;
26020 ;
26021 return 0;
26022 }
26023 _ACEOF
26024 rm -f conftest.$ac_objext
26025 if { (ac_try="$ac_compile"
26026 case "(($ac_try" in
26027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26028 *) ac_try_echo=$ac_try;;
26029 esac
26030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26031 (eval "$ac_compile") 2>conftest.er1
26032 ac_status=$?
26033 grep -v '^ *+' conftest.er1 >conftest.err
26034 rm -f conftest.er1
26035 cat conftest.err >&5
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); } && {
26038 test -z "$ac_c_werror_flag" ||
26039 test ! -s conftest.err
26040 } && test -s conftest.$ac_objext; then
26041 ac_cv_type_boolean=yes
26042 else
26043 echo "$as_me: failed program was:" >&5
26044 sed 's/^/| /' conftest.$ac_ext >&5
26045
26046 ac_cv_type_boolean=no
26047 fi
26048
26049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26050 fi
26051 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26052 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26053
26054 # The cast to long int works around a bug in the HP C Compiler
26055 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26056 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26057 # This bug is HP SR number 8606223364.
26058 { echo "$as_me:$LINENO: checking size of boolean" >&5
26059 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26060 if test "${ac_cv_sizeof_boolean+set}" = set; then
26061 echo $ECHO_N "(cached) $ECHO_C" >&6
26062 else
26063 if test "$cross_compiling" = yes; then
26064 # Depending upon the size, compute the lo and hi bounds.
26065 cat >conftest.$ac_ext <<_ACEOF
26066 /* confdefs.h. */
26067 _ACEOF
26068 cat confdefs.h >>conftest.$ac_ext
26069 cat >>conftest.$ac_ext <<_ACEOF
26070 /* end confdefs.h. */
26071
26072 #undef HAVE_BOOLEAN
26073 #include <stdio.h>
26074 #include <jpeglib.h>
26075
26076
26077 typedef boolean ac__type_sizeof_;
26078 int
26079 main ()
26080 {
26081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26082 test_array [0] = 0
26083
26084 ;
26085 return 0;
26086 }
26087 _ACEOF
26088 rm -f conftest.$ac_objext
26089 if { (ac_try="$ac_compile"
26090 case "(($ac_try" in
26091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26092 *) ac_try_echo=$ac_try;;
26093 esac
26094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26095 (eval "$ac_compile") 2>conftest.er1
26096 ac_status=$?
26097 grep -v '^ *+' conftest.er1 >conftest.err
26098 rm -f conftest.er1
26099 cat conftest.err >&5
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); } && {
26102 test -z "$ac_c_werror_flag" ||
26103 test ! -s conftest.err
26104 } && test -s conftest.$ac_objext; then
26105 ac_lo=0 ac_mid=0
26106 while :; do
26107 cat >conftest.$ac_ext <<_ACEOF
26108 /* confdefs.h. */
26109 _ACEOF
26110 cat confdefs.h >>conftest.$ac_ext
26111 cat >>conftest.$ac_ext <<_ACEOF
26112 /* end confdefs.h. */
26113
26114 #undef HAVE_BOOLEAN
26115 #include <stdio.h>
26116 #include <jpeglib.h>
26117
26118
26119 typedef boolean ac__type_sizeof_;
26120 int
26121 main ()
26122 {
26123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26124 test_array [0] = 0
26125
26126 ;
26127 return 0;
26128 }
26129 _ACEOF
26130 rm -f conftest.$ac_objext
26131 if { (ac_try="$ac_compile"
26132 case "(($ac_try" in
26133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26134 *) ac_try_echo=$ac_try;;
26135 esac
26136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26137 (eval "$ac_compile") 2>conftest.er1
26138 ac_status=$?
26139 grep -v '^ *+' conftest.er1 >conftest.err
26140 rm -f conftest.er1
26141 cat conftest.err >&5
26142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143 (exit $ac_status); } && {
26144 test -z "$ac_c_werror_flag" ||
26145 test ! -s conftest.err
26146 } && test -s conftest.$ac_objext; then
26147 ac_hi=$ac_mid; break
26148 else
26149 echo "$as_me: failed program was:" >&5
26150 sed 's/^/| /' conftest.$ac_ext >&5
26151
26152 ac_lo=`expr $ac_mid + 1`
26153 if test $ac_lo -le $ac_mid; then
26154 ac_lo= ac_hi=
26155 break
26156 fi
26157 ac_mid=`expr 2 '*' $ac_mid + 1`
26158 fi
26159
26160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26161 done
26162 else
26163 echo "$as_me: failed program was:" >&5
26164 sed 's/^/| /' conftest.$ac_ext >&5
26165
26166 cat >conftest.$ac_ext <<_ACEOF
26167 /* confdefs.h. */
26168 _ACEOF
26169 cat confdefs.h >>conftest.$ac_ext
26170 cat >>conftest.$ac_ext <<_ACEOF
26171 /* end confdefs.h. */
26172
26173 #undef HAVE_BOOLEAN
26174 #include <stdio.h>
26175 #include <jpeglib.h>
26176
26177
26178 typedef boolean ac__type_sizeof_;
26179 int
26180 main ()
26181 {
26182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26183 test_array [0] = 0
26184
26185 ;
26186 return 0;
26187 }
26188 _ACEOF
26189 rm -f conftest.$ac_objext
26190 if { (ac_try="$ac_compile"
26191 case "(($ac_try" in
26192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26193 *) ac_try_echo=$ac_try;;
26194 esac
26195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26196 (eval "$ac_compile") 2>conftest.er1
26197 ac_status=$?
26198 grep -v '^ *+' conftest.er1 >conftest.err
26199 rm -f conftest.er1
26200 cat conftest.err >&5
26201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); } && {
26203 test -z "$ac_c_werror_flag" ||
26204 test ! -s conftest.err
26205 } && test -s conftest.$ac_objext; then
26206 ac_hi=-1 ac_mid=-1
26207 while :; do
26208 cat >conftest.$ac_ext <<_ACEOF
26209 /* confdefs.h. */
26210 _ACEOF
26211 cat confdefs.h >>conftest.$ac_ext
26212 cat >>conftest.$ac_ext <<_ACEOF
26213 /* end confdefs.h. */
26214
26215 #undef HAVE_BOOLEAN
26216 #include <stdio.h>
26217 #include <jpeglib.h>
26218
26219
26220 typedef boolean ac__type_sizeof_;
26221 int
26222 main ()
26223 {
26224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26225 test_array [0] = 0
26226
26227 ;
26228 return 0;
26229 }
26230 _ACEOF
26231 rm -f conftest.$ac_objext
26232 if { (ac_try="$ac_compile"
26233 case "(($ac_try" in
26234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26235 *) ac_try_echo=$ac_try;;
26236 esac
26237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26238 (eval "$ac_compile") 2>conftest.er1
26239 ac_status=$?
26240 grep -v '^ *+' conftest.er1 >conftest.err
26241 rm -f conftest.er1
26242 cat conftest.err >&5
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); } && {
26245 test -z "$ac_c_werror_flag" ||
26246 test ! -s conftest.err
26247 } && test -s conftest.$ac_objext; then
26248 ac_lo=$ac_mid; break
26249 else
26250 echo "$as_me: failed program was:" >&5
26251 sed 's/^/| /' conftest.$ac_ext >&5
26252
26253 ac_hi=`expr '(' $ac_mid ')' - 1`
26254 if test $ac_mid -le $ac_hi; then
26255 ac_lo= ac_hi=
26256 break
26257 fi
26258 ac_mid=`expr 2 '*' $ac_mid`
26259 fi
26260
26261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26262 done
26263 else
26264 echo "$as_me: failed program was:" >&5
26265 sed 's/^/| /' conftest.$ac_ext >&5
26266
26267 ac_lo= ac_hi=
26268 fi
26269
26270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26271 fi
26272
26273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26274 # Binary search between lo and hi bounds.
26275 while test "x$ac_lo" != "x$ac_hi"; do
26276 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26277 cat >conftest.$ac_ext <<_ACEOF
26278 /* confdefs.h. */
26279 _ACEOF
26280 cat confdefs.h >>conftest.$ac_ext
26281 cat >>conftest.$ac_ext <<_ACEOF
26282 /* end confdefs.h. */
26283
26284 #undef HAVE_BOOLEAN
26285 #include <stdio.h>
26286 #include <jpeglib.h>
26287
26288
26289 typedef boolean ac__type_sizeof_;
26290 int
26291 main ()
26292 {
26293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26294 test_array [0] = 0
26295
26296 ;
26297 return 0;
26298 }
26299 _ACEOF
26300 rm -f conftest.$ac_objext
26301 if { (ac_try="$ac_compile"
26302 case "(($ac_try" in
26303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26304 *) ac_try_echo=$ac_try;;
26305 esac
26306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26307 (eval "$ac_compile") 2>conftest.er1
26308 ac_status=$?
26309 grep -v '^ *+' conftest.er1 >conftest.err
26310 rm -f conftest.er1
26311 cat conftest.err >&5
26312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313 (exit $ac_status); } && {
26314 test -z "$ac_c_werror_flag" ||
26315 test ! -s conftest.err
26316 } && test -s conftest.$ac_objext; then
26317 ac_hi=$ac_mid
26318 else
26319 echo "$as_me: failed program was:" >&5
26320 sed 's/^/| /' conftest.$ac_ext >&5
26321
26322 ac_lo=`expr '(' $ac_mid ')' + 1`
26323 fi
26324
26325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26326 done
26327 case $ac_lo in
26328 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26329 '') if test "$ac_cv_type_boolean" = yes; then
26330 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26331 See \`config.log' for more details." >&5
26332 echo "$as_me: error: cannot compute sizeof (boolean)
26333 See \`config.log' for more details." >&2;}
26334 { (exit 77); exit 77; }; }
26335 else
26336 ac_cv_sizeof_boolean=0
26337 fi ;;
26338 esac
26339 else
26340 cat >conftest.$ac_ext <<_ACEOF
26341 /* confdefs.h. */
26342 _ACEOF
26343 cat confdefs.h >>conftest.$ac_ext
26344 cat >>conftest.$ac_ext <<_ACEOF
26345 /* end confdefs.h. */
26346
26347 #undef HAVE_BOOLEAN
26348 #include <stdio.h>
26349 #include <jpeglib.h>
26350
26351
26352 typedef boolean ac__type_sizeof_;
26353 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26354 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26355 #include <stdio.h>
26356 #include <stdlib.h>
26357 int
26358 main ()
26359 {
26360
26361 FILE *f = fopen ("conftest.val", "w");
26362 if (! f)
26363 return 1;
26364 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26365 {
26366 long int i = longval ();
26367 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26368 return 1;
26369 fprintf (f, "%ld\n", i);
26370 }
26371 else
26372 {
26373 unsigned long int i = ulongval ();
26374 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26375 return 1;
26376 fprintf (f, "%lu\n", i);
26377 }
26378 return ferror (f) || fclose (f) != 0;
26379
26380 ;
26381 return 0;
26382 }
26383 _ACEOF
26384 rm -f conftest$ac_exeext
26385 if { (ac_try="$ac_link"
26386 case "(($ac_try" in
26387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26388 *) ac_try_echo=$ac_try;;
26389 esac
26390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26391 (eval "$ac_link") 2>&5
26392 ac_status=$?
26393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26394 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26395 { (case "(($ac_try" in
26396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26397 *) ac_try_echo=$ac_try;;
26398 esac
26399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26400 (eval "$ac_try") 2>&5
26401 ac_status=$?
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); }; }; then
26404 ac_cv_sizeof_boolean=`cat conftest.val`
26405 else
26406 echo "$as_me: program exited with status $ac_status" >&5
26407 echo "$as_me: failed program was:" >&5
26408 sed 's/^/| /' conftest.$ac_ext >&5
26409
26410 ( exit $ac_status )
26411 if test "$ac_cv_type_boolean" = yes; then
26412 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26413 See \`config.log' for more details." >&5
26414 echo "$as_me: error: cannot compute sizeof (boolean)
26415 See \`config.log' for more details." >&2;}
26416 { (exit 77); exit 77; }; }
26417 else
26418 ac_cv_sizeof_boolean=0
26419 fi
26420 fi
26421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26422 fi
26423 rm -f conftest.val
26424 fi
26425 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26426 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26427
26428
26429
26430 cat >>confdefs.h <<_ACEOF
26431 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26432 _ACEOF
26433
26434
26435 cat >>confdefs.h <<_ACEOF
26436 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26437 _ACEOF
26438
26439
26440 fi
26441
26442 fi
26443 fi
26444 fi
26445 fi
26446 fi
26447
26448
26449 TIFF_LINK=
26450 TIFF_PREREQ_LINKS=-lm
26451 if test "$wxUSE_LIBTIFF" != "no" ; then
26452 cat >>confdefs.h <<\_ACEOF
26453 #define wxUSE_LIBTIFF 1
26454 _ACEOF
26455
26456
26457 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26458 if test "$wxUSE_LIBJPEG" = "sys"; then
26459 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26460 fi
26461 if test "$wxUSE_ZLIB" = "sys"; then
26462 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26463 fi
26464 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26465 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26466 if test "${ac_cv_header_tiffio_h+set}" = set; then
26467 echo $ECHO_N "(cached) $ECHO_C" >&6
26468 else
26469 cat >conftest.$ac_ext <<_ACEOF
26470 /* confdefs.h. */
26471 _ACEOF
26472 cat confdefs.h >>conftest.$ac_ext
26473 cat >>conftest.$ac_ext <<_ACEOF
26474 /* end confdefs.h. */
26475
26476
26477
26478 #include <tiffio.h>
26479 _ACEOF
26480 rm -f conftest.$ac_objext
26481 if { (ac_try="$ac_compile"
26482 case "(($ac_try" in
26483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26484 *) ac_try_echo=$ac_try;;
26485 esac
26486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26487 (eval "$ac_compile") 2>conftest.er1
26488 ac_status=$?
26489 grep -v '^ *+' conftest.er1 >conftest.err
26490 rm -f conftest.er1
26491 cat conftest.err >&5
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); } && {
26494 test -z "$ac_c_werror_flag" ||
26495 test ! -s conftest.err
26496 } && test -s conftest.$ac_objext; then
26497 ac_cv_header_tiffio_h=yes
26498 else
26499 echo "$as_me: failed program was:" >&5
26500 sed 's/^/| /' conftest.$ac_ext >&5
26501
26502 ac_cv_header_tiffio_h=no
26503 fi
26504
26505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26506 fi
26507 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26508 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26509 if test $ac_cv_header_tiffio_h = yes; then
26510
26511 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26512 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26513 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26514 echo $ECHO_N "(cached) $ECHO_C" >&6
26515 else
26516 ac_check_lib_save_LIBS=$LIBS
26517 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26518 cat >conftest.$ac_ext <<_ACEOF
26519 /* confdefs.h. */
26520 _ACEOF
26521 cat confdefs.h >>conftest.$ac_ext
26522 cat >>conftest.$ac_ext <<_ACEOF
26523 /* end confdefs.h. */
26524
26525 /* Override any GCC internal prototype to avoid an error.
26526 Use char because int might match the return type of a GCC
26527 builtin and then its argument prototype would still apply. */
26528 #ifdef __cplusplus
26529 extern "C"
26530 #endif
26531 char TIFFError ();
26532 int
26533 main ()
26534 {
26535 return TIFFError ();
26536 ;
26537 return 0;
26538 }
26539 _ACEOF
26540 rm -f conftest.$ac_objext conftest$ac_exeext
26541 if { (ac_try="$ac_link"
26542 case "(($ac_try" in
26543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26544 *) ac_try_echo=$ac_try;;
26545 esac
26546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26547 (eval "$ac_link") 2>conftest.er1
26548 ac_status=$?
26549 grep -v '^ *+' conftest.er1 >conftest.err
26550 rm -f conftest.er1
26551 cat conftest.err >&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); } && {
26554 test -z "$ac_c_werror_flag" ||
26555 test ! -s conftest.err
26556 } && test -s conftest$ac_exeext &&
26557 $as_test_x conftest$ac_exeext; then
26558 ac_cv_lib_tiff_TIFFError=yes
26559 else
26560 echo "$as_me: failed program was:" >&5
26561 sed 's/^/| /' conftest.$ac_ext >&5
26562
26563 ac_cv_lib_tiff_TIFFError=no
26564 fi
26565
26566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26567 conftest$ac_exeext conftest.$ac_ext
26568 LIBS=$ac_check_lib_save_LIBS
26569 fi
26570 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26571 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26572 if test $ac_cv_lib_tiff_TIFFError = yes; then
26573 TIFF_LINK=" -ltiff"
26574 fi
26575
26576
26577 fi
26578
26579
26580
26581 if test "x$TIFF_LINK" = "x" ; then
26582 if test "$wxUSE_LIBTIFF" = "sys" ; then
26583 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26584 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26585 { (exit 1); exit 1; }; }
26586 else
26587 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26588 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26589 wxUSE_LIBTIFF=builtin
26590 fi
26591 else
26592 wxUSE_LIBTIFF=sys
26593 fi
26594 fi
26595 fi
26596
26597
26598 if test "$wxUSE_WCHAR_T" != "yes"; then
26599 if test "$wxUSE_EXPAT" != "no"; then
26600 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26601 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26602 wxUSE_EXPAT=no
26603 fi
26604 if test "$wxUSE_XML" != "no"; then
26605 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26606 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26607 wxUSE_XML=no
26608 fi
26609 fi
26610
26611 if test "$wxUSE_EXPAT" != "no"; then
26612 wxUSE_XML=yes
26613 cat >>confdefs.h <<\_ACEOF
26614 #define wxUSE_EXPAT 1
26615 _ACEOF
26616
26617 cat >>confdefs.h <<\_ACEOF
26618 #define wxUSE_XML 1
26619 _ACEOF
26620
26621
26622 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26623 { echo "$as_me:$LINENO: checking for expat.h" >&5
26624 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26625 if test "${ac_cv_header_expat_h+set}" = set; then
26626 echo $ECHO_N "(cached) $ECHO_C" >&6
26627 else
26628 cat >conftest.$ac_ext <<_ACEOF
26629 /* confdefs.h. */
26630 _ACEOF
26631 cat confdefs.h >>conftest.$ac_ext
26632 cat >>conftest.$ac_ext <<_ACEOF
26633 /* end confdefs.h. */
26634
26635
26636 #include <expat.h>
26637 _ACEOF
26638 rm -f conftest.$ac_objext
26639 if { (ac_try="$ac_compile"
26640 case "(($ac_try" in
26641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26642 *) ac_try_echo=$ac_try;;
26643 esac
26644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26645 (eval "$ac_compile") 2>conftest.er1
26646 ac_status=$?
26647 grep -v '^ *+' conftest.er1 >conftest.err
26648 rm -f conftest.er1
26649 cat conftest.err >&5
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); } && {
26652 test -z "$ac_c_werror_flag" ||
26653 test ! -s conftest.err
26654 } && test -s conftest.$ac_objext; then
26655 ac_cv_header_expat_h=yes
26656 else
26657 echo "$as_me: failed program was:" >&5
26658 sed 's/^/| /' conftest.$ac_ext >&5
26659
26660 ac_cv_header_expat_h=no
26661 fi
26662
26663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26664 fi
26665 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26666 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26667 if test $ac_cv_header_expat_h = yes; then
26668 found_expat_h=1
26669 fi
26670
26671
26672 if test "x$found_expat_h" = "x1"; then
26673 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26674 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26675 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26676 echo $ECHO_N "(cached) $ECHO_C" >&6
26677 else
26678
26679 ac_ext=cpp
26680 ac_cpp='$CXXCPP $CPPFLAGS'
26681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26684
26685 cat >conftest.$ac_ext <<_ACEOF
26686 /* confdefs.h. */
26687 _ACEOF
26688 cat confdefs.h >>conftest.$ac_ext
26689 cat >>conftest.$ac_ext <<_ACEOF
26690 /* end confdefs.h. */
26691 #include <expat.h>
26692 int
26693 main ()
26694 {
26695
26696 ;
26697 return 0;
26698 }
26699 _ACEOF
26700 rm -f conftest.$ac_objext
26701 if { (ac_try="$ac_compile"
26702 case "(($ac_try" in
26703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26704 *) ac_try_echo=$ac_try;;
26705 esac
26706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26707 (eval "$ac_compile") 2>conftest.er1
26708 ac_status=$?
26709 grep -v '^ *+' conftest.er1 >conftest.err
26710 rm -f conftest.er1
26711 cat conftest.err >&5
26712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26713 (exit $ac_status); } && {
26714 test -z "$ac_cxx_werror_flag" ||
26715 test ! -s conftest.err
26716 } && test -s conftest.$ac_objext; then
26717 wx_cv_expat_is_not_broken=yes
26718 else
26719 echo "$as_me: failed program was:" >&5
26720 sed 's/^/| /' conftest.$ac_ext >&5
26721
26722 wx_cv_expat_is_not_broken=no
26723
26724 fi
26725
26726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26727 ac_ext=c
26728 ac_cpp='$CPP $CPPFLAGS'
26729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26732
26733
26734
26735 fi
26736 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26737 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26738 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26739 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26740 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26741 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 else
26744 ac_check_lib_save_LIBS=$LIBS
26745 LIBS="-lexpat $LIBS"
26746 cat >conftest.$ac_ext <<_ACEOF
26747 /* confdefs.h. */
26748 _ACEOF
26749 cat confdefs.h >>conftest.$ac_ext
26750 cat >>conftest.$ac_ext <<_ACEOF
26751 /* end confdefs.h. */
26752
26753 /* Override any GCC internal prototype to avoid an error.
26754 Use char because int might match the return type of a GCC
26755 builtin and then its argument prototype would still apply. */
26756 #ifdef __cplusplus
26757 extern "C"
26758 #endif
26759 char XML_ParserCreate ();
26760 int
26761 main ()
26762 {
26763 return XML_ParserCreate ();
26764 ;
26765 return 0;
26766 }
26767 _ACEOF
26768 rm -f conftest.$ac_objext conftest$ac_exeext
26769 if { (ac_try="$ac_link"
26770 case "(($ac_try" in
26771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26772 *) ac_try_echo=$ac_try;;
26773 esac
26774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26775 (eval "$ac_link") 2>conftest.er1
26776 ac_status=$?
26777 grep -v '^ *+' conftest.er1 >conftest.err
26778 rm -f conftest.er1
26779 cat conftest.err >&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); } && {
26782 test -z "$ac_c_werror_flag" ||
26783 test ! -s conftest.err
26784 } && test -s conftest$ac_exeext &&
26785 $as_test_x conftest$ac_exeext; then
26786 ac_cv_lib_expat_XML_ParserCreate=yes
26787 else
26788 echo "$as_me: failed program was:" >&5
26789 sed 's/^/| /' conftest.$ac_ext >&5
26790
26791 ac_cv_lib_expat_XML_ParserCreate=no
26792 fi
26793
26794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26795 conftest$ac_exeext conftest.$ac_ext
26796 LIBS=$ac_check_lib_save_LIBS
26797 fi
26798 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26799 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26800 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26801 EXPAT_LINK=" -lexpat"
26802 fi
26803
26804 fi
26805 fi
26806 if test "x$EXPAT_LINK" = "x" ; then
26807 if test "$wxUSE_EXPAT" = "sys" ; then
26808 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26809 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26810 { (exit 1); exit 1; }; }
26811 else
26812 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26813 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26814 wxUSE_EXPAT=builtin
26815 fi
26816 else
26817 wxUSE_EXPAT=sys
26818 fi
26819 fi
26820 if test "$wxUSE_EXPAT" = "builtin" ; then
26821 subdirs="$subdirs src/expat"
26822
26823 fi
26824 fi
26825
26826
26827
26828 if test "$wxUSE_LIBMSPACK" != "no"; then
26829 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26830 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26831 if test "${ac_cv_header_mspack_h+set}" = set; then
26832 echo $ECHO_N "(cached) $ECHO_C" >&6
26833 else
26834 cat >conftest.$ac_ext <<_ACEOF
26835 /* confdefs.h. */
26836 _ACEOF
26837 cat confdefs.h >>conftest.$ac_ext
26838 cat >>conftest.$ac_ext <<_ACEOF
26839 /* end confdefs.h. */
26840
26841
26842 #include <mspack.h>
26843 _ACEOF
26844 rm -f conftest.$ac_objext
26845 if { (ac_try="$ac_compile"
26846 case "(($ac_try" in
26847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26848 *) ac_try_echo=$ac_try;;
26849 esac
26850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26851 (eval "$ac_compile") 2>conftest.er1
26852 ac_status=$?
26853 grep -v '^ *+' conftest.er1 >conftest.err
26854 rm -f conftest.er1
26855 cat conftest.err >&5
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); } && {
26858 test -z "$ac_c_werror_flag" ||
26859 test ! -s conftest.err
26860 } && test -s conftest.$ac_objext; then
26861 ac_cv_header_mspack_h=yes
26862 else
26863 echo "$as_me: failed program was:" >&5
26864 sed 's/^/| /' conftest.$ac_ext >&5
26865
26866 ac_cv_header_mspack_h=no
26867 fi
26868
26869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26870 fi
26871 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26872 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26873 if test $ac_cv_header_mspack_h = yes; then
26874 found_mspack_h=1
26875 fi
26876
26877
26878 if test "x$found_mspack_h" = "x1"; then
26879 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26880 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26881 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26882 echo $ECHO_N "(cached) $ECHO_C" >&6
26883 else
26884 ac_check_lib_save_LIBS=$LIBS
26885 LIBS="-lmspack $LIBS"
26886 cat >conftest.$ac_ext <<_ACEOF
26887 /* confdefs.h. */
26888 _ACEOF
26889 cat confdefs.h >>conftest.$ac_ext
26890 cat >>conftest.$ac_ext <<_ACEOF
26891 /* end confdefs.h. */
26892
26893 /* Override any GCC internal prototype to avoid an error.
26894 Use char because int might match the return type of a GCC
26895 builtin and then its argument prototype would still apply. */
26896 #ifdef __cplusplus
26897 extern "C"
26898 #endif
26899 char mspack_create_chm_decompressor ();
26900 int
26901 main ()
26902 {
26903 return mspack_create_chm_decompressor ();
26904 ;
26905 return 0;
26906 }
26907 _ACEOF
26908 rm -f conftest.$ac_objext conftest$ac_exeext
26909 if { (ac_try="$ac_link"
26910 case "(($ac_try" in
26911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26912 *) ac_try_echo=$ac_try;;
26913 esac
26914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26915 (eval "$ac_link") 2>conftest.er1
26916 ac_status=$?
26917 grep -v '^ *+' conftest.er1 >conftest.err
26918 rm -f conftest.er1
26919 cat conftest.err >&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } && {
26922 test -z "$ac_c_werror_flag" ||
26923 test ! -s conftest.err
26924 } && test -s conftest$ac_exeext &&
26925 $as_test_x conftest$ac_exeext; then
26926 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26927 else
26928 echo "$as_me: failed program was:" >&5
26929 sed 's/^/| /' conftest.$ac_ext >&5
26930
26931 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26932 fi
26933
26934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26935 conftest$ac_exeext conftest.$ac_ext
26936 LIBS=$ac_check_lib_save_LIBS
26937 fi
26938 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26939 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26940 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26941 MSPACK_LINK=" -lmspack"
26942 fi
26943
26944 fi
26945 if test "x$MSPACK_LINK" = "x" ; then
26946 wxUSE_LIBMSPACK=no
26947 fi
26948 fi
26949
26950 if test "$wxUSE_LIBMSPACK" != "no"; then
26951 cat >>confdefs.h <<\_ACEOF
26952 #define wxUSE_LIBMSPACK 1
26953 _ACEOF
26954
26955 fi
26956
26957
26958
26959 AFMINSTALL=
26960 WIN32INSTALL=
26961
26962 TOOLKIT=
26963 TOOLKIT_INCLUDE=
26964 WIDGET_SET=
26965
26966 if test "$USE_WIN32" = 1 ; then
26967 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26968 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26969 if test "${ac_cv_header_w32api_h+set}" = set; then
26970 echo $ECHO_N "(cached) $ECHO_C" >&6
26971 else
26972 cat >conftest.$ac_ext <<_ACEOF
26973 /* confdefs.h. */
26974 _ACEOF
26975 cat confdefs.h >>conftest.$ac_ext
26976 cat >>conftest.$ac_ext <<_ACEOF
26977 /* end confdefs.h. */
26978
26979
26980 #include <w32api.h>
26981 _ACEOF
26982 rm -f conftest.$ac_objext
26983 if { (ac_try="$ac_compile"
26984 case "(($ac_try" in
26985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26986 *) ac_try_echo=$ac_try;;
26987 esac
26988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26989 (eval "$ac_compile") 2>conftest.er1
26990 ac_status=$?
26991 grep -v '^ *+' conftest.er1 >conftest.err
26992 rm -f conftest.er1
26993 cat conftest.err >&5
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); } && {
26996 test -z "$ac_c_werror_flag" ||
26997 test ! -s conftest.err
26998 } && test -s conftest.$ac_objext; then
26999 ac_cv_header_w32api_h=yes
27000 else
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.$ac_ext >&5
27003
27004 ac_cv_header_w32api_h=no
27005 fi
27006
27007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27008 fi
27009 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
27010 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
27011
27012
27013 { echo "$as_me:$LINENO: checking for windows.h" >&5
27014 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27015 if test "${ac_cv_header_windows_h+set}" = set; then
27016 echo $ECHO_N "(cached) $ECHO_C" >&6
27017 else
27018 cat >conftest.$ac_ext <<_ACEOF
27019 /* confdefs.h. */
27020 _ACEOF
27021 cat confdefs.h >>conftest.$ac_ext
27022 cat >>conftest.$ac_ext <<_ACEOF
27023 /* end confdefs.h. */
27024
27025
27026 #include <windows.h>
27027 _ACEOF
27028 rm -f conftest.$ac_objext
27029 if { (ac_try="$ac_compile"
27030 case "(($ac_try" in
27031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27032 *) ac_try_echo=$ac_try;;
27033 esac
27034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27035 (eval "$ac_compile") 2>conftest.er1
27036 ac_status=$?
27037 grep -v '^ *+' conftest.er1 >conftest.err
27038 rm -f conftest.er1
27039 cat conftest.err >&5
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); } && {
27042 test -z "$ac_c_werror_flag" ||
27043 test ! -s conftest.err
27044 } && test -s conftest.$ac_objext; then
27045 ac_cv_header_windows_h=yes
27046 else
27047 echo "$as_me: failed program was:" >&5
27048 sed 's/^/| /' conftest.$ac_ext >&5
27049
27050 ac_cv_header_windows_h=no
27051 fi
27052
27053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27054 fi
27055 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27056 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27057 if test $ac_cv_header_windows_h = yes; then
27058 :
27059 else
27060
27061 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27062 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27063 { (exit 1); exit 1; }; }
27064
27065 fi
27066
27067
27068
27069 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27070
27071 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27072 LIBS="$LIBS -loleacc"
27073 fi
27074
27075 case "${host}" in
27076 *-*-cygwin* )
27077 LIBS="$LIBS -lkernel32 -luser32"
27078 esac
27079
27080 if test "$wxUSE_ODBC" = "sys" ; then
27081 wxUSE_ODBC = "yes"
27082 fi
27083 if test "$wxUSE_ODBC" = "yes" ; then
27084 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27085 cat >>confdefs.h <<\_ACEOF
27086 #define wxUSE_ODBC 1
27087 _ACEOF
27088
27089 fi
27090
27091 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27092 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27093
27094 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27095
27096 WIN32INSTALL=win32install
27097
27098 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27099 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27100 if test "${ac_cv_header_pbt_h+set}" = set; then
27101 echo $ECHO_N "(cached) $ECHO_C" >&6
27102 else
27103 cat >conftest.$ac_ext <<_ACEOF
27104 /* confdefs.h. */
27105 _ACEOF
27106 cat confdefs.h >>conftest.$ac_ext
27107 cat >>conftest.$ac_ext <<_ACEOF
27108 /* end confdefs.h. */
27109
27110
27111 #include <pbt.h>
27112 _ACEOF
27113 rm -f conftest.$ac_objext
27114 if { (ac_try="$ac_compile"
27115 case "(($ac_try" in
27116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27117 *) ac_try_echo=$ac_try;;
27118 esac
27119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27120 (eval "$ac_compile") 2>conftest.er1
27121 ac_status=$?
27122 grep -v '^ *+' conftest.er1 >conftest.err
27123 rm -f conftest.er1
27124 cat conftest.err >&5
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); } && {
27127 test -z "$ac_c_werror_flag" ||
27128 test ! -s conftest.err
27129 } && test -s conftest.$ac_objext; then
27130 ac_cv_header_pbt_h=yes
27131 else
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.$ac_ext >&5
27134
27135 ac_cv_header_pbt_h=no
27136 fi
27137
27138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27139 fi
27140 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27141 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27142 if test $ac_cv_header_pbt_h = yes; then
27143 :
27144 else
27145 cat >>confdefs.h <<\_ACEOF
27146 #define NEED_PBT_H 1
27147 _ACEOF
27148
27149 fi
27150
27151
27152 fi
27153
27154 if test "$wxUSE_GUI" = "yes"; then
27155 USE_GUI=1
27156
27157 GUI_TK_LIBRARY=
27158
27159 WXGTK12=
27160 WXGTK127=
27161 WXGTK20=
27162 WXGPE=
27163
27164 if test "$wxUSE_COCOA" = 1 ; then
27165 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27166 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27167 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27168 wxUSE_PRINTING_ARCHITECTURE=no
27169 fi
27170 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27171 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27172 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27173 wxUSE_DRAG_AND_DROP=no
27174 fi
27175 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27176 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27177 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27178 wxUSE_DRAGIMAGE=no
27179 fi
27180 fi
27181
27182 if test "$wxUSE_MSW" = 1 ; then
27183 TOOLKIT=MSW
27184 GUIDIST=MSW_DIST
27185
27186 case "${host}" in
27187 *-*-mingw32* )
27188 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27189 esac
27190 fi
27191
27192 if test "$wxUSE_GTK" = 1; then
27193 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27194 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27195
27196 gtk_version_cached=1
27197 if test "${wx_cv_lib_gtk+set}" = set; then
27198 echo $ECHO_N "(cached) $ECHO_C" >&6
27199 else
27200
27201 gtk_version_cached=0
27202 { echo "$as_me:$LINENO: result: " >&5
27203 echo "${ECHO_T}" >&6; }
27204
27205 GTK_MODULES=
27206 if test "$wxUSE_THREADS" = "yes"; then
27207 GTK_MODULES=gthread
27208 fi
27209
27210 wx_cv_lib_gtk=
27211 if test "x$wxGTK_VERSION" != "x1"
27212 then
27213 case "${host}" in
27214 *-*-solaris2* )
27215 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27216 enable_gtktest=no
27217 fi
27218 esac
27219
27220 # Check whether --enable-gtktest was given.
27221 if test "${enable_gtktest+set}" = set; then
27222 enableval=$enable_gtktest;
27223 else
27224 enable_gtktest=yes
27225 fi
27226
27227
27228 pkg_config_args=gtk+-2.0
27229 for module in . $GTK_MODULES
27230 do
27231 case "$module" in
27232 gthread)
27233 pkg_config_args="$pkg_config_args gthread-2.0"
27234 ;;
27235 esac
27236 done
27237
27238 no_gtk=""
27239
27240 # Extract the first word of "pkg-config", so it can be a program name with args.
27241 set dummy pkg-config; ac_word=$2
27242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27244 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27245 echo $ECHO_N "(cached) $ECHO_C" >&6
27246 else
27247 case $PKG_CONFIG in
27248 [\\/]* | ?:[\\/]*)
27249 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27250 ;;
27251 *)
27252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27253 for as_dir in $PATH
27254 do
27255 IFS=$as_save_IFS
27256 test -z "$as_dir" && as_dir=.
27257 for ac_exec_ext in '' $ac_executable_extensions; do
27258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27259 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27261 break 2
27262 fi
27263 done
27264 done
27265 IFS=$as_save_IFS
27266
27267 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27268 ;;
27269 esac
27270 fi
27271 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27272 if test -n "$PKG_CONFIG"; then
27273 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27274 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27275 else
27276 { echo "$as_me:$LINENO: result: no" >&5
27277 echo "${ECHO_T}no" >&6; }
27278 fi
27279
27280
27281
27282 if test x$PKG_CONFIG != xno ; then
27283 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27284 :
27285 else
27286 echo "*** pkg-config too old; version 0.7 or better required."
27287 no_gtk=yes
27288 PKG_CONFIG=no
27289 fi
27290 else
27291 no_gtk=yes
27292 fi
27293
27294 min_gtk_version=2.0.0
27295 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27296 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27297
27298 if test x$PKG_CONFIG != xno ; then
27299 ## don't try to run the test against uninstalled libtool libs
27300 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27301 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27302 enable_gtktest=no
27303 fi
27304
27305 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27306 :
27307 else
27308 no_gtk=yes
27309 fi
27310 fi
27311
27312 if test x"$no_gtk" = x ; then
27313 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27314 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27315 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27316 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27317 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27318 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27319 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27320 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27321 if test "x$enable_gtktest" = "xyes" ; then
27322 ac_save_CFLAGS="$CFLAGS"
27323 ac_save_LIBS="$LIBS"
27324 CFLAGS="$CFLAGS $GTK_CFLAGS"
27325 LIBS="$GTK_LIBS $LIBS"
27326 rm -f conf.gtktest
27327 if test "$cross_compiling" = yes; then
27328 echo $ac_n "cross compiling; assumed OK... $ac_c"
27329 else
27330 cat >conftest.$ac_ext <<_ACEOF
27331 /* confdefs.h. */
27332 _ACEOF
27333 cat confdefs.h >>conftest.$ac_ext
27334 cat >>conftest.$ac_ext <<_ACEOF
27335 /* end confdefs.h. */
27336
27337 #include <gtk/gtk.h>
27338 #include <stdio.h>
27339 #include <stdlib.h>
27340
27341 int
27342 main ()
27343 {
27344 int major, minor, micro;
27345 char *tmp_version;
27346
27347 system ("touch conf.gtktest");
27348
27349 /* HP/UX 9 (%@#!) writes to sscanf strings */
27350 tmp_version = g_strdup("$min_gtk_version");
27351 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27352 printf("%s, bad version string\n", "$min_gtk_version");
27353 exit(1);
27354 }
27355
27356 if ((gtk_major_version != $gtk_config_major_version) ||
27357 (gtk_minor_version != $gtk_config_minor_version) ||
27358 (gtk_micro_version != $gtk_config_micro_version))
27359 {
27360 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27361 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27362 gtk_major_version, gtk_minor_version, gtk_micro_version);
27363 printf ("*** was found! If pkg-config was correct, then it is best\n");
27364 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27365 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27366 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27367 printf("*** required on your system.\n");
27368 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27369 printf("*** to point to the correct configuration files\n");
27370 }
27371 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27372 (gtk_minor_version != GTK_MINOR_VERSION) ||
27373 (gtk_micro_version != GTK_MICRO_VERSION))
27374 {
27375 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27376 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27377 printf("*** library (version %d.%d.%d)\n",
27378 gtk_major_version, gtk_minor_version, gtk_micro_version);
27379 }
27380 else
27381 {
27382 if ((gtk_major_version > major) ||
27383 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27384 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27385 {
27386 return 0;
27387 }
27388 else
27389 {
27390 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27391 gtk_major_version, gtk_minor_version, gtk_micro_version);
27392 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27393 major, minor, micro);
27394 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27395 printf("***\n");
27396 printf("*** If you have already installed a sufficiently new version, this error\n");
27397 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27398 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27399 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27400 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27401 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27402 printf("*** so that the correct libraries are found at run-time))\n");
27403 }
27404 }
27405 return 1;
27406 }
27407
27408 _ACEOF
27409 rm -f conftest$ac_exeext
27410 if { (ac_try="$ac_link"
27411 case "(($ac_try" in
27412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27413 *) ac_try_echo=$ac_try;;
27414 esac
27415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27416 (eval "$ac_link") 2>&5
27417 ac_status=$?
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27420 { (case "(($ac_try" in
27421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27422 *) ac_try_echo=$ac_try;;
27423 esac
27424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27425 (eval "$ac_try") 2>&5
27426 ac_status=$?
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); }; }; then
27429 :
27430 else
27431 echo "$as_me: program exited with status $ac_status" >&5
27432 echo "$as_me: failed program was:" >&5
27433 sed 's/^/| /' conftest.$ac_ext >&5
27434
27435 ( exit $ac_status )
27436 no_gtk=yes
27437 fi
27438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27439 fi
27440
27441
27442 CFLAGS="$ac_save_CFLAGS"
27443 LIBS="$ac_save_LIBS"
27444 fi
27445 fi
27446 if test "x$no_gtk" = x ; then
27447 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27448 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27449 wx_cv_lib_gtk=2.0
27450 else
27451 { echo "$as_me:$LINENO: result: no" >&5
27452 echo "${ECHO_T}no" >&6; }
27453 if test "$PKG_CONFIG" = "no" ; then
27454 echo "*** A new enough version of pkg-config was not found."
27455 echo "*** See http://pkgconfig.sourceforge.net"
27456 else
27457 if test -f conf.gtktest ; then
27458 :
27459 else
27460 echo "*** Could not run GTK+ test program, checking why..."
27461 ac_save_CFLAGS="$CFLAGS"
27462 ac_save_LIBS="$LIBS"
27463 CFLAGS="$CFLAGS $GTK_CFLAGS"
27464 LIBS="$LIBS $GTK_LIBS"
27465 cat >conftest.$ac_ext <<_ACEOF
27466 /* confdefs.h. */
27467 _ACEOF
27468 cat confdefs.h >>conftest.$ac_ext
27469 cat >>conftest.$ac_ext <<_ACEOF
27470 /* end confdefs.h. */
27471
27472 #include <gtk/gtk.h>
27473 #include <stdio.h>
27474
27475 int
27476 main ()
27477 {
27478 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27479 ;
27480 return 0;
27481 }
27482 _ACEOF
27483 rm -f conftest.$ac_objext conftest$ac_exeext
27484 if { (ac_try="$ac_link"
27485 case "(($ac_try" in
27486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27487 *) ac_try_echo=$ac_try;;
27488 esac
27489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27490 (eval "$ac_link") 2>conftest.er1
27491 ac_status=$?
27492 grep -v '^ *+' conftest.er1 >conftest.err
27493 rm -f conftest.er1
27494 cat conftest.err >&5
27495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27496 (exit $ac_status); } && {
27497 test -z "$ac_c_werror_flag" ||
27498 test ! -s conftest.err
27499 } && test -s conftest$ac_exeext &&
27500 $as_test_x conftest$ac_exeext; then
27501 echo "*** The test program compiled, but did not run. This usually means"
27502 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27503 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27504 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27505 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27506 echo "*** is required on your system"
27507 echo "***"
27508 echo "*** If you have an old version installed, it is best to remove it, although"
27509 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27510 else
27511 echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.$ac_ext >&5
27513
27514 echo "*** The test program failed to compile or link. See the file config.log for the"
27515 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27516 fi
27517
27518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27519 conftest$ac_exeext conftest.$ac_ext
27520 CFLAGS="$ac_save_CFLAGS"
27521 LIBS="$ac_save_LIBS"
27522 fi
27523 fi
27524 GTK_CFLAGS=""
27525 GTK_LIBS=""
27526 :
27527 fi
27528
27529
27530 rm -f conf.gtktest
27531
27532
27533 case "${host}" in
27534 *-*-solaris2* )
27535 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27536 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27537 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27538 fi
27539 if test "$wxUSE_SHARED" != "yes"; then
27540 GTK_LIBS="$GTK_LIBS -lX11"
27541 fi
27542 esac
27543 fi
27544
27545 if test -z "$wx_cv_lib_gtk"; then
27546 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27547
27548 # Check whether --with-gtk-prefix was given.
27549 if test "${with_gtk_prefix+set}" = set; then
27550 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27551 else
27552 gtk_config_prefix=""
27553 fi
27554
27555
27556 # Check whether --with-gtk-exec-prefix was given.
27557 if test "${with_gtk_exec_prefix+set}" = set; then
27558 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27559 else
27560 gtk_config_exec_prefix=""
27561 fi
27562
27563 # Check whether --enable-gtktest was given.
27564 if test "${enable_gtktest+set}" = set; then
27565 enableval=$enable_gtktest;
27566 else
27567 enable_gtktest=yes
27568 fi
27569
27570
27571 for module in . $GTK_MODULES
27572 do
27573 case "$module" in
27574 gthread)
27575 gtk_config_args="$gtk_config_args gthread"
27576 ;;
27577 esac
27578 done
27579
27580 if test x$gtk_config_exec_prefix != x ; then
27581 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27582 if test x${GTK_CONFIG+set} != xset ; then
27583 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27584 fi
27585 fi
27586 if test x$gtk_config_prefix != x ; then
27587 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27588 if test x${GTK_CONFIG+set} != xset ; then
27589 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27590 fi
27591 fi
27592
27593 # Extract the first word of "gtk-config", so it can be a program name with args.
27594 set dummy gtk-config; ac_word=$2
27595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27597 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27598 echo $ECHO_N "(cached) $ECHO_C" >&6
27599 else
27600 case $GTK_CONFIG in
27601 [\\/]* | ?:[\\/]*)
27602 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27603 ;;
27604 *)
27605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27606 for as_dir in $PATH
27607 do
27608 IFS=$as_save_IFS
27609 test -z "$as_dir" && as_dir=.
27610 for ac_exec_ext in '' $ac_executable_extensions; do
27611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27612 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27614 break 2
27615 fi
27616 done
27617 done
27618 IFS=$as_save_IFS
27619
27620 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27621 ;;
27622 esac
27623 fi
27624 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27625 if test -n "$GTK_CONFIG"; then
27626 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27627 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27628 else
27629 { echo "$as_me:$LINENO: result: no" >&5
27630 echo "${ECHO_T}no" >&6; }
27631 fi
27632
27633
27634 min_gtk_version=1.2.7
27635 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27636 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27637 no_gtk=""
27638 if test "$GTK_CONFIG" = "no" ; then
27639 no_gtk=yes
27640 else
27641 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27642 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27643 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27644 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27645 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27646 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27647 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27648 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27649 if test "x$enable_gtktest" = "xyes" ; then
27650 ac_save_CFLAGS="$CFLAGS"
27651 ac_save_LIBS="$LIBS"
27652 CFLAGS="$CFLAGS $GTK_CFLAGS"
27653 LIBS="$GTK_LIBS $LIBS"
27654 rm -f conf.gtktest
27655 if test "$cross_compiling" = yes; then
27656 echo $ac_n "cross compiling; assumed OK... $ac_c"
27657 else
27658 cat >conftest.$ac_ext <<_ACEOF
27659 /* confdefs.h. */
27660 _ACEOF
27661 cat confdefs.h >>conftest.$ac_ext
27662 cat >>conftest.$ac_ext <<_ACEOF
27663 /* end confdefs.h. */
27664
27665 #include <gtk/gtk.h>
27666 #include <stdio.h>
27667 #include <stdlib.h>
27668
27669 int
27670 main ()
27671 {
27672 int major, minor, micro;
27673 char *tmp_version;
27674
27675 system ("touch conf.gtktest");
27676
27677 /* HP/UX 9 (%@#!) writes to sscanf strings */
27678 tmp_version = g_strdup("$min_gtk_version");
27679 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27680 printf("%s, bad version string\n", "$min_gtk_version");
27681 exit(1);
27682 }
27683
27684 if ((gtk_major_version != $gtk_config_major_version) ||
27685 (gtk_minor_version != $gtk_config_minor_version) ||
27686 (gtk_micro_version != $gtk_config_micro_version))
27687 {
27688 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27689 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27690 gtk_major_version, gtk_minor_version, gtk_micro_version);
27691 printf ("*** was found! If gtk-config was correct, then it is best\n");
27692 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27693 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27694 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27695 printf("*** required on your system.\n");
27696 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27697 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27698 printf("*** before re-running configure\n");
27699 }
27700 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27701 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27702 (gtk_minor_version != GTK_MINOR_VERSION) ||
27703 (gtk_micro_version != GTK_MICRO_VERSION))
27704 {
27705 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27706 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27707 printf("*** library (version %d.%d.%d)\n",
27708 gtk_major_version, gtk_minor_version, gtk_micro_version);
27709 }
27710 #endif /* defined (GTK_MAJOR_VERSION) ... */
27711 else
27712 {
27713 if ((gtk_major_version > major) ||
27714 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27715 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27716 {
27717 return 0;
27718 }
27719 else
27720 {
27721 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27722 gtk_major_version, gtk_minor_version, gtk_micro_version);
27723 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27724 major, minor, micro);
27725 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27726 printf("***\n");
27727 printf("*** If you have already installed a sufficiently new version, this error\n");
27728 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27729 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27730 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27731 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27732 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27733 printf("*** so that the correct libraries are found at run-time))\n");
27734 }
27735 }
27736 return 1;
27737 }
27738
27739 _ACEOF
27740 rm -f conftest$ac_exeext
27741 if { (ac_try="$ac_link"
27742 case "(($ac_try" in
27743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27744 *) ac_try_echo=$ac_try;;
27745 esac
27746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27747 (eval "$ac_link") 2>&5
27748 ac_status=$?
27749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27751 { (case "(($ac_try" in
27752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27753 *) ac_try_echo=$ac_try;;
27754 esac
27755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27756 (eval "$ac_try") 2>&5
27757 ac_status=$?
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); }; }; then
27760 :
27761 else
27762 echo "$as_me: program exited with status $ac_status" >&5
27763 echo "$as_me: failed program was:" >&5
27764 sed 's/^/| /' conftest.$ac_ext >&5
27765
27766 ( exit $ac_status )
27767 no_gtk=yes
27768 fi
27769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27770 fi
27771
27772
27773 CFLAGS="$ac_save_CFLAGS"
27774 LIBS="$ac_save_LIBS"
27775 fi
27776 fi
27777 if test "x$no_gtk" = x ; then
27778 { echo "$as_me:$LINENO: result: yes" >&5
27779 echo "${ECHO_T}yes" >&6; }
27780 wx_cv_lib_gtk=1.2.7
27781 else
27782 { echo "$as_me:$LINENO: result: no" >&5
27783 echo "${ECHO_T}no" >&6; }
27784 if test "$GTK_CONFIG" = "no" ; then
27785 echo "*** The gtk-config script installed by GTK could not be found"
27786 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27787 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27788 echo "*** full path to gtk-config."
27789 else
27790 if test -f conf.gtktest ; then
27791 :
27792 else
27793 echo "*** Could not run GTK test program, checking why..."
27794 CFLAGS="$CFLAGS $GTK_CFLAGS"
27795 LIBS="$LIBS $GTK_LIBS"
27796 cat >conftest.$ac_ext <<_ACEOF
27797 /* confdefs.h. */
27798 _ACEOF
27799 cat confdefs.h >>conftest.$ac_ext
27800 cat >>conftest.$ac_ext <<_ACEOF
27801 /* end confdefs.h. */
27802
27803 #include <gtk/gtk.h>
27804 #include <stdio.h>
27805
27806 int
27807 main ()
27808 {
27809 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27810 ;
27811 return 0;
27812 }
27813 _ACEOF
27814 rm -f conftest.$ac_objext conftest$ac_exeext
27815 if { (ac_try="$ac_link"
27816 case "(($ac_try" in
27817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27818 *) ac_try_echo=$ac_try;;
27819 esac
27820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27821 (eval "$ac_link") 2>conftest.er1
27822 ac_status=$?
27823 grep -v '^ *+' conftest.er1 >conftest.err
27824 rm -f conftest.er1
27825 cat conftest.err >&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); } && {
27828 test -z "$ac_c_werror_flag" ||
27829 test ! -s conftest.err
27830 } && test -s conftest$ac_exeext &&
27831 $as_test_x conftest$ac_exeext; then
27832 echo "*** The test program compiled, but did not run. This usually means"
27833 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27834 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27835 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27836 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27837 echo "*** is required on your system"
27838 echo "***"
27839 echo "*** If you have an old version installed, it is best to remove it, although"
27840 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27841 echo "***"
27842 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27843 echo "*** came with the system with the command"
27844 echo "***"
27845 echo "*** rpm --erase --nodeps gtk gtk-devel"
27846 else
27847 echo "$as_me: failed program was:" >&5
27848 sed 's/^/| /' conftest.$ac_ext >&5
27849
27850 echo "*** The test program failed to compile or link. See the file config.log for the"
27851 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27852 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27853 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27854 fi
27855
27856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27857 conftest$ac_exeext conftest.$ac_ext
27858 CFLAGS="$ac_save_CFLAGS"
27859 LIBS="$ac_save_LIBS"
27860 fi
27861 fi
27862 GTK_CFLAGS=""
27863 GTK_LIBS=""
27864 :
27865 fi
27866
27867
27868 rm -f conf.gtktest
27869
27870
27871 if test -z "$wx_cv_lib_gtk"; then
27872
27873 # Check whether --with-gtk-prefix was given.
27874 if test "${with_gtk_prefix+set}" = set; then
27875 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27876 else
27877 gtk_config_prefix=""
27878 fi
27879
27880
27881 # Check whether --with-gtk-exec-prefix was given.
27882 if test "${with_gtk_exec_prefix+set}" = set; then
27883 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27884 else
27885 gtk_config_exec_prefix=""
27886 fi
27887
27888 # Check whether --enable-gtktest was given.
27889 if test "${enable_gtktest+set}" = set; then
27890 enableval=$enable_gtktest;
27891 else
27892 enable_gtktest=yes
27893 fi
27894
27895
27896 for module in . $GTK_MODULES
27897 do
27898 case "$module" in
27899 gthread)
27900 gtk_config_args="$gtk_config_args gthread"
27901 ;;
27902 esac
27903 done
27904
27905 if test x$gtk_config_exec_prefix != x ; then
27906 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27907 if test x${GTK_CONFIG+set} != xset ; then
27908 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27909 fi
27910 fi
27911 if test x$gtk_config_prefix != x ; then
27912 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27913 if test x${GTK_CONFIG+set} != xset ; then
27914 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27915 fi
27916 fi
27917
27918 # Extract the first word of "gtk-config", so it can be a program name with args.
27919 set dummy gtk-config; ac_word=$2
27920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27922 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27923 echo $ECHO_N "(cached) $ECHO_C" >&6
27924 else
27925 case $GTK_CONFIG in
27926 [\\/]* | ?:[\\/]*)
27927 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27928 ;;
27929 *)
27930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27931 for as_dir in $PATH
27932 do
27933 IFS=$as_save_IFS
27934 test -z "$as_dir" && as_dir=.
27935 for ac_exec_ext in '' $ac_executable_extensions; do
27936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27937 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27939 break 2
27940 fi
27941 done
27942 done
27943 IFS=$as_save_IFS
27944
27945 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27946 ;;
27947 esac
27948 fi
27949 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27950 if test -n "$GTK_CONFIG"; then
27951 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27952 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27953 else
27954 { echo "$as_me:$LINENO: result: no" >&5
27955 echo "${ECHO_T}no" >&6; }
27956 fi
27957
27958
27959 min_gtk_version=1.2.3
27960 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27961 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27962 no_gtk=""
27963 if test "$GTK_CONFIG" = "no" ; then
27964 no_gtk=yes
27965 else
27966 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27967 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27968 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27970 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27972 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27974 if test "x$enable_gtktest" = "xyes" ; then
27975 ac_save_CFLAGS="$CFLAGS"
27976 ac_save_LIBS="$LIBS"
27977 CFLAGS="$CFLAGS $GTK_CFLAGS"
27978 LIBS="$GTK_LIBS $LIBS"
27979 rm -f conf.gtktest
27980 if test "$cross_compiling" = yes; then
27981 echo $ac_n "cross compiling; assumed OK... $ac_c"
27982 else
27983 cat >conftest.$ac_ext <<_ACEOF
27984 /* confdefs.h. */
27985 _ACEOF
27986 cat confdefs.h >>conftest.$ac_ext
27987 cat >>conftest.$ac_ext <<_ACEOF
27988 /* end confdefs.h. */
27989
27990 #include <gtk/gtk.h>
27991 #include <stdio.h>
27992 #include <stdlib.h>
27993
27994 int
27995 main ()
27996 {
27997 int major, minor, micro;
27998 char *tmp_version;
27999
28000 system ("touch conf.gtktest");
28001
28002 /* HP/UX 9 (%@#!) writes to sscanf strings */
28003 tmp_version = g_strdup("$min_gtk_version");
28004 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28005 printf("%s, bad version string\n", "$min_gtk_version");
28006 exit(1);
28007 }
28008
28009 if ((gtk_major_version != $gtk_config_major_version) ||
28010 (gtk_minor_version != $gtk_config_minor_version) ||
28011 (gtk_micro_version != $gtk_config_micro_version))
28012 {
28013 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28014 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28015 gtk_major_version, gtk_minor_version, gtk_micro_version);
28016 printf ("*** was found! If gtk-config was correct, then it is best\n");
28017 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28018 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28019 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28020 printf("*** required on your system.\n");
28021 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28022 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28023 printf("*** before re-running configure\n");
28024 }
28025 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28026 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28027 (gtk_minor_version != GTK_MINOR_VERSION) ||
28028 (gtk_micro_version != GTK_MICRO_VERSION))
28029 {
28030 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28031 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28032 printf("*** library (version %d.%d.%d)\n",
28033 gtk_major_version, gtk_minor_version, gtk_micro_version);
28034 }
28035 #endif /* defined (GTK_MAJOR_VERSION) ... */
28036 else
28037 {
28038 if ((gtk_major_version > major) ||
28039 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28040 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28041 {
28042 return 0;
28043 }
28044 else
28045 {
28046 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28047 gtk_major_version, gtk_minor_version, gtk_micro_version);
28048 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28049 major, minor, micro);
28050 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28051 printf("***\n");
28052 printf("*** If you have already installed a sufficiently new version, this error\n");
28053 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28054 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28055 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28056 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28057 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28058 printf("*** so that the correct libraries are found at run-time))\n");
28059 }
28060 }
28061 return 1;
28062 }
28063
28064 _ACEOF
28065 rm -f conftest$ac_exeext
28066 if { (ac_try="$ac_link"
28067 case "(($ac_try" in
28068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28069 *) ac_try_echo=$ac_try;;
28070 esac
28071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28072 (eval "$ac_link") 2>&5
28073 ac_status=$?
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28076 { (case "(($ac_try" in
28077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28078 *) ac_try_echo=$ac_try;;
28079 esac
28080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28081 (eval "$ac_try") 2>&5
28082 ac_status=$?
28083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28084 (exit $ac_status); }; }; then
28085 :
28086 else
28087 echo "$as_me: program exited with status $ac_status" >&5
28088 echo "$as_me: failed program was:" >&5
28089 sed 's/^/| /' conftest.$ac_ext >&5
28090
28091 ( exit $ac_status )
28092 no_gtk=yes
28093 fi
28094 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28095 fi
28096
28097
28098 CFLAGS="$ac_save_CFLAGS"
28099 LIBS="$ac_save_LIBS"
28100 fi
28101 fi
28102 if test "x$no_gtk" = x ; then
28103 { echo "$as_me:$LINENO: result: yes" >&5
28104 echo "${ECHO_T}yes" >&6; }
28105 wx_cv_lib_gtk=1.2.3
28106 else
28107 { echo "$as_me:$LINENO: result: no" >&5
28108 echo "${ECHO_T}no" >&6; }
28109 if test "$GTK_CONFIG" = "no" ; then
28110 echo "*** The gtk-config script installed by GTK could not be found"
28111 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28112 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28113 echo "*** full path to gtk-config."
28114 else
28115 if test -f conf.gtktest ; then
28116 :
28117 else
28118 echo "*** Could not run GTK test program, checking why..."
28119 CFLAGS="$CFLAGS $GTK_CFLAGS"
28120 LIBS="$LIBS $GTK_LIBS"
28121 cat >conftest.$ac_ext <<_ACEOF
28122 /* confdefs.h. */
28123 _ACEOF
28124 cat confdefs.h >>conftest.$ac_ext
28125 cat >>conftest.$ac_ext <<_ACEOF
28126 /* end confdefs.h. */
28127
28128 #include <gtk/gtk.h>
28129 #include <stdio.h>
28130
28131 int
28132 main ()
28133 {
28134 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28135 ;
28136 return 0;
28137 }
28138 _ACEOF
28139 rm -f conftest.$ac_objext conftest$ac_exeext
28140 if { (ac_try="$ac_link"
28141 case "(($ac_try" in
28142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28143 *) ac_try_echo=$ac_try;;
28144 esac
28145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28146 (eval "$ac_link") 2>conftest.er1
28147 ac_status=$?
28148 grep -v '^ *+' conftest.er1 >conftest.err
28149 rm -f conftest.er1
28150 cat conftest.err >&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); } && {
28153 test -z "$ac_c_werror_flag" ||
28154 test ! -s conftest.err
28155 } && test -s conftest$ac_exeext &&
28156 $as_test_x conftest$ac_exeext; then
28157 echo "*** The test program compiled, but did not run. This usually means"
28158 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28159 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28160 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28161 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28162 echo "*** is required on your system"
28163 echo "***"
28164 echo "*** If you have an old version installed, it is best to remove it, although"
28165 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28166 echo "***"
28167 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28168 echo "*** came with the system with the command"
28169 echo "***"
28170 echo "*** rpm --erase --nodeps gtk gtk-devel"
28171 else
28172 echo "$as_me: failed program was:" >&5
28173 sed 's/^/| /' conftest.$ac_ext >&5
28174
28175 echo "*** The test program failed to compile or link. See the file config.log for the"
28176 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28177 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28178 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28179 fi
28180
28181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28182 conftest$ac_exeext conftest.$ac_ext
28183 CFLAGS="$ac_save_CFLAGS"
28184 LIBS="$ac_save_LIBS"
28185 fi
28186 fi
28187 GTK_CFLAGS=""
28188 GTK_LIBS=""
28189 :
28190 fi
28191
28192
28193 rm -f conf.gtktest
28194
28195 fi
28196 fi
28197 fi
28198
28199 if test -z "$wx_cv_lib_gtk"; then
28200 wx_cv_lib_gtk=none
28201 else
28202 wx_cv_cflags_gtk=$GTK_CFLAGS
28203 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28204 fi
28205
28206
28207 fi
28208
28209
28210 if test "$gtk_version_cached" = 1; then
28211 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28212 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28213 fi
28214
28215 case "$wx_cv_lib_gtk" in
28216 2.0) WXGTK20=1
28217 TOOLKIT_VERSION=2
28218 ;;
28219 1.2.7) WXGTK127=1
28220 WXGTK12=1
28221 ;;
28222 1.2.3) WXGTK12=1
28223 ;;
28224 *) { { echo "$as_me:$LINENO: error:
28225 The development files for GTK+ were not found. For GTK+ 2, please
28226 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28227 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28228 and that the version is 1.2.3 or above. Also check that the
28229 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28230 --libs' are in the LD_LIBRARY_PATH or equivalent.
28231 " >&5
28232 echo "$as_me: error:
28233 The development files for GTK+ were not found. For GTK+ 2, please
28234 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28235 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28236 and that the version is 1.2.3 or above. Also check that the
28237 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28238 --libs' are in the LD_LIBRARY_PATH or equivalent.
28239 " >&2;}
28240 { (exit 1); exit 1; }; }
28241 ;;
28242 esac
28243
28244 if test "$WXGTK20" = 1; then
28245 save_CFLAGS="$CFLAGS"
28246 save_LIBS="$LIBS"
28247 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28248 LIBS="$LIBS $wx_cv_libs_gtk"
28249
28250 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28251 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28252 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28253 echo $ECHO_N "(cached) $ECHO_C" >&6
28254 else
28255 cat >conftest.$ac_ext <<_ACEOF
28256 /* confdefs.h. */
28257 _ACEOF
28258 cat confdefs.h >>conftest.$ac_ext
28259 cat >>conftest.$ac_ext <<_ACEOF
28260 /* end confdefs.h. */
28261 #include <gtk/gtk.h>
28262
28263 int
28264 main ()
28265 {
28266 #ifndef gtk_icon_size_lookup
28267 (void) gtk_icon_size_lookup;
28268 #endif
28269
28270 ;
28271 return 0;
28272 }
28273 _ACEOF
28274 rm -f conftest.$ac_objext
28275 if { (ac_try="$ac_compile"
28276 case "(($ac_try" in
28277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28278 *) ac_try_echo=$ac_try;;
28279 esac
28280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28281 (eval "$ac_compile") 2>conftest.er1
28282 ac_status=$?
28283 grep -v '^ *+' conftest.er1 >conftest.err
28284 rm -f conftest.er1
28285 cat conftest.err >&5
28286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28287 (exit $ac_status); } && {
28288 test -z "$ac_c_werror_flag" ||
28289 test ! -s conftest.err
28290 } && test -s conftest.$ac_objext; then
28291 ac_cv_have_decl_gtk_icon_size_lookup=yes
28292 else
28293 echo "$as_me: failed program was:" >&5
28294 sed 's/^/| /' conftest.$ac_ext >&5
28295
28296 ac_cv_have_decl_gtk_icon_size_lookup=no
28297 fi
28298
28299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28300 fi
28301 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28302 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28303 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28304
28305 cat >>confdefs.h <<_ACEOF
28306 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28307 _ACEOF
28308
28309
28310 else
28311 cat >>confdefs.h <<_ACEOF
28312 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28313 _ACEOF
28314
28315 cat >>confdefs.h <<\_ACEOF
28316 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28317 _ACEOF
28318
28319 fi
28320
28321
28322
28323
28324 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28325 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28326 cat >conftest.$ac_ext <<_ACEOF
28327 /* confdefs.h. */
28328 _ACEOF
28329 cat confdefs.h >>conftest.$ac_ext
28330 cat >>conftest.$ac_ext <<_ACEOF
28331 /* end confdefs.h. */
28332
28333 #include <gtk/gtk.h>
28334
28335 int
28336 main ()
28337 {
28338
28339 #if !GTK_CHECK_VERSION(2,10,0)
28340 Not GTK+ 2.10
28341 #endif
28342
28343 ;
28344 return 0;
28345 }
28346 _ACEOF
28347 rm -f conftest.$ac_objext
28348 if { (ac_try="$ac_compile"
28349 case "(($ac_try" in
28350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28351 *) ac_try_echo=$ac_try;;
28352 esac
28353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28354 (eval "$ac_compile") 2>conftest.er1
28355 ac_status=$?
28356 grep -v '^ *+' conftest.er1 >conftest.err
28357 rm -f conftest.er1
28358 cat conftest.err >&5
28359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360 (exit $ac_status); } && {
28361 test -z "$ac_c_werror_flag" ||
28362 test ! -s conftest.err
28363 } && test -s conftest.$ac_objext; then
28364
28365 cat >>confdefs.h <<\_ACEOF
28366 #define __WXGTK210__ 1
28367 _ACEOF
28368
28369 cat >>confdefs.h <<\_ACEOF
28370 #define __WXGTK26__ 1
28371 _ACEOF
28372
28373 cat >>confdefs.h <<\_ACEOF
28374 #define __WXGTK24__ 1
28375 _ACEOF
28376
28377 { echo "$as_me:$LINENO: result: yes" >&5
28378 echo "${ECHO_T}yes" >&6; }
28379 ac_wxgtk210=1
28380
28381 else
28382 echo "$as_me: failed program was:" >&5
28383 sed 's/^/| /' conftest.$ac_ext >&5
28384
28385
28386 { echo "$as_me:$LINENO: result: no" >&5
28387 echo "${ECHO_T}no" >&6; }
28388 ac_wxgtk210=0
28389
28390 fi
28391
28392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28393
28394 if test "$ac_wxgtk210" = 0; then
28395 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28396 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28397 cat >conftest.$ac_ext <<_ACEOF
28398 /* confdefs.h. */
28399 _ACEOF
28400 cat confdefs.h >>conftest.$ac_ext
28401 cat >>conftest.$ac_ext <<_ACEOF
28402 /* end confdefs.h. */
28403
28404 #include <gtk/gtk.h>
28405
28406 int
28407 main ()
28408 {
28409
28410 #if !GTK_CHECK_VERSION(2,6,0)
28411 Not GTK+ 2.6
28412 #endif
28413
28414 ;
28415 return 0;
28416 }
28417 _ACEOF
28418 rm -f conftest.$ac_objext
28419 if { (ac_try="$ac_compile"
28420 case "(($ac_try" in
28421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28422 *) ac_try_echo=$ac_try;;
28423 esac
28424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28425 (eval "$ac_compile") 2>conftest.er1
28426 ac_status=$?
28427 grep -v '^ *+' conftest.er1 >conftest.err
28428 rm -f conftest.er1
28429 cat conftest.err >&5
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); } && {
28432 test -z "$ac_c_werror_flag" ||
28433 test ! -s conftest.err
28434 } && test -s conftest.$ac_objext; then
28435
28436 cat >>confdefs.h <<\_ACEOF
28437 #define __WXGTK26__ 1
28438 _ACEOF
28439
28440 cat >>confdefs.h <<\_ACEOF
28441 #define __WXGTK24__ 1
28442 _ACEOF
28443
28444 { echo "$as_me:$LINENO: result: yes" >&5
28445 echo "${ECHO_T}yes" >&6; }
28446 ac_wxgtk26=1
28447
28448 else
28449 echo "$as_me: failed program was:" >&5
28450 sed 's/^/| /' conftest.$ac_ext >&5
28451
28452
28453 { echo "$as_me:$LINENO: result: no" >&5
28454 echo "${ECHO_T}no" >&6; }
28455 ac_wxgtk26=0
28456
28457 fi
28458
28459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28460 fi
28461
28462 if test "$ac_wxgtk26" = 0; then
28463 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28464 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28465 cat >conftest.$ac_ext <<_ACEOF
28466 /* confdefs.h. */
28467 _ACEOF
28468 cat confdefs.h >>conftest.$ac_ext
28469 cat >>conftest.$ac_ext <<_ACEOF
28470 /* end confdefs.h. */
28471
28472 #include <gtk/gtk.h>
28473
28474 int
28475 main ()
28476 {
28477
28478 #if !GTK_CHECK_VERSION(2,4,0)
28479 Not GTK+ 2.4
28480 #endif
28481
28482 ;
28483 return 0;
28484 }
28485 _ACEOF
28486 rm -f conftest.$ac_objext
28487 if { (ac_try="$ac_compile"
28488 case "(($ac_try" in
28489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28490 *) ac_try_echo=$ac_try;;
28491 esac
28492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28493 (eval "$ac_compile") 2>conftest.er1
28494 ac_status=$?
28495 grep -v '^ *+' conftest.er1 >conftest.err
28496 rm -f conftest.er1
28497 cat conftest.err >&5
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); } && {
28500 test -z "$ac_c_werror_flag" ||
28501 test ! -s conftest.err
28502 } && test -s conftest.$ac_objext; then
28503
28504 cat >>confdefs.h <<\_ACEOF
28505 #define __WXGTK24__ 1
28506 _ACEOF
28507
28508 { echo "$as_me:$LINENO: result: yes" >&5
28509 echo "${ECHO_T}yes" >&6; }
28510
28511 else
28512 echo "$as_me: failed program was:" >&5
28513 sed 's/^/| /' conftest.$ac_ext >&5
28514
28515
28516 { echo "$as_me:$LINENO: result: no" >&5
28517 echo "${ECHO_T}no" >&6; }
28518
28519 fi
28520
28521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28522 fi
28523
28524 CFLAGS="$save_CFLAGS"
28525 LIBS="$save_LIBS"
28526 else
28527 if test "$wxUSE_UNICODE" = "yes"; then
28528 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28529 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28530 wxUSE_UNICODE=no
28531 fi
28532
28533 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28534 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28535 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28536 echo $ECHO_N "(cached) $ECHO_C" >&6
28537 else
28538 ac_check_lib_save_LIBS=$LIBS
28539 LIBS="-lgdk $LIBS"
28540 cat >conftest.$ac_ext <<_ACEOF
28541 /* confdefs.h. */
28542 _ACEOF
28543 cat confdefs.h >>conftest.$ac_ext
28544 cat >>conftest.$ac_ext <<_ACEOF
28545 /* end confdefs.h. */
28546
28547 /* Override any GCC internal prototype to avoid an error.
28548 Use char because int might match the return type of a GCC
28549 builtin and then its argument prototype would still apply. */
28550 #ifdef __cplusplus
28551 extern "C"
28552 #endif
28553 char gdk_im_open ();
28554 int
28555 main ()
28556 {
28557 return gdk_im_open ();
28558 ;
28559 return 0;
28560 }
28561 _ACEOF
28562 rm -f conftest.$ac_objext conftest$ac_exeext
28563 if { (ac_try="$ac_link"
28564 case "(($ac_try" in
28565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28566 *) ac_try_echo=$ac_try;;
28567 esac
28568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28569 (eval "$ac_link") 2>conftest.er1
28570 ac_status=$?
28571 grep -v '^ *+' conftest.er1 >conftest.err
28572 rm -f conftest.er1
28573 cat conftest.err >&5
28574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575 (exit $ac_status); } && {
28576 test -z "$ac_c_werror_flag" ||
28577 test ! -s conftest.err
28578 } && test -s conftest$ac_exeext &&
28579 $as_test_x conftest$ac_exeext; then
28580 ac_cv_lib_gdk_gdk_im_open=yes
28581 else
28582 echo "$as_me: failed program was:" >&5
28583 sed 's/^/| /' conftest.$ac_ext >&5
28584
28585 ac_cv_lib_gdk_gdk_im_open=no
28586 fi
28587
28588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28589 conftest$ac_exeext conftest.$ac_ext
28590 LIBS=$ac_check_lib_save_LIBS
28591 fi
28592 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28593 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28594 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28595 cat >>confdefs.h <<\_ACEOF
28596 #define HAVE_XIM 1
28597 _ACEOF
28598
28599 fi
28600
28601
28602 if test "$USE_DARWIN" != 1; then
28603
28604 for ac_func in poll
28605 do
28606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28607 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28609 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28610 echo $ECHO_N "(cached) $ECHO_C" >&6
28611 else
28612 cat >conftest.$ac_ext <<_ACEOF
28613 /* confdefs.h. */
28614 _ACEOF
28615 cat confdefs.h >>conftest.$ac_ext
28616 cat >>conftest.$ac_ext <<_ACEOF
28617 /* end confdefs.h. */
28618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28620 #define $ac_func innocuous_$ac_func
28621
28622 /* System header to define __stub macros and hopefully few prototypes,
28623 which can conflict with char $ac_func (); below.
28624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28625 <limits.h> exists even on freestanding compilers. */
28626
28627 #ifdef __STDC__
28628 # include <limits.h>
28629 #else
28630 # include <assert.h>
28631 #endif
28632
28633 #undef $ac_func
28634
28635 /* Override any GCC internal prototype to avoid an error.
28636 Use char because int might match the return type of a GCC
28637 builtin and then its argument prototype would still apply. */
28638 #ifdef __cplusplus
28639 extern "C"
28640 #endif
28641 char $ac_func ();
28642 /* The GNU C library defines this for functions which it implements
28643 to always fail with ENOSYS. Some functions are actually named
28644 something starting with __ and the normal name is an alias. */
28645 #if defined __stub_$ac_func || defined __stub___$ac_func
28646 choke me
28647 #endif
28648
28649 int
28650 main ()
28651 {
28652 return $ac_func ();
28653 ;
28654 return 0;
28655 }
28656 _ACEOF
28657 rm -f conftest.$ac_objext conftest$ac_exeext
28658 if { (ac_try="$ac_link"
28659 case "(($ac_try" in
28660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28661 *) ac_try_echo=$ac_try;;
28662 esac
28663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28664 (eval "$ac_link") 2>conftest.er1
28665 ac_status=$?
28666 grep -v '^ *+' conftest.er1 >conftest.err
28667 rm -f conftest.er1
28668 cat conftest.err >&5
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); } && {
28671 test -z "$ac_c_werror_flag" ||
28672 test ! -s conftest.err
28673 } && test -s conftest$ac_exeext &&
28674 $as_test_x conftest$ac_exeext; then
28675 eval "$as_ac_var=yes"
28676 else
28677 echo "$as_me: failed program was:" >&5
28678 sed 's/^/| /' conftest.$ac_ext >&5
28679
28680 eval "$as_ac_var=no"
28681 fi
28682
28683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28684 conftest$ac_exeext conftest.$ac_ext
28685 fi
28686 ac_res=`eval echo '${'$as_ac_var'}'`
28687 { echo "$as_me:$LINENO: result: $ac_res" >&5
28688 echo "${ECHO_T}$ac_res" >&6; }
28689 if test `eval echo '${'$as_ac_var'}'` = yes; then
28690 cat >>confdefs.h <<_ACEOF
28691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28692 _ACEOF
28693
28694 fi
28695 done
28696
28697 fi
28698 fi
28699
28700 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28701 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28702
28703 AFMINSTALL=afminstall
28704 TOOLKIT=GTK
28705 GUIDIST=GTK_DIST
28706
28707 if test "$wxUSE_GPE" = "yes"; then
28708 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28709 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28710
28711 ac_find_libraries=
28712 for ac_dir in $SEARCH_LIB;
28713 do
28714 for ac_extension in a so sl dylib dll.a; do
28715 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28716 ac_find_libraries=$ac_dir
28717 break 2
28718 fi
28719 done
28720 done
28721
28722 if test "$ac_find_libraries" != "" ; then
28723
28724 if test "$ac_find_libraries" = "default location"; then
28725 ac_path_to_link=""
28726 else
28727 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28728 result=$?
28729 if test $result = 0; then
28730 ac_path_to_link=""
28731 else
28732 ac_path_to_link=" -L$ac_find_libraries"
28733 fi
28734 fi
28735
28736 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28737 WXGPE=1
28738 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28739 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28740 else
28741 { echo "$as_me:$LINENO: result: not found" >&5
28742 echo "${ECHO_T}not found" >&6; }
28743 fi
28744
28745 fi
28746 fi
28747
28748 if test "$wxUSE_MGL" = 1; then
28749 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28750 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28751 if test "x$MGL_ROOT" = x ; then
28752 { echo "$as_me:$LINENO: result: not found" >&5
28753 echo "${ECHO_T}not found" >&6; }
28754 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28755 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28756 { (exit 1); exit 1; }; }
28757 else
28758 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28759 echo "${ECHO_T}$MGL_ROOT" >&6; }
28760 fi
28761
28762 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28763 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28764 case "${host}" in
28765 *-*-linux* )
28766 if test "x$wxUSE_SHARED" = xyes ; then
28767 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28768 else
28769 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28770 fi
28771 ;;
28772 *-pc-msdosdjgpp )
28773 mgl_os_candidates="dos32/dj2"
28774 ;;
28775 *)
28776 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28777 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28778 { (exit 1); exit 1; }; }
28779 esac
28780
28781 mgl_lib_type=""
28782 mgl_os=""
28783
28784 for mgl_os_i in $mgl_os_candidates ; do
28785 if test "x$mgl_os" = x ; then
28786 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28787 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28788 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28789 mgl_lib_type=debug
28790 mgl_os=$mgl_os_i
28791 fi
28792 fi
28793 if test "x$mgl_lib_type" = x ; then
28794 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28795 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28796 mgl_lib_type=release
28797 mgl_os=$mgl_os_i
28798 fi
28799 fi
28800 fi
28801 done
28802
28803 if test "x$mgl_os" = x ; then
28804 { echo "$as_me:$LINENO: result: not found" >&5
28805 echo "${ECHO_T}not found" >&6; }
28806 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28807 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28808 { (exit 1); exit 1; }; }
28809 fi
28810 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28811 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28812
28813 wxUSE_UNIVERSAL="yes"
28814
28815 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28816 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28817
28818 AFMINSTALL=afminstall
28819 TOOLKIT=MGL
28820 GUIDIST=MGL_DIST
28821 fi
28822
28823 if test "$wxUSE_DFB" = 1; then
28824
28825
28826 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28827 if test -n "$ac_tool_prefix"; then
28828 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28829 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28832 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28833 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 else
28835 case $PKG_CONFIG in
28836 [\\/]* | ?:[\\/]*)
28837 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28838 ;;
28839 *)
28840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28841 for as_dir in $PATH
28842 do
28843 IFS=$as_save_IFS
28844 test -z "$as_dir" && as_dir=.
28845 for ac_exec_ext in '' $ac_executable_extensions; do
28846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28847 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28849 break 2
28850 fi
28851 done
28852 done
28853 IFS=$as_save_IFS
28854
28855 ;;
28856 esac
28857 fi
28858 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28859 if test -n "$PKG_CONFIG"; then
28860 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28861 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28862 else
28863 { echo "$as_me:$LINENO: result: no" >&5
28864 echo "${ECHO_T}no" >&6; }
28865 fi
28866
28867
28868 fi
28869 if test -z "$ac_cv_path_PKG_CONFIG"; then
28870 ac_pt_PKG_CONFIG=$PKG_CONFIG
28871 # Extract the first word of "pkg-config", so it can be a program name with args.
28872 set dummy pkg-config; ac_word=$2
28873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28875 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28876 echo $ECHO_N "(cached) $ECHO_C" >&6
28877 else
28878 case $ac_pt_PKG_CONFIG in
28879 [\\/]* | ?:[\\/]*)
28880 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28881 ;;
28882 *)
28883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28884 for as_dir in $PATH
28885 do
28886 IFS=$as_save_IFS
28887 test -z "$as_dir" && as_dir=.
28888 for ac_exec_ext in '' $ac_executable_extensions; do
28889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28890 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28892 break 2
28893 fi
28894 done
28895 done
28896 IFS=$as_save_IFS
28897
28898 ;;
28899 esac
28900 fi
28901 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28902 if test -n "$ac_pt_PKG_CONFIG"; then
28903 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28904 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28905 else
28906 { echo "$as_me:$LINENO: result: no" >&5
28907 echo "${ECHO_T}no" >&6; }
28908 fi
28909
28910 if test "x$ac_pt_PKG_CONFIG" = x; then
28911 PKG_CONFIG=""
28912 else
28913 case $cross_compiling:$ac_tool_warned in
28914 yes:)
28915 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28916 whose name does not start with the host triplet. If you think this
28917 configuration is useful to you, please write to autoconf@gnu.org." >&5
28918 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28919 whose name does not start with the host triplet. If you think this
28920 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28921 ac_tool_warned=yes ;;
28922 esac
28923 PKG_CONFIG=$ac_pt_PKG_CONFIG
28924 fi
28925 else
28926 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28927 fi
28928
28929 fi
28930 if test -n "$PKG_CONFIG"; then
28931 _pkg_min_version=0.9.0
28932 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28933 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28934 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28935 { echo "$as_me:$LINENO: result: yes" >&5
28936 echo "${ECHO_T}yes" >&6; }
28937 else
28938 { echo "$as_me:$LINENO: result: no" >&5
28939 echo "${ECHO_T}no" >&6; }
28940 PKG_CONFIG=""
28941 fi
28942
28943 fi
28944
28945
28946 pkg_failed=no
28947 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28948 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28949
28950 if test -n "$PKG_CONFIG"; then
28951 if test -n "$DIRECTFB_CFLAGS"; then
28952 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28953 else
28954 if test -n "$PKG_CONFIG" && \
28955 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28956 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28957 ac_status=$?
28958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28959 (exit $ac_status); }; then
28960 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28961 else
28962 pkg_failed=yes
28963 fi
28964 fi
28965 else
28966 pkg_failed=untried
28967 fi
28968 if test -n "$PKG_CONFIG"; then
28969 if test -n "$DIRECTFB_LIBS"; then
28970 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28971 else
28972 if test -n "$PKG_CONFIG" && \
28973 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28974 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28975 ac_status=$?
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); }; then
28978 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28979 else
28980 pkg_failed=yes
28981 fi
28982 fi
28983 else
28984 pkg_failed=untried
28985 fi
28986
28987
28988
28989 if test $pkg_failed = yes; then
28990
28991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28992 _pkg_short_errors_supported=yes
28993 else
28994 _pkg_short_errors_supported=no
28995 fi
28996 if test $_pkg_short_errors_supported = yes; then
28997 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28998 else
28999 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29000 fi
29001 # Put the nasty error message in config.log where it belongs
29002 echo "$DIRECTFB_PKG_ERRORS" >&5
29003
29004
29005 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29006 echo "$as_me: error: DirectFB not found." >&2;}
29007 { (exit 1); exit 1; }; }
29008
29009
29010 elif test $pkg_failed = untried; then
29011
29012 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29013 echo "$as_me: error: DirectFB not found." >&2;}
29014 { (exit 1); exit 1; }; }
29015
29016
29017 else
29018 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29019 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29020 { echo "$as_me:$LINENO: result: yes" >&5
29021 echo "${ECHO_T}yes" >&6; }
29022
29023 wxUSE_UNIVERSAL="yes"
29024 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29025 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29026 TOOLKIT=DFB
29027 GUIDIST=DFB_DIST
29028
29029 fi
29030 fi
29031
29032 if test "$wxUSE_MICROWIN" = 1; then
29033 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29034 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29035 if test "x$MICROWINDOWS" = x ; then
29036 { echo "$as_me:$LINENO: result: not found" >&5
29037 echo "${ECHO_T}not found" >&6; }
29038 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29039 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29040 { (exit 1); exit 1; }; }
29041 else
29042 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29043 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29044 fi
29045
29046 if test -f $MICROWINDOWS/lib/libmwin.a; then
29047 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29048 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29049 else
29050 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29051 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29052 { (exit 1); exit 1; }; }
29053 fi
29054
29055 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29056 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29057
29058 wxUSE_UNIVERSAL="yes"
29059
29060 AFMINSTALL=afminstall
29061 TOOLKIT=MICROWIN
29062 GUIDIST=MICROWIN_DIST
29063
29064 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29065 fi
29066
29067 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29068 { echo "$as_me:$LINENO: checking for X" >&5
29069 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29070
29071
29072 # Check whether --with-x was given.
29073 if test "${with_x+set}" = set; then
29074 withval=$with_x;
29075 fi
29076
29077 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29078 if test "x$with_x" = xno; then
29079 # The user explicitly disabled X.
29080 have_x=disabled
29081 else
29082 case $x_includes,$x_libraries in #(
29083 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29084 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29085 { (exit 1); exit 1; }; };; #(
29086 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29087 echo $ECHO_N "(cached) $ECHO_C" >&6
29088 else
29089 # One or both of the vars are not set, and there is no cached value.
29090 ac_x_includes=no ac_x_libraries=no
29091 rm -f -r conftest.dir
29092 if mkdir conftest.dir; then
29093 cd conftest.dir
29094 cat >Imakefile <<'_ACEOF'
29095 incroot:
29096 @echo incroot='${INCROOT}'
29097 usrlibdir:
29098 @echo usrlibdir='${USRLIBDIR}'
29099 libdir:
29100 @echo libdir='${LIBDIR}'
29101 _ACEOF
29102 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29103 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29104 for ac_var in incroot usrlibdir libdir; do
29105 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29106 done
29107 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29108 for ac_extension in a so sl; do
29109 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29110 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29111 ac_im_usrlibdir=$ac_im_libdir; break
29112 fi
29113 done
29114 # Screen out bogus values from the imake configuration. They are
29115 # bogus both because they are the default anyway, and because
29116 # using them would break gcc on systems where it needs fixed includes.
29117 case $ac_im_incroot in
29118 /usr/include) ac_x_includes= ;;
29119 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29120 esac
29121 case $ac_im_usrlibdir in
29122 /usr/lib | /lib) ;;
29123 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29124 esac
29125 fi
29126 cd ..
29127 rm -f -r conftest.dir
29128 fi
29129
29130 # Standard set of common directories for X headers.
29131 # Check X11 before X11Rn because it is often a symlink to the current release.
29132 ac_x_header_dirs='
29133 /usr/X11/include
29134 /usr/X11R6/include
29135 /usr/X11R5/include
29136 /usr/X11R4/include
29137
29138 /usr/include/X11
29139 /usr/include/X11R6
29140 /usr/include/X11R5
29141 /usr/include/X11R4
29142
29143 /usr/local/X11/include
29144 /usr/local/X11R6/include
29145 /usr/local/X11R5/include
29146 /usr/local/X11R4/include
29147
29148 /usr/local/include/X11
29149 /usr/local/include/X11R6
29150 /usr/local/include/X11R5
29151 /usr/local/include/X11R4
29152
29153 /usr/X386/include
29154 /usr/x386/include
29155 /usr/XFree86/include/X11
29156
29157 /usr/include
29158 /usr/local/include
29159 /usr/unsupported/include
29160 /usr/athena/include
29161 /usr/local/x11r5/include
29162 /usr/lpp/Xamples/include
29163
29164 /usr/openwin/include
29165 /usr/openwin/share/include'
29166
29167 if test "$ac_x_includes" = no; then
29168 # Guess where to find include files, by looking for Xlib.h.
29169 # First, try using that file with no special directory specified.
29170 cat >conftest.$ac_ext <<_ACEOF
29171 /* confdefs.h. */
29172 _ACEOF
29173 cat confdefs.h >>conftest.$ac_ext
29174 cat >>conftest.$ac_ext <<_ACEOF
29175 /* end confdefs.h. */
29176 #include <X11/Xlib.h>
29177 _ACEOF
29178 if { (ac_try="$ac_cpp conftest.$ac_ext"
29179 case "(($ac_try" in
29180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29181 *) ac_try_echo=$ac_try;;
29182 esac
29183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29185 ac_status=$?
29186 grep -v '^ *+' conftest.er1 >conftest.err
29187 rm -f conftest.er1
29188 cat conftest.err >&5
29189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29190 (exit $ac_status); } >/dev/null && {
29191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29192 test ! -s conftest.err
29193 }; then
29194 # We can compile using X headers with no special include directory.
29195 ac_x_includes=
29196 else
29197 echo "$as_me: failed program was:" >&5
29198 sed 's/^/| /' conftest.$ac_ext >&5
29199
29200 for ac_dir in $ac_x_header_dirs; do
29201 if test -r "$ac_dir/X11/Xlib.h"; then
29202 ac_x_includes=$ac_dir
29203 break
29204 fi
29205 done
29206 fi
29207
29208 rm -f conftest.err conftest.$ac_ext
29209 fi # $ac_x_includes = no
29210
29211 if test "$ac_x_libraries" = no; then
29212 # Check for the libraries.
29213 # See if we find them without any special options.
29214 # Don't add to $LIBS permanently.
29215 ac_save_LIBS=$LIBS
29216 LIBS="-lX11 $LIBS"
29217 cat >conftest.$ac_ext <<_ACEOF
29218 /* confdefs.h. */
29219 _ACEOF
29220 cat confdefs.h >>conftest.$ac_ext
29221 cat >>conftest.$ac_ext <<_ACEOF
29222 /* end confdefs.h. */
29223 #include <X11/Xlib.h>
29224 int
29225 main ()
29226 {
29227 XrmInitialize ()
29228 ;
29229 return 0;
29230 }
29231 _ACEOF
29232 rm -f conftest.$ac_objext conftest$ac_exeext
29233 if { (ac_try="$ac_link"
29234 case "(($ac_try" in
29235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29236 *) ac_try_echo=$ac_try;;
29237 esac
29238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29239 (eval "$ac_link") 2>conftest.er1
29240 ac_status=$?
29241 grep -v '^ *+' conftest.er1 >conftest.err
29242 rm -f conftest.er1
29243 cat conftest.err >&5
29244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29245 (exit $ac_status); } && {
29246 test -z "$ac_c_werror_flag" ||
29247 test ! -s conftest.err
29248 } && test -s conftest$ac_exeext &&
29249 $as_test_x conftest$ac_exeext; then
29250 LIBS=$ac_save_LIBS
29251 # We can link X programs with no special library path.
29252 ac_x_libraries=
29253 else
29254 echo "$as_me: failed program was:" >&5
29255 sed 's/^/| /' conftest.$ac_ext >&5
29256
29257 LIBS=$ac_save_LIBS
29258 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29259 do
29260 # Don't even attempt the hair of trying to link an X program!
29261 for ac_extension in a so sl; do
29262 if test -r "$ac_dir/libX11.$ac_extension"; then
29263 ac_x_libraries=$ac_dir
29264 break 2
29265 fi
29266 done
29267 done
29268 fi
29269
29270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29271 conftest$ac_exeext conftest.$ac_ext
29272 fi # $ac_x_libraries = no
29273
29274 case $ac_x_includes,$ac_x_libraries in #(
29275 no,* | *,no | *\'*)
29276 # Didn't find X, or a directory has "'" in its name.
29277 ac_cv_have_x="have_x=no";; #(
29278 *)
29279 # Record where we found X for the cache.
29280 ac_cv_have_x="have_x=yes\
29281 ac_x_includes='$ac_x_includes'\
29282 ac_x_libraries='$ac_x_libraries'"
29283 esac
29284 fi
29285 ;; #(
29286 *) have_x=yes;;
29287 esac
29288 eval "$ac_cv_have_x"
29289 fi # $with_x != no
29290
29291 if test "$have_x" != yes; then
29292 { echo "$as_me:$LINENO: result: $have_x" >&5
29293 echo "${ECHO_T}$have_x" >&6; }
29294 no_x=yes
29295 else
29296 # If each of the values was on the command line, it overrides each guess.
29297 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29298 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29299 # Update the cache value to reflect the command line values.
29300 ac_cv_have_x="have_x=yes\
29301 ac_x_includes='$x_includes'\
29302 ac_x_libraries='$x_libraries'"
29303 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29304 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29305 fi
29306
29307 if test "$no_x" = yes; then
29308 # Not all programs may use this symbol, but it does not hurt to define it.
29309
29310 cat >>confdefs.h <<\_ACEOF
29311 #define X_DISPLAY_MISSING 1
29312 _ACEOF
29313
29314 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29315 else
29316 if test -n "$x_includes"; then
29317 X_CFLAGS="$X_CFLAGS -I$x_includes"
29318 fi
29319
29320 # It would also be nice to do this for all -L options, not just this one.
29321 if test -n "$x_libraries"; then
29322 X_LIBS="$X_LIBS -L$x_libraries"
29323 # For Solaris; some versions of Sun CC require a space after -R and
29324 # others require no space. Words are not sufficient . . . .
29325 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29326 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29327 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29328 ac_xsave_c_werror_flag=$ac_c_werror_flag
29329 ac_c_werror_flag=yes
29330 cat >conftest.$ac_ext <<_ACEOF
29331 /* confdefs.h. */
29332 _ACEOF
29333 cat confdefs.h >>conftest.$ac_ext
29334 cat >>conftest.$ac_ext <<_ACEOF
29335 /* end confdefs.h. */
29336
29337 int
29338 main ()
29339 {
29340
29341 ;
29342 return 0;
29343 }
29344 _ACEOF
29345 rm -f conftest.$ac_objext conftest$ac_exeext
29346 if { (ac_try="$ac_link"
29347 case "(($ac_try" in
29348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29349 *) ac_try_echo=$ac_try;;
29350 esac
29351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29352 (eval "$ac_link") 2>conftest.er1
29353 ac_status=$?
29354 grep -v '^ *+' conftest.er1 >conftest.err
29355 rm -f conftest.er1
29356 cat conftest.err >&5
29357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358 (exit $ac_status); } && {
29359 test -z "$ac_c_werror_flag" ||
29360 test ! -s conftest.err
29361 } && test -s conftest$ac_exeext &&
29362 $as_test_x conftest$ac_exeext; then
29363 { echo "$as_me:$LINENO: result: no" >&5
29364 echo "${ECHO_T}no" >&6; }
29365 X_LIBS="$X_LIBS -R$x_libraries"
29366 else
29367 echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.$ac_ext >&5
29369
29370 LIBS="$ac_xsave_LIBS -R $x_libraries"
29371 cat >conftest.$ac_ext <<_ACEOF
29372 /* confdefs.h. */
29373 _ACEOF
29374 cat confdefs.h >>conftest.$ac_ext
29375 cat >>conftest.$ac_ext <<_ACEOF
29376 /* end confdefs.h. */
29377
29378 int
29379 main ()
29380 {
29381
29382 ;
29383 return 0;
29384 }
29385 _ACEOF
29386 rm -f conftest.$ac_objext conftest$ac_exeext
29387 if { (ac_try="$ac_link"
29388 case "(($ac_try" in
29389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29390 *) ac_try_echo=$ac_try;;
29391 esac
29392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29393 (eval "$ac_link") 2>conftest.er1
29394 ac_status=$?
29395 grep -v '^ *+' conftest.er1 >conftest.err
29396 rm -f conftest.er1
29397 cat conftest.err >&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); } && {
29400 test -z "$ac_c_werror_flag" ||
29401 test ! -s conftest.err
29402 } && test -s conftest$ac_exeext &&
29403 $as_test_x conftest$ac_exeext; then
29404 { echo "$as_me:$LINENO: result: yes" >&5
29405 echo "${ECHO_T}yes" >&6; }
29406 X_LIBS="$X_LIBS -R $x_libraries"
29407 else
29408 echo "$as_me: failed program was:" >&5
29409 sed 's/^/| /' conftest.$ac_ext >&5
29410
29411 { echo "$as_me:$LINENO: result: neither works" >&5
29412 echo "${ECHO_T}neither works" >&6; }
29413 fi
29414
29415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29416 conftest$ac_exeext conftest.$ac_ext
29417 fi
29418
29419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29420 conftest$ac_exeext conftest.$ac_ext
29421 ac_c_werror_flag=$ac_xsave_c_werror_flag
29422 LIBS=$ac_xsave_LIBS
29423 fi
29424
29425 # Check for system-dependent libraries X programs must link with.
29426 # Do this before checking for the system-independent R6 libraries
29427 # (-lICE), since we may need -lsocket or whatever for X linking.
29428
29429 if test "$ISC" = yes; then
29430 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29431 else
29432 # Martyn Johnson says this is needed for Ultrix, if the X
29433 # libraries were built with DECnet support. And Karl Berry says
29434 # the Alpha needs dnet_stub (dnet does not exist).
29435 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29436 cat >conftest.$ac_ext <<_ACEOF
29437 /* confdefs.h. */
29438 _ACEOF
29439 cat confdefs.h >>conftest.$ac_ext
29440 cat >>conftest.$ac_ext <<_ACEOF
29441 /* end confdefs.h. */
29442
29443 /* Override any GCC internal prototype to avoid an error.
29444 Use char because int might match the return type of a GCC
29445 builtin and then its argument prototype would still apply. */
29446 #ifdef __cplusplus
29447 extern "C"
29448 #endif
29449 char XOpenDisplay ();
29450 int
29451 main ()
29452 {
29453 return XOpenDisplay ();
29454 ;
29455 return 0;
29456 }
29457 _ACEOF
29458 rm -f conftest.$ac_objext conftest$ac_exeext
29459 if { (ac_try="$ac_link"
29460 case "(($ac_try" in
29461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29462 *) ac_try_echo=$ac_try;;
29463 esac
29464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29465 (eval "$ac_link") 2>conftest.er1
29466 ac_status=$?
29467 grep -v '^ *+' conftest.er1 >conftest.err
29468 rm -f conftest.er1
29469 cat conftest.err >&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } && {
29472 test -z "$ac_c_werror_flag" ||
29473 test ! -s conftest.err
29474 } && test -s conftest$ac_exeext &&
29475 $as_test_x conftest$ac_exeext; then
29476 :
29477 else
29478 echo "$as_me: failed program was:" >&5
29479 sed 's/^/| /' conftest.$ac_ext >&5
29480
29481 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29482 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29483 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29484 echo $ECHO_N "(cached) $ECHO_C" >&6
29485 else
29486 ac_check_lib_save_LIBS=$LIBS
29487 LIBS="-ldnet $LIBS"
29488 cat >conftest.$ac_ext <<_ACEOF
29489 /* confdefs.h. */
29490 _ACEOF
29491 cat confdefs.h >>conftest.$ac_ext
29492 cat >>conftest.$ac_ext <<_ACEOF
29493 /* end confdefs.h. */
29494
29495 /* Override any GCC internal prototype to avoid an error.
29496 Use char because int might match the return type of a GCC
29497 builtin and then its argument prototype would still apply. */
29498 #ifdef __cplusplus
29499 extern "C"
29500 #endif
29501 char dnet_ntoa ();
29502 int
29503 main ()
29504 {
29505 return dnet_ntoa ();
29506 ;
29507 return 0;
29508 }
29509 _ACEOF
29510 rm -f conftest.$ac_objext conftest$ac_exeext
29511 if { (ac_try="$ac_link"
29512 case "(($ac_try" in
29513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29514 *) ac_try_echo=$ac_try;;
29515 esac
29516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29517 (eval "$ac_link") 2>conftest.er1
29518 ac_status=$?
29519 grep -v '^ *+' conftest.er1 >conftest.err
29520 rm -f conftest.er1
29521 cat conftest.err >&5
29522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29523 (exit $ac_status); } && {
29524 test -z "$ac_c_werror_flag" ||
29525 test ! -s conftest.err
29526 } && test -s conftest$ac_exeext &&
29527 $as_test_x conftest$ac_exeext; then
29528 ac_cv_lib_dnet_dnet_ntoa=yes
29529 else
29530 echo "$as_me: failed program was:" >&5
29531 sed 's/^/| /' conftest.$ac_ext >&5
29532
29533 ac_cv_lib_dnet_dnet_ntoa=no
29534 fi
29535
29536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29537 conftest$ac_exeext conftest.$ac_ext
29538 LIBS=$ac_check_lib_save_LIBS
29539 fi
29540 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29541 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29542 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29543 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29544 fi
29545
29546 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29547 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29548 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29549 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29550 echo $ECHO_N "(cached) $ECHO_C" >&6
29551 else
29552 ac_check_lib_save_LIBS=$LIBS
29553 LIBS="-ldnet_stub $LIBS"
29554 cat >conftest.$ac_ext <<_ACEOF
29555 /* confdefs.h. */
29556 _ACEOF
29557 cat confdefs.h >>conftest.$ac_ext
29558 cat >>conftest.$ac_ext <<_ACEOF
29559 /* end confdefs.h. */
29560
29561 /* Override any GCC internal prototype to avoid an error.
29562 Use char because int might match the return type of a GCC
29563 builtin and then its argument prototype would still apply. */
29564 #ifdef __cplusplus
29565 extern "C"
29566 #endif
29567 char dnet_ntoa ();
29568 int
29569 main ()
29570 {
29571 return dnet_ntoa ();
29572 ;
29573 return 0;
29574 }
29575 _ACEOF
29576 rm -f conftest.$ac_objext conftest$ac_exeext
29577 if { (ac_try="$ac_link"
29578 case "(($ac_try" in
29579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29580 *) ac_try_echo=$ac_try;;
29581 esac
29582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29583 (eval "$ac_link") 2>conftest.er1
29584 ac_status=$?
29585 grep -v '^ *+' conftest.er1 >conftest.err
29586 rm -f conftest.er1
29587 cat conftest.err >&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); } && {
29590 test -z "$ac_c_werror_flag" ||
29591 test ! -s conftest.err
29592 } && test -s conftest$ac_exeext &&
29593 $as_test_x conftest$ac_exeext; then
29594 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29595 else
29596 echo "$as_me: failed program was:" >&5
29597 sed 's/^/| /' conftest.$ac_ext >&5
29598
29599 ac_cv_lib_dnet_stub_dnet_ntoa=no
29600 fi
29601
29602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29603 conftest$ac_exeext conftest.$ac_ext
29604 LIBS=$ac_check_lib_save_LIBS
29605 fi
29606 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29607 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29608 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29609 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29610 fi
29611
29612 fi
29613 fi
29614
29615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29616 conftest$ac_exeext conftest.$ac_ext
29617 LIBS="$ac_xsave_LIBS"
29618
29619 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29620 # to get the SysV transport functions.
29621 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29622 # needs -lnsl.
29623 # The nsl library prevents programs from opening the X display
29624 # on Irix 5.2, according to T.E. Dickey.
29625 # The functions gethostbyname, getservbyname, and inet_addr are
29626 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29627 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29628 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29629 if test "${ac_cv_func_gethostbyname+set}" = set; then
29630 echo $ECHO_N "(cached) $ECHO_C" >&6
29631 else
29632 cat >conftest.$ac_ext <<_ACEOF
29633 /* confdefs.h. */
29634 _ACEOF
29635 cat confdefs.h >>conftest.$ac_ext
29636 cat >>conftest.$ac_ext <<_ACEOF
29637 /* end confdefs.h. */
29638 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29640 #define gethostbyname innocuous_gethostbyname
29641
29642 /* System header to define __stub macros and hopefully few prototypes,
29643 which can conflict with char gethostbyname (); below.
29644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29645 <limits.h> exists even on freestanding compilers. */
29646
29647 #ifdef __STDC__
29648 # include <limits.h>
29649 #else
29650 # include <assert.h>
29651 #endif
29652
29653 #undef gethostbyname
29654
29655 /* Override any GCC internal prototype to avoid an error.
29656 Use char because int might match the return type of a GCC
29657 builtin and then its argument prototype would still apply. */
29658 #ifdef __cplusplus
29659 extern "C"
29660 #endif
29661 char gethostbyname ();
29662 /* The GNU C library defines this for functions which it implements
29663 to always fail with ENOSYS. Some functions are actually named
29664 something starting with __ and the normal name is an alias. */
29665 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29666 choke me
29667 #endif
29668
29669 int
29670 main ()
29671 {
29672 return gethostbyname ();
29673 ;
29674 return 0;
29675 }
29676 _ACEOF
29677 rm -f conftest.$ac_objext conftest$ac_exeext
29678 if { (ac_try="$ac_link"
29679 case "(($ac_try" in
29680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29681 *) ac_try_echo=$ac_try;;
29682 esac
29683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29684 (eval "$ac_link") 2>conftest.er1
29685 ac_status=$?
29686 grep -v '^ *+' conftest.er1 >conftest.err
29687 rm -f conftest.er1
29688 cat conftest.err >&5
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); } && {
29691 test -z "$ac_c_werror_flag" ||
29692 test ! -s conftest.err
29693 } && test -s conftest$ac_exeext &&
29694 $as_test_x conftest$ac_exeext; then
29695 ac_cv_func_gethostbyname=yes
29696 else
29697 echo "$as_me: failed program was:" >&5
29698 sed 's/^/| /' conftest.$ac_ext >&5
29699
29700 ac_cv_func_gethostbyname=no
29701 fi
29702
29703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29704 conftest$ac_exeext conftest.$ac_ext
29705 fi
29706 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29707 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29708
29709 if test $ac_cv_func_gethostbyname = no; then
29710 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29711 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29712 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29713 echo $ECHO_N "(cached) $ECHO_C" >&6
29714 else
29715 ac_check_lib_save_LIBS=$LIBS
29716 LIBS="-lnsl $LIBS"
29717 cat >conftest.$ac_ext <<_ACEOF
29718 /* confdefs.h. */
29719 _ACEOF
29720 cat confdefs.h >>conftest.$ac_ext
29721 cat >>conftest.$ac_ext <<_ACEOF
29722 /* end confdefs.h. */
29723
29724 /* Override any GCC internal prototype to avoid an error.
29725 Use char because int might match the return type of a GCC
29726 builtin and then its argument prototype would still apply. */
29727 #ifdef __cplusplus
29728 extern "C"
29729 #endif
29730 char gethostbyname ();
29731 int
29732 main ()
29733 {
29734 return gethostbyname ();
29735 ;
29736 return 0;
29737 }
29738 _ACEOF
29739 rm -f conftest.$ac_objext conftest$ac_exeext
29740 if { (ac_try="$ac_link"
29741 case "(($ac_try" in
29742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29743 *) ac_try_echo=$ac_try;;
29744 esac
29745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29746 (eval "$ac_link") 2>conftest.er1
29747 ac_status=$?
29748 grep -v '^ *+' conftest.er1 >conftest.err
29749 rm -f conftest.er1
29750 cat conftest.err >&5
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 (exit $ac_status); } && {
29753 test -z "$ac_c_werror_flag" ||
29754 test ! -s conftest.err
29755 } && test -s conftest$ac_exeext &&
29756 $as_test_x conftest$ac_exeext; then
29757 ac_cv_lib_nsl_gethostbyname=yes
29758 else
29759 echo "$as_me: failed program was:" >&5
29760 sed 's/^/| /' conftest.$ac_ext >&5
29761
29762 ac_cv_lib_nsl_gethostbyname=no
29763 fi
29764
29765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29766 conftest$ac_exeext conftest.$ac_ext
29767 LIBS=$ac_check_lib_save_LIBS
29768 fi
29769 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29770 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29771 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29772 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29773 fi
29774
29775 if test $ac_cv_lib_nsl_gethostbyname = no; then
29776 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29777 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29778 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29779 echo $ECHO_N "(cached) $ECHO_C" >&6
29780 else
29781 ac_check_lib_save_LIBS=$LIBS
29782 LIBS="-lbsd $LIBS"
29783 cat >conftest.$ac_ext <<_ACEOF
29784 /* confdefs.h. */
29785 _ACEOF
29786 cat confdefs.h >>conftest.$ac_ext
29787 cat >>conftest.$ac_ext <<_ACEOF
29788 /* end confdefs.h. */
29789
29790 /* Override any GCC internal prototype to avoid an error.
29791 Use char because int might match the return type of a GCC
29792 builtin and then its argument prototype would still apply. */
29793 #ifdef __cplusplus
29794 extern "C"
29795 #endif
29796 char gethostbyname ();
29797 int
29798 main ()
29799 {
29800 return gethostbyname ();
29801 ;
29802 return 0;
29803 }
29804 _ACEOF
29805 rm -f conftest.$ac_objext conftest$ac_exeext
29806 if { (ac_try="$ac_link"
29807 case "(($ac_try" in
29808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29809 *) ac_try_echo=$ac_try;;
29810 esac
29811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29812 (eval "$ac_link") 2>conftest.er1
29813 ac_status=$?
29814 grep -v '^ *+' conftest.er1 >conftest.err
29815 rm -f conftest.er1
29816 cat conftest.err >&5
29817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29818 (exit $ac_status); } && {
29819 test -z "$ac_c_werror_flag" ||
29820 test ! -s conftest.err
29821 } && test -s conftest$ac_exeext &&
29822 $as_test_x conftest$ac_exeext; then
29823 ac_cv_lib_bsd_gethostbyname=yes
29824 else
29825 echo "$as_me: failed program was:" >&5
29826 sed 's/^/| /' conftest.$ac_ext >&5
29827
29828 ac_cv_lib_bsd_gethostbyname=no
29829 fi
29830
29831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29832 conftest$ac_exeext conftest.$ac_ext
29833 LIBS=$ac_check_lib_save_LIBS
29834 fi
29835 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29836 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29837 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29838 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29839 fi
29840
29841 fi
29842 fi
29843
29844 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29845 # socket/setsockopt and other routines are undefined under SCO ODT
29846 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29847 # on later versions), says Simon Leinen: it contains gethostby*
29848 # variants that don't use the name server (or something). -lsocket
29849 # must be given before -lnsl if both are needed. We assume that
29850 # if connect needs -lnsl, so does gethostbyname.
29851 { echo "$as_me:$LINENO: checking for connect" >&5
29852 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29853 if test "${ac_cv_func_connect+set}" = set; then
29854 echo $ECHO_N "(cached) $ECHO_C" >&6
29855 else
29856 cat >conftest.$ac_ext <<_ACEOF
29857 /* confdefs.h. */
29858 _ACEOF
29859 cat confdefs.h >>conftest.$ac_ext
29860 cat >>conftest.$ac_ext <<_ACEOF
29861 /* end confdefs.h. */
29862 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29864 #define connect innocuous_connect
29865
29866 /* System header to define __stub macros and hopefully few prototypes,
29867 which can conflict with char connect (); below.
29868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29869 <limits.h> exists even on freestanding compilers. */
29870
29871 #ifdef __STDC__
29872 # include <limits.h>
29873 #else
29874 # include <assert.h>
29875 #endif
29876
29877 #undef connect
29878
29879 /* Override any GCC internal prototype to avoid an error.
29880 Use char because int might match the return type of a GCC
29881 builtin and then its argument prototype would still apply. */
29882 #ifdef __cplusplus
29883 extern "C"
29884 #endif
29885 char connect ();
29886 /* The GNU C library defines this for functions which it implements
29887 to always fail with ENOSYS. Some functions are actually named
29888 something starting with __ and the normal name is an alias. */
29889 #if defined __stub_connect || defined __stub___connect
29890 choke me
29891 #endif
29892
29893 int
29894 main ()
29895 {
29896 return connect ();
29897 ;
29898 return 0;
29899 }
29900 _ACEOF
29901 rm -f conftest.$ac_objext conftest$ac_exeext
29902 if { (ac_try="$ac_link"
29903 case "(($ac_try" in
29904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29905 *) ac_try_echo=$ac_try;;
29906 esac
29907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29908 (eval "$ac_link") 2>conftest.er1
29909 ac_status=$?
29910 grep -v '^ *+' conftest.er1 >conftest.err
29911 rm -f conftest.er1
29912 cat conftest.err >&5
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); } && {
29915 test -z "$ac_c_werror_flag" ||
29916 test ! -s conftest.err
29917 } && test -s conftest$ac_exeext &&
29918 $as_test_x conftest$ac_exeext; then
29919 ac_cv_func_connect=yes
29920 else
29921 echo "$as_me: failed program was:" >&5
29922 sed 's/^/| /' conftest.$ac_ext >&5
29923
29924 ac_cv_func_connect=no
29925 fi
29926
29927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29928 conftest$ac_exeext conftest.$ac_ext
29929 fi
29930 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29931 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29932
29933 if test $ac_cv_func_connect = no; then
29934 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29935 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29936 if test "${ac_cv_lib_socket_connect+set}" = set; then
29937 echo $ECHO_N "(cached) $ECHO_C" >&6
29938 else
29939 ac_check_lib_save_LIBS=$LIBS
29940 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29941 cat >conftest.$ac_ext <<_ACEOF
29942 /* confdefs.h. */
29943 _ACEOF
29944 cat confdefs.h >>conftest.$ac_ext
29945 cat >>conftest.$ac_ext <<_ACEOF
29946 /* end confdefs.h. */
29947
29948 /* Override any GCC internal prototype to avoid an error.
29949 Use char because int might match the return type of a GCC
29950 builtin and then its argument prototype would still apply. */
29951 #ifdef __cplusplus
29952 extern "C"
29953 #endif
29954 char connect ();
29955 int
29956 main ()
29957 {
29958 return connect ();
29959 ;
29960 return 0;
29961 }
29962 _ACEOF
29963 rm -f conftest.$ac_objext conftest$ac_exeext
29964 if { (ac_try="$ac_link"
29965 case "(($ac_try" in
29966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29967 *) ac_try_echo=$ac_try;;
29968 esac
29969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29970 (eval "$ac_link") 2>conftest.er1
29971 ac_status=$?
29972 grep -v '^ *+' conftest.er1 >conftest.err
29973 rm -f conftest.er1
29974 cat conftest.err >&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); } && {
29977 test -z "$ac_c_werror_flag" ||
29978 test ! -s conftest.err
29979 } && test -s conftest$ac_exeext &&
29980 $as_test_x conftest$ac_exeext; then
29981 ac_cv_lib_socket_connect=yes
29982 else
29983 echo "$as_me: failed program was:" >&5
29984 sed 's/^/| /' conftest.$ac_ext >&5
29985
29986 ac_cv_lib_socket_connect=no
29987 fi
29988
29989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29990 conftest$ac_exeext conftest.$ac_ext
29991 LIBS=$ac_check_lib_save_LIBS
29992 fi
29993 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29994 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29995 if test $ac_cv_lib_socket_connect = yes; then
29996 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29997 fi
29998
29999 fi
30000
30001 # Guillermo Gomez says -lposix is necessary on A/UX.
30002 { echo "$as_me:$LINENO: checking for remove" >&5
30003 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30004 if test "${ac_cv_func_remove+set}" = set; then
30005 echo $ECHO_N "(cached) $ECHO_C" >&6
30006 else
30007 cat >conftest.$ac_ext <<_ACEOF
30008 /* confdefs.h. */
30009 _ACEOF
30010 cat confdefs.h >>conftest.$ac_ext
30011 cat >>conftest.$ac_ext <<_ACEOF
30012 /* end confdefs.h. */
30013 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30015 #define remove innocuous_remove
30016
30017 /* System header to define __stub macros and hopefully few prototypes,
30018 which can conflict with char remove (); below.
30019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30020 <limits.h> exists even on freestanding compilers. */
30021
30022 #ifdef __STDC__
30023 # include <limits.h>
30024 #else
30025 # include <assert.h>
30026 #endif
30027
30028 #undef remove
30029
30030 /* Override any GCC internal prototype to avoid an error.
30031 Use char because int might match the return type of a GCC
30032 builtin and then its argument prototype would still apply. */
30033 #ifdef __cplusplus
30034 extern "C"
30035 #endif
30036 char remove ();
30037 /* The GNU C library defines this for functions which it implements
30038 to always fail with ENOSYS. Some functions are actually named
30039 something starting with __ and the normal name is an alias. */
30040 #if defined __stub_remove || defined __stub___remove
30041 choke me
30042 #endif
30043
30044 int
30045 main ()
30046 {
30047 return remove ();
30048 ;
30049 return 0;
30050 }
30051 _ACEOF
30052 rm -f conftest.$ac_objext conftest$ac_exeext
30053 if { (ac_try="$ac_link"
30054 case "(($ac_try" in
30055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30056 *) ac_try_echo=$ac_try;;
30057 esac
30058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30059 (eval "$ac_link") 2>conftest.er1
30060 ac_status=$?
30061 grep -v '^ *+' conftest.er1 >conftest.err
30062 rm -f conftest.er1
30063 cat conftest.err >&5
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); } && {
30066 test -z "$ac_c_werror_flag" ||
30067 test ! -s conftest.err
30068 } && test -s conftest$ac_exeext &&
30069 $as_test_x conftest$ac_exeext; then
30070 ac_cv_func_remove=yes
30071 else
30072 echo "$as_me: failed program was:" >&5
30073 sed 's/^/| /' conftest.$ac_ext >&5
30074
30075 ac_cv_func_remove=no
30076 fi
30077
30078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30079 conftest$ac_exeext conftest.$ac_ext
30080 fi
30081 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30082 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30083
30084 if test $ac_cv_func_remove = no; then
30085 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30086 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30087 if test "${ac_cv_lib_posix_remove+set}" = set; then
30088 echo $ECHO_N "(cached) $ECHO_C" >&6
30089 else
30090 ac_check_lib_save_LIBS=$LIBS
30091 LIBS="-lposix $LIBS"
30092 cat >conftest.$ac_ext <<_ACEOF
30093 /* confdefs.h. */
30094 _ACEOF
30095 cat confdefs.h >>conftest.$ac_ext
30096 cat >>conftest.$ac_ext <<_ACEOF
30097 /* end confdefs.h. */
30098
30099 /* Override any GCC internal prototype to avoid an error.
30100 Use char because int might match the return type of a GCC
30101 builtin and then its argument prototype would still apply. */
30102 #ifdef __cplusplus
30103 extern "C"
30104 #endif
30105 char remove ();
30106 int
30107 main ()
30108 {
30109 return remove ();
30110 ;
30111 return 0;
30112 }
30113 _ACEOF
30114 rm -f conftest.$ac_objext conftest$ac_exeext
30115 if { (ac_try="$ac_link"
30116 case "(($ac_try" in
30117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30118 *) ac_try_echo=$ac_try;;
30119 esac
30120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30121 (eval "$ac_link") 2>conftest.er1
30122 ac_status=$?
30123 grep -v '^ *+' conftest.er1 >conftest.err
30124 rm -f conftest.er1
30125 cat conftest.err >&5
30126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127 (exit $ac_status); } && {
30128 test -z "$ac_c_werror_flag" ||
30129 test ! -s conftest.err
30130 } && test -s conftest$ac_exeext &&
30131 $as_test_x conftest$ac_exeext; then
30132 ac_cv_lib_posix_remove=yes
30133 else
30134 echo "$as_me: failed program was:" >&5
30135 sed 's/^/| /' conftest.$ac_ext >&5
30136
30137 ac_cv_lib_posix_remove=no
30138 fi
30139
30140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30141 conftest$ac_exeext conftest.$ac_ext
30142 LIBS=$ac_check_lib_save_LIBS
30143 fi
30144 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30145 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30146 if test $ac_cv_lib_posix_remove = yes; then
30147 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30148 fi
30149
30150 fi
30151
30152 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30153 { echo "$as_me:$LINENO: checking for shmat" >&5
30154 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30155 if test "${ac_cv_func_shmat+set}" = set; then
30156 echo $ECHO_N "(cached) $ECHO_C" >&6
30157 else
30158 cat >conftest.$ac_ext <<_ACEOF
30159 /* confdefs.h. */
30160 _ACEOF
30161 cat confdefs.h >>conftest.$ac_ext
30162 cat >>conftest.$ac_ext <<_ACEOF
30163 /* end confdefs.h. */
30164 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30166 #define shmat innocuous_shmat
30167
30168 /* System header to define __stub macros and hopefully few prototypes,
30169 which can conflict with char shmat (); below.
30170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30171 <limits.h> exists even on freestanding compilers. */
30172
30173 #ifdef __STDC__
30174 # include <limits.h>
30175 #else
30176 # include <assert.h>
30177 #endif
30178
30179 #undef shmat
30180
30181 /* Override any GCC internal prototype to avoid an error.
30182 Use char because int might match the return type of a GCC
30183 builtin and then its argument prototype would still apply. */
30184 #ifdef __cplusplus
30185 extern "C"
30186 #endif
30187 char shmat ();
30188 /* The GNU C library defines this for functions which it implements
30189 to always fail with ENOSYS. Some functions are actually named
30190 something starting with __ and the normal name is an alias. */
30191 #if defined __stub_shmat || defined __stub___shmat
30192 choke me
30193 #endif
30194
30195 int
30196 main ()
30197 {
30198 return shmat ();
30199 ;
30200 return 0;
30201 }
30202 _ACEOF
30203 rm -f conftest.$ac_objext conftest$ac_exeext
30204 if { (ac_try="$ac_link"
30205 case "(($ac_try" in
30206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30207 *) ac_try_echo=$ac_try;;
30208 esac
30209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30210 (eval "$ac_link") 2>conftest.er1
30211 ac_status=$?
30212 grep -v '^ *+' conftest.er1 >conftest.err
30213 rm -f conftest.er1
30214 cat conftest.err >&5
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); } && {
30217 test -z "$ac_c_werror_flag" ||
30218 test ! -s conftest.err
30219 } && test -s conftest$ac_exeext &&
30220 $as_test_x conftest$ac_exeext; then
30221 ac_cv_func_shmat=yes
30222 else
30223 echo "$as_me: failed program was:" >&5
30224 sed 's/^/| /' conftest.$ac_ext >&5
30225
30226 ac_cv_func_shmat=no
30227 fi
30228
30229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30230 conftest$ac_exeext conftest.$ac_ext
30231 fi
30232 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30233 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30234
30235 if test $ac_cv_func_shmat = no; then
30236 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30237 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30238 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30239 echo $ECHO_N "(cached) $ECHO_C" >&6
30240 else
30241 ac_check_lib_save_LIBS=$LIBS
30242 LIBS="-lipc $LIBS"
30243 cat >conftest.$ac_ext <<_ACEOF
30244 /* confdefs.h. */
30245 _ACEOF
30246 cat confdefs.h >>conftest.$ac_ext
30247 cat >>conftest.$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30249
30250 /* Override any GCC internal prototype to avoid an error.
30251 Use char because int might match the return type of a GCC
30252 builtin and then its argument prototype would still apply. */
30253 #ifdef __cplusplus
30254 extern "C"
30255 #endif
30256 char shmat ();
30257 int
30258 main ()
30259 {
30260 return shmat ();
30261 ;
30262 return 0;
30263 }
30264 _ACEOF
30265 rm -f conftest.$ac_objext conftest$ac_exeext
30266 if { (ac_try="$ac_link"
30267 case "(($ac_try" in
30268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30269 *) ac_try_echo=$ac_try;;
30270 esac
30271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30272 (eval "$ac_link") 2>conftest.er1
30273 ac_status=$?
30274 grep -v '^ *+' conftest.er1 >conftest.err
30275 rm -f conftest.er1
30276 cat conftest.err >&5
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); } && {
30279 test -z "$ac_c_werror_flag" ||
30280 test ! -s conftest.err
30281 } && test -s conftest$ac_exeext &&
30282 $as_test_x conftest$ac_exeext; then
30283 ac_cv_lib_ipc_shmat=yes
30284 else
30285 echo "$as_me: failed program was:" >&5
30286 sed 's/^/| /' conftest.$ac_ext >&5
30287
30288 ac_cv_lib_ipc_shmat=no
30289 fi
30290
30291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30292 conftest$ac_exeext conftest.$ac_ext
30293 LIBS=$ac_check_lib_save_LIBS
30294 fi
30295 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30296 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30297 if test $ac_cv_lib_ipc_shmat = yes; then
30298 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30299 fi
30300
30301 fi
30302 fi
30303
30304 # Check for libraries that X11R6 Xt/Xaw programs need.
30305 ac_save_LDFLAGS=$LDFLAGS
30306 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30307 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30308 # check for ICE first), but we must link in the order -lSM -lICE or
30309 # we get undefined symbols. So assume we have SM if we have ICE.
30310 # These have to be linked with before -lX11, unlike the other
30311 # libraries we check for below, so use a different variable.
30312 # John Interrante, Karl Berry
30313 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30314 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30315 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30316 echo $ECHO_N "(cached) $ECHO_C" >&6
30317 else
30318 ac_check_lib_save_LIBS=$LIBS
30319 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30320 cat >conftest.$ac_ext <<_ACEOF
30321 /* confdefs.h. */
30322 _ACEOF
30323 cat confdefs.h >>conftest.$ac_ext
30324 cat >>conftest.$ac_ext <<_ACEOF
30325 /* end confdefs.h. */
30326
30327 /* Override any GCC internal prototype to avoid an error.
30328 Use char because int might match the return type of a GCC
30329 builtin and then its argument prototype would still apply. */
30330 #ifdef __cplusplus
30331 extern "C"
30332 #endif
30333 char IceConnectionNumber ();
30334 int
30335 main ()
30336 {
30337 return IceConnectionNumber ();
30338 ;
30339 return 0;
30340 }
30341 _ACEOF
30342 rm -f conftest.$ac_objext conftest$ac_exeext
30343 if { (ac_try="$ac_link"
30344 case "(($ac_try" in
30345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30346 *) ac_try_echo=$ac_try;;
30347 esac
30348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30349 (eval "$ac_link") 2>conftest.er1
30350 ac_status=$?
30351 grep -v '^ *+' conftest.er1 >conftest.err
30352 rm -f conftest.er1
30353 cat conftest.err >&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); } && {
30356 test -z "$ac_c_werror_flag" ||
30357 test ! -s conftest.err
30358 } && test -s conftest$ac_exeext &&
30359 $as_test_x conftest$ac_exeext; then
30360 ac_cv_lib_ICE_IceConnectionNumber=yes
30361 else
30362 echo "$as_me: failed program was:" >&5
30363 sed 's/^/| /' conftest.$ac_ext >&5
30364
30365 ac_cv_lib_ICE_IceConnectionNumber=no
30366 fi
30367
30368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30369 conftest$ac_exeext conftest.$ac_ext
30370 LIBS=$ac_check_lib_save_LIBS
30371 fi
30372 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30373 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30374 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30375 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30376 fi
30377
30378 LDFLAGS=$ac_save_LDFLAGS
30379
30380 fi
30381
30382
30383 if test "$no_x" = "yes"; then
30384 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30385 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30386 { (exit 1); exit 1; }; }
30387 fi
30388
30389 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30390 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30391 AFMINSTALL=afminstall
30392 COMPILED_X_PROGRAM=0
30393
30394 fi
30395
30396 if test "$wxUSE_X11" = 1; then
30397 if test "$wxUSE_NANOX" = "yes"; then
30398 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30399 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30400 if test "x$MICROWIN" = x ; then
30401 { echo "$as_me:$LINENO: result: not found" >&5
30402 echo "${ECHO_T}not found" >&6; }
30403 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30404 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30405 { (exit 1); exit 1; }; }
30406 else
30407 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30408 echo "${ECHO_T}$MICROWIN" >&6; }
30409 cat >>confdefs.h <<\_ACEOF
30410 #define wxUSE_NANOX 1
30411 _ACEOF
30412
30413 fi
30414 fi
30415
30416 if test "$wxUSE_UNICODE" = "yes"; then
30417
30418
30419 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30420 if test -n "$ac_tool_prefix"; then
30421 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30422 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30425 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30426 echo $ECHO_N "(cached) $ECHO_C" >&6
30427 else
30428 case $PKG_CONFIG in
30429 [\\/]* | ?:[\\/]*)
30430 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30431 ;;
30432 *)
30433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30434 for as_dir in $PATH
30435 do
30436 IFS=$as_save_IFS
30437 test -z "$as_dir" && as_dir=.
30438 for ac_exec_ext in '' $ac_executable_extensions; do
30439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30440 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30442 break 2
30443 fi
30444 done
30445 done
30446 IFS=$as_save_IFS
30447
30448 ;;
30449 esac
30450 fi
30451 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30452 if test -n "$PKG_CONFIG"; then
30453 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30454 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30455 else
30456 { echo "$as_me:$LINENO: result: no" >&5
30457 echo "${ECHO_T}no" >&6; }
30458 fi
30459
30460
30461 fi
30462 if test -z "$ac_cv_path_PKG_CONFIG"; then
30463 ac_pt_PKG_CONFIG=$PKG_CONFIG
30464 # Extract the first word of "pkg-config", so it can be a program name with args.
30465 set dummy pkg-config; ac_word=$2
30466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30468 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30469 echo $ECHO_N "(cached) $ECHO_C" >&6
30470 else
30471 case $ac_pt_PKG_CONFIG in
30472 [\\/]* | ?:[\\/]*)
30473 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30474 ;;
30475 *)
30476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30477 for as_dir in $PATH
30478 do
30479 IFS=$as_save_IFS
30480 test -z "$as_dir" && as_dir=.
30481 for ac_exec_ext in '' $ac_executable_extensions; do
30482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30483 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30485 break 2
30486 fi
30487 done
30488 done
30489 IFS=$as_save_IFS
30490
30491 ;;
30492 esac
30493 fi
30494 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30495 if test -n "$ac_pt_PKG_CONFIG"; then
30496 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30497 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30498 else
30499 { echo "$as_me:$LINENO: result: no" >&5
30500 echo "${ECHO_T}no" >&6; }
30501 fi
30502
30503 if test "x$ac_pt_PKG_CONFIG" = x; then
30504 PKG_CONFIG=""
30505 else
30506 case $cross_compiling:$ac_tool_warned in
30507 yes:)
30508 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30509 whose name does not start with the host triplet. If you think this
30510 configuration is useful to you, please write to autoconf@gnu.org." >&5
30511 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30512 whose name does not start with the host triplet. If you think this
30513 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30514 ac_tool_warned=yes ;;
30515 esac
30516 PKG_CONFIG=$ac_pt_PKG_CONFIG
30517 fi
30518 else
30519 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30520 fi
30521
30522 fi
30523 if test -n "$PKG_CONFIG"; then
30524 _pkg_min_version=0.9.0
30525 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30526 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30527 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30528 { echo "$as_me:$LINENO: result: yes" >&5
30529 echo "${ECHO_T}yes" >&6; }
30530 else
30531 { echo "$as_me:$LINENO: result: no" >&5
30532 echo "${ECHO_T}no" >&6; }
30533 PKG_CONFIG=""
30534 fi
30535
30536 fi
30537
30538
30539 pkg_failed=no
30540 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30541 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30542
30543 if test -n "$PKG_CONFIG"; then
30544 if test -n "$PANGOX_CFLAGS"; then
30545 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30546 else
30547 if test -n "$PKG_CONFIG" && \
30548 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30549 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30550 ac_status=$?
30551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30552 (exit $ac_status); }; then
30553 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30554 else
30555 pkg_failed=yes
30556 fi
30557 fi
30558 else
30559 pkg_failed=untried
30560 fi
30561 if test -n "$PKG_CONFIG"; then
30562 if test -n "$PANGOX_LIBS"; then
30563 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30564 else
30565 if test -n "$PKG_CONFIG" && \
30566 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30567 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30568 ac_status=$?
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; then
30571 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30572 else
30573 pkg_failed=yes
30574 fi
30575 fi
30576 else
30577 pkg_failed=untried
30578 fi
30579
30580
30581
30582 if test $pkg_failed = yes; then
30583
30584 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30585 _pkg_short_errors_supported=yes
30586 else
30587 _pkg_short_errors_supported=no
30588 fi
30589 if test $_pkg_short_errors_supported = yes; then
30590 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30591 else
30592 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30593 fi
30594 # Put the nasty error message in config.log where it belongs
30595 echo "$PANGOX_PKG_ERRORS" >&5
30596
30597
30598 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30599 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30600 { (exit 1); exit 1; }; }
30601
30602
30603 elif test $pkg_failed = untried; then
30604
30605 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30606 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30607 { (exit 1); exit 1; }; }
30608
30609
30610 else
30611 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30612 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30613 { echo "$as_me:$LINENO: result: yes" >&5
30614 echo "${ECHO_T}yes" >&6; }
30615
30616 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30617 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30618 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30619
30620 fi
30621
30622 pkg_failed=no
30623 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30624 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30625
30626 if test -n "$PKG_CONFIG"; then
30627 if test -n "$PANGOFT2_CFLAGS"; then
30628 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30629 else
30630 if test -n "$PKG_CONFIG" && \
30631 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30632 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30633 ac_status=$?
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); }; then
30636 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30637 else
30638 pkg_failed=yes
30639 fi
30640 fi
30641 else
30642 pkg_failed=untried
30643 fi
30644 if test -n "$PKG_CONFIG"; then
30645 if test -n "$PANGOFT2_LIBS"; then
30646 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30647 else
30648 if test -n "$PKG_CONFIG" && \
30649 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30650 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30651 ac_status=$?
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); }; then
30654 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30655 else
30656 pkg_failed=yes
30657 fi
30658 fi
30659 else
30660 pkg_failed=untried
30661 fi
30662
30663
30664
30665 if test $pkg_failed = yes; then
30666
30667 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30668 _pkg_short_errors_supported=yes
30669 else
30670 _pkg_short_errors_supported=no
30671 fi
30672 if test $_pkg_short_errors_supported = yes; then
30673 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30674 else
30675 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30676 fi
30677 # Put the nasty error message in config.log where it belongs
30678 echo "$PANGOFT2_PKG_ERRORS" >&5
30679
30680
30681 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30682 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30683 wxUSE_PRINTING_ARCHITECTURE="no"
30684
30685
30686 elif test $pkg_failed = untried; then
30687
30688 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30689 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30690 wxUSE_PRINTING_ARCHITECTURE="no"
30691
30692
30693 else
30694 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30695 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30696 { echo "$as_me:$LINENO: result: yes" >&5
30697 echo "${ECHO_T}yes" >&6; }
30698
30699 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30700 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30701 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30702
30703 fi
30704
30705 pkg_failed=no
30706 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30707 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30708
30709 if test -n "$PKG_CONFIG"; then
30710 if test -n "$PANGOXFT_CFLAGS"; then
30711 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30712 else
30713 if test -n "$PKG_CONFIG" && \
30714 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30715 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30716 ac_status=$?
30717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30718 (exit $ac_status); }; then
30719 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30720 else
30721 pkg_failed=yes
30722 fi
30723 fi
30724 else
30725 pkg_failed=untried
30726 fi
30727 if test -n "$PKG_CONFIG"; then
30728 if test -n "$PANGOXFT_LIBS"; then
30729 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30730 else
30731 if test -n "$PKG_CONFIG" && \
30732 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30733 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30734 ac_status=$?
30735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30736 (exit $ac_status); }; then
30737 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30738 else
30739 pkg_failed=yes
30740 fi
30741 fi
30742 else
30743 pkg_failed=untried
30744 fi
30745
30746
30747
30748 if test $pkg_failed = yes; then
30749
30750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30751 _pkg_short_errors_supported=yes
30752 else
30753 _pkg_short_errors_supported=no
30754 fi
30755 if test $_pkg_short_errors_supported = yes; then
30756 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30757 else
30758 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30759 fi
30760 # Put the nasty error message in config.log where it belongs
30761 echo "$PANGOXFT_PKG_ERRORS" >&5
30762
30763
30764 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30765 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30766
30767
30768 elif test $pkg_failed = untried; then
30769
30770 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30771 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30772
30773
30774 else
30775 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30776 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30777 { echo "$as_me:$LINENO: result: yes" >&5
30778 echo "${ECHO_T}yes" >&6; }
30779
30780 cat >>confdefs.h <<\_ACEOF
30781 #define HAVE_PANGO_XFT 1
30782 _ACEOF
30783
30784 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30785 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30786 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30787
30788 fi
30789 save_LIBS="$LIBS"
30790 LIBS="$LIBS $PANGOX_LIBS"
30791
30792 for ac_func in pango_font_family_is_monospace
30793 do
30794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30795 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30797 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30798 echo $ECHO_N "(cached) $ECHO_C" >&6
30799 else
30800 cat >conftest.$ac_ext <<_ACEOF
30801 /* confdefs.h. */
30802 _ACEOF
30803 cat confdefs.h >>conftest.$ac_ext
30804 cat >>conftest.$ac_ext <<_ACEOF
30805 /* end confdefs.h. */
30806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30808 #define $ac_func innocuous_$ac_func
30809
30810 /* System header to define __stub macros and hopefully few prototypes,
30811 which can conflict with char $ac_func (); below.
30812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30813 <limits.h> exists even on freestanding compilers. */
30814
30815 #ifdef __STDC__
30816 # include <limits.h>
30817 #else
30818 # include <assert.h>
30819 #endif
30820
30821 #undef $ac_func
30822
30823 /* Override any GCC internal prototype to avoid an error.
30824 Use char because int might match the return type of a GCC
30825 builtin and then its argument prototype would still apply. */
30826 #ifdef __cplusplus
30827 extern "C"
30828 #endif
30829 char $ac_func ();
30830 /* The GNU C library defines this for functions which it implements
30831 to always fail with ENOSYS. Some functions are actually named
30832 something starting with __ and the normal name is an alias. */
30833 #if defined __stub_$ac_func || defined __stub___$ac_func
30834 choke me
30835 #endif
30836
30837 int
30838 main ()
30839 {
30840 return $ac_func ();
30841 ;
30842 return 0;
30843 }
30844 _ACEOF
30845 rm -f conftest.$ac_objext conftest$ac_exeext
30846 if { (ac_try="$ac_link"
30847 case "(($ac_try" in
30848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30849 *) ac_try_echo=$ac_try;;
30850 esac
30851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30852 (eval "$ac_link") 2>conftest.er1
30853 ac_status=$?
30854 grep -v '^ *+' conftest.er1 >conftest.err
30855 rm -f conftest.er1
30856 cat conftest.err >&5
30857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30858 (exit $ac_status); } && {
30859 test -z "$ac_c_werror_flag" ||
30860 test ! -s conftest.err
30861 } && test -s conftest$ac_exeext &&
30862 $as_test_x conftest$ac_exeext; then
30863 eval "$as_ac_var=yes"
30864 else
30865 echo "$as_me: failed program was:" >&5
30866 sed 's/^/| /' conftest.$ac_ext >&5
30867
30868 eval "$as_ac_var=no"
30869 fi
30870
30871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30872 conftest$ac_exeext conftest.$ac_ext
30873 fi
30874 ac_res=`eval echo '${'$as_ac_var'}'`
30875 { echo "$as_me:$LINENO: result: $ac_res" >&5
30876 echo "${ECHO_T}$ac_res" >&6; }
30877 if test `eval echo '${'$as_ac_var'}'` = yes; then
30878 cat >>confdefs.h <<_ACEOF
30879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30880 _ACEOF
30881
30882 fi
30883 done
30884
30885 LIBS="$save_LIBS"
30886 fi
30887
30888 wxUSE_UNIVERSAL="yes"
30889
30890 if test "$wxUSE_NANOX" = "yes"; then
30891 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30892 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"
30893 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30894 else
30895 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30896 fi
30897
30898 TOOLKIT=X11
30899 GUIDIST=X11_DIST
30900 fi
30901
30902 if test "$wxUSE_MOTIF" = 1; then
30903 if test "$wxUSE_UNICODE" = "yes"; then
30904 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30905 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30906 { (exit 1); exit 1; }; }
30907 fi
30908
30909 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30910 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30911
30912 ac_find_includes=
30913 for ac_dir in $SEARCH_INCLUDE /usr/include;
30914 do
30915 if test -f "$ac_dir/Xm/Xm.h"; then
30916 ac_find_includes=$ac_dir
30917 break
30918 fi
30919 done
30920
30921 if test "$ac_find_includes" != "" ; then
30922 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30923 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30924
30925 if test "x$ac_find_includes" = "x/usr/include"; then
30926 ac_path_to_include=""
30927 else
30928 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30929 result=$?
30930 if test $result = 0; then
30931 ac_path_to_include=""
30932 else
30933 ac_path_to_include=" -I$ac_find_includes"
30934 fi
30935 fi
30936
30937 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30938 else
30939 save_CFLAGS=$CFLAGS
30940 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30941
30942 cat >conftest.$ac_ext <<_ACEOF
30943 /* confdefs.h. */
30944 _ACEOF
30945 cat confdefs.h >>conftest.$ac_ext
30946 cat >>conftest.$ac_ext <<_ACEOF
30947 /* end confdefs.h. */
30948
30949 #include <Xm/Xm.h>
30950
30951 int
30952 main ()
30953 {
30954
30955 int version;
30956 version = xmUseVersion;
30957
30958 ;
30959 return 0;
30960 }
30961 _ACEOF
30962 rm -f conftest.$ac_objext
30963 if { (ac_try="$ac_compile"
30964 case "(($ac_try" in
30965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30966 *) ac_try_echo=$ac_try;;
30967 esac
30968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30969 (eval "$ac_compile") 2>conftest.er1
30970 ac_status=$?
30971 grep -v '^ *+' conftest.er1 >conftest.err
30972 rm -f conftest.er1
30973 cat conftest.err >&5
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); } && {
30976 test -z "$ac_c_werror_flag" ||
30977 test ! -s conftest.err
30978 } && test -s conftest.$ac_objext; then
30979
30980 { echo "$as_me:$LINENO: result: found in default search path" >&5
30981 echo "${ECHO_T}found in default search path" >&6; }
30982 COMPILED_X_PROGRAM=1
30983
30984 else
30985 echo "$as_me: failed program was:" >&5
30986 sed 's/^/| /' conftest.$ac_ext >&5
30987
30988
30989 { echo "$as_me:$LINENO: result: no" >&5
30990 echo "${ECHO_T}no" >&6; }
30991 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30992 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30993 { (exit 1); exit 1; }; }
30994
30995
30996 fi
30997
30998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30999
31000 CFLAGS=$save_CFLAGS
31001 fi
31002
31003
31004 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31005 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31006
31007 ac_find_libraries=
31008 for ac_dir in $SEARCH_LIB;
31009 do
31010 for ac_extension in a so sl dylib dll.a; do
31011 if test -f "$ac_dir/libXm.$ac_extension"; then
31012 ac_find_libraries=$ac_dir
31013 break 2
31014 fi
31015 done
31016 done
31017
31018
31019 if test "x$ac_find_libraries" != "x" ; then
31020 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31021 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31022
31023
31024 if test "$ac_find_libraries" = "default location"; then
31025 ac_path_to_link=""
31026 else
31027 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31028 result=$?
31029 if test $result = 0; then
31030 ac_path_to_link=""
31031 else
31032 ac_path_to_link=" -L$ac_find_libraries"
31033 fi
31034 fi
31035
31036 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31037 else
31038 save_CFLAGS=$CFLAGS
31039 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31040 save_LIBS="$LIBS"
31041 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31042
31043 cat >conftest.$ac_ext <<_ACEOF
31044 /* confdefs.h. */
31045 _ACEOF
31046 cat confdefs.h >>conftest.$ac_ext
31047 cat >>conftest.$ac_ext <<_ACEOF
31048 /* end confdefs.h. */
31049
31050 #include <Xm/Xm.h>
31051
31052 int
31053 main ()
31054 {
31055
31056 int version;
31057 version = xmUseVersion;
31058
31059 ;
31060 return 0;
31061 }
31062 _ACEOF
31063 rm -f conftest.$ac_objext conftest$ac_exeext
31064 if { (ac_try="$ac_link"
31065 case "(($ac_try" in
31066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31067 *) ac_try_echo=$ac_try;;
31068 esac
31069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31070 (eval "$ac_link") 2>conftest.er1
31071 ac_status=$?
31072 grep -v '^ *+' conftest.er1 >conftest.err
31073 rm -f conftest.er1
31074 cat conftest.err >&5
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); } && {
31077 test -z "$ac_c_werror_flag" ||
31078 test ! -s conftest.err
31079 } && test -s conftest$ac_exeext &&
31080 $as_test_x conftest$ac_exeext; then
31081
31082 { echo "$as_me:$LINENO: result: found in default search path" >&5
31083 echo "${ECHO_T}found in default search path" >&6; }
31084 COMPILED_X_PROGRAM=1
31085
31086 else
31087 echo "$as_me: failed program was:" >&5
31088 sed 's/^/| /' conftest.$ac_ext >&5
31089
31090
31091 { echo "$as_me:$LINENO: result: no" >&5
31092 echo "${ECHO_T}no" >&6; }
31093 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31094 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31095 { (exit 1); exit 1; }; }
31096
31097
31098 fi
31099
31100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31101 conftest$ac_exeext conftest.$ac_ext
31102
31103 CFLAGS=$save_CFLAGS
31104 LIBS="$save_LIBS"
31105 fi
31106
31107 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31108 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31109 libp_link=""
31110 libsm_ice_link=""
31111 libs_found=0
31112 for libp in "" " -lXp"; do
31113 if test "$libs_found" = "0"; then
31114 for libsm_ice in "" " -lSM -lICE"; do
31115 if test "$libs_found" = "0"; then
31116 save_LIBS="$LIBS"
31117 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31118 save_CFLAGS=$CFLAGS
31119 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31120
31121 cat >conftest.$ac_ext <<_ACEOF
31122 /* confdefs.h. */
31123 _ACEOF
31124 cat confdefs.h >>conftest.$ac_ext
31125 cat >>conftest.$ac_ext <<_ACEOF
31126 /* end confdefs.h. */
31127
31128 #include <Xm/Xm.h>
31129 #include <Xm/List.h>
31130
31131 int
31132 main ()
31133 {
31134
31135 XmString string = NULL;
31136 Widget w = NULL;
31137 int position = 0;
31138 XmListAddItem(w, string, position);
31139
31140 ;
31141 return 0;
31142 }
31143 _ACEOF
31144 rm -f conftest.$ac_objext conftest$ac_exeext
31145 if { (ac_try="$ac_link"
31146 case "(($ac_try" in
31147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31148 *) ac_try_echo=$ac_try;;
31149 esac
31150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31151 (eval "$ac_link") 2>conftest.er1
31152 ac_status=$?
31153 grep -v '^ *+' conftest.er1 >conftest.err
31154 rm -f conftest.er1
31155 cat conftest.err >&5
31156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31157 (exit $ac_status); } && {
31158 test -z "$ac_c_werror_flag" ||
31159 test ! -s conftest.err
31160 } && test -s conftest$ac_exeext &&
31161 $as_test_x conftest$ac_exeext; then
31162
31163 libp_link="$libp"
31164 libsm_ice_link="$libsm_ice"
31165 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31166 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31167 libs_found=1
31168
31169 else
31170 echo "$as_me: failed program was:" >&5
31171 sed 's/^/| /' conftest.$ac_ext >&5
31172
31173
31174
31175 fi
31176
31177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31178 conftest$ac_exeext conftest.$ac_ext
31179
31180 LIBS="$save_LIBS"
31181 CFLAGS=$save_CFLAGS
31182 fi
31183 done
31184 fi
31185 done
31186
31187 if test "$libs_found" = "0"; then
31188 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31189 echo "${ECHO_T}can't find the right libraries" >&6; }
31190 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31191 echo "$as_me: error: can't link a simple motif program" >&2;}
31192 { (exit 1); exit 1; }; }
31193 fi
31194
31195 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31196 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31197 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31198 echo $ECHO_N "(cached) $ECHO_C" >&6
31199 else
31200 ac_check_lib_save_LIBS=$LIBS
31201 LIBS="-lSgm $LIBS"
31202 cat >conftest.$ac_ext <<_ACEOF
31203 /* confdefs.h. */
31204 _ACEOF
31205 cat confdefs.h >>conftest.$ac_ext
31206 cat >>conftest.$ac_ext <<_ACEOF
31207 /* end confdefs.h. */
31208
31209 /* Override any GCC internal prototype to avoid an error.
31210 Use char because int might match the return type of a GCC
31211 builtin and then its argument prototype would still apply. */
31212 #ifdef __cplusplus
31213 extern "C"
31214 #endif
31215 char SgCreateList ();
31216 int
31217 main ()
31218 {
31219 return SgCreateList ();
31220 ;
31221 return 0;
31222 }
31223 _ACEOF
31224 rm -f conftest.$ac_objext conftest$ac_exeext
31225 if { (ac_try="$ac_link"
31226 case "(($ac_try" in
31227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31228 *) ac_try_echo=$ac_try;;
31229 esac
31230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31231 (eval "$ac_link") 2>conftest.er1
31232 ac_status=$?
31233 grep -v '^ *+' conftest.er1 >conftest.err
31234 rm -f conftest.er1
31235 cat conftest.err >&5
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); } && {
31238 test -z "$ac_c_werror_flag" ||
31239 test ! -s conftest.err
31240 } && test -s conftest$ac_exeext &&
31241 $as_test_x conftest$ac_exeext; then
31242 ac_cv_lib_Sgm_SgCreateList=yes
31243 else
31244 echo "$as_me: failed program was:" >&5
31245 sed 's/^/| /' conftest.$ac_ext >&5
31246
31247 ac_cv_lib_Sgm_SgCreateList=no
31248 fi
31249
31250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31251 conftest$ac_exeext conftest.$ac_ext
31252 LIBS=$ac_check_lib_save_LIBS
31253 fi
31254 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31255 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31256 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31257 libsgm_link=" -lSgm"
31258 fi
31259
31260
31261 save_CFLAGS=$CFLAGS
31262 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31263
31264 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31265 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31266 if test "${wx_cv_lib_motif2+set}" = set; then
31267 echo $ECHO_N "(cached) $ECHO_C" >&6
31268 else
31269 cat >conftest.$ac_ext <<_ACEOF
31270 /* confdefs.h. */
31271 _ACEOF
31272 cat confdefs.h >>conftest.$ac_ext
31273 cat >>conftest.$ac_ext <<_ACEOF
31274 /* end confdefs.h. */
31275
31276 #include <Xm/Xm.h>
31277
31278 int
31279 main ()
31280 {
31281
31282 #if XmVersion < 2000
31283 Not Motif 2
31284 #endif
31285
31286 ;
31287 return 0;
31288 }
31289 _ACEOF
31290 rm -f conftest.$ac_objext
31291 if { (ac_try="$ac_compile"
31292 case "(($ac_try" in
31293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31294 *) ac_try_echo=$ac_try;;
31295 esac
31296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31297 (eval "$ac_compile") 2>conftest.er1
31298 ac_status=$?
31299 grep -v '^ *+' conftest.er1 >conftest.err
31300 rm -f conftest.er1
31301 cat conftest.err >&5
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); } && {
31304 test -z "$ac_c_werror_flag" ||
31305 test ! -s conftest.err
31306 } && test -s conftest.$ac_objext; then
31307 wx_cv_lib_motif2="yes"
31308 else
31309 echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.$ac_ext >&5
31311
31312 wx_cv_lib_motif2="no"
31313 fi
31314
31315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31316 fi
31317 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31318 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31319 if test "$wx_cv_lib_motif2" = "yes"; then
31320 cat >>confdefs.h <<\_ACEOF
31321 #define __WXMOTIF20__ 1
31322 _ACEOF
31323
31324 else
31325 cat >>confdefs.h <<\_ACEOF
31326 #define __WXMOTIF20__ 0
31327 _ACEOF
31328
31329 fi
31330
31331 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31332 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31333 if test "${wx_cv_lib_lesstif+set}" = set; then
31334 echo $ECHO_N "(cached) $ECHO_C" >&6
31335 else
31336 cat >conftest.$ac_ext <<_ACEOF
31337 /* confdefs.h. */
31338 _ACEOF
31339 cat confdefs.h >>conftest.$ac_ext
31340 cat >>conftest.$ac_ext <<_ACEOF
31341 /* end confdefs.h. */
31342
31343 #include <Xm/Xm.h>
31344
31345 int
31346 main ()
31347 {
31348
31349 #if !defined(LesstifVersion) || LesstifVersion <= 0
31350 Not Lesstif
31351 #endif
31352
31353 ;
31354 return 0;
31355 }
31356 _ACEOF
31357 rm -f conftest.$ac_objext
31358 if { (ac_try="$ac_compile"
31359 case "(($ac_try" in
31360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31361 *) ac_try_echo=$ac_try;;
31362 esac
31363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31364 (eval "$ac_compile") 2>conftest.er1
31365 ac_status=$?
31366 grep -v '^ *+' conftest.er1 >conftest.err
31367 rm -f conftest.er1
31368 cat conftest.err >&5
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); } && {
31371 test -z "$ac_c_werror_flag" ||
31372 test ! -s conftest.err
31373 } && test -s conftest.$ac_objext; then
31374 wx_cv_lib_lesstif="yes"
31375 else
31376 echo "$as_me: failed program was:" >&5
31377 sed 's/^/| /' conftest.$ac_ext >&5
31378
31379 wx_cv_lib_lesstif="no"
31380 fi
31381
31382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31383
31384 fi
31385 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31386 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31387 if test "$wx_cv_lib_lesstif" = "yes"; then
31388 cat >>confdefs.h <<\_ACEOF
31389 #define __WXLESSTIF__ 1
31390 _ACEOF
31391
31392 else
31393 cat >>confdefs.h <<\_ACEOF
31394 #define __WXLESSTIF__ 0
31395 _ACEOF
31396
31397 fi
31398
31399 CFLAGS=$save_CFLAGS
31400
31401 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31402 TOOLKIT=MOTIF
31403 GUIDIST=MOTIF_DIST
31404 fi
31405
31406 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31407 if test "$wxUSE_LIBXPM" = "sys"; then
31408 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31409 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31410
31411 ac_find_libraries=
31412 for ac_dir in $SEARCH_LIB;
31413 do
31414 for ac_extension in a so sl dylib dll.a; do
31415 if test -f "$ac_dir/libXpm.$ac_extension"; then
31416 ac_find_libraries=$ac_dir
31417 break 2
31418 fi
31419 done
31420 done
31421
31422 if test "$ac_find_libraries" != "" ; then
31423
31424 if test "$ac_find_libraries" = "default location"; then
31425 ac_path_to_link=""
31426 else
31427 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31428 result=$?
31429 if test $result = 0; then
31430 ac_path_to_link=""
31431 else
31432 ac_path_to_link=" -L$ac_find_libraries"
31433 fi
31434 fi
31435
31436 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31437 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31438 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31439
31440 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31441 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31442 if test "${wx_cv_x11_xpm_h+set}" = set; then
31443 echo $ECHO_N "(cached) $ECHO_C" >&6
31444 else
31445
31446 save_CFLAGS=$CFLAGS
31447 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31448
31449 cat >conftest.$ac_ext <<_ACEOF
31450 /* confdefs.h. */
31451 _ACEOF
31452 cat confdefs.h >>conftest.$ac_ext
31453 cat >>conftest.$ac_ext <<_ACEOF
31454 /* end confdefs.h. */
31455
31456 #include <X11/xpm.h>
31457
31458 int
31459 main ()
31460 {
31461
31462 int version;
31463 version = XpmLibraryVersion();
31464
31465 ;
31466 return 0;
31467 }
31468 _ACEOF
31469 rm -f conftest.$ac_objext
31470 if { (ac_try="$ac_compile"
31471 case "(($ac_try" in
31472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31473 *) ac_try_echo=$ac_try;;
31474 esac
31475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31476 (eval "$ac_compile") 2>conftest.er1
31477 ac_status=$?
31478 grep -v '^ *+' conftest.er1 >conftest.err
31479 rm -f conftest.er1
31480 cat conftest.err >&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); } && {
31483 test -z "$ac_c_werror_flag" ||
31484 test ! -s conftest.err
31485 } && test -s conftest.$ac_objext; then
31486 wx_cv_x11_xpm_h=yes
31487 else
31488 echo "$as_me: failed program was:" >&5
31489 sed 's/^/| /' conftest.$ac_ext >&5
31490
31491 wx_cv_x11_xpm_h=no
31492
31493 fi
31494
31495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31496
31497 CFLAGS=$save_CFLAGS
31498
31499
31500 fi
31501 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31502 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31503
31504 if test $wx_cv_x11_xpm_h = "yes"; then
31505 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31506 cat >>confdefs.h <<\_ACEOF
31507 #define wxHAVE_LIB_XPM 1
31508 _ACEOF
31509
31510 else
31511 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31512 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31513 fi
31514 fi
31515
31516 fi
31517
31518 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31519 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31520 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31521 echo $ECHO_N "(cached) $ECHO_C" >&6
31522 else
31523 ac_check_lib_save_LIBS=$LIBS
31524 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31525 cat >conftest.$ac_ext <<_ACEOF
31526 /* confdefs.h. */
31527 _ACEOF
31528 cat confdefs.h >>conftest.$ac_ext
31529 cat >>conftest.$ac_ext <<_ACEOF
31530 /* end confdefs.h. */
31531
31532 /* Override any GCC internal prototype to avoid an error.
31533 Use char because int might match the return type of a GCC
31534 builtin and then its argument prototype would still apply. */
31535 #ifdef __cplusplus
31536 extern "C"
31537 #endif
31538 char XShapeQueryExtension ();
31539 int
31540 main ()
31541 {
31542 return XShapeQueryExtension ();
31543 ;
31544 return 0;
31545 }
31546 _ACEOF
31547 rm -f conftest.$ac_objext conftest$ac_exeext
31548 if { (ac_try="$ac_link"
31549 case "(($ac_try" in
31550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31551 *) ac_try_echo=$ac_try;;
31552 esac
31553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31554 (eval "$ac_link") 2>conftest.er1
31555 ac_status=$?
31556 grep -v '^ *+' conftest.er1 >conftest.err
31557 rm -f conftest.er1
31558 cat conftest.err >&5
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); } && {
31561 test -z "$ac_c_werror_flag" ||
31562 test ! -s conftest.err
31563 } && test -s conftest$ac_exeext &&
31564 $as_test_x conftest$ac_exeext; then
31565 ac_cv_lib_Xext_XShapeQueryExtension=yes
31566 else
31567 echo "$as_me: failed program was:" >&5
31568 sed 's/^/| /' conftest.$ac_ext >&5
31569
31570 ac_cv_lib_Xext_XShapeQueryExtension=no
31571 fi
31572
31573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31574 conftest$ac_exeext conftest.$ac_ext
31575 LIBS=$ac_check_lib_save_LIBS
31576 fi
31577 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31578 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31579 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31580
31581 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31582 wxHAVE_XEXT_LIB=1
31583
31584 fi
31585
31586
31587 if test "$wxHAVE_XEXT_LIB" = 1; then
31588 save_CFLAGS="$CFLAGS"
31589 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31590
31591 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31592 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31593 cat >conftest.$ac_ext <<_ACEOF
31594 /* confdefs.h. */
31595 _ACEOF
31596 cat confdefs.h >>conftest.$ac_ext
31597 cat >>conftest.$ac_ext <<_ACEOF
31598 /* end confdefs.h. */
31599
31600 #include <X11/Xlib.h>
31601 #include <X11/extensions/shape.h>
31602
31603 int
31604 main ()
31605 {
31606
31607 int dummy1, dummy2;
31608 XShapeQueryExtension((Display*)NULL,
31609 (int*)NULL, (int*)NULL);
31610
31611 ;
31612 return 0;
31613 }
31614 _ACEOF
31615 rm -f conftest.$ac_objext
31616 if { (ac_try="$ac_compile"
31617 case "(($ac_try" in
31618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31619 *) ac_try_echo=$ac_try;;
31620 esac
31621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31622 (eval "$ac_compile") 2>conftest.er1
31623 ac_status=$?
31624 grep -v '^ *+' conftest.er1 >conftest.err
31625 rm -f conftest.er1
31626 cat conftest.err >&5
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); } && {
31629 test -z "$ac_c_werror_flag" ||
31630 test ! -s conftest.err
31631 } && test -s conftest.$ac_objext; then
31632
31633 cat >>confdefs.h <<\_ACEOF
31634 #define HAVE_XSHAPE 1
31635 _ACEOF
31636
31637 { echo "$as_me:$LINENO: result: found" >&5
31638 echo "${ECHO_T}found" >&6; }
31639
31640 else
31641 echo "$as_me: failed program was:" >&5
31642 sed 's/^/| /' conftest.$ac_ext >&5
31643
31644
31645 { echo "$as_me:$LINENO: result: not found" >&5
31646 echo "${ECHO_T}not found" >&6; }
31647
31648 fi
31649
31650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31651 CFLAGS="$save_CFLAGS"
31652
31653 fi
31654 fi
31655
31656 if test "$wxUSE_MAC" = 1; then
31657 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31658 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31659 if test "$GCC" = yes; then
31660 { echo "$as_me:$LINENO: result: gcc" >&5
31661 echo "${ECHO_T}gcc" >&6; }
31662 CPPFLAGS_PASCAL="-fpascal-strings"
31663 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31664 { echo "$as_me:$LINENO: result: xlc" >&5
31665 echo "${ECHO_T}xlc" >&6; }
31666 CPPFLAGS_PASCAL="-qmacpstr"
31667 else
31668 { echo "$as_me:$LINENO: result: none" >&5
31669 echo "${ECHO_T}none" >&6; }
31670 fi
31671
31672 if test "x$wxUSE_UNIX" = "xyes"; then
31673 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31674 else
31675 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31676 fi
31677
31678 TOOLKIT=MAC
31679 GUIDIST=MACX_DIST
31680 WXBASEPORT="_carbon"
31681 fi
31682
31683 if test "$wxUSE_COCOA" = 1; then
31684 TOOLKIT=COCOA
31685 GUIDIST=COCOA_DIST
31686 fi
31687
31688 if test "$wxUSE_PM" = 1; then
31689 TOOLKIT=PM
31690 GUIDIST=PM_DIST
31691 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31692 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31693 if test "${wx_cv_spbcdata+set}" = set; then
31694 echo $ECHO_N "(cached) $ECHO_C" >&6
31695 else
31696
31697 cat >conftest.$ac_ext <<_ACEOF
31698 /* confdefs.h. */
31699 _ACEOF
31700 cat confdefs.h >>conftest.$ac_ext
31701 cat >>conftest.$ac_ext <<_ACEOF
31702 /* end confdefs.h. */
31703
31704 #define INCL_PM
31705 #include <os2.h>
31706
31707 int
31708 main ()
31709 {
31710
31711 SPBCDATA test;
31712
31713 ;
31714 return 0;
31715 }
31716 _ACEOF
31717 rm -f conftest.$ac_objext
31718 if { (ac_try="$ac_compile"
31719 case "(($ac_try" in
31720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31721 *) ac_try_echo=$ac_try;;
31722 esac
31723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31724 (eval "$ac_compile") 2>conftest.er1
31725 ac_status=$?
31726 grep -v '^ *+' conftest.er1 >conftest.err
31727 rm -f conftest.er1
31728 cat conftest.err >&5
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); } && {
31731 test -z "$ac_c_werror_flag" ||
31732 test ! -s conftest.err
31733 } && test -s conftest.$ac_objext; then
31734 wx_cv_spbcdata=yes
31735 else
31736 echo "$as_me: failed program was:" >&5
31737 sed 's/^/| /' conftest.$ac_ext >&5
31738
31739 wx_cv_spbcdata=no
31740
31741 fi
31742
31743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31744
31745
31746 fi
31747 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31748 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31749
31750 if test $wx_cv_spbcdata = "yes"; then
31751 cat >>confdefs.h <<\_ACEOF
31752 #define HAVE_SPBCDATA 1
31753 _ACEOF
31754
31755 fi
31756 fi
31757
31758 if test "$TOOLKIT" = "PM" ; then
31759 TOOLKIT_DIR="os2"
31760 else
31761 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31762 fi
31763
31764 if test "$wxUSE_UNIVERSAL" = "yes"; then
31765 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31766 WIDGET_SET=univ
31767 fi
31768
31769 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31770 DISTDIR="wx\$(TOOLKIT)"
31771 else
31772 USE_GUI=0
31773
31774 TOOLKIT_DIR="base"
31775
31776 if test "$USE_WIN32" = 1 ; then
31777 TOOLKIT="MSW"
31778 fi
31779
31780 GUIDIST="BASE_DIST"
31781 DISTDIR="wxBase"
31782 fi
31783
31784
31785
31786 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31787 if test "$TOOLKIT" = "DFB" ; then
31788 wxUSE_UNICODE_UTF8=yes
31789 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31790 wxUSE_UNICODE_UTF8=yes
31791 elif test "$USE_OS2" = "1" ; then
31792 wxUSE_UNICODE_UTF8=yes
31793 else
31794 wxUSE_UNICODE_UTF8=no
31795 fi
31796 fi
31797
31798
31799 if test "$wxUSE_GUI" = "yes"; then
31800 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31801 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31802 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31803 if test "${ac_cv_header_X11_Xlib_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
31814 #include <X11/Xlib.h>
31815 _ACEOF
31816 rm -f conftest.$ac_objext
31817 if { (ac_try="$ac_compile"
31818 case "(($ac_try" in
31819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31820 *) ac_try_echo=$ac_try;;
31821 esac
31822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31823 (eval "$ac_compile") 2>conftest.er1
31824 ac_status=$?
31825 grep -v '^ *+' conftest.er1 >conftest.err
31826 rm -f conftest.er1
31827 cat conftest.err >&5
31828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31829 (exit $ac_status); } && {
31830 test -z "$ac_c_werror_flag" ||
31831 test ! -s conftest.err
31832 } && test -s conftest.$ac_objext; then
31833 ac_cv_header_X11_Xlib_h=yes
31834 else
31835 echo "$as_me: failed program was:" >&5
31836 sed 's/^/| /' conftest.$ac_ext >&5
31837
31838 ac_cv_header_X11_Xlib_h=no
31839 fi
31840
31841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31842 fi
31843 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31844 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31845
31846
31847 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31848 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31849 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31850 echo $ECHO_N "(cached) $ECHO_C" >&6
31851 else
31852 cat >conftest.$ac_ext <<_ACEOF
31853 /* confdefs.h. */
31854 _ACEOF
31855 cat confdefs.h >>conftest.$ac_ext
31856 cat >>conftest.$ac_ext <<_ACEOF
31857 /* end confdefs.h. */
31858
31859 #if HAVE_X11_XLIB_H
31860 #include <X11/Xlib.h>
31861 #endif
31862
31863
31864 #include <X11/XKBlib.h>
31865 _ACEOF
31866 rm -f conftest.$ac_objext
31867 if { (ac_try="$ac_compile"
31868 case "(($ac_try" in
31869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31870 *) ac_try_echo=$ac_try;;
31871 esac
31872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31873 (eval "$ac_compile") 2>conftest.er1
31874 ac_status=$?
31875 grep -v '^ *+' conftest.er1 >conftest.err
31876 rm -f conftest.er1
31877 cat conftest.err >&5
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); } && {
31880 test -z "$ac_c_werror_flag" ||
31881 test ! -s conftest.err
31882 } && test -s conftest.$ac_objext; then
31883 ac_cv_header_X11_XKBlib_h=yes
31884 else
31885 echo "$as_me: failed program was:" >&5
31886 sed 's/^/| /' conftest.$ac_ext >&5
31887
31888 ac_cv_header_X11_XKBlib_h=no
31889 fi
31890
31891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31892 fi
31893 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31894 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31895
31896
31897 fi
31898 fi
31899
31900
31901
31902 IODBC_C_SRC=""
31903
31904
31905 if test "$TOOLKIT" != "MSW" ; then
31906
31907 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31908
31909 { echo "$as_me:$LINENO: checking for sql.h" >&5
31910 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31911 if test "${ac_cv_header_sql_h+set}" = set; then
31912 echo $ECHO_N "(cached) $ECHO_C" >&6
31913 else
31914 cat >conftest.$ac_ext <<_ACEOF
31915 /* confdefs.h. */
31916 _ACEOF
31917 cat confdefs.h >>conftest.$ac_ext
31918 cat >>conftest.$ac_ext <<_ACEOF
31919 /* end confdefs.h. */
31920
31921
31922 #include <sql.h>
31923 _ACEOF
31924 rm -f conftest.$ac_objext
31925 if { (ac_try="$ac_compile"
31926 case "(($ac_try" in
31927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31928 *) ac_try_echo=$ac_try;;
31929 esac
31930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31931 (eval "$ac_compile") 2>conftest.er1
31932 ac_status=$?
31933 grep -v '^ *+' conftest.er1 >conftest.err
31934 rm -f conftest.er1
31935 cat conftest.err >&5
31936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937 (exit $ac_status); } && {
31938 test -z "$ac_c_werror_flag" ||
31939 test ! -s conftest.err
31940 } && test -s conftest.$ac_objext; then
31941 ac_cv_header_sql_h=yes
31942 else
31943 echo "$as_me: failed program was:" >&5
31944 sed 's/^/| /' conftest.$ac_ext >&5
31945
31946 ac_cv_header_sql_h=no
31947 fi
31948
31949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31950 fi
31951 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31952 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31953 if test $ac_cv_header_sql_h = yes; then
31954 found_sql_h=1
31955 fi
31956
31957
31958 if test "x$found_sql_h" = "x1" ; then
31959 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31960 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31961 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31962 echo $ECHO_N "(cached) $ECHO_C" >&6
31963 else
31964 ac_check_lib_save_LIBS=$LIBS
31965 LIBS="-liodbc $LIBS"
31966 cat >conftest.$ac_ext <<_ACEOF
31967 /* confdefs.h. */
31968 _ACEOF
31969 cat confdefs.h >>conftest.$ac_ext
31970 cat >>conftest.$ac_ext <<_ACEOF
31971 /* end confdefs.h. */
31972
31973 /* Override any GCC internal prototype to avoid an error.
31974 Use char because int might match the return type of a GCC
31975 builtin and then its argument prototype would still apply. */
31976 #ifdef __cplusplus
31977 extern "C"
31978 #endif
31979 char SQLAllocEnv ();
31980 int
31981 main ()
31982 {
31983 return SQLAllocEnv ();
31984 ;
31985 return 0;
31986 }
31987 _ACEOF
31988 rm -f conftest.$ac_objext conftest$ac_exeext
31989 if { (ac_try="$ac_link"
31990 case "(($ac_try" in
31991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31992 *) ac_try_echo=$ac_try;;
31993 esac
31994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31995 (eval "$ac_link") 2>conftest.er1
31996 ac_status=$?
31997 grep -v '^ *+' conftest.er1 >conftest.err
31998 rm -f conftest.er1
31999 cat conftest.err >&5
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); } && {
32002 test -z "$ac_c_werror_flag" ||
32003 test ! -s conftest.err
32004 } && test -s conftest$ac_exeext &&
32005 $as_test_x conftest$ac_exeext; then
32006 ac_cv_lib_iodbc_SQLAllocEnv=yes
32007 else
32008 echo "$as_me: failed program was:" >&5
32009 sed 's/^/| /' conftest.$ac_ext >&5
32010
32011 ac_cv_lib_iodbc_SQLAllocEnv=no
32012 fi
32013
32014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32015 conftest$ac_exeext conftest.$ac_ext
32016 LIBS=$ac_check_lib_save_LIBS
32017 fi
32018 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32019 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
32020 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32021 ODBC_LINK=" -liodbc"
32022 else
32023
32024 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32025 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
32026 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32027 echo $ECHO_N "(cached) $ECHO_C" >&6
32028 else
32029 ac_check_lib_save_LIBS=$LIBS
32030 LIBS="-lunixodbc $LIBS"
32031 cat >conftest.$ac_ext <<_ACEOF
32032 /* confdefs.h. */
32033 _ACEOF
32034 cat confdefs.h >>conftest.$ac_ext
32035 cat >>conftest.$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037
32038 /* Override any GCC internal prototype to avoid an error.
32039 Use char because int might match the return type of a GCC
32040 builtin and then its argument prototype would still apply. */
32041 #ifdef __cplusplus
32042 extern "C"
32043 #endif
32044 char SQLAllocEnv ();
32045 int
32046 main ()
32047 {
32048 return SQLAllocEnv ();
32049 ;
32050 return 0;
32051 }
32052 _ACEOF
32053 rm -f conftest.$ac_objext conftest$ac_exeext
32054 if { (ac_try="$ac_link"
32055 case "(($ac_try" in
32056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32057 *) ac_try_echo=$ac_try;;
32058 esac
32059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32060 (eval "$ac_link") 2>conftest.er1
32061 ac_status=$?
32062 grep -v '^ *+' conftest.er1 >conftest.err
32063 rm -f conftest.er1
32064 cat conftest.err >&5
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); } && {
32067 test -z "$ac_c_werror_flag" ||
32068 test ! -s conftest.err
32069 } && test -s conftest$ac_exeext &&
32070 $as_test_x conftest$ac_exeext; then
32071 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32072 else
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.$ac_ext >&5
32075
32076 ac_cv_lib_unixodbc_SQLAllocEnv=no
32077 fi
32078
32079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32080 conftest$ac_exeext conftest.$ac_ext
32081 LIBS=$ac_check_lib_save_LIBS
32082 fi
32083 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32084 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
32085 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32086 ODBC_LINK=" -lunixodbc"
32087 else
32088
32089 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32090 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
32091 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32092 echo $ECHO_N "(cached) $ECHO_C" >&6
32093 else
32094 ac_check_lib_save_LIBS=$LIBS
32095 LIBS="-lodbc $LIBS"
32096 cat >conftest.$ac_ext <<_ACEOF
32097 /* confdefs.h. */
32098 _ACEOF
32099 cat confdefs.h >>conftest.$ac_ext
32100 cat >>conftest.$ac_ext <<_ACEOF
32101 /* end confdefs.h. */
32102
32103 /* Override any GCC internal prototype to avoid an error.
32104 Use char because int might match the return type of a GCC
32105 builtin and then its argument prototype would still apply. */
32106 #ifdef __cplusplus
32107 extern "C"
32108 #endif
32109 char SQLAllocEnv ();
32110 int
32111 main ()
32112 {
32113 return SQLAllocEnv ();
32114 ;
32115 return 0;
32116 }
32117 _ACEOF
32118 rm -f conftest.$ac_objext conftest$ac_exeext
32119 if { (ac_try="$ac_link"
32120 case "(($ac_try" in
32121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32122 *) ac_try_echo=$ac_try;;
32123 esac
32124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32125 (eval "$ac_link") 2>conftest.er1
32126 ac_status=$?
32127 grep -v '^ *+' conftest.er1 >conftest.err
32128 rm -f conftest.er1
32129 cat conftest.err >&5
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); } && {
32132 test -z "$ac_c_werror_flag" ||
32133 test ! -s conftest.err
32134 } && test -s conftest$ac_exeext &&
32135 $as_test_x conftest$ac_exeext; then
32136 ac_cv_lib_odbc_SQLAllocEnv=yes
32137 else
32138 echo "$as_me: failed program was:" >&5
32139 sed 's/^/| /' conftest.$ac_ext >&5
32140
32141 ac_cv_lib_odbc_SQLAllocEnv=no
32142 fi
32143
32144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32145 conftest$ac_exeext conftest.$ac_ext
32146 LIBS=$ac_check_lib_save_LIBS
32147 fi
32148 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32149 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
32150 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32151 ODBC_LINK=" -lodbc"
32152 fi
32153
32154
32155 fi
32156
32157
32158 fi
32159
32160 fi
32161 if test "x$ODBC_LINK" = "x" ; then
32162 if test "$wxUSE_ODBC" = "sys" ; then
32163 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32164 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32165 { (exit 1); exit 1; }; }
32166 else
32167 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32168 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32169 wxUSE_ODBC=builtin
32170 fi
32171 else
32172 wxUSE_ODBC=sys
32173 fi
32174 fi
32175
32176 if test "$wxUSE_ODBC" = "builtin" ; then
32177 cat >>confdefs.h <<\_ACEOF
32178 #define wxUSE_BUILTIN_IODBC 1
32179 _ACEOF
32180
32181 fi
32182 fi
32183
32184 if test "$wxUSE_ODBC" != "no" ; then
32185 cat >>confdefs.h <<\_ACEOF
32186 #define wxUSE_ODBC 1
32187 _ACEOF
32188
32189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32190
32191 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32192 fi
32193
32194
32195 if test "$wxUSE_DISPLAY" = "yes"; then
32196 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32197 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32198 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32199
32200 ac_find_libraries=
32201 for ac_dir in $SEARCH_LIB;
32202 do
32203 for ac_extension in a so sl dylib dll.a; do
32204 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32205 ac_find_libraries=$ac_dir
32206 break 2
32207 fi
32208 done
32209 done
32210
32211 if test "$ac_find_libraries" != "" ; then
32212
32213 if test "$ac_find_libraries" = "default location"; then
32214 ac_path_to_link=""
32215 else
32216 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32217 result=$?
32218 if test $result = 0; then
32219 ac_path_to_link=""
32220 else
32221 ac_path_to_link=" -L$ac_find_libraries"
32222 fi
32223 fi
32224
32225 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32226 LDFLAGS="$LDFLAGS $ac_path_to_link"
32227 fi
32228 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32229 { echo "$as_me:$LINENO: result: yes" >&5
32230 echo "${ECHO_T}yes" >&6; }
32231
32232 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32233 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32234
32235 ac_find_libraries=
32236 for ac_dir in $SEARCH_LIB;
32237 do
32238 for ac_extension in a so sl dylib dll.a; do
32239 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32240 ac_find_libraries=$ac_dir
32241 break 2
32242 fi
32243 done
32244 done
32245
32246 if test "$ac_find_libraries" != "" ; then
32247 { echo "$as_me:$LINENO: result: yes" >&5
32248 echo "${ECHO_T}yes" >&6; }
32249 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32250 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32251 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32252 echo $ECHO_N "(cached) $ECHO_C" >&6
32253 else
32254 cat >conftest.$ac_ext <<_ACEOF
32255 /* confdefs.h. */
32256 _ACEOF
32257 cat confdefs.h >>conftest.$ac_ext
32258 cat >>conftest.$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32260
32261 #if HAVE_X11_XLIB_H
32262 #include <X11/Xlib.h>
32263 #endif
32264
32265
32266 #include <X11/extensions/xf86vmode.h>
32267 _ACEOF
32268 rm -f conftest.$ac_objext
32269 if { (ac_try="$ac_compile"
32270 case "(($ac_try" in
32271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32272 *) ac_try_echo=$ac_try;;
32273 esac
32274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32275 (eval "$ac_compile") 2>conftest.er1
32276 ac_status=$?
32277 grep -v '^ *+' conftest.er1 >conftest.err
32278 rm -f conftest.er1
32279 cat conftest.err >&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); } && {
32282 test -z "$ac_c_werror_flag" ||
32283 test ! -s conftest.err
32284 } && test -s conftest.$ac_objext; then
32285 ac_cv_header_X11_extensions_xf86vmode_h=yes
32286 else
32287 echo "$as_me: failed program was:" >&5
32288 sed 's/^/| /' conftest.$ac_ext >&5
32289
32290 ac_cv_header_X11_extensions_xf86vmode_h=no
32291 fi
32292
32293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32294 fi
32295 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32296 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32297 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32298
32299 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32300
32301 fi
32302
32303
32304 else
32305 { echo "$as_me:$LINENO: result: no" >&5
32306 echo "${ECHO_T}no" >&6; }
32307 fi
32308
32309 else
32310 { echo "$as_me:$LINENO: result: no" >&5
32311 echo "${ECHO_T}no" >&6; }
32312 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32313 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32314 wxUSE_DISPLAY="no"
32315 fi
32316 elif test "$wxUSE_MSW" = 1; then
32317 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32318 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32319 if test "${ac_cv_header_ddraw_h+set}" = set; then
32320 echo $ECHO_N "(cached) $ECHO_C" >&6
32321 else
32322 cat >conftest.$ac_ext <<_ACEOF
32323 /* confdefs.h. */
32324 _ACEOF
32325 cat confdefs.h >>conftest.$ac_ext
32326 cat >>conftest.$ac_ext <<_ACEOF
32327 /* end confdefs.h. */
32328 #include <windows.h>
32329
32330 #include <ddraw.h>
32331 _ACEOF
32332 rm -f conftest.$ac_objext
32333 if { (ac_try="$ac_compile"
32334 case "(($ac_try" in
32335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32336 *) ac_try_echo=$ac_try;;
32337 esac
32338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32339 (eval "$ac_compile") 2>conftest.er1
32340 ac_status=$?
32341 grep -v '^ *+' conftest.er1 >conftest.err
32342 rm -f conftest.er1
32343 cat conftest.err >&5
32344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32345 (exit $ac_status); } && {
32346 test -z "$ac_c_werror_flag" ||
32347 test ! -s conftest.err
32348 } && test -s conftest.$ac_objext; then
32349 ac_cv_header_ddraw_h=yes
32350 else
32351 echo "$as_me: failed program was:" >&5
32352 sed 's/^/| /' conftest.$ac_ext >&5
32353
32354 ac_cv_header_ddraw_h=no
32355 fi
32356
32357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32358 fi
32359 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32360 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32361
32362
32363 fi
32364 fi
32365
32366 if test "$wxUSE_DETECT_SM" = "yes"; then
32367 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32368 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32369 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32370
32371 ac_find_libraries=
32372 for ac_dir in $SEARCH_LIB;
32373 do
32374 for ac_extension in a so sl dylib dll.a; do
32375 if test -f "$ac_dir/libSM.$ac_extension"; then
32376 ac_find_libraries=$ac_dir
32377 break 2
32378 fi
32379 done
32380 done
32381
32382 if test "$ac_find_libraries" != "" ; then
32383
32384 if test "$ac_find_libraries" = "default location"; then
32385 ac_path_to_link=""
32386 else
32387 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32388 result=$?
32389 if test $result = 0; then
32390 ac_path_to_link=""
32391 else
32392 ac_path_to_link=" -L$ac_find_libraries"
32393 fi
32394 fi
32395
32396 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32397 LDFLAGS="$LDFLAGS $ac_path_to_link"
32398 fi
32399 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32400 { echo "$as_me:$LINENO: result: yes" >&5
32401 echo "${ECHO_T}yes" >&6; }
32402 else
32403 { echo "$as_me:$LINENO: result: no" >&5
32404 echo "${ECHO_T}no" >&6; }
32405 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32406 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32407 wxUSE_DETECT_SM="no"
32408 fi
32409 else
32410 wxUSE_DETECT_SM="no"
32411 fi
32412 fi
32413
32414
32415
32416 USE_OPENGL=0
32417 if test "$wxUSE_OPENGL" = "yes"; then
32418 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32419 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32420 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32421 wxUSE_OPENGL="no"
32422 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32423 OPENGL_LIBS="-framework OpenGL -framework AGL"
32424 elif test "$wxUSE_MSW" = 1; then
32425 OPENGL_LIBS="-lopengl32 -lglu32"
32426 else
32427 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32428 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32429
32430 ac_find_includes=
32431 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32432 do
32433 if test -f "$ac_dir/GL/gl.h"; then
32434 ac_find_includes=$ac_dir
32435 break
32436 fi
32437 done
32438
32439 if test "$ac_find_includes" != "" ; then
32440 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32441 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32442
32443 if test "x$ac_find_includes" = "x/usr/include"; then
32444 ac_path_to_include=""
32445 else
32446 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32447 result=$?
32448 if test $result = 0; then
32449 ac_path_to_include=""
32450 else
32451 ac_path_to_include=" -I$ac_find_includes"
32452 fi
32453 fi
32454
32455 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32456 else
32457 { echo "$as_me:$LINENO: result: not found" >&5
32458 echo "${ECHO_T}not found" >&6; }
32459 fi
32460
32461 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32462 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32463 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32464 echo $ECHO_N "(cached) $ECHO_C" >&6
32465 else
32466 cat >conftest.$ac_ext <<_ACEOF
32467 /* confdefs.h. */
32468 _ACEOF
32469 cat confdefs.h >>conftest.$ac_ext
32470 cat >>conftest.$ac_ext <<_ACEOF
32471 /* end confdefs.h. */
32472
32473
32474 #include <GL/gl.h>
32475 _ACEOF
32476 rm -f conftest.$ac_objext
32477 if { (ac_try="$ac_compile"
32478 case "(($ac_try" in
32479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32480 *) ac_try_echo=$ac_try;;
32481 esac
32482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32483 (eval "$ac_compile") 2>conftest.er1
32484 ac_status=$?
32485 grep -v '^ *+' conftest.er1 >conftest.err
32486 rm -f conftest.er1
32487 cat conftest.err >&5
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); } && {
32490 test -z "$ac_c_werror_flag" ||
32491 test ! -s conftest.err
32492 } && test -s conftest.$ac_objext; then
32493 ac_cv_header_GL_gl_h=yes
32494 else
32495 echo "$as_me: failed program was:" >&5
32496 sed 's/^/| /' conftest.$ac_ext >&5
32497
32498 ac_cv_header_GL_gl_h=no
32499 fi
32500
32501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32502 fi
32503 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32504 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32505 if test $ac_cv_header_GL_gl_h = yes; then
32506
32507 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32508 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32509 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32510 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32511 echo $ECHO_N "(cached) $ECHO_C" >&6
32512 fi
32513 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32514 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32515 else
32516 # Is the header compilable?
32517 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32518 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32519 cat >conftest.$ac_ext <<_ACEOF
32520 /* confdefs.h. */
32521 _ACEOF
32522 cat confdefs.h >>conftest.$ac_ext
32523 cat >>conftest.$ac_ext <<_ACEOF
32524 /* end confdefs.h. */
32525 $ac_includes_default
32526 #include <GL/glu.h>
32527 _ACEOF
32528 rm -f conftest.$ac_objext
32529 if { (ac_try="$ac_compile"
32530 case "(($ac_try" in
32531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32532 *) ac_try_echo=$ac_try;;
32533 esac
32534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32535 (eval "$ac_compile") 2>conftest.er1
32536 ac_status=$?
32537 grep -v '^ *+' conftest.er1 >conftest.err
32538 rm -f conftest.er1
32539 cat conftest.err >&5
32540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32541 (exit $ac_status); } && {
32542 test -z "$ac_c_werror_flag" ||
32543 test ! -s conftest.err
32544 } && test -s conftest.$ac_objext; then
32545 ac_header_compiler=yes
32546 else
32547 echo "$as_me: failed program was:" >&5
32548 sed 's/^/| /' conftest.$ac_ext >&5
32549
32550 ac_header_compiler=no
32551 fi
32552
32553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32554 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32555 echo "${ECHO_T}$ac_header_compiler" >&6; }
32556
32557 # Is the header present?
32558 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32559 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32560 cat >conftest.$ac_ext <<_ACEOF
32561 /* confdefs.h. */
32562 _ACEOF
32563 cat confdefs.h >>conftest.$ac_ext
32564 cat >>conftest.$ac_ext <<_ACEOF
32565 /* end confdefs.h. */
32566 #include <GL/glu.h>
32567 _ACEOF
32568 if { (ac_try="$ac_cpp conftest.$ac_ext"
32569 case "(($ac_try" in
32570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32571 *) ac_try_echo=$ac_try;;
32572 esac
32573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32575 ac_status=$?
32576 grep -v '^ *+' conftest.er1 >conftest.err
32577 rm -f conftest.er1
32578 cat conftest.err >&5
32579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580 (exit $ac_status); } >/dev/null && {
32581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32582 test ! -s conftest.err
32583 }; then
32584 ac_header_preproc=yes
32585 else
32586 echo "$as_me: failed program was:" >&5
32587 sed 's/^/| /' conftest.$ac_ext >&5
32588
32589 ac_header_preproc=no
32590 fi
32591
32592 rm -f conftest.err conftest.$ac_ext
32593 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32594 echo "${ECHO_T}$ac_header_preproc" >&6; }
32595
32596 # So? What about this header?
32597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32598 yes:no: )
32599 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32600 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32601 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32602 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32603 ac_header_preproc=yes
32604 ;;
32605 no:yes:* )
32606 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32607 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32608 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32609 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32610 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32611 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32612 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32613 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32614 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32615 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32616 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32617 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32618 ( cat <<\_ASBOX
32619 ## ----------------------------------------- ##
32620 ## Report this to wx-dev@lists.wxwidgets.org ##
32621 ## ----------------------------------------- ##
32622 _ASBOX
32623 ) | sed "s/^/$as_me: WARNING: /" >&2
32624 ;;
32625 esac
32626 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32627 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32628 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32629 echo $ECHO_N "(cached) $ECHO_C" >&6
32630 else
32631 ac_cv_header_GL_glu_h=$ac_header_preproc
32632 fi
32633 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32634 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32635
32636 fi
32637 if test $ac_cv_header_GL_glu_h = yes; then
32638
32639 found_gl=0
32640
32641 { echo "$as_me:$LINENO: checking for -lGL" >&5
32642 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32643
32644 ac_find_libraries=
32645 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32646 do
32647 for ac_extension in a so sl dylib dll.a; do
32648 if test -f "$ac_dir/libGL.$ac_extension"; then
32649 ac_find_libraries=$ac_dir
32650 break 2
32651 fi
32652 done
32653 done
32654
32655 if test "$ac_find_libraries" != "" ; then
32656 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32657 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32658
32659
32660 if test "$ac_find_libraries" = "default location"; then
32661 ac_path_to_link=""
32662 else
32663 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32664 result=$?
32665 if test $result = 0; then
32666 ac_path_to_link=""
32667 else
32668 ac_path_to_link=" -L$ac_find_libraries"
32669 fi
32670 fi
32671
32672 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32673 LDFLAGS_GL="$ac_path_to_link"
32674 fi
32675
32676 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32677 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32678
32679 ac_find_libraries=
32680 for ac_dir in $SEARCH_LIB;
32681 do
32682 for ac_extension in a so sl dylib dll.a; do
32683 if test -f "$ac_dir/libGLU.$ac_extension"; then
32684 ac_find_libraries=$ac_dir
32685 break 2
32686 fi
32687 done
32688 done
32689
32690 if test "$ac_find_libraries" != "" ; then
32691
32692 if test "$ac_find_libraries" = "default location"; then
32693 ac_path_to_link=""
32694 else
32695 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32696 result=$?
32697 if test $result = 0; then
32698 ac_path_to_link=""
32699 else
32700 ac_path_to_link=" -L$ac_find_libraries"
32701 fi
32702 fi
32703
32704 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32705 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32706 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32707 fi
32708
32709 found_gl=1
32710 OPENGL_LIBS="-lGL -lGLU"
32711 { echo "$as_me:$LINENO: result: yes" >&5
32712 echo "${ECHO_T}yes" >&6; }
32713 else
32714 { echo "$as_me:$LINENO: result: no" >&5
32715 echo "${ECHO_T}no" >&6; }
32716 fi
32717 else
32718 { echo "$as_me:$LINENO: result: no" >&5
32719 echo "${ECHO_T}no" >&6; }
32720 fi
32721
32722 if test "$found_gl" != 1; then
32723 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32724 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32725
32726 ac_find_libraries=
32727 for ac_dir in $SEARCH_LIB;
32728 do
32729 for ac_extension in a so sl dylib dll.a; do
32730 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32731 ac_find_libraries=$ac_dir
32732 break 2
32733 fi
32734 done
32735 done
32736
32737 if test "$ac_find_libraries" != "" ; then
32738
32739 if test "$ac_find_libraries" = "default location"; then
32740 ac_path_to_link=""
32741 else
32742 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32743 result=$?
32744 if test $result = 0; then
32745 ac_path_to_link=""
32746 else
32747 ac_path_to_link=" -L$ac_find_libraries"
32748 fi
32749 fi
32750
32751 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32752 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32753 { echo "$as_me:$LINENO: result: yes" >&5
32754 echo "${ECHO_T}yes" >&6; }
32755 else
32756 { echo "$as_me:$LINENO: result: no" >&5
32757 echo "${ECHO_T}no" >&6; }
32758 fi
32759 fi
32760
32761 fi
32762
32763
32764
32765 fi
32766
32767
32768
32769 if test "x$OPENGL_LIBS" = "x"; then
32770 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32771 echo "$as_me: error: OpenGL libraries not available" >&2;}
32772 { (exit 1); exit 1; }; }
32773 fi
32774 fi
32775
32776 if test "$wxUSE_OPENGL" = "yes"; then
32777 USE_OPENGL=1
32778 cat >>confdefs.h <<\_ACEOF
32779 #define wxUSE_OPENGL 1
32780 _ACEOF
32781
32782 cat >>confdefs.h <<\_ACEOF
32783 #define wxUSE_GLCANVAS 1
32784 _ACEOF
32785
32786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32787 fi
32788 fi
32789
32790
32791 if test -n "$TOOLKIT" ; then
32792 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32793 fi
32794
32795
32796
32797 if test "$wxUSE_SHARED" = "yes"; then
32798 case "${host}" in
32799 *-pc-msdosdjgpp )
32800 wxUSE_SHARED=no
32801 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32802 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32803 ;;
32804 esac
32805 fi
32806
32807 if test "$wxUSE_SHARED" = "yes"; then
32808
32809
32810 case "${host}" in
32811 *-*-cygwin* | *-*-mingw* )
32812 wx_cv_version_script=no
32813 ;;
32814
32815 *)
32816 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32817 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32818 if test "${wx_cv_version_script+set}" = set; then
32819 echo $ECHO_N "(cached) $ECHO_C" >&6
32820 else
32821
32822 echo "VER_1 { *; };" >conftest.sym
32823 echo "int main() { return 0; }" >conftest.cpp
32824
32825 if { ac_try='
32826 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32827 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32829 (eval $ac_try) 2>&5
32830 ac_status=$?
32831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32832 (exit $ac_status); }; } ; then
32833 if test -s conftest.stderr ; then
32834 wx_cv_version_script=no
32835 else
32836 wx_cv_version_script=yes
32837 fi
32838 else
32839 wx_cv_version_script=no
32840 fi
32841
32842 if test $wx_cv_version_script = yes
32843 then
32844 echo "struct B { virtual ~B() { } }; \
32845 struct D : public B { }; \
32846 void F() { D d; }" > conftest.cpp
32847
32848 if { ac_try='
32849 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32850 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32852 (eval $ac_try) 2>&5
32853 ac_status=$?
32854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32855 (exit $ac_status); }; } &&
32856 { ac_try='
32857 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32858 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32860 (eval $ac_try) 2>&5
32861 ac_status=$?
32862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32863 (exit $ac_status); }; }
32864 then
32865 if { ac_try='
32866 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32867 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32869 (eval $ac_try) 2>&5
32870 ac_status=$?
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); }; }
32873 then
32874 wx_cv_version_script=yes
32875 else
32876 wx_cv_version_script=no
32877 fi
32878 fi
32879 fi
32880
32881 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32882 rm -f conftest1.output conftest2.output conftest3.output
32883
32884 fi
32885 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32886 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32887
32888 if test $wx_cv_version_script = yes ; then
32889 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32890 fi
32891 ;;
32892 esac
32893
32894
32895 case "${host}" in
32896 *-*-linux* | *-*-gnu* )
32897 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32898 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32899 ;;
32900
32901 *-*-solaris2* )
32902 if test "$GCC" = yes ; then
32903 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32904
32905 saveLdflags="$LDFLAGS"
32906 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32907 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32908 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32909 cat >conftest.$ac_ext <<_ACEOF
32910 /* confdefs.h. */
32911 _ACEOF
32912 cat confdefs.h >>conftest.$ac_ext
32913 cat >>conftest.$ac_ext <<_ACEOF
32914 /* end confdefs.h. */
32915
32916 int
32917 main ()
32918 {
32919
32920 ;
32921 return 0;
32922 }
32923 _ACEOF
32924 rm -f conftest.$ac_objext conftest$ac_exeext
32925 if { (ac_try="$ac_link"
32926 case "(($ac_try" in
32927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32928 *) ac_try_echo=$ac_try;;
32929 esac
32930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32931 (eval "$ac_link") 2>conftest.er1
32932 ac_status=$?
32933 grep -v '^ *+' conftest.er1 >conftest.err
32934 rm -f conftest.er1
32935 cat conftest.err >&5
32936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32937 (exit $ac_status); } && {
32938 test -z "$ac_c_werror_flag" ||
32939 test ! -s conftest.err
32940 } && test -s conftest$ac_exeext &&
32941 $as_test_x conftest$ac_exeext; then
32942
32943 { echo "$as_me:$LINENO: result: yes" >&5
32944 echo "${ECHO_T}yes" >&6; }
32945 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32946 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32947
32948 else
32949 echo "$as_me: failed program was:" >&5
32950 sed 's/^/| /' conftest.$ac_ext >&5
32951
32952
32953 { echo "$as_me:$LINENO: result: no" >&5
32954 echo "${ECHO_T}no" >&6; }
32955 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32956 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32957 LDFLAGS="$saveLdflags -Wl,-R,/"
32958 cat >conftest.$ac_ext <<_ACEOF
32959 /* confdefs.h. */
32960 _ACEOF
32961 cat confdefs.h >>conftest.$ac_ext
32962 cat >>conftest.$ac_ext <<_ACEOF
32963 /* end confdefs.h. */
32964
32965 int
32966 main ()
32967 {
32968
32969 ;
32970 return 0;
32971 }
32972 _ACEOF
32973 rm -f conftest.$ac_objext conftest$ac_exeext
32974 if { (ac_try="$ac_link"
32975 case "(($ac_try" in
32976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32977 *) ac_try_echo=$ac_try;;
32978 esac
32979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32980 (eval "$ac_link") 2>conftest.er1
32981 ac_status=$?
32982 grep -v '^ *+' conftest.er1 >conftest.err
32983 rm -f conftest.er1
32984 cat conftest.err >&5
32985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986 (exit $ac_status); } && {
32987 test -z "$ac_c_werror_flag" ||
32988 test ! -s conftest.err
32989 } && test -s conftest$ac_exeext &&
32990 $as_test_x conftest$ac_exeext; then
32991
32992 { echo "$as_me:$LINENO: result: yes" >&5
32993 echo "${ECHO_T}yes" >&6; }
32994 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32995 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32996
32997 else
32998 echo "$as_me: failed program was:" >&5
32999 sed 's/^/| /' conftest.$ac_ext >&5
33000
33001
33002 { echo "$as_me:$LINENO: result: no" >&5
33003 echo "${ECHO_T}no" >&6; }
33004
33005 fi
33006
33007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33008 conftest$ac_exeext conftest.$ac_ext
33009
33010 fi
33011
33012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33013 conftest$ac_exeext conftest.$ac_ext
33014 LDFLAGS="$saveLdflags"
33015 else
33016 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33017 WXCONFIG_RPATH="-R\$libdir"
33018 fi
33019 ;;
33020
33021 *-*-darwin* )
33022 install_name_tool=`which install_name_tool`
33023 if test "$install_name_tool" -a -x "$install_name_tool"; then
33024 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33025 cat <<EOF >change-install-names
33026 #!/bin/sh
33027 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33028 inst_cmd="install_name_tool "
33029 for i in \${libnames} ; do
33030 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33031 done
33032 \${inst_cmd} \${3}
33033 EOF
33034 chmod +x change-install-names
33035 fi
33036 ;;
33037
33038 *-*-cygwin* | *-*-mingw32* )
33039 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33040 ;;
33041
33042 *-*-hpux* )
33043 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33044 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33045 ;;
33046
33047 esac
33048
33049 if test $wxUSE_RPATH = "no"; then
33050 SAMPLES_RPATH_FLAG=''
33051 SAMPLES_RPATH_POSTLINK=''
33052 WXCONFIG_RPATH=''
33053 fi
33054
33055 SHARED=1
33056
33057 else
33058
33059 config_linkage_component="-static"
33060 SHARED=0
33061
33062 fi
33063
33064
33065 UNICODE=0
33066 lib_unicode_suffix=
33067 WX_CHARTYPE="ansi"
33068 if test "$wxUSE_UNICODE" = "yes"; then
33069 lib_unicode_suffix=u
33070 WX_CHARTYPE="unicode"
33071 UNICODE=1
33072 fi
33073
33074 lib_debug_suffix=
33075 WX_DEBUGTYPE="release"
33076 DEBUG_FLAG=0
33077 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33078 lib_debug_suffix=d
33079 WX_DEBUGTYPE="debug"
33080 DEBUG_FLAG=1
33081 fi
33082
33083 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33084 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33085
33086 DEBUG_INFO=0
33087 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33088 DEBUG_INFO=1
33089 fi
33090
33091 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33092
33093 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33094
33095 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33096
33097 if test "$cross_compiling" = "yes"; then
33098 HOST_SUFFIX="-$host_alias"
33099 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33100 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33101 fi
33102
33103 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33104 if test "${TOOLKIT_DIR}" = "os2"; then
33105 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33106 else
33107 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33108 fi
33109
33110
33111
33112 if test "$wxUSE_COCOA" = 1; then
33113
33114 ac_ext=c
33115 ac_cpp='$CPP $CPPFLAGS'
33116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33119
33120 ac_ext=m
33121
33122 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33123 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33124 cat >conftest.$ac_ext <<_ACEOF
33125 /* confdefs.h. */
33126 _ACEOF
33127 cat confdefs.h >>conftest.$ac_ext
33128 cat >>conftest.$ac_ext <<_ACEOF
33129 /* end confdefs.h. */
33130 #include <AppKit/NSEvent.h>
33131 #include <CoreFoundation/CoreFoundation.h>
33132
33133 int
33134 main ()
33135 {
33136
33137 ;
33138 return 0;
33139 }
33140 _ACEOF
33141 rm -f conftest.$ac_objext
33142 if { (ac_try="$ac_compile"
33143 case "(($ac_try" in
33144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33145 *) ac_try_echo=$ac_try;;
33146 esac
33147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33148 (eval "$ac_compile") 2>conftest.er1
33149 ac_status=$?
33150 grep -v '^ *+' conftest.er1 >conftest.err
33151 rm -f conftest.er1
33152 cat conftest.err >&5
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); } && {
33155 test -z "$ac_c_werror_flag" ||
33156 test ! -s conftest.err
33157 } && test -s conftest.$ac_objext; then
33158 { echo "$as_me:$LINENO: result: no" >&5
33159 echo "${ECHO_T}no" >&6; }
33160 else
33161 echo "$as_me: failed program was:" >&5
33162 sed 's/^/| /' conftest.$ac_ext >&5
33163
33164 { echo "$as_me:$LINENO: result: yes" >&5
33165 echo "${ECHO_T}yes" >&6; }
33166 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33167 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33168 cat >conftest.$ac_ext <<_ACEOF
33169 /* confdefs.h. */
33170 _ACEOF
33171 cat confdefs.h >>conftest.$ac_ext
33172 cat >>conftest.$ac_ext <<_ACEOF
33173 /* end confdefs.h. */
33174 #define __Point__ 1
33175 #include <AppKit/NSEvent.h>
33176 #include <CoreFoundation/CoreFoundation.h>
33177
33178 int
33179 main ()
33180 {
33181
33182 ;
33183 return 0;
33184 }
33185 _ACEOF
33186 rm -f conftest.$ac_objext
33187 if { (ac_try="$ac_compile"
33188 case "(($ac_try" in
33189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33190 *) ac_try_echo=$ac_try;;
33191 esac
33192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33193 (eval "$ac_compile") 2>conftest.er1
33194 ac_status=$?
33195 grep -v '^ *+' conftest.er1 >conftest.err
33196 rm -f conftest.er1
33197 cat conftest.err >&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); } && {
33200 test -z "$ac_c_werror_flag" ||
33201 test ! -s conftest.err
33202 } && test -s conftest.$ac_objext; then
33203 { echo "$as_me:$LINENO: result: yes" >&5
33204 echo "${ECHO_T}yes" >&6; }
33205 cat >>confdefs.h <<\_ACEOF
33206 #define __Point__ 1
33207 _ACEOF
33208
33209
33210 else
33211 echo "$as_me: failed program was:" >&5
33212 sed 's/^/| /' conftest.$ac_ext >&5
33213
33214 { { echo "$as_me:$LINENO: error: no
33215 See \`config.log' for more details." >&5
33216 echo "$as_me: error: no
33217 See \`config.log' for more details." >&2;}
33218 { (exit 1); exit 1; }; }
33219
33220 fi
33221
33222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33223
33224 fi
33225
33226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33227 ac_ext=c
33228 ac_cpp='$CPP $CPPFLAGS'
33229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33232
33233 fi
33234
33235 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33236 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33237 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33238
33239 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33240
33241 # Extract the first word of "Rez", so it can be a program name with args.
33242 set dummy Rez; ac_word=$2
33243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33245 if test "${ac_cv_prog_REZ+set}" = set; then
33246 echo $ECHO_N "(cached) $ECHO_C" >&6
33247 else
33248 if test -n "$REZ"; then
33249 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33250 else
33251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33252 for as_dir in $PATH
33253 do
33254 IFS=$as_save_IFS
33255 test -z "$as_dir" && as_dir=.
33256 for ac_exec_ext in '' $ac_executable_extensions; do
33257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33258 ac_cv_prog_REZ="Rez"
33259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33260 break 2
33261 fi
33262 done
33263 done
33264 IFS=$as_save_IFS
33265
33266 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33267 fi
33268 fi
33269 REZ=$ac_cv_prog_REZ
33270 if test -n "$REZ"; then
33271 { echo "$as_me:$LINENO: result: $REZ" >&5
33272 echo "${ECHO_T}$REZ" >&6; }
33273 else
33274 { echo "$as_me:$LINENO: result: no" >&5
33275 echo "${ECHO_T}no" >&6; }
33276 fi
33277
33278
33279 # Extract the first word of "DeRez", so it can be a program name with args.
33280 set dummy DeRez; ac_word=$2
33281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33283 if test "${ac_cv_prog_DEREZ+set}" = set; then
33284 echo $ECHO_N "(cached) $ECHO_C" >&6
33285 else
33286 if test -n "$DEREZ"; then
33287 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33288 else
33289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33290 for as_dir in $PATH
33291 do
33292 IFS=$as_save_IFS
33293 test -z "$as_dir" && as_dir=.
33294 for ac_exec_ext in '' $ac_executable_extensions; do
33295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33296 ac_cv_prog_DEREZ="DeRez"
33297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33298 break 2
33299 fi
33300 done
33301 done
33302 IFS=$as_save_IFS
33303
33304 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33305 fi
33306 fi
33307 DEREZ=$ac_cv_prog_DEREZ
33308 if test -n "$DEREZ"; then
33309 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33310 echo "${ECHO_T}$DEREZ" >&6; }
33311 else
33312 { echo "$as_me:$LINENO: result: no" >&5
33313 echo "${ECHO_T}no" >&6; }
33314 fi
33315
33316
33317 # Extract the first word of "SetFile", so it can be a program name with args.
33318 set dummy SetFile; ac_word=$2
33319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33321 if test "${ac_cv_prog_SETFILE+set}" = set; then
33322 echo $ECHO_N "(cached) $ECHO_C" >&6
33323 else
33324 if test -n "$SETFILE"; then
33325 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33326 else
33327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33328 for as_dir in $PATH
33329 do
33330 IFS=$as_save_IFS
33331 test -z "$as_dir" && as_dir=.
33332 for ac_exec_ext in '' $ac_executable_extensions; do
33333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33334 ac_cv_prog_SETFILE="SetFile"
33335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33336 break 2
33337 fi
33338 done
33339 done
33340 IFS=$as_save_IFS
33341
33342 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33343 fi
33344 fi
33345 SETFILE=$ac_cv_prog_SETFILE
33346 if test -n "$SETFILE"; then
33347 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33348 echo "${ECHO_T}$SETFILE" >&6; }
33349 else
33350 { echo "$as_me:$LINENO: result: no" >&5
33351 echo "${ECHO_T}no" >&6; }
33352 fi
33353
33354
33355
33356 MACSETFILE="\$(SETFILE)"
33357
33358 if test "$wxUSE_MAC" = 1; then
33359 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33360 RESCOMP="$REZ"
33361 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33362 else
33363 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33364 RESCOMP="echo -n \| $REZ"
33365 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33366 fi
33367
33368 else
33369 MACSETFILE="@true"
33370
33371 if test "$wxUSE_PM" = 1; then
33372 RESCOMP="emxbind"
33373 WXCONFIG_RESFLAGS="-ep"
33374
33375 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33376 else
33377 POSTLINK_COMMAND="@true"
33378 fi
33379
33380 fi
33381
33382
33383
33384 { echo "$as_me:$LINENO: checking for mode_t" >&5
33385 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33386 if test "${ac_cv_type_mode_t+set}" = set; then
33387 echo $ECHO_N "(cached) $ECHO_C" >&6
33388 else
33389 cat >conftest.$ac_ext <<_ACEOF
33390 /* confdefs.h. */
33391 _ACEOF
33392 cat confdefs.h >>conftest.$ac_ext
33393 cat >>conftest.$ac_ext <<_ACEOF
33394 /* end confdefs.h. */
33395 $ac_includes_default
33396 typedef mode_t ac__type_new_;
33397 int
33398 main ()
33399 {
33400 if ((ac__type_new_ *) 0)
33401 return 0;
33402 if (sizeof (ac__type_new_))
33403 return 0;
33404 ;
33405 return 0;
33406 }
33407 _ACEOF
33408 rm -f conftest.$ac_objext
33409 if { (ac_try="$ac_compile"
33410 case "(($ac_try" in
33411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33412 *) ac_try_echo=$ac_try;;
33413 esac
33414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33415 (eval "$ac_compile") 2>conftest.er1
33416 ac_status=$?
33417 grep -v '^ *+' conftest.er1 >conftest.err
33418 rm -f conftest.er1
33419 cat conftest.err >&5
33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33421 (exit $ac_status); } && {
33422 test -z "$ac_c_werror_flag" ||
33423 test ! -s conftest.err
33424 } && test -s conftest.$ac_objext; then
33425 ac_cv_type_mode_t=yes
33426 else
33427 echo "$as_me: failed program was:" >&5
33428 sed 's/^/| /' conftest.$ac_ext >&5
33429
33430 ac_cv_type_mode_t=no
33431 fi
33432
33433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33434 fi
33435 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33436 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33437 if test $ac_cv_type_mode_t = yes; then
33438 :
33439 else
33440
33441 cat >>confdefs.h <<_ACEOF
33442 #define mode_t int
33443 _ACEOF
33444
33445 fi
33446
33447 { echo "$as_me:$LINENO: checking for off_t" >&5
33448 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33449 if test "${ac_cv_type_off_t+set}" = set; then
33450 echo $ECHO_N "(cached) $ECHO_C" >&6
33451 else
33452 cat >conftest.$ac_ext <<_ACEOF
33453 /* confdefs.h. */
33454 _ACEOF
33455 cat confdefs.h >>conftest.$ac_ext
33456 cat >>conftest.$ac_ext <<_ACEOF
33457 /* end confdefs.h. */
33458 $ac_includes_default
33459 typedef off_t ac__type_new_;
33460 int
33461 main ()
33462 {
33463 if ((ac__type_new_ *) 0)
33464 return 0;
33465 if (sizeof (ac__type_new_))
33466 return 0;
33467 ;
33468 return 0;
33469 }
33470 _ACEOF
33471 rm -f conftest.$ac_objext
33472 if { (ac_try="$ac_compile"
33473 case "(($ac_try" in
33474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33475 *) ac_try_echo=$ac_try;;
33476 esac
33477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33478 (eval "$ac_compile") 2>conftest.er1
33479 ac_status=$?
33480 grep -v '^ *+' conftest.er1 >conftest.err
33481 rm -f conftest.er1
33482 cat conftest.err >&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); } && {
33485 test -z "$ac_c_werror_flag" ||
33486 test ! -s conftest.err
33487 } && test -s conftest.$ac_objext; then
33488 ac_cv_type_off_t=yes
33489 else
33490 echo "$as_me: failed program was:" >&5
33491 sed 's/^/| /' conftest.$ac_ext >&5
33492
33493 ac_cv_type_off_t=no
33494 fi
33495
33496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33497 fi
33498 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33499 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33500 if test $ac_cv_type_off_t = yes; then
33501 :
33502 else
33503
33504 cat >>confdefs.h <<_ACEOF
33505 #define off_t long int
33506 _ACEOF
33507
33508 fi
33509
33510 { echo "$as_me:$LINENO: checking for pid_t" >&5
33511 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33512 if test "${ac_cv_type_pid_t+set}" = set; then
33513 echo $ECHO_N "(cached) $ECHO_C" >&6
33514 else
33515 cat >conftest.$ac_ext <<_ACEOF
33516 /* confdefs.h. */
33517 _ACEOF
33518 cat confdefs.h >>conftest.$ac_ext
33519 cat >>conftest.$ac_ext <<_ACEOF
33520 /* end confdefs.h. */
33521 $ac_includes_default
33522 typedef pid_t ac__type_new_;
33523 int
33524 main ()
33525 {
33526 if ((ac__type_new_ *) 0)
33527 return 0;
33528 if (sizeof (ac__type_new_))
33529 return 0;
33530 ;
33531 return 0;
33532 }
33533 _ACEOF
33534 rm -f conftest.$ac_objext
33535 if { (ac_try="$ac_compile"
33536 case "(($ac_try" in
33537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33538 *) ac_try_echo=$ac_try;;
33539 esac
33540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33541 (eval "$ac_compile") 2>conftest.er1
33542 ac_status=$?
33543 grep -v '^ *+' conftest.er1 >conftest.err
33544 rm -f conftest.er1
33545 cat conftest.err >&5
33546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33547 (exit $ac_status); } && {
33548 test -z "$ac_c_werror_flag" ||
33549 test ! -s conftest.err
33550 } && test -s conftest.$ac_objext; then
33551 ac_cv_type_pid_t=yes
33552 else
33553 echo "$as_me: failed program was:" >&5
33554 sed 's/^/| /' conftest.$ac_ext >&5
33555
33556 ac_cv_type_pid_t=no
33557 fi
33558
33559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33560 fi
33561 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33562 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33563 if test $ac_cv_type_pid_t = yes; then
33564 :
33565 else
33566
33567 cat >>confdefs.h <<_ACEOF
33568 #define pid_t int
33569 _ACEOF
33570
33571 fi
33572
33573 { echo "$as_me:$LINENO: checking for size_t" >&5
33574 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33575 if test "${ac_cv_type_size_t+set}" = set; then
33576 echo $ECHO_N "(cached) $ECHO_C" >&6
33577 else
33578 cat >conftest.$ac_ext <<_ACEOF
33579 /* confdefs.h. */
33580 _ACEOF
33581 cat confdefs.h >>conftest.$ac_ext
33582 cat >>conftest.$ac_ext <<_ACEOF
33583 /* end confdefs.h. */
33584 $ac_includes_default
33585 typedef size_t ac__type_new_;
33586 int
33587 main ()
33588 {
33589 if ((ac__type_new_ *) 0)
33590 return 0;
33591 if (sizeof (ac__type_new_))
33592 return 0;
33593 ;
33594 return 0;
33595 }
33596 _ACEOF
33597 rm -f conftest.$ac_objext
33598 if { (ac_try="$ac_compile"
33599 case "(($ac_try" in
33600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33601 *) ac_try_echo=$ac_try;;
33602 esac
33603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33604 (eval "$ac_compile") 2>conftest.er1
33605 ac_status=$?
33606 grep -v '^ *+' conftest.er1 >conftest.err
33607 rm -f conftest.er1
33608 cat conftest.err >&5
33609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33610 (exit $ac_status); } && {
33611 test -z "$ac_c_werror_flag" ||
33612 test ! -s conftest.err
33613 } && test -s conftest.$ac_objext; then
33614 ac_cv_type_size_t=yes
33615 else
33616 echo "$as_me: failed program was:" >&5
33617 sed 's/^/| /' conftest.$ac_ext >&5
33618
33619 ac_cv_type_size_t=no
33620 fi
33621
33622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33623 fi
33624 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33625 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33626 if test $ac_cv_type_size_t = yes; then
33627 :
33628 else
33629
33630 cat >>confdefs.h <<_ACEOF
33631 #define size_t unsigned int
33632 _ACEOF
33633
33634 fi
33635
33636 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33637 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33638 if test "${ac_cv_type_uid_t+set}" = set; then
33639 echo $ECHO_N "(cached) $ECHO_C" >&6
33640 else
33641 cat >conftest.$ac_ext <<_ACEOF
33642 /* confdefs.h. */
33643 _ACEOF
33644 cat confdefs.h >>conftest.$ac_ext
33645 cat >>conftest.$ac_ext <<_ACEOF
33646 /* end confdefs.h. */
33647 #include <sys/types.h>
33648
33649 _ACEOF
33650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33651 $EGREP "uid_t" >/dev/null 2>&1; then
33652 ac_cv_type_uid_t=yes
33653 else
33654 ac_cv_type_uid_t=no
33655 fi
33656 rm -f conftest*
33657
33658 fi
33659 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33660 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33661 if test $ac_cv_type_uid_t = no; then
33662
33663 cat >>confdefs.h <<\_ACEOF
33664 #define uid_t int
33665 _ACEOF
33666
33667
33668 cat >>confdefs.h <<\_ACEOF
33669 #define gid_t int
33670 _ACEOF
33671
33672 fi
33673
33674
33675 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33676 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33677 if test "${ac_cv_type_ssize_t+set}" = set; then
33678 echo $ECHO_N "(cached) $ECHO_C" >&6
33679 else
33680 cat >conftest.$ac_ext <<_ACEOF
33681 /* confdefs.h. */
33682 _ACEOF
33683 cat confdefs.h >>conftest.$ac_ext
33684 cat >>conftest.$ac_ext <<_ACEOF
33685 /* end confdefs.h. */
33686 $ac_includes_default
33687 typedef ssize_t ac__type_new_;
33688 int
33689 main ()
33690 {
33691 if ((ac__type_new_ *) 0)
33692 return 0;
33693 if (sizeof (ac__type_new_))
33694 return 0;
33695 ;
33696 return 0;
33697 }
33698 _ACEOF
33699 rm -f conftest.$ac_objext
33700 if { (ac_try="$ac_compile"
33701 case "(($ac_try" in
33702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33703 *) ac_try_echo=$ac_try;;
33704 esac
33705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33706 (eval "$ac_compile") 2>conftest.er1
33707 ac_status=$?
33708 grep -v '^ *+' conftest.er1 >conftest.err
33709 rm -f conftest.er1
33710 cat conftest.err >&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); } && {
33713 test -z "$ac_c_werror_flag" ||
33714 test ! -s conftest.err
33715 } && test -s conftest.$ac_objext; then
33716 ac_cv_type_ssize_t=yes
33717 else
33718 echo "$as_me: failed program was:" >&5
33719 sed 's/^/| /' conftest.$ac_ext >&5
33720
33721 ac_cv_type_ssize_t=no
33722 fi
33723
33724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33725 fi
33726 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33727 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33728 if test $ac_cv_type_ssize_t = yes; then
33729
33730 cat >>confdefs.h <<_ACEOF
33731 #define HAVE_SSIZE_T 1
33732 _ACEOF
33733
33734
33735 fi
33736
33737
33738 ac_ext=cpp
33739 ac_cpp='$CXXCPP $CPPFLAGS'
33740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33743 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33744 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33745 if test "${wx_cv_size_t_is_uint+set}" = set; then
33746 echo $ECHO_N "(cached) $ECHO_C" >&6
33747 else
33748
33749 cat >conftest.$ac_ext <<_ACEOF
33750 /* confdefs.h. */
33751 _ACEOF
33752 cat confdefs.h >>conftest.$ac_ext
33753 cat >>conftest.$ac_ext <<_ACEOF
33754 /* end confdefs.h. */
33755 #include <stddef.h>
33756 int
33757 main ()
33758 {
33759
33760 return 0; }
33761
33762 struct Foo { void foo(size_t); void foo(unsigned int); };
33763
33764 int bar() {
33765
33766 ;
33767 return 0;
33768 }
33769 _ACEOF
33770 rm -f conftest.$ac_objext
33771 if { (ac_try="$ac_compile"
33772 case "(($ac_try" in
33773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33774 *) ac_try_echo=$ac_try;;
33775 esac
33776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33777 (eval "$ac_compile") 2>conftest.er1
33778 ac_status=$?
33779 grep -v '^ *+' conftest.er1 >conftest.err
33780 rm -f conftest.er1
33781 cat conftest.err >&5
33782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33783 (exit $ac_status); } && {
33784 test -z "$ac_cxx_werror_flag" ||
33785 test ! -s conftest.err
33786 } && test -s conftest.$ac_objext; then
33787 wx_cv_size_t_is_uint=no
33788 else
33789 echo "$as_me: failed program was:" >&5
33790 sed 's/^/| /' conftest.$ac_ext >&5
33791
33792 wx_cv_size_t_is_uint=yes
33793
33794 fi
33795
33796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33797
33798
33799 fi
33800 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33801 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33802
33803 if test "$wx_cv_size_t_is_uint" = "yes"; then
33804 cat >>confdefs.h <<\_ACEOF
33805 #define wxSIZE_T_IS_UINT 1
33806 _ACEOF
33807
33808 else
33809 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33810 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33811 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33812 echo $ECHO_N "(cached) $ECHO_C" >&6
33813 else
33814 cat >conftest.$ac_ext <<_ACEOF
33815 /* confdefs.h. */
33816 _ACEOF
33817 cat confdefs.h >>conftest.$ac_ext
33818 cat >>conftest.$ac_ext <<_ACEOF
33819 /* end confdefs.h. */
33820 #include <stddef.h>
33821 int
33822 main ()
33823 {
33824
33825 return 0; }
33826
33827 struct Foo { void foo(size_t); void foo(unsigned long); };
33828
33829 int bar() {
33830
33831 ;
33832 return 0;
33833 }
33834 _ACEOF
33835 rm -f conftest.$ac_objext
33836 if { (ac_try="$ac_compile"
33837 case "(($ac_try" in
33838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33839 *) ac_try_echo=$ac_try;;
33840 esac
33841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33842 (eval "$ac_compile") 2>conftest.er1
33843 ac_status=$?
33844 grep -v '^ *+' conftest.er1 >conftest.err
33845 rm -f conftest.er1
33846 cat conftest.err >&5
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); } && {
33849 test -z "$ac_cxx_werror_flag" ||
33850 test ! -s conftest.err
33851 } && test -s conftest.$ac_objext; then
33852 wx_cv_size_t_is_ulong=no
33853 else
33854 echo "$as_me: failed program was:" >&5
33855 sed 's/^/| /' conftest.$ac_ext >&5
33856
33857 wx_cv_size_t_is_ulong=yes
33858
33859 fi
33860
33861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33862
33863 fi
33864 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33865 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33866
33867 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33868 cat >>confdefs.h <<\_ACEOF
33869 #define wxSIZE_T_IS_ULONG 1
33870 _ACEOF
33871
33872 fi
33873 fi
33874
33875 ac_ext=c
33876 ac_cpp='$CPP $CPPFLAGS'
33877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33880
33881
33882 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33883 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33884 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33885 echo $ECHO_N "(cached) $ECHO_C" >&6
33886 else
33887
33888 cat >conftest.$ac_ext <<_ACEOF
33889 /* confdefs.h. */
33890 _ACEOF
33891 cat confdefs.h >>conftest.$ac_ext
33892 cat >>conftest.$ac_ext <<_ACEOF
33893 /* end confdefs.h. */
33894 #include <pwd.h>
33895 int
33896 main ()
33897 {
33898
33899 char *p;
33900 struct passwd *pw;
33901 p = pw->pw_gecos;
33902
33903 ;
33904 return 0;
33905 }
33906 _ACEOF
33907 rm -f conftest.$ac_objext
33908 if { (ac_try="$ac_compile"
33909 case "(($ac_try" in
33910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33911 *) ac_try_echo=$ac_try;;
33912 esac
33913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33914 (eval "$ac_compile") 2>conftest.er1
33915 ac_status=$?
33916 grep -v '^ *+' conftest.er1 >conftest.err
33917 rm -f conftest.er1
33918 cat conftest.err >&5
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); } && {
33921 test -z "$ac_c_werror_flag" ||
33922 test ! -s conftest.err
33923 } && test -s conftest.$ac_objext; then
33924
33925 wx_cv_struct_pw_gecos=yes
33926
33927 else
33928 echo "$as_me: failed program was:" >&5
33929 sed 's/^/| /' conftest.$ac_ext >&5
33930
33931
33932 wx_cv_struct_pw_gecos=no
33933
33934
33935 fi
33936
33937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33938
33939
33940 fi
33941 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33942 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33943
33944 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33945 cat >>confdefs.h <<\_ACEOF
33946 #define HAVE_PW_GECOS 1
33947 _ACEOF
33948
33949 fi
33950
33951
33952 if test "$wxUSE_WCHAR_T" = "yes"; then
33953 cat >>confdefs.h <<\_ACEOF
33954 #define wxUSE_WCHAR_T 1
33955 _ACEOF
33956
33957
33958 WCSLEN_FOUND=0
33959 WCHAR_LINK=
33960
33961 for ac_func in wcslen
33962 do
33963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33964 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33966 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33967 echo $ECHO_N "(cached) $ECHO_C" >&6
33968 else
33969 cat >conftest.$ac_ext <<_ACEOF
33970 /* confdefs.h. */
33971 _ACEOF
33972 cat confdefs.h >>conftest.$ac_ext
33973 cat >>conftest.$ac_ext <<_ACEOF
33974 /* end confdefs.h. */
33975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33977 #define $ac_func innocuous_$ac_func
33978
33979 /* System header to define __stub macros and hopefully few prototypes,
33980 which can conflict with char $ac_func (); below.
33981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33982 <limits.h> exists even on freestanding compilers. */
33983
33984 #ifdef __STDC__
33985 # include <limits.h>
33986 #else
33987 # include <assert.h>
33988 #endif
33989
33990 #undef $ac_func
33991
33992 /* Override any GCC internal prototype to avoid an error.
33993 Use char because int might match the return type of a GCC
33994 builtin and then its argument prototype would still apply. */
33995 #ifdef __cplusplus
33996 extern "C"
33997 #endif
33998 char $ac_func ();
33999 /* The GNU C library defines this for functions which it implements
34000 to always fail with ENOSYS. Some functions are actually named
34001 something starting with __ and the normal name is an alias. */
34002 #if defined __stub_$ac_func || defined __stub___$ac_func
34003 choke me
34004 #endif
34005
34006 int
34007 main ()
34008 {
34009 return $ac_func ();
34010 ;
34011 return 0;
34012 }
34013 _ACEOF
34014 rm -f conftest.$ac_objext conftest$ac_exeext
34015 if { (ac_try="$ac_link"
34016 case "(($ac_try" in
34017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34018 *) ac_try_echo=$ac_try;;
34019 esac
34020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34021 (eval "$ac_link") 2>conftest.er1
34022 ac_status=$?
34023 grep -v '^ *+' conftest.er1 >conftest.err
34024 rm -f conftest.er1
34025 cat conftest.err >&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } && {
34028 test -z "$ac_c_werror_flag" ||
34029 test ! -s conftest.err
34030 } && test -s conftest$ac_exeext &&
34031 $as_test_x conftest$ac_exeext; then
34032 eval "$as_ac_var=yes"
34033 else
34034 echo "$as_me: failed program was:" >&5
34035 sed 's/^/| /' conftest.$ac_ext >&5
34036
34037 eval "$as_ac_var=no"
34038 fi
34039
34040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34041 conftest$ac_exeext conftest.$ac_ext
34042 fi
34043 ac_res=`eval echo '${'$as_ac_var'}'`
34044 { echo "$as_me:$LINENO: result: $ac_res" >&5
34045 echo "${ECHO_T}$ac_res" >&6; }
34046 if test `eval echo '${'$as_ac_var'}'` = yes; then
34047 cat >>confdefs.h <<_ACEOF
34048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34049 _ACEOF
34050 WCSLEN_FOUND=1
34051 fi
34052 done
34053
34054
34055 if test "$WCSLEN_FOUND" = 0; then
34056 if test "$TOOLKIT" = "MSW"; then
34057 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34058 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34059 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34060 echo $ECHO_N "(cached) $ECHO_C" >&6
34061 else
34062 ac_check_lib_save_LIBS=$LIBS
34063 LIBS="-lmsvcrt $LIBS"
34064 cat >conftest.$ac_ext <<_ACEOF
34065 /* confdefs.h. */
34066 _ACEOF
34067 cat confdefs.h >>conftest.$ac_ext
34068 cat >>conftest.$ac_ext <<_ACEOF
34069 /* end confdefs.h. */
34070
34071 /* Override any GCC internal prototype to avoid an error.
34072 Use char because int might match the return type of a GCC
34073 builtin and then its argument prototype would still apply. */
34074 #ifdef __cplusplus
34075 extern "C"
34076 #endif
34077 char wcslen ();
34078 int
34079 main ()
34080 {
34081 return wcslen ();
34082 ;
34083 return 0;
34084 }
34085 _ACEOF
34086 rm -f conftest.$ac_objext conftest$ac_exeext
34087 if { (ac_try="$ac_link"
34088 case "(($ac_try" in
34089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34090 *) ac_try_echo=$ac_try;;
34091 esac
34092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34093 (eval "$ac_link") 2>conftest.er1
34094 ac_status=$?
34095 grep -v '^ *+' conftest.er1 >conftest.err
34096 rm -f conftest.er1
34097 cat conftest.err >&5
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); } && {
34100 test -z "$ac_c_werror_flag" ||
34101 test ! -s conftest.err
34102 } && test -s conftest$ac_exeext &&
34103 $as_test_x conftest$ac_exeext; then
34104 ac_cv_lib_msvcrt_wcslen=yes
34105 else
34106 echo "$as_me: failed program was:" >&5
34107 sed 's/^/| /' conftest.$ac_ext >&5
34108
34109 ac_cv_lib_msvcrt_wcslen=no
34110 fi
34111
34112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34113 conftest$ac_exeext conftest.$ac_ext
34114 LIBS=$ac_check_lib_save_LIBS
34115 fi
34116 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34117 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34118 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34119 WCHAR_OK=1
34120 fi
34121
34122 else
34123 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34124 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34125 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34126 echo $ECHO_N "(cached) $ECHO_C" >&6
34127 else
34128 ac_check_lib_save_LIBS=$LIBS
34129 LIBS="-lw $LIBS"
34130 cat >conftest.$ac_ext <<_ACEOF
34131 /* confdefs.h. */
34132 _ACEOF
34133 cat confdefs.h >>conftest.$ac_ext
34134 cat >>conftest.$ac_ext <<_ACEOF
34135 /* end confdefs.h. */
34136
34137 /* Override any GCC internal prototype to avoid an error.
34138 Use char because int might match the return type of a GCC
34139 builtin and then its argument prototype would still apply. */
34140 #ifdef __cplusplus
34141 extern "C"
34142 #endif
34143 char wcslen ();
34144 int
34145 main ()
34146 {
34147 return wcslen ();
34148 ;
34149 return 0;
34150 }
34151 _ACEOF
34152 rm -f conftest.$ac_objext conftest$ac_exeext
34153 if { (ac_try="$ac_link"
34154 case "(($ac_try" in
34155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34156 *) ac_try_echo=$ac_try;;
34157 esac
34158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34159 (eval "$ac_link") 2>conftest.er1
34160 ac_status=$?
34161 grep -v '^ *+' conftest.er1 >conftest.err
34162 rm -f conftest.er1
34163 cat conftest.err >&5
34164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165 (exit $ac_status); } && {
34166 test -z "$ac_c_werror_flag" ||
34167 test ! -s conftest.err
34168 } && test -s conftest$ac_exeext &&
34169 $as_test_x conftest$ac_exeext; then
34170 ac_cv_lib_w_wcslen=yes
34171 else
34172 echo "$as_me: failed program was:" >&5
34173 sed 's/^/| /' conftest.$ac_ext >&5
34174
34175 ac_cv_lib_w_wcslen=no
34176 fi
34177
34178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34179 conftest$ac_exeext conftest.$ac_ext
34180 LIBS=$ac_check_lib_save_LIBS
34181 fi
34182 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34183 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34184 if test $ac_cv_lib_w_wcslen = yes; then
34185
34186 WCHAR_LINK=" -lw"
34187 WCSLEN_FOUND=1
34188
34189 fi
34190
34191 fi
34192 fi
34193
34194 if test "$WCSLEN_FOUND" = 1; then
34195 cat >>confdefs.h <<\_ACEOF
34196 #define HAVE_WCSLEN 1
34197 _ACEOF
34198
34199 fi
34200
34201 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34202 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34203 fi
34204
34205 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34206 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34207 if test "${ac_cv_type_mbstate_t+set}" = set; then
34208 echo $ECHO_N "(cached) $ECHO_C" >&6
34209 else
34210 cat >conftest.$ac_ext <<_ACEOF
34211 /* confdefs.h. */
34212 _ACEOF
34213 cat confdefs.h >>conftest.$ac_ext
34214 cat >>conftest.$ac_ext <<_ACEOF
34215 /* end confdefs.h. */
34216 #include <wchar.h>
34217
34218 typedef mbstate_t ac__type_new_;
34219 int
34220 main ()
34221 {
34222 if ((ac__type_new_ *) 0)
34223 return 0;
34224 if (sizeof (ac__type_new_))
34225 return 0;
34226 ;
34227 return 0;
34228 }
34229 _ACEOF
34230 rm -f conftest.$ac_objext
34231 if { (ac_try="$ac_compile"
34232 case "(($ac_try" in
34233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34234 *) ac_try_echo=$ac_try;;
34235 esac
34236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34237 (eval "$ac_compile") 2>conftest.er1
34238 ac_status=$?
34239 grep -v '^ *+' conftest.er1 >conftest.err
34240 rm -f conftest.er1
34241 cat conftest.err >&5
34242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34243 (exit $ac_status); } && {
34244 test -z "$ac_c_werror_flag" ||
34245 test ! -s conftest.err
34246 } && test -s conftest.$ac_objext; then
34247 ac_cv_type_mbstate_t=yes
34248 else
34249 echo "$as_me: failed program was:" >&5
34250 sed 's/^/| /' conftest.$ac_ext >&5
34251
34252 ac_cv_type_mbstate_t=no
34253 fi
34254
34255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34256 fi
34257 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34258 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34259 if test $ac_cv_type_mbstate_t = yes; then
34260
34261 cat >>confdefs.h <<_ACEOF
34262 #define HAVE_MBSTATE_T 1
34263 _ACEOF
34264
34265
34266 for ac_func in wcsrtombs
34267 do
34268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34271 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34272 echo $ECHO_N "(cached) $ECHO_C" >&6
34273 else
34274 cat >conftest.$ac_ext <<_ACEOF
34275 /* confdefs.h. */
34276 _ACEOF
34277 cat confdefs.h >>conftest.$ac_ext
34278 cat >>conftest.$ac_ext <<_ACEOF
34279 /* end confdefs.h. */
34280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34282 #define $ac_func innocuous_$ac_func
34283
34284 /* System header to define __stub macros and hopefully few prototypes,
34285 which can conflict with char $ac_func (); below.
34286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34287 <limits.h> exists even on freestanding compilers. */
34288
34289 #ifdef __STDC__
34290 # include <limits.h>
34291 #else
34292 # include <assert.h>
34293 #endif
34294
34295 #undef $ac_func
34296
34297 /* Override any GCC internal prototype to avoid an error.
34298 Use char because int might match the return type of a GCC
34299 builtin and then its argument prototype would still apply. */
34300 #ifdef __cplusplus
34301 extern "C"
34302 #endif
34303 char $ac_func ();
34304 /* The GNU C library defines this for functions which it implements
34305 to always fail with ENOSYS. Some functions are actually named
34306 something starting with __ and the normal name is an alias. */
34307 #if defined __stub_$ac_func || defined __stub___$ac_func
34308 choke me
34309 #endif
34310
34311 int
34312 main ()
34313 {
34314 return $ac_func ();
34315 ;
34316 return 0;
34317 }
34318 _ACEOF
34319 rm -f conftest.$ac_objext conftest$ac_exeext
34320 if { (ac_try="$ac_link"
34321 case "(($ac_try" in
34322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34323 *) ac_try_echo=$ac_try;;
34324 esac
34325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34326 (eval "$ac_link") 2>conftest.er1
34327 ac_status=$?
34328 grep -v '^ *+' conftest.er1 >conftest.err
34329 rm -f conftest.er1
34330 cat conftest.err >&5
34331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332 (exit $ac_status); } && {
34333 test -z "$ac_c_werror_flag" ||
34334 test ! -s conftest.err
34335 } && test -s conftest$ac_exeext &&
34336 $as_test_x conftest$ac_exeext; then
34337 eval "$as_ac_var=yes"
34338 else
34339 echo "$as_me: failed program was:" >&5
34340 sed 's/^/| /' conftest.$ac_ext >&5
34341
34342 eval "$as_ac_var=no"
34343 fi
34344
34345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34346 conftest$ac_exeext conftest.$ac_ext
34347 fi
34348 ac_res=`eval echo '${'$as_ac_var'}'`
34349 { echo "$as_me:$LINENO: result: $ac_res" >&5
34350 echo "${ECHO_T}$ac_res" >&6; }
34351 if test `eval echo '${'$as_ac_var'}'` = yes; then
34352 cat >>confdefs.h <<_ACEOF
34353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34354 _ACEOF
34355
34356 fi
34357 done
34358
34359 fi
34360
34361 else
34362 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34363 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34364 fi
34365
34366
34367
34368 for ac_func in snprintf vsnprintf
34369 do
34370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34371 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34373 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34374 echo $ECHO_N "(cached) $ECHO_C" >&6
34375 else
34376 cat >conftest.$ac_ext <<_ACEOF
34377 /* confdefs.h. */
34378 _ACEOF
34379 cat confdefs.h >>conftest.$ac_ext
34380 cat >>conftest.$ac_ext <<_ACEOF
34381 /* end confdefs.h. */
34382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34384 #define $ac_func innocuous_$ac_func
34385
34386 /* System header to define __stub macros and hopefully few prototypes,
34387 which can conflict with char $ac_func (); below.
34388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34389 <limits.h> exists even on freestanding compilers. */
34390
34391 #ifdef __STDC__
34392 # include <limits.h>
34393 #else
34394 # include <assert.h>
34395 #endif
34396
34397 #undef $ac_func
34398
34399 /* Override any GCC internal prototype to avoid an error.
34400 Use char because int might match the return type of a GCC
34401 builtin and then its argument prototype would still apply. */
34402 #ifdef __cplusplus
34403 extern "C"
34404 #endif
34405 char $ac_func ();
34406 /* The GNU C library defines this for functions which it implements
34407 to always fail with ENOSYS. Some functions are actually named
34408 something starting with __ and the normal name is an alias. */
34409 #if defined __stub_$ac_func || defined __stub___$ac_func
34410 choke me
34411 #endif
34412
34413 int
34414 main ()
34415 {
34416 return $ac_func ();
34417 ;
34418 return 0;
34419 }
34420 _ACEOF
34421 rm -f conftest.$ac_objext conftest$ac_exeext
34422 if { (ac_try="$ac_link"
34423 case "(($ac_try" in
34424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34425 *) ac_try_echo=$ac_try;;
34426 esac
34427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34428 (eval "$ac_link") 2>conftest.er1
34429 ac_status=$?
34430 grep -v '^ *+' conftest.er1 >conftest.err
34431 rm -f conftest.er1
34432 cat conftest.err >&5
34433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34434 (exit $ac_status); } && {
34435 test -z "$ac_c_werror_flag" ||
34436 test ! -s conftest.err
34437 } && test -s conftest$ac_exeext &&
34438 $as_test_x conftest$ac_exeext; then
34439 eval "$as_ac_var=yes"
34440 else
34441 echo "$as_me: failed program was:" >&5
34442 sed 's/^/| /' conftest.$ac_ext >&5
34443
34444 eval "$as_ac_var=no"
34445 fi
34446
34447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34448 conftest$ac_exeext conftest.$ac_ext
34449 fi
34450 ac_res=`eval echo '${'$as_ac_var'}'`
34451 { echo "$as_me:$LINENO: result: $ac_res" >&5
34452 echo "${ECHO_T}$ac_res" >&6; }
34453 if test `eval echo '${'$as_ac_var'}'` = yes; then
34454 cat >>confdefs.h <<_ACEOF
34455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34456 _ACEOF
34457
34458 fi
34459 done
34460
34461
34462 if test "$ac_cv_func_vsnprintf" = "yes"; then
34463 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34464 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34465 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34466 echo $ECHO_N "(cached) $ECHO_C" >&6
34467 else
34468
34469 cat >conftest.$ac_ext <<_ACEOF
34470 /* confdefs.h. */
34471 _ACEOF
34472 cat confdefs.h >>conftest.$ac_ext
34473 cat >>conftest.$ac_ext <<_ACEOF
34474 /* end confdefs.h. */
34475
34476 #include <stdio.h>
34477 #include <stdarg.h>
34478 #ifdef __MSL__
34479 #if __MSL__ >= 0x6000
34480 namespace std {}
34481 using namespace std;
34482 #endif
34483 #endif
34484
34485 int
34486 main ()
34487 {
34488
34489 char *buf;
34490 va_list ap;
34491 vsnprintf(buf, 10u, "%s", ap);
34492
34493 ;
34494 return 0;
34495 }
34496 _ACEOF
34497 rm -f conftest.$ac_objext
34498 if { (ac_try="$ac_compile"
34499 case "(($ac_try" in
34500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34501 *) ac_try_echo=$ac_try;;
34502 esac
34503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34504 (eval "$ac_compile") 2>conftest.er1
34505 ac_status=$?
34506 grep -v '^ *+' conftest.er1 >conftest.err
34507 rm -f conftest.er1
34508 cat conftest.err >&5
34509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34510 (exit $ac_status); } && {
34511 test -z "$ac_c_werror_flag" ||
34512 test ! -s conftest.err
34513 } && test -s conftest.$ac_objext; then
34514 wx_cv_func_vsnprintf_decl=yes
34515 else
34516 echo "$as_me: failed program was:" >&5
34517 sed 's/^/| /' conftest.$ac_ext >&5
34518
34519 wx_cv_func_vsnprintf_decl=no
34520
34521 fi
34522
34523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34524
34525
34526 fi
34527 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34528 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34529
34530 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34531 cat >>confdefs.h <<\_ACEOF
34532 #define HAVE_VSNPRINTF_DECL 1
34533 _ACEOF
34534
34535
34536 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34537 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34538 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34539 echo $ECHO_N "(cached) $ECHO_C" >&6
34540 else
34541
34542 cat >conftest.$ac_ext <<_ACEOF
34543 /* confdefs.h. */
34544 _ACEOF
34545 cat confdefs.h >>conftest.$ac_ext
34546 cat >>conftest.$ac_ext <<_ACEOF
34547 /* end confdefs.h. */
34548
34549 #include <stdio.h>
34550 #include <stdarg.h>
34551 #ifdef __MSL__
34552 #if __MSL__ >= 0x6000
34553 namespace std {}
34554 using namespace std;
34555 #endif
34556 #endif
34557
34558 int
34559 main ()
34560 {
34561
34562 char *buf;
34563 va_list ap;
34564 const char *fmt = "%s";
34565 vsnprintf(buf, 10u, fmt, ap);
34566
34567 ;
34568 return 0;
34569 }
34570 _ACEOF
34571 rm -f conftest.$ac_objext
34572 if { (ac_try="$ac_compile"
34573 case "(($ac_try" in
34574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34575 *) ac_try_echo=$ac_try;;
34576 esac
34577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34578 (eval "$ac_compile") 2>conftest.er1
34579 ac_status=$?
34580 grep -v '^ *+' conftest.er1 >conftest.err
34581 rm -f conftest.er1
34582 cat conftest.err >&5
34583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34584 (exit $ac_status); } && {
34585 test -z "$ac_c_werror_flag" ||
34586 test ! -s conftest.err
34587 } && test -s conftest.$ac_objext; then
34588 wx_cv_func_broken_vsnprintf_decl=no
34589 else
34590 echo "$as_me: failed program was:" >&5
34591 sed 's/^/| /' conftest.$ac_ext >&5
34592
34593 wx_cv_func_broken_vsnprintf_decl=yes
34594
34595 fi
34596
34597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34598
34599
34600 fi
34601 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34602 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34603
34604 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34605 cat >>confdefs.h <<\_ACEOF
34606 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34607 _ACEOF
34608
34609 fi
34610 fi
34611 fi
34612
34613 if test "$ac_cv_func_snprintf" = "yes"; then
34614 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34615 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34616 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34617 echo $ECHO_N "(cached) $ECHO_C" >&6
34618 else
34619
34620 cat >conftest.$ac_ext <<_ACEOF
34621 /* confdefs.h. */
34622 _ACEOF
34623 cat confdefs.h >>conftest.$ac_ext
34624 cat >>conftest.$ac_ext <<_ACEOF
34625 /* end confdefs.h. */
34626
34627 #include <stdio.h>
34628 #include <stdarg.h>
34629 #ifdef __MSL__
34630 #if __MSL__ >= 0x6000
34631 namespace std {}
34632 using namespace std;
34633 #endif
34634 #endif
34635
34636 int
34637 main ()
34638 {
34639
34640 char *buf;
34641 snprintf(buf, 10u, "%s", "wx");
34642
34643 ;
34644 return 0;
34645 }
34646 _ACEOF
34647 rm -f conftest.$ac_objext
34648 if { (ac_try="$ac_compile"
34649 case "(($ac_try" in
34650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34651 *) ac_try_echo=$ac_try;;
34652 esac
34653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34654 (eval "$ac_compile") 2>conftest.er1
34655 ac_status=$?
34656 grep -v '^ *+' conftest.er1 >conftest.err
34657 rm -f conftest.er1
34658 cat conftest.err >&5
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); } && {
34661 test -z "$ac_c_werror_flag" ||
34662 test ! -s conftest.err
34663 } && test -s conftest.$ac_objext; then
34664 wx_cv_func_snprintf_decl=yes
34665 else
34666 echo "$as_me: failed program was:" >&5
34667 sed 's/^/| /' conftest.$ac_ext >&5
34668
34669 wx_cv_func_snprintf_decl=no
34670
34671 fi
34672
34673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34674
34675
34676 fi
34677 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34678 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34679
34680 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34681 cat >>confdefs.h <<\_ACEOF
34682 #define HAVE_SNPRINTF_DECL 1
34683 _ACEOF
34684
34685
34686 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34687 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34688 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34689 echo $ECHO_N "(cached) $ECHO_C" >&6
34690 else
34691
34692 cat >conftest.$ac_ext <<_ACEOF
34693 /* confdefs.h. */
34694 _ACEOF
34695 cat confdefs.h >>conftest.$ac_ext
34696 cat >>conftest.$ac_ext <<_ACEOF
34697 /* end confdefs.h. */
34698
34699 #include <stdio.h>
34700 #include <stdarg.h>
34701 #ifdef __MSL__
34702 #if __MSL__ >= 0x6000
34703 namespace std {}
34704 using namespace std;
34705 #endif
34706 #endif
34707
34708 int
34709 main ()
34710 {
34711
34712 char *buf;
34713 const char *fmt = "%s";
34714 snprintf(buf, 10u, fmt, "wx");
34715
34716 ;
34717 return 0;
34718 }
34719 _ACEOF
34720 rm -f conftest.$ac_objext
34721 if { (ac_try="$ac_compile"
34722 case "(($ac_try" in
34723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34724 *) ac_try_echo=$ac_try;;
34725 esac
34726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34727 (eval "$ac_compile") 2>conftest.er1
34728 ac_status=$?
34729 grep -v '^ *+' conftest.er1 >conftest.err
34730 rm -f conftest.er1
34731 cat conftest.err >&5
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); } && {
34734 test -z "$ac_c_werror_flag" ||
34735 test ! -s conftest.err
34736 } && test -s conftest.$ac_objext; then
34737 wx_cv_func_broken_snprintf_decl=no
34738 else
34739 echo "$as_me: failed program was:" >&5
34740 sed 's/^/| /' conftest.$ac_ext >&5
34741
34742 wx_cv_func_broken_snprintf_decl=yes
34743
34744 fi
34745
34746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34747
34748
34749 fi
34750 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34751 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34752
34753 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34754 cat >>confdefs.h <<\_ACEOF
34755 #define HAVE_BROKEN_SNPRINTF_DECL 1
34756 _ACEOF
34757
34758 fi
34759 fi
34760
34761 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34762
34763 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34764 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34765 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34766 echo $ECHO_N "(cached) $ECHO_C" >&6
34767 else
34768
34769 if test "$cross_compiling" = yes; then
34770
34771 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34772 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34773 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34774 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34775 wx_cv_func_snprintf_pos_params=no
34776
34777
34778 else
34779 cat >conftest.$ac_ext <<_ACEOF
34780 /* confdefs.h. */
34781 _ACEOF
34782 cat confdefs.h >>conftest.$ac_ext
34783 cat >>conftest.$ac_ext <<_ACEOF
34784 /* end confdefs.h. */
34785
34786 #include <stdio.h>
34787
34788 int main (void)
34789 {
34790 char buffer[128];
34791 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34792 if (strcmp ("2 3 1", buffer) == 0)
34793 exit (0);
34794 exit (1);
34795 }
34796
34797 _ACEOF
34798 rm -f conftest$ac_exeext
34799 if { (ac_try="$ac_link"
34800 case "(($ac_try" in
34801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34802 *) ac_try_echo=$ac_try;;
34803 esac
34804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34805 (eval "$ac_link") 2>&5
34806 ac_status=$?
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34809 { (case "(($ac_try" in
34810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34811 *) ac_try_echo=$ac_try;;
34812 esac
34813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34814 (eval "$ac_try") 2>&5
34815 ac_status=$?
34816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34817 (exit $ac_status); }; }; then
34818 wx_cv_func_snprintf_pos_params=no
34819 else
34820 echo "$as_me: program exited with status $ac_status" >&5
34821 echo "$as_me: failed program was:" >&5
34822 sed 's/^/| /' conftest.$ac_ext >&5
34823
34824 ( exit $ac_status )
34825 wx_cv_func_snprintf_pos_params=yes
34826 fi
34827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34828 fi
34829
34830
34831
34832
34833 fi
34834 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34835 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34836
34837 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34838 cat >>confdefs.h <<\_ACEOF
34839 #define HAVE_UNIX98_PRINTF 1
34840 _ACEOF
34841
34842 fi
34843 fi
34844 fi
34845
34846 if test "$wxUSE_UNICODE" = yes; then
34847
34848
34849 for ac_func in swprintf
34850 do
34851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34852 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34854 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34855 echo $ECHO_N "(cached) $ECHO_C" >&6
34856 else
34857 cat >conftest.$ac_ext <<_ACEOF
34858 /* confdefs.h. */
34859 _ACEOF
34860 cat confdefs.h >>conftest.$ac_ext
34861 cat >>conftest.$ac_ext <<_ACEOF
34862 /* end confdefs.h. */
34863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34865 #define $ac_func innocuous_$ac_func
34866
34867 /* System header to define __stub macros and hopefully few prototypes,
34868 which can conflict with char $ac_func (); below.
34869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34870 <limits.h> exists even on freestanding compilers. */
34871
34872 #ifdef __STDC__
34873 # include <limits.h>
34874 #else
34875 # include <assert.h>
34876 #endif
34877
34878 #undef $ac_func
34879
34880 /* Override any GCC internal prototype to avoid an error.
34881 Use char because int might match the return type of a GCC
34882 builtin and then its argument prototype would still apply. */
34883 #ifdef __cplusplus
34884 extern "C"
34885 #endif
34886 char $ac_func ();
34887 /* The GNU C library defines this for functions which it implements
34888 to always fail with ENOSYS. Some functions are actually named
34889 something starting with __ and the normal name is an alias. */
34890 #if defined __stub_$ac_func || defined __stub___$ac_func
34891 choke me
34892 #endif
34893
34894 int
34895 main ()
34896 {
34897 return $ac_func ();
34898 ;
34899 return 0;
34900 }
34901 _ACEOF
34902 rm -f conftest.$ac_objext conftest$ac_exeext
34903 if { (ac_try="$ac_link"
34904 case "(($ac_try" in
34905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34906 *) ac_try_echo=$ac_try;;
34907 esac
34908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34909 (eval "$ac_link") 2>conftest.er1
34910 ac_status=$?
34911 grep -v '^ *+' conftest.er1 >conftest.err
34912 rm -f conftest.er1
34913 cat conftest.err >&5
34914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34915 (exit $ac_status); } && {
34916 test -z "$ac_c_werror_flag" ||
34917 test ! -s conftest.err
34918 } && test -s conftest$ac_exeext &&
34919 $as_test_x conftest$ac_exeext; then
34920 eval "$as_ac_var=yes"
34921 else
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.$ac_ext >&5
34924
34925 eval "$as_ac_var=no"
34926 fi
34927
34928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34929 conftest$ac_exeext conftest.$ac_ext
34930 fi
34931 ac_res=`eval echo '${'$as_ac_var'}'`
34932 { echo "$as_me:$LINENO: result: $ac_res" >&5
34933 echo "${ECHO_T}$ac_res" >&6; }
34934 if test `eval echo '${'$as_ac_var'}'` = yes; then
34935 cat >>confdefs.h <<_ACEOF
34936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34937 _ACEOF
34938
34939 fi
34940 done
34941
34942
34943 if test "$ac_cv_func_swprintf" = "yes"; then
34944 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34945 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34946 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34947 echo $ECHO_N "(cached) $ECHO_C" >&6
34948 else
34949
34950 cat >conftest.$ac_ext <<_ACEOF
34951 /* confdefs.h. */
34952 _ACEOF
34953 cat confdefs.h >>conftest.$ac_ext
34954 cat >>conftest.$ac_ext <<_ACEOF
34955 /* end confdefs.h. */
34956
34957 #include <stdio.h>
34958 #include <stdarg.h>
34959 #include <wchar.h>
34960
34961 int
34962 main ()
34963 {
34964
34965 wchar_t *buf;
34966 const wchar_t *fmt = L"test";
34967 swprintf(buf, 10u, fmt);
34968
34969 ;
34970 return 0;
34971 }
34972 _ACEOF
34973 rm -f conftest.$ac_objext
34974 if { (ac_try="$ac_compile"
34975 case "(($ac_try" in
34976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34977 *) ac_try_echo=$ac_try;;
34978 esac
34979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34980 (eval "$ac_compile") 2>conftest.er1
34981 ac_status=$?
34982 grep -v '^ *+' conftest.er1 >conftest.err
34983 rm -f conftest.er1
34984 cat conftest.err >&5
34985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34986 (exit $ac_status); } && {
34987 test -z "$ac_c_werror_flag" ||
34988 test ! -s conftest.err
34989 } && test -s conftest.$ac_objext; then
34990 wx_cv_func_broken_swprintf_decl=no
34991 else
34992 echo "$as_me: failed program was:" >&5
34993 sed 's/^/| /' conftest.$ac_ext >&5
34994
34995 wx_cv_func_broken_swprintf_decl=yes
34996
34997 fi
34998
34999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35000
35001
35002 fi
35003 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35004 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
35005
35006 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35007 cat >>confdefs.h <<\_ACEOF
35008 #define HAVE_BROKEN_SWPRINTF_DECL 1
35009 _ACEOF
35010
35011 fi
35012 fi
35013
35014 wchar_headers="#include <stdio.h>
35015 #include <wchar.h>"
35016 case "${host}" in
35017 *-*-solaris2* )
35018 { echo "$as_me:$LINENO: checking for widec.h" >&5
35019 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
35020 if test "${ac_cv_header_widec_h+set}" = set; then
35021 echo $ECHO_N "(cached) $ECHO_C" >&6
35022 else
35023 cat >conftest.$ac_ext <<_ACEOF
35024 /* confdefs.h. */
35025 _ACEOF
35026 cat confdefs.h >>conftest.$ac_ext
35027 cat >>conftest.$ac_ext <<_ACEOF
35028 /* end confdefs.h. */
35029 $ac_includes_default
35030
35031 #include <widec.h>
35032 _ACEOF
35033 rm -f conftest.$ac_objext
35034 if { (ac_try="$ac_compile"
35035 case "(($ac_try" in
35036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35037 *) ac_try_echo=$ac_try;;
35038 esac
35039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35040 (eval "$ac_compile") 2>conftest.er1
35041 ac_status=$?
35042 grep -v '^ *+' conftest.er1 >conftest.err
35043 rm -f conftest.er1
35044 cat conftest.err >&5
35045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35046 (exit $ac_status); } && {
35047 test -z "$ac_c_werror_flag" ||
35048 test ! -s conftest.err
35049 } && test -s conftest.$ac_objext; then
35050 ac_cv_header_widec_h=yes
35051 else
35052 echo "$as_me: failed program was:" >&5
35053 sed 's/^/| /' conftest.$ac_ext >&5
35054
35055 ac_cv_header_widec_h=no
35056 fi
35057
35058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35059 fi
35060 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
35061 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
35062
35063
35064 if test "$ac_cv_header_widec_h" = "yes"; then
35065 wchar_headers="$wchar_headers
35066 #include <widec.h>"
35067 fi
35068 esac
35069
35070
35071 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35072 do
35073 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35074 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35075 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35076 echo $ECHO_N "(cached) $ECHO_C" >&6
35077 else
35078
35079 cat >conftest.$ac_ext <<_ACEOF
35080
35081 /* confdefs.h. */
35082 _ACEOF
35083 cat confdefs.h >>conftest.$ac_ext
35084 cat >>conftest.$ac_ext <<_ACEOF
35085 /* end confdefs.h. */
35086
35087 $wchar_headers
35088 $ac_includes_default
35089
35090 int
35091 main ()
35092 {
35093
35094 #ifndef $wx_func
35095 &$wx_func;
35096 #endif
35097
35098
35099 ;
35100 return 0;
35101 }
35102
35103 _ACEOF
35104 rm -f conftest.$ac_objext conftest$ac_exeext
35105 if { (ac_try="$ac_link"
35106 case "(($ac_try" in
35107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35108 *) ac_try_echo=$ac_try;;
35109 esac
35110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35111 (eval "$ac_link") 2>conftest.er1
35112 ac_status=$?
35113 grep -v '^ *+' conftest.er1 >conftest.err
35114 rm -f conftest.er1
35115 cat conftest.err >&5
35116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117 (exit $ac_status); } && {
35118 test -z "$ac_c_werror_flag" ||
35119 test ! -s conftest.err
35120 } && test -s conftest$ac_exeext &&
35121 $as_test_x conftest$ac_exeext; then
35122 eval wx_cv_func_$wx_func=yes
35123 else
35124 echo "$as_me: failed program was:" >&5
35125 sed 's/^/| /' conftest.$ac_ext >&5
35126
35127 eval wx_cv_func_$wx_func=no
35128 fi
35129
35130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35131 conftest$ac_exeext conftest.$ac_ext
35132
35133 fi
35134 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35135 { echo "$as_me:$LINENO: result: $ac_res" >&5
35136 echo "${ECHO_T}$ac_res" >&6; }
35137
35138 if eval test \$wx_cv_func_$wx_func = yes
35139 then
35140 cat >>confdefs.h <<_ACEOF
35141 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35142 _ACEOF
35143
35144
35145 else
35146 :
35147
35148 fi
35149 done
35150
35151
35152 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35153 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35154 cat >conftest.$ac_ext <<_ACEOF
35155 /* confdefs.h. */
35156 _ACEOF
35157 cat confdefs.h >>conftest.$ac_ext
35158 cat >>conftest.$ac_ext <<_ACEOF
35159 /* end confdefs.h. */
35160 #include <wchar.h>
35161 int
35162 main ()
35163 {
35164 &_vsnwprintf;
35165 ;
35166 return 0;
35167 }
35168 _ACEOF
35169 rm -f conftest.$ac_objext
35170 if { (ac_try="$ac_compile"
35171 case "(($ac_try" in
35172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35173 *) ac_try_echo=$ac_try;;
35174 esac
35175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35176 (eval "$ac_compile") 2>conftest.er1
35177 ac_status=$?
35178 grep -v '^ *+' conftest.er1 >conftest.err
35179 rm -f conftest.er1
35180 cat conftest.err >&5
35181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35182 (exit $ac_status); } && {
35183 test -z "$ac_c_werror_flag" ||
35184 test ! -s conftest.err
35185 } && test -s conftest.$ac_objext; then
35186 { echo "$as_me:$LINENO: result: yes" >&5
35187 echo "${ECHO_T}yes" >&6; }
35188 cat >>confdefs.h <<\_ACEOF
35189 #define HAVE__VSNWPRINTF 1
35190 _ACEOF
35191
35192 else
35193 echo "$as_me: failed program was:" >&5
35194 sed 's/^/| /' conftest.$ac_ext >&5
35195
35196 { echo "$as_me:$LINENO: result: no" >&5
35197 echo "${ECHO_T}no" >&6; }
35198 fi
35199
35200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35201 fi
35202
35203 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35204
35205 for wx_func in fnmatch
35206 do
35207 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35208 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35209 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35211 else
35212
35213 cat >conftest.$ac_ext <<_ACEOF
35214
35215 /* confdefs.h. */
35216 _ACEOF
35217 cat confdefs.h >>conftest.$ac_ext
35218 cat >>conftest.$ac_ext <<_ACEOF
35219 /* end confdefs.h. */
35220
35221 #include <fnmatch.h>
35222 $ac_includes_default
35223
35224 int
35225 main ()
35226 {
35227
35228 #ifndef $wx_func
35229 &$wx_func;
35230 #endif
35231
35232
35233 ;
35234 return 0;
35235 }
35236
35237 _ACEOF
35238 rm -f conftest.$ac_objext conftest$ac_exeext
35239 if { (ac_try="$ac_link"
35240 case "(($ac_try" in
35241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35242 *) ac_try_echo=$ac_try;;
35243 esac
35244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35245 (eval "$ac_link") 2>conftest.er1
35246 ac_status=$?
35247 grep -v '^ *+' conftest.er1 >conftest.err
35248 rm -f conftest.er1
35249 cat conftest.err >&5
35250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35251 (exit $ac_status); } && {
35252 test -z "$ac_c_werror_flag" ||
35253 test ! -s conftest.err
35254 } && test -s conftest$ac_exeext &&
35255 $as_test_x conftest$ac_exeext; then
35256 eval wx_cv_func_$wx_func=yes
35257 else
35258 echo "$as_me: failed program was:" >&5
35259 sed 's/^/| /' conftest.$ac_ext >&5
35260
35261 eval wx_cv_func_$wx_func=no
35262 fi
35263
35264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35265 conftest$ac_exeext conftest.$ac_ext
35266
35267 fi
35268 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35269 { echo "$as_me:$LINENO: result: $ac_res" >&5
35270 echo "${ECHO_T}$ac_res" >&6; }
35271
35272 if eval test \$wx_cv_func_$wx_func = yes
35273 then
35274 cat >>confdefs.h <<_ACEOF
35275 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35276 _ACEOF
35277
35278
35279 else
35280 :
35281
35282 fi
35283 done
35284
35285 fi
35286
35287 if test "$wxUSE_FILE" = "yes"; then
35288
35289 for wx_func in fsync
35290 do
35291 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35292 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35293 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35294 echo $ECHO_N "(cached) $ECHO_C" >&6
35295 else
35296
35297 cat >conftest.$ac_ext <<_ACEOF
35298
35299 /* confdefs.h. */
35300 _ACEOF
35301 cat confdefs.h >>conftest.$ac_ext
35302 cat >>conftest.$ac_ext <<_ACEOF
35303 /* end confdefs.h. */
35304
35305
35306 $ac_includes_default
35307
35308 int
35309 main ()
35310 {
35311
35312 #ifndef $wx_func
35313 &$wx_func;
35314 #endif
35315
35316
35317 ;
35318 return 0;
35319 }
35320
35321 _ACEOF
35322 rm -f conftest.$ac_objext conftest$ac_exeext
35323 if { (ac_try="$ac_link"
35324 case "(($ac_try" in
35325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35326 *) ac_try_echo=$ac_try;;
35327 esac
35328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35329 (eval "$ac_link") 2>conftest.er1
35330 ac_status=$?
35331 grep -v '^ *+' conftest.er1 >conftest.err
35332 rm -f conftest.er1
35333 cat conftest.err >&5
35334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35335 (exit $ac_status); } && {
35336 test -z "$ac_c_werror_flag" ||
35337 test ! -s conftest.err
35338 } && test -s conftest$ac_exeext &&
35339 $as_test_x conftest$ac_exeext; then
35340 eval wx_cv_func_$wx_func=yes
35341 else
35342 echo "$as_me: failed program was:" >&5
35343 sed 's/^/| /' conftest.$ac_ext >&5
35344
35345 eval wx_cv_func_$wx_func=no
35346 fi
35347
35348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35349 conftest$ac_exeext conftest.$ac_ext
35350
35351 fi
35352 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35353 { echo "$as_me:$LINENO: result: $ac_res" >&5
35354 echo "${ECHO_T}$ac_res" >&6; }
35355
35356 if eval test \$wx_cv_func_$wx_func = yes
35357 then
35358 cat >>confdefs.h <<_ACEOF
35359 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35360 _ACEOF
35361
35362
35363 else
35364 :
35365
35366 fi
35367 done
35368
35369 fi
35370
35371 ac_ext=cpp
35372 ac_cpp='$CXXCPP $CPPFLAGS'
35373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35376
35377
35378 for wx_func in round
35379 do
35380 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35381 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35382 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35383 echo $ECHO_N "(cached) $ECHO_C" >&6
35384 else
35385
35386 cat >conftest.$ac_ext <<_ACEOF
35387
35388 /* confdefs.h. */
35389 _ACEOF
35390 cat confdefs.h >>conftest.$ac_ext
35391 cat >>conftest.$ac_ext <<_ACEOF
35392 /* end confdefs.h. */
35393
35394 #include <math.h>
35395 $ac_includes_default
35396
35397 int
35398 main ()
35399 {
35400
35401 #ifndef $wx_func
35402 &$wx_func;
35403 #endif
35404
35405
35406 ;
35407 return 0;
35408 }
35409
35410 _ACEOF
35411 rm -f conftest.$ac_objext conftest$ac_exeext
35412 if { (ac_try="$ac_link"
35413 case "(($ac_try" in
35414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35415 *) ac_try_echo=$ac_try;;
35416 esac
35417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35418 (eval "$ac_link") 2>conftest.er1
35419 ac_status=$?
35420 grep -v '^ *+' conftest.er1 >conftest.err
35421 rm -f conftest.er1
35422 cat conftest.err >&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); } && {
35425 test -z "$ac_cxx_werror_flag" ||
35426 test ! -s conftest.err
35427 } && test -s conftest$ac_exeext &&
35428 $as_test_x conftest$ac_exeext; then
35429 eval wx_cv_func_$wx_func=yes
35430 else
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.$ac_ext >&5
35433
35434 eval wx_cv_func_$wx_func=no
35435 fi
35436
35437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35438 conftest$ac_exeext conftest.$ac_ext
35439
35440 fi
35441 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35442 { echo "$as_me:$LINENO: result: $ac_res" >&5
35443 echo "${ECHO_T}$ac_res" >&6; }
35444
35445 if eval test \$wx_cv_func_$wx_func = yes
35446 then
35447 cat >>confdefs.h <<_ACEOF
35448 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35449 _ACEOF
35450
35451
35452 else
35453 :
35454
35455 fi
35456 done
35457
35458 ac_ext=c
35459 ac_cpp='$CPP $CPPFLAGS'
35460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35463
35464
35465 if test "$TOOLKIT" != "MSW"; then
35466
35467
35468
35469
35470
35471 # Check whether --with-libiconv-prefix was given.
35472 if test "${with_libiconv_prefix+set}" = set; then
35473 withval=$with_libiconv_prefix;
35474 for dir in `echo "$withval" | tr : ' '`; do
35475 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35476 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35477 done
35478
35479 fi
35480
35481
35482 { echo "$as_me:$LINENO: checking for iconv" >&5
35483 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35484 if test "${am_cv_func_iconv+set}" = set; then
35485 echo $ECHO_N "(cached) $ECHO_C" >&6
35486 else
35487
35488 am_cv_func_iconv="no, consider installing GNU libiconv"
35489 am_cv_lib_iconv=no
35490 cat >conftest.$ac_ext <<_ACEOF
35491 /* confdefs.h. */
35492 _ACEOF
35493 cat confdefs.h >>conftest.$ac_ext
35494 cat >>conftest.$ac_ext <<_ACEOF
35495 /* end confdefs.h. */
35496 #include <stdlib.h>
35497 #include <iconv.h>
35498 int
35499 main ()
35500 {
35501 iconv_t cd = iconv_open("","");
35502 iconv(cd,NULL,NULL,NULL,NULL);
35503 iconv_close(cd);
35504 ;
35505 return 0;
35506 }
35507 _ACEOF
35508 rm -f conftest.$ac_objext conftest$ac_exeext
35509 if { (ac_try="$ac_link"
35510 case "(($ac_try" in
35511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35512 *) ac_try_echo=$ac_try;;
35513 esac
35514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35515 (eval "$ac_link") 2>conftest.er1
35516 ac_status=$?
35517 grep -v '^ *+' conftest.er1 >conftest.err
35518 rm -f conftest.er1
35519 cat conftest.err >&5
35520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35521 (exit $ac_status); } && {
35522 test -z "$ac_c_werror_flag" ||
35523 test ! -s conftest.err
35524 } && test -s conftest$ac_exeext &&
35525 $as_test_x conftest$ac_exeext; then
35526 am_cv_func_iconv=yes
35527 else
35528 echo "$as_me: failed program was:" >&5
35529 sed 's/^/| /' conftest.$ac_ext >&5
35530
35531
35532 fi
35533
35534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35535 conftest$ac_exeext conftest.$ac_ext
35536 if test "$am_cv_func_iconv" != yes; then
35537 am_save_LIBS="$LIBS"
35538 LIBS="$LIBS -liconv"
35539 cat >conftest.$ac_ext <<_ACEOF
35540 /* confdefs.h. */
35541 _ACEOF
35542 cat confdefs.h >>conftest.$ac_ext
35543 cat >>conftest.$ac_ext <<_ACEOF
35544 /* end confdefs.h. */
35545 #include <stdlib.h>
35546 #include <iconv.h>
35547 int
35548 main ()
35549 {
35550 iconv_t cd = iconv_open("","");
35551 iconv(cd,NULL,NULL,NULL,NULL);
35552 iconv_close(cd);
35553 ;
35554 return 0;
35555 }
35556 _ACEOF
35557 rm -f conftest.$ac_objext conftest$ac_exeext
35558 if { (ac_try="$ac_link"
35559 case "(($ac_try" in
35560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35561 *) ac_try_echo=$ac_try;;
35562 esac
35563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35564 (eval "$ac_link") 2>conftest.er1
35565 ac_status=$?
35566 grep -v '^ *+' conftest.er1 >conftest.err
35567 rm -f conftest.er1
35568 cat conftest.err >&5
35569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35570 (exit $ac_status); } && {
35571 test -z "$ac_c_werror_flag" ||
35572 test ! -s conftest.err
35573 } && test -s conftest$ac_exeext &&
35574 $as_test_x conftest$ac_exeext; then
35575 am_cv_lib_iconv=yes
35576 am_cv_func_iconv=yes
35577 else
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.$ac_ext >&5
35580
35581
35582 fi
35583
35584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35585 conftest$ac_exeext conftest.$ac_ext
35586 LIBS="$am_save_LIBS"
35587 fi
35588
35589 fi
35590 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35591 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35592 if test "$am_cv_func_iconv" = yes; then
35593
35594 cat >>confdefs.h <<\_ACEOF
35595 #define HAVE_ICONV 1
35596 _ACEOF
35597
35598 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35599 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35600 if test "${wx_cv_func_iconv_const+set}" = set; then
35601 echo $ECHO_N "(cached) $ECHO_C" >&6
35602 else
35603 cat >conftest.$ac_ext <<_ACEOF
35604 /* confdefs.h. */
35605 _ACEOF
35606 cat confdefs.h >>conftest.$ac_ext
35607 cat >>conftest.$ac_ext <<_ACEOF
35608 /* end confdefs.h. */
35609
35610 #include <stdlib.h>
35611 #include <iconv.h>
35612 extern
35613 #ifdef __cplusplus
35614 "C"
35615 #endif
35616 #if defined(__STDC__) || defined(__cplusplus)
35617 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35618 #else
35619 size_t iconv();
35620 #endif
35621
35622 int
35623 main ()
35624 {
35625
35626 ;
35627 return 0;
35628 }
35629 _ACEOF
35630 rm -f conftest.$ac_objext
35631 if { (ac_try="$ac_compile"
35632 case "(($ac_try" in
35633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35634 *) ac_try_echo=$ac_try;;
35635 esac
35636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35637 (eval "$ac_compile") 2>conftest.er1
35638 ac_status=$?
35639 grep -v '^ *+' conftest.er1 >conftest.err
35640 rm -f conftest.er1
35641 cat conftest.err >&5
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); } && {
35644 test -z "$ac_c_werror_flag" ||
35645 test ! -s conftest.err
35646 } && test -s conftest.$ac_objext; then
35647 wx_cv_func_iconv_const="no"
35648 else
35649 echo "$as_me: failed program was:" >&5
35650 sed 's/^/| /' conftest.$ac_ext >&5
35651
35652 wx_cv_func_iconv_const="yes"
35653
35654 fi
35655
35656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35657
35658 fi
35659 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35660 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35661
35662 iconv_const=
35663 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35664 iconv_const="const"
35665 fi
35666
35667
35668 cat >>confdefs.h <<_ACEOF
35669 #define ICONV_CONST $iconv_const
35670 _ACEOF
35671
35672 fi
35673 LIBICONV=
35674 if test "$am_cv_lib_iconv" = yes; then
35675 LIBICONV="-liconv"
35676 fi
35677
35678
35679 LIBS="$LIBICONV $LIBS"
35680
35681 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35682
35683 for ac_func in sigaction
35684 do
35685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35686 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35688 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35689 echo $ECHO_N "(cached) $ECHO_C" >&6
35690 else
35691 cat >conftest.$ac_ext <<_ACEOF
35692 /* confdefs.h. */
35693 _ACEOF
35694 cat confdefs.h >>conftest.$ac_ext
35695 cat >>conftest.$ac_ext <<_ACEOF
35696 /* end confdefs.h. */
35697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35699 #define $ac_func innocuous_$ac_func
35700
35701 /* System header to define __stub macros and hopefully few prototypes,
35702 which can conflict with char $ac_func (); below.
35703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35704 <limits.h> exists even on freestanding compilers. */
35705
35706 #ifdef __STDC__
35707 # include <limits.h>
35708 #else
35709 # include <assert.h>
35710 #endif
35711
35712 #undef $ac_func
35713
35714 /* Override any GCC internal prototype to avoid an error.
35715 Use char because int might match the return type of a GCC
35716 builtin and then its argument prototype would still apply. */
35717 #ifdef __cplusplus
35718 extern "C"
35719 #endif
35720 char $ac_func ();
35721 /* The GNU C library defines this for functions which it implements
35722 to always fail with ENOSYS. Some functions are actually named
35723 something starting with __ and the normal name is an alias. */
35724 #if defined __stub_$ac_func || defined __stub___$ac_func
35725 choke me
35726 #endif
35727
35728 int
35729 main ()
35730 {
35731 return $ac_func ();
35732 ;
35733 return 0;
35734 }
35735 _ACEOF
35736 rm -f conftest.$ac_objext conftest$ac_exeext
35737 if { (ac_try="$ac_link"
35738 case "(($ac_try" in
35739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35740 *) ac_try_echo=$ac_try;;
35741 esac
35742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35743 (eval "$ac_link") 2>conftest.er1
35744 ac_status=$?
35745 grep -v '^ *+' conftest.er1 >conftest.err
35746 rm -f conftest.er1
35747 cat conftest.err >&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); } && {
35750 test -z "$ac_c_werror_flag" ||
35751 test ! -s conftest.err
35752 } && test -s conftest$ac_exeext &&
35753 $as_test_x conftest$ac_exeext; then
35754 eval "$as_ac_var=yes"
35755 else
35756 echo "$as_me: failed program was:" >&5
35757 sed 's/^/| /' conftest.$ac_ext >&5
35758
35759 eval "$as_ac_var=no"
35760 fi
35761
35762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35763 conftest$ac_exeext conftest.$ac_ext
35764 fi
35765 ac_res=`eval echo '${'$as_ac_var'}'`
35766 { echo "$as_me:$LINENO: result: $ac_res" >&5
35767 echo "${ECHO_T}$ac_res" >&6; }
35768 if test `eval echo '${'$as_ac_var'}'` = yes; then
35769 cat >>confdefs.h <<_ACEOF
35770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35771 _ACEOF
35772
35773 fi
35774 done
35775
35776
35777 if test "$ac_cv_func_sigaction" = "no"; then
35778 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35779 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35780 wxUSE_ON_FATAL_EXCEPTION=no
35781 fi
35782
35783 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35784 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35785 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35786 if test "${wx_cv_type_sa_handler+set}" = set; then
35787 echo $ECHO_N "(cached) $ECHO_C" >&6
35788 else
35789
35790 ac_ext=cpp
35791 ac_cpp='$CXXCPP $CPPFLAGS'
35792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35795
35796 cat >conftest.$ac_ext <<_ACEOF
35797 /* confdefs.h. */
35798 _ACEOF
35799 cat confdefs.h >>conftest.$ac_ext
35800 cat >>conftest.$ac_ext <<_ACEOF
35801 /* end confdefs.h. */
35802 #include <signal.h>
35803 int
35804 main ()
35805 {
35806
35807 extern void testSigHandler(int);
35808
35809 struct sigaction sa;
35810 sa.sa_handler = testSigHandler;
35811
35812 ;
35813 return 0;
35814 }
35815 _ACEOF
35816 rm -f conftest.$ac_objext
35817 if { (ac_try="$ac_compile"
35818 case "(($ac_try" in
35819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35820 *) ac_try_echo=$ac_try;;
35821 esac
35822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35823 (eval "$ac_compile") 2>conftest.er1
35824 ac_status=$?
35825 grep -v '^ *+' conftest.er1 >conftest.err
35826 rm -f conftest.er1
35827 cat conftest.err >&5
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); } && {
35830 test -z "$ac_cxx_werror_flag" ||
35831 test ! -s conftest.err
35832 } && test -s conftest.$ac_objext; then
35833
35834 wx_cv_type_sa_handler=int
35835
35836 else
35837 echo "$as_me: failed program was:" >&5
35838 sed 's/^/| /' conftest.$ac_ext >&5
35839
35840
35841 wx_cv_type_sa_handler=void
35842
35843 fi
35844
35845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35846 ac_ext=c
35847 ac_cpp='$CPP $CPPFLAGS'
35848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35851
35852
35853 fi
35854 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35855 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35856
35857 cat >>confdefs.h <<_ACEOF
35858 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35859 _ACEOF
35860
35861 fi
35862 fi
35863
35864 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35865 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35866 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35867 if test "${wx_cv_func_backtrace+set}" = set; then
35868 echo $ECHO_N "(cached) $ECHO_C" >&6
35869 else
35870
35871 ac_ext=cpp
35872 ac_cpp='$CXXCPP $CPPFLAGS'
35873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35876
35877 cat >conftest.$ac_ext <<_ACEOF
35878 /* confdefs.h. */
35879 _ACEOF
35880 cat confdefs.h >>conftest.$ac_ext
35881 cat >>conftest.$ac_ext <<_ACEOF
35882 /* end confdefs.h. */
35883 #include <execinfo.h>
35884 int
35885 main ()
35886 {
35887
35888 void *trace[1];
35889 char **messages;
35890
35891 backtrace(trace, 1);
35892 messages = backtrace_symbols(trace, 1);
35893
35894 ;
35895 return 0;
35896 }
35897 _ACEOF
35898 rm -f conftest.$ac_objext
35899 if { (ac_try="$ac_compile"
35900 case "(($ac_try" in
35901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35902 *) ac_try_echo=$ac_try;;
35903 esac
35904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35905 (eval "$ac_compile") 2>conftest.er1
35906 ac_status=$?
35907 grep -v '^ *+' conftest.er1 >conftest.err
35908 rm -f conftest.er1
35909 cat conftest.err >&5
35910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35911 (exit $ac_status); } && {
35912 test -z "$ac_cxx_werror_flag" ||
35913 test ! -s conftest.err
35914 } && test -s conftest.$ac_objext; then
35915 wx_cv_func_backtrace=yes
35916 else
35917 echo "$as_me: failed program was:" >&5
35918 sed 's/^/| /' conftest.$ac_ext >&5
35919
35920 wx_cv_func_backtrace=no
35921
35922 fi
35923
35924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35925 ac_ext=c
35926 ac_cpp='$CPP $CPPFLAGS'
35927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35930
35931
35932
35933 fi
35934 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35935 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35936
35937
35938 if test "$wx_cv_func_backtrace" = "no"; then
35939 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35940 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35941 wxUSE_STACKWALKER=no
35942 else
35943 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35944 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35945 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35946 echo $ECHO_N "(cached) $ECHO_C" >&6
35947 else
35948
35949 ac_ext=cpp
35950 ac_cpp='$CXXCPP $CPPFLAGS'
35951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35954
35955 cat >conftest.$ac_ext <<_ACEOF
35956 /* confdefs.h. */
35957 _ACEOF
35958 cat confdefs.h >>conftest.$ac_ext
35959 cat >>conftest.$ac_ext <<_ACEOF
35960 /* end confdefs.h. */
35961 #include <cxxabi.h>
35962 int
35963 main ()
35964 {
35965
35966 int rc;
35967 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35968
35969 ;
35970 return 0;
35971 }
35972 _ACEOF
35973 rm -f conftest.$ac_objext conftest$ac_exeext
35974 if { (ac_try="$ac_link"
35975 case "(($ac_try" in
35976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35977 *) ac_try_echo=$ac_try;;
35978 esac
35979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35980 (eval "$ac_link") 2>conftest.er1
35981 ac_status=$?
35982 grep -v '^ *+' conftest.er1 >conftest.err
35983 rm -f conftest.er1
35984 cat conftest.err >&5
35985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35986 (exit $ac_status); } && {
35987 test -z "$ac_cxx_werror_flag" ||
35988 test ! -s conftest.err
35989 } && test -s conftest$ac_exeext &&
35990 $as_test_x conftest$ac_exeext; then
35991 wx_cv_func_cxa_demangle=yes
35992 else
35993 echo "$as_me: failed program was:" >&5
35994 sed 's/^/| /' conftest.$ac_ext >&5
35995
35996 wx_cv_func_cxa_demangle=no
35997
35998 fi
35999
36000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36001 conftest$ac_exeext conftest.$ac_ext
36002 ac_ext=c
36003 ac_cpp='$CPP $CPPFLAGS'
36004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36007
36008
36009
36010 fi
36011 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36012 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36013
36014 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36015 cat >>confdefs.h <<\_ACEOF
36016 #define HAVE_CXA_DEMANGLE 1
36017 _ACEOF
36018
36019 fi
36020 fi
36021 fi
36022
36023 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36024 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36025 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36026 wxUSE_STACKWALKER=no
36027 fi
36028
36029
36030
36031
36032 for ac_func in mkstemp mktemp
36033 do
36034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36035 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36037 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36038 echo $ECHO_N "(cached) $ECHO_C" >&6
36039 else
36040 cat >conftest.$ac_ext <<_ACEOF
36041 /* confdefs.h. */
36042 _ACEOF
36043 cat confdefs.h >>conftest.$ac_ext
36044 cat >>conftest.$ac_ext <<_ACEOF
36045 /* end confdefs.h. */
36046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36048 #define $ac_func innocuous_$ac_func
36049
36050 /* System header to define __stub macros and hopefully few prototypes,
36051 which can conflict with char $ac_func (); below.
36052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36053 <limits.h> exists even on freestanding compilers. */
36054
36055 #ifdef __STDC__
36056 # include <limits.h>
36057 #else
36058 # include <assert.h>
36059 #endif
36060
36061 #undef $ac_func
36062
36063 /* Override any GCC internal prototype to avoid an error.
36064 Use char because int might match the return type of a GCC
36065 builtin and then its argument prototype would still apply. */
36066 #ifdef __cplusplus
36067 extern "C"
36068 #endif
36069 char $ac_func ();
36070 /* The GNU C library defines this for functions which it implements
36071 to always fail with ENOSYS. Some functions are actually named
36072 something starting with __ and the normal name is an alias. */
36073 #if defined __stub_$ac_func || defined __stub___$ac_func
36074 choke me
36075 #endif
36076
36077 int
36078 main ()
36079 {
36080 return $ac_func ();
36081 ;
36082 return 0;
36083 }
36084 _ACEOF
36085 rm -f conftest.$ac_objext conftest$ac_exeext
36086 if { (ac_try="$ac_link"
36087 case "(($ac_try" in
36088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36089 *) ac_try_echo=$ac_try;;
36090 esac
36091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36092 (eval "$ac_link") 2>conftest.er1
36093 ac_status=$?
36094 grep -v '^ *+' conftest.er1 >conftest.err
36095 rm -f conftest.er1
36096 cat conftest.err >&5
36097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36098 (exit $ac_status); } && {
36099 test -z "$ac_c_werror_flag" ||
36100 test ! -s conftest.err
36101 } && test -s conftest$ac_exeext &&
36102 $as_test_x conftest$ac_exeext; then
36103 eval "$as_ac_var=yes"
36104 else
36105 echo "$as_me: failed program was:" >&5
36106 sed 's/^/| /' conftest.$ac_ext >&5
36107
36108 eval "$as_ac_var=no"
36109 fi
36110
36111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36112 conftest$ac_exeext conftest.$ac_ext
36113 fi
36114 ac_res=`eval echo '${'$as_ac_var'}'`
36115 { echo "$as_me:$LINENO: result: $ac_res" >&5
36116 echo "${ECHO_T}$ac_res" >&6; }
36117 if test `eval echo '${'$as_ac_var'}'` = yes; then
36118 cat >>confdefs.h <<_ACEOF
36119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36120 _ACEOF
36121 break
36122 fi
36123 done
36124
36125
36126 { echo "$as_me:$LINENO: checking for statfs" >&5
36127 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36128 if test "${wx_cv_func_statfs+set}" = set; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36130 else
36131 cat >conftest.$ac_ext <<_ACEOF
36132 /* confdefs.h. */
36133 _ACEOF
36134 cat confdefs.h >>conftest.$ac_ext
36135 cat >>conftest.$ac_ext <<_ACEOF
36136 /* end confdefs.h. */
36137
36138 #if defined(__BSD__)
36139 #include <sys/param.h>
36140 #include <sys/mount.h>
36141 #else
36142 #include <sys/vfs.h>
36143 #endif
36144
36145 int
36146 main ()
36147 {
36148
36149 long l;
36150 struct statfs fs;
36151 statfs("/", &fs);
36152 l = fs.f_bsize;
36153 l += fs.f_blocks;
36154 l += fs.f_bavail;
36155
36156 ;
36157 return 0;
36158 }
36159 _ACEOF
36160 rm -f conftest.$ac_objext
36161 if { (ac_try="$ac_compile"
36162 case "(($ac_try" in
36163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36164 *) ac_try_echo=$ac_try;;
36165 esac
36166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36167 (eval "$ac_compile") 2>conftest.er1
36168 ac_status=$?
36169 grep -v '^ *+' conftest.er1 >conftest.err
36170 rm -f conftest.er1
36171 cat conftest.err >&5
36172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36173 (exit $ac_status); } && {
36174 test -z "$ac_c_werror_flag" ||
36175 test ! -s conftest.err
36176 } && test -s conftest.$ac_objext; then
36177 wx_cv_func_statfs=yes
36178 else
36179 echo "$as_me: failed program was:" >&5
36180 sed 's/^/| /' conftest.$ac_ext >&5
36181
36182 wx_cv_func_statfs=no
36183
36184 fi
36185
36186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36187
36188 fi
36189 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36190 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36191
36192 if test "$wx_cv_func_statfs" = "yes"; then
36193 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36194 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36195 if test "${wx_cv_func_statfs_decl+set}" = set; then
36196 echo $ECHO_N "(cached) $ECHO_C" >&6
36197 else
36198 ac_ext=cpp
36199 ac_cpp='$CXXCPP $CPPFLAGS'
36200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36203
36204 cat >conftest.$ac_ext <<_ACEOF
36205 /* confdefs.h. */
36206 _ACEOF
36207 cat confdefs.h >>conftest.$ac_ext
36208 cat >>conftest.$ac_ext <<_ACEOF
36209 /* end confdefs.h. */
36210
36211 #if defined(__BSD__)
36212 #include <sys/param.h>
36213 #include <sys/mount.h>
36214 #else
36215 #include <sys/vfs.h>
36216 #endif
36217
36218 int
36219 main ()
36220 {
36221
36222 struct statfs fs;
36223 statfs("", &fs);
36224
36225 ;
36226 return 0;
36227 }
36228 _ACEOF
36229 rm -f conftest.$ac_objext
36230 if { (ac_try="$ac_compile"
36231 case "(($ac_try" in
36232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36233 *) ac_try_echo=$ac_try;;
36234 esac
36235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36236 (eval "$ac_compile") 2>conftest.er1
36237 ac_status=$?
36238 grep -v '^ *+' conftest.er1 >conftest.err
36239 rm -f conftest.er1
36240 cat conftest.err >&5
36241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36242 (exit $ac_status); } && {
36243 test -z "$ac_cxx_werror_flag" ||
36244 test ! -s conftest.err
36245 } && test -s conftest.$ac_objext; then
36246 wx_cv_func_statfs_decl=yes
36247 else
36248 echo "$as_me: failed program was:" >&5
36249 sed 's/^/| /' conftest.$ac_ext >&5
36250
36251 wx_cv_func_statfs_decl=no
36252
36253 fi
36254
36255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36256 ac_ext=c
36257 ac_cpp='$CPP $CPPFLAGS'
36258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36261
36262
36263 fi
36264 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36265 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36266
36267 if test "$wx_cv_func_statfs_decl" = "yes"; then
36268 cat >>confdefs.h <<\_ACEOF
36269 #define HAVE_STATFS_DECL 1
36270 _ACEOF
36271
36272 fi
36273
36274 wx_cv_type_statvfs_t="struct statfs"
36275 cat >>confdefs.h <<\_ACEOF
36276 #define HAVE_STATFS 1
36277 _ACEOF
36278
36279 else
36280 { echo "$as_me:$LINENO: checking for statvfs" >&5
36281 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36282 if test "${wx_cv_func_statvfs+set}" = set; then
36283 echo $ECHO_N "(cached) $ECHO_C" >&6
36284 else
36285 cat >conftest.$ac_ext <<_ACEOF
36286 /* confdefs.h. */
36287 _ACEOF
36288 cat confdefs.h >>conftest.$ac_ext
36289 cat >>conftest.$ac_ext <<_ACEOF
36290 /* end confdefs.h. */
36291
36292 #include <stddef.h>
36293 #include <sys/statvfs.h>
36294
36295 int
36296 main ()
36297 {
36298
36299 statvfs("/", NULL);
36300
36301 ;
36302 return 0;
36303 }
36304 _ACEOF
36305 rm -f conftest.$ac_objext
36306 if { (ac_try="$ac_compile"
36307 case "(($ac_try" in
36308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36309 *) ac_try_echo=$ac_try;;
36310 esac
36311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36312 (eval "$ac_compile") 2>conftest.er1
36313 ac_status=$?
36314 grep -v '^ *+' conftest.er1 >conftest.err
36315 rm -f conftest.er1
36316 cat conftest.err >&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); } && {
36319 test -z "$ac_c_werror_flag" ||
36320 test ! -s conftest.err
36321 } && test -s conftest.$ac_objext; then
36322 wx_cv_func_statvfs=yes
36323 else
36324 echo "$as_me: failed program was:" >&5
36325 sed 's/^/| /' conftest.$ac_ext >&5
36326
36327 wx_cv_func_statvfs=no
36328
36329 fi
36330
36331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36332
36333 fi
36334 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36335 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36336
36337 if test "$wx_cv_func_statvfs" = "yes"; then
36338 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36339 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36340 if test "${wx_cv_type_statvfs_t+set}" = set; then
36341 echo $ECHO_N "(cached) $ECHO_C" >&6
36342 else
36343 ac_ext=cpp
36344 ac_cpp='$CXXCPP $CPPFLAGS'
36345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36348
36349 cat >conftest.$ac_ext <<_ACEOF
36350 /* confdefs.h. */
36351 _ACEOF
36352 cat confdefs.h >>conftest.$ac_ext
36353 cat >>conftest.$ac_ext <<_ACEOF
36354 /* end confdefs.h. */
36355
36356 #include <sys/statvfs.h>
36357
36358 int
36359 main ()
36360 {
36361
36362 long l;
36363 statvfs_t fs;
36364 statvfs("/", &fs);
36365 l = fs.f_bsize;
36366 l += fs.f_blocks;
36367 l += fs.f_bavail;
36368
36369 ;
36370 return 0;
36371 }
36372 _ACEOF
36373 rm -f conftest.$ac_objext
36374 if { (ac_try="$ac_compile"
36375 case "(($ac_try" in
36376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36377 *) ac_try_echo=$ac_try;;
36378 esac
36379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36380 (eval "$ac_compile") 2>conftest.er1
36381 ac_status=$?
36382 grep -v '^ *+' conftest.er1 >conftest.err
36383 rm -f conftest.er1
36384 cat conftest.err >&5
36385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 (exit $ac_status); } && {
36387 test -z "$ac_cxx_werror_flag" ||
36388 test ! -s conftest.err
36389 } && test -s conftest.$ac_objext; then
36390 wx_cv_type_statvfs_t=statvfs_t
36391 else
36392 echo "$as_me: failed program was:" >&5
36393 sed 's/^/| /' conftest.$ac_ext >&5
36394
36395
36396 cat >conftest.$ac_ext <<_ACEOF
36397 /* confdefs.h. */
36398 _ACEOF
36399 cat confdefs.h >>conftest.$ac_ext
36400 cat >>conftest.$ac_ext <<_ACEOF
36401 /* end confdefs.h. */
36402
36403 #include <sys/statvfs.h>
36404
36405 int
36406 main ()
36407 {
36408
36409 long l;
36410 struct statvfs fs;
36411 statvfs("/", &fs);
36412 l = fs.f_bsize;
36413 l += fs.f_blocks;
36414 l += fs.f_bavail;
36415
36416 ;
36417 return 0;
36418 }
36419 _ACEOF
36420 rm -f conftest.$ac_objext
36421 if { (ac_try="$ac_compile"
36422 case "(($ac_try" in
36423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36424 *) ac_try_echo=$ac_try;;
36425 esac
36426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36427 (eval "$ac_compile") 2>conftest.er1
36428 ac_status=$?
36429 grep -v '^ *+' conftest.er1 >conftest.err
36430 rm -f conftest.er1
36431 cat conftest.err >&5
36432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36433 (exit $ac_status); } && {
36434 test -z "$ac_cxx_werror_flag" ||
36435 test ! -s conftest.err
36436 } && test -s conftest.$ac_objext; then
36437 wx_cv_type_statvfs_t="struct statvfs"
36438 else
36439 echo "$as_me: failed program was:" >&5
36440 sed 's/^/| /' conftest.$ac_ext >&5
36441
36442 wx_cv_type_statvfs_t="unknown"
36443
36444 fi
36445
36446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36447
36448
36449 fi
36450
36451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36452 ac_ext=c
36453 ac_cpp='$CPP $CPPFLAGS'
36454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36457
36458
36459 fi
36460 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36461 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36462
36463 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36464 cat >>confdefs.h <<\_ACEOF
36465 #define HAVE_STATVFS 1
36466 _ACEOF
36467
36468 fi
36469 else
36470 wx_cv_type_statvfs_t="unknown"
36471 fi
36472 fi
36473
36474 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36475 cat >>confdefs.h <<_ACEOF
36476 #define WX_STATFS_T $wx_cv_type_statvfs_t
36477 _ACEOF
36478
36479 else
36480 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36481 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36482 fi
36483
36484 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36485
36486
36487 for ac_func in fcntl flock
36488 do
36489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36490 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36492 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36493 echo $ECHO_N "(cached) $ECHO_C" >&6
36494 else
36495 cat >conftest.$ac_ext <<_ACEOF
36496 /* confdefs.h. */
36497 _ACEOF
36498 cat confdefs.h >>conftest.$ac_ext
36499 cat >>conftest.$ac_ext <<_ACEOF
36500 /* end confdefs.h. */
36501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36503 #define $ac_func innocuous_$ac_func
36504
36505 /* System header to define __stub macros and hopefully few prototypes,
36506 which can conflict with char $ac_func (); below.
36507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36508 <limits.h> exists even on freestanding compilers. */
36509
36510 #ifdef __STDC__
36511 # include <limits.h>
36512 #else
36513 # include <assert.h>
36514 #endif
36515
36516 #undef $ac_func
36517
36518 /* Override any GCC internal prototype to avoid an error.
36519 Use char because int might match the return type of a GCC
36520 builtin and then its argument prototype would still apply. */
36521 #ifdef __cplusplus
36522 extern "C"
36523 #endif
36524 char $ac_func ();
36525 /* The GNU C library defines this for functions which it implements
36526 to always fail with ENOSYS. Some functions are actually named
36527 something starting with __ and the normal name is an alias. */
36528 #if defined __stub_$ac_func || defined __stub___$ac_func
36529 choke me
36530 #endif
36531
36532 int
36533 main ()
36534 {
36535 return $ac_func ();
36536 ;
36537 return 0;
36538 }
36539 _ACEOF
36540 rm -f conftest.$ac_objext conftest$ac_exeext
36541 if { (ac_try="$ac_link"
36542 case "(($ac_try" in
36543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36544 *) ac_try_echo=$ac_try;;
36545 esac
36546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36547 (eval "$ac_link") 2>conftest.er1
36548 ac_status=$?
36549 grep -v '^ *+' conftest.er1 >conftest.err
36550 rm -f conftest.er1
36551 cat conftest.err >&5
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); } && {
36554 test -z "$ac_c_werror_flag" ||
36555 test ! -s conftest.err
36556 } && test -s conftest$ac_exeext &&
36557 $as_test_x conftest$ac_exeext; then
36558 eval "$as_ac_var=yes"
36559 else
36560 echo "$as_me: failed program was:" >&5
36561 sed 's/^/| /' conftest.$ac_ext >&5
36562
36563 eval "$as_ac_var=no"
36564 fi
36565
36566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36567 conftest$ac_exeext conftest.$ac_ext
36568 fi
36569 ac_res=`eval echo '${'$as_ac_var'}'`
36570 { echo "$as_me:$LINENO: result: $ac_res" >&5
36571 echo "${ECHO_T}$ac_res" >&6; }
36572 if test `eval echo '${'$as_ac_var'}'` = yes; then
36573 cat >>confdefs.h <<_ACEOF
36574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36575 _ACEOF
36576 break
36577 fi
36578 done
36579
36580
36581 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36582 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36583 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36584 wxUSE_SNGLINST_CHECKER=no
36585 fi
36586 fi
36587
36588
36589 for ac_func in timegm
36590 do
36591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36592 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36594 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36595 echo $ECHO_N "(cached) $ECHO_C" >&6
36596 else
36597 cat >conftest.$ac_ext <<_ACEOF
36598 /* confdefs.h. */
36599 _ACEOF
36600 cat confdefs.h >>conftest.$ac_ext
36601 cat >>conftest.$ac_ext <<_ACEOF
36602 /* end confdefs.h. */
36603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36605 #define $ac_func innocuous_$ac_func
36606
36607 /* System header to define __stub macros and hopefully few prototypes,
36608 which can conflict with char $ac_func (); below.
36609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36610 <limits.h> exists even on freestanding compilers. */
36611
36612 #ifdef __STDC__
36613 # include <limits.h>
36614 #else
36615 # include <assert.h>
36616 #endif
36617
36618 #undef $ac_func
36619
36620 /* Override any GCC internal prototype to avoid an error.
36621 Use char because int might match the return type of a GCC
36622 builtin and then its argument prototype would still apply. */
36623 #ifdef __cplusplus
36624 extern "C"
36625 #endif
36626 char $ac_func ();
36627 /* The GNU C library defines this for functions which it implements
36628 to always fail with ENOSYS. Some functions are actually named
36629 something starting with __ and the normal name is an alias. */
36630 #if defined __stub_$ac_func || defined __stub___$ac_func
36631 choke me
36632 #endif
36633
36634 int
36635 main ()
36636 {
36637 return $ac_func ();
36638 ;
36639 return 0;
36640 }
36641 _ACEOF
36642 rm -f conftest.$ac_objext conftest$ac_exeext
36643 if { (ac_try="$ac_link"
36644 case "(($ac_try" in
36645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36646 *) ac_try_echo=$ac_try;;
36647 esac
36648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36649 (eval "$ac_link") 2>conftest.er1
36650 ac_status=$?
36651 grep -v '^ *+' conftest.er1 >conftest.err
36652 rm -f conftest.er1
36653 cat conftest.err >&5
36654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655 (exit $ac_status); } && {
36656 test -z "$ac_c_werror_flag" ||
36657 test ! -s conftest.err
36658 } && test -s conftest$ac_exeext &&
36659 $as_test_x conftest$ac_exeext; then
36660 eval "$as_ac_var=yes"
36661 else
36662 echo "$as_me: failed program was:" >&5
36663 sed 's/^/| /' conftest.$ac_ext >&5
36664
36665 eval "$as_ac_var=no"
36666 fi
36667
36668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36669 conftest$ac_exeext conftest.$ac_ext
36670 fi
36671 ac_res=`eval echo '${'$as_ac_var'}'`
36672 { echo "$as_me:$LINENO: result: $ac_res" >&5
36673 echo "${ECHO_T}$ac_res" >&6; }
36674 if test `eval echo '${'$as_ac_var'}'` = yes; then
36675 cat >>confdefs.h <<_ACEOF
36676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36677 _ACEOF
36678
36679 fi
36680 done
36681
36682
36683
36684
36685 for ac_func in putenv setenv
36686 do
36687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36688 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36690 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36691 echo $ECHO_N "(cached) $ECHO_C" >&6
36692 else
36693 cat >conftest.$ac_ext <<_ACEOF
36694 /* confdefs.h. */
36695 _ACEOF
36696 cat confdefs.h >>conftest.$ac_ext
36697 cat >>conftest.$ac_ext <<_ACEOF
36698 /* end confdefs.h. */
36699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36701 #define $ac_func innocuous_$ac_func
36702
36703 /* System header to define __stub macros and hopefully few prototypes,
36704 which can conflict with char $ac_func (); below.
36705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36706 <limits.h> exists even on freestanding compilers. */
36707
36708 #ifdef __STDC__
36709 # include <limits.h>
36710 #else
36711 # include <assert.h>
36712 #endif
36713
36714 #undef $ac_func
36715
36716 /* Override any GCC internal prototype to avoid an error.
36717 Use char because int might match the return type of a GCC
36718 builtin and then its argument prototype would still apply. */
36719 #ifdef __cplusplus
36720 extern "C"
36721 #endif
36722 char $ac_func ();
36723 /* The GNU C library defines this for functions which it implements
36724 to always fail with ENOSYS. Some functions are actually named
36725 something starting with __ and the normal name is an alias. */
36726 #if defined __stub_$ac_func || defined __stub___$ac_func
36727 choke me
36728 #endif
36729
36730 int
36731 main ()
36732 {
36733 return $ac_func ();
36734 ;
36735 return 0;
36736 }
36737 _ACEOF
36738 rm -f conftest.$ac_objext conftest$ac_exeext
36739 if { (ac_try="$ac_link"
36740 case "(($ac_try" in
36741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36742 *) ac_try_echo=$ac_try;;
36743 esac
36744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36745 (eval "$ac_link") 2>conftest.er1
36746 ac_status=$?
36747 grep -v '^ *+' conftest.er1 >conftest.err
36748 rm -f conftest.er1
36749 cat conftest.err >&5
36750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36751 (exit $ac_status); } && {
36752 test -z "$ac_c_werror_flag" ||
36753 test ! -s conftest.err
36754 } && test -s conftest$ac_exeext &&
36755 $as_test_x conftest$ac_exeext; then
36756 eval "$as_ac_var=yes"
36757 else
36758 echo "$as_me: failed program was:" >&5
36759 sed 's/^/| /' conftest.$ac_ext >&5
36760
36761 eval "$as_ac_var=no"
36762 fi
36763
36764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36765 conftest$ac_exeext conftest.$ac_ext
36766 fi
36767 ac_res=`eval echo '${'$as_ac_var'}'`
36768 { echo "$as_me:$LINENO: result: $ac_res" >&5
36769 echo "${ECHO_T}$ac_res" >&6; }
36770 if test `eval echo '${'$as_ac_var'}'` = yes; then
36771 cat >>confdefs.h <<_ACEOF
36772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36773 _ACEOF
36774 break
36775 fi
36776 done
36777
36778
36779 HAVE_SOME_SLEEP_FUNC=0
36780 if test "$USE_BEOS" = 1; then
36781 cat >>confdefs.h <<\_ACEOF
36782 #define HAVE_SLEEP 1
36783 _ACEOF
36784
36785 HAVE_SOME_SLEEP_FUNC=1
36786 fi
36787
36788 if test "$USE_DARWIN" = 1; then
36789 cat >>confdefs.h <<\_ACEOF
36790 #define HAVE_USLEEP 1
36791 _ACEOF
36792
36793 HAVE_SOME_SLEEP_FUNC=1
36794 fi
36795
36796 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36797 POSIX4_LINK=
36798
36799 for ac_func in nanosleep
36800 do
36801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36802 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36804 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36805 echo $ECHO_N "(cached) $ECHO_C" >&6
36806 else
36807 cat >conftest.$ac_ext <<_ACEOF
36808 /* confdefs.h. */
36809 _ACEOF
36810 cat confdefs.h >>conftest.$ac_ext
36811 cat >>conftest.$ac_ext <<_ACEOF
36812 /* end confdefs.h. */
36813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36815 #define $ac_func innocuous_$ac_func
36816
36817 /* System header to define __stub macros and hopefully few prototypes,
36818 which can conflict with char $ac_func (); below.
36819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36820 <limits.h> exists even on freestanding compilers. */
36821
36822 #ifdef __STDC__
36823 # include <limits.h>
36824 #else
36825 # include <assert.h>
36826 #endif
36827
36828 #undef $ac_func
36829
36830 /* Override any GCC internal prototype to avoid an error.
36831 Use char because int might match the return type of a GCC
36832 builtin and then its argument prototype would still apply. */
36833 #ifdef __cplusplus
36834 extern "C"
36835 #endif
36836 char $ac_func ();
36837 /* The GNU C library defines this for functions which it implements
36838 to always fail with ENOSYS. Some functions are actually named
36839 something starting with __ and the normal name is an alias. */
36840 #if defined __stub_$ac_func || defined __stub___$ac_func
36841 choke me
36842 #endif
36843
36844 int
36845 main ()
36846 {
36847 return $ac_func ();
36848 ;
36849 return 0;
36850 }
36851 _ACEOF
36852 rm -f conftest.$ac_objext conftest$ac_exeext
36853 if { (ac_try="$ac_link"
36854 case "(($ac_try" in
36855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36856 *) ac_try_echo=$ac_try;;
36857 esac
36858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36859 (eval "$ac_link") 2>conftest.er1
36860 ac_status=$?
36861 grep -v '^ *+' conftest.er1 >conftest.err
36862 rm -f conftest.er1
36863 cat conftest.err >&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); } && {
36866 test -z "$ac_c_werror_flag" ||
36867 test ! -s conftest.err
36868 } && test -s conftest$ac_exeext &&
36869 $as_test_x conftest$ac_exeext; then
36870 eval "$as_ac_var=yes"
36871 else
36872 echo "$as_me: failed program was:" >&5
36873 sed 's/^/| /' conftest.$ac_ext >&5
36874
36875 eval "$as_ac_var=no"
36876 fi
36877
36878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36879 conftest$ac_exeext conftest.$ac_ext
36880 fi
36881 ac_res=`eval echo '${'$as_ac_var'}'`
36882 { echo "$as_me:$LINENO: result: $ac_res" >&5
36883 echo "${ECHO_T}$ac_res" >&6; }
36884 if test `eval echo '${'$as_ac_var'}'` = yes; then
36885 cat >>confdefs.h <<_ACEOF
36886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36887 _ACEOF
36888 cat >>confdefs.h <<\_ACEOF
36889 #define HAVE_NANOSLEEP 1
36890 _ACEOF
36891
36892 else
36893
36894 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36895 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36896 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36897 echo $ECHO_N "(cached) $ECHO_C" >&6
36898 else
36899 ac_check_lib_save_LIBS=$LIBS
36900 LIBS="-lposix4 $LIBS"
36901 cat >conftest.$ac_ext <<_ACEOF
36902 /* confdefs.h. */
36903 _ACEOF
36904 cat confdefs.h >>conftest.$ac_ext
36905 cat >>conftest.$ac_ext <<_ACEOF
36906 /* end confdefs.h. */
36907
36908 /* Override any GCC internal prototype to avoid an error.
36909 Use char because int might match the return type of a GCC
36910 builtin and then its argument prototype would still apply. */
36911 #ifdef __cplusplus
36912 extern "C"
36913 #endif
36914 char nanosleep ();
36915 int
36916 main ()
36917 {
36918 return nanosleep ();
36919 ;
36920 return 0;
36921 }
36922 _ACEOF
36923 rm -f conftest.$ac_objext conftest$ac_exeext
36924 if { (ac_try="$ac_link"
36925 case "(($ac_try" in
36926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36927 *) ac_try_echo=$ac_try;;
36928 esac
36929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36930 (eval "$ac_link") 2>conftest.er1
36931 ac_status=$?
36932 grep -v '^ *+' conftest.er1 >conftest.err
36933 rm -f conftest.er1
36934 cat conftest.err >&5
36935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36936 (exit $ac_status); } && {
36937 test -z "$ac_c_werror_flag" ||
36938 test ! -s conftest.err
36939 } && test -s conftest$ac_exeext &&
36940 $as_test_x conftest$ac_exeext; then
36941 ac_cv_lib_posix4_nanosleep=yes
36942 else
36943 echo "$as_me: failed program was:" >&5
36944 sed 's/^/| /' conftest.$ac_ext >&5
36945
36946 ac_cv_lib_posix4_nanosleep=no
36947 fi
36948
36949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36950 conftest$ac_exeext conftest.$ac_ext
36951 LIBS=$ac_check_lib_save_LIBS
36952 fi
36953 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36954 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36955 if test $ac_cv_lib_posix4_nanosleep = yes; then
36956
36957 cat >>confdefs.h <<\_ACEOF
36958 #define HAVE_NANOSLEEP 1
36959 _ACEOF
36960
36961 POSIX4_LINK=" -lposix4"
36962
36963 else
36964
36965
36966 for wx_func in usleep
36967 do
36968 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36969 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36970 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36971 echo $ECHO_N "(cached) $ECHO_C" >&6
36972 else
36973
36974 cat >conftest.$ac_ext <<_ACEOF
36975
36976 /* confdefs.h. */
36977 _ACEOF
36978 cat confdefs.h >>conftest.$ac_ext
36979 cat >>conftest.$ac_ext <<_ACEOF
36980 /* end confdefs.h. */
36981
36982
36983 $ac_includes_default
36984
36985 int
36986 main ()
36987 {
36988
36989 #ifndef $wx_func
36990 &$wx_func;
36991 #endif
36992
36993
36994 ;
36995 return 0;
36996 }
36997
36998 _ACEOF
36999 rm -f conftest.$ac_objext conftest$ac_exeext
37000 if { (ac_try="$ac_link"
37001 case "(($ac_try" in
37002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37003 *) ac_try_echo=$ac_try;;
37004 esac
37005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37006 (eval "$ac_link") 2>conftest.er1
37007 ac_status=$?
37008 grep -v '^ *+' conftest.er1 >conftest.err
37009 rm -f conftest.er1
37010 cat conftest.err >&5
37011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37012 (exit $ac_status); } && {
37013 test -z "$ac_c_werror_flag" ||
37014 test ! -s conftest.err
37015 } && test -s conftest$ac_exeext &&
37016 $as_test_x conftest$ac_exeext; then
37017 eval wx_cv_func_$wx_func=yes
37018 else
37019 echo "$as_me: failed program was:" >&5
37020 sed 's/^/| /' conftest.$ac_ext >&5
37021
37022 eval wx_cv_func_$wx_func=no
37023 fi
37024
37025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37026 conftest$ac_exeext conftest.$ac_ext
37027
37028 fi
37029 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37030 { echo "$as_me:$LINENO: result: $ac_res" >&5
37031 echo "${ECHO_T}$ac_res" >&6; }
37032
37033 if eval test \$wx_cv_func_$wx_func = yes
37034 then
37035 cat >>confdefs.h <<_ACEOF
37036 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37037 _ACEOF
37038
37039
37040 else
37041 :
37042 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37043 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37044
37045 fi
37046 done
37047
37048
37049
37050 fi
37051
37052
37053
37054 fi
37055 done
37056
37057 fi
37058
37059
37060 for wx_func in uname
37061 do
37062 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37063 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37064 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37065 echo $ECHO_N "(cached) $ECHO_C" >&6
37066 else
37067
37068 cat >conftest.$ac_ext <<_ACEOF
37069
37070 /* confdefs.h. */
37071 _ACEOF
37072 cat confdefs.h >>conftest.$ac_ext
37073 cat >>conftest.$ac_ext <<_ACEOF
37074 /* end confdefs.h. */
37075
37076 #include <sys/utsname.h>
37077 $ac_includes_default
37078
37079 int
37080 main ()
37081 {
37082
37083 #ifndef $wx_func
37084 &$wx_func;
37085 #endif
37086
37087
37088 ;
37089 return 0;
37090 }
37091
37092 _ACEOF
37093 rm -f conftest.$ac_objext conftest$ac_exeext
37094 if { (ac_try="$ac_link"
37095 case "(($ac_try" in
37096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37097 *) ac_try_echo=$ac_try;;
37098 esac
37099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37100 (eval "$ac_link") 2>conftest.er1
37101 ac_status=$?
37102 grep -v '^ *+' conftest.er1 >conftest.err
37103 rm -f conftest.er1
37104 cat conftest.err >&5
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); } && {
37107 test -z "$ac_c_werror_flag" ||
37108 test ! -s conftest.err
37109 } && test -s conftest$ac_exeext &&
37110 $as_test_x conftest$ac_exeext; then
37111 eval wx_cv_func_$wx_func=yes
37112 else
37113 echo "$as_me: failed program was:" >&5
37114 sed 's/^/| /' conftest.$ac_ext >&5
37115
37116 eval wx_cv_func_$wx_func=no
37117 fi
37118
37119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37120 conftest$ac_exeext conftest.$ac_ext
37121
37122 fi
37123 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37124 { echo "$as_me:$LINENO: result: $ac_res" >&5
37125 echo "${ECHO_T}$ac_res" >&6; }
37126
37127 if eval test \$wx_cv_func_$wx_func = yes
37128 then
37129 cat >>confdefs.h <<_ACEOF
37130 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37131 _ACEOF
37132
37133
37134 else
37135 :
37136
37137 fi
37138 done
37139
37140 if test "$wx_cv_func_uname" != yes; then
37141
37142 for wx_func in gethostname
37143 do
37144 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37145 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37146 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37147 echo $ECHO_N "(cached) $ECHO_C" >&6
37148 else
37149
37150 cat >conftest.$ac_ext <<_ACEOF
37151
37152 /* confdefs.h. */
37153 _ACEOF
37154 cat confdefs.h >>conftest.$ac_ext
37155 cat >>conftest.$ac_ext <<_ACEOF
37156 /* end confdefs.h. */
37157
37158
37159 $ac_includes_default
37160
37161 int
37162 main ()
37163 {
37164
37165 #ifndef $wx_func
37166 &$wx_func;
37167 #endif
37168
37169
37170 ;
37171 return 0;
37172 }
37173
37174 _ACEOF
37175 rm -f conftest.$ac_objext conftest$ac_exeext
37176 if { (ac_try="$ac_link"
37177 case "(($ac_try" in
37178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37179 *) ac_try_echo=$ac_try;;
37180 esac
37181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37182 (eval "$ac_link") 2>conftest.er1
37183 ac_status=$?
37184 grep -v '^ *+' conftest.er1 >conftest.err
37185 rm -f conftest.er1
37186 cat conftest.err >&5
37187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37188 (exit $ac_status); } && {
37189 test -z "$ac_c_werror_flag" ||
37190 test ! -s conftest.err
37191 } && test -s conftest$ac_exeext &&
37192 $as_test_x conftest$ac_exeext; then
37193 eval wx_cv_func_$wx_func=yes
37194 else
37195 echo "$as_me: failed program was:" >&5
37196 sed 's/^/| /' conftest.$ac_ext >&5
37197
37198 eval wx_cv_func_$wx_func=no
37199 fi
37200
37201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37202 conftest$ac_exeext conftest.$ac_ext
37203
37204 fi
37205 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37206 { echo "$as_me:$LINENO: result: $ac_res" >&5
37207 echo "${ECHO_T}$ac_res" >&6; }
37208
37209 if eval test \$wx_cv_func_$wx_func = yes
37210 then
37211 cat >>confdefs.h <<_ACEOF
37212 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37213 _ACEOF
37214
37215
37216 else
37217 :
37218
37219 fi
37220 done
37221
37222 fi
37223
37224
37225 for wx_func in strtok_r
37226 do
37227 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37228 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37229 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37230 echo $ECHO_N "(cached) $ECHO_C" >&6
37231 else
37232
37233 cat >conftest.$ac_ext <<_ACEOF
37234
37235 /* confdefs.h. */
37236 _ACEOF
37237 cat confdefs.h >>conftest.$ac_ext
37238 cat >>conftest.$ac_ext <<_ACEOF
37239 /* end confdefs.h. */
37240
37241 #define _REENTRANT
37242 $ac_includes_default
37243
37244 int
37245 main ()
37246 {
37247
37248 #ifndef $wx_func
37249 &$wx_func;
37250 #endif
37251
37252
37253 ;
37254 return 0;
37255 }
37256
37257 _ACEOF
37258 rm -f conftest.$ac_objext conftest$ac_exeext
37259 if { (ac_try="$ac_link"
37260 case "(($ac_try" in
37261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37262 *) ac_try_echo=$ac_try;;
37263 esac
37264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37265 (eval "$ac_link") 2>conftest.er1
37266 ac_status=$?
37267 grep -v '^ *+' conftest.er1 >conftest.err
37268 rm -f conftest.er1
37269 cat conftest.err >&5
37270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37271 (exit $ac_status); } && {
37272 test -z "$ac_c_werror_flag" ||
37273 test ! -s conftest.err
37274 } && test -s conftest$ac_exeext &&
37275 $as_test_x conftest$ac_exeext; then
37276 eval wx_cv_func_$wx_func=yes
37277 else
37278 echo "$as_me: failed program was:" >&5
37279 sed 's/^/| /' conftest.$ac_ext >&5
37280
37281 eval wx_cv_func_$wx_func=no
37282 fi
37283
37284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37285 conftest$ac_exeext conftest.$ac_ext
37286
37287 fi
37288 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37289 { echo "$as_me:$LINENO: result: $ac_res" >&5
37290 echo "${ECHO_T}$ac_res" >&6; }
37291
37292 if eval test \$wx_cv_func_$wx_func = yes
37293 then
37294 cat >>confdefs.h <<_ACEOF
37295 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37296 _ACEOF
37297
37298
37299 else
37300 :
37301
37302 fi
37303 done
37304
37305
37306 INET_LINK=
37307
37308 for ac_func in inet_addr
37309 do
37310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37311 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37313 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37314 echo $ECHO_N "(cached) $ECHO_C" >&6
37315 else
37316 cat >conftest.$ac_ext <<_ACEOF
37317 /* confdefs.h. */
37318 _ACEOF
37319 cat confdefs.h >>conftest.$ac_ext
37320 cat >>conftest.$ac_ext <<_ACEOF
37321 /* end confdefs.h. */
37322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37324 #define $ac_func innocuous_$ac_func
37325
37326 /* System header to define __stub macros and hopefully few prototypes,
37327 which can conflict with char $ac_func (); below.
37328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37329 <limits.h> exists even on freestanding compilers. */
37330
37331 #ifdef __STDC__
37332 # include <limits.h>
37333 #else
37334 # include <assert.h>
37335 #endif
37336
37337 #undef $ac_func
37338
37339 /* Override any GCC internal prototype to avoid an error.
37340 Use char because int might match the return type of a GCC
37341 builtin and then its argument prototype would still apply. */
37342 #ifdef __cplusplus
37343 extern "C"
37344 #endif
37345 char $ac_func ();
37346 /* The GNU C library defines this for functions which it implements
37347 to always fail with ENOSYS. Some functions are actually named
37348 something starting with __ and the normal name is an alias. */
37349 #if defined __stub_$ac_func || defined __stub___$ac_func
37350 choke me
37351 #endif
37352
37353 int
37354 main ()
37355 {
37356 return $ac_func ();
37357 ;
37358 return 0;
37359 }
37360 _ACEOF
37361 rm -f conftest.$ac_objext conftest$ac_exeext
37362 if { (ac_try="$ac_link"
37363 case "(($ac_try" in
37364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37365 *) ac_try_echo=$ac_try;;
37366 esac
37367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37368 (eval "$ac_link") 2>conftest.er1
37369 ac_status=$?
37370 grep -v '^ *+' conftest.er1 >conftest.err
37371 rm -f conftest.er1
37372 cat conftest.err >&5
37373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37374 (exit $ac_status); } && {
37375 test -z "$ac_c_werror_flag" ||
37376 test ! -s conftest.err
37377 } && test -s conftest$ac_exeext &&
37378 $as_test_x conftest$ac_exeext; then
37379 eval "$as_ac_var=yes"
37380 else
37381 echo "$as_me: failed program was:" >&5
37382 sed 's/^/| /' conftest.$ac_ext >&5
37383
37384 eval "$as_ac_var=no"
37385 fi
37386
37387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37388 conftest$ac_exeext conftest.$ac_ext
37389 fi
37390 ac_res=`eval echo '${'$as_ac_var'}'`
37391 { echo "$as_me:$LINENO: result: $ac_res" >&5
37392 echo "${ECHO_T}$ac_res" >&6; }
37393 if test `eval echo '${'$as_ac_var'}'` = yes; then
37394 cat >>confdefs.h <<_ACEOF
37395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37396 _ACEOF
37397 cat >>confdefs.h <<\_ACEOF
37398 #define HAVE_INET_ADDR 1
37399 _ACEOF
37400
37401 else
37402
37403 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37404 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37405 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37406 echo $ECHO_N "(cached) $ECHO_C" >&6
37407 else
37408 ac_check_lib_save_LIBS=$LIBS
37409 LIBS="-lnsl $LIBS"
37410 cat >conftest.$ac_ext <<_ACEOF
37411 /* confdefs.h. */
37412 _ACEOF
37413 cat confdefs.h >>conftest.$ac_ext
37414 cat >>conftest.$ac_ext <<_ACEOF
37415 /* end confdefs.h. */
37416
37417 /* Override any GCC internal prototype to avoid an error.
37418 Use char because int might match the return type of a GCC
37419 builtin and then its argument prototype would still apply. */
37420 #ifdef __cplusplus
37421 extern "C"
37422 #endif
37423 char inet_addr ();
37424 int
37425 main ()
37426 {
37427 return inet_addr ();
37428 ;
37429 return 0;
37430 }
37431 _ACEOF
37432 rm -f conftest.$ac_objext conftest$ac_exeext
37433 if { (ac_try="$ac_link"
37434 case "(($ac_try" in
37435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37436 *) ac_try_echo=$ac_try;;
37437 esac
37438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37439 (eval "$ac_link") 2>conftest.er1
37440 ac_status=$?
37441 grep -v '^ *+' conftest.er1 >conftest.err
37442 rm -f conftest.er1
37443 cat conftest.err >&5
37444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37445 (exit $ac_status); } && {
37446 test -z "$ac_c_werror_flag" ||
37447 test ! -s conftest.err
37448 } && test -s conftest$ac_exeext &&
37449 $as_test_x conftest$ac_exeext; then
37450 ac_cv_lib_nsl_inet_addr=yes
37451 else
37452 echo "$as_me: failed program was:" >&5
37453 sed 's/^/| /' conftest.$ac_ext >&5
37454
37455 ac_cv_lib_nsl_inet_addr=no
37456 fi
37457
37458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37459 conftest$ac_exeext conftest.$ac_ext
37460 LIBS=$ac_check_lib_save_LIBS
37461 fi
37462 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37463 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37464 if test $ac_cv_lib_nsl_inet_addr = yes; then
37465 INET_LINK="nsl"
37466 else
37467
37468 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37469 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37470 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37471 echo $ECHO_N "(cached) $ECHO_C" >&6
37472 else
37473 ac_check_lib_save_LIBS=$LIBS
37474 LIBS="-lresolv $LIBS"
37475 cat >conftest.$ac_ext <<_ACEOF
37476 /* confdefs.h. */
37477 _ACEOF
37478 cat confdefs.h >>conftest.$ac_ext
37479 cat >>conftest.$ac_ext <<_ACEOF
37480 /* end confdefs.h. */
37481
37482 /* Override any GCC internal prototype to avoid an error.
37483 Use char because int might match the return type of a GCC
37484 builtin and then its argument prototype would still apply. */
37485 #ifdef __cplusplus
37486 extern "C"
37487 #endif
37488 char inet_addr ();
37489 int
37490 main ()
37491 {
37492 return inet_addr ();
37493 ;
37494 return 0;
37495 }
37496 _ACEOF
37497 rm -f conftest.$ac_objext conftest$ac_exeext
37498 if { (ac_try="$ac_link"
37499 case "(($ac_try" in
37500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37501 *) ac_try_echo=$ac_try;;
37502 esac
37503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37504 (eval "$ac_link") 2>conftest.er1
37505 ac_status=$?
37506 grep -v '^ *+' conftest.er1 >conftest.err
37507 rm -f conftest.er1
37508 cat conftest.err >&5
37509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37510 (exit $ac_status); } && {
37511 test -z "$ac_c_werror_flag" ||
37512 test ! -s conftest.err
37513 } && test -s conftest$ac_exeext &&
37514 $as_test_x conftest$ac_exeext; then
37515 ac_cv_lib_resolv_inet_addr=yes
37516 else
37517 echo "$as_me: failed program was:" >&5
37518 sed 's/^/| /' conftest.$ac_ext >&5
37519
37520 ac_cv_lib_resolv_inet_addr=no
37521 fi
37522
37523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37524 conftest$ac_exeext conftest.$ac_ext
37525 LIBS=$ac_check_lib_save_LIBS
37526 fi
37527 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37528 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37529 if test $ac_cv_lib_resolv_inet_addr = yes; then
37530 INET_LINK="resolv"
37531 else
37532
37533 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37534 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37535 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37536 echo $ECHO_N "(cached) $ECHO_C" >&6
37537 else
37538 ac_check_lib_save_LIBS=$LIBS
37539 LIBS="-lsocket $LIBS"
37540 cat >conftest.$ac_ext <<_ACEOF
37541 /* confdefs.h. */
37542 _ACEOF
37543 cat confdefs.h >>conftest.$ac_ext
37544 cat >>conftest.$ac_ext <<_ACEOF
37545 /* end confdefs.h. */
37546
37547 /* Override any GCC internal prototype to avoid an error.
37548 Use char because int might match the return type of a GCC
37549 builtin and then its argument prototype would still apply. */
37550 #ifdef __cplusplus
37551 extern "C"
37552 #endif
37553 char inet_addr ();
37554 int
37555 main ()
37556 {
37557 return inet_addr ();
37558 ;
37559 return 0;
37560 }
37561 _ACEOF
37562 rm -f conftest.$ac_objext conftest$ac_exeext
37563 if { (ac_try="$ac_link"
37564 case "(($ac_try" in
37565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37566 *) ac_try_echo=$ac_try;;
37567 esac
37568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37569 (eval "$ac_link") 2>conftest.er1
37570 ac_status=$?
37571 grep -v '^ *+' conftest.er1 >conftest.err
37572 rm -f conftest.er1
37573 cat conftest.err >&5
37574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37575 (exit $ac_status); } && {
37576 test -z "$ac_c_werror_flag" ||
37577 test ! -s conftest.err
37578 } && test -s conftest$ac_exeext &&
37579 $as_test_x conftest$ac_exeext; then
37580 ac_cv_lib_socket_inet_addr=yes
37581 else
37582 echo "$as_me: failed program was:" >&5
37583 sed 's/^/| /' conftest.$ac_ext >&5
37584
37585 ac_cv_lib_socket_inet_addr=no
37586 fi
37587
37588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37589 conftest$ac_exeext conftest.$ac_ext
37590 LIBS=$ac_check_lib_save_LIBS
37591 fi
37592 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37593 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37594 if test $ac_cv_lib_socket_inet_addr = yes; then
37595 INET_LINK="socket"
37596
37597 fi
37598
37599
37600
37601 fi
37602
37603
37604
37605 fi
37606
37607
37608
37609 fi
37610 done
37611
37612
37613
37614 for ac_func in inet_aton
37615 do
37616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37617 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37619 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37620 echo $ECHO_N "(cached) $ECHO_C" >&6
37621 else
37622 cat >conftest.$ac_ext <<_ACEOF
37623 /* confdefs.h. */
37624 _ACEOF
37625 cat confdefs.h >>conftest.$ac_ext
37626 cat >>conftest.$ac_ext <<_ACEOF
37627 /* end confdefs.h. */
37628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37630 #define $ac_func innocuous_$ac_func
37631
37632 /* System header to define __stub macros and hopefully few prototypes,
37633 which can conflict with char $ac_func (); below.
37634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37635 <limits.h> exists even on freestanding compilers. */
37636
37637 #ifdef __STDC__
37638 # include <limits.h>
37639 #else
37640 # include <assert.h>
37641 #endif
37642
37643 #undef $ac_func
37644
37645 /* Override any GCC internal prototype to avoid an error.
37646 Use char because int might match the return type of a GCC
37647 builtin and then its argument prototype would still apply. */
37648 #ifdef __cplusplus
37649 extern "C"
37650 #endif
37651 char $ac_func ();
37652 /* The GNU C library defines this for functions which it implements
37653 to always fail with ENOSYS. Some functions are actually named
37654 something starting with __ and the normal name is an alias. */
37655 #if defined __stub_$ac_func || defined __stub___$ac_func
37656 choke me
37657 #endif
37658
37659 int
37660 main ()
37661 {
37662 return $ac_func ();
37663 ;
37664 return 0;
37665 }
37666 _ACEOF
37667 rm -f conftest.$ac_objext conftest$ac_exeext
37668 if { (ac_try="$ac_link"
37669 case "(($ac_try" in
37670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37671 *) ac_try_echo=$ac_try;;
37672 esac
37673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37674 (eval "$ac_link") 2>conftest.er1
37675 ac_status=$?
37676 grep -v '^ *+' conftest.er1 >conftest.err
37677 rm -f conftest.er1
37678 cat conftest.err >&5
37679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37680 (exit $ac_status); } && {
37681 test -z "$ac_c_werror_flag" ||
37682 test ! -s conftest.err
37683 } && test -s conftest$ac_exeext &&
37684 $as_test_x conftest$ac_exeext; then
37685 eval "$as_ac_var=yes"
37686 else
37687 echo "$as_me: failed program was:" >&5
37688 sed 's/^/| /' conftest.$ac_ext >&5
37689
37690 eval "$as_ac_var=no"
37691 fi
37692
37693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37694 conftest$ac_exeext conftest.$ac_ext
37695 fi
37696 ac_res=`eval echo '${'$as_ac_var'}'`
37697 { echo "$as_me:$LINENO: result: $ac_res" >&5
37698 echo "${ECHO_T}$ac_res" >&6; }
37699 if test `eval echo '${'$as_ac_var'}'` = yes; then
37700 cat >>confdefs.h <<_ACEOF
37701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37702 _ACEOF
37703 cat >>confdefs.h <<\_ACEOF
37704 #define HAVE_INET_ATON 1
37705 _ACEOF
37706
37707 else
37708
37709 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37710 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37711 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37712 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37713 echo $ECHO_N "(cached) $ECHO_C" >&6
37714 else
37715 ac_check_lib_save_LIBS=$LIBS
37716 LIBS="-l$INET_LINK $LIBS"
37717 cat >conftest.$ac_ext <<_ACEOF
37718 /* confdefs.h. */
37719 _ACEOF
37720 cat confdefs.h >>conftest.$ac_ext
37721 cat >>conftest.$ac_ext <<_ACEOF
37722 /* end confdefs.h. */
37723
37724 /* Override any GCC internal prototype to avoid an error.
37725 Use char because int might match the return type of a GCC
37726 builtin and then its argument prototype would still apply. */
37727 #ifdef __cplusplus
37728 extern "C"
37729 #endif
37730 char inet_aton ();
37731 int
37732 main ()
37733 {
37734 return inet_aton ();
37735 ;
37736 return 0;
37737 }
37738 _ACEOF
37739 rm -f conftest.$ac_objext conftest$ac_exeext
37740 if { (ac_try="$ac_link"
37741 case "(($ac_try" in
37742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37743 *) ac_try_echo=$ac_try;;
37744 esac
37745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37746 (eval "$ac_link") 2>conftest.er1
37747 ac_status=$?
37748 grep -v '^ *+' conftest.er1 >conftest.err
37749 rm -f conftest.er1
37750 cat conftest.err >&5
37751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37752 (exit $ac_status); } && {
37753 test -z "$ac_c_werror_flag" ||
37754 test ! -s conftest.err
37755 } && test -s conftest$ac_exeext &&
37756 $as_test_x conftest$ac_exeext; then
37757 eval "$as_ac_Lib=yes"
37758 else
37759 echo "$as_me: failed program was:" >&5
37760 sed 's/^/| /' conftest.$ac_ext >&5
37761
37762 eval "$as_ac_Lib=no"
37763 fi
37764
37765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37766 conftest$ac_exeext conftest.$ac_ext
37767 LIBS=$ac_check_lib_save_LIBS
37768 fi
37769 ac_res=`eval echo '${'$as_ac_Lib'}'`
37770 { echo "$as_me:$LINENO: result: $ac_res" >&5
37771 echo "${ECHO_T}$ac_res" >&6; }
37772 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37773 cat >>confdefs.h <<\_ACEOF
37774 #define HAVE_INET_ATON 1
37775 _ACEOF
37776
37777 fi
37778
37779
37780 fi
37781 done
37782
37783
37784 if test "x$INET_LINK" != "x"; then
37785 cat >>confdefs.h <<\_ACEOF
37786 #define HAVE_INET_ADDR 1
37787 _ACEOF
37788
37789 INET_LINK=" -l$INET_LINK"
37790 fi
37791
37792
37793 for wx_func in fdopen
37794 do
37795 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37796 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37797 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37798 echo $ECHO_N "(cached) $ECHO_C" >&6
37799 else
37800
37801 cat >conftest.$ac_ext <<_ACEOF
37802
37803 /* confdefs.h. */
37804 _ACEOF
37805 cat confdefs.h >>conftest.$ac_ext
37806 cat >>conftest.$ac_ext <<_ACEOF
37807 /* end confdefs.h. */
37808
37809
37810 $ac_includes_default
37811
37812 int
37813 main ()
37814 {
37815
37816 #ifndef $wx_func
37817 &$wx_func;
37818 #endif
37819
37820
37821 ;
37822 return 0;
37823 }
37824
37825 _ACEOF
37826 rm -f conftest.$ac_objext conftest$ac_exeext
37827 if { (ac_try="$ac_link"
37828 case "(($ac_try" in
37829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37830 *) ac_try_echo=$ac_try;;
37831 esac
37832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37833 (eval "$ac_link") 2>conftest.er1
37834 ac_status=$?
37835 grep -v '^ *+' conftest.er1 >conftest.err
37836 rm -f conftest.er1
37837 cat conftest.err >&5
37838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37839 (exit $ac_status); } && {
37840 test -z "$ac_c_werror_flag" ||
37841 test ! -s conftest.err
37842 } && test -s conftest$ac_exeext &&
37843 $as_test_x conftest$ac_exeext; then
37844 eval wx_cv_func_$wx_func=yes
37845 else
37846 echo "$as_me: failed program was:" >&5
37847 sed 's/^/| /' conftest.$ac_ext >&5
37848
37849 eval wx_cv_func_$wx_func=no
37850 fi
37851
37852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37853 conftest$ac_exeext conftest.$ac_ext
37854
37855 fi
37856 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37857 { echo "$as_me:$LINENO: result: $ac_res" >&5
37858 echo "${ECHO_T}$ac_res" >&6; }
37859
37860 if eval test \$wx_cv_func_$wx_func = yes
37861 then
37862 cat >>confdefs.h <<_ACEOF
37863 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37864 _ACEOF
37865
37866
37867 else
37868 :
37869
37870 fi
37871 done
37872
37873
37874 fi
37875
37876
37877
37878 cat >confcache <<\_ACEOF
37879 # This file is a shell script that caches the results of configure
37880 # tests run on this system so they can be shared between configure
37881 # scripts and configure runs, see configure's option --config-cache.
37882 # It is not useful on other systems. If it contains results you don't
37883 # want to keep, you may remove or edit it.
37884 #
37885 # config.status only pays attention to the cache file if you give it
37886 # the --recheck option to rerun configure.
37887 #
37888 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37889 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37890 # following values.
37891
37892 _ACEOF
37893
37894 # The following way of writing the cache mishandles newlines in values,
37895 # but we know of no workaround that is simple, portable, and efficient.
37896 # So, we kill variables containing newlines.
37897 # Ultrix sh set writes to stderr and can't be redirected directly,
37898 # and sets the high bit in the cache file unless we assign to the vars.
37899 (
37900 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37901 eval ac_val=\$$ac_var
37902 case $ac_val in #(
37903 *${as_nl}*)
37904 case $ac_var in #(
37905 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37906 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37907 esac
37908 case $ac_var in #(
37909 _ | IFS | as_nl) ;; #(
37910 *) $as_unset $ac_var ;;
37911 esac ;;
37912 esac
37913 done
37914
37915 (set) 2>&1 |
37916 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37917 *${as_nl}ac_space=\ *)
37918 # `set' does not quote correctly, so add quotes (double-quote
37919 # substitution turns \\\\ into \\, and sed turns \\ into \).
37920 sed -n \
37921 "s/'/'\\\\''/g;
37922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37923 ;; #(
37924 *)
37925 # `set' quotes correctly as required by POSIX, so do not add quotes.
37926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37927 ;;
37928 esac |
37929 sort
37930 ) |
37931 sed '
37932 /^ac_cv_env_/b end
37933 t clear
37934 :clear
37935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37936 t end
37937 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37938 :end' >>confcache
37939 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37940 if test -w "$cache_file"; then
37941 test "x$cache_file" != "x/dev/null" &&
37942 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37943 echo "$as_me: updating cache $cache_file" >&6;}
37944 cat confcache >$cache_file
37945 else
37946 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37947 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37948 fi
37949 fi
37950 rm -f confcache
37951
37952
37953 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37954
37955
37956 THREADS_LINK=
37957 THREADS_CFLAGS=
37958
37959 if test "$wxUSE_THREADS" = "yes" ; then
37960 if test "$USE_BEOS" = 1; then
37961 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37962 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37963 wxUSE_THREADS="no"
37964 fi
37965 fi
37966
37967 if test "$wxUSE_THREADS" = "yes" ; then
37968
37969
37970 THREAD_OPTS="-pthread"
37971 case "${host}" in
37972 *-*-solaris2* | *-*-sunos4* )
37973 if test "x$GCC" = "xyes"; then
37974 THREAD_OPTS="-pthreads $THREAD_OPTS"
37975 else
37976 THREAD_OPTS="-mt $THREAD_OPTS"
37977 fi
37978 ;;
37979 *-*-freebsd*)
37980 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37981 ;;
37982 *-*-darwin* | *-*-cygwin* )
37983 THREAD_OPTS=""
37984 ;;
37985 *-*-aix*)
37986 THREAD_OPTS="pthreads"
37987 ;;
37988 *-hp-hpux* )
37989 if test "x$GCC" = "xyes"; then
37990 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37991 THREAD_OPTS=""
37992 else
37993 THREAD_OPTS="-mt"
37994 fi
37995 ;;
37996
37997 *-*-irix* )
37998 if test "x$GCC" = "xyes"; then
37999 THREAD_OPTS=""
38000 fi
38001 ;;
38002
38003 *-*-*UnixWare*)
38004 if test "x$GCC" != "xyes"; then
38005 THREAD_OPTS="-Ethread"
38006 fi
38007 ;;
38008 esac
38009
38010 THREAD_OPTS="$THREAD_OPTS pthread none"
38011
38012 THREADS_OK=no
38013 for flag in $THREAD_OPTS; do
38014 case $flag in
38015 none)
38016 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38017 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38018 ;;
38019
38020 -*)
38021 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38022 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38023 THREADS_CFLAGS="$flag"
38024 ;;
38025
38026 *)
38027 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38028 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38029 THREADS_LINK="-l$flag"
38030 ;;
38031 esac
38032
38033 save_LIBS="$LIBS"
38034 save_CFLAGS="$CFLAGS"
38035 LIBS="$THREADS_LINK $LIBS"
38036 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38037
38038 cat >conftest.$ac_ext <<_ACEOF
38039 /* confdefs.h. */
38040 _ACEOF
38041 cat confdefs.h >>conftest.$ac_ext
38042 cat >>conftest.$ac_ext <<_ACEOF
38043 /* end confdefs.h. */
38044 #include <pthread.h>
38045 int
38046 main ()
38047 {
38048 pthread_create(0,0,0,0);
38049 ;
38050 return 0;
38051 }
38052 _ACEOF
38053 rm -f conftest.$ac_objext conftest$ac_exeext
38054 if { (ac_try="$ac_link"
38055 case "(($ac_try" in
38056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38057 *) ac_try_echo=$ac_try;;
38058 esac
38059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38060 (eval "$ac_link") 2>conftest.er1
38061 ac_status=$?
38062 grep -v '^ *+' conftest.er1 >conftest.err
38063 rm -f conftest.er1
38064 cat conftest.err >&5
38065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38066 (exit $ac_status); } && {
38067 test -z "$ac_c_werror_flag" ||
38068 test ! -s conftest.err
38069 } && test -s conftest$ac_exeext &&
38070 $as_test_x conftest$ac_exeext; then
38071 THREADS_OK=yes
38072 else
38073 echo "$as_me: failed program was:" >&5
38074 sed 's/^/| /' conftest.$ac_ext >&5
38075
38076
38077 fi
38078
38079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38080 conftest$ac_exeext conftest.$ac_ext
38081
38082 LIBS="$save_LIBS"
38083 CFLAGS="$save_CFLAGS"
38084
38085 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38086 echo "${ECHO_T}$THREADS_OK" >&6; }
38087 if test "x$THREADS_OK" = "xyes"; then
38088 break;
38089 fi
38090
38091 THREADS_LINK=""
38092 THREADS_CFLAGS=""
38093 done
38094
38095 if test "x$THREADS_OK" != "xyes"; then
38096 wxUSE_THREADS=no
38097 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38098 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38099 else
38100 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38101 LIBS="$THREADS_LINK $LIBS"
38102
38103 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38104 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38105 flag=no
38106 case "${host}" in
38107 *-aix*)
38108 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38109 flag="-D_THREAD_SAFE"
38110 ;;
38111 *-freebsd*)
38112 flag="-D_THREAD_SAFE"
38113 ;;
38114 *-hp-hpux* )
38115 flag="-D_REENTRANT"
38116 if test "x$GCC" != "xyes"; then
38117 flag="$flag -D_RWSTD_MULTI_THREAD"
38118 fi
38119 ;;
38120 *solaris* | alpha*-osf*)
38121 flag="-D_REENTRANT"
38122 ;;
38123 esac
38124 { echo "$as_me:$LINENO: result: ${flag}" >&5
38125 echo "${ECHO_T}${flag}" >&6; }
38126 if test "x$flag" != xno; then
38127 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38128 fi
38129
38130 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38131 fi
38132 fi
38133
38134 if test "$wxUSE_THREADS" = "yes" ; then
38135
38136 for ac_func in thr_setconcurrency
38137 do
38138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38139 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38141 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38142 echo $ECHO_N "(cached) $ECHO_C" >&6
38143 else
38144 cat >conftest.$ac_ext <<_ACEOF
38145 /* confdefs.h. */
38146 _ACEOF
38147 cat confdefs.h >>conftest.$ac_ext
38148 cat >>conftest.$ac_ext <<_ACEOF
38149 /* end confdefs.h. */
38150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38152 #define $ac_func innocuous_$ac_func
38153
38154 /* System header to define __stub macros and hopefully few prototypes,
38155 which can conflict with char $ac_func (); below.
38156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38157 <limits.h> exists even on freestanding compilers. */
38158
38159 #ifdef __STDC__
38160 # include <limits.h>
38161 #else
38162 # include <assert.h>
38163 #endif
38164
38165 #undef $ac_func
38166
38167 /* Override any GCC internal prototype to avoid an error.
38168 Use char because int might match the return type of a GCC
38169 builtin and then its argument prototype would still apply. */
38170 #ifdef __cplusplus
38171 extern "C"
38172 #endif
38173 char $ac_func ();
38174 /* The GNU C library defines this for functions which it implements
38175 to always fail with ENOSYS. Some functions are actually named
38176 something starting with __ and the normal name is an alias. */
38177 #if defined __stub_$ac_func || defined __stub___$ac_func
38178 choke me
38179 #endif
38180
38181 int
38182 main ()
38183 {
38184 return $ac_func ();
38185 ;
38186 return 0;
38187 }
38188 _ACEOF
38189 rm -f conftest.$ac_objext conftest$ac_exeext
38190 if { (ac_try="$ac_link"
38191 case "(($ac_try" in
38192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38193 *) ac_try_echo=$ac_try;;
38194 esac
38195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38196 (eval "$ac_link") 2>conftest.er1
38197 ac_status=$?
38198 grep -v '^ *+' conftest.er1 >conftest.err
38199 rm -f conftest.er1
38200 cat conftest.err >&5
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); } && {
38203 test -z "$ac_c_werror_flag" ||
38204 test ! -s conftest.err
38205 } && test -s conftest$ac_exeext &&
38206 $as_test_x conftest$ac_exeext; then
38207 eval "$as_ac_var=yes"
38208 else
38209 echo "$as_me: failed program was:" >&5
38210 sed 's/^/| /' conftest.$ac_ext >&5
38211
38212 eval "$as_ac_var=no"
38213 fi
38214
38215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38216 conftest$ac_exeext conftest.$ac_ext
38217 fi
38218 ac_res=`eval echo '${'$as_ac_var'}'`
38219 { echo "$as_me:$LINENO: result: $ac_res" >&5
38220 echo "${ECHO_T}$ac_res" >&6; }
38221 if test `eval echo '${'$as_ac_var'}'` = yes; then
38222 cat >>confdefs.h <<_ACEOF
38223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38224 _ACEOF
38225
38226 fi
38227 done
38228
38229
38230 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38231 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38232 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38233 echo $ECHO_N "(cached) $ECHO_C" >&6
38234 else
38235
38236 cat >conftest.$ac_ext <<_ACEOF
38237 /* confdefs.h. */
38238 _ACEOF
38239 cat confdefs.h >>conftest.$ac_ext
38240 cat >>conftest.$ac_ext <<_ACEOF
38241 /* end confdefs.h. */
38242 #include <pthread.h>
38243 void ThreadCleanupFunc(void *p);
38244
38245 int
38246 main ()
38247 {
38248
38249 void *p;
38250 pthread_cleanup_push(ThreadCleanupFunc, p);
38251 pthread_cleanup_pop(0);
38252
38253 ;
38254 return 0;
38255 }
38256 _ACEOF
38257 rm -f conftest.$ac_objext
38258 if { (ac_try="$ac_compile"
38259 case "(($ac_try" in
38260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38261 *) ac_try_echo=$ac_try;;
38262 esac
38263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38264 (eval "$ac_compile") 2>conftest.er1
38265 ac_status=$?
38266 grep -v '^ *+' conftest.er1 >conftest.err
38267 rm -f conftest.er1
38268 cat conftest.err >&5
38269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38270 (exit $ac_status); } && {
38271 test -z "$ac_c_werror_flag" ||
38272 test ! -s conftest.err
38273 } && test -s conftest.$ac_objext; then
38274
38275 wx_cv_func_pthread_cleanup=yes
38276
38277 else
38278 echo "$as_me: failed program was:" >&5
38279 sed 's/^/| /' conftest.$ac_ext >&5
38280
38281
38282 wx_cv_func_pthread_cleanup=no
38283
38284
38285 fi
38286
38287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38288
38289 fi
38290 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38291 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38292 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38293 cat >>confdefs.h <<\_ACEOF
38294 #define wxHAVE_PTHREAD_CLEANUP 1
38295 _ACEOF
38296
38297 fi
38298
38299 { echo "$as_me:$LINENO: checking for sched.h" >&5
38300 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38301 if test "${ac_cv_header_sched_h+set}" = set; then
38302 echo $ECHO_N "(cached) $ECHO_C" >&6
38303 else
38304 cat >conftest.$ac_ext <<_ACEOF
38305 /* confdefs.h. */
38306 _ACEOF
38307 cat confdefs.h >>conftest.$ac_ext
38308 cat >>conftest.$ac_ext <<_ACEOF
38309 /* end confdefs.h. */
38310 $ac_includes_default
38311
38312 #include <sched.h>
38313 _ACEOF
38314 rm -f conftest.$ac_objext
38315 if { (ac_try="$ac_compile"
38316 case "(($ac_try" in
38317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38318 *) ac_try_echo=$ac_try;;
38319 esac
38320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38321 (eval "$ac_compile") 2>conftest.er1
38322 ac_status=$?
38323 grep -v '^ *+' conftest.er1 >conftest.err
38324 rm -f conftest.er1
38325 cat conftest.err >&5
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); } && {
38328 test -z "$ac_c_werror_flag" ||
38329 test ! -s conftest.err
38330 } && test -s conftest.$ac_objext; then
38331 ac_cv_header_sched_h=yes
38332 else
38333 echo "$as_me: failed program was:" >&5
38334 sed 's/^/| /' conftest.$ac_ext >&5
38335
38336 ac_cv_header_sched_h=no
38337 fi
38338
38339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38340 fi
38341 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38342 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38343
38344
38345 if test "$ac_cv_header_sched_h" = "yes"; then
38346 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38347 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38348 if test "${ac_cv_func_sched_yield+set}" = set; then
38349 echo $ECHO_N "(cached) $ECHO_C" >&6
38350 else
38351 cat >conftest.$ac_ext <<_ACEOF
38352 /* confdefs.h. */
38353 _ACEOF
38354 cat confdefs.h >>conftest.$ac_ext
38355 cat >>conftest.$ac_ext <<_ACEOF
38356 /* end confdefs.h. */
38357 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38359 #define sched_yield innocuous_sched_yield
38360
38361 /* System header to define __stub macros and hopefully few prototypes,
38362 which can conflict with char sched_yield (); below.
38363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38364 <limits.h> exists even on freestanding compilers. */
38365
38366 #ifdef __STDC__
38367 # include <limits.h>
38368 #else
38369 # include <assert.h>
38370 #endif
38371
38372 #undef sched_yield
38373
38374 /* Override any GCC internal prototype to avoid an error.
38375 Use char because int might match the return type of a GCC
38376 builtin and then its argument prototype would still apply. */
38377 #ifdef __cplusplus
38378 extern "C"
38379 #endif
38380 char sched_yield ();
38381 /* The GNU C library defines this for functions which it implements
38382 to always fail with ENOSYS. Some functions are actually named
38383 something starting with __ and the normal name is an alias. */
38384 #if defined __stub_sched_yield || defined __stub___sched_yield
38385 choke me
38386 #endif
38387
38388 int
38389 main ()
38390 {
38391 return sched_yield ();
38392 ;
38393 return 0;
38394 }
38395 _ACEOF
38396 rm -f conftest.$ac_objext conftest$ac_exeext
38397 if { (ac_try="$ac_link"
38398 case "(($ac_try" in
38399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38400 *) ac_try_echo=$ac_try;;
38401 esac
38402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38403 (eval "$ac_link") 2>conftest.er1
38404 ac_status=$?
38405 grep -v '^ *+' conftest.er1 >conftest.err
38406 rm -f conftest.er1
38407 cat conftest.err >&5
38408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38409 (exit $ac_status); } && {
38410 test -z "$ac_c_werror_flag" ||
38411 test ! -s conftest.err
38412 } && test -s conftest$ac_exeext &&
38413 $as_test_x conftest$ac_exeext; then
38414 ac_cv_func_sched_yield=yes
38415 else
38416 echo "$as_me: failed program was:" >&5
38417 sed 's/^/| /' conftest.$ac_ext >&5
38418
38419 ac_cv_func_sched_yield=no
38420 fi
38421
38422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38423 conftest$ac_exeext conftest.$ac_ext
38424 fi
38425 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38426 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38427 if test $ac_cv_func_sched_yield = yes; then
38428 cat >>confdefs.h <<\_ACEOF
38429 #define HAVE_SCHED_YIELD 1
38430 _ACEOF
38431
38432 else
38433
38434 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38435 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38436 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38437 echo $ECHO_N "(cached) $ECHO_C" >&6
38438 else
38439 ac_check_lib_save_LIBS=$LIBS
38440 LIBS="-lposix4 $LIBS"
38441 cat >conftest.$ac_ext <<_ACEOF
38442 /* confdefs.h. */
38443 _ACEOF
38444 cat confdefs.h >>conftest.$ac_ext
38445 cat >>conftest.$ac_ext <<_ACEOF
38446 /* end confdefs.h. */
38447
38448 /* Override any GCC internal prototype to avoid an error.
38449 Use char because int might match the return type of a GCC
38450 builtin and then its argument prototype would still apply. */
38451 #ifdef __cplusplus
38452 extern "C"
38453 #endif
38454 char sched_yield ();
38455 int
38456 main ()
38457 {
38458 return sched_yield ();
38459 ;
38460 return 0;
38461 }
38462 _ACEOF
38463 rm -f conftest.$ac_objext conftest$ac_exeext
38464 if { (ac_try="$ac_link"
38465 case "(($ac_try" in
38466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38467 *) ac_try_echo=$ac_try;;
38468 esac
38469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38470 (eval "$ac_link") 2>conftest.er1
38471 ac_status=$?
38472 grep -v '^ *+' conftest.er1 >conftest.err
38473 rm -f conftest.er1
38474 cat conftest.err >&5
38475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38476 (exit $ac_status); } && {
38477 test -z "$ac_c_werror_flag" ||
38478 test ! -s conftest.err
38479 } && test -s conftest$ac_exeext &&
38480 $as_test_x conftest$ac_exeext; then
38481 ac_cv_lib_posix4_sched_yield=yes
38482 else
38483 echo "$as_me: failed program was:" >&5
38484 sed 's/^/| /' conftest.$ac_ext >&5
38485
38486 ac_cv_lib_posix4_sched_yield=no
38487 fi
38488
38489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38490 conftest$ac_exeext conftest.$ac_ext
38491 LIBS=$ac_check_lib_save_LIBS
38492 fi
38493 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38494 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38495 if test $ac_cv_lib_posix4_sched_yield = yes; then
38496 cat >>confdefs.h <<\_ACEOF
38497 #define HAVE_SCHED_YIELD 1
38498 _ACEOF
38499 POSIX4_LINK=" -lposix4"
38500 else
38501 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38502 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38503
38504 fi
38505
38506
38507
38508 fi
38509
38510 fi
38511
38512 HAVE_PRIOR_FUNCS=0
38513 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38514 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38515 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38516 echo $ECHO_N "(cached) $ECHO_C" >&6
38517 else
38518 cat >conftest.$ac_ext <<_ACEOF
38519 /* confdefs.h. */
38520 _ACEOF
38521 cat confdefs.h >>conftest.$ac_ext
38522 cat >>conftest.$ac_ext <<_ACEOF
38523 /* end confdefs.h. */
38524 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38526 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38527
38528 /* System header to define __stub macros and hopefully few prototypes,
38529 which can conflict with char pthread_attr_getschedpolicy (); below.
38530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38531 <limits.h> exists even on freestanding compilers. */
38532
38533 #ifdef __STDC__
38534 # include <limits.h>
38535 #else
38536 # include <assert.h>
38537 #endif
38538
38539 #undef pthread_attr_getschedpolicy
38540
38541 /* Override any GCC internal prototype to avoid an error.
38542 Use char because int might match the return type of a GCC
38543 builtin and then its argument prototype would still apply. */
38544 #ifdef __cplusplus
38545 extern "C"
38546 #endif
38547 char pthread_attr_getschedpolicy ();
38548 /* The GNU C library defines this for functions which it implements
38549 to always fail with ENOSYS. Some functions are actually named
38550 something starting with __ and the normal name is an alias. */
38551 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38552 choke me
38553 #endif
38554
38555 int
38556 main ()
38557 {
38558 return pthread_attr_getschedpolicy ();
38559 ;
38560 return 0;
38561 }
38562 _ACEOF
38563 rm -f conftest.$ac_objext conftest$ac_exeext
38564 if { (ac_try="$ac_link"
38565 case "(($ac_try" in
38566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38567 *) ac_try_echo=$ac_try;;
38568 esac
38569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38570 (eval "$ac_link") 2>conftest.er1
38571 ac_status=$?
38572 grep -v '^ *+' conftest.er1 >conftest.err
38573 rm -f conftest.er1
38574 cat conftest.err >&5
38575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38576 (exit $ac_status); } && {
38577 test -z "$ac_c_werror_flag" ||
38578 test ! -s conftest.err
38579 } && test -s conftest$ac_exeext &&
38580 $as_test_x conftest$ac_exeext; then
38581 ac_cv_func_pthread_attr_getschedpolicy=yes
38582 else
38583 echo "$as_me: failed program was:" >&5
38584 sed 's/^/| /' conftest.$ac_ext >&5
38585
38586 ac_cv_func_pthread_attr_getschedpolicy=no
38587 fi
38588
38589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38590 conftest$ac_exeext conftest.$ac_ext
38591 fi
38592 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38593 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38594 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38595 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38596 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38597 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38598 echo $ECHO_N "(cached) $ECHO_C" >&6
38599 else
38600 cat >conftest.$ac_ext <<_ACEOF
38601 /* confdefs.h. */
38602 _ACEOF
38603 cat confdefs.h >>conftest.$ac_ext
38604 cat >>conftest.$ac_ext <<_ACEOF
38605 /* end confdefs.h. */
38606 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38608 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38609
38610 /* System header to define __stub macros and hopefully few prototypes,
38611 which can conflict with char pthread_attr_setschedparam (); below.
38612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38613 <limits.h> exists even on freestanding compilers. */
38614
38615 #ifdef __STDC__
38616 # include <limits.h>
38617 #else
38618 # include <assert.h>
38619 #endif
38620
38621 #undef pthread_attr_setschedparam
38622
38623 /* Override any GCC internal prototype to avoid an error.
38624 Use char because int might match the return type of a GCC
38625 builtin and then its argument prototype would still apply. */
38626 #ifdef __cplusplus
38627 extern "C"
38628 #endif
38629 char pthread_attr_setschedparam ();
38630 /* The GNU C library defines this for functions which it implements
38631 to always fail with ENOSYS. Some functions are actually named
38632 something starting with __ and the normal name is an alias. */
38633 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38634 choke me
38635 #endif
38636
38637 int
38638 main ()
38639 {
38640 return pthread_attr_setschedparam ();
38641 ;
38642 return 0;
38643 }
38644 _ACEOF
38645 rm -f conftest.$ac_objext conftest$ac_exeext
38646 if { (ac_try="$ac_link"
38647 case "(($ac_try" in
38648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38649 *) ac_try_echo=$ac_try;;
38650 esac
38651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38652 (eval "$ac_link") 2>conftest.er1
38653 ac_status=$?
38654 grep -v '^ *+' conftest.er1 >conftest.err
38655 rm -f conftest.er1
38656 cat conftest.err >&5
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); } && {
38659 test -z "$ac_c_werror_flag" ||
38660 test ! -s conftest.err
38661 } && test -s conftest$ac_exeext &&
38662 $as_test_x conftest$ac_exeext; then
38663 ac_cv_func_pthread_attr_setschedparam=yes
38664 else
38665 echo "$as_me: failed program was:" >&5
38666 sed 's/^/| /' conftest.$ac_ext >&5
38667
38668 ac_cv_func_pthread_attr_setschedparam=no
38669 fi
38670
38671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38672 conftest$ac_exeext conftest.$ac_ext
38673 fi
38674 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38675 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38676 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38677 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38678 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38679 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38680 echo $ECHO_N "(cached) $ECHO_C" >&6
38681 else
38682 cat >conftest.$ac_ext <<_ACEOF
38683 /* confdefs.h. */
38684 _ACEOF
38685 cat confdefs.h >>conftest.$ac_ext
38686 cat >>conftest.$ac_ext <<_ACEOF
38687 /* end confdefs.h. */
38688 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38690 #define sched_get_priority_max innocuous_sched_get_priority_max
38691
38692 /* System header to define __stub macros and hopefully few prototypes,
38693 which can conflict with char sched_get_priority_max (); below.
38694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38695 <limits.h> exists even on freestanding compilers. */
38696
38697 #ifdef __STDC__
38698 # include <limits.h>
38699 #else
38700 # include <assert.h>
38701 #endif
38702
38703 #undef sched_get_priority_max
38704
38705 /* Override any GCC internal prototype to avoid an error.
38706 Use char because int might match the return type of a GCC
38707 builtin and then its argument prototype would still apply. */
38708 #ifdef __cplusplus
38709 extern "C"
38710 #endif
38711 char sched_get_priority_max ();
38712 /* The GNU C library defines this for functions which it implements
38713 to always fail with ENOSYS. Some functions are actually named
38714 something starting with __ and the normal name is an alias. */
38715 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38716 choke me
38717 #endif
38718
38719 int
38720 main ()
38721 {
38722 return sched_get_priority_max ();
38723 ;
38724 return 0;
38725 }
38726 _ACEOF
38727 rm -f conftest.$ac_objext conftest$ac_exeext
38728 if { (ac_try="$ac_link"
38729 case "(($ac_try" in
38730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38731 *) ac_try_echo=$ac_try;;
38732 esac
38733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38734 (eval "$ac_link") 2>conftest.er1
38735 ac_status=$?
38736 grep -v '^ *+' conftest.er1 >conftest.err
38737 rm -f conftest.er1
38738 cat conftest.err >&5
38739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740 (exit $ac_status); } && {
38741 test -z "$ac_c_werror_flag" ||
38742 test ! -s conftest.err
38743 } && test -s conftest$ac_exeext &&
38744 $as_test_x conftest$ac_exeext; then
38745 ac_cv_func_sched_get_priority_max=yes
38746 else
38747 echo "$as_me: failed program was:" >&5
38748 sed 's/^/| /' conftest.$ac_ext >&5
38749
38750 ac_cv_func_sched_get_priority_max=no
38751 fi
38752
38753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38754 conftest$ac_exeext conftest.$ac_ext
38755 fi
38756 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38757 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38758 if test $ac_cv_func_sched_get_priority_max = yes; then
38759 HAVE_PRIOR_FUNCS=1
38760 else
38761 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38762 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38763 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38764 echo $ECHO_N "(cached) $ECHO_C" >&6
38765 else
38766 ac_check_lib_save_LIBS=$LIBS
38767 LIBS="-lposix4 $LIBS"
38768 cat >conftest.$ac_ext <<_ACEOF
38769 /* confdefs.h. */
38770 _ACEOF
38771 cat confdefs.h >>conftest.$ac_ext
38772 cat >>conftest.$ac_ext <<_ACEOF
38773 /* end confdefs.h. */
38774
38775 /* Override any GCC internal prototype to avoid an error.
38776 Use char because int might match the return type of a GCC
38777 builtin and then its argument prototype would still apply. */
38778 #ifdef __cplusplus
38779 extern "C"
38780 #endif
38781 char sched_get_priority_max ();
38782 int
38783 main ()
38784 {
38785 return sched_get_priority_max ();
38786 ;
38787 return 0;
38788 }
38789 _ACEOF
38790 rm -f conftest.$ac_objext conftest$ac_exeext
38791 if { (ac_try="$ac_link"
38792 case "(($ac_try" in
38793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38794 *) ac_try_echo=$ac_try;;
38795 esac
38796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38797 (eval "$ac_link") 2>conftest.er1
38798 ac_status=$?
38799 grep -v '^ *+' conftest.er1 >conftest.err
38800 rm -f conftest.er1
38801 cat conftest.err >&5
38802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38803 (exit $ac_status); } && {
38804 test -z "$ac_c_werror_flag" ||
38805 test ! -s conftest.err
38806 } && test -s conftest$ac_exeext &&
38807 $as_test_x conftest$ac_exeext; then
38808 ac_cv_lib_posix4_sched_get_priority_max=yes
38809 else
38810 echo "$as_me: failed program was:" >&5
38811 sed 's/^/| /' conftest.$ac_ext >&5
38812
38813 ac_cv_lib_posix4_sched_get_priority_max=no
38814 fi
38815
38816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38817 conftest$ac_exeext conftest.$ac_ext
38818 LIBS=$ac_check_lib_save_LIBS
38819 fi
38820 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38821 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38822 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38823
38824 HAVE_PRIOR_FUNCS=1
38825 POSIX4_LINK=" -lposix4"
38826
38827 fi
38828
38829
38830 fi
38831
38832
38833 fi
38834
38835
38836 fi
38837
38838
38839 if test "$HAVE_PRIOR_FUNCS" = 1; then
38840 cat >>confdefs.h <<\_ACEOF
38841 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38842 _ACEOF
38843
38844 else
38845 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38846 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38847 fi
38848
38849 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38850 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38851 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38852 echo $ECHO_N "(cached) $ECHO_C" >&6
38853 else
38854 cat >conftest.$ac_ext <<_ACEOF
38855 /* confdefs.h. */
38856 _ACEOF
38857 cat confdefs.h >>conftest.$ac_ext
38858 cat >>conftest.$ac_ext <<_ACEOF
38859 /* end confdefs.h. */
38860 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38862 #define pthread_cancel innocuous_pthread_cancel
38863
38864 /* System header to define __stub macros and hopefully few prototypes,
38865 which can conflict with char pthread_cancel (); below.
38866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38867 <limits.h> exists even on freestanding compilers. */
38868
38869 #ifdef __STDC__
38870 # include <limits.h>
38871 #else
38872 # include <assert.h>
38873 #endif
38874
38875 #undef pthread_cancel
38876
38877 /* Override any GCC internal prototype to avoid an error.
38878 Use char because int might match the return type of a GCC
38879 builtin and then its argument prototype would still apply. */
38880 #ifdef __cplusplus
38881 extern "C"
38882 #endif
38883 char pthread_cancel ();
38884 /* The GNU C library defines this for functions which it implements
38885 to always fail with ENOSYS. Some functions are actually named
38886 something starting with __ and the normal name is an alias. */
38887 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38888 choke me
38889 #endif
38890
38891 int
38892 main ()
38893 {
38894 return pthread_cancel ();
38895 ;
38896 return 0;
38897 }
38898 _ACEOF
38899 rm -f conftest.$ac_objext conftest$ac_exeext
38900 if { (ac_try="$ac_link"
38901 case "(($ac_try" in
38902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38903 *) ac_try_echo=$ac_try;;
38904 esac
38905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38906 (eval "$ac_link") 2>conftest.er1
38907 ac_status=$?
38908 grep -v '^ *+' conftest.er1 >conftest.err
38909 rm -f conftest.er1
38910 cat conftest.err >&5
38911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38912 (exit $ac_status); } && {
38913 test -z "$ac_c_werror_flag" ||
38914 test ! -s conftest.err
38915 } && test -s conftest$ac_exeext &&
38916 $as_test_x conftest$ac_exeext; then
38917 ac_cv_func_pthread_cancel=yes
38918 else
38919 echo "$as_me: failed program was:" >&5
38920 sed 's/^/| /' conftest.$ac_ext >&5
38921
38922 ac_cv_func_pthread_cancel=no
38923 fi
38924
38925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38926 conftest$ac_exeext conftest.$ac_ext
38927 fi
38928 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38929 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38930 if test $ac_cv_func_pthread_cancel = yes; then
38931 cat >>confdefs.h <<\_ACEOF
38932 #define HAVE_PTHREAD_CANCEL 1
38933 _ACEOF
38934
38935 else
38936 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38937 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38938 fi
38939
38940
38941 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38942 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38943 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38944 echo $ECHO_N "(cached) $ECHO_C" >&6
38945 else
38946 cat >conftest.$ac_ext <<_ACEOF
38947 /* confdefs.h. */
38948 _ACEOF
38949 cat confdefs.h >>conftest.$ac_ext
38950 cat >>conftest.$ac_ext <<_ACEOF
38951 /* end confdefs.h. */
38952 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38954 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38955
38956 /* System header to define __stub macros and hopefully few prototypes,
38957 which can conflict with char pthread_mutex_timedlock (); below.
38958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38959 <limits.h> exists even on freestanding compilers. */
38960
38961 #ifdef __STDC__
38962 # include <limits.h>
38963 #else
38964 # include <assert.h>
38965 #endif
38966
38967 #undef pthread_mutex_timedlock
38968
38969 /* Override any GCC internal prototype to avoid an error.
38970 Use char because int might match the return type of a GCC
38971 builtin and then its argument prototype would still apply. */
38972 #ifdef __cplusplus
38973 extern "C"
38974 #endif
38975 char pthread_mutex_timedlock ();
38976 /* The GNU C library defines this for functions which it implements
38977 to always fail with ENOSYS. Some functions are actually named
38978 something starting with __ and the normal name is an alias. */
38979 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38980 choke me
38981 #endif
38982
38983 int
38984 main ()
38985 {
38986 return pthread_mutex_timedlock ();
38987 ;
38988 return 0;
38989 }
38990 _ACEOF
38991 rm -f conftest.$ac_objext conftest$ac_exeext
38992 if { (ac_try="$ac_link"
38993 case "(($ac_try" in
38994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38995 *) ac_try_echo=$ac_try;;
38996 esac
38997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38998 (eval "$ac_link") 2>conftest.er1
38999 ac_status=$?
39000 grep -v '^ *+' conftest.er1 >conftest.err
39001 rm -f conftest.er1
39002 cat conftest.err >&5
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); } && {
39005 test -z "$ac_c_werror_flag" ||
39006 test ! -s conftest.err
39007 } && test -s conftest$ac_exeext &&
39008 $as_test_x conftest$ac_exeext; then
39009 ac_cv_func_pthread_mutex_timedlock=yes
39010 else
39011 echo "$as_me: failed program was:" >&5
39012 sed 's/^/| /' conftest.$ac_ext >&5
39013
39014 ac_cv_func_pthread_mutex_timedlock=no
39015 fi
39016
39017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39018 conftest$ac_exeext conftest.$ac_ext
39019 fi
39020 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39021 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39022 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39023 cat >>confdefs.h <<\_ACEOF
39024 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39025 _ACEOF
39026
39027 else
39028 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39029 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39030 fi
39031
39032
39033 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39034 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39035 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39036 echo $ECHO_N "(cached) $ECHO_C" >&6
39037 else
39038 cat >conftest.$ac_ext <<_ACEOF
39039 /* confdefs.h. */
39040 _ACEOF
39041 cat confdefs.h >>conftest.$ac_ext
39042 cat >>conftest.$ac_ext <<_ACEOF
39043 /* end confdefs.h. */
39044 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39046 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39047
39048 /* System header to define __stub macros and hopefully few prototypes,
39049 which can conflict with char pthread_attr_setstacksize (); below.
39050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39051 <limits.h> exists even on freestanding compilers. */
39052
39053 #ifdef __STDC__
39054 # include <limits.h>
39055 #else
39056 # include <assert.h>
39057 #endif
39058
39059 #undef pthread_attr_setstacksize
39060
39061 /* Override any GCC internal prototype to avoid an error.
39062 Use char because int might match the return type of a GCC
39063 builtin and then its argument prototype would still apply. */
39064 #ifdef __cplusplus
39065 extern "C"
39066 #endif
39067 char pthread_attr_setstacksize ();
39068 /* The GNU C library defines this for functions which it implements
39069 to always fail with ENOSYS. Some functions are actually named
39070 something starting with __ and the normal name is an alias. */
39071 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39072 choke me
39073 #endif
39074
39075 int
39076 main ()
39077 {
39078 return pthread_attr_setstacksize ();
39079 ;
39080 return 0;
39081 }
39082 _ACEOF
39083 rm -f conftest.$ac_objext conftest$ac_exeext
39084 if { (ac_try="$ac_link"
39085 case "(($ac_try" in
39086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39087 *) ac_try_echo=$ac_try;;
39088 esac
39089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39090 (eval "$ac_link") 2>conftest.er1
39091 ac_status=$?
39092 grep -v '^ *+' conftest.er1 >conftest.err
39093 rm -f conftest.er1
39094 cat conftest.err >&5
39095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39096 (exit $ac_status); } && {
39097 test -z "$ac_c_werror_flag" ||
39098 test ! -s conftest.err
39099 } && test -s conftest$ac_exeext &&
39100 $as_test_x conftest$ac_exeext; then
39101 ac_cv_func_pthread_attr_setstacksize=yes
39102 else
39103 echo "$as_me: failed program was:" >&5
39104 sed 's/^/| /' conftest.$ac_ext >&5
39105
39106 ac_cv_func_pthread_attr_setstacksize=no
39107 fi
39108
39109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39110 conftest$ac_exeext conftest.$ac_ext
39111 fi
39112 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39113 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39114 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39115 cat >>confdefs.h <<\_ACEOF
39116 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39117 _ACEOF
39118
39119 fi
39120
39121
39122
39123 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39124 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39125 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39126 echo $ECHO_N "(cached) $ECHO_C" >&6
39127 else
39128
39129 cat >conftest.$ac_ext <<_ACEOF
39130 /* confdefs.h. */
39131 _ACEOF
39132 cat confdefs.h >>conftest.$ac_ext
39133 cat >>conftest.$ac_ext <<_ACEOF
39134 /* end confdefs.h. */
39135 #include <pthread.h>
39136 int
39137 main ()
39138 {
39139
39140 pthread_mutexattr_t attr;
39141 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39142
39143 ;
39144 return 0;
39145 }
39146 _ACEOF
39147 rm -f conftest.$ac_objext
39148 if { (ac_try="$ac_compile"
39149 case "(($ac_try" in
39150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39151 *) ac_try_echo=$ac_try;;
39152 esac
39153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39154 (eval "$ac_compile") 2>conftest.er1
39155 ac_status=$?
39156 grep -v '^ *+' conftest.er1 >conftest.err
39157 rm -f conftest.er1
39158 cat conftest.err >&5
39159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39160 (exit $ac_status); } && {
39161 test -z "$ac_c_werror_flag" ||
39162 test ! -s conftest.err
39163 } && test -s conftest.$ac_objext; then
39164 wx_cv_type_pthread_mutexattr_t=yes
39165 else
39166 echo "$as_me: failed program was:" >&5
39167 sed 's/^/| /' conftest.$ac_ext >&5
39168
39169 wx_cv_type_pthread_mutexattr_t=no
39170
39171 fi
39172
39173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39174
39175 fi
39176 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39177 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39178
39179 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39180 cat >>confdefs.h <<\_ACEOF
39181 #define HAVE_PTHREAD_MUTEXATTR_T 1
39182 _ACEOF
39183
39184
39185 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39186 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39187 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39189 else
39190
39191 cat >conftest.$ac_ext <<_ACEOF
39192 /* confdefs.h. */
39193 _ACEOF
39194 cat confdefs.h >>conftest.$ac_ext
39195 cat >>conftest.$ac_ext <<_ACEOF
39196 /* end confdefs.h. */
39197 #include <pthread.h>
39198 int
39199 main ()
39200 {
39201
39202 pthread_mutexattr_t attr;
39203 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39204
39205 ;
39206 return 0;
39207 }
39208 _ACEOF
39209 rm -f conftest.$ac_objext
39210 if { (ac_try="$ac_compile"
39211 case "(($ac_try" in
39212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39213 *) ac_try_echo=$ac_try;;
39214 esac
39215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39216 (eval "$ac_compile") 2>conftest.er1
39217 ac_status=$?
39218 grep -v '^ *+' conftest.er1 >conftest.err
39219 rm -f conftest.er1
39220 cat conftest.err >&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); } && {
39223 test -z "$ac_c_werror_flag" ||
39224 test ! -s conftest.err
39225 } && test -s conftest.$ac_objext; then
39226 wx_cv_func_pthread_mutexattr_settype_decl=yes
39227 else
39228 echo "$as_me: failed program was:" >&5
39229 sed 's/^/| /' conftest.$ac_ext >&5
39230
39231 wx_cv_func_pthread_mutexattr_settype_decl=no
39232
39233 fi
39234
39235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39236
39237 fi
39238 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39239 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39240 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39241 cat >>confdefs.h <<\_ACEOF
39242 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39243 _ACEOF
39244
39245 fi
39246 else
39247 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39248 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39249 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39250 echo $ECHO_N "(cached) $ECHO_C" >&6
39251 else
39252
39253 cat >conftest.$ac_ext <<_ACEOF
39254 /* confdefs.h. */
39255 _ACEOF
39256 cat confdefs.h >>conftest.$ac_ext
39257 cat >>conftest.$ac_ext <<_ACEOF
39258 /* end confdefs.h. */
39259 #include <pthread.h>
39260 int
39261 main ()
39262 {
39263
39264 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39265
39266 ;
39267 return 0;
39268 }
39269 _ACEOF
39270 rm -f conftest.$ac_objext
39271 if { (ac_try="$ac_compile"
39272 case "(($ac_try" in
39273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39274 *) ac_try_echo=$ac_try;;
39275 esac
39276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39277 (eval "$ac_compile") 2>conftest.er1
39278 ac_status=$?
39279 grep -v '^ *+' conftest.er1 >conftest.err
39280 rm -f conftest.er1
39281 cat conftest.err >&5
39282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39283 (exit $ac_status); } && {
39284 test -z "$ac_c_werror_flag" ||
39285 test ! -s conftest.err
39286 } && test -s conftest.$ac_objext; then
39287
39288 wx_cv_type_pthread_rec_mutex_init=yes
39289
39290 else
39291 echo "$as_me: failed program was:" >&5
39292 sed 's/^/| /' conftest.$ac_ext >&5
39293
39294
39295 wx_cv_type_pthread_rec_mutex_init=no
39296
39297
39298 fi
39299
39300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39301
39302 fi
39303 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39304 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39305 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39306 cat >>confdefs.h <<\_ACEOF
39307 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39308 _ACEOF
39309
39310 else
39311 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39312 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39313 fi
39314 fi
39315 fi
39316
39317 else
39318 if test "$wxUSE_THREADS" = "yes" ; then
39319 case "${host}" in
39320 *-*-mingw32* )
39321 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39322 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39323 if test "${wx_cv_cflags_mthread+set}" = set; then
39324 echo $ECHO_N "(cached) $ECHO_C" >&6
39325 else
39326
39327 CFLAGS_OLD="$CFLAGS"
39328 CFLAGS="-mthreads $CFLAGS"
39329 cat >conftest.$ac_ext <<_ACEOF
39330 /* confdefs.h. */
39331 _ACEOF
39332 cat confdefs.h >>conftest.$ac_ext
39333 cat >>conftest.$ac_ext <<_ACEOF
39334 /* end confdefs.h. */
39335
39336 int
39337 main ()
39338 {
39339
39340 ;
39341 return 0;
39342 }
39343 _ACEOF
39344 rm -f conftest.$ac_objext
39345 if { (ac_try="$ac_compile"
39346 case "(($ac_try" in
39347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39348 *) ac_try_echo=$ac_try;;
39349 esac
39350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39351 (eval "$ac_compile") 2>conftest.er1
39352 ac_status=$?
39353 grep -v '^ *+' conftest.er1 >conftest.err
39354 rm -f conftest.er1
39355 cat conftest.err >&5
39356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39357 (exit $ac_status); } && {
39358 test -z "$ac_c_werror_flag" ||
39359 test ! -s conftest.err
39360 } && test -s conftest.$ac_objext; then
39361 wx_cv_cflags_mthread=yes
39362 else
39363 echo "$as_me: failed program was:" >&5
39364 sed 's/^/| /' conftest.$ac_ext >&5
39365
39366 wx_cv_cflags_mthread=no
39367
39368 fi
39369
39370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39371
39372
39373 fi
39374 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39375 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39376
39377 if test "$wx_cv_cflags_mthread" = "yes"; then
39378 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39379 LDFLAGS="$LDFLAGS -mthreads"
39380 else
39381 CFLAGS="$CFLAGS_OLD"
39382 fi
39383 ;;
39384 *-pc-os2*emx )
39385 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39386 LDFLAGS="$LDFLAGS -Zmt"
39387 ;;
39388 esac
39389 fi
39390 fi
39391
39392 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39393 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39394 if test "${ac_cv_func_localtime_r+set}" = set; then
39395 echo $ECHO_N "(cached) $ECHO_C" >&6
39396 else
39397 cat >conftest.$ac_ext <<_ACEOF
39398 /* confdefs.h. */
39399 _ACEOF
39400 cat confdefs.h >>conftest.$ac_ext
39401 cat >>conftest.$ac_ext <<_ACEOF
39402 /* end confdefs.h. */
39403 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39405 #define localtime_r innocuous_localtime_r
39406
39407 /* System header to define __stub macros and hopefully few prototypes,
39408 which can conflict with char localtime_r (); below.
39409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39410 <limits.h> exists even on freestanding compilers. */
39411
39412 #ifdef __STDC__
39413 # include <limits.h>
39414 #else
39415 # include <assert.h>
39416 #endif
39417
39418 #undef localtime_r
39419
39420 /* Override any GCC internal prototype to avoid an error.
39421 Use char because int might match the return type of a GCC
39422 builtin and then its argument prototype would still apply. */
39423 #ifdef __cplusplus
39424 extern "C"
39425 #endif
39426 char localtime_r ();
39427 /* The GNU C library defines this for functions which it implements
39428 to always fail with ENOSYS. Some functions are actually named
39429 something starting with __ and the normal name is an alias. */
39430 #if defined __stub_localtime_r || defined __stub___localtime_r
39431 choke me
39432 #endif
39433
39434 int
39435 main ()
39436 {
39437 return localtime_r ();
39438 ;
39439 return 0;
39440 }
39441 _ACEOF
39442 rm -f conftest.$ac_objext conftest$ac_exeext
39443 if { (ac_try="$ac_link"
39444 case "(($ac_try" in
39445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39446 *) ac_try_echo=$ac_try;;
39447 esac
39448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39449 (eval "$ac_link") 2>conftest.er1
39450 ac_status=$?
39451 grep -v '^ *+' conftest.er1 >conftest.err
39452 rm -f conftest.er1
39453 cat conftest.err >&5
39454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39455 (exit $ac_status); } && {
39456 test -z "$ac_c_werror_flag" ||
39457 test ! -s conftest.err
39458 } && test -s conftest$ac_exeext &&
39459 $as_test_x conftest$ac_exeext; then
39460 ac_cv_func_localtime_r=yes
39461 else
39462 echo "$as_me: failed program was:" >&5
39463 sed 's/^/| /' conftest.$ac_ext >&5
39464
39465 ac_cv_func_localtime_r=no
39466 fi
39467
39468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39469 conftest$ac_exeext conftest.$ac_ext
39470 fi
39471 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39472 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39473 if test $ac_cv_func_localtime_r = yes; then
39474 cat >>confdefs.h <<\_ACEOF
39475 #define HAVE_LOCALTIME_R 1
39476 _ACEOF
39477
39478 fi
39479
39480 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39481 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39482 if test "${ac_cv_func_gmtime_r+set}" = set; then
39483 echo $ECHO_N "(cached) $ECHO_C" >&6
39484 else
39485 cat >conftest.$ac_ext <<_ACEOF
39486 /* confdefs.h. */
39487 _ACEOF
39488 cat confdefs.h >>conftest.$ac_ext
39489 cat >>conftest.$ac_ext <<_ACEOF
39490 /* end confdefs.h. */
39491 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39493 #define gmtime_r innocuous_gmtime_r
39494
39495 /* System header to define __stub macros and hopefully few prototypes,
39496 which can conflict with char gmtime_r (); below.
39497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39498 <limits.h> exists even on freestanding compilers. */
39499
39500 #ifdef __STDC__
39501 # include <limits.h>
39502 #else
39503 # include <assert.h>
39504 #endif
39505
39506 #undef gmtime_r
39507
39508 /* Override any GCC internal prototype to avoid an error.
39509 Use char because int might match the return type of a GCC
39510 builtin and then its argument prototype would still apply. */
39511 #ifdef __cplusplus
39512 extern "C"
39513 #endif
39514 char gmtime_r ();
39515 /* The GNU C library defines this for functions which it implements
39516 to always fail with ENOSYS. Some functions are actually named
39517 something starting with __ and the normal name is an alias. */
39518 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39519 choke me
39520 #endif
39521
39522 int
39523 main ()
39524 {
39525 return gmtime_r ();
39526 ;
39527 return 0;
39528 }
39529 _ACEOF
39530 rm -f conftest.$ac_objext conftest$ac_exeext
39531 if { (ac_try="$ac_link"
39532 case "(($ac_try" in
39533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39534 *) ac_try_echo=$ac_try;;
39535 esac
39536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39537 (eval "$ac_link") 2>conftest.er1
39538 ac_status=$?
39539 grep -v '^ *+' conftest.er1 >conftest.err
39540 rm -f conftest.er1
39541 cat conftest.err >&5
39542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39543 (exit $ac_status); } && {
39544 test -z "$ac_c_werror_flag" ||
39545 test ! -s conftest.err
39546 } && test -s conftest$ac_exeext &&
39547 $as_test_x conftest$ac_exeext; then
39548 ac_cv_func_gmtime_r=yes
39549 else
39550 echo "$as_me: failed program was:" >&5
39551 sed 's/^/| /' conftest.$ac_ext >&5
39552
39553 ac_cv_func_gmtime_r=no
39554 fi
39555
39556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39557 conftest$ac_exeext conftest.$ac_ext
39558 fi
39559 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39560 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39561 if test $ac_cv_func_gmtime_r = yes; then
39562 cat >>confdefs.h <<\_ACEOF
39563 #define HAVE_GMTIME_R 1
39564 _ACEOF
39565
39566 fi
39567
39568 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39569 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39570 if test "${ac_cv_func_readdir_r+set}" = set; then
39571 echo $ECHO_N "(cached) $ECHO_C" >&6
39572 else
39573 cat >conftest.$ac_ext <<_ACEOF
39574 /* confdefs.h. */
39575 _ACEOF
39576 cat confdefs.h >>conftest.$ac_ext
39577 cat >>conftest.$ac_ext <<_ACEOF
39578 /* end confdefs.h. */
39579 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39581 #define readdir_r innocuous_readdir_r
39582
39583 /* System header to define __stub macros and hopefully few prototypes,
39584 which can conflict with char readdir_r (); below.
39585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39586 <limits.h> exists even on freestanding compilers. */
39587
39588 #ifdef __STDC__
39589 # include <limits.h>
39590 #else
39591 # include <assert.h>
39592 #endif
39593
39594 #undef readdir_r
39595
39596 /* Override any GCC internal prototype to avoid an error.
39597 Use char because int might match the return type of a GCC
39598 builtin and then its argument prototype would still apply. */
39599 #ifdef __cplusplus
39600 extern "C"
39601 #endif
39602 char readdir_r ();
39603 /* The GNU C library defines this for functions which it implements
39604 to always fail with ENOSYS. Some functions are actually named
39605 something starting with __ and the normal name is an alias. */
39606 #if defined __stub_readdir_r || defined __stub___readdir_r
39607 choke me
39608 #endif
39609
39610 int
39611 main ()
39612 {
39613 return readdir_r ();
39614 ;
39615 return 0;
39616 }
39617 _ACEOF
39618 rm -f conftest.$ac_objext conftest$ac_exeext
39619 if { (ac_try="$ac_link"
39620 case "(($ac_try" in
39621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39622 *) ac_try_echo=$ac_try;;
39623 esac
39624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39625 (eval "$ac_link") 2>conftest.er1
39626 ac_status=$?
39627 grep -v '^ *+' conftest.er1 >conftest.err
39628 rm -f conftest.er1
39629 cat conftest.err >&5
39630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39631 (exit $ac_status); } && {
39632 test -z "$ac_c_werror_flag" ||
39633 test ! -s conftest.err
39634 } && test -s conftest$ac_exeext &&
39635 $as_test_x conftest$ac_exeext; then
39636 ac_cv_func_readdir_r=yes
39637 else
39638 echo "$as_me: failed program was:" >&5
39639 sed 's/^/| /' conftest.$ac_ext >&5
39640
39641 ac_cv_func_readdir_r=no
39642 fi
39643
39644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39645 conftest$ac_exeext conftest.$ac_ext
39646 fi
39647 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39648 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39649 if test $ac_cv_func_readdir_r = yes; then
39650 cat >>confdefs.h <<\_ACEOF
39651 #define HAVE_READDIR_R 1
39652 _ACEOF
39653
39654 fi
39655
39656
39657
39658
39659 ac_ext=c
39660 ac_cpp='$CPP $CPPFLAGS'
39661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39664
39665 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39666 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39667
39668 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39669 echo $ECHO_N "(cached) $ECHO_C" >&6
39670 else
39671
39672
39673 ################################################################
39674
39675 ac_cv_func_which_gethostbyname_r=unknown
39676
39677 #
39678 # ONE ARGUMENT (sanity check)
39679 #
39680
39681 # This should fail, as there is no variant of gethostbyname_r() that takes
39682 # a single argument. If it actually compiles, then we can assume that
39683 # netdb.h is not declaring the function, and the compiler is thereby
39684 # assuming an implicit prototype. In which case, we're out of luck.
39685 #
39686 cat >conftest.$ac_ext <<_ACEOF
39687 /* confdefs.h. */
39688 _ACEOF
39689 cat confdefs.h >>conftest.$ac_ext
39690 cat >>conftest.$ac_ext <<_ACEOF
39691 /* end confdefs.h. */
39692 #include <netdb.h>
39693 int
39694 main ()
39695 {
39696
39697 char *name = "www.gnu.org";
39698 (void)gethostbyname_r(name) /* ; */
39699
39700 ;
39701 return 0;
39702 }
39703 _ACEOF
39704 rm -f conftest.$ac_objext
39705 if { (ac_try="$ac_compile"
39706 case "(($ac_try" in
39707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39708 *) ac_try_echo=$ac_try;;
39709 esac
39710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39711 (eval "$ac_compile") 2>conftest.er1
39712 ac_status=$?
39713 grep -v '^ *+' conftest.er1 >conftest.err
39714 rm -f conftest.er1
39715 cat conftest.err >&5
39716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39717 (exit $ac_status); } && {
39718 test -z "$ac_c_werror_flag" ||
39719 test ! -s conftest.err
39720 } && test -s conftest.$ac_objext; then
39721 ac_cv_func_which_gethostbyname_r=no
39722 else
39723 echo "$as_me: failed program was:" >&5
39724 sed 's/^/| /' conftest.$ac_ext >&5
39725
39726
39727 fi
39728
39729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39730
39731 #
39732 # SIX ARGUMENTS
39733 # (e.g. Linux)
39734 #
39735
39736 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39737
39738 cat >conftest.$ac_ext <<_ACEOF
39739 /* confdefs.h. */
39740 _ACEOF
39741 cat confdefs.h >>conftest.$ac_ext
39742 cat >>conftest.$ac_ext <<_ACEOF
39743 /* end confdefs.h. */
39744 #include <netdb.h>
39745 int
39746 main ()
39747 {
39748
39749 char *name = "www.gnu.org";
39750 struct hostent ret, *retp;
39751 char buf[1024];
39752 int buflen = 1024;
39753 int my_h_errno;
39754 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39755
39756 ;
39757 return 0;
39758 }
39759 _ACEOF
39760 rm -f conftest.$ac_objext
39761 if { (ac_try="$ac_compile"
39762 case "(($ac_try" in
39763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39764 *) ac_try_echo=$ac_try;;
39765 esac
39766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39767 (eval "$ac_compile") 2>conftest.er1
39768 ac_status=$?
39769 grep -v '^ *+' conftest.er1 >conftest.err
39770 rm -f conftest.er1
39771 cat conftest.err >&5
39772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39773 (exit $ac_status); } && {
39774 test -z "$ac_c_werror_flag" ||
39775 test ! -s conftest.err
39776 } && test -s conftest.$ac_objext; then
39777 ac_cv_func_which_gethostbyname_r=six
39778 else
39779 echo "$as_me: failed program was:" >&5
39780 sed 's/^/| /' conftest.$ac_ext >&5
39781
39782
39783 fi
39784
39785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39786
39787 fi
39788
39789 #
39790 # FIVE ARGUMENTS
39791 # (e.g. Solaris)
39792 #
39793
39794 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39795
39796 cat >conftest.$ac_ext <<_ACEOF
39797 /* confdefs.h. */
39798 _ACEOF
39799 cat confdefs.h >>conftest.$ac_ext
39800 cat >>conftest.$ac_ext <<_ACEOF
39801 /* end confdefs.h. */
39802 #include <netdb.h>
39803 int
39804 main ()
39805 {
39806
39807 char *name = "www.gnu.org";
39808 struct hostent ret;
39809 char buf[1024];
39810 int buflen = 1024;
39811 int my_h_errno;
39812 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39813
39814 ;
39815 return 0;
39816 }
39817 _ACEOF
39818 rm -f conftest.$ac_objext
39819 if { (ac_try="$ac_compile"
39820 case "(($ac_try" in
39821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39822 *) ac_try_echo=$ac_try;;
39823 esac
39824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39825 (eval "$ac_compile") 2>conftest.er1
39826 ac_status=$?
39827 grep -v '^ *+' conftest.er1 >conftest.err
39828 rm -f conftest.er1
39829 cat conftest.err >&5
39830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39831 (exit $ac_status); } && {
39832 test -z "$ac_c_werror_flag" ||
39833 test ! -s conftest.err
39834 } && test -s conftest.$ac_objext; then
39835 ac_cv_func_which_gethostbyname_r=five
39836 else
39837 echo "$as_me: failed program was:" >&5
39838 sed 's/^/| /' conftest.$ac_ext >&5
39839
39840
39841 fi
39842
39843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39844
39845 fi
39846
39847 #
39848 # THREE ARGUMENTS
39849 # (e.g. AIX, HP-UX, Tru64)
39850 #
39851
39852 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39853
39854 cat >conftest.$ac_ext <<_ACEOF
39855 /* confdefs.h. */
39856 _ACEOF
39857 cat confdefs.h >>conftest.$ac_ext
39858 cat >>conftest.$ac_ext <<_ACEOF
39859 /* end confdefs.h. */
39860 #include <netdb.h>
39861 int
39862 main ()
39863 {
39864
39865 char *name = "www.gnu.org";
39866 struct hostent ret;
39867 struct hostent_data data;
39868 (void)gethostbyname_r(name, &ret, &data) /* ; */
39869
39870 ;
39871 return 0;
39872 }
39873 _ACEOF
39874 rm -f conftest.$ac_objext
39875 if { (ac_try="$ac_compile"
39876 case "(($ac_try" in
39877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39878 *) ac_try_echo=$ac_try;;
39879 esac
39880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39881 (eval "$ac_compile") 2>conftest.er1
39882 ac_status=$?
39883 grep -v '^ *+' conftest.er1 >conftest.err
39884 rm -f conftest.er1
39885 cat conftest.err >&5
39886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39887 (exit $ac_status); } && {
39888 test -z "$ac_c_werror_flag" ||
39889 test ! -s conftest.err
39890 } && test -s conftest.$ac_objext; then
39891 ac_cv_func_which_gethostbyname_r=three
39892 else
39893 echo "$as_me: failed program was:" >&5
39894 sed 's/^/| /' conftest.$ac_ext >&5
39895
39896
39897 fi
39898
39899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39900
39901 fi
39902
39903 ################################################################
39904
39905
39906 fi
39907
39908 case "$ac_cv_func_which_gethostbyname_r" in
39909 three)
39910 { echo "$as_me:$LINENO: result: three" >&5
39911 echo "${ECHO_T}three" >&6; }
39912 cat >>confdefs.h <<\_ACEOF
39913 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39914 _ACEOF
39915
39916 ;;
39917
39918 five)
39919 { echo "$as_me:$LINENO: result: five" >&5
39920 echo "${ECHO_T}five" >&6; }
39921 cat >>confdefs.h <<\_ACEOF
39922 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39923 _ACEOF
39924
39925 ;;
39926
39927 six)
39928 { echo "$as_me:$LINENO: result: six" >&5
39929 echo "${ECHO_T}six" >&6; }
39930 cat >>confdefs.h <<\_ACEOF
39931 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39932 _ACEOF
39933
39934 ;;
39935
39936 no)
39937 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39938 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39939 ;;
39940
39941 unknown)
39942 { echo "$as_me:$LINENO: result: can't tell" >&5
39943 echo "${ECHO_T}can't tell" >&6; }
39944 ;;
39945
39946 *)
39947 { { echo "$as_me:$LINENO: error: internal error" >&5
39948 echo "$as_me: error: internal error" >&2;}
39949 { (exit 1); exit 1; }; }
39950 ;;
39951 esac
39952
39953 ac_ext=c
39954 ac_cpp='$CPP $CPPFLAGS'
39955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39958
39959
39960
39961 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39962 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39963 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39964 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39965 if test "${ac_cv_func_gethostbyname+set}" = set; then
39966 echo $ECHO_N "(cached) $ECHO_C" >&6
39967 else
39968 cat >conftest.$ac_ext <<_ACEOF
39969 /* confdefs.h. */
39970 _ACEOF
39971 cat confdefs.h >>conftest.$ac_ext
39972 cat >>conftest.$ac_ext <<_ACEOF
39973 /* end confdefs.h. */
39974 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39976 #define gethostbyname innocuous_gethostbyname
39977
39978 /* System header to define __stub macros and hopefully few prototypes,
39979 which can conflict with char gethostbyname (); below.
39980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39981 <limits.h> exists even on freestanding compilers. */
39982
39983 #ifdef __STDC__
39984 # include <limits.h>
39985 #else
39986 # include <assert.h>
39987 #endif
39988
39989 #undef gethostbyname
39990
39991 /* Override any GCC internal prototype to avoid an error.
39992 Use char because int might match the return type of a GCC
39993 builtin and then its argument prototype would still apply. */
39994 #ifdef __cplusplus
39995 extern "C"
39996 #endif
39997 char gethostbyname ();
39998 /* The GNU C library defines this for functions which it implements
39999 to always fail with ENOSYS. Some functions are actually named
40000 something starting with __ and the normal name is an alias. */
40001 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40002 choke me
40003 #endif
40004
40005 int
40006 main ()
40007 {
40008 return gethostbyname ();
40009 ;
40010 return 0;
40011 }
40012 _ACEOF
40013 rm -f conftest.$ac_objext conftest$ac_exeext
40014 if { (ac_try="$ac_link"
40015 case "(($ac_try" in
40016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40017 *) ac_try_echo=$ac_try;;
40018 esac
40019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40020 (eval "$ac_link") 2>conftest.er1
40021 ac_status=$?
40022 grep -v '^ *+' conftest.er1 >conftest.err
40023 rm -f conftest.er1
40024 cat conftest.err >&5
40025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40026 (exit $ac_status); } && {
40027 test -z "$ac_c_werror_flag" ||
40028 test ! -s conftest.err
40029 } && test -s conftest$ac_exeext &&
40030 $as_test_x conftest$ac_exeext; then
40031 ac_cv_func_gethostbyname=yes
40032 else
40033 echo "$as_me: failed program was:" >&5
40034 sed 's/^/| /' conftest.$ac_ext >&5
40035
40036 ac_cv_func_gethostbyname=no
40037 fi
40038
40039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40040 conftest$ac_exeext conftest.$ac_ext
40041 fi
40042 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40043 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40044 if test $ac_cv_func_gethostbyname = yes; then
40045 cat >>confdefs.h <<\_ACEOF
40046 #define HAVE_GETHOSTBYNAME 1
40047 _ACEOF
40048
40049 fi
40050
40051 fi
40052
40053 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40054 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40055 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40056 echo $ECHO_N "(cached) $ECHO_C" >&6
40057 else
40058
40059 ac_ext=cpp
40060 ac_cpp='$CXXCPP $CPPFLAGS'
40061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40064
40065
40066 cat >conftest.$ac_ext <<_ACEOF
40067 /* confdefs.h. */
40068 _ACEOF
40069 cat confdefs.h >>conftest.$ac_ext
40070 cat >>conftest.$ac_ext <<_ACEOF
40071 /* end confdefs.h. */
40072 #include <netdb.h>
40073 int
40074 main ()
40075 {
40076
40077 char *name;
40078 char *proto;
40079 struct servent *se, *res;
40080 char buffer[2048];
40081 int buflen = 2048;
40082 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40083
40084 ;
40085 return 0;
40086 }
40087 _ACEOF
40088 rm -f conftest.$ac_objext
40089 if { (ac_try="$ac_compile"
40090 case "(($ac_try" in
40091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40092 *) ac_try_echo=$ac_try;;
40093 esac
40094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40095 (eval "$ac_compile") 2>conftest.er1
40096 ac_status=$?
40097 grep -v '^ *+' conftest.er1 >conftest.err
40098 rm -f conftest.er1
40099 cat conftest.err >&5
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); } && {
40102 test -z "$ac_cxx_werror_flag" ||
40103 test ! -s conftest.err
40104 } && test -s conftest.$ac_objext; then
40105 ac_cv_func_which_getservbyname_r=six
40106 else
40107 echo "$as_me: failed program was:" >&5
40108 sed 's/^/| /' conftest.$ac_ext >&5
40109
40110
40111 cat >conftest.$ac_ext <<_ACEOF
40112 /* confdefs.h. */
40113 _ACEOF
40114 cat confdefs.h >>conftest.$ac_ext
40115 cat >>conftest.$ac_ext <<_ACEOF
40116 /* end confdefs.h. */
40117 #include <netdb.h>
40118 int
40119 main ()
40120 {
40121
40122 char *name;
40123 char *proto;
40124 struct servent *se;
40125 char buffer[2048];
40126 int buflen = 2048;
40127 (void) getservbyname_r(name, proto, se, buffer, buflen)
40128
40129 ;
40130 return 0;
40131 }
40132 _ACEOF
40133 rm -f conftest.$ac_objext
40134 if { (ac_try="$ac_compile"
40135 case "(($ac_try" in
40136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40137 *) ac_try_echo=$ac_try;;
40138 esac
40139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40140 (eval "$ac_compile") 2>conftest.er1
40141 ac_status=$?
40142 grep -v '^ *+' conftest.er1 >conftest.err
40143 rm -f conftest.er1
40144 cat conftest.err >&5
40145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40146 (exit $ac_status); } && {
40147 test -z "$ac_cxx_werror_flag" ||
40148 test ! -s conftest.err
40149 } && test -s conftest.$ac_objext; then
40150 ac_cv_func_which_getservbyname_r=five
40151 else
40152 echo "$as_me: failed program was:" >&5
40153 sed 's/^/| /' conftest.$ac_ext >&5
40154
40155
40156 cat >conftest.$ac_ext <<_ACEOF
40157 /* confdefs.h. */
40158 _ACEOF
40159 cat confdefs.h >>conftest.$ac_ext
40160 cat >>conftest.$ac_ext <<_ACEOF
40161 /* end confdefs.h. */
40162 #include <netdb.h>
40163 int
40164 main ()
40165 {
40166
40167 char *name;
40168 char *proto;
40169 struct servent *se;
40170 struct servent_data data;
40171 (void) getservbyname_r(name, proto, se, &data);
40172
40173 ;
40174 return 0;
40175 }
40176 _ACEOF
40177 rm -f conftest.$ac_objext
40178 if { (ac_try="$ac_compile"
40179 case "(($ac_try" in
40180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40181 *) ac_try_echo=$ac_try;;
40182 esac
40183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40184 (eval "$ac_compile") 2>conftest.er1
40185 ac_status=$?
40186 grep -v '^ *+' conftest.er1 >conftest.err
40187 rm -f conftest.er1
40188 cat conftest.err >&5
40189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40190 (exit $ac_status); } && {
40191 test -z "$ac_cxx_werror_flag" ||
40192 test ! -s conftest.err
40193 } && test -s conftest.$ac_objext; then
40194 ac_cv_func_which_getservbyname_r=four
40195 else
40196 echo "$as_me: failed program was:" >&5
40197 sed 's/^/| /' conftest.$ac_ext >&5
40198
40199 ac_cv_func_which_getservbyname_r=no
40200
40201 fi
40202
40203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40204
40205
40206 fi
40207
40208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40209
40210
40211 fi
40212
40213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40214 ac_ext=c
40215 ac_cpp='$CPP $CPPFLAGS'
40216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40219
40220
40221
40222 fi
40223 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40224 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40225
40226 if test $ac_cv_func_which_getservbyname_r = six; then
40227 cat >>confdefs.h <<\_ACEOF
40228 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40229 _ACEOF
40230
40231 elif test $ac_cv_func_which_getservbyname_r = five; then
40232 cat >>confdefs.h <<\_ACEOF
40233 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40234 _ACEOF
40235
40236 elif test $ac_cv_func_which_getservbyname_r = four; then
40237 cat >>confdefs.h <<\_ACEOF
40238 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40239 _ACEOF
40240
40241 fi
40242
40243
40244 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40245 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40246
40247 for ac_func in getservbyname
40248 do
40249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40250 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40252 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40253 echo $ECHO_N "(cached) $ECHO_C" >&6
40254 else
40255 cat >conftest.$ac_ext <<_ACEOF
40256 /* confdefs.h. */
40257 _ACEOF
40258 cat confdefs.h >>conftest.$ac_ext
40259 cat >>conftest.$ac_ext <<_ACEOF
40260 /* end confdefs.h. */
40261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40263 #define $ac_func innocuous_$ac_func
40264
40265 /* System header to define __stub macros and hopefully few prototypes,
40266 which can conflict with char $ac_func (); below.
40267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40268 <limits.h> exists even on freestanding compilers. */
40269
40270 #ifdef __STDC__
40271 # include <limits.h>
40272 #else
40273 # include <assert.h>
40274 #endif
40275
40276 #undef $ac_func
40277
40278 /* Override any GCC internal prototype to avoid an error.
40279 Use char because int might match the return type of a GCC
40280 builtin and then its argument prototype would still apply. */
40281 #ifdef __cplusplus
40282 extern "C"
40283 #endif
40284 char $ac_func ();
40285 /* The GNU C library defines this for functions which it implements
40286 to always fail with ENOSYS. Some functions are actually named
40287 something starting with __ and the normal name is an alias. */
40288 #if defined __stub_$ac_func || defined __stub___$ac_func
40289 choke me
40290 #endif
40291
40292 int
40293 main ()
40294 {
40295 return $ac_func ();
40296 ;
40297 return 0;
40298 }
40299 _ACEOF
40300 rm -f conftest.$ac_objext conftest$ac_exeext
40301 if { (ac_try="$ac_link"
40302 case "(($ac_try" in
40303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40304 *) ac_try_echo=$ac_try;;
40305 esac
40306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40307 (eval "$ac_link") 2>conftest.er1
40308 ac_status=$?
40309 grep -v '^ *+' conftest.er1 >conftest.err
40310 rm -f conftest.er1
40311 cat conftest.err >&5
40312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40313 (exit $ac_status); } && {
40314 test -z "$ac_c_werror_flag" ||
40315 test ! -s conftest.err
40316 } && test -s conftest$ac_exeext &&
40317 $as_test_x conftest$ac_exeext; then
40318 eval "$as_ac_var=yes"
40319 else
40320 echo "$as_me: failed program was:" >&5
40321 sed 's/^/| /' conftest.$ac_ext >&5
40322
40323 eval "$as_ac_var=no"
40324 fi
40325
40326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40327 conftest$ac_exeext conftest.$ac_ext
40328 fi
40329 ac_res=`eval echo '${'$as_ac_var'}'`
40330 { echo "$as_me:$LINENO: result: $ac_res" >&5
40331 echo "${ECHO_T}$ac_res" >&6; }
40332 if test `eval echo '${'$as_ac_var'}'` = yes; then
40333 cat >>confdefs.h <<_ACEOF
40334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40335 _ACEOF
40336 cat >>confdefs.h <<\_ACEOF
40337 #define HAVE_GETSERVBYNAME 1
40338 _ACEOF
40339
40340 fi
40341 done
40342
40343 fi
40344
40345 if test "$wxUSE_THREADS" = "yes"; then
40346 cat >>confdefs.h <<\_ACEOF
40347 #define wxUSE_THREADS 1
40348 _ACEOF
40349
40350
40351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40352 else
40353 if test "$wx_cv_func_strtok_r" = "yes"; then
40354 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40355 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40356 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40357 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40358 { echo "$as_me:$LINENO: result: yes" >&5
40359 echo "${ECHO_T}yes" >&6; }
40360 else
40361 { echo "$as_me:$LINENO: result: no" >&5
40362 echo "${ECHO_T}no" >&6; }
40363 fi
40364 fi
40365 fi
40366
40367 if test "$WXGTK20" = 1 ; then
40368 cat >>confdefs.h <<_ACEOF
40369 #define __WXGTK20__ $WXGTK20
40370 _ACEOF
40371
40372 WXGTK12=1
40373 fi
40374
40375 if test "$WXGTK12" = 1 ; then
40376 cat >>confdefs.h <<_ACEOF
40377 #define __WXGTK12__ $WXGTK12
40378 _ACEOF
40379
40380 fi
40381
40382 if test "$WXGTK127" = 1 ; then
40383 cat >>confdefs.h <<_ACEOF
40384 #define __WXGTK127__ $WXGTK127
40385 _ACEOF
40386
40387 fi
40388
40389 if test "$WXGPE" = 1 ; then
40390 cat >>confdefs.h <<_ACEOF
40391 #define __WXGPE__ $WXGPE
40392 _ACEOF
40393
40394 fi
40395
40396 DEBUG_CFLAGS=
40397 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40398 DEBUG_CFLAGS="-g"
40399 wxUSE_OPTIMISE=no
40400 fi
40401
40402 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40403 wxUSE_DEBUG_INFO=yes
40404 if test "$GCC" = yes; then
40405 DEBUG_CFLAGS="-ggdb"
40406 fi
40407 fi
40408
40409 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40410 cat >>confdefs.h <<\_ACEOF
40411 #define WXDEBUG 1
40412 _ACEOF
40413
40414 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40415 else
40416 if test "$wxUSE_GTK" = 1 ; then
40417 if test "x$wxGTK_VERSION" = "x1" ; then
40418 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40419 fi
40420 fi
40421 fi
40422
40423 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40424 cat >>confdefs.h <<\_ACEOF
40425 #define wxUSE_MEMORY_TRACING 1
40426 _ACEOF
40427
40428 cat >>confdefs.h <<\_ACEOF
40429 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40430 _ACEOF
40431
40432 cat >>confdefs.h <<\_ACEOF
40433 #define wxUSE_DEBUG_NEW_ALWAYS 1
40434 _ACEOF
40435
40436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40437 fi
40438
40439 if test "$wxUSE_DMALLOC" = "yes" ; then
40440 DMALLOC_LIBS="-ldmallocthcxx"
40441 fi
40442
40443 PROFILE_FLAGS=
40444 if test "$wxUSE_PROFILE" = "yes" ; then
40445 PROFILE_FLAGS=" -pg"
40446 fi
40447
40448 if test "$GCC" = "yes" ; then
40449 if test "$wxUSE_NO_RTTI" = "yes" ; then
40450 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40451 fi
40452 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40453 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40454 fi
40455 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40456 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40457 fi
40458
40459 case "${host}" in
40460 powerpc*-*-aix* )
40461 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40462 ;;
40463 *-hppa* )
40464 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40465 ;;
40466 esac
40467 fi
40468
40469 OPTIMISE_CFLAGS=
40470 if test "$wxUSE_OPTIMISE" = "no" ; then
40471 if test "$GCC" = yes ; then
40472 OPTIMISE_CFLAGS="-O0"
40473 fi
40474 else
40475 if test "$GCC" = yes ; then
40476 case "${host}" in
40477 *-pc-os2_emx | *-pc-os2-emx )
40478 OPTIMISE_CFLAGS="-O2"
40479 ;;
40480 *)
40481 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40482 ;;
40483 esac
40484 else
40485 OPTIMISE_CFLAGS="-O"
40486 fi
40487 fi
40488
40489
40490 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40491 cat >>confdefs.h <<\_ACEOF
40492 #define WXWIN_COMPATIBILITY_2_6 1
40493 _ACEOF
40494
40495
40496 WXWIN_COMPATIBILITY_2_8="yes"
40497 fi
40498
40499 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40500 cat >>confdefs.h <<\_ACEOF
40501 #define WXWIN_COMPATIBILITY_2_8 1
40502 _ACEOF
40503
40504 fi
40505
40506
40507 if test "$wxUSE_GUI" = "yes"; then
40508 cat >>confdefs.h <<\_ACEOF
40509 #define wxUSE_GUI 1
40510 _ACEOF
40511
40512
40513 fi
40514
40515
40516 if test "$wxUSE_UNIX" = "yes"; then
40517 cat >>confdefs.h <<\_ACEOF
40518 #define wxUSE_UNIX 1
40519 _ACEOF
40520
40521 fi
40522
40523
40524 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40525
40526 HAVE_DL_FUNCS=0
40527 HAVE_SHL_FUNCS=0
40528 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40529 if test "$USE_DARWIN" = 1; then
40530 HAVE_DL_FUNCS=1
40531 elif test "$USE_DOS" = 1; then
40532 HAVE_DL_FUNCS=0
40533 else
40534
40535 for ac_func in dlopen
40536 do
40537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40538 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40540 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40541 echo $ECHO_N "(cached) $ECHO_C" >&6
40542 else
40543 cat >conftest.$ac_ext <<_ACEOF
40544 /* confdefs.h. */
40545 _ACEOF
40546 cat confdefs.h >>conftest.$ac_ext
40547 cat >>conftest.$ac_ext <<_ACEOF
40548 /* end confdefs.h. */
40549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40551 #define $ac_func innocuous_$ac_func
40552
40553 /* System header to define __stub macros and hopefully few prototypes,
40554 which can conflict with char $ac_func (); below.
40555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40556 <limits.h> exists even on freestanding compilers. */
40557
40558 #ifdef __STDC__
40559 # include <limits.h>
40560 #else
40561 # include <assert.h>
40562 #endif
40563
40564 #undef $ac_func
40565
40566 /* Override any GCC internal prototype to avoid an error.
40567 Use char because int might match the return type of a GCC
40568 builtin and then its argument prototype would still apply. */
40569 #ifdef __cplusplus
40570 extern "C"
40571 #endif
40572 char $ac_func ();
40573 /* The GNU C library defines this for functions which it implements
40574 to always fail with ENOSYS. Some functions are actually named
40575 something starting with __ and the normal name is an alias. */
40576 #if defined __stub_$ac_func || defined __stub___$ac_func
40577 choke me
40578 #endif
40579
40580 int
40581 main ()
40582 {
40583 return $ac_func ();
40584 ;
40585 return 0;
40586 }
40587 _ACEOF
40588 rm -f conftest.$ac_objext conftest$ac_exeext
40589 if { (ac_try="$ac_link"
40590 case "(($ac_try" in
40591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40592 *) ac_try_echo=$ac_try;;
40593 esac
40594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40595 (eval "$ac_link") 2>conftest.er1
40596 ac_status=$?
40597 grep -v '^ *+' conftest.er1 >conftest.err
40598 rm -f conftest.er1
40599 cat conftest.err >&5
40600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40601 (exit $ac_status); } && {
40602 test -z "$ac_c_werror_flag" ||
40603 test ! -s conftest.err
40604 } && test -s conftest$ac_exeext &&
40605 $as_test_x conftest$ac_exeext; then
40606 eval "$as_ac_var=yes"
40607 else
40608 echo "$as_me: failed program was:" >&5
40609 sed 's/^/| /' conftest.$ac_ext >&5
40610
40611 eval "$as_ac_var=no"
40612 fi
40613
40614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40615 conftest$ac_exeext conftest.$ac_ext
40616 fi
40617 ac_res=`eval echo '${'$as_ac_var'}'`
40618 { echo "$as_me:$LINENO: result: $ac_res" >&5
40619 echo "${ECHO_T}$ac_res" >&6; }
40620 if test `eval echo '${'$as_ac_var'}'` = yes; then
40621 cat >>confdefs.h <<_ACEOF
40622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40623 _ACEOF
40624
40625 cat >>confdefs.h <<\_ACEOF
40626 #define HAVE_DLOPEN 1
40627 _ACEOF
40628
40629 HAVE_DL_FUNCS=1
40630
40631 else
40632
40633 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40634 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40635 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40636 echo $ECHO_N "(cached) $ECHO_C" >&6
40637 else
40638 ac_check_lib_save_LIBS=$LIBS
40639 LIBS="-ldl $LIBS"
40640 cat >conftest.$ac_ext <<_ACEOF
40641 /* confdefs.h. */
40642 _ACEOF
40643 cat confdefs.h >>conftest.$ac_ext
40644 cat >>conftest.$ac_ext <<_ACEOF
40645 /* end confdefs.h. */
40646
40647 /* Override any GCC internal prototype to avoid an error.
40648 Use char because int might match the return type of a GCC
40649 builtin and then its argument prototype would still apply. */
40650 #ifdef __cplusplus
40651 extern "C"
40652 #endif
40653 char dlopen ();
40654 int
40655 main ()
40656 {
40657 return dlopen ();
40658 ;
40659 return 0;
40660 }
40661 _ACEOF
40662 rm -f conftest.$ac_objext conftest$ac_exeext
40663 if { (ac_try="$ac_link"
40664 case "(($ac_try" in
40665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40666 *) ac_try_echo=$ac_try;;
40667 esac
40668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40669 (eval "$ac_link") 2>conftest.er1
40670 ac_status=$?
40671 grep -v '^ *+' conftest.er1 >conftest.err
40672 rm -f conftest.er1
40673 cat conftest.err >&5
40674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40675 (exit $ac_status); } && {
40676 test -z "$ac_c_werror_flag" ||
40677 test ! -s conftest.err
40678 } && test -s conftest$ac_exeext &&
40679 $as_test_x conftest$ac_exeext; then
40680 ac_cv_lib_dl_dlopen=yes
40681 else
40682 echo "$as_me: failed program was:" >&5
40683 sed 's/^/| /' conftest.$ac_ext >&5
40684
40685 ac_cv_lib_dl_dlopen=no
40686 fi
40687
40688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40689 conftest$ac_exeext conftest.$ac_ext
40690 LIBS=$ac_check_lib_save_LIBS
40691 fi
40692 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40693 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40694 if test $ac_cv_lib_dl_dlopen = yes; then
40695
40696 cat >>confdefs.h <<\_ACEOF
40697 #define HAVE_DLOPEN 1
40698 _ACEOF
40699
40700 HAVE_DL_FUNCS=1
40701 DL_LINK=" -ldl$DL_LINK"
40702
40703 else
40704
40705
40706 for ac_func in shl_load
40707 do
40708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40709 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40711 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40712 echo $ECHO_N "(cached) $ECHO_C" >&6
40713 else
40714 cat >conftest.$ac_ext <<_ACEOF
40715 /* confdefs.h. */
40716 _ACEOF
40717 cat confdefs.h >>conftest.$ac_ext
40718 cat >>conftest.$ac_ext <<_ACEOF
40719 /* end confdefs.h. */
40720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40722 #define $ac_func innocuous_$ac_func
40723
40724 /* System header to define __stub macros and hopefully few prototypes,
40725 which can conflict with char $ac_func (); below.
40726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40727 <limits.h> exists even on freestanding compilers. */
40728
40729 #ifdef __STDC__
40730 # include <limits.h>
40731 #else
40732 # include <assert.h>
40733 #endif
40734
40735 #undef $ac_func
40736
40737 /* Override any GCC internal prototype to avoid an error.
40738 Use char because int might match the return type of a GCC
40739 builtin and then its argument prototype would still apply. */
40740 #ifdef __cplusplus
40741 extern "C"
40742 #endif
40743 char $ac_func ();
40744 /* The GNU C library defines this for functions which it implements
40745 to always fail with ENOSYS. Some functions are actually named
40746 something starting with __ and the normal name is an alias. */
40747 #if defined __stub_$ac_func || defined __stub___$ac_func
40748 choke me
40749 #endif
40750
40751 int
40752 main ()
40753 {
40754 return $ac_func ();
40755 ;
40756 return 0;
40757 }
40758 _ACEOF
40759 rm -f conftest.$ac_objext conftest$ac_exeext
40760 if { (ac_try="$ac_link"
40761 case "(($ac_try" in
40762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40763 *) ac_try_echo=$ac_try;;
40764 esac
40765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40766 (eval "$ac_link") 2>conftest.er1
40767 ac_status=$?
40768 grep -v '^ *+' conftest.er1 >conftest.err
40769 rm -f conftest.er1
40770 cat conftest.err >&5
40771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40772 (exit $ac_status); } && {
40773 test -z "$ac_c_werror_flag" ||
40774 test ! -s conftest.err
40775 } && test -s conftest$ac_exeext &&
40776 $as_test_x conftest$ac_exeext; then
40777 eval "$as_ac_var=yes"
40778 else
40779 echo "$as_me: failed program was:" >&5
40780 sed 's/^/| /' conftest.$ac_ext >&5
40781
40782 eval "$as_ac_var=no"
40783 fi
40784
40785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40786 conftest$ac_exeext conftest.$ac_ext
40787 fi
40788 ac_res=`eval echo '${'$as_ac_var'}'`
40789 { echo "$as_me:$LINENO: result: $ac_res" >&5
40790 echo "${ECHO_T}$ac_res" >&6; }
40791 if test `eval echo '${'$as_ac_var'}'` = yes; then
40792 cat >>confdefs.h <<_ACEOF
40793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40794 _ACEOF
40795
40796 cat >>confdefs.h <<\_ACEOF
40797 #define HAVE_SHL_LOAD 1
40798 _ACEOF
40799
40800 HAVE_SHL_FUNCS=1
40801
40802 else
40803
40804 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40805 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40806 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40807 echo $ECHO_N "(cached) $ECHO_C" >&6
40808 else
40809 ac_check_lib_save_LIBS=$LIBS
40810 LIBS="-lshl_load $LIBS"
40811 cat >conftest.$ac_ext <<_ACEOF
40812 /* confdefs.h. */
40813 _ACEOF
40814 cat confdefs.h >>conftest.$ac_ext
40815 cat >>conftest.$ac_ext <<_ACEOF
40816 /* end confdefs.h. */
40817
40818 /* Override any GCC internal prototype to avoid an error.
40819 Use char because int might match the return type of a GCC
40820 builtin and then its argument prototype would still apply. */
40821 #ifdef __cplusplus
40822 extern "C"
40823 #endif
40824 char dld ();
40825 int
40826 main ()
40827 {
40828 return dld ();
40829 ;
40830 return 0;
40831 }
40832 _ACEOF
40833 rm -f conftest.$ac_objext conftest$ac_exeext
40834 if { (ac_try="$ac_link"
40835 case "(($ac_try" in
40836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40837 *) ac_try_echo=$ac_try;;
40838 esac
40839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40840 (eval "$ac_link") 2>conftest.er1
40841 ac_status=$?
40842 grep -v '^ *+' conftest.er1 >conftest.err
40843 rm -f conftest.er1
40844 cat conftest.err >&5
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); } && {
40847 test -z "$ac_c_werror_flag" ||
40848 test ! -s conftest.err
40849 } && test -s conftest$ac_exeext &&
40850 $as_test_x conftest$ac_exeext; then
40851 ac_cv_lib_shl_load_dld=yes
40852 else
40853 echo "$as_me: failed program was:" >&5
40854 sed 's/^/| /' conftest.$ac_ext >&5
40855
40856 ac_cv_lib_shl_load_dld=no
40857 fi
40858
40859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40860 conftest$ac_exeext conftest.$ac_ext
40861 LIBS=$ac_check_lib_save_LIBS
40862 fi
40863 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40864 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40865 if test $ac_cv_lib_shl_load_dld = yes; then
40866
40867 HAVE_SHL_FUNCS=1
40868 DL_LINK=" -ldld$DL_LINK"
40869
40870 fi
40871
40872
40873 fi
40874 done
40875
40876
40877 fi
40878
40879
40880 fi
40881 done
40882
40883
40884 if test "$HAVE_DL_FUNCS" = 1; then
40885
40886 for ac_func in dlerror
40887 do
40888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40889 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40891 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40892 echo $ECHO_N "(cached) $ECHO_C" >&6
40893 else
40894 cat >conftest.$ac_ext <<_ACEOF
40895 /* confdefs.h. */
40896 _ACEOF
40897 cat confdefs.h >>conftest.$ac_ext
40898 cat >>conftest.$ac_ext <<_ACEOF
40899 /* end confdefs.h. */
40900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40902 #define $ac_func innocuous_$ac_func
40903
40904 /* System header to define __stub macros and hopefully few prototypes,
40905 which can conflict with char $ac_func (); below.
40906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40907 <limits.h> exists even on freestanding compilers. */
40908
40909 #ifdef __STDC__
40910 # include <limits.h>
40911 #else
40912 # include <assert.h>
40913 #endif
40914
40915 #undef $ac_func
40916
40917 /* Override any GCC internal prototype to avoid an error.
40918 Use char because int might match the return type of a GCC
40919 builtin and then its argument prototype would still apply. */
40920 #ifdef __cplusplus
40921 extern "C"
40922 #endif
40923 char $ac_func ();
40924 /* The GNU C library defines this for functions which it implements
40925 to always fail with ENOSYS. Some functions are actually named
40926 something starting with __ and the normal name is an alias. */
40927 #if defined __stub_$ac_func || defined __stub___$ac_func
40928 choke me
40929 #endif
40930
40931 int
40932 main ()
40933 {
40934 return $ac_func ();
40935 ;
40936 return 0;
40937 }
40938 _ACEOF
40939 rm -f conftest.$ac_objext conftest$ac_exeext
40940 if { (ac_try="$ac_link"
40941 case "(($ac_try" in
40942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40943 *) ac_try_echo=$ac_try;;
40944 esac
40945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40946 (eval "$ac_link") 2>conftest.er1
40947 ac_status=$?
40948 grep -v '^ *+' conftest.er1 >conftest.err
40949 rm -f conftest.er1
40950 cat conftest.err >&5
40951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40952 (exit $ac_status); } && {
40953 test -z "$ac_c_werror_flag" ||
40954 test ! -s conftest.err
40955 } && test -s conftest$ac_exeext &&
40956 $as_test_x conftest$ac_exeext; then
40957 eval "$as_ac_var=yes"
40958 else
40959 echo "$as_me: failed program was:" >&5
40960 sed 's/^/| /' conftest.$ac_ext >&5
40961
40962 eval "$as_ac_var=no"
40963 fi
40964
40965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40966 conftest$ac_exeext conftest.$ac_ext
40967 fi
40968 ac_res=`eval echo '${'$as_ac_var'}'`
40969 { echo "$as_me:$LINENO: result: $ac_res" >&5
40970 echo "${ECHO_T}$ac_res" >&6; }
40971 if test `eval echo '${'$as_ac_var'}'` = yes; then
40972 cat >>confdefs.h <<_ACEOF
40973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40974 _ACEOF
40975 cat >>confdefs.h <<\_ACEOF
40976 #define HAVE_DLERROR 1
40977 _ACEOF
40978
40979 else
40980
40981 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40982 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40983 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40984 echo $ECHO_N "(cached) $ECHO_C" >&6
40985 else
40986 ac_check_lib_save_LIBS=$LIBS
40987 LIBS="-ldl $LIBS"
40988 cat >conftest.$ac_ext <<_ACEOF
40989 /* confdefs.h. */
40990 _ACEOF
40991 cat confdefs.h >>conftest.$ac_ext
40992 cat >>conftest.$ac_ext <<_ACEOF
40993 /* end confdefs.h. */
40994
40995 /* Override any GCC internal prototype to avoid an error.
40996 Use char because int might match the return type of a GCC
40997 builtin and then its argument prototype would still apply. */
40998 #ifdef __cplusplus
40999 extern "C"
41000 #endif
41001 char dlerror ();
41002 int
41003 main ()
41004 {
41005 return dlerror ();
41006 ;
41007 return 0;
41008 }
41009 _ACEOF
41010 rm -f conftest.$ac_objext conftest$ac_exeext
41011 if { (ac_try="$ac_link"
41012 case "(($ac_try" in
41013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41014 *) ac_try_echo=$ac_try;;
41015 esac
41016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41017 (eval "$ac_link") 2>conftest.er1
41018 ac_status=$?
41019 grep -v '^ *+' conftest.er1 >conftest.err
41020 rm -f conftest.er1
41021 cat conftest.err >&5
41022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41023 (exit $ac_status); } && {
41024 test -z "$ac_c_werror_flag" ||
41025 test ! -s conftest.err
41026 } && test -s conftest$ac_exeext &&
41027 $as_test_x conftest$ac_exeext; then
41028 ac_cv_lib_dl_dlerror=yes
41029 else
41030 echo "$as_me: failed program was:" >&5
41031 sed 's/^/| /' conftest.$ac_ext >&5
41032
41033 ac_cv_lib_dl_dlerror=no
41034 fi
41035
41036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41037 conftest$ac_exeext conftest.$ac_ext
41038 LIBS=$ac_check_lib_save_LIBS
41039 fi
41040 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41041 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41042 if test $ac_cv_lib_dl_dlerror = yes; then
41043 cat >>confdefs.h <<\_ACEOF
41044 #define HAVE_DLERROR 1
41045 _ACEOF
41046
41047 fi
41048
41049
41050
41051 fi
41052 done
41053
41054 fi
41055 fi
41056
41057 if test "$HAVE_DL_FUNCS" = 0; then
41058 if test "$HAVE_SHL_FUNCS" = 0; then
41059 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41060 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41061 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41062 wxUSE_DYNAMIC_LOADER=no
41063 wxUSE_DYNLIB_CLASS=no
41064 else
41065 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41066 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41067 fi
41068 fi
41069 fi
41070 fi
41071 fi
41072
41073 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41074 cat >>confdefs.h <<\_ACEOF
41075 #define wxUSE_DYNAMIC_LOADER 1
41076 _ACEOF
41077
41078 fi
41079 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41080 cat >>confdefs.h <<\_ACEOF
41081 #define wxUSE_DYNLIB_CLASS 1
41082 _ACEOF
41083
41084 fi
41085
41086
41087
41088 if test "$wxUSE_PLUGINS" = "yes" ; then
41089 if test "$wxUSE_SHARED" = "no" ; then
41090 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41091 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41092 wxUSE_PLUGINS=no
41093 fi
41094 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41095 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41096 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41097 wxUSE_PLUGINS=no
41098 fi
41099 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41100 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41101 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41102 wxUSE_PLUGINS=no
41103 fi
41104 if test "$wxUSE_PLUGINS" = "yes" ; then
41105 cat >>confdefs.h <<\_ACEOF
41106 #define wxUSE_PLUGINS 1
41107 _ACEOF
41108
41109 fi
41110 fi
41111
41112
41113 if test "$wxUSE_STL" = "yes"; then
41114 cat >>confdefs.h <<\_ACEOF
41115 #define wxUSE_STL 1
41116 _ACEOF
41117
41118 fi
41119
41120 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41121 cat >>confdefs.h <<\_ACEOF
41122 #define wxUSE_EXTENDED_RTTI 1
41123 _ACEOF
41124
41125 fi
41126
41127 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41128 cat >>confdefs.h <<\_ACEOF
41129 #define wxUSE_APPLE_IEEE 1
41130 _ACEOF
41131
41132 fi
41133
41134 if test "$wxUSE_TIMER" = "yes"; then
41135 cat >>confdefs.h <<\_ACEOF
41136 #define wxUSE_TIMER 1
41137 _ACEOF
41138
41139 fi
41140
41141 if test "$USE_UNIX" = "1" ; then
41142 if test "$wxUSE_MGL" != 1; then
41143 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41144 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41145 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41146 echo $ECHO_N "(cached) $ECHO_C" >&6
41147 else
41148
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 saveLibs="$LIBS"
41194 LIBS="$saveLibs -lossaudio"
41195 cat >conftest.$ac_ext <<_ACEOF
41196 /* confdefs.h. */
41197 _ACEOF
41198 cat confdefs.h >>conftest.$ac_ext
41199 cat >>conftest.$ac_ext <<_ACEOF
41200 /* end confdefs.h. */
41201
41202 #include <sys/ioctl.h>
41203 #include <sys/soundcard.h>
41204
41205 int
41206 main ()
41207 {
41208
41209 ioctl(0, SNDCTL_DSP_SPEED, 0);
41210
41211 ;
41212 return 0;
41213 }
41214 _ACEOF
41215 rm -f conftest.$ac_objext conftest$ac_exeext
41216 if { (ac_try="$ac_link"
41217 case "(($ac_try" in
41218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41219 *) ac_try_echo=$ac_try;;
41220 esac
41221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41222 (eval "$ac_link") 2>conftest.er1
41223 ac_status=$?
41224 grep -v '^ *+' conftest.er1 >conftest.err
41225 rm -f conftest.er1
41226 cat conftest.err >&5
41227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41228 (exit $ac_status); } && {
41229 test -z "$ac_c_werror_flag" ||
41230 test ! -s conftest.err
41231 } && test -s conftest$ac_exeext &&
41232 $as_test_x conftest$ac_exeext; then
41233 ac_cv_header_sys_soundcard=yes
41234 else
41235 echo "$as_me: failed program was:" >&5
41236 sed 's/^/| /' conftest.$ac_ext >&5
41237
41238
41239 LIBS="$saveLibs"
41240 ac_cv_header_sys_soundcard=no
41241
41242
41243 fi
41244
41245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41246 conftest$ac_exeext conftest.$ac_ext
41247
41248
41249 fi
41250
41251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41252 conftest$ac_exeext conftest.$ac_ext
41253
41254 fi
41255 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41256 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41257 fi
41258
41259 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41260 cat >>confdefs.h <<\_ACEOF
41261 #define HAVE_SYS_SOUNDCARD_H 1
41262 _ACEOF
41263
41264 fi
41265 fi
41266
41267 WITH_PLUGIN_SDL=0
41268 if test "$wxUSE_SOUND" = "yes"; then
41269 if test "$USE_UNIX" = "1" ; then
41270 if test "$wxUSE_LIBSDL" != "no"; then
41271
41272 # Check whether --with-sdl-prefix was given.
41273 if test "${with_sdl_prefix+set}" = set; then
41274 withval=$with_sdl_prefix; sdl_prefix="$withval"
41275 else
41276 sdl_prefix=""
41277 fi
41278
41279
41280 # Check whether --with-sdl-exec-prefix was given.
41281 if test "${with_sdl_exec_prefix+set}" = set; then
41282 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41283 else
41284 sdl_exec_prefix=""
41285 fi
41286
41287 # Check whether --enable-sdltest was given.
41288 if test "${enable_sdltest+set}" = set; then
41289 enableval=$enable_sdltest;
41290 else
41291 enable_sdltest=yes
41292 fi
41293
41294
41295 if test x$sdl_exec_prefix != x ; then
41296 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41297 if test x${SDL_CONFIG+set} != xset ; then
41298 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41299 fi
41300 fi
41301 if test x$sdl_prefix != x ; then
41302 sdl_args="$sdl_args --prefix=$sdl_prefix"
41303 if test x${SDL_CONFIG+set} != xset ; then
41304 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41305 fi
41306 fi
41307
41308 if test "x$prefix" != xNONE; then
41309 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41310 fi
41311 # Extract the first word of "sdl-config", so it can be a program name with args.
41312 set dummy sdl-config; ac_word=$2
41313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41315 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41316 echo $ECHO_N "(cached) $ECHO_C" >&6
41317 else
41318 case $SDL_CONFIG in
41319 [\\/]* | ?:[\\/]*)
41320 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41321 ;;
41322 *)
41323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41324 for as_dir in $PATH
41325 do
41326 IFS=$as_save_IFS
41327 test -z "$as_dir" && as_dir=.
41328 for ac_exec_ext in '' $ac_executable_extensions; do
41329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41330 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41332 break 2
41333 fi
41334 done
41335 done
41336 IFS=$as_save_IFS
41337
41338 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41339 ;;
41340 esac
41341 fi
41342 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41343 if test -n "$SDL_CONFIG"; then
41344 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41345 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41346 else
41347 { echo "$as_me:$LINENO: result: no" >&5
41348 echo "${ECHO_T}no" >&6; }
41349 fi
41350
41351
41352 min_sdl_version=1.2.0
41353 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41354 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41355 no_sdl=""
41356 if test "$SDL_CONFIG" = "no" ; then
41357 no_sdl=yes
41358 else
41359 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41360 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41361
41362 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41363 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41364 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41365 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41366 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41367 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41368 if test "x$enable_sdltest" = "xyes" ; then
41369 ac_save_CFLAGS="$CFLAGS"
41370 ac_save_CXXFLAGS="$CXXFLAGS"
41371 ac_save_LIBS="$LIBS"
41372 CFLAGS="$CFLAGS $SDL_CFLAGS"
41373 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41374 LIBS="$LIBS $SDL_LIBS"
41375 rm -f conf.sdltest
41376 if test "$cross_compiling" = yes; then
41377 echo $ac_n "cross compiling; assumed OK... $ac_c"
41378 else
41379 cat >conftest.$ac_ext <<_ACEOF
41380 /* confdefs.h. */
41381 _ACEOF
41382 cat confdefs.h >>conftest.$ac_ext
41383 cat >>conftest.$ac_ext <<_ACEOF
41384 /* end confdefs.h. */
41385
41386 #include <stdio.h>
41387 #include <stdlib.h>
41388 #include <string.h>
41389 #include "SDL.h"
41390
41391 char*
41392 my_strdup (char *str)
41393 {
41394 char *new_str;
41395
41396 if (str)
41397 {
41398 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41399 strcpy (new_str, str);
41400 }
41401 else
41402 new_str = NULL;
41403
41404 return new_str;
41405 }
41406
41407 int main (int argc, char *argv[])
41408 {
41409 int major, minor, micro;
41410 char *tmp_version;
41411
41412 /* This hangs on some systems (?)
41413 system ("touch conf.sdltest");
41414 */
41415 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41416
41417 /* HP/UX 9 (%@#!) writes to sscanf strings */
41418 tmp_version = my_strdup("$min_sdl_version");
41419 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41420 printf("%s, bad version string\n", "$min_sdl_version");
41421 exit(1);
41422 }
41423
41424 if (($sdl_major_version > major) ||
41425 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41426 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41427 {
41428 return 0;
41429 }
41430 else
41431 {
41432 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41433 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41434 printf("*** best to upgrade to the required version.\n");
41435 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41436 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41437 printf("*** config.cache before re-running configure\n");
41438 return 1;
41439 }
41440 }
41441
41442
41443 _ACEOF
41444 rm -f conftest$ac_exeext
41445 if { (ac_try="$ac_link"
41446 case "(($ac_try" in
41447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41448 *) ac_try_echo=$ac_try;;
41449 esac
41450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41451 (eval "$ac_link") 2>&5
41452 ac_status=$?
41453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41454 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41455 { (case "(($ac_try" in
41456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41457 *) ac_try_echo=$ac_try;;
41458 esac
41459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41460 (eval "$ac_try") 2>&5
41461 ac_status=$?
41462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41463 (exit $ac_status); }; }; then
41464 :
41465 else
41466 echo "$as_me: program exited with status $ac_status" >&5
41467 echo "$as_me: failed program was:" >&5
41468 sed 's/^/| /' conftest.$ac_ext >&5
41469
41470 ( exit $ac_status )
41471 no_sdl=yes
41472 fi
41473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41474 fi
41475
41476
41477 CFLAGS="$ac_save_CFLAGS"
41478 CXXFLAGS="$ac_save_CXXFLAGS"
41479 LIBS="$ac_save_LIBS"
41480 fi
41481 fi
41482 if test "x$no_sdl" = x ; then
41483 { echo "$as_me:$LINENO: result: yes" >&5
41484 echo "${ECHO_T}yes" >&6; }
41485
41486 EXTRALIBS_SDL="$SDL_LIBS"
41487 CFLAGS="$SDL_CFLAGS $CFLAGS"
41488 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41489 cat >>confdefs.h <<\_ACEOF
41490 #define wxUSE_LIBSDL 1
41491 _ACEOF
41492
41493
41494 else
41495 { echo "$as_me:$LINENO: result: no" >&5
41496 echo "${ECHO_T}no" >&6; }
41497 if test "$SDL_CONFIG" = "no" ; then
41498 echo "*** The sdl-config script installed by SDL could not be found"
41499 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41500 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41501 echo "*** full path to sdl-config."
41502 else
41503 if test -f conf.sdltest ; then
41504 :
41505 else
41506 echo "*** Could not run SDL test program, checking why..."
41507 CFLAGS="$CFLAGS $SDL_CFLAGS"
41508 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41509 LIBS="$LIBS $SDL_LIBS"
41510 cat >conftest.$ac_ext <<_ACEOF
41511 /* confdefs.h. */
41512 _ACEOF
41513 cat confdefs.h >>conftest.$ac_ext
41514 cat >>conftest.$ac_ext <<_ACEOF
41515 /* end confdefs.h. */
41516
41517 #include <stdio.h>
41518 #include "SDL.h"
41519
41520 int main(int argc, char *argv[])
41521 { return 0; }
41522 #undef main
41523 #define main K_and_R_C_main
41524
41525 int
41526 main ()
41527 {
41528 return 0;
41529 ;
41530 return 0;
41531 }
41532 _ACEOF
41533 rm -f conftest.$ac_objext conftest$ac_exeext
41534 if { (ac_try="$ac_link"
41535 case "(($ac_try" in
41536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41537 *) ac_try_echo=$ac_try;;
41538 esac
41539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41540 (eval "$ac_link") 2>conftest.er1
41541 ac_status=$?
41542 grep -v '^ *+' conftest.er1 >conftest.err
41543 rm -f conftest.er1
41544 cat conftest.err >&5
41545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41546 (exit $ac_status); } && {
41547 test -z "$ac_c_werror_flag" ||
41548 test ! -s conftest.err
41549 } && test -s conftest$ac_exeext &&
41550 $as_test_x conftest$ac_exeext; then
41551 echo "*** The test program compiled, but did not run. This usually means"
41552 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41553 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41554 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41555 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41556 echo "*** is required on your system"
41557 echo "***"
41558 echo "*** If you have an old version installed, it is best to remove it, although"
41559 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41560 else
41561 echo "$as_me: failed program was:" >&5
41562 sed 's/^/| /' conftest.$ac_ext >&5
41563
41564 echo "*** The test program failed to compile or link. See the file config.log for the"
41565 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41566 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41567 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41568 fi
41569
41570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41571 conftest$ac_exeext conftest.$ac_ext
41572 CFLAGS="$ac_save_CFLAGS"
41573 CXXFLAGS="$ac_save_CXXFLAGS"
41574 LIBS="$ac_save_LIBS"
41575 fi
41576 fi
41577 SDL_CFLAGS=""
41578 SDL_LIBS=""
41579 wxUSE_LIBSDL="no"
41580 fi
41581
41582
41583 rm -f conf.sdltest
41584
41585 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41586 WITH_PLUGIN_SDL=1
41587 fi
41588 fi
41589 else
41590 if test "$wxUSE_MGL" = 1; then
41591 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41592 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41593 wxUSE_SOUND="no"
41594 fi
41595 fi
41596 fi
41597
41598 if test "$wxUSE_SOUND" = "yes"; then
41599 cat >>confdefs.h <<\_ACEOF
41600 #define wxUSE_SOUND 1
41601 _ACEOF
41602
41603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41604 fi
41605
41606 if test "$WXGTK20" = 1; then
41607
41608
41609 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41610 if test -n "$ac_tool_prefix"; then
41611 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41612 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41615 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41616 echo $ECHO_N "(cached) $ECHO_C" >&6
41617 else
41618 case $PKG_CONFIG in
41619 [\\/]* | ?:[\\/]*)
41620 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41621 ;;
41622 *)
41623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41624 for as_dir in $PATH
41625 do
41626 IFS=$as_save_IFS
41627 test -z "$as_dir" && as_dir=.
41628 for ac_exec_ext in '' $ac_executable_extensions; do
41629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41630 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41632 break 2
41633 fi
41634 done
41635 done
41636 IFS=$as_save_IFS
41637
41638 ;;
41639 esac
41640 fi
41641 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41642 if test -n "$PKG_CONFIG"; then
41643 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41644 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41645 else
41646 { echo "$as_me:$LINENO: result: no" >&5
41647 echo "${ECHO_T}no" >&6; }
41648 fi
41649
41650
41651 fi
41652 if test -z "$ac_cv_path_PKG_CONFIG"; then
41653 ac_pt_PKG_CONFIG=$PKG_CONFIG
41654 # Extract the first word of "pkg-config", so it can be a program name with args.
41655 set dummy pkg-config; ac_word=$2
41656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41658 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41659 echo $ECHO_N "(cached) $ECHO_C" >&6
41660 else
41661 case $ac_pt_PKG_CONFIG in
41662 [\\/]* | ?:[\\/]*)
41663 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41664 ;;
41665 *)
41666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41667 for as_dir in $PATH
41668 do
41669 IFS=$as_save_IFS
41670 test -z "$as_dir" && as_dir=.
41671 for ac_exec_ext in '' $ac_executable_extensions; do
41672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41673 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41675 break 2
41676 fi
41677 done
41678 done
41679 IFS=$as_save_IFS
41680
41681 ;;
41682 esac
41683 fi
41684 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41685 if test -n "$ac_pt_PKG_CONFIG"; then
41686 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41687 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41688 else
41689 { echo "$as_me:$LINENO: result: no" >&5
41690 echo "${ECHO_T}no" >&6; }
41691 fi
41692
41693 if test "x$ac_pt_PKG_CONFIG" = x; then
41694 PKG_CONFIG=""
41695 else
41696 case $cross_compiling:$ac_tool_warned in
41697 yes:)
41698 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41699 whose name does not start with the host triplet. If you think this
41700 configuration is useful to you, please write to autoconf@gnu.org." >&5
41701 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41702 whose name does not start with the host triplet. If you think this
41703 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41704 ac_tool_warned=yes ;;
41705 esac
41706 PKG_CONFIG=$ac_pt_PKG_CONFIG
41707 fi
41708 else
41709 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41710 fi
41711
41712 fi
41713 if test -n "$PKG_CONFIG"; then
41714 _pkg_min_version=0.9.0
41715 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41716 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41717 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41718 { echo "$as_me:$LINENO: result: yes" >&5
41719 echo "${ECHO_T}yes" >&6; }
41720 else
41721 { echo "$as_me:$LINENO: result: no" >&5
41722 echo "${ECHO_T}no" >&6; }
41723 PKG_CONFIG=""
41724 fi
41725
41726 fi
41727
41728 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41729 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41730
41731
41732 pkg_failed=no
41733 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41734 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41735
41736 if test -n "$PKG_CONFIG"; then
41737 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41738 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41739 else
41740 if test -n "$PKG_CONFIG" && \
41741 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41742 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41743 ac_status=$?
41744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41745 (exit $ac_status); }; then
41746 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41747 else
41748 pkg_failed=yes
41749 fi
41750 fi
41751 else
41752 pkg_failed=untried
41753 fi
41754 if test -n "$PKG_CONFIG"; then
41755 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41756 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41757 else
41758 if test -n "$PKG_CONFIG" && \
41759 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41760 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41761 ac_status=$?
41762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41763 (exit $ac_status); }; then
41764 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41765 else
41766 pkg_failed=yes
41767 fi
41768 fi
41769 else
41770 pkg_failed=untried
41771 fi
41772
41773
41774
41775 if test $pkg_failed = yes; then
41776
41777 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41778 _pkg_short_errors_supported=yes
41779 else
41780 _pkg_short_errors_supported=no
41781 fi
41782 if test $_pkg_short_errors_supported = yes; then
41783 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41784 else
41785 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41786 fi
41787 # Put the nasty error message in config.log where it belongs
41788 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41789
41790
41791 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41792 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41793 wxUSE_LIBGNOMEPRINT="no"
41794
41795
41796 elif test $pkg_failed = untried; then
41797
41798 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41799 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41800 wxUSE_LIBGNOMEPRINT="no"
41801
41802
41803 else
41804 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41805 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41806 { echo "$as_me:$LINENO: result: yes" >&5
41807 echo "${ECHO_T}yes" >&6; }
41808
41809 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41810 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41811 cat >>confdefs.h <<\_ACEOF
41812 #define wxUSE_LIBGNOMEPRINT 1
41813 _ACEOF
41814
41815
41816 fi
41817 fi
41818 fi
41819
41820 if test "$wxUSE_MIMETYPE" = "yes" ; then
41821 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41822
41823
41824 pkg_failed=no
41825 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41826 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41827
41828 if test -n "$PKG_CONFIG"; then
41829 if test -n "$GNOMEVFS_CFLAGS"; then
41830 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41831 else
41832 if test -n "$PKG_CONFIG" && \
41833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41834 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41835 ac_status=$?
41836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41837 (exit $ac_status); }; then
41838 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41839 else
41840 pkg_failed=yes
41841 fi
41842 fi
41843 else
41844 pkg_failed=untried
41845 fi
41846 if test -n "$PKG_CONFIG"; then
41847 if test -n "$GNOMEVFS_LIBS"; then
41848 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41849 else
41850 if test -n "$PKG_CONFIG" && \
41851 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41852 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41853 ac_status=$?
41854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855 (exit $ac_status); }; then
41856 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41857 else
41858 pkg_failed=yes
41859 fi
41860 fi
41861 else
41862 pkg_failed=untried
41863 fi
41864
41865
41866
41867 if test $pkg_failed = yes; then
41868
41869 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41870 _pkg_short_errors_supported=yes
41871 else
41872 _pkg_short_errors_supported=no
41873 fi
41874 if test $_pkg_short_errors_supported = yes; then
41875 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41876 else
41877 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41878 fi
41879 # Put the nasty error message in config.log where it belongs
41880 echo "$GNOMEVFS_PKG_ERRORS" >&5
41881
41882
41883 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41884 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41885 wxUSE_LIBGNOMEVFS="no"
41886
41887
41888 elif test $pkg_failed = untried; then
41889
41890 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41891 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41892 wxUSE_LIBGNOMEVFS="no"
41893
41894
41895 else
41896 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41897 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41898 { echo "$as_me:$LINENO: result: yes" >&5
41899 echo "${ECHO_T}yes" >&6; }
41900
41901 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41902 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41903 cat >>confdefs.h <<\_ACEOF
41904 #define wxUSE_LIBGNOMEVFS 1
41905 _ACEOF
41906
41907
41908 fi
41909 fi
41910 fi
41911
41912 if test "$wxUSE_LIBHILDON" = "yes" ; then
41913
41914 pkg_failed=no
41915 { echo "$as_me:$LINENO: checking for HILDON" >&5
41916 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41917
41918 if test -n "$PKG_CONFIG"; then
41919 if test -n "$HILDON_CFLAGS"; then
41920 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41921 else
41922 if test -n "$PKG_CONFIG" && \
41923 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41924 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41925 ac_status=$?
41926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41927 (exit $ac_status); }; then
41928 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41929 else
41930 pkg_failed=yes
41931 fi
41932 fi
41933 else
41934 pkg_failed=untried
41935 fi
41936 if test -n "$PKG_CONFIG"; then
41937 if test -n "$HILDON_LIBS"; then
41938 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41939 else
41940 if test -n "$PKG_CONFIG" && \
41941 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41942 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41943 ac_status=$?
41944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41945 (exit $ac_status); }; then
41946 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41947 else
41948 pkg_failed=yes
41949 fi
41950 fi
41951 else
41952 pkg_failed=untried
41953 fi
41954
41955
41956
41957 if test $pkg_failed = yes; then
41958
41959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41960 _pkg_short_errors_supported=yes
41961 else
41962 _pkg_short_errors_supported=no
41963 fi
41964 if test $_pkg_short_errors_supported = yes; then
41965 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41966 else
41967 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41968 fi
41969 # Put the nasty error message in config.log where it belongs
41970 echo "$HILDON_PKG_ERRORS" >&5
41971
41972
41973 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41974 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41975 wxUSE_LIBHILDON="no"
41976
41977
41978 elif test $pkg_failed = untried; then
41979
41980 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41981 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41982 wxUSE_LIBHILDON="no"
41983
41984
41985 else
41986 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41987 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41988 { echo "$as_me:$LINENO: result: yes" >&5
41989 echo "${ECHO_T}yes" >&6; }
41990
41991 EXTRALIBS_HILDON="$HILDON_LIBS"
41992 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41993 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41994 cat >>confdefs.h <<\_ACEOF
41995 #define wxUSE_LIBHILDON 1
41996 _ACEOF
41997
41998
41999 fi
42000 fi
42001 fi
42002
42003 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42004 cat >>confdefs.h <<\_ACEOF
42005 #define wxUSE_CMDLINE_PARSER 1
42006 _ACEOF
42007
42008 fi
42009
42010 if test "$wxUSE_STOPWATCH" = "yes"; then
42011 cat >>confdefs.h <<\_ACEOF
42012 #define wxUSE_STOPWATCH 1
42013 _ACEOF
42014
42015 fi
42016
42017 if test "$wxUSE_DATETIME" = "yes"; then
42018 cat >>confdefs.h <<\_ACEOF
42019 #define wxUSE_DATETIME 1
42020 _ACEOF
42021
42022 fi
42023
42024 if test "$wxUSE_FILE" = "yes"; then
42025 cat >>confdefs.h <<\_ACEOF
42026 #define wxUSE_FILE 1
42027 _ACEOF
42028
42029 fi
42030
42031 if test "$wxUSE_FFILE" = "yes"; then
42032 cat >>confdefs.h <<\_ACEOF
42033 #define wxUSE_FFILE 1
42034 _ACEOF
42035
42036 fi
42037
42038 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42039 if test "$wxUSE_STREAMS" != yes; then
42040 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42041 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42042 wxUSE_ARCHIVE_STREAMS=no
42043 else
42044 cat >>confdefs.h <<\_ACEOF
42045 #define wxUSE_ARCHIVE_STREAMS 1
42046 _ACEOF
42047
42048 fi
42049 fi
42050
42051 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42052 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42053 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42054 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42055 elif test "$wxUSE_ZLIB" = "no"; then
42056 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42057 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42058 else
42059 cat >>confdefs.h <<\_ACEOF
42060 #define wxUSE_ZIPSTREAM 1
42061 _ACEOF
42062
42063 fi
42064 fi
42065
42066 if test "$wxUSE_TARSTREAM" = "yes"; then
42067 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42068 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42069 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42070 else
42071 cat >>confdefs.h <<\_ACEOF
42072 #define wxUSE_TARSTREAM 1
42073 _ACEOF
42074
42075 fi
42076 fi
42077
42078 if test "$wxUSE_FILESYSTEM" = "yes"; then
42079 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42080 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42081 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42082 wxUSE_FILESYSTEM=no
42083 else
42084 cat >>confdefs.h <<\_ACEOF
42085 #define wxUSE_FILESYSTEM 1
42086 _ACEOF
42087
42088 fi
42089 fi
42090
42091 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42092 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42093 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42094 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42095 else
42096 cat >>confdefs.h <<\_ACEOF
42097 #define wxUSE_FS_ARCHIVE 1
42098 _ACEOF
42099
42100 fi
42101 fi
42102
42103 if test "$wxUSE_FS_ZIP" = "yes"; then
42104 if test "$wxUSE_FS_ARCHIVE" != yes; then
42105 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42106 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42107 else
42108 cat >>confdefs.h <<\_ACEOF
42109 #define wxUSE_FS_ZIP 1
42110 _ACEOF
42111
42112 fi
42113 fi
42114
42115 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42116 if test "$USE_UNIX" != 1; then
42117 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42118 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42119 wxUSE_ON_FATAL_EXCEPTION=no
42120 else
42121 cat >>confdefs.h <<\_ACEOF
42122 #define wxUSE_ON_FATAL_EXCEPTION 1
42123 _ACEOF
42124
42125 fi
42126 fi
42127
42128 if test "$wxUSE_STACKWALKER" = "yes"; then
42129 cat >>confdefs.h <<\_ACEOF
42130 #define wxUSE_STACKWALKER 1
42131 _ACEOF
42132
42133 fi
42134
42135 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42136 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42137 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42138 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42139 wxUSE_DEBUGREPORT=no
42140 else
42141 cat >>confdefs.h <<\_ACEOF
42142 #define wxUSE_DEBUGREPORT 1
42143 _ACEOF
42144
42145 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42147 fi
42148 fi
42149 fi
42150
42151 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42152 cat >>confdefs.h <<\_ACEOF
42153 #define wxUSE_SNGLINST_CHECKER 1
42154 _ACEOF
42155
42156 fi
42157
42158 if test "$wxUSE_BUSYINFO" = "yes"; then
42159 cat >>confdefs.h <<\_ACEOF
42160 #define wxUSE_BUSYINFO 1
42161 _ACEOF
42162
42163 fi
42164
42165 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42166 cat >>confdefs.h <<\_ACEOF
42167 #define wxUSE_STD_IOSTREAM 1
42168 _ACEOF
42169
42170 fi
42171
42172 if test "$wxUSE_STD_STRING" = "yes"; then
42173 cat >>confdefs.h <<\_ACEOF
42174 #define wxUSE_STD_STRING 1
42175 _ACEOF
42176
42177 fi
42178
42179 if test "$wxUSE_STDPATHS" = "yes"; then
42180 cat >>confdefs.h <<\_ACEOF
42181 #define wxUSE_STDPATHS 1
42182 _ACEOF
42183
42184 fi
42185
42186 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42187 cat >>confdefs.h <<\_ACEOF
42188 #define wxUSE_TEXTBUFFER 1
42189 _ACEOF
42190
42191 fi
42192
42193 if test "$wxUSE_TEXTFILE" = "yes"; then
42194 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42195 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42196 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42197 else
42198 cat >>confdefs.h <<\_ACEOF
42199 #define wxUSE_TEXTFILE 1
42200 _ACEOF
42201
42202 fi
42203 fi
42204
42205 if test "$wxUSE_CONFIG" = "yes" ; then
42206 if test "$wxUSE_TEXTFILE" != "yes"; then
42207 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42208 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42209 else
42210 cat >>confdefs.h <<\_ACEOF
42211 #define wxUSE_CONFIG 1
42212 _ACEOF
42213
42214 cat >>confdefs.h <<\_ACEOF
42215 #define wxUSE_CONFIG_NATIVE 1
42216 _ACEOF
42217
42218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42219 fi
42220 fi
42221
42222 if test "$wxUSE_INTL" = "yes" ; then
42223 if test "$wxUSE_FILE" != "yes"; then
42224 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42225 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42226 else
42227 cat >>confdefs.h <<\_ACEOF
42228 #define wxUSE_INTL 1
42229 _ACEOF
42230
42231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42232 GUIDIST="$GUIDIST INTL_DIST"
42233 fi
42234 fi
42235
42236 if test "$wxUSE_LOG" = "yes"; then
42237 cat >>confdefs.h <<\_ACEOF
42238 #define wxUSE_LOG 1
42239 _ACEOF
42240
42241
42242 if test "$wxUSE_LOGGUI" = "yes"; then
42243 cat >>confdefs.h <<\_ACEOF
42244 #define wxUSE_LOGGUI 1
42245 _ACEOF
42246
42247 fi
42248
42249 if test "$wxUSE_LOGWINDOW" = "yes"; then
42250 cat >>confdefs.h <<\_ACEOF
42251 #define wxUSE_LOGWINDOW 1
42252 _ACEOF
42253
42254 fi
42255
42256 if test "$wxUSE_LOGDIALOG" = "yes"; then
42257 cat >>confdefs.h <<\_ACEOF
42258 #define wxUSE_LOG_DIALOG 1
42259 _ACEOF
42260
42261 fi
42262
42263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42264 fi
42265
42266 if test "$wxUSE_LONGLONG" = "yes"; then
42267 cat >>confdefs.h <<\_ACEOF
42268 #define wxUSE_LONGLONG 1
42269 _ACEOF
42270
42271 fi
42272
42273 if test "$wxUSE_GEOMETRY" = "yes"; then
42274 cat >>confdefs.h <<\_ACEOF
42275 #define wxUSE_GEOMETRY 1
42276 _ACEOF
42277
42278 fi
42279
42280 if test "$wxUSE_STREAMS" = "yes" ; then
42281 cat >>confdefs.h <<\_ACEOF
42282 #define wxUSE_STREAMS 1
42283 _ACEOF
42284
42285 fi
42286
42287 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42288 cat >>confdefs.h <<\_ACEOF
42289 #define wxUSE_PRINTF_POS_PARAMS 1
42290 _ACEOF
42291
42292 fi
42293
42294 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42295 cat >>confdefs.h <<\_ACEOF
42296 #define wxUSE_OBJC_UNIQUIFYING 1
42297 _ACEOF
42298
42299 fi
42300
42301
42302 if test "$wxUSE_DATETIME" = "yes"; then
42303 { echo "$as_me:$LINENO: checking for strptime" >&5
42304 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42305 if test "${ac_cv_func_strptime+set}" = set; then
42306 echo $ECHO_N "(cached) $ECHO_C" >&6
42307 else
42308 cat >conftest.$ac_ext <<_ACEOF
42309 /* confdefs.h. */
42310 _ACEOF
42311 cat confdefs.h >>conftest.$ac_ext
42312 cat >>conftest.$ac_ext <<_ACEOF
42313 /* end confdefs.h. */
42314 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42316 #define strptime innocuous_strptime
42317
42318 /* System header to define __stub macros and hopefully few prototypes,
42319 which can conflict with char strptime (); below.
42320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42321 <limits.h> exists even on freestanding compilers. */
42322
42323 #ifdef __STDC__
42324 # include <limits.h>
42325 #else
42326 # include <assert.h>
42327 #endif
42328
42329 #undef strptime
42330
42331 /* Override any GCC internal prototype to avoid an error.
42332 Use char because int might match the return type of a GCC
42333 builtin and then its argument prototype would still apply. */
42334 #ifdef __cplusplus
42335 extern "C"
42336 #endif
42337 char strptime ();
42338 /* The GNU C library defines this for functions which it implements
42339 to always fail with ENOSYS. Some functions are actually named
42340 something starting with __ and the normal name is an alias. */
42341 #if defined __stub_strptime || defined __stub___strptime
42342 choke me
42343 #endif
42344
42345 int
42346 main ()
42347 {
42348 return strptime ();
42349 ;
42350 return 0;
42351 }
42352 _ACEOF
42353 rm -f conftest.$ac_objext conftest$ac_exeext
42354 if { (ac_try="$ac_link"
42355 case "(($ac_try" in
42356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42357 *) ac_try_echo=$ac_try;;
42358 esac
42359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42360 (eval "$ac_link") 2>conftest.er1
42361 ac_status=$?
42362 grep -v '^ *+' conftest.er1 >conftest.err
42363 rm -f conftest.er1
42364 cat conftest.err >&5
42365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42366 (exit $ac_status); } && {
42367 test -z "$ac_c_werror_flag" ||
42368 test ! -s conftest.err
42369 } && test -s conftest$ac_exeext &&
42370 $as_test_x conftest$ac_exeext; then
42371 ac_cv_func_strptime=yes
42372 else
42373 echo "$as_me: failed program was:" >&5
42374 sed 's/^/| /' conftest.$ac_ext >&5
42375
42376 ac_cv_func_strptime=no
42377 fi
42378
42379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42380 conftest$ac_exeext conftest.$ac_ext
42381 fi
42382 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
42383 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
42384
42385 if test "$ac_cv_func_strptime" = "yes"; then
42386 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42387 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42388 if test "${wx_cv_func_strptime_decl+set}" = set; then
42389 echo $ECHO_N "(cached) $ECHO_C" >&6
42390 else
42391
42392 ac_ext=cpp
42393 ac_cpp='$CXXCPP $CPPFLAGS'
42394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42397
42398 cat >conftest.$ac_ext <<_ACEOF
42399 /* confdefs.h. */
42400 _ACEOF
42401 cat confdefs.h >>conftest.$ac_ext
42402 cat >>conftest.$ac_ext <<_ACEOF
42403 /* end confdefs.h. */
42404
42405 #include <time.h>
42406
42407 int
42408 main ()
42409 {
42410
42411 struct tm t;
42412 strptime("foo", "bar", &t);
42413
42414 ;
42415 return 0;
42416 }
42417 _ACEOF
42418 rm -f conftest.$ac_objext
42419 if { (ac_try="$ac_compile"
42420 case "(($ac_try" in
42421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42422 *) ac_try_echo=$ac_try;;
42423 esac
42424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42425 (eval "$ac_compile") 2>conftest.er1
42426 ac_status=$?
42427 grep -v '^ *+' conftest.er1 >conftest.err
42428 rm -f conftest.er1
42429 cat conftest.err >&5
42430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42431 (exit $ac_status); } && {
42432 test -z "$ac_cxx_werror_flag" ||
42433 test ! -s conftest.err
42434 } && test -s conftest.$ac_objext; then
42435 wx_cv_func_strptime_decl=yes
42436 else
42437 echo "$as_me: failed program was:" >&5
42438 sed 's/^/| /' conftest.$ac_ext >&5
42439
42440 wx_cv_func_strptime_decl=no
42441
42442 fi
42443
42444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42445 ac_ext=c
42446 ac_cpp='$CPP $CPPFLAGS'
42447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42450
42451
42452
42453 fi
42454 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42455 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42456 fi
42457 if test "$wx_cv_func_strptime_decl" = "yes"; then
42458 cat >>confdefs.h <<\_ACEOF
42459 #define HAVE_STRPTIME_DECL 1
42460 _ACEOF
42461
42462 else
42463 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
42464 fi
42465 if test "$ac_cv_func_strptime" = "yes"; then
42466 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
42467 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
42468 if test "${wx_cv_func_strptime_ok+set}" = set; then
42469 echo $ECHO_N "(cached) $ECHO_C" >&6
42470 else
42471 if test "$cross_compiling" = yes; then
42472 wx_cv_func_strptime_ok=no
42473
42474 else
42475 cat >conftest.$ac_ext <<_ACEOF
42476
42477 #include <stdlib.h>
42478 #include <time.h>
42479 #include "confdefs.h"
42480
42481 $wx_strptime_decl
42482
42483 int main()
42484 {
42485 struct tm t;
42486 return !!strptime("", "%x", &t);
42487 }
42488
42489 _ACEOF
42490 rm -f conftest$ac_exeext
42491 if { (ac_try="$ac_link"
42492 case "(($ac_try" in
42493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42494 *) ac_try_echo=$ac_try;;
42495 esac
42496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42497 (eval "$ac_link") 2>&5
42498 ac_status=$?
42499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42500 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42501 { (case "(($ac_try" in
42502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42503 *) ac_try_echo=$ac_try;;
42504 esac
42505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42506 (eval "$ac_try") 2>&5
42507 ac_status=$?
42508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42509 (exit $ac_status); }; }; then
42510 wx_cv_func_strptime_ok=yes
42511 else
42512 echo "$as_me: program exited with status $ac_status" >&5
42513 echo "$as_me: failed program was:" >&5
42514 sed 's/^/| /' conftest.$ac_ext >&5
42515
42516 ( exit $ac_status )
42517 wx_cv_func_strptime_ok=no
42518 fi
42519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42520 fi
42521
42522
42523
42524 fi
42525 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
42526 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
42527
42528 if test "$wx_cv_func_strptime_ok" = "yes"; then
42529 cat >>confdefs.h <<\_ACEOF
42530 #define HAVE_STRPTIME 1
42531 _ACEOF
42532
42533 fi
42534 fi
42535
42536 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42537 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42538 if test "${wx_cv_var_timezone+set}" = set; then
42539 echo $ECHO_N "(cached) $ECHO_C" >&6
42540 else
42541
42542 ac_ext=cpp
42543 ac_cpp='$CXXCPP $CPPFLAGS'
42544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42547
42548 cat >conftest.$ac_ext <<_ACEOF
42549 /* confdefs.h. */
42550 _ACEOF
42551 cat confdefs.h >>conftest.$ac_ext
42552 cat >>conftest.$ac_ext <<_ACEOF
42553 /* end confdefs.h. */
42554
42555 #include <time.h>
42556
42557 int
42558 main ()
42559 {
42560
42561 int tz;
42562 tz = timezone;
42563
42564 ;
42565 return 0;
42566 }
42567 _ACEOF
42568 rm -f conftest.$ac_objext
42569 if { (ac_try="$ac_compile"
42570 case "(($ac_try" in
42571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42572 *) ac_try_echo=$ac_try;;
42573 esac
42574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42575 (eval "$ac_compile") 2>conftest.er1
42576 ac_status=$?
42577 grep -v '^ *+' conftest.er1 >conftest.err
42578 rm -f conftest.er1
42579 cat conftest.err >&5
42580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42581 (exit $ac_status); } && {
42582 test -z "$ac_cxx_werror_flag" ||
42583 test ! -s conftest.err
42584 } && test -s conftest.$ac_objext; then
42585
42586 wx_cv_var_timezone=timezone
42587
42588 else
42589 echo "$as_me: failed program was:" >&5
42590 sed 's/^/| /' conftest.$ac_ext >&5
42591
42592
42593 cat >conftest.$ac_ext <<_ACEOF
42594 /* confdefs.h. */
42595 _ACEOF
42596 cat confdefs.h >>conftest.$ac_ext
42597 cat >>conftest.$ac_ext <<_ACEOF
42598 /* end confdefs.h. */
42599
42600 #include <time.h>
42601
42602 int
42603 main ()
42604 {
42605
42606 int tz;
42607 tz = _timezone;
42608
42609 ;
42610 return 0;
42611 }
42612 _ACEOF
42613 rm -f conftest.$ac_objext
42614 if { (ac_try="$ac_compile"
42615 case "(($ac_try" in
42616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42617 *) ac_try_echo=$ac_try;;
42618 esac
42619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42620 (eval "$ac_compile") 2>conftest.er1
42621 ac_status=$?
42622 grep -v '^ *+' conftest.er1 >conftest.err
42623 rm -f conftest.er1
42624 cat conftest.err >&5
42625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626 (exit $ac_status); } && {
42627 test -z "$ac_cxx_werror_flag" ||
42628 test ! -s conftest.err
42629 } && test -s conftest.$ac_objext; then
42630
42631 wx_cv_var_timezone=_timezone
42632
42633 else
42634 echo "$as_me: failed program was:" >&5
42635 sed 's/^/| /' conftest.$ac_ext >&5
42636
42637
42638 cat >conftest.$ac_ext <<_ACEOF
42639 /* confdefs.h. */
42640 _ACEOF
42641 cat confdefs.h >>conftest.$ac_ext
42642 cat >>conftest.$ac_ext <<_ACEOF
42643 /* end confdefs.h. */
42644
42645 #include <time.h>
42646
42647 int
42648 main ()
42649 {
42650
42651 int tz;
42652 tz = __timezone;
42653
42654 ;
42655 return 0;
42656 }
42657 _ACEOF
42658 rm -f conftest.$ac_objext
42659 if { (ac_try="$ac_compile"
42660 case "(($ac_try" in
42661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42662 *) ac_try_echo=$ac_try;;
42663 esac
42664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42665 (eval "$ac_compile") 2>conftest.er1
42666 ac_status=$?
42667 grep -v '^ *+' conftest.er1 >conftest.err
42668 rm -f conftest.er1
42669 cat conftest.err >&5
42670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42671 (exit $ac_status); } && {
42672 test -z "$ac_cxx_werror_flag" ||
42673 test ! -s conftest.err
42674 } && test -s conftest.$ac_objext; then
42675
42676 wx_cv_var_timezone=__timezone
42677
42678 else
42679 echo "$as_me: failed program was:" >&5
42680 sed 's/^/| /' conftest.$ac_ext >&5
42681
42682
42683 if test "$USE_DOS" = 0 ; then
42684 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42685 echo "$as_me: WARNING: no timezone variable" >&2;}
42686 fi
42687
42688
42689 fi
42690
42691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42692
42693
42694 fi
42695
42696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42697
42698
42699 fi
42700
42701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42702 ac_ext=c
42703 ac_cpp='$CPP $CPPFLAGS'
42704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42707
42708
42709
42710 fi
42711 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42712 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42713
42714 if test "x$wx_cv_var_timezone" != x ; then
42715 cat >>confdefs.h <<_ACEOF
42716 #define WX_TIMEZONE $wx_cv_var_timezone
42717 _ACEOF
42718
42719 fi
42720
42721
42722 for ac_func in localtime
42723 do
42724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42725 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42727 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42728 echo $ECHO_N "(cached) $ECHO_C" >&6
42729 else
42730 cat >conftest.$ac_ext <<_ACEOF
42731 /* confdefs.h. */
42732 _ACEOF
42733 cat confdefs.h >>conftest.$ac_ext
42734 cat >>conftest.$ac_ext <<_ACEOF
42735 /* end confdefs.h. */
42736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42738 #define $ac_func innocuous_$ac_func
42739
42740 /* System header to define __stub macros and hopefully few prototypes,
42741 which can conflict with char $ac_func (); below.
42742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42743 <limits.h> exists even on freestanding compilers. */
42744
42745 #ifdef __STDC__
42746 # include <limits.h>
42747 #else
42748 # include <assert.h>
42749 #endif
42750
42751 #undef $ac_func
42752
42753 /* Override any GCC internal prototype to avoid an error.
42754 Use char because int might match the return type of a GCC
42755 builtin and then its argument prototype would still apply. */
42756 #ifdef __cplusplus
42757 extern "C"
42758 #endif
42759 char $ac_func ();
42760 /* The GNU C library defines this for functions which it implements
42761 to always fail with ENOSYS. Some functions are actually named
42762 something starting with __ and the normal name is an alias. */
42763 #if defined __stub_$ac_func || defined __stub___$ac_func
42764 choke me
42765 #endif
42766
42767 int
42768 main ()
42769 {
42770 return $ac_func ();
42771 ;
42772 return 0;
42773 }
42774 _ACEOF
42775 rm -f conftest.$ac_objext conftest$ac_exeext
42776 if { (ac_try="$ac_link"
42777 case "(($ac_try" in
42778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42779 *) ac_try_echo=$ac_try;;
42780 esac
42781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42782 (eval "$ac_link") 2>conftest.er1
42783 ac_status=$?
42784 grep -v '^ *+' conftest.er1 >conftest.err
42785 rm -f conftest.er1
42786 cat conftest.err >&5
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); } && {
42789 test -z "$ac_c_werror_flag" ||
42790 test ! -s conftest.err
42791 } && test -s conftest$ac_exeext &&
42792 $as_test_x conftest$ac_exeext; then
42793 eval "$as_ac_var=yes"
42794 else
42795 echo "$as_me: failed program was:" >&5
42796 sed 's/^/| /' conftest.$ac_ext >&5
42797
42798 eval "$as_ac_var=no"
42799 fi
42800
42801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42802 conftest$ac_exeext conftest.$ac_ext
42803 fi
42804 ac_res=`eval echo '${'$as_ac_var'}'`
42805 { echo "$as_me:$LINENO: result: $ac_res" >&5
42806 echo "${ECHO_T}$ac_res" >&6; }
42807 if test `eval echo '${'$as_ac_var'}'` = yes; then
42808 cat >>confdefs.h <<_ACEOF
42809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42810 _ACEOF
42811
42812 fi
42813 done
42814
42815
42816 if test "$ac_cv_func_localtime" = "yes"; then
42817 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42818 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42819 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42820 echo $ECHO_N "(cached) $ECHO_C" >&6
42821 else
42822
42823 cat >conftest.$ac_ext <<_ACEOF
42824 /* confdefs.h. */
42825 _ACEOF
42826 cat confdefs.h >>conftest.$ac_ext
42827 cat >>conftest.$ac_ext <<_ACEOF
42828 /* end confdefs.h. */
42829
42830 #include <time.h>
42831
42832 int
42833 main ()
42834 {
42835
42836 struct tm tm;
42837 tm.tm_gmtoff++;
42838
42839 ;
42840 return 0;
42841 }
42842 _ACEOF
42843 rm -f conftest.$ac_objext
42844 if { (ac_try="$ac_compile"
42845 case "(($ac_try" in
42846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42847 *) ac_try_echo=$ac_try;;
42848 esac
42849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42850 (eval "$ac_compile") 2>conftest.er1
42851 ac_status=$?
42852 grep -v '^ *+' conftest.er1 >conftest.err
42853 rm -f conftest.er1
42854 cat conftest.err >&5
42855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42856 (exit $ac_status); } && {
42857 test -z "$ac_c_werror_flag" ||
42858 test ! -s conftest.err
42859 } && test -s conftest.$ac_objext; then
42860
42861 wx_cv_struct_tm_has_gmtoff=yes
42862
42863 else
42864 echo "$as_me: failed program was:" >&5
42865 sed 's/^/| /' conftest.$ac_ext >&5
42866
42867 wx_cv_struct_tm_has_gmtoff=no
42868
42869 fi
42870
42871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42872
42873 fi
42874 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42875 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42876 fi
42877
42878 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42879 cat >>confdefs.h <<\_ACEOF
42880 #define WX_GMTOFF_IN_TM 1
42881 _ACEOF
42882
42883 fi
42884
42885
42886
42887 for ac_func in gettimeofday ftime
42888 do
42889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42892 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42893 echo $ECHO_N "(cached) $ECHO_C" >&6
42894 else
42895 cat >conftest.$ac_ext <<_ACEOF
42896 /* confdefs.h. */
42897 _ACEOF
42898 cat confdefs.h >>conftest.$ac_ext
42899 cat >>conftest.$ac_ext <<_ACEOF
42900 /* end confdefs.h. */
42901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42903 #define $ac_func innocuous_$ac_func
42904
42905 /* System header to define __stub macros and hopefully few prototypes,
42906 which can conflict with char $ac_func (); below.
42907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42908 <limits.h> exists even on freestanding compilers. */
42909
42910 #ifdef __STDC__
42911 # include <limits.h>
42912 #else
42913 # include <assert.h>
42914 #endif
42915
42916 #undef $ac_func
42917
42918 /* Override any GCC internal prototype to avoid an error.
42919 Use char because int might match the return type of a GCC
42920 builtin and then its argument prototype would still apply. */
42921 #ifdef __cplusplus
42922 extern "C"
42923 #endif
42924 char $ac_func ();
42925 /* The GNU C library defines this for functions which it implements
42926 to always fail with ENOSYS. Some functions are actually named
42927 something starting with __ and the normal name is an alias. */
42928 #if defined __stub_$ac_func || defined __stub___$ac_func
42929 choke me
42930 #endif
42931
42932 int
42933 main ()
42934 {
42935 return $ac_func ();
42936 ;
42937 return 0;
42938 }
42939 _ACEOF
42940 rm -f conftest.$ac_objext conftest$ac_exeext
42941 if { (ac_try="$ac_link"
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_link") 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_exeext &&
42957 $as_test_x conftest$ac_exeext; then
42958 eval "$as_ac_var=yes"
42959 else
42960 echo "$as_me: failed program was:" >&5
42961 sed 's/^/| /' conftest.$ac_ext >&5
42962
42963 eval "$as_ac_var=no"
42964 fi
42965
42966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42967 conftest$ac_exeext conftest.$ac_ext
42968 fi
42969 ac_res=`eval echo '${'$as_ac_var'}'`
42970 { echo "$as_me:$LINENO: result: $ac_res" >&5
42971 echo "${ECHO_T}$ac_res" >&6; }
42972 if test `eval echo '${'$as_ac_var'}'` = yes; then
42973 cat >>confdefs.h <<_ACEOF
42974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42975 _ACEOF
42976 break
42977 fi
42978 done
42979
42980
42981 if test "$ac_cv_func_gettimeofday" = "yes"; then
42982 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42983 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42984 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42985 echo $ECHO_N "(cached) $ECHO_C" >&6
42986 else
42987
42988 cat >conftest.$ac_ext <<_ACEOF
42989 /* confdefs.h. */
42990 _ACEOF
42991 cat confdefs.h >>conftest.$ac_ext
42992 cat >>conftest.$ac_ext <<_ACEOF
42993 /* end confdefs.h. */
42994
42995 #include <sys/time.h>
42996 #include <unistd.h>
42997
42998 int
42999 main ()
43000 {
43001
43002 struct timeval tv;
43003 gettimeofday(&tv, NULL);
43004
43005 ;
43006 return 0;
43007 }
43008 _ACEOF
43009 rm -f conftest.$ac_objext
43010 if { (ac_try="$ac_compile"
43011 case "(($ac_try" in
43012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43013 *) ac_try_echo=$ac_try;;
43014 esac
43015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43016 (eval "$ac_compile") 2>conftest.er1
43017 ac_status=$?
43018 grep -v '^ *+' conftest.er1 >conftest.err
43019 rm -f conftest.er1
43020 cat conftest.err >&5
43021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43022 (exit $ac_status); } && {
43023 test -z "$ac_c_werror_flag" ||
43024 test ! -s conftest.err
43025 } && test -s conftest.$ac_objext; then
43026 wx_cv_func_gettimeofday_has_2_args=yes
43027 else
43028 echo "$as_me: failed program was:" >&5
43029 sed 's/^/| /' conftest.$ac_ext >&5
43030
43031 cat >conftest.$ac_ext <<_ACEOF
43032 /* confdefs.h. */
43033 _ACEOF
43034 cat confdefs.h >>conftest.$ac_ext
43035 cat >>conftest.$ac_ext <<_ACEOF
43036 /* end confdefs.h. */
43037
43038 #include <sys/time.h>
43039 #include <unistd.h>
43040
43041 int
43042 main ()
43043 {
43044
43045 struct timeval tv;
43046 gettimeofday(&tv);
43047
43048 ;
43049 return 0;
43050 }
43051 _ACEOF
43052 rm -f conftest.$ac_objext
43053 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
43069 wx_cv_func_gettimeofday_has_2_args=no
43070 else
43071 echo "$as_me: failed program was:" >&5
43072 sed 's/^/| /' conftest.$ac_ext >&5
43073
43074
43075 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43076 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43077 wx_cv_func_gettimeofday_has_2_args=unknown
43078
43079
43080 fi
43081
43082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43083
43084 fi
43085
43086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43087
43088 fi
43089 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43090 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43091
43092 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43093 cat >>confdefs.h <<\_ACEOF
43094 #define WX_GETTIMEOFDAY_NO_TZ 1
43095 _ACEOF
43096
43097 fi
43098 fi
43099
43100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43101 fi
43102
43103
43104 if test "$wxUSE_SOCKETS" = "yes"; then
43105 if test "$wxUSE_MGL" = "1"; then
43106 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43107 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43108 wxUSE_SOCKETS="no"
43109 fi
43110 fi
43111
43112 if test "$wxUSE_SOCKETS" = "yes"; then
43113 if test "$TOOLKIT" != "MSW"; then
43114 { echo "$as_me:$LINENO: checking for socket" >&5
43115 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43116 if test "${ac_cv_func_socket+set}" = set; then
43117 echo $ECHO_N "(cached) $ECHO_C" >&6
43118 else
43119 cat >conftest.$ac_ext <<_ACEOF
43120 /* confdefs.h. */
43121 _ACEOF
43122 cat confdefs.h >>conftest.$ac_ext
43123 cat >>conftest.$ac_ext <<_ACEOF
43124 /* end confdefs.h. */
43125 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43127 #define socket innocuous_socket
43128
43129 /* System header to define __stub macros and hopefully few prototypes,
43130 which can conflict with char socket (); below.
43131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43132 <limits.h> exists even on freestanding compilers. */
43133
43134 #ifdef __STDC__
43135 # include <limits.h>
43136 #else
43137 # include <assert.h>
43138 #endif
43139
43140 #undef socket
43141
43142 /* Override any GCC internal prototype to avoid an error.
43143 Use char because int might match the return type of a GCC
43144 builtin and then its argument prototype would still apply. */
43145 #ifdef __cplusplus
43146 extern "C"
43147 #endif
43148 char socket ();
43149 /* The GNU C library defines this for functions which it implements
43150 to always fail with ENOSYS. Some functions are actually named
43151 something starting with __ and the normal name is an alias. */
43152 #if defined __stub_socket || defined __stub___socket
43153 choke me
43154 #endif
43155
43156 int
43157 main ()
43158 {
43159 return socket ();
43160 ;
43161 return 0;
43162 }
43163 _ACEOF
43164 rm -f conftest.$ac_objext conftest$ac_exeext
43165 if { (ac_try="$ac_link"
43166 case "(($ac_try" in
43167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43168 *) ac_try_echo=$ac_try;;
43169 esac
43170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43171 (eval "$ac_link") 2>conftest.er1
43172 ac_status=$?
43173 grep -v '^ *+' conftest.er1 >conftest.err
43174 rm -f conftest.er1
43175 cat conftest.err >&5
43176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43177 (exit $ac_status); } && {
43178 test -z "$ac_c_werror_flag" ||
43179 test ! -s conftest.err
43180 } && test -s conftest$ac_exeext &&
43181 $as_test_x conftest$ac_exeext; then
43182 ac_cv_func_socket=yes
43183 else
43184 echo "$as_me: failed program was:" >&5
43185 sed 's/^/| /' conftest.$ac_ext >&5
43186
43187 ac_cv_func_socket=no
43188 fi
43189
43190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43191 conftest$ac_exeext conftest.$ac_ext
43192 fi
43193 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43194 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43195 if test $ac_cv_func_socket = yes; then
43196 :
43197 else
43198
43199 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43200 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43201 if test "${ac_cv_lib_socket_socket+set}" = set; then
43202 echo $ECHO_N "(cached) $ECHO_C" >&6
43203 else
43204 ac_check_lib_save_LIBS=$LIBS
43205 LIBS="-lsocket $LIBS"
43206 cat >conftest.$ac_ext <<_ACEOF
43207 /* confdefs.h. */
43208 _ACEOF
43209 cat confdefs.h >>conftest.$ac_ext
43210 cat >>conftest.$ac_ext <<_ACEOF
43211 /* end confdefs.h. */
43212
43213 /* Override any GCC internal prototype to avoid an error.
43214 Use char because int might match the return type of a GCC
43215 builtin and then its argument prototype would still apply. */
43216 #ifdef __cplusplus
43217 extern "C"
43218 #endif
43219 char socket ();
43220 int
43221 main ()
43222 {
43223 return socket ();
43224 ;
43225 return 0;
43226 }
43227 _ACEOF
43228 rm -f conftest.$ac_objext conftest$ac_exeext
43229 if { (ac_try="$ac_link"
43230 case "(($ac_try" in
43231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43232 *) ac_try_echo=$ac_try;;
43233 esac
43234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43235 (eval "$ac_link") 2>conftest.er1
43236 ac_status=$?
43237 grep -v '^ *+' conftest.er1 >conftest.err
43238 rm -f conftest.er1
43239 cat conftest.err >&5
43240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43241 (exit $ac_status); } && {
43242 test -z "$ac_c_werror_flag" ||
43243 test ! -s conftest.err
43244 } && test -s conftest$ac_exeext &&
43245 $as_test_x conftest$ac_exeext; then
43246 ac_cv_lib_socket_socket=yes
43247 else
43248 echo "$as_me: failed program was:" >&5
43249 sed 's/^/| /' conftest.$ac_ext >&5
43250
43251 ac_cv_lib_socket_socket=no
43252 fi
43253
43254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43255 conftest$ac_exeext conftest.$ac_ext
43256 LIBS=$ac_check_lib_save_LIBS
43257 fi
43258 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43259 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43260 if test $ac_cv_lib_socket_socket = yes; then
43261 if test "$INET_LINK" != " -lsocket"; then
43262 INET_LINK="$INET_LINK -lsocket"
43263 fi
43264 else
43265
43266 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43267 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43268 wxUSE_SOCKETS=no
43269
43270
43271 fi
43272
43273
43274
43275 fi
43276
43277 fi
43278 fi
43279
43280 if test "$wxUSE_SOCKETS" = "yes" ; then
43281 if test "$TOOLKIT" != "MSW"; then
43282 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43283 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43284 if test "${wx_cv_type_getsockname3+set}" = set; then
43285 echo $ECHO_N "(cached) $ECHO_C" >&6
43286 else
43287
43288 ac_ext=cpp
43289 ac_cpp='$CXXCPP $CPPFLAGS'
43290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43293
43294 cat >conftest.$ac_ext <<_ACEOF
43295 /* confdefs.h. */
43296 _ACEOF
43297 cat confdefs.h >>conftest.$ac_ext
43298 cat >>conftest.$ac_ext <<_ACEOF
43299 /* end confdefs.h. */
43300
43301 #include <sys/types.h>
43302 #include <sys/socket.h>
43303
43304 int
43305 main ()
43306 {
43307
43308 socklen_t len;
43309 getsockname(0, 0, &len);
43310
43311 ;
43312 return 0;
43313 }
43314 _ACEOF
43315 rm -f conftest.$ac_objext
43316 if { (ac_try="$ac_compile"
43317 case "(($ac_try" in
43318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43319 *) ac_try_echo=$ac_try;;
43320 esac
43321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43322 (eval "$ac_compile") 2>conftest.er1
43323 ac_status=$?
43324 grep -v '^ *+' conftest.er1 >conftest.err
43325 rm -f conftest.er1
43326 cat conftest.err >&5
43327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43328 (exit $ac_status); } && {
43329 test -z "$ac_cxx_werror_flag" ||
43330 test ! -s conftest.err
43331 } && test -s conftest.$ac_objext; then
43332 wx_cv_type_getsockname3=socklen_t
43333 else
43334 echo "$as_me: failed program was:" >&5
43335 sed 's/^/| /' conftest.$ac_ext >&5
43336
43337
43338 CFLAGS_OLD="$CFLAGS"
43339 if test "$GCC" = yes ; then
43340 CFLAGS="-Werror $CFLAGS"
43341 fi
43342
43343 cat >conftest.$ac_ext <<_ACEOF
43344 /* confdefs.h. */
43345 _ACEOF
43346 cat confdefs.h >>conftest.$ac_ext
43347 cat >>conftest.$ac_ext <<_ACEOF
43348 /* end confdefs.h. */
43349
43350 #include <sys/types.h>
43351 #include <sys/socket.h>
43352
43353 int
43354 main ()
43355 {
43356
43357 size_t len;
43358 getsockname(0, 0, &len);
43359
43360 ;
43361 return 0;
43362 }
43363 _ACEOF
43364 rm -f conftest.$ac_objext
43365 if { (ac_try="$ac_compile"
43366 case "(($ac_try" in
43367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43368 *) ac_try_echo=$ac_try;;
43369 esac
43370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43371 (eval "$ac_compile") 2>conftest.er1
43372 ac_status=$?
43373 grep -v '^ *+' conftest.er1 >conftest.err
43374 rm -f conftest.er1
43375 cat conftest.err >&5
43376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43377 (exit $ac_status); } && {
43378 test -z "$ac_cxx_werror_flag" ||
43379 test ! -s conftest.err
43380 } && test -s conftest.$ac_objext; then
43381 wx_cv_type_getsockname3=size_t
43382 else
43383 echo "$as_me: failed program was:" >&5
43384 sed 's/^/| /' conftest.$ac_ext >&5
43385
43386 cat >conftest.$ac_ext <<_ACEOF
43387 /* confdefs.h. */
43388 _ACEOF
43389 cat confdefs.h >>conftest.$ac_ext
43390 cat >>conftest.$ac_ext <<_ACEOF
43391 /* end confdefs.h. */
43392
43393 #include <sys/types.h>
43394 #include <sys/socket.h>
43395
43396 int
43397 main ()
43398 {
43399
43400 int len;
43401 getsockname(0, 0, &len);
43402
43403 ;
43404 return 0;
43405 }
43406 _ACEOF
43407 rm -f conftest.$ac_objext
43408 if { (ac_try="$ac_compile"
43409 case "(($ac_try" in
43410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43411 *) ac_try_echo=$ac_try;;
43412 esac
43413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43414 (eval "$ac_compile") 2>conftest.er1
43415 ac_status=$?
43416 grep -v '^ *+' conftest.er1 >conftest.err
43417 rm -f conftest.er1
43418 cat conftest.err >&5
43419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43420 (exit $ac_status); } && {
43421 test -z "$ac_cxx_werror_flag" ||
43422 test ! -s conftest.err
43423 } && test -s conftest.$ac_objext; then
43424 wx_cv_type_getsockname3=int
43425 else
43426 echo "$as_me: failed program was:" >&5
43427 sed 's/^/| /' conftest.$ac_ext >&5
43428
43429 wx_cv_type_getsockname3=unknown
43430
43431 fi
43432
43433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43434
43435 fi
43436
43437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43438
43439 CFLAGS="$CFLAGS_OLD"
43440
43441
43442 fi
43443
43444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43445 ac_ext=c
43446 ac_cpp='$CPP $CPPFLAGS'
43447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43450
43451
43452 fi
43453 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43454 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43455
43456 if test "$wx_cv_type_getsockname3" = "unknown"; then
43457 wxUSE_SOCKETS=no
43458 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43459 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43460 else
43461 cat >>confdefs.h <<_ACEOF
43462 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43463 _ACEOF
43464
43465 fi
43466 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43467 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43468 if test "${wx_cv_type_getsockopt5+set}" = set; then
43469 echo $ECHO_N "(cached) $ECHO_C" >&6
43470 else
43471
43472 ac_ext=cpp
43473 ac_cpp='$CXXCPP $CPPFLAGS'
43474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43477
43478 cat >conftest.$ac_ext <<_ACEOF
43479 /* confdefs.h. */
43480 _ACEOF
43481 cat confdefs.h >>conftest.$ac_ext
43482 cat >>conftest.$ac_ext <<_ACEOF
43483 /* end confdefs.h. */
43484
43485 #include <sys/types.h>
43486 #include <sys/socket.h>
43487
43488 int
43489 main ()
43490 {
43491
43492 socklen_t len;
43493 getsockopt(0, 0, 0, 0, &len);
43494
43495 ;
43496 return 0;
43497 }
43498 _ACEOF
43499 rm -f conftest.$ac_objext
43500 if { (ac_try="$ac_compile"
43501 case "(($ac_try" in
43502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43503 *) ac_try_echo=$ac_try;;
43504 esac
43505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43506 (eval "$ac_compile") 2>conftest.er1
43507 ac_status=$?
43508 grep -v '^ *+' conftest.er1 >conftest.err
43509 rm -f conftest.er1
43510 cat conftest.err >&5
43511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43512 (exit $ac_status); } && {
43513 test -z "$ac_cxx_werror_flag" ||
43514 test ! -s conftest.err
43515 } && test -s conftest.$ac_objext; then
43516 wx_cv_type_getsockopt5=socklen_t
43517 else
43518 echo "$as_me: failed program was:" >&5
43519 sed 's/^/| /' conftest.$ac_ext >&5
43520
43521
43522 cat >conftest.$ac_ext <<_ACEOF
43523 /* confdefs.h. */
43524 _ACEOF
43525 cat confdefs.h >>conftest.$ac_ext
43526 cat >>conftest.$ac_ext <<_ACEOF
43527 /* end confdefs.h. */
43528
43529 #include <sys/types.h>
43530 #include <sys/socket.h>
43531
43532 int
43533 main ()
43534 {
43535
43536 size_t len;
43537 getsockopt(0, 0, 0, 0, &len);
43538
43539 ;
43540 return 0;
43541 }
43542 _ACEOF
43543 rm -f conftest.$ac_objext
43544 if { (ac_try="$ac_compile"
43545 case "(($ac_try" in
43546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43547 *) ac_try_echo=$ac_try;;
43548 esac
43549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43550 (eval "$ac_compile") 2>conftest.er1
43551 ac_status=$?
43552 grep -v '^ *+' conftest.er1 >conftest.err
43553 rm -f conftest.er1
43554 cat conftest.err >&5
43555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43556 (exit $ac_status); } && {
43557 test -z "$ac_cxx_werror_flag" ||
43558 test ! -s conftest.err
43559 } && test -s conftest.$ac_objext; then
43560 wx_cv_type_getsockopt5=size_t
43561 else
43562 echo "$as_me: failed program was:" >&5
43563 sed 's/^/| /' conftest.$ac_ext >&5
43564
43565 cat >conftest.$ac_ext <<_ACEOF
43566 /* confdefs.h. */
43567 _ACEOF
43568 cat confdefs.h >>conftest.$ac_ext
43569 cat >>conftest.$ac_ext <<_ACEOF
43570 /* end confdefs.h. */
43571
43572 #include <sys/types.h>
43573 #include <sys/socket.h>
43574
43575 int
43576 main ()
43577 {
43578
43579 int len;
43580 getsockopt(0, 0, 0, 0, &len);
43581
43582 ;
43583 return 0;
43584 }
43585 _ACEOF
43586 rm -f conftest.$ac_objext
43587 if { (ac_try="$ac_compile"
43588 case "(($ac_try" in
43589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43590 *) ac_try_echo=$ac_try;;
43591 esac
43592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43593 (eval "$ac_compile") 2>conftest.er1
43594 ac_status=$?
43595 grep -v '^ *+' conftest.er1 >conftest.err
43596 rm -f conftest.er1
43597 cat conftest.err >&5
43598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43599 (exit $ac_status); } && {
43600 test -z "$ac_cxx_werror_flag" ||
43601 test ! -s conftest.err
43602 } && test -s conftest.$ac_objext; then
43603 wx_cv_type_getsockopt5=int
43604 else
43605 echo "$as_me: failed program was:" >&5
43606 sed 's/^/| /' conftest.$ac_ext >&5
43607
43608 wx_cv_type_getsockopt5=unknown
43609
43610 fi
43611
43612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43613
43614 fi
43615
43616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43617
43618
43619 fi
43620
43621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43622 ac_ext=c
43623 ac_cpp='$CPP $CPPFLAGS'
43624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43627
43628
43629 fi
43630 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43631 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43632
43633 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43634 wxUSE_SOCKETS=no
43635 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43636 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43637 else
43638 cat >>confdefs.h <<_ACEOF
43639 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43640 _ACEOF
43641
43642 fi
43643 fi
43644 fi
43645
43646 if test "$wxUSE_SOCKETS" = "yes" ; then
43647 cat >>confdefs.h <<\_ACEOF
43648 #define wxUSE_SOCKETS 1
43649 _ACEOF
43650
43651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43652 fi
43653
43654 if test "$wxUSE_PROTOCOL" = "yes"; then
43655 if test "$wxUSE_SOCKETS" != "yes"; then
43656 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43657 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43658 wxUSE_PROTOCOL=no
43659 fi
43660 fi
43661
43662 if test "$wxUSE_PROTOCOL" = "yes"; then
43663 cat >>confdefs.h <<\_ACEOF
43664 #define wxUSE_PROTOCOL 1
43665 _ACEOF
43666
43667
43668 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43669 cat >>confdefs.h <<\_ACEOF
43670 #define wxUSE_PROTOCOL_HTTP 1
43671 _ACEOF
43672
43673 fi
43674 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43675 cat >>confdefs.h <<\_ACEOF
43676 #define wxUSE_PROTOCOL_FTP 1
43677 _ACEOF
43678
43679 fi
43680 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43681 cat >>confdefs.h <<\_ACEOF
43682 #define wxUSE_PROTOCOL_FILE 1
43683 _ACEOF
43684
43685 fi
43686 else
43687 if test "$wxUSE_FS_INET" = "yes"; then
43688 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43689 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43690 wxUSE_FS_INET="no"
43691 fi
43692 fi
43693
43694 if test "$wxUSE_URL" = "yes"; then
43695 if test "$wxUSE_PROTOCOL" != "yes"; then
43696 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43697 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43698 wxUSE_URL=no
43699 fi
43700 if test "$wxUSE_URL" = "yes"; then
43701 cat >>confdefs.h <<\_ACEOF
43702 #define wxUSE_URL 1
43703 _ACEOF
43704
43705 fi
43706 fi
43707
43708 if test "$wxUSE_VARIANT" = "yes"; then
43709 cat >>confdefs.h <<\_ACEOF
43710 #define wxUSE_VARIANT 1
43711 _ACEOF
43712
43713 fi
43714
43715 if test "$wxUSE_FS_INET" = "yes"; then
43716 cat >>confdefs.h <<\_ACEOF
43717 #define wxUSE_FS_INET 1
43718 _ACEOF
43719
43720 fi
43721
43722
43723 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43724 wxUSE_JOYSTICK=no
43725
43726 if test "$TOOLKIT" = "MSW"; then
43727 wxUSE_JOYSTICK=yes
43728
43729 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43730 if test "$USE_DARWIN" = 1; then
43731 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43732 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43733 ac_ext=cpp
43734 ac_cpp='$CXXCPP $CPPFLAGS'
43735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43738
43739 cat >conftest.$ac_ext <<_ACEOF
43740 /* confdefs.h. */
43741 _ACEOF
43742 cat confdefs.h >>conftest.$ac_ext
43743 cat >>conftest.$ac_ext <<_ACEOF
43744 /* end confdefs.h. */
43745 #include <IOKit/hid/IOHIDLib.h>
43746 int
43747 main ()
43748 {
43749 IOHIDQueueInterface *qi = NULL;
43750 IOHIDCallbackFunction cb = NULL;
43751 qi->setEventCallout(NULL, cb, NULL, NULL);
43752 ;
43753 return 0;
43754 }
43755 _ACEOF
43756 rm -f conftest.$ac_objext
43757 if { (ac_try="$ac_compile"
43758 case "(($ac_try" in
43759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43760 *) ac_try_echo=$ac_try;;
43761 esac
43762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43763 (eval "$ac_compile") 2>conftest.er1
43764 ac_status=$?
43765 grep -v '^ *+' conftest.er1 >conftest.err
43766 rm -f conftest.er1
43767 cat conftest.err >&5
43768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43769 (exit $ac_status); } && {
43770 test -z "$ac_cxx_werror_flag" ||
43771 test ! -s conftest.err
43772 } && test -s conftest.$ac_objext; then
43773 wxUSE_JOYSTICK=yes
43774
43775 else
43776 echo "$as_me: failed program was:" >&5
43777 sed 's/^/| /' conftest.$ac_ext >&5
43778
43779
43780 fi
43781
43782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43783 ac_ext=c
43784 ac_cpp='$CPP $CPPFLAGS'
43785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43788
43789 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43790 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43791 fi
43792
43793 else
43794 if test "$wxUSE_MGL" != "1"; then
43795 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43796 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43797 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43798 echo $ECHO_N "(cached) $ECHO_C" >&6
43799 else
43800 cat >conftest.$ac_ext <<_ACEOF
43801 /* confdefs.h. */
43802 _ACEOF
43803 cat confdefs.h >>conftest.$ac_ext
43804 cat >>conftest.$ac_ext <<_ACEOF
43805 /* end confdefs.h. */
43806 $ac_includes_default
43807
43808 #include <linux/joystick.h>
43809 _ACEOF
43810 rm -f conftest.$ac_objext
43811 if { (ac_try="$ac_compile"
43812 case "(($ac_try" in
43813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43814 *) ac_try_echo=$ac_try;;
43815 esac
43816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43817 (eval "$ac_compile") 2>conftest.er1
43818 ac_status=$?
43819 grep -v '^ *+' conftest.er1 >conftest.err
43820 rm -f conftest.er1
43821 cat conftest.err >&5
43822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43823 (exit $ac_status); } && {
43824 test -z "$ac_c_werror_flag" ||
43825 test ! -s conftest.err
43826 } && test -s conftest.$ac_objext; then
43827 ac_cv_header_linux_joystick_h=yes
43828 else
43829 echo "$as_me: failed program was:" >&5
43830 sed 's/^/| /' conftest.$ac_ext >&5
43831
43832 ac_cv_header_linux_joystick_h=no
43833 fi
43834
43835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43836 fi
43837 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43838 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43839 if test $ac_cv_header_linux_joystick_h = yes; then
43840 wxUSE_JOYSTICK=yes
43841 fi
43842
43843
43844 fi
43845 fi
43846
43847 if test "$wxUSE_JOYSTICK" = "yes"; then
43848 cat >>confdefs.h <<\_ACEOF
43849 #define wxUSE_JOYSTICK 1
43850 _ACEOF
43851
43852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43853 else
43854 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43855 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43856 fi
43857 fi
43858
43859
43860
43861 if test "$wxUSE_FONTMAP" = "yes" ; then
43862 cat >>confdefs.h <<\_ACEOF
43863 #define wxUSE_FONTMAP 1
43864 _ACEOF
43865
43866 fi
43867
43868 if test "$wxUSE_UNICODE" = "yes" ; then
43869 cat >>confdefs.h <<\_ACEOF
43870 #define wxUSE_UNICODE 1
43871 _ACEOF
43872
43873
43874 if test "$USE_WIN32" != 1; then
43875 wxUSE_UNICODE_MSLU=no
43876 fi
43877
43878 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43879 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43880 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43881 if test "${ac_cv_lib_unicows_main+set}" = set; then
43882 echo $ECHO_N "(cached) $ECHO_C" >&6
43883 else
43884 ac_check_lib_save_LIBS=$LIBS
43885 LIBS="-lunicows $LIBS"
43886 cat >conftest.$ac_ext <<_ACEOF
43887 /* confdefs.h. */
43888 _ACEOF
43889 cat confdefs.h >>conftest.$ac_ext
43890 cat >>conftest.$ac_ext <<_ACEOF
43891 /* end confdefs.h. */
43892
43893
43894 int
43895 main ()
43896 {
43897 return main ();
43898 ;
43899 return 0;
43900 }
43901 _ACEOF
43902 rm -f conftest.$ac_objext conftest$ac_exeext
43903 if { (ac_try="$ac_link"
43904 case "(($ac_try" in
43905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43906 *) ac_try_echo=$ac_try;;
43907 esac
43908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43909 (eval "$ac_link") 2>conftest.er1
43910 ac_status=$?
43911 grep -v '^ *+' conftest.er1 >conftest.err
43912 rm -f conftest.er1
43913 cat conftest.err >&5
43914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43915 (exit $ac_status); } && {
43916 test -z "$ac_c_werror_flag" ||
43917 test ! -s conftest.err
43918 } && test -s conftest$ac_exeext &&
43919 $as_test_x conftest$ac_exeext; then
43920 ac_cv_lib_unicows_main=yes
43921 else
43922 echo "$as_me: failed program was:" >&5
43923 sed 's/^/| /' conftest.$ac_ext >&5
43924
43925 ac_cv_lib_unicows_main=no
43926 fi
43927
43928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43929 conftest$ac_exeext conftest.$ac_ext
43930 LIBS=$ac_check_lib_save_LIBS
43931 fi
43932 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43933 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43934 if test $ac_cv_lib_unicows_main = yes; then
43935
43936 cat >>confdefs.h <<\_ACEOF
43937 #define wxUSE_UNICODE_MSLU 1
43938 _ACEOF
43939
43940
43941 else
43942
43943 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43944 Applications will only run on Windows NT/2000/XP!" >&5
43945 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43946 Applications will only run on Windows NT/2000/XP!" >&2;}
43947 wxUSE_UNICODE_MSLU=no
43948
43949 fi
43950
43951 fi
43952 fi
43953
43954 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43955 cat >>confdefs.h <<\_ACEOF
43956 #define wxUSE_UNICODE_UTF8 1
43957 _ACEOF
43958
43959
43960 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43961 cat >>confdefs.h <<\_ACEOF
43962 #define wxUSE_UTF8_LOCALE_ONLY 1
43963 _ACEOF
43964
43965 fi
43966 fi
43967
43968 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43969 cat >>confdefs.h <<\_ACEOF
43970 #define wxUSE_EXPERIMENTAL_PRINTF 1
43971 _ACEOF
43972
43973 fi
43974
43975
43976 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43977 cat >>confdefs.h <<\_ACEOF
43978 #define wxUSE_POSTSCRIPT 1
43979 _ACEOF
43980
43981 fi
43982
43983 cat >>confdefs.h <<\_ACEOF
43984 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43985 _ACEOF
43986
43987
43988 cat >>confdefs.h <<\_ACEOF
43989 #define wxUSE_NORMALIZED_PS_FONTS 1
43990 _ACEOF
43991
43992
43993
43994 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43995 cat >>confdefs.h <<\_ACEOF
43996 #define wxUSE_CONSTRAINTS 1
43997 _ACEOF
43998
43999 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44000 fi
44001
44002 if test "$wxUSE_MDI" = "yes"; then
44003 cat >>confdefs.h <<\_ACEOF
44004 #define wxUSE_MDI 1
44005 _ACEOF
44006
44007
44008 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44009 cat >>confdefs.h <<\_ACEOF
44010 #define wxUSE_MDI_ARCHITECTURE 1
44011 _ACEOF
44012
44013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44014 fi
44015 fi
44016
44017 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44018 cat >>confdefs.h <<\_ACEOF
44019 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44020 _ACEOF
44021
44022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44023 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44025 fi
44026 fi
44027
44028 if test "$wxUSE_HELP" = "yes"; then
44029 cat >>confdefs.h <<\_ACEOF
44030 #define wxUSE_HELP 1
44031 _ACEOF
44032
44033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44034
44035 if test "$wxUSE_MSW" = 1; then
44036 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44037 cat >>confdefs.h <<\_ACEOF
44038 #define wxUSE_MS_HTML_HELP 1
44039 _ACEOF
44040
44041 fi
44042 fi
44043
44044 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44045 if test "$wxUSE_HTML" = "yes"; then
44046 cat >>confdefs.h <<\_ACEOF
44047 #define wxUSE_WXHTML_HELP 1
44048 _ACEOF
44049
44050 else
44051 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44052 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44053 wxUSE_WXHTML_HELP=no
44054 fi
44055 fi
44056 fi
44057
44058 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44059 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44060 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44061 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44062 else
44063 cat >>confdefs.h <<\_ACEOF
44064 #define wxUSE_PRINTING_ARCHITECTURE 1
44065 _ACEOF
44066
44067 fi
44068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44069 fi
44070
44071
44072
44073 if test "$wxUSE_METAFILE" = "yes"; then
44074 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44075 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44076 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44077 wxUSE_METAFILE=no
44078 fi
44079 fi
44080
44081
44082 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44083 -o "$wxUSE_CLIPBOARD" = "yes" \
44084 -o "$wxUSE_OLE" = "yes" \
44085 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44086 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44087 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44088 if test "${ac_cv_header_ole2_h+set}" = set; then
44089 echo $ECHO_N "(cached) $ECHO_C" >&6
44090 else
44091 cat >conftest.$ac_ext <<_ACEOF
44092 /* confdefs.h. */
44093 _ACEOF
44094 cat confdefs.h >>conftest.$ac_ext
44095 cat >>conftest.$ac_ext <<_ACEOF
44096 /* end confdefs.h. */
44097
44098
44099 #include <ole2.h>
44100 _ACEOF
44101 rm -f conftest.$ac_objext
44102 if { (ac_try="$ac_compile"
44103 case "(($ac_try" in
44104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44105 *) ac_try_echo=$ac_try;;
44106 esac
44107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44108 (eval "$ac_compile") 2>conftest.er1
44109 ac_status=$?
44110 grep -v '^ *+' conftest.er1 >conftest.err
44111 rm -f conftest.er1
44112 cat conftest.err >&5
44113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44114 (exit $ac_status); } && {
44115 test -z "$ac_c_werror_flag" ||
44116 test ! -s conftest.err
44117 } && test -s conftest.$ac_objext; then
44118 ac_cv_header_ole2_h=yes
44119 else
44120 echo "$as_me: failed program was:" >&5
44121 sed 's/^/| /' conftest.$ac_ext >&5
44122
44123 ac_cv_header_ole2_h=no
44124 fi
44125
44126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44127 fi
44128 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44129 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44130
44131
44132
44133 if test "$ac_cv_header_ole2_h" = "yes" ; then
44134 if test "$GCC" = yes ; then
44135 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44136 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44137 cat >conftest.$ac_ext <<_ACEOF
44138 /* confdefs.h. */
44139 _ACEOF
44140 cat confdefs.h >>conftest.$ac_ext
44141 cat >>conftest.$ac_ext <<_ACEOF
44142 /* end confdefs.h. */
44143 #include <windows.h>
44144 #include <ole2.h>
44145 int
44146 main ()
44147 {
44148
44149 ;
44150 return 0;
44151 }
44152 _ACEOF
44153 rm -f conftest.$ac_objext
44154 if { (ac_try="$ac_compile"
44155 case "(($ac_try" in
44156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44157 *) ac_try_echo=$ac_try;;
44158 esac
44159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44160 (eval "$ac_compile") 2>conftest.er1
44161 ac_status=$?
44162 grep -v '^ *+' conftest.er1 >conftest.err
44163 rm -f conftest.er1
44164 cat conftest.err >&5
44165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44166 (exit $ac_status); } && {
44167 test -z "$ac_c_werror_flag" ||
44168 test ! -s conftest.err
44169 } && test -s conftest.$ac_objext; then
44170 { echo "$as_me:$LINENO: result: no" >&5
44171 echo "${ECHO_T}no" >&6; }
44172 else
44173 echo "$as_me: failed program was:" >&5
44174 sed 's/^/| /' conftest.$ac_ext >&5
44175
44176 { echo "$as_me:$LINENO: result: yes" >&5
44177 echo "${ECHO_T}yes" >&6; }
44178 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44179 fi
44180
44181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44182 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44183 if test "$wxUSE_OLE" = "yes" ; then
44184 cat >>confdefs.h <<\_ACEOF
44185 #define wxUSE_OLE 1
44186 _ACEOF
44187
44188 cat >>confdefs.h <<\_ACEOF
44189 #define wxUSE_OLE_AUTOMATION 1
44190 _ACEOF
44191
44192 cat >>confdefs.h <<\_ACEOF
44193 #define wxUSE_ACTIVEX 1
44194 _ACEOF
44195
44196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44197 fi
44198 fi
44199
44200 if test "$wxUSE_DATAOBJ" = "yes" ; then
44201 cat >>confdefs.h <<\_ACEOF
44202 #define wxUSE_DATAOBJ 1
44203 _ACEOF
44204
44205 fi
44206 else
44207 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44208 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44209
44210 wxUSE_CLIPBOARD=no
44211 wxUSE_DRAG_AND_DROP=no
44212 wxUSE_DATAOBJ=no
44213 wxUSE_OLE=no
44214 fi
44215
44216 if test "$wxUSE_METAFILE" = "yes"; then
44217 cat >>confdefs.h <<\_ACEOF
44218 #define wxUSE_METAFILE 1
44219 _ACEOF
44220
44221
44222 cat >>confdefs.h <<\_ACEOF
44223 #define wxUSE_ENH_METAFILE 1
44224 _ACEOF
44225
44226 fi
44227 fi
44228
44229 if test "$wxUSE_IPC" = "yes"; then
44230 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44231 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44232 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44233 wxUSE_IPC=no
44234 fi
44235
44236 if test "$wxUSE_IPC" = "yes"; then
44237 cat >>confdefs.h <<\_ACEOF
44238 #define wxUSE_IPC 1
44239 _ACEOF
44240
44241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44242 fi
44243 fi
44244
44245 if test "$wxUSE_DATAOBJ" = "yes"; then
44246 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44247 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44248 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44249 wxUSE_DATAOBJ=no
44250 else
44251 cat >>confdefs.h <<\_ACEOF
44252 #define wxUSE_DATAOBJ 1
44253 _ACEOF
44254
44255 fi
44256 else
44257 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44258 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44259 wxUSE_CLIPBOARD=no
44260 wxUSE_DRAG_AND_DROP=no
44261 fi
44262
44263 if test "$wxUSE_CLIPBOARD" = "yes"; then
44264 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44265 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44266 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44267 wxUSE_CLIPBOARD=no
44268 fi
44269
44270 if test "$wxUSE_CLIPBOARD" = "yes"; then
44271 cat >>confdefs.h <<\_ACEOF
44272 #define wxUSE_CLIPBOARD 1
44273 _ACEOF
44274
44275 fi
44276 fi
44277
44278 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44279 if test "$wxUSE_GTK" = 1; then
44280 if test "$WXGTK12" != 1; then
44281 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44282 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44283 wxUSE_DRAG_AND_DROP=no
44284 fi
44285 fi
44286
44287 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44288 "$wxUSE_DFB" = 1; then
44289 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44290 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44291 wxUSE_DRAG_AND_DROP=no
44292 fi
44293
44294 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44295 cat >>confdefs.h <<\_ACEOF
44296 #define wxUSE_DRAG_AND_DROP 1
44297 _ACEOF
44298
44299 fi
44300
44301 fi
44302
44303 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44305 fi
44306
44307 if test "$wxUSE_SPLINES" = "yes" ; then
44308 cat >>confdefs.h <<\_ACEOF
44309 #define wxUSE_SPLINES 1
44310 _ACEOF
44311
44312 fi
44313
44314 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44315 cat >>confdefs.h <<\_ACEOF
44316 #define wxUSE_MOUSEWHEEL 1
44317 _ACEOF
44318
44319 fi
44320
44321
44322 USES_CONTROLS=0
44323 if test "$wxUSE_CONTROLS" = "yes"; then
44324 USES_CONTROLS=1
44325 fi
44326
44327 if test "$wxUSE_ACCEL" = "yes"; then
44328 cat >>confdefs.h <<\_ACEOF
44329 #define wxUSE_ACCEL 1
44330 _ACEOF
44331
44332 USES_CONTROLS=1
44333 fi
44334
44335 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44336 cat >>confdefs.h <<\_ACEOF
44337 #define wxUSE_ANIMATIONCTRL 1
44338 _ACEOF
44339
44340 USES_CONTROLS=1
44341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44342 fi
44343
44344 if test "$wxUSE_BUTTON" = "yes"; then
44345 cat >>confdefs.h <<\_ACEOF
44346 #define wxUSE_BUTTON 1
44347 _ACEOF
44348
44349 USES_CONTROLS=1
44350 fi
44351
44352 if test "$wxUSE_BMPBUTTON" = "yes"; then
44353 cat >>confdefs.h <<\_ACEOF
44354 #define wxUSE_BMPBUTTON 1
44355 _ACEOF
44356
44357 USES_CONTROLS=1
44358 fi
44359
44360 if test "$wxUSE_CALCTRL" = "yes"; then
44361 cat >>confdefs.h <<\_ACEOF
44362 #define wxUSE_CALENDARCTRL 1
44363 _ACEOF
44364
44365 USES_CONTROLS=1
44366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44367 fi
44368
44369 if test "$wxUSE_CARET" = "yes"; then
44370 cat >>confdefs.h <<\_ACEOF
44371 #define wxUSE_CARET 1
44372 _ACEOF
44373
44374 USES_CONTROLS=1
44375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44376 fi
44377
44378 if test "$wxUSE_COLLPANE" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_COLLPANE 1
44381 _ACEOF
44382
44383 USES_CONTROLS=1
44384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44385 fi
44386
44387 if test "$wxUSE_COMBOBOX" = "yes"; then
44388 cat >>confdefs.h <<\_ACEOF
44389 #define wxUSE_COMBOBOX 1
44390 _ACEOF
44391
44392 USES_CONTROLS=1
44393 fi
44394
44395 if test "$wxUSE_COMBOCTRL" = "yes"; then
44396 cat >>confdefs.h <<\_ACEOF
44397 #define wxUSE_COMBOCTRL 1
44398 _ACEOF
44399
44400 USES_CONTROLS=1
44401 fi
44402
44403 if test "$wxUSE_CHOICE" = "yes"; then
44404 cat >>confdefs.h <<\_ACEOF
44405 #define wxUSE_CHOICE 1
44406 _ACEOF
44407
44408 USES_CONTROLS=1
44409 fi
44410
44411 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44412 cat >>confdefs.h <<\_ACEOF
44413 #define wxUSE_CHOICEBOOK 1
44414 _ACEOF
44415
44416 USES_CONTROLS=1
44417 fi
44418
44419 if test "$wxUSE_CHECKBOX" = "yes"; then
44420 cat >>confdefs.h <<\_ACEOF
44421 #define wxUSE_CHECKBOX 1
44422 _ACEOF
44423
44424 USES_CONTROLS=1
44425 fi
44426
44427 if test "$wxUSE_CHECKLST" = "yes"; then
44428 cat >>confdefs.h <<\_ACEOF
44429 #define wxUSE_CHECKLISTBOX 1
44430 _ACEOF
44431
44432 USES_CONTROLS=1
44433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44434 fi
44435
44436 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44437 cat >>confdefs.h <<\_ACEOF
44438 #define wxUSE_COLOURPICKERCTRL 1
44439 _ACEOF
44440
44441 USES_CONTROLS=1
44442 fi
44443
44444 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44445 cat >>confdefs.h <<\_ACEOF
44446 #define wxUSE_DATEPICKCTRL 1
44447 _ACEOF
44448
44449 USES_CONTROLS=1
44450 fi
44451
44452 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44453 cat >>confdefs.h <<\_ACEOF
44454 #define wxUSE_DIRPICKERCTRL 1
44455 _ACEOF
44456
44457 USES_CONTROLS=1
44458 fi
44459
44460 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44461 cat >>confdefs.h <<\_ACEOF
44462 #define wxUSE_FILEPICKERCTRL 1
44463 _ACEOF
44464
44465 USES_CONTROLS=1
44466 fi
44467
44468 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44469 cat >>confdefs.h <<\_ACEOF
44470 #define wxUSE_FONTPICKERCTRL 1
44471 _ACEOF
44472
44473 USES_CONTROLS=1
44474 fi
44475
44476 if test "$wxUSE_DISPLAY" = "yes"; then
44477 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44478 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44479 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44480 wxUSE_DISPLAY=no
44481 else
44482 cat >>confdefs.h <<\_ACEOF
44483 #define wxUSE_DISPLAY 1
44484 _ACEOF
44485
44486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44487 fi
44488 fi
44489
44490 if test "$wxUSE_DETECT_SM" = "yes"; then
44491 cat >>confdefs.h <<\_ACEOF
44492 #define wxUSE_DETECT_SM 1
44493 _ACEOF
44494
44495 fi
44496
44497 if test "$wxUSE_GAUGE" = "yes"; then
44498 cat >>confdefs.h <<\_ACEOF
44499 #define wxUSE_GAUGE 1
44500 _ACEOF
44501
44502 USES_CONTROLS=1
44503 fi
44504
44505 if test "$wxUSE_GRID" = "yes"; then
44506 cat >>confdefs.h <<\_ACEOF
44507 #define wxUSE_GRID 1
44508 _ACEOF
44509
44510 USES_CONTROLS=1
44511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44512 fi
44513
44514 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44515 cat >>confdefs.h <<\_ACEOF
44516 #define wxUSE_HYPERLINKCTRL 1
44517 _ACEOF
44518
44519 USES_CONTROLS=1
44520 fi
44521
44522 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44523 cat >>confdefs.h <<\_ACEOF
44524 #define wxUSE_BITMAPCOMBOBOX 1
44525 _ACEOF
44526
44527 USES_CONTROLS=1
44528 fi
44529
44530 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44531 cat >>confdefs.h <<\_ACEOF
44532 #define wxUSE_DATAVIEWCTRL 1
44533 _ACEOF
44534
44535 USES_CONTROLS=1
44536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44537 fi
44538
44539 if test "$wxUSE_IMAGLIST" = "yes"; then
44540 cat >>confdefs.h <<\_ACEOF
44541 #define wxUSE_IMAGLIST 1
44542 _ACEOF
44543
44544 fi
44545
44546 if test "$wxUSE_LISTBOOK" = "yes"; then
44547 cat >>confdefs.h <<\_ACEOF
44548 #define wxUSE_LISTBOOK 1
44549 _ACEOF
44550
44551 USES_CONTROLS=1
44552 fi
44553
44554 if test "$wxUSE_LISTBOX" = "yes"; then
44555 cat >>confdefs.h <<\_ACEOF
44556 #define wxUSE_LISTBOX 1
44557 _ACEOF
44558
44559 USES_CONTROLS=1
44560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44561 fi
44562
44563 if test "$wxUSE_LISTCTRL" = "yes"; then
44564 if test "$wxUSE_IMAGLIST" = "yes"; then
44565 cat >>confdefs.h <<\_ACEOF
44566 #define wxUSE_LISTCTRL 1
44567 _ACEOF
44568
44569 USES_CONTROLS=1
44570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44571 else
44572 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44573 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44574 fi
44575 fi
44576
44577 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44578 cat >>confdefs.h <<\_ACEOF
44579 #define wxUSE_EDITABLELISTBOX 1
44580 _ACEOF
44581
44582 USES_CONTROLS=1
44583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44584 fi
44585
44586 if test "$wxUSE_NOTEBOOK" = "yes"; then
44587 cat >>confdefs.h <<\_ACEOF
44588 #define wxUSE_NOTEBOOK 1
44589 _ACEOF
44590
44591 USES_CONTROLS=1
44592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44593 fi
44594
44595 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44596 cat >>confdefs.h <<\_ACEOF
44597 #define wxUSE_ODCOMBOBOX 1
44598 _ACEOF
44599
44600 USES_CONTROLS=1
44601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44602 fi
44603
44604
44605 if test "$wxUSE_RADIOBOX" = "yes"; then
44606 cat >>confdefs.h <<\_ACEOF
44607 #define wxUSE_RADIOBOX 1
44608 _ACEOF
44609
44610 USES_CONTROLS=1
44611 fi
44612
44613 if test "$wxUSE_RADIOBTN" = "yes"; then
44614 cat >>confdefs.h <<\_ACEOF
44615 #define wxUSE_RADIOBTN 1
44616 _ACEOF
44617
44618 USES_CONTROLS=1
44619 fi
44620
44621 if test "$wxUSE_SASH" = "yes"; then
44622 cat >>confdefs.h <<\_ACEOF
44623 #define wxUSE_SASH 1
44624 _ACEOF
44625
44626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44627 fi
44628
44629 if test "$wxUSE_SCROLLBAR" = "yes"; then
44630 cat >>confdefs.h <<\_ACEOF
44631 #define wxUSE_SCROLLBAR 1
44632 _ACEOF
44633
44634 USES_CONTROLS=1
44635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44636 fi
44637
44638 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44639 cat >>confdefs.h <<\_ACEOF
44640 #define wxUSE_SEARCHCTRL 1
44641 _ACEOF
44642
44643 USES_CONTROLS=1
44644 fi
44645
44646 if test "$wxUSE_SLIDER" = "yes"; then
44647 cat >>confdefs.h <<\_ACEOF
44648 #define wxUSE_SLIDER 1
44649 _ACEOF
44650
44651 USES_CONTROLS=1
44652 fi
44653
44654 if test "$wxUSE_SPINBTN" = "yes"; then
44655 cat >>confdefs.h <<\_ACEOF
44656 #define wxUSE_SPINBTN 1
44657 _ACEOF
44658
44659 USES_CONTROLS=1
44660 fi
44661
44662 if test "$wxUSE_SPINCTRL" = "yes"; then
44663 cat >>confdefs.h <<\_ACEOF
44664 #define wxUSE_SPINCTRL 1
44665 _ACEOF
44666
44667 USES_CONTROLS=1
44668 fi
44669
44670 if test "$wxUSE_SPLITTER" = "yes"; then
44671 cat >>confdefs.h <<\_ACEOF
44672 #define wxUSE_SPLITTER 1
44673 _ACEOF
44674
44675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44676 fi
44677
44678 if test "$wxUSE_STATBMP" = "yes"; then
44679 cat >>confdefs.h <<\_ACEOF
44680 #define wxUSE_STATBMP 1
44681 _ACEOF
44682
44683 USES_CONTROLS=1
44684 fi
44685
44686 if test "$wxUSE_STATBOX" = "yes"; then
44687 cat >>confdefs.h <<\_ACEOF
44688 #define wxUSE_STATBOX 1
44689 _ACEOF
44690
44691 USES_CONTROLS=1
44692 fi
44693
44694 if test "$wxUSE_STATTEXT" = "yes"; then
44695 cat >>confdefs.h <<\_ACEOF
44696 #define wxUSE_STATTEXT 1
44697 _ACEOF
44698
44699 USES_CONTROLS=1
44700 fi
44701
44702 if test "$wxUSE_STATLINE" = "yes"; then
44703 cat >>confdefs.h <<\_ACEOF
44704 #define wxUSE_STATLINE 1
44705 _ACEOF
44706
44707 USES_CONTROLS=1
44708 fi
44709
44710 if test "$wxUSE_STATUSBAR" = "yes"; then
44711 cat >>confdefs.h <<\_ACEOF
44712 #define wxUSE_NATIVE_STATUSBAR 1
44713 _ACEOF
44714
44715 cat >>confdefs.h <<\_ACEOF
44716 #define wxUSE_STATUSBAR 1
44717 _ACEOF
44718
44719 USES_CONTROLS=1
44720
44721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44722 fi
44723
44724 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44725 cat >>confdefs.h <<\_ACEOF
44726 #define wxUSE_TAB_DIALOG 1
44727 _ACEOF
44728
44729 fi
44730
44731 if test "$wxUSE_TEXTCTRL" = "yes"; then
44732 cat >>confdefs.h <<\_ACEOF
44733 #define wxUSE_TEXTCTRL 1
44734 _ACEOF
44735
44736 USES_CONTROLS=1
44737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44738 fi
44739
44740 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44741 if test "$wxUSE_COCOA" = 1 ; then
44742 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44743 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44744 wxUSE_TOGGLEBTN=no
44745 fi
44746
44747 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44748 cat >>confdefs.h <<\_ACEOF
44749 #define wxUSE_TOGGLEBTN 1
44750 _ACEOF
44751
44752 USES_CONTROLS=1
44753 fi
44754 fi
44755
44756 if test "$wxUSE_TOOLBAR" = "yes"; then
44757 cat >>confdefs.h <<\_ACEOF
44758 #define wxUSE_TOOLBAR 1
44759 _ACEOF
44760
44761 USES_CONTROLS=1
44762
44763 if test "$wxUSE_UNIVERSAL" = "yes"; then
44764 wxUSE_TOOLBAR_NATIVE="no"
44765 else
44766 wxUSE_TOOLBAR_NATIVE="yes"
44767 cat >>confdefs.h <<\_ACEOF
44768 #define wxUSE_TOOLBAR_NATIVE 1
44769 _ACEOF
44770
44771 fi
44772
44773 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44774 fi
44775
44776 if test "$wxUSE_TOOLTIPS" = "yes"; then
44777 if test "$wxUSE_MOTIF" = 1; then
44778 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44779 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44780 else
44781 if test "$wxUSE_UNIVERSAL" = "yes"; then
44782 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44783 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44784 else
44785 cat >>confdefs.h <<\_ACEOF
44786 #define wxUSE_TOOLTIPS 1
44787 _ACEOF
44788
44789 fi
44790 fi
44791 fi
44792
44793 if test "$wxUSE_TREEBOOK" = "yes"; then
44794 cat >>confdefs.h <<\_ACEOF
44795 #define wxUSE_TREEBOOK 1
44796 _ACEOF
44797
44798 USES_CONTROLS=1
44799 fi
44800
44801 if test "$wxUSE_TOOLBOOK" = "yes"; then
44802 cat >>confdefs.h <<\_ACEOF
44803 #define wxUSE_TOOLBOOK 1
44804 _ACEOF
44805
44806 USES_CONTROLS=1
44807 fi
44808
44809 if test "$wxUSE_TREECTRL" = "yes"; then
44810 if test "$wxUSE_IMAGLIST" = "yes"; then
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_TREECTRL 1
44813 _ACEOF
44814
44815 USES_CONTROLS=1
44816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44817 else
44818 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44819 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44820 fi
44821 fi
44822
44823 if test "$wxUSE_POPUPWIN" = "yes"; then
44824 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44825 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44826 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44827 else
44828 if test "$wxUSE_PM" = 1; then
44829 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44830 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44831 else
44832 cat >>confdefs.h <<\_ACEOF
44833 #define wxUSE_POPUPWIN 1
44834 _ACEOF
44835
44836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44837
44838 USES_CONTROLS=1
44839 fi
44840 fi
44841 fi
44842
44843 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44844 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44845 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44846 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44847 else
44848 cat >>confdefs.h <<\_ACEOF
44849 #define wxUSE_DIALUP_MANAGER 1
44850 _ACEOF
44851
44852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44853 fi
44854 fi
44855
44856 if test "$wxUSE_TIPWINDOW" = "yes"; then
44857 if test "$wxUSE_PM" = 1; then
44858 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44859 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44860 else
44861 cat >>confdefs.h <<\_ACEOF
44862 #define wxUSE_TIPWINDOW 1
44863 _ACEOF
44864
44865 fi
44866 fi
44867
44868 if test "$USES_CONTROLS" = 1; then
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_CONTROLS 1
44871 _ACEOF
44872
44873 fi
44874
44875
44876 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44877 cat >>confdefs.h <<\_ACEOF
44878 #define wxUSE_ACCESSIBILITY 1
44879 _ACEOF
44880
44881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44882 fi
44883
44884 if test "$wxUSE_DC_CACHEING" = "yes"; then
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_DC_CACHEING 1
44887 _ACEOF
44888
44889 fi
44890
44891 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_DRAGIMAGE 1
44894 _ACEOF
44895
44896 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44897 fi
44898
44899 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44900 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44901 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44902 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44903 else
44904 cat >>confdefs.h <<\_ACEOF
44905 #define wxUSE_EXCEPTIONS 1
44906 _ACEOF
44907
44908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44909 fi
44910 fi
44911
44912 USE_HTML=0
44913 if test "$wxUSE_HTML" = "yes"; then
44914 cat >>confdefs.h <<\_ACEOF
44915 #define wxUSE_HTML 1
44916 _ACEOF
44917
44918 USE_HTML=1
44919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44920 if test "$wxUSE_MAC" = 1; then
44921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44922 fi
44923 fi
44924 if test "$wxUSE_WEBKIT" = "yes"; then
44925 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44926 old_CPPFLAGS="$CPPFLAGS"
44927 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44928 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44929 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44930 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44931 echo $ECHO_N "(cached) $ECHO_C" >&6
44932 else
44933 cat >conftest.$ac_ext <<_ACEOF
44934 /* confdefs.h. */
44935 _ACEOF
44936 cat confdefs.h >>conftest.$ac_ext
44937 cat >>conftest.$ac_ext <<_ACEOF
44938 /* end confdefs.h. */
44939
44940 #include <Carbon/Carbon.h>
44941 #include <WebKit/WebKit.h>
44942
44943
44944 #include <WebKit/HIWebView.h>
44945 _ACEOF
44946 rm -f conftest.$ac_objext
44947 if { (ac_try="$ac_compile"
44948 case "(($ac_try" in
44949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44950 *) ac_try_echo=$ac_try;;
44951 esac
44952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44953 (eval "$ac_compile") 2>conftest.er1
44954 ac_status=$?
44955 grep -v '^ *+' conftest.er1 >conftest.err
44956 rm -f conftest.er1
44957 cat conftest.err >&5
44958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44959 (exit $ac_status); } && {
44960 test -z "$ac_c_werror_flag" ||
44961 test ! -s conftest.err
44962 } && test -s conftest.$ac_objext; then
44963 ac_cv_header_WebKit_HIWebView_h=yes
44964 else
44965 echo "$as_me: failed program was:" >&5
44966 sed 's/^/| /' conftest.$ac_ext >&5
44967
44968 ac_cv_header_WebKit_HIWebView_h=no
44969 fi
44970
44971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44972 fi
44973 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44974 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44975 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44976
44977 cat >>confdefs.h <<\_ACEOF
44978 #define wxUSE_WEBKIT 1
44979 _ACEOF
44980
44981 WEBKIT_LINK="-framework WebKit"
44982
44983 else
44984
44985 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44986 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44987 wxUSE_WEBKIT=no
44988
44989 fi
44990
44991
44992 CPPFLAGS="$old_CPPFLAGS"
44993 elif test "$wxUSE_COCOA" = 1; then
44994 cat >>confdefs.h <<\_ACEOF
44995 #define wxUSE_WEBKIT 1
44996 _ACEOF
44997
44998 else
44999 wxUSE_WEBKIT=no
45000 fi
45001 fi
45002
45003 USE_XRC=0
45004 if test "$wxUSE_XRC" = "yes"; then
45005 if test "$wxUSE_XML" != "yes"; then
45006 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45007 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45008 wxUSE_XRC=no
45009 else
45010 cat >>confdefs.h <<\_ACEOF
45011 #define wxUSE_XRC 1
45012 _ACEOF
45013
45014 USE_XRC=1
45015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45016 fi
45017 fi
45018
45019 USE_AUI=0
45020 if test "$wxUSE_AUI" = "yes"; then
45021 cat >>confdefs.h <<\_ACEOF
45022 #define wxUSE_AUI 1
45023 _ACEOF
45024
45025 USE_AUI=1
45026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45027 fi
45028
45029 USE_STC=0
45030 if test "$wxUSE_STC" = "yes"; then
45031 cat >>confdefs.h <<\_ACEOF
45032 #define wxUSE_STC 1
45033 _ACEOF
45034
45035 USE_STC=1
45036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45037 fi
45038
45039 if test "$wxUSE_MENUS" = "yes"; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_MENUS 1
45042 _ACEOF
45043
45044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45045 fi
45046
45047 if test "$wxUSE_METAFILE" = "yes"; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_METAFILE 1
45050 _ACEOF
45051
45052 fi
45053
45054 if test "$wxUSE_MIMETYPE" = "yes"; then
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_MIMETYPE 1
45057 _ACEOF
45058
45059 fi
45060
45061 if test "$wxUSE_MINIFRAME" = "yes"; then
45062 cat >>confdefs.h <<\_ACEOF
45063 #define wxUSE_MINIFRAME 1
45064 _ACEOF
45065
45066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45067 fi
45068
45069 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45070 cat >>confdefs.h <<\_ACEOF
45071 #define wxUSE_SYSTEM_OPTIONS 1
45072 _ACEOF
45073
45074 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45075 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45077 fi
45078 fi
45079
45080
45081 if test "$wxUSE_VALIDATORS" = "yes"; then
45082 cat >>confdefs.h <<\_ACEOF
45083 #define wxUSE_VALIDATORS 1
45084 _ACEOF
45085
45086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45087 fi
45088
45089 if test "$wxUSE_PALETTE" = "yes" ; then
45090 if test "$wxUSE_DFB" = 1; then
45091 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45092 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45093 wxUSE_PALETTE=no
45094 else
45095 cat >>confdefs.h <<\_ACEOF
45096 #define wxUSE_PALETTE 1
45097 _ACEOF
45098
45099 fi
45100 fi
45101
45102 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45103 LIBS=" -lunicows $LIBS"
45104 fi
45105
45106 USE_RICHTEXT=0
45107 if test "$wxUSE_RICHTEXT" = "yes"; then
45108 cat >>confdefs.h <<\_ACEOF
45109 #define wxUSE_RICHTEXT 1
45110 _ACEOF
45111
45112 USE_RICHTEXT=1
45113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45114 fi
45115
45116
45117 if test "$wxUSE_IMAGE" = "yes" ; then
45118 cat >>confdefs.h <<\_ACEOF
45119 #define wxUSE_IMAGE 1
45120 _ACEOF
45121
45122
45123 if test "$wxUSE_GIF" = "yes" ; then
45124 cat >>confdefs.h <<\_ACEOF
45125 #define wxUSE_GIF 1
45126 _ACEOF
45127
45128 fi
45129
45130 if test "$wxUSE_PCX" = "yes" ; then
45131 cat >>confdefs.h <<\_ACEOF
45132 #define wxUSE_PCX 1
45133 _ACEOF
45134
45135 fi
45136
45137 if test "$wxUSE_TGA" = "yes" ; then
45138 cat >>confdefs.h <<\_ACEOF
45139 #define wxUSE_TGA 1
45140 _ACEOF
45141
45142 fi
45143
45144 if test "$wxUSE_IFF" = "yes" ; then
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_IFF 1
45147 _ACEOF
45148
45149 fi
45150
45151 if test "$wxUSE_PNM" = "yes" ; then
45152 cat >>confdefs.h <<\_ACEOF
45153 #define wxUSE_PNM 1
45154 _ACEOF
45155
45156 fi
45157
45158 if test "$wxUSE_XPM" = "yes" ; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_XPM 1
45161 _ACEOF
45162
45163 fi
45164
45165 if test "$wxUSE_ICO_CUR" = "yes" ; then
45166 cat >>confdefs.h <<\_ACEOF
45167 #define wxUSE_ICO_CUR 1
45168 _ACEOF
45169
45170 fi
45171 fi
45172
45173
45174 if test "$wxUSE_ABOUTDLG" = "yes"; then
45175 cat >>confdefs.h <<\_ACEOF
45176 #define wxUSE_ABOUTDLG 1
45177 _ACEOF
45178
45179 fi
45180
45181 if test "$wxUSE_CHOICEDLG" = "yes"; then
45182 cat >>confdefs.h <<\_ACEOF
45183 #define wxUSE_CHOICEDLG 1
45184 _ACEOF
45185
45186 fi
45187
45188 if test "$wxUSE_COLOURDLG" = "yes"; then
45189 cat >>confdefs.h <<\_ACEOF
45190 #define wxUSE_COLOURDLG 1
45191 _ACEOF
45192
45193 fi
45194
45195 if test "$wxUSE_FILEDLG" = "yes"; then
45196 cat >>confdefs.h <<\_ACEOF
45197 #define wxUSE_FILEDLG 1
45198 _ACEOF
45199
45200 fi
45201
45202 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45203 cat >>confdefs.h <<\_ACEOF
45204 #define wxUSE_FINDREPLDLG 1
45205 _ACEOF
45206
45207 fi
45208
45209 if test "$wxUSE_FONTDLG" = "yes"; then
45210 cat >>confdefs.h <<\_ACEOF
45211 #define wxUSE_FONTDLG 1
45212 _ACEOF
45213
45214 fi
45215
45216 if test "$wxUSE_DIRDLG" = "yes"; then
45217 if test "$wxUSE_TREECTRL" != "yes"; then
45218 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45219 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45220 else
45221 cat >>confdefs.h <<\_ACEOF
45222 #define wxUSE_DIRDLG 1
45223 _ACEOF
45224
45225 fi
45226 fi
45227
45228 if test "$wxUSE_MSGDLG" = "yes"; then
45229 cat >>confdefs.h <<\_ACEOF
45230 #define wxUSE_MSGDLG 1
45231 _ACEOF
45232
45233 fi
45234
45235 if test "$wxUSE_NUMBERDLG" = "yes"; then
45236 cat >>confdefs.h <<\_ACEOF
45237 #define wxUSE_NUMBERDLG 1
45238 _ACEOF
45239
45240 fi
45241
45242 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45243 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45244 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45245 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45246 else
45247 cat >>confdefs.h <<\_ACEOF
45248 #define wxUSE_PROGRESSDLG 1
45249 _ACEOF
45250
45251 fi
45252 fi
45253
45254 if test "$wxUSE_SPLASH" = "yes"; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_SPLASH 1
45257 _ACEOF
45258
45259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45260 fi
45261
45262 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45263 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45264 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45265 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45266 else
45267 cat >>confdefs.h <<\_ACEOF
45268 #define wxUSE_STARTUP_TIPS 1
45269 _ACEOF
45270
45271 fi
45272 fi
45273
45274 if test "$wxUSE_TEXTDLG" = "yes"; then
45275 cat >>confdefs.h <<\_ACEOF
45276 #define wxUSE_TEXTDLG 1
45277 _ACEOF
45278
45279 fi
45280
45281 if test "$wxUSE_WIZARDDLG" = "yes"; then
45282 cat >>confdefs.h <<\_ACEOF
45283 #define wxUSE_WIZARDDLG 1
45284 _ACEOF
45285
45286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45287 fi
45288
45289
45290 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45291 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45292 cat >>confdefs.h <<\_ACEOF
45293 #define wxUSE_GRAPHICS_CONTEXT 1
45294 _ACEOF
45295
45296 elif test "$wxUSE_GTK" != 1; then
45297 cat >>confdefs.h <<\_ACEOF
45298 #define wxUSE_GRAPHICS_CONTEXT 1
45299 _ACEOF
45300
45301 else
45302
45303 pkg_failed=no
45304 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45305 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45306
45307 if test -n "$PKG_CONFIG"; then
45308 if test -n "$CAIRO_CFLAGS"; then
45309 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45310 else
45311 if test -n "$PKG_CONFIG" && \
45312 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45313 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45314 ac_status=$?
45315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45316 (exit $ac_status); }; then
45317 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45318 else
45319 pkg_failed=yes
45320 fi
45321 fi
45322 else
45323 pkg_failed=untried
45324 fi
45325 if test -n "$PKG_CONFIG"; then
45326 if test -n "$CAIRO_LIBS"; then
45327 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45328 else
45329 if test -n "$PKG_CONFIG" && \
45330 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45331 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45332 ac_status=$?
45333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45334 (exit $ac_status); }; then
45335 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45336 else
45337 pkg_failed=yes
45338 fi
45339 fi
45340 else
45341 pkg_failed=untried
45342 fi
45343
45344
45345
45346 if test $pkg_failed = yes; then
45347
45348 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45349 _pkg_short_errors_supported=yes
45350 else
45351 _pkg_short_errors_supported=no
45352 fi
45353 if test $_pkg_short_errors_supported = yes; then
45354 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45355 else
45356 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45357 fi
45358 # Put the nasty error message in config.log where it belongs
45359 echo "$CAIRO_PKG_ERRORS" >&5
45360
45361 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45362 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45363
45364 elif test $pkg_failed = untried; then
45365 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45366 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45367
45368 else
45369 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45370 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45371 { echo "$as_me:$LINENO: result: yes" >&5
45372 echo "${ECHO_T}yes" >&6; }
45373 cat >>confdefs.h <<\_ACEOF
45374 #define wxUSE_GRAPHICS_CONTEXT 1
45375 _ACEOF
45376
45377 fi
45378 fi
45379 fi
45380
45381
45382 USE_MEDIA=0
45383
45384 if test "$wxUSE_MEDIACTRL" = "yes"; then
45385 USE_MEDIA=1
45386
45387 if test "$wxUSE_GTK" = 1; then
45388 wxUSE_GSTREAMER="no"
45389
45390 GST_VERSION_MAJOR=0
45391 GST_VERSION_MINOR=10
45392 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45393
45394 if test "$wxUSE_GSTREAMER8" = "no"; then
45395
45396 pkg_failed=no
45397 { echo "$as_me:$LINENO: checking for GST" >&5
45398 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45399
45400 if test -n "$PKG_CONFIG"; then
45401 if test -n "$GST_CFLAGS"; then
45402 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45403 else
45404 if test -n "$PKG_CONFIG" && \
45405 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45406 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45407 ac_status=$?
45408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45409 (exit $ac_status); }; then
45410 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45411 else
45412 pkg_failed=yes
45413 fi
45414 fi
45415 else
45416 pkg_failed=untried
45417 fi
45418 if test -n "$PKG_CONFIG"; then
45419 if test -n "$GST_LIBS"; then
45420 pkg_cv_GST_LIBS="$GST_LIBS"
45421 else
45422 if test -n "$PKG_CONFIG" && \
45423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45424 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45425 ac_status=$?
45426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45427 (exit $ac_status); }; then
45428 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45429 else
45430 pkg_failed=yes
45431 fi
45432 fi
45433 else
45434 pkg_failed=untried
45435 fi
45436
45437
45438
45439 if test $pkg_failed = yes; then
45440
45441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45442 _pkg_short_errors_supported=yes
45443 else
45444 _pkg_short_errors_supported=no
45445 fi
45446 if test $_pkg_short_errors_supported = yes; then
45447 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45448 else
45449 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45450 fi
45451 # Put the nasty error message in config.log where it belongs
45452 echo "$GST_PKG_ERRORS" >&5
45453
45454
45455 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45456 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45457 GST_VERSION_MINOR=8
45458
45459
45460 elif test $pkg_failed = untried; then
45461
45462 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45463 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45464 GST_VERSION_MINOR=8
45465
45466
45467 else
45468 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45469 GST_LIBS=$pkg_cv_GST_LIBS
45470 { echo "$as_me:$LINENO: result: yes" >&5
45471 echo "${ECHO_T}yes" >&6; }
45472
45473 wxUSE_GSTREAMER="yes"
45474 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45475
45476 fi
45477 else
45478 GST_VERSION_MINOR=8
45479 fi
45480
45481 if test $GST_VERSION_MINOR = "8"; then
45482 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45483
45484 pkg_failed=no
45485 { echo "$as_me:$LINENO: checking for GST" >&5
45486 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45487
45488 if test -n "$PKG_CONFIG"; then
45489 if test -n "$GST_CFLAGS"; then
45490 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45491 else
45492 if test -n "$PKG_CONFIG" && \
45493 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45494 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45495 ac_status=$?
45496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45497 (exit $ac_status); }; then
45498 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45499 else
45500 pkg_failed=yes
45501 fi
45502 fi
45503 else
45504 pkg_failed=untried
45505 fi
45506 if test -n "$PKG_CONFIG"; then
45507 if test -n "$GST_LIBS"; then
45508 pkg_cv_GST_LIBS="$GST_LIBS"
45509 else
45510 if test -n "$PKG_CONFIG" && \
45511 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45512 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45513 ac_status=$?
45514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45515 (exit $ac_status); }; then
45516 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45517 else
45518 pkg_failed=yes
45519 fi
45520 fi
45521 else
45522 pkg_failed=untried
45523 fi
45524
45525
45526
45527 if test $pkg_failed = yes; then
45528
45529 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45530 _pkg_short_errors_supported=yes
45531 else
45532 _pkg_short_errors_supported=no
45533 fi
45534 if test $_pkg_short_errors_supported = yes; then
45535 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45536 else
45537 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45538 fi
45539 # Put the nasty error message in config.log where it belongs
45540 echo "$GST_PKG_ERRORS" >&5
45541
45542
45543 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45544 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45545
45546 elif test $pkg_failed = untried; then
45547
45548 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45549 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45550
45551 else
45552 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45553 GST_LIBS=$pkg_cv_GST_LIBS
45554 { echo "$as_me:$LINENO: result: yes" >&5
45555 echo "${ECHO_T}yes" >&6; }
45556 wxUSE_GSTREAMER="yes"
45557 fi
45558 fi
45559
45560
45561 if test "$wxUSE_GSTREAMER" = "yes"; then
45562 case "${host}" in
45563 *-*-solaris2* )
45564 if "$GCC" = yes; then
45565 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45566 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45567 fi
45568 esac
45569
45570 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45571 LIBS="$GST_LIBS $LIBS"
45572
45573 cat >>confdefs.h <<\_ACEOF
45574 #define wxUSE_GSTREAMER 1
45575 _ACEOF
45576
45577 else
45578 USE_MEDIA=0
45579 fi
45580 fi
45581
45582 if test $USE_MEDIA = 1; then
45583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_MEDIACTRL 1
45586 _ACEOF
45587
45588 fi
45589 fi
45590
45591
45592 if test "$cross_compiling" = "yes"; then
45593 OSINFO="\"$host\""
45594 else
45595 OSINFO=`uname -s -r -m`
45596 OSINFO="\"$OSINFO\""
45597 fi
45598
45599 cat >>confdefs.h <<_ACEOF
45600 #define WXWIN_OS_DESCRIPTION $OSINFO
45601 _ACEOF
45602
45603
45604
45605 if test "x$prefix" != "xNONE"; then
45606 wxPREFIX=$prefix
45607 else
45608 wxPREFIX=$ac_default_prefix
45609 fi
45610
45611 cat >>confdefs.h <<_ACEOF
45612 #define wxINSTALL_PREFIX "$wxPREFIX"
45613 _ACEOF
45614
45615
45616
45617
45618 CORE_BASE_LIBS="net base"
45619 CORE_GUI_LIBS="adv core"
45620
45621 if test "$wxUSE_XML" = "yes" ; then
45622 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45623 fi
45624 if test "$wxUSE_ODBC" != "no" ; then
45625 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45626 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45627 fi
45628 if test "$wxUSE_HTML" = "yes" ; then
45629 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45630 fi
45631 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45632 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45633 fi
45634 if test "$wxUSE_XRC" = "yes" ; then
45635 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45636 fi
45637 if test "$wxUSE_AUI" = "yes" ; then
45638 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45639 fi
45640 if test "$wxUSE_STC" = "yes" ; then
45641 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45642 fi
45643
45644 if test "$wxUSE_GUI" != "yes"; then
45645 CORE_GUI_LIBS=""
45646 fi
45647
45648
45649
45650
45651
45652
45653 if test "$wxUSE_MAC" = 1 ; then
45654 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45655 if test "$USE_DARWIN" = 1; then
45656 LDFLAGS="$LDFLAGS -framework QuickTime"
45657 else
45658 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45659 fi
45660 fi
45661 if test "$USE_DARWIN" = 1; then
45662 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45663 else
45664 LDFLAGS="$LDFLAGS -lCarbonLib"
45665 fi
45666 fi
45667 if test "$wxUSE_COCOA" = 1 ; then
45668 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45669 if test "$wxUSE_MEDIACTRL" = "yes"; then
45670 LDFLAGS="$LDFLAGS -framework QuickTime"
45671 fi
45672 fi
45673 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45674 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45675 fi
45676
45677 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45678
45679 if test "$wxUSE_GUI" = "yes"; then
45680
45681
45682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45683 dynamic erase event exec font image minimal mobile \
45684 mobile/wxedit mobile/styles propsize render \
45685 rotate shaped svg taborder vscroll widgets"
45686
45687 if test "$wxUSE_MONOLITHIC" != "yes"; then
45688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45689 fi
45690 if test "$TOOLKIT" = "MSW"; then
45691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45692 if test "$wxUSE_UNIVERSAL" != "yes"; then
45693 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45694 fi
45695 fi
45696 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45698 fi
45699 else
45700 SAMPLES_SUBDIRS="console"
45701 fi
45702
45703
45704 if test "x$INTELCC" = "xyes" ; then
45705 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45706 elif test "$GCC" = yes ; then
45707 CWARNINGS="-Wall -Wundef"
45708 fi
45709
45710 if test "x$INTELCXX" = "xyes" ; then
45711 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45712 elif test "$GXX" = yes ; then
45713 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45714 fi
45715
45716
45717 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45718 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45719
45720
45721 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45722 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45723 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45724 $CPPFLAGS `
45725
45726 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45727 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45728 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45729
45730 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45731
45732
45733 if test "x$MWCC" = "xyes"; then
45734
45735 CC="$CC -cwd source -I-"
45736 CXX="$CXX -cwd source -I-"
45737 fi
45738
45739
45740 LIBS=`echo $LIBS`
45741 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45742 EXTRALIBS_XML="$EXPAT_LINK"
45743 EXTRALIBS_HTML="$MSPACK_LINK"
45744 EXTRALIBS_ODBC="$ODBC_LINK"
45745 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45746 if test "$wxUSE_GUI" = "yes"; then
45747 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45748 fi
45749 if test "$wxUSE_OPENGL" = "yes"; then
45750 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45751 fi
45752
45753 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45754
45755 WXCONFIG_LIBS="$LIBS"
45756
45757 if test "$wxUSE_REGEX" = "builtin" ; then
45758 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45759 fi
45760 if test "$wxUSE_EXPAT" = "builtin" ; then
45761 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45762 fi
45763 if test "$wxUSE_ODBC" = "builtin" ; then
45764 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45765 fi
45766 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45767 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45768 fi
45769 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45770 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45771 fi
45772 if test "$wxUSE_LIBPNG" = "builtin" ; then
45773 wxconfig_3rdparty="png $wxconfig_3rdparty"
45774 fi
45775 if test "$wxUSE_ZLIB" = "builtin" ; then
45776 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45777 fi
45778
45779 for i in $wxconfig_3rdparty ; do
45780 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45781 done
45782
45783
45784 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45785 WXUNIV=1
45786
45787 case "$wxUNIV_THEMES" in
45788 ''|all)
45789 cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_ALL_THEMES 1
45791 _ACEOF
45792
45793 ;;
45794
45795 *)
45796 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45797 cat >>confdefs.h <<_ACEOF
45798 #define wxUSE_THEME_$t 1
45799 _ACEOF
45800
45801 done
45802 esac
45803 else
45804 WXUNIV=0
45805 fi
45806
45807
45808
45809
45810
45811
45812
45813
45814
45815 if test $wxUSE_MONOLITHIC = "yes" ; then
45816 MONOLITHIC=1
45817 else
45818 MONOLITHIC=0
45819 fi
45820
45821 if test $wxUSE_PLUGINS = "yes" ; then
45822 USE_PLUGINS=1
45823 else
45824 USE_PLUGINS=0
45825 fi
45826
45827 if test $wxUSE_ODBC != "no" ; then
45828 USE_ODBC=1
45829 else
45830 USE_ODBC=0
45831 fi
45832
45833 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45834 USE_QA=1
45835 else
45836 USE_QA=0
45837 fi
45838
45839 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45840 OFFICIAL_BUILD=1
45841 else
45842 OFFICIAL_BUILD=0
45843 fi
45844
45845
45846
45847
45848
45849
45850
45851
45852
45853
45854
45855
45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
45869
45870 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45871
45872
45873
45874
45875
45876
45877
45878
45879 case "$TOOLKIT" in
45880 GTK)
45881 TOOLKIT_DESC="GTK+"
45882 if test "$WXGTK20" = 1; then
45883 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45884 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45885 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45886 fi
45887 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45888 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45889 fi
45890 if test "$wxUSE_LIBHILDON" = "yes"; then
45891 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45892 fi
45893
45894 if test "$TOOLKIT_EXTRA" != ""; then
45895 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45896 fi
45897 fi
45898 ;;
45899
45900 ?*)
45901 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45902 ;;
45903
45904 *)
45905 TOOLKIT_DESC="base only"
45906 ;;
45907 esac
45908
45909 if test "$wxUSE_WINE" = "yes"; then
45910 BAKEFILE_FORCE_PLATFORM=win32
45911 fi
45912
45913 if test "$wxUSE_MAC" = 1 ; then
45914 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45915 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45916 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45917 else
45918 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45919 fi
45920 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45921 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45922 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45923 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45924 bk_use_pch=no
45925 fi
45926 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45927 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45928 fi
45929
45930 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45931 then
45932 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45933 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45934 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45935 echo $ECHO_N "(cached) $ECHO_C" >&6
45936 else
45937
45938 echo '#include <stdio.h>
45939 const wchar_t test_var[] = L"awidetest";' > conftest.h
45940
45941 echo '#include "conftest.h"
45942 int main()
45943 {
45944 printf("%ls", test_var);
45945 return 0;
45946 }' > conftest.cpp
45947
45948 wx_cv_gcc_pch_bug="pch not supported"
45949
45950 if $CXX conftest.h >/dev/null 2>&1
45951 then
45952 wx_cv_gcc_pch_bug=
45953
45954 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45955 then
45956 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45957 grep awidetest >/dev/null
45958 then
45959 wx_cv_gcc_pch_bug=no
45960 else
45961 wx_cv_gcc_pch_bug=yes
45962 fi
45963 fi
45964 fi
45965
45966 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45967
45968 fi
45969 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45970 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45971
45972 if test "$wx_cv_gcc_pch_bug" = yes; then
45973 bk_use_pch=no
45974 fi
45975 fi
45976
45977
45978
45979
45980 if test "x$BAKEFILE_HOST" = "x"; then
45981 if test "x${host}" = "x" ; then
45982 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45983 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45984 { (exit 1); exit 1; }; }
45985 fi
45986
45987 BAKEFILE_HOST="${host}"
45988 fi
45989
45990 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45991
45992 if test -n "$ac_tool_prefix"; then
45993 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45994 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45997 if test "${ac_cv_prog_RANLIB+set}" = set; then
45998 echo $ECHO_N "(cached) $ECHO_C" >&6
45999 else
46000 if test -n "$RANLIB"; then
46001 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46002 else
46003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46004 for as_dir in $PATH
46005 do
46006 IFS=$as_save_IFS
46007 test -z "$as_dir" && as_dir=.
46008 for ac_exec_ext in '' $ac_executable_extensions; do
46009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46010 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46012 break 2
46013 fi
46014 done
46015 done
46016 IFS=$as_save_IFS
46017
46018 fi
46019 fi
46020 RANLIB=$ac_cv_prog_RANLIB
46021 if test -n "$RANLIB"; then
46022 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46023 echo "${ECHO_T}$RANLIB" >&6; }
46024 else
46025 { echo "$as_me:$LINENO: result: no" >&5
46026 echo "${ECHO_T}no" >&6; }
46027 fi
46028
46029
46030 fi
46031 if test -z "$ac_cv_prog_RANLIB"; then
46032 ac_ct_RANLIB=$RANLIB
46033 # Extract the first word of "ranlib", so it can be a program name with args.
46034 set dummy ranlib; ac_word=$2
46035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46037 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46038 echo $ECHO_N "(cached) $ECHO_C" >&6
46039 else
46040 if test -n "$ac_ct_RANLIB"; then
46041 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46042 else
46043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46044 for as_dir in $PATH
46045 do
46046 IFS=$as_save_IFS
46047 test -z "$as_dir" && as_dir=.
46048 for ac_exec_ext in '' $ac_executable_extensions; do
46049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46050 ac_cv_prog_ac_ct_RANLIB="ranlib"
46051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46052 break 2
46053 fi
46054 done
46055 done
46056 IFS=$as_save_IFS
46057
46058 fi
46059 fi
46060 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46061 if test -n "$ac_ct_RANLIB"; then
46062 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46063 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46064 else
46065 { echo "$as_me:$LINENO: result: no" >&5
46066 echo "${ECHO_T}no" >&6; }
46067 fi
46068
46069 if test "x$ac_ct_RANLIB" = x; then
46070 RANLIB=":"
46071 else
46072 case $cross_compiling:$ac_tool_warned in
46073 yes:)
46074 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46075 whose name does not start with the host triplet. If you think this
46076 configuration is useful to you, please write to autoconf@gnu.org." >&5
46077 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46078 whose name does not start with the host triplet. If you think this
46079 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46080 ac_tool_warned=yes ;;
46081 esac
46082 RANLIB=$ac_ct_RANLIB
46083 fi
46084 else
46085 RANLIB="$ac_cv_prog_RANLIB"
46086 fi
46087
46088 # Find a good install program. We prefer a C program (faster),
46089 # so one script is as good as another. But avoid the broken or
46090 # incompatible versions:
46091 # SysV /etc/install, /usr/sbin/install
46092 # SunOS /usr/etc/install
46093 # IRIX /sbin/install
46094 # AIX /bin/install
46095 # AmigaOS /C/install, which installs bootblocks on floppy discs
46096 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46097 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46098 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46099 # OS/2's system install, which has a completely different semantic
46100 # ./install, which can be erroneously created by make from ./install.sh.
46101 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46102 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46103 if test -z "$INSTALL"; then
46104 if test "${ac_cv_path_install+set}" = set; then
46105 echo $ECHO_N "(cached) $ECHO_C" >&6
46106 else
46107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46108 for as_dir in $PATH
46109 do
46110 IFS=$as_save_IFS
46111 test -z "$as_dir" && as_dir=.
46112 # Account for people who put trailing slashes in PATH elements.
46113 case $as_dir/ in
46114 ./ | .// | /cC/* | \
46115 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46116 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46117 /usr/ucb/* ) ;;
46118 *)
46119 # OSF1 and SCO ODT 3.0 have their own names for install.
46120 # Don't use installbsd from OSF since it installs stuff as root
46121 # by default.
46122 for ac_prog in ginstall scoinst install; do
46123 for ac_exec_ext in '' $ac_executable_extensions; do
46124 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46125 if test $ac_prog = install &&
46126 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46127 # AIX install. It has an incompatible calling convention.
46128 :
46129 elif test $ac_prog = install &&
46130 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46131 # program-specific install script used by HP pwplus--don't use.
46132 :
46133 else
46134 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46135 break 3
46136 fi
46137 fi
46138 done
46139 done
46140 ;;
46141 esac
46142 done
46143 IFS=$as_save_IFS
46144
46145
46146 fi
46147 if test "${ac_cv_path_install+set}" = set; then
46148 INSTALL=$ac_cv_path_install
46149 else
46150 # As a last resort, use the slow shell script. Don't cache a
46151 # value for INSTALL within a source directory, because that will
46152 # break other packages using the cache if that directory is
46153 # removed, or if the value is a relative name.
46154 INSTALL=$ac_install_sh
46155 fi
46156 fi
46157 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46158 echo "${ECHO_T}$INSTALL" >&6; }
46159
46160 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46161 # It thinks the first close brace ends the variable substitution.
46162 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46163
46164 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46165
46166 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46167
46168 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46169 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46170 LN_S=$as_ln_s
46171 if test "$LN_S" = "ln -s"; then
46172 { echo "$as_me:$LINENO: result: yes" >&5
46173 echo "${ECHO_T}yes" >&6; }
46174 else
46175 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46176 echo "${ECHO_T}no, using $LN_S" >&6; }
46177 fi
46178
46179
46180 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46181 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46182 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46183 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46184 echo $ECHO_N "(cached) $ECHO_C" >&6
46185 else
46186 cat >conftest.make <<\_ACEOF
46187 SHELL = /bin/sh
46188 all:
46189 @echo '@@@%%%=$(MAKE)=@@@%%%'
46190 _ACEOF
46191 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46192 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46193 *@@@%%%=?*=@@@%%%*)
46194 eval ac_cv_prog_make_${ac_make}_set=yes;;
46195 *)
46196 eval ac_cv_prog_make_${ac_make}_set=no;;
46197 esac
46198 rm -f conftest.make
46199 fi
46200 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46201 { echo "$as_me:$LINENO: result: yes" >&5
46202 echo "${ECHO_T}yes" >&6; }
46203 SET_MAKE=
46204 else
46205 { echo "$as_me:$LINENO: result: no" >&5
46206 echo "${ECHO_T}no" >&6; }
46207 SET_MAKE="MAKE=${MAKE-make}"
46208 fi
46209
46210
46211
46212 if test "x$SUNCXX" = "xyes"; then
46213 AR=$CXX
46214 AROPTIONS="-xar -o"
46215
46216 elif test "x$SGICC" = "xyes"; then
46217 AR=$CXX
46218 AROPTIONS="-ar -o"
46219
46220 else
46221 if test -n "$ac_tool_prefix"; then
46222 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46223 set dummy ${ac_tool_prefix}ar; ac_word=$2
46224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46226 if test "${ac_cv_prog_AR+set}" = set; then
46227 echo $ECHO_N "(cached) $ECHO_C" >&6
46228 else
46229 if test -n "$AR"; then
46230 ac_cv_prog_AR="$AR" # Let the user override the test.
46231 else
46232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46233 for as_dir in $PATH
46234 do
46235 IFS=$as_save_IFS
46236 test -z "$as_dir" && as_dir=.
46237 for ac_exec_ext in '' $ac_executable_extensions; do
46238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46239 ac_cv_prog_AR="${ac_tool_prefix}ar"
46240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46241 break 2
46242 fi
46243 done
46244 done
46245 IFS=$as_save_IFS
46246
46247 fi
46248 fi
46249 AR=$ac_cv_prog_AR
46250 if test -n "$AR"; then
46251 { echo "$as_me:$LINENO: result: $AR" >&5
46252 echo "${ECHO_T}$AR" >&6; }
46253 else
46254 { echo "$as_me:$LINENO: result: no" >&5
46255 echo "${ECHO_T}no" >&6; }
46256 fi
46257
46258
46259 fi
46260 if test -z "$ac_cv_prog_AR"; then
46261 ac_ct_AR=$AR
46262 # Extract the first word of "ar", so it can be a program name with args.
46263 set dummy ar; ac_word=$2
46264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46266 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46267 echo $ECHO_N "(cached) $ECHO_C" >&6
46268 else
46269 if test -n "$ac_ct_AR"; then
46270 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46271 else
46272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46273 for as_dir in $PATH
46274 do
46275 IFS=$as_save_IFS
46276 test -z "$as_dir" && as_dir=.
46277 for ac_exec_ext in '' $ac_executable_extensions; do
46278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46279 ac_cv_prog_ac_ct_AR="ar"
46280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46281 break 2
46282 fi
46283 done
46284 done
46285 IFS=$as_save_IFS
46286
46287 fi
46288 fi
46289 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46290 if test -n "$ac_ct_AR"; then
46291 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46292 echo "${ECHO_T}$ac_ct_AR" >&6; }
46293 else
46294 { echo "$as_me:$LINENO: result: no" >&5
46295 echo "${ECHO_T}no" >&6; }
46296 fi
46297
46298 if test "x$ac_ct_AR" = x; then
46299 AR="ar"
46300 else
46301 case $cross_compiling:$ac_tool_warned in
46302 yes:)
46303 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46304 whose name does not start with the host triplet. If you think this
46305 configuration is useful to you, please write to autoconf@gnu.org." >&5
46306 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46307 whose name does not start with the host triplet. If you think this
46308 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46309 ac_tool_warned=yes ;;
46310 esac
46311 AR=$ac_ct_AR
46312 fi
46313 else
46314 AR="$ac_cv_prog_AR"
46315 fi
46316
46317 AROPTIONS=rcu
46318 fi
46319
46320
46321 if test -n "$ac_tool_prefix"; then
46322 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46323 set dummy ${ac_tool_prefix}strip; ac_word=$2
46324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46326 if test "${ac_cv_prog_STRIP+set}" = set; then
46327 echo $ECHO_N "(cached) $ECHO_C" >&6
46328 else
46329 if test -n "$STRIP"; then
46330 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46331 else
46332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46333 for as_dir in $PATH
46334 do
46335 IFS=$as_save_IFS
46336 test -z "$as_dir" && as_dir=.
46337 for ac_exec_ext in '' $ac_executable_extensions; do
46338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46339 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46341 break 2
46342 fi
46343 done
46344 done
46345 IFS=$as_save_IFS
46346
46347 fi
46348 fi
46349 STRIP=$ac_cv_prog_STRIP
46350 if test -n "$STRIP"; then
46351 { echo "$as_me:$LINENO: result: $STRIP" >&5
46352 echo "${ECHO_T}$STRIP" >&6; }
46353 else
46354 { echo "$as_me:$LINENO: result: no" >&5
46355 echo "${ECHO_T}no" >&6; }
46356 fi
46357
46358
46359 fi
46360 if test -z "$ac_cv_prog_STRIP"; then
46361 ac_ct_STRIP=$STRIP
46362 # Extract the first word of "strip", so it can be a program name with args.
46363 set dummy strip; ac_word=$2
46364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46366 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46367 echo $ECHO_N "(cached) $ECHO_C" >&6
46368 else
46369 if test -n "$ac_ct_STRIP"; then
46370 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46371 else
46372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46373 for as_dir in $PATH
46374 do
46375 IFS=$as_save_IFS
46376 test -z "$as_dir" && as_dir=.
46377 for ac_exec_ext in '' $ac_executable_extensions; do
46378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46379 ac_cv_prog_ac_ct_STRIP="strip"
46380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46381 break 2
46382 fi
46383 done
46384 done
46385 IFS=$as_save_IFS
46386
46387 fi
46388 fi
46389 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46390 if test -n "$ac_ct_STRIP"; then
46391 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46392 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46393 else
46394 { echo "$as_me:$LINENO: result: no" >&5
46395 echo "${ECHO_T}no" >&6; }
46396 fi
46397
46398 if test "x$ac_ct_STRIP" = x; then
46399 STRIP=":"
46400 else
46401 case $cross_compiling:$ac_tool_warned in
46402 yes:)
46403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46404 whose name does not start with the host triplet. If you think this
46405 configuration is useful to you, please write to autoconf@gnu.org." >&5
46406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46407 whose name does not start with the host triplet. If you think this
46408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46409 ac_tool_warned=yes ;;
46410 esac
46411 STRIP=$ac_ct_STRIP
46412 fi
46413 else
46414 STRIP="$ac_cv_prog_STRIP"
46415 fi
46416
46417 if test -n "$ac_tool_prefix"; then
46418 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46419 set dummy ${ac_tool_prefix}nm; ac_word=$2
46420 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46422 if test "${ac_cv_prog_NM+set}" = set; then
46423 echo $ECHO_N "(cached) $ECHO_C" >&6
46424 else
46425 if test -n "$NM"; then
46426 ac_cv_prog_NM="$NM" # Let the user override the test.
46427 else
46428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46429 for as_dir in $PATH
46430 do
46431 IFS=$as_save_IFS
46432 test -z "$as_dir" && as_dir=.
46433 for ac_exec_ext in '' $ac_executable_extensions; do
46434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46435 ac_cv_prog_NM="${ac_tool_prefix}nm"
46436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46437 break 2
46438 fi
46439 done
46440 done
46441 IFS=$as_save_IFS
46442
46443 fi
46444 fi
46445 NM=$ac_cv_prog_NM
46446 if test -n "$NM"; then
46447 { echo "$as_me:$LINENO: result: $NM" >&5
46448 echo "${ECHO_T}$NM" >&6; }
46449 else
46450 { echo "$as_me:$LINENO: result: no" >&5
46451 echo "${ECHO_T}no" >&6; }
46452 fi
46453
46454
46455 fi
46456 if test -z "$ac_cv_prog_NM"; then
46457 ac_ct_NM=$NM
46458 # Extract the first word of "nm", so it can be a program name with args.
46459 set dummy nm; ac_word=$2
46460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46462 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46463 echo $ECHO_N "(cached) $ECHO_C" >&6
46464 else
46465 if test -n "$ac_ct_NM"; then
46466 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46467 else
46468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46469 for as_dir in $PATH
46470 do
46471 IFS=$as_save_IFS
46472 test -z "$as_dir" && as_dir=.
46473 for ac_exec_ext in '' $ac_executable_extensions; do
46474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46475 ac_cv_prog_ac_ct_NM="nm"
46476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46477 break 2
46478 fi
46479 done
46480 done
46481 IFS=$as_save_IFS
46482
46483 fi
46484 fi
46485 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46486 if test -n "$ac_ct_NM"; then
46487 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46488 echo "${ECHO_T}$ac_ct_NM" >&6; }
46489 else
46490 { echo "$as_me:$LINENO: result: no" >&5
46491 echo "${ECHO_T}no" >&6; }
46492 fi
46493
46494 if test "x$ac_ct_NM" = x; then
46495 NM=":"
46496 else
46497 case $cross_compiling:$ac_tool_warned in
46498 yes:)
46499 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46500 whose name does not start with the host triplet. If you think this
46501 configuration is useful to you, please write to autoconf@gnu.org." >&5
46502 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46503 whose name does not start with the host triplet. If you think this
46504 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46505 ac_tool_warned=yes ;;
46506 esac
46507 NM=$ac_ct_NM
46508 fi
46509 else
46510 NM="$ac_cv_prog_NM"
46511 fi
46512
46513
46514 case ${BAKEFILE_HOST} in
46515 *-hp-hpux* )
46516 INSTALL_DIR="mkdir -p"
46517 ;;
46518 * )
46519 INSTALL_DIR='$(INSTALL) -d'
46520 ;;
46521 esac
46522
46523
46524 LDFLAGS_GUI=
46525 case ${BAKEFILE_HOST} in
46526 *-*-cygwin* | *-*-mingw32* )
46527 LDFLAGS_GUI="-mwindows"
46528 esac
46529
46530
46531 fi
46532
46533 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46534 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46535 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46536 echo $ECHO_N "(cached) $ECHO_C" >&6
46537 else
46538
46539 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46540 egrep -s GNU > /dev/null); then
46541 bakefile_cv_prog_makeisgnu="yes"
46542 else
46543 bakefile_cv_prog_makeisgnu="no"
46544 fi
46545
46546 fi
46547 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46548 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46549
46550 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46551 IF_GNU_MAKE=""
46552 else
46553 IF_GNU_MAKE="#"
46554 fi
46555
46556
46557
46558 PLATFORM_UNIX=0
46559 PLATFORM_WIN32=0
46560 PLATFORM_MSDOS=0
46561 PLATFORM_MAC=0
46562 PLATFORM_MACOS=0
46563 PLATFORM_MACOSX=0
46564 PLATFORM_OS2=0
46565 PLATFORM_BEOS=0
46566
46567 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46568 case "${BAKEFILE_HOST}" in
46569 *-*-mingw32* )
46570 PLATFORM_WIN32=1
46571 ;;
46572 *-pc-msdosdjgpp )
46573 PLATFORM_MSDOS=1
46574 ;;
46575 *-pc-os2_emx | *-pc-os2-emx )
46576 PLATFORM_OS2=1
46577 ;;
46578 *-*-darwin* )
46579 PLATFORM_MAC=1
46580 PLATFORM_MACOSX=1
46581 ;;
46582 *-*-beos* )
46583 PLATFORM_BEOS=1
46584 ;;
46585 powerpc-apple-macos* )
46586 PLATFORM_MAC=1
46587 PLATFORM_MACOS=1
46588 ;;
46589 * )
46590 PLATFORM_UNIX=1
46591 ;;
46592 esac
46593 else
46594 case "$BAKEFILE_FORCE_PLATFORM" in
46595 win32 )
46596 PLATFORM_WIN32=1
46597 ;;
46598 msdos )
46599 PLATFORM_MSDOS=1
46600 ;;
46601 os2 )
46602 PLATFORM_OS2=1
46603 ;;
46604 darwin )
46605 PLATFORM_MAC=1
46606 PLATFORM_MACOSX=1
46607 ;;
46608 unix )
46609 PLATFORM_UNIX=1
46610 ;;
46611 beos )
46612 PLATFORM_BEOS=1
46613 ;;
46614 * )
46615 ;;
46616 esac
46617 fi
46618
46619
46620
46621
46622
46623
46624
46625
46626
46627
46628
46629 # Check whether --enable-omf was given.
46630 if test "${enable_omf+set}" = set; then
46631 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46632 fi
46633
46634
46635 case "${BAKEFILE_HOST}" in
46636 *-*-darwin* )
46637 if test "x$GCC" = "xyes"; then
46638 CFLAGS="$CFLAGS -fno-common"
46639 CXXFLAGS="$CXXFLAGS -fno-common"
46640 fi
46641 if test "x$XLCC" = "xyes"; then
46642 CFLAGS="$CFLAGS -qnocommon"
46643 CXXFLAGS="$CXXFLAGS -qnocommon"
46644 fi
46645 ;;
46646
46647 *-pc-os2_emx | *-pc-os2-emx )
46648 if test "x$bk_os2_use_omf" = "xyes" ; then
46649 AR=emxomfar
46650 RANLIB=:
46651 LDFLAGS="-Zomf $LDFLAGS"
46652 CFLAGS="-Zomf $CFLAGS"
46653 CXXFLAGS="-Zomf $CXXFLAGS"
46654 OS2_LIBEXT="lib"
46655 else
46656 OS2_LIBEXT="a"
46657 fi
46658 ;;
46659
46660 i*86-*-beos* )
46661 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46662 ;;
46663 esac
46664
46665
46666 SO_SUFFIX="so"
46667 SO_SUFFIX_MODULE="so"
46668 EXEEXT=""
46669 LIBPREFIX="lib"
46670 LIBEXT=".a"
46671 DLLPREFIX="lib"
46672 DLLPREFIX_MODULE=""
46673 DLLIMP_SUFFIX=""
46674 dlldir="$libdir"
46675
46676 case "${BAKEFILE_HOST}" in
46677 *-hp-hpux* )
46678 SO_SUFFIX="sl"
46679 SO_SUFFIX_MODULE="sl"
46680 ;;
46681 *-*-aix* )
46682 SO_SUFFIX="a"
46683 SO_SUFFIX_MODULE="a"
46684 ;;
46685 *-*-cygwin* )
46686 SO_SUFFIX="dll"
46687 SO_SUFFIX_MODULE="dll"
46688 DLLIMP_SUFFIX="dll.a"
46689 EXEEXT=".exe"
46690 DLLPREFIX="cyg"
46691 dlldir="$bindir"
46692 ;;
46693 *-*-mingw32* )
46694 SO_SUFFIX="dll"
46695 SO_SUFFIX_MODULE="dll"
46696 DLLIMP_SUFFIX="dll.a"
46697 EXEEXT=".exe"
46698 DLLPREFIX=""
46699 dlldir="$bindir"
46700 ;;
46701 *-pc-msdosdjgpp )
46702 EXEEXT=".exe"
46703 DLLPREFIX=""
46704 dlldir="$bindir"
46705 ;;
46706 *-pc-os2_emx | *-pc-os2-emx )
46707 SO_SUFFIX="dll"
46708 SO_SUFFIX_MODULE="dll"
46709 DLLIMP_SUFFIX=$OS2_LIBEXT
46710 EXEEXT=".exe"
46711 DLLPREFIX=""
46712 LIBPREFIX=""
46713 LIBEXT=".$OS2_LIBEXT"
46714 dlldir="$bindir"
46715 ;;
46716 *-*-darwin* )
46717 SO_SUFFIX="dylib"
46718 SO_SUFFIX_MODULE="bundle"
46719 ;;
46720 esac
46721
46722 if test "x$DLLIMP_SUFFIX" = "x" ; then
46723 DLLIMP_SUFFIX="$SO_SUFFIX"
46724 fi
46725
46726
46727
46728
46729
46730
46731
46732
46733
46734
46735
46736
46737 PIC_FLAG=""
46738 if test "x$GCC" = "xyes"; then
46739 PIC_FLAG="-fPIC"
46740 fi
46741
46742 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46743 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46744 WINDOWS_IMPLIB=0
46745
46746 case "${BAKEFILE_HOST}" in
46747 *-hp-hpux* )
46748 if test "x$GCC" != "xyes"; then
46749 LDFLAGS="$LDFLAGS -L/usr/lib"
46750
46751 SHARED_LD_CC="${CC} -b -o"
46752 SHARED_LD_CXX="${CXX} -b -o"
46753 PIC_FLAG="+Z"
46754 fi
46755 ;;
46756
46757 *-*-linux* )
46758 if test "x$GCC" != "xyes"; then
46759 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46760 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46761 if test "${bakefile_cv_prog_icc+set}" = set; then
46762 echo $ECHO_N "(cached) $ECHO_C" >&6
46763 else
46764
46765 cat >conftest.$ac_ext <<_ACEOF
46766 /* confdefs.h. */
46767 _ACEOF
46768 cat confdefs.h >>conftest.$ac_ext
46769 cat >>conftest.$ac_ext <<_ACEOF
46770 /* end confdefs.h. */
46771
46772 int
46773 main ()
46774 {
46775
46776 #ifndef __INTEL_COMPILER
46777 This is not ICC
46778 #endif
46779
46780 ;
46781 return 0;
46782 }
46783 _ACEOF
46784 rm -f conftest.$ac_objext
46785 if { (ac_try="$ac_compile"
46786 case "(($ac_try" in
46787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46788 *) ac_try_echo=$ac_try;;
46789 esac
46790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46791 (eval "$ac_compile") 2>conftest.er1
46792 ac_status=$?
46793 grep -v '^ *+' conftest.er1 >conftest.err
46794 rm -f conftest.er1
46795 cat conftest.err >&5
46796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46797 (exit $ac_status); } && {
46798 test -z "$ac_c_werror_flag" ||
46799 test ! -s conftest.err
46800 } && test -s conftest.$ac_objext; then
46801 bakefile_cv_prog_icc=yes
46802 else
46803 echo "$as_me: failed program was:" >&5
46804 sed 's/^/| /' conftest.$ac_ext >&5
46805
46806 bakefile_cv_prog_icc=no
46807
46808 fi
46809
46810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46811
46812 fi
46813 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46814 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46815 if test "$bakefile_cv_prog_icc" = "yes"; then
46816 PIC_FLAG="-KPIC"
46817 fi
46818 fi
46819 ;;
46820
46821 *-*-solaris2* )
46822 if test "x$GCC" != xyes ; then
46823 SHARED_LD_CC="${CC} -G -o"
46824 SHARED_LD_CXX="${CXX} -G -o"
46825 PIC_FLAG="-KPIC"
46826 fi
46827 ;;
46828
46829 *-*-darwin* )
46830
46831 D='$'
46832 cat <<EOF >shared-ld-sh
46833 #!/bin/sh
46834 #-----------------------------------------------------------------------------
46835 #-- Name: distrib/mac/shared-ld-sh
46836 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46837 #-- Author: Gilles Depeyrot
46838 #-- Copyright: (c) 2002 Gilles Depeyrot
46839 #-- Licence: any use permitted
46840 #-----------------------------------------------------------------------------
46841
46842 verbose=0
46843 args=""
46844 objects=""
46845 linking_flag="-dynamiclib"
46846 ldargs="-r -keep_private_externs -nostdlib"
46847
46848 while test ${D}# -gt 0; do
46849 case ${D}1 in
46850
46851 -v)
46852 verbose=1
46853 ;;
46854
46855 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46856 # collect these options and values
46857 args="${D}{args} ${D}1 ${D}2"
46858 shift
46859 ;;
46860
46861 -s|-Wl,*)
46862 # collect these load args
46863 ldargs="${D}{ldargs} ${D}1"
46864 ;;
46865
46866 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46867 # collect these options
46868 args="${D}{args} ${D}1"
46869 ;;
46870
46871 -dynamiclib|-bundle)
46872 linking_flag="${D}1"
46873 ;;
46874
46875 -*)
46876 echo "shared-ld: unhandled option '${D}1'"
46877 exit 1
46878 ;;
46879
46880 *.o | *.a | *.dylib)
46881 # collect object files
46882 objects="${D}{objects} ${D}1"
46883 ;;
46884
46885 *)
46886 echo "shared-ld: unhandled argument '${D}1'"
46887 exit 1
46888 ;;
46889
46890 esac
46891 shift
46892 done
46893
46894 status=0
46895
46896 #
46897 # Link one module containing all the others
46898 #
46899 if test ${D}{verbose} = 1; then
46900 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46901 fi
46902 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46903 status=${D}?
46904
46905 #
46906 # Link the shared library from the single module created, but only if the
46907 # previous command didn't fail:
46908 #
46909 if test ${D}{status} = 0; then
46910 if test ${D}{verbose} = 1; then
46911 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46912 fi
46913 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46914 status=${D}?
46915 fi
46916
46917 #
46918 # Remove intermediate module
46919 #
46920 rm -f master.${D}${D}.o
46921
46922 exit ${D}status
46923 EOF
46924
46925 chmod +x shared-ld-sh
46926
46927 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46928 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46929
46930
46931 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46932 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46933 if test "${bakefile_cv_gcc31+set}" = set; then
46934 echo $ECHO_N "(cached) $ECHO_C" >&6
46935 else
46936
46937 cat >conftest.$ac_ext <<_ACEOF
46938 /* confdefs.h. */
46939 _ACEOF
46940 cat confdefs.h >>conftest.$ac_ext
46941 cat >>conftest.$ac_ext <<_ACEOF
46942 /* end confdefs.h. */
46943
46944 int
46945 main ()
46946 {
46947
46948 #if (__GNUC__ < 3) || \
46949 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46950 This is old gcc
46951 #endif
46952
46953 ;
46954 return 0;
46955 }
46956 _ACEOF
46957 rm -f conftest.$ac_objext
46958 if { (ac_try="$ac_compile"
46959 case "(($ac_try" in
46960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46961 *) ac_try_echo=$ac_try;;
46962 esac
46963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46964 (eval "$ac_compile") 2>conftest.er1
46965 ac_status=$?
46966 grep -v '^ *+' conftest.er1 >conftest.err
46967 rm -f conftest.er1
46968 cat conftest.err >&5
46969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46970 (exit $ac_status); } && {
46971 test -z "$ac_c_werror_flag" ||
46972 test ! -s conftest.err
46973 } && test -s conftest.$ac_objext; then
46974
46975 bakefile_cv_gcc31=yes
46976
46977 else
46978 echo "$as_me: failed program was:" >&5
46979 sed 's/^/| /' conftest.$ac_ext >&5
46980
46981
46982 bakefile_cv_gcc31=no
46983
46984
46985 fi
46986
46987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46988
46989 fi
46990 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46991 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46992 if test "$bakefile_cv_gcc31" = "no"; then
46993 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46994 SHARED_LD_CXX="$SHARED_LD_CC"
46995 else
46996 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46997 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46998 fi
46999
47000 if test "x$GCC" == "xyes"; then
47001 PIC_FLAG="-dynamic -fPIC"
47002 fi
47003 if test "x$XLCC" = "xyes"; then
47004 PIC_FLAG="-dynamic -DPIC"
47005 fi
47006 ;;
47007
47008 *-*-aix* )
47009 if test "x$GCC" = "xyes"; then
47010 PIC_FLAG=""
47011
47012 case "${BAKEFILE_HOST}" in
47013 *-*-aix5* )
47014 LD_EXPFULL="-Wl,-bexpfull"
47015 ;;
47016 esac
47017
47018 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47019 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47020 else
47021 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47022 set dummy makeC++SharedLib; ac_word=$2
47023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47025 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47026 echo $ECHO_N "(cached) $ECHO_C" >&6
47027 else
47028 if test -n "$AIX_CXX_LD"; then
47029 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47030 else
47031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47032 for as_dir in $PATH
47033 do
47034 IFS=$as_save_IFS
47035 test -z "$as_dir" && as_dir=.
47036 for ac_exec_ext in '' $ac_executable_extensions; do
47037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47038 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47040 break 2
47041 fi
47042 done
47043 done
47044 IFS=$as_save_IFS
47045
47046 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47047 fi
47048 fi
47049 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47050 if test -n "$AIX_CXX_LD"; then
47051 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47052 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47053 else
47054 { echo "$as_me:$LINENO: result: no" >&5
47055 echo "${ECHO_T}no" >&6; }
47056 fi
47057
47058
47059 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47060 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47061 fi
47062 ;;
47063
47064 *-*-beos* )
47065 SHARED_LD_CC="${LD} -nostart -o"
47066 SHARED_LD_CXX="${LD} -nostart -o"
47067 ;;
47068
47069 *-*-irix* )
47070 if test "x$GCC" != "xyes"; then
47071 PIC_FLAG="-KPIC"
47072 fi
47073 ;;
47074
47075 *-*-cygwin* | *-*-mingw32* )
47076 PIC_FLAG=""
47077 SHARED_LD_CC="\$(CC) -shared -o"
47078 SHARED_LD_CXX="\$(CXX) -shared -o"
47079 WINDOWS_IMPLIB=1
47080 ;;
47081
47082 *-pc-os2_emx | *-pc-os2-emx )
47083 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47084 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47085 PIC_FLAG=""
47086
47087 D='$'
47088 cat <<EOF >dllar.sh
47089 #!/bin/sh
47090 #
47091 # dllar - a tool to build both a .dll and an .a file
47092 # from a set of object (.o) files for EMX/OS2.
47093 #
47094 # Written by Andrew Zabolotny, bit@freya.etu.ru
47095 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47096 #
47097 # This script will accept a set of files on the command line.
47098 # All the public symbols from the .o files will be exported into
47099 # a .DEF file, then linker will be run (through gcc) against them to
47100 # build a shared library consisting of all given .o files. All libraries
47101 # (.a) will be first decompressed into component .o files then act as
47102 # described above. You can optionally give a description (-d "description")
47103 # which will be put into .DLL. To see the list of accepted options (as well
47104 # as command-line format) simply run this program without options. The .DLL
47105 # is built to be imported by name (there is no guarantee that new versions
47106 # of the library you build will have same ordinals for same symbols).
47107 #
47108 # dllar is free software; you can redistribute it and/or modify
47109 # it under the terms of the GNU General Public License as published by
47110 # the Free Software Foundation; either version 2, or (at your option)
47111 # any later version.
47112 #
47113 # dllar is distributed in the hope that it will be useful,
47114 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47115 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47116 # GNU General Public License for more details.
47117 #
47118 # You should have received a copy of the GNU General Public License
47119 # along with dllar; see the file COPYING. If not, write to the Free
47120 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47121 # 02111-1307, USA.
47122
47123 # To successfuly run this program you will need:
47124 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47125 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47126 # - gcc
47127 # (used to build the .dll)
47128 # - emxexp
47129 # (used to create .def file from .o files)
47130 # - emximp
47131 # (used to create .a file from .def file)
47132 # - GNU text utilites (cat, sort, uniq)
47133 # used to process emxexp output
47134 # - GNU file utilities (mv, rm)
47135 # - GNU sed
47136 # - lxlite (optional, see flag below)
47137 # (used for general .dll cleanup)
47138 #
47139
47140 flag_USE_LXLITE=1;
47141
47142 #
47143 # helper functions
47144 # basnam, variant of basename, which does _not_ remove the path, _iff_
47145 # second argument (suffix to remove) is given
47146 basnam(){
47147 case ${D}# in
47148 1)
47149 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47150 ;;
47151 2)
47152 echo ${D}1 | sed 's/'${D}2'${D}//'
47153 ;;
47154 *)
47155 echo "error in basnam ${D}*"
47156 exit 8
47157 ;;
47158 esac
47159 }
47160
47161 # Cleanup temporary files and output
47162 CleanUp() {
47163 cd ${D}curDir
47164 for i in ${D}inputFiles ; do
47165 case ${D}i in
47166 *!)
47167 rm -rf \`basnam ${D}i !\`
47168 ;;
47169 *)
47170 ;;
47171 esac
47172 done
47173
47174 # Kill result in case of failure as there is just to many stupid make/nmake
47175 # things out there which doesn't do this.
47176 if [ ${D}# -eq 0 ]; then
47177 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47178 fi
47179 }
47180
47181 # Print usage and exit script with rc=1.
47182 PrintHelp() {
47183 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47184 echo ' [-name-mangler-script script.sh]'
47185 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47186 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47187 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47188 echo ' [*.o] [*.a]'
47189 echo '*> "output_file" should have no extension.'
47190 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47191 echo ' The import library name is derived from this and is set to "name".a,'
47192 echo ' unless overridden by -import'
47193 echo '*> "importlib_name" should have no extension.'
47194 echo ' If it has the .o, or .a extension, it is automatically removed.'
47195 echo ' This name is used as the import library name and may be longer and'
47196 echo ' more descriptive than the DLL name which has to follow the old '
47197 echo ' 8.3 convention of FAT.'
47198 echo '*> "script.sh may be given to override the output_file name by a'
47199 echo ' different name. It is mainly useful if the regular make process'
47200 echo ' of some package does not take into account OS/2 restriction of'
47201 echo ' DLL name lengths. It takes the importlib name as input and is'
47202 echo ' supposed to procude a shorter name as output. The script should'
47203 echo ' expect to get importlib_name without extension and should produce'
47204 echo ' a (max.) 8 letter name without extension.'
47205 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47206 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47207 echo ' These flags will be put at the start of GCC command line.'
47208 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47209 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47210 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47211 echo ' If the last character of a symbol is "*", all symbols beginning'
47212 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47213 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47214 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47215 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47216 echo ' C runtime DLLs.'
47217 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47218 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47219 echo ' unchanged to GCC at the end of command line.'
47220 echo '*> If you create a DLL from a library and you do not specify -o,'
47221 echo ' the basename for DLL and import library will be set to library name,'
47222 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47223 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47224 echo ' library will be renamed into gcc_s.a.'
47225 echo '--------'
47226 echo 'Example:'
47227 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47228 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47229 CleanUp
47230 exit 1
47231 }
47232
47233 # Execute a command.
47234 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47235 # @Uses Whatever CleanUp() uses.
47236 doCommand() {
47237 echo "${D}*"
47238 eval ${D}*
47239 rcCmd=${D}?
47240
47241 if [ ${D}rcCmd -ne 0 ]; then
47242 echo "command failed, exit code="${D}rcCmd
47243 CleanUp
47244 exit ${D}rcCmd
47245 fi
47246 }
47247
47248 # main routine
47249 # setup globals
47250 cmdLine=${D}*
47251 outFile=""
47252 outimpFile=""
47253 inputFiles=""
47254 renameScript=""
47255 description=""
47256 CC=gcc.exe
47257 CFLAGS="-s -Zcrtdll"
47258 EXTRA_CFLAGS=""
47259 EXPORT_BY_ORDINALS=0
47260 exclude_symbols=""
47261 library_flags=""
47262 curDir=\`pwd\`
47263 curDirS=curDir
47264 case ${D}curDirS in
47265 */)
47266 ;;
47267 *)
47268 curDirS=${D}{curDirS}"/"
47269 ;;
47270 esac
47271 # Parse commandline
47272 libsToLink=0
47273 omfLinking=0
47274 while [ ${D}1 ]; do
47275 case ${D}1 in
47276 -ord*)
47277 EXPORT_BY_ORDINALS=1;
47278 ;;
47279 -o*)
47280 shift
47281 outFile=${D}1
47282 ;;
47283 -i*)
47284 shift
47285 outimpFile=${D}1
47286 ;;
47287 -name-mangler-script)
47288 shift
47289 renameScript=${D}1
47290 ;;
47291 -d*)
47292 shift
47293 description=${D}1
47294 ;;
47295 -f*)
47296 shift
47297 CFLAGS=${D}1
47298 ;;
47299 -c*)
47300 shift
47301 CC=${D}1
47302 ;;
47303 -h*)
47304 PrintHelp
47305 ;;
47306 -ex*)
47307 shift
47308 exclude_symbols=${D}{exclude_symbols}${D}1" "
47309 ;;
47310 -libf*)
47311 shift
47312 library_flags=${D}{library_flags}${D}1" "
47313 ;;
47314 -nocrt*)
47315 CFLAGS="-s"
47316 ;;
47317 -nolxl*)
47318 flag_USE_LXLITE=0
47319 ;;
47320 -* | /*)
47321 case ${D}1 in
47322 -L* | -l*)
47323 libsToLink=1
47324 ;;
47325 -Zomf)
47326 omfLinking=1
47327 ;;
47328 *)
47329 ;;
47330 esac
47331 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47332 ;;
47333 *.dll)
47334 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47335 if [ ${D}omfLinking -eq 1 ]; then
47336 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47337 else
47338 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47339 fi
47340 ;;
47341 *)
47342 found=0;
47343 if [ ${D}libsToLink -ne 0 ]; then
47344 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47345 else
47346 for file in ${D}1 ; do
47347 if [ -f ${D}file ]; then
47348 inputFiles="${D}{inputFiles} ${D}file"
47349 found=1
47350 fi
47351 done
47352 if [ ${D}found -eq 0 ]; then
47353 echo "ERROR: No file(s) found: "${D}1
47354 exit 8
47355 fi
47356 fi
47357 ;;
47358 esac
47359 shift
47360 done # iterate cmdline words
47361
47362 #
47363 if [ -z "${D}inputFiles" ]; then
47364 echo "dllar: no input files"
47365 PrintHelp
47366 fi
47367
47368 # Now extract all .o files from .a files
47369 newInputFiles=""
47370 for file in ${D}inputFiles ; do
47371 case ${D}file in
47372 *.a | *.lib)
47373 case ${D}file in
47374 *.a)
47375 suffix=".a"
47376 AR="ar"
47377 ;;
47378 *.lib)
47379 suffix=".lib"
47380 AR="emxomfar"
47381 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47382 ;;
47383 *)
47384 ;;
47385 esac
47386 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47387 mkdir ${D}dirname
47388 if [ ${D}? -ne 0 ]; then
47389 echo "Failed to create subdirectory ./${D}dirname"
47390 CleanUp
47391 exit 8;
47392 fi
47393 # Append '!' to indicate archive
47394 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47395 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47396 cd ${D}curDir
47397 found=0;
47398 for subfile in ${D}dirname/*.o* ; do
47399 if [ -f ${D}subfile ]; then
47400 found=1
47401 if [ -s ${D}subfile ]; then
47402 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47403 newInputFiles="${D}newInputFiles ${D}subfile"
47404 fi
47405 fi
47406 done
47407 if [ ${D}found -eq 0 ]; then
47408 echo "WARNING: there are no files in archive \\'${D}file\\'"
47409 fi
47410 ;;
47411 *)
47412 newInputFiles="${D}{newInputFiles} ${D}file"
47413 ;;
47414 esac
47415 done
47416 inputFiles="${D}newInputFiles"
47417
47418 # Output filename(s).
47419 do_backup=0;
47420 if [ -z ${D}outFile ]; then
47421 do_backup=1;
47422 set outFile ${D}inputFiles; outFile=${D}2
47423 fi
47424
47425 # If it is an archive, remove the '!' and the '_%' suffixes
47426 case ${D}outFile in
47427 *_%!)
47428 outFile=\`basnam ${D}outFile _%!\`
47429 ;;
47430 *)
47431 ;;
47432 esac
47433 case ${D}outFile in
47434 *.dll)
47435 outFile=\`basnam ${D}outFile .dll\`
47436 ;;
47437 *.DLL)
47438 outFile=\`basnam ${D}outFile .DLL\`
47439 ;;
47440 *.o)
47441 outFile=\`basnam ${D}outFile .o\`
47442 ;;
47443 *.obj)
47444 outFile=\`basnam ${D}outFile .obj\`
47445 ;;
47446 *.a)
47447 outFile=\`basnam ${D}outFile .a\`
47448 ;;
47449 *.lib)
47450 outFile=\`basnam ${D}outFile .lib\`
47451 ;;
47452 *)
47453 ;;
47454 esac
47455 case ${D}outimpFile in
47456 *.a)
47457 outimpFile=\`basnam ${D}outimpFile .a\`
47458 ;;
47459 *.lib)
47460 outimpFile=\`basnam ${D}outimpFile .lib\`
47461 ;;
47462 *)
47463 ;;
47464 esac
47465 if [ -z ${D}outimpFile ]; then
47466 outimpFile=${D}outFile
47467 fi
47468 defFile="${D}{outFile}.def"
47469 arcFile="${D}{outimpFile}.a"
47470 arcFile2="${D}{outimpFile}.lib"
47471
47472 #create ${D}dllFile as something matching 8.3 restrictions,
47473 if [ -z ${D}renameScript ] ; then
47474 dllFile="${D}outFile"
47475 else
47476 dllFile=\`${D}renameScript ${D}outimpFile\`
47477 fi
47478
47479 if [ ${D}do_backup -ne 0 ] ; then
47480 if [ -f ${D}arcFile ] ; then
47481 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47482 fi
47483 if [ -f ${D}arcFile2 ] ; then
47484 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47485 fi
47486 fi
47487
47488 # Extract public symbols from all the object files.
47489 tmpdefFile=${D}{defFile}_%
47490 rm -f ${D}tmpdefFile
47491 for file in ${D}inputFiles ; do
47492 case ${D}file in
47493 *!)
47494 ;;
47495 *)
47496 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47497 ;;
47498 esac
47499 done
47500
47501 # Create the def file.
47502 rm -f ${D}defFile
47503 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47504 dllFile="${D}{dllFile}.dll"
47505 if [ ! -z ${D}description ]; then
47506 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47507 fi
47508 echo "EXPORTS" >> ${D}defFile
47509
47510 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47511 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47512
47513 # Checks if the export is ok or not.
47514 for word in ${D}exclude_symbols; do
47515 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47516 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47517 done
47518
47519
47520 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47521 sed "=" < ${D}tmpdefFile | \\
47522 sed '
47523 N
47524 : loop
47525 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47526 t loop
47527 ' > ${D}{tmpdefFile}%
47528 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47529 else
47530 rm -f ${D}{tmpdefFile}%
47531 fi
47532 cat ${D}tmpdefFile >> ${D}defFile
47533 rm -f ${D}tmpdefFile
47534
47535 # Do linking, create implib, and apply lxlite.
47536 gccCmdl="";
47537 for file in ${D}inputFiles ; do
47538 case ${D}file in
47539 *!)
47540 ;;
47541 *)
47542 gccCmdl="${D}gccCmdl ${D}file"
47543 ;;
47544 esac
47545 done
47546 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47547 touch "${D}{outFile}.dll"
47548
47549 doCommand "emximp -o ${D}arcFile ${D}defFile"
47550 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47551 add_flags="";
47552 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47553 add_flags="-ynd"
47554 fi
47555 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47556 fi
47557 doCommand "emxomf -s -l ${D}arcFile"
47558
47559 # Successful exit.
47560 CleanUp 1
47561 exit 0
47562 EOF
47563
47564 chmod +x dllar.sh
47565 ;;
47566
47567 powerpc-apple-macos* | \
47568 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47569 *-*-mirbsd* | \
47570 *-*-sunos4* | \
47571 *-*-osf* | \
47572 *-*-dgux5* | \
47573 *-*-sysv5* | \
47574 *-pc-msdosdjgpp )
47575 ;;
47576
47577 *)
47578 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47579 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47580 { (exit 1); exit 1; }; }
47581 esac
47582
47583 if test "x$PIC_FLAG" != "x" ; then
47584 PIC_FLAG="$PIC_FLAG -DPIC"
47585 fi
47586
47587 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47588 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47589 fi
47590 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47591 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47592 fi
47593
47594
47595
47596
47597
47598
47599
47600
47601
47602 USE_SOVERSION=0
47603 USE_SOVERLINUX=0
47604 USE_SOVERSOLARIS=0
47605 USE_SOVERCYGWIN=0
47606 USE_SOSYMLINKS=0
47607 USE_MACVERSION=0
47608 SONAME_FLAG=
47609
47610 case "${BAKEFILE_HOST}" in
47611 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47612 SONAME_FLAG="-Wl,-soname,"
47613 USE_SOVERSION=1
47614 USE_SOVERLINUX=1
47615 USE_SOSYMLINKS=1
47616 ;;
47617
47618 *-*-solaris2* )
47619 SONAME_FLAG="-h "
47620 USE_SOVERSION=1
47621 USE_SOVERSOLARIS=1
47622 USE_SOSYMLINKS=1
47623 ;;
47624
47625 *-*-darwin* )
47626 USE_MACVERSION=1
47627 USE_SOVERSION=1
47628 USE_SOSYMLINKS=1
47629 ;;
47630
47631 *-*-cygwin* )
47632 USE_SOVERSION=1
47633 USE_SOVERCYGWIN=1
47634 ;;
47635 esac
47636
47637
47638
47639
47640
47641
47642
47643
47644
47645
47646 # Check whether --enable-dependency-tracking was given.
47647 if test "${enable_dependency_tracking+set}" = set; then
47648 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47649 fi
47650
47651
47652 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47653 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47654
47655 BK_DEPS=""
47656 if test "x$bk_use_trackdeps" = "xno" ; then
47657 DEPS_TRACKING=0
47658 { echo "$as_me:$LINENO: result: disabled" >&5
47659 echo "${ECHO_T}disabled" >&6; }
47660 else
47661 DEPS_TRACKING=1
47662
47663 if test "x$GCC" = "xyes"; then
47664 DEPSMODE=gcc
47665 case "${BAKEFILE_HOST}" in
47666 *-*-darwin* )
47667 DEPSFLAG="-no-cpp-precomp -MMD"
47668 ;;
47669 * )
47670 DEPSFLAG="-MMD"
47671 ;;
47672 esac
47673 { echo "$as_me:$LINENO: result: gcc" >&5
47674 echo "${ECHO_T}gcc" >&6; }
47675 elif test "x$MWCC" = "xyes"; then
47676 DEPSMODE=mwcc
47677 DEPSFLAG="-MM"
47678 { echo "$as_me:$LINENO: result: mwcc" >&5
47679 echo "${ECHO_T}mwcc" >&6; }
47680 elif test "x$SUNCC" = "xyes"; then
47681 DEPSMODE=unixcc
47682 DEPSFLAG="-xM1"
47683 { echo "$as_me:$LINENO: result: Sun cc" >&5
47684 echo "${ECHO_T}Sun cc" >&6; }
47685 elif test "x$SGICC" = "xyes"; then
47686 DEPSMODE=unixcc
47687 DEPSFLAG="-M"
47688 { echo "$as_me:$LINENO: result: SGI cc" >&5
47689 echo "${ECHO_T}SGI cc" >&6; }
47690 elif test "x$HPCC" = "xyes"; then
47691 DEPSMODE=unixcc
47692 DEPSFLAG="+make"
47693 { echo "$as_me:$LINENO: result: HP cc" >&5
47694 echo "${ECHO_T}HP cc" >&6; }
47695 elif test "x$COMPAQCC" = "xyes"; then
47696 DEPSMODE=gcc
47697 DEPSFLAG="-MD"
47698 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47699 echo "${ECHO_T}Compaq cc" >&6; }
47700 else
47701 DEPS_TRACKING=0
47702 { echo "$as_me:$LINENO: result: none" >&5
47703 echo "${ECHO_T}none" >&6; }
47704 fi
47705
47706 if test $DEPS_TRACKING = 1 ; then
47707
47708 D='$'
47709 cat <<EOF >bk-deps
47710 #!/bin/sh
47711
47712 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47713 # script. It is used to track C/C++ files dependencies in portable way.
47714 #
47715 # Permission is given to use this file in any way.
47716
47717 DEPSMODE=${DEPSMODE}
47718 DEPSDIR=.deps
47719 DEPSFLAG="${DEPSFLAG}"
47720
47721 mkdir -p ${D}DEPSDIR
47722
47723 if test ${D}DEPSMODE = gcc ; then
47724 ${D}* ${D}{DEPSFLAG}
47725 status=${D}?
47726 if test ${D}{status} != 0 ; then
47727 exit ${D}{status}
47728 fi
47729 # move created file to the location we want it in:
47730 while test ${D}# -gt 0; do
47731 case "${D}1" in
47732 -o )
47733 shift
47734 objfile=${D}1
47735 ;;
47736 -* )
47737 ;;
47738 * )
47739 srcfile=${D}1
47740 ;;
47741 esac
47742 shift
47743 done
47744 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47745 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47746 if test -f ${D}depfile ; then
47747 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47748 rm -f ${D}depfile
47749 else
47750 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47751 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47752 if test ! -f ${D}depfile ; then
47753 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47754 depfile="${D}objfile.d"
47755 fi
47756 if test -f ${D}depfile ; then
47757 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47758 rm -f ${D}depfile
47759 fi
47760 fi
47761 exit 0
47762 elif test ${D}DEPSMODE = mwcc ; then
47763 ${D}* || exit ${D}?
47764 # Run mwcc again with -MM and redirect into the dep file we want
47765 # NOTE: We can't use shift here because we need ${D}* to be valid
47766 prevarg=
47767 for arg in ${D}* ; do
47768 if test "${D}prevarg" = "-o"; then
47769 objfile=${D}arg
47770 else
47771 case "${D}arg" in
47772 -* )
47773 ;;
47774 * )
47775 srcfile=${D}arg
47776 ;;
47777 esac
47778 fi
47779 prevarg="${D}arg"
47780 done
47781 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47782 exit 0
47783 elif test ${D}DEPSMODE = unixcc; then
47784 ${D}* || exit ${D}?
47785 # Run compiler again with deps flag and redirect into the dep file.
47786 # It doesn't work if the '-o FILE' option is used, but without it the
47787 # dependency file will contain the wrong name for the object. So it is
47788 # removed from the command line, and the dep file is fixed with sed.
47789 cmd=""
47790 while test ${D}# -gt 0; do
47791 case "${D}1" in
47792 -o )
47793 shift
47794 objfile=${D}1
47795 ;;
47796 * )
47797 eval arg${D}#=\\${D}1
47798 cmd="${D}cmd \\${D}arg${D}#"
47799 ;;
47800 esac
47801 shift
47802 done
47803 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47804 exit 0
47805 else
47806 ${D}*
47807 exit ${D}?
47808 fi
47809 EOF
47810
47811 chmod +x bk-deps
47812 BK_DEPS="`pwd`/bk-deps"
47813 fi
47814 fi
47815
47816
47817
47818
47819
47820 case ${BAKEFILE_HOST} in
47821 *-*-cygwin* | *-*-mingw32* )
47822 if test -n "$ac_tool_prefix"; then
47823 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47824 set dummy ${ac_tool_prefix}windres; ac_word=$2
47825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47827 if test "${ac_cv_prog_WINDRES+set}" = set; then
47828 echo $ECHO_N "(cached) $ECHO_C" >&6
47829 else
47830 if test -n "$WINDRES"; then
47831 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47832 else
47833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47834 for as_dir in $PATH
47835 do
47836 IFS=$as_save_IFS
47837 test -z "$as_dir" && as_dir=.
47838 for ac_exec_ext in '' $ac_executable_extensions; do
47839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47840 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47842 break 2
47843 fi
47844 done
47845 done
47846 IFS=$as_save_IFS
47847
47848 fi
47849 fi
47850 WINDRES=$ac_cv_prog_WINDRES
47851 if test -n "$WINDRES"; then
47852 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47853 echo "${ECHO_T}$WINDRES" >&6; }
47854 else
47855 { echo "$as_me:$LINENO: result: no" >&5
47856 echo "${ECHO_T}no" >&6; }
47857 fi
47858
47859
47860 fi
47861 if test -z "$ac_cv_prog_WINDRES"; then
47862 ac_ct_WINDRES=$WINDRES
47863 # Extract the first word of "windres", so it can be a program name with args.
47864 set dummy windres; ac_word=$2
47865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47867 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47868 echo $ECHO_N "(cached) $ECHO_C" >&6
47869 else
47870 if test -n "$ac_ct_WINDRES"; then
47871 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47872 else
47873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47874 for as_dir in $PATH
47875 do
47876 IFS=$as_save_IFS
47877 test -z "$as_dir" && as_dir=.
47878 for ac_exec_ext in '' $ac_executable_extensions; do
47879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47880 ac_cv_prog_ac_ct_WINDRES="windres"
47881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47882 break 2
47883 fi
47884 done
47885 done
47886 IFS=$as_save_IFS
47887
47888 fi
47889 fi
47890 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47891 if test -n "$ac_ct_WINDRES"; then
47892 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47893 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47894 else
47895 { echo "$as_me:$LINENO: result: no" >&5
47896 echo "${ECHO_T}no" >&6; }
47897 fi
47898
47899 if test "x$ac_ct_WINDRES" = x; then
47900 WINDRES=""
47901 else
47902 case $cross_compiling:$ac_tool_warned in
47903 yes:)
47904 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47905 whose name does not start with the host triplet. If you think this
47906 configuration is useful to you, please write to autoconf@gnu.org." >&5
47907 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47908 whose name does not start with the host triplet. If you think this
47909 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47910 ac_tool_warned=yes ;;
47911 esac
47912 WINDRES=$ac_ct_WINDRES
47913 fi
47914 else
47915 WINDRES="$ac_cv_prog_WINDRES"
47916 fi
47917
47918 ;;
47919
47920 *-*-darwin* | powerpc-apple-macos* )
47921 # Extract the first word of "Rez", so it can be a program name with args.
47922 set dummy Rez; ac_word=$2
47923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47925 if test "${ac_cv_prog_REZ+set}" = set; then
47926 echo $ECHO_N "(cached) $ECHO_C" >&6
47927 else
47928 if test -n "$REZ"; then
47929 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47930 else
47931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47932 for as_dir in $PATH
47933 do
47934 IFS=$as_save_IFS
47935 test -z "$as_dir" && as_dir=.
47936 for ac_exec_ext in '' $ac_executable_extensions; do
47937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47938 ac_cv_prog_REZ="Rez"
47939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47940 break 2
47941 fi
47942 done
47943 done
47944 IFS=$as_save_IFS
47945
47946 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47947 fi
47948 fi
47949 REZ=$ac_cv_prog_REZ
47950 if test -n "$REZ"; then
47951 { echo "$as_me:$LINENO: result: $REZ" >&5
47952 echo "${ECHO_T}$REZ" >&6; }
47953 else
47954 { echo "$as_me:$LINENO: result: no" >&5
47955 echo "${ECHO_T}no" >&6; }
47956 fi
47957
47958
47959 # Extract the first word of "SetFile", so it can be a program name with args.
47960 set dummy SetFile; ac_word=$2
47961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47963 if test "${ac_cv_prog_SETFILE+set}" = set; then
47964 echo $ECHO_N "(cached) $ECHO_C" >&6
47965 else
47966 if test -n "$SETFILE"; then
47967 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47968 else
47969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47970 for as_dir in $PATH
47971 do
47972 IFS=$as_save_IFS
47973 test -z "$as_dir" && as_dir=.
47974 for ac_exec_ext in '' $ac_executable_extensions; do
47975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47976 ac_cv_prog_SETFILE="SetFile"
47977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47978 break 2
47979 fi
47980 done
47981 done
47982 IFS=$as_save_IFS
47983
47984 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47985 fi
47986 fi
47987 SETFILE=$ac_cv_prog_SETFILE
47988 if test -n "$SETFILE"; then
47989 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47990 echo "${ECHO_T}$SETFILE" >&6; }
47991 else
47992 { echo "$as_me:$LINENO: result: no" >&5
47993 echo "${ECHO_T}no" >&6; }
47994 fi
47995
47996
47997 ;;
47998 esac
47999
48000
48001
48002
48003
48004
48005 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48006
48007
48008 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48009
48010
48011
48012 # Check whether --enable-precomp-headers was given.
48013 if test "${enable_precomp_headers+set}" = set; then
48014 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48015 fi
48016
48017
48018 GCC_PCH=0
48019 ICC_PCH=0
48020 USE_PCH=0
48021 BK_MAKE_PCH=""
48022
48023 case ${BAKEFILE_HOST} in
48024 *-*-cygwin* )
48025 bk_use_pch="no"
48026 ;;
48027 esac
48028
48029 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48030 if test "x$GCC" = "xyes"; then
48031 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48032 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48033 cat >conftest.$ac_ext <<_ACEOF
48034 /* confdefs.h. */
48035 _ACEOF
48036 cat confdefs.h >>conftest.$ac_ext
48037 cat >>conftest.$ac_ext <<_ACEOF
48038 /* end confdefs.h. */
48039
48040 int
48041 main ()
48042 {
48043
48044 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48045 There is no PCH support
48046 #endif
48047 #if (__GNUC__ < 3)
48048 There is no PCH support
48049 #endif
48050 #if (__GNUC__ == 3) && \
48051 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48052 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48053 ( defined(__INTEL_COMPILER) )
48054 There is no PCH support
48055 #endif
48056
48057 ;
48058 return 0;
48059 }
48060 _ACEOF
48061 rm -f conftest.$ac_objext
48062 if { (ac_try="$ac_compile"
48063 case "(($ac_try" in
48064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48065 *) ac_try_echo=$ac_try;;
48066 esac
48067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48068 (eval "$ac_compile") 2>conftest.er1
48069 ac_status=$?
48070 grep -v '^ *+' conftest.er1 >conftest.err
48071 rm -f conftest.er1
48072 cat conftest.err >&5
48073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48074 (exit $ac_status); } && {
48075 test -z "$ac_c_werror_flag" ||
48076 test ! -s conftest.err
48077 } && test -s conftest.$ac_objext; then
48078
48079 { echo "$as_me:$LINENO: result: yes" >&5
48080 echo "${ECHO_T}yes" >&6; }
48081 GCC_PCH=1
48082
48083 else
48084 echo "$as_me: failed program was:" >&5
48085 sed 's/^/| /' conftest.$ac_ext >&5
48086
48087
48088 cat >conftest.$ac_ext <<_ACEOF
48089 /* confdefs.h. */
48090 _ACEOF
48091 cat confdefs.h >>conftest.$ac_ext
48092 cat >>conftest.$ac_ext <<_ACEOF
48093 /* end confdefs.h. */
48094
48095 int
48096 main ()
48097 {
48098
48099 #if !defined(__INTEL_COMPILER) || \
48100 (__INTEL_COMPILER < 800)
48101 There is no PCH support
48102 #endif
48103
48104 ;
48105 return 0;
48106 }
48107 _ACEOF
48108 rm -f conftest.$ac_objext
48109 if { (ac_try="$ac_compile"
48110 case "(($ac_try" in
48111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48112 *) ac_try_echo=$ac_try;;
48113 esac
48114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48115 (eval "$ac_compile") 2>conftest.er1
48116 ac_status=$?
48117 grep -v '^ *+' conftest.er1 >conftest.err
48118 rm -f conftest.er1
48119 cat conftest.err >&5
48120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48121 (exit $ac_status); } && {
48122 test -z "$ac_c_werror_flag" ||
48123 test ! -s conftest.err
48124 } && test -s conftest.$ac_objext; then
48125
48126 { echo "$as_me:$LINENO: result: yes" >&5
48127 echo "${ECHO_T}yes" >&6; }
48128 ICC_PCH=1
48129
48130 else
48131 echo "$as_me: failed program was:" >&5
48132 sed 's/^/| /' conftest.$ac_ext >&5
48133
48134
48135 { echo "$as_me:$LINENO: result: no" >&5
48136 echo "${ECHO_T}no" >&6; }
48137
48138 fi
48139
48140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48141
48142 fi
48143
48144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48145 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48146 USE_PCH=1
48147
48148 D='$'
48149 cat <<EOF >bk-make-pch
48150 #!/bin/sh
48151
48152 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48153 # script. It is used to generated precompiled headers.
48154 #
48155 # Permission is given to use this file in any way.
48156
48157 outfile="${D}{1}"
48158 header="${D}{2}"
48159 shift
48160 shift
48161
48162 compiler=""
48163 headerfile=""
48164
48165 while test ${D}{#} -gt 0; do
48166 add_to_cmdline=1
48167 case "${D}{1}" in
48168 -I* )
48169 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48170 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48171 headerfile="${D}{incdir}/${D}{header}"
48172 fi
48173 ;;
48174 -use-pch|-use_pch )
48175 shift
48176 add_to_cmdline=0
48177 ;;
48178 esac
48179 if test ${D}add_to_cmdline = 1 ; then
48180 compiler="${D}{compiler} ${D}{1}"
48181 fi
48182 shift
48183 done
48184
48185 if test "x${D}{headerfile}" = "x" ; then
48186 echo "error: can't find header ${D}{header} in include paths" >&2
48187 else
48188 if test -f ${D}{outfile} ; then
48189 rm -f ${D}{outfile}
48190 else
48191 mkdir -p \`dirname ${D}{outfile}\`
48192 fi
48193 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48194 mkdir -p .deps
48195 if test "x${GCC_PCH}" = "x1" ; then
48196 # can do this because gcc is >= 3.4:
48197 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48198 elif test "x${ICC_PCH}" = "x1" ; then
48199 filename=pch_gen-${D}${D}
48200 file=${D}{filename}.c
48201 dfile=${D}{filename}.d
48202 cat > ${D}file <<EOT
48203 #include "${D}header"
48204 EOT
48205 # using -MF icc complains about differing command lines in creation/use
48206 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48207 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48208 rm -f ${D}file ${D}dfile ${D}{filename}.o
48209 fi
48210 exit ${D}{?}
48211 fi
48212 EOF
48213
48214 chmod +x bk-make-pch
48215 BK_MAKE_PCH="`pwd`/bk-make-pch"
48216 fi
48217 fi
48218 fi
48219
48220
48221
48222
48223
48224 COND_BUILD_DEBUG="#"
48225 if test "x$BUILD" = "xdebug" ; then
48226 COND_BUILD_DEBUG=""
48227 fi
48228
48229 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48230 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48231 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48232 fi
48233
48234 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48235 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48236 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48237 fi
48238
48239 COND_BUILD_DEBUG_UNICODE_0="#"
48240 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48241 COND_BUILD_DEBUG_UNICODE_0=""
48242 fi
48243
48244 COND_BUILD_DEBUG_UNICODE_1="#"
48245 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48246 COND_BUILD_DEBUG_UNICODE_1=""
48247 fi
48248
48249 COND_BUILD_RELEASE="#"
48250 if test "x$BUILD" = "xrelease" ; then
48251 COND_BUILD_RELEASE=""
48252 fi
48253
48254 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48255 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48256 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48257 fi
48258
48259 COND_BUILD_RELEASE_UNICODE_0="#"
48260 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48261 COND_BUILD_RELEASE_UNICODE_0=""
48262 fi
48263
48264 COND_BUILD_RELEASE_UNICODE_1="#"
48265 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48266 COND_BUILD_RELEASE_UNICODE_1=""
48267 fi
48268
48269 COND_DEBUG_FLAG_1="#"
48270 if test "x$DEBUG_FLAG" = "x1" ; then
48271 COND_DEBUG_FLAG_1=""
48272 fi
48273
48274 COND_DEBUG_INFO_0="#"
48275 if test "x$DEBUG_INFO" = "x0" ; then
48276 COND_DEBUG_INFO_0=""
48277 fi
48278
48279 COND_DEBUG_INFO_1="#"
48280 if test "x$DEBUG_INFO" = "x1" ; then
48281 COND_DEBUG_INFO_1=""
48282 fi
48283
48284 COND_DEPS_TRACKING_0="#"
48285 if test "x$DEPS_TRACKING" = "x0" ; then
48286 COND_DEPS_TRACKING_0=""
48287 fi
48288
48289 COND_DEPS_TRACKING_1="#"
48290 if test "x$DEPS_TRACKING" = "x1" ; then
48291 COND_DEPS_TRACKING_1=""
48292 fi
48293
48294 COND_GCC_PCH_1="#"
48295 if test "x$GCC_PCH" = "x1" ; then
48296 COND_GCC_PCH_1=""
48297 fi
48298
48299 COND_ICC_PCH_1="#"
48300 if test "x$ICC_PCH" = "x1" ; then
48301 COND_ICC_PCH_1=""
48302 fi
48303
48304 COND_MONOLITHIC_0="#"
48305 if test "x$MONOLITHIC" = "x0" ; then
48306 COND_MONOLITHIC_0=""
48307 fi
48308
48309 COND_MONOLITHIC_0_SHARED_0="#"
48310 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48311 COND_MONOLITHIC_0_SHARED_0=""
48312 fi
48313
48314 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48315 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48316 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48317 fi
48318
48319 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48320 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48321 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48322 fi
48323
48324 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48325 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48326 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48327 fi
48328
48329 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48330 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48331 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48332 fi
48333
48334 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48335 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48336 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48337 fi
48338
48339 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48340 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48341 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48342 fi
48343
48344 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48345 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48346 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48347 fi
48348
48349 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48350 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48351 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48352 fi
48353
48354 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48355 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48356 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48357 fi
48358
48359 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48360 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48361 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48362 fi
48363
48364 COND_MONOLITHIC_0_SHARED_1="#"
48365 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48366 COND_MONOLITHIC_0_SHARED_1=""
48367 fi
48368
48369 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48370 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48371 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48372 fi
48373
48374 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48375 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48376 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48377 fi
48378
48379 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48380 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48381 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48382 fi
48383
48384 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48385 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48386 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48387 fi
48388
48389 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48390 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48391 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48392 fi
48393
48394 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48395 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48396 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48397 fi
48398
48399 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48400 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48401 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48402 fi
48403
48404 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48405 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48406 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48407 fi
48408
48409 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48410 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48411 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48412 fi
48413
48414 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48416 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48417 fi
48418
48419 COND_MONOLITHIC_0_USE_AUI_1="#"
48420 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48421 COND_MONOLITHIC_0_USE_AUI_1=""
48422 fi
48423
48424 COND_MONOLITHIC_0_USE_GUI_1="#"
48425 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48426 COND_MONOLITHIC_0_USE_GUI_1=""
48427 fi
48428
48429 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48430 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48431 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48432 fi
48433
48434 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48435 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48436 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48437 fi
48438
48439 COND_MONOLITHIC_0_USE_HTML_1="#"
48440 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48441 COND_MONOLITHIC_0_USE_HTML_1=""
48442 fi
48443
48444 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48445 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48446 COND_MONOLITHIC_0_USE_MEDIA_1=""
48447 fi
48448
48449 COND_MONOLITHIC_0_USE_ODBC_1="#"
48450 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48451 COND_MONOLITHIC_0_USE_ODBC_1=""
48452 fi
48453
48454 COND_MONOLITHIC_0_USE_QA_1="#"
48455 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48456 COND_MONOLITHIC_0_USE_QA_1=""
48457 fi
48458
48459 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48460 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48461 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48462 fi
48463
48464 COND_MONOLITHIC_0_USE_STC_1="#"
48465 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48466 COND_MONOLITHIC_0_USE_STC_1=""
48467 fi
48468
48469 COND_MONOLITHIC_0_USE_XRC_1="#"
48470 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48471 COND_MONOLITHIC_0_USE_XRC_1=""
48472 fi
48473
48474 COND_MONOLITHIC_1="#"
48475 if test "x$MONOLITHIC" = "x1" ; then
48476 COND_MONOLITHIC_1=""
48477 fi
48478
48479 COND_MONOLITHIC_1_SHARED_0="#"
48480 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48481 COND_MONOLITHIC_1_SHARED_0=""
48482 fi
48483
48484 COND_MONOLITHIC_1_SHARED_1="#"
48485 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48486 COND_MONOLITHIC_1_SHARED_1=""
48487 fi
48488
48489 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48490 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48491 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48492 fi
48493
48494 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48495 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48496 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48497 fi
48498
48499 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48500 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48501 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48502 fi
48503
48504 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48505 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48506 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48507 fi
48508
48509 COND_PLATFORM_MACOSX_1="#"
48510 if test "x$PLATFORM_MACOSX" = "x1" ; then
48511 COND_PLATFORM_MACOSX_1=""
48512 fi
48513
48514 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48515 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48516 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48517 fi
48518
48519 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48520 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48521 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48522 fi
48523
48524 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48525 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48526 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48527 fi
48528
48529 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48530 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48531 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48532 fi
48533
48534 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48535 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48536 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48537 fi
48538
48539 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48540 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48541 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48542 fi
48543
48544 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48545 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48546 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48547 fi
48548
48549 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48550 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48551 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48552 fi
48553
48554 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48555 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48556 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48557 fi
48558
48559 COND_PLATFORM_MACOS_1="#"
48560 if test "x$PLATFORM_MACOS" = "x1" ; then
48561 COND_PLATFORM_MACOS_1=""
48562 fi
48563
48564 COND_PLATFORM_MAC_1="#"
48565 if test "x$PLATFORM_MAC" = "x1" ; then
48566 COND_PLATFORM_MAC_1=""
48567 fi
48568
48569 COND_PLATFORM_MSDOS_0="#"
48570 if test "x$PLATFORM_MSDOS" = "x0" ; then
48571 COND_PLATFORM_MSDOS_0=""
48572 fi
48573
48574 COND_PLATFORM_MSDOS_1="#"
48575 if test "x$PLATFORM_MSDOS" = "x1" ; then
48576 COND_PLATFORM_MSDOS_1=""
48577 fi
48578
48579 COND_PLATFORM_OS2_1="#"
48580 if test "x$PLATFORM_OS2" = "x1" ; then
48581 COND_PLATFORM_OS2_1=""
48582 fi
48583
48584 COND_PLATFORM_UNIX_0="#"
48585 if test "x$PLATFORM_UNIX" = "x0" ; then
48586 COND_PLATFORM_UNIX_0=""
48587 fi
48588
48589 COND_PLATFORM_UNIX_1="#"
48590 if test "x$PLATFORM_UNIX" = "x1" ; then
48591 COND_PLATFORM_UNIX_1=""
48592 fi
48593
48594 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48595 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48596 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48597 fi
48598
48599 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48600 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48601 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48602 fi
48603
48604 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48605 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48606 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48607 fi
48608
48609 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48610 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48611 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48612 fi
48613
48614 COND_PLATFORM_WIN32_0="#"
48615 if test "x$PLATFORM_WIN32" = "x0" ; then
48616 COND_PLATFORM_WIN32_0=""
48617 fi
48618
48619 COND_PLATFORM_WIN32_1="#"
48620 if test "x$PLATFORM_WIN32" = "x1" ; then
48621 COND_PLATFORM_WIN32_1=""
48622 fi
48623
48624 COND_SHARED_0="#"
48625 if test "x$SHARED" = "x0" ; then
48626 COND_SHARED_0=""
48627 fi
48628
48629 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48630 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48631 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48632 fi
48633
48634 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48635 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48636 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48637 fi
48638
48639 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48640 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48641 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48642 fi
48643
48644 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48645 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48646 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48647 fi
48648
48649 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48650 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48651 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48652 fi
48653
48654 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48655 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48656 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48657 fi
48658
48659 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48660 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48661 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48662 fi
48663
48664 COND_SHARED_0_USE_STC_1="#"
48665 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48666 COND_SHARED_0_USE_STC_1=""
48667 fi
48668
48669 COND_SHARED_0_USE_XRC_1="#"
48670 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48671 COND_SHARED_0_USE_XRC_1=""
48672 fi
48673
48674 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48675 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48676 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48677 fi
48678
48679 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48680 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48681 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48682 fi
48683
48684 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48685 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48686 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48687 fi
48688
48689 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48690 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48691 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48692 fi
48693
48694 COND_SHARED_1="#"
48695 if test "x$SHARED" = "x1" ; then
48696 COND_SHARED_1=""
48697 fi
48698
48699 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48700 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48701 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48702 fi
48703
48704 COND_SHARED_1_USE_XRC_1="#"
48705 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48706 COND_SHARED_1_USE_XRC_1=""
48707 fi
48708
48709 COND_TOOLKIT_="#"
48710 if test "x$TOOLKIT" = "x" ; then
48711 COND_TOOLKIT_=""
48712 fi
48713
48714 COND_TOOLKIT_COCOA="#"
48715 if test "x$TOOLKIT" = "xCOCOA" ; then
48716 COND_TOOLKIT_COCOA=""
48717 fi
48718
48719 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48720 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48721 COND_TOOLKIT_COCOA_USE_GUI_1=""
48722 fi
48723
48724 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48725 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48726 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48727 fi
48728
48729 COND_TOOLKIT_DFB="#"
48730 if test "x$TOOLKIT" = "xDFB" ; then
48731 COND_TOOLKIT_DFB=""
48732 fi
48733
48734 COND_TOOLKIT_DFB_USE_GUI_1="#"
48735 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48736 COND_TOOLKIT_DFB_USE_GUI_1=""
48737 fi
48738
48739 COND_TOOLKIT_GTK="#"
48740 if test "x$TOOLKIT" = "xGTK" ; then
48741 COND_TOOLKIT_GTK=""
48742 fi
48743
48744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48745 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48747 fi
48748
48749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48750 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48752 fi
48753
48754 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48755 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48756 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48757 fi
48758
48759 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48760 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48761 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48762 fi
48763
48764 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48765 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48766 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48767 fi
48768
48769 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48770 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48771 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48772 fi
48773
48774 COND_TOOLKIT_GTK_USE_GUI_1="#"
48775 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48776 COND_TOOLKIT_GTK_USE_GUI_1=""
48777 fi
48778
48779 COND_TOOLKIT_MAC="#"
48780 if test "x$TOOLKIT" = "xMAC" ; then
48781 COND_TOOLKIT_MAC=""
48782 fi
48783
48784 COND_TOOLKIT_MAC_USE_GUI_1="#"
48785 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48786 COND_TOOLKIT_MAC_USE_GUI_1=""
48787 fi
48788
48789 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48790 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48791 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48792 fi
48793
48794 COND_TOOLKIT_MGL="#"
48795 if test "x$TOOLKIT" = "xMGL" ; then
48796 COND_TOOLKIT_MGL=""
48797 fi
48798
48799 COND_TOOLKIT_MGL_USE_GUI_1="#"
48800 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48801 COND_TOOLKIT_MGL_USE_GUI_1=""
48802 fi
48803
48804 COND_TOOLKIT_MOTIF="#"
48805 if test "x$TOOLKIT" = "xMOTIF" ; then
48806 COND_TOOLKIT_MOTIF=""
48807 fi
48808
48809 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48810 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48811 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48812 fi
48813
48814 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48815 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48816 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48817 fi
48818
48819 COND_TOOLKIT_MSW="#"
48820 if test "x$TOOLKIT" = "xMSW" ; then
48821 COND_TOOLKIT_MSW=""
48822 fi
48823
48824 COND_TOOLKIT_MSW_USE_GUI_1="#"
48825 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48826 COND_TOOLKIT_MSW_USE_GUI_1=""
48827 fi
48828
48829 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48830 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48831 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48832 fi
48833
48834 COND_TOOLKIT_MSW_WXUNIV_0="#"
48835 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48836 COND_TOOLKIT_MSW_WXUNIV_0=""
48837 fi
48838
48839 COND_TOOLKIT_PM="#"
48840 if test "x$TOOLKIT" = "xPM" ; then
48841 COND_TOOLKIT_PM=""
48842 fi
48843
48844 COND_TOOLKIT_PM_USE_GUI_1="#"
48845 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48846 COND_TOOLKIT_PM_USE_GUI_1=""
48847 fi
48848
48849 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48850 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48851 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48852 fi
48853
48854 COND_TOOLKIT_WINCE="#"
48855 if test "x$TOOLKIT" = "xWINCE" ; then
48856 COND_TOOLKIT_WINCE=""
48857 fi
48858
48859 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48860 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48861 COND_TOOLKIT_WINCE_USE_GUI_1=""
48862 fi
48863
48864 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48865 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48866 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48867 fi
48868
48869 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48870 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48871 COND_TOOLKIT_WINCE_WXUNIV_0=""
48872 fi
48873
48874 COND_TOOLKIT_X11="#"
48875 if test "x$TOOLKIT" = "xX11" ; then
48876 COND_TOOLKIT_X11=""
48877 fi
48878
48879 COND_TOOLKIT_X11_USE_GUI_1="#"
48880 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48881 COND_TOOLKIT_X11_USE_GUI_1=""
48882 fi
48883
48884 COND_UNICODE_1="#"
48885 if test "x$UNICODE" = "x1" ; then
48886 COND_UNICODE_1=""
48887 fi
48888
48889 COND_USE_EXCEPTIONS_0="#"
48890 if test "x$USE_EXCEPTIONS" = "x0" ; then
48891 COND_USE_EXCEPTIONS_0=""
48892 fi
48893
48894 COND_USE_EXCEPTIONS_1="#"
48895 if test "x$USE_EXCEPTIONS" = "x1" ; then
48896 COND_USE_EXCEPTIONS_1=""
48897 fi
48898
48899 COND_USE_GUI_0="#"
48900 if test "x$USE_GUI" = "x0" ; then
48901 COND_USE_GUI_0=""
48902 fi
48903
48904 COND_USE_GUI_1="#"
48905 if test "x$USE_GUI" = "x1" ; then
48906 COND_USE_GUI_1=""
48907 fi
48908
48909 COND_USE_GUI_1_USE_OPENGL_1="#"
48910 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48911 COND_USE_GUI_1_USE_OPENGL_1=""
48912 fi
48913
48914 COND_USE_GUI_1_WXUNIV_0="#"
48915 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48916 COND_USE_GUI_1_WXUNIV_0=""
48917 fi
48918
48919 COND_USE_GUI_1_WXUNIV_1="#"
48920 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48921 COND_USE_GUI_1_WXUNIV_1=""
48922 fi
48923
48924 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48925 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48926 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48927 fi
48928
48929 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48930 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48931 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48932 fi
48933
48934 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48935 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48936 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48937 fi
48938
48939 COND_USE_ODBC_1="#"
48940 if test "x$USE_ODBC" = "x1" ; then
48941 COND_USE_ODBC_1=""
48942 fi
48943
48944 COND_USE_OPENGL_1="#"
48945 if test "x$USE_OPENGL" = "x1" ; then
48946 COND_USE_OPENGL_1=""
48947 fi
48948
48949 COND_USE_PCH_1="#"
48950 if test "x$USE_PCH" = "x1" ; then
48951 COND_USE_PCH_1=""
48952 fi
48953
48954 COND_USE_PLUGINS_0="#"
48955 if test "x$USE_PLUGINS" = "x0" ; then
48956 COND_USE_PLUGINS_0=""
48957 fi
48958
48959 COND_USE_RTTI_0="#"
48960 if test "x$USE_RTTI" = "x0" ; then
48961 COND_USE_RTTI_0=""
48962 fi
48963
48964 COND_USE_RTTI_1="#"
48965 if test "x$USE_RTTI" = "x1" ; then
48966 COND_USE_RTTI_1=""
48967 fi
48968
48969 COND_USE_SOSYMLINKS_1="#"
48970 if test "x$USE_SOSYMLINKS" = "x1" ; then
48971 COND_USE_SOSYMLINKS_1=""
48972 fi
48973
48974 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48975 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48976 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48977 fi
48978
48979 COND_USE_SOVERLINUX_1="#"
48980 if test "x$USE_SOVERLINUX" = "x1" ; then
48981 COND_USE_SOVERLINUX_1=""
48982 fi
48983
48984 COND_USE_SOVERSION_0="#"
48985 if test "x$USE_SOVERSION" = "x0" ; then
48986 COND_USE_SOVERSION_0=""
48987 fi
48988
48989 COND_USE_SOVERSOLARIS_1="#"
48990 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48991 COND_USE_SOVERSOLARIS_1=""
48992 fi
48993
48994 COND_USE_STC_1="#"
48995 if test "x$USE_STC" = "x1" ; then
48996 COND_USE_STC_1=""
48997 fi
48998
48999 COND_USE_THREADS_0="#"
49000 if test "x$USE_THREADS" = "x0" ; then
49001 COND_USE_THREADS_0=""
49002 fi
49003
49004 COND_USE_THREADS_1="#"
49005 if test "x$USE_THREADS" = "x1" ; then
49006 COND_USE_THREADS_1=""
49007 fi
49008
49009 COND_USE_XRC_1="#"
49010 if test "x$USE_XRC" = "x1" ; then
49011 COND_USE_XRC_1=""
49012 fi
49013
49014 COND_WINDOWS_IMPLIB_1="#"
49015 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49016 COND_WINDOWS_IMPLIB_1=""
49017 fi
49018
49019 COND_WITH_PLUGIN_SDL_1="#"
49020 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49021 COND_WITH_PLUGIN_SDL_1=""
49022 fi
49023
49024 COND_WXUNIV_0="#"
49025 if test "x$WXUNIV" = "x0" ; then
49026 COND_WXUNIV_0=""
49027 fi
49028
49029 COND_WXUNIV_1="#"
49030 if test "x$WXUNIV" = "x1" ; then
49031 COND_WXUNIV_1=""
49032 fi
49033
49034 COND_WXUSE_EXPAT_BUILTIN="#"
49035 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49036 COND_WXUSE_EXPAT_BUILTIN=""
49037 fi
49038
49039 COND_WXUSE_LIBJPEG_BUILTIN="#"
49040 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49041 COND_WXUSE_LIBJPEG_BUILTIN=""
49042 fi
49043
49044 COND_WXUSE_LIBPNG_BUILTIN="#"
49045 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49046 COND_WXUSE_LIBPNG_BUILTIN=""
49047 fi
49048
49049 COND_WXUSE_LIBTIFF_BUILTIN="#"
49050 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49051 COND_WXUSE_LIBTIFF_BUILTIN=""
49052 fi
49053
49054 COND_WXUSE_ODBC_BUILTIN="#"
49055 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49056 COND_WXUSE_ODBC_BUILTIN=""
49057 fi
49058
49059 COND_WXUSE_REGEX_BUILTIN="#"
49060 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49061 COND_WXUSE_REGEX_BUILTIN=""
49062 fi
49063
49064 COND_WXUSE_ZLIB_BUILTIN="#"
49065 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49066 COND_WXUSE_ZLIB_BUILTIN=""
49067 fi
49068
49069
49070
49071 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49072 { { 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
49073 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;}
49074 { (exit 1); exit 1; }; }
49075 fi
49076
49077 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49078 { { 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
49079 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;}
49080 { (exit 1); exit 1; }; }
49081 fi
49082
49083
49084 if test $GCC_PCH = 1
49085 then
49086 if test "$wx_cv_gcc_pch_bug" = yes; then
49087 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49088 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49089 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49090 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49091 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49092 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49093 fi
49094
49095 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49096 fi
49097
49098
49099 if test "$wxUSE_MAC" = 1 ; then
49100 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49101 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49102 mv temp bk-deps
49103 chmod +x bk-deps
49104 fi
49105 fi
49106
49107 if test "$wxUSE_SHARED" = "yes"; then
49108
49109 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49110 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49111
49112 case "${host}" in
49113 *-pc-os2_emx | *-pc-os2-emx )
49114 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49115 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49116 cp -p ${srcdir}/src/os2/dllnames.sh .
49117 cp -p ${srcdir}/src/os2/dllar.sh .
49118 ;;
49119 esac
49120 else
49121
49122 EXE_LINKER="$CXX -o"
49123
49124 fi
49125 if test "$wxUSE_OMF" = "yes"; then
49126 case "${host}" in
49127 *-pc-os2_emx | *-pc-os2-emx )
49128 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49129 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49130 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49131 ;;
49132 esac
49133 fi
49134
49135 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49136
49137 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49138
49139
49140
49141
49142
49143
49144
49145
49146
49147
49148
49149
49150
49151
49152
49153
49154
49155
49156
49157
49158
49159
49160
49161
49162
49163
49164
49165
49166
49167
49168
49169
49170
49171
49172
49173
49174
49175
49176
49177
49178
49179
49180
49181
49182
49183
49184
49185
49186
49187
49188
49189
49190
49191
49192
49193
49194
49195
49196
49197
49198
49199 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49200 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49201 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49202 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49203 echo $ECHO_N "(cached) $ECHO_C" >&6
49204 else
49205 cat >conftest.make <<\_ACEOF
49206 SHELL = /bin/sh
49207 all:
49208 @echo '@@@%%%=$(MAKE)=@@@%%%'
49209 _ACEOF
49210 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49211 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49212 *@@@%%%=?*=@@@%%%*)
49213 eval ac_cv_prog_make_${ac_make}_set=yes;;
49214 *)
49215 eval ac_cv_prog_make_${ac_make}_set=no;;
49216 esac
49217 rm -f conftest.make
49218 fi
49219 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49220 { echo "$as_me:$LINENO: result: yes" >&5
49221 echo "${ECHO_T}yes" >&6; }
49222 SET_MAKE=
49223 else
49224 { echo "$as_me:$LINENO: result: no" >&5
49225 echo "${ECHO_T}no" >&6; }
49226 SET_MAKE="MAKE=${MAKE-make}"
49227 fi
49228
49229
49230
49231 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49232
49233
49234 if test "$USE_WIN32" = 1; then
49235 ac_config_commands="$ac_config_commands
49236 rcdefs.h
49237 "
49238
49239 fi
49240
49241 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49242
49243
49244 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49245
49246
49247 if test "$wx_cv_version_script" = "yes"; then
49248 ac_config_files="$ac_config_files version-script"
49249
49250 fi
49251 ac_config_files="$ac_config_files Makefile"
49252
49253
49254 ac_config_commands="$ac_config_commands wx-config"
49255
49256
49257
49258 if test "$wxWITH_SUBDIRS" != "no"; then
49259 if test "$wxUSE_GUI" = "yes"; then
49260 SUBDIRS="samples demos utils"
49261 else SUBDIRS="samples utils"
49262 fi
49263
49264
49265
49266 # Check whether --with-cppunit-prefix was given.
49267 if test "${with_cppunit_prefix+set}" = set; then
49268 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49269 else
49270 cppunit_config_prefix=""
49271 fi
49272
49273
49274 # Check whether --with-cppunit-exec-prefix was given.
49275 if test "${with_cppunit_exec_prefix+set}" = set; then
49276 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49277 else
49278 cppunit_config_exec_prefix=""
49279 fi
49280
49281
49282 if test x$cppunit_config_exec_prefix != x ; then
49283 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49284 if test x${CPPUNIT_CONFIG+set} != xset ; then
49285 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49286 fi
49287 fi
49288 if test x$cppunit_config_prefix != x ; then
49289 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49290 if test x${CPPUNIT_CONFIG+set} != xset ; then
49291 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49292 fi
49293 fi
49294
49295 # Extract the first word of "cppunit-config", so it can be a program name with args.
49296 set dummy cppunit-config; ac_word=$2
49297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49299 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49300 echo $ECHO_N "(cached) $ECHO_C" >&6
49301 else
49302 case $CPPUNIT_CONFIG in
49303 [\\/]* | ?:[\\/]*)
49304 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49305 ;;
49306 *)
49307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49308 for as_dir in $PATH
49309 do
49310 IFS=$as_save_IFS
49311 test -z "$as_dir" && as_dir=.
49312 for ac_exec_ext in '' $ac_executable_extensions; do
49313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49314 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49316 break 2
49317 fi
49318 done
49319 done
49320 IFS=$as_save_IFS
49321
49322 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49323 ;;
49324 esac
49325 fi
49326 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49327 if test -n "$CPPUNIT_CONFIG"; then
49328 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49329 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49330 else
49331 { echo "$as_me:$LINENO: result: no" >&5
49332 echo "${ECHO_T}no" >&6; }
49333 fi
49334
49335
49336 cppunit_version_min=1.8.0
49337
49338 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49339 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49340 no_cppunit=""
49341 if test "$CPPUNIT_CONFIG" = "no" ; then
49342 { echo "$as_me:$LINENO: result: no" >&5
49343 echo "${ECHO_T}no" >&6; }
49344 no_cppunit=yes
49345 else
49346 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49347 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49348 cppunit_version=`$CPPUNIT_CONFIG --version`
49349
49350 cppunit_major_version=`echo $cppunit_version | \
49351 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49352 cppunit_minor_version=`echo $cppunit_version | \
49353 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49354 cppunit_micro_version=`echo $cppunit_version | \
49355 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49356
49357 cppunit_major_min=`echo $cppunit_version_min | \
49358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49359 cppunit_minor_min=`echo $cppunit_version_min | \
49360 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49361 cppunit_micro_min=`echo $cppunit_version_min | \
49362 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49363
49364 cppunit_version_proper=`expr \
49365 $cppunit_major_version \> $cppunit_major_min \| \
49366 $cppunit_major_version \= $cppunit_major_min \& \
49367 $cppunit_minor_version \> $cppunit_minor_min \| \
49368 $cppunit_major_version \= $cppunit_major_min \& \
49369 $cppunit_minor_version \= $cppunit_minor_min \& \
49370 $cppunit_micro_version \>= $cppunit_micro_min `
49371
49372 if test "$cppunit_version_proper" = "1" ; then
49373 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49374 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49375 else
49376 { echo "$as_me:$LINENO: result: no" >&5
49377 echo "${ECHO_T}no" >&6; }
49378 no_cppunit=yes
49379 fi
49380 fi
49381
49382 if test "x$no_cppunit" = x ; then
49383 SUBDIRS="$SUBDIRS tests"
49384 else
49385 CPPUNIT_CFLAGS=""
49386 CPPUNIT_LIBS=""
49387 :
49388 fi
49389
49390
49391
49392
49393
49394 for subdir in `echo $SUBDIRS`; do
49395 if test -d ${srcdir}/${subdir} ; then
49396 if test "$wxUSE_GUI" = "yes"; then
49397 if test ${subdir} = "samples"; then
49398 makefiles="samples/Makefile.in $makefiles"
49399 for sample in `echo $SAMPLES_SUBDIRS`; do
49400 if test -d $srcdir/samples/$sample; then
49401 makefiles="samples/$sample/Makefile.in $makefiles"
49402 fi
49403 done
49404 else
49405 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49406 eval "disabled=\$$disabled_var"
49407 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49408 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49409 fi
49410 else if test ${subdir} = "samples"; then
49411 makefiles="samples/Makefile.in samples/console/Makefile.in"
49412 elif test ${subdir} = "utils"; then
49413 makefiles=""
49414 for util in HelpGen tex2rtf ; do
49415 if test -d $srcdir/utils/$util ; then
49416 makefiles="utils/$util/Makefile.in \
49417 utils/$util/src/Makefile.in \
49418 $makefiles"
49419 fi
49420 done
49421 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49422 fi
49423 fi
49424
49425 for mkin in $makefiles ; do
49426 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49427 ac_config_files="$ac_config_files $mk"
49428
49429 done
49430 fi
49431 done
49432 fi
49433 cat >confcache <<\_ACEOF
49434 # This file is a shell script that caches the results of configure
49435 # tests run on this system so they can be shared between configure
49436 # scripts and configure runs, see configure's option --config-cache.
49437 # It is not useful on other systems. If it contains results you don't
49438 # want to keep, you may remove or edit it.
49439 #
49440 # config.status only pays attention to the cache file if you give it
49441 # the --recheck option to rerun configure.
49442 #
49443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49445 # following values.
49446
49447 _ACEOF
49448
49449 # The following way of writing the cache mishandles newlines in values,
49450 # but we know of no workaround that is simple, portable, and efficient.
49451 # So, we kill variables containing newlines.
49452 # Ultrix sh set writes to stderr and can't be redirected directly,
49453 # and sets the high bit in the cache file unless we assign to the vars.
49454 (
49455 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49456 eval ac_val=\$$ac_var
49457 case $ac_val in #(
49458 *${as_nl}*)
49459 case $ac_var in #(
49460 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49461 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49462 esac
49463 case $ac_var in #(
49464 _ | IFS | as_nl) ;; #(
49465 *) $as_unset $ac_var ;;
49466 esac ;;
49467 esac
49468 done
49469
49470 (set) 2>&1 |
49471 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49472 *${as_nl}ac_space=\ *)
49473 # `set' does not quote correctly, so add quotes (double-quote
49474 # substitution turns \\\\ into \\, and sed turns \\ into \).
49475 sed -n \
49476 "s/'/'\\\\''/g;
49477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49478 ;; #(
49479 *)
49480 # `set' quotes correctly as required by POSIX, so do not add quotes.
49481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49482 ;;
49483 esac |
49484 sort
49485 ) |
49486 sed '
49487 /^ac_cv_env_/b end
49488 t clear
49489 :clear
49490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49491 t end
49492 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49493 :end' >>confcache
49494 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49495 if test -w "$cache_file"; then
49496 test "x$cache_file" != "x/dev/null" &&
49497 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49498 echo "$as_me: updating cache $cache_file" >&6;}
49499 cat confcache >$cache_file
49500 else
49501 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49502 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49503 fi
49504 fi
49505 rm -f confcache
49506
49507 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49508 # Let make expand exec_prefix.
49509 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49510
49511 DEFS=-DHAVE_CONFIG_H
49512
49513 ac_libobjs=
49514 ac_ltlibobjs=
49515 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49516 # 1. Remove the extension, and $U if already installed.
49517 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49518 ac_i=`echo "$ac_i" | sed "$ac_script"`
49519 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49520 # will be set to the directory where LIBOBJS objects are built.
49521 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49522 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49523 done
49524 LIBOBJS=$ac_libobjs
49525
49526 LTLIBOBJS=$ac_ltlibobjs
49527
49528
49529
49530 : ${CONFIG_STATUS=./config.status}
49531 ac_clean_files_save=$ac_clean_files
49532 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49533 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49534 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49535 cat >$CONFIG_STATUS <<_ACEOF
49536 #! $SHELL
49537 # Generated by $as_me.
49538 # Run this file to recreate the current configuration.
49539 # Compiler output produced by configure, useful for debugging
49540 # configure, is in config.log if it exists.
49541
49542 debug=false
49543 ac_cs_recheck=false
49544 ac_cs_silent=false
49545 SHELL=\${CONFIG_SHELL-$SHELL}
49546 _ACEOF
49547
49548 cat >>$CONFIG_STATUS <<\_ACEOF
49549 ## --------------------- ##
49550 ## M4sh Initialization. ##
49551 ## --------------------- ##
49552
49553 # Be more Bourne compatible
49554 DUALCASE=1; export DUALCASE # for MKS sh
49555 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49556 emulate sh
49557 NULLCMD=:
49558 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49559 # is contrary to our usage. Disable this feature.
49560 alias -g '${1+"$@"}'='"$@"'
49561 setopt NO_GLOB_SUBST
49562 else
49563 case `(set -o) 2>/dev/null` in
49564 *posix*) set -o posix ;;
49565 esac
49566
49567 fi
49568
49569
49570
49571
49572 # PATH needs CR
49573 # Avoid depending upon Character Ranges.
49574 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49575 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49576 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49577 as_cr_digits='0123456789'
49578 as_cr_alnum=$as_cr_Letters$as_cr_digits
49579
49580 # The user is always right.
49581 if test "${PATH_SEPARATOR+set}" != set; then
49582 echo "#! /bin/sh" >conf$$.sh
49583 echo "exit 0" >>conf$$.sh
49584 chmod +x conf$$.sh
49585 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49586 PATH_SEPARATOR=';'
49587 else
49588 PATH_SEPARATOR=:
49589 fi
49590 rm -f conf$$.sh
49591 fi
49592
49593 # Support unset when possible.
49594 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49595 as_unset=unset
49596 else
49597 as_unset=false
49598 fi
49599
49600
49601 # IFS
49602 # We need space, tab and new line, in precisely that order. Quoting is
49603 # there to prevent editors from complaining about space-tab.
49604 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49605 # splitting by setting IFS to empty value.)
49606 as_nl='
49607 '
49608 IFS=" "" $as_nl"
49609
49610 # Find who we are. Look in the path if we contain no directory separator.
49611 case $0 in
49612 *[\\/]* ) as_myself=$0 ;;
49613 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49614 for as_dir in $PATH
49615 do
49616 IFS=$as_save_IFS
49617 test -z "$as_dir" && as_dir=.
49618 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49619 done
49620 IFS=$as_save_IFS
49621
49622 ;;
49623 esac
49624 # We did not find ourselves, most probably we were run as `sh COMMAND'
49625 # in which case we are not to be found in the path.
49626 if test "x$as_myself" = x; then
49627 as_myself=$0
49628 fi
49629 if test ! -f "$as_myself"; then
49630 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49631 { (exit 1); exit 1; }
49632 fi
49633
49634 # Work around bugs in pre-3.0 UWIN ksh.
49635 for as_var in ENV MAIL MAILPATH
49636 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49637 done
49638 PS1='$ '
49639 PS2='> '
49640 PS4='+ '
49641
49642 # NLS nuisances.
49643 for as_var in \
49644 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49645 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49646 LC_TELEPHONE LC_TIME
49647 do
49648 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49649 eval $as_var=C; export $as_var
49650 else
49651 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49652 fi
49653 done
49654
49655 # Required to use basename.
49656 if expr a : '\(a\)' >/dev/null 2>&1 &&
49657 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49658 as_expr=expr
49659 else
49660 as_expr=false
49661 fi
49662
49663 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49664 as_basename=basename
49665 else
49666 as_basename=false
49667 fi
49668
49669
49670 # Name of the executable.
49671 as_me=`$as_basename -- "$0" ||
49672 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49673 X"$0" : 'X\(//\)$' \| \
49674 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49675 echo X/"$0" |
49676 sed '/^.*\/\([^/][^/]*\)\/*$/{
49677 s//\1/
49678 q
49679 }
49680 /^X\/\(\/\/\)$/{
49681 s//\1/
49682 q
49683 }
49684 /^X\/\(\/\).*/{
49685 s//\1/
49686 q
49687 }
49688 s/.*/./; q'`
49689
49690 # CDPATH.
49691 $as_unset CDPATH
49692
49693
49694
49695 as_lineno_1=$LINENO
49696 as_lineno_2=$LINENO
49697 test "x$as_lineno_1" != "x$as_lineno_2" &&
49698 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49699
49700 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49701 # uniformly replaced by the line number. The first 'sed' inserts a
49702 # line-number line after each line using $LINENO; the second 'sed'
49703 # does the real work. The second script uses 'N' to pair each
49704 # line-number line with the line containing $LINENO, and appends
49705 # trailing '-' during substitution so that $LINENO is not a special
49706 # case at line end.
49707 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49708 # scripts with optimization help from Paolo Bonzini. Blame Lee
49709 # E. McMahon (1931-1989) for sed's syntax. :-)
49710 sed -n '
49711 p
49712 /[$]LINENO/=
49713 ' <$as_myself |
49714 sed '
49715 s/[$]LINENO.*/&-/
49716 t lineno
49717 b
49718 :lineno
49719 N
49720 :loop
49721 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49722 t loop
49723 s/-\n.*//
49724 ' >$as_me.lineno &&
49725 chmod +x "$as_me.lineno" ||
49726 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49727 { (exit 1); exit 1; }; }
49728
49729 # Don't try to exec as it changes $[0], causing all sort of problems
49730 # (the dirname of $[0] is not the place where we might find the
49731 # original and so on. Autoconf is especially sensitive to this).
49732 . "./$as_me.lineno"
49733 # Exit status is that of the last command.
49734 exit
49735 }
49736
49737
49738 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49739 as_dirname=dirname
49740 else
49741 as_dirname=false
49742 fi
49743
49744 ECHO_C= ECHO_N= ECHO_T=
49745 case `echo -n x` in
49746 -n*)
49747 case `echo 'x\c'` in
49748 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49749 *) ECHO_C='\c';;
49750 esac;;
49751 *)
49752 ECHO_N='-n';;
49753 esac
49754
49755 if expr a : '\(a\)' >/dev/null 2>&1 &&
49756 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49757 as_expr=expr
49758 else
49759 as_expr=false
49760 fi
49761
49762 rm -f conf$$ conf$$.exe conf$$.file
49763 if test -d conf$$.dir; then
49764 rm -f conf$$.dir/conf$$.file
49765 else
49766 rm -f conf$$.dir
49767 mkdir conf$$.dir
49768 fi
49769 echo >conf$$.file
49770 if ln -s conf$$.file conf$$ 2>/dev/null; then
49771 as_ln_s='ln -s'
49772 # ... but there are two gotchas:
49773 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49774 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49775 # In both cases, we have to default to `cp -p'.
49776 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49777 as_ln_s='cp -p'
49778 elif ln conf$$.file conf$$ 2>/dev/null; then
49779 as_ln_s=ln
49780 else
49781 as_ln_s='cp -p'
49782 fi
49783 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49784 rmdir conf$$.dir 2>/dev/null
49785
49786 if mkdir -p . 2>/dev/null; then
49787 as_mkdir_p=:
49788 else
49789 test -d ./-p && rmdir ./-p
49790 as_mkdir_p=false
49791 fi
49792
49793 if test -x / >/dev/null 2>&1; then
49794 as_test_x='test -x'
49795 else
49796 if ls -dL / >/dev/null 2>&1; then
49797 as_ls_L_option=L
49798 else
49799 as_ls_L_option=
49800 fi
49801 as_test_x='
49802 eval sh -c '\''
49803 if test -d "$1"; then
49804 test -d "$1/.";
49805 else
49806 case $1 in
49807 -*)set "./$1";;
49808 esac;
49809 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49810 ???[sx]*):;;*)false;;esac;fi
49811 '\'' sh
49812 '
49813 fi
49814 as_executable_p=$as_test_x
49815
49816 # Sed expression to map a string onto a valid CPP name.
49817 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49818
49819 # Sed expression to map a string onto a valid variable name.
49820 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49821
49822
49823 exec 6>&1
49824
49825 # Save the log message, to keep $[0] and so on meaningful, and to
49826 # report actual input values of CONFIG_FILES etc. instead of their
49827 # values after options handling.
49828 ac_log="
49829 This file was extended by wxWidgets $as_me 2.9.0, which was
49830 generated by GNU Autoconf 2.61. Invocation command line was
49831
49832 CONFIG_FILES = $CONFIG_FILES
49833 CONFIG_HEADERS = $CONFIG_HEADERS
49834 CONFIG_LINKS = $CONFIG_LINKS
49835 CONFIG_COMMANDS = $CONFIG_COMMANDS
49836 $ $0 $@
49837
49838 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49839 "
49840
49841 _ACEOF
49842
49843 cat >>$CONFIG_STATUS <<_ACEOF
49844 # Files that config.status was made for.
49845 config_files="$ac_config_files"
49846 config_headers="$ac_config_headers"
49847 config_commands="$ac_config_commands"
49848
49849 _ACEOF
49850
49851 cat >>$CONFIG_STATUS <<\_ACEOF
49852 ac_cs_usage="\
49853 \`$as_me' instantiates files from templates according to the
49854 current configuration.
49855
49856 Usage: $0 [OPTIONS] [FILE]...
49857
49858 -h, --help print this help, then exit
49859 -V, --version print version number and configuration settings, then exit
49860 -q, --quiet do not print progress messages
49861 -d, --debug don't remove temporary files
49862 --recheck update $as_me by reconfiguring in the same conditions
49863 --file=FILE[:TEMPLATE]
49864 instantiate the configuration file FILE
49865 --header=FILE[:TEMPLATE]
49866 instantiate the configuration header FILE
49867
49868 Configuration files:
49869 $config_files
49870
49871 Configuration headers:
49872 $config_headers
49873
49874 Configuration commands:
49875 $config_commands
49876
49877 Report bugs to <bug-autoconf@gnu.org>."
49878
49879 _ACEOF
49880 cat >>$CONFIG_STATUS <<_ACEOF
49881 ac_cs_version="\\
49882 wxWidgets config.status 2.9.0
49883 configured by $0, generated by GNU Autoconf 2.61,
49884 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49885
49886 Copyright (C) 2006 Free Software Foundation, Inc.
49887 This config.status script is free software; the Free Software Foundation
49888 gives unlimited permission to copy, distribute and modify it."
49889
49890 ac_pwd='$ac_pwd'
49891 srcdir='$srcdir'
49892 INSTALL='$INSTALL'
49893 _ACEOF
49894
49895 cat >>$CONFIG_STATUS <<\_ACEOF
49896 # If no file are specified by the user, then we need to provide default
49897 # value. By we need to know if files were specified by the user.
49898 ac_need_defaults=:
49899 while test $# != 0
49900 do
49901 case $1 in
49902 --*=*)
49903 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49904 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49905 ac_shift=:
49906 ;;
49907 *)
49908 ac_option=$1
49909 ac_optarg=$2
49910 ac_shift=shift
49911 ;;
49912 esac
49913
49914 case $ac_option in
49915 # Handling of the options.
49916 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49917 ac_cs_recheck=: ;;
49918 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49919 echo "$ac_cs_version"; exit ;;
49920 --debug | --debu | --deb | --de | --d | -d )
49921 debug=: ;;
49922 --file | --fil | --fi | --f )
49923 $ac_shift
49924 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49925 ac_need_defaults=false;;
49926 --header | --heade | --head | --hea )
49927 $ac_shift
49928 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49929 ac_need_defaults=false;;
49930 --he | --h)
49931 # Conflict between --help and --header
49932 { echo "$as_me: error: ambiguous option: $1
49933 Try \`$0 --help' for more information." >&2
49934 { (exit 1); exit 1; }; };;
49935 --help | --hel | -h )
49936 echo "$ac_cs_usage"; exit ;;
49937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49938 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49939 ac_cs_silent=: ;;
49940
49941 # This is an error.
49942 -*) { echo "$as_me: error: unrecognized option: $1
49943 Try \`$0 --help' for more information." >&2
49944 { (exit 1); exit 1; }; } ;;
49945
49946 *) ac_config_targets="$ac_config_targets $1"
49947 ac_need_defaults=false ;;
49948
49949 esac
49950 shift
49951 done
49952
49953 ac_configure_extra_args=
49954
49955 if $ac_cs_silent; then
49956 exec 6>/dev/null
49957 ac_configure_extra_args="$ac_configure_extra_args --silent"
49958 fi
49959
49960 _ACEOF
49961 cat >>$CONFIG_STATUS <<_ACEOF
49962 if \$ac_cs_recheck; then
49963 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49964 CONFIG_SHELL=$SHELL
49965 export CONFIG_SHELL
49966 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49967 fi
49968
49969 _ACEOF
49970 cat >>$CONFIG_STATUS <<\_ACEOF
49971 exec 5>>config.log
49972 {
49973 echo
49974 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49975 ## Running $as_me. ##
49976 _ASBOX
49977 echo "$ac_log"
49978 } >&5
49979
49980 _ACEOF
49981 cat >>$CONFIG_STATUS <<_ACEOF
49982 #
49983 # INIT-COMMANDS
49984 #
49985
49986 CPP="$CPP"
49987 infile="$srcdir/include/wx/msw/genrcdefs.h"
49988 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49989
49990
49991 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49992 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49993 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49994 LN_S="${LN_S}"
49995
49996
49997 _ACEOF
49998
49999 cat >>$CONFIG_STATUS <<\_ACEOF
50000
50001 # Handling of arguments.
50002 for ac_config_target in $ac_config_targets
50003 do
50004 case $ac_config_target in
50005 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50006 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50007 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50008 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50009 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50010 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50011 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50012 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50013
50014 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50015 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50016 { (exit 1); exit 1; }; };;
50017 esac
50018 done
50019
50020
50021 # If the user did not use the arguments to specify the items to instantiate,
50022 # then the envvar interface is used. Set only those that are not.
50023 # We use the long form for the default assignment because of an extremely
50024 # bizarre bug on SunOS 4.1.3.
50025 if $ac_need_defaults; then
50026 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50027 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50028 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50029 fi
50030
50031 # Have a temporary directory for convenience. Make it in the build tree
50032 # simply because there is no reason against having it here, and in addition,
50033 # creating and moving files from /tmp can sometimes cause problems.
50034 # Hook for its removal unless debugging.
50035 # Note that there is a small window in which the directory will not be cleaned:
50036 # after its creation but before its name has been assigned to `$tmp'.
50037 $debug ||
50038 {
50039 tmp=
50040 trap 'exit_status=$?
50041 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50042 ' 0
50043 trap '{ (exit 1); exit 1; }' 1 2 13 15
50044 }
50045 # Create a (secure) tmp directory for tmp files.
50046
50047 {
50048 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50049 test -n "$tmp" && test -d "$tmp"
50050 } ||
50051 {
50052 tmp=./conf$$-$RANDOM
50053 (umask 077 && mkdir "$tmp")
50054 } ||
50055 {
50056 echo "$me: cannot create a temporary directory in ." >&2
50057 { (exit 1); exit 1; }
50058 }
50059
50060 #
50061 # Set up the sed scripts for CONFIG_FILES section.
50062 #
50063
50064 # No need to generate the scripts if there are no CONFIG_FILES.
50065 # This happens for instance when ./config.status config.h
50066 if test -n "$CONFIG_FILES"; then
50067
50068 _ACEOF
50069
50070
50071
50072 ac_delim='%!_!# '
50073 for ac_last_try in false false false false false :; do
50074 cat >conf$$subs.sed <<_ACEOF
50075 SHELL!$SHELL$ac_delim
50076 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50077 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50078 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50079 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50080 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50081 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50082 exec_prefix!$exec_prefix$ac_delim
50083 prefix!$prefix$ac_delim
50084 program_transform_name!$program_transform_name$ac_delim
50085 bindir!$bindir$ac_delim
50086 sbindir!$sbindir$ac_delim
50087 libexecdir!$libexecdir$ac_delim
50088 datarootdir!$datarootdir$ac_delim
50089 datadir!$datadir$ac_delim
50090 sysconfdir!$sysconfdir$ac_delim
50091 sharedstatedir!$sharedstatedir$ac_delim
50092 localstatedir!$localstatedir$ac_delim
50093 includedir!$includedir$ac_delim
50094 oldincludedir!$oldincludedir$ac_delim
50095 docdir!$docdir$ac_delim
50096 infodir!$infodir$ac_delim
50097 htmldir!$htmldir$ac_delim
50098 dvidir!$dvidir$ac_delim
50099 pdfdir!$pdfdir$ac_delim
50100 psdir!$psdir$ac_delim
50101 libdir!$libdir$ac_delim
50102 localedir!$localedir$ac_delim
50103 mandir!$mandir$ac_delim
50104 DEFS!$DEFS$ac_delim
50105 ECHO_C!$ECHO_C$ac_delim
50106 ECHO_N!$ECHO_N$ac_delim
50107 ECHO_T!$ECHO_T$ac_delim
50108 LIBS!$LIBS$ac_delim
50109 build_alias!$build_alias$ac_delim
50110 host_alias!$host_alias$ac_delim
50111 target_alias!$target_alias$ac_delim
50112 build!$build$ac_delim
50113 build_cpu!$build_cpu$ac_delim
50114 build_vendor!$build_vendor$ac_delim
50115 build_os!$build_os$ac_delim
50116 host!$host$ac_delim
50117 host_cpu!$host_cpu$ac_delim
50118 host_vendor!$host_vendor$ac_delim
50119 host_os!$host_os$ac_delim
50120 target!$target$ac_delim
50121 target_cpu!$target_cpu$ac_delim
50122 target_vendor!$target_vendor$ac_delim
50123 target_os!$target_os$ac_delim
50124 wx_top_builddir!$wx_top_builddir$ac_delim
50125 CC!$CC$ac_delim
50126 CFLAGS!$CFLAGS$ac_delim
50127 LDFLAGS!$LDFLAGS$ac_delim
50128 CPPFLAGS!$CPPFLAGS$ac_delim
50129 ac_ct_CC!$ac_ct_CC$ac_delim
50130 EXEEXT!$EXEEXT$ac_delim
50131 OBJEXT!$OBJEXT$ac_delim
50132 CPP!$CPP$ac_delim
50133 GREP!$GREP$ac_delim
50134 EGREP!$EGREP$ac_delim
50135 CXX!$CXX$ac_delim
50136 CXXFLAGS!$CXXFLAGS$ac_delim
50137 ac_ct_CXX!$ac_ct_CXX$ac_delim
50138 RANLIB!$RANLIB$ac_delim
50139 AR!$AR$ac_delim
50140 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50141 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50142 INSTALL_DATA!$INSTALL_DATA$ac_delim
50143 STRIP!$STRIP$ac_delim
50144 WINDRES!$WINDRES$ac_delim
50145 DLLTOOL!$DLLTOOL$ac_delim
50146 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50147 LN_S!$LN_S$ac_delim
50148 subdirs!$subdirs$ac_delim
50149 PKG_CONFIG!$PKG_CONFIG$ac_delim
50150 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50151 GTK_LIBS!$GTK_LIBS$ac_delim
50152 GTK_CONFIG!$GTK_CONFIG$ac_delim
50153 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50154 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50155 XMKMF!$XMKMF$ac_delim
50156 X_CFLAGS!$X_CFLAGS$ac_delim
50157 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50158 X_LIBS!$X_LIBS$ac_delim
50159 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50160 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50161 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50162 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50163 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50164 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50165 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50166 REZ!$REZ$ac_delim
50167 DEREZ!$DEREZ$ac_delim
50168 SETFILE!$SETFILE$ac_delim
50169 LIBICONV!$LIBICONV$ac_delim
50170 SDL_CONFIG!$SDL_CONFIG$ac_delim
50171 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50172 _ACEOF
50173
50174 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50175 break
50176 elif $ac_last_try; then
50177 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50178 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50179 { (exit 1); exit 1; }; }
50180 else
50181 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50182 fi
50183 done
50184
50185 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50186 if test -n "$ac_eof"; then
50187 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50188 ac_eof=`expr $ac_eof + 1`
50189 fi
50190
50191 cat >>$CONFIG_STATUS <<_ACEOF
50192 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50194 _ACEOF
50195 sed '
50196 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50197 s/^/s,@/; s/!/@,|#_!!_#|/
50198 :n
50199 t n
50200 s/'"$ac_delim"'$/,g/; t
50201 s/$/\\/; p
50202 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50203 ' >>$CONFIG_STATUS <conf$$subs.sed
50204 rm -f conf$$subs.sed
50205 cat >>$CONFIG_STATUS <<_ACEOF
50206 CEOF$ac_eof
50207 _ACEOF
50208
50209
50210 ac_delim='%!_!# '
50211 for ac_last_try in false false false false false :; do
50212 cat >conf$$subs.sed <<_ACEOF
50213 SDL_LIBS!$SDL_LIBS$ac_delim
50214 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50215 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50216 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50217 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50218 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50219 HILDON_LIBS!$HILDON_LIBS$ac_delim
50220 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50221 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50222 GST_CFLAGS!$GST_CFLAGS$ac_delim
50223 GST_LIBS!$GST_LIBS$ac_delim
50224 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
50225 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
50226 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50227 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50228 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50229 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
50230 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50231 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50232 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50233 VENDOR!$VENDOR$ac_delim
50234 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50235 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50236 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50237 WXUNIV!$WXUNIV$ac_delim
50238 MONOLITHIC!$MONOLITHIC$ac_delim
50239 USE_PLUGINS!$USE_PLUGINS$ac_delim
50240 CXXWARNINGS!$CXXWARNINGS$ac_delim
50241 EXTRALIBS!$EXTRALIBS$ac_delim
50242 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50243 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50244 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
50245 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50246 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50247 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50248 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50249 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50250 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50251 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50252 UNICODE!$UNICODE$ac_delim
50253 BUILD!$BUILD$ac_delim
50254 DEBUG_INFO!$DEBUG_INFO$ac_delim
50255 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50256 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50257 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50258 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50259 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50260 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50261 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50262 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50263 SET_MAKE!$SET_MAKE$ac_delim
50264 MAKE_SET!$MAKE_SET$ac_delim
50265 AROPTIONS!$AROPTIONS$ac_delim
50266 NM!$NM$ac_delim
50267 INSTALL_DIR!$INSTALL_DIR$ac_delim
50268 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50269 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50270 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50271 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50272 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50273 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50274 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50275 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50276 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50277 SO_SUFFIX!$SO_SUFFIX$ac_delim
50278 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50279 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50280 LIBPREFIX!$LIBPREFIX$ac_delim
50281 LIBEXT!$LIBEXT$ac_delim
50282 DLLPREFIX!$DLLPREFIX$ac_delim
50283 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50284 dlldir!$dlldir$ac_delim
50285 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50286 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50287 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50288 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50289 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50290 PIC_FLAG!$PIC_FLAG$ac_delim
50291 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50292 USE_SOVERSION!$USE_SOVERSION$ac_delim
50293 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50294 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50295 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50296 USE_MACVERSION!$USE_MACVERSION$ac_delim
50297 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50298 SONAME_FLAG!$SONAME_FLAG$ac_delim
50299 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50300 BK_DEPS!$BK_DEPS$ac_delim
50301 GCC_PCH!$GCC_PCH$ac_delim
50302 ICC_PCH!$ICC_PCH$ac_delim
50303 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50304 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50305 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50306 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50307 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50308 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50309 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50310 _ACEOF
50311
50312 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50313 break
50314 elif $ac_last_try; then
50315 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50316 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50317 { (exit 1); exit 1; }; }
50318 else
50319 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50320 fi
50321 done
50322
50323 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50324 if test -n "$ac_eof"; then
50325 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50326 ac_eof=`expr $ac_eof + 1`
50327 fi
50328
50329 cat >>$CONFIG_STATUS <<_ACEOF
50330 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50331 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50332 _ACEOF
50333 sed '
50334 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50335 s/^/s,@/; s/!/@,|#_!!_#|/
50336 :n
50337 t n
50338 s/'"$ac_delim"'$/,g/; t
50339 s/$/\\/; p
50340 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50341 ' >>$CONFIG_STATUS <conf$$subs.sed
50342 rm -f conf$$subs.sed
50343 cat >>$CONFIG_STATUS <<_ACEOF
50344 CEOF$ac_eof
50345 _ACEOF
50346
50347
50348 ac_delim='%!_!# '
50349 for ac_last_try in false false false false false :; do
50350 cat >conf$$subs.sed <<_ACEOF
50351 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50352 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50353 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50354 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50355 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50356 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50357 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50358 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50359 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50360 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50361 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50362 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50363 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50364 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50365 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50366 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50367 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50368 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50369 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50370 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50371 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50372 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50373 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50374 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50375 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50376 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50377 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50378 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50379 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50380 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50381 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50382 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50383 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50384 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50385 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50386 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50387 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50388 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50389 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50390 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50391 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50392 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50393 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50394 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50395 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50396 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50397 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50398 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50399 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50400 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50401 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50402 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50403 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50404 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50405 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50406 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50407 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50408 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50409 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50410 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50411 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50412 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50413 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50414 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50415 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50416 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50417 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50418 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50419 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50420 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50421 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50422 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50423 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50424 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50425 COND_SHARED_0!$COND_SHARED_0$ac_delim
50426 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50427 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50428 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50429 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50430 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50431 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50432 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50433 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50434 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50435 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50436 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50437 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50438 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50439 COND_SHARED_1!$COND_SHARED_1$ac_delim
50440 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50441 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50442 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50443 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50444 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50445 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50446 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50447 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50448 _ACEOF
50449
50450 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50451 break
50452 elif $ac_last_try; then
50453 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50454 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50455 { (exit 1); exit 1; }; }
50456 else
50457 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50458 fi
50459 done
50460
50461 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50462 if test -n "$ac_eof"; then
50463 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50464 ac_eof=`expr $ac_eof + 1`
50465 fi
50466
50467 cat >>$CONFIG_STATUS <<_ACEOF
50468 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50469 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50470 _ACEOF
50471 sed '
50472 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50473 s/^/s,@/; s/!/@,|#_!!_#|/
50474 :n
50475 t n
50476 s/'"$ac_delim"'$/,g/; t
50477 s/$/\\/; p
50478 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50479 ' >>$CONFIG_STATUS <conf$$subs.sed
50480 rm -f conf$$subs.sed
50481 cat >>$CONFIG_STATUS <<_ACEOF
50482 CEOF$ac_eof
50483 _ACEOF
50484
50485
50486 ac_delim='%!_!# '
50487 for ac_last_try in false false false false false :; do
50488 cat >conf$$subs.sed <<_ACEOF
50489 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50490 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50491 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50492 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50493 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50494 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50495 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50496 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50497 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50498 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50499 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50500 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50501 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50502 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50503 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50504 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50505 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50506 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50507 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50508 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50509 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50510 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50511 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50512 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50513 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50514 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50515 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50516 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50517 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50518 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50519 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50520 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50521 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50522 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50523 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50524 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50525 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50526 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50527 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50528 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50529 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50530 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50531 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50532 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50533 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50534 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50535 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50536 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50537 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50538 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50539 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50540 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50541 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50542 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50543 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50544 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50545 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50546 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50547 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50548 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50549 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50550 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50551 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50552 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50553 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50554 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50555 SHARED!$SHARED$ac_delim
50556 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50557 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50558 USE_GUI!$USE_GUI$ac_delim
50559 AFMINSTALL!$AFMINSTALL$ac_delim
50560 WIN32INSTALL!$WIN32INSTALL$ac_delim
50561 TOOLKIT!$TOOLKIT$ac_delim
50562 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50563 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50564 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50565 cross_compiling!$cross_compiling$ac_delim
50566 WIDGET_SET!$WIDGET_SET$ac_delim
50567 WX_RELEASE!$WX_RELEASE$ac_delim
50568 WX_VERSION!$WX_VERSION$ac_delim
50569 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50570 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50571 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50572 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50573 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50574 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50575 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50576 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50577 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50578 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50579 EXE_LINKER!$EXE_LINKER$ac_delim
50580 GUIDIST!$GUIDIST$ac_delim
50581 DISTDIR!$DISTDIR$ac_delim
50582 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50583 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50584 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50585 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50586 _ACEOF
50587
50588 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50589 break
50590 elif $ac_last_try; then
50591 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50592 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50593 { (exit 1); exit 1; }; }
50594 else
50595 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50596 fi
50597 done
50598
50599 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50600 if test -n "$ac_eof"; then
50601 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50602 ac_eof=`expr $ac_eof + 1`
50603 fi
50604
50605 cat >>$CONFIG_STATUS <<_ACEOF
50606 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50607 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50608 _ACEOF
50609 sed '
50610 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50611 s/^/s,@/; s/!/@,|#_!!_#|/
50612 :n
50613 t n
50614 s/'"$ac_delim"'$/,g/; t
50615 s/$/\\/; p
50616 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50617 ' >>$CONFIG_STATUS <conf$$subs.sed
50618 rm -f conf$$subs.sed
50619 cat >>$CONFIG_STATUS <<_ACEOF
50620 CEOF$ac_eof
50621 _ACEOF
50622
50623
50624 ac_delim='%!_!# '
50625 for ac_last_try in false false false false false :; do
50626 cat >conf$$subs.sed <<_ACEOF
50627 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50628 RESCOMP!$RESCOMP$ac_delim
50629 RESFLAGS!$RESFLAGS$ac_delim
50630 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50631 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50632 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50633 LIBWXMACRES!$LIBWXMACRES$ac_delim
50634 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50635 MACSETFILE!$MACSETFILE$ac_delim
50636 GCC!$GCC$ac_delim
50637 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50638 LIBOBJS!$LIBOBJS$ac_delim
50639 LTLIBOBJS!$LTLIBOBJS$ac_delim
50640 _ACEOF
50641
50642 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50643 break
50644 elif $ac_last_try; then
50645 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50646 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50647 { (exit 1); exit 1; }; }
50648 else
50649 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50650 fi
50651 done
50652
50653 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50654 if test -n "$ac_eof"; then
50655 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50656 ac_eof=`expr $ac_eof + 1`
50657 fi
50658
50659 cat >>$CONFIG_STATUS <<_ACEOF
50660 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50661 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50662 _ACEOF
50663 sed '
50664 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50665 s/^/s,@/; s/!/@,|#_!!_#|/
50666 :n
50667 t n
50668 s/'"$ac_delim"'$/,g/; t
50669 s/$/\\/; p
50670 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50671 ' >>$CONFIG_STATUS <conf$$subs.sed
50672 rm -f conf$$subs.sed
50673 cat >>$CONFIG_STATUS <<_ACEOF
50674 :end
50675 s/|#_!!_#|//g
50676 CEOF$ac_eof
50677 _ACEOF
50678
50679
50680 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50681 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50682 # trailing colons and then remove the whole line if VPATH becomes empty
50683 # (actually we leave an empty line to preserve line numbers).
50684 if test "x$srcdir" = x.; then
50685 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50686 s/:*\$(srcdir):*/:/
50687 s/:*\${srcdir}:*/:/
50688 s/:*@srcdir@:*/:/
50689 s/^\([^=]*=[ ]*\):*/\1/
50690 s/:*$//
50691 s/^[^=]*=[ ]*$//
50692 }'
50693 fi
50694
50695 cat >>$CONFIG_STATUS <<\_ACEOF
50696 fi # test -n "$CONFIG_FILES"
50697
50698
50699 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50700 do
50701 case $ac_tag in
50702 :[FHLC]) ac_mode=$ac_tag; continue;;
50703 esac
50704 case $ac_mode$ac_tag in
50705 :[FHL]*:*);;
50706 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50707 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50708 { (exit 1); exit 1; }; };;
50709 :[FH]-) ac_tag=-:-;;
50710 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50711 esac
50712 ac_save_IFS=$IFS
50713 IFS=:
50714 set x $ac_tag
50715 IFS=$ac_save_IFS
50716 shift
50717 ac_file=$1
50718 shift
50719
50720 case $ac_mode in
50721 :L) ac_source=$1;;
50722 :[FH])
50723 ac_file_inputs=
50724 for ac_f
50725 do
50726 case $ac_f in
50727 -) ac_f="$tmp/stdin";;
50728 *) # Look for the file first in the build tree, then in the source tree
50729 # (if the path is not absolute). The absolute path cannot be DOS-style,
50730 # because $ac_f cannot contain `:'.
50731 test -f "$ac_f" ||
50732 case $ac_f in
50733 [\\/$]*) false;;
50734 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50735 esac ||
50736 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50737 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50738 { (exit 1); exit 1; }; };;
50739 esac
50740 ac_file_inputs="$ac_file_inputs $ac_f"
50741 done
50742
50743 # Let's still pretend it is `configure' which instantiates (i.e., don't
50744 # use $as_me), people would be surprised to read:
50745 # /* config.h. Generated by config.status. */
50746 configure_input="Generated from "`IFS=:
50747 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50748 if test x"$ac_file" != x-; then
50749 configure_input="$ac_file. $configure_input"
50750 { echo "$as_me:$LINENO: creating $ac_file" >&5
50751 echo "$as_me: creating $ac_file" >&6;}
50752 fi
50753
50754 case $ac_tag in
50755 *:-:* | *:-) cat >"$tmp/stdin";;
50756 esac
50757 ;;
50758 esac
50759
50760 ac_dir=`$as_dirname -- "$ac_file" ||
50761 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50762 X"$ac_file" : 'X\(//\)[^/]' \| \
50763 X"$ac_file" : 'X\(//\)$' \| \
50764 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50765 echo X"$ac_file" |
50766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50767 s//\1/
50768 q
50769 }
50770 /^X\(\/\/\)[^/].*/{
50771 s//\1/
50772 q
50773 }
50774 /^X\(\/\/\)$/{
50775 s//\1/
50776 q
50777 }
50778 /^X\(\/\).*/{
50779 s//\1/
50780 q
50781 }
50782 s/.*/./; q'`
50783 { as_dir="$ac_dir"
50784 case $as_dir in #(
50785 -*) as_dir=./$as_dir;;
50786 esac
50787 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50788 as_dirs=
50789 while :; do
50790 case $as_dir in #(
50791 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50792 *) as_qdir=$as_dir;;
50793 esac
50794 as_dirs="'$as_qdir' $as_dirs"
50795 as_dir=`$as_dirname -- "$as_dir" ||
50796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50797 X"$as_dir" : 'X\(//\)[^/]' \| \
50798 X"$as_dir" : 'X\(//\)$' \| \
50799 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50800 echo X"$as_dir" |
50801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50802 s//\1/
50803 q
50804 }
50805 /^X\(\/\/\)[^/].*/{
50806 s//\1/
50807 q
50808 }
50809 /^X\(\/\/\)$/{
50810 s//\1/
50811 q
50812 }
50813 /^X\(\/\).*/{
50814 s//\1/
50815 q
50816 }
50817 s/.*/./; q'`
50818 test -d "$as_dir" && break
50819 done
50820 test -z "$as_dirs" || eval "mkdir $as_dirs"
50821 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50822 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50823 { (exit 1); exit 1; }; }; }
50824 ac_builddir=.
50825
50826 case "$ac_dir" in
50827 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50828 *)
50829 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50830 # A ".." for each directory in $ac_dir_suffix.
50831 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50832 case $ac_top_builddir_sub in
50833 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50834 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50835 esac ;;
50836 esac
50837 ac_abs_top_builddir=$ac_pwd
50838 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50839 # for backward compatibility:
50840 ac_top_builddir=$ac_top_build_prefix
50841
50842 case $srcdir in
50843 .) # We are building in place.
50844 ac_srcdir=.
50845 ac_top_srcdir=$ac_top_builddir_sub
50846 ac_abs_top_srcdir=$ac_pwd ;;
50847 [\\/]* | ?:[\\/]* ) # Absolute name.
50848 ac_srcdir=$srcdir$ac_dir_suffix;
50849 ac_top_srcdir=$srcdir
50850 ac_abs_top_srcdir=$srcdir ;;
50851 *) # Relative name.
50852 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50853 ac_top_srcdir=$ac_top_build_prefix$srcdir
50854 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50855 esac
50856 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50857
50858
50859 case $ac_mode in
50860 :F)
50861 #
50862 # CONFIG_FILE
50863 #
50864
50865 case $INSTALL in
50866 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50867 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50868 esac
50869 _ACEOF
50870
50871 cat >>$CONFIG_STATUS <<\_ACEOF
50872 # If the template does not know about datarootdir, expand it.
50873 # FIXME: This hack should be removed a few years after 2.60.
50874 ac_datarootdir_hack=; ac_datarootdir_seen=
50875
50876 case `sed -n '/datarootdir/ {
50877 p
50878 q
50879 }
50880 /@datadir@/p
50881 /@docdir@/p
50882 /@infodir@/p
50883 /@localedir@/p
50884 /@mandir@/p
50885 ' $ac_file_inputs` in
50886 *datarootdir*) ac_datarootdir_seen=yes;;
50887 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50888 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50889 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50890 _ACEOF
50891 cat >>$CONFIG_STATUS <<_ACEOF
50892 ac_datarootdir_hack='
50893 s&@datadir@&$datadir&g
50894 s&@docdir@&$docdir&g
50895 s&@infodir@&$infodir&g
50896 s&@localedir@&$localedir&g
50897 s&@mandir@&$mandir&g
50898 s&\\\${datarootdir}&$datarootdir&g' ;;
50899 esac
50900 _ACEOF
50901
50902 # Neutralize VPATH when `$srcdir' = `.'.
50903 # Shell code in configure.ac might set extrasub.
50904 # FIXME: do we really want to maintain this feature?
50905 cat >>$CONFIG_STATUS <<_ACEOF
50906 sed "$ac_vpsub
50907 $extrasub
50908 _ACEOF
50909 cat >>$CONFIG_STATUS <<\_ACEOF
50910 :t
50911 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50912 s&@configure_input@&$configure_input&;t t
50913 s&@top_builddir@&$ac_top_builddir_sub&;t t
50914 s&@srcdir@&$ac_srcdir&;t t
50915 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50916 s&@top_srcdir@&$ac_top_srcdir&;t t
50917 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50918 s&@builddir@&$ac_builddir&;t t
50919 s&@abs_builddir@&$ac_abs_builddir&;t t
50920 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50921 s&@INSTALL@&$ac_INSTALL&;t t
50922 $ac_datarootdir_hack
50923 " $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
50924
50925 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50926 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50927 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50928 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50929 which seems to be undefined. Please make sure it is defined." >&5
50930 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50931 which seems to be undefined. Please make sure it is defined." >&2;}
50932
50933 rm -f "$tmp/stdin"
50934 case $ac_file in
50935 -) cat "$tmp/out"; rm -f "$tmp/out";;
50936 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50937 esac
50938 ;;
50939 :H)
50940 #
50941 # CONFIG_HEADER
50942 #
50943 _ACEOF
50944
50945 # Transform confdefs.h into a sed script `conftest.defines', that
50946 # substitutes the proper values into config.h.in to produce config.h.
50947 rm -f conftest.defines conftest.tail
50948 # First, append a space to every undef/define line, to ease matching.
50949 echo 's/$/ /' >conftest.defines
50950 # Then, protect against being on the right side of a sed subst, or in
50951 # an unquoted here document, in config.status. If some macros were
50952 # called several times there might be several #defines for the same
50953 # symbol, which is useless. But do not sort them, since the last
50954 # AC_DEFINE must be honored.
50955 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50956 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50957 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50958 # PARAMS is the parameter list in the macro definition--in most cases, it's
50959 # just an empty string.
50960 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50961 ac_dB='\\)[ (].*,\\1define\\2'
50962 ac_dC=' '
50963 ac_dD=' ,'
50964
50965 uniq confdefs.h |
50966 sed -n '
50967 t rset
50968 :rset
50969 s/^[ ]*#[ ]*define[ ][ ]*//
50970 t ok
50971 d
50972 :ok
50973 s/[\\&,]/\\&/g
50974 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50975 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50976 ' >>conftest.defines
50977
50978 # Remove the space that was appended to ease matching.
50979 # Then replace #undef with comments. This is necessary, for
50980 # example, in the case of _POSIX_SOURCE, which is predefined and required
50981 # on some systems where configure will not decide to define it.
50982 # (The regexp can be short, since the line contains either #define or #undef.)
50983 echo 's/ $//
50984 s,^[ #]*u.*,/* & */,' >>conftest.defines
50985
50986 # Break up conftest.defines:
50987 ac_max_sed_lines=50
50988
50989 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50990 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50991 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50992 # et cetera.
50993 ac_in='$ac_file_inputs'
50994 ac_out='"$tmp/out1"'
50995 ac_nxt='"$tmp/out2"'
50996
50997 while :
50998 do
50999 # Write a here document:
51000 cat >>$CONFIG_STATUS <<_ACEOF
51001 # First, check the format of the line:
51002 cat >"\$tmp/defines.sed" <<\\CEOF
51003 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51004 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51005 b
51006 :def
51007 _ACEOF
51008 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51009 echo 'CEOF
51010 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51011 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51012 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51013 grep . conftest.tail >/dev/null || break
51014 rm -f conftest.defines
51015 mv conftest.tail conftest.defines
51016 done
51017 rm -f conftest.defines conftest.tail
51018
51019 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51020 cat >>$CONFIG_STATUS <<\_ACEOF
51021 if test x"$ac_file" != x-; then
51022 echo "/* $configure_input */" >"$tmp/config.h"
51023 cat "$ac_result" >>"$tmp/config.h"
51024 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51025 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51026 echo "$as_me: $ac_file is unchanged" >&6;}
51027 else
51028 rm -f $ac_file
51029 mv "$tmp/config.h" $ac_file
51030 fi
51031 else
51032 echo "/* $configure_input */"
51033 cat "$ac_result"
51034 fi
51035 rm -f "$tmp/out12"
51036 ;;
51037
51038 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51039 echo "$as_me: executing $ac_file commands" >&6;}
51040 ;;
51041 esac
51042
51043
51044 case $ac_file$ac_mode in
51045 "rcdefs.h":C)
51046 mkdir -p $outdir &&
51047 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51048 ;;
51049 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51050 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51051 "wx-config":C) rm -f wx-config
51052 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51053 ;;
51054
51055 esac
51056 done # for ac_tag
51057
51058
51059 { (exit 0); exit 0; }
51060 _ACEOF
51061 chmod +x $CONFIG_STATUS
51062 ac_clean_files=$ac_clean_files_save
51063
51064
51065 # configure is writing to config.log, and then calls config.status.
51066 # config.status does its own redirection, appending to config.log.
51067 # Unfortunately, on DOS this fails, as config.log is still kept open
51068 # by configure, so config.status won't be able to write to it; its
51069 # output is simply discarded. So we exec the FD to /dev/null,
51070 # effectively closing config.log, so it can be properly (re)opened and
51071 # appended to by config.status. When coming back to configure, we
51072 # need to make the FD available again.
51073 if test "$no_create" != yes; then
51074 ac_cs_success=:
51075 ac_config_status_args=
51076 test "$silent" = yes &&
51077 ac_config_status_args="$ac_config_status_args --quiet"
51078 exec 5>/dev/null
51079 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51080 exec 5>>config.log
51081 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51082 # would make configure fail if this is the last instruction.
51083 $ac_cs_success || { (exit 1); exit 1; }
51084 fi
51085
51086 #
51087 # CONFIG_SUBDIRS section.
51088 #
51089 if test "$no_recursion" != yes; then
51090
51091 # Remove --cache-file and --srcdir arguments so they do not pile up.
51092 ac_sub_configure_args=
51093 ac_prev=
51094 eval "set x $ac_configure_args"
51095 shift
51096 for ac_arg
51097 do
51098 if test -n "$ac_prev"; then
51099 ac_prev=
51100 continue
51101 fi
51102 case $ac_arg in
51103 -cache-file | --cache-file | --cache-fil | --cache-fi \
51104 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51105 ac_prev=cache_file ;;
51106 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51107 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51108 | --c=*)
51109 ;;
51110 --config-cache | -C)
51111 ;;
51112 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51113 ac_prev=srcdir ;;
51114 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51115 ;;
51116 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51117 ac_prev=prefix ;;
51118 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51119 ;;
51120 *)
51121 case $ac_arg in
51122 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51123 esac
51124 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51125 esac
51126 done
51127
51128 # Always prepend --prefix to ensure using the same prefix
51129 # in subdir configurations.
51130 ac_arg="--prefix=$prefix"
51131 case $ac_arg in
51132 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51133 esac
51134 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51135
51136 # Pass --silent
51137 if test "$silent" = yes; then
51138 ac_sub_configure_args="--silent $ac_sub_configure_args"
51139 fi
51140
51141 ac_popdir=`pwd`
51142 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51143
51144 # Do not complain, so a configure script can configure whichever
51145 # parts of a large source tree are present.
51146 test -d "$srcdir/$ac_dir" || continue
51147
51148 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51149 echo "$as_me:$LINENO: $ac_msg" >&5
51150 echo "$ac_msg" >&6
51151 { as_dir="$ac_dir"
51152 case $as_dir in #(
51153 -*) as_dir=./$as_dir;;
51154 esac
51155 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51156 as_dirs=
51157 while :; do
51158 case $as_dir in #(
51159 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51160 *) as_qdir=$as_dir;;
51161 esac
51162 as_dirs="'$as_qdir' $as_dirs"
51163 as_dir=`$as_dirname -- "$as_dir" ||
51164 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51165 X"$as_dir" : 'X\(//\)[^/]' \| \
51166 X"$as_dir" : 'X\(//\)$' \| \
51167 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51168 echo X"$as_dir" |
51169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51170 s//\1/
51171 q
51172 }
51173 /^X\(\/\/\)[^/].*/{
51174 s//\1/
51175 q
51176 }
51177 /^X\(\/\/\)$/{
51178 s//\1/
51179 q
51180 }
51181 /^X\(\/\).*/{
51182 s//\1/
51183 q
51184 }
51185 s/.*/./; q'`
51186 test -d "$as_dir" && break
51187 done
51188 test -z "$as_dirs" || eval "mkdir $as_dirs"
51189 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51190 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51191 { (exit 1); exit 1; }; }; }
51192 ac_builddir=.
51193
51194 case "$ac_dir" in
51195 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51196 *)
51197 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51198 # A ".." for each directory in $ac_dir_suffix.
51199 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51200 case $ac_top_builddir_sub in
51201 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51202 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51203 esac ;;
51204 esac
51205 ac_abs_top_builddir=$ac_pwd
51206 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51207 # for backward compatibility:
51208 ac_top_builddir=$ac_top_build_prefix
51209
51210 case $srcdir in
51211 .) # We are building in place.
51212 ac_srcdir=.
51213 ac_top_srcdir=$ac_top_builddir_sub
51214 ac_abs_top_srcdir=$ac_pwd ;;
51215 [\\/]* | ?:[\\/]* ) # Absolute name.
51216 ac_srcdir=$srcdir$ac_dir_suffix;
51217 ac_top_srcdir=$srcdir
51218 ac_abs_top_srcdir=$srcdir ;;
51219 *) # Relative name.
51220 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51221 ac_top_srcdir=$ac_top_build_prefix$srcdir
51222 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51223 esac
51224 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51225
51226
51227 cd "$ac_dir"
51228
51229 # Check for guested configure; otherwise get Cygnus style configure.
51230 if test -f "$ac_srcdir/configure.gnu"; then
51231 ac_sub_configure=$ac_srcdir/configure.gnu
51232 elif test -f "$ac_srcdir/configure"; then
51233 ac_sub_configure=$ac_srcdir/configure
51234 elif test -f "$ac_srcdir/configure.in"; then
51235 # This should be Cygnus configure.
51236 ac_sub_configure=$ac_aux_dir/configure
51237 else
51238 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51239 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51240 ac_sub_configure=
51241 fi
51242
51243 # The recursion is here.
51244 if test -n "$ac_sub_configure"; then
51245 # Make the cache file name correct relative to the subdirectory.
51246 case $cache_file in
51247 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51248 *) # Relative name.
51249 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51250 esac
51251
51252 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51253 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51254 # The eval makes quoting arguments work.
51255 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51256 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51257 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51258 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51259 { (exit 1); exit 1; }; }
51260 fi
51261
51262 cd "$ac_popdir"
51263 done
51264 fi
51265
51266
51267 echo
51268 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51269 echo ""
51270 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51271 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51272
51273 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51274 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51275 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
51276 if test "$wxUSE_UNICODE" = "yes"; then
51277 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51278 echo " (using UTF-8)"
51279 else
51280 echo " (using wchar_t)"
51281 fi
51282 else
51283 echo
51284 fi
51285
51286 echo " What level of wxWidgets compatibility should be enabled?"
51287 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51288 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51289
51290 echo " Which libraries should wxWidgets use?"
51291 echo " jpeg ${wxUSE_LIBJPEG-none}"
51292 echo " png ${wxUSE_LIBPNG-none}"
51293 echo " regex ${wxUSE_REGEX}"
51294 echo " tiff ${wxUSE_LIBTIFF-none}"
51295 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51296 echo " xpm ${wxUSE_LIBXPM-none}"
51297 fi
51298 echo " zlib ${wxUSE_ZLIB}"
51299 echo " odbc ${wxUSE_ODBC}"
51300 echo " expat ${wxUSE_EXPAT}"
51301 echo " libmspack ${wxUSE_LIBMSPACK}"
51302 echo " sdl ${wxUSE_LIBSDL}"
51303
51304 echo ""
51305